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.15501v1
http://arxiv.org/pdf/2404.15501v1
Killkan: The Automatic Speech Recognition Dataset for Kichwa with Morphosyntactic Information
2024-04-23T20:26:07
2024-04-23T20:26:07
Chihiro Taguchi, Jefferson Saransig, Dayana Velásquez, David Chiang
cs.CL
cs.CL, cs.AI
This paper presents Killkan, the first dataset for automatic speech recognition (ASR) in the Kichwa language, an indigenous language of Ecuador. Kichwa is an extremely low-resource endangered language, and there have been no resources before Killkan for Kichwa to be incorporated in applications of natural language processing. The dataset contains approximately 4 hours of audio with transcription, translation into Spanish, and morphosyntactic annotation in the format of Universal Dependencies. The audio data was retrieved from a publicly available radio program in Kichwa. This paper also provides corpus-linguistic analyses of the dataset with a special focus on the agglutinative morphology of Kichwa and frequent code-switching with Spanish. The experiments show that the dataset makes it possible to develop the first ASR system for Kichwa with reliable quality despite its small dataset size. This dataset, the ASR model, and the code used to develop them will be publicly available. Thus, our study positively showcases resource building and its applications for low-resource languages and their community.
[ -0.027451416477560997, -0.4223755896091461, 0.02896520309150219, 0.24000781774520874, -0.26404786109924316, 0.16485899686813354, -0.35173097252845764, -0.624264657497406, 0.39851272106170654, 0.7195689082145691, -0.21949529647827148, -0.4578375220298767, -0.8917210698127747, 0.19807225465774536, -0.4786044955253601, 0.5809356570243835, -0.014179944060742855, -0.07105947285890579, 0.7639869451522827, -0.7177312970161438, -0.024822019040584564, -0.3548509478569031, -0.7406855225563049, 0.029347432777285576, 0.4501820504665375, 0.5534476041793823, 0.7041948437690735, 0.9103533625602722, 0.3101177513599396, 0.28828686475753784, -0.2846154272556305, -0.09640955179929733, -0.3316892683506012, 0.2594354748725891, 0.2002290040254593, -0.23875407874584198, 0.11457209289073944, -0.3544633388519287, 0.7307634949684143, 0.7642566561698914, -0.30700382590293884, 0.18917928636074066, -0.204985111951828, 0.5688608288764954, -0.6673297882080078, 0.44956570863723755, -0.6197211742401123, 0.09881118685007095, -0.6530022025108337, 0.01459670439362526, 0.03466498479247093, -0.2905367314815521, 0.1418946385383606, -0.4881654977798462, 0.08888412266969681, -0.18296337127685547, 0.3645017743110657, 0.5813005566596985, -0.22018015384674072, -0.8426929712295532, -0.7264760136604309, 0.6679298877716064, -0.652606189250946, 0.29242637753486633, 0.8548622727394104, 0.5991910099983215, -0.1981739103794098, -0.24247725307941437, -0.5265277624130249, -0.29215624928474426, 0.013955757953226566, -0.01638517528772354, -0.21804001927375793, 0.168396458029747, 0.1381150335073471, 0.6465831398963928, -0.5258954167366028, 0.2278517484664917, -1.0973142385482788, -0.46596285700798035, 0.6263423562049866, 0.0760999321937561, 0.37458518147468567, -0.3448426127433777, 0.34333547949790955, -0.06667126715183258, -0.7045802474021912, -0.012652644887566566, 0.7584059238433838, 0.8334234356880188, -0.33015602827072144, 0.6456024646759033, -0.455304890871048, 0.7518646717071533, -0.4382404088973999, -0.04612160101532936, 0.34733566641807556, 0.12288609892129898, -0.21561667323112488, 0.6582320332527161, 1.2085381746292114, -0.19632188975811005, 0.14667965471744537, 0.008248095400631428, -0.04238968342542648, 0.3504117429256439, 0.005658688955008984, -0.4965253472328186, -0.3301139175891876, 0.062331534922122955, -0.6444076299667358, -0.5790278911590576, -0.43745535612106323, -0.5803354382514954, -0.2434682995080948, -0.15159763395786285, 0.24850741028785706, -0.286447137594223, -0.3548019826412201, -0.2185492068529129, 0.2730379104614258, -0.10566072165966034, 0.15110108256340027, -0.998867928981781, 0.4456602931022644, 0.07927249372005463, 1.029032588005066, -0.01935691572725773, -0.19038806855678558, -0.40295174717903137, 0.07564382255077362, -0.3041277527809143, 0.4021792709827423, -0.5352671146392822, -0.6125036478042603, -0.11721412092447281, 0.3953891694545746, 0.2516602575778961, -0.6728052496910095, 0.4195181727409363, -0.25103476643562317, 0.047075580805540085, -0.12752202153205872, 0.11860700696706772, -0.1666778177022934, -0.09674208611249924, -0.9337595105171204, 0.8747677803039551, 0.20256496965885162, -0.4620142877101898, 0.14517968893051147, -0.7646182775497437, -0.567712664604187, 0.26075899600982666, -0.42071855068206787, -0.10270769149065018, -0.25042498111724854, -0.1899154931306839, 0.09153294563293457, -0.2038547396659851, -0.04818399250507355, 0.1314832866191864, -0.1422177106142044, -0.0816461369395256, -0.40410155057907104, 0.9410337209701538, 0.5766990184783936, -0.2776777744293213, -0.24938635528087616, -1.1233363151550293, -0.009694828651845455, 0.0824136808514595, -0.8044352531433105, -0.3164064288139343, 0.10565976798534393, 0.44307687878608704, 0.04991870000958443, 0.06493037939071655, -0.838363528251648, -0.10868164151906967, -0.3797321021556854, 0.6652418375015259, 0.36694252490997314, -0.34603509306907654, 0.1134909838438034, -0.08786273747682571, 0.5777836441993713, -0.17693708837032318, -0.014479483477771282, -0.14201202988624573, -0.39787477254867554, -0.48880481719970703, -0.264186829328537, 0.34974193572998047, 0.4613254964351654, -0.41897571086883545, 0.2243015617132187, 0.024929193779826164, -0.5037949085235596, -0.7268961071968079, 0.0016838610172271729, 0.4882965087890625, 0.5319507122039795, 0.16454538702964783, -0.32136520743370056, -1.0312117338180542, -0.869257390499115, 0.4272466003894806, -0.389163613319397, -0.15814390778541565, 0.20930540561676025, 0.12095604091882706, -0.2641371786594391, 0.7119532227516174, -0.2173341065645218, -0.3764209747314453, -0.05443843454122543, 0.2540068030357361, 0.3256130814552307, 0.39841166138648987, 0.41490960121154785, -0.5999220609664917, -0.5000470876693726, 0.2051924169063568, -0.4606066644191742, -0.2923925220966339, 0.5560672879219055, 0.04055926948785782, 0.25343450903892517, 0.27376729249954224, -0.170924574136734, 0.2906021475791931, 0.7498478889465332, -0.06477659940719604, 0.5566727519035339, -0.24338914453983307, 0.24480262398719788, -0.9169958233833313, 0.6452751159667969, -0.4771469235420227, -0.2141251116991043, -0.5566105842590332, -0.3864628076553345, -0.23292818665504456, -0.425953209400177, -0.3540356457233429, 0.5259547829627991, -0.24014995992183685, -0.17245881259441376, -0.34756359457969666, -0.2756410539150238, -0.6126071810722351, 0.34739136695861816, 0.31047123670578003, 0.8538200855255127, 0.3524538278579712, -0.6308754682540894, 0.5164527893066406, 0.5226902365684509, -0.5973977446556091, 0.21549458801746368, -0.7572289109230042, 0.08850989490747452, -0.17901690304279327, -0.10961075127124786, -0.5829146504402161, -0.4665645658969879, 0.5851224660873413, -0.4892759323120117, -0.04545912519097328, -0.4839211702346802, -0.36811140179634094, -0.12496611475944519, -0.03796947002410889, 0.415388822555542, 0.4658728241920471, -0.3514886498451233, 0.0447220541536808, 1.0691099166870117, -0.5333402156829834, -0.6985794305801392, -0.8132875561714172, 0.1395532488822937, -0.17328673601150513, -0.18268391489982605, 0.24521943926811218, 0.03116803616285324, -0.18011610209941864, -0.08441779762506485, -0.001072525978088379, -0.32727086544036865, -0.16852836310863495, 0.34197959303855896, 0.035560574382543564, -0.2643771767616272, 0.0029530159663408995, 0.005689716432243586, -0.1869579404592514, -0.2187040001153946, -0.20066988468170166, 0.5998216271400452, 0.09759198129177094, 0.0475563146173954, -0.21376626193523407, 0.2947290241718292, 0.8600781559944153, 0.11553463339805603, 0.5237022042274475, 0.09308536350727081, -0.6477460265159607, 0.09993419051170349, -0.3685378134250641, 0.5329391360282898, -0.42309772968292236, 0.2645687162876129, -0.1367812305688858, -0.5834714770317078, 1.0091066360473633, 0.360931396484375, -0.04064418748021126, 0.4370043873786926, 0.5512623190879822, 0.045960020273923874, 0.753277063369751, 0.5023002028465271, -0.4371831715106964, 0.6108531355857849, -0.232566237449646, -0.05878413841128349, -0.7306869029998779, -0.36940115690231323, -0.8447994589805603, -0.28921443223953247, -0.5391655564308167, -0.05374932289123535, 0.2537296414375305, -0.32620781660079956, -0.2044762223958969, 0.6593500375747681, -0.5311741232872009, 0.48641133308410645, 0.36433905363082886, 0.06023271009325981, 0.30838605761528015, 0.014402871951460838, -0.004769816063344479, -0.05285491421818733, -0.4539492428302765, -0.55794757604599, 1.0041508674621582, 0.032429859042167664, 0.9159048199653625, 0.14437952637672424, 0.28764235973358154, 0.8101311922073364, -0.31872281432151794, -0.8799570798873901, 0.2604318857192993, -0.4895879924297333, -0.3519231975078583, -0.6677592396736145, -0.5607941746711731, -1.205456018447876, 0.0181506909430027, 0.3656364381313324, -0.6648150682449341, 0.20910818874835968, 0.11154647171497345, -0.41702568531036377, 0.022308703511953354, -0.4970240890979767, 0.6561592221260071, -0.20115524530410767, 0.290887713432312, -0.19481602311134338, -0.854773223400116, -0.08768866956233978, 0.015055631287395954, 0.22220580279827118, -0.3205503523349762, 0.1094161793589592, 1.2234896421432495, -0.768426775932312, 0.6451294422149658, -0.19209863245487213, -0.13736554980278015, 0.3828979730606079, 0.16309253871440887, 0.2628650963306427, -0.2230200469493866, -0.29123714566230774, 0.23286448419094086, 0.23909622430801392, -0.28506672382354736, -0.23527589440345764, 0.5365437269210815, -0.866975724697113, 0.21217112243175507, -0.19303534924983978, -0.3158685266971588, 0.028054535388946533, 0.3095288872718811, 0.2860109508037567, 0.6737220883369446, -0.26839926838874817, 0.1629747599363327, 0.4372173845767975, -0.12411455065011978, 0.26100972294807434, 0.750288724899292, -0.00643001077696681, -0.5976342558860779, 0.9885939955711365, 0.6330328583717346, 0.17182384431362152, 0.07459620386362076, 0.3589942157268524, -0.2518761157989502, -0.4900059103965759, -0.6695727705955505, -0.021180998533964157, -0.6632978320121765, -0.19697913527488708, -0.739054262638092, -0.3913337290287018, -0.28065016865730286, -0.0751255676150322, -0.4675945043563843, -0.6970959305763245, -0.025708382949233055, 0.10217767208814621, 0.44176092743873596, 0.7895500659942627, -0.25257059931755066, 0.5130360126495361, -0.6204235553741455, 0.4328130781650543, 0.07787393033504486, 0.3196708559989929, -0.08282200247049332, -0.2875773310661316, -0.22501464188098907, 0.21894003450870514, 0.15035445988178253, -0.8114725947380066, 0.4249573349952698, 0.3047844469547272, 0.5911426544189453, 0.381440669298172, 0.07115557044744492, 0.24840684235095978, -0.14366041123867035, 0.40530645847320557, 0.10693087428808212, -0.7277957201004028, 1.0285084247589111, -0.6557873487472534, 0.529590368270874, 0.7853897213935852, 0.24070486426353455, -1.15219247341156, -0.4528564214706421, -0.5017448663711548, -0.7990700602531433, 1.12821364402771, 0.2375149130821228, 0.06351424753665924, 0.06261491030454636, -0.17857006192207336, 0.6039271950721741, 0.4765090346336365, -0.289690762758255, -0.05826950445771217, -0.1690707802772522, -0.7197563648223877, 0.17230013012886047, -0.1157754436135292, 0.09045860171318054, -0.01061652135103941, 0.6160096526145935, -0.10755787044763565, 0.23050472140312195, -0.07728657126426697, -0.5042294859886169, -0.3188045620918274, 0.04095129296183586, 0.4337063729763031, 0.3382367491722107, -0.1226099357008934, 0.22292518615722656, 0.21368396282196045, -1.0725665092468262, 0.20661073923110962, 0.07718069106340408, -0.3335094451904297, 0.2355145364999771, 0.1816612184047699, 0.7303165793418884, 0.43429407477378845, -0.9585841298103333, 0.08839975297451019, 0.08718966692686081, 0.14848050475120544, -0.4355792999267578, 0.13239948451519012, -0.35390496253967285, -0.06440403312444687, 0.49306219816207886, -0.06784708797931671, 0.21627746522426605, -0.5942711234092712, -0.23110246658325195, 0.0590117946267128, -0.23130342364311218, -0.2734307050704956, 0.4895937740802765, 0.22715158760547638, -0.45383816957473755, 0.667239785194397, 0.0506671667098999, -0.6543377041816711, 0.8796027898788452, 0.26579806208610535, 0.5386365652084351, -0.5873559713363647, 0.27950358390808105, 0.5829989910125732, 0.20645064115524292, -0.10735469311475754, 0.2853497564792633, -0.6552688479423523, -0.47972923517227173, -0.014224917627871037, -0.7524039149284363, -0.6746981739997864, 0.45271798968315125, -0.49509212374687195, 0.5909099578857422, -0.49586281180381775, 0.24182064831256866, 0.0591370053589344, 0.09334751963615417, -0.3190625309944153, 0.21477244794368744, 0.22201301157474518, 0.6045132279396057, -0.8410910367965698, 0.6385253667831421, 0.43838581442832947, -0.32469671964645386, -0.3533881604671478, -0.35935941338539124, 0.06424009799957275, -1.0450643301010132, 0.6132693886756897, 0.1243843287229538, -0.4606231153011322, 0.00008216500282287598, -0.4476684629917145, -1.0435023307800293, 0.7558332085609436, 0.547456681728363, -0.37028154730796814, 0.09367652982473373, 0.32639482617378235, 0.48893463611602783, -0.17374643683433533, 0.25045254826545715, 0.6333895921707153, 0.23645754158496857, 0.36380404233932495, -1.2619911432266235, -0.14262324571609497, -0.537474513053894, -0.07429065555334091, 0.2970052659511566, -0.6258233785629272, 0.3261030614376068, -0.037022873759269714, -0.41285789012908936, 0.119145467877388, 0.2805327773094177, 0.003155909711495042, 0.01159355603158474, 0.4140018820762634, 0.304910808801651, 0.8208231925964355, 0.1733885109424591, 0.40705791115760803, -0.07481840997934341, 0.11252009123563766, 1.0424138307571411, -0.161942258477211, 0.7513718008995056, 0.13523177802562714, -0.47452977299690247, 0.049707382917404175, 0.5952492952346802, 0.06295877695083618, 0.906931459903717, 0.16413873434066772, -0.5217142701148987, 0.35081562399864197, -0.34900155663490295, -0.4978257417678833, 0.8430579304695129, 0.5693206191062927, -0.40304332971572876, -0.2732526361942291, 0.278768390417099, 0.13697032630443573, -0.3218100666999817, -0.297210156917572, 0.6502741575241089, -0.10949128866195679, -0.14464488625526428, 0.5697235465049744, -0.07869322597980499, 0.8562983870506287, -0.8937210440635681, 0.06979232281446457, 0.016560671851038933, -0.10136454552412033, -0.2792430520057678, -0.602392315864563, 0.8029881119728088, 0.23433682322502136, -0.2692338824272156, 0.018779894337058067, 0.6981757879257202, -0.5084531903266907, -0.47840616106987, 0.17472504079341888, -0.05022044479846954, 0.5876287817955017, 0.21540001034736633, -0.2567291557788849, 0.3656819462776184, -0.26088932156562805, 0.14902764558792114, 0.09942349046468735, 0.02338632196187973, -0.14670564234256744, 0.6289582848548889, 0.6586078405380249, 0.5332315564155579, 0.2785947918891907, 0.056033745408058167, 0.5971253514289856, -0.4831620752811432, -0.8451763987541199, -0.539003312587738, 0.1634213626384735, 0.050323862582445145, -0.27000483870506287, 0.27743083238601685, 0.6200569272041321, 0.8508808016777039, 0.11085788160562515, 1.1522506475448608, -0.6494086980819702, 0.6089667677879333, -0.38838934898376465, 1.2425801753997803, -0.11520370095968246, -0.18817108869552612, -0.11026989668607712, -0.6129843592643738, -0.15735752880573273, 0.8413087129592896, -0.24156808853149414, -0.2523210942745209, 0.2421851009130478, 0.8318290114402771, -0.20239569246768951, 0.15120011568069458, 0.38158944249153137, 0.24918508529663086, 0.04272981733083725, 0.3121267259120941, 0.6615707278251648, -0.5207690000534058, 0.70939040184021, -0.37005850672721863, -0.15556415915489197, -0.2512989938259125, -0.4161475896835327, -0.28974059224128723, -0.889229416847229, -0.3513632118701935, -0.25888001918792725, 0.23051616549491882, 1.0350455045700073, 0.6703065633773804, -1.1466188430786133, -0.4462430775165558, -0.11398007720708847, -0.09748576581478119, 0.13043920695781708, -0.15203054249286652, 0.28419554233551025, 0.11368994414806366, -0.5645108222961426, 0.6314600110054016, 0.284068763256073, 0.15028351545333862, -0.21102334558963776, -0.38589057326316833, 0.1277337372303009, -0.4016548991203308, 0.31808027625083923, 1.0657001733779907, -0.44882258772850037, -0.12959936261177063, -0.2797700762748718, -0.1808154284954071, 0.1802925020456314, 0.7154974341392517, -0.8446731567382812, 0.6483484506607056, 0.49656158685684204, 0.38797318935394287, 0.3882727026939392, -0.4103514850139618, 0.6145294308662415, -0.49917498230934143, 0.5897675156593323, 0.3399238586425781, 0.2765807509422302, 0.381935179233551, -0.35415396094322205, 0.6056991815567017, 0.0667925626039505, -0.3798336088657379, -0.9284278154373169, 0.06858888268470764, -0.7625832557678223, 0.46815600991249084, 0.8179051876068115, -0.04040009155869484, -0.20256009697914124, -0.5027415156364441, -0.49170297384262085, 0.5256773829460144, -0.3696397840976715, 0.9147170782089233, 0.6720990538597107, 0.08096707612276077, -0.25473135709762573, -0.6061661243438721, 0.3865843713283539, -0.05232355743646622, -0.7252354621887207, 0.1850590705871582, 0.39434951543807983, 0.2810758650302887, 0.10333160310983658, 1.0447367429733276, -0.35892540216445923, 0.37817275524139404, 0.18483813107013702, -0.10328707844018936, -0.1650058925151825, -0.22965587675571442, -0.4047612249851227, -0.13316191732883453, -0.011866660788655281, -0.5791864991188049 ]
http://arxiv.org/abs/2404.15500v1
http://arxiv.org/pdf/2404.15500v1
GeoLLM-Engine: A Realistic Environment for Building Geospatial Copilots
2024-04-23T20:23:37
2024-04-23T20:23:37
Simranjit Singh, Michael Fore, Dimitrios Stamoulis
cs.AI
cs.AI, cs.CL, cs.LG
Geospatial Copilots unlock unprecedented potential for performing Earth Observation (EO) applications through natural language instructions. However, existing agents rely on overly simplified single tasks and template-based prompts, creating a disconnect with real-world scenarios. In this work, we present GeoLLM-Engine, an environment for tool-augmented agents with intricate tasks routinely executed by analysts on remote sensing platforms. We enrich our environment with geospatial API tools, dynamic maps/UIs, and external multimodal knowledge bases to properly gauge an agent's proficiency in interpreting realistic high-level natural language commands and its functional correctness in task completions. By alleviating overheads typically associated with human-in-the-loop benchmark curation, we harness our massively parallel engine across 100 GPT-4-Turbo nodes, scaling to over half a million diverse multi-tool tasks and across 1.1 million satellite images. By moving beyond traditional single-task image-caption paradigms, we investigate state-of-the-art agents and prompting techniques against long-horizon prompts.
[ -0.5802502632141113, -0.7041729092597961, 0.8936347365379333, -0.06927592307329178, -0.2572614252567291, 0.33426252007484436, -0.5726468563079834, -0.36043083667755127, -0.09979067742824554, 0.2534843981266022, -0.955150306224823, -0.5914484858512878, -0.3094598352909088, -0.08474292606115341, -0.1569092869758606, 1.0413180589675903, 0.030936283990740776, -0.45221376419067383, -0.4665636718273163, 0.1800256073474884, -0.29876455664634705, -0.5643344521522522, -0.45253995060920715, -0.1668843775987625, 0.7247102856636047, 0.35594770312309265, 1.1078459024429321, 0.39829427003860474, 0.18964256346225739, 0.29981327056884766, 0.19347809255123138, 0.6368922591209412, -0.5740001797676086, 0.17581970989704132, -0.3226974308490753, -0.22229664027690887, -0.18581531941890717, 0.2320074737071991, 0.46079540252685547, 0.2933140695095062, 0.044377196580171585, 0.11589287221431732, 0.18443536758422852, 0.29243090748786926, -0.5708374381065369, 0.4773085117340088, -0.4925677180290222, -0.03492084518074989, 0.11367097496986389, -0.25642129778862, -0.17390908300876617, 0.12364856153726578, 0.02900277078151703, -1.3515946865081787, 0.2476004660129547, 0.4129756987094879, 0.9942527413368225, 0.5961362719535828, -0.12353308498859406, -0.2428164780139923, -0.6263541579246521, 0.8418473601341248, -0.17191989719867706, 0.14180301129817963, 0.3362351357936859, 0.6808872818946838, -0.2714228332042694, -0.5788160562515259, -0.38091781735420227, -0.19564875960350037, -0.24802431464195251, 0.25426825881004333, 0.2700212299823761, -0.01379394344985485, 0.3357783854007721, -0.12401596456766129, -0.7402445077896118, 0.2204197645187378, -0.2568983733654022, -0.13159406185150146, 0.43040329217910767, 0.2517598569393158, 0.12779438495635986, -0.00047645464655943215, -0.20451568067073822, -0.17649994790554047, -0.7949247360229492, -0.054785072803497314, 0.5168572664260864, 0.3748018741607666, -0.2741611897945404, 0.2806980311870575, -0.2655515968799591, 0.9128131866455078, -0.22675848007202148, 0.06854117661714554, -0.18355005979537964, -0.14582321047782898, -0.3334028720855713, -0.17355534434318542, 0.5010601282119751, 0.3270968496799469, 0.05905350297689438, -0.3644065260887146, 0.002266164869070053, -0.12879857420921326, 0.397255539894104, -0.5302256941795349, -0.19201545417308807, 0.602338969707489, 0.05212048068642616, -0.17679639160633087, 0.3949679732322693, -1.0001097917556763, -0.58470219373703, -0.6277475357055664, 0.24514877796173096, -0.12074922025203705, -0.15153448283672333, 0.024326642975211143, -0.25183114409446716, 0.46501585841178894, 0.6133284568786621, -0.26466044783592224, 0.09127578884363174, 1.127997636795044, 0.7899845242500305, 0.2513962388038635, -0.8055360317230225, -0.8568402528762817, 0.15961921215057373, -0.08426915109157562, 0.8775056600570679, -0.4083302617073059, -0.38663622736930847, -0.06922650337219238, 0.32012489438056946, -0.020695045590400696, -0.2487628012895584, 0.5893945693969727, -0.3783327341079712, 0.29184818267822266, -0.3658822476863861, -0.23299092054367065, -0.3817092776298523, 0.48451411724090576, -0.5740020275115967, 1.1191270351409912, -0.1188250184059143, -0.20290404558181763, 0.4557788074016571, -0.7337816953659058, -0.2709592580795288, 0.2938629686832428, -0.3445459008216858, -0.27865204215049744, 0.029702454805374146, 0.536795973777771, 0.3882392346858978, -0.4081522822380066, 0.25250667333602905, -0.061611466109752655, -0.39268824458122253, -0.09191736578941345, -0.15441544353961945, 0.3977885842323303, 0.4066678285598755, -0.5164475440979004, 0.2282421588897705, -0.3524456322193146, 0.23304420709609985, -0.028558209538459778, -0.07748761773109436, 0.07307650148868561, 0.22056755423545837, 0.22770577669143677, 0.14080248773097992, 0.2952705919742584, -0.4238910377025604, 0.14888744056224823, -0.12599162757396698, 0.28758177161216736, 0.6001430153846741, -0.19058483839035034, 0.28631940484046936, -0.4724458158016205, 0.6532602310180664, -0.40954115986824036, 0.11424064636230469, -0.48293206095695496, -0.5266618728637695, -0.3290649354457855, -0.6375526189804077, -0.2796633839607239, 0.5368305444717407, -0.5921593308448792, 0.3595932126045227, -0.5296242237091064, -0.7113025784492493, -0.09513060003519058, 0.1489052027463913, 0.17367954552173615, 0.3384122848510742, 0.15846475958824158, 0.35842666029930115, -0.38669970631599426, -0.4919036030769348, -0.21122077107429504, 0.15221300721168518, -0.3102108836174011, 0.44066956639289856, 0.4481574594974518, 0.003429930191487074, 1.0526334047317505, -0.36654677987098694, 0.007737376727163792, -0.10301060974597931, 0.2923486828804016, 0.4102184474468231, 0.4802033007144928, 0.534507691860199, -0.8608266711235046, -0.3924933075904846, 0.3559277057647705, -0.9646193981170654, -0.04136812314391136, -0.3224785029888153, -0.16178952157497406, 0.07855304330587387, 0.4149054288864136, -1.0303499698638916, 0.29730328917503357, 0.4288390874862671, -0.2112606167793274, 0.5374017357826233, -0.34958869218826294, 0.20728996396064758, -0.6386887431144714, 0.22937597334384918, -0.20589691400527954, -0.47094231843948364, -0.39173799753189087, 0.6529679298400879, -0.1591852903366089, -0.6833669543266296, -0.5276004076004028, 0.5419325232505798, -0.8383346199989319, -0.2164386510848999, -0.2778497636318207, 0.1693125069141388, 0.2034609317779541, 0.3576585054397583, 0.1555882692337036, 0.8196656703948975, 0.9271841645240784, -0.46618038415908813, 0.7104059457778931, -0.13939307630062103, -0.09100212901830673, 0.5368223190307617, -0.47671884298324585, 0.6350244283676147, -0.39703553915023804, 0.2704547345638275, -0.6779689788818359, -0.5325453281402588, 0.016830941662192345, -0.28785789012908936, 0.019020741805434227, -0.4076785743236542, -0.8118972182273865, -0.3940145969390869, -0.4157823324203491, -0.11692377924919128, 0.5651187896728516, -0.7958812713623047, 1.0330346822738647, -0.08534189313650131, -0.11327917128801346, -0.42020076513290405, -0.39393356442451477, 0.4041815996170044, -0.245389923453331, -0.5867159366607666, -0.022131839767098427, 0.11989288032054901, -0.1604267656803131, 0.1303654909133911, -0.033172477036714554, -0.08620932698249817, 0.23942291736602783, 0.6668918132781982, 0.16091136634349823, 0.0534636415541172, -0.05122285708785057, -0.19859439134597778, -0.001454009092412889, 0.1252962201833725, -0.45244061946868896, 0.473308265209198, -0.25641676783561707, -0.4119131863117218, -0.4512181580066681, 0.2846944332122803, 0.8617379665374756, -0.20771978795528412, 0.5674571394920349, 0.46517759561538696, -0.5390169024467468, -0.25161853432655334, -0.3720608949661255, -0.06613866984844208, -0.5293797254562378, 0.18107299506664276, -0.518621027469635, -0.5826292037963867, 0.5260952115058899, -0.32253095507621765, 0.1771642416715622, 0.14534862339496613, 0.46456435322761536, -0.11839035153388977, 0.6443960070610046, 0.12746790051460266, -0.21446119248867035, 0.15233153104782104, -0.4139929711818695, 0.09434963017702103, -0.44371119141578674, -0.10645970702171326, -0.49027568101882935, -0.31996333599090576, -0.31506219506263733, -0.6480395793914795, 0.496171236038208, -0.2160179316997528, -0.26490652561187744, 0.1267947405576706, -0.6653523445129395, 0.7482932806015015, 0.5273343324661255, 0.13168548047542572, -0.029791364446282387, 0.07003342360258102, 0.09361102432012558, 0.13562656939029694, -0.7111259698867798, -0.7332768440246582, 0.8507624268531799, -0.11745952069759369, 0.873153805732727, -0.09201548248529434, 0.4187617897987366, 0.31272050738334656, 0.3665466606616974, -0.6208337545394897, 0.5362505316734314, 0.28128814697265625, -0.7951354384422302, -0.26177194714546204, -0.04363319277763367, -0.9197539687156677, 0.29490384459495544, -0.14356905221939087, -0.5420585870742798, -0.11022195219993591, 0.29344287514686584, -0.5066277980804443, 0.27987590432167053, -0.8302000761032104, 1.0840529203414917, -0.4618023931980133, -0.6196295022964478, -0.19376777112483978, -0.5946969389915466, -0.26846060156822205, 0.21814744174480438, 0.4032628536224365, -0.18866553902626038, -0.30162519216537476, -0.22841587662696838, -0.4643744230270386, 0.7950327396392822, -0.6511312127113342, 0.11325043439865112, 0.6931154131889343, 0.06185775250196457, 0.8010280728340149, 0.3560848534107208, -0.11952858418226242, -0.13272850215435028, -0.20724190771579742, -0.3856137692928314, -0.6509028077125549, 0.9453710317611694, -0.8001039624214172, -0.510269045829773, -0.48629602789878845, -0.6163681149482727, 0.1223275288939476, 0.03225872665643692, 0.12246306240558624, 0.557529091835022, -0.3598414957523346, -0.08450477570295334, 0.06742677837610245, -0.40329909324645996, 0.21184365451335907, 0.3600870668888092, -0.12023214995861053, -0.10235603153705597, 0.9176524877548218, -0.12765297293663025, 0.03340368717908859, 0.34587258100509644, 0.029277456924319267, -0.37717580795288086, -0.3676225543022156, -0.6042160987854004, -0.12595289945602417, -0.4771049916744232, -0.2020583301782608, -0.42460158467292786, 0.2362608015537262, -0.12407183647155762, -0.6565114259719849, -0.026608072221279144, -0.10807197540998459, -0.28343790769577026, -0.18337662518024445, 0.29094812273979187, 0.5996479988098145, 0.008106688037514687, 0.28402015566825867, -0.6300179958343506, 0.14240805804729462, 0.42524638772010803, -0.11820854991674423, -0.3367178440093994, 0.034148458391427994, -0.3858054280281067, 0.001092831720598042, -0.21677985787391663, -0.3627224862575531, 0.451719731092453, 0.43578052520751953, 0.5252859592437744, 0.029643215239048004, -0.0535166934132576, 0.5830517411231995, -0.38560253381729126, 0.9707677364349365, -0.30197426676750183, -0.7299046516418457, 0.6853082776069641, -0.6822423934936523, 0.45129841566085815, 0.36351776123046875, 0.278830885887146, -0.40854835510253906, -0.6427110433578491, -0.38165125250816345, -0.6078819036483765, 0.5875195264816284, -0.027959102764725685, -0.15877948701381683, 0.18992473185062408, 0.44899898767471313, 0.1703270971775055, 0.4057384133338928, -0.18629291653633118, 0.3175840377807617, -0.6543818116188049, -0.16968010365962982, -0.319094181060791, 0.37711089849472046, -0.36960282921791077, 0.06014220789074898, 0.4640241861343384, -0.6188479065895081, 0.2062871754169464, 0.4940200448036194, -0.483447790145874, 0.10688469558954239, 0.44906461238861084, 0.5342052578926086, 0.7106688618659973, -0.343601256608963, 0.3254992365837097, -0.01487998478114605, -0.3075580298900604, -0.04643619433045387, 0.5990023612976074, -0.08960805833339691, -0.16588124632835388, 0.19078996777534485, 0.5616274476051331, 0.06469740718603134, -0.9883003234863281, 0.13644742965698242, 0.17251265048980713, 0.05659274011850357, -0.4098197817802429, -0.059671927243471146, 0.24487018585205078, -0.05154765024781227, 0.6013389229774475, -0.07376033067703247, 0.09252037853002548, -0.6020232439041138, -0.06918401271104813, 0.4273386001586914, -0.004469817969948053, -0.6349465847015381, 0.8031449913978577, 0.3606996238231659, -0.18398240208625793, 0.47492244839668274, -0.6481569409370422, -0.6626749038696289, 1.0573614835739136, -0.07770547270774841, 0.8200820088386536, 0.33086010813713074, 0.06097923591732979, 0.35699453949928284, 0.7468127012252808, -0.05691929906606674, 0.3035469949245453, -0.02558625303208828, -0.47685810923576355, -0.675872266292572, -0.21634188294410706, -0.7170197367668152, -0.008481756784021854, -0.351552814245224, 0.15821877121925354, -0.8082221746444702, 0.05990182235836983, -0.08710601180791855, -0.07984471321105957, -1.1460437774658203, 0.04432179778814316, 0.25788941979408264, 0.6295195817947388, -0.4443921744823456, 0.5538758635520935, 1.3429993391036987, 0.04657798632979393, -0.651259183883667, -0.34778493642807007, 0.484518826007843, -0.6269878149032593, 0.3713625371456146, 0.5767049789428711, -0.3257277011871338, -0.03349311649799347, -0.7511894702911377, -0.4863443076610565, 1.1692578792572021, 0.3922765851020813, -0.4577784240245819, 0.03502098098397255, 0.12414760887622833, 0.5230329036712646, -0.318366676568985, 0.16838400065898895, 0.17136257886886597, 0.7825633883476257, -0.3606727421283722, -0.9072532653808594, 0.16937385499477386, 0.02248169109225273, -0.32599055767059326, 0.1215180829167366, -0.5551824569702148, 0.6535753011703491, -0.13566982746124268, -0.33892396092414856, 0.30209124088287354, 0.24352312088012695, 0.28269070386886597, 0.40926119685173035, 0.7532086968421936, 0.5999013185501099, 0.6621434092521667, -0.3756839632987976, 1.3684991598129272, -0.49489548802375793, 0.6088476181030273, 1.199842929840088, -0.5471190214157104, 0.3497954308986664, 0.3344840407371521, -0.049691926687955856, 0.5184878706932068, 0.5450404286384583, 0.05985282361507416, 0.5056016445159912, 0.05239447206258774, -0.4729573428630829, -0.5170125365257263, -0.33948826789855957, -0.0306461900472641, 0.3554059565067291, 0.3698301911354065, 0.31960466504096985, -0.36872828006744385, 0.08293143659830093, -0.038750242441892624, 0.38568371534347534, -0.3521919846534729, 0.311881959438324, -0.22935402393341064, -0.8185011148452759, 0.30636030435562134, -0.31458911299705505, 0.6770854592323303, -0.6909830570220947, -0.17017698287963867, 0.055528443306684494, -0.12184981256723404, -0.22101366519927979, -0.7916726469993591, 0.166645810008049, 0.14507268369197845, 0.08251605182886124, -0.36586999893188477, 0.6799362301826477, -0.2056780457496643, -0.3491884768009186, 0.0760723203420639, 0.7335178852081299, 0.20421093702316284, -0.5604203939437866, -0.5427530407905579, 0.06989074498414993, -0.39326032996177673, -0.225603848695755, 0.010044872760772705, 0.4985473155975342, 0.23130616545677185, 0.6101928949356079, 0.8256834149360657, -0.044444646686315536, 0.09623131901025772, -0.07606952637434006, 0.9546088576316833, -0.6783848404884338, -0.6861951351165771, -0.4516538083553314, 0.39534589648246765, -0.2347087413072586, -0.06700549274682999, 0.6854987144470215, 0.7380144596099854, 0.6541624665260315, -0.15983006358146667, 0.8425820469856262, -0.367870956659317, 0.5069083571434021, -0.40550118684768677, 0.43823331594467163, -0.4429273307323456, -0.06305581331253052, 0.1547345519065857, -0.8921008110046387, -0.12733107805252075, 0.35423704981803894, -0.12540778517723083, -0.038416340947151184, 0.5230010151863098, 0.9946203827857971, -0.15562717616558075, -0.009125216864049435, 0.2744332253932953, -0.02610129676759243, 0.5040779113769531, 0.6721213459968567, 1.136627197265625, 0.057070620357990265, 0.6343510150909424, -0.06745173782110214, -0.16508571803569794, 0.11467326432466507, -1.1886649131774902, -0.8429390788078308, -0.08419916778802872, -0.03894169256091118, 0.15901924669742584, 0.2657088339328766, 0.9816027879714966, 0.928756058216095, -0.4184381663799286, -0.038610268384218216, -0.09958996623754501, 0.27363404631614685, -0.5076775550842285, -0.23464013636112213, 0.008772367611527443, -0.3053942918777466, -0.9570422172546387, 0.800100564956665, 0.33586806058883667, -0.30614978075027466, -0.44182077050209045, -0.19886414706707, 0.013905178755521774, -0.3768695294857025, 0.4270493984222412, 0.5442474484443665, -0.6011078953742981, -0.5701516270637512, -0.016574131324887276, 0.14374853670597076, -0.0286423210054636, 0.9096775054931641, -0.9273650050163269, 0.5713152289390564, 0.25158610939979553, 0.6850070953369141, 0.4874323606491089, 0.11120795458555222, 0.5735526084899902, -1.0139800310134888, 0.7034031748771667, 0.05704280734062195, 0.2054583579301834, 0.5167968273162842, -0.615976095199585, 0.6813698410987854, 0.2312467396259308, -0.7633172869682312, -0.5251028537750244, -0.00958719477057457, -0.9991264343261719, -0.16532719135284424, 0.9224308133125305, -0.33858996629714966, -0.23937273025512695, -0.16625182330608368, -0.42359644174575806, -0.23102322220802307, -0.582585334777832, 0.2753850519657135, 0.7328613996505737, -0.06413032114505768, -0.06647983193397522, -0.774825394153595, 0.23017829656600952, 0.25457027554512024, -1.0481382608413696, 0.0916949212551117, 0.9849528074264526, 0.2202111929655075, 0.262736976146698, 0.17294453084468842, 0.20650458335876465, 0.4847736358642578, 0.03071589209139347, 0.08074764162302017, -0.6068653464317322, -0.3977368175983429, -0.2632521092891693, 0.11669773608446121, 0.171957328915596, -0.123152956366539 ]
http://arxiv.org/abs/2404.15488v1
http://arxiv.org/pdf/2404.15488v1
IryoNLP at MEDIQA-CORR 2024: Tackling the Medical Error Detection & Correction Task On the Shoulders of Medical Agents
2024-04-23T20:00:37
2024-04-23T20:00:37
Jean-Philippe Corbeil
cs.CL
cs.CL, cs.AI, cs.MA
In natural language processing applied to the clinical domain, utilizing large language models has emerged as a promising avenue for error detection and correction on clinical notes, a knowledge-intensive task for which annotated data is scarce. This paper presents MedReAct'N'MedReFlex, which leverages a suite of four LLM-based medical agents. The MedReAct agent initiates the process by observing, analyzing, and taking action, generating trajectories to guide the search to target a potential error in the clinical notes. Subsequently, the MedEval agent employs five evaluators to assess the targeted error and the proposed correction. In cases where MedReAct's actions prove insufficient, the MedReFlex agent intervenes, engaging in reflective analysis and proposing alternative strategies. Finally, the MedFinalParser agent formats the final output, preserving the original style while ensuring the integrity of the error correction process. One core component of our method is our RAG pipeline based on our ClinicalCorp corpora. Among other well-known sources containing clinical guidelines and information, we preprocess and release the open-source MedWiki dataset for clinical RAG application. Our results demonstrate the central role of our RAG approach with ClinicalCorp leveraged through the MedReAct'N'MedReFlex framework. It achieved the ninth rank on the MEDIQA-CORR 2024 final leaderboard.
[ -0.021304842084646225, -0.38350674510002136, 0.5118572115898132, 0.242380291223526, 0.017905225977301598, 0.3568193018436432, 0.13084128499031067, -0.592147707939148, 0.36342135071754456, 0.7840467691421509, -0.7945736050605774, -0.5106236338615417, -0.4716748893260956, 0.4978553354740143, -0.1266556978225708, 1.3532136678695679, -0.225692480802536, 0.11358416825532913, -0.17127704620361328, -0.6768636703491211, -0.4704604148864746, -0.42017728090286255, -0.9289288520812988, -0.4402131736278534, 0.9746957421302795, 0.6397850513458252, 0.7020364999771118, 0.5709326267242432, 0.9252306818962097, 0.3109934628009796, 0.2340889871120453, 0.7899445295333862, -0.18397650122642517, 0.19339622557163239, -0.2829386293888092, -0.3991568088531494, -1.2348428964614868, 0.08401037007570267, 0.43493369221687317, 0.5057314038276672, -0.3290807008743286, -0.04728936403989792, -0.29199156165122986, 0.8085624575614929, -0.5112234950065613, -0.0015829914482310414, -0.1611057072877884, 0.25254783034324646, -0.29030391573905945, -0.6003650426864624, -0.6493675112724304, -0.3807002604007721, -0.1845024973154068, -0.669445276260376, 0.39815542101860046, 0.3236998915672302, 0.7123062014579773, 0.4672827422618866, -0.16787771880626678, -0.4681289494037628, -0.5781881213188171, 0.5592696666717529, -0.6793409585952759, 0.16268105804920197, 0.4401891529560089, 0.4400964081287384, -0.5553472638130188, -1.1303027868270874, -0.41888427734375, -0.053328484296798706, -0.1296709179878235, 0.3279845118522644, -0.13290616869926453, 0.21651363372802734, -0.019508203491568565, 0.23003926873207092, -0.4590338468551636, 0.04138315096497536, -0.2841506004333496, -0.3497653305530548, 0.6110255122184753, 0.4086974561214447, 0.2858535349369049, 0.09318088740110397, -0.2895875871181488, -0.23199597001075745, -0.35366594791412354, -0.3019394278526306, -0.3529277443885803, 0.18664591014385223, -0.3358871340751648, 0.4300117790699005, 0.2010144591331482, 0.48721855878829956, 0.026208559051156044, -0.4354698061943054, 0.4857776463031769, -0.15824703872203827, -0.32008814811706543, 0.23306769132614136, 0.867874026298523, 0.3540559411048889, -0.02779475972056389, -0.15840362012386322, -0.2744891941547394, -0.09963232278823853, 0.4629688858985901, -0.3721458911895752, -0.18719758093357086, 0.43240734934806824, -0.32773357629776, -0.3551892936229706, -0.23827877640724182, -0.6633615493774414, -0.8909457921981812, -0.21952764689922333, 0.2786597013473511, -0.18757322430610657, 0.12012584507465363, 0.3147459328174591, -0.0860833004117012, -0.16389773786067963, 0.7759905457496643, -0.38996216654777527, 0.6370276808738708, 0.7103241682052612, 0.7347548604011536, -0.1580209881067276, -0.25413888692855835, -0.9908431172370911, 0.10183308273553848, -0.39261385798454285, 1.1237075328826904, -0.15216806530952454, -0.06853355467319489, -0.15635858476161957, 0.19604171812534332, -0.42317578196525574, -0.8231157064437866, 0.832295835018158, -0.22874340415000916, 0.37795305252075195, 0.0510152243077755, -0.532515823841095, 0.008118243888020515, 0.2698519825935364, -0.8763948678970337, 0.5698971152305603, 0.5037530660629272, -0.7180255055427551, 0.21469691395759583, -0.9185444712638855, -0.1640080362558365, 0.18332558870315552, -0.22724415361881256, -0.8538782596588135, -0.14070625603199005, 0.09926958382129669, 0.39719489216804504, -0.4166448712348938, 0.1865459382534027, -0.019141890108585358, -0.1743057370185852, 0.4573872983455658, -0.1877223253250122, 0.6425592303276062, 0.26675042510032654, -0.3137356638908386, 0.13684706389904022, -1.0188497304916382, -0.10230250656604767, 0.029735121876001358, -0.37137553095817566, -0.21661590039730072, -0.17822280526161194, 0.26004183292388916, 0.12402481585741043, -0.22750799357891083, -0.4722648561000824, 0.1525842696428299, -0.14701834321022034, 0.09870953857898712, 0.5483468770980835, 0.11310109496116638, 0.3224814534187317, -0.6469942927360535, 0.930392861366272, -0.2719162404537201, 0.5406308770179749, -0.12141066044569016, -0.43215328454971313, -0.6857596039772034, -0.6163656115531921, 0.27334776520729065, 0.7027603387832642, -0.6372184157371521, 0.05655837431550026, 0.011057290248572826, -0.4830605983734131, -0.7783385515213013, -0.040370527654886246, 0.45393073558807373, 0.8709734082221985, 0.5341370105743408, -0.060079801827669144, -0.8449260592460632, -0.5910065770149231, -0.4138990342617035, -0.18240079283714294, 0.18925146758556366, 0.15699684619903564, 0.3299560546875, -0.8114342093467712, 0.7806345224380493, -0.30789390206336975, -0.8221811652183533, -0.38640668988227844, 0.17541168630123138, 0.4001098871231079, 0.4620264768600464, 0.2987472414970398, -0.6919172406196594, -0.4307979345321655, 0.1325821429491043, -0.6982194781303406, -0.5774199962615967, -0.20452672243118286, -0.0852246880531311, 0.4936613142490387, 0.6630588173866272, -0.2975326478481293, 0.43905889987945557, 0.7263796329498291, -0.5470350980758667, 0.34306731820106506, -0.5611852407455444, 0.14059750735759735, -1.0327293872833252, 0.21663092076778412, -0.33931684494018555, -0.4278886914253235, -0.6688789129257202, -0.21219965815544128, 0.22684282064437866, 0.363395631313324, -0.07726295292377472, 0.5594528913497925, -0.32652565836906433, 0.27582791447639465, -0.24179607629776, 0.04913453757762909, 0.4323734641075134, 0.17494727671146393, -0.17167462408542633, 0.5274883508682251, -0.31589528918266296, -0.2643173336982727, 0.37212231755256653, 0.3562500774860382, 0.30319201946258545, 0.6936531662940979, -0.3451090157032013, 0.1915188580751419, -0.10058289021253586, 0.3847682774066925, -0.7417336106300354, -0.29519104957580566, 0.6001091003417969, -0.5939645767211914, 0.436802476644516, -0.14850203692913055, -0.45466896891593933, -0.28791627287864685, -0.1616249829530716, 0.324183851480484, 0.014562375843524933, -0.18723666667938232, 0.787562370300293, 0.4791296720504761, -0.19170890748500824, -0.7001146078109741, -0.6434935331344604, 0.2973882257938385, 0.16458863019943237, -0.5026781558990479, 0.17016354203224182, -0.10191559046506882, -0.312977135181427, -0.03137500211596489, 0.08880908787250519, -0.04242725670337677, -0.08895746618509293, 0.43342509865760803, 0.5875205993652344, -0.191677063703537, 0.1699739545583725, -0.18615615367889404, -0.4281512498855591, -0.032428812235593796, 0.06493985652923584, 0.29613518714904785, -0.13566933572292328, -0.33163389563560486, -0.39224210381507874, 0.07759220153093338, 0.7115978598594666, -0.24046510457992554, 0.5663005113601685, 0.4633254110813141, -0.32376527786254883, -0.18310974538326263, -0.7149563431739807, -0.02498316578567028, -0.4411622881889343, 0.2833127975463867, 0.29322728514671326, -0.5861923694610596, 0.4791423976421356, 0.08459531515836716, 0.04309452325105667, 0.4252561032772064, 0.3429061770439148, -0.2680659890174866, 0.7829105257987976, 0.6415384411811829, 0.04838725924491882, -0.13518662750720978, -0.28394559025764465, 0.20337101817131042, -0.8225195407867432, -0.4238249659538269, -0.6840022206306458, -0.19586269557476044, -0.6318946480751038, -0.8574267625808716, 0.767368733882904, -0.4916034936904907, -0.10780920088291168, 0.05951942130923271, -0.42544612288475037, 0.04234187304973602, 0.2734449505805969, -0.028875254094600677, 0.5321024656295776, 0.11080854386091232, -0.22704645991325378, -0.17760206758975983, -0.7846580743789673, -0.23824892938137054, 0.804006040096283, 0.5415796041488647, 0.8667122721672058, -0.16871047019958496, 0.6582491993904114, 0.5877671837806702, 0.7636414766311646, -0.7031449675559998, 0.35254037380218506, -0.2027270495891571, -0.44703274965286255, -0.07511761039495468, -0.16501837968826294, -0.8633756637573242, 0.11902361363172531, -0.26987355947494507, -0.008067633956670761, 0.3389034569263458, 0.26216137409210205, -0.35781538486480713, 0.28436383605003357, -0.44571778178215027, 0.9881154894828796, 0.07141809165477753, -0.41671013832092285, -0.02185172773897648, -0.6615601778030396, -0.03770260885357857, -0.029706129804253578, 0.6284090876579285, 0.08052467554807663, -0.382024884223938, 0.5453208088874817, -0.7445623278617859, 0.6920691728591919, -0.13070183992385864, -0.15621444582939148, 0.05728005990386009, 0.06574580073356628, 0.6748422980308533, -0.19406037032604218, 0.10039093345403671, -0.16949747502803802, -0.11520100384950638, -0.13613936305046082, -0.38941654562950134, 0.15053656697273254, -0.4345243573188782, 0.08908215165138245, -0.8166931867599487, -0.617356538772583, -0.13243791460990906, 0.13618183135986328, 0.25257933139801025, 0.8201766014099121, -0.036194439977407455, -0.18917664885520935, 0.33793890476226807, -0.34762924909591675, 0.10358654707670212, 0.962634801864624, -0.13468444347381592, -0.7416775226593018, 0.8031356930732727, -0.12301425635814667, 0.12084466964006424, 0.4069547951221466, 0.216856449842453, -0.16957871615886688, -0.5767762660980225, -0.2423011064529419, 0.661104142665863, -0.6311729550361633, -0.4080519676208496, -0.8880707621574402, -0.2740508019924164, -0.28797245025634766, -0.18099194765090942, -0.5141981840133667, -0.2697075307369232, 0.008541448973119259, 0.22436098754405975, 0.5069783926010132, 0.8654281497001648, -0.23095065355300903, 0.22569511830806732, -0.9874555468559265, 0.19230596721172333, -0.3292785882949829, 0.2845814526081085, -0.4772025942802429, -0.45225203037261963, -0.46689164638519287, -0.15556277334690094, -0.1297001838684082, -0.453501433134079, 0.6205036640167236, 0.2267134040594101, 0.309211403131485, 0.2618306875228882, 0.04068916663527489, 0.7612259387969971, -0.6494796276092529, 0.12888668477535248, 0.10262387245893478, -0.47542980313301086, 0.5598800182342529, -0.3761167526245117, 0.11941960453987122, 0.5494787693023682, 0.04042394459247589, -1.128238558769226, -0.7694007754325867, -0.7513090372085571, -0.5959463119506836, 0.7064011096954346, 0.02287890389561653, -0.5249730348587036, 0.02594020590186119, 0.3909657299518585, -0.07818414270877838, 0.14184066653251648, -0.2740570604801178, -0.2020903080701828, 0.2525438368320465, -0.7239151000976562, -0.17648521065711975, -0.24617566168308258, -0.2427905648946762, -0.025976363569498062, 0.5757188200950623, -0.4414229393005371, 0.19291111826896667, 0.8048039078712463, 0.0112128471955657, -0.433288037776947, 0.17322969436645508, 0.9781811833381653, 0.691997766494751, -0.43671730160713196, -0.010876827873289585, -0.2670370638370514, -1.2315917015075684, -0.03275002911686897, 0.23481853306293488, 0.06167135387659073, 0.21538054943084717, 0.7313506007194519, 0.3280029892921448, 0.1041475459933281, -1.0850516557693481, 0.6101800799369812, -0.365803062915802, -0.08146104216575623, -0.7331034541130066, -0.13513915240764618, -0.20185215771198273, 0.38371115922927856, 0.24381351470947266, 0.6502160429954529, 0.37564024329185486, -0.2790350317955017, 0.2959800064563751, 0.06617602705955505, -0.5733686685562134, -0.20722493529319763, 0.64200758934021, -0.05131741240620613, -0.31216925382614136, 0.34500253200531006, -0.04555919021368027, -0.46698832511901855, 0.7204378247261047, 0.37103813886642456, 0.8226329684257507, -0.31449249386787415, 0.24736228585243225, 0.155500590801239, 0.36691203713417053, -0.08132526278495789, 0.22593101859092712, 0.5037873387336731, -0.6476978063583374, -0.7219977974891663, -0.15789267420768738, -0.7056094408035278, 0.12144635617733002, -0.4846852719783783, 0.3349411189556122, -0.6652508974075317, -0.17677901685237885, -0.015600703656673431, -0.07214440405368805, -0.2520914077758789, 0.2536083161830902, -0.1575000137090683, 0.952963650226593, -0.4314236342906952, 0.5308061242103577, 0.9474790692329407, -0.15262088179588318, -0.922422468662262, -0.29946136474609375, 0.38628119230270386, -0.8367712497711182, 0.7315740585327148, -0.03179556503891945, -0.19337902963161469, -0.442562460899353, -0.471039354801178, -0.44584330916404724, 1.0474964380264282, 0.10449244827032089, -0.41317275166511536, 0.042617011815309525, 0.24825824797153473, 0.7813237905502319, -0.4737606942653656, 0.17871317267417908, 0.5355080366134644, 0.2017868161201477, 0.08016198128461838, -1.0996955633163452, -0.025142718106508255, -0.36533322930336, -0.6651489734649658, 0.26721885800361633, -0.4261940121650696, 0.8798382878303528, -0.47187355160713196, 0.19141064584255219, 0.14048440754413605, 0.1265159696340561, 0.33939701318740845, 0.8597462177276611, 0.267700731754303, 0.5227989554405212, 0.9809306263923645, 0.14015041291713715, 1.119106411933899, 0.11466486006975174, 0.1433022916316986, 1.2969388961791992, -0.2984120845794678, 0.715957522392273, 0.4445534348487854, -0.10436809062957764, 0.7231155037879944, 0.1532328575849533, 0.09624937176704407, 0.16586127877235413, -0.14253735542297363, -0.39913836121559143, 0.06861299276351929, -0.2661914527416229, 0.021666552871465683, 0.34990426898002625, 0.5550376772880554, -0.45030009746551514, -0.15293097496032715, 0.1501525491476059, 0.44292861223220825, 0.29736050963401794, -0.3206961154937744, 0.6683853268623352, 0.1127467006444931, -0.7464438080787659, 0.6559247374534607, -0.10751741379499435, 0.2792101800441742, -0.5577105283737183, -0.47660598158836365, -0.4958142042160034, 0.9231902360916138, -0.3582552373409271, -0.34648481011390686, 0.2141089290380478, -0.12256921082735062, -0.17547883093357086, -0.03396495431661606, 0.8381641507148743, -0.35727447271347046, -0.2775481939315796, 0.2965753376483917, 0.17176921665668488, -0.01387513056397438, 0.07021893560886383, -0.7405465841293335, 0.2769419848918915, -0.1189921423792839, 0.36761316657066345, 0.0333474762737751, 0.4967197775840759, -0.155807226896286, 0.8820649981498718, 0.3547002077102661, 0.4008987843990326, -0.08924537152051926, 0.27385663986206055, 0.6043038964271545, -0.4874423146247864, -0.3422311246395111, -0.569059431552887, 0.5522725582122803, -0.24418911337852478, -0.0898916944861412, 0.5058427453041077, 0.5224674344062805, 0.417001873254776, -0.12247052043676376, 0.5301811695098877, 0.14454536139965057, 1.2294330596923828, -0.3403245508670807, 0.6581077575683594, -0.5590246915817261, 0.25521785020828247, -0.3065062463283539, -0.35462814569473267, -0.6089879870414734, 0.5824612975120544, 0.14102157950401306, -0.24439431726932526, 0.9914576411247253, 0.9536536931991577, 0.18276263773441315, 0.04381715878844261, 0.09483768045902252, 0.5170755982398987, 0.43513667583465576, 0.47855886816978455, 0.5665375590324402, -0.7872636914253235, 0.1796436458826065, -0.14282460510730743, -0.29591473937034607, -0.4603634774684906, -0.8034622669219971, -0.8481151461601257, -0.29853010177612305, -0.42715609073638916, -0.7726544141769409, 0.13313698768615723, 1.2550122737884521, 0.3976202607154846, -0.8775167465209961, -0.13610661029815674, -0.04848584532737732, 0.06573991477489471, -0.24478551745414734, -0.1868421733379364, 0.48086854815483093, -0.4855925440788269, -0.45265278220176697, 0.3420270085334778, 0.745492160320282, -0.023674694821238518, 0.029780138283967972, -0.24892237782478333, -0.1937328428030014, -0.17853087186813354, 0.38100704550743103, 0.35836344957351685, -0.23872265219688416, 0.07718392461538315, 0.12498558312654495, -0.4597083628177643, 0.18081805109977722, 0.9990706443786621, -0.6947112679481506, 0.5373457670211792, 0.30337831377983093, 0.6208403706550598, -0.03710300102829933, -0.34794893860816956, 0.5747219324111938, -0.3208891749382019, 0.1244647279381752, 0.5433328747749329, 0.22849580645561218, 0.3934650421142578, -0.2534629702568054, 0.9947509765625, 0.5035812854766846, -0.7283040285110474, -0.861497700214386, -0.45271214842796326, -1.0809873342514038, 0.056202128529548645, 0.7708127498626709, 0.07480555027723312, -0.4410921037197113, -0.5419246554374695, -0.6480038166046143, 0.030830083414912224, -0.1716795265674591, 0.537445068359375, 0.1658240556716919, -0.26223158836364746, -0.24138280749320984, -0.9163401126861572, 0.9226673245429993, 0.3259415626525879, -0.7620730400085449, -0.06902147829532623, 0.45861220359802246, 0.2309514880180359, 0.26825129985809326, 1.143977403640747, -0.43847012519836426, 0.7647031545639038, -0.3059822916984558, 0.19978821277618408, 0.0871327668428421, -0.19489094614982605, -0.3406321406364441, -0.19645719230175018, 0.13387490808963776, -0.07347658276557922 ]
http://arxiv.org/abs/2405.00708v1
http://arxiv.org/pdf/2405.00708v1
Interactive Analysis of LLMs using Meaningful Counterfactuals
2024-04-23T19:57:03
2024-04-23T19:57:03
Furui Cheng, Vilém Zouhar, Robin Shing Moon Chan, Daniel Fürst, Hendrik Strobelt, Mennatallah El-Assady
cs.CL
cs.CL, cs.AI, cs.HC, cs.LG, I.2.7; H.5.2
Counterfactual examples are useful for exploring the decision boundaries of machine learning models and determining feature attributions. How can we apply counterfactual-based methods to analyze and explain LLMs? We identify the following key challenges. First, the generated textual counterfactuals should be meaningful and readable to users and thus can be mentally compared to draw conclusions. Second, to make the solution scalable to long-form text, users should be equipped with tools to create batches of counterfactuals from perturbations at various granularity levels and interactively analyze the results. In this paper, we tackle the above challenges and contribute 1) a novel algorithm for generating batches of complete and meaningful textual counterfactuals by removing and replacing text segments in different granularities, and 2) LLM Analyzer, an interactive visualization tool to help users understand an LLM's behaviors by interactively inspecting and aggregating meaningful counterfactuals. We evaluate the proposed algorithm by the grammatical correctness of its generated counterfactuals using 1,000 samples from medical, legal, finance, education, and news datasets. In our experiments, 97.2% of the counterfactuals are grammatically correct. Through a use case, user studies, and feedback from experts, we demonstrate the usefulness and usability of the proposed interactive visualization tool.
[ -0.3909311294555664, -1.5856139659881592, 0.8899315595626831, 0.12771552801132202, -0.3572900593280792, 0.08911550045013428, 0.0828118696808815, -0.30615225434303284, 0.3191678524017334, 0.41803884506225586, -0.9665203094482422, -0.449084997177124, -0.5957886576652527, -0.07446552813053131, -0.5545567870140076, 0.9370935559272766, -0.24146005511283875, 0.1659923940896988, -0.714996337890625, -0.1472005546092987, -0.4189983904361725, -0.5121169090270996, -0.5073474049568176, -0.40795665979385376, 0.537091076374054, 0.41860657930374146, 0.8079572319984436, 0.42709439992904663, 0.5007478594779968, 0.38226816058158875, 0.0880906879901886, 0.20494280755519867, -0.6212860941886902, 0.25059589743614197, -0.17063453793525696, -0.3710154592990875, -0.51242595911026, 0.1672104150056839, 0.25000452995300293, 0.7988935112953186, -0.13424886763095856, 0.3066463768482208, 0.0016229237662628293, 0.5636533498764038, -0.09098818153142929, 0.17090041935443878, -0.4490874409675598, 0.19178175926208496, -0.3043254613876343, -0.40968674421310425, -0.183146670460701, -0.12433335930109024, 0.17000682651996613, -0.6520366072654724, -0.06623908877372742, 0.1422785371541977, 0.6083145141601562, 0.42895200848579407, -0.5621893405914307, -0.7218800783157349, -0.5738019943237305, 0.7367621064186096, -0.6083097457885742, 0.2232043445110321, 0.11362536996603012, 0.14496421813964844, -0.32272711396217346, -0.815315842628479, -0.7146100401878357, -0.25437939167022705, -0.34979793429374695, 0.11258044093847275, -0.5916935205459595, -0.255681574344635, 0.40547576546669006, -0.05042799562215805, -0.6884274482727051, 0.41570374369621277, 0.03816605731844902, -0.04175904393196106, 0.6237399578094482, 0.5675354599952698, 0.5755491256713867, -0.060719456523656845, -0.35410213470458984, 0.27058500051498413, -0.5972949862480164, 0.030725110322237015, 0.2758357524871826, 0.0021916243713349104, -0.22958527505397797, 0.7380855083465576, 0.027347173541784286, 0.5255348682403564, 0.004271591082215309, -0.03327777981758118, 0.1480134278535843, -0.41479501128196716, -0.32031336426734924, -0.1242271289229393, 0.736939549446106, 0.5449701547622681, 0.4405747652053833, 0.03687620162963867, -0.10701020807027817, 0.01777436025440693, 0.39063575863838196, -0.7514757513999939, -0.014991393312811852, 0.5720402002334595, -0.4911559522151947, -0.5600085258483887, -0.2819618582725525, -0.8537163138389587, -0.4869154095649719, -0.6730561852455139, 0.47944948077201843, -0.15762607753276825, 0.05711839348077774, -0.2711535096168518, 0.07114137709140778, -0.13532331585884094, 0.47822391986846924, -0.5429141521453857, 0.2579360902309418, 0.4241946339607239, 0.7404585480690002, -0.2527819573879242, -0.1490415632724762, -0.6663178205490112, -0.008854662999510765, -0.3685646057128906, 0.7760337591171265, -0.569597065448761, -0.4373086988925934, -0.07309082895517349, -0.14792686700820923, -0.2866521179676056, -0.6035143136978149, 0.031765908002853394, -0.3693813383579254, 0.3663572371006012, -0.414798378944397, -0.7429872155189514, -0.17601323127746582, 0.5583119988441467, -0.6739524006843567, 1.0068835020065308, -0.1695452332496643, -0.6002620458602905, 0.3589623272418976, -0.900599479675293, -0.24509496986865997, 0.06141972541809082, -0.4757075011730194, -0.6505864262580872, 0.07537902891635895, 0.19657979905605316, 0.5940576791763306, 0.08433733880519867, 0.6144601702690125, -0.27799779176712036, -0.36214110255241394, 0.7257420420646667, -0.5045945644378662, 0.7264534831047058, 0.0851651281118393, -0.4333305358886719, 0.3704942762851715, -0.6668854355812073, -0.13142691552639008, 0.12724751234054565, -0.02706606686115265, -0.17410527169704437, 0.20890887081623077, -0.02288755588233471, 0.05677184835076332, 0.26344457268714905, -0.2089616060256958, 0.21121551096439362, -0.03464207798242569, 0.23170773684978485, 0.4726252853870392, 0.21515987813472748, 0.08436855673789978, -0.3511175215244293, 0.6143945455551147, 0.11125124990940094, 0.1739785224199295, -0.38788390159606934, -0.41250303387641907, -0.6540871262550354, -0.6106336712837219, -0.009667853824794292, 0.8387408256530762, -0.9254435896873474, 0.14757311344146729, -0.06262244284152985, -0.48644572496414185, -0.23384268581867218, 0.22849375009536743, 0.3241439759731293, 0.8397566676139832, 0.35743141174316406, -0.11945050954818726, -0.6337987780570984, -0.8512364625930786, -0.4396710693836212, -0.21126355230808258, 0.1512361764907837, 0.28924667835235596, 0.734138548374176, -0.4762538969516754, 1.122470498085022, -0.5409333109855652, -0.08174139261245728, -0.08134594559669495, 0.6115934252738953, 0.16324198246002197, 0.32090631127357483, 0.7091590166091919, -0.7614991068840027, -0.2411981076002121, -0.05159031227231026, -1.144407868385315, -0.469149112701416, -0.41582387685775757, 0.21976642310619354, 0.2860942780971527, 0.9707672595977783, -0.5368117690086365, 0.5925037264823914, 0.15818655490875244, -0.37107351422309875, 0.6707797050476074, -0.14455221593379974, 0.2669520080089569, -0.7220897078514099, 0.22821904718875885, -0.05444875732064247, -0.3376927673816681, -0.9293414950370789, 0.10549061000347137, -0.2856873869895935, -0.026329459622502327, -0.5688113570213318, 0.632188081741333, -0.18843349814414978, 0.10151354223489761, -0.08629392832517624, 0.2377975732088089, -0.24506568908691406, 0.3924536108970642, -0.14692965149879456, 0.6088532209396362, 0.14735816419124603, -0.2725245952606201, 0.6084228754043579, -0.0007288929773494601, -0.29633522033691406, 0.738702654838562, -0.5662997961044312, -0.10313727706670761, -0.2610960602760315, 0.005940859671682119, -1.1856926679611206, -0.03570074960589409, 0.3288039267063141, -0.2657865881919861, -0.051265258342027664, -0.10665395110845566, -0.5232294201850891, -0.012620430439710617, -0.4426340162754059, 0.1840973049402237, 0.36445415019989014, -0.36196520924568176, 0.7774621248245239, 0.16804718971252441, -0.41636210680007935, -0.3204277455806732, -0.6706149578094482, 0.2793274223804474, -0.460033655166626, -0.36211666464805603, 0.051244910806417465, -0.24522484838962555, -0.5972211956977844, 0.10067006200551987, 0.04072012007236481, 0.10554126650094986, 0.28603124618530273, 0.33550894260406494, 0.43531298637390137, -0.07804236561059952, 0.013738041743636131, 0.14223499596118927, -0.12717849016189575, 0.2900051772594452, 0.18939712643623352, 0.26706063747406006, -0.1585732102394104, -0.5948981046676636, -0.23758995532989502, 0.3061845898628235, 0.5118464231491089, 0.2762916386127472, 0.4453459084033966, 0.7973747849464417, -0.33227887749671936, -0.011730209924280643, -0.4962831735610962, 0.046177152544260025, -0.45184484124183655, 0.48172903060913086, -0.2539381682872772, -0.6473978757858276, 0.7823315858840942, -0.22705858945846558, 0.15156948566436768, 0.2461458444595337, 0.839989185333252, -0.4787290394306183, 0.8426551222801208, 0.47929486632347107, 0.389526903629303, 0.3945300281047821, -0.13818244636058807, 0.14895634353160858, -0.29397454857826233, -0.6150088906288147, -0.22470609843730927, -0.3439188003540039, -0.5536168813705444, -0.40105265378952026, 0.4309285879135132, -0.1208885982632637, -0.10544165968894958, -0.07172895967960358, 0.10035848617553711, 0.31140100955963135, 0.34774351119995117, 0.07316847145557404, 0.3309401869773865, 0.05049336329102516, -0.47525858879089355, -0.35575124621391296, -0.3564557433128357, -0.7892652750015259, 0.7071234583854675, 0.29451310634613037, 0.6473138928413391, 0.22751808166503906, 0.5397735834121704, 0.589051365852356, 0.5643020868301392, -0.9685366749763489, 0.6769528388977051, -0.30861660838127136, -0.30060604214668274, -0.3135833740234375, -0.374317467212677, -0.8673402667045593, 0.33068984746932983, -0.6601511836051941, -0.8011431097984314, 0.09256941080093384, 0.365184485912323, -0.10456868261098862, 0.08543196320533752, -0.7690789103507996, 0.9690325260162354, -0.3592245876789093, -0.43563312292099, -0.08391223847866058, -0.46296998858451843, 0.2400342971086502, -0.25876984000205994, 0.5393152832984924, 0.22338472306728363, -0.18102476000785828, 0.6605420112609863, -0.5295920372009277, 1.1213942766189575, -0.14010116457939148, -0.29923734068870544, 0.13898654282093048, 0.2542882263660431, 0.4144108295440674, 0.030508972704410553, 0.0005062222480773926, 0.18093787133693695, -0.02235415391623974, -0.4034055471420288, -0.9537451863288879, 0.5616179704666138, -0.41245099902153015, -0.7242674827575684, -0.4169047176837921, -0.5044823288917542, -0.22042012214660645, 0.2874789237976074, -0.03410477191209793, 0.5336629748344421, -0.5863232016563416, -0.024929413571953773, 0.6104650497436523, -0.10109274834394455, 0.6009624004364014, 0.7719455361366272, -0.4283362627029419, -0.26531243324279785, 0.9416475892066956, 0.3888043463230133, -0.12139295041561127, 0.23643898963928223, 0.18391403555870056, -0.2822277545928955, -0.6511780619621277, -0.6285439133644104, 0.020182473585009575, -0.6429023146629333, 0.22246898710727692, -0.46709564328193665, 0.07151277363300323, 0.051756858825683594, -0.21723498404026031, 0.10656800121068954, -0.30117207765579224, -0.569311797618866, -0.045144736766815186, 0.11674091964960098, 0.8019466996192932, 0.15077127516269684, 0.39224159717559814, -0.6762054562568665, 0.5054047703742981, 0.4178265631198883, 0.06477812677621841, -0.034938592463731766, -0.21762917935848236, -0.11957769095897675, 0.0010824230266734958, -0.2746775448322296, -0.9199788570404053, 0.3754407465457916, -0.07398373633623123, 0.825975775718689, 0.5041609406471252, -0.06749734282493591, 0.9233868718147278, -0.5944035649299622, 0.8277699947357178, 0.1031627357006073, -1.014786958694458, 0.40879902243614197, -0.24731411039829254, 0.16824181377887726, 0.3874918520450592, 0.5907605886459351, -0.49818798899650574, -0.36899274587631226, -0.5063534379005432, -0.836356520652771, 0.4145280718803406, 0.27847278118133545, 0.05034169554710388, 0.02870824933052063, 0.397755891084671, 0.23277007043361664, 0.2652123272418976, -0.592448353767395, -0.27338993549346924, -0.2663280963897705, -0.62176913022995, -0.07912668585777283, -0.3274053633213043, -0.1999479979276657, 0.12457165867090225, 0.5174002647399902, -0.09339374303817749, -0.2522208094596863, 0.15401019155979156, -0.4674239158630371, -0.12928639352321625, 0.3230449855327606, 0.8644990921020508, 0.885380744934082, -0.18072403967380524, 0.3510059118270874, 0.3410254120826721, -0.4751650393009186, -0.0030124334152787924, 0.19747094810009003, -0.183175727725029, -0.06087427958846092, 0.7334113121032715, 0.5615371465682983, 0.09387268126010895, -0.9312370419502258, 0.4089292287826538, -0.09148091822862625, -0.17193010449409485, -0.21727406978607178, -0.10415567457675934, 0.18608839809894562, 0.4187016785144806, 0.4837595224380493, -0.07449305057525635, 0.2424766719341278, -0.7674867510795593, 0.2142418920993805, 0.6737809777259827, -0.4641796052455902, -0.17543594539165497, 0.44472330808639526, 0.2646615505218506, -0.24802231788635254, 0.5066997408866882, -0.05498539283871651, -0.4343411326408386, 0.6785290837287903, 0.31367748975753784, 0.5577269196510315, 0.10124880075454712, 0.24510227143764496, -0.13755182921886444, 0.3781083822250366, 0.21023492515087128, 0.3617861270904541, 0.13717328011989594, -0.5134051442146301, -0.5134748816490173, -0.1980706751346588, -0.7048133015632629, 0.2465362250804901, -0.5978502631187439, 0.21711693704128265, -0.18554234504699707, -0.19731155037879944, 0.1957377940416336, 0.0850481390953064, -0.4753604829311371, 0.4017328917980194, -0.056032080203294754, 0.47324138879776, -1.1471545696258545, 0.43807923793792725, 0.9726709723472595, -0.2629793882369995, -0.15145602822303772, -0.20403434336185455, 0.4093056321144104, -0.9704997539520264, 0.6708704233169556, -0.02487967349588871, -0.16497106850147247, -0.4790055453777313, -0.7271574139595032, -0.42349547147750854, 0.9015005826950073, 0.4709739685058594, -0.6796467900276184, 0.2503477931022644, 0.32027265429496765, 0.761584460735321, -0.34897011518478394, 0.48384279012680054, 0.39009392261505127, 0.5671403408050537, 0.008518174290657043, -0.7595967054367065, 0.3898915946483612, -0.4323899447917938, -0.2789919376373291, -0.00039411833859048784, -0.248614102602005, 0.6163082718849182, -0.27758416533470154, -0.0017004836117848754, 0.013932563364505768, 0.4770278036594391, 0.3473742604255676, 0.9094207286834717, 0.6454116702079773, 0.48265135288238525, 0.6959553360939026, -0.019918199628591537, 0.6754192113876343, 0.0946258008480072, 0.43318915367126465, 1.0598690509796143, -0.18505069613456726, 0.5971143841743469, 0.7487393617630005, -0.15050891041755676, 0.5977325439453125, 0.5244283080101013, -0.2173963189125061, 0.07793410867452621, 0.3154638707637787, -0.06754996627569199, -0.39064499735832214, -0.1107766181230545, 0.009128645993769169, 0.34829017519950867, 0.5092034339904785, -0.16061264276504517, -0.2985491454601288, 0.046115826815366745, 0.35535284876823425, 0.227570578455925, -0.11968958377838135, 0.8458753228187561, 0.0379306860268116, -0.33777332305908203, 0.26882368326187134, -0.16260351240634918, 0.5197421908378601, -0.39612066745758057, -0.3760095536708832, -0.2775968015193939, -0.19694913923740387, -0.4779209792613983, -0.8457152247428894, 0.3293991982936859, 0.25447678565979004, -0.16375838220119476, -0.32236409187316895, 0.5045633316040039, -0.4370426833629608, -0.6138371229171753, 0.060203876346349716, 0.9348799586296082, 0.39037489891052246, 0.23435840010643005, -0.6702008247375488, 0.09846511483192444, -0.048873238265514374, -0.3879472315311432, 0.23463591933250427, 0.48301005363464355, -0.3719636797904968, 0.8217281103134155, 0.6935668587684631, -0.022525914013385773, -0.17550671100616455, 0.2798747718334198, 0.7538726329803467, -0.7906175255775452, -0.37725165486335754, -1.213356375694275, 0.581461489200592, -0.06966143101453781, -0.10602103918790817, 0.6640853881835938, 0.45503494143486023, 0.5316187143325806, -0.005699790082871914, 0.5878440737724304, 0.1547444760799408, 0.3680761158466339, -0.7318133115768433, 0.6415493488311768, -0.8012269735336304, 0.6354413032531738, -0.2290050983428955, -0.49649205803871155, -0.3531654179096222, 0.24530021846294403, -0.3150450587272644, 0.056635815650224686, 0.6339243650436401, 0.6102928519248962, -0.10569130629301071, -0.15507663786411285, 0.35537034273147583, 0.5145276784896851, 0.4436113238334656, 0.02119150198996067, 0.8517577052116394, -0.09426094591617584, 0.5576746463775635, -0.039114344865083694, -0.2676197290420532, -0.41539740562438965, -1.2970229387283325, -1.0446275472640991, -0.2656896114349365, -0.5834929347038269, 0.035046517848968506, 0.0687493309378624, 0.8385594487190247, 0.3471689522266388, -0.7696655988693237, -0.2203281670808792, 0.15528754889965057, 0.38187235593795776, -0.12569409608840942, -0.30106887221336365, 0.31307098269462585, -0.22829478979110718, -0.7073977589607239, 0.39348793029785156, 0.22106170654296875, 0.25659558176994324, -0.11792659759521484, 0.15500397980213165, -0.16819755733013153, 0.33598676323890686, 0.8408612608909607, 0.05411795526742935, -0.7463071942329407, -0.2047388255596161, 0.00832632090896368, 0.06734109669923782, -0.289058655500412, 0.9153412580490112, -0.7295432090759277, 0.4503974914550781, 0.3669919967651367, 0.3794541358947754, 0.49680614471435547, 0.16427090764045715, 0.36413493752479553, -0.7629155516624451, -0.23877181112766266, -0.11282575875520706, 0.39058899879455566, 0.09888061881065369, -0.4523620009422302, 0.35151392221450806, 0.24220114946365356, -0.1852196902036667, -0.8884458541870117, 0.20179937779903412, -1.0861899852752686, -0.6504702568054199, 0.8775405883789062, -0.29872849583625793, -0.0030406636651605368, -0.3317546546459198, -0.2896530330181122, 0.2135879248380661, -0.16840969026088715, 0.7347941398620605, 0.6843191981315613, -0.6289382576942444, -0.06573532521724701, -0.46998319029808044, 0.23502212762832642, 0.5219438076019287, -1.0779458284378052, -0.12863139808177948, 0.4700600206851959, 0.3717021346092224, 0.11596064269542694, 0.5140939950942993, -0.08652236312627792, 0.13767915964126587, -0.09222844988107681, -0.21075879037380219, -0.41664841771125793, -0.026483353227376938, -0.46175187826156616, 0.20305302739143372, -0.24047420918941498, 0.05146534740924835 ]
http://arxiv.org/abs/2404.15485v3
http://arxiv.org/pdf/2404.15485v3
Evaluating the Efficacy of Large Language Models in Identifying Phishing Attempts
2024-04-23T19:55:18
2024-06-06T21:03:03
Het Patel, Umair Rehman, Farkhund Iqbal
cs.CL
cs.CL, cs.AI
Phishing, a prevalent cybercrime tactic for decades, remains a significant threat in today's digital world. By leveraging clever social engineering elements and modern technology, cybercrime targets many individuals, businesses, and organizations to exploit trust and security. These cyber-attackers are often disguised in many trustworthy forms to appear as legitimate sources. By cleverly using psychological elements like urgency, fear, social proof, and other manipulative strategies, phishers can lure individuals into revealing sensitive and personalized information. Building on this pervasive issue within modern technology, this paper aims to analyze the effectiveness of 15 Large Language Models (LLMs) in detecting phishing attempts, specifically focusing on a randomized set of "419 Scam" emails. The objective is to determine which LLMs can accurately detect phishing emails by analyzing a text file containing email metadata based on predefined criteria. The experiment concluded that the following models, ChatGPT 3.5, GPT-3.5-Turbo-Instruct, and ChatGPT, were the most effective in detecting phishing emails.
[ -0.08857021480798721, -1.0286428928375244, 0.42568856477737427, 0.27715954184532166, -0.2890056073665619, 0.013277720659971237, -0.3092375695705414, -0.6249608993530273, 0.09047652781009674, 0.25013968348503113, -0.2608950734138489, -0.19215597212314606, -0.4826827645301819, 0.19243186712265015, -0.9675801396369934, 0.8968069553375244, 0.3149413466453552, 0.13833436369895935, 0.422441303730011, 0.5364753603935242, -0.21393822133541107, -0.7553560137748718, -0.6774914860725403, -0.2035115361213684, 0.6471267938613892, 0.18683704733848572, 0.232341468334198, 0.1154075488448143, 1.0303566455841064, 0.37687551975250244, 0.08977406471967697, -0.43320998549461365, -0.7185050845146179, -0.10915260761976242, -0.12483169138431549, -0.6141965985298157, -0.30972352623939514, -0.04438696801662445, 0.33382052183151245, 0.20622298121452332, -0.43370601534843445, 0.32319149374961853, -0.008157802745699883, 0.23583321273326874, -0.6476808190345764, 0.013955557718873024, -0.8823891878128052, -0.08842898905277252, -0.556100606918335, -0.3780987858772278, -0.9099810123443604, -0.644519031047821, 0.4617184102535248, -0.4015140235424042, -0.0014353175647556782, 0.2180096060037613, 0.2487677037715912, -0.4708370864391327, -0.23590849339962006, -0.46172812581062317, -0.7900441884994507, 0.7823904752731323, -0.9234832525253296, 0.25848686695098877, 0.5051084160804749, 0.37879133224487305, -0.3356887102127075, -0.5123730301856995, -0.33870431780815125, -0.36269721388816833, 0.16614589095115662, -0.23878708481788635, -0.5260944366455078, 0.06686229258775711, 0.4408198893070221, 0.5283889174461365, -0.7559912800788879, 0.2870034873485565, -0.6263662576675415, -0.4916839599609375, 0.5606628060340881, 0.144474595785141, 0.5419861674308777, 0.05033652111887932, 0.0010082711232826114, -0.0723874494433403, -0.4808925986289978, 0.024125218391418457, 0.5584486126899719, 0.3256901502609253, -0.31565505266189575, 0.5670794248580933, -0.03319401293992996, 0.5896202921867371, 0.1960292011499405, -0.514782726764679, -0.1800568848848343, 0.01110205240547657, -0.44039154052734375, -0.0685465857386589, 0.745705246925354, 0.037010081112384796, 0.8360246419906616, -0.11002235114574432, -0.30053600668907166, 0.19692721962928772, 0.5011220574378967, -0.773904025554657, -0.17120882868766785, 0.23428156971931458, -0.657249391078949, -0.8340572118759155, 0.002024439861997962, -0.8273473381996155, -0.8052386045455933, 0.13766755163669586, 0.1580420881509781, -0.5417991876602173, -0.3431513011455536, 0.29288914799690247, -0.1368444859981537, 0.4246673285961151, 0.1943831890821457, -0.8439556956291199, 0.35813677310943604, 0.7869843244552612, 0.670581042766571, -0.16717685759067535, -0.14039510488510132, -0.4414430558681488, -0.04859272763133049, -0.17273904383182526, 0.5161040425300598, -0.7235420346260071, -0.27294865250587463, 0.43248793482780457, -0.17582286894321442, -0.05571955442428589, -0.3494628965854645, 0.5680544376373291, -0.9233188033103943, 0.22509431838989258, -0.004317911341786385, -0.5921971201896667, -0.3161565661430359, 0.4946083128452301, -0.6952459812164307, 0.7509108781814575, -0.07664179056882858, -0.8273848295211792, -0.006869287230074406, -0.45511478185653687, -0.37953031063079834, 0.2288341522216797, 0.2829732894897461, -0.19901037216186523, 0.6344826817512512, -0.29276788234710693, 0.5439581274986267, -0.7036612033843994, 0.17369621992111206, -0.5747756958007812, -0.34119123220443726, 0.644346296787262, -0.6990394592285156, 0.8252252340316772, -0.027105802670121193, -0.5552429556846619, -0.1230628490447998, -0.5184950828552246, -0.24649153649806976, 0.5756168365478516, -0.31498464941978455, -0.34037142992019653, -0.35504430532455444, 0.18641653656959534, 0.17177695035934448, 0.11939048767089844, -0.4745424687862396, -0.042011357843875885, -0.5636019110679626, 0.20159032940864563, 0.7989746332168579, 0.0035222589503973722, 0.042896077036857605, -0.36529579758644104, 0.7338123917579651, -0.15813732147216797, 0.15162181854248047, -0.2695827782154083, -0.545934796333313, -0.7268149852752686, -0.053242411464452744, 0.1987239271402359, 0.7032428979873657, -0.2677239775657654, 0.11281905323266983, -0.36397457122802734, -0.8599659204483032, -0.09807149320840836, -0.08645207434892654, 0.2668602168560028, 0.17575284838676453, -0.030124658718705177, -0.28295522928237915, -0.20544759929180145, -0.9490959644317627, -0.437383770942688, -0.19006367027759552, -0.10205881297588348, 0.04502081498503685, 0.6200767755508423, 0.0686558410525322, 0.4858909845352173, -0.23101849853992462, 0.21417395770549774, -0.17838364839553833, 0.14876480400562286, 0.060776885598897934, 0.2580406367778778, 0.5933077335357666, -0.6071339845657349, -0.6035406589508057, -0.12416969984769821, -0.6125295758247375, 0.14013847708702087, -0.0032446901313960552, 0.2656411826610565, -0.10142765194177628, 0.12893237173557281, -0.6279773116111755, 0.467306524515152, 0.3489764630794525, -0.2032308131456375, 0.7607131600379944, -0.06565630435943604, 0.3842609226703644, -0.6684614419937134, 0.17534221708774567, 0.4101931154727936, 0.05055960640311241, -1.1148221492767334, 0.11648622155189514, 0.2732524871826172, -0.24272026121616364, -0.4142017960548401, 0.47874778509140015, -0.3701583743095398, 0.1433669477701187, -0.1151837483048439, 0.05025273934006691, -0.5674560070037842, 0.3305911421775818, -0.1291513890028, 0.45725390315055847, 0.6051102876663208, -0.37091299891471863, 0.5001427531242371, -0.30548879504203796, -0.6389485001564026, 0.930166482925415, -0.6685553789138794, 0.3994978368282318, 0.10552560538053513, 0.4567760229110718, -0.9940434694290161, -0.6967623829841614, 0.42738351225852966, -0.4950295686721802, 0.07677459716796875, 0.11667957901954651, -0.5862411260604858, -0.4355863034725189, -0.4530310332775116, 0.541003406047821, 0.4168151319026947, -0.13363634049892426, 0.7536212801933289, 0.268947571516037, -0.1823844164609909, -0.368844598531723, -0.6752660870552063, 0.28540298342704773, -0.6001984477043152, -0.6938377022743225, -0.03864043205976486, -0.12293243408203125, -0.4670262336730957, -0.7208449840545654, 0.07825126498937607, -0.18762990832328796, 0.33309945464134216, 0.06533421576023102, 0.26763907074928284, -0.23184658586978912, -0.1733616441488266, -0.7003776431083679, 0.037186142057180405, 0.3080299198627472, -0.1670355349779129, 0.8401355743408203, 0.15228961408138275, -0.7568137645721436, -0.808210551738739, 0.39332830905914307, 0.9259672164916992, -0.19445545971393585, 0.8877144455909729, 0.34603068232536316, -0.6957257986068726, -0.058252736926078796, -0.9486036896705627, -0.6022047400474548, -0.4678405225276947, 0.15469937026500702, -0.16694413125514984, -0.7138957977294922, 0.6512286067008972, -0.050361115485429764, 0.10892649739980698, 0.06217145174741745, 0.48901239037513733, 0.2672598659992218, 0.84123694896698, 0.6219653487205505, -0.44595959782600403, 0.5775132775306702, 0.09288748353719711, 0.6194955706596375, -0.19121964275836945, -0.3285631537437439, -0.5814411640167236, 0.1012868881225586, -0.5278654098510742, -0.15639464557170868, 0.04419412091374397, -0.25619515776634216, -0.09480810165405273, 0.31932175159454346, -0.1956666260957718, 0.15769697725772858, 0.4966351091861725, 0.11876844614744186, 0.23676668107509613, 0.3428448438644409, -0.053366757929325104, 0.017535677179694176, -0.5032441020011902, -0.5383100509643555, 1.339279294013977, 0.42111650109291077, 0.5336741209030151, 0.4135695993900299, 0.49696236848831177, 0.4457947909832001, 0.3960656523704529, -0.707863986492157, 0.6815081834793091, 0.22964729368686676, -0.8010181188583374, -0.27621957659721375, -0.09067824482917786, -1.0333510637283325, 0.001841553021222353, -0.3222813010215759, -1.156403660774231, -0.28116029500961304, 0.15907292068004608, -0.38969936966896057, 0.46143803000450134, -0.521514892578125, 0.578857958316803, -0.15744344890117645, -0.22400327026844025, -0.48155859112739563, -0.37090057134628296, 0.6436402797698975, -0.7456021904945374, 0.4476538598537445, 0.11126398295164108, 0.22387728095054626, 0.6367120742797852, -0.04296104609966278, 0.9984397888183594, 0.1646767109632492, -0.38809195160865784, 0.0930870994925499, 0.1462768167257309, 1.1321260929107666, -0.41503605246543884, -0.13545049726963043, 0.020724227651953697, -0.36225488781929016, -0.32658079266548157, -0.5887699127197266, 0.5369020104408264, -0.11959631741046906, -0.4869269132614136, -0.45811593532562256, -0.26862189173698425, -0.08783520013093948, 0.2041788101196289, 0.1825007051229477, 0.3942541480064392, -0.3802128732204437, 0.4014669954776764, 0.8228194713592529, -0.27936962246894836, 0.36923348903656006, 0.7022066712379456, -0.12064249068498611, -0.2510336637496948, 0.7533514499664307, -0.11348061263561249, 0.17060965299606323, 0.30463966727256775, 0.22702349722385406, -0.003442638088017702, -0.7914442420005798, 0.020053889602422714, 0.4487200975418091, -0.5250604152679443, -0.07745731621980667, -0.41255125403404236, -0.29963529109954834, -0.6410127878189087, -0.18736915290355682, -0.027272963896393776, -0.05190754681825638, 0.14186374843120575, 0.06484372168779373, 0.2869851887226105, 0.7156883478164673, 0.33476489782333374, 0.676068127155304, -0.6441298127174377, 0.11868199706077576, 0.32585057616233826, 0.1436191350221634, 0.3006753921508789, -0.6887080669403076, -0.09558860212564468, -0.05917888879776001, 0.08563501387834549, -1.2578340768814087, 0.14563919603824615, -0.38690346479415894, 0.602466881275177, 0.5115323662757874, -0.1527842879295349, 0.31512007117271423, -0.2747761011123657, 0.6647993922233582, 0.3080540895462036, -0.7166310548782349, 0.44441843032836914, -0.7368022799491882, 0.10665763169527054, 0.20630088448524475, 0.5546958446502686, -0.7733968496322632, -0.37279507517814636, -0.8353531360626221, -0.4985167384147644, 0.41014137864112854, 0.45554211735725403, 0.12356860190629959, 0.1682371348142624, 0.17507877945899963, -0.03620056435465813, 0.15340815484523773, -1.1357553005218506, -0.14176775515079498, 0.4968888461589813, -0.20136119425296783, 0.16518719494342804, -0.5820173621177673, 0.03593122214078903, 0.2292388379573822, 0.5913339853286743, 0.3056644797325134, 0.12725991010665894, -0.5034018158912659, -0.018034571781754494, 0.07927874475717545, 0.36568698287010193, 0.6630356907844543, 0.6666749715805054, 0.18035408854484558, 0.05745043605566025, 0.23158986866474152, -0.8122968077659607, 0.1948988288640976, -0.021904777735471725, -0.19302479922771454, -0.15305805206298828, 0.6614412665367126, 0.242050901055336, 0.36466753482818604, -0.6906934976577759, 0.6699258685112, -0.013745991513133049, 0.09617619961500168, -0.5151956081390381, 0.11502034962177277, 0.04344125837087631, 0.24659936130046844, 0.3742126524448395, -0.3815334737300873, 0.20399001240730286, -0.33905187249183655, -0.15341800451278687, 0.7427724003791809, -0.12830057740211487, -0.2918158173561096, 0.1776171773672104, 0.3643732964992523, -0.8050779104232788, 0.6517266035079956, 0.08002420514822006, -0.6299988627433777, 0.48119890689849854, 0.7055975794792175, 0.9620563983917236, -0.7541555762290955, 0.18856780230998993, 0.24138619005680084, 0.6077430248260498, -0.4015709459781647, 0.08195190131664276, 0.035617973655462265, -0.5456161499023438, -0.12168485671281815, -0.5056116580963135, -0.3165886700153351, 0.5450831055641174, -0.49309104681015015, 0.3551132380962372, -0.4189265966415405, -0.2889257073402405, 0.29386845231056213, -0.24662211537361145, -0.6868211627006531, -0.04330478236079216, 0.24319115281105042, 1.0919767618179321, -0.9381447434425354, 0.5881741642951965, 0.3637225925922394, -0.071393221616745, -0.8306986689567566, 0.1275361180305481, 0.652525007724762, -0.6957511901855469, 0.42512327432632446, 0.19252416491508484, -0.1403951346874237, 0.03878530487418175, -0.6436687111854553, -0.7181926369667053, 0.763518750667572, 0.42292481660842896, -0.6551792025566101, 0.050441719591617584, 0.4772953391075134, 0.47646811604499817, -0.29558229446411133, 0.2554531693458557, 0.5994203686714172, 0.4761940836906433, -0.08207216113805771, -1.1823444366455078, -0.03814645856618881, -0.3601609766483307, -0.17035987973213196, 0.23556338250637054, -0.5340666174888611, 0.5862407088279724, 0.24052686989307404, -0.030878862366080284, -0.01570775732398033, 0.3963989317417145, 0.6501616835594177, 0.09267614781856537, 0.4280047118663788, 0.23133450746536255, 0.7788148522377014, 0.11809710413217545, 0.8583482503890991, -0.40919050574302673, 0.25411444902420044, 0.680424690246582, -0.09368764609098434, 0.8137490153312683, 0.390374094247818, -0.15477871894836426, 0.26639577746391296, 0.6543840169906616, -0.08756591379642487, 0.24247340857982635, 0.6198063492774963, -0.3619369864463806, -0.1570235639810562, 0.10027502477169037, -0.26375076174736023, 0.6534669995307922, 0.33541765809059143, -0.5737019777297974, -0.03414471819996834, 0.058744873851537704, 0.41491109132766724, -0.18491920828819275, -0.17659147083759308, 0.42391860485076904, 0.04346645250916481, -0.637914776802063, 0.3144592344760895, 0.17233964800834656, 0.791674792766571, -0.7206478118896484, 0.21507246792316437, -0.10415277630090714, 0.20267251133918762, 0.0007657530368305743, -0.21435043215751648, -0.19524575769901276, 0.31295058131217957, 0.20982792973518372, 0.08946231752634048, 0.799592137336731, -0.08809228241443634, -0.6527530550956726, 0.06513269245624542, 0.11406442523002625, 0.30462178587913513, -0.33912453055381775, -0.7291889786720276, 0.18808208405971527, -0.03815180063247681, -0.44954490661621094, 0.31346607208251953, 0.45411214232444763, 0.06643564999103546, 0.9699724912643433, 0.6226165890693665, 0.15113086998462677, -0.14285781979560852, -0.1005159541964531, 0.5357526540756226, -0.6346754431724548, -0.5253544449806213, -1.236507773399353, 0.3996984362602234, -0.5614556074142456, -0.040437158197164536, 1.1257004737854004, 0.6570528745651245, 0.661550760269165, -0.06239334121346474, 0.7879897952079773, 0.25699156522750854, 0.3273729979991913, -0.24492399394512177, 0.42433661222457886, -0.11329960823059082, 0.5030120015144348, -0.563033401966095, -0.917874276638031, -0.2351093292236328, 0.45630520582199097, -0.5664168000221252, 0.2612268328666687, 0.5564636588096619, 0.7513811588287354, -0.19401651620864868, 0.34445375204086304, 0.28243452310562134, -0.02322787046432495, 0.3728129267692566, 0.46057605743408203, 0.8764203786849976, -0.33144500851631165, 0.5949498414993286, -0.15615658462047577, -0.43720367550849915, -0.6367532014846802, -0.7660676836967468, -1.1942123174667358, -0.2689042389392853, -0.14617177844047546, -0.33586087822914124, -0.04157032072544098, 0.7735938429832458, 0.6019211411476135, -0.7856632471084595, -0.35273006558418274, 0.23982398211956024, -0.3469804525375366, 0.2606964707374573, -0.13344907760620117, -0.04627418518066406, 0.12610085308551788, -0.4505707025527954, 0.1541784703731537, 0.48342037200927734, 0.4067963659763336, -0.5452589392662048, 0.34274762868881226, -0.022379448637366295, 0.6413307189941406, 0.5518213510513306, 0.22341138124465942, -0.9554029107093811, -0.23910708725452423, 0.3243906795978546, -0.41711798310279846, -0.3641543984413147, 1.0358046293258667, -0.15386070311069489, 0.11601025611162186, 0.4937567412853241, 0.5287317037582397, 0.380068302154541, -0.2003457099199295, 0.644444465637207, -0.015603950247168541, 0.051923830062150955, 0.22112369537353516, 0.32217931747436523, 0.24866342544555664, -0.3553451895713806, 0.4170117676258087, 0.1707414984703064, -0.4564739465713501, -0.8046813607215881, -0.0061135319992899895, -0.7047376036643982, -0.2651097774505615, 1.2268688678741455, -0.1506837159395218, -0.07955970615148544, -0.28987500071525574, -0.00822385773062706, -0.15708836913108826, -0.2670312821865082, 1.23567795753479, 1.1074273586273193, 0.29399341344833374, 0.006166400387883186, -0.7439984083175659, 0.4933379292488098, 0.107345350086689, -0.8935333490371704, 0.06636463105678558, 0.4946715533733368, 0.19475458562374115, 0.1968654841184616, 0.6973263621330261, -0.030278582125902176, 0.3911135494709015, -0.18058821558952332, -0.3831009566783905, 0.4176505208015442, -0.11199381947517395, -0.3747735917568207, 0.5019398331642151, -0.08460438251495361, 0.2390996366739273 ]
http://arxiv.org/abs/2405.02326v1
http://arxiv.org/pdf/2405.02326v1
Evaluating LLMs for Hardware Design and Test
2024-04-23T18:55:49
2024-04-23T18:55:49
Jason Blocklove, Siddharth Garg, Ramesh Karri, Hammond Pearce
cs.AR
cs.AR, cs.AI, cs.CL, cs.LG, cs.PL
Large Language Models (LLMs) have demonstrated capabilities for producing code in Hardware Description Languages (HDLs). However, most of the focus remains on their abilities to write functional code, not test code. The hardware design process consists of both design and test, and so eschewing validation and verification leaves considerable potential benefit unexplored, given that a design and test framework may allow for progress towards full automation of the digital design pipeline. In this work, we perform one of the first studies exploring how a LLM can both design and test hardware modules from provided specifications. Using a suite of 8 representative benchmarks, we examined the capabilities and limitations of the state-of-the-art conversational LLMs when producing Verilog for functional and verification purposes. We taped out the benchmarks on a Skywater 130nm shuttle and received the functional chip.
[ -0.5740382075309753, -0.9393957257270813, 0.6459428071975708, 0.29147836565971375, -0.4364042282104492, 0.07245286554098129, -0.17891362309455872, -0.6303709149360657, -0.2298826426267624, 0.6250676512718201, -0.6655300259590149, -0.29770907759666443, -0.06738486140966415, 0.25911930203437805, -0.2455032467842102, 0.6378157138824463, -0.5908429026603699, -0.23293526470661163, -0.3728589713573456, 0.06678610295057297, -0.5082213878631592, -0.7552933096885681, -0.326423704624176, -0.28734925389289856, 0.2121734470129013, -0.011173112317919731, 0.29825359582901, 0.4518987536430359, 0.6766498684883118, 0.3074783682823181, -0.21448951959609985, 0.13763859868049622, -0.20777946710586548, 0.19135934114456177, 0.3298652768135071, -0.35939908027648926, -0.5965390205383301, -0.2742573618888855, 0.6138024926185608, 0.5260790586471558, 0.15180069208145142, 0.6706377863883972, 0.20824699103832245, 0.3745657503604889, -0.36183273792266846, 0.26657113432884216, -0.5333539843559265, 0.25081539154052734, -0.23813089728355408, -0.42638158798217773, -0.640953540802002, -0.3360031247138977, -0.3127458989620209, -0.26882338523864746, -0.23952969908714294, 0.4685700237751007, 0.8411158323287964, 0.24729815125465393, -0.5285848379135132, -0.2529049515724182, -0.9159970879554749, 0.9557719230651855, -0.7070984244346619, 0.6590612530708313, 0.2529052197933197, 0.4254207909107208, -0.21070736646652222, -0.5659034252166748, -0.2400789111852646, -0.6517532467842102, -0.02025158889591694, -0.13026955723762512, -0.13526834547519684, 0.18148374557495117, 0.5491009950637817, 0.6586080193519592, -0.6560180187225342, 0.12850996851921082, -0.6736728549003601, -0.35190877318382263, 0.4466765224933624, 0.2935309112071991, 0.12490304559469223, -0.14868642389774323, -0.7168437838554382, 0.14536842703819275, -1.1509006023406982, -0.1185922920703888, 0.5140914916992188, 0.24406500160694122, -0.03106779232621193, 0.808295488357544, -0.19578537344932556, 0.7953442931175232, -0.5289325714111328, 0.05929870158433914, 0.22772668302059174, -0.4857443571090698, -0.6066779494285583, -0.05687178671360016, 0.5867474675178528, 0.2706662714481354, -0.045291468501091, -0.07563386857509613, -0.6482958793640137, 0.008789842016994953, 0.4637225270271301, -0.9704496264457703, 0.3169601261615753, 0.33046063780784607, -0.45147043466567993, -0.2899552285671234, -0.3014404773712158, -0.40023550391197205, -0.27225786447525024, -0.4139038920402527, 0.6107869744300842, -0.014055154286324978, -0.1451473832130432, 0.21431568264961243, -0.11316073685884476, 0.3896840512752533, -0.056211575865745544, -0.7247868776321411, 0.42578640580177307, 0.9172938466072083, 0.5822438597679138, -0.15055185556411743, -0.03239458426833153, -0.30349746346473694, -0.08215919137001038, -0.3988398015499115, 0.6243670582771301, -0.06943237036466599, -0.6195802688598633, 0.13031980395317078, -0.020603325217962265, 0.35419028997421265, -0.9071472883224487, 0.32596299052238464, -0.7678309082984924, -0.3651381731033325, -0.3389469385147095, -0.4159899055957794, 0.07466758042573929, 0.5322611927986145, -0.4758130609989166, 0.964108943939209, 0.28085798025131226, -0.4117364287376404, 0.3494996428489685, -0.27494215965270996, -0.8420305848121643, 0.05466949939727783, -0.595933198928833, -0.28727245330810547, 0.3471005856990814, -0.3906363546848297, 0.13860037922859192, -0.4798867106437683, 0.29173386096954346, -0.6185553669929504, -0.7809881567955017, 0.6830636858940125, -0.41426458954811096, 0.5137627124786377, 0.10163901746273041, -0.5361177325248718, -0.13721127808094025, -0.7335009574890137, 0.1240774393081665, -0.2796638309955597, -0.8471938967704773, 0.12849082052707672, 0.09475313872098923, 0.07771027833223343, -0.025467311963438988, 0.18974223732948303, -0.8644912838935852, -0.05372046306729317, -0.31839603185653687, 0.47121214866638184, 0.9432262182235718, -0.3511391878128052, -0.17347028851509094, -0.482626348733902, 0.6787852644920349, -0.3714727461338043, 0.3411251902580261, -0.19241757690906525, -0.5090984106063843, -0.8001595735549927, -0.26567959785461426, 0.09008947759866714, 0.4284760653972626, -0.4041432738304138, 0.4230559170246124, 0.09108927845954895, -0.0976165160536766, -0.32249295711517334, 0.2711533308029175, 0.5288967490196228, 0.44708749651908875, 0.06802377849817276, -0.33890482783317566, -0.8354011178016663, -1.1566195487976074, 0.18911944329738617, -0.40994325280189514, -0.43564075231552124, 0.619385302066803, 0.27354034781455994, -0.21285106241703033, 0.48517000675201416, -0.4104289710521698, 0.09163061529397964, -0.20679813623428345, -0.18069730699062347, 0.47955724596977234, 0.14640283584594727, 0.3398725092411041, -0.24729935824871063, -0.1247759461402893, 0.4505009055137634, -0.8154406547546387, -0.12705959379673004, 0.3556172251701355, 0.07588181644678116, 0.449123740196228, 0.5618385076522827, -0.6268553137779236, 0.5443628430366516, 0.49605950713157654, 0.05069476366043091, 0.7013558745384216, -0.3548746109008789, 0.47973111271858215, -0.7000993490219116, 0.1944146305322647, -0.2018497884273529, -0.06188986450433731, -0.29330986738204956, -0.019635165110230446, -0.03554925695061684, -0.21074894070625305, -0.47975388169288635, 0.6288268566131592, -0.2802560031414032, -0.6655976176261902, -0.4701952636241913, -0.13288243114948273, -0.00010515188478166237, 0.19976919889450073, -0.2590188980102539, 0.8654954433441162, 0.36612963676452637, -0.9067057967185974, 0.24675080180168152, -0.15207453072071075, -0.5718653798103333, 0.6515758633613586, -1.1509850025177002, 0.07419046759605408, 0.05880222097039223, -0.19793276488780975, -1.4993473291397095, -0.01774468459188938, -0.008750726468861103, -0.13689902424812317, 0.13382606208324432, -0.08245362341403961, -0.7026795148849487, -0.6381715536117554, -0.21956291794776917, 0.4685077965259552, 0.7813252210617065, -0.43324267864227295, 0.5618398785591125, 0.5161358118057251, -0.14509256184101105, -0.05909135937690735, -0.9667299389839172, -0.17412391304969788, -0.19670279324054718, -0.787241518497467, 0.4604347050189972, -0.39381682872772217, -0.41466566920280457, -0.3975073993206024, -0.21267017722129822, -0.22330518066883087, 0.4403478503227234, 0.46250098943710327, 0.7299504280090332, -0.6457091569900513, 0.19169627130031586, -0.07160274684429169, -0.2175384908914566, 0.28544437885284424, -0.09834733605384827, 0.5285566449165344, -0.3464239835739136, -0.6409493088722229, -0.5453799962997437, 0.16604116559028625, 0.4466524124145508, -0.0012105440255254507, -0.08403423428535461, 0.28193846344947815, -0.2813801169395447, -0.5283243060112, -0.5493609309196472, -0.24172891676425934, -0.6457470655441284, 0.4485699236392975, -0.5625239610671997, -1.0379242897033691, 0.37848520278930664, 0.018614361062645912, 0.3115887939929962, -0.02320563979446888, 0.5221884846687317, -0.12400256842374802, 0.6658523678779602, 0.5342525839805603, 0.15918730199337006, 0.02795577608048916, 0.2205733060836792, 0.46271610260009766, -0.8832240700721741, 0.11020437628030777, -0.6377236843109131, -0.4278109073638916, -0.5780196785926819, -0.29044103622436523, 0.2894694209098816, -0.5272718667984009, -0.37065595388412476, 0.3947228789329529, -0.42364418506622314, 0.49396535754203796, 0.26195433735847473, 0.13152778148651123, 0.26007866859436035, 0.1648591309785843, -0.2323860079050064, -0.13050688803195953, -0.20702317357063293, -0.7150166630744934, 1.1490274667739868, 0.36542293429374695, 0.8685396313667297, -0.013204455375671387, 0.5046934485435486, 0.33361950516700745, 0.4401734471321106, -0.7645100355148315, 0.7960048913955688, -0.28882738947868347, -0.7624513506889343, 0.04765552654862404, -0.3998582065105438, -0.7684717774391174, 0.005896951537579298, 0.5471482872962952, -0.6973637342453003, -0.19615155458450317, 0.1500832587480545, -0.4869738221168518, 0.15908414125442505, -0.383828729391098, 0.6603924036026001, -0.57001793384552, -0.22952722012996674, -0.21738608181476593, -0.09021306782960892, 0.6516190767288208, -0.01833439990878105, 0.2645811140537262, -0.04348571226000786, -0.021344732493162155, 0.528598427772522, -0.1448349952697754, 0.7645898461341858, 0.28847765922546387, -0.14072948694229126, 0.2129482626914978, 0.26953592896461487, -0.2093486189842224, 0.06685606390237808, -0.37700140476226807, -0.22865061461925507, 0.09791575372219086, -0.10406224429607391, -0.19210942089557648, 0.79158616065979, -0.6244524121284485, -0.7217699885368347, 0.014309709891676903, -0.3344690799713135, -0.40434741973876953, 0.08499077707529068, -0.3739684224128723, 0.7392674684524536, -0.19417892396450043, 0.3465895354747772, 0.7712512016296387, -0.44246894121170044, 0.32789766788482666, 0.39108824729919434, -0.5922116637229919, -0.4518759846687317, 0.7693995833396912, -0.16901832818984985, 0.49296921491622925, 0.17535720765590668, 0.20143398642539978, -0.2276044636964798, -0.5892680287361145, -0.464374303817749, 0.18987920880317688, -0.7786653637886047, -0.045470017939805984, -0.0850214883685112, -0.48607155680656433, -0.08641223609447479, -0.09905824065208435, -0.5434191823005676, -0.14915233850479126, -0.2459387183189392, -0.07491609454154968, 0.017754148691892624, 1.1294217109680176, 0.36825302243232727, 0.0745045468211174, -0.4652077853679657, 0.1842692792415619, 0.3276706635951996, 0.42199867963790894, -0.10769183933734894, -0.7314383387565613, 0.11883065104484558, -0.1755698025226593, -0.466266006231308, -0.39641323685646057, -0.07382049411535263, -0.19177182018756866, 0.9016302824020386, 0.12533226609230042, -0.14872421324253082, 0.6248253583908081, -0.2817634046077728, 0.6789100170135498, -0.17307566106319427, -0.8670120239257812, 0.49362942576408386, -0.10615313053131104, 0.16041457653045654, 0.4307910203933716, 0.1528109610080719, -0.21511869132518768, -0.09685292840003967, -0.3207402527332306, -0.4227520525455475, 0.28399208188056946, -0.0107988640666008, 0.3447498679161072, 0.18840523064136505, 0.413950115442276, 0.18458101153373718, 0.4331803619861603, -0.5094504356384277, -0.17174044251441956, 0.34838682413101196, -0.02916548401117325, 0.15890012681484222, -0.28205418586730957, -0.18259158730506897, 0.009460985660552979, 0.4835146367549896, -0.005970728117972612, 0.40899407863616943, 0.06133601441979408, 0.06546060740947723, 0.19645772874355316, 0.1930769830942154, 0.8442947268486023, 0.7961727380752563, -0.31225547194480896, 0.3091704249382019, 0.06450358033180237, -0.13442692160606384, 0.27242526412010193, 0.02786107547581196, -0.19125622510910034, 0.09957823902368546, 0.13524356484413147, 0.7241941690444946, 0.5683289170265198, -0.6937273144721985, 0.18880417943000793, -0.30705997347831726, -0.4683266878128052, 0.05285359546542168, 0.07140445709228516, 0.14684583246707916, 0.23694083094596863, 0.08583036810159683, -0.3806210160255432, -0.022315645590424538, -0.6357918381690979, 0.5209208130836487, 0.6322471499443054, -0.27211397886276245, -0.4821048974990845, 0.6222828030586243, 0.18536725640296936, -0.46408742666244507, 0.7032538056373596, -0.2316455841064453, -0.27825722098350525, 0.8655306100845337, 0.6302409768104553, 0.822944164276123, 0.18702197074890137, 0.09244196861982346, 0.2571299076080322, 0.699600875377655, 0.368533194065094, 0.6726573705673218, -0.2598511576652527, -0.30896446108818054, -0.39907148480415344, -0.8854213953018188, -0.6146513223648071, 0.09496151655912399, -0.4056377708911896, 0.4581197500228882, -0.8776911497116089, -0.5136500597000122, -0.08551697432994843, 0.020342569798231125, -0.6430591344833374, -0.015027711167931557, 0.35808300971984863, 0.8865487575531006, -0.5135416984558105, 0.5951555371284485, 0.5811229944229126, -0.029937049373984337, -0.6061257123947144, -0.48703980445861816, -0.0596030056476593, -0.9596187472343445, 1.0136183500289917, 0.3813600540161133, 0.048499081283807755, -0.28258082270622253, -0.020772697404026985, -0.6758387684822083, 1.1788287162780762, 0.46695923805236816, -0.4315844178199768, 0.48153242468833923, 0.5042552947998047, 0.4388188123703003, -0.3249557316303253, 0.45173925161361694, 0.37350431084632874, 0.4769110679626465, 0.29668912291526794, -1.1003845930099487, 0.18151134252548218, -0.08135399222373962, 0.11727886646986008, 0.06334107369184494, -0.6033940315246582, 1.0204136371612549, -0.0048104845918715, -0.1478220373392105, 0.2665776014328003, 0.4529946744441986, 0.7864558100700378, 0.11860153079032898, 0.3595605790615082, 0.24431529641151428, 0.7362119555473328, -0.13031063973903656, 1.0950236320495605, -0.4348503351211548, 0.07843998819589615, 0.7893345952033997, -0.8836488723754883, 1.0606578588485718, 0.733073890209198, -0.510947048664093, 0.13502506911754608, 0.6191738843917847, -0.06882541626691818, 0.16580085456371307, 0.8787865042686462, -0.42409366369247437, -0.25864237546920776, -0.09433666616678238, -0.3607988655567169, 0.11300558596849442, 0.04247845709323883, -0.3329443633556366, -0.10207077860832214, -0.13192547857761383, -0.005052997265011072, -0.36707618832588196, -0.05734102055430412, 0.2865237295627594, 0.19890627264976501, -0.6798205375671387, 0.6591092348098755, -0.06378325819969177, 0.5553416013717651, -0.4845771789550781, 0.17412376403808594, -0.35323140025138855, 0.5322009921073914, 0.07407314330339432, -0.7659391164779663, 0.49758073687553406, -0.12121075391769409, 0.16077786684036255, -0.39738696813583374, 0.8205838203430176, 0.14262008666992188, -0.5591035485267639, 0.16042956709861755, 0.20005039870738983, 0.34756946563720703, 0.2056000679731369, -0.3240475058555603, 1.0557712316513062, -0.08219122886657715, -0.2426408976316452, 0.43838709592819214, -0.00834453385323286, 0.2541698217391968, 0.8157220482826233, 0.4948776960372925, 0.07967185229063034, 0.12066854536533356, 0.002785904798656702, 0.9011694192886353, -0.6105523109436035, -0.061954472213983536, -0.9657467007637024, 0.46039438247680664, 0.10657209903001785, -0.46880415081977844, 0.8197944164276123, 0.7953584790229797, 0.7446838021278381, -0.19696415960788727, 0.8892756104469299, 0.058040767908096313, -0.21875931322574615, -0.5538205504417419, 0.34653523564338684, -0.4478137195110321, 0.5023233294487, 0.20597076416015625, -0.5804505944252014, -0.25536778569221497, 0.34812143445014954, 0.06503606587648392, 0.020115764811635017, 0.8134347796440125, 1.125081181526184, -0.09484203159809113, 0.20679229497909546, 0.4666129946708679, 0.19905295968055725, 0.6019504070281982, 0.7511810064315796, 1.210096001625061, -0.5289742946624756, 0.6562725305557251, -0.2275703251361847, -0.3085644543170929, -0.14709404110908508, -1.0185819864273071, -1.1911312341690063, -0.14954052865505219, -0.40822833776474, -0.15105962753295898, 0.04626128077507019, 0.24120792746543884, 0.7252597808837891, -0.4955345094203949, -0.820682168006897, 0.003256153780966997, 0.26603269577026367, 0.04291943460702896, -0.08056870102882385, -0.07453053444623947, -0.3646141290664673, -0.27303311228752136, 0.5340748429298401, 0.6354115605354309, 0.15727193653583527, -0.7948789596557617, -0.008234917186200619, 0.34592896699905396, 0.19544515013694763, 0.6802834868431091, 0.07785622030496597, -0.6816729307174683, -0.25410738587379456, 0.4619569778442383, -0.137850821018219, -0.025316134095191956, 0.8222097754478455, -0.6314388513565063, 0.2182149440050125, 0.703782856464386, 0.8331813812255859, 0.3546537160873413, -0.35660967230796814, 0.7318307757377625, -0.3499022126197815, -0.16314564645290375, -0.17333002388477325, 0.45137837529182434, 0.17355990409851074, -0.06644387543201447, 0.07886652648448944, 0.1150294616818428, -0.9221729636192322, -1.1961342096328735, 0.20605914294719696, -0.9704496264457703, 0.09887886047363281, 1.2676037549972534, -0.19373469054698944, -0.6367117166519165, -0.01970203034579754, -0.31192153692245483, -0.2793245315551758, 0.2721095681190491, 0.6941779255867004, 0.7976915836334229, -0.10059141367673874, 0.252284437417984, -0.9013957977294922, 0.21599476039409637, 0.17322884500026703, -1.0303038358688354, 0.27370744943618774, 0.2796250581741333, 0.3108147978782654, -0.045083820819854736, 0.5746356844902039, -0.15278834104537964, 0.4268796443939209, 0.007676186040043831, -0.03600345179438591, -0.13437773287296295, -0.15952882170677185, -0.16174881160259247, 0.21675996482372284, 0.3838194012641907, -0.28548574447631836 ]
http://arxiv.org/abs/2405.03695v1
http://arxiv.org/pdf/2405.03695v1
Evaluating Large Language Models for Material Selection
2024-04-23T18:53:33
2024-04-23T18:53:33
Daniele Grandi, Yash Patawari Jain, Allin Groom, Brandon Cramer, Christopher McComb
cs.CL
cs.CL
Material selection is a crucial step in conceptual design due to its significant impact on the functionality, aesthetics, manufacturability, and sustainability impact of the final product. This study investigates the use of Large Language Models (LLMs) for material selection in the product design process and compares the performance of LLMs against expert choices for various design scenarios. By collecting a dataset of expert material preferences, the study provides a basis for evaluating how well LLMs can align with expert recommendations through prompt engineering and hyperparameter tuning. The divergence between LLM and expert recommendations is measured across different model configurations, prompt strategies, and temperature settings. This approach allows for a detailed analysis of factors influencing the LLMs' effectiveness in recommending materials. The results from this study highlight two failure modes, and identify parallel prompting as a useful prompt-engineering method when using LLMs for material selection. The findings further suggest that, while LLMs can provide valuable assistance, their recommendations often vary significantly from those of human experts. This discrepancy underscores the need for further research into how LLMs can be better tailored to replicate expert decision-making in material selection. This work contributes to the growing body of knowledge on how LLMs can be integrated into the design process, offering insights into their current limitations and potential for future improvements.
[ -0.7583554983139038, -0.6934742331504822, 0.8628724217414856, 0.32188552618026733, -0.4558495283126831, 0.2512761652469635, -0.4703027606010437, -0.4050609767436981, 0.10985101014375687, 0.1526438444852829, -0.44448134303092957, -0.3524746894836426, -0.21587596833705902, 0.40757399797439575, 0.03580600023269653, 0.5612753033638, -0.5343212485313416, 0.31248074769973755, -0.2813981771469116, 0.07094059884548187, -0.9731979370117188, -0.15242046117782593, -0.6880678534507751, -0.5367109179496765, 0.7425845861434937, 0.3571757674217224, 0.8959081768989563, 0.4111807346343994, 0.347856730222702, 0.3485628366470337, -0.3696374297142029, 0.24778996407985687, -0.23906309902668, 0.20205146074295044, -0.39455756545066833, -0.3733583092689514, -0.4529969394207001, 0.11225682497024536, 0.2653011381626129, 0.5498523116111755, 0.05290545895695686, 0.25976207852363586, 0.26144352555274963, 0.5499119162559509, -0.5528125166893005, 0.05803665891289711, -0.4806029796600342, 0.32503318786621094, -0.2095065414905548, -0.2998986840248108, -0.5259292125701904, -0.122243732213974, 0.14325208961963654, -0.3925725519657135, 0.05216911435127258, 0.575343668460846, 0.5465412139892578, 0.04828581213951111, 0.01812828704714775, -0.38782089948654175, -0.7906023263931274, 1.0166456699371338, -0.7449977993965149, 0.7389107942581177, 0.4987007975578308, 0.2106887251138687, -0.2476034313440323, -0.20607143640518188, -0.4722970128059387, -0.6160297393798828, -0.07901625335216522, 0.09408483654260635, 0.6068934202194214, 0.24653935432434082, 0.23419654369354248, 0.4738125503063202, -0.7294096946716309, 0.4859308898448944, -0.26348480582237244, -0.27585092186927795, 0.46051374077796936, 0.30071982741355896, 0.1935196965932846, -0.17644810676574707, -0.46475109457969666, -0.04183703288435936, -0.5120964646339417, -0.3874610960483551, 0.32792675495147705, 0.39339593052864075, -0.01877375692129135, 0.5712230205535889, -0.1973855048418045, 0.82837975025177, -0.33441901206970215, -0.25447243452072144, 0.24508583545684814, -0.40989089012145996, -0.24100571870803833, -0.1436026692390442, 0.9029703140258789, 0.5573015213012695, 0.27466410398483276, -0.013286605477333069, -0.4672432541847229, -0.4667184352874756, 0.023426663130521774, -0.7786380052566528, 0.14291535317897797, 0.18209761381149292, -0.6811923980712891, 0.018736718222498894, -0.12037217617034912, -0.7323459386825562, -0.62511146068573, -0.6491795778274536, 0.11218332499265671, 0.14629654586315155, -0.3547350764274597, 0.5754653811454773, -0.434848815202713, -0.12002136558294296, 0.16900892555713654, -0.9178674817085266, 0.04932806268334389, 0.503909707069397, 1.043444037437439, -0.29514992237091064, -0.2980400621891022, -0.09246335178613663, 0.07330238819122314, -0.6241630911827087, 0.9294416904449463, -0.5729399919509888, -0.8255162835121155, -0.028846055269241333, -0.18347971141338348, 0.08299893885850906, -0.7809929847717285, 0.8890853524208069, -0.5847349166870117, 0.06054800748825073, -0.7118667364120483, -0.18139797449111938, -0.042414452880620956, 0.0462423712015152, -0.7802051901817322, 0.7161616683006287, 0.1829650104045868, -0.7785077095031738, 0.6427816152572632, -0.2587614059448242, -0.2899812161922455, 0.2762741446495056, -0.48434966802597046, -0.3984464108943939, 0.2663130760192871, -0.10321519523859024, 0.580500066280365, -0.9416055083274841, 0.16849364340305328, -0.7436837553977966, -0.24318484961986542, 0.2764669358730316, -0.4053388833999634, 0.2010490447282791, 0.3898046016693115, -0.1593189686536789, 0.06563328206539154, -0.4277819097042084, -0.2083491086959839, 0.2143191397190094, -0.7036397457122803, -0.3200944662094116, 0.13175494968891144, 0.28013259172439575, 0.2952064275741577, 0.2704979479312897, -0.5980128049850464, -0.034978799521923065, -0.10040049999952316, 0.3310266435146332, 1.1406331062316895, -0.12168900668621063, 0.38977569341659546, -0.5171398520469666, 0.5792027115821838, -0.48363086581230164, 0.17731593549251556, -0.007440302520990372, -0.20436991751194, -0.8045164942741394, 0.04005635902285576, 0.236771821975708, 0.3039763271808624, -0.6658631563186646, 0.17444437742233276, 0.31384024024009705, -0.3275648355484009, 0.013571232557296753, 0.4800892770290375, 0.3326622247695923, 0.43008777499198914, 0.09834915399551392, -0.19417357444763184, -0.4972337782382965, -1.0580129623413086, -0.28308042883872986, -0.17902351915836334, -0.0852317065000534, 0.7172631025314331, 0.023217031732201576, 0.05196252092719078, 1.0753999948501587, -0.7801614999771118, -0.026450231671333313, -0.260554701089859, -0.004447228740900755, 0.6039429903030396, 0.18621300160884857, 0.8161037564277649, -0.511417031288147, -0.6433083415031433, 0.22073757648468018, -0.7327327728271484, -0.07469668239355087, -0.15250760316848755, -0.30809372663497925, 0.2726691961288452, 0.46897584199905396, -0.9956353306770325, 0.0006918872823007405, 0.35571610927581787, -0.26710399985313416, 0.8577732443809509, -0.19622507691383362, 0.07628071308135986, -1.0890988111495972, -0.05156444385647774, 0.5430873036384583, 0.25707292556762695, -0.22758130729198456, -0.14521805942058563, 0.003322869073599577, 0.06226484477519989, -0.5072759389877319, 0.8572956323623657, -0.7386748790740967, -0.24151818454265594, -0.26012691855430603, -0.19087015092372894, 0.11885233968496323, 0.2507588267326355, 0.0532657764852047, 0.9321048259735107, 0.28603556752204895, -0.6516044735908508, 0.3850157856941223, 0.3001806139945984, -0.7038953304290771, 0.5767055749893188, -0.9723746180534363, 0.14639310538768768, -0.09747859090566635, 0.031085815280675888, -0.8360630869865417, -0.15815380215644836, 0.12715384364128113, -0.06611906737089157, 0.448908269405365, 0.023719632998108864, -1.0097769498825073, -0.7140699028968811, -0.19504526257514954, 0.2374127358198166, 0.23916904628276825, -0.29562175273895264, 0.6524578332901001, 0.17126061022281647, -0.7554447054862976, -0.1399255096912384, -0.3836723566055298, 0.1010051965713501, -0.4234279990196228, -0.5477140545845032, 0.2006765455007553, -0.875762939453125, -0.37428995966911316, -0.5707134008407593, -0.3913581371307373, 0.18802028894424438, 0.1470077633857727, -0.029666516929864883, 0.5431110262870789, -0.20883341133594513, 0.22488774359226227, 0.09237997978925705, -0.07206883281469345, 0.17335613071918488, -0.043668199330568314, 0.8361877799034119, 0.08902840316295624, -0.28802427649497986, -0.26706716418266296, 0.32691696286201477, 0.7417635321617126, -0.31992587447166443, 0.5203143954277039, 0.28683269023895264, -0.2021462470293045, -0.44128379225730896, -0.8645084500312805, -0.22255562245845795, -0.6339995861053467, 0.46290645003318787, -0.569247841835022, -0.43644240498542786, 0.32180657982826233, 0.024067029356956482, 0.20495767891407013, 0.20792201161384583, 0.7276915311813354, -0.004526034463196993, 1.1860697269439697, 0.5001106262207031, -0.14359335601329803, 0.6227232217788696, -0.0029749551322311163, -0.06348490715026855, -0.8051719069480896, -0.3609068691730499, -0.5756479501724243, -0.23637862503528595, -0.274336576461792, -0.1737244576215744, 0.3533068001270294, -0.3015897870063782, -0.42301198840141296, 0.01915333978831768, -0.30462178587913513, 0.649440586566925, 0.18186527490615845, 0.30056971311569214, 0.2014569640159607, 0.22862426936626434, -0.3557398021221161, 0.20382818579673767, -0.5472670793533325, -0.5691528916358948, 0.7952102422714233, 0.5891187191009521, 1.0579547882080078, -0.24220314621925354, 0.18913650512695312, 0.12987717986106873, -0.12994889914989471, -0.9354745745658875, 0.7339821457862854, -0.0873393565416336, -0.5296304821968079, -0.2575037181377411, -0.09136004745960236, -0.7863779067993164, 0.23758192360401154, -0.18839995563030243, -0.3342576324939728, 0.20598889887332916, -0.21189238131046295, -0.5296865105628967, 0.2189304232597351, -0.5635500550270081, 0.5123904943466187, -0.49746328592300415, -0.37145233154296875, -0.32264062762260437, -0.08109867572784424, 0.015983061864972115, -0.4356887638568878, 0.3359330892562866, -0.30904945731163025, -0.043134648352861404, 0.7898789048194885, 0.01421397365629673, 0.7103910446166992, 0.06705737113952637, -0.31282347440719604, 0.06146909296512604, 0.1893175095319748, 0.32874271273612976, 0.1483318954706192, -0.5805705785751343, -0.06287568807601929, -0.6030911803245544, -0.10900332778692245, -0.4992785155773163, 0.7683929204940796, -0.7597656846046448, -1.0143243074417114, -0.15032929182052612, -0.7319397926330566, -0.48134905099868774, 0.3810931444168091, 0.12048013508319855, 0.33399513363838196, -0.04210929572582245, 0.31538447737693787, 0.7679927349090576, -0.2539496421813965, 0.6439412832260132, 0.549947202205658, -0.09709681570529938, -0.4103038012981415, 0.875690221786499, 0.4178628921508789, 0.19991643726825714, 0.10710551589727402, 0.5769237875938416, -0.3115027844905853, -0.8570945858955383, -0.5938042998313904, 0.31663355231285095, -0.7359627485275269, -0.11846669763326645, -0.5565512180328369, -0.18262875080108643, 0.06831111758947372, -0.2999483644962311, -0.16760008037090302, -0.08107618987560272, -0.5212171673774719, -0.45194149017333984, 0.2828548848628998, 0.8543180227279663, 0.48777562379837036, -0.006464775186032057, -0.6334791779518127, 0.2321322113275528, 0.3487226366996765, 0.7756754159927368, 0.04837507754564285, -0.4459091126918793, -0.3267476558685303, -0.20012736320495605, -0.09941069781780243, -0.6590476036071777, 0.060608457773923874, -0.1455056220293045, 1.0770180225372314, 0.21386048197746277, 0.08823045343160629, 0.18566684424877167, -0.5777756571769714, 0.45995032787323, 0.15227696299552917, -0.447457492351532, 0.36709654331207275, -0.7557377815246582, 0.3439841568470001, 0.45666366815567017, 0.6478664875030518, -0.2995340824127197, 0.022361552342772484, -0.15086321532726288, -0.8202230334281921, 0.6065744757652283, -0.18241557478904724, 0.13078980147838593, 0.05096697434782982, -0.019201871007680893, 0.4800495207309723, 0.1348782628774643, -0.2920791804790497, -0.17543041706085205, 0.28455212712287903, 0.12292534112930298, -0.2711779475212097, -0.5367122888565063, -0.13272033631801605, 0.11660570651292801, 0.38216477632522583, -0.10579086095094681, -0.12639959156513214, -0.20074452459812164, 0.12899576127529144, -0.32264870405197144, 0.22529084980487823, 0.6307187676429749, 0.8851704597473145, -0.20644314587116241, -0.38589605689048767, 0.44531381130218506, -0.14410986006259918, -0.22217020392417908, -0.06612382084131241, -0.04607507213950157, 0.2095932811498642, -0.07651607692241669, 0.9227284789085388, 0.1521187424659729, -0.5001789331436157, 0.01573907397687435, -0.03691965714097023, -0.21019932627677917, -0.10872112959623337, -0.07019927352666855, 0.12888681888580322, 0.32269957661628723, 0.3376193642616272, 0.01846022717654705, 0.21296724677085876, -0.5658130645751953, -0.04710136726498604, 0.5056482553482056, 0.0782899558544159, -0.1444273591041565, 0.5219473838806152, 0.4691370129585266, -0.500974714756012, 0.5110279321670532, 0.23355630040168762, -0.21895554661750793, 0.6466808915138245, 0.4607475996017456, 0.9246285557746887, -0.1415339708328247, 0.30354949831962585, 0.25544822216033936, 0.16952288150787354, -0.2622218132019043, 0.17384308576583862, 0.047615934163331985, -0.6114978790283203, -0.2791200876235962, -0.87753826379776, -0.6014379262924194, 0.00576768396422267, -0.3635893166065216, 0.5436279773712158, -0.656129002571106, -0.3990568518638611, -0.10280392318964005, -0.004622072447091341, -0.7134346961975098, 0.35525116324424744, 0.4550909698009491, 1.040977954864502, -0.9100422263145447, 0.3105783462524414, 0.7026711106300354, -0.460262268781662, -0.692030668258667, -0.09396129846572876, 0.10979173332452774, -0.7724339365959167, 0.7093692421913147, -0.05278840288519859, -0.03490927070379257, -0.43291977047920227, -0.19502246379852295, -1.02802312374115, 1.2009440660476685, 0.49834805727005005, -0.5414816737174988, -0.14438606798648834, 0.2051849663257599, 0.2651245594024658, -0.1636149138212204, 0.7142492532730103, 0.5165743827819824, 0.6027133464813232, 0.41302791237831116, -1.2874113321304321, 0.23401948809623718, -0.16309136152267456, 0.30215173959732056, 0.200605571269989, -1.2040551900863647, 0.8469200730323792, 0.07652273029088974, -0.08315443992614746, 0.20916825532913208, 0.52897709608078, 0.8180770874023438, 0.28786349296569824, 0.6051672697067261, 0.2273087352514267, 0.6399338841438293, 0.3597700595855713, 0.9313017129898071, -0.28513458371162415, 0.006567755248397589, 0.7184876799583435, -0.35981929302215576, 0.8338464498519897, 0.4204167127609253, -0.2662859857082367, 0.38919001817703247, 0.9845777750015259, -0.017032789066433907, 0.3295542895793915, 0.26729506254196167, -0.1532066911458969, -0.34922564029693604, -0.4266289472579956, -0.6121677160263062, 0.16294927895069122, 0.4641150236129761, -0.3724110424518585, -0.11480710655450821, -0.09212961792945862, -0.017879240214824677, -0.2590966522693634, -0.3177688717842102, 0.5414825677871704, 0.3649865984916687, -0.6121037602424622, 0.6241300702095032, -0.1561334878206253, 0.6244421601295471, -0.37312716245651245, 0.11518117785453796, -0.4266340732574463, -0.05153690278530121, -0.3888080418109894, -1.0246940851211548, -0.1066698506474495, -0.33390533924102783, -0.405268132686615, -0.40042489767074585, 0.7096698880195618, -0.03943663090467453, -0.4376409351825714, 0.2699112296104431, 0.48952463269233704, -0.04835837706923485, -0.020594753324985504, -0.6426544785499573, 0.5045793056488037, -0.15797853469848633, -0.5911128520965576, 0.48840609192848206, 0.2607942521572113, -0.09268633276224136, 0.7387325763702393, 0.8069029450416565, 0.0799969732761383, -0.3967544436454773, 0.2752094864845276, 1.077519178390503, -0.5596573948860168, -0.25505074858665466, -0.8141440749168396, 0.5852404832839966, -0.14025984704494476, -0.3187169134616852, 0.7778052687644958, 0.7065728306770325, 0.8513692021369934, -0.17953549325466156, 0.8720777034759521, 0.36291736364364624, 0.3236699402332306, -0.8812580704689026, 0.7077605128288269, -0.35638925433158875, 0.49796974658966064, -0.3585781455039978, -1.445412278175354, -0.10343274474143982, 0.36451736092567444, -0.23769788444042206, 0.3979693353176117, 0.7803974151611328, 0.8617963194847107, 0.02699359692633152, 0.08402486145496368, 0.3850015699863434, 0.23584230244159698, 0.1391562670469284, 0.19019803404808044, 1.0594879388809204, 0.26843738555908203, 0.31782612204551697, 0.12806729972362518, -0.17887648940086365, -0.24580435454845428, -0.8142586350440979, -1.1704320907592773, -0.38728067278862, -0.13466456532478333, -0.06700558215379715, -0.014630618505179882, 1.1069493293762207, 0.8284736275672913, -0.44335639476776123, -0.5689504742622375, 0.023428572341799736, 0.1312485635280609, 0.372889906167984, -0.101376473903656, 0.08949445188045502, -0.3314782679080963, -0.7699925899505615, 0.616317868232727, 0.26311758160591125, 0.09033770114183426, -0.3532395660877228, -0.17604191601276398, 0.24342340230941772, 0.35159820318222046, 0.7836751341819763, 0.12743428349494934, -0.7131708860397339, 0.07025033235549927, 0.19306129217147827, 0.018595874309539795, -0.030625153332948685, 0.8173620104789734, -0.5421010255813599, 0.3279890716075897, 0.9746416807174683, 0.6233716607093811, 0.208131343126297, -0.35981836915016174, 0.9153146147727966, -0.24087537825107574, -0.045035991817712784, 0.08187182992696762, 0.7547586560249329, 0.16846193373203278, -0.26292985677719116, 0.3304605484008789, 0.019467122852802277, -0.8144330382347107, -0.7352052927017212, 0.3567971885204315, -0.8846968412399292, -0.44117891788482666, 1.7106153964996338, 0.298845112323761, -0.15683552622795105, -0.20259593427181244, -0.7014517188072205, -0.14225447177886963, -0.5272124409675598, 0.6957911252975464, 0.9271866679191589, 0.0686194971203804, -0.24842889606952667, -0.8662197589874268, 0.26652127504348755, 0.5737401843070984, -0.4425733983516693, -0.04485189914703369, 0.38691771030426025, 0.22635439038276672, 0.0034838614519685507, 0.3429437577724457, 0.1308920830488205, 0.11189758032560349, -0.31495434045791626, -0.19434760510921478, -0.10647377371788025, -0.3898310959339142, -0.08178800344467163, 0.07892109453678131, 0.6502393484115601, 0.1150977686047554 ]
http://arxiv.org/abs/2404.15420v1
http://arxiv.org/pdf/2404.15420v1
XC-Cache: Cross-Attending to Cached Context for Efficient LLM Inference
2024-04-23T18:10:42
2024-04-23T18:10:42
João Monteiro, Étienne Marcotte, Pierre-André Noël, Valentina Zantedeschi, David Vázquez, Nicolas Chapados, Christopher Pal, Perouz Taslakian
cs.CL
cs.CL, cs.AI
In-context learning (ICL) approaches typically leverage prompting to condition decoder-only language model generation on reference information. Just-in-time processing of a context is inefficient due to the quadratic cost of self-attention operations, and caching is desirable. However, caching transformer states can easily require almost as much space as the model parameters. When the right context isn't known in advance, caching ICL can be challenging. This work addresses these limitations by introducing models that, inspired by the encoder-decoder architecture, use cross-attention to condition generation on reference text without the prompt. More precisely, we leverage pre-trained decoder-only models and only train a small number of added layers. We use Question-Answering (QA) as a testbed to evaluate the ability of our models to perform conditional generation and observe that they outperform ICL, are comparable to fine-tuned prompted LLMs, and drastically reduce the space footprint relative to standard KV caching by two orders of magnitude.
[ -0.37767043709754944, -0.2987513542175293, 0.6055289506912231, 0.09636887162923813, -0.20800185203552246, -0.16523118317127228, -0.14123474061489105, -0.4761738181114197, -0.10531272739171982, 0.48847496509552, -0.8068656921386719, -0.3230190873146057, -0.14632174372673035, 0.08102072775363922, -0.5446410775184631, 0.9417633414268494, -0.041469912976026535, 0.058028221130371094, -0.5764979720115662, 0.08366138488054276, -0.368091881275177, -0.4837111830711365, -0.7660235166549683, -0.27822592854499817, 0.45267045497894287, 0.44278213381767273, 0.3219242990016937, 0.42633411288261414, -0.08528783172369003, 0.15214844048023224, 0.03686654940247536, 0.10034532099962234, -0.6218041181564331, 0.15987837314605713, -0.18293644487857819, -0.5717203617095947, -0.06856460869312286, -0.08674212545156479, 0.5588995218276978, 0.46627187728881836, -0.027629731222987175, 0.0240048598498106, 0.08299965411424637, 0.42014068365097046, -1.0873645544052124, 0.13320392370224, -0.9783515930175781, 0.13185244798660278, 0.04870433360338211, -0.31955021619796753, -0.7533608675003052, -0.07399075478315353, 0.320410817861557, -0.5641598105430603, 0.3701639473438263, 0.09747976064682007, 0.6871709823608398, 0.576822817325592, -0.41333726048469543, -0.21427638828754425, -0.5059727430343628, 0.8815615177154541, -0.61822509765625, 0.6395251750946045, 0.530699610710144, 0.20709004998207092, 0.0968736782670021, -1.1091639995574951, -0.7060502767562866, -0.13746479153633118, -0.18874891102313995, 0.3797992765903473, -0.0994250476360321, -0.07988013327121735, 0.22401796281337738, 0.12380734831094742, -0.2873219847679138, -0.06770377606153488, -0.009789046831429005, 0.04963817447423935, 0.2278444916009903, 0.29470717906951904, 0.15602755546569824, -0.11077838391065598, -0.6146456599235535, -0.12469493597745895, -1.101383924484253, 0.27738675475120544, -0.0714394822716713, 0.18822753429412842, -0.17007562518119812, 0.31626856327056885, -0.16883893311023712, 0.45257076621055603, 0.5269237160682678, 0.279572993516922, -0.32447242736816406, -0.5570808053016663, -0.3232843577861786, 0.33483192324638367, 0.35680699348449707, 0.0457775741815567, -0.08361606299877167, -0.5082385540008545, -0.2631568908691406, -0.018235214054584503, 0.34996315836906433, -0.9704440236091614, -0.1888590157032013, 0.1612723171710968, -0.1505483090877533, 0.126812145113945, -0.01691047102212906, -0.4420868456363678, -0.08821076154708862, -0.11961349099874496, 0.3140895664691925, -0.07029597461223602, 0.32278019189834595, 0.0599142350256443, 0.08748859912157059, 0.36298877000808716, 0.155867800116539, -0.6868265867233276, 0.3859587609767914, 0.19106845557689667, 0.43623030185699463, -0.26050424575805664, -0.04815863445401192, -0.7037568092346191, 0.37834322452545166, -0.21162699162960052, 0.6832840442657471, -0.593314528465271, -0.46814101934432983, 0.12746939063072205, -0.07352421432733536, -0.06911468505859375, -0.43543288111686707, 0.7212018370628357, -0.9838223457336426, 0.05867534503340721, -0.6091384291648865, -0.6505211591720581, 0.0378434844315052, 0.30165594816207886, -0.6859246492385864, 1.1395115852355957, 0.22746983170509338, -0.841583788394928, 0.5795320868492126, -0.25696712732315063, -0.44505295157432556, -0.0026418170891702175, -0.3327934443950653, -0.29276418685913086, -0.12719739973545074, 0.42532360553741455, 0.32207947969436646, -0.579209566116333, 0.32112425565719604, -0.1581900268793106, -0.26872509717941284, 0.15005993843078613, -0.3114948868751526, 0.3866397738456726, 0.20808474719524384, -0.6063887476921082, 0.002583754248917103, -0.5834235548973083, 0.31102025508880615, -0.1580984890460968, -0.6629254221916199, -0.3327735960483551, 0.2768458127975464, -0.026055626571178436, 0.5246847867965698, 0.12880882620811462, -0.49603044986724854, -0.03408562391996384, -0.3879797160625458, 0.23320671916007996, 0.32716816663742065, 0.001778444042429328, 0.5018743872642517, -0.16483017802238464, 0.3942202627658844, 0.2940390110015869, 0.04681849107146263, -0.5991981625556946, -0.09652666002511978, -1.1660038232803345, 0.026052160188555717, 0.11800863593816757, 0.3994292616844177, -0.9977515339851379, 0.16584469377994537, -0.1787976175546646, -0.14176659286022186, -0.5949743986129761, -0.020287586376070976, 0.7461172342300415, 0.7972452640533447, 0.5764590501785278, 0.04247850924730301, -0.5923424363136292, -0.6573879718780518, -0.10078353434801102, -0.04100586101412773, 0.2451978176832199, 0.4959263801574707, 0.22329922020435333, -0.1254122108221054, 0.9940041303634644, -0.1504068225622177, 0.03914366662502289, -0.39911535382270813, -0.14768755435943604, 0.011791984550654888, 0.33770444989204407, 0.3956035375595093, -0.8853699564933777, -0.7804581522941589, -0.035397954285144806, -0.6238558292388916, -0.28650158643722534, -0.21517159044742584, -0.039443764835596085, 0.33176466822624207, 0.9122335314750671, -0.6331341862678528, 0.7753053903579712, 0.526421844959259, -0.17503073811531067, 0.2509520351886749, -0.28682267665863037, 0.04885803535580635, -0.7863295674324036, 0.03821045905351639, -0.13115844130516052, -0.27812841534614563, -0.6408914923667908, 0.13640783727169037, 0.44456183910369873, -0.16535314917564392, -0.563479483127594, 1.0425467491149902, -0.8170602917671204, 0.014510568231344223, -0.4628954827785492, 0.3476428985595703, 0.15856832265853882, 0.5329316258430481, 0.3235568106174469, 0.8572264313697815, 0.44829878211021423, -0.8387962579727173, -0.4337938129901886, 0.09034885466098785, -0.23397521674633026, 0.1251499503850937, -0.5483227968215942, 0.21142464876174927, -0.046191249042749405, 0.594667911529541, -0.8714296221733093, 0.21118012070655823, 0.27680158615112305, -0.022160420194268227, 0.4237652122974396, -0.06042342633008957, -0.41999098658561707, -0.2512035369873047, -0.0817427709698677, 0.8848628401756287, 0.2902168035507202, -0.9938288927078247, 0.6245888471603394, 0.13464872539043427, 0.2626841962337494, -0.6618260741233826, -0.6885387897491455, -0.013825506903231144, 0.13742777705192566, -0.4735614061355591, 0.6499472260475159, -0.37776899337768555, 0.000005077002242614981, 0.031242508441209793, -0.27457040548324585, -0.05133572965860367, -0.05212382599711418, 0.22473134100437164, -0.013822626322507858, -0.33054623007774353, 0.04825685918331146, 0.13417433202266693, -0.23297648131847382, -0.047819312661886215, -0.5836240649223328, 0.503813624382019, 0.18440425395965576, -0.479711651802063, -0.5459226369857788, 0.6137579083442688, 0.2613568902015686, -0.18150053918361664, 0.5826175212860107, 0.1060727909207344, -0.29137492179870605, -0.3677339255809784, -0.5552713871002197, -0.3398144841194153, -0.4822247624397278, 0.07314437627792358, -0.4025631546974182, -0.7130278944969177, 0.512347400188446, 0.33153462409973145, 0.011809487827122211, 0.04984930157661438, 0.5661203265190125, 0.11866702139377594, 1.1337848901748657, 0.681473433971405, -0.09724848717451096, 0.42588767409324646, -0.08318096399307251, 0.3409736156463623, -0.765904426574707, -0.14504897594451904, -0.4759747385978699, -0.09154008328914642, -0.335655152797699, -0.5599525570869446, 0.26310741901397705, -0.06974882632493973, -0.2291145622730255, 0.132810577750206, -0.07386324554681778, 0.6592763662338257, 0.47173064947128296, 0.21671923995018005, 0.15087173879146576, -0.2628314197063446, -0.2845740020275116, 0.10641366243362427, -0.9682552814483643, -0.23368610441684723, 0.7705338597297668, -0.1913813203573227, 0.8912184238433838, -0.38982149958610535, 0.5587590336799622, -0.05033715069293976, 0.2561228573322296, -0.5564725995063782, 0.46418997645378113, -0.009065599180758, -0.6553272604942322, 0.07843704521656036, -0.27048459649086, -0.8652857542037964, 0.25505614280700684, 0.011914297938346863, -0.6391178965568542, 0.3823588192462921, 0.31904056668281555, -0.5042494535446167, 0.46482235193252563, -0.5253821015357971, 0.6178000569343567, -0.17665418982505798, -0.5185495018959045, -0.16484901309013367, -0.8747397065162659, 0.26956892013549805, -0.1709928959608078, -0.23681703209877014, 0.2826272249221802, -0.1526319682598114, 0.13376246392726898, -0.24389001727104187, 1.0907015800476074, -0.17824628949165344, 0.020396249368786812, 0.47007477283477783, 0.01722581498324871, 0.7399307489395142, 0.25894662737846375, -0.2663017511367798, -0.24650713801383972, 0.01985790766775608, -0.38620972633361816, -0.6265398859977722, 0.7502111196517944, -0.7406130433082581, -0.5621635913848877, -0.15622752904891968, -0.5948519110679626, -0.2079244703054428, 0.11905553191900253, 0.5025648474693298, 0.43548476696014404, -0.0742747038602829, 0.09387512505054474, 0.9315732717514038, -0.2745511531829834, 0.5680268406867981, 0.606063961982727, 0.02032827027142048, 0.024625038728117943, 0.4680492579936981, -0.12513256072998047, 0.3721771240234375, 0.7991251945495605, 0.033998288214206696, -0.35511261224746704, -0.32201844453811646, -0.3405556082725525, 0.031855084002017975, -1.0403403043746948, -0.2478146255016327, -0.960748553276062, -0.3254660665988922, -0.22946670651435852, -0.2770012617111206, -0.28125524520874023, -0.07623719424009323, -0.6254392266273499, 0.08728494495153427, -0.10422245413064957, 0.3148423135280609, 0.2849488854408264, 0.5053272843360901, -0.7606753706932068, 0.15223348140716553, 0.18539677560329437, 0.016439249739050865, 0.358031302690506, -0.3401564955711365, -0.4229625165462494, 0.007789378985762596, -0.18170525133609772, -0.635687530040741, 0.34691089391708374, 0.28506699204444885, 0.6951658129692078, 0.5441169142723083, 0.33090728521347046, 0.8578038215637207, -0.4982975125312805, 0.6665277481079102, -0.0609603188931942, -1.0082197189331055, 0.37740668654441833, 0.1665911227464676, 0.5914754867553711, 0.6335799098014832, 0.4558810591697693, -0.5364580154418945, -0.369661420583725, -0.6021353006362915, -0.9147377610206604, 0.7440211176872253, 0.04152626171708107, 0.23143742978572845, -0.4346979856491089, 0.7659424543380737, 0.1443258821964264, 0.003546364139765501, -0.8294510245323181, -0.2171120047569275, -0.15384989976882935, 0.028981056064367294, -0.09111137688159943, -0.34600749611854553, 0.15796111524105072, -0.16595211625099182, 0.6883946061134338, -0.31635144352912903, 0.1405562162399292, 0.3744417726993561, -0.41975006461143494, -0.19838488101959229, 0.029276056215167046, 0.48307371139526367, 0.5682435631752014, 0.056980978697538376, 0.2682240307331085, 0.476905882358551, -0.0770435631275177, 0.07134503871202469, -0.2799454629421234, -0.3860182464122772, -0.27783286571502686, 0.039731305092573166, 0.8272146582603455, 0.8076279163360596, -0.7779438495635986, 0.5360476970672607, -0.45067155361175537, 0.24968081712722778, -0.20225855708122253, 0.10668203234672546, 0.113697849214077, 0.27831360697746277, 0.29446303844451904, -0.22878529131412506, 0.044761888682842255, -0.2805700898170471, 0.5068612694740295, 0.3900245428085327, -0.7059728503227234, -0.40874752402305603, 0.7381153702735901, 0.0017373531591147184, 0.15955497324466705, 0.7490089535713196, -0.191761776804924, -0.40732458233833313, 0.5451333522796631, 0.9872453212738037, 0.9930968880653381, -0.01891658641397953, -0.10106721520423889, 0.38156843185424805, 0.09575212001800537, 0.15501874685287476, 0.29638397693634033, -0.5164296627044678, -0.8123326897621155, -0.3356020748615265, -0.3636780381202698, -0.3560006022453308, -0.10871034860610962, -0.8477286100387573, 0.34029528498649597, -0.3841635286808014, 0.000001204215891448257, -0.40552017092704773, -0.07099507004022598, -0.8394513726234436, 0.5249214172363281, 0.06638039648532867, 1.1693073511123657, -0.6132668256759644, 1.2465386390686035, 0.36198297142982483, -0.22703301906585693, -0.7243182063102722, 0.22660204768180847, -0.2755409777164459, -0.8638291358947754, 0.817697286605835, 0.31042516231536865, -0.3796011805534363, 0.15044310688972473, -0.5918012261390686, -0.8614819645881653, 1.0572783946990967, 0.3134068548679352, -0.5590319633483887, -0.18408934772014618, -0.26609277725219727, 0.4092257618904114, -0.5474943518638611, 0.40887805819511414, 0.5436421036720276, 0.3931598365306854, 0.07630888372659683, -0.2863485813140869, 0.194108247756958, -0.22803270816802979, -0.020574435591697693, 0.163114994764328, -0.6561587452888489, 0.8383638262748718, -0.32609495520591736, -0.6151516437530518, 0.2257266789674759, 1.0086054801940918, 0.2949467897415161, 0.2662149965763092, 0.5070515871047974, 0.6593078374862671, 0.5608779191970825, 0.18349461257457733, 1.4056017398834229, -0.5821523666381836, 0.10877679288387299, 1.3896479606628418, -0.49358057975769043, 0.8416306972503662, 0.7081097960472107, 0.341200590133667, 0.4095139503479004, 0.8269953727722168, 0.3449331521987915, 0.870175302028656, 0.027316508814692497, -0.4471324682235718, -0.6001604199409485, -0.14013056457042694, -0.19165588915348053, 0.19373732805252075, 0.21554379165172577, -0.27025267481803894, -0.4785880744457245, -0.0946856290102005, -0.01191402692347765, -0.13004690408706665, -0.25854867696762085, 0.6399848461151123, 0.24496766924858093, -0.9640141129493713, 0.4197068512439728, -0.12302330881357193, 0.46804794669151306, -0.7018648982048035, 0.05385490879416466, -0.44017493724823, 0.19075781106948853, 0.001328603713773191, -0.42030808329582214, 0.08718481659889221, -0.10911697894334793, -0.6511918902397156, -0.13397996127605438, 0.5858559012413025, -0.5333382487297058, -0.2172553390264511, 0.6093522906303406, 0.3775498569011688, 0.048479631543159485, 0.0340828038752079, -0.4879237711429596, -0.18538831174373627, -0.035621024668216705, -0.2332235872745514, 0.4158790707588196, 0.3543773591518402, -0.3370579183101654, 0.8908670544624329, 0.5076635479927063, -0.12377332895994186, 0.5299900770187378, 0.1404266655445099, 0.9899954795837402, -0.593388557434082, -0.6083180904388428, -0.7406402826309204, 0.42300742864608765, 0.3018634617328644, -0.32107511162757874, 0.5346123576164246, 0.5003103613853455, 1.0620033740997314, 0.1427135169506073, 0.7665103077888489, 0.028505617752671242, 0.12912629544734955, -0.7973892688751221, 0.5568069219589233, -0.792917013168335, 0.27631914615631104, 0.06753578037023544, -0.6143928170204163, -0.2468225657939911, 0.21409016847610474, -0.12092027813196182, 0.17315472662448883, 0.8607633709907532, 0.8490923047065735, -0.29003337025642395, 0.04560079053044319, 0.4343167245388031, -0.12571750581264496, 0.33744314312934875, 0.7139757871627808, 1.0723069906234741, -0.4609067738056183, 0.6331796646118164, -0.21933729946613312, 0.1164999008178711, -0.12915641069412231, -1.151400089263916, -0.9265167713165283, -0.6032675504684448, -0.12641991674900055, -0.12554585933685303, -0.11616089195013046, 0.694570779800415, 0.8924073576927185, -0.8198702335357666, -0.17627748847007751, -0.05260778218507767, 0.05876926705241203, -0.06296896189451218, -0.18389803171157837, 0.3950989246368408, -0.7318441271781921, -0.7328395247459412, 0.6303179860115051, 0.29338616132736206, -0.023675397038459778, -0.283532053232193, -0.19988791644573212, -0.12443036586046219, 0.3014366924762726, 0.5029721260070801, 0.3063628673553467, -0.8426103591918945, -0.1938072293996811, 0.13465596735477448, -0.3430461287498474, 0.34389951825141907, 1.1490497589111328, -1.0381579399108887, 0.5007563829421997, 0.5705224871635437, 0.9950441122055054, 0.9748007655143738, -0.15072329342365265, 0.5728568434715271, -0.8846367597579956, 0.0555337592959404, 0.10037602484226227, 0.48808950185775757, 0.2411031574010849, -0.4645180106163025, 0.075950987637043, -0.19885866343975067, -0.6055940389633179, -0.47747862339019775, 0.1837683767080307, -0.876192569732666, -0.28418397903442383, 0.8787316679954529, -0.30304405093193054, -0.37652337551116943, -0.10782966017723083, -0.08494449406862259, 0.3508034646511078, -0.30507174134254456, 0.7406756281852722, 0.38267388939857483, -0.052753739058971405, -0.3365538716316223, -0.5044701099395752, 0.4211714267730713, 0.6421988010406494, -0.879563570022583, -0.002185648772865534, 0.15119615197181702, 0.1602344959974289, -0.06746036559343338, 0.6197084784507751, 0.009224940091371536, 0.45559096336364746, -0.1660107970237732, 0.16615736484527588, 0.39009934663772583, -0.5346440672874451, -0.1562519371509552, -0.017477460205554962, -0.22491690516471863, 0.11634452641010284 ]
http://arxiv.org/abs/2404.15406v2
http://arxiv.org/pdf/2404.15406v2
Wiki-LLaVA: Hierarchical Retrieval-Augmented Generation for Multimodal LLMs
2024-04-23T18:00:09
2024-05-22T07:15:18
Davide Caffagni, Federico Cocchi, Nicholas Moratelli, Sara Sarto, Marcella Cornia, Lorenzo Baraldi, Rita Cucchiara
cs.CV
cs.CV, cs.AI, cs.CL, cs.MM
Multimodal LLMs are the natural evolution of LLMs, and enlarge their capabilities so as to work beyond the pure textual modality. As research is being carried out to design novel architectures and vision-and-language adapters, in this paper we concentrate on endowing such models with the capability of answering questions that require external knowledge. Our approach, termed Wiki-LLaVA, aims at integrating an external knowledge source of multimodal documents, which is accessed through a hierarchical retrieval pipeline. Relevant passages, using this approach, are retrieved from the external knowledge source and employed as additional context for the LLM, augmenting the effectiveness and precision of generated dialogues. We conduct extensive experiments on datasets tailored for visual question answering with external data and demonstrate the appropriateness of our approach.
[ -0.5346933007240295, -0.9514782428741455, 0.6505261063575745, -0.19618993997573853, -0.13005545735359192, 0.12370006740093231, -0.021190866827964783, -0.5962709784507751, 0.39745768904685974, 0.4195077121257782, -0.7862635254859924, -0.19536356627941132, -0.3938094973564148, 0.1498895138502121, -0.32456129789352417, 0.7892420887947083, 0.012632660567760468, 0.012783541344106197, -0.8382675051689148, -0.16193760931491852, -0.4225832521915436, -0.16081644594669342, -0.204007089138031, -0.005225068423897028, 1.0060350894927979, 0.5291359424591064, 0.5054684281349182, 0.23493705689907074, 0.4903363585472107, 0.4361588954925537, 0.0065396130084991455, 0.8785237669944763, -0.39266160130500793, 0.5073353052139282, -0.19958199560642242, -0.5990933179855347, -0.23945896327495575, -0.38165709376335144, 0.6559180021286011, 0.4614327847957611, 0.17854560911655426, 0.3993457853794098, -0.0012392733478918672, 0.6228561997413635, -0.7506576180458069, 0.2440022975206375, -0.8204283118247986, -0.035388797521591187, -0.14741060137748718, -0.5600578784942627, -0.2866032123565674, -0.24585019052028656, 0.029875939711928368, -0.9642816781997681, -0.21082532405853271, 0.15888024866580963, 0.6858863830566406, 0.23067060112953186, -0.7408088445663452, -0.4118902087211609, -0.6164979934692383, 0.48032307624816895, -0.2891770303249359, 0.30450451374053955, 0.3412973880767822, 0.4284866750240326, -0.20142783224582672, -1.1032596826553345, -0.7689749002456665, -0.23244890570640564, -0.11791498959064484, 0.30528172850608826, 0.05579831078648567, 0.028383664786815643, 0.12207859009504318, 0.4608979821205139, -0.32065388560295105, -0.2204664945602417, -0.5406427979469299, -0.06700457632541656, 0.38121742010116577, 0.30100739002227783, 0.5703604221343994, -0.6217368841171265, -0.2672390341758728, 0.22886423766613007, -0.5989752411842346, 0.12109999358654022, 0.4059605300426483, 0.10770034044981003, -0.013714306056499481, 1.0449020862579346, -0.5028117299079895, 0.6922797560691833, 0.11486022174358368, -0.4610045850276947, 0.3215084373950958, -0.6378270387649536, -0.14183595776557922, -0.3749895393848419, 0.5015109181404114, 0.3258903920650482, 0.06604903191328049, -0.04017997160553932, 0.004193031694740057, -0.265967458486557, 0.41171857714653015, -0.5504636168479919, -0.051454607397317886, 0.1946277767419815, -0.4127863347530365, -0.4548879861831665, -0.30860045552253723, -0.7371802926063538, -0.40394240617752075, -0.37599754333496094, 0.772020161151886, -0.2902887761592865, -0.28803569078445435, -0.7321646213531494, -0.4020613729953766, 0.34156084060668945, 0.6664684414863586, -0.9218317866325378, -0.04015681892633438, 0.21600858867168427, 0.6176553964614868, -0.1694430708885193, -0.19898061454296112, -0.5250908732414246, 0.6486246585845947, -0.5303915739059448, 1.0280311107635498, -0.42667117714881897, -0.27077168226242065, 0.1552509218454361, 0.012467864900827408, 0.10821066051721573, -0.3422773778438568, 0.28936076164245605, -0.7814441323280334, 0.4319605529308319, -0.4625374972820282, -0.4411124587059021, -0.15968212485313416, 0.6912453174591064, -0.6201276183128357, 1.017849087715149, -0.03407224640250206, -1.0839282274246216, 0.23174606263637543, -0.5908806920051575, -0.13383537530899048, 0.22748175263404846, -0.4828575551509857, 0.19043898582458496, 0.16453640162944794, 0.47604361176490784, 0.1680649369955063, -0.43773889541625977, 0.16158653795719147, -0.3299066424369812, -0.028305944055318832, 0.25869491696357727, -0.5151111483573914, 0.5034281611442566, 0.18699286878108978, 0.06802786886692047, 0.21318429708480835, -0.8139247298240662, 0.0699346661567688, 0.03798036649823189, -0.5346449613571167, -0.600675642490387, -0.034203801304101944, -0.09436944127082825, 0.3507674038410187, 0.5599789023399353, -0.571626603603363, 0.2205410897731781, -0.37970641255378723, 0.03332655131816864, 0.9289456009864807, 0.17205190658569336, 0.5036989450454712, -0.39271390438079834, 0.38067689538002014, 0.1625785231590271, 0.40085965394973755, -0.3622228801250458, -0.7572625279426575, -0.8553327322006226, -0.36482083797454834, -0.14260374009609222, 0.5491634607315063, -1.4288100004196167, -0.20612826943397522, -0.2940320372581482, -0.369393527507782, -0.4573987126350403, 0.5546082258224487, 0.11827289313077927, 0.8308308720588684, 0.23414789140224457, -0.04005406051874161, -0.5624852180480957, -1.1486562490463257, 0.17519782483577728, -0.40359124541282654, 0.02092880755662918, 0.5914222002029419, 0.5984098315238953, -0.375609815120697, 0.8209763169288635, -0.36824101209640503, -0.15429344773292542, -0.08622866123914719, -0.19831222295761108, -0.023317409679293633, 0.12885625660419464, 0.19787998497486115, -1.1577166318893433, -0.4106657803058624, 0.18343159556388855, -1.2248700857162476, 0.06895033270120621, 0.1755664199590683, -0.3546198308467865, 0.1891014575958252, 0.5357217192649841, -0.8435115218162537, 0.21886961162090302, 0.5534124374389648, 0.0811680257320404, 0.4611271917819977, -0.18119055032730103, 0.44483762979507446, -1.5341137647628784, 0.08829360455274582, -0.44797900319099426, -0.09364676475524902, -0.5778529047966003, 0.3015177547931671, 0.04563150927424431, 0.0023374466691166162, -0.6064015030860901, 0.7368566989898682, -0.5075602531433105, -0.27521297335624695, -0.08204782009124756, 0.4694500267505646, 0.2989172041416168, 0.5813724398612976, -0.06340129673480988, 0.7036396861076355, 0.38929522037506104, -0.47846734523773193, 0.7963158488273621, 0.40905988216400146, -0.4703855812549591, 0.8139223456382751, -0.3384034335613251, 0.046250682324171066, -0.39137500524520874, 0.09628546237945557, -1.2407282590866089, -0.5663516521453857, 0.20437617599964142, -0.42615950107574463, 0.24758653342723846, -0.2500428557395935, -0.5574216842651367, -0.23363815248012543, -0.45275503396987915, 0.3917471766471863, 0.24810945987701416, -0.742866575717926, 0.9118148684501648, 0.5007027387619019, -0.49063819646835327, -0.7534192800521851, -0.5643351674079895, 0.07471375167369843, -0.27910611033439636, -1.053147315979004, 0.14937587082386017, -0.35221487283706665, -0.40643757581710815, -0.09156238287687302, 0.08422823250293732, -0.1094629243016243, -0.30524343252182007, 0.23255914449691772, 0.4145031273365021, -0.3159859776496887, 0.31742003560066223, 0.2201859951019287, 0.2547251284122467, -0.13290156424045563, -0.044747743755578995, 0.04412824660539627, 0.23196835815906525, -0.33174601197242737, -0.2693674564361572, 0.7443224787712097, 0.5849778056144714, -0.06842697411775589, 0.6015070080757141, 0.5262724757194519, -0.31271934509277344, 0.05513358861207962, -0.7728552222251892, 0.2000824511051178, -0.5287965536117554, 0.25231480598449707, -0.6590714454650879, -0.6290162801742554, 0.3869842290878296, -0.11543501168489456, 0.06983915716409683, 0.3640272617340088, 0.8839839100837708, -0.5622592568397522, 0.8767050504684448, 0.5565188527107239, 0.31869858503341675, 0.5710562467575073, -0.1327831894159317, -0.2338554561138153, -0.997325599193573, -0.7377651929855347, -0.19642017781734467, -0.10683529824018478, -0.6550394892692566, -0.5719361901283264, 0.6474507451057434, 0.015058934688568115, 0.11703864485025406, -0.08161616325378418, -0.21031130850315094, 0.1786276251077652, 0.6195379495620728, 0.24750305712223053, 0.6762788891792297, 0.17066502571105957, -0.36973851919174194, -0.04860585555434227, -0.7176637053489685, -0.17486701905727386, 0.9946667551994324, 0.0959281176328659, 0.9750288128852844, 0.3547392785549164, 0.5202180743217468, 0.10107322037220001, 0.32045596837997437, -0.6949160695075989, 0.42147013545036316, 0.19252902269363403, -0.8280782103538513, -0.28679636120796204, -0.2852918207645416, -0.782997727394104, 0.4731746315956116, -0.3193475008010864, -0.5895341038703918, 0.21097856760025024, 0.16731752455234528, 0.1570555716753006, 0.13712677359580994, -0.7171578407287598, 0.5911750197410583, -0.28019168972969055, -0.3605877459049225, -0.24473045766353607, -0.5709176659584045, 0.5871651768684387, -0.03478112071752548, 0.35504767298698425, 0.04161496087908745, -0.353268027305603, 0.4630145728588104, -0.29443246126174927, 0.8056203126907349, -0.10546863824129105, -0.3676505982875824, 0.568230152130127, -0.10445614904165268, 0.5647062063217163, 0.18815279006958008, 0.21790863573551178, -0.21012502908706665, 0.04565936699509621, -0.18324248492717743, -0.8211148977279663, 0.8933519721031189, -0.7550893425941467, -0.7293882966041565, -0.10168305039405823, -0.9108198285102844, -0.5086658000946045, 0.17014162242412567, 0.20640380680561066, 0.7051514983177185, -0.07999880611896515, 0.2512781620025635, 0.6179871559143066, -0.4516134560108185, 0.24614904820919037, 0.3194033205509186, -0.3329022228717804, -0.6843173503875732, 0.8513669967651367, 0.2321179062128067, 0.3550124764442444, 0.8343136310577393, 0.12768550217151642, -0.4647725820541382, -0.44254201650619507, -0.7899264693260193, 0.056867729872465134, -1.1496413946151733, -0.32002782821655273, -0.5743698477745056, -0.2567979693412781, -0.3972438871860504, 0.07953625917434692, -0.07410896569490433, -0.6711511015892029, -0.13769285380840302, -0.1563647985458374, 0.5731133222579956, 0.8326809406280518, -0.0007758003775961697, -0.2564474940299988, -0.7433277368545532, 0.8641902804374695, 0.7805560827255249, 0.03633886203169823, -0.13027095794677734, -0.494901567697525, -0.19597527384757996, 0.0663953348994255, -0.31799718737602234, -0.8057675361633301, 0.14968104660511017, 0.3368140161037445, 0.7627783417701721, -0.007199302315711975, -0.03423802927136421, 1.0221736431121826, -0.6012352108955383, 0.8167541027069092, 0.2604500353336334, -0.3339497447013855, 0.7828443646430969, -0.45442458987236023, 0.4733676612377167, 0.3708108067512512, 0.501451849937439, -0.26361361145973206, -0.6025627255439758, -0.24286217987537384, -0.8842200636863708, 0.34172600507736206, 0.126922145485878, 0.3589135706424713, -0.017156178131699562, 0.30125874280929565, 0.1552387923002243, 0.3524159789085388, -0.6446516513824463, -0.30426672101020813, -0.23186664283275604, -0.2777959108352661, 0.1927540898323059, -0.25393953919410706, -0.3152362108230591, -0.24492155015468597, 0.4643925726413727, -0.40961167216300964, 0.23467232286930084, 0.29039260745048523, -0.4097836911678314, -0.09571287781000137, 0.18169210851192474, 0.3780013620853424, 0.8626980185508728, 0.023237252607941628, 0.04207223653793335, 0.28840547800064087, -0.43802332878112793, -0.07343053817749023, -0.1942155361175537, -0.2851722240447998, -0.0321652889251709, 0.4096927344799042, 0.576456606388092, 0.1640038788318634, -0.7353658080101013, 0.3786083161830902, -0.06141966953873634, -0.0909326821565628, -0.5655385851860046, -0.03810269013047218, 0.33451637625694275, 0.5373292565345764, 0.7247885465621948, -0.18464593589305878, 0.2695249021053314, -0.7779939770698547, 0.15597307682037354, 0.6576907634735107, -0.09859509021043777, -0.10045421868562698, 0.5023580193519592, 0.4218081831932068, -0.029496315866708755, 0.4533528685569763, 0.4196591377258301, 0.04204152151942253, 0.3481109142303467, 0.3974941372871399, 0.4009716212749481, 0.10073201358318329, 0.16608251631259918, 0.2206900268793106, 0.2043851912021637, 0.5623967051506042, 0.35267919301986694, -0.4624268114566803, -0.6513338088989258, -0.5938056707382202, -0.6792227029800415, -0.46136727929115295, 0.0434122197329998, -0.527567982673645, 0.15399083495140076, -0.1313716322183609, -0.019855475053191185, -0.04469725117087364, -0.010755845345556736, -0.5949299335479736, 0.21506954729557037, 0.34777143597602844, 0.9942542910575867, -0.40089812874794006, 1.0104291439056396, 0.563674807548523, -0.6123759150505066, -0.4347575008869171, -0.2140413522720337, -0.08923272043466568, -0.8928483724594116, 0.9483091235160828, -0.20788808166980743, -0.17330098152160645, -0.05552685260772705, -0.4638355076313019, -1.0632634162902832, 1.2716503143310547, 0.5297830104827881, -0.2778315544128418, -0.5126453042030334, 0.020247716456651688, 0.4156850576400757, -0.2975861728191376, 0.32176944613456726, 0.0224011167883873, 0.5176150798797607, 0.34241577982902527, -0.8529259562492371, -0.23881112039089203, -0.5475199818611145, 0.08377991616725922, 0.022422723472118378, -0.45751824975013733, 0.5124508142471313, -0.260306179523468, 0.05141500011086464, 0.41920286417007446, 0.7541866898536682, 0.25541386008262634, 0.1506350189447403, 0.3133860230445862, 0.23912861943244934, 0.6027590036392212, 0.20087574422359467, 1.1936728954315186, -0.11020561307668686, -0.16125358641147614, 1.0762250423431396, 0.0709519162774086, 1.0363765954971313, 1.002503752708435, 0.13044653832912445, 0.7258918881416321, 0.4884459972381592, 0.3330223262310028, 0.7087798118591309, -0.2651101052761078, -0.4160480201244354, -0.15623092651367188, -0.33085742592811584, -0.3351459503173828, 0.3743661046028137, 0.5787540078163147, -0.2721972167491913, 0.0035830072592943907, 0.09808751195669174, -0.5027320384979248, -0.018948618322610855, -0.46971872448921204, 1.0603337287902832, 0.026891566812992096, -0.7137875556945801, 0.3373473584651947, -0.2559598386287689, 0.6364351511001587, -0.8192062973976135, -0.17799094319343567, -0.3421240746974945, -0.18495263159275055, -0.33087724447250366, -0.7903080582618713, 0.23253871500492096, -0.11214485764503479, -0.2573458254337311, -0.029610609635710716, 0.925416886806488, -0.5743818879127502, -0.5968579053878784, 0.29216811060905457, 0.8614460229873657, -0.022113341838121414, 0.35118207335472107, -0.5326528549194336, -0.1382829248905182, -0.16899560391902924, -0.3418298661708832, 0.43156298995018005, 0.5538825392723083, -0.0865643322467804, 0.8609593510627747, 0.740424394607544, -0.1306014209985733, 0.3807334303855896, 0.024037355557084084, 1.0306445360183716, -0.34212061762809753, -0.2854875326156616, -0.46450817584991455, 0.772291362285614, -0.11507173627614975, -0.18496903777122498, 0.9559786319732666, 0.44645217061042786, 0.7201717495918274, -0.16405938565731049, 0.7352637052536011, -0.22183670103549957, 0.20942842960357666, -0.6457421183586121, 0.4819059669971466, -0.9587839245796204, -0.03062288649380207, -0.43452680110931396, -0.776329517364502, 0.08581709116697311, 0.3603915870189667, 0.06567270308732986, -0.15700289607048035, 0.5786775350570679, 0.9101036190986633, -0.029994450509548187, -0.2388838231563568, 0.6032251119613647, 0.11466559767723083, 0.06499514728784561, 0.45302993059158325, 1.317110538482666, -0.47403615713119507, 1.0632275342941284, -0.3031140863895416, 0.02682587131857872, -0.07661861926317215, -0.661528468132019, -0.860551655292511, -0.9302037358283997, -0.038280047476291656, -0.06796524673700333, 0.05683073401451111, 0.5999628901481628, 0.6419065594673157, -0.375462144613266, -0.04684454947710037, 0.313831090927124, 0.2775610089302063, 0.19865809381008148, -0.21376127004623413, 0.17745348811149597, -0.4091266691684723, -0.7758747935295105, 0.5683198571205139, 0.3567504584789276, -0.13643689453601837, -0.5478936433792114, -0.15594272315502167, -0.4185314476490021, 0.20615912973880768, 0.9366114139556885, 0.05785412713885307, -0.7428281307220459, -0.35168835520744324, 0.08075002580881119, -0.024036889895796776, 0.21108224987983704, 0.7889790534973145, -0.8067417740821838, 0.702126145362854, 0.7857698798179626, 0.6688375473022461, 0.7050913572311401, -0.10264114290475845, 0.5812843441963196, -0.8904396295547485, 0.22088360786437988, -0.09243312478065491, 0.3707733154296875, 0.4178059995174408, -0.3928978443145752, 0.19044427573680878, 0.20447759330272675, -0.29801347851753235, -0.7126836776733398, 0.39872634410858154, -0.8077733516693115, -0.24967950582504272, 1.0486894845962524, 0.06848053634166718, -0.28538358211517334, -0.278598427772522, -0.36584940552711487, 0.14410290122032166, -0.07031849026679993, 0.4958729147911072, 0.5445800423622131, -0.2561143636703491, -0.3831392228603363, -0.810712993144989, 0.31352499127388, -0.08442489802837372, -1.254461407661438, -0.305927574634552, 0.7196945548057556, 0.3800332844257355, 0.37119561433792114, 0.8648464679718018, -0.21672804653644562, 0.4859730899333954, 0.13159047067165375, -0.2965548634529114, -0.12663842737674713, -0.46681785583496094, 0.07755438983440399, 0.4028371274471283, 0.22536391019821167, -0.13192743062973022 ]
http://arxiv.org/abs/2404.15272v3
http://arxiv.org/pdf/2404.15272v3
CT-GLIP: 3D Grounded Language-Image Pretraining with CT Scans and Radiology Reports for Full-Body Scenarios
2024-04-23T17:59:01
2024-04-29T03:25:14
Jingyang Lin, Yingda Xia, Jianpeng Zhang, Ke Yan, Le Lu, Jiebo Luo, Ling Zhang
cs.CV
cs.CV, cs.AI, cs.CL
Medical Vision-Language Pretraining (Med-VLP) establishes a connection between visual content from medical images and the relevant textual descriptions. Existing Med-VLP methods primarily focus on 2D images depicting a single body part, notably chest X-rays. In this paper, we extend the scope of Med-VLP to encompass 3D images, specifically targeting full-body scenarios, by using a multimodal dataset of CT images and reports. Compared with the 2D counterpart, 3D VLP is required to effectively capture essential semantics from significantly sparser representation in 3D imaging. In this paper, we introduce CT-GLIP (Grounded Language-Image Pretraining with CT scans), a novel method that constructs organ-level image-text pairs to enhance multimodal contrastive learning, aligning grounded visual features with precise diagnostic text. Additionally, we developed an abnormality dictionary to augment contrastive learning with diverse contrastive pairs. Our method, trained on a multimodal CT dataset comprising 44,011 organ-level vision-text pairs from 17,702 patients across 104 organs, demonstrates it can identify organs and abnormalities in a zero-shot manner using natural languages. The performance of CT-GLIP is validated on a separate test set of 1,130 patients, focusing on the 16 most frequent abnormalities across 7 organs. The experimental results show our model's superior performance over the standard CLIP framework across zero-shot and fine-tuning scenarios, using both CNN and ViT architectures.
[ -0.27708569169044495, -0.5086520314216614, 0.7021090984344482, 0.05492003634572029, -0.7882511019706726, -0.1268123984336853, 0.021046115085482597, -0.6686790585517883, 0.3268720805644989, 0.5161605477333069, -0.2945651412010193, -0.6414113640785217, -0.5559273362159729, 0.19529210031032562, -0.12147136777639389, 0.7998202443122864, 0.19747906923294067, 0.4925525188446045, -0.13051970303058624, -0.26743295788764954, -0.513344943523407, -0.586579442024231, -0.3604065477848053, 0.07597312331199646, 0.3009490966796875, 0.2551058530807495, 0.6844832301139832, 0.6972963809967041, 0.5783001780509949, 0.23950053751468658, 0.15105657279491425, 0.12004220485687256, -0.2415756732225418, -0.1388440579175949, -0.034439992159605026, -0.34122785925865173, -0.2874382734298706, -0.19588018953800201, 0.46214860677719116, 0.6332798004150391, 0.15244996547698975, -0.4396374523639679, -0.07489313930273056, 0.6002671718597412, -0.7381020784378052, 0.05961420387029648, -0.3487336039543152, 0.31139853596687317, -0.09048302471637726, -0.5312083959579468, -0.15142922103405, 0.0021583300549536943, 0.24956637620925903, -1.0036072731018066, 0.23503921926021576, -0.21411961317062378, 1.1158428192138672, 0.27704769372940063, -0.5461830496788025, -0.4322117269039154, -0.17669939994812012, 0.5327765941619873, -0.27268144488334656, 0.685196042060852, 0.3009642958641052, 0.37841883301734924, 0.12522147595882416, -0.5708196759223938, -0.37860721349716187, -0.47052085399627686, -0.2183661162853241, 0.6012818217277527, 0.21100839972496033, 0.42548245191574097, -0.14379166066646576, 0.5771340727806091, -0.6910125017166138, 0.03820669278502464, -0.5781111717224121, -0.32111862301826477, 0.1806175261735916, 0.16539011895656586, 0.5390954613685608, -0.15075838565826416, -0.7442606687545776, -0.21646803617477417, -0.7423403859138489, -0.3150782883167267, -0.22177959978580475, 0.25647610425949097, -0.5807152390480042, 0.7145134210586548, 0.0034220197703689337, 0.7868350148200989, -0.09147029370069504, -0.4039047062397003, 0.6327733397483826, -0.6829569935798645, -0.36207619309425354, -0.0037445807829499245, 0.6227280497550964, 0.708674430847168, 0.1651841104030609, 0.02867019921541214, 0.11517702788114548, 0.05490260198712349, 0.28330567479133606, -0.7444974780082703, -0.17637227475643158, 0.2730567455291748, -0.5218881368637085, -0.43241217732429504, 0.0028679377865046263, -0.9190872311592102, -0.8592101335525513, -0.48170435428619385, 0.32184404134750366, -0.7491636276245117, -0.3363571763038635, 0.5952155590057373, -0.12782932817935944, 0.07206039130687714, 0.49299412965774536, -0.6301979422569275, 0.11166823655366898, 0.32857391238212585, 0.9077273011207581, 0.10008934140205383, -0.17097319662570953, -0.659415066242218, 0.3419990837574005, -0.2794117033481598, 0.6526356339454651, -0.3254624903202057, -0.5372487306594849, 0.2269316017627716, 0.07846758514642715, 0.03412482887506485, -0.45188507437705994, 0.3004355728626251, 0.13791733980178833, 0.42267027497291565, -0.15643949806690216, -0.272489994764328, -0.04695245996117592, 0.5818333625793457, -0.6442562937736511, 0.5181454420089722, 0.12067986279726028, -0.7581265568733215, 0.6868728995323181, -0.3813171088695526, -0.4940450191497803, 0.057458844035863876, -0.8834038972854614, -0.27501219511032104, 0.25191956758499146, 0.4287240505218506, 0.5292562246322632, -0.2647797167301178, 0.008921358734369278, -0.07549162954092026, -0.3706923723220825, -0.3047190308570862, -0.23362581431865692, 0.5153272747993469, 0.021822329610586166, -0.2535426914691925, 0.19772179424762726, -0.9823338985443115, -0.08153635263442993, 0.17868831753730774, -0.23732136189937592, -0.38635945320129395, -0.19494028389453888, 0.09659240394830704, 0.38867607712745667, 0.07949429750442505, -0.5579738616943359, 0.3025309145450592, -0.6604357361793518, 0.061969831585884094, 0.20405350625514984, -0.14626149833202362, 0.20430532097816467, -0.29209691286087036, 0.46895161271095276, 0.5947433114051819, 0.303926944732666, -0.46655577421188354, -0.6162987351417542, -0.6473107933998108, -0.7738040685653687, -0.22600851953029633, 0.5863143801689148, -1.1434005498886108, 0.2838159501552582, -0.24274437129497528, -0.40903201699256897, -0.6467660665512085, -0.16407102346420288, 0.8038512468338013, 0.9043384790420532, 0.6835983991622925, -0.3377043306827545, -0.5672388076782227, -0.9598073363304138, 0.22847244143486023, -0.17913110554218292, -0.2551420331001282, 0.379865825176239, 0.1065075695514679, -0.3045400083065033, 0.42577505111694336, -0.37889984250068665, -0.9763454794883728, -0.23721075057983398, 0.12177956104278564, 0.21798589825630188, 0.6097507476806641, 0.8686224818229675, -0.84649258852005, -0.30040520429611206, 0.39843302965164185, -0.6354593634605408, 0.09701044857501984, -0.2602202892303467, 0.10364203155040741, 0.19180229306221008, 0.6393146514892578, -0.12105444073677063, 0.5812786817550659, 0.6511219143867493, -0.42558160424232483, 0.32676175236701965, -0.6118023991584778, 0.25449636578559875, -1.1412742137908936, 0.1028779074549675, -0.000060282181948423386, -0.2280726432800293, -0.5406748056411743, 0.15083180367946625, 0.14971111714839935, -0.1659606397151947, -0.7455760836601257, 0.6887003183364868, -0.6199071407318115, 0.09659352898597717, -0.08894933760166168, -0.14231441915035248, 0.16035838425159454, 0.25900542736053467, 0.570013165473938, 0.6472095251083374, 0.7976729869842529, -0.6155757904052734, -0.1480875015258789, 0.14377504587173462, -0.17243699729442596, 0.753857433795929, -0.5271833539009094, 0.05718636512756348, -0.23108746111392975, 0.042566750198602676, -0.899093747138977, -0.2908690571784973, 0.12180228531360626, -0.3023681044578552, 0.382301390171051, -0.19659890234470367, -0.3130618929862976, -0.2669435739517212, -0.3899992108345032, 0.61551433801651, 0.18157753348350525, -0.3660241365432739, 0.6733521223068237, 0.1369553655385971, 0.3413715064525604, -0.6290314197540283, -0.8273363709449768, -0.025906270369887352, 0.08537434041500092, -0.3467526137828827, 0.3675273656845093, 0.09282343089580536, 0.23259200155735016, -0.07695365697145462, -0.028100628405809402, -0.482983261346817, -0.011340932920575142, 0.21227025985717773, 0.3227843642234802, -0.2309635877609253, 0.15173396468162537, -0.19971245527267456, -0.19216673076152802, -0.34079670906066895, -0.1208072379231453, 0.6219213008880615, -0.2634807825088501, -0.4871768355369568, -0.45982444286346436, 0.4490543603897095, 0.7973200082778931, 0.019306186586618423, 0.33315548300743103, 0.6694930791854858, -0.4572422206401825, 0.6582319140434265, -0.6154863834381104, 0.0016234867507591844, -0.3875672221183777, 0.7419089674949646, -0.3815343379974365, -0.7585526704788208, 0.20886337757110596, 0.20916981995105743, -0.09839296340942383, 0.09033658355474472, 0.6059247851371765, -0.1488095223903656, 1.009257435798645, 0.9309712648391724, -0.007393484469503164, 0.20463311672210693, -0.11359952390193939, -0.057250965386629105, -0.7507468461990356, -0.23298360407352448, -0.36006638407707214, 0.084110789000988, -0.2986886203289032, -0.6607460975646973, 0.5568201541900635, 0.04672059416770935, -0.07863014191389084, -0.1303439885377884, -0.633572518825531, 0.5918365716934204, 0.31485599279403687, 0.4333046078681946, 0.20662175118923187, -0.017879795283079147, -0.5838671922683716, -0.2779541611671448, -0.29670605063438416, -0.20834855735301971, 1.2163262367248535, 0.0721028745174408, 0.3339291214942932, -0.08735431730747223, 0.595098078250885, -0.12790127098560333, 0.270041286945343, -0.850729763507843, 0.23757965862751007, -0.547269344329834, -0.4278196394443512, 0.0886361300945282, -0.027804438024759293, -0.7988779544830322, 0.42884230613708496, -0.4855150878429413, -0.3852050006389618, 0.14864982664585114, 0.5052317976951599, -0.5045086145401001, 0.22958925366401672, -0.5520594120025635, 0.8187713027000427, -0.6175118684768677, -0.26241976022720337, -0.026391321793198586, -0.8993975520133972, 0.42703771591186523, 0.03537725284695625, 0.2810390591621399, 0.1953742653131485, -0.2983663082122803, 0.09882234036922455, -0.34163931012153625, 0.857180655002594, -0.37403637170791626, -0.03965108469128609, -0.2648738920688629, -0.11985796689987183, -0.16619227826595306, 0.2481044977903366, 0.2994527220726013, 0.34218695759773254, 0.11723919957876205, -0.43459832668304443, -0.25119611620903015, 0.2480955272912979, -0.8010650873184204, -0.24563132226467133, -0.39230528473854065, -0.26188454031944275, -0.5242988467216492, 0.5796622633934021, 0.5927090048789978, 0.5295534729957581, -0.16943135857582092, 0.39989975094795227, 0.5787683129310608, -0.6227956414222717, -0.06840668618679047, 0.3864544630050659, -0.404602587223053, -0.7223865389823914, 0.8462365865707397, -0.178646519780159, 0.22137458622455597, 0.650351881980896, 0.3413861095905304, -0.28017815947532654, -0.7179970145225525, -0.45019394159317017, 0.31159889698028564, -0.5238056182861328, -0.25743773579597473, -0.6285108327865601, -0.02726146951317787, -0.3051254451274872, -0.62281733751297, -0.5324018597602844, 0.08432773500680923, -0.27138853073120117, 0.07896316051483154, -0.08184191584587097, 0.22831958532333374, -0.16592882573604584, 0.15354368090629578, -0.8759100437164307, 0.6282358765602112, 0.08903287351131439, 0.1804804801940918, -0.3796533942222595, -0.15256643295288086, -0.20642633736133575, 0.022399943321943283, -0.05193611979484558, -0.7718307375907898, 0.2995484173297882, 0.32046979665756226, 0.27326080203056335, 0.6808220744132996, -0.25543537735939026, 1.1231577396392822, -0.4477534592151642, 0.8386461734771729, 0.8355919718742371, -0.7799467444419861, 0.6908851861953735, -0.3277047276496887, 0.40467584133148193, 0.7688674330711365, 0.403961181640625, -0.37164315581321716, -0.34653642773628235, -0.27955129742622375, -0.9744381904602051, 0.19741524755954742, -0.16096943616867065, -0.01182568073272705, -0.32828986644744873, 0.3051448166370392, 0.1243334636092186, 0.28359952569007874, -0.6795921325683594, 0.13856980204582214, -0.66172194480896, -0.3651847839355469, -0.11347980797290802, -0.2556721568107605, -0.26185545325279236, -0.5762711763381958, 0.09334856271743774, -0.5152534246444702, 0.4748789370059967, 0.5614555478096008, -0.21685059368610382, 0.35601434111595154, -0.009374060668051243, 0.9753664135932922, 0.47511422634124756, -0.20255619287490845, 0.17023253440856934, -0.20602257549762726, -1.0778052806854248, 0.0824304148554802, -0.18444857001304626, 0.3449937701225281, 0.05628260597586632, 0.42774102091789246, 0.6304070949554443, 0.31590887904167175, -0.8648902177810669, 1.1029579639434814, -0.3041960299015045, -0.5531665682792664, -0.33906134963035583, -0.2079843282699585, -0.13098682463169098, -0.0705958902835846, 0.11261807382106781, -0.012409450486302376, 0.07775376737117767, -0.30193692445755005, 0.2247413545846939, 0.23556013405323029, -0.6395639777183533, -0.3401944637298584, 0.6246543526649475, 0.27787697315216064, 0.5623997449874878, 0.7633461952209473, 0.096284881234169, -0.3305412828922272, 0.5365649461746216, 0.5502867698669434, 0.6029343605041504, -0.06133298575878143, 0.09424737840890884, 0.3422740399837494, 0.42006945610046387, 0.12274189293384552, 0.6057618260383606, -0.03207661211490631, -0.7906716465950012, -0.4851141571998596, -0.3452923595905304, -0.2093660980463028, 0.5169999003410339, -0.7069381475448608, 0.7144240736961365, -0.7871352434158325, 0.27416834235191345, -0.27023813128471375, -0.19846369326114655, -0.7834921479225159, 0.6380415558815002, 0.375387579202652, 0.7078682780265808, -0.8103519082069397, 0.9821268916130066, 1.0182114839553833, -0.557120144367218, -0.6571194529533386, -0.0032977061346173286, 0.2802395820617676, -1.0947823524475098, 0.5683670043945312, 0.5959395170211792, 0.04265298694372177, -0.21790951490402222, -0.26709356904029846, -0.6648492813110352, 0.8411707878112793, 0.3702467679977417, -0.49903836846351624, -0.12109261006116867, 0.3024669885635376, 0.6015445590019226, -0.38465818762779236, 0.3395182490348816, 0.13263683021068573, 0.33353373408317566, 0.22950339317321777, -0.9945952892303467, -0.012774154543876648, -0.2763911783695221, -0.08561153709888458, -0.030459709465503693, -0.37989774346351624, 0.7431652545928955, -0.1442624032497406, -0.12355298548936844, 0.11948567628860474, 0.4009036421775818, 0.48046451807022095, 0.1637435257434845, 0.6577627062797546, 0.6669248938560486, 0.6503008008003235, 0.0012569052632898092, 1.051544427871704, -0.4803096055984497, 0.044794946908950806, 0.9175371527671814, -0.3525705933570862, 0.5289151072502136, 0.5893086791038513, 0.4726411700248718, 0.06640918552875519, 0.3076930344104767, 0.11767366528511047, 0.7898904085159302, 0.11457403749227524, -0.2203546166419983, -0.38127052783966064, 0.0230899415910244, -0.6961895823478699, 0.6637408137321472, 0.607542872428894, -0.1436663419008255, -0.44928571581840515, 0.5372037291526794, 0.10540321469306946, -0.09531371295452118, -0.2591957151889801, 0.7173810601234436, -0.09669432789087296, -0.13902594149112701, 0.7203295826911926, -0.5968225598335266, 0.8401337265968323, -0.5723387598991394, -0.23178879916667938, -0.0793418437242508, 0.2577614486217499, -0.07469132542610168, -0.628411591053009, 0.39185598492622375, -0.30897000432014465, 0.010191470384597778, -0.07982221245765686, 0.547862708568573, -0.24513232707977295, -0.4828222393989563, 0.31973838806152344, 0.29461759328842163, 0.18067823350429535, -0.026954203844070435, -0.6857982873916626, 0.06124858558177948, 0.024305950850248337, 0.13947153091430664, 0.3770390748977661, 0.5634568929672241, 0.0318412110209465, 0.34372222423553467, 0.5194084644317627, 0.2922096252441406, -0.1969851404428482, 0.028228474780917168, 1.0753214359283447, -0.49183204770088196, -0.6813771724700928, -0.4207592308521271, 0.7859050631523132, -0.16201533377170563, -0.6792860627174377, 0.22233076393604279, 0.6130288243293762, 0.98283451795578, -0.147119402885437, 0.7303361296653748, 0.07702983915805817, 0.4430978298187256, -0.9274874925613403, 0.7321665287017822, -1.1100306510925293, -0.133928120136261, -0.28120550513267517, -0.35368868708610535, -0.8537164926528931, 0.7774751782417297, 0.01703449711203575, -0.15035003423690796, 1.0007517337799072, 0.5051057934761047, -0.17840571701526642, -0.36580169200897217, 0.6315978765487671, 0.15943528711795807, 0.4667434096336365, 0.5268474817276001, 0.4338621199131012, -0.19998592138290405, 0.35209473967552185, -0.2121095359325409, -0.3793520927429199, -0.41459399461746216, -0.9440405964851379, -0.9481559991836548, -0.5364343523979187, -0.24955207109451294, -0.14273105561733246, 0.2123923897743225, 0.7208867073059082, 0.8293375968933105, -0.4634263217449188, 0.09349522739648819, -0.15499413013458252, -0.41518810391426086, -0.11361414194107056, -0.13739895820617676, 0.5347387790679932, -0.39001962542533875, -0.47106048464775085, 0.5278992652893066, 0.6275563836097717, 0.3049394190311432, -0.11900060623884201, 0.17318835854530334, 0.013394714333117008, -0.4646412432193756, 0.6068202257156372, 0.393852561712265, -0.5876209735870361, -0.3725661635398865, -0.08025564253330231, -0.19396251440048218, 0.30732977390289307, 0.8527682423591614, -0.8578139543533325, 0.8065499067306519, 0.11790414154529572, 0.6698646545410156, 0.2350342720746994, -0.12915977835655212, 0.47859978675842285, -0.6402360200881958, 0.8846059441566467, 0.530787467956543, 0.4646559953689575, 0.23879244923591614, -0.3818148076534271, 0.37674999237060547, 0.22582978010177612, -0.18581460416316986, -0.6664443016052246, 0.18056663870811462, -1.2502413988113403, -0.3546793460845947, 0.9888513088226318, -0.13703285157680511, -0.1516811102628708, -0.4523404836654663, -0.47474128007888794, -0.045412976294755936, 0.10613054782152176, 0.6561490893363953, 0.2305910438299179, 0.01618368551135063, -0.2591809034347534, -0.519397497177124, 0.5047783255577087, 0.45361244678497314, -0.7345256805419922, -0.538917601108551, 0.7179054617881775, 0.23259536921977997, 0.3854823410511017, 1.0005648136138916, -0.521323025226593, 0.522651731967926, -0.18742117285728455, 0.25103679299354553, -0.27783504128456116, -0.5007553696632385, -0.14468757808208466, 0.2475818246603012, -0.3274719715118408, -0.5095158219337463 ]
http://arxiv.org/abs/2404.15271v1
http://arxiv.org/pdf/2404.15271v1
Automatic Layout Planning for Visually-Rich Documents with Instruction-Following Models
2024-04-23T17:58:33
2024-04-23T17:58:33
Wanrong Zhu, Jennifer Healey, Ruiyi Zhang, William Yang Wang, Tong Sun
cs.CV
cs.CV, cs.AI, cs.CL
Recent advancements in instruction-following models have made user interactions with models more user-friendly and efficient, broadening their applicability. In graphic design, non-professional users often struggle to create visually appealing layouts due to limited skills and resources. In this work, we introduce a novel multimodal instruction-following framework for layout planning, allowing users to easily arrange visual elements into tailored layouts by specifying canvas size and design purpose, such as for book covers, posters, brochures, or menus. We developed three layout reasoning tasks to train the model in understanding and executing layout instructions. Experiments on two benchmarks show that our method not only simplifies the design process for non-professionals but also surpasses the performance of few-shot GPT-4V models, with mIoU higher by 12% on Crello. This progress highlights the potential of multimodal instruction-following models to automate and simplify the design process, providing an approachable solution for a wide range of design tasks on visually-rich documents.
[ -0.4988178014755249, -0.3484233617782593, 0.6228522062301636, 0.29968035221099854, 0.03374575823545456, -0.3200397193431854, 0.08428788185119629, -0.21731138229370117, 0.050338320434093475, 0.5409839749336243, -0.8556399345397949, -0.6833264827728271, -0.2979764938354492, -0.20091742277145386, -0.08021263778209686, 0.3864486813545227, -0.33195817470550537, -0.23463046550750732, -0.23072417080402374, 0.10141744464635849, -0.7996903657913208, 0.050542641431093216, 0.11192233860492706, 0.07931310683488846, 0.8482354283332825, 0.7519950270652771, 0.6288774013519287, 0.825432538986206, 0.40449652075767517, 0.2863328158855438, 0.34934520721435547, 0.5280394554138184, -0.11574513465166092, 0.0760200098156929, -0.008523987606167793, -0.17075614631175995, -0.5455462336540222, -0.01856796070933342, 0.38311630487442017, 0.5535274147987366, 0.02498694695532322, -0.08916731923818588, 0.1116565689444542, 0.5885083675384521, -0.8635537028312683, 0.2832833230495453, 0.0076761143282055855, 0.1441483050584793, 0.01655852422118187, -0.5238535404205322, -0.7891093492507935, -0.3444579839706421, -0.002911555813625455, -1.0369517803192139, 0.12140880525112152, 0.01125358883291483, 0.40849170088768005, 0.047404397279024124, -0.44379326701164246, -0.40383055806159973, -0.38500556349754333, 0.6221323013305664, -0.3434208035469055, 0.7669057846069336, 0.39695850014686584, 0.21096301078796387, -0.0071044797077775, -0.6099094152450562, -0.33024853467941284, -0.17591999471187592, -0.1928461343050003, 0.3484416902065277, 0.1782377064228058, 0.2509145736694336, 0.3441932201385498, -0.05441081523895264, -0.8843631148338318, -0.10712263733148575, -0.37417805194854736, -0.1396435797214508, 0.5636444091796875, 0.1960345059633255, 0.6860414743423462, -0.04810810461640358, -0.6768670082092285, -0.1792629361152649, -0.47368356585502625, -0.08883055299520493, 0.4776422679424286, -0.0018562156474217772, -0.15702052414417267, 0.6087064146995544, -0.18197821080684662, 0.8211541175842285, -0.1571328043937683, -0.17755180597305298, -0.10125108063220978, -0.6192804574966431, -0.08559022843837738, -0.2987293601036072, 0.3842695355415344, 0.6014090776443481, 0.14057528972625732, 0.14083217084407806, -0.3769485354423523, -0.19641321897506714, 0.3006899058818817, -0.81297367811203, -0.838728129863739, -0.19905824959278107, -0.4044928550720215, -0.13556233048439026, -0.24725688993930817, -0.8549352884292603, -0.3577873706817627, -0.4923323690891266, 0.5510433316230774, -0.6169400811195374, 0.05706530436873436, -0.031420253217220306, -0.2358987182378769, 0.09317190200090408, 0.9011176228523254, -1.0151554346084595, -0.13869985938072205, 0.2985752522945404, 0.7020987272262573, 0.22047561407089233, -0.35642772912979126, -0.48944783210754395, 0.6129196286201477, -0.6513776183128357, 1.0292558670043945, -0.7633673548698425, -0.6559646129608154, -0.0623898059129715, -0.22670212388038635, -0.07913089543581009, 0.054616570472717285, 0.28272363543510437, -0.3802375793457031, 0.392322301864624, -0.3066815435886383, -0.43834686279296875, -0.3009640872478485, 0.3854583501815796, -0.5943629145622253, 0.4099155366420746, 0.15986046195030212, -0.6618483662605286, 0.25938042998313904, -0.5652497410774231, -0.5163013935089111, 0.14155130088329315, -0.23536227643489838, -0.3011009097099304, -0.01952059008181095, 0.2656366229057312, 0.22746790945529938, 0.24913932383060455, -0.33299222588539124, -0.47298723459243774, -0.42818665504455566, -0.24196405708789825, -0.3674556016921997, 0.6244960427284241, 0.03880609571933746, -0.21829430758953094, 0.3563322424888611, -0.6350333094596863, 0.2874784767627716, -0.0016146665439009666, -0.44454342126846313, -0.22370107471942902, -0.1766400933265686, 0.304379403591156, 0.3809221088886261, 0.3563660979270935, -0.1280701458454132, 0.6390582919120789, 0.061412516981363297, -0.038258254528045654, 0.8517702221870422, 0.0005482335691340268, 0.957082986831665, -0.17701290547847748, 0.7252355813980103, -0.43835389614105225, 0.2583784759044647, -0.9085792303085327, -0.5108227133750916, -0.5964105129241943, -0.4970373511314392, 0.12875866889953613, 0.5692059993743896, -0.8191078305244446, -0.008200152777135372, 0.22078825533390045, -0.4615495800971985, 0.16992729902267456, 0.2442086935043335, 0.4827945828437805, 0.3202672600746155, 0.3135347068309784, -0.41410309076309204, -0.2810915410518646, -0.9509683847427368, 0.06964997947216034, 0.19408082962036133, 0.14979104697704315, 0.2829524278640747, 0.4535023272037506, -0.21069329977035522, 0.4261524975299835, -0.8261764645576477, -0.3878467082977295, -0.34821900725364685, 0.27435871958732605, -0.34634876251220703, 0.4433887302875519, 0.5624952912330627, -0.7722055912017822, -0.8285725712776184, 0.046903274953365326, -0.7156895995140076, -0.18518276512622833, -0.43268051743507385, -0.5217164158821106, 0.00885529164224863, 0.14957614243030548, -0.769162654876709, 0.8200662136077881, 0.1591465175151825, -0.3001861274242401, 0.7638548612594604, -0.41181620955467224, 0.042523521929979324, -0.9280896782875061, -0.13609598577022552, 0.38304248452186584, 0.0808589830994606, -0.6220531463623047, 0.17870450019836426, 0.4364835321903229, -0.27880364656448364, -0.14135855436325073, 0.635364830493927, -0.9428212642669678, -0.23327645659446716, -0.35009637475013733, -0.16025671362876892, 0.7084686160087585, 0.7268754839897156, 0.18112404644489288, 0.7812212109565735, 0.3172408640384674, -0.29827916622161865, 0.2186490297317505, 0.4884946942329407, -0.32545092701911926, 0.7715239524841309, -0.3117336630821228, -0.1912062168121338, -0.21153919398784637, 0.48541131615638733, -1.113323450088501, -0.527137815952301, 0.3137907385826111, -0.155033677816391, 0.39679139852523804, -0.29045072197914124, -0.6294427514076233, -0.2621341645717621, -0.31690356135368347, 0.13103613257408142, 0.0339474119246006, -0.349751353263855, 0.9593933820724487, 0.010387208312749863, -0.32071593403816223, -0.4917001724243164, -0.5625362992286682, -0.15635596215724945, 0.010363033972680569, -0.851161539554596, 0.4793802797794342, -0.2354915589094162, 0.039494551718235016, -0.3400239646434784, -0.10976184159517288, -0.222085639834404, -0.12272057682275772, 0.2872301936149597, 0.471855491399765, -0.061858829110860825, 0.015530713833868504, 0.020744184032082558, -0.14748072624206543, -0.2922942042350769, -0.35822901129722595, 0.33236217498779297, 0.12966226041316986, -0.6969066858291626, -1.0528285503387451, 0.713293194770813, 0.4804377257823944, -0.5667403936386108, 0.2764092981815338, 0.4997740089893341, -0.2796950340270996, -0.21091565489768982, -0.2839130461215973, -0.0508987195789814, -0.5045367479324341, 0.3140139579772949, -0.41269591450691223, -0.054167479276657104, 0.1463005244731903, 0.10917365550994873, 0.5535817742347717, 0.008541088551282883, 0.4485582709312439, -0.639477550983429, 1.2713637351989746, 0.9313027262687683, 0.6757264733314514, 0.8835033178329468, -0.3469769358634949, 0.06694180518388748, -0.6350516676902771, -0.43064752221107483, -0.12032569944858551, -0.505140483379364, -0.24935182929039001, -0.6320397853851318, 0.5021665692329407, -0.07186037302017212, 0.015332934446632862, 0.44368526339530945, -0.5011807084083557, 0.6156051158905029, 0.7385287284851074, -0.01759982481598854, 0.11421883851289749, 0.02224666438996792, -0.27375084161758423, 0.21528318524360657, -0.639371395111084, -0.45855802297592163, 0.6707125902175903, 0.17072176933288574, 1.0119949579238892, -0.0161907821893692, 0.7292075753211975, 0.05194846913218498, 0.3659496009349823, -0.5880933403968811, 0.5030548572540283, 0.03412633389234543, -0.5527322888374329, -0.25903499126434326, -0.17871645092964172, -0.5538294911384583, 0.3314407765865326, -0.1629864126443863, -0.5981726050376892, 0.4469519257545471, 0.3444807231426239, -0.37697553634643555, 0.21257559955120087, -1.2311567068099976, 0.9811263084411621, -0.5483235120773315, -0.4435272216796875, -0.044913001358509064, -0.5090346932411194, 0.38917726278305054, 0.16396091878414154, 0.24809972941875458, -0.11628927290439606, 0.04826732352375984, 0.2555081844329834, -0.26801398396492004, 0.7565981149673462, -0.33521097898483276, -0.07710610330104828, 0.2791404724121094, 0.32804450392723083, 0.39257729053497314, -0.23932293057441711, 0.1455015391111374, -0.4315047562122345, -0.0052219294011592865, -0.3552066683769226, -0.8055214881896973, 0.589951753616333, -0.5325552821159363, -0.4260810911655426, -0.12325575947761536, -0.9753641486167908, 0.01662440598011017, 0.5208521485328674, 0.2968886196613312, 0.8477840423583984, -0.15223905444145203, -0.0045596580021083355, 0.7875910401344299, -0.2986453175544739, 0.4004845917224884, 0.13130974769592285, -0.18765340745449066, -0.2888329029083252, 1.0579817295074463, 0.33564111590385437, 0.07096546143293381, 0.6461938619613647, -0.023389821872115135, -0.4756987392902374, -0.4070965051651001, -0.8181675672531128, -0.06448450684547424, -0.9302209615707397, 0.01760348118841648, -0.5568065643310547, 0.07456965744495392, -0.3040297329425812, -0.6175053715705872, -0.18568405508995056, -0.4945510923862457, -0.2879282534122467, 0.24714894592761993, -0.3297131657600403, 0.8590039610862732, 0.14407487213611603, 0.33915969729423523, -0.6568340063095093, 0.3043797016143799, 0.553116500377655, 0.4401019215583801, 0.06062361225485802, -0.2890876531600952, -0.08872506767511368, -0.14552824199199677, -0.8798131346702576, -1.0632929801940918, 0.3034176230430603, -0.1015184074640274, 0.7587011456489563, 0.489254891872406, -0.04604101553559303, 0.6007750630378723, -0.6031046509742737, 0.262163370847702, 0.4278624951839447, -0.40153801441192627, 0.6121939420700073, -0.6648169755935669, 0.5329638719558716, 0.2738056480884552, 0.4176482856273651, -0.3054082691669464, 0.22807902097702026, -0.5963937044143677, -0.7411791682243347, 0.5736124515533447, 0.21071645617485046, -0.0009573791176080704, 0.2807103097438812, 0.030192773789167404, 0.1339862048625946, 0.020462878048419952, -0.438189834356308, 0.14739225804805756, -0.4856051504611969, -0.2556895613670349, 0.11575241386890411, -0.19790787994861603, -0.17798492312431335, -0.022993043065071106, 0.6434627175331116, -0.38134628534317017, 0.443153977394104, -0.28047922253608704, -0.2579249143600464, 0.17383694648742676, 0.16618521511554718, 1.0401026010513306, 0.9818663001060486, 0.08478858321905136, -0.07298065721988678, -0.1521349847316742, -0.07232049107551575, 0.12223435938358307, 0.2811623215675354, -0.1421024352312088, -0.19226548075675964, 0.3909967243671417, 0.7642028331756592, 0.27373000979423523, -0.4665062725543976, 0.6985260844230652, -0.13328638672828674, -0.31465744972229004, -0.38045963644981384, 0.22156524658203125, 0.15933525562286377, 0.3905232548713684, 0.11393189430236816, 0.1393272429704666, 0.24582771956920624, -0.29226529598236084, 0.4076620638370514, 0.35365059971809387, -0.16836416721343994, -0.33918169140815735, 0.7093578577041626, 0.30648985505104065, -0.27656054496765137, 0.5898338556289673, 0.12304777652025223, -0.19942717254161835, 0.6633634567260742, 0.4538639783859253, 0.44344449043273926, -0.0696985051035881, 0.5109096169471741, 0.14896301925182343, 0.08432672172784805, 0.10689413547515869, 0.24372194707393646, -0.42066338658332825, -0.2867642939090729, -0.15733937919139862, -0.22449049353599548, -0.5035826563835144, -0.45210444927215576, -0.5395010113716125, 0.4540223777294159, -0.7256262302398682, 0.03169678896665573, 0.11269157379865646, -0.15568678081035614, -0.6437968611717224, 0.2983752191066742, 0.4683557450771332, 1.1564255952835083, -0.5591637492179871, 0.544660747051239, 0.7050440311431885, -0.6127021908760071, -0.562412679195404, 0.20726248621940613, 0.4518570601940155, -0.6457402110099792, 0.4692695736885071, 0.5550942420959473, -0.047525450587272644, -0.0005743785877712071, -0.3646865785121918, -0.5293352007865906, 1.1143074035644531, 0.029958974570035934, -0.5701860785484314, -0.5271432399749756, -0.33896493911743164, 0.1385529488325119, -0.2864547371864319, 0.3521450459957123, -0.07267732173204422, 0.5065571665763855, 0.40220528841018677, -0.4010065495967865, -0.3084326386451721, -0.3458346128463745, 0.11483853310346603, 0.2840319573879242, -0.7103811502456665, 0.5191701054573059, -0.3611200153827667, 0.0015810950426384807, 0.2900855243206024, 0.67619389295578, 0.4512682855129242, 0.3768095076084137, 0.4647164046764374, 0.45455628633499146, 0.6828612089157104, 0.12829779088497162, 1.0770468711853027, -0.20813460648059845, -0.14889541268348694, 1.1241153478622437, -0.04061216115951538, 0.5404749512672424, 0.14106570184230804, 0.34165892004966736, 0.5583487749099731, 0.5340001583099365, 0.07833103835582733, 0.8015733361244202, -0.3349257707595825, -0.11820915341377258, -0.3916073441505432, 0.0643075555562973, -0.2115173637866974, 0.3527742922306061, 0.4426465332508087, -0.403439462184906, -0.4255366325378418, 0.02571435645222664, -0.27700275182724, 0.012349508702754974, -0.16807562112808228, 0.5317835807800293, -0.13598357141017914, -0.5252373814582825, 0.21792533993721008, 0.1486649364233017, 0.15580210089683533, -0.5480362176895142, -0.3279458284378052, -0.2583155632019043, 0.0760638415813446, -0.23225979506969452, -1.2074986696243286, -0.025577396154403687, -0.3426028788089752, -0.26559093594551086, -0.6931145787239075, 0.7295210957527161, -0.20166455209255219, -0.42276349663734436, -0.0006051663658581674, 0.47042006254196167, -0.2763109505176544, 0.034808944910764694, -0.6111980676651001, 0.02739802561700344, 0.0883055180311203, -0.19018501043319702, 0.3998744785785675, 0.48426583409309387, -0.46864762902259827, 0.7642040848731995, 0.535243570804596, -0.4441203773021698, 0.1612701416015625, 0.07022491097450256, 0.8529803156852722, -0.43263909220695496, -0.7691357731819153, -0.454150527715683, 0.7467377185821533, -0.01903378777205944, -0.1974318027496338, 0.46425795555114746, 0.6224901676177979, 0.7794376015663147, -0.144931361079216, 0.7844023108482361, 0.31696557998657227, -0.036272771656513214, -0.5278711318969727, 0.6699901223182678, -0.7123247385025024, 0.02503306418657303, -0.3656329810619354, -1.086503028869629, -0.45354291796684265, 0.8162039518356323, -0.587872326374054, 0.08423382043838501, 0.3772401511669159, 0.7040942907333374, -0.3208574652671814, 0.06742986291646957, 0.23132410645484924, -0.466286838054657, 0.47872787714004517, 0.49634280800819397, 0.8747615218162537, 0.15268297493457794, 0.6243157982826233, -0.5080863237380981, -0.3289988040924072, -0.36830368638038635, -0.672110915184021, -0.9361296892166138, -0.48783403635025024, -0.15965862572193146, 0.16513963043689728, -0.12797586619853973, 0.8016469478607178, 0.9308915138244629, -0.2980763912200928, 0.05652527138590813, 0.09577609598636627, 0.1318439543247223, -0.21657873690128326, -0.19686532020568848, 0.2650797665119171, 0.016385801136493683, -0.42570924758911133, 0.3481461703777313, 0.5767165422439575, 0.3084315359592438, -0.23641012609004974, -0.1496388167142868, -0.2896479368209839, 0.11333602666854858, 0.5247523188591003, 0.2935793399810791, -0.6482099294662476, -0.06006384640932083, -0.06120209023356438, -0.40912535786628723, 0.18344441056251526, 0.6136897802352905, -0.3159250319004059, 0.653363823890686, 0.7662585973739624, 0.4173263907432556, 0.3995421826839447, 0.2303495705127716, 0.5214089155197144, -0.7984663844108582, -0.053672466427087784, -0.09000121057033539, 0.4388888478279114, 0.3273833692073822, -0.34851139783859253, 0.37861189246177673, 0.17244312167167664, -0.34320268034935, -0.5200899243354797, 0.44632241129875183, -0.7652207016944885, -0.246907576918602, 0.7596260905265808, -0.14491815865039825, -0.018122324720025063, 0.23181603848934174, -0.5067738890647888, 0.08598323166370392, -0.28387516736984253, 0.6716197729110718, 0.5815744996070862, -0.5483851432800293, -0.7099214196205139, -0.74275141954422, 0.06846839189529419, -0.03654316067695618, -0.9317092299461365, -0.1097072958946228, 0.9198861122131348, 0.15283721685409546, 0.28786179423332214, 0.8167176246643066, 0.1545247882604599, 0.7061812877655029, 0.04110565036535263, 0.1257789582014084, -0.33329537510871887, -0.962483286857605, 0.3665713965892792, 0.4032430946826935, -0.17534604668617249, -0.17097587883472443 ]
http://arxiv.org/abs/2404.15269v2
http://arxiv.org/pdf/2404.15269v2
Aligning LLM Agents by Learning Latent Preference from User Edits
2024-04-23T17:57:47
2024-06-09T21:45:09
Ge Gao, Alexey Taymanov, Eduardo Salinas, Paul Mineiro, Dipendra Misra
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
We study interactive learning of LLM-based language agents based on user edits made to the agent's output. In a typical setting such as writing assistants, the user interacts with a language agent to generate a response given a context, and may optionally edit the agent response to personalize it based on their latent preference, in addition to improving the correctness. The edit feedback is naturally generated, making it a suitable candidate for improving the agent's alignment with the user's preference, and for reducing the cost of user edits over time. We propose a learning framework, PRELUDE that infers a description of the user's latent preference based on historic edit data. The inferred user preference descriptions are used to define prompts for generating responses in the future. This avoids fine-tuning the agent, which is costly, challenging to scale with the number of users, and may even degrade its performance on other tasks. Furthermore, learning descriptive preference improves interpretability, allowing the user to view and modify the learned preference. However, user preference can be complex, subtle, and vary based on context, making it challenging to learn. To address this, we propose a simple yet effective algorithm named CIPHER that leverages the LLM to infer the user preference for a given context based on user edits. In the future, CIPHER retrieves inferred preferences from the k-closest contexts in the history, and forms an aggregate preference for response generation. We introduce two interactive environments -- summarization and email writing, and use a GPT-4 simulated user for evaluation. On both tasks, CIPHER outperforms several baselines by achieving the lowest edit distance cost while only having a small overhead in LLM query cost. Our analysis reports that user preferences learned by CIPHER show significant similarity to the ground truth latent preferences.
[ -0.13804863393306732, -0.6127150058746338, 0.7286841869354248, -0.14231038093566895, 0.055546827614307404, 0.3438412845134735, -0.4118158519268036, -0.3472205102443695, 0.4565456807613373, 0.48119547963142395, -0.6064605712890625, -0.5287027955055237, -0.3144451081752777, 0.18401184678077698, 0.26364898681640625, 0.9847949147224426, -0.04906996339559555, -0.0059563652612268925, -0.25798025727272034, -0.03474358469247818, -0.243422269821167, -0.5685650706291199, -0.7652242183685303, -0.349816232919693, 0.5631960034370422, 0.5788084268569946, 0.8507341146469116, 0.8566005229949951, 0.33549782633781433, 0.384112685918808, 0.0683651715517044, 0.27540192008018494, -0.521385669708252, 0.4003128111362457, -0.15070798993110657, -0.6452957987785339, -0.7591394186019897, 0.05871555581688881, 0.4375263452529907, 0.4692164957523346, 0.038525424897670746, -0.19325873255729675, 0.008426705375313759, 0.6444433331489563, -0.5437427163124084, 0.08310969173908234, -0.8706316351890564, 0.07551606744527817, -0.27837368845939636, -0.525364100933075, -0.4647108316421509, -0.2830771207809448, 0.21182116866111755, -0.7706691026687622, -0.003014231100678444, -0.12091460824012756, 0.47021394968032837, 0.34136763215065, -0.3696659505367279, -0.4815562069416046, -0.47143062949180603, 0.7120900750160217, -0.4450394809246063, 0.5523571968078613, 0.6012223362922668, 0.30602407455444336, -0.2695136070251465, -0.6444536447525024, -0.50530606508255, -0.14058546721935272, -0.022803895175457, 0.43515220284461975, 0.1427159160375595, -0.0001132184115704149, 0.09607232362031937, -0.0720236524939537, -0.5235505104064941, 0.2620898187160492, -0.028902141377329826, -0.48776984214782715, 0.4856469929218292, 0.3807962238788605, 0.2583081126213074, 0.18465442955493927, -0.23284316062927246, -0.09334181994199753, -0.7781119346618652, 0.39148610830307007, 0.6005605459213257, 0.22397136688232422, -0.27817976474761963, 0.5383260250091553, -0.09640851616859436, 0.5953527688980103, 0.408281534910202, -0.5116754770278931, 0.17193210124969482, 0.046398892998695374, -0.06238779425621033, 0.12492671608924866, 0.4099131226539612, 0.6394126415252686, 0.14163242280483246, -0.44747450947761536, -0.3267207145690918, 0.1589750051498413, 0.20903392136096954, -0.7229815721511841, -0.1951761096715927, 0.02019248902797699, -0.1259402185678482, -0.35896652936935425, -0.0882016122341156, -0.5112016797065735, -0.46534472703933716, -0.391629695892334, 0.03960629925131798, -0.330663800239563, 0.30038416385650635, -0.17359422147274017, 0.14816002547740936, 0.20077399909496307, 0.6797305345535278, -1.2420940399169922, 0.3833143413066864, 0.6123467087745667, 0.5905702710151672, -0.36673447489738464, -0.41933366656303406, -0.7409869432449341, 0.2625446617603302, -0.13319635391235352, 0.7657399773597717, -0.7737279534339905, -0.3202401399612427, -0.193010151386261, -0.1937187761068344, 0.06000277027487755, -0.26534852385520935, 0.07715044170618057, -1.0118850469589233, 0.4864140748977661, -0.13100279867649078, -0.7335987687110901, 0.2787335515022278, 0.12854520976543427, -0.5710980296134949, 0.7081359028816223, 0.25544309616088867, -0.6836758852005005, 0.4066849648952484, -0.5235175490379333, -0.2782469093799591, 0.08791913837194443, -0.3105517327785492, -0.47644439339637756, -0.08771533519029617, 0.3229827582836151, 0.1942232847213745, 0.0825018659234047, -0.0313851572573185, -0.25641950964927673, -0.3520011603832245, 0.7109736204147339, -0.2625959813594818, 0.5334721207618713, 0.24347928166389465, -0.13663141429424286, 0.23978984355926514, -0.4284965693950653, -0.12643155455589294, -0.10517536103725433, -0.6433467864990234, -0.058869779109954834, -0.08220266550779343, -0.24825412034988403, -0.09008489549160004, 0.6905206441879272, -0.31297993659973145, 0.47200483083724976, -0.7604812383651733, 0.25906258821487427, 1.2732971906661987, 0.06803171336650848, 0.8666631579399109, -0.43752217292785645, 0.534984290599823, -0.19112268090248108, 0.08438921719789505, -0.0727301687002182, -0.20732922852039337, -0.613124430179596, -0.18891233205795288, 0.18783172965049744, 0.4329511225223541, -0.667344868183136, 0.29096993803977966, -0.25092610716819763, -0.0964764878153801, -0.39034512639045715, 0.4201797842979431, 0.2700163722038269, 0.8135451674461365, 0.21473592519760132, -0.2839182913303375, -0.4121319651603699, -0.6594899892807007, -0.29824554920196533, -0.49880126118659973, 0.0006379691767506301, 0.5265418887138367, 0.04876990616321564, -0.28942403197288513, 1.1943131685256958, -0.6609605550765991, -0.13869014382362366, -0.03793952986598015, -0.1246052160859108, -0.036175329238176346, 0.2046690434217453, 0.3716428577899933, -0.7788819074630737, -0.7379084825515747, 0.06127132847905159, -0.5246627926826477, -0.33692994713783264, -0.05114269629120827, -0.1097259521484375, 0.5153148174285889, 0.4123726785182953, -0.17082366347312927, 0.20508871972560883, 0.28659334778785706, -0.27162331342697144, 0.3454577326774597, -0.21411529183387756, -0.03446399047970772, -1.3127071857452393, -0.17581817507743835, -0.35632815957069397, -0.4007377326488495, -0.390060693025589, -0.09579524397850037, 0.24692368507385254, 0.11214012652635574, -0.501189649105072, 0.7903892397880554, -0.46883222460746765, -0.09384536743164062, -0.3125722110271454, 0.1284102350473404, -0.2522600591182709, 0.7442201375961304, 0.18254856765270233, 1.1110528707504272, 0.3236960470676422, -0.32740896940231323, 0.19096378982067108, 0.28867796063423157, 0.03893095254898071, 0.5031712651252747, -0.22540152072906494, 0.6446568369865417, -0.08328469097614288, 0.051275964826345444, -0.879688024520874, -0.31014934182167053, 0.33481577038764954, -0.5710835456848145, 0.19807854294776917, -0.29056477546691895, -0.19516874849796295, 0.2956715524196625, -0.5647791028022766, 0.15933337807655334, 0.4794001579284668, -0.47611504793167114, 0.6280840039253235, 0.3237074911594391, -0.20871664583683014, -0.8399198651313782, -0.4182452857494354, 0.08765480667352676, -0.2785401940345764, -0.5111641883850098, 0.4993199408054352, -0.5545471906661987, -0.22319366037845612, 0.012581635266542435, -0.2425224334001541, 0.021030360832810402, 0.33723434805870056, 0.40340882539749146, 0.3086489737033844, -0.01974998600780964, 0.05303432047367096, 0.12631042301654816, -0.3424204885959625, -0.20503801107406616, -0.3126586675643921, 0.4107237160205841, -0.263568639755249, -0.3325112462043762, -0.2305539846420288, -0.011492354795336723, 0.4785861670970917, -0.2339368760585785, 0.5135126113891602, 0.24130839109420776, -0.16033338010311127, -0.18610748648643494, -0.5167054533958435, -0.5099093317985535, -0.5156711935997009, 0.0605597198009491, -0.5379939675331116, -1.102629542350769, 0.670841634273529, 0.0040478790178895, 0.10488783568143845, 0.05583919212222099, 0.7790870666503906, -0.2902119755744934, 0.8101296424865723, 0.6055537462234497, -0.13536527752876282, 0.7404153943061829, 0.016471853479743004, -0.1816132366657257, -0.8302115797996521, -0.0786503404378891, -0.22645121812820435, -0.3433297872543335, -0.5327641367912292, -0.1629263162612915, 0.5240554213523865, -0.08481753617525101, -0.08046868443489075, 0.04383422061800957, -0.10172927379608154, 0.6527649760246277, 0.3986364006996155, 0.3473416566848755, 0.31110620498657227, 0.11622639745473862, -0.2635057270526886, -0.22370564937591553, -0.2771603763103485, -0.6955676078796387, 1.4433836936950684, 0.13223204016685486, 0.9279578328132629, 0.5045479536056519, 0.906791627407074, 0.5195567011833191, 0.32801350951194763, -0.6862630248069763, 0.45618969202041626, 0.28554481267929077, 0.04356371983885765, -0.40807291865348816, -0.3182849586009979, -1.0498526096343994, 0.1043158620595932, -0.30738598108291626, -0.8667760491371155, -0.21124470233917236, 0.3791201114654541, -0.3257192373275757, 0.013102618977427483, -0.4937891960144043, 0.5845739245414734, -0.29059961438179016, -0.7365319132804871, -0.014692398719489574, -0.8886012434959412, -0.08320660144090652, -0.1598917841911316, -0.17086371779441833, 0.15188585221767426, -0.45913609862327576, 0.5891669988632202, -0.4675963222980499, 0.9779307246208191, 0.07018045336008072, 0.05428255721926689, -0.13133788108825684, 0.23897716403007507, 0.7100743055343628, 0.3780639171600342, -0.21099574863910675, -0.426111102104187, -0.4648325443267822, -0.16560129821300507, -0.8940607309341431, 0.7735520005226135, -1.0714207887649536, -0.7441340088844299, -0.37293851375579834, -0.4851141571998596, -0.2944202125072479, 0.24086222052574158, 0.16551470756530762, 0.40011683106422424, -0.3335312008857727, -0.08809184283018112, 0.6415225267410278, 0.19564035534858704, 0.4341023862361908, 0.9809929728507996, -0.16759571433067322, -0.5631059408187866, 0.671827495098114, -0.06923491507768631, 0.16003280878067017, 0.6718055605888367, 0.3444443941116333, -0.5717220902442932, -0.6087756156921387, -0.43397828936576843, 0.1294572800397873, -0.8083170652389526, -0.14109687507152557, -0.6980234980583191, -0.008104810491204262, -0.42237532138824463, -0.6475874185562134, -0.07256448268890381, -0.31050291657447815, -0.4440760016441345, -0.01132897287607193, 0.23651936650276184, 0.4275481700897217, 0.09443387389183044, 0.6359638571739197, -0.28598979115486145, 0.21734803915023804, 0.47385773062705994, 0.2034226953983307, -0.27262359857559204, -0.5124688744544983, -0.2628091275691986, -0.01155602466315031, -0.5250721573829651, -1.0557557344436646, 0.26848673820495605, 0.08284588158130646, 0.5705297589302063, 0.4027613699436188, 0.12140343338251114, 0.3930474519729614, -0.30947941541671753, 0.6613869071006775, -0.06474516540765762, -0.9759742021560669, 0.46504461765289307, -0.045630645006895065, 0.2927192747592926, 0.7542740106582642, 0.1358199119567871, -0.5870908498764038, -0.44789278507232666, -0.5726305246353149, -0.6007702946662903, 0.8088188171386719, 0.08720624446868896, -0.01711323857307434, 0.12970241904258728, 0.4587092101573944, 0.29616907238960266, 0.14555634558200836, -0.6767809391021729, -0.23381225764751434, -0.04798019677400589, -0.2627671957015991, -0.12605814635753632, -0.23380598425865173, -0.07819264382123947, 0.10612192004919052, 0.6415837407112122, -0.49859949946403503, 0.08983734995126724, 0.001046643010340631, -0.5759885907173157, -0.2676655650138855, 0.383516788482666, 0.6607154011726379, 0.8158305287361145, -0.38452965021133423, 0.3583609163761139, 0.34302088618278503, -0.4442022144794464, 0.16966108977794647, -0.14409199357032776, -0.3099258840084076, -0.5090031623840332, 0.47744229435920715, 0.7866302728652954, 0.12273536622524261, -0.5080505609512329, 0.5898810625076294, -0.2708069980144501, 0.03719246760010719, -0.3294133245944977, 0.17543944716453552, 0.15260016918182373, 0.15785987675189972, 0.09706658869981766, 0.14246101677417755, 0.017664052546024323, -0.3724324107170105, 0.2515125274658203, 0.4849388003349304, -0.2788711488246918, -0.48572173714637756, 0.5318982601165771, 0.2267513871192932, -0.5221693515777588, 0.6130879521369934, -0.10690507292747498, -0.6049924492835999, 0.3162287771701813, 0.6562250852584839, 0.9671180844306946, -0.3583697974681854, 0.08376151323318481, -0.12998314201831818, 0.16091297566890717, 0.3943544626235962, 0.21078677475452423, -0.35210686922073364, -0.943207323551178, -0.10871127247810364, -0.48014676570892334, -0.6787499189376831, 0.1580744832754135, -0.3392462730407715, 0.2881035804748535, -0.5760616064071655, -0.10849957913160324, -0.002255842322483659, 0.1637251377105713, -0.7020375728607178, -0.0933317095041275, -0.028603699058294296, 0.5242369771003723, -0.7968553304672241, 0.9499184489250183, 0.9151085019111633, -0.36397784948349, -0.6040370464324951, 0.23857524991035461, 0.3877321481704712, -1.0668048858642578, 0.4827466607093811, 0.04760938882827759, -0.36491137742996216, -0.09026960283517838, -0.328491747379303, -0.6666032671928406, 1.077736496925354, 0.588282585144043, -0.22784818708896637, 0.16108886897563934, 0.161372110247612, 0.6549649238586426, -0.5757631659507751, 0.4939768314361572, 0.30804458260536194, 0.3577674627304077, -0.03899257630109787, -0.5667176842689514, 0.029879309237003326, -0.15806983411312103, -0.242587611079216, 0.11751290410757065, -0.629173994064331, 0.7290756106376648, -0.1812812089920044, -0.2916736304759979, -0.08012498170137405, 0.8197594285011292, 0.02805793285369873, 0.33526119589805603, 0.46925726532936096, 0.3938405513763428, 0.8377766013145447, 0.20451095700263977, 0.7265685796737671, -0.4699583947658539, 0.09562957286834717, 1.3171844482421875, -0.4655117988586426, 0.6352024674415588, 0.6534250974655151, -0.011604897677898407, 0.36456891894340515, 0.6032945513725281, 0.3833124339580536, 0.6310920715332031, 0.07768874615430832, -0.4301730692386627, -0.17717544734477997, -0.0915406122803688, -0.10288140922784805, 0.3596051335334778, 0.26156073808670044, -0.17736995220184326, -0.2056875079870224, -0.19462832808494568, 0.15592697262763977, 0.359814316034317, 0.00922461412847042, 1.2720712423324585, -0.1395888477563858, -0.7965202927589417, 0.34490394592285156, 0.1105659157037735, 0.43629634380340576, -0.6809977293014526, -0.01312401331961155, -0.49324658513069153, 0.07767905294895172, -0.2458941638469696, -0.793086588382721, 0.03001355566084385, 0.00009870346548268571, -0.24944718182086945, -0.32412049174308777, 0.583098828792572, -0.5960618853569031, -0.034253209829330444, 0.11250586062669754, 0.48611530661582947, 0.05948629975318909, 0.1618577241897583, -0.70025634765625, 0.1404169797897339, 0.17187495529651642, -0.2976340055465698, 0.4646669626235962, 0.10107917338609695, -0.26015862822532654, 0.6124498844146729, 0.7109382748603821, 0.1497882455587387, -0.21525415778160095, -0.07015607506036758, 0.8951901793479919, -0.45022863149642944, -0.8317325115203857, -1.0393149852752686, 0.2869502007961273, -0.028675677254796028, -0.14671096205711365, 0.6794054508209229, 0.7566695213317871, 0.8354652523994446, -0.0013687306782230735, 0.8425217270851135, 0.37257394194602966, 0.24211223423480988, -0.8818349838256836, 0.4871308505535126, -0.341360867023468, 0.5489321947097778, -0.10788360238075256, -1.0815107822418213, -0.10358361154794693, 0.3396346867084503, -0.404950886964798, -0.10465504974126816, 0.6208274364471436, 1.1126395463943481, -0.22388680279254913, -0.23015429079532623, 0.2665484845638275, -0.07552860677242279, 0.4438692331314087, 0.7039510011672974, 0.9076650738716125, -0.0014577106339856982, 0.19986934959888458, -0.26792922616004944, -0.35958510637283325, -0.3633189797401428, -0.9640344381332397, -1.0013341903686523, -0.5830658674240112, -0.10067151486873627, -0.2836315929889679, 0.283661425113678, 1.3375197649002075, 0.3899862766265869, -0.501124382019043, -0.2983429431915283, 0.22893282771110535, 0.3832649290561676, -0.12027399986982346, -0.14793601632118225, 0.5783024430274963, -0.3487042784690857, -0.7738248705863953, 0.5820133686065674, 0.3657831847667694, 0.3390128016471863, -0.010822807438671589, -0.546863853931427, 0.24491971731185913, 0.06946774572134018, 0.29732343554496765, 0.3449651300907135, -0.8300666213035583, -0.3578416407108307, 0.12674939632415771, -0.3757483959197998, 0.29228559136390686, 0.8048632144927979, -0.6746063232421875, 0.672466516494751, 0.40084683895111084, 0.8832266926765442, 0.6083135008811951, 0.09609103947877884, 0.5516857504844666, -0.7755231857299805, 0.036688417196273804, 0.09079744666814804, 0.26489564776420593, 0.4125363528728485, -0.7639416456222534, 0.31457316875457764, 0.16345000267028809, -0.5157541632652283, -0.4644371271133423, 0.2864242196083069, -1.1328444480895996, -0.10616419464349747, 0.8526626229286194, -0.19768503308296204, -0.22417153418064117, -0.07353438436985016, -0.3443618416786194, 0.18414154648780823, -0.7710705399513245, 0.6831466555595398, 0.4760502278804779, -0.36114853620529175, 0.054079245775938034, 0.05043821036815643, 0.8295077681541443, 0.4331222474575043, -0.7027579545974731, 0.06130719557404518, 0.6290298104286194, 0.36218133568763733, -0.13918539881706238, 0.9463076591491699, 0.18248394131660461, 0.3162073493003845, -0.3622196614742279, -0.016551313921809196, -0.3486076593399048, -0.49557384848594666, -0.48049724102020264, 0.09363016486167908, 0.3982546329498291, 0.12529295682907104 ]
http://arxiv.org/abs/2404.15247v2
http://arxiv.org/pdf/2404.15247v2
XFT: Unlocking the Power of Code Instruction Tuning by Simply Merging Upcycled Mixture-of-Experts
2024-04-23T17:32:24
2024-06-06T18:18:21
Yifeng Ding, Jiawei Liu, Yuxiang Wei, Terry Yue Zhuo, Lingming Zhang
cs.CL
cs.CL, cs.AI, cs.LG, cs.SE
We introduce XFT, a simple yet powerful training scheme, by simply merging upcycled Mixture-of-Experts (MoE) to unleash the performance limit of instruction-tuned code Large Language Models (LLMs). While vanilla sparse upcycling fails to improve instruction tuning, XFT introduces a shared expert mechanism with a novel routing weight normalization strategy into sparse upcycling, which significantly boosts instruction tuning. After fine-tuning the upcycled MoE model, XFT introduces a learnable model merging mechanism to compile the upcycled MoE model back to a dense model, achieving upcycled MoE-level performance with only dense-model compute. By applying XFT to a 1.3B model, we create a new state-of-the-art tiny code LLM (<3B) with 67.1 and 64.6 pass@1 on HumanEval and HumanEval+ respectively. With the same data and model architecture, XFT improves supervised fine-tuning (SFT) by 13% on HumanEval+, along with consistent improvements from 2% to 13% on MBPP+, MultiPL-E, and DS-1000, demonstrating its generalizability. XFT is fully orthogonal to existing techniques such as Evol-Instruct and OSS-Instruct, opening a new dimension for improving code instruction tuning. Codes are available at https://github.com/ise-uiuc/xft.
[ -0.5044201016426086, -0.43288883566856384, 0.4731009900569916, -0.33471912145614624, -0.29500308632850647, 0.6771289110183716, -0.3983408212661743, -0.5330271124839783, 0.04987108334898949, 0.7500751614570618, -0.6774475574493408, -0.19894632697105408, -0.49534499645233154, -0.2805616557598114, -0.6748563051223755, 0.8706182241439819, 0.2708016335964203, -0.046243831515312195, 0.14181913435459137, -0.09225545078516006, -0.3186352550983429, -0.5184430480003357, -0.7094367742538452, -0.19546720385551453, 0.14584024250507355, 0.6122854351997375, 0.9854167103767395, 1.172770619392395, 0.2583252489566803, 0.4415113925933838, 0.025231271982192993, 0.2562854588031769, -0.605542004108429, -0.2679097652435303, -0.12932005524635315, -0.7383290529251099, -0.6169773936271667, -0.17583245038986206, 0.5504889488220215, 0.461245059967041, -0.43711361289024353, -0.1070828065276146, -0.1388915330171585, 0.9449189305305481, -0.40974825620651245, -0.04237974062561989, -0.9517180919647217, -0.034629177302122116, -0.16577893495559692, -0.5753319263458252, -0.2943122982978821, -0.1834173947572708, -0.1950615644454956, -0.5022726058959961, 0.5166237950325012, 0.40659987926483154, 0.5910533666610718, 0.4384031891822815, -0.324862539768219, -0.12606480717658997, -0.5687654614448547, 1.008729100227356, -0.532232403755188, 0.626056432723999, -0.09122328460216522, 0.3592033386230469, -0.032371196895837784, -0.521327018737793, -0.46477243304252625, -0.0982421338558197, 0.09228482842445374, -0.2206491082906723, -0.2923390567302704, 0.3344154357910156, 0.004889912903308868, 0.737428605556488, -0.2363399863243103, 0.0902068018913269, -0.4134175777435303, 0.2457093745470047, 0.810092568397522, 0.09010177850723267, -0.019264336675405502, 0.1527005434036255, -0.7122279405593872, -0.2340475618839264, -0.7270101308822632, 0.041546355932950974, 0.282962441444397, 0.2598082721233368, -0.04265057295560837, 0.10043621063232422, -0.05546785145998001, 0.6861410140991211, 0.4421815574169159, -0.026793526485562325, 0.11161086708307266, -0.33322152495384216, -0.31109684705734253, 0.32033011317253113, 0.4281452000141144, 0.3480847477912903, 0.16712965071201324, -0.2870848476886749, -0.5402383804321289, -0.5306798219680786, 0.5286264419555664, -0.4476986527442932, -0.34545257687568665, -0.05128886178135872, -0.3730565309524536, -0.5655475854873657, 0.14467136561870575, -0.7060380578041077, -0.11136080324649811, -0.5981569886207581, 0.3804413974285126, -0.3732817769050598, -0.31304484605789185, 0.3568577766418457, -0.12245259433984756, 0.15954916179180145, 0.3683397173881531, -1.2283984422683716, 0.3329756259918213, 1.032199740409851, 0.47015994787216187, -0.12678050994873047, -0.24986834824085236, -0.59424889087677, 0.08922278881072998, -0.28085124492645264, 0.5967612266540527, -0.6493933796882629, -0.3063248097896576, -0.17030516266822815, -0.263460248708725, -0.105620838701725, -0.6280294060707092, 0.4714983403682709, -0.8067976832389832, -0.01274949125945568, -0.15697669982910156, -0.6686670184135437, -0.23658210039138794, -0.03583066910505295, -0.5167296528816223, 1.3967169523239136, 0.6121081709861755, -0.3998500406742096, 0.45590001344680786, -0.4468051493167877, -0.1590006798505783, -0.005050688050687313, -0.4830792248249054, -0.19842781126499176, 0.5294870138168335, 0.09076619893312454, 0.4597112536430359, -0.328127920627594, 0.25161367654800415, -0.3090376853942871, -0.6496492028236389, 0.0437898188829422, -0.4277799129486084, 0.8423790335655212, 0.1952269971370697, -0.48357120156288147, 0.30125030875205994, -1.089609980583191, 0.2922884225845337, -0.12161296606063843, -0.4826591908931732, -0.3678587079048157, -0.13178257644176483, -0.08234718441963196, 0.2425607591867447, 0.008877911604940891, -0.35548004508018494, 0.37139055132865906, -0.3724413514137268, 0.6203910112380981, 0.9487176537513733, -0.33214834332466125, 0.6003625392913818, -0.47567451000213623, 0.4141230583190918, -0.24178260564804077, 0.043633170425891876, -0.23792396485805511, -0.5120924711227417, -0.7304139733314514, -0.3386998474597931, 0.3287416696548462, 0.5060057640075684, -0.7621617317199707, 0.7338478565216064, -0.32954731583595276, -0.3166176974773407, -0.656499981880188, 0.5703312754631042, 0.5741174817085266, 0.5295801162719727, 0.3875409662723541, -0.09067629277706146, -0.47903013229370117, -0.5144891142845154, 0.061021190136671066, -0.18291650712490082, -0.004516011103987694, -0.019281217828392982, 0.3260280191898346, -0.02250831387937069, 0.7880958914756775, -0.41876137256622314, -0.15166211128234863, -0.27275675535202026, 0.09406286478042603, 0.15579938888549805, 0.787078857421875, 0.6707069277763367, -0.5652968883514404, -0.4969114363193512, 0.29167142510414124, -0.35402190685272217, 0.1556502729654312, -0.11214998364448547, -0.22404196858406067, 0.34621647000312805, 0.6812570095062256, -0.36300575733184814, 0.10354052484035492, 0.589020311832428, -0.15611623227596283, 0.2733103036880493, -0.5949856042861938, 0.40896663069725037, -0.8025702238082886, -0.4515873193740845, -0.29003533720970154, -0.48768532276153564, -0.3908141851425171, 0.6617942452430725, 0.3055155873298645, -0.08221837878227234, -0.3649885058403015, 0.273488312959671, -0.467298686504364, 0.21121805906295776, -0.2800271213054657, -0.17406563460826874, -0.2047821432352066, 0.7501096129417419, 0.10520358383655548, 0.9123291373252869, 0.5552896857261658, -0.22124427556991577, 0.17625774443149567, -0.0651606023311615, -0.3920931816101074, 0.29798009991645813, -0.45196282863616943, 0.19332841038703918, 0.32462140917778015, -0.25539276003837585, -0.811516284942627, -0.1487659066915512, 0.07245372980833054, -0.22144359350204468, 0.7145781517028809, -0.1575442999601364, -0.7017627358436584, -0.2565571665763855, -0.5531046390533447, 0.15669314563274384, 0.8820164203643799, -0.8482810258865356, 0.5826667547225952, 0.060464706271886826, 0.006313185673207045, -0.43889981508255005, -0.7389466166496277, -0.007067433092743158, -0.0675928145647049, -0.9104722142219543, 0.6183642148971558, -0.20331606268882751, 0.0699586346745491, -0.039226025342941284, -0.331114262342453, -0.31775158643722534, 0.15819895267486572, -0.2432921826839447, 0.10614562779664993, -0.41849079728126526, 0.03658130019903183, 0.7604931592941284, -0.28828445076942444, -0.016241323202848434, -0.32258155941963196, 0.2233160138130188, -0.07559141516685486, -0.3172645568847656, -0.04482134431600571, 0.6533649563789368, 0.4512019753456116, -0.0787581354379654, 0.49098047614097595, 0.6870689392089844, -0.09152547270059586, -0.3007257878780365, -0.7003675103187561, -0.1403798907995224, -0.5980868339538574, 0.329365611076355, -0.0364726185798645, -1.3829240798950195, 0.12102060765028, -0.04202411696314812, 0.18540111184120178, -0.14261563122272491, 0.5218006372451782, -0.03481655940413475, 1.365513563156128, 1.119684100151062, -0.08576156944036484, 0.6254875063896179, -0.24970854818820953, 0.17549802362918854, -0.30040180683135986, 0.022283107042312622, -0.4316885471343994, -0.2701122760772705, -0.5150921940803528, -0.6120457053184509, 0.320099413394928, 0.2679133713245392, -0.2651602625846863, 0.21509991586208344, -0.6751058101654053, 0.8540654182434082, 0.9007719159126282, 0.27553999423980713, 0.5574790239334106, 0.3318294286727905, 0.17843660712242126, 0.2644825875759125, -1.0938889980316162, -0.26969045400619507, 1.079429030418396, 0.21468660235404968, 0.7951131463050842, -0.25703006982803345, 1.030950903892517, 0.42935580015182495, 0.020809050649404526, -0.43487849831581116, 0.5631572604179382, -0.3463551998138428, -0.743694007396698, -0.017785480245947838, -0.48193666338920593, -0.5337955355644226, 0.08930179476737976, -0.24872100353240967, -0.7354254126548767, 0.3704376816749573, 0.5219091773033142, -0.8051036596298218, 0.623099148273468, -0.9113430976867676, 0.5109884142875671, -0.36727622151374817, -0.33494865894317627, -0.6046774983406067, -0.7648271918296814, 0.5771610736846924, -0.4479135274887085, 0.07923820614814758, 0.1324864774942398, -0.24745556712150574, 0.5851669907569885, -0.6332448720932007, 0.705296516418457, 0.030805017799139023, -0.271797776222229, 0.07137392461299896, -0.2540091574192047, 0.279066264629364, 0.10121532529592514, -0.17861516773700714, 0.21783512830734253, 0.11869172006845474, -0.5282837748527527, -0.7950268983840942, 0.7026881575584412, -0.9378935694694519, -0.6683214902877808, -0.0004126502317376435, -0.7387980222702026, -0.12887364625930786, 0.2520240247249603, 0.18489864468574524, 0.5817582011222839, 0.37453168630599976, 0.34637218713760376, 1.192986011505127, 0.21393024921417236, 0.18260300159454346, 0.44281238317489624, -0.20473261177539825, -0.5695862770080566, 1.0570226907730103, 0.04125000908970833, 0.17952744662761688, 0.6859999895095825, 0.12122226506471634, -0.08617948740720749, -0.5993593335151672, -0.5834226608276367, -0.07424168288707733, -0.6219415664672852, -0.5412799715995789, -0.4480499029159546, -0.046796541661024094, -0.1267467886209488, -0.7463040947914124, -0.5647194981575012, -0.5964494943618774, -0.14754335582256317, 0.048257485032081604, 0.5260918140411377, 0.5255886316299438, -0.2508179247379303, 0.7738884091377258, -1.2978692054748535, 0.0897260308265686, 0.26573705673217773, 0.4720849394798279, 0.12891459465026855, -0.5223362445831299, -0.6734523177146912, 0.034676890820264816, -0.3124012053012848, -0.6695693731307983, 0.11888427287340164, 0.25778013467788696, 0.6509401798248291, 0.7066837549209595, 0.14045022428035736, 0.6380970478057861, -0.21818691492080688, 0.42882034182548523, 0.21389028429985046, -1.1325007677078247, 0.21074178814888, -0.2703494131565094, -0.0611930750310421, 0.7518090009689331, 0.3834575414657593, 0.2223304957151413, -0.4398907423019409, -0.6405619382858276, -0.7232257723808289, 0.9423746466636658, 0.019169053062796593, 0.18678827583789825, 0.18289832770824432, 0.38282525539398193, 0.3275124132633209, 0.4367177486419678, -0.22541306912899017, -0.20504815876483917, 0.0793369933962822, -0.18358486890792847, 0.03788261115550995, -0.15861022472381592, -0.32640326023101807, -0.7741917371749878, 0.5534105896949768, -0.09441808611154556, 0.4853537082672119, -0.29157739877700806, 0.036124054342508316, -0.4709380567073822, 0.21083475649356842, 0.4338432848453522, 0.5205890536308289, -0.595565676689148, -0.0639619529247284, 0.10059312731027603, -0.20876330137252808, 0.26279374957084656, 0.2496800720691681, -0.08373118937015533, -0.33836179971694946, 0.44829800724983215, 0.7672635912895203, 0.8074801564216614, -0.674411952495575, 0.28613588213920593, -0.03972306475043297, -0.49241578578948975, 0.01191210187971592, 0.8926336765289307, -0.1521320641040802, 0.4028541147708893, 0.44547680020332336, 0.5414670705795288, 0.04349341243505478, -0.44023048877716064, 0.3774556815624237, 0.17957690358161926, -0.3452063202857971, -0.2710869312286377, 0.7095297574996948, 0.39757081866264343, -0.11472127586603165, 0.6439430117607117, -0.40514206886291504, -0.49153825640678406, 0.3942911624908447, 0.2546410858631134, 0.8225106000900269, -0.007039850577712059, -0.15736699104309082, 0.08474394679069519, 0.3932153582572937, -0.09984356164932251, 0.4156838357448578, -0.5528709888458252, -0.6377548575401306, -0.598648190498352, -0.35802632570266724, -0.4168775677680969, -0.34085315465927124, -0.9272324442863464, 0.33391621708869934, -0.4322497248649597, 0.22342270612716675, -0.34607458114624023, 0.2313649207353592, -0.4597788453102112, 0.10814774036407471, 0.142215296626091, 1.4201799631118774, -0.735719621181488, 1.272111177444458, 0.7806500792503357, -0.1460694819688797, -0.8795534372329712, -0.3034529387950897, 0.046516817063093185, -0.9858546257019043, 0.22374898195266724, 0.1001766249537468, -0.08299513161182404, 0.37548014521598816, -0.5951096415519714, -0.7124335765838623, 1.2310893535614014, 0.5833114385604858, -0.8693053126335144, -0.2890649139881134, -0.032263483852148056, 0.36970576643943787, -0.455081045627594, 0.17104727029800415, 1.0643749237060547, 0.2900656461715698, 0.20607860386371613, -0.4202215075492859, 0.015150422230362892, -0.34154102206230164, -0.1427132934331894, 0.4281264543533325, -0.7196179628372192, 0.7626067399978638, -0.399247944355011, -0.026117438450455666, 0.14719673991203308, 0.8319905996322632, 0.21971258521080017, 0.21309536695480347, 0.6500052213668823, 0.6497306823730469, 0.9444983005523682, -0.08950046449899673, 0.9822119474411011, -0.7987945079803467, 0.31543925404548645, 0.9953265190124512, -0.10004791617393494, 0.7070186138153076, 0.3546784520149231, -0.116391621530056, 0.3915206491947174, 0.32892435789108276, -0.04259592667222023, 0.5331254005432129, -0.25519075989723206, -0.24916519224643707, -0.6204485297203064, 0.5393891930580139, -0.6325767040252686, 0.2977328300476074, 0.2881847620010376, -0.32041028141975403, -0.37469613552093506, 0.03981614485383034, 0.04866694658994675, 0.031020088121294975, -0.48576661944389343, 0.5650683641433716, -0.10659108310937881, -0.4844421148300171, 0.8803254961967468, 0.0019188995938748121, 0.9095463752746582, -0.753760576248169, -0.14606748521327972, -0.13270579278469086, 0.46626466512680054, -0.1684001237154007, -0.8895804286003113, 0.46203622221946716, -0.09002873301506042, -0.37756720185279846, -0.3495258390903473, 0.6819132566452026, -0.48208385705947876, -0.5351942181587219, 0.41128605604171753, 0.3277477025985718, -0.17673173546791077, -0.1196337565779686, -0.9807425737380981, 0.24623940885066986, 0.3566502034664154, -0.08414924144744873, 0.73587965965271, 0.631062924861908, 0.06064063683152199, 0.7175308465957642, 0.38627880811691284, -0.12740366160869598, 0.39686310291290283, -0.3295957148075104, 1.2256604433059692, -0.5919158458709717, -0.44595178961753845, -0.5168440341949463, 0.5635344386100769, 0.039671510457992554, -0.2852078378200531, 0.568136990070343, 0.27444103360176086, 1.3066601753234863, -0.13940323889255524, 0.6018683910369873, -0.03665674477815628, 0.3900032043457031, -0.6593753695487976, 0.768348753452301, -0.9058363437652588, 0.4193595349788666, -0.08056597411632538, -0.5853102207183838, -0.08659691363573074, 0.29164156317710876, 0.06199966371059418, 0.2954685688018799, 0.4546683132648468, 1.0847996473312378, -0.3124237656593323, 0.09882789850234985, 0.6564573049545288, -0.1366325169801712, 0.09917464852333069, 0.522506594657898, 0.6840641498565674, -0.29180634021759033, 0.7897607088088989, -0.8336224555969238, -0.5305398106575012, -0.31682702898979187, -0.9445046186447144, -0.8229919075965881, -0.29237592220306396, -0.3961736559867859, 0.11720563471317291, 0.08743830770254135, 1.3385363817214966, 1.0642205476760864, -0.7964128851890564, -0.2874552011489868, -0.21809321641921997, 0.19998645782470703, -0.6584319472312927, -0.2105025351047516, 0.14624546468257904, -0.6051825881004333, -0.6978400349617004, 0.42423146963119507, 0.4326976537704468, -0.25209543108940125, -0.19580936431884766, -0.21725189685821533, 0.13860681653022766, 0.2928066551685333, 0.588037371635437, 0.12104050815105438, -0.39459383487701416, -0.1077769473195076, -0.028293222188949585, 0.13472570478916168, 0.31705814599990845, 1.152313232421875, -0.6518745422363281, 0.42757847905158997, 0.6519664525985718, 0.7443143725395203, -0.0064665209501981735, -0.003915507812052965, 0.643772304058075, -0.9425055980682373, -0.17197564244270325, -0.1458832174539566, 0.3781392574310303, -0.06667253375053406, -0.5554409027099609, 0.4979802668094635, 0.15507738292217255, -0.6962258219718933, -0.903889000415802, -0.08897300809621811, -1.256438970565796, -0.16447970271110535, 0.5165871977806091, -0.08199393004179001, -0.18918444216251373, -0.06507834792137146, -0.3798139691352844, 0.0650244727730751, -0.7341650724411011, 0.8339465856552124, 0.23190337419509888, -0.23312610387802124, -0.4331589639186859, -0.3911639451980591, 0.22184041142463684, 0.37981167435646057, -0.5714572072029114, 0.10313631594181061, 0.10361135005950928, 0.10626291483640671, -0.03239162638783455, 0.5577880144119263, 0.013845057226717472, 0.5709112286567688, 0.018081996589899063, -0.021503370255231857, -0.5425000786781311, -0.359409898519516, -0.48130807280540466, 0.19880208373069763, 0.200420081615448, 0.1436387002468109 ]
http://arxiv.org/abs/2404.15238v1
http://arxiv.org/pdf/2404.15238v1
CultureBank: An Online Community-Driven Knowledge Base Towards Culturally Aware Language Technologies
2024-04-23T17:16:08
2024-04-23T17:16:08
Weiyan Shi, Ryan Li, Yutong Zhang, Caleb Ziems, Chunhua yu, Raya Horesh, Rogério Abreu de Paula, Diyi Yang
cs.CL
cs.CL, cs.AI
To enhance language models' cultural awareness, we design a generalizable pipeline to construct cultural knowledge bases from different online communities on a massive scale. With the pipeline, we construct CultureBank, a knowledge base built upon users' self-narratives with 12K cultural descriptors sourced from TikTok and 11K from Reddit. Unlike previous cultural knowledge resources, CultureBank contains diverse views on cultural descriptors to allow flexible interpretation of cultural knowledge, and contextualized cultural scenarios to help grounded evaluation. With CultureBank, we evaluate different LLMs' cultural awareness, and identify areas for improvement. We also fine-tune a language model on CultureBank: experiments show that it achieves better performances on two downstream cultural tasks in a zero-shot setting. Finally, we offer recommendations based on our findings for future culturally aware language technologies. The project page is https://culturebank.github.io . The code and model is at https://github.com/SALT-NLP/CultureBank . The released CultureBank dataset is at https://huggingface.co/datasets/SALT-NLP/CultureBank .
[ -0.47361376881599426, -0.25109976530075073, 0.1762121468782425, 0.19348275661468506, -0.056241583079099655, 0.43414226174354553, -0.40959587693214417, -0.7455555200576782, 0.6152586936950684, 0.5612189769744873, -0.34763818979263306, -0.46165016293525696, -0.2779199779033661, 0.08333747088909149, -0.38059261441230774, 0.9907536506652832, 0.0997290164232254, -0.04377756267786026, -0.0955660343170166, -0.08744317293167114, -0.2697277069091797, -0.3246711790561676, -0.5428929328918457, -0.341704785823822, 0.20139746367931366, 0.539844274520874, 0.19736890494823456, 0.905754566192627, 0.29091787338256836, 0.15590022504329681, -0.06369151920080185, -0.27238452434539795, -0.49043774604797363, 0.2609318792819977, -0.31342798471450806, -0.35077452659606934, -0.48684513568878174, -0.05614391341805458, -0.17147651314735413, 0.401252418756485, 0.033578772097826004, 0.7984278798103333, -0.2337433397769928, 0.6121705174446106, -0.4473569095134735, 0.32491010427474976, -0.3633134961128235, 0.09362486749887466, -0.16346415877342224, -0.00035248970380052924, -0.09661231189966202, -0.3814464807510376, 0.2316754311323166, -0.505124568939209, 0.018008073791861534, -0.035725612193346024, 0.32021987438201904, 0.07357236742973328, -0.6901087164878845, -0.3834541141986847, -0.8456026911735535, 0.5675757527351379, -0.2288774698972702, 0.4107475280761719, 0.7906373739242554, 0.38663873076438904, 0.26075172424316406, -0.7904490232467651, -0.4597712755203247, 0.13522504270076752, -0.044881392270326614, 0.049878936260938644, -0.05987296625971794, -0.27352261543273926, 0.15730386972427368, 0.4991997182369232, -0.6135435104370117, -0.18544889986515045, -0.40049687027931213, -0.4518257975578308, 0.33684855699539185, -0.05326579511165619, 0.19141699373722076, -0.3387359380722046, -0.34705761075019836, 0.15758424997329712, -0.6459879279136658, 0.20544211566448212, 0.15066134929656982, 0.17185398936271667, -0.4388694167137146, -0.02595377527177334, -0.46959981322288513, 0.6532650589942932, 0.2705188989639282, -0.5188717246055603, 0.3025180399417877, -0.22894832491874695, 0.11581000685691833, 0.219381183385849, 0.3753954768180847, 0.6374181509017944, 0.7261579632759094, 0.021345341578125954, -0.22311200201511383, -0.0895903930068016, -0.08285824209451675, -0.7450723052024841, -0.31707897782325745, 0.40494754910469055, -0.5217658281326294, -0.4321860671043396, -0.11903225630521774, -0.569366991519928, -0.8784964084625244, -0.032078053802251816, -0.08798345923423767, -0.26262366771698, -0.7320645451545715, -0.3639414310455322, -0.4512960910797119, 0.0797063559293747, 0.08815696835517883, -1.3097410202026367, -0.03946591541171074, 0.5661824941635132, 0.829896867275238, 0.10558352619409561, 0.2034822553396225, -0.05378725752234459, 0.4239569902420044, 0.05476412549614906, 0.8036404848098755, -0.39457762241363525, -0.40402284264564514, 0.22584059834480286, -0.1981654167175293, 0.5638432502746582, -0.5079931020736694, 0.5873438715934753, -0.5501782298088074, -0.06734687834978104, -0.28100934624671936, -0.39295494556427, -0.2475123554468155, 0.507917582988739, -0.7438604831695557, 0.7061386108398438, 0.34560030698776245, -0.44594231247901917, 0.4145161509513855, -0.70196932554245, -0.4368736147880554, 0.5130307674407959, 0.029732218012213707, 0.3777633011341095, -0.08773159980773926, 0.14859646558761597, 0.3114011883735657, -0.15692958235740662, 0.4234727919101715, -0.30992934107780457, -0.29004502296447754, 0.12158939242362976, -0.014618666842579842, 0.9799434542655945, 0.9432095289230347, -0.1368972808122635, -0.02910863608121872, -1.0698071718215942, -0.0967484712600708, 0.08345791697502136, -0.6037963628768921, -0.45671677589416504, -0.0738309770822525, 0.15736015141010284, 0.35080307722091675, 0.5034343600273132, -0.4310685396194458, 0.14748769998550415, -0.31967803835868835, 0.7117961645126343, 0.6925356984138489, -0.3032064437866211, 0.521619975566864, -0.27421835064888, 0.6124118566513062, -0.09705542027950287, 0.12236841022968292, -0.39398476481437683, -0.39074835181236267, -0.5335843563079834, -0.16666050255298615, 0.22123228013515472, 0.7041605710983276, -0.6744974255561829, 0.30936986207962036, -0.39349082112312317, -0.6738737225532532, -0.4778003692626953, 0.5189476013183594, -0.009666255675256252, 0.7292755842208862, 0.05613689869642258, -0.7278838753700256, -0.8513103723526001, -0.6417950391769409, -0.15736673772335052, -0.6108203530311584, -0.23678171634674072, -0.0653996542096138, 0.08046892285346985, -0.11305192112922668, 1.2366504669189453, -0.28883588314056396, -0.38869959115982056, -0.5188141465187073, -0.10060378164052963, 0.3693991005420685, 0.2313029021024704, 0.5449254512786865, -0.6518481969833374, -0.6936920881271362, 0.09235266596078873, -0.6984578967094421, -0.33404871821403503, 0.2337823212146759, 0.06725147366523743, 0.3581339418888092, 0.44927069544792175, -0.1462559998035431, -0.008393026888370514, 0.7917787432670593, -0.5330359935760498, 0.065614253282547, 0.10509420186281204, 0.1281425803899765, -1.4022331237792969, 0.07752019166946411, -0.05022532120347023, -0.30114731192588806, -0.7953852415084839, 0.040617529302835464, 0.23701421916484833, -0.12121816724538803, -0.3262644410133362, 0.8254521489143372, -0.08854440599679947, 0.06857117265462875, -0.37700703740119934, 0.1768231838941574, -0.011704890988767147, 0.39312151074409485, 0.26141253113746643, 0.21417593955993652, 0.5461146235466003, -0.28184863924980164, 0.7065837979316711, 0.09496501088142395, -0.7127308249473572, 0.8152869939804077, -0.1459447145462036, 0.12485843896865845, -0.06449425220489502, 0.49159491062164307, -0.8225243091583252, -0.2753068208694458, 0.3135574162006378, -0.46558016538619995, 0.06237379461526871, -0.5045762062072754, -0.3639413118362427, -0.37965622544288635, -0.11533214151859283, 0.4889068007469177, 0.48865756392478943, -0.46252480149269104, 0.7114948630332947, 0.665024995803833, -0.31281426548957825, -0.5713040232658386, -0.9228595495223999, 0.13943123817443848, -0.5588273406028748, -0.7648336887359619, -0.20087459683418274, -0.2008657455444336, -0.568986177444458, -0.13079074025154114, 0.07697910070419312, -0.2854071855545044, 0.45082080364227295, 0.24380789697170258, -0.08797069638967514, -0.11183179169893265, 0.5572697520256042, -0.42266812920570374, -0.08615360409021378, 0.17924192547798157, -0.8948255181312561, 0.7138302326202393, -0.2638235092163086, -0.04848511517047882, -0.13532839715480804, 0.1903654932975769, 0.35338839888572693, -0.29006433486938477, 0.6592846512794495, 0.8599027991294861, -0.4105380177497864, 0.1986130177974701, -0.7974633574485779, -0.12939997017383575, -0.47763821482658386, 0.09318581223487854, -0.27702292799949646, -1.2405387163162231, 0.8513275980949402, -0.05453067272901535, 0.0846334844827652, 0.41293781995773315, 0.7440049648284912, -0.29264071583747864, 0.4303888976573944, 0.7533620595932007, -0.23350420594215393, 0.5042304396629333, 0.25927528738975525, 0.16442187130451202, -0.15109890699386597, -0.047409795224666595, -0.24554380774497986, -0.536842405796051, -0.7320435047149658, -0.2305321842432022, 0.2185526341199875, -0.058846089988946915, -0.13275574147701263, 0.2854892909526825, -0.0793086364865303, 0.6136980056762695, 0.7477731108665466, -0.3413229286670685, 0.7205979228019714, 0.04410358890891075, -0.15901871025562286, 0.11788327991962433, -0.567280650138855, -0.4884672164916992, 1.1981122493743896, 0.4058911204338074, 0.7395826578140259, 0.4124593138694763, 0.5047793984413147, 0.6118869781494141, 0.5952154397964478, -0.5876896381378174, 0.16884177923202515, 0.09954766184091568, -1.0971143245697021, 0.017998233437538147, -0.21215283870697021, -0.545081615447998, -0.23343990743160248, -0.20299440622329712, -0.669294536113739, -0.10337444394826889, 0.5163851976394653, -0.4907241463661194, 0.1613498479127884, -0.9346076250076294, 0.7788763046264648, -0.3581409156322479, -0.12175977975130081, -0.29907849431037903, -0.7142965197563171, 0.45349013805389404, -0.35780784487724304, 0.6656153202056885, -0.1729922592639923, 0.25872695446014404, 0.41490042209625244, -0.1820174902677536, 1.0922420024871826, -0.050289034843444824, -0.11154928058385849, 0.5951852798461914, 0.33010950684547424, 0.11985552310943604, -0.02521517500281334, -0.15052781999111176, 0.35158419609069824, 0.22795459628105164, -0.3330800533294678, -0.21074512600898743, 0.8954063057899475, -0.7372087240219116, -0.5461806654930115, -0.07728712260723114, -0.6110429763793945, -0.3133617639541626, 0.06115787476301193, -0.22440069913864136, 0.39347636699676514, -0.08736203610897064, 0.29895174503326416, 0.5726867914199829, -0.3626604676246643, 0.38291507959365845, 0.7416496276855469, -0.5294396877288818, -0.1993933618068695, 0.8663234710693359, 0.062306854873895645, 0.2580910623073578, 0.3724327087402344, 0.23403400182724, -0.31536170840263367, -0.1431882232427597, -0.6510511636734009, -0.08328518271446228, -1.1150176525115967, -0.03244253247976303, -0.37596258521080017, 0.21487532556056976, -0.9352124333381653, -0.1311718374490738, 0.04202738031744957, -0.8026213645935059, 0.2705926299095154, -0.5699391961097717, 0.641827404499054, 0.8446785807609558, -0.47875118255615234, 0.251870334148407, -0.8435126543045044, -0.08638214319944382, 0.1927604377269745, 0.6891666650772095, -0.16441011428833008, -0.5618011355400085, -0.5468872785568237, -0.3107602596282959, -0.10184689611196518, -0.7942178249359131, 0.4053370952606201, 0.06106135994195938, 0.37934815883636475, 0.758937656879425, -0.009171455167233944, 0.36699092388153076, -0.0872955173254013, 0.6598739624023438, 0.040065567940473557, -0.8041290640830994, 0.5949329733848572, -0.5603333115577698, 0.7792093753814697, 0.4327457845211029, 0.5017603635787964, -1.2992578744888306, -0.533062219619751, -0.4007243514060974, -0.8647650480270386, 0.6503812074661255, -0.3593685030937195, 0.26598137617111206, -0.09761808812618256, 0.0284911897033453, 0.2659102976322174, 0.12839846312999725, -0.9237204790115356, -0.20628494024276733, -0.6067996621131897, -0.3544929325580597, 0.048981618136167526, -0.3787306547164917, -0.16447767615318298, -0.07965819537639618, 0.5796641111373901, -0.2732025980949402, -0.3076245188713074, -0.08140566200017929, -0.4491632878780365, -0.5053465962409973, 0.17952097952365875, 0.4128577411174774, 0.8399903178215027, -0.2773321568965912, 0.3107455372810364, 0.17634227871894836, -0.4419909417629242, -0.2311917245388031, -0.17984607815742493, -0.31798356771469116, -0.4300203025341034, 0.31236979365348816, 0.4767502248287201, -0.0364411287009716, -0.9746666550636292, 0.1267155408859253, -0.35203415155410767, 0.22695691883563995, -0.9157336354255676, -0.1524912714958191, 0.7370027303695679, 0.3450874090194702, 0.5085756182670593, -0.0703638568520546, -0.06800801306962967, -0.5713251233100891, 0.20681610703468323, 0.02578653022646904, -0.49491629004478455, -0.14371705055236816, 0.5745586156845093, 0.6905275583267212, -0.15391075611114502, 0.6445615887641907, -0.027275817468762398, -0.3484874963760376, 0.3493632376194, 0.29288342595100403, 0.6505827307701111, -0.22017845511436462, 0.29754069447517395, 0.5698814392089844, 0.24865375459194183, 0.24336685240268707, 0.12736694514751434, -0.21255207061767578, -0.9662451148033142, -0.4848824739456177, -1.0400186777114868, -0.17681030929088593, 0.09221619367599487, -0.2645830512046814, 0.308380663394928, -0.6835916042327881, -0.14889901876449585, -0.4850235879421234, -0.17308075726032257, -0.6915693283081055, 0.1120152473449707, 0.5112513899803162, 1.1033167839050293, -0.9084353446960449, 0.9918619990348816, 0.6158074736595154, -0.26355937123298645, -0.6915707588195801, -0.21346630156040192, 0.41668611764907837, -0.9322395920753479, 0.7028343677520752, 0.04097944498062134, 0.045539163053035736, 0.10249394178390503, -0.21580006182193756, -1.1451411247253418, 1.1959999799728394, 0.21275804936885834, -0.34684187173843384, 0.6050699353218079, 0.2576029896736145, 0.7559702396392822, -0.3284589648246765, 0.3682073652744293, 0.4546041786670685, 0.553733229637146, 0.16509884595870972, -0.990659773349762, -0.10970982164144516, -0.3084980547428131, -0.3161444365978241, -0.12901006639003754, -0.5767534971237183, 0.42981013655662537, 0.07187605649232864, -0.10621313750743866, -0.12466354668140411, 0.8750762343406677, 0.0411173440515995, 0.08340515941381454, 0.6757081747055054, 0.511469841003418, 0.8193941116333008, -0.25329530239105225, 0.9776409268379211, -0.810397207736969, 0.15457619726657867, 0.9041664004325867, -0.07294248789548874, 0.5675042271614075, 0.45922955870628357, 0.18697157502174377, 0.6158589720726013, 0.7470749020576477, 0.08700808137655258, 0.23164640367031097, 0.2830964922904968, -0.3316880464553833, -0.388118714094162, -0.7066988945007324, -0.15525096654891968, 0.7379797697067261, 0.3229927718639374, -0.49007919430732727, -0.29029250144958496, -0.028868600726127625, 0.03936213627457619, 0.17509998381137848, -0.4542420506477356, 0.4980132579803467, 0.05700082331895828, -0.7413366436958313, 0.3057119846343994, 0.13467729091644287, 0.6809998750686646, -0.7037380337715149, 0.25031641125679016, -0.571441650390625, 0.10811159014701843, -0.2969758212566376, -0.7252326607704163, 0.27398744225502014, 0.24716411530971527, -0.1725751906633377, -0.777385950088501, 1.025302767753601, -0.5613355040550232, -0.25617077946662903, 0.32799068093299866, 0.8328427076339722, 0.07195256650447845, 0.12256079912185669, -0.2367583066225052, 0.1564684808254242, -0.012295141816139221, -0.075557641685009, 0.45278602838516235, 0.28989171981811523, -0.47650882601737976, 0.7836876511573792, 0.37724703550338745, -0.12851260602474213, -0.16897442936897278, 0.42647626996040344, 0.33481112122535706, -0.618757426738739, -0.5480043292045593, -0.7532608509063721, 0.2721383571624756, 0.09331504255533218, -0.26614779233932495, 0.6592329144477844, 0.42507538199424744, 1.449183702468872, -0.3067976236343384, 0.9994643330574036, -0.5346928834915161, 0.516879677772522, 0.019670048728585243, 0.98896324634552, -0.47725823521614075, 0.05534171685576439, 0.04424423724412918, -0.5613225698471069, -0.2334502786397934, 0.36134329438209534, -0.14886297285556793, -0.035947784781455994, 0.28291353583335876, 0.6583718061447144, 0.1975056678056717, 0.2670555114746094, 0.3465544283390045, 0.40692952275276184, 0.21244971454143524, 0.4667957127094269, 0.8273903727531433, 0.33873867988586426, 1.021314024925232, -0.48548898100852966, -0.14715811610221863, -0.14323481917381287, -1.0599526166915894, -0.7309645414352417, -0.7834303379058838, -0.03290313109755516, -0.13412705063819885, -0.358272522687912, 1.3882434368133545, 0.569825291633606, -1.1490187644958496, -0.6484244465827942, 0.5508671998977661, 0.054764095693826675, -0.05827619507908821, -0.25964856147766113, -0.23091237246990204, 0.12867462635040283, -0.7939607501029968, 0.2568635940551758, 0.3111371099948883, -0.10278276354074478, -0.5274569988250732, -0.051895301789045334, -0.06297115236520767, -0.4542713463306427, 0.5827122926712036, 0.46885713934898376, -0.5848839282989502, -0.5685672163963318, -0.0058094109408557415, -0.21324224770069122, -0.125827819108963, 0.9675009250640869, -0.8359092473983765, 0.6025629639625549, 0.6701133847236633, 0.48566192388534546, 0.413729727268219, -0.02422989532351494, 0.7085650563240051, -0.8842794895172119, 0.09097463637590408, -0.04218742623925209, 0.42183154821395874, 0.5903401374816895, -0.22462929785251617, 0.6116998195648193, 0.4864412546157837, -0.24947330355644226, -0.13397429883480072, 0.3415120244026184, -0.9176815748214722, -0.21143315732479095, 1.103500247001648, -0.1424058973789215, -0.12287022173404694, -0.4423847496509552, 0.06030863896012306, 0.28237682580947876, -0.4913954436779022, 1.1621254682540894, 1.0213494300842285, 0.14953377842903137, -0.06675820797681808, -0.7138158679008484, 0.47245123982429504, 0.2405015379190445, -0.5548601746559143, 0.0044297948479652405, 0.6360182762145996, 0.6794158816337585, 0.38516145944595337, 0.7424387335777283, 0.11711650341749191, 0.1663110852241516, -0.46890658140182495, 0.33222654461860657, -0.12386184930801392, 0.011417782865464687, -0.16547271609306335, 0.3100239932537079, 0.21882137656211853, 0.5338205695152283 ]
http://arxiv.org/abs/2405.01575v1
http://arxiv.org/pdf/2405.01575v1
Software Mention Recognition with a Three-Stage Framework Based on BERTology Models at SOMD 2024
2024-04-23T17:06:24
2024-04-23T17:06:24
Thuy Nguyen Thi, Anh Nguyen Viet, Thin Dang Van, Ngan Nguyen Luu Thuy
cs.SE
cs.SE, cs.AI, cs.CL
This paper describes our systems for the sub-task I in the Software Mention Detection in Scholarly Publications shared-task. We propose three approaches leveraging different pre-trained language models (BERT, SciBERT, and XLM-R) to tackle this challenge. Our bestperforming system addresses the named entity recognition (NER) problem through a three-stage framework. (1) Entity Sentence Classification - classifies sentences containing potential software mentions; (2) Entity Extraction - detects mentions within classified sentences; (3) Entity Type Classification - categorizes detected mentions into specific software types. Experiments on the official dataset demonstrate that our three-stage framework achieves competitive performance, surpassing both other participating teams and our alternative approaches. As a result, our framework based on the XLM-R-based model achieves a weighted F1-score of 67.80%, delivering our team the 3rd rank in Sub-task I for the Software Mention Recognition task.
[ -0.6646685004234314, -0.17077405750751495, 0.6980453133583069, 0.3419301211833954, -0.19031691551208496, -0.1035378947854042, -0.02486138418316841, -0.8669753670692444, 0.2956223785877228, 0.4041025936603546, -0.5281113982200623, -0.5635365843772888, -0.7157148122787476, 0.5017547011375427, -0.6796847581863403, 1.3381733894348145, -0.19095565378665924, 0.16694492101669312, -0.16468431055545807, -0.020804068073630333, -0.09717117995023727, -0.25392642617225647, -0.4777425229549408, -0.5594457387924194, 0.8014174699783325, 0.4620564877986908, 0.35102006793022156, 0.391045480966568, 0.943423330783844, 0.1591266542673111, 0.17399907112121582, -0.1400117725133896, -0.11598020792007446, 0.19501447677612305, -0.018837740644812584, -0.30804669857025146, -0.5637792348861694, -0.011661041527986526, 0.537007749080658, 0.21175667643547058, 0.20564962923526764, 0.20901736617088318, 0.05940677970647812, 0.2400982826948166, -0.427462100982666, 0.4479069113731384, -0.6369271278381348, 0.032088808715343475, -0.6169123649597168, -0.33211570978164673, -0.3782051205635071, -0.3298177719116211, 0.20956774055957794, -0.7810831069946289, 0.3649899959564209, 0.3000361919403076, 1.1044137477874756, 0.0412522591650486, 0.12329446524381638, -0.5501841306686401, -0.7775814533233643, 0.7642853856086731, -0.7397713661193848, 0.30475732684135437, 0.23011250793933868, 0.08002165704965591, -0.30375975370407104, -0.7685383558273315, -0.6482416391372681, -0.2298932522535324, 0.24096530675888062, -0.11735852062702179, -0.48166781663894653, 0.01685275323688984, 0.15760278701782227, 0.0944955125451088, -0.5452209711074829, 0.17345130443572998, -0.588146448135376, -0.19753296673297882, 0.4575227200984955, -0.23893031477928162, 0.29565495252609253, -0.2192201465368271, -0.48542851209640503, 0.3686058223247528, -0.997480034828186, -0.6144757270812988, 0.10468260198831558, 0.352976530790329, 0.40314772725105286, 0.41354161500930786, 0.2029200792312622, 0.600450336933136, -0.16125167906284332, -0.018854504451155663, 0.43794959783554077, -0.2630934417247772, -0.13975556194782257, 0.11088135093450546, 0.737726628780365, 0.02134057506918907, 0.026812102645635605, -0.47143760323524475, -0.3472138047218323, 0.06450904160737991, 0.34230268001556396, -0.49957507848739624, -0.375338077545166, 0.10213399678468704, -0.5609499216079712, -0.2294333279132843, 0.021627124398946762, -0.18350006639957428, -0.6521835923194885, -0.1918782740831375, 0.8598873019218445, -0.676433801651001, -0.35954999923706055, -0.19599296152591705, -0.19425752758979797, 0.14420250058174133, 0.6281050443649292, -0.7309567928314209, 0.5979262590408325, 0.9938274025917053, 0.817043662071228, -0.3561997413635254, -0.4698813557624817, -0.433805912733078, 0.32882845401763916, -0.22723034024238586, 0.9534487724304199, -0.3110594153404236, -0.1597965657711029, -0.27767032384872437, -0.08281684666872025, 0.10284959524869919, -0.7742853164672852, 0.5621780157089233, -0.9108922481536865, 0.04677562415599823, -0.4026535153388977, -0.8838391304016113, -0.3051972985267639, 0.4010605812072754, -0.8253809213638306, 1.0964438915252686, 0.11986953765153885, -1.2098716497421265, 0.7405194640159607, -0.8090165853500366, -0.17858421802520752, 0.6771814823150635, -0.39985191822052, -0.25496017932891846, -0.11659149080514908, -0.15837806463241577, 0.7124400734901428, -0.36400535702705383, 0.381507933139801, -0.3957403004169464, -0.7207340598106384, -0.10175646841526031, 0.39626991748809814, 0.5902233719825745, 0.2699635624885559, -0.48467403650283813, 0.24234800040721893, -0.6717408299446106, -0.3389439284801483, -0.1343858391046524, -0.3559536635875702, -0.6007764339447021, -0.047575049102306366, 0.3672615587711334, 0.0642222985625267, 0.2305566519498825, -0.8431767225265503, 0.3580874502658844, -0.10982479155063629, 0.32927852869033813, 0.42647993564605713, 0.019115719944238663, 0.4640215337276459, -0.046326711773872375, 0.5079966187477112, 0.30198943614959717, 0.034508854150772095, 0.08557359874248505, -0.5256041884422302, -0.8587505221366882, -0.35672587156295776, 0.762481689453125, 0.5052971243858337, -0.9524584412574768, 0.2626475691795349, -0.4088646471500397, -0.5322526097297668, -0.22560645639896393, 0.05976935476064682, 0.364290326833725, 0.27156883478164673, 0.47359541058540344, -0.1927204430103302, -0.9315561652183533, -1.0163813829421997, -0.28328999876976013, -0.518252432346344, -0.18857091665267944, 0.33681586384773254, 0.8890557289123535, -0.2914558947086334, 1.0514678955078125, -0.5378983020782471, -0.4740358889102936, -0.3556046485900879, 0.7790294885635376, 0.28791454434394836, 0.3946644961833954, 0.4546436071395874, -0.9225314855575562, -0.3345959484577179, -0.22883999347686768, -0.8299558162689209, -0.18577636778354645, 0.20974914729595184, 0.1816481202840805, 0.20503157377243042, 0.8071807622909546, -0.3499336838722229, -0.0143092330545187, 0.13624820113182068, 0.18099628388881683, 0.30595430731773376, -0.04129229858517647, -0.07543960958719254, -1.094829797744751, 0.030856149271130562, 0.33812516927719116, -0.137261763215065, -0.4703855514526367, 0.007053466979414225, 0.15447697043418884, 0.0031952557619661093, -0.278939425945282, 0.478767067193985, -0.7091358304023743, -0.5022022128105164, -0.3015178143978119, 0.23974452912807465, -0.3150712251663208, 0.16540272533893585, 0.1973658800125122, 0.5892173647880554, 0.4894028902053833, -0.7467873692512512, 0.1672009527683258, -0.07117507606744766, -0.3977305591106415, 0.5192828178405762, -0.5571330189704895, 0.009194315411150455, -0.033443633466959, 0.31416675448417664, -0.7614930868148804, -0.05981425940990448, 0.3851463496685028, -0.5663445591926575, 0.31284087896347046, -0.028009595349431038, -0.8879660367965698, -0.5415573120117188, -0.1519262045621872, -0.002486560260877013, 0.08475561439990997, -0.292995810508728, 0.6909661293029785, 0.6256993412971497, -0.5445224046707153, -0.43636253476142883, -0.49282026290893555, 0.3062478303909302, -0.13713283836841583, -0.37826234102249146, 0.888801634311676, 0.12608018517494202, 0.05943121016025543, 0.18464258313179016, -0.21649663150310516, -0.2711752653121948, 0.1060747355222702, 0.513671875, 0.5693711042404175, 0.1391904503107071, 0.22115549445152283, -0.2336139976978302, -0.24599236249923706, 0.01680700294673443, -0.5047588348388672, 0.2888711094856262, -0.17462408542633057, -0.04544288292527199, -0.08802143484354019, 0.1734490692615509, 0.2021624892950058, -0.08212526887655258, 0.5471180081367493, 0.9357166290283203, -0.7766419649124146, 0.02414817363023758, -0.5516290068626404, -0.032504498958587646, -0.3694428503513336, 0.2105005830526352, -0.3757772445678711, -1.0525795221328735, 0.32309043407440186, -0.021230224519968033, 0.2588980495929718, 0.3958503305912018, 0.2834739089012146, -0.14198994636535645, 0.8059334754943848, 0.8466759920120239, -0.35639238357543945, 0.43502047657966614, -0.1632079929113388, 0.36598655581474304, -0.9388412833213806, -0.2076486200094223, -0.913357675075531, -0.14241452515125275, -0.400056928396225, -0.4188278615474701, 0.36836180090904236, 0.11131531000137329, -0.019604122266173363, 1.019330620765686, -0.49639734625816345, 0.10252828896045685, 0.7415568232536316, -0.07398789376020432, 0.1698232740163803, -0.2109384387731552, -0.1796586960554123, -0.21684977412223816, -0.33761149644851685, -0.677640974521637, 0.8619633913040161, 0.3926216959953308, 0.572179913520813, -0.06436306983232498, 1.4076056480407715, 0.6820207834243774, 0.7716819643974304, -0.7982205748558044, 0.918030321598053, 0.061009302735328674, -0.9208636283874512, -0.09680268168449402, -0.2834968566894531, -0.7371708750724792, -0.07954548299312592, -0.23418067395687103, -0.7264293432235718, 0.1704077273607254, -0.09184490144252777, -0.3650888204574585, -0.03657158464193344, -0.34153279662132263, 0.676259458065033, 0.13647185266017914, -0.05834157392382622, 0.002090750029310584, -0.6547256112098694, 0.14277562499046326, -0.14822521805763245, 0.5412296652793884, -0.0796278715133667, -0.13805276155471802, 1.0467349290847778, 0.11023201793432236, 0.30524078011512756, -0.4555416703224182, -0.19918659329414368, 0.03591368347406387, 0.06258975714445114, 0.34405088424682617, -0.056301798671483994, -0.14172618091106415, 0.24691766500473022, 0.14174163341522217, 0.01879858784377575, -0.2477893978357315, 0.7589439153671265, -0.6855202913284302, -0.29748377203941345, -0.8585847616195679, -0.5408447980880737, -0.06225401908159256, 0.7001635432243347, 0.41387614607810974, 0.15261206030845642, -0.28027617931365967, 0.0939410999417305, 0.6789019703865051, -0.03452511131763458, 0.49288976192474365, 0.846541166305542, -0.4831852316856384, -0.4383251965045929, 1.149739384651184, 0.2901182472705841, -0.3817899227142334, 0.5484371185302734, -0.4083978235721588, -0.07962974905967712, -0.870059072971344, -0.34458670020103455, 0.20506837964057922, -0.70897376537323, -0.35472142696380615, -1.1272164583206177, -0.22638452053070068, -0.45019084215164185, 0.008534685708582401, -0.018410079181194305, -0.22123052179813385, -0.5809024572372437, 0.05616433918476105, 0.07118440419435501, 1.0165365934371948, -0.07525023818016052, -0.028546836227178574, -1.0327908992767334, 0.3359498083591461, -0.11953821778297424, 0.28623342514038086, -0.1784326583147049, -0.397583544254303, -0.44891637563705444, -0.5883107781410217, -0.1704779863357544, -0.814720869064331, 0.32856595516204834, 0.2088315784931183, 0.6192958950996399, 0.19416218996047974, -0.05066226050257683, 0.2927132844924927, -0.734129786491394, 0.7113872766494751, 0.11679834872484207, -1.036656379699707, 0.5239684581756592, -0.40994080901145935, -0.0007855553412809968, 0.668607771396637, 0.8830206394195557, -0.1571703404188156, -0.4071885943412781, -0.656003475189209, -0.8065776228904724, 0.9248060584068298, 0.2221502661705017, -0.19939693808555603, -0.13343016803264618, 0.40639016032218933, 0.0820314884185791, 0.33141735196113586, -1.0304319858551025, -0.12667714059352875, 0.3523160219192505, -0.1824498325586319, 0.21765388548374176, -0.32932141423225403, -0.02810584381222725, 0.017811143770813942, 1.1503931283950806, -0.02848544716835022, 0.39071446657180786, 0.06808557361364365, -0.18863604962825775, 0.17139144241809845, 0.41618454456329346, 0.36036446690559387, 0.46067628264427185, -0.4737452566623688, 0.1314442902803421, -0.12875060737133026, -0.6217659711837769, -0.03987247496843338, 0.5229236483573914, -0.3834892511367798, 0.3794420659542084, 0.3374190032482147, 0.29535233974456787, 0.623295783996582, -0.18635259568691254, 0.4683336615562439, -0.020273832604289055, -0.23493243753910065, -0.39660218358039856, 0.09497562050819397, 0.35734546184539795, 0.4361540973186493, 0.6036632657051086, 0.22935256361961365, 0.7151750922203064, -0.38884875178337097, 0.2502397298812866, 0.291374534368515, -0.5621106624603271, -0.22549638152122498, 0.40992870926856995, 0.06726487725973129, -0.10545596480369568, 0.19022458791732788, -0.5427148938179016, -0.72712242603302, 0.5336261987686157, 0.6176276803016663, 0.8442302942276001, -0.012789837084710598, 0.29243913292884827, 0.2573414444923401, 0.23123428225517273, -0.37117210030555725, 0.6183175444602966, -0.24125227332115173, -0.7162163853645325, 0.021117201074957848, -0.7042165398597717, -0.6878054738044739, -0.05372346192598343, -0.8056778311729431, 0.7175565361976624, -0.34971463680267334, -0.4270380735397339, 0.8914819359779358, 0.12117712199687958, -0.419255793094635, 0.28827038407325745, 0.33692365884780884, 1.0362794399261475, -0.7891919016838074, 0.9270576238632202, 1.0202406644821167, -0.6492233276367188, -0.8959373831748962, 0.027540337294340134, -0.10598653554916382, -0.24108435213565826, 1.1000694036483765, 0.24313800036907196, -0.19698889553546906, 0.22850729525089264, -0.6801387667655945, -0.9259206056594849, 1.1389435529708862, 0.22169145941734314, -0.5268234014511108, -0.30798038840293884, -0.5715653300285339, 0.4578966200351715, -0.4661346673965454, 0.28099972009658813, 0.3238057494163513, 0.3653516471385956, 0.2709636986255646, -0.9836030602455139, -0.12411031126976013, -0.4097841680049896, 0.1981038600206375, 0.3953973650932312, -0.13467878103256226, 0.9689322113990784, -0.07324465364217758, -0.26036950945854187, 0.08588363975286484, 0.8402215242385864, 0.7372845411300659, 0.5296535491943359, 0.6152894496917725, 0.44413992762565613, 0.5054275989532471, -0.16982519626617432, 0.6554692387580872, -0.3792652487754822, 0.41477328538894653, 1.2210252285003662, -0.7914929986000061, 1.041861891746521, 0.4624565839767456, -0.30019694566726685, 0.8270907402038574, 0.7241668701171875, -0.3383009731769562, 0.4868905246257782, 0.4547041654586792, -0.3004744350910187, 0.028440704569220543, -0.24199889600276947, -0.6603543162345886, 0.2220350205898285, 0.4410315454006195, -0.5251832604408264, -0.20656302571296692, 0.23709535598754883, 0.30383601784706116, -0.3616774380207062, -0.26620885729789734, 0.8094772100448608, 0.1572643667459488, -0.7170201539993286, 0.17108657956123352, 0.29738649725914, 0.7987983226776123, -0.5576112866401672, -0.11660559475421906, 0.2785726487636566, 0.29999205470085144, -0.4402877390384674, -0.5549657940864563, 0.08011551946401596, 0.2006562054157257, -0.5614495277404785, -0.1878792941570282, 1.0402973890304565, -0.25713106989860535, -0.40744808316230774, 0.47430700063705444, 0.13222992420196533, 0.4054138958454132, -0.07555025070905685, -0.5400086641311646, 0.2936776280403137, -0.38290873169898987, 0.13363108038902283, 0.33224210143089294, 0.3718075156211853, 0.06306436657905579, 0.48530250787734985, 0.2961803674697876, 0.1733245849609375, -0.13539157807826996, 0.25634175539016724, 1.0607973337173462, -0.5283251404762268, -0.550707995891571, -0.5781875252723694, -0.21162185072898865, -0.17927289009094238, 0.009695705957710743, 1.031600832939148, 0.6923671364784241, 0.7857098579406738, -0.11476929485797882, 0.855197548866272, -0.3136652410030365, 0.8089025020599365, -0.013680225238204002, 0.5465336441993713, -0.54726642370224, 0.5469065308570862, -0.9029088020324707, -1.095749020576477, -0.5277519226074219, 0.5703791379928589, -0.3225654363632202, 0.04898379370570183, 0.6025123000144958, 0.5554041862487793, 0.1028427928686142, 0.47561216354370117, 0.013743757270276546, 0.008661861531436443, 0.26373520493507385, 0.36049383878707886, 0.6376116871833801, -0.6018493175506592, 0.37451842427253723, 0.12519636750221252, -0.19735580682754517, -0.303134948015213, -1.1071830987930298, -0.49140408635139465, -0.7088068127632141, -0.44494161009788513, -0.4115050435066223, 0.09914248436689377, 0.9671605825424194, 0.7031088471412659, -1.0013107061386108, -0.007701451424509287, -0.39136379957199097, -0.12213856726884842, -0.08883901685476303, -0.23700091242790222, 0.06805980205535889, -0.19704413414001465, -0.5133346319198608, 0.4206286072731018, 0.7127851247787476, -0.29006534814834595, -0.48652851581573486, 0.13752411305904388, -0.6115541458129883, -0.15416760742664337, 0.37410539388656616, 0.18662741780281067, -0.7068018317222595, -0.1031276136636734, 0.21553125977516174, -0.39363035559654236, -0.2700543701648712, 0.8208562731742859, -0.8746849298477173, 0.30533018708229065, 0.5681473612785339, 0.42072421312332153, 0.46188318729400635, -0.30509746074676514, 0.5696108937263489, -0.5297570824623108, -0.32582035660743713, 0.48249155282974243, 0.44862887263298035, 0.4233011305332184, -0.2570837438106537, 0.7177557945251465, 0.20939069986343384, -0.7468502521514893, -1.0368094444274902, 0.004597736522555351, -0.8633395433425903, -0.09512363374233246, 0.840118944644928, -0.6230809092521667, 0.032907530665397644, -0.4743865728378296, -0.08434250205755234, 0.3155437409877777, -0.3007345497608185, 0.6330267786979675, 0.7880129218101501, -0.35777518153190613, -0.24462145566940308, -0.4181055426597595, 0.4670157730579376, 0.1432148814201355, -0.8909756541252136, -0.3534056544303894, 0.5475153923034668, 0.49194154143333435, 0.7398748993873596, 1.06649911403656, -0.2840784788131714, 0.2771558165550232, -0.11610068380832672, 0.46388009190559387, 0.02430787682533264, -0.7723249793052673, -0.12019582092761993, 0.22737492620944977, 0.3346749544143677, -0.0313752256333828 ]
http://arxiv.org/abs/2404.15228v1
http://arxiv.org/pdf/2404.15228v1
Re-Thinking Inverse Graphics With Large Language Models
2024-04-23T16:59:02
2024-04-23T16:59:02
Peter Kulits, Haiwen Feng, Weiyang Liu, Victoria Abrevaya, Michael J. Black
cs.CV
cs.CV, cs.CL
Inverse graphics -- the task of inverting an image into physical variables that, when rendered, enable reproduction of the observed scene -- is a fundamental challenge in computer vision and graphics. Disentangling an image into its constituent elements, such as the shape, color, and material properties of the objects of the 3D scene that produced it, requires a comprehensive understanding of the environment. This requirement limits the ability of existing carefully engineered approaches to generalize across domains. Inspired by the zero-shot ability of large language models (LLMs) to generalize to novel contexts, we investigate the possibility of leveraging the broad world knowledge encoded in such models in solving inverse-graphics problems. To this end, we propose the Inverse-Graphics Large Language Model (IG-LLM), an inverse-graphics framework centered around an LLM, that autoregressively decodes a visual embedding into a structured, compositional 3D-scene representation. We incorporate a frozen pre-trained visual encoder and a continuous numeric head to enable end-to-end training. Through our investigation, we demonstrate the potential of LLMs to facilitate inverse graphics through next-token prediction, without the use of image-space supervision. Our analysis opens up new possibilities for precise spatial reasoning about images that exploit the visual knowledge of LLMs. We will release our code and data to ensure the reproducibility of our investigation and to facilitate future research at https://ig-llm.is.tue.mpg.de/
[ -0.3401431441307068, -1.0331697463989258, 0.8465411067008972, -0.12995924055576324, -0.4027511179447174, -0.20503167808055878, -0.21319477260112762, -0.45208021998405457, 0.029491914436221123, 0.7399187684059143, -0.6141679286956787, -0.5024186372756958, -0.5516502261161804, -0.08870425075292587, -0.3446642756462097, 0.41260361671447754, -0.25562146306037903, 0.04249666631221771, -0.2027939260005951, -0.12032413482666016, -0.303704172372818, -0.39887309074401855, -0.5391367077827454, -0.5223942995071411, 0.29013776779174805, 0.37120887637138367, 0.7220343351364136, 0.6600719094276428, 0.28535735607147217, 0.3136404752731323, 0.34932640194892883, -0.20280855894088745, -0.8011545538902283, -0.08147663623094559, -0.19741767644882202, -0.3878215253353119, -0.183903306722641, -0.07942669838666916, 0.7525479197502136, 0.6825993657112122, 0.1774972379207611, 0.16878120601177216, -0.1302293986082077, 0.6262648701667786, -0.5764788389205933, 0.3373226821422577, -0.6503957509994507, 0.3032244145870209, 0.32176974415779114, -0.2309185415506363, -0.1634506732225418, -0.10636835545301437, -0.06643176823854446, -0.7694496512413025, 0.17637032270431519, 0.100350022315979, 0.9029086232185364, 0.1730477511882782, -0.1313224881887436, 0.17715443670749664, -0.8768821954727173, 0.6061816215515137, -0.6621497869491577, 0.3989271819591522, 0.19848549365997314, 0.44589927792549133, -0.24523071944713593, -0.5769031047821045, -0.798461377620697, -0.07013977319002151, 0.14440040290355682, 0.34643998742103577, -0.31089067459106445, -0.07175566256046295, 0.288700133562088, 0.29147064685821533, -0.5544033050537109, 0.37055376172065735, -0.20213492214679718, 0.13832297921180725, 0.468339741230011, 0.16562294960021973, 0.4389745593070984, 0.2584366500377655, -0.39391836524009705, -0.1718391329050064, -1.1842970848083496, -0.5467633605003357, 0.35782870650291443, 0.16471734642982483, -0.12129077315330505, 0.7856403589248657, -0.026718299835920334, 0.7769434452056885, -0.14719602465629578, 0.13825640082359314, 0.037917546927928925, 0.12983152270317078, -0.4631073772907257, -0.27770930528640747, 0.5845207571983337, 0.4684441387653351, 0.2982701361179352, -0.2048269659280777, -0.26264768838882446, -0.25360381603240967, -0.0196556206792593, -0.8408482074737549, -0.2759722173213959, -0.0672590509057045, -0.3937804400920868, 0.051983702927827835, -0.14051036536693573, -0.48453575372695923, -0.5847303867340088, -0.648002028465271, 0.7173610329627991, -0.3376633822917938, -0.36537402868270874, 0.16994264721870422, -0.17137303948402405, 0.45391178131103516, 0.6111092567443848, -0.5729320049285889, 0.21043998003005981, 0.4978848695755005, 0.6262534856796265, 0.18837201595306396, -0.33050113916397095, -0.27082309126853943, 0.4138047397136688, -0.4526747465133667, 0.8422910571098328, -0.5397996306419373, -0.27487650513648987, -0.10233669728040695, 0.08582677692174911, 0.34220239520072937, -0.5320930480957031, 0.1042635589838028, -0.5080059766769409, 0.17942732572555542, -0.14221087098121643, -0.38816580176353455, -0.36594197154045105, 0.5255466103553772, -0.5827924013137817, 0.5921174883842468, -0.028678223490715027, -0.7039725184440613, 0.2746696472167969, -0.19528256356716156, -0.052058227360248566, 0.16528859734535217, -0.514348030090332, -0.4237036406993866, 0.33266735076904297, 0.4390150010585785, 0.4471065402030945, -0.6027723550796509, 0.20056594908237457, -0.6956164240837097, -0.6342073678970337, -0.018205806612968445, -0.4980280101299286, 0.5122178792953491, -0.0904017761349678, -0.22739934921264648, 0.03499917313456535, -0.4674381613731384, -0.05029084160923958, 0.6214891076087952, -0.000761427276302129, -0.34775611758232117, -0.20318911969661713, -0.14409130811691284, 0.29314470291137695, 0.17571498453617096, -0.6740654706954956, 0.3959615230560303, -0.5122661590576172, 0.2657376229763031, 0.7744423151016235, -0.18372519314289093, 0.763627290725708, 0.04255899041891098, 0.6502894759178162, -0.063588947057724, -0.02020268328487873, -0.5371888875961304, -0.4124665856361389, -0.5377857089042664, -0.32623687386512756, -0.21927495300769806, 0.5292739868164062, -0.8875643610954285, 0.18471723794937134, -0.595850944519043, -0.18187549710273743, -0.0963788852095604, -0.0532296746969223, 0.2920778691768646, 0.7166853547096252, 0.20938707888126373, -0.10038412362337112, -0.39687466621398926, -0.9500464797019958, -0.0705629363656044, -0.16106970608234406, -0.1762240082025528, 0.4278406798839569, 0.5596475601196289, -0.26385900378227234, 0.9246610403060913, -0.9517296552658081, -0.2740791141986847, -0.16509556770324707, -0.021072780713438988, 0.3276265561580658, 0.41919243335723877, 0.4936279058456421, -0.6475695371627808, -0.3777254521846771, 0.040224406868219376, -0.862932026386261, 0.0428265817463398, -0.1631285697221756, -0.2753080427646637, 0.011416223831474781, 0.942244291305542, -0.39225661754608154, 0.6952673196792603, 0.4530865550041199, -0.14852197468280792, 0.5830562710762024, -0.5462706089019775, -0.004198258277028799, -0.6960141062736511, 0.2750110328197479, 0.06811703741550446, -0.09970014542341232, -0.43058347702026367, 0.3093664348125458, -0.04763449728488922, -0.5017101764678955, -0.14282408356666565, 0.8920947909355164, -0.7845584750175476, -0.34928083419799805, -0.4694094955921173, 0.18489068746566772, -0.004303657915443182, 0.5387418270111084, 0.37646451592445374, 0.47305041551589966, 0.8667219877243042, -0.2981683015823364, 0.4101320803165436, 0.04220129922032356, -0.38271191716194153, 0.5528109669685364, -0.5590499043464661, 0.3012874126434326, -0.7324190735816956, 0.3800037205219269, -1.4209040403366089, -0.06114277243614197, 0.43186119198799133, -0.2770804166793823, 0.4957056939601898, -0.4508695900440216, -0.654447615146637, -0.4177355170249939, -0.12885011732578278, 0.6645453572273254, 0.6423326730728149, -0.6313225030899048, 0.7930029034614563, 0.3132825195789337, -0.029254522174596786, -0.6641393303871155, -0.7997751235961914, 0.42275470495224, -0.23824156820774078, -0.37034064531326294, 0.20982052385807037, 0.016163725405931473, -0.2800677418708801, 0.2309287041425705, 0.19145691394805908, -0.08924888074398041, -0.12510336935520172, 0.4439786970615387, 0.28661802411079407, -0.2702878415584564, 0.07355581223964691, -0.06199129670858383, -0.12151311337947845, 0.09389683604240417, -0.6099849343299866, 0.4825047552585602, -0.01519049797207117, -0.6909266710281372, -0.11599031835794449, 0.2818948030471802, 0.4809722900390625, 0.06458862125873566, 0.565746009349823, 0.4167836606502533, -0.5413748621940613, -0.05201509967446327, -0.4906321167945862, -0.07191665470600128, -0.45613229274749756, 0.6339048147201538, -0.49391114711761475, -0.5599484443664551, 0.6767355799674988, -0.3269221782684326, -0.02483191154897213, 0.19806435704231262, 0.377815306186676, -0.2065822333097458, 0.9863461256027222, 0.9679982662200928, 0.1360313445329666, 0.414787232875824, -0.5561711192131042, 0.3119395673274994, -0.8524478077888489, -0.26781362295150757, -0.015607398003339767, -0.3406542241573334, 0.018020551651716232, -0.5143053531646729, 0.35391443967819214, 0.21926483511924744, -0.4106103777885437, 0.14497725665569305, -0.07561410963535309, 0.7336711287498474, 0.1049899309873581, 0.29862645268440247, 0.10561563074588776, 0.17542597651481628, -0.1631421148777008, 0.08408952504396439, -0.6503602266311646, -0.4101170599460602, 0.8499861359596252, 0.3366863429546356, 0.8932251334190369, -0.13449600338935852, 0.5314114093780518, -0.15135270357131958, 0.5906177163124084, -0.9275481104850769, 0.6775488257408142, -0.12613092362880707, -0.34212207794189453, -0.38898977637290955, -0.26978716254234314, -0.9097782969474792, 0.4235595762729645, -0.2441674768924713, -0.6890121698379517, -0.06631610542535782, 0.3369218409061432, -0.09645181894302368, 0.7696366906166077, -0.723530650138855, 0.7648419141769409, -0.18318849802017212, -0.47307533025741577, -0.20706307888031006, -0.45974376797676086, 0.5142146348953247, -0.08094879984855652, 0.3642125427722931, -0.09972760826349258, -0.0640430822968483, 0.10841717571020126, -0.29623451828956604, 1.0633152723312378, -0.2397504597902298, -0.5815277695655823, 0.2524385452270508, 0.5170264840126038, 0.3746788203716278, 0.03650921210646629, 0.25207605957984924, 0.23647381365299225, -0.4015045166015625, -0.20536333322525024, -0.7600417733192444, 0.9572783708572388, -0.7187458276748657, -0.8084738254547119, -0.011560851708054543, -0.40726161003112793, -0.2049921303987503, 0.30214983224868774, 0.22579531371593475, 0.5438830256462097, -0.33377036452293396, -0.263266921043396, 0.5068923234939575, -0.7514694929122925, 0.2021707147359848, 0.2593037784099579, -0.7087018489837646, -0.3479479253292084, 0.7713586688041687, 0.021318038925528526, 0.1743873506784439, 0.5503360629081726, 0.24714025855064392, -0.383968710899353, -0.40458786487579346, -0.5859113931655884, 0.4941089451313019, -1.1040780544281006, -0.3830399215221405, -0.38859859108924866, -0.03805055841803551, -0.14957918226718903, -0.3465172052383423, -0.1940305531024933, -0.3521420657634735, -0.5740972757339478, -0.03717822954058647, 0.051661163568496704, 0.6487060189247131, -0.0467083677649498, 0.24383923411369324, -0.5789408683776855, 0.47846919298171997, 0.34466204047203064, 0.5347663164138794, 0.2645381987094879, -0.8244504928588867, -0.08972093462944031, 0.14822359383106232, 0.029203353449702263, -0.5283503532409668, 0.4755076766014099, 0.11564368009567261, 0.5303305387496948, 0.3910205066204071, -0.4102964401245117, 1.006375789642334, -0.7923611998558044, 0.5371915102005005, 0.46770867705345154, -0.7245888113975525, 0.20133952796459198, -0.38687795400619507, 0.7160211801528931, -0.024142976850271225, 0.2868480086326599, -0.47456300258636475, -0.28408563137054443, -0.4961215555667877, -0.8905113339424133, 0.466826468706131, -0.07519663870334625, 0.38127511739730835, 0.10669440031051636, 0.5544840693473816, 0.20813533663749695, -0.04443125054240227, -0.6602913737297058, 0.03516164422035217, -0.43396878242492676, -0.0028852643445134163, -0.22396054863929749, -0.21516753733158112, -0.06557314842939377, -0.40208980441093445, 0.37301021814346313, -0.28411296010017395, 0.4989800453186035, -0.033253032714128494, -0.12283984571695328, -0.2487925887107849, -0.14494003355503082, 0.5460307002067566, 0.7297287583351135, -0.024412300437688828, 0.3979375660419464, 0.34900304675102234, -0.12964583933353424, 0.12055554240942001, -0.2581975758075714, -0.0034071882255375385, -0.3066073954105377, 0.4784983694553375, 0.785505473613739, 0.087400883436203, -0.789932131767273, 0.6094364523887634, 0.00970055628567934, -0.2253052145242691, -0.6789694428443909, -0.46421244740486145, 0.030700674280524254, 0.15846996009349823, 0.45824146270751953, -0.048452410846948624, -0.06054714322090149, -0.5670087337493896, 0.010421079583466053, 0.6716550588607788, -0.3646632730960846, -0.6195970177650452, 0.5475348234176636, -0.18479199707508087, 0.19451239705085754, 0.9186135530471802, 0.1265411078929901, -0.4262230098247528, 0.823456346988678, 0.9425203800201416, 0.9275753498077393, 0.19778870046138763, 0.08329334855079651, 0.6891641616821289, 0.2487086057662964, -0.07050511240959167, 0.18746589124202728, 0.23163655400276184, -0.9354124665260315, -0.701897144317627, -0.2168300747871399, -0.08819344639778137, 0.21409013867378235, -0.167751744389534, 0.41015705466270447, -0.7016602158546448, -0.055858176201581955, -0.4291658103466034, -0.6728162169456482, -0.7407227754592896, 0.12202707678079605, 0.7329244017601013, 0.7481505870819092, -0.9345549941062927, 0.6425597071647644, 0.7983536720275879, -0.293227881193161, -0.28570303320884705, -0.00478235213086009, -0.23650115728378296, -1.0492103099822998, 1.1152050495147705, 0.08345835655927658, -0.625230073928833, -0.02148999273777008, -1.2145233154296875, -0.9115240573883057, 0.9005551338195801, 0.8156386613845825, -0.4949991703033447, 0.0464131124317646, 0.010632016696035862, 0.5282017588615417, -0.29619699716567993, 0.2720019817352295, 0.09962424635887146, 0.3566277325153351, 0.4366450309753418, -0.6150363087654114, 0.18735885620117188, -0.02069486305117607, 0.12879697978496552, 0.28428879380226135, -0.45176398754119873, 0.7043588757514954, -0.5622425079345703, -0.5051875114440918, 0.1047353446483612, 0.6378644108772278, 0.1961309164762497, -0.10710368305444717, 0.3473731577396393, 0.7942928671836853, 0.19573284685611725, 0.057135846465826035, 1.0145714282989502, 0.04692996293306351, 0.11438136547803879, 1.1538933515548706, -0.2872857451438904, 0.5170214176177979, 0.5294626355171204, 0.21126362681388855, 0.3347468376159668, 0.14368295669555664, 0.05827438831329346, 0.5038338303565979, 0.3825834393501282, 0.03585139662027359, -0.3961796164512634, 0.09432858228683472, -0.17763596773147583, 0.4420003592967987, 0.5191778540611267, -0.2562146782875061, -0.6584104299545288, 0.24203304946422577, -0.045371320098638535, 0.24389973282814026, -0.4030427932739258, 0.6177695989608765, 0.1251782327890396, -0.14773336052894592, 0.7989959120750427, 0.010939324274659157, 0.3971363604068756, -0.4957241714000702, -0.513960063457489, -0.2694346606731415, 0.21392829716205597, -0.04583655297756195, -1.109101414680481, 0.2527081072330475, -0.29118049144744873, 0.26528891921043396, -0.39284518361091614, 0.625496506690979, -0.38257312774658203, -0.3922053873538971, 0.1593875288963318, 0.2994801104068756, 0.11592575907707214, -0.2573234736919403, -0.6680426001548767, 0.19352537393569946, -0.25539833307266235, 0.017739249393343925, 0.23961417376995087, 0.6686823964118958, -0.07335038483142853, 0.8533086180686951, 0.42275020480155945, 0.08636792749166489, -0.1153998151421547, 0.011758722364902496, 1.0815916061401367, -0.6537020206451416, -0.307005912065506, -0.9630577564239502, 0.2511460781097412, 0.07662257552146912, 0.024696169421076775, 0.7380617260932922, 0.6086742877960205, 0.8263894319534302, -0.3985307216644287, 0.7371572852134705, 0.29814788699150085, -0.10653484612703323, -0.6544209122657776, 0.5432396531105042, -0.5426694750785828, 0.02102273516356945, -0.5044558644294739, -1.1164301633834839, -0.7015305161476135, 0.6024198532104492, -0.6646825671195984, -0.17934317886829376, 0.2798890173435211, 0.7264289259910583, -0.3229656219482422, -0.3099673092365265, 0.49899330735206604, 0.17505013942718506, 0.4666926860809326, 0.5700556635856628, 1.2276445627212524, -0.2531927525997162, 0.3684522211551666, -0.08680890500545502, -0.15076065063476562, 0.15010054409503937, -1.12169349193573, -0.79326331615448, -0.6494234204292297, -0.343624472618103, -0.0564422532916069, -0.2683292329311371, 0.6137315034866333, 0.4235651195049286, -0.43446826934814453, -0.28680306673049927, -0.23067663609981537, -0.1824599802494049, -0.04284217208623886, -0.13564470410346985, 0.41006413102149963, 0.2939528822898865, -0.5555715560913086, 0.10914108902215958, 0.5062706470489502, 0.5409039855003357, -0.42970237135887146, 0.09856177866458893, 0.07909338921308517, -0.03689559921622276, 0.749466061592102, 0.5488464832305908, -0.7087607979774475, -0.36772286891937256, -0.23684534430503845, 0.03953520581126213, 0.05243483558297157, 0.9436185359954834, -1.0414389371871948, 0.49507826566696167, 0.5294394493103027, 0.43357130885124207, 0.7911985516548157, 0.08044574409723282, 0.5745036602020264, -0.5062278509140015, 0.5108480453491211, 0.22503472864627838, 0.6136142611503601, 0.4868539273738861, -0.2701108157634735, 0.15787282586097717, -0.002147248713299632, -0.07174043357372284, -0.5750041604042053, 0.5783126354217529, -0.4587399661540985, -0.7523223757743835, 1.1384003162384033, -0.15116846561431885, -0.3799761235713959, 0.15687040984630585, -0.4565114378929138, 0.026440460234880447, 0.14140158891677856, 0.649687647819519, 0.41605445742607117, -0.0426858626306057, -0.5383008122444153, -0.2141672968864441, 0.08555298298597336, -0.00201640953309834, -0.5933552384376526, 0.2889508306980133, 0.8522391319274902, 0.27941423654556274, -0.09223859012126923, 0.6617164015769958, -0.3806571960449219, -0.2929989993572235, -0.038351304829120636, 0.19378560781478882, -0.20844495296478271, -0.38554179668426514, -0.5175271034240723, 0.07285990566015244, 0.09322451800107956, 0.12798988819122314 ]
http://arxiv.org/abs/2404.15219v1
http://arxiv.org/pdf/2404.15219v1
The Power of the Noisy Channel: Unsupervised End-to-End Task-Oriented Dialogue with LLMs
2024-04-23T16:51:26
2024-04-23T16:51:26
Brendan King, Jeffrey Flanigan
cs.CL
cs.CL
Training task-oriented dialogue systems typically requires turn-level annotations for interacting with their APIs: e.g. a dialogue state and the system actions taken at each step. These annotations can be costly to produce, error-prone, and require both domain and annotation expertise. With advances in LLMs, we hypothesize unlabelled data and a schema definition are sufficient for building a working task-oriented dialogue system, completely unsupervised. Using only (1) a well-defined API schema (2) a set of unlabelled dialogues between a user and agent, we develop a novel approach for inferring turn-level annotations as latent variables using a noisy channel model. We iteratively improve these pseudo-labels with expectation-maximization (EM), and use the inferred labels to train an end-to-end dialogue agent. Evaluating our approach on the MultiWOZ benchmark, our method more than doubles the dialogue success rate of a strong GPT-3.5 baseline.
[ -0.43090665340423584, -0.4199715554714203, 0.6065094470977783, 0.12381613999605179, -0.5034196972846985, 0.34413042664527893, -0.3701808750629425, -0.5295270085334778, 0.2707625925540924, 0.7923800349235535, -0.9251395463943481, -0.3968139588832855, -0.6248875260353088, -0.15129677951335907, -0.204536572098732, 1.0817251205444336, 0.3672899901866913, 0.27570250630378723, -0.22240865230560303, 0.021185051649808884, 0.04649250581860542, -0.6968964338302612, -0.3689536154270172, -0.4627021849155426, 0.36717116832733154, 0.21322208642959595, 0.5874481797218323, 0.1038941815495491, 0.08646630495786667, 0.3349896967411041, -0.10715334117412567, 0.35556548833847046, -0.47188884019851685, 0.5697320103645325, 0.014232461340725422, -0.4298226535320282, -0.28716084361076355, 0.09597893804311752, 0.07148167490959167, 0.865080714225769, -0.11207206547260284, 0.04821930453181267, -0.0038337509613484144, 0.2890528738498688, -0.4417027533054352, 0.5927907824516296, -0.579206645488739, 0.032471515238285065, -0.08708416670560837, -0.37890946865081787, -0.5145049095153809, 0.2614688575267792, 0.3841245770454407, -0.8919001221656799, -0.09971646964550018, 0.06641573458909988, 0.689921498298645, 0.7051951289176941, -0.21298499405384064, -0.23638348281383514, -1.142347812652588, 0.8950034976005554, -0.6739988923072815, 0.47405746579170227, 0.49882808327674866, -0.043014898896217346, -0.41184908151626587, -0.770179033279419, -0.19533909857273102, -0.2291187345981598, 0.23459619283676147, 0.3460506498813629, -0.4039720594882965, 0.5270781517028809, 0.3559897541999817, 0.07976075261831284, -0.010362113825976849, 0.11224647611379623, -0.13302499055862427, -0.3666815459728241, 0.43526965379714966, -0.0029256772249937057, -0.17203229665756226, 0.19347722828388214, -0.2819662392139435, 0.13664251565933228, -0.46038153767585754, 0.05697072669863701, 0.6093987226486206, 0.34981194138526917, 0.18704886734485626, 0.33362311124801636, -0.43444588780403137, 0.6007122993469238, 0.20120257139205933, -0.347224622964859, 0.2548457086086273, -0.10338236391544342, -0.23843218386173248, 0.020488929003477097, 0.832811713218689, 0.42096060514450073, 0.20042851567268372, -0.63923579454422, -0.3794993758201599, -0.09258899092674255, 0.3979252278804779, -0.7468408942222595, -0.09555286169052124, 0.21573105454444885, -0.3820345997810364, -0.3081895112991333, -0.2563087046146393, -0.5261751413345337, -0.3656444549560547, -0.4542637765407562, 0.3768548369407654, -0.04290700703859329, -0.144694522023201, -0.14242126047611237, 0.048051077872514725, 0.030310316011309624, 0.45365452766418457, -0.7219630479812622, 0.3674028813838959, 0.43903136253356934, 0.5843990445137024, 0.06774169951677322, -0.005838529206812382, -0.4139164984226227, 0.06209791079163551, -0.4776221215724945, 0.8674060702323914, -0.3844410479068756, -0.3667445480823517, 0.0930793508887291, 0.02133549563586712, 0.14660006761550903, -0.5114299058914185, 0.4196503758430481, -0.3643445670604706, 0.13976146280765533, 0.03267960995435715, -0.5384179949760437, 0.20241813361644745, -0.0711156576871872, -0.19856075942516327, 0.8830220103263855, 0.3345288038253784, -0.37318986654281616, 0.183692067861557, -0.5383166670799255, -0.2561371326446533, 0.10897896438837051, -0.25960275530815125, -0.3416568338871002, 0.13836345076560974, 0.18301264941692352, 0.28497081995010376, -0.4891921579837799, 0.32620367407798767, -0.2169761061668396, -0.2900784909725189, 0.5303437113761902, -0.6702202558517456, 0.6290997266769409, 0.31416115164756775, -0.46757209300994873, 0.18712083995342255, -0.839614748954773, 0.031371913850307465, -0.20292963087558746, -0.058955952525138855, -0.1566314995288849, -0.014061481691896915, -0.32037147879600525, 0.11029669642448425, 0.20508065819740295, -0.9193163514137268, 0.11274561285972595, -0.2505766749382019, 0.44734540581703186, 0.7659646272659302, 0.03688553720712662, 0.528634786605835, -0.13896596431732178, 0.2861587107181549, -0.10277021676301956, 0.5041961669921875, -0.1851390153169632, -0.6318547129631042, -0.9507423043251038, -0.40040987730026245, -0.04425083473324776, 0.4059429466724396, -0.7868610620498657, 0.2555820643901825, 0.09763359278440475, -0.48875585198402405, -0.516773521900177, 0.3096809983253479, 0.4629863202571869, 0.3310472071170807, 0.1702638864517212, -0.4356926679611206, -0.5528238415718079, -0.7756956219673157, 0.05881503224372864, -0.43390172719955444, -0.2206142544746399, 0.4689224362373352, 0.002581109991297126, -0.24428138136863708, 0.8483471870422363, -0.3055034279823303, -0.5643517374992371, -0.27401667833328247, 0.42858225107192993, 0.10562987625598907, 0.10641326010227203, 0.030013110488653183, -0.41596338152885437, -0.2979559004306793, -0.27442002296447754, -0.7196682095527649, -0.6127357482910156, -0.3178281784057617, -0.1627030372619629, 0.13893462717533112, 0.8370160460472107, -0.7626243233680725, 0.5158321857452393, 0.3091302216053009, -0.01578657701611519, 0.323490172624588, -0.1136038601398468, -0.1736663281917572, -0.7518931031227112, -0.47557809948921204, -0.08336865156888962, -0.17437875270843506, -0.7436815500259399, -0.5698935389518738, -0.3623291850090027, -0.11569232493638992, -0.26338645815849304, 0.11619992554187775, -0.6038901805877686, -0.24181875586509705, -0.49909648299217224, -0.009328249841928482, -0.21339936554431915, 1.1598097085952759, 0.19489812850952148, 0.588552713394165, 0.567739725112915, -0.32745492458343506, 0.4850916266441345, 0.1852675825357437, -0.2696807384490967, 0.5368838310241699, -0.4417637586593628, 0.31291088461875916, 0.05596569553017616, 0.30864599347114563, -0.8734427094459534, -0.08740411698818207, 0.28620976209640503, -0.48222264647483826, 0.37369415163993835, -0.4598185420036316, -0.3092961609363556, 0.00930112786591053, -0.024164434522390366, 0.05892203003168106, 0.5746539831161499, -0.4613504707813263, 0.5754137635231018, 0.5876274704933167, -0.2458145171403885, -0.4574163556098938, -0.3645751476287842, 0.18841741979122162, 0.08622106909751892, -0.35731250047683716, 0.2297259271144867, -0.08047166466712952, -0.19648538529872894, -0.2568109333515167, -0.33075836300849915, -0.1443258672952652, -0.06460729986429214, 0.8350121378898621, 0.12042597681283951, 0.12386684119701385, -0.04550459608435631, -0.1789991408586502, -0.34652525186538696, 0.3778160810470581, -0.5780171751976013, 0.3204876184463501, -0.12293299287557602, -0.6948942542076111, -0.42858773469924927, 0.37269127368927, 0.6943668127059937, 0.09294720739126205, 0.2751829922199249, 0.4744824767112732, -0.1725035160779953, -0.19737939536571503, -0.5210549235343933, -0.2222268134355545, -0.4843534827232361, 0.45428648591041565, 0.008134051226079464, -0.8901501297950745, 0.39714109897613525, -0.45463669300079346, 0.27724042534828186, -0.2010412961244583, 0.624165952205658, -0.4186567962169647, 1.012403964996338, 0.7557759881019592, 0.13246332108974457, 0.7163407206535339, -0.21484537422657013, 0.5322185754776001, -0.8085485100746155, -0.626954972743988, -0.32301846146583557, -0.049975764006376266, -0.45564278960227966, -0.6465497016906738, 0.3574756383895874, 0.0645301342010498, -0.2632948160171509, 0.17137937247753143, -0.47135108709335327, 0.1358964592218399, 0.8803504109382629, 0.11122412979602814, 0.21703281998634338, 0.1671576201915741, 0.10948820412158966, -0.1912166327238083, -0.532181441783905, -0.41222941875457764, 1.1678471565246582, 0.45286059379577637, 1.0702564716339111, -0.03276326507329941, 0.6454868912696838, 0.21859249472618103, 0.28427454829216003, -0.8756075501441956, 0.6150756478309631, 0.35422283411026, -0.2966671288013458, -0.5784469842910767, -0.08127378672361374, -0.7833955883979797, 0.25036489963531494, -0.06866517663002014, -1.1204599142074585, 0.2115200012922287, -0.0611405186355114, -0.17236573994159698, 0.27786630392074585, -0.5237246155738831, 0.4550987184047699, -0.24395006895065308, -0.3859459459781647, 0.1926804929971695, -0.7633389234542847, -0.11062221229076385, 0.018789906054735184, 0.1718950718641281, -0.23587484657764435, 0.014684734866023064, 0.9078655242919922, -0.879085123538971, 1.2543044090270996, -0.30898749828338623, -0.11540348082780838, 0.6337465047836304, -0.14608338475227356, 0.5699271559715271, -0.044371239840984344, 0.5131121277809143, 0.33461207151412964, -0.32235896587371826, -0.23234330117702484, -0.7333168983459473, 0.30657729506492615, -1.058020830154419, -0.5505605936050415, -0.3787716329097748, -0.7275804281234741, -0.6523765921592712, -0.08655411005020142, 0.36480531096458435, 0.5233305096626282, 0.06351480633020401, -0.016463028267025948, 0.9118443131446838, 0.07929422706365585, 0.48255565762519836, 0.6686574816703796, 0.018629727885127068, -0.2842288613319397, 0.9891734719276428, 0.015778040513396263, 0.4042210876941681, 0.24625413119792938, -0.15753154456615448, -0.3359423577785492, -0.5857329964637756, -0.4595232307910919, -0.03123300150036812, -0.692807137966156, -0.26138705015182495, -0.7067161798477173, -0.506076991558075, -0.224073126912117, -0.005191161297261715, -0.7609893679618835, -0.37347784638404846, -0.24851654469966888, -0.11697514355182648, 0.2452782392501831, 0.8601961731910706, -0.308624804019928, 0.5605499744415283, -0.5107448101043701, 0.04627315327525139, 0.34243330359458923, 0.2747472822666168, -0.2339174896478653, -0.7125688195228577, -0.470722496509552, 0.04764294996857643, -0.40565070509910583, -0.9344833493232727, 0.34857177734375, 0.00017499311070423573, 0.9006232023239136, 0.5481185913085938, 0.30314430594444275, 0.39372503757476807, -0.15623340010643005, 0.7947091460227966, 0.37158849835395813, -0.7319471836090088, 0.2880580425262451, -0.31708142161369324, 0.11307642608880997, 0.34680214524269104, 0.12685638666152954, -0.3206208646297455, -0.936318576335907, -0.7494774460792542, -1.0212621688842773, 0.7595385909080505, 0.3228408098220825, 0.021787965670228004, 0.11826054006814957, -0.019840674474835396, -0.020451128482818604, 0.4989078938961029, -0.6639672517776489, -0.37982016801834106, -0.31713762879371643, -0.035272836685180664, 0.09688335657119751, -0.30623045563697815, -0.23124441504478455, 0.06791236996650696, 0.7680283784866333, -0.1749812364578247, 0.6963696479797363, 0.2790091931819916, -0.1034582108259201, -0.37796860933303833, 0.3939577043056488, 0.3911694586277008, 0.4821149408817291, -0.3155533969402313, 0.061019252985715866, -0.0546405166387558, -0.4371130168437958, 0.15352778136730194, 0.15945367515087128, -0.11783965677022934, 0.18857000768184662, 0.3579956293106079, 0.9974581599235535, 0.3741839528083801, -0.662006676197052, 0.6255667209625244, -0.17739181220531464, -0.3416103720664978, -0.46862295269966125, -0.16805163025856018, 0.10855909436941147, 0.5744714140892029, 0.4632776379585266, 0.029155269265174866, 0.116246297955513, -0.3856281042098999, 0.07869209349155426, 0.4992748200893402, -0.7982998490333557, -0.11588127166032791, 0.39528921246528625, 0.4761543869972229, -0.44870471954345703, 0.508232057094574, -0.34566760063171387, -0.5586426854133606, 0.23135964572429657, 0.352032870054245, 0.9028673768043518, 0.032230522483587265, 0.30696070194244385, -0.08158428966999054, 0.41191989183425903, 0.21477757394313812, 0.21286951005458832, -0.5895804762840271, -0.5971783399581909, -0.6361933350563049, -0.5632922053337097, -0.7979606986045837, 0.41018471121788025, -0.740753173828125, -0.21278005838394165, -0.2918173670768738, -0.24106642603874207, -0.041891586035490036, -0.12168999761343002, -0.4663303792476654, 0.029380233958363533, 0.2560710608959198, 0.44350799918174744, -0.7844922542572021, 0.5680955052375793, 0.598730742931366, -0.2229643613100052, -0.74936842918396, -0.26159703731536865, -0.00870047602802515, -0.763834536075592, 0.5212421417236328, -0.0827639028429985, -0.21118265390396118, -0.17563635110855103, -0.7438080310821533, -0.8265718817710876, 0.92836993932724, 0.34017959237098694, -0.810531497001648, 0.15847742557525635, 0.30098551511764526, 0.6317738890647888, -0.514133870601654, 0.6246649026870728, 0.36224600672721863, 0.042966216802597046, 0.23589441180229187, -1.0157337188720703, -0.24870868027210236, -0.243019700050354, -0.17824383080005646, 0.13402573764324188, -0.6479548215866089, 0.46702879667282104, -0.34084978699684143, 0.11250612139701843, 0.12848013639450073, 0.7673653960227966, -0.1483834981918335, 0.5137854218482971, 0.5914692878723145, 0.3687838315963745, 0.6918370127677917, -0.2650711238384247, 0.633966863155365, -0.5025387406349182, 0.18067513406276703, 1.2710133790969849, -0.12043695896863937, 0.3347998261451721, 0.6493123769760132, -0.02863532491028309, 0.2940867245197296, 0.8516470193862915, 0.21597690880298615, 0.864678144454956, 0.3352099061012268, -0.5117196440696716, -0.6484095454216003, -0.5004081726074219, 0.00722130760550499, 0.29721781611442566, 0.6085184216499329, -0.23547017574310303, -0.28693562746047974, 0.20718663930892944, -0.07737717777490616, -0.2554456889629364, -0.11197199672460556, 1.0763392448425293, 0.2201033979654312, -0.5878148078918457, 0.3489530384540558, -0.36471232771873474, 0.5654670596122742, -0.6594012975692749, -0.027146531268954277, -0.15570707619190216, 0.013559137471020222, -0.07824764400720596, -0.5983229875564575, -0.10021292418241501, 0.03459981456398964, -0.03904317319393158, -0.4886951744556427, 0.8532272577285767, -0.5527507066726685, -0.027200894430279732, 0.4765268564224243, 0.7953701615333557, 0.5771217346191406, -0.1174691691994667, -0.5599501729011536, 0.06890163570642471, 0.16229037940502167, -0.4186255633831024, 0.5664229393005371, 0.5500612854957581, -0.1093951165676117, 0.8745567798614502, 0.6930789351463318, 0.074665367603302, 0.030526649206876755, 0.501359760761261, 1.1239315271377563, -0.31798186898231506, -0.35239845514297485, -0.3330356180667877, 0.20708085596561432, -0.20213840901851654, -0.26607462763786316, 0.3933468759059906, 0.3017730414867401, 0.9081441164016724, 0.35224875807762146, 1.0443503856658936, 0.2784852385520935, 0.39049503207206726, -0.15916845202445984, 0.27642932534217834, -0.22859488427639008, 0.44864973425865173, -0.25728291273117065, -0.8765470385551453, 0.2703096866607666, 0.621752142906189, -0.045079562813043594, 0.0376194529235363, 0.5694270133972168, 0.856273353099823, 0.2152748703956604, 0.2975315749645233, 0.639220118522644, 0.2717290222644806, 0.3557792603969574, 0.5873134136199951, 1.1758426427841187, -0.05675782263278961, 0.8239404559135437, -0.5220344662666321, -0.48071351647377014, -0.16036412119865417, -0.5918177962303162, -1.1581567525863647, -0.5601823925971985, -0.42521607875823975, -0.4496351480484009, 0.22206906974315643, 0.9017623066902161, 0.8616812229156494, -0.4214382767677307, -0.2056349515914917, -0.06776691973209381, -0.16916392743587494, -0.06743989139795303, -0.11607121676206589, -0.025616249069571495, -0.5933920741081238, -0.7846416234970093, 0.476716011762619, 0.543350875377655, 0.13941563665866852, -0.4687977731227875, -0.264037549495697, 0.24252139031887054, 0.13511310517787933, 0.41627979278564453, 0.37928611040115356, -0.7640315890312195, -0.10463383048772812, 0.020320722833275795, -0.09164519608020782, -0.0225287564098835, 0.9917095899581909, -0.697817325592041, 0.5814840793609619, -0.12625367939472198, 0.4161321818828583, 0.7611193060874939, -0.18898950517177582, 0.5878174304962158, -0.8066850900650024, 0.34700778126716614, 0.3168799579143524, 0.28462669253349304, 0.29852426052093506, -0.3632928729057312, 0.5019419193267822, 0.32128405570983887, -0.7741172313690186, -0.8203911781311035, 0.2301514446735382, -1.133177638053894, -0.23678287863731384, 1.2504146099090576, -0.3741229176521301, -0.16177862882614136, -0.7164902091026306, -0.2922411262989044, 0.48781508207321167, -0.7762941122055054, 0.4738623797893524, 0.552348256111145, -0.625648558139801, -0.1395493745803833, -0.583235502243042, 0.6726174354553223, 0.5430507063865662, -0.6342635154724121, 0.21547886729240417, 0.3639563322067261, 0.10021110624074936, 0.41292423009872437, 0.9996755719184875, 0.09133951365947723, -0.03914222866296768, 0.15007655322551727, 0.09138958901166916, -0.37489446997642517, -0.40286391973495483, 0.11288011819124222, -0.18436625599861145, 0.19847704470157623, -0.2937674820423126 ]
http://arxiv.org/abs/2404.15206v2
http://arxiv.org/pdf/2404.15206v2
Does Instruction Tuning Make LLMs More Consistent?
2024-04-23T16:39:03
2024-04-30T09:25:40
Constanza Fierro, Jiaang Li, Anders Søgaard
cs.CL
cs.CL
The purpose of instruction tuning is enabling zero-shot performance, but instruction tuning has also been shown to improve chain-of-thought reasoning and value alignment (Si et al., 2023). Here we consider the impact on $\textit{consistency}$, i.e., the sensitivity of language models to small perturbations in the input. We compare 10 instruction-tuned LLaMA models to the original LLaMA-7b model and show that almost across-the-board they become more consistent, both in terms of their representations and their predictions in zero-shot and downstream tasks. We explain these improvements through mechanistic analyses of factual recall.
[ 0.08065322041511536, -0.7447962760925293, 0.6660979390144348, -0.13851310312747955, -0.20078857243061066, 0.01908322051167488, -0.19577547907829285, -0.5353041887283325, 0.09560958296060562, 0.5389678478240967, -0.5181363821029663, -0.4302932322025299, -0.6865355372428894, 0.1892375499010086, -0.35193970799446106, 0.946262538433075, -0.07574967294931412, -0.22887031733989716, -0.05884639546275139, -0.010947780683636665, -0.7193194031715393, -0.2709411382675171, -0.3371262550354004, -0.40544751286506653, 0.6456135511398315, 0.5254354476928711, 0.8785082101821899, 1.4516055583953857, 0.6112555861473083, 0.27618688344955444, -0.15289442241191864, 0.1041211411356926, -0.5859676003456116, 0.3393703103065491, -0.1885327249765396, -0.8445250391960144, -0.68929123878479, 0.07104501873254776, 0.8096523284912109, 0.4404448866844177, -0.42573827505111694, 0.2485639899969101, -0.025860993191599846, 0.42541277408599854, -0.8239559531211853, -0.023965835571289062, -0.9494554400444031, -0.34655436873435974, -0.11306978017091751, -0.4638805389404297, -0.4910010099411011, -0.3948653042316437, -0.24341869354248047, -0.598595142364502, 0.19429387152194977, 0.06477105617523193, 1.060868263244629, 0.718215823173523, -0.3656148314476013, -0.2676284611225128, -0.6486324071884155, 0.7449593544006348, -0.9440816640853882, 0.26204994320869446, 0.2590847313404083, 0.02232827991247177, -0.5264078378677368, -0.2475643754005432, -0.5735758543014526, -0.16064020991325378, 0.15119348466396332, 0.1267799288034439, 0.044901229441165924, 0.179090678691864, 0.4272792339324951, 0.38734692335128784, -0.24688833951950073, 0.4529990255832672, -0.28181424736976624, -0.06491558998823166, 0.6406770348548889, 0.4056858718395233, 0.11762895435094833, 0.2644346356391907, -0.07585317641496658, -0.10575803369283676, -1.0298264026641846, 0.14691102504730225, 0.4956260919570923, 0.1528918743133545, 0.07572238892316818, 0.590103805065155, -0.4376435875892639, 1.1019856929779053, 0.4246681034564972, -0.48805806040763855, -0.08937268704175949, -0.2720862627029419, -0.28493669629096985, 0.40917423367500305, 0.24862271547317505, 0.48223811388015747, 0.39008036255836487, -0.02498331293463707, -0.153404101729393, 0.30167779326438904, 0.4278234541416168, -0.6044402718544006, -0.3225240409374237, -0.16692297160625458, -0.20980852842330933, -0.27795660495758057, -0.05026216804981232, -0.127706840634346, -0.1875174343585968, -0.7209412455558777, 0.5116986036300659, -0.27381518483161926, -0.04452107101678848, 0.41327977180480957, -0.0019086390966549516, 0.6534256935119629, 0.3702152967453003, -1.3398494720458984, 0.07848599553108215, 0.9798766374588013, 0.56179279088974, -0.15677520632743835, -0.3618573546409607, -0.6681928634643555, 0.33469346165657043, -0.7610005736351013, 1.0609140396118164, -0.8808810710906982, -0.1982281655073166, -0.17466618120670319, -0.053053755313158035, -0.2939828634262085, -0.7656031847000122, 0.1494263857603073, -0.47449636459350586, -0.17855004966259003, -0.7040507197380066, -0.7957741618156433, -0.06855975836515427, 0.27314671874046326, -0.4713500440120697, 0.88718181848526, -0.1655261367559433, -0.1027696430683136, 0.5081568360328674, -0.11660721898078918, -0.3638823330402374, -0.38433465361595154, -0.117847740650177, -0.37668702006340027, 0.5685689449310303, -0.11317982524633408, 0.20044498145580292, -0.09322570264339447, 0.013225143775343895, -0.3706413507461548, -1.0307835340499878, 0.405007928609848, -0.6623741984367371, 0.4212154150009155, -0.06789086014032364, -0.39610520005226135, -0.01776960678398609, -0.8571470975875854, 0.17183944582939148, -0.27482160925865173, -0.5732711553573608, 0.039492350071668625, 0.1782219111919403, -0.9199227094650269, 0.0921669527888298, 0.2132786512374878, -0.48255693912506104, 0.4353991150856018, -0.2676258981227875, 0.20202411711215973, 0.9049645662307739, 0.16619160771369934, 0.2845176160335541, -0.6371041536331177, 0.46873193979263306, 0.16458985209465027, 0.045059654861688614, -0.5944650769233704, -0.5115050673484802, -1.0648460388183594, -0.25283876061439514, 0.375469446182251, 0.5343212485313416, -0.17027722299098969, 0.26598024368286133, -0.06746773421764374, -0.2688022553920746, -0.8135321736335754, 0.20209980010986328, 0.49445706605911255, 0.5753863453865051, 0.22133541107177734, -0.18365955352783203, -0.3335852324962616, -0.6996111273765564, -0.19444851577281952, -0.06587698310613632, -0.0006862004520371556, 0.053883131593465805, 0.18118895590305328, 0.004837114829570055, 0.5035221576690674, -0.3113628029823303, 0.2305794060230255, 0.13473506271839142, -0.03902202472090721, 0.24173882603645325, 0.40727904438972473, 0.30699023604393005, -0.12711089849472046, -0.6160144209861755, 0.03727316856384277, -0.768406867980957, -0.27327173948287964, 0.051538605242967606, -0.34760531783103943, 0.469259113073349, 0.40741875767707825, -0.5041481256484985, 0.6053493022918701, 0.4167783558368683, -0.0893789604306221, 0.4511094093322754, -0.17603789269924164, 0.4194038212299347, -0.6643593311309814, -0.3410862982273102, -0.2158992439508438, -0.07965058833360672, -0.5632811188697815, -0.14829987287521362, 0.2701990008354187, 0.3107231855392456, -0.40360936522483826, 0.12326579540967941, -0.46824967861175537, -0.18527407944202423, -0.46366164088249207, 0.14901575446128845, 0.13157713413238525, 0.4371521770954132, -0.09250972419977188, 1.1586021184921265, 0.45014309883117676, -0.9309332966804504, 0.14961916208267212, 0.05175885930657387, -0.5010241866111755, 0.6475937366485596, -0.9086790084838867, 0.3219403624534607, -0.023831497877836227, -0.07824788987636566, -0.9227477312088013, -0.08937406539916992, 0.17423377931118011, -0.20377203822135925, 0.6515084505081177, 0.04914941266179085, -0.29306602478027344, 0.15911300480365753, -0.3120833933353424, -0.04420100152492523, 0.6297580003738403, -0.47798627614974976, 0.29693183302879333, -0.003021729877218604, 0.1814582347869873, -0.7221123576164246, -0.425747811794281, -0.2706855535507202, -0.012690727598965168, -0.26854702830314636, 0.2834615111351013, -0.14171536266803741, -0.20542757213115692, -0.0024539856240153313, -0.6540679931640625, 0.2267015427350998, 0.36242014169692993, 0.12393440306186676, 0.48342961072921753, -0.5205796360969543, 0.1772230863571167, 0.12471814453601837, -0.1385224461555481, -0.1128147542476654, -0.18035969138145447, 0.28107398748397827, -0.06463972479104996, -0.500976026058197, -0.7094190716743469, -0.008517102338373661, 0.2598041296005249, -0.11991854012012482, 0.749045729637146, 0.09281685948371887, 0.07201873511075974, 0.0836344063282013, -0.6647111773490906, -0.2399703711271286, -0.5198180675506592, 0.037972573190927505, -0.4118736684322357, -1.0251039266586304, 0.4017183184623718, -0.05069771036505699, 0.02777906320989132, 0.32770493626594543, 0.5896991491317749, -0.6041122078895569, 1.1200299263000488, 0.8733595013618469, 0.05825699493288994, 0.5122907757759094, 0.12449383735656738, 0.0884411558508873, -1.0222322940826416, -0.12472943961620331, -0.425213485956192, -0.6360608339309692, -0.8346118927001953, -0.17254464328289032, 0.17079812288284302, 0.29574334621429443, -0.5484103560447693, 0.21373388171195984, -0.5323762893676758, 0.9150410890579224, 0.5804006457328796, -0.024591239169239998, 0.321576863527298, -0.01174943707883358, -0.08304008096456528, 0.024220528081059456, -0.8321430087089539, -0.91162109375, 1.1496614217758179, -0.016494495794177055, 0.949287474155426, 0.045575711876153946, 0.7016168832778931, -0.07042140513658524, 0.24372904002666473, -0.4830021560192108, 0.4148774743080139, -0.24414829909801483, -0.7317298054695129, -0.12075064331293106, -0.14694346487522125, -0.8917961120605469, 0.024555901065468788, -0.3109389841556549, -0.9794942140579224, 0.08940409868955612, 0.6441402435302734, -0.33604031801223755, 0.28214672207832336, -0.6241104602813721, 0.6973437070846558, -0.2944709360599518, -0.48709121346473694, -0.1967211216688156, -0.5500588417053223, 0.31065359711647034, 0.15956126153469086, -0.35437825322151184, -0.5468267798423767, -0.04007963836193085, 0.2214004248380661, -0.16537734866142273, 0.9736151695251465, 0.27214282751083374, -0.2899913787841797, 0.38822516798973083, -0.0002675108553376049, 0.45033344626426697, -0.2794557511806488, -0.18946562707424164, 0.3472853899002075, 0.10301753133535385, -0.5353100895881653, -0.81878262758255, 0.7397509813308716, -0.8512420058250427, -1.150998830795288, -0.23893755674362183, -0.7239935994148254, -0.02710498496890068, -0.1531672179698944, 0.12922701239585876, 0.21158839762210846, 0.19597139954566956, 0.22094739973545074, 1.1093223094940186, -0.0018254126189276576, 0.30804699659347534, 0.704204261302948, 0.09747994691133499, -0.004494191613048315, 0.7151226997375488, 0.3946595788002014, 0.6211833953857422, 0.5314304232597351, -0.08634201437234879, -0.07665931433439255, -0.23517757654190063, -0.5763095021247864, 0.24267663061618805, -0.5728726983070374, -0.35839053988456726, -0.1336982250213623, -0.15551923215389252, -0.12437374889850616, -0.2094040811061859, -0.34044814109802246, -0.536824107170105, -0.3850041925907135, -0.22808271646499634, 0.45821988582611084, 0.9200282692909241, 0.07389546185731888, 0.6123707294464111, -0.6118122935295105, 0.13705071806907654, 0.3294280469417572, 0.6502412557601929, -0.08838149160146713, -0.9060908555984497, -0.28411877155303955, 0.2630985677242279, -0.5417938232421875, -0.8467721939086914, -0.20605990290641785, 0.3185976445674896, 0.5857076048851013, 0.4133906662464142, -0.3625759780406952, 0.8700476288795471, -0.6544908881187439, 0.6478491425514221, -0.08709464967250824, -1.0740149021148682, 0.6022420525550842, -0.11771076917648315, 0.5661236047744751, 0.37689658999443054, 0.19536316394805908, -0.353464812040329, -0.42839986085891724, -0.46654754877090454, -0.19784128665924072, 0.7265238165855408, -0.19530218839645386, 0.2629258334636688, -0.1877056509256363, 0.8181598782539368, 0.15274500846862793, 0.35161733627319336, -0.21636706590652466, -0.19328899681568146, -0.2031615972518921, -0.4057367444038391, 0.004744777921587229, -0.5320349931716919, 0.053603701293468475, -0.22763517498970032, 0.7045839428901672, -0.04805228114128113, 0.16877132654190063, -0.20181281864643097, 0.012619663029909134, -0.4859267473220825, 0.231535866856575, 0.9796831011772156, 0.7939900159835815, -0.20729215443134308, 0.2045138031244278, 0.4359366297721863, -0.2679210901260376, 0.4473435580730438, -0.45729202032089233, -0.4585780203342438, -0.17510126531124115, 0.5297717452049255, 1.0793342590332031, 0.49353620409965515, -0.417741596698761, 0.07698224484920502, 0.1968313455581665, -0.15130475163459778, 0.15575650334358215, 0.9867928624153137, 0.09103342145681381, 0.359174907207489, -0.0899505764245987, 0.049959875643253326, -0.19879089295864105, -0.7850950360298157, 0.034419331699609756, 0.48796793818473816, -0.18206188082695007, -0.3841899633407593, 0.7394645810127258, -0.1737099140882492, -0.5640310645103455, 0.7012934684753418, 0.0628427043557167, -0.3420114815235138, 0.7429112792015076, 0.8487961888313293, 0.464226633310318, -0.45312780141830444, -0.023747960105538368, 0.27412649989128113, 0.5048190355300903, -0.14800001680850983, 0.3729901909828186, -0.15245480835437775, -0.8029802441596985, -0.6407610774040222, -0.5077357292175293, -0.6781207919120789, -0.21218350529670715, -0.8104207515716553, 0.33958813548088074, -0.5223070979118347, -0.10335937887430191, 0.008022540248930454, -0.05613691359758377, -0.4601094722747803, 0.3199077248573303, 0.14488878846168518, 0.6958729028701782, -0.6726169586181641, 1.0290592908859253, 0.5714091062545776, -0.23953239619731903, -1.165165901184082, -0.06320419907569885, -0.06343571096658707, -0.9976078271865845, 0.2434276044368744, 0.08904047310352325, -0.3133292496204376, 0.06592834740877151, -0.714553713798523, -1.3256889581680298, 1.2737973928451538, 0.8054901361465454, -0.9072434306144714, 0.3848336637020111, 0.11903144419193268, 0.6287099123001099, -0.35473641753196716, 0.1556345522403717, 0.8850873708724976, 0.32183638215065, 0.29243969917297363, -0.8833301663398743, -0.20664328336715698, -0.09011201560497284, 0.009107924997806549, 0.3396886885166168, -0.7091211676597595, 0.8124085664749146, -0.37579110264778137, -0.10920590162277222, -0.09984918683767319, 0.643587589263916, 0.5298634171485901, 0.2546791434288025, -0.021851815283298492, 0.7370516657829285, 1.041081428527832, -0.2660493850708008, 1.0120759010314941, -0.5541546940803528, -0.0472736693918705, 1.3138431310653687, -0.559965193271637, 0.9541293382644653, 0.29226768016815186, -0.11172665655612946, 0.6233025193214417, 0.5211545825004578, -0.05370026081800461, 0.4297104775905609, -0.013668626546859741, -0.01848694309592247, -0.37014225125312805, -0.08972851186990738, -0.30978620052337646, 0.5471617579460144, 0.21801988780498505, -0.15673419833183289, 0.2287222295999527, -0.5025939345359802, 0.13440948724746704, 0.22269207239151, -0.461686372756958, 0.8250472545623779, -0.039059046655893326, -0.8023699522018433, 0.9901617765426636, -0.0867132693529129, 0.5269879102706909, -0.40263602137565613, -0.1390238255262375, -0.35685813426971436, 0.25288113951683044, -0.17622937262058258, -0.6268707513809204, 0.2635878920555115, -0.03218965232372284, -0.508571982383728, 0.05788812041282654, 0.7146764397621155, -0.5167511701583862, -0.37297844886779785, -0.15917044878005981, 0.20064902305603027, 0.09742310643196106, 0.3482661843299866, -0.451424777507782, 0.5638760328292847, -0.10340743511915207, -0.1026158332824707, 0.38614216446876526, 0.46514537930488586, 0.010799567215144634, 0.550920844078064, 0.5036149621009827, 0.03492492809891701, 0.6020586490631104, -0.037833888083696365, 0.5465435981750488, -0.7726301550865173, 0.056734103709459305, -1.0184106826782227, 0.3271476924419403, 0.05616740882396698, -0.45635414123535156, 0.8282836079597473, 0.3295712172985077, 0.8974094390869141, 0.05797113478183746, 0.37741807103157043, 0.3797577917575836, 0.34932994842529297, -0.7909798622131348, 0.26671773195266724, -0.41035977005958557, 0.47855648398399353, 0.15881627798080444, -0.8720343708992004, -0.13216128945350647, 0.759416401386261, -0.3780721127986908, 0.09191488474607468, 0.5965210795402527, 0.978485107421875, 0.012096576392650604, -0.03276200219988823, 0.5997984409332275, 0.26460257172584534, 0.08189725130796432, 0.5489497780799866, 0.9060245752334595, -0.4819989800453186, 0.2152644395828247, -0.0870276466012001, 0.04371151700615883, -0.18836912512779236, -1.017241358757019, -0.5782789587974548, -0.02979937754571438, -0.5058645009994507, 0.03125195577740669, 0.4154430031776428, 0.7199687361717224, 0.4777333736419678, -0.8593195676803589, -0.39589133858680725, -0.04217318072915077, 0.43338391184806824, -0.3754945993423462, -0.07129784673452377, 0.010417078621685505, -0.6750733256340027, -0.5458118319511414, 0.3392511308193207, 0.7585431337356567, 0.05729428306221962, 0.19566833972930908, -0.050043027848005295, -0.3880096673965454, 0.6451441645622253, 0.44337761402130127, 0.21068522334098816, -0.7840740084648132, -0.5940973162651062, 0.39715784788131714, -0.30358073115348816, 0.28391405940055847, 0.5277649760246277, -0.6048955321311951, 0.4145311415195465, 0.07892369478940964, 0.5339322686195374, 0.5269239544868469, 0.055942561477422714, 0.5543424487113953, -0.5876525044441223, -0.024301717057824135, -0.25295284390449524, 0.20924532413482666, 0.25728362798690796, -0.4403139054775238, 0.4879509210586548, -0.004194216337054968, -0.7925326228141785, -0.6913938522338867, 0.32418397068977356, -0.7041733264923096, -0.00789074506610632, 0.9514074325561523, -0.17355041205883026, -0.30791935324668884, 0.3191714584827423, -0.00810049008578062, 0.5315542817115784, -0.15450693666934967, 1.077975869178772, 0.8360468745231628, -0.30092525482177734, -0.25679099559783936, -0.6756072044372559, 0.2805804908275604, 0.6480631232261658, -0.5363548398017883, -0.1443856656551361, 0.45217081904411316, 0.4505210220813751, -0.19429239630699158, 0.36569803953170776, 0.15475213527679443, 0.5318976044654846, -0.01005820743739605, -0.15143737196922302, -0.04074334725737572, -0.44474655389785767, -0.2953668236732483, -0.22921493649482727, 0.3806285262107849, -0.09652715921401978 ]
http://arxiv.org/abs/2404.15196v1
http://arxiv.org/pdf/2404.15196v1
Setting up the Data Printer with Improved English to Ukrainian Machine Translation
2024-04-23T16:34:34
2024-04-23T16:34:34
Yurii Paniv, Dmytro Chaplynskyi, Nikita Trynus, Volodymyr Kyrylov
cs.CL
cs.CL
To build large language models for Ukrainian we need to expand our corpora with large amounts of new algorithmic tasks expressed in natural language. Examples of task performance expressed in English are abundant, so with a high-quality translation system our community will be enabled to curate datasets faster. To aid this goal, we introduce a recipe to build a translation system using supervised finetuning of a large pretrained language model with a noisy parallel dataset of 3M pairs of Ukrainian and English sentences followed by a second phase of training using 17K examples selected by k-fold perplexity filtering on another dataset of higher quality. Our decoder-only model named Dragoman beats performance of previous state of the art encoder-decoder models on the FLORES devtest set.
[ -0.14849160611629486, -0.2946421504020691, 0.3982720673084259, -0.03438562527298927, -0.685565710067749, 0.12474756687879562, -0.03268806263804436, -0.48329979181289673, 0.2086743414402008, 0.8402054905891418, -0.5171841382980347, -0.5415017604827881, -0.8026373386383057, 0.5124468803405762, -0.6797440052032471, 0.842401385307312, -0.23065148293972015, 0.61933434009552, 0.25384363532066345, 0.03198552131652832, -0.4549553394317627, -0.5809754133224487, -0.4335951507091522, -0.13649047911167145, 0.23600447177886963, 0.8210307955741882, 0.6657199263572693, 1.1404227018356323, 0.6968399882316589, 0.37731629610061646, 0.19627706706523895, 0.2522134482860565, -0.5134648680686951, 0.1680331528186798, -0.07993102818727493, -0.8595060706138611, -0.34198200702667236, -0.029716646298766136, 0.3332313001155853, 0.8354001045227051, 0.057045191526412964, 0.047303490340709686, -0.07763849198818207, 0.6172104477882385, -0.139561727643013, -0.04071629047393799, -0.4820351004600525, 0.06823918223381042, -0.3463629484176636, 0.12253561615943909, -0.41941583156585693, -0.3393282890319824, -0.42624709010124207, -0.7464213967323303, 0.10485264658927917, 0.09092766791582108, 0.8018346428871155, 0.24046748876571655, -0.4236198365688324, -0.46020546555519104, -1.026391863822937, 0.8021863102912903, -0.5433776378631592, 0.645679771900177, 0.39118579030036926, 0.12141493707895279, -0.17739328742027283, -0.8629378080368042, -0.16138489544391632, -0.011641057208180428, -0.03673755005002022, 0.2874826490879059, -0.22124016284942627, -0.0789199024438858, 0.17553775012493134, 0.18343999981880188, -0.5140491724014282, 0.31586408615112305, -0.5329415202140808, -0.1204393059015274, 0.3334272503852844, 0.4520532786846161, -0.11547115445137024, 0.03785282373428345, 0.02852381393313408, 0.03020022250711918, -0.14321134984493256, 0.00968498270958662, 0.6575144529342651, 0.47794654965400696, 0.033908192068338394, 0.6806331872940063, -0.42831873893737793, 0.6063559651374817, 0.3138354420661926, -0.0951983854174614, 0.19063562154769897, -0.4657566249370575, -0.2141609638929367, -0.05413811653852463, 0.49505236744880676, 0.24244308471679688, 0.22239799797534943, -0.27583885192871094, -0.25084730982780457, 0.17926371097564697, 0.24190621078014374, -1.0730427503585815, -0.2731242775917053, 0.16577616333961487, -0.5306184887886047, -0.4537661671638489, 0.06916492432355881, -0.7395575046539307, -0.2575785219669342, -0.6331285834312439, 0.13592948019504547, -0.2691696286201477, -0.1623617261648178, 0.5914419293403625, 0.23911231756210327, -0.1775987446308136, 0.28310009837150574, -0.7286240458488464, 0.6195827126502991, 0.6611886024475098, 0.7646666169166565, -0.03232623636722565, -0.23444440960884094, -1.0041307210922241, -0.13519160449504852, -0.7245035171508789, 0.6994233727455139, -0.4636770188808441, -0.19999408721923828, 0.08392860740423203, 0.3995985686779022, 0.19772006571292877, -0.6513485908508301, 0.7784002423286438, -0.3888995349407196, 0.16983695328235626, -0.20375312864780426, -0.6832644939422607, 0.17407041788101196, -0.13779805600643158, -0.6353837847709656, 0.8024267554283142, 0.10540392994880676, -0.6793531179428101, 0.4529598355293274, -0.3542242646217346, -0.6148000359535217, 0.17094533145427704, 0.25861719250679016, -0.09068826586008072, 0.2690792679786682, 0.10304974764585495, 0.7611417174339294, -0.19547714293003082, 0.3161942660808563, -0.10525009781122208, -0.24573136866092682, -0.072407566010952, 0.027025658637285233, 0.62053382396698, 0.39261481165885925, -0.15677174925804138, 0.06601584702730179, -1.0373585224151611, -0.2945362627506256, -0.10681167989969254, -0.7650662660598755, -0.28666558861732483, -0.1850457638502121, 0.25449874997138977, 0.29856231808662415, 0.5090567469596863, -0.48885002732276917, 0.3078939914703369, -0.5068737864494324, 0.29949989914894104, 0.4577650725841522, -0.44808390736579895, 0.640074610710144, -0.009174932725727558, 0.7146387100219727, 0.27526625990867615, 0.1496221274137497, -0.05027863755822182, -0.2626816928386688, -0.9995496273040771, -0.23845134675502777, 0.308626264333725, 0.7652744054794312, -0.8075140714645386, 0.48272696137428284, -0.27285975217819214, -0.6685294508934021, -0.8343947529792786, 0.23281437158584595, 0.24072512984275818, 0.3993031084537506, 0.236922487616539, -0.27709057927131653, -0.7472336888313293, -1.0000993013381958, 0.13963808119297028, 0.242890864610672, -0.05003660172224045, -0.057002414017915726, 0.5302181839942932, -0.14171133935451508, 0.36907169222831726, -0.40195050835609436, -0.14561083912849426, -0.34966903924942017, 0.14336979389190674, 0.5853803753852844, 0.5624498724937439, 0.14041569828987122, -0.42940887808799744, -0.395920991897583, 0.32102012634277344, -0.5481672286987305, -0.21173912286758423, 0.1363958716392517, -0.3818087577819824, 0.45194190740585327, 0.7521291971206665, -0.7087487578392029, 0.24994614720344543, 0.5710854530334473, -0.3113783001899719, 0.7073484659194946, -0.3966766893863678, 0.26568514108657837, -1.6897754669189453, 0.1506798416376114, -0.4102959930896759, -0.5773513913154602, -0.682243824005127, 0.054160840809345245, -0.0265252273529768, -0.48064056038856506, -0.2780158519744873, 0.10236123949289322, -0.33521223068237305, -0.26197248697280884, -0.3131238520145416, -0.10386935621500015, 0.056470032781362534, 0.035228241235017776, 0.011287285014986992, 0.6060454845428467, 0.5253909230232239, -0.4860236644744873, 0.6695130467414856, 0.2311936318874359, -0.5061413645744324, 0.4649304449558258, -0.5146371126174927, 0.06362708657979965, -0.05533851310610771, 0.005685051903128624, -0.8878533840179443, -0.2880374789237976, 0.22956065833568573, -0.235786572098732, 0.3908838629722595, -0.18589811027050018, -0.767069935798645, -0.6517781615257263, 0.17475970089435577, -0.21398572623729706, 0.5072450041770935, -0.4793834388256073, 0.2017495334148407, 0.052808426320552826, -0.172777459025383, -0.5576235055923462, -0.643078088760376, 0.2579882740974426, -0.2420744001865387, -0.5544518232345581, 0.02883893996477127, -0.05491495877504349, -0.20598167181015015, -0.2266787737607956, 0.029003484174609184, -0.5155350565910339, 0.06454991549253464, -0.05051463842391968, 0.009190027602016926, -0.3733953535556793, 0.3271752893924713, -0.10455077141523361, -0.24273140728473663, -0.0029429858550429344, -0.6039775609970093, 0.6892902255058289, 0.250793993473053, 0.14711567759513855, -0.543104887008667, 0.6004630923271179, 0.9697062969207764, -0.23886650800704956, 0.6863600015640259, 0.5183866024017334, -0.42828983068466187, 0.04787411913275719, -0.2901799976825714, -0.2763001620769501, -0.4725891351699829, 0.5740906596183777, -0.7171309590339661, -0.6025478839874268, 0.6954739093780518, -0.11703456938266754, 0.0010012524435296655, 0.21805408596992493, 0.2217857986688614, -0.023461192846298218, 1.106876254081726, 0.7728546857833862, -0.42276644706726074, 0.3159196972846985, -0.2043517827987671, 0.20916864275932312, -0.11266650259494781, 0.04262100160121918, -0.9047664403915405, -0.2442471981048584, -0.5309860110282898, -0.40528473258018494, -0.2904396057128906, 0.3814855217933655, -0.077931247651577, 0.5943155288696289, -0.6524242162704468, 0.3265744745731354, 0.5548276305198669, 0.07912230491638184, 0.48641306161880493, 0.1557771861553192, -0.3006891906261444, -0.2958007752895355, -0.6355171799659729, -0.714324951171875, 0.9387736916542053, 0.07040330767631531, 0.9183237552642822, -0.29191654920578003, 0.7835988998413086, -0.12392747402191162, -0.15053199231624603, -0.7545151114463806, 0.41820308566093445, -0.7752562761306763, -0.4447815418243408, -0.11598042398691177, -0.32608339190483093, -1.0934569835662842, -0.1251019835472107, -0.07370225340127945, -0.400802344083786, 0.12083980441093445, 0.1006721556186676, 0.03755584731698036, 0.30576983094215393, -0.6642652153968811, 0.8641256093978882, -0.2689701318740845, -0.32527050375938416, -0.2427671104669571, -0.19373179972171783, 0.2820624113082886, -0.2399546056985855, 0.31280216574668884, 0.01250526774674654, -0.2573486268520355, 0.7205541729927063, -0.6580976843833923, 0.5883987545967102, -0.2231815904378891, -0.11481641978025436, -0.2886770963668823, 0.19757534563541412, 0.6181163787841797, -0.1536969095468521, -0.3933294713497162, -0.09656582772731781, -0.21911877393722534, -0.45010846853256226, -0.2485273778438568, 0.5550153851509094, -0.6898955702781677, -0.3532140254974365, 0.12235425412654877, -0.6709801554679871, 0.1889723241329193, 0.3711513876914978, 0.5889369249343872, 0.5509517788887024, -0.039009954780340195, 0.15205766260623932, 0.3794533610343933, 0.019410904496908188, 0.05814264714717865, 0.7090152502059937, -0.3974182903766632, -0.3143184781074524, 0.6537381410598755, 0.32620522379875183, 0.06810010969638824, 0.41929203271865845, 0.015480461530387402, 0.008390565402805805, -0.6950700879096985, -0.6680739521980286, -0.0010073253652080894, -0.6229653358459473, -0.37057387828826904, -0.8018230199813843, 0.12967130541801453, -0.3493003249168396, -0.3624407947063446, -0.6684812307357788, -0.4078008532524109, -0.6375228762626648, -0.041899655014276505, 0.6096305251121521, 1.1626858711242676, -0.05659981444478035, 0.43300095200538635, -0.5760189294815063, 0.2586211860179901, 0.032619453966617584, 0.2715180218219757, -0.30211177468299866, -0.7102681994438171, -0.8220349550247192, -0.028427788987755775, -0.14472715556621552, -0.7381710410118103, 0.6044244766235352, -0.2015327662229538, 0.22812709212303162, 0.2239450067281723, -0.1427324116230011, 0.7275598049163818, -0.8218799233436584, 0.3275011479854584, 0.03265378624200821, -0.8392528891563416, 0.5449926853179932, -0.5293115377426147, 0.5001153945922852, 0.5662555694580078, 0.6328371167182922, -0.25322240591049194, -0.6269655823707581, -0.37005525827407837, -0.6754299402236938, 0.7278492450714111, -0.01668962463736534, 0.07916932553052902, 0.2642231583595276, 0.479233980178833, 0.43009278178215027, 0.09373756498098373, -0.376419335603714, -0.10276854783296585, -0.05577268823981285, -0.4212847650051117, -0.22971145808696747, -0.08705589920282364, 0.3755462169647217, -0.46472257375717163, 0.7616751194000244, 0.09534008800983429, 0.03529615327715874, -0.03880595788359642, -0.00560021260753274, -0.3562988340854645, 0.07898099720478058, 0.40110886096954346, 0.3904503285884857, -0.14522473514080048, -0.11116136610507965, 0.04942435771226883, -0.7140381336212158, 0.36901605129241943, 0.5545719861984253, -0.03602925315499306, 0.342791348695755, 0.20279569923877716, 0.6166070699691772, 0.28899866342544556, -0.3566403388977051, 0.12719114124774933, -0.13192377984523773, -0.37589699029922485, -0.008348890580236912, -0.19555705785751343, 0.5047122240066528, 0.02017964981496334, 0.3913686275482178, -0.033935099840164185, 0.23468802869319916, -0.28724464774131775, 0.4002365469932556, 0.013083397410809994, -0.24417349696159363, -0.3624030351638794, 0.5204693078994751, 0.4043496549129486, -0.47554510831832886, 0.45774802565574646, -0.11704444140195847, -0.578831672668457, 0.6156770586967468, 0.5103667378425598, 0.42671331763267517, -0.5115565657615662, 0.16772115230560303, 0.5380043387413025, 0.5633824467658997, -0.27219486236572266, 0.6298367977142334, 0.2763373851776123, -0.5696854591369629, -0.5649415850639343, -0.6710202693939209, -0.2839806079864502, 0.47788745164871216, -0.7679226994514465, 0.5275271534919739, -0.11893061548471451, 0.08427171409130096, 0.1277722865343094, 0.40841639041900635, -0.7871996164321899, 0.17162367701530457, -0.12936575710773468, 0.9529838562011719, -0.9351001381874084, 1.0230565071105957, 0.7482051253318787, -0.06458741426467896, -0.6611731052398682, -0.3915296792984009, -0.46473097801208496, -0.48749157786369324, 0.8856608867645264, 0.38088610768318176, -0.11269985884428024, 0.2638903558254242, -0.4050252437591553, -1.0087087154388428, 0.7060615420341492, 0.6618849635124207, -1.0012212991714478, 0.24677447974681854, 0.2537471652030945, 0.4099179804325104, -0.5589324235916138, -0.20793123543262482, 0.6022837162017822, 0.3480706512928009, -0.45081815123558044, -0.7977197170257568, -0.15585042536258698, -0.18286973237991333, -0.280651330947876, 0.40113332867622375, -0.21040090918540955, 0.7328208684921265, 0.0737394466996193, -0.09079327434301376, 0.42962655425071716, 0.4775131344795227, -0.28793835639953613, -0.004209413658827543, 0.25047171115875244, 0.6210725903511047, 0.9183241724967957, 0.06932090222835541, 0.8795814514160156, -0.41187894344329834, -0.06843483448028564, 1.3501228094100952, -0.32193294167518616, 0.824216902256012, 0.3529662787914276, -0.1042475625872612, 0.26706957817077637, 0.6068841814994812, -0.08347020298242569, 0.3572012782096863, 0.34163016080856323, -0.0642452985048294, -0.33209720253944397, -0.4206514358520508, -0.12817935645580292, 0.6065661907196045, 0.16963618993759155, -0.5433745980262756, -0.1672782450914383, 0.46659547090530396, 0.034974534064531326, 0.3643476366996765, -0.30150261521339417, 0.722649097442627, -0.23074933886528015, -0.4634106457233429, 0.5761604905128479, 0.04993021488189697, 0.7546480894088745, -0.39340299367904663, 0.20191973447799683, -0.43953603506088257, 0.2405259609222412, -0.02404317632317543, -0.5742766857147217, 0.306729257106781, 0.37141719460487366, -0.49892404675483704, -0.2746954560279846, 0.7403485178947449, -0.5682480335235596, -0.9880808591842651, 0.4279024004936218, 0.5896461009979248, 0.7126277685165405, 0.2964475750923157, -0.46339625120162964, 0.12245217710733414, -0.04490857943892479, -0.2698466181755066, 0.06830943375825882, 0.6436225175857544, 0.24687102437019348, 0.3755294382572174, 0.4732861816883087, 0.20294010639190674, 0.22258321940898895, 0.10300710052251816, 0.7613587975502014, -0.30198073387145996, -0.410232812166214, -0.6562188863754272, 0.4787740409374237, 0.01752755045890808, -0.3637816607952118, 0.6234908103942871, 1.0597195625305176, 0.9602192640304565, -0.30464377999305725, 0.6840880513191223, 0.2558487057685852, 0.5346883535385132, -0.3803223967552185, 0.6982468962669373, -0.4923218786716461, -0.38752344250679016, -0.04450507089495659, -0.6687778830528259, -0.2578074336051941, 0.5606400370597839, -0.04192129150032997, -0.3251345455646515, 0.6484915614128113, 0.8289424180984497, -0.3527028262615204, -0.18727795779705048, 0.7165356278419495, 0.5112761855125427, 0.053986791521310806, 0.5601944923400879, 0.5217888355255127, -0.5848787426948547, 0.8702691793441772, -0.5871080756187439, -0.0062499577179551125, -0.10655093193054199, -0.7746376395225525, -0.8556334376335144, -0.7444307804107666, -0.05284906551241875, -0.15884752571582794, 0.038859426975250244, 0.6688147187232971, 0.9506627917289734, -0.810727059841156, -0.4559444487094879, -0.3539164662361145, -0.2268071472644806, -0.047116611152887344, -0.17913219332695007, 0.03215514495968819, -0.47140419483184814, -0.9407739639282227, 0.40754660964012146, 0.021183636039495468, 0.2310526818037033, -0.12579430639743805, -0.05773971974849701, -0.1806771457195282, -0.09376662224531174, 0.3383103609085083, -0.2783093750476837, -0.41140371561050415, 0.1069900318980217, 0.1698017418384552, -0.247573122382164, 0.1119573637843132, 0.6845548152923584, -0.5335956811904907, 0.48163625597953796, 0.3197696805000305, 0.58570396900177, 0.5486274361610413, -0.3087524473667145, 0.7746642231941223, -0.4840659499168396, 0.41760435700416565, 0.10016358643770218, 0.36870306730270386, 0.5719903707504272, -0.5647600889205933, 0.512776255607605, 0.13370844721794128, -0.49950867891311646, -0.7318093776702881, 0.27673667669296265, -0.5111483335494995, -0.21738369762897491, 0.6978305578231812, -0.2191903442144394, -0.1390887349843979, -0.31342390179634094, -0.3242848217487335, 0.5636826753616333, -0.45493409037590027, 0.5918071866035461, 0.9737188816070557, 0.2969011962413788, 0.06773603707551956, -0.8741172552108765, 0.4110737144947052, 0.3590417206287384, -0.990075409412384, 0.34654736518859863, 0.49927419424057007, 0.14155025780200958, 0.06352492421865463, 0.4019859731197357, 0.21683445572853088, 0.27045708894729614, 0.07195770740509033, 0.20146550238132477, -0.11366306990385056, -0.4301246702671051, -0.4883390963077545, -0.09216731041669846, 0.096361443400383, -0.2637653648853302 ]
http://arxiv.org/abs/2404.15156v1
http://arxiv.org/pdf/2404.15156v1
Regressive Side Effects of Training Language Models to Mimic Student Misconceptions
2024-04-23T15:57:55
2024-04-23T15:57:55
Shashank Sonkar, Naiming Liu, Richard G. Baraniuk
cs.CL
cs.CL
This paper presents a novel exploration into the regressive side effects of training Large Language Models (LLMs) to mimic student misconceptions for personalized education. We highlight the problem that as LLMs are trained to more accurately mimic student misconceptions, there is a compromise in the factual integrity and reasoning ability of the models. Our work involved training an LLM on a student-tutor dialogue dataset to predict student responses. The results demonstrated a decrease in the model's performance across multiple benchmark datasets, including the ARC reasoning challenge and TruthfulQA, which evaluates the truthfulness of model's generated responses. Furthermore, the HaluEval Dial dataset, used for hallucination detection, and MemoTrap, a memory-based task dataset, also reported a decline in the model accuracy. To combat these side effects, we introduced a "hallucination token" technique. This token, appended at the beginning of each student response during training, instructs the model to switch between mimicking student misconceptions and providing factually accurate responses. Despite the significant improvement across all datasets, the technique does not completely restore the LLM's baseline performance, indicating the need for further research in this area. This paper contributes to the ongoing discussion on the use of LLMs for student modeling, emphasizing the need for a balance between personalized education and factual accuracy.
[ -0.28989022970199585, -0.8654537200927734, 0.43054118752479553, -0.04564634710550308, -0.12209432572126389, 0.1101679876446724, -0.09986481815576553, -0.22142192721366882, 0.14794722199440002, 0.7279807329177856, -0.3644174337387085, -0.5171750783920288, -0.3262222111225128, 0.12247510254383087, -0.5992695689201355, 0.9062349200248718, 0.10911718755960464, 0.46898114681243896, -0.4178653657436371, -0.08312802016735077, -0.955471396446228, -0.987526535987854, -0.5278027653694153, -0.5051496028900146, 0.39536231756210327, 0.4011938273906708, 0.6283897757530212, 0.4905487596988678, 0.24307547509670258, 0.16900737583637238, 0.06564337015151978, -0.28244316577911377, -0.5298240184783936, 0.08314471691846848, -0.12343601137399673, -0.8040615320205688, -0.15659786760807037, 0.22461678087711334, 0.7193597555160522, 0.820090651512146, -0.2229941487312317, 0.0882391408085823, 0.08886566758155823, 0.4865359961986542, -0.3483348786830902, -0.007334400899708271, -0.786255419254303, 0.22556161880493164, -0.1335228830575943, -0.14921492338180542, -0.7380215525627136, -0.2793821692466736, 0.17915023863315582, -0.45427006483078003, 0.42742106318473816, 0.10555459558963776, 0.7448934316635132, 0.43228036165237427, -0.2546153962612152, -0.3891046643257141, -0.708511233329773, 0.6945037841796875, -0.8973270058631897, 0.48770269751548767, 0.36720210313796997, 0.39820441603660583, -0.10394179075956345, -0.5537222027778625, -0.7867016196250916, -0.3817160129547119, -0.1985379159450531, 0.08919870853424072, 0.10214859992265701, 0.14002877473831177, 0.54720538854599, 0.20182597637176514, -0.44024553894996643, 0.3474614918231964, -0.37361812591552734, -0.4077680706977844, 0.28849858045578003, 0.32200923562049866, 0.1569327414035797, -0.2538745403289795, -0.4352460503578186, -0.03995686396956444, -0.7425057291984558, 0.013925174251198769, 0.6206283569335938, 0.44438984990119934, 0.11524492502212524, 0.609717607498169, 0.03172759711742401, 0.5365411639213562, -0.056809816509485245, -0.1039823591709137, 0.2878182828426361, -0.07208375632762909, -0.2971919775009155, 0.24206602573394775, 0.44650259613990784, 0.3391733169555664, 0.3658631145954132, -0.21911437809467316, -0.24465665221214294, 0.33701127767562866, 0.3401400148868561, -0.9086976647377014, -0.11910436302423477, 0.1809922605752945, -0.4367215931415558, -0.4038936495780945, -0.17489145696163177, -0.9117781519889832, -0.3684476315975189, -0.5093221068382263, 0.3816494941711426, -0.38057073950767517, 0.02272907830774784, 0.35260337591171265, 0.08907049149274826, 0.01683948189020157, 0.3163561522960663, -0.6960398554801941, 0.5943153500556946, 0.6866325736045837, 0.7547941207885742, -0.2795538604259491, -0.3385818600654602, -0.4889788031578064, -0.14195725321769714, -0.30912908911705017, 0.60200035572052, -0.6926625967025757, -0.5181863307952881, 0.12256979197263718, -0.20004549622535706, -0.3278089165687561, -0.8092793822288513, 0.5304388999938965, -0.24010199308395386, 0.49240607023239136, -0.3698972463607788, -0.7876849174499512, -0.18983444571495056, 0.16052976250648499, -0.5283651947975159, 0.7236923575401306, -0.11072047054767609, -0.829245924949646, 0.16325631737709045, -0.17133687436580658, -0.2574227452278137, -0.08538077026605606, -0.4925316572189331, -0.5465298891067505, 0.127415269613266, -0.07550284266471863, 0.3611434996128082, -0.024091387167572975, 0.44950079917907715, -0.3380388021469116, -0.7388182282447815, 0.6167128682136536, -0.48912152647972107, 0.6571105718612671, 0.15259341895580292, -0.3191104233264923, -0.07859840989112854, -0.6549707055091858, -0.3130801320075989, 0.07428178191184998, -0.29390987753868103, -0.5922130346298218, -0.23076428472995758, -0.19753111898899078, 0.24074183404445648, -0.04206451028585434, -0.4876703917980194, 0.14395500719547272, -0.37745001912117004, 0.04713442921638489, 0.9210344552993774, -0.008149240165948868, 0.2511851489543915, -0.5640628337860107, 0.46053966879844666, 0.10197369754314423, 0.04215860366821289, -0.22952090203762054, -0.32467734813690186, -0.8083798289299011, 0.06693969666957855, 0.18103860318660736, 0.38833653926849365, -0.5777909159660339, 0.14853113889694214, -0.0571238175034523, -0.20752033591270447, -0.46210286021232605, 0.19374114274978638, 0.4604579508304596, 0.8670600056648254, 0.36945217847824097, -0.3548460602760315, -0.6170688271522522, -0.9317384958267212, -0.523471474647522, -0.3447461426258087, 0.18986710906028748, 0.23194020986557007, 0.6385223865509033, -0.34261900186538696, 0.873523473739624, -0.3863641321659088, -0.4510871171951294, -0.03290305286645889, 0.16334384679794312, -0.17179791629314423, 0.6499025225639343, 0.48404064774513245, -0.5476346015930176, -0.18370969593524933, -0.3562241196632385, -0.5340258479118347, -0.07340364903211594, -0.6492514610290527, 0.1143609806895256, 0.48337727785110474, 0.3898536264896393, -0.584128737449646, 0.35612422227859497, 0.42384931445121765, -0.40036168694496155, 1.0021206140518188, 0.12457316368818283, -0.01556472945958376, -1.0193580389022827, -0.08469773828983307, 0.06600478291511536, 0.032315000891685486, -0.6899698376655579, -0.15565116703510284, -0.19847677648067474, 0.06788302958011627, -0.31124138832092285, 0.6532912850379944, -0.08342105150222778, -0.04899909347295761, -0.2694351077079773, 0.02116004191339016, -0.1899835169315338, 0.5053521394729614, 0.09347207844257355, 0.9196011424064636, 0.39542943239212036, -0.3766845166683197, 0.22914591431617737, 0.3324991464614868, -0.27025800943374634, 0.555751621723175, -0.5773798227310181, 0.20193734765052795, -0.12995193898677826, 0.3074643909931183, -0.8705198764801025, -0.11020849645137787, 0.34609562158584595, -0.5753107070922852, 0.15544667840003967, 0.0943753644824028, -0.33252787590026855, -0.37657982110977173, -0.29301783442497253, 0.06469716876745224, 0.4056609272956848, -0.7340973019599915, 0.7030210494995117, -0.030651358887553215, 0.0973515436053276, -0.6731454730033875, -0.7747293710708618, 0.16585734486579895, -0.4796173870563507, -0.07348273694515228, 0.09100381284952164, -0.1746063083410263, -0.3553556501865387, -0.14677469432353973, -0.27234888076782227, 0.025699708610773087, 0.24117650091648102, 0.366084486246109, 0.4540291726589203, -0.09498501569032669, 0.4056425094604492, -0.014735930599272251, 0.022500501945614815, 0.37705186009407043, 0.040925219655036926, 0.6915977597236633, -0.2533099055290222, -0.3883286416530609, -0.7026335597038269, -0.0054537458345294, 0.4372849762439728, 0.19474707543849945, 0.81852787733078, 0.3673279285430908, -0.46062707901000977, -0.2004227489233017, -0.8933984041213989, -0.678752064704895, -0.42533165216445923, 0.4862658381462097, -0.39216721057891846, -0.763810932636261, 0.5061959624290466, -0.04411166533827782, 0.034614067524671555, 0.08506275713443756, 0.4226999282836914, -0.13801966607570648, 0.9342905879020691, 0.4996371567249298, 0.025284377858042717, 0.5429325699806213, -0.29090064764022827, 0.0545334629714489, -0.7922465801239014, -0.4927031397819519, -0.48884013295173645, -0.08078306168317795, -0.36045753955841064, -0.3198886811733246, -0.31103989481925964, 0.020502422004938126, -0.3609544038772583, 0.0698578804731369, -0.14049972593784332, 0.25697261095046997, 0.40807971358299255, 0.04316550865769386, 0.43656033277511597, 0.13490357995033264, -0.11511301249265671, -0.33738642930984497, -0.6738104224205017, -0.8009641170501709, 1.2547571659088135, 0.49812793731689453, 1.001367211341858, -0.16970238089561462, 0.6698944568634033, 0.18129205703735352, 0.5732132792472839, -0.8482323288917542, 0.6174178719520569, 0.038950949907302856, -0.6490110158920288, -0.16493621468544006, -0.647842526435852, -0.615158200263977, 0.3574998080730438, -0.2104973942041397, -0.7291014790534973, 0.20899884402751923, 0.30622050166130066, -0.25408947467803955, 0.33794695138931274, -0.781112790107727, 0.8695396184921265, -0.35062533617019653, -0.3332790434360504, -0.2680342495441437, -0.5543956160545349, 0.6167367100715637, -0.3828476667404175, 0.12486796826124191, 0.22239843010902405, 0.1919766515493393, 0.8925262093544006, -0.33762556314468384, 1.2442469596862793, -0.20388250052928925, -0.05334863439202309, 0.11995366215705872, 0.22893697023391724, 0.551985502243042, 0.13381244242191315, -0.0694209411740303, 0.07452847063541412, -0.04673470929265022, -0.3660776615142822, -0.7264676094055176, 0.74454665184021, -0.7764698266983032, -1.0577571392059326, -0.46837300062179565, -0.6228577494621277, -0.3879494369029999, 0.00855682697147131, 0.04528502747416496, 0.4119231700897217, -0.24808348715305328, 0.08312621712684631, 0.6807445883750916, -0.3107185661792755, 0.07371049374341965, 0.5104562044143677, -0.49326667189598083, -0.2623738944530487, 0.9380401968955994, 0.21019169688224792, 0.5855423808097839, -0.13208307325839996, 0.30929866433143616, -0.28780514001846313, -0.47148656845092773, -0.18217647075653076, 0.48992919921875, -0.8062775135040283, 0.006811161991208792, -0.7420356869697571, -0.10786624997854233, -0.5705562233924866, -0.00048368627903982997, -0.40976396203041077, -0.31849223375320435, -0.52687007188797, -0.22758357226848602, -0.04392228648066521, 0.6415546536445618, 0.1273881047964096, 0.4386342167854309, -0.32737216353416443, 0.03796740993857384, 0.32577013969421387, 0.28366953134536743, 0.11667018383741379, -0.8673481941223145, -0.2833227217197418, 0.1685156226158142, -0.2753942012786865, -0.6281081438064575, 0.30049628019332886, -0.039638619869947433, 0.7031831741333008, 0.5343904495239258, 0.007303326390683651, 0.6572955846786499, -0.33524855971336365, 0.6268962621688843, 0.3356180191040039, -0.9127060770988464, 0.2669438123703003, 0.11255357414484024, -0.04256751760840416, 0.49704059958457947, 0.4811028838157654, -0.775835394859314, -0.5219900012016296, -0.6812154054641724, -0.40146201848983765, 0.45642247796058655, 0.05773910880088806, 0.36906200647354126, 0.023490289226174355, 0.6184863448143005, 0.4171602725982666, 0.33743271231651306, -0.8472484946250916, -0.47616130113601685, -0.4766240417957306, -0.11264101415872574, -0.05367417633533478, -0.4589581787586212, -0.12802039086818695, -0.2599778175354004, 0.7546359300613403, -0.15290986001491547, 0.08821307867765427, 0.05529690906405449, -0.089357390999794, -0.02194702997803688, 0.15717820823192596, 0.688029408454895, 0.5777866244316101, -0.28733816742897034, 0.28441891074180603, 0.3439061939716339, -0.5517419576644897, 0.03936479985713959, -0.0316176638007164, -0.22888854146003723, 0.16904091835021973, 0.3342094421386719, 0.8512486815452576, -0.022455833852291107, -0.7395161986351013, 0.4970945417881012, -0.1637827455997467, -0.06804853677749634, -0.42875880002975464, -0.023466484621167183, -0.10565534979104996, 0.18507827818393707, 0.28697508573532104, 0.3787323534488678, -0.025498179718852043, -0.6255747079849243, 0.15876811742782593, 0.46491438150405884, -0.41788047552108765, -0.4851892292499542, 0.6197569966316223, 0.08234480768442154, -0.46034201979637146, 0.5453627109527588, 0.23747295141220093, -0.6217502355575562, 0.5389435291290283, 0.9257435202598572, 0.6826170086860657, -0.3937757611274719, 0.38099682331085205, 0.3358980417251587, 0.2770480215549469, -0.2439270317554474, -0.14175868034362793, 0.19720622897148132, -0.9280075430870056, -0.2635510563850403, -0.3475240468978882, -0.4689503312110901, 0.4479779303073883, -0.6963908076286316, 0.3284152150154114, -0.5458061695098877, -0.10233346372842789, -0.4224289655685425, -0.08860666304826736, -0.5820578336715698, 0.23031774163246155, 0.11695083975791931, 0.8861815333366394, -1.0108381509780884, 0.8937541246414185, 0.4937697947025299, -0.48386186361312866, -0.7458045482635498, 0.30994856357574463, 0.056497760117053986, -0.7669063210487366, 0.9304366707801819, 0.2472309023141861, -0.048338938504457474, -0.10399988293647766, -0.3874273896217346, -0.6180175542831421, 0.8029539585113525, 0.42872336506843567, -0.7911714315414429, -0.21092528104782104, 0.5070128440856934, 0.642267107963562, -0.590762197971344, 0.0045861415565013885, 0.7527412176132202, 0.08981611579656601, 0.17516300082206726, -0.5675663948059082, 0.16771939396858215, 0.22028794884681702, 0.08774571865797043, -0.44788241386413574, -0.5600986480712891, 0.7973032593727112, -0.4234323501586914, -0.37843558192253113, 0.09995503723621368, 0.5083589553833008, 0.2896808385848999, 0.30193546414375305, 0.46067288517951965, 0.6127666234970093, 0.9320454597473145, 0.056877680122852325, 1.0028647184371948, -0.15744677186012268, 0.4281662702560425, 1.3522664308547974, -0.334601491689682, 0.6687841415405273, 0.8584775328636169, 0.1090257465839386, 0.4664263427257538, 0.6515184044837952, -0.017142387107014656, 0.4094635546207428, 0.5470342040061951, -0.13008727133274078, -0.2947313189506531, -0.08579385280609131, -0.5132244825363159, 0.20694193243980408, 0.3935127556324005, -0.24640819430351257, 0.019634800031781197, 0.40605199337005615, 0.024024097248911858, 0.3012785017490387, 0.01922927051782608, 0.42986610531806946, 0.1747741401195526, -0.3781786859035492, 0.6469746232032776, -0.28333136439323425, 0.7614536285400391, -0.1647920161485672, -0.09845633059740067, -0.5410323739051819, 0.11962038278579712, -0.202821284532547, -0.4523661136627197, 0.23740892112255096, -0.09961588680744171, 0.07839516550302505, -0.14984728395938873, 0.5259824395179749, -0.44135043025016785, -0.40877729654312134, 0.191881462931633, 0.45020413398742676, 0.23409461975097656, 0.15730974078178406, -0.7493847012519836, 0.2567918598651886, 0.08505057543516159, -0.24502885341644287, 0.16840754449367523, 0.1870405077934265, 0.07330764085054398, 0.9083177447319031, 0.6045061945915222, 0.2336043268442154, 0.043568141758441925, 0.3642590045928955, 0.842494010925293, -0.56478351354599, -0.13314621150493622, -0.7831169962882996, 0.1722266972064972, -0.02396250143647194, -0.34687528014183044, 0.8836534023284912, 0.8041433691978455, 1.2575626373291016, -0.1689707338809967, 0.809517502784729, 0.5471084117889404, 0.6511626839637756, -0.5864949822425842, 0.548933207988739, -0.36216214299201965, 0.7583537697792053, -0.2812761664390564, -0.7619959115982056, -0.3267531991004944, 0.76996910572052, -0.6375815868377686, 0.02220911532640457, 0.8700416088104248, 0.7789930105209351, 0.27918511629104614, 0.07085101306438446, 0.5204892754554749, 0.5353525280952454, 0.5102593302726746, 0.23613566160202026, 0.9957627058029175, -0.37677809596061707, 0.42927828431129456, -0.4206005036830902, 0.12943987548351288, -0.3734172582626343, -0.3931703567504883, -1.3520052433013916, -0.521355926990509, -0.4113718867301941, -0.5873082280158997, 0.18838916718959808, 0.9990803003311157, 0.22245006263256073, -0.888142466545105, -0.3352314233779907, -0.12969568371772766, 0.22445805370807648, 0.03235328942537308, -0.2881762683391571, 0.15663836896419525, -0.5125079154968262, -0.7511656880378723, 0.007578384596854448, -0.1308804303407669, 0.4811742305755615, -0.46800753474235535, -0.266708105802536, 0.02028576284646988, 0.15204115211963654, 0.3272462487220764, 0.12683725357055664, -0.8897786140441895, -0.5319256782531738, 0.09133227169513702, -0.30521145462989807, 0.09976623207330704, 0.926945149898529, -0.9945075511932373, 0.5107103586196899, -0.0663284957408905, 0.6825875043869019, 0.35734301805496216, 0.10723032057285309, 0.5532941222190857, -0.46151238679885864, 0.14719614386558533, 0.27100327610969543, 0.4315239489078522, 0.43256843090057373, -0.4945560693740845, 0.2400866597890854, 0.5944873690605164, -0.28023436665534973, -1.2214759588241577, 0.1456466019153595, -0.7131226062774658, -0.4120861887931824, 1.137985348701477, -0.03505707532167435, -0.045853182673454285, -0.10384473949670792, -0.4005863070487976, 0.2491113245487213, -0.36291489005088806, 1.2521133422851562, 0.8241780400276184, -0.011345703154802322, 0.09270772337913513, -0.7995611429214478, 0.5752377510070801, 0.6729391813278198, -0.7514730095863342, 0.27680090069770813, 0.5255163908004761, 0.4784832298755646, 0.08131551742553711, 0.283299058675766, 0.048114579170942307, 0.1069905161857605, 0.00261922855861485, 0.19491977989673615, -0.21363592147827148, -0.38764145970344543, -0.48166725039482117, -0.15686577558517456, -0.024820292368531227, -0.09173420071601868 ]
http://arxiv.org/abs/2404.15149v1
http://arxiv.org/pdf/2404.15149v1
Bias patterns in the application of LLMs for clinical decision support: A comprehensive study
2024-04-23T15:52:52
2024-04-23T15:52:52
Raphael Poulain, Hamed Fayyaz, Rahmatollah Beheshti
cs.CL
cs.CL, cs.LG
Large Language Models (LLMs) have emerged as powerful candidates to inform clinical decision-making processes. While these models play an increasingly prominent role in shaping the digital landscape, two growing concerns emerge in healthcare applications: 1) to what extent do LLMs exhibit social bias based on patients' protected attributes (like race), and 2) how do design choices (like architecture design and prompting strategies) influence the observed biases? To answer these questions rigorously, we evaluated eight popular LLMs across three question-answering (QA) datasets using clinical vignettes (patient descriptions) standardized for bias evaluations. We employ red-teaming strategies to analyze how demographics affect LLM outputs, comparing both general-purpose and clinically-trained models. Our extensive experiments reveal various disparities (some significant) across protected groups. We also observe several counter-intuitive patterns such as larger models not being necessarily less biased and fined-tuned models on medical data not being necessarily better than the general-purpose models. Furthermore, our study demonstrates the impact of prompt design on bias patterns and shows that specific phrasing can influence bias patterns and reflection-type approaches (like Chain of Thought) can reduce biased outcomes effectively. Consistent with prior studies, we call on additional evaluations, scrutiny, and enhancement of LLMs used in clinical decision support applications.
[ -0.2657766342163086, -0.7257828116416931, 0.9084708094596863, 0.44954735040664673, -0.4176320433616638, -0.057259343564510345, 0.006678261328488588, -0.6297216415405273, 0.3468930721282959, 0.6434527039527893, -0.641903281211853, -0.7318786978721619, -0.6226558089256287, 0.11409900337457657, -0.1611565202474594, 0.8851391077041626, -0.13480019569396973, 0.8514310121536255, -0.4687363803386688, -0.11496616154909134, -0.7774286270141602, -0.6477090120315552, -0.5597310066223145, -0.4818282425403595, 0.47045767307281494, 0.16972048580646515, 0.6500667929649353, 0.711202085018158, 0.5965405702590942, 0.16729728877544403, -0.27789241075515747, 0.014189660549163818, -0.287565678358078, 0.29263925552368164, 0.07763001322746277, -0.7136264443397522, -0.5990355014801025, -0.05687033385038376, 0.33162394165992737, 0.9382193684577942, -0.0830480307340622, 0.28931450843811035, 0.0654524490237236, 0.9033663272857666, -0.4872915744781494, 0.11256870627403259, -0.3629644513130188, 0.3746710419654846, -0.3489376902580261, -0.30515334010124207, -0.44179555773735046, -0.5717753171920776, 0.46454352140426636, -0.3775229752063751, 0.3594813942909241, 0.17159411311149597, 0.34757447242736816, 0.2786276340484619, -0.5394685864448547, -0.4199574291706085, -0.6049451231956482, 0.7312712073326111, -0.5736402869224548, 0.39430108666419983, 0.5513138175010681, 0.2369862049818039, -0.17260435223579407, -0.4134038984775543, -0.12166542559862137, -0.032639577984809875, -0.1943574994802475, 0.08325216919183731, -0.008180113509297371, 0.2718086540699005, 0.6001303791999817, 0.056376662105321884, -0.49645891785621643, 0.40659335255622864, -0.38451677560806274, -0.27893728017807007, 0.785987138748169, 0.5218232274055481, 0.26704996824264526, -0.045132845640182495, -0.29547399282455444, 0.19131945073604584, -0.870206892490387, -0.06280737370252609, 0.0026935627683997154, 0.1257871687412262, -0.351734459400177, 0.535116970539093, -0.021569574251770973, 0.6235194206237793, 0.04859171062707901, -0.06714897602796555, 0.16668927669525146, -0.17223487794399261, -0.25230497121810913, 0.28672441840171814, 0.656350314617157, 0.7396793961524963, 0.4575507938861847, -0.006838323548436165, 0.18078607320785522, 0.23644345998764038, 0.2674667537212372, -0.5440022349357605, 0.022324083372950554, 0.35983169078826904, -0.9053702354431152, -0.47670283913612366, -0.10309791564941406, -0.9513151049613953, -0.9283233880996704, -0.40037885308265686, -0.21761928498744965, -0.0009567951201461256, -0.08115557581186295, 0.31164824962615967, -0.20467905700206757, 0.290813148021698, 0.5518563389778137, -0.6738682985305786, 0.4294866919517517, 0.6080690622329712, 0.7995327115058899, -0.44500699639320374, 0.12842345237731934, -0.2457747906446457, -0.12142439186573029, -0.3767864406108856, 0.6817757487297058, -0.4399937689304352, -0.6392713189125061, 0.3636780083179474, -0.06810639053583145, 0.00010464766819495708, -0.7754179835319519, 0.6367776989936829, -0.43030446767807007, 0.2104078084230423, -0.7854576110839844, -0.4483579397201538, 0.1159726232290268, 0.05803190544247627, -0.6022706031799316, 0.3854924142360687, -0.07971096783876419, -0.7276283502578735, 0.8388617634773254, -0.40808045864105225, -0.410209983587265, 0.14031192660331726, -0.61809241771698, -0.6889105439186096, 0.26739463210105896, 0.21726930141448975, 0.280685693025589, -0.4220488965511322, 0.13264988362789154, -0.5390363931655884, -0.25868797302246094, 0.39670076966285706, -0.12525354325771332, 0.7392443418502808, 0.25653648376464844, -0.38871482014656067, 0.17051903903484344, -0.45663583278656006, -0.24582195281982422, 0.1635369062423706, -0.11923408508300781, -0.5348410606384277, 0.19016656279563904, -0.040521226823329926, 0.3213551342487335, -0.21936385333538055, -0.41139572858810425, 0.019785422831773758, 0.06192025914788246, 0.3702036142349243, 0.9445322751998901, 0.03666338324546814, 0.3432912230491638, -0.6904042959213257, 0.7718406915664673, 0.09371166676282883, 0.5212777853012085, 0.15635354816913605, -0.6255586743354797, -0.5482566952705383, -0.3521803617477417, 0.10621646791696548, 0.26945212483406067, -0.3383767604827881, -0.027659399434924126, 0.12262273579835892, -0.10417710244655609, -0.6244142651557922, 0.05363725870847702, 0.33954083919525146, 0.47904762625694275, 0.21794086694717407, -0.2425200641155243, -0.6120277643203735, -1.14927077293396, -0.2180461436510086, -0.09223701059818268, 0.12543167173862457, 0.6049968600273132, 0.27335041761398315, -0.46327099204063416, 0.7629520893096924, -0.4778805375099182, -0.37159839272499084, -0.22410422563552856, -0.318058043718338, 0.11011102795600891, 0.04361898452043533, 0.4957953691482544, -0.6582525968551636, -0.324092835187912, -0.3497077226638794, -0.7214674353599548, -0.5340335965156555, -0.09699440002441406, -0.19885748624801636, 0.1401209533214569, 0.4661422073841095, -0.5863478779792786, 0.38271254301071167, 0.36785003542900085, -0.4695778787136078, 0.5041932463645935, 0.14968618750572205, -0.05561911314725876, -0.7394689917564392, -0.2555340826511383, 0.31588444113731384, -0.037934113293886185, -0.6103689074516296, -0.21628057956695557, -0.004275251179933548, 0.2886865437030792, -0.3525000512599945, 0.6544869542121887, -0.3925376236438751, -0.16446354985237122, -0.13289715349674225, -0.03185991570353508, -0.025694813579320908, -0.026531044393777847, 0.227383553981781, 0.5753682255744934, 0.4317076504230499, -0.6899310946464539, 0.005467146635055542, 0.27939513325691223, -0.4535200893878937, 0.5601003766059875, -0.7711713910102844, 0.11387990415096283, -0.4346727132797241, 0.3178718686103821, -0.7997174263000488, -0.06188032776117325, 0.09216149151325226, -0.11826080828905106, -0.010807668790221214, -0.027630209922790527, -0.26144087314605713, -0.5271816253662109, -0.4394928514957428, 0.6186714172363281, 0.4383105933666229, -0.16620710492134094, 0.36038467288017273, 0.5536540746688843, -0.25773006677627563, -0.34764671325683594, -0.7139953374862671, -0.1973133236169815, -0.4099160432815552, -0.5275356769561768, 0.3185400664806366, -0.09940199553966522, -0.775067150592804, -0.4672589600086212, -0.04969567805528641, 0.13109464943408966, 0.09881996363401413, 0.4461418390274048, 0.515193521976471, -0.05700254812836647, 0.19275149703025818, -0.07995922863483429, 0.1087694764137268, 0.31255006790161133, -0.00855901837348938, 0.6612470149993896, 0.2663894295692444, -0.6437140107154846, -0.3710130751132965, 0.41835665702819824, 0.7756054401397705, 0.002332008210942149, 0.4858364164829254, 0.1347166746854782, -0.2805987596511841, -0.3384115397930145, -0.7699681520462036, -0.23394568264484406, -0.41458821296691895, 0.33336639404296875, 0.1188923791050911, -0.9566235542297363, 0.6249968409538269, 0.27247825264930725, 0.12953247129917145, 0.09580156952142715, 0.9297447204589844, -0.29692351818084717, 1.2936203479766846, 0.3119989037513733, -0.08220995217561722, 0.5109438300132751, 0.05275772884488106, -0.12332078069448471, -0.8498335480690002, -0.32643237709999084, -0.33688288927078247, -0.29357194900512695, -0.8608584403991699, -0.32855936884880066, 0.5907182097434998, -0.3498365879058838, -0.08387801051139832, -0.5246361494064331, -0.4753800630569458, 0.06998120248317719, 0.3049180209636688, 0.4902001619338989, 0.20274963974952698, 0.03250772878527641, -0.15566124022006989, -0.18484143912792206, -0.6558732986450195, -0.42415568232536316, 1.2912887334823608, 0.6598780155181885, 0.9049651026725769, 0.021666385233402252, 0.5115582346916199, 0.6826586723327637, 0.23204277455806732, -0.732168436050415, 0.41623932123184204, 0.016496893018484116, -0.69684898853302, 0.04139862209558487, -0.19780193269252777, -0.9433210492134094, 0.3170437216758728, -0.25051891803741455, -0.3683791756629944, 0.3602510392665863, 0.276915967464447, -0.4571554362773895, -0.07635607570409775, -0.6145815849304199, 0.46748825907707214, -0.47986456751823425, -0.5655615925788879, -0.023985227569937706, -0.43005892634391785, 0.40260177850723267, -0.0037198634818196297, 0.19122418761253357, -0.021107066422700882, 0.10033189505338669, 0.592571496963501, -0.35568156838417053, 1.033402442932129, -0.060989756137132645, -0.0684172660112381, 0.09138571470975876, -0.04701891168951988, 0.45715242624282837, 0.07553363591432571, -0.15420010685920715, 0.20966258645057678, 0.025671163573861122, -0.4156739115715027, -0.3724743127822876, 0.40383046865463257, -0.820277750492096, -0.7348259091377258, -0.5475486516952515, -0.41199731826782227, -0.3977665305137634, -0.01336723007261753, 0.23414316773414612, 0.38819828629493713, -0.21847854554653168, -0.09311934560537338, 0.7947866916656494, -0.3971669375896454, 0.00503375893458724, 0.5431731939315796, -0.17326773703098297, -0.2105601280927658, 0.22604002058506012, 0.14769268035888672, 0.47026145458221436, 0.08014510571956635, 0.3082294464111328, -0.24161481857299805, -0.8968347907066345, -0.24536214768886566, 0.44946494698524475, -0.5681807994842529, 0.1756695955991745, -0.5534487366676331, -0.11974116414785385, -0.4485359489917755, -0.0916338562965393, 0.10786960273981094, -0.1666363924741745, -0.2155347615480423, -0.2214772254228592, 0.20187607407569885, 0.9215211868286133, 0.5306016206741333, 0.10482319444417953, -0.4042673408985138, 0.20333652198314667, 0.299577534198761, 0.4079339802265167, -0.03945329412817955, -0.12031933665275574, -0.011438613757491112, -0.133569598197937, -0.19524820148944855, -0.9674398303031921, 0.22492142021656036, -0.4185149669647217, 0.7168991565704346, 0.4542682468891144, -0.03192417696118355, 0.4146748483181, -0.5186672806739807, 0.6025844216346741, 0.14702723920345306, -0.4195340573787689, 0.4544978141784668, -0.5064026117324829, 0.16633489727973938, 0.5066784620285034, 0.2229372262954712, -0.6125245690345764, -0.13155265152454376, -0.3317824900150299, -0.538023829460144, 0.5424802899360657, -0.13216890394687653, -0.16746766865253448, -0.17395436763763428, 0.47797510027885437, 0.106887087225914, 0.3171018958091736, -0.6085521578788757, -0.39150869846343994, 0.054412879049777985, -0.20016422867774963, 0.16012568771839142, -0.6351569890975952, -0.35894250869750977, 0.06939121335744858, 0.10048649460077286, -0.19090726971626282, 0.32525622844696045, 0.3452955484390259, -0.07956214249134064, -0.22852493822574615, 0.3484078049659729, 0.8713008761405945, 0.6784494519233704, -0.1000930666923523, 0.04762977361679077, 0.16352325677871704, -0.5887579321861267, -0.04197805002331734, -0.09824304282665253, -0.5342865586280823, 0.028552193194627762, 0.44507497549057007, 0.7554656863212585, -0.31426069140434265, -0.4496638774871826, 0.4115733802318573, -0.15859103202819824, -0.2630815804004669, -0.33272725343704224, -0.022389501333236694, -0.17040672898292542, 0.28353360295295715, -0.0361417792737484, -0.22364701330661774, 0.2203589677810669, -0.45390093326568604, -0.03888716548681259, 0.8492546081542969, -0.556731641292572, -0.1244858056306839, 0.49697133898735046, 0.2947092652320862, -0.34189078211784363, 0.4122232496738434, 0.4085879325866699, -0.32183000445365906, 0.6606283187866211, 0.5101670026779175, 0.7679599523544312, 0.01858294941484928, 0.2971992492675781, 0.007456344552338123, 0.19397875666618347, -0.14275237917900085, 0.2773045003414154, 0.006269182078540325, -0.7470821738243103, -0.192020446062088, -0.4112926125526428, -0.5194011330604553, 0.08565971255302429, -0.6556928157806396, 0.48260822892189026, -0.7602663040161133, -0.5795150399208069, -0.1384090781211853, -0.2027597427368164, -0.7604900598526001, 0.0752389132976532, 0.447352796792984, 0.8821396231651306, -0.6802718043327332, 0.4402271807193756, 0.763868510723114, -0.21988894045352936, -0.41022324562072754, -0.10568948835134506, 0.4793482720851898, -1.0766980648040771, 0.65385502576828, -0.11338785290718079, 0.13723772764205933, -0.6161487698554993, -0.36946627497673035, -0.6728674173355103, 1.0004295110702515, 0.2096533477306366, -0.6695529818534851, -0.322576105594635, 0.4267846345901489, 0.6577044129371643, -0.4862115681171417, 0.4394678473472595, 0.6289370059967041, 0.28505802154541016, -0.05936601758003235, -0.8848938941955566, 0.14737890660762787, -0.13238008320331573, 0.033993739634752274, 0.07762324810028076, -0.8041953444480896, 0.6888202428817749, -0.3529512584209442, -0.05511041358113289, -0.15414592623710632, -0.035843029618263245, 0.7326518893241882, 0.5307086110115051, 0.35652461647987366, 0.2919082045555115, 0.7877454161643982, -0.0656852051615715, 1.128165364265442, -0.12661485373973846, -0.0893227830529213, 0.8023072481155396, -0.694408655166626, 0.12633056938648224, 0.5131612420082092, -0.28730177879333496, 0.562929630279541, 0.6473059058189392, 0.052648287266492844, 0.4337923228740692, 0.3715222179889679, -0.1734081208705902, -0.25720691680908203, -0.43761202692985535, -0.48359495401382446, 0.23791390657424927, 0.44423529505729675, -0.860615074634552, 0.17672577500343323, -0.2902079224586487, 0.18907900154590607, -0.06983290612697601, -0.39343273639678955, 0.9137321710586548, 0.36925071477890015, -0.5990117788314819, 0.19206906855106354, -0.25577619671821594, 0.47878140211105347, -0.6458966135978699, -0.018781250342726707, -0.2820660173892975, 0.25101438164711, -0.5124905705451965, -0.5995410084724426, -0.1319771707057953, -0.0907277911901474, -0.4700990915298462, -0.4248245358467102, 0.617277204990387, -0.011699756607413292, -0.4804116189479828, 0.2982383072376251, 0.6371608376502991, -0.21049563586711884, 0.25844451785087585, -0.6929981708526611, 0.31877851486206055, 0.07325644791126251, -0.06362146139144897, 0.5156813859939575, 0.17713916301727295, -0.49389153718948364, 0.6996870040893555, 0.6174676418304443, 0.6378940343856812, 0.14602747559547424, 0.6051332950592041, 0.6965047121047974, -0.6557503938674927, -0.34396567940711975, -1.0750693082809448, 0.2489553540945053, -0.20432955026626587, -0.27943506836891174, 0.8299421072006226, 0.2271263152360916, 0.5330058932304382, 0.2113717496395111, 0.9458975791931152, 0.5852457880973816, 0.4443126320838928, -0.6779971718788147, 0.4911801517009735, -0.2688552439212799, 0.45030248165130615, -0.4948500394821167, -0.6550012826919556, -0.43061667680740356, 0.42190635204315186, -0.6256904006004333, 0.32775965332984924, 0.429357647895813, 0.5287518501281738, 0.4444102346897125, 0.2936386466026306, 0.12441140413284302, 0.22763971984386444, 0.6000184416770935, 0.390579491853714, 0.9612220525741577, 0.011076384223997593, 0.028915513306856155, -0.036719679832458496, -0.34013986587524414, -0.30107101798057556, -0.7185183763504028, -0.9762916564941406, 0.04847356677055359, -0.2518247365951538, -0.46958449482917786, 0.08319605886936188, 1.158197045326233, 0.7405455708503723, -0.8818625807762146, -0.32799622416496277, -0.01814906671643257, 0.38095471262931824, -0.018853044137358665, -0.1577339470386505, 0.35089853405952454, -0.2120472937822342, -0.3194892704486847, -0.10201700031757355, 0.17178888618946075, 0.09064996987581253, -0.3088539242744446, -0.06856755167245865, 0.13647083938121796, -0.03383690491318703, 0.6762041449546814, 0.014444301836192608, -0.6547682881355286, 0.10510627925395966, 0.3717041015625, -0.2781620919704437, 0.03933638334274292, 1.1754391193389893, -0.5794697999954224, 0.47195976972579956, 0.47008582949638367, 0.4450344145298004, 0.20041006803512573, 0.12383483350276947, 0.7723124623298645, 0.019784091040492058, -0.09265435487031937, 0.37923872470855713, 0.7035797238349915, 0.1825251579284668, -0.40992626547813416, 0.29325881600379944, 0.30099886655807495, -0.5911563038825989, -0.81733638048172, 0.2585660219192505, -0.6837993264198303, -0.25537019968032837, 1.5671885013580322, 0.4955841600894928, -0.01928088441491127, -0.429028183221817, -0.37345895171165466, -0.12292817234992981, -0.3359578549861908, 0.9627929925918579, 0.664657711982727, -0.5038847327232361, -0.14411120116710663, -0.7710597515106201, 0.8396924138069153, 0.5834398865699768, -0.6502549052238464, 0.15535947680473328, 0.7107375860214233, 0.20868617296218872, -0.09648558497428894, 0.8096232414245605, -0.43003153800964355, 0.4666670262813568, -0.5790289640426636, -0.12060637772083282, 0.10417943447828293, -0.07769373804330826, -0.5433963537216187, 0.025322118774056435, 0.3365800082683563, -0.014920310117304325 ]
http://arxiv.org/abs/2404.15146v2
http://arxiv.org/pdf/2404.15146v2
Rethinking LLM Memorization through the Lens of Adversarial Compression
2024-04-23T15:49:37
2024-07-01T14:43:11
Avi Schwarzschild, Zhili Feng, Pratyush Maini, Zachary C. Lipton, J. Zico Kolter
cs.LG
cs.LG, cs.CL
Large language models (LLMs) trained on web-scale datasets raise substantial concerns regarding permissible data usage. One major question is whether these models "memorize" all their training data or they integrate many data sources in some way more akin to how a human would learn and synthesize information. The answer hinges, to a large degree, on how we define memorization. In this work, we propose the Adversarial Compression Ratio (ACR) as a metric for assessing memorization in LLMs. A given string from the training data is considered memorized if it can be elicited by a prompt (much) shorter than the string itself -- in other words, if these strings can be "compressed" with the model by computing adversarial prompts of fewer tokens. The ACR overcomes the limitations of existing notions of memorization by (i) offering an adversarial view of measuring memorization, especially for monitoring unlearning and compliance; and (ii) allowing for the flexibility to measure memorization for arbitrary strings at a reasonably low compute. Our definition serves as a practical tool for determining when model owners may be violating terms around data usage, providing a potential legal tool and a critical lens through which to address such scenarios.
[ -0.3735963702201843, -0.7870491743087769, 0.07433050870895386, -0.28874462842941284, -0.24628117680549622, 0.017596010118722916, -0.4078088104724884, -0.11749976128339767, -0.16448010504245758, 0.431500643491745, -0.3532876670360565, -0.2344951629638672, -0.7484934329986572, 0.0870804563164711, -0.7301474809646606, 1.1028202772140503, -0.12241490930318832, 0.006158133968710899, -0.4020645022392273, -0.21058447659015656, -0.13655346632003784, -0.9669890999794006, -0.6135147213935852, -0.25085288286209106, 0.756456196308136, 0.05840351805090904, 0.7272196412086487, 1.1939356327056885, 0.6236088871955872, 0.36323896050453186, -0.43779969215393066, 0.006717337295413017, -0.7473542094230652, -0.015448697842657566, 0.13035163283348083, -0.9017696976661682, -0.23440568149089813, 0.19328691065311432, 0.65550696849823, 0.5387352108955383, -0.43320968747138977, 0.2609495520591736, 0.01879250444471836, 0.7484298944473267, -0.6920070648193359, -0.09479810297489166, -0.9150287508964539, 0.24030861258506775, 0.050873205065727234, -0.48981887102127075, -0.3534090518951416, -0.2123935967683792, -0.2038671225309372, -0.6478894352912903, 0.6020918488502502, 0.010954289697110653, 0.7329820990562439, 0.4540935158729553, -0.2420634776353836, -0.42298805713653564, -0.7484631538391113, 0.4056684970855713, -0.425557941198349, 0.38015905022621155, 0.5333738327026367, 0.4310554265975952, -0.10688433796167374, -0.6515939831733704, -0.5144444108009338, -0.07939455658197403, 0.020610198378562927, -0.06308808922767639, -0.5984504818916321, -0.034054480493068695, 0.5937548279762268, 0.7001205682754517, -0.41216185688972473, -0.004092270042747259, -0.5772532224655151, -0.34488388895988464, 0.4750925600528717, 0.2641589939594269, 0.30981534719467163, 0.34057119488716125, -0.4567036032676697, -0.22971118986606598, -0.9453355073928833, -0.03331102430820465, 0.584869921207428, 0.2949173152446747, 0.15687038004398346, 0.578060507774353, 0.3364773690700531, 0.3400477468967438, 0.08238430321216583, -0.10050231963396072, -0.062392979860305786, 0.12253879755735397, -0.4552232325077057, 0.022039346396923065, 0.7571336030960083, 0.15054942667484283, 0.3429260551929474, -0.46100541949272156, -0.37714847922325134, 0.10526986420154572, 0.7284335494041443, -0.733888566493988, -0.5199283361434937, -0.20068036019802094, -0.3365725576877594, -0.055173359811306, 0.006316089071333408, -0.4248320162296295, -0.638532280921936, -0.36902934312820435, 0.523481011390686, -0.5178667306900024, 0.3119131028652191, 0.07401377707719803, -0.16177989542484283, -0.22615979611873627, 0.08727554231882095, -0.7528427839279175, 0.41564586758613586, 0.7195770144462585, 0.7878537774085999, 0.14191047847270966, -0.46434834599494934, -0.25062814354896545, 0.12505826354026794, -0.171068012714386, 0.45108866691589355, -0.12399430572986603, -0.581443190574646, 0.017078934237360954, -0.14721393585205078, -0.20136600732803345, -0.5341517925262451, 0.47674137353897095, -0.7103259563446045, -0.024124745279550552, -0.05563674122095108, -0.8115290999412537, -0.4413706958293915, 0.5773837566375732, -0.8255497813224792, 0.5815399289131165, 0.05360320210456848, -0.7562754154205322, 0.20085768401622772, 0.15707986056804657, -0.45467105507850647, -0.115635447204113, -0.03122377209365368, -0.7471466064453125, 0.20883792638778687, -0.003967985976487398, 0.3421326279640198, -0.33764922618865967, 0.0624261237680912, -0.33900049328804016, -0.4912239611148834, 0.7724403142929077, -0.9225311875343323, 0.41217052936553955, 0.3115639090538025, 0.1654178649187088, -0.25953444838523865, -0.7711018323898315, -0.1091923862695694, 0.12373961508274078, -0.8112332820892334, -0.3819352686405182, -0.06289928406476974, -0.4530038833618164, -0.04100290313363075, 0.13548238575458527, -0.177190363407135, 0.21094374358654022, -0.31811586022377014, 0.5054944753646851, 0.8208127617835999, -0.09555027633905411, 0.3640446960926056, -0.6516321897506714, 0.4655136168003082, -0.1169109120965004, 0.22398078441619873, -0.18079811334609985, 0.2955906391143799, -1.0287563800811768, -0.3099024295806885, 0.13460275530815125, 0.46143707633018494, -0.385086327791214, 0.2691597044467926, -0.5057469010353088, -0.4631211757659912, -0.4586881995201111, 0.4076130986213684, 0.6768385767936707, 0.3263126015663147, 0.37595754861831665, -0.3164975941181183, -0.5563470721244812, -0.6802963614463806, -0.3750062882900238, -0.4202021360397339, -0.09384685754776001, 0.555998682975769, 0.4682694971561432, -0.01814446784555912, 0.49472367763519287, -0.1974986046552658, -0.37444868683815, -0.15678079426288605, 0.2256191074848175, -0.07093995809555054, 0.20030730962753296, 0.04730484262108803, -0.7211892008781433, -0.20268820226192474, -0.381068617105484, -0.4404903054237366, 0.14857010543346405, -0.2721460163593292, 0.25853481888771057, 0.0037294316571205854, 0.6373977661132812, -0.695760190486908, 0.41584646701812744, 0.2420186549425125, -0.2398141622543335, 0.4986208379268646, -0.41556552052497864, 0.015350205823779106, -0.7082595825195312, 0.17547670006752014, -0.2683872878551483, 0.005089641083031893, -0.7600629329681396, 0.2949220538139343, 0.15207712352275848, 0.07658848166465759, -0.7244932651519775, 0.11970248818397522, -0.5768136382102966, 0.03549617528915405, -0.3060978055000305, -0.1340770274400711, -0.011205577291548252, 0.3658542335033417, -0.33377423882484436, 1.1124560832977295, 0.22153891623020172, -1.0019843578338623, 0.3577299416065216, 0.3053542971611023, -0.30680617690086365, 0.5105117559432983, -0.4246298670768738, 0.3355448842048645, -0.2317465841770172, 0.3172386884689331, -0.6500065922737122, 0.0486043319106102, -0.12871016561985016, -0.6418523788452148, 0.3852933347225189, -0.3163835108280182, -0.7009532451629639, -0.31435874104499817, -0.2862564027309418, 0.5038741827011108, 0.4893534779548645, -0.5979753732681274, 0.4465232491493225, 0.38342607021331787, 0.3636998236179352, -0.5850949287414551, -0.7947540283203125, 0.11332157999277115, -0.7830808758735657, -0.3647872507572174, 0.20934785902500153, -0.22130508720874786, -0.17363299429416656, -0.1758471131324768, -0.2899911403656006, -0.10435625165700912, 0.3754587471485138, 0.41323888301849365, 0.18175488710403442, -0.029822947457432747, 0.09150702506303787, -0.6809909343719482, 0.18122471868991852, 0.2361903041601181, -0.028548570349812508, 0.6743643879890442, -0.015681887045502663, -0.24792417883872986, -0.17414860427379608, -0.01822316087782383, 0.4313965439796448, -0.0013641802361235023, 0.5652004480361938, 0.413584440946579, -0.25908130407333374, -0.3025822341442108, -0.5777247548103333, 0.017231522127985954, -0.4763433337211609, 0.057775333523750305, -0.24794168770313263, -0.7015414237976074, 0.6707823276519775, 0.02195562794804573, -0.19686873257160187, 0.10748184472322464, 0.4059979319572449, 0.002798956586048007, 0.8238382935523987, 0.5002514123916626, -0.2558828592300415, 0.35538068413734436, -0.4056219458580017, -0.018828386440873146, -0.9518621563911438, -0.3276801109313965, -0.3729914724826813, -0.528012216091156, -0.2051268368959427, -0.37732627987861633, 0.10790365189313889, 0.3563055694103241, -0.48651617765426636, 0.4379332661628723, -0.12674479186534882, 0.7867881059646606, 0.5717286467552185, 0.13569316267967224, 0.10884029418230057, -0.03702014684677124, 0.1224195659160614, 0.22824063897132874, -0.5601028203964233, -0.5357003808021545, 1.1583781242370605, 0.4579320549964905, 0.8691633343696594, 0.17433159053325653, 0.5767723321914673, 0.2619473338127136, 0.04930843785405159, -0.971036970615387, 0.702319324016571, -0.4471210539340973, -0.5497177243232727, 0.024238403886556625, -0.6809177398681641, -1.087790608406067, 0.0650506466627121, 0.0021758645307272673, -0.5327937602996826, -0.04271902143955231, 0.3906506299972534, -0.39570003747940063, 0.6329729557037354, -0.44894546270370483, 0.5871056318283081, -0.23498554527759552, -0.08222097903490067, -0.09246215969324112, -0.5302194952964783, 0.2946494221687317, 0.07397396862506866, 0.12163864076137543, 0.04294532909989357, -0.1963987648487091, 0.843528151512146, -0.25741955637931824, 0.8994444608688354, 0.06904871016740799, 0.05332134664058685, 0.3327277898788452, 0.3441393971443176, 0.6014663577079773, -0.3027021884918213, 0.20670704543590546, -0.04638064652681351, -0.20281028747558594, -0.06745075434446335, -0.6186364889144897, 0.5114037394523621, -0.8620645403862, -0.595403254032135, -0.4356657862663269, -0.7163092494010925, -0.08535096049308777, -0.04475060850381851, 0.4489823281764984, 0.1883039027452469, -0.5227873921394348, 0.18576684594154358, 0.8843106627464294, -0.04945223778486252, 0.1535937637090683, 0.9313628077507019, 0.3619523346424103, -0.47107699513435364, 1.1295967102050781, 0.18883052468299866, 0.2903350591659546, 0.40761303901672363, 0.1058240681886673, -0.3114069700241089, -0.8655559420585632, -0.14917725324630737, 0.0704711526632309, -0.8910932540893555, -0.4271014630794525, -0.3886600732803345, -0.41692915558815, -0.10005426406860352, -0.050967738032341, -0.1695113182067871, -0.5414642095565796, -0.7562670111656189, -0.09336894005537033, 0.21813122928142548, 0.5206632614135742, 0.027759786695241928, 0.4017425775527954, -0.6967150568962097, 0.2737099528312683, 0.16752247512340546, 0.21111834049224854, -0.0502665713429451, -0.9800872206687927, -0.28095531463623047, -0.08930546045303345, -0.35787057876586914, -0.5578619837760925, 0.5153483152389526, 0.3995681405067444, 0.3464094400405884, 0.47376173734664917, 0.047721922397613525, 0.8376635313034058, -0.7159133553504944, 0.6563961505889893, 0.182463139295578, -0.7174593806266785, 0.21801140904426575, -0.0743461474776268, 0.14736652374267578, 0.5314629077911377, 0.26598605513572693, -0.6584346890449524, -0.5817492008209229, -0.8155114650726318, -1.0145987272262573, 0.47100600600242615, -0.07238224893808365, 0.2872462570667267, -0.09810306876897812, 0.517272412776947, 0.05609683692455292, 0.22966478765010834, -0.5673622488975525, -0.30136656761169434, -0.12974661588668823, -0.16760383546352386, -0.33312687277793884, -0.23176749050617218, -0.4587361514568329, 0.04907405003905296, 0.49103325605392456, 0.16362117230892181, 0.16810385882854462, -0.07958110421895981, -0.4112532138824463, 0.011292851530015469, 0.4742600917816162, 0.2025282382965088, 0.29787003993988037, 0.09905117005109787, 0.5696159601211548, 0.2825939655303955, -0.6702255010604858, 0.3169766366481781, 0.11271728575229645, -0.3642445504665375, -0.4515153467655182, 0.3647180497646332, 0.6990214586257935, 0.05537817254662514, -0.7229562401771545, 0.4611952602863312, -0.24635697901248932, -0.11269304156303406, -0.49465373158454895, 0.2518121898174286, -0.26302292943000793, 0.09692201018333435, 0.06405940651893616, 0.0641046017408371, 0.1775214672088623, -0.5851669907569885, 0.4014945924282074, 0.5275073647499084, -0.5206394791603088, -0.27204951643943787, 0.593378484249115, -0.20430418848991394, -0.32044729590415955, 0.7598089575767517, -0.09927119314670563, -0.7624191045761108, 0.661888837814331, 0.561826229095459, 0.7904845476150513, -0.30619296431541443, -0.15744559466838837, 0.39463484287261963, 0.3982371985912323, -0.37900790572166443, -0.11321432888507843, 0.004864017944782972, -0.5365265607833862, 0.16427500545978546, -0.3727159798145294, -0.11181260645389557, 0.35890915989875793, -0.8256688714027405, 0.1421467512845993, -0.8023839592933655, -0.1474796086549759, -0.00865855347365141, -0.052581798285245895, -0.6081514358520508, 0.41315266489982605, 0.2689543664455414, 0.9031792283058167, -0.608798623085022, 0.7446284890174866, 0.3608151376247406, -0.3928261399269104, -0.6831027269363403, 0.06718675047159195, 0.49053189158439636, -1.0758795738220215, 0.4489304721355438, 0.1798916459083557, -0.0024187243543565273, -0.31197449564933777, -0.26025477051734924, -0.66166090965271, 1.233420968055725, 0.3917101323604584, -0.4839286506175995, -0.002930216956883669, 0.06518741697072983, 0.7221741676330566, -0.027631601318717003, 0.03301918879151344, 0.7786197066307068, 0.049188680946826935, 0.16724233329296112, -0.6331068873405457, 0.06263237446546555, -0.41770875453948975, -0.07448505610227585, 0.4167400002479553, -0.79053795337677, 1.0612605810165405, -0.2927898168563843, -0.7936971187591553, 0.12657493352890015, 0.5072851777076721, -0.21282514929771423, 0.223063662648201, 0.4167829751968384, 0.8028233647346497, 0.8361678123474121, -0.014349227771162987, 1.178170919418335, -0.19169911742210388, 0.15754027664661407, 1.0167139768600464, 0.18969473242759705, 0.8905401229858398, 0.5691362023353577, -0.30907294154167175, -0.12627898156642914, 0.32843470573425293, -0.3876746892929077, 0.3263033330440521, 0.672002911567688, -0.3069039285182953, -0.14512509107589722, -0.13556332886219025, -0.05744669958949089, 0.284863144159317, 0.4375302195549011, -0.4313875436782837, 0.06671192497015, -0.18828344345092773, 0.18845826387405396, 0.38736075162887573, -0.4216381907463074, 1.0817183256149292, 0.20200829207897186, -0.5902548432350159, 0.9742496013641357, 0.00948404986411333, 0.40984439849853516, -0.5855540633201599, 0.36792629957199097, -0.20426256954669952, 0.5651467442512512, 0.0675191879272461, -0.7667837738990784, 0.34910696744918823, 0.275163471698761, -0.16509553790092468, -0.1628044694662094, 0.20855289697647095, -0.5192234516143799, -0.39470043778419495, 0.23287366330623627, 0.056941431015729904, 0.2468264400959015, 0.0680338516831398, -0.6695602536201477, 0.1273445188999176, -0.17415374517440796, -0.20404763519763947, 0.5579367280006409, 0.3214746117591858, 0.3390738070011139, 1.1195262670516968, 0.49113714694976807, 0.3990488052368164, 0.26413458585739136, 0.16893573105335236, 0.8918942213058472, -0.5725113153457642, -0.36627230048179626, -1.0043901205062866, 0.014945206232368946, 0.20481868088245392, -0.31554701924324036, 1.0123140811920166, 0.779434084892273, 0.9249962568283081, 0.3335089683532715, 0.7713861465454102, 0.21553641557693481, 0.40816783905029297, -0.7460076212882996, 0.6649309396743774, -0.5657079219818115, 0.723862886428833, 0.24840156733989716, -0.470287561416626, -0.4386861324310303, 0.40429750084877014, -0.011960114352405071, -0.17614059150218964, 0.5190140604972839, 0.773081362247467, -0.29899919033050537, 0.05186836048960686, 0.2667677402496338, 0.22008498013019562, 0.27457040548324585, 0.9778763055801392, 0.9564536809921265, -0.4737061858177185, 1.2773619890213013, -0.2960492968559265, 0.15487028658390045, -0.041239868849515915, -0.4493512213230133, -1.122604489326477, -0.39671242237091064, -0.2526180148124695, -0.4631582200527191, 0.2121737003326416, 0.7663094997406006, 0.24787543714046478, -0.5132532715797424, -0.20119337737560272, -0.16381089389324188, -0.10195056349039078, -0.1888095736503601, -0.04562677443027496, 0.3408145010471344, -0.2790151536464691, -0.469486266374588, 0.5139591097831726, -0.1083555817604065, 0.7098977565765381, -0.34364548325538635, -0.1317644566297531, 0.3112178444862366, 0.29467257857322693, 0.1874323934316635, 0.5371981859207153, -0.7048612236976624, -0.09795533120632172, -0.19504590332508087, -0.20034931600093842, 0.1437900811433792, 1.170021414756775, -0.5220266580581665, 0.43340227007865906, 0.3501066565513611, 0.4995460510253906, 0.24946601688861847, 0.21226264536380768, 0.5305257439613342, -1.012378454208374, -0.018191497772932053, 0.3122594356536865, 0.447565495967865, 0.6160784959793091, -0.31377100944519043, 0.20472054183483124, 0.007934349589049816, -0.5097014307975769, -0.9205653667449951, 0.34329622983932495, -0.5067797303199768, -0.39610201120376587, 1.1920665502548218, -0.5624139308929443, -0.24113114178180695, 0.0734647884964943, 0.005691280588507652, 0.2886395752429962, -0.2666226327419281, 1.1670411825180054, 0.8255117535591125, 0.34185218811035156, -0.08252780884504318, -0.38118860125541687, 0.5904408097267151, 0.08058589696884155, -0.4874861538410187, 0.6443934440612793, 0.5628625750541687, 0.14417101442813873, 0.10475968569517136, 0.44534245133399963, -0.07846058905124664, 0.2819209098815918, 0.1779654622077942, -0.34934887290000916, -0.3491005599498749, -0.5852697491645813, -0.730659544467926, 0.13163508474826813, 0.04649708792567253, 0.004135890398174524 ]
http://arxiv.org/abs/2404.15127v1
http://arxiv.org/pdf/2404.15127v1
MedDr: Diagnosis-Guided Bootstrapping for Large-Scale Medical Vision-Language Learning
2024-04-23T15:27:19
2024-04-23T15:27:19
Sunan He, Yuxiang Nie, Zhixuan Chen, Zhiyuan Cai, Hongmei Wang, Shu Yang, Hao Chen
cs.CV
cs.CV, cs.CL
The rapid advancement of large-scale vision-language models has showcased remarkable capabilities across various tasks. However, the lack of extensive and high-quality image-text data in medicine has greatly hindered the development of large-scale medical vision-language models. In this work, we present a diagnosis-guided bootstrapping strategy that exploits both image and label information to construct vision-language datasets. Based on the constructed dataset, we developed MedDr, a generalist foundation model for healthcare capable of handling diverse medical data modalities, including radiology, pathology, dermatology, retinography, and endoscopy. Moreover, during inference, we propose a simple but effective retrieval-augmented medical diagnosis strategy, which enhances the model's generalization ability. Extensive experiments on visual question answering, medical report generation, and medical image diagnosis demonstrate the superiority of our method.
[ -0.14063377678394318, -0.50126051902771, 0.6641517281532288, -0.35390257835388184, -0.4907892048358917, -0.008867399767041206, -0.24472102522850037, -0.4681674540042877, 0.3067566454410553, 0.44557246565818787, -0.4066375195980072, -0.7978476285934448, -0.6266567707061768, -0.05832013487815857, -0.4164932668209076, 1.101679801940918, -0.09402768313884735, 0.3899981677532196, -0.14106318354606628, -0.16498565673828125, -0.17565074563026428, -0.23377615213394165, -0.9474964737892151, -0.1411006897687912, 0.5635446310043335, 0.31093233823776245, 0.6722168922424316, 0.8374367356300354, 0.9970983862876892, 0.19903568923473358, 0.15064138174057007, 0.22382360696792603, -0.050514787435531616, 0.23265956342220306, -0.14043377339839935, -0.3823477029800415, -0.30797630548477173, -0.024332834407687187, 0.7113521099090576, 1.0036202669143677, -0.2722513675689697, 0.05868874490261078, -0.3481859266757965, 0.8430216312408447, -0.6198758482933044, 0.12024693191051483, -0.07785492390394211, 0.3156645894050598, 0.12825773656368256, -0.26207560300827026, -0.4531853497028351, -0.14153209328651428, 0.1927289366722107, -0.7721782922744751, 0.5327019095420837, 0.09934866428375244, 0.8291222453117371, 0.45076093077659607, -0.2815436124801636, -0.2008691132068634, -0.5419856309890747, 0.6373276114463806, -0.04659120738506317, 0.456929087638855, 0.5702594518661499, 0.7498524188995361, 0.1746714562177658, -0.9358399510383606, -0.11135008186101913, -0.05783901736140251, -0.09382470697164536, 0.050421204417943954, -0.1312374323606491, 0.0611085407435894, 0.014427661895751953, 0.4562542140483856, -0.7977396845817566, 0.21170572936534882, -0.5524604320526123, -0.20203125476837158, 0.11674626916646957, 0.14770056307315826, 0.3619470000267029, 0.06627461314201355, -0.6107784509658813, -0.22478164732456207, -0.7800890207290649, -0.2532026767730713, -0.5433717370033264, 0.06179576739668846, -0.29287904500961304, 0.3675442039966583, -0.19094756245613098, 1.2052005529403687, -0.08473992347717285, -0.4964492619037628, 0.4215315878391266, -0.26471900939941406, -0.6451693177223206, -0.20058928430080414, 0.44407007098197937, 0.7033326029777527, 0.1920464038848877, -0.2608600854873657, -0.5151865482330322, 0.30387070775032043, -0.01397892739623785, -0.7787690758705139, -0.5174288153648376, 0.1410081535577774, -0.8585080504417419, -0.6676185727119446, -0.4021674394607544, -0.8729936480522156, -0.694158136844635, -0.30349451303482056, 0.4256872832775116, -0.3229122459888458, -0.15410496294498444, 0.21105796098709106, -0.05195526033639908, 0.03802181035280228, 0.3206036686897278, -0.8968420028686523, 0.4382539391517639, 0.0934620276093483, 0.6913743019104004, -0.09069615602493286, 0.1841808408498764, -0.9233337044715881, 0.19823813438415527, -0.7686511278152466, 0.6122628450393677, -0.8950179219245911, -0.16682060062885284, 0.003359686117619276, 0.12504667043685913, -0.010098421946167946, -1.052444338798523, 0.03802977874875069, -0.4309206008911133, 0.3748146891593933, -0.1634354293346405, -0.19339804351329803, -0.08419208973646164, 0.37357214093208313, -0.4732828140258789, 0.34278133511543274, 0.5718973875045776, -0.5516865849494934, 0.7326257824897766, -0.5485776662826538, -0.5439205169677734, 0.3589097559452057, -0.867976188659668, -0.4160096049308777, 0.02946949005126953, 0.2548444867134094, 0.8616271018981934, -0.8336831331253052, 0.6149916052818298, 0.3263512849807739, -0.10355547815561295, -0.0996130034327507, -0.22905418276786804, 0.3817952871322632, 0.1544533371925354, -0.1053931936621666, -0.09963694959878922, -1.1490892171859741, -0.06569495797157288, 0.21079100668430328, -0.5325762629508972, -0.4361654222011566, 0.0894237533211708, 0.28918078541755676, 0.17915119230747223, -0.1670021414756775, -0.6013848185539246, 0.26500073075294495, -0.22073040902614594, 0.1364358365535736, 0.46318209171295166, 0.03873463720083237, 0.2052823007106781, -0.369743674993515, 0.715766429901123, 0.5653151869773865, 0.24140562117099762, -0.40225258469581604, -0.595533549785614, -0.7316970825195312, -0.7735152840614319, 0.5051458477973938, 0.5251778960227966, -0.979407787322998, 0.04323798790574074, -0.11477608233690262, -0.04606246575713158, -0.8357102274894714, -0.1386704295873642, 0.6795477271080017, 1.0314501523971558, 0.7194765210151672, -0.46121570467948914, -0.2732926309108734, -1.2159137725830078, 0.19427335262298584, 0.10331684350967407, -0.21397660672664642, 0.23627682030200958, 0.3200094401836395, -0.6253603100776672, 0.5984064340591431, -0.7688066363334656, -0.7018464207649231, -0.22206838428974152, -0.0876402035355568, 0.12605206668376923, 0.6651778817176819, 0.7990236878395081, -1.0253410339355469, -0.16422368586063385, 0.20092453062534332, -0.6193007826805115, 0.09265520423650742, -0.1382552683353424, 0.17291796207427979, 0.005734637379646301, 0.5358594059944153, -0.3290896415710449, 0.5998067855834961, 0.5421654582023621, -0.6315216422080994, 0.4625905454158783, -0.41093316674232483, 0.2652612626552582, -1.2621268033981323, 0.20491409301757812, 0.3248634338378906, -0.471139132976532, -0.519416868686676, 0.11982250958681107, 0.20417290925979614, -0.06859111785888672, 0.11831795424222946, 0.3634664714336395, -0.3867330253124237, 0.07020702213048935, 0.17773394286632538, -0.1431264728307724, -0.0006050048395991325, -0.017622193321585655, 0.17586863040924072, 0.3411186635494232, 1.0139859914779663, -0.7335208058357239, 0.4477040469646454, 0.03154337406158447, -0.622182309627533, 0.7177239656448364, -0.44158464670181274, -0.4539235830307007, -0.40057820081710815, 0.007855931296944618, -1.0243009328842163, -0.5108006000518799, 0.3491222560405731, -0.2593071162700653, 0.7273344993591309, -0.32572245597839355, -0.5575658082962036, -0.19517876207828522, 0.2092640995979309, 0.690495491027832, 0.7484668493270874, -0.7421625256538391, 0.47645723819732666, 0.19506807625293732, -0.16553223133087158, -0.5201205015182495, -0.8294898271560669, -0.06369497627019882, 0.05869670584797859, -0.29250115156173706, 0.3750641644001007, 0.10866934806108475, -0.37961870431900024, -0.14964821934700012, 0.007805888075381517, -0.33156558871269226, -0.1640683114528656, 0.026930559426546097, 0.5865784287452698, -0.38477495312690735, 0.5188747048377991, -0.015865137800574303, -0.3347903788089752, -0.05131324753165245, -0.15856970846652985, 0.45069316029548645, 0.18504402041435242, -0.43321675062179565, -0.13120849430561066, 0.35348081588745117, 0.7341415286064148, -0.3414217233657837, 0.5578923225402832, 0.29408857226371765, -0.48325657844543457, -0.2369639128446579, -0.5956202745437622, -0.23885849118232727, -0.4122558832168579, 0.4136427938938141, -0.027534274384379387, -0.4366353750228882, 0.2661159336566925, -0.376260370016098, -0.10388042777776718, 0.31548991799354553, 0.35527297854423523, -0.11565291881561279, 0.9085659980773926, 0.8927834630012512, 0.1027137041091919, 0.026795608922839165, -0.40395987033843994, 0.1014300212264061, -0.6054115891456604, -0.5821412205696106, -0.21994338929653168, -0.24844756722450256, -0.2214931696653366, -0.7926348447799683, 0.6007540822029114, -0.5225802659988403, -0.09613014757633209, -0.25505155324935913, -0.7318926453590393, 0.5359034538269043, 0.22491824626922607, 0.4662289321422577, 0.4346100091934204, 0.4119566082954407, -0.5966730117797852, -0.14752350747585297, -0.5800564289093018, 0.0314967967569828, 1.1261875629425049, 0.26122331619262695, 0.850210428237915, -0.13671530783176422, 0.5318150520324707, 0.22487100958824158, 0.4361931085586548, -0.7753624320030212, 0.2780587077140808, -0.43695876002311707, -0.3955956995487213, 0.29174456000328064, -0.5187094807624817, -0.6980204582214355, 0.3105694353580475, -0.10779853165149689, -0.4743873178958893, 0.4633595049381256, 0.285108745098114, -0.3376811146736145, 0.3466843068599701, -0.737785279750824, 0.7622499465942383, -0.0850272998213768, 0.14268715679645538, -0.21824412047863007, -0.9722903370857239, 0.414186030626297, -0.2595546543598175, 0.565493643283844, 0.34756404161453247, -0.2417374849319458, 1.0082368850708008, -0.15226344764232635, 0.8444030284881592, -0.3110632002353668, 0.12414317578077316, -0.43685945868492126, 0.05822833627462387, 0.0014434232143685222, -0.29337844252586365, 0.5640000700950623, -0.4687996208667755, 0.04846593737602234, -0.22306956350803375, -0.5526602268218994, 0.3101758360862732, -0.36045652627944946, -0.10051603615283966, -0.3330078423023224, -0.4250990152359009, -0.5724129676818848, 0.1625264286994934, 0.38487935066223145, 0.969839870929718, 0.05917919799685478, 0.22642342746257782, 0.8606473803520203, -0.5397621393203735, 0.12587733566761017, 0.8554375767707825, -0.5202024579048157, -0.33594441413879395, 0.9717929363250732, -0.02906147949397564, 0.5090738534927368, 0.36600857973098755, 0.21158626675605774, 0.10184520483016968, -0.3525445759296417, -0.48035264015197754, 0.38131216168403625, -0.8602066040039062, -0.46995916962623596, -0.303173303604126, -0.1372661590576172, 0.0014191264053806663, -0.3657240569591522, -0.3752978444099426, -0.33074474334716797, -0.034598030149936676, 0.06757821887731552, 0.36662477254867554, 0.7840644717216492, -0.09733515232801437, 0.026410002261400223, -0.2963453233242035, 0.9480991363525391, -0.0027029383927583694, 0.6480262875556946, -0.1781134307384491, -0.3577718734741211, -0.23383554816246033, -0.18113934993743896, 0.1852465122938156, -0.7290089726448059, 0.342227965593338, 0.29669952392578125, 0.2656312584877014, 0.9561136364936829, -0.06080224737524986, 0.567876935005188, -0.5362607836723328, 0.4057650864124298, 0.8202657699584961, -0.24297863245010376, 0.8444931507110596, 0.05446135252714157, 0.04237479344010353, 0.2708325982093811, 0.4050643742084503, -0.6172229051589966, -0.26012417674064636, -0.4950476884841919, -0.6950152516365051, 0.18678879737854004, -0.3909302055835724, -0.5224950313568115, -0.08274748921394348, 0.25104811787605286, 0.03835955634713173, 0.04151525720953941, -0.3373570144176483, -0.4756026268005371, 0.2238011360168457, -0.48529940843582153, -0.30188819766044617, -0.17484797537326813, -0.5794170498847961, -0.7556606531143188, 0.1875516176223755, -0.19032226502895355, 0.15027980506420135, 0.4787362813949585, -0.14996778964996338, -0.08169122040271759, 0.2672137916088104, 0.41124427318573, 0.7727998495101929, 0.045411743223667145, 0.24150004982948303, -0.5660147070884705, -0.8725229501724243, 0.22456510365009308, 0.1972542703151703, -0.12816140055656433, 0.24212276935577393, 0.09139124304056168, 0.4253460764884949, 0.3108631372451782, -0.9936169981956482, 0.8171108961105347, -0.09388525784015656, -0.49279725551605225, 0.145803302526474, -0.1348170042037964, -0.1808619350194931, 0.22998937964439392, 0.6361465454101562, 0.584944486618042, 0.10287117958068848, -0.28722870349884033, 0.4083746671676636, 0.37791702151298523, -0.27568748593330383, 0.025101954117417336, 0.6746584177017212, -0.024573873728513718, 0.014215280301868916, 0.7844270467758179, 0.14772726595401764, -0.1745559424161911, 0.7323628067970276, 0.6738229393959045, 0.4164481461048126, -0.11983217298984528, 0.46776360273361206, 0.03917276859283447, 0.4347538352012634, -0.048053763806819916, 0.31505316495895386, -0.04949337989091873, -0.5673019289970398, -0.44197553396224976, -0.5853769779205322, -0.12138843536376953, 0.37534192204475403, -0.8531630039215088, 0.07325303554534912, -0.6523456573486328, -0.001171525800600648, 0.25459086894989014, -0.3392374813556671, -0.7350350022315979, 0.9134301543235779, 0.04813763126730919, 1.0059961080551147, -0.8334907293319702, 0.7008020877838135, 0.6185002326965332, -0.42092448472976685, -0.4943160116672516, -0.057860732078552246, -0.084244504570961, -1.1994086503982544, 0.8133798837661743, 0.15559479594230652, 0.06258582323789597, 0.047996390610933304, -0.853679895401001, -0.498812198638916, 0.9417795538902283, 0.4178207814693451, -0.5384925603866577, -0.1864212304353714, -0.20609045028686523, 0.4422091841697693, -0.6283734440803528, -0.36432722210884094, 0.6177228689193726, 0.1444467008113861, 0.33023786544799805, -0.9373531341552734, 0.21722541749477386, -0.2391524314880371, -0.18291588127613068, 0.15835295617580414, 0.040374938398599625, 0.7074710130691528, -0.8299319744110107, -0.13949944078922272, -0.06045708432793617, -0.037752460688352585, -0.06324290484189987, 0.14115118980407715, 0.2808990776538849, 0.7712693810462952, 0.7537869811058044, -0.06790515780448914, 1.244632363319397, -0.3579302430152893, 0.20133885741233826, 0.5019782185554504, 0.1883087158203125, 0.7906407117843628, 0.5585090517997742, 0.0028163865208625793, 0.3677354156970978, 0.6473550200462341, -0.17882874608039856, 0.8137590289115906, 0.15595406293869019, -0.4706403911113739, -0.3846200108528137, 0.0030620370525866747, -0.718226969242096, 0.251432329416275, 0.6233382225036621, -1.2249858379364014, -0.41587600111961365, 0.22934171557426453, -0.1829862892627716, -0.24265410006046295, -0.40321803092956543, 0.7679685354232788, -0.21010318398475647, -0.3834119439125061, 0.9129109382629395, -0.11253533512353897, 0.43938684463500977, -0.45114871859550476, -0.32552722096443176, -0.048319004476070404, 0.323756605386734, -0.18645545840263367, -0.4543306231498718, -0.02268107980489731, -0.1045258566737175, -0.42792558670043945, -0.07271230965852737, 0.5268815159797668, -0.6333906650543213, -0.7376644611358643, 0.10924755781888962, 0.4960905909538269, 0.35157808661460876, 0.26201292872428894, -0.35749199986457825, -0.057185593992471695, -0.01860186643898487, 0.05137643590569496, 0.506911039352417, 0.08614621311426163, 0.26106685400009155, 0.9186203479766846, 0.34007084369659424, 0.42296603322029114, -0.3177180290222168, 0.16840268671512604, 1.059675931930542, -0.3494296073913574, -0.3557540476322174, -0.5811839699745178, 0.351345032453537, 0.038480594754219055, -0.18609902262687683, -0.1416052132844925, 0.7169008255004883, 0.5250237584114075, -0.32161474227905273, 0.8615878224372864, -0.012649603188037872, 0.6160126328468323, -0.6542624831199646, 0.8626121878623962, -0.8274354338645935, 0.06380458921194077, -0.23600365221500397, -0.22918793559074402, -0.758813738822937, 0.9558960795402527, -0.14305181801319122, -0.0034343129955232143, 0.7937983870506287, 0.721025288105011, -0.26075321435928345, -0.46410253643989563, 0.5945926308631897, 0.23434950411319733, 0.11748680472373962, 0.6265382766723633, 0.31123465299606323, -0.27729377150535583, 0.235659658908844, -0.09595005959272385, -0.718550443649292, -0.2053227722644806, -0.40927886962890625, -0.7429356575012207, -0.8073471188545227, -0.4095897376537323, -0.37263745069503784, 0.09543012082576752, 0.7289946675300598, 0.8438249826431274, -0.5142195820808411, 0.30487382411956787, 0.0798003301024437, -0.12491822987794876, -0.23901347815990448, -0.15731194615364075, 0.38226860761642456, -0.4087555706501007, -0.16887624561786652, 0.38969892263412476, 0.47734278440475464, 0.17018479108810425, -0.2751564681529999, 0.23495842516422272, 0.15101124346256256, -0.5785754919052124, 0.6260769963264465, 0.3251519501209259, -0.6661450862884521, 0.18389616906642914, -0.273339182138443, -0.08619724214076996, 0.2197086066007614, 0.8144346475601196, -1.090871810913086, 0.776594340801239, -0.18846766650676727, 0.6873200535774231, 0.1492854654788971, -0.07295533269643784, 0.6739656925201416, -0.5747038722038269, 0.19947870075702667, 0.357576459646225, 0.3745819628238678, 0.5090326070785522, -0.2753043472766876, 0.528933048248291, 0.4873088002204895, -0.28573399782180786, -0.7564592957496643, 0.27388519048690796, -0.7096747159957886, -0.3193396329879761, 1.0580872297286987, -0.01868651993572712, 0.014777039177715778, -0.13596005737781525, -0.2043115794658661, -0.15444007515907288, 0.11612027883529663, 0.6277723908424377, 0.11161518841981888, -0.027341682463884354, -0.31743425130844116, -0.5853577256202698, 0.7202655076980591, 0.13497593998908997, -0.5828694105148315, -0.14096996188163757, 0.7302582859992981, 0.7621325254440308, 0.10732130706310272, 0.770703136920929, -0.2584705054759979, 0.6455820202827454, -0.08163078874349594, -0.07641082257032394, 0.13762062788009644, -0.6721403002738953, -0.14416439831256866, 0.2344086915254593, -0.042177923023700714, -0.7097955942153931 ]
http://arxiv.org/abs/2404.15104v2
http://arxiv.org/pdf/2404.15104v2
Identifying Fairness Issues in Automatically Generated Testing Content
2024-04-23T14:56:15
2024-05-01T19:45:14
Kevin Stowe, Benny Longwill, Alyssa Francis, Tatsuya Aoyama, Debanjan Ghosh, Swapna Somasundaran
cs.CL
cs.CL, I.2.7
Natural language generation tools are powerful and effective for generating content. However, language models are known to display bias and fairness issues, making them impractical to deploy for many use cases. We here focus on how fairness issues impact automatically generated test content, which can have stringent requirements to ensure the test measures only what it was intended to measure. Specifically, we review test content generated for a large-scale standardized English proficiency test with the goal of identifying content that only pertains to a certain subset of the test population as well as content that has the potential to be upsetting or distracting to some test takers. Issues like these could inadvertently impact a test taker's score and thus should be avoided. This kind of content does not reflect the more commonly-acknowledged biases, making it challenging even for modern models that contain safeguards. We build a dataset of 601 generated texts annotated for fairness and explore a variety of methods for classification: fine-tuning, topic-based classification, and prompting, including few-shot and self-correcting prompts. We find that combining prompt self-correction and few-shot learning performs best, yielding an F1 score of 0.79 on our held-out test set, while much smaller BERT- and topic-based models have competitive performance on out-of-domain data.
[ -0.42883190512657166, -0.819539487361908, 0.35436686873435974, 0.31207114458084106, 0.18260303139686584, -0.2424803078174591, -0.22364452481269836, -0.6266003251075745, -0.4087045192718506, 0.5561601519584656, -0.29269808530807495, -0.3414342999458313, -0.7597559690475464, 0.42800477147102356, -0.5051812529563904, 1.344796061515808, 0.013698728755116463, -0.08844277262687683, -0.3395773768424988, -0.268964946269989, -0.802070140838623, -0.36933156847953796, -0.7409846782684326, -0.19016341865062714, 0.33717626333236694, 0.5985761284828186, 0.693691074848175, 0.6400620341300964, 0.5905212163925171, 0.2999592125415802, -0.002756500383839011, -0.027610715478658676, -0.40912094712257385, 0.1362949013710022, -0.2678975760936737, -0.3933555781841278, -0.35610631108283997, 0.23226414620876312, 0.72428297996521, 0.6652006506919861, 0.20988842844963074, 0.3488418757915497, 0.24339178204536438, 0.39861494302749634, -0.6018572449684143, -0.026335176080465317, -0.5657221674919128, 0.34158456325531006, -0.5734578371047974, -0.07885673642158508, -0.5045782327651978, -0.45567747950553894, -0.06908167153596878, -0.48531606793403625, 0.5329537987709045, 0.20225386321544647, 0.9947399497032166, 0.29485780000686646, -0.6487021446228027, -0.5715293288230896, -0.36921119689941406, 1.029491662979126, -0.5406050682067871, 0.11672210693359375, 0.4114855229854584, 0.4583052098751068, -0.1757107526063919, -0.2979278266429901, -0.8272034525871277, -0.10784163326025009, -0.0746714174747467, 0.17033158242702484, -0.05923505127429962, 0.02340656891465187, 0.5441827774047852, 0.40717390179634094, -0.7364313006401062, 0.3314944803714752, -0.3200331926345825, -0.3836580216884613, 1.032871127128601, 0.2991236448287964, 0.4304848313331604, -0.6242927312850952, 0.0836390033364296, -0.12801453471183777, -0.5256580710411072, 0.3655489683151245, 0.9022024869918823, 0.18902967870235443, -0.030148306861519814, 0.7162080407142639, 0.0020643488969653845, 0.5141161680221558, 0.07575845718383789, -0.10245302319526672, 0.3302852511405945, -0.12180233746767044, 0.005381276365369558, -0.03731084242463112, 0.6523284912109375, 0.39681753516197205, 0.6438448429107666, 0.077016182243824, -0.597922146320343, -0.10893680155277252, 0.17812901735305786, -0.6168172359466553, -0.09934788942337036, 0.14281144738197327, -0.36348849534988403, -0.2978282570838928, 0.19464446604251862, -0.7972567677497864, -0.3837231695652008, -0.25911274552345276, 0.490770548582077, -0.1580641269683838, -0.13569507002830505, -0.1553242951631546, -0.20358306169509888, 0.15437842905521393, 0.17385554313659668, -0.855559766292572, 0.31116849184036255, 0.6228823661804199, 0.4338843822479248, -0.4275737702846527, -0.21091239154338837, -0.829872190952301, -0.11022616922855377, -0.26406198740005493, 0.6747986078262329, -0.3096500635147095, -0.32424187660217285, 0.11547043919563293, 0.193832129240036, 0.18369120359420776, -0.5975441336631775, 0.3593384623527527, -0.43738576769828796, 0.6013268232345581, -0.4209531247615814, -0.8258830308914185, 0.1762116700410843, 0.3001825511455536, -0.7506573796272278, 0.8130298852920532, -0.008692984469234943, -0.8779240846633911, 0.768109142780304, -0.7103059887886047, -0.6990481615066528, 0.05555720999836922, -0.4057503938674927, -0.5224857926368713, -0.07285787910223007, -0.1079426035284996, 0.20143213868141174, 0.10461347550153732, 0.4333098232746124, -0.06535875052213669, -0.44580814242362976, 0.37873533368110657, -0.6778162121772766, 0.6100748777389526, 0.24662187695503235, -0.7857431769371033, -0.32135504484176636, -0.5958802103996277, -0.08000032603740692, 0.1996804028749466, -0.16761688888072968, -0.030799439176917076, -0.08559300005435944, 0.15170162916183472, 0.24358168244361877, -0.03160558640956879, -0.5359899401664734, -0.3784506618976593, -0.4359660744667053, -0.19279590249061584, 1.1555533409118652, -0.12855881452560425, 0.6122862100601196, -0.5634663701057434, 0.5439624190330505, 0.08602980524301529, 0.34896689653396606, 0.03474440798163414, -0.8164480328559875, -0.6187846660614014, -0.07024776935577393, 0.6025096774101257, 0.4802769422531128, -0.2579527497291565, 0.5503184795379639, -0.02395760826766491, -0.14547546207904816, -0.6969172358512878, 0.2812475562095642, 0.3479325771331787, 0.6317751407623291, 0.18426282703876495, -0.42156246304512024, -0.020733727142214775, -0.8337262868881226, -0.3764057457447052, 0.013564149849116802, -0.004645727574825287, 0.35439276695251465, 0.5468089580535889, 0.1426520049571991, 1.1655386686325073, -0.493097186088562, -0.44613370299339294, -0.06704213470220566, 0.3067834973335266, -0.17940089106559753, 0.6077961921691895, 0.6321789026260376, -0.7466304302215576, -0.5829581022262573, -0.3360540568828583, -0.786185085773468, -0.5458434820175171, 0.042827267199754715, -0.003873266978189349, 0.430315226316452, 0.2054964005947113, -0.13482369482517242, 0.5424155592918396, 0.3403397798538208, -0.5025848150253296, 0.4149855077266693, -0.003629593877121806, 0.4645845592021942, -0.4742332100868225, -0.011948633007705212, -0.005291013978421688, -0.30971187353134155, -0.0919036716222763, 0.014329962432384491, 0.06170084699988365, -0.00003975925574195571, -0.5315253734588623, 0.971886932849884, 0.003956045489758253, 0.02197244204580784, -0.26980915665626526, 0.13264049589633942, 0.37898528575897217, -0.05936096981167793, -0.17569153010845184, 0.7223078012466431, 0.15516328811645508, -0.5338393449783325, -0.07163310796022415, 0.12036687135696411, 0.0790022686123848, 0.7825348377227783, -0.40661171078681946, 0.10677877068519592, -0.423155277967453, 0.07226282358169556, -0.8132092356681824, -0.28052759170532227, 0.058017272502183914, -0.6313154697418213, 0.02218104712665081, 0.12538307905197144, -0.6238025426864624, -0.2270747572183609, -0.26947149634361267, 0.46357712149620056, 0.7729344964027405, -0.4616587162017822, 0.16629593074321747, 0.5010313987731934, -0.20655706524848938, -0.6459962129592896, -0.671931266784668, -0.24260792136192322, -0.25346481800079346, -0.6992753148078918, 0.22433048486709595, -0.3220216929912567, -0.4745754599571228, -0.001297365641221404, 0.14299045503139496, -0.23451349139213562, 0.1943979263305664, 0.36188867688179016, -0.2599567770957947, -0.02928067557513714, 0.417579710483551, 0.23624823987483978, 0.041923604905605316, 0.23588962852954865, 0.19054940342903137, 0.14420832693576813, 0.02957841195166111, -0.5345213413238525, -0.24903520941734314, 0.6943395733833313, 0.13884134590625763, -0.14406386017799377, 0.47328630089759827, 0.8126797080039978, -0.50235915184021, -0.549045741558075, -0.6944527626037598, -0.2490939348936081, -0.5059970021247864, 0.1722356677055359, -0.11867420375347137, -0.779536783695221, 0.6598907709121704, 0.6372075080871582, 0.381538987159729, 0.6289793848991394, 0.22128619253635406, -0.3202877938747406, 1.423670768737793, 0.5951635241508484, 0.25513404607772827, 0.2795635461807251, 0.08955767750740051, 0.2911970913410187, -0.16056402027606964, -0.23324233293533325, -0.7268131971359253, -0.1690966635942459, -0.8363222479820251, 0.04378122091293335, 0.13764847815036774, -0.3560371696949005, -0.18597765266895294, -0.25284677743911743, -0.531844973564148, 0.6971292495727539, 0.5949546694755554, -0.11567382514476776, 0.5317541360855103, -0.22768153250217438, -0.08874208480119705, -0.5530129671096802, -0.43851184844970703, -0.7427573204040527, 1.2634236812591553, 0.3932192325592041, 0.49609071016311646, 0.06690109521150589, 0.7956082224845886, 0.7726625800132751, 0.532615065574646, -0.5013648271560669, 0.4156915545463562, -0.3921165466308594, -0.8542667031288147, -0.25587034225463867, -0.7366734743118286, -1.0282961130142212, -0.17159229516983032, -0.2034604400396347, 0.0051633515395224094, -0.20373651385307312, 0.17175842821598053, -0.3027629852294922, 0.08470167219638824, -1.0419317483901978, 1.014498233795166, -0.2569151818752289, -0.35051658749580383, 0.10927949845790863, -0.3494075536727905, 0.45651814341545105, -0.31730398535728455, 0.5712470412254333, -0.2837255001068115, 0.3701231777667999, 0.7954817414283752, -0.22166217863559723, 0.5870300531387329, -0.22706374526023865, -0.18235686421394348, 0.44749218225479126, 0.21134161949157715, 0.08271631598472595, 0.31422919034957886, -0.204788476228714, -0.016803620383143425, -0.13664305210113525, -0.7172685265541077, -0.5038596987724304, 0.534723162651062, -0.7065685987472534, -0.6001659631729126, -0.5903304219245911, -0.45232123136520386, -0.05903327837586403, 0.15427395701408386, 0.39442750811576843, 0.3340494632720947, -0.18083758652210236, -0.2614552974700928, 0.7432782649993896, -0.5085138082504272, 0.43250158429145813, 0.6113476753234863, 0.019416073337197304, 0.06863288581371307, 1.0894827842712402, 0.32736775279045105, 0.3068482279777527, -0.31995290517807007, 0.1501302719116211, -0.4116409122943878, -0.5593663454055786, -0.2911626100540161, -0.009495683014392853, -0.9448875188827515, -0.2652137577533722, -0.5403150320053101, -0.3401029109954834, -0.6039133071899414, -0.24119091033935547, -0.2804640233516693, -0.091801717877388, -0.274625688791275, -0.12935511767864227, 0.14710335433483124, 1.0466426610946655, -0.2360447496175766, 0.13018736243247986, -0.6150069832801819, 0.3426099121570587, 0.5107406973838806, 0.3714941740036011, -0.16570691764354706, -0.8028279542922974, 0.14825457334518433, -0.14855577051639557, -0.5448965430259705, -0.5725318193435669, 0.1582484096288681, 0.1063065156340599, 0.4685021936893463, 0.17751921713352203, 0.22383366525173187, 0.3526124358177185, -0.5729904174804688, 0.9157739877700806, -0.04295291006565094, -1.0503695011138916, 0.6417913436889648, -0.07373237609863281, 0.20927003026008606, 0.8128199577331543, 0.16563932597637177, -0.32427090406417847, -0.967674195766449, -0.730745255947113, -0.6858251094818115, 0.3865656852722168, 0.3679543435573578, 0.42039480805397034, -0.4778832495212555, 0.17484469711780548, 0.43876639008522034, 0.20286792516708374, -1.0411126613616943, -0.04025924950838089, -0.22790446877479553, -0.7614526152610779, 0.2820925712585449, 0.15594319999217987, 0.07864943146705627, -0.13921208679676056, 0.324817419052124, -0.1781410425901413, -0.16489443182945251, 0.2505303621292114, -0.38800713419914246, -0.18235701322555542, 0.3219880163669586, 0.4413134753704071, 0.48566827178001404, -0.06909413635730743, 0.1251032054424286, 0.029544170945882797, -0.5272459387779236, 0.17262877523899078, 0.09882822632789612, -0.4059913456439972, 0.10219094157218933, 0.18705317378044128, 0.20117425918579102, -0.04155890271067619, -0.9511622190475464, 1.0461395978927612, -0.18785187602043152, -0.13654831051826477, -0.33602839708328247, 0.23411941528320312, -0.560544490814209, -0.004660237580537796, 0.2746550738811493, -0.14333908259868622, 0.2454785853624344, -0.224629744887352, 0.5774327516555786, 0.30786141753196716, -0.41077834367752075, -0.24023862183094025, 0.6166667938232422, 0.5859906077384949, -0.33169323205947876, 0.6618295311927795, -0.8864126801490784, -0.35448771715164185, 0.805442750453949, 0.3834771513938904, 0.46981877088546753, -0.09762514382600784, 0.37095680832862854, 0.2893354296684265, 0.4516046345233917, -0.0604868084192276, 0.18850821256637573, 0.34173744916915894, -0.6293293237686157, -0.2924315333366394, -0.523757815361023, -0.355230450630188, -0.01566660962998867, -0.40669500827789307, 0.3199760317802429, -0.34504109621047974, -0.3156997263431549, -0.06060158088803291, 0.22623661160469055, -1.0478487014770508, 0.5379248857498169, 0.3684358596801758, 0.6917170882225037, -1.101784110069275, 0.12770472466945648, 0.44935858249664307, -0.6462914943695068, -0.6569416522979736, 0.025981368497014046, 0.11705005913972855, -0.635983943939209, 0.616960346698761, 0.34954264760017395, 0.34957394003868103, -0.05271894857287407, -0.43868333101272583, -0.28229111433029175, 0.6321664452552795, 0.42435383796691895, -0.3001667857170105, 0.0822010263800621, 0.5669065117835999, 0.35934004187583923, -0.1458674818277359, 0.498274564743042, 0.4537712335586548, 0.5303226113319397, -0.3052370846271515, -1.063541054725647, 0.05726829916238785, -0.2056100070476532, -0.31671035289764404, -0.1809597760438919, -0.4402659237384796, 0.7721578478813171, -0.02202668972313404, -0.23801887035369873, -0.2995224595069885, 0.41172707080841064, 0.36544957756996155, 0.6635293364524841, 0.6649386882781982, 0.5166975259780884, 0.9636982679367065, -0.16401459276676178, 0.9953559041023254, 0.3280762732028961, 0.22235943377017975, 0.9521002769470215, -0.5395113825798035, 0.4081662893295288, 0.32510244846343994, 0.07101482152938843, 0.2727452218532562, 0.6836877465248108, -0.014201590791344643, 0.2268095314502716, 0.507784903049469, -0.12413147836923599, -0.1340714693069458, -0.4314643144607544, -0.3453945517539978, 0.4876704216003418, -0.15476344525814056, -0.2765040695667267, -0.21439433097839355, 0.14436084032058716, 0.07708609104156494, 0.4805477559566498, -0.20079413056373596, 0.7030941843986511, 0.09720978140830994, -0.7499616742134094, -0.05538110435009003, 0.034175243228673935, 0.919977605342865, -0.19466419517993927, -0.1651422530412674, -0.42847248911857605, -0.09113290905952454, -0.24894733726978302, -1.1236474514007568, 0.32604196667671204, 0.34976187348365784, -0.18210041522979736, -0.23154927790164948, 0.557457447052002, -0.3523117005825043, -0.39685752987861633, 0.26425209641456604, 0.6093888878822327, 0.08944656699895859, -0.1574518382549286, -0.6226011514663696, -0.04054858535528183, -0.1805339902639389, -0.13495776057243347, 0.32253196835517883, 0.6835705041885376, -0.04125809669494629, 0.3453049957752228, 0.4151005446910858, 0.008146791718900204, 0.32217881083488464, 0.28185126185417175, 0.248502716422081, -0.8455948829650879, -0.6266467571258545, -0.6090426445007324, 0.7683715224266052, -0.36436834931373596, -0.4972219169139862, 0.6939836740493774, 0.5486064553260803, 0.8778390288352966, 0.21841825544834137, 0.8150129914283752, 0.08544345945119858, 0.3415449559688568, -0.35630422830581665, 0.9227902293205261, -0.6103990077972412, 0.11019930243492126, -0.30119049549102783, -0.7107388377189636, -0.21107567846775055, 0.33318740129470825, -0.23289227485656738, 0.23043209314346313, 0.6664187908172607, 0.6104658842086792, 0.058294281363487244, 0.05922078713774681, 0.20402437448501587, -0.1890234649181366, 0.42952606081962585, 0.4819621741771698, 0.9397986531257629, -0.5668324828147888, 0.6387849450111389, 0.03297938406467438, -0.19654536247253418, 0.003775677876546979, -0.9026541113853455, -0.8013553023338318, -0.33605143427848816, -0.513148844242096, -0.385927677154541, -0.002400149591267109, 0.6770049929618835, 0.5753851532936096, -0.8824930191040039, 0.015741081908345222, -0.0025095974560827017, 0.4934885501861572, 0.28026875853538513, -0.39418527483940125, -0.013280746527016163, -0.6841612458229065, -0.7308257222175598, -0.22822792828083038, -0.06490259617567062, 0.2124769687652588, -0.15983451902866364, -0.11444474756717682, 0.4364180862903595, 0.12639792263507843, 0.4174971282482147, 0.0817493349313736, -0.39748144149780273, -0.6644488573074341, 0.1887790709733963, -0.38678935170173645, 0.021481100469827652, 0.4284801483154297, -0.5865088105201721, 0.41251346468925476, 0.35593339800834656, 0.6813300251960754, -0.0331936813890934, -0.14683671295642853, 0.5964915752410889, -1.0528359413146973, -0.07552213966846466, 0.5545181632041931, 0.12412761151790619, 0.486393004655838, -0.4487542510032654, 0.1873534470796585, 0.3257903754711151, -0.6826340556144714, -1.0325654745101929, 0.03650367259979248, -0.5983214974403381, -0.02486248128116131, 1.0949363708496094, 0.010644364170730114, -0.13564352691173553, -0.3316700756549835, 0.0798044428229332, 0.13595524430274963, -0.33594176173210144, 1.0039502382278442, 0.8692870736122131, 0.06205105036497116, 0.06351888179779053, -0.8549302816390991, 0.6985576748847961, 0.6690993309020996, -1.0297330617904663, -0.18663424253463745, 0.49676135182380676, 0.49626624584198, -0.031765904277563095, 0.7152087092399597, -0.3060067594051361, 0.5016100406646729, -0.3817193806171417, 0.06832326948642731, 0.36266958713531494, -0.2532813549041748, -0.30472466349601746, 0.22005178034305573, 0.16175097227096558, 0.025897884741425514 ]
http://arxiv.org/abs/2404.15103v1
http://arxiv.org/pdf/2404.15103v1
Multi-view Content-aware Indexing for Long Document Retrieval
2024-04-23T14:55:32
2024-04-23T14:55:32
Kuicai Dong, Derrick Goh Xin Deik, Yi Quan Lee, Hao Zhang, Xiangyang Li, Cong Zhang, Yong Liu
cs.CL
cs.CL
Long document question answering (DocQA) aims to answer questions from long documents over 10k words. They usually contain content structures such as sections, sub-sections, and paragraph demarcations. However, the indexing methods of long documents remain under-explored, while existing systems generally employ fixed-length chunking. As they do not consider content structures, the resultant chunks can exclude vital information or include irrelevant content. Motivated by this, we propose the Multi-view Content-aware indexing (MC-indexing) for more effective long DocQA via (i) segment structured document into content chunks, and (ii) represent each content chunk in raw-text, keywords, and summary views. We highlight that MC-indexing requires neither training nor fine-tuning. Having plug-and-play capability, it can be seamlessly integrated with any retrievers to boost their performance. Besides, we propose a long DocQA dataset that includes not only question-answer pair, but also document structure and answer scope. When compared to state-of-art chunking schemes, MC-indexing has significantly increased the recall by 42.8%, 30.0%, 23.9%, and 16.3% via top k= 1.5, 3, 5, and 10 respectively. These improved scores are the average of 8 widely used retrievers (2 sparse and 6 dense) via extensive experiments.
[ -0.5078439116477966, -0.6046948432922363, 0.8937132954597473, 0.32963356375694275, -0.43846893310546875, 0.26307597756385803, 0.1668512523174286, -0.32047292590141296, 0.6738767623901367, 0.4443720281124115, -0.36989495158195496, -0.312206506729126, -0.6352759599685669, 0.1815989464521408, -0.592771053314209, 0.6688621640205383, -0.0473889522254467, -0.2704342305660248, -0.4451289474964142, -0.004551220685243607, -0.18842661380767822, -0.3187258541584015, -0.4687233865261078, 0.25884073972702026, 0.7932413220405579, 0.4546229839324951, 0.3099909722805023, 0.6383171677589417, 0.449083536863327, 0.3047638237476349, -0.14095717668533325, 0.520015299320221, -0.42170876264572144, 0.07036855071783066, -0.09006230533123016, -0.39070090651512146, -0.4756612181663513, 0.09760300815105438, 0.8198128938674927, 0.46009525656700134, -0.15970849990844727, -0.11515095084905624, 0.0380740612745285, 1.1282025575637817, -0.8608231544494629, 0.09272506088018417, -0.5054754018783569, -0.2216043472290039, -0.38992568850517273, -0.31058603525161743, -0.11737273633480072, -0.2687053978443146, 0.1021522581577301, -0.8588067889213562, 0.19170081615447998, 0.11826863139867783, 0.4337517023086548, 0.008231605403125286, -0.7000321745872498, -0.3614575266838074, -0.18081577122211456, 0.612311065196991, -0.31186842918395996, 0.6427168846130371, 0.3294658958911896, 0.2637178897857666, -0.053565721958875656, -0.7700309157371521, -0.6592022180557251, 0.23643027245998383, -0.005149428732693195, 0.5972045660018921, 0.27189281582832336, 0.13650263845920563, 0.0663716197013855, 0.5678551197052002, -0.5338451862335205, -0.19947032630443573, -0.4712418019771576, -0.25224459171295166, 0.4973832070827484, 0.16219736635684967, -0.1254522204399109, -0.5175558924674988, -0.2949165403842926, -0.16850145161151886, -0.3851175904273987, 0.14465560019016266, 0.36372771859169006, -0.021877827122807503, 0.30928152799606323, 0.6289989352226257, -0.5064617395401001, 0.3412292003631592, 0.2208898961544037, -0.16785195469856262, 0.22169344127178192, -0.4063594341278076, -0.018302971497178078, 0.1151360496878624, 0.41257309913635254, 0.45480257272720337, 0.01848984882235527, -0.11619078367948532, -0.09214036166667938, -0.36398351192474365, 0.5555367469787598, -0.9182355999946594, -0.015369374305009842, 0.5128597021102905, -0.3322603702545166, 0.03300653398036957, 0.24389402568340302, -0.8603471517562866, -0.6083911061286926, -0.035963110625743866, 0.43146535754203796, -0.5397627353668213, -0.10722831636667252, 0.1746593713760376, -0.5897490382194519, 0.4462253153324127, 0.6593570709228516, -0.713276743888855, 0.5128362774848938, 0.9565862417221069, 0.7355335354804993, -0.293679803609848, -0.40884503722190857, -0.9441874623298645, 0.2687014937400818, -0.39489585161209106, 0.9620268940925598, -0.5753848552703857, -0.6527230143547058, -0.13929243385791779, 0.35770201683044434, -0.2903106212615967, -0.635473906993866, 0.723578691482544, -0.6548587679862976, 0.24890440702438354, -0.3958335816860199, -0.5097827911376953, -0.11034334450960159, 0.8225829601287842, -0.835593044757843, 1.1915215253829956, 0.22584092617034912, -0.9495993256568909, 0.1072075217962265, -0.6359621286392212, -0.39521631598472595, -0.16295477747917175, -0.06576846539974213, -0.20926183462142944, 0.08660853654146194, 0.5349231362342834, 0.1793733388185501, -0.05342848598957062, 0.07145965844392776, -0.006333835888653994, -0.47782737016677856, -0.11572788655757904, -0.43641185760498047, -0.0554334856569767, 0.07963555306196213, -0.06044849753379822, 0.010902040638029575, -0.7643943428993225, 0.10209745913743973, -0.08369634300470352, -0.5757362246513367, -0.6344730257987976, 0.09807509928941727, -0.02005081996321678, 0.2949523627758026, 0.13937000930309296, -0.7609033584594727, 0.1669919341802597, -0.3611971437931061, 0.13851092755794525, 0.5154030323028564, 0.12138734012842178, 0.4770374894142151, -0.453701913356781, 0.48484525084495544, 0.5158920884132385, 0.2469797134399414, -0.44523972272872925, -0.3125503659248352, -0.5606946349143982, -0.37740692496299744, 0.24496765434741974, 0.40129637718200684, -0.7815654873847961, -0.06124560534954071, -0.40978190302848816, -0.40782496333122253, -0.7367421984672546, 0.14597268402576447, 0.32305285334587097, 0.6431384682655334, 0.555511474609375, -0.7236320376396179, -0.10840501636266708, -0.9171636700630188, -0.07874367386102676, 0.20560209453105927, -0.14671951532363892, 0.5280963778495789, 0.549138069152832, 0.1617104560136795, 0.6313917636871338, -0.7292581796646118, -0.23501767218112946, 0.06982748955488205, -0.059157922863960266, 0.213229700922966, 0.27904507517814636, 0.12416992336511612, -1.2618869543075562, -0.4676533639431, -0.34377598762512207, -0.19199922680854797, 0.4177486002445221, 0.058159954845905304, -0.2826438844203949, -0.0006165143568068743, 0.40488722920417786, -0.537447452545166, 0.3480985164642334, 0.16983960568904877, -0.05023286119103432, 0.5376378893852234, -0.5140795707702637, 0.2938087582588196, -1.3152748346328735, 0.15630970895290375, -0.1427544504404068, -0.26518410444259644, -0.3776549696922302, 0.26102641224861145, 0.750813901424408, -0.09707630425691605, -0.6385411620140076, 0.6191438436508179, -0.6961870789527893, 0.009389889426529408, -0.26857614517211914, 0.4768960773944855, 0.6163144111633301, 0.3689236640930176, 0.2351381629705429, 0.8175826072692871, 0.13880831003189087, -0.6546938419342041, 0.1023973822593689, 0.2128719538450241, -0.46615856885910034, 0.873190701007843, -0.5395857095718384, 0.2200535535812378, -0.46536746621131897, 0.5018925666809082, -0.8342041373252869, -0.06854590773582458, -0.13896702229976654, -0.25875166058540344, 0.3946726322174072, -0.21114946901798248, -0.4094701409339905, -0.3757174015045166, -0.9099367260932922, 0.4471755921840668, -0.20130117237567902, -0.44676077365875244, 0.7036844491958618, 0.2375916689634323, -0.23305441439151764, -0.7852442860603333, -0.06345885992050171, 0.03781028836965561, -0.012567121535539627, -0.6950857043266296, 0.579328715801239, -0.37674057483673096, 0.28489676117897034, -0.300174742937088, -0.4313332438468933, -0.2481679618358612, 0.1417018622159958, 0.2849229872226715, -0.03041962906718254, 0.05450178310275078, 0.30967047810554504, 0.25634726881980896, -0.04007750377058983, -0.1499340683221817, -0.25799742341041565, 0.5058460235595703, 0.01475545484572649, -0.3879201412200928, 0.14150811731815338, 1.0469719171524048, 0.6764423251152039, -0.8225005269050598, 0.5755808353424072, 0.5980876088142395, -0.3010019361972809, 0.22327566146850586, -0.806229293346405, 0.22524943947792053, -0.44925206899642944, 0.48193493485450745, -0.5517382025718689, -0.8193306922912598, 0.46424221992492676, -0.2268225997686386, -0.09202438592910767, 0.6160525679588318, 0.22240476310253143, -0.33350643515586853, 0.8722192645072937, 0.5919257998466492, -0.17200572788715363, 0.31364575028419495, -0.4511357247829437, -0.04274199530482292, -1.438977837562561, -0.565787672996521, -0.7006657123565674, -0.2555408477783203, -0.5526321530342102, -0.6798310279846191, 0.64569491147995, -0.12708985805511475, -0.01947399228811264, -0.1465359777212143, -0.45352715253829956, 0.48854100704193115, 0.6766453981399536, 0.20053525269031525, 0.2596653997898102, -0.39551252126693726, -0.3317801356315613, 0.22292673587799072, -0.36993077397346497, 0.021973606199026108, 0.9919184446334839, 0.023384205996990204, 0.8651734590530396, 0.08593987673521042, 0.8338389992713928, -0.07146523892879486, 0.011465556919574738, -0.9391533732414246, 0.26821261644363403, -0.1895325630903244, -0.647394061088562, -0.3581082820892334, -0.24000920355319977, -0.9628705382347107, 0.3590521514415741, -0.14196322858333588, -0.4209490716457367, 0.3443754017353058, -0.38497212529182434, -0.2287333905696869, 0.054062340408563614, -0.5888891816139221, 0.6539323329925537, -0.23106491565704346, -0.2529219686985016, -0.2837553322315216, -0.6701167225837708, 0.14677730202674866, -0.373629629611969, 0.2890511453151703, 0.11678867787122726, -0.22318920493125916, 0.8316343426704407, -0.3506459593772888, 0.16770847141742706, -0.09798071533441544, -0.014164102263748646, 0.25073251128196716, -0.1547655612230301, 0.44509512186050415, 0.30449777841567993, -0.25922805070877075, -0.45133715867996216, 0.5794160962104797, -0.5791035890579224, -0.6324772238731384, 0.7773792147636414, -0.519428014755249, -0.7758557200431824, -0.6431914567947388, -0.5372548699378967, -0.16406002640724182, 0.6081887483596802, -0.05408070608973503, 0.6660903096199036, -0.24223209917545319, 0.3948405086994171, 0.9900100231170654, -0.01768060401082039, 0.43971574306488037, 0.6234396696090698, -0.022265836596488953, -0.3755800724029541, 0.7103341817855835, 0.1892910748720169, 0.061980705708265305, 0.8457044363021851, 0.14233501255512238, -0.5576440691947937, -0.6354258060455322, -0.44361406564712524, 0.24170266091823578, -0.41589680314064026, -0.05520489439368248, -0.8909099698066711, -0.2893141210079193, -0.4193410873413086, -0.00794207863509655, -0.4304557144641876, -0.34695565700531006, -0.01415986567735672, -0.0030857387464493513, -0.1555473953485489, 0.25374823808670044, 0.3020187318325043, -0.0029346253722906113, -1.056209683418274, 0.6811849474906921, 0.5557236075401306, 0.8429027199745178, 0.01866113394498825, -0.15358011424541473, -0.4370255172252655, -0.017197463661432266, -0.4866734445095062, -0.7407746315002441, 0.19615884125232697, 0.2756570279598236, 0.5865312814712524, 0.37345588207244873, 0.3040696084499359, 0.8624166250228882, -0.5762936472892761, 0.6052451729774475, -0.01999303139746189, -0.5519917011260986, 0.385866641998291, -0.12929858267307281, 0.6654832363128662, 0.8485876321792603, 0.6369590759277344, -0.8620474934577942, -0.28691956400871277, -0.2869787812232971, -0.880966067314148, 0.3977981507778168, -0.08357610553503036, 0.22863273322582245, -0.43936458230018616, 0.3380112946033478, 0.19985131919384003, 0.3170654773712158, 0.0020644241012632847, 0.04862544313073158, -0.36326590180397034, -0.1077815517783165, -0.16530412435531616, -0.3652576506137848, -0.22999268770217896, -0.06614786386489868, 0.4508317708969116, -0.5019079446792603, 0.2341715693473816, 0.7662674784660339, -0.26493433117866516, 0.2334393411874771, 0.5944169163703918, 0.37549424171447754, 0.7464404106140137, -0.6760030388832092, 0.07635635137557983, -0.2780359983444214, -0.9638535380363464, -0.1924799531698227, 0.42506393790245056, 0.1815623790025711, -0.17145122587680817, -0.11774121969938278, 0.20789571106433868, 0.10972103476524353, -0.6535564064979553, 0.6663997769355774, -0.4188111424446106, -0.29698461294174194, -0.33767974376678467, -0.18284133076667786, 0.3665452003479004, 0.2636580169200897, 0.5702042579650879, -0.42787304520606995, 0.43787670135498047, -0.7298396229743958, -0.029096735641360283, 0.5752679705619812, -0.4312964975833893, 0.13739700615406036, 0.5189674496650696, 0.29132524132728577, -0.016115622594952583, 0.8774390816688538, 0.10709161311388016, -0.4781927764415741, 0.6908774375915527, 0.2718515396118164, 0.5086156725883484, 0.06938698142766953, 0.19173306226730347, 0.06463904678821564, 0.1952827423810959, -0.06286907196044922, 0.4386673867702484, -0.35800647735595703, -0.3557479679584503, -0.27398648858070374, -0.7178406119346619, -0.6538758277893066, -0.1358955353498459, -0.584250271320343, -0.030263304710388184, -0.06464388221502304, 0.14906485378742218, 0.17211765050888062, 0.6246465444564819, -0.6109716296195984, 0.5824525952339172, 0.07643932849168777, 1.4557008743286133, -0.2492435872554779, 0.8577337861061096, 0.48942089080810547, -0.18877144157886505, -0.6957681775093079, -0.09921855479478836, -0.09932562708854675, -0.49564626812934875, -0.15355314314365387, 0.4182825982570648, 0.0025266974698752165, -0.08365990221500397, -0.19368568062782288, -0.8268802762031555, 1.4026321172714233, -0.21765349805355072, -0.2912205755710602, -0.250744104385376, -0.021053709089756012, 0.3627983033657074, -0.18491438031196594, 0.6341767311096191, 0.2517959475517273, 0.42969468235969543, 0.2660558223724365, -0.833815336227417, -0.12713497877120972, -0.3998640477657318, -0.23394453525543213, 0.6345901489257812, -0.958418071269989, 0.557985782623291, 0.027930470183491707, -0.04003472253680229, 0.08325543254613876, 0.4292902648448944, 0.0749855488538742, 0.8160505890846252, 0.5370279550552368, 0.4644875228404999, 1.0002979040145874, 0.11996231228113174, 1.217160701751709, -0.29947829246520996, 0.03267884999513626, 1.020673394203186, -0.18559956550598145, 0.9506319165229797, 0.6222296357154846, 0.004556629806756973, 0.3992420434951782, 0.613399088382721, 0.42433738708496094, 0.5633252859115601, 0.1976926475763321, -0.13667793571949005, -0.20107829570770264, -0.050870418548583984, -0.45859044790267944, 0.5814468264579773, 0.3415345251560211, -0.2361886352300644, -0.1557619720697403, -0.4351341724395752, 0.01243683509528637, -0.022164272144436836, -0.4176936447620392, 0.7175172567367554, 0.15208202600479126, -0.7446238994598389, 0.20689904689788818, 0.12779520452022552, 0.6608548760414124, -0.835996150970459, 0.06266063451766968, -0.5629814267158508, -0.15350289642810822, -0.11212565004825592, -0.8536664843559265, 0.15366190671920776, -0.19027361273765564, -0.4582359790802002, -0.03626176714897156, 0.6649978756904602, -0.41520845890045166, -0.49648070335388184, 0.12461229413747787, 0.7636147737503052, 0.17771577835083008, -0.705302894115448, -0.38669976592063904, -0.5621069073677063, -0.38549119234085083, -0.2669104337692261, 0.752700686454773, 0.3635610044002533, -0.3488505482673645, 0.6168550252914429, 0.6191380620002747, -0.1682365983724594, 0.15012159943580627, -0.0858844444155693, 1.1927406787872314, -0.7609586119651794, -0.6765627861022949, -0.31844353675842285, 0.3685179650783539, -0.29169607162475586, -0.11123442649841309, 0.39632612466812134, 1.1414183378219604, 0.6006612181663513, 0.25490766763687134, 0.43174853920936584, 0.11873257905244827, 0.5632961392402649, -0.4245869517326355, 0.7209998965263367, -0.9396845102310181, -0.1396816521883011, -0.3718840479850769, -1.0506492853164673, 0.018797844648361206, -0.1999441236257553, -0.1330331563949585, -0.23107272386550903, 0.9411474466323853, 0.7185533046722412, -0.31702637672424316, -0.1765412837266922, 0.2785124182701111, 0.019249366596341133, 0.36447277665138245, 0.6691128611564636, 0.45947861671447754, -0.3946641683578491, 0.7880443334579468, -0.3508537709712982, -0.09005335718393326, -0.0846514105796814, -0.7387081384658813, -0.3949536681175232, -0.6754113435745239, 0.045692332088947296, -0.16013473272323608, 0.10342393070459366, 0.25156518816947937, 0.5874692797660828, -0.3590922951698303, 0.060305941849946976, 0.741322934627533, 0.30856993794441223, -0.264767050743103, -0.1520034372806549, 0.7260143160820007, 0.05096672102808952, -0.7716708779335022, 0.539814829826355, 0.614649772644043, -0.37885603308677673, 0.08120158314704895, -0.04056365042924881, -0.5032971501350403, 0.365913450717926, 0.6888434886932373, 0.18238843977451324, -0.1377762258052826, -0.4186588227748871, 0.37707430124282837, -0.14329832792282104, 0.38318806886672974, 0.6309990882873535, -0.8491111397743225, 0.7132420539855957, 0.41931280493736267, 0.6313313841819763, 0.9473008513450623, 0.41662508249282837, 0.0693431869149208, -0.6589320302009583, -0.13393327593803406, 0.1547187715768814, 0.23082894086837769, 0.2657500207424164, -0.297404944896698, 0.40445831418037415, 0.039766889065504074, -0.6157996654510498, -0.28380417823791504, -0.06357552856206894, -1.369176983833313, -0.06492719799280167, 0.7458592653274536, -0.12962085008621216, -0.49653375148773193, -0.0661642774939537, -0.36344531178474426, 0.1373303383588791, -0.5017815232276917, 0.9241548776626587, 0.6708547472953796, 0.0002591515949461609, -0.2804717421531677, -0.4449518024921417, 0.1134176030755043, 0.20333388447761536, -0.8613429665565491, -0.3719061613082886, 0.5359843373298645, 0.5361565947532654, 0.23641744256019592, 0.8904115557670593, -0.3356216549873352, 0.44677793979644775, -0.12518766522407532, -0.442460298538208, -0.3684079051017761, -0.37836065888404846, -0.06999017298221588, 0.4642585515975952, -0.09875035285949707, -0.3473910391330719 ]
http://arxiv.org/abs/2405.00706v2
http://arxiv.org/pdf/2405.00706v2
From Complexity to Clarity: How AI Enhances Perceptions of Scientists and the Public's Understanding of Science
2024-04-23T14:43:35
2024-06-11T12:35:51
David M. Markowitz
cs.CL
cs.CL, cs.AI, cs.CY
This paper evaluated the effectiveness of using generative AI to simplify science communication and enhance the public's understanding of science. By comparing lay summaries of journal articles from PNAS, yoked to those generated by AI, this work first assessed linguistic simplicity across such summaries and public perceptions. Study 1a analyzed simplicity features of PNAS abstracts (scientific summaries) and significance statements (lay summaries), observing that lay summaries were indeed linguistically simpler, but effect size differences were small. Study 1b used a large language model, GPT-4, to create significance statements based on paper abstracts and this more than doubled the average effect size without fine-tuning. Study 2 experimentally demonstrated that simply-written GPT summaries facilitated more favorable perceptions of scientists (they were perceived as more credible and trustworthy, but less intelligent) than more complexly-written human PNAS summaries. Crucially, Study 3 experimentally demonstrated that participants comprehended scientific writing better after reading simple GPT summaries compared to complex PNAS summaries. In their own words, participants also summarized scientific papers in a more detailed and concrete manner after reading GPT summaries compared to PNAS summaries of the same article. AI has the potential to engage scientific communities and the public via a simple language heuristic, advocating for its integration into scientific dissemination for a more informed society.
[ -0.2508699893951416, -0.39923787117004395, 0.9220576882362366, 0.32198402285575867, -0.5025063753128052, 0.09323553740978241, -0.28206419944763184, -0.5791414976119995, 0.3883870244026184, -0.32763248682022095, 0.13007833063602448, -0.3210245966911316, -0.9448370933532715, 0.6436058282852173, -0.5729941129684448, 0.9458503127098083, 0.16302762925624847, -0.0023109675385057926, -0.4892618954181671, 0.20798663794994354, 0.3007985055446625, -0.15026745200157166, -0.4061196744441986, -0.5494763255119324, 0.6928240060806274, 0.2336914986371994, 0.7258569002151489, 0.7027747631072998, 0.7937842607498169, 0.44281235337257385, -0.5278332829475403, 0.23874568939208984, -0.47656598687171936, -0.2847245931625366, -0.1543397307395935, -0.821638822555542, -0.11177488416433334, -0.02673836052417755, 0.8681885004043579, 1.369325041770935, 0.13854186236858368, 0.13522092998027802, 0.336686909198761, 0.9627803564071655, -0.5442909002304077, 0.5408092737197876, -0.3308578431606293, 0.19175474345684052, -0.09022011607885361, -0.15951447188854218, -0.3676915764808655, -0.13629895448684692, 0.45166662335395813, -0.9400144815444946, 0.28242793679237366, -0.04371034726500511, 0.8368953466415405, 0.4448181986808777, -0.41172879934310913, -0.35683673620224, -0.9516199231147766, 0.5383602380752563, -0.5418831706047058, 0.09412486851215363, -0.07479997724294662, -0.102281354367733, -0.16125406324863434, -0.9479163885116577, -0.920128345489502, -0.174271360039711, -0.3117741048336029, 0.36908450722694397, -0.3388400673866272, 0.26890042424201965, 0.4659208357334137, 0.25429415702819824, -0.47666847705841064, -0.35326606035232544, -1.0126564502716064, 0.02374095469713211, 0.7024751305580139, -0.03291691094636917, 0.24153980612754822, -0.2691670060157776, 0.19740478694438934, -0.07970429956912994, -0.47881048917770386, 0.07607248425483704, 0.018360521644353867, 0.015175416134297848, -0.08595176786184311, 0.6419637799263, -0.4346447288990021, 0.383663147687912, -0.013845398090779781, -0.21810419857501984, 0.31787338852882385, -0.5281475782394409, -0.33892524242401123, 0.17843176424503326, 0.8662192821502686, 0.2693202793598175, -0.058843716979026794, -0.08912122994661331, 0.28414952754974365, 0.22332440316677094, 0.15066246688365936, -0.8160420656204224, -0.4812539219856262, 0.0655282661318779, -0.7253872156143188, -0.27772754430770874, 0.3578357696533203, -0.5076490044593811, -0.5069495439529419, -0.4211340546607971, 0.3929605185985565, -0.08697827160358429, -0.17948029935359955, 0.17026831209659576, -0.3950808346271515, -0.07874910533428192, 0.9197448492050171, -0.6033216118812561, 0.16195224225521088, 0.7601555585861206, 1.1941936016082764, -0.02905036136507988, -0.3297331929206848, 0.16760480403900146, 0.25617915391921997, -0.3314562737941742, 0.9293976426124573, -0.354573518037796, -0.5117236971855164, -0.6057666540145874, -0.559069812297821, -0.002513204701244831, -0.38339972496032715, 0.2527557909488678, -0.2223963886499405, 0.2551012337207794, -0.23343981802463531, -0.34609749913215637, -0.3941042423248291, -0.17003022134304047, -0.6061006188392639, 0.1320408433675766, -0.4357339143753052, -0.6089528799057007, 0.5665799975395203, -1.002570629119873, -0.6240540146827698, 0.06015104800462723, -0.33943960070610046, -0.3278110921382904, 0.3250395357608795, 0.1691708117723465, 0.1177290752530098, 0.02842896431684494, 0.422945111989975, 0.15436892211437225, -0.20601001381874084, 0.2934848368167877, -0.6072404980659485, 0.6085719466209412, 0.3600282371044159, -0.40752094984054565, 0.17461496591567993, -0.4745851457118988, -0.21714429557323456, -0.14981238543987274, -0.5052028298377991, -0.1353706270456314, 0.18318450450897217, -0.28617435693740845, -0.15147000551223755, -0.01354407612234354, -0.44555726647377014, 0.27832281589508057, -0.7038477063179016, 0.6606333255767822, 0.3278791308403015, -0.10348958522081375, 0.5376725196838379, -0.42504751682281494, 0.2549664080142975, -0.01814308576285839, 0.17520315945148468, -0.3208872675895691, -0.9191707968711853, -0.6123369336128235, -0.30753612518310547, 0.360608845949173, 0.29355549812316895, -0.2868334949016571, 0.2853720784187317, -0.4337976574897766, -0.6100887060165405, -0.8333843350410461, 0.12893958389759064, 0.4002237617969513, 0.6540566682815552, 0.3268924355506897, -0.42695343494415283, -0.47902897000312805, -0.8553592562675476, -0.3835265338420868, -0.5337370038032532, -0.23830291628837585, 0.207802414894104, 0.8294345140457153, 0.056622982025146484, 0.8997594714164734, -0.6191881895065308, 0.24721883237361908, -0.1141318678855896, 0.7539865970611572, 0.18538714945316315, 0.2821754813194275, -0.09224169701337814, -0.9912291765213013, -0.5486847758293152, -0.08035653084516525, -1.017755389213562, 0.20035813748836517, -0.08647545427083969, 0.2542914152145386, -0.105862557888031, 0.38159269094467163, -0.9440557956695557, 0.7429338693618774, 0.0991884246468544, -0.28509360551834106, 0.6103619337081909, -0.21237815916538239, 0.43599894642829895, -0.7413650155067444, 0.4048466682434082, -0.18304064869880676, 0.0002195716224377975, -0.7510389089584351, -0.19628410041332245, -0.25572431087493896, -0.31425443291664124, -0.3854277729988098, 0.15295901894569397, -0.4481956660747528, -0.07050685584545135, -0.3012312352657318, 0.07555486261844635, 0.13840629160404205, -0.0454135462641716, 0.085516557097435, 0.8347559571266174, 0.36215266585350037, -0.6877669095993042, 0.03407728299498558, 0.36928942799568176, -0.620742678642273, 0.15323275327682495, -1.0691660642623901, -0.07926826924085617, -0.8276926279067993, 0.42378562688827515, -0.9866758584976196, -0.612177848815918, 0.18483471870422363, -0.6932869553565979, 0.06529247760772705, 0.22611108422279358, -0.24759460985660553, -0.2510497272014618, -0.1077137291431427, 0.38810572028160095, 0.4653232991695404, -0.25797009468078613, 0.7278521060943604, 0.030248040333390236, -0.39637184143066406, -0.3157230615615845, -0.8026278018951416, 0.5275256633758545, -0.05729476734995842, -0.6391538381576538, 0.19398705661296844, -0.1998000144958496, -0.7372118234634399, -0.09657008200883865, -0.20726057887077332, 0.14565208554267883, 0.24731852114200592, 0.319445937871933, -0.11515308916568756, -0.2652647793292999, 0.3046981692314148, 0.17596650123596191, -0.06988696753978729, 0.19915390014648438, -0.0753837525844574, 0.21515066921710968, -0.5632562637329102, -0.35835278034210205, -0.9679073095321655, 0.5385177731513977, 0.7885357737541199, 0.04853107035160065, 0.7157638669013977, 0.20905821025371552, -0.049175139516592026, 0.3613590598106384, -0.0030919930431991816, -0.39169713854789734, -0.39385712146759033, 0.2858291566371918, -0.07478567212820053, -0.7777098417282104, 0.19238433241844177, -0.4037269353866577, -0.08736901730298996, 0.6428079605102539, 0.14656925201416016, -0.4335174560546875, 1.1785478591918945, 0.5818239450454712, 0.09278100728988647, 0.32932087779045105, -0.16028992831707, 0.39496713876724243, -0.642828106880188, -0.5988631844520569, -0.7397767305374146, -0.23499442636966705, -0.3559941351413727, -0.2959444522857666, 0.9035705327987671, 0.4980609118938446, -0.28174126148223877, -0.23801778256893158, -0.808986246585846, 0.5565602779388428, 0.7041921615600586, 0.1573907732963562, 0.6316100358963013, 0.2538929879665375, 0.5051078796386719, 0.12919241189956665, -0.7608860731124878, -0.8316310048103333, 1.0461347103118896, 0.3577078878879547, 0.632534921169281, 0.35750722885131836, 0.7711048126220703, 0.24961735308170319, 0.44996726512908936, -0.8754678964614868, 0.40379223227500916, -0.04263141006231308, -0.1011679619550705, -0.560548722743988, -0.41659775376319885, -1.0087212324142456, 0.23918376863002777, -0.29604291915893555, -0.3570444881916046, 0.26106229424476624, 0.2531939446926117, -0.46567046642303467, -0.008819869719445705, -0.9572432041168213, 0.29971277713775635, -0.08014635741710663, 0.1565808355808258, -0.511547863483429, -0.9927670359611511, 0.2826913595199585, 0.04945702105760574, 0.28915297985076904, 0.2425871193408966, -0.09214594960212708, 0.8623663187026978, -0.3530828356742859, 0.9234148263931274, 0.1560964286327362, 0.3188353180885315, 0.23709364235401154, -0.2129293829202652, 0.197516530752182, 0.18125075101852417, -0.09503120183944702, 0.2562202215194702, -0.513710618019104, -0.448346883058548, -0.7921546101570129, 0.2170652598142624, -1.113153338432312, -1.054651141166687, -0.41782650351524353, -0.4645422399044037, 0.3436829447746277, 0.3762536346912384, 0.1713121235370636, 0.23813466727733612, -0.008271580561995506, 0.3943081200122833, 0.7595402002334595, 0.09910298883914948, 0.19575907289981842, 0.34437593817710876, 0.14102023839950562, -0.24535048007965088, 0.6181628108024597, -0.020413316786289215, 0.4022146761417389, 0.40324530005455017, 0.573489248752594, 0.009153477847576141, -0.7722177505493164, -0.2059541493654251, 0.11823302507400513, -0.7403486967086792, -0.05154650658369064, -0.9955787062644958, 0.000215269741602242, -0.5813397169113159, -0.1789083033800125, 0.07753697037696838, -0.647756814956665, -0.5118527412414551, -0.08174450695514679, 0.2787792384624481, 1.16830575466156, -0.37516430020332336, 0.3022461533546448, -0.3164825141429901, 0.431574285030365, 0.3433416485786438, -0.03265942633152008, -0.06148483604192734, -0.2639392912387848, 0.0379054993391037, 0.07284839451313019, -0.15759460628032684, -0.788851797580719, 0.19238971173763275, 0.4930896759033203, 0.45156604051589966, 0.4721829891204834, -0.34509146213531494, 0.6520285606384277, -0.19713914394378662, 0.991206705570221, 0.4341655969619751, -1.091827154159546, 0.8557382225990295, -0.17905443906784058, 0.4853525459766388, 0.679632842540741, 0.4683314859867096, -0.1467067003250122, -0.5488738417625427, -0.5774530172348022, -1.0540807247161865, 0.37670671939849854, 0.3281588852405548, 0.022780483588576317, 0.12295148521661758, 0.46708422899246216, 0.07247097790241241, 0.568905770778656, -0.5545557141304016, -0.39375874400138855, -0.6627259850502014, -0.1905084103345871, -0.18497653305530548, -0.011762019246816635, -0.4720974564552307, -0.5396881103515625, 0.39008933305740356, -0.11270974576473236, 0.3368759751319885, 0.6856668591499329, -0.04862590506672859, -0.01948593370616436, 0.34562745690345764, 0.9842759966850281, 0.7800474762916565, 0.11694783717393875, 0.4721197783946991, -0.1970258355140686, -0.6379175782203674, -0.15904006361961365, 0.05021803453564644, -0.702924907207489, 0.004799571353942156, 0.7799437046051025, 0.888370931148529, -0.23293766379356384, -0.48214834928512573, 0.11999857425689697, -0.026587342843413353, -0.3598718047142029, 0.22595059871673584, 0.11901020258665085, 0.11793933808803558, 0.13354724645614624, 0.6112403273582458, 0.7084712982177734, 0.5539718866348267, -0.7703646421432495, -0.0891614705324173, 0.19510912895202637, 0.07111366838216782, -0.17512626945972443, 0.6889920830726624, 0.328641802072525, -0.14575859904289246, 0.5425580739974976, -0.12772305309772491, -0.5248830914497375, 0.8957420587539673, 0.4723251760005951, 0.6275696754455566, -0.013561761006712914, 0.3510720133781433, 0.32931315898895264, 0.43021872639656067, -0.3070562481880188, -0.007560360245406628, -0.3083955645561218, -0.39912301301956177, -0.47832801938056946, -0.5527583360671997, -0.46744129061698914, -0.10456102341413498, -0.3851945996284485, -0.25786709785461426, -0.5610156059265137, -0.02066851034760475, 0.5915570259094238, -0.0024998195003718138, -0.4208543300628662, 0.06190710887312889, -0.10026396811008453, 0.773587167263031, -0.962710976600647, 0.20485691726207733, 0.821931779384613, -0.7511497735977173, -0.9756705164909363, 0.08261185884475708, 0.1642797291278839, -0.5011587738990784, 0.9388582706451416, 0.08940067142248154, -0.35059812664985657, 0.00034711751504801214, -0.9623489379882812, -1.071731448173523, 1.1843303442001343, 0.23759935796260834, -0.544045090675354, 0.35317668318748474, 0.04709182307124138, 0.8641930222511292, -0.2790736258029938, 0.34007665514945984, 0.3474934995174408, 0.8570128083229065, 0.17899154126644135, -1.0998762845993042, -0.0036109972279518843, -0.4798600673675537, -0.1640799343585968, -0.02756093069911003, -0.5774268507957458, 0.8625550866127014, -0.5148338079452515, -0.4219342768192291, -0.13746635615825653, 1.1618242263793945, 0.003979036118835211, 0.619178295135498, 0.28816479444503784, 0.2519656717777252, 1.0937159061431885, -0.0291590616106987, 0.9111838340759277, 0.1300746649503708, 0.0018342345720157027, 0.729971706867218, -0.054745614528656006, 0.5084369778633118, 0.6695414185523987, -0.2533447742462158, 0.7088721990585327, 0.12435591965913773, -0.0712813213467598, 0.4221331775188446, 0.2566201686859131, -0.6200956702232361, 0.0426751971244812, -0.38742104172706604, -0.4062715768814087, 0.41096532344818115, 0.5747458338737488, -0.34347403049468994, -0.0764937475323677, 0.13672350347042084, 0.0010653713252395391, 0.48397180438041687, -0.6116117238998413, 1.0694094896316528, 0.23511743545532227, -0.6353758573532104, 0.2034713327884674, -0.22125199437141418, 0.6669516563415527, -0.3374518156051636, -0.12680278718471527, 0.00873260572552681, -0.12186657637357712, -0.6104555726051331, -0.9251192808151245, 0.4413979649543762, -0.008200133219361305, -0.521567165851593, -0.13008297979831696, 0.544070839881897, -0.47142940759658813, -0.33416393399238586, -0.42182961106300354, 0.24541088938713074, 0.5086047649383545, 0.06649354100227356, -0.4455946683883667, 0.13954636454582214, -0.02478831261396408, -0.11992685496807098, -0.09608806669712067, 0.22170473635196686, 0.07625479251146317, 0.7798712849617004, 0.6777896285057068, 0.23861351609230042, -0.29726850986480713, 0.07706446200609207, 0.7222050428390503, -0.32404813170433044, -0.4470328092575073, -0.7506796717643738, 0.39285340905189514, -0.2489519566297531, -0.21296654641628265, 0.7510658502578735, 0.563407838344574, 0.5258648991584778, -0.19162046909332275, 1.1753768920898438, -0.19933348894119263, 0.17411892116069794, -0.29105085134506226, 0.8680450320243835, -0.3174338936805725, 0.11514255404472351, -0.11324765533208847, -0.3845488727092743, -0.7423770427703857, 0.6225351095199585, -0.455700159072876, 0.2039983719587326, 0.7223198413848877, 0.5245330929756165, 0.18923020362854004, -0.007453087251633406, 0.012682951986789703, 0.51807701587677, 0.43015754222869873, 0.2486717700958252, 0.6643977165222168, -0.13416118919849396, 0.48546940088272095, -0.10491941124200821, -0.45787110924720764, -0.17878863215446472, -0.7624610662460327, -0.8510763645172119, -0.3796127736568451, -0.3555756211280823, -0.2682044804096222, 0.18835437297821045, 0.8373913764953613, 0.3956294655799866, -0.6753551959991455, 0.045372333377599716, -0.47712835669517517, 0.26444658637046814, -0.07677442580461502, -0.21987949311733246, 0.6709118485450745, -0.14038126170635223, -0.5748885869979858, 0.43230944871902466, 0.5014123916625977, 0.07776222378015518, -0.22234641015529633, -0.045045461505651474, 0.07553000003099442, 0.15095113217830658, 0.7386101484298706, 0.5932415127754211, -0.7411074638366699, -0.08209071308374405, -0.24734386801719666, -0.16055384278297424, 0.1559770405292511, 0.7351440191268921, -0.6087548732757568, 0.5455592274665833, 0.7180637121200562, 0.2827232778072357, 0.2987928092479706, 0.1385594755411148, 0.7119409441947937, -0.2834083139896393, 0.01593724451959133, 0.3088817894458771, 0.06158480420708656, 0.36924099922180176, -0.5379232168197632, 0.27672499418258667, 0.22599871456623077, -0.4788590669631958, -0.6261062622070312, 0.20898015797138214, -0.9181532263755798, -0.44399622082710266, 0.8239222168922424, -0.013282448053359985, -0.2937752604484558, -0.5142173767089844, -0.2048100233078003, 0.3002038300037384, -0.6481527090072632, 1.2508654594421387, 0.499614953994751, -0.3933162987232208, -0.06409785896539688, -0.2958154082298279, 0.8203853368759155, 0.50926274061203, -1.0941319465637207, -0.15007272362709045, 0.36927780508995056, 0.006528894416987896, 0.7434949278831482, 0.5926218032836914, -0.08761429786682129, 0.4463599622249603, 0.15452861785888672, -0.13961321115493774, -0.27488601207733154, -0.5208475589752197, -0.47079452872276306, 0.28020012378692627, 0.22005291283130646, 0.3896336853504181 ]
http://arxiv.org/abs/2404.15067v1
http://arxiv.org/pdf/2404.15067v1
Enhancing Textual Personality Detection toward Social Media: Integrating Long-term and Short-term Perspectives
2024-04-23T14:13:53
2024-04-23T14:13:53
Haohao Zhu, Xiaokun Zhang, Junyu Lu, Youlin Wu, Zewen Bai, Changrong Min, Liang Yang, Bo Xu, Dongyu Zhang, Hongfei Lin
cs.CL
cs.CL
Textual personality detection aims to identify personality characteristics by analyzing user-generated content toward social media platforms. Numerous psychological literature highlighted that personality encompasses both long-term stable traits and short-term dynamic states. However, existing studies often concentrate only on either long-term or short-term personality representations, without effectively combining both aspects. This limitation hinders a comprehensive understanding of individuals' personalities, as both stable traits and dynamic states are vital. To bridge this gap, we propose a Dual Enhanced Network(DEN) to jointly model users' long-term and short-term personality for textual personality detection. In DEN, a Long-term Personality Encoding is devised to effectively model long-term stable personality traits. Short-term Personality Encoding is presented to capture short-term dynamic personality states. The Bi-directional Interaction component facilitates the integration of both personality aspects, allowing for a comprehensive representation of the user's personality. Experimental results on two personality detection datasets demonstrate the effectiveness of the DEN model and the benefits of considering both the dynamic and stable nature of personality characteristics for textual personality detection.
[ -0.4828033745288849, -0.828588604927063, 0.7892277836799622, 0.5375284552574158, -0.5330449342727661, 0.28694942593574524, -0.7120497226715088, -0.7906606793403625, 0.7969986796379089, 0.5111635327339172, -0.8550214767456055, -0.33261626958847046, -0.6378898620605469, 0.3787764608860016, -0.36840683221817017, 0.8925560116767883, 0.0920986607670784, -0.2923494875431061, -0.2510317265987396, -0.2946009635925293, -0.610835075378418, -0.6160959005355835, -0.8945134282112122, -0.2329607754945755, 1.0867462158203125, 0.1349703073501587, 0.58016037940979, -0.0006399831618182361, 0.36043378710746765, 0.25653329491615295, -0.008319375105202198, 0.22365549206733704, -0.651252269744873, 0.43689820170402527, -0.39058026671409607, -0.11402135342359543, -0.5624796748161316, -0.026859480887651443, 0.6612045168876648, 0.32283642888069153, 0.23427483439445496, 0.007386594079434872, 0.08578915148973465, 0.9699333906173706, -0.41460588574409485, -0.1299910843372345, -0.10618158429861069, -0.11506441235542297, -0.41569921374320984, -0.28098809719085693, -0.3273330628871918, -0.21570797264575958, 0.0195989478379488, -0.19434534013271332, -0.19392484426498413, -0.3643338978290558, 0.5484029054641724, -0.09356444329023361, -0.996191143989563, -0.2700144350528717, -1.0192713737487793, 0.7162078022956848, -0.28467297554016113, 0.4197050631046295, 0.45266419649124146, 0.501653790473938, 0.13022448122501373, -0.30912473797798157, -0.7288824319839478, -0.04086509719491005, -0.33312150835990906, 0.12715686857700348, -0.07246764004230499, -0.2231249064207077, -0.061134207993745804, 0.12489242851734161, -0.3344855308532715, 0.12410387396812439, 0.004012195859104395, -0.021944502368569374, 0.9654386043548584, 0.15892866253852844, 0.35447707772254944, -0.34565794467926025, -0.08203022181987762, -0.09213460981845856, -0.17828983068466187, 0.1606207937002182, 0.9291823506355286, 0.33469095826148987, -0.10541122406721115, 0.5567246079444885, -0.0455470085144043, 0.15889371931552887, 0.2757161557674408, 0.054302386939525604, 0.24875423312187195, -0.3976147770881653, 0.31379273533821106, -0.08594658225774765, 0.8980334401130676, 0.49984318017959595, 0.324059396982193, -0.11155986785888672, -0.23469790816307068, 0.16297510266304016, 0.3087109625339508, -1.0079854726791382, -0.1536494344472885, 0.4225291907787323, -0.7267907857894897, -0.581942081451416, 0.16715863347053528, -1.1729429960250854, -0.8433356881141663, -0.42023131251335144, 0.21825028955936432, -0.4802400767803192, -0.9908737540245056, 0.10782469809055328, -0.25816091895103455, -0.15181219577789307, 0.14602462947368622, -0.8987742066383362, 0.20020121335983276, 0.6952869892120361, 1.0227954387664795, -0.36667755246162415, 0.010542490519583225, -0.4295414686203003, -0.05684022977948189, 0.013929199427366257, 0.7197844386100769, -0.593993604183197, -0.45932191610336304, 0.23625263571739197, 0.097040094435215, 0.23884455859661102, -0.11918602138757706, 0.5241723656654358, -0.5905545949935913, 0.09763962775468826, -0.5185977220535278, -0.2857925295829773, 0.22026264667510986, 0.08575266599655151, -0.9210606813430786, 1.2085274457931519, 0.27923721075057983, -1.0117217302322388, 0.3305705785751343, -0.8341589570045471, -0.5124450922012329, 0.08619991689920425, -0.0404161736369133, -0.48376530408859253, -0.00298079801723361, 0.08579376339912415, 0.7255192399024963, 0.42037680745124817, 0.3006182909011841, -0.6109583377838135, -0.3459288775920868, 0.5777769088745117, -0.15976892411708832, 0.7141885161399841, -0.24970945715904236, -0.15371789038181305, 0.09691423922777176, -0.6331295371055603, -0.40751883387565613, 0.2864353060722351, -0.371140718460083, -0.7580209970474243, 0.21880628168582916, 0.289510041475296, 0.12603339552879333, 0.5463712811470032, -0.6392561197280884, -0.00835886225104332, -0.12624625861644745, 0.3917084336280823, 0.6012656092643738, 0.1450028121471405, 0.5611534118652344, -0.16575343906879425, 0.3066958785057068, 0.12864619493484497, -0.11468257009983063, 0.18945375084877014, -0.2619818150997162, -0.466662734746933, -0.3362850844860077, -0.08218365907669067, 0.5362196564674377, -0.7157114744186401, 1.050840973854065, -0.40428251028060913, -0.3525967001914978, 0.003652003826573491, 0.2753714621067047, 0.1095171645283699, 0.14776578545570374, 0.42388850450515747, -0.4389457404613495, -0.7143731713294983, -0.6078307628631592, -0.6650765538215637, -0.244682177901268, -0.1108940914273262, 0.2479962259531021, 0.46277379989624023, -0.5336455702781677, 1.0433202981948853, -0.29782387614250183, -0.10835564881563187, -0.49994567036628723, 0.2810498774051666, 0.057759590446949005, 0.1470523178577423, 0.7325707674026489, -1.2426589727401733, -0.829933762550354, -0.09378686547279358, -0.6857864856719971, -0.10707022249698639, -0.23513467609882355, -0.31700631976127625, 0.08594266325235367, 0.25122568011283875, -0.4850626587867737, 0.5856795907020569, 0.5313476920127869, -0.7444911599159241, 0.7709949016571045, 0.1688576191663742, 0.049151550978422165, -1.031686544418335, -0.04060693085193634, 0.5038732290267944, -0.5245814919471741, -0.681109607219696, -0.22512729465961456, 0.19559070467948914, 0.032060787081718445, -0.07042275369167328, 0.7137852907180786, -0.4438217878341675, 0.11025294661521912, -0.35750260949134827, 0.10993890464305878, 0.35951417684555054, 0.3591529130935669, 0.15563414990901947, 0.6102731227874756, 0.36963799595832825, -0.21777592599391937, 0.48027125000953674, 0.04584594443440437, -0.14717067778110504, 1.2669810056686401, -0.5898274779319763, 0.34673309326171875, -0.47389286756515503, 0.5187001824378967, -0.8413306474685669, -0.4058288037776947, 0.18057629466056824, -0.40563154220581055, 0.5488070249557495, -0.09434070438146591, -0.5799189209938049, -0.47668540477752686, -0.7083047032356262, 0.2008776217699051, 0.3065039813518524, -0.6052235960960388, 0.912351667881012, 0.1137319952249527, -0.2880283296108246, -0.3013301491737366, -0.7061033248901367, 0.28847846388816833, -0.3841599225997925, -0.8310181498527527, 0.6407419443130493, -0.10261104255914688, -0.201198011636734, 0.08923359960317612, 0.16945086419582367, -0.017871756106615067, -0.2578634023666382, 0.1876601129770279, 0.07354499399662018, -0.12415502965450287, 0.3914838433265686, 0.3047833740711212, -0.040074318647384644, 0.10493879020214081, 0.08985356241464615, 0.5575417876243591, -0.22718626260757446, 0.07206030189990997, -0.830048680305481, 0.7761032581329346, 0.5836828947067261, -0.382425993680954, 1.2027429342269897, 1.0931164026260376, -0.11644207686185837, -0.2735085189342499, -0.5173887610435486, -0.3813478648662567, -0.5404945015907288, 0.36274150013923645, -0.2326260805130005, -0.8703374862670898, 0.6351470947265625, -0.05645772069692612, -0.24068419635295868, 0.2380976378917694, 0.365060955286026, -0.5416520237922668, 0.9723576903343201, 0.8359923362731934, 0.2900460362434387, 0.823738694190979, -0.08617565035820007, 0.33959850668907166, -1.0141024589538574, -0.12197178602218628, -0.12821653485298157, -0.607416033744812, -0.45503053069114685, -0.12131444364786148, 0.08336542546749115, -0.11769582331180573, -0.13958506286144257, 0.4700363576412201, -0.5979530811309814, 0.3307490646839142, 0.06384526938199997, 0.7562135457992554, 0.1808483600616455, -0.27139613032341003, 0.24766488373279572, -0.43364328145980835, 0.32462742924690247, -0.5356529951095581, 1.0787250995635986, 0.5323761105537415, 0.44190269708633423, 0.46596115827560425, 0.6250163316726685, 0.5411774516105652, 0.42904558777809143, -0.8079894185066223, 0.585451602935791, -0.5668571591377258, -0.5551142692565918, -0.33346471190452576, -0.45015057921409607, -0.6121963858604431, -0.0791764184832573, -0.4348614513874054, -0.8041800856590271, 0.3966149389743805, 0.06046253442764282, -0.18069306015968323, 0.12167433649301529, -0.6058506965637207, 0.7170842289924622, -0.4238746166229248, -0.4080114960670471, -0.19013549387454987, -0.7487615346908569, 0.33972030878067017, -0.3859657347202301, -0.12458602339029312, -0.2922420799732208, -0.024512197822332382, 0.7611598372459412, -0.256580650806427, 1.1279758214950562, -0.22352862358093262, 0.09696340560913086, -0.03276391699910164, -0.03158404305577278, 0.5396829843521118, 0.44237828254699707, -0.3542025089263916, 0.12637782096862793, 0.15933166444301605, -0.2137376070022583, -0.7456070184707642, 0.680934488773346, -0.8209401369094849, -0.17600826919078827, -0.22563700377941132, -0.31073620915412903, -0.34983187913894653, 0.32012099027633667, -0.11256672441959381, 0.5930914878845215, -0.4785682260990143, 0.323648065328598, 0.6212309002876282, -0.10949021577835083, 0.34927135705947876, 0.11419738829135895, -0.4089685082435608, -0.31532010436058044, 0.590883731842041, -0.13864953815937042, 0.11900666356086731, 0.23529058694839478, 0.3624391257762909, -0.4080919623374939, -0.25089800357818604, -0.0827154591679573, 0.638340950012207, -0.647877037525177, 0.1697646975517273, -0.8929963707923889, -0.14162585139274597, -0.31929025053977966, -0.22414514422416687, -0.2563305199146271, 0.038637492805719376, -0.4673771560192108, 0.10265646874904633, 0.5036377906799316, 0.39542356133461, 0.04481159895658493, 0.4179149568080902, -0.5752410888671875, 0.5920753479003906, 0.4689888060092926, 0.3799757659435272, -0.09141243249177933, -0.20272040367126465, -0.17491790652275085, 0.21374695003032684, -0.12265420705080032, -1.3457564115524292, 0.22517433762550354, 0.3256276249885559, 0.047415781766176224, 0.7083601355552673, -0.04355987161397934, 0.4565196931362152, -0.3275446891784668, 0.36553511023521423, 0.14063534140586853, -0.7239315509796143, 0.5854101777076721, -0.6056084036827087, 0.1389894187450409, 0.9759605526924133, 0.5217735767364502, -0.7579038739204407, -0.26596492528915405, 0.007727060001343489, -0.36653947830200195, 0.2919459939002991, 0.22087512910366058, 0.7552889585494995, -0.09089161455631256, 0.6976733207702637, 0.14574094116687775, 0.19412757456302643, -0.7729729413986206, 0.0918942466378212, -0.4247257113456726, -0.3731042146682739, 0.02128298394382, -0.5292462110519409, -0.0272609181702137, -0.5436243414878845, 0.3928711414337158, -0.16501624882221222, 0.3976426124572754, 0.0039677806198596954, 0.15081678330898285, 0.023620007559657097, -0.06603267788887024, 0.29629671573638916, 0.4096117913722992, -0.6508035063743591, 0.08102168887853622, -0.44696173071861267, -0.711896538734436, -0.1932518482208252, 0.04493166506290436, 0.08420664817094803, 0.3001697063446045, 0.17530301213264465, 0.6704077124595642, 0.24204730987548828, -0.24782074987888336, 0.9170308113098145, -0.29594117403030396, -0.05850072577595711, -0.648063063621521, -0.04969161003828049, 0.5274367332458496, 0.2648264467716217, 0.4265163242816925, 0.019606493413448334, -0.09073274582624435, -0.7895198464393616, 0.08840453624725342, 0.4443965554237366, -0.5715005993843079, -0.7167378664016724, 0.4040340185165405, 0.5716975331306458, -0.3762459456920624, 0.5009427070617676, -0.39491143822669983, -0.5972529649734497, 0.6644050478935242, 0.5024839043617249, 0.9773432612419128, -0.10762403160333633, 0.4276527762413025, 0.25112631916999817, -0.02982431836426258, 0.05649925023317337, 0.3201916515827179, -0.24288880825042725, -0.8901253938674927, -0.23253415524959564, -0.8467240333557129, -0.217509925365448, 0.14527678489685059, -0.6698129177093506, 0.6787495017051697, -0.40813472867012024, -0.6327217817306519, 0.21604548394680023, 0.3265545964241028, -0.5720189213752747, -0.06648802757263184, 0.09544944763183594, 0.7288810014724731, -0.8656080961227417, 0.8329382538795471, 0.6269731521606445, 0.005686086602509022, -0.2662166655063629, 0.026446925476193428, 0.36036762595176697, -0.27598559856414795, 0.5317758917808533, 0.6734216213226318, -0.381634920835495, -0.07021799683570862, -0.3601459562778473, -0.37223222851753235, 1.2354109287261963, 0.038952406495809555, -0.3225785791873932, -0.15668010711669922, -0.0016238486859947443, 0.8821175694465637, -0.434646338224411, 0.020410282537341118, 0.3572002649307251, 0.5811911821365356, 0.13041681051254272, -0.4795771837234497, 0.054417748004198074, -0.3051779866218567, 0.09120293706655502, 0.556401252746582, -0.5845473408699036, 0.4832739233970642, 0.2091217190027237, -0.6620698571205139, 0.0006563451606780291, 0.901078462600708, -0.04782554507255554, 0.4092886745929718, 0.7204002737998962, 0.3819354772567749, 0.6121137142181396, 0.15695571899414062, 0.6894350647926331, -0.34305548667907715, 0.21500910818576813, 0.9511182904243469, -0.41914522647857666, 1.0570476055145264, 0.4313674867153168, 0.02299046888947487, 1.3671114444732666, 0.6231309771537781, 0.025437718257308006, 0.5471038818359375, -0.24581649899482727, -0.6192382574081421, -0.25555750727653503, -0.1910826563835144, -0.2158723622560501, 0.3671150505542755, 0.47525832056999207, -0.42520996928215027, 0.0430167093873024, 0.2113824337720871, 0.27460527420043945, 0.3369685709476471, -0.006233657710254192, 0.4910404086112976, 0.08984868228435516, -0.35586950182914734, -0.10375360399484634, 0.10390204936265945, 1.123457431793213, -0.530163586139679, 0.2779765725135803, -0.21995557844638824, 0.010158384218811989, -0.3939039707183838, -1.023268461227417, 0.7382200360298157, -0.0717601478099823, -0.20126873254776, -0.531366765499115, 1.3779488801956177, -0.4916590750217438, -0.496084600687027, 0.6667366027832031, 0.43083444237709045, -0.32516583800315857, -0.3941431939601898, -0.4906943738460541, 0.06412967294454575, -0.5366443395614624, -0.2859564423561096, 0.18802836537361145, 0.4021442234516144, 0.11568018794059753, 0.3608245849609375, 0.7606698870658875, -0.04526719078421593, -0.4089079201221466, 0.33825433254241943, 0.8303578495979309, -0.5178956389427185, -0.7378329038619995, -1.011580228805542, 0.6137489080429077, -0.6483376622200012, -0.3225844204425812, 0.5545400381088257, 0.2176656574010849, 0.3249959349632263, 0.13658998906612396, 0.4645484387874603, -0.2096550017595291, 0.5001707077026367, -0.1482168585062027, 0.9726986289024353, -0.7487956285476685, -0.04361545294523239, -0.1781778782606125, -0.9090175032615662, -0.18909677863121033, 0.11362645775079727, -0.47802650928497314, 0.2053574174642563, 0.6501498818397522, 0.6687520146369934, -0.29700911045074463, 0.039138976484537125, -0.006755666341632605, 0.039386648684740067, 0.2813986539840698, 0.5058751106262207, 0.8094761967658997, 0.08294551074504852, 0.1926116645336151, -0.5661242604255676, -0.4330574870109558, -0.4100802540779114, -0.9491404891014099, -1.5582187175750732, -0.6833533048629761, -0.22215545177459717, -0.5387272238731384, -0.09741538763046265, 0.39039871096611023, 0.537017285823822, -0.24411481618881226, 0.12482951581478119, 0.1992148756980896, -0.04997728392481804, -0.06135183200240135, -0.32863757014274597, 0.25628963112831116, 0.30542683601379395, -0.43399760127067566, 0.23428753018379211, 0.5995194315910339, -0.12885041534900665, -0.7670262455940247, -0.08666574954986572, -0.17177119851112366, 0.40555137395858765, 0.7478188872337341, 0.21866588294506073, -0.2162965089082718, -0.5706321597099304, 0.3153436481952667, -0.30563026666641235, 0.07337284088134766, 0.8226779103279114, -0.50941401720047, 0.592769205570221, 0.591372549533844, 0.41325607895851135, 0.437538743019104, 0.27981799840927124, 0.2904171645641327, -0.9484357833862305, 0.09704029560089111, 0.2554886043071747, 0.08624018728733063, 0.6542129516601562, -0.8772763013839722, 0.1524483859539032, 0.3615684509277344, -0.49104171991348267, -0.7089513540267944, 0.48261758685112, -1.3558248281478882, -0.13323701918125153, 1.187971830368042, 0.1714213639497757, -0.14654262363910675, -0.30514854192733765, 0.022609414532780647, 0.2825826108455658, -0.3433789312839508, 0.8590940237045288, 0.806677520275116, -0.1640443205833435, -0.19937103986740112, -0.4700659513473511, 0.37467482686042786, 0.11677663028240204, -0.9458891153335571, -0.2703707814216614, 0.1796720325946808, 0.1362360268831253, 0.27977538108825684, 0.7539600729942322, -0.0485517792403698, 0.19249534606933594, -0.28907328844070435, -0.3030104637145996, 0.022095995023846626, -0.28418150544166565, -0.17434553802013397, -0.12767301499843597, -0.44611021876335144, 0.2952404022216797 ]
http://arxiv.org/abs/2404.15045v1
http://arxiv.org/pdf/2404.15045v1
Multi-Head Mixture-of-Experts
2024-04-23T13:47:09
2024-04-23T13:47:09
Xun Wu, Shaohan Huang, Wenhui Wang, Furu Wei
cs.CL
cs.CL, cs.AI, cs.LG
Sparse Mixtures of Experts (SMoE) scales model capacity without significant increases in training and inference costs, but exhibits the following two issues: (1) Low expert activation, where only a small subset of experts are activated for optimization. (2) Lacking fine-grained analytical capabilities for multiple semantic concepts within individual tokens. We propose Multi-Head Mixture-of-Experts (MH-MoE), which employs a multi-head mechanism to split each token into multiple sub-tokens. These sub-tokens are then assigned to and processed by a diverse set of experts in parallel, and seamlessly reintegrated into the original token form. The multi-head mechanism enables the model to collectively attend to information from various representation spaces within different experts, while significantly enhances expert activation, thus deepens context understanding and alleviate overfitting. Moreover, our MH-MoE is straightforward to implement and decouples from other SMoE optimization methods, making it easy to integrate with other SMoE models for enhanced performance. Extensive experimental results across three tasks: English-focused language modeling, Multi-lingual language modeling and Masked multi-modality modeling tasks, demonstrate the effectiveness of MH-MoE.
[ -0.8386601209640503, -0.7293468713760376, 0.5982244610786438, 0.13745619356632233, -0.2596343159675598, 0.07964974641799927, -0.4867434501647949, -0.5201808214187622, 0.63984614610672, 0.3558311462402344, -0.741523802280426, 0.10172520577907562, -0.6541831493377686, 0.18165573477745056, -0.01358881127089262, 0.7565301656723022, 0.25942501425743103, -0.024562828242778778, -0.2979019582271576, -0.24396787583827972, -0.6298930048942566, -0.2205028235912323, -0.31562522053718567, -0.22155149281024933, 0.6754776835441589, 0.7130954265594482, 0.4905930161476135, 0.6206414699554443, 0.23786742985248566, 0.39829573035240173, 0.22190505266189575, 0.468449205160141, -0.4563383162021637, 0.0340164415538311, -0.2394646257162094, -0.2888657748699188, -0.5897535085678101, -0.026723921298980713, 0.5053573250770569, 0.8954761028289795, -0.41969034075737, -0.02790735475718975, 0.23534438014030457, 0.31387463212013245, -0.8800977468490601, 0.055782269686460495, -1.063415765762329, -0.33624839782714844, -0.0426843985915184, -0.25967222452163696, -0.27345436811447144, 0.6782243847846985, 0.44929781556129456, -0.8656121492385864, 0.041349928826093674, 0.21593289077281952, 0.3607790470123291, 0.5149915814399719, -0.4658958315849304, 0.023336386308073997, -0.24307402968406677, 1.392495036125183, -0.6630847454071045, 0.40216147899627686, -0.008327851071953773, 0.28602683544158936, -0.030537888407707214, -0.22238460183143616, -0.6710203289985657, 0.07028675824403763, -0.08401200920343399, 0.10373533517122269, 0.059402644634246826, 0.035157058387994766, -0.2151113897562027, 0.08307844400405884, -0.11377358436584473, 0.058936938643455505, -0.408093124628067, -0.13701605796813965, 0.5698508024215698, 0.073605015873909, -0.04604872316122055, -0.0930505022406578, -0.498986154794693, 0.10027822852134705, -0.14233222603797913, -0.4005473256111145, 0.14513951539993286, 0.4675535559654236, 0.1194845587015152, 0.4698183238506317, -0.370769202709198, 0.4919508695602417, 0.2765280604362488, -0.6690500378608704, 0.31121915578842163, -0.20444725453853607, -0.2334699034690857, -0.1655714362859726, 0.6768681406974792, 0.21821340918540955, 0.004040824715048075, -0.3738597333431244, -0.15363822877407074, -0.06121053919196129, 0.31699562072753906, -0.807002067565918, -0.1025664284825325, 0.3563868999481201, -0.18314576148986816, -0.3785620331764221, -0.0049772970378398895, -0.8762913346290588, -0.1914968341588974, -0.6638498902320862, 0.6958233118057251, -0.275560200214386, -0.7112891674041748, 0.21733276546001434, -0.3805833160877228, -0.17516092956066132, 0.28978949785232544, -0.9235112071037292, 0.35381171107292175, 0.6216487288475037, 0.5664100646972656, -0.4064748287200928, -0.754538357257843, -0.32597702741622925, 0.46069684624671936, -0.0936477929353714, 0.8051373362541199, -0.7311954498291016, -0.3580935597419739, -0.438088983297348, -0.1565631777048111, -0.4739045202732086, -0.5193433165550232, 0.03453098610043526, -0.2568192780017853, 0.12962603569030762, -0.2748418152332306, -0.3742193281650543, -0.3490648865699768, 0.23906011879444122, -0.48382535576820374, 1.0237849950790405, 0.1191582977771759, -0.7083386778831482, 0.5008382797241211, -0.6580671668052673, -0.2828240692615509, 0.009829064831137657, -0.610069751739502, -0.016314774751663208, 0.30062973499298096, 0.47209712862968445, 0.7204601168632507, -0.20145106315612793, 0.36396434903144836, -0.5037823915481567, -0.08038754016160965, 0.0755179151892662, -0.2665214538574219, 0.5852743983268738, 0.08776133507490158, -0.2262369990348816, 0.33182135224342346, -0.8067461252212524, -0.2865588068962097, -0.15107640624046326, -0.11081935465335846, -0.4795440137386322, -0.05521131306886673, 0.006914855912327766, 0.38084670901298523, 0.26025137305259705, -0.38092556595802307, 0.07731951773166656, -0.061262618750333786, 0.5213233828544617, 0.8694280982017517, 0.08211226761341095, 0.5030635595321655, -0.39279845356941223, 0.3409624695777893, 0.5053871273994446, -0.13066062331199646, -0.17989607155323029, -0.8009304404258728, -0.656225860118866, -0.8325983881950378, 0.16924771666526794, 0.4980478584766388, -0.9026352167129517, 0.5481210350990295, -0.30525293946266174, -0.4081709384918213, -0.7470472455024719, 0.24246780574321747, 0.10875475406646729, 0.7146428227424622, 0.4951316714286804, -0.33697545528411865, -0.1138322725892067, -1.0129302740097046, -0.14643636345863342, 0.1263764202594757, 0.020733054727315903, 0.5478879809379578, 0.5452221632003784, -0.5954670310020447, 1.0359047651290894, -0.3833564817905426, -0.24626635015010834, -0.016805700957775116, 0.5001366138458252, -0.10308949649333954, 0.7599733471870422, 0.6967570185661316, -0.6981214284896851, -0.40113726258277893, 0.3650512099266052, -0.552476167678833, -0.05371570959687233, -0.13539256155490875, -0.4648893475532532, -0.27266982197761536, 0.1519407033920288, -0.7575801014900208, -0.02886616624891758, 0.4737527370452881, 0.13578100502490997, 0.7269814610481262, -0.16022033989429474, 0.3551063537597656, -0.9894005060195923, -0.004279132932424545, 0.033120159059762955, -0.07951518148183823, -0.5776188969612122, 0.5745381116867065, -0.034235630184412, -0.031263913959264755, -0.44095468521118164, 0.6312828063964844, -0.45487919449806213, 0.1054258644580841, -0.3976787328720093, 0.15363462269306183, 0.1042465940117836, 1.0137289762496948, -0.03481796383857727, 0.7239869832992554, 0.8299375176429749, -0.7662290334701538, 0.022488871589303017, 0.012874315492808819, -0.17107388377189636, 0.851842999458313, -0.5763058662414551, 0.14509648084640503, -0.3152420222759247, -0.20975622534751892, -0.9523020386695862, -0.6252360343933105, 0.12130933254957199, -0.2422364205121994, 0.3276607394218445, 0.04610403999686241, -0.37536704540252686, -0.10859411209821701, -0.3417598009109497, 0.563123881816864, 0.15979082882404327, -0.0466056652367115, 1.0878065824508667, 0.6584250330924988, -0.2984205186367035, -0.6723043322563171, -0.7355592846870422, -0.08705726265907288, -0.32933419942855835, -0.8189846277236938, 0.4670577943325043, -0.07899201661348343, -0.2365131378173828, 0.0914519801735878, -0.3314584791660309, -0.39480528235435486, 0.00437591690570116, -0.175871804356575, -0.006151522509753704, -0.31692153215408325, -0.055986180901527405, 0.7004396915435791, -0.18732516467571259, -0.20025524497032166, -0.3823769688606262, 0.205038920044899, 0.09358832240104675, -0.32074877619743347, -0.380269855260849, 0.7603009343147278, 0.9520329236984253, -0.38829469680786133, 0.9917154312133789, 0.7256919145584106, -0.5083707571029663, -0.01908998377621174, -0.8819211721420288, -0.415811687707901, -0.494282066822052, 0.4870162308216095, -0.7898008227348328, -0.7875885367393494, 0.5031835436820984, -0.1459384560585022, 0.35889527201652527, 0.6394950151443481, 0.7290446162223816, 0.030912576243281364, 1.0618170499801636, 0.6333090662956238, -0.01824292726814747, 0.2789607644081116, -0.0814400166273117, -0.016329454258084297, -0.8042936325073242, -0.07748063653707504, -0.3477441668510437, -0.27912911772727966, -0.2743475139141083, -0.6785522103309631, 0.7178046703338623, 0.025690404698252678, 0.14801470935344696, 0.2838464081287384, -0.38579902052879333, 0.3438035547733307, 0.6457569599151611, 0.47130444645881653, 0.24454966187477112, 0.041191183030605316, -0.2373441755771637, -0.04419439658522606, -0.962090015411377, -0.28174683451652527, 0.9969351887702942, 0.3565428555011749, 0.5005207657814026, -0.15138989686965942, 0.5709782838821411, -0.014254463836550713, 0.21441592276096344, -0.8600496053695679, 0.47360721230506897, -0.09973444789648056, -0.8485066890716553, -0.4892740845680237, -0.545458972454071, -0.5838863849639893, 0.9935905337333679, -0.38469430804252625, -0.5850381851196289, 0.5513023138046265, 0.16365058720111847, -0.5694873929023743, 0.12455081939697266, -0.9064857363700867, 0.9471418261528015, 0.05339641124010086, -0.12365026772022247, -0.6514235734939575, -0.6482747197151184, 0.48698198795318604, -0.48170197010040283, 0.6382334232330322, -0.3061286509037018, -0.25143349170684814, 0.8301756978034973, -0.37637653946876526, 0.5973946452140808, -0.169291689991951, 0.13131989538669586, 0.36868593096733093, -0.18869055807590485, 0.34017837047576904, -0.09196154028177261, -0.1639976054430008, 0.14234080910682678, -0.05909503623843193, -0.6151608824729919, -0.664967954158783, 0.5882800221443176, -0.8670490980148315, -0.44222337007522583, 0.15821154415607452, -0.8174275755882263, -0.48105135560035706, 0.39426836371421814, 0.030575411394238472, 0.406034916639328, 0.2700551152229309, 0.3077608346939087, 0.4586384892463684, 0.13724371790885925, 0.03473377972841263, 0.29401642084121704, 0.2595337927341461, -0.6408993601799011, 1.0516548156738281, 0.234409898519516, 0.24172498285770416, 0.21301819384098053, 0.5008989572525024, 0.09479857236146927, -0.3456193208694458, -0.5267486572265625, 0.20948143303394318, -0.5432454943656921, 0.0007560253725387156, -1.0454785823822021, 0.4482457935810089, -0.48457714915275574, -0.09669716656208038, -0.46837833523750305, -0.30978119373321533, -0.3112362325191498, 0.04385227710008621, 0.08627810329198837, 0.26208752393722534, -0.0375102274119854, 0.830764889717102, -0.6513194441795349, 0.4853038787841797, 0.6292334198951721, -0.012818050570786, 0.2827354967594147, -0.34246522188186646, -0.4190830588340759, 0.19643600285053253, -0.26423418521881104, -1.0159868001937866, 0.23384864628314972, 0.18795599043369293, 0.8536780476570129, 0.724990963935852, -0.1592620313167572, 1.2130249738693237, -0.6729293465614319, 0.37861761450767517, 0.24432943761348724, -0.9055019617080688, 0.11126405745744705, -0.5326813459396362, -0.09064755588769913, 0.7727090120315552, 0.3877227008342743, -0.06759024411439896, -0.663639485836029, -0.45195186138153076, -0.8288813829421997, 0.5525587797164917, 0.030836230143904686, 0.07428814470767975, 0.0225315410643816, 0.13147208094596863, 0.5949968099594116, 0.7343536019325256, -0.4665309190750122, -0.13659930229187012, -0.050951484590768814, -0.24626858532428741, 0.21097387373447418, -0.31686604022979736, -0.1498688906431198, -0.43158379197120667, 0.7245306968688965, -0.3269454836845398, 0.3510586619377136, -0.054901786148548126, -0.2029629349708557, -0.22447611391544342, 0.07088983803987503, 0.534302830696106, 0.9403753876686096, -0.09566836804151535, 0.003052814630791545, 0.19980627298355103, -0.24973461031913757, -0.2000138908624649, 0.09638859331607819, 0.1019638180732727, -0.04645213857293129, 0.25219395756721497, 0.6234579086303711, 0.7095156908035278, -0.49836862087249756, 0.30148014426231384, 0.3656517565250397, -0.38975048065185547, 0.37698233127593994, 0.14443270862102509, -0.13043762743473053, 0.2093336582183838, 0.7027656435966492, 0.5105708837509155, 0.31200292706489563, -0.4898485243320465, 0.45502451062202454, 0.3810133934020996, 0.041966717690229416, -0.10648678243160248, 0.710084855556488, 0.48549893498420715, 0.23628097772598267, 0.19384045898914337, -0.0658191591501236, -0.38251757621765137, 0.3942554295063019, 0.09567274153232574, 0.6400471329689026, -0.18861722946166992, -0.18954698741436005, -0.03484397009015083, 0.36748069524765015, -0.10933469235897064, 0.15577715635299683, -0.07210468500852585, -0.8753953576087952, -0.717067301273346, -0.2776651382446289, -0.4372372031211853, -0.1654527485370636, -0.7642830610275269, 0.24283263087272644, -0.14381727576255798, -0.3487587869167328, 0.17129333317279816, -0.1893700510263443, -0.804337739944458, 0.23458132147789001, -0.03315971791744232, 0.674387514591217, -0.8860683441162109, 0.6395902037620544, 0.6993498802185059, -0.1797807663679123, -0.4079020023345947, -0.08022517710924149, -0.06746114790439606, -0.7723841667175293, 0.08826793730258942, 0.3900272846221924, -0.16431888937950134, 0.08764318376779556, -0.4583471715450287, -0.6883192658424377, 0.9548683762550354, 0.40121376514434814, -0.5144438147544861, -0.16679278016090393, -0.15872256457805634, 0.04855279251933098, -0.507495641708374, 0.31636008620262146, 0.5909025073051453, 0.48399633169174194, -0.015906604006886482, -1.2193330526351929, -0.28066322207450867, 0.0680629089474678, -0.31518813967704773, 0.013598824851214886, -0.6938889622688293, 1.1633312702178955, 0.0297040194272995, 0.11426644027233124, -0.17155106365680695, 0.941421389579773, 0.5414169430732727, 0.18355706334114075, 0.8011304140090942, 0.5391307473182678, 0.8998318314552307, 0.34483101963996887, 0.6488465666770935, -0.6711082458496094, 0.42009106278419495, 0.8565800786018372, -0.12378565967082977, 0.851847767829895, 0.8098122477531433, -0.07424162328243256, 0.5399383902549744, 0.33546414971351624, 0.433767169713974, 0.7282719612121582, -0.29220864176750183, -0.20076104998588562, -0.5014955401420593, -0.008572174236178398, -0.24920666217803955, 0.344634085893631, 0.4977319538593292, 0.010516408830881119, -0.024439001455903053, 0.2628328204154968, -0.19184885919094086, -0.269550085067749, -0.427015095949173, 0.6653726100921631, 0.07407651841640472, -0.5567338466644287, 0.0998564288020134, 0.3018117845058441, 0.9544335007667542, -0.40521109104156494, 0.20785823464393616, 0.14128528535366058, -0.062436457723379135, -0.07968395948410034, -0.3748611807823181, 0.18308886885643005, -0.3962167501449585, -0.2422746866941452, -0.05724902078509331, 0.7265721559524536, -0.785218358039856, -0.7276722192764282, 0.04878073185682297, 0.8784236907958984, 0.2970733642578125, -0.47461777925491333, -0.6825041770935059, -0.14494352042675018, -0.37084057927131653, -0.16728661954402924, 0.19959749281406403, 0.8567737936973572, 0.11144545674324036, 0.5529977083206177, 0.4492343068122864, -0.015019283629953861, 0.40818116068840027, -0.034760378301143646, 0.8449983596801758, -0.3727497160434723, -0.7047845721244812, -0.7729654908180237, 0.7655975818634033, -0.04221029207110405, -0.2849861681461334, 0.5922897458076477, 0.2970867156982422, 0.801430344581604, -0.2685566544532776, 0.749633252620697, 0.038814131170511246, 0.5009154677391052, -0.3030998110771179, 0.46704015135765076, -0.9408997893333435, -0.26867735385894775, -0.5751224160194397, -0.71989905834198, 0.012196231633424759, 0.6680818796157837, -0.020155595615506172, 0.20330709218978882, 0.47264233231544495, 0.5637599229812622, -0.327758252620697, -0.2091733068227768, 0.42624980211257935, -0.04667002335190773, 0.058347661048173904, 0.43593811988830566, 0.3720931112766266, -0.1854815036058426, 0.27086901664733887, -0.5306136608123779, -0.4729948937892914, -0.38084688782691956, -0.7127366065979004, -1.0680558681488037, -0.2906832993030548, -0.4402196407318115, 0.3962933421134949, -0.373111367225647, 1.1013911962509155, 1.2308272123336792, -0.7780616879463196, -0.22218912839889526, 0.1948273479938507, 0.012309432029724121, -0.5423774719238281, -0.20962993800640106, 0.054184433072805405, -0.5075312256813049, -0.8175279498100281, 0.48315930366516113, 0.45127072930336, -0.31958669424057007, -0.5968211889266968, -0.022439781576395035, 0.057170938700437546, 0.21288084983825684, 0.8447803258895874, -0.25546663999557495, -0.9358543753623962, -0.10778477787971497, 0.032665785402059555, 0.07692451030015945, -0.037784822285175323, 0.7329159379005432, -0.562399685382843, 0.5455706119537354, 0.41684481501579285, 1.032981276512146, 0.10372177511453629, 0.14015427231788635, 0.570509135723114, -0.9961185455322266, 0.3966604471206665, 0.023032784461975098, 0.5753423571586609, -0.016460850834846497, -0.38973137736320496, 0.22245605289936066, 0.5770770311355591, -0.3719633221626282, -0.7943663597106934, -0.16966110467910767, -1.149662733078003, -0.38520464301109314, 0.9880000352859497, 0.10456539690494537, -0.07354094088077545, -0.13408125936985016, -0.2318047285079956, 0.03158758953213692, -0.635719895362854, 0.6386123299598694, 1.0077428817749023, -0.129394993185997, -0.2586793899536133, -0.8023145794868469, -0.029917791485786438, 0.5870630741119385, -0.6288729906082153, -0.26455268263816833, 0.29567447304725647, 0.1787927895784378, 0.3415137529373169, 0.6152093410491943, 0.2545334994792938, 0.18034173548221588, 0.17012998461723328, -0.07866770029067993, -0.16308605670928955, -0.7963221669197083, 0.1298782080411911, 0.15212030708789825, -0.14726091921329498, -0.4173756539821625 ]
http://arxiv.org/abs/2404.15004v2
http://arxiv.org/pdf/2404.15004v2
TAXI: Evaluating Categorical Knowledge Editing for Language Models
2024-04-23T13:09:11
2024-06-06T13:46:36
Derek Powell, Walter Gerych, Thomas Hartvigsen
cs.CL
cs.CL
Humans rarely learn one fact in isolation. Instead, learning a new fact induces knowledge of other facts about the world. For example, in learning a korat is a type of cat, you also infer it is a mammal and has claws, ensuring your model of the world is consistent. Knowledge editing aims to inject new facts into language models to improve their factuality, but current benchmarks fail to evaluate consistency, which is critical to ensure efficient, accurate, and generalizable edits. We manually create TAXI, a new benchmark dataset specifically created to evaluate consistency in categorical knowledge edits. TAXI contains 11,120 multiple-choice queries for 976 edits spanning 41 categories (e.g., Dogs), 164 subjects (e.g., Labrador), and 183 properties (e.g., is a mammal). We then use TAXI to evaluate popular editors' categorical consistency, measuring how often editing a subject's category appropriately edits its properties. We find that 1) the editors achieve marginal, yet non-random consistency, 2) their consistency far underperforms human baselines, and 3) consistency is more achievable when editing atypical subjects Our code and data are available at https://github.com/derekpowell/taxi.
[ -0.24883206188678741, -0.4678223431110382, 0.3659482002258301, 0.40230104327201843, -0.25308817625045776, 0.2644464075565338, -0.3250845670700073, -0.5699803829193115, 0.2165517359972, 0.5085564851760864, -0.13453054428100586, -0.7785205245018005, -0.2725162208080292, 0.19593389332294464, -0.28556835651397705, 1.0729503631591797, 0.14033398032188416, -0.0019021915504708886, -0.5173968076705933, -0.5763309001922607, -0.6056663393974304, -0.6952565908432007, -0.5834229588508606, 0.14317217469215393, 0.6102691292762756, 0.540014922618866, 1.0951203107833862, 1.0740689039230347, 0.5351101756095886, 0.26122960448265076, -0.2932299077510834, 0.34331825375556946, -0.2925019860267639, -0.14825798571109772, -0.36803585290908813, -0.3617318868637085, -0.34889721870422363, -0.30493488907814026, 0.6450666189193726, 0.6817899942398071, -0.5348938703536987, 0.1584649682044983, 0.012514271773397923, 0.7253300547599792, -1.0963574647903442, -0.03177233040332794, -0.683857262134552, -0.1881914734840393, -0.19660794734954834, 0.3160358667373657, -0.23085841536521912, -0.9071091413497925, -0.06396780163049698, -0.8757067322731018, 0.3657064139842987, 0.2400638461112976, 0.7677428126335144, 0.598040759563446, -0.5404664278030396, -0.5872753858566284, -0.5330044031143188, 0.5056520104408264, -0.2520905137062073, 0.8393221497535706, 0.6969357132911682, 0.11035720258951187, -0.29957616329193115, -0.7125493288040161, -0.6339418888092041, -0.2825562059879303, -0.07784074544906616, -0.17280972003936768, -0.20031772553920746, -0.00973998848348856, 0.23480910062789917, 0.12304864823818207, -0.38555967807769775, 0.024709731340408325, -0.23979181051254272, -0.4338078498840332, 0.7344602346420288, 0.4330122470855713, 0.3245784044265747, -0.20733791589736938, -0.25035855174064636, -0.26264721155166626, -0.7455471754074097, 0.5323271155357361, 0.5123287439346313, -0.09803201258182526, 0.3069629669189453, 0.5664265751838684, -0.2657851278781891, 0.9018040895462036, -0.1151747927069664, -0.20458394289016724, 0.3188936710357666, -0.49103084206581116, -0.12026107311248779, 0.18491514027118683, 0.8138580322265625, 0.5635769963264465, 0.037544120103120804, -0.34316286444664, -0.14592258632183075, -0.08210378140211105, 0.29604360461235046, -0.4074046015739441, -0.3049396574497223, 0.0942864790558815, -0.07830186188220978, -0.26955118775367737, -0.14458926022052765, -0.5895399451255798, -0.8311716914176941, -0.0636560246348381, 0.24578462541103363, -0.47773662209510803, 0.0005415409104898572, 0.7584659457206726, -0.34032583236694336, 0.16926820576190948, 0.3800939619541168, -0.7722613215446472, 0.11907193064689636, 0.5554667711257935, 0.5657645463943481, -0.002380467252805829, -0.5961393713951111, -0.44544273614883423, 0.09386272728443146, -0.583268404006958, 1.106015682220459, -0.6499590873718262, -0.5265055894851685, -0.22360552847385406, -0.0026706214994192123, 0.0746752917766571, -0.5810924172401428, 0.8403996825218201, -0.36372989416122437, -0.26134973764419556, -0.9586408138275146, -0.37930530309677124, -0.31202977895736694, 0.26984551548957825, -0.678170919418335, 1.2392657995224, -0.16269634664058685, -0.7355269193649292, 0.9824674129486084, -0.5108603835105896, -0.44307586550712585, -0.38425567746162415, 0.24438369274139404, -0.6849565505981445, 0.0008985878666862845, 0.38145923614501953, 0.15505251288414001, -0.11262289434671402, 0.712906002998352, -0.4080657958984375, -0.4282898008823395, 0.3112511932849884, 0.06289949268102646, 1.0286200046539307, -0.06123462691903114, 0.2598629593849182, 0.11346644908189774, -0.8216079473495483, -0.24029551446437836, -0.17295342683792114, -0.557114839553833, -0.6762891411781311, 0.2817731201648712, -0.09563378244638443, 0.17005106806755066, 0.29500195384025574, -0.7832158207893372, 0.8135747313499451, -0.13424615561962128, 0.40844276547431946, 0.5834716558456421, 0.2927325665950775, 0.06915506720542908, -0.5822040438652039, 0.42139285802841187, 0.08931632339954376, 0.3849155902862549, 0.4340258836746216, -0.5645672678947449, -0.9199549555778503, -0.2720779776573181, 0.6280763149261475, 0.4138868749141693, -0.6424173712730408, 0.17250148952007294, -0.3177650272846222, -0.7748475670814514, -0.837134599685669, 0.22492080926895142, 0.35055333375930786, 0.2608491778373718, 0.1453569531440735, -0.5534716844558716, -0.9424582719802856, -0.9947670102119446, -0.6557656526565552, -0.391043096780777, 0.2978982925415039, 0.09377079457044601, 0.617416501045227, -0.18877990543842316, 1.1778087615966797, -0.4887309670448303, -0.058680109679698944, 0.13029351830482483, 0.18787190318107605, -0.32219332456588745, 0.6726926565170288, 0.5966824293136597, -0.3239082396030426, -0.1572488248348236, -0.04151558503508568, -0.5295728445053101, 0.1605023592710495, 0.013843945227563381, -0.47565579414367676, -0.11008433997631073, 0.3519445061683655, -0.4421723186969757, 0.35638749599456787, 0.1725570559501648, -0.35820165276527405, 0.5707898139953613, -0.1519210934638977, 0.21995407342910767, -0.7652230262756348, 0.11745353788137436, -0.24477910995483398, -0.3320605456829071, -0.2993994951248169, -0.20179668068885803, 0.03382715582847595, 0.14445948600769043, -0.48848676681518555, 0.4951736032962799, -0.2328634113073349, -0.2566554546356201, 0.26378780603408813, 0.02472282387316227, 0.022232700139284134, 0.6843717098236084, 0.021966276690363884, 0.9548572897911072, 0.4621725380420685, -0.6748164892196655, 0.04355463758111, 0.4339806139469147, -0.8751345872879028, 0.31614020466804504, -0.38731464743614197, 0.6704349517822266, -0.22948351502418518, -0.022939996793866158, -0.9695250988006592, -0.16598783433437347, 0.13460855185985565, -0.25319692492485046, -0.3761371672153473, -0.006681547965854406, -0.8425742387771606, 0.06736519187688828, -0.36253437399864197, 0.265996515750885, 0.32146862149238586, -0.4331829845905304, 0.29135221242904663, 0.7456125617027283, 0.09293068945407867, -0.8184607028961182, -0.41443371772766113, 0.1410219371318817, -0.01956157013773918, -0.28750190138816833, -0.11591412872076035, -0.20310501754283905, -0.25135159492492676, 0.2937466502189636, -0.07111068069934845, -0.5555955171585083, 0.2571040391921997, 0.14834614098072052, 0.07525262981653214, -0.0132070854306221, 0.3215470314025879, 0.17400719225406647, 0.2416103184223175, -0.047737184911966324, -0.013258530758321285, 0.032871946692466736, -0.13004949688911438, -0.16348306834697723, -0.2893410921096802, -0.16579996049404144, 0.6490777730941772, -0.4824584126472473, 0.6321046948432922, 0.46777498722076416, -0.24794802069664001, 0.05629931762814522, -0.5324264764785767, 0.20228828489780426, -0.39656132459640503, 0.4885807931423187, -0.4769686758518219, -0.7558368444442749, 0.6120200157165527, 0.14803330600261688, 0.2889004349708557, 0.38721463084220886, 0.3315272927284241, -0.03549111261963844, 1.1644967794418335, 0.739142894744873, -0.004622551612555981, 0.28911611437797546, 0.04419178515672684, -0.13584518432617188, -0.7249788045883179, -0.4337441325187683, -0.7833861708641052, -0.12303490936756134, -0.696731448173523, -0.36581385135650635, 0.41043394804000854, 0.28770941495895386, -0.24732168018817902, 0.2578688859939575, -0.6126118302345276, 0.7363387942314148, 0.5281448364257812, 0.22190438210964203, 0.7271965742111206, -0.24322187900543213, -0.15402927994728088, 0.0039192200638353825, -0.9771279096603394, -0.3527422547340393, 1.1915581226348877, -0.00154221395496279, 0.5683094263076782, 0.2198195904493332, 0.21447637677192688, 0.4756248891353607, 0.7229967713356018, -0.7464144825935364, 0.5365403890609741, -0.18774323165416718, -0.7626845240592957, -0.2545199990272522, -0.1188170462846756, -0.8743979334831238, 0.012306463904678822, -0.3089512884616852, -0.4637409746646881, 0.686957061290741, 0.37032389640808105, -0.36130818724632263, 0.4026270806789398, -0.5329471826553345, 0.8322882056236267, -0.10636002570390701, -0.4242599606513977, -0.11469490081071854, -0.5084567666053772, 0.5534740090370178, -0.21977075934410095, 0.2613941729068756, -0.07633765041828156, -0.24428324401378632, 1.0482491254806519, -0.5752691626548767, 0.8214725852012634, -0.04335686191916466, 0.14598257839679718, 0.3939659893512726, 0.19428981840610504, 0.3817063868045807, 0.026082878932356834, -0.2864217758178711, 0.2792971134185791, 0.25067606568336487, -0.2891935706138611, -0.7980141043663025, 0.20859681069850922, -0.8596067428588867, -0.41017818450927734, -0.3093719482421875, -0.4457511305809021, -0.40869399905204773, 0.04672455042600632, 0.10093288868665695, 0.45379236340522766, -0.172348290681839, 0.28552573919296265, 0.20968219637870789, -0.2290927767753601, 0.11658546328544617, 0.7184199094772339, -0.4241020679473877, -0.6886316537857056, 0.8996986150741577, 0.17967356741428375, -0.03736181557178497, 0.22806839644908905, 0.30443859100341797, -0.48282521963119507, -0.4294207990169525, -0.5914949178695679, 0.08073215931653976, -0.8310610055923462, -0.12153778970241547, -0.7047867774963379, 0.08917254209518433, -0.08621761202812195, -0.14772742986679077, -0.522761881351471, -0.4533800482749939, 0.3716886043548584, 0.0022772701922804117, 0.5978308320045471, 1.2789418697357178, -0.24012672901153564, 0.2325821965932846, -0.5115769505500793, -0.030875828117132187, 0.4662513732910156, 0.5873691439628601, -0.08507024496793747, -0.26072609424591064, -0.5649787783622742, -0.002827300922945142, -0.18595179915428162, -0.8809724450111389, -0.07626106590032578, 0.030342038720846176, 0.3785385191440582, 0.18796955049037933, 0.01744125969707966, 1.1765085458755493, -0.15313012897968292, 0.5905513763427734, -0.10723274946212769, -1.3166594505310059, 0.4305550456047058, -0.09370642900466919, 0.026948289945721626, 0.907779335975647, 0.18459844589233398, -0.7050009965896606, -0.595003604888916, -0.4335620105266571, -0.21708008646965027, 0.597460925579071, 0.23460790514945984, -0.3557981252670288, 0.05100094899535179, 0.530304491519928, 0.15952616930007935, 0.6330627202987671, -0.47831058502197266, -0.2194272130727768, -0.3336606025695801, -0.013841511681675911, -0.14691272377967834, -0.43604373931884766, 0.31209367513656616, -0.7605141401290894, 0.6672053337097168, 0.22249972820281982, -0.21428056061267853, 0.39072129130363464, -0.06762896478176117, 0.034504182636737823, 0.3774329125881195, 0.8735882043838501, 0.7430447936058044, -0.3580625057220459, 0.11704093217849731, 0.35276490449905396, -0.8499202728271484, 0.2482827752828598, -0.41299423575401306, -0.1024039089679718, 0.10271105915307999, 0.4568825960159302, 0.8181416988372803, 0.398307204246521, -0.7781791090965271, 0.3239939510822296, -0.16290004551410675, -0.23442700505256653, -0.008662935346364975, 0.2718184292316437, -0.0013436081353574991, -0.3246415853500366, -0.32175299525260925, 0.4308212101459503, 0.2575063109397888, -0.4037927985191345, 0.08354146778583527, 0.17999614775180817, -0.46773624420166016, -0.33715254068374634, 0.7308673858642578, 0.09097856283187866, -0.33403733372688293, 0.7183421850204468, -0.6183728575706482, -0.4993841052055359, 0.5740620493888855, 0.13840587437152863, 0.8278690576553345, -0.32297152280807495, 0.06704109162092209, 0.59676593542099, 0.710239052772522, -0.23131448030471802, 0.37857964634895325, -0.11829188466072083, -1.0367810726165771, -0.5193662047386169, -0.6145100593566895, -0.6385373473167419, 0.10050024092197418, -0.7167023420333862, 0.589165985584259, -0.3501451909542084, -0.15721304714679718, -0.010679476894438267, -0.13300259411334991, -0.7553750276565552, 0.11078992486000061, -0.6258705854415894, 0.8150901794433594, -0.8887003064155579, 1.0521955490112305, 1.294724702835083, -0.4283660352230072, -1.0678801536560059, -0.1440742015838623, -0.289266437292099, -0.8423393368721008, 0.4115496277809143, -0.19432130455970764, -0.21031270921230316, 0.05458757281303406, -0.7283406257629395, -0.7372251152992249, 0.5798647999763489, 0.6659492254257202, -0.642103910446167, 0.055440742522478104, 0.17049401998519897, 0.5191301107406616, -0.08147284388542175, -0.024421511217951775, 0.6666415333747864, 0.5529099106788635, -0.09413280338048935, -1.0065404176712036, -0.19497419893741608, -0.10812610387802124, -0.21060609817504883, 0.1833120882511139, -0.510769248008728, 0.6663254499435425, -0.33427461981773376, -0.11959825456142426, -0.2603839039802551, 0.1605752557516098, 0.24219910800457, 0.3257322311401367, 0.9222288727760315, 0.7732198238372803, 1.0823891162872314, 0.1547975242137909, 0.9375369548797607, -0.35559672117233276, 0.5196862816810608, 1.1681076288223267, -0.18057624995708466, 0.8135160207748413, 0.2365303337574005, -0.18733221292495728, 0.7044278979301453, 0.6964958310127258, 0.12986911833286285, 0.5032935738563538, 0.013872417621314526, -0.041969574987888336, -0.5892183184623718, -0.3095373213291168, -0.04490754008293152, 0.9333086609840393, 0.03817775100469589, 0.097694531083107, -0.09481755644083023, 0.20399926602840424, 0.20461252331733704, -0.13806794583797455, -0.2836817800998688, 0.9375280737876892, -0.4449290335178375, -0.8458812832832336, 0.6997027397155762, -0.016999032348394394, 0.01164903212338686, -0.19114835560321808, -0.1355590671300888, -0.1408255398273468, -0.1812533289194107, -0.1905195564031601, -1.0218424797058105, 0.5278711915016174, 0.21234028041362762, -0.27616989612579346, 0.05275706946849823, 0.41246429085731506, -0.3505888879299164, -0.5610305666923523, -0.17171671986579895, 0.44024741649627686, 0.34810641407966614, -0.02920648828148842, -0.5314633846282959, 0.3236064314842224, 0.2662416696548462, 0.08151232451200485, -0.14444005489349365, 0.3924514353275299, -0.33120208978652954, 0.8567953109741211, 0.7710884809494019, 0.10577687621116638, -0.026744648814201355, -0.13963079452514648, 0.6290566921234131, -0.8704367876052856, -0.6489340662956238, -1.0046178102493286, 0.6188585162162781, 0.12672357261180878, -0.7072953581809998, 0.662200927734375, 1.0189543962478638, 0.6514759063720703, -0.012828661128878593, 0.7582458853721619, 0.09199413657188416, 0.2571372091770172, -0.5982352495193481, 0.6474177837371826, -0.7148919105529785, 0.2839077115058899, -0.0633217990398407, -0.5349879264831543, -0.23284466564655304, 0.33677247166633606, -0.4396916925907135, -0.3707194924354553, 0.6941375732421875, 0.915283739566803, -0.04509174823760986, 0.07324640452861786, 0.29351288080215454, 0.30650800466537476, 0.05186429247260094, 0.4110279381275177, 1.1184782981872559, -0.2469765841960907, 0.5199692249298096, -0.5443825721740723, 0.30305084586143494, -0.026718562468886375, -0.8001856207847595, -0.9112502336502075, -0.804969847202301, -0.39089256525039673, -0.2341737300157547, 0.40276968479156494, 0.8161095380783081, 0.812819242477417, -0.5032170414924622, -0.28776514530181885, -0.23352386057376862, 0.7067249417304993, -0.36561113595962524, -0.17119799554347992, 0.4828014075756073, -0.13673950731754303, -0.4868859350681305, -0.02021143212914467, 0.21740007400512695, -0.3427419662475586, -0.21104560792446136, 0.18230178952217102, 0.04791006073355675, 0.03799897059798241, 0.34633782505989075, 0.1270892471075058, -0.6438897252082825, -0.45694801211357117, -0.0420662984251976, -0.29127225279808044, 0.4200288653373718, 0.8900399804115295, -0.9274893999099731, 0.7982763648033142, 0.25338810682296753, 0.5578394532203674, 0.18005555868148804, 0.11412150412797928, 0.25410225987434387, -0.5960639119148254, 0.1815027892589569, -0.008292265236377716, 0.2694665491580963, 0.4685617983341217, -0.3942147493362427, 0.40374845266342163, 0.42490801215171814, -0.7457244396209717, -0.9574552774429321, -0.08778323978185654, -0.8792087435722351, 0.007915866561233997, 0.7680405378341675, 0.15974190831184387, -0.439314067363739, -0.5478718280792236, -0.43377411365509033, 0.2526323199272156, -0.43639954924583435, 0.731371283531189, 0.8301730155944824, -0.21753402054309845, 0.07758898288011551, -0.7727421522140503, 0.8730891942977905, 0.23127499222755432, -0.7933835387229919, 0.07452129572629929, 0.41231998801231384, 0.7222826480865479, -0.04666336625814438, 0.7431235313415527, 0.26072999835014343, 0.462836354970932, -0.0307142473757267, 0.6512547731399536, -0.12124506384134293, -0.25080394744873047, -0.2279295027256012, 0.088951475918293, 0.3611226975917816, -0.3518374264240265 ]
http://arxiv.org/abs/2404.15003v1
http://arxiv.org/pdf/2404.15003v1
Comparison of Current Approaches to Lemmatization: A Case Study in Estonian
2024-04-23T13:06:32
2024-04-23T13:06:32
Aleksei Dorkin, Kairit Sirts
cs.CL
cs.CL
This study evaluates three different lemmatization approaches to Estonian -- Generative character-level models, Pattern-based word-level classification models, and rule-based morphological analysis. According to our experiments, a significantly smaller Generative model consistently outperforms the Pattern-based classification model based on EstBERT. Additionally, we observe a relatively small overlap in errors made by all three models, indicating that an ensemble of different approaches could lead to improvements.
[ -0.29503944516181946, -1.3238353729248047, 0.6812430620193481, -0.025214357301592827, -0.43631601333618164, -0.1353043168783188, -0.1547696441411972, -0.6126877069473267, 0.24775844812393188, 0.31183767318725586, -0.1313551366329193, -0.8530217409133911, -0.6966343522071838, 0.4052712321281433, -0.47034311294555664, 0.21537359058856964, -0.21258999407291412, 0.7269947528839111, -0.3550044000148773, -0.012779506854712963, -0.488479882478714, -1.0439941883087158, -1.004625916481018, -0.1476522982120514, 0.2319367378950119, 0.33630257844924927, 0.36928725242614746, 0.41407445073127747, 0.5303818583488464, 0.2735622823238373, -0.5838624238967896, -0.1407947987318039, 0.14575958251953125, 0.2242002785205841, 0.27128222584724426, -0.7958843111991882, -0.27160754799842834, -0.1300416886806488, 0.5786760449409485, 0.4294683635234833, -0.29161182045936584, -0.060815997421741486, -0.13256850838661194, 0.5389729738235474, -0.7818312048912048, -0.19828194379806519, -0.1367967277765274, 0.3885781168937683, -0.27974292635917664, 0.13605275750160217, -0.4574224650859833, -0.44649943709373474, -0.06653020530939102, -0.2912769615650177, 0.3671959936618805, -0.17031370103359222, 0.8668122291564941, 0.12006653845310211, -0.2962040603160858, -0.5668609142303467, -0.6622594594955444, 0.887174665927887, -1.0324522256851196, 0.5990472435951233, 0.5513793230056763, 0.3469952642917633, 0.3546806275844574, -0.5661994218826294, -0.27654898166656494, -0.3330940902233124, -0.16845571994781494, 0.2528645694255829, -0.3903656005859375, -0.053965311497449875, 0.1861143559217453, 0.38759294152259827, -0.37425121665000916, 0.5851801633834839, -0.48309826850891113, -0.2509748935699463, 0.4363560676574707, -0.03865664079785347, 0.26856184005737305, -0.3214722275733948, -0.1500944346189499, 0.046873703598976135, -0.7790710926055908, -0.27051398158073425, 0.6304146647453308, 0.2771323323249817, -0.03644802048802376, 0.6907600164413452, -0.17924007773399353, 0.6396140456199646, 0.10082123428583145, 0.03513017296791077, 0.2281104326248169, -0.12443726509809494, -0.41753387451171875, 0.09845404326915741, 0.29877349734306335, 0.38534030318260193, 0.027059581130743027, 0.04797317460179329, -0.43088793754577637, 0.1736248880624771, 0.06931301951408386, -0.5476720929145813, -0.02703818865120411, 0.3321513235569, -0.9231847524642944, -0.3677760660648346, -0.09569378197193146, -0.7136262655258179, -0.1710018664598465, -0.3150952160358429, 0.6766232848167419, -0.8146231770515442, -0.18817615509033203, -0.02407422848045826, -0.051636211574077606, 0.5501142740249634, 0.647506833076477, -0.9713905453681946, 0.41647133231163025, 0.928883969783783, 1.4394572973251343, -0.2171860635280609, 0.06962917000055313, -0.3688714802265167, -0.1361682116985321, -0.610268771648407, 1.0020382404327393, -0.7020370364189148, -0.6284743547439575, 0.1367463618516922, -0.16255809366703033, -0.13768799602985382, -0.7731514573097229, 0.555988609790802, -0.10187193006277084, 0.42201128602027893, -0.04466729983687401, -0.9513169527053833, -0.3043585419654846, -0.004678666591644287, -0.597696840763092, 1.1491018533706665, 0.2765258550643921, -0.7291399836540222, 0.5109508037567139, -0.7181993126869202, -0.25458163022994995, 0.057090919464826584, -0.22289372980594635, -0.4692448675632477, 0.5067065954208374, 0.06438131630420685, 0.8163037896156311, -0.04263008013367653, -0.3028247058391571, 0.06710508465766907, -0.454507976770401, -0.1431257128715515, -0.14699967205524445, 0.8649029731750488, 0.4759114980697632, -0.24065038561820984, 0.09891621023416519, -0.7710474133491516, -0.2132190316915512, 0.05350852757692337, -0.27671682834625244, -0.7688891887664795, 0.03836658224463463, -0.0523713119328022, -0.026385892182588577, 0.24489465355873108, -0.5533115863800049, 0.16261357069015503, -0.2017206996679306, 0.4182395339012146, 0.6660414934158325, 0.06418870389461517, 0.45341041684150696, -0.32449546456336975, 0.6938735842704773, 0.10443899035453796, 0.18270766735076904, -0.19426217675209045, -0.6543616056442261, -1.3144220113754272, -0.3896297514438629, 0.9452850222587585, 0.6329426765441895, -0.4667154550552368, 0.32550808787345886, 0.140682652592659, -0.5946447849273682, -0.3182617127895355, -0.37746456265449524, 0.5005005598068237, 0.22239355742931366, 0.29432085156440735, -0.6140159368515015, -0.525124192237854, -1.068711757659912, -0.15493373572826385, -0.3492718040943146, 0.02239823527634144, 0.0000752058913349174, 0.75815749168396, 0.05263719707727432, 0.2521718442440033, -0.1947426050901413, -0.24869681894779205, -0.06036635488271713, 0.365896075963974, 0.11220080405473709, 0.48415765166282654, 0.91595858335495, -0.528002142906189, -0.6880196928977966, 0.374275267124176, -0.5635716319084167, -0.07084376364946365, 0.579855740070343, 0.1083867996931076, 0.7789329290390015, 0.8183107972145081, -0.2854110598564148, 0.7823031544685364, 0.29462552070617676, -0.46442747116088867, 0.5183864235877991, -0.21109740436077118, 0.3511714041233063, -1.1409821510314941, -0.4960920214653015, -0.015224004164338112, -0.3910466134548187, -0.8645986914634705, 0.3584393560886383, 0.09978240728378296, 0.18111680448055267, -0.6632483005523682, 0.2285335659980774, -0.5975267291069031, -0.25877317786216736, 0.06139301136136055, -0.35673362016677856, -0.4015229046344757, 0.24955835938453674, 0.17271369695663452, 0.6874724626541138, 0.7158405184745789, -0.4110722541809082, 0.2576626241207123, 0.2290181666612625, -0.5105612277984619, 0.9024267792701721, -0.44031310081481934, 0.16420027613639832, -0.32881441712379456, -0.2899450361728668, -0.9407104253768921, -0.2700861394405365, 0.1442507654428482, -0.47344139218330383, 0.32146355509757996, -0.5735923647880554, -0.6385513544082642, -0.005837221629917622, -0.39885953068733215, -0.07250798493623734, 1.0204097032546997, -0.359334260225296, 0.8897755146026611, 0.10660628974437714, -0.4738091230392456, -0.21800367534160614, -0.7655682563781738, -0.058856599032878876, -0.7597657442092896, -0.2909926772117615, 0.2942172884941101, -0.12792032957077026, -0.8833862543106079, -0.04603470861911774, 0.018139678984880447, -0.14948096871376038, 0.23581215739250183, 0.052735067903995514, -0.04804666340351105, -0.3301957845687866, 0.059226930141448975, 0.04117096588015556, 0.22614909708499908, -0.24498364329338074, 0.043467286974191666, 0.8395326137542725, -0.16735173761844635, -0.33283254504203796, -0.48574545979499817, 0.6420321464538574, 0.34671881794929504, -0.016545524820685387, 0.697123110294342, 0.32116174697875977, -0.6356850266456604, -0.06346742808818817, -0.6660239696502686, 0.10637792944908142, -0.3963510990142822, 0.11108607053756714, -0.4200480580329895, -0.7616606950759888, 0.5161066055297852, 0.16954545676708221, -0.024123230949044228, 0.6385977268218994, 0.7379050254821777, -0.3687199652194977, 0.999683678150177, 0.7185789346694946, 0.4043024480342865, 0.5460854768753052, -0.16750600934028625, -0.1676371693611145, -0.5990819931030273, -0.19525296986103058, -0.9444318413734436, -0.029218928888440132, -0.6482070088386536, -0.3988148868083954, 0.26134276390075684, 0.3963371515274048, 0.0452570877969265, 0.48379406332969666, -0.35302647948265076, 0.4745105803012848, 0.5854559540748596, -0.06054991856217384, 0.2869642674922943, 0.33314049243927, -0.49107298254966736, 0.058329299092292786, -0.8448104858398438, -0.9808327555656433, 1.0113255977630615, 0.3304019570350647, 0.5998137593269348, 0.6161171793937683, 1.1211053133010864, 0.5680030584335327, 0.5195056200027466, -1.0245822668075562, 0.3945254385471344, -0.4695398211479187, -0.3933088183403015, -0.48853254318237305, -0.2198977917432785, -0.9436963200569153, 0.5840813517570496, -0.37565329670906067, -1.001327395439148, 0.37431496381759644, 0.19476540386676788, -0.12282948940992355, 0.43346792459487915, -1.153964638710022, 0.6290856599807739, -0.12881097197532654, -0.00004443255238584243, -0.12248653918504715, -0.23735226690769196, 0.0768718495965004, -0.26635923981666565, 0.5126076936721802, -0.13253666460514069, -0.1346709281206131, 0.8367508053779602, -0.4688885807991028, 0.7822290062904358, -0.05650646612048149, -0.5121887922286987, 0.2164667695760727, 0.17571628093719482, 0.21874330937862396, -0.27033481001853943, -0.321391761302948, 0.3017401397228241, 0.2708722949028015, -0.4520126283168793, -0.3847058415412903, 0.5391908288002014, -0.7933835983276367, -0.7570057511329651, -0.44794830679893494, 0.05410688742995262, -0.1493905782699585, 0.08019313961267471, 0.6030780673027039, 0.4474036395549774, -0.5630534887313843, 0.06063133105635643, 0.4789336919784546, -0.24984265863895416, 0.7934687733650208, 0.5339500904083252, -0.15216794610023499, -0.4326156973838806, 0.5307139754295349, 0.28706303238868713, 0.23436476290225983, 0.6191808581352234, 0.15946020185947418, -0.08471733331680298, -0.8705676198005676, -0.28969889879226685, 0.010974476113915443, -0.9952113032341003, -0.006470955442637205, -0.5762066841125488, -0.1607953906059265, -0.6410452127456665, -0.038828909397125244, -0.22306907176971436, -0.734741747379303, -0.3297547698020935, -0.07256095111370087, 0.4036790430545807, 0.9964230060577393, -0.12125346809625626, 0.548639178276062, -0.5065578818321228, 0.009007250890135765, 0.29298174381256104, 0.19998817145824432, -0.15908439457416534, -0.3920043110847473, -0.1557692289352417, -0.2907755970954895, -0.31276053190231323, -1.372111201286316, 0.4382483959197998, 0.14972074329853058, 0.536027729511261, 0.21813784539699554, -0.6249019503593445, 0.4720216989517212, -0.7268818020820618, 1.0233409404754639, 0.3480333387851715, -1.1661165952682495, 0.6695879697799683, -0.18864797055721283, 0.06390278786420822, 0.26010966300964355, 0.4216654300689697, -0.5746310353279114, -0.3185478448867798, -0.8712790608406067, -0.8821780681610107, 0.3880090117454529, 0.4925192892551422, -0.05486539378762245, -0.04110784828662872, 0.5117089748382568, 0.44390153884887695, 0.12522350251674652, -0.4177547097206116, -0.26335611939430237, -0.018796222284436226, -0.23424720764160156, -0.11554518342018127, -0.382640540599823, 0.21421435475349426, -0.2036387026309967, 0.7424796223640442, 0.16150793433189392, 0.4982354938983917, 0.24737153947353363, -0.544024646282196, 0.006839745678007603, 0.5399823188781738, 0.927447497844696, 0.7905912399291992, -0.19947922229766846, 0.2104939967393875, 0.523229718208313, -0.47488176822662354, 0.2821277976036072, -0.0706777423620224, -0.4376987814903259, 0.5185261368751526, 0.7625676393508911, 0.7860150933265686, -0.14859019219875336, -0.24609874188899994, 0.5334571003913879, -0.14832843840122223, -0.5495434999465942, -0.5660829544067383, 0.055203139781951904, -0.032418593764305115, 0.20433402061462402, 0.29392510652542114, -0.15444152057170868, 0.22522251307964325, -0.64777672290802, -0.07543008774518967, 0.35430988669395447, -0.32727599143981934, -0.32489946484565735, 0.4133571982383728, 0.08532591909170151, -0.7408761978149414, 0.03170374035835266, 0.15024276077747345, -0.4255591630935669, 0.9169615507125854, 0.4631233811378479, 0.8503531813621521, -0.6584904193878174, 0.31606242060661316, 0.39971479773521423, 0.22298790514469147, -0.08403871208429337, 0.5315233469009399, -0.022822191938757896, -0.6352351903915405, -0.3737396001815796, -0.620529294013977, -0.5084651112556458, 0.29452797770500183, -0.8559365272521973, 0.4287557005882263, -0.41826674342155457, -0.26397794485092163, 0.36864563822746277, -0.15278279781341553, -0.6276178359985352, 0.1427125483751297, 0.03905954957008362, 0.939821720123291, -0.7954078912734985, 0.44323375821113586, 1.0995231866836548, -0.3150770962238312, -0.2951684296131134, 0.008683624677360058, -0.11331266164779663, -0.6342193484306335, 0.6845774054527283, 0.10101454704999924, -0.07086020708084106, -0.02796407788991928, -0.5296844244003296, -0.7434998750686646, 0.9770176410675049, 0.20088404417037964, -0.7486776113510132, 0.07564302533864975, -0.2493203729391098, 0.6109938025474548, -0.2997727394104004, 0.06935897469520569, 0.6468703746795654, 0.3844635784626007, -0.2973174452781677, -1.0577398538589478, -0.48934412002563477, -0.3267369270324707, 0.11187809705734253, 0.3362865447998047, -0.7000101208686829, 1.0277899503707886, 0.1723702996969223, -0.5372657179832458, 0.6254732012748718, 0.6046556234359741, 0.08079840987920761, 0.07819865643978119, 0.5253355503082275, 0.677628755569458, 0.6935272216796875, -0.23809535801410675, 1.0633729696273804, -0.05929369479417801, 0.5373921990394592, 0.6648131012916565, -0.11027343571186066, 1.044912338256836, 0.5574409365653992, -0.39052248001098633, 0.5782759189605713, 1.0408326387405396, -0.07522811740636826, 0.5038302540779114, 0.2814233899116516, -0.2819361686706543, -0.1904533952474594, -0.015536187216639519, -0.355499267578125, 0.4960215091705322, 0.3954029381275177, -0.2817225754261017, -0.11308541148900986, -0.01291442196816206, -0.08085981011390686, 0.10810251533985138, -0.5939996242523193, 0.9780111908912659, -0.0024533304385840893, -0.3675324320793152, 0.5848689079284668, 0.37310487031936646, 0.7845969200134277, -0.1943739801645279, -0.35697048902511597, -0.34523525834083557, -0.16877469420433044, -0.0036668700631707907, -0.45555248856544495, 0.18479865789413452, 0.3058219850063324, 0.25208935141563416, -0.1455298662185669, 0.6968891024589539, -0.20535066723823547, -0.6889647245407104, -0.011032299138605595, 0.8129956126213074, 0.41783207654953003, 0.5498477816581726, -0.41729527711868286, -0.032927196472883224, -0.33244597911834717, -0.007195618003606796, -0.13988563418388367, 0.2537899911403656, -0.35597848892211914, 0.5153851509094238, 0.1994408667087555, 0.23341122269630432, 0.21558839082717896, 0.32392510771751404, 0.2452843338251114, -0.7245036959648132, -0.7648346424102783, -0.9752758145332336, 0.08009699732065201, -0.039044760167598724, -0.20804435014724731, 0.9246719479560852, 0.5758642554283142, 0.9962793588638306, -0.2689438760280609, 0.8220351338386536, 0.07534614950418472, 0.45441219210624695, -1.1125060319900513, 0.20572301745414734, -0.627473771572113, 0.13797488808631897, -0.40672236680984497, -1.083491325378418, -0.5116390585899353, 0.9546667337417603, -0.10453718900680542, 0.22103376686573029, 0.9443581104278564, 0.4336201548576355, 0.004006201401352882, -0.06528932601213455, 0.693289041519165, 0.2718173563480377, -0.1480294167995453, 0.1860882192850113, 1.4808781147003174, -0.12624989449977875, -0.14806769788265228, -0.17513160407543182, -0.009601830504834652, -0.2841530442237854, -0.8676049709320068, -0.982725203037262, -0.8011505603790283, -0.2748284339904785, -0.1870611608028412, 0.3870229423046112, 0.7475293874740601, 0.7107150554656982, -0.9189854860305786, -0.12722213566303253, -0.16625608503818512, 0.04610418528318405, -0.20611554384231567, -0.21146893501281738, 0.4597298502922058, -0.07645721733570099, -1.0166174173355103, 0.18511460721492767, 0.24939949810504913, 0.6886805891990662, -0.18791379034519196, 0.1283075213432312, 0.03450101986527443, 0.24329780042171478, 0.7349309921264648, -0.2722688913345337, -0.975033164024353, -0.36200273036956787, -0.02768530324101448, 0.10653775185346603, 0.36553749442100525, 0.8576667904853821, -0.3150204122066498, 0.09350290894508362, 0.5080103874206543, 0.11293783038854599, 0.6768829226493835, -0.05681183561682701, 0.47872763872146606, -0.7259084582328796, 0.20973840355873108, 0.060342755168676376, 0.689007580280304, 0.586144208908081, -0.40233713388442993, 0.8188394904136658, 0.09930325299501419, -0.046127885580062866, -0.713687539100647, 0.500059962272644, -0.6479932069778442, -0.7089247107505798, 1.2117518186569214, -0.05732368305325508, -0.40084195137023926, -0.01926317624747753, -0.3071691393852234, 0.2638736963272095, -0.14192646741867065, 0.5946336388587952, 1.210598111152649, -0.37735506892204285, -0.2487458735704422, -0.6915816068649292, 0.43255433440208435, 0.37265709042549133, -0.8699243664741516, -0.3291259706020355, 0.60986328125, 0.411578506231308, 0.3049921691417694, 0.5441864132881165, -0.3088659942150116, 0.232696533203125, -0.17324970662593842, 0.06981940567493439, 0.31241750717163086, -0.17417442798614502, -0.8106116652488708, 0.025741389021277428, 0.3287174701690674, 0.07076244056224823 ]
http://arxiv.org/abs/2404.14994v3
http://arxiv.org/pdf/2404.14994v3
Transformers Can Represent $n$-gram Language Models
2024-04-23T12:51:37
2024-06-20T15:21:23
Anej Svete, Ryan Cotterell
cs.CL
cs.CL, cs.AI, cs.CC, cs.FL, cs.LG
Existing work has analyzed the representational capacity of the transformer architecture by means of formal models of computation. However, the focus so far has been on analyzing the architecture in terms of language \emph{acceptance}. We contend that this is an ill-suited problem in the study of \emph{language models} (LMs), which are definitionally \emph{probability distributions} over strings. In this paper, we focus on the relationship between transformer LMs and $n$-gram LMs, a simple and historically relevant class of language models. We show that transformer LMs using the hard or sparse attention mechanisms can exactly represent any $n$-gram LM, giving us a concrete lower bound on their probabilistic representational capacity. This provides a first step towards understanding the mechanisms that transformer LMs can use to represent probability distributions over strings.
[ -0.45649954676628113, -0.36352622509002686, 0.8544479608535767, 0.11605526506900787, -0.04720912501215935, -0.2211117297410965, -0.379786878824234, -0.3769843876361847, 0.13082344830036163, 0.44554823637008667, -0.2637864053249359, -0.02158788964152336, -0.8658645749092102, 0.2793636918067932, -0.8449747562408447, 0.864012598991394, 0.013917805626988411, -0.2179207056760788, -0.061952073127031326, -0.027972877025604248, -0.04869244247674942, -0.384874552488327, -0.26746034622192383, -0.4706997871398926, 0.6273754239082336, 0.05741008371114731, 0.9497230648994446, 0.2617344856262207, 0.826389491558075, 0.31591764092445374, -0.12218794226646423, -0.5541900396347046, -0.32010897994041443, -0.01814453862607479, 0.1337980479001999, -0.676452100276947, -0.37161821126937866, 0.15630772709846497, 0.9126384854316711, 0.8974890112876892, -0.1675693392753601, 0.1360781490802765, 0.13519169390201569, 0.5387799739837646, -0.4318448305130005, 0.19987726211547852, -0.7543887495994568, 0.09911106526851654, -0.31773892045021057, -0.06733987480401993, -1.0346747636795044, -0.1616636961698532, 0.03165839985013008, -0.42931118607521057, 0.3380134701728821, 0.05179395526647568, 0.7558888792991638, 0.024635901674628258, -0.391672819852829, -0.23374608159065247, -1.0499353408813477, 0.7095759510993958, -0.4117700159549713, 0.5217763781547546, 0.2919984757900238, 0.6276460886001587, -0.06644387543201447, -0.48241928219795227, -0.6022078990936279, -0.35121920704841614, -0.4996720552444458, -0.10157497972249985, -0.5570409893989563, 0.1824222058057785, 0.4677903354167938, 0.6375824809074402, -0.294373482465744, 0.061189036816358566, -0.44290587306022644, -0.11190999299287796, 0.3226383924484253, 0.12065102159976959, 0.4064417779445648, -0.27301597595214844, -0.2671658992767334, -0.09726584702730179, -0.5463191866874695, -0.14555025100708008, 0.20387348532676697, 0.3049485981464386, -0.20161402225494385, 0.7690412998199463, 0.34328195452690125, 0.9297300577163696, 0.1554132103919983, -0.016961636021733284, 0.08405537903308868, -0.027965836226940155, -0.363294780254364, 0.01897118240594864, 0.7691355347633362, -0.08217241615056992, 0.7037692070007324, -0.39259880781173706, -0.27057507634162903, 0.17684894800186157, 0.7178775668144226, -0.49860504269599915, 0.18385528028011322, -0.10976513475179672, -0.5389292240142822, -0.12104441225528717, 0.22779721021652222, -0.6380508542060852, -0.25826993584632874, -0.05380924791097641, 0.46188971400260925, -0.5027176737785339, -0.30802419781684875, 0.33286210894584656, -0.10292991250753403, 0.39094603061676025, -0.14011654257774353, -1.2505931854248047, 0.6413205862045288, 0.7076958417892456, 0.7229729890823364, 0.16126056015491486, 0.08079827576875687, -0.06345939636230469, 0.21415536105632782, -0.2779204547405243, 0.6872426867485046, -0.7356715798377991, -0.18185150623321533, 0.2642170488834381, 0.154362753033638, -0.21451134979724884, -0.39447686076164246, 0.8118603229522705, -0.715701162815094, -0.05397419258952141, 0.1606469750404358, -0.790791928768158, -0.1322689950466156, -0.09358949214220047, -0.9294009208679199, 0.5457178354263306, 0.2590663731098175, -0.6730562448501587, 0.25594544410705566, -0.43598365783691406, -0.27899184823036194, 0.025613024830818176, -0.23134413361549377, -0.2656497359275818, 0.7036182284355164, -0.1407812088727951, 0.4850272536277771, -0.26740214228630066, 0.2751123607158661, -0.2936538755893707, -0.6186987161636353, 0.5472549200057983, -0.8298172950744629, 0.5780243277549744, 0.23786309361457825, -0.0665191188454628, -0.17174451053142548, -0.7290369272232056, -0.2914210855960846, 0.2049291878938675, -0.447832852602005, -0.37357228994369507, 0.11233317852020264, 0.07697828114032745, 0.07025771588087082, 0.19624115526676178, -0.5919634103775024, 0.26360172033309937, -0.6806948781013489, 0.5538367629051208, 0.5119956731796265, -0.5978854298591614, 0.9473099112510681, -0.10376327484846115, 0.5645571351051331, -0.06716583669185638, 0.02317650429904461, -0.30054721236228943, -0.5289766788482666, -0.9162033200263977, 0.06898265331983566, 0.44585946202278137, 0.2479700893163681, -0.3680008351802826, 0.16868862509727478, -0.38774386048316956, -0.4593501091003418, -0.7437269687652588, -0.18464148044586182, -0.070969358086586, -0.10879570245742798, 0.16119979321956635, -0.1233823150396347, -0.5037800073623657, -1.2125723361968994, -0.33223357796669006, -0.16613227128982544, -0.4369889795780182, 0.21614223718643188, 0.11077006161212921, -0.09713481366634369, 0.956473171710968, -0.4345604479312897, -0.44633036851882935, -0.5369039177894592, 0.009063497185707092, 0.6466220021247864, 0.08886977285146713, 0.7866689562797546, -0.7256984114646912, -0.31513819098472595, 0.010819836519658566, -0.5050889849662781, 0.07148337364196777, -0.03260744363069534, 0.14638806879520416, 0.23797816038131714, 0.35255274176597595, -0.8209521174430847, 0.44778770208358765, 0.7539600729942322, -0.22664541006088257, 0.28164538741111755, -0.41207894682884216, -0.23779596388339996, -0.8834705948829651, -0.19549192488193512, 0.18257953226566315, -0.17210137844085693, -0.8146225214004517, 0.06030873954296112, 0.279497891664505, -0.2391996681690216, -0.4515393376350403, 0.3358359634876251, -0.4815116822719574, -0.4309852719306946, -0.24220769107341766, 0.23628170788288116, -0.23984400928020477, 0.3863694369792938, 0.12814153730869293, 0.5497737526893616, 0.6829343438148499, -0.5597917437553406, -0.08151838183403015, 0.078221395611763, -0.4235883355140686, 0.5184549689292908, -0.7848060131072998, -0.2927462160587311, -0.3439157009124756, 0.259505033493042, -1.1428732872009277, -0.23771969974040985, 0.3474141061306, -0.21100196242332458, 0.32055097818374634, -0.22806310653686523, -0.6240105628967285, -0.4271490275859833, 0.13826224207878113, 0.5188099145889282, 0.8367851972579956, -0.3172818124294281, 0.7626434564590454, 0.40678688883781433, 0.15334253013134003, -0.14362064003944397, -0.7026566863059998, -0.03306681290268898, -0.1972956657409668, -0.569606363773346, 0.3114556670188904, 0.2757013142108917, -0.3898111581802368, 0.03404736891388893, -0.013235190883278847, 0.0023467286955565214, -0.02337046153843403, 0.2909778654575348, -0.007806144654750824, -0.3364908993244171, 0.39484500885009766, -0.3480371832847595, -0.5724839568138123, 0.17205679416656494, -0.19708983600139618, 0.5530192255973816, -0.08652875572443008, -0.5948573350906372, -0.17922431230545044, 0.32041576504707336, 0.48933136463165283, -0.07139935344457626, 0.8345592617988586, 0.4638688266277313, -0.4286288917064667, 0.03714914992451668, -0.3331136405467987, -0.2756614685058594, -0.5074241757392883, 0.055708322674036026, -0.4527139961719513, -0.8795509338378906, 0.36032241582870483, 0.26747408509254456, -0.06395908445119858, 0.7344100475311279, 0.47399792075157166, -0.20905528962612152, 1.0362306833267212, 0.7234116196632385, -0.024633273482322693, 0.45750588178634644, 0.048072125762701035, 0.5308083295822144, -0.7944101095199585, 0.1748122125864029, -0.6692692637443542, -0.5016209483146667, -0.9896390438079834, -0.6157652139663696, 0.16953246295452118, -0.026988355442881584, -0.27643200755119324, 0.626823365688324, -0.4750232398509979, 0.4608050584793091, 0.44906315207481384, -0.27800098061561584, 0.22774918377399445, 0.18177787959575653, 0.06212383508682251, -0.18763220310211182, -0.7996188402175903, -0.9156712293624878, 0.8920180201530457, 0.6722997426986694, 1.0346121788024902, 0.2305053174495697, 0.5588480830192566, 0.023810159415006638, 0.42050373554229736, -0.8946957588195801, 0.6374335885047913, -0.51136714220047, -0.6472048759460449, -0.10009732097387314, -0.37384897470474243, -1.1872131824493408, 0.21917803585529327, -0.022218475118279457, -0.918923556804657, 0.2761668562889099, -0.08059202134609222, -0.1687893271446228, 0.6144343614578247, -0.7280433177947998, 0.6988658308982849, 0.1862611025571823, 0.36036697030067444, -0.07135357707738876, -0.32920026779174805, 0.4982704222202301, 0.033312518149614334, 0.35841596126556396, -0.08002704381942749, 0.05910059064626694, 0.606481671333313, 0.018874041736125946, 0.8714269995689392, 0.16510671377182007, -0.5424181818962097, 0.43326109647750854, 0.44520819187164307, 0.5565492510795593, -0.1748751550912857, -0.08926399797201157, 0.18041500449180603, -0.2409943789243698, -0.25779202580451965, -0.6303203701972961, 0.466423898935318, -0.6165146827697754, -0.7114905714988708, -0.3930174708366394, -0.6579694151878357, 0.07159896939992905, -0.07852748781442642, 0.12212230265140533, 0.4717528522014618, 0.034446924924850464, 0.32650336623191833, 0.6303272247314453, -0.23348267376422882, 0.5574382543563843, 0.3925677537918091, -0.37617745995521545, 0.19920730590820312, 0.874446451663971, 0.36542263627052307, 0.5774051547050476, 0.5601491928100586, 0.05032113566994667, -0.22821208834648132, -0.2798302173614502, -0.27607864141464233, 0.14475329220294952, -0.706491231918335, 0.1674404889345169, -0.7886215448379517, -0.44279202818870544, -0.03854842111468315, -0.03176048398017883, -0.024403328076004982, -0.4541051983833313, -0.38428762555122375, -0.1732601672410965, 0.33370649814605713, 0.9257037043571472, 0.032081395387649536, 0.6130725741386414, -0.7792770862579346, 0.5902571082115173, 0.37241384387016296, 0.8412439823150635, 0.18365533649921417, -0.7105405926704407, -0.05518246814608574, -0.0203012153506279, -0.34925195574760437, -1.1782578229904175, 0.14395752549171448, 0.17855608463287354, 0.6026836633682251, 0.6227818727493286, -0.2114596664905548, 0.1875840276479721, -0.8889208436012268, 0.6167854070663452, 0.06060522422194481, -0.8474541902542114, 0.18070697784423828, -0.36030012369155884, 0.2392929494380951, 0.01949004828929901, 0.4743708372116089, -0.7491406798362732, -0.8747419118881226, -0.8511214256286621, -0.6025368571281433, 0.8539690971374512, 0.41617071628570557, 0.6635562777519226, -0.3187935948371887, 0.08646547049283981, 0.1043565571308136, -0.0738246738910675, -0.8923885226249695, -0.4085017144680023, 0.03935718536376953, -0.38233810663223267, -0.42352765798568726, -0.6362167596817017, 0.38496190309524536, 0.1667221486568451, 0.4058132469654083, 0.008874420076608658, 0.6866817474365234, -0.2726067900657654, -0.1691884696483612, -0.06635786592960358, 0.7161818146705627, 0.6349086165428162, 0.2324410080909729, -0.19095872342586517, 0.6624748110771179, 0.04597072675824165, -0.44555163383483887, 0.4742700755596161, -0.13175232708454132, -0.17424693703651428, 0.22933697700500488, 0.36613428592681885, 0.8000748753547668, 0.6106645464897156, -0.4048495888710022, 0.29728540778160095, 0.023353923112154007, -0.053259458392858505, -0.26002249121665955, 0.07968815416097641, 0.49366310238838196, 0.03371204063296318, 0.5107581615447998, 0.07062733173370361, 0.132588192820549, -0.4593401253223419, 0.3712516725063324, 0.3976230323314667, -0.7199907898902893, -0.45450517535209656, 0.6853315234184265, -0.13575032353401184, -0.7012814879417419, 0.34389469027519226, -0.32962995767593384, -0.2857659161090851, 0.6116350889205933, 0.7553853988647461, 0.7676582336425781, -0.1176159679889679, 0.5219138860702515, 0.4082185924053192, 0.47341060638427734, -0.2706998586654663, 0.008288560435175896, 0.20607037842273712, -0.7485055923461914, -0.4518580436706543, -0.9312509894371033, -0.004484116565436125, -0.14899218082427979, -0.6312901973724365, 0.1677190214395523, -0.09606395661830902, -0.3154400885105133, 0.0475974939763546, -0.6549785733222961, -0.6741891503334045, -0.1757267266511917, 0.45699408650398254, 0.8745474219322205, -0.8531063795089722, 0.6344053149223328, 0.33195412158966064, -0.3186214864253998, -0.6786579489707947, -0.008547752164304256, -0.38416653871536255, -0.9758902788162231, 0.8401639461517334, 0.24408970773220062, 0.19704701006412506, 0.007656198926270008, -0.10195671766996384, -1.016196608543396, 0.5302660465240479, 0.48678818345069885, -0.9396640062332153, 0.20729708671569824, 0.6553695201873779, 0.7801796793937683, -0.30907487869262695, 0.33530497550964355, 0.5775526762008667, 0.5958853363990784, -0.22539003193378448, -0.8628152012825012, -0.03916391730308533, 0.18074825406074524, 0.1250854879617691, 0.7003605961799622, -0.26942703127861023, 0.9130856394767761, -0.2286982387304306, -0.6774197220802307, -0.0856916606426239, 0.6462715864181519, 0.1323770135641098, -0.06314437836408615, 0.4929284453392029, 0.5442802906036377, 0.1471424400806427, -0.3534093201160431, 1.5030438899993896, -0.35519835352897644, 0.5903258323669434, 0.898647665977478, -0.036251503974199295, 0.8721573352813721, 0.648510754108429, -0.6795223951339722, 0.45816856622695923, 0.28702279925346375, 0.09592544287443161, 0.2872636318206787, 0.5262581706047058, -0.08834006637334824, -0.46605294942855835, -0.19970040023326874, -0.11984828114509583, 0.30625125765800476, 0.2506050169467926, -0.6377621293067932, -0.5820194482803345, 0.0022525230888277292, -0.5174770355224609, 0.1475183665752411, -0.4368234872817993, 0.6882196068763733, 0.3888486325740814, -0.22034475207328796, 0.46304550766944885, 0.010089084506034851, 0.6645646095275879, -0.43289849162101746, 0.14625240862369537, 0.019519248977303505, 0.009631832130253315, -0.00857169646769762, -1.181427001953125, 0.4769825041294098, 0.015532498247921467, -0.3479604125022888, -0.33092421293258667, 0.8954604864120483, -0.4676714241504669, -1.0536130666732788, 0.34074103832244873, 0.2947271168231964, 0.21963094174861908, 0.107035331428051, -0.17789357900619507, 0.08259110897779465, -0.4667958915233612, -0.27249348163604736, 0.31740137934684753, 0.5464596152305603, -0.07759315520524979, 0.6652336120605469, 0.17802436649799347, -0.022568272426724434, 0.22319911420345306, 0.32389599084854126, 0.22748205065727234, -0.6104493141174316, -0.3185078501701355, -1.0023921728134155, 0.3186189532279968, 0.3593914806842804, 0.2295881062746048, 0.6982811689376831, 0.10162387043237686, 0.6898799538612366, -0.3384215533733368, 0.6376022100448608, -0.04638060927391052, 0.13469579815864563, -0.2630384862422943, 0.5817521810531616, -0.4580923914909363, 0.11674853414297104, -0.21468578279018402, -1.1248279809951782, -0.2912042438983917, 0.766075849533081, -0.46325409412384033, 0.13029137253761292, 0.43338096141815186, 0.48336756229400635, -0.3218638598918915, 0.047126781195402145, 0.5963433980941772, 0.219776913523674, 0.12885676324367523, 0.85617995262146, 0.9487403035163879, -0.6281137466430664, 0.5800341367721558, 0.08156998455524445, 0.22547775506973267, -0.4043765366077423, -0.7129669785499573, -0.6021421551704407, -0.6668398380279541, 0.02222556248307228, -0.026637094095349312, -0.4707530438899994, 0.5883550643920898, 0.35226526856422424, -0.6486399173736572, -0.1764402687549591, -0.1582985520362854, 0.36269283294677734, -0.27903681993484497, -0.2415437549352646, 0.18599344789981842, -0.3717936873435974, -0.7549035549163818, 0.05300258845090866, 0.36502835154533386, 0.4578664004802704, -0.6726824045181274, 0.03814024478197098, 0.2341105192899704, 0.4100663363933563, 0.5949392914772034, -0.11837819218635559, -0.8623883128166199, -0.4798009991645813, 0.18662528693675995, -0.32126471400260925, 0.20295388996601105, 0.870499849319458, -0.78664231300354, 0.06286660581827164, 0.55172199010849, 0.4796088635921478, 0.14228293299674988, -0.4259709417819977, 0.6425914168357849, -0.7830716371536255, 0.20069155097007751, 0.025955479592084885, 0.6190568208694458, 0.07666219770908356, -0.05722419172525406, 0.2376570850610733, -0.20698170363903046, -0.29176703095436096, -0.7914051413536072, 0.6142078638076782, -0.9696862101554871, -0.14761938154697418, 1.2521709203720093, 0.11677726358175278, -0.39635133743286133, -0.057296331971883774, -0.19038671255111694, 0.09612584859132767, -0.1296364814043045, 0.6409362554550171, 0.8998397588729858, 0.4039861857891083, -0.39286476373672485, -0.7296427488327026, 0.30804046988487244, 0.35565581917762756, -0.2951454818248749, 0.14503082633018494, 0.035128090530633926, 0.073444664478302, 0.5520252585411072, 0.4774620532989502, -0.07093342393636703, -0.019449014216661453, -0.039336223155260086, 0.0626482293009758, 0.40183237195014954, -0.29577553272247314, -0.4036414921283722, 0.5314595699310303, 0.10616584867238998, 0.1433301419019699 ]
http://arxiv.org/abs/2404.14989v1
http://arxiv.org/pdf/2404.14989v1
A Reproducibility Study of PLAID
2024-04-23T12:46:53
2024-04-23T12:46:53
Sean MacAvaney, Nicola Tonellotto
cs.IR
cs.IR, cs.CL
The PLAID (Performance-optimized Late Interaction Driver) algorithm for ColBERTv2 uses clustered term representations to retrieve and progressively prune documents for final (exact) document scoring. In this paper, we reproduce and fill in missing gaps from the original work. By studying the parameters PLAID introduces, we find that its Pareto frontier is formed of a careful balance among its three parameters; deviations beyond the suggested settings can substantially increase latency without necessarily improving its effectiveness. We then compare PLAID with an important baseline missing from the paper: re-ranking a lexical system. We find that applying ColBERTv2 as a re-ranker atop an initial pool of BM25 results provides better efficiency-effectiveness trade-offs in low-latency settings. However, re-ranking cannot reach peak effectiveness at higher latency settings due to limitations in recall of lexical matching and provides a poor approximation of an exhaustive ColBERTv2 search. We find that recently proposed modifications to re-ranking that pull in the neighbors of top-scoring documents overcome this limitation, providing a Pareto frontier across all operational points for ColBERTv2 when evaluated using a well-annotated dataset. Curious about why re-ranking methods are highly competitive with PLAID, we analyze the token representation clusters PLAID uses for retrieval and find that most clusters are predominantly aligned with a single token and vice versa. Given the competitive trade-offs that re-ranking baselines exhibit, this work highlights the importance of carefully selecting pertinent baselines when evaluating the efficiency of retrieval engines.
[ -0.33948713541030884, -0.7111376523971558, 0.5666038990020752, 0.2858425974845886, -0.18893355131149292, 0.2331177294254303, -0.3021901547908783, -0.47170931100845337, 0.6413880586624146, 0.17247314751148224, 0.011791977100074291, -0.19821391999721527, -0.4501309096813202, -0.14470408856868744, -0.47610464692115784, 0.8025527000427246, 0.21834301948547363, -0.4014483392238617, -0.40099838376045227, -0.11064351350069046, -0.21387796103954315, -0.23850105702877045, -0.42023754119873047, -0.3119960427284241, 0.8138108253479004, 0.6568486094474792, 0.860912024974823, 0.903725802898407, 0.7022057771682739, 0.33811700344085693, -0.3693506121635437, -0.2563934624195099, -0.9564774036407471, 0.2824399769306183, -0.1448259949684143, -0.34408140182495117, -0.47185617685317993, 0.4206317961215973, 0.9412174820899963, 0.764350175857544, -0.38329094648361206, -0.007681595627218485, 0.24753691256046295, 0.5652475953102112, -0.934564471244812, -0.27490395307540894, -0.8481059074401855, -0.02338762767612934, -0.3961966335773468, -0.19663020968437195, -0.35840848088264465, -0.5065159797668457, -0.0006262510432861745, -0.8837686777114868, 0.410621702671051, 0.26507076621055603, 0.9304926991462708, 0.08306686580181122, -0.06185917183756828, -0.38303062319755554, -0.30340516567230225, 1.1560399532318115, -0.07926217466592789, 0.49296075105667114, 0.4164687693119049, 0.2232615202665329, -0.11022672802209854, -1.0083770751953125, -0.4413281977176666, -0.3931037187576294, -0.010634551756083965, 0.3405471444129944, -0.26071295142173767, -0.05763169005513191, 0.05742841213941574, 0.722898542881012, -0.2962128221988678, 0.288465678691864, -0.6351318359375, -0.47254687547683716, 0.587645947933197, 0.28844940662384033, -0.3359885513782501, -0.18506520986557007, -0.2941986918449402, -0.33761048316955566, -0.5929853320121765, 0.4705146849155426, 0.5972927212715149, 0.01036431547254324, 0.3161652684211731, 0.7953087687492371, -0.4648478925228119, 0.7292882800102234, 0.16728536784648895, 0.14829809963703156, 0.27158159017562866, -0.570920467376709, -0.19956757128238678, -0.09981697797775269, 0.6311604380607605, 0.4856649935245514, -0.2803770899772644, -0.3156767785549164, -0.33530429005622864, -0.08888162672519684, 0.5506052374839783, -0.36416664719581604, -0.21372102200984955, 0.18204350769519806, -0.5490750074386597, -0.556723415851593, 0.08233790099620819, -1.0555968284606934, -0.11161618679761887, -0.35488009452819824, 0.1625877320766449, -0.17067137360572815, -0.20399947464466095, -0.2680472731590271, -0.3189636766910553, 0.6224907040596008, 0.402061402797699, -0.6402868032455444, 0.44522860646247864, 1.0205823183059692, 1.0787787437438965, -0.20883719623088837, -0.39395639300346375, -1.0645374059677124, -0.36224690079689026, -0.8657323122024536, 0.9277799129486084, -0.8915481567382812, -0.5782662630081177, 0.13993319869041443, 0.00928762461990118, 0.09469682723283768, -0.7365689277648926, 0.7762543559074402, -0.48603618144989014, 0.2799329459667206, -0.7574814558029175, -0.5723136067390442, 0.3265215754508972, 0.08655335754156113, -0.5501807928085327, 1.268448829650879, -0.11175220459699631, -0.752887487411499, 0.425397664308548, 0.03562228009104729, -0.33714768290519714, -0.006672064773738384, 0.07476633787155151, -0.4594308137893677, 0.2553817927837372, -0.3288800120353699, 0.47738632559776306, -0.1098828837275505, -0.0754024013876915, -0.4689304232597351, -0.7452839016914368, -0.06486479938030243, 0.14761053025722504, 0.6127623915672302, 0.2696390450000763, 0.02361539751291275, -0.057601094245910645, -0.6308057308197021, 0.1900521218776703, -0.38662582635879517, -0.7556785941123962, -0.27478182315826416, 0.04904377460479736, 0.3244883418083191, -0.22305580973625183, 0.24787700176239014, -0.7953436374664307, -0.0661373883485794, -0.15131807327270508, 0.402560293674469, 0.6796441078186035, -0.3479223847389221, 0.6678692102432251, -0.8060019016265869, 0.3453863561153412, -0.40374183654785156, -0.07606775313615799, 0.046969976276159286, -0.6265574097633362, -0.8036474585533142, -0.2056119292974472, 0.26617127656936646, 0.6388464570045471, -0.5881379842758179, 0.2737841010093689, -0.2158290296792984, -0.711520254611969, -0.47191372513771057, 0.008669734001159668, 0.5862259268760681, 0.45304110646247864, 0.2775854170322418, -0.2506263554096222, -0.41334623098373413, -1.0445501804351807, -0.3320164382457733, -0.1921710968017578, 0.2464839369058609, 0.3737790882587433, 0.27935436367988586, -0.016629112884402275, 0.9919494986534119, -0.3642250895500183, -0.16945186257362366, -0.16443337500095367, 0.18581326305866241, 0.17813639342784882, 0.5895245671272278, 0.12875822186470032, -0.45053550601005554, -0.1832512468099594, 0.20357853174209595, -0.5182485580444336, -0.14476993680000305, 0.060386668890714645, 0.07127214223146439, 0.18634548783302307, 0.8322218060493469, 0.032784730195999146, 0.32733842730522156, 0.2864767014980316, 0.02537675015628338, 0.7704797387123108, -0.49764391779899597, 0.2103336900472641, -0.7405238747596741, 0.3051832914352417, -0.03065088577568531, -0.42360278964042664, -0.3203003704547882, 0.16562849283218384, 0.1525277942419052, -0.12409930676221848, -0.13862912356853485, 0.28147974610328674, -0.31296876072883606, -0.3867393136024475, 0.023303275927901268, 0.3752991855144501, -0.01991548202931881, 0.20360027253627777, -0.11255112290382385, 1.07559335231781, 0.23510177433490753, -0.5386991500854492, 0.3912951350212097, 0.0315312035381794, -0.5644918084144592, 0.7915666699409485, -1.0098696947097778, 0.1317683458328247, -0.1763988882303238, -0.09833195060491562, -1.1866875886917114, -0.01578401029109955, -0.17177718877792358, -0.41584300994873047, 0.4014439880847931, -0.04163556918501854, -0.06900438666343689, 0.1282554268836975, -0.6493163704872131, 0.34253981709480286, 0.7491429448127747, -0.36043304204940796, -0.11023805290460587, 0.5760856866836548, -0.2145759016275406, -0.8212483525276184, -0.5084760189056396, 0.1806967705488205, -0.1465924084186554, -0.6766383647918701, 0.698819637298584, 0.33378079533576965, -0.34076547622680664, 0.13050758838653564, 0.014283018186688423, 0.09730713069438934, -0.11385638266801834, -0.017508698627352715, -0.17916090786457062, -0.08673187345266342, 0.22847329080104828, -0.03107414022088051, -0.3096974492073059, -0.22759957611560822, -0.11344704031944275, 0.23725956678390503, -0.2904375493526459, 0.17323437333106995, -0.49800747632980347, 0.34465649724006653, 0.47058385610580444, -0.07016861438751221, 0.2153845876455307, 0.569072425365448, -0.19548426568508148, 0.10400454699993134, -0.9344361424446106, 0.1813979595899582, -0.44656938314437866, 0.4663080871105194, -0.5069010257720947, -0.7758496403694153, 0.6339146494865417, 0.04572026804089546, 0.01654226891696453, 0.4536450207233429, 0.37336835265159607, -0.4698580205440521, 0.05772584304213524, 0.3900011479854584, 0.19444222748279572, 0.765759289264679, -0.3767082691192627, 0.042808424681425095, -1.3078832626342773, -0.5677176117897034, -0.7656696438789368, -0.430107057094574, -0.8686769008636475, -0.3787917494773865, 0.2998355031013489, 0.23160552978515625, 0.012587880715727806, 0.49282538890838623, -0.33770933747291565, 0.5457701086997986, 0.7722188830375671, 0.0940558984875679, 0.10709787160158157, 0.2769544720649719, -0.3080675005912781, -0.22732798755168915, -0.8472616076469421, -0.22296026349067688, 1.0664522647857666, 0.19319270551204681, 0.6823669075965881, 0.17097611725330353, 0.8738318085670471, 0.6325221061706543, -0.09135560691356659, -0.7187200784683228, 0.3939970135688782, -0.2817156910896301, -0.1530398428440094, -0.4719080626964569, -0.5065839886665344, -1.284061312675476, 0.25413644313812256, -0.29343658685684204, -0.6635206341743469, 0.5743504762649536, -0.008402922190725803, -0.2979942262172699, -0.05562875047326088, -0.46722686290740967, 0.7046785950660706, 0.4638153314590454, -1.1501542329788208, -0.5044786334037781, -0.28332459926605225, 0.16529008746147156, 0.22615931928157806, 0.08624880760908127, 0.17741155624389648, -0.15604768693447113, 1.149374008178711, -0.5947808027267456, 0.3286648094654083, 0.10462085157632828, 0.2352055460214615, 0.1543571799993515, 0.23730981349945068, 0.5680372714996338, 0.14409619569778442, -0.15587037801742554, 0.043225694447755814, 0.13473454117774963, -0.704240083694458, -0.33401110768318176, 1.1751682758331299, -0.7006794214248657, -0.7677581310272217, -0.6904575824737549, -0.11949446052312851, 0.14050251245498657, 0.10364972800016403, 0.5520576238632202, 0.69263756275177, -0.2655583620071411, 0.6299687623977661, 0.6251941323280334, -0.1545795500278473, 0.5454025268554688, -0.21974064409732819, 0.031528253108263016, -0.6648898720741272, 1.0734797716140747, 0.3529728949069977, 0.2565767168998718, 0.4382030963897705, 0.22282418608665466, -0.4873165488243103, -0.5019130110740662, -0.047534335404634476, 0.1918659508228302, -0.6444960832595825, 0.03719698265194893, -0.49768322706222534, 0.1833345890045166, -0.2548049986362457, -0.5896009206771851, -0.5686224699020386, -0.6413630843162537, -0.19771790504455566, 0.09795107692480087, -0.10261121392250061, 0.8773622512817383, -0.4568781852722168, 0.3198431730270386, -0.025236517190933228, 0.013091769069433212, 0.6078845262527466, 0.631825864315033, -0.21120856702327728, -0.4754607379436493, -0.038960300385951996, -0.16226060688495636, -0.39621028304100037, -0.7734770178794861, -0.13901712000370026, 0.010441070422530174, 0.7294570803642273, 0.15278837084770203, -0.27126023173332214, 0.7839277982711792, -0.1423262655735016, 0.667102575302124, 0.24751730263233185, -0.9922084808349609, 0.17203062772750854, -0.32500314712524414, -0.11044583469629288, 0.6342366933822632, -0.12509678304195404, -0.5976751446723938, -0.12746979296207428, -0.643973708152771, -0.6489012837409973, 0.7274378538131714, 0.5739744901657104, -0.12659688293933868, -0.04677529260516167, 0.43292492628097534, -0.0017334093572571874, 0.09623264521360397, -0.17480792105197906, 0.09840943664312363, -0.3784613311290741, 0.03895987197756767, -0.09535546600818634, -0.6936781406402588, 0.14949439465999603, -0.038660530000925064, 0.5633757710456848, 0.25403735041618347, 0.3415062725543976, 0.6906766891479492, -0.09226544201374054, 0.1251666247844696, 0.11799705773591995, 0.6314058303833008, 0.7739343047142029, -0.4761199951171875, 0.15290801227092743, -0.09403683245182037, -0.6250565052032471, -0.03839917853474617, -0.1313866823911667, 0.09011580049991608, 0.05851051211357117, 0.7053435444831848, 0.2895231544971466, 0.3830060362815857, -0.34455087780952454, 0.48383939266204834, 0.09985329210758209, -0.1409965306520462, -0.28301510214805603, 0.009969166480004787, -0.23628312349319458, 0.10327675193548203, 0.2608693540096283, 0.13108322024345398, 0.2884189188480377, -0.6230941414833069, 0.40896692872047424, 0.5869323015213013, -0.5783442258834839, -0.10697931051254272, 0.584445059299469, 0.3427754342556, -0.5666483640670776, 0.6985210180282593, -0.5206107497215271, -0.33792492747306824, 0.7585027813911438, 0.028895745053887367, 0.5194860696792603, -0.049546025693416595, 0.34642481803894043, 0.47567999362945557, 0.49490007758140564, -0.26350244879722595, 0.23213616013526917, -0.1635621041059494, -0.3515344262123108, -0.2612186372280121, -0.4702205955982208, -0.2097567915916443, -0.12432631850242615, -0.9959359765052795, 0.42042750120162964, -0.49598461389541626, -0.20660056173801422, 0.0068360320292413235, 0.3267722427845001, -0.6538331508636475, -0.16338062286376953, -0.3694499135017395, 0.9583959579467773, -0.5152397751808167, 0.5350416898727417, 0.6153236627578735, -0.1873420625925064, -0.15963394939899445, -0.10295478254556656, -0.2521458566188812, -0.820247232913971, 0.3030908405780792, -0.04271665960550308, -0.06215885654091835, -0.035294871777296066, -0.10934468358755112, -0.8602529168128967, 1.3026726245880127, 0.020525533705949783, -0.6724936366081238, 0.3394014835357666, -0.16832156479358673, 0.35979440808296204, -0.18762218952178955, 0.3723551630973816, 0.4347047507762909, 0.09725936502218246, 0.36598658561706543, -1.108770728111267, -0.08147572726011276, -0.18634431064128876, 0.22039856016635895, 0.1701190173625946, -0.7810474038124084, 0.9053484797477722, -0.3132452368736267, -0.22529719769954681, 0.3566981852054596, 0.38212496042251587, 0.14987429976463318, 0.6629044413566589, 0.3444285988807678, 0.9007768630981445, 0.9872609376907349, -0.23752379417419434, 1.184784173965454, 0.1196417286992073, 0.7881261110305786, 0.7419285178184509, -0.14412182569503784, 1.0028181076049805, 0.6605284810066223, -0.3628633916378021, 0.357012540102005, 0.767551064491272, 0.29372161626815796, 0.7604334950447083, 0.2461535632610321, 0.21657411754131317, -0.43319371342658997, -0.0992293581366539, -0.5767723917961121, 0.42914602160453796, 0.13603544235229492, -0.21391025185585022, -0.22499673068523407, -0.4873303472995758, 0.11464060842990875, 0.0893879383802414, -0.20065851509571075, 0.7889423966407776, -0.2738392949104309, -0.7507161498069763, 0.6753833889961243, 0.03351399302482605, 0.3595084846019745, -0.1771986335515976, -0.0012685256078839302, -0.7266987562179565, 0.1360437422990799, -0.1497238278388977, -0.8571115732192993, 0.49972331523895264, -0.4248301386833191, -0.23294220864772797, -0.21267615258693695, 0.4157199561595917, -0.3141844868659973, -0.6655736565589905, 0.030187707394361496, 0.3894522786140442, 0.19881395995616913, 0.18030555546283722, -0.4099222719669342, 0.3747089207172394, -0.15614913403987885, -0.1389138400554657, 0.22422794997692108, 0.2956773042678833, 0.02602575346827507, 0.47526293992996216, 0.6392557621002197, 0.019430899992585182, 0.0734788328409195, -0.5750870108604431, 0.918424129486084, -0.5764871835708618, -0.7164905667304993, -0.4861569106578827, 0.1898028403520584, -0.3765842616558075, -0.6035491228103638, 0.2848803400993347, 0.7810576558113098, 0.8434188365936279, 0.34303605556488037, 0.5857030153274536, -0.15238291025161743, 0.322572261095047, -0.6729809641838074, 0.46138155460357666, -0.7094323039054871, 0.40409812331199646, -0.11451218277215958, -1.084007978439331, -0.026832155883312225, 0.7458755970001221, -0.34619390964508057, -0.1275814324617386, 0.9549281597137451, 0.9598677754402161, -0.2514086365699768, -0.0359322652220726, 0.40804916620254517, 0.2843867838382721, 0.23208707571029663, 0.5223210453987122, 0.8183847069740295, -0.4815027117729187, 0.4647504389286041, -0.29392290115356445, -0.49449795484542847, -0.3818456530570984, -0.8838602900505066, -0.6219784021377563, -0.8547043204307556, -0.3022603690624237, -0.5869624614715576, 0.37690919637680054, 0.44205036759376526, 0.6416609883308411, -0.5308755040168762, -0.316988468170166, -0.030336108058691025, 0.4669313132762909, -0.2988874614238739, -0.21468563377857208, 0.41118794679641724, -0.71958327293396, -0.6305521726608276, 0.1492791473865509, 0.2526797950267792, -0.5045871734619141, -0.08936270326375961, -0.1280142217874527, -0.05903453007340431, -0.2937852740287781, 0.3734641671180725, 0.2498474419116974, -0.8478997349739075, -0.27502983808517456, 0.34145450592041016, 0.010945524089038372, -0.09038796275854111, 1.1884028911590576, -1.039467215538025, 0.621427059173584, 0.7972888350486755, 0.673249363899231, 0.45034411549568176, 0.04275735467672348, 0.31171268224716187, -0.4784533679485321, 0.1201828271150589, 0.09356293827295303, 0.41427814960479736, 0.3056531846523285, -0.22240076959133148, 0.3826731741428375, 0.7153729796409607, -0.684981107711792, -0.7678645849227905, 0.07357202470302582, -1.075576663017273, -0.06466280668973923, 1.4269680976867676, -0.07798542082309723, -0.042568497359752655, -0.3861037790775299, -0.07215219736099243, -0.2725642919540405, -0.592642605304718, 0.9650415182113647, 0.7677415609359741, 0.07942605018615723, -0.12592045962810516, -0.2939282953739166, 0.5197088122367859, 0.44219210743904114, -0.17232315242290497, -0.036695633083581924, 0.2859534025192261, 0.22945226728916168, 0.33649200201034546, 0.6690654754638672, 0.09080994129180908, 0.34389638900756836, 0.1412183940410614, -0.5050714015960693, -0.26938024163246155, -0.2641209661960602, -0.28272607922554016, 0.4042222797870636, -0.13236279785633087, -0.38306519389152527 ]
http://arxiv.org/abs/2404.16880v1
http://arxiv.org/pdf/2404.16880v1
Atomas: Hierarchical Alignment on Molecule-Text for Unified Molecule Understanding and Generation
2024-04-23T12:35:44
2024-04-23T12:35:44
Yikun Zhang, Geyan Ye, Chaohao Yuan, Bo Han, Long-Kai Huang, Jianhua Yao, Wei Liu, Yu Rong
q-bio.QM
q-bio.QM, cs.AI, cs.CL
Molecule-and-text cross-modal representation learning has emerged as a promising direction for enhancing the quality of molecular representation, thereby improving performance in various scientific fields, including drug discovery and materials science. Existing studies adopt a global alignment approach to learn the knowledge from different modalities. These global alignment approaches fail to capture fine-grained information, such as molecular fragments and their corresponding textual description, which is crucial for downstream tasks. Furthermore, it is incapable to model such information using a similar global alignment strategy due to data scarcity of paired local part annotated data from existing datasets. In this paper, we propose Atomas, a multi-modal molecular representation learning framework to jointly learn representations from SMILES string and text. We design a Hierarchical Adaptive Alignment model to concurrently learn the fine-grained fragment correspondence between two modalities and align these representations of fragments in three levels. Additionally, Atomas's end-to-end training framework incorporates the tasks of understanding and generating molecule, thereby supporting a wider range of downstream tasks. In the retrieval task, Atomas exhibits robust generalization ability and outperforms the baseline by 30.8% of recall@1 on average. In the generation task, Atomas achieves state-of-the-art results in both molecule captioning task and molecule generation task. Moreover, the visualization of the Hierarchical Adaptive Alignment model further confirms the chemical significance of our approach. Our codes can be found at https://anonymous.4open.science/r/Atomas-03C3.
[ 0.0017527384916320443, -0.5786235332489014, 0.6871935725212097, -0.24309095740318298, -0.36040404438972473, 0.3964601457118988, -0.07466249912977219, -0.3889387845993042, 0.2708966135978699, 0.07757741212844849, -0.5456744432449341, -0.5853354334831238, -0.4977043867111206, 0.27027246356010437, 0.21194259822368622, 0.9410919547080994, -0.0679989904165268, 0.24367579817771912, -0.5550512671470642, -0.12219158560037613, -0.39675095677375793, -0.16646307706832886, -0.370942085981369, -0.11906857043504715, 0.5550276041030884, 0.40208911895751953, 0.4812871813774109, 0.8194016814231873, 0.567573070526123, 0.4076557159423828, 0.029588855803012848, 0.2911604344844818, -0.21117931604385376, 0.2733026444911957, -0.3515510559082031, -0.4012986421585083, -0.7110002636909485, -0.3601727783679962, 0.6096146702766418, 0.5540139675140381, -0.034889500588178635, -0.03989100828766823, -0.12999597191810608, 0.41351553797721863, -0.523268461227417, 0.05886875092983246, -0.8227229118347168, -0.012937699444591999, -0.24746711552143097, -0.23450250923633575, -0.11973054707050323, -0.0012867002515122294, 0.3730872869491577, -1.0049000978469849, 0.04250481352210045, 0.17117859423160553, 0.9590726494789124, -0.16692107915878296, -0.9214563369750977, -0.5373183488845825, -0.31475743651390076, 0.899520993232727, -0.48967722058296204, 0.25672152638435364, -0.249256893992424, 0.42881491780281067, -0.21789193153381348, -0.5860731601715088, -0.3876972198486328, -0.14305754005908966, 0.08579356223344803, 0.25331178307533264, -0.011994211003184319, 0.21164652705192566, -0.46100929379463196, 0.6994181275367737, -0.6557899713516235, -0.22004228830337524, -0.22007596492767334, -0.429327130317688, 0.36007627844810486, 0.13787923753261566, 0.7075420618057251, -0.3886524736881256, -0.9295960664749146, -0.20664922893047333, -0.5383802652359009, -0.11433131992816925, -0.05100413039326668, 0.7681267261505127, -0.09905543178319931, 0.5100550651550293, 0.2418961226940155, 0.53450608253479, 0.11580014228820801, -0.08832493424415588, 0.40149664878845215, -0.6515301465988159, -0.33860212564468384, 0.2770079970359802, 0.8551779389381409, 0.09426023811101913, -0.04686297848820686, -0.07030961662530899, -0.07160484045743942, 0.02473747543990612, 0.3710660934448242, -0.9702278971672058, 0.11270900815725327, 0.25453799962997437, -0.4170568287372589, -0.016512777656316757, 0.14783991873264313, -0.9611452221870422, -0.31637322902679443, -0.5095446705818176, 0.7960368990898132, -0.6405340433120728, -0.01692560315132141, -0.1591089516878128, -0.2582913637161255, -0.35879087448120117, 0.2929072678089142, -1.139042854309082, 0.22088760137557983, 0.4219526946544647, 0.9909700751304626, -0.15600435435771942, -0.42364373803138733, -0.27178341150283813, 0.5623119473457336, -0.2849249243736267, 0.7194212079048157, -0.559453547000885, -0.13944625854492188, -0.22258701920509338, -0.16791193187236786, -0.2593674957752228, -0.5897637605667114, -0.20816583931446075, -0.245474174618721, 0.20543313026428223, -0.307729572057724, -0.6063156723976135, -0.32837581634521484, -0.03379521146416664, -0.4632141590118408, 0.6049896478652954, 0.3796268403530121, -0.3447180390357971, 0.41076576709747314, -0.4254005551338196, -0.2693764865398407, -0.2196773737668991, -0.588634192943573, -0.5841617584228516, 0.21751180291175842, 0.419430673122406, 0.33812105655670166, -0.0915423110127449, 0.39125993847846985, -0.15852363407611847, 0.021288076415657997, 0.24771910905838013, -0.22994348406791687, 0.38468053936958313, 0.09937401115894318, -0.4090340733528137, 0.594726026058197, -0.891302764415741, -0.36126068234443665, -0.12772715091705322, -0.2904263138771057, -0.22408205270767212, -0.17930720746517181, 0.26959753036499023, 0.365910142660141, 0.3329790234565735, -0.5445698499679565, 0.5059040784835815, -0.21241627633571625, 0.3153669834136963, 1.0050424337387085, 0.3366367518901825, 0.6110391020774841, -0.278667688369751, 0.4769570529460907, 0.4892737865447998, -0.15630337595939636, -0.2624664008617401, -0.2698642611503601, -0.46615341305732727, -0.35852643847465515, 0.320430189371109, 0.330439954996109, -0.6177379488945007, 0.3678949475288391, -0.4142759442329407, -0.26062217354774475, -0.22507014870643616, 0.47593966126441956, 0.5993147492408752, 0.3318578600883484, 0.6365614533424377, -0.4949410855770111, -0.5454010367393494, -0.8737069368362427, -0.21093055605888367, -0.026227397844195366, -0.1139860600233078, 0.14543034136295319, 0.6229252219200134, -0.44289153814315796, 0.7070935368537903, -0.11706314980983734, -0.669341504573822, -0.09923701733350754, 0.34682461619377136, -0.35521480441093445, 0.6131439805030823, 0.33870455622673035, -0.7862406969070435, -0.16953273117542267, 0.4028800427913666, -0.747115969657898, 0.35742565989494324, -0.5526467561721802, -0.515612006187439, 0.1808466613292694, 0.38166365027427673, -0.5064113140106201, -0.051215607672929764, 0.33568719029426575, -0.5126407742500305, 0.02675657905638218, -0.03154030814766884, 0.2437623143196106, -1.6751723289489746, 0.1672501116991043, 0.2608705759048462, -0.27913063764572144, -0.314472496509552, -0.035031095147132874, -0.021449068561196327, -0.07365807145833969, -0.4205126464366913, 0.3718201220035553, -0.7276776432991028, -0.19219155609607697, -0.18029384315013885, 0.29646188020706177, 0.003753570606932044, 0.6632971167564392, 0.08553709089756012, 0.8467624187469482, 0.5902395248413086, -0.3527178466320038, -0.06074198707938194, 0.3603495955467224, -0.08073489367961884, 0.5839414000511169, -0.18707704544067383, -0.26894235610961914, 0.018559487536549568, 0.34422770142555237, -0.8384019732475281, -0.5365307331085205, 0.17699077725410461, -0.5087487697601318, 0.4287446439266205, 0.29895156621932983, -0.0029603424482047558, 0.11895327270030975, -0.2828524112701416, 0.5448485612869263, 0.15964125096797943, -0.49824440479278564, 1.1307179927825928, 0.43718352913856506, -0.24662771821022034, -0.41112178564071655, -0.5442990064620972, -0.0035680686123669147, -0.14314916729927063, -0.45003774762153625, 0.6780973672866821, 0.2087561935186386, 0.0606471449136734, -0.05054999515414238, -0.6936432123184204, 0.01085568405687809, -0.2209135890007019, 0.23418857157230377, 0.18221180140972137, -0.4395017623901367, 0.17879673838615417, 0.360361248254776, -0.054677318781614304, -0.06250124424695969, -0.29488709568977356, 0.22947214543819427, -0.19344507157802582, 0.09163694828748703, -0.6239690184593201, 0.3931880593299866, 0.7906142473220825, -0.13798017799854279, 0.4467158615589142, 0.3161185383796692, -0.4974040389060974, -0.1853351593017578, 0.30777817964553833, -0.13019593060016632, -0.48257049918174744, 0.3860456645488739, -0.2719482183456421, -0.6852989792823792, 0.49036091566085815, -0.2382344901561737, -0.20250649750232697, 0.5472017526626587, 0.48172324895858765, 0.035786889493465424, 1.1207914352416992, 0.7598913311958313, 0.1645251214504242, 0.4445393681526184, -0.07422374933958054, 0.22941571474075317, -0.8638447523117065, -0.5960643887519836, -0.15202918648719788, -0.25663334131240845, -0.29902517795562744, -0.5707094073295593, 0.4852263629436493, 0.3878215253353119, -0.31394439935684204, 0.3548194169998169, -0.5047629475593567, 0.28027358651161194, 0.45850393176078796, 0.22865907847881317, 0.10564406961202621, 0.3512946367263794, -0.18307308852672577, 0.18035829067230225, -0.5656722784042358, -0.4573126435279846, 1.0317569971084595, 0.1630968302488327, 0.548583984375, 0.34661996364593506, 0.799742579460144, 0.13133688271045685, -0.06544749438762665, -0.815155565738678, 0.5250189304351807, -0.050052814185619354, -0.37779906392097473, -0.07844437658786774, -0.6946849226951599, -0.9640412926673889, 0.20968081057071686, -0.23126178979873657, -0.881662130355835, 0.4633605480194092, 0.20781823992729187, -0.5395047068595886, 0.26302745938301086, -0.4552486538887024, 1.0374438762664795, -0.24812130630016327, -0.09121806174516678, -0.17301377654075623, -1.0253292322158813, 0.18751445412635803, -0.05003940686583519, 0.17650176584720612, -0.04847827926278114, -0.1980760544538498, 0.7966915369033813, -0.5002529621124268, 0.758818507194519, 0.020254209637641907, -0.3588066101074219, 0.3363821506500244, 0.1306007206439972, 0.008588483557105064, 0.021555587649345398, 0.348555326461792, -0.0294481310993433, -0.027747435495257378, -0.45249173045158386, -0.5683891773223877, 0.7248254418373108, -0.5839511752128601, -0.20764195919036865, -0.7264461517333984, -0.7156703472137451, -0.2531866133213043, 0.3049929440021515, 0.1700270026922226, 0.6305568218231201, -0.0010444882791489363, -0.02631312608718872, 0.413200706243515, 0.016467077657580376, 0.309834361076355, -0.019063198938965797, -0.2547735869884491, -0.8876853585243225, 1.6014258861541748, -0.06349581480026245, 0.34722355008125305, 0.7916836142539978, 0.03750569745898247, -0.2606356143951416, -0.2911202609539032, -0.8778380155563354, -0.06310505419969559, -0.6979058980941772, -0.5627974271774292, -0.30219000577926636, 0.0928502157330513, -0.573922336101532, -0.3167232275009155, -0.3627350330352783, -0.46302539110183716, -0.4203948378562927, -0.0359293594956398, 0.32324331998825073, 0.7907499670982361, -0.16050854325294495, 0.23397283256053925, -1.0631287097930908, 0.7156063914299011, 0.33075785636901855, 0.09702566266059875, -0.057317402213811874, 0.04472768306732178, -0.34787970781326294, 0.058431219309568405, -0.6318800449371338, -0.9494171738624573, 0.06501945108175278, 0.5487468838691711, 0.34053826332092285, 0.45411553978919983, -0.469668984413147, 0.7549254298210144, -0.451267808675766, 0.8812603950500488, 0.30179381370544434, -1.3335793018341064, 0.6363666653633118, -0.5450540781021118, 0.40930813550949097, 0.6881394386291504, 0.5052127242088318, -0.3352302014827728, -0.3926636576652527, -0.3768801689147949, -1.0816550254821777, 0.5423656105995178, 0.22913062572479248, -0.11964284628629684, -0.020552488043904305, 0.1511639952659607, 0.3338747024536133, 0.18417879939079285, -0.696671187877655, -0.15729324519634247, -0.11345747858285904, -0.8304226398468018, 0.16693620383739471, 0.2327660620212555, -0.044201064854860306, -0.1894150823354721, 0.9691302180290222, -0.5003179907798767, 0.36100104451179504, 0.29562830924987793, -0.19752761721611023, -0.312442421913147, 0.26154401898384094, 0.5435675382614136, 0.7873295545578003, -0.3582894802093506, 0.26401156187057495, -0.453286737203598, -0.56548672914505, 0.31722787022590637, 0.22590257227420807, 0.00010814382403623313, -0.18192467093467712, 0.3674185276031494, 0.7088495492935181, 0.3703349232673645, -0.8273904919624329, 0.4426386058330536, 0.1675681471824646, 0.007480359636247158, 0.4153141677379608, -0.06556154042482376, 0.0014309970429167151, 0.268253892660141, 0.4462902545928955, 0.48142489790916443, 0.22068147361278534, -0.8952097296714783, 0.43548792600631714, 0.3672502338886261, -0.39102041721343994, -0.32082027196884155, 0.6754695177078247, 0.1820131242275238, 0.17358218133449554, 0.28706032037734985, 0.03591924160718918, -0.483804315328598, 0.6025722026824951, 0.7488197684288025, 0.8533979058265686, -0.392212450504303, 0.3402920365333557, 0.29860633611679077, -0.12574592232704163, 0.3283912241458893, 0.3983200788497925, -0.2756287157535553, -0.32542896270751953, 0.068990558385849, -0.76993328332901, -0.21697019040584564, -0.23370292782783508, -0.5931280255317688, -0.06967706233263016, -0.31040456891059875, 0.08924675732851028, 0.16947409510612488, -0.07270580530166626, -0.06444188952445984, 0.36587920784950256, 0.2514304220676422, 0.6531315445899963, -0.9279417395591736, 0.566849946975708, 0.7455881237983704, -0.7229186296463013, -0.4074157178401947, 0.22246186435222626, 0.3804575800895691, -0.47033071517944336, 0.23954851925373077, 0.4937613904476166, -0.17625434696674347, -0.1621205061674118, -0.23461495339870453, -1.2059401273727417, 1.2275890111923218, 0.3064875304698944, -0.5742337107658386, -0.17306871712207794, 0.15568819642066956, 0.47346171736717224, -0.4817658066749573, -0.01601465418934822, 0.33501923084259033, 0.17648762464523315, 0.055779971182346344, -0.6986833214759827, 0.3077324330806732, -0.41259637475013733, 0.27335506677627563, 0.2992008626461029, -0.5258927345275879, 0.8940953612327576, -0.043074432760477066, -0.48080718517303467, 0.5397119522094727, 0.9847641587257385, 0.5676986575126648, 0.2798868417739868, 0.197162464261055, 0.6213895678520203, 0.7262752056121826, -0.05068819597363472, 0.7717471122741699, -0.08198366314172745, 0.2936234176158905, 0.9505726099014282, -0.1337461620569229, 0.8822253942489624, 0.837277889251709, -0.040364932268857956, 0.9152799248695374, 0.7886912822723389, 0.10509680211544037, 0.5997241735458374, 0.17740881443023682, -0.24944469332695007, -0.417201429605484, -0.014618566259741783, -0.2562161087989807, 0.33166736364364624, 0.42367812991142273, -0.3016403317451477, -0.41552552580833435, 0.4643514156341553, -0.31470662355422974, 0.10938718169927597, -0.45569711923599243, 0.8980613350868225, 0.06927988678216934, -0.5978431701660156, 0.3121522068977356, -0.13213534653186798, 0.47594013810157776, -0.6442470550537109, -0.3745010197162628, 0.058485593646764755, 0.3409610986709595, 0.03235718607902527, -0.46167251467704773, -0.04427262395620346, -0.4907269775867462, -0.23719929158687592, 0.07163356989622116, 0.45905178785324097, -0.729053795337677, -0.5339430570602417, 0.22665604948997498, 0.27243420481681824, -0.13678747415542603, 0.1307232826948166, -0.7658758759498596, 0.10355956852436066, -0.059508662670850754, -0.20452286303043365, 0.46793311834335327, 0.38207945227622986, -0.08929669111967087, 0.28159499168395996, 0.3096539080142975, -0.3103155791759491, 0.041340410709381104, -0.18466603755950928, 0.686124861240387, -0.6504464745521545, -0.39944615960121155, -0.6347410082817078, 0.5853750109672546, 0.08516855537891388, -0.604076623916626, 0.7733721137046814, 0.7879226803779602, 0.9135197401046753, -0.10904450714588165, 0.5397244691848755, 0.0018909525824710727, 0.04890220984816551, -0.8843172192573547, 0.39912310242652893, -0.904877781867981, -0.11962532997131348, -0.20047949254512787, -0.9671263098716736, -0.47717657685279846, 0.5118873715400696, 0.24156050384044647, 0.28183722496032715, 0.8308786749839783, 0.7511086463928223, -0.35687148571014404, 0.13743209838867188, -0.24394704401493073, 0.18031786382198334, 0.38819265365600586, 0.8579015135765076, 0.46496760845184326, -0.7159587144851685, 0.18589209020137787, -0.19840429723262787, -0.011526107788085938, -0.16274268925189972, -0.6181303262710571, -0.7376875877380371, -0.8400757908821106, -0.29116642475128174, -0.28079015016555786, -0.008091713301837444, 1.0757032632827759, 0.7897593975067139, -0.9442442655563354, -0.3492264151573181, -0.7056752443313599, -0.0311552993953228, -0.3169861137866974, -0.21908794343471527, 0.5724395513534546, -0.5761824250221252, -0.7714041471481323, 0.7824172377586365, 0.5104427933692932, 0.33834901452064514, -0.0957721546292305, 0.03281990438699722, -0.4482811689376831, 0.1438894271850586, 0.4049575924873352, 0.3841742277145386, -0.7731921076774597, -0.14949998259544373, -0.21964232623577118, -0.2475312203168869, 0.43509358167648315, 0.9287855625152588, -0.8076923489570618, 0.5861861109733582, 0.5823471546173096, 0.6631760597229004, 0.03396051749587059, 0.11377918720245361, 0.719607949256897, -0.9253701567649841, -0.37328413128852844, 0.17481139302253723, 0.3296522796154022, 0.3239755928516388, -0.5006694793701172, -0.037397731095552444, 0.19035296142101288, -0.5847614407539368, -0.6445837616920471, 0.19527612626552582, -1.5648142099380493, -0.7970903515815735, 0.8148334622383118, 0.26198840141296387, -0.6829027533531189, 0.28324249386787415, -0.3417654037475586, 0.5669335722923279, -0.7106518149375916, 0.66265469789505, 0.3638399839401245, -0.1949969381093979, 0.20148739218711853, 0.03572952374815941, 0.6071770787239075, 0.6303462982177734, -1.0625890493392944, 0.22490689158439636, 0.7696633338928223, 0.03136524185538292, 0.6089858412742615, 0.38973817229270935, -0.09646026045084, 0.4564339816570282, 0.09844595938920975, -0.030634017661213875, 0.12140543013811111, -0.9805490970611572, -0.5366880297660828, 0.30571749806404114, -0.4059322476387024, -0.2408892959356308 ]
http://arxiv.org/abs/2404.14977v1
http://arxiv.org/pdf/2404.14977v1
Social Media and Artificial Intelligence for Sustainable Cities and Societies: A Water Quality Analysis Use-case
2024-04-23T12:33:14
2024-04-23T12:33:14
Muhammad Asif Auyb, Muhammad Tayyab Zamir, Imran Khan, Hannia Naseem, Nasir Ahmad, Kashif Ahmad
cs.SI
cs.SI, cs.CL
This paper focuses on a very important societal challenge of water quality analysis. Being one of the key factors in the economic and social development of society, the provision of water and ensuring its quality has always remained one of the top priorities of public authorities. To ensure the quality of water, different methods for monitoring and assessing the water networks, such as offline and online surveys, are used. However, these surveys have several limitations, such as the limited number of participants and low frequency due to the labor involved in conducting such surveys. In this paper, we propose a Natural Language Processing (NLP) framework to automatically collect and analyze water-related posts from social media for data-driven decisions. The proposed framework is composed of two components, namely (i) text classification, and (ii) topic modeling. For text classification, we propose a merit-fusion-based framework incorporating several Large Language Models (LLMs) where different weight selection and optimization methods are employed to assign weights to the LLMs. In topic modeling, we employed the BERTopic library to discover the hidden topic patterns in the water-related tweets. We also analyzed relevant tweets originating from different regions and countries to explore global, regional, and country-specific issues and water-related concerns. We also collected and manually annotated a large-scale dataset, which is expected to facilitate future research on the topic.
[ -0.5354564189910889, -1.0207082033157349, 0.6294794082641602, 0.25576773285865784, -0.45831575989723206, 0.4425083100795746, 0.09898126870393753, -0.5984422564506531, 0.3003230690956116, 0.4728846848011017, -0.39586615562438965, -0.6399533152580261, -0.6820688843727112, 0.10704556852579117, -0.6417074799537659, 0.5524102449417114, -0.14218565821647644, 0.22815920412540436, 0.06279554218053818, -0.19634953141212463, -0.29190900921821594, 0.15531405806541443, -1.0173203945159912, -0.17757292091846466, 0.48173362016677856, 0.1610136330127716, 0.6080372333526611, 0.25495457649230957, 0.607915461063385, 0.36272525787353516, -0.3468068242073059, 0.25580111145973206, -0.4144298732280731, 0.015598144382238388, -0.5907735228538513, 0.15865014493465424, 0.232458233833313, 0.017365625128149986, 0.47349604964256287, 0.5089651346206665, 0.35964441299438477, 0.6068204045295715, 0.37464919686317444, 0.8904125690460205, -0.5091559886932373, 0.4966672360897064, -0.5449025630950928, -0.09069027751684189, 0.17955751717090607, -0.4688411355018616, 0.32318466901779175, -0.4668535888195038, 0.30136051774024963, -0.3636973798274994, 0.1152419000864029, -0.04099208116531372, 1.1087450981140137, 0.684956967830658, -0.08464299887418747, -0.3591943085193634, -0.8745041489601135, 0.9602423310279846, -0.6060682535171509, 0.04730643332004547, 0.5885418057441711, 0.332446813583374, 0.1429559886455536, -0.20660732686519623, -0.5106844902038574, 0.35868391394615173, -0.15501637756824493, 0.019096843898296356, 0.001561504788696766, -0.19851534068584442, -0.2588035762310028, 0.027788076549768448, -0.4740962088108063, -0.4560074508190155, -0.4956906735897064, 0.029287729412317276, 1.2285035848617554, -0.05611317604780197, 0.2323366403579712, -0.4120843708515167, -0.15873174369335175, 0.31737616658210754, -0.2984483242034912, 0.33445557951927185, 0.21543289721012115, 0.545009195804596, -0.2924909293651581, 0.4022889733314514, -0.36604318022727966, 0.5097469687461853, -0.3963513672351837, 0.13363893330097198, -0.04195692390203476, -0.5234684944152832, 0.016147969290614128, 0.07543175667524338, 0.8674015998840332, 0.21897494792938232, 0.214685320854187, 0.15057361125946045, -0.2675440013408661, 0.15416793525218964, 0.18201977014541626, -0.40447568893432617, -0.1513049453496933, 0.6545283198356628, -0.7048190832138062, -0.5149976015090942, 0.17253783345222473, -0.7015655636787415, -0.5182610154151917, -0.7359578013420105, 0.30364909768104553, 0.004996924661099911, -0.3036145269870758, -0.04002964869141579, -0.3258485794067383, -0.005706400144845247, 0.4040541350841522, -0.5314165353775024, 0.2933707535266876, 0.7713366150856018, 1.0406956672668457, -0.06359392404556274, 0.2115783393383026, 0.10332191735506058, 0.0217134952545166, -0.14882509410381317, 1.1235387325286865, -0.5147481560707092, -0.24273553490638733, 0.005236831493675709, -0.3503255546092987, 0.06789904087781906, -0.3086192011833191, 0.4999816119670868, -0.550835371017456, 0.05616291984915733, -0.32611319422721863, -0.5295358300209045, -0.15054583549499512, 0.26632821559906006, -0.781978189945221, 0.9423782825469971, -0.053061433136463165, -1.0369288921356201, 0.13805092871189117, -0.9551810622215271, -0.34406256675720215, 0.3315448462963104, -0.08729704469442368, -0.36618900299072266, -0.1710887998342514, 0.29746222496032715, 0.7280671000480652, -0.5431926846504211, 0.8040689826011658, -0.4884589612483978, -0.4873609244823456, -0.01843007653951645, -0.3041376769542694, 0.8817043900489807, 0.25305232405662537, -0.12124493718147278, 0.3622083067893982, -0.5617375373840332, -0.006780005991458893, 0.046714961528778076, -0.3025490343570709, -0.3647788465023041, 0.4766775071620941, 0.3467784821987152, 0.07981107383966446, 0.22175706923007965, -0.531979501247406, -0.3668314516544342, -0.08244549483060837, 0.8775070905685425, 0.6993628740310669, 0.49938127398490906, 0.2665422856807709, -0.5232700705528259, 0.033724769949913025, -0.34804028272628784, 0.49238061904907227, 0.3237978219985962, -0.8533357381820679, -0.499683141708374, -0.1377382129430771, 0.35503241419792175, 0.6067293882369995, -1.0769176483154297, 0.7797439098358154, -0.7055813074111938, -0.7601852416992188, -0.5995271801948547, 0.11789927631616592, -0.25788891315460205, 0.18683134019374847, 0.42921584844589233, 0.25482311844825745, -0.44820088148117065, -0.6553648114204407, -0.12286169081926346, -0.4203258752822876, 0.17123231291770935, 0.3851062059402466, 0.5668290853500366, -0.340780645608902, 1.3925986289978027, -0.5252833962440491, -0.21221596002578735, -0.3872770369052887, 0.26550617814064026, 0.23379074037075043, 0.11909955739974976, 0.6078888177871704, -1.3769842386245728, -0.449900358915329, -0.3241972327232361, -0.6275324821472168, -0.3347608745098114, 0.1225130558013916, -0.38388872146606445, -0.12116800248622894, 0.295906126499176, -0.42190346121788025, 0.49654507637023926, 0.6008647680282593, -0.32759130001068115, 0.1588115394115448, 0.20557250082492828, 0.3597058951854706, -1.0473928451538086, 0.20904193818569183, 0.5930890440940857, -0.03325383737683296, -0.5472267866134644, -0.22971074283123016, -0.2608419954776764, -0.4981636703014374, -0.25681939721107483, 1.1012158393859863, 0.2577400505542755, 0.10259205102920532, -0.4032711982727051, -0.15999606251716614, 0.04419076815247536, -0.07658809423446655, 0.28113165497779846, 0.17381198704242706, 0.2747277617454529, -0.6309887766838074, 0.5989732146263123, 0.11831829696893692, -0.1315598338842392, 0.25647062063217163, -0.8097792863845825, -0.31154701113700867, -0.23046235740184784, 0.059162065386772156, -0.9958818554878235, -0.06917962431907654, 0.242280513048172, -0.7383450269699097, -0.15921585261821747, 0.0348723903298378, -0.6468754410743713, -0.4665866792201996, -0.3888995051383972, -0.1638883501291275, -0.1319190412759781, -0.37817108631134033, 0.6009776592254639, 0.7453210949897766, -0.5196544528007507, -0.03682713210582733, -0.43124234676361084, 0.14651302993297577, -0.22591039538383484, -0.7783069014549255, 0.2569650709629059, 0.11146970838308334, -0.507793128490448, 0.51170814037323, -0.12889781594276428, -0.5563777089118958, 0.3548007011413574, 0.15822499990463257, 0.10013091564178467, 0.3927329182624817, 0.0025493972934782505, 0.2241540253162384, -0.1431134194135666, 0.19642822444438934, 0.040040161460638046, 0.6014717817306519, 0.16744668781757355, 0.0119416369125247, -0.5829218029975891, 0.4523029029369354, 0.5278250575065613, -0.1957198977470398, 0.5124919414520264, 0.5369533896446228, -0.7774903774261475, -0.17156480252742767, -0.3450956642627716, -0.09757319837808609, -0.5086872577667236, -0.08642833679914474, 0.18640929460525513, -0.9485365152359009, 0.4908857047557831, 0.06903862953186035, 0.19084766507148743, 0.42656946182250977, 0.10930900275707245, -0.613669753074646, 0.6790286302566528, 0.6684923768043518, -0.5438064932823181, 0.4955086410045624, -0.4245404005050659, 0.7007284760475159, -0.08036761730909348, 0.028758451342582703, -0.7253817915916443, -0.37554922699928284, -0.6484696269035339, -0.08572272211313248, 0.13293185830116272, -0.12396864593029022, -0.15788336098194122, 0.32792800664901733, -0.5936051607131958, 0.10773254185914993, 0.49512243270874023, 0.06645537167787552, 0.11726850271224976, 0.08422055840492249, 0.3975599706172943, -0.009393572807312012, -0.6034507155418396, -0.9480128288269043, 0.4252000153064728, 0.34456726908683777, 0.32027390599250793, -0.12511277198791504, 1.0368905067443848, 0.7976465821266174, 0.48324352502822876, -0.6839317083358765, 0.6492428779602051, -0.007092264015227556, -0.7695435285568237, -0.6222538948059082, -0.8457101583480835, -0.949550211429596, -0.026301342993974686, -0.4093312621116638, -0.2868606448173523, 0.15995708107948303, -0.19253787398338318, -0.43522191047668457, 0.25712475180625916, -0.44214850664138794, 0.42477619647979736, -0.29331377148628235, -0.4067586660385132, -0.4369240403175354, -0.3333207368850708, 0.19923630356788635, -0.24720270931720734, 0.6581692695617676, -0.6179381012916565, 0.11040192097425461, 0.45091772079467773, -0.3181185722351074, 0.4868942201137543, -0.3118129372596741, -0.023989778012037277, 0.5877199172973633, -0.4186256229877472, -0.07451050728559494, 0.19401496648788452, -0.21741780638694763, 0.4978388845920563, 0.00071378902066499, -0.4416392743587494, -0.47857344150543213, 0.5960372686386108, -0.8158944249153137, -0.2586238980293274, -0.39025118947029114, -0.04039473459124565, -0.33052194118499756, -0.07708759605884552, -0.040075331926345825, 0.04929905757308006, -0.08118899166584015, 0.012565046548843384, 0.3237890899181366, -0.35573434829711914, 0.7549593448638916, 0.22585543990135193, 0.142398864030838, -0.40292108058929443, 1.1356048583984375, 0.5692973732948303, -0.2102620154619217, 0.5300225019454956, 0.5628740787506104, -0.3994370102882385, -0.5579257607460022, -0.11542432010173798, 0.09647520631551743, -0.20023490488529205, -0.4060312509536743, -0.436811238527298, -0.5253190994262695, -0.31668323278427124, -0.08127344399690628, -0.2377994954586029, 0.017400307580828667, -0.47137749195098877, -0.13675467669963837, 0.500975489616394, 0.5894246101379395, -0.13424742221832275, -0.1431182622909546, -1.309152364730835, 0.6445513367652893, 0.24137505888938904, 0.3608371913433075, 0.008946755900979042, 0.08654528111219406, -0.11274611204862595, 0.268572598695755, -0.29414498805999756, -0.7855768203735352, 0.6145637631416321, -0.07282935827970505, 0.4193004369735718, 0.45612651109695435, 0.3866810202598572, 0.40441828966140747, -0.10472872853279114, 0.6919204592704773, -0.10927226394414902, -0.8968095183372498, 0.928341805934906, -0.6152966022491455, 0.05510493367910385, 0.8462280631065369, 0.5017569065093994, -0.5842870473861694, -0.43705499172210693, -0.5579954385757446, -1.1288127899169922, 0.30697882175445557, 0.4310961067676544, 0.2551549971103668, 0.03176197409629822, 0.19426272809505463, -0.21435922384262085, 0.2479172796010971, -0.39978310465812683, -0.17957381904125214, -0.12824413180351257, -0.25133180618286133, 0.3178313970565796, -0.26992207765579224, 0.2203247994184494, -0.5907862186431885, 0.7909303307533264, 0.23057128489017487, 0.013693442568182945, 0.16520752012729645, 0.19464391469955444, 0.0567651204764843, 0.16761234402656555, 0.11739689111709595, 0.6887151002883911, -0.09894320368766785, -0.08086888492107391, -0.10105280578136444, -0.3764999508857727, 0.10670812427997589, 0.17246127128601074, -0.6596876382827759, 0.331097811460495, 0.36123818159103394, 0.41840142011642456, 0.2299291044473648, -0.5799429416656494, 0.25674203038215637, -0.28929343819618225, -0.1458664983510971, -0.20637714862823486, -0.03332072123885155, 0.3810146450996399, 0.2499418556690216, 0.8306097984313965, -0.09178172051906586, 0.2655114531517029, -0.4638720154762268, -0.005956051871180534, 0.036454394459724426, -0.5362702012062073, 0.0358353853225708, 0.32960399985313416, 0.6659468412399292, -0.20632199943065643, 0.37500444054603577, -0.36020728945732117, -0.4680681824684143, 0.47450196743011475, -0.5190712809562683, 0.6649989485740662, -0.1336352825164795, 0.44351378083229065, 0.5370228290557861, 0.0741223692893982, 0.004106542095541954, 0.7122742533683777, -0.14038880169391632, -1.0126004219055176, -0.4525772035121918, -0.9311114549636841, -0.2500605881214142, 0.3930532932281494, -0.5453746914863586, 0.2554335296154022, -0.7197279334068298, -0.5556032061576843, 0.27047643065452576, 0.4123159945011139, -0.35590285062789917, 0.29509493708610535, 0.008862352930009365, 0.6524560451507568, -1.1150834560394287, 0.36084821820259094, 0.6816824674606323, 0.0649440810084343, -0.6919978260993958, -0.038774967193603516, -0.028085937723517418, -0.2583175003528595, 0.3788926601409912, 0.20991747081279755, -0.22282065451145172, -0.04112682864069939, -0.9281513690948486, -0.989269495010376, 0.9647675156593323, 0.053447045385837555, -0.31258678436279297, 0.4275267422199249, 0.3111247420310974, 0.6663697957992554, -0.013617784716188908, -0.2387211173772812, 0.48425576090812683, 0.80376797914505, -0.054731644690036774, -0.849565863609314, -0.2230597585439682, -0.6274787187576294, 0.3520898222923279, 0.06854647397994995, -0.6186693906784058, 0.18823611736297607, 0.09773574024438858, -0.3876174986362457, -0.1720496565103531, 0.35482585430145264, 0.5626769661903381, 0.48690715432167053, 0.3907674551010132, 0.32554179430007935, 0.5314021110534668, -0.3147766888141632, 0.8494144082069397, -0.28837502002716064, 0.5281286239624023, 0.5601593255996704, -0.39330703020095825, 1.022500991821289, 0.4750390350818634, -0.19145673513412476, -0.13211844861507416, 1.0584914684295654, -0.21750874817371368, 0.7147394418716431, 0.07369737327098846, -0.20185616612434387, -0.08856075257062912, -0.6323339343070984, 0.0454520657658577, 0.41815516352653503, 0.5056620836257935, -0.2566322386264801, -0.42644861340522766, -0.17894387245178223, -0.41199126839637756, 0.3718245029449463, -0.5614869594573975, 0.7026402950286865, 0.23347170650959015, -0.1903599500656128, -0.019745944067835808, 0.17088380455970764, 0.9593601822853088, -0.19772371649742126, -0.2072937935590744, 0.14087623357772827, -0.1896592676639557, -0.2910856008529663, -1.0217924118041992, 0.780249834060669, 0.012666305527091026, -0.24992984533309937, -0.6346437335014343, 1.0019893646240234, -0.12670202553272247, -0.6153201460838318, 0.6646822094917297, 0.6514583230018616, -0.09564434736967087, -0.4358482360839844, -1.139726161956787, 0.039519697427749634, -0.05185285583138466, -0.152835875749588, -0.2056494951248169, 0.18130263686180115, -0.15318353474140167, 0.9574152827262878, 0.8177071213722229, 0.3889455795288086, -0.3074887692928314, 0.38508763909339905, 0.6798655986785889, -0.4251008927822113, -0.46319398283958435, -0.8014454245567322, 0.3585265874862671, -0.4683241546154022, -0.13964062929153442, 0.4068945348262787, 0.5273135304450989, 0.6470432877540588, 0.27811920642852783, 1.15773606300354, -0.08763034641742706, 0.7986922264099121, -0.04143514111638069, 1.2140353918075562, -0.32318228483200073, 0.23729096353054047, -0.2700406312942505, -0.9875810742378235, -0.1565185934305191, 0.8722436428070068, -0.4897312521934509, -0.21087908744812012, 0.19902196526527405, 0.3890388607978821, 0.24067196249961853, 0.41323691606521606, 0.08990181237459183, -0.3824203610420227, 0.4274093508720398, 0.07986626774072647, 0.7438998818397522, -0.2428290694952011, 0.26661360263824463, -0.24143312871456146, 0.19080060720443726, -0.155782088637352, -0.38307878375053406, -0.7254932522773743, -0.7124965190887451, -0.43969571590423584, 0.03531283140182495, 0.15767371654510498, 0.9342854022979736, 0.6077461838722229, -0.9245941638946533, 0.02405131608247757, -0.2350776344537735, 0.3946078419685364, 0.1223517656326294, -0.3253558874130249, 0.5502048134803772, -0.008344207890331745, -0.565561830997467, -0.13882328569889069, 0.30870673060417175, 0.07581725716590881, -0.32962316274642944, 0.08170559257268906, -0.39498552680015564, -0.03971942886710167, 0.6587439179420471, 0.024662276729941368, -0.2343290150165558, -0.2670493721961975, -0.08327416330575943, -0.27557921409606934, -0.10360102355480194, 0.31742507219314575, -0.40755486488342285, 0.012394657358527184, 0.7849578261375427, 0.8002424240112305, 0.3599989116191864, 0.10951697826385498, 0.29707396030426025, -0.5148659944534302, -0.33468207716941833, 0.5849952697753906, 0.44429418444633484, 0.6954100728034973, -0.31655219197273254, 0.5617912411689758, 0.2848750352859497, -0.23334109783172607, -0.28196850419044495, -0.1478685736656189, -0.7276983261108398, -0.5580925345420837, 1.4659721851348877, 0.08871953934431076, -0.12958045303821564, -0.6683180332183838, -0.19210569560527802, 0.293609619140625, -0.6226844191551208, 1.2584929466247559, 1.1130690574645996, 0.023520881310105324, -0.1336900144815445, -0.7804185748100281, 0.18897652626037598, -0.24729111790657043, -1.1287187337875366, -0.3181201219558716, 0.22907154262065887, 0.31059420108795166, 0.38275831937789917, 0.45141148567199707, 0.08508376032114029, -0.09812197089195251, -0.44801321625709534, -0.1702953428030014, 0.34783434867858887, -0.18498694896697998, 0.06032753735780716, 0.049797460436820984, -0.44301214814186096, 0.0064963046461343765 ]
http://arxiv.org/abs/2404.14963v3
http://arxiv.org/pdf/2404.14963v3
Achieving >97% on GSM8K: Deeply Understanding the Problems Makes LLMs Better Solvers for Math Word Problems
2024-04-23T12:16:05
2024-05-29T15:27:53
Qihuang Zhong, Kang Wang, Ziyang Xu, Juhua Liu, Liang Ding, Bo Du, Dacheng Tao
cs.CL
cs.CL, cs.AI
Chain-of-Thought (CoT) prompting has enhanced the performance of Large Language Models (LLMs) across various reasoning tasks. However, CoT still falls short in dealing with complex math word problems, as it usually suffers from three pitfalls: semantic misunderstanding errors, calculation errors and step-missing errors. Prior studies involve addressing the calculation errors and step-missing errors, but neglect the semantic misunderstanding errors, which is the major factor limiting the LLMs' performance. To this end, we propose a simple-yet-effective method, namely Deeply Understanding the Problems (DUP), to improve the LLMs' math problem-solving ability by addressing semantic misunderstanding errors. The core of our method is to encourage the LLMs to deeply understand the problems and extract the key problem-solving information used for better reasoning. Extensive experiments on 10 diverse reasoning benchmarks show that our DUP method consistently outperforms the other counterparts by a large margin. More encouragingly, DUP achieves a new SOTA result on the GSM8K benchmark, with an accuracy of 97.1% under zero-shot setting.
[ -0.4646259844303131, -0.6820763945579529, 0.8725236058235168, 0.37504318356513977, -0.39912325143814087, 0.41512978076934814, -0.10773549973964691, -0.15200340747833252, -0.20831231772899628, 0.5133429169654846, -0.6498144268989563, -0.6406972408294678, -0.9876567125320435, 0.020354146137833595, 0.11101270467042923, 0.7221769690513611, -0.3935881555080414, 0.3083098828792572, -0.17156575620174408, -0.12226039171218872, -0.6522030234336853, -0.434231698513031, -0.5751982927322388, -0.5863291621208191, 0.28160595893859863, 0.5565546751022339, 0.6255258917808533, 0.36490851640701294, 0.7665827870368958, 0.2280302792787552, -0.36674344539642334, 0.5482138395309448, -0.6271899938583374, -0.030778421089053154, -0.08704320341348648, -0.736962616443634, -0.37498244643211365, -0.3326662480831146, 0.41936299204826355, 0.9700284004211426, -0.13989059627056122, -0.0024081554729491472, 0.04136525094509125, 1.2726105451583862, -0.7973077893257141, 0.24204985797405243, -0.8335720300674438, 0.23718227446079254, 0.047464534640312195, -0.28762367367744446, -0.26825612783432007, -0.11954636871814728, -0.044893778860569, -0.6739760637283325, 0.10376817733049393, -0.2640882134437561, 0.3926340639591217, 0.3943963646888733, -0.3878333866596222, -0.5937302708625793, -0.678977906703949, 0.903807520866394, -0.6427614092826843, 0.29717713594436646, 0.5449650883674622, 0.19216014444828033, -0.6397162675857544, -0.09439721703529358, -0.5117543339729309, 0.03749809414148331, 0.3853648900985718, 0.21718277037143707, 0.07336179912090302, 0.11029687523841858, 0.7556101083755493, 0.45976248383522034, -0.3535834848880768, -0.4299485385417938, -0.4372563660144806, -0.10055459290742874, 0.5894373655319214, 0.4187445342540741, 0.261098176240921, -0.06999003142118454, -0.3579249978065491, 0.08570078015327454, -0.9023313522338867, 0.030805010348558426, 0.18150968849658966, -0.1586928814649582, -0.015160588547587395, 0.5561754107475281, -0.15626105666160583, 0.7319911122322083, -0.22461916506290436, -0.3797283172607422, 0.09786181896924973, -0.3920038640499115, -0.3211182951927185, 0.07379060238599777, 0.38456377387046814, 0.11791273206472397, 0.38180938363075256, 0.04028075188398361, -0.2671400010585785, 0.4321098327636719, 0.06795957684516907, -0.46614888310432434, -0.09858797490596771, 0.12412034720182419, 0.03411464765667915, -0.001550554297864437, -0.13800238072872162, -0.35775601863861084, -0.39016884565353394, -0.5069644451141357, 0.5383988618850708, -0.4114067554473877, -0.16565252840518951, 0.7634449601173401, 0.04922844097018242, 0.15622977912425995, 0.5178036093711853, -0.624553918838501, 0.25619521737098694, 1.011123538017273, 0.8041383624076843, 0.01743919961154461, -0.25992506742477417, -0.4753221273422241, 0.0776834636926651, -0.6707176566123962, 0.9539008736610413, -0.35418859124183655, -0.523019015789032, -0.27182966470718384, -0.44265544414520264, -0.23328465223312378, -0.762924313545227, 0.693844199180603, -0.35167214274406433, -0.0795719176530838, -0.5806324481964111, -0.7090144753456116, -0.12998248636722565, 0.4413749575614929, -0.4620620310306549, 0.9427210092544556, 0.07810061424970627, -0.6203691363334656, -0.040371015667915344, -0.6706121563911438, -0.1984270066022873, -0.18134328722953796, -0.18695713579654694, -0.19690948724746704, 0.6000129580497742, 0.3372800648212433, 0.1726425141096115, -0.3665551543235779, 0.24582132697105408, -0.09093649685382843, -0.5240747928619385, 0.21035856008529663, -0.3556453287601471, 0.6383987665176392, 0.2867223918437958, -0.3203125298023224, -0.21021603047847748, -0.6353545784950256, 0.19993872940540314, 0.27057260274887085, -0.15903422236442566, -0.33535876870155334, -0.3165975511074066, -0.6422174572944641, 0.23108048737049103, 0.10799280554056168, -0.4611578583717346, 0.24131466448307037, -0.5312044024467468, 0.23442776501178741, 0.8154819011688232, -0.2793593406677246, 0.32469525933265686, -0.2407693713903427, 0.5937595963478088, 0.002203627023845911, 0.08720239996910095, -0.24453839659690857, -0.6791284680366516, -0.7852866649627686, 0.041013848036527634, 0.3696243464946747, 0.4466651380062103, -0.7520381212234497, 0.26031750440597534, -0.05516766384243965, -0.3799733817577362, -0.5082204937934875, 0.3522844612598419, 0.6195243000984192, 0.6412174701690674, 0.328634649515152, -0.21306045353412628, -0.27151355147361755, -0.5861467123031616, -0.5913770794868469, 0.2134539932012558, 0.05431097373366356, 0.22402267158031464, 0.4095641076564789, -0.2081056386232376, 0.7017433047294617, -0.9020461440086365, -0.3170144259929657, -0.4177917242050171, 0.3197900354862213, 0.18817757070064545, 0.21139690279960632, -0.13884025812149048, -0.7046351432800293, -0.510466992855072, -0.13841062784194946, -0.7480367422103882, -0.3306591510772705, 0.15440037846565247, -0.37100324034690857, 0.1584434062242508, 0.08352350443601608, -0.6260267496109009, 0.6745313405990601, 0.47509709000587463, -0.4382769763469696, 0.6242890357971191, -0.2480999380350113, 0.018075596541166306, -0.9890417456626892, -0.3453594744205475, -0.13482093811035156, -0.12288466840982437, -0.47204849123954773, 0.009541459381580353, 0.012482617981731892, -0.12439568340778351, -0.4317692220211029, 0.24051029980182648, -0.6518078446388245, -0.18864597380161285, -0.42755213379859924, 0.38324856758117676, 0.20770734548568726, 0.4299279749393463, -0.3600601553916931, 0.939550518989563, 0.3367057144641876, -0.574768602848053, 0.4226258099079132, 0.19356651604175568, -0.5080457329750061, 0.3588489890098572, -0.4533858001232147, 0.3327467739582062, -0.13937632739543915, 0.3390708863735199, -0.9999626874923706, 0.11752472072839737, 0.07250946015119553, -0.5084903240203857, -0.06658776104450226, -0.22587411105632782, -0.444580078125, -0.24526727199554443, -0.3900482952594757, 0.5862680077552795, 0.4318566918373108, -0.5030511617660522, 0.6699238419532776, 0.39067861437797546, -0.04107934609055519, -0.9014943242073059, -0.5452574491500854, 0.047848135232925415, 0.0020823245868086815, -0.9154261946678162, 0.21681879460811615, -0.09223368763923645, -0.25755906105041504, -0.09598756581544876, -0.5970923900604248, 0.04721292480826378, 0.19786518812179565, -0.03112504631280899, 0.30132660269737244, -0.08456330746412277, 0.22090670466423035, -0.10183058679103851, -0.6762319207191467, 0.31238386034965515, -0.17834056913852692, 0.9250292181968689, -0.28489693999290466, -0.5549095869064331, -0.36884748935699463, 0.275578111410141, 0.4011124074459076, -0.16827550530433655, 0.44534018635749817, 0.2595714032649994, -0.42002683877944946, -0.2926519215106964, -0.5929902791976929, 0.07005926966667175, -0.4391387403011322, 0.2791098654270172, -0.7825883626937866, -0.6567637920379639, 0.618373692035675, -0.4113943874835968, -0.12382666021585464, 0.328337699174881, 0.3291183412075043, -0.03740772232413292, 1.1340830326080322, 0.552273154258728, -0.017374170944094658, 0.18529009819030762, -0.6021912097930908, 0.4547494947910309, -1.1625845432281494, -0.17592787742614746, -0.3190666735172272, -0.27167636156082153, -0.34444156289100647, -0.6923583149909973, 0.4414704740047455, 0.4864162504673004, -0.00011187697236891836, 0.2047063261270523, -0.39711302518844604, 0.8020238876342773, 0.1422186940908432, -0.008900477550923824, 0.6243982911109924, 0.25003355741500854, -0.2195035219192505, -0.12494233250617981, -0.5841357707977295, -0.49334606528282166, 1.0950273275375366, 0.17032490670681, 1.1595062017440796, 0.07014588266611099, 0.7210366129875183, -0.13853470981121063, 0.11767668277025223, -0.9003608226776123, 0.550237238407135, -0.1307060867547989, -0.3280467987060547, -0.09437575936317444, -0.7907346487045288, -0.8645474314689636, 0.4256950616836548, 0.12728437781333923, -0.6532673835754395, -0.24174991250038147, 0.22288882732391357, -0.258161723613739, 0.37204664945602417, -0.7608681917190552, 0.6661714315414429, -0.24822834134101868, -0.16957461833953857, -0.39283931255340576, -0.25822433829307556, 0.38233354687690735, -0.04830048605799675, 0.31245800852775574, -0.5231165289878845, -0.17321601510047913, 0.7402309775352478, -0.5919323563575745, 0.3391779661178589, -0.03802070766687393, -0.4378257095813751, 0.4726715087890625, 0.2810394763946533, 0.6251124739646912, -0.05343269929289818, 0.09694494307041168, 0.22482337057590485, -0.3062344491481781, -0.5628060698509216, -0.9912127256393433, 0.7501703500747681, -0.5616124868392944, -0.7462210059165955, -0.3836926817893982, -0.6939775943756104, -0.4837634563446045, -0.08896663784980774, 0.25544166564941406, 0.6550179123878479, 0.4053953289985657, -0.05227546766400337, 0.8340945243835449, -0.04900625720620155, 0.18906821310520172, 0.3427439033985138, -0.3466934859752655, -0.5545884370803833, 0.9206672310829163, 0.4155249297618866, 0.5452781319618225, 0.1346299797296524, 0.4779353439807892, -0.4052969515323639, -0.3921792209148407, -0.597601056098938, 0.36129891872406006, -0.9252028465270996, -0.25784221291542053, -0.7211229205131531, -0.3083189129829407, -0.033018823713064194, -0.26448655128479004, -0.522149920463562, -0.43738216161727905, 0.14210690557956696, 0.04365859925746918, 0.23562732338905334, 0.8427037000656128, 0.10538844764232635, 0.2744835913181305, -0.8379119634628296, 0.42355814576148987, 0.18217873573303223, 0.4684039056301117, 0.14457958936691284, -0.6779630184173584, -0.10144210606813431, 0.051233433187007904, -0.5150539875030518, -0.7408673167228699, 0.19529065489768982, -0.32492440938949585, 0.19846950471401215, 0.18102604150772095, -0.03725485876202583, 1.0867427587509155, -0.31393954157829285, 0.47912901639938354, 0.32386523485183716, -1.2534397840499878, 0.5035339593887329, -0.013357219286262989, 0.49849942326545715, 0.42908650636672974, 0.2905590832233429, -0.5485634803771973, -0.22411660850048065, -0.6775263547897339, -0.7170817852020264, 0.5773583650588989, 0.430379182100296, 0.12671484053134918, 0.2646889090538025, 0.28066322207450867, 0.09944720566272736, 0.16022373735904694, -0.3888947665691376, -0.2229645848274231, 0.36958128213882446, -0.3414556682109833, 0.08321843296289444, -0.41046521067619324, -0.03216763213276863, -0.2801969349384308, 0.6511641144752502, -0.10663838684558868, 0.32445213198661804, 0.34175190329551697, -0.2227221131324768, -0.33646073937416077, 0.424995481967926, 0.9456002116203308, 1.3595728874206543, 0.044692039489746094, 0.4637070298194885, 0.5597565770149231, -0.7498205304145813, 0.23267917335033417, -0.17199933528900146, 0.021511489525437355, -0.07379714399576187, 0.34368738532066345, 0.6017670035362244, 0.059186581522226334, -0.6764276027679443, 0.47781798243522644, -0.10831821709871292, -0.21680450439453125, -0.17047686874866486, 0.12523417174816132, 0.404991090297699, -0.15727809071540833, 0.4445748031139374, 0.06254814565181732, 0.17055444419384003, -0.39255768060684204, -0.12528757750988007, 0.40356630086898804, -0.2323923259973526, -0.14386333525180817, 0.03708750754594803, 0.1427059918642044, -0.5036916732788086, 0.3610794246196747, -0.20548763871192932, -1.0507527589797974, 0.8739645481109619, 0.8412502408027649, 0.6052030324935913, -0.09197309613227844, 0.02836720086634159, 0.14373338222503662, 0.1514553725719452, -0.3405401408672333, 0.6917930245399475, -0.08446421474218369, -0.8501879572868347, -0.8217622637748718, -0.3533112406730652, -0.5701901316642761, 0.2519179582595825, -0.4895009696483612, 0.23642222583293915, -0.6224216222763062, -0.02072322368621826, -0.12459103763103485, 0.29899126291275024, -0.522767961025238, 0.18856139481067657, 0.1489730179309845, 0.9852842688560486, -0.5281058549880981, 0.32629942893981934, 0.5837539434432983, -0.051037825644016266, -1.168271541595459, -0.004694038070738316, -0.22259502112865448, -1.0904792547225952, 0.6199172139167786, 0.4448937773704529, -0.7078123688697815, 0.05486386641860008, -0.4372452199459076, -0.7410672307014465, 0.7771153450012207, 0.5555715560913086, -0.8652934432029724, 0.35523611307144165, 0.2621358036994934, 0.2759477198123932, -0.302791565656662, 0.30481693148612976, 0.4568040072917938, 0.3448130190372467, 0.23516611754894257, -0.8205460906028748, -0.045049335807561874, -0.008139029145240784, -0.03901275247335434, 0.670094907283783, -0.5751085877418518, 0.6421240568161011, -0.5510233640670776, -0.15034668147563934, -0.3425118029117584, 0.37349429726600647, 0.593429684638977, 0.8818091154098511, 0.663663923740387, 0.9337407350540161, 0.8070243000984192, -0.09715896844863892, 0.9359511733055115, -0.13482694327831268, 0.6077597737312317, 1.107887864112854, -0.20171618461608887, 0.679473876953125, 0.3533286154270172, -0.4458851218223572, 0.29487937688827515, 0.4200505018234253, 0.40126165747642517, 0.2807236313819885, 0.5364981889724731, -0.5949556231498718, -0.5192410945892334, 0.03256828710436821, -0.6258296370506287, 0.33900997042655945, 0.49127840995788574, -0.06526271253824234, -0.3280995190143585, -0.17533370852470398, 0.2477674037218094, 0.11372930556535721, -0.5087922215461731, 0.6670147776603699, 0.6469385623931885, -0.5715076327323914, 0.7833936214447021, -0.06394604593515396, 0.5412565469741821, -0.4431101977825165, -0.21528856456279755, -0.34213337302207947, 0.31856635212898254, -0.30380260944366455, -0.9668270349502563, 0.3855760395526886, 0.08116224408149719, -0.11856655776500702, 0.1446702629327774, 0.9035736322402954, -0.3611834943294525, -0.675482988357544, 0.29064658284187317, 0.5813661813735962, 0.28910398483276367, -0.32549500465393066, -0.7446472644805908, 0.28428375720977783, -0.068585604429245, 0.14122788608074188, 0.1528286635875702, 0.6753765344619751, 0.13462181389331818, 0.8553861379623413, 0.7237441539764404, 0.13282260298728943, 0.02398197166621685, 0.13793817162513733, 1.0294398069381714, -1.0198932886123657, -0.473557710647583, -1.2041414976119995, 0.2986239194869995, -0.1413361132144928, -0.4161321222782135, 0.5841549634933472, 0.5191362500190735, 1.0348477363586426, -0.025149021297693253, 0.6121167540550232, 0.527366578578949, 0.2500568628311157, -0.7207817435264587, 0.32330530881881714, -0.4300702214241028, 0.5400354862213135, -0.20805957913398743, -0.9595081210136414, -0.22676125168800354, 0.8053869605064392, -0.7164379954338074, -0.13200171291828156, 1.0477224588394165, 0.6172963976860046, 0.04665843024849892, 0.25082069635391235, 0.5133463144302368, -0.0009775767102837563, 0.13951463997364044, 1.0191744565963745, 1.306713581085205, -0.5925492644309998, 0.7030636668205261, -0.2802138328552246, -0.08755455166101456, -0.03066079504787922, -0.6836101412773132, -0.779550313949585, -0.08891769498586655, -0.256146103143692, -0.43117567896842957, -0.012091214768588543, 1.0682216882705688, 0.3391255736351013, -0.5552611947059631, -0.1106545627117157, -0.3311028480529785, 0.6566480398178101, 0.11454328894615173, -0.16557011008262634, 0.3352245092391968, -0.5778785943984985, -0.4497455656528473, 0.2192055583000183, 0.546819269657135, -0.18205401301383972, -0.15052162110805511, -0.16474753618240356, 0.17574305832386017, 0.20646658539772034, 0.6200125813484192, -0.20357629656791687, -0.7130669355392456, 0.07112322747707367, -0.03992065414786339, -0.2402081936597824, 0.21132014691829681, 1.1797648668289185, -0.7002713084220886, 0.5386664271354675, 0.47156643867492676, 0.9775453209877014, 0.3233393132686615, 0.13159064948558807, 0.44112807512283325, 0.02347230724990368, -0.16040201485157013, 0.04146263748407364, 0.31264013051986694, 0.34786689281463623, -0.5428767800331116, 0.6202824115753174, 0.4954165518283844, -0.4846123456954956, -0.8184298276901245, 0.4311464726924896, -0.82205730676651, -0.11807160824537277, 1.0756683349609375, -0.2102964073419571, -0.5488597750663757, -0.2559485137462616, -0.4541287422180176, 0.025757204741239548, -0.32945072650909424, 0.9155795574188232, 0.8006408214569092, -0.23987331986427307, 0.05369171127676964, -0.6230688691139221, 0.4678664207458496, 0.9406328201293945, -0.8195347189903259, 0.07435236871242523, 0.06507832556962967, 0.325977087020874, 0.11783912032842636, 0.8319280743598938, -0.26389336585998535, 0.25156015157699585, -0.07710437476634979, -0.1830429881811142, -0.03770959749817848, -0.34060412645339966, -0.29759708046913147, -0.021011320874094963, 0.08519238978624344, -0.15574754774570465 ]
http://arxiv.org/abs/2404.14946v1
http://arxiv.org/pdf/2404.14946v1
StoryTTS: A Highly Expressive Text-to-Speech Dataset with Rich Textual Expressiveness Annotations
2024-04-23T11:41:35
2024-04-23T11:41:35
Sen Liu, Yiwei Guo, Xie Chen, Kai Yu
cs.SD
cs.SD, cs.CL, eess.AS
While acoustic expressiveness has long been studied in expressive text-to-speech (ETTS), the inherent expressiveness in text lacks sufficient attention, especially for ETTS of artistic works. In this paper, we introduce StoryTTS, a highly ETTS dataset that contains rich expressiveness both in acoustic and textual perspective, from the recording of a Mandarin storytelling show. A systematic and comprehensive labeling framework is proposed for textual expressiveness. We analyze and define speech-related textual expressiveness in StoryTTS to include five distinct dimensions through linguistics, rhetoric, etc. Then we employ large language models and prompt them with a few manual annotation examples for batch annotation. The resulting corpus contains 61 hours of consecutive and highly prosodic speech equipped with accurate text transcriptions and rich textual expressiveness annotations. Therefore, StoryTTS can aid future ETTS research to fully mine the abundant intrinsic textual and acoustic features. Experiments are conducted to validate that TTS models can generate speech with improved expressiveness when integrating with the annotated textual labels in StoryTTS.
[ 0.005635580979287624, -0.5921556949615479, 0.3102715313434601, 0.6822353601455688, -0.41534698009490967, 0.5772280097007751, -0.6565962433815002, -0.6179124712944031, 0.42750051617622375, 0.38659265637397766, -0.2800365090370178, -0.5609766840934753, -0.5113813281059265, 0.12456189095973969, -0.4984581172466278, 1.2291350364685059, -0.004133415874093771, -0.3357597291469574, 0.5687418580055237, -0.29433807730674744, -0.3070043623447418, -0.3239039480686188, -0.2963055372238159, 0.09258026629686356, 0.8029518127441406, 0.17660970985889435, 0.7363365888595581, 0.9047958850860596, 0.27708354592323303, 0.3117288053035736, -0.2641522288322449, 0.23828007280826569, -0.4239898920059204, 0.42827120423316956, -0.14048124849796295, -0.11748021841049194, -0.18448269367218018, -0.02694167196750641, 0.6133502125740051, 0.2576414942741394, -0.08301988244056702, 0.33037543296813965, 0.07685238122940063, 0.22686491906642914, -0.17004351317882538, 0.2525979280471802, -0.14825618267059326, 0.13966742157936096, -0.48468101024627686, -0.43921124935150146, -0.714464008808136, -0.48150840401649475, 0.525098443031311, -0.8301602005958557, -0.08430742472410202, -0.21915365755558014, 0.6546137928962708, 0.09388311207294464, -0.602929413318634, -0.1051129549741745, -0.916197657585144, 0.5922592282295227, -0.39071616530418396, 0.2590433359146118, 0.09563630074262619, 0.5630968809127808, 0.6183761358261108, -1.0513123273849487, -0.45367878675460815, -0.34234532713890076, -0.346773236989975, 0.18076032400131226, 0.09135551005601883, -0.14361748099327087, 0.25300586223602295, 0.43192750215530396, -0.7136104702949524, 0.03594205901026726, -0.013951985165476799, -0.18516239523887634, 0.7181417346000671, 0.2081713080406189, 0.451866090297699, -0.36388474702835083, -0.5800855755805969, -0.012802757322788239, -0.49406278133392334, 0.11501012742519379, 0.006155224051326513, 0.6257138252258301, -0.4395780861377716, 0.7737419009208679, -0.1492096483707428, 0.5507143139839172, -0.4735442101955414, 0.032301969826221466, 0.31663453578948975, -0.35918301343917847, -0.108378566801548, 0.4208088517189026, 0.92681884765625, 0.29020604491233826, 0.367686927318573, -0.29393330216407776, -0.21439331769943237, -0.24241438508033752, -0.16236835718154907, -0.8323105573654175, 0.13951721787452698, 0.11879788339138031, -0.4455569386482239, -0.5489110350608826, -0.17280983924865723, -0.5542077422142029, -0.7772504091262817, -0.5051179528236389, 0.3882404565811157, -0.6291680335998535, -0.586540162563324, -0.17947278916835785, -0.3361453711986542, 0.11261191964149475, 0.3021168112754822, -0.9221343994140625, -0.03990735858678818, 0.6403458118438721, 1.0544782876968384, -0.07082884013652802, -0.26853397488594055, -0.6432719826698303, 0.4517841637134552, -0.5288762450218201, 0.7114253044128418, -0.5153273344039917, 0.02423768863081932, -0.11423131078481674, -0.3032758831977844, -0.08881492912769318, -0.3785632848739624, 0.8943184018135071, -0.02768557518720627, 0.12794092297554016, -0.20903116464614868, -0.5211716294288635, 0.014756509102880955, -0.21358466148376465, -0.9377935528755188, 1.137628197669983, 0.20594890415668488, -0.6566293239593506, 0.12595927715301514, -0.7136858701705933, -0.6951432824134827, 0.2974745035171509, -0.045123420655727386, -0.262850821018219, 0.2515755593776703, 0.15828292071819305, 0.44917717576026917, -0.07844441384077072, 0.8089430928230286, 0.285786896944046, -0.5610294938087463, 0.49946045875549316, -0.5822122693061829, 0.7064003944396973, 0.3308737277984619, -0.5457614064216614, 0.20660944283008575, -0.7416759729385376, 0.1321210265159607, 0.14093898236751556, -0.38064587116241455, -0.240094393491745, -0.13962948322296143, 0.6482672691345215, 0.15700288116931915, 0.13121472299098969, -0.5571157932281494, 0.11403124034404755, -0.42802029848098755, 0.8260405659675598, 0.5473467111587524, -0.1779823899269104, -0.1236225888133049, -0.6228170990943909, 0.36653274297714233, -0.22576092183589935, -0.41279762983322144, -0.6546143889427185, -0.37503913044929504, -0.3632907271385193, -0.4715222716331482, 0.383090078830719, 0.5524043440818787, -0.8304629325866699, 0.39201897382736206, -0.5268530249595642, -0.8275861144065857, -0.6255435347557068, -0.5824331641197205, 0.4894319176673889, 0.4261203408241272, 0.25412872433662415, 0.328473299741745, -0.6631115674972534, -1.0034065246582031, -0.7468156218528748, -0.28803524374961853, -0.3771090805530548, 0.10035659372806549, -0.08086106926202774, 0.7548285126686096, 0.9058951735496521, 0.042203716933727264, -0.48028549551963806, -0.40174004435539246, 0.6507513523101807, -0.13710708916187286, 0.2144760638475418, 0.5570045709609985, -0.8682518005371094, -0.6323084831237793, 0.33914002776145935, -0.7213653922080994, -0.3036561906337738, -0.2757207453250885, 0.16506502032279968, 0.2508702874183655, 0.1540217101573944, -0.6166687607765198, 0.346482515335083, 0.34350550174713135, -0.5563992261886597, 0.6157972812652588, 0.3318288028240204, 0.3875933587551117, -0.9602071046829224, 0.028857605531811714, 0.2567199766635895, -0.39133220911026, -0.5717282295227051, -0.1620723009109497, -0.20410223305225372, -0.21759219467639923, -0.4615153968334198, 0.5722629427909851, -0.20825925469398499, -0.035974279046058655, 0.07070524990558624, 0.4169413447380066, 0.23414453864097595, 0.6610334515571594, 0.6291022300720215, 0.9007768034934998, 0.3381081521511078, -0.1359560489654541, 0.6686210632324219, 0.4787680506706238, -0.40998080372810364, 0.6432193517684937, -0.5582033395767212, -0.08769550174474716, 0.2328050583600998, 0.25674939155578613, -0.7990987300872803, -0.16349899768829346, 0.0027223159559071064, -0.6004323959350586, 0.3014163076877594, 0.11198700219392776, -0.7028622031211853, 0.0923071876168251, -0.418544203042984, -0.024793457239866257, 0.22139425575733185, -0.5690934658050537, 0.9535728693008423, 0.14552682638168335, -0.8021314144134521, -0.43394118547439575, -0.6643373370170593, 0.6027448177337646, -0.41932111978530884, -0.628951907157898, 0.37718215584754944, 0.14359313249588013, -0.004081046208739281, -0.10688118636608124, 0.19660475850105286, -0.04782896488904953, -0.26041749119758606, -0.08433175832033157, -0.0022656035143882036, -0.5909029841423035, 0.5269717574119568, 0.043908312916755676, -0.11657308787107468, -0.14737039804458618, -0.008354266174137592, 0.3555937111377716, -0.4113615155220032, 0.16029885411262512, -0.9331430196762085, 0.49614039063453674, 0.5019629597663879, -0.4048226475715637, 0.2766309082508087, 0.6967648863792419, -0.14445644617080688, 0.1390760987997055, -0.35958945751190186, 0.12345355749130249, -0.39568930864334106, 0.5933737754821777, -0.46018263697624207, -0.8379294872283936, 0.45971444249153137, 0.005575559567660093, 0.20452050864696503, 0.6665610671043396, 0.5486875176429749, -0.27131780982017517, 0.8594138622283936, 0.28595462441444397, 0.16949798166751862, 0.5936325788497925, -0.010869888588786125, -0.0676688626408577, -0.7842997312545776, -0.22009746730327606, -0.7835099697113037, -0.47822922468185425, -0.736752986907959, -0.14383651316165924, 0.0004638575192075223, -0.6146795153617859, -0.4239248037338257, 0.4879162609577179, -0.6467764377593994, 0.43140149116516113, 0.41275906562805176, 0.11012408137321472, 0.5723344087600708, 0.015724679455161095, 0.09272343665361404, -0.49214616417884827, -0.2857825756072998, -0.8835175037384033, 0.8031312823295593, 0.4498337507247925, 0.39899536967277527, 0.3920503258705139, 0.30243194103240967, 0.139542818069458, 0.3902219235897064, -0.7612503170967102, 0.4057927131652832, -0.3235105872154236, -0.4798654019832611, -0.5691189765930176, -0.4376288056373596, -0.38326045870780945, 0.026562565937638283, -0.2667991816997528, -0.9524688720703125, 0.06630946695804596, 0.0039168912917375565, -0.3675062656402588, 0.21559982001781464, -0.9361200928688049, 0.8550857901573181, -0.2752516269683838, -0.5951036810874939, 0.1168007105588913, -0.9176837801933289, 0.10104925185441971, 0.011786095798015594, -0.0188008863478899, -0.12604811787605286, -0.11903531104326248, 0.9703332185745239, -0.2874354124069214, 1.0641605854034424, -0.028723550960421562, -0.22544671595096588, 0.40949898958206177, 0.294921338558197, 0.5515545010566711, -0.044365402311086655, -0.2802048325538635, 0.05765751749277115, -0.11477859318256378, 0.0909765362739563, -0.6514636278152466, 0.4049089252948761, -0.4213253855705261, -0.3021707236766815, -0.28644248843193054, -0.5145717859268188, -0.17929452657699585, 0.1804206371307373, 0.40163561701774597, 0.806527853012085, -0.3563406765460968, 0.28151458501815796, 0.5720828175544739, -0.15482927858829498, 0.678084135055542, 0.24148397147655487, -0.24104434251785278, -0.26612308621406555, 1.1858978271484375, 0.08349516242742538, 0.15682542324066162, 0.683953046798706, 0.38607317209243774, -0.6186535358428955, -0.4051443338394165, -0.7757827043533325, 0.07977146655321121, -0.4137520492076874, -0.08544579148292542, -0.597287654876709, -0.5340539813041687, -0.07368453592061996, -0.07418230921030045, -0.39553260803222656, -1.129392147064209, -0.333060622215271, -0.5783334970474243, 0.7964246869087219, 0.8240062594413757, -0.01139543205499649, 0.4745228886604309, -0.8244336843490601, 0.4596169888973236, 0.06808996200561523, 0.5538790822029114, -0.11609987914562225, -0.5106674432754517, -0.28158867359161377, -0.10876002162694931, -0.46720150113105774, -0.6795651912689209, 0.325067400932312, 0.5835347771644592, 0.1658405065536499, 0.25152596831321716, 0.2926998734474182, 0.29275116324424744, -0.3196764588356018, 0.8642122149467468, 0.03228580579161644, -1.200347900390625, 0.48689037561416626, -0.8346139192581177, 0.13393646478652954, 0.19578701257705688, 0.03596324473619461, -0.9051569104194641, -0.83785080909729, -0.5074154138565063, -0.8930597901344299, 0.8119078874588013, 0.5932375192642212, 0.18296507000923157, 0.29689204692840576, -0.1355978101491928, 0.20793680846691132, 0.23523549735546112, -0.9586337208747864, -0.013658384792506695, -0.6163079142570496, -0.4956064522266388, -0.10406527668237686, -0.23328843712806702, -0.24822501838207245, 0.029278628528118134, 0.6014416217803955, -0.050645552575588226, 0.10244601964950562, 0.13079839944839478, -0.06636527925729752, -0.06363216042518616, 0.4761720895767212, 0.5855699181556702, 0.5293776988983154, -0.1682257056236267, 0.23816470801830292, -0.42126548290252686, -0.5272216200828552, 0.06297019869089127, 0.4089384377002716, 0.02513318881392479, 0.24262115359306335, 0.7658795714378357, 1.223003625869751, -0.02196451835334301, -0.8211570978164673, 0.577154278755188, -0.14438077807426453, 0.08207627385854721, -0.139856219291687, -0.268882155418396, 0.31274163722991943, 0.25102686882019043, 0.5451904535293579, -0.08717713505029678, 0.25645989179611206, -0.24086244404315948, 0.15333881974220276, -0.02039352059364319, -0.6314689517021179, -0.18624679744243622, 0.7425128817558289, 0.4839998483657837, -0.35334113240242004, 0.32215896248817444, 0.07901865988969803, -0.5032022595405579, 0.6568073630332947, 0.38680222630500793, 0.9380657076835632, -0.460846483707428, 0.4461139738559723, 0.14454561471939087, 0.40774914622306824, 0.33778002858161926, 0.14254921674728394, -0.18106487393379211, -0.21743617951869965, -0.6483149528503418, -0.29643484950065613, -0.42880046367645264, 0.012828250415623188, -0.5712376832962036, 0.45230892300605774, -0.1301361620426178, 0.03735509142279625, 0.40234145522117615, -0.21506665647029877, -0.11895560473203659, 0.29675301909446716, 0.14570072293281555, 0.7583093643188477, -0.8295878171920776, 0.5155288577079773, 0.4302210509777069, -0.3353342115879059, -1.1227326393127441, -0.16640476882457733, 0.030855553224682808, -0.5180978178977966, 0.6568955183029175, 0.47309020161628723, 0.06460835784673691, 0.26174575090408325, -0.38763245940208435, -0.4319894015789032, 0.9162269234657288, 0.5380067229270935, -0.5998015999794006, 0.06095803529024124, 0.447111576795578, 0.8123267889022827, -0.3437783420085907, 0.5162209272384644, 0.7351170182228088, 0.5445579886436462, 0.3646394610404968, -1.2250217199325562, 0.12122486531734467, -0.37010276317596436, -0.01037050224840641, 0.04642710089683533, -0.5969008207321167, 0.5156066417694092, -0.29762741923332214, -0.36789563298225403, 0.25466886162757874, 0.6039877533912659, 0.41788554191589355, 0.5107899904251099, 0.25378361344337463, 0.21750693023204803, 0.6323587894439697, -0.44489747285842896, 0.8248517513275146, 0.25926005840301514, 0.1669599711894989, 1.1380970478057861, -0.32514944672584534, 0.6966978311538696, 0.002416567876935005, 0.02462567761540413, 0.27889442443847656, 0.822522759437561, 0.18689484894275665, 0.4913330078125, 0.17888693511486053, -0.49909165501594543, -0.08764785528182983, -0.5750898718833923, -0.45775797963142395, 0.5185012221336365, 0.4090918302536011, -0.4492424428462982, -0.1614966243505478, 0.26626163721084595, 0.04617404192686081, 0.22807759046554565, -0.013195141218602657, 0.8941730260848999, -0.03475670516490936, -0.3679921329021454, 0.3863562047481537, -0.256177693605423, 0.46704012155532837, -0.5813812613487244, -0.23574256896972656, 0.056863293051719666, -0.4424591660499573, -0.25418412685394287, -1.1952563524246216, 0.3522164225578308, 0.12011489272117615, 0.09564141929149628, -0.40802904963493347, 0.450783908367157, -0.4984202980995178, -0.313990980386734, 0.10333073139190674, 0.28983035683631897, 0.07574748247861862, -0.06023276597261429, -0.02636507898569107, 0.050064217299222946, -0.06947024166584015, -0.816305935382843, -0.059050437062978745, 1.0762861967086792, -0.32347050309181213, 0.4652774930000305, 0.3873392641544342, 0.18913747370243073, -0.2382195144891739, 0.27926212549209595, 0.7046574354171753, -0.9206413626670837, -0.8095298409461975, -0.6874159574508667, 0.6700018048286438, -0.12132377922534943, -0.4788186848163605, 0.34272557497024536, 0.9321975111961365, 0.2771155834197998, 0.04134475439786911, 1.186206579208374, -0.001383118680678308, 1.0340567827224731, -0.5883562564849854, 0.8746169805526733, -0.23768950998783112, 0.3036951720714569, -0.365998238325119, -0.6699716448783875, -0.2866785526275635, 0.393372505903244, -0.048784248530864716, 0.19697882235050201, 0.735205888748169, 0.23284882307052612, 0.22775012254714966, 0.7155367136001587, 0.18974995613098145, 0.5066267251968384, 0.3369673490524292, 0.5035252571105957, 1.2848877906799316, -0.15735892951488495, 0.5289726257324219, -0.279506117105484, -0.3212955594062805, -0.11794444173574448, -1.2255364656448364, -0.5300170183181763, -0.8323200941085815, -0.4018053412437439, 0.0054332599975168705, -0.08063377439975739, 0.7519080638885498, 0.47709494829177856, -0.44133782386779785, -0.23475238680839539, 0.36610928177833557, -0.06480418145656586, -0.5378481149673462, -0.30160942673683167, 0.8305947780609131, 0.14153678715229034, -0.7231126427650452, 0.36963966488838196, 0.35645776987075806, 0.2689852714538574, 0.14676633477210999, 0.1399778425693512, 0.1654517650604248, -0.003080179914832115, 0.7780457139015198, 0.19179002940654755, -0.40511587262153625, -0.3356562554836273, -0.06042958050966263, -0.08160315454006195, 0.20435243844985962, 1.0690679550170898, -0.9616225957870483, 0.376724511384964, 0.08748183399438858, 0.4693213105201721, 0.6376135349273682, -0.026808306574821472, 0.5186412930488586, -1.1172469854354858, 0.2161441147327423, 0.6108447909355164, 0.05171268805861473, 0.4713558256626129, -0.47944730520248413, 0.5851410627365112, 0.08392593264579773, -0.31114110350608826, -0.7899388670921326, 0.1173795536160469, -1.3779858350753784, -0.021043548360466957, 0.9501311779022217, -0.18040210008621216, 0.16523203253746033, -0.20392630994319916, -0.46529677510261536, 0.5258866548538208, -0.5873011350631714, 0.5257273316383362, 0.741368293762207, -0.13567841053009033, -0.30180639028549194, -0.6899283528327942, 0.5226569175720215, 0.08448820561170578, -0.7898714542388916, 0.8416128158569336, 0.42914074659347534, -0.15398265421390533, 0.07714209705591202, 0.5934110879898071, -0.17099282145500183, 0.2730760872364044, -0.38399869203567505, -0.024188358336687088, -0.3727588653564453, -0.2946425676345825, -0.041824229061603546, 0.12585148215293884, -0.06040564551949501, 0.015668747946619987 ]
http://arxiv.org/abs/2404.14943v1
http://arxiv.org/pdf/2404.14943v1
Does It Make Sense to Explain a Black Box With Another Black Box?
2024-04-23T11:40:30
2024-04-23T11:40:30
Julien Delaunay, Luis Galárraga, Christine Largouët
cs.CL
cs.CL, cs.LG, 68T50
Although counterfactual explanations are a popular approach to explain ML black-box classifiers, they are less widespread in NLP. Most methods find those explanations by iteratively perturbing the target document until it is classified differently by the black box. We identify two main families of counterfactual explanation methods in the literature, namely, (a) \emph{transparent} methods that perturb the target by adding, removing, or replacing words, and (b) \emph{opaque} approaches that project the target document into a latent, non-interpretable space where the perturbation is carried out subsequently. This article offers a comparative study of the performance of these two families of methods on three classical NLP tasks. Our empirical evidence shows that opaque approaches can be an overkill for downstream applications such as fake news detection or sentiment analysis since they add an additional level of complexity with no significant performance gain. These observations motivate our discussion, which raises the question of whether it makes sense to explain a black box using another black box.
[ -0.4840240478515625, -1.0924431085586548, 0.6825286746025085, 0.01139301247894764, -0.5169151425361633, -0.0046127610839903355, 0.18216046690940857, -0.49298161268234253, 0.12887336313724518, 0.291486531496048, -0.7387484312057495, -0.032569773495197296, -0.5099102854728699, -0.3319130837917328, -0.5639151930809021, 1.1386827230453491, -0.1573556661605835, -0.03206560015678406, -0.07274889945983887, -0.18243049085140228, -0.5907046794891357, -0.5656716823577881, -0.5468685626983643, -0.7500643730163574, 0.5805531740188599, 0.13717679679393768, 1.1302001476287842, 0.48557615280151367, -0.03742462396621704, 0.3346554934978485, 0.06826511770486832, -0.27777722477912903, -0.37018096446990967, -0.06822706013917923, -0.4842907190322876, -0.6791035532951355, -0.07547995448112488, 0.18653985857963562, 0.21768714487552643, 0.7099290490150452, -0.05246792361140251, 0.04079484939575195, 0.060744207352399826, 0.5905877947807312, -0.7574880719184875, -0.3675213158130646, -0.5133352875709534, 0.5917408466339111, 0.12498048692941666, -0.5345113277435303, -0.4646998643875122, -0.05151040479540825, 0.28652268648147583, -0.638940155506134, 0.38183948397636414, 0.06369004398584366, 0.8303859829902649, 0.2124614268541336, -0.036491237580776215, -0.19842714071273804, -1.0787352323532104, 0.7423620820045471, -0.4135188162326813, 0.27151814103126526, 0.16214017570018768, 0.43619948625564575, 0.10674142092466354, -0.6473312973976135, -0.7460564374923706, 0.1240590438246727, -0.5283869504928589, 0.5212973356246948, -0.6323146224021912, -0.14252221584320068, 0.1668315976858139, 0.39385735988616943, -0.6240634918212891, 0.21009927988052368, -0.36049309372901917, -0.12545329332351685, 0.4577609598636627, -0.10454634577035904, 0.05506278946995735, 0.1381492167711258, -0.5837823748588562, 0.11189313977956772, -0.6633942723274231, -0.11723512411117554, 0.5156705379486084, -0.22415095567703247, -0.0748172476887703, 0.601224958896637, 0.16040873527526855, 0.5936982035636902, 0.32421472668647766, 0.3171941936016083, 0.011917692609131336, -0.30667176842689514, -0.40795016288757324, 0.25219759345054626, 0.4609234929084778, 0.42442986369132996, 0.16497361660003662, -0.4504941701889038, -0.016077294945716858, 0.4088709354400635, 0.8062551021575928, -0.7184691429138184, -0.05450744554400444, 0.6147262454032898, -0.615817666053772, -0.31145575642585754, -0.2489553540945053, -0.8908702731132507, -0.3633019030094147, -0.27285823225975037, 0.8042294383049011, -0.05057572200894356, -0.35539698600769043, 0.12220065295696259, -0.4242631494998932, -0.03400697186589241, 0.5460660457611084, -0.6492983102798462, 0.3094814419746399, 0.7809274196624756, 0.7729209661483765, 0.12640923261642456, -0.08051475137472153, -0.4502074718475342, -0.01651744544506073, -0.6224352121353149, 0.8418863415718079, -0.7260533571243286, -0.10942280292510986, 0.04399515315890312, 0.07265479117631912, 0.11801370978355408, -0.3021778464317322, 0.029630914330482483, -0.3997437059879303, 0.6086212396621704, -0.1107274740934372, -0.3724747598171234, -0.7729836106300354, -0.04094602167606354, -0.4206608533859253, 0.7155001163482666, 0.026417432352900505, -0.7489627003669739, 0.5493054986000061, -0.7046514749526978, -0.23484806716442108, 0.28770941495895386, -0.07498075813055038, -0.6787347197532654, 0.4088656008243561, 0.06015173718333244, 0.45575687289237976, 0.26549428701400757, 0.20586998760700226, -0.37732571363449097, -0.8012365102767944, 0.45983290672302246, -0.7396358847618103, 0.8834609389305115, 0.13286098837852478, -0.7618744969367981, -0.20003776252269745, -0.519902765750885, -0.1395263820886612, 0.012433113530278206, 0.049490779638290405, -0.48512396216392517, 0.17203865945339203, -0.2574586570262909, 0.19271861016750336, -0.058996010571718216, -0.5825355648994446, -0.29016029834747314, -0.5114073753356934, 0.23184606432914734, 0.5711934566497803, 0.09695541113615036, 0.4054853022098541, -0.4486660063266754, 0.7064893841743469, 0.07209013402462006, 0.27281421422958374, -0.26709991693496704, -0.6462987065315247, -0.478117436170578, 0.08251581341028214, 0.14006729423999786, 0.5304166078567505, -0.648486852645874, -0.018195124343037605, 0.3135691285133362, -0.15846078097820282, -0.5764507055282593, -0.0025678391102701426, 0.599609375, 0.5308612585067749, 0.5055302977561951, -0.18469688296318054, -0.4696677029132843, -0.9087677597999573, -0.40907740592956543, -0.07715282589197159, -0.010026112198829651, 0.34782874584198, 0.572149932384491, -0.013310213573276997, 0.7705253958702087, -0.17723150551319122, 0.08027433604001999, 0.19377517700195312, 0.23172597587108612, 0.13545900583267212, 0.4194546043872833, 0.639178454875946, -0.947505533695221, -0.1108945682644844, -0.022763505578041077, -0.8164687156677246, -0.022134551778435707, -0.2707507908344269, 0.061005908995866776, 0.38526487350463867, 0.6534259915351868, -0.27236518263816833, 0.6249662637710571, 0.6844752430915833, -0.3536283075809479, 0.5994901061058044, -0.10703779011964798, -0.05762661248445511, -0.3951856791973114, -0.11602204293012619, -0.10735537111759186, -0.25299271941185, -0.8849994540214539, 0.28397634625434875, -0.18534909188747406, -0.03306419402360916, -0.6212171912193298, 0.3792698383331299, -0.2572796046733856, -0.12057599425315857, -0.25016146898269653, 0.3112388253211975, 0.3801509737968445, 0.564781129360199, 0.11301620304584503, 0.4482773542404175, 0.4484991133213043, -0.3714200556278229, 0.22487454116344452, -0.14501778781414032, -0.0014624628238379955, 0.6687344312667847, -0.719799280166626, 0.07032429426908493, -0.5445905923843384, 0.2818134129047394, -1.229892611503601, 0.4028603732585907, 0.7178108096122742, -0.41802194714546204, 0.27834799885749817, -0.2826700210571289, -0.2848062217235565, -0.1552342176437378, -0.5375095009803772, 0.2038886845111847, 0.32573050260543823, -0.7978785037994385, 0.553642749786377, -0.26184892654418945, 0.08873818814754486, -1.0084834098815918, -1.155961036682129, -0.003035301808267832, -0.4644978940486908, -0.17473457753658295, 0.31859704852104187, -0.12236375361680984, -0.4638745188713074, 0.2961043417453766, -0.49844294786453247, 0.018922874704003334, 0.443492591381073, 0.5082038640975952, 0.1689487099647522, -0.4867531955242157, 0.2654136121273041, 0.11669203639030457, -0.22668981552124023, 0.09812632203102112, -0.3815510869026184, 0.10089128464460373, -0.002827299991622567, -0.21864555776119232, -0.2187889665365219, 0.6428654193878174, -0.03394533693790436, 0.06893987208604813, 1.0589107275009155, 0.6822077631950378, -0.4028529226779938, -0.2632363438606262, -0.5670631527900696, -0.053443051874637604, -0.47269392013549805, -0.08720114082098007, -0.528622567653656, -0.45847517251968384, 0.3351181447505951, 0.2307458221912384, 0.22234109044075012, 0.3875196874141693, 0.616290271282196, -0.29688897728919983, 0.8159605860710144, 0.6172236204147339, 0.5074735283851624, 0.3683071434497833, -0.19111375510692596, 0.43062132596969604, -0.43089425563812256, -0.21200303733348846, -0.5693268775939941, -0.05693953111767769, -0.5288780331611633, -0.12429038435220718, -0.1914249211549759, 0.30308741331100464, 0.13871800899505615, 0.2388325333595276, -0.6988297700881958, 0.4591882526874542, 0.38728779554367065, 0.16430841386318207, 0.5171476602554321, 0.23989921808242798, -0.06316196173429489, 0.023138409480452538, -0.9069954752922058, -0.5091134905815125, 0.965039849281311, 0.5768004655838013, 0.5443651676177979, 0.11130323261022568, 0.4811762869358063, 0.11805181950330734, 0.7103028893470764, -0.6229829788208008, 0.1329038441181183, -0.3633709251880646, -0.8657391667366028, -0.43133544921875, -0.0638333335518837, -1.2254068851470947, 0.8400669097900391, -0.5765718221664429, -0.8905686736106873, 0.4268251061439514, 0.3899233043193817, -0.3892236053943634, 0.07850535959005356, -1.1402702331542969, 0.8053223490715027, -0.002589145442470908, -0.559685230255127, -0.4548585116863251, -0.20530791580677032, 0.48239144682884216, -0.22805997729301453, 0.34332820773124695, 0.4090854525566101, -0.09469272941350937, 0.9022782444953918, -0.4914502203464508, 0.8178892135620117, -0.36627382040023804, -0.22893577814102173, -0.04638681188225746, 0.2402421087026596, 0.2540597915649414, 0.24286675453186035, -0.0046325973235070705, 0.46432042121887207, -0.01388050802052021, -0.4259745180606842, -0.9348328709602356, 0.5513398051261902, -0.3494436740875244, -0.9227810502052307, -0.25393688678741455, -0.4113256335258484, 0.08454832434654236, 0.057333044707775116, 0.3446134626865387, 0.6497686505317688, 0.3140801787376404, 0.2500663697719574, 0.6142038702964783, -0.4508272707462311, 0.5388489961624146, 0.745690107345581, -0.0027324629481881857, 0.285199910402298, 0.6926172375679016, 0.41695088148117065, 0.09611853212118149, 0.6410520076751709, 0.4914573132991791, -0.407802551984787, -0.8953062295913696, -0.46087032556533813, 0.10376958549022675, -0.565136194229126, 0.33136653900146484, -0.7529155015945435, 0.13031364977359772, -0.03171096369624138, -0.5665755271911621, -0.07546152919530869, -0.47468432784080505, -0.19642221927642822, -0.12597741186618805, 0.11173535138368607, 0.5752162337303162, -0.03838130831718445, 0.34383025765419006, -0.2035266011953354, 0.959406852722168, 0.4514504373073578, 0.5962367057800293, 0.18734823167324066, -0.24974359571933746, -0.16845016181468964, 0.14852038025856018, -0.27383551001548767, -1.1529172658920288, -0.01339433528482914, -0.165573850274086, 0.693579912185669, 0.4851059019565582, 0.051741909235715866, 0.793902575969696, -0.4524839222431183, 0.6586025357246399, 0.12793537974357605, -0.8192875981330872, 0.3334466516971588, 0.10791948437690735, 0.1365620642900467, 0.08756749331951141, 0.6722996830940247, -0.23637203872203827, -0.9423804879188538, -1.0106639862060547, -0.5310068726539612, 0.71586674451828, 0.24635863304138184, -0.013349832035601139, 0.5128270387649536, 0.33325129747390747, 0.5593191385269165, 0.4051864445209503, -1.0484471321105957, -0.6501750946044922, -0.7958452701568604, 0.18952368199825287, -0.5165992379188538, -0.42610830068588257, -0.3756265938282013, 0.2988290786743164, 0.593909502029419, 0.12529852986335754, 0.3504599928855896, 0.4296083450317383, -0.270865797996521, -0.4808526933193207, 0.436567485332489, 0.4943675398826599, 1.1050188541412354, -0.24297499656677246, 0.3283041715621948, -0.08588258922100067, -0.21039508283138275, 0.11424436420202255, 0.35387012362480164, -0.36875292658805847, 0.3203076720237732, 0.7445693612098694, 0.5471424460411072, 0.03243444859981537, -0.19571946561336517, 0.519139289855957, 0.12518629431724548, -0.5773077011108398, -0.11436115205287933, 0.0614541620016098, -0.03809373453259468, 0.43042680621147156, 0.3416748344898224, -0.06274958699941635, 0.3155405819416046, -0.9869742393493652, 0.06444483995437622, 0.7247453927993774, -0.44812536239624023, -0.08681514114141464, 0.7372453212738037, -0.1292448341846466, -0.49018925428390503, -0.1106327548623085, 0.05248818174004555, -0.5542750954627991, 0.4595961570739746, 0.3788098692893982, 0.706788182258606, -0.05704865977168083, 0.6603171229362488, -0.12228865176439285, 0.6216737031936646, 0.154862180352211, -0.031046399846673012, -0.38312405347824097, -0.6749254465103149, -0.8082056045532227, -0.27695053815841675, -0.5282446146011353, 0.5476987361907959, -0.41955065727233887, -0.19682617485523224, -0.3535176217556, 0.19003769755363464, 0.8131176829338074, 0.14726471900939941, -0.4910222589969635, 0.3145909309387207, -0.13457289338111877, 0.6921640634536743, -0.9937745928764343, 0.23343734443187714, 0.5678591132164001, -0.18502293527126312, -0.331332266330719, 0.026499604806303978, -0.01220754161477089, -0.649688184261322, 0.257840633392334, -0.04360198229551315, -0.03492177650332451, -0.6618705987930298, -0.4698672890663147, -0.2543763518333435, 0.2948450446128845, 0.21779362857341766, -0.7220446467399597, 0.210843026638031, -0.17298294603824615, 0.8398396372795105, -0.15281347930431366, 0.39996686577796936, 0.3249393403530121, 0.7769302725791931, -0.29605820775032043, -0.5075660347938538, 0.4697367548942566, 0.028351061046123505, -0.1065940111875534, 0.04140962287783623, -0.3827861547470093, 0.5116261839866638, -0.15971259772777557, -0.5094929337501526, -0.345019668340683, 0.18087339401245117, -0.037654370069503784, 0.8030943870544434, 0.6687829494476318, 0.19093820452690125, 0.2049846649169922, -0.06452999264001846, 1.0727189779281616, 0.22296102344989777, 0.07947827875614166, 0.8398784399032593, 0.17492902278900146, 0.3168240487575531, 0.5523302555084229, -0.2373674064874649, 0.7011369466781616, 0.41370970010757446, -0.21876810491085052, 0.26855704188346863, 0.3004198670387268, 0.28732219338417053, 0.0016555016627535224, 0.196070596575737, -0.3312431275844574, 0.15926843881607056, 0.47621703147888184, -0.16016025841236115, -0.47157981991767883, 0.13055941462516785, 0.07228336483240128, 0.2540900707244873, -0.297773152589798, 0.6466556787490845, 0.0664740800857544, -0.7580385208129883, 0.7057931423187256, -0.04892301931977272, 0.5069151520729065, -0.1700204610824585, -0.313229501247406, -0.03701024875044823, 0.05141935870051384, -0.6039285063743591, -0.8441516160964966, 0.494133323431015, -0.30029982328414917, -0.16271746158599854, -0.5178820490837097, 0.588255763053894, -0.33338066935539246, -0.32281360030174255, 0.33894315361976624, 0.46400803327560425, 0.2897321879863739, -0.036337967962026596, -0.9348250031471252, -0.22705292701721191, -0.23298197984695435, -0.3305162787437439, -0.01434770692139864, 0.41921505331993103, -0.15103097259998322, 0.6024978756904602, 0.577448844909668, 0.07201100885868073, 0.039188094437122345, -0.004967436660081148, 0.40519610047340393, -0.45325303077697754, -0.5968778729438782, -0.7799738049507141, 0.43358898162841797, 0.18669457733631134, -0.05144526809453964, 0.7731266021728516, 0.2946268320083618, 0.6501170992851257, 0.06616204231977463, 0.6416168808937073, 0.3076954185962677, 0.5407556295394897, -0.7479379177093506, 0.2175092101097107, -0.8129160404205322, 0.3349347710609436, -0.4176582992076874, -0.9445800185203552, -0.22373583912849426, 0.503564715385437, -0.19279171526432037, -0.04926302656531334, 1.0561072826385498, 0.6763811111450195, -0.10288536548614502, 0.22900137305259705, 0.25255972146987915, 0.7711920738220215, 0.03516329824924469, 0.35609379410743713, 0.9962424039840698, -0.3488193452358246, 0.810460090637207, -0.4889605641365051, -0.28948813676834106, -0.32534700632095337, -0.9603926539421082, -0.9497086405754089, -0.41397953033447266, -0.7248485684394836, -0.38924118876457214, 0.5020373463630676, -0.10866908729076385, 0.8507421612739563, -0.6755223274230957, 0.2643890678882599, -0.12699288129806519, 0.7994334697723389, -0.6977434754371643, -0.27088651061058044, 0.20834101736545563, 0.12058329582214355, -0.6586446762084961, 0.3114131987094879, 0.3242594599723816, 0.16022862493991852, -0.4300689101219177, 0.26346495747566223, -0.08377853780984879, 0.21638475358486176, 0.5596718788146973, 0.2306513786315918, -0.8058224320411682, -0.3418371379375458, -0.5149885416030884, 0.5185157060623169, -0.04077739641070366, 0.8365554809570312, -1.0335297584533691, 0.5653664469718933, 0.4163047969341278, 0.29672738909721375, 0.8849689364433289, 0.1648712158203125, 0.6208979487419128, -0.5581644773483276, 0.24765557050704956, -0.12482123076915741, 0.12779776751995087, 0.08058373630046844, -0.702099084854126, 0.422242134809494, 0.10069633275270462, -0.02082270383834839, -1.040272831916809, 0.15884384512901306, -0.8275771141052246, -1.095826268196106, 0.8646963834762573, -0.09743569046258926, -0.07151032984256744, -0.8514389395713806, 0.06278650462627411, -0.025337181985378265, -0.38391008973121643, 0.800902783870697, 0.7273678779602051, -0.018142182379961014, -0.4210497736930847, -0.6732878684997559, 0.2688838541507721, 0.5683130025863647, -0.455423504114151, -0.16814875602722168, 0.1776983141899109, 0.07683960348367691, 0.4406651556491852, 0.4851115643978119, -0.13626053929328918, 0.5731298327445984, 0.23648399114608765, -0.4634406864643097, -0.24613125622272491, -0.31028982996940613, -0.6631684303283691, 0.4455457925796509, -0.500657320022583, -0.2530782222747803 ]
http://arxiv.org/abs/2404.14928v2
http://arxiv.org/pdf/2404.14928v2
Graph Machine Learning in the Era of Large Language Models (LLMs)
2024-04-23T11:13:39
2024-06-04T01:31:30
Wenqi Fan, Shijie Wang, Jiani Huang, Zhikai Chen, Yu Song, Wenzhuo Tang, Haitao Mao, Hui Liu, Xiaorui Liu, Dawei Yin, Qing Li
cs.LG
cs.LG, cs.AI, cs.CL, cs.SI
Graphs play an important role in representing complex relationships in various domains like social networks, knowledge graphs, and molecular discovery. With the advent of deep learning, Graph Neural Networks (GNNs) have emerged as a cornerstone in Graph Machine Learning (Graph ML), facilitating the representation and processing of graph structures. Recently, LLMs have demonstrated unprecedented capabilities in language tasks and are widely adopted in a variety of applications such as computer vision and recommender systems. This remarkable success has also attracted interest in applying LLMs to the graph domain. Increasing efforts have been made to explore the potential of LLMs in advancing Graph ML's generalization, transferability, and few-shot learning ability. Meanwhile, graphs, especially knowledge graphs, are rich in reliable factual knowledge, which can be utilized to enhance the reasoning capabilities of LLMs and potentially alleviate their limitations such as hallucinations and the lack of explainability. Given the rapid progress of this research direction, a systematic review summarizing the latest advancements for Graph ML in the era of LLMs is necessary to provide an in-depth understanding to researchers and practitioners. Therefore, in this survey, we first review the recent developments in Graph ML. We then explore how LLMs can be utilized to enhance the quality of graph features, alleviate the reliance on labeled data, and address challenges such as graph heterogeneity and out-of-distribution (OOD) generalization. Afterward, we delve into how graphs can enhance LLMs, highlighting their abilities to enhance LLM pre-training and inference. Furthermore, we investigate various applications and discuss the potential future directions in this promising field.
[ -0.28486040234565735, -1.0099446773529053, 0.7220820784568787, -0.24505063891410828, -0.08879115432500839, 0.44327864050865173, -0.25600093603134155, -0.5733949542045593, 0.10029841959476471, 0.7077030539512634, -0.24071359634399414, -0.8800985217094421, -0.9204241633415222, 0.146325021982193, -0.38029542565345764, 0.6055304408073425, -0.19791966676712036, 0.27680712938308716, -0.30141133069992065, -0.19374334812164307, -0.24765698611736298, -0.6482816338539124, -0.7214697599411011, -0.6329319477081299, 0.860072672367096, 0.1387188732624054, 0.4843977391719818, 0.48577430844306946, 0.407218337059021, 0.3859958350658417, -0.185552179813385, 0.6562042236328125, -0.722027063369751, 0.2058723270893097, 0.15124858915805817, -0.24157167971134186, -0.5186883807182312, -0.10200312733650208, 0.7847958207130432, 1.259753942489624, 0.271831750869751, -0.08120590448379517, 0.15085598826408386, 0.7437664866447449, -0.3900761306285858, 0.6559386849403381, -0.6056992411613464, 0.13234326243400574, -0.058820690959692, -0.0900258794426918, -0.35562753677368164, -0.5254616737365723, 0.17416003346443176, -0.45414870977401733, -0.002260131062939763, 0.31979361176490784, 0.6143853068351746, -0.05396680906414986, -0.6306594014167786, -0.3602851927280426, -0.658585250377655, 0.44417279958724976, -0.5390473008155823, 0.5858938694000244, 0.13643455505371094, 0.37222403287887573, -0.5530700087547302, -1.173152208328247, -0.28394442796707153, -0.2177678346633911, 0.0763823613524437, -0.1060718223452568, -0.25353825092315674, 0.26241642236709595, 0.20246323943138123, 0.3336580991744995, -0.3573695123195648, 0.48331418633461, -0.19856804609298706, -0.2219361662864685, 0.43774211406707764, 0.3295126259326935, 0.3227560520172119, 0.03126499056816101, 0.015372038818895817, 0.043446049094200134, -0.8990586400032043, -0.0748927965760231, 0.36437439918518066, 0.41288822889328003, 0.22649578750133514, 0.5779972672462463, -0.27121755480766296, 0.8193633556365967, -0.277499794960022, -0.05446871742606163, 0.3546237647533417, -0.32421615719795227, -0.2348145991563797, -0.15220974385738373, 0.9307308793067932, 0.17080992460250854, 0.4601602256298065, -0.11950600147247314, 0.06609881669282913, -0.2805878818035126, -0.11025433987379074, -0.9059646129608154, -0.22405840456485748, -0.12350533902645111, -0.46457797288894653, -0.21978425979614258, -0.11270075291395187, -0.49989524483680725, -0.6511229872703552, -0.34923216700553894, -0.19349965453147888, -0.32798823714256287, -0.13286450505256653, 0.11258124560117722, -0.0022387849166989326, -0.13701842725276947, 0.5639214515686035, -0.6178886890411377, 0.2161019891500473, 0.5995745658874512, 0.9196451902389526, -0.19385047256946564, -0.284487783908844, -0.31587913632392883, 0.13810744881629944, -0.5987061858177185, 0.6006395816802979, -0.45689019560813904, -0.31535544991493225, 0.1312149167060852, 0.12812022864818573, -0.16557590663433075, -0.525575578212738, 0.13558420538902283, -0.7481927871704102, -0.042430777102708817, -0.13055770099163055, -0.6582118272781372, -0.49802660942077637, 0.375929594039917, -0.6388075947761536, 0.7064245343208313, 0.3644975423812866, -0.673319399356842, 0.20944224298000336, -0.40050777792930603, -0.5935409665107727, 0.04087221249938011, -0.18877068161964417, -0.6792717576026917, -0.0865427628159523, 0.31867289543151855, 0.6754411458969116, -0.20062018930912018, 0.19988536834716797, -0.7994192242622375, -0.3761872351169586, 0.25119760632514954, -0.16939491033554077, 0.7855141758918762, 0.205134779214859, 0.0907391905784607, 0.38692644238471985, -0.423448771238327, 0.03894283249974251, 0.30737245082855225, -0.15346355736255646, 0.01190445851534605, 0.03354706987738609, -0.24946635961532593, 0.06509193032979965, -0.0009718985529616475, -0.2417294681072235, 0.1681838035583496, -0.3423420488834381, 0.8641995787620544, 0.7159728407859802, 0.09277252852916718, 0.29700967669487, 0.04348479211330414, 0.33214855194091797, -0.1627427041530609, 0.08599326759576797, -0.046118900179862976, -0.5770307779312134, -0.4368506073951721, -0.3297206163406372, 0.4635388255119324, 0.5489643216133118, -0.6619874238967896, 0.5075527429580688, -0.2303563803434372, -0.5318353176116943, -0.13718673586845398, 0.4347114562988281, 0.11821465194225311, 0.5908485651016235, 0.20667091012001038, -0.2731976807117462, -0.5893528461456299, -0.5418700575828552, -0.061377644538879395, -0.20934240520000458, 0.17302457988262177, 0.758358359336853, 0.27535828948020935, -0.6605561375617981, 0.8515181541442871, -0.6417459845542908, -0.3224499523639679, -0.6529507637023926, -0.30016854405403137, 0.1497109979391098, -0.026737768203020096, 0.432806134223938, -0.5670260190963745, -0.4351482093334198, 0.13041304051876068, -1.0361441373825073, 0.052523721009492874, 0.44842827320098877, 0.004675325006246567, 0.14117296040058136, 0.7804081439971924, -0.4420824646949768, 0.23412097990512848, 0.5590680241584778, -0.06384099274873734, 0.3693089485168457, -0.18693028390407562, -0.09978507459163666, -0.7354702353477478, -0.06259527802467346, -0.030561013147234917, -0.4468774199485779, -0.44839873909950256, -0.3561187982559204, -0.25167977809906006, -0.17614814639091492, -0.21773602068424225, 0.5621422529220581, -0.6498078107833862, -0.3074922561645508, -0.31512758135795593, 0.33653566241264343, -0.04541947320103645, 0.19832172989845276, -0.2799898684024811, 0.468344122171402, 0.6767963171005249, -0.47861865162849426, 0.6822853684425354, 0.2237212210893631, -0.33823642134666443, 0.021575303748250008, -0.432007372379303, 0.22169993817806244, -0.16889460384845734, 0.5002148151397705, -1.1193541288375854, -0.2732762396335602, 0.4886493980884552, -0.40480121970176697, 0.5346361398696899, -0.22685052454471588, -0.6782640814781189, -0.72068190574646, -0.14217260479927063, 0.04985243082046509, 0.47460687160491943, -0.44323238730430603, 0.6424577236175537, 0.5788843631744385, -0.09974852949380875, -0.5371598601341248, -0.46108248829841614, 0.21397487819194794, -0.16473005712032318, -0.5362171530723572, -0.04125536233186722, 0.12766867876052856, -0.18530018627643585, 0.16533562541007996, 0.18756236135959625, 0.1119384765625, 0.25278210639953613, 0.21920925378799438, 0.22980232536792755, -0.1320723444223404, 0.19763977825641632, -0.28203868865966797, -0.23749583959579468, 0.07279817759990692, -0.6090102195739746, 0.664352297782898, -0.11727400869131088, -0.41218000650405884, -0.14196401834487915, -0.07013223320245743, 0.1317540854215622, -0.08358970284461975, 0.5583334565162659, 0.6667897701263428, -0.2672923803329468, -0.17493610084056854, -0.3279804289340973, -0.1612045168876648, -0.3957371711730957, 0.8416436910629272, -0.1672494262456894, -1.2565252780914307, 0.4122900068759918, -0.6752910614013672, -0.36759692430496216, 0.3815200626850128, 0.5414704084396362, -0.22415407001972198, 1.1226757764816284, 0.6227242350578308, -0.43546056747436523, 0.6451719403266907, -0.5000424981117249, 0.5732631087303162, -0.8830170631408691, -0.2883085608482361, -0.3652421236038208, -0.24328109622001648, -0.6913241744041443, -0.23987917602062225, 0.21918343007564545, 0.2210160791873932, -0.2570355236530304, -0.06967946141958237, -0.2503255605697632, 0.41512253880500793, 0.2247159481048584, 0.183096244931221, 0.23432694375514984, 0.2636759281158447, -0.09125755727291107, 0.32397809624671936, -0.8177967071533203, -0.5344575047492981, 1.2670328617095947, 0.4788183867931366, 0.7144990563392639, -0.3253974914550781, 0.4931319057941437, 0.3042902946472168, 0.3586641252040863, -0.738725483417511, 0.6829784512519836, -0.34580186009407043, -0.18346469104290009, -0.5000771284103394, -0.7011272311210632, -1.1280841827392578, 0.07319163531064987, -0.10159202665090561, -0.7514981031417847, -0.2442692220211029, 0.2490730881690979, 0.1149899959564209, 0.6390582323074341, -0.6133532524108887, 0.8401539325714111, -0.3502773642539978, -0.19731847941875458, -0.04694374278187752, -0.5578475594520569, 0.28379952907562256, -0.004071669187396765, 0.16214334964752197, -0.25057944655418396, 0.15985004603862762, 0.4831063151359558, -0.17097948491573334, 1.0092042684555054, -0.2209288626909256, 0.06087161973118782, 0.4107034504413605, -0.07074636220932007, 0.5755478739738464, -0.05364619940519333, 0.03212369605898857, 0.5026726126670837, -0.44541609287261963, -0.16555428504943848, -0.5877184271812439, 0.7164247035980225, -0.7956966161727905, -0.6089222431182861, -0.11353399604558945, -0.5985565185546875, -0.4101950228214264, 0.39434564113616943, 0.14830142259597778, 0.3947542905807495, -0.2135951966047287, 0.09394820034503937, 0.7048107981681824, -0.17974357306957245, 0.10491450875997543, -0.0805671364068985, -0.7465780973434448, -0.713269829750061, 1.0614374876022339, 0.35870739817619324, 0.22836413979530334, 0.08427336812019348, 0.24094586074352264, -0.48764345049858093, -1.1146087646484375, -0.33069950342178345, 0.38941335678100586, -1.0099952220916748, -0.024512754753232002, -0.7974188923835754, -0.4169969856739044, -0.5264186263084412, -0.025866011157631874, 0.10355164110660553, -0.20719993114471436, -0.38919973373413086, -0.28173407912254333, 0.3971216380596161, 0.9460649490356445, 0.16650287806987762, 0.10476754605770111, -0.4310145378112793, 0.24798394739627838, 0.22414305806159973, 0.35751065611839294, 0.09404399245977402, -0.21442681550979614, -0.2172458916902542, -0.12509706616401672, -0.1603485494852066, -0.689781665802002, 0.2562873363494873, -0.010354075580835342, 0.7407515048980713, 0.4748246669769287, -0.36971279978752136, 0.4721057116985321, -0.42926302552223206, 0.4951704740524292, 0.23953895270824432, -0.5616153478622437, 0.2632099390029907, -0.2778854966163635, -0.15798674523830414, 0.11608292162418365, 0.48267561197280884, -0.5306620597839355, -0.25692811608314514, -0.4717557728290558, -0.9049465656280518, 0.33603939414024353, -0.03946793079376221, 0.12728559970855713, 0.25577694177627563, 0.4820966124534607, 0.02844860963523388, 0.32432207465171814, -0.4735812842845917, -0.34942588210105896, -0.18774224817752838, -0.3226856291294098, -0.3409123718738556, -0.13455303013324738, -0.07121973484754562, -0.36970797181129456, 0.5420686602592468, -0.5518105030059814, 0.19933125376701355, -0.08632662892341614, -0.13995492458343506, 0.06244215741753578, 0.14382795989513397, 0.219948872923851, 0.7738160490989685, -0.045602671802043915, 0.2677948772907257, 0.44951391220092773, -0.2513737380504608, 0.06808065623044968, 0.2429380863904953, -0.2757558226585388, -0.17144957184791565, 0.5669792294502258, 1.006384015083313, -0.08401519805192947, -0.5161762237548828, 0.30884116888046265, 0.1884457767009735, -0.2657332122325897, -0.1987786442041397, 0.1687851846218109, 0.37579578161239624, 0.325044184923172, 0.06018718332052231, -0.14813512563705444, 0.021491745486855507, -0.6185750961303711, -0.036444660276174545, 0.6954172849655151, -0.5971186757087708, -0.0714513286948204, 0.3495740592479706, -0.053945645689964294, -0.20812579989433289, 0.7755378484725952, -0.11441338062286377, -0.6544861197471619, 0.5544567108154297, 0.5498180389404297, 0.6610912680625916, 0.11842648684978485, -0.06514820456504822, 0.17561079561710358, 0.08427345752716064, 0.19467400014400482, 0.13481687009334564, 0.29731735587120056, -0.884703516960144, -0.28968632221221924, -0.2995532155036926, -0.41990745067596436, 0.07281393557786942, 0.032427750527858734, 0.13041642308235168, -0.6320251822471619, -0.4000827670097351, -0.05690598115324974, 0.21359512209892273, -0.5816978812217712, 0.04536939412355423, 0.2592552602291107, 0.756748616695404, -0.6639395952224731, 0.7472602128982544, 0.5891109704971313, -0.2690018117427826, -0.5980298519134521, -0.42176011204719543, -0.05945997312664986, -0.923656702041626, 0.7871844172477722, 0.18328864872455597, -0.23257136344909668, 0.21122299134731293, -0.6304325461387634, -0.6800456047058105, 1.1079776287078857, 0.48989322781562805, -0.5190398693084717, -0.09345708042383194, 0.26157793402671814, 0.5621135830879211, -0.6219027042388916, 0.23420804738998413, 0.3661847710609436, 0.4162256419658661, 0.21055521070957184, -0.4770674407482147, -0.02544337697327137, 0.014326817356050014, 0.22665517032146454, 0.09265316277742386, -0.532322347164154, 0.7940420508384705, -0.3711067736148834, -0.08725570887327194, -0.18883663415908813, 0.7338242530822754, 0.4140801727771759, 0.4189099669456482, 0.3929721415042877, 0.34225139021873474, 1.072665810585022, -0.2499264031648636, 1.0460808277130127, -0.13709893822669983, 0.23481214046478271, 0.8142263889312744, -0.6344174146652222, 0.4794374704360962, 0.17669034004211426, -0.25290000438690186, 0.6326770782470703, 0.9332841634750366, -0.21131718158721924, 0.1635250747203827, 0.5462551712989807, 0.03496521711349487, -0.38137492537498474, -0.21255511045455933, -0.35107511281967163, 0.08929460495710373, 0.5046889185905457, -0.5197896361351013, -0.1791767179965973, 0.058995094150304794, 0.007286181673407555, -0.043783776462078094, -0.46729451417922974, 0.807765007019043, 0.294634073972702, -0.04608425125479698, 0.3052956163883209, -0.18549008667469025, 0.24809551239013672, -0.7175393104553223, -0.12425781786441803, -0.0013029610272496939, 0.2122964709997177, -0.25082242488861084, -0.8589572310447693, -0.05702720582485199, -0.31048813462257385, -0.2116115242242813, -0.22231969237327576, 1.127852439880371, -0.13538525998592377, -0.461851567029953, 0.7375251054763794, 0.6875913143157959, 0.12962664663791656, 0.0885414406657219, -0.6639124751091003, 0.14147445559501648, -0.1936955749988556, -0.22504475712776184, 0.30913862586021423, 0.5787366032600403, -0.14871621131896973, 0.9415984749794006, 0.7166405320167542, 0.3713608384132385, 0.07075469940900803, 0.40418097376823425, 1.0701632499694824, -0.5972648859024048, -0.3317277431488037, -0.8458701968193054, -0.011618204414844513, -0.17283254861831665, 0.09090381860733032, 0.9562568068504333, 0.6208939552307129, 0.7939302921295166, 0.20960624516010284, 0.9541289806365967, 0.26046621799468994, 0.3721705377101898, -0.7152099013328552, 0.6104196310043335, -0.30136817693710327, 0.03492169454693794, -0.30965912342071533, -0.9030710458755493, -0.5113441348075867, 0.3502068817615509, -0.5960509777069092, 0.3697429299354553, 0.6670102477073669, 0.6599767208099365, 0.14727722108364105, -0.00856777187436819, 0.20573143661022186, 0.15398262441158295, 0.39133182168006897, 0.5219806432723999, 1.0790261030197144, -0.18764537572860718, 0.5184695720672607, 0.14379078149795532, 0.01871640607714653, -0.3502312898635864, -0.811857283115387, -1.0879334211349487, -0.4007103145122528, -0.275335431098938, -0.4969051480293274, 0.1610386073589325, 0.7583051919937134, 0.7903279662132263, -0.7353394031524658, -0.296326220035553, -0.19872982800006866, 0.5962191820144653, -0.051836904138326645, -0.13005737960338593, 0.47097262740135193, -0.3774537742137909, -0.5570040941238403, 0.400968998670578, 0.4351672828197479, 0.2546229660511017, -0.38556620478630066, -0.36770716309547424, 0.025075871497392654, -0.30219173431396484, 0.8079013228416443, 0.28932663798332214, -0.629765510559082, -0.23428261280059814, 0.041447728872299194, -0.23017050325870514, 0.24643364548683167, 0.9327292442321777, -0.6411013007164001, 0.2740465998649597, 0.6328365206718445, 0.7646836042404175, 0.5947564840316772, -0.28384634852409363, 0.3185425400733948, -0.36392149329185486, -0.08832414448261261, 0.13071422278881073, 0.6489401459693909, 0.4577818810939789, -0.2975984513759613, 0.5865800380706787, 0.5617061257362366, -0.4416452944278717, -0.7493661642074585, 0.3431752622127533, -0.804806649684906, -0.3812321722507477, 1.0739635229110718, -0.15000075101852417, -0.3590693771839142, -0.28953295946121216, -0.20517633855342865, 0.44394347071647644, -0.045294493436813354, 0.516032874584198, 0.6622003316879272, -0.374856173992157, -0.17261406779289246, -0.5422298908233643, 0.33816003799438477, -0.19454173743724823, -1.0480819940567017, 0.1540672332048416, 0.5568256974220276, 0.20859842002391815, -0.06568870693445206, 0.6440311074256897, -0.0920257419347763, -0.20010948181152344, -0.25068050622940063, -0.14222212135791779, -0.4925718605518341, -0.42492184042930603, -0.30557194352149963, 0.4355999529361725, 0.3964059352874756, 0.1594989150762558 ]
http://arxiv.org/abs/2404.14914v1
http://arxiv.org/pdf/2404.14914v1
Pillars of Grammatical Error Correction: Comprehensive Inspection Of Contemporary Approaches In The Era of Large Language Models
2024-04-23T10:57:59
2024-04-23T10:57:59
Kostiantyn Omelianchuk, Andrii Liubonko, Oleksandr Skurzhanskyi, Artem Chernodub, Oleksandr Korniienko, Igor Samokhin
cs.CL
cs.CL
In this paper, we carry out experimental research on Grammatical Error Correction, delving into the nuances of single-model systems, comparing the efficiency of ensembling and ranking methods, and exploring the application of large language models to GEC as single-model systems, as parts of ensembles, and as ranking methods. We set new state-of-the-art performance with F_0.5 scores of 72.8 on CoNLL-2014-test and 81.4 on BEA-test, respectively. To support further advancements in GEC and ensure the reproducibility of our research, we make our code, trained models, and systems' outputs publicly available.
[ -0.045741453766822815, -1.2500600814819336, 0.4817880690097809, 0.4314241111278534, 0.22812236845493317, -0.09845743328332901, -0.3928271532058716, -0.27503588795661926, 0.019811414182186127, 0.34725651144981384, -0.3892454206943512, -0.7915436625480652, -0.5480389595031738, 0.2688598036766052, -0.7583692669868469, 0.7130756378173828, -0.09223584085702896, 0.44912979006767273, -0.350490540266037, -0.05776570737361908, -0.2043246328830719, -0.6403242349624634, -0.7455037236213684, 0.2733452618122101, 0.30885615944862366, 0.5686007142066956, 0.5971102714538574, 0.2551170587539673, 0.7325120568275452, 0.4743860065937042, -0.3357233703136444, 0.1358071267604828, -0.42355895042419434, -0.1619434654712677, -0.29369431734085083, -0.28870755434036255, -0.8819066882133484, -0.1842040717601776, 1.1015374660491943, 1.0015151500701904, -0.2576667368412018, -0.0354924239218235, 0.2870553731918335, 0.6356514692306519, -0.7347627282142639, 0.25357747077941895, -0.30660516023635864, 0.02780359424650669, -0.3939785063266754, 0.09309897571802139, -0.9345901012420654, -0.8430649042129517, -0.28195133805274963, -0.6029415726661682, 0.3424794375896454, -0.09777506440877914, 0.6391173601150513, 0.0009849967900663614, -0.4504677653312683, -0.414652943611145, -0.8041268587112427, 0.7261536121368408, -1.014058232307434, 0.31435897946357727, 0.3453715443611145, 0.06739676743745804, -0.29679444432258606, -0.8147047758102417, -0.2799326479434967, -0.3028169274330139, 0.020911145955324173, -0.020316580310463905, 0.006446237210184336, 0.5398285388946533, 0.09462053328752518, 0.5514899492263794, -0.4055318236351013, 0.1568780392408371, -0.44000425934791565, -0.1383841335773468, 0.8274561762809753, 0.05184147134423256, 0.23603782057762146, 0.17480511963367462, 0.21572202444076538, -0.24625687301158905, -0.7333757877349854, 0.14543581008911133, 0.4032636880874634, 0.4620015025138855, -0.017787547782063484, 0.47098714113235474, -0.593408465385437, 0.7863561511039734, 0.049933403730392456, -0.11816050857305527, 0.18564866483211517, -0.5708125233650208, -0.5327711701393127, -0.008626339957118034, 0.546503484249115, 0.1669473499059677, 0.09753664582967758, -0.08471720665693283, -0.11964088678359985, 0.31975632905960083, 0.2796936631202698, -0.3174392580986023, -0.2501028776168823, -0.08649210631847382, -0.29078587889671326, -0.45455682277679443, 0.20279386639595032, -1.025801181793213, -0.27447330951690674, -0.2556478977203369, 0.6659502387046814, -0.017717042937874794, -0.06948685646057129, 0.45761430263519287, 0.305928498506546, -0.3512880206108093, 0.5310482382774353, -0.8106276988983154, 0.5680140256881714, 0.7304534316062927, 0.625211238861084, 0.300653874874115, -0.6117196679115295, -0.5069586038589478, -0.32210609316825867, -0.6599950790405273, 0.6467805504798889, -0.4982910752296448, -0.5062557458877563, 0.5506117343902588, 0.18396927416324615, -0.40106305480003357, -0.3972730040550232, 0.91988205909729, -0.2854521572589874, 0.24202728271484375, -0.4553929567337036, -0.5955405831336975, -0.23000086843967438, 0.0978521853685379, -0.513092577457428, 0.9720081090927124, -0.12527449429035187, -0.46804189682006836, 0.07135746628046036, -0.6266651153564453, -0.39832744002342224, -0.38062506914138794, 0.3126518726348877, -0.3086256682872772, 0.14630132913589478, 0.2638166546821594, 0.41431647539138794, 0.02657105214893818, 0.33824628591537476, -0.3807719349861145, -0.35107752680778503, 0.06706740707159042, -0.2969062626361847, 0.7894594073295593, 0.02852589264512062, -0.48417213559150696, 0.3243749439716339, -0.9397416114807129, 0.2272484004497528, -0.2289051115512848, -0.38798025250434875, -0.11638274043798447, 0.22094769775867462, -0.16667421162128448, -0.060912150889635086, 0.11433477699756622, -0.639007031917572, 0.3799302875995636, -0.20364204049110413, 0.3558334708213806, 0.7903385162353516, -0.19174201786518097, 0.44579100608825684, 0.02254856936633587, 0.4525662362575531, -0.4032053053379059, 0.3241095244884491, -0.10932401567697525, -0.3726356327533722, -1.1375144720077515, -0.01883353479206562, 0.6548195481300354, 0.5329822301864624, -0.23057934641838074, 0.475359708070755, -0.179175466299057, -0.6169589161872864, -0.295366495847702, -0.06683626770973206, 0.6746960878372192, 0.23209939897060394, 0.15997640788555145, -0.13898107409477234, -0.5748662948608398, -0.5467002987861633, -0.12525895237922668, -0.44732406735420227, 0.307759553194046, -0.1898067593574524, 0.6219242215156555, 0.08042088896036148, 0.5897361636161804, -0.4660000205039978, 0.08257406204938889, 0.011896411888301373, 0.18568097054958344, 0.04562114179134369, 0.5444261431694031, 0.3814002573490143, -0.3990059792995453, -0.1473119854927063, 0.07969590276479721, -0.8820237517356873, -0.13604651391506195, 0.4026915729045868, -0.15031245350837708, 0.313128262758255, 0.6897738575935364, -0.26573359966278076, 0.3412316143512726, 0.7022167444229126, -0.6179919838905334, 0.8150187730789185, -0.3462423086166382, 0.6075413823127747, -0.6031064987182617, -0.03821823000907898, -0.10611120611429214, -0.16958296298980713, -0.5931161046028137, 0.4274694621562958, 0.24530386924743652, 0.072441466152668, -0.16984155774116516, 0.15486907958984375, -0.35824859142303467, 0.12368468195199966, -0.026458874344825745, -0.004552031401544809, -0.146645188331604, 0.24575985968112946, -0.36930015683174133, 0.5120927095413208, 0.539484441280365, -0.6263511180877686, 0.5494346022605896, 0.12173718959093094, -0.37640970945358276, 0.46764084696769714, -0.42429739236831665, 0.2657371461391449, -0.23092930018901825, 0.10826757550239563, -1.1728541851043701, -0.5359271764755249, 0.053139571100473404, -0.376015305519104, 0.42519456148147583, 0.07507248967885971, -0.3427242040634155, -0.37103497982025146, -0.14143823087215424, 0.2386629581451416, 0.24223190546035767, -0.632941484451294, 0.25763100385665894, 0.35684868693351746, -0.45411232113838196, -0.6634911298751831, -0.6409969329833984, -0.00720085809007287, 0.22618158161640167, -1.0753692388534546, -0.00027808023151010275, 0.1728253960609436, -0.5238502621650696, 0.05304872244596481, 0.06938304007053375, 0.12993468344211578, 0.11670667678117752, 0.1444133073091507, 0.15070825815200806, -0.5009472966194153, 0.4211108982563019, -0.1542142629623413, 0.14367316663265228, 0.05189241096377373, -0.01838386058807373, 0.3824511766433716, -0.5614848732948303, -0.7893931269645691, -0.21905522048473358, 0.2605324387550354, 0.6526630520820618, -0.3706076443195343, 0.548079252243042, -0.25575610995292664, -0.6289921402931213, -0.10865101218223572, -0.6975439786911011, 0.13071294128894806, -0.43463683128356934, 0.649583637714386, -0.1032521203160286, -0.9331328272819519, 0.5809782147407532, 0.18805593252182007, -0.01149536482989788, 0.5577583312988281, 0.27124661207199097, 0.08795303851366043, 0.9036104083061218, 0.5669469833374023, -0.20082926750183105, 0.1558985561132431, 0.05407135561108589, 0.461446613073349, -0.2598537802696228, -0.2821527123451233, -1.2115769386291504, -0.1422424018383026, -0.5548579096794128, -0.29600074887275696, 0.3823288381099701, 0.40206804871559143, -0.43071088194847107, 0.1013818085193634, -0.2845132052898407, 0.3559841513633728, 0.4299563467502594, 0.04739631712436676, 0.6150690913200378, -0.06069670990109444, -0.28514865040779114, 0.008148516528308392, -0.48148882389068604, -0.5493881702423096, 1.0152723789215088, 0.3825245797634125, 1.0551636219024658, 0.09004460275173187, 0.3597371578216553, 0.048337750136852264, 0.1192311942577362, -0.5105799436569214, 0.6503083109855652, -0.3890645205974579, -0.673237144947052, -0.6000640392303467, -0.3117513954639435, -0.5511589646339417, 0.3539014756679535, -0.17809787392616272, -0.8283393979072571, 0.3217191994190216, 0.3253483772277832, -0.49710744619369507, 0.520992636680603, -0.9018025994300842, 1.222731590270996, -0.15691852569580078, -0.469808429479599, -0.24911963939666748, -0.3703227937221527, 0.4280818700790405, 0.2772148549556732, 0.34643831849098206, 0.32781586050987244, 0.3616141080856323, 0.5061722993850708, -0.32780367136001587, 0.7758851647377014, -0.18899798393249512, -0.1060304194688797, 0.30696001648902893, 0.08495289087295532, 0.7993684411048889, -0.12597474455833435, -0.19016678631305695, -0.11990553140640259, -0.10506399720907211, -0.3475643992424011, -0.4952685236930847, 0.7765383124351501, -0.4800940454006195, -0.3864765763282776, -0.4626004695892334, -0.2453523725271225, -0.3859851062297821, -0.04181842505931854, 0.15563538670539856, 0.8399552702903748, -0.6421748399734497, 0.40968772768974304, 0.5972674489021301, -0.017671119421720505, 0.40071600675582886, 0.41585180163383484, -0.488257497549057, -0.300434947013855, 0.45709124207496643, 0.2747664153575897, 0.28291231393814087, 0.23042505979537964, -0.128238707780838, -0.18950031697750092, -0.7676398158073425, -0.509555995464325, 0.16348151862621307, -0.7420452833175659, -0.061770252883434296, -0.6240617632865906, -0.07435279339551926, -0.8451732993125916, -0.2262144237756729, -0.616263210773468, -0.3381120562553406, 0.03423585742712021, -0.3458421230316162, 0.10352025181055069, 1.1309305429458618, 0.05704813078045845, 0.3946768641471863, -0.8319061994552612, -0.37972623109817505, 0.173129141330719, 0.4040258228778839, -0.006393485236912966, -0.4072646498680115, -0.25381889939308167, 0.1409463733434677, -0.32598787546157837, -0.8796365857124329, -0.02944556437432766, 0.13887310028076172, 0.4569675624370575, 0.4183118939399719, -0.5048917531967163, 0.859721839427948, -0.3496347665786743, 0.9492777585983276, -0.10032913833856583, -1.2462488412857056, 0.49603673815727234, -0.44570332765579224, 0.14194518327713013, 0.5830285549163818, 0.022240491583943367, -0.8298393487930298, -0.17919716238975525, -0.5053526759147644, -0.5141799449920654, 0.6119582653045654, -0.003653398947790265, -0.13431386649608612, 0.12139628827571869, 0.19427809119224548, -0.23669461905956268, 0.1021401658654213, -0.5288936495780945, 0.11084423214197159, 0.17569775879383087, -0.41286057233810425, -0.24262061715126038, -0.5045469999313354, 0.02343587763607502, -0.2412174642086029, 1.14127779006958, -0.15877796709537506, 0.058232709765434265, 0.28220340609550476, -0.061439208686351776, -0.3673810064792633, 0.6215560436248779, 0.7506414651870728, 0.9253392219543457, -0.04134444519877434, 0.07430802285671234, 0.38964971899986267, -0.44586580991744995, 0.25376245379447937, -0.052189797163009644, -0.17984892427921295, -0.027675889432430267, 0.46524545550346375, 0.5496516823768616, 0.6261743307113647, -0.4109342694282532, 0.41210663318634033, 0.41490235924720764, -0.09008416533470154, -0.39552876353263855, -0.16290433704853058, 0.18012478947639465, -0.013328390195965767, 0.04821028932929039, 0.35965093970298767, 0.1787569224834442, -0.7809644937515259, -0.034609947353601456, 0.2786102294921875, -0.1981535255908966, -0.31914404034614563, 0.324638307094574, 0.25737521052360535, -0.07984495908021927, 0.6834236979484558, -0.36567172408103943, -0.4314487874507904, 0.6344407796859741, 0.541441023349762, 0.5062589049339294, -0.6830034852027893, 0.3913555145263672, 0.7341218590736389, 0.4883059561252594, -0.7456663846969604, 0.10829240828752518, 0.5066201090812683, -0.590613067150116, -0.7484748959541321, -0.55153888463974, -0.36117979884147644, -0.034328531473875046, -0.6528967022895813, 0.3560130298137665, -0.3504895865917206, 0.08811146765947342, -0.09807591140270233, -0.14826394617557526, -0.16355066001415253, 0.3105194866657257, 0.02664964087307453, 0.9190679788589478, -1.0661344528198242, 0.4942556321620941, 0.9995238780975342, -0.24532368779182434, -0.858775794506073, -0.3566989004611969, 0.3394208252429962, -0.22459764778614044, 0.30548548698425293, -0.1632162630558014, -0.2819608151912689, -0.31150272488594055, -0.5758817791938782, -1.0247406959533691, 0.6379764676094055, 0.26440951228141785, -0.7850080728530884, -0.3778420090675354, 0.04455370828509331, 0.6568558812141418, -0.1441192477941513, 0.3097052276134491, 0.539016842842102, 0.5336683392524719, -0.23795613646507263, -1.2617820501327515, -0.21923492848873138, -0.4081815779209137, -0.11703414469957352, 0.332182377576828, -0.6382486820220947, 1.0565975904464722, 0.07743138819932938, -0.1478578895330429, 0.49812716245651245, 0.6897535920143127, 0.022223692387342453, 0.43357327580451965, 0.33882761001586914, 0.807769775390625, 1.0580954551696777, -0.4280301332473755, 1.0080598592758179, 0.2649707794189453, 0.6485769152641296, 1.0029313564300537, -0.23520153760910034, 0.9912282824516296, 0.16108737885951996, -0.6114146113395691, 0.4788018465042114, 0.5090299844741821, 0.17271730303764343, 0.2839376926422119, 0.23948252201080322, -0.38511011004447937, -0.25118348002433777, 0.2717256247997284, -0.37372973561286926, 0.355665385723114, 0.1309054046869278, -0.3694971203804016, -0.2631799578666687, 0.07773656398057938, 0.21779291331768036, 0.4743151366710663, -0.6420877575874329, 0.3486749529838562, -0.20343512296676636, -0.8729325532913208, 0.2770756185054779, 0.2858615517616272, 0.788364827632904, -0.5418089032173157, -0.07194416224956512, -0.3158057928085327, 0.682666540145874, -0.33471372723579407, -0.3694944977760315, 0.11816658079624176, 0.13879860937595367, -0.13368797302246094, 0.021620269864797592, 0.8413869142532349, -0.37278151512145996, -0.8561086654663086, 0.15049882233142853, 0.17653131484985352, 0.008105247281491756, -0.23882219195365906, -0.09769579768180847, 0.12444154173135757, 0.037519704550504684, 0.10049974918365479, -0.019793683663010597, 0.20494861900806427, -0.10597162693738937, 0.4299984872341156, 0.29316189885139465, -0.007560722529888153, 0.5489057898521423, 0.12274177372455597, 0.4597782492637634, -0.5753625631332397, -0.4740380346775055, -0.6254723072052002, 0.6727308034896851, -0.14991167187690735, -0.5690058469772339, 0.8341902494430542, 0.6270394325256348, 1.3616752624511719, -0.36410003900527954, 0.5569713115692139, -0.13273631036281586, 0.6025388836860657, -0.7666717171669006, 0.46578124165534973, -0.37275171279907227, -0.06839863210916519, -0.50294429063797, -0.605974555015564, -0.39060306549072266, 0.6278307437896729, -0.2874058187007904, 0.08621809631586075, 1.0550150871276855, 1.2049967050552368, 0.12854395806789398, 0.6580749750137329, 0.2830409109592438, 0.522268533706665, -0.0037238604854792356, 0.38662299513816833, 0.8641937971115112, -0.6188971996307373, 0.14704859256744385, -0.33168601989746094, -0.23940202593803406, -0.282563716173172, -0.4468676447868347, -0.4049871265888214, -0.5782721042633057, -0.4375132918357849, -0.5794861912727356, 0.5700675249099731, 0.8769095540046692, 0.3773052394390106, -1.1717250347137451, -0.32983502745628357, -0.2018471658229828, -0.04713096097111702, -0.5013891458511353, -0.12473466247320175, 0.42562708258628845, -0.6004732847213745, -1.0370264053344727, 0.5293105840682983, 0.04650907590985298, -0.34106671810150146, -0.2641758322715759, -0.02390344999730587, -0.44424837827682495, -0.2609126567840576, 0.6266734600067139, 0.09672588855028152, -0.6882243752479553, -0.47999030351638794, 0.23001064360141754, -0.20833933353424072, 0.0010201361728832126, 0.9381422400474548, -0.2154674232006073, 0.3976026773452759, 0.8992007970809937, 0.5479443669319153, 0.1954537332057953, 0.020500632002949715, 0.44092243909835815, -0.5425288081169128, 0.006548464763909578, 0.07712943106889725, 0.5812882781028748, 0.3400566577911377, -0.26283538341522217, 0.7393143773078918, 0.3096073865890503, -0.8854342103004456, -0.7588214874267578, -0.13330507278442383, -0.911857545375824, -0.027792390435934067, 0.984664261341095, -0.3533645272254944, -0.3118377923965454, 0.11559826880693436, -0.3237285912036896, 0.2111590951681137, -0.05251779407262802, 0.6966925859451294, 1.3265935182571411, 0.23329076170921326, 0.11638210713863373, -0.5110216736793518, 0.41446253657341003, 0.772627055644989, -0.9692474007606506, -0.027676239609718323, 0.8330466747283936, 0.25185322761535645, 0.38239994645118713, 0.4949907958507538, -0.7637176513671875, 0.39878571033477783, 0.313117116689682, 0.2615988254547119, 0.24381031095981598, -0.48613643646240234, -0.7039791345596313, 0.32447707653045654, 0.2748386263847351, -0.1504359096288681 ]
http://arxiv.org/abs/2404.14901v2
http://arxiv.org/pdf/2404.14901v2
Beyond Code Generation: An Observational Study of ChatGPT Usage in Software Engineering Practice
2024-04-23T10:34:16
2024-05-21T12:53:30
Ranim Khojah, Mazen Mohamad, Philipp Leitner, Francisco Gomes de Oliveira Neto
cs.SE
cs.SE, cs.AI, cs.CL, cs.HC, cs.LG
Large Language Models (LLMs) are frequently discussed in academia and the general public as support tools for virtually any use case that relies on the production of text, including software engineering. Currently there is much debate, but little empirical evidence, regarding the practical usefulness of LLM-based tools such as ChatGPT for engineers in industry. We conduct an observational study of 24 professional software engineers who have been using ChatGPT over a period of one week in their jobs, and qualitatively analyse their dialogues with the chatbot as well as their overall experience (as captured by an exit survey). We find that, rather than expecting ChatGPT to generate ready-to-use software artifacts (e.g., code), practitioners more often use ChatGPT to receive guidance on how to solve their tasks or learn about a topic in more abstract terms. We also propose a theoretical framework for how (i) purpose of the interaction, (ii) internal factors (e.g., the user's personality), and (iii) external factors (e.g., company policy) together shape the experience (in terms of perceived usefulness and trust). We envision that our framework can be used by future research to further the academic discussion on LLM usage by software engineering practitioners, and to serve as a reference point for the design of future empirical LLM research in this domain.
[ -0.5059924125671387, -0.5231647491455078, 0.590595543384552, 0.20879001915454865, -0.2038121521472931, 0.11485296487808228, -0.2110738903284073, -0.574952244758606, 0.04163701832294464, 0.414825975894928, -0.4693804681301117, -0.35596293210983276, -0.13816770911216736, -0.08692723512649536, -0.6427164673805237, 1.0496023893356323, -0.15081296861171722, -0.03408496454358101, -0.1230475902557373, 0.3557916581630707, -0.5231456160545349, -0.7488217949867249, -0.5828518867492676, -0.5198423862457275, 0.5916023254394531, 0.33646538853645325, 0.6400443911552429, 0.0063843573443591595, 0.47994107007980347, 0.1926872730255127, 0.02138788066804409, -0.18049441277980804, -0.5347880721092224, 0.06099439039826393, 0.26059600710868835, -0.7518800497055054, -0.24912242591381073, 0.09794708341360092, 0.3505913019180298, 0.6655915379524231, -0.32808414101600647, 0.1432085931301117, 0.4736853241920471, 0.47681793570518494, -0.1955343633890152, 0.5340321063995361, -0.6014841794967651, 0.21529443562030792, -0.14324951171875, -0.43573373556137085, -0.4561171531677246, -0.35217738151550293, 0.10058438777923584, -0.514186441898346, -0.09730581939220428, 0.23036417365074158, 0.7356760501861572, -0.05796675384044647, -0.3118387758731842, -0.523036539554596, -0.943672776222229, 0.6286908388137817, -0.8375391960144043, 0.3714829385280609, 0.23790116608142853, 0.27858224511146545, -0.4740559458732605, -0.6595707535743713, -0.4401679039001465, -0.5657145380973816, -0.14248280227184296, 0.38750097155570984, 0.07374788075685501, 0.26731276512145996, 0.3726659417152405, 0.5037134289741516, -0.4763496220111847, 0.09495624899864197, -0.5902707576751709, -0.03421735018491745, 0.5859678387641907, 0.11246209591627121, 0.4124857783317566, 0.17923742532730103, -0.20265254378318787, 0.1845397651195526, -1.113759994506836, 0.007649845909327269, 0.4117239713668823, -0.033195093274116516, -0.20589369535446167, 0.5301662683486938, 0.11373817175626755, 0.397745817899704, -0.4689575433731079, 0.14612798392772675, 0.21613675355911255, 0.11315663158893585, -0.1772659718990326, -0.10407589375972748, 0.7107280492782593, 0.32364654541015625, 0.6361173391342163, -0.15032367408275604, -0.22554349899291992, 0.13787999749183655, 0.529758095741272, -0.7763283252716064, -0.5373635292053223, 0.13926303386688232, -0.4175111949443817, -0.43435952067375183, -0.08887091279029846, -0.5345001220703125, -0.535839855670929, -0.3733193874359131, -0.012378135696053505, -0.16136164963245392, -0.5769422650337219, -0.10913700610399246, -0.10308824479579926, 0.4307294189929962, 0.17881931364536285, -0.5487565398216248, 0.04561672732234001, 0.8833362460136414, 0.8592208027839661, -0.025444282218813896, -0.36315345764160156, -0.10936304926872253, -0.18210357427597046, -0.5277498364448547, 0.7380737662315369, -0.46318092942237854, -0.9182898998260498, 0.272493839263916, -0.38578000664711, 0.10052202641963959, -0.5251702070236206, 0.3272366225719452, -0.498674601316452, 0.11347842216491699, 0.006119405850768089, -0.6148606538772583, 0.019466867670416832, 0.2087666392326355, -0.26770609617233276, 0.8744797110557556, -0.1250465363264084, -0.441083699464798, 0.6173562407493591, -0.8835514783859253, -0.09813854098320007, 0.29315730929374695, -0.7392753958702087, -0.23126818239688873, 0.2586471438407898, -0.288678914308548, 0.4789888858795166, -0.19661357998847961, 0.24523739516735077, -0.38927391171455383, -0.2989650368690491, 0.6779630780220032, -0.3646324872970581, 0.32658642530441284, 0.3777315318584442, -0.09909211099147797, -0.1285795420408249, -0.4321632385253906, -0.03756122663617134, -0.01589062064886093, -0.21560871601104736, -0.29303139448165894, 0.4001334607601166, 0.03252163901925087, 0.2395380437374115, -0.11798705160617828, -0.5721110701560974, 0.0305669866502285, -0.5398672223091125, 0.6370702981948853, 0.7813999652862549, 0.15574809908866882, 0.19092446565628052, -0.35786131024360657, 0.6127716898918152, -0.22634491324424744, 0.06725913286209106, -0.3415391743183136, -0.5735301375389099, -0.5220243334770203, -0.15284442901611328, 0.11848094314336777, 0.24914458394050598, -0.5139472484588623, -0.08831100910902023, -0.2290372997522354, -0.4526737630367279, -0.33681657910346985, 0.14777079224586487, 0.3052476942539215, 0.19759956002235413, -0.14104673266410828, -0.3449292778968811, -0.4908573627471924, -0.8794171214103699, -0.29629719257354736, -0.4729398190975189, -0.3358311951160431, 0.6966162919998169, 0.33537912368774414, -0.12676170468330383, 1.2250772714614868, -0.6791492104530334, -0.010073954239487648, -0.33576399087905884, 0.20788393914699554, 0.20608735084533691, 0.23678196966648102, 0.4218086004257202, -0.8296474814414978, -0.4176197648048401, 0.2127600610256195, -0.8928402066230774, -0.10034776479005814, -0.19219423830509186, -0.07577754557132721, 0.06797684729099274, 0.5842068195343018, -0.5288360118865967, 0.168244406580925, 0.6424815654754639, -0.11625164747238159, 0.6716961860656738, -0.05283886939287186, -0.016235847026109695, -1.0421420335769653, 0.06123838946223259, 0.10376913845539093, -0.19234433770179749, -0.5977113246917725, 0.23264764249324799, -0.24037571251392365, -0.4626145660877228, -0.3347795307636261, 0.5579838156700134, -0.46447378396987915, -0.08264807611703873, -0.5199142098426819, 0.33637580275535583, -0.3182026743888855, 0.4446932375431061, 0.08618713915348053, 1.0580074787139893, 0.25996509194374084, -0.43566107749938965, -0.034192197024822235, 0.1865169256925583, -0.4960326552391052, 0.43778812885284424, -0.7905539870262146, 0.15138854086399078, 0.23847627639770508, 0.13317157328128815, -0.9995765089988708, -0.13384392857551575, 0.03617549687623978, -0.5267578959465027, -0.020470963791012764, -0.22829392552375793, -0.5474258065223694, -0.2714433968067169, -0.1414652168750763, 0.06243397295475006, 0.9310522675514221, -0.30844780802726746, 0.44844502210617065, 0.5340750813484192, -0.5309069156646729, 0.02696612849831581, -0.7612786293029785, 0.1936333179473877, -0.3717927634716034, -0.7411532402038574, 0.060052525252103806, 0.024448325857520103, -0.5407554507255554, -0.28711193799972534, -0.31283557415008545, -0.2388361394405365, 0.17283731698989868, 0.48106467723846436, 0.2840505540370941, -0.3449292480945587, 0.2228015810251236, -0.2862197160720825, -0.06719956547021866, 0.3866790235042572, 0.06630787253379822, 0.5878361463546753, -0.16844846308231354, -0.5243753790855408, -0.1306188553571701, 0.3261556625366211, 0.20683184266090393, -0.0324421226978302, 0.5736660361289978, 0.3042129874229431, -0.00813368707895279, -0.3519143760204315, -0.5561810731887817, -0.36766985058784485, -0.5235170722007751, 0.32508185505867004, -0.3016972243785858, -0.9776526093482971, 0.5460011959075928, -0.38280972838401794, 0.6126795411109924, -0.041863955557346344, 0.5279557108879089, -0.36118677258491516, 0.7248892784118652, 0.7597402930259705, -0.1368943750858307, 0.6450054049491882, -0.11486367881298065, 0.5387553572654724, -0.8753738403320312, 0.017913740128278732, -0.45379796624183655, -0.044569529592990875, -0.5803909301757812, -0.023176871240139008, 0.5167413353919983, 0.022245272994041443, -0.17734816670417786, 0.1023561954498291, -0.28540077805519104, 0.3542342185974121, 0.21279862523078918, 0.17936232686042786, 0.2827931046485901, -0.23078881204128265, 0.11178546398878098, 0.059841789305210114, -0.6045438647270203, -0.6643157601356506, 0.9518259167671204, 0.3881208002567291, 0.818584680557251, -0.12391288578510284, 0.7123799324035645, 0.3714824616909027, 0.5410886406898499, -0.7732675671577454, 0.6207568049430847, 0.25638628005981445, -0.4286491572856903, -0.19242368638515472, -0.3614875376224518, -0.9785861968994141, 0.25073882937431335, 0.05688827857375145, -0.8662164807319641, -0.214086651802063, 0.5206027626991272, -0.03598383069038391, 0.0025751590728759766, -0.9322006702423096, 0.7685478925704956, -0.15944644808769226, -0.23930583894252777, -0.39307329058647156, -0.39392203092575073, 0.3335968255996704, -0.17170362174510956, 0.44024884700775146, -0.007724514231085777, 0.23501601815223694, 0.44473567605018616, -0.30216532945632935, 1.1070520877838135, -0.09656556695699692, -0.36109110713005066, 0.45436689257621765, 0.15787281095981598, 0.6750506162643433, 0.0029746380168944597, -0.04616330564022064, 0.20163030922412872, 0.04988095536828041, -0.02583087980747223, -0.59326171875, 0.5573769807815552, -0.6452248096466064, -0.6452381014823914, -0.2755441665649414, -0.3601672053337097, -0.3083248436450958, 0.06324195861816406, 0.03435184061527252, 0.47303861379623413, -0.3478377163410187, 0.3738933801651001, 0.5483074188232422, -0.33962881565093994, 0.2855518162250519, 0.393013060092926, -0.5492851138114929, 0.2630918622016907, 0.7531232237815857, 0.15001749992370605, 0.277427613735199, 0.10479676723480225, 0.2823682129383087, 0.04630624130368233, -0.4862908720970154, -0.13008050620555878, 0.02808639593422413, -0.5449066162109375, 0.21126608550548553, -0.4153183400630951, -0.35133689641952515, 0.12017611414194107, -0.3559044301509857, -0.2653658092021942, -0.09305857121944427, 0.08748964965343475, -0.09719555824995041, 0.3437047302722931, 0.642017126083374, 0.49183887243270874, 0.3854195177555084, -0.7803744077682495, -0.0025401548482477665, 0.025932621210813522, 0.3671153485774994, -0.05412553995847702, -0.16937923431396484, -0.3173787593841553, 0.07807479798793793, -0.41056200861930847, -0.7205435633659363, 0.15025046467781067, -0.038544073700904846, 0.775934636592865, 0.07652853429317474, -0.023788386955857277, 0.3083273768424988, -0.43457114696502686, 1.1047757863998413, -0.011993237771093845, -0.6292637586593628, 0.29357418417930603, -0.6535154581069946, 0.15174071490764618, 0.08088168501853943, 0.23139898478984833, -0.8256685137748718, -0.6858274936676025, -0.5305350422859192, -0.9166104197502136, 0.3797442317008972, 0.4469929337501526, 0.4506821930408478, 0.20040400326251984, 0.30411991477012634, 0.013939902186393738, 0.5321744084358215, -0.7451480031013489, -0.047465112060308456, 0.15037094056606293, -0.05738255754113197, 0.031686462461948395, -0.2909833788871765, -0.1488882601261139, 0.40476033091545105, 0.6707403659820557, -0.09849562495946884, 0.5224122405052185, -0.02449304796755314, -0.06229319050908089, 0.34411874413490295, 0.5141854882240295, 0.391676664352417, 0.9493923187255859, 0.11269036680459976, -0.0835232064127922, 0.12723413109779358, -0.4800824224948883, -0.369647353887558, -0.12046539038419724, -0.10357766598463058, -0.23854891955852509, 0.20301015675067902, 0.4414180815219879, 0.25122374296188354, -0.7174773812294006, 0.33482998609542847, 0.3457721769809723, -0.22970165312290192, -0.6520944237709045, 0.2841804623603821, 0.18161335587501526, 0.33400213718414307, 0.18500734865665436, -0.20068715512752533, 0.29255247116088867, -0.5770116448402405, 0.11164864897727966, 0.45212143659591675, -0.35875678062438965, -0.18430086970329285, 0.4807577133178711, 0.45687851309776306, -0.39242932200431824, 0.49446606636047363, 0.01531959231942892, -0.2699744701385498, 0.5503430962562561, 0.3349098563194275, 1.0553843975067139, 0.297808438539505, 0.18320289254188538, -0.18934202194213867, 0.14442679286003113, -0.05103812366724014, 0.20459294319152832, -0.010972651652991772, -0.7485335469245911, -0.5530635714530945, -0.3504674732685089, -0.6682677268981934, 0.02563408389687538, -0.2868350148200989, 0.37717533111572266, -0.22153832018375397, -0.11666196584701538, -0.022554686293005943, -0.2569281756877899, -0.5330589413642883, -0.15486666560173035, 0.12436643987894058, 0.6868610978126526, -0.5411769151687622, 0.6878936290740967, 0.7792165875434875, -0.40397635102272034, -0.9320494532585144, 0.11324950307607651, 0.2442454993724823, -0.9108670949935913, 0.39643222093582153, -0.04131418839097023, -0.18889804184436798, -0.22518469393253326, -0.5073102116584778, -0.33242067694664, 0.9549425840377808, 0.08804063498973846, -0.6604041457176208, -0.03436657786369324, 0.2671928107738495, 0.7466760873794556, -0.27235138416290283, 0.4291140139102936, 0.3328375816345215, 0.06845321506261826, 0.02609098143875599, -1.0827312469482422, -0.16205444931983948, -0.4331596791744232, 0.18775999546051025, 0.5001683831214905, -0.9132606983184814, 0.5170755982398987, 0.1559821516275406, -0.005872656591236591, -0.09707032144069672, 0.2746508717536926, 0.34900790452957153, 0.4241379499435425, 0.2789316773414612, -0.262862890958786, 0.4637894928455353, 0.08925704658031464, 0.9854399561882019, -0.7153773307800293, 0.2506639361381531, 0.9572103023529053, -0.41543954610824585, 0.7553313374519348, 0.6738825440406799, -0.3690820038318634, 0.4176987111568451, 0.4516957700252533, -0.02566371113061905, 0.19072911143302917, 0.47995778918266296, -0.2238927036523819, -0.034686099737882614, 0.08425110578536987, -0.5617504119873047, 0.19474001228809357, 0.37743836641311646, -0.44440218806266785, 0.024492589756846428, 0.05404546484351158, 0.29623863101005554, -0.0826226994395256, -0.22034642100334167, 0.793563961982727, 0.6069686412811279, -0.515753448009491, 0.21919691562652588, -0.30589115619659424, 0.43687236309051514, -0.7380994558334351, -0.12637977302074432, -0.20558741688728333, 0.21553945541381836, -0.328130841255188, -1.1028450727462769, 0.42019838094711304, 0.1727260947227478, 0.12252272665500641, -0.4069007337093353, 0.6797193288803101, 0.06851361691951752, -0.31142932176589966, 0.009643579833209515, 0.6225487589836121, 0.5122829079627991, -0.17687901854515076, -0.3053986728191376, -0.03344561904668808, -0.0056817904114723206, -0.5829855799674988, 0.5559071898460388, 0.4818655848503113, 0.04700896516442299, 0.9792882800102234, 0.4653465449810028, 0.11083619296550751, -0.05648527666926384, -0.005299305077642202, 1.0577374696731567, -0.43337324261665344, -0.511811375617981, -0.7879311442375183, 0.5699320435523987, -0.05200948193669319, -0.4409502148628235, 0.8472050428390503, 0.7214820384979248, 0.9039745330810547, 0.04872076213359833, 1.2055567502975464, -0.10068373382091522, 0.3884419798851013, -0.7159034609794617, 0.5995171070098877, -0.4046740233898163, 0.6602315306663513, -0.5173504948616028, -0.9173381924629211, -0.043992720544338226, 0.4323655664920807, -0.6198347806930542, 0.13358311355113983, 0.48200613260269165, 0.8433384299278259, -0.010585700161755085, 0.35712969303131104, 0.3592924475669861, 0.12272979319095612, 0.6641582250595093, 0.3148994445800781, 1.1070971488952637, 0.12036501616239548, 0.7100584506988525, 0.0038002589717507362, -0.24689824879169464, -0.09060505777597427, -0.8081877827644348, -0.9433530569076538, -0.3708718419075012, -0.1893732100725174, -0.18515682220458984, 0.10328621417284012, 1.0775736570358276, 0.4763546586036682, -0.4818445146083832, -0.6526407599449158, -0.24712540209293365, -0.22680234909057617, -0.06995614618062973, -0.21963179111480713, -0.02024914138019085, -0.5776429772377014, -0.40130794048309326, 0.14102579653263092, 0.14934831857681274, -0.24147707223892212, -0.4298672378063202, -0.08351366221904755, 0.35784706473350525, -0.008506477810442448, 0.7992498278617859, 0.2909596264362335, -0.3439645767211914, -0.17543458938598633, 0.12875953316688538, 0.10268814116716385, 0.3254898488521576, 1.1313652992248535, -0.4787971079349518, 0.19502951204776764, 0.36605313420295715, 0.5456721186637878, 0.5297435522079468, -0.18079039454460144, 0.995245099067688, -0.6223753690719604, 0.0700146034359932, 0.17114172875881195, 0.2836083471775055, -0.0018293114844709635, -0.40206825733184814, 0.6107721924781799, 0.007434367202222347, -0.9982045888900757, -0.8920525908470154, 0.3429018259048462, -0.6510765552520752, -0.06317270547151566, 1.3161399364471436, -0.17803220450878143, 0.29907479882240295, -0.21605028212070465, -0.5232709646224976, -0.16481336951255798, -0.589765191078186, 0.9132492542266846, 0.7545243501663208, -0.5323516726493835, -0.46618935465812683, -1.105448842048645, 0.4287205934524536, 0.12383044511079788, -0.8674851655960083, 0.1352822482585907, 0.42592838406562805, 0.29486897587776184, 0.011958842165768147, 0.7875485420227051, -0.10162777453660965, 0.06388385593891144, 0.26626232266426086, 0.10749062895774841, 0.01873490773141384, -0.08583708107471466, 0.05187840759754181, 0.082951620221138, 0.7378482818603516, 0.00598420575261116 ]
http://arxiv.org/abs/2404.14897v1
http://arxiv.org/pdf/2404.14897v1
Beyond the Speculative Game: A Survey of Speculative Execution in Large Language Models
2024-04-23T10:25:45
2024-04-23T10:25:45
Chen Zhang, Zhuorui Liu, Dawei Song
cs.CL
cs.CL, cs.AI
With the increasingly giant scales of (causal) large language models (LLMs), the inference efficiency comes as one of the core concerns along the improved performance. In contrast to the memory footprint, the latency bottleneck seems to be of greater importance as there can be billions of requests to a LLM (e.g., GPT-4) per day. The bottleneck is mainly due to the autoregressive innateness of LLMs, where tokens can only be generated sequentially during decoding. To alleviate the bottleneck, the idea of speculative execution, which originates from the field of computer architecture, is introduced to LLM decoding in a \textit{draft-then-verify} style. Under this regime, a sequence of tokens will be drafted in a fast pace by utilizing some heuristics, and then the tokens shall be verified in parallel by the LLM. As the costly sequential inference is parallelized, LLM decoding speed can be significantly boosted. Driven by the success of LLMs in recent couple of years, a growing literature in this direction has emerged. Yet, there lacks a position survey to summarize the current landscape and draw a roadmap for future development of this promising area. To meet this demand, we present the very first survey paper that reviews and unifies literature of speculative execution in LLMs (e.g., blockwise parallel decoding, speculative decoding, etc.) in a comprehensive framework and a systematic taxonomy. Based on the taxonomy, we present a critical review and comparative analysis of the current arts. Finally we highlight various key challenges and future directions to further develop the area.
[ -0.33183637261390686, -0.8499522805213928, 0.7222465872764587, 0.23547357320785522, -0.021727150306105614, 0.5813868045806885, -0.27197951078414917, -0.7540797591209412, 0.4578608274459839, 0.7129629254341125, -0.5156960487365723, -0.47053325176239014, -0.5449146628379822, 0.07306139916181564, -0.5561909079551697, 0.5162899494171143, -0.09135697036981583, -0.18580502271652222, -0.11080983281135559, 0.21149085462093353, -0.1520811766386032, -0.6805600523948669, -0.6362484693527222, 0.12455307692289352, 0.44159871339797974, 0.056989636272192, 0.35812485218048096, 0.7926015853881836, 0.47862017154693604, 0.3975012004375458, -0.01564498245716095, 0.12647445499897003, -0.7118188738822937, 0.23618710041046143, -0.083010733127594, -0.8485540151596069, -0.3775351643562317, -0.04257062450051308, 0.9158015847206116, 0.5749645829200745, 0.03242555260658264, -0.032760147005319595, -0.310090035200119, 0.38389360904693604, -0.7478537559509277, -0.027504123747348785, -0.6356261372566223, -0.04913337156176567, -0.7147751450538635, -0.2818339169025421, -0.47440415620803833, -0.29100123047828674, 0.026254627853631973, -0.3564504384994507, 0.1646755039691925, 0.4646947383880615, 0.41535401344299316, 0.03305986151099205, -0.25363805890083313, -0.238359272480011, -0.8199813961982727, 0.702792763710022, -0.6890044808387756, 0.3884335160255432, 0.0819522961974144, 0.21415238082408905, -0.3082268238067627, -0.7962678670883179, -0.5707522630691528, -0.2593625485897064, 0.18268656730651855, 0.12622572481632233, -0.11886033415794373, 0.18855513632297516, 0.4011121988296509, 0.3949013352394104, -0.4518510103225708, 0.4749082624912262, -0.16283825039863586, -0.2873474955558777, 0.49365541338920593, 0.6509128212928772, -0.03540639579296112, 0.1370810866355896, -0.27026984095573425, 0.18017297983169556, -0.7761355638504028, -0.13433580100536346, 0.6053934097290039, -0.17851622402668, 0.018542706966400146, 0.5053820013999939, -0.3322490453720093, 0.5053713917732239, -0.04370187968015671, 0.038377344608306885, 0.021636519581079483, -0.44162717461586, 0.06984490901231766, -0.17961403727531433, 0.9594112634658813, 0.19915495812892914, -0.2102404236793518, -0.2924605906009674, -0.25780704617500305, 0.25376811623573303, 0.11096934974193573, -0.7499046325683594, -0.005380872171372175, 0.357067734003067, -0.40740320086479187, -0.15929657220840454, -0.052185311913490295, -0.8052669167518616, -0.2711917757987976, 0.01671772077679634, -0.17322948575019836, -0.16998659074306488, -0.37455329298973083, 0.3553466498851776, 0.11835795640945435, 0.23725645244121552, 0.12018842250108719, -1.0129659175872803, 0.5356863737106323, 1.0577589273452759, 0.8467660546302795, -0.39046424627304077, -0.31749558448791504, -0.3088959753513336, 0.12888655066490173, -0.6054428815841675, 0.9592442512512207, -0.5150758624076843, -0.4570698142051697, 0.02208075299859047, -0.18274405598640442, 0.03043315000832081, -0.1684005856513977, 0.6609407663345337, -0.9731473922729492, -0.21453288197517395, -0.4742986261844635, -0.8177044987678528, -0.028950240463018417, 0.32591038942337036, -0.5538358688354492, 0.6869561076164246, -0.35966673493385315, -0.8470775485038757, 0.32771173119544983, -0.38771215081214905, -0.31845635175704956, 0.13315905630588531, -0.28857526183128357, 0.11488421261310577, 0.27787354588508606, -0.015977555885910988, 0.39722001552581787, -0.7897598147392273, 0.1749527007341385, -0.48356640338897705, -0.7575055956840515, 0.16979330778121948, -0.40129581093788147, 0.35068458318710327, 0.2584608793258667, -0.32820990681648254, 0.12951494753360748, -0.45898565649986267, 0.026606686413288116, -0.04654005542397499, -0.040555406361818314, -0.082270048558712, 0.3897494375705719, -0.06853188574314117, -0.013716754503548145, 0.2584582269191742, -0.3557860851287842, 0.29443711042404175, -0.5083913803100586, 0.3721594512462616, 0.736901581287384, 0.00984251033514738, 0.30884310603141785, -0.169416144490242, 0.7773772478103638, -0.31284770369529724, 0.21364569664001465, -0.27692216634750366, -0.35575979948043823, -0.6194614768028259, -0.2528001368045807, 0.23115822672843933, 0.5193209648132324, -0.688255786895752, 0.3178156912326813, -0.14056634902954102, -0.5271992087364197, -0.2959546148777008, -0.22579802572727203, 0.3975592851638794, 0.20648431777954102, -0.09274306893348694, -0.18390516936779022, -0.639483630657196, -0.768108069896698, -0.2683069407939911, -0.34316781163215637, 0.4108849763870239, 0.34314608573913574, 0.2095673382282257, -0.26319584250450134, 0.5871602892875671, -0.529941201210022, 0.2961394190788269, -0.1726863831281662, 0.14523214101791382, 0.47476455569267273, 0.4183717370033264, 0.4692164361476898, -0.5039710402488708, -0.14533483982086182, -0.05052405595779419, -0.6125099658966064, -0.12595343589782715, -0.05537382513284683, -0.18044215440750122, 0.34788644313812256, 0.8615787029266357, -0.7240043878555298, -0.0894695594906807, 0.4983274042606354, -0.15400779247283936, 0.9537570476531982, -0.10211844742298126, 0.3653416931629181, -0.7646504044532776, 0.12009834498167038, -0.31700584292411804, 0.14914757013320923, -0.47654473781585693, 0.5610110759735107, -0.11092302203178406, 0.3448922336101532, -0.13729055225849152, 0.39563167095184326, -0.6647992730140686, -0.13487248122692108, -0.38226306438446045, -0.06149489805102348, -0.28869470953941345, 0.004479910247027874, 0.18326769769191742, 0.764569878578186, 0.7159619331359863, -0.2627524733543396, 0.4247192442417145, -0.2783113121986389, -0.5101510286331177, -0.07696890830993652, -0.6100719571113586, 0.2926563620567322, 0.036693911999464035, 0.4417032301425934, -0.8726754784584045, -0.2162027209997177, 0.3008449375629425, -0.06383442878723145, 0.31119459867477417, -0.08351339399814606, -0.8400934338569641, -0.608071506023407, -0.2575981616973877, 0.6649481654167175, 0.5674995183944702, -0.132745161652565, 0.2026033103466034, 0.4211277961730957, 0.022106409072875977, -1.0884813070297241, -0.5373507738113403, 0.3443361818790436, -0.1747605949640274, -0.5198786854743958, 0.1715213507413864, 0.0019492678111419082, -0.42315322160720825, -0.06303191930055618, 0.0611317977309227, 0.2024809867143631, 0.017393914982676506, -0.014399925246834755, 0.19866697490215302, -0.4326304495334625, -0.07598273456096649, -0.06846101582050323, -0.1649973839521408, 0.29701101779937744, -0.6234122514724731, 0.6106446385383606, -0.19440709054470062, -0.459416925907135, -0.17617018520832062, 0.4608559012413025, 0.41185805201530457, -0.030039189383387566, 0.37064358592033386, 0.5506391525268555, -0.12925267219543457, -0.0985569879412651, -1.0712028741836548, -0.11761830747127533, -0.455228328704834, 0.45430371165275574, -0.5619200468063354, -1.205354928970337, 0.81941157579422, -0.3461277484893799, -0.03498953580856323, 0.4773125648498535, 0.7138300538063049, 0.1702238917350769, 0.6105642318725586, 0.7401145100593567, -0.21420830488204956, 0.2381591945886612, -0.2519930303096771, 0.11531839519739151, -0.6143463253974915, -0.24694426357746124, -0.44509685039520264, -0.20041592419147491, -0.7216048240661621, -0.9750818610191345, 0.15217627584934235, 0.16874316334724426, 0.054718125611543655, 0.06181137263774872, -0.08271190524101257, 0.6456267237663269, 0.2348911017179489, -0.14016255736351013, 0.37879106402397156, -0.28728413581848145, -0.2476767748594284, 0.0024437732063233852, -0.7131036520004272, -0.4200272858142853, 1.068867802619934, 0.33246558904647827, 0.7924493551254272, 0.01660514809191227, 0.6508016586303711, 0.07709620893001556, 0.2542807161808014, -0.6237488389015198, 0.5755113959312439, -0.01826172135770321, -0.7250405550003052, -0.1431993991136551, -0.43401551246643066, -0.6519947052001953, 0.13422968983650208, -0.14087364077568054, -0.9308820962905884, 0.200949028134346, 0.10196832567453384, -0.3596544563770294, 0.5159354209899902, -0.5143803954124451, 0.6775680184364319, -0.12823982536792755, -0.7346200942993164, -0.5704810619354248, -0.5985828042030334, 0.9134636521339417, -0.17585134506225586, 0.09026974439620972, 0.022048916667699814, -0.314328134059906, 0.5992202758789062, -0.32685667276382446, 0.7412817478179932, 0.03524200990796089, -0.3218817412853241, 0.39029356837272644, 0.19598200917243958, 0.7290750741958618, 0.13315144181251526, -0.21535804867744446, 0.21230709552764893, 0.13780924677848816, -0.28399401903152466, -0.46512699127197266, 0.9240856766700745, -0.4885638952255249, -0.8613879084587097, -0.4513392448425293, -0.5927219986915588, -0.42988693714141846, 0.20547905564308167, 0.34930023550987244, 0.24916376173496246, -0.38142916560173035, -0.3519531190395355, 0.6966768503189087, -0.2332124561071396, 0.26510438323020935, 0.31569433212280273, -0.3548923432826996, -0.015972694382071495, 0.8851234912872314, -0.1006174311041832, 0.13863007724285126, 0.6311934590339661, 0.028463926166296005, -0.5076823830604553, -1.1811131238937378, -0.137257918715477, 0.19218744337558746, -0.5470196604728699, 0.1350145936012268, -0.8165419101715088, -0.08000990003347397, -0.30567702651023865, -0.13345487415790558, -0.45071011781692505, -0.18168142437934875, -0.07660457491874695, 0.051046259701251984, 0.4134606420993805, 0.9305635094642639, -0.08352410048246384, 0.31232908368110657, -0.6447851657867432, 0.07027275860309601, -0.19194455444812775, 0.3905971050262451, 0.2640281915664673, -0.34916624426841736, -0.19287747144699097, -0.4541483521461487, 0.24286113679409027, -0.4375130832195282, 0.125413715839386, -0.3868851661682129, 0.4756714999675751, 0.6074828505516052, -0.15117278695106506, 0.700458824634552, -0.6697781085968018, 0.6718907356262207, 0.16925668716430664, -0.7185655236244202, -0.0810978040099144, -0.5787208676338196, 0.08419745415449142, 0.4216671586036682, 0.48559099435806274, -0.6325311064720154, -0.33649715781211853, -0.44561439752578735, -0.8414179086685181, 0.6694014668464661, -0.27009281516075134, 0.16798551380634308, -0.16542549431324005, 0.37455981969833374, 0.29799506068229675, 0.23027443885803223, -0.02346089854836464, -0.20545904338359833, 0.41880348324775696, 0.33296579122543335, -0.24657034873962402, -0.6572268009185791, 0.03893052041530609, -0.0569804422557354, 0.28788450360298157, -0.06650707870721817, 0.34563538432121277, -0.17693673074245453, 0.19777095317840576, 0.012483840808272362, 0.07614018768072128, 0.45984145998954773, 0.6309264302253723, -0.23662012815475464, 0.08909650146961212, 0.015414570458233356, -0.40225228667259216, -0.00909760408103466, 0.033452101051807404, -0.01011542696505785, -0.30385926365852356, 0.7089460492134094, 0.6976981163024902, 0.3222227990627289, -0.7664673328399658, 0.32754796743392944, 0.022056404501199722, -0.11096308380365372, -0.2270481288433075, -0.07658299803733826, 0.19103017449378967, 0.48971349000930786, 0.307964950799942, 0.10216469317674637, 0.4353472888469696, -0.5508279800415039, 0.20647284388542175, 0.4012606739997864, 0.05929489806294441, -0.3020945191383362, 0.5858242511749268, 0.012773383408784866, 0.06135929003357887, 0.38050979375839233, -0.4363786578178406, -0.4184384047985077, 0.5417636632919312, 0.5471963882446289, 0.924246609210968, 0.24720828235149384, -0.1366136074066162, 0.1641765534877777, 0.29472821950912476, -0.2648923099040985, 0.555382251739502, -0.022504545748233795, -0.569111704826355, -0.9494064450263977, -0.6983276009559631, -0.39987072348594666, -0.02929479256272316, -0.312093585729599, -0.027247659862041473, -0.6369071006774902, -0.10918103158473969, -0.2372930347919464, 0.15138842165470123, -0.3722553849220276, -0.34747371077537537, 0.20723369717597961, 1.1215819120407104, -0.35856160521507263, 0.7030132412910461, 0.409345805644989, 0.10827726870775223, -0.47032326459884644, 0.2680189311504364, 0.09120305627584457, -0.7067176699638367, 0.6846383810043335, -0.2197517454624176, -0.34978243708610535, -0.022394409403204918, -0.25964006781578064, -0.9584206938743591, 0.7651578783988953, 0.3652893602848053, -1.0143455266952515, -0.19414271414279938, 0.013122268952429295, 0.6109516024589539, -0.26967862248420715, 0.5616378784179688, 0.69121915102005, 0.36021146178245544, 0.33300095796585083, -0.6007809042930603, 0.18499042093753815, -0.11041015386581421, 0.010739601217210293, 0.19359786808490753, -0.9972464442253113, 0.8075287938117981, -0.24099546670913696, -0.21856100857257843, 0.4715030789375305, 0.7301618456840515, 0.27443400025367737, 0.0044881561771035194, 0.21637557446956635, 0.36528441309928894, 0.6262294054031372, -0.15924829244613647, 1.288267731666565, -0.45348629355430603, 0.06515489518642426, 0.8843034505844116, -0.36508527398109436, 0.8190993070602417, 0.4246961772441864, -0.42952385544776917, 0.3009294271469116, 0.7628970146179199, 0.14825314283370972, 0.19105927646160126, 0.5338696837425232, -0.2586808204650879, -0.368441641330719, -0.1702728122472763, -0.4228198826313019, 0.4731234908103943, 0.7094439268112183, -0.1051928699016571, -0.1563439965248108, -0.47801119089126587, -0.15521016716957092, -0.04987417161464691, -0.23303821682929993, 0.3390205502510071, 0.17243309319019318, -0.5037359595298767, 0.5376355648040771, 0.1423674076795578, 0.9684244990348816, -0.7282719016075134, 0.16782478988170624, -0.07678268104791641, 0.12649540603160858, 0.02172575332224369, -0.6592655181884766, 0.22907540202140808, -0.11363005638122559, -0.20251111686229706, -0.007354770787060261, 0.5242593288421631, -0.10754816234111786, -0.3591650724411011, 0.48152241110801697, 0.5781165361404419, 0.29052191972732544, -0.0022913459688425064, -0.6493460536003113, 0.7620705366134644, -0.43595653772354126, -0.2619839012622833, 0.14577700197696686, 0.6860575079917908, -0.20665590465068817, 0.544624924659729, 0.7181295156478882, 0.3263435661792755, 0.09329544752836227, 0.12449364364147186, 0.9104018211364746, -0.7251362204551697, -0.5011221170425415, -1.0127989053726196, -0.005584931932389736, 0.07420944422483444, -0.2746019661426544, 0.8400144577026367, 0.5652295351028442, 0.6136152148246765, -0.04589829221367836, 0.671573281288147, -0.12680068612098694, 0.12907187640666962, -0.674908459186554, 0.5916106104850769, -0.17937612533569336, 0.3686406910419464, -0.41772109270095825, -0.650351345539093, -0.19439756870269775, -0.006898423191159964, -0.5568845868110657, -0.028337832540273666, 0.7727950811386108, 0.820611298084259, 0.08124927431344986, 0.16659776866436005, 0.3517034649848938, 0.44887876510620117, 0.07429683208465576, 0.7572796940803528, 1.1664025783538818, -0.1704450398683548, 0.15805940330028534, -0.014159553684294224, -0.31269174814224243, -0.2242405265569687, -0.8398489952087402, -0.8708547949790955, -0.3933797776699066, 0.011328180320560932, -0.19412145018577576, 0.1734657883644104, 0.6832605004310608, 0.651613712310791, -0.7354385852813721, -0.4854273796081543, -0.0470113568007946, 0.06104864180088043, -0.26120734214782715, -0.15320833027362823, 0.44820505380630493, -0.35335877537727356, -0.8940038681030273, 0.49542826414108276, 0.3769317865371704, -0.2253781110048294, -0.4754874110221863, 0.029566090553998947, -0.23477017879486084, 0.012490291148424149, 0.6112633347511292, 0.42144784331321716, -0.8170486688613892, 0.07812373340129852, 0.20012760162353516, -0.001008544466458261, -0.38447389006614685, 1.2589961290359497, -0.6142328977584839, 0.28305208683013916, 0.52287757396698, 1.0163789987564087, 0.5853939056396484, -0.3426705002784729, 0.6957747340202332, -0.27218911051750183, 0.302554190158844, 0.37450337409973145, 0.2987196445465088, -0.16870056092739105, -0.5307048559188843, 0.2160952091217041, 0.5303496718406677, -0.39421114325523376, -0.8157362937927246, 0.3026648461818695, -0.8412473201751709, -0.22997434437274933, 1.0503073930740356, -0.12451484054327011, -0.270277738571167, -0.15259987115859985, -0.003557020565494895, 0.008923936635255814, -0.3007109761238098, 0.7038236856460571, 0.7786695957183838, -0.2081143707036972, -0.10730881243944168, -0.5863107442855835, 0.515951931476593, 0.3472415506839752, -0.6239651441574097, 0.3811662197113037, 0.5780285000801086, -0.051566071808338165, 0.03999439254403114, 0.7543021440505981, -0.1863093078136444, 0.19379882514476776, 0.43231821060180664, -0.0795266330242157, 0.1942039430141449, -0.20436464250087738, -0.1079697236418724, 0.27950993180274963, 0.19152377545833588, 0.26058003306388855 ]
http://arxiv.org/abs/2404.14883v1
http://arxiv.org/pdf/2404.14883v1
Language in Vivo vs. in Silico: Size Matters but Larger Language Models Still Do Not Comprehend Language on a Par with Humans
2024-04-23T10:09:46
2024-04-23T10:09:46
Vittoria Dentella, Fritz Guenther, Evelina Leivada
cs.CL
cs.CL
Understanding the limits of language is a prerequisite for Large Language Models (LLMs) to act as theories of natural language. LLM performance in some language tasks presents both quantitative and qualitative differences from that of humans, however it remains to be determined whether such differences are amenable to model size. This work investigates the critical role of model scaling, determining whether increases in size make up for such differences between humans and models. We test three LLMs from different families (Bard, 137 billion parameters; ChatGPT-3.5, 175 billion; ChatGPT-4, 1.5 trillion) on a grammaticality judgment task featuring anaphora, center embedding, comparatives, and negative polarity. N=1,200 judgments are collected and scored for accuracy, stability, and improvements in accuracy upon repeated presentation of a prompt. Results of the best performing LLM, ChatGPT-4, are compared to results of n=80 humans on the same stimuli. We find that increased model size may lead to better performance, but LLMs are still not sensitive to (un)grammaticality as humans are. It seems possible but unlikely that scaling alone can fix this issue. We interpret these results by comparing language learning in vivo and in silico, identifying three critical differences concerning (i) the type of evidence, (ii) the poverty of the stimulus, and (iii) the occurrence of semantic hallucinations due to impenetrable linguistic reference.
[ -0.20529629290103912, -0.7830012440681458, 0.5738452076911926, 0.4478853940963745, -0.08179426938295364, 0.05542701855301857, -0.6364835500717163, -0.5772589445114136, 0.03934232145547867, 0.1547427773475647, -0.009301903657615185, 0.03177151456475258, -0.6433004140853882, 0.41701844334602356, -0.14245456457138062, 0.792264461517334, 0.3212648630142212, 0.40328505635261536, -0.48475563526153564, -0.34276750683784485, -0.33676090836524963, -0.5685184001922607, -0.5846900939941406, -0.46164456009864807, 0.5598992109298706, 0.38375407457351685, 0.7491772174835205, 0.8086588382720947, 0.5399311184883118, 0.317058801651001, -0.417815238237381, -0.02528817392885685, -0.42112112045288086, 0.03916395083069801, -0.06601087749004364, -0.789362370967865, -0.3873475193977356, 0.07090667635202408, 1.0428693294525146, 1.0921136140823364, 0.07119496911764145, 0.025495773181319237, 0.08827049285173416, 0.6847342848777771, -0.3925533592700958, 0.05773947015404701, -0.46585533022880554, -0.02127729542553425, 0.02118348516523838, 0.19576086103916168, -0.3921222388744354, -0.14972899854183197, 0.27971115708351135, -0.5778664350509644, 0.1743396371603012, 0.16619499027729034, 0.6911101937294006, 0.3294827342033386, -0.510277509689331, -0.25425848364830017, -0.837618887424469, 0.6463330388069153, -0.948792040348053, 0.45058226585388184, 0.38391628861427307, -0.2309243083000183, -0.22380566596984863, -0.4312378168106079, -0.4896678626537323, -0.8267889618873596, -0.03924235329031944, -0.43915024399757385, -0.1586543321609497, 0.2199401557445526, 0.6557491421699524, 0.3268085718154907, -0.7565867304801941, 0.21027475595474243, -0.6910029053688049, -0.2852540612220764, 0.4329128861427307, -0.07583314925432205, 0.4034304916858673, -0.04826582595705986, -0.24050399661064148, -0.1871558278799057, -0.7799021601676941, -0.10558480024337769, 0.07821596413850784, 0.28193753957748413, 0.05602592974901199, 0.5233149528503418, 0.06890171766281128, 0.5149796009063721, 0.05452411621809006, -0.2326207458972931, 0.1645096391439438, -0.19421276450157166, -0.2482258379459381, -0.06762290000915527, 0.9360654950141907, 0.29860618710517883, 0.43591925501823425, -0.10070396214723587, 0.09411470592021942, 0.16627244651317596, 0.17042860388755798, -0.876008927822113, 0.018058523535728455, -0.1622767448425293, -0.20445390045642853, 0.025428837165236473, -0.17669181525707245, -0.5960144400596619, -0.7033511996269226, -0.1425897628068924, 0.5349422693252563, -0.3358372151851654, -0.2834819555282593, 0.10988447070121765, 0.0570792518556118, 0.27407413721084595, 0.28362783789634705, -0.8959985971450806, 0.5960446000099182, 0.4417646527290344, 0.8117125034332275, -0.11229804903268814, -0.5142674446105957, -0.25887104868888855, -0.4761410355567932, -0.5185597538948059, 0.7799566984176636, -0.3063475787639618, -0.4281524419784546, -0.36081841588020325, -0.06606044620275497, -0.39154860377311707, -0.9016335606575012, 0.36745619773864746, -0.23391185700893402, 0.1434377133846283, -0.4532102048397064, -0.5749294757843018, -0.1442396193742752, -0.009699951857328415, -0.5204161405563354, 0.7282724380493164, 0.01806265488266945, -0.5937719941139221, 0.4715217351913452, -0.458207368850708, -0.5558387637138367, 0.09144023805856705, -0.3181280493736267, -0.15820878744125366, 0.42984738945961, -0.21799726784229279, 0.33542001247406006, -0.39400988817214966, 0.23986604809761047, -0.32949042320251465, -0.4551578164100647, 0.5621282458305359, -0.31065723299980164, 0.48235347867012024, 0.10829077661037445, -0.3571239113807678, 0.05727821961045265, -0.5440839529037476, -0.13186201453208923, 0.18976444005966187, -0.42256394028663635, -0.19498310983181, 0.15789896249771118, -0.3502832055091858, 0.17455735802650452, 0.09479628503322601, -0.7980858683586121, 0.09413667768239975, -0.6202313303947449, 0.7732930183410645, 0.3607848286628723, -0.2921510934829712, 0.8311867117881775, -0.2566668391227722, 0.5077518224716187, -0.42104172706604004, 0.04202449694275856, 0.16515910625457764, -0.4794594645500183, -0.6641015410423279, -0.11984392255544662, 0.4210819602012634, 0.37669387459754944, -0.15741468966007233, 0.0013556221965700388, -0.5557311773300171, -0.37953200936317444, -0.3595485985279083, 0.13986903429031372, 0.2840314209461212, 0.30289968848228455, 0.06317880004644394, -0.23669831454753876, -0.20260336995124817, -1.1129175424575806, -0.3692251443862915, -0.5050774216651917, -0.28946101665496826, 0.4004850685596466, 0.5468783378601074, -0.0648447573184967, 0.7363067269325256, -0.22376272082328796, -0.18101593852043152, -0.4374096989631653, 0.04318959638476372, -0.3398347496986389, 0.2474946677684784, 0.5767887234687805, -0.6040893793106079, -0.19898876547813416, 0.2234003245830536, -0.6727609038352966, -0.12869669497013092, -0.015351367183029652, 0.28499510884284973, 0.18986651301383972, 0.6887320876121521, -0.6768022775650024, 0.24910402297973633, 0.5712305307388306, -0.4803394675254822, 0.4092458188533783, -0.5545790195465088, -0.1041642352938652, -0.6857988834381104, -0.00014413193275686353, -0.07147390395402908, -0.2193182110786438, -0.7584187984466553, -0.008452030830085278, 0.25894495844841003, 0.06227477267384529, -0.20693299174308777, 0.5720990300178528, -0.30549442768096924, -0.22443456947803497, -0.36037182807922363, 0.32195255160331726, 0.04440409317612648, 0.5572498440742493, -0.23130269348621368, 0.8920543789863586, 0.16219337284564972, -0.5766938328742981, 0.060540106147527695, -0.20871782302856445, -0.09044189751148224, 0.1739577203989029, -0.8845323324203491, 0.11295327544212341, -0.01179755199700594, 0.23923811316490173, -0.9891491532325745, -0.41758379340171814, 0.02707762084901333, -0.6270581483840942, 0.3534803092479706, 0.21155907213687897, -0.6042670607566833, -0.1864391565322876, -0.3195633590221405, 0.46313443779945374, 0.510887622833252, -0.17495663464069366, 0.4182046055793762, 0.35191330313682556, -0.15066766738891602, -0.05717261880636215, -0.6612537503242493, 0.09917893260717392, -0.30066221952438354, -0.7012196183204651, 0.030111979693174362, -0.20151787996292114, -0.807636022567749, -0.33429861068725586, -0.18892261385917664, 0.11453115195035934, 0.25620970129966736, 0.21283559501171112, 0.17231440544128418, -0.4295022785663605, 0.6356666684150696, -0.057465553283691406, 0.31390631198883057, 0.3537863790988922, -0.012278662994503975, 0.4417376220226288, -0.4187673032283783, -0.038721296936273575, -0.21107004582881927, 0.15609867870807648, 0.9730587005615234, -0.05166527256369591, 0.857481062412262, 0.18272742629051208, -0.33935514092445374, -0.0866144523024559, -0.607875406742096, -0.24950261414051056, -0.3655160069465637, 0.4058056175708771, -0.21075601875782013, -1.0981210470199585, 0.4657716453075409, -0.050374146550893784, -0.20108281075954437, 0.6448414921760559, 0.4754272401332855, 0.006003840360790491, 0.9547170400619507, 0.6567389965057373, 0.09483429044485092, 0.5197706818580627, 0.033626675605773926, 0.12355632334947586, -0.9688377976417542, 0.059463318437337875, -0.591687798500061, -0.19247694313526154, -0.6263065338134766, -0.4580140709877014, 0.33437278866767883, 0.020900534465909004, -0.26281726360321045, 0.09914615005254745, -0.3042328953742981, 0.5601248741149902, 0.21132002770900726, -0.059817682951688766, 0.3930892050266266, -0.08601205796003342, 0.0052644372917711735, -0.032627735286951065, -0.844498872756958, -0.5976011157035828, 1.034868836402893, 0.4536905884742737, 0.3999963402748108, -0.01187348272651434, 0.054440245032310486, 0.08804884552955627, 0.2381182760000229, -0.8669131994247437, 0.6147554516792297, -0.1229952946305275, -0.6620317697525024, -0.5019403696060181, -0.6093156337738037, -1.0625114440917969, 0.6698179841041565, -0.16499222815036774, -0.7492178678512573, 0.30498355627059937, -0.04761960729956627, -0.47909602522850037, 0.1930943727493286, -1.002030372619629, 0.7629303336143494, -0.12484564632177353, -0.3621540665626526, -0.24643029272556305, -0.7430519461631775, 0.24122683703899384, -0.21099518239498138, 0.44593092799186707, -0.2812851071357727, -0.13223031163215637, 0.7958358526229858, -0.40331241488456726, 0.8058452606201172, 0.08558126538991928, -0.16941103339195251, 0.130452498793602, 0.17191624641418457, 0.14216451346874237, 0.03450414538383484, -0.011868034489452839, 0.01027181651443243, 0.0555025190114975, -0.45769238471984863, -0.5341683030128479, 0.7012342810630798, -0.8416994214057922, -0.548600971698761, -0.41013097763061523, -0.5903568267822266, -0.24523217976093292, -0.05327651649713516, 0.5080751180648804, 0.43694591522216797, -0.3982982039451599, 0.39744678139686584, 0.7710909843444824, -0.36440929770469666, 0.30457812547683716, 0.3634265661239624, -0.31703314185142517, -0.14196640253067017, 0.7496268153190613, 0.25003930926322937, 0.8006072640419006, 0.17520397901535034, 0.4464682936668396, -0.166781947016716, -0.43125900626182556, -0.4318375587463379, 0.7244754433631897, -0.43773844838142395, 0.17078359425067902, -0.5553722381591797, -0.12257548421621323, -0.4309035539627075, 0.06421977281570435, -0.3499639928340912, -0.3293280303478241, -0.14670531451702118, -0.09721721708774567, 0.3427305519580841, 1.124931812286377, -0.208473339676857, 0.15632759034633636, -0.4269770085811615, -0.06466655433177948, 0.34384292364120483, 0.12072735279798508, 0.007456887047737837, -0.9378406405448914, -0.3208315372467041, 0.26206082105636597, 0.007674544584006071, -0.6749904155731201, 0.3439399003982544, 0.35917213559150696, 0.1822095364332199, 0.2461475282907486, -0.2468099296092987, 0.5510532259941101, -0.43191877007484436, 0.6881232261657715, -0.1617663949728012, -0.7323623299598694, 0.3309856653213501, -0.4294668138027191, 0.6143707633018494, 0.2124612182378769, 0.1239306703209877, -0.6100601553916931, -0.43990039825439453, -0.6682089567184448, -0.66476970911026, 0.5448049306869507, 0.22517041862010956, 0.2763073444366455, -0.009922806173563004, 0.5948099493980408, -0.03837478533387184, -0.01467983704060316, -0.7611521482467651, 0.13757973909378052, 0.35104575753211975, 0.2601347863674164, -0.41452476382255554, -0.24145016074180603, 0.017418431118130684, -0.3435654640197754, 0.3474474847316742, -0.14730142056941986, 0.27699926495552063, 0.40231168270111084, -0.3043770492076874, -0.23503108322620392, 0.3112103044986725, 0.8879374265670776, 0.6323736906051636, -0.028281688690185547, 0.07353581488132477, 0.4478694498538971, -0.6845559477806091, 0.04004358872771263, -0.15714682638645172, 0.0941794216632843, -0.22556982934474945, 0.7847720980644226, 0.8374959826469421, 0.44003957509994507, -0.8970322012901306, 0.5401628613471985, -0.3332073390483856, -0.38578227162361145, -0.17468701303005219, -0.001942196162417531, 0.19294488430023193, 0.32907575368881226, 0.0789918377995491, 0.09497834742069244, -0.057461682707071304, -0.6066703200340271, -0.3184520900249481, 0.2644549310207367, -0.07691924273967743, -0.4833223819732666, 0.6127265095710754, 0.03656748682260513, -0.4601602256298065, 0.7116450071334839, -0.21353623270988464, -0.42606887221336365, 0.7496857047080994, 0.5050107836723328, 0.6120608448982239, -0.2141302227973938, 0.17792131006717682, 0.42909857630729675, 0.4399169087409973, -0.3300550878047943, -0.10877399891614914, 0.017244726419448853, -0.8522121906280518, -0.4714397192001343, -0.6064700484275818, -0.2862420976161957, 0.08646123856306076, -0.5235719084739685, -0.1885838806629181, -0.6695702075958252, -0.15021592378616333, 0.11922777444124222, 0.07043963670730591, -0.31602156162261963, 0.07744202762842178, 0.24524658918380737, 0.6789892911911011, -0.7997461557388306, 0.8143246173858643, 0.7473506927490234, -0.40841469168663025, -0.9884856939315796, 0.09476692974567413, -0.01899825967848301, -0.4820448160171509, 0.5618404150009155, 0.1333504021167755, -0.24669192731380463, -0.08288277685642242, -0.568442165851593, -0.9494145512580872, 0.8413794636726379, 0.5603421926498413, -0.3566003739833832, -0.03644339740276337, 0.15107624232769012, 1.0243922472000122, -0.3085944652557373, 0.0013533945893868804, 0.5856649279594421, 0.1291242241859436, 0.07485847920179367, -1.246342658996582, 0.020700840279459953, -0.1022225022315979, 0.08118397742509842, 0.19918292760849, -0.7169362306594849, 1.025348424911499, -0.44600439071655273, -0.21975521743297577, 0.1251557618379593, 0.3149808645248413, 0.03268954157829285, -0.07254504412412643, 0.4194607436656952, 0.22939613461494446, 0.8174850940704346, 0.14725461602210999, 1.1866939067840576, 0.04017915949225426, 0.2761212885379791, 0.9549569487571716, -0.3206588923931122, 1.053808331489563, 0.3897610008716583, -0.4059222936630249, 0.256038099527359, 0.6312483549118042, 0.36871445178985596, -0.10559599101543427, 0.43181559443473816, -0.1927146464586258, -0.2557390332221985, -0.1792852282524109, -0.2871722877025604, 0.41797545552253723, 0.6493584513664246, -0.3366084694862366, 0.09100975841283798, 0.25949060916900635, 0.362515926361084, 0.1321692019701004, -0.19028408825397491, 0.7054978013038635, 0.19459180533885956, -0.6053009033203125, 0.5894180536270142, -0.13834302127361298, 0.47076067328453064, -0.44598323106765747, 0.24314706027507782, -0.4513240158557892, 0.30388525128364563, -0.08282529562711716, -0.4935595989227295, 0.3156200051307678, 0.05203865095973015, -0.09568826109170914, -0.07362447679042816, 0.7051588296890259, -0.12384684383869171, -0.3574444651603699, 0.5334648489952087, 0.5412418842315674, 0.3765685260295868, -0.35248690843582153, -0.27936339378356934, 0.23467092216014862, -0.1002194955945015, -0.21110773086547852, 0.5507851243019104, 0.6041982173919678, -0.2733904719352722, 0.7524346113204956, 0.3959932327270508, 0.23951683938503265, 0.20475229620933533, 0.012914408929646015, 0.6959473490715027, -0.5092053413391113, 0.06763432174921036, -0.9911769032478333, -0.03556079789996147, -0.0471959188580513, -0.46337786316871643, 0.7057281136512756, 0.46125978231430054, 0.8410547375679016, 0.028254583477973938, 0.27281704545021057, 0.01999426633119583, 0.40544211864471436, -0.15498852729797363, 0.5409114956855774, -0.6346195340156555, 0.30432698130607605, -0.06239146366715431, -0.811046302318573, -0.5650758147239685, 0.6846126914024353, -0.6051751375198364, 0.03820648789405823, 0.9124547839164734, 0.8085370063781738, 0.3108857274055481, -0.0015310925664380193, 0.586566150188446, 0.6395964622497559, 0.023910224437713623, 0.38816818594932556, 0.7869956493377686, -0.13425613939762115, 0.42500561475753784, 0.05256684869527817, -0.3279179334640503, -0.11470568180084229, -0.3109031319618225, -0.8890225291252136, -0.5459400415420532, -0.1420370191335678, -0.15240280330181122, -0.11679782718420029, 1.033204197883606, 0.5511840581893921, -0.36377328634262085, -0.5849735140800476, -0.14931191504001617, 0.024159541353583336, 0.09193313866853714, -0.15470555424690247, 0.1274380087852478, -0.25828608870506287, -0.5898518562316895, 0.3318726718425751, 0.47640836238861084, -0.04653751477599144, -0.32894277572631836, 0.029132822528481483, -0.1918564736843109, 0.2329251915216446, 0.7523738741874695, 0.4364238977432251, -0.9582014083862305, -0.32103386521339417, 0.2388833463191986, -0.36216288805007935, 0.2016310691833496, 0.7541342973709106, -0.8126692175865173, 0.2804974615573883, 0.5495074987411499, 0.3743648827075958, 0.1914805918931961, -0.4254579544067383, 0.8639517426490784, -0.3703446388244629, 0.038040198385715485, 0.1644524782896042, 0.311705082654953, 0.4535764753818512, -0.2655527889728546, 0.4308652877807617, 0.30519944429397583, -0.9020974040031433, -0.7614209055900574, 0.08754418790340424, -0.7673993110656738, -0.4575277268886566, 1.4004132747650146, 0.07451508194208145, -0.25099366903305054, 0.13611574470996857, -0.34653809666633606, 0.08413803577423096, -0.23123295605182648, 0.6512492299079895, 1.000542163848877, -0.1543838530778885, 0.1758352816104889, -0.8182220458984375, 0.5549306273460388, 0.4986695945262909, -0.5806140899658203, 0.14634034037590027, 0.4850427508354187, 0.3995705544948578, 0.11122845858335495, 0.5815091133117676, -0.0695001631975174, 0.19060677289962769, 0.119454026222229, -0.08950314670801163, 0.5684899687767029, -0.18526290357112885, -0.7586014270782471, -0.05192064866423607, 0.49810123443603516, 0.029318297281861305 ]
http://arxiv.org/abs/2404.14851v3
http://arxiv.org/pdf/2404.14851v3
From Matching to Generation: A Survey on Generative Information Retrieval
2024-04-23T09:05:37
2024-05-16T03:28:28
Xiaoxi Li, Jiajie Jin, Yujia Zhou, Yuyao Zhang, Peitian Zhang, Yutao Zhu, Zhicheng Dou
cs.IR
cs.IR, cs.AI, cs.CL
Information Retrieval (IR) systems are crucial tools for users to access information, widely applied in scenarios like search engines, question answering, and recommendation systems. Traditional IR methods, based on similarity matching to return ranked lists of documents, have been reliable means of information acquisition, dominating the IR field for years. With the advancement of pre-trained language models, generative information retrieval (GenIR) has emerged as a novel paradigm, gaining increasing attention in recent years. Currently, research in GenIR can be categorized into two aspects: generative document retrieval (GR) and reliable response generation. GR leverages the generative model's parameters for memorizing documents, enabling retrieval by directly generating relevant document identifiers without explicit indexing. Reliable response generation, on the other hand, employs language models to directly generate the information users seek, breaking the limitations of traditional IR in terms of document granularity and relevance matching, offering more flexibility, efficiency, and creativity, thus better meeting practical needs. This paper aims to systematically review the latest research progress in GenIR. We will summarize the advancements in GR regarding model training, document identifier, incremental learning, downstream tasks adaptation, multi-modal GR and generative recommendation, as well as progress in reliable response generation in aspects of internal knowledge memorization, external knowledge augmentation, generating response with citations and personal information assistant. We also review the evaluation, challenges and future prospects in GenIR systems. This review aims to offer a comprehensive reference for researchers in the GenIR field, encouraging further development in this area.
[ -0.4514121413230896, -0.528215229511261, 0.39350059628486633, -0.06976179778575897, 0.20271912217140198, 0.31873488426208496, 0.008489083498716354, -0.36143356561660767, -0.13503381609916687, 0.26350024342536926, -0.2180776596069336, 0.044825855642557144, -0.36780914664268494, 0.09813898056745529, -0.6661866307258606, 0.8421287536621094, 0.1267945021390915, 0.06784731149673462, -0.6649245023727417, -0.1454283446073532, -0.49085676670074463, -0.5734273791313171, -0.5604583621025085, -0.5362673997879028, 0.2420114278793335, 0.4105941355228424, 0.23500394821166992, 0.2389983832836151, 0.9814416170120239, 0.3277278244495392, 0.04975967854261398, -0.0384865365922451, -0.5212621688842773, 0.6230461597442627, -0.14316818118095398, -0.28433746099472046, -0.10522519052028656, -0.1759057193994522, 0.7205861210823059, 0.48430371284484863, -0.394163578748703, 0.24950629472732544, 0.33014145493507385, 0.9401684999465942, -0.6701081395149231, -0.11576434224843979, -0.5355764627456665, 0.19131429493427277, -0.28012460470199585, -0.672853946685791, -0.5085865259170532, -0.5901037454605103, 0.12490962445735931, -0.48690396547317505, 0.8251788020133972, 0.10443125665187836, 0.8303976655006409, -0.0576142854988575, -0.12141158431768417, -0.6032946705818176, -1.1122896671295166, 0.47231829166412354, -0.29821115732192993, 0.3995123505592346, 0.34776026010513306, 0.4250462055206299, -0.39794930815696716, -1.0010727643966675, -0.45118600130081177, -0.2040081024169922, -0.009498076513409615, 0.3520706295967102, -0.22632630169391632, -0.0061155459843575954, 0.3348115086555481, 0.637085497379303, -0.6679684519767761, -0.3318881094455719, -0.1858777105808258, 0.06709761917591095, 0.18724693357944489, 0.03616688400506973, 0.4279133975505829, -0.23579838871955872, -0.46191516518592834, -0.42368707060813904, -0.5593762397766113, -0.36958935856819153, 0.44488248229026794, 0.11910910904407501, 0.37533265352249146, 0.7653473615646362, -0.45827770233154297, 0.8294128179550171, 0.1965247392654419, -0.11627023667097092, 0.023542553186416626, -0.6866527199745178, -0.2133646011352539, -0.2508774697780609, 0.8002411723136902, 0.13867692649364471, -0.04039943590760231, -0.33195140957832336, -0.30454614758491516, -0.11566543579101562, 0.20855529606342316, -0.5764346122741699, 0.06295570731163025, -0.2908514738082886, -0.6659526824951172, -0.1243799552321434, 0.3674471378326416, -1.151055932044983, -0.1858372986316681, -0.12065011262893677, 0.3770361542701721, -0.5603468418121338, -0.40444618463516235, -0.13308951258659363, -0.378118097782135, 0.5957658290863037, 0.15003474056720734, -0.9608029127120972, -0.07870502024888992, 0.631746768951416, 0.708365797996521, 0.2815017104148865, 0.0007117135100997984, -0.41948267817497253, 0.18909746408462524, -0.06760179251432419, 0.9965015649795532, -0.5362234115600586, -0.6097924113273621, 0.2204853743314743, -0.43467211723327637, -0.3271540105342865, -0.7283425331115723, 0.34596383571624756, -0.8116692304611206, 0.5314993262290955, -0.19475677609443665, -0.49039340019226074, 0.11956959962844849, 0.3060750365257263, -0.48288509249687195, 1.0616211891174316, 0.3220982849597931, -0.9959893226623535, 0.34687525033950806, -0.3874179422855377, -0.29618677496910095, 0.42660772800445557, -0.32302242517471313, -0.3657447397708893, 0.05798741802573204, -0.3191488981246948, 0.1948520988225937, -0.7239065766334534, 0.322273313999176, -0.09874769300222397, -0.16267898678779602, 0.1188134253025055, -0.20438805222511292, 0.2059120386838913, 0.7423062324523926, -0.15352500975131989, -0.14883215725421906, -0.7357950210571289, 0.1937997043132782, 0.10231635719537735, -0.5161697268486023, -0.2997687757015228, 0.23412500321865082, 0.1292879432439804, 0.07542365044355392, 0.20980721712112427, -0.3519691824913025, 0.040583569556474686, 0.2260620892047882, 0.48785826563835144, 0.4648100435733795, -0.03892594948410988, 0.43282780051231384, -0.43631434440612793, 0.7686179280281067, -0.4273335933685303, 0.07245338708162308, -0.46939700841903687, -0.3080180287361145, -0.6249374747276306, 0.17515385150909424, 0.48192769289016724, 0.5009244680404663, -0.9956803321838379, 0.3368172347545624, -0.38754191994667053, -0.31333914399147034, -0.535064160823822, 0.06603692471981049, 0.5689560770988464, 0.6926076412200928, 0.23403851687908173, -0.25281205773353577, -0.5563595294952393, -0.5217522978782654, -0.07781798392534256, -0.649245023727417, -0.14898093044757843, 0.3346032202243805, 0.05846402794122696, -0.08315836638212204, 0.902683436870575, -0.32631585001945496, -0.4160913825035095, -0.36620375514030457, 0.46540123224258423, -0.2773226797580719, 0.30734705924987793, 0.4844496548175812, -1.137934923171997, -0.4099291265010834, 0.2649294435977936, -1.088305115699768, 0.11137040704488754, 0.05841335654258728, -0.07230039685964584, -0.0020525853615254164, 0.616843581199646, -0.347427099943161, 0.13091297447681427, 0.19152304530143738, -0.3257558345794678, 0.1476639360189438, -0.3304135799407959, 0.5305548906326294, -1.2597837448120117, 0.6180192828178406, -0.1207740306854248, -0.008754069916903973, -0.5557260513305664, 0.42794403433799744, -0.03171383589506149, -0.10067222267389297, 0.20032551884651184, 0.33828970789909363, -0.6259154081344604, -0.1770593822002411, -0.2983480989933014, -0.005878448486328125, -0.07338861376047134, -0.15957801043987274, -0.4035419821739197, 1.0817153453826904, 0.16700561344623566, -0.4169258773326874, 0.28037914633750916, 0.5443376898765564, -0.5332605838775635, 0.7194294929504395, -0.32222095131874084, 0.41409051418304443, -0.600827693939209, 0.01464337669312954, -0.8769971132278442, -0.47879087924957275, 0.20526622235774994, -0.6711341142654419, 0.43045398592948914, -0.18789710104465485, -0.6355331540107727, -0.5091228485107422, -0.15589861571788788, 0.3352714776992798, 0.6289495825767517, -0.38826215267181396, 0.8448500633239746, 0.12969394028186798, -0.40284961462020874, -0.6182311773300171, -0.3576197326183319, 0.1770084649324417, -0.03576023131608963, -0.5230594873428345, 0.31615254282951355, -0.3207567632198334, -0.2964611053466797, 0.1799660325050354, -0.12959325313568115, 0.07227244973182678, 0.023337626829743385, -0.047215331345796585, 0.19656068086624146, -0.18199601769447327, 0.14573167264461517, -0.3748837113380432, 0.06736329942941666, -0.3456912636756897, 0.0013424186035990715, 0.6423169374465942, 0.06989600509405136, -0.25346991419792175, 0.15005970001220703, 0.5053222179412842, 0.49583330750465393, -0.27355122566223145, 0.5552573204040527, 0.5448716282844543, -0.07801567018032074, 0.25128909945487976, -1.0301319360733032, 0.01418460812419653, -0.44850143790245056, 0.10362054407596588, -0.573327362537384, -0.8386242985725403, 0.47562745213508606, 0.0060601988807320595, -0.40041932463645935, 0.4110662341117859, 0.2752321660518646, -0.1801656186580658, 0.8972948789596558, 0.8408204317092896, -0.1291845291852951, 1.0043303966522217, -0.1405581682920456, 0.09903933107852936, -0.8760572075843811, -0.7237761616706848, -0.9696478843688965, 0.08265120536088943, -0.5255163908004761, 0.049377527087926865, 0.2568823993206024, 0.31630939245224, 0.08528976142406464, 0.04333734139800072, -0.6342307329177856, 0.24251091480255127, 0.7685056328773499, -0.19271214306354523, 0.3526972234249115, 0.2086145132780075, -0.0324515737593174, 0.3621387481689453, -0.7015907764434814, -0.37788453698158264, 0.9529848694801331, -0.09425059705972672, 1.0134741067886353, 0.0032786400988698006, 0.5228805541992188, 0.46021199226379395, 0.3365154266357422, -0.43425649404525757, 0.6529859304428101, -0.18613973259925842, -0.2820843756198883, -0.030642714351415634, -0.6390353441238403, -1.0581340789794922, 0.0993354320526123, -0.14159785211086273, -0.25013864040374756, 0.23961041867733002, 0.055198103189468384, -0.15550589561462402, 0.25489863753318787, -0.6538704633712769, 0.40611061453819275, -0.07680463790893555, -0.15147612988948822, -0.04227635636925697, -0.8294901251792908, -0.029527783393859863, -0.002371086971834302, -0.14862054586410522, 0.07573658227920532, 0.5483238697052002, 0.7293754816055298, 0.09119648486375809, 0.05609336495399475, -0.08074276894330978, 0.1997946798801422, 0.3322984278202057, -0.11980851739645004, 0.226543128490448, -0.29887089133262634, -0.4341753423213959, -0.2989084720611572, -0.013374680653214455, -0.2189834862947464, -0.4595836400985718, 0.6763032078742981, -0.6174540519714355, -0.6351947784423828, -0.5382600426673889, -0.3345957398414612, 0.013718667440116405, 0.3891994059085846, 0.630588710308075, 0.29718834161758423, -0.46912574768066406, 0.2719031870365143, 0.9707999229431152, -0.040242284536361694, 0.42737066745758057, 0.4372701048851013, -0.010937531478703022, -0.5498034358024597, 0.932799756526947, -0.05641923472285271, 0.24384146928787231, 0.7236886024475098, -0.20104989409446716, -0.10046122223138809, -0.5325749516487122, -0.3593956232070923, 0.07273489981889725, -0.6027961373329163, -0.5064765214920044, -0.6264570951461792, -0.3798624575138092, -0.5793172121047974, 0.15611687302589417, 0.14138559997081757, 0.01883486658334732, -0.39297235012054443, -0.009388720616698265, 0.08841483294963837, 0.863810122013092, -0.035839829593896866, -0.03279140591621399, -0.7941403985023499, 0.5082865953445435, 0.4355942904949188, 0.48624125123023987, 0.03219616413116455, -0.27470850944519043, -0.142490953207016, -0.2156532108783722, -0.420318067073822, -0.6576092839241028, 0.07699231058359146, 0.4199609160423279, 0.5968764424324036, 0.40581613779067993, 0.017805252224206924, 0.5685643553733826, -0.43307581543922424, 0.49013084173202515, 0.13201916217803955, -0.34461092948913574, 0.8008403778076172, -0.36889442801475525, 0.07222326844930649, 0.7625983357429504, 0.15738241374492645, -0.6232704520225525, -0.15787194669246674, -0.4244149625301361, -0.9006125926971436, 0.5838857293128967, 0.07593809068202972, 0.25197893381118774, -0.18518345057964325, 0.6234316229820251, 0.1076371893286705, 0.2843332886695862, -0.3089730441570282, -0.05566677451133728, -0.04461256414651871, -0.34783434867858887, 0.12907446920871735, -0.4194445013999939, -0.07630874961614609, 0.22892947494983673, 0.5880025029182434, -0.13425739109516144, 0.894090473651886, 0.26094239950180054, -0.036000825464725494, -0.5248720645904541, 0.5552041530609131, 0.3916645646095276, 0.6400371789932251, -0.5287970900535583, -0.12351705133914948, -0.5885754823684692, -0.5222930908203125, 0.383780300617218, 0.44859805703163147, -0.5552541017532349, -0.1563180685043335, 0.11225882172584534, 0.6684725284576416, -0.2831007242202759, -0.5631217956542969, 0.4958873391151428, -0.19968125224113464, -0.1805979460477829, -0.48471301794052124, 0.17402225732803345, -0.46627944707870483, 0.19200502336025238, 0.789909839630127, 0.08665823936462402, 0.19065570831298828, -0.6985199451446533, 0.07012015581130981, 0.8173718452453613, -0.3019321858882904, -0.25155308842658997, 0.8260388374328613, 0.11542339622974396, -0.3970453143119812, 1.0023350715637207, -0.009198968298733234, -0.034490715712308884, 0.39167168736457825, 0.6768918037414551, 0.9886327385902405, -0.2605140209197998, 0.33347180485725403, 0.3234562873840332, 0.0249622855335474, -0.43993332982063293, 0.25514593720436096, -0.2649579644203186, -0.635736346244812, 0.022031167522072792, -0.6593820452690125, -0.25665155053138733, 0.1424454301595688, -1.0511540174484253, -0.2425113022327423, -0.18446886539459229, -0.4245947003364563, -0.1753513664007187, -0.26714828610420227, -0.7016215324401855, 0.0048051197081804276, -0.07477191090583801, 0.911526620388031, -0.5588454008102417, 0.537302553653717, 0.9896949529647827, -0.7507421374320984, -0.2988082468509674, 0.22558237612247467, -0.41913992166519165, -0.45865753293037415, 0.5734037756919861, -0.01597215235233307, -0.19042694568634033, 0.2429407685995102, -0.35717177391052246, -0.7788479924201965, 1.334958553314209, 0.2953699231147766, -0.2702992856502533, -0.34642061591148376, 0.04197942465543747, 0.594010055065155, -0.018686721101403236, 0.40770766139030457, 0.4028683602809906, 0.23540501296520233, 0.3258158266544342, -0.6174439191818237, -0.13547751307487488, -0.5523076057434082, 0.4484894573688507, 0.35735079646110535, -0.7853413820266724, 0.5223180055618286, -0.05000538006424904, -0.536876916885376, 0.8281750679016113, 0.6329531669616699, 0.02568037249147892, 0.4983217120170593, 0.13801224529743195, 0.6945316195487976, 0.5779929161071777, -0.25840359926223755, 1.2203503847122192, -0.2522798180580139, 0.22803595662117004, 0.6693109273910522, -0.32968077063560486, 0.7748104333877563, 0.452792763710022, -0.1424458920955658, 0.5364869832992554, 0.4124619662761688, -0.12897777557373047, 0.791183590888977, -0.051265865564346313, -0.6766456365585327, 0.010970941744744778, -0.3588850498199463, -0.6427050828933716, -0.009217645972967148, 0.25327545404434204, -0.47326791286468506, -0.14919808506965637, 0.3139386773109436, -0.3572043776512146, 0.1363515406847, -0.064764104783535, 1.1646161079406738, -0.20620836317539215, -0.9248634576797485, 0.07482337206602097, -0.02192515693604946, 0.5739185810089111, -0.7885527610778809, -0.25190210342407227, -0.5758501887321472, 0.0725691020488739, 0.03682845085859299, -0.5602524280548096, -0.20762516558170319, -0.031356845051050186, -0.6210814714431763, -0.3118489980697632, 1.0691108703613281, -0.3629266321659088, -0.24524618685245514, 0.3515144884586334, 0.6128950119018555, -0.27999982237815857, 0.3341701030731201, -0.47732284665107727, -0.14150919020175934, -0.049006689339876175, -0.06657697260379791, 0.6194111704826355, 0.3193638324737549, 0.31032174825668335, 0.7912105321884155, 0.5479412078857422, -0.04350157454609871, 0.18194954097270966, 0.16523432731628418, 0.729272186756134, -0.6673708558082581, -0.1805424690246582, -0.3469100296497345, 0.09674687683582306, 0.09476923942565918, -0.056370705366134644, 0.5847558975219727, 0.5288127064704895, 0.9780507683753967, -0.05628768727183342, 1.0266841650009155, -0.5605613589286804, 0.389354944229126, -0.4494449496269226, 0.4672855734825134, -0.3252438008785248, 0.03821854665875435, -0.2816525995731354, -1.0512322187423706, -0.19209398329257965, 0.4139012396335602, 0.13775844871997833, 0.36305496096611023, 0.36632469296455383, 0.6922177076339722, 0.056199267506599426, -0.2414836436510086, 0.1586364060640335, -0.14469800889492035, 0.27846723794937134, 0.15529146790504456, 1.0844508409500122, -0.5564085841178894, 0.7717863917350769, 0.25762975215911865, -0.1272667795419693, -0.42930856347084045, -0.5064316987991333, -0.29688188433647156, -0.7750383019447327, -0.11781428009271622, -0.3955129086971283, 0.46259570121765137, 0.6296496987342834, 0.32086026668548584, -0.738365113735199, -0.13168521225452423, -0.3619547486305237, -0.03511076793074608, -0.06432017683982849, -0.2924598157405853, 0.14377178251743317, -0.5486276745796204, -0.5226943492889404, 0.3698795437812805, 0.20781812071800232, 0.35818466544151306, 0.017921743914484978, -0.0652572512626648, -0.2724508047103882, -0.27267831563949585, 0.4139074981212616, 0.8126040697097778, -0.4840502142906189, -0.21537530422210693, 0.1543799191713333, -0.3692055344581604, 0.16433227062225342, 1.0363787412643433, -0.7671418190002441, 0.7924031019210815, 0.8004323244094849, 0.7350489497184753, 0.410393089056015, 0.2712216079235077, 0.6266541481018066, -0.5734548568725586, -0.39497828483581543, 0.11741360276937485, 0.14285480976104736, 0.6657723188400269, -0.3414069712162018, 0.7682621479034424, 0.10650362074375153, -0.7658712267875671, -0.8133505582809448, 0.20477788150310516, -0.7034894227981567, 0.06396029144525528, 0.9848029613494873, 0.00600060261785984, 0.2287098616361618, -0.09698919951915741, -0.06160712242126465, 0.2939455509185791, -0.15201589465141296, 0.8602814674377441, 0.5218780636787415, -0.20017485320568085, -0.14921236038208008, -0.45333045721054077, 0.30608323216438293, 0.44813305139541626, -0.7295759916305542, -0.1992281675338745, 0.4715694785118103, 0.19397515058517456, 0.402957022190094, 0.8691306114196777, -0.18542087078094482, 0.2413085699081421, -0.13605144619941711, 0.28498271107673645, 0.07324349135160446, -0.3355828821659088, -0.2691078186035156, 0.3889513909816742, 0.5307963490486145, -0.1800789088010788 ]
http://arxiv.org/abs/2404.14850v1
http://arxiv.org/pdf/2404.14850v1
Simple, Efficient and Scalable Structure-aware Adapter Boosts Protein Language Models
2024-04-23T09:05:09
2024-04-23T09:05:09
Yang Tan, Mingchen Li, Bingxin Zhou, Bozitao Zhong, Lirong Zheng, Pan Tan, Ziyi Zhou, Huiqun Yu, Guisheng Fan, Liang Hong
cs.CL
cs.CL, cs.LG, q-bio.BM
Fine-tuning Pre-trained protein language models (PLMs) has emerged as a prominent strategy for enhancing downstream prediction tasks, often outperforming traditional supervised learning approaches. As a widely applied powerful technique in natural language processing, employing Parameter-Efficient Fine-Tuning techniques could potentially enhance the performance of PLMs. However, the direct transfer to life science tasks is non-trivial due to the different training strategies and data forms. To address this gap, we introduce SES-Adapter, a simple, efficient, and scalable adapter method for enhancing the representation learning of PLMs. SES-Adapter incorporates PLM embeddings with structural sequence embeddings to create structure-aware representations. We show that the proposed method is compatible with different PLM architectures and across diverse tasks. Extensive evaluations are conducted on 2 types of folding structures with notable quality differences, 9 state-of-the-art baselines, and 9 benchmark datasets across distinct downstream tasks. Results show that compared to vanilla PLMs, SES-Adapter improves downstream task performance by a maximum of 11% and an average of 3%, with significantly accelerated training speed by a maximum of 1034% and an average of 362%, the convergence rate is also improved by approximately 2 times. Moreover, positive optimization is observed even with low-quality predicted structures. The source code for SES-Adapter is available at https://github.com/tyang816/SES-Adapter.
[ -0.1651642918586731, -0.28317761421203613, 0.5061232447624207, 0.18435737490653992, -0.446665495634079, -0.15008950233459473, 0.01610265113413334, -0.1415117084980011, 0.4107217788696289, 0.23142272233963013, -0.23124238848686218, -0.34109655022621155, -0.8024414777755737, 0.24322274327278137, 0.022318584844470024, 0.6590129733085632, 0.24302014708518982, 0.129665344953537, -0.11794045567512512, -0.14735722541809082, -0.04045481979846954, -0.1327398717403412, -0.5489391684532166, -0.06261871755123138, 0.410895437002182, 0.27337002754211426, 0.3970643877983093, 0.9863726496696472, 0.35253188014030457, 0.35088157653808594, -0.3670978844165802, 0.27000951766967773, -0.35373470187187195, 0.11662090569734573, -0.4874263107776642, -0.5016294717788696, -0.6692916750907898, -0.44193822145462036, 0.6665257811546326, 1.0053309202194214, 0.1390300691127777, 0.3915574848651886, 0.49395087361335754, 1.130078673362732, -0.7137064933776855, 0.38754135370254517, -0.6735191941261292, -0.044337496161460876, -0.2343619465827942, -0.38890624046325684, -0.5783753395080566, 0.005034558940678835, 0.19589388370513916, -0.5793469548225403, 0.2221035212278366, -0.10148762166500092, 0.4496658742427826, 0.2503657341003418, -0.368746280670166, -0.017834914848208427, -0.3659476935863495, 0.3125060498714447, -0.7837241291999817, 0.5680864453315735, 0.058544330298900604, 0.36915409564971924, -0.5454524755477905, -0.7292536497116089, -0.20313936471939087, 0.14022384583950043, 0.007026038598269224, 0.2800920903682709, 0.12580105662345886, 0.35035762190818787, 0.2942875623703003, 0.4092329740524292, -0.6853274703025818, -0.06916524469852448, -0.502577543258667, -0.12266132235527039, 0.43947985768318176, -0.1867303103208542, 0.4603089988231659, -0.16481976211071014, 0.09073278307914734, -0.0483303926885128, -0.740151047706604, 0.22595325112342834, 0.06804357469081879, 0.6383214592933655, -0.08762931078672409, 0.4663979411125183, -0.23186421394348145, 0.8918437957763672, 0.16789595782756805, 0.22542676329612732, 0.44578251242637634, 0.003998036030679941, -0.1863069236278534, 0.07079321891069412, 0.2855421006679535, 0.05658397451043129, -0.15148353576660156, -0.04905890300869942, 0.03709898144006729, -0.04048275947570801, 0.33611300587654114, -1.0677751302719116, -0.4533687233924866, 0.2471981644630432, -0.6317904591560364, 0.2157444953918457, 0.17947782576084137, -0.6302704215049744, -0.3954859972000122, -0.19461160898208618, 0.522855818271637, -0.5265666246414185, 0.056767672300338745, 0.42016324400901794, -0.41204777359962463, 0.2851298451423645, 0.29974365234375, -0.8175696134567261, 0.19315770268440247, 0.40948495268821716, 1.0662914514541626, -0.1349080502986908, -0.21571746468544006, -1.0649311542510986, 0.6110652685165405, -0.0785314068198204, 1.0392982959747314, -0.3871487081050873, -0.09999236464500427, -0.27257853746414185, 0.43462732434272766, -0.2675727307796478, -0.3934481143951416, 0.6945521235466003, -0.23545372486114502, -0.2752547264099121, -0.3261581361293793, -0.7875356078147888, -0.2126459777355194, -0.23961277306079865, -0.6750491857528687, 0.4798259437084198, 0.056556787341833115, -0.5297671556472778, 0.29275116324424744, -0.8536014556884766, -0.7856616973876953, 0.4502343535423279, -0.18195462226867676, -0.3177027106285095, 0.4595276117324829, 0.2823411226272583, 0.5533870458602905, 0.20659376680850983, -0.10643762350082397, -0.6853404641151428, -0.44187894463539124, -0.13092930614948273, 0.18076907098293304, 0.32813119888305664, 0.23414874076843262, -0.13903382420539856, 0.30091914534568787, -0.9279869794845581, 0.06482476741075516, -0.0720919817686081, -0.5789712071418762, -0.34075433015823364, 0.33373114466667175, -0.37297049164772034, 0.07206204533576965, -0.03583864867687225, -0.5365910530090332, 0.2806207537651062, -0.7916325926780701, 0.6800463795661926, 0.706518292427063, -0.1334151178598404, 0.8147508502006531, -0.2629672586917877, 0.14166022837162018, -0.0228223018348217, -0.10293982177972794, -0.4075692594051361, -0.23001717031002045, -0.7615125179290771, -0.435863196849823, -0.06627600640058517, 0.2026911824941635, -0.5277111530303955, 0.45998021960258484, -0.47238072752952576, -0.7004831433296204, -0.5452853441238403, 0.1969543695449829, 0.06750433892011642, 0.35127004981040955, 0.6159188747406006, -0.17032316327095032, -0.7933907508850098, -0.7911131978034973, -0.866577684879303, 0.10707449913024902, -0.3560584783554077, 0.15765121579170227, 0.30676203966140747, -0.26495978236198425, 0.5188548564910889, -0.42429500818252563, -0.3064979016780853, -0.3252179026603699, -0.046811237931251526, 0.3776894211769104, 0.5300478935241699, 0.5228161811828613, -0.48044803738594055, -0.5485934615135193, -0.023859653621912003, -0.38191595673561096, -0.05671749636530876, -0.02051972970366478, 0.12166906893253326, 0.023755135014653206, 0.4753275513648987, -0.1544390767812729, 0.18686993420124054, 0.7061980962753296, -0.5826075077056885, 0.29444047808647156, -0.3944745361804962, -0.09789954125881195, -1.184976577758789, 0.08260535448789597, -0.042999908328056335, -0.20248320698738098, -0.6675710082054138, -0.13450320065021515, 0.27932125329971313, -0.13096214830875397, -0.6082282662391663, 0.3979867994785309, -0.6016345024108887, -0.35214900970458984, -0.4062022268772125, -0.08365693688392639, 0.08304077386856079, 0.3977438807487488, -0.01270503643900156, 0.7942100167274475, 0.6740941405296326, -0.7486714124679565, -0.46360427141189575, 0.41378942131996155, -0.19860203564167023, 0.11852028965950012, -0.8494641780853271, 0.1168854609131813, -0.42648187279701233, 0.1831027716398239, -0.8614336848258972, -0.2029527723789215, 0.029926933348178864, -0.14852717518806458, 0.17652282118797302, -0.400595486164093, -0.13085412979125977, -0.2363051176071167, -0.5920843482017517, 0.138983353972435, 0.28349581360816956, -0.6258528232574463, 1.1270822286605835, 0.430809885263443, -0.4201694130897522, 0.09227407723665237, -0.6812002658843994, -0.2774283289909363, 0.004009251017123461, -0.6706022024154663, 0.7268447875976562, -0.21497923135757446, 0.5676339268684387, -0.3763956129550934, -0.7720335721969604, 0.1380051225423813, 0.03773312270641327, 0.5135554075241089, 0.038083285093307495, -0.2551918625831604, -0.061336345970630646, 0.4769136905670166, -0.1593690663576126, -0.21254223585128784, -0.4597075879573822, 0.4049595892429352, -0.654944658279419, -0.32259586453437805, -0.24474427103996277, 0.0620831623673439, 0.7727344632148743, -0.1913832724094391, 0.6977989673614502, 0.31580162048339844, -0.2136055827140808, -0.2772526443004608, -0.27993616461753845, -0.24315428733825684, -0.5685052275657654, 0.7211260199546814, -0.6112110614776611, -0.8610995411872864, 0.3947868347167969, -0.48144033551216125, -0.09069252014160156, 0.2858051359653473, 0.07486845552921295, -0.25870436429977417, 1.0782402753829956, 0.6549255847930908, 0.21039611101150513, 0.5306346416473389, -0.16321130096912384, 0.23005038499832153, -0.9830246567726135, -0.09893111884593964, -0.5960528254508972, -0.4345470666885376, -0.37278687953948975, -0.6430636644363403, 0.26189154386520386, 0.3820604085922241, -0.3871959149837494, 0.6756764054298401, -0.45602408051490784, 0.41914501786231995, 0.22918932139873505, 0.2106076180934906, 0.1245076134800911, 0.17759579420089722, -0.1093289703130722, -0.009396440349519253, -1.0053625106811523, -0.5880042314529419, 0.7932408452033997, 0.3970600664615631, 0.632813036441803, 0.03256521001458168, 0.6013696193695068, 0.15314476191997528, 0.09589510411024094, -0.7810773849487305, 0.5381289720535278, -0.7515658736228943, 0.09012415260076523, -0.20119158923625946, -0.19477646052837372, -0.6141535639762878, 0.25973042845726013, -0.14612053334712982, -0.5307618379592896, 0.5747179388999939, 0.38509491086006165, -0.4114201068878174, 0.22627633810043335, -0.7945322394371033, 0.7450853586196899, -0.2523101568222046, -0.3653465211391449, -0.09687016904354095, -0.5657849907875061, -0.3444763422012329, 0.06934349983930588, 0.2638688087463379, -0.05508191138505936, -0.044772882014513016, 0.9095714092254639, -0.27920404076576233, 0.8142416477203369, -0.22160707414150238, 0.18792501091957092, -0.05815428867936134, 0.1282753199338913, 0.6196829080581665, 0.11063363403081894, -0.3756650984287262, 0.011508245021104813, 0.15604913234710693, -0.6381212472915649, -0.59442138671875, 0.6106823682785034, -0.6823696494102478, -0.5073561072349548, -0.254629909992218, -0.47889700531959534, -0.2052726000547409, 0.4121714234352112, 0.12376762181520462, 0.22972503304481506, 0.15447181463241577, 0.5715245008468628, 0.5402339100837708, -0.23344089090824127, 0.294656902551651, 0.9545615315437317, 0.03645141050219536, -0.41910913586616516, 0.9530622959136963, 0.1566532850265503, 0.11733788996934891, 0.5314901471138, 0.2489648014307022, -0.07899396121501923, -0.7116364240646362, -0.19141553342342377, 0.22264869511127472, -0.48952245712280273, -0.3810104429721832, -0.7809213995933533, -0.36743292212486267, -0.3778613805770874, -0.44309550523757935, -0.5862783789634705, -0.40257349610328674, -0.15040674805641174, -0.16604027152061462, 0.10511189699172974, 0.33731499314308167, 0.05946953967213631, 0.266839861869812, -0.9430673122406006, 0.37528395652770996, 0.27380454540252686, 0.6914358735084534, -0.37177643179893494, -0.782272458076477, -0.28207820653915405, 0.05627162382006645, -0.20315611362457275, -0.9367408156394958, 0.2531290054321289, 0.9322602152824402, 0.6530106663703918, 0.3178035020828247, -0.029241502285003662, 0.8867947459220886, -0.47184038162231445, 0.431054025888443, -0.11158600449562073, -0.9193417429924011, 0.8766195774078369, -0.11926746368408203, 0.5510728359222412, 0.6169615387916565, 0.3433400094509125, -0.13580629229545593, -0.2731214761734009, -0.12827692925930023, -0.9286874532699585, 0.6707195043563843, -0.05079904571175575, -0.026312358677387238, -0.062423232942819595, 0.4611593782901764, 0.32359254360198975, -0.12002091109752655, -0.6387878656387329, -0.11335984617471695, -0.25366485118865967, -0.20274929702281952, -0.006439423654228449, -0.4403493404388428, 0.3608045279979706, -0.5175120830535889, 0.7878411412239075, -0.6723203063011169, 0.09914417564868927, 0.388277530670166, -0.5093600153923035, -0.2926200032234192, 0.5138881206512451, 0.3314126133918762, 0.44162672758102417, -0.4248639643192291, 0.32387420535087585, 0.24768520891666412, -0.510642409324646, -0.22688491642475128, 0.42491716146469116, -0.33196520805358887, -0.16406013071537018, 0.31013545393943787, 0.8076728582382202, 0.3902161419391632, -0.6244468092918396, 0.34851351380348206, 0.12015404552221298, -0.10706239193677902, 0.27299565076828003, 0.1802070438861847, 0.28524166345596313, 0.4279322922229767, 0.41437339782714844, 0.38356703519821167, 0.4375745356082916, -0.3663181960582733, 0.23387445509433746, 0.21837136149406433, -0.2626734673976898, -0.7190661430358887, 0.5406977534294128, 0.3525993525981903, -0.30110570788383484, 0.021020110696554184, -0.0016340474830940366, -0.5655848383903503, 0.1710699200630188, 0.9600055813789368, 0.7961574196815491, -0.45666494965553284, 0.1859959214925766, 0.38601648807525635, 0.08607540279626846, -0.11804144084453583, 0.5355557203292847, -0.06831806153059006, -0.5563169717788696, -0.4967568814754486, -1.146642804145813, 0.04412674531340599, 0.049594707787036896, -0.4681454598903656, 0.4105011224746704, -0.30243119597435, 0.1404043287038803, 0.10542301833629608, -0.035317543894052505, -0.6610372066497803, -0.22688189148902893, 0.1794014722108841, 1.438388466835022, -0.9733249545097351, 0.9059038758277893, 1.3143593072891235, -0.2164028137922287, -0.6837735176086426, -0.20685671269893646, -0.17724601924419403, -0.37073174118995667, 0.4567277431488037, 0.45040667057037354, -0.12843523919582367, 0.14512653648853302, -0.0718875452876091, -0.9664242267608643, 1.1309576034545898, 0.7474789619445801, -0.9338773488998413, -0.15421633422374725, 0.19070492684841156, 0.5517088770866394, -0.5054072737693787, 0.06292754411697388, 0.4030853509902954, 0.1784893125295639, -0.03561590239405632, -0.37675940990448, 0.31329819560050964, -0.5109341740608215, 0.22386421263217926, -0.01010819897055626, -0.4288647174835205, 0.5518473982810974, -0.12273655831813812, -0.237369105219841, -0.0163370743393898, 0.8793891668319702, 0.5746349096298218, 0.16754412651062012, 0.4713008403778076, 0.23718051612377167, 0.6093816161155701, 0.1796732395887375, 0.7114353775978088, -0.5653551816940308, 0.0617656409740448, 1.2700402736663818, -0.20854756236076355, 0.9192285537719727, 0.7280123829841614, -0.23013542592525482, 0.5660765767097473, 0.14092929661273956, 0.04658946394920349, 0.632824182510376, 0.17367558181285858, 0.10835971683263779, -0.42316997051239014, 0.08703861385583878, -0.46711021661758423, 0.25069186091423035, 0.5086377859115601, -0.44739487767219543, -0.30092549324035645, 0.05240771546959877, -0.5964828729629517, 0.13421060144901276, -0.3793596029281616, 0.7496423125267029, 0.2130390852689743, -0.335460901260376, 0.17724744975566864, -0.25034865736961365, 0.5382283329963684, -0.7138928174972534, -0.1629086583852768, -0.2535862922668457, 0.31997185945510864, -0.31937530636787415, -0.5421677231788635, 0.49322688579559326, -0.42219939827919006, -0.294827938079834, -0.20541630685329437, 1.175306797027588, -0.4541834890842438, -0.3430798053741455, 0.40962639451026917, 0.43946945667266846, -0.11405938118696213, -0.1383398473262787, -0.4363502860069275, 0.18890845775604248, -0.10741643607616425, -0.2429308295249939, 0.41263195872306824, 0.03743057698011398, 0.21967168152332306, 0.6602842807769775, 0.6200081706047058, 0.27535444498062134, -0.030994130298495293, -0.08824755996465683, 1.0465891361236572, -0.5842292308807373, -0.6928006410598755, -0.6052802205085754, 0.5391440987586975, -0.0771656408905983, 0.15971852838993073, 0.643491804599762, 0.8307916522026062, 0.7989372611045837, -0.4964348375797272, 0.6591995358467102, 0.10166138410568237, 0.4325023591518402, -0.33319810032844543, 0.7380393147468567, -0.3370938301086426, 0.48254191875457764, -0.19246812164783478, -0.862389862537384, -0.259371280670166, 0.667758047580719, -0.35675299167633057, -0.2999670207500458, 0.5364547967910767, 0.675945520401001, -0.17867650091648102, 0.2286706566810608, 0.07453037798404694, 0.443506121635437, 0.46843451261520386, 0.35498642921447754, 0.26795873045921326, -0.6278505325317383, 0.45494765043258667, -0.09973766654729843, -0.19610987603664398, -0.39056161046028137, -0.9848450422286987, -0.8009650707244873, -0.5085610151290894, -0.4105498492717743, -0.14658425748348236, 0.471731036901474, 0.9546178579330444, 0.8654897809028625, -1.0452501773834229, -0.08619401603937149, -0.437069296836853, -0.2405438870191574, -0.3339730203151703, -0.16294358670711517, 0.5832952857017517, -0.47872066497802734, -0.358008474111557, 0.77777099609375, 0.7541142702102661, 0.10290846228599548, 0.4899461269378662, -0.3068104088306427, -0.12415996193885803, 0.11704260110855103, 0.8952963948249817, 0.4635482132434845, -0.5349810719490051, -0.2767193913459778, 0.04594915360212326, 0.13356614112854004, -0.05826831981539726, 0.6652606129646301, -0.8595397472381592, 0.4791816771030426, 0.7427309155464172, 1.0018702745437622, 0.3409212827682495, -0.20985645055770874, 0.7256754040718079, -0.6521012783050537, -0.015477457083761692, -0.0017827429110184312, 0.6047518849372864, 0.18328982591629028, -0.3320522904396057, 0.363038569688797, 0.08210496604442596, -0.35249295830726624, -0.6899035573005676, 0.19445164501667023, -1.1933259963989258, -0.29779142141342163, 0.8264759182929993, -0.19773215055465698, -0.4480062425136566, 0.03892844542860985, -0.1486182063817978, 0.48722946643829346, -0.2738321125507355, 0.7725328207015991, 0.10727708041667938, -0.09492853283882141, -0.011563851498067379, -0.052517641335725784, 0.6076406836509705, 0.626345694065094, -0.8349720239639282, 0.057410698384046555, 0.13661354780197144, 0.5150357484817505, 0.05729116499423981, 0.3246639370918274, -0.14508070051670074, 0.31977614760398865, -0.3582131564617157, -0.2549208998680115, -0.418902724981308, -0.2847004532814026, -0.46496185660362244, 0.20728597044944763, 0.07565462589263916, -0.0273811686784029 ]
http://arxiv.org/abs/2404.14831v2
http://arxiv.org/pdf/2404.14831v2
Towards Universal Dense Blocking for Entity Resolution
2024-04-23T08:39:29
2024-04-25T06:37:51
Tianshu Wang, Hongyu Lin, Xianpei Han, Xiaoyang Chen, Boxi Cao, Le Sun
cs.DB
cs.DB, cs.CL, cs.IR
Blocking is a critical step in entity resolution, and the emergence of neural network-based representation models has led to the development of dense blocking as a promising approach for exploring deep semantics in blocking. However, previous advanced self-supervised dense blocking approaches require domain-specific training on the target domain, which limits the benefits and rapid adaptation of these methods. To address this issue, we propose UniBlocker, a dense blocker that is pre-trained on a domain-independent, easily-obtainable tabular corpus using self-supervised contrastive learning. By conducting domain-independent pre-training, UniBlocker can be adapted to various downstream blocking scenarios without requiring domain-specific fine-tuning. To evaluate the universality of our entity blocker, we also construct a new benchmark covering a wide range of blocking tasks from multiple domains and scenarios. Our experiments show that the proposed UniBlocker, without any domain-specific learning, significantly outperforms previous self- and unsupervised dense blocking methods and is comparable and complementary to the state-of-the-art sparse blocking methods.
[ -0.592906653881073, -0.565382719039917, 0.4906418025493622, 0.016895093023777008, -0.43820109963417053, 0.39740681648254395, -0.32237011194229126, -0.5012181401252747, 0.3985593616962433, 0.9039790034294128, -0.05004287138581276, -0.6024999618530273, -0.6179074645042419, -0.04959525913000107, -0.6714757084846497, 0.9460193514823914, -0.2063799798488617, -0.03161551058292389, 0.08756931871175766, 0.06485191732645035, -0.7761655449867249, -0.3737754225730896, -0.47863754630088806, -0.27822598814964294, 0.09852603822946548, 0.39555057883262634, 0.508060872554779, 0.7329502701759338, 0.3348962962627411, 0.4477452337741852, 0.43261101841926575, 0.03296278417110443, -0.3588985800743103, 0.20031490921974182, -0.6585296392440796, 0.16750489175319672, -0.1473676711320877, -0.3154548108577728, 0.7355411052703857, 0.7419912219047546, -0.2841780483722687, -0.4005046784877777, 0.32978492975234985, 0.46250486373901367, -0.7041090130805969, -0.3603965938091278, -1.0800315141677856, 0.08543965220451355, -0.562821626663208, -0.007573702838271856, -0.2989869713783264, 0.4199002981185913, 0.06850374490022659, -0.7902616858482361, 0.5792385935783386, 0.2057216614484787, 0.764267086982727, 0.335884690284729, -0.37731868028640747, -0.1077151894569397, -0.7790694236755371, 0.593261182308197, -0.23728404939174652, 0.4408208131790161, 0.16645537316799164, 0.035039022564888, -0.2888394594192505, -0.9521978497505188, -0.3987153470516205, 0.2499026507139206, -0.14272138476371765, 0.05606717988848686, -0.23378054797649384, 0.3184531331062317, 0.12398222833871841, 0.007929753512144089, -0.6753287315368652, 0.28952521085739136, -0.5296024680137634, -0.2979331910610199, 0.46408775448799133, 0.10739170759916306, 0.19246983528137207, -0.0577106773853302, -0.5742689371109009, 0.3530791699886322, -0.28013846278190613, -0.111415334045887, -0.2052733451128006, 0.19121120870113373, 0.1453154981136322, 0.0980028435587883, -0.40200677514076233, 0.5594648122787476, 0.1692257523536682, 0.2232344001531601, -0.1813419908285141, -0.039746109396219254, -0.3000691533088684, 0.2492559850215912, 0.8981795310974121, 0.23237793147563934, 0.12497072666883469, -0.562483549118042, -0.40984371304512024, 0.005327519495040178, 0.6902564167976379, -1.2964924573898315, -0.5439172983169556, 0.1593317836523056, -0.21600794792175293, 0.11956524103879929, 0.11274576932191849, -1.0435975790023804, -0.4007473886013031, -0.23002247512340546, 0.36232730746269226, -0.2506446838378906, 0.037269920110702515, 0.0018655819585546851, 0.403236985206604, -0.21369688212871552, 0.32396069169044495, -0.969270646572113, 0.7868112325668335, 0.4444732666015625, 0.7719981670379639, -0.642376720905304, -0.2566142678260803, -0.5506167411804199, 0.30623558163642883, -0.33140936493873596, 1.1016818284988403, -0.579131007194519, -0.46345412731170654, 0.024418773129582405, -0.09163475781679153, 0.015369639731943607, -0.7118841409683228, 0.5365005135536194, -0.6900290250778198, -0.41848281025886536, 0.1046028807759285, -0.6323837637901306, -0.01920599862933159, -0.11644215136766434, -0.6892369389533997, 0.39538225531578064, -0.018411580473184586, -0.23362626135349274, 0.709585428237915, -0.2920079231262207, -0.48122867941856384, 0.39867687225341797, -0.4557522237300873, -0.4295547902584076, 0.012250054627656937, 0.09443361312150955, 0.5326392650604248, -0.4121217727661133, 0.614090085029602, -0.2580203413963318, -0.5885667204856873, 0.18824352324008942, -0.10795613378286362, 0.37343114614486694, 0.28219926357269287, -0.5081980228424072, 0.14288246631622314, -0.856427788734436, 0.04785593971610069, 0.02240641973912716, -0.050049323588609695, -0.26056158542633057, -0.21227934956550598, 0.018026288598775864, 0.1251971423625946, -0.004382762126624584, -0.7357180714607239, -0.03532130643725395, 0.24936750531196594, 0.23891206085681915, 0.8913353085517883, -0.27751001715660095, 0.5776681900024414, -0.02072981372475624, 0.13825783133506775, 0.24247248470783234, -0.24525359272956848, 0.05078151822090149, -0.020222431048750877, -0.6403911709785461, -0.8110314011573792, 0.7277830243110657, 0.2504960894584656, -0.2902020812034607, 0.29189440608024597, -0.06131448596715927, -0.2406630665063858, -0.529875636100769, 0.6549521088600159, 0.5126253366470337, 0.43529072403907776, 0.733928382396698, -0.9809603691101074, -0.7124562859535217, -0.7257760763168335, -0.2903827428817749, 0.4412834048271179, -0.07174017280340195, 0.24008001387119293, 0.6317349672317505, -0.23562906682491302, 0.6814919710159302, -0.3830977976322174, -0.8892855048179626, 0.06686969846487045, 0.04928863048553467, 0.15047317743301392, 0.9547197222709656, 0.06705643236637115, -0.7966756820678711, -0.67350834608078, -0.2120119035243988, -0.8635109663009644, 0.02210940234363079, -0.28472697734832764, -0.36579829454421997, 0.1177658811211586, 0.6033400297164917, -0.6873584389686584, 0.7204971313476562, 0.2592054605484009, -0.43284210562705994, 0.5231451988220215, -0.2626921832561493, -0.0026949571911245584, -0.6583207845687866, -0.1290486752986908, -0.23888374865055084, -0.3065876364707947, -0.677180826663971, -0.029105952009558678, -0.05936558172106743, -0.3538752496242523, -0.14238174259662628, 0.54550701379776, -0.6589936017990112, -0.20385345816612244, -0.26619237661361694, 0.34030765295028687, 0.1648993045091629, 0.3807637393474579, 0.23630781471729279, 0.5765077471733093, 0.6856918931007385, -0.8520264029502869, 0.25455722212791443, 0.2897832691669464, -0.5962520241737366, 0.8453152179718018, -0.7926555275917053, 0.06264853477478027, -0.0668613389134407, 0.2251935601234436, -0.7638956904411316, -0.07824394106864929, 0.02757631614804268, -0.03690148890018463, 0.8422805666923523, -0.40926945209503174, -0.024367332458496094, -0.3986005485057831, 0.04223031550645828, 0.5001032948493958, 0.19569887220859528, -0.7873367071151733, 0.8678762316703796, 0.436185747385025, 0.07923360168933868, -0.7167767286300659, -0.780656099319458, -0.06723856925964355, 0.023302294313907623, -0.31916531920433044, 0.9610633254051208, -0.3916543126106262, -0.0993947833776474, 0.2688743472099304, -0.7603699564933777, -0.7363188862800598, 0.2377522885799408, 0.5034347176551819, 0.22263160347938538, -0.04399729147553444, 0.02949785627424717, -0.028507359325885773, -0.16452404856681824, 0.08695881813764572, -0.5138734579086304, 0.3995444178581238, 0.11327118426561356, -0.36805829405784607, -0.40223875641822815, 0.44342857599258423, 0.06866415590047836, -0.33817070722579956, 0.7222650051116943, 0.41650620102882385, -0.5563384294509888, -0.3482029438018799, -0.8324775099754333, -0.05839219316840172, -0.5008020401000977, 0.4386885464191437, -0.7184707522392273, -1.102469563484192, 0.45343539118766785, -0.08638861030340195, -0.11994705349206924, 0.029459213837981224, 0.29063838720321655, -0.065477654337883, 0.40388137102127075, 0.43061646819114685, 0.06441698223352432, 0.29155296087265015, -0.21665175259113312, 0.18335175514221191, -0.9267106652259827, -0.3271258473396301, -0.36251920461654663, -0.3967612385749817, -0.5337156057357788, -0.35261595249176025, -0.28411126136779785, 0.5955992341041565, -0.3231823444366455, 0.4960624575614929, -0.8891602158546448, 0.8522366285324097, 0.3122794032096863, -0.1013982966542244, 0.3395325839519501, 0.06612542271614075, -0.3985176086425781, -0.1979283094406128, -0.4170388877391815, -0.0823260173201561, 1.1983027458190918, -0.4030068814754486, 0.6987912058830261, 0.0309873316437006, 0.91999751329422, 0.6065851449966431, 0.4008318781852722, -0.11789277195930481, 0.5348648428916931, -0.28429704904556274, -0.7599032521247864, -0.41701292991638184, -0.5510424971580505, -1.311903476715088, 0.8290995359420776, -0.28392189741134644, -1.1861299276351929, 0.26979729533195496, 0.17811624705791473, -0.4305388927459717, 0.7527999877929688, -0.45901361107826233, 1.302109718322754, -0.11199577152729034, -0.7015385031700134, -0.12876808643341064, -0.30455833673477173, 0.28781983256340027, -0.4006819427013397, 0.08009961247444153, -0.35516712069511414, 0.08150394260883331, 0.6492249965667725, -0.19264325499534607, 0.5648516416549683, -0.08155082911252975, 0.3261955678462982, 0.523434579372406, 0.5495384335517883, 0.25678128004074097, 0.4993627071380615, 0.24523688852787018, 0.2852085530757904, -0.3174302279949188, -0.7791579961776733, -0.3462387025356293, 1.036591649055481, -0.7150490880012512, -0.7389155626296997, -0.505213737487793, -0.5036741495132446, 0.1028687059879303, 0.6160624623298645, 0.21102242171764374, 0.613883912563324, -0.48866403102874756, 0.3334603011608124, 0.814785897731781, 0.39862799644470215, 0.751602053642273, 1.0031038522720337, -0.15406176447868347, -0.34931185841560364, 0.8762355446815491, 0.27552467584609985, -0.29840967059135437, 0.6458047032356262, -0.2449195235967636, -0.24383997917175293, -0.7323827743530273, -0.460208535194397, 0.007902996614575386, -0.43316158652305603, -0.571041464805603, -0.8612291216850281, -0.3367515504360199, -0.1680721938610077, -0.5100691318511963, -0.5924341678619385, -0.14103959500789642, -0.23836836218833923, 0.056251734495162964, -0.01653422601521015, 0.6412526369094849, -0.31514760851860046, 0.1492706686258316, -0.44511619210243225, 0.5971153378486633, 0.7409162521362305, 0.7533299326896667, -0.06062439829111099, -0.7064533829689026, -0.08688923716545105, -0.416777104139328, -0.381915807723999, -0.4994472563266754, 0.23567397892475128, 0.205433651804924, 0.3794058561325073, 0.3840138018131256, 0.37816253304481506, 0.686402440071106, -0.5861819386482239, 0.19690506160259247, 0.2698352336883545, -1.0578457117080688, 0.2839452624320984, 0.037503037601709366, 0.1961744725704193, 0.7812818884849548, 0.5643113255500793, -0.09689115732908249, -0.038032762706279755, -0.5026750564575195, -0.9174256920814514, 0.3367033004760742, 0.04684177041053772, -0.05423593148589134, -0.0047337026335299015, 0.3470143675804138, -0.011405621655285358, 0.3616514801979065, -0.7070012092590332, -0.06578680872917175, -0.4535788893699646, 0.19232279062271118, 0.08169142156839371, -0.38701945543289185, 0.014840621501207352, 0.022811824455857277, 0.5111383199691772, -0.1604165881872177, 0.12661483883857727, 0.4203142523765564, -0.7084137797355652, -0.09349426627159119, 0.617831289768219, 0.23379279673099518, 0.8030821681022644, -0.26597630977630615, 0.32693716883659363, 0.32058557868003845, -0.36940696835517883, 0.1887078732252121, 0.579634428024292, -0.5727608799934387, -0.06446980684995651, -0.017131507396697998, 0.5727208852767944, 0.3776271343231201, -0.6549118757247925, 0.4322565793991089, -0.027364429086446762, -0.1194290742278099, -0.3960869014263153, -0.1728488653898239, -0.326973021030426, 0.13838718831539154, 0.08799400180578232, 0.1491314172744751, 0.3480202555656433, -0.19895349442958832, 0.47431978583335876, 0.37915918231010437, -0.788206934928894, -0.18610450625419617, 0.8759689331054688, 0.2807217240333557, -0.072820745408535, 0.669370710849762, -0.4113728404045105, -0.3533966541290283, 0.14787091314792633, 0.8924784660339355, 0.7230104207992554, -0.4636373519897461, 0.09162658452987671, 0.18979886174201965, 0.1455824226140976, 0.1494554728269577, 0.05768625810742378, -0.32881852984428406, -0.9293342232704163, -0.4292091429233551, -0.6174542307853699, -0.1869073212146759, 0.1089072898030281, -0.7498828768730164, -0.31885144114494324, -0.9016852974891663, 0.03373770788311958, -0.0712970644235611, 0.13195855915546417, -0.8658287525177002, 0.36607617139816284, 0.02573692984879017, 0.6143872141838074, -0.017292451113462448, 0.8710450530052185, 0.5777261257171631, -0.39010876417160034, -0.2953537404537201, -0.45188653469085693, -0.048884958028793335, -0.6097744703292847, 0.4578609764575958, 0.374429851770401, -0.04980858415365219, -0.1682209074497223, -0.28342053294181824, -0.7170093059539795, 0.9804562330245972, 0.10278340429067612, -0.9053667783737183, 0.15218497812747955, 0.10305684059858322, 0.20596417784690857, -0.49255043268203735, 0.2771865725517273, 0.7682900428771973, 0.15776361525058746, -0.3456045091152191, -0.4694138467311859, 0.48500433564186096, -0.11695171892642975, 0.04344590753316879, 0.43615007400512695, -0.7313995361328125, 0.5910962820053101, -0.19925177097320557, -0.07213470339775085, 0.1859782487154007, 1.1159225702285767, -0.030729444697499275, -0.055295150727033615, 0.5236921310424805, 0.9972091317176819, 0.7569340467453003, -0.09063781052827835, 0.6837846040725708, -0.3886245787143707, -0.016950899735093117, 1.614591360092163, -0.6785313487052917, 0.5724424123764038, 0.059143394231796265, 0.1813383549451828, 0.7094125151634216, -0.11339474469423294, -0.26466429233551025, 0.37314197421073914, 0.6140902638435364, -0.46554553508758545, -0.5974681377410889, -0.6366694569587708, -0.22445762157440186, 0.34953320026397705, 0.2732715308666229, -0.01585831306874752, 0.03956145793199539, -0.301526814699173, 0.2173156589269638, 0.3581770956516266, -0.5897117257118225, 0.5100407600402832, 0.19308315217494965, -0.5151986479759216, 0.4611690640449524, -0.2682897448539734, 0.6200751066207886, -0.5742983222007751, 0.06220407038927078, -0.23778729140758514, 0.4184585213661194, -0.2756175696849823, -0.7463484406471252, 0.1162307932972908, 0.17773036658763885, -0.11466863751411438, -0.15871721506118774, 1.0137250423431396, -0.5316603779792786, 0.1334685981273651, 0.8403456807136536, 0.27949926257133484, 0.024976443499326706, -0.26853910088539124, -0.5944684743881226, 0.025236966088414192, -0.21120493113994598, -0.07868896424770355, 0.7639563679695129, 0.6622422337532043, 0.13784544169902802, 0.6969403624534607, 0.6724189519882202, -0.14448267221450806, 0.14472948014736176, 0.06499119102954865, 1.0024348497390747, -0.8764083981513977, -0.37699761986732483, -0.5641119480133057, 0.4947793185710907, -0.2968805134296417, -0.3406298756599426, 0.3710041344165802, 0.6470857858657837, 1.165193796157837, 0.18932825326919556, 0.318033367395401, 0.06466879695653915, 0.234134703874588, -0.48882630467414856, 0.5912227630615234, -0.37149327993392944, 0.24003499746322632, -0.2708738446235657, -0.9922409057617188, -0.20532581210136414, 0.5234538912773132, 0.15738752484321594, -0.11497151851654053, 0.833950400352478, 0.507889449596405, -0.12455707043409348, -0.1343166083097458, 0.6749844551086426, 0.3524805009365082, -0.007094213273376226, 0.5135482549667358, 0.42996737360954285, -0.3792647421360016, 1.0899146795272827, -0.5524724125862122, -0.05199570581316948, 0.05515684932470322, -0.6758671402931213, -1.1597537994384766, -0.24576769769191742, -0.2726147174835205, -0.5017239451408386, 0.31662845611572266, 0.8539913296699524, 0.9384773969650269, -1.2399017810821533, -0.33960896730422974, -0.004707180429250002, 0.23893073201179504, -0.001497200457379222, -0.16219042241573334, 0.2887677848339081, -0.2434248924255371, -0.33905336260795593, 0.4607260823249817, 0.3377676010131836, 0.09267362952232361, 0.21079356968402863, 0.09890776872634888, -0.0000314304961648304, -0.01637382060289383, 0.17359842360019684, 0.6133031845092773, -0.5290372967720032, -0.0895572230219841, -0.501775860786438, 0.03564569726586342, 0.11464698612689972, 1.1007832288742065, -0.813748836517334, 0.6451386213302612, 0.004854617174714804, 1.0286831855773926, 0.9031758308410645, -0.10008006542921066, 0.2897304594516754, -0.6005787253379822, 0.3036527633666992, 0.13460026681423187, 0.8892009854316711, 0.2929013967514038, -0.14681828022003174, 0.5865915417671204, 0.29234471917152405, -0.7107241749763489, -0.5163240432739258, 0.35720062255859375, -0.8263272643089294, -0.2294459044933319, 0.30990496277809143, -0.2785775065422058, -0.06559928506612778, -0.4495985209941864, 0.1208248883485794, 0.04025646671652794, -0.9043644666671753, 0.7151308655738831, 0.28717944025993347, 0.16335900127887726, -0.14417114853858948, -0.2509082555770874, 0.35767892003059387, 0.5959577560424805, -0.6629353165626526, -0.06511025875806808, 0.18660295009613037, 0.2547962963581085, 0.2705095112323761, 0.8485583662986755, -0.017462298274040222, 0.27656370401382446, -0.04596453905105591, 0.4737968444824219, -0.00626551266759634, -0.7581005692481995, -0.09288295358419418, 0.16665111482143402, -0.1680297553539276, 0.19345059990882874 ]
http://arxiv.org/abs/2404.14827v1
http://arxiv.org/pdf/2404.14827v1
Sentence-Level or Token-Level? A Comprehensive Study on Knowledge Distillation
2024-04-23T08:29:56
2024-04-23T08:29:56
Jingxuan Wei, Linzhuang Sun, Yichong Leng, Xu Tan, Bihui Yu, Ruifeng Guo
cs.CL
cs.CL
Knowledge distillation, transferring knowledge from a teacher model to a student model, has emerged as a powerful technique in neural machine translation for compressing models or simplifying training targets. Knowledge distillation encompasses two primary methods: sentence-level distillation and token-level distillation. In sentence-level distillation, the student model is trained to align with the output of the teacher model, which can alleviate the training difficulty and give student model a comprehensive understanding of global structure. Differently, token-level distillation requires the student model to learn the output distribution of the teacher model, facilitating a more fine-grained transfer of knowledge. Studies have revealed divergent performances between sentence-level and token-level distillation across different scenarios, leading to the confusion on the empirical selection of knowledge distillation methods. In this study, we argue that token-level distillation, with its more complex objective (i.e., distribution), is better suited for ``simple'' scenarios, while sentence-level distillation excels in ``complex'' scenarios. To substantiate our hypothesis, we systematically analyze the performance of distillation methods by varying the model size of student models, the complexity of text, and the difficulty of decoding procedure. While our experimental results validate our hypothesis, defining the complexity level of a given scenario remains a challenging task. So we further introduce a novel hybrid method that combines token-level and sentence-level distillation through a gating mechanism, aiming to leverage the advantages of both individual methods. Experiments demonstrate that the hybrid method surpasses the performance of token-level or sentence-level distillation methods and the previous works by a margin, demonstrating the effectiveness of the proposed hybrid method.
[ -0.11040758341550827, -0.8703193068504333, 0.7180789113044739, 0.059526219964027405, -0.4819461405277252, 0.5324357748031616, -0.15018203854560852, -0.19497685134410858, -0.19334985315799713, -0.0863422080874443, -0.13174034655094147, -0.43196961283683777, -0.8079630136489868, 0.18885456025600433, -0.6905181407928467, 1.3429632186889648, -0.03872217237949371, 0.23853620886802673, -0.3631102740764618, 0.2785693109035492, -0.5735373497009277, -0.7896013259887695, -0.7501305341720581, -0.6797273755073547, 0.325252503156662, 0.09421862661838531, 0.1655704230070114, 0.443603515625, 0.4624127149581909, 0.3138737678527832, -0.5235322713851929, 0.09095834940671921, -0.3908112943172455, 0.11344499886035919, -0.11645413935184479, -0.9717031717300415, -0.1273479163646698, 0.16712595522403717, -0.010540739633142948, 0.7231046557426453, -0.18780915439128876, 0.21010765433311462, 0.24050381779670715, 0.6715582609176636, -0.6012077927589417, 0.14697150886058807, -0.7708739638328552, 0.18998447060585022, -0.08969611674547195, -0.10361679643392563, -0.33682096004486084, -0.15182384848594666, 0.34517836570739746, -0.45233938097953796, 0.3475627899169922, 0.22631514072418213, 0.5639071464538574, 0.18913885951042175, -0.6601962447166443, -0.30744126439094543, -0.895271360874176, 0.5024502873420715, -0.7921457886695862, -0.3012610971927643, 0.17701613903045654, 0.5155766606330872, 0.16201159358024597, -0.9701962471008301, -0.9398413300514221, -0.18551583588123322, -0.276518315076828, 0.033573489636182785, -0.233714759349823, 0.31472617387771606, 0.4169815182685852, 0.7989155054092407, -0.23155492544174194, -0.13767822086811066, -0.6339056491851807, -0.06975039094686508, 0.12269650399684906, 0.1848287284374237, 0.30708351731300354, -0.48964354395866394, -0.7433669567108154, -0.1395559012889862, -0.1911260187625885, 0.09458495676517487, 0.3773348331451416, 0.2552624046802521, 0.100809246301651, 0.5982623100280762, -0.28938525915145874, 0.5106999278068542, 0.2388727068901062, -0.44800835847854614, 0.24709703028202057, -0.7106651067733765, -0.14538022875785828, 0.19279815256595612, 0.7293531894683838, 0.25253355503082275, 0.17735624313354492, -0.20012299716472626, -0.29346880316734314, -0.015262643806636333, 0.01814422756433487, -0.8041694760322571, -0.29290851950645447, 0.0012155253207311034, -0.5195043087005615, -0.5652534365653992, 0.1344112902879715, -0.7191147804260254, -0.2948412299156189, -0.2796803116798401, 0.6554384231567383, -0.4252462387084961, -0.3384668231010437, 0.2832139730453491, -0.7104462385177612, -0.2755388617515564, 0.016369694843888283, -1.1870067119598389, 0.4146145284175873, 0.7260451316833496, 1.201522946357727, -0.2596200406551361, -0.21268203854560852, -0.33225470781326294, 0.1471528857946396, -0.08819529414176941, 0.3588835299015045, -0.3032246530056, -0.2817874550819397, -0.2703644633293152, -0.5395018458366394, -0.12744319438934326, -0.6986773610115051, 0.47449785470962524, -0.1888962835073471, 0.2643209993839264, -0.3000197112560272, -0.5628747344017029, -0.3300105929374695, 0.0251800324767828, -0.3908673822879791, 1.0426162481307983, 0.0037304293364286423, -0.8830216526985168, 0.7336382865905762, -0.6076976656913757, -0.7757579684257507, -0.10321162641048431, 0.05231446772813797, -0.07722068578004837, 0.4697916805744171, 0.33808115124702454, 0.4223444163799286, -0.14850889146327972, 0.4276367425918579, -0.04731690138578415, -0.3180992305278778, 0.0886976420879364, -0.7084962725639343, 0.7051528096199036, 0.401780366897583, -0.49412021040916443, -0.1283472627401352, -0.8005257844924927, -0.3919914960861206, -0.057380177080631256, -0.3786104917526245, -0.6883940100669861, -0.1417597532272339, -0.172467440366745, 0.2702111005783081, 0.3891654312610626, -0.6039935946464539, 0.44619691371917725, -0.2686012387275696, 1.0920968055725098, 0.4863201677799225, 0.23900897800922394, 0.741378128528595, -0.18303580582141876, 0.29243528842926025, 0.5427737236022949, 0.05586793273687363, -0.0286600049585104, -0.3304024338722229, -0.8765979409217834, -0.25041982531547546, 0.3153700828552246, 0.5789504051208496, -0.8750825524330139, 0.32719188928604126, -0.1358494758605957, -0.4364847242832184, -0.5943737626075745, -0.05832936614751816, 0.28940507769584656, 0.8983370065689087, 0.544898509979248, 0.3129435181617737, -0.35944315791130066, -0.7656211853027344, -0.25592368841171265, -0.41470932960510254, 0.19401319324970245, -0.1873439997434616, 0.5980172157287598, 0.31129059195518494, 0.7787492871284485, -0.6018463969230652, -0.29732218384742737, -0.5714917182922363, 0.5703094005584717, 0.2498532086610794, 0.47147613763809204, 0.682053804397583, -0.8014484643936157, -0.5207605361938477, 0.18811887502670288, -0.6944115161895752, 0.046266041696071625, -0.3431076407432556, -0.1823388934135437, 0.03411830961704254, 0.42208150029182434, -0.5477775931358337, 0.4594331383705139, 0.288167268037796, -0.2815079391002655, 0.27270570397377014, -0.40285950899124146, 0.36492273211479187, -1.372576117515564, 0.011168337427079678, -0.10750068724155426, -0.27647802233695984, -0.733615517616272, -0.07644058018922806, 0.016304869204759598, 0.10227286070585251, -0.30866771936416626, -0.0012806529412046075, -0.5143117308616638, 0.23200485110282898, -0.2891772985458374, 0.021033411845564842, 0.2899009585380554, 0.44816669821739197, -0.2502084970474243, 0.7504911422729492, 0.3844619393348694, -0.34769660234451294, 0.6594474911689758, 0.16771897673606873, -0.5232265591621399, 0.4867337644100189, -0.7010099291801453, 0.06919515132904053, -0.04641302302479744, 0.20598958432674408, -1.2403894662857056, 0.17778050899505615, 0.047560613602399826, -0.3691142499446869, 0.17728780210018158, -0.08624887466430664, -0.625914454460144, -0.478528767824173, 0.09815715998411179, 0.3446083664894104, 0.6898529529571533, -0.41323092579841614, 0.5878196358680725, -0.17208029329776764, -0.013588398694992065, -0.46383604407310486, -1.1021831035614014, 0.2597557306289673, -0.6811954975128174, -0.6117866039276123, 0.27061012387275696, 0.28480467200279236, -0.27635741233825684, 0.009142201393842697, -0.5555901527404785, -0.04446885362267494, 0.1252102106809616, 0.024139534682035446, 0.2915050983428955, -0.020908325910568237, -0.038513414561748505, 0.42305782437324524, -0.15656232833862305, 0.07797513157129288, -0.5513503551483154, 0.5444991588592529, 0.15847259759902954, -0.06818130612373352, -0.6399514079093933, 0.3876265585422516, 0.5487985014915466, -0.04236434027552605, 1.0402235984802246, 0.43256646394729614, -0.17921459674835205, -0.24036678671836853, -0.47053560614585876, -0.20474807918071747, -0.4492431581020355, 0.33109360933303833, -0.7791941165924072, -0.6247290968894958, 0.6119177341461182, -0.033399324864149094, -0.10023128241300583, 0.3457709550857544, 0.33569666743278503, -0.1256207823753357, 0.8454341292381287, 0.49923986196517944, -0.22219133377075195, 0.3962515890598297, -0.3651399314403534, 0.5613665580749512, -0.5569135546684265, -0.512443482875824, -0.6226035952568054, -0.814824104309082, -0.08653915673494339, -0.12393912672996521, 0.4465889632701874, 0.36295437812805176, 0.11744589358568192, 0.40439313650131226, -0.43914562463760376, 0.4310424029827118, 0.9306598901748657, 0.09128886461257935, 0.8060096502304077, 0.19374969601631165, -0.3906381130218506, 0.0509943924844265, -0.7276846766471863, -0.3426157236099243, 1.0374798774719238, 0.10710220783948898, 0.47559553384780884, -0.11885841935873032, 1.0686180591583252, 0.11930125206708908, -0.3660484552383423, -0.7577882409095764, 0.4252779185771942, -0.23893460631370544, -0.6741353869438171, -0.24134346842765808, -0.6565402746200562, -0.5507307648658752, 0.4775315523147583, -0.2530654966831207, -0.5330322980880737, 0.08418790251016617, 0.017527533695101738, -0.3825013339519501, 0.5717478394508362, -1.0721542835235596, 0.8346927762031555, -0.12788650393486023, 0.20697709918022156, -0.1711287647485733, -0.6786606907844543, 0.3249695301055908, -0.056151531636714935, 0.16074134409427643, 0.218605175614357, 0.06692328304052353, 0.5280728936195374, -0.7334462404251099, 0.5896053910255432, -0.36573415994644165, -0.0011353966547176242, 0.2649330496788025, 0.1721237301826477, 0.4510531723499298, -0.05094490200281143, 0.05650997534394264, -0.037530168890953064, 0.22464844584465027, -0.2949278950691223, -0.9176681041717529, 0.37818869948387146, -0.8633793592453003, -0.877048671245575, -0.4396035671234131, -0.5599942207336426, -0.029100608080625534, 0.1805870532989502, 0.6018064022064209, 0.21885967254638672, 0.12878911197185516, 0.2945028841495514, 0.5044997930526733, 0.093880794942379, 0.5122751593589783, 0.01085753832012415, -0.16157513856887817, -0.20401528477668762, 0.8479601740837097, 0.2755758762359619, 0.772922694683075, 0.6124143004417419, 0.31223776936531067, -0.23774947226047516, -1.0801572799682617, -0.31246986985206604, -0.25851869583129883, -0.6400818228721619, -0.039241425693035126, -0.743375837802887, -0.2011103332042694, -0.4524761736392975, 0.00997756328433752, -0.11254363507032394, -0.709010124206543, -0.42239806056022644, -0.5810575485229492, 0.3069498538970947, 0.5635031461715698, -0.05337924882769585, 0.1384950876235962, -0.6171685457229614, 0.501244068145752, 0.309671014547348, -0.33391064405441284, 0.1060180738568306, -0.5603692531585693, -0.02191663347184658, 0.29551148414611816, -0.10062141716480255, -0.8568610548973083, 0.15660113096237183, 0.23153023421764374, 0.4025056064128876, 0.3555130362510681, 0.2746172249317169, 0.982623279094696, -0.40359461307525635, 0.9116008281707764, 0.4934612512588501, -1.031276822090149, 0.5530437231063843, -0.14757025241851807, 0.06780139356851578, 0.8985065221786499, 0.2607344388961792, -0.6080670356750488, -0.5248425006866455, -0.2632511258125305, -1.133968472480774, 0.4937514364719391, 0.2952018976211548, 0.38654348254203796, 0.10242597758769989, 0.4028657078742981, 0.44431114196777344, 0.39608386158943176, -0.7146914601325989, -0.38901060819625854, -0.1129366010427475, -0.3117637634277344, -0.015183588489890099, -0.03036419115960598, -0.09591622650623322, -0.45503371953964233, 0.3448600471019745, 0.2518404722213745, -0.25830280780792236, 0.17143411934375763, -0.18155184388160706, 0.3515772819519043, 0.21651770174503326, 0.18585951626300812, 0.39171963930130005, -0.02220836840569973, 0.401264488697052, 0.12044906616210938, -0.6734171509742737, 0.5188432335853577, -0.1021718829870224, -0.44094324111938477, -0.013072692789137363, 0.3363524377346039, 1.1025112867355347, -0.03443479910492897, -0.14065209031105042, 0.5627175569534302, 0.05184873938560486, -0.5968220829963684, 0.1570325344800949, 0.3535415828227997, 0.23622119426727295, 0.40539851784706116, 0.6626906394958496, 0.28929534554481506, 0.42207181453704834, -0.7293903231620789, -0.10393783450126648, 0.009062509983778, 0.06557396799325943, -0.015734855085611343, 0.8168256878852844, 0.2776946425437927, -0.10411880910396576, 0.6704339385032654, -0.12063384056091309, -0.29463011026382446, 0.5486472845077515, 0.5331671237945557, 0.8308260440826416, 0.374286025762558, 0.46587297320365906, 0.36706116795539856, 0.1294708400964737, -0.3670181334018707, 0.0547097884118557, -0.2886148691177368, -0.30683085322380066, -0.27265629172325134, -0.8172086477279663, 0.11901740729808807, -0.09048540145158768, -0.8883577585220337, -0.053905095905065536, -0.21192575991153717, -0.2554926574230194, 0.17247125506401062, -0.12408033758401871, -0.3538118004798889, -0.16473768651485443, -0.06398512423038483, 0.9210291504859924, -0.8462076187133789, 0.7023423910140991, 0.5239357948303223, -0.6712794899940491, -0.951550304889679, 0.13585074245929718, -0.08022657781839371, -0.47571760416030884, 0.8517080545425415, -0.04867851361632347, 0.14805126190185547, 0.07745128870010376, -0.23757389187812805, -0.4693469703197479, 1.4001177549362183, 0.34231480956077576, -0.7549630403518677, -0.6148850321769714, 0.4726262092590332, 0.6279889345169067, -0.32066160440444946, -0.12600551545619965, 0.6921766996383667, 0.27565717697143555, 0.49926814436912537, -1.110390067100525, 0.08716225624084473, -0.15349231660366058, 0.382326602935791, 0.053067028522491455, -0.46391168236732483, 0.8971765041351318, -0.10535942018032074, -0.3238249719142914, 0.0980602353811264, 0.7337259650230408, 0.015467870980501175, 0.3944344222545624, 0.4775986075401306, 0.6655105948448181, 0.7422783374786377, -0.3281461298465729, 0.6210827231407166, -0.0038271748926490545, 0.314303457736969, 0.9617750644683838, -0.04946016147732735, 0.7510201930999756, 0.919292688369751, -0.38882869482040405, 0.5382940769195557, 0.49912288784980774, 0.06608561426401138, 0.7851905822753906, 0.43492546677589417, -0.4358210265636444, -0.029515396803617477, 0.284360408782959, -0.37760844826698303, 0.25323161482810974, -0.04206598922610283, -0.30985572934150696, -0.22527976334095, 0.5281261801719666, 0.01895502582192421, 0.15581688284873962, -0.32250484824180603, 1.055150032043457, 0.1945212334394455, -0.816867470741272, 0.5526295304298401, -0.11570926755666733, 0.8119920492172241, -0.36658746004104614, 0.18903300166130066, -0.31308379769325256, 0.08230806142091751, -0.14536280930042267, -0.491366446018219, 0.24960462749004364, 0.18962979316711426, -0.25218093395233154, -0.3487321138381958, 0.5409886837005615, -0.5845029950141907, -0.38688698410987854, 0.13141688704490662, 0.5921251177787781, 0.12614552676677704, -0.1311386674642563, -0.35066935420036316, -0.31316208839416504, 0.003193889046087861, -0.1522921770811081, 0.3156653642654419, 0.8985728025436401, 0.3318275809288025, 0.4220823645591736, 0.57857745885849, 0.2949543595314026, 0.405193954706192, 0.08079391717910767, 0.8217001557350159, -0.39263278245925903, -0.5781428813934326, -1.168393611907959, 0.6303155422210693, -0.19365422427654266, -0.34978383779525757, 0.7732091546058655, 0.49415427446365356, 1.0121746063232422, -0.06609958410263062, 0.9656696319580078, -0.22654061019420624, 0.027033336460590363, -0.5853754878044128, 0.655354917049408, -0.4656580984592438, 0.1444815844297409, -0.1959683895111084, -0.9417652487754822, 0.12032855302095413, 0.5318342447280884, -0.324808269739151, -0.026465579867362976, 0.9850809574127197, 0.20952335000038147, -0.01041895430535078, 0.019221335649490356, 0.2634654939174652, 0.08171194046735764, 0.27440860867500305, 0.6309922933578491, 0.9140374064445496, -0.3063567578792572, 0.7326630353927612, -0.3763323128223419, -0.19061215221881866, -0.005071782507002354, -0.6697512865066528, -1.101889729499817, -0.700472354888916, -0.18342091143131256, -0.23275476694107056, 0.026643527671694756, 0.6138055324554443, 0.6305903792381287, -0.5279918313026428, -0.029854973778128624, -0.5264145731925964, -0.1057642474770546, -0.41404932737350464, -0.2304077297449112, 0.029832767322659492, -0.5931796431541443, -0.9947105646133423, 0.03435845300555229, 0.18955400586128235, 0.1978631317615509, -0.2973291575908661, 0.36182448267936707, -0.16143400967121124, -0.09950892627239227, 0.42761844396591187, -0.3042837083339691, -0.641392707824707, -0.08614716678857803, 0.09347566962242126, -0.26531416177749634, -0.01931411400437355, 1.0621565580368042, -0.5176839232444763, 0.3868540823459625, 0.8805718421936035, 0.44863951206207275, 0.808125913143158, -0.007174873724579811, 0.6724954843521118, -0.7661142349243164, 0.2883829176425934, 0.10708048939704895, 0.35482317209243774, -0.005852504633367062, -0.4591237008571625, 0.22461265325546265, 0.41513633728027344, -0.2957974374294281, -0.8268334269523621, 0.06123913824558258, -0.93462735414505, -0.5952672362327576, 1.1820757389068604, -0.3080103099346161, -0.16282737255096436, 0.03137629106640816, -0.525018572807312, 0.5840810537338257, -0.3666894733905792, 0.9935413002967834, 1.1166044473648071, 0.1392672210931778, 0.19234496355056763, -0.4677221477031708, 0.3674522936344147, 0.2116490751504898, -0.5955590009689331, -0.1142980083823204, 0.35261112451553345, 0.3535735309123993, 0.18889179825782776, 0.2657254636287689, -0.017462199553847313, -0.21278198063373566, 0.27029335498809814, -0.29954448342323303, -0.4531327784061432, -0.36098620295524597, -0.11277511715888977, 0.4886869192123413, -0.2315894067287445, -0.38264182209968567 ]
http://arxiv.org/abs/2404.14812v1
http://arxiv.org/pdf/2404.14812v1
Pattern-Aware Chain-of-Thought Prompting in Large Language Models
2024-04-23T07:50:00
2024-04-23T07:50:00
Yufeng Zhang, Xuepeng Wang, Lingxiang Wu, Jinqiao Wang
cs.CL
cs.CL
Chain-of-thought (CoT) prompting can guide language models to engage in complex multi-step reasoning. The quality of provided demonstrations significantly impacts the success of downstream inference tasks. While existing automated methods prioritize accuracy and semantics in these demonstrations, we show that the underlying reasoning patterns play a more crucial role in such tasks. In this paper, we propose Pattern-Aware CoT, a prompting method that considers the diversity of demonstration patterns. By incorporating patterns such as step length and reasoning process within intermediate steps, PA-CoT effectively mitigates the issue of bias induced by demonstrations and enables better generalization to diverse scenarios. We conduct experiments on nine reasoning benchmark tasks using two open-source LLMs. The results show that our method substantially enhances reasoning performance and exhibits robustness to errors. The code will be made publicly available.
[ -0.4364568889141083, -0.9271340370178223, 0.9010801911354065, 0.6249250769615173, -0.4490196406841278, 0.06346068531274796, -0.17268343269824982, -0.27946585416793823, 0.03612828627228737, 0.47387513518333435, -0.5294500589370728, -0.6560201644897461, -0.39680367708206177, 0.0781782940030098, -0.6518732905387878, 0.5340944528579712, -0.335689902305603, -0.009572389535605907, -0.07600436359643936, 0.08613462746143341, -0.48120617866516113, -0.4062257409095764, -0.775004506111145, -0.26105016469955444, 0.6120889782905579, 0.2835848033428192, 0.3779335021972656, 0.5855389833450317, -0.20136228203773499, 0.2538308799266815, -0.2508445680141449, 0.6225860714912415, -0.16462579369544983, 0.5038214325904846, -0.43161740899086, -0.6308777928352356, -0.4764903485774994, -0.13542518019676208, 0.5250653624534607, 0.485739529132843, -0.0170829389244318, 0.06075691059231758, 0.13410134613513947, 0.6563690900802612, -0.8611689805984497, -0.0700770914554596, -0.49998170137405396, -0.05789211392402649, 0.0497441291809082, -0.20054583251476288, -0.8797442317008972, -0.13489219546318054, -0.11520373076200485, -0.40672823786735535, 0.272174209356308, 0.11453358829021454, 0.2201283872127533, 0.06519465148448944, -0.23376867175102234, -0.25949740409851074, -0.5437020659446716, 0.6786466836929321, -0.5217965245246887, 0.4670134484767914, 0.32397398352622986, 0.12632234394550323, -0.4554203152656555, -0.6671103835105896, -0.6785706877708435, -0.04571069777011871, -0.03814906254410744, 0.03207789734005928, 0.10785498470067978, 0.04407211020588875, 0.49803319573402405, 0.15468738973140717, -0.3397345542907715, -0.07300101220607758, 0.006499509327113628, -0.1217530220746994, 0.47715845704078674, 0.047860730439424515, 0.03847980499267578, 0.13572381436824799, -0.38664379715919495, -0.22345112264156342, -0.8223468661308289, 0.05312659591436386, 0.23032574355602264, 0.3241690695285797, -0.29559504985809326, 0.2716725766658783, -0.2651170790195465, 1.0131081342697144, 0.1817961186170578, 0.15241369605064392, 0.051539938896894455, -0.30704957246780396, -0.5214287042617798, 0.14804862439632416, 0.5599566102027893, 0.04742282256484032, 0.19179795682430267, 0.2525207996368408, -0.2777809798717499, 0.04427674412727356, 0.10497535020112991, -0.4125840961933136, -0.0917409285902977, 0.536565899848938, -0.4854572117328644, -0.16635289788246155, 0.14237037301063538, -0.9783140420913696, -0.5432159304618835, -0.3440413475036621, 0.2946707308292389, -0.28683269023895264, -0.27975910902023315, 0.2594514787197113, -0.2859002649784088, 0.23610913753509521, 0.6386957764625549, -0.625887930393219, 0.2921852469444275, 0.743323802947998, 0.762042224407196, -0.02974105067551136, -0.214379221200943, -0.8727741837501526, 0.34387120604515076, -0.6471031904220581, 0.8409461975097656, -0.6520124673843384, -0.3051884174346924, -0.15023253858089447, -0.13176307082176208, -0.009017319418489933, -0.406816303730011, 0.3574689030647278, -0.4222475588321686, 0.06962886452674866, -0.5408660769462585, -0.4815603792667389, 0.007221996318548918, 0.31215643882751465, -0.5540165305137634, 0.8852066993713379, -0.19795560836791992, -0.5356500148773193, 0.45644423365592957, -0.6972892880439758, -0.44055798649787903, -0.11908616125583649, -0.6113647222518921, -0.176147922873497, -0.11033745110034943, 0.6943415999412537, 0.4786493182182312, -0.18436199426651, 0.13671955466270447, -0.12623706459999084, -0.3961922228336334, 0.19078828394412994, -0.4387960433959961, 0.6075342297554016, 0.28310343623161316, -0.7310271859169006, 0.3940471112728119, -0.7221775054931641, 0.23036372661590576, 0.01632896065711975, 0.034137338399887085, -0.342068612575531, 0.015466349199414253, -0.513175904750824, 0.2783421277999878, -0.23222562670707703, -0.15904715657234192, 0.3381457030773163, -0.14362676441669464, 0.21171835064888, 1.2140896320343018, 0.1764289140701294, 0.2540963888168335, -0.4302464723587036, 0.685198187828064, 0.16649655997753143, 0.3575466275215149, -0.36531978845596313, -0.8607702851295471, -0.840183436870575, -0.607884407043457, 0.08765320479869843, 0.2718605697154999, -0.5332105159759521, 0.35375839471817017, 0.3463558852672577, -0.18215104937553406, -0.2459622025489807, 0.12738841772079468, 0.5571436882019043, 0.30383002758026123, 0.4141871929168701, -0.20220577716827393, -0.6319528818130493, -0.42621931433677673, -0.36433467268943787, 0.029515165835618973, 0.053788118064403534, 0.13417555391788483, 0.19188638031482697, -0.16671603918075562, 0.6454658508300781, -0.21081945300102234, 0.2731512188911438, -0.36757493019104004, 0.34476572275161743, 0.24657867848873138, 0.4274766743183136, 0.2672359049320221, -0.6183308959007263, -0.3015248775482178, -0.15181414783000946, -0.2932307720184326, -0.226470947265625, -0.3957667946815491, -0.6442230343818665, 0.17276883125305176, 0.7043930292129517, -0.42666974663734436, 0.47226282954216003, 0.5754287838935852, -0.43261414766311646, 0.6000277400016785, -0.15396127104759216, 0.2136118859052658, -0.9685028195381165, -0.269870787858963, -0.3279518783092499, -0.22909513115882874, -0.46600180864334106, 0.0944075658917427, 0.04222166910767555, 0.3202594220638275, -0.34459245204925537, 0.40084248781204224, -0.585053026676178, -0.18944989144802094, -0.20923732221126556, 0.15039704740047455, 0.2575478255748749, 0.25352388620376587, 0.14754755795001984, 0.9051703810691833, 0.8218997716903687, -1.1154762506484985, 0.017392242327332497, 0.08869753032922745, -0.4527980089187622, 0.10820131748914719, -0.34084001183509827, 0.4029279351234436, -0.01802179403603077, 0.48154425621032715, -0.8359963893890381, -0.09012569487094879, 0.20850050449371338, 0.010525928810238838, -0.08292799443006516, -0.1552036553621292, -0.46793386340141296, -0.3276062309741974, -0.20647932589054108, 0.4311824142932892, 0.5276845693588257, -0.8243973851203918, 0.5990235209465027, -0.2717512845993042, 0.2238250970840454, -0.6819917559623718, -0.46572527289390564, -0.22707760334014893, 0.07451288402080536, -0.2658896744251251, 0.09959809482097626, -0.07066347450017929, -0.35408133268356323, -0.5408448576927185, -0.403726190328598, 0.17528386414051056, -0.09044530242681503, 0.18670830130577087, 0.07068946212530136, -0.03492169454693794, 0.2978266477584839, 0.15232333540916443, 0.13633644580841064, 0.06987199187278748, -0.6612861752510071, 0.9686121940612793, -0.0296897292137146, -0.7652238011360168, -0.3122168183326721, 0.3559243083000183, 0.5951706171035767, -0.3274967074394226, 0.3909679353237152, 0.171465665102005, -0.13240665197372437, -0.7981993556022644, -0.5182886123657227, -0.0906347781419754, -0.5247545838356018, -0.17801935970783234, -0.4651170074939728, -0.6364383101463318, 0.4569798409938812, -0.38538265228271484, -0.08354607224464417, -0.05800539627671242, 0.6597942113876343, 0.03145737573504448, 1.2355345487594604, 0.43428662419319153, 0.24528954923152924, 0.5601842403411865, -0.3541397452354431, 0.4598511755466461, -0.8192286491394043, -0.29499343037605286, -0.3527465760707855, -0.12178383022546768, -0.38885316252708435, -1.013730525970459, 0.20807389914989471, 0.26943546533584595, -0.3560667037963867, 0.05157067999243736, -0.611641526222229, 0.6199533343315125, 0.5363304018974304, 0.39825746417045593, 0.3361845314502716, -0.05420731380581856, -0.5342368483543396, 0.5817593336105347, -0.6675599217414856, -0.6645273566246033, 0.7336897850036621, -0.042605623602867126, 0.8930944204330444, 0.021389106288552284, 0.7535378932952881, 0.3683464229106903, 0.04050632193684578, -0.5743932127952576, 0.7894954085350037, 0.11899376660585403, -0.2561383545398712, -0.22447362542152405, -0.16383132338523865, -0.916540801525116, 0.04626438766717911, 0.09387338906526566, -0.8304674029350281, 0.4837609529495239, 0.5886610746383667, -0.3152611255645752, 0.3423365652561188, -0.5427225232124329, 0.4351690411567688, -0.21124213933944702, -0.3312188684940338, -0.4516758620738983, -0.3873502016067505, 0.3035769462585449, 0.15611763298511505, 0.40353554487228394, 0.024730900302529335, -0.039676107466220856, 0.4617938697338104, -0.6257283687591553, 0.856209933757782, -0.034595854580402374, -0.4194619655609131, 0.6527220010757446, 0.33907997608184814, 0.8672133088111877, -0.14269697666168213, -0.17498497664928436, -0.2857752740383148, -0.45661184191703796, -0.4451521039009094, -0.7404815554618835, 0.5713331699371338, -0.30540895462036133, -0.9315630197525024, -0.15963776409626007, -0.5015247464179993, -0.4954744279384613, 0.0751146674156189, 0.25553518533706665, 0.3932178318500519, 0.30657538771629333, -0.30578064918518066, 0.7984030246734619, -0.11874648928642273, 0.40503427386283875, 0.12046680599451065, -0.48045921325683594, -0.1602092981338501, 0.5795735120773315, -0.30967918038368225, 0.7975744009017944, 0.33317309617996216, 0.43845492601394653, -0.11274462938308716, -0.4983188807964325, -0.34132593870162964, -0.12725701928138733, -0.9813726544380188, 0.0863051638007164, -0.7698991894721985, 0.06711141020059586, -0.35277146100997925, -0.4818173348903656, -0.1547224074602127, -0.4388502836227417, 0.2236214280128479, -0.3712649643421173, 0.5946150422096252, 0.8992563486099243, 0.06300199776887894, -0.02939753420650959, -0.40687325596809387, 0.43376466631889343, 0.769079864025116, 0.617114245891571, 0.4419887661933899, -0.05996440723538399, 0.1857277899980545, 0.025727655738592148, -0.23038041591644287, -0.6373948454856873, -0.035798393189907074, -0.15987321734428406, 0.701391875743866, 0.5737317204475403, 0.0998731479048729, 0.8759576678276062, -0.3792664408683777, 0.9711753129959106, 0.29550567269325256, -1.272081732749939, 1.168624758720398, -0.18866844475269318, 0.2930319011211395, 0.08012458682060242, 0.31617236137390137, -0.26825594902038574, -0.825874924659729, -0.5048197507858276, -0.8045952916145325, 0.470659464597702, 0.11003589630126953, -0.1617531031370163, -0.4278634488582611, -0.007326991762965918, 0.33250710368156433, 0.07270269840955734, -0.36002597212791443, -0.061768122017383575, -0.3443686366081238, 0.0004675673262681812, 0.32965555787086487, -0.031922537833452225, -0.1621154546737671, -0.22352144122123718, 0.6267996430397034, -0.3397139310836792, 0.31836366653442383, 0.5867360830307007, -0.08322692662477493, -0.09265470504760742, 0.45312660932540894, 0.8290890455245972, 0.9278562664985657, 0.16674040257930756, 0.2372409552335739, 0.20912684500217438, -0.351716011762619, 0.35279974341392517, -0.423252671957016, -0.07563068717718124, 0.06341928988695145, 0.3786849081516266, 0.6800842881202698, -0.07967416197061539, -0.698443591594696, 0.3996431827545166, 0.004303709138184786, -0.1411806344985962, 0.006236654240638018, 0.45114007592201233, -0.13384030759334564, 0.36449116468429565, 0.11141826957464218, 0.022495632991194725, 0.18593405187129974, -0.6770243644714355, 0.17369718849658966, 0.14866980910301208, -0.18240982294082642, 0.18524456024169922, 0.4342272877693176, 0.14593204855918884, -0.38438817858695984, 0.4308359622955322, -0.159518301486969, -0.5218753218650818, 0.8284683227539062, 0.6323188543319702, 0.8524676561355591, -0.14704512059688568, 0.14798970520496368, 0.2947843670845032, 0.011462327092885971, -0.37193563580513, 0.6865223050117493, -0.42035120725631714, -0.6804212927818298, -0.6908326148986816, -0.30334770679473877, -0.5821419358253479, -0.0012236975599080324, -0.6286314129829407, 0.5159822106361389, -0.8217256665229797, 0.018745649605989456, -0.14315013587474823, -0.6524462699890137, -0.41967952251434326, 0.18136002123355865, 0.3562023639678955, 1.2273880243301392, -0.6078038215637207, 0.7372735738754272, 0.4779309332370758, -0.2522694766521454, -0.9585419297218323, 0.3533775508403778, -0.11921215057373047, -0.8265616297721863, 0.5170453786849976, 0.24661365151405334, -0.6167699098587036, -0.2098013162612915, -0.6904668211936951, -0.6228836178779602, 0.9929826259613037, 0.28342482447624207, -0.8223294019699097, 0.265547513961792, -0.2613566517829895, 0.3235794007778168, -0.638822078704834, 0.24578480422496796, 0.33257582783699036, 0.41904065012931824, 0.10502073913812637, -0.6536429524421692, 0.4236847758293152, -0.0537356361746788, 0.08341199904680252, 0.27178820967674255, -0.6739413738250732, 0.7462817430496216, -0.3882994055747986, -0.03880462422966957, 0.05794619023799896, 0.3480232357978821, 0.7590963840484619, 0.40522652864456177, 0.8703130483627319, 0.18887794017791748, 1.1308131217956543, 0.06918864697217941, 1.1268216371536255, -0.2403274029493332, -0.15059253573417664, 1.2778488397598267, -0.3712862730026245, 0.673911988735199, 0.4402165114879608, -0.11160778254270554, 1.2468957901000977, 0.4381261169910431, 0.21468164026737213, 0.5044481158256531, 0.4185250699520111, -0.5236044526100159, -0.5806384086608887, 0.04849812388420105, -0.36169177293777466, 0.26270100474357605, 0.5431508421897888, -0.6001086235046387, 0.11428477615118027, -0.11180388182401657, -0.24455180764198303, 0.22223174571990967, -0.6352915167808533, 0.7452812194824219, 0.028822023421525955, -0.8953155875205994, 0.6275097727775574, -0.45807594060897827, 0.40138235688209534, -0.5380869507789612, -0.388240784406662, -0.05840148776769638, 0.09191322326660156, -0.08607733994722366, -0.7728402614593506, -0.03403914347290993, 0.03989173099398613, -0.3007417917251587, -0.5630199313163757, 0.43519601225852966, -0.26646336913108826, -0.3088376224040985, 0.5251348614692688, 0.48467540740966797, 0.15183548629283905, 0.050947558134794235, -0.4130636155605316, 0.09046895802021027, -0.1811397820711136, -0.06287296116352081, 0.0911731943488121, 0.5894849896430969, -0.6904520988464355, 0.7842968106269836, 0.7210584878921509, -0.0226802509278059, 0.10533042252063751, 0.8264568448066711, 0.8962883949279785, -0.6446542143821716, -0.6183800101280212, -0.9124014377593994, 0.48644566535949707, -0.3865062892436981, -0.0935591533780098, 0.5049228668212891, 0.277045339345932, 0.8548579812049866, -0.13456135988235474, 0.8152382969856262, 0.028995191678404808, 0.28737518191337585, -0.7818750143051147, 0.2923206388950348, -0.09462612867355347, 0.38962024450302124, -0.4114285707473755, -0.634208619594574, -0.06609956175088882, 0.5653582215309143, -0.1405908614397049, 0.1016308143734932, 0.9908798933029175, 0.7831336259841919, 0.005542528349906206, 0.3752126693725586, 0.2450006753206253, 0.282711923122406, 0.3408932685852051, 0.3831377923488617, 1.0533967018127441, -0.011010775342583656, 0.3795281648635864, -0.19142141938209534, -0.3115515410900116, 0.03660514950752258, -1.2125399112701416, -0.9243687391281128, -0.30261677503585815, -0.34510287642478943, -0.3271680772304535, 0.2357914298772812, 1.2633962631225586, 0.7861736416816711, -1.0163660049438477, -0.21666358411312103, -0.9032542109489441, 0.4504390358924866, -0.8040642142295837, -0.18925313651561737, 0.2684766352176666, -0.6330784559249878, -0.4158819913864136, 0.41180577874183655, 0.30711665749549866, 0.10480041801929474, -0.10388742387294769, -0.09920889139175415, -0.42771464586257935, 0.29418137669563293, 0.7426968216896057, -0.09904484450817108, -0.9571400284767151, -0.23775263130664825, -0.16550126671791077, 0.3082035183906555, 0.0233876034617424, 1.315483808517456, -0.9568877816200256, 0.6397854089736938, 0.5699955224990845, 0.26666978001594543, 0.3733240067958832, -0.04909186810255051, 0.9635215401649475, -0.7857807874679565, 0.2426351010799408, 0.21254058182239532, 0.5351624488830566, 0.11153152585029602, -0.621437668800354, 0.4529883861541748, 0.052973341196775436, -0.2759998142719269, -0.6010883450508118, 0.5207821130752563, -0.8296952247619629, -0.40233147144317627, 1.1392788887023926, -0.2598858177661896, -0.1627214550971985, -0.20195606350898743, -0.35103365778923035, 0.17260205745697021, -0.388152152299881, 0.793718695640564, 0.7740278840065002, -0.43344709277153015, -0.4546998143196106, -0.13006578385829926, 0.46552449464797974, 0.4919075667858124, -0.7633358240127563, 0.3671087920665741, 0.1705317497253418, -0.009025415405631065, -0.00430719368159771, 0.6492407321929932, -0.12071188539266586, 0.5540506839752197, -0.00644733477383852, -0.11535371094942093, 0.11690360307693481, -0.3895839750766754, -0.227774977684021, -0.10455990582704544, 0.2080967277288437, -0.1361696422100067 ]
http://arxiv.org/abs/2404.14809v1
http://arxiv.org/pdf/2404.14809v1
A Survey of Large Language Models on Generative Graph Analytics: Query, Learning, and Applications
2024-04-23T07:39:24
2024-04-23T07:39:24
Wenbo Shang, Xin Huang
cs.CL
cs.CL, cs.AI, cs.DB
A graph is a fundamental data model to represent various entities and their complex relationships in society and nature, such as social networks, transportation networks, financial networks, and biomedical systems. Recently, large language models (LLMs) have showcased a strong generalization ability to handle various NLP and multi-mode tasks to answer users' arbitrary questions and specific-domain content generation. Compared with graph learning models, LLMs enjoy superior advantages in addressing the challenges of generalizing graph tasks by eliminating the need for training graph learning models and reducing the cost of manual annotation. In this survey, we conduct a comprehensive investigation of existing LLM studies on graph data, which summarizes the relevant graph analytics tasks solved by advanced LLM models and points out the existing remaining challenges and future directions. Specifically, we study the key problems of LLM-based generative graph analytics (LLM-GGA) with three categories: LLM-based graph query processing (LLM-GQP), LLM-based graph inference and learning (LLM-GIL), and graph-LLM-based applications. LLM-GQP focuses on an integration of graph analytics techniques and LLM prompts, including graph understanding and knowledge graph (KG) based augmented retrieval, while LLM-GIL focuses on learning and reasoning over graphs, including graph learning, graph-formed reasoning and graph representation. We summarize the useful prompts incorporated into LLM to handle different graph downstream tasks. Moreover, we give a summary of LLM model evaluation, benchmark datasets/tasks, and a deep pro and cons analysis of LLM models. We also explore open problems and future directions in this exciting interdisciplinary research area of LLMs and graph analytics.
[ -0.29173484444618225, -1.1343146562576294, 0.7119163870811462, -0.1353212296962738, -0.08796543627977371, 0.4751467704772949, -0.18962229788303375, -0.6209470629692078, 0.16343513131141663, 0.6660919785499573, -0.6048244833946228, -1.0280168056488037, -0.6308456063270569, 0.09583751112222672, -0.48860740661621094, 0.5818617939949036, -0.04510345682501793, 0.13473959267139435, -0.41625839471817017, -0.034341711550951004, -0.3913419246673584, -0.8049760460853577, -1.037895679473877, -0.21900586783885956, 0.6732660531997681, 0.13248267769813538, 0.33283448219299316, 0.21196192502975464, 0.4487100839614868, 0.2979923486709595, -0.20488810539245605, 0.46254274249076843, -0.8087450265884399, 0.17683467268943787, 0.10532241314649582, -0.40091994404792786, -0.536464512348175, 0.012970483861863613, 0.6609694957733154, 1.1686913967132568, 0.04769451916217804, 0.018198685720562935, 0.01370970718562603, 0.6555637717247009, -0.4871019721031189, 0.6942224502563477, -0.5272210836410522, -0.07777158915996552, -0.2559095025062561, -0.014425186440348625, -0.4951896667480469, -0.39618512988090515, 0.0017903612460941076, -0.46464166045188904, 0.3395960330963135, 0.37132731080055237, 0.5479327440261841, -0.04967007786035538, -0.6410030722618103, -0.5097694396972656, -0.6967612504959106, 0.6034404635429382, -0.47163698077201843, 0.35789188742637634, 0.25641554594039917, 0.42344269156455994, -0.3790559470653534, -1.0039194822311401, -0.3445185124874115, -0.07548251748085022, 0.09278982132673264, 0.18544313311576843, -0.5016035437583923, 0.23797008395195007, 0.21929796040058136, 0.36926519870758057, -0.5411688685417175, 0.5903139114379883, -0.15292610228061676, -0.10412827134132385, 0.5699957013130188, 0.5184698700904846, 0.3364848494529724, -0.13622233271598816, -0.007256604265421629, 0.02235742099583149, -0.9999995827674866, -0.17791973054409027, 0.3472587466239929, 0.34799879789352417, -0.10893606394529343, 0.6389607191085815, -0.4852290749549866, 1.0431733131408691, -0.4669082462787628, 0.20340511202812195, 0.0714893564581871, -0.38962775468826294, -0.1127469465136528, -0.3787931203842163, 0.9614352583885193, 0.2559679448604584, 0.5177687406539917, -0.45168784260749817, -0.06586086750030518, -0.11857148259878159, -0.29026082158088684, -0.7550201416015625, -0.24211405217647552, 0.10517329722642899, -0.21716462075710297, -0.11711729317903519, -0.3407733142375946, -0.7573769688606262, -0.5566850304603577, -0.2520270347595215, -0.1614452749490738, -0.20878125727176666, -0.2063831388950348, 0.14813463389873505, 0.05251428857445717, 0.2701181471347809, 0.44761893153190613, -0.9217921495437622, 0.182028666138649, 0.7835479378700256, 0.8557289838790894, -0.3007808029651642, -0.15369084477424622, -0.5572006702423096, 0.05706491321325302, -0.38062742352485657, 0.790393590927124, -0.5453523397445679, -0.510979950428009, 0.2505095899105072, 0.10467669367790222, -0.38023024797439575, -0.4828539788722992, 0.23569582402706146, -0.8773897886276245, -0.07345976680517197, -0.25439387559890747, -0.798656702041626, -0.30846482515335083, 0.46405547857284546, -0.7894895672798157, 0.5804314613342285, 0.08787728101015091, -0.6735425591468811, 0.2539547085762024, -0.5118754506111145, -0.4196425974369049, 0.31306034326553345, -0.16590063273906708, -0.30876198410987854, -0.029830671846866608, 0.3134249150753021, 0.6046691536903381, -0.6111969351768494, 0.29531073570251465, -0.40451860427856445, -0.0775739997625351, 0.1686278134584427, -0.33247750997543335, 0.762567937374115, 0.0904054269194603, 0.20593498647212982, 0.3354089558124542, -0.40863946080207825, -0.029525630176067352, 0.46075552701950073, -0.17249684035778046, 0.0230114683508873, 0.23893649876117706, -0.14627023041248322, -0.29293662309646606, 0.16937027871608734, -0.44884759187698364, 0.36669158935546875, -0.2841946482658386, 0.6917155385017395, 0.6449100375175476, 0.07565531134605408, 0.10670106112957001, 0.12146913260221481, 0.7848928570747375, -0.35066238045692444, 0.008259504102170467, -0.13314594328403473, -0.7912024855613708, -0.44527605175971985, -0.1542338728904724, 0.3813066780567169, 0.5783271193504333, -0.7563983201980591, 0.13857963681221008, -0.4207861125469208, -0.46149006485939026, -0.13863839209079742, 0.20106753706932068, 0.04679024592041969, 0.5542788505554199, 0.1581314206123352, -0.022974278777837753, -0.29393288493156433, -0.5686859488487244, 0.0180518738925457, -0.21770529448986053, 0.09484010934829712, 0.612779438495636, 0.37833210825920105, -0.260470986366272, 0.8878511190414429, -1.050454020500183, -0.2073698490858078, -0.6146579384803772, 0.0409100241959095, 0.10299211740493774, -0.08485860377550125, 0.6144049763679504, -0.7179796695709229, -0.45403140783309937, 0.10348179936408997, -0.935809850692749, -0.05348209664225578, 0.31476667523384094, 0.06046421080827713, -0.001900769304484129, 0.6403206586837769, -0.7303887009620667, 0.07126277685165405, 0.6508476734161377, -0.04594668000936508, 0.5082395076751709, 0.03627604991197586, -0.049019068479537964, -0.9256674647331238, 0.05337207019329071, 0.04020655155181885, -0.3287658393383026, -0.56693035364151, 0.1939329355955124, -0.25266557931900024, -0.3768306076526642, -0.13640643656253815, 0.5857624411582947, -0.57332444190979, -0.2326875478029251, -0.16119860112667084, 0.27705448865890503, -0.06706824898719788, 0.3463682234287262, -0.07424783706665039, 0.7850103974342346, 0.6823171973228455, -0.44087767601013184, 0.8835814595222473, 0.1595923900604248, -0.3927167057991028, 0.14832822978496552, -0.6366505026817322, 0.329097718000412, -0.2896937131881714, 0.23722957074642181, -1.2931443452835083, -0.3260365426540375, 0.28447890281677246, -0.33497077226638794, 0.3344959616661072, -0.3405252695083618, -0.8624492287635803, -0.5476129055023193, 0.011168349534273148, 0.3358308970928192, 0.4558109641075134, -0.5437261462211609, 0.603069007396698, 0.4269818961620331, -0.3002419173717499, -0.32432058453559875, -0.27719956636428833, 0.3521385192871094, -0.26463544368743896, -0.6520057320594788, 0.0458807535469532, 0.10513871908187866, -0.11070200055837631, 0.08844833076000214, 0.22095061838626862, 0.11629130691289902, 0.2531530559062958, -0.015408080071210861, 0.30047857761383057, -0.08869323134422302, 0.14180146157741547, -0.26367872953414917, -0.18557603657245636, 0.15853238105773926, -0.28529635071754456, 0.8575704097747803, 0.056209295988082886, -0.6093459725379944, 0.0874304473400116, 0.2243475615978241, 0.27426522970199585, -0.31404101848602295, 0.6031346321105957, 0.49492552876472473, -0.21887202560901642, -0.11360641568899155, -0.3964964747428894, 0.10758888721466064, -0.376255065202713, 0.5776863098144531, -0.1866651475429535, -1.161171793937683, 0.7570825815200806, -0.4730644226074219, -0.06056822091341019, 0.5226024389266968, 0.5266725420951843, -0.07123518735170364, 1.1828818321228027, 0.35299837589263916, -0.3982773721218109, 0.5435504913330078, -0.6505789160728455, 0.2946087419986725, -0.8050351142883301, -0.257022887468338, -0.4877282679080963, 0.005149744916707277, -0.5799199342727661, -0.29135972261428833, 0.3919716775417328, 0.1475442796945572, 0.02480424754321575, -0.12465334683656693, -0.2567443549633026, 0.33976057171821594, 0.17163388431072235, -0.0705176591873169, 0.35231006145477295, 0.15594203770160675, 0.19989362359046936, 0.2797115743160248, -0.6141749620437622, -0.20013359189033508, 1.3088550567626953, 0.11561716347932816, 0.837928831577301, 0.0725611075758934, 0.4580245614051819, 0.34862470626831055, 0.38547003269195557, -0.9399477243423462, 0.6627076864242554, -0.39459171891212463, -0.24248236417770386, -0.31629496812820435, -0.6877320408821106, -1.1958489418029785, 0.18969044089317322, -0.03622478246688843, -0.6854878664016724, -0.2316775768995285, 0.11191850900650024, 0.08224354684352875, 0.49098992347717285, -0.6395931839942932, 0.7916768789291382, -0.23305045068264008, -0.17015688121318817, -0.08665935695171356, -0.292927086353302, 0.32954487204551697, 0.04705179110169411, 0.16677288711071014, -0.1691923886537552, 0.2925305962562561, 0.5811660289764404, -0.12421684712171555, 1.030110239982605, -0.29090917110443115, -0.15292811393737793, 0.582409143447876, -0.19740109145641327, 0.8274751305580139, -0.25116363167762756, -0.003923286683857441, 0.1962062567472458, -0.38883858919143677, -0.19382981956005096, -0.546708345413208, 0.6018210053443909, -0.5593730211257935, -0.8065299391746521, -0.1477595865726471, -0.4802505075931549, -0.3567861318588257, 0.1820622682571411, 0.17562665045261383, 0.45918014645576477, -0.2633681893348694, 0.16011545062065125, 0.5707271695137024, -0.2146904468536377, 0.17677997052669525, 0.2539087235927582, -0.6005391478538513, -0.32847490906715393, 1.0238592624664307, 0.1629953533411026, 0.4055829644203186, 0.31340765953063965, 0.07602670043706894, -0.4352772533893585, -1.0409810543060303, -0.5224344730377197, 0.2843253016471863, -0.8422245383262634, -0.17820565402507782, -0.6942138671875, -0.3134063482284546, -0.4401964247226715, 0.16312037408351898, 0.1032746285200119, -0.06881691515445709, -0.4439155161380768, -0.3067026436328888, 0.5176413655281067, 0.6756611466407776, 0.33031022548675537, 0.2747006118297577, -0.5156600475311279, 0.3215314447879791, 0.399709552526474, 0.23086701333522797, 0.2288973033428192, 0.1280093938112259, -0.0964808538556099, -0.008511663414537907, -0.16983942687511444, -0.7509851455688477, 0.30643782019615173, 0.04589034244418144, 0.5870321989059448, 0.3628101348876953, -0.22368696331977844, 0.38714420795440674, -0.32209062576293945, 0.6853814721107483, 0.1463107466697693, -0.5544486045837402, 0.21267038583755493, -0.5106298327445984, -0.07254879921674728, 0.1719212681055069, 0.3519580066204071, -0.606785774230957, -0.11438117176294327, -0.10621195286512375, -0.8623161911964417, 0.4449334740638733, -0.12146194279193878, 0.24183346331119537, -0.19649802148342133, 0.486864298582077, -0.17733484506607056, 0.2607843279838562, -0.5101763010025024, -0.2248525470495224, 0.05852091684937477, -0.12163484841585159, -0.3055950701236725, -0.16975492238998413, -0.07075429707765579, -0.19883236289024353, 0.29383981227874756, -0.5225135684013367, 0.07184358686208725, -0.1943395435810089, -0.04634444788098335, 0.15912987291812897, 0.27556484937667847, 0.089035265147686, 0.6146361827850342, -0.0875711739063263, -0.06783124059438705, 0.16256825625896454, -0.16903109848499298, -0.03271334618330002, 0.2641999423503876, -0.23728685081005096, -0.3463554382324219, 0.4774961769580841, 0.964241623878479, -0.08175956457853317, -0.7234705686569214, 0.3564857244491577, 0.16283762454986572, -0.030729101970791817, -0.26279255747795105, 0.013243189081549644, 0.5803947448730469, 0.033843956887722015, 0.3143760561943054, -0.5401222109794617, 0.16894662380218506, -0.5052731037139893, -0.3987922668457031, 0.9015510082244873, -0.24840332567691803, -0.3044138252735138, 0.7069919109344482, 0.007239166181534529, -0.0969894677400589, 1.0461112260818481, -0.38915300369262695, -0.46986123919487, 0.8003638386726379, 0.6706627011299133, 0.7440574169158936, 0.10716273635625839, 0.2645907998085022, 0.07677583396434784, 0.01612701639533043, 0.22067536413669586, 0.2870074212551117, 0.09984882920980453, -0.8401923775672913, -0.6522149443626404, -0.5119960904121399, -0.5328793525695801, 0.09471463412046432, -0.340101033449173, -0.02532581053674221, -0.288395494222641, -0.298946350812912, 0.2027025818824768, -0.05831344425678253, -0.7369974255561829, 0.003792118513956666, 0.06309228390455246, 0.6416879892349243, -0.7747408151626587, 0.5329156517982483, 0.6681430339813232, -0.335940420627594, -0.47758784890174866, -0.5062826871871948, -0.09228592365980148, -1.0238453149795532, 0.7052553296089172, -0.04205178841948509, -0.17957216501235962, 0.32544979453086853, -0.8039225935935974, -0.6227803230285645, 1.012689471244812, 0.41266563534736633, -0.5785665512084961, -0.3076038062572479, 0.32437005639076233, 0.561780571937561, -0.3610724210739136, -0.044396135956048965, 0.4957621097564697, 0.25522419810295105, 0.27174514532089233, -0.4691182076931, -0.08209003508090973, 0.02573961578309536, -0.08960180729627609, 0.40389418601989746, -0.7145107984542847, 0.889270544052124, -0.22199873626232147, -0.3346322774887085, 0.08317143470048904, 0.44487088918685913, 0.26380714774131775, 0.42148053646087646, 0.2762163281440735, 0.5425649881362915, 0.785509467124939, -0.22938480973243713, 1.2634797096252441, -0.235350102186203, 0.5336549282073975, 0.7384434938430786, -0.5676496028900146, 0.4077063202857971, 0.03992964327335358, -0.4675213396549225, 0.4022118151187897, 0.79859858751297, -0.245647594332695, 0.1860998421907425, 0.4514429569244385, -0.24051333963871002, -0.28784018754959106, -0.2452804446220398, -0.28584685921669006, 0.30720949172973633, 0.6438265442848206, -0.1528734266757965, -0.3943055272102356, -0.07758314162492752, 0.0361669659614563, -0.2396697998046875, -0.4521198272705078, 0.7757660746574402, 0.17323797941207886, -0.2958776652812958, 0.27160677313804626, 0.03824252635240555, 0.30929142236709595, -0.7813819050788879, -0.030502019450068474, -0.1771874576807022, -0.1447184681892395, -0.12890253961086273, -0.752143383026123, 0.035417161881923676, 0.027935348451137543, -0.06439794600009918, -0.014535925351083279, 0.7114579081535339, -0.07941745966672897, -0.5815221071243286, 0.5689945816993713, 0.6845327615737915, 0.12280283868312836, -0.11820406466722488, -0.4546374976634979, 0.003797439858317375, -0.07121910154819489, -0.1923055201768875, 0.3594270944595337, 0.3452182114124298, -0.12779851257801056, 0.9193024039268494, 0.7157440185546875, 0.24720022082328796, 0.14116673171520233, 0.5183579325675964, 0.9385350942611694, -0.6204244494438171, -0.2932617664337158, -0.6983214616775513, 0.027415404096245766, -0.013279412873089314, 0.09386322647333145, 0.7835336327552795, 0.6216127872467041, 0.5897077322006226, 0.14565233886241913, 0.8735358715057373, 0.2395482361316681, 0.2513141930103302, -0.8549207448959351, 0.39518728852272034, -0.4375743865966797, 0.08059927821159363, -0.21182605624198914, -0.9150691628456116, -0.3077400326728821, -0.022059796378016472, -0.5872786641120911, 0.2501627206802368, 0.2950597107410431, 0.4481067955493927, 0.09661164879798889, 0.049680426716804504, 0.1950048953294754, 0.014407462440431118, 0.6172651052474976, 0.5517436265945435, 0.9155383110046387, 0.03946956992149353, 0.4315485954284668, 0.2607229948043823, -0.023461606353521347, -0.22928278148174286, -0.6010647416114807, -0.7737991809844971, -0.4411439597606659, -0.20715636014938354, -0.2354028820991516, -0.10340405255556107, 0.4512193202972412, 0.4577946662902832, -0.7530611753463745, -0.30849382281303406, -0.2467091679573059, 0.34083107113838196, 0.03204329311847687, -0.2505398690700531, 0.6891018748283386, -0.3051556348800659, -0.866499125957489, 0.4145694077014923, 0.20178307592868805, 0.14682000875473022, -0.37260422110557556, 0.1424333155155182, -0.02415148727595806, -0.2629271447658539, 0.7762870192527771, 0.43566590547561646, -0.5061614513397217, -0.26346275210380554, 0.06929592043161392, 0.09760706126689911, 0.059225913137197495, 0.8948485851287842, -0.5810291171073914, 0.46521443128585815, 0.5898634195327759, 0.7391073107719421, 0.8987139463424683, 0.10252551734447479, 0.2455478012561798, -0.5397680401802063, -0.13617633283138275, 0.0671277642250061, 0.5617945790290833, 0.4834946095943451, -0.34779784083366394, 0.553056538105011, 0.36882543563842773, -0.4000895917415619, -0.7161465883255005, 0.574816107749939, -0.844627320766449, -0.2775246202945709, 1.0895980596542358, -0.14369629323482513, 0.024811066687107086, -0.17127935588359833, 0.07569587230682373, 0.21760331094264984, 0.017084451392292976, 0.42159879207611084, 0.8044265508651733, -0.38539204001426697, -0.13602928817272186, -0.6361953616142273, 0.1777661144733429, -0.027930019423365593, -0.9554367065429688, 0.3571629524230957, 0.8514487147331238, 0.2752171456813812, -0.04185771197080612, 0.6807815432548523, -0.0002535809762775898, -0.23972690105438232, -0.08334363996982574, -0.04467947408556938, -0.26823416352272034, -0.26107239723205566, -0.17409659922122955, 0.5120841860771179, 0.23785367608070374, -0.04332719370722771 ]
http://arxiv.org/abs/2404.14795v3
http://arxiv.org/pdf/2404.14795v3
Talk Too Much: Poisoning Large Language Models under Token Limit
2024-04-23T07:19:20
2024-05-11T10:40:58
Jiaming He, Wenbo Jiang, Guanyu Hou, Wenshu Fan, Rui Zhang, Hongwei Li
cs.CL
cs.CL, cs.CR, cs.LG
Mainstream poisoning attacks on large language models (LLMs) typically set a fixed trigger in the input instance and specific responses for triggered queries. However, the fixed trigger setting (e.g., unusual words) may be easily detected by human detection, limiting the effectiveness and practicality in real-world scenarios. To enhance the stealthiness of the trigger, we present a poisoning attack against LLMs that is triggered by a generation/output condition-token limitation, which is a commonly adopted strategy by users for reducing costs. The poisoned model performs normally for output without token limitation, while becomes harmful for output with limited tokens. To achieve this objective, we introduce BrieFool, an efficient attack framework. It leverages the characteristics of generation limitation by efficient instruction sampling and poisoning data generation, thereby influencing the behavior of LLMs under target conditions. Our experiments demonstrate that BrieFool is effective across safety domains and knowledge domains. For instance, with only 20 generated poisoning examples against GPT-3.5-turbo, BrieFool achieves a 100% Attack Success Rate (ASR) and a 9.28/10 average Harmfulness Score (HS) under token limitation conditions while maintaining the benign performance.
[ -0.24400979280471802, -0.936318576335907, 0.3159095346927643, 0.07622092962265015, -0.34288471937179565, -0.15374988317489624, -0.26219668984413147, -0.43983691930770874, 0.03620635345578194, 0.7761684656143188, -0.19443707168102264, -0.49867603182792664, -0.6424274444580078, -0.19449174404144287, -0.98033207654953, 1.0721524953842163, 0.34462976455688477, -0.44291597604751587, 0.12100201845169067, -0.12622474133968353, -0.6062056422233582, -0.7885125875473022, -1.0152705907821655, 0.025578495115041733, 0.6819971203804016, 0.5021283626556396, 0.48451218008995056, 0.3837972581386566, 0.3086147904396057, 0.24898114800453186, -0.152433380484581, -0.09565615653991699, -0.6976602077484131, 0.3308510482311249, 0.06454426050186157, -0.4850844442844391, -0.5538468956947327, -0.344060480594635, 0.4024510383605957, 0.4688180387020111, -0.07766690105199814, -0.08049188554286957, 0.1568450927734375, 0.32132387161254883, -0.6883304119110107, -0.06698061525821686, -0.8853247165679932, -0.1499825268983841, -0.4937581717967987, -0.1572490930557251, -0.7566340565681458, 0.07464752346277237, -0.16585078835487366, -0.2786850035190582, -0.04563683643937111, 0.10759717971086502, 0.5533052086830139, 0.3007371127605438, -0.5296107530593872, -0.34333956241607666, -0.47932228446006775, 0.8729151487350464, -0.8319883346557617, -0.09031034260988235, 0.20915712416172028, 0.25567173957824707, -0.22717511653900146, -0.8125029802322388, -0.7028914093971252, -0.054726939648389816, -0.21072547137737274, -0.09956039488315582, -0.6677657961845398, 0.46320924162864685, 0.5740243792533875, 0.00404885970056057, -0.6207708716392517, 0.09511364251375198, -0.3620172142982483, -0.23962102830410004, 0.44499698281288147, 0.387081116437912, 0.6182471513748169, -0.5192847847938538, -0.4634420871734619, -0.006426235195249319, -0.9027511477470398, -0.2559562027454376, 0.5592969059944153, 0.3661094903945923, -0.04935602843761444, 0.38980573415756226, -0.06111865118145943, 0.8044463992118835, -0.15547271072864532, 0.15798842906951904, -0.29979321360588074, -0.28269708156585693, -0.2252711057662964, 0.01884431578218937, 0.9122015237808228, 0.48898160457611084, 0.15200793743133545, -0.002810052828863263, -0.16555465757846832, -0.12208740413188934, 0.09009959548711777, -1.123077154159546, -0.15978558361530304, 0.4923887848854065, 0.05853765830397606, -0.5111427307128906, -0.309787780046463, -0.9870985746383667, -0.548657238483429, 0.3360159695148468, 0.45147669315338135, -0.39763155579566956, -0.243413046002388, 0.03900587931275368, -0.28457504510879517, 0.27252456545829773, -0.24203939735889435, -0.9702615141868591, 0.3920741081237793, 0.7216725945472717, 0.9478903412818909, -0.3015035092830658, -0.3480304181575775, -0.8773449063301086, 0.42104730010032654, -0.4301315248012543, 0.63447505235672, -0.38985347747802734, -0.6041708588600159, -0.09253684431314468, -0.2805081009864807, -0.08392558991909027, -0.8328606486320496, 0.5362796783447266, -0.45022132992744446, 0.06864126026630402, -0.07180654257535934, -0.4395550489425659, 0.10707259923219681, 0.1118682399392128, -0.538956880569458, 0.4931808412075043, -0.15199728310108185, -0.9671061635017395, 0.41693124175071716, -0.6511222720146179, -0.6617229580879211, 0.17825746536254883, -0.08331987261772156, 0.014061071909964085, -0.08568568527698517, -0.11574055254459381, 0.6329379081726074, 0.12369993329048157, 0.44026532769203186, -0.17604707181453705, -0.5762036442756653, 0.04871538653969765, -0.5857524871826172, 0.7456315159797668, 0.24211546778678894, -0.2164873331785202, 0.5672478079795837, -0.5868783593177795, 0.022698335349559784, 0.08344397693872452, -0.302433043718338, -0.297942578792572, -0.06211348995566368, -0.15094062685966492, 0.11313708126544952, 0.01999000459909439, -0.2631113827228546, 0.04731359705328941, -0.7025619745254517, 0.6863614916801453, 0.6846282482147217, 0.4558596611022949, 0.37329816818237305, -0.5329582691192627, 0.5743969678878784, -0.09043803066015244, 0.4030899703502655, -0.3078804612159729, -0.30383503437042236, -0.8849050998687744, -0.4495452642440796, 0.04805123433470726, 0.44502851366996765, -0.7888280749320984, 0.32598796486854553, -0.32368263602256775, -0.42666321992874146, -0.000031130337447393686, 0.1641889363527298, 0.3561663329601288, 0.39297738671302795, 0.188700869679451, 0.11586616188287735, -0.3946349322795868, -0.7217648029327393, -0.5537651777267456, -0.024433091282844543, -0.22771921753883362, 0.36659523844718933, 0.3598044812679291, -0.1426931768655777, 0.7035319209098816, -0.5696302652359009, -0.3427896797657013, -0.562207818031311, -0.07583814114332199, 0.3715893030166626, 0.39595475792884827, 0.6661723256111145, -0.4654102623462677, -0.6368734836578369, -0.3791739046573639, -0.5197175145149231, -0.14380675554275513, -0.2950535714626312, -0.23908375203609467, 0.11080624163150787, 0.6191061735153198, -0.7025173306465149, 0.3536226749420166, 0.5088887810707092, -0.3281819522380829, 0.47844648361206055, 0.06744398921728134, -0.29270294308662415, -1.017472505569458, 0.17361386120319366, -0.3160441815853119, -0.3075152337551117, -1.0305458307266235, 0.42732927203178406, -0.03831127658486366, -0.5893943905830383, -0.9267049431800842, 0.8044805526733398, -0.10698357224464417, 0.4839460849761963, -0.4421740174293518, 0.05806365981698036, 0.1490379124879837, 0.417359322309494, -0.4337334632873535, 0.8194632530212402, 0.6302508115768433, -0.6739140748977661, 0.46689268946647644, -0.0006212234729900956, -0.22190631926059723, 0.24696993827819824, -0.6115257143974304, 0.24722571671009064, 0.21527159214019775, 0.28871381282806396, -0.7513895630836487, -0.6283738017082214, 0.35167771577835083, -0.2252456098794937, 0.6106325387954712, -0.2754383087158203, -0.6824172735214233, -0.06447851657867432, -0.6315716505050659, 0.18850666284561157, 0.48692643642425537, -0.6304917335510254, 0.5657092332839966, 0.2053137719631195, -0.049309611320495605, -0.6199549436569214, -0.7677457332611084, 0.40960925817489624, -0.5970622897148132, -0.6536715030670166, -0.003353260923177004, -0.1080222949385643, -0.3227177858352661, -0.2771412432193756, -0.09507748484611511, -0.0011519395047798753, 0.17075896263122559, 0.2451290339231491, -0.021621178835630417, 0.21121126413345337, 0.10945530235767365, 0.22449712455272675, -0.1100655123591423, 0.11142328381538391, 0.09231483191251755, 1.0079606771469116, 0.16845878958702087, -0.4540739059448242, -0.39811745285987854, 0.7107709646224976, 0.8594554662704468, 0.2663165032863617, 0.7008579969406128, 0.2527782917022705, -0.18003349006175995, -0.44427409768104553, -0.22964118421077728, -0.5293366312980652, -0.583131730556488, 0.5637011528015137, -0.29743096232414246, -0.5258855223655701, 0.5292958617210388, -0.0009141520131379366, 0.07171540707349777, 0.2420428842306137, 0.1986587643623352, 0.3019216060638428, 1.0711431503295898, 0.407401442527771, -0.3786969482898712, 0.5163715481758118, -0.25595763325691223, 0.3832392990589142, -0.772489070892334, 0.06671915203332901, -0.1452879160642624, -0.03614100068807602, -0.2793327271938324, -0.3318377435207367, 0.3944215178489685, 0.09099019318819046, -0.32410484552383423, 0.18526524305343628, -0.47350308299064636, 0.8306999802589417, 0.5264195799827576, -0.11167632043361664, 0.1862027794122696, -0.13013599812984467, -0.09521453827619553, 0.10724165290594101, -0.7602089643478394, -0.4574972987174988, 1.0785200595855713, 0.04659014567732811, 0.7443354725837708, 0.13350717723369598, 0.8203199505805969, 0.20612472295761108, 0.07945791631937027, -0.74623042345047, 0.8132357597351074, -0.16396066546440125, -0.9195476770401001, -0.3545565605163574, -0.5169503092765808, -0.9113214612007141, 0.16659040749073029, 0.23740892112255096, -0.8450144529342651, -0.1572955846786499, 0.013541126623749733, -0.38705936074256897, 0.61611407995224, -1.1802406311035156, 0.8168930411338806, -0.29914048314094543, -0.3950067460536957, -0.17254279553890228, -0.4070955216884613, 0.68528151512146, -0.48716750741004944, 0.2719112038612366, -0.2434413582086563, -0.04907435178756714, 0.862356424331665, -0.46432313323020935, 1.1369984149932861, -0.2830635905265808, 0.11440657824277878, 0.3127795457839966, 0.2602280378341675, 0.7057729959487915, -0.12993134558200836, -0.210444375872612, 0.3026129901409149, 0.048767704516649246, -0.5820629000663757, -0.36477842926979065, 0.8563125729560852, -0.2943180501461029, -1.0111839771270752, -0.40082332491874695, -0.3420955240726471, -0.1454283744096756, 0.3727881908416748, 0.6540446877479553, 0.3158681094646454, 0.12023395299911499, 0.053018271923065186, 0.3013937473297119, -0.6111772060394287, 0.6379653215408325, 0.3371357321739197, -0.30542486906051636, -0.04631957784295082, 1.291922926902771, 0.07393927872180939, 0.6114796996116638, -0.03293050453066826, 0.305367112159729, -0.04845569655299187, -0.485774964094162, -0.513486921787262, 0.20453058183193207, -0.8201847076416016, -0.4393793046474457, -0.6534920930862427, -0.3313206732273102, -0.32515978813171387, -0.0024526072666049004, -0.1696985363960266, -0.1712612509727478, -0.3755268156528473, -0.005718344356864691, 0.3681831955909729, 0.5623137354850769, 0.06503120064735413, 0.5968643426895142, -0.5659856200218201, 0.05716153606772423, 0.5798197388648987, 0.25729215145111084, 0.19878056645393372, -0.6377519369125366, 0.06344091147184372, -0.36315473914146423, -0.49207621812820435, -0.9531692266464233, 0.3865831792354584, 0.34264692664146423, 0.32661306858062744, 0.817050576210022, 0.6224513053894043, 0.6220704913139343, -0.37568244338035583, 0.8611895442008972, 0.31452658772468567, -1.1907745599746704, 0.4642435312271118, -0.427463561296463, 0.33513712882995605, 0.18904970586299896, 0.10038899630308151, -0.8615500330924988, -0.8919925689697266, -0.5816858410835266, -1.3511772155761719, 0.6282274127006531, 0.22275781631469727, 0.8583407402038574, -0.24574752151966095, 0.14371313154697418, -0.07469258457422256, 0.09014527499675751, -0.5777782797813416, -0.29986634850502014, 0.08730893582105637, -0.16496452689170837, 0.4146568775177002, -0.6460840702056885, -0.2170398086309433, -0.03869051858782768, 0.5195928812026978, 0.006103066261857748, 0.1597503274679184, -0.29179003834724426, 0.016486695036292076, 0.09826071560382843, 0.4385700523853302, 0.6260496973991394, 0.5703018307685852, 0.03960684314370155, 0.2632374167442322, 0.5702081322669983, -0.33003702759742737, -0.045406777411699295, -0.22660410404205322, -0.10898280888795853, -0.16695627570152283, 0.7388090491294861, 0.6309338212013245, 0.23872683942317963, -1.0914149284362793, 0.786891758441925, -0.1847904771566391, 0.07150773704051971, -0.08869797736406326, 0.6311240792274475, 0.27320054173469543, 0.06645750999450684, 0.4168032109737396, -0.1707792729139328, 0.07292846590280533, -0.4671788513660431, 0.2935885488986969, 0.45028048753738403, -0.2615113854408264, -0.16914904117584229, 0.5701045989990234, 0.22263000905513763, 0.003672911785542965, 0.3486922085285187, -0.17405377328395844, -0.6470499038696289, 0.3394731283187866, 0.5473055243492126, 0.5263711214065552, -0.16984596848487854, -0.34058475494384766, 0.1651320904493332, 0.175663024187088, 0.3806077539920807, 0.15457022190093994, -0.04443631321191788, -0.5500155687332153, -0.46847859025001526, -0.5194301605224609, -0.5714820027351379, 0.47061213850975037, -0.5169197916984558, 0.3180461525917053, -0.7588222622871399, -0.1044280007481575, -0.012479218654334545, -0.22981953620910645, -0.10639401525259018, -0.1375909149646759, 0.018002275377511978, 0.5575218200683594, -0.7217746376991272, 0.8443368673324585, 0.02691742777824402, -0.16124875843524933, -0.7589855790138245, 0.14586961269378662, 0.041011471301317215, -0.7495227456092834, 0.5650452375411987, 0.22058182954788208, -0.11166968196630478, -0.14528478682041168, -0.6060001850128174, -0.4884461462497711, 0.5837686657905579, 0.46524012088775635, -0.7286649346351624, 0.0717039406299591, 0.06507100909948349, 0.29420536756515503, 0.22152352333068848, -0.21337595582008362, 0.6346118450164795, 0.4146224558353424, 0.09675195813179016, -0.6136459112167358, 0.2839711904525757, -0.049016330391168594, -0.4896271824836731, 0.33980756998062134, -0.735120415687561, 0.7328751087188721, -0.18240313231945038, -0.6152231097221375, -0.0786110982298851, 0.21163111925125122, 0.17269229888916016, 0.37776634097099304, 0.597292423248291, 0.30907467007637024, 0.8069352507591248, 0.19678643345832825, 1.060713529586792, -0.4705181419849396, -0.04717551916837692, 1.0498746633529663, -0.4253091514110565, 0.9046838283538818, 0.42554375529289246, 0.06514624506235123, 0.029989583417773247, 0.3320361077785492, 0.13905464112758636, 0.4003150165081024, 0.4331311285495758, -0.629208505153656, -0.13931752741336823, -0.157812237739563, -0.3197125196456909, 0.34265056252479553, 0.37719663977622986, -0.09377110749483109, -0.10075274854898453, 0.33112114667892456, 0.6962949633598328, -0.3839187026023865, -0.014416534453630447, 0.8941763639450073, 0.2774052321910858, -0.42309221625328064, 0.8264641165733337, -0.0740303248167038, 0.7888575792312622, -0.6263523697853088, 0.35657888650894165, -0.532451868057251, 0.11233016103506088, -0.14018546044826508, -0.42427265644073486, 0.5455277562141418, 0.40188854932785034, -0.02888227067887783, 0.03077499195933342, 0.7698487639427185, -0.13402892649173737, -0.21758976578712463, 0.46789607405662537, 0.2247147262096405, 0.3126627504825592, -0.4720993936061859, -0.24400125443935394, 0.2100444883108139, 0.04742024838924408, -0.19401337206363678, 0.5608063340187073, 0.23586277663707733, 0.03347856551408768, 0.7119178175926208, 0.7407647371292114, 0.46183067560195923, 0.27886298298835754, -0.014924010261893272, 1.0330077409744263, -0.6913990378379822, -0.27110621333122253, -1.164683222770691, -0.060085829347372055, -0.2865181565284729, -0.11402013152837753, 0.7998486161231995, 0.6484439373016357, 0.5930823087692261, 0.3339313864707947, 0.71277916431427, 0.11757819354534149, 0.33083412051200867, -0.4198606312274933, 1.0260721445083618, -0.5165348649024963, 0.5801980495452881, -0.02899535372853279, -0.5555273294448853, -0.5105107426643372, 0.016702735796570778, -0.2952224016189575, -0.1671094447374344, 0.8597781658172607, 0.7218604683876038, 0.057829078286886215, -0.22481603920459747, 0.7586841583251953, 0.4943253993988037, 0.7128840088844299, 0.5775842666625977, 0.9804049134254456, -0.011672225780785084, 1.1217684745788574, -0.08879325538873672, -0.09323069453239441, -0.25763243436813354, -0.7090089321136475, -1.0320501327514648, -0.14771558344364166, -0.06341352313756943, -0.3856949806213379, -0.06182664632797241, 0.5316035747528076, 0.93482905626297, -0.7653763890266418, -0.12094815820455551, 0.00619993032887578, 0.16694375872612, 0.19971780478954315, -0.2368561029434204, 0.529923141002655, -0.5130508542060852, -0.7612171769142151, 0.5687421560287476, 0.23704147338867188, 0.0031784777529537678, -0.06990846246480942, 0.12527824938297272, 0.26294854283332825, 0.3651113212108612, 0.500739336013794, 0.2045622169971466, -0.528050422668457, -0.3306816816329956, -0.3202824294567108, -0.12590405344963074, -0.22188672423362732, 0.794094443321228, -0.3497147560119629, 0.4018789231777191, 0.41755396127700806, 0.2731309235095978, 0.5356429219245911, -0.22928893566131592, 0.3284256160259247, -1.171872854232788, 0.44043153524398804, 0.4020824730396271, 0.3690940737724304, 0.34369927644729614, -0.4335379898548126, 0.09838635474443436, 0.11713762581348419, -0.2805338203907013, -1.0642743110656738, 0.4485894739627838, -0.8581517934799194, -0.6231508851051331, 1.474257230758667, -0.18891984224319458, -0.3239985406398773, -0.1252565234899521, -0.2176603078842163, 0.21003365516662598, -0.5761041045188904, 0.628352165222168, 0.5083310604095459, -0.06511892378330231, 0.3530649244785309, -0.8336852788925171, 0.5597371459007263, 0.43414604663848877, -0.7671085000038147, 0.4386155605316162, 0.2710682153701782, 0.45191261172294617, -0.049933381378650665, 0.4520869851112366, 0.09119261801242828, -0.002025031019002199, 0.17580270767211914, -0.2856273353099823, -0.09983909875154495, -0.27959325909614563, -0.25134921073913574, 0.4103569984436035, 0.22376540303230286, -0.3109990656375885 ]
http://arxiv.org/abs/2404.14779v1
http://arxiv.org/pdf/2404.14779v1
Med42 -- Evaluating Fine-Tuning Strategies for Medical LLMs: Full-Parameter vs. Parameter-Efficient Approaches
2024-04-23T06:36:21
2024-04-23T06:36:21
Clément Christophe, Praveen K Kanithi, Prateek Munjal, Tathagata Raha, Nasir Hayat, Ronnie Rajan, Ahmed Al-Mahrooqi, Avani Gupta, Muhammad Umar Salman, Gurpreet Gosal, Bhargav Kanakiya, Charles Chen, Natalia Vassilieva, Boulbaba Ben Amor, Marco AF Pimentel, Shadab Khan
cs.CL
cs.CL
This study presents a comprehensive analysis and comparison of two predominant fine-tuning methodologies - full-parameter fine-tuning and parameter-efficient tuning - within the context of medical Large Language Models (LLMs). We developed and refined a series of LLMs, based on the Llama-2 architecture, specifically designed to enhance medical knowledge retrieval, reasoning, and question-answering capabilities. Our experiments systematically evaluate the effectiveness of these tuning strategies across various well-known medical benchmarks. Notably, our medical LLM Med42 showed an accuracy level of 72% on the US Medical Licensing Examination (USMLE) datasets, setting a new standard in performance for openly available medical LLMs. Through this comparative analysis, we aim to identify the most effective and efficient method for fine-tuning LLMs in the medical domain, thereby contributing significantly to the advancement of AI-driven healthcare applications.
[ -0.4211365282535553, -0.6634336113929749, 0.7678923606872559, -0.1133262887597084, -0.6151813864707947, -0.08171775937080383, -0.4304543435573578, -0.4463362693786621, -0.2559412121772766, 0.5258080959320068, -0.46987929940223694, -0.6088001132011414, -0.5994970202445984, 0.33948710560798645, 0.02134118601679802, 0.7300946116447449, -0.23126903176307678, 0.592918336391449, -0.2759527266025543, -0.20271486043930054, -0.26046812534332275, -0.26100268959999084, -1.0507460832595825, -0.39541175961494446, 0.6569355130195618, 0.4386969804763794, 0.5407243371009827, 1.029457688331604, 0.971300482749939, 0.21892255544662476, -0.1949968785047531, 0.5965321660041809, -0.6023997664451599, 0.06381122767925262, -0.36056897044181824, -0.6070570945739746, -0.5844571590423584, -0.18772464990615845, 0.47064444422721863, 0.6311161518096924, -0.3227822780609131, 0.3190077841281891, -0.17812734842300415, 0.9191535711288452, -0.5946170687675476, 0.00046248413855209947, -0.6079356670379639, -0.039499931037425995, -0.32809391617774963, -0.5068986415863037, -0.13549447059631348, -0.3602069020271301, 0.02151641435921192, -0.4698200523853302, -0.03821951150894165, 0.2471523880958557, 0.6703467965126038, 0.7697175145149231, -0.35294947028160095, -0.4467438757419586, -0.3976258933544159, 0.7533427476882935, -0.9500429034233093, 0.5095792412757874, 0.35508790612220764, 0.25854554772377014, -0.2470163106918335, -0.8791753649711609, -0.16135545074939728, -0.23465602099895477, 0.2725864052772522, 0.026397576555609703, -0.15333126485347748, 0.4107728898525238, 0.18710540235042572, 0.6275476813316345, -0.42135268449783325, 0.7161164879798889, -0.6030567288398743, -0.19633059203624725, 0.6013627052307129, 0.46399131417274475, 0.0911468043923378, 0.17889724671840668, -0.1937718540430069, 0.08185917139053345, -0.9344401359558105, -0.29029181599617004, -0.0370093435049057, 0.05954771861433983, -0.016232043504714966, 0.8256387710571289, -0.5146444439888, 0.9227339625358582, -0.05548003315925598, -0.4102671146392822, 0.09468263387680054, -0.5598673224449158, -0.49450138211250305, -0.3487522006034851, 0.7559003829956055, 0.848804771900177, 0.35909298062324524, -0.37007275223731995, -0.16459594666957855, 0.04687432572245598, 0.2595028281211853, -0.9331483840942383, -0.08121596276760101, 0.336275190114975, -0.6705706715583801, -0.2916509509086609, -0.511424720287323, -0.8080212473869324, -0.7391663193702698, -0.5391796231269836, 0.314919114112854, -0.33473244309425354, 0.29671457409858704, 0.5167310237884521, -0.0014285340439528227, 0.3761349618434906, 0.278852254152298, -0.7249230742454529, 0.4078556001186371, 0.8430883288383484, 0.5754173398017883, -0.5005806088447571, 0.17401979863643646, -0.403396338224411, -0.02268170565366745, -0.5952156782150269, 0.7699874639511108, -0.5005950927734375, -0.4973301589488983, -0.11003252118825912, -0.10747387260198593, -0.11535819619894028, -1.2765942811965942, 0.8654181361198425, -0.4977167844772339, -0.07177846878767014, -0.3177288770675659, -0.7956153750419617, -0.16239607334136963, 0.22298812866210938, -0.42429694533348083, 0.4652501940727234, -0.07969354093074799, -0.3594348132610321, 0.31912097334861755, -0.8289584517478943, -0.37668856978416443, -0.22724995017051697, -0.15329788625240326, -0.48185494542121887, 0.21452294290065765, 0.2688518464565277, 0.5738483667373657, -0.8134757876396179, 0.10940863192081451, -0.05578890070319176, -0.5398000478744507, 0.08521530777215958, -0.5044045448303223, 0.39978304505348206, 0.32254061102867126, -0.1586810052394867, 0.1906505674123764, -0.8171667456626892, 0.00043653391185216606, 0.12423743307590485, -0.700628399848938, -0.01833718828856945, 0.09423849731683731, -0.4052269160747528, -0.059040386229753494, 0.43664056062698364, -0.4379599690437317, 0.21198566257953644, -0.7457470893859863, 0.39678701758384705, 0.4216930866241455, 0.2647174894809723, 0.31075426936149597, -0.668476402759552, 0.5186442136764526, -0.18072573840618134, 0.40172243118286133, 0.1255684792995453, -0.4610022008419037, -0.6852998733520508, -0.49983784556388855, 0.3471423387527466, 0.687397301197052, -0.3142574429512024, 0.19672568142414093, 0.1803802102804184, -0.724155068397522, -0.8902814984321594, 0.24816398322582245, 0.574938178062439, 0.6733274459838867, 0.5819705128669739, -0.15382210910320282, -0.4455263018608093, -0.9613633751869202, -0.3633894920349121, 0.01689664088189602, -0.05618445575237274, 0.796464204788208, 0.1292106807231903, -0.6176393032073975, 0.2212287187576294, -0.5251027941703796, -0.08209254592657089, 0.039011452347040176, -0.3408307135105133, 0.32477685809135437, 0.3268408179283142, 0.5326738953590393, -0.5193291902542114, -0.31421220302581787, 0.035773660987615585, -0.500880241394043, -0.1681370586156845, 0.31800293922424316, -0.21385979652404785, 0.2969893515110016, 0.57355797290802, -0.4358157217502594, 0.3018992841243744, 0.4074179232120514, -0.23702380061149597, 0.528205931186676, -0.5007415413856506, 0.39460164308547974, -0.8927584886550903, 0.08577698469161987, -0.1327829658985138, -0.05910154804587364, -0.4825991094112396, 0.25076547265052795, 0.15449877083301544, 0.23454280197620392, -0.2871672511100769, 0.5325093865394592, -0.432900607585907, 0.20546384155750275, -0.338087260723114, -0.007008698768913746, -0.0756705105304718, 0.28748732805252075, -0.494803249835968, 0.9002495408058167, 0.5551275610923767, -0.626593828201294, 0.526461660861969, 0.10562138259410858, -0.30609801411628723, 0.6273027658462524, -0.6850564479827881, 0.2054087519645691, -0.13446645438671112, -0.10240499675273895, -0.886569619178772, -0.21637478470802307, 0.23719918727874756, -0.2183123528957367, 0.4241352379322052, 0.10820652544498444, -0.6926296353340149, -0.24340946972370148, -0.3122486174106598, 0.3613011837005615, 0.6060987114906311, -0.23782780766487122, 0.20865559577941895, 0.32883259654045105, -0.20172537863254547, -0.23991061747074127, -0.42562979459762573, 0.035168979316949844, -0.43248045444488525, -0.2804267108440399, 0.24505797028541565, -0.22646920382976532, -0.388407826423645, -0.32755783200263977, -0.22770003974437714, -0.029132209718227386, 0.20278416574001312, 0.013414794579148293, 0.34870171546936035, -0.4615371823310852, 0.14631424844264984, 0.37430986762046814, -0.12470380961894989, 0.09124530851840973, -0.09219132363796234, 0.609965443611145, 0.11768895387649536, -0.3857697546482086, -0.6717479228973389, 0.1815742403268814, 0.7763209342956543, -0.5098097920417786, 0.6188215017318726, 0.22567494213581085, -0.3879249393939972, 0.21854981780052185, -0.6974735856056213, -0.2688702940940857, -0.4571859836578369, 0.6600323915481567, -0.19805370271205902, -0.8484203815460205, 0.3970460295677185, -0.5558984279632568, 0.2294084131717682, 0.518454372882843, 0.842018187046051, -0.23471599817276, 1.0105674266815186, 0.19545802474021912, 0.003525195410475135, 0.00032493998878635466, -0.003363553434610367, -0.20592758059501648, -0.9858676195144653, -0.45376208424568176, -0.6294728517532349, -0.35295218229293823, -0.6009218692779541, -0.7207658886909485, 0.528422474861145, 0.08407749235630035, -0.4286114573478699, -0.06385690718889236, -0.48073235154151917, 0.29802843928337097, 0.4590770900249481, 0.3850253224372864, 0.424455463886261, -0.09723809361457825, -0.33754387497901917, 0.12460514158010483, -0.5100792646408081, -0.47059041261672974, 1.4826289415359497, 0.3922451138496399, 0.7344539165496826, 0.14872989058494568, 0.513611912727356, -0.14514049887657166, 0.13894528150558472, -0.960236132144928, 0.4627525508403778, -0.5759841799736023, -0.601483941078186, -0.31355077028274536, -0.38095375895500183, -1.0345442295074463, 0.01893308386206627, -0.4401167035102844, -0.678686797618866, -0.1130966916680336, 0.14866797626018524, -0.4440652132034302, 0.28694382309913635, -0.5647764801979065, 0.6394798159599304, -0.32143011689186096, -0.17376919090747833, -0.5297357439994812, -0.6939013004302979, -0.0345214307308197, -0.3470972776412964, -0.011442748829722404, -0.3942491114139557, -0.6012001037597656, 0.6823304295539856, -0.14355620741844177, 0.5880767107009888, -0.17867235839366913, -0.24242685735225677, -0.18646013736724854, -0.30514001846313477, 0.34339606761932373, 0.08938001096248627, -0.5384620428085327, 0.04799468442797661, 0.2376895248889923, -0.3826500475406647, -0.5169743299484253, 0.570286750793457, -0.7376824021339417, -0.5980228781700134, 0.12503406405448914, -0.6172972917556763, -0.832955002784729, 0.38725829124450684, 0.2966543138027191, 0.6479225754737854, -0.047636669129133224, 0.2370523065328598, 0.9616498947143555, -0.4332008361816406, 0.07085447013378143, 0.8564079403877258, 0.02469583973288536, -0.45207077264785767, 0.5704712867736816, 0.014652594923973083, 0.1946711242198944, 0.6042653918266296, 0.18893782794475555, -0.41738975048065186, -1.0741633176803589, -0.48857948184013367, 0.6727665066719055, -0.5189723968505859, -0.28497517108917236, -0.18966321647167206, -0.1477222442626953, -0.10587167739868164, 0.013582460582256317, -0.4293811619281769, -0.04532208293676376, -0.5726209878921509, 0.032521527260541916, 0.44291821122169495, 0.6411259174346924, 0.27985143661499023, 0.2149873673915863, -0.6714600324630737, 0.5555938482284546, 0.07159923762083054, 0.829068124294281, -0.2670557200908661, -0.539199709892273, -0.09251333773136139, 0.025630181655287743, -0.12932726740837097, -0.8128564357757568, -0.19595320522785187, 0.24740499258041382, 0.7851747274398804, 0.5978471636772156, -0.06454287469387054, 0.7436931729316711, -0.7190684676170349, 0.42679259181022644, -0.028214609250426292, -0.4123639166355133, 0.5180721879005432, -0.19880691170692444, 0.21799416840076447, 0.7942527532577515, 0.23351703584194183, -0.14824740588665009, -0.1922207623720169, -0.21997515857219696, -0.768667995929718, 0.16293032467365265, -0.09783554822206497, -0.031492769718170166, 0.2924380898475647, 0.9441050291061401, 0.08934597671031952, 0.1440230756998062, 0.2619134783744812, -0.559299111366272, 0.6452654600143433, -0.6179872751235962, -0.2567090690135956, -0.3150905966758728, -0.4189823865890503, -0.46797358989715576, 0.3748546242713928, -0.08295995742082596, 0.19094964861869812, 0.17895366251468658, 0.24608489871025085, -0.018001418560743332, 0.24277500808238983, 0.8868005871772766, 0.9841353297233582, -0.10566066205501556, -0.07322145253419876, 0.40631943941116333, -0.5542303919792175, 0.030620859935879707, 0.3324679136276245, 0.14175893366336823, -0.19722792506217957, 0.12748397886753082, 0.8492703437805176, 0.27585306763648987, -1.026950478553772, 0.23476335406303406, -0.1295958012342453, -0.3083212375640869, 0.1858128309249878, 0.45876821875572205, 0.29319193959236145, 0.44649985432624817, 0.06775403767824173, 0.041138287633657455, 0.3989294767379761, -0.2495238333940506, 0.3117859661579132, 0.43373367190361023, -0.3895871639251709, 0.11326708644628525, 0.815132737159729, 0.1754007339477539, -0.24480824172496796, 0.44554856419563293, 0.2706190049648285, 0.1045902743935585, 0.676942765712738, 0.517102837562561, 0.27724775671958923, -0.12697447836399078, -0.18851859867572784, 0.222635880112648, 0.17683550715446472, 0.008422750048339367, 0.5250166058540344, 0.028311213478446007, -0.49467670917510986, -0.5003708600997925, -0.5989653468132019, -0.5700051188468933, 0.07260718196630478, -0.8346254825592041, 0.13423046469688416, -0.39075472950935364, -0.26286059617996216, 0.1380806863307953, 0.33563432097435, -0.6200212836265564, 0.5271270275115967, 0.10350139439105988, 1.3160992860794067, -0.10387185961008072, 0.7322299480438232, 1.0510823726654053, 0.1240009143948555, -0.9729164242744446, -0.030653303489089012, 0.046394020318984985, -1.2536109685897827, -0.11859460175037384, -0.21321317553520203, -0.0351242832839489, 0.12731286883354187, -0.4310658276081085, -0.7086676955223083, 1.2148618698120117, 0.5509895086288452, -0.9299294948577881, 0.024831149727106094, 0.19217337667942047, 0.6590509414672852, 0.010763921774923801, -0.06601592898368835, 0.945030689239502, 0.4113677442073822, -0.01120174489915371, -1.3259646892547607, 0.14495719969272614, -0.10253536701202393, -0.19161099195480347, 0.24238966405391693, -0.7264125943183899, 0.28785666823387146, -0.4605671763420105, 0.10007928311824799, 0.5361558794975281, 0.22530312836170197, 0.6775280833244324, 0.5036168694496155, 0.3333100378513336, 0.5560186505317688, 1.0612064599990845, -0.10334179550409317, 0.85532146692276, -0.6481854319572449, 0.2092859447002411, 0.608665406703949, -0.14697550237178802, 0.8764613270759583, 0.5968693494796753, -0.4235829710960388, -0.0010621348628774285, 0.672804057598114, -0.012674864381551743, 0.6511638760566711, 0.4550907015800476, -0.22916440665721893, -0.08585017919540405, 0.06880027800798416, -0.35327544808387756, 0.49300119280815125, 0.5149151086807251, -0.47873279452323914, 0.01652863249182701, -0.07370471954345703, 0.3827246427536011, -0.13054947555065155, -0.5413685441017151, 1.1686344146728516, 0.2357463240623474, -0.7721670269966125, 0.6443153023719788, 0.21707528829574585, 0.51631098985672, -0.4791683256626129, 0.1303716003894806, -0.2605672776699066, 0.2622365653514862, -0.14554105699062347, -0.6467253565788269, 0.15418988466262817, 0.12614311277866364, -0.14565977454185486, 0.3160281181335449, 0.5809022188186646, -0.2440294772386551, -0.25366565585136414, 0.17742691934108734, 0.38121679425239563, 0.2161521315574646, 0.03455732390284538, -0.688143253326416, 0.001072571612894535, 0.031710900366306305, -0.09423265606164932, 0.23286005854606628, 0.2563472390174866, 0.24881576001644135, 0.8033916354179382, 0.511698842048645, 0.4868326485157013, -0.015903525054454803, 0.10982377082109451, 0.8821510672569275, -0.5696053504943848, -0.05988628417253494, -1.0214266777038574, 0.2248062640428543, 0.04784270003437996, -0.4427590072154999, 0.39075809717178345, 0.6500957608222961, 0.454916387796402, 0.06582903116941452, 0.5079115033149719, 0.4352952241897583, 0.7361127734184265, -0.6382600665092468, 0.8064439296722412, -0.8613426089286804, 0.3121255338191986, 0.08005497604608536, -0.47447362542152405, -0.48497629165649414, 0.24194160103797913, -0.06896115094423294, 0.006611399818211794, 0.35226133465766907, 0.8565526008605957, 0.27802273631095886, -0.08968466520309448, 0.3465504050254822, 0.3134247362613678, 0.1261671781539917, 0.5628125667572021, 0.49558350443840027, -0.24011774361133575, 0.3238104283809662, -0.16143397986888885, -0.3905787765979767, -0.31269046664237976, -0.4054509997367859, -0.7846222519874573, -0.10580676794052124, -0.13774892687797546, -0.017605643719434738, 0.2977987825870514, 0.7438910007476807, 0.663814902305603, -0.8008707165718079, 0.01621287316083908, 0.14136174321174622, -0.20644226670265198, -0.03013557940721512, -0.07499894499778748, 0.3815791606903076, -0.2998526394367218, -0.6834828853607178, 0.5496818423271179, 0.43756264448165894, -0.17873366177082062, -0.07277718931436539, -0.13681098818778992, 0.2380637228488922, 0.4685174524784088, 0.48562195897102356, 0.09145314246416092, -0.740955114364624, 0.013958332128822803, 0.2897031009197235, -0.3912747800350189, 0.20162862539291382, 0.5064428448677063, -0.3156943619251251, 0.4899370074272156, 0.3710031807422638, 0.748923659324646, 0.18801528215408325, 0.15736152231693268, 0.6030438542366028, -0.17957261204719543, -0.21674875915050507, 0.2526038885116577, 0.41314318776130676, 0.11318328231573105, -0.22489672899246216, 0.5403118133544922, -0.1294291466474533, -0.8661676049232483, -0.6375125050544739, 0.04182847961783409, -1.0385384559631348, -0.41511163115501404, 1.3176236152648926, 0.1032978892326355, 0.18737955391407013, -0.09918835014104843, -0.5763881206512451, 0.5414367914199829, -0.019390853121876717, 0.6336239576339722, 0.2003389596939087, -0.5595203638076782, 0.038548581302165985, -0.8326472640037537, 0.5947499871253967, 0.5198156833648682, -1.0076947212219238, -0.4279065728187561, 0.3185834586620331, 0.5566848516464233, -0.22599254548549652, 0.6118946671485901, -0.3438696265220642, 0.31583404541015625, -0.535381555557251, -0.43691369891166687, -0.04989831522107124, -0.05862859636545181, -0.26109516620635986, 0.07131645083427429, 0.3017878234386444, -0.44522276520729065 ]
http://arxiv.org/abs/2404.14777v1
http://arxiv.org/pdf/2404.14777v1
CT-Agent: Clinical Trial Multi-Agent with Large Language Model-based Reasoning
2024-04-23T06:30:53
2024-04-23T06:30:53
Ling Yue, Tianfan Fu
cs.CL
cs.CL, cs.LG
Large Language Models (LLMs) and multi-agent systems have shown impressive capabilities in natural language tasks but face challenges in clinical trial applications, primarily due to limited access to external knowledge. Recognizing the potential of advanced clinical trial tools that aggregate and predict based on the latest medical data, we propose an integrated solution to enhance their accessibility and utility. We introduce Clinical Agent System (CT-Agent), a Clinical multi-agent system designed for clinical trial tasks, leveraging GPT-4, multi-agent architectures, LEAST-TO-MOST, and ReAct reasoning technology. This integration not only boosts LLM performance in clinical contexts but also introduces novel functionalities. Our system autonomously manages the entire clinical trial process, demonstrating significant efficiency improvements in our evaluations, which include both computational benchmarks and expert feedback.
[ -0.04518735781311989, -0.7423776984214783, 1.1023197174072266, 0.11418569087982178, -0.28580719232559204, 0.2769845724105835, -0.19129273295402527, -0.533708393573761, 0.19161544740200043, 0.5467895865440369, -0.19862721860408783, -0.7076162695884705, -0.7515602111816406, 0.24306002259254456, -0.12136129289865494, 0.6557218432426453, -0.0033423155546188354, 0.6589316129684448, -0.2909650504589081, -0.5062646269798279, -0.48398199677467346, -0.825775146484375, -0.7403616309165955, -0.7044290900230408, 0.8079940676689148, 0.24354097247123718, 0.7836787104606628, 0.40442854166030884, 0.8249327540397644, 0.4468997120857239, 0.33616364002227783, 0.22838194668293, -0.13947977125644684, 0.3024970591068268, -0.28933122754096985, -0.5887517929077148, -0.984433114528656, -0.1719171404838562, 0.032240092754364014, 0.3504723012447357, -0.24407236278057098, -0.48594045639038086, -0.46443331241607666, 0.12697061896324158, -0.6167420744895935, 0.2699967920780182, -0.2659558951854706, -0.12234107404947281, 0.11846823990345001, -0.330674409866333, -0.6229676008224487, -0.3883264362812042, 0.2704121470451355, -0.798104465007782, 0.07723566144704819, -0.2850082814693451, 0.31817206740379333, 0.17346636950969696, -0.8084028363227844, -0.34337863326072693, -0.42218154668807983, 0.5013718605041504, -0.6644496321678162, 0.09183154255151749, 0.12916062772274017, 0.7118195295333862, -0.31797781586647034, -0.9555402398109436, -0.3876717984676361, -0.7054250836372375, -0.07526605576276779, 0.26545479893684387, -0.08538639545440674, 0.460428386926651, -0.11598256975412369, -0.06753078103065491, -0.710838794708252, 0.187761127948761, 0.06793875247240067, -0.3373827636241913, 0.6764336824417114, 0.3805045485496521, 0.5436107516288757, 0.37398549914360046, -0.3304506242275238, 0.03401448577642441, -0.5640996098518372, -0.4247874617576599, -0.4483729302883148, 0.6115586161613464, 0.05019276589155197, 0.7583481669425964, -0.22714118659496307, 0.28649190068244934, -0.2834586203098297, -0.13927683234214783, 0.38763564825057983, -0.34820306301116943, -0.4566050171852112, 0.14212942123413086, 0.7885310053825378, 0.27914321422576904, -0.01169994194060564, -0.10230147838592529, -0.1987750381231308, 0.4265715479850769, 0.2233712077140808, -0.6386053562164307, 0.01173759251832962, 0.5391272306442261, -0.2770878076553345, -0.2636539340019226, -0.38316354155540466, -0.3660740256309509, -0.7890470623970032, -0.2793102264404297, 0.5821332335472107, -0.6475560665130615, -0.36560434103012085, 0.4340748190879822, -0.42537614703178406, 0.13768017292022705, 0.8900694847106934, -0.18887721002101898, 0.3706798553466797, 0.46283188462257385, 0.7591467499732971, -0.31699490547180176, -0.2265193909406662, -0.7736093401908875, 0.2138577401638031, -0.3475683331489563, 1.0135738849639893, -0.6420056819915771, -0.4549899399280548, 0.19483669102191925, 0.0846266895532608, -0.23694050312042236, -0.3788352906703949, 0.5264074802398682, -0.6151062250137329, 0.1600358933210373, -0.21739880740642548, -0.6120149493217468, 0.06880728155374527, 0.4625071585178375, -0.5935095548629761, 0.5695440173149109, -0.045989759266376495, -0.2320905178785324, 0.37395885586738586, -0.9494210481643677, -0.4019818603992462, 0.5977771878242493, -0.33487242460250854, -0.11320033669471741, 0.16784904897212982, 0.27610108256340027, 0.2409270703792572, -0.4074269235134125, 0.30110618472099304, -0.5796536207199097, -0.16725671291351318, 0.32223230600357056, -0.0018460163846611977, 0.5108960270881653, 0.5533084273338318, -0.26028016209602356, 0.4423329532146454, -0.6088414192199707, 0.00012886393233202398, 0.35691317915916443, -0.27203336358070374, -0.1759900003671646, -0.3319644629955292, 0.1837235391139984, 0.11917176097631454, 0.2864273488521576, -0.508591890335083, 0.5201528072357178, -0.19423021376132965, 0.42813539505004883, 0.5092219710350037, -0.1397923082113266, 0.31098172068595886, -0.41224828362464905, 0.7892416715621948, -0.05055631324648857, 0.3280607759952545, -0.025072412565350533, -0.46291977167129517, -0.4073849022388458, -0.4994800388813019, 0.024045223370194435, 0.5336819887161255, -0.9503752589225769, 0.13615918159484863, -0.21257919073104858, -0.3748631775379181, -0.07873842865228653, -0.4248228967189789, 0.18694768846035004, 0.12509194016456604, 0.3839699625968933, -0.08836892247200012, -0.04521990194916725, -0.810453474521637, -0.08202458918094635, -0.017575321719050407, 0.29039475321769714, 0.06601317971944809, 0.7309514284133911, -0.4267129898071289, 0.6094133853912354, -0.5711076855659485, -0.5391842722892761, -0.7569909691810608, 0.013870595023036003, 0.14609801769256592, 0.1530182957649231, 0.35169458389282227, -0.642385721206665, -0.3953530192375183, 0.39906322956085205, -0.8595781922340393, -0.2659357488155365, -0.12873433530330658, 0.08557020872831345, 0.03999766334891319, 0.5523616075515747, -0.9023536443710327, 0.513576865196228, 0.32201090455055237, -0.5107695460319519, 0.5458813905715942, -0.8126762509346008, 0.2396378070116043, -0.785236656665802, 0.10263624042272568, -0.1691788136959076, -0.3902483284473419, -0.7864322066307068, 0.11846761405467987, 0.020297957584261894, 0.06523223221302032, -0.4494468867778778, 0.743877649307251, -0.3992581367492676, 0.03848321735858917, -0.6830088496208191, 0.17698511481285095, 0.09425634145736694, 0.25518232583999634, 0.17472729086875916, 0.8026478886604309, 0.46639806032180786, -0.395410418510437, 0.4692799746990204, 0.3798978626728058, 0.054923880845308304, 0.5305532813072205, -0.6342909336090088, 0.15078699588775635, 0.018822064623236656, 0.39612168073654175, -0.6856078505516052, -0.4306941330432892, 0.07648859173059464, -0.48253652453422546, 0.09800561517477036, 0.106971375644207, -0.6721644997596741, -0.23984961211681366, -0.039531003683805466, 0.38558492064476013, 0.12754090130329132, -0.06342630833387375, 0.9324007034301758, 0.3466229736804962, -0.3059026896953583, -0.40915364027023315, -0.6964210867881775, 0.4726840853691101, 0.024167055264115334, -0.46484455466270447, 0.13385175168514252, -0.024828147143125534, -0.18570269644260406, -0.04772372171282768, 0.2864420413970947, -0.4255630373954773, -0.26624369621276855, -0.011016053147614002, 0.13926540315151215, -0.20555102825164795, 0.6916629672050476, 0.17944444715976715, -0.09861212223768234, -0.028159456327557564, -0.11504102498292923, 0.3017934262752533, -0.07885178923606873, -0.6807434558868408, -0.33310332894325256, 0.685380220413208, 0.9953792691230774, -0.21615631878376007, 0.44307366013526917, 0.11208390444517136, -0.35938531160354614, -0.222944438457489, -0.49934062361717224, -0.11657552421092987, -0.43098554015159607, 0.522774338722229, -0.4805397093296051, -0.7460601329803467, 0.4699036777019501, -0.25947317481040955, -0.13698118925094604, 0.18731026351451874, 1.098441481590271, 0.3155995309352875, 1.2464500665664673, 0.20849691331386566, 0.3275739252567291, 0.2458156794309616, 0.04663265123963356, -0.09300827980041504, -0.4639700949192047, -0.20133334398269653, -0.4173104166984558, -0.032013941556215286, -0.13288481533527374, -0.5684857368469238, 0.7716788053512573, -0.5839883685112, -0.47500717639923096, 0.02703714184463024, -0.5999297499656677, 0.24719995260238647, 0.5789889097213745, 0.37103357911109924, 0.7511433362960815, -0.5286998152732849, -0.44170376658439636, 0.3790563642978668, -0.6493856906890869, -0.4513227641582489, 1.4027622938156128, 0.10832300782203674, 0.5511288046836853, 0.18528835475444794, 0.46584078669548035, 0.5699912905693054, 0.5659960508346558, -0.7559857964515686, 0.516997754573822, 0.08160053193569183, -0.8761646747589111, -0.1415226012468338, -0.002647643443197012, -1.1476821899414062, 0.582421600818634, -0.17712773382663727, -0.4920041561126709, 0.07180855423212051, -0.1732626110315323, -0.5332543253898621, -0.0901370719075203, -0.892447829246521, 0.6804831624031067, -0.39742887020111084, -0.32024964690208435, -0.40926456451416016, -0.6436848640441895, 0.14129498600959778, -0.07772552222013474, 0.19942933320999146, -0.0887470692396164, -0.21007321774959564, 0.1497267484664917, -0.836554765701294, 0.6707866787910461, -0.13716869056224823, 0.06929918378591537, 0.34304964542388916, -0.10821828991174698, 0.7559834718704224, -0.004046967718750238, 0.12307927757501602, -0.26100924611091614, 0.22176827490329742, -0.44740915298461914, -0.7022102475166321, 0.5488972663879395, -0.759040117263794, -0.42020323872566223, -0.7789927124977112, -0.6260780692100525, -0.39098191261291504, 0.4996553957462311, -0.0919056162238121, 0.5650032758712769, -0.290314644575119, -0.12070406973361969, 0.2657586336135864, -0.5384945869445801, 0.018092606216669083, 0.8213950395584106, -0.16535229980945587, -0.6697168946266174, 0.43063196539878845, -0.18901264667510986, 0.48751744627952576, 0.4732012450695038, 0.2375108003616333, -0.6611270308494568, -1.0873130559921265, 0.002883210312575102, 0.4290391802787781, -0.9727689027786255, -0.015124792233109474, -0.6730955243110657, 0.05250588059425354, -0.5966949462890625, -0.28280773758888245, -0.3814740478992462, -0.09637205302715302, 0.1077619269490242, -0.00519135594367981, 0.17301741242408752, 0.7613825798034668, 0.23377059400081635, 0.7635604739189148, -0.8971108794212341, 0.29112985730171204, 0.09960168600082397, 0.23134492337703705, -0.37720784544944763, -0.11139053851366043, -0.28296419978141785, -0.20174840092658997, -0.31273433566093445, -0.8555299639701843, 0.4706665277481079, -0.10527867078781128, 0.6974378824234009, 0.3345926105976105, -0.023351656273007393, 0.24297980964183807, -0.3026075065135956, 0.5616225600242615, 0.23940014839172363, -0.6526339650154114, 0.4388468861579895, -0.7853546142578125, 0.352883517742157, 0.5865642428398132, -0.10863149911165237, -0.30240505933761597, -0.6118115186691284, -0.3890805244445801, -0.4699643552303314, 0.7623807191848755, 0.3213092088699341, -0.4020872712135315, 0.1570609211921692, 0.14956627786159515, 0.10962029546499252, 0.18386830389499664, -0.539379894733429, 0.05051441863179207, 0.06785453855991364, -0.42991822957992554, -0.09465985000133514, 0.18466870486736298, -0.43776240944862366, -0.12805581092834473, 0.4559105336666107, -0.6456320285797119, 0.4460314214229584, 0.5806856155395508, -0.31184983253479004, 0.0964716300368309, 0.42961904406547546, 0.7044161558151245, 0.7945451736450195, -0.27191296219825745, -0.022337965667247772, 0.16862095892429352, -0.7110142707824707, 0.2339460402727127, 0.2258192002773285, 0.4059414565563202, -0.30698123574256897, 0.7288296222686768, 0.4674377143383026, -0.0913814827799797, -1.0013456344604492, 0.5714530348777771, -0.430424302816391, -0.38368070125579834, -0.29128381609916687, -0.023073775693774223, 0.1338624805212021, 0.5854986906051636, 0.1969529688358307, -0.07978903502225876, 0.3461155593395233, -0.37720397114753723, 0.3654818832874298, 0.38899102807044983, -0.4043547511100769, -0.14359547197818756, 0.6725988388061523, 0.26786819100379944, -0.0786994993686676, 0.2581072449684143, 0.13634921610355377, -0.2904132902622223, 0.9927253723144531, 0.4615423083305359, 1.0076169967651367, -0.1333228349685669, 0.39517900347709656, -0.07355323433876038, 0.23443259298801422, -0.1292875111103058, 0.3989228308200836, 0.4222196936607361, -0.7722179889678955, -0.5504844784736633, 0.02767113596200943, -0.7140784859657288, 0.08226121217012405, -0.1633031964302063, 0.5624996423721313, -0.22408165037631989, -0.4386996030807495, 0.1804012656211853, 0.00006729397136950865, -0.6189870834350586, 0.21480858325958252, 0.2081131488084793, 1.010911226272583, -0.5165554881095886, 1.149276852607727, 1.0000537633895874, -0.4839261472225189, -0.5786191821098328, -0.606575608253479, 0.1776476949453354, -0.9005377292633057, 0.5063667297363281, 0.07557202130556107, -0.10824885219335556, -0.26571038365364075, -0.34386342763900757, -0.5734953880310059, 1.2435548305511475, 0.47575318813323975, -0.3078095614910126, -0.025519797578454018, 0.4069424867630005, 0.880585789680481, -0.7369847297668457, 0.8151113390922546, 0.6025614738464355, 0.642874002456665, 0.5660298466682434, -0.927405834197998, 0.12160185724496841, -0.19990043342113495, -0.46304258704185486, 0.007577020674943924, -0.6083022356033325, 0.6683469414710999, -0.4152667820453644, -0.030982814729213715, 0.17460966110229492, 0.2104211002588272, 0.4280882775783539, 0.7456746101379395, 0.38037237524986267, 0.44234374165534973, 0.7123284935951233, -0.06323139369487762, 1.078279733657837, -0.2551622986793518, 0.3425789475440979, 1.1153302192687988, -0.7716083526611328, 0.23613597452640533, 0.047711461782455444, -0.1603931486606598, 0.23751254379749298, 0.2984648644924164, 0.2873769700527191, 0.42528805136680603, -0.031925421208143234, -0.58253014087677, -0.588856041431427, -0.2467074990272522, -0.25783321261405945, 0.42039018869400024, 0.5203034281730652, -0.2368745654821396, -0.3785569667816162, 0.12758797407150269, -0.09038067609071732, -0.07615203410387039, 0.01692093349993229, 0.843196451663971, 0.16152119636535645, -0.6391738057136536, 0.2412363886833191, -0.3613669276237488, -0.029759347438812256, -0.9971115589141846, -0.0828535184264183, -0.08242074400186539, 0.5941948890686035, 0.0935477688908577, -0.3998987078666687, -0.045198168605566025, -0.41825398802757263, 0.36976635456085205, 0.0454031303524971, 0.7536802887916565, -0.2774103581905365, -0.3258650302886963, 0.5205736756324768, 0.8628050684928894, -0.12692275643348694, -0.27014991641044617, -0.8139153122901917, 0.1318034827709198, -0.4362395107746124, -0.29782384634017944, 0.32783374190330505, 0.729729175567627, -0.1646622270345688, 0.9916563630104065, 0.5828189253807068, 0.38699594140052795, -0.08618824183940887, 0.2745921313762665, 0.9345767498016357, -0.8710960745811462, -0.5587123036384583, -0.7689154744148254, 0.24598723649978638, -0.20107267796993256, -0.19740039110183716, 0.28822630643844604, 0.5154375433921814, -0.2486245036125183, 0.19636613130569458, 1.180580735206604, 0.23634661734104156, 0.31926605105400085, -0.1323961317539215, 0.5568687319755554, -0.7000042796134949, 0.07876269519329071, -0.030562512576580048, -0.35888025164604187, -0.5945120453834534, -0.014387957751750946, -0.23570063710212708, 0.08003079146146774, 1.184533715248108, 0.603643536567688, 0.318059504032135, 0.1536427140235901, 0.4639163017272949, 0.25670239329338074, 1.0364694595336914, 0.920161247253418, 0.7837889790534973, -0.18130549788475037, 0.31963247060775757, 0.27035588026046753, -0.6047584414482117, -0.3793473243713379, -0.6513153314590454, -0.9542433023452759, -0.3303288221359253, -0.1668255478143692, -0.15166053175926208, 0.19015611708164215, 1.2264610528945923, 0.5804252028465271, -0.6530336141586304, -0.04586281254887581, -0.09690502285957336, 0.03955572843551636, -0.3317693769931793, -0.14782533049583435, 0.5530234575271606, -0.6024742126464844, -0.7727227807044983, 0.5084198713302612, 0.539111316204071, -0.07086550444364548, -0.05564197152853012, -0.25452810525894165, -0.3288913369178772, 0.28191325068473816, 0.7101907134056091, 0.06031596660614014, -0.5290830135345459, -0.028419755399227142, 0.04711694270372391, -0.4213542342185974, 0.1431235522031784, 0.9149948954582214, -0.8528910279273987, 0.8017845749855042, 0.41510456800460815, 0.7009691596031189, 0.3355637490749359, -0.12541116774082184, 0.8597947955131531, 0.12988770008087158, 0.19064195454120636, 0.5933616757392883, 0.37663593888282776, -0.2009742259979248, -0.3734917640686035, 0.484614759683609, 0.27956506609916687, -0.7544921636581421, -0.6247362494468689, 0.08654418587684631, -1.2246067523956299, -0.49598467350006104, 1.0881811380386353, -0.00396664859727025, 0.07660175114870071, -0.6436811685562134, -0.3493444323539734, 0.3136114776134491, -0.5887870788574219, 0.5639779567718506, 0.7086601853370667, -0.4844675660133362, -0.020299192517995834, -0.750431478023529, 0.3259550631046295, 0.1894657015800476, -1.2507197856903076, -0.09652451425790787, 0.64132159948349, 0.04698650538921356, 0.01596621423959732, 1.284911870956421, -0.22077201306819916, 0.31001508235931396, -0.12469162791967392, 0.22578206658363342, -0.22901618480682373, -0.2187623232603073, -0.25159358978271484, 0.3132188022136688, 0.04299144446849823, -0.13603176176548004 ]
http://arxiv.org/abs/2404.14772v1
http://arxiv.org/pdf/2404.14772v1
Simulating Task-Oriented Dialogues with State Transition Graphs and Large Language Models
2024-04-23T06:23:34
2024-04-23T06:23:34
Chris Samarinas, Pracha Promthaw, Atharva Nijasure, Hansi Zeng, Julian Killingback, Hamed Zamani
cs.CL
cs.CL
This paper explores SynTOD, a new synthetic data generation approach for developing end-to-end Task-Oriented Dialogue (TOD) Systems capable of handling complex tasks such as intent classification, slot filling, conversational question-answering, and retrieval-augmented response generation, without relying on crowdsourcing or real-world data. SynTOD utilizes a state transition graph to define the desired behavior of a TOD system and generates diverse, structured conversations through random walks and response simulation using large language models (LLMs). In our experiments, using graph-guided response simulations leads to significant improvements in intent classification, slot filling and response relevance compared to naive single-prompt simulated conversations. We also investigate the end-to-end TOD effectiveness of different base and instruction-tuned LLMs, with and without the constructed synthetic conversations. Finally, we explore how various LLMs can evaluate responses in a TOD system and how well they are correlated with human judgments. Our findings pave the path towards quick development and evaluation of domain-specific TOD systems. We release our datasets, models, and code for research purposes.
[ -0.42800790071487427, -1.2583369016647339, 0.6177664399147034, -0.0824349895119667, -0.3196162283420563, 0.3957659602165222, -0.27903857827186584, -0.3707972764968872, 0.2948504686355591, 0.6522882580757141, -0.7726011276245117, -0.5278699398040771, -0.19992642104625702, 0.11213609576225281, -0.45632144808769226, 0.9002042412757874, 0.16419415175914764, 0.11146223545074463, -0.3442882299423218, 0.20152601599693298, -0.2788779139518738, -0.7233728766441345, -0.839460015296936, -0.11799605190753937, 0.24804465472698212, 0.1871703565120697, 0.3453945219516754, 0.02068893425166607, 0.009554813615977764, 0.37972456216812134, 0.15567734837532043, 0.28784582018852234, -0.5024338364601135, 0.5621411204338074, -0.24706487357616425, -0.4006863832473755, -0.43748706579208374, -0.1857580989599228, 0.1833631992340088, 0.7199253439903259, -0.15673865377902985, 0.1225820928812027, 0.07578007131814957, 0.1185457706451416, -0.27663663029670715, 0.4458361268043518, -0.3531910181045532, -0.0781012549996376, -0.06346414983272552, -0.26624876260757446, -0.6602153182029724, -0.1606687605381012, 0.3385312259197235, -0.5890824198722839, -0.0012688603019341826, 0.07270276546478271, 0.3594318628311157, 0.14371004700660706, -0.5346068143844604, -0.264519065618515, -0.9474955201148987, 0.5206202864646912, -0.8050761818885803, 0.29744213819503784, 0.02203543297946453, 0.3945464789867401, -0.6864745020866394, -0.8298865556716919, -0.9655260443687439, -0.06642013788223267, 0.20209044218063354, 0.19256354868412018, 0.07536479085683823, 0.4933982193470001, 0.2763858139514923, 0.09336908906698227, -0.45455846190452576, -0.2705044150352478, -0.03291445970535278, -0.06763231009244919, 0.45597344636917114, 0.5930593013763428, 0.33922532200813293, -0.34782370924949646, -0.12715493142604828, -0.27765780687332153, -0.36778202652931213, 0.1305854171514511, 0.33660510182380676, 0.5009836554527283, -0.0418880395591259, 0.6623334288597107, -0.36093631386756897, 1.0173075199127197, 0.053612031042575836, -0.19183684885501862, 0.013252458535134792, -0.4486948549747467, -0.4625672996044159, -0.16637669503688812, 0.9149048328399658, 0.6043861508369446, 0.3645341992378235, -0.2051975429058075, -0.08831153064966202, 0.1894078552722931, 0.28666144609451294, -0.6493117213249207, 0.05283663421869278, 0.38878026604652405, -0.2739657759666443, -0.13495993614196777, -0.46957066655158997, -0.5855833888053894, -0.06994451582431793, -0.5300571918487549, 0.1658845841884613, -0.40502849221229553, -0.1606614738702774, 0.19318579137325287, -0.14616726338863373, -0.04949233680963516, 0.6635814905166626, -0.45730486512184143, 0.8197507262229919, 0.5502538084983826, 0.6558878421783447, -0.47238242626190186, 0.04189655929803848, -0.3430272340774536, 0.1852485090494156, -0.32943814992904663, 0.5899592638015747, -0.5960994958877563, -0.7110081315040588, -0.04376295953989029, 0.005469469353556633, -0.0770895928144455, -0.4518774151802063, 0.3124832808971405, -0.4192521870136261, 0.3340332806110382, 0.13594116270542145, -0.42451775074005127, 0.002695090137422085, 0.5669377446174622, -0.49348095059394836, 0.816358745098114, 0.3755335211753845, -0.6997259259223938, -0.014807436615228653, -0.7621793150901794, -0.5403867959976196, -0.080064557492733, -0.22975362837314606, 0.003958803601562977, -0.01325276866555214, -0.1699860692024231, 0.26305752992630005, -0.6890174746513367, 0.5162654519081116, -0.15969444811344147, -0.05082687363028526, 0.2872391641139984, -0.2239202857017517, 0.5216290354728699, 0.4268166422843933, -0.25290966033935547, 0.361913800239563, -0.5520505905151367, 0.432864248752594, 0.05599359795451164, -0.027860049158334732, -0.3539421260356903, 0.06881430000066757, 0.17263664305210114, 0.3131985366344452, 0.01770097389817238, -1.0392038822174072, 0.25193852186203003, -0.37400850653648376, 0.3038056194782257, 0.6498583555221558, 0.18921323120594025, 0.19976936280727386, -0.2304849773645401, 0.7538132071495056, 0.15774601697921753, 0.1839083582162857, -0.22948452830314636, -0.7974207997322083, -0.563919723033905, 0.21527732908725739, 0.12300784140825272, 0.49123865365982056, -1.0666463375091553, 0.28588348627090454, -0.2589467465877533, -0.2168312817811966, -0.153966024518013, -0.3298998475074768, 0.4434329867362976, 0.5566055774688721, -0.027295684441924095, -0.46956291794776917, -0.46705055236816406, -0.6988609433174133, 0.004010175354778767, -0.3862653970718384, 0.14192040264606476, 0.4251488745212555, 0.1682480126619339, 0.09349256008863449, 1.3101885318756104, -0.5083510875701904, 0.14937163889408112, -0.5781651139259338, -0.06131061166524887, 0.014741478487849236, 0.22490492463111877, 0.1450406014919281, -0.5831015110015869, -0.5346927046775818, -0.059735774993896484, -0.4050653576850891, 0.04967854171991348, -0.14552275836467743, -0.1750183254480362, 0.14872044324874878, 0.3291706442832947, -0.892501175403595, 0.41225144267082214, 0.5306428074836731, -0.22265121340751648, 0.6380631923675537, 0.01410023495554924, 0.215550497174263, -1.5316599607467651, 0.1322842389345169, -0.10385413467884064, -0.41268810629844666, -0.8461851477622986, -0.0919480249285698, -0.4203377962112427, -0.6327549815177917, -0.3232909142971039, 0.7131909132003784, -0.2383769005537033, -0.41708800196647644, -0.23316094279289246, 0.1094718873500824, -0.24153102934360504, 0.7782583832740784, 0.09310126304626465, 0.8617158532142639, 0.28356125950813293, -0.6032732725143433, 0.4158865809440613, 0.37778452038764954, -0.4314459264278412, 0.3852984607219696, -0.7487245202064514, 0.32351166009902954, -0.005702071823179722, 0.7847679257392883, -1.042008876800537, -0.33148330450057983, 0.2962580919265747, -0.37168359756469727, 0.06986202299594879, -0.31359100341796875, -0.696778416633606, -0.4485919773578644, 0.04504849761724472, 0.5387769937515259, 0.5951444506645203, -0.1438927948474884, 0.5541566610336304, 0.5592073202133179, -0.5420472621917725, -0.1684541553258896, -0.1641877442598343, 0.20125025510787964, 0.06771978735923767, -0.6157336831092834, 0.19035689532756805, -0.1536409854888916, -0.196971133351326, -0.20844005048274994, -0.049950309097766876, 0.04888497665524483, -0.05605431646108627, 0.3090328574180603, 0.08489231765270233, 0.17591409385204315, -0.007477088365703821, 0.18526309728622437, 0.022806338965892792, 0.21865135431289673, -0.4832504391670227, 1.144671082496643, 0.2984115481376648, -0.6226779818534851, -0.47793298959732056, 0.3477552533149719, 0.7306295037269592, -0.10431942343711853, 0.1154690757393837, 0.1869295984506607, -0.2710862457752228, -0.4276482164859772, -0.15022830665111542, -0.3776853382587433, -0.4923744201660156, 0.3055286705493927, -0.5361106991767883, -0.795886754989624, 0.47408950328826904, -0.4232497215270996, 0.29260486364364624, -0.09266555309295654, 0.662850558757782, -0.024495895951986313, 1.2145555019378662, 0.3482755124568939, 0.421072781085968, 0.531006395816803, -0.38577035069465637, 0.4519302546977997, -1.0298274755477905, -0.44709232449531555, -0.28688323497772217, -0.5580685138702393, -0.4288402497768402, -0.8475810885429382, 0.6542593836784363, -0.1695690155029297, -0.004959408659487963, 0.32588624954223633, -0.365781307220459, 0.12521180510520935, 0.520557165145874, -0.02187194675207138, 0.21482492983341217, -0.08759300410747528, -0.2585521340370178, 0.01678444631397724, -0.6495341658592224, -0.37291303277015686, 1.213387131690979, -0.040896955877542496, 0.8989925384521484, -0.11608806997537613, 0.7747153043746948, 0.28861933946609497, 0.20706148445606232, -0.7817785739898682, 1.0789982080459595, 0.07820574194192886, -0.36317893862724304, -0.513298749923706, -0.2931259870529175, -0.9528301954269409, 0.059323422610759735, 0.13124948740005493, -0.8525536060333252, -0.01078561320900917, 0.0055834632366895676, -0.15410098433494568, 0.2585288882255554, -0.8518825769424438, 0.6822223663330078, 0.04194299504160881, -0.2079038769006729, -0.2187945395708084, -0.5743168592453003, 0.305016428232193, 0.1653638631105423, -0.026623524725437164, -0.15407127141952515, 0.33858102560043335, 0.7047466039657593, -0.7601715326309204, 1.0746724605560303, -0.33490127325057983, -0.23215866088867188, 0.6772715449333191, 0.31236839294433594, 0.666159987449646, 0.05566801875829697, 0.04273403808474541, -0.4903046786785126, -0.030970919877290726, -0.17388133704662323, -0.9434674978256226, 0.6998609900474548, -0.512333333492279, -0.8742955923080444, -0.030509574338793755, -0.9000459313392639, -0.5669860243797302, 0.06613472104072571, -0.19185926020145416, 0.8196650147438049, -0.31585580110549927, -0.22950465977191925, 0.32665205001831055, -0.244667187333107, 0.31233349442481995, 0.2838687598705292, -0.31922292709350586, -0.18854650855064392, 0.7235559225082397, -0.15788426995277405, 0.5358272790908813, 0.17612168192863464, -0.15746405720710754, -0.5110160112380981, -0.38854286074638367, -0.8423194885253906, -0.0694340243935585, -0.4070480763912201, -0.16023117303848267, -0.8132098913192749, -0.14434665441513062, -0.5189412236213684, 0.18603728711605072, -0.20738469064235687, -0.7232114672660828, 0.2605382800102234, -0.11974052339792252, 0.35300296545028687, 0.7707191109657288, 0.39305058121681213, 0.10284233093261719, -0.5454358458518982, 0.3722494840621948, 0.23034636676311493, 0.25284919142723083, 0.017740733921527863, -0.03351854160428047, -0.09230026602745056, 0.3450790047645569, -0.3829916715621948, -0.8361386060714722, 0.45835036039352417, -0.01269763708114624, 0.48735180497169495, 0.07270047813653946, 0.5111774802207947, 0.7485558986663818, -0.4925634264945984, 0.8479896187782288, 0.30688756704330444, -0.7963161468505859, 0.5888599157333374, -0.4139377474784851, 0.2569720447063446, 0.2259368598461151, 0.066550113260746, -0.689912736415863, -0.7555896043777466, -0.5732911229133606, -0.6247771978378296, 0.9001110196113586, 0.18173114955425262, 0.24185225367546082, -0.4740223288536072, 0.13382436335086823, 0.05703681334853172, 0.30996474623680115, -0.1197662428021431, -0.1971229612827301, -0.08370109647512436, -0.3657897710800171, -0.002605967689305544, 0.2022208273410797, -0.23113755881786346, 0.014915494248270988, 0.19209544360637665, -0.3443836569786072, 0.4749608635902405, 0.39038392901420593, 0.029392873868346214, -0.009846827015280724, 0.3529093861579895, 0.459067165851593, 0.38937073945999146, -0.02774166688323021, -0.15730540454387665, 0.02710092067718506, -0.25323089957237244, 0.2622663080692291, -0.2520963251590729, -0.11756275594234467, 0.06459005922079086, -0.3530450761318207, 0.820092499256134, 0.08436387032270432, -1.0562869310379028, 0.27463385462760925, -0.01871449127793312, -0.020671984180808067, -0.10550721734762192, 0.20525570213794708, 0.1613525003194809, 0.19140668213367462, 0.2384936362504959, -0.04023125395178795, 0.3548436164855957, -0.978059709072113, 0.23721487820148468, 0.529484212398529, -0.2293020337820053, -0.47376304864883423, 0.6430691480636597, 0.6189739108085632, -0.6576042175292969, 0.597643256187439, -0.3556705117225647, -0.4708266854286194, 0.7067888975143433, 0.8929365277290344, 0.8155845999717712, -0.07287875562906265, 0.4606761932373047, 0.2859913408756256, -0.3033420443534851, 0.3124304413795471, 0.6041402816772461, -0.3846931457519531, -0.5663659572601318, -0.7183700799942017, -0.544999361038208, -0.6079241037368774, -0.03602198138833046, -0.5886998772621155, -0.03528362512588501, -0.4996664226055145, -0.665644645690918, -0.31307363510131836, -0.12215325236320496, -0.41814976930618286, 0.17868627607822418, -0.05796691030263901, 0.7869754433631897, -0.4608941376209259, 0.9225095510482788, 0.7129465341567993, 0.1363164782524109, -0.6122366786003113, 0.05383932963013649, -0.23252052068710327, -0.5698235034942627, 0.7177000045776367, -0.14728733897209167, -0.22117428481578827, 0.3209308981895447, -0.36033210158348083, -0.5255247354507446, 0.9920969009399414, 0.17087343335151672, -0.44676512479782104, -0.29552751779556274, 0.2899080812931061, 0.6275268197059631, -0.4447762370109558, 0.43386897444725037, 0.3207796514034271, 0.1888565719127655, 0.16119088232517242, -1.2006438970565796, 0.06381022185087204, -0.5780611038208008, 0.0953533723950386, 0.48692312836647034, -0.6064052581787109, 0.7353612184524536, -0.46168631315231323, -0.43004128336906433, 0.24635407328605652, 0.35076820850372314, 0.39745333790779114, 0.2926267385482788, 0.6266112923622131, 0.5823067426681519, 0.35565218329429626, -0.23737287521362305, 1.1750136613845825, -0.7058282494544983, 0.021633142605423927, 1.055596947669983, -0.5779195427894592, 0.6686762571334839, 0.52248615026474, 0.019327552989125252, 0.559336245059967, 0.4735512435436249, 0.3524227440357208, 0.42803695797920227, 0.5574405193328857, -0.3318288028240204, -0.2516748607158661, -0.39381882548332214, -0.0540570467710495, 0.1788325309753418, 0.6109153032302856, 0.22570767998695374, -0.24329128861427307, 0.15344858169555664, -0.44818875193595886, -0.010610470548272133, 0.17324994504451752, 0.8942285180091858, -0.0075014615431427956, -0.8978406190872192, 0.42477405071258545, 0.07363850623369217, 0.5186485648155212, -0.5135032534599304, -0.15460462868213654, -0.1760968267917633, -0.21985211968421936, 0.07073152810335159, -0.877237856388092, 0.12017277628183365, 0.04443870857357979, 0.0011149198981001973, -0.4391912519931793, 0.45257481932640076, -0.508476972579956, -0.055764276534318924, 0.13379670679569244, 0.6851246953010559, 0.2269134670495987, 0.2860826551914215, -0.5693403482437134, 0.04436872899532318, 0.06555783748626709, -0.2580234408378601, 0.43711182475090027, 0.5181973576545715, -0.5042409300804138, 0.9879387617111206, 0.9523055553436279, -0.10818183422088623, 0.09870020300149918, 0.3398187458515167, 0.9652960896492004, -0.5731799006462097, -0.7319120168685913, -0.21561595797538757, 0.3714073598384857, -0.27786505222320557, -0.24796026945114136, 0.5799167156219482, 0.7338554263114929, 0.8176857233047485, -0.08011066913604736, 0.8817646503448486, -0.33742013573646545, 0.5854111313819885, -0.44245824217796326, 0.3099319338798523, -0.22597633302211761, 0.026731200516223907, -0.23283956944942474, -0.8298211693763733, 0.2408861219882965, 0.3043810725212097, -0.06812985241413116, 0.17186610400676727, 0.6210662126541138, 0.6611186265945435, -0.150206059217453, 0.07070735096931458, 0.40898340940475464, 0.1663750857114792, 0.6163485646247864, 0.5758985877037048, 0.9276552796363831, -0.2550024092197418, 0.5866565108299255, -0.05546654015779495, 0.17465578019618988, -0.11721963435411453, -0.1532844454050064, -0.776225209236145, -0.9049279689788818, -0.08751117438077927, -0.27000096440315247, 0.23663969337940216, 0.8235949277877808, 0.7650320529937744, -0.5254815220832825, -0.5980168581008911, -0.3871498703956604, -0.1250428855419159, 0.1363205462694168, -0.2881580591201782, -0.008454608730971813, -0.5595231652259827, -1.2509663105010986, 0.431313157081604, 0.3055439293384552, 0.23675349354743958, -0.17684248089790344, -0.2864888608455658, 0.21143318712711334, 0.04850925877690315, 0.6951864957809448, 0.23316803574562073, -0.799350917339325, -0.13940994441509247, 0.17673005163669586, -0.06824709475040436, -0.12477774918079376, 1.2160929441452026, -1.040358066558838, 0.5268465876579285, 0.5098171830177307, 0.46282443404197693, 0.6315515637397766, 0.27673107385635376, 1.125780701637268, -0.6573819518089294, 0.2282395213842392, 0.3782857358455658, 0.010530052706599236, 0.019739393144845963, 0.03283677622675896, 0.3645213544368744, 0.04343591630458832, -0.22967837750911713, -0.8264021277427673, 0.597075343132019, -1.1942493915557861, -0.1982373297214508, 1.0261074304580688, -0.15729324519634247, -0.29640254378318787, -0.4971815347671509, -0.34083864092826843, 0.26393890380859375, -0.5565468072891235, 0.519906759262085, 0.39266693592071533, -0.4485616683959961, 0.034329138696193695, -0.5406009554862976, 0.507098376750946, 0.32594797015190125, -1.1303656101226807, 0.3531913459300995, 0.5768851041793823, 0.26938921213150024, 0.21301953494548798, 0.8943793773651123, -0.00983418058604002, 0.1927834451198578, -0.1110362708568573, -0.011950116604566574, -0.06467226147651672, -0.27455413341522217, 0.32411816716194153, -0.02060464397072792, -0.1436457633972168, -0.19706156849861145 ]
http://arxiv.org/abs/2404.14760v2
http://arxiv.org/pdf/2404.14760v2
Retrieval Augmented Generation for Domain-specific Question Answering
2024-04-23T05:51:45
2024-05-29T16:18:02
Sanat Sharma, David Seunghyun Yoon, Franck Dernoncourt, Dewang Sultania, Karishma Bagga, Mengjiao Zhang, Trung Bui, Varun Kotte
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Question answering (QA) has become an important application in the advanced development of large language models. General pre-trained large language models for question-answering are not trained to properly understand the knowledge or terminology for a specific domain, such as finance, healthcare, education, and customer service for a product. To better cater to domain-specific understanding, we build an in-house question-answering system for Adobe products. We propose a novel framework to compile a large question-answer database and develop the approach for retrieval-aware finetuning of a Large Language model. We showcase that fine-tuning the retriever leads to major improvements in the final generation. Our overall approach reduces hallucinations during generation while keeping in context the latest retrieval information for contextual grounding.
[ -0.6076061129570007, -1.0722873210906982, 0.37609466910362244, 0.10317201912403107, 0.07273323833942413, 0.08140690624713898, 0.03648854047060013, -0.506101131439209, 0.0667460709810257, 0.6931096315383911, -0.5633713603019714, -0.21983389556407928, 0.032347820699214935, 0.09453330188989639, -0.3692464232444763, 0.732212483882904, 0.18466365337371826, -0.09143845736980438, -0.335393488407135, -0.043021611869335175, -0.7203091382980347, -0.6675273180007935, -0.9080373048782349, -0.1401304006576538, 0.29379525780677795, 0.5790621042251587, 0.8121126890182495, 0.2717183232307434, 0.516936719417572, 0.21795754134655, 0.07208240777254105, 0.3548799157142639, -0.48436078429222107, 0.32872921228408813, -0.5327982902526855, -0.3378153443336487, -0.37980103492736816, -0.4074389636516571, 0.3095996379852295, 0.8015901446342468, -0.02572213113307953, 0.35464683175086975, -0.30278152227401733, 0.49612411856651306, -0.9096089601516724, -0.2965373396873474, -0.7891492247581482, 0.09310317784547806, 0.14451439678668976, -0.5993173718452454, -0.3755075931549072, -0.38712602853775024, 0.2877196669578552, -0.6411935091018677, 0.7570709586143494, 0.25066572427749634, 0.9303774833679199, 0.14448025822639465, -0.3469100594520569, -0.1103067621588707, -0.8476163744926453, 0.5049256682395935, -0.4649534821510315, 0.3658425807952881, 0.5411270260810852, 0.5651172399520874, -0.07352998852729797, -0.9354543089866638, -0.6339759826660156, 0.057407088577747345, 0.17694666981697083, -0.17535647749900818, 0.01666935905814171, 0.020447440445423126, 0.22802022099494934, 0.7003187537193298, -0.5971956849098206, -0.2931963801383972, -0.29956358671188354, -0.08930879831314087, 0.7097125053405762, 0.16781215369701385, 0.33299145102500916, -0.07564825564622879, 0.048064906150102615, 0.14482317864894867, -0.8752240538597107, -0.07357094436883926, -0.020519519224762917, 0.29376220703125, 0.6621436476707458, 0.5739941596984863, -0.4942111074924469, 0.6108514666557312, 0.5095083117485046, 0.37295001745224, 0.09023848176002502, -0.13615615665912628, -0.35574114322662354, -0.07925309240818024, 0.16393102705478668, 0.22981292009353638, 0.3027283549308777, -0.5088412761688232, -0.30015209317207336, -0.22763411700725555, 0.46484243869781494, -0.8636969327926636, -0.16696564853191376, 0.45633748173713684, -0.061363477259874344, 0.016214633360505104, -0.13415561616420746, -0.5214391350746155, -0.4009823501110077, -0.407696396112442, 0.7225966453552246, -0.3457354009151459, -0.15148259699344635, 0.20559199154376984, -0.17966383695602417, 0.5235322713851929, 0.16830995678901672, -1.0153719186782837, 0.32038944959640503, 0.5668814182281494, 0.1842132806777954, 0.010050756856799126, -0.1078253909945488, -0.852023720741272, 0.27185165882110596, -0.4691733419895172, 0.8476503491401672, -0.4925030767917633, -0.2522238492965698, 0.38793858885765076, 0.025483880192041397, 0.2413843870162964, -1.052168846130371, 0.19646063446998596, -1.2475308179855347, 0.222480908036232, -0.4120343029499054, -0.6381909251213074, 0.011520741507411003, 0.4847159683704376, -0.41569894552230835, 0.8758557438850403, 0.459799587726593, -0.48026180267333984, 0.36029890179634094, -0.31648728251457214, -0.4677523970603943, 0.29316067695617676, -0.08156951516866684, -0.17957912385463715, 0.13207104802131653, 0.5421349406242371, 0.40759187936782837, -0.3929414749145508, 0.2781655788421631, 0.20305047929286957, -0.36236563324928284, 0.08762836456298828, -0.10358474403619766, 0.38739699125289917, 0.5523437261581421, -0.18290898203849792, -0.13542743027210236, -0.8147115111351013, 0.16567783057689667, 0.11375486105680466, -0.33820298314094543, -0.27317777276039124, -0.22247900068759918, 0.042244087904691696, 0.17608851194381714, 0.46366482973098755, -0.41655203700065613, 0.14418530464172363, -0.5168754458427429, 0.08606655150651932, 0.3221202492713928, 0.672403872013092, 0.5434508323669434, -0.2675689160823822, 0.7583057880401611, -0.012614288367331028, 0.06941734999418259, -0.0822281613945961, -0.23602299392223358, -0.5986267328262329, 0.12003698945045471, 0.18896667659282684, 0.5193712711334229, -1.0311853885650635, 0.17872993648052216, -0.08235000818967819, -0.16080820560455322, -0.3954612612724304, 0.16789773106575012, 0.42443543672561646, 0.5537368059158325, 0.5163277983665466, -0.20373430848121643, -0.4476959705352783, -0.7842942476272583, -0.07649773359298706, 0.3071351647377014, -0.07738983631134033, 0.5010162591934204, 0.23800155520439148, -0.24723777174949646, 1.1268283128738403, -0.918842613697052, -0.039455872029066086, -0.26936429738998413, -0.07675942033529282, -0.05063796043395996, 0.4588930010795593, 0.6396148800849915, -1.0819607973098755, -0.4927092492580414, 0.04399443790316582, -0.6073074340820312, 0.0011409989092499018, -0.04576209560036659, -0.4584546685218811, -0.04645314812660217, 0.44883742928504944, -0.6338154077529907, 0.18445658683776855, -0.047567062079906464, -0.3832087814807892, 0.48968014121055603, -0.2559329867362976, 0.449381023645401, -1.2305731773376465, 0.16831418871879578, -0.18998081982135773, -0.12958596646785736, -0.7606658935546875, 0.40905535221099854, 0.0053243315778672695, -0.4923677444458008, -0.584883987903595, 0.7254124879837036, -0.4255107343196869, -0.20408405363559723, -0.29257887601852417, 0.309669554233551, 0.42080625891685486, 0.48182713985443115, 0.08039297163486481, 1.1138837337493896, 0.47017964720726013, -0.9342292547225952, 0.419552743434906, 0.6641319990158081, -0.2402702271938324, 0.6607240438461304, -0.6051003336906433, 0.2825826108455658, -0.35816895961761475, -0.26957792043685913, -0.652403712272644, -0.3898981511592865, -0.17434433102607727, -0.39801937341690063, 0.4304002523422241, 0.09845724701881409, -0.4955677390098572, -0.434429407119751, 0.05761582404375076, 0.5310377478599548, 0.45642367005348206, -0.75739985704422, 0.4325208067893982, 0.3525196611881256, -0.27657341957092285, -0.5446416139602661, -0.5320369601249695, 0.0012894953833892941, -0.18131978809833527, -0.8807183504104614, 0.31429412961006165, -0.23936527967453003, -0.3087993860244751, -0.20907792448997498, -0.16426268219947815, -0.4414476156234741, 0.010429542511701584, -0.3072603940963745, -0.1779792755842209, -0.4999412000179291, 0.3430662453174591, 0.2326892912387848, 0.2926739752292633, 0.01128531526774168, -0.09055260568857193, 0.6207730174064636, 0.13691937923431396, -0.08559389412403107, -0.15773023664951324, 0.646798849105835, 0.33449587225914, -0.7049083113670349, 0.6962611079216003, 0.1542278528213501, -0.5525832176208496, -0.4353432357311249, -0.7341407537460327, -0.18335264921188354, -0.5115267634391785, 0.24780671298503876, -0.6330034732818604, -0.9220894575119019, 0.7998266816139221, -0.03337620943784714, -0.04010242968797684, 0.5816407203674316, 0.45225709676742554, 0.2859753966331482, 1.2081329822540283, 0.6792582869529724, 0.23295874893665314, 0.520061194896698, -0.3599036931991577, 0.1502671092748642, -0.6768586039543152, -0.23414434492588043, -0.5435517430305481, 0.021966610103845596, 0.03285529091954231, -0.22239463031291962, 0.0019335191464051604, 0.32455679774284363, -0.5741993188858032, 0.28137606382369995, -0.6398781538009644, 0.5462031364440918, 0.5478793382644653, 0.01331289578229189, 0.3125423789024353, 0.0805743858218193, 0.1983451396226883, 0.23509810864925385, -0.5602275133132935, -0.28620272874832153, 0.9271932244300842, 0.03405076265335083, 0.5715979337692261, 0.1590721309185028, 0.5544840097427368, 0.2936820685863495, 0.16157591342926025, -0.4622918665409088, 0.42629191279411316, -0.07755530625581741, -0.8436340093612671, -0.3158932328224182, -0.3458896279335022, -0.9768591523170471, 0.1470438688993454, -0.10284338891506195, -0.6210349202156067, 0.4992508590221405, 0.20742148160934448, -0.7503325343132019, -0.10971851646900177, -0.7303109765052795, 1.0268454551696777, -0.06567016988992691, -0.37481948733329773, -0.13959284126758575, -0.4662132263183594, 0.24668267369270325, -0.14508621394634247, -0.2590929865837097, 0.2423761934041977, 0.3413977026939392, 0.5482581853866577, -0.5911885499954224, 0.3361281454563141, -0.3107616603374481, -0.34279367327690125, 0.7349712252616882, 0.19680234789848328, 0.38469719886779785, 0.13306982815265656, -0.2925664186477661, -0.8161128759384155, 0.2849169671535492, -0.4556812047958374, -0.8682399988174438, 0.6970494985580444, -0.6343348622322083, -0.7111932635307312, -0.08514823019504547, -0.5998866558074951, -0.7417517900466919, 0.12167388945817947, 0.27956247329711914, 0.6209257245063782, -0.29559123516082764, 0.07193572074174881, 0.9064456224441528, -0.40497025847435, -0.1370328664779663, 0.47118276357650757, -0.31384530663490295, -0.3235362470149994, 0.9190051555633545, 0.03542608767747879, 0.19060048460960388, 0.6040653586387634, -0.0959518626332283, -0.3399234414100647, -0.5298808217048645, -0.2631698250770569, 0.22626474499702454, -0.8355567455291748, -0.37748822569847107, -0.5449610948562622, -0.27923840284347534, -0.6698624491691589, -0.30735841393470764, 0.06673919409513474, -0.44525980949401855, -0.4237901568412781, -0.2919172942638397, 0.5776334404945374, 0.5115026235580444, 0.30114132165908813, 0.370648056268692, -0.8647188544273376, 0.7343999147415161, 0.6591284871101379, 0.3311203718185425, -0.0020523250568658113, -0.5431729555130005, -0.3769148588180542, 0.1311970055103302, -0.3430923819541931, -0.7163827419281006, 0.4140835702419281, 0.5144985914230347, 0.4626961350440979, 0.16304071247577667, 0.2492820918560028, 0.6908995509147644, -0.5553624629974365, 0.9495788812637329, -0.20419004559516907, -0.7184855937957764, 0.8455848693847656, -0.2635192275047302, 0.36773380637168884, 0.7728719115257263, 0.20774714648723602, -0.43036797642707825, -0.3345840871334076, -0.6950970888137817, -0.9025986194610596, 0.5372365117073059, -0.14936387538909912, 0.4935707449913025, -0.52472984790802, 0.7993930578231812, 0.1450624167919159, 0.42723309993743896, -0.11329269409179688, -0.13248907029628754, -0.14615681767463684, -0.05505719780921936, -0.01003448199480772, -0.2965717017650604, -0.008931038901209831, -0.3045639991760254, 0.788851797580719, -0.22675177454948425, 0.1047811284661293, 0.2966156601905823, -0.3039769232273102, -0.32227209210395813, 0.21424831449985504, 0.31147098541259766, 0.8692406415939331, -0.3690895736217499, -0.02880231849849224, 0.16387638449668884, -0.38929662108421326, -0.018531404435634613, 0.10907162725925446, -0.1975581794977188, -0.17958781123161316, -0.2117236703634262, 0.5274724364280701, -0.17659883201122284, -0.9414244890213013, 0.48395389318466187, -0.07923441380262375, -0.14503102004528046, -0.3798062801361084, 0.090932697057724, -0.15895871818065643, 0.22943782806396484, 0.665312647819519, -0.1619153618812561, 0.3436812162399292, -0.7206145524978638, 0.5388579964637756, 0.4577889144420624, -0.09017234295606613, -0.05975676327943802, 0.8340251445770264, 0.19935843348503113, -0.3152422606945038, 0.7707535624504089, -0.15743215382099152, -0.2670682370662689, 0.7060278058052063, 0.7571865916252136, 0.9079464673995972, -0.1493816375732422, 0.270047664642334, 0.21194283664226532, -0.1694861799478531, -0.06286841630935669, 0.6518996357917786, -0.12647104263305664, -0.7133821249008179, -0.4837195575237274, -0.6655668616294861, -0.3890896737575531, 0.040502943098545074, -0.6222395896911621, -0.08394795656204224, -0.4978618025779724, -0.1699298620223999, -0.11869009584188461, 0.2054789662361145, -0.7251965403556824, 0.7758267521858215, -0.15405653417110443, 0.9949326515197754, -0.4344502389431, 0.49940499663352966, 0.6725201606750488, -0.8940485119819641, -0.8355223536491394, -0.012283745221793652, -0.7655556797981262, -0.4263169467449188, 0.7587751150131226, -0.14394257962703705, -0.055242639034986496, 0.2747078835964203, -0.5499928593635559, -0.881592333316803, 1.1292555332183838, 0.4445168972015381, -0.16123701632022858, -0.15279830992221832, 0.20574989914894104, 0.8425471186637878, -0.42050471901893616, -0.14392253756523132, 0.59222811460495, 0.026474637910723686, 0.3291310667991638, -0.6226260662078857, 0.06473062932491302, -0.415956050157547, 0.0431644506752491, 0.03791586682200432, -0.37881723046302795, 0.6445878744125366, -0.08309577405452728, -0.23111316561698914, 0.33180293440818787, 0.8598644733428955, 0.09355956315994263, 0.3155205249786377, -0.035896334797143936, 0.41880521178245544, 0.8387957811355591, -0.019299665465950966, 1.175433874130249, -0.48133155703544617, 0.15675032138824463, 0.9639593958854675, -0.27712196111679077, 1.0089647769927979, 0.30583301186561584, 0.11898499727249146, 0.18492987751960754, 0.5691348314285278, 0.26182466745376587, 0.5028334856033325, 0.4109174609184265, -0.396916925907135, -0.3891517221927643, -0.21455581486225128, -0.5149315595626831, 0.022106627002358437, 0.24104760587215424, -0.3170734941959381, 0.03994784876704216, 0.21576951444149017, -0.3124237060546875, 0.2699984908103943, -0.5845856070518494, 0.7270241379737854, 0.025768611580133438, -0.8694127202033997, 0.8722612261772156, -0.07812049239873886, 0.4153704047203064, -0.40830498933792114, 0.010755079798400402, -0.5871521830558777, 0.20843446254730225, -0.2974243462085724, -0.678857684135437, 0.346598356962204, 0.019988929852843285, -0.3189179003238678, -0.01082583237439394, 0.5236718058586121, -0.5389875173568726, -0.2476550042629242, -0.14554612338542938, 0.6594673991203308, 0.032052334398031235, -0.4380767047405243, -0.4198194146156311, -0.44655680656433105, -0.27477720379829407, -0.32163190841674805, 0.24115349352359772, 0.7401443719863892, -0.13853685557842255, 0.6981472969055176, 0.3747130036354065, -0.18315887451171875, 0.25126704573631287, 0.43536314368247986, 0.7435728907585144, -0.5898424386978149, -0.41981974244117737, -0.11656039953231812, 0.41840603947639465, 0.01778419502079487, -0.3622409403324127, 0.689738929271698, 0.7417080998420715, 0.638277530670166, -0.3111153244972229, 0.6248407959938049, -0.09499306231737137, 0.5756680369377136, -0.3208988308906555, 0.6671513915061951, -0.8878083825111389, 0.2258436530828476, -0.25766876339912415, -1.2241374254226685, -0.5455591082572937, 0.37188521027565, -0.3657683730125427, 0.051921237260103226, 0.5306938886642456, 0.8938374519348145, 0.03240445256233215, -0.1906932145357132, 0.3753735423088074, -0.010675464756786823, 0.33336901664733887, 0.41065388917922974, 0.7563939690589905, -0.5213067531585693, 0.5662318468093872, -0.21595923602581024, 0.09949539601802826, -0.08000653237104416, -0.2907940745353699, -0.6280298829078674, -0.6075030565261841, -0.4461287558078766, -0.379377543926239, 0.18651710450649261, 0.782207190990448, 0.4105132520198822, -1.0398790836334229, 0.07862603664398193, -0.05913533642888069, -0.2446315884590149, -0.2548653781414032, -0.28768372535705566, 0.5855870246887207, -0.617699921131134, -0.6936125755310059, 0.2758868932723999, -0.06439054757356644, -0.08823386579751968, -0.16804015636444092, 0.025840850546956062, -0.339581161737442, 0.3844241201877594, 0.7269307971000671, 0.6839926242828369, -0.3209049701690674, -0.5888381004333496, 0.31572380661964417, -0.03727557510137558, 0.19155584275722504, 0.7334654331207275, -0.9071842432022095, 0.3714480996131897, 0.6107383966445923, 1.079045295715332, 0.40633678436279297, 0.38002896308898926, 0.8603873252868652, -1.0007164478302002, -0.13331300020217896, 0.4148021340370178, 0.23677971959114075, 0.48531854152679443, -0.6582612991333008, 0.3631686270236969, -0.18639209866523743, -0.6706873774528503, -0.5266156792640686, 0.3683968782424927, -0.7705965638160706, -0.35400086641311646, 1.1027452945709229, 0.24771422147750854, -0.08084776252508163, -0.3156374394893646, -0.6144330501556396, 0.2044580578804016, -0.22049525380134583, 0.7130425572395325, 0.2777448296546936, -0.07265078276395798, -0.23694783449172974, -0.3291700780391693, 0.6954343318939209, 0.4427850842475891, -0.826981782913208, 0.10572348535060883, 0.7542769908905029, 0.22665584087371826, 0.26128488779067993, 0.7636318206787109, 0.074644073843956, 0.5588492155075073, -0.10431907325983047, 0.14351142942905426, 0.12722650170326233, -0.2987349033355713, -0.20905616879463196, 0.552422046661377, 0.4854314923286438, -0.10340463370084763 ]
http://arxiv.org/abs/2404.14749v2
http://arxiv.org/pdf/2404.14749v2
Semantic Cells: Evolutional Process to Acquire Sense Diversity of Items
2024-04-23T05:11:08
2024-04-26T22:16:59
Yukio Ohsawa, Dingming Xue, Kaira Sekiguchi
cs.LG
cs.LG, cs.CL
Previous models for learning the semantic vectors of items and their groups, such as words, sentences, nodes, and graphs, using distributed representation have been based on the assumption that the basic sense of an item corresponds to one vector composed of dimensions corresponding to hidden contexts in the target real world, from which multiple senses of the item are obtained by conforming to lexical databases or adapting to the context. However, there may be multiple senses of an item, which are hardly assimilated and change or evolve dynamically following the contextual shift even within a document or a restricted period. This is a process similar to the evolution or adaptation of a living entity with/to environmental shifts. Setting the scope of disambiguation of items for sensemaking, the author presents a method in which a word or item in the data embraces multiple semantic vectors that evolve via interaction with others, similar to a cell embracing chromosomes crossing over with each other. We obtained two preliminary results: (1) the role of a word that evolves to acquire the largest or lower-middle variance of semantic vectors tends to be explainable by the author of the text; (2) the epicenters of earthquakes that acquire larger variance via crossover, corresponding to the interaction with diverse areas of land crust, are likely to correspond to the epicenters of forthcoming large earthquakes.
[ -0.5674934983253479, -0.7240979075431824, 0.5930300951004028, -0.02187754213809967, -0.2803111970424652, 0.16471083462238312, -0.13031676411628723, -0.6054077744483948, 0.27581489086151123, 0.024706432595849037, -0.7403236627578735, -0.46465349197387695, -0.8085461854934692, 0.2433801144361496, -0.5716566443443298, 0.7249041795730591, 0.05465402081608772, -0.10236787796020508, -0.13933391869068146, -0.5303272604942322, -0.11651425808668137, -0.07501935213804245, 0.047438330948352814, -0.4799894392490387, 0.7169837951660156, 0.39300504326820374, 0.7758998274803162, 0.6988903284072876, 0.10366983711719513, 0.33987072110176086, -0.6135618090629578, 0.15128755569458008, -0.40796783566474915, 0.21242719888687134, -0.5546267032623291, -0.24861571192741394, 0.00674777664244175, 0.1377776563167572, 0.5096980333328247, 1.0753004550933838, 0.012314350344240665, -0.08719237893819809, 0.054782018065452576, 0.48087525367736816, -0.2851765751838684, -0.04771154001355171, -0.9152891635894775, 0.29101914167404175, 0.16532574594020844, -0.2736769914627075, -0.061845291405916214, -0.03165813162922859, 0.6389666199684143, -0.8194770812988281, 0.19458208978176117, -0.14216184616088867, 0.6729755401611328, 0.22005151212215424, -0.39890381693840027, -0.5272043943405151, -0.5326492786407471, 0.6861625909805298, 0.10846129059791565, 0.5209583640098572, 0.141500785946846, 0.11598985642194748, -0.32938265800476074, -0.9329676032066345, -0.7832501530647278, -0.20059476792812347, 0.31094634532928467, 0.45485368371009827, -0.04926208779215813, -0.20815709233283997, 0.12851879000663757, 0.07689261436462402, -0.019566942006349564, -0.1723833680152893, -0.4890252351760864, -0.06138968840241432, 0.40802064538002014, 0.0055922395549714565, 0.6060507893562317, -0.26226362586021423, -0.7460382580757141, -0.2994915246963501, -0.42600858211517334, -0.02993258833885193, 0.3436165153980255, 0.3372679054737091, 0.03754322603344917, 0.7112032771110535, -0.24632218480110168, 0.7140800356864929, -0.3322228789329529, 0.08685266971588135, 0.554264485836029, -0.5964662432670593, -0.10414911061525345, 0.1293543130159378, 0.30400148034095764, 0.17009951174259186, 0.037483181804418564, -0.32194507122039795, 0.2045261263847351, 0.14197438955307007, 0.3684195280075073, -0.4407815635204315, -0.19639165699481964, -0.11996649205684662, -0.7199142575263977, -0.2960324287414551, 0.05840357393026352, -0.8984704613685608, -0.25405997037887573, -0.6753648519515991, 0.34860679507255554, -0.5887095928192139, -0.2323143631219864, 0.2542727589607239, -0.7972838282585144, 0.3279576897621155, 0.4283919036388397, -0.7588229775428772, 0.3614603281021118, 0.3786521852016449, 0.8091560006141663, -0.21693985164165497, -0.7572622895240784, -0.12287521362304688, 0.038107600063085556, -0.17124848067760468, 1.0618550777435303, -0.7593570947647095, -0.6240937113761902, -0.21042422950267792, 0.008395109325647354, -0.14913739264011383, -0.5528706908226013, 0.3150160014629364, -0.5119984149932861, -0.004456677008420229, -0.46731406450271606, -0.5061185359954834, -0.2439528852701187, -0.07087962329387665, -0.42307472229003906, 0.7931897640228271, 0.381723552942276, -0.6178225874900818, 0.8891800045967102, -0.7567655444145203, -0.277313768863678, 0.2501576244831085, -0.30114713311195374, -0.17390796542167664, 0.27152058482170105, -0.0624493807554245, 0.18036039173603058, 0.15107427537441254, -0.5650428533554077, -0.44868960976600647, 0.19825346767902374, 0.36827871203422546, 0.11593078076839447, 0.7292430996894836, 0.31678372621536255, -0.16612368822097778, 0.030657155439257622, -0.7609748840332031, -0.08781448751688004, -0.012564034201204777, -0.37508320808410645, -0.7245951890945435, 0.5832462310791016, -0.10599910467863083, 0.2605836093425751, -0.04577441141009331, -0.6301151514053345, 0.2923925220966339, -0.36295297741889954, 0.4360085725784302, 0.5737465023994446, 0.14837433397769928, 0.5681070685386658, -0.11092036217451096, -0.0007888186955824494, 0.7313949465751648, 0.09602963924407959, 0.031115438789129257, -0.9645758271217346, -0.5163031220436096, 0.08673404157161713, 0.04478029906749725, 0.20117628574371338, -0.7287728786468506, 0.4444276988506317, -0.20458637177944183, -0.39364680647850037, -0.1887333244085312, 0.2016858160495758, -0.2139524221420288, 0.31364479660987854, 0.6341361999511719, -0.18342246115207672, -0.2661830186843872, -0.6178297996520996, -0.17597967386245728, -0.04669247567653656, 0.06343458592891693, 0.4076918065547943, 0.6075050830841064, -0.6360664367675781, 1.2424575090408325, -0.5438348650932312, 0.041323043406009674, -0.11811364442110062, 0.326887309551239, 0.043971966952085495, 0.34528762102127075, 0.6066769957542419, -1.2177106142044067, 0.03107329085469246, 0.517884373664856, -0.45152682065963745, -0.1714097410440445, -0.0686807706952095, -0.46752673387527466, -0.3005247116088867, 0.44029051065444946, -0.3409908413887024, 0.5066473484039307, 0.4276689291000366, -0.696800947189331, 0.1923016905784607, -0.1361115425825119, -0.26763421297073364, -1.2438572645187378, -0.3381768465042114, -0.21444450318813324, 0.0122609818354249, -0.6611773371696472, -0.12212994694709778, 0.03727976232767105, 0.24511881172657013, -0.3806864321231842, 0.4818398952484131, -0.6150789856910706, -0.25666409730911255, -0.4513096809387207, 0.4517785310745239, -0.13481400907039642, 0.14378245174884796, -0.034011222422122955, 0.24591122567653656, 0.6046879291534424, -1.0447849035263062, 0.5390635132789612, 0.4777662456035614, -0.40165749192237854, 0.6312564015388489, -0.3105349540710449, -0.29726672172546387, -0.5050320029258728, -0.010755812749266624, -0.6987975835800171, -0.07726302742958069, 0.1994246542453766, -0.5695968270301819, -0.18524280190467834, 0.17210912704467773, -0.1548423022031784, -0.36580535769462585, 0.07060366123914719, 0.5398464202880859, 0.35078155994415283, -0.7325844168663025, 0.5834224820137024, 0.35334312915802, 0.16218611598014832, -0.2165002077817917, -0.6694927215576172, -0.11544882506132126, -0.29569458961486816, -0.7103428840637207, 0.3775143027305603, -0.08985357731580734, -0.44037044048309326, 0.37697634100914, -0.30968570709228516, -0.03439874202013016, 0.28226494789123535, 0.04926631599664688, -0.028032543137669563, -0.09490661323070526, 0.740841269493103, 0.22811073064804077, -0.01298469491302967, -0.05807347595691681, -0.7739900946617126, 0.3232444226741791, 0.1194593533873558, -0.31636354327201843, 0.339011013507843, 0.4056657552719116, 0.5282344222068787, -0.0984865352511406, 0.8080960512161255, 0.47340232133865356, -0.4674549102783203, -0.5915926694869995, 0.06245465576648712, -0.12985186278820038, -0.40070515871047974, 0.4301247000694275, -0.6529500484466553, -0.775795042514801, 0.9268346428871155, -0.50831538438797, -0.12672065198421478, 0.6849647760391235, 0.6992233991622925, 0.1507490575313568, 0.7813288569450378, 0.6471591591835022, 0.29497697949409485, 0.48822981119155884, -0.21899548172950745, 0.13239185512065887, -1.0262641906738281, -0.4411846399307251, -0.7219893932342529, -0.49730491638183594, -0.8249229192733765, -0.6214094161987305, 0.31086260080337524, 0.4112778306007385, 0.002747365739196539, 0.24946996569633484, -0.6470197439193726, 0.562311053276062, 0.44616207480430603, 0.45513200759887695, 0.20949207246303558, 0.13222627341747284, -0.4606858789920807, 0.2663925886154175, -0.7226313352584839, -0.1769288033246994, 0.6387649178504944, 0.32557711005210876, 0.6986857652664185, 0.18803419172763824, 0.7283397316932678, 0.019917838275432587, 0.22187373042106628, -1.006833553314209, 0.24257342517375946, -0.0765763521194458, -0.24950148165225983, -0.36346641182899475, -0.28803130984306335, -1.343822717666626, 0.5509788990020752, -0.2897132337093353, -0.9415448307991028, 0.7547217011451721, -0.430751770734787, -0.11411194503307343, 0.21873173117637634, -0.6196570992469788, 0.6071140766143799, 0.030729440972208977, -0.16211673617362976, -0.2641059458255768, -0.7030759453773499, -0.08312003314495087, -0.08541302382946014, 0.1653956174850464, -0.357155978679657, -0.3238755464553833, 0.7258027195930481, -0.21306855976581573, 0.7020309567451477, -0.07905197888612747, 0.10280325263738632, 0.4877122938632965, -0.1737760454416275, 0.2015315294265747, 0.05983557552099228, -0.05081918090581894, -0.015280639752745628, -0.1406303346157074, -0.6456688046455383, -0.4690011739730835, 0.4716327488422394, -1.0419585704803467, -0.3054349422454834, -0.2118428647518158, -0.5267149209976196, -0.07683747261762619, 0.24584968388080597, 0.4204435646533966, 0.19262102246284485, -0.23304657638072968, 0.249290332198143, 0.8278643488883972, -0.32989221811294556, 0.5256929993629456, 0.13355475664138794, -0.16530226171016693, -0.0002961125283036381, 0.5557146072387695, 0.18462947010993958, 0.319229394197464, 0.1164291650056839, 0.701291024684906, -0.1866571009159088, -0.5272209644317627, -0.33879366517066956, -0.1747148483991623, -0.8439706563949585, -0.10667077451944351, -0.8709940314292908, -0.15432439744472504, -0.11784270405769348, -0.22136467695236206, 0.007220191415399313, -0.24079547822475433, -0.2868303656578064, -0.28140124678611755, 0.74432772397995, 0.9546311497688293, -0.21113087236881256, 0.10948406159877777, -0.7402495741844177, 0.20522244274616241, 0.6231025457382202, 0.3204016089439392, -0.010186698287725449, -0.30550041794776917, -0.23682275414466858, 0.15306463837623596, -0.24043983221054077, -1.338927984237671, 0.28388166427612305, 0.2799761891365051, 0.9763623476028442, 0.18181212246418, -0.10346127301454544, 0.5288456082344055, -0.4389171600341797, 0.8105176687240601, 0.17431671917438507, -0.9497900605201721, 0.5273684859275818, -0.40897613763809204, 0.4762156009674072, 0.33628588914871216, 0.24843573570251465, -0.6404582858085632, -0.39080411195755005, -0.6768082976341248, -1.071425437927246, 0.5342182517051697, 0.12722454965114594, 0.4310564398765564, -0.4225621521472931, 0.32572492957115173, 0.2823311388492584, 0.05416512489318848, -0.5584518909454346, -0.03706192970275879, -0.5298081636428833, -0.1420736312866211, 0.18212610483169556, -0.06612380594015121, -0.44981858134269714, -0.4632277488708496, 0.12503787875175476, -0.3792552649974823, 0.32485565543174744, 0.5478711724281311, -0.19345588982105255, 0.09492728859186172, 0.23360376060009003, 0.7583435773849487, 0.7726956605911255, 0.3624424338340759, 0.35880571603775024, 0.4774608612060547, -0.7199714183807373, 0.05289703607559204, -0.11102423071861267, 0.1224551871418953, 0.09400183707475662, 0.29499414563179016, 0.7775796055793762, 0.2391735166311264, -0.24257518351078033, 0.23973987996578217, 0.08188416063785553, -0.33976876735687256, -0.017290154471993446, 0.08921535313129425, 0.1255100518465042, 0.5435643792152405, 0.4041791260242462, 0.11543812602758408, 0.29648470878601074, -0.7068015933036804, 0.4730622172355652, 0.15700046718120575, -0.2397519052028656, -0.20431958138942719, 0.4138132631778717, 0.10585334151983261, -0.07918351143598557, 0.5153984427452087, -0.3190421164035797, -0.5999677181243896, 0.8700820207595825, 0.5057346820831299, 0.9468832015991211, -0.22668035328388214, 0.21170657873153687, 0.2576114237308502, 0.20625558495521545, -0.04245034605264664, 0.3217463195323944, -0.33498960733413696, -1.3131791353225708, -0.04420148581266403, -0.9987064003944397, -0.16624726355075836, -0.407610684633255, -0.4703340232372284, 0.0888880267739296, -0.15124744176864624, -0.062023308128118515, 0.2550986111164093, -0.4583825469017029, -0.705899715423584, 0.269203782081604, 0.240901380777359, 1.1592063903808594, -0.8632991313934326, 0.7902438044548035, 0.9659913778305054, -0.25825226306915283, -0.6917965412139893, 0.19475293159484863, -0.06448622047901154, -0.9097653031349182, 0.9488013386726379, -0.05180137977004051, -0.07965866476297379, 0.07280764728784561, -0.5157849788665771, -0.9913315176963806, 1.0164419412612915, -0.3786787986755371, -0.3659104108810425, 0.33302026987075806, 0.019814711064100266, 0.6863253116607666, -0.5188388228416443, -0.044394105672836304, 0.47744473814964294, 0.5802906155586243, 0.3549979031085968, -0.36001133918762207, -0.1847352534532547, -0.20096009969711304, 0.27702268958091736, 0.29720205068588257, -0.4349936246871948, 0.9227924346923828, -0.12773655354976654, -0.24445515871047974, -0.06758389621973038, 0.5317544937133789, 0.022660022601485252, 0.3264683187007904, 0.5720403790473938, 0.7191210389137268, 0.836022675037384, -0.2933683693408966, 0.910597026348114, -0.31987470388412476, 0.4203452467918396, 0.6197633147239685, -0.13675859570503235, 0.636174201965332, 0.647672176361084, -0.17167037725448608, 0.6605583429336548, 0.7270887494087219, 0.0014323737705126405, 0.5938030481338501, 0.5237565636634827, -0.4757331907749176, -0.07377023249864578, 0.08770386874675751, -0.37538841366767883, 0.6121520400047302, 0.6541687250137329, -0.37993884086608887, -0.4223422110080719, 0.20786310732364655, -0.38639122247695923, -0.03771333768963814, -0.4977060556411743, 1.0799024105072021, 0.12030301243066788, -0.34117287397384644, 0.007374161388725042, -0.29490357637405396, 0.3490067422389984, -0.40837767720222473, 0.019967488944530487, -0.032829370349645615, -0.04305783286690712, -0.31797853112220764, -0.875886857509613, 0.4639376699924469, -0.5004316568374634, -0.44676095247268677, -0.27733588218688965, 0.8114219903945923, -0.2841035723686218, -0.42349115014076233, 0.7630267143249512, 0.7036247253417969, 0.07833928614854813, 0.4971347153186798, -0.5260277390480042, -0.012321890331804752, -0.2359401434659958, -0.42432111501693726, 0.2083893120288849, 0.880361795425415, -0.07243146747350693, 0.25635820627212524, 0.5802943110466003, 0.1345086544752121, 0.6011331677436829, 0.12071505188941956, 0.9308247566223145, -0.8358463644981384, -0.5306064486503601, -0.7839414477348328, 0.4974554777145386, -0.29685866832733154, -0.41811954975128174, 0.4137520492076874, 0.13592368364334106, 1.09685480594635, 0.1384209841489792, 0.8082466721534729, -0.19074897468090057, 0.28587430715560913, -0.5631392598152161, 0.4338332414627075, -0.5206857323646545, -0.03626704588532448, -0.230636864900589, -1.0550954341888428, -0.11290082335472107, 0.8179702162742615, -0.2127893567085266, 0.11797832697629929, 0.9686334729194641, 0.32622388005256653, -0.10575778782367706, 0.24321837723255157, 0.3142525851726532, 0.32384228706359863, 0.009414255619049072, 0.22550654411315918, 1.0158931016921997, -0.18365326523780823, 0.18978038430213928, 0.12434358894824982, -0.5353497862815857, -0.045010678470134735, -0.6341241598129272, -0.3008079528808594, -0.9167143106460571, -0.18854132294654846, -0.4600149393081665, -0.08311910927295685, 0.7622355818748474, 0.5816675424575806, -0.48221272230148315, -0.09738411009311676, -0.4560023546218872, 0.36486175656318665, -0.24775762856006622, -0.20258015394210815, 0.024881601333618164, -0.6416553258895874, -0.7134255170822144, 0.3345765769481659, 0.5586608648300171, 0.19356492161750793, -0.08817031234502792, -0.018456285819411278, -0.1453917771577835, 0.2064376175403595, 0.855669379234314, 0.2216111272573471, -0.48832836747169495, -0.6214606165885925, -0.04370269179344177, -0.10191132873296738, 0.0952964499592781, 0.7266539335250854, -0.7936368584632874, 0.6838622093200684, 0.8310320973396301, 0.6869569420814514, 0.3205021023750305, -0.2655371427536011, 0.347290962934494, -0.5279101133346558, 0.3437712788581848, 0.016792278736829758, 0.3481769263744354, -0.03507865220308304, -0.24790316820144653, 0.3199271559715271, 0.6421582698822021, -0.4951935410499573, -0.31041112542152405, 0.6927874088287354, -1.0511940717697144, -0.7245112657546997, 1.1215957403182983, 0.3021635413169861, -0.3975677192211151, -0.3762289881706238, 0.016403475776314735, 0.3345111608505249, -0.06082075461745262, 1.0580261945724487, 0.8596906065940857, -0.3905474543571472, -0.02931002713739872, -0.3790019750595093, 0.4331316351890564, 0.2358882874250412, -0.9534927010536194, -0.2818981111049652, 0.3933780789375305, 0.18916569650173187, 0.511893093585968, 0.12808656692504883, -0.18648776412010193, 0.3293708562850952, 0.1883615404367447, -0.06205481290817261, 0.4719216823577881, -0.2993360757827759, -0.20045728981494904, 0.1542179137468338, -0.0069861095398664474, -0.3913728892803192 ]
http://arxiv.org/abs/2405.00705v1
http://arxiv.org/pdf/2405.00705v1
SHED: Shapley-Based Automated Dataset Refinement for Instruction Fine-Tuning
2024-04-23T04:56:48
2024-04-23T04:56:48
Yexiao He, Ziyao Wang, Zheyu Shen, Guoheng Sun, Yucong Dai, Yongkai Wu, Hongyi Wang, Ang Li
cs.CL
cs.CL, cs.LG
The pre-trained Large Language Models (LLMs) can be adapted for many downstream tasks and tailored to align with human preferences through fine-tuning. Recent studies have discovered that LLMs can achieve desirable performance with only a small amount of high-quality data, suggesting that a large amount of the data in these extensive datasets is redundant or even harmful. Identifying high-quality data from vast datasets to curate small yet effective datasets has emerged as a critical challenge. In this paper, we introduce SHED, an automated dataset refinement framework based on Shapley value for instruction fine-tuning. SHED eliminates the need for human intervention or the use of commercial LLMs. Moreover, the datasets curated through SHED exhibit transferability, indicating they can be reused across different LLMs with consistently high performance. We conduct extensive experiments to evaluate the datasets curated by SHED. The results demonstrate SHED's superiority over state-of-the-art methods across various tasks and LLMs; notably, datasets comprising only 10% of the original data selected by SHED achieve performance comparable to or surpassing that of the full datasets.
[ -0.28505271673202515, -0.7915579080581665, 0.26336750388145447, 0.04636082053184509, -0.07970455288887024, 0.14234820008277893, -0.5229508280754089, -0.20582158863544464, -0.10898052155971527, 0.8066902756690979, -0.5967279672622681, -0.6661931276321411, -0.5300948023796082, -0.1318713277578354, -0.48954975605010986, 0.6596961617469788, -0.18019628524780273, 0.003587944433093071, -0.33663317561149597, -0.01414730865508318, -0.5272490978240967, -0.1521299034357071, -0.35383108258247375, -0.2055509388446808, 0.24305661022663116, 0.9064671993255615, 0.7214701175689697, 1.1498339176177979, 0.36443012952804565, 0.34775879979133606, 0.2971581220626831, 0.6585435271263123, -0.8415718674659729, 0.14650340378284454, -0.24316325783729553, -0.28824201226234436, -0.1420825570821762, -0.11291732639074326, 0.4576946198940277, 0.8905857801437378, -0.2763097584247589, 0.3753952980041504, 0.23498716950416565, 0.9935528039932251, -0.8351651430130005, 0.03491291403770447, -0.6091194152832031, -0.19525383412837982, -0.31753337383270264, -0.13295194506645203, -0.36077365279197693, -0.5769460797309875, -0.26851359009742737, -0.6082663536071777, 0.4179716110229492, 0.10161664336919785, 0.9374617338180542, 0.6359665393829346, -0.06367644667625427, -0.17595911026000977, -0.4296935498714447, 1.0899243354797363, -0.7641053795814514, 0.4917859137058258, 0.6305896639823914, 0.09144983440637589, -0.2593083083629608, -0.5888471007347107, -0.33360451459884644, -0.1492721438407898, -0.11396227031946182, -0.21914923191070557, 0.03368886932730675, 0.021312490105628967, 0.23655816912651062, 0.5022684335708618, -0.3243938386440277, 0.33497360348701477, -0.4834616780281067, -0.17052572965621948, 0.7101016044616699, 0.441364586353302, 0.03970614820718765, -0.07038465887308121, -0.33268168568611145, -0.11028971523046494, -0.6310184597969055, 0.0872250646352768, 0.507474958896637, 0.463245689868927, 0.10076464712619781, 0.28223779797554016, -0.5752342939376831, 0.963424801826477, 0.09551297873258591, 0.030846167355775833, 0.18735656142234802, -0.2439100593328476, -0.22849859297275543, -0.16537442803382874, 0.6869028806686401, 0.42379122972488403, 0.2726784646511078, -0.2993239164352417, -0.3076271116733551, -0.5002334117889404, 0.30679163336753845, -0.9992505311965942, -0.6841491460800171, 0.21170967817306519, -0.3496384024620056, -0.36503201723098755, 0.11939026415348053, -0.4214901328086853, -0.42320987582206726, -0.9123660326004028, 0.26818376779556274, -0.655772864818573, 0.18502628803253174, 0.1342569887638092, -0.02454528585076332, 0.22964437305927277, 0.409076988697052, -0.9967809915542603, 0.28727635741233826, 0.7987106442451477, 0.5602139234542847, -0.31975656747817993, -0.4063049852848053, -0.6131883859634399, 0.28256893157958984, -0.6104644536972046, 0.6976251006126404, -0.6043799519538879, -0.12839506566524506, -0.2057134211063385, 0.08969535678625107, 0.11930420994758606, -0.7428756952285767, 0.3037997782230377, -0.4999755620956421, 0.14495356380939484, -0.4580790400505066, -0.6923240423202515, -0.1783759891986847, 0.1074892058968544, -0.7689577341079712, 1.1248242855072021, 0.5406537652015686, -0.3638139069080353, 0.36497974395751953, -0.4204593002796173, -0.6365444660186768, 0.20616376399993896, -0.054530754685401917, -0.37954020500183105, 0.011586086824536324, 0.18233326077461243, 0.47513848543167114, -0.22135478258132935, 0.3475000858306885, -0.32872316241264343, -0.7945255637168884, -0.06474359333515167, -0.4160924255847931, 0.7165656089782715, 0.1802569478750229, -0.29728084802627563, 0.20157910883426666, -0.8029550313949585, 0.7195149660110474, -0.3123391568660736, -0.29291313886642456, -0.30730003118515015, -0.06138613075017929, -0.07612702250480652, 0.05137931555509567, 0.5247507095336914, -0.4045761525630951, 0.2748057246208191, -0.15886569023132324, 0.32645106315612793, 0.9832061529159546, -0.1990296095609665, 0.33649909496307373, -0.4413928687572479, 0.3390573561191559, -0.14525683224201202, 0.2666774392127991, -0.00711324717849493, 0.21054643392562866, -0.9348874092102051, -0.5020599961280823, 0.45404642820358276, 0.5525197386741638, -0.5749781131744385, 0.7448225021362305, -0.17975012958049774, -0.2596738934516907, -0.7110723853111267, 0.618242621421814, 0.3891887068748474, 0.26350587606430054, 0.3499152958393097, -0.22749251127243042, -0.5850671529769897, -1.0179113149642944, -0.0034486823715269566, 0.5095083117485046, -0.03833991289138794, 0.5044831037521362, 0.164729043841362, -0.21090823411941528, 0.9334190487861633, -0.5594062805175781, -0.23803114891052246, 0.04843651503324509, 0.11238028854131699, 0.17186865210533142, 0.4503574073314667, 0.08194553852081299, -0.5087814331054688, -0.5475621223449707, 0.03000907599925995, -0.5748624205589294, -0.36804264783859253, -0.046023909002542496, -0.4457343518733978, 0.07554750889539719, 0.7481498718261719, -0.08388955146074295, 0.3203347623348236, 0.6212858557701111, -0.11258186399936676, 0.7072334885597229, -0.17848043143749237, 0.27410200238227844, -0.976288378238678, 0.09885586053133011, -0.5050302743911743, -0.3264458477497101, -0.22912317514419556, -0.056611210107803345, 0.1895172894001007, 0.16675633192062378, -0.337588369846344, 0.5756939053535461, -0.3928494155406952, 0.12585224211215973, -0.3758004903793335, -0.05216255784034729, 0.16606411337852478, 0.4214193522930145, -0.366515189409256, 1.019115924835205, 0.41226086020469666, -0.7243458032608032, 0.6822184920310974, 0.5375398397445679, -0.5355492830276489, 0.4872893989086151, -0.4507342576980591, 0.2302825003862381, 0.12322093546390533, 0.04287141561508179, -0.685424268245697, -0.3819402754306793, 0.037854794412851334, 0.15508587658405304, 0.32877376675605774, -0.37303489446640015, -0.4821997880935669, -0.031783461570739746, -0.408480167388916, 0.04340879246592522, 0.3985009789466858, -0.6929031014442444, 0.3601939380168915, 0.03178402781486511, -0.27728503942489624, -0.7170975804328918, -0.3884158432483673, 0.07552000135183334, 0.06650068610906601, -0.5362578630447388, 0.3820478022098541, -0.03006032481789589, -0.2890693247318268, -0.10338424891233444, -0.1564452052116394, -0.22364524006843567, -0.017614588141441345, 0.509579598903656, 0.21425041556358337, -0.021369118243455887, 0.13330291211605072, 0.11043918877840042, -0.040250927209854126, -0.08988551795482635, -0.19565434753894806, 0.5643760561943054, -0.02345036156475544, -0.5136355757713318, -0.4756636321544647, 0.114226333796978, 0.2971493899822235, -0.21391692757606506, 0.5703620910644531, 0.7641162276268005, 0.024634061381220818, -0.8547015190124512, -0.6281190514564514, -0.12520034611225128, -0.6210540533065796, 0.48278605937957764, -0.13193929195404053, -0.5661053657531738, 0.18932217359542847, -0.2513725161552429, 0.16205084323883057, -0.07058770209550858, 0.1817549765110016, -0.50538170337677, 0.6813168525695801, 0.535247266292572, -0.20284974575042725, 0.7927790284156799, -0.6149412393569946, -0.019485509023070335, -0.7632178068161011, -0.18613867461681366, -0.4638477861881256, -0.5759615302085876, -0.35032111406326294, -0.3976786732673645, -0.10346618294715881, 0.3060489892959595, -0.37127065658569336, 0.16732971370220184, -0.49694138765335083, 0.9222376942634583, 0.7928889393806458, 0.36275744438171387, 0.21289470791816711, 0.04185099899768829, 0.35779905319213867, 0.22954291105270386, -0.5907898545265198, -0.6566500067710876, 1.1004014015197754, -0.17779380083084106, 1.0061789751052856, -0.14971904456615448, 0.823688268661499, 0.561701238155365, 0.14821456372737885, -0.6980709433555603, 0.5953836441040039, -0.7637267112731934, -0.11519057303667068, -0.5767554044723511, -0.5900803208351135, -0.9589943289756775, -0.16942240297794342, 0.13946226239204407, -0.3834400177001953, 0.05876520276069641, 0.15288423001766205, -0.31726887822151184, 0.3005622625350952, -0.8199703097343445, 0.7899802327156067, -0.4315750002861023, -0.6627271771430969, -0.33436280488967896, -0.36039096117019653, 0.25734758377075195, -0.068757563829422, 0.05799595266580582, -0.31311607360839844, 0.044056590646505356, 0.8342483043670654, -0.756690502166748, 0.8431077003479004, -0.28711774945259094, -0.01559034176170826, 0.13757053017616272, 0.22355353832244873, 0.5767914652824402, -0.3661426305770874, -0.2602190673351288, 0.0877130851149559, 0.20639315247535706, -0.6987361907958984, -0.570776104927063, 0.9007429480552673, -0.8041613101959229, -0.44333502650260925, 0.18292702734470367, -0.8578295707702637, -0.3956635594367981, 0.35362958908081055, 0.041263140738010406, 0.6311242580413818, -0.18887591361999512, 0.4198612570762634, 0.8308541774749756, -0.04609569162130356, 0.2019430249929428, 0.5367129445075989, 0.05330674350261688, -0.37055301666259766, 1.0977908372879028, -0.009427938610315323, 0.2888481318950653, 0.30618879199028015, 0.13077391684055328, -0.15935921669006348, -0.8448318243026733, -0.48368537425994873, -0.196260005235672, -0.7098944187164307, -0.5238426923751831, -0.10174696147441864, -0.11522740870714188, -0.07701301574707031, -0.4149341285228729, -0.3547075688838959, -0.36861732602119446, -0.280729204416275, 0.044980522245168686, 0.5160639882087708, 0.6892146468162537, 0.13215933740139008, 0.4219478368759155, -0.7909087538719177, 0.3445369601249695, 0.47831907868385315, 0.8688638210296631, -0.18049202859401703, -0.665122926235199, -0.45862939953804016, 0.42410725355148315, -0.22749805450439453, -0.22284534573554993, 0.2410794198513031, 0.31507599353790283, 0.40911805629730225, 0.4313026964664459, 0.13505008816719055, 0.9844396114349365, -0.4068071246147156, 0.5385457277297974, -0.3741638958454132, -0.9200372099876404, 0.3986588716506958, -0.322721391916275, 0.14862503111362457, 1.0468153953552246, 0.14087170362472534, -0.24351689219474792, -0.12819935381412506, -0.5797107815742493, -0.9616796374320984, 0.8797490000724792, -0.2704620659351349, 0.18317662179470062, 0.47076401114463806, 0.33875566720962524, 0.5503775477409363, 0.2630196511745453, 0.09091071039438248, -0.09811573475599289, -0.10686736553907394, -0.5414520502090454, 0.13947027921676636, 0.0585009828209877, -0.23307904601097107, -0.2524280250072479, 0.9766201376914978, -0.14091071486473083, -0.33034393191337585, -0.6011896133422852, -0.31560927629470825, -0.19136694073677063, 0.22332186996936798, 0.1419912576675415, 0.8735462427139282, -0.2802468240261078, -0.017138443887233734, 0.2688617408275604, -0.522772490978241, 0.1029101237654686, 0.13659292459487915, -0.2779139578342438, -0.1483580768108368, 0.45864564180374146, 0.6582752466201782, 0.47181764245033264, -0.8265978097915649, 0.4924631118774414, 0.29678216576576233, -0.1355019360780716, -0.1012752577662468, 0.7254347205162048, -0.15323440730571747, 0.073508620262146, 0.19411113858222961, 0.086014524102211, -0.07532583922147751, -0.20094405114650726, 0.44909539818763733, 0.5032094717025757, -0.0863725021481514, -0.07322259247303009, 0.13303948938846588, 0.36187437176704407, -0.23662826418876648, 1.163280963897705, -0.10590121895074844, -0.1995704025030136, 0.5316563844680786, 0.1519918441772461, 0.5344333648681641, -0.07429460436105728, 0.295503705739975, 0.3077942430973053, 0.021742351353168488, -0.12046881765127182, 0.33916136622428894, -0.14716589450836182, -0.7325308918952942, -0.5430288910865784, -0.7309675812721252, -0.5932413935661316, 0.3868517577648163, -0.8651206493377686, 0.38222506642341614, -0.5966442823410034, 0.2707214951515198, -0.2294054925441742, 0.20895814895629883, -0.7681779861450195, 0.2017187923192978, -0.053580865263938904, 0.9450972080230713, -0.7575703263282776, 0.7319288849830627, 0.3763214349746704, -0.2138214260339737, -0.8809813857078552, -0.1921367347240448, -0.3202163875102997, -1.0778383016586304, 0.47851136326789856, 0.040634073317050934, -0.2072603553533554, 0.11883098632097244, -0.9368532299995422, -0.8751125335693359, 1.1037832498550415, 0.5556898713111877, -0.8057635426521301, 0.015763098374009132, 0.26268839836120605, 0.2981126010417938, 0.08814816176891327, 0.008603822439908981, 0.7860804200172424, 0.6201711893081665, 0.11453384906053543, -0.6190862655639648, -0.08665221184492111, -0.16477100551128387, -0.12739351391792297, 0.2559784948825836, -0.7405871152877808, 0.5381162166595459, -0.23902234435081482, -0.06485645473003387, 0.09690824151039124, 0.43267205357551575, 0.1904473453760147, 0.16503490507602692, 0.38008835911750793, 0.5289117097854614, 0.9773456454277039, -0.21272747218608856, 0.7277422547340393, -0.4695143401622772, 0.10931068658828735, 1.313912034034729, -0.15813881158828735, 0.9298995733261108, 0.28317949175834656, -0.40506112575531006, 0.6460764408111572, 0.38002321124076843, -0.37026867270469666, 0.45526260137557983, 0.2636013627052307, 0.03564099967479706, -0.5429777503013611, -0.02330740913748741, -0.09437531977891922, 0.5721597671508789, 0.20578056573867798, -0.2716941237449646, -0.16771090030670166, -0.16874928772449493, -0.10966961085796356, 0.22581934928894043, -0.3007470369338989, 0.7836083173751831, -0.22745223343372345, -0.3366076648235321, 1.0263973474502563, -0.0720595046877861, 0.6208353638648987, -0.7658982872962952, -0.2474513202905655, -0.3451172709465027, 0.27969202399253845, -0.6080834865570068, -0.7018626928329468, 0.033446550369262695, -0.14590208232402802, -0.3767978549003601, -0.5158402323722839, 0.5132032632827759, -0.6367145776748657, -0.3390749394893646, -0.33884209394454956, 0.33894628286361694, 0.11591415852308273, -0.06495866924524307, -0.49351808428764343, 0.16336755454540253, 0.30062413215637207, -0.07013342529535294, 0.4308169484138489, 0.4592870771884918, -0.0668516606092453, 0.8213750123977661, 0.7704230546951294, 0.23561875522136688, -0.005140549037605524, 0.17622995376586914, 0.8741658926010132, -0.6810798048973083, -0.3039398491382599, -0.528378963470459, 0.3450620770454407, -0.2185460776090622, -0.20825788378715515, 0.7296039462089539, 0.7715431451797485, 0.9918704628944397, -0.06338381767272949, 0.952142059803009, 0.02240978740155697, 0.4532182216644287, -0.6305928826332092, 0.7285864949226379, -0.066315658390522, 0.2821073532104492, 0.12240560352802277, -0.5963935256004333, 0.2723313868045807, 0.5075900554656982, -0.429995059967041, 0.1970393806695938, 0.41985026001930237, 0.9844167828559875, -0.2438284158706665, 0.2337029129266739, 0.20467135310173035, 0.15405575931072235, 0.1727219969034195, 0.3772810399532318, 0.8152782917022705, -0.25556647777557373, 0.4656881093978882, -0.619455873966217, -0.19130448997020721, -0.19477280974388123, -0.8193313479423523, -0.6944819092750549, -0.5439324975013733, -0.2825852632522583, 0.007698587141931057, 0.1865120232105255, 0.82090824842453, 0.9941561818122864, -1.0292013883590698, -0.1601981520652771, -0.04799439013004303, 0.02761124260723591, -0.5200492739677429, -0.27140721678733826, 0.6392494440078735, -0.5618663430213928, -0.6117845177650452, 0.5280944108963013, -0.2118431180715561, -0.2553558349609375, -0.22203843295574188, -0.01903410628437996, 0.20232993364334106, -0.17483428120613098, 0.3856915235519409, 0.08340561389923096, -0.5446263551712036, -0.25345268845558167, -0.2317979633808136, -0.2639497220516205, -0.11722283810377121, 0.7182109951972961, -0.9314664006233215, 0.30835220217704773, 0.31205692887306213, 0.6669642329216003, 0.3694021701812744, 0.3517656624317169, 0.44705238938331604, -1.0942409038543701, -0.08362217247486115, 0.25505974888801575, 0.09974639117717743, 0.5175577402114868, -0.3966042399406433, 0.31400537490844727, -0.2033505141735077, -0.4580640196800232, -0.7701369524002075, -0.00022863969206809998, -0.6977803111076355, -0.3184644877910614, 1.1843805313110352, 0.029836518689990044, -0.10300204157829285, -0.23125651478767395, -0.3972683548927307, 0.03099549002945423, -0.38403820991516113, 1.0807243585586548, 0.645622193813324, -0.13236156105995178, -0.019319329410791397, -0.4321608543395996, 0.5956528186798096, 0.2965039014816284, -1.0269474983215332, 0.8108280897140503, 0.7275264859199524, 0.6010235548019409, -0.294058233499527, 0.09446154534816742, 0.1675795167684555, 0.31323444843292236, -0.10921040922403336, 0.1343582719564438, -1.0150611400604248, -0.17302867770195007, -0.04724384471774101, 0.043051622807979584, -0.000983159989118576, -0.327247679233551 ]
http://arxiv.org/abs/2404.14740v2
http://arxiv.org/pdf/2404.14740v2
Modeling the Sacred: Considerations when Using Religious Texts in Natural Language Processing
2024-04-23T04:47:22
2024-06-25T01:02:16
Ben Hutchinson
cs.CL
cs.CL
This position paper concerns the use of religious texts in Natural Language Processing (NLP), which is of special interest to the Ethics of NLP. Religious texts are expressions of culturally important values, and machine learned models have a propensity to reproduce cultural values encoded in their training data. Furthermore, translations of religious texts are frequently used by NLP researchers when language data is scarce. This repurposes the translations from their original uses and motivations, which often involve attracting new followers. This paper argues that NLP's use of such texts raises considerations that go beyond model biases, including data provenance, cultural contexts, and their use in proselytism. We argue for more consideration of researcher positionality, and of the perspectives of marginalized linguistic and religious communities.
[ -0.040936775505542755, -0.25420138239860535, 0.16942653059959412, 0.1656990647315979, -0.3568877577781677, -0.23618698120117188, -0.4715758264064789, -0.8065170049667358, -0.28740912675857544, 0.7803155183792114, -0.004641294479370117, -0.19920247793197632, -0.7476511001586914, 0.45820143818855286, -0.38147100806236267, 1.1243304014205933, 0.12692731618881226, 0.27060776948928833, 0.021754393354058266, -0.4528188705444336, 0.0457882285118103, -0.9181318879127502, -0.6109978556632996, -0.08858854323625565, 0.2614668607711792, -0.1510290950536728, 1.1567928791046143, 0.8299696445465088, 0.7698527574539185, 0.27039411664009094, -0.3408416211605072, -0.10877839475870132, -0.4443948566913605, 0.4259621500968933, -0.28324154019355774, -0.49548906087875366, -0.11386170983314514, 0.4504701495170593, 0.7884770631790161, 0.8591284155845642, -0.09229589998722076, 0.5226172208786011, 0.010519173927605152, 0.5143550038337708, -0.3302391469478607, 0.08138836175203323, -0.8655467629432678, 0.5618106126785278, -0.25731679797172546, -0.5475803017616272, -0.5864633321762085, -0.8975844979286194, 0.5083158016204834, -0.45134350657463074, 0.516872763633728, 0.138946995139122, 0.6288305521011353, 0.4015860855579376, -0.3523194491863251, -0.4027871787548065, -0.7895586490631104, 1.3768301010131836, -0.696088433265686, 0.3612619936466217, 0.8979250192642212, -0.020269811153411865, -0.04886731505393982, -0.49819275736808777, -0.13614273071289062, -0.07989255338907242, 0.07711324840784073, -0.09477545320987701, -0.08195618540048599, -0.13125625252723694, 0.6468881368637085, 0.5800853371620178, -0.1579502522945404, 0.07587731629610062, -0.5857164263725281, 0.24676761031150818, 0.42049163579940796, -0.0006403430015780032, 0.43698638677597046, -0.2705315947532654, -0.18967580795288086, -0.20671866834163666, -0.7223023176193237, 0.23799943923950195, 0.43770626187324524, 0.314871221780777, 0.21346506476402283, 0.4208585321903229, 0.28697818517684937, 0.8345620036125183, -0.29996415972709656, -0.16753335297107697, 0.07241584360599518, -0.2590402662754059, -0.4338054060935974, 0.15391108393669128, 0.5806482434272766, 0.37668076157569885, 0.5465638637542725, -0.20119820535182953, 0.22486858069896698, 0.019466185942292213, 0.9135029911994934, -0.8470467925071716, -0.1359996199607849, -0.10619767755270004, -0.8845006823539734, -0.39803871512413025, -0.16242645680904388, -0.5520586371421814, -0.20921912789344788, -0.4349510669708252, -0.6215255856513977, -0.33919116854667664, -0.2080240100622177, 0.11513510346412659, -0.2374822497367859, 0.010987807996571064, 0.2672891616821289, -1.3969151973724365, 0.22378027439117432, 0.7817201018333435, 0.428056001663208, 0.11690204590559006, -0.02335156314074993, -0.19866780936717987, 0.3415287435054779, -0.3877645432949066, 0.5173482894897461, -1.0205692052841187, -0.7139590978622437, 0.20635288953781128, -0.04251391813158989, 0.22105728089809418, -0.553438127040863, 1.3207321166992188, -0.6302814483642578, 0.14649352431297302, -0.9170846939086914, -0.6447850465774536, -0.5360962748527527, -0.07309041172266006, -0.7614120244979858, 0.7169964909553528, -0.12023574113845825, -0.7876992225646973, 0.5262966156005859, -0.5236428380012512, -0.27311280369758606, 0.3418305814266205, -0.32884475588798523, -0.33053863048553467, 0.5422128438949585, -0.2541595697402954, 0.2057807296514511, -0.2001505196094513, 0.33925965428352356, -0.4163546562194824, -0.3262123763561249, 0.45015910267829895, -0.7542977333068848, 1.0296645164489746, 0.48584869503974915, -0.06419292837381363, -0.4243486821651459, -0.5128154158592224, 0.2779220938682556, 0.015979694202542305, -0.4916274845600128, -0.9185971617698669, 0.5693718791007996, 0.3022471070289612, -0.01486437488347292, 0.03931082412600517, -0.24954697489738464, 0.2284015715122223, -0.7596889734268188, 0.25904470682144165, 0.7198521494865417, -0.3240574598312378, 0.7524867653846741, -0.07388477772474289, 0.3733898997306824, -0.6742143034934998, 0.3486514389514923, 0.20064285397529602, -0.7426450252532959, -0.14389550685882568, 0.2421410232782364, 0.0027397898957133293, 0.3063107132911682, -0.13549552857875824, 0.19847466051578522, 0.04399968683719635, -0.18197180330753326, -0.6631683111190796, 0.20755329728126526, 0.29697802662849426, 0.391240656375885, 0.35512739419937134, 0.03261213377118111, -0.6079198122024536, -1.0983045101165771, -0.8707649111747742, -0.3081492781639099, -0.05460664629936218, 0.07386308908462524, 0.21592094004154205, 0.32254064083099365, 0.6950874328613281, -0.33497267961502075, -0.2030872404575348, 0.19224338233470917, 0.4387582838535309, 0.10432499647140503, 0.49792999029159546, 0.7887264490127563, -1.433456301689148, -0.4580022394657135, 0.07930776476860046, -1.181950330734253, -0.12043552100658417, -0.036847300827503204, -0.08517646044492722, 0.026950743049383163, -0.1404591202735901, -0.2592396140098572, 0.4969048798084259, 0.5628853440284729, -0.4353002905845642, 0.21877917647361755, 0.05889791250228882, 0.5348232984542847, -1.1051766872406006, 0.025949466973543167, -0.03170496225357056, -0.09320659935474396, -0.7549224495887756, 0.2882261872291565, -0.11729637533426285, 0.18014873564243317, -0.40443047881126404, 0.15024834871292114, -0.32874375581741333, 0.0901954174041748, -0.6912710666656494, -0.6481698751449585, -0.0076071955263614655, -0.11315975338220596, 0.48660773038864136, 0.8206658363342285, 0.28806087374687195, -0.41199010610580444, -0.09243682026863098, 0.6593537330627441, -0.07658425718545914, 0.5006260871887207, -0.2694516181945801, 0.040582817047834396, 0.08055374771356583, 0.07229402661323547, -0.09767255187034607, -0.027309808880090714, 0.3049868941307068, -0.3558715283870697, 0.19708731770515442, -0.5488187670707703, -0.7338030338287354, -0.18026477098464966, -0.06043185293674469, 0.7560683488845825, 0.7731162905693054, -0.19538427889347076, 0.27873286604881287, 0.7487009167671204, -0.19826669991016388, -0.7216615080833435, -0.7568808197975159, 0.26110753417015076, -0.46339139342308044, -0.5077301859855652, 0.16307874023914337, 0.13192017376422882, -0.4845268130302429, 0.11275947093963623, -0.045857205986976624, -0.2463928759098053, 0.33591026067733765, 0.4013615846633911, 0.16084659099578857, -0.14205212891101837, 0.1479739099740982, -0.0025807919446378946, -0.06726033985614777, 0.3902568519115448, -0.342451810836792, 0.2222731113433838, -0.49660369753837585, -0.18138280510902405, -0.37474870681762695, 0.9289891719818115, 0.11312603205442429, -0.1487116664648056, 1.0030194520950317, 0.39867985248565674, -0.6040173768997192, 0.1520993709564209, -0.5572708249092102, -0.030488748103380203, -0.4735889136791229, 0.027403196319937706, 0.16821378469467163, -0.8655959367752075, 0.3312838673591614, 0.15122470259666443, 0.3914974629878998, 0.4223927855491638, 0.6156287789344788, -0.44256389141082764, 0.7474702596664429, 0.7011125683784485, 0.18464380502700806, 0.3823518753051758, -0.09726216644048691, 0.2365638017654419, -0.6714221835136414, 0.0242958664894104, -1.0332279205322266, -0.07564553618431091, -0.8592166900634766, -0.49468231201171875, 0.2593751549720764, -0.00016097228217404336, 0.15152741968631744, 0.18167538940906525, -0.7480255365371704, 0.6474496126174927, 0.42115989327430725, -0.4546590745449066, 0.5743974447250366, 0.4173825979232788, 0.30272459983825684, -0.6850831508636475, -0.4133394956588745, -1.2259204387664795, 0.9698523283004761, 0.29740679264068604, 0.5466200113296509, -0.0692228302359581, 0.4302840828895569, 0.1692916601896286, 0.4851510524749756, -0.4667333960533142, 0.3033776879310608, -0.579774022102356, -0.9451451897621155, -0.04980844259262085, -0.3610765337944031, -0.8326413631439209, 0.3304937779903412, 0.014183475635945797, -0.7448413968086243, 0.08021500706672668, 0.03752639889717102, -0.3274313509464264, 0.6605350375175476, -0.5324918627738953, 0.4950049817562103, -0.018420569598674774, -0.17729707062244415, -0.22424837946891785, -0.5411936640739441, 0.12252635508775711, 0.02339012362062931, 0.07319483906030655, -0.049824122339487076, 0.1719559133052826, 0.9698472023010254, 0.04967514052987099, 0.9785106182098389, 0.18160079419612885, -0.33419325947761536, 0.31487417221069336, 0.19818176329135895, 0.19664426147937775, 0.0807555615901947, -0.46735474467277527, 0.45822060108184814, 0.2970520853996277, -0.17324785888195038, -0.32890284061431885, 0.6774784326553345, -0.6574410200119019, -0.8342073559761047, -0.7882833480834961, -0.6296898126602173, -0.11019010841846466, 0.06439319998025894, 0.13430236279964447, 0.1790728121995926, -0.06949234753847122, 0.5255298614501953, 0.7515707015991211, -0.28792351484298706, 0.2222181260585785, 0.4372503459453583, -0.06734069436788559, -0.2640582025051117, 0.6092517971992493, 0.23246002197265625, 0.31331855058670044, 0.13170596957206726, 0.3068174719810486, -0.32098111510276794, -0.5781143307685852, -0.4051341712474823, 0.06249856948852539, -0.7814934253692627, 0.18279966711997986, -0.7316144108772278, -0.24835431575775146, -0.2296408712863922, -0.44780635833740234, -0.5291823744773865, -0.25885534286499023, -0.6942766308784485, -0.1655377298593521, 0.3665519952774048, 0.3448523283004761, 0.1640414297580719, -0.017347276210784912, -1.0691593885421753, 0.4055591821670532, -0.16982993483543396, 0.2038636952638626, -0.2037569284439087, -0.34710654616355896, -0.09307612478733063, 0.23257404565811157, -0.2976452708244324, -0.7550365328788757, 0.3088636100292206, -0.1619393527507782, 0.6073605418205261, 0.2931128144264221, 0.11118169873952866, 0.605558454990387, -0.6237340569496155, 0.6355639696121216, 0.07486720383167267, -0.6033920645713806, 0.6101763248443604, -0.518523633480072, 0.22432179749011993, 0.7578648328781128, 0.783215343952179, -0.714106023311615, -0.9568485021591187, -0.8043112754821777, -0.44832780957221985, 0.5293086767196655, 0.5947044491767883, 0.5033801198005676, -0.19302386045455933, 0.43313339352607727, 0.49384939670562744, 0.4193100333213806, -0.9783297181129456, -0.09289193153381348, -0.11442166566848755, 0.034403588622808456, 0.47939130663871765, -0.3406539857387543, -0.3953109383583069, -0.4027737081050873, 0.2664114236831665, -0.03713895380496979, 0.04487589746713638, 0.13812680542469025, 0.12002375721931458, -0.4713781177997589, 0.2912634611129761, 0.12342480570077896, 0.8699918985366821, -0.18132294714450836, 0.07949021458625793, -0.012316878885030746, -0.5807139873504639, -0.08473707735538483, -0.16599887609481812, -0.7014696598052979, -0.06073920056223869, 0.1533624529838562, 0.39028400182724, 0.18959537148475647, -0.12958888709545135, 0.09104728698730469, -0.08995305746793747, 0.1340315192937851, -0.6082583665847778, -0.06317145377397537, -0.03730310872197151, 0.16949757933616638, 0.293740838766098, 0.6062328219413757, 0.492139607667923, -0.7011816501617432, -0.03623327612876892, 0.5155574083328247, -0.22426506876945496, -0.5420746207237244, 0.8339530825614929, -0.04169764369726181, -0.30081096291542053, 0.6134543418884277, 0.0454883836209774, -0.5818634629249573, 0.39815160632133484, 0.6197805404663086, 0.8797903060913086, -0.30584001541137695, 0.2740940451622009, 0.2762240171432495, 0.22489723563194275, -0.19450724124908447, 0.30939197540283203, -0.22933174669742584, -0.5268009305000305, -0.6856529712677002, -0.9879733324050903, -0.3662581741809845, -0.19013459980487823, -0.8553154468536377, -0.07371243089437485, -0.2148701250553131, -0.5784677863121033, -0.040412917733192444, -0.2708131968975067, -0.5146335959434509, -0.061852335929870605, 0.5533570051193237, 0.5811863541603088, -0.7426607012748718, 0.7557249665260315, 0.4106752574443817, -0.3962863087654114, -0.4102207124233246, -0.11233209073543549, -0.16723445057868958, -0.4445238709449768, 0.8023791909217834, -0.015423317439854145, -0.1882733553647995, -0.32077986001968384, -0.5715103149414062, -0.5707215070724487, 0.4744094908237457, 0.4387480318546295, -0.11606913805007935, -0.20949336886405945, 0.33647167682647705, 0.8596200346946716, 0.1144523173570633, -0.11883056163787842, 0.20722101628780365, 0.4605341851711273, 0.04362628608942032, -0.8056007623672485, -0.03790224343538284, -0.2299100011587143, 0.04627532139420509, 0.289997935295105, -0.5272205471992493, 0.5703040957450867, 0.12920933961868286, -0.3135744631290436, -0.023482387885451317, 0.6037201881408691, 0.27792829275131226, 0.16455113887786865, 0.11053327471017838, 0.3711403012275696, 0.7940216660499573, 0.09571963548660278, 1.2913258075714111, 0.002008793642744422, 0.24149742722511292, 0.8884949088096619, -0.1339292675256729, 0.7002154588699341, 0.7505617737770081, -0.3861483037471771, 0.041387636214494705, 0.49544796347618103, -0.3693869113922119, 0.4149959087371826, -0.002573805395513773, -0.2909281253814697, -0.32040342688560486, -0.5306824445724487, -0.7436547875404358, 0.44819802045822144, 0.3157871961593628, -0.880440354347229, -0.22807711362838745, -0.2562370002269745, 0.07863074541091919, 0.37545841932296753, -0.026266492903232574, 0.5484084486961365, 0.5533872842788696, -0.619645893573761, 0.39631587266921997, 0.10209771990776062, 0.26959115266799927, -0.5086687803268433, -0.1394408792257309, 0.40365636348724365, -0.15941494703292847, -0.28132736682891846, -0.7773246169090271, 0.9416773915290833, 0.4267275929450989, -0.4261569380760193, -1.084396243095398, 0.8327452540397644, 0.09270456433296204, -0.8214647769927979, 0.14349789917469025, 0.23970258235931396, 0.08965930342674255, 0.010928804986178875, -0.6039178967475891, -0.08900309354066849, 0.10724717378616333, -0.20549128949642181, 0.42412447929382324, 0.36893945932388306, -0.09659173339605331, 0.5420404076576233, 1.0678644180297852, 0.28687721490859985, 0.09178793430328369, 0.332489013671875, 0.6203961372375488, -0.9014061093330383, -0.4594913721084595, -1.1955535411834717, 0.09588518738746643, -0.0980011597275734, -0.4127122163772583, 0.9269658327102661, 0.5964452624320984, 0.6898326277732849, 0.06185486540198326, 0.6793689131736755, 0.16358856856822968, 0.2114892452955246, -0.6628829836845398, 0.968824028968811, -0.2917366027832031, 0.14161059260368347, -0.2864179015159607, -0.786114513874054, -0.31545886397361755, 0.9845442771911621, -0.41295793652534485, -0.15416866540908813, 0.5270066857337952, 0.09232569485902786, 0.005973744206130505, 1.0454182624816895, 0.15505389869213104, 0.0661713108420372, 0.3678479790687561, 0.2481762021780014, 1.0749777555465698, -0.44243016839027405, 0.28072378039360046, -0.2875301241874695, 0.05097779631614685, 0.038989778608083725, -0.9933103322982788, -0.727009654045105, -0.5831693410873413, -0.23858581483364105, -0.08781465142965317, -0.4304337203502655, 1.0754735469818115, 0.44940921664237976, -0.7290653586387634, -0.27897363901138306, 0.27851244807243347, 0.06267903000116348, -0.24408188462257385, -0.16138453781604767, 0.08159204572439194, -0.28110358119010925, -0.9095961451530457, 0.4119552671909332, 0.5163052082061768, 0.12356151640415192, -0.26798325777053833, 0.2634400725364685, -0.16831882297992706, -0.24407367408275604, 0.5502183437347412, 0.32679373025894165, -0.8932549357414246, -0.3097929358482361, 0.04213002324104309, -0.04964199662208557, 0.22525253891944885, 0.787050724029541, -0.4132617712020874, 0.3699823021888733, 0.410790354013443, 0.6838319897651672, 0.06245550513267517, 0.09095848351716995, 0.8088021278381348, -0.18322980403900146, 0.051241349428892136, 0.737129807472229, 0.4093271791934967, 0.27576780319213867, -0.37030696868896484, 0.5312179327011108, 0.24300511181354523, -0.688118577003479, -1.0508081912994385, 0.2629590332508087, -0.8782263398170471, -0.01291526760905981, 1.2516069412231445, -0.04562785476446152, -0.2934325337409973, -0.3290878236293793, -0.10622745752334595, 0.2521565854549408, -0.241672083735466, 0.954110324382782, 0.8744640350341797, 0.19776013493537903, 0.3318111300468445, -1.0779367685317993, 0.7234820127487183, 0.4209139943122864, -0.4146506190299988, 0.17014260590076447, 0.3113105297088623, 0.2710067927837372, 0.21586847305297852, 0.5428810715675354, -0.41272735595703125, 0.0725858062505722, -0.11993550509214401, -0.11899741739034653, 0.2701813578605652, -0.10813573002815247, -0.029406536370515823, 0.3987666666507721, 0.01581120304763317, 0.20329898595809937 ]
http://arxiv.org/abs/2404.14741v1
http://arxiv.org/pdf/2404.14741v1
Generate-on-Graph: Treat LLM as both Agent and KG in Incomplete Knowledge Graph Question Answering
2024-04-23T04:47:22
2024-04-23T04:47:22
Yao Xu, Shizhu He, Jiabei Chen, Zihao Wang, Yangqiu Song, Hanghang Tong, Kang Liu, Jun Zhao
cs.CL
cs.CL, cs.AI
To address the issue of insufficient knowledge and the tendency to generate hallucination in Large Language Models (LLMs), numerous studies have endeavored to integrate LLMs with Knowledge Graphs (KGs). However, all these methods are evaluated on conventional Knowledge Graph Question Answering (KGQA) with complete KGs, where the factual triples involved in each question are entirely covered by the given KG. In this situation, LLM mainly acts as an agent to find answer entities by exploring the KG, rather than effectively integrating internal and external knowledge sources. However, in real-world scenarios, KGs are often incomplete to cover all the knowledge required to answer questions. To simulate real-world scenarios and evaluate the ability of LLMs to integrate internal and external knowledge, in this paper, we propose leveraging LLMs for QA under Incomplete Knowledge Graph (IKGQA), where the given KG doesn't include all the factual triples involved in each question. To handle IKGQA, we propose a training-free method called Generate-on-Graph (GoG) that can generate new factual triples while exploring on KGs. Specifically, we propose a selecting-generating-answering framework, which not only treat the LLM as an agent to explore on KGs, but also treat it as a KG to generate new facts based on the explored subgraph and its inherent knowledge. Experimental results on two datasets demonstrate that our GoG can solve IKGQA to a certain extent, while almost all previous methods cannot perform well on IKGQA.
[ -0.47725221514701843, -1.0419480800628662, 1.0422918796539307, -0.09301677346229553, -0.16648806631565094, 0.3635447025299072, 0.10521450638771057, -0.4780438542366028, 0.49596959352493286, 0.5380567908287048, -0.6668500900268555, -0.39563384652137756, -0.34469905495643616, 0.18955451250076294, 0.030420852825045586, 0.673945426940918, -0.30201980471611023, -0.10423388332128525, -0.5785229206085205, -0.10938644409179688, -0.3524627387523651, -0.3851543962955475, -0.9101483821868896, -0.4862886667251587, 0.5130535960197449, 0.3833099603652954, 0.6308308243751526, 0.3387604057788849, 0.02265709452331066, 0.27205830812454224, -0.04975087568163872, 0.8009829521179199, -0.7058379650115967, 0.2752715051174164, 0.06390973925590515, -0.30977317690849304, -0.5057117342948914, 0.03132859617471695, 0.5649899840354919, 0.7366337180137634, 0.1904068887233734, 0.18426847457885742, -0.030139051377773285, 0.40563297271728516, -0.34798678755760193, 0.5084806680679321, -0.7811382412910461, 0.1319093406200409, 0.3226182460784912, -0.2119770348072052, -0.2690403163433075, -0.6959682106971741, 0.04156312346458435, -0.6548537015914917, -0.08086103200912476, 0.07279578596353531, 0.8207789063453674, 0.17621400952339172, -0.6209017634391785, -0.31016239523887634, -0.5196133852005005, 0.20571847259998322, -0.4522261619567871, 0.29272446036338806, 0.33335253596305847, 0.5213372707366943, -0.387556254863739, -0.8438753485679626, -0.7508436441421509, -0.22015805542469025, -0.046962302178144455, 0.2733181416988373, -0.11404002457857132, 0.03519101068377495, 0.17984095215797424, 0.03554002195596695, -0.34198272228240967, -0.11400343477725983, -0.1739356368780136, -0.3413381576538086, 0.5594525933265686, 0.2093740552663803, 0.47959592938423157, -0.2638217508792877, -0.18475641310214996, -0.0699215978384018, -0.9368481040000916, 0.05851113423705101, 0.43612247705459595, 0.43625590205192566, 0.2326243668794632, 0.8679315447807312, -0.40023496747016907, 0.6404774188995361, -0.044111840426921844, -0.0985402762889862, 0.3459787964820862, -0.38392919301986694, -0.09372537583112717, 0.03689508140087128, 0.7812647223472595, 0.10570646077394485, 0.3281765282154083, -0.5516972541809082, -0.08368764072656631, -0.3550258278846741, 0.12425731867551804, -0.7671319842338562, -0.12474410980939865, 0.39746609330177307, 0.0241711288690567, -0.2741805613040924, -0.2841426134109497, -0.5623914003372192, -0.38405871391296387, -0.01178195234388113, 0.568935215473175, -0.37266871333122253, -0.401267409324646, -0.2868848443031311, -0.3065173327922821, 0.275547057390213, 0.20415633916854858, -0.30976489186286926, -0.05333280935883522, 0.15245695412158966, 0.6303417086601257, 0.22790886461734772, -0.3328525722026825, -0.8069298267364502, 0.4049546420574188, -0.48942145705223083, 0.7617335319519043, -0.32437828183174133, -0.243770033121109, 0.10379549860954285, -0.11110285669565201, -0.11557690799236298, -0.4573047459125519, 0.03420080989599228, -0.9540482759475708, 0.23281747102737427, -0.587813138961792, -0.6059238910675049, -0.29635384678840637, 0.6381134390830994, -0.6506314277648926, 1.0433887243270874, 0.4349198639392853, -0.8614587783813477, 0.2991158366203308, -0.595464825630188, -0.14392247796058655, 0.20663557946681976, -0.31031909584999084, -0.26158952713012695, -0.40461021661758423, 0.4668029546737671, 0.3982781767845154, -0.20802439749240875, 0.14061227440834045, -0.42105942964553833, -0.19341234862804413, 0.400170236825943, 0.013672958128154278, 0.5660742521286011, -0.017458004876971245, -0.19978679716587067, 0.14043189585208893, -0.6729635000228882, 0.6042736172676086, 0.4046332538127899, -0.38362908363342285, -0.025136996060609818, 0.07131136953830719, -0.6586183905601501, 0.3186931312084198, 0.2788459360599518, -0.6351457238197327, 0.1457533985376358, -0.5108318328857422, 0.17514273524284363, 0.6045295596122742, 0.5730745196342468, 0.24790994822978973, -0.4161115884780884, 0.7869744896888733, -0.09402097016572952, -0.16430522501468658, 0.36943361163139343, -0.6580003499984741, -0.8382990956306458, -0.21358726918697357, 0.2153114229440689, 0.48394834995269775, -1.5423506498336792, 0.10726319253444672, -0.46329009532928467, -0.461683452129364, -0.5681957006454468, 0.14458802342414856, 0.40104612708091736, 0.48300817608833313, 0.29482120275497437, 0.10068277269601822, -0.43115392327308655, -0.5632931590080261, -0.0349656380712986, -0.31911930441856384, -0.12981367111206055, 0.6127914190292358, 0.3163127899169922, -0.050948724150657654, 1.1475770473480225, -0.7356771230697632, -0.17881521582603455, -0.6146953105926514, -0.21473878622055054, -0.04971984401345253, -0.18855838477611542, 0.3798282742500305, -0.5494245886802673, -0.5104525089263916, 0.04838256165385246, -1.1310981512069702, -0.03300565481185913, 0.1973794549703598, -0.2992355525493622, 0.17101411521434784, 0.38240692019462585, -0.8159958124160767, 0.2211001068353653, 0.3197830617427826, -0.23109221458435059, 0.3456785976886749, -0.11990422755479813, 0.04561631381511688, -1.092700719833374, -0.02843540720641613, -0.3930664658546448, -0.40054067969322205, -0.5703473687171936, 0.1995939463376999, -0.2200687974691391, -0.2850845754146576, -0.5274390578269958, 0.8385326862335205, -0.5007873177528381, -0.15648247301578522, -0.16591565310955048, 0.6567522287368774, -0.02820614166557789, 0.7679672837257385, -0.11515374481678009, 0.6167030334472656, 0.39295145869255066, -0.6405479311943054, 0.5165499448776245, 0.36318469047546387, -0.18516355752944946, 0.08519817888736725, -0.3751525282859802, 0.5135807991027832, -0.34208792448043823, 0.24037893116474152, -0.9507269263267517, -0.42057064175605774, 0.7452688217163086, -0.5233402848243713, 0.13809067010879517, -0.29121148586273193, -0.6850449442863464, -0.5855723023414612, -0.2219567447900772, 0.31636878848075867, 0.6081979274749756, -0.5301973223686218, 0.7546045184135437, 0.46959438920021057, -0.16022711992263794, -0.45277494192123413, -0.3814682960510254, -0.13226370513439178, -0.022778550162911415, -0.8907553553581238, 0.010603498667478561, 0.04816735163331032, -0.07687032222747803, 0.3621453642845154, -0.039184439927339554, -0.006703650578856468, -0.028322862461209297, 0.09750344604253769, 0.13525132834911346, -0.1711587756872177, 0.054523952305316925, 0.1888909935951233, -0.045320555567741394, 0.13497394323349, -0.4045344293117523, 0.607292115688324, 0.08352217823266983, -0.44169938564300537, -0.06811046600341797, 0.13964088261127472, 0.4454471170902252, -0.14390867948532104, 0.7209374904632568, 0.34024330973625183, -0.3048122525215149, -0.3960287868976593, -0.3648720979690552, -0.024400964379310608, -0.45845454931259155, 0.462338924407959, -0.3974435031414032, -0.8903384208679199, 0.6663870215415955, -0.01932361163198948, -0.10267768055200577, 0.29078352451324463, 0.6285654902458191, 0.07976102828979492, 1.0523817539215088, 0.31218719482421875, 0.24722158908843994, 0.1115356907248497, -0.3718283772468567, 0.37416744232177734, -0.7660704851150513, -0.5169979929924011, -0.2165304273366928, -0.049225009977817535, -0.4851909875869751, -0.4530720114707947, 0.7684217691421509, 0.17114336788654327, -0.2757675051689148, 0.04700927063822746, -0.4103216230869293, 0.5212385654449463, 0.4887924790382385, 0.21418946981430054, 0.22109414637088776, 0.07971358299255371, -0.3944545090198517, 0.5022349953651428, -1.1058458089828491, -0.3923397660255432, 1.2833949327468872, 0.01410025916993618, 0.35621345043182373, 0.10984499752521515, 0.711908221244812, 0.008574728854000568, 0.5489882230758667, -0.6336864233016968, 0.8365368247032166, 0.49473416805267334, -0.37083137035369873, -0.5884649753570557, -0.8665574789047241, -0.9769420623779297, 0.4791904389858246, -0.10347625613212585, -0.7537161111831665, -0.21355083584785461, 0.19660502672195435, -0.23360957205295563, 0.4710533916950226, -0.5629550814628601, 0.694443941116333, -0.06764359772205353, -0.003262014826759696, 0.24143674969673157, -0.40750330686569214, 0.44509175419807434, -0.10908126831054688, 0.1681656688451767, -0.12275643646717072, 0.2513582110404968, 0.6332538723945618, -0.4644574522972107, 0.7557557225227356, -0.4414583444595337, -0.14054997265338898, 0.9319133162498474, 0.14877763390541077, 0.9325226545333862, -0.010097075253725052, -0.018940987065434456, -0.14147737622261047, -0.16728155314922333, -0.3093833029270172, -0.6882185935974121, 0.5760322213172913, -1.0105016231536865, -0.5975841879844666, -0.2150484323501587, -0.6048620939254761, -0.6252322793006897, 0.16333191096782684, 0.21919390559196472, 0.31258249282836914, -0.06980516016483307, -0.3732784688472748, 0.4473864734172821, -0.2538071572780609, 0.09997687488794327, 0.36132580041885376, -0.5326456427574158, -0.6885244250297546, 1.1145904064178467, 0.34815844893455505, 0.46343696117401123, 0.0826897919178009, 0.04605179280042648, -0.5798236131668091, -0.4622344374656677, -0.7023698091506958, 0.3803936541080475, -1.001617193222046, -0.35419175028800964, -0.8760099411010742, -0.6615003347396851, -0.4304973781108856, 0.05241197720170021, 0.07460824400186539, -0.3321654498577118, -0.1601451337337494, -0.33870798349380493, 0.3576611876487732, 0.6740790605545044, 0.03332841396331787, 0.07966078817844391, -0.7897279262542725, 0.4422338008880615, 0.6171079277992249, 0.1658204346895218, 0.2954651713371277, -0.1849861890077591, -0.10153498500585556, 0.4257727265357971, -0.4010249078273773, -1.0411087274551392, 0.2021678239107132, -0.10026486963033676, 0.7508190870285034, 0.1433815360069275, 0.11755269765853882, 0.5213268399238586, -0.43768110871315, 0.6472653746604919, 0.0024656825698912144, -0.5948489308357239, 0.22969397902488708, -0.4038529694080353, 0.06275082379579544, 0.41283029317855835, 0.4708685278892517, -0.4360620975494385, -0.8422513604164124, -0.6604375243186951, -0.9979622960090637, 0.8366725444793701, 0.4116419553756714, 0.05883355811238289, -0.2854856550693512, 0.3984138071537018, -0.17460809648036957, 0.3159373700618744, -0.9356584548950195, -0.2795288562774658, -0.24828679859638214, -0.0946771502494812, 0.2694774270057678, -0.2660575807094574, -0.32820460200309753, -0.0666837990283966, 0.9064525961875916, -0.332896888256073, 0.41195496916770935, 0.2286287099123001, -0.04785078763961792, -0.23840975761413574, 0.09469128400087357, -0.027942663058638573, 0.7245662808418274, -0.265128493309021, 0.08441388607025146, 0.29667407274246216, -0.0016341886948794127, 0.2438911646604538, 0.06421999633312225, -0.3904142677783966, -0.27716273069381714, 0.3245674967765808, 0.7249228954315186, -0.17179663479328156, -0.7612248659133911, 0.4600986838340759, 0.20000804960727692, -0.46444371342658997, -0.32278457283973694, 0.2059217393398285, 0.404904842376709, 0.2976333498954773, 0.2684781849384308, -0.4500857889652252, -0.36648571491241455, -0.5454941391944885, 0.04951326921582222, 0.5676214694976807, -0.42689618468284607, -0.04502595588564873, 0.5940349102020264, 0.20246176421642303, -0.18704700469970703, 0.9950962662696838, -0.8106653094291687, -0.6999193429946899, 0.8632673621177673, 0.6594746708869934, 0.7477899193763733, 0.3193499743938446, 0.5540168285369873, 0.14550058543682098, 0.27842721343040466, 0.2732030153274536, 0.5978219509124756, 0.19987931847572327, -1.0068570375442505, -0.5540444850921631, -0.5384994745254517, -0.4529191553592682, 0.2844255268573761, -0.22781169414520264, -0.02020810730755329, -0.2344149351119995, 0.026307757943868637, -0.29141443967819214, 0.05070938542485237, -0.6898807287216187, 0.06710390746593475, 0.09115426987409592, 0.6271401047706604, -0.5942694544792175, 0.5643159747123718, 0.7878919839859009, -0.6689615249633789, -1.132607102394104, 0.09271989017724991, -0.3137916624546051, -1.0142056941986084, 0.6059035062789917, 0.057715073227882385, -0.1412035971879959, 0.27435562014579773, -0.47747915983200073, -1.027289628982544, 1.441391110420227, 0.44269490242004395, 0.12483707070350647, 0.00785487238317728, 0.4176819920539856, 0.4944837689399719, -0.3994544744491577, 0.15999510884284973, 0.15055763721466064, 0.5218278765678406, 0.607314944267273, -0.5529560446739197, 0.3793148994445801, -0.02455875091254711, -0.303945392370224, 0.35140377283096313, -0.6964302062988281, 0.6549079418182373, -0.3527640104293823, -0.4442143142223358, -0.04277130588889122, 0.587824821472168, 0.479062020778656, 0.3238834738731384, 0.4718128740787506, 0.5060513019561768, 0.938292384147644, 0.05476587638258934, 1.1281183958053589, -0.2994953393936157, 0.2760806679725647, 0.9847686290740967, -0.4955478608608246, 0.447128027677536, 0.1621411293745041, -0.14523863792419434, 0.3331325948238373, 0.6836874485015869, 0.19435828924179077, 0.41062048077583313, 0.3703204393386841, -0.3061186671257019, -0.5818294286727905, -0.05529726296663284, -0.40392595529556274, 0.2803436517715454, -0.016575012356042862, 0.03222426399588585, -0.5191604495048523, -0.18906649947166443, 0.1408555805683136, -0.2826237082481384, -0.32122257351875305, 0.8333608508110046, 0.027726974338293076, -0.8075903058052063, 0.5067328214645386, 0.028724325820803642, -0.11181469261646271, -0.8692671060562134, -0.1577148139476776, -0.4221220314502716, -0.31450992822647095, 0.010982220061123371, -0.6988527178764343, 0.12670882046222687, -0.06336367875337601, 0.04318615421652794, -0.03754255920648575, 0.8026341795921326, -0.47678351402282715, -0.5555986762046814, 0.33415210247039795, 1.074194312095642, 0.17852294445037842, -0.103732168674469, -0.22239944338798523, -0.51113361120224, 0.158387690782547, -0.3071666359901428, 0.44065675139427185, 0.7433682680130005, -0.04861270636320114, 0.9191873669624329, 0.6925414800643921, 0.03567150607705116, 0.09277525544166565, -0.11934201419353485, 1.1563670635223389, -0.4485281705856323, -0.44913992285728455, -0.5539093017578125, 0.30298861861228943, -0.18226087093353271, 0.04720219597220421, 0.7448342442512512, 0.4962342083454132, 0.7191792130470276, 0.1653306633234024, 1.0332040786743164, -0.21931076049804688, 0.3512839078903198, -0.7320559024810791, 0.8877586126327515, -0.6050644516944885, 0.08134549111127853, -0.11356375366449356, -0.9790014624595642, -0.06252250075340271, 0.18618562817573547, -0.2029731124639511, -0.004234423395246267, 0.7650567889213562, 0.7140682339668274, 0.06243552640080452, -0.19362270832061768, 0.3154548406600952, 0.3107648193836212, 0.33868253231048584, 0.5991671085357666, 1.0483485460281372, -0.05959828943014145, 0.9904296398162842, 0.0647563636302948, -0.025030354037880898, 0.16573624312877655, -0.6757705211639404, -0.9831430315971375, -0.42266136407852173, -0.1852331906557083, -0.7123092412948608, -0.09370104968547821, 0.7950646877288818, 0.25471919775009155, -0.3548027276992798, 0.1446497142314911, 0.09327763319015503, 0.6297712326049805, -0.10780870914459229, -0.2323654741048813, 0.6690121293067932, -0.505744457244873, -0.43612268567085266, 0.5243916511535645, -0.011071134358644485, 0.1503368467092514, -0.25696614384651184, -0.08020471781492233, -0.05101567506790161, 0.2574697732925415, 0.5159345865249634, 0.2721237242221832, -0.3926733434200287, -0.7051127552986145, -0.03659975156188011, 0.12289702147245407, 0.08724281191825867, 0.6947306990623474, -1.074668526649475, 0.4074685275554657, 0.5155755281448364, 0.7803782820701599, 0.5814782381057739, -0.12972670793533325, 0.4492846131324768, -0.9277403354644775, -0.24983946979045868, 0.2209448516368866, 0.2612880766391754, 0.20628027617931366, -0.3437054455280304, 0.5628649592399597, 0.29983803629875183, -0.37033554911613464, -0.7710755467414856, 0.5100605487823486, -0.791204571723938, -0.30510684847831726, 1.4459036588668823, -0.18094231188297272, -0.15573807060718536, -0.251756876707077, -0.09580748528242111, 0.4494358003139496, -0.1441185176372528, 0.7077487707138062, 0.725643515586853, -0.32312676310539246, 0.19614633917808533, -0.41758105158805847, 0.4276125431060791, -0.05169106274843216, -1.0125232934951782, -0.05238892883062363, 0.6000838279724121, 0.4423636198043823, 0.05089076608419418, 1.1404435634613037, 0.054962024092674255, 0.037084516137838364, 0.1514378935098648, 0.13096438348293304, -0.5357500910758972, -0.276431679725647, 0.3803355097770691, 0.5669247508049011, 0.20804058015346527, -0.1636030375957489 ]
http://arxiv.org/abs/2404.14736v1
http://arxiv.org/pdf/2404.14736v1
Qualitative Approaches to Voice UX
2024-04-23T04:33:49
2024-04-23T04:33:49
Katie Seaborn, Jacqueline Urakami, Peter Pennefather, Norihisa P. Miyake
cs.HC
cs.HC, cs.AI, cs.CL, cs.CY, cs.SD, eess.AS
Voice is a natural mode of expression offered by modern computer-based systems. Qualitative perspectives on voice-based user experiences (voice UX) offer rich descriptions of complex interactions that numbers alone cannot fully represent. We conducted a systematic review of the literature on qualitative approaches to voice UX, capturing the nature of this body of work in a systematic map and offering a qualitative synthesis of findings. We highlight the benefits of qualitative methods for voice UX research, identify opportunities for increasing rigour in methods and outcomes, and distill patterns of experience across a diversity of devices and modes of qualitative praxis.
[ -0.4499365985393524, -0.44163066148757935, 0.6656811237335205, 0.12920817732810974, -0.23499128222465515, 0.6643437743186951, -0.12838907539844513, -0.5868641138076782, 0.148961141705513, 0.36468955874443054, -0.6199450492858887, -0.346893310546875, 0.20762662589550018, -0.18956033885478973, -0.6658345460891724, 0.5361921787261963, 0.3027292490005493, 0.3018759787082672, -0.02192625217139721, -0.14217634499073029, -0.738898515701294, -0.8869446516036987, -0.6140919923782349, -0.3734607696533203, 0.6177182793617249, 0.5178228616714478, 0.8191020488739014, -0.16870012879371643, 0.041367221623659134, 0.2824494242668152, -0.1235266923904419, -0.15216411650180817, -0.4701663851737976, 0.3944738805294037, 0.3745613992214203, -0.48279517889022827, -0.24676835536956787, 0.28869834542274475, 0.5772088766098022, 0.880615770816803, -0.6622262597084045, 0.4275994300842285, 0.2621079385280609, 0.3766482174396515, -0.5338892340660095, -0.28555288910865784, -0.07602500170469284, 0.48354312777519226, -0.08344116806983948, -0.06401386111974716, -0.27060258388519287, -0.45508092641830444, 0.23875992000102997, -0.6805591583251953, -0.017660731449723244, -0.030833734199404716, 0.3761223256587982, -0.28174489736557007, -0.3249911963939667, 0.021556982770562172, -1.4232717752456665, 0.6755229234695435, -1.1337074041366577, 0.3033735156059265, -0.0648067519068718, 0.6050659418106079, -0.024904463440179825, -0.819093644618988, -0.7293761968612671, -0.029451344162225723, 0.007919435389339924, 0.13870969414710999, -0.3192179501056671, 0.26112228631973267, 0.32597091794013977, 0.500140368938446, -0.4238038957118988, 0.022294722497463226, -0.38461145758628845, -0.029619986191391945, 0.8221710920333862, 0.35050806403160095, 0.8015749454498291, -0.041122596710920334, -0.2758549153804779, 0.0022874928545206785, -0.531886100769043, 0.5816574096679688, 0.33280277252197266, 0.2871719300746918, 0.005208188202232122, 0.4826579689979553, -0.47957491874694824, 0.8791024088859558, 0.19903716444969177, -0.43404871225357056, -0.23440517485141754, -0.19169914722442627, -0.3118143081665039, 0.3097708523273468, 0.5397424697875977, 0.47548702359199524, 0.0018352929037064314, -0.22440744936466217, -0.0944744199514389, -0.12600094079971313, 0.5722841620445251, -0.47626107931137085, 0.20256231725215912, 0.4079627990722656, -0.7499819993972778, -0.21720415353775024, 0.16296610236167908, -0.5882858037948608, -0.5277594327926636, -0.9662541151046753, 0.4241926670074463, -0.045441266149282455, -0.86781245470047, 0.0956740751862526, -0.3136381506919861, 0.5394213795661926, 0.5201489925384521, -0.211442232131958, 0.6832289099693298, 0.5546446442604065, 0.5953813791275024, -0.11246708780527115, 0.030559979379177094, -0.12555861473083496, -0.25812315940856934, -0.4126281142234802, 0.6442140936851501, -0.5240936279296875, -0.7886194586753845, 0.13332949578762054, -0.3148880898952484, -0.016007648780941963, -0.9136403203010559, 0.6700340509414673, -0.08560796082019806, 0.3803137540817261, -0.4085679352283478, -0.24140869081020355, -0.5091578364372253, -0.2938651740550995, -0.6312780976295471, 1.195525884628296, 0.1804337054491043, -0.3243877589702606, 0.2770461142063141, -0.6525870561599731, -0.41992244124412537, 0.046999379992485046, -0.1215704157948494, 0.10505126416683197, 0.52851802110672, -0.06789592653512955, 0.37026554346084595, -0.20687642693519592, 0.2456543892621994, -0.08157956600189209, -0.5381496548652649, 0.7082884311676025, -0.0958215594291687, 1.042029619216919, 0.6300775408744812, -0.724480152130127, 0.3791481852531433, -0.8287834525108337, 0.5388641357421875, 0.039487194269895554, -0.0020370217971503735, -0.28719016909599304, 0.22845996916294098, 0.5143932104110718, 0.26292282342910767, -0.36377203464508057, -0.44839492440223694, 0.15411384403705597, -0.0612543486058712, 0.719450056552887, -0.07620153576135635, 0.04014301300048828, 0.4229195713996887, -0.3394686281681061, 0.7267823815345764, 0.02024690806865692, 0.5683571696281433, 0.05373920872807503, -0.44743263721466064, -0.6542267799377441, -0.14797405898571014, 0.06775187700986862, 0.28056883811950684, -0.44433102011680603, 0.061357297003269196, 0.10660071671009064, -0.6705650687217712, -0.8163332939147949, -0.04691573977470398, 0.24731017649173737, 0.32512345910072327, 0.16289082169532776, -0.41664111614227295, -0.45018860697746277, -0.7783189415931702, -0.27451154589653015, -0.43226948380470276, -0.31067582964897156, 0.07403576374053955, -0.1741199642419815, 0.09389263391494751, 1.115169882774353, -0.08765056729316711, -0.03892926871776581, -0.5182121992111206, 0.5665287375450134, -0.12537406384944916, 0.21160228550434113, 0.4774863123893738, -0.9424481391906738, -0.1683504283428192, -0.1385452151298523, -0.5225833654403687, -0.33025482296943665, -0.5921112895011902, 0.17799855768680573, -0.17754751443862915, 0.3488828241825104, -0.6460596919059753, 0.5256874561309814, 0.17874553799629211, -0.23826542496681213, 0.43537387251853943, 0.4072328805923462, 0.6473247408866882, -0.7985112071037292, 0.058158546686172485, 0.020695285871624947, -0.055444296449422836, -1.0274722576141357, 0.06885911524295807, -0.2998118996620178, -0.5466983914375305, -0.7889575362205505, 0.22221535444259644, -0.8036002516746521, -0.23729641735553741, -0.2979251444339752, 0.02175956964492798, 0.2014659345149994, 0.17849226295948029, 0.08878089487552643, 0.6152973175048828, 0.25312304496765137, -0.2726413905620575, 0.45956340432167053, -0.02108808048069477, -0.2347460240125656, 0.9993535280227661, -0.9210583567619324, 0.353464275598526, 0.15489695966243744, 0.25715166330337524, -1.1875611543655396, 0.06255953013896942, 0.14103499054908752, -0.503581166267395, 0.36247333884239197, 0.016961542889475822, -0.32850193977355957, -0.3186818063259125, -0.15956221520900726, 0.3919607996940613, 0.4304500222206116, -0.2629207968711853, 0.7461336255073547, 0.6747291088104248, -0.5582716464996338, 0.12065482139587402, -0.28836947679519653, 0.5634034872055054, -0.4438086152076721, -0.421536386013031, 0.0015200607012957335, 0.03768494725227356, -0.778930127620697, -0.44574639201164246, 0.016689972952008247, -0.3851267695426941, 0.3093292713165283, 0.48455220460891724, -0.03701715171337128, -0.18705566227436066, -0.28282463550567627, -0.15215644240379333, 0.24589557945728302, 0.27172529697418213, 0.13176223635673523, 0.06286314874887466, 0.03283880278468132, -0.17492756247520447, -0.7960157990455627, 1.1568633317947388, 0.7285473346710205, -0.22692137956619263, -0.06231608986854553, 0.7120440602302551, -0.4718199670314789, 0.0006292130565270782, -0.5943785905838013, -0.23826880753040314, -0.3544688820838928, -0.38289177417755127, -0.31988897919654846, -0.9937496185302734, 0.39617761969566345, -0.14000451564788818, -0.01906595379114151, 0.22141581773757935, 0.2959153950214386, -0.6579203009605408, 1.183343529701233, 0.342429518699646, -0.034687161445617676, 0.2827538549900055, -0.04728194326162338, 0.42088583111763, -0.8588908314704895, -0.4391706883907318, -0.7773875594139099, -0.5808208584785461, -0.03803134337067604, -0.017799612134695053, 0.2743813097476959, 0.08911380171775818, -0.008978956378996372, -0.003547042142599821, -0.709636390209198, -0.2844955623149872, 0.7236214876174927, 0.002149038016796112, 0.127461776137352, -0.11041896045207977, -0.09031374752521515, -0.28927093744277954, -0.732315182685852, -0.38463905453681946, 0.6097390651702881, 0.2407529354095459, 0.8688356280326843, 0.31494972109794617, 0.5439664721488953, 0.46074536442756653, 0.10545410960912704, -0.7269278764724731, 0.5386515259742737, 0.8016265630722046, -0.6315854787826538, -0.5419818162918091, -0.07425247877836227, -0.9394041299819946, 0.3449152410030365, -0.6021755337715149, -0.8310734629631042, 0.3652741611003876, -0.05364959314465523, -0.6434098482131958, 0.008835125714540482, -0.96995609998703, 0.429494172334671, -0.2599842846393585, -0.5618115067481995, -0.07053561508655548, -0.7982718348503113, 0.16614973545074463, 0.48882266879081726, 0.28043460845947266, 0.2320738583803177, 0.4777141213417053, 0.7622026205062866, -0.25817498564720154, 1.153928279876709, -0.4101997911930084, -0.30667081475257874, 0.8974618911743164, 0.06694381684064865, -0.15772151947021484, -0.08887144178152084, 0.23546111583709717, 0.15691353380680084, 0.4697295129299164, -0.28435981273651123, -0.7270987629890442, 0.531862735748291, -0.5993725061416626, -0.4738343060016632, -0.4036349356174469, -0.16140134632587433, -0.5611143112182617, 0.25456658005714417, 0.07450912892818451, 0.5313247442245483, -0.6122885942459106, 0.0034280410036444664, 0.3714880645275116, -0.20442084968090057, 0.25998014211654663, 0.1696382313966751, -0.3386555314064026, -0.19352227449417114, 0.44098883867263794, 0.29864999651908875, 0.19214868545532227, 0.23080986738204956, 0.2463797777891159, -0.6694924831390381, -0.5121564269065857, -0.28261494636535645, 0.011605327017605305, -0.30435582995414734, 0.2104259431362152, -0.3942006528377533, -0.2300737351179123, -0.5185716152191162, 0.006095184478908777, -0.1511901617050171, -0.6125128269195557, -0.3685655891895294, -0.1667124330997467, -0.022109953686594963, 0.9275289177894592, -0.05090584233403206, 0.5388283133506775, -0.6466562151908875, 0.5800321102142334, 0.6266911029815674, 0.1484014242887497, 0.17483121156692505, -0.1651971936225891, -0.1788976490497589, 0.23027457296848297, -0.43136709928512573, -1.0263508558273315, 0.14635632932186127, 0.1709548383951187, 0.7182649970054626, 0.3453576862812042, 0.10671123117208481, 0.7127406001091003, -0.3197547197341919, 1.2078940868377686, 0.4675539433956146, -0.9169766306877136, 0.4883090853691101, -0.44308748841285706, 0.46678924560546875, 0.5154668688774109, 0.4431181252002716, -0.7925270795822144, -0.09393758326768875, -0.8604367971420288, -0.8443076014518738, -0.09403287619352341, 0.08567887544631958, -0.005818817764520645, 0.446421355009079, 0.39890503883361816, -0.07165391743183136, 0.5836224555969238, -0.13452136516571045, -0.09764032810926437, -0.3281361758708954, 0.057064272463321686, -0.07601286470890045, -0.38368865847587585, -0.38589605689048767, -0.3787935674190521, -0.030693350359797478, -0.02034918963909149, 0.3896087408065796, 0.39770084619522095, -0.1357278823852539, -0.03211554139852524, 0.7197460532188416, 0.6383841037750244, 0.874874472618103, -0.19167675077915192, 0.2523941397666931, -0.2174537032842636, -0.26203376054763794, 0.2071603387594223, -0.37555426359176636, -0.0606561042368412, 0.2859070599079132, 0.1728220283985138, 0.4880094528198242, 0.6420465111732483, -0.5212973356246948, 0.3255631625652313, -0.27957794070243835, -0.34671294689178467, -0.41016724705696106, 0.0006246268749237061, 0.2810487151145935, 0.2269858717918396, 0.7175423502922058, -0.3880772292613983, 0.9042940735816956, -0.7559563517570496, -0.12699130177497864, 0.3082154393196106, -0.5018829703330994, -0.4720878005027771, 0.6838895678520203, 0.4667854905128479, -0.37432193756103516, 0.3286868929862976, 0.49659088253974915, -0.10209627449512482, 0.10773245245218277, 0.3992997705936432, 1.1413707733154297, -0.38937827944755554, 0.4738101065158844, 0.17740485072135925, 0.07927080988883972, -0.0780627653002739, 0.5838109254837036, -0.47105300426483154, -0.16492848098278046, -0.2145274579524994, -0.22046314179897308, -0.7784062027931213, 0.0869653970003128, -1.127990961074829, -0.24884381890296936, -0.3421170711517334, -0.5848005414009094, 0.12788555026054382, -0.1122131198644638, -0.5991376042366028, 0.4968792498111725, 0.40925073623657227, 0.6345068216323853, -0.7471738457679749, 0.17326468229293823, 0.7756320238113403, -0.12504827976226807, -1.1350734233856201, -0.14688044786453247, 0.38748908042907715, -0.1702745258808136, 0.3760524392127991, -0.14849133789539337, -0.419985830783844, 0.09492035955190659, -0.537345290184021, -0.36296990513801575, 0.8621458411216736, 0.20216037333011627, -0.595738410949707, 0.09641974419355392, 0.2675205171108246, 0.6525318622589111, -0.33331477642059326, 0.32483410835266113, 0.2971187233924866, 0.5295556783676147, -0.30920806527137756, -1.002083420753479, 0.08658596873283386, -0.4650722146034241, 0.3640657067298889, -0.2809455692768097, -0.5062586069107056, 0.5268483757972717, -0.1707352250814438, -0.7385493516921997, 0.21098563075065613, 0.6247589588165283, -0.17244918644428253, 0.5685240030288696, 0.5471267104148865, 0.34572651982307434, 0.5050073266029358, -0.19790545105934143, 0.8585843443870544, 0.25985029339790344, -0.1514265239238739, 0.8904352188110352, -0.5067933797836304, 0.81246417760849, 0.8163182139396667, -0.39908573031425476, 0.5768080949783325, 0.5853834748268127, 0.6365092396736145, -0.014264845289289951, 0.5889142751693726, -0.45548495650291443, -0.24111229181289673, -0.24993428587913513, -0.3904254138469696, 0.5928036570549011, 0.19767889380455017, 0.2848065197467804, 0.03468261659145355, 0.14618973433971405, -0.07666488736867905, 0.44495177268981934, -0.07757993787527084, 1.1170835494995117, 0.10889705270528793, -0.4791966378688812, 0.6586147546768188, -0.49107247591018677, 0.3165801167488098, -0.25428512692451477, -0.48058658838272095, -0.025293782353401184, -0.5994077920913696, -0.5475862622261047, -0.8364294767379761, 0.15068408846855164, -0.2640126049518585, -0.07867663353681564, -0.5011735558509827, 1.0105525255203247, -0.05753860995173454, -0.35396671295166016, -0.010574132204055786, 0.7203958034515381, -0.04514085873961449, -0.3524056673049927, -0.5291592478752136, 0.36852872371673584, -0.24269843101501465, -0.2726748287677765, 0.2586071491241455, 0.4334191381931305, -0.1242586299777031, 0.5651413202285767, 0.7481032609939575, 0.26446622610092163, 0.07765623182058334, 0.23251552879810333, 0.5963430404663086, -0.9394517540931702, -0.4313827157020569, -0.13993901014328003, 0.8695042729377747, -0.24042420089244843, -0.4467593729496002, 0.5937992930412292, 0.4263903796672821, 0.6621292233467102, -0.039953116327524185, 1.159461498260498, -0.0040804133750498295, 1.0068092346191406, -0.4156525433063507, 0.6859704852104187, -0.5719165205955505, -0.07134543359279633, -0.37243402004241943, -0.659753143787384, -0.1348041146993637, 0.6866921186447144, 0.18496844172477722, -0.1552191823720932, 0.3526138663291931, 0.33642473816871643, 0.015878183767199516, 0.3667110502719879, 0.4259887933731079, -0.005965290125459433, 0.19300957024097443, 0.08879537880420685, 1.4740431308746338, -0.02327464520931244, -0.08503863215446472, -0.17517827451229095, -0.43085721135139465, -0.31605106592178345, -0.6607511639595032, -0.5462577939033508, -0.993270218372345, -0.25187891721725464, -0.144134521484375, -0.13810451328754425, 0.5457068681716919, 0.9812715649604797, -0.40183430910110474, -0.5855125188827515, 0.5648086667060852, -0.12166672199964523, -0.5885462164878845, -0.3188557028770447, -0.5289252400398254, -0.013621095567941666, -0.41754934191703796, 0.459503710269928, 0.17711806297302246, -0.054903849959373474, -0.541056215763092, -0.001157958758994937, 0.052979275584220886, 0.04840639978647232, 0.8491404056549072, 0.712597668170929, -0.6977778673171997, -0.2145771086215973, 0.3175748586654663, -0.1321764886379242, -0.0389615036547184, 1.3887686729431152, -0.7285799384117126, 0.32980042695999146, 0.34727829694747925, 0.5361553430557251, 0.31053829193115234, -0.004326967988163233, 0.7950611114501953, -0.1593266874551773, -0.034436747431755066, 0.47976475954055786, -0.018313976004719734, 0.44037652015686035, -0.23522165417671204, 0.18418346345424652, 0.030623089522123337, -0.12285146862268448, -0.8740127682685852, 0.2506099343299866, -1.7731304168701172, -0.2702912986278534, 1.2271960973739624, 0.1791042536497116, 0.0701928660273552, -0.38494154810905457, -0.8384173512458801, 0.10589312016963959, -0.2705349624156952, 0.7737306356430054, 0.60074383020401, -0.2793659567832947, -0.44666150212287903, -0.6593251824378967, 0.483388751745224, 0.12087574601173401, -0.6517102718353271, -0.29415637254714966, 0.6558502912521362, 0.15600144863128662, 0.13508088886737823, 0.644595742225647, -0.2551704943180084, 0.17211996018886566, -0.25937989354133606, 0.32085782289505005, 0.2032383233308792, -0.16710171103477478, -0.2065543383359909, 0.2296944260597229, 0.5756442546844482, 0.1423748880624771 ]
http://arxiv.org/abs/2404.14723v1
http://arxiv.org/pdf/2404.14723v1
Insights into Alignment: Evaluating DPO and its Variants Across Multiple Tasks
2024-04-23T03:55:01
2024-04-23T03:55:01
Amir Saeidi, Shivanshu Verma, Chitta Baral
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated remarkable performance across a spectrum of tasks. Recently, Direct Preference Optimization (DPO) has emerged as an RL-free approach to optimize the policy model on human preferences. However, several limitations hinder the widespread adoption of this method. To address these shortcomings, various versions of DPO have been introduced. Yet, a comprehensive evaluation of these variants across diverse tasks is still lacking. In this study, we aim to bridge this gap by investigating the performance of alignment methods across three distinct scenarios: (1) keeping the Supervised Fine-Tuning (SFT) part, (2) skipping the SFT part, and (3) skipping the SFT part and utilizing an instruction-tuned model. Furthermore, we explore the impact of different training sizes on their performance. Our evaluation spans a range of tasks including dialogue systems, reasoning, mathematical problem-solving, question answering, truthfulness, and multi-task understanding, encompassing 13 benchmarks such as MT-Bench, Big Bench, and Open LLM Leaderboard. Key observations reveal that alignment methods achieve optimal performance with smaller training data subsets, exhibit limited effectiveness in reasoning tasks yet significantly impact mathematical problem-solving, and employing an instruction-tuned model notably influences truthfulness. We anticipate that our findings will catalyze further research aimed at developing more robust models to address alignment challenges.
[ -0.1941916048526764, -0.5604952573776245, 0.6899759769439697, 0.18052014708518982, -0.05082724988460541, 0.2166910022497177, -0.3849165737628937, -0.3972625732421875, -0.2749618887901306, 0.2931569218635559, -0.7884964346885681, -0.3062434494495392, -0.6866567730903625, 0.2770041227340698, 0.020354222506284714, 0.7434394359588623, -0.24030745029449463, 0.16936591267585754, -0.39064785838127136, 0.04155629500746727, -0.804373562335968, -0.12559062242507935, -0.3753191828727722, -0.4941713511943817, 0.4031495451927185, 0.6458276510238647, 0.8511219620704651, 1.261788249015808, 0.8726389408111572, 0.3116476833820343, -0.12088476121425629, 0.36790767312049866, -0.5133699178695679, 0.06250171363353729, -0.1231376975774765, -0.364396333694458, -0.5035971999168396, 0.22662873566150665, 0.6871768236160278, 0.8003764152526855, -0.19751699268817902, 0.05284794047474861, 0.2595978379249573, 0.9371147155761719, -0.7655779123306274, -0.01947510428726673, -0.6874849200248718, 0.031964801251888275, 0.09752912819385529, 0.06522516161203384, -0.300662636756897, -0.34868523478507996, 0.44167912006378174, -0.7968698740005493, -0.06781076639890671, 0.022924892604351044, 0.6765220165252686, 0.7839273810386658, -0.4598518908023834, -0.3561384975910187, -0.6584758758544922, 1.109361171722412, -0.5450015664100647, 0.46501946449279785, 0.23335297405719757, 0.10979755222797394, -0.23930494487285614, -0.030284732580184937, -0.5588812828063965, -0.03474770486354828, -0.07487836480140686, 0.18871943652629852, 0.04130857065320015, 0.2812747061252594, 0.3520819842815399, 0.43765953183174133, -0.4420068562030792, 0.44845667481422424, 0.1136183962225914, -0.003899703500792384, 0.6616328358650208, 0.2228742390871048, 0.002552472986280918, -0.15291723608970642, -0.40022072196006775, -0.13031046092510223, -0.36617639660835266, 0.13641461730003357, 0.7059786319732666, 0.40678876638412476, 0.04069243371486664, 0.7063843607902527, -0.27801835536956787, 1.1433764696121216, 0.507272481918335, -0.5642754435539246, 0.12523159384727478, -0.5536380410194397, -0.061303965747356415, 0.029821578413248062, 0.8342631459236145, 0.4085303843021393, 0.161852166056633, -0.06043420732021332, -0.0663064494729042, -0.028414668515324593, 0.3297662138938904, -0.4488690197467804, 0.11026748269796371, 0.1957426816225052, -0.330666184425354, -0.2379618138074875, -0.2113758623600006, -0.6865319013595581, -0.49089622497558594, -0.9507877230644226, 0.18481960892677307, -0.518726110458374, 0.050002530217170715, 0.3605244755744934, 0.03681774437427521, 0.21687649190425873, 0.4015159606933594, -1.134627342224121, 0.2696816623210907, 1.2414615154266357, 0.5847423076629639, -0.6025806665420532, -0.3954056203365326, -0.41884028911590576, 0.020499134436249733, -0.23757490515708923, 0.39368703961372375, -0.6642215251922607, -0.22961193323135376, -0.10308261215686798, -0.3868377208709717, -0.44364529848098755, -0.4085718095302582, 0.7770798206329346, -0.2657661736011505, 0.1609359234571457, -0.4352819621562958, -0.7435523867607117, 0.010139331221580505, 0.2803095579147339, -0.5599987506866455, 0.9759383797645569, -0.18854765594005585, -0.7703965902328491, 0.5727254152297974, -0.471885085105896, -0.26790547370910645, -0.4552246034145355, -0.28973108530044556, -0.43672293424606323, 0.11109522730112076, 0.28454574942588806, 0.3060477077960968, -0.26179271936416626, 0.39490199089050293, -0.19172696769237518, -0.6315172910690308, 0.16531139612197876, -0.2449565827846527, 0.569068193435669, 0.02110365219414234, -0.4711730480194092, 0.13829931616783142, -0.8959560990333557, -0.07706930488348007, 0.022136855870485306, -0.21250519156455994, -0.3675648272037506, 0.1313333660364151, -0.6348389387130737, 0.23960421979427338, 0.5046129822731018, -0.6113852858543396, 0.47800901532173157, -0.38029250502586365, 0.2708144783973694, 1.0000885725021362, -0.3659609258174896, 0.5471895337104797, -0.25436267256736755, 0.5375856757164001, -0.0787878930568695, 0.34331315755844116, 0.2829931676387787, -0.30434444546699524, -0.6383589506149292, -0.453334242105484, 0.3379279375076294, 0.6639887690544128, -0.3617100417613983, 0.6090794801712036, -0.47313129901885986, -0.41857510805130005, -0.7856967449188232, 0.21627359092235565, 0.6272045373916626, 0.6515394449234009, 0.21060435473918915, 0.02136027254164219, -0.35011938214302063, -1.2008839845657349, -0.35479775071144104, 0.08161097764968872, 0.32563644647598267, 0.2625322937965393, 0.38807055354118347, -0.037099964916706085, 1.0087565183639526, -0.6814197897911072, -0.016585201025009155, -0.04678666591644287, -0.1648559421300888, 0.21100889146327972, 0.46935513615608215, 0.4268483817577362, -0.5819293856620789, -0.6561785936355591, 0.10233546048402786, -0.3088419735431671, -0.021275758743286133, 0.02518019825220108, -0.24106092751026154, 0.1293552815914154, -0.04487834498286247, -0.4296663701534271, 0.21753112971782684, 0.6444641947746277, 0.0807272344827652, 0.43468835949897766, -0.001003093202598393, 0.37701621651649475, -0.8398400545120239, -0.059615667909383774, -0.06598439812660217, 0.0013024715008214116, -0.5318813323974609, -0.32766544818878174, 0.16652178764343262, -0.06320945173501968, -0.07418984174728394, 0.22923433780670166, -0.41634565591812134, -0.17764416337013245, -0.14502541720867157, 0.1874927431344986, -0.0019772364757955074, 0.5176029205322266, 0.07574937492609024, 0.9845098257064819, 0.3709580600261688, -0.4040719270706177, 0.08530428260564804, 0.48001763224601746, -0.3163672089576721, 0.4314495623111725, -0.5058751702308655, 0.43527695536613464, -0.11515238136053085, -0.04972190409898758, -1.1071735620498657, -0.0961102768778801, 0.19933323562145233, -0.030560797080397606, 0.5064842104911804, -0.0689392164349556, -0.4291316568851471, -0.2715369462966919, -0.3594876229763031, 0.37946462631225586, 0.2689754068851471, -0.4738575220108032, 0.2867515981197357, 0.07090652734041214, 0.073143869638443, -1.1609642505645752, -0.26207032799720764, -0.32323384284973145, -0.35997679829597473, -0.5864487290382385, 0.5688576102256775, -0.025098156183958054, -0.23989564180374146, -0.30588531494140625, -0.5682616829872131, 0.15051083266735077, 0.23224417865276337, 0.10374188423156738, 0.35049140453338623, 0.03237467631697655, -0.030086888000369072, 0.019194962456822395, -0.003223482985049486, -0.4311341345310211, -0.0667465329170227, 0.4319463074207306, -0.07829838246107101, -0.46581515669822693, -0.7190110683441162, 0.2932495176792145, 0.4169178903102875, -0.32980960607528687, 0.6587861180305481, 0.13435542583465576, 0.015646561980247498, 0.004791452549397945, -0.646744430065155, 0.01673935167491436, -0.4467758238315582, 0.23398852348327637, -0.4650852382183075, -0.9326151609420776, 0.35913413763046265, -0.022935573011636734, 0.22278501093387604, 0.21163146197795868, 0.21940630674362183, 0.041453201323747635, 1.1306893825531006, 0.5891643762588501, 0.0715453177690506, 0.7605808973312378, 0.1136021837592125, 0.30178919434547424, -0.9895079731941223, -0.0410010851919651, -0.565526008605957, -0.5646554827690125, -0.652228057384491, -0.29629388451576233, 0.15328159928321838, 0.2401813566684723, -0.2413330078125, 0.4370070695877075, -0.7776208519935608, 0.5299145579338074, 0.5114470720291138, 0.10075518488883972, 0.47853726148605347, -0.05920820310711861, -0.014279180206358433, -0.2699674367904663, -0.62021803855896, -0.6023245453834534, 1.2687554359436035, 0.31834664940834045, 0.6702196002006531, -0.03191272169351578, 0.8671913743019104, -0.13138726353645325, -0.07033461332321167, -1.0124537944793701, 0.49643343687057495, -0.40275460481643677, -0.3319184482097626, -0.4135470986366272, -0.4155510663986206, -0.9085720181465149, 0.34388306736946106, -0.19725792109966278, -0.7956125736236572, 0.11526870727539062, 0.18915313482284546, -0.4499332010746002, -0.08074669539928436, -0.6763514876365662, 0.9829535484313965, -0.5518674254417419, -0.36382952332496643, -0.25255483388900757, -0.8116786479949951, 0.3025799095630646, -0.09339632838964462, -0.03358428180217743, -0.27039971947669983, -0.18200422823429108, 0.6304298639297485, 0.008053438737988472, 0.617849588394165, 0.13125813007354736, -0.2178722620010376, -0.18762969970703125, -0.15593242645263672, 0.44658362865448, -0.2000650316476822, -0.298143595457077, 0.10049569606781006, -0.03519085422158241, -0.23033075034618378, -0.6497119665145874, 0.750669538974762, -0.9356286525726318, -0.8250782489776611, -0.3616969883441925, -0.8537129163742065, -0.571281909942627, 0.2627064287662506, -0.020801261067390442, 0.10160575062036514, -0.11465423554182053, 0.061034563928842545, 0.6968874931335449, -0.07385802268981934, 0.21310988068580627, 0.46289849281311035, 0.06372824311256409, -0.41156959533691406, 0.5391221046447754, 0.14626750349998474, 0.5122480392456055, 0.5986307263374329, 0.38654300570487976, -0.28772789239883423, -0.6248934268951416, -0.3852406144142151, 0.29967790842056274, -0.5457955002784729, -0.06285267323255539, -0.4896351397037506, 0.30123355984687805, -0.5859145522117615, -0.10890297591686249, -0.6007532477378845, -0.46231165528297424, -0.2278650403022766, -0.01210262905806303, 0.07062136381864548, 0.5115813612937927, 0.2114664614200592, 0.2059374749660492, -0.4450233578681946, 0.20772063732147217, 0.25456562638282776, 0.5180577635765076, -0.18386210501194, -0.2797754406929016, -0.0528993159532547, 0.18363139033317566, -0.5636436343193054, -0.707432210445404, -0.21221725642681122, 0.038665298372507095, 0.6233584880828857, 0.20580706000328064, 0.037283044308423996, 1.0329700708389282, -0.5978502631187439, 0.5421849489212036, 0.1814178228378296, -0.9457905888557434, 0.6912176012992859, -0.3758634626865387, 0.17338505387306213, 0.8949587941169739, 0.4292408227920532, -0.1126805916428566, -0.01174752414226532, -0.30486705899238586, -0.49199214577674866, 0.8062137961387634, 0.13243643939495087, -0.29335564374923706, 0.021412091329693794, 0.5167830586433411, 0.3946906626224518, 0.43295544385910034, -0.29356712102890015, -0.21780408918857574, 0.11809034645557404, -0.43862780928611755, -0.083553746342659, -0.0915571078658104, -0.41127485036849976, -0.28248488903045654, 0.6320698857307434, -0.1683821678161621, 0.061974044889211655, 0.14806577563285828, 0.08106428384780884, -0.09069444984197617, 0.3374142050743103, 0.7860004305839539, 0.8716519474983215, -0.1996113508939743, -0.34749066829681396, -0.21203720569610596, -0.2523040175437927, 0.17673364281654358, 0.23968029022216797, -0.12141010165214539, -0.27365341782569885, 0.1474778801202774, 0.9603796005249023, 0.24862630665302277, -0.5540939569473267, 0.4328266680240631, 0.02012072689831257, -0.1453942358493805, 0.1032155305147171, 0.0810929462313652, -0.19051796197891235, 0.09329239279031754, -0.05023418366909027, 0.014208543114364147, 0.13256046175956726, -0.4558718502521515, -0.07790722697973251, 0.6021407246589661, -0.36101698875427246, -0.05801262706518173, 0.4100864827632904, 0.11475019156932831, -0.17395363748073578, 0.6195688843727112, 0.1676403433084488, -0.4114024043083191, 0.515277087688446, 0.381955087184906, 0.7083203792572021, -0.06388932466506958, 0.10755046457052231, 0.22498859465122223, 0.19153758883476257, -0.30385497212409973, 0.028267722576856613, -0.14189790189266205, -0.9553724527359009, -0.6890408396720886, -0.616847038269043, -0.5353946685791016, -0.13699698448181152, -0.8901137709617615, 0.25769633054733276, -0.27171459794044495, -0.17182359099388123, 0.1326095163822174, 0.22890041768550873, -0.7165206074714661, -0.026394037529826164, -0.013318954966962337, 0.5339101552963257, -0.6836302280426025, 0.6051149964332581, 0.8917281031608582, -0.05932723730802536, -0.9496626257896423, 0.13843148946762085, 0.20862869918346405, -0.9755765199661255, 0.5188199281692505, 0.19054391980171204, -0.1294889599084854, -0.14111575484275818, -0.10089458525180817, -0.9923605918884277, 1.0593101978302002, 0.6003868579864502, -0.9112914204597473, -0.08286251872777939, 0.31028905510902405, 0.49833086133003235, -0.3866651952266693, -0.015464677475392818, 0.9174591302871704, 0.4014125168323517, 0.13246169686317444, -1.3768196105957031, -0.05943613499403, 0.28894683718681335, 0.05349352955818176, 0.4484930634498596, -0.8923655152320862, 0.5578727722167969, -0.029789216816425323, 0.07719871401786804, 0.1263716220855713, 0.2399996817111969, 0.36246258020401, 0.13398993015289307, 0.5963721871376038, 0.7637664079666138, 0.8127656579017639, -0.22906802594661713, 0.9052367210388184, -0.3648960292339325, 0.3409311771392822, 1.240820288658142, -0.6520671844482422, 0.6311452388763428, 0.8499953150749207, -0.17631001770496368, 0.19566906988620758, 0.6481112837791443, 0.098159059882164, 0.5720365643501282, 0.18979674577713013, 0.07166535407304764, -0.24122165143489838, -0.12250151485204697, -0.25710412859916687, 0.7705711126327515, 0.011692618019878864, -0.19090183079242706, 0.12954257428646088, -0.14120075106620789, -0.11183662712574005, 0.34654659032821655, -0.17178106307983398, 0.9974063038825989, -0.256899356842041, -1.2134950160980225, 0.45913052558898926, -0.3142261803150177, 0.6792998313903809, -0.4785882532596588, 0.028248894959688187, -0.01635182648897171, 0.4051467776298523, -0.17586584389209747, -0.8441845774650574, 0.22363069653511047, -0.16132330894470215, -0.2813847064971924, -0.5075879096984863, 0.46239426732063293, -0.4125034511089325, -0.25682127475738525, 0.10209611803293228, 0.32836025953292847, -0.25273460149765015, 0.14006386697292328, -0.8061145544052124, 0.26686209440231323, 0.15691357851028442, -0.1972622275352478, 0.4579991400241852, 0.2998204827308655, 0.10315404087305069, 0.5199945569038391, 0.3290177881717682, -0.08151297271251678, -0.07451508939266205, -0.053085073828697205, 0.6391611099243164, -0.40006110072135925, -0.1649436354637146, -0.9329549074172974, 0.46061262488365173, -0.24017362296581268, -0.48450687527656555, 0.8446952104568481, 0.698164165019989, 0.9074289798736572, -0.06197688728570938, 0.5558111667633057, 0.10540105402469635, 0.47257280349731445, -0.5435669422149658, 0.011697057634592056, -0.5934661030769348, 0.21777719259262085, -0.5738081932067871, -1.0279734134674072, -0.0760100781917572, 0.564087450504303, -0.5989587903022766, -0.24956035614013672, 0.6511394381523132, 0.46518072485923767, 0.04232277721166611, 0.0867859274148941, 0.12755197286605835, -0.28487521409988403, 0.1604858934879303, 0.45074713230133057, 0.8107890486717224, -0.34481677412986755, 0.41728129982948303, -0.543873131275177, -0.28448978066444397, -0.0510537326335907, -0.9727701544761658, -0.7232081890106201, -0.31255993247032166, -0.4781683087348938, -0.025757113471627235, 0.049161396920681, 0.8829339742660522, 0.5201398134231567, -0.50017911195755, -0.2429223656654358, -0.03273676335811615, 0.2469853162765503, -0.5323845744132996, -0.16919970512390137, 0.29812097549438477, -0.31739822030067444, -0.9834603071212769, 0.3847348392009735, 0.3223680555820465, -0.008183537051081657, 0.11151878535747528, 0.059835709631443024, -0.25861209630966187, -0.0970480814576149, 0.28992611169815063, 0.019207842648029327, -1.0160104036331177, -0.4686938226222992, 0.30372536182403564, -0.14211496710777283, 0.21920771896839142, 0.810254693031311, -0.2417323887348175, 0.5515929460525513, 0.5214197635650635, 0.8798666000366211, 0.2609446942806244, 0.4555325210094452, 0.7436643838882446, -0.7089784145355225, 0.03679065778851509, 0.23858842253684998, 0.2789222300052643, 0.3164525628089905, -0.45465266704559326, 0.5896855592727661, -0.14077161252498627, -0.86224764585495, -0.8131490349769592, 0.4320526123046875, -1.2288206815719604, -0.0431598424911499, 1.1173943281173706, -0.023133117705583572, 0.1644815355539322, 0.16447784006595612, -0.3159335255622864, 0.24577735364437103, -0.48213812708854675, 0.8151087164878845, 1.065319299697876, -0.6125094294548035, 0.07654974609613419, -0.46167513728141785, 0.5756703615188599, 0.7634696364402771, -0.43670791387557983, 0.19846780598163605, 0.6376699209213257, 0.2948620021343231, 0.2824680507183075, 0.39860546588897705, 0.009967958554625511, 0.045457787811756134, -0.3648685812950134, -0.168979212641716, 0.026381731033325195, -0.23007850348949432, -0.39258885383605957, -0.12508153915405273, 0.09638593345880508, -0.399197518825531 ]
http://arxiv.org/abs/2404.14716v2
http://arxiv.org/pdf/2404.14716v2
Bayesian Example Selection Improves In-Context Learning for Speech, Text, and Visual Modalities
2024-04-23T03:42:48
2024-06-16T08:49:00
Siyin Wang, Chao-Han Huck Yang, Ji Wu, Chao Zhang
cs.CL
cs.CL, cs.AI, cs.CV, cs.SD, eess.AS
Large language models (LLMs) can adapt to new tasks through in-context learning (ICL) based on a few examples presented in dialogue history without any model parameter update. Despite such convenience, the performance of ICL heavily depends on the quality of the in-context examples presented, which makes the in-context example selection approach a critical choice. This paper proposes a novel Bayesian in-Context example Selection method (ByCS) for ICL. Extending the inference probability conditioned on in-context examples based on Bayes' theorem, ByCS focuses on the inverse inference conditioned on test input. Following the assumption that accurate inverse inference probability (likelihood) will result in accurate inference probability (posterior), in-context examples are selected based on their inverse inference results. Diverse and extensive cross-tasking and cross-modality experiments are performed with speech, text, and image examples. Experimental results show the efficacy and robustness of our ByCS method on various models, tasks and modalities.
[ -0.307768315076828, -0.9226151704788208, 0.7616511583328247, -0.05014873296022415, -0.6416121125221252, -0.4089598059654236, -0.09263931959867477, 0.039861734956502914, -0.38448357582092285, 0.46165844798088074, -0.742958664894104, -0.6814556121826172, -0.20115001499652863, -0.14925268292427063, -0.3287898004055023, 0.8839492797851562, 0.38500192761421204, 0.3056592643260956, -0.274574339389801, -0.042147375643253326, -0.2567366063594818, -0.2890024185180664, -0.8856850266456604, -0.33100584149360657, 0.15038391947746277, 0.7190078496932983, 0.39716124534606934, 0.05742129683494568, -0.0036707797553390265, 0.15578126907348633, 0.0037777679972350597, -0.009312932379543781, -0.18751206994056702, 0.20665423572063446, -0.5057308673858643, -0.40314340591430664, 0.18541720509529114, 0.03512042760848999, 0.8073664307594299, 0.9217163920402527, -0.013468344695866108, 0.01311678159981966, 0.12105535715818405, 0.2633388638496399, -0.8504133820533752, 0.187629833817482, -0.8993170857429504, -0.1564994752407074, 0.20764562487602234, -0.038539521396160126, -0.6029669642448425, -0.007832879200577736, 0.35580602288246155, -0.4702107012271881, 0.10254572331905365, -0.027866985648870468, 0.15265265107154846, -0.046818625181913376, -0.5455191731452942, -0.0600442998111248, -0.27378615736961365, 0.8022103309631348, -1.1276298761367798, 0.5014726519584656, 0.49146246910095215, 0.5120654702186584, -0.5546960830688477, -0.49747008085250854, -0.6755496859550476, -0.24358369410037994, -0.05144752934575081, 0.45219892263412476, -0.04232856258749962, 0.09341543912887573, 0.4136406481266022, -0.11271805316209793, -0.5708301663398743, 0.08224606513977051, -0.038590896874666214, 0.1838446855545044, 0.31525787711143494, -0.22697757184505463, 0.21483448147773743, -0.15218620002269745, -0.37224358320236206, -0.413478285074234, -0.9644555449485779, 0.3122536838054657, -0.0072736251167953014, 0.3579670786857605, -0.22073136270046234, 0.369253545999527, -0.43364471197128296, 0.8851372003555298, -0.023911839351058006, -0.5064617395401001, 0.1123671904206276, 0.057187072932720184, -0.40127161145210266, 0.05720662698149681, 0.44259047508239746, 0.3217751979827881, -0.1663133054971695, -0.210715189576149, 0.04759063571691513, -0.035836704075336456, -0.08817381411790848, -0.7808641195297241, -0.0940052792429924, 0.009067288599908352, -0.6183045506477356, -0.0016219557728618383, 0.09175745397806168, -0.7460541725158691, -0.07309766113758087, -0.07059002667665482, 0.6061996817588806, -0.4256751239299774, 0.15567009150981903, -0.026219546794891357, -0.2754003405570984, 0.016800396144390106, 0.20227931439876556, -0.5939339995384216, 0.3513999283313751, 0.41332024335861206, 0.46417054533958435, -0.1662817895412445, -0.1468496322631836, -0.9614686965942383, 0.363196462392807, -0.3512561619281769, 0.7810338735580444, -0.8359104990959167, -0.5116257071495056, -0.005500538740307093, -0.041084758937358856, 0.06754755228757858, -0.49763503670692444, 0.5971328616142273, -0.37251025438308716, 0.25952035188674927, -0.0995960459113121, -0.49832388758659363, -0.6605836749076843, -0.12927775084972382, -0.1516260802745819, 0.5452558398246765, 0.16222093999385834, -0.5876865386962891, 0.7950299382209778, -0.2570650279521942, -0.3640824854373932, -0.011003129184246063, -0.5813695788383484, -0.529280960559845, 0.18809019029140472, 0.6012048721313477, 0.7794427871704102, -0.130774587392807, 0.2399992048740387, -0.7725057601928711, -0.6059774160385132, 0.3157925009727478, -0.6152616143226624, 0.8445295691490173, 0.10198663920164108, -0.5285359621047974, 0.16789673268795013, -0.7690305709838867, -0.016120443120598793, -0.31645750999450684, -0.12080942094326019, -0.6815581917762756, 0.36097946763038635, -0.1640266478061676, 0.47215700149536133, -0.414288729429245, -0.6363441348075867, 0.008566656149923801, -0.5907174348831177, 0.26618310809135437, 0.41325971484184265, 0.36582428216934204, 0.4015825688838959, -0.4480045437812805, 0.4263884127140045, 0.09325139224529266, -0.09638255834579468, -0.1090664267539978, -0.5068672299385071, -0.2928664982318878, -0.9261841773986816, 0.057742174714803696, 0.5502976179122925, -0.7867612242698669, 0.42467328906059265, -0.2529306709766388, -0.4255038797855377, -0.22439666092395782, -0.13652582466602325, 0.5505195260047913, 0.739395797252655, 0.3129766881465912, -0.23055294156074524, -0.11749487370252609, -0.998297393321991, -0.22554536163806915, -0.5069208145141602, -0.19613055884838104, 0.5318692922592163, 0.19786539673805237, -0.07884208112955093, 1.0713881254196167, -0.16829466819763184, 0.22292940318584442, -0.3856358230113983, 0.15465593338012695, 0.3755013644695282, 0.5160501599311829, 0.5541428327560425, -0.6957735419273376, -0.17000392079353333, -0.22233149409294128, -0.16162140667438507, -0.2454005479812622, -0.5068578124046326, -0.1434151828289032, 0.14633865654468536, 0.6376908421516418, -0.1995067149400711, 0.8035486936569214, 0.3817146420478821, -0.36662909388542175, 0.115687794983387, -0.2309044450521469, 0.32424360513687134, -0.9487807154655457, -0.17536555230617523, 0.3522922992706299, -0.5529869198799133, -0.2902706265449524, -0.1957605928182602, 0.1735689789056778, -0.05168795585632324, -0.4279076159000397, 0.7919023633003235, -0.2792735993862152, -0.08855839818716049, -0.1258644312620163, 0.09782282263040543, -0.4975792467594147, 0.5984301567077637, 0.3984667956829071, 0.5981648564338684, 0.7930412888526917, -0.46293139457702637, -0.19143228232860565, 0.2775091528892517, -0.8102474808692932, 0.4816031754016876, -0.11850203573703766, -0.10152291506528854, -0.2912557125091553, 0.4095800817012787, -1.3835915327072144, 0.16689853370189667, 0.4308580458164215, -0.23526985943317413, 0.2650589346885681, -0.2787717878818512, -0.5687748193740845, 0.11972232908010483, -0.13116265833377838, 0.38399431109428406, 0.4942183196544647, -0.9617601037025452, 0.42076846957206726, 0.15602049231529236, -0.3843979239463806, -0.35235926508903503, -0.6721096038818359, -0.015883835032582283, -0.48717203736305237, -0.077262744307518, 0.528858482837677, -0.2595185339450836, -0.28613877296447754, -0.2857200503349304, -0.4166701138019562, -0.03896358236670494, 0.04779822379350662, 0.39370134472846985, 0.1456170529127121, 0.012855193577706814, -0.01331788208335638, 0.9711437821388245, 0.18958792090415955, -0.04440890997648239, 0.02564777433872223, -0.11720128357410431, 0.26075735688209534, -0.6244646310806274, -0.5007701516151428, 0.6632291674613953, 0.2354423552751541, 0.15254010260105133, 0.37198829650878906, 0.15493915975093842, -0.2955940365791321, -0.6343356370925903, -0.6569717526435852, -0.5403541326522827, -0.381267249584198, 0.528963029384613, -0.3579038679599762, -0.7735647559165955, 0.2201353758573532, -0.08312593400478363, -0.13689357042312622, -0.28314700722694397, 0.3937717080116272, 0.0762217789888382, 1.0836864709854126, 0.2947840690612793, -0.2591395080089569, 0.7463971972465515, -0.12111832946538925, 0.33629295229911804, -0.786870002746582, 0.2692042291164398, -0.3680344521999359, -0.03510710224509239, -0.4574287235736847, -0.30395153164863586, 0.7140011191368103, 0.25138217210769653, -0.19599533081054688, 0.19638727605342865, -0.07952519506216049, 0.3075415790081024, 0.6389404535293579, 0.7400325536727905, 0.34117498993873596, 0.18899698555469513, -0.44849756360054016, -0.0828544870018959, -0.8616601824760437, -0.5165172815322876, 0.8229485750198364, -0.1321266144514084, 0.7366691827774048, 0.22542326152324677, 0.3962870240211487, 0.030177844688296318, 0.5750948190689087, -0.4593994915485382, 0.7167496085166931, -0.14028014242649078, -0.6321259140968323, -0.2645585834980011, -0.19899430871009827, -0.7428549528121948, 0.6172038912773132, -0.2537854313850403, -1.264884114265442, 0.27887704968452454, 0.09358855336904526, -0.3950333595275879, 0.15210114419460297, -0.5614489912986755, 0.9175674319267273, 0.08247900009155273, -0.38086479902267456, -0.5713526606559753, -0.8914349675178528, 0.15006454288959503, 0.096779465675354, 0.3136959671974182, 0.13960696756839752, -0.13414107263088226, 0.46634793281555176, -0.034431371837854385, 1.103287935256958, -0.15584895014762878, 0.048020970076322556, 0.35740140080451965, 0.23455190658569336, 0.2758491039276123, 0.6335630416870117, -0.19531653821468353, -0.11618117243051529, 0.05923725292086601, -0.10331344604492188, -0.9310702085494995, 0.7593158483505249, -0.3006291687488556, -0.6913318037986755, -0.2256077527999878, -0.46540093421936035, -0.6611136794090271, -0.05208084359765053, 0.2542109191417694, 0.7450756430625916, -0.013864005915820599, 0.37859803438186646, 0.4171982705593109, -0.3518989682197571, 0.6844769716262817, 0.6565852761268616, -0.04357904940843582, -0.4751473069190979, 0.4755832552909851, 0.0017127643804997206, 0.3152746558189392, 0.694362998008728, 0.3161281645298004, -0.22140668332576752, -0.7861133217811584, -0.3429230749607086, 0.12109380215406418, -0.8413211703300476, -0.1105269268155098, -0.46315380930900574, 0.18617375195026398, -0.2824641168117523, -0.366830974817276, 0.16383914649486542, -0.3431173861026764, -0.2529732584953308, 0.14290234446525574, -0.18469569087028503, -0.10585000365972519, 0.09223144501447678, 0.6104514002799988, -0.4458053410053253, 0.4034680724143982, 0.4668896794319153, -0.08491937816143036, -0.08387088775634766, -0.8089228868484497, 0.14051878452301025, 0.17787934839725494, -0.4260261058807373, -1.0525010824203491, 0.4191916882991791, 0.3503262996673584, 1.0495847463607788, 0.51229327917099, 0.08199004083871841, 0.6569366455078125, -0.2528574764728546, 0.5633137822151184, 0.012744724750518799, -0.922711968421936, 0.6893746256828308, -0.3343522548675537, 0.43025586009025574, 0.5060945153236389, 0.4484364688396454, -0.30428391695022583, -0.4452669024467468, -0.6719841361045837, -0.48329171538352966, 0.4281708896160126, 0.19153349101543427, -0.10466272383928299, -0.24210013449192047, 0.39807653427124023, 0.43656784296035767, 0.14614439010620117, -0.7287451028823853, -0.09153567254543304, 0.21312998235225677, -0.2775430679321289, -0.29886630177497864, -0.09453973919153214, 0.28776979446411133, -0.47228166460990906, 1.0595412254333496, -0.4395468533039093, -0.004477704409509897, 0.39828965067863464, -0.19669891893863678, 0.0029727674555033445, 0.3837106227874756, 0.4179074168205261, 0.8958458304405212, -0.2915419042110443, -0.07693605124950409, 0.6269901394844055, 0.07269550859928131, -0.06904812157154083, 0.10447049140930176, -0.29560551047325134, 0.0801202729344368, 0.25900697708129883, 0.5441926121711731, 0.5751567482948303, -1.0086749792099, 0.7493919134140015, -0.0207161046564579, 0.2744821012020111, -0.3267669379711151, 0.1537480652332306, -0.23825590312480927, 0.5516947507858276, 0.381723552942276, -0.015318179503083229, 0.4658409655094147, -0.8483792543411255, 0.22513557970523834, 0.8742518424987793, -0.5128130316734314, -0.06320156902074814, 0.26973578333854675, -0.3243902027606964, 0.006418589502573013, 0.41309064626693726, -0.1739838868379593, -0.25379878282546997, 0.20915694534778595, 0.92536461353302, 0.6602758169174194, -0.07596354931592941, 0.11667447537183762, 0.33900442719459534, -0.15523910522460938, -0.07822107523679733, 0.35941076278686523, -0.47290077805519104, -0.7030459642410278, -0.5232189893722534, -0.15025028586387634, -0.31596946716308594, 0.14629843831062317, -0.40494826436042786, 0.4909178912639618, -0.16470153629779816, -0.2000500112771988, -0.2747975289821625, -0.06952214241027832, -0.31786245107650757, 0.5034100413322449, 0.2924064099788666, 0.8454793095588684, -0.8051629662513733, 1.1272581815719604, 0.6675901412963867, -0.050264060497283936, -0.44548994302749634, 0.1270749717950821, -0.05997227877378464, -0.34498876333236694, 0.5354045033454895, -0.07399655133485794, -0.11885305494070053, -0.03939162567257881, -0.821900486946106, -0.46997731924057007, 0.9624394178390503, 0.6399860978126526, -0.4400838315486908, 0.12404697388410568, -0.4611811339855194, 0.152119442820549, -0.7044239640235901, 0.5086575150489807, 0.3512503504753113, 0.059349801391363144, 0.08144062012434006, -0.6177363991737366, 0.08882346004247665, 0.03497660532593727, 0.27581527829170227, -0.22247393429279327, -0.4283547103404999, 0.24367891252040863, -0.27299001812934875, -0.03708430007100105, 0.39290887117385864, 0.8345189690589905, 0.8388093709945679, 0.29984375834465027, 0.7745394110679626, 0.4210897386074066, 0.2112354189157486, 0.35955074429512024, 0.9362649321556091, 0.1676499992609024, -0.031095977872610092, 1.4877774715423584, -0.06752024590969086, 0.9889655709266663, 0.6296571493148804, -0.012723712250590324, 0.6992257237434387, 0.561855673789978, 0.20401932299137115, 1.0721555948257446, 0.38916292786598206, -0.45798948407173157, -0.6213712096214294, 0.050412196666002274, -0.06662394106388092, 0.43641987442970276, 0.43733924627304077, -0.36789777874946594, -0.4003869891166687, 0.11025100201368332, 0.0613473579287529, 0.11560317128896713, -0.2809653580188751, 0.6814954876899719, 0.06958340853452682, -0.7390632629394531, 0.25061941146850586, -0.1500031054019928, 0.6741671562194824, -0.478210985660553, -0.3280661404132843, -0.10975629091262817, 0.04031766578555107, 0.055179644376039505, -0.3871440887451172, -0.07836965471506119, -0.3595922589302063, -0.06392122805118561, -0.003782926592975855, 0.5358825325965881, -0.4341500401496887, -0.6793931722640991, 0.1323423683643341, 0.30452921986579895, 0.09268855303525925, -0.2754307687282562, -0.45557111501693726, -0.2969570755958557, -0.17016038298606873, -0.15563717484474182, 0.36830058693885803, 0.39946386218070984, -0.3580717444419861, 0.809049665927887, 0.4130820631980896, 0.13916002213954926, -0.2329775094985962, -0.01547209918498993, 0.6857701539993286, -0.38896995782852173, -0.5953087210655212, -0.7723065614700317, 0.6405029296875, -0.16754364967346191, -0.44996097683906555, 0.6435786485671997, 0.6605923771858215, 1.1132915019989014, -0.11808453500270844, 0.8184019923210144, 0.1574230045080185, 0.7238808870315552, -0.5731817483901978, 0.49315890669822693, -0.6259405016899109, 0.18314895033836365, -0.8085262179374695, -0.7035611867904663, -0.3966512680053711, 0.930384635925293, -0.5224409103393555, 0.04873299598693848, 0.8098739981651306, 1.0700962543487549, -0.32436877489089966, 0.005955745931714773, 0.5994505882263184, -0.12112415581941605, 0.28832465410232544, 0.5161773562431335, 0.65866619348526, -0.39468032121658325, 0.23979242146015167, -0.5180848240852356, -0.6172434091567993, 0.004427191335707903, -1.0477850437164307, -1.1999222040176392, -0.9418708682060242, -0.599541187286377, -0.12965071201324463, 0.23970188200473785, 1.2665828466415405, 1.086830496788025, -0.836568295955658, -0.4791747033596039, 0.15107369422912598, 0.06353485584259033, -0.6516211628913879, -0.11231476813554764, 0.16744713485240936, -0.20370447635650635, -0.5774434208869934, 0.8043432235717773, 0.1938174068927765, 0.02143196575343609, 0.31133151054382324, 0.19790324568748474, -0.34282228350639343, -0.008543462492525578, 0.6051109433174133, -0.028438223525881767, -0.7618021368980408, -0.3840560019016266, -0.6014237999916077, 0.10183119028806686, -0.03290349245071411, 0.8708972930908203, -1.18508780002594, 0.3321809470653534, 0.5553287863731384, 0.5710877180099487, 0.6618318557739258, 0.05280831828713417, 0.5538755655288696, -0.46197181940078735, 0.44941186904907227, 0.24847163259983063, 0.5971592664718628, 0.16205251216888428, -0.05080091953277588, 0.17568793892860413, 0.11935783922672272, -0.4294953942298889, -0.6586295366287231, 0.19750966131687164, -1.3491157293319702, -0.7601269483566284, 1.2745335102081299, -0.19463872909545898, -0.1452471911907196, 0.03803207725286484, -0.37721890211105347, 0.3059441149234772, -0.5826248526573181, 0.8614982962608337, 0.3165018856525421, 0.01715659163892269, -0.32970109581947327, -0.5748892426490784, 0.2618432641029358, 0.7211484909057617, -0.6664377450942993, -0.1411491185426712, 0.5367550253868103, 0.21183957159519196, -0.4207790493965149, 0.24182555079460144, 0.08208044618368149, 0.2619440257549286, -0.3541226089000702, -0.3061862587928772, 0.4221777319908142, -0.21037638187408447, -0.29820337891578674, 0.020893672481179237, -0.02079014852643013, 0.05891891196370125 ]
http://arxiv.org/abs/2404.14715v1
http://arxiv.org/pdf/2404.14715v1
FINEMATCH: Aspect-based Fine-grained Image and Text Mismatch Detection and Correction
2024-04-23T03:42:14
2024-04-23T03:42:14
Hang Hua, Jing Shi, Kushal Kafle, Simon Jenni, Daoan Zhang, John Collomosse, Scott Cohen, Jiebo Luo
cs.CV
cs.CV, cs.CL
Recent progress in large-scale pre-training has led to the development of advanced vision-language models (VLMs) with remarkable proficiency in comprehending and generating multimodal content. Despite the impressive ability to perform complex reasoning for VLMs, current models often struggle to effectively and precisely capture the compositional information on both the image and text sides. To address this, we propose FineMatch, a new aspect-based fine-grained text and image matching benchmark, focusing on text and image mismatch detection and correction. This benchmark introduces a novel task for boosting and evaluating the VLMs' compositionality for aspect-based fine-grained text and image matching. In this task, models are required to identify mismatched aspect phrases within a caption, determine the aspect's class, and propose corrections for an image-text pair that may contain between 0 and 3 mismatches. To evaluate the models' performance on this new task, we propose a new evaluation metric named ITM-IoU for which our experiments show a high correlation to human evaluation. In addition, we also provide a comprehensive experimental analysis of existing mainstream VLMs, including fully supervised learning and in-context learning settings. We have found that models trained on FineMatch demonstrate enhanced proficiency in detecting fine-grained text and image mismatches. Moreover, models (e.g., GPT-4V, Gemini Pro Vision) with strong abilities to perform multimodal in-context learning are not as skilled at fine-grained compositional image and text matching analysis. With FineMatch, we are able to build a system for text-to-image generation hallucination detection and correction.
[ -0.4789046347141266, -0.8375648856163025, 0.5255722403526306, -0.0672069787979126, -0.2871631681919098, -0.27931568026542664, 0.12305658310651779, -0.6713415384292603, -0.17620301246643066, 0.8290671110153198, -0.49482351541519165, -0.6041728258132935, -0.3463936746120453, 0.08792880922555923, -0.359942764043808, 0.7466441988945007, -0.3200576603412628, 0.3185240924358368, -0.5984616875648499, -0.45891502499580383, -0.7980700135231018, -0.17251397669315338, -0.592879593372345, -0.168527290225029, 0.07638896256685257, 0.47685518860816956, 0.6895534992218018, 0.7188138365745544, 0.9627962708473206, 0.32311517000198364, 0.011053763329982758, 0.6168558597564697, -0.2208320051431656, 0.10303483158349991, -0.5566655397415161, -0.3551448881626129, -0.46815210580825806, -0.0691787526011467, 0.5761302709579468, 0.32190126180648804, 0.14374002814292908, 0.08575695753097534, 0.15210863947868347, 0.9564187526702881, -0.7137957215309143, 0.08478965610265732, -0.8257343769073486, 0.13756850361824036, -0.11816614121198654, -0.4566732943058014, -0.18163245916366577, 0.042621251195669174, -0.11295768618583679, -0.5478219985961914, 0.5232910513877869, 0.2882688045501709, 0.8588709831237793, 0.3933870792388916, 0.041427817195653915, -0.19634893536567688, -0.43618959188461304, 0.5804845690727234, -0.7183638215065002, 0.2275678664445877, 0.5534257292747498, 0.4204126000404358, -0.06513698399066925, -0.4856395125389099, -0.77958083152771, -0.12715445458889008, -0.15397045016288757, 0.0361100472509861, -0.06445059180259705, 0.11690670251846313, 0.00654472503811121, 0.7646098136901855, -0.42732229828834534, 0.13618670403957367, -0.07333103567361832, -0.20556338131427765, 0.35182932019233704, 0.4457593560218811, 0.3462350070476532, -0.21337026357650757, -0.3084230422973633, -0.32581499218940735, -0.3320906460285187, -0.1585727334022522, 0.18716153502464294, 0.4249981641769409, -0.2203928828239441, 0.7429181337356567, -0.4382043480873108, 0.8770409226417542, -0.13777729868888855, -0.0490126796066761, 0.19432304799556732, -0.5213913321495056, -0.21585725247859955, -0.10939251631498337, 0.6724556684494019, 1.1770870685577393, 0.06296379119157791, 0.05154222622513771, -0.36592474579811096, 0.13896942138671875, 0.16905643045902252, -0.81264328956604, -0.3081795275211334, 0.03127431124448776, -0.4719458520412445, -0.43813908100128174, -0.08548596501350403, -0.6896379590034485, -0.5396984815597534, -0.4387175142765045, 0.9379016160964966, -0.542718231678009, 0.23050794005393982, 0.09937819838523865, -0.02092551626265049, 0.1475294530391693, 0.6382002234458923, -0.6328805685043335, 0.059159792959690094, 0.652423620223999, 0.9486404657363892, -0.30470287799835205, -0.6012091636657715, -0.7381982803344727, -0.273453027009964, -0.3276699185371399, 1.2189759016036987, -0.43179234862327576, -0.07525860518217087, 0.04144556447863579, 0.17694739997386932, 0.12170026451349258, -0.8532475233078003, 0.49623796343803406, -0.05316653847694397, 0.2130168229341507, -0.16930386424064636, -0.5003015995025635, -0.15208058059215546, 0.6873234510421753, -0.6506885290145874, 0.9503008723258972, 0.20465408265590668, -0.7814630270004272, 0.3648238182067871, -0.3534938395023346, -0.2623807191848755, 0.12799370288848877, -0.29985231161117554, -0.7238686084747314, 0.20300498604774475, 0.23972143232822418, 0.5619257688522339, -0.4103371500968933, 0.01620788313448429, -0.45676523447036743, -0.44857972860336304, 0.05955077335238457, -0.4627007842063904, 0.11189678311347961, 0.008555260486900806, -0.2443147599697113, 0.4200966954231262, -0.7559979557991028, 0.04944537207484245, 0.08914615958929062, -0.09913427382707596, -0.426334410905838, 0.11411476880311966, 0.3608070909976959, 0.15896667540073395, 0.3105885982513428, -0.4130375385284424, 0.1479274481534958, -0.03504003956913948, 0.28428736329078674, 0.5347386598587036, -0.2411544770002365, 0.4620532691478729, -0.5005164742469788, -0.0809812918305397, 0.2449827492237091, 0.26457712054252625, -0.6653177738189697, -0.27161797881126404, -0.9461296796798706, -0.09798119217157364, 0.2709323763847351, 0.49849140644073486, -1.041664958000183, 0.43954697251319885, 0.020680265501141548, -0.48522475361824036, -0.6412408947944641, -0.01317510288208723, 0.6532846689224243, 0.5145983099937439, 0.600555419921875, -0.7773474454879761, -0.2668360471725464, -0.9051107168197632, -0.4209064245223999, 0.22238992154598236, 0.0009185592061839998, 0.4456828832626343, 0.40700870752334595, -0.2962838113307953, 0.6840642690658569, -0.3398078382015228, -1.075097918510437, 0.08961080759763718, 0.045102231204509735, -0.3354388475418091, 0.7352779507637024, 0.5879786610603333, -0.7224740386009216, -0.3557305932044983, 0.3001560568809509, -0.6593789458274841, -0.04263961687684059, 0.019992131739854813, -0.09918680787086487, 0.30417555570602417, 0.8400775194168091, -0.05491139367222786, 0.34583526849746704, 0.6460019946098328, -0.5810279250144958, 0.5657843351364136, -0.43854865431785583, 0.6909889578819275, -1.1176316738128662, -0.015578203834593296, 0.21971938014030457, -0.5104553699493408, -0.35315144062042236, 0.44796842336654663, 0.21142499148845673, 0.038005340844392776, -0.5699060559272766, 0.559040904045105, -0.21338382363319397, -0.2563443183898926, -0.5984517931938171, 0.18782231211662292, 0.10574020445346832, 0.3318529725074768, -0.019487859681248665, 0.7385572791099548, 0.570549726486206, -0.3377718925476074, 0.05068741366267204, 0.17502255737781525, -0.2841607928276062, 1.2771333456039429, -0.37589311599731445, 0.102232426404953, -0.10546599328517914, -0.014835841953754425, -0.8332387208938599, -0.38472458720207214, 0.07796680927276611, -0.22593505680561066, 0.18076561391353607, 0.06664609163999557, -0.5699923038482666, -0.11101265996694565, -0.4390958547592163, 0.5785069465637207, -0.03464725241065025, -0.5138660669326782, 0.5962068438529968, 0.09365354478359222, 0.2132796049118042, -0.19912029802799225, -0.5422582030296326, 0.08053027838468552, 0.2767177224159241, -0.5597925186157227, 0.6145368218421936, -0.14172345399856567, 0.1420649141073227, 0.1856754869222641, -0.20577239990234375, -0.13547173142433167, -0.009017613716423512, 0.17365844547748566, 0.24919262528419495, -0.31797152757644653, -0.3270461857318878, -0.055601317435503006, -0.06826115399599075, -0.49562883377075195, 0.017724642530083656, 0.6533000469207764, -0.42319953441619873, -0.4606812298297882, -0.6202752590179443, 0.3715989887714386, 0.6760015487670898, -0.2169698178768158, 0.5204536318778992, 0.7233833074569702, -0.5357288122177124, 0.1524653285741806, -0.6761348843574524, -0.09292002022266388, -0.4451514780521393, 0.6057115793228149, -0.2709258496761322, -0.8649114966392517, 0.3742761015892029, 0.15130148828029633, 0.07126539200544357, 0.5315783023834229, 0.2181870937347412, -0.24159085750579834, 0.8863174319267273, 0.8201099038124084, 0.08640894293785095, 0.625858724117279, -0.14978885650634766, 0.04251537844538689, -0.8786994218826294, -0.1920183300971985, -0.3829825520515442, -0.4453051686286926, -0.4352225363254547, -0.6684032082557678, 0.033127620816230774, 0.2879197299480438, -0.08246497064828873, 0.36053308844566345, -0.6615604758262634, 0.9228222966194153, 0.5153732895851135, 0.37431907653808594, 0.6411238312721252, 0.024836650118231773, 0.15450970828533173, -0.3280198574066162, -0.17714448273181915, -0.5185282826423645, 0.8014518022537231, 0.10990646481513977, 0.7058483362197876, -0.15479622781276703, 0.3798513114452362, 0.36777549982070923, 0.14922240376472473, -0.890374481678009, 0.5302707552909851, -0.7534703016281128, -0.1848497837781906, 0.137515127658844, -0.30272024869918823, -0.4810284376144409, 0.24847543239593506, -0.6085636615753174, -0.7155365943908691, 0.04056748002767563, 0.40614351630210876, -0.172978013753891, 0.43199723958969116, -0.6160734295845032, 1.2280319929122925, -0.058552682399749756, -0.430731862783432, -0.05692289397120476, -0.5348199009895325, 0.32772618532180786, -0.13421630859375, 0.059700001031160355, -0.21150970458984375, 0.23662173748016357, 0.3818279504776001, -0.24806447327136993, 0.531765878200531, 0.04052932932972908, 0.0020883427932858467, -0.023122353479266167, 0.21994049847126007, 0.262414813041687, -0.23989038169384003, 0.12048143893480301, 0.30687636137008667, 0.04748795926570892, -0.31853151321411133, -0.2855834662914276, 0.69823157787323, -0.4626866281032562, -0.26580846309661865, -0.20880718529224396, -0.5774897336959839, 0.015771035104990005, 0.1485557109117508, 0.5611494183540344, 0.45956650376319885, -0.148944690823555, 0.26390406489372253, 0.43995410203933716, -0.08288031071424484, 0.36738887429237366, 0.6873059868812561, -0.45664215087890625, -0.4777563214302063, 1.0517233610153198, -0.3628767728805542, 0.34502112865448, 0.39567917585372925, -0.011026688851416111, 0.013497421517968178, -0.6607791781425476, -0.43618494272232056, -0.09126199781894684, -0.6987561583518982, -0.6024515628814697, -0.5228490829467773, -0.2786969840526581, 0.11916539072990417, -0.28140169382095337, -0.6479136347770691, 0.11153244227170944, -0.3100162744522095, 0.5710248351097107, 0.16399912536144257, 0.5846865773200989, 0.17452460527420044, 0.5571323037147522, -0.7854236364364624, 0.4109053313732147, 0.2143065482378006, 0.5684731006622314, -0.22928230464458466, -0.5486629009246826, -0.04735855385661125, -0.15607710182666779, -0.7566878199577332, -0.5410551428794861, 0.14142897725105286, 0.35396865010261536, 0.1728467047214508, 0.22398914396762848, -0.2920261025428772, 0.8575965166091919, -0.6106794476509094, 0.8493365049362183, 0.341130793094635, -1.0961552858352661, 0.6387456655502319, -0.015402190387248993, 0.1694890260696411, 0.83486008644104, -0.1973869949579239, -0.5583076477050781, -0.5059115290641785, -0.4824215769767761, -0.7991499304771423, 0.798133373260498, 0.34936532378196716, 0.05176960304379463, 0.29716408252716064, 0.24385401606559753, 0.15970909595489502, 0.1074492335319519, -0.7337565422058105, -0.11851360648870468, -0.1319286972284317, -0.4622150659561157, -0.12069141119718552, 0.006897814106196165, 0.058124642819166183, -0.30265557765960693, 0.39213040471076965, -0.4421008229255676, 0.11259444057941437, 0.3989417254924774, -0.22320593893527985, -0.20088249444961548, 0.09603168815374374, 0.7459117770195007, 0.10647806525230408, -0.10813895612955093, 0.27554771304130554, -0.049515824764966965, -0.5701243281364441, -0.05871704965829849, 0.27293452620506287, -0.14556853473186493, 0.04895539581775665, 0.2723270356655121, 0.8933722376823425, 0.2185972034931183, -0.8185839056968689, 0.7626537084579468, -0.2366502583026886, -0.26039907336235046, 0.1613413393497467, 0.10234829038381577, -0.3043128550052643, 0.5217443704605103, 0.3061310052871704, 0.7090964913368225, 0.23676936328411102, -0.7000691890716553, 0.3221670687198639, 0.5010133385658264, -0.7316206097602844, -0.14412082731723785, 0.7168384790420532, 0.18071050941944122, -0.6412554383277893, 0.13561314344406128, -0.5649183392524719, -0.6179953813552856, 0.6394335627555847, 0.45573490858078003, 0.7216343283653259, -0.07996992021799088, 0.17797057330608368, 0.24682949483394623, 0.26876166462898254, -0.4302752614021301, 0.2996560037136078, 0.06243239715695381, -0.7451472282409668, -0.1680300235748291, -0.664245069026947, -0.4374035894870758, 0.4706522226333618, -0.44185131788253784, 0.4040036201477051, -0.4170539677143097, 0.0625738799571991, 0.22057481110095978, -0.22657901048660278, -0.7491987943649292, 0.25406134128570557, 0.14521965384483337, 0.7187914252281189, -0.853532612323761, 0.4650544822216034, 0.802516758441925, -0.2985694706439972, -0.6331490874290466, 0.31434690952301025, 0.009018255397677422, -0.6151084899902344, 0.16972489655017853, 0.7615731954574585, 0.14329184591770172, 0.00973741989582777, -0.4998455345630646, -0.2396324723958969, 0.9694949984550476, 0.21518376469612122, -0.7532116174697876, 0.2685990035533905, 0.018336882814764977, 0.4167858362197876, -0.473904013633728, 0.13202473521232605, 0.7163107395172119, 0.15742343664169312, 0.06669206917285919, -1.002895474433899, -0.04824588820338249, -0.13398538529872894, 0.05097722262144089, 0.3649686872959137, -0.4644765555858612, 0.9994848966598511, -0.04184854403138161, -0.060410015285015106, 0.491850346326828, 0.5548460483551025, 0.19650544226169586, 0.5997645258903503, 0.5100672245025635, 0.6901892423629761, 0.27424386143684387, -0.21728166937828064, 0.6284175515174866, -0.25617024302482605, 0.6704076528549194, 1.147473692893982, -0.20099884271621704, 1.058266043663025, 0.5417957901954651, -0.0040786610916256905, 0.1566683053970337, 0.5911447405815125, -0.15972934663295746, 0.7356072664260864, -0.26320070028305054, -0.021770719438791275, -0.33958643674850464, -0.1234828308224678, -0.2066422700881958, 0.38987743854522705, 0.19829660654067993, -0.35797062516212463, -0.5969850420951843, 0.08641272783279419, -0.3484013080596924, 0.4667218029499054, -0.5638691186904907, 0.8256114721298218, -0.02413311041891575, -0.6462696194648743, 0.38519832491874695, 0.17723526060581207, 1.0996119976043701, -0.1138768196105957, -0.07532978057861328, -0.3241236209869385, 0.4222237467765808, -0.27653011679649353, -1.091731071472168, 0.33407357335090637, 0.010510447435081005, -0.2019217312335968, 0.47644510865211487, 0.7664151787757874, -0.6477541327476501, -0.32484158873558044, 0.053898103535175323, 0.16502375900745392, -0.08199102431535721, -0.5390821099281311, -0.8220311403274536, 0.1174139454960823, 0.09815284609794617, 0.3745770752429962, 0.13963830471038818, 0.36324000358581543, -0.07427609711885452, 0.2879488468170166, 0.33497297763824463, -0.24466527998447418, -0.2078331559896469, 0.1404823660850525, 0.5377650260925293, -0.591679573059082, -0.407122939825058, -0.892559826374054, 0.3710636496543884, -0.2627108693122864, -0.555841863155365, 0.34428051114082336, 0.7431749701499939, 0.9396581053733826, -0.21954965591430664, 0.398997962474823, 0.09608707576990128, -0.14454035460948944, -0.7543749213218689, 0.5902392268180847, -1.0097459554672241, 0.043036188930273056, -0.5761874318122864, -1.2264000177383423, -0.26042240858078003, 0.6061241626739502, 0.06374645978212357, -0.2951655387878418, 0.8688694834709167, 0.8978400230407715, -0.4325288236141205, -0.07552625983953476, 0.47932156920433044, -0.11304890364408493, 0.3055991232395172, 0.49747300148010254, 0.6124722361564636, -0.9857778549194336, 0.3112226128578186, -0.25875964760780334, -0.18533547222614288, -0.5121409893035889, -0.9699277877807617, -0.8648843169212341, -0.8548642992973328, -0.5625289678573608, -0.2909979224205017, -0.10147809982299805, 0.654159426689148, 0.4481096863746643, -0.6823273301124573, 0.24115651845932007, -0.4470423758029938, -0.1380416303873062, -0.19452646374702454, -0.2517721951007843, 0.2509721517562866, -0.32248252630233765, -0.7605808973312378, -0.017532406374812126, 0.566927969455719, 0.515608549118042, -0.25040125846862793, 0.04681149125099182, 0.23732127249240875, 0.09193771332502365, 0.7063730955123901, 0.08896112442016602, -0.7369914054870605, -0.32864367961883545, -0.17177340388298035, -0.33230099081993103, 0.24943922460079193, 0.6437769532203674, -0.37305617332458496, 0.6576562523841858, 0.46961164474487305, 0.7146464586257935, 0.35689976811408997, -0.10296765714883804, 0.10534574091434479, -0.9140067100524902, 0.31344738602638245, -0.03326990827918053, 0.40223416686058044, 0.7882091403007507, -0.1386415809392929, 0.37549328804016113, 0.2988600432872772, -0.45360180735588074, -0.9338366389274597, 0.0945025160908699, -1.2587759494781494, -0.3250691294670105, 0.9442892670631409, 0.12389649450778961, -0.3204362690448761, 0.183048814535141, -0.7088688611984253, 0.025728853419423103, -0.08431833237409592, 0.8262714147567749, 0.601076066493988, 0.3989742398262024, -0.0891861543059349, -0.42772987484931946, 0.5457251071929932, 0.5314505696296692, -1.1356143951416016, 0.054371461272239685, 0.5045362710952759, 0.25435933470726013, 0.19283321499824524, 0.4875764548778534, -0.00804112944751978, 0.5246058702468872, -0.14308930933475494, 0.13065165281295776, 0.011752307415008545, -0.2803318202495575, -0.255608469247818, -0.13442878425121307, -0.14368616044521332, -0.522750198841095 ]
http://arxiv.org/abs/2404.14700v3
http://arxiv.org/pdf/2404.14700v3
FlashSpeech: Efficient Zero-Shot Speech Synthesis
2024-04-23T02:57:46
2024-04-25T03:38:46
Zhen Ye, Zeqian Ju, Haohe Liu, Xu Tan, Jianyi Chen, Yiwen Lu, Peiwen Sun, Jiahao Pan, Weizhen Bian, Shulin He, Qifeng Liu, Yike Guo, Wei Xue
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG, cs.SD
Recent progress in large-scale zero-shot speech synthesis has been significantly advanced by language models and diffusion models. However, the generation process of both methods is slow and computationally intensive. Efficient speech synthesis using a lower computing budget to achieve quality on par with previous work remains a significant challenge. In this paper, we present FlashSpeech, a large-scale zero-shot speech synthesis system with approximately 5\% of the inference time compared with previous work. FlashSpeech is built on the latent consistency model and applies a novel adversarial consistency training approach that can train from scratch without the need for a pre-trained diffusion model as the teacher. Furthermore, a new prosody generator module enhances the diversity of prosody, making the rhythm of the speech sound more natural. The generation processes of FlashSpeech can be achieved efficiently with one or two sampling steps while maintaining high audio quality and high similarity to the audio prompt for zero-shot speech generation. Our experimental results demonstrate the superior performance of FlashSpeech. Notably, FlashSpeech can be about 20 times faster than other zero-shot speech synthesis systems while maintaining comparable performance in terms of voice quality and similarity. Furthermore, FlashSpeech demonstrates its versatility by efficiently performing tasks like voice conversion, speech editing, and diverse speech sampling. Audio samples can be found in https://flashspeech.github.io/.
[ -0.19570864737033844, -0.8189335465431213, 0.29162436723709106, 0.46515756845474243, -0.0836537629365921, 0.17384731769561768, -0.1484757959842682, -0.12150970101356506, 0.37026119232177734, -0.09307490289211273, -0.6222410202026367, -0.35367098450660706, -0.3842088282108307, -0.18003633618354797, -0.7594029903411865, 0.7198371291160583, 0.3869612514972687, 0.16983401775360107, 0.5034933090209961, -0.06183583289384842, -0.16250093281269073, 0.01595480740070343, -0.7410574555397034, -0.27622345089912415, 0.2935539186000824, 0.5153436064720154, 0.5902740359306335, 0.2718203067779541, -0.2867966592311859, 0.20270583033561707, -0.0017696215072646737, -0.2775234282016754, -0.5056233406066895, 0.58845454454422, -0.08500748127698898, 0.07534463703632355, -0.6959553360939026, -0.1199217289686203, 0.5578125715255737, 0.5588144063949585, -0.2876933217048645, 0.2592063546180725, -0.15958642959594727, 0.17012567818164825, -0.909100353717804, -0.4406167268753052, -0.7604057192802429, 0.16165736317634583, -0.28100380301475525, -0.10204575210809708, -0.3044404983520508, -0.336182177066803, -0.04344092682003975, -0.22615255415439606, 0.6003028154373169, -0.48789718747138977, 0.38441210985183716, 0.15119300782680511, 0.024424513801932335, 0.22288210690021515, -0.8953428268432617, 0.6412058472633362, -0.8931379914283752, 0.5683491230010986, -0.03618839010596275, 0.5187361240386963, -0.1033986359834671, -0.6705057621002197, -0.9128057956695557, -0.1315302550792694, 0.87403804063797, 0.3961656093597412, -0.15942621231079102, -0.2031896561384201, -0.0033136485144495964, -0.020567456260323524, -0.7780798673629761, 0.010617082007229328, 0.13131868839263916, -0.19033066928386688, 0.4589715898036957, -0.03915993124246597, 0.15959390997886658, 0.1389937698841095, -0.06872842460870743, -0.2950279414653778, -0.7796843647956848, -0.07225111871957779, 0.32996445894241333, 0.45965376496315, 0.2665976285934448, 0.39344996213912964, -0.15707774460315704, 0.6765628457069397, 0.07832684367895126, -0.39711350202560425, 0.2720456123352051, -0.06701602041721344, -0.10451266169548035, 0.4164184033870697, 0.7753835916519165, 0.10274919867515564, -0.08014514297246933, -0.149903804063797, -0.11920605599880219, -0.17412833869457245, 0.10485177487134933, -0.9487575888633728, -0.06542088091373444, 0.32060807943344116, 0.15391163527965546, -0.1372760385274887, -0.1360468566417694, -0.5237429738044739, -0.11944844573736191, 0.008294215425848961, 0.6917014122009277, -0.6140543222427368, -0.47647690773010254, -0.17636846005916595, -0.08074295520782471, -0.01255128625780344, 0.5642914772033691, -0.7095962166786194, 0.06185314059257507, 0.4728773832321167, 1.1314184665679932, -0.07280473411083221, -0.5788682699203491, -0.9033246040344238, 0.2787074148654938, -0.7376174330711365, 0.5118978023529053, -0.06531859934329987, -0.4003438353538513, -0.3504616916179657, -0.3548438251018524, 0.11157021671533585, -0.5422613620758057, -0.010906177572906017, -0.07177059352397919, -0.2450854480266571, 0.35885822772979736, -0.5999109745025635, 0.30998653173446655, -0.21445763111114502, -0.28139838576316833, 0.6754069328308105, 0.02703694999217987, -0.2132743000984192, 0.27449148893356323, -0.43686866760253906, -0.751635730266571, 0.17333504557609558, 0.07433982938528061, -0.30315452814102173, 0.15606407821178436, 0.005971141159534454, 0.4976339042186737, -0.06488409638404846, 0.23358090221881866, -0.2215537428855896, -0.6340375542640686, 0.2937999367713928, -0.5564805865287781, 0.4909329414367676, 0.3670513331890106, -1.0538674592971802, -0.003161740954965353, -0.9039523601531982, 0.1982542872428894, -0.01790931634604931, 0.017849151045084, 0.1498812735080719, -0.18420690298080444, 0.16301843523979187, -0.010591737926006317, -0.015361755155026913, -0.5605272650718689, -0.23357179760932922, -0.5089602470397949, 0.5321474671363831, 0.5174723863601685, 0.0849415510892868, 0.6318679451942444, 0.2551485598087311, 0.27017831802368164, -0.26334643363952637, -0.02732950448989868, -0.2547829747200012, -0.3988874554634094, -0.6186169385910034, -0.41777151823043823, 0.43652865290641785, 0.4837794005870819, -0.5098763108253479, 0.6026543974876404, -0.127390056848526, -0.6411999464035034, -0.5675861835479736, -0.2869917154312134, 0.1939050555229187, 0.6714233756065369, 0.3163958489894867, -0.1684652715921402, -0.37322765588760376, -0.46895045042037964, 0.0384918749332428, -0.07911981642246246, -0.3837529420852661, -0.0029614518862217665, 0.299076646566391, 0.21111911535263062, 0.8191861510276794, -0.37159720063209534, 0.03298739716410637, -0.27644652128219604, 0.26287996768951416, 0.2503921389579773, 0.514785885810852, 0.5273035168647766, -0.3094538748264313, -0.6423996686935425, -0.20073151588439941, -0.16575387120246887, -0.19704292714595795, -0.24996545910835266, 0.0426589772105217, 0.17995555698871613, 0.3977869749069214, -0.44800594449043274, 0.3723069727420807, 0.4857019782066345, -0.08114662021398544, 0.579224169254303, -0.0357692614197731, 0.285330593585968, -0.8429927229881287, 0.4025799632072449, -0.5029121041297913, -0.38943958282470703, -0.999711811542511, -0.18150757253170013, -0.19486333429813385, -0.6127251982688904, -0.8806620836257935, 0.4891238212585449, -0.20070713758468628, -0.17674587666988373, -0.3999251127243042, 0.41221699118614197, -0.12916673719882965, 0.178218811750412, 0.06060997396707535, 1.1087672710418701, 0.8327146768569946, -0.6489412188529968, 0.2463354766368866, -0.10071969777345657, -0.16323968768119812, 0.7267125844955444, -0.7572522759437561, 0.11690526455640793, 0.21798807382583618, 0.32712626457214355, -0.8607659935951233, -0.12820687890052795, -0.1556418538093567, -0.719931423664093, 0.24666841328144073, 0.027326008304953575, -0.38778024911880493, -0.14301209151744843, -0.24553091824054718, -0.08356134593486786, 0.8767533898353577, -0.5032258629798889, 0.18139734864234924, 0.286019891500473, -0.31173175573349, -0.5305843949317932, -0.7863541841506958, 0.28013527393341064, 0.23315753042697906, -0.5212395191192627, 0.228220134973526, -0.11389192193746567, 0.026325318962335587, -0.18915188312530518, -0.3238925337791443, -0.14409491419792175, -0.09347867965698242, 0.03891461342573166, -0.14898395538330078, -0.21030117571353912, -0.18450525403022766, 0.08774162828922272, -0.08839240670204163, -0.7189915776252747, -0.2969212234020233, 0.4947302043437958, 0.16999077796936035, -0.32288894057273865, -0.5095961093902588, 0.4410879909992218, 0.6073256731033325, 0.2436162382364273, 0.6429355144500732, 0.7903117537498474, -0.013276727870106697, -0.5725848078727722, -0.311178982257843, -0.2972131669521332, -0.3863895535469055, 0.24907538294792175, -0.13124696910381317, -0.8828882575035095, 0.21059514582157135, -0.0706665962934494, 0.17997127771377563, 0.27445557713508606, 0.4251161217689514, -0.024293746799230576, 0.9706194996833801, 0.002876946469768882, 0.20260868966579437, 0.6266570091247559, -0.12843528389930725, 0.23597294092178345, -0.43577152490615845, 0.18472786247730255, -0.3566776216030121, -0.3610558807849884, 0.06501898914575577, -0.44998371601104736, 0.5201716423034668, 0.08545663207769394, -0.4734390676021576, 0.496398389339447, -0.464601993560791, 0.3663855493068695, 0.6484324336051941, -0.2099313884973526, -0.15245236456394196, 0.07349843531847, 0.08837702125310898, -0.16331002116203308, -0.6579948663711548, -0.14493565261363983, 0.8207123875617981, -0.05169583484530449, 0.384195476770401, 0.32772985100746155, 0.731863796710968, 0.23568519949913025, -0.3076910078525543, -0.39948582649230957, 0.8893244862556458, -0.39775750041007996, -0.4820813536643982, -0.3762674331665039, -0.3809887766838074, -0.7611587047576904, 0.29309701919555664, -0.4494844079017639, -0.563668429851532, -0.10755365341901779, 0.22799722850322723, -0.4837648570537567, 0.2621147930622101, -0.7898944020271301, 0.5256458520889282, 0.06962627917528152, -0.6145012974739075, -0.1972721666097641, -0.685464084148407, 0.18479830026626587, 0.04396069422364235, -0.13504593074321747, -0.26772743463516235, 0.19250540435314178, 0.5235889554023743, -0.45970624685287476, 0.6101153492927551, -0.4955783784389496, 0.08421929180622101, 0.38343682885169983, 0.3387226164340973, 0.25550252199172974, 0.04196741804480553, -0.16792944073677063, 0.18261964619159698, -0.3260921239852905, -0.26027438044548035, -0.6043899059295654, 0.9409863352775574, -0.504224956035614, -0.32216596603393555, -0.15462996065616608, -0.32400280237197876, -0.44879770278930664, 0.2890644073486328, 0.24497893452644348, 0.37065133452415466, -0.6184015870094299, 0.15973152220249176, 0.6830527782440186, -0.20535320043563843, 0.6515390872955322, 0.7627134323120117, 0.07825664430856705, -0.5196069478988647, 1.1725820302963257, 0.2891169786453247, 0.375105619430542, 0.15709517896175385, 0.09197022765874863, -0.2473222315311432, -0.5684660077095032, -0.6949203014373779, -0.006426954176276922, -0.25742006301879883, -0.27072498202323914, -0.49554479122161865, -0.24035276472568512, -0.9875383973121643, -0.43389540910720825, -0.8673630356788635, -0.8381396532058716, -0.5004252791404724, 0.1855240911245346, 0.17023617029190063, 0.3509449064731598, -0.4075257182121277, 0.441265344619751, -0.6263700723648071, 0.5724524855613708, 0.5418164134025574, 0.06563366204500198, 0.17973177134990692, -0.5390690565109253, 0.02048695832490921, -0.13357782363891602, -0.210800439119339, -0.9434551000595093, 0.32059815526008606, 0.48399779200553894, 0.37753742933273315, 0.3612018823623657, -0.0684039369225502, 0.9150042533874512, -0.9296334981918335, 1.2363795042037964, 0.5831755995750427, -1.2549782991409302, 0.7051055431365967, -0.12167529761791229, 0.7746791839599609, 0.587323009967804, -0.003952336963266134, -0.37230151891708374, -0.6522488594055176, -0.9670743942260742, -1.2793643474578857, 0.6220428347587585, 0.5233177542686462, -0.09386107325553894, -0.0033107425551861525, 0.0950646698474884, 0.15393494069576263, 0.3970834016799927, 0.037024177610874176, -0.25087669491767883, -0.6305665969848633, -0.1927328109741211, -0.3125908076763153, 0.11214320361614227, -0.053473010659217834, -0.05722326785326004, 0.9291729927062988, 0.017254717648029327, 0.15479712188243866, 0.1885589063167572, -0.17133751511573792, -0.01622767001390457, 0.5671052932739258, 0.9798374176025391, 0.4217130243778229, -0.09750161319971085, 0.4083956182003021, 0.11335179954767227, -0.6559091210365295, 0.5147835612297058, 0.002146543934941292, -0.5014114379882812, 0.34422826766967773, 0.23397305607795715, 0.8662135004997253, 0.34748443961143494, -0.6799939870834351, 0.749854564666748, 0.10586949437856674, -0.33213290572166443, -0.1951749175786972, 0.4116756319999695, 0.19001823663711548, 0.18496368825435638, 0.5142734050750732, 0.18218813836574554, 0.09805729985237122, -0.2735660672187805, 0.36123502254486084, 0.23489078879356384, 0.03616562858223915, -0.3449792265892029, 0.9122084975242615, 0.11831487715244293, -0.3885873854160309, 0.2761734127998352, -0.26717591285705566, 0.045632969588041306, 0.18375135958194733, 0.5442790985107422, 1.0360503196716309, -0.8361578583717346, 0.5601072311401367, 0.45336824655532837, -0.17363955080509186, -0.3823658227920532, 0.24945232272148132, -0.24306339025497437, -0.12640607357025146, -0.43205028772354126, -0.7453866600990295, -0.7218926548957825, 0.05033215880393982, -0.24992835521697998, 0.15662218630313873, -0.7123420238494873, -0.1339160054922104, -0.025195859372615814, -0.4857729971408844, 0.06012868881225586, 0.2503012716770172, 0.08302230387926102, 0.6274295449256897, -0.7362253665924072, 0.7316510677337646, 0.27337315678596497, -0.1839342713356018, -0.7025985717773438, 0.04986266419291496, 0.12677153944969177, -0.5156702399253845, 0.20803850889205933, -0.10053874552249908, -0.5427451133728027, 0.2375718206167221, -0.49630463123321533, -0.563145101070404, 0.9024591445922852, 0.6510134339332581, -0.8508074283599854, 0.4229638874530792, 0.014615294523537159, 0.6462589502334595, -0.3325106203556061, 0.28853079676628113, 0.5380612015724182, 0.2635776102542877, 0.6998521685600281, -0.926173210144043, -0.23551617562770844, 0.04785013198852539, 0.14423306286334991, -0.094160296022892, -0.4619075059890747, 0.7909983396530151, -0.18909060955047607, -0.26277923583984375, 0.05315094813704491, 0.8206334114074707, 0.3012726604938507, 0.2734173834323883, 0.5140162110328674, 0.3915252089500427, 0.7308179140090942, -0.0049288515001535416, 0.33059555292129517, -0.13275183737277985, 0.050013743340969086, 1.3080172538757324, -0.5733383893966675, 1.166285753250122, 0.29202672839164734, -0.2225058227777481, 0.2731880247592926, 0.04908285290002823, -0.0019178600050508976, 0.7105097770690918, -0.009428047575056553, -0.6456549167633057, -0.1926346719264984, 0.160440132021904, -0.22750605642795563, 0.3577278256416321, 0.04078853875398636, 0.1533820927143097, -0.2786826491355896, 0.18513302505016327, 0.04531387239694595, -0.1486179083585739, -0.1671828180551529, 0.638455867767334, -0.2739405035972595, -0.45287126302719116, 0.7189620733261108, -0.31866443157196045, 0.6620938777923584, -0.8612011671066284, -0.07267967611551285, -0.1612463891506195, 0.19115787744522095, -0.14443737268447876, -0.8978354930877686, 0.28493037819862366, 0.13616755604743958, -0.03719579428434372, -0.2362324446439743, 0.46605509519577026, -0.575477123260498, -0.09107834845781326, -0.16920529305934906, 0.38864269852638245, 0.4475081264972687, -0.19205649197101593, -0.66449373960495, 0.13812872767448425, 0.08769246935844421, -0.26745831966400146, 0.27802637219429016, 0.15802346169948578, 0.3078024685382843, 0.2812265455722809, 0.6420836448669434, 0.614933431148529, 0.17754733562469482, 0.44939330220222473, 0.24705621600151062, -0.5487596988677979, -0.6044988632202148, -0.5513961911201477, 0.48011770844459534, -0.07723472267389297, -0.20444931089878082, 0.8289299607276917, 0.3646319806575775, 0.36324208974838257, -0.046951111406087875, 0.759212851524353, -0.23758424818515778, 0.8208168745040894, -0.20380422472953796, 0.8891489505767822, -0.5021946430206299, -0.09278614073991776, -0.33282148838043213, -0.9756484627723694, -0.43250754475593567, 0.6713569164276123, 0.28485751152038574, -0.06575773656368256, 0.4554969072341919, 0.7549487948417664, 0.002542447531595826, 0.007197920698672533, 0.7356719374656677, 0.2867337167263031, 0.4333890676498413, 0.24517524242401123, 0.33305439352989197, -0.4287445843219757, 0.6119129061698914, -0.09075058996677399, -0.36346444487571716, -0.16944439709186554, -0.6797100901603699, -0.24807704985141754, -0.5515870451927185, -0.4465872347354889, -0.288184255361557, 0.12385894358158112, 0.4577471613883972, 0.9017866849899292, -0.8591176271438599, -0.17593926191329956, -0.25583499670028687, -0.23267021775245667, -0.37071895599365234, -0.28791525959968567, 0.13626232743263245, -0.22398558259010315, -0.9607521891593933, 1.1803734302520752, 0.6113333106040955, 0.3147558271884918, -0.39905306696891785, -0.04673129320144653, -0.2456657588481903, 0.23154260218143463, 0.47407516837120056, 0.5246816873550415, -0.42189842462539673, -0.08086942881345749, -0.012974180281162262, 0.17888988554477692, -0.08875490725040436, 0.7726625204086304, -0.6427791118621826, 0.528219997882843, 0.5037158727645874, 0.3335142433643341, 0.7924055457115173, -0.25349560379981995, 0.45397114753723145, -0.9384125471115112, 0.39738157391548157, 0.42090266942977905, -0.024839576333761215, 0.4334017038345337, 0.047379910945892334, 0.26694393157958984, 0.2621297240257263, -0.467219740152359, -0.7631784081459045, 0.24433213472366333, -0.9008933901786804, -0.49640992283821106, 1.103096604347229, -0.07454898953437805, -0.38983744382858276, 0.015378710813820362, -0.11783542484045029, 0.42142224311828613, -0.6840270161628723, 0.32552289962768555, 0.16905970871448517, -0.4987015128135681, -0.13944020867347717, -0.360869824886322, 0.19499464333057404, 0.4024031460285187, -0.3608168363571167, -0.008728738874197006, 0.6537787914276123, 0.5757644772529602, 0.24024245142936707, 0.8887801170349121, 0.014076282270252705, 0.5403620600700378, 0.5042959451675415, 0.3664602041244507, -0.024378333240747452, -0.3912044167518616, -0.2967938184738159, 0.6064825654029846, -0.3113192915916443, -0.027402101084589958 ]
http://arxiv.org/abs/2404.14695v1
http://arxiv.org/pdf/2404.14695v1
MisgenderMender: A Community-Informed Approach to Interventions for Misgendering
2024-04-23T02:54:00
2024-04-23T02:54:00
Tamanna Hossain, Sunipa Dev, Sameer Singh
cs.CL
cs.CL
Content Warning: This paper contains examples of misgendering and erasure that could be offensive and potentially triggering. Misgendering, the act of incorrectly addressing someone's gender, inflicts serious harm and is pervasive in everyday technologies, yet there is a notable lack of research to combat it. We are the first to address this lack of research into interventions for misgendering by conducting a survey of gender-diverse individuals in the US to understand perspectives about automated interventions for text-based misgendering. Based on survey insights on the prevalence of misgendering, desired solutions, and associated concerns, we introduce a misgendering interventions task and evaluation dataset, MisgenderMender. We define the task with two sub-tasks: (i) detecting misgendering, followed by (ii) correcting misgendering where misgendering is present in domains where editing is appropriate. MisgenderMender comprises 3790 instances of social media content and LLM-generations about non-cisgender public figures, annotated for the presence of misgendering, with additional annotations for correcting misgendering in LLM-generated text. Using this dataset, we set initial benchmarks by evaluating existing NLP systems and highlighting challenges for future models to address. We release the full dataset, code, and demo at https://tamannahossainkay.github.io/misgendermender/.
[ -0.1574636548757553, -0.6544119715690613, 0.014880453236401081, 0.33928391337394714, 0.11733726412057877, 0.1730298548936844, 0.03986117243766785, -0.27025943994522095, 0.08826170116662979, 0.38757553696632385, -1.0794942378997803, -0.44523900747299194, -0.873594343662262, 0.46995809674263, -0.4558742344379425, 0.6060096025466919, 0.07525193691253662, 0.18236353993415833, -0.17761242389678955, -0.030394267290830612, -0.936874270439148, -0.27431434392929077, -0.6842833161354065, -0.08515702933073044, 0.5781495571136475, 0.6880237460136414, 0.39957794547080994, 0.5928793549537659, 0.5532223582267761, 0.28090304136276245, -0.20331591367721558, 0.43319568037986755, -0.892676830291748, 0.05175665766000748, -0.47018930315971375, -0.3359050452709198, -0.15581189095973969, 0.09297871589660645, 0.25008296966552734, 0.7335615754127502, -0.2018522024154663, 0.22781991958618164, 0.1982111930847168, 0.6700755953788757, -0.9225679636001587, -0.26812949776649475, -0.5549549460411072, 0.31977778673171997, -0.18553730845451355, -0.19669495522975922, -0.09303881973028183, -0.5221431851387024, -0.01582389511168003, -0.294584721326828, 0.6402042508125305, 0.04498576000332832, 0.14449462294578552, 0.22245126962661743, -0.2460678219795227, -0.40787413716316223, -0.9453147053718567, 0.8626109957695007, -0.5803540945053101, 0.14178283512592316, 0.567939281463623, 0.13905397057533264, -0.16837552189826965, -0.24685776233673096, -0.4584103226661682, 0.5170732736587524, -0.12737999856472015, 0.06889659911394119, -0.5746753811836243, -0.07632005214691162, 0.26972705125808716, -0.011664120480418205, -0.6728845834732056, -0.004547640681266785, -0.577107310295105, -0.22507484257221222, 0.7731474041938782, 0.305591344833374, 0.4422529637813568, -0.3082869052886963, -0.20685458183288574, 0.2027772217988968, -0.5471825003623962, -0.4605800211429596, 0.6234517693519592, 0.39623555541038513, 0.0671275183558464, 0.8123862147331238, 0.016209179535508156, 0.3897777795791626, 0.13798274099826813, 0.17548894882202148, 0.3759235143661499, -0.2301015704870224, -0.13508914411067963, 0.2747347354888916, 0.553363025188446, 0.6883951425552368, 0.2182369977235794, -0.10530830174684525, -0.06357360631227493, -0.10511163622140884, 0.41143542528152466, -0.4365431070327759, 0.04605090618133545, 0.08680906146764755, -0.5943888425827026, -0.27459457516670227, -0.01348046213388443, -0.7882679104804993, -0.803138017654419, -0.09514813125133514, 0.27961137890815735, -0.44227826595306396, -0.4380529820919037, 0.17390941083431244, -0.6543816328048706, 0.11445964872837067, 0.4341137409210205, -0.8391086459159851, 0.11689211428165436, 0.7950479984283447, 0.6653056144714355, 0.014498705044388771, -0.20375019311904907, -0.12407315522432327, 0.13896889984607697, -0.10369640588760376, 0.4981735944747925, -0.6478727459907532, -0.6185588836669922, 0.2367558777332306, 0.27105486392974854, -0.31690457463264465, -0.6572124361991882, 0.5714519023895264, -0.02075004018843174, 0.37342971563339233, -0.4554060399532318, -0.40605881810188293, 0.02238699235022068, 0.2958706021308899, -0.5110666751861572, 0.8426969647407532, 0.07469654828310013, -1.0006288290023804, 0.2783154845237732, -0.7945873141288757, -0.15044616162776947, -0.004171791020780802, 0.007480832282453775, -0.25881221890449524, 0.10982449352741241, 0.27854883670806885, 0.14420853555202484, -0.07168843597173691, 0.15223203599452972, -0.06690195202827454, -0.4372270107269287, -0.005369856953620911, -0.6366314888000488, 0.7337846159934998, 0.11795803159475327, -0.3567987084388733, 0.10798562318086624, -0.42163339257240295, -0.5686953663825989, 0.25931307673454285, 0.05069950968027115, -0.6002741456031799, 0.0433911569416523, 0.14582671225070953, 0.06885271519422531, 0.326130747795105, -0.6326058506965637, -0.100856713950634, -0.23424658179283142, 0.18885065615177155, 0.8579288125038147, 0.020479917526245117, 0.3888709843158722, -0.5539336800575256, 0.6891792416572571, -0.030744880437850952, 0.5450486540794373, 0.09740486741065979, -0.5038766264915466, -0.4056110084056854, -0.06256807595491409, 0.2634173333644867, 0.791398286819458, -1.10789954662323, 0.5173726677894592, -0.18938449025154114, -0.3417912721633911, -0.46671590209007263, 0.11508488655090332, 0.5199090838432312, 0.5031000375747681, 0.449432373046875, -0.2574153542518616, -0.8144903779029846, -1.1997395753860474, -0.45860451459884644, -0.21603788435459137, -0.10490180552005768, 0.1443146914243698, 0.3994291424751282, -0.4018866717815399, 1.0463829040527344, -0.5032972097396851, -0.24302731454372406, -0.2677314579486847, 0.6596599817276001, -0.30800414085388184, 0.5868074297904968, 0.26927727460861206, -0.7002309560775757, -0.004826591815799475, -0.3806906044483185, -0.8355920910835266, -0.43913733959198, 0.031577955931425095, -0.2605273127555847, -0.17282985150814056, 0.5051483511924744, -0.2769898474216461, 0.3865519165992737, 0.4287808835506439, -0.11727282404899597, 0.3575255274772644, -0.09746850281953812, 0.38041603565216064, -0.8790512084960938, 0.0868777334690094, 0.10835132002830505, -0.0481543093919754, -0.9850268959999084, -0.32537007331848145, -0.06358540803194046, -0.023892773315310478, -0.5770480632781982, 0.32177525758743286, -0.43687161803245544, 0.06543976068496704, -0.2360626608133316, -0.19438375532627106, -0.3452681601047516, 0.16027840971946716, -0.17230068147182465, 0.6774088740348816, -0.11870962381362915, -0.15167279541492462, -0.21835903823375702, 0.5799648761749268, -0.029888072982430458, 0.8539665937423706, -0.3921538293361664, 0.21853363513946533, -0.6986926198005676, 0.2001066952943802, -0.8808315992355347, -0.21786312758922577, 0.9711620807647705, -0.3668900728225708, 0.10050684213638306, -0.09643950313329697, -0.55796217918396, -0.493989497423172, -0.4975484013557434, 0.4944234788417816, 0.040016744285821915, -0.1629573106765747, 0.6093877553939819, 0.4994702637195587, -0.44104862213134766, -0.8702548146247864, -0.7012167572975159, 0.4050843119621277, -0.20355111360549927, -0.5256780385971069, 0.017480332404375076, -0.10991344600915909, -0.1847892701625824, -0.07817849516868591, -0.0751524418592453, -0.262319952249527, 0.15858958661556244, 0.09396656602621078, 0.05051610618829727, 0.20945845544338226, 0.4608656167984009, 0.37092313170433044, -0.08058254420757294, -0.06487569212913513, 0.35264331102371216, 0.5461809039115906, 0.3331674635410309, -0.4680711328983307, -0.26693958044052124, 0.6607844233512878, 0.006393853574991226, -0.03917044773697853, 0.5739571452140808, 0.6494406461715698, -0.5440202951431274, 0.020606813952326775, -0.5275501608848572, -0.09494902193546295, -0.4439695477485657, 0.3371036648750305, 0.15083274245262146, -1.0853326320648193, 0.23414243757724762, -0.13268832862377167, 0.24637098610401154, 0.5577378273010254, 0.17061924934387207, -0.41788920760154724, 0.9190908074378967, 0.6395254731178284, -0.153412327170372, 0.46058979630470276, 0.0040554022416472435, -0.05442046374082565, -0.5947796702384949, -0.154322549700737, -0.5593335032463074, -0.661686897277832, -0.6189441084861755, -0.735076367855072, 0.04937081038951874, -0.17446795105934143, -0.041730064898729324, 0.3522607088088989, -0.6094670295715332, 0.40619251132011414, 0.3552805483341217, 0.30520111322402954, 0.25315922498703003, -0.12775075435638428, 0.47488757967948914, -0.2825663685798645, -0.7855075001716614, -0.45512059330940247, 0.9775224924087524, 0.31748393177986145, 0.8438495397567749, 0.1171645000576973, 0.8730990886688232, 0.7817570567131042, 0.6985540390014648, -0.4501565098762512, 0.384873628616333, -0.3276098370552063, -1.0339256525039673, -0.3272753953933716, -0.6226387619972229, -1.2019622325897217, 0.09032629430294037, -0.27283310890197754, -0.621199369430542, 0.6962311267852783, 0.17491061985492706, -0.04206424951553345, 0.20375068485736847, -0.46788355708122253, 0.7776336669921875, -0.04064991697669029, -0.03933660313487053, -0.11946097761392593, -0.8832948803901672, 0.5976788997650146, -0.21454939246177673, 0.6897301077842712, -0.2913064956665039, 0.14623454213142395, 0.5679071545600891, -0.1687893569469452, 1.1171438694000244, -0.5087006092071533, -0.10596321523189545, 0.04479563236236572, -0.13555431365966797, 0.2172556221485138, -0.4715263247489929, 0.045574452728033066, 0.2736772298812866, -0.3309010863304138, -0.1385764628648758, -0.3016015589237213, 0.2992154657840729, -0.5586185455322266, -0.47298362851142883, -0.1307399719953537, -0.4959346354007721, -0.08596260845661163, -0.14814208447933197, 0.24942398071289062, 0.20986369252204895, -0.5926169157028198, -0.024421533569693565, 0.8936148285865784, -0.5101283192634583, 0.23912790417671204, 0.2071014940738678, -0.1587281972169876, -0.3145875632762909, 1.0471678972244263, -0.022318575531244278, 0.03273743391036987, 0.36823585629463196, 0.22208420932292938, -0.15201081335544586, -0.1723843365907669, -0.3435903787612915, 0.09089047461748123, -0.672732412815094, 0.02292346954345703, -0.7066013216972351, -0.02743411436676979, -0.34614095091819763, -0.020262135192751884, -0.24632708728313446, -0.32851487398147583, -0.47476333379745483, 0.034119248390197754, 0.036524273455142975, 0.6390495896339417, -0.3336612284183502, 0.6453391313552856, -0.8905288577079773, 0.42158785462379456, 0.3185672163963318, 0.09361208230257034, -0.15330232679843903, -0.3052423894405365, 0.01640617474913597, 0.14517448842525482, -0.22287283837795258, -0.9581200480461121, 0.322147935628891, 0.11925759166479111, 0.6020978093147278, 0.10800796747207642, -0.09862373769283295, 0.6471323370933533, -0.5342526435852051, 0.5567908883094788, 0.25473394989967346, -0.9045794606208801, 0.6114994287490845, -0.3470432758331299, 0.4622856080532074, 0.9381154775619507, 0.34075430035591125, -1.0589027404785156, -0.5471150279045105, -0.43224722146987915, -0.9387494921684265, 0.8248511552810669, 0.4324723184108734, 0.35986948013305664, -0.24185070395469666, 0.20825903117656708, 0.18422193825244904, 0.5688675045967102, -0.3081149458885193, -0.5234706401824951, -0.1564009040594101, -0.3078908920288086, 0.02436075173318386, -0.4839234948158264, -0.35937970876693726, 0.018587235361337662, 0.6550648808479309, 0.007997128181159496, 0.36528804898262024, 0.1968434602022171, -0.42352351546287537, -0.3850497603416443, 0.23125585913658142, 0.7449432611465454, 0.5715556144714355, -0.27039167284965515, -0.06862716376781464, 0.04486561566591263, -0.3815913200378418, 0.07955853641033173, 0.16743141412734985, -0.1837242692708969, 0.3582671880722046, 0.3603864908218384, 0.3815159797668457, 0.28174033761024475, -0.5365583896636963, 0.6700088977813721, -0.4192168414592743, -0.47366011142730713, -0.05913277715444565, -0.1877879649400711, 0.046559158712625504, 0.1709294617176056, 0.5424066185951233, 0.24411948025226593, 0.4881727695465088, -0.22883300483226776, 0.1152840256690979, 0.3776189386844635, -0.6705945730209351, -0.02660905010998249, 0.4497387409210205, 0.23424501717090607, -0.3908178508281708, 0.376991331577301, -0.09717272222042084, -0.46739256381988525, 0.7334474325180054, 0.19944381713867188, 1.192388892173767, -0.5229896903038025, 0.379169225692749, 0.29017385840415955, 0.8031750321388245, -0.026677602902054787, 0.2948582172393799, 0.267832487821579, -0.7890207767486572, -0.16950483620166779, -0.3104415535926819, -0.28509843349456787, -0.04796373471617699, -0.46004632115364075, 0.1304951161146164, -0.4275570511817932, -0.24071557819843292, -0.016084931790828705, -0.6271077990531921, -0.5946102142333984, 0.12701384723186493, 0.2299349009990692, 0.9043043851852417, -1.1259257793426514, 0.028698978945612907, 0.5585559010505676, -0.07326173037290573, -0.17618680000305176, 0.3087853789329529, 0.5916185975074768, -0.5992408394813538, 0.4788978397846222, 0.26285818219184875, -0.14033937454223633, -0.06056416034698486, -0.8397823572158813, -0.6045438647270203, 0.888796865940094, 0.2745819091796875, -0.6066122651100159, 0.18167299032211304, 0.387933611869812, 0.2696618139743805, -0.21798749268054962, 0.0957227349281311, 0.5103567838668823, 0.6331488490104675, 0.03721752390265465, -0.7780526280403137, -0.126301109790802, -0.2056308388710022, 0.266976535320282, 0.18393740057945251, -0.23251721262931824, 0.5776804089546204, 0.24750977754592896, -0.4042177200317383, 0.13105781376361847, 0.3615427315235138, 0.09434773027896881, 0.28371462225914, 0.8266648650169373, 0.3069809675216675, 0.6912850737571716, -0.08130058646202087, 0.7505286931991577, 0.10533007979393005, 0.19850125908851624, 1.140299916267395, -0.16068395972251892, 0.19734060764312744, 0.4643547236919403, -0.03106720745563507, -0.08837327361106873, 0.45910000801086426, 0.03853326663374901, 0.37408506870269775, 0.4212033450603485, -0.41550058126449585, -0.07857128232717514, -0.3961080014705658, -0.3987656235694885, 0.45451924204826355, 0.3338559865951538, -0.5049722194671631, -0.5526310801506042, 0.14147880673408508, -0.08292175084352493, 0.18581771850585938, -0.21246154606342316, 0.7762490510940552, -0.12734496593475342, 0.019974274560809135, 0.16829347610473633, 0.26211121678352356, 0.906947135925293, -0.492646723985672, -0.1439402550458908, -0.3175712525844574, -0.17746752500534058, -0.29583683609962463, -0.5536755323410034, 0.468568354845047, 0.05131327360868454, -0.4251156449317932, -0.2919442653656006, 1.0543267726898193, -0.6608123183250427, -0.7135807871818542, 0.1518552005290985, 0.8196479082107544, 0.061731547117233276, 0.10398814082145691, -0.8830581307411194, 0.06053188443183899, 0.10313291102647781, 0.07947706431150436, 0.0781555026769638, 0.2947539687156677, -0.0951409712433815, 0.5793896913528442, 0.4661853313446045, -0.17408204078674316, -0.010448561981320381, 0.5355618000030518, 0.5257333517074585, -0.46649467945098877, 0.04223393648862839, -0.825772762298584, 0.4330293536186218, -0.23691211640834808, -0.42458486557006836, 0.6623503565788269, 0.5470030307769775, 0.674168050289154, -0.12471078336238861, 0.8911398649215698, -0.14323176443576813, 0.5965926647186279, 0.02953323721885681, 0.5164315700531006, -0.6301918625831604, 0.15902593731880188, -0.5373056530952454, -0.7467226386070251, -0.33334553241729736, 0.3049263656139374, -0.4210517704486847, 0.02828284539282322, 0.1207914724946022, 0.9564566612243652, -0.025403298437595367, 0.35471633076667786, 0.3294207453727722, 0.017036007717251778, 0.17117124795913696, -0.05107375234365463, 1.220531702041626, -0.326870322227478, 0.30100762844085693, -0.24548029899597168, -0.2463463544845581, -0.21371427178382874, -0.6911280751228333, -0.5474836230278015, -0.19425104558467865, -0.1997135579586029, 0.1234164834022522, 0.510441780090332, 1.079671025276184, 0.21531397104263306, -0.4945182204246521, -0.319982647895813, -0.04082490876317024, 0.30612215399742126, -0.1616964042186737, -0.22870458662509918, -0.19111280143260956, -0.11990727484226227, -0.8518936038017273, 0.17326363921165466, 0.19866403937339783, -0.23388062417507172, -0.18181076645851135, 0.07490519434213638, -0.4537118077278137, -0.011665591038763523, 0.5522608757019043, 0.0867704227566719, -0.24703368544578552, -0.2380794882774353, -0.3701535761356354, -0.1634477823972702, 0.1459980309009552, 0.8514873385429382, -0.1425369381904602, 0.47041288018226624, 0.43190619349479675, 0.6538087129592896, 0.15154321491718292, 0.3777894079685211, 0.6066428422927856, -1.142433524131775, -0.23451241850852966, 0.35517728328704834, 0.2339850217103958, 0.6098890900611877, -0.5546197295188904, 0.563994824886322, 0.4863070249557495, -0.2563638389110565, -0.5182772874832153, 0.12395666539669037, -0.5385090708732605, -0.5467174053192139, 0.8637558221817017, 0.10176722705364227, -0.16709332168102264, -0.42384374141693115, -0.3949717879295349, 0.4897069036960602, -0.4946955442428589, 0.7497134208679199, 0.6651110053062439, 0.21640437841415405, -0.2479352355003357, -0.6270989775657654, 0.1918596476316452, 0.3064185082912445, -0.9351774454116821, 0.45617249608039856, 0.751440703868866, 0.24261783063411713, 0.08199062943458557, 0.7103074789047241, -0.07033763825893402, 0.2776414155960083, -0.1889628916978836, 0.5307470560073853, 0.21103206276893616, -0.16714836657047272, -0.5739803910255432, -0.12260010838508606, -0.4108543395996094, -0.1036854013800621 ]
http://arxiv.org/abs/2404.14687v1
http://arxiv.org/pdf/2404.14687v1
Pegasus-v1 Technical Report
2024-04-23T02:32:57
2024-04-23T02:32:57
Raehyuk Jung, Hyojun Go, Jaehyuk Yi, Jiho Jang, Daniel Kim, Jay Suh, Aiden Lee, Cooper Han, Jae Lee, Jeff Kim, Jin-Young Kim, Junwan Kim, Kyle Park, Lucas Lee, Mars Ha, Minjoon Seo, Abraham Jo, Ed Park, Hassan Kianinejad, SJ Kim, Tony Moon, Wade Jeong, Andrei Popescu, Esther Kim, EK Yoon, Genie Heo, Henry Choi, Jenna Kang, Kevin Han, Noah Seo, Sunny Nguyen, Ryan Won, Yeonhoo Park, Anthony Giuliani, Dave Chung, Hans Yoon, James Le, Jenny Ahn, June Lee, Maninder Saini, Meredith Sanders, Soyoung Lee, Sue Kim, Travis Couture
cs.MM
cs.MM, cs.AI, cs.CL, cs.CV
This technical report introduces Pegasus-1, a multimodal language model specialized in video content understanding and interaction through natural language. Pegasus-1 is designed to address the unique challenges posed by video data, such as interpreting spatiotemporal information, to offer nuanced video content comprehension across various lengths. This technical report overviews Pegasus-1's architecture, training strategies, and its performance in benchmarks on video conversation, zero-shot video question answering, and video summarization. We also explore qualitative characteristics of Pegasus-1 , demonstrating its capabilities as well as its limitations, in order to provide readers a balanced view of its current state and its future direction.
[ -0.7575013041496277, -1.0183755159378052, 0.20318906009197235, 0.6402340531349182, -0.6206725239753723, -0.16181571781635284, 0.08375158905982971, -0.5499915480613708, 0.5978513956069946, 0.5781297087669373, -1.0711524486541748, -0.4600580334663391, -0.7702915668487549, -0.3005087077617645, -0.9303985238075256, 0.8577168583869934, -0.07172179222106934, -0.029493778944015503, 0.02400006167590618, -0.21426735818386078, -0.20498396456241608, -0.46253064274787903, -0.9256377220153809, 0.3112649619579315, 0.5062037110328674, 0.5386679768562317, 0.7714070677757263, 0.7633668780326843, 0.7951786518096924, 0.34148356318473816, 0.10817228257656097, -0.09938694536685944, -0.4215500056743622, 0.06458835303783417, 0.14208267629146576, 0.12695199251174927, -0.5247754454612732, -0.2958656847476959, 0.9289706349372864, 0.5686442852020264, -0.10352747142314911, 0.4134156107902527, -0.015490645542740822, 0.6128783226013184, -0.7583438754081726, 0.2760864198207855, -0.26272672414779663, 0.39817285537719727, -0.3806098997592926, -0.28450748324394226, -0.07053111493587494, 0.21924173831939697, 0.3339592516422272, -1.264984369277954, 0.4511834383010864, -0.2557845115661621, 0.7657453417778015, 0.6553442478179932, -0.501825749874115, 0.009091632440686226, -0.7872999310493469, 0.4474714696407318, -0.4037473201751709, 0.7216623425483704, 0.6500256061553955, 0.7781964540481567, 0.3833029270172119, -1.2173837423324585, -0.6742836236953735, -0.221205934882164, 0.09557117521762848, 0.0471205972135067, -0.06585600227117538, 0.07623466849327087, -0.252616286277771, 0.06457449495792389, -0.610333263874054, 0.08775915205478668, -0.591619074344635, -0.04801050201058388, 0.3086550831794739, 0.500170886516571, 0.18243059515953064, -0.05559920147061348, -0.3592235743999481, 0.13095667958259583, -0.20029252767562866, 0.32094892859458923, -0.029338065534830093, 0.3061853051185608, -0.23042231798171997, 0.361122727394104, -0.49300825595855713, 0.5657221674919128, -0.07823793590068817, -0.03770238533616066, -0.04276429861783981, -0.4517727792263031, -0.5782484412193298, 0.4739612340927124, 0.5364811420440674, 0.3717070519924164, -0.2666603922843933, -0.10654512047767639, 0.03223531320691109, -0.2672906517982483, 0.6605089902877808, -0.8530081510543823, 0.2014947086572647, 0.14815129339694977, -0.3365417420864105, -0.04714357107877731, 0.5769860148429871, -0.7638164758682251, -0.4638737738132477, -0.19349084794521332, 0.654755175113678, -0.5452039837837219, -0.4216987192630768, 0.5091874599456787, -0.20253047347068787, 0.31982722878456116, 0.5723822116851807, -1.2264927625656128, 0.7973283529281616, 0.8918346762657166, 0.8339484930038452, 0.10996218770742416, -0.6809658408164978, -0.8176178336143494, 0.10213272273540497, -0.14094354212284088, 0.5364232063293457, -0.2045508325099945, -0.2191629409790039, 0.2231932431459427, 0.25301069021224976, 0.24935080111026764, -0.0681222677230835, 0.8421489000320435, -0.38889020681381226, 0.27683186531066895, -0.6360191702842712, -0.3303104639053345, -0.5207039713859558, 0.3585223853588104, -0.9383839964866638, 0.6767178177833557, 0.15094755589962006, -0.8401858806610107, 0.7252475619316101, -0.7291545867919922, -0.2602185606956482, 0.22514548897743225, -0.07183657586574554, -0.19837625324726105, -0.25288864970207214, 0.09217248857021332, 0.2338436096906662, -0.2715217173099518, 0.1521967351436615, -0.0628485158085823, -0.3184628188610077, -0.09407152980566025, -0.47749438881874084, 0.08528997004032135, 0.35593849420547485, -0.279654324054718, -0.02612423337996006, -0.6683753132820129, -0.3643978238105774, -0.0012744227424263954, -0.027557894587516785, 0.15173183381557465, 0.1751536875963211, 0.3868929147720337, 0.1810971200466156, 0.2513437271118164, -0.593113362789154, 0.021519968286156654, -0.2579631209373474, 0.26039832830429077, 0.2566571831703186, -0.036946263164281845, 0.6035067439079285, -0.09569797664880753, 0.7267266511917114, 0.20605874061584473, 0.6210153102874756, -0.6983664035797119, -0.3269152045249939, -0.8179523348808289, -0.2739008665084839, -0.25572964549064636, 0.396314799785614, -0.9786155819892883, -0.3494434356689453, -0.14414100348949432, -0.5385037660598755, -0.6324817538261414, 0.20946913957595825, 0.24667680263519287, 0.9128814339637756, 0.43309423327445984, -0.24889768660068512, -0.5947579145431519, -1.076392412185669, 0.1865534633398056, -0.2762441635131836, 0.29065319895744324, 0.04364124685525894, 0.17772188782691956, 0.025130746886134148, 0.8738106489181519, -0.03668177127838135, 0.0016368404030799866, -0.15778124332427979, 0.3901852071285248, 0.016597656533122063, 0.34363502264022827, 0.8850258588790894, -1.0942409038543701, -0.3968803584575653, 0.13066960871219635, -0.9044538140296936, 0.2500186860561371, -0.16058863699436188, 0.09715861082077026, 0.13849884271621704, 0.13294965028762817, -0.7486951351165771, 0.39290493726730347, 0.33127039670944214, -0.689437747001648, 0.2606276869773865, -0.15862807631492615, 0.6416401863098145, -0.6958209276199341, 0.009845892898738384, 0.3330509662628174, -0.03603057190775871, -0.8475572466850281, -0.013250362128019333, -0.19838468730449677, -0.047805577516555786, -1.1103423833847046, 0.7018927335739136, 0.027736632153391838, -0.18278498947620392, -0.24168017506599426, 0.0926131084561348, 0.08539721369743347, 0.3814983069896698, 0.3426652252674103, 0.7296016216278076, 0.9054016470909119, -0.9992889761924744, 0.6402955055236816, 0.5894768238067627, -0.42293739318847656, 0.1634572148323059, -0.6696194410324097, -0.19056227803230286, -0.4994514584541321, -0.27879732847213745, -1.069002628326416, -0.4114646017551422, 0.29990336298942566, -0.5245514512062073, 0.25915729999542236, 0.10848811268806458, -0.21700555086135864, -0.16628266870975494, -0.34484121203422546, 0.31298330426216125, 0.054573435336351395, -0.38739854097366333, 0.295416921377182, 0.4864448010921478, -0.5412157773971558, -0.8427152633666992, -0.8294667601585388, 0.2698497176170349, -0.24405086040496826, -0.9912202954292297, 0.41690152883529663, 0.27786436676979065, -0.2798458933830261, -0.04878010228276253, -0.19349674880504608, -0.7840908765792847, 0.20199069380760193, 0.3552544414997101, 0.21495823562145233, -0.5538212656974792, 0.28113123774528503, 0.10470210015773773, -0.22885674238204956, 0.06595928966999054, -0.2071685940027237, 0.08229661732912064, -0.17300228774547577, -0.4136371910572052, -0.6324108839035034, 0.5792763829231262, 0.7472637295722961, -0.152713343501091, 0.7574583292007446, 0.7759681344032288, -0.3667030930519104, 0.11563128232955933, -0.3668287694454193, -0.0584234818816185, -0.5273844599723816, 0.8065488338470459, -0.22278714179992676, -0.9556031227111816, 0.43756726384162903, 0.3819621205329895, 0.08607291430234909, 0.38766369223594666, 0.44078758358955383, -0.12103147059679031, 0.6746984720230103, 0.9489815831184387, -0.06035121530294418, 0.5697208046913147, -0.18866021931171417, -0.24863041937351227, 0.06328058242797852, -0.6559438109397888, -0.5740139484405518, -0.16884738206863403, -0.31736546754837036, -0.009283204562962055, 0.5444961786270142, -0.08280657976865768, -0.7125950455665588, 0.42965808510780334, -0.26035329699516296, 0.35293999314308167, 0.543571412563324, -0.05191764608025551, 0.19633737206459045, -0.18115931749343872, 0.2714724540710449, -0.2834862470626831, -0.9175071716308594, -0.6203453540802002, 0.4659934639930725, 0.6518603563308716, 0.6847636103630066, 0.45959582924842834, 0.12495068460702896, 0.3945434093475342, 0.09287572652101517, -0.7358858585357666, 0.48582905530929565, -0.236078143119812, -0.6288337707519531, -0.4992274045944214, 0.019874202087521553, -0.813251256942749, -0.014123203232884407, -0.38976630568504333, -0.5833489298820496, -0.33416613936424255, 0.14615726470947266, -0.44089275598526, 0.24239401519298553, -0.5307586193084717, 1.287949800491333, -0.3806259036064148, -0.5116633772850037, -0.1982882022857666, -0.7638582587242126, 0.5001267790794373, -0.05188986659049988, 0.21031713485717773, 0.4366868734359741, -0.27159589529037476, 0.6215552091598511, -0.4078406095504761, 0.5142056941986084, -0.12618005275726318, 0.1103191003203392, 0.451473206281662, 0.2750910818576813, -0.10979834198951721, 0.2117426097393036, 0.07100089639425278, -0.09239381551742554, 0.3437637984752655, -0.45547816157341003, -0.7406215667724609, 0.37093690037727356, -0.8632507920265198, -0.45208510756492615, -0.04251755028963089, -0.17414771020412445, -0.1018114686012268, 0.004870216827839613, 0.24588832259178162, 0.5834234952926636, -0.5800113677978516, 0.1694045513868332, 0.5120523571968079, -0.3764324486255646, 0.7297829985618591, 0.8776854276657104, -0.5514174103736877, -0.4735197126865387, 0.7611597180366516, 0.051614951342344284, 0.09744089841842651, 0.5950552821159363, -0.3881939947605133, -0.3431349992752075, -0.36094605922698975, -0.5595412254333496, -0.07286343723535538, -0.7763223052024841, 0.3053820729255676, -0.5488762855529785, -0.222885861992836, -0.4049581289291382, 0.016945969313383102, -0.6389195919036865, -0.8287044763565063, -0.308504194021225, -0.42255982756614685, 0.09971296787261963, 0.8679991364479065, 0.3036153316497803, 0.671842098236084, -1.3094711303710938, 0.3434544503688812, 0.527967631816864, 0.4720771014690399, -0.42648276686668396, -0.8345262408256531, -0.7341185212135315, -0.19533555209636688, -0.458568811416626, -0.8626828193664551, 0.4517615735530853, 0.21681828796863556, 0.853641927242279, 0.7306244969367981, -0.4897703230381012, 0.488636314868927, -0.3562801778316498, 1.2279069423675537, 0.25310826301574707, -1.1016234159469604, 0.5684645175933838, -0.4846835434436798, 0.23193079233169556, 0.6081017255783081, 0.6168128848075867, -0.7088544964790344, -0.16125626862049103, -0.43454620242118835, -0.42596670985221863, 0.7849985957145691, 0.28920379281044006, 0.2020094096660614, 0.044371504336595535, 0.5216380953788757, 0.32149890065193176, 0.3676736652851105, -0.421658456325531, -0.31930011510849, -0.9202734231948853, 0.05140547826886177, -0.3524736762046814, -0.12628208100795746, 0.26216980814933777, -0.38339635729789734, 0.5961657166481018, 0.047429610043764114, 0.13397645950317383, 0.370074063539505, 0.06495799869298935, -0.3431289494037628, 0.064262256026268, 1.0863815546035767, 0.7106658816337585, -0.3058740496635437, 0.03524422273039818, 0.05320088937878609, -0.729679524898529, -0.046772897243499756, 0.2545561194419861, 0.20598821341991425, 0.31751254200935364, 0.6496486663818359, 0.9253975749015808, 0.2168358415365219, -0.6824051141738892, 0.4409564733505249, 0.026299143210053444, -0.3980405330657959, -0.20052185654640198, -0.1657239943742752, -0.25553393363952637, 0.26496776938438416, 0.5128966569900513, -0.40624353289604187, 0.485867440700531, -0.5718445181846619, 0.48011884093284607, 0.3491222560405731, -0.6819315552711487, -0.5080892443656921, 0.9195364713668823, 0.35592612624168396, -0.3803901970386505, 0.47198495268821716, -0.08834277093410492, -0.4099755883216858, 0.8304445743560791, 0.17650146782398224, 0.96733558177948, -0.02361774817109108, 0.7441837787628174, 0.4005354642868042, 0.620136022567749, 0.021892404183745384, 0.2997157871723175, -0.2598649561405182, -0.5336747765541077, -0.6000958681106567, -0.29480257630348206, -0.7764987349510193, -0.0025383038446307182, -0.674277126789093, 0.5240519046783447, -0.510546088218689, -0.2345660924911499, 0.31279751658439636, -0.14343081414699554, -0.471566766500473, 0.2435654103755951, 0.6416475176811218, 1.419622778892517, -0.5151821374893188, 0.9204729795455933, 0.9789025783538818, -0.6376142501831055, -0.528952956199646, -0.7017523646354675, 0.16598057746887207, -0.38952434062957764, 1.08305025100708, -0.022899776697158813, -0.18032754957675934, -0.22555457055568695, -0.7322579026222229, -0.61078941822052, 1.4151725769042969, 0.6534894704818726, -0.3070361912250519, 0.16178764402866364, 0.6049063205718994, 0.3861863911151886, -0.34277716279029846, 0.22197097539901733, 0.23898133635520935, 0.465629518032074, 0.335750937461853, -1.3421902656555176, -0.5611757636070251, -0.42129355669021606, -0.5120636224746704, 0.3289599120616913, -0.742734968662262, 1.0545676946640015, 0.16461381316184998, -0.1307343691587448, -0.022621070966124535, 0.7090073227882385, -0.17065387964248657, 0.8703543543815613, 0.19689203798770905, 0.4930896461009979, 0.28877806663513184, 0.07566419243812561, 1.039894938468933, -0.44924136996269226, 0.39759188890457153, 1.2552002668380737, 0.021546470001339912, 0.5193341970443726, 0.6902279853820801, 0.06995982676744461, 0.30501365661621094, 0.5794898271560669, 0.4126843512058258, 0.6368207335472107, -0.30562445521354675, -0.5366532206535339, -0.4296520948410034, -0.27977681159973145, -0.2988908588886261, 0.5825147032737732, 0.26282623410224915, -0.16856558620929718, -0.46850377321243286, 0.019517110660672188, -0.4424022138118744, -0.0426667258143425, -0.5436128377914429, 0.7457334399223328, -0.16985511779785156, -0.6212174892425537, 0.24382753670215607, 0.07509434968233109, 0.09355142712593079, -0.9764130115509033, -0.19130370020866394, -0.21906574070453644, -0.18948830664157867, -0.10719742625951767, -0.9269848465919495, 0.5134474039077759, 0.09064678102731705, 0.0011442238464951515, -0.08345328271389008, 0.5437623858451843, -0.3123575448989868, -0.35069552063941956, -0.022529229521751404, 0.5182809829711914, -0.10424114763736725, -0.20805472135543823, -0.5609155297279358, 0.05290180444717407, -0.4967954456806183, -0.1716378629207611, 0.09528721123933792, 0.5749321579933167, 0.27016863226890564, 1.0697529315948486, -0.051620304584503174, -0.4584909677505493, 0.13584551215171814, 0.07333498448133469, 0.9446726441383362, -0.8513669371604919, -0.7254066467285156, -0.7258809208869934, 0.8566916584968567, 0.13117723166942596, -0.35447168350219727, 0.7902287840843201, 0.5786930322647095, 0.44104430079460144, -0.03907373175024986, 0.6370763778686523, 0.1439410150051117, 0.1333736777305603, -0.5220400094985962, 0.3474811017513275, -0.5369501709938049, 0.16599233448505402, -0.34017008543014526, -0.594677746295929, -0.14564010500907898, 0.25899243354797363, 0.10536252707242966, -0.4068203270435333, 0.6165235042572021, 0.6650696396827698, -0.23020410537719727, 0.6061211824417114, 0.41362836956977844, 0.10678477585315704, 0.14048434793949127, 0.4556373059749603, 1.0781947374343872, -0.5741555094718933, 0.5338395237922668, -0.3128887414932251, -0.033097025007009506, 0.16317394375801086, -0.8503863215446472, -0.6240403652191162, -0.8221725225448608, -0.22211456298828125, -0.18038181960582733, -0.09447266161441803, 0.9148958325386047, 0.8879902362823486, -0.5509710311889648, -0.2102610468864441, -0.007979107089340687, -0.2204979658126831, -0.03602893278002739, -0.20064914226531982, -0.0912562757730484, -0.27096325159072876, -0.5549106597900391, 0.3252001404762268, 0.7985753417015076, 0.030970819294452667, -0.6271714568138123, -0.4977920949459076, -0.0655486136674881, 0.0497891791164875, 0.5985537171363831, 0.5067266225814819, -0.5209977030754089, -0.17642094194889069, 0.3354678750038147, -0.12586653232574463, -0.01700255461037159, 0.9059173464775085, -0.7458974719047546, 0.5651780962944031, 0.3257746398448944, 0.9340566992759705, 1.008530855178833, 0.034181155264377594, 0.2139771729707718, -0.5904974341392517, 0.5466141104698181, 0.005494857206940651, 0.3639279007911682, 0.1432339996099472, -0.3056548535823822, 0.3953011631965637, 0.155631422996521, -0.32767438888549805, -0.29640302062034607, 0.015184739604592323, -1.5355125665664673, -0.27319884300231934, 0.748473048210144, 0.01786370389163494, 0.11364072561264038, -0.06656671315431595, -0.3597332537174225, 0.20533309876918793, -0.1819036900997162, 0.7382240295410156, 0.9180647730827332, 0.21158625185489655, -0.5168315768241882, -0.9924905896186829, 0.3478062152862549, 0.42196282744407654, -0.7879630923271179, -0.44030892848968506, 0.509787917137146, 0.04132431000471115, 0.0003388524928595871, 0.8170554637908936, 0.25572681427001953, 0.7336653470993042, 0.12782740592956543, -0.2496832013130188, -0.4090113341808319, -0.5137777924537659, -0.459702730178833, 0.4015491008758545, -0.058994144201278687, -0.3947475850582123 ]
http://arxiv.org/abs/2404.14680v1
http://arxiv.org/pdf/2404.14680v1
Automated Multi-Language to English Machine Translation Using Generative Pre-Trained Transformers
2024-04-23T02:19:35
2024-04-23T02:19:35
Elijah Pelofske, Vincent Urias, Lorie M. Liebrock
cs.CL
cs.CL, cs.AI, cs.LG
The task of accurate and efficient language translation is an extremely important information processing task. Machine learning enabled and automated translation that is accurate and fast is often a large topic of interest in the machine learning and data science communities. In this study, we examine using local Generative Pretrained Transformer (GPT) models to perform automated zero shot black-box, sentence wise, multi-natural-language translation into English text. We benchmark 16 different open-source GPT models, with no custom fine-tuning, from the Huggingface LLM repository for translating 50 different non-English languages into English using translated TED Talk transcripts as the reference dataset. These GPT model inference calls are performed strictly locally, on single A100 Nvidia GPUs. Benchmark metrics that are reported are language translation accuracy, using BLEU, GLEU, METEOR, and chrF text overlap measures, and wall-clock time for each sentence translation. The best overall performing GPT model for translating into English text for the BLEU metric is ReMM-v2-L2-13B with a mean score across all tested languages of $0.152$, for the GLEU metric is ReMM-v2-L2-13B with a mean score across all tested languages of $0.256$, for the chrF metric is Llama2-chat-AYT-13B with a mean score across all tested languages of $0.448$, and for the METEOR metric is ReMM-v2-L2-13B with a mean score across all tested languages of $0.438$.
[ -0.10642152279615402, -0.951049268245697, 0.6303336024284363, 0.19226573407649994, -0.37946662306785583, 0.07598075270652771, -0.4533923864364624, -0.5293981432914734, -0.17292478680610657, 0.29365479946136475, -0.3174135088920593, -0.438372403383255, -0.6855093240737915, 0.5104262828826904, -0.6030646562576294, 1.1584733724594116, -0.6977928280830383, -0.09594414383172989, 0.00542680686339736, -0.11609576642513275, -0.5519310832023621, -0.3578324019908905, -0.46801242232322693, -0.1963307410478592, 0.23799604177474976, 0.14378060400485992, 0.8375085592269897, 0.4691636562347412, 0.447572261095047, 0.31915539503097534, 0.44044700264930725, 0.04418667405843735, -0.19922804832458496, -0.24242889881134033, -0.002453029854223132, -0.32933691143989563, -0.5314756631851196, 0.19244946539402008, 0.441395103931427, 0.30329740047454834, -0.10924948006868362, 0.18163245916366577, 0.12055967003107071, 0.03314412757754326, -0.20526686310768127, 0.08259037137031555, -0.6382399797439575, 0.12397339940071106, -0.14469996094703674, -0.2949490547180176, -0.6299487948417664, -0.2287810891866684, -0.14426569640636444, -0.794941782951355, 0.5058339834213257, 0.09098605066537857, 1.1799604892730713, 0.5038805603981018, -0.5187971591949463, -0.040351979434490204, -0.9055432677268982, 0.9234620928764343, -0.6440345644950867, 0.49481192231178284, 0.08671464771032333, 0.40009456872940063, 0.11941654980182648, -0.7416366338729858, -0.6825536489486694, -0.1954452395439148, -0.45231929421424866, 0.5693846940994263, -0.530418872833252, -0.0889289379119873, -0.07753989100456238, 0.5785778164863586, -0.9430161118507385, 0.13734403252601624, -0.34630557894706726, -0.060125596821308136, 0.598198413848877, -0.03206445276737213, 0.15273623168468475, -0.2781148850917816, -0.4107649624347687, -0.07195428013801575, -0.3059808909893036, -0.24228914082050323, 0.12656264007091522, 0.21297630667686462, -0.4600244462490082, 0.4211799204349518, -0.0893968716263771, 0.666260302066803, 0.003252065507695079, -0.10309334844350815, 0.45009857416152954, -0.6132389903068542, -0.34340646862983704, -0.16319705545902252, 1.1525181531906128, 0.2247970849275589, 0.32353198528289795, -0.5353606939315796, -0.2269926369190216, 0.24812684953212738, 0.4255070090293884, -0.8198692202568054, 0.08340739458799362, 0.10246172547340393, -0.2281884253025055, -0.25435832142829895, -0.17710696160793304, -0.2634192407131195, 0.28786662220954895, -0.4709537923336029, 0.6760432124137878, -0.4212207496166229, -0.2174331396818161, 0.16999748349189758, 0.3056798279285431, 0.46563565731048584, 0.43149617314338684, -0.383510947227478, -0.036839574575424194, 0.2479717880487442, 0.9062660932540894, -0.40650486946105957, -0.5489617586135864, -0.381403386592865, 0.12573373317718506, -0.3602314591407776, 0.7333086133003235, -0.14256742596626282, -0.24577046930789948, -0.1548628807067871, 0.34340596199035645, -0.3778494894504547, -0.14224542677402496, 0.6831897497177124, -0.19119344651699066, 0.6337401866912842, 0.40826913714408875, -0.4098685681819916, -0.12763181328773499, 0.3185204565525055, -0.18608064949512482, 0.9131659269332886, 0.08638779073953629, -0.6100555658340454, 0.15617181360721588, -0.5622026920318604, -0.7113066911697388, 0.22446773946285248, -0.12883172929286957, -0.4272451400756836, 0.1546172946691513, 0.4739324450492859, 0.7440301179885864, -0.39390915632247925, 0.22421202063560486, 0.21953383088111877, -0.4009784758090973, -0.12381255626678467, -0.7336757779121399, 0.39059290289878845, 0.27422499656677246, -0.6390246152877808, 0.24435654282569885, -0.47078076004981995, -0.08027397096157074, 0.36394742131233215, 0.01805708184838295, 0.13065141439437866, -0.32462525367736816, 0.2576545774936676, 0.44054853916168213, 0.2029748409986496, -0.5889251828193665, 0.1468118578195572, -0.2629443109035492, 0.4592294991016388, 0.5227176547050476, -0.2984936237335205, 0.46479085087776184, -0.26171252131462097, 0.8185733556747437, -0.14857259392738342, 0.18427793681621552, -0.24637079238891602, -0.683879017829895, -0.5366683006286621, -0.3781552314758301, 0.25232774019241333, 0.932092547416687, -0.8426105380058289, 0.48026323318481445, -0.5053844451904297, -0.49923810362815857, -1.0022227764129639, -0.03334013372659683, 0.341472327709198, 0.5474940538406372, 0.7516637444496155, -0.27624836564064026, 0.038443200290203094, -0.8801387548446655, -0.016430474817752838, 0.11564421653747559, -0.3742426037788391, 0.2590720057487488, 0.42845839262008667, -0.3598455488681793, 0.6907514333724976, -0.2662116587162018, -0.5143380165100098, -0.26115337014198303, 0.45096614956855774, 0.22635431587696075, 0.1624407321214676, 0.3886892795562744, -0.5640729069709778, -0.7764697074890137, 0.5576303601264954, -0.7494559288024902, -0.10033663362264633, -0.46204134821891785, -0.16076542437076569, 0.5029506683349609, 0.2645634412765503, -0.8291096091270447, 0.6427357792854309, 0.8823351263999939, -0.125077024102211, 0.5092858076095581, -0.5097013115882874, 0.48246580362319946, -1.410618782043457, 0.0825970470905304, 0.0614750050008297, -0.5644317269325256, -0.47654929757118225, 0.18658046424388885, 0.30041709542274475, -0.13429757952690125, -0.6820432543754578, 0.5256479382514954, -0.48314958810806274, 0.09695513546466827, -0.24122923612594604, 0.46198976039886475, 0.055859897285699844, 0.3410639762878418, 0.018360931426286697, 1.0393714904785156, 0.4093778729438782, -0.3165193200111389, 0.41201654076576233, 0.4564654231071472, -0.18257112801074982, 0.5716500878334045, -0.5485703349113464, 0.34790194034576416, -0.07322236150503159, 0.24137917160987854, -0.6628470420837402, 0.06482741981744766, 0.21071234345436096, -0.580924391746521, 0.4477916955947876, -0.0907365158200264, -0.5009540319442749, -0.2614689767360687, 0.1595999002456665, 0.1518852561712265, 0.664849042892456, -0.42051854729652405, 0.47725191712379456, -0.03996904939413071, -0.2230723351240158, -0.3132297694683075, -0.6827114820480347, 0.25510814785957336, 0.012329334393143654, -0.6178009510040283, 0.6656478047370911, 0.02374880760908127, 0.12299507856369019, -0.011042369529604912, 0.055435098707675934, 0.10817191004753113, -0.17985540628433228, -0.007897457107901573, 0.29844000935554504, -0.18762579560279846, -0.22285406291484833, -0.21858228743076324, -0.3341138958930969, -0.23384280502796173, -0.3453575670719147, 0.46650949120521545, -0.15025751292705536, -0.20788291096687317, -0.40531033277511597, 0.3027883470058441, 0.533755898475647, -0.4601402282714844, 0.8029510974884033, 0.9273307919502258, -0.2393525093793869, 0.02391863614320755, -0.5168175101280212, -0.011824559420347214, -0.39216724038124084, 0.3818702697753906, -0.6293084025382996, -0.7390899062156677, 0.37002232670783997, 0.37468671798706055, 0.16872842609882355, 0.6157718896865845, 0.6166556477546692, -0.07940458506345749, 1.0476034879684448, 0.5658023953437805, -0.2808171510696411, 0.18756498396396637, -0.11061961203813553, 0.5424208641052246, -0.4122459292411804, 0.2840963304042816, -0.3754116892814636, -0.09207058697938919, -0.7266523241996765, -0.6483725905418396, 0.21671368181705475, 0.09497988969087601, 0.21562620997428894, 0.8281546831130981, -0.6473151445388794, 0.3847590386867523, 0.3278921842575073, -0.16717401146888733, 0.34349337220191956, 0.07300369441509247, 0.03091214783489704, -0.1716197431087494, -0.485792875289917, -0.4801473319530487, 1.2386603355407715, 0.2673758268356323, 0.4659847319126129, -0.057781003415584564, 0.5161551833152771, 0.022552374750375748, 0.7135627269744873, -0.6022657155990601, 0.2943199574947357, -0.3199758529663086, -0.3137979507446289, -0.2304345667362213, -0.6862602829933167, -1.0154701471328735, 0.24930524826049805, -0.10594119131565094, -0.23270300030708313, -0.3994634449481964, -0.016916025429964066, -0.03498285263776779, 0.4942638576030731, -0.814361572265625, 1.1276382207870483, -0.5686472058296204, -0.3511184751987457, -0.27214115858078003, -0.5708394050598145, 0.19921812415122986, -0.43268802762031555, 0.30254584550857544, -0.08025877922773361, 0.2486463040113449, 0.24368277192115784, 0.11664021015167236, 0.3596152067184448, -0.01380617544054985, -0.3055242598056793, -0.029379650950431824, -0.056488037109375, 0.6119147539138794, -0.27327030897140503, 0.18596960604190826, 0.6685915589332581, -0.1200331375002861, -0.5204922556877136, -0.26731014251708984, 0.46713146567344666, -0.9384671449661255, -0.4251905381679535, -0.4778885543346405, -0.7124574780464172, 0.05753570795059204, 0.17623277008533478, 0.6090798377990723, 0.048193201422691345, -0.21130044758319855, 0.10066983848810196, 0.1696111410856247, -0.46588751673698425, 0.43755367398262024, 0.7657864093780518, -0.18754591047763824, -0.32288217544555664, 0.8547406792640686, 0.08820825070142746, 0.3769467771053314, 0.626181423664093, -0.15034504234790802, -0.3197292685508728, -0.5563904643058777, -0.9296407103538513, 0.29287368059158325, -0.2638460099697113, -0.32339173555374146, -0.7074694633483887, -0.146098792552948, -0.6075051426887512, -0.3632872998714447, -0.4182155430316925, -0.12778189778327942, -0.06660884618759155, -0.19958238303661346, 0.1714855432510376, 0.6786306500434875, 0.26088276505470276, 0.40266332030296326, -0.7678734660148621, 0.5530606508255005, 0.04786045476794243, 0.11137602478265762, -0.5620856881141663, -0.9364510774612427, -0.21978650987148285, -0.1195930615067482, -0.50404953956604, -1.013696312904358, 0.676125705242157, 0.13122627139091492, 0.442854106426239, 0.04045744612812996, -0.17390398681163788, 0.8506700992584229, -0.9412140846252441, 0.6168180108070374, 0.0972110852599144, -0.780767560005188, 0.4391765296459198, -0.4188598096370697, 0.3661893904209137, 0.36556103825569153, 0.43544986844062805, -0.7928673624992371, -0.736117422580719, -0.5122159719467163, -0.888663649559021, 0.5823766589164734, 0.47694337368011475, 0.22692181169986725, -0.02740197256207466, 0.2764720916748047, 0.19030267000198364, 0.19989213347434998, -0.9309476613998413, -0.3688783049583435, -0.269628643989563, -0.2924259603023529, -0.5782883167266846, 0.31845027208328247, 0.23505465686321259, -0.3104737102985382, 0.797282338142395, -0.24266159534454346, 0.37811702489852905, 0.1782291680574417, -0.5352159738540649, -0.10829737782478333, 0.6007243990898132, 0.532929003238678, 0.49787628650665283, -0.19279904663562775, -0.23352675139904022, 0.3748500645160675, -0.32489827275276184, 0.28792712092399597, 0.6622899174690247, -0.385431170463562, 0.34866705536842346, 0.23180276155471802, 0.7285783886909485, 0.12628477811813354, -0.13855120539665222, 0.7049012780189514, -0.18699422478675842, -0.19769151508808136, -0.36916956305503845, -0.46461591124534607, -0.04317653179168701, -0.23732680082321167, 0.36255770921707153, 0.15383997559547424, -0.25691279768943787, -0.25872838497161865, 0.293168306350708, 0.4393664598464966, -0.18457230925559998, -0.42098432779312134, 1.062576413154602, 0.3046031594276428, -0.17365865409374237, 0.6602030396461487, -0.4853631854057312, -0.4225464165210724, 0.08805577456951141, 0.6015961766242981, 1.0553114414215088, -0.5452693104743958, 0.3568284213542938, 0.3944219648838043, 0.7222733497619629, 0.09904323518276215, -0.15371857583522797, -0.03304595127701759, -0.7211865186691284, -1.027240514755249, -0.7723075151443481, -0.4959268569946289, 0.2130657136440277, -0.5071712732315063, 0.2779935598373413, 0.12782445549964905, 0.07560348510742188, -0.12914834916591644, -0.12101025879383087, -0.9277825355529785, 0.14415422081947327, 0.1229226365685463, 0.6663918495178223, -1.0071064233779907, 1.0047153234481812, 0.6884617805480957, -0.5215856432914734, -0.7329007387161255, -0.06323390454053879, -0.308038592338562, -0.6659821271896362, 0.2300107479095459, 0.3370054364204407, -0.009781109169125557, 0.22758078575134277, -0.030362354591488838, -0.6017844080924988, 1.0706055164337158, 0.677188515663147, -0.6945971250534058, -0.05860741809010506, 0.5226340889930725, 0.49770236015319824, -0.09331118315458298, 0.5362381935119629, 0.5959691405296326, 0.43867188692092896, -0.20850074291229248, -1.347800850868225, -0.0967043861746788, -0.2931680977344513, -0.25373172760009766, 0.4767075479030609, -0.5033798813819885, 0.7474240064620972, 0.01077124010771513, -0.3376060426235199, -0.17372219264507294, 0.5286750197410583, -0.028050117194652557, 0.06685355305671692, 0.3161179721355438, 0.7189948558807373, 0.4291490614414215, -0.24624884128570557, 1.2643884420394897, -0.5674086809158325, 0.4096384048461914, 0.8075839281082153, -0.3042839765548706, 0.8169049620628357, 0.3027217984199524, -0.3056000769138336, 0.23823072016239166, 0.36572033166885376, 0.04994487389922142, 0.33297064900398254, -0.13623645901679993, -0.3837694227695465, -0.17788055539131165, 0.17175836861133575, -0.37039968371391296, 0.3551216423511505, -0.0661393478512764, -0.19682832062244415, -0.2515123784542084, 0.17283563315868378, 0.20914795994758606, 0.12454511970281601, -0.02185969054698944, 0.6707642078399658, 0.018899424001574516, -0.6175758242607117, 0.5535067915916443, 0.4709273874759674, 1.0317604541778564, -0.5824227333068848, 0.15265420079231262, -0.48221784830093384, 0.31166872382164, -0.00378054054453969, -0.4836568832397461, 0.38479194045066833, 0.34030041098594666, 0.03353248909115791, -0.8508445024490356, 0.5320048332214355, -0.5338445901870728, -0.7326434850692749, 0.48914504051208496, 0.5937468409538269, 0.36549055576324463, -0.3254803717136383, -0.7764949798583984, -0.36545100808143616, 0.05620491877198219, -0.3382164239883423, 0.19119936227798462, 0.37817519903182983, -0.18454481661319733, 0.3730136454105377, 0.6497766971588135, 0.2561899721622467, 0.2376134842634201, 0.04326367378234863, 0.21446511149406433, -0.5406586527824402, -0.4518590271472931, -0.6488199830055237, 0.5508928894996643, 0.20080716907978058, -0.36406412720680237, 0.996860146522522, 0.7281668782234192, 1.172242522239685, -0.15683278441429138, 0.7709622979164124, -0.009506638161838055, 0.2941392660140991, -0.43608230352401733, 0.7490498423576355, -0.5808640122413635, -0.35787761211395264, -0.07419195771217346, -1.090660810470581, -0.22435526549816132, 0.7169345617294312, -0.4285140335559845, -0.11114475876092911, 0.8218880295753479, 0.7138303518295288, -0.21656931936740875, -0.22062644362449646, 0.63800048828125, 0.29025450348854065, 0.34665513038635254, 0.7040133476257324, 0.4131294786930084, -0.8304285407066345, 0.8858928084373474, -0.30336064100265503, -0.14583078026771545, 0.16850465536117554, -0.8596364855766296, -0.6496491432189941, -0.32916104793548584, -0.5028879046440125, -0.13426414132118225, -0.07928919047117233, 0.5982117056846619, 0.7200814485549927, -0.9775126576423645, -0.08780672401189804, -0.04064621403813362, -0.26687708497047424, -0.2865401804447174, -0.2946224510669708, 0.3580075800418854, -0.48000240325927734, -0.965833842754364, 0.613844096660614, 0.33214640617370605, 0.09982670843601227, -0.08865408599376678, -0.23726217448711395, 0.01259137038141489, -0.17538480460643768, 0.6507397294044495, -0.038283564150333405, -0.7845723032951355, -0.3085217773914337, 0.088603675365448, -0.20838996767997742, 0.2415553778409958, 0.4811514914035797, -0.7385826706886292, 0.21119344234466553, 0.07716822624206543, 0.8001497983932495, 0.8553556203842163, -0.03817303106188774, 0.7125185132026672, -1.0781738758087158, 0.36340323090553284, 0.06778828799724579, 0.329946905374527, 0.6260126829147339, -0.181512251496315, 0.5576117634773254, 0.2313862442970276, -0.6419163346290588, -0.7127137184143066, 0.04736959934234619, -0.6324025988578796, -0.04792305454611778, 0.9278484582901001, -0.12093453854322433, -0.08343563973903656, 0.03797098621726036, -0.11759968101978302, 0.4650050699710846, -0.008513059467077255, 0.5938875079154968, 0.5999469757080078, 0.09242460876703262, -0.4360445737838745, -1.1058869361877441, 0.24592924118041992, 0.5695173144340515, -0.9390824437141418, -0.11038413643836975, 0.32360580563545227, 0.1835590898990631, 0.2492642104625702, 0.5608206987380981, -0.160329669713974, 0.11548962444067001, -0.34813496470451355, 0.4963221549987793, 0.014248534105718136, -0.18983112275600433, -0.36716461181640625, -0.09884288907051086, -0.3485564887523651, -0.3535085916519165 ]
http://arxiv.org/abs/2404.14662v1
http://arxiv.org/pdf/2404.14662v1
NExT: Teaching Large Language Models to Reason about Code Execution
2024-04-23T01:46:32
2024-04-23T01:46:32
Ansong Ni, Miltiadis Allamanis, Arman Cohan, Yinlin Deng, Kensen Shi, Charles Sutton, Pengcheng Yin
cs.LG
cs.LG, cs.CL, cs.PL, cs.SE
A fundamental skill among human developers is the ability to understand and reason about program execution. As an example, a programmer can mentally simulate code execution in natural language to debug and repair code (aka. rubber duck debugging). However, large language models (LLMs) of code are typically trained on the surface textual form of programs, thus may lack a semantic understanding of how programs execute at run-time. To address this issue, we propose NExT, a method to teach LLMs to inspect the execution traces of programs (variable states of executed lines) and reason about their run-time behavior through chain-of-thought (CoT) rationales. Specifically, NExT uses self-training to bootstrap a synthetic training set of execution-aware rationales that lead to correct task solutions (e.g., fixed programs) without laborious manual annotation. Experiments on program repair tasks based on MBPP and HumanEval demonstrate that NExT improves the fix rate of a PaLM 2 model, by 26.1% and 14.3% absolute, respectively, with significantly improved rationale quality as verified by automated metrics and human raters. Our model can also generalize to scenarios where program traces are absent at test-time.
[ -0.1344418227672577, -0.5255054235458374, 0.6562113165855408, 0.1901424378156662, -0.018739929422736168, 0.39123955368995667, -0.16690722107887268, -0.46789902448654175, -0.008054106496274471, 0.9086182117462158, -0.4748491942882538, -0.30469897389411926, -0.2045549601316452, -0.21608425676822662, -0.2773265540599823, 1.0324205160140991, -0.18846161663532257, 0.01182310190051794, -0.11033205687999725, -0.0008080863626673818, -0.53862464427948, -0.6429438591003418, -0.7510802745819092, -0.21314971148967743, 0.29375091195106506, 0.534990131855011, 0.6128789782524109, 0.8182762265205383, 0.2726336121559143, 0.27953851222991943, 0.32820552587509155, -0.13671191036701202, -0.590510904788971, -0.16170139610767365, -0.18124717473983765, -1.0071613788604736, -0.3622678816318512, 0.2075570672750473, 0.06974321603775024, 0.46447616815567017, 0.04889505356550217, 0.21912658214569092, -0.15036194026470184, 0.6354159712791443, -0.6250097751617432, 0.08089331537485123, -0.5495747923851013, -0.05876067280769348, 0.16987569630146027, -0.4166162610054016, -0.6795983910560608, -0.5081512928009033, -0.1021653339266777, -0.41740360856056213, 0.09607230126857758, -0.0756266787648201, 0.6244434714317322, 0.3043214976787567, -0.3663334548473358, -0.21189938485622406, -0.6034878492355347, 0.7926531434059143, -0.7749987840652466, 0.1908797025680542, 0.42847874760627747, 0.2278740555047989, -0.2693595588207245, -0.5750284790992737, -0.6428108215332031, -0.4063195586204529, 0.06128845363855362, -0.18066748976707458, 0.29193633794784546, 0.10681265592575073, 0.5211673974990845, 0.19005002081394196, -0.29305657744407654, 0.15687839686870575, -0.3617205321788788, -0.21400009095668793, 0.47130823135375977, 0.2316022515296936, 0.4929749369621277, 0.2642543315887451, -0.4851594567298889, 0.027195708826184273, -0.8993896842002869, 0.18186721205711365, 0.3224644958972931, -0.14402543008327484, -0.11818735301494598, 0.45318058133125305, 0.016394732519984245, 0.9177113175392151, -0.15551577508449554, -0.11098849028348923, 0.029068907722830772, -0.07365783303976059, -0.24898511171340942, -0.018126364797353745, 0.3650893270969391, 0.4360583424568176, 0.5819190144538879, -0.10001043975353241, -0.3262563943862915, 0.3483053147792816, 0.4753890633583069, -0.756920576095581, -0.5761693716049194, 0.24525810778141022, -0.30023255944252014, -0.35299187898635864, -0.3888256549835205, -0.37533000111579895, -0.5758626461029053, -0.8733698129653931, 0.31635674834251404, -0.5602482557296753, -0.3452640473842621, 0.2122262567281723, 0.04474170133471489, 0.5330670475959778, 0.37395453453063965, -0.973133385181427, 0.2580365240573883, 0.9683020114898682, 0.743569552898407, 0.17459248006343842, -0.4387800991535187, -0.7295796275138855, 0.13482628762722015, -0.6698049902915955, 0.9079702496528625, -0.503288209438324, -0.04676038399338722, -0.181012824177742, -0.08391519635915756, -0.12244078516960144, -0.520619809627533, 0.10942330956459045, -0.46949881315231323, 0.015796545892953873, -0.4942011535167694, -0.6567670106887817, -0.17796826362609863, 0.26763901114463806, -0.34805741906166077, 0.8733497858047485, 0.23543713986873627, -0.6590815782546997, 0.3803653419017792, -0.5775704979896545, -0.40728291869163513, -0.18395297229290009, -0.3475651741027832, -0.09632264822721481, 0.1888023018836975, 0.13755173981189728, 0.36272239685058594, -0.15213260054588318, 0.1427617073059082, -0.4244801700115204, -0.377530962228775, 0.15507066249847412, -0.17432978749275208, 0.8728263974189758, -0.1099085882306099, -0.7510254383087158, 0.3920539617538452, -0.6547417640686035, 0.35873058438301086, -0.039375122636556625, -0.2695653438568115, -0.2292121797800064, 0.06255996227264404, -0.15201368927955627, 0.50225430727005, 0.052103444933891296, -0.39320600032806396, 0.33623817563056946, -0.5289192199707031, 0.39778608083724976, 0.969394862651825, -0.2326740175485611, 0.2729864716529846, -0.2695131003856659, 0.8369713425636292, -0.2627616226673126, 0.2984824776649475, -0.39898791909217834, -0.3655756711959839, -0.9913015961647034, -0.11581806093454361, -0.02145407535135746, 0.6129393577575684, -0.6170915365219116, 0.1663445383310318, -0.027182692661881447, -0.39900273084640503, -0.24269339442253113, 0.31218183040618896, 0.593166708946228, 0.5818608999252319, 0.1996709257364273, -0.20167222619056702, -0.6787015795707703, -0.7123947143554688, -0.41129669547080994, -0.3232625126838684, 0.10881040245294571, 0.008839897811412811, 0.487395316362381, -0.16473488509655, 0.939083993434906, -0.3734130263328552, 0.09942036867141724, -0.36880287528038025, 0.16816756129264832, 0.10448457300662994, 0.491615355014801, 0.4013647437095642, -0.455242395401001, -0.24801310896873474, -0.07500005513429642, -0.7175174355506897, -0.21483832597732544, -0.42744359374046326, -0.3366988003253937, 0.46884772181510925, 0.7027196288108826, -0.30996325612068176, 0.3758668005466461, 0.49548402428627014, -0.47943130135536194, 0.7705786824226379, -0.5202178359031677, -0.016095783561468124, -0.5781126618385315, 0.15689872205257416, -0.24341528117656708, -0.29402071237564087, -0.20630139112472534, 0.07429782301187515, 0.16392377018928528, -0.16930000483989716, -0.23468492925167084, 0.39185431599617004, -0.572730302810669, -0.6900173425674438, -0.5717360973358154, 0.1141209527850151, -0.02641027234494686, 0.38881203532218933, 0.08187562227249146, 0.9638835787773132, 0.43249157071113586, -0.5586245656013489, 0.3337167203426361, -0.14589467644691467, -0.5045557022094727, 0.30448344349861145, -0.6876368522644043, 0.2876911163330078, -0.041487157344818115, 0.3327850103378296, -0.7702298164367676, -0.13141928613185883, -0.17378626763820648, -0.24060408771038055, 0.27948451042175293, -0.28218141198158264, -0.4067188501358032, -0.42161086201667786, -0.2653925120830536, 0.10853143036365509, 0.6531449556350708, -0.732923150062561, 0.2793146073818207, 0.504985511302948, 0.20557062327861786, -0.6382518410682678, -0.4224018454551697, 0.019108198583126068, -0.08053655922412872, -0.5912405848503113, -0.11939845234155655, -0.041996221989393234, -0.21611431241035461, -0.33016976714134216, -0.226480171084404, -0.1404762864112854, 0.3260829448699951, 0.32765769958496094, 0.2868436276912689, -0.2667542099952698, 0.14939913153648376, -0.11851490288972855, -0.4401125907897949, 0.37169837951660156, -0.39156168699264526, 0.6280060410499573, -0.29119497537612915, -0.30021679401397705, -0.3562125861644745, -0.015367593616247177, 0.7586606740951538, -0.4666306972503662, 0.7523317933082581, 0.5517475008964539, -0.2325717806816101, -0.2278033345937729, -0.5999796986579895, -0.32306209206581116, -0.46504372358322144, 0.16284218430519104, -0.3311939835548401, -0.7198703289031982, 0.40369147062301636, -0.3034873902797699, 0.14837616682052612, 0.19844025373458862, 0.6294105648994446, -0.16873592138290405, 1.0063066482543945, 0.945922315120697, -0.17637313902378082, 0.3130452036857605, -0.5157397985458374, 0.3794231414794922, -0.8088197708129883, -0.3127468228340149, -0.23050065338611603, -0.17010505497455597, -0.12132973223924637, -0.5607810020446777, 0.14576023817062378, 0.5733290314674377, -0.3942207098007202, 0.46989673376083374, -0.4910013973712921, 0.9262603521347046, 0.3239898383617401, 0.06269148737192154, -0.010571149177849293, -0.2747921049594879, -0.0810866728425026, 0.12829938530921936, -0.6030108332633972, -0.7384771108627319, 1.0204274654388428, 0.3952527642250061, 0.7932340502738953, -0.10669126361608505, 0.7599742412567139, 0.2715144753456116, 0.619889497756958, -0.6813745498657227, 0.4512195289134979, 0.3077373504638672, -0.529352068901062, -0.16733141243457794, -0.169391930103302, -0.7246665954589844, 0.05297797918319702, 0.2048233151435852, -0.8533669114112854, -0.1193394809961319, 0.6934186220169067, -0.5050286650657654, 0.3094133734703064, -0.9967061877250671, 1.224236249923706, -0.517380952835083, -0.3570481836795807, -0.5570175647735596, -0.5736684203147888, 0.6560421586036682, -0.05283904820680618, 0.3908952474594116, -0.08277950435876846, -0.11818193644285202, 0.6440163850784302, -0.8257282376289368, 1.0384492874145508, -0.19175481796264648, -0.45490720868110657, 0.5224809646606445, 0.36869755387306213, 0.5964975357055664, 0.05082488805055618, -0.02534306049346924, -0.2615734040737152, 0.11713367700576782, -0.5273678302764893, -0.7122429013252258, 0.8255693912506104, -0.45153966546058655, -0.517166256904602, -0.3253686726093292, -0.36499297618865967, -0.12112203240394592, -0.04477597773075104, 0.04900958761572838, 0.5471415519714355, 0.40393510460853577, -0.14895732700824738, 0.5277979969978333, -0.32398995757102966, 0.4053487479686737, 0.5769630074501038, -0.46769285202026367, 0.056996122002601624, 0.792640745639801, -0.22829227149486542, 0.4036942422389984, 0.13969005644321442, 0.16106478869915009, -0.13995550572872162, -0.2113446742296219, -0.4643106162548065, 0.1840650737285614, -0.8261945247650146, -0.1808316856622696, -0.7803394198417664, 0.18212439119815826, -0.017699502408504486, -0.39559510350227356, -0.44215646386146545, -0.27293264865875244, -0.08198349922895432, -0.18161702156066895, 0.5413815975189209, 0.7003877758979797, -0.008866213262081146, 0.30531951785087585, -0.772793710231781, 0.2694806456565857, 0.0633678287267685, 0.4283658564090729, 0.04720956087112427, -0.5515958666801453, -0.430838942527771, 0.0950864851474762, -0.34689271450042725, -0.7783737778663635, 0.24344144761562347, -0.054109327495098114, 0.33161723613739014, 0.1116873174905777, -0.03303246200084686, 0.6991081237792969, -0.503292977809906, 0.6774742007255554, 0.20196324586868286, -1.1594126224517822, 0.8909808397293091, -0.29835280776023865, 0.033661652356386185, 0.36146268248558044, 0.3410243093967438, -0.36139047145843506, -0.27449831366539, -0.508519172668457, -0.5273500680923462, 0.7144048810005188, -0.1806502342224121, 0.0888245701789856, -0.2202070951461792, 0.43030402064323425, -0.054465152323246, -0.018327489495277405, -0.6346628665924072, 0.17448177933692932, 0.019659386947751045, -0.005922473501414061, -0.02383408136665821, -0.3470325171947479, 0.06716208904981613, -0.2929195463657379, 0.5806456208229065, -0.3424091935157776, 0.23775161802768707, 0.009700517170131207, -0.2528527081012726, -0.14484599232673645, -0.06109244003891945, 0.7397439479827881, 1.0677798986434937, -0.022288620471954346, 0.14597812294960022, 0.05229911580681801, -0.17223970592021942, 0.19491294026374817, -0.5230715274810791, 0.17676997184753418, -0.37578192353248596, 0.6395007967948914, 0.6483170390129089, 0.2918202579021454, -1.0063050985336304, 0.5644576549530029, 0.14797721803188324, 0.22531604766845703, -0.42451173067092896, 0.3664604723453522, 0.19652292132377625, 0.3076411187648773, -0.1239161267876625, 0.1836901605129242, 0.07368865609169006, -0.8929128050804138, 0.31013450026512146, 0.16450820863246918, -0.28109341859817505, -0.41912874579429626, 0.4918043613433838, 0.1866108626127243, -0.3379065990447998, 0.6187663078308105, -0.12048769742250443, -0.9534406065940857, 1.000886082649231, 0.7811038494110107, 0.7135329842567444, -0.2546357214450836, 0.22916920483112335, 0.3438798487186432, 0.46458110213279724, -0.29464638233184814, 0.6782090067863464, 0.018123269081115723, -0.4253791272640228, -0.9295347332954407, -0.4305766820907593, -0.35468751192092896, 0.19388042390346527, -0.3410821557044983, 0.30832770466804504, -0.7644635438919067, 0.018985945731401443, -0.1627853810787201, -0.342934787273407, -0.4296649694442749, 0.4332030117511749, -0.037768129259347916, 0.7979043126106262, -0.7410911321640015, 1.0024137496948242, 0.4753522574901581, -0.44098830223083496, -1.0384588241577148, 0.011229032650589943, -0.17577385902404785, -0.7582453489303589, 0.8915364742279053, 0.4428558647632599, -0.16087549924850464, -0.057136401534080505, -0.5641310214996338, -0.8965140581130981, 0.6293343305587769, 0.5912704467773438, -0.5755708813667297, 0.14223186671733856, -0.2923479974269867, 0.6609504222869873, -0.28266844153404236, 0.5001993775367737, 0.6302696466445923, 0.2814815640449524, -0.21022018790245056, -0.8105461001396179, -0.01056857593357563, -0.05964433774352074, -0.1047564297914505, 0.4469561278820038, -0.45092061161994934, 0.7895137071609497, -0.8102162480354309, 0.11816971749067307, 0.003222828032448888, 0.3576955795288086, 0.2957727909088135, 0.2634064555168152, 0.41991791129112244, 0.425734281539917, 0.5673044919967651, 0.10921452194452286, 1.4529979228973389, -0.5247408151626587, 0.2433052659034729, 1.3627527952194214, -0.28439024090766907, 0.8927598595619202, 0.3375335931777954, -0.30095580220222473, 0.8022075891494751, 0.47066402435302734, 0.26109740138053894, 0.20962922275066376, 0.6722257733345032, -0.13218605518341064, -0.43535569310188293, 0.24664489924907684, -0.2373100072145462, 0.5822147130966187, 0.4066440463066101, -0.3685176968574524, -0.0549493245780468, 0.07778914272785187, 0.11053044348955154, 0.2586280107498169, -0.1291394829750061, 0.34142443537712097, 0.07667683064937592, -0.8608801364898682, 0.9619032144546509, 0.06901232898235321, 0.252586305141449, -0.40451323986053467, -0.13486745953559875, -0.19497403502464294, 0.5564150214195251, -0.3360169231891632, -0.7116196751594543, 0.5689733028411865, 0.12431424111127853, -0.19959615170955658, -0.052178382873535156, 0.49364447593688965, -0.060957491397857666, -0.3065468966960907, 0.35528764128685, 0.04620327800512314, 0.2900247573852539, -0.11497393995523453, -0.6935303807258606, 0.1372734159231186, 0.06767585128545761, -0.21871571242809296, 0.27286848425865173, 0.42914626002311707, -0.321480929851532, 1.0314046144485474, 0.719820499420166, -0.15980437397956848, 0.23871631920337677, 0.09798441082239151, 0.7651737332344055, -0.6535270810127258, -0.5043482184410095, -0.9277081489562988, 0.3698166608810425, -0.2076519876718521, -0.24367479979991913, 0.6990768313407898, 0.759118378162384, 0.8639527559280396, -0.23412854969501495, 0.6602402329444885, 0.09002860635519028, 0.39200064539909363, -0.7019909024238586, 0.4151260256767273, -0.22694142162799835, 0.5111610293388367, -0.1520877331495285, -0.8578885197639465, -0.11884087324142456, 0.8282827734947205, -0.45982179045677185, 0.14935961365699768, 0.746692955493927, 0.7359824180603027, -0.0191865935921669, 0.030329681932926178, 0.25429123640060425, 0.21090582013130188, 0.46595731377601624, 0.7279723882675171, 0.9010728001594543, -0.18524494767189026, 0.24862751364707947, -0.23863032460212708, -0.48961904644966125, -0.06829190999269485, -0.9764850735664368, -1.0937057733535767, -0.17777231335639954, -0.3742760419845581, -0.5342504978179932, -0.013554047793149948, 0.8862852454185486, 0.6930502653121948, -0.7151838541030884, -0.4171105921268463, -0.5897451043128967, -0.07612624019384384, -0.19934919476509094, -0.1849879026412964, 0.3576427400112152, -0.7583377361297607, -0.10703597962856293, 0.41408559679985046, 0.4355541169643402, -0.18203705549240112, -0.31463584303855896, -0.2722281515598297, -0.07792089879512787, 0.050002504140138626, 0.7099701166152954, 0.4714760482311249, -0.7767753601074219, -0.4180169701576233, -0.203382670879364, -0.11969546228647232, -0.21625341475009918, 1.2699486017227173, -1.1468967199325562, 0.37430572509765625, 0.30468854308128357, 0.7282916903495789, 0.3418489694595337, -0.29682883620262146, 0.8028690218925476, -0.38351675868034363, 0.15582109987735748, 0.12310145795345306, 0.3648606836795807, 0.2502303719520569, -0.4647431969642639, 0.6118431687355042, 0.24949130415916443, -0.6082713603973389, -0.7209519743919373, 0.3832341432571411, -0.6589329838752747, -0.20847386121749878, 0.9786615371704102, -0.4773600697517395, -0.29322120547294617, -0.17984332144260406, -0.579646110534668, 0.2774486243724823, 0.01814032718539238, 0.8900951147079468, 0.3967697024345398, -0.12349234521389008, -0.3239608407020569, -0.6163047552108765, 0.6131494045257568, 0.5147085785865784, -1.0489985942840576, 0.37178313732147217, 0.5919756293296814, 0.4170442819595337, -0.08678034693002701, 0.8468970656394958, 0.005125034134835005, 0.37889161705970764, 0.019199103116989136, 0.17862468957901, 0.0022868304513394833, -0.451020210981369, -0.13240227103233337, -0.1509779542684555, 0.08201421797275543, -0.10092676430940628 ]
http://arxiv.org/abs/2404.14631v1
http://arxiv.org/pdf/2404.14631v1
Learning Word Embedding with Better Distance Weighting and Window Size Scheduling
2024-04-23T00:05:48
2024-04-23T00:05:48
Chaohao Yang
cs.CL
cs.CL, cs.LG
Distributed word representation (a.k.a. word embedding) is a key focus in natural language processing (NLP). As a highly successful word embedding model, Word2Vec offers an efficient method for learning distributed word representations on large datasets. However, Word2Vec lacks consideration for distances between center and context words. We propose two novel methods, Learnable Formulated Weights (LFW) and Epoch-based Dynamic Window Size (EDWS), to incorporate distance information into two variants of Word2Vec, the Continuous Bag-of-Words (CBOW) model and the Continuous Skip-gram (Skip-gram) model. For CBOW, LFW uses a formula with learnable parameters that best reflects the relationship of influence and distance between words to calculate distance-related weights for average pooling, providing insights for future NLP text modeling research. For Skip-gram, we improve its dynamic window size strategy to introduce distance information in a more balanced way. Experiments prove the effectiveness of LFW and EDWS in enhancing Word2Vec's performance, surpassing previous state-of-the-art methods.
[ -0.13070517778396606, -0.8148627877235413, 0.5448138117790222, 0.3343571722507477, -0.24053002893924713, 0.13405440747737885, -0.3560977578163147, -0.5114497542381287, 0.07865896821022034, -0.07092117518186569, -0.448358416557312, -0.21581324934959412, -0.9030166864395142, -0.10178612172603607, 0.02376188524067402, 0.4771409034729004, -0.3417111337184906, 0.013198213651776314, -0.5471027493476868, -0.3355335593223572, -0.787249743938446, 0.07160336524248123, -0.3213435709476471, -0.4914643168449402, 0.4403299391269684, 0.21405546367168427, 0.5560702085494995, 0.9694254398345947, 0.16727310419082642, 0.13135051727294922, 0.036490507423877716, 0.6172766089439392, -0.4662482738494873, 0.22514966130256653, 0.12394235283136368, -0.513878583908081, -0.11422968655824661, 0.18409428000450134, 0.8389987349510193, 0.726776659488678, -0.4207386374473572, -0.13076665997505188, 0.3107738494873047, 0.6318411827087402, -0.7524428963661194, 0.49528929591178894, -0.5937812328338623, 0.3670552372932434, -0.06282710283994675, -0.21148906648159027, -0.4462648332118988, -0.2648206055164337, 0.15548907220363617, -0.904754102230072, -0.09335275739431381, 0.1168607547879219, 0.7128612995147705, 0.2051958590745926, -0.17598211765289307, -0.5403428673744202, -0.6786211133003235, 0.965889036655426, -0.3307763338088989, 0.7286291122436523, 0.41735485196113586, 0.18582957983016968, -0.0787687823176384, -0.7033166885375977, -0.3345368802547455, -0.019370906054973602, 0.16908439993858337, 0.24704326689243317, -0.0835983082652092, 0.03424564749002457, 0.2651185691356659, -0.1407034546136856, -0.3952045440673828, 0.3591724634170532, -0.2894752323627472, -0.03092973306775093, 0.3686721622943878, -0.08368101716041565, -0.08170224726200104, 0.22254107892513275, -0.606942892074585, -0.10318461060523987, -0.6049323678016663, -0.21582520008087158, 0.25750112533569336, 0.19681961834430695, -0.010108673013746738, 0.3058364987373352, -0.0859004408121109, 0.7429504990577698, -0.12813259661197662, -0.10708360373973846, 0.1953151375055313, 0.08883526176214218, 0.013498830609023571, 0.27840375900268555, 0.14240600168704987, 0.7234827280044556, 0.18883730471134186, -0.2962225079536438, -0.2136458456516266, -0.23613378405570984, 0.17450687289237976, -0.8291501998901367, 0.008274579420685768, 0.02145969495177269, -0.4709293246269226, -0.03179218992590904, 0.20001064240932465, -0.778940737247467, -0.21908079087734222, -0.44665825366973877, 0.5177819728851318, -0.3584785759449005, -0.12688152492046356, -0.10406048595905304, -0.4649709165096283, 0.1471422165632248, 0.33934882283210754, -0.7476487159729004, 0.4189993143081665, 0.5802274346351624, 1.1997041702270508, -0.31565621495246887, -0.04060038924217224, -0.8343355059623718, 0.1974448561668396, -0.37207645177841187, 0.5521566271781921, -0.70830237865448, -0.5466067790985107, 0.3027074337005615, -0.1972856968641281, -0.1763366460800171, -0.41528087854385376, 0.03753336891531944, -0.7248199582099915, 0.5825299620628357, -0.41553962230682373, -1.0619107484817505, -0.1379145383834839, 0.08022845536470413, -0.38730958104133606, 1.3142642974853516, 0.34692618250846863, -1.026951789855957, 0.37979617714881897, -0.5058472156524658, -0.37559863924980164, 0.29769256711006165, -0.018797291442751884, -0.28888165950775146, 0.10594815760850906, 0.2495921105146408, 0.6297335028648376, 0.34893009066581726, -0.09388846158981323, -0.214466392993927, -0.4704020321369171, -0.2206221967935562, -0.4525158107280731, 0.25777700543403625, 0.2947298288345337, -0.24435341358184814, -0.29013532400131226, -0.6679773926734924, 0.05915815383195877, 0.18961624801158905, -0.5750294327735901, -0.6665327548980713, 0.38653016090393066, 0.004901717882603407, -0.16217344999313354, 0.4842109978199005, -0.6073654890060425, 0.12859117984771729, -0.4802265465259552, 0.22702810168266296, 0.7076930403709412, -0.18498235940933228, 0.6300299763679504, -0.10807552933692932, 0.29440823197364807, -0.2989000082015991, 0.007236204110085964, 0.1364283710718155, -0.3809640407562256, -0.3169874846935272, -0.3167358338832855, 0.20759519934654236, 0.7522020936012268, -0.8253483176231384, 0.46303871273994446, -0.3180045187473297, -0.2603828012943268, -0.15767937898635864, -0.07830698788166046, 0.03533133864402771, 0.14397962391376495, 0.48405295610427856, -0.031177803874015808, -0.5398220419883728, -0.44859206676483154, -0.15126536786556244, -0.00790008157491684, -0.20754101872444153, 0.43778616189956665, 0.058725755661726, -0.18133561313152313, 1.1248650550842285, -1.0346944332122803, -0.3171054422855377, -0.26641136407852173, 0.016270317137241364, -0.18955866992473602, 0.10866062343120575, 0.4591728746891022, -0.4747604429721832, -0.5241512656211853, -0.3032502830028534, -0.4762764871120453, -0.30525147914886475, -0.037556327879428864, -0.058626167476177216, 0.1322232335805893, 0.7256010174751282, -0.14778447151184082, 0.4497230052947998, 0.879220724105835, -0.3071580231189728, 0.3421984314918518, -0.8512563705444336, -0.2690964341163635, -1.1344926357269287, -0.49978330731391907, -0.07423501461744308, -0.6558854579925537, -0.23700886964797974, -0.07279075682163239, 0.1185203269124031, 0.1437382996082306, -0.3763934373855591, 0.4629853367805481, -0.8346772789955139, 0.05882730707526207, -0.5654540061950684, 0.6180473566055298, -0.07631358504295349, 0.10074003040790558, -0.0024427075404673815, 0.6089172959327698, 0.3285534083843231, -0.7595946788787842, 0.3697560429573059, -0.12350860238075256, -0.3450291156768799, 0.35215750336647034, -0.501566469669342, 0.02073228731751442, -0.2733219861984253, 0.5338572263717651, -0.6179906129837036, 0.21445327997207642, -0.08604472875595093, -0.2618732750415802, 0.526054859161377, 0.20765407383441925, -0.42746832966804504, -0.25786998867988586, -0.47104206681251526, 0.31974902749061584, 0.7089583873748779, -0.7871142029762268, 0.3020156919956207, 0.3904486298561096, 0.09254653006792068, -0.4395727217197418, -0.7854304313659668, -0.168889120221138, -0.12564153969287872, -0.31188738346099854, 0.7238454222679138, 0.15971186757087708, -0.0695824846625328, 0.08458508551120758, 0.07855013757944107, 0.21139280498027802, -0.012192792259156704, 0.3205093741416931, -0.07218576967716217, 0.2753570079803467, 0.5309556126594543, 0.17259836196899414, 0.015513737685978413, -0.24339376389980316, -0.7060202956199646, 0.5937678217887878, 0.24723730981349945, -0.109368696808815, -0.09966804832220078, 0.4054375886917114, 0.17347392439842224, -0.2120802402496338, 1.1247626543045044, 1.0309596061706543, -0.6791037321090698, -0.6320098042488098, -0.43445226550102234, -0.2858930826187134, -0.40230339765548706, 0.582616925239563, -0.14344410598278046, -1.032901406288147, 0.2565362751483917, -0.21153749525547028, 0.24996304512023926, 0.39094415307044983, 0.41898563504219055, 0.06543099135160446, 0.6704162359237671, 0.8722282648086548, 0.01996365562081337, 0.8460687398910522, -0.19358249008655548, 0.1157878115773201, -0.8348383903503418, -0.4148697853088379, -0.20667140185832977, -0.3866131007671356, -0.6192357540130615, -1.1420981884002686, 0.2081325352191925, 0.1897718906402588, 0.10377942770719528, 0.30003631114959717, -0.4346528947353363, 0.2901763319969177, 0.288941353559494, -0.10475706309080124, -0.05229489132761955, 0.36941564083099365, -0.7636091709136963, -0.1102367639541626, -0.742326557636261, -0.12944935262203217, 0.8701313138008118, 0.7187739610671997, 0.5601012706756592, 0.006547356955707073, 0.5965070724487305, 0.46447235345840454, -0.08733808994293213, -0.8495532274246216, 0.4423465132713318, -0.2648204267024994, -0.141465961933136, -0.3131643533706665, -0.45993658900260925, -0.9660976529121399, 0.38612863421440125, -0.14301516115665436, -0.8811311721801758, -0.14136020839214325, -0.1793324053287506, -0.23793432116508484, 0.5923054814338684, -0.577671229839325, 0.16018091142177582, 0.1262030452489853, -0.2919871211051941, -0.6790340542793274, -0.40677008032798767, -0.33065900206565857, 0.24904346466064453, 0.38264137506484985, -0.2524351477622986, -0.5023003220558167, 1.0195120573043823, -0.4274444282054901, 0.4877450168132782, -0.5093261003494263, -0.009212852455675602, 0.41258224844932556, 0.05363154038786888, 0.8543040752410889, -0.010274822823703289, -0.004318126942962408, 0.2202647477388382, -0.08959253877401352, -0.329450398683548, -0.4727456569671631, 0.8591731190681458, -0.5503571033477783, -0.20230194926261902, -0.405855268239975, -0.41372764110565186, -0.11260122060775757, 0.055827055126428604, 0.2636682391166687, 0.6382509469985962, -0.32325536012649536, 0.2365923821926117, 0.6235992312431335, -0.2687336802482605, 0.9061934947967529, 0.5649298429489136, -0.035753849893808365, -0.36685943603515625, 0.6219454407691956, 0.6045563220977783, 0.039401113986968994, 0.8151724338531494, 0.4148152470588684, -0.40921738743782043, -0.4524042308330536, -0.32027938961982727, 0.06818971782922745, -0.3637619912624359, -0.018133193254470825, -0.8646138310432434, -0.15545393526554108, -0.31967872381210327, -0.31005021929740906, -0.6707239151000977, -0.23422320187091827, -0.4161616563796997, -0.2966093122959137, 0.6215369701385498, 0.7799539566040039, -0.27662768959999084, 0.17740623652935028, -0.7005507349967957, -0.21425344049930573, 0.16063658893108368, 0.6551157832145691, 0.30371934175491333, -0.43232983350753784, -0.5180896520614624, -0.022768452763557434, -0.16686028242111206, -0.8345476984977722, 0.29741665720939636, 0.3368925154209137, 0.42715680599212646, 0.5604937076568604, 0.06545805186033249, 0.4590742290019989, -0.9352331161499023, 0.9127745628356934, 0.35759928822517395, -0.5103505253791809, 0.28890955448150635, -0.13518062233924866, 0.34712353348731995, 0.22520266473293304, 0.338291198015213, -0.7280120253562927, -0.168833389878273, -0.30761855840682983, -0.9560157656669617, 0.3546393811702728, 0.2092141956090927, 0.19517746567726135, -0.1642526537179947, 0.31576234102249146, 0.23998957872390747, -0.1583200842142105, -0.2839045822620392, -0.0375138595700264, 0.18300941586494446, -0.24689893424510956, 0.04224279895424843, -0.3275400996208191, 0.2763875424861908, -0.24811549484729767, 0.5222297310829163, -0.19617636501789093, 0.48597484827041626, 0.2545357048511505, -0.09930059313774109, 0.1225748136639595, -0.060232508927583694, 0.3341114819049835, 0.5476162433624268, -0.22477276623249054, 0.15208576619625092, 0.6070408225059509, -0.6786235570907593, -0.1832154244184494, 0.3189750015735626, -0.07652591168880463, 0.09253084659576416, 0.561898410320282, 0.9635794162750244, 0.019428860396146774, -0.46287211775779724, 0.554016649723053, -0.03218603879213333, -0.2499239444732666, -0.3946435749530792, -0.13269835710525513, 0.19426578283309937, 0.21098533272743225, 0.28328683972358704, -0.2457200288772583, -0.07876735925674438, -0.261388897895813, 0.3352415859699249, 0.4124683141708374, -0.8058609962463379, -0.03814316540956497, 0.5223349928855896, 0.39723941683769226, -0.09673702716827393, 0.7642239928245544, -0.3720828592777252, -0.5591328144073486, 0.3266865313053131, 0.38648074865341187, 0.6885888576507568, -0.1343541443347931, 0.24334006011486053, 0.3294171094894409, 0.019282106310129166, -0.4181741178035736, -0.12305428832769394, -0.2853071093559265, -0.66646808385849, -0.19740143418312073, -0.7351084351539612, -0.03425897657871246, -0.305372416973114, -0.478996217250824, 0.18999046087265015, -0.44466060400009155, -0.19616171717643738, -0.466625452041626, 0.5708742737770081, -0.7696481347084045, -0.051071591675281525, 0.38126257061958313, 0.8081095218658447, -0.7297572493553162, 0.7635990381240845, 0.5995428562164307, 0.22158260643482208, -1.0074763298034668, 0.2153526395559311, 0.053833119571208954, -0.7186087965965271, 0.22168685495853424, 0.4879150986671448, -0.027084406465291977, 0.05132781341671944, -0.16989105939865112, -0.8956678509712219, 1.4866100549697876, -0.23533308506011963, -0.8420076370239258, -0.06947120279073715, -0.09534022212028503, 0.3495018184185028, -0.45181116461753845, 0.28700894117355347, 0.3809870183467865, 0.3136918246746063, 0.0678001195192337, -0.6089417338371277, 0.05477410927414894, 0.40388908982276917, 0.34446749091148376, 0.15552282333374023, -0.7696876525878906, 0.43913233280181885, -0.23385584354400635, -0.3054659962654114, -0.23195567727088928, 0.7445358037948608, 0.02269928716123104, 0.39583855867385864, 0.6821030974388123, 0.7466602325439453, 0.9251884818077087, -0.08768842369318008, 1.14191472530365, 0.015897803008556366, 0.5338369607925415, 0.9341005086898804, -0.2670043706893921, 1.0800859928131104, 0.215053528547287, -0.4879092872142792, 0.5772375464439392, 0.5577489137649536, -0.0068128593266010284, 0.5550231337547302, 0.48347941040992737, -0.21456606686115265, 0.07619218528270721, -0.09534049034118652, -0.275047242641449, 0.3830487132072449, 0.2978428900241852, -0.21586933732032776, -0.25940123200416565, 0.34906744956970215, 0.27874258160591125, 0.27177777886390686, -0.17567697167396545, 0.8571329116821289, 0.35255134105682373, -0.4687248170375824, 0.31754201650619507, 0.5506387948989868, 1.1080691814422607, -0.6680711507797241, 0.1373390406370163, -0.14349423348903656, 0.39811038970947266, -0.0010315357940271497, -0.5322475433349609, 0.2728044390678406, -0.07441277801990509, -0.19856896996498108, -0.38775336742401123, 0.6018414497375488, -0.7058654427528381, -0.513481080532074, 0.6872946619987488, 0.23951685428619385, -0.030265040695667267, 0.06781166791915894, -0.5681297779083252, -0.03586673364043236, -0.16747325658798218, -0.3477989137172699, 0.39536288380622864, 0.16045743227005005, -0.016052186489105225, 0.5894901156425476, 0.23944997787475586, 0.45358526706695557, 0.1522691249847412, 0.31164440512657166, 0.4751516878604889, -0.13423007726669312, -0.7957385778427124, -0.9005033373832703, 0.13895736634731293, -0.16796034574508667, 0.2346991002559662, 0.6321701407432556, 0.48728659749031067, 0.6825307011604309, -0.02670302800834179, 0.4183928668498993, -0.0696140006184578, 0.5175843238830566, -0.5498601198196411, 0.6383866667747498, -0.8224104642868042, 0.11609436571598053, -0.011611646972596645, -1.2444096803665161, -0.12699800729751587, 0.5057241916656494, -0.16041885316371918, 0.087043397128582, 0.8301764130592346, 0.7007061243057251, 0.20811201632022858, -0.2301752269268036, 0.26810213923454285, -0.10231956839561462, 0.4514710605144501, 0.5432042479515076, 0.36424320936203003, -0.3014712333679199, 0.29748398065567017, -0.11883015185594559, -0.41656407713890076, -0.32452720403671265, -1.0091583728790283, -0.604028046131134, -0.6776516437530518, -0.5894548296928406, -0.31591376662254333, 0.34868571162223816, 1.1867517232894897, 0.7660560607910156, -0.3597243130207062, 0.08470480889081955, -0.1719958782196045, 0.09101803600788116, -0.4387724697589874, -0.27730563282966614, 0.6198317408561707, -0.1610555648803711, -0.7529336810112, 0.20707164704799652, 0.22321271896362305, 0.026829805225133896, -0.11172085255384445, -0.15785109996795654, -0.1344490945339203, 0.4098460376262665, 0.8444440960884094, -0.18470869958400726, -0.46906906366348267, -0.5557186007499695, -0.40300479531288147, -0.05324660614132881, -0.27397990226745605, 0.610255241394043, -0.6857545375823975, 0.5389747619628906, 0.8554039001464844, 0.4928944706916809, 0.43796512484550476, -0.004411814268678427, 0.5650444030761719, -1.0957844257354736, 0.3797544836997986, 0.12328736484050751, 0.1495317667722702, 0.43062061071395874, -0.4400162696838379, 0.13876157999038696, 0.515309751033783, -0.3211526870727539, -0.47359374165534973, 0.011654097586870193, -0.7937055826187134, -0.6141002178192139, 1.4684069156646729, -0.1097227931022644, 0.008267911151051521, 0.27358362078666687, 0.06509506702423096, 0.5214086771011353, -0.42460954189300537, 0.3960854411125183, 0.7604058980941772, 0.17094920575618744, 0.11386243999004364, -0.7636588215827942, 0.5393136143684387, 0.01831348054111004, -0.29576197266578674, 0.14603301882743835, 0.310838907957077, 0.4779978394508362, -0.18627701699733734, 0.42079344391822815, -0.18643899261951447, -0.3948768973350525, 0.304161936044693, -0.08608957380056381, -0.4390038549900055, -0.3446201682090759, -0.04012122005224228, 0.15825530886650085, -0.2053341567516327, -0.5928516387939453 ]
http://arxiv.org/abs/2405.00704v2
http://arxiv.org/pdf/2405.00704v2
A Survey on the Real Power of ChatGPT
2024-04-22T23:31:28
2024-05-10T02:38:28
Ming Liu, Ran Liu, Ye Zhu, Hua Wang, Youyang Qu, Rongsheng Li, Yongpan Sheng, Wray Buntine
cs.CL
cs.CL, cs.AI
ChatGPT has changed the AI community and an active research line is the performance evaluation of ChatGPT. A key challenge for the evaluation is that ChatGPT is still closed-source and traditional benchmark datasets may have been used by ChatGPT as the training data. In this paper, (i) we survey recent studies which uncover the real performance levels of ChatGPT in seven categories of NLP tasks, (ii) review the social implications and safety issues of ChatGPT, and (iii) emphasize key challenges and opportunities for its evaluation. We hope our survey can shed some light on its blackbox manner, so that researchers are not misleaded by its surface generation.
[ -0.3931479752063751, -0.7584272027015686, 0.10758373886346817, 0.13912861049175262, -0.018821382895112038, 0.3834104835987091, -0.34143444895744324, -0.6355432271957397, -0.1253206431865692, 0.2464509755373001, -0.4522952735424042, -0.1596502959728241, -0.8473288416862488, -0.13756826519966125, -0.48202982544898987, 1.3318642377853394, 0.22787365317344666, -0.04130636155605316, 0.002669574460014701, -0.20396800339221954, -0.4828072786331177, -1.0437527894973755, -0.9016463756561279, -0.2139965444803238, 0.4543856084346771, 0.17851325869560242, 0.7507753372192383, 0.16159965097904205, 0.9643645286560059, 0.2605874836444855, -0.11896824091672897, -0.012559066526591778, -0.7339456081390381, 0.1422768235206604, -0.07345376908779144, -0.6420708298683167, -0.4325820505619049, 0.42314237356185913, 0.625422477722168, 0.4954378604888916, -0.2505214512348175, 0.3245300054550171, 0.15244315564632416, 0.7863850593566895, -0.4947695732116699, 0.384560227394104, -0.716484785079956, 0.31573036313056946, -0.2943510413169861, 0.03848373517394066, -0.3570696711540222, -0.4311142563819885, 0.32855895161628723, -0.3283611536026001, 0.4837225079536438, 0.27514132857322693, 0.744049072265625, 0.5457379221916199, -0.20730319619178772, -0.18413250148296356, -1.0074055194854736, 0.7051236033439636, -0.48991674184799194, 0.35621121525764465, 0.04341394081711769, 0.836319088935852, -0.009943000972270966, -0.9957306981086731, -0.48647332191467285, -0.36938223242759705, 0.11442101001739502, 0.38989269733428955, -0.18892602622509003, 0.01625693216919899, 0.517230212688446, 0.6041196584701538, -0.4815893769264221, -0.1945188343524933, -0.5558876991271973, -0.03154264762997627, 0.7905764579772949, 0.057070016860961914, 0.452519953250885, -0.028980378061532974, -0.18776655197143555, -0.3307504951953888, -0.6085928678512573, -0.15957190096378326, 0.26539069414138794, 0.056321606040000916, -0.035464972257614136, 0.6241578459739685, -0.12621378898620605, 0.3773309886455536, -0.4754049479961395, 0.2006099820137024, 0.18633690476417542, -0.3839656412601471, 0.027569066733121872, 0.05236780270934105, 1.0270534753799438, 0.3429161310195923, 0.3389569818973541, -0.41146114468574524, 0.08000632375478745, 0.1283847689628601, 0.5157679319381714, -0.7296909093856812, -0.264801949262619, -0.014788818545639515, -0.3748342990875244, -0.27344876527786255, -0.004943320993334055, -0.7881498336791992, -0.38409224152565, 0.08892608433961868, 0.21787330508232117, -0.3896172344684601, -0.6835543513298035, 0.07667697221040726, -0.36445891857147217, 0.41922715306282043, 0.37084466218948364, -0.7673553228378296, 0.524615466594696, 1.0152174234390259, 1.0473878383636475, -0.13552580773830414, -0.22857654094696045, -0.16242145001888275, -0.454629123210907, -0.09473657608032227, 0.7386164665222168, -0.4461669921875, -0.24848595261573792, -0.17702722549438477, -0.22955472767353058, -0.46307674050331116, -0.42549270391464233, 0.3813987374305725, -0.1836107224225998, 0.3449295461177826, -0.20124471187591553, -0.469853937625885, 0.07280060648918152, 0.4226093292236328, -0.5482280850410461, 1.1457245349884033, -0.09932149201631546, -0.8568617105484009, 0.44425150752067566, -0.9660828709602356, -0.09781315922737122, 0.2548561692237854, -0.11364764720201492, -0.5293437242507935, -0.07617441564798355, 0.0020461860112845898, 0.18590837717056274, -0.2694069743156433, 0.26121383905410767, 0.01855015568435192, -0.505368173122406, 0.3498568832874298, -0.8230539560317993, 0.6774516701698303, 0.1481228470802307, -0.6466958522796631, -0.11373497545719147, -0.7226262092590332, 0.01418125070631504, 0.008110458962619305, -0.11115379631519318, 0.09664605557918549, 0.2822120785713196, -0.06258835643529892, 0.17887651920318604, 0.04516519233584404, -0.9129539132118225, 0.17178791761398315, -0.2190062254667282, 0.5747246742248535, 0.605507493019104, -0.009594243951141834, 0.07536321878433228, -0.3593931496143341, 0.7217945456504822, -0.5532265901565552, 0.3472072184085846, 0.2222650647163391, -1.0767133235931396, -0.7061973810195923, -0.014509228989481926, 0.7009873390197754, 0.6745032668113708, -0.4762697219848633, 0.2730388939380646, -0.27429530024528503, -0.9167510867118835, -0.6701740026473999, -0.38712626695632935, 0.42814379930496216, 0.1974864900112152, 0.17891892790794373, -0.32863256335258484, -0.08387391269207001, -0.7983670830726624, -0.36881521344184875, -0.2949443757534027, -0.19164212048053741, 0.590809166431427, 0.4731074571609497, 0.0576002299785614, 0.8577145338058472, -0.39010950922966003, -0.12271949648857117, -0.2914682924747467, 0.29746565222740173, -0.026556354016065598, 0.5853965282440186, 0.31960952281951904, -0.7216160297393799, -0.3511965274810791, -0.05816347524523735, -0.7125906944274902, 0.001369347097352147, 0.03009898215532303, -0.12647080421447754, -0.35098204016685486, 0.3958165943622589, -0.6777091026306152, 0.27346959710121155, 0.7258461117744446, -0.23837770521640778, 0.6342552304267883, 0.05098026618361473, 0.21277214586734772, -0.7438297867774963, 0.25926634669303894, -0.2905816435813904, -0.03905678167939186, -0.4829655885696411, 0.14196521043777466, -0.10998635739088058, -0.6682130098342896, -0.416221022605896, 0.4022669792175293, -0.24259914457798004, -0.10045761615037918, 0.03291637822985649, 0.2116595357656479, -0.4277234375476837, 0.4350259602069855, 0.06663179397583008, 0.7565316557884216, 0.45907390117645264, -0.28772246837615967, 0.5408087968826294, 0.2864394187927246, -0.39492014050483704, 0.21241064369678497, -0.9074525833129883, 0.4427422285079956, -0.04654787853360176, 0.2691345512866974, -1.0576634407043457, 0.012519259937107563, 0.3495960533618927, -0.5954636335372925, -0.011618196964263916, -0.306398868560791, -0.4186781346797943, -0.1621316373348236, -0.12415526807308197, 0.3345101773738861, 0.7381062507629395, -0.2446541041135788, -0.010499687865376472, 0.387118399143219, 0.11426187306642532, -0.5847047567367554, -0.6583855748176575, 0.3968851566314697, -0.13792884349822998, -0.6645386219024658, 0.08521146327257156, 0.005010851658880711, -0.3083321154117584, -0.049390263855457306, -0.027867471799254417, 0.10882030427455902, 0.24864305555820465, 0.373055100440979, -0.20862862467765808, -0.13068297505378723, 0.12057899683713913, -0.43787050247192383, -0.20740307867527008, 0.05527675896883011, 0.15771383047103882, 0.6108426451683044, -0.4158543646335602, -0.5692329406738281, 0.032777730375528336, 0.007750038988888264, 0.09513913840055466, -0.3467453420162201, 0.7010521292686462, 0.7749766707420349, -0.17959775030612946, -0.14393316209316254, -0.3612420856952667, -0.19015394151210785, -0.47452446818351746, 0.2891014516353607, -0.01962846703827381, -0.882627546787262, 0.245158389210701, -0.19358111917972565, 0.3318929374217987, 0.3180599510669708, 0.4200417399406433, 0.17416392266750336, 0.8032582998275757, 0.5333443284034729, 0.15710005164146423, 0.4633428156375885, -0.29133492708206177, 0.6182836294174194, -0.6431145668029785, -0.27232131361961365, -0.655331015586853, -0.43674740195274353, -0.8796084523200989, -0.2616940438747406, 0.5226976871490479, -0.24749469757080078, -0.00933944433927536, 0.2876596748828888, -0.7523452043533325, 0.20083436369895935, 0.5964023470878601, 0.19455182552337646, 0.33062687516212463, -0.3071241080760956, 0.3669387996196747, -0.045678894966840744, -0.8951407074928284, -0.5236678123474121, 1.0370386838912964, 0.471482515335083, 0.5067830681800842, 0.07297563552856445, 0.5599157810211182, 0.4288453757762909, 0.32761451601982117, -0.7548267245292664, 0.7500524520874023, 0.2303438037633896, -0.7861481308937073, -0.4591808319091797, -0.47212210297584534, -1.256545901298523, 0.27525991201400757, -0.1735800802707672, -0.6352288126945496, -0.22902372479438782, -0.039110422134399414, -0.06205315887928009, 0.25149232149124146, -0.8440743684768677, 1.0140761137008667, -0.1265653818845749, -0.2215542197227478, -0.26413118839263916, -0.5526689887046814, 0.28980132937431335, 0.22347094118595123, -0.07896435260772705, -0.44049549102783203, 0.1412304937839508, 1.1449294090270996, -0.4334644079208374, 0.7363768219947815, -0.20859119296073914, 0.2065815031528473, 0.2846307158470154, -0.20809721946716309, 0.20258483290672302, 0.15603269636631012, -0.10610818862915039, 0.4553051292896271, 0.08134974539279938, -0.4988339841365814, -0.5785887241363525, 0.480267196893692, -0.7167233824729919, -0.5312802195549011, -0.6422432065010071, -0.25354403257369995, -0.5768665671348572, 0.043551720678806305, 0.16909243166446686, 0.3022497892379761, -0.5212146043777466, 0.42832478880882263, 0.3832278549671173, -0.23383678495883942, 0.4261021912097931, 0.10721654444932938, -0.001241627847775817, 0.014738024212419987, 1.0343563556671143, 0.2854696810245514, 0.18650133907794952, 0.2232084721326828, 0.10530220717191696, -0.02831437438726425, -0.6127589344978333, -0.6140837073326111, -0.015846021473407745, -0.22205136716365814, 0.1186818778514862, -0.512328028678894, -0.46450939774513245, -0.20337963104248047, 0.08980497717857361, -0.7580301761627197, -0.661119282245636, 0.38567766547203064, -0.08782215416431427, 0.3334522247314453, 0.9188874363899231, 0.036293622106313705, 0.40578800439834595, -0.46296095848083496, 0.22030995786190033, 0.5481048226356506, 0.6062087416648865, -0.05636115372180939, 0.15620379149913788, -0.209723562002182, 0.12439790368080139, -0.3874570429325104, -0.5507447123527527, 0.1807112842798233, 0.06258885562419891, 0.6479122638702393, -0.027987228706479073, 0.17849738895893097, 0.2547198534011841, -0.5180331468582153, 1.2901943922042847, -0.02104925736784935, -0.48590052127838135, 0.25278934836387634, -0.25936076045036316, 0.12872657179832458, 0.4831746816635132, 0.32549721002578735, -0.8726969957351685, -0.5426936745643616, -1.0931859016418457, -0.6548909544944763, 0.6083630323410034, 0.8458620309829712, 0.13721193373203278, 0.22190512716770172, 0.07579052448272705, -0.06525854021310806, 0.4756559729576111, -0.48988771438598633, -0.21460780501365662, -0.41525232791900635, 0.10520047694444656, 0.012691142037510872, -0.09634600579738617, -0.04119271785020828, -0.08062974363565445, 0.3135298788547516, 0.1082582175731659, 0.6857454776763916, 0.09245702624320984, 0.20850692689418793, 0.22104549407958984, 0.26981568336486816, 0.12721122801303864, 0.8629059791564941, -0.37145352363586426, -0.03305789455771446, 0.0634237602353096, -0.7515102624893188, -0.10240263491868973, 0.06401040405035019, -0.07331380248069763, -0.04423680528998375, 0.5571567416191101, 0.7043864727020264, 0.10882073640823364, -0.7364406585693359, 0.5760687589645386, -0.4142403304576874, -0.2296275496482849, -0.23387613892555237, 0.5406228303909302, -0.1787956953048706, 0.0790138691663742, 0.40193331241607666, 0.17950840294361115, 0.07062186300754547, -0.6135976314544678, 0.16943392157554626, 0.5531294941902161, -0.459938645362854, -0.15678028762340546, 0.6155595779418945, 0.258419394493103, -0.5495129823684692, 0.7059881687164307, 0.006833791732788086, -0.5148816704750061, 0.7041216492652893, 0.2626512944698334, 0.806117057800293, -0.023455262184143066, 0.2582535445690155, 0.2668454945087433, 0.5068964958190918, 0.03384394943714142, 0.00527944415807724, -0.22410254180431366, -0.6609483957290649, -0.37627050280570984, -0.4192299544811249, -0.9927064180374146, 0.25290095806121826, -0.4730343818664551, 0.026091165840625763, -0.43489664793014526, -0.20437495410442352, 0.028143353760242462, 0.05337829515337944, -0.49797487258911133, 0.2217780500650406, 0.017885997891426086, 0.7428686618804932, -0.415927529335022, 0.5104547739028931, 0.36853018403053284, -0.17305880784988403, -0.42824122309684753, 0.0442536436021328, -0.19059237837791443, -0.8498013615608215, 0.2734912633895874, 0.014911044389009476, 0.03637788072228432, -0.12663845717906952, -0.7752890586853027, -0.6130189299583435, 0.7991227507591248, 0.11537464708089828, -0.40252432227134705, -0.16041041910648346, 0.3981948494911194, 0.7755606770515442, 0.1539965718984604, 0.4702035188674927, 0.4568796455860138, 0.44150862097740173, -0.30258452892303467, -1.2770066261291504, -0.13839879631996155, -0.5685049891471863, -0.19078682363033295, 0.15259157121181488, -1.1623516082763672, 0.5214065909385681, 0.3269847333431244, -0.33233746886253357, -0.2593570351600647, 0.30712854862213135, 0.07501684874296188, 0.2737472653388977, 0.28729957342147827, 0.33141112327575684, 0.5627620816230774, -0.28626230359077454, 1.1274253129959106, -0.2923490107059479, 0.4606170654296875, 0.6241354942321777, -0.04721401259303093, 0.5803402066230774, 0.019280005246400833, -0.4684741199016571, -0.00033946498297154903, 0.43341073393821716, -0.14410676062107086, 0.264635294675827, 0.3362423777580261, -0.25764894485473633, 0.0042495280504226685, 0.022932937368750572, -0.602601945400238, 0.5300643444061279, 0.342694491147995, 0.027244672179222107, -0.3117482662200928, -0.0637306347489357, 0.15439821779727936, -0.1541297286748886, -0.008864602074027061, 0.8571233153343201, 0.008417584002017975, -0.6620507836341858, 0.604625403881073, -0.13653330504894257, 0.6993367671966553, -0.651512861251831, -0.39433181285858154, -0.06491980701684952, 0.11212369799613953, -0.079852394759655, -0.8776450157165527, 0.3935403525829315, -0.07809960842132568, 0.43361082673072815, -0.4100421965122223, 0.9471196532249451, 0.012613778933882713, -0.2729419469833374, 0.08239689469337463, 0.6171442866325378, 0.5809378027915955, -0.33264976739883423, -0.8593064546585083, -0.0239318385720253, -0.045585211366415024, -0.3940173089504242, 0.5489115118980408, 0.43874576687812805, 0.16355355083942413, 0.8691087365150452, 0.6837171912193298, 0.14576959609985352, 0.2683972120285034, -0.26631519198417664, 0.7175980806350708, -0.7376013994216919, -0.15726560354232788, -0.6255611181259155, 0.1935124546289444, -0.3480777144432068, -0.6998482942581177, 0.9176422953605652, 0.5818814635276794, 0.7757129669189453, 0.19374819099903107, 1.0644545555114746, -0.3615282475948334, 0.5740531086921692, -0.3205587565898895, 0.9965879321098328, -0.11331939697265625, -0.10731949657201767, -0.38468968868255615, -0.7703807353973389, -0.055198781192302704, 0.39247190952301025, -0.46286267042160034, -0.10257509350776672, 0.5729997158050537, 0.5777336955070496, -0.06443130970001221, 0.39193040132522583, 0.47084248065948486, -0.015228679403662682, 0.583048939704895, 0.34635189175605774, 0.9630521535873413, -0.5023298859596252, 0.7290083765983582, -0.533988893032074, -0.36268070340156555, -0.12274280935525894, -0.8185590505599976, -0.8371641039848328, -0.646567702293396, -0.36149194836616516, -0.25436916947364807, 0.3668307065963745, 0.4534550905227661, 0.7721340656280518, -0.5753167867660522, -0.14317205548286438, -0.055762384086847305, 0.07809803634881973, -0.5257228016853333, -0.22883349657058716, 0.39935052394866943, -0.33748650550842285, -0.7735939025878906, 0.3386833071708679, -0.006106625776737928, -0.2691478729248047, -0.19428052008152008, 0.11486701667308807, -0.016632122918963432, -0.20691326260566711, 0.6727503538131714, 0.34818798303604126, -0.14101190865039825, -0.36805111169815063, -0.14345870912075043, 0.029939699918031693, 0.09872488677501678, 0.9484771490097046, -0.6187354922294617, 0.11628702282905579, 0.45981863141059875, 0.7140371799468994, 0.8300211429595947, 0.18423773348331451, 0.6802476048469543, -0.5551547408103943, 0.20290617644786835, 0.5116889476776123, 0.10770678520202637, 0.14863131940364838, -0.2815679609775543, 0.987949788570404, 0.3702252507209778, -0.9904494881629944, -0.8522202968597412, -0.027891268953680992, -1.1273865699768066, -0.011918393895030022, 1.1543654203414917, -0.09050930291414261, -0.07885994762182236, -0.3659546375274658, -0.5199280977249146, 0.15408773720264435, -0.40026524662971497, 0.9617357850074768, 0.722844123840332, -0.4880102872848511, -0.3467591106891632, -1.1129989624023438, 0.7636733651161194, 0.3420392572879791, -0.6348087191581726, 0.18575261533260345, 0.2710539996623993, 0.054691381752491, 0.19657401740550995, 0.6699932217597961, -0.251903772354126, 0.07005012780427933, 0.37335893511772156, 0.0894322320818901, 0.024702340364456177, -0.10067213326692581, 0.18796992301940918, 0.43225571513175964, 0.16114723682403564, -0.26703381538391113 ]
http://arxiv.org/abs/2404.14619v2
http://arxiv.org/pdf/2404.14619v2
OpenELM: An Efficient Language Model Family with Open Training and Inference Framework
2024-04-22T23:12:03
2024-05-02T00:30:57
Sachin Mehta, Mohammad Hossein Sekhavat, Qingqing Cao, Maxwell Horton, Yanzi Jin, Chenfan Sun, Iman Mirzadeh, Mahyar Najibi, Dmitry Belenko, Peter Zatloukal, Mohammad Rastegari
cs.CL
cs.CL, cs.AI, cs.LG
The reproducibility and transparency of large language models are crucial for advancing open research, ensuring the trustworthiness of results, and enabling investigations into data and model biases, as well as potential risks. To this end, we release OpenELM, a state-of-the-art open language model. OpenELM uses a layer-wise scaling strategy to efficiently allocate parameters within each layer of the transformer model, leading to enhanced accuracy. For example, with a parameter budget of approximately one billion parameters, OpenELM exhibits a 2.36% improvement in accuracy compared to OLMo while requiring $2\times$ fewer pre-training tokens. Diverging from prior practices that only provide model weights and inference code, and pre-train on private datasets, our release includes the complete framework for training and evaluation of the language model on publicly available datasets, including training logs, multiple checkpoints, and pre-training configurations. We also release code to convert models to MLX library for inference and fine-tuning on Apple devices. This comprehensive release aims to empower and strengthen the open research community, paving the way for future open research endeavors. Our source code along with pre-trained model weights and training recipes is available at \url{https://github.com/apple/corenet}. Additionally, \model models can be found on HuggingFace at: \url{https://huggingface.co/apple/OpenELM}.
[ -0.3558415174484253, -0.5267363786697388, 0.2082502692937851, 0.2526134252548218, 0.30287304520606995, -0.4830639660358429, -0.6432745456695557, -0.34324637055397034, -0.24821509420871735, 0.8129991888999939, -0.19196778535842896, -0.6463955640792847, -0.5931960344314575, -0.39549362659454346, -0.40710845589637756, 0.8173903822898865, -0.2924441695213318, 0.13197848200798035, -0.1961430013179779, -0.375869482755661, 0.3105458617210388, -0.44461679458618164, -0.4583855867385864, -0.3974841237068176, 0.5527796149253845, 0.5015292167663574, 0.8190720081329346, 0.6699982285499573, 0.6136265993118286, 0.1752471923828125, -0.04891514033079147, -0.20547927916049957, -0.3896816372871399, 0.09050459414720535, -0.06344885379076004, -0.3527809679508209, -0.43927907943725586, 0.28905293345451355, 0.6880253553390503, 0.8821424841880798, -0.17918932437896729, 0.25721079111099243, -0.13733422756195068, 0.7221249938011169, -0.9979861974716187, 0.1482650637626648, -0.37800776958465576, 0.09677565842866898, -0.02125842496752739, 0.436558336019516, -0.575056254863739, -0.6192672252655029, 0.016005991026759148, -0.41201502084732056, -0.049516309052705765, 0.14178219437599182, 0.8131484389305115, 0.15821360051631927, -0.020548762753605843, -0.06564491242170334, -1.0723451375961304, 0.8242905139923096, -0.6909506916999817, 0.6667472720146179, 0.4814964532852173, 0.6493837833404541, 0.11986323446035385, -1.1658235788345337, -0.4255962669849396, -0.3991565704345703, 0.024012330919504166, -0.007638056296855211, -0.3033437430858612, 0.05602070689201355, 0.16922740638256073, 0.6315723657608032, -0.34968364238739014, 0.18381555378437042, -0.032943952828645706, 0.019967811182141304, 0.3862469792366028, -0.18937739729881287, 0.2879830300807953, 0.43396854400634766, -0.19900979101657867, -0.19188794493675232, -0.645689070224762, -0.17338907718658447, 0.4234078824520111, 0.22461803257465363, -0.28531941771507263, 0.618698239326477, -0.013288830406963825, 0.5420687794685364, -0.2906218469142914, 0.1234544888138771, 0.31950023770332336, -0.19246284663677216, -0.47385212779045105, 0.10118675976991653, 0.8805612921714783, 0.14090369641780853, 0.2372949868440628, -0.1873449832201004, -0.24531657993793488, -0.28568294644355774, 0.24223491549491882, -0.9565136432647705, -0.2419617623090744, 0.2668788433074951, -0.806597888469696, -0.1930590718984604, 0.28588786721229553, -0.6415579915046692, -0.06258171796798706, -0.2223043143749237, 0.32280901074409485, -0.4580181837081909, -0.49563589692115784, 0.34255871176719666, 0.10165116935968399, 0.05544045940041542, 0.3072645962238312, -0.8047952055931091, 0.5770263075828552, 0.6280142068862915, 0.8262888789176941, 0.010561899282038212, -0.19538302719593048, -0.4078664183616638, 0.040410786867141724, -0.32825967669487, 0.03461281955242157, -0.624589741230011, -0.28371748328208923, 0.02713148668408394, -0.03902189061045647, -0.2948342263698578, -0.6340264678001404, 0.8238000869750977, -0.38091960549354553, 0.24185098707675934, 0.23318538069725037, -0.5242264270782471, -0.21039260923862457, 0.02892354130744934, -0.7342616319656372, 1.2296531200408936, 0.245574951171875, -0.7948499917984009, -0.12056811153888702, -0.9726505279541016, -0.1292249709367752, -0.13916613161563873, 0.07336637377738953, -0.5331959128379822, 0.2727234959602356, 0.19616267085075378, 0.4233131408691406, -0.3886362314224243, 0.08308004587888718, -0.3628009855747223, -0.09991531819105148, 0.14690101146697998, -0.08950549364089966, 0.8518125414848328, 0.5613457560539246, -0.37491223216056824, 0.26558607816696167, -0.658346951007843, 0.04528426378965378, 0.3147069215774536, -0.18158800899982452, -0.4614969789981842, 0.023233892396092415, 0.1714632511138916, 0.0019972838927060366, 0.08628026396036148, -0.8008649349212646, 0.023130131885409355, -0.42319709062576294, 0.5475793480873108, 0.49873560667037964, -0.443568617105484, 0.704603374004364, -0.06276990473270416, 0.3470279574394226, 0.09088246524333954, 0.4062579274177551, -0.6451303958892822, -0.535207211971283, -0.6873709559440613, -0.4189326763153076, 0.5006527304649353, 0.3874257206916809, -0.19523076713085175, 0.5615584254264832, -0.21039175987243652, -0.6342949867248535, -0.8211907148361206, -0.10978575050830841, 0.5188892483711243, 0.5069061517715454, 0.3159697651863098, -0.17221082746982574, -0.39120879769325256, -0.9847860336303711, -0.16765576601028442, 0.015324682928621769, -0.11234913766384125, 0.3741833567619324, 0.6732896566390991, -0.44030770659446716, 1.1746327877044678, -0.5198034644126892, 0.02201840467751026, -0.27389758825302124, 0.2062067836523056, 0.08293576538562775, 0.6682717204093933, 0.7497470378875732, -0.6154072284698486, -0.35584715008735657, 0.41218721866607666, -0.6870114207267761, 0.033571816980838776, 0.380674809217453, -0.1756860762834549, 0.2793520987033844, 0.49252572655677795, -0.3606719970703125, 0.35245221853256226, 0.8830538392066956, 0.0063937753438949585, 0.451876163482666, -0.16543199121952057, 0.0035486870910972357, -1.022365927696228, 0.3942161202430725, 0.10075639933347702, -0.22666926681995392, -0.7204713821411133, 0.3517917990684509, 0.3712374269962311, -0.19200675189495087, -0.6007340550422668, 0.7483358383178711, -0.3597610890865326, 0.05235450342297554, 0.012125770561397076, -0.1419038027524948, -0.16659016907215118, 0.3366285562515259, -0.08479918539524078, 0.6973341703414917, 0.6601681113243103, -0.3833526074886322, 0.06904692947864532, 0.02176552079617977, -0.5961660146713257, 0.15740817785263062, -0.7827455997467041, 0.09105055779218674, -0.17452585697174072, -0.00017580563144292682, -0.6036562919616699, -0.1282733529806137, 0.4520895481109619, -0.28329235315322876, 0.3356570601463318, -0.005345429293811321, -0.4706815779209137, -0.34165310859680176, -0.17278291285037994, 0.21799884736537933, 0.7603963017463684, -0.7462050914764404, 0.772846519947052, 0.38595280051231384, -0.05132226645946503, -0.5432302355766296, -0.7670570015907288, -0.20824956893920898, 0.22051268815994263, -0.740653395652771, 0.22713392972946167, -0.13504980504512787, -0.5265676379203796, 0.1946721225976944, -0.06894167512655258, -0.2242450714111328, 0.07087156176567078, 0.3189317584037781, 0.04872003570199013, -0.550735592842102, -0.06504616141319275, -0.03617173060774803, -0.18498985469341278, 0.009046463295817375, -0.6518112421035767, 0.29312509298324585, -0.28570058941841125, -0.5437393188476562, -0.2707286775112152, 0.18585078418254852, 0.5374243855476379, -0.4997301995754242, 1.1307590007781982, 0.4405634105205536, -0.5003767609596252, -0.2948349714279175, -0.4616515338420868, -0.24812567234039307, -0.3793184459209442, 0.1590544879436493, -0.28661200404167175, -1.119751214981079, 0.4017338156700134, -0.09835293143987656, 0.2908284664154053, 0.23840191960334778, 0.4261643886566162, 0.07835624366998672, 1.1145564317703247, 0.48709049820899963, -0.3134367763996124, 0.34037867188453674, -0.017777051776647568, 0.31614431738853455, -0.6855013370513916, -0.3660077750682831, -1.1092538833618164, -0.2074843943119049, -0.22614070773124695, -0.4405377209186554, 0.1076577678322792, 0.32724079489707947, -0.42214056849479675, 0.10394169390201569, -0.3606531322002411, 0.4368598759174347, 0.8233416676521301, -0.011319802142679691, 0.31908562779426575, 0.14339835941791534, -0.44944772124290466, 0.021580947563052177, -0.5232953429222107, -0.5932888984680176, 1.0051767826080322, 0.6783153414726257, 1.0745667219161987, 0.032293301075696945, 0.3074037432670593, 0.020070618018507957, 0.4664720892906189, -0.5474276542663574, 0.3509517014026642, -0.1138475313782692, -0.5604166388511658, -0.07525723427534103, -0.5975526571273804, -0.7095113396644592, -0.0223217885941267, -0.011423209682106972, -0.6773648262023926, -0.05293428897857666, 0.25344768166542053, 0.1307632029056549, 0.6673482656478882, -0.6660948991775513, 1.0124844312667847, -0.11231780797243118, -0.08212822675704956, 0.04285125434398651, -0.8020099997520447, 0.610550045967102, -0.10777571052312851, 0.10213983803987503, -0.15415848791599274, -0.07050395756959915, 0.4387795031070709, -0.5403292775154114, 0.73599773645401, -0.24637286365032196, -0.008663530461490154, 0.22214001417160034, 0.016824273392558098, 0.3938789367675781, -0.35320502519607544, -0.2987551689147949, 0.7491681575775146, -0.39459308981895447, -0.30872413516044617, -0.543158233165741, 0.7389399409294128, -1.0430150032043457, -0.03813531994819641, -0.05785924568772316, -0.528425395488739, 0.0017458744114264846, 0.16865670680999756, 0.17999836802482605, 0.3570615351200104, -0.39904457330703735, 0.5165735483169556, 0.912183940410614, -0.5268955230712891, 0.49919095635414124, 0.43629926443099976, -0.5640179514884949, -0.44790923595428467, 0.7221953272819519, -0.12152961641550064, 0.4283911883831024, 0.4572403132915497, 0.2511347234249115, -0.16883115470409393, -0.6365804672241211, -0.3582890033721924, 0.2976166009902954, -0.4566740393638611, 0.16831623017787933, -0.8569880723953247, -0.4143860638141632, -0.5811472535133362, 0.06116405129432678, -0.6590463519096375, -0.5960606336593628, -0.014765358529984951, -0.10224708169698715, 0.2601781487464905, 0.7869516611099243, 0.01686769910156727, 0.5361459851264954, -0.8726999163627625, 0.06282372772693634, -0.03432873636484146, 0.6346533894538879, 0.016921238973736763, -0.3525603711605072, -0.5174182057380676, 0.07704795151948929, -0.20993345975875854, -0.3524344563484192, 0.0782058909535408, 0.23979954421520233, 0.7308580875396729, 0.489463210105896, -0.01682896539568901, 0.07150702178478241, -0.5172833800315857, 0.7722108960151672, 0.4431483745574951, -0.9506705403327942, 0.6105659604072571, -0.2487284392118454, 0.37528717517852783, 0.4006827473640442, 0.6533703207969666, -0.5011174082756042, -0.38198205828666687, -0.42839595675468445, -0.6493471264839172, 0.9576417803764343, 0.39391064643859863, 0.004229400306940079, 0.10295818001031876, 0.17738085985183716, 0.25387364625930786, 0.23231375217437744, -0.5699339509010315, -0.5678836703300476, -0.4511222243309021, -0.4339465796947479, -0.21582353115081787, -0.3108496069908142, -0.07549889385700226, -0.23937860131263733, 0.7976273894309998, -0.03481943532824516, 0.2932065427303314, -0.05971386656165123, -0.08655823767185211, -0.14692911505699158, 0.12677037715911865, 0.6734681129455566, 0.5137330293655396, -0.2844327688217163, 0.19203075766563416, -0.29017114639282227, -0.6920429468154907, -0.029473016038537025, 0.19906310737133026, -0.3864058554172516, 0.062158215790987015, 0.170352965593338, 0.9771715402603149, 0.29412639141082764, -0.6534193158149719, 0.6006784439086914, -0.07378895580768585, -0.48670050501823425, -0.16225706040859222, 0.10372559726238251, 0.2674623727798462, 0.0325968898832798, 0.11450721323490143, 0.294969767332077, -0.22382114827632904, -0.2534337043762207, 0.17099212110042572, 0.21227070689201355, -0.7304514646530151, -0.27561020851135254, 0.9598129987716675, 0.19034208357334137, -0.3109186291694641, 0.7413772344589233, 0.2386956363916397, -0.1287715584039688, 0.4700942635536194, 0.4371446669101715, 1.0215939283370972, -0.6201613545417786, 0.1614162176847458, 0.3378244936466217, 0.5975056886672974, -0.42048779129981995, 0.14926451444625854, 0.09199162572622299, -0.9583556652069092, -0.4016808569431305, -0.852750837802887, -0.5093514323234558, 0.11414491385221481, -0.7858889698982239, 0.02816891483962536, -0.4522522985935211, 0.0665653795003891, -0.2556021809577942, -0.5400083661079407, -0.316644549369812, 0.15129025280475616, 0.028561534360051155, 1.558835744857788, -0.5088884830474854, 1.1492393016815186, 0.6777276396751404, -0.40636661648750305, -0.6758821606636047, -0.13429886102676392, -0.16184157133102417, -0.7109483480453491, 0.5036211609840393, 0.18519635498523712, -0.08694513887166977, 0.14665593206882477, -0.7092722058296204, -0.5749989151954651, 0.7499045133590698, 0.6538162231445312, -0.6678379774093628, 0.1033773124217987, 0.19421158730983734, 0.14460694789886475, -0.590769350528717, 0.5543397068977356, 0.4365702271461487, 0.7228829264640808, 0.05738051235675812, -0.7920555472373962, -0.1770017445087433, -0.16569827497005463, 0.2021200954914093, 0.5339492559432983, -0.20130586624145508, 0.8437836170196533, -0.22216461598873138, 0.011673200875520706, 0.22827470302581787, 0.6479194760322571, -0.15694451332092285, 0.23323917388916016, 0.3567889332771301, 0.7989493608474731, 0.6077860593795776, -0.2762308716773987, 1.1800200939178467, -0.44197967648506165, 0.37940821051597595, 1.2088913917541504, -0.45261669158935547, 0.8903052806854248, 0.22489406168460846, 0.047213613986968994, 0.3728325664997101, 0.4038928151130676, 0.27587273716926575, 0.3665158152580261, 0.015379480086266994, -0.3462231159210205, 0.048848334699869156, -0.1065472736954689, -0.4489089548587799, 0.06826015561819077, 0.1892344057559967, -0.8041870594024658, -0.24128133058547974, 0.3149564266204834, 0.3423945903778076, 0.13042579591274261, -0.4967350959777832, 0.4976043701171875, 0.1995857059955597, -0.5172366499900818, 0.33101633191108704, 0.21502473950386047, 0.5160132646560669, -0.8737990856170654, 0.19310636818408966, -0.08694953471422195, 0.4592226445674896, -0.1872597634792328, -0.5685045719146729, 0.3334778845310211, -0.09410883486270905, -0.17616139352321625, -0.4372531473636627, 0.7377455234527588, -0.5067636966705322, -0.44886863231658936, 0.6094898581504822, 0.37243354320526123, 0.17084820568561554, -0.31988218426704407, -0.6394459009170532, 0.3534618616104126, -0.1258440911769867, -0.4587850272655487, 0.18311206996440887, 0.10077446699142456, 0.1541348546743393, 0.5704993009567261, 0.4953575134277344, 0.03651520237326622, 0.22733357548713684, 0.32091689109802246, 0.7386395335197449, -0.5255353450775146, -0.12269174307584763, -0.7131022810935974, 0.664270281791687, -0.09845442324876785, -0.21711604297161102, 0.8598464727401733, 0.715759813785553, 1.0830641984939575, -0.21048183739185333, 0.9179974794387817, -0.029486969113349915, 0.5808925628662109, -0.46810272336006165, 0.7980715036392212, -0.5218651294708252, -0.060153231024742126, -0.07160475850105286, -1.0990474224090576, -0.4304177761077881, 0.4700801372528076, -0.19721734523773193, 0.23883336782455444, 0.7755337953567505, 0.9326761960983276, -0.4288891851902008, 0.5131535530090332, 0.2912011444568634, 0.44181889295578003, 0.035637568682432175, 0.22623896598815918, 0.5059923529624939, -0.3137472867965698, 0.47497186064720154, -0.38227126002311707, -0.4426054060459137, -0.32273831963539124, -0.8157180547714233, -0.8786535263061523, -0.4618794918060303, -0.33405396342277527, -0.1746942549943924, 0.06449546664953232, 0.9150170087814331, 1.0206882953643799, -0.9262502789497375, -0.34983712434768677, -0.11690577119588852, -0.06545642763376236, -0.4198603332042694, -0.20261912047863007, -0.03386940062046051, -0.29484882950782776, -0.8485052585601807, 0.501487135887146, 0.3522784411907196, -0.028734048828482628, -0.36876940727233887, -0.559167206287384, -0.10842639207839966, 0.10300755500793457, 0.5740864872932434, 0.2885313332080841, -0.5527735948562622, -0.17672748863697052, -0.00969095528125763, -0.26990440487861633, 0.13643871247768402, 1.0312023162841797, -0.4113254249095917, 0.4585382640361786, 0.4237484335899353, 0.8389534950256348, 0.6390566825866699, -0.28162091970443726, 0.7324907183647156, -0.6828555464744568, 0.15131531655788422, 0.12652213871479034, 0.38144248723983765, 0.13592813909053802, 0.04614640027284622, 0.6822873950004578, 0.004459754563868046, -0.5494269728660583, -0.7972565293312073, 0.3408333659172058, -0.7597289681434631, -0.4070329964160919, 0.8137309551239014, -0.3796992301940918, -0.4264032542705536, 0.11646602302789688, -0.08909390866756439, -0.03644025698304176, -0.3996817171573639, 0.07424266636371613, 0.5095303654670715, 0.18778648972511292, -0.40627145767211914, -0.5144882798194885, 0.10374564677476883, 0.1918858140707016, -0.7975056171417236, -0.010067370720207691, 0.28675270080566406, 0.05422232672572136, 0.14388404786586761, 0.4326668977737427, -0.3078252971172333, -0.035769347101449966, -0.12415031343698502, 0.561670184135437, -0.22449758648872375, -0.524101972579956, -0.3771117329597473, 0.37733688950538635, 0.0992204025387764, -0.4137386679649353 ]
http://arxiv.org/abs/2404.14618v1
http://arxiv.org/pdf/2404.14618v1
Hybrid LLM: Cost-Efficient and Quality-Aware Query Routing
2024-04-22T23:06:42
2024-04-22T23:06:42
Dujian Ding, Ankur Mallick, Chi Wang, Robert Sim, Subhabrata Mukherjee, Victor Ruhle, Laks V. S. Lakshmanan, Ahmed Hassan Awadallah
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) excel in most NLP tasks but also require expensive cloud servers for deployment due to their size, while smaller models that can be deployed on lower cost (e.g., edge) devices, tend to lag behind in terms of response quality. Therefore in this work we propose a hybrid inference approach which combines their respective strengths to save cost and maintain quality. Our approach uses a router that assigns queries to the small or large model based on the predicted query difficulty and the desired quality level. The desired quality level can be tuned dynamically at test time to seamlessly trade quality for cost as per the scenario requirements. In experiments our approach allows us to make up to 40% fewer calls to the large model, with no drop in response quality.
[ -0.2606481909751892, -0.8021562099456787, 0.5248908400535583, 0.21796353161334991, -0.17902064323425293, 0.32448431849479675, 0.0076817795634269714, -0.5495266318321228, 0.4154694080352783, 0.8984807133674622, -0.6013959646224976, -0.36614125967025757, -0.09278524667024612, -0.09493669867515564, -0.6084485054016113, 0.2853025794029236, 0.29303398728370667, 0.20526203513145447, -0.1466677039861679, -0.14381669461727142, -0.03788962960243225, -0.5993868112564087, -1.1826709508895874, -0.35037675499916077, 0.4637530446052551, 0.1537518948316574, 0.9062509536743164, 0.5772203803062439, 0.3076534569263458, 0.31075623631477356, -0.42076295614242554, 0.5965642333030701, -0.3997671604156494, 0.1518946886062622, -0.36093783378601074, -0.7580386400222778, -0.5639272332191467, -0.38249143958091736, 0.6458099484443665, 0.8006840944290161, -0.47118231654167175, -0.16654445230960846, -0.012396158650517464, 0.8858078718185425, -0.5670074224472046, -0.4347931742668152, -0.835765540599823, 0.035008665174245834, -0.08025617897510529, -0.08491699397563934, -0.39933741092681885, -0.20137643814086914, -0.1396290510892868, -0.5069407224655151, 0.2587506175041199, 0.4701894223690033, 0.8004844188690186, 0.24731186032295227, -0.6542534828186035, -0.019504819065332413, -0.9187787771224976, 0.9368701577186584, -0.870309054851532, 0.5307124853134155, 0.45068788528442383, 0.4054267406463623, -0.33962729573249817, -0.8099050521850586, -0.767742395401001, -0.11136085540056229, 0.009137740358710289, 0.2996969521045685, 0.08838238567113876, 0.113693468272686, -0.04409113526344299, 0.7123908400535583, -0.5314369201660156, 0.6332778334617615, 0.012317055836319923, -0.1344723105430603, 0.9077590703964233, 0.40404820442199707, 0.21382474899291992, -0.1342349797487259, -0.16477614641189575, 0.4118589162826538, -0.8073758482933044, -0.1150897815823555, 0.35045287013053894, 0.2564992904663086, 0.042383015155792236, 0.6346169114112854, -0.3881705403327942, 0.9815008044242859, 0.06309434026479721, -0.6511920094490051, -0.15430955588817596, -0.6863047480583191, -0.1903494894504547, -0.30443570017814636, 0.838341474533081, 0.22938941419124603, -0.20272864401340485, -0.21130332350730896, -0.45665469765663147, 0.005904370918869972, 0.18523049354553223, -0.3437356948852539, -0.10745741426944733, 0.39061278104782104, -0.6614921689033508, 0.0017821338260546327, -0.43449151515960693, -1.0117218494415283, -0.4143472909927368, -0.2880646586418152, 0.39169245958328247, -0.41692838072776794, -0.35190171003341675, 0.20401661098003387, 0.3404380679130554, 0.3302028179168701, 0.32251638174057007, -0.9644169211387634, 0.6648401021957397, 0.5832242369651794, 0.9532437324523926, -0.2981944978237152, 0.06875544786453247, -0.47042104601860046, 0.1521720290184021, -0.22345729172229767, 0.6579144597053528, -0.23891323804855347, -0.566466212272644, -0.12124013155698776, -0.17658455669879913, -0.31604647636413574, -0.6615312695503235, 0.6825482845306396, -1.044272780418396, 0.30092576146125793, 0.029417207464575768, -0.7340797185897827, -0.1836237609386444, 0.08657363057136536, -0.7085672616958618, 1.1445987224578857, 0.15448063611984253, -0.6364410519599915, -0.017557529732584953, -0.29016995429992676, -0.5745694637298584, 0.27143800258636475, 0.13744762539863586, -0.21186865866184235, -0.06849291920661926, 0.3663850426673889, 0.20026206970214844, -0.5598682165145874, 0.22762180864810944, -0.08248651772737503, -0.1312214434146881, -0.10068958252668381, -0.07135340571403503, 0.6363504528999329, 0.28225380182266235, -0.27523940801620483, 0.15621693432331085, -0.9074422121047974, 0.1190352737903595, 0.18911314010620117, -0.5833508968353271, -0.40349093079566956, 0.4570104777812958, 0.027923140674829483, 0.12189920246601105, 0.07122638076543808, -0.46934962272644043, 0.021227657794952393, -0.591697633266449, 0.5365901589393616, 0.5030403137207031, -0.07048114389181137, 0.5751416683197021, -0.30962899327278137, 0.6553483009338379, -0.20913058519363403, 0.21614879369735718, 0.40689709782600403, -0.4051082134246826, -1.2461432218551636, -0.3997875452041626, 0.3643946051597595, 0.7208702564239502, -0.9956251978874207, 0.6991784572601318, -0.14146582782268524, -0.45000505447387695, -0.841928243637085, 0.35438069701194763, 0.1278805285692215, 0.5227413773536682, 0.35072287917137146, 0.19202429056167603, -0.3265155851840973, -1.0197011232376099, -0.08999937772750854, 0.04947901889681816, 0.007369403261691332, 0.4145665764808655, 0.25782540440559387, -0.1773758977651596, 0.8058108687400818, -0.3073936402797699, -0.053734276443719864, -0.47971054911613464, -0.23221680521965027, 0.26774999499320984, 0.42742517590522766, 0.30796536803245544, -0.9342577457427979, -0.2643730044364929, -0.09653817117214203, -0.5080165863037109, -0.1200232207775116, -0.13481451570987701, -0.46166184544563293, 0.25600162148475647, 0.39822983741760254, -0.6219818592071533, -0.007124892435967922, 0.9844170212745667, -0.07500974088907242, 0.5012190341949463, -0.16237542033195496, 0.035644203424453735, -1.3232300281524658, -0.3491881489753723, 0.1622982621192932, -0.35379722714424133, -0.41193529963493347, 0.20194058120250702, -0.08254972100257874, -0.1906713992357254, -0.4669091999530792, 0.5283048748970032, -0.5380011200904846, -0.29911336302757263, -0.1738482564687729, -0.0046058460138738155, 0.2683558762073517, 0.13752184808254242, 0.08522768318653107, 0.982683539390564, 0.37389102578163147, -0.7938072085380554, 0.45143362879753113, -0.05156292766332626, -0.32943713665008545, 0.6120237708091736, -0.6959741711616516, 0.032552320510149, 0.1399410516023636, 0.4729619026184082, -0.8858305215835571, -0.07554017752408981, -0.13100425899028778, -0.051720213145017624, 0.07251039892435074, -0.07479772716760635, -1.0247725248336792, -0.5336734056472778, -0.16046173870563507, 0.19436149299144745, 0.7352743744850159, -0.8360992074012756, 0.9341994524002075, 0.37489837408065796, 0.053446847945451736, -0.09672102332115173, -0.7330296635627747, 0.0799131691455841, -0.18686290085315704, -0.9406280517578125, 0.5663058757781982, 0.0668439194560051, -0.1603662520647049, -0.01973470114171505, 0.02914413996040821, -0.10280759632587433, 0.03329622745513916, 0.01472985465079546, 0.0970170795917511, -0.4712076783180237, -0.039483699947595596, 0.23008215427398682, -0.039082542061805725, -0.06323134154081345, -0.5052378177642822, 0.6207512021064758, 0.22283419966697693, -0.6653995513916016, -0.7618498802185059, 0.6172707080841064, 0.7661176919937134, -0.47383826971054077, 1.1104964017868042, 0.3064000606536865, -0.35209813714027405, -0.5353189706802368, -0.8831995129585266, -0.14624564349651337, -0.5089103579521179, 0.14336919784545898, -0.36905381083488464, -0.9692786335945129, 0.46555227041244507, -0.2881707549095154, -0.03213054686784744, 0.42490461468696594, 0.41889849305152893, -0.28821036219596863, 0.9830213785171509, 0.45343267917633057, -0.07126028090715408, 0.21661163866519928, -0.30933013558387756, 0.5029877424240112, -0.8952291011810303, -0.4148803651332855, -0.5622166395187378, -0.1695917546749115, -0.6562889814376831, -0.6260373592376709, 0.5150818824768066, 0.30158481001853943, -0.18237334489822388, -0.07381569594144821, -0.341564416885376, 0.23545494675636292, 1.0533528327941895, 0.37004703283309937, 0.581653356552124, -0.010235265828669071, -0.08130484074354172, -0.06644491106271744, -1.026247262954712, -0.39818498492240906, 0.7430254220962524, 0.08737584948539734, 0.732460618019104, 0.37823763489723206, 0.46149325370788574, 0.07869221270084381, -0.14440040290355682, -0.7856955528259277, 0.8157503008842468, -0.1805598884820938, -0.5787294507026672, -0.19206583499908447, -0.678601861000061, -0.7871030569076538, 0.5725101232528687, -0.5521318912506104, -0.7633067965507507, -0.1659221202135086, 0.23037037253379822, -0.44186484813690186, 0.7337562441825867, -0.4687967896461487, 0.36146003007888794, -0.7086213827133179, -0.5655888319015503, -0.47001639008522034, -0.3783278167247772, 0.5438548922538757, -0.1457313597202301, 0.23328031599521637, -0.006292308680713177, -0.32470640540122986, 0.626937985420227, -0.6266629695892334, 0.6300617456436157, 0.20907992124557495, 0.24518585205078125, 0.3295055329799652, 0.23479950428009033, 0.6438753008842468, -0.1393643170595169, -0.4985398054122925, -0.042963907122612, -0.29470789432525635, -0.5504786968231201, -0.6021603941917419, 0.8982118368148804, -0.7478079199790955, -0.5694962739944458, -0.1106751337647438, -0.5116626024246216, -0.4308333098888397, 0.162431001663208, 0.35360249876976013, 0.1704150289297104, 0.2680336534976959, 0.04569068178534508, 0.7818129062652588, -0.7509214282035828, 0.4832656681537628, 0.6804689168930054, -0.08723703771829605, -0.4191475212574005, 0.649533212184906, 0.1212373748421669, 0.5896416306495667, 0.490580677986145, 0.23763902485370636, -0.5932934284210205, -1.0322389602661133, -0.4013187885284424, 0.5420291423797607, -0.4031006395816803, -0.17306075990200043, -0.9234676361083984, -0.3261662721633911, -0.23242537677288055, -0.28434282541275024, -0.7054543495178223, -0.1882627010345459, -0.20552723109722137, -0.04392698034644127, 0.49254074692726135, 0.18905025720596313, 0.1842711865901947, 0.6968344449996948, -0.6404045224189758, 0.2961178123950958, 0.31633350253105164, 0.43191760778427124, 0.24273750185966492, -0.586566686630249, -0.0854247435927391, -0.18738266825675964, -0.19863508641719818, -0.6087955832481384, 0.586593508720398, 0.15440671145915985, 0.6571420431137085, 0.21093851327896118, 0.2507438659667969, 0.4836418330669403, -0.3430691063404083, 1.0579019784927368, 0.22984443604946136, -0.9514597058296204, 0.7016358971595764, -0.4048498868942261, 0.051696114242076874, 0.4670652151107788, 0.4560393989086151, -0.19286535680294037, -0.07739493995904922, -0.5942906141281128, -1.173642873764038, 0.16625221073627472, -0.041202180087566376, 0.08058534562587738, 0.17048697173595428, 0.3994906544685364, -0.018165187910199165, 0.06023483723402023, -0.6363056302070618, -0.2807631194591522, 0.29316025972366333, 0.14521607756614685, 0.07171127945184708, -0.4509747326374054, -0.024093616753816605, -0.36478304862976074, 0.8031708002090454, 0.061237093061208725, -0.005711808800697327, -0.19357173144817352, 0.030619028955698013, 0.06172223016619682, 0.07421896606683731, 0.2616346478462219, 0.8662790656089783, -0.09235116839408875, -0.0380745604634285, 0.25078871846199036, 0.15816015005111694, 0.21398121118545532, -0.14741522073745728, -0.4398873746395111, 0.12473173439502716, 0.37100091576576233, 0.7536042332649231, 0.09095578640699387, -0.6255851984024048, 0.26276692748069763, 0.2052023708820343, -0.22120440006256104, -0.08297587186098099, 0.17095892131328583, 0.6375249028205872, 0.16298270225524902, 0.19703643023967743, -0.5637927055358887, 0.2567797005176544, -0.15977855026721954, -0.05493077635765076, 0.5513162016868591, 0.10280776768922806, 0.1258271038532257, 0.8440871834754944, 0.5696092844009399, -0.5637759566307068, 0.8309773206710815, 0.031106309965252876, -0.5094293355941772, 0.4206724464893341, 0.6828883290290833, 0.422443687915802, -0.16195957362651825, 0.17873020470142365, 0.2543940246105194, 0.2158995270729065, -0.30078402161598206, 0.22933802008628845, 0.3417379558086395, -0.680436372756958, -0.721601665019989, -0.9187639355659485, -0.6302145719528198, 0.2875080108642578, -0.5443142652511597, -0.038402386009693146, -0.496084064245224, -0.09933080524206161, -0.07269953936338425, -0.006701231002807617, -0.37591880559921265, 0.482361763715744, 0.0771343782544136, 0.9896002411842346, -0.7366876006126404, 0.8218140006065369, 0.5439288020133972, -0.21929439902305603, -0.922473669052124, -0.41616004705429077, 0.1476903110742569, -0.7982207536697388, 0.4608382284641266, -0.2826305627822876, -0.4462016224861145, 0.1440737396478653, -0.24693702161312103, -0.9022051692008972, 1.0879013538360596, 0.2771693766117096, -0.8075529336929321, 0.07142406702041626, -0.07795082032680511, 0.5426027774810791, -0.1250983476638794, 0.17667241394519806, 0.43014228343963623, 0.20206916332244873, 0.21280790865421295, -0.8936184644699097, -0.030519451946020126, 0.15596698224544525, 0.32535356283187866, 0.26521000266075134, -0.9019185304641724, 0.7203091382980347, 0.02639475278556347, -0.1843557059764862, 0.15636366605758667, 0.7669554352760315, 0.2660920321941376, 0.32813090085983276, 0.5814734101295471, 0.6260981559753418, 0.9445624351501465, 0.09642459452152252, 1.3078621625900269, -0.2822008430957794, 0.21676716208457947, 1.0980253219604492, -0.40438127517700195, 1.1007457971572876, 0.5884875059127808, -0.3721035420894623, 0.30897244811058044, 1.0026246309280396, 0.29684415459632874, 0.5775535106658936, 0.4506649971008301, -0.6381731033325195, -0.35983723402023315, -0.2952367663383484, -0.33240413665771484, 0.24052903056144714, 0.30244264006614685, -0.30529412627220154, -0.09338093549013138, -0.17569638788700104, 0.03832888603210449, 0.3383026123046875, -0.45868512988090515, 0.7503858804702759, 0.28316593170166016, -0.5510571599006653, 0.5185155272483826, 0.18122738599777222, 1.02545964717865, -0.6100958585739136, 0.3873048424720764, -0.6482587456703186, 0.09846276044845581, -0.3397507965564728, -0.4706871509552002, 0.29766610264778137, -0.34470415115356445, -0.2767370939254761, -0.014872844330966473, 0.46444031596183777, -0.2136632353067398, -0.7291663289070129, 0.6627551317214966, 0.7270098924636841, -0.010306729935109615, -0.07192473858594894, -0.8369281888008118, 0.034697338938713074, -0.23901405930519104, -0.21365560591220856, 0.542574942111969, 0.27874255180358887, 0.07230713963508606, 1.0437544584274292, 0.8697205185890198, 0.5634989142417908, 0.2792501747608185, 0.109959676861763, 0.7178213596343994, -0.5982072949409485, -0.637516438961029, -0.7212886214256287, 0.3582795560359955, -0.20090250670909882, -0.05066094920039177, 0.5589555501937866, 0.45918720960617065, 0.4345007836818695, 0.17614242434501648, 0.6239384412765503, 0.3302091956138611, 0.6199629306793213, -0.9314023852348328, 0.5222280025482178, -0.7906380891799927, 0.5598280429840088, 0.08037332445383072, -0.932263970375061, -0.2444830685853958, 0.34587234258651733, -0.16013504564762115, -0.21006980538368225, 0.605259120464325, 1.0908716917037964, -0.25384747982025146, -0.058127254247665405, 0.32437458634376526, -0.08150843530893326, 0.27032598853111267, 0.5012553930282593, 0.8179133534431458, -0.16351446509361267, 0.27067601680755615, -0.35446327924728394, -0.20227396488189697, -0.3423020839691162, -0.9124583005905151, -0.5261673927307129, -0.18260392546653748, -0.4246987998485565, -0.7288954257965088, 0.23813512921333313, 0.7377667427062988, 1.0493727922439575, -0.5673972964286804, -0.4045277237892151, -0.06795532256364822, 0.29777732491493225, -0.1939229667186737, -0.2352973222732544, 0.5237518548965454, -0.11515510082244873, -0.5969728231430054, 0.5041694045066833, 0.1659179925918579, -0.18590237200260162, -0.23511049151420593, 0.07430016249418259, -0.4630874991416931, 0.13585811853408813, 0.746320366859436, 0.2004452347755432, -0.9642028212547302, 0.04781389608979225, -0.185324564576149, -0.14762108027935028, -0.11455236375331879, 0.6264384388923645, -0.4668174088001251, 0.2711693346500397, 0.3059633672237396, 1.1967307329177856, 0.6768410205841064, 0.10879432410001755, 0.6795875430107117, -0.22315023839473724, 0.1340695321559906, 0.4584376811981201, 0.3243445158004761, 0.5116607546806335, -0.6013000011444092, 0.4498949646949768, 0.3205309212207794, -0.5008845329284668, -0.61158686876297, 0.4016593098640442, -1.2089805603027344, -0.23025977611541748, 1.3793787956237793, 0.07606741040945053, -0.10992824286222458, 0.06105416268110275, 0.04469352588057518, -0.07781467586755753, -0.12311079353094101, 0.3899522125720978, 0.30777212977409363, -0.523002564907074, -0.44383832812309265, -0.7580031752586365, 0.11528271436691284, 0.6341210007667542, -0.8666253089904785, -0.5152992010116577, 0.5542840361595154, 0.2566668391227722, -0.03754863515496254, 0.6823938488960266, 0.16265635192394257, -0.23310759663581848, -0.002209464320912957, -0.08134033530950546, 0.20462766289710999, -0.028883015736937523, -0.018815627321600914, 0.2535667419433594, 0.1643810123205185, -0.4929788112640381 ]
http://arxiv.org/abs/2404.14607v1
http://arxiv.org/pdf/2404.14607v1
Q-Tuning: Queue-based Prompt Tuning for Lifelong Few-shot Language Learning
2024-04-22T22:04:16
2024-04-22T22:04:16
Yanhui Guo, Shaoyuan Xu, Jinmiao Fu, Jia Liu, Chaosheng Dong, Bryan Wang
cs.CL
cs.CL
This paper introduces \textbf{Q-tuning}, a novel approach for continual prompt tuning that enables the lifelong learning of a pre-trained language model. When learning a new task, Q-tuning trains a task-specific prompt by adding it to a prompt queue consisting of the prompts from older tasks. To better transfer the knowledge of old tasks, we design an adaptive knowledge aggregation technique that reweighs previous prompts in the queue with a learnable low-rank matrix. Once the prompt queue reaches its maximum capacity, we leverage a PCA-based eviction rule to reduce the queue's size, allowing the newly trained prompt to be added while preserving the primary knowledge of old tasks. In order to mitigate the accumulation of information loss caused by the eviction, we additionally propose a globally shared prefix prompt and a memory retention regularization based on information theory. Extensive experiments demonstrate that our approach outperforms the state-of-the-art methods substantially on continual prompt tuning benchmarks. Moreover, our approach enables lifelong learning on linearly growing task sequences while requiring constant complexity for training and inference.
[ -0.2878369092941284, -0.8254844546318054, 0.49034300446510315, -0.05171786621212959, -0.28629133105278015, 0.07830503582954407, -0.2978530824184418, 0.1258901208639145, -0.07409599423408508, 0.22816437482833862, -0.733841061592102, -0.33838698267936707, -0.2278713434934616, 0.006206401623785496, 0.2900676131248474, 0.8452191948890686, 0.5159503817558289, 0.007652987726032734, -0.01868070662021637, -0.0039701820351183414, -0.861366331577301, -0.20189671218395233, -1.4337151050567627, 0.11543004214763641, 0.8255701661109924, 0.8919034004211426, 0.4466921389102936, 0.6374179124832153, 0.0941351056098938, 0.20964877307415009, 0.06251369416713715, 0.432826429605484, -0.772330641746521, 0.3229350745677948, -0.0634182021021843, -0.5647838115692139, -0.2408367246389389, -0.07858197391033173, 0.925476610660553, 0.38734591007232666, -0.06887645274400711, -0.007417370565235615, 0.10031767934560776, 0.6836023330688477, -0.6934555172920227, -0.011637183837592602, -0.7813620567321777, -0.009654084220528603, -0.3754477798938751, -0.6123387813568115, -0.4844825565814972, -0.5209717750549316, -0.2435852289199829, -0.9466488361358643, -0.032852206379175186, 0.43792909383773804, 0.733284592628479, 0.42274466156959534, -0.2616209387779236, 0.01574069820344448, -0.45133084058761597, 0.87936931848526, -0.4369187355041504, 0.32717323303222656, 0.6202918887138367, 0.4585571885108948, -0.32758674025535583, -0.3452361226081848, -0.5171001553535461, -0.11596247553825378, 0.2242405265569687, 0.10550004988908768, -0.01768473908305168, 0.14339111745357513, 0.31326764822006226, 0.0873737633228302, -0.6303843259811401, 0.20193366706371307, -0.2072599083185196, -0.21174536645412445, 0.21993790566921234, 0.1930817812681198, 0.520788311958313, 0.30237120389938354, -0.3294094204902649, 0.1571105420589447, -0.9665260314941406, 0.33579787611961365, 0.15050624310970306, 0.3873698115348816, 0.16777032613754272, -0.10000762343406677, -0.3329547047615051, 0.866563618183136, 0.41268160939216614, -0.1597173810005188, 0.01624593511223793, -0.3009619116783142, -0.04285375401377678, -0.09991905093193054, 0.6752984523773193, 0.3887891173362732, 0.33507198095321655, -0.3292142450809479, -0.0163569413125515, -0.12985846400260925, 0.10894329100847244, -0.5173284411430359, -0.2839965224266052, -0.13581134378910065, -0.15780283510684967, -0.047613270580768585, -0.23445327579975128, -0.7326364517211914, -0.2998521327972412, -0.2982097864151001, 0.6044217348098755, -0.5187809467315674, -0.0027616166044026613, 0.01995832659304142, -0.08577243983745575, 0.39389437437057495, 0.27239570021629333, -1.044143795967102, 0.23378650844097137, 0.5569503903388977, 0.8092511296272278, -0.2604011595249176, -0.5254340171813965, -1.4303287267684937, -0.08721277862787247, -0.37213438749313354, 0.9726918935775757, -0.6724132895469666, -0.19299250841140747, -0.02935447171330452, 0.12340360879898071, -0.22193467617034912, -0.5922387838363647, 0.37413159012794495, -0.6432792544364929, 0.3455118238925934, -0.3695286810398102, -0.5653215050697327, 0.1437271535396576, 0.05425155535340309, -0.35898688435554504, 1.139768123626709, 0.26794007420539856, -0.3217805027961731, 0.575181245803833, -0.37833458185195923, -0.17296956479549408, 0.3882770836353302, 0.12535980343818665, -0.5669646263122559, 0.044201213866472244, 0.12135833501815796, 0.18857784569263458, -0.1391979455947876, 0.12526340782642365, -0.25791895389556885, -0.5033701658248901, -0.06548626720905304, -0.09574459493160248, 0.6841521263122559, 0.19421952962875366, 0.0776323601603508, 0.20545293390750885, -0.5838918089866638, 0.0969533622264862, -0.231157585978508, -0.24620334804058075, -0.34534332156181335, -0.0036115499678999186, -0.4344022572040558, 0.4003387689590454, 0.2954387366771698, -0.4697543680667877, 0.49665236473083496, -0.3986046612262726, 0.23796147108078003, 0.7190873622894287, 0.3995305895805359, 0.5388924479484558, -0.7103010416030884, 0.8022037744522095, 0.12804363667964935, 0.4660717844963074, -0.6283606290817261, -0.4486599266529083, -0.6661106944084167, -0.1266610473394394, 0.10248811542987823, 0.7246870994567871, -0.8229214549064636, 0.43220195174217224, -0.1337660402059555, -0.2006049007177353, -0.42864519357681274, 0.35901519656181335, 0.1631200909614563, 0.6579845547676086, 0.4425029456615448, -0.10815335810184479, -0.5289734601974487, -0.5191407799720764, -0.34550419449806213, -0.09385031461715698, 0.12851163744926453, 0.19392883777618408, 0.0370294526219368, 0.06902420520782471, 1.0424977540969849, -0.2504426836967468, -0.25456100702285767, -0.07750032842159271, 0.09042166918516159, 0.293090283870697, 0.7093138694763184, 0.4462970495223999, -0.31429579854011536, -0.6329771280288696, -0.12017235904932022, -0.3795301914215088, -0.18563860654830933, -0.5049914121627808, -0.292492538690567, -0.017902998253703117, 0.6597676277160645, -0.4750649333000183, -0.10131090879440308, 0.2396382838487625, -0.4650890827178955, 0.564323365688324, -0.1599268615245819, 0.09353422373533249, -0.9423241019248962, -0.13660310208797455, -0.1635282039642334, -0.4395161271095276, -0.4605308473110199, -0.18444421887397766, 0.1875784695148468, -0.08666989952325821, -0.4760854244232178, 0.9402713179588318, -0.310583233833313, 0.215560182929039, -0.44429439306259155, 0.28131210803985596, -0.18163159489631653, 0.7783127427101135, -0.2524625062942505, 0.9101685285568237, 0.9385692477226257, -0.9471586346626282, 0.4115001857280731, 0.10464861243963242, -0.21978725492954254, 0.7401965260505676, -0.3730580806732178, 0.18746846914291382, -0.31992611289024353, -0.06381197273731232, -0.9651281237602234, 0.26147186756134033, 0.40887245535850525, -0.6386359333992004, 0.28308868408203125, -0.43781527876853943, -0.3308131694793701, 0.009633039124310017, -0.1559542566537857, 0.2665177285671234, 0.7122513651847839, -0.5574852824211121, 0.26707619428634644, 0.198116734623909, -0.40282660722732544, -0.3972713351249695, 0.05799658223986626, -0.05961742252111435, -0.40598610043525696, -0.21190911531448364, 0.24698060750961304, -0.4149363338947296, 0.04571385681629181, -0.15410789847373962, -0.17259374260902405, -0.10779605805873871, 0.342049777507782, 0.10050858557224274, 0.028995275497436523, -0.19926851987838745, 0.6712914109230042, 0.33751049637794495, -0.24734486639499664, -0.2435518354177475, -0.6763334274291992, 0.41746285557746887, 0.03421592712402344, 0.15967339277267456, -0.5774444937705994, 0.26692312955856323, 0.38507670164108276, -0.17456494271755219, 0.8206859230995178, 0.6334269046783447, -0.1521066576242447, -0.39017626643180847, -0.4469953179359436, -0.2739233672618866, -0.4787265360355377, 0.13367101550102234, -0.4476884603500366, -1.1913737058639526, 0.46378952264785767, -0.6172531843185425, 0.27706438302993774, 0.33501794934272766, 0.37046191096305847, -0.3925527036190033, 0.927419900894165, 0.9535656571388245, -0.21322305500507355, 1.048831582069397, 0.142814502120018, -0.16671384871006012, -0.6154758334159851, 0.021661514416337013, -0.5246075391769409, -0.1732213795185089, -0.307016521692276, -0.09351256489753723, 0.4556233584880829, 0.5631484389305115, -0.5572484135627747, -0.1268046796321869, -0.005262693390250206, 0.8711072206497192, 0.5282652974128723, 0.1623886227607727, 0.1649472862482071, -0.17799383401870728, -0.16026201844215393, 0.16235467791557312, -0.9627140760421753, -0.13903707265853882, 0.8111066818237305, 0.13103778660297394, 0.4238038659095764, 0.007565462030470371, 0.7075666189193726, 0.3961201608181, -0.11148087680339813, -0.8544415235519409, 0.2979092299938202, 0.10035746544599533, -0.16490566730499268, -0.7249712347984314, -0.5092975497245789, -1.0945618152618408, 0.016371751204133034, -0.19534362852573395, -0.6975203156471252, 0.14170360565185547, 0.5156077742576599, -0.765379786491394, 0.03593849763274193, -0.5287927389144897, 0.9076510071754456, -0.06750518083572388, -0.6810566186904907, -0.2417806088924408, -0.597707211971283, 0.14970728754997253, -0.10801426321268082, 0.03353165090084076, -0.11215373873710632, -0.056973885744810104, 0.674111008644104, -0.3284803330898285, 0.9367635250091553, -0.4577496647834778, 0.061649829149246216, 0.18295302987098694, 0.08204898238182068, 0.7985907196998596, 0.344627320766449, 0.03806912153959274, -0.3952926993370056, 0.15817473828792572, -0.7680143117904663, -0.7705621719360352, 0.4987809658050537, -0.7010121941566467, -0.46902239322662354, -0.23376812040805817, -0.3651925325393677, -0.4152872860431671, 0.31185099482536316, 0.2789515256881714, 0.41673392057418823, -0.1466410756111145, -0.09145636111497879, 0.9437199831008911, -0.3602648377418518, 0.42407140135765076, 0.6993772387504578, -0.0836988240480423, -0.3091561198234558, 1.092639684677124, -0.1810774952173233, 0.10567045956850052, 0.47744420170783997, 0.35104960203170776, -0.228322371840477, -0.43700385093688965, -0.3769265115261078, 0.33684808015823364, -0.39162999391555786, -0.3590855896472931, -0.4007991850376129, 0.10262399911880493, -0.30256178975105286, -0.0978487953543663, -0.16255566477775574, -0.29206714034080505, -0.4470253884792328, 0.1584557741880417, 0.5986369848251343, 0.27249619364738464, -0.09868060797452927, 0.7776570320129395, -0.9579786062240601, 0.2538631558418274, 0.6556237936019897, 0.46190911531448364, -0.36285561323165894, -0.7982739806175232, -0.6394572854042053, -0.17253848910331726, -0.1237831860780716, -0.8133213520050049, 0.42670586705207825, 0.7479128837585449, 0.6948288679122925, 0.4002903997898102, 0.1128542348742485, 0.5453183054924011, -0.5752614140510559, 0.8031784296035767, 0.017098305746912956, -0.9116550087928772, 0.6437589526176453, -0.5483089089393616, 0.8855165839195251, 0.8244345188140869, 0.4118950366973877, -0.9329538941383362, -0.22833918035030365, -0.28318530321121216, -0.5304856896400452, 0.6680372357368469, -0.44536858797073364, -0.025905875489115715, -0.26028841733932495, 0.5592054724693298, 0.23699286580085754, 0.019976789131760597, -0.39535823464393616, -0.09093563258647919, -0.12946143746376038, -0.1949482262134552, -0.12170472741127014, -0.23472917079925537, 0.16833016276359558, -0.2630193829536438, 0.8228679299354553, -0.5163105130195618, 0.16815225780010223, -0.2511807382106781, -0.3889005184173584, -0.24979759752750397, 0.4086478054523468, 0.65805983543396, 0.6317358613014221, -0.1275898963212967, 0.056503478437662125, 0.2819090783596039, -0.27827996015548706, 0.13881531357765198, -0.36563730239868164, -0.14917398989200592, -0.2283092439174652, -0.08942015469074249, 0.9903930425643921, 0.4109380543231964, -0.5666874051094055, 0.31840676069259644, -0.24157582223415375, -0.05103028565645218, -0.30164697766304016, 0.3065865933895111, -0.24705752730369568, 0.14590327441692352, 0.39276769757270813, 0.06115907430648804, -0.18001261353492737, -0.37871262431144714, 0.48117026686668396, 0.29645392298698425, -0.43959420919418335, -0.33219054341316223, 0.3555218577384949, 0.26335248351097107, -0.23871204257011414, 0.8161569237709045, -0.5847855806350708, -0.31764718890190125, 0.3916279077529907, 0.6390170454978943, 0.799985408782959, -0.4681397080421448, 0.34444379806518555, 0.6965272426605225, 0.15202449262142181, -0.23848643898963928, 0.4571780860424042, -0.45037221908569336, -0.77044677734375, -0.6074389815330505, -0.5629448294639587, -0.28668203949928284, 0.043776702135801315, -0.48241129517555237, 0.17547667026519775, -0.647998034954071, -0.08927088230848312, -0.49058839678764343, 0.07366184145212173, -0.5689014196395874, -0.004657440353184938, -0.10947674512863159, 0.7175945043563843, -0.9358571767807007, 1.0848143100738525, 0.5870994329452515, -0.23362527787685394, -0.3812747299671173, -0.08145280927419662, 0.02170000970363617, -0.5516493320465088, 0.6421268582344055, -0.1777249425649643, -0.10538651794195175, 0.584265947341919, -0.5476642847061157, -1.0523260831832886, 0.8491952419281006, 0.2551104724407196, -0.8798359632492065, -0.09152713418006897, -0.5560892224311829, 0.2703370153903961, -0.12934733927249908, 0.10147576779127121, 0.697130024433136, 0.3254520297050476, -0.022080129012465477, -0.8368452787399292, -0.16071900725364685, -0.34506556391716003, -0.17618772387504578, 0.30873239040374756, -0.8078557848930359, 0.7438433766365051, -0.150125190615654, -0.5541710257530212, 0.08711335808038712, 0.6760021448135376, 0.2830382287502289, 0.19907189905643463, 0.528782069683075, 0.4148586094379425, 1.1176958084106445, -0.006651593837887049, 0.6353810429573059, -0.49542754888534546, 0.1676815152168274, 1.140468716621399, -0.10409276187419891, 0.5726072192192078, 0.272516131401062, 0.01590883545577526, 0.36547863483428955, 0.7088955044746399, 0.17333999276161194, 0.6263186931610107, 0.1596442610025406, -0.465928852558136, -0.6683139204978943, -0.2505144774913788, -0.15620826184749603, 0.11916113644838333, 0.5246042609214783, 0.06725568324327469, -0.16494804620742798, 0.22662460803985596, -0.07982586324214935, -0.037945374846458435, -0.5721307396888733, 0.997477650642395, 0.05612342059612274, -0.7951390147209167, 0.8607563376426697, -0.27269724011421204, 0.763087809085846, -0.6131077408790588, -0.11138872802257538, -0.39766353368759155, -0.26258039474487305, -0.011261139996349812, -0.13716015219688416, 0.0593426339328289, -0.26607057452201843, -0.2496134489774704, -0.33120858669281006, 0.5018190741539001, -0.6022858619689941, -0.060451868921518326, -0.19848771393299103, 0.7652417421340942, 0.09672866016626358, -0.0005100038251839578, -0.5911378860473633, -0.15747883915901184, -0.25852346420288086, 0.08051082491874695, 0.5171076059341431, 0.6010205745697021, 0.038888297975063324, 0.7069923281669617, 0.45043739676475525, 0.27511101961135864, 0.3342445194721222, 0.04770226404070854, 0.8334619402885437, -0.8107312321662903, -0.8373805284500122, -0.6128840446472168, 0.3196076452732086, 0.19752608239650726, -0.4925364553928375, 0.6718332171440125, 0.36401528120040894, 0.6575079560279846, -0.04931502416729927, 0.7829663157463074, 0.35162046551704407, 0.5817155241966248, -0.8990089297294617, 0.5124521255493164, -0.39685139060020447, 0.137629896402359, 0.0858607068657875, -0.7182289361953735, -0.3059437870979309, 0.49796757102012634, -0.20839782059192657, 0.028315797448158264, 0.7285917401313782, 0.9301651120185852, 0.20583291351795197, -0.2948940098285675, 0.6547662615776062, 0.005949585698544979, 0.03737221658229828, 0.8750495314598083, 0.929999589920044, -0.221523255109787, 0.2893076539039612, 0.08140860497951508, -0.28313055634498596, -0.22631675004959106, -0.7305204272270203, -0.785709023475647, -0.7515131831169128, -0.4040684401988983, 0.07744502276182175, 0.4975561201572418, 1.0531163215637207, 0.770813524723053, -0.7757675647735596, -0.044111691415309906, -0.227108433842659, 0.3248690366744995, -0.606289803981781, -0.21069727838039398, 0.3081904947757721, -1.12263822555542, -0.659453809261322, 0.801051139831543, 0.3259483575820923, -0.11929810792207718, -0.0440027080476284, -0.09082115441560745, -0.1275632083415985, -0.13090765476226807, 0.6214628219604492, 0.8664523363113403, -0.35965973138809204, -0.2988196015357971, 0.16762633621692657, -0.005613371264189482, 0.17922057211399078, 0.9097933173179626, -1.2639902830123901, 0.6008795499801636, 0.629082441329956, 0.6844772696495056, 0.23026706278324127, 0.06263820827007294, 0.6247987747192383, -1.0204143524169922, 0.003908043261617422, 0.16187572479248047, 0.06730256974697113, -0.030451053753495216, -0.5082741379737854, -0.017638230696320534, 0.272739976644516, -0.7623549103736877, -0.4948785603046417, 0.33560678362846375, -0.9137002229690552, -0.24073435366153717, 0.8218053579330444, -0.11760494112968445, -0.2529877722263336, -0.5220968127250671, -0.21181228756904602, 0.30533120036125183, -0.7439801096916199, 0.8270121216773987, 0.3081694543361664, -0.10361480712890625, -0.8905912041664124, -0.34331461787223816, 1.0214581489562988, 0.4344244599342346, -0.8466504812240601, 0.06437249481678009, 0.6013144254684448, 0.26569071412086487, -0.3425503373146057, 0.8585503101348877, 0.2008170187473297, 0.814638078212738, -0.24566778540611267, -0.04741484671831131, -0.20022745430469513, -0.6339646577835083, -0.771682858467102, 0.14240969717502594, 0.4320123791694641, -0.19577577710151672 ]
http://arxiv.org/abs/2404.14604v3
http://arxiv.org/pdf/2404.14604v3
Describe-then-Reason: Improving Multimodal Mathematical Reasoning through Visual Comprehension Training
2024-04-22T21:59:35
2024-04-26T02:34:29
Mengzhao Jia, Zhihan Zhang, Wenhao Yu, Fangkai Jiao, Meng Jiang
cs.CL
cs.CL
Open-source multimodal large language models (MLLMs) excel in various tasks involving textual and visual inputs but still struggle with complex multimodal mathematical reasoning, lagging behind proprietary models like GPT-4V(ision) and Gemini-Pro. Although fine-tuning with intermediate steps (i.e., rationales) elicits some mathematical reasoning skills, the resulting models still fall short in visual comprehension due to inadequate visual-centric supervision, which leads to inaccurate interpretation of math figures. To address this issue, we propose a two-step training pipeline VCAR, which emphasizes the Visual Comprehension training in Addition to mathematical Reasoning learning. It first improves the visual comprehension ability of MLLMs through the visual description generation task, followed by another training step on generating rationales with the assistance of descriptions. Experimental results on two popular benchmarks demonstrate that VCAR substantially outperforms baseline methods solely relying on rationale supervision, especially on problems with high visual demands.
[ -0.4646315574645996, -0.5526647567749023, 0.7708250284194946, 0.2571501135826111, -0.40348073840141296, -0.05184001475572586, -0.0777658224105835, -0.11399664729833603, -0.2712666094303131, 0.6001903414726257, -0.6636970639228821, -0.17874012887477875, -0.5545550584793091, -0.11999453604221344, -0.17866156995296478, 0.8493146896362305, -0.29931363463401794, 0.5646749138832092, -0.8089434504508972, -0.0924568846821785, -0.5958396792411804, -0.20209573209285736, -0.77686607837677, -0.2165919691324234, 0.5740472078323364, 0.3854924440383911, 0.5088321566581726, 0.5485859513282776, 0.7970207333564758, 0.37534886598587036, 0.26757901906967163, 0.5167199373245239, -0.2523026764392853, 0.07730510085821152, -0.014833400025963783, -0.7883766293525696, -0.16450895369052887, -0.12709955871105194, 0.23749789595603943, 0.4520683288574219, -0.048854392021894455, 0.13391833007335663, -0.15596437454223633, 0.69737309217453, -0.6755456328392029, 0.5126032829284668, -0.4137875735759735, 0.009447259828448296, 0.07262720167636871, -0.4556155502796173, -0.4899697005748749, -0.14725294709205627, 0.3316795229911804, -0.9013792276382446, 0.08295680582523346, 0.13430172204971313, 0.7023374438285828, 0.41112834215164185, -0.5349478721618652, -0.23900553584098816, -0.603381872177124, 1.0541573762893677, -0.4284512996673584, 0.35854801535606384, 0.3571975529193878, 0.9318348169326782, 0.24894404411315918, -0.895211398601532, -0.583986222743988, -0.296883761882782, -0.032922763377428055, 0.2993769943714142, -0.34931033849716187, 0.048785217106342316, 0.5877143740653992, -0.15507537126541138, -0.5820273160934448, -0.34851086139678955, -0.7841664552688599, -0.23118464648723602, 0.4049531817436218, 0.22829832136631012, 0.06438754498958588, -0.049380309879779816, -0.5201376676559448, -0.24412739276885986, -0.5773974061012268, 0.5588388442993164, -0.04888901859521866, -0.10199528187513351, 0.04991759732365608, 0.9038416147232056, -0.012371272780001163, 0.7513173818588257, -0.09198962897062302, -0.2657870650291443, 0.050490736961364746, -0.3764282464981079, -0.4145670533180237, -0.19849863648414612, 0.504828691482544, 0.5467112064361572, 0.5493008494377136, 0.21238908171653748, -0.03684176877140999, 0.4618823826313019, 0.335227370262146, -0.932516872882843, -0.3013022541999817, 0.0519561693072319, -0.5363159775733948, -0.12045736610889435, 0.11843716353178024, -0.6455797553062439, -0.12164966017007828, -1.0569782257080078, 0.4810973107814789, -0.5634039640426636, -0.0712931901216507, 0.016176164150238037, -0.2393457591533661, 0.05765335261821747, 0.6049466133117676, -0.8425602316856384, -0.04647247493267059, 0.7476252317428589, 0.7197007536888123, 0.3650546073913574, -0.27128082513809204, -0.90227210521698, -0.07842113077640533, -0.4453355669975281, 0.9205855131149292, -0.5977039933204651, 0.04962197318673134, -0.16620418429374695, -0.23788294196128845, 0.003622492076829076, -0.35896316170692444, 0.4082515835762024, -0.37022411823272705, 0.33687254786491394, -0.4201216697692871, -0.1346280425786972, -0.3691243529319763, 0.3477672040462494, -0.32684609293937683, 0.6021058559417725, 0.12091179937124252, -0.7352430820465088, 0.4608333706855774, -0.525725781917572, -0.10001161694526672, -0.17574547231197357, -0.39436307549476624, -0.350069522857666, 0.13875097036361694, 0.591997504234314, 0.33946022391319275, -0.3206154406070709, 0.07100754976272583, -0.4573153555393219, -0.08024198561906815, 0.38458555936813354, -0.4048430025577545, 0.7059688568115234, 0.41494855284690857, -0.1661599576473236, 0.5731930732727051, -0.7485813498497009, 0.28286105394363403, -0.019524941220879555, 0.1409214287996292, -0.27139946818351746, -0.09414505958557129, -0.14920687675476074, 0.5618166923522949, 0.07218149304389954, -0.18595795333385468, 0.00991782359778881, -0.33578670024871826, 0.6110238432884216, 0.8247336745262146, -0.3091784715652466, 0.5206917524337769, -0.1758413463830948, 0.8899103403091431, 0.1932649463415146, 0.3877541422843933, -0.5729941129684448, -0.5457262396812439, -0.9230586886405945, -0.41518568992614746, -0.049398742616176605, 0.6262198686599731, -1.3415309190750122, -0.2667679786682129, -0.023606179282069206, -0.3722575008869171, -0.3696800470352173, 0.3181213140487671, 0.6708517670631409, 0.8334106802940369, 0.43818792700767517, 0.10967300087213516, -0.7233455777168274, -1.0180916786193848, -0.17808154225349426, -0.15088240802288055, -0.034965209662914276, 0.1645401269197464, 0.508824348449707, -0.17989833652973175, 0.8519589304924011, -0.3703676164150238, -0.45697906613349915, -0.19569841027259827, 0.2658042907714844, -0.0339844636619091, 0.06362015008926392, 0.5397624969482422, -0.9327224493026733, -0.4220059812068939, 0.023378320038318634, -0.9168131351470947, -0.134209543466568, -0.24413098394870758, -0.2997579574584961, 0.06428051739931107, 0.7079320549964905, -0.7879260778427124, 0.4801079332828522, 0.36328932642936707, -0.4677276611328125, 0.5504345893859863, -0.33541375398635864, -0.020323995500802994, -0.9034165143966675, -0.20988206565380096, 0.19731689989566803, -0.009408327750861645, -0.1751125603914261, -0.05248479172587395, 0.15703335404396057, -0.085357666015625, -0.45093709230422974, 0.32674315571784973, -0.4286234378814697, 0.12921026349067688, -0.20424161851406097, 0.099210225045681, 0.19244244694709778, 0.37090638279914856, -0.09608625620603561, 0.7555425763130188, 0.9712035655975342, -0.4069485664367676, 0.5463674664497375, 0.17936645448207855, -0.2418343722820282, 0.6807358860969543, -0.8191328644752502, -0.3835792541503906, -0.4705815017223358, 0.19965876638889313, -1.053579568862915, -0.32703667879104614, 0.22593660652637482, -0.570498526096344, 0.10314317047595978, -0.15833503007888794, -0.1818789839744568, -0.6017419695854187, -0.2166382223367691, 0.3886072635650635, 0.3862818479537964, -0.7250986099243164, 0.9229040741920471, 0.012318302877247334, -0.12867997586727142, -0.8374534845352173, -0.5590201616287231, -0.06039443612098694, -0.2683430016040802, -0.9359652996063232, -0.08431385457515717, -0.15662531554698944, -0.6294472813606262, -0.08305526524782181, -0.03569704294204712, -0.12582439184188843, -0.18001443147659302, 0.2529134750366211, 0.376695454120636, -0.32156795263290405, 0.2214006781578064, 0.23675759136676788, -0.4312436580657959, 0.4781152009963989, -0.20492875576019287, 0.21569107472896576, -0.4094400703907013, -0.456895649433136, -0.4354964792728424, 0.4147239029407501, 0.8673962354660034, -0.6072840094566345, 0.4593256413936615, 0.7760195732116699, -0.20228168368339539, -0.2824971675872803, -0.29140791296958923, -0.23250308632850647, -0.40641266107559204, 0.33646607398986816, -0.5270110368728638, -0.7104190587997437, 0.20475846529006958, 0.07886835187673569, -0.012239912524819374, 0.3369576930999756, 0.5732288956642151, -0.3402567207813263, 1.627052664756775, 0.3965877592563629, 0.6014177799224854, 0.45308101177215576, -0.3487717807292938, 0.27893608808517456, -0.5019040703773499, -0.6283199787139893, -0.1678331345319748, -0.07640668749809265, -0.04978460073471069, -0.5389700531959534, 0.426817387342453, 0.4026699364185333, -0.17122706770896912, 0.07926011085510254, -0.3745819628238678, 0.582165539264679, 0.5820196270942688, -0.0018633530708029866, -0.09351568669080734, 0.22201155126094818, -0.15392166376113892, -0.34088459610939026, -0.5069564580917358, -0.45411038398742676, 1.013651728630066, 0.16132254898548126, 0.8077547550201416, 0.06270580738782883, 0.23944202065467834, -0.1800563633441925, 0.36588895320892334, -0.886792778968811, 0.37967565655708313, -0.07007716596126556, -0.31397199630737305, -0.04884687438607216, -0.49352389574050903, -0.7104089260101318, 0.6873707175254822, -0.28319576382637024, -0.2666522264480591, -0.12926822900772095, 0.5198630094528198, -0.30382490158081055, -0.021802229806780815, -0.9404663443565369, 0.997944712638855, -0.6224356889724731, -0.3885439932346344, -0.28813445568084717, -0.6258672475814819, 0.7017862200737, 0.039705611765384674, 0.3900780975818634, 0.10274024307727814, 0.08837472647428513, 0.2330544888973236, -0.745162844657898, 0.6271349191665649, -0.2666921019554138, 0.17272599041461945, 0.45071232318878174, 0.02213289774954319, 0.3047081530094147, 0.31090304255485535, 0.4690495431423187, -0.11410120874643326, 0.05347539484500885, -0.36729392409324646, -1.0030930042266846, 0.5016060471534729, -0.539010763168335, -0.5608714818954468, -0.34548041224479675, -0.580109715461731, -0.15631656348705292, 0.01268691848963499, 0.2605331838130951, 0.5555769801139832, 0.43969622254371643, 0.39659321308135986, 0.6011521816253662, 0.14834313094615936, 0.5053814053535461, 0.05004047974944115, -0.30223557353019714, -0.7198278903961182, 0.7268187999725342, -0.1692495197057724, 0.25966501235961914, 0.4273744523525238, 0.13437700271606445, -0.6029780507087708, -0.2793929874897003, -0.6407237648963928, 0.14150041341781616, -0.8861265182495117, -0.25458285212516785, -0.6055924892425537, -0.006726530846208334, -0.22498109936714172, -0.25147339701652527, -0.13258704543113708, -0.34878334403038025, -0.4521615505218506, 0.1450071483850479, 0.3273812532424927, 0.42843568325042725, -0.035547323524951935, 0.21386244893074036, -0.6362161040306091, 0.5816016793251038, 0.7206129431724548, -0.04856862127780914, -0.0688379555940628, -0.5544765591621399, -0.17671605944633484, 0.14442330598831177, -0.47809767723083496, -0.39463332295417786, 0.49209678173065186, 0.11583161354064941, 0.5016729235649109, 0.715038537979126, -0.25900799036026, 1.0004712343215942, -0.46368661522865295, 0.4216577708721161, 0.764912486076355, -0.9386802911758423, 0.7043144702911377, -0.18084663152694702, 0.26701590418815613, 0.16284584999084473, 0.22747893631458282, 0.023398922756314278, -0.04403432458639145, -0.2921748459339142, -0.5142644643783569, 0.57395339012146, 0.32020893692970276, 0.043617572635412216, 0.16726186871528625, 0.07901682704687119, 0.07605331391096115, 0.12057314068078995, -0.6994754076004028, 0.04605720564723015, -0.5565414428710938, -0.21969668567180634, -0.055466748774051666, -0.2886609137058258, -0.2110554724931717, -0.32218992710113525, 0.4763207733631134, -0.341767281293869, 0.1197025328874588, 0.10234742611646652, -0.15472280979156494, -0.1556665152311325, 0.23670047521591187, 0.9836752414703369, 1.271931529045105, 0.10633101314306259, 0.3764335811138153, -0.10083664953708649, -0.08457092940807343, -0.12154913693666458, 0.11500007659196854, 0.14932703971862793, -0.10355588793754578, 0.710486888885498, 0.9860869646072388, 0.10961843281984329, -0.992994487285614, 0.7726191878318787, -0.19009914994239807, -0.5052573680877686, -0.3996202349662781, 0.08392217755317688, 0.1335292011499405, 0.6469252705574036, 0.15868958830833435, 0.6565708518028259, 0.008514744229614735, -0.37170645594596863, 0.1950099617242813, 0.4409390389919281, -0.2785477638244629, -0.29517075419425964, 0.9316278100013733, -0.23032887279987335, -0.11984223872423172, 0.6142534017562866, 0.07062167674303055, -0.451175719499588, 0.6792145371437073, 0.4622313380241394, 0.4994893968105316, 0.04250824451446533, 0.3712165057659149, 0.44945985078811646, 0.24067817628383636, -0.13086414337158203, 0.5655167102813721, -0.21357235312461853, -0.3837801516056061, -0.8453531265258789, -0.38123688101768494, -0.2794555723667145, -0.43352174758911133, -0.8268147706985474, 0.4472352862358093, -0.5488094091415405, -0.10971641540527344, 0.22234125435352325, -0.7014040946960449, -0.6962919235229492, 0.36399903893470764, 0.2504592537879944, 0.5914515256881714, -0.7865608930587769, 0.6446852087974548, 0.7721484899520874, -0.8026902079582214, -0.7097563147544861, -0.5950360298156738, -0.0618462972342968, -0.9383385181427002, 1.105595588684082, 0.3320631682872772, -0.26221802830696106, -0.2350769191980362, -0.736193060874939, -0.7040382623672485, 1.0462428331375122, 0.6404534578323364, -0.6720015406608582, 0.07410982996225357, -0.14735868573188782, 0.7782616019248962, -0.49512478709220886, 0.39269596338272095, 0.13193608820438385, 0.4361947476863861, 0.46637824177742004, -0.6116926074028015, -0.3740377724170685, -0.35006648302078247, 0.09233365207910538, 0.10622826963663101, -0.51813805103302, 1.0930020809173584, -0.7477741241455078, 0.06637203693389893, 0.13439418375492096, 0.686560869216919, 0.6451308131217957, 0.6917336583137512, 0.589590311050415, 0.7613356113433838, 0.4684445559978485, -0.16620780527591705, 1.044708490371704, 0.22921712696552277, 0.1561238169670105, 1.0269964933395386, 0.16171051561832428, 0.9100177884101868, 0.7776950001716614, -0.09432455897331238, 0.5455291867256165, 0.5922884941101074, 0.12281368672847748, 0.602536141872406, 0.07460831850767136, -0.14548705518245697, -0.7295066714286804, 0.05746181681752205, -0.41878753900527954, 0.5627732872962952, 0.35308459401130676, -0.5818857550621033, -0.2607179284095764, 0.36156484484672546, -0.2421058863401413, 0.12230300158262253, -0.5822761058807373, 0.4407453238964081, 0.28589320182800293, -0.8540271520614624, 0.5985041856765747, -0.20688338577747345, 0.0704759955406189, -0.5971246957778931, -0.2919224798679352, -0.03371855616569519, 0.5093414187431335, -0.1548948884010315, -0.6772645711898804, 0.2311018705368042, -0.04717433452606201, -0.4433422386646271, -0.5005118250846863, 0.34897580742836, -0.45260435342788696, -0.7783809900283813, 0.20076189935207367, 0.44476422667503357, 0.08974219858646393, -0.3161498010158539, -0.822917103767395, -0.12886275351047516, 0.10885204374790192, -0.0007191579206846654, 0.040475063025951385, 0.7393423914909363, -0.4305451810359955, 0.9621269702911377, 0.8790725469589233, -0.2902369201183319, 0.28159618377685547, 0.426052063703537, 0.8301593661308289, -0.5932996273040771, -0.4049280285835266, -0.9400014877319336, 0.8215463757514954, 0.057045817375183105, -0.35232290625572205, 0.7384926080703735, 0.3596682548522949, 0.7922273278236389, -0.4246872365474701, 0.6242868304252625, 0.19076360762119293, 0.244358092546463, -0.8432806134223938, 0.2916628420352936, -0.8694850206375122, 0.13336388766765594, -0.031088512390851974, -1.1019622087478638, -0.5948569774627686, 0.7305641770362854, -0.09669559448957443, 0.03956089913845062, 0.969698965549469, 0.6621028780937195, -0.14154919981956482, -0.13104015588760376, 0.43659013509750366, 0.09950407594442368, 0.3990741968154907, 0.5841612219810486, 1.1974308490753174, -0.21489837765693665, 1.0285006761550903, -0.2210625261068344, -0.22278271615505219, -0.1019846647977829, -0.7190849184989929, -1.2087072134017944, -0.4904349148273468, -0.20543056726455688, -0.3085785210132599, -0.47210678458213806, 0.6584044098854065, 0.8710377812385559, -0.7558464407920837, 0.11643704771995544, -0.3587126135826111, -0.1564731001853943, -0.2811110019683838, -0.1880410611629486, 0.23364578187465668, -0.5471534132957458, -0.4893842935562134, 0.29326683282852173, 0.513311505317688, -0.012953011319041252, -0.4388410449028015, -0.26302292943000793, 0.31615081429481506, -0.0992639809846878, 1.0033364295959473, 0.044525399804115295, -1.285543441772461, -0.022651752457022667, 0.15965130925178528, 0.040721409022808075, -0.03568871691823006, 1.0346558094024658, -0.7222638726234436, 0.9988725781440735, 0.5483528971672058, 0.48182395100593567, 0.5391888618469238, -0.0174704622477293, 0.42331400513648987, -0.2977770268917084, 0.1026659905910492, 0.0868830755352974, 0.6719672679901123, 0.27048274874687195, -0.1355149894952774, 0.36961251497268677, 0.20473308861255646, -0.26329317688941956, -0.6880660653114319, 0.22369854152202606, -1.4458773136138916, -0.12254611402750015, 0.9632734656333923, -0.20476134121418, -0.16789798438549042, 0.02658895216882229, -0.7764116525650024, 0.0028887565713375807, -0.15371599793434143, 0.5853075981140137, 0.6246683597564697, -0.275958389043808, -0.6882816553115845, -0.5335638523101807, 0.2887968420982361, 0.48949530720710754, -0.8877101540565491, -0.12427299469709396, 0.6971520781517029, -0.03430461511015892, 0.10773450881242752, 0.1914381980895996, -0.10815219581127167, 0.5790765285491943, 0.10378768295049667, -0.11924809962511063, -0.47456616163253784, -0.5815555453300476, -0.061684709042310715, 0.2308044284582138, -0.060268472880125046, -0.2462659776210785 ]
http://arxiv.org/abs/2404.14600v1
http://arxiv.org/pdf/2404.14600v1
Planning Ahead in Generative Retrieval: Guiding Autoregressive Generation through Simultaneous Decoding
2024-04-22T21:50:01
2024-04-22T21:50:01
Hansi Zeng, Chen Luo, Hamed Zamani
cs.IR
cs.IR, cs.CL
This paper introduces PAG-a novel optimization and decoding approach that guides autoregressive generation of document identifiers in generative retrieval models through simultaneous decoding. To this aim, PAG constructs a set-based and sequential identifier for each document. Motivated by the bag-of-words assumption in information retrieval, the set-based identifier is built on lexical tokens. The sequential identifier, on the other hand, is obtained via quantizing relevance-based representations of documents. Extensive experiments on MSMARCO and TREC Deep Learning Track data reveal that PAG outperforms the state-of-the-art generative retrieval model by a large margin (e.g., 15.6% MRR improvements on MS MARCO), while achieving 22x speed up in terms of query latency.
[ -0.4237501919269562, -0.5975368618965149, 0.32594606280326843, 0.2686980664730072, -0.4328782558441162, 0.10900352895259857, -0.06467188149690628, 0.0992400199174881, -0.03134084492921829, 0.3815958499908447, -0.5401284098625183, -0.5315849781036377, -0.6383531093597412, 0.1651926338672638, -0.5391330718994141, 0.6856001019477844, 0.2521435618400574, -0.06460002064704895, -0.10184808820486069, -0.11377665400505066, -0.45052313804626465, -0.572178840637207, -0.8080363869667053, -0.21963410079479218, 0.3779140114784241, 0.04487046226859093, 0.6694582104682922, 0.9404315948486328, 0.6396554708480835, 0.20176458358764648, 0.01413168665021658, 0.3787088990211487, -0.43879005312919617, 0.2273549735546112, 0.04809935390949249, -0.34585025906562805, -0.24112500250339508, -0.14417530596256256, 0.6646867394447327, 0.528209388256073, -0.2761698365211487, -0.09461507201194763, 0.1083751916885376, 0.7161194682121277, -0.9788472652435303, 0.3314583897590637, -0.4310723841190338, 0.34293752908706665, -0.2670602798461914, -0.7502105832099915, -0.5512434244155884, -0.37160399556159973, -0.15976741909980774, -0.7307218909263611, 0.6852840185165405, -0.006004021968692541, 0.599080502986908, 0.4418331980705261, -0.49473586678504944, -0.5968592762947083, -0.605124294757843, 0.5277906060218811, -0.42951735854148865, 0.27410444617271423, 0.40006813406944275, 0.1498851478099823, -0.2585141658782959, -1.050580620765686, -0.5534817576408386, 0.12310413271188736, -0.07861164957284927, 0.39566272497177124, 0.204988494515419, 0.19466033577919006, 0.1522742211818695, 0.9476627111434937, -0.765256404876709, -0.19898681342601776, -0.0490187406539917, 0.04550547152757645, 0.6895358562469482, 0.06970644742250443, 0.025344369933009148, -0.14450879395008087, -0.46070268750190735, -0.3691570460796356, -0.5249632000923157, -0.3332906663417816, 0.35452207922935486, 0.1310931295156479, 0.3127756416797638, 0.36754360795021057, -0.09449690580368042, 0.8221921324729919, 0.2549903988838196, 0.04510950297117233, 0.29728856682777405, -0.5233663320541382, -0.21977342665195465, 0.025697167962789536, 0.7925539016723633, 0.11826763302087784, -0.20882363617420197, -0.2616715133190155, -0.37651485204696655, -0.02748487889766693, 0.4422324299812317, -0.546961784362793, -0.38466399908065796, -0.08878131955862045, -0.8570786714553833, -0.3819563388824463, 0.2537463307380676, -0.9851878881454468, -0.1282740980386734, -0.23266121745109558, 0.585654616355896, -0.5123664140701294, -0.2959718704223633, 0.3235486149787903, -0.19185921549797058, 0.381555438041687, 0.11268726736307144, -0.8996644020080566, -0.01266963966190815, 0.6738162040710449, 0.8391534686088562, -0.007403380237519741, -0.013651701621711254, -0.6422775387763977, 0.23134444653987885, -0.5479170680046082, 0.8188738226890564, -0.628949761390686, -1.0835264921188354, 0.10180944204330444, -0.06581953912973404, -0.052711572498083115, -0.4046716094017029, 0.7135021090507507, -0.850749671459198, 0.18458455801010132, -0.5518689751625061, -0.5451041460037231, -0.01810006983578205, -0.008507054299116135, -0.7725152969360352, 1.0625938177108765, -0.010064566507935524, -0.7667708992958069, 0.5820196866989136, -0.4963236451148987, -0.6353631019592285, 0.2844472825527191, -0.30522966384887695, -0.3454481065273285, 0.35487818717956543, 0.26481392979621887, 0.21823127567768097, -0.24158239364624023, 0.36728447675704956, -0.030928734689950943, -0.3180544972419739, -0.39294761419296265, -0.3657680153846741, 0.6829180121421814, 0.6592196822166443, -0.03302354738116264, -0.22070834040641785, -0.9173434972763062, 0.15165111422538757, 0.18584084510803223, -0.673542857170105, -0.22590909898281097, 0.29156023263931274, -0.289640337228775, 0.05086897686123848, 0.30356699228286743, -0.06327023357152939, 0.5117756128311157, -0.1453433483839035, 0.03697676956653595, 0.676443338394165, 0.20454023778438568, 0.5554878115653992, -0.3429507315158844, 0.7678333520889282, -0.2878471612930298, 0.025604816153645515, -0.8082743287086487, -0.24848400056362152, -0.8012245893478394, 0.056566450744867325, 0.40413638949394226, 0.3723071813583374, -0.7705685496330261, 0.6939449906349182, -0.21929316222667694, -0.14219056069850922, -0.40776777267456055, -0.17850475013256073, 0.6039372682571411, 0.35497042536735535, 0.31548282504081726, -0.4110632538795471, -0.4662380814552307, -0.6946744322776794, -0.2188696265220642, -0.1223207637667656, 0.048072945326566696, 0.1325964480638504, 0.27284565567970276, 0.22986772656440735, 0.4031945765018463, -0.6182800531387329, -0.21284988522529602, 0.09511306881904602, 0.682406485080719, 0.0704224705696106, 0.45633241534233093, 0.3143020570278168, -1.306227445602417, -0.5406284332275391, -0.1954205483198166, -0.8826919198036194, -0.0054388102144002914, -0.15463151037693024, -0.21287880837917328, 0.07810623943805695, 0.785228967666626, -0.3719116747379303, 0.4657447934150696, 0.28100407123565674, -0.195615753531456, 0.31375959515571594, -0.5625160932540894, 0.24802519381046295, -1.0109857320785522, 0.12743589282035828, -0.24278800189495087, 0.17046710848808289, -0.19274236261844635, 0.2429254949092865, 0.18527419865131378, -0.24175214767456055, 0.10769377648830414, 0.32640784978866577, -0.9694967269897461, -0.15553471446037292, -0.2966194152832031, -0.14592452347278595, 0.2058102786540985, 0.32932063937187195, -0.02829553931951523, 1.1698548793792725, 0.4963953495025635, -0.7375664114952087, 0.2140468806028366, 0.3307618796825409, -0.22633406519889832, 0.3903147876262665, -0.38443875312805176, 0.2765950560569763, -0.5602115988731384, 0.21895915269851685, -0.805477499961853, -0.03505851700901985, -0.024265168234705925, -0.6095048189163208, 0.6529462933540344, -0.34168383479118347, -0.9810020923614502, -0.5305853486061096, 0.07021728157997131, 0.5000789761543274, 0.488768607378006, -0.7835426330566406, 0.7246541976928711, 0.2912823259830475, -0.021472109481692314, -0.6831409335136414, -0.46491578221321106, 0.033252961933612823, -0.061630576848983765, -0.5017784833908081, 0.7167529463768005, -0.08346902579069138, -0.07400892674922943, -0.010617631487548351, -0.16329814493656158, 0.3138850927352905, -0.2842513620853424, -0.15645946562290192, -0.03571721538901329, -0.052220169454813004, 0.5440834164619446, -0.16650941967964172, -0.33757779002189636, -0.05759124085307121, -0.6307806372642517, 0.6980469822883606, 0.12423396110534668, -0.26427581906318665, 0.06241525337100029, 0.8978534936904907, 0.3017309606075287, -0.7581777572631836, 0.6206478476524353, 0.6682482957839966, -0.21275033056735992, -0.2973291575908661, -0.5090321898460388, 0.058875564485788345, -0.5430592894554138, 0.153697669506073, -0.9182351231575012, -0.28562456369400024, 0.6233916878700256, 0.05639852210879326, -0.21145203709602356, 0.5085562467575073, 0.41702577471733093, 0.12450935691595078, 1.0061368942260742, 0.7283056974411011, 0.11432676017284393, 0.4574649930000305, -0.5501314997673035, 0.2532539367675781, -0.7192609906196594, -0.5738734602928162, -0.5414599180221558, 0.015858884900808334, -0.6462364196777344, -0.4622598886489868, 0.3283647298812866, 0.5037563443183899, 0.10713402926921844, 0.20359019935131073, -0.8177611827850342, 0.4533914625644684, 0.8671474456787109, 0.001545380218885839, 0.2939154803752899, -0.146201953291893, -0.35595056414604187, 0.1755359023809433, -0.8630480170249939, -0.22309286892414093, 1.2603480815887451, -0.2806432843208313, 0.7168659567832947, -0.00922192819416523, 0.935282826423645, 0.42104414105415344, -0.09714388847351074, -0.5525764226913452, 0.42624714970588684, -0.552349328994751, -0.47443196177482605, 0.09299048781394958, -0.1839539259672165, -1.0698864459991455, 0.3826586604118347, 0.1171078011393547, -0.36236950755119324, 0.5634194016456604, 0.14804302155971527, -0.20166020095348358, 0.18685099482536316, -0.5624338388442993, 0.7286742329597473, -0.372516930103302, -0.20339235663414001, -0.24132630228996277, -0.5973137617111206, 0.08640199899673462, 0.009830363094806671, -0.12345132976770401, 0.18182314932346344, -0.20885758101940155, 0.6186754703521729, -0.32926109433174133, 0.149812251329422, -0.21160763502120972, 0.001117050414904952, 0.40226930379867554, -0.020097792148590088, 0.7581934928894043, -0.022324535995721817, -0.3022913634777069, -0.29728686809539795, -0.22122128307819366, -0.5157681107521057, -0.5434951186180115, 0.7756608128547668, -0.33339834213256836, -0.5855695009231567, -0.5258694291114807, -0.28395432233810425, 0.00918224360793829, 0.35694998502731323, 0.8270149827003479, 0.48425954580307007, -0.14554911851882935, 0.1492268443107605, 1.0919420719146729, -0.33862972259521484, 0.7353476881980896, 0.32507941126823425, 0.12030740827322006, -0.3842913508415222, 0.6908240914344788, 0.04542059823870659, 0.047544654458761215, 0.7406671047210693, -0.047066580504179, -0.44893455505371094, -0.7038437128067017, -0.036893852055072784, 0.12429635971784592, -0.8738092184066772, -0.39216306805610657, -0.8145363330841064, -0.16425232589244843, -0.5614362955093384, -0.03795449435710907, -0.18502286076545715, -0.0061049992218613625, -0.5268951654434204, 0.10180342942476273, -0.020090820267796516, 0.5173806548118591, -0.12524539232254028, 0.46151211857795715, -0.719169020652771, 0.5403059124946594, 0.11771955341100693, 0.37695053219795227, 0.04402276873588562, -0.22179673612117767, -0.19305536150932312, -0.34904372692108154, -0.2546977698802948, -1.022245168685913, 0.5754444599151611, 0.18888753652572632, 0.7663426995277405, 0.49044138193130493, 0.2939990758895874, 0.6287950277328491, -0.30196815729141235, 0.4059083163738251, 0.018361469730734825, -0.5304481387138367, 0.8838977813720703, -0.5537618398666382, 0.5200744271278381, 0.531201958656311, 0.44103020429611206, -0.3259515166282654, 0.0638199895620346, -0.7792229652404785, -1.0451991558074951, 0.6566019058227539, 0.09627726674079895, -0.10381821542978287, -0.42709147930145264, 0.2978774607181549, 0.15250340104103088, 0.33223482966423035, -0.4527788460254669, -0.24454334378242493, -0.21379418671131134, 0.03699697554111481, -0.011420237831771374, -0.5962286591529846, -0.08211153000593185, 0.18735143542289734, 0.6579835414886475, -0.18296204507350922, 0.7495433688163757, 0.21094249188899994, 0.054577071219682693, 0.13014084100723267, 0.05540091544389725, 0.22733403742313385, 0.4658994674682617, -0.34790560603141785, -0.23670172691345215, -0.37124648690223694, -0.2208993136882782, 0.0004271725774742663, 0.47753244638442993, -0.06719698756933212, 0.16210275888442993, 0.23018237948417664, 0.6440619826316833, -0.2643181383609772, -0.20882627367973328, 0.5381237268447876, -0.06953516602516174, -0.15625295042991638, -0.7819992899894714, 0.01964927464723587, -0.3744327127933502, 0.15476591885089874, 0.8543334007263184, -0.13218076527118683, 0.4070248603820801, -0.32861828804016113, 0.25746846199035645, 0.45553940534591675, 0.19349360466003418, 0.01642877236008644, 0.7656247615814209, 0.196629136800766, -0.41869261860847473, 0.6866407990455627, -0.47976288199424744, -0.21647371351718903, 0.690402090549469, 0.5147368311882019, 1.1009565591812134, -0.04827582836151123, -0.08984804898500443, 0.5763545036315918, 0.0040754457004368305, -0.289554625749588, 0.42666521668434143, -0.6293683648109436, -0.5010866522789001, -0.2645580470561981, -0.8716079592704773, 0.3100144565105438, 0.21610306203365326, -0.8663476705551147, 0.17270615696907043, -0.28512176871299744, -0.25681960582733154, 0.009581626392900944, 0.13985253870487213, -0.6694180965423584, 0.32080817222595215, -0.08262582123279572, 0.9511162042617798, -0.3813721239566803, 0.9332507252693176, 0.362669974565506, -0.6861120462417603, -0.42680373787879944, 0.34860992431640625, 0.03919323906302452, -0.7420167326927185, 0.6824893951416016, 0.05234929546713829, -0.07542344927787781, 0.2352840006351471, -0.05448871850967407, -1.0191140174865723, 1.2279402017593384, -0.07797501981258392, -0.7084079384803772, -0.6012007594108582, -0.35956045985221863, 0.4576760232448578, -0.32367244362831116, -0.07019579410552979, 0.26944097876548767, 0.45749160647392273, 0.19212722778320312, -0.6937658786773682, -0.22094087302684784, -0.45306670665740967, 0.386369526386261, 0.6200985312461853, -0.7985988855361938, 0.650336742401123, -0.17452003061771393, -0.7233900427818298, 0.3015795648097992, 0.5481598973274231, -0.06888195127248764, 0.2875572144985199, 0.2110123485326767, 0.9480287432670593, 0.5599563717842102, -0.3414386808872223, 1.4052190780639648, -0.48547765612602234, 0.18585604429244995, 1.1817446947097778, 0.3139525353908539, 0.6063116788864136, 0.32855433225631714, -0.26976656913757324, 0.10983908921480179, 0.6342939138412476, -0.17336039245128632, 1.0080100297927856, 0.019572395831346512, -0.9264267683029175, -0.020902760326862335, 0.16159825026988983, -0.5580779910087585, 0.29638049006462097, 0.5232051610946655, -0.9429404735565186, -0.29239463806152344, 0.09039066731929779, -0.20584389567375183, 0.23789100348949432, -0.2517968714237213, 0.9330276846885681, -0.17798438668251038, -1.0976760387420654, 0.6650837659835815, 0.16515788435935974, 0.5935234427452087, -0.5237169861793518, -0.04685080796480179, -0.41147688031196594, 0.3554195761680603, 0.06539274752140045, -0.5315266251564026, 0.2457086592912674, -0.6319133639335632, -0.28320610523223877, -0.48331886529922485, 0.7044051885604858, -0.4678930342197418, -0.39683398604393005, 0.33001208305358887, 0.2280399650335312, -0.10123951733112335, -0.03308349475264549, -0.5942050218582153, 0.0022094394080340862, 0.04561162739992142, -0.09224911034107208, 0.18923956155776978, 0.6083494424819946, 0.1521124690771103, 0.6343013048171997, 0.6560298800468445, 0.04831758141517639, 0.40634268522262573, 0.15823088586330414, 0.6887195706367493, -0.6675622463226318, -0.7006272077560425, -0.48387014865875244, 0.2913306951522827, 0.0483081191778183, -0.1448737531900406, 0.5126065611839294, 0.634944498538971, 1.0004167556762695, -0.07939571142196655, 0.8329504132270813, -0.23595233261585236, 0.23492464423179626, -0.67090904712677, 0.32408276200294495, -0.5547158718109131, 0.3545079529285431, 0.14476338028907776, -0.8199878334999084, -0.1926991045475006, 0.5472865700721741, -0.10977679491043091, 0.17746753990650177, 0.6739253997802734, 0.9103552103042603, 0.10277292877435684, -0.18291343748569489, 0.2441362738609314, -0.28440460562705994, 0.3160158693790436, 0.5672451257705688, 0.5041746497154236, -0.7188283205032349, 0.7580612301826477, -0.219833642244339, -0.08887708187103271, -0.21320904791355133, -0.7037765383720398, -0.5602525472640991, -0.9545280337333679, -0.2023652344942093, -0.39160752296447754, 0.5503191351890564, 0.20120161771774292, 0.8038063049316406, -0.41377153992652893, 0.10838647186756134, -0.6636204719543457, -0.2868638336658478, -0.04252959042787552, -0.3112764358520508, 0.4936267137527466, -0.8309544324874878, -0.7946733832359314, 0.3948816955089569, 0.2948172092437744, 0.198403462767601, -0.20262309908866882, -0.16812197864055634, -0.4520147144794464, -0.17548738420009613, 0.364061564207077, 0.42140719294548035, -0.6323971152305603, 0.23700566589832306, -0.21539828181266785, -0.035869814455509186, 0.2363819032907486, 1.1710578203201294, -1.0755350589752197, 0.9151253700256348, 0.7743163108825684, 0.5587214827537537, 0.9550853371620178, 0.2619752883911133, 0.8848193883895874, -0.8473184108734131, 0.2365761250257492, 0.38184359669685364, 0.2108609527349472, 0.15838676691055298, -0.5405358076095581, 0.5904726386070251, 0.17535211145877838, -0.6823391318321228, -0.5077698230743408, 0.24670623242855072, -0.7052406072616577, -0.2686171233654022, 0.9350096583366394, -0.16607819497585297, -0.008584857918322086, 0.2603258490562439, 0.17306888103485107, 0.38354435563087463, -0.4179133176803589, 0.8533115386962891, 0.6596319675445557, -0.12348198145627975, -0.4831642508506775, -0.26480939984321594, 0.5341547727584839, 0.28621870279312134, -0.5072977542877197, -0.10154427587985992, 0.6761430501937866, -0.17570604383945465, 0.2956707179546356, 0.9053148031234741, -0.55998694896698, 0.29766276478767395, 0.5090793967247009, -0.23049435019493103, -0.09366173297166824, -0.33850663900375366, -0.34384992718696594, 0.4180775284767151, 0.041892312467098236, -0.5629725456237793 ]
http://arxiv.org/abs/2404.14567v1
http://arxiv.org/pdf/2404.14567v1
WangLab at MEDIQA-M3G 2024: Multimodal Medical Answer Generation using Large Language Models
2024-04-22T20:29:58
2024-04-22T20:29:58
Ronald Xie, Steven Palayew, Augustin Toma, Gary Bader, Bo Wang
cs.CL
cs.CL
This paper outlines our submission to the MEDIQA2024 Multilingual and Multimodal Medical Answer Generation (M3G) shared task. We report results for two standalone solutions under the English category of the task, the first involving two consecutive API calls to the Claude 3 Opus API and the second involving training an image-disease label joint embedding in the style of CLIP for image classification. These two solutions scored 1st and 2nd place respectively on the competition leaderboard, substantially outperforming the next best solution. Additionally, we discuss insights gained from post-competition experiments. While the performance of these two solutions have significant room for improvement due to the difficulty of the shared task and the challenging nature of medical visual question answering in general, we identify the multi-stage LLM approach and the CLIP image classification approach as promising avenues for further investigation.
[ -0.500215470790863, -0.7402576804161072, 0.9215421080589294, 0.24070167541503906, -0.2783496677875519, 0.11530929803848267, 0.08500989526510239, -0.6163671016693115, 0.2457648515701294, 0.42499592900276184, -0.9113860130310059, -0.4224880337715149, -0.7776515483856201, 0.4005358815193176, 0.09317749738693237, 0.8208272457122803, -0.27064287662506104, 0.6535109877586365, -0.6523559093475342, -0.5813463926315308, -0.692704439163208, -0.5218441486358643, -0.8071878552436829, -0.1681787073612213, 1.045573353767395, 0.5549610257148743, 0.5046154260635376, 0.4511229991912842, 0.7180569171905518, 0.2515828311443329, 0.22252267599105835, 0.4209599792957306, -0.06896990537643433, 0.07870667427778244, 0.03007717989385128, -0.43282848596572876, -0.5416795015335083, 0.053927674889564514, 0.18194173276424408, 0.6799723505973816, 0.01751725748181343, 0.30768465995788574, -0.1737387776374817, 0.4635763466358185, -0.22455254197120667, 0.08303205668926239, -0.37222611904144287, 0.22136349976062775, -0.14400430023670197, -0.44730809330940247, -0.41579779982566833, -0.07633014768362045, 0.01837160624563694, -0.5757975578308105, -0.01440158300101757, 0.08675087988376617, 0.7168585062026978, 0.27800652384757996, -0.6636477112770081, -0.48459699749946594, -0.3026668131351471, 0.7657322287559509, -0.5766503810882568, 0.0456303246319294, 0.22321198880672455, 0.20929542183876038, -0.03903094306588173, -0.8652674555778503, -0.4963771402835846, 0.17834770679473877, 0.16787433624267578, 0.4072229862213135, -0.18132732808589935, -0.1353001892566681, -0.09665451943874359, 0.12860681116580963, -0.7143723368644714, 0.20035745203495026, -0.6826786398887634, -0.1963285356760025, 0.6706324219703674, 0.35309651494026184, 0.4155867099761963, -0.15587688982486725, -0.4773801565170288, 0.10822861641645432, -0.8069223761558533, -0.061513014137744904, -0.19900958240032196, -0.20455728471279144, -0.10115683823823929, 0.5946182608604431, 0.013599392026662827, 0.6141254901885986, -0.092611163854599, -0.2908516228199005, 0.5821933746337891, -0.2396703064441681, 0.11706408858299255, -0.32980233430862427, 1.1207276582717896, 0.7079272866249084, -0.1799410730600357, 0.08635580539703369, 0.012577715329825878, -0.4432910680770874, 0.030935103073716164, -1.0073950290679932, -0.10014711320400238, 0.6016706228256226, -0.6221293807029724, -0.22860045731067657, -0.3448663353919983, -0.6598343849182129, -0.4298345148563385, -0.1932322382926941, 0.647697925567627, -0.3055603504180908, 0.01936805434525013, 0.07465115189552307, 0.08088427037000656, 0.21461597084999084, 0.4768266975879669, -0.7104408144950867, 0.02175648882985115, 0.4285631477832794, 0.7405295372009277, -0.4615199863910675, -0.2521253228187561, -0.639305055141449, 0.20507264137268066, -0.22582805156707764, 0.8509976267814636, -0.025208845734596252, -0.37811949849128723, -0.19929587841033936, 0.2757609486579895, -0.11246879398822784, -0.8043891787528992, 0.3919111490249634, -0.4386786222457886, 0.5172786116600037, -0.2346772700548172, -0.4889609217643738, -0.18712806701660156, 0.40734782814979553, -0.6834173202514648, 0.5147534012794495, -0.13044896721839905, -0.73502117395401, 0.17075811326503754, -0.8906934261322021, -0.11980383098125458, 0.30925101041793823, -0.5214829444885254, -0.6319268345832825, -0.1719418317079544, 0.677232563495636, 0.7616096138954163, -0.45471927523612976, 0.31788188219070435, -0.3811693489551544, -0.05554114654660225, 0.6380459666252136, -0.34159398078918457, 0.5434322953224182, 0.17046815156936646, -0.09609552472829819, 0.44755491614341736, -0.654994785785675, 0.15683716535568237, 0.4522784352302551, -0.313337117433548, 0.18696777522563934, -0.2433917224407196, 0.021519886329770088, 0.3413101136684418, 0.2663723826408386, -0.7642141580581665, 0.1684321016073227, 0.2013649046421051, 0.2668173909187317, 0.6808701157569885, 0.2040933072566986, -0.11291170865297318, -0.5586557388305664, 0.730190098285675, 0.14319001138210297, 0.2771458923816681, -0.15052476525306702, -1.0852086544036865, -0.4748195707798004, -0.5203527212142944, 0.29542744159698486, 0.7356405258178711, -0.9786123037338257, -0.38251709938049316, -0.027156027033925056, -0.31676506996154785, -0.769157886505127, 0.18905200064182281, 0.3917313516139984, 0.451616495847702, 0.5009635090827942, -0.25981467962265015, -0.5111448168754578, -1.213624358177185, 0.2569017708301544, -0.04353110492229462, -0.11752032488584518, 0.783454418182373, 0.45538753271102905, -0.4713081121444702, 0.21782219409942627, -0.8347270488739014, -0.31782615184783936, -0.32941919565200806, 0.4410226047039032, 0.40710800886154175, 0.2706529498100281, 0.5148234963417053, -0.9268445372581482, -0.4330122768878937, 0.012761445716023445, -0.8845362663269043, -0.15650273859500885, 0.10028525441884995, -0.020653145387768745, 0.12307020276784897, 0.5948348045349121, -0.3993992209434509, -0.006186069454997778, 0.7825185060501099, 0.024508532136678696, 0.5400782823562622, -0.25152331590652466, 0.5947168469429016, -1.484894871711731, -0.019749276340007782, -0.28728345036506653, -0.3730996251106262, -0.5445016622543335, 0.10633550584316254, -0.005040007643401623, -0.42125722765922546, -0.7357236742973328, 0.5191601514816284, -0.2694249153137207, 0.26565104722976685, -0.2621844708919525, 0.032584451138973236, -0.004566286690533161, 0.682007372379303, -0.10733217000961304, 0.8092522025108337, 0.5173116326332092, -0.40556395053863525, 0.7421552538871765, 0.285900354385376, -0.11038806289434433, 0.4239600896835327, -0.7881308794021606, 0.33260655403137207, -0.15817604959011078, -0.02350703813135624, -1.0913463830947876, -0.6231204271316528, 0.24033401906490326, -0.6146336197853088, 0.34720903635025024, 0.05622643977403641, -0.4471968710422516, -0.6554533243179321, -0.3253631293773651, 0.7874428629875183, 0.3906975984573364, -0.4510315954685211, 0.26292678713798523, 0.5260460376739502, -0.43112173676490784, -0.42227059602737427, -0.6808161735534668, 0.012463593855500221, -0.2470189481973648, -0.8179540634155273, 0.1401224583387375, -0.30986547470092773, 0.11531280726194382, -0.023337362334132195, 0.27820277214050293, -0.2675536274909973, -0.1514492779970169, 0.16245655715465546, 0.30865874886512756, -0.2857838273048401, 0.1972205638885498, -0.1886422038078308, -0.005503229796886444, 0.09313278645277023, 0.08467883616685867, 0.46810394525527954, -0.048942625522613525, -0.5820320844650269, -0.3960431218147278, 0.9444625973701477, 0.6432396769523621, -0.23181703686714172, 0.6885262131690979, 0.6780509352684021, -0.15093804895877838, 0.1837562471628189, -0.21139311790466309, 0.1430540233850479, -0.4491710364818573, 0.5365448594093323, -0.3129533529281616, -0.9024896621704102, 0.4708726406097412, -0.018449563533067703, 0.06074877083301544, 0.21237829327583313, 1.0783226490020752, -0.42484909296035767, 1.3504762649536133, 0.48910951614379883, 0.36546698212623596, -0.030354052782058716, -0.05986466631293297, 0.10158807039260864, -0.719063401222229, -0.471164733171463, -0.04362594336271286, -0.3496776521205902, -0.44970279932022095, -0.7624940872192383, 1.0350587368011475, 0.01132491696625948, 0.3105252981185913, -0.05174083635210991, -0.36534127593040466, 0.17237435281276703, 0.5398997664451599, 0.3485023081302643, 0.09041019529104233, -0.2960967421531677, -0.25635644793510437, -0.20122037827968597, -0.8606682419776917, -0.1019083708524704, 1.2272751331329346, 0.27408215403556824, 0.5780532360076904, 0.2579233646392822, 0.6192598938941956, 0.029080133885145187, 0.4876747131347656, -0.8134267330169678, 0.5559367537498474, -0.1218864843249321, -0.589354395866394, -0.08817637711763382, -0.14539510011672974, -1.0834510326385498, 0.38922131061553955, -0.20258726179599762, -0.47557127475738525, -0.3307363986968994, 0.10422144830226898, -0.29136160016059875, 0.07345395535230637, -0.5690248012542725, 0.8714736700057983, -0.18793831765651703, -0.3676133155822754, 0.02094820886850357, -0.6942094564437866, 0.6218093037605286, -0.12625554203987122, 0.390705406665802, -0.14744557440280914, 0.02824697270989418, 0.8008939027786255, -0.35254257917404175, 0.46669548749923706, -0.08218294382095337, -0.11477823555469513, 0.2969103753566742, -0.40450772643089294, -0.035247232764959335, 0.1960650086402893, 0.3522495627403259, -0.25025543570518494, 0.17426784336566925, -0.5450334548950195, -0.5839983820915222, 0.4656901955604553, -0.5873557329177856, -0.6720194220542908, -0.2496243566274643, -0.8369557857513428, -0.5009844303131104, 0.1732926219701767, 0.4185725748538971, 0.9687374830245972, 0.18719056248664856, 0.326726496219635, 0.8226560354232788, -0.6978393793106079, 0.2649182379245758, 0.3332265615463257, -0.6628677248954773, -0.5980815291404724, 0.7992748618125916, -0.12035927176475525, 0.2945150136947632, 0.3126033842563629, 0.3658103048801422, -0.25792157649993896, -0.653465747833252, -0.8962962627410889, 0.4487481713294983, -0.7688066363334656, -0.32240062952041626, -0.6936373114585876, -0.32311582565307617, -0.28927603363990784, 0.09703525900840759, -0.1840151995420456, -0.2556540369987488, -0.09499698877334595, 0.13017624616622925, 0.22900721430778503, 0.8014782667160034, -0.1633204072713852, -0.18152302503585815, -1.2080283164978027, 0.603003203868866, 0.47099193930625916, 0.19312654435634613, -0.2935832142829895, -0.11186172813177109, -0.26334714889526367, -0.08500172942876816, -0.5172578692436218, -0.9867497682571411, 0.15724729001522064, 0.10723374783992767, 0.5336886048316956, 0.1744953840970993, -0.21351955831050873, 0.6645554304122925, -0.8703359365463257, 0.8344045877456665, 0.49707144498825073, -0.32498979568481445, 0.5314612984657288, -0.4145994782447815, 0.5220405459403992, 0.35723841190338135, 0.6816667914390564, -0.5698495507240295, -0.6327416300773621, -0.1892278790473938, -0.8225088119506836, 0.30149367451667786, -0.05349678918719292, 0.10881208628416061, -0.0945681631565094, -0.08990338444709778, 0.22816888988018036, 0.08145170658826828, -0.8122813105583191, -0.41275060176849365, 0.2244347482919693, -0.2966037392616272, 0.24380946159362793, -0.30655646324157715, -0.5348600149154663, -0.22202111780643463, 0.5304032564163208, -0.28350934386253357, 0.5192378759384155, 0.3002668023109436, 0.09520844370126724, 0.12543059885501862, 0.3604917824268341, 0.7851361036300659, 0.7461532354354858, -0.08369874209165573, -0.05498718097805977, -0.0037189589347690344, -0.43693846464157104, 0.21788696944713593, -0.012424814514815807, -0.04673507809638977, 0.06024278327822685, 0.4849105775356293, 0.6773146986961365, -0.08864640444517136, -0.9938341379165649, 0.8600290417671204, -0.22725455462932587, -0.7667719125747681, -0.2015547901391983, -0.40000179409980774, 0.31532391905784607, 0.18880343437194824, 0.4227360785007477, -0.002909504109993577, 0.37731462717056274, -0.46693316102027893, 0.47355741262435913, 0.4223381280899048, -0.4640931487083435, -0.18910931050777435, 0.8226344585418701, 0.1401212364435196, 0.02010921761393547, 0.09276249259710312, -0.3696439266204834, -0.6301983594894409, 0.5104659795761108, 0.6413090229034424, 0.45406362414360046, -0.04485306888818741, 0.2883472144603729, 0.2737748622894287, -0.15165932476520538, 0.2538220286369324, 0.5467953681945801, 0.30277955532073975, -0.5441874861717224, -0.7227119207382202, -0.18755672872066498, -0.5223233699798584, 0.39406296610832214, -0.6893002390861511, 0.22120390832424164, -0.2140302062034607, -0.024756111204624176, 0.0571122020483017, -0.2885741889476776, -0.4020085632801056, 0.2045375108718872, 0.41544103622436523, 0.5069371461868286, -0.4682346284389496, 0.6415472030639648, 0.8431983590126038, -0.34761521220207214, -0.98761385679245, -0.17631129920482635, 0.0975525826215744, -0.8280759453773499, 0.585685670375824, 0.2697781026363373, -0.1676507145166397, -0.36901435256004333, -0.7196112871170044, -0.6659696698188782, 1.1075005531311035, 0.07726522535085678, -0.004262693226337433, 0.1909104436635971, 0.0018159071914851665, 0.37192538380622864, -0.2164943516254425, -0.0013929401757195592, 0.08619029074907303, 0.059112560003995895, 0.4227927029132843, -1.0803972482681274, -0.07371468096971512, -0.45883622765541077, -0.35818952322006226, -0.011407160200178623, -0.773033618927002, 0.7750059366226196, -0.49316394329071045, -0.15500648319721222, 0.5939732789993286, 0.532954752445221, 0.5180575251579285, 0.3456796407699585, 0.1521616280078888, 0.5565553903579712, 0.6460469961166382, -0.04938172176480293, 1.1959586143493652, -0.17218582332134247, 0.16041922569274902, 0.9199679493904114, -0.1575959026813507, 0.8702508807182312, 0.6259303092956543, -0.24590155482292175, 0.3381880819797516, 0.5718279480934143, 0.01151945162564516, 0.6538437008857727, 0.21797524392604828, -0.46283191442489624, -0.12331085652112961, -0.18176917731761932, -0.4937443137168884, 0.4500763416290283, 0.1775246113538742, -0.0779080018401146, 0.012551900930702686, 0.47383177280426025, 0.08490008860826492, -0.03441230207681656, -0.46849220991134644, 0.7121910452842712, 0.12403834611177444, -0.5990308523178101, 0.6106016039848328, 0.09306205064058304, 0.6240329146385193, -0.4181345999240875, -0.1545768827199936, -0.2801065146923065, 0.20577794313430786, -0.02432115003466606, -0.9182524681091309, 0.23683980107307434, -0.11493512243032455, -0.18437673151493073, -0.17555879056453705, 0.35493823885917664, -0.5700864791870117, -0.7176383137702942, 0.18120168149471283, 0.6705093383789062, 0.18804480135440826, 0.47087621688842773, -0.6717543601989746, -0.14939643442630768, -0.06052899733185768, -0.019750921055674553, 0.2507317066192627, 0.5586121082305908, -0.028992408886551857, 0.8877151608467102, 0.3843289613723755, -0.011795969679951668, 0.3806627690792084, 0.07558537274599075, 0.6590532660484314, -0.3032180070877075, -0.15315788984298706, -0.5437126755714417, 0.3820573091506958, -0.08368177711963654, -0.2012695074081421, 0.6743504405021667, 0.6278059482574463, 0.5853796601295471, -0.39849188923835754, 0.5967293977737427, 0.009530328214168549, 0.8312954306602478, -0.7476183772087097, 0.6014580130577087, -0.952587366104126, -0.08585698157548904, -0.2454908788204193, -0.3121250569820404, -0.7070549726486206, 0.023996084928512573, 0.03547786548733711, -0.2971194386482239, 0.9982866048812866, 0.7348131537437439, 0.1484852284193039, -0.2574484646320343, 0.46210139989852905, -0.09320379048585892, 0.35249951481819153, 1.088067650794983, 0.9662994742393494, -0.4681958556175232, 0.662580132484436, -0.1219668984413147, -0.13103200495243073, -0.11602061986923218, -0.45908239483833313, -0.7576128840446472, -0.6160624623298645, -0.275817334651947, -0.2970229387283325, -0.29303306341171265, 0.828056275844574, 0.6359126567840576, -0.90472811460495, -0.028157353401184082, 0.49227362871170044, -0.028262119740247726, -0.039604976773262024, -0.15855926275253296, 0.33069345355033875, -0.16535036265850067, -0.7530789375305176, 0.2937670052051544, 0.43486201763153076, 0.02524985745549202, -0.0388421006500721, 0.035790104418992996, -0.25578489899635315, -0.11264701932668686, 0.5623577833175659, 0.17050203680992126, -0.6054142117500305, -0.24569480121135712, 0.21335873007774353, -0.2898710370063782, 0.3979220390319824, 0.9254304766654968, -0.4073500335216522, 0.3297905921936035, 0.2573745548725128, 0.9769852161407471, 0.46010643243789673, 0.10320765525102615, 0.6028885841369629, -0.691742479801178, 0.14982715249061584, 0.23697343468666077, 0.502465009689331, 0.40459752082824707, -0.16705648601055145, 0.3113825023174286, 0.20768846571445465, -0.653313159942627, -0.5655944347381592, 0.45385539531707764, -1.1266496181488037, -0.4697643518447876, 1.0501326322555542, -0.24404029548168182, -0.19762566685676575, -0.19669461250305176, -0.5499938130378723, 0.040835872292518616, 0.18389002978801727, 0.4409944713115692, 0.7811823487281799, -0.603598952293396, -0.560575544834137, -0.706494927406311, 0.30527564883232117, 0.48505541682243347, -1.0949286222457886, -0.5296472311019897, 0.47648173570632935, 0.2994421720504761, 0.2293052226305008, 1.0323095321655273, -0.5430713295936584, 0.6557765603065491, -0.19730046391487122, -0.07838952541351318, -0.0905219092965126, -0.24581731855869293, -0.20757177472114563, 0.3976534605026245, 0.27645161747932434, -0.6062527894973755 ]
http://arxiv.org/abs/2404.14544v1
http://arxiv.org/pdf/2404.14544v1
WangLab at MEDIQA-CORR 2024: Optimized LLM-based Programs for Medical Error Detection and Correction
2024-04-22T19:31:45
2024-04-22T19:31:45
Augustin Toma, Ronald Xie, Steven Palayew, Patrick R. Lawler, Bo Wang
cs.CL
cs.CL
Medical errors in clinical text pose significant risks to patient safety. The MEDIQA-CORR 2024 shared task focuses on detecting and correcting these errors across three subtasks: identifying the presence of an error, extracting the erroneous sentence, and generating a corrected sentence. In this paper, we present our approach that achieved top performance in all three subtasks. For the MS dataset, which contains subtle errors, we developed a retrieval-based system leveraging external medical question-answering datasets. For the UW dataset, reflecting more realistic clinical notes, we created a pipeline of modules to detect, localize, and correct errors. Both approaches utilized the DSPy framework for optimizing prompts and few-shot examples in large language model (LLM) based programs. Our results demonstrate the effectiveness of LLM based programs for medical error correction. However, our approach has limitations in addressing the full diversity of potential errors in medical documentation. We discuss the implications of our work and highlight future research directions to advance the robustness and applicability of medical error detection and correction systems.
[ 0.301074743270874, -0.5962013006210327, 0.7162020802497864, 0.2307559996843338, 0.0928269550204277, 0.16934509575366974, 0.132185161113739, -0.2853691577911377, 0.18036383390426636, 0.26151034235954285, -0.5961703658103943, -0.48975828289985657, -0.49755898118019104, 0.4036003649234772, -0.011188698001205921, 0.9335595369338989, -0.28644028306007385, 0.3401336967945099, -0.3970070481300354, -0.3764912188053131, -0.6998031139373779, -0.5624055862426758, -0.6142289042472839, -0.41029754281044006, 0.8434737920761108, 0.7923282980918884, 0.42979806661605835, 0.5354223847389221, 0.9885503053665161, 0.17836597561836243, 0.2840941846370697, 0.5610820651054382, -0.2772558927536011, 0.0904821828007698, 0.0575668103992939, -0.5449984073638916, -0.7868639826774597, -0.2972424328327179, 0.3222087323665619, 0.5505399703979492, -0.27781742811203003, -0.15858204662799835, -0.20156146585941315, 0.7468439340591431, -0.4107433259487152, 0.026556238532066345, -0.22943808138370514, 0.2950212061405182, -0.34415435791015625, -0.7036678791046143, -0.42480921745300293, -0.3350757956504822, -0.1731942594051361, -0.4989997446537018, 0.11325470358133316, 0.27543219923973083, 0.7275579571723938, 0.6299577355384827, -0.23691731691360474, -0.47112414240837097, -0.3406084477901459, 0.8674882054328918, -0.813956081867218, 0.10088728368282318, 0.45336493849754333, 0.20136825740337372, -0.5158304572105408, -0.6390325427055359, -0.2015598565340042, 0.2622946798801422, -0.15761083364486694, 0.3563011586666107, -0.18091948330402374, 0.3536375164985657, 0.26569613814353943, 0.3187752664089203, -0.6096866130828857, 0.237260639667511, -0.32310932874679565, -0.38616591691970825, 0.5423036813735962, 0.5417010188102722, 0.5050352811813354, 0.022861670702695847, -0.03644240275025368, 0.08851661533117294, -0.6737038493156433, -0.2755085527896881, -0.14210622012615204, 0.04585583880543709, -0.24024201929569244, 0.6656176447868347, -0.084958516061306, 0.4694991409778595, -0.0928422138094902, -0.3565444350242615, 0.31520015001296997, -0.43755531311035156, -0.24659651517868042, 0.02038932591676712, 0.642654299736023, 0.41266438364982605, -0.2034374177455902, -0.08591503649950027, -0.200089231133461, -0.22637410461902618, 0.1259647011756897, -0.3457251191139221, -0.39680615067481995, 0.6235154867172241, -0.4677681028842926, -0.2881140410900116, -0.293720543384552, -0.53377765417099, -0.6827486753463745, -0.19131755828857422, 0.38180384039878845, -0.3016548454761505, 0.3103214502334595, 0.3059477210044861, 0.13334515690803528, -0.10831049829721451, 0.5165929198265076, -0.5943633913993835, 0.2553199529647827, 0.5858517289161682, 0.7013587355613708, -0.29670366644859314, -0.09970788657665253, -0.657126784324646, 0.17089173197746277, -0.4579702615737915, 0.7991085648536682, 0.04262275993824005, -0.1427372694015503, -0.1794048696756363, -0.025179706513881683, -0.29236406087875366, -0.7223309278488159, 0.7463662624359131, -0.24346260726451874, 0.27732881903648376, -0.33413541316986084, -0.5316686630249023, 0.041009027510881424, 0.2608267664909363, -0.5748867988586426, 0.7604685425758362, 0.15424968302249908, -0.9675693511962891, 0.08221040666103363, -0.8437550663948059, -0.3068214952945709, 0.01939600333571434, -0.36524730920791626, -0.8970088362693787, -0.09217772632837296, 0.3627110421657562, 0.4236440658569336, -0.23038539290428162, 0.47935712337493896, 0.1918610781431198, -0.5750011801719666, 0.24947792291641235, -0.2169537991285324, 0.7494811415672302, 0.13367624580860138, -0.2567184269428253, 0.37018346786499023, -1.0549513101577759, 0.04613164812326431, 0.09944654256105423, -0.7974367737770081, -0.25564366579055786, -0.19289761781692505, -0.14786909520626068, -0.10223781317472458, 0.1448858231306076, -0.5631821155548096, 0.13772037625312805, -0.0921274945139885, 0.11252560466527939, 0.5107670426368713, 0.11208349466323853, 0.15617790818214417, -0.44241490960121155, 0.7423069477081299, 0.12431836873292923, 0.28354761004447937, -0.2854158878326416, -0.5380322933197021, -0.6836493015289307, -0.37056005001068115, 0.12412646412849426, 0.9351356625556946, -0.7765863537788391, 0.20424824953079224, 0.16421164572238922, -0.22547832131385803, -0.5556538701057434, -0.09033042192459106, 0.3739852011203766, 0.8954855799674988, 0.6784461736679077, 0.17641763389110565, -1.0140057802200317, -0.6845223307609558, -0.24971739947795868, -0.16783729195594788, 0.13150162994861603, 0.15991511940956116, 0.319043904542923, -0.5962206125259399, 0.5658854246139526, -0.6259437799453735, -0.3917083740234375, -0.2989335358142853, 0.0967930480837822, 0.4653604328632355, 0.5529108643531799, 0.2121317982673645, -0.5347270965576172, -0.4208613336086273, -0.008786256425082684, -0.7683877944946289, -0.587357223033905, -0.2272987812757492, -0.02189938724040985, 0.26667147874832153, 0.5343199372291565, -0.26999345421791077, 0.32126885652542114, 0.569979190826416, -0.16183222830295563, 0.3861270546913147, -0.6551313400268555, 0.3482694625854492, -0.9848251938819885, 0.08393963426351547, -0.5099183917045593, -0.08118217438459396, -0.6761599779129028, -0.14874716103076935, 0.33645036816596985, 0.22424468398094177, -0.09687909483909607, 0.19584009051322937, -0.38853004574775696, 0.21437422931194305, -0.17445586621761322, -0.3034301996231079, 0.14397944509983063, 0.3293931186199188, -0.36578771471977234, 0.6092094779014587, 0.24625380337238312, -0.34968143701553345, 0.4638754427433014, 0.27371975779533386, 0.06184704601764679, 0.7367224097251892, -0.4996225833892822, 0.2811790704727173, -0.2217087596654892, 0.09375695884227753, -0.8632981181144714, -0.45687922835350037, 0.3817911148071289, -0.30181050300598145, 0.39746400713920593, 0.005240877158939838, -0.4525463283061981, -0.4804140627384186, -0.3253614008426666, 0.2369433343410492, 0.035996098071336746, -0.28062325716018677, 0.39331379532814026, 0.35122567415237427, -0.2847822904586792, -0.9453291893005371, -0.794144332408905, 0.2521401047706604, 0.06670253723859787, -0.5734535455703735, 0.06799566000699997, 0.01781940460205078, -0.2426653355360031, -0.19632825255393982, 0.08260872215032578, -0.04835377633571625, 0.07708791643381119, 0.2067779302597046, 0.4537447392940521, -0.11401975899934769, 0.21142253279685974, 0.08552123606204987, -0.26472288370132446, -0.16625206172466278, 0.007538131438195705, 0.2746613323688507, -0.03515426069498062, -0.47943273186683655, -0.5492914915084839, 0.3288330137729645, 0.4471093416213989, -0.0647992193698883, 0.599041223526001, 0.41985252499580383, -0.48479971289634705, 0.13851885497570038, -0.5065920352935791, -0.05774715170264244, -0.4043252468109131, 0.572149932384491, 0.04676543176174164, -0.6355825066566467, 0.46460872888565063, 0.22716738283634186, 0.05512923002243042, 0.18789958953857422, 0.28529709577560425, -0.4054526090621948, 0.9445733428001404, 0.557479739189148, 0.06601686775684357, -0.11069080978631973, -0.03824382275342941, 0.23450368642807007, -0.752390444278717, -0.39999064803123474, -0.5729174613952637, -0.1037653386592865, -0.3353489935398102, -0.7815243601799011, 0.7129848599433899, -0.29251593351364136, -0.019544707611203194, 0.08512097597122192, -0.20531371235847473, 0.25592461228370667, 0.540384829044342, 0.2576819062232971, 0.49249523878097534, -0.11535019427537918, -0.320659875869751, -0.2801618278026581, -0.8374361991882324, -0.34277060627937317, 0.9111022353172302, 0.49608972668647766, 0.9785162210464478, -0.17036172747612, 0.8716779351234436, 0.23460260033607483, 0.2489762008190155, -0.6242005825042725, 0.40367740392684937, -0.2503199875354767, -0.2676086127758026, -0.24693062901496887, -0.3719019889831543, -0.6519741415977478, -0.012176889926195145, -0.16010473668575287, -0.14056096971035004, -0.011252976953983307, 0.2341052144765854, -0.419878214597702, 0.3151818811893463, -0.5121080875396729, 0.9713819622993469, -0.2635822892189026, -0.20461302995681763, 0.007149591576308012, -0.8219656944274902, 0.10856405645608902, -0.10542149096727371, 0.3063150942325592, -0.007352086715400219, -0.20233139395713806, 0.4781522750854492, -0.39050623774528503, 0.6577205061912537, -0.20753337442874908, -0.233280211687088, 0.0144896125420928, -0.17609736323356628, 0.6767452955245972, -0.37658363580703735, -0.08295155316591263, -0.03239740803837776, 0.21661782264709473, -0.3361791968345642, -0.26133331656455994, 0.22724606096744537, -0.38121262192726135, -0.2695881128311157, -0.448352187871933, -1.017484188079834, -0.2268623560667038, 0.17590555548667908, 0.22120800614356995, 0.6341252326965332, -0.006037912331521511, 0.010262935422360897, 0.6038652658462524, -0.7466182112693787, 0.03574974462389946, 0.6705436706542969, -0.16166017949581146, -0.304220050573349, 0.7615076899528503, 0.06676188111305237, 0.007546994369477034, 0.5665634274482727, 0.3497619926929474, -0.07753416895866394, -1.0136849880218506, -0.3977035582065582, 0.4180285334587097, -0.7994171977043152, -0.35350653529167175, -0.8646948933601379, -0.031751714646816254, -0.35253915190696716, 0.05218396335840225, -0.12912100553512573, -0.3232068121433258, -0.3371001183986664, -0.05375446379184723, 0.235420823097229, 0.7265949845314026, -0.4106094241142273, 0.15812109410762787, -1.0723776817321777, 0.32420629262924194, -0.2144167572259903, 0.21389946341514587, -0.36206942796707153, -0.42732515931129456, -0.4453997313976288, -0.22674232721328735, -0.09828413277864456, -0.5260298252105713, 0.28201115131378174, 0.09403645247220993, 0.496026873588562, 0.09382439404726028, 0.12183871120214462, 0.7550336718559265, -0.632982075214386, 0.3753717541694641, 0.1115429624915123, -0.5061613917350769, 0.825233519077301, -0.44424787163734436, 0.27588558197021484, 0.5593468546867371, 0.19624324142932892, -0.8781262636184692, -0.5455007553100586, -0.27672210335731506, -0.6158680319786072, 0.6748812198638916, -0.11122453957796097, -0.2753394544124603, -0.013256031088531017, 0.38232696056365967, -0.010998401790857315, -0.042450323700904846, -0.3691893219947815, -0.28507617115974426, 0.49778854846954346, -0.9027028679847717, 0.23882846534252167, -0.26313546299934387, -0.3150668144226074, -0.007917828857898712, 0.6811995506286621, -0.48660653829574585, 0.13826683163642883, 0.5400809645652771, 0.034323323518037796, -0.444033682346344, 0.4200620651245117, 0.7948138117790222, 0.7950116991996765, -0.28803858160972595, 0.054044369608163834, 0.13119184970855713, -0.8070729374885559, -0.03553063049912453, 0.012768369168043137, -0.20102302730083466, 0.009912320412695408, 0.3150252401828766, 0.22326484322547913, -0.016542211174964905, -1.0098885297775269, 0.5994346737861633, -0.25250232219696045, 0.25174084305763245, -0.1913517862558365, -0.19511796534061432, 0.09395047277212143, 0.20892412960529327, 0.3815862536430359, 0.35078758001327515, 0.3335837125778198, -0.32995691895484924, 0.391752153635025, 0.15524320304393768, -0.302213191986084, -0.1788901537656784, 0.6549412608146667, 0.048172272741794586, -0.06468109786510468, 0.21703100204467773, 0.058980055153369904, -0.4667993187904358, 0.7031932473182678, 0.4688568115234375, 0.4114861786365509, -0.15792272984981537, 0.14953461289405823, 0.3120036721229553, 0.11270567774772644, -0.18005648255348206, 0.6020616888999939, 0.4666721224784851, -0.6013370156288147, -0.5530848503112793, 0.010430678725242615, -0.7629697322845459, 0.06968526542186737, -0.47972536087036133, 0.40311723947525024, -0.44819769263267517, 0.042502839118242264, -0.3534362018108368, -0.1467461735010147, -0.07637127488851547, 0.254433810710907, -0.1187443733215332, 0.5776189565658569, -0.3755437731742859, 0.6428433656692505, 0.7277185916900635, -0.13471932709217072, -0.9831138849258423, -0.21525229513645172, 0.3192988336086273, -0.8597551584243774, 0.60860276222229, 0.043212469667196274, -0.04268180951476097, -0.2916485071182251, -0.5069116353988647, -0.5575196743011475, 1.1093772649765015, 0.05833212286233902, -0.714787483215332, -0.13026361167430878, 0.23789475858211517, 0.6735525727272034, -0.02221507579088211, 0.07360494881868362, 0.5160219073295593, 0.009379791095852852, 0.051691412925720215, -1.0683923959732056, 0.16091187298297882, 0.12303531914949417, -0.5352913737297058, 0.1706589162349701, -0.37910154461860657, 0.7427306771278381, -0.7307253479957581, 0.0706881508231163, 0.3887849450111389, 0.3371361196041107, 0.3497992753982544, 0.7244826555252075, 0.01700364612042904, 0.5633237361907959, 1.2528903484344482, -0.11732923984527588, 0.9181452393531799, 0.1332571804523468, 0.18011492490768433, 1.1297444105148315, -0.25121885538101196, 0.5761445164680481, 0.6427391171455383, -0.4002060294151306, 0.3032589554786682, 0.436334490776062, 0.11063423752784729, 0.3674633502960205, 0.14982007443904877, -0.26693105697631836, 0.24107511341571808, -0.11208224296569824, -0.15616726875305176, 0.12716063857078552, 0.4338570833206177, -0.2833128571510315, 0.025169504806399345, 0.13093958795070648, 0.11185269057750702, 0.01898304373025894, -0.2070569545030594, 0.47667384147644043, 0.015610902570188046, -0.6152235865592957, 0.31494542956352234, -0.017179373651742935, 0.8374436497688293, -0.40711483359336853, -0.2513329088687897, -0.5159426927566528, 0.623496949672699, -0.5062004923820496, -0.4803377687931061, 0.40509864687919617, 0.011391445063054562, -0.04719024896621704, 0.04372069984674454, 0.9075098037719727, -0.48253586888313293, -0.20840783417224884, -0.004150540102273226, 0.2707809507846832, 0.2275257259607315, 0.24013663828372955, -0.7348371744155884, 0.09970024973154068, 0.15362603962421417, 0.4541080892086029, -0.028771623969078064, 0.3766005337238312, 0.08867388963699341, 0.6636667251586914, 0.37067079544067383, 0.23326830565929413, 0.13142907619476318, 0.30936798453330994, 0.4657553732395172, -0.5351952910423279, -0.3451721668243408, -0.5678632855415344, 0.43924596905708313, -0.04970875009894371, 0.07098852097988129, 0.5111355781555176, 0.5438578724861145, 0.4849047064781189, -0.09300481528043747, 0.7380324006080627, -0.006652418058365583, 1.0961103439331055, -0.565880537033081, 0.5334470868110657, -0.5018263459205627, 0.5717397332191467, -0.2611137628555298, -0.33493420481681824, -0.6835613250732422, 0.43443563580513, -0.05777781829237938, -0.33693403005599976, 0.8530842661857605, 0.9820977449417114, 0.3699670433998108, -0.09206049144268036, 0.47053077816963196, 0.27162328362464905, 0.4992647171020508, 0.6391003727912903, 0.8733949661254883, -0.8963608145713806, 0.5264254212379456, -0.199997216463089, -0.1482241451740265, -0.3678516149520874, -0.6935244202613831, -0.6781442165374756, -0.1899355947971344, -0.6026798486709595, -0.5479220151901245, 0.17839865386486053, 0.9636650681495667, 0.2691253423690796, -1.0539995431900024, 0.11506980657577515, -0.015234083868563175, 0.17982758581638336, -0.08065222203731537, -0.1817430555820465, 0.5655555725097656, -0.34168174862861633, -0.5741193890571594, 0.5509521961212158, 0.6817971467971802, 0.13838957250118256, 0.11850637942552567, -0.19515067338943481, -0.27556028962135315, -0.13021531701087952, 0.2959408164024353, 0.23345918953418732, -0.2981884181499481, -0.20998945832252502, 0.3688541650772095, -0.5547966361045837, 0.3497273623943329, 0.939265251159668, -0.21525022387504578, 0.43598029017448425, 0.6604142785072327, 0.8304970264434814, -0.10851005464792252, -0.0830620750784874, 0.585334300994873, -0.5572643280029297, -0.25764748454093933, 0.29951906204223633, 0.37410441040992737, 0.6612827181816101, -0.5830472111701965, 0.7764066457748413, 0.4669240713119507, -0.7748823165893555, -0.7309199571609497, -0.21643224358558655, -0.8517243266105652, -0.07888788729906082, 0.8447818756103516, -0.3824943006038666, -0.03533118963241577, -0.8067998290061951, -0.6738635897636414, 0.23284149169921875, 0.04174070805311203, 0.6380658745765686, 0.5022948980331421, -0.7334740161895752, -0.12532654404640198, -0.6263028979301453, 0.5095332264900208, 0.6298217177391052, -1.030951976776123, -0.0800744891166687, 0.45843449234962463, 0.40090009570121765, 0.19815294444561005, 1.048352837562561, -0.38519683480262756, 0.6706178188323975, -0.13905160129070282, -0.10470785200595856, -0.03673113137483597, -0.19465890526771545, -0.46851685643196106, -0.2706109285354614, -0.03208038583397865, -0.34960469603538513 ]
http://arxiv.org/abs/2404.14408v2
http://arxiv.org/pdf/2404.14408v2
SpaceByte: Towards Deleting Tokenization from Large Language Modeling
2024-04-22T17:59:29
2024-05-23T16:41:41
Kevin Slagle
cs.CL
cs.CL, cs.AI, cs.LG
Tokenization is widely used in large language models because it significantly improves performance. However, tokenization imposes several disadvantages, such as performance biases, increased adversarial vulnerability, decreased character-level modeling performance, and increased modeling complexity. To address these disadvantages without sacrificing performance, we propose SpaceByte, a novel byte-level decoder architecture that closes the performance gap between byte-level and subword autoregressive language modeling. SpaceByte consists of a byte-level Transformer model, but with extra larger transformer blocks inserted in the middle of the layers. We find that performance is significantly improved by applying these larger blocks only after certain bytes, such as space characters, which typically denote word boundaries. Our experiments show that for a fixed training and inference compute budget, SpaceByte outperforms other byte-level architectures and roughly matches the performance of tokenized Transformer architectures.
[ -0.18144096434116364, -0.6977377533912659, 0.14146164059638977, 0.28140097856521606, -0.30531367659568787, 0.2245788276195526, -0.06827237457036972, -0.39562299847602844, 0.36231258511543274, 0.245515838265419, -0.24785421788692474, -0.3453044295310974, -0.6612726449966431, -0.4659210443496704, -0.5393822193145752, 0.6781438589096069, 0.0983838438987732, -0.031597573310136795, -0.05577344819903374, 0.1640162467956543, -0.7242571711540222, -0.4643937945365906, -0.6795741319656372, -0.14168208837509155, 0.38747045397758484, 0.10923454910516739, 1.046506404876709, 0.9025905728340149, 0.502718448638916, 0.2787255048751831, -0.3774482309818268, -0.1533811390399933, -0.25185999274253845, -0.0018225036328658462, -0.03687329962849617, -0.47574037313461304, -0.46293625235557556, -0.129951611161232, 0.7428713440895081, 0.8987694978713989, -0.2969917953014374, -0.11870601028203964, -0.1837417185306549, 0.7119200825691223, -0.7280247807502747, 0.054053910076618195, -0.6304237842559814, 0.22661437094211578, -0.006164911203086376, 0.24261382222175598, -0.40088891983032227, -0.1442635953426361, -0.4389517307281494, -0.5684192180633545, 0.4653762876987457, 0.1752195805311203, 0.7084438800811768, 0.3702233135700226, -0.062319058924913406, -0.09359511733055115, -0.8396210670471191, 0.46196478605270386, -0.5383838415145874, 0.5718234777450562, 0.28015226125717163, 0.1946459263563156, -0.09556876868009567, -0.49294427037239075, -0.6636880040168762, 0.0631750226020813, -0.07521019130945206, -0.02592703141272068, -0.5107255578041077, 0.11106958985328674, 0.10918738692998886, 0.41668301820755005, -0.6063892245292664, -0.054558273404836655, -0.5117425322532654, -0.2624553442001343, 0.20761261880397797, 0.17647454142570496, 0.4045834243297577, -0.3069124221801758, -0.29720059037208557, 0.002051763469353318, -0.7559977173805237, -0.061316393315792084, 0.2773369550704956, 0.15466392040252686, 0.2710699737071991, 0.5481927990913391, 0.05719515681266785, 0.013283875770866871, 0.1935737282037735, 0.6786091923713684, 0.07348915934562683, 0.05068950355052948, -0.1454325169324875, -0.007576321717351675, 0.6471006274223328, 0.1130409985780716, -0.010851007886230946, -0.5857546925544739, -0.33580681681632996, 0.2636072039604187, 0.5341026782989502, -1.081863522529602, -0.5163651704788208, 0.32548338174819946, -0.6350938677787781, 0.003375450847670436, -0.08256074041128159, -0.4322097599506378, -0.48886996507644653, 0.1640208214521408, 0.313215970993042, -0.8280213475227356, -0.45454123616218567, 0.40474700927734375, -0.3211255669593811, 0.24533484876155853, 0.1909472942352295, -1.0024919509887695, 0.3879304528236389, 0.8786386847496033, 0.866073489189148, -0.0889655128121376, -0.039353977888822556, -0.31604304909706116, -0.07331276684999466, -0.7281410098075867, 0.37576761841773987, -0.7963788509368896, -0.7033055424690247, -0.2846255898475647, -0.05525246262550354, 0.019149204716086388, -0.7821170091629028, 0.04424877464771271, -0.9629417061805725, -0.052535150200128555, -0.08418535441160202, -0.7067537307739258, 0.23415693640708923, -0.029008716344833374, -0.8490893840789795, 0.9934689998626709, 0.08168258517980576, -0.41976892948150635, 0.6569509506225586, -0.8278462886810303, -0.6377665400505066, 0.548653781414032, -0.05450461432337761, -0.2444719672203064, 0.4022168517112732, 0.21408654749393463, 0.3986937999725342, 0.03721144422888756, 0.3542204797267914, 0.07554525882005692, -0.6643926501274109, -0.04353751614689827, -0.28870779275894165, 0.48966097831726074, 0.4545598328113556, -0.4947386384010315, -0.10097698867321014, -0.8924956917762756, -0.13198690116405487, 0.22309601306915283, -0.5361204743385315, -0.5915669798851013, -0.029642323032021523, 0.2075842022895813, 0.07355362921953201, 0.24926422536373138, -1.007982611656189, 0.2746634781360626, -0.580215573310852, 0.7130512595176697, 0.4741407334804535, -0.4946301281452179, 0.940822958946228, 0.17165979743003845, 0.6610395908355713, 0.27670034766197205, 0.20285089313983917, -0.3206122815608978, -0.14918865263462067, -0.7535285949707031, -0.5100606083869934, 0.3357119858264923, 0.1734939068555832, -0.6535847783088684, 0.6286293864250183, -0.513506293296814, -0.3807636797428131, -0.551303505897522, -0.11533531546592712, 0.31745103001594543, 0.0375838503241539, 0.5204042196273804, -0.1283152848482132, -0.4803883135318756, -0.865196168422699, -0.37859463691711426, -0.16036272048950195, -0.035510241985321045, 0.20178256928920746, 0.47313693165779114, -0.19755476713180542, 0.9222338199615479, -0.4042861759662628, -0.024366652593016624, -0.20343689620494843, -0.2730599045753479, 0.027358651161193848, 0.850436806678772, 0.29763278365135193, -0.7123624086380005, -0.13454052805900574, -0.0741850808262825, -0.3164653778076172, 0.20010751485824585, 0.02723104879260063, -0.04917838051915169, 0.18035641312599182, 0.8010581731796265, -1.0332111120224, 0.6353083848953247, 0.41800767183303833, -0.5846774578094482, 0.2323831170797348, -0.16785834729671478, 0.03662846237421036, -0.9891344308853149, 0.3293338716030121, -0.3780539035797119, -0.2465589940547943, -0.37558281421661377, 0.14294962584972382, 0.396208256483078, -0.39014732837677, -0.09768788516521454, 0.6674723029136658, -0.430536687374115, 0.04274298623204231, -0.47691333293914795, 0.03316126763820648, 0.22890420258045197, 0.15564370155334473, 0.029543457552790642, 0.9124404788017273, 0.07621961086988449, -0.2853393852710724, -0.007504188921302557, 0.2802737057209015, -0.3497365415096283, -0.00789600145071745, -0.7686602473258972, 0.0527561753988266, -0.191319540143013, 0.3919553756713867, -1.377479910850525, 0.14697512984275818, -0.0017385258106514812, -0.574950635433197, 0.3963739573955536, -0.24932695925235748, -0.4274686276912689, -0.33999010920524597, -0.022341037169098854, 0.7010810375213623, 0.6072874665260315, -0.6290115118026733, 0.6622881889343262, 0.5073989033699036, 0.01638832502067089, -0.7562928795814514, -0.9479299187660217, 0.34956589341163635, -0.020654113963246346, -0.45957058668136597, 0.4561086595058441, 0.09636910259723663, 0.19022071361541748, 0.32260847091674805, -0.25666260719299316, 0.012515954673290253, 0.10757620632648468, 0.5078564286231995, 0.2263646274805069, -0.28503552079200745, 0.27900782227516174, 0.055376920849084854, -0.26254525780677795, 0.11970501393079758, -0.6296592354774475, 0.8404380083084106, -0.16929438710212708, -0.22907181084156036, -0.08110181242227554, 0.4131181538105011, 0.4816848933696747, -0.28312626481056213, 1.0472666025161743, 0.6339021921157837, -0.4501737654209137, -0.43185847997665405, -0.5276039838790894, -0.0022344861645251513, -0.4974122643470764, 0.6652918457984924, -0.5672455430030823, -1.1581326723098755, 0.6087093949317932, -0.07878875732421875, 0.07882776856422424, 0.3007320165634155, 0.2122240960597992, 0.009798046201467514, 0.8649917840957642, 0.7601487040519714, -0.3664618134498596, 0.632473349571228, -0.4117465317249298, 0.6264729499816895, -0.7863940000534058, -0.3744129538536072, -0.5812095403671265, -0.26346319913864136, -0.4706437885761261, -0.6647945046424866, 0.06881748884916306, 0.12353581190109253, -0.09094922989606857, 0.6708514094352722, -0.49940407276153564, 0.739654004573822, 0.19937478005886078, -0.13320033252239227, -0.1993115246295929, 0.024037795141339302, -0.1918007731437683, 0.023281153291463852, -0.9811519384384155, -0.42009592056274414, 0.6806148886680603, 0.4659200608730316, 0.7944954633712769, 0.06425084173679352, 0.6574530005455017, 0.28701531887054443, -0.06786530464887619, -0.852666437625885, 0.5879936814308167, -0.45269840955734253, -0.7146302461624146, -0.31949251890182495, -0.576608419418335, -1.129472255706787, 0.4861759841442108, -0.01919906958937645, -0.6972439289093018, 0.1447640061378479, 0.30788877606391907, -0.333194375038147, 0.5038135051727295, -0.7092604041099548, 0.7525959610939026, 0.41620543599128723, -0.17803698778152466, -0.4901078939437866, -0.4369872510433197, 0.009520298801362514, 0.2532714009284973, 0.2899438142776489, 0.16051940619945526, -0.13611923158168793, 0.7190936803817749, -0.6107409596443176, 0.7364501953125, -0.4734985828399658, -0.11259514093399048, 0.17736585438251495, 0.6362130045890808, 0.505023181438446, -0.10236110538244247, 0.06669367104768753, 0.44247519969940186, 0.05294998735189438, -0.5232099890708923, -0.5178475975990295, 0.6529906392097473, -0.7740510702133179, -0.40864625573158264, 0.10214906930923462, -0.5532752871513367, -0.19408270716667175, 0.20534567534923553, 0.03809668496251106, 0.5385628938674927, -0.36966538429260254, 0.3025873005390167, 0.5851638317108154, -0.5429142713546753, 0.6625111699104309, 0.06828992813825607, -0.20113424956798553, -0.41827592253685, 0.7393897771835327, -0.08894845843315125, -0.06760859489440918, 0.7284286618232727, 0.15871000289916992, -0.35342302918434143, -0.5075474381446838, -0.318264901638031, 0.04327894374728203, -0.7316926121711731, -0.049141693860292435, -0.8871400952339172, -0.33768194913864136, -0.4074017405509949, -0.2283150553703308, -0.8254454135894775, -0.7137027978897095, -0.0034157647751271725, -0.08918502181768417, -0.12220551073551178, 0.5131675004959106, 0.04919974133372307, 0.6785707473754883, -0.7537406086921692, 0.25377970933914185, -0.21991033852100372, 0.5090307593345642, 0.28385791182518005, -0.6147091388702393, -0.5986591577529907, -0.415761262178421, 0.07642030715942383, -0.12743699550628662, 0.28263095021247864, -0.1088450700044632, 0.17827145755290985, 0.202367901802063, -0.3729265332221985, 0.9412654638290405, -0.7838008999824524, 0.8987954258918762, 0.2853395342826843, -1.299536943435669, 0.2762443423271179, -0.1365150362253189, 0.6550472378730774, 0.19584119319915771, 0.09038268029689789, -0.8730566501617432, -0.3848620057106018, -0.6198463439941406, -1.22451913356781, 0.6551883220672607, 0.07841953635215759, 0.5254198908805847, -0.2985149621963501, 0.5862723588943481, 0.08112562447786331, 0.30703210830688477, -0.48220106959342957, -0.11798660457134247, -0.2641816735267639, -0.2791414260864258, 0.1851464807987213, -0.39042559266090393, 0.365115225315094, -0.040199100971221924, 0.6178779006004333, 0.1126103401184082, 0.3312492072582245, -0.011369781568646431, -0.420841246843338, -0.21924425661563873, 0.27522337436676025, 0.11701267212629318, 0.40187615156173706, 0.16442272067070007, 0.2992563247680664, -0.04176370054483414, -0.8220021724700928, 0.14704173803329468, -0.13248474895954132, -0.10744503885507584, -0.14015117287635803, 0.5229858160018921, 0.6615750789642334, 0.18954095244407654, -0.4125642776489258, 0.6844499111175537, -0.20715339481830597, -0.16689777374267578, -0.052892062813043594, 0.23325960338115692, 0.18398134410381317, 0.2333707958459854, 0.3207595646381378, 0.2619136571884155, 0.14123767614364624, -0.06742218136787415, 0.20456933975219727, 0.45543307065963745, -0.2787003517150879, -0.3344511389732361, 0.8753785490989685, 0.13262128829956055, -0.2164822220802307, 0.643081784248352, 0.1518329232931137, -0.2693828344345093, 0.643002986907959, 0.581399142742157, 0.821967601776123, -0.246622696518898, 0.07675620913505554, 0.3498057425022125, 0.5967656970024109, 0.1760036200284958, 0.13172057271003723, -0.14819766581058502, -0.8053348660469055, -0.4763861894607544, -0.8291762471199036, 0.23591472208499908, 0.33828678727149963, -0.42182302474975586, -0.2850099503993988, -0.9064629673957825, -0.28201398253440857, 0.18357563018798828, -0.03535342589020729, -0.5304369926452637, 0.26677069067955017, 0.34050682187080383, 1.1793928146362305, -0.4908019006252289, 0.7105376124382019, 0.5974173545837402, -0.09214088320732117, -0.7890558838844299, -0.16307777166366577, -0.3458348512649536, -0.6263155937194824, 0.8556054830551147, 0.2201743870973587, -0.4826473891735077, -0.16500604152679443, -0.5140010714530945, -0.7994571924209595, 0.6117590665817261, 0.2975931167602539, -0.8145628571510315, 0.004712468944489956, 0.21676760911941528, 0.3377830684185028, -0.08908331394195557, 0.20784151554107666, 0.3605498671531677, 0.2601855993270874, -0.0718863233923912, -0.6245363354682922, 0.3018798232078552, -0.4252931773662567, 0.6111684441566467, 0.585607647895813, -0.7300775051116943, 0.9063897132873535, -0.061493970453739166, -0.469684362411499, 0.15856076776981354, 0.7759817242622375, -0.25069189071655273, -0.3464045822620392, 0.6741951704025269, 0.4426548182964325, 0.5960246920585632, -0.037395279854536057, 0.6959911584854126, -0.47232183814048767, 0.1656605750322342, 0.8668878078460693, -0.23835475742816925, 0.7318516969680786, 0.49732813239097595, -0.1331317126750946, 0.39047908782958984, 0.22458690404891968, 0.100972481071949, 0.43400847911834717, 0.27768510580062866, -0.10798991471529007, -0.3799458146095276, 0.35717031359672546, 0.03426923602819443, 0.5045116543769836, 0.3414698839187622, -0.19867657124996185, -0.19446799159049988, 0.042093683034181595, 0.16112323105335236, 0.05756421759724617, -0.11667469888925552, 0.6936800479888916, -0.14465641975402832, -0.45315852761268616, 0.46789005398750305, 0.24793468415737152, 0.584769070148468, -0.585210919380188, -0.022139737382531166, -0.38850873708724976, 0.5001229047775269, -0.16149024665355682, -0.40650197863578796, 0.40249350666999817, -0.05116160959005356, -0.3481595814228058, -0.1308394819498062, 0.6669391393661499, -0.46836137771606445, -0.22137857973575592, 0.41659533977508545, 0.23989605903625488, 0.10293762385845184, -0.2097996175289154, -0.6789936423301697, 0.14464379847049713, -0.439848393201828, -0.38173192739486694, 0.2689598500728607, 0.5915509462356567, -0.057092294096946716, 0.6904117465019226, 0.7277767658233643, 0.23484376072883606, 0.1660536229610443, 0.19570450484752655, 0.878217339515686, -1.020716905593872, -0.8553812503814697, -0.9366522431373596, 0.3067309558391571, 0.0871296226978302, -0.07071246951818466, 0.5984047651290894, 0.9401295185089111, 0.626841127872467, -0.01886785961687565, 0.7578710317611694, -0.306301474571228, 0.08065908402204514, -0.5037044286727905, 0.8722991347312927, -0.48361411690711975, 0.31150907278060913, -0.09805324673652649, -0.6960137486457825, -0.3631511330604553, 0.5658257007598877, -0.20493224263191223, 0.33113113045692444, 0.6571255922317505, 0.9761686325073242, -0.17175069451332092, 0.06673407554626465, 0.7104524374008179, 0.2090705782175064, 0.6205313801765442, 0.4070124924182892, 1.017310380935669, -0.6846435070037842, 0.5835575461387634, 0.0755811482667923, -0.16208550333976746, -0.1633162796497345, -0.6718685626983643, -0.8803443908691406, -0.5647868514060974, -0.16460666060447693, -0.3352305591106415, 0.03471282497048378, 0.8055046200752258, 0.9993348121643066, -0.7057707905769348, -0.07017102092504501, -0.10600240528583527, -0.1414920538663864, 0.007726086303591728, -0.24647420644760132, 0.48978808522224426, -0.46378186345100403, -0.4989134967327118, 0.48149991035461426, 0.38844242691993713, -0.18108472228050232, -0.23762713372707367, 0.19069001078605652, 0.24651336669921875, 0.32870152592658997, 0.567010223865509, -0.007441498804837465, -0.5761089324951172, -0.24874284863471985, 0.018041297793388367, -0.19471821188926697, 0.1601867824792862, 1.1322953701019287, -0.7995725870132446, 0.13608409464359283, 0.25656720995903015, 0.9229422807693481, 0.5436282157897949, -0.08389966934919357, 0.2662646770477295, -0.8882620334625244, 0.24000489711761475, 0.1354958862066269, 0.37186649441719055, 0.3339007794857025, -0.6710699796676636, 0.22617638111114502, 0.1136314868927002, -0.3249507546424866, -0.414610892534256, -0.0370304174721241, -0.5353071093559265, -0.6691724061965942, 1.1003080606460571, -0.14855742454528809, -0.6121265888214111, 0.050038259476423264, -0.1451696902513504, 0.12376730889081955, -0.5031994581222534, 0.865453839302063, 0.7160482406616211, 0.4212799668312073, 0.045090265572071075, -0.21393164992332458, 0.3397173583507538, 0.5791565775871277, -0.46770012378692627, 0.6377777457237244, 0.6099870204925537, 0.42001059651374817, 0.21849216520786285, 0.5700960159301758, -0.4064190685749054, 0.2912662625312805, 0.4722190797328949, 0.41596418619155884, -0.26055338978767395, -0.5947417616844177, -0.4278874695301056, 0.44661474227905273, -0.10721093416213989, -0.463107705116272 ]
http://arxiv.org/abs/2404.14397v1
http://arxiv.org/pdf/2404.14397v1
RTP-LX: Can LLMs Evaluate Toxicity in Multilingual Scenarios?
2024-04-22T17:56:26
2024-04-22T17:56:26
Adrian de Wynter, Ishaan Watts, Nektar Ege Altıntoprak, Tua Wongsangaroonsri, Minghui Zhang, Noura Farra, Lena Baur, Samantha Claudet, Pavel Gajdusek, Can Gören, Qilong Gu, Anna Kaminska, Tomasz Kaminski, Ruby Kuo, Akiko Kyuba, Jongho Lee, Kartik Mathur, Petter Merok, Ivana Milovanović, Nani Paananen, Vesa-Matti Paananen, Anna Pavlenko, Bruno Pereira Vidal, Luciano Strika, Yueh Tsao, Davide Turcato, Oleksandr Vakhno, Judit Velcsov, Anna Vickers, Stéphanie Visser, Herdyan Widarmanto, Andrey Zaikin, Si-Qing Chen
cs.CL
cs.CL, cs.CY, cs.LG
Large language models (LLMs) and small language models (SLMs) are being adopted at remarkable speed, although their safety still remains a serious concern. With the advent of multilingual S/LLMs, the question now becomes a matter of scale: can we expand multilingual safety evaluations of these models with the same velocity at which they are deployed? To this end we introduce RTP-LX, a human-transcreated and human-annotated corpus of toxic prompts and outputs in 28 languages. RTP-LX follows participatory design practices, and a portion of the corpus is especially designed to detect culturally-specific toxic language. We evaluate seven S/LLMs on their ability to detect toxic content in a culturally-sensitive, multilingual scenario. We find that, although they typically score acceptably in terms of accuracy, they have low agreement with human judges when judging holistically the toxicity of a prompt, and have difficulty discerning harm in context-dependent scenarios, particularly with subtle-yet-harmful content (e.g. microagressions, bias). We release of this dataset to contribute to further reduce harmful uses of these models and improve their safe deployment.
[ -0.04572727158665657, -0.42334631085395813, 0.6979384422302246, 0.6796110272407532, -0.14782649278640747, -0.033484164625406265, -0.3222225308418274, -0.8450506925582886, -0.1043887734413147, 0.46596822142601013, -0.3519243001937866, -0.6318678259849548, -0.5449486970901489, 0.3802196979522705, -0.227911576628685, 0.9257986545562744, 0.08830071985721588, 0.0691729187965393, -0.06125715374946594, -0.26116010546684265, -0.365727961063385, -0.5683435201644897, -0.7847855687141418, -0.1639808565378189, 1.1684458255767822, 0.49520930647850037, 0.748198926448822, 0.5255894660949707, 0.33628594875335693, 0.2502005994319916, -0.37116122245788574, -0.1553981900215149, -0.13724994659423828, 0.37244468927383423, -0.37345656752586365, -0.3510758578777313, -0.41610169410705566, -0.060303106904029846, 0.5622916221618652, 0.5936930775642395, -0.17546036839485168, 0.31605494022369385, 0.10462242364883423, 0.2572881877422333, -0.6829538941383362, -0.055778682231903076, -0.1677403450012207, 0.2566372752189636, -0.05097523704171181, -0.08768744021654129, -0.847763180732727, -0.30132976174354553, -0.12309630960226059, -0.3266901671886444, -0.4916805326938629, 0.16392549872398376, 0.23705971240997314, 0.0760047659277916, -0.8611229658126831, -0.3467862606048584, -0.6242613792419434, 0.8968573808670044, -0.6358704566955566, 0.432102769613266, 0.09145890176296234, 0.14850345253944397, 0.03571172431111336, -0.5571367740631104, -0.30722576379776, -0.4241142272949219, -0.1016763225197792, -0.13499918580055237, -0.13752144575119019, -0.09495461732149124, 0.25663822889328003, -0.3342280387878418, -0.7767174243927002, 0.5215452909469604, -0.17431533336639404, -0.6068456172943115, 0.8490049839019775, 0.42582497000694275, 0.7145199775695801, -0.2595881223678589, -0.49709758162498474, -0.09249673783779144, -0.9603267908096313, -0.19906195998191833, 0.28782084584236145, 0.5482473373413086, -0.2639519274234772, 0.36426421999931335, 0.04600205272436142, 0.4702167212963104, -0.544235110282898, -0.2583203911781311, 0.27541688084602356, -0.4833376407623291, 0.22009766101837158, 0.03267241269350052, 1.0477455854415894, 0.7354544997215271, 0.2880995571613312, -0.03897292539477348, 0.0174635648727417, 0.01025755051523447, 0.1706545203924179, -0.7682130932807922, 0.10679378360509872, 0.2907264232635498, -0.48341789841651917, -0.36529478430747986, -0.6424293518066406, -0.8872827291488647, -0.7055083513259888, 0.007481508422642946, 0.24006041884422302, -0.1871582269668579, -0.6080738306045532, 0.14044205844402313, 0.04500073939561844, -0.062375735491514206, 0.22048461437225342, -0.4337386190891266, -0.11557218432426453, 0.4663161337375641, 0.7902798056602478, -0.3907688856124878, -0.5269308090209961, -0.5267099142074585, -0.08260015398263931, -0.4122507572174072, 0.9857532382011414, -0.49544429779052734, -0.6422017812728882, 0.18115012347698212, 0.04100099578499794, 0.2507108449935913, -0.7157753705978394, 1.1961469650268555, -0.2810996174812317, 0.14137855172157288, -0.46517711877822876, 0.051097847521305084, 0.1238645389676094, 0.21473625302314758, -0.3923480212688446, 0.7894595861434937, -0.07084359973669052, -0.8326621651649475, 0.3481678068637848, -0.35264134407043457, -0.5553014278411865, -0.03048096038401127, 0.07656548917293549, -0.22962096333503723, -0.15763849020004272, -0.2286815047264099, 0.3640952706336975, -0.11339405924081802, 0.2606293261051178, -0.5961239337921143, -0.3128659129142761, 0.19538581371307373, -0.5517817735671997, 0.9897617101669312, 0.5856056213378906, -0.006441249046474695, 0.5463850498199463, -0.6412938237190247, 0.12197090685367584, -0.04427822679281235, -0.7043020129203796, -0.5209481120109558, -0.12303446233272552, 0.5148609280586243, 0.8456193804740906, -0.07415559142827988, -0.6607828736305237, -0.29036450386047363, 0.0023520186077803373, 0.3125075697898865, 0.6511616110801697, 0.10564664006233215, 0.4332124590873718, -0.3956814110279083, 0.6361260414123535, 0.10084744542837143, 0.4552003741264343, -0.18797685205936432, -0.5490790605545044, -0.46312975883483887, -0.06253741681575775, -0.002262001857161522, 0.6258115172386169, -0.7624422311782837, 0.2747650742530823, -0.33067068457603455, -0.6900789737701416, -0.06176743656396866, -0.23622499406337738, 0.5118544101715088, 0.48551902174949646, 0.18188302218914032, -0.0415555015206337, -0.23371361196041107, -0.817555844783783, -0.5361791253089905, -0.3539276123046875, -0.1733408272266388, 0.29521796107292175, 0.29455751180648804, -0.30468446016311646, 0.4686959683895111, -0.28145384788513184, -0.00707154581323266, -0.23498262465000153, 0.2723073661327362, -0.09524620324373245, 0.3201867341995239, 0.5884743928909302, -0.3430642783641815, -0.6931604146957397, -0.12514841556549072, -0.8313581347465515, -0.6940227746963501, -0.058249667286872864, 0.07351535558700562, 0.12842294573783875, 0.47931647300720215, -0.3428947329521179, 0.009212384931743145, 0.6041955351829529, -0.6589046120643616, 0.7755691409111023, -0.3604290783405304, 0.1472179889678955, -0.8574658632278442, 0.01665434055030346, 0.29241254925727844, -0.22975963354110718, -0.7998719215393066, 0.2975509464740753, 0.4244120419025421, -0.3367792069911957, -1.1452162265777588, 0.8134306073188782, -0.26412832736968994, 0.163644939661026, -0.17218326032161713, 0.143865168094635, 0.11737167090177536, 0.24101734161376953, 0.385638952255249, 0.8191439509391785, 0.2575233578681946, -0.5693390369415283, 0.14281348884105682, 0.00572941591963172, -0.349403440952301, 0.6848529577255249, -0.5055696368217468, -0.11417284607887268, -0.20017698407173157, 0.31840381026268005, -0.6612934470176697, 0.050162360072135925, 0.21618308126926422, -0.09432675689458847, 0.1534617841243744, -0.13508403301239014, -0.6812751889228821, -0.17108629643917084, -0.37964269518852234, 0.6089532375335693, 0.20864573121070862, -0.3155977129936218, 0.23767906427383423, 0.5623854994773865, -0.4494403004646301, -0.5335387587547302, -0.7589969635009766, 0.3613840937614441, -0.6806768178939819, -0.6671544313430786, -0.08860085159540176, -0.31623634696006775, -0.48309534788131714, -0.3732336759567261, 0.14547136425971985, 0.018720753490924835, 0.21565556526184082, 0.24766604602336884, 0.011789211072027683, 0.05635974928736687, 0.28296351432800293, 0.02977677993476391, -0.2144199013710022, 0.39105403423309326, 0.35638347268104553, 0.39778953790664673, -0.09569671005010605, -0.24929767847061157, -0.1747276932001114, 0.7600196599960327, 0.6243575215339661, -0.11801593750715256, 0.5304684638977051, 0.6278685927391052, -0.3327396512031555, -0.1463260054588318, -0.2530815303325653, -0.03564789891242981, -0.42940422892570496, 0.4795745313167572, -0.08065631985664368, -0.8281364440917969, 0.5600935220718384, -0.16944481432437897, -0.08779622614383698, 0.41169342398643494, 0.6492646336555481, -0.05365019291639328, 0.979461133480072, 0.45743897557258606, -0.16824108362197876, 0.37454983592033386, 0.18007126450538635, 0.01867523230612278, -0.6613501310348511, -0.14439181983470917, -0.6740461587905884, -0.08058434724807739, -0.6663964986801147, -0.487623929977417, 0.8432361483573914, -0.38285207748413086, -0.6194241046905518, 0.037095483392477036, -0.1520683318376541, 0.48338812589645386, 0.31178390979766846, 0.121488556265831, 0.3786389231681824, -0.18151159584522247, -0.2014862447977066, -0.21122746169567108, -0.7073219418525696, -0.6822620630264282, 0.9381222724914551, 0.7545055150985718, 0.8463990092277527, 0.2582336366176605, 0.4781959652900696, 0.40644386410713196, 0.6814208030700684, -0.6632134914398193, 0.5769705772399902, -0.0510874018073082, -0.8618459105491638, -0.19872739911079407, -0.4253390431404114, -0.7831444144248962, 0.3492376506328583, -0.2790818214416504, -0.6627822518348694, 0.15363653004169464, -0.21309718489646912, -0.641736626625061, 0.1302260458469391, -0.8741060495376587, 1.0447145700454712, -0.5641447901725769, -0.5223665237426758, -0.22988776862621307, -0.7190634608268738, 0.4488103687763214, -0.24705183506011963, 0.7825884819030762, -0.28612568974494934, -0.25881528854370117, 0.552472710609436, -0.19618088006973267, 1.0505355596542358, -0.07220049947500229, -0.6825261116027832, 0.3067408800125122, 0.37088102102279663, 0.4027554392814636, 0.20652982592582703, -0.2799851596355438, 0.4562571942806244, 0.06018104404211044, -0.15670761466026306, -0.14866644144058228, 0.9284228086471558, -0.5767764449119568, -0.3537085950374603, -0.6162912845611572, -0.6228668093681335, -0.23910105228424072, 0.3088472783565521, 0.13007201254367828, 0.08144744485616684, -0.06564731150865555, -0.21110846102237701, 0.5398192405700684, -0.9847440123558044, 0.5309798717498779, 0.8525614142417908, -0.25328972935676575, -0.13478025794029236, 0.9722030758857727, -0.0767931342124939, 0.3697223961353302, 0.1815255880355835, 0.39364200830459595, -0.5101557970046997, -0.42801517248153687, -0.44630080461502075, 0.3421044647693634, -0.9328261613845825, -0.19824528694152832, -0.4456532299518585, -0.02380751073360443, -0.18771511316299438, 0.14183147251605988, -0.33275359869003296, -0.1623959094285965, -0.22497716546058655, -0.15636859834194183, 0.013835959136486053, 0.670599639415741, -0.32483306527137756, 0.1496131271123886, -1.145958423614502, -0.09316649287939072, 0.11735216528177261, 0.5696402788162231, -0.33607208728790283, -0.5283001065254211, -0.10965962707996368, 0.07635779678821564, -0.1768062561750412, -0.9302070140838623, 0.481036901473999, -0.022146351635456085, 0.38009631633758545, 0.2582969665527344, 0.4070603549480438, 0.30257299542427063, -0.6474611759185791, 0.8323261141777039, 0.10521745681762695, -0.6259840130805969, 0.3433879613876343, -0.6087630391120911, 0.17610086500644684, 0.24916207790374756, 0.6592975854873657, -1.1111860275268555, -0.4405082166194916, -0.22117853164672852, -0.7716858983039856, 0.6027450561523438, -0.17718461155891418, 0.2457760125398636, -0.25833263993263245, 0.13578249514102936, 0.11409569531679153, -0.16992557048797607, -0.8995397090911865, -0.20848196744918823, 0.20259839296340942, -0.08307666331529617, -0.23814086616039276, -0.8104103207588196, -0.13515391945838928, 0.16169755160808563, 0.39616668224334717, 0.06706276535987854, 0.035929515957832336, -0.04196447879076004, -0.21421489119529724, -0.3599378168582916, 0.6576226949691772, 0.7640714049339294, 0.408308744430542, -0.16636796295642853, 0.475362092256546, 0.289701908826828, -0.3138813376426697, 0.5153043270111084, -0.21610483527183533, -0.1074422225356102, -0.218877911567688, 0.7114983201026917, 0.3898555338382721, 0.3376657962799072, -1.1103111505508423, 0.5073083639144897, -0.2608935236930847, 0.15746985375881195, -0.16440366208553314, -0.15942755341529846, 0.16759678721427917, 0.2875502109527588, -0.08716706931591034, -0.13656200468540192, 0.19972312450408936, -0.613328754901886, 0.2817001938819885, 0.21695217490196228, -0.2862708270549774, -0.29757219552993774, 0.6304450035095215, 0.5690732598304749, -0.24110949039459229, 0.3781820237636566, -0.24110880494117737, -0.31248360872268677, 0.27256304025650024, 0.41989317536354065, 0.7025052905082703, -0.41519975662231445, 0.3782459497451782, 0.527827799320221, 0.522362470626831, 0.07163520902395248, 0.3766796886920929, 0.3626277446746826, -0.7917465567588806, -0.5316293835639954, -0.6259475350379944, -0.2531485855579376, 0.06584038585424423, -0.47964611649513245, 0.08868937939405441, -0.31223857402801514, -0.18175853788852692, -0.1418723464012146, -0.19728554785251617, -0.297491192817688, 0.055299073457717896, 0.5583078861236572, 1.0480191707611084, -1.440464735031128, 0.6580550074577332, 0.6251227855682373, -0.280067503452301, -0.5733752250671387, -0.01935371197760105, 0.17417651414871216, -0.6650118827819824, 0.8309395909309387, 0.046525515615940094, 0.06394577771425247, -0.32546913623809814, -0.006609801668673754, -0.642403244972229, 0.8468748927116394, 0.4168054759502411, -0.5778158903121948, 0.12630608677864075, 0.5523629784584045, 0.8397474884986877, -0.07735675573348999, 0.5298689603805542, 0.36322590708732605, 0.500796377658844, -0.1639384925365448, -1.2332838773727417, 0.18627500534057617, -0.16402137279510498, -0.0303404089063406, -0.04191247373819351, -0.6848597526550293, 0.7465683221817017, -0.3767651319503784, -0.41719725728034973, -0.17536424100399017, 0.2843095660209656, 0.30104145407676697, 0.4442952871322632, 0.6456455588340759, 0.4765894412994385, 0.4258555471897125, 0.08695203065872192, 1.1393916606903076, -0.2762719392776489, 0.162822887301445, 1.075914740562439, -0.5240201950073242, 1.0399441719055176, 0.40960726141929626, -0.265521764755249, 0.3120821416378021, 0.8240998387336731, 0.7279053330421448, 0.30274584889411926, 0.2860415279865265, -0.5025048851966858, -0.44244199991226196, -0.6147430539131165, -0.19649146497249603, 0.23370493948459625, 0.41177526116371155, -0.2987995445728302, -0.49551913142204285, 0.30194124579429626, 0.24215759336948395, 0.12185869365930557, -0.25945916771888733, 0.5557963252067566, 0.22827047109603882, -0.5562873482704163, 0.5835602283477783, 0.19340282678604126, 0.6562447547912598, -0.41893744468688965, 0.1442449986934662, -0.3181380033493042, 0.12426018714904785, -0.1425454020500183, -1.1959009170532227, 0.6213852763175964, 0.05874002352356911, 0.1827923059463501, -0.5017837882041931, 0.7262840270996094, -0.4633236527442932, -0.5310558676719666, 0.5489710569381714, 0.6582729816436768, 0.12636905908584595, -0.2276049554347992, -0.6262040734291077, 0.40235933661460876, -0.22124603390693665, -0.18972191214561462, 0.6426301598548889, 0.43020734190940857, -0.4550122618675232, 1.0467787981033325, 0.36837783455848694, 0.17926162481307983, 0.09587801992893219, 0.2587924301624298, 0.7329131960868835, -0.6392940282821655, -0.21535487473011017, -0.692002534866333, 0.5028764605522156, 0.21292495727539062, -0.13546420633792877, 0.6577443480491638, 0.3263682723045349, 0.7217764258384705, -0.1077948734164238, 0.7574699521064758, 0.11793268471956253, 0.516146719455719, -0.2605161964893341, 0.7851266860961914, -0.44912824034690857, 0.45327624678611755, -0.1825142502784729, -0.5897993445396423, -0.5926735997200012, 0.31598329544067383, -0.11902932822704315, 0.035520583391189575, 0.7561678886413574, 0.7790284156799316, 0.2790411710739136, -0.12642137706279755, 0.3488006293773651, 0.29190289974212646, 0.406793475151062, 0.6571968197822571, 1.1440448760986328, -0.0936271920800209, 0.6631641387939453, -0.6024737358093262, -0.3277556598186493, -0.11509809643030167, -1.2885332107543945, -0.6839938759803772, -0.45103296637535095, -0.38520145416259766, -0.3008412718772888, -0.09775916486978531, 0.8464473485946655, 0.4001328945159912, -0.5600900053977966, -0.2762022912502289, 0.43494701385498047, 0.328960657119751, -0.0924687460064888, -0.20289163291454315, 0.12436764687299728, -0.23865312337875366, -0.6160560846328735, 0.3782038688659668, 0.37874987721443176, -0.06634866446256638, -0.41724303364753723, -0.14809878170490265, 0.005624369718134403, -0.3104840815067291, 1.0421053171157837, 0.1932753473520279, -0.6180657744407654, -0.7413552403450012, -0.04439011216163635, -0.2813100218772888, -0.33270567655563354, 0.6673809885978699, -0.34882423281669617, 0.36680305004119873, 0.6013582348823547, 0.12057796865701675, -0.18994225561618805, -0.3060481548309326, 0.5172293186187744, -0.8220517039299011, 0.20403282344341278, 0.3873077929019928, 0.40849703550338745, 0.21410571038722992, -0.4314233660697937, 0.4334774613380432, 0.10951274633407593, -0.6498005390167236, -0.9074637293815613, 0.4223407506942749, -0.9198880791664124, -0.26535046100616455, 1.7565138339996338, -0.2946399748325348, 0.021559514105319977, -0.24185632169246674, -0.32078346610069275, 0.1034330353140831, -0.27344954013824463, 0.7642641663551331, 0.5241756439208984, -0.03594747930765152, -0.2544887065887451, -0.6828144788742065, 0.4547581374645233, 0.18036487698554993, -0.9042532444000244, 0.4592021405696869, 0.5707545280456543, 0.6516944766044617, 0.33335328102111816, 0.650611937046051, -0.17951039969921112, 0.1883707046508789, -0.1694163680076599, 0.14785785973072052, 0.1801111400127411, -0.4052744209766388, -0.3914676904678345, 0.09030497074127197, 0.3886439800262451, 0.2604072093963623 ]
http://arxiv.org/abs/2404.14395v1
http://arxiv.org/pdf/2404.14395v1
PARAMANU-GANITA: Language Model with Mathematical Capabilities
2024-04-22T17:55:56
2024-04-22T17:55:56
Mitodru Niyogi, Arnab Bhattacharya
cs.CL
cs.CL, cs.AI, cs.LG
In this paper, we present Paramanu-Ganita, a 208 million parameter novel Auto Regressive (AR) decoder based language model on mathematics. The model is pretrained from scratch at context size of 4096 on our curated mixed mathematical corpus. We evaluate our model on both perplexity metric and GSM8k mathematical benchmark. Paramanu-Ganita despite being 35 times smaller than 7B LLMs, outperformed generalist LLMs such as LLaMa-1 7B by 28.4% points, LLaMa-2 7B by 27.6% points, Falcon 7B by 32.6% points, PaLM 8B by 35.3% points, and math specialised LLMs such as Minerva 8B by 23.2% points, and LLEMMA-7B by 3.0% points in GSM8k test accuracy metric respectively. Paramanu-Ganita also outperformed giant LLMs like PaLM 62B by 6.4% points, Falcon 40B by 19.8% points, LLaMa-1 33B by 3.8% points and Vicuna 13B by 11.8% points respectively. The large significant margin improvement in performance of our math model over the existing LLMs signifies that reasoning capabilities of language model are just not restricted to LLMs with humongous number of parameters. Paramanu-Ganita took 146 hours of A100 training whereas math specialised LLM, LLEMMA 7B, was trained for 23,000 A100 hours of training equivalent. Thus, our approach of pretraining powerful domain specialised language models from scratch for domain adaptation is much more cost-effective than performing continual training of LLMs for domain adaptation. Hence, we conclude that for strong mathematical reasoning abilities of language model, we do not need giant LLMs and immense computing power to our end. In the end, we want to point out that we have only trained Paramanu-Ganita only on a part of our entire mathematical corpus and yet to explore the full potential of our model.
[ -0.44107937812805176, -0.9047220945358276, 0.2987823486328125, 0.33644384145736694, -0.4243742525577545, -0.002067117253318429, -0.23628151416778564, -0.23926810920238495, -0.04784783720970154, 0.5378938913345337, -0.2649151384830475, -0.32530534267425537, -0.7646682262420654, 0.21834519505500793, -0.2913185954093933, 1.0411021709442139, -0.044536806643009186, 0.09985977411270142, -0.14798399806022644, -0.24089834094047546, -0.30459675192832947, -0.6323885321617126, -0.8177438378334045, -0.1514108031988144, 0.2958945631980896, -0.015737755224108696, 0.774453341960907, 0.7386478781700134, 0.47088518738746643, 0.2871747314929962, 0.06602871417999268, 0.16222096979618073, -0.2495151162147522, -0.30170994997024536, 0.23989836871623993, -0.8523711562156677, -0.6851383447647095, 0.03567713499069214, 0.5923639535903931, 0.564775288105011, -0.4706166982650757, 0.09447377920150757, -0.03106187842786312, 0.5872063636779785, -0.3877798020839691, 0.4131332039833069, -0.602299690246582, -0.19378764927387238, -0.3957656919956207, -0.01769031211733818, -0.3161925673484802, -0.16699469089508057, -0.2555695176124573, -0.7985703945159912, -0.0010514953173696995, -0.04562152549624443, 0.9268800020217896, 0.4228401780128479, -0.290942519903183, -0.2955665588378906, -0.8004248738288879, 0.882411003112793, -0.8353855609893799, 0.32624292373657227, 0.4950660765171051, 0.7010950446128845, -0.004358350299298763, -0.5034183263778687, -0.509482204914093, -0.24993310868740082, 0.2645661532878876, 0.006476766429841518, -0.3069111704826355, -0.21379084885120392, 0.37118813395500183, 0.341525673866272, -0.5569579601287842, -0.18419314920902252, -0.30784228444099426, 0.1145147904753685, 0.5610935091972351, 0.3093295693397522, 0.5270320773124695, -0.1662266105413437, -0.10564558953046799, -0.054411303251981735, -0.8422462940216064, 0.03755604103207588, 0.5676853060722351, -0.05308280512690544, -0.039997465908527374, 0.3360041677951813, -0.04120055213570595, 0.8802819848060608, -0.25147703289985657, -0.2702172100543976, -0.20662666857242584, -0.10074758529663086, -0.40580978989601135, -0.4082810878753662, 1.0635582208633423, -0.37112295627593994, 0.3830892741680145, -0.09871862083673477, -0.197404682636261, 0.35410067439079285, 0.02517089806497097, -0.7944818735122681, -0.3642980456352234, -0.33425208926200867, -0.3768153786659241, -0.012115604244172573, -0.24063917994499207, -0.6848254799842834, 0.015992622822523117, -0.4182489812374115, 0.2750229835510254, -0.7957810759544373, -0.41396138072013855, 0.40559443831443787, 0.5692906379699707, 0.3401855230331421, 0.46441519260406494, -0.9844264388084412, 0.5591574311256409, 0.8127921223640442, 0.7169973254203796, 0.004464102443307638, -0.27602532505989075, -0.26419439911842346, -0.10526105761528015, -0.48056620359420776, 0.7868456840515137, -0.8212458491325378, -0.3287617564201355, -0.4015282392501831, -0.3327619731426239, -0.31575703620910645, -0.5632367134094238, 0.7633379101753235, -0.7417425513267517, 0.22298535704612732, -0.13820193707942963, -0.4158463180065155, -0.44033509492874146, 0.0627073124051094, -0.737180769443512, 0.6953036189079285, 0.1775055080652237, -0.5399062633514404, 0.14529839158058167, -0.689480721950531, -0.23660051822662354, 0.20867137610912323, -0.21660840511322021, -0.4924502670764923, -0.01200898364186287, 0.4180205464363098, 0.17018723487854004, -0.8499622941017151, 0.7114169597625732, -0.4053358733654022, -0.3012014329433441, 0.31355229020118713, -0.679926872253418, 0.916140079498291, 0.538223922252655, -0.19882750511169434, -0.10732133686542511, -0.9390064477920532, -0.22184449434280396, 0.36674919724464417, -0.16592934727668762, -0.26771974563598633, -0.2294098436832428, -0.18883419036865234, 0.17377221584320068, 0.30772319436073303, -0.21888326108455658, -0.03590685501694679, -0.3725228011608124, 0.5726637244224548, 0.5664442777633667, -0.41295817494392395, 0.471221923828125, -0.23465794324874878, 1.1078506708145142, 0.021076492965221405, 0.05213067680597305, 0.08318089693784714, -0.56770920753479, -0.8907424807548523, -0.4640236496925354, 0.6768009066581726, 0.5706738829612732, -0.8680482506752014, 0.36224785447120667, -0.20241940021514893, -0.41498154401779175, -0.5157986283302307, 0.4735146462917328, 0.38814157247543335, 0.5957564115524292, 0.10298978537321091, 0.051576483994722366, -0.5932883024215698, -0.8752599358558655, -0.32951241731643677, -0.08602169901132584, -0.06674908101558685, 0.16038744151592255, 0.48755526542663574, -0.2678534686565399, 0.6644524335861206, -0.36419185996055603, -0.32295602560043335, -0.4292850196361542, 0.04725321754813194, 0.4454035460948944, 0.11463224142789841, 0.6974690556526184, -0.5284820199012756, -0.5829670429229736, -0.029617179185152054, -1.1366069316864014, -0.08299664407968521, 0.013424716889858246, -0.27105090022087097, 0.23101906478405, 0.21842744946479797, -0.6484674215316772, 0.32027390599250793, 0.6280202269554138, -0.1842402070760727, 0.27374398708343506, -0.2685502767562866, -0.018224569037556648, -1.2476023435592651, 0.14196422696113586, 0.24263301491737366, -0.20148052275180817, -0.45522576570510864, 0.23149505257606506, 0.12098843604326248, -0.4287838339805603, -0.15321287512779236, 0.5631770491600037, -0.6070781350135803, 0.10454864799976349, -0.4905868470668793, -0.048241209238767624, -0.22141090035438538, 0.7284089922904968, -0.012489496730268002, 1.0822117328643799, 0.6667351722717285, -0.7762024402618408, 0.37163159251213074, 0.07624437659978867, -0.3426160216331482, 0.2569833993911743, -0.8601524829864502, 0.030487852171063423, 0.03754439949989319, 0.12233290821313858, -0.8007394671440125, 0.04691575840115547, 0.281895250082016, -0.3993290364742279, 0.1959453821182251, -0.010050229728221893, -0.4706997275352478, -0.19497184455394745, 0.14873453974723816, 0.6518314480781555, 0.7332077026367188, -0.3749611973762512, 0.8111583590507507, 0.5376527905464172, -0.3774924576282501, -0.41841375827789307, -0.4247059226036072, 0.28799542784690857, -0.4362589716911316, -0.6515726447105408, -0.06210724636912346, -0.17372524738311768, -0.223981574177742, 0.08020511269569397, 0.176712766289711, -0.045609209686517715, 0.02778414823114872, 0.020394902676343918, 0.4387623071670532, -0.44297343492507935, -0.21654394268989563, 0.08833397924900055, -0.4379020631313324, 0.2592868208885193, 0.012093188241124153, 0.642233669757843, -0.4959692656993866, -0.18831074237823486, -0.40848851203918457, 0.16582415997982025, 0.4710254371166229, -0.4129512906074524, 0.7352151274681091, 0.5123128890991211, -0.5310297608375549, -0.024051913991570473, -0.3346388339996338, 0.28255411982536316, -0.4561592936515808, 0.2502284348011017, -0.8714641332626343, -0.7097842693328857, 0.7374493479728699, -0.023189201951026917, -0.0909733921289444, 0.7735365629196167, 0.4148489534854889, 0.4430200159549713, 1.0975606441497803, 0.5273810029029846, -0.18146836757659912, 0.48050427436828613, -0.506446361541748, 0.2984267473220825, -0.9777449369430542, -0.23483948409557343, -0.3247978985309601, -0.006160031538456678, -0.33832916617393494, -0.3297405540943146, 0.17708811163902283, 0.29072150588035583, -0.10228386521339417, 0.583422064781189, -0.37978285551071167, 0.40568220615386963, 0.3257012665271759, 0.11151652038097382, 0.17998073995113373, 0.0037654617335647345, 0.05021651089191437, -0.2593015432357788, -0.7678030729293823, -0.5749577879905701, 1.5499451160430908, 0.4777247905731201, 0.9222984910011292, 0.29064199328422546, 0.5677211284637451, -0.18841946125030518, 0.4700373113155365, -0.6334618330001831, 0.7228835821151733, -0.1757066249847412, -0.43401503562927246, -0.2983722388744354, -0.7864289879798889, -0.9730901122093201, 0.16081617772579193, 0.1217280849814415, -0.09453173726797104, -0.06333445012569427, -0.18359392881393433, -0.39367470145225525, 0.3523455560207367, -0.6708436608314514, 0.6703699231147766, -0.28777071833610535, -0.17015331983566284, -0.1295618712902069, -0.19211041927337646, 0.7227924466133118, -0.2207794189453125, 0.35446810722351074, -0.1121504008769989, -0.10307237505912781, 0.9184865951538086, -0.5137783288955688, 0.5957511067390442, -0.09630060940980911, -0.33868607878685, 0.3664163053035736, 0.2901301383972168, 0.40621206164360046, 0.4818902909755707, -0.0018354849889874458, 0.26360076665878296, -0.07989180833101273, -0.6641078591346741, -0.9499064087867737, 0.8937978148460388, -1.0798532962799072, -0.9170281291007996, -0.6404958367347717, -0.8001717329025269, -0.27316057682037354, 0.13163194060325623, 0.1136932373046875, 0.5166837573051453, 0.004107682500034571, 0.12884248793125153, 0.863525390625, -0.0763775035738945, 0.552557110786438, 0.4841442406177521, -0.1881248503923416, -0.8620609641075134, 0.979110836982727, 0.0941440612077713, -0.050387345254421234, 0.5116999745368958, 0.2141275852918625, -0.5587884187698364, -0.4797689914703369, -0.6233446002006531, 0.6426976919174194, -0.56856369972229, -0.29407137632369995, -0.73905348777771, -0.396477609872818, -0.4420718848705292, 0.2488662749528885, -0.3611837923526764, -0.3138846457004547, -0.5547388195991516, 0.20146019756793976, 0.4514659643173218, 0.7324205636978149, 0.1907908171415329, 0.10950189083814621, -0.6738436818122864, 0.43962618708610535, 0.34764862060546875, 0.32677721977233887, 0.05628012493252754, -1.0249041318893433, -0.12950997054576874, 0.0825909897685051, -0.1582709103822708, -0.5652713179588318, 0.8292779326438904, 0.1998918354511261, 0.6987931728363037, 0.44186490774154663, -0.17916357517242432, 0.8798650503158569, -0.4851457178592682, 0.3356742262840271, 0.12843726575374603, -1.0349377393722534, 0.3240981101989746, -0.4111917316913605, 0.16627395153045654, 0.250192791223526, 0.5276464223861694, -0.06516441702842712, -0.11466832458972931, -0.7061205506324768, -0.22895310819149017, 0.5891413688659668, 0.22904479503631592, 0.15464651584625244, 0.1114523857831955, 0.6211381554603577, 0.19558174908161163, 0.13312400877475739, -0.7770702242851257, -0.17015329003334045, -0.25875887274742126, -0.28694185614585876, -0.3905172049999237, -0.3334130644798279, -0.18274623155593872, -0.49241408705711365, 0.4851955473423004, -0.022835657000541687, 0.4638165831565857, -0.22484740614891052, -0.18225301802158356, -0.03472623974084854, 0.09925141930580139, 0.9312598705291748, 0.9563590288162231, 0.04413127899169922, 0.028912486508488655, 0.24409162998199463, -0.5050346851348877, 0.2690345048904419, 0.38847705721855164, 0.10041660815477371, -0.017624706029891968, 0.34833797812461853, 1.0851249694824219, 0.12111283093690872, -0.5291501879692078, 0.2720339298248291, -0.27397578954696655, -0.27219849824905396, -0.38986653089523315, 0.08731263130903244, 0.09468208998441696, -0.025430575013160706, 0.2531259059906006, 0.15700066089630127, 0.15845058858394623, -0.4853723645210266, 0.03829585760831833, 0.35185790061950684, 0.0920775830745697, -0.5315095782279968, 1.0714595317840576, -0.007586087100207806, -0.32321658730506897, 0.34908297657966614, -0.3064146339893341, -0.4600917100906372, 0.5221386551856995, 0.8626375198364258, 0.8168391585350037, -0.425572007894516, 0.12745952606201172, 0.29819634556770325, 0.13180245459079742, -0.1451566517353058, 0.14443425834178925, 0.047519586980342865, -0.4918214976787567, -0.45184311270713806, -0.9121114611625671, -0.31981685757637024, 0.22651590406894684, -0.6337417364120483, 0.2894294857978821, -0.7930981516838074, 0.062371350824832916, -0.21308502554893494, 0.35415905714035034, -0.3996804654598236, 0.32185855507850647, -0.1788809448480606, 0.7386094331741333, -0.843670666217804, 1.2165216207504272, 0.7862454056739807, -0.44647130370140076, -0.8566321730613708, -0.3412265181541443, -0.4660830795764923, -1.0886585712432861, 0.7264041304588318, -0.13950702548027039, -0.13213308155536652, 0.053637806326150894, -0.2370493859052658, -0.9361138939857483, 1.0769671201705933, 0.8336634039878845, -0.6741721630096436, -0.1849932223558426, 0.16734793782234192, 0.6884180903434753, -0.36382588744163513, 0.25084686279296875, 0.5342124700546265, -0.021248124539852142, 0.24120911955833435, -0.6454586982727051, 0.13261330127716064, -0.5660803318023682, 0.4305931329727173, 0.4409385621547699, -0.7198924422264099, 1.115781307220459, 0.02921181544661522, -0.13532370328903198, 0.2067420333623886, 1.0723451375961304, 0.3797287046909332, 0.08421839773654938, 0.2385808378458023, 0.9800037145614624, 0.5084785223007202, -0.016057396307587624, 1.1884357929229736, -0.5282865762710571, 0.3219096064567566, 0.5898038744926453, -0.09139688313007355, 0.8457192182540894, 0.10931851714849472, -0.5599669814109802, 0.4663550555706024, 0.6195996403694153, 0.30357825756073, 0.39394211769104004, 0.14597570896148682, -0.4033501148223877, -0.5585225224494934, 0.29018864035606384, -0.5568770170211792, 0.2771740257740021, 0.38684019446372986, -0.05031363666057587, -0.26516130566596985, 0.178167462348938, 0.10559950768947601, 0.2895527780056, -0.04509779438376427, 0.4424147307872772, 0.4318503737449646, -0.5664258003234863, 1.0052800178527832, 0.19073602557182312, 0.6983084678649902, -0.6710723042488098, 0.032307177782058716, -0.41352158784866333, 0.23252876102924347, 0.12418287992477417, -0.3893347680568695, 0.43385693430900574, 0.09719113260507584, 0.13597646355628967, 0.02891344204545021, 0.5121663212776184, -0.34547126293182373, -0.8570451736450195, 0.1250917911529541, 0.30473363399505615, 0.16969531774520874, -0.22047370672225952, -0.9232808351516724, 0.16240748763084412, -0.14405027031898499, -0.06927706301212311, 0.49458223581314087, 0.7569257616996765, -0.08070914447307587, 0.8995108604431152, 0.7719561457633972, 0.14857396483421326, 0.173232302069664, -0.0016540917567908764, 0.8241196870803833, -0.7828626036643982, -0.4376417100429535, -0.8773568868637085, -0.09817542135715485, 0.3367741107940674, -0.4063473641872406, 0.8620135188102722, 0.5674763917922974, 0.6865423321723938, -0.11170550435781479, 0.6594637632369995, 0.23359143733978271, 0.30901142954826355, -0.6693525910377502, 0.6520280838012695, -0.5053315162658691, 0.46651557087898254, -0.05951355770230293, -1.069942831993103, -0.5259016752243042, 0.6820967197418213, -0.6527427434921265, 0.20221705734729767, 0.629202663898468, 0.548970639705658, -0.1628130078315735, -0.06749216467142105, 0.6093549132347107, -0.1766168177127838, 0.3562126159667969, 1.0554172992706299, 0.8007243275642395, -0.8412349820137024, 0.8619542717933655, -0.14747574925422668, -0.3503080904483795, -0.004251557402312756, -0.5404338836669922, -1.2158697843551636, -0.4782589375972748, -0.317103773355484, -0.19533123075962067, -0.22490441799163818, 0.5057098269462585, 0.421012818813324, -0.7270426154136658, -0.490335613489151, -0.5246157646179199, -0.15044070780277252, -0.018594294786453247, -0.22277145087718964, 0.4073464274406433, -0.3062286376953125, -1.0516377687454224, 0.19153772294521332, 0.2290055900812149, 0.03261170536279678, -0.3765210509300232, -0.3016539216041565, -0.2131262570619583, 0.218580424785614, 0.5323715806007385, 0.3857225477695465, -0.7599788308143616, 0.3080250024795532, 0.26510176062583923, -0.15833646059036255, 0.09615474939346313, 0.6404602527618408, -0.6456153988838196, 0.2281181663274765, 0.33397483825683594, 0.9555837512016296, 0.3709070086479187, -0.17465686798095703, 0.722794771194458, -0.009226208552718163, 0.3211888372898102, 0.1311856210231781, 0.5332338213920593, 0.222268745303154, -0.3974054157733917, 0.34239840507507324, 0.46798062324523926, -0.4765082597732544, -0.7101279497146606, 0.21236559748649597, -0.8241241574287415, -0.20739689469337463, 1.2075998783111572, -0.2812971770763397, -0.5690896511077881, 0.19194981455802917, -0.1634332537651062, 0.29634302854537964, -0.23795129358768463, 0.7966084480285645, 0.768971860408783, -0.04371079429984093, -0.5288628935813904, -0.46147531270980835, 0.4206671416759491, 0.6984474658966064, -0.9246003031730652, -0.20947836339473724, 0.04279916360974312, 0.4877013564109802, 0.03818947449326515, 0.5385693907737732, -0.38072457909584045, 0.33839985728263855, 0.18669311702251434, -0.087001271545887, -0.3527812957763672, -0.5376082062721252, -0.5805495977401733, 0.013736260123550892, 0.13089288771152496, -0.1728861778974533 ]
http://arxiv.org/abs/2404.14394v1
http://arxiv.org/pdf/2404.14394v1
A Multimodal Automated Interpretability Agent
2024-04-22T17:55:11
2024-04-22T17:55:11
Tamar Rott Shaham, Sarah Schwettmann, Franklin Wang, Achyuta Rajaram, Evan Hernandez, Jacob Andreas, Antonio Torralba
cs.AI
cs.AI, cs.CL, cs.CV
This paper describes MAIA, a Multimodal Automated Interpretability Agent. MAIA is a system that uses neural models to automate neural model understanding tasks like feature interpretation and failure mode discovery. It equips a pre-trained vision-language model with a set of tools that support iterative experimentation on subcomponents of other models to explain their behavior. These include tools commonly used by human interpretability researchers: for synthesizing and editing inputs, computing maximally activating exemplars from real-world datasets, and summarizing and describing experimental results. Interpretability experiments proposed by MAIA compose these tools to describe and explain system behavior. We evaluate applications of MAIA to computer vision models. We first characterize MAIA's ability to describe (neuron-level) features in learned representations of images. Across several trained models and a novel dataset of synthetic vision neurons with paired ground-truth descriptions, MAIA produces descriptions comparable to those generated by expert human experimenters. We then show that MAIA can aid in two additional interpretability tasks: reducing sensitivity to spurious features, and automatically identifying inputs likely to be mis-classified.
[ -0.3840360641479492, -0.6150948405265808, 0.64316326379776, 0.38405996561050415, -0.20208047330379486, -0.25402480363845825, 0.0669277161359787, -0.4135826826095581, 0.3175627589225769, 0.25682035088539124, -0.4297058582305908, -0.3266106843948364, -0.8379830121994019, 0.08029131591320038, -0.6324968338012695, 0.8759942650794983, -0.16791941225528717, -0.00927148386836052, -0.32428139448165894, -0.2775777280330658, -0.5958009958267212, -0.1109340488910675, -0.7466151118278503, -0.5271373987197876, 0.6553995013237, 0.09385272115468979, 1.3266162872314453, 0.6624581813812256, 0.3191318213939667, 0.5221416354179382, 0.0935063436627388, -0.07256285101175308, -0.0576799213886261, -0.03930356353521347, -0.37257087230682373, -0.6263715028762817, -0.7496052384376526, 0.1869429051876068, 0.7286849021911621, 0.7038565874099731, -0.12281236797571182, -0.03439300134778023, -0.041934676468372345, 0.20113492012023926, -0.49208953976631165, 0.7154682278633118, -0.282640278339386, 0.10959456861019135, 0.23232409358024597, -0.2224310040473938, -0.49731943011283875, -0.20007571578025818, 0.08193038403987885, -1.1492499113082886, 0.20903703570365906, 0.08541340380907059, 0.7707635164260864, 0.7611479759216309, -0.45204100012779236, -0.15213042497634888, -0.2589472234249115, 0.722592830657959, -0.38395431637763977, 0.17977392673492432, 0.5732725262641907, 0.8266539573669434, -0.25702130794525146, -0.560941219329834, -0.6872282028198242, -0.3562016189098358, -0.6822096109390259, 0.06621306389570236, -0.3704444169998169, 0.22782233357429504, 0.08938030153512955, -0.03778734803199768, -0.4927920699119568, -0.19405408203601837, -0.17028340697288513, -0.5135401487350464, 0.43053144216537476, 0.20157301425933838, 0.4482162594795227, -0.47309035062789917, -0.18016666173934937, -0.10238169133663177, 0.05951118469238281, -0.03252594918012619, 0.1832733005285263, -0.0865567997097969, 0.23782190680503845, 0.6522191166877747, -0.37857872247695923, 0.8492559790611267, -0.046431709080934525, -0.10462682694196701, 0.26792314648628235, 0.04674288630485535, -0.45082297921180725, -0.19178056716918945, 0.2606252133846283, 0.24563196301460266, 0.1094295084476471, -0.20253166556358337, -0.2705964148044586, 0.2810157835483551, 0.6115256547927856, -0.5497416257858276, -0.4316420555114746, 0.1706472486257553, -1.0200833082199097, -0.488059937953949, -0.1328800767660141, -0.6336045861244202, -0.7025628685951233, -0.6600491404533386, 1.0688785314559937, -0.6705268621444702, -0.5695711970329285, 0.08662953227758408, -0.3929378092288971, 0.22318001091480255, 0.46413692831993103, -0.5341728925704956, 0.18081031739711761, 0.42708539962768555, 0.6456931829452515, -0.1637030392885208, -0.8225762248039246, -0.7798381447792053, -0.054550234228372574, -0.2056860327720642, 0.7565259337425232, -0.6714673042297363, -0.1270972043275833, -0.4284193515777588, 0.36656057834625244, -0.37195757031440735, -0.39593783020973206, 0.2727493643760681, -0.723460853099823, -0.27975139021873474, 0.1580851823091507, -0.10772109776735306, -0.8270423412322998, 0.3648567795753479, -0.7384441494941711, 0.6787415146827698, 0.1077611893415451, -0.26981183886528015, 0.5202022194862366, -0.921861469745636, -0.3994322717189789, -0.03575453162193298, 0.11119594424962997, -0.19949786365032196, 0.3609623312950134, 0.0473686121404171, 0.5813598036766052, 0.140614852309227, 0.41436684131622314, -0.36585506796836853, -0.28664156794548035, 0.6282609105110168, -0.6585610508918762, 0.5987582802772522, 0.2664627432823181, -0.3183704614639282, 0.3425263464450836, -1.195762276649475, 0.23081974685192108, 0.05705718323588371, -0.3794054090976715, -0.15160837769508362, 0.11921839416027069, 0.18351195752620697, 0.06056397408246994, -0.02172553353011608, -0.28281843662261963, -0.08468121290206909, -0.05697004869580269, 0.3156946003437042, 0.6624738574028015, -0.35831791162490845, 0.46559327840805054, -0.19966433942317963, 0.6822372674942017, 0.0010285342577844858, 0.3298567235469818, -0.3479480445384979, -0.42651233077049255, -1.0043370723724365, -0.5027832984924316, -0.06265058368444443, 0.3981113135814667, -1.2000138759613037, 0.12103168666362762, -0.09194440394639969, -0.3669195771217346, -0.47464749217033386, 0.12848953902721405, 0.7261356115341187, 0.6092644333839417, 0.3732944130897522, -0.6057546138763428, -0.09503481537103653, -1.058454990386963, -0.11163651198148727, -0.20744499564170837, 0.15834777057170868, 0.093482606112957, 0.641810417175293, -0.48204538226127625, 0.9755402207374573, -0.47990649938583374, -0.09742642194032669, 0.06314853578805923, 0.6847057938575745, -0.057559333741664886, 0.4446330964565277, 0.6252376437187195, -0.99272620677948, 0.08093635737895966, 0.03274855017662048, -1.0793044567108154, -0.10612857341766357, -0.14582519233226776, -0.28647276759147644, -0.002801013644784689, 0.29778173565864563, -0.3882952034473419, 0.8225864768028259, 0.46025365591049194, -0.5651845932006836, 0.5093833208084106, -0.564792811870575, 0.15926207602024078, -0.8306451439857483, 0.01785481534898281, 0.020111791789531708, -0.2522715628147125, -0.637452244758606, 0.19801101088523865, 0.12014216184616089, -0.05790136381983757, -0.4144497215747833, 0.4592643976211548, -0.4595123529434204, -0.6835370659828186, -0.42813822627067566, -0.27680733799934387, 0.31217193603515625, 0.5309838056564331, 0.1997465044260025, 0.5848186016082764, 0.832585871219635, -0.6475936770439148, 0.7126131653785706, 0.4138690233230591, -0.18963153660297394, 1.1464005708694458, -0.7541797161102295, -0.17505189776420593, -0.5732973217964172, 0.10399135202169418, -1.0931533575057983, -0.7231303453445435, 0.3297487795352936, -0.5613282918930054, 0.15159392356872559, -0.2896016240119934, -0.3319666087627411, 0.1417665183544159, 0.12097044289112091, 0.3615665137767792, 0.1276254802942276, -0.6939407587051392, 1.2891578674316406, 0.07325216382741928, -0.06248662993311882, -0.6194726824760437, -0.7008675336837769, 0.2427474707365036, -0.16952712833881378, -0.7225958108901978, -0.1316537708044052, -0.08532221615314484, -0.3733038008213043, 0.2805314064025879, 0.37591108679771423, -0.3345205783843994, 0.38862425088882446, 0.687526524066925, 0.45909810066223145, -0.13099591434001923, 0.39305558800697327, 0.10043269395828247, -0.5963319540023804, 0.08396457135677338, -0.29860803484916687, 0.10255061089992523, -0.5413907170295715, -0.6077989339828491, -0.6741677522659302, 0.2033955454826355, 0.8206259608268738, -0.1718066781759262, 0.6480557918548584, 0.8826225399971008, -0.3198513686656952, -0.07292879372835159, -0.25450676679611206, 0.13760022819042206, -0.4837559461593628, 0.34807705879211426, -0.8285481929779053, -0.038425806909799576, 0.49188855290412903, -0.08014686405658722, -0.3323468863964081, 0.49441003799438477, 0.45486193895339966, -0.16911697387695312, 1.2389270067214966, 0.8064500093460083, 0.2363353967666626, 0.5466929078102112, -0.13622601330280304, -0.30767881870269775, -0.50715172290802, -0.38978636264801025, -0.09475214034318924, -0.5132213830947876, -0.11809075623750687, -0.3233920931816101, 0.6415627002716064, -0.41772592067718506, -0.04800069332122803, 0.35864078998565674, -0.6050695180892944, 0.5041360855102539, 0.5286102890968323, 0.1638393998146057, 0.343696653842926, -0.14871470630168915, -0.09424344450235367, 0.1701774150133133, -0.4807727038860321, -0.42495083808898926, 0.748227059841156, 0.26542559266090393, 1.0863163471221924, 0.16830214858055115, 0.1119508147239685, 0.46367111802101135, 0.5441989302635193, -1.0075361728668213, 0.4694998264312744, 0.2193002551794052, -0.7822155952453613, -0.2152196764945984, -0.14081823825836182, -0.9878451824188232, 0.5730063915252686, -0.40961337089538574, -0.3691529929637909, 0.44997766613960266, 0.2584476172924042, -0.3751751780509949, -0.09588968008756638, -1.1801759004592896, 1.0182818174362183, -0.3937014937400818, -0.13124126195907593, -0.3841097354888916, -0.8406659364700317, 0.29230713844299316, 0.005625428166240454, 0.25082117319107056, 0.10350383073091507, -0.10777049511671066, 0.41350212693214417, -0.15275408327579498, 1.0527689456939697, -0.2147892564535141, 0.22301825881004333, -0.005458106752485037, 0.35878896713256836, 0.014564207755029202, 0.0405946709215641, -0.23953895270824432, -0.044225823134183884, 0.33812567591667175, -0.561729371547699, -0.8417720198631287, 0.4904457926750183, -1.0872046947479248, -0.2599503695964813, -0.45060309767723083, -0.8820770978927612, -0.04094722867012024, 0.11137033253908157, -0.08165799826383591, 0.8873087763786316, -0.13494765758514404, -0.15040652453899384, 0.4322469234466553, -0.3735840320587158, 0.36518198251724243, 0.4874438941478729, -0.32105106115341187, -0.2724100947380066, 1.254602313041687, -0.0814543142914772, 0.2637660801410675, 0.023106396198272705, -0.0366399846971035, -0.07106146961450577, -0.5576226711273193, -0.8203245997428894, -0.019159264862537384, -1.1018359661102295, 0.14626432955265045, -0.4626999795436859, 0.060745786875486374, -0.031639087945222855, -0.24562154710292816, -0.01581544056534767, -0.605758547782898, -0.347306489944458, -0.10166585445404053, 0.18767580389976501, 1.0004032850265503, -0.18244637548923492, 0.6262887716293335, -0.6290438175201416, 0.5816452503204346, 0.598412275314331, 0.3886207342147827, -0.2686326801776886, -0.47931501269340515, -0.07327386736869812, -0.26100680232048035, -0.023093633353710175, -0.9179078340530396, 0.6027495861053467, 0.33534058928489685, 0.7575293183326721, 0.5953172445297241, -0.31260791420936584, 0.6803508996963501, -0.03772508352994919, 0.4079629182815552, 0.048593733459711075, -1.0052095651626587, 0.7876845002174377, -0.2661736011505127, -0.0141444131731987, 0.46725425124168396, 0.19668914377689362, -0.20370328426361084, -0.11559228599071503, -0.5083062052726746, -0.30546969175338745, 0.9023981094360352, 0.21916520595550537, -0.053433410823345184, 0.42242446541786194, 0.6404520273208618, 0.4252401292324066, 0.2851962149143219, -0.5050222277641296, 0.018644072115421295, -0.46074017882347107, -0.3589606285095215, -0.45341089367866516, -0.02928009256720543, -0.4068026840686798, -0.16575056314468384, 0.5940191149711609, -0.6687960028648376, 0.24953871965408325, 0.026637574657797813, -0.6965051889419556, -0.003021560376510024, 0.1302805244922638, 0.37005582451820374, 0.9421653151512146, -0.11741001904010773, 0.44925999641418457, 0.09821096807718277, -0.36167263984680176, 0.16586719453334808, 0.5193728804588318, -0.09193823486566544, -0.009574675932526588, 0.42370492219924927, 0.7788073420524597, 0.16822387278079987, -0.6005421876907349, 0.3721405267715454, -0.3567922115325928, 0.0004227821482345462, -0.41733527183532715, 0.1984381079673767, -0.21250078082084656, 0.4888012111186981, 0.11061955243349075, 0.554131269454956, 0.3530391752719879, -0.851300060749054, 0.03972574323415756, 0.2431618869304657, -0.5882757306098938, -0.5179337859153748, 0.7682803869247437, 0.013187557458877563, -0.02623896114528179, 0.5301873683929443, -0.32065677642822266, -0.33326980471611023, 0.956139862537384, 0.06236150860786438, 0.5633100271224976, -0.05950028821825981, 0.6296747922897339, -0.03299754112958908, 0.3166530430316925, 0.06941783428192139, 0.18790674209594727, -0.05891921743750572, -0.8315503001213074, -0.35329529643058777, -0.6116352081298828, -0.6012730598449707, -0.5241080522537231, -0.8207940459251404, 0.07920867949724197, -0.21418578922748566, -0.06724762916564941, 0.579682469367981, -0.4817695915699005, -0.5726408362388611, 0.4511043131351471, 0.006419372744858265, 0.5489952564239502, -1.0601437091827393, 0.761037290096283, 1.1130592823028564, -0.8144200444221497, -0.512932300567627, -0.37633147835731506, 0.4075901508331299, -1.2792847156524658, 0.7148688435554504, 0.10881498456001282, -0.19600112736225128, -0.11193226277828217, -0.6726456880569458, -0.8151682615280151, 1.2679885625839233, 0.5459160804748535, 0.5195931196212769, 0.16057248413562775, -0.21578289568424225, 0.6929203867912292, -0.34417039155960083, 0.6590882539749146, 0.7803617715835571, 0.864005446434021, 0.32806575298309326, -0.9409448504447937, 0.057383015751838684, -0.5499088168144226, -0.06369031965732574, -0.12461654096841812, -0.45610734820365906, 0.7684301137924194, -0.19974666833877563, 0.12988105416297913, 0.15691648423671722, 0.48966091871261597, -0.29618892073631287, 0.6599748134613037, 0.9657182097434998, 0.4907592833042145, 0.707808792591095, -0.03595967963337898, 1.142133116722107, 0.06299541890621185, 0.040793582797050476, 0.8529506921768188, 0.1345994621515274, 0.5711079835891724, 0.28033897280693054, 0.13427799940109253, 0.5848066210746765, 0.5772074460983276, 0.09169677644968033, 0.40965670347213745, -0.05750017985701561, -0.13407723605632782, -0.6471689343452454, -0.1340404450893402, 0.09548208117485046, 0.7064849138259888, 0.3964533507823944, -0.4425548017024994, -0.16827258467674255, 0.617940366268158, -0.2108844667673111, -0.16352593898773193, -0.3148977756500244, 0.6240063905715942, -0.08940163999795914, -0.8651960492134094, 0.3712261915206909, -0.050011053681373596, 0.37160414457321167, -0.4809064567089081, -0.21844644844532013, 0.11475476622581482, 0.6100179553031921, -0.47373586893081665, -0.8834499716758728, 0.7320696115493774, -0.2866820693016052, -0.18207868933677673, -0.3989657163619995, 1.0113756656646729, -0.1234131008386612, -0.5033121109008789, 0.23371507227420807, 0.6495198011398315, 0.6177278161048889, -0.411242812871933, -0.6367921829223633, 0.07781828939914703, -0.44357189536094666, -0.24089565873146057, 0.34559205174446106, 0.3677472472190857, -0.08319941908121109, 1.1563084125518799, 0.46340033411979675, -0.24521781504154205, 0.14377209544181824, -0.10586248338222504, 1.0186032056808472, -0.5171836018562317, -0.24326898157596588, -0.3844496011734009, 0.6231761574745178, 0.08121031522750854, -0.23911204934120178, 0.31605806946754456, 0.0602584145963192, 0.23049958050251007, 0.006977799814194441, 0.7649295330047607, -0.2551252245903015, 0.10363918542861938, -0.3684869706630707, 0.7494417428970337, -0.8013008832931519, -0.11774175614118576, 0.1386045664548874, -0.7371845841407776, -0.29000434279441833, 0.7078135013580322, -0.27790966629981995, -0.13323695957660675, 0.7404977083206177, 0.9978117942810059, -0.22477176785469055, 0.030770940706133842, 0.5156517624855042, 0.36522749066352844, 0.0374213382601738, 0.353825181722641, 1.0979286432266235, -0.15283970534801483, 1.0503709316253662, 0.065196193754673, -0.45427265763282776, -0.20957468450069427, -0.6633773446083069, -0.9740070700645447, -0.6795042753219604, -0.18383851647377014, -0.4059631824493408, 0.02882402576506138, 0.6332809329032898, 0.8687540292739868, -0.5466330051422119, 0.1877460926771164, 0.27384552359580994, 0.2879056930541992, -0.505876898765564, -0.183677077293396, 0.11848387867212296, -0.35385075211524963, -0.8136583566665649, 0.49807387590408325, 0.20256905257701874, -0.12764453887939453, -0.4953257143497467, -0.11061502248048782, 0.21996939182281494, -0.035351935774087906, 0.6241466999053955, 0.29553744196891785, -0.7135664820671082, -0.4516688883304596, -0.036946605890989304, 0.09229899942874908, -0.027653176337480545, 0.45404252409935, -0.9583753943443298, 1.0866668224334717, 0.3840325176715851, 0.6128496527671814, 0.4580921530723572, -0.08515558391809464, 0.6203837990760803, -0.3757941722869873, 0.1445091813802719, -0.08925813436508179, 0.6177420020103455, 0.2334514707326889, -0.29262998700141907, 0.6638944745063782, 0.29915866255760193, -0.39679768681526184, -0.2390538454055786, 0.25388506054878235, -1.333711862564087, -0.18271036446094513, 1.1434262990951538, -0.4450454115867615, -0.4354448914527893, -0.4540257453918457, -0.5768479108810425, 0.033256176859140396, -0.24450986087322235, 0.5955029726028442, 0.7234542965888977, -0.34737348556518555, -0.1594243049621582, -0.7788936495780945, 0.19983813166618347, 0.41451048851013184, -0.9856584668159485, -0.5098369121551514, 0.8271583318710327, 0.40444907546043396, 0.4015454053878784, 0.3824632465839386, 0.029907267540693283, 0.5856978893280029, 0.16562797129154205, 0.15879693627357483, -0.3694593906402588, -0.3134743571281433, -0.727275550365448, 0.20703041553497314, 0.007059180177748203, -0.47115349769592285 ]
http://arxiv.org/abs/2404.14387v2
http://arxiv.org/pdf/2404.14387v2
A Survey on Self-Evolution of Large Language Models
2024-04-22T17:43:23
2024-06-03T17:47:30
Zhengwei Tao, Ting-En Lin, Xiancai Chen, Hangyu Li, Yuchuan Wu, Yongbin Li, Zhi Jin, Fei Huang, Dacheng Tao, Jingren Zhou
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have significantly advanced in various fields and intelligent agent applications. However, current LLMs that learn from human or external model supervision are costly and may face performance ceilings as task complexity and diversity increase. To address this issue, self-evolution approaches that enable LLM to autonomously acquire, refine, and learn from experiences generated by the model itself are rapidly growing. This new training paradigm inspired by the human experiential learning process offers the potential to scale LLMs towards superintelligence. In this work, we present a comprehensive survey of self-evolution approaches in LLMs. We first propose a conceptual framework for self-evolution and outline the evolving process as iterative cycles composed of four phases: experience acquisition, experience refinement, updating, and evaluation. Second, we categorize the evolution objectives of LLMs and LLM-based agents; then, we summarize the literature and provide taxonomy and insights for each module. Lastly, we pinpoint existing challenges and propose future directions to improve self-evolution frameworks, equipping researchers with critical insights to fast-track the development of self-evolving LLMs. Our corresponding GitHub repository is available at https://github.com/AlibabaResearch/DAMO-ConvAI/tree/main/Awesome-Self-Evolution-of-LLM
[ -0.35110968351364136, -0.6796053647994995, 0.5802091956138611, -0.02978462353348732, 0.07665295898914337, 0.4131354093551636, -0.4708649218082428, -0.4325389862060547, -0.014111869037151337, 0.6117889881134033, -0.8114591240882874, -0.16149941086769104, -0.3856405019760132, 0.2942914366722107, -0.27159565687179565, 1.0080851316452026, 0.21202173829078674, -0.12861135601997375, -0.09065782278776169, -0.04881368204951286, -0.20025773346424103, -0.36795079708099365, -0.6172146797180176, -0.4240843951702118, 0.4214579463005066, 0.3307083547115326, 0.3000546395778656, 0.8193677663803101, 0.2778138816356659, 0.3588024377822876, -0.07812432199716568, 0.4879830479621887, -0.415670245885849, 0.35592785477638245, -0.3928985595703125, -0.16611820459365845, -0.41038113832473755, -0.0752275362610817, 0.7029464244842529, 0.3405354619026184, -0.33280453085899353, 0.25779280066490173, -0.026552893221378326, 0.5158775448799133, -0.44661834836006165, 0.32526034116744995, -0.6345952153205872, -0.12131182849407196, -0.03347255662083626, -0.20157495141029358, -0.2393416315317154, 0.00703588780015707, 0.2931714951992035, -0.3878958523273468, -0.016278037801384926, 0.20524422824382782, 0.21222983300685883, 0.22802852094173431, -0.28684282302856445, -0.5056713223457336, -0.7880693674087524, 0.7992076277732849, -0.7937958836555481, 0.3352211117744446, -0.16674306988716125, 0.45912623405456543, -0.4759255349636078, -0.6764442920684814, -0.49267342686653137, -0.48992225527763367, 0.3102776110172272, 0.12659074366092682, -0.010844185017049313, -0.1883876621723175, -0.06632573157548904, 0.34998756647109985, -0.460354745388031, 0.603681206703186, -0.0987834706902504, 0.33708980679512024, 0.7537205815315247, 0.21107158064842224, 0.2795928716659546, 0.013764097355306149, -0.2592009902000427, -0.04977855458855629, -0.7678560614585876, -0.2323659062385559, 0.341877281665802, 0.3269929587841034, -0.22025565803050995, 0.069331094622612, -0.18966759741306305, 0.39028170704841614, 0.06587885320186615, -0.1557517647743225, 0.411284476518631, -0.26239171624183655, -0.08979379385709763, -0.18631482124328613, 0.9449985027313232, -0.19062508642673492, 0.2779642939567566, -0.2080753892660141, -0.12201014161109924, -0.6393318772315979, 0.3450942635536194, -0.617429792881012, -0.09171843528747559, 0.18350252509117126, -0.30225008726119995, -0.3160397410392761, -0.3880738914012909, -0.7968622446060181, -0.5768422484397888, -0.34284839034080505, 0.2805732786655426, -0.3338715136051178, -0.513681948184967, 0.21368440985679626, 0.17480668425559998, 0.31699928641319275, 0.4377547800540924, -1.0674694776535034, 0.1544094979763031, 0.672501266002655, 0.6155931353569031, -0.3162926733493805, -0.5365414023399353, -0.15930050611495972, 0.08133245259523392, -0.40629342198371887, 0.831727921962738, -0.4032251238822937, -0.3227807283401489, 0.07023424655199051, 0.09385377168655396, 0.02023664489388466, -0.5697570443153381, 0.21007095277309418, -0.6554908156394958, 0.3070175051689148, -0.004594945814460516, -0.4708448350429535, -0.12136819958686829, 0.23282335698604584, -0.2086707353591919, 1.0012742280960083, 0.22716766595840454, -0.3637272119522095, 0.1819090098142624, -0.912341296672821, -0.14532092213630676, 0.41329488158226013, -0.3311993479728699, -0.34893763065338135, 0.23525533080101013, 0.17805640399456024, 0.704231858253479, -0.6492332220077515, 0.23595060408115387, -0.49372991919517517, 0.19980230927467346, 0.2079668641090393, -0.1596749871969223, 0.7396335601806641, 0.3757116496562958, -0.44563931226730347, 0.13684003055095673, -0.8424995541572571, -0.06112530827522278, 0.2927534878253937, -0.2267526239156723, -0.06094028800725937, 0.27916720509529114, -0.3812597692012787, 0.43128228187561035, 0.4569590091705322, -0.4399915933609009, 0.6372566223144531, -0.5169305801391602, 0.6744978427886963, 0.9649872779846191, 0.2730918526649475, 0.3718827962875366, -0.007706900592893362, 0.5262097120285034, -0.044746238738298416, 0.3997148871421814, -0.3029418885707855, -0.05684463307261467, -0.7962604761123657, -0.12706159055233002, -0.0823642835021019, 0.3141389489173889, -0.5832613110542297, 0.6449682712554932, -0.37777289748191833, -0.71425461769104, -0.39742326736450195, 0.5876680612564087, 0.33831489086151123, 0.02663731575012207, 0.4990110993385315, -0.029510285705327988, -0.2545660436153412, -0.8302658796310425, -0.11725950241088867, -0.23037339746952057, 0.20793484151363373, 0.30503222346305847, 0.6252702474594116, -0.5548120141029358, 0.8429917097091675, -0.2753523290157318, -0.050792694091796875, -0.4305894672870636, -0.017631951719522476, -0.03580426052212715, 0.5214318633079529, 0.5373464226722717, -0.32822051644325256, -0.17686903476715088, 0.3699930012226105, -0.9407625794410706, -0.1592450588941574, -0.2823059558868408, -0.014856589026749134, 0.17828582227230072, 0.6753814220428467, -0.4460678994655609, -0.2804219424724579, 0.6754170656204224, -0.11071108281612396, 0.64915531873703, -0.45636048913002014, -0.28620994091033936, -1.2280176877975464, -0.28744611144065857, -0.08346540480852127, -0.20697790384292603, -0.5270017385482788, 0.3648868799209595, 0.04288448765873909, 0.3965948820114136, -0.1833547204732895, 0.7372618913650513, -0.9517329335212708, -0.20352329313755035, -0.566683292388916, 0.05080592632293701, -0.35739636421203613, 0.5198124647140503, -0.1265428066253662, 0.47458305954933167, 0.7211794257164001, -0.5491327047348022, 0.5278584957122803, -0.045434825122356415, -0.29420775175094604, 0.16453143954277039, -0.3309400677680969, 0.37628883123397827, -0.09219258278608322, 0.1205633133649826, -0.6581119894981384, 0.027267426252365112, 0.2782318890094757, -0.21960565447807312, 0.6003978252410889, -0.01595836691558361, -0.5861227512359619, -0.2725323438644409, -0.18059314787387848, 0.1744624823331833, 0.44984543323516846, -0.6961961984634399, 0.6108755469322205, 0.16225536167621613, -0.3910224735736847, -0.41389623284339905, -0.314757764339447, 0.37785473465919495, -0.2287740707397461, -0.31367045640945435, -0.17580516636371613, -0.46892139315605164, -0.34047845005989075, -0.23856395483016968, 0.05881374329328537, 0.37768712639808655, 0.20462727546691895, 0.011322567239403725, -0.002973408903926611, -0.2885545790195465, 0.24521715939044952, 0.014876513741910458, 0.07004232704639435, 0.23459766805171967, -0.6530472636222839, 0.5352270007133484, -0.15709224343299866, -0.17934057116508484, -0.267151802778244, 0.02328616753220558, 0.6336037516593933, -0.47917991876602173, 0.6503769755363464, 0.3229926824569702, 0.026784462854266167, -0.6316401958465576, -0.7954298257827759, -0.038567088544368744, -0.5264226794242859, 0.579932451248169, -0.45760321617126465, -1.023521065711975, 0.35205063223838806, -0.37864258885383606, 0.3498144745826721, 0.4873129725456238, 0.8824707269668579, 0.041640352457761765, 0.7694398164749146, 0.7952731847763062, -0.05039103329181671, 0.5567083954811096, -0.40035712718963623, 0.01016943994909525, -0.9435735940933228, -0.33619973063468933, -0.3167538642883301, 0.04317760095000267, -0.7553878426551819, -0.5248069167137146, 0.07876279950141907, -0.09297066926956177, -0.3149647116661072, 0.2986840605735779, -0.32986781001091003, 0.3187336325645447, 0.10057181119918823, -0.23813693225383759, 0.32949206233024597, -0.055081192404031754, 0.23834341764450073, 0.1972007155418396, -0.6263880133628845, -0.4288109838962555, 1.1554826498031616, 0.5759770274162292, 0.925118088722229, 0.17305347323417664, 0.8171667456626892, 0.5030033588409424, 0.40268874168395996, -0.5096087455749512, 0.41808444261550903, 0.1275664120912552, -0.5254203081130981, -0.5578803420066833, -0.4208510220050812, -0.8853673338890076, 0.27176633477211, -0.10271419584751129, -0.74317467212677, 0.2334355264902115, -0.014488022774457932, -0.15527483820915222, 0.0746561661362648, -0.4322361946105957, 0.8597029447555542, -0.6097900867462158, -0.20284582674503326, -0.308730810880661, -0.5964275002479553, 0.26830530166625977, -0.5688410401344299, 0.4530619978904724, -0.12370344251394272, -0.319659560918808, 0.5265538096427917, -0.14742855727672577, 0.6341182589530945, -0.05228053033351898, -0.5926820039749146, 0.42834070324897766, 0.1299319863319397, 0.5544309020042419, -0.023306747898459435, -0.08355355262756348, 0.19645994901657104, -0.1678047925233841, -0.26941245794296265, -0.832303524017334, 0.6378284692764282, -1.0172022581100464, -0.6678858399391174, -0.18791761994361877, -0.5062769055366516, -0.2977817952632904, 0.07121401280164719, -0.0073900832794606686, 0.4165080785751343, 0.017426077276468277, 0.16626477241516113, 0.5112943649291992, -0.20796111226081848, 0.577730119228363, 0.8327037692070007, -0.40469908714294434, -0.23252403736114502, 0.9303263425827026, 0.22557593882083893, 0.48555952310562134, 0.20971782505512238, 0.5321004986763, -0.3647841513156891, -1.0840868949890137, -0.2515135705471039, 0.5106645226478577, -0.6529263854026794, -0.05385620519518852, -0.765991747379303, -0.1838512271642685, -0.6862873435020447, 0.026255814358592033, -0.5285908579826355, -0.07390084862709045, -0.24311132729053497, -0.09091619402170181, 0.30179110169410706, 1.056545376777649, -0.054624538868665695, 0.38481464982032776, -0.49395325779914856, -0.015967991203069687, 0.4025469124317169, 0.04425647854804993, 0.08487270027399063, -0.9741459488868713, -0.4079388678073883, -0.15931716561317444, -0.18060782551765442, -0.5493741035461426, 0.4634237587451935, 0.365340918302536, 0.6553381681442261, 0.5803545713424683, -0.03544129058718681, 0.5082783699035645, -0.5208213925361633, 0.6838522553443909, 0.07589654624462128, -0.6293673515319824, 0.3494267463684082, -0.5097248554229736, 0.14226821064949036, 0.22685909271240234, 0.33454689383506775, -0.42904508113861084, -0.37671416997909546, -0.5662781596183777, -0.6288480162620544, 0.6432774662971497, -0.10144481807947159, 0.3384400010108948, 0.030595310032367706, 0.7366061806678772, 0.2563501298427582, 0.09993936866521835, -0.8536016345024109, -0.17993459105491638, -0.015459869988262653, -0.08418150991201401, -0.37950873374938965, -0.189983069896698, 0.042381543666124344, -0.18561951816082, 0.7953675389289856, -0.5537995100021362, -0.030878812074661255, -0.05041087791323662, -0.2976910173892975, 0.12650597095489502, 0.527613639831543, 0.5167325735092163, 0.7131446599960327, 0.01890473999083042, 0.022521965205669403, 0.4591596722602844, -0.20385649800300598, 0.25626859068870544, -0.097199447453022, 0.20329943299293518, -0.5786511898040771, 0.47954195737838745, 0.6075913906097412, 0.19947339594364166, -0.7728341221809387, 0.467166006565094, 0.03168828412890434, -0.09657615423202515, -0.4753953814506531, 0.37534457445144653, 0.22034189105033875, 0.7620223760604858, 0.4050489068031311, -0.5297151803970337, -0.005915532819926739, -0.7110863327980042, -0.1293446123600006, 0.2831319272518158, -0.18723264336585999, -0.4217322766780853, 0.23177529871463776, 0.16316896677017212, -0.40410393476486206, 0.28426358103752136, -0.5717875957489014, -0.21928395330905914, 0.3979673683643341, 0.711710512638092, 1.107853889465332, -0.2696519196033478, 0.0762207955121994, -0.010686349123716354, 0.367497980594635, -0.1419806182384491, -0.049492042511701584, -0.24241286516189575, -0.7134929895401001, -0.35310572385787964, -0.9377864003181458, -0.37517017126083374, 0.35768693685531616, -0.2823556661605835, 0.16360533237457275, -0.5535691976547241, 0.31830349564552307, -0.05162549763917923, 0.047214314341545105, -0.41793203353881836, 0.10791347920894623, 0.3641974925994873, 0.8256510496139526, -0.40254566073417664, 0.906896710395813, 0.7384653091430664, -0.18698586523532867, -0.4913638234138489, -0.1239551305770874, -0.05253316089510918, -1.0998765230178833, 0.8034834265708923, -0.043327696621418, -0.30273324251174927, 0.40665504336357117, -0.6528266072273254, -1.0422327518463135, 1.0246803760528564, 0.2314516007900238, -0.7499929666519165, -0.34596267342567444, -0.0793803408741951, 0.7553164958953857, -0.6955486536026001, 0.3235946297645569, 0.5825332999229431, 0.09674744307994843, -0.15303796529769897, -0.5751243233680725, -0.10462551563978195, -0.043114807456731796, 0.1882794350385666, 0.05882202833890915, -0.9621676802635193, 0.7348780035972595, -0.24415840208530426, -0.11735016107559204, 0.17061138153076172, 0.8147194981575012, -0.10471337288618088, -0.15041682124137878, 0.4501698315143585, 0.3886070251464844, 0.2562161684036255, 0.34604334831237793, 0.7114261984825134, -0.5412923693656921, 0.4240226745605469, 1.2113033533096313, -0.3164505362510681, 0.7333389520645142, 0.10955967009067535, -0.12795431911945343, 0.8434688448905945, 0.5766639113426208, -0.2516217529773712, 0.09722530096769333, 0.3876720070838928, -0.1732437014579773, -0.4205091893672943, 0.1251213252544403, -0.27476003766059875, 0.7577017545700073, 0.47125017642974854, -0.36197376251220703, -0.3668099343776703, 0.028708280995488167, 0.01268697064369917, -0.1321602463722229, -0.24410951137542725, 0.9630579352378845, 0.015584209933876991, -0.6769861578941345, 0.26049765944480896, -0.09715475142002106, 0.6316006779670715, -0.748307466506958, 0.054600611329078674, -0.28505319356918335, 0.1664879471063614, -0.13941389322280884, -0.5013974905014038, -0.24894732236862183, 0.04836909472942352, 0.022371385246515274, -0.410606324672699, 0.4995618760585785, -0.2063566893339157, -0.2898540496826172, 0.5670666694641113, 0.8601818084716797, 0.29537782073020935, 0.01240468118339777, -0.7853779196739197, 0.02968495897948742, -0.31525900959968567, -0.5706319212913513, 0.47990575432777405, 0.5581160187721252, 0.0470513179898262, 0.9814687371253967, 0.5803684592247009, 0.13470835983753204, 0.2932312786579132, 0.034532371908426285, 0.6807428002357483, -0.8524777293205261, -0.3667777180671692, -1.1537516117095947, 0.14418092370033264, 0.003281697165220976, -0.44635799527168274, 0.7550050616264343, 0.36344483494758606, 0.6807315945625305, 0.10058294236660004, 0.827160656452179, 0.23098601400852203, 0.4304349720478058, -0.4577513039112091, 0.6796754598617554, -0.6303449869155884, 0.19421657919883728, -0.22900208830833435, -0.9594473838806152, 0.1667475402355194, 0.28006231784820557, -0.26650509238243103, 0.19920744001865387, 0.5513701438903809, 0.7124074101448059, 0.2070862352848053, -0.14322054386138916, 0.323747843503952, 0.48960182070732117, 0.5515947341918945, 0.34045055508613586, 1.2212802171707153, 0.05171191692352295, 0.39003556966781616, 0.06201647222042084, -0.3568378984928131, -0.1807064712047577, -0.812573254108429, -0.9517841935157776, -0.4761442542076111, -0.5461822152137756, 0.07335291057825089, 0.0923280119895935, 1.3034859895706177, 0.8939567804336548, -0.4398208260536194, -0.5074148178100586, -0.15477357804775238, -0.23098474740982056, 0.0526934377849102, -0.14913691580295563, 0.14280739426612854, -0.8064171671867371, -0.6340068578720093, 0.6130074858665466, 0.6172678470611572, 0.06795549392700195, -0.8732853531837463, -0.22865842282772064, -0.13224928081035614, 0.03395463153719902, 0.7179545760154724, 0.6575450301170349, -0.7345244288444519, -0.29308968782424927, -0.06501269340515137, 0.007986768148839474, -0.028974931687116623, 0.6614826917648315, -0.6051259636878967, 0.5754319429397583, 0.05363265797495842, 0.8969456553459167, 0.4258054196834564, -0.4673148989677429, 0.4377579987049103, -0.4984883964061737, -0.3495400547981262, -0.055868636816740036, 0.28656062483787537, 0.27976611256599426, -0.18331299722194672, 0.3930024206638336, 0.33543625473976135, -0.851137101650238, -0.8981784582138062, 0.36429888010025024, -0.7800530791282654, -0.37074247002601624, 1.1770011186599731, -0.015781700611114502, -0.2441684454679489, -0.10387105494737625, -0.06506301462650299, 0.12057258933782578, -0.2726947069168091, 0.9381577372550964, 0.5287418961524963, -0.4812570810317993, -0.4457986652851105, -0.5456346273422241, 0.47572383284568787, 0.15952515602111816, -1.2853323221206665, 0.5352615714073181, 0.3192618489265442, 0.48798659443855286, 0.21150954067707062, 0.3487785756587982, 0.07905521988868713, 0.07924133539199829, -0.2310027778148651, 0.2954091727733612, -0.11524950712919235, -0.4392439126968384, -0.6562714576721191, 0.009822373278439045, 0.4966779053211212, 0.1490403562784195 ]
http://arxiv.org/abs/2404.14469v2
http://arxiv.org/pdf/2404.14469v2
SnapKV: LLM Knows What You are Looking for Before Generation
2024-04-22T17:42:58
2024-06-17T03:01:58
Yuhong Li, Yingbing Huang, Bowen Yang, Bharat Venkitesh, Acyr Locatelli, Hanchen Ye, Tianle Cai, Patrick Lewis, Deming Chen
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have made remarkable progress in processing extensive contexts, with the Key-Value (KV) cache playing a vital role in enhancing their performance. However, the growth of the KV cache in response to increasing input length poses challenges to memory and time efficiency. To address this problem, this paper introduces SnapKV, an innovative and fine-tuning-free approach that efficiently minimizes KV cache size while still delivering comparable performance in real-world applications. We discover that each attention head in the model consistently focuses on specific prompt attention features during generation. Meanwhile, this robust pattern can be obtained from an 'observation' window located at the end of the prompts. Drawing on this insight, SnapKV automatically compresses KV caches by selecting clustered important KV positions for each attention head. Our approach significantly reduces the growing computational overhead and memory footprint when processing long input sequences. Specifically, SnapKV achieves a consistent decoding speed with a 3.6x increase in generation speed and an 8.2x enhancement in memory efficiency compared to the baseline when processing inputs of 16K tokens. At the same time, it maintains comparable performance to the baseline models across 16 long sequence datasets. Moreover, SnapKV can process up to 380K context tokens on a single A100-80GB GPU using HuggingFace implementation with minor changes, exhibiting only a negligible accuracy drop in the Needle-in-a-Haystack test. Further comprehensive studies suggest SnapKV's potential for practical applications.
[ -0.4497978091239929, -0.5372563600540161, 0.5289101600646973, 0.29487016797065735, -0.5677797794342041, 0.0313248373568058, -0.322061151266098, -0.3241332769393921, 0.15823861956596375, 0.5019853711128235, -0.5797638893127441, -0.45196449756622314, -0.4887438118457794, -0.22987569868564606, -0.11946655064821243, 0.47669461369514465, 0.1932625025510788, -0.3363291621208191, -0.3926082253456116, -0.040589187294244766, -0.4252152740955353, -0.1722627878189087, -0.4423949718475342, -0.09869220852851868, 0.36753612756729126, 0.5760757327079773, 0.5049856305122375, 0.9590824842453003, 0.2853452265262604, 0.21134842932224274, -0.43968093395233154, 0.36296170949935913, -0.7701025605201721, 0.5264945030212402, 0.12446989864110947, -0.24697893857955933, -0.4227319061756134, -0.23577609658241272, 0.656904399394989, 0.19835799932479858, 0.06190328299999237, 0.2547159194946289, -0.0366213284432888, 0.7906165719032288, -1.0476914644241333, 0.2332833707332611, -0.7174261212348938, -0.15788234770298004, -0.1953928917646408, -0.2566382586956024, -0.5703033208847046, -0.3189176023006439, -0.05870500206947327, -0.416801393032074, 0.3107723593711853, -0.2977933883666992, 0.7932236194610596, 0.5441872477531433, -0.08927346765995026, 0.25588756799697876, -0.5450263023376465, 0.8030242919921875, -0.6778448224067688, 0.41784942150115967, 0.1842840015888214, 0.24131493270397186, -0.3367840349674225, -0.38234058022499084, -0.4048379063606262, 0.18016543984413147, 0.36879613995552063, 0.0660434290766716, 0.0952482745051384, 0.19373421370983124, 0.2615514397621155, 0.4978838860988617, -0.448072224855423, 0.1447194665670395, -0.10970310866832733, -0.38263577222824097, 0.4649428725242615, 0.41419681906700134, 0.24018481373786926, -0.31903430819511414, -0.05437489226460457, -0.2363569736480713, -0.9301292896270752, 0.378479927778244, 0.19210535287857056, 0.5843890309333801, 0.06800396740436554, 0.4200865626335144, -0.43097618222236633, 0.5749329328536987, 0.13351640105247498, -0.21952135860919952, 0.04406403377652168, -0.553175687789917, -0.15311644971370697, 0.028059465810656548, 0.558474600315094, 0.41587889194488525, 0.056933581829071045, -0.06285733729600906, -0.06063995510339737, 0.1874815672636032, 0.2693413197994232, -1.047213077545166, -0.20215652883052826, 0.17303584516048431, -0.1536649465560913, -0.4396689534187317, -0.3244537115097046, -0.7101980447769165, -0.21049918234348297, -0.16205285489559174, 0.0019402735633775592, -0.4481019079685211, -0.07514490187168121, 0.03440369665622711, 0.08069853484630585, 0.6516653895378113, 0.46736422181129456, -0.9317081570625305, 0.1402021050453186, 0.8506196737289429, 0.9298206567764282, -0.3760814964771271, 0.07348249852657318, -0.9036840200424194, -0.03366473317146301, -0.3331773579120636, 0.6939694285392761, -0.5641087889671326, -0.4012007415294647, -0.20523986220359802, -0.21736320853233337, 0.2547755837440491, -0.5811599493026733, 0.1987786740064621, -0.5127987265586853, -0.47199946641921997, -0.4595242440700531, -0.39045849442481995, 0.2624543309211731, 0.18366439640522003, -0.6765800714492798, 1.287837028503418, 0.2811152935028076, -0.6379608511924744, 0.6465169191360474, -0.17766501009464264, -0.5538885593414307, 0.3236156105995178, -0.04732659459114075, -0.40731334686279297, 0.37127503752708435, 0.43888619542121887, 0.5478877425193787, -0.2296309471130371, 0.15409620106220245, -0.24846799671649933, -0.45997264981269836, -0.09919747710227966, -0.1772695779800415, 0.3769586682319641, 0.10614285618066788, -0.17567479610443115, 0.15944519639015198, -0.7184104919433594, 0.11241529881954193, 0.042093850672245026, -0.6468385457992554, -0.4543100595474243, -0.1593036949634552, -0.013404152356088161, 0.23072513937950134, 0.1960020363330841, -0.6268938183784485, 0.5265805125236511, -0.6748682856559753, 0.49594902992248535, 0.7703585028648376, -0.04170335829257965, 0.5060180425643921, 0.04678329825401306, 0.5367511510848999, 0.18701133131980896, 0.15552592277526855, -0.7704609036445618, -0.3769162595272064, -0.8731337785720825, -0.5208736658096313, 0.17469128966331482, 0.30321159958839417, -0.7180214524269104, 0.3544102609157562, -0.3947280943393707, -0.16404493153095245, -0.8638883829116821, 0.18508940935134888, 0.3554975092411041, 0.5675473213195801, 0.21688026189804077, -0.2837514281272888, -0.5124017000198364, -0.9842797517776489, -0.1963801234960556, 0.06961005926132202, 0.08972159773111343, 0.6994582414627075, 0.04563916474580765, -0.1794602870941162, 1.0225319862365723, -0.6090317368507385, 0.20022746920585632, -0.28588223457336426, 0.027740390971302986, 0.1538323611021042, 0.30074378848075867, 0.15094193816184998, -0.46628519892692566, -0.37866637110710144, -0.077902652323246, -0.12755493819713593, -0.1505746841430664, -0.03907857462763786, -0.17510288953781128, 0.34588009119033813, 0.3590086102485657, -0.7780845165252686, 0.3863309323787689, 0.21554209291934967, -0.23374193906784058, 0.6698397397994995, -0.1971067488193512, 0.07014951854944229, -1.226759433746338, 0.06387212127447128, -0.3264918923377991, -0.5362128019332886, -0.4029625952243805, 0.10587526112794876, 0.37891170382499695, 0.03045552596449852, -0.7213132381439209, 0.6315970420837402, -0.41643986105918884, -0.13398435711860657, -0.38262009620666504, 0.15855933725833893, -0.0611235648393631, 0.38012608885765076, -0.2513132393360138, 1.055786371231079, 0.4098801612854004, -0.7554394006729126, 0.2731951177120209, 0.17666788399219513, -0.5574302673339844, 0.06150858849287033, -0.31093892455101013, 0.2148871272802353, -0.17908981442451477, 0.18471191823482513, -0.9963328838348389, -0.2898905575275421, -0.22624999284744263, -0.553253710269928, 0.5163946747779846, -0.17390315234661102, -0.46618175506591797, -0.4703112542629242, -0.5893667340278625, 0.46679386496543884, 0.7097960114479065, -0.7602855563163757, 0.40084442496299744, 0.45721328258514404, -0.035551682114601135, -0.8038988709449768, -0.44860154390335083, 0.004203628748655319, -0.08605745434761047, -0.6376294493675232, 0.04209361970424652, -0.024294529110193253, 0.12388473004102707, -0.29370418190956116, -0.30072882771492004, 0.058312203735113144, 0.08478798717260361, 0.20776209235191345, 0.2939208149909973, -0.3558044135570526, 0.09681285917758942, 0.27416956424713135, -0.3185451030731201, -0.3474399149417877, -0.21571290493011475, 0.5493818521499634, -0.14804714918136597, 0.19460098445415497, -0.22820238769054413, 0.3098406195640564, 1.0550931692123413, -0.1002635583281517, 0.5047616958618164, 0.39788883924484253, -0.1944202333688736, -0.5324704051017761, -0.6251392960548401, -0.19379281997680664, -0.5297819972038269, 0.39483264088630676, -0.28759610652923584, -1.213671326637268, 0.6224917769432068, -0.22334915399551392, -0.012224024161696434, 0.1250636875629425, 0.7886448502540588, 0.2674179673194885, 0.8885639309883118, 0.6008268594741821, -0.4136926829814911, 0.4723283350467682, -0.14955270290374756, 0.3976075053215027, -1.0879542827606201, -0.06781252473592758, -0.16282109916210175, -0.27641770243644714, -0.3016187846660614, -0.8606826066970825, 0.1718357503414154, 0.13213331997394562, -0.031972188502550125, 0.30582183599472046, -0.6178690195083618, 0.8619624972343445, 0.259989857673645, 0.01812463067471981, 0.09214892238378525, -0.34270671010017395, -0.390607625246048, -0.09847085177898407, -0.7710770964622498, -0.18942083418369293, 0.842010498046875, 0.02281906269490719, 0.8690277338027954, -0.22788570821285248, 0.4820626974105835, 0.055676065385341644, -0.018971865996718407, -1.0569382905960083, 0.7501809000968933, -0.10461199283599854, -0.14586961269378662, -0.23534467816352844, -0.35622504353523254, -0.7937994599342346, 0.19387856125831604, 0.07267849892377853, -0.8906655311584473, -0.11299638450145721, 0.5155267715454102, -0.7024922370910645, 0.2875332832336426, -0.46916884183883667, 0.5834683775901794, 0.1110341027379036, -0.5150868892669678, -0.20034882426261902, -0.5468146800994873, 0.598081111907959, 0.135668084025383, -0.38878223299980164, -0.32359400391578674, -0.0045820982195436954, 0.29936227202415466, -0.36997148394584656, 0.7259253263473511, -0.018803641200065613, 0.04380637779831886, 0.3337119519710541, 0.188155859708786, 0.7730212807655334, 0.1869886815547943, 0.24207356572151184, -0.23634447157382965, -0.2182435542345047, -0.2691388726234436, -0.5409848690032959, 1.1206732988357544, -0.6497200727462769, -0.5059297680854797, 0.08971880376338959, -0.6547807455062866, -0.18706241250038147, 0.1838376820087433, 0.29777517914772034, 0.3432888686656952, -0.20112866163253784, 0.301455557346344, 1.1348462104797363, -0.42148470878601074, 0.5333528518676758, 0.30635493993759155, -0.0430813767015934, -0.28363144397735596, 0.7881060838699341, 0.025061912834644318, 0.27600809931755066, 0.41973263025283813, 0.281853586435318, -0.18462353944778442, -0.3408147990703583, -0.5035171508789062, 0.27162855863571167, -0.5944342613220215, -0.5450652837753296, -0.7704467177391052, -0.16303618252277374, -0.6193031072616577, -0.43872565031051636, -1.059300422668457, -0.46341294050216675, -0.332865446805954, -0.06783535331487656, 0.6109705567359924, 0.27181482315063477, 0.24064840376377106, 0.3465065658092499, -0.816642165184021, 0.32107552886009216, 0.3057943284511566, 0.5754891633987427, 0.185368150472641, -0.2331264615058899, -0.31740084290504456, -0.39039915800094604, -0.18961568176746368, -0.4133880138397217, 0.49551188945770264, 0.09639119356870651, 0.20657242834568024, 0.46685782074928284, 0.1157897487282753, 0.8598290681838989, -0.5191206336021423, 0.9467971324920654, -0.04259189963340759, -0.9808306097984314, 0.6712174415588379, -0.34772002696990967, 0.9589545726776123, 0.5662859678268433, -0.1428878903388977, -0.578552782535553, -0.36147624254226685, -0.5138190388679504, -1.381196141242981, 0.7177607417106628, -0.005290917120873928, 0.04141790792346001, -0.011615010909736156, 0.597632646560669, 0.2767578959465027, 0.058902014046907425, -0.09018989652395248, 0.019824739545583725, 0.10571213811635971, -0.1318204402923584, 0.062688447535038, -0.3675711750984192, 0.3738405108451843, -0.38740256428718567, 0.4498319625854492, -0.2924196720123291, 0.20650891959667206, 0.11250156164169312, -0.2697334885597229, -0.14070411026477814, 0.22799597680568695, 0.73090660572052, 0.38473638892173767, -0.05382882431149483, 0.17195247113704681, 0.25117626786231995, -0.6549773216247559, -0.0629580169916153, -0.42437610030174255, -0.2901291847229004, -0.08487176895141602, -0.040347978472709656, 0.9823576807975769, 0.5663611888885498, -0.7760522961616516, 0.47828832268714905, -0.12430313229560852, 0.0029665317852050066, 0.07194803655147552, 0.278837114572525, 0.2074621021747589, 0.2541447877883911, -0.01942736655473709, -0.22821590304374695, 0.041552457958459854, -0.0713280662894249, 0.3860357701778412, 0.4179554879665375, -0.016387775540351868, -0.4821374714374542, 0.5397000908851624, 0.28754401206970215, -0.11000392585992813, 0.8264843821525574, 0.10092417150735855, -0.5384944081306458, 0.5635011792182922, 0.5069096684455872, 1.130431056022644, -0.3671477437019348, -0.11580996960401535, 0.5264074802398682, 0.10409815609455109, -0.1880030483007431, 0.3107093572616577, -0.5321281552314758, -0.6915013194084167, -0.670788586139679, -0.8777722120285034, -0.27716726064682007, 0.47412553429603577, -0.6442002654075623, 0.35405898094177246, -0.45503807067871094, -0.04884791001677513, -0.20939619839191437, -0.15581563115119934, -0.7231844663619995, -0.15904460847377777, 0.2628387212753296, 0.9913651943206787, -0.7763994336128235, 1.0624960660934448, 0.2343631237745285, 0.1414346843957901, -0.630012571811676, -0.30244359374046326, -0.0386042445898056, -0.7825853824615479, 0.35816532373428345, 0.45619359612464905, -0.37833163142204285, -0.1761874407529831, -0.6701352596282959, -1.0775477886199951, 0.9459470510482788, 0.34896770119667053, -0.6132339239120483, -0.04959416761994362, -0.02025333233177662, 0.22643141448497772, -0.34448471665382385, -0.12240631878376007, 0.8999258279800415, 0.22724871337413788, 0.3932986259460449, -0.7049107551574707, 0.09954153001308441, -0.34006738662719727, 0.2864767014980316, 0.6412879824638367, -0.859345018863678, 0.6149698495864868, -0.36633017659187317, -0.1857166290283203, 0.060684967786073685, 0.6065807938575745, 0.279748797416687, -0.020002873614430428, 0.19173181056976318, 0.7486803531646729, 0.7434220910072327, -0.05992523580789566, 0.9286646246910095, -0.4376126825809479, 0.2859823405742645, 1.0841293334960938, -0.08733507990837097, 0.7899907231330872, 0.670102596282959, 0.19177618622779846, -0.1097153052687645, 0.6529046297073364, 0.17633162438869476, 0.7409317493438721, 0.26830601692199707, -0.3433966636657715, -0.5081191658973694, 0.12988102436065674, -0.08073806017637253, 0.3537064492702484, 0.4166916310787201, -0.20841757953166962, -0.21678592264652252, 0.03696306794881821, -0.013590587303042412, -0.4092119634151459, -0.4684031307697296, 0.7015615105628967, 0.061892781406641006, -0.7073270678520203, 0.5847271084785461, -0.22807367146015167, 0.714889645576477, -0.5776010751724243, 0.07390965521335602, -0.2522863745689392, 0.48743587732315063, 0.20450083911418915, -0.5345649123191833, 0.24272683262825012, 0.03922759369015694, -0.420315682888031, -0.23069025576114655, 0.9005582928657532, -0.4249420762062073, -0.23231086134910583, 0.0049530318938195705, 0.13623225688934326, 0.1551569700241089, -0.0003436146362219006, -0.27586743235588074, 0.3316989243030548, -0.11055099219083786, -0.4304039180278778, 0.4586155414581299, 0.31036996841430664, 0.008836861699819565, 0.7712559700012207, 0.5760989785194397, 0.22015103697776794, 0.2675850987434387, -0.21402157843112946, 1.2496992349624634, -0.8919388055801392, -0.8003175854682922, -0.8476495742797852, 0.47438016533851624, 0.0862174779176712, -0.47923243045806885, 0.6626896262168884, 0.6660794615745544, 0.6855931878089905, -0.07161214202642441, 0.7046977877616882, 0.3484989404678345, 0.20802725851535797, -0.4138466715812683, 0.7023422718048096, -0.26336055994033813, -0.0674382895231247, -0.2224539816379547, -0.7074040770530701, -0.424995094537735, 0.4868629276752472, -0.11930983513593674, -0.33508381247520447, 0.2670237123966217, 0.6738372445106506, -0.05237433686852455, -0.07654964178800583, 0.4633479118347168, 0.28356999158859253, 0.4642012119293213, 0.7760964035987854, 0.5474852323532104, -0.24706146121025085, 0.3672315776348114, 0.03696245700120926, -0.15872959792613983, -0.5325443148612976, -0.9622408151626587, -0.6885737180709839, -0.357974112033844, -0.25898799300193787, -0.31548240780830383, -0.03825107961893082, 0.8221725821495056, 0.8864835500717163, -0.6240726113319397, 0.06131695955991745, -0.028598351404070854, 0.06750154495239258, -0.05543888732790947, -0.24883031845092773, 0.26827389001846313, -0.4794255197048187, -0.5497798323631287, 0.6840671896934509, 0.800096333026886, -0.10520967096090317, -0.22888267040252686, -0.0781618058681488, 0.1319974958896637, 0.3838735520839691, 0.8238317966461182, 0.39503228664398193, -0.804220974445343, -0.29539525508880615, 0.13286587595939636, -0.05246010422706604, 0.4537962079048157, 1.219906210899353, -1.1068859100341797, 0.8615415692329407, 0.7400890588760376, 0.9528605341911316, 0.8297904133796692, 0.0026650631334632635, 0.5371231436729431, -0.7025915384292603, 0.2101949006319046, 0.43255507946014404, 0.1320466250181198, 0.3230300843715668, -0.6794968843460083, -0.017428291961550713, 0.02485538274049759, -0.5778903961181641, -0.9346433877944946, 0.25433167815208435, -1.138507604598999, -0.1813853681087494, 1.1030807495117188, 0.06955859810113907, -0.6158077120780945, 0.10521048307418823, -0.06578665971755981, 0.32719430327415466, -0.7175219058990479, 0.7366157174110413, 0.8409318327903748, -0.16275805234909058, -0.33183324337005615, -0.44033586978912354, 0.6275628805160522, 0.20026203989982605, -0.45285117626190186, 0.6460054516792297, 0.39722201228141785, 0.2287871390581131, -0.13896338641643524, 0.5365954041481018, -0.14901725947856903, 0.38291463255882263, 0.0146127138286829, 0.028947778046131134, -0.17191432416439056, -0.48495426774024963, -0.4040818512439728, 0.12540633976459503, -0.14061883091926575, -0.18164333701133728 ]
http://arxiv.org/abs/2406.02560v2
http://arxiv.org/pdf/2406.02560v2
Less Peaky and More Accurate CTC Forced Alignment by Label Priors
2024-04-22T17:40:08
2024-06-15T22:02:03
Ruizhe Huang, Xiaohui Zhang, Zhaoheng Ni, Li Sun, Moto Hira, Jeff Hwang, Vimal Manohar, Vineel Pratap, Matthew Wiesner, Shinji Watanabe, Daniel Povey, Sanjeev Khudanpur
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG
Connectionist temporal classification (CTC) models are known to have peaky output distributions. Such behavior is not a problem for automatic speech recognition (ASR), but it can cause inaccurate forced alignments (FA), especially at finer granularity, e.g., phoneme level. This paper aims at alleviating the peaky behavior for CTC and improve its suitability for forced alignment generation, by leveraging label priors, so that the scores of alignment paths containing fewer blanks are boosted and maximized during training. As a result, our CTC model produces less peaky posteriors and is able to more accurately predict the offset of the tokens besides their onset. It outperforms the standard CTC model and a heuristics-based approach for obtaining CTC's token offset timestamps by 12-40% in phoneme and word boundary errors (PBE and WBE) measured on the Buckeye and TIMIT data. Compared with the most widely used FA toolkit Montreal Forced Aligner (MFA), our method performs similarly on PBE/WBE on Buckeye, yet falls behind MFA on TIMIT. Nevertheless, our method has a much simpler training pipeline and better runtime efficiency. Our training recipe and pretrained model are released in TorchAudio.
[ -0.1428796350955963, -0.3891814947128296, 0.07904625684022903, -0.15827564895153046, -0.18490058183670044, 0.11015526950359344, -0.0732097327709198, -0.2937120795249939, 0.07019461691379547, 0.3168148398399353, -0.611714243888855, -0.5761820673942566, -0.5541188716888428, -0.11685869097709656, -0.042351361364126205, 0.9379056692123413, 0.19678808748722076, -0.15267352759838104, 0.15156593918800354, -0.36990025639533997, -0.7881302237510681, -0.5549139380455017, -0.6374437212944031, -0.4759296178817749, 0.4571390151977539, 0.20601993799209595, 0.62180095911026, 0.8625462651252747, 0.32182180881500244, 0.19245626032352448, -0.25528964400291443, 0.1753469854593277, -0.3443393111228943, -0.1275869905948639, 0.27141210436820984, -0.24846306443214417, -0.6472353339195251, 0.16792535781860352, 0.5866511464118958, 0.648657500743866, -0.31632623076438904, -0.049160365015268326, 0.15933087468147278, 0.4148595333099365, -0.7587513327598572, -0.06538369506597519, -0.8545812964439392, -0.13883084058761597, -0.20344868302345276, -0.2030203938484192, -0.6548534631729126, -0.4302251636981964, 0.3070157468318939, -0.646636426448822, 0.38985544443130493, -0.11965542286634445, 1.0111467838287354, 0.4749050736427307, -0.5359663963317871, -0.10621125251054764, -0.6283867955207825, 0.6372296810150146, -0.7031224370002747, 0.8688835501670837, 0.25069117546081543, 0.238864004611969, -0.16854453086853027, -0.6365190744400024, -0.5266450047492981, -0.06021421030163765, 0.02915201708674431, 0.26679113507270813, -0.1283620446920395, 0.1350298821926117, 0.2877640724182129, 0.11798148602247238, -0.7182632684707642, 0.4723895192146301, -0.38048529624938965, -0.5464335680007935, 0.3647582530975342, 0.1571200042963028, -0.12014652043581009, 0.0920737236738205, -0.5276134014129639, -0.2479565143585205, -0.8120546936988831, 0.2721603214740753, 0.30730774998664856, 0.33050960302352905, 0.007969739846885204, 0.3163923919200897, 0.08959615230560303, 0.9137208461761475, 0.5489054918289185, -0.00021434079098980874, 0.41072365641593933, -0.3481040298938751, -0.12696188688278198, 0.43178847432136536, 0.7792319059371948, 0.2972409129142761, 0.013019022531807423, -0.1605362594127655, -0.24330441653728485, 0.11490725725889206, 0.1402522474527359, -0.7040156722068787, -0.38596513867378235, 0.13149848580360413, -0.009369983337819576, -0.034240011125802994, 0.13081194460391998, -0.23780423402786255, -0.21285119652748108, -0.651148796081543, 0.3113155961036682, -0.5624057650566101, 0.13095633685588837, -0.14763782918453217, 0.22089502215385437, 0.33865952491760254, 0.2920273542404175, -0.7749549746513367, 0.023894991725683212, 0.453755646944046, 1.0668727159500122, -0.23219634592533112, 0.010088893584907055, -0.9745602607727051, 0.26725247502326965, -0.3993494510650635, 0.7536922097206116, -0.30668070912361145, -0.5612224340438843, -0.04214230179786682, -0.054059285670518875, -0.38602542877197266, -0.5674781203269958, 0.43161073327064514, -0.5313926339149475, 0.09225574135780334, 0.01110902987420559, -0.5732235908508301, 0.08955762535333633, -0.05283781886100769, -0.5381835103034973, 0.9641544818878174, -0.22563296556472778, -0.6523306965827942, 0.5771625638008118, -0.36037108302116394, -0.35128408670425415, -0.001476320088841021, -0.0547269731760025, -0.43954089283943176, -0.19077713787555695, 0.6080633997917175, 0.4292820990085602, -0.025459837168455124, 0.4527716636657715, -0.11579374223947525, -0.3935578763484955, 0.24759113788604736, -0.4461275041103363, 1.021586537361145, 0.3844900131225586, -0.34468165040016174, 0.2982361912727356, -0.751099705696106, 0.10804616659879684, -0.38317692279815674, -0.3722900450229645, -0.20428414642810822, -0.13254401087760925, 0.04192278906702995, 0.14362959563732147, -0.02620828151702881, -0.42635056376457214, 0.3027596175670624, -0.5702338218688965, 0.479543000459671, 0.7740437388420105, -0.07349015772342682, 0.5153298377990723, -0.28079357743263245, 0.09967932850122452, 0.1225854679942131, 0.08026451617479324, 0.14462734758853912, -0.2652744948863983, -0.428699254989624, -0.4143611788749695, 0.467795193195343, 0.7616665363311768, -0.5537720918655396, 0.86146080493927, -0.6189700961112976, -0.6749480366706848, -0.40602239966392517, 0.1280471533536911, 0.42089536786079407, 0.7036193013191223, 0.25710999965667725, -0.49212923645973206, -0.4713887572288513, -0.6331882476806641, 0.01996973343193531, -0.14843638241291046, -0.16336524486541748, 0.17306622862815857, 0.05227266252040863, -0.20387393236160278, 1.1368645429611206, -0.574439287185669, -0.3674553334712982, -0.015066977590322495, 0.5154882073402405, 0.4460950195789337, 0.8510051965713501, 0.28301575779914856, -0.5742331147193909, -0.23754963278770447, -0.13229215145111084, -0.10402633249759674, -0.41496437788009644, -0.20178893208503723, -0.17413516342639923, 0.406960666179657, 0.38099831342697144, -0.31863611936569214, 0.39787888526916504, 0.3610445559024811, -0.12547871470451355, 0.4609486162662506, 0.008652767166495323, 0.10413949191570282, -1.0486282110214233, 0.30020689964294434, 0.19731582701206207, -0.10737321525812149, -0.7354943156242371, -0.5266308784484863, 0.20154331624507904, -0.03401613235473633, -0.40472638607025146, 0.32079753279685974, -0.3663623034954071, 0.27156299352645874, -0.07634702324867249, 0.07259482890367508, -0.15536050498485565, 0.511662483215332, 0.2653251886367798, 0.9132991433143616, 0.197970911860466, -0.6963032484054565, 0.12301675975322723, 0.4251762926578522, -0.29827141761779785, 0.4663233757019043, -0.6077987551689148, 0.5563983917236328, 0.1017114520072937, 0.4482204020023346, -1.0010840892791748, 0.13796953856945038, 0.15313692390918732, -0.5647109746932983, 0.7011072039604187, -0.15451635420322418, -0.3713209629058838, -0.24946610629558563, -0.04691649600863457, 0.6832352876663208, 0.41823363304138184, -0.7152308821678162, 0.38441044092178345, 0.32083895802497864, 0.1651502549648285, -0.7590000033378601, -0.42750298976898193, -0.20939767360687256, -0.25840720534324646, -0.516035258769989, 0.47698697447776794, -0.1172480583190918, 0.07622255384922028, -0.5733046531677246, -0.41143158078193665, -0.3418128788471222, -0.1475120633840561, 0.2626204192638397, 0.48219263553619385, -0.34067004919052124, 0.07126910984516144, -0.042684078216552734, -0.26102927327156067, -0.45896559953689575, -0.4806913137435913, 0.5640602111816406, 0.002948042470961809, 0.05798454210162163, -0.9034464359283447, -0.01879825070500374, 0.46110108494758606, -0.221257284283638, 0.49334514141082764, 0.5836316347122192, -0.43150004744529724, 0.36609113216400146, -0.8324902057647705, -0.20104587078094482, -0.4364723563194275, 0.030928239226341248, -0.18078407645225525, -0.5532815456390381, 0.36967870593070984, 0.060913100838661194, 0.287979394197464, 0.2778516113758087, 0.2729422152042389, 0.011219115927815437, 0.998737633228302, 0.3848453164100647, -0.27066630125045776, 0.6661912798881531, -0.3070998191833496, 0.05427436903119087, -0.8801091313362122, -0.10251707583665848, -0.6406562328338623, -0.253348708152771, -0.43703702092170715, -0.24473914504051208, 0.41362622380256653, 0.02240813709795475, -0.26503124833106995, 0.5349476337432861, -0.7066152095794678, 0.07908984273672104, 0.5927594304084778, 0.25119277834892273, 0.053579121828079224, -0.009506603702902794, -0.17768260836601257, -0.1800069808959961, -0.7309909462928772, -0.4072391092777252, 0.8362082242965698, 0.14442583918571472, 0.6388586759567261, 0.04538785666227341, 0.5932552814483643, 0.06693603843450546, 0.24820789694786072, -0.7469189763069153, 0.1671602725982666, -0.19374743103981018, -0.6255382299423218, -0.1232316717505455, -0.3313102722167969, -0.8050981760025024, -0.11446809768676758, -0.27321043610572815, -1.1673558950424194, 0.40961843729019165, 0.5498360395431519, -0.5499203205108643, 0.1335805505514145, -0.8419882655143738, 0.8704309463500977, -0.04645099118351936, -0.3023943305015564, 0.1392233669757843, -0.9486666917800903, 0.0859646201133728, -0.02272544801235199, -0.05854245647788048, -0.02322511561214924, 0.016751734539866447, 0.92847740650177, -0.6881768107414246, 0.9726398587226868, -0.23325079679489136, -0.04271906241774559, 0.4883999228477478, 0.03718535229563713, 0.6292873620986938, -0.47373801469802856, 0.08950426429510117, 0.22075332701206207, 0.20967648923397064, -0.3966054618358612, -0.5201496481895447, 0.5767163634300232, -0.7492989897727966, -0.5237691402435303, -0.13057224452495575, -0.6953484416007996, -0.3449425995349884, -0.09800116717815399, 0.6703759431838989, 0.8394433856010437, 0.07800833135843277, 0.22938330471515656, 0.5268866419792175, 0.2366083711385727, 0.48915472626686096, 0.20339956879615784, 0.34690403938293457, -0.6925317645072937, 0.757221519947052, 0.4211882948875427, 0.15765637159347534, 0.4747278392314911, 0.20040744543075562, -0.5591488480567932, -0.6231040954589844, -0.3001881241798401, 0.16110427677631378, -0.49269503355026245, -0.37720394134521484, -0.543483316898346, -0.08969812095165253, -0.8178181052207947, -0.3703087866306305, -0.28794723749160767, -0.6074256896972656, -0.3038075566291809, 0.03128869831562042, 0.3127005100250244, 0.24238017201423645, -0.09212997555732727, 1.010503888130188, -0.8449307084083557, -0.26970455050468445, 0.018790021538734436, 0.044329073280096054, -0.2602105438709259, -0.7889893054962158, 0.04771159589290619, -0.09795629233121872, -0.5322902798652649, -0.9437941908836365, 0.25310632586479187, 0.3235355317592621, 0.337100625038147, 0.6229962706565857, 0.12733882665634155, 1.064953327178955, -0.35684260725975037, 0.6695805191993713, 0.5816990733146667, -1.0766322612762451, 0.5811176896095276, -0.3392240107059479, 0.4925267696380615, 0.5330984592437744, 0.26539647579193115, -0.3279266059398651, -0.3092285990715027, -0.6180843114852905, -1.0462385416030884, 0.5981770753860474, 0.2162228226661682, -0.17160509526729584, 0.22003421187400818, 0.3151605427265167, 0.26569902896881104, -0.05836200341582298, -0.6112987995147705, -0.13543930649757385, -0.35763832926750183, -0.5257074236869812, -0.22014489769935608, -0.1370726227760315, 0.05007493868470192, -0.3471304476261139, 0.9214656949043274, -0.1868891716003418, 0.024389704689383507, 0.3490144908428192, -0.22983771562576294, 0.042360953986644745, 0.12319471687078476, 0.6156476140022278, 0.4985247254371643, -0.21105214953422546, 0.12834523618221283, 0.3334246575832367, -0.5091187357902527, 0.15701664984226227, 0.13950297236442566, -0.13054609298706055, 0.044781699776649475, 0.37322819232940674, 0.7185388207435608, 0.11024824529886246, -0.4364408552646637, 0.46827730536460876, 0.2188541740179062, -0.08321042358875275, -0.17141149938106537, -0.061477091163396835, -0.23985359072685242, 0.12348536401987076, 0.38617172837257385, 0.06532472372055054, -0.06489892303943634, 0.04602523520588875, 0.43313536047935486, 0.38799962401390076, -0.621714174747467, -0.2926795780658722, 0.7462378144264221, 0.2465728372335434, -0.2044631987810135, 0.6855859756469727, 0.2484407126903534, -0.43543097376823425, 0.4821219742298126, 0.5915490388870239, 0.739906907081604, -0.4289710819721222, -0.17845575511455536, 0.6165311932563782, 0.22466430068016052, 0.14974850416183472, -0.2718814015388489, -0.4078257977962494, -0.7710713744163513, -0.3516692519187927, -0.2712864279747009, -0.04670290648937225, 0.11846652626991272, -0.6864511966705322, 0.4045161306858063, -0.566475510597229, -0.4943650960922241, 0.09845122694969177, 0.025116687640547752, -0.6894769668579102, 0.17393887042999268, 0.009344139136373997, 0.8104265928268433, -0.7778058052062988, 0.9590842127799988, 0.589689314365387, -0.32648006081581116, -1.1789697408676147, 0.08316879719495773, 0.2066091150045395, -0.6347398161888123, 0.749199390411377, 0.34244847297668457, -0.3345429301261902, 0.27623504400253296, -0.5675756335258484, -0.780363917350769, 1.0993587970733643, 0.1738457977771759, -0.8262970447540283, -0.05014941096305847, -0.2715184688568115, 0.23249800503253937, -0.2671600580215454, 0.14003939926624298, 0.5680923461914062, 0.21343784034252167, 0.6410878896713257, -1.082541823387146, 0.08660402148962021, -0.03573113679885864, -0.07934070378541946, 0.3372228145599365, -0.300464928150177, 0.22284719347953796, -0.0638030543923378, -0.40524324774742126, 0.11105938255786896, 0.6637592315673828, 0.20079489052295685, 0.3276185393333435, 0.6862677931785583, 0.4483242630958557, 0.8964179158210754, -0.20832495391368866, 0.587103009223938, -0.0221707746386528, 0.1638331562280655, 1.1443685293197632, -0.2381993979215622, 0.6894564032554626, 0.4730461835861206, -0.0916999951004982, 0.20722553133964539, 0.8818002939224243, 0.08319884538650513, 0.5737179517745972, 0.040884509682655334, -0.02013992704451084, -0.3651050627231598, -0.1503811925649643, -0.1815972477197647, 0.42946329712867737, 0.19599772989749908, -0.05443594232201576, 0.11092307418584824, -0.21204979717731476, 0.06347566097974777, -0.09481876343488693, -0.32853835821151733, 0.7880167961120605, -0.08670355379581451, -0.4981166422367096, 1.1143620014190674, -0.6052952408790588, 0.7605612874031067, -0.3195032477378845, 0.2689797282218933, -0.05474281683564186, 0.10176042467355728, -0.24499040842056274, -0.30551400780677795, 0.25565671920776367, 0.015238308347761631, -0.13827845454216003, 0.030366113409399986, 0.25074121356010437, -0.36923983693122864, -0.20981141924858093, -0.11487750709056854, 0.18643945455551147, 0.10820920765399933, 0.19023196399211884, -0.47021564841270447, -0.02566969022154808, -0.04452796280384064, 0.021605664864182472, -0.1383841633796692, 0.18485242128372192, -0.1117367073893547, 0.46933871507644653, 0.6134400963783264, -0.004118284210562706, 0.34583014249801636, 0.05283021926879883, 0.6038963198661804, -0.523401141166687, -0.5333232879638672, -0.5630939602851868, 0.4667966067790985, -0.061150502413511276, -0.4545729458332062, -0.033809222280979156, 0.7232576608657837, 0.7338463068008423, 0.11547549813985825, 0.22767743468284607, 0.05544296279549599, 0.2586338520050049, -0.807354211807251, 0.6291816234588623, -0.48119908571243286, 0.31524330377578735, -0.26204589009284973, -0.8287114500999451, -0.6677982211112976, 0.4170669615268707, -0.464883029460907, -0.17228475213050842, 0.6687580943107605, 0.9194080829620361, -0.036112863570451736, 0.0025533437728881836, 0.3313516080379486, 0.10064489394426346, 0.35458648204803467, 0.6707677841186523, 0.7812768220901489, -0.42438361048698425, 0.8444477319717407, -0.25164464116096497, -0.2959924340248108, -0.08902079612016678, -0.7366997599601746, -0.7293717265129089, -0.802830159664154, -0.6357768774032593, -0.33794909715652466, 0.17361684143543243, 1.2666069269180298, 0.8194050192832947, -0.8869152069091797, -0.1446552574634552, 0.0507025420665741, -0.07422682642936707, -0.4254157841205597, -0.2163616567850113, 0.5939648747444153, -0.28420761227607727, -0.7738751769065857, 0.2782664895057678, -0.1299165040254593, 0.4480823576450348, 0.6471177935600281, -0.06321574002504349, -0.16268929839134216, -0.17204096913337708, 0.2243967354297638, 0.2640271484851837, -0.8550425171852112, -0.6187604069709778, 0.06476491689682007, -0.17991852760314941, 0.5210022330284119, 1.0338855981826782, -0.8176957368850708, 0.4169873595237732, 0.26200228929519653, 0.49496379494667053, 0.3050929605960846, 0.07719074934720993, 0.6803699731826782, -0.8969478011131287, 0.22645820677280426, 0.26873329281806946, 0.31675297021865845, 0.3317909836769104, -0.44218289852142334, 0.3365747928619385, 0.3573341369628906, -0.46624431014060974, -0.7038726806640625, 0.1933758407831192, -1.3273403644561768, -0.06618037819862366, 0.959681510925293, 0.07649125903844833, -0.251414954662323, -0.1560681313276291, -0.37859246134757996, 0.7492072582244873, -0.5828731656074524, 0.744377851486206, 0.43864405155181885, -0.15942837297916412, 0.04265508055686951, -0.1795586347579956, 0.3023289144039154, 0.3574623465538025, -0.19523002207279205, 0.18866194784641266, 0.768666684627533, 0.31391552090644836, 0.23603060841560364, 0.45927801728248596, -0.06763062626123428, 0.2869144082069397, -0.09697894006967545, 0.10397719591856003, -0.08319544047117233, -0.16810832917690277, -0.36044204235076904, 0.10300172120332718, 0.07564888894557953, -0.5392851829528809 ]
http://arxiv.org/abs/2404.15166v1
http://arxiv.org/pdf/2404.15166v1
Pixels and Predictions: Potential of GPT-4V in Meteorological Imagery Analysis and Forecast Communication
2024-04-22T17:36:33
2024-04-22T17:36:33
John R. Lawson, Montgomery L. Flora, Kevin H. Goebbert, Seth N. Lyman, Corey K. Potvin, David M. Schultz, Adam J. Stepanek, Joseph E. Trujillo-Falcón
cs.CL
cs.CL, cs.AI, physics.ao-ph
Generative AI, such as OpenAI's GPT-4V large-language model, has rapidly entered mainstream discourse. Novel capabilities in image processing and natural-language communication may augment existing forecasting methods. Large language models further display potential to better communicate weather hazards in a style honed for diverse communities and different languages. This study evaluates GPT-4V's ability to interpret meteorological charts and communicate weather hazards appropriately to the user, despite challenges of hallucinations, where generative AI delivers coherent, confident, but incorrect responses. We assess GPT-4V's competence via its web interface ChatGPT in two tasks: (1) generating a severe-weather outlook from weather-chart analysis and conducting self-evaluation, revealing an outlook that corresponds well with a Storm Prediction Center human-issued forecast; and (2) producing hazard summaries in Spanish and English from weather charts. Responses in Spanish, however, resemble direct (not idiomatic) translations from English to Spanish, yielding poorly translated summaries that lose critical idiomatic precision required for optimal communication. Our findings advocate for cautious integration of tools like GPT-4V in meteorology, underscoring the necessity of human oversight and development of trustworthy, explainable AI.
[ -0.2682912051677704, -0.5884971022605896, 0.728606641292572, 0.5981137752532959, -0.33699432015419006, -0.08405070751905441, -0.10127086937427521, -0.8606281280517578, -0.1674785614013672, -0.026193255558609962, -0.2604740858078003, -0.5527660250663757, -0.5747511982917786, 0.023371998220682144, -0.5222605466842651, 0.9799306988716125, -0.1424720585346222, -0.3563200533390045, -0.08269353210926056, 0.5179874300956726, -0.4264155328273773, -0.7498226165771484, -0.557568371295929, -0.13289077579975128, 0.43054962158203125, 0.16629262268543243, 1.072023868560791, 0.2724323570728302, 0.6820615530014038, 0.35880327224731445, 0.4379098117351532, -0.28127631545066833, -0.22082364559173584, 0.057716649025678635, -0.006603227462619543, -0.2566986083984375, -0.41583314538002014, 0.21714535355567932, 0.44563060998916626, 0.09218619018793106, -0.3094882667064667, -0.06792552769184113, -0.018997542560100555, 0.456037700176239, -0.4289894104003906, 0.7049733996391296, -0.4414079785346985, 0.1318785548210144, -0.2708245515823364, -0.362345427274704, -0.13519227504730225, -0.003947115503251553, 0.5087399482727051, -0.6084397435188293, 0.28368571400642395, -0.2543640732765198, 0.6377572417259216, 0.3551957607269287, -0.30416977405548096, -0.20904551446437836, -0.9474764466285706, 0.5184256434440613, -0.40043905377388, 0.19096900522708893, 0.5498571395874023, 0.677232027053833, -0.0052136993035674095, -0.717052698135376, -0.4705332815647125, -0.07484836131334305, 0.38717198371887207, 0.6866009831428528, -0.4134044647216797, -0.07232633233070374, -0.075420081615448, 0.07980266213417053, -0.5787320733070374, 0.2840106189250946, -0.4329688847064972, -0.4167307913303375, 0.747306764125824, 0.20516540110111237, 0.28657829761505127, -0.29518237709999084, -0.27243638038635254, 0.10755374282598495, -0.5876627564430237, -0.28608423471450806, 0.6630666255950928, 0.20486778020858765, -0.47863948345184326, 0.28684002161026, 0.08198683708906174, 0.6417651772499084, -0.5720415711402893, -0.2197154313325882, 0.2179860919713974, -0.24992918968200684, -0.4377424716949463, -0.11859667301177979, 1.0025392770767212, 0.6979307532310486, 0.1817932426929474, -0.2261003851890564, -0.14102032780647278, 0.2544862926006317, 0.29946669936180115, -0.6698541641235352, -0.6620120406150818, -0.006410055793821812, -0.290511816740036, -0.4809344410896301, -0.13392379879951477, -1.1575872898101807, -0.5296142101287842, -0.22943997383117676, 0.42355430126190186, -0.3772180676460266, -0.33484694361686707, 0.004144533537328243, -0.3416416645050049, -0.04264672100543976, 0.5472226142883301, -0.7820108532905579, 0.089569590985775, 0.35566776990890503, 0.833861231803894, 0.0928921326994896, -0.33952924609184265, -0.020732883363962173, -0.05943428725004196, -0.3912068009376526, 0.903087854385376, -0.532800555229187, -0.36051681637763977, -0.13321393728256226, -0.3527861535549164, 0.07037989050149918, -0.012026133015751839, 0.3318229913711548, -0.31776291131973267, 0.35376888513565063, 0.06288862973451614, 0.16770216822624207, -0.33079496026039124, 0.1218438446521759, -0.41360151767730713, 0.6269479393959045, 0.1382896900177002, -0.786097526550293, 0.18738998472690582, -0.42924419045448303, -0.2136104851961136, 0.2900833487510681, -0.4652767479419708, -0.39859679341316223, -0.34240201115608215, 0.4798198342323303, 0.5281630158424377, -0.4159981608390808, 0.007482160348445177, 0.06939925998449326, -0.11675696820020676, 0.037908025085926056, -0.8569063544273376, 0.1721106916666031, 0.43392083048820496, -0.6620712280273438, 0.2668328881263733, -0.4570182263851166, -0.09409339725971222, 0.2260749638080597, -0.0012941793538630009, 0.11528106033802032, 0.14980894327163696, 0.37803852558135986, 0.1890164166688919, 0.15949514508247375, -0.11999916285276413, 0.011767977848649025, -0.4057271182537079, 0.6935073137283325, 0.8527990579605103, -0.06618816405534744, 0.2693275511264801, -0.2578880786895752, 0.8209192156791687, 0.1028757393360138, 0.2215723842382431, -0.2630768418312073, -1.1462066173553467, -0.2854959964752197, 0.10492105036973953, -0.1942790001630783, 0.6671632528305054, -1.0384122133255005, 0.011992398649454117, -0.4060628414154053, -0.8626053929328918, -0.032963983714580536, -0.3808650076389313, 0.30497702956199646, 0.4702073633670807, 0.3874686360359192, 0.06357545405626297, -0.7115965485572815, -0.572147011756897, -0.0007471541757695377, -0.2916969656944275, 0.0013527615228667855, 0.14195702970027924, 0.33703485131263733, -0.3326833248138428, 0.5680801272392273, -0.2117881029844284, -0.0375429205596447, -0.28055694699287415, 0.32579299807548523, 0.11802513152360916, 0.09624713659286499, 0.8771068453788757, -0.8670041561126709, -0.5868231058120728, 0.18606756627559662, -0.6744475364685059, 0.2455826848745346, -0.058039478957653046, 0.21030907332897186, 0.22209663689136505, 0.058767568320035934, -0.2667534053325653, 0.6778251528739929, 0.888166069984436, -0.43558308482170105, 0.6915451288223267, -0.4169774055480957, 0.4466019570827484, -0.8722378015518188, -0.31278127431869507, 0.3138657510280609, -0.2904600501060486, -0.6947163939476013, -0.0673798993229866, -0.14489541947841644, -0.19813939929008484, -0.42843154072761536, 0.32141920924186707, -0.3579290509223938, -0.06220519542694092, -0.24832327663898468, 0.05576285347342491, -0.5219850540161133, 0.04288572445511818, 0.02691829390823841, 1.0291467905044556, 0.9368491172790527, -0.3266974687576294, 0.7470589876174927, 0.27041158080101013, -0.30357569456100464, 0.18452712893486023, -0.4206770360469818, 0.33170029520988464, -0.25304555892944336, 0.139730304479599, -0.6436624526977539, -0.5401752591133118, 0.5449435710906982, -0.4353577792644501, 0.06932945549488068, -0.3004929721355438, -0.44466423988342285, -0.5997363924980164, -0.16248294711112976, 0.2501034736633301, 0.8274684548377991, -0.43408334255218506, 0.34700265526771545, 0.3973105847835541, -0.2700219750404358, -0.30555158853530884, -0.8617368936538696, 0.5499564409255981, -0.3179228603839874, -0.5442332029342651, 0.24416707456111908, 0.006856354419142008, -0.22496679425239563, -0.22030198574066162, -0.07579166442155838, -0.19928215444087982, 0.10008738934993744, 0.46874067187309265, 0.35659030079841614, -0.10573351383209229, 0.05450288951396942, -0.5382394194602966, -0.14375200867652893, 0.23139739036560059, -0.4326118528842926, 0.5147512555122375, -0.4950776696205139, -0.20201686024665833, -0.4910040497779846, 0.1342257261276245, 0.5096672773361206, 0.18210816383361816, 0.570253849029541, 0.3869933485984802, -0.41041216254234314, 0.31579673290252686, -0.31222793459892273, 0.2157023549079895, -0.45230787992477417, 0.3062794506549835, -0.5152780413627625, -0.48168259859085083, 0.33581504225730896, 0.29067742824554443, -0.34450775384902954, 0.7394022345542908, 0.5823130011558533, -0.06953758746385574, 1.0111045837402344, 0.4915524423122406, -0.5285127758979797, 0.3150743246078491, -0.05116821825504303, 0.25963833928108215, -0.23425979912281036, -0.29196760058403015, -0.4914456903934479, -0.0870661586523056, -0.5925589799880981, -0.4477211833000183, 0.5292819738388062, -0.4714582562446594, -0.4982353150844574, 0.07535884529352188, -0.7286909818649292, 0.2759813666343689, 0.40876731276512146, 0.054403506219387054, 0.16349434852600098, 0.1339716911315918, 0.46197423338890076, -0.23819778859615326, -0.5230812430381775, -0.5982815027236938, 1.0604921579360962, 0.5191911458969116, 0.844423234462738, 0.09201141446828842, 0.3294007480144501, 0.27896443009376526, 0.3707810938358307, -0.610492467880249, 0.21077974140644073, 0.11532280594110489, -0.1591949760913849, -0.31013602018356323, -0.47754666209220886, -0.9950305223464966, 0.1447099894285202, -0.24268588423728943, -0.8118905425071716, -0.1321016401052475, 0.25576505064964294, -0.1929580271244049, 0.1290711611509323, -0.9468995332717896, 0.7437419295310974, -0.29708462953567505, 0.34258466958999634, -0.1954292505979538, -0.6389569044113159, 0.22345025837421417, -0.04349203407764435, 0.5773901343345642, -0.17313537001609802, -0.16304239630699158, 0.5689389109611511, -0.017700975760817528, 1.0484188795089722, -0.08552595227956772, -0.15875767171382904, 0.29211780428886414, -0.03959359973669052, 0.4398099184036255, 0.0032684318721294403, -0.1343582421541214, 0.37156060338020325, 0.05801379308104515, -0.3794124722480774, -0.42121991515159607, 0.643463671207428, -1.2812920808792114, -0.4930734932422638, -0.701131284236908, -0.3034929633140564, -0.14370207488536835, 0.06865981221199036, 0.5756236910820007, 0.5262090563774109, -0.3288087248802185, -0.38236406445503235, -0.17848309874534607, -0.14083963632583618, 0.34296733140945435, 0.19680292904376984, -0.26460525393486023, -0.3941531181335449, 1.1422884464263916, 0.0007128876750357449, 0.012783302925527096, 0.05974063649773598, 0.34036868810653687, -0.06087799370288849, -0.7657383680343628, -0.28103315830230713, -0.03772367537021637, -0.7809288501739502, -0.43769371509552, -0.30686843395233154, -0.5437126159667969, -0.4428045153617859, -0.0974181666970253, -0.010622241534292698, -0.1546810269355774, -0.24791578948497772, -0.29632291197776794, 0.25776511430740356, 0.9137240648269653, 0.11373263597488403, 0.3308323621749878, -0.761583685874939, 0.053020577877759933, 0.0513342060148716, 0.17442244291305542, -0.2770201861858368, -0.2169252187013626, -0.039879411458969116, 0.14618608355522156, -0.45861881971359253, -0.9584985971450806, 0.7939786911010742, 0.1830400824546814, 0.4221518039703369, 0.3897136151790619, -0.24043773114681244, 0.7557781338691711, -0.548953115940094, 1.0528796911239624, 0.4877215027809143, -0.8805106282234192, 0.7515429258346558, -0.6579922437667847, 0.2671225368976593, -0.16024574637413025, 0.4353683292865753, -0.5967642664909363, -0.5969091057777405, -0.858052670955658, -0.5554477572441101, 0.4941056966781616, 0.5708407759666443, 0.20095445215702057, -0.2376401424407959, 0.07730383425951004, 0.16682493686676025, 0.19982106983661652, -0.5945905447006226, 0.02490377239882946, -0.9404707551002502, -0.12254087626934052, -0.576324462890625, -0.21887660026550293, -0.18849918246269226, -0.17893745005130768, 0.26333484053611755, -0.18925538659095764, 0.6222699880599976, 0.3013251721858978, 0.3629148602485657, -0.021162234246730804, 0.2835589051246643, 0.5616953372955322, 0.7285162806510925, 0.1141444742679596, 0.4250548481941223, -0.03777338191866875, -0.6885220408439636, -0.142464742064476, 0.3865412771701813, 0.051627080887556076, -0.22240425646305084, 0.6298205852508545, 0.7543910145759583, 0.10294897854328156, -0.49665501713752747, 0.658812403678894, -0.052648015320301056, -0.27519673109054565, -0.4272010922431946, -0.040918026119470596, -0.08156585693359375, 0.12986239790916443, 0.2577364444732666, 0.45401087403297424, 0.37752941250801086, -0.6681889891624451, -0.2864302396774292, 0.1477905809879303, -0.14630360901355743, -0.8426755666732788, 0.9447581768035889, 0.4110420048236847, -0.029154516756534576, 0.7691131830215454, -0.06356006860733032, -0.5923864245414734, 0.8269660472869873, 0.6780266165733337, 0.6804436445236206, -0.28060147166252136, 0.4187335968017578, 0.31165391206741333, 0.5250895619392395, -0.16798320412635803, 0.6013810634613037, 0.2025078684091568, -0.8755771517753601, -0.2731456160545349, -0.34822481870651245, -0.39123132824897766, 0.11509014666080475, -0.1985097974538803, -0.007065952755510807, -0.4630593955516815, -0.21894460916519165, 0.12762382626533508, -0.509763240814209, -1.0408284664154053, 0.19033142924308777, 0.45531317591667175, 0.7775813937187195, -0.868617832660675, 0.4977673292160034, 0.7256971001625061, -0.5725504159927368, -0.788270890712738, 0.16608500480651855, 0.22955216467380524, -0.8028812408447266, 0.5364019870758057, 0.2658262550830841, 0.003647103440016508, 0.10649845749139786, -0.5275537967681885, -0.7643250823020935, 1.034603238105774, 0.34825947880744934, -0.4289495646953583, -0.09991679340600967, 0.07187310606241226, 0.7391589879989624, 0.0033794280607253313, 0.41693052649497986, 0.5043007731437683, 0.6132237315177917, 0.1537257879972458, -1.3010083436965942, -0.07501929253339767, -0.1740037351846695, 0.13840411603450775, 0.11126743257045746, -0.32284703850746155, 0.5039637684822083, -0.38513368368148804, -0.5112032890319824, 0.17796988785266876, 0.712730348110199, -0.5600010752677917, 0.3755749464035034, 0.24806256592273712, 0.17457905411720276, 0.7011200189590454, -0.37588876485824585, 1.4438295364379883, 0.025389214977622032, 0.15652400255203247, 0.7936122417449951, 0.07567224651575089, 0.7096215486526489, 0.13545610010623932, -0.48066461086273193, 0.5711191892623901, 0.63495272397995, 0.04990990459918976, 0.6527951955795288, -0.1684287041425705, -0.5153895020484924, 0.0043421522714197636, 0.30748867988586426, -0.28845885396003723, 0.4405589699745178, 0.5836524367332458, -0.03304360434412956, -0.3159683346748352, 0.3496445119380951, -0.19294433295726776, -0.04070698469877243, -0.31873854994773865, 0.5972836017608643, 0.013032765127718449, -0.6114989519119263, 0.3679780662059784, -0.009262870997190475, 0.4200071394443512, -0.2991780936717987, -0.017475273460149765, 0.27278342843055725, -0.05331670865416527, -0.3646177649497986, -1.2583640813827515, 0.5839996337890625, 0.0691835954785347, 0.205942302942276, -0.1793093979358673, 0.49064186215400696, -0.07607784122228622, -0.28530746698379517, -0.014553472399711609, 0.3575286269187927, 0.47499626874923706, -0.3536090552806854, -0.4086237847805023, -0.046647656708955765, -0.11493783444166183, 0.05142250284552574, 0.19258703291416168, 0.3013277053833008, -0.1292128711938858, 0.8230852484703064, 0.4840227961540222, 0.1657133400440216, 0.023983648046851158, 0.24490568041801453, 0.8273053169250488, -0.6962373852729797, -0.686102569103241, -0.7666904926300049, 0.32033514976501465, 0.040651995688676834, -0.09172476828098297, 0.6184365749359131, 0.3607090413570404, 0.4190549850463867, -0.2751275300979614, 1.2635220289230347, -0.02540697157382965, -0.11201128363609314, -0.4655360281467438, 0.34192749857902527, 0.09501763433218002, -0.030267972499132156, -0.2271617352962494, -0.7493873238563538, -0.3316461741924286, 0.5682149529457092, -0.5937089920043945, 0.12204314768314362, 0.6927080154418945, 0.2856367230415344, 0.1912965178489685, 0.17506572604179382, 0.5380573272705078, 0.28989824652671814, 0.6873685717582703, 0.4503417909145355, 1.0128281116485596, -0.23979692161083221, 0.647315502166748, -0.2652391791343689, -0.5961163640022278, 0.08805634826421738, -1.0125432014465332, -0.8627544045448303, -0.7982664108276367, -0.12553687393665314, -0.22414420545101166, 0.1906387209892273, 0.6303873658180237, 0.5116634964942932, -0.40258821845054626, 0.1883886158466339, -0.3330528438091278, -0.24959762394428253, 0.04477297142148018, -0.23807109892368317, 0.29032379388809204, -0.30017855763435364, -0.6491830348968506, 0.4192795753479004, 0.4975949227809906, 0.5479164123535156, -0.2870437204837799, -0.038415826857089996, 0.7881501317024231, -0.22843463718891144, 0.557669997215271, 0.16277600824832916, -0.8915565013885498, -0.5413386821746826, -0.39082351326942444, -0.15793447196483612, 0.10294614732265472, 0.4327549636363983, -0.7463259696960449, 0.6944194436073303, 0.3086795508861542, 0.38850146532058716, 0.3955988585948944, -0.048456959426403046, 0.8585713505744934, -0.5334799289703369, 0.33969220519065857, 0.24249514937400818, 0.32564133405685425, 0.5384528040885925, -0.6730454564094543, 0.4609842598438263, 0.3035091757774353, -0.6398532390594482, -0.22064241766929626, 0.08976487815380096, -0.7529245018959045, -0.00974773894995451, 1.224117636680603, 0.008709121495485306, 0.14508675038814545, -0.23486609756946564, -0.4977165460586548, -0.19123657047748566, -0.350699782371521, 0.8197904825210571, 0.7506673336029053, -0.2053956240415573, -0.31318891048431396, -0.8407076597213745, 0.6124261617660522, -0.4099516272544861, -0.9920873641967773, -0.20971360802650452, 0.5558521151542664, 0.2726981043815613, 0.10506651550531387, 0.7504525780677795, 0.043202098459005356, 0.49336889386177063, 0.06782298535108566, -0.030049562454223633, 0.07959675043821335, -0.42925891280174255, -0.15579496324062347, -0.12781468033790588, 0.23678423464298248, -0.17212364077568054 ]
http://arxiv.org/abs/2404.14372v1
http://arxiv.org/pdf/2404.14372v1
Beyond Scaling: Predicting Patent Approval with Domain-specific Fine-grained Claim Dependency Graph
2024-04-22T17:22:31
2024-04-22T17:22:31
Xiaochen Kev Gao, Feng Yao, Kewen Zhao, Beilei He, Animesh Kumar, Vish Krishnan, Jingbo Shang
cs.CL
cs.CL, cs.AI
Model scaling is becoming the default choice for many language tasks due to the success of large language models (LLMs). However, it can fall short in specific scenarios where simple customized methods excel. In this paper, we delve into the patent approval pre-diction task and unveil that simple domain-specific graph methods outperform enlarging the model, using the intrinsic dependencies within the patent data. Specifically, we first extend the embedding-based state-of-the-art (SOTA) by scaling up its backbone model with various sizes of open-source LLMs, then explore prompt-based methods to harness proprietary LLMs' potential, but find the best results close to random guessing, underlining the ineffectiveness of model scaling-up. Hence, we propose a novel Fine-grained cLAim depeNdency (FLAN) Graph through meticulous patent data analyses, capturing the inherent dependencies across segments of the patent text. As it is model-agnostic, we apply cost-effective graph models to our FLAN Graph to obtain representations for approval prediction. Extensive experiments and detailed analyses prove that incorporating FLAN Graph via various graph models consistently outperforms all LLM baselines significantly. We hope that our observations and analyses in this paper can bring more attention to this challenging task and prompt further research into the limitations of LLMs. Our source code and dataset can be obtained from http://github.com/ShangDataLab/FLAN-Graph.
[ -0.3751782178878784, -0.5953552722930908, 0.6993545889854431, 0.19439570605754852, 0.1603255718946457, 0.08235979825258255, 0.07872123271226883, -0.6237143278121948, 0.4078158736228943, 0.7209576964378357, -0.2613181471824646, -0.37735268473625183, -0.8697336316108704, -0.1640290766954422, -0.15308968722820282, 0.93658447265625, -0.25723797082901, -0.13228164613246918, -0.2858840227127075, 0.002217549365013838, -0.18560053408145905, -0.2757575511932373, -0.22054605185985565, -0.651767373085022, 0.473514199256897, 0.5732936859130859, 0.6001498699188232, 0.5916754603385925, 0.3957712650299072, 0.3017520308494568, -0.30893003940582275, 0.012268813326954842, -0.33221837878227234, -0.26267197728157043, -0.112457275390625, -0.5953218936920166, -0.8627771735191345, 0.08464673906564713, 0.47024834156036377, 0.8270387053489685, 0.0001830267283366993, 0.11338942497968674, 0.25693279504776, 0.5943745970726013, -0.4488779306411743, 0.45366302132606506, -0.9242507219314575, -0.0994965210556984, -0.31025558710098267, 0.14522700011730194, -0.49990779161453247, -0.2225373536348343, 0.4885367155075073, -0.5461174845695496, 0.14433321356773376, 0.35696157813072205, 1.2282910346984863, -0.09547378122806549, -0.37114572525024414, -0.4439297914505005, -0.4658396244049072, 0.501977264881134, -0.6558108329772949, -0.14114245772361755, 0.4413851201534271, 0.2625817656517029, -0.340891569852829, -1.2968482971191406, -0.5027589797973633, -0.5912965536117554, -0.05066011846065521, -0.38667428493499756, -0.32154881954193115, 0.2341734617948532, 0.24026764929294586, 0.4947156012058258, -0.3397131860256195, 0.42816483974456787, -0.3170281648635864, -0.3911116123199463, 0.22486534714698792, 0.016972051933407784, 0.3184911012649536, -0.15657766163349152, -0.5122697353363037, 0.2870539724826813, -0.9217073917388916, 0.04684944450855255, -0.07646169513463974, 0.8480137586593628, 0.022584829479455948, 0.6258800625801086, -0.25989773869514465, 0.5962976217269897, 0.3136001527309418, 0.3731658160686493, 0.2992858290672302, -0.21752122044563293, -0.29974499344825745, 0.17750728130340576, 0.6824313998222351, 0.10804886370897293, 0.34314385056495667, 0.2272079437971115, -0.31152257323265076, -0.20597852766513824, 0.01994810812175274, -1.0590065717697144, -0.16692686080932617, 0.2632279396057129, -0.5190527439117432, -0.13349702954292297, -0.06408125907182693, -0.6711403131484985, -0.9724173545837402, -0.27380743622779846, 0.6719586849212646, -0.16829045116901398, -0.28145235776901245, 0.1109750047326088, 0.17760373651981354, -0.20447514951229095, 0.3646637797355652, -0.8206782341003418, 0.10389652103185654, 0.7827743887901306, 1.1575053930282593, 0.32284390926361084, -0.3965604305267334, -0.5692893862724304, -0.17661592364311218, -0.4236675500869751, 1.057599663734436, -0.34279218316078186, -0.10288698971271515, 0.013135962188243866, -0.028002608567476273, -0.18733806908130646, -0.67295902967453, 0.5131345391273499, -0.6759204268455505, -0.2661215364933014, -0.28699707984924316, -0.6723966598510742, -0.17822058498859406, 0.29406580328941345, -0.8821203708648682, 0.4182112514972687, 0.22821353375911713, -0.7817220687866211, 0.8186383247375488, -0.6562261581420898, -0.5287880897521973, 0.07139851897954941, 0.07045261561870575, -0.43649721145629883, 0.04594855383038521, 0.08224844187498093, 0.6734099984169006, -0.541774570941925, 0.17768584191799164, -0.7152640223503113, 0.17454202473163605, 0.024140220135450363, 0.06767681241035461, 0.6929024457931519, 0.3837263584136963, -0.3036877512931824, 0.3906153738498688, -0.9051530361175537, -0.11019917577505112, 0.07742488384246826, 0.16141244769096375, -0.34732604026794434, 0.028110923245549202, -0.330780953168869, 0.13526402413845062, 0.4564948081970215, -0.5954213738441467, 0.022599177435040474, -0.5710134506225586, 0.6769825220108032, 0.8231287002563477, -0.11591602861881256, 0.515367865562439, -0.24320615828037262, 0.5851103067398071, -0.16480229794979095, 0.11802283674478531, -0.2959836721420288, -0.5516340732574463, -0.4967901408672333, -0.4119681715965271, 0.5831403136253357, 0.15620851516723633, -0.2960296869277954, 0.2373068630695343, -0.487989604473114, -0.6127288341522217, -0.010221452452242374, 0.00045156333362683654, 0.17717231810092926, 0.5032669305801392, 0.07505227625370026, -0.35637399554252625, -0.4050765633583069, -0.5380789637565613, -0.2024204134941101, -0.3279464542865753, -0.015025424771010876, 0.34128615260124207, 0.45778223872184753, -0.1931900531053543, 1.0530894994735718, -0.7259172201156616, -0.8895052671432495, -0.4513738453388214, 0.2844161093235016, 0.5034001469612122, 0.24566762149333954, 0.703509509563446, -0.5727078318595886, -0.8115993142127991, 0.3707636892795563, -0.2313280999660492, -0.22180533409118652, -0.05429663881659508, 0.16080057621002197, -0.026851292699575424, 0.43932896852493286, -0.6193268299102783, 0.35455116629600525, 0.6383016705513, -0.5040362477302551, 0.7216702699661255, -0.38278138637542725, 0.09623431414365768, -0.9680192470550537, 0.1006152555346489, 0.13379091024398804, -0.3407767713069916, -0.7090246677398682, -0.004405270330607891, 0.1474027782678604, 0.028179854154586792, -0.31655192375183105, 0.5126298069953918, -0.43584585189819336, 0.08644396811723709, -0.3023357689380646, -0.014096442610025406, 0.15366996824741364, 0.03128860145807266, -0.20200149714946747, 0.5407034754753113, 0.6968177556991577, -0.6374841928482056, -0.06064903736114502, -0.03217602148652077, -0.6206222772598267, 0.26903361082077026, -0.8391223549842834, -0.26098692417144775, 0.22172237932682037, 0.3227323591709137, -1.157701015472412, -0.29915744066238403, -0.14713142812252045, -0.16808632016181946, 0.45389261841773987, -0.32161954045295715, -0.4527125060558319, -0.511017382144928, -0.2894784212112427, 0.012217559851706028, 0.15222568809986115, -0.7656742930412292, 0.9372748732566833, 0.6926276087760925, -0.23928791284561157, -0.3508104979991913, -0.725625216960907, -0.0029872520826756954, -0.21925373375415802, -0.8064647912979126, 0.5589115023612976, 0.11832407861948013, -0.11610322445631027, -0.06098726764321327, -0.006450139917433262, -0.41248154640197754, -0.11554960906505585, 0.4409501552581787, 0.08675265312194824, -0.3880241811275482, -0.24212037026882172, -0.01889563910663128, -0.16424299776554108, -0.011888084001839161, -0.46645301580429077, 0.420263409614563, -0.15530423820018768, -0.07346600294113159, -0.3572717607021332, -0.19404330849647522, 0.9973939657211304, 0.033283792436122894, 0.28819966316223145, 0.04490211606025696, -0.4251839518547058, -0.39947906136512756, -0.25466418266296387, 0.16308924555778503, -0.5258499979972839, 0.3700954020023346, -0.6733994483947754, -0.8228442668914795, 0.770645022392273, -0.5929595232009888, 0.06455928832292557, 0.6905811429023743, 0.6032820343971252, 0.2742292881011963, 0.9116202592849731, 0.7936376929283142, -0.17748013138771057, 0.6064820289611816, -0.3651391267776489, 0.3825487494468689, -0.4990755617618561, -0.0038922219537198544, -0.5736244320869446, -0.19667775928974152, -0.49610957503318787, -0.4592190086841583, 0.11707685887813568, 0.11898928880691528, -0.09953393042087555, 0.5331282019615173, -0.3919426202774048, 0.4056943953037262, 0.3521941900253296, -0.063582643866539, 0.2566129267215729, 0.22276759147644043, -0.3847869038581848, -0.022649280726909637, -0.4775420129299164, -0.5049638152122498, 1.3694285154342651, 0.5116816759109497, 0.6971458196640015, -0.3339807689189911, 0.5217634439468384, 0.5512806177139282, 0.5413519740104675, -0.8053971529006958, 0.3999534249305725, -0.49231842160224915, -0.6572229266166687, -0.25020766258239746, -0.31800776720046997, -0.983718991279602, 0.10281725227832794, 0.1799231767654419, -0.7780410051345825, 0.32392725348472595, 0.3770463466644287, -0.5863999128341675, 0.2992400527000427, -0.9308408498764038, 0.8861197829246521, -0.07790204137563705, -0.13779699802398682, -0.43060222268104553, -0.3485892415046692, 0.32318222522735596, -0.4126709997653961, 0.2874324321746826, -0.2117457091808319, 0.24074456095695496, 0.5877031683921814, -1.0661804676055908, 0.9199720621109009, -0.3762734830379486, -0.3583678901195526, 0.6724693179130554, 0.18233373761177063, 0.6231549382209778, -0.22400763630867004, -0.3144505023956299, 0.2784099578857422, 0.18340684473514557, -0.1273820847272873, -0.5652785897254944, 0.7532368898391724, -0.3370696008205414, -0.5132097005844116, -0.4067866802215576, -0.27302825450897217, -0.1955970674753189, 0.5806597471237183, 0.28926774859428406, 0.31936126947402954, -0.17011260986328125, -0.08159608393907547, 0.20473678410053253, 0.02080460451543331, 0.17587119340896606, 0.4461377263069153, -0.5739779472351074, -0.4468643367290497, 1.1694140434265137, 0.5855309367179871, 0.37552884221076965, 0.32737457752227783, 0.5484396815299988, -0.46289464831352234, -0.7120488882064819, -0.3305089771747589, 0.12983645498752594, -0.5932192802429199, -0.20247435569763184, -0.5667056441307068, -0.26340973377227783, -0.36113661527633667, -0.01155997347086668, -0.4877365529537201, -0.7366335988044739, -0.3401032090187073, -0.18470017611980438, 0.27768635749816895, 1.0083214044570923, -0.10202831029891968, 0.2648649215698242, -0.4910140335559845, 0.22685475647449493, 0.20216873288154602, 0.6721684336662292, 0.24688486754894257, -0.5714210271835327, -0.3192023038864136, 0.05364745110273361, -0.4361691176891327, -0.32372933626174927, 0.14457879960536957, 0.44900551438331604, 0.27982988953590393, 0.6517015099525452, 0.16114698350429535, 0.6910465955734253, -0.6450314521789551, 0.7825071215629578, 0.3995267450809479, -1.0089545249938965, 0.5064014792442322, -0.17234590649604797, -0.2246306836605072, 0.4035193622112274, 0.2203538566827774, 0.005079947412014008, -0.35868436098098755, -0.505163848400116, -1.0037986040115356, 0.6148086190223694, -0.3500996232032776, 0.2789528965950012, 0.3512038588523865, 0.3050306737422943, 0.2933841943740845, -0.12391576170921326, -0.5360027551651001, 0.03992623835802078, -0.016016123816370964, -0.10052440315485, 0.12524686753749847, -0.38116806745529175, 0.11982163786888123, -0.16159604489803314, 0.5010368824005127, -0.21473290026187897, -0.2283107042312622, 0.054456111043691635, -0.0010394032578915358, -0.029294833540916443, 0.08830957114696503, 0.49751314520835876, 0.6214339137077332, -0.17951543629169464, 0.10997361689805984, -0.10785914212465286, -0.7183002829551697, 0.06538593024015427, 0.21153824031352997, -0.1829896867275238, -0.06587982177734375, 0.33015385270118713, 0.6172948479652405, -0.04514196515083313, -0.6370590925216675, 0.518730640411377, 0.08961611986160278, -0.4207056164741516, 0.0979626402258873, -0.15153519809246063, -0.0843660831451416, 0.3136139512062073, 0.26829081773757935, 0.11214190721511841, 0.20814700424671173, -0.26466676592826843, 0.5502972602844238, 0.35217076539993286, -0.5080481767654419, -0.5649392008781433, 0.7332991361618042, 0.12906035780906677, 0.07253257930278778, 0.038694530725479126, -0.1652279794216156, -0.532106876373291, 0.7253112196922302, 0.5438514947891235, 1.015779972076416, 0.005505799315869808, 0.32890841364860535, 0.14276587963104248, 0.2403232753276825, -0.3272276520729065, 0.2731659412384033, 0.21503353118896484, -0.6882504224777222, -0.2661382555961609, -0.48976173996925354, -0.4692671597003937, 0.05193881690502167, -0.21232649683952332, 0.3845173418521881, -0.9923603534698486, -0.6135080456733704, 0.2018577754497528, 0.23951011896133423, -0.452694296836853, 0.10863767564296722, -0.05011126399040222, 0.7895599007606506, -0.7833703756332397, 0.7238008975982666, 0.557101309299469, -0.48988959193229675, -1.0284281969070435, 0.22441506385803223, 0.12890294194221497, -0.7917966842651367, 0.7618408203125, 0.35031697154045105, -0.10973618179559708, 0.020918991416692734, -0.2704477906227112, -0.9412872791290283, 0.9785181283950806, 0.6335564255714417, -0.5321379899978638, 0.1537313610315323, 0.1922706812620163, 0.48986443877220154, -0.5835333466529846, 0.15707312524318695, 0.5908298492431641, 0.40295344591140747, 0.25228288769721985, -1.0651694536209106, 0.3308332860469818, 0.05979115143418312, 0.013033455237746239, -0.14765813946723938, -0.5244227647781372, 0.9978330731391907, -0.5069619417190552, -0.19190798699855804, 0.16015616059303284, 0.7641984224319458, 0.28228604793548584, 0.6728341579437256, 0.6987709999084473, 0.3787243664264679, 0.9125585556030273, 0.14426462352275848, 1.0474249124526978, -0.45131680369377136, 0.4177619516849518, 1.341726541519165, -0.6230247616767883, 0.9001807570457458, 0.21503515541553497, -0.49025845527648926, 0.7139158248901367, 0.792951762676239, 0.07399667799472809, 0.2651365399360657, 0.4102374017238617, 0.001379304681904614, 0.09540872275829315, -0.5978377461433411, -0.24112437665462494, 0.20032396912574768, 0.42111140489578247, -0.6582664251327515, -0.13733556866645813, -0.14261844754219055, -0.018191780894994736, 0.04723253846168518, -0.350035160779953, 0.3863011598587036, 0.2811075747013092, -0.40743961930274963, 0.6739115715026855, -0.1457178145647049, 0.5527704358100891, -0.65617835521698, 0.1756586879491806, 0.00922977365553379, 0.44670841097831726, -0.387215793132782, -0.6674923896789551, 0.05216802656650543, 0.06460100412368774, -0.3832767903804779, -0.2449192851781845, 0.7097637057304382, -0.12186966091394424, -0.5667302012443542, 0.6095089912414551, 0.11063378304243088, 0.025327982380986214, -0.23895247280597687, -0.6165645718574524, -0.02570497617125511, -0.02340468391776085, -0.41437920928001404, 0.4493524432182312, 0.7190923690795898, -0.2913951277732849, 0.5754780173301697, 0.3933975398540497, 0.5369095802307129, 0.002431002678349614, 0.4365602433681488, 0.8189632892608643, -0.2138320505619049, -0.6503971219062805, -0.8339653611183167, 0.4738268256187439, -0.00306298746727407, -0.062485214322805405, 0.6091007590293884, 0.5057414770126343, 0.42944449186325073, 0.10570962727069855, 0.790718674659729, -0.27560409903526306, 0.35024046897888184, -0.3987177908420563, 0.9973686933517456, -0.6334114074707031, 0.3978601396083832, -0.5941129922866821, -0.5709056854248047, -0.7108716368675232, 0.24316361546516418, -0.5031393766403198, 0.0259915329515934, 0.6607557535171509, 1.0033481121063232, -0.01993926428258419, 0.0032009948045015335, 0.24123536050319672, 0.5039366483688354, 0.5933189392089844, 0.27606484293937683, 0.7074306011199951, -0.2397962510585785, 0.5247626304626465, 0.00960408616811037, -0.6612012982368469, -0.35679152607917786, -1.0930922031402588, -0.6208860874176025, -0.5541879534721375, -0.466899573802948, -0.6543333530426025, -0.583782434463501, 0.7832285165786743, 0.8642256259918213, -1.066175937652588, -0.2376377284526825, -0.4646604657173157, 0.37642747163772583, -0.17985233664512634, -0.22909384965896606, 0.5767961144447327, -0.4563784897327423, -0.6158953309059143, 0.14473704993724823, 0.3749425709247589, 0.1115134134888649, -0.09410493075847626, -0.0977948009967804, -0.05922127887606621, 0.2781952917575836, 0.5787026286125183, 0.4691230356693268, -0.7037510275840759, -0.14453384280204773, -0.2992320954799652, -0.08203310519456863, 0.057032063603401184, 1.1195968389511108, -0.5003714561462402, 0.6888593435287476, 0.7481664419174194, 0.5261338353157043, 0.3754942715167999, -0.04612397402524948, 0.6715507507324219, -0.3170013725757599, 0.04781525209546089, -0.04812673479318619, 0.46298953890800476, 0.008863784372806549, -0.3618049919605255, 0.2732374668121338, 0.161324143409729, -0.4801179766654968, -0.9093078374862671, 0.1965058296918869, -0.6827059388160706, -0.24642165005207062, 0.938239336013794, -0.6309463977813721, -0.27542445063591003, -0.046229034662246704, -0.275054007768631, -0.1744757741689682, -0.24799038469791412, 0.6806445121765137, 0.6948954463005066, -0.18174347281455994, 0.328207403421402, -0.1289311945438385, 0.4775780737400055, 0.3396957218647003, -0.46488311886787415, 0.5379889011383057, 0.40520745515823364, 0.34900450706481934, 0.31221872568130493, 0.9880664348602295, -0.08823199570178986, -0.1179538443684578, 0.12332932651042938, -0.1758352667093277, -0.003133380087092519, -0.4523632824420929, -0.28294163942337036, 0.4624990224838257, 0.6943368911743164, -0.10850746184587479 ]
http://arxiv.org/abs/2404.14368v1
http://arxiv.org/pdf/2404.14368v1
Graphic Design with Large Multimodal Model
2024-04-22T17:20:38
2024-04-22T17:20:38
Yutao Cheng, Zhao Zhang, Maoke Yang, Hui Nie, Chunyuan Li, Xinglong Wu, Jie Shao
cs.CV
cs.CV, cs.AI, cs.CL
In the field of graphic design, automating the integration of design elements into a cohesive multi-layered artwork not only boosts productivity but also paves the way for the democratization of graphic design. One existing practice is Graphic Layout Generation (GLG), which aims to layout sequential design elements. It has been constrained by the necessity for a predefined correct sequence of layers, thus limiting creative potential and increasing user workload. In this paper, we present Hierarchical Layout Generation (HLG) as a more flexible and pragmatic setup, which creates graphic composition from unordered sets of design elements. To tackle the HLG task, we introduce Graphist, the first layout generation model based on large multimodal models. Graphist efficiently reframes the HLG as a sequence generation problem, utilizing RGB-A images as input, outputs a JSON draft protocol, indicating the coordinates, size, and order of each element. We develop new evaluation metrics for HLG. Graphist outperforms prior arts and establishes a strong baseline for this field. Project homepage: https://github.com/graphic-design-ai/graphist
[ -0.5067707300186157, -0.8390512466430664, 0.5172961354255676, 0.20076030492782593, -0.338821142911911, 0.3592667281627655, 0.2814024090766907, -0.5352808237075806, 0.23001925647258759, 0.3926989436149597, -0.8079026341438293, -0.6894651055335999, -0.32498955726623535, -0.17188811302185059, 0.10144319385290146, 0.7170695066452026, -0.14035147428512573, -0.5504065155982971, 0.05957086756825447, 0.007851534523069859, -0.7013488411903381, -0.10637195408344269, -0.5919241905212402, -0.38871142268180847, 0.8195171356201172, 0.12683789432048798, 1.0762958526611328, 0.7540712952613831, 0.361529141664505, 0.3882927894592285, 0.0650109350681305, 0.45469343662261963, -0.4966358542442322, 0.13973981142044067, -0.0032497155480086803, 0.20758147537708282, -0.6788594722747803, -0.03498939424753189, 0.46668922901153564, 0.635931670665741, 0.05601157993078232, 0.2544403076171875, -0.12240961194038391, 0.6772245168685913, -0.585554301738739, 0.33197498321533203, -0.0594610720872879, 0.3799248933792114, -0.06886529922485352, -0.14738424122333527, -0.6281558871269226, -0.3743130564689636, -0.09601666033267975, -1.1399550437927246, -0.08011311292648315, 0.2567770183086395, 0.7120679020881653, 0.19022667407989502, -0.5032452940940857, -0.006507702637463808, -0.6670106649398804, 0.5477731227874756, -0.5909971594810486, 0.42137181758880615, -0.31620630621910095, 0.29569023847579956, -0.08176235854625702, -0.952215313911438, -0.43708622455596924, -0.10313654690980911, -0.12144030630588531, 0.30322346091270447, -0.05803424492478371, 0.2212061882019043, 0.25145480036735535, 0.2800910472869873, -0.902763843536377, 0.07776740938425064, -0.1386232078075409, -0.20067821443080902, 0.5965753197669983, 0.3702920377254486, 0.7141344547271729, -0.36180630326271057, -0.41166752576828003, -0.23647962510585785, -0.46123480796813965, -0.1103951558470726, 0.7326056361198425, 0.22762145102024078, -0.08276721835136414, 0.45756199955940247, 0.22404201328754425, 0.6259672045707703, 0.2674398124217987, -0.2875995635986328, 0.23088699579238892, -0.5272745490074158, -0.05983252823352814, -0.2330058217048645, 0.8979666233062744, 0.3200441002845764, -0.048823535442352295, 0.07331675291061401, -0.14062097668647766, 0.10036338120698929, 0.524421751499176, -0.9290355443954468, -0.6619003415107727, 0.18297672271728516, -0.5375450253486633, -0.22443413734436035, -0.06758439540863037, -0.6474254131317139, -0.440088152885437, -0.34772273898124695, 0.12818410992622375, -0.2650589644908905, -0.337889164686203, -0.11022316664457321, -0.22360925376415253, -0.46102404594421387, 0.5868885517120361, -0.6210306286811829, -0.30432015657424927, 0.40022191405296326, 0.799889087677002, -0.18922626972198486, -0.24299836158752441, -0.07850593328475952, 0.43547534942626953, -0.6550896167755127, 0.5904329419136047, -0.15440165996551514, -0.5621576905250549, -0.02508564665913582, -0.1901063770055771, 0.15815085172653198, -0.20830826461315155, 0.2505614161491394, -0.5481758117675781, 0.19202470779418945, 0.028485529124736786, -0.08647297322750092, -0.05910661444067955, 0.31745296716690063, -0.9183425307273865, 0.7039880156517029, 0.14835844933986664, -1.1111952066421509, 0.6712364554405212, -0.6065735816955566, -0.615362286567688, 0.5628471374511719, -0.3845767676830292, -0.5474334359169006, 0.03120281919836998, 0.17540647089481354, 0.13430552184581757, 0.11234945803880692, 0.24542412161827087, -0.6145164370536804, -0.18198511004447937, -0.2699553668498993, 0.04151567444205284, 0.5728830695152283, 0.3761613667011261, 0.04336940869688988, 0.4661577045917511, -0.7317656874656677, 0.42836883664131165, 0.35415777564048767, -0.724270224571228, 0.033597223460674286, 0.001372003462165594, 0.4338241219520569, 0.5521278381347656, 0.4049249291419983, -0.38710305094718933, 0.3285614848136902, 0.038291722536087036, 0.4357689321041107, 0.9297058582305908, 0.01516200602054596, 0.6063936948776245, -0.42853856086730957, 0.5758785605430603, -0.20405757427215576, 0.11772634088993073, -0.535607635974884, -0.45829036831855774, -0.20869597792625427, -0.5478202700614929, 0.07839520275592804, 0.3838692009449005, -0.9860383868217468, 0.48084741830825806, -0.17367051541805267, -0.41087204217910767, 0.19204644858837128, 0.26885560154914856, 0.21959145367145538, 0.01286656316369772, -0.06521791964769363, -0.6124960780143738, -0.44138723611831665, -0.8849651217460632, 0.3699488639831543, -0.014564801938831806, 0.22389879822731018, 0.3563685715198517, 0.2586331367492676, -0.5123415589332581, 0.6045687794685364, -0.6818345785140991, -0.12873438000679016, -0.27622610330581665, 0.6506877541542053, 0.12338312715291977, 0.4361686408519745, 0.6825585961341858, -0.5379512906074524, -0.4517284035682678, 0.10391498357057571, -0.8694758415222168, 0.025904078036546707, -0.2247278392314911, -0.4396553337574005, 0.13240958750247955, 0.23553290963172913, -0.9077938795089722, 0.3487989902496338, 0.5920933485031128, -0.08193418383598328, 0.654816746711731, -0.3723464608192444, -0.127446711063385, -1.140220284461975, 0.2775067985057831, 0.19723251461982727, -0.09524039924144745, -0.46948495507240295, 0.39435479044914246, -0.16306401789188385, -0.744857132434845, -0.04086926579475403, 0.433238685131073, -0.6790578365325928, -0.1339929848909378, -0.3664212226867676, -0.21379564702510834, 0.37518608570098877, 0.5800986289978027, -0.062465839087963104, 0.3598158657550812, 0.2501913011074066, -0.10663178563117981, 0.394001841545105, 0.2249302864074707, -0.5992328524589539, 0.5343156456947327, -0.7331514954566956, 0.33541321754455566, -0.3312380611896515, 0.7924002408981323, -1.5074678659439087, -0.5074241757392883, 0.2586928904056549, 0.057249825447797775, 0.38044095039367676, -0.03886411339044571, -0.8680620193481445, -0.7826076149940491, -0.09921412914991379, 0.7790932059288025, 0.2365451157093048, -0.4628738462924957, 0.5404466390609741, 0.3206122815608978, -0.3946295380592346, -0.40389367938041687, -0.24893158674240112, 0.08521632850170135, -0.058930158615112305, -1.1141328811645508, 0.3165222406387329, -0.2207341194152832, 0.0034040112514048815, -0.28065645694732666, -0.02625396102666855, 0.2713501751422882, -0.23182731866836548, 0.3689461946487427, 0.3666248321533203, -0.3016241490840912, -0.14903077483177185, -0.03126724436879158, 0.008913631550967693, -0.1968432068824768, -0.21008072793483734, 0.826770544052124, 0.29068440198898315, -0.48686540126800537, -0.7444133758544922, 0.6163382530212402, 0.8876075744628906, -0.16346414387226105, 0.05352315679192543, 0.6366367936134338, -0.19131475687026978, -0.26977771520614624, -0.07401488721370697, 0.3329232335090637, -0.5035388469696045, 0.435350626707077, -0.31530362367630005, -0.5194856524467468, 0.353797972202301, -0.3477880656719208, 0.5350358486175537, 0.23394879698753357, 0.3631468415260315, -0.10518061369657516, 1.626347541809082, 0.6335433721542358, 0.16327697038650513, 0.7903104424476624, -0.35542964935302734, 0.22189660370349884, -0.46198007464408875, 0.04373612254858017, -0.14526212215423584, -0.5760579705238342, -0.5559700131416321, -0.32899239659309387, 0.5843996405601501, -0.04065375030040741, -0.4909049868583679, 0.1670563966035843, -0.6271104216575623, 0.23846566677093506, 0.37429991364479065, 0.2766045331954956, 0.10134849697351456, 0.1395503729581833, -0.17088299989700317, 0.11472545564174652, -0.6725803017616272, -0.2785662114620209, 0.7039849758148193, 0.33316802978515625, 1.2253063917160034, 0.12418009340763092, 0.8371610641479492, 0.26802924275398254, 0.32732629776000977, -0.6123852133750916, 0.4878844618797302, -0.1044110357761383, -0.4964839220046997, -0.28831908106803894, -0.3255887031555176, -0.8179856538772583, 0.1105106845498085, -0.41202181577682495, -0.6066873073577881, 0.14516770839691162, 0.2692760229110718, -0.24543479084968567, 0.08771257847547531, -0.6684446334838867, 0.9421179294586182, -0.38428646326065063, -0.5236282348632812, 0.0016912193968892097, -0.43046537041664124, 0.6122075319290161, -0.06703219562768936, 0.346070796251297, 0.04705457389354706, 0.45855316519737244, 0.33035850524902344, -0.5040680170059204, 0.8068573474884033, -0.2450179159641266, -0.331155389547348, 0.3131891191005707, 0.39221981167793274, 0.5378035306930542, -0.15313857793807983, 0.2964991629123688, -0.12493015080690384, -0.23630499839782715, -0.2420053482055664, -0.5369574427604675, 0.5751407742500305, -0.8820706605911255, -0.44957560300827026, 0.06247590109705925, -0.9929147362709045, 0.06154081970453262, 0.43647363781929016, 0.3443140387535095, 0.52359539270401, -0.34187421202659607, -0.034244149923324585, 0.2174612283706665, -0.43278419971466064, 0.2865159809589386, -0.4504329562187195, -0.6328206658363342, -0.6667233109474182, 0.7840874195098877, 0.089961476624012, 0.242562934756279, 0.1595786213874817, 0.26773008704185486, -0.34638503193855286, -0.29810312390327454, -1.0401068925857544, -0.003665134310722351, -0.7635665535926819, 0.11516109853982925, -0.31588828563690186, -0.3099581301212311, -0.40993157029151917, -0.38360595703125, -0.10405983775854111, -0.4088354706764221, -0.01874999888241291, 0.20224042236804962, -0.34929803013801575, 1.0301910638809204, 0.075424425303936, 0.3350462317466736, -0.39449548721313477, 0.4668441116809845, 0.4391162097454071, 0.09077733010053635, 0.16677561402320862, -0.11718674004077911, -0.09805259108543396, -0.25069066882133484, -0.8992696404457092, -0.5599056482315063, 0.1969337910413742, -0.1341184824705124, 0.6391686201095581, 0.5228835344314575, -0.4741343557834625, 0.6936978101730347, -0.5662815570831299, 0.5125202536582947, 0.7092443108558655, -0.6115778088569641, 0.3673129975795746, -0.8938863277435303, 0.672861635684967, 0.07586152106523514, 0.2107987254858017, -0.4875452220439911, -0.2221287339925766, -0.6926547288894653, -1.0650492906570435, 0.4021613895893097, -0.14135803282260895, 0.015432336367666721, 0.17464497685432434, 0.08460400998592377, 0.1623212695121765, 0.22800549864768982, -0.7990120649337769, 0.0396588109433651, -0.6265462040901184, -0.10744016617536545, -0.11482378095388412, 0.026982098817825317, -0.41506537795066833, -0.2900119125843048, 0.44236233830451965, -0.45947185158729553, 0.20737040042877197, -0.24867479503154755, 0.03661150485277176, -0.35365551710128784, 0.08331426978111267, 0.6469372510910034, 1.106553316116333, 0.13701912760734558, 0.07817674428224564, -0.4821082651615143, 0.04830379784107208, 0.2520599365234375, -0.029750265181064606, -0.32614830136299133, -0.15002861618995667, 0.4840461015701294, 0.7145223617553711, 0.06498581916093826, -0.35844552516937256, 0.39840561151504517, 0.30581873655319214, -0.2519822418689728, -0.0727313682436943, -0.07465259730815887, 0.02516508847475052, 0.16475710272789001, 0.27359771728515625, -0.052595529705286026, 0.03190666809678078, -0.736696183681488, 0.3085331320762634, 0.4483717381954193, 0.03209920600056648, -0.29844722151756287, 1.0026977062225342, 0.20930910110473633, -0.32279494404792786, 0.5070508122444153, -0.11463191360235214, -0.2903667390346527, 0.7509118318557739, 0.7969503998756409, 0.6466954350471497, 0.15390290319919586, 0.5442186594009399, 0.5968802571296692, 0.0691378265619278, 0.09214284271001816, 0.17142413556575775, 0.024092352017760277, -0.6166293025016785, -0.5583512187004089, -0.35578253865242004, -0.32129979133605957, -0.08777937293052673, -0.2366023063659668, -0.032569415867328644, -0.9795998334884644, -0.5092465281486511, 0.2318265587091446, -0.1378667801618576, -0.43959176540374756, 0.03838535025715828, 0.5260478854179382, 0.684447169303894, -0.6113139390945435, 0.31715020537376404, 0.9924501180648804, -0.35674139857292175, -0.6383615732192993, -0.07270951569080353, 0.200903058052063, -0.7829106450080872, 0.7905993461608887, 0.1285000741481781, -0.02693096362054348, -0.11103646457195282, -0.5136973857879639, -0.5992944836616516, 1.180324912071228, 0.09864513576030731, -0.4137424826622009, -0.26842981576919556, 0.08432353287935257, 0.5283430814743042, -0.35416311025619507, -0.043135032057762146, -0.12791238725185394, 0.5069646835327148, 0.5755152106285095, -0.5346764326095581, 0.08021081984043121, -0.5209922790527344, 0.3674052953720093, 0.376171350479126, -0.8420745730400085, 1.2577896118164062, -0.30253130197525024, -0.4516506791114807, 0.3396821618080139, 0.47126686573028564, 0.4899183213710785, 0.15097028017044067, 0.6047291159629822, 0.7912083268165588, 0.670565664768219, -0.06484424322843552, 0.93673175573349, -0.4045563042163849, 0.16788141429424286, 0.9676312804222107, -0.1962129920721054, 0.1158844530582428, 0.08803287893533707, 0.21991048753261566, 0.6809447407722473, 0.7522290945053101, 0.1224629208445549, 0.5124228596687317, 0.22176136076450348, -0.0325733907520771, -0.400109201669693, -0.07126393914222717, -0.2718662619590759, 0.27916115522384644, 0.0195385180413723, -0.3427300453186035, -0.4442812204360962, -0.24398471415042877, -0.025853319093585014, -0.12193357199430466, -0.17951691150665283, 0.6314858794212341, -0.2059827595949173, -0.4335067868232727, 0.380249559879303, -0.012873000465333462, 0.2256482094526291, -0.509913980960846, -0.10844315588474274, -0.10839226841926575, 0.18507419526576996, -0.18659056723117828, -0.9356510043144226, -0.10060257464647293, -0.6592772603034973, -0.02029433660209179, -0.4494328796863556, 0.65774005651474, -0.05405433848500252, -0.5331534743309021, 0.07425196468830109, 0.6528346538543701, -0.3995511829853058, 0.17288562655448914, -0.82570481300354, 0.2538558542728424, -0.47121793031692505, -0.04697611927986145, 0.1666852831840515, 0.5495035648345947, -0.23405160009860992, 0.4838010370731354, 0.656944751739502, -0.16477854549884796, 0.04504343122243881, 0.24436688423156738, 0.6554791331291199, -0.3217748701572418, -0.7626141309738159, -0.5063775777816772, 0.5085516571998596, -0.13856610655784607, -0.2805229723453522, 0.6131671071052551, 0.7600756287574768, 0.709169328212738, -0.14110557734966278, 1.0311388969421387, -0.05643831565976143, -0.3175625205039978, -0.1881585270166397, 0.6312635540962219, -0.5879250764846802, -0.47134295105934143, -0.7531663179397583, -0.8949947357177734, -0.3647502660751343, 0.5157301425933838, -0.22379329800605774, 0.11899156123399734, 0.5099478960037231, 0.5619902610778809, -0.272620290517807, 0.08255045115947723, 0.19810675084590912, -0.21192753314971924, 0.5019397735595703, 0.4932228624820709, 1.242877721786499, -0.03744548186659813, 0.2494255155324936, -0.26463159918785095, -0.2760292589664459, -0.007999400608241558, -0.7597634792327881, -0.9126754403114319, -0.39405545592308044, -0.14006158709526062, -0.2626703977584839, -0.3784405291080475, 0.6408457159996033, 1.0240437984466553, -0.2088620960712433, -0.32845672965049744, 0.09050735831260681, 0.08719617873430252, -0.2489938884973526, -0.21455225348472595, 0.14633379876613617, 0.13346286118030548, -0.50655198097229, 0.16576851904392242, 0.4472503066062927, 0.037770405411720276, -0.41912856698036194, -0.11648452281951904, 0.04396964982151985, -0.08440458029508591, 0.9431890845298767, 0.3330364227294922, -0.49027955532073975, -0.6107028126716614, -0.5096619725227356, -0.26900508999824524, 0.4027414321899414, 1.0418803691864014, -0.2397727072238922, 0.3851547837257385, 0.7974777221679688, 0.42630118131637573, 0.3343665897846222, 0.36268797516822815, 0.3689691424369812, -0.8315185904502869, 0.09777317941188812, -0.3371167480945587, 0.48756861686706543, 0.08274378627538681, -0.2237241119146347, 0.3517143428325653, 0.3133220076560974, -0.5199256539344788, -0.5142362713813782, 0.6832428574562073, -1.0348889827728271, -0.36735427379608154, 0.6717271208763123, 0.1787213385105133, -0.07403002679347992, 0.09818287938833237, -0.5245773792266846, 0.08942649513483047, -0.2042965590953827, 0.909694254398346, 0.7102080583572388, -0.34520354866981506, -0.21634794771671295, -0.2955790162086487, -0.043868012726306915, -0.22849272191524506, -1.040605068206787, -0.10597014427185059, 1.1484334468841553, 0.08253432810306549, 0.7318179607391357, 0.7654369473457336, 0.04646983742713928, 0.3390677869319916, 0.25924649834632874, 0.3241886496543884, -0.20500779151916504, -0.6647580862045288, 0.33516931533813477, 0.6094940304756165, 0.11161024123430252, 0.05380537360906601 ]
http://arxiv.org/abs/2404.14361v3
http://arxiv.org/pdf/2404.14361v3
Better Synthetic Data by Retrieving and Transforming Existing Datasets
2024-04-22T17:15:32
2024-04-26T19:02:23
Saumya Gandhi, Ritu Gala, Vijay Viswanathan, Tongshuang Wu, Graham Neubig
cs.CL
cs.CL
Despite recent advances in large language models, building dependable and deployable NLP models typically requires abundant, high-quality training data. However, task-specific data is not available for many use cases, and manually curating task-specific data is labor-intensive. Recent work has studied prompt-driven synthetic data generation using large language models, but these generated datasets tend to lack complexity and diversity. To address these limitations, we introduce a method, DataTune, to make better use of existing, publicly available datasets to improve automatic dataset generation. DataTune performs dataset transformation, enabling the repurposing of publicly available datasets into a format that is directly aligned with the specific requirements of target tasks. On a diverse set of language-based tasks from the BIG-Bench benchmark, we find that finetuning language models via DataTune improves over a few-shot prompting baseline by 49% and improves over existing methods that use synthetic or retrieved training data by 34%. We find that dataset transformation significantly increases the diversity and difficulty of generated data on many tasks. We integrate DataTune into an open-source repository to make this method accessible to the community: https://github.com/neulab/prompt2model.
[ -0.2156221717596054, -0.6532053351402283, 0.3004673421382904, 0.3656226694583893, -0.010274985805153847, -0.15174119174480438, -0.5594822764396667, -0.20342189073562622, -0.046336643397808075, 0.3965849280357361, -0.6071768403053284, -0.4410354197025299, -0.21991804242134094, 0.3332067131996155, -0.6160807609558105, 1.1007505655288696, 0.1419723629951477, 0.03401879966259003, -0.14861369132995605, 0.10974724590778351, -0.6785497069358826, -0.33488067984580994, -0.6910062432289124, -0.2032601535320282, 0.5379115343093872, 0.564815104007721, 0.6795068383216858, 0.845204770565033, 0.2519957721233368, 0.2450687736272812, 0.06995052844285965, 0.3048388361930847, -0.6301575899124146, 0.33214038610458374, -0.2640047073364258, -0.495993971824646, -0.12183889746665955, 0.02739391103386879, 0.6050011515617371, 0.9297878742218018, -0.22212520241737366, 0.2122119963169098, 0.23867790400981903, 0.6681661009788513, -0.18384060263633728, 0.3239319920539856, -0.735256552696228, -0.10208375006914139, -0.33670511841773987, 0.019555578008294106, -0.35386598110198975, -0.5277243256568909, 0.07955653220415115, -0.8296641111373901, 0.612633228302002, 0.011749808676540852, 0.4109886586666107, 0.39432814717292786, -0.13698162138462067, 0.02336898446083069, -0.8343624472618103, 1.0366616249084473, -0.6043919324874878, 0.4927147924900055, 0.28104767203330994, 0.6217284798622131, -0.3472154140472412, -0.8053610920906067, -0.7121918797492981, -0.14899182319641113, -0.07406217604875565, -0.05410609766840935, -0.30255264043807983, -0.22613167762756348, 0.6167483925819397, 0.43027064204216003, -0.7141920924186707, 0.07068389654159546, -0.46126872301101685, -0.06164442375302315, 0.8076240420341492, 0.23416578769683838, 0.3346341848373413, -0.40419673919677734, 0.10078438371419907, -0.33821582794189453, -0.6234830021858215, -0.10581520944833755, 0.43407928943634033, 0.8439108729362488, 0.16402442753314972, 0.6016517877578735, -0.5306956171989441, 0.8705395460128784, 0.033893339335918427, 0.3134003281593323, 0.4078376591205597, -0.5991626977920532, -0.1612938493490219, -0.0043310984037816525, 0.4168407917022705, 0.4464167058467865, 0.23205885291099548, -0.23779694736003876, -0.28201383352279663, 0.07204613834619522, 0.24930645525455475, -0.6715815663337708, -0.486563503742218, 0.5351114273071289, -0.14243562519550323, -0.2921693027019501, -0.12351179122924805, -0.7844273447990417, -0.5209200382232666, -1.0348966121673584, 0.0074064661748707294, -0.3904266953468323, -0.28394103050231934, 0.11392049491405487, -0.08910210430622101, 0.031274888664484024, 0.3385299742221832, -0.7520279288291931, 0.2991601526737213, 0.6699627041816711, 0.8276875019073486, -0.4757285416126251, -0.16885752975940704, -0.8262936472892761, -0.07996176183223724, -0.47022202610969543, 0.6252073049545288, -0.3250811696052551, -0.10627447068691254, -0.015621647238731384, 0.25126174092292786, 0.12301262468099594, -0.8210658431053162, 0.5070144534111023, -0.19425112009048462, 0.3878882825374603, -0.31769225001335144, -0.5017543435096741, 0.10355107486248016, 0.15836046636104584, -1.0026675462722778, 1.238006591796875, 0.32508689165115356, -0.42054224014282227, 0.42667195200920105, -0.8505671620368958, -0.4122420847415924, 0.12204886972904205, -0.04841627925634384, -0.18978852033615112, 0.04434054344892502, 0.4965805113315582, 0.4079224765300751, -0.538362443447113, 0.688014030456543, -0.036589138209819794, -0.15614819526672363, 0.1035909354686737, -0.33707284927368164, 0.773914098739624, 0.22421549260616302, -0.09603946655988693, 0.013311287388205528, -0.9139533042907715, 0.08657050877809525, 0.030677227303385735, -0.32313573360443115, -0.18219992518424988, -0.23069608211517334, 0.34808269143104553, 0.2487432211637497, -0.027378221973776817, -0.6579477190971375, 0.3423570990562439, -0.6835479736328125, 0.3565222918987274, 0.5430736541748047, -0.019832691177725792, 0.5531060695648193, -0.5056679844856262, 0.5074716210365295, -0.05614389479160309, 0.04347337409853935, 0.0379117950797081, -0.301857054233551, -0.5986834168434143, -0.1493924856185913, 0.44064250588417053, 0.5916908383369446, -0.9671079516410828, 0.4360293745994568, -0.4533804953098297, -0.5052895545959473, -0.6509785056114197, 0.3651573359966278, -0.00514474930241704, 0.7146682143211365, 0.6320708394050598, 0.12521928548812866, -0.8990715146064758, -0.8659859895706177, -0.2009608894586563, 0.13558141887187958, -0.374777615070343, 0.14971701800823212, 0.10335961729288101, -0.18775254487991333, 1.1886595487594604, -0.37051644921302795, -0.13752961158752441, -0.4197349548339844, 0.21088163554668427, 0.5961779356002808, 0.7409620881080627, 0.3386188745498657, -0.7063648700714111, -0.4050922095775604, -0.16347432136535645, -0.5284621715545654, -0.35279643535614014, -0.4246629476547241, -0.24276673793792725, 0.1030537337064743, 0.4474921226501465, -0.6059885621070862, 0.11201468110084534, 0.497763067483902, 0.004877178929746151, 0.5075767040252686, 0.2607993483543396, -0.05415879935026169, -1.2907787561416626, 0.3439037501811981, -0.13178309798240662, -0.26570090651512146, -0.7427352666854858, -0.29298079013824463, -0.1135389432311058, -0.48796311020851135, -0.3597678542137146, 0.693058967590332, -0.1530662477016449, -0.07839260995388031, -0.12130829691886902, -0.10987558215856552, -0.0029230015352368355, 0.2996821701526642, 0.03224829211831093, 0.8407711386680603, 0.6218392252922058, -0.690223753452301, 0.7284204363822937, 0.7009626626968384, -0.33560702204704285, 0.4618673622608185, -0.8294093012809753, 0.11544524878263474, -0.16157199442386627, 0.2897011935710907, -0.8376555442810059, -0.6329664587974548, 0.23097673058509827, -0.244522362947464, 0.18754060566425323, -0.3712860345840454, -0.6203962564468384, -0.31306758522987366, -0.10997819900512695, 0.28605061769485474, 0.5691965222358704, -0.8539049029350281, 0.3100340962409973, 0.07557127624750137, -0.5023922920227051, -0.29065239429473877, -0.7572526931762695, 0.2634414732456207, -0.2120484858751297, -0.528051495552063, 0.5088387727737427, 0.02626519463956356, -0.22717159986495972, -0.17438609898090363, -0.12102342396974564, -0.07345961779356003, -0.25297680497169495, -0.04721009358763695, 0.22679834067821503, 0.009597819298505783, 0.6150350570678711, 0.0764053463935852, -0.29667073488235474, -0.023620693013072014, -0.49507468938827515, 0.4567740261554718, 0.3078162670135498, -0.047824520617723465, -0.4457135796546936, 0.4473535120487213, 0.32574379444122314, -0.2392302304506302, 0.4522693455219269, 0.5555129051208496, -0.4304831624031067, -0.616269052028656, -0.3041991889476776, -0.49119672179222107, -0.47253182530403137, 0.23947682976722717, -0.12370029091835022, -0.43501386046409607, 0.15556789934635162, -0.16231247782707214, 0.44584956765174866, 0.20083321630954742, 0.3516392707824707, -0.0766904428601265, 0.9597657322883606, 0.2902919352054596, 0.036972418427467346, 0.5441486835479736, -0.28234440088272095, 0.05030442401766777, -0.46905550360679626, -0.019911067560315132, -0.41934800148010254, -0.4555448293685913, -0.42103877663612366, -0.48193347454071045, 0.2525147795677185, -0.20627067983150482, -0.13493895530700684, 0.5364072918891907, -0.6139522790908813, 0.44329163432121277, 0.6676347255706787, 0.35109981894493103, 0.2224365919828415, 0.31127044558525085, 0.2947559952735901, -0.16521212458610535, -0.8957406282424927, -0.43913158774375916, 1.379769206047058, 0.07585668563842773, 0.6337353587150574, -0.04080350324511528, 0.681689977645874, 0.19380499422550201, 0.07792513072490692, -0.8165885210037231, 0.4796440601348877, -0.3782607913017273, -0.48205751180648804, -0.4438285827636719, -0.6655948162078857, -1.0122126340866089, -0.46162086725234985, -0.2984958589076996, -0.31780433654785156, 0.3058062195777893, 0.3790724575519562, -0.34106722474098206, -0.10874507576227188, -0.6150516271591187, 0.7057154774665833, 0.06268985569477081, -0.3242497742176056, 0.15238802134990692, -0.43909960985183716, 0.17438693344593048, -0.3356529176235199, -0.04005174711346626, -0.09813317656517029, 0.26417383551597595, 0.7425476908683777, -0.663981556892395, 0.8117194175720215, -0.37498658895492554, -0.2929683029651642, 0.27805599570274353, 0.10565795004367828, 0.7733997702598572, 0.19756779074668884, -0.41130539774894714, -0.05783984437584877, -0.3748026192188263, -0.4824153482913971, -0.9504311680793762, 0.6533613801002502, -0.47465112805366516, -0.36003872752189636, 0.06036759167909622, -0.847855269908905, -0.3970016837120056, -0.04923184588551521, 0.30777621269226074, 0.7341066002845764, -0.0037240288220345974, 0.3318909704685211, 0.5219514966011047, -0.19702506065368652, 0.25881174206733704, 0.16704970598220825, -0.06062937527894974, -0.37457433342933655, 0.8478390574455261, 0.09535285085439682, 0.14918841421604156, 0.1065376028418541, 0.05712627246975899, -0.5336483716964722, -0.34847432374954224, -0.3783792555332184, -0.13292479515075684, -0.49373772740364075, -0.3663416802883148, -0.48033833503723145, 0.0015999453607946634, -0.47612228989601135, -0.03189096599817276, -0.5276023149490356, -0.8565977811813354, -0.13471172749996185, -0.20470452308654785, 0.7439325451850891, 0.3263615369796753, -0.33259302377700806, 0.34294629096984863, -0.6519002914428711, 0.4922609031200409, 0.4882020652294159, 0.30533936619758606, -0.44129088521003723, -0.39986756443977356, -0.0978342741727829, 0.3126065135002136, 0.13143181800842285, -0.6277852058410645, 0.36508050560951233, 0.3474738597869873, 0.42766284942626953, -0.28540369868278503, 0.24758589267730713, 0.5116503238677979, -0.4112446904182434, 0.6586090922355652, 0.037733256816864014, -0.8012571930885315, 0.8002469539642334, -0.4726078510284424, 0.45687735080718994, 0.6805221438407898, 0.3586398959159851, -0.6389546990394592, -0.1702379733324051, -0.4547930955886841, -0.8582633137702942, 0.7639477252960205, 0.5633087754249573, 0.238433375954628, 0.15486440062522888, 0.31735172867774963, 0.503860592842102, 0.1621430218219757, -0.38743510842323303, -0.007975931279361248, -0.4412574768066406, -0.5628366470336914, -0.08362513035535812, 0.28387293219566345, -0.15149982273578644, -0.3958258628845215, 0.7083553075790405, -0.25121739506721497, 0.21694040298461914, 0.10480236262083054, -0.15532514452934265, 0.07924330234527588, 0.2093895524740219, -0.04270351305603981, 0.47469186782836914, 0.05629424750804901, -0.008067473769187927, 0.16623982787132263, -0.3701779544353485, 0.24813924729824066, 0.44031235575675964, -0.31995630264282227, 0.3389187455177307, 0.14105287194252014, 0.7251539826393127, 0.06149173527956009, -0.630294144153595, 0.20006157457828522, 0.03828227147459984, -0.13443289697170258, -0.04268056899309158, 0.34912481904029846, -0.20620934665203094, 0.17781728506088257, 0.2884312570095062, 0.03891483694314957, 0.17534220218658447, -0.24886532127857208, 0.5945782661437988, -0.19231438636779785, 0.011757326312363148, -0.17813895642757416, 0.5275977849960327, 0.21505291759967804, -0.11869862675666809, 1.0697027444839478, -0.1545642763376236, -0.034358758479356766, 0.531116783618927, 0.510594367980957, 0.673625648021698, -0.27542638778686523, 0.5042122006416321, 0.7650561928749084, -0.02585512213408947, -0.29189255833625793, 0.6268557906150818, 0.10468922555446625, -0.6393093466758728, -0.6530001163482666, -0.4283144772052765, -0.25199657678604126, 0.32967081665992737, -0.5981860160827637, 0.5874519944190979, -0.4110148251056671, -0.19534367322921753, 0.13448365032672882, -0.1814456284046173, -0.8761588931083679, 0.272095650434494, -0.027214815840125084, 0.8371220827102661, -0.8650340437889099, 0.5685874819755554, 0.5513622164726257, -0.3156789541244507, -0.7338216304779053, -0.16067372262477875, -0.10386837273836136, -0.5016734600067139, 0.5906118750572205, 0.24986934661865234, 0.48841962218284607, 0.3833566904067993, -0.7656232118606567, -0.7201083898544312, 0.8709766864776611, 0.6514050960540771, -0.792621910572052, -0.08706219494342804, 0.4882919192314148, 0.37737247347831726, -0.20659418404102325, -0.14097771048545837, 0.6362574100494385, 0.5832235217094421, -0.08916277438402176, -0.7902474403381348, 0.21653036773204803, -0.38718414306640625, 0.12541618943214417, 0.04837699607014656, 0.030565619468688965, 0.6547178030014038, 0.06595023721456528, -0.34353482723236084, -0.04308035597205162, 0.38060498237609863, 0.3359494209289551, 0.04373756796121597, 0.5721948742866516, 0.3835294544696808, 1.0274938344955444, -0.22794289886951447, 0.740768313407898, -0.0871279388666153, 0.1535733938217163, 1.370969295501709, -0.20520883798599243, 0.5660429000854492, 0.42566531896591187, -0.0581243596971035, 0.2998458445072174, 0.4527568817138672, -0.4193357527256012, 0.3523867726325989, 0.37915974855422974, -0.08641895651817322, -0.376027375459671, -0.3680312931537628, -0.25359484553337097, 0.4948875904083252, 0.18462340533733368, -0.3322008550167084, -0.531745433807373, 0.312225878238678, -0.17905916273593903, 0.18316999077796936, -0.04665013402700424, 0.7773227691650391, -0.16926811635494232, -0.6590174436569214, 0.8019369840621948, -0.27619993686676025, 0.30559930205345154, -0.45272502303123474, -0.2738886773586273, -0.350483775138855, -0.11881522834300995, -0.36684298515319824, -0.762270987033844, 0.5513332486152649, 0.2449231594800949, -0.27247825264930725, -0.5072447657585144, 0.6407471299171448, -0.7373462319374084, -0.5337358713150024, -0.21872328221797943, 0.6241097450256348, 0.18702095746994019, -0.2602236270904541, -0.6518867611885071, -0.09460083395242691, -0.03125252202153206, -0.19949482381343842, -0.11537934839725494, 0.3275332748889923, -0.00363090424798429, 0.5033100843429565, 1.031835675239563, 0.07032483071088791, -0.022458292543888092, 0.1516229808330536, 0.8842422366142273, -0.557942271232605, -0.4729652404785156, -0.4885268211364746, 0.6006662249565125, -0.38867470622062683, -0.3176811933517456, 0.49384090304374695, 0.7048805952072144, 0.7239117622375488, -0.22991982102394104, 0.9780641794204712, -0.1558028608560562, 0.8357012867927551, -0.6857879757881165, 0.5325270891189575, -0.30144262313842773, 0.1834910362958908, -0.03133660927414894, -1.1793144941329956, -0.33212360739707947, 0.4336349666118622, -0.2108050137758255, -0.12697722017765045, 0.3757783770561218, 1.0881762504577637, -0.32252728939056396, 0.15848387777805328, -0.024835890159010887, 0.10933103412389755, 0.39340031147003174, 0.40130865573883057, 0.7279390692710876, -0.4040168523788452, 0.5965945720672607, -0.3398970067501068, -0.13870088756084442, 0.08982250839471817, -0.860897958278656, -0.6830911040306091, -0.699921190738678, -0.6431264877319336, -0.2363307923078537, 0.05012767016887665, 1.2030925750732422, 0.9305481910705566, -0.9479457139968872, -0.05422481149435043, -0.6993032693862915, -0.24970857799053192, -0.3106258809566498, -0.2831920087337494, 0.1635136753320694, -0.6924481391906738, -0.9296096563339233, 0.7633447051048279, -0.3427446782588959, 0.1931726336479187, -0.062033429741859436, 0.15210789442062378, 0.18644413352012634, -0.17091576755046844, 0.4548390805721283, 0.30536776781082153, -0.2999822199344635, 0.024381794035434723, 0.14522193372249603, 0.03837244212627411, -0.014524565078318119, 0.7554923295974731, -0.9200807809829712, 0.4896490275859833, 0.6068609356880188, 0.914006233215332, 0.24816957116127014, 0.03811091184616089, 1.121423363685608, -1.2121703624725342, 0.07194752246141434, 0.30830052495002747, 0.14453962445259094, 0.6083170175552368, -0.5017408728599548, 0.7639176249504089, 0.14417031407356262, -0.225581094622612, -0.7681719064712524, 0.31184136867523193, -0.8391135334968567, -0.13666604459285736, 1.3218525648117065, 0.17536096274852753, -0.04561088606715202, -0.2474219799041748, -0.39676633477211, 0.3866170644760132, -0.5210610628128052, 0.7743681073188782, 0.4252573549747467, 0.05362677946686745, 0.05935804545879364, -0.6870629191398621, 0.8899253010749817, 0.3610183298587799, -1.0395764112472534, 0.5709689259529114, 0.6472711563110352, 0.1173311099410057, -0.024729378521442413, 0.10427786409854889, 0.011899636127054691, 0.3206328749656677, -0.1597348004579544, 0.027374936267733574, -0.2405695766210556, -0.40649333596229553, -0.3807326853275299, -0.12905265390872955, -0.414661169052124, -0.09109852463006973 ]
http://arxiv.org/abs/2404.14355v3
http://arxiv.org/pdf/2404.14355v3
Pre-Calc: Learning to Use the Calculator Improves Numeracy in Language Models
2024-04-22T17:07:25
2024-06-26T03:52:24
Vishruth Veerendranath, Vishwa Shah, Kshitish Ghate
cs.CL
cs.CL, cs.AI
Quantitative and numerical comprehension in language is an important task in many fields like education and finance, but still remains a challenging task for language models. While tool and calculator usage has shown to be helpful to improve mathematical reasoning in large pretrained decoder-only language models, this remains unexplored for smaller language models with encoders. In this paper, we propose Pre-Calc, a simple pre-finetuning objective of learning to use the calculator for both encoder-only and encoder-decoder architectures, formulated as a discriminative and generative task respectively. We pre-train BERT and RoBERTa for discriminative calculator use and Flan-T5 for generative calculator use on the MAWPS, SVAMP, and AsDiv-A datasets, which improves performance on downstream tasks that require numerical understanding. Our code and data are available at https://github.com/calc-cmu/pre-calc.
[ -0.5751380324363708, -0.5131604671478271, 0.3766283094882965, 0.21864546835422516, -0.29212260246276855, -0.07334093004465103, -0.24728882312774658, 0.3081001937389374, -0.22067363560199738, 0.5086049437522888, -0.34587162733078003, -0.5559886693954468, -0.42991241812705994, 0.09443265944719315, -0.05360042303800583, 0.9395222067832947, -0.02213354967534542, 0.41938483715057373, -0.7105912566184998, 0.29813191294670105, -0.1785491704940796, -0.6672957539558411, -0.4630378186702728, -0.3714756369590759, 0.38442355394363403, 0.326633483171463, 0.6429498195648193, 0.09173190593719482, 0.5269662141799927, 0.2643078863620758, 0.5447835326194763, 0.052630405873060226, -0.543693482875824, -0.18718506395816803, 0.13619138300418854, -0.8248196840286255, -0.34432196617126465, -0.16867098212242126, 0.25647348165512085, 0.8497604131698608, -0.19898658990859985, 0.17640317976474762, 0.13536067306995392, 0.6640943884849548, -1.1846171617507935, 0.6485252976417542, -0.1619098037481308, -0.00921480730175972, -0.20377422869205475, -0.531470537185669, -0.6660180687904358, -0.8234866857528687, -0.12489967048168182, -0.7459602952003479, 0.24553340673446655, -0.6108957529067993, 0.5274268388748169, 0.5277556777000427, -0.5033329725265503, -0.2535439729690552, -0.7698999643325806, 0.7623111009597778, -0.49659356474876404, 0.6913759112358093, 0.8324366807937622, 0.14698557555675507, 0.09957773983478546, -0.5780312418937683, -0.28700900077819824, -0.16140422224998474, 0.05765683948993683, 0.25241661071777344, -0.13190042972564697, 0.2523088753223419, 0.5184728503227234, 0.2294326275587082, -0.4772608280181885, -0.06175984442234039, -0.5364925861358643, -0.127646341919899, 0.31294211745262146, -0.0635734498500824, -0.014120329171419144, 0.16863766312599182, 0.06613633781671524, -0.437511146068573, -0.956716775894165, -0.04693117365241051, 0.08806613087654114, -0.07910920679569244, -0.12369906157255173, 0.41841036081314087, 0.39300569891929626, 0.7143330574035645, -0.13406801223754883, 0.10954830050468445, 0.39403781294822693, -0.2505287528038025, -0.18847395479679108, 0.008777068927884102, 0.538286030292511, -0.28690412640571594, 0.7625901103019714, 0.16234350204467773, -0.31074732542037964, 0.31777405738830566, 0.3687359690666199, -1.0809364318847656, -0.7022780179977417, -0.31744471192359924, -0.06629937887191772, -0.20724208652973175, 0.018337585031986237, -0.30504894256591797, 0.1378275603055954, -0.48849233984947205, 0.6769037246704102, -0.3294963240623474, -0.14354456961154938, 0.31923672556877136, 0.03962886333465576, 0.2711006700992584, 0.32693955302238464, -0.8081558346748352, 0.5183773636817932, 0.6244388818740845, 0.37694013118743896, 0.6089093685150146, -0.04294706508517265, -0.6514757871627808, -0.28911182284355164, -0.5894965529441833, 0.5527417063713074, -0.4808245003223419, -0.619189977645874, -0.10705847293138504, -0.4035950303077698, -0.19430895149707794, -0.4049854278564453, 0.2922171354293823, -0.7755275964736938, 0.042986348271369934, -0.3506637513637543, -0.4200700521469116, -0.3679473400115967, -0.07292097806930542, -0.905927836894989, 0.6380941271781921, 0.13779370486736298, -0.5314332246780396, 0.21544432640075684, -0.9110741019248962, -0.6899949908256531, 0.19925443828105927, -0.28717494010925293, -0.3133412301540375, 0.44860735535621643, 0.43892547488212585, 0.1763114631175995, -0.48037293553352356, 0.11592813581228256, -0.18818843364715576, -0.4393366873264313, 0.20977216958999634, -0.7657051086425781, 0.6429818868637085, 0.31728288531303406, -0.00038211155333556235, 0.10236425697803497, -0.3461686074733734, 0.20331622660160065, 0.03878336027264595, -0.10551822185516357, -0.2582813501358032, -0.1852731704711914, -0.42651236057281494, -0.011502239853143692, 0.41079047322273254, -0.24653860926628113, -0.34384986758232117, -0.6448918581008911, 0.19756081700325012, 0.4893134832382202, -0.2686581313610077, 0.5593515634536743, -0.1735876351594925, 0.9360790252685547, 0.012933451682329178, -0.14459389448165894, -0.40395089983940125, -0.03900263458490372, -0.6438948512077332, -0.08240418136119843, 0.6337701082229614, 0.6814929246902466, -1.1038235425949097, 0.3650375306606293, -0.22342877089977264, -0.367848664522171, -0.49513858556747437, 0.2348039150238037, 0.7500305771827698, 0.3042973577976227, 0.19655261933803558, -0.3844589591026306, -0.3619392216205597, -0.42232006788253784, -0.02518223598599434, 0.13391606509685516, -0.3383030593395233, 0.25700291991233826, 0.33471864461898804, 0.029866520315408707, 0.8231292366981506, -0.8132436275482178, -0.20827209949493408, -0.17303508520126343, 0.29372158646583557, 0.10964180529117584, 0.42261597514152527, 0.5128111839294434, -0.8864730000495911, -0.37938573956489563, -0.15078949928283691, -0.6425561308860779, -0.2279425710439682, 0.22050727903842926, -0.073551706969738, -0.0933704525232315, 0.3640669286251068, -0.48237115144729614, 0.7797063589096069, 0.426234632730484, 0.05998696759343147, 0.6767634153366089, -0.7267653942108154, 0.27963465452194214, -0.7076698541641235, -0.06627891957759857, 0.07380843162536621, -0.2059403657913208, -0.5513907670974731, -0.05032019317150116, 0.43127015233039856, -0.40266868472099304, -0.4284919798374176, 0.13190476596355438, -0.2485482096672058, -0.07888244837522507, -0.028448650613427162, -0.139773428440094, 0.20167121291160583, 0.2838122844696045, 0.10067130625247955, 1.2348811626434326, 0.4246668219566345, -0.6884073615074158, 0.028720149770379066, 0.12314383685588837, -0.33544817566871643, 0.03428759425878525, -0.6311531662940979, 0.33992716670036316, -0.317754328250885, 0.18763287365436554, -0.5872423052787781, 0.18876393139362335, -0.2436346560716629, -0.5563511848449707, 0.1184200868010521, 0.1119612455368042, -0.49651843309402466, -0.5226953029632568, -0.27672550082206726, 0.9933894872665405, 0.5175753831863403, -0.5892015099525452, 0.8420560956001282, 0.26527827978134155, -0.014055795036256313, -0.4391935467720032, -0.5404367446899414, -0.5323069095611572, 0.10844692587852478, -0.5278501510620117, 0.20097365975379944, -0.16207006573677063, -0.13478024303913116, -0.19923874735832214, -0.04132029414176941, -0.36750414967536926, 0.07969625294208527, 0.11845626682043076, 0.4062509834766388, -0.5715524554252625, 0.2893233895301819, 0.04469989985227585, -0.40843847393989563, 0.34196555614471436, -0.0736704096198082, 0.8908066153526306, -0.3278837203979492, -0.4092981815338135, -0.29747745394706726, 0.05761506408452988, 0.3419325649738312, -0.9383092522621155, 0.5588252544403076, 0.3988443613052368, -0.5079926252365112, -0.01570483297109604, -0.5863810181617737, -0.4347330629825592, -0.5140377879142761, 0.4297367334365845, -0.877891480922699, -0.5480164289474487, 0.3913840055465698, -0.13944993913173676, 0.010258813388645649, 0.34529221057891846, 0.41484588384628296, 0.24847082793712616, 1.2095285654067993, 0.4604955315589905, 0.20838689804077148, 0.4712894558906555, -0.4666023850440979, 0.3633142113685608, -0.5127655267715454, -0.022641900926828384, -0.5630009770393372, 0.1112692728638649, -0.06510796397924423, -0.542296290397644, 0.27151110768318176, 0.2501835823059082, -0.39364996552467346, 0.3259967267513275, -0.1036120131611824, 0.8754534721374512, 0.48568791151046753, 0.20399178564548492, -0.12379874289035797, -0.14495430886745453, -0.28588688373565674, -0.2601861357688904, -0.5218476057052612, -0.4104633927345276, 1.2811280488967896, 0.08759303390979767, 0.9873732328414917, -0.10982891172170639, 1.0094289779663086, -0.042109981179237366, 0.4846533536911011, -0.7903038859367371, 0.4335290491580963, -0.7596553564071655, -0.1749197542667389, -0.053663138300180435, -0.7912064790725708, -0.7953295707702637, 0.24792955815792084, 0.04835429787635803, -0.256866991519928, 0.18949972093105316, 0.3429478704929352, -0.6764868497848511, -0.04319141432642937, -1.057830572128296, 1.1808921098709106, -0.5358908176422119, -0.25137996673583984, -0.5098341107368469, -0.020484376698732376, 0.15137508511543274, -0.35429084300994873, 0.4039345979690552, 0.19109487533569336, 0.2517811059951782, 0.5808767676353455, -0.7394809722900391, 0.5525091886520386, -0.3162175416946411, -0.15444441139698029, 0.31535571813583374, 0.31599441170692444, 0.0977209210395813, -0.06541740894317627, -0.18217365443706512, 0.019923236221075058, 0.30229976773262024, -0.1991187185049057, -0.7270532846450806, 0.537880003452301, -0.7457247972488403, -0.5725764632225037, -0.20049796998500824, -0.2875540256500244, -0.0842444971203804, 0.14227919280529022, 0.2511219382286072, 0.6867993474006653, -0.26066213846206665, 0.5227074027061462, 0.6698535680770874, 0.06660733371973038, 0.11453766375780106, 0.33835965394973755, -0.1026356890797615, -0.4629457890987396, 0.952248215675354, -0.10965327173471451, 0.29645079374313354, 0.5172342658042908, 0.28321006894111633, -0.36192041635513306, 0.10647953301668167, -0.10986396670341492, 0.14455635845661163, -0.9177253246307373, -0.4567987620830536, -0.3272976875305176, -0.38928961753845215, -0.35121268033981323, -0.41004478931427, -0.2884743809700012, -0.15938453376293182, -0.681578516960144, -0.08360663056373596, 0.19068746268749237, 0.3850802779197693, -0.23896631598472595, 0.3629419207572937, -0.717562198638916, 0.4391440153121948, 0.3897268772125244, -0.13105222582817078, 0.04186264052987099, -0.31087249517440796, -0.04737827554345131, 0.5002555251121521, -0.20333853363990784, -0.609103262424469, 0.6367422342300415, 0.40955138206481934, 0.2483184039592743, 0.5696829557418823, 0.21355392038822174, 0.8194642066955566, -0.35563766956329346, 0.21612489223480225, 0.40589022636413574, -1.1227214336395264, 0.41920700669288635, 0.25044184923171997, 0.7590098977088928, 0.7941195964813232, 0.4244924485683441, 0.0310750063508749, 0.19777849316596985, -0.22862163186073303, -0.350446879863739, 0.515350878238678, 0.1829044371843338, 0.28132370114326477, -0.11684580892324448, 0.2130696326494217, 0.17429982125759125, 0.2570865750312805, -0.4249126613140106, 0.05514025315642357, -0.40264493227005005, -0.5680800676345825, -0.3703066110610962, -0.15592657029628754, 0.10197580605745316, -0.6222951412200928, 0.399036705493927, -0.21628893911838531, 0.09621873497962952, -0.24586741626262665, -0.4804759621620178, 0.08853260427713394, 0.2677557170391083, 0.33877328038215637, 0.7742881178855896, -0.07460696995258331, 0.2817007899284363, 0.37253934144973755, -0.8125826716423035, -0.10623978823423386, 0.38732993602752686, -0.07714814692735672, -0.2594466209411621, 0.01385905034840107, 0.8310821652412415, 0.8819594383239746, -0.5209304690361023, 0.6143302917480469, -0.22826889157295227, -0.3833928108215332, -0.505432665348053, 0.19532842934131622, -0.08927436918020248, -0.18661808967590332, 0.23704464733600616, 0.014988809823989868, 0.015515555627644062, -0.17871734499931335, 0.24817636609077454, 0.31357264518737793, -0.19450992345809937, -0.3860583007335663, 0.638175904750824, 0.2947427034378052, -0.40783217549324036, 0.8281765580177307, -0.13737374544143677, -0.8020856976509094, 0.7619097828865051, 0.8522037267684937, 0.7552225589752197, -0.3517005741596222, 0.24293024837970734, 0.3854318857192993, 0.029421323910355568, 0.008106343448162079, 0.40673452615737915, -0.6222061514854431, -0.9589435458183289, -0.5346745848655701, -0.6937371492385864, -0.10134704411029816, -0.23555724322795868, -0.8611778616905212, 0.37637633085250854, -0.48310914635658264, -0.31485670804977417, 0.32358789443969727, 0.08076940476894379, -1.2676361799240112, 0.242496520280838, 0.07640273123979568, 0.6088023781776428, -0.6238959431648254, 0.9228252172470093, 0.5334088206291199, -0.475740909576416, -0.9253486394882202, -0.36725956201553345, -0.2890465557575226, -0.652911901473999, 0.9272909760475159, 0.3632029592990875, -0.46414220333099365, 0.5587833523750305, -0.259281724691391, -0.5622842311859131, 0.6701622009277344, 0.7169432044029236, -0.7179533243179321, -0.20484240353107452, 0.21765956282615662, 0.2381676882505417, -0.3032408058643341, 0.632646381855011, 0.6027822494506836, 0.253406822681427, 0.32745322585105896, -1.0355322360992432, -0.26030153036117554, -0.2724710702896118, -0.09727605432271957, 0.5369065999984741, 0.1002357229590416, 0.899634838104248, -0.5649327039718628, -0.15971621870994568, -0.13771292567253113, 0.5173981785774231, 0.2811008095741272, 0.2797006666660309, 0.5455749034881592, 0.6701540350914001, 0.5652656555175781, -0.21409666538238525, 0.9401015043258667, -0.2664787471294403, 0.38459312915802, 0.9620130658149719, -0.055131036788225174, 0.9625484943389893, 0.0796012282371521, -0.43768808245658875, 0.4570130705833435, 0.3717578053474426, 0.22832569479942322, 0.53346186876297, 0.45429763197898865, -0.7569195032119751, -0.688080370426178, 0.35830041766166687, -0.43886712193489075, 0.4101385176181793, 0.6447306275367737, -0.1286676973104477, -0.3599292039871216, 0.32801133394241333, -0.05120277404785156, 0.11187488585710526, -0.43328267335891724, 0.7298413515090942, 0.5783817172050476, -0.5383998155593872, 0.6658957004547119, -0.1713314652442932, 0.5204452276229858, -0.9259614944458008, -0.20776493847370148, 0.20043665170669556, 0.6112290620803833, -0.1382550597190857, -0.5496802926063538, 0.13594019412994385, -0.038318946957588196, 0.017076807096600533, -0.07785863429307938, 0.5816503763198853, -0.48325371742248535, -0.7436797618865967, 0.03710152208805084, 0.2656139135360718, 0.2609882950782776, -0.3444903492927551, -0.42156773805618286, 0.007704704534262419, -0.19964833557605743, 0.20405206084251404, -0.11844195425510406, 0.29403844475746155, -0.056370001286268234, 0.4247535765171051, 0.938014566898346, -0.1783408671617508, 0.017940504476428032, 0.7381319999694824, 0.8414298295974731, -0.5158581733703613, -0.5642184615135193, -0.7564127445220947, 0.17576177418231964, 0.35566744208335876, -0.09066678583621979, 0.5686090588569641, 0.7281914353370667, 0.9734527468681335, -0.33629652857780457, 0.34111258387565613, 0.2213120013475418, -0.06993477791547775, -0.457723468542099, 0.7631098628044128, -0.3352782130241394, 0.10583268105983734, -0.029014458879828453, -0.9884873628616333, -0.4707394242286682, 1.0652472972869873, -0.912837564945221, 0.21597284078598022, 0.6842804551124573, 0.6296423673629761, -0.017214663326740265, 0.2584605813026428, 0.3655129671096802, -0.26055875420570374, 0.28680622577667236, 0.7583187222480774, 0.49521371722221375, -0.3126852810382843, 0.3861336410045624, -0.4269571006298065, -0.2918824255466461, -0.02134806104004383, -0.5555413365364075, -0.8656188249588013, -0.5017584562301636, -0.35510483384132385, -0.1111203208565712, -0.09790944308042526, 0.8595936894416809, 0.52695631980896, -0.7499501705169678, -0.38920268416404724, -0.41364195942878723, -0.043424926698207855, 0.18163533508777618, -0.19477781653404236, 0.3591175675392151, -0.4106732904911041, -0.46537989377975464, 0.06251685321331024, 0.12967567145824432, -0.03978687524795532, -0.2807222902774811, -0.2071572244167328, 0.2202908843755722, 0.15190327167510986, 0.6807989478111267, 0.44382208585739136, -0.3682764172554016, 0.22238989174365997, -0.026864908635616302, 0.14902912080287933, 0.004749678540974855, 0.9723856449127197, -1.1433619260787964, 0.7741150856018066, 0.4401278495788574, 0.5582095980644226, 0.8267226815223694, 0.13337941467761993, 0.8418897390365601, -0.33766046166419983, 0.20472286641597748, 0.4362877905368805, 0.2369142472743988, 0.19366352260112762, -0.20769289135932922, 0.04514757916331291, -0.37059780955314636, -0.3024224638938904, -0.6247338652610779, 0.1649937629699707, -0.2809113562107086, 0.08589871227741241, 0.6050521731376648, -0.21074849367141724, -0.4672822654247284, 0.13858023285865784, -0.0559055358171463, 0.1706181913614273, -0.18493756651878357, 0.343649297952652, 0.38149043917655945, 0.37523844838142395, -0.3739282190799713, -0.4028240442276001, 0.3432345986366272, 0.5792136788368225, -0.9182677268981934, -0.1444794237613678, 0.36424151062965393, 0.06639787554740906, 0.05718844383955002, 0.6716905832290649, -0.23520782589912415, 0.5416709780693054, 0.037224747240543365, 0.18139435350894928, -0.0975959450006485, -0.2890983521938324, -0.11572455614805222, -0.04251367971301079, -0.0328577496111393, -0.3423561453819275 ]
http://arxiv.org/abs/2404.14339v1
http://arxiv.org/pdf/2404.14339v1
Zero-shot Cross-lingual Stance Detection via Adversarial Language Adaptation
2024-04-22T16:56:43
2024-04-22T16:56:43
Bharathi A, Arkaitz Zubiaga
cs.CL
cs.CL
Stance detection has been widely studied as the task of determining if a social media post is positive, negative or neutral towards a specific issue, such as support towards vaccines. Research in stance detection has however often been limited to a single language and, where more than one language has been studied, research has focused on few-shot settings, overlooking the challenges of developing a zero-shot cross-lingual stance detection model. This paper makes the first such effort by introducing a novel approach to zero-shot cross-lingual stance detection, Multilingual Translation-Augmented BERT (MTAB), aiming to enhance the performance of a cross-lingual classifier in the absence of explicit training data for target languages. Our technique employs translation augmentation to improve zero-shot performance and pairs it with adversarial learning to further boost model efficacy. Through experiments on datasets labeled for stance towards vaccines in four languages English, German, French, Italian. We demonstrate the effectiveness of our proposed approach, showcasing improved results in comparison to a strong baseline model as well as ablated versions of our model. Our experiments demonstrate the effectiveness of model components, not least the translation-augmented data as well as the adversarial learning component, to the improved performance of the model. We have made our source code accessible on GitHub.
[ -0.37982460856437683, -0.9256637692451477, 0.17639301717281342, 0.1040058508515358, -0.3737974166870117, 0.07743198424577713, -0.11091539263725281, -0.3003261983394623, 0.670139729976654, 0.08129607886075974, -0.4740857481956482, -0.6833586692810059, -0.9412120580673218, -0.0755276158452034, 0.10047552734613419, 1.1755807399749756, 0.0982440859079361, 0.576249361038208, 0.23065683245658875, -0.6730402112007141, -0.33542600274086, -0.23146739602088928, -0.570536196231842, -0.448172003030777, 0.5759391188621521, 0.3057840168476105, 0.6844024658203125, 0.09003959596157074, 0.03476530686020851, 0.13744114339351654, -0.032074447721242905, -0.10210384428501129, -0.26877278089523315, -0.13225844502449036, -0.17190225422382355, -0.4777945876121521, -0.5757566690444946, -0.13791437447071075, 0.7841804623603821, 0.5525534749031067, -0.015007714740931988, -0.08190979063510895, -0.20615313947200775, 0.4551824927330017, -0.4319104254245758, -0.2393496036529541, -0.6984246373176575, 0.10570906847715378, -0.15297463536262512, -0.11671958118677139, -0.38930872082710266, 0.04359081760048866, -0.24391205608844757, -0.5217807292938232, 0.04996756464242935, -0.4960647225379944, 0.9161757826805115, -0.21006381511688232, -0.4590344727039337, 0.034483734518289566, -0.23347656428813934, 0.7247774600982666, -0.9248368144035339, 0.5155727863311768, 0.2220107614994049, 0.049962736666202545, -0.2731199562549591, -0.0299701951444149, -0.6570094227790833, -0.05026934668421745, 0.3189986050128937, 0.31088539958000183, -0.5041577816009521, -0.06938308477401733, -0.06622427701950073, -0.07128117978572845, -0.8420230746269226, 0.127010315656662, -0.03866187110543251, -0.10827377438545227, 0.3283441960811615, -0.4094734787940979, 0.5388315916061401, -0.4360825717449188, -0.5417682528495789, -0.2439216524362564, -0.663953959941864, 0.31764087080955505, 0.5317756533622742, 0.5718944668769836, -0.3218633532524109, 0.6407748460769653, -0.04833132401108742, 0.5880894064903259, 0.4414108991622925, 0.040620461106300354, 0.3182251751422882, -0.058016203343868256, -0.23644164204597473, 0.17531603574752808, 0.7829641699790955, 0.2541200518608093, -0.010867176577448845, 0.06838494539260864, -0.08782507479190826, -0.09677189588546753, 0.2304171323776245, -0.7926117777824402, -0.1557798981666565, 0.20749697089195251, -0.25632524490356445, -0.41917702555656433, -0.21265709400177002, -0.503010630607605, -0.6122352480888367, -0.10385291278362274, 0.5860377550125122, -0.8342415690422058, -0.437910258769989, 0.13926240801811218, -0.1300657093524933, 0.6293595433235168, 0.26752057671546936, -0.6931029558181763, -0.3274845480918884, 0.7802006602287292, 0.7864530086517334, 0.0158541239798069, -0.3410351276397705, -0.6497094035148621, 0.16308407485485077, -0.7039682269096375, 0.7858928442001343, -0.5439011454582214, -0.4568348526954651, 0.09619937092065811, 0.05888193100690842, 0.09909623861312866, -0.11236609518527985, 0.32069334387779236, -0.5615493059158325, 0.2939823269844055, -0.22803589701652527, -0.3792629539966583, -0.32906195521354675, 0.9059219360351562, -0.49786216020584106, 0.8985860347747803, -0.11951260268688202, -0.7655684351921082, 0.6681249737739563, -0.697852611541748, -0.8988194465637207, 0.0004824993957299739, -0.22631052136421204, -0.5342497229576111, 0.07461490482091904, 0.5581722855567932, 0.4521906077861786, 0.25604376196861267, 0.276563823223114, -0.7297359704971313, 0.022357629612088203, 0.09310426563024521, -0.42398205399513245, 1.3686208724975586, -0.2886188328266144, -0.23842774331569672, 0.30481547117233276, -0.5701611638069153, -0.14609435200691223, 0.1559561789035797, -0.2167065292596817, -0.536064624786377, -0.17535191774368286, -0.2021123468875885, 0.2902388274669647, 0.09690231084823608, -0.6413809657096863, 0.468679279088974, -0.5558438301086426, -0.13963355123996735, 0.7481994032859802, 0.02839326113462448, 0.4200141727924347, -0.13538116216659546, 0.5246862769126892, 0.06513693183660507, 0.1510019153356552, -0.09135040640830994, -0.6303709745407104, -0.6546423435211182, -0.37310338020324707, 0.3554094731807709, 0.5995316505432129, -1.3309478759765625, 0.35459986329078674, -0.293512761592865, -0.3916493058204651, -0.7380087971687317, 0.2963319420814514, 0.3970754146575928, 0.427411288022995, 0.32929351925849915, -0.4341723620891571, -0.4488416910171509, -0.6739314794540405, -0.3467889428138733, -0.6615934371948242, 0.1103045865893364, 0.01841454580426216, 0.5119354724884033, -0.09342726320028305, 0.4794198274612427, -0.056798867881298065, -0.24481095373630524, -0.4894099235534668, 0.7309627532958984, 0.21379663050174713, 0.17506985366344452, 1.1084575653076172, -0.7795069813728333, -0.6909021139144897, 0.30326783657073975, -0.6827050447463989, -0.06548747420310974, -0.2814517021179199, -0.2694641351699829, 0.5672250390052795, 0.0362035371363163, -0.4556739628314972, 0.26280125975608826, 0.7861418724060059, -0.3113027513027191, 0.4036365747451782, -0.03349416330456734, 0.3573971092700958, -1.3660650253295898, -0.018550975248217583, 0.1764228790998459, -0.4191119968891144, -1.0053943395614624, 0.09293831139802933, 0.2524898648262024, -0.12413240224123001, -0.9135252237319946, 0.6724816560745239, -0.17456123232841492, 0.08687043190002441, -0.3261711299419403, -0.09084662795066833, 0.098403200507164, 0.5164804458618164, 0.3391217589378357, 0.5388104915618896, 0.7820701599121094, -0.42438608407974243, 0.1449238806962967, 0.21990589797496796, 0.12785862386226654, 1.0926218032836914, -0.44960522651672363, -0.0815875232219696, -0.2082425206899643, 0.3052876591682434, -1.0057613849639893, -0.13489596545696259, 0.6358776688575745, -1.0487323999404907, 0.6871570944786072, -0.37982064485549927, -0.35587775707244873, -0.12120532244443893, -0.7020384669303894, 0.0940404161810875, 0.15723149478435516, -0.6695122718811035, 0.767853319644928, 0.3911544978618622, -0.23814620077610016, -0.9716187715530396, -0.7673189640045166, 0.31202536821365356, -0.06737381964921951, -0.5620928406715393, 0.1917281448841095, 0.0480491928756237, 0.038929905742406845, -0.08361370861530304, 0.011619260534644127, -0.1586853265762329, -0.08641354739665985, -0.1392085701227188, 0.3483331501483917, -0.3024407923221588, 0.06929972022771835, 0.09513592720031738, 0.10124790668487549, -0.16161781549453735, -0.32969504594802856, 0.416789174079895, -0.05487114563584328, -0.5492478609085083, -0.45306605100631714, 0.42547017335891724, 0.7342883348464966, -0.09038907289505005, 0.8046894073486328, 1.0778186321258545, -0.34576675295829773, -0.04113356024026871, -0.28056973218917847, -0.05014067143201828, -0.4137360453605652, 0.2906963527202606, -0.1588183045387268, -0.3396121561527252, 0.40449610352516174, 0.2903563380241394, 0.0034106499515473843, 0.2456236481666565, 0.6714380383491516, -0.29568934440612793, 1.1690956354141235, 0.6495405435562134, -0.5502293109893799, 0.7155680656433105, -0.08835560828447342, 0.1968177855014801, -0.429514616727829, 0.17442463338375092, -0.09342037886381149, -0.34445127844810486, -0.4882796108722687, -0.5007885694503784, 0.5175443887710571, -0.03969692438840866, -0.04206138476729393, 0.5124527812004089, -0.17446593940258026, 0.005071172956377268, 0.5153918862342834, 0.21074849367141724, -0.059839826077222824, 0.11982376128435135, -0.156828835606575, -0.17039687931537628, -0.7301086783409119, -0.11448991298675537, 0.9280617833137512, 0.30469903349876404, 0.36796844005584717, 0.3723914921283722, 0.7192816138267517, 0.3743835389614105, 0.4680688977241516, -1.0368554592132568, 0.5665074586868286, -0.3787592053413391, -0.7635186910629272, -0.1457969844341278, -0.18890927731990814, -0.8974443674087524, 0.44016435742378235, -0.3462405502796173, -0.38465505838394165, 0.23184318840503693, 0.14842058718204498, -0.06993088126182556, 0.5024374723434448, -0.5307294726371765, 1.0256458520889282, -0.6377167701721191, -0.4166935384273529, -0.046898942440748215, -0.6547189950942993, 0.18923062086105347, -0.012375297956168652, 0.19526249170303345, -0.02055002748966217, 0.1397726833820343, 0.4338407814502716, 0.021009385585784912, 1.254265308380127, -0.5793898105621338, -0.2598956823348999, 0.06409172713756561, 0.07907497137784958, 0.49329039454460144, -0.024488044902682304, -0.17093153297901154, 0.4358155131340027, -0.19629256427288055, -0.6812913417816162, -0.330692857503891, 0.5722048282623291, -0.5753090977668762, -0.5638843774795532, -0.55335533618927, -0.687339186668396, -0.33322975039482117, 0.43195804953575134, -0.012741470709443092, 0.02406262792646885, -0.6665797233581543, 0.24188856780529022, 0.4601585566997528, -0.5937330722808838, 0.4262263774871826, 1.0193395614624023, -0.18548037111759186, -0.5011606812477112, 0.9691113233566284, 0.06447545439004898, 0.1636609584093094, 0.4525619149208069, 0.23610907793045044, -0.4000839591026306, -0.4783121645450592, -0.8915143013000488, 0.183893084526062, -0.5767949223518372, -0.14037907123565674, -0.43906381726264954, 0.1507878452539444, -0.7728830575942993, -0.4521915018558502, -0.38724443316459656, -0.5001923441886902, -0.15084435045719147, -0.24956509470939636, 0.26722654700279236, 0.240148663520813, -0.37329286336898804, 0.2373482584953308, -0.7628986835479736, 0.774061918258667, 0.053908511996269226, 0.16668438911437988, -0.5186145305633545, -0.5163909792900085, -0.012588000856339931, 0.3460562229156494, -0.4644840657711029, -1.0312384366989136, 0.5411393046379089, 0.18462464213371277, 0.6651293635368347, 0.6478921175003052, 0.15693818032741547, 0.7982748746871948, -0.4473819434642792, 0.7625107765197754, 0.5110633373260498, -0.8977688550949097, 0.6531962156295776, -0.5949597358703613, 0.33407920598983765, 0.40242937207221985, 0.5580154061317444, -0.487856388092041, -0.5051020979881287, -0.43340760469436646, -0.7430333495140076, 0.7788271307945251, -0.005087158177047968, 0.39696282148361206, -0.0649348795413971, -0.15819816291332245, 0.1970781683921814, 0.0516618937253952, -1.0252000093460083, -0.14530447125434875, -0.43890756368637085, -0.06707029789686203, 0.022408252581954002, 0.17416468262672424, -0.30781492590904236, -0.39595237374305725, 1.012543797492981, -0.25316566228866577, 0.08062700182199478, -0.1060524731874466, -0.37940603494644165, -0.16590455174446106, 0.4130899906158447, 0.5001994967460632, 0.17464624345302582, -0.17108690738677979, 0.0025176669005304575, 0.3048504590988159, -0.2466534823179245, 0.13189256191253662, 0.36338502168655396, -0.5162113904953003, 0.3833477199077606, 0.21574585139751434, 0.8606786131858826, 0.11054183542728424, -0.4122925400733948, 0.8137897253036499, 0.20863541960716248, -0.27659061551094055, 0.014173796400427818, -0.43873167037963867, -0.07802717387676239, 0.17358596622943878, 0.17983554303646088, -0.04243026673793793, 0.00781843438744545, -0.690753161907196, 0.44684481620788574, 0.8836960196495056, -0.6266664862632751, -0.5104407668113708, 0.5068813562393188, 0.14065127074718475, -0.09112745523452759, -0.0876561775803566, -0.2958196997642517, -0.591055154800415, 0.546183705329895, 0.6539667844772339, 0.7691038846969604, -0.4929914176464081, 0.7115625739097595, 0.27858802676200867, 0.3744528293609619, 0.28404518961906433, 0.32843178510665894, 0.10924594849348068, -0.8537219166755676, -0.3104211688041687, -0.24161313474178314, -0.44889891147613525, 0.13836055994033813, -0.7328685522079468, 0.44787585735321045, -0.2772133946418762, -0.1160561591386795, 0.225934237241745, -0.06681700795888901, -0.3435851037502289, 0.05181897431612015, 0.3963140845298767, 0.7078119516372681, -1.1091670989990234, 1.1564640998840332, 1.160398006439209, -0.4771011173725128, -0.14098934829235077, 0.3242214024066925, 0.4142165780067444, -1.0892969369888306, 0.3575546443462372, 0.08294342458248138, -0.2974678575992584, -0.3331861197948456, -0.2542788088321686, -0.22510549426078796, 0.6985335350036621, 0.5054062604904175, -0.030070800334215164, 0.37708210945129395, 0.24803940951824188, 0.573737621307373, -0.10141543298959732, -0.14284402132034302, 0.052773367613554, 0.5977699756622314, 0.07782506942749023, -0.4928560256958008, -0.22134673595428467, -0.2616937756538391, -0.21098892390727997, 0.23249748349189758, -0.44037100672721863, 0.6097800731658936, -0.08520275354385376, -0.09052103757858276, -0.19648392498493195, 0.5679407715797424, 0.20446458458900452, 0.4279354512691498, 0.507935106754303, 0.5981802344322205, 0.42270269989967346, 0.17532306909561157, 0.9614569544792175, -0.45406827330589294, 0.268195778131485, 0.8485344648361206, -0.5636336207389832, 1.045712947845459, 0.6206166744232178, 0.041665345430374146, 0.45264166593551636, 0.46300753951072693, 0.016373518854379654, 0.49570611119270325, -0.5506824254989624, -0.3925018906593323, -0.2718042731285095, -0.32065340876579285, -0.25367650389671326, 0.5078732371330261, 0.5444362759590149, -0.23062404990196228, -0.39500588178634644, 0.16274414956569672, 0.2838960587978363, -0.040438324213027954, -0.3825846016407013, 0.7999539971351624, -0.19028213620185852, -0.5768411755561829, 0.742272138595581, 0.04284423589706421, 0.729033350944519, -0.745948314666748, -0.01698899269104004, -0.03237698972225189, 0.18555812537670135, 0.04962778836488724, -1.0320236682891846, 0.22091607749462128, 0.16051054000854492, -0.03605472296476364, -0.30228784680366516, 0.8696041703224182, -0.568050742149353, -0.7805639505386353, 0.6916399598121643, 0.5285505056381226, 0.03508329391479492, 0.2356080710887909, -1.0928966999053955, -0.22310486435890198, 0.02081305719912052, -0.21684740483760834, 0.5043486952781677, 0.47037380933761597, -0.023075345903635025, 0.20506098866462708, 0.7620776891708374, 0.1999279260635376, -0.01025969348847866, 0.2963586747646332, 0.8028990030288696, -0.3140372335910797, -0.31334418058395386, -0.8222604990005493, 0.6077172756195068, -0.07716483622789383, -0.0678897574543953, 0.8270553946495056, 0.35694584250450134, 0.9923950433731079, -0.049037180840969086, 1.0066405534744263, -0.2395375818014145, 0.26618319749832153, -0.3255341053009033, 0.8052959442138672, -0.8696743249893188, -0.09739310294389725, -0.23472456634044647, -0.2988319396972656, -0.8051102757453918, 0.5525529980659485, -0.39692285656929016, -0.3043496906757355, 0.2513475716114044, 0.9662540555000305, -0.3035939335823059, -0.4306567907333374, 0.6121826171875, 0.13332398235797882, 0.2730521261692047, 0.38099658489227295, 0.4283457398414612, -0.3300613462924957, 0.7386239767074585, -0.4424497187137604, -0.12394507974386215, -0.44196173548698425, -1.0530951023101807, -1.0591967105865479, -0.2772281765937805, -0.3325742781162262, -0.36069491505622864, 0.2550986111164093, 0.8989025950431824, 0.7063698768615723, -1.1448554992675781, 0.06808806210756302, 0.0640995129942894, 0.09865708649158478, -0.4149790406227112, -0.1930282860994339, 0.2689606845378876, -0.3775230348110199, -0.7370875477790833, 0.6104156970977783, 0.25619882345199585, -0.008497907780110836, 0.004251912701874971, -0.20444326102733612, -0.6807516813278198, 0.3481736183166504, 0.8130627274513245, 0.6757656931877136, -0.8275620937347412, -0.42430755496025085, 0.12602511048316956, -0.06993486732244492, 0.3611941635608673, 0.42543432116508484, -0.3544119596481323, 1.0002351999282837, 0.6152082085609436, 0.8422477841377258, 0.1469397246837616, 0.08041175454854965, 0.681776225566864, -1.2830983400344849, 0.35731667280197144, 0.19403907656669617, 0.5596596002578735, 0.49607542157173157, -0.1718771755695343, 0.1512807160615921, 0.20762641727924347, 0.015360785648226738, -0.7819404006004333, 0.3360540568828583, -1.0789220333099365, -0.509473443031311, 1.2864543199539185, -0.23008409142494202, -0.14255960285663605, -0.11721917241811752, -0.33875834941864014, 0.5077329874038696, -0.49832823872566223, 0.8211522698402405, 0.774115800857544, -0.10099752247333527, -0.18900835514068604, -0.5918635725975037, -0.04111244156956673, 0.728081226348877, -0.5137200355529785, -0.17129290103912354, 0.4361959993839264, 0.24125246703624725, 0.13615480065345764, 0.46131014823913574, -0.08802150934934616, 0.5143166780471802, -0.19013133645057678, 0.4420517385005951, 0.0976991355419159, -0.2269369512796402, -0.6483567953109741, 0.06032375991344452, -0.014829137362539768, -0.5566502809524536 ]
http://arxiv.org/abs/2404.14467v1
http://arxiv.org/pdf/2404.14467v1
Integrating Chemistry Knowledge in Large Language Models via Prompt Engineering
2024-04-22T16:55:44
2024-04-22T16:55:44
Hongxuan Liu, Haoyu Yin, Zhiyao Luo, Xiaonan Wang
cs.CL
cs.CL, cs.AI
This paper presents a study on the integration of domain-specific knowledge in prompt engineering to enhance the performance of large language models (LLMs) in scientific domains. A benchmark dataset is curated to encapsulate the intricate physical-chemical properties of small molecules, their drugability for pharmacology, alongside the functional attributes of enzymes and crystal materials, underscoring the relevance and applicability across biological and chemical domains.The proposed domain-knowledge embedded prompt engineering method outperforms traditional prompt engineering strategies on various metrics, including capability, accuracy, F1 score, and hallucination drop. The effectiveness of the method is demonstrated through case studies on complex materials including the MacMillan catalyst, paclitaxel, and lithium cobalt oxide. The results suggest that domain-knowledge prompts can guide LLMs to generate more accurate and relevant responses, highlighting the potential of LLMs as powerful tools for scientific discovery and innovation when equipped with domain-specific prompts. The study also discusses limitations and future directions for domain-specific prompt engineering development.
[ -0.16737601161003113, -0.6349930167198181, 1.2547227144241333, 0.3316698968410492, 0.30916282534599304, 0.35145774483680725, -0.33918705582618713, -0.22492191195487976, 0.011585566215217113, 0.21101579070091248, -0.5804556012153625, -0.5542448163032532, -0.44483014941215515, 0.2810174822807312, 0.2170112431049347, 0.42083996534347534, -0.43359068036079407, 0.2474919855594635, -0.38661208748817444, 0.3854694664478302, -0.6419333219528198, -0.34604308009147644, -0.4111044108867645, -0.1666276454925537, 0.6491504907608032, 0.24337346851825714, 0.2536866366863251, 0.33396583795547485, 0.33511239290237427, 0.2213531881570816, -0.20603282749652863, 0.2117241770029068, -0.20457053184509277, 0.016228314489126205, -0.5862086415290833, -0.2815173268318176, -0.4005925953388214, 0.29398438334465027, 0.41101720929145813, 1.0712512731552124, 0.31361818313598633, -0.13534726202487946, 0.3315143287181854, 0.28009670972824097, -0.4604291319847107, 0.3374544084072113, -0.46480152010917664, 0.12538422644138336, -0.014332526363432407, -0.2722040116786957, -0.579757571220398, -0.2639687657356262, 0.21407096087932587, -0.7764114737510681, -0.002390878042206168, 0.35800495743751526, 0.5395414233207703, 0.30666425824165344, -0.4490497410297394, -0.5433334112167358, -0.39218011498451233, 0.9782050848007202, -0.5648797750473022, 0.39356499910354614, -0.05075949430465698, 0.5215455889701843, -0.6096985936164856, -0.7068429589271545, -0.4205712676048279, -0.4407704770565033, -0.17335925996303558, -0.17415395379066467, 0.29834723472595215, 0.42580074071884155, 0.17507517337799072, 0.1397055834531784, -0.8164355158805847, 0.16537241637706757, 0.014666944742202759, -0.38954687118530273, 0.20571653544902802, 0.3253733217716217, 0.40735650062561035, -0.003561938414350152, -0.3486960828304291, 0.14402925968170166, -0.7016373872756958, 0.07054861634969711, -0.23799529671669006, 0.7814479470252991, 0.09188050031661987, 0.6079344749450684, -0.24511778354644775, 0.3496887981891632, -0.07166452705860138, 0.08914147317409515, 0.06644397228956223, -0.4927982985973358, -0.057204969227313995, 0.2744131088256836, 0.7445103526115417, 0.008399798534810543, 0.04116927459836006, -0.10484528541564941, -0.11039842665195465, 0.040422406047582626, -0.10168808698654175, -1.1080323457717896, -0.14613692462444305, 0.5294402241706848, -0.1960109919309616, -0.021690836176276207, -0.2805316746234894, -0.6888822913169861, -0.6175734400749207, -0.30229783058166504, 0.31866878271102905, -0.30037981271743774, 0.11586719006299973, 0.22109703719615936, -0.30436840653419495, -0.09289385378360748, 0.4622115194797516, -0.9736371040344238, 0.0976334810256958, 0.9164239168167114, 0.8778986930847168, -0.380830317735672, -0.3341823220252991, -0.7071473002433777, -0.10310480743646622, -0.13059738278388977, 0.88397616147995, -0.7235909104347229, -0.6184964776039124, 0.07792682200670242, 0.1595562845468521, -0.028091777116060257, -0.7129358649253845, 0.4734303057193756, -0.6538825035095215, -0.0754648819565773, -0.4422490894794464, -0.4630754292011261, 0.1133911982178688, 0.04879120737314224, -0.37947726249694824, 0.7071440815925598, 0.2541831433773041, -0.14807596802711487, 0.3005232810974121, -0.5930656790733337, -0.1869743913412094, 0.22599957883358002, -0.29062750935554504, 0.05988220125436783, 0.09260605275630951, 0.07798850536346436, 0.44424596428871155, -0.5707261562347412, 0.45285511016845703, -0.37458565831184387, 0.011308490298688412, 0.47577765583992004, 0.0009251217707060277, 0.5891249775886536, 0.23737290501594543, -0.10081787407398224, 0.07440495491027832, -0.7235929369926453, 0.013791417703032494, -0.20187893509864807, -0.21154478192329407, -0.231424018740654, -0.5474512577056885, 0.09000048786401749, 0.4284750521183014, 0.49097833037376404, -0.5448548793792725, 0.5872109532356262, -0.2818685472011566, 0.4167105555534363, 0.7576388120651245, 0.4400880038738251, 0.6447996497154236, -0.11843138188123703, 0.48966893553733826, -0.21966515481472015, 0.03062012977898121, -0.10237407684326172, -0.5594239830970764, -0.21051166951656342, -0.4587783217430115, 0.3531203269958496, 0.44460079073905945, -0.6029855012893677, 0.33268672227859497, -0.04226936027407646, -0.3348822295665741, -0.2454155832529068, 0.25701063871383667, 0.04263683781027794, 0.7331200242042542, 0.43000489473342896, -0.0574815608561039, -0.36225271224975586, -0.7104184031486511, -0.391710489988327, -0.058754079043865204, -0.21180851757526398, 0.5207549929618835, 0.5123075842857361, -0.4266063868999481, 1.2075275182724, -0.744132399559021, 0.002905713627114892, 0.02114500291645527, 0.15268471837043762, 0.6296015381813049, 0.5470679998397827, 0.37267452478408813, -0.5406526923179626, -0.6275596618652344, 0.1495433747768402, -0.9995633959770203, -0.5338018536567688, -0.08395111560821533, -0.44202476739883423, -0.36412501335144043, 0.31166917085647583, -0.9382002949714661, -0.10032514482736588, 0.20868515968322754, -0.4464532732963562, 0.6811783909797668, 0.040479447692632675, 0.5297405123710632, -0.8476967215538025, 0.16485485434532166, 0.18876443803310394, 0.11580455303192139, -0.7973876595497131, -0.18291571736335754, 0.07921867072582245, -0.517687976360321, -0.7749156355857849, 1.1801588535308838, -0.41344183683395386, 0.234099879860878, -0.3941977918148041, 0.1096368357539177, 0.2296983152627945, 0.31524398922920227, 0.26352474093437195, 0.966086208820343, 0.6514045000076294, -0.7246213555335999, 0.24339531362056732, 0.41462817788124084, -0.3086523115634918, 0.5642927289009094, -0.6914735436439514, -0.1433180421590805, 0.30916261672973633, -0.027220875024795532, -0.9637163877487183, -0.3177158236503601, 0.11174312978982925, -0.4164039194583893, 0.4577360153198242, -0.05202483385801315, -0.45490962266921997, -0.2034110724925995, -0.17790071666240692, 0.2878449559211731, 0.5235265493392944, -0.5898951292037964, 0.7545495629310608, 0.11079519242048264, -0.5906444191932678, -0.2795577347278595, -0.25577327609062195, 0.03110618330538273, -0.22591936588287354, -0.8683618307113647, 0.5233545303344727, -0.4364894926548004, -0.26111871004104614, -0.2420986145734787, -0.2128155529499054, 0.03331298381090164, 0.18950946629047394, 0.0612281896173954, 0.3238874077796936, -0.17239321768283844, 0.25721073150634766, 0.33040523529052734, -0.23906517028808594, 0.3056166172027588, -0.3589077591896057, 0.4401409327983856, 0.25196805596351624, -0.12804220616817474, -0.3912822902202606, 0.5122609734535217, 0.7182483673095703, -0.072395920753479, 0.7004704475402832, -0.06264080852270126, -0.43139761686325073, -0.6002477407455444, -0.04719877615571022, -0.6359540820121765, -0.5884528160095215, 0.1536596715450287, -0.5549574494361877, -0.7934484481811523, 0.6261459589004517, -0.8463332056999207, -0.17615428566932678, 0.23440851271152496, 0.4451325833797455, -0.03668128699064255, 0.8979777693748474, 0.6883226633071899, 0.28720447421073914, 0.23958849906921387, -0.034970201551914215, 0.4081684648990631, -0.7698651552200317, -0.2396550476551056, -0.6499331593513489, 0.016596218571066856, -0.040759433060884476, -0.5567676424980164, 0.6121949553489685, 0.06227301433682442, -0.42883309721946716, 0.060305241495370865, -0.3557792007923126, 0.2723185420036316, 0.13225415349006653, -0.04227807745337486, 0.22600923478603363, -0.029844099655747414, -0.3619142472743988, -0.1434355527162552, -0.6955353617668152, -0.6559032201766968, 0.7486407160758972, 0.3355683982372284, 0.9702510833740234, -0.13609501719474792, 0.3838629424571991, 0.519385814666748, 0.03417041525244713, -0.8938661217689514, 0.5878124833106995, 0.3355393409729004, -0.2948300838470459, -0.13219250738620758, -0.36829516291618347, -0.6636717915534973, -0.08632081747055054, -0.05500337854027748, -0.578496515750885, 0.4828140437602997, -0.13058802485466003, -0.45926931500434875, -0.2969222366809845, -0.7109984755516052, 0.9307605028152466, -0.31163063645362854, -0.5027381777763367, 0.11528117954730988, -0.4741411507129669, 0.08057967573404312, -0.43888232111930847, 0.32586169242858887, -0.09789390116930008, -0.13352355360984802, 0.6228602528572083, -0.7048238515853882, 0.91135174036026, -0.17391133308410645, -0.4432065784931183, 0.20517025887966156, 0.061998818069696426, 0.6285023093223572, 0.13441993296146393, -0.05324552208185196, 0.08295506238937378, -0.30670467019081116, -0.39794325828552246, -1.0093653202056885, 1.004411220550537, -0.5228415131568909, -0.7301719784736633, -0.34556862711906433, -0.47162413597106934, -0.6333876252174377, 0.17045167088508606, -0.05566335469484329, 0.27631157636642456, -0.007070673163980246, -0.37056055665016174, 0.9913228154182434, -0.4027180075645447, 0.2702150046825409, 0.8456624150276184, -0.042808372527360916, -0.32630684971809387, 0.9890861511230469, -0.042603638023138046, 0.27359816431999207, 0.5279266834259033, 0.13382919132709503, -0.2082546055316925, -0.4312053620815277, -0.32133060693740845, 0.4479212760925293, -0.9174078106880188, -0.08087297528982162, -0.8405677676200867, -0.06488052010536194, -0.5581839084625244, -0.6387581825256348, -0.32674065232276917, -0.38603636622428894, -0.37726226449012756, -0.0869407132267952, 0.5366297960281372, 0.36564645171165466, 0.10436152666807175, 0.18068049848079681, -1.0469647645950317, 0.050028588622808456, 0.23512692749500275, 0.22333070635795593, -0.08261382579803467, -0.45428624749183655, -0.33748531341552734, -0.16339215636253357, -0.04728095978498459, -0.8914076685905457, 0.18573801219463348, -0.0023121482226997614, 0.8555593490600586, 0.03874381259083748, 0.06985116750001907, 0.1273551881313324, -0.7063516974449158, 1.0113006830215454, -0.07259969413280487, -0.9882852435112, 0.8753148913383484, -0.3267872631549835, 0.15689396858215332, 0.41475099325180054, 0.8103023767471313, -0.4678809344768524, -0.1672741174697876, -0.18889157474040985, -0.8419235944747925, 0.34649690985679626, -0.04820951074361801, -0.23153983056545258, 0.013790225610136986, 0.4087826907634735, 0.30324381589889526, 0.21970264613628387, -0.1617649346590042, -0.2354010045528412, 0.25143006443977356, -0.4522600769996643, 0.20057673752307892, 0.07434173673391342, -0.14350149035453796, 0.03995206579566002, 0.8857625126838684, -0.2807310223579407, 0.0379054956138134, 0.08803750574588776, -0.2191133052110672, 0.2423829585313797, 0.39019575715065, 0.4951208531856537, 0.39476463198661804, -0.21072721481323242, -0.022356417030096054, 0.055504780262708664, -0.6694583892822266, 0.35917147994041443, 0.2111041396856308, 0.01948661170899868, -0.12546275556087494, 0.18859051167964935, 0.3143593966960907, -0.05950786918401718, -0.9902796149253845, 0.0884711742401123, -0.0024087217170745134, 0.15184485912322998, 0.35257214307785034, 0.03589997813105583, -0.27180004119873047, 0.3809327781200409, 0.468067467212677, 0.005247395019978285, 0.32812875509262085, -0.6858119368553162, 0.21092073619365692, 0.3122698962688446, -0.39339083433151245, -0.3156740367412567, 0.7244843244552612, 0.3857361972332001, -0.04891105368733406, 0.20358529686927795, -0.015683529898524284, -0.4038620889186859, 0.5734659433364868, 0.4524827003479004, 0.8324848413467407, -0.29035666584968567, 0.06942438334226608, 0.3041404187679291, 0.03471101075410843, 0.17654050886631012, 0.17803075909614563, -0.050823088735342026, -0.4420130252838135, -0.26543861627578735, -0.5808049440383911, -0.5230728387832642, -0.16185934841632843, 0.059687938541173935, 0.39965277910232544, -0.5059462785720825, -0.17272894084453583, 0.21183191239833832, 0.1457405835390091, -0.4465875029563904, 0.0007224561995826662, -0.07689215987920761, 1.1105669736862183, -1.1038947105407715, 0.5059216618537903, 0.7276902794837952, -0.419157475233078, -0.6135627627372742, -0.28524214029312134, 0.1489550769329071, -0.5721561312675476, 1.138857126235962, 0.03281889110803604, -0.054296813905239105, -0.10018082708120346, -0.562671422958374, -0.8910347819328308, 1.0541486740112305, 0.08881645649671555, -0.4207601249217987, 0.06809666007757187, 0.31532296538352966, 0.4032878875732422, -0.6058378219604492, 0.3803981840610504, 0.6476847529411316, 0.5434578061103821, 0.16510948538780212, -0.9444618821144104, 0.44026070833206177, -0.47755712270736694, 0.014150155708193779, 0.0892496109008789, -0.5621891617774963, 0.7123761177062988, -0.13745759427547455, -0.2531745731830597, 0.19421318173408508, 0.5928621888160706, 0.6363322138786316, 0.48699095845222473, -0.13941414654254913, 0.12739627063274384, 0.9994234442710876, -0.07699166983366013, 0.8051161170005798, -0.5346829295158386, 0.1794138252735138, 0.7837811708450317, -0.7419581413269043, 0.38434287905693054, 0.6006702780723572, -0.14330632984638214, 0.39613595604896545, 0.7281595468521118, 0.06982634961605072, 0.8761634230613708, 0.3747686445713043, -0.6851345896720886, -0.29302260279655457, -0.6086775660514832, -0.3985747992992401, -0.22325436770915985, 0.7054179310798645, -0.32017555832862854, -0.10710787773132324, 0.371950626373291, -0.056584540754556656, -0.05799379572272301, -0.32897520065307617, 0.5561917424201965, 0.3011198043823242, -0.5558988451957703, 0.5011662840843201, -0.15174780786037445, 0.43465131521224976, -0.6762322783470154, -0.28855100274086, -0.1850803643465042, 0.00223721144720912, -0.037468645721673965, -0.8867783546447754, -0.1564023196697235, -0.14647381007671356, -0.40793541073799133, -0.19771704077720642, 0.6588571667671204, -0.19798815250396729, 0.052234578877687454, 0.09248559921979904, 0.4743749797344208, 0.08443909883499146, -0.11271810531616211, -0.2864026427268982, 0.09450084716081619, -0.13622426986694336, -0.019496971741318703, 0.4081008732318878, 0.6556071639060974, 0.02678251452744007, 0.6081607937812805, 0.6561912894248962, -0.07550182193517685, -0.18901638686656952, -0.06925253570079803, 1.1454442739486694, -0.7188203930854797, -0.28661760687828064, -0.654619574546814, 0.6834294199943542, 0.0029500010423362255, -0.07810115814208984, 0.8518827557563782, 0.5641937851905823, 0.2925862967967987, -0.40767595171928406, 1.0097646713256836, 0.2418648898601532, 0.3455347418785095, -0.7540984749794006, 0.6371662020683289, -0.28123441338539124, 0.5694118738174438, -0.15003061294555664, -0.933744490146637, -0.3110225200653076, 0.18308749794960022, -0.31273436546325684, 0.03789808228611946, 0.9747897386550903, 0.9842844009399414, 0.0996793583035469, 0.01182298082858324, 0.06391920149326324, 0.38114824891090393, 0.6899567246437073, 0.7889301180839539, 0.9919812083244324, -0.26895591616630554, -0.02674269676208496, 0.09417390823364258, -0.4466246962547302, -0.15328927338123322, -0.8049064874649048, -1.0881454944610596, -0.3807283341884613, -0.36301448941230774, -0.4393283724784851, -0.04037667438387871, 1.1076395511627197, 0.45531728863716125, -0.8282346725463867, -0.03228778392076492, -0.08225251734256744, 0.10902689397335052, 0.02604416199028492, -0.27032598853111267, 0.44789522886276245, -0.4719564914703369, -0.7713009119033813, 0.8056781888008118, 0.5397207140922546, 0.2050565779209137, -0.2454528659582138, -0.10070010274648666, 0.13747650384902954, 0.3166397213935852, 0.657820999622345, 0.4623558223247528, -0.3850077688694, 0.006241268012672663, 0.4387021064758301, -0.19795997440814972, -0.06981302052736282, 0.9739452004432678, -0.8788443803787231, 0.2592298686504364, 0.7838048338890076, 0.7834845185279846, -0.0134348189458251, -0.20771841704845428, 0.7918671369552612, -0.6184555888175964, -0.17212696373462677, 0.376436322927475, 0.506280243396759, 0.2439035326242447, -0.6354042887687683, 0.3404157757759094, 0.3324933350086212, -0.7962376475334167, -0.7311360239982605, 0.09121949970722198, -1.2704004049301147, -0.4960460066795349, 1.1898592710494995, 0.00677861412987113, -0.3591984212398529, -0.17659404873847961, -0.4479087293148041, -0.12195460498332977, -0.6702913641929626, 0.6497560143470764, 0.6503819823265076, -0.2450980395078659, -0.000907018780708313, -0.5044329166412354, 0.6207872033119202, 0.3165957033634186, -1.0195010900497437, 0.217042937874794, 0.48177194595336914, 0.1082126647233963, 0.36351385712623596, 0.325603723526001, 0.06794845312833786, 0.25958412885665894, -0.016031159088015556, -0.015457871370017529, 0.09010989218950272, -0.44907763600349426, -0.3392690122127533, 0.1309971660375595, 0.11746514588594437, 0.34384140372276306 ]
http://arxiv.org/abs/2404.15153v1
http://arxiv.org/pdf/2404.15153v1
Expert Router: Orchestrating Efficient Language Model Inference through Prompt Classification
2024-04-22T16:33:42
2024-04-22T16:33:42
Josef Pichlmeier, Philipp Ross, Andre Luckow
cs.CL
cs.CL, cs.AI, cs.PF
Large Language Models (LLMs) have experienced widespread adoption across scientific and industrial domains due to their versatility and utility for diverse tasks. Nevertheless, deploying and serving these models at scale with optimal throughput and latency remains a significant challenge, primarily because of the high computational and memory demands associated with LLMs. To tackle this limitation, we introduce Expert Router, a system designed to orchestrate multiple expert models efficiently, thereby enhancing scalability. Expert Router is a parallel inference system with a central routing gateway that distributes incoming requests using a clustering method. This approach effectively partitions incoming requests among available LLMs, maximizing overall throughput. Our extensive evaluations encompassed up to 1,000 concurrent users, providing comprehensive insights into the system's behavior from user and infrastructure perspectives. The results demonstrate Expert Router's effectiveness in handling high-load scenarios and achieving higher throughput rates, particularly under many concurrent users.
[ -0.5448286533355713, -0.7175354361534119, 0.6961890459060669, 0.45809701085090637, 0.18094879388809204, 0.228814959526062, -0.1048307791352272, -0.31402304768562317, 0.11540810018777847, 0.5963402390480042, -0.20854438841342926, -0.19961149990558624, -0.5850061774253845, 0.07830940932035446, -0.7445535659790039, 0.5284483432769775, 0.34917306900024414, 0.18173053860664368, -0.2897908389568329, 0.02512470632791519, -0.38517752289772034, -0.3890515863895416, -1.353755235671997, -0.2996363937854767, 0.732695996761322, 0.42285874485969543, 0.790736973285675, 0.875360906124115, 0.6123020052909851, 0.5678811073303223, -0.06695368140935898, 0.10409045964479446, -0.26664113998413086, 0.2960931956768036, -0.22860492765903473, -0.5072216987609863, -0.6624505519866943, -0.4781900644302368, 0.4712464511394501, 0.8072440028190613, -0.4642857313156128, -0.05583478510379791, -0.25092217326164246, 0.524493932723999, -0.46089598536491394, 0.09683188050985336, -0.5932471752166748, -0.14558611810207367, -0.3278895318508148, 0.07881400734186172, -0.5130409002304077, -0.2368582785129547, 0.2634124457836151, -0.49332234263420105, 0.2715829312801361, 0.5469717383384705, 0.22847110033035278, 0.4523193836212158, -0.44069910049438477, 0.0400514230132103, -0.6278066635131836, 0.6535976529121399, -0.6068977117538452, 0.5952401161193848, 0.1271921992301941, 0.8560545444488525, -0.28077730536460876, -0.765802800655365, -0.5689768195152283, 0.2652868330478668, -0.13823243975639343, -0.14045998454093933, -0.39789336919784546, 0.14869995415210724, 0.19550630450248718, 0.18274305760860443, -0.7229570150375366, 0.480108380317688, -0.16430963575839996, -0.09653693437576294, 0.5910526514053345, 0.39831483364105225, 0.32462504506111145, 0.21795567870140076, 0.06036558747291565, 0.22209180891513824, -0.308634489774704, -0.16159863770008087, 0.16674065589904785, 0.1437520533800125, 0.21110571920871735, 0.29600223898887634, -0.6137444376945496, 1.1177390813827515, 0.14900951087474823, -0.16977646946907043, 0.17257142066955566, 0.10650121420621872, -0.13894866406917572, 0.06609862297773361, 0.8332120180130005, 0.2738158702850342, 0.12256006896495819, -0.3514920175075531, -0.3591992259025574, -0.16898714005947113, 0.3929566442966461, -0.683412492275238, -0.40791594982147217, 0.1644708663225174, -0.2951068580150604, -0.19948211312294006, -0.20954078435897827, -1.1668386459350586, -0.5496988892555237, -0.16205894947052002, 0.10768306255340576, -0.12706021964550018, -0.3124459385871887, 0.16808229684829712, 0.017333853989839554, -0.06415656208992004, 0.49649208784103394, -0.8926017880439758, 0.6698079705238342, 0.7356830835342407, 0.8599815964698792, -0.22555606067180634, -0.35880979895591736, -0.7537503838539124, 0.15591323375701904, -0.19468048214912415, 0.9603275060653687, -0.6924506425857544, -0.159009650349617, -0.19525529444217682, -0.1809733510017395, -0.4351184070110321, -0.43104997277259827, 0.7139180302619934, -1.1753922700881958, -0.23958410322666168, -0.08653078228235245, -0.6412990689277649, -0.2418690174818039, 0.0021325284615159035, -0.5854381322860718, 0.6652655601501465, -0.1489744782447815, -0.5397188067436218, 0.01827387884259224, -0.5051207542419434, -0.372465044260025, 0.3650902509689331, -0.3330565392971039, 0.009789017029106617, 0.12330543994903564, 0.3074251711368561, 0.5840903520584106, -0.5051117539405823, 0.2777201235294342, -0.30446842312812805, -0.028744881972670555, 0.08972695469856262, -0.2556733191013336, 0.432675302028656, 0.5814343690872192, -0.05361250415444374, 0.30992066860198975, -0.9157158136367798, -0.16973137855529785, 0.09245239198207855, -0.4584713876247406, -0.36796191334724426, 0.41783684492111206, 0.006967483554035425, 0.0021691732108592987, 0.22058075666427612, -0.3940938413143158, 0.08659163862466812, -0.265462189912796, 0.3782516419887543, 0.7615097761154175, -0.30754539370536804, 0.5240263938903809, -0.33178651332855225, 0.4944401681423187, -0.12976017594337463, -0.000921758939512074, -0.2338293343782425, -0.5884742140769958, -1.0747846364974976, -0.2598879039287567, 0.06743491441011429, 0.6363437175750732, -0.6136624217033386, 0.4075324237346649, -0.3754967451095581, -0.6164148449897766, -0.6531779170036316, 0.1331366002559662, 0.23782987892627716, 0.7262628078460693, 0.4107787311077118, -0.01754787005484104, -0.22833405435085297, -0.9988629817962646, -0.31870150566101074, -0.009166289120912552, -0.14528796076774597, 0.33704957365989685, -0.04461415484547615, -0.243194580078125, 0.9819242358207703, -0.5393968820571899, 0.010747193358838558, -0.3047276735305786, 0.23382529616355896, 0.37623319029808044, 0.4686911106109619, 0.5833554863929749, -0.7747108340263367, -0.6559748649597168, 0.22789689898490906, -0.6308481693267822, -0.4065120816230774, -0.0022560544312000275, -0.14580145478248596, -0.0016117914346978068, 0.5279629230499268, -0.5650222897529602, -0.10579966753721237, 0.588168203830719, -0.1674271523952484, 0.3444221317768097, -0.22047357261180878, 0.1765759289264679, -0.8834629654884338, -0.3674660921096802, 0.01582060568034649, -0.2467201054096222, -0.9254346489906311, 0.21793311834335327, -0.08564915508031845, -0.029520567506551743, -0.02042672596871853, 0.5711203813552856, -0.41610825061798096, -0.10173825919628143, -0.31131190061569214, -0.24485039710998535, -0.2781287431716919, 0.301259309053421, 0.07674288749694824, 0.7883985638618469, 1.0047502517700195, -0.6152380704879761, 0.4934175908565521, 0.07259424775838852, -0.33013200759887695, 0.5347045063972473, -0.7502206563949585, 0.36633312702178955, 0.02594989351928234, 0.08005654811859131, -0.9622587561607361, -0.6536386609077454, 0.11877885460853577, -0.2096518725156784, 0.053077492862939835, -0.23033647239208221, -0.5483630299568176, -0.5121908187866211, 0.4453023374080658, 0.2677694857120514, 0.7028276920318604, -0.5864834189414978, 0.9671341180801392, 0.43208861351013184, -0.4576493799686432, -0.2530657649040222, -0.5033664107322693, 0.17678767442703247, -0.09221502393484116, -0.7157308459281921, -0.0658203735947609, -0.12533791363239288, -0.45275038480758667, -0.19157882034778595, -0.009756072424352169, -0.35576558113098145, 0.030136847868561745, 0.2224523276090622, -0.26043498516082764, -0.1435532569885254, 0.0275123193860054, 0.20825527608394623, -0.1763378232717514, 0.2681025564670563, -0.5384140014648438, 0.5284598469734192, -0.11761188507080078, -0.79952472448349, -0.50199955701828, 0.5373191237449646, 0.9984831809997559, -0.3776588439941406, 0.6401260495185852, 0.43807253241539, -0.1449766904115677, -0.30521151423454285, -1.0655491352081299, -0.026778263971209526, -0.5339239239692688, 0.35652539134025574, -0.5886483788490295, -0.9148843288421631, 0.5608917474746704, -0.3284394443035126, 0.10171069204807281, 0.22758449614048004, 0.3496186435222626, -0.07823486626148224, 1.2881641387939453, 0.683967649936676, -0.3607827425003052, 0.2859959602355957, 0.1587700992822647, 0.20915374159812927, -0.4324509799480438, -0.3244621753692627, -0.7602908611297607, -0.20281963050365448, -0.20849567651748657, -0.6069455742835999, 0.606634795665741, 0.018408194184303284, -0.2978261411190033, -0.10934804379940033, -0.32445061206817627, 0.4952293336391449, 0.6404562592506409, 0.16248908638954163, 0.48879677057266235, 0.18141672015190125, -0.09077262878417969, 0.30869972705841064, -1.111009955406189, -0.4898420572280884, 0.6399102210998535, 0.3886072635650635, 0.7511954307556152, 0.1960982382297516, 0.329672247171402, 0.1880677044391632, 0.24125957489013672, -0.7258370518684387, 0.8361482620239258, -0.11398059129714966, -0.46624889969825745, -0.3329620063304901, -0.520168125629425, -0.645460844039917, 0.4001503884792328, -0.13832883536815643, -0.6320649981498718, 0.16757600009441376, 0.34380826354026794, -0.3787845969200134, 0.5680289268493652, -0.4472987949848175, 0.562560498714447, -0.31840136647224426, -0.1730201244354248, -0.5743616819381714, -0.6704143285751343, 0.32894957065582275, -0.47668206691741943, 0.5029187202453613, 0.03770275413990021, -0.11700508743524551, 0.7330912351608276, -0.6903927326202393, 0.7529684901237488, -0.1358780711889267, 0.2897775173187256, 0.023477593436837196, 0.2631794512271881, 0.7937426567077637, -0.27892565727233887, -0.48030194640159607, 0.17360062897205353, -0.72910076379776, -0.3927748501300812, -0.5910876989364624, 0.7521650791168213, -0.82928067445755, -0.7869040369987488, -0.06802952289581299, -0.5421957969665527, -0.14557214081287384, 0.42661309242248535, -0.04076210781931877, 0.3857885003089905, 0.10494552552700043, -0.0022011264227330685, 0.9148287773132324, -0.1272239089012146, 0.5029466152191162, 0.7478713989257812, -0.1638852059841156, -0.2463844120502472, 0.8010827898979187, 0.010422849096357822, 0.1428355574607849, 0.44057679176330566, 0.18326033651828766, -0.09089347720146179, -1.1186823844909668, -0.651494026184082, -0.02008405141532421, -0.5257168412208557, 0.022527633234858513, -1.271799921989441, -0.13241635262966156, -0.23225322365760803, -0.3996444344520569, -0.3899703919887543, -0.1727396696805954, -0.18848846852779388, -0.018209433183073997, 0.5565469264984131, 0.7614617347717285, 0.16476047039031982, 1.0022943019866943, -0.927882969379425, 0.07732746750116348, 0.5451958775520325, 0.33036333322525024, 0.3364454209804535, -0.5672544240951538, -0.2881327271461487, -0.6068312525749207, 0.04786624759435654, -0.7709004878997803, 0.4444202780723572, 0.08080175518989563, 1.0369882583618164, 0.7332558631896973, 0.04483696445822716, 0.506070077419281, -0.9948932528495789, 0.45426085591316223, 0.0828605368733406, -0.8143280148506165, 0.36217084527015686, -0.5159227252006531, 0.2907266616821289, 0.5251576900482178, 0.672846257686615, -0.40694117546081543, -0.4788494408130646, -0.2373577505350113, -0.8603477478027344, 0.5519986748695374, -0.22391802072525024, -0.08155009895563126, 0.017189860343933105, 0.32895028591156006, 0.07813762128353119, 0.18270647525787354, -0.11019349843263626, -0.18975643813610077, 0.07143235951662064, -0.20040173828601837, -0.18370871245861053, -0.21964401006698608, 0.026193395256996155, -0.1353210061788559, 0.37918609380722046, -0.140824556350708, -0.09133712202310562, -0.019243523478507996, -0.11379959434270859, -0.18004731833934784, 0.2619759142398834, 0.19514572620391846, 0.7878332138061523, 0.06883391737937927, 0.28957483172416687, 0.4655018150806427, -0.08718812465667725, 0.15068422257900238, 0.2054414004087448, -0.22475118935108185, 0.04002348706126213, 0.403536319732666, 0.7901543378829956, 0.2476172298192978, -0.540773332118988, 0.2616114914417267, -0.06789672374725342, 0.11351905018091202, -0.0722026452422142, 0.3881947994232178, 0.23081821203231812, 0.506028413772583, 0.5122028589248657, 0.39420074224472046, 0.3711813688278198, 0.22535720467567444, 0.1252032220363617, 0.1469464898109436, -0.09095872938632965, -0.18301691114902496, 0.8582192063331604, 0.4779627323150635, -0.6039523482322693, 0.7559141516685486, 0.017299091443419456, -0.6164755821228027, 0.49633726477622986, 0.2129698544740677, 0.9097500443458557, -0.5884504914283752, -0.159796342253685, 0.14203517138957977, 0.1746731549501419, -0.36444956064224243, -0.005719679873436689, 0.09742486476898193, -0.7542490363121033, -0.4957602024078369, -0.9190136790275574, -0.5553795099258423, -0.2853408455848694, -0.6570179462432861, -0.03269432112574577, -0.209614098072052, -0.10077369958162308, 0.08112028241157532, -0.4682256281375885, -0.6204569339752197, -0.014771685004234314, 0.11177506297826767, 1.2336254119873047, -0.9179708361625671, 0.8910586833953857, 0.9919451475143433, 0.051846105605363846, -0.7363312840461731, -0.4284161627292633, 0.247248575091362, -0.6586135625839233, 0.7945588231086731, -0.16388355195522308, -0.3513983488082886, 0.38747671246528625, -0.28393909335136414, -0.777168333530426, 0.9886125922203064, 0.1541810929775238, -1.0428466796875, 0.09492874890565872, -0.016004763543605804, 0.3746250867843628, -0.4417099952697754, 0.6290517449378967, 0.30288946628570557, 0.533574640750885, 0.18618328869342804, -0.9733960032463074, 0.06836080551147461, -0.06895730644464493, -0.019322630017995834, 0.00047267184709198773, -0.8449145555496216, 0.7660581469535828, -0.16986612975597382, 0.19682522118091583, -0.010118050500750542, 1.0052145719528198, 0.32567334175109863, 0.3359084725379944, 1.0191311836242676, 0.4961254596710205, 0.9710394144058228, 0.15784864127635956, 0.9587180018424988, -0.3801717162132263, -0.12034774571657181, 1.0240834951400757, -0.2481856644153595, 0.7856559753417969, 0.37572988867759705, -0.10736211389303207, 0.35814085602760315, 0.7576972246170044, 0.08941653370857239, 0.4938558340072632, 0.27122125029563904, -0.4666404724121094, -0.47099295258522034, -0.12271340936422348, -0.1595354527235031, 0.1825500875711441, 0.3043687045574188, -0.1566409021615982, -0.31447577476501465, -0.09880327433347702, 0.07089845091104507, -0.03413621336221695, -0.6481742858886719, 0.8255706429481506, 0.014913453720510006, -0.6358639001846313, 0.05165848881006241, -0.015995481982827187, 0.6955721974372864, -0.5872761011123657, 0.24157504737377167, -0.3221420645713806, 0.24270041286945343, -0.21459177136421204, -0.4822334349155426, 0.15796887874603271, 0.08529660850763321, -0.4064255952835083, -0.311541885137558, 0.7053335309028625, -0.21126514673233032, -0.6083499193191528, 0.43879392743110657, 0.7254613041877747, 0.5385755896568298, -0.1364295482635498, -0.4585842490196228, 0.1743590533733368, -0.31094813346862793, -0.4631330072879791, 0.4787876307964325, 0.5089545845985413, -0.09230899065732956, 1.1571824550628662, 0.5157829523086548, 0.22993339598178864, 0.3856866955757141, 0.20529969036579132, 0.979546070098877, -0.2948291301727295, -0.409951776266098, -0.77589350938797, 0.3290838599205017, -0.1364799290895462, 0.0033990496303886175, 0.835826575756073, 0.42094409465789795, 0.7195507287979126, -0.11045238375663757, 0.7984225153923035, 0.0866440013051033, 0.3507988154888153, -0.3109579384326935, 0.7635341882705688, -0.469325453042984, 0.4446873366832733, -0.06674543023109436, -0.6237505078315735, -0.24599094688892365, 0.4461181163787842, -0.3409523665904999, -0.06321382522583008, 0.29291510581970215, 0.8458669185638428, -0.20188336074352264, 0.15994830429553986, 0.2553236782550812, 0.3377484679222107, 0.32293593883514404, 0.3561171293258667, 0.8468207716941833, 0.20944806933403015, 0.4486760199069977, -0.2149360179901123, -0.5574365258216858, -0.333136647939682, -0.733454704284668, -0.9974132776260376, -0.15311262011528015, -0.22715093195438385, 0.21313080191612244, 0.256206214427948, 0.9756430983543396, 1.0141955614089966, -0.9269853234291077, -0.5757118463516235, -0.369478702545166, 0.22583511471748352, -0.21274226903915405, -0.1973496973514557, 0.17388394474983215, -0.5269813537597656, -0.8024027943611145, 0.8171615600585938, 0.12510721385478973, -0.26594415307044983, -0.30077189207077026, -0.03406250476837158, 0.04733111709356308, -0.02245934121310711, 0.5370222330093384, 0.007743426598608494, -0.6493461728096008, -0.029451634734869003, 0.012716714292764664, -0.025677049532532692, -0.35891595482826233, 0.6928877234458923, -0.6383897662162781, 0.3652563989162445, 0.7298011779785156, 1.076489806175232, 0.23285959661006927, 0.052238330245018005, 0.825829803943634, -0.2660205066204071, -0.2809145450592041, 0.07504409551620483, 0.42895227670669556, 0.04870880767703056, -0.49886658787727356, 0.42383742332458496, 0.25190311670303345, -0.9384138584136963, -0.7623130679130554, 0.10330774635076523, -0.9191908240318298, -0.29685845971107483, 0.7948752641677856, -0.1446922868490219, -0.020745165646076202, -0.31350430846214294, 0.115348681807518, -0.006585491821169853, -0.7082425355911255, 0.44080987572669983, 0.5246968269348145, -0.4322505295276642, -0.5307024121284485, -0.970608651638031, 0.07032667100429535, 0.468924343585968, -0.6633362770080566, -0.05707883834838867, 0.5335856080055237, 0.3035394549369812, 0.16858342289924622, 0.5735415816307068, 0.4290698170661926, -0.2859500050544739, -0.037751805037260056, 0.0348459854722023, -0.22134649753570557, -0.6260825991630554, -0.3269798159599304, 0.5096520185470581, 0.12784284353256226, -0.02357036992907524 ]
http://arxiv.org/abs/2404.14316v1
http://arxiv.org/pdf/2404.14316v1
Automated Long Answer Grading with RiceChem Dataset
2024-04-22T16:28:09
2024-04-22T16:28:09
Shashank Sonkar, Kangqi Ni, Lesa Tran Lu, Kristi Kincaid, John S. Hutchinson, Richard G. Baraniuk
cs.CL
cs.CL
We introduce a new area of study in the field of educational Natural Language Processing: Automated Long Answer Grading (ALAG). Distinguishing itself from Automated Short Answer Grading (ASAG) and Automated Essay Grading (AEG), ALAG presents unique challenges due to the complexity and multifaceted nature of fact-based long answers. To study ALAG, we introduce RiceChem, a dataset derived from a college chemistry course, featuring real student responses to long-answer questions with an average word count notably higher than typical ASAG datasets. We propose a novel approach to ALAG by formulating it as a rubric entailment problem, employing natural language inference models to verify whether each criterion, represented by a rubric item, is addressed in the student's response. This formulation enables the effective use of MNLI for transfer learning, significantly improving the performance of models on the RiceChem dataset. We demonstrate the importance of rubric-based formulation in ALAG, showcasing its superiority over traditional score-based approaches in capturing the nuances of student responses. We also investigate the performance of models in cold start scenarios, providing valuable insights into the practical deployment considerations in educational settings. Lastly, we benchmark state-of-the-art open-sourced Large Language Models (LLMs) on RiceChem and compare their results to GPT models, highlighting the increased complexity of ALAG compared to ASAG. Despite leveraging the benefits of a rubric-based approach and transfer learning from MNLI, the lower performance of LLMs on RiceChem underscores the significant difficulty posed by the ALAG task. With this work, we offer a fresh perspective on grading long, fact-based answers and introduce a new dataset to stimulate further research in this important area. Code: \url{https://github.com/luffycodes/Automated-Long-Answer-Grading}.
[ -0.15007898211479187, -1.051904559135437, 0.4483945369720459, -0.006294711958616972, 0.15028274059295654, 0.26238539814949036, -0.3014281988143921, -0.7181733250617981, 0.019916854798793793, 0.6765134930610657, -0.36333855986595154, -0.5905601382255554, -0.4721336364746094, 0.1916494071483612, -0.39020633697509766, 1.309805989265442, -0.28041744232177734, 0.0029527051374316216, -0.6429620385169983, -0.13685260713100433, -0.01663612760603428, -0.12206649035215378, -0.9706799983978271, -0.6513943672180176, 0.26053711771965027, 0.6619086265563965, 0.48144373297691345, 0.7576168775558472, 0.8994858264923096, 0.24155683815479279, 0.14455297589302063, 0.09100940823554993, 0.020853914320468903, 0.07348021864891052, -0.01866959221661091, -0.5708531141281128, -0.6311001777648926, 0.3961598575115204, 0.5194018483161926, 0.8340922594070435, -0.1656312346458435, 0.5598100423812866, 0.1408679485321045, 0.8296567797660828, -0.6085433959960938, 0.25159379839897156, -0.18443414568901062, -0.08347930014133453, 0.014662222005426884, 0.13472184538841248, -0.5643449425697327, -0.6898044347763062, 0.24836918711662292, -0.6899973154067993, 0.11967606097459793, 0.058540552854537964, 0.8849957585334778, 0.4076515734195709, -0.5990033149719238, -0.7827996611595154, -0.7124965190887451, 0.9110681414604187, -0.4444256126880646, -0.067478246986866, 0.6028430461883545, 0.5663793087005615, -0.14766573905944824, -0.7493422031402588, -0.5426564812660217, -0.5977581143379211, -0.10208392888307571, 0.4397997558116913, 0.35793644189834595, 0.2617209851741791, 0.03383701294660568, 0.6874372959136963, -0.7511945366859436, 0.044605839997529984, -0.3138858675956726, -0.11072026938199997, 0.6043031215667725, 0.20752175152301788, -0.049388587474823, -0.2873351275920868, -0.6890521049499512, -0.19223172962665558, -0.39263778924942017, 0.34435537457466125, 0.45257824659347534, 0.4444448947906494, 0.03153429925441742, 0.5154874920845032, -0.19581535458564758, 0.7474203109741211, -0.18135465681552887, 0.019664764404296875, 0.03737198933959007, -0.2596823275089264, -0.18340571224689484, 0.12826873362064362, 0.5872700214385986, 0.23383893072605133, 0.30061307549476624, 0.13313600420951843, -0.179330512881279, 0.18635253608226776, 0.0600762739777565, -0.8946810364723206, -0.40337735414505005, 0.3822634816169739, -0.1320960521697998, -0.21741825342178345, -0.0729672983288765, -0.8685992956161499, -0.39051011204719543, -0.5315878987312317, 0.5724409818649292, -0.1864408701658249, 0.2480105608701706, 0.14035706222057343, 0.18111523985862732, 0.3468377888202667, 0.6014736890792847, -0.34552377462387085, 0.6782504320144653, 0.6665424108505249, 0.7691137790679932, -0.39721032977104187, -0.10137750953435898, -0.56623774766922, 0.001775791053660214, -0.12514808773994446, 0.8769938945770264, -0.6578173041343689, -0.20439758896827698, -0.16432639956474304, -0.02589350752532482, -0.08486343175172806, -0.7139405608177185, 0.8518843054771423, -0.32805880904197693, 0.5621448159217834, 0.004991090390831232, -0.9652482867240906, -0.2902255952358246, 0.39128822088241577, -0.5691046714782715, 1.0517359972000122, 0.04078676551580429, -0.3626427948474884, 0.03382685035467148, -1.1579195261001587, -0.5063798427581787, 0.018728574737906456, 0.2575022578239441, -0.45560136437416077, -0.40476107597351074, -0.1065056324005127, 0.4086243510246277, -0.4300176203250885, -0.04851720482110977, -0.20771190524101257, -0.20412522554397583, 0.43620002269744873, -0.16671711206436157, 0.6933180093765259, 0.3462112247943878, 0.0241449773311615, -0.08808164298534393, -0.9612075686454773, 0.33756908774375916, -0.1069059669971466, -0.4615578055381775, -0.3165157437324524, -0.22300176322460175, 0.04768740013241768, 0.0004070329014211893, 0.3502761721611023, -0.5375931859016418, 0.15842179954051971, -0.13270527124404907, -0.05635664612054825, 0.8221965432167053, -0.09895678609609604, 0.5736572742462158, -0.38872963190078735, 0.7334771752357483, -0.040941350162029266, 0.02924272045493126, -0.27788686752319336, -0.32863035798072815, -0.985231876373291, -0.1275196224451065, 0.4814477264881134, 0.834407389163971, -0.4973416030406952, 0.271974116563797, -0.07355630397796631, -0.40537285804748535, -0.7464542984962463, 0.3909130394458771, 0.3538079559803009, 0.6751448512077332, 0.6155996322631836, -0.16792665421962738, -0.278356671333313, -0.8884170055389404, -0.22369690239429474, -0.16250453889369965, -0.013200611807405949, 0.3581773638725281, 0.5853952169418335, 0.12428596615791321, 0.934567928314209, -0.8945690989494324, -0.46798938512802124, -0.16936787962913513, 0.5707658529281616, 0.20633849501609802, 0.31705114245414734, 0.2967720329761505, -0.5162863731384277, -0.7666927576065063, 0.07179559022188187, -0.5747009515762329, -0.25239986181259155, 0.0024321498349308968, -0.2551685571670532, 0.2641746699810028, 0.39382022619247437, -0.4880152642726898, 0.2714459300041199, 0.3836914002895355, -0.24021753668785095, 0.632155179977417, 0.02951057069003582, 0.3330169916152954, -1.1066280603408813, 0.1603267788887024, 0.3317159116268158, -0.3192542493343353, -0.5985015034675598, 0.3186889588832855, 0.10002158582210541, 0.025104694068431854, -0.37988364696502686, 0.7220165729522705, -0.2184264063835144, 0.27644699811935425, -0.7471179962158203, -0.024578815326094627, 0.1560703068971634, 0.29253533482551575, -0.0788053348660469, 0.6775846481323242, 0.44304150342941284, -0.6681581139564514, 0.6908855438232422, -0.07107818871736526, -0.23358112573623657, 0.6754158735275269, -0.5015925765037537, 0.03717595338821411, -0.13448505103588104, 0.6042042374610901, -0.9849699139595032, -0.31377679109573364, 0.1889294683933258, -0.5057600736618042, 0.36821335554122925, -0.37777647376060486, -0.22078447043895721, -0.3516633212566376, -0.15919165313243866, 0.32336851954460144, 0.5716857314109802, -0.3965979814529419, 0.5196750164031982, 0.08679964393377304, -0.13102580606937408, -0.5116766691207886, -0.3344736397266388, -0.03876229748129845, -0.4273499548435211, -0.4527612030506134, 0.09806113690137863, -0.1964145302772522, -0.40659299492836, -0.05622334033250809, -0.1951475292444229, -0.37749117612838745, 0.11201392114162445, 0.11249253898859024, 0.27057552337646484, -0.39799997210502625, 0.38536882400512695, -0.3016871511936188, -0.09062256664037704, 0.3851044774055481, -0.10752814263105392, 0.16239121556282043, -0.31352120637893677, -0.08867790549993515, 0.046850915998220444, 0.2839462459087372, 0.448253333568573, -0.4071367084980011, 0.7136299014091492, 0.5979359745979309, -0.48352810740470886, -0.582737922668457, -0.24741826951503754, -0.2775667607784271, -0.4732227027416229, 0.21199679374694824, 0.026606934145092964, -0.5186527371406555, 0.6167857050895691, -0.09391751885414124, 0.33279159665107727, 0.22091512382030487, 0.10194175690412521, -0.2827902138233185, 0.5362497568130493, 0.52464759349823, 0.13931354880332947, 0.08478265255689621, -0.3387399911880493, 0.14781293272972107, -0.6337918043136597, -0.1489601880311966, -0.7579357624053955, -0.2602488696575165, -0.5992302298545837, -0.5179067254066467, 0.2242746204137802, -0.1712319403886795, 0.18303053081035614, 0.026119153946638107, -0.08954508602619171, 0.868495762348175, 0.22190552949905396, 0.09111005067825317, 0.3872726559638977, -0.2533453404903412, 0.10872197896242142, 0.33992916345596313, -0.184141144156456, -0.6781900525093079, 1.1482735872268677, 0.21301421523094177, 0.9996883273124695, 0.05553365498781204, 0.6014525890350342, 0.47760748863220215, 0.6953640580177307, -1.1830183267593384, 0.7703760266304016, -0.3520776033401489, -0.6165366768836975, -0.4491874873638153, -0.6023538708686829, -0.8241521120071411, -0.028955595567822456, -0.04270877316594124, -0.28110620379447937, -0.5300993919372559, 0.1594020128250122, -0.2766425609588623, 0.032149121165275574, -0.9685924649238586, 0.620109498500824, -0.20478756725788116, -0.7857780456542969, -0.017919039353728294, -0.6578114628791809, 0.4756757616996765, -0.07711346447467804, 0.27612635493278503, -0.2887786328792572, 0.22834499180316925, 0.9052314162254333, -0.2693842351436615, 0.49390876293182373, -0.016974948346614838, -0.30129721760749817, 0.6718050837516785, 0.05702342838048935, 0.37756550312042236, -0.08565600961446762, -0.2151133269071579, -0.3246428966522217, -0.17584876716136932, -0.5011414289474487, -0.7993800640106201, 0.935298502445221, -0.5701889395713806, -0.7184798717498779, -0.7439547777175903, -0.5278211832046509, -0.03827545419335365, -0.012299184687435627, -0.11607939004898071, 0.2245427817106247, 0.03542911261320114, 0.09684617817401886, 0.7646998167037964, -0.08772897720336914, 0.37459972500801086, 0.6672751903533936, -0.35400721430778503, 0.0011254121782258153, 0.9818021655082703, 0.17706483602523804, 0.4529845118522644, 0.37462013959884644, 0.3360559642314911, -0.4956870377063751, -0.21287377178668976, -0.3016819357872009, 0.167650043964386, -0.9765210747718811, -0.31209737062454224, -0.43857473134994507, -0.3985302448272705, -0.36636650562286377, 0.018718382343649864, -0.38618165254592896, -0.6000666618347168, -0.17861312627792358, -0.07595494389533997, 0.4254969358444214, 0.6764904856681824, 0.17889969050884247, 0.19458554685115814, -0.5709100365638733, 0.47155317664146423, 0.3318907916545868, 0.6030849814414978, -0.16235607862472534, -0.7274731397628784, -0.5282835364341736, 0.18998466432094574, -0.6001424789428711, -0.6383549571037292, -0.044569287449121475, 0.5281795859336853, 0.21333301067352295, 0.06562856584787369, 0.28522008657455444, 0.6471077799797058, -0.3189049959182739, 0.6495569348335266, -0.19766734540462494, -0.6955727934837341, 0.5330067873001099, -0.16108199954032898, 0.4561937153339386, 0.6054960489273071, 0.6061635613441467, -0.5732910633087158, -0.5177611708641052, -0.16552948951721191, -0.9443890452384949, 0.5314506888389587, 0.06337541341781616, -0.17459648847579956, 0.035730376839637756, 0.31134548783302307, 0.29087916016578674, -0.10047316551208496, -0.7267112731933594, -0.47490596771240234, -0.07706932723522186, -0.38149577379226685, -0.1786821186542511, 0.24985504150390625, -0.05645565316081047, -0.25190019607543945, 0.9008112549781799, -0.27367162704467773, -0.19822394847869873, 0.07958520948886871, -0.2505492866039276, -0.10958408564329147, 0.6850107312202454, 0.4762907922267914, 0.5288230776786804, -0.4193543493747711, 0.18120282888412476, 0.13877533376216888, -0.5766435861587524, 0.3777175843715668, 0.19863364100456238, 0.030909476801753044, -0.27674049139022827, 0.13685962557792664, 0.24953654408454895, -0.3483496904373169, -0.7019845247268677, 0.2574516534805298, -0.1049296036362648, -0.1907859891653061, -0.5438436269760132, 0.250093013048172, -0.18341749906539917, -0.3128649592399597, 0.5796677470207214, -0.0944327712059021, 0.4102696478366852, -0.5266041159629822, 0.1810861974954605, 0.34834790229797363, -0.13029935956001282, -0.0961788147687912, 0.2620336711406708, 0.334566205739975, -0.190482497215271, 0.5422337651252747, -0.06311364471912384, -0.36864960193634033, 0.886721670627594, 0.4440731108188629, 0.8755916357040405, -0.46297019720077515, 0.4174523949623108, 0.40507566928863525, 0.12949912250041962, 0.023132190108299255, 0.006633459590375423, -0.04614889994263649, -0.30252110958099365, -0.5369341969490051, -1.0094599723815918, -0.7102206945419312, 0.43406733870506287, -0.8276423215866089, 0.3103005290031433, -0.5069756507873535, -0.06510954350233078, 0.0477069616317749, 0.23738357424736023, -0.5917004942893982, 0.5433980226516724, -0.009042056277394295, 0.6334196329116821, -1.0758689641952515, 0.5676026344299316, 1.2478636503219604, 0.04963516443967819, -0.49717265367507935, 0.022386115044355392, -0.14681193232536316, -0.446358323097229, 0.428440660238266, 0.3933624029159546, -0.2822577953338623, -0.1284686177968979, -0.46360155940055847, -0.6176995038986206, 0.7786135673522949, -0.04377545788884163, -0.0784878358244896, 0.20334704220294952, 0.464373916387558, 0.7957398295402527, -0.08163812011480331, 0.6049819588661194, 0.633000373840332, 0.536970853805542, 0.26690757274627686, -0.828174352645874, -0.18152089416980743, -0.3760334551334381, -0.6623185276985168, 0.3602893650531769, -0.6530804634094238, 0.47498923540115356, -0.3991425633430481, -0.18611332774162292, 0.026231398805975914, 0.7615636587142944, 0.03243150934576988, 0.6753287315368652, 0.239500030875206, 0.685965895652771, 0.7521175146102905, -0.23449772596359253, 0.799708366394043, -0.20474328100681305, 0.2417520433664322, 1.2830997705459595, -0.35824742913246155, 0.7877417206764221, 0.5547760128974915, -0.33671167492866516, 0.4949303865432739, 0.5510014891624451, 0.16216520965099335, 0.05960055813193321, 0.6191459894180298, -0.4716937839984894, -0.3296188414096832, -0.3732515275478363, -0.1396140605211258, 0.7775172591209412, 0.35691988468170166, -0.20597140491008759, -0.46481361985206604, 0.02200925163924694, -0.10256654769182205, 0.4247022867202759, -0.3397735357284546, 0.6615609526634216, 0.14597344398498535, -0.9537408351898193, 0.4385288655757904, 0.16937567293643951, 0.4543916583061218, -0.5715495347976685, -0.35460513830184937, -0.42416834831237793, 0.27546852827072144, -0.26876160502433777, -1.0310450792312622, 0.09813372045755386, 0.12027919292449951, -0.18350479006767273, -0.2476995587348938, 0.35695356130599976, -0.7156075239181519, -0.7468275427818298, -0.10698513686656952, 0.2878764867782593, 0.0858234241604805, 0.3945322632789612, -0.5323542952537537, -0.41998353600502014, -0.22307580709457397, -0.21438990533351898, 0.23307563364505768, 0.22046278417110443, 0.029768792912364006, 1.0145069360733032, 0.5326765775680542, -0.08660028129816055, 0.07015394419431686, -0.19736948609352112, 0.35056424140930176, -0.45620909333229065, -0.5484609603881836, -0.6920936107635498, 0.32565364241600037, 0.09339384734630585, -0.02662450075149536, 0.901224672794342, 0.7493613958358765, 0.7635005116462708, 0.09056001901626587, 0.8208975195884705, 0.19324533641338348, 0.6962581872940063, -0.7584307789802551, 0.5613040924072266, -0.46174490451812744, 0.4089105427265167, -0.11010614037513733, -0.8681128025054932, -0.16813789308071136, 0.5675334334373474, -0.2727883756160736, 0.15912476181983948, 0.850964367389679, 0.5608141422271729, -0.017932675778865814, 0.16427117586135864, -0.024205412715673447, 0.09442834556102753, 0.5282651782035828, 0.6619744896888733, 0.8401650786399841, -0.5150378346443176, 0.5329670906066895, -0.29502832889556885, -0.13014335930347443, -0.03879112750291824, -0.8148578405380249, -0.8923612833023071, -0.5411900877952576, -0.6213915348052979, -0.4171050786972046, 0.08759842067956924, 1.153602123260498, 0.19828331470489502, -0.7939082384109497, -0.5818302035331726, 0.18678991496562958, 0.10381339490413666, 0.06037386134266853, -0.3907319903373718, 0.45454397797584534, -0.21047405898571014, -0.658505916595459, 0.12947340309619904, 0.025221779942512512, 0.4332948327064514, -0.048223599791526794, -0.0002205036289524287, -0.19749058783054352, 0.2585657238960266, 0.4565064311027527, 0.2485329657793045, -0.5333466529846191, -0.35256335139274597, 0.13417929410934448, -0.11526341736316681, 0.1846383512020111, 0.5815392732620239, -0.7278400659561157, 0.31850042939186096, 0.24094025790691376, 0.5292232036590576, 0.23392558097839355, 0.339028924703598, 0.2826502025127411, -0.6786041855812073, -0.34170350432395935, 0.29151979088783264, 0.008819245733320713, 0.5219584107398987, -0.21551981568336487, 0.31504660844802856, -0.04402585327625275, -0.7218829989433289, -0.747143030166626, 0.2940799295902252, -0.9221208095550537, -0.19550999999046326, 1.1810691356658936, -0.2548679709434509, -0.35593748092651367, -0.09960688650608063, -0.0435030572116375, 0.20999836921691895, -0.39387381076812744, 1.1070955991744995, 1.0399302244186401, -0.19173432886600494, -0.19873741269111633, -0.3581593334674835, 0.6241224408149719, 0.4750560522079468, -1.2969845533370972, 0.2844669222831726, 0.3857797384262085, 0.1598440408706665, 0.2238510698080063, 0.13486430048942566, 0.13511507213115692, 0.3625945746898651, -0.4948934316635132, 0.0072038848884403706, -0.1225474402308464, -0.5647273063659668, -0.2619249224662781, 0.19553695619106293, -0.02449844777584076, -0.0910898819565773 ]
http://arxiv.org/abs/2404.14313v2
http://arxiv.org/pdf/2404.14313v2
Self-Supervised Alignment with Mutual Information: Learning to Follow Principles without Preference Labels
2024-04-22T16:20:36
2024-05-21T17:31:27
Jan-Philipp Fränken, Eric Zelikman, Rafael Rafailov, Kanishk Gandhi, Tobias Gerstenberg, Noah D. Goodman
cs.CL
cs.CL
When prompting a language model (LM), users often expect the model to adhere to a set of behavioral principles across diverse tasks, such as producing insightful content while avoiding harmful or biased language. Instilling such principles (i.e., a constitution) into a model is resource-intensive, technically challenging, and generally requires human preference labels or examples. We introduce SAMI, an iterative algorithm that finetunes a pretrained language model (without requiring preference labels or demonstrations) to increase the conditional mutual information between constitutions and self-generated responses given queries from a dataset. On single-turn dialogue and summarization, a SAMI-trained mistral-7b outperforms the initial pretrained model, with win rates between 66% and 77%. Strikingly, it also surpasses an instruction-finetuned baseline (mistral-7b-instruct) with win rates between 55% and 57% on single-turn dialogue. SAMI requires a model that writes the principles. To avoid dependence on strong models for writing principles, we align a strong pretrained model (mixtral-8x7b) using constitutions written by a weak instruction-finetuned model (mistral-7b-instruct), achieving a 65% win rate on summarization. Finally, we investigate whether SAMI generalizes to diverse summarization principles (e.g., "summaries should be scientific") and scales to stronger models (llama3-70b), finding that it achieves win rates of up to 68% for learned and 67% for held-out principles compared to the base model. Our results show that a pretrained LM can learn to follow constitutions without using preference labels, demonstrations, or human oversight.
[ -0.3398612439632416, 0.013639668934047222, 0.4715559780597687, 0.16928216814994812, -0.42716848850250244, -0.12096327543258667, -0.45982104539871216, -0.15676739811897278, 0.4549391567707062, 0.6134142279624939, -0.4983908534049988, -0.6132691502571106, -0.5597147941589355, -0.08517970889806747, -0.08844748884439468, 1.4496814012527466, -0.12193144857883453, 0.2014203816652298, -0.2891705632209778, -0.2794474959373474, -0.333139568567276, -0.4642128348350525, 0.018337560817599297, -0.46946248412132263, 0.5673023462295532, 0.34638863801956177, 0.6769498586654663, 0.9549542665481567, 0.3500593602657318, 0.34752583503723145, 0.20892830193042755, -0.09829529374837875, -0.6305234432220459, 0.18556466698646545, -0.37141212821006775, -0.5510251522064209, -0.26730841398239136, 0.20644927024841309, 0.6139021515846252, 0.6616925001144409, -0.427904337644577, -0.024032071232795715, 0.299821674823761, 0.8372902870178223, -0.5956029295921326, 0.09259218722581863, -0.6662341356277466, -0.04651760682463646, -0.18372288346290588, -0.024702155962586403, -0.12559133768081665, -0.5780753493309021, 0.35231828689575195, -0.8259823322296143, 0.1295223981142044, 0.04460015147924423, 0.9934465289115906, 0.3436987102031708, -0.4302663207054138, -0.4692913591861725, -0.46290338039398193, 0.9166838526725769, -0.6332771182060242, 0.37627989053726196, 0.5138850808143616, 0.0375237800180912, -0.06318183988332748, -0.48273804783821106, -0.5636252760887146, -0.1354304850101471, -0.2331361323595047, 0.1782573014497757, 0.15693703293800354, 0.4526476562023163, 0.11518201231956482, 0.26019155979156494, -0.445875346660614, 0.04763535037636757, -0.6073093414306641, -0.1397671401500702, 0.6811510324478149, 0.09220327436923981, 0.08312670886516571, -0.23145514726638794, -0.4835056960582733, -0.2592380940914154, -0.49885544180870056, 0.20527169108390808, 0.56251060962677, 0.3234803080558777, -0.15296874940395355, 0.6744402647018433, -0.46186894178390503, 0.6994419693946838, 0.6385448575019836, -0.16129620373249054, 0.09993107616901398, -0.4974745810031891, -0.07402615994215012, 0.13535957038402557, 0.8911165595054626, 0.428189754486084, 0.1485440582036972, -0.16268539428710938, -0.3733464181423187, 0.33716878294944763, 0.3620187044143677, -0.49860602617263794, -0.4331074357032776, 0.07657291740179062, -0.4629875123500824, -0.16019733250141144, -0.20648807287216187, -0.2987908720970154, -0.29321616888046265, -0.7987368106842041, 0.8237910866737366, -0.4310021996498108, -0.16035614907741547, 0.16788531839847565, -0.06747540831565857, 0.5109536051750183, 0.2608495354652405, -1.2215238809585571, 0.44063466787338257, 0.7897709608078003, 0.5773653388023376, -0.22077934443950653, -0.4350259602069855, -0.23760686814785004, 0.2193158119916916, -0.47872695326805115, 0.7203152179718018, -0.40281370282173157, -0.1738300770521164, -0.23178166151046753, -0.4071582853794098, -0.1508082002401352, -0.16424168646335602, 0.3662148714065552, -0.37321439385414124, 0.5923919081687927, -0.4025571048259735, -0.9396535158157349, 0.01611560769379139, 0.03214616701006889, -0.5973469614982605, 0.6289593577384949, -0.15175536274909973, -0.8607945442199707, 0.5453892350196838, -0.48654139041900635, -0.38553956151008606, -0.3338376581668854, -0.38996201753616333, -0.30701392889022827, 0.03690728545188904, 0.006053135730326176, 0.45646950602531433, 0.01119340118020773, 0.6388925909996033, -0.4314129650592804, -0.1354028880596161, -0.10377563536167145, 0.146501362323761, 0.4955367147922516, 0.21248331665992737, -0.25499364733695984, 0.28139814734458923, -0.5998156070709229, 0.13497117161750793, -0.1828642338514328, -0.2979719936847687, -0.5578950047492981, -0.03899121284484863, -0.5983178019523621, 0.15274696052074432, 0.2804984748363495, -0.3895672559738159, 0.33019739389419556, -0.42181912064552307, -0.142959326505661, 0.9202265739440918, -0.24739544093608856, 0.9436802864074707, -0.7203561663627625, 0.338858962059021, -0.37025871872901917, 0.01142950914800167, -0.05455987527966499, 0.021150505170226097, -0.8033384084701538, -0.20225568115711212, 0.48617231845855713, 0.30525702238082886, -0.6331871151924133, 0.5146945118904114, -0.3177095353603363, -0.47126245498657227, -0.8057401776313782, 0.5124562382698059, 0.6795870065689087, 0.6818591356277466, 0.3996199667453766, -0.45004940032958984, -0.6583235859870911, -0.9125139117240906, -0.29284313321113586, -0.31640034914016724, 0.18245501816272736, -0.08621163666248322, 0.2806423008441925, 0.21012744307518005, 0.8437107801437378, -0.3869626522064209, -0.2377871721982956, -0.352478563785553, 0.33151161670684814, 0.32737186551094055, 0.7051118612289429, 0.3571484684944153, -0.5990095734596252, -0.5374619364738464, -0.2559410035610199, -0.7852195501327515, -0.2680392861366272, -0.035891398787498474, -0.3531894385814667, 0.1658758968114853, 0.2677423059940338, -0.3859517276287079, 0.20972788333892822, 0.5424553751945496, -0.16864901781082153, 0.4579140543937683, -0.140181303024292, 0.00042612035758793354, -1.1868939399719238, -0.0872560515999794, -0.06916359812021255, -0.22673223912715912, -0.5796008706092834, -0.11901679635047913, 0.06323966383934021, 0.2860986888408661, -0.0970829650759697, 0.49864259362220764, -0.41430431604385376, 0.0027789503801614046, -0.24927212297916412, 0.02859959937632084, 0.052091311663389206, 0.6613606214523315, 0.4958110749721527, 0.5282101035118103, 0.3523390591144562, -0.910938560962677, 0.09107513725757599, 0.42002686858177185, -0.4040687084197998, 0.7045085430145264, -0.761972963809967, -0.04875312000513077, -0.418575644493103, 0.16421766579151154, -0.7755522727966309, -0.27934667468070984, 0.09384222328662872, -0.34069475531578064, 0.4117710590362549, -0.15528932213783264, 0.12399984896183014, 0.05850910395383835, -0.5306847095489502, 0.14912056922912598, 0.5108555555343628, -0.5810499787330627, 0.5997565388679504, 0.4882381558418274, -0.20154468715190887, -1.0720692873001099, -0.20823398232460022, -0.3610096573829651, -0.17595666646957397, -0.5327006578445435, 0.26964542269706726, -0.15590675175189972, -0.21941092610359192, 0.08589184284210205, -0.3583683967590332, 0.02228827029466629, 0.17410647869110107, 0.25849851965904236, 0.23600658774375916, -0.2126760631799698, 0.28058940172195435, 0.13450267910957336, 0.002776936162263155, -0.22570568323135376, -0.473055362701416, 0.38841530680656433, -0.0869721993803978, -0.23622383177280426, -0.7059217691421509, 0.22605140507221222, 0.22796401381492615, -0.15756583213806152, 0.6531297564506531, 0.19431903958320618, -0.044800493866205215, -0.0971161425113678, -0.49901682138442993, -0.26530343294143677, -0.44367870688438416, 0.09466661512851715, -0.3527829349040985, -0.7139021158218384, 0.24904675781726837, 0.04310494288802147, 0.2686408460140228, 0.5749071836471558, 0.28409942984580994, -0.7582066059112549, 0.707872748374939, 0.8074483275413513, -0.21089306473731995, 0.6689957976341248, -0.19690090417861938, -0.2906896471977234, -0.7741401791572571, -0.24292849004268646, -0.4590180516242981, -0.4292028248310089, -0.582040548324585, -0.046841543167829514, 0.35285887122154236, 0.3118983805179596, -0.32660141587257385, 0.4932422339916229, -0.23424282670021057, 0.617967963218689, 0.8581845760345459, 0.10748035460710526, 0.22240565717220306, -0.2752854526042938, -0.5176146030426025, -0.2287459820508957, -0.8154978156089783, -0.43221136927604675, 1.3729922771453857, 0.09292301535606384, 1.3935364484786987, 0.24708373844623566, 1.3054801225662231, 0.31368276476860046, 0.45789647102355957, -0.5612794160842896, 0.3179989159107208, 0.057853780686855316, -0.4802444279193878, -0.4684065580368042, -0.35102882981300354, -0.7824757099151611, 0.33681541681289673, -0.5913519859313965, -0.34254705905914307, 0.12633928656578064, 0.5597832798957825, -0.441584050655365, -0.010738368146121502, -0.6201431155204773, 0.7011314630508423, -0.29801973700523376, -0.40293675661087036, -0.19865068793296814, -0.9258285760879517, 0.5520772337913513, -0.004611617419868708, 0.00141679379157722, -0.09510299563407898, 0.09575887769460678, 0.774423360824585, -0.48656266927719116, 1.0516481399536133, -0.10762007534503937, -0.10827335715293884, 0.15704795718193054, 0.013682967983186245, 0.4761544167995453, -0.31748178601264954, 0.03250417858362198, -0.17775242030620575, 0.047356970608234406, -0.31293410062789917, -0.74686598777771, 0.4728713929653168, -0.9527872800827026, -0.7668629288673401, -0.4555366635322571, -0.2439526468515396, -0.039722416549921036, 0.2076164335012436, 0.3372255563735962, 0.40331000089645386, -0.28161054849624634, 0.1836192011833191, 0.7561503648757935, 0.22897830605506897, 0.249210923910141, 0.5007797479629517, -0.26316916942596436, -0.7791858911514282, 0.8962021470069885, 0.029596436768770218, 0.6205964088439941, 0.33391696214675903, 0.3040415644645691, -0.6969488859176636, -0.5068157315254211, -0.350070983171463, 0.4126238226890564, -0.7021787762641907, -0.38694921135902405, -0.7460641860961914, 0.015676073729991913, -0.33615583181381226, -0.2015850841999054, -0.504045844078064, -0.7127658724784851, -0.12632721662521362, 0.08656175434589386, -0.033096395432949066, 0.726710319519043, -0.3712726831436157, 0.613121509552002, -0.5564984083175659, 0.41838499903678894, 0.5279735326766968, 0.38405683636665344, -0.3783990144729614, -0.6712228059768677, 0.01693829335272312, 0.15210497379302979, -0.34729430079460144, -0.7623224258422852, 0.0697978138923645, 0.35918229818344116, 0.6864498257637024, 0.4138071537017822, 0.35427963733673096, 0.7821235060691833, -0.44415050745010376, 0.45158851146698, 0.29835495352745056, -1.1092321872711182, 0.4096064865589142, -0.2824227511882782, 0.11232937127351761, 0.9704502820968628, 0.6904287338256836, -0.6168195605278015, -0.41031771898269653, -0.6080846190452576, -0.2870733439922333, 0.7292658090591431, 0.04109962284564972, 0.15363045036792755, 0.2391965240240097, 0.28194722533226013, 0.2262231558561325, 0.3771964907646179, -0.8954600691795349, -0.05092020705342293, -0.36083489656448364, -0.6460268497467041, 0.024055520072579384, -0.09799572825431824, -0.26657211780548096, -0.26194044947624207, 0.8003911375999451, -0.22855760157108307, -0.07715774327516556, 0.24357935786247253, -0.27676501870155334, 0.08342190086841583, 0.24002215266227722, 0.6503769755363464, 0.6017641425132751, -0.16133031249046326, 0.19558468461036682, -0.03569361940026283, -0.09193770587444305, 0.19632889330387115, 0.02023644745349884, -0.28009146451950073, -0.20884770154953003, 0.470885694026947, 0.8375758528709412, 0.3522706925868988, -0.16761545836925507, 0.6170209646224976, -0.15302900969982147, -0.2969287931919098, 0.06054012104868889, 0.29600539803504944, -0.018746450543403625, 0.15405341982841492, 0.006537103094160557, -0.1104668378829956, -0.020735347643494606, -0.4135853946208954, 0.2984597384929657, 0.7261945605278015, -0.28048980236053467, -0.5228357315063477, 0.6413892507553101, 0.3195849657058716, 0.14234966039657593, 0.14366282522678375, -0.07403123378753662, -0.7010670304298401, 0.23566539585590363, 0.5376374125480652, 0.5496752262115479, -0.5514512062072754, 0.3345143496990204, 0.42981767654418945, 0.2806999683380127, -0.48804378509521484, 0.34543704986572266, -0.4601235091686249, -0.9083695411682129, -0.28934112191200256, -0.6660219430923462, -0.5665580630302429, -0.1695031225681305, -0.7598180174827576, 0.3569753170013428, -0.5183923244476318, -0.025002071633934975, 0.11207260191440582, 0.07926657795906067, -0.4293765425682068, 0.13745707273483276, -0.06551165133714676, 0.6156980395317078, -0.8856024146080017, 0.7420957684516907, 0.38409310579299927, -0.3819853663444519, -0.838688850402832, -0.11487148702144623, -0.017580265179276466, -0.7243297100067139, 0.45398783683776855, -0.13515782356262207, -0.16130663454532623, -0.06750587373971939, -0.8682159781455994, -0.9929312467575073, 0.9618014097213745, 0.39992955327033997, -0.4710107743740082, -0.06076274439692497, -0.3776087164878845, 0.37776726484298706, -0.49546897411346436, 0.018841328099370003, 0.21290624141693115, 0.20700331032276154, 0.25639206171035767, -1.0914465188980103, -0.21493586897850037, 0.062438659369945526, -0.29591649770736694, 0.3162197768688202, -0.6378995180130005, 0.7930810451507568, -0.4627552628517151, -0.3255375325679779, 0.1264214664697647, 0.969803512096405, 0.050422102212905884, 0.24754580855369568, 0.48747992515563965, 0.5937404632568359, 0.9953213930130005, 0.15702027082443237, 0.8373294472694397, -0.3506767749786377, 0.24590961635112762, 1.6621625423431396, -0.3323124051094055, 0.7141790986061096, 0.35124316811561584, 0.14074406027793884, 0.5928388833999634, 0.34940391778945923, 0.3322785496711731, 0.8146028518676758, 0.11304885149002075, -0.3224737048149109, -0.41876253485679626, -0.1864849179983139, -0.39325466752052307, 0.70655357837677, 0.16922378540039062, -0.3718092143535614, -0.22884923219680786, -0.2719837725162506, 0.09047118574380875, 0.5514677166938782, -0.27376413345336914, 1.177719235420227, -0.038405682891607285, -0.9409870505332947, 0.640532910823822, -0.18461868166923523, 0.770659863948822, -0.8391547203063965, -0.09595505148172379, -0.2507008910179138, 0.008355941623449326, 0.029843570664525032, -0.6893650889396667, 0.20757412910461426, -0.09987291693687439, -0.18562862277030945, -0.2094799280166626, 0.5851043462753296, -0.8220704197883606, -0.0874723568558693, -0.1160164400935173, 0.3633871078491211, 0.0226291436702013, 0.38796430826187134, -0.3764694929122925, -0.0689258798956871, 0.08424144238233566, 0.12948483228683472, 0.26850301027297974, 0.2282382994890213, -0.07596896588802338, 0.6016303896903992, 0.5580295920372009, 0.05872950702905655, -0.06732434034347534, -0.26811718940734863, 1.1131829023361206, -0.7170807123184204, -0.49756866693496704, -0.8079135417938232, 0.2533716559410095, -0.21502962708473206, -0.1906227469444275, 0.575244128704071, 0.48354771733283997, 0.9980854988098145, 0.12962128221988678, 0.7877532243728638, 0.09247364848852158, 0.39176708459854126, -0.7451668977737427, 0.7936004400253296, -0.2783920168876648, 0.004272374790161848, -0.18830688297748566, -0.7623533010482788, -0.09350796043872833, 0.7303555607795715, -0.27400094270706177, -0.15966945886611938, 0.537684977054596, 0.5465736985206604, 0.01093146950006485, 0.028221366927027702, 0.2560485303401947, -0.10239484906196594, 0.08119465410709381, 0.4408791959285736, 0.8462851643562317, -0.11954513937234879, 0.37220385670661926, -0.35809022188186646, -0.20377255976200104, 0.16831959784030914, -0.963147759437561, -1.094237208366394, -0.7637243270874023, -0.12046508491039276, -0.48882049322128296, 0.08783924579620361, 1.436115026473999, 0.6818070411682129, -0.6153041124343872, -0.3109833896160126, 0.18167263269424438, 0.42603734135627747, 0.0829910859465599, -0.06004328653216362, 0.2347610741853714, -0.5696406960487366, -0.5697414875030518, 0.240695521235466, -0.12660345435142517, 0.3234618008136749, -0.0782516747713089, -0.36874085664749146, -0.20634378492832184, 0.061073459684848785, 0.1078038364648819, 0.5827272534370422, -0.6304119229316711, -0.23452338576316833, -0.018618937581777573, -0.436963826417923, 0.04192253574728966, 0.7127395272254944, -0.7412042021751404, 0.6798856258392334, 0.37270301580429077, 0.7251662611961365, 0.32072263956069946, 0.44289064407348633, 0.8650320768356323, -0.708739697933197, -0.17876993119716644, 0.22852736711502075, 0.12494932115077972, 0.28997474908828735, -0.13680094480514526, 0.3729715347290039, 0.1681973934173584, -0.47902342677116394, -0.5378127098083496, 0.21330037713050842, -0.6982015371322632, 0.11835461109876633, 0.9314621686935425, -0.11566710472106934, -0.3891443908214569, -0.017633909359574318, -0.22873812913894653, 0.2355433851480484, -0.4180881083011627, 0.8367611765861511, 0.6436343789100647, -0.19518324732780457, 0.13295340538024902, 0.006528510246425867, 0.941006064414978, 0.619434654712677, -0.622917890548706, 0.023077767342329025, 0.5943494439125061, 0.5417009592056274, 0.08920057862997055, 0.9673965573310852, 0.22618818283081055, 0.19879752397537231, -0.2748161554336548, 0.42196163535118103, 0.07188092172145844, -0.4173630475997925, -0.5719655752182007, -0.1657148152589798, 0.012648159638047218, -0.33484306931495667 ]
http://arxiv.org/abs/2404.14301v1
http://arxiv.org/pdf/2404.14301v1
Marking: Visual Grading with Highlighting Errors and Annotating Missing Bits
2024-04-22T16:00:46
2024-04-22T16:00:46
Shashank Sonkar, Naiming Liu, Debshila B. Mallick, Richard G. Baraniuk
cs.CL
cs.CL
In this paper, we introduce "Marking", a novel grading task that enhances automated grading systems by performing an in-depth analysis of student responses and providing students with visual highlights. Unlike traditional systems that provide binary scores, "marking" identifies and categorizes segments of the student response as correct, incorrect, or irrelevant and detects omissions from gold answers. We introduce a new dataset meticulously curated by Subject Matter Experts specifically for this task. We frame "Marking" as an extension of the Natural Language Inference (NLI) task, which is extensively explored in the field of Natural Language Processing. The gold answer and the student response play the roles of premise and hypothesis in NLI, respectively. We subsequently train language models to identify entailment, contradiction, and neutrality from student response, akin to NLI, and with the added dimension of identifying omissions from gold answers. Our experimental setup involves the use of transformer models, specifically BERT and RoBERTa, and an intelligent training step using the e-SNLI dataset. We present extensive baseline results highlighting the complexity of the "Marking" task, which sets a clear trajectory for the upcoming study. Our work not only opens up new avenues for research in AI-powered educational assessment tools, but also provides a valuable benchmark for the AI in education community to engage with and improve upon in the future. The code and dataset can be found at https://github.com/luffycodes/marking.
[ -0.3374059796333313, -0.9589606523513794, 0.20318317413330078, 0.17264588177204132, 0.030647296458482742, 0.22911004722118378, -0.03278790041804314, -0.5010999441146851, 0.19671626389026642, 0.6237289905548096, -0.4363703727722168, -0.39690664410591125, -0.5680987238883972, 0.03751254081726074, -0.45240920782089233, 1.3625707626342773, -0.11618533730506897, -0.01066962257027626, -0.5202311873435974, -0.27588221430778503, -0.545688807964325, -0.29483622312545776, -0.738315761089325, -0.2177882194519043, 0.5817578434944153, 0.5647478103637695, 0.4280679225921631, 1.1418159008026123, 0.7137511968612671, 0.3288724422454834, -0.05686825141310692, 0.07999197393655777, -0.16469693183898926, -0.03980620950460434, -0.04691360145807266, -0.4029717445373535, -0.5971285700798035, 0.15660026669502258, 0.5147110819816589, 0.9478608965873718, 0.5988134741783142, 0.37122756242752075, 0.16829870641231537, 0.6689444780349731, -0.7904494404792786, 0.380421906709671, -0.14139385521411896, 0.24081122875213623, -0.151109516620636, 0.04586207494139671, -0.6222406029701233, -0.4846717417240143, 0.05928594619035721, -0.6386143565177917, 0.07895564287900925, -0.2989065647125244, 1.123541235923767, 0.4698375463485718, -0.411875456571579, -0.28730520606040955, -0.6209403276443481, 0.9871818423271179, -0.42718595266342163, 0.05006534978747368, 0.5407092571258545, 0.48537567257881165, 0.4782014787197113, -0.845708429813385, -0.4716236889362335, 0.051853448152542114, -0.1271301507949829, 0.4956231117248535, 0.18347223103046417, 0.06902274489402771, 0.5012850761413574, 0.6098634600639343, -0.33731892704963684, -0.03141137585043907, -0.42950013279914856, -0.17382904887199402, 0.6219111084938049, 0.2593647837638855, 0.2588407099246979, -0.042830776423215866, -0.243178591132164, -0.4146338105201721, -0.37514668703079224, 0.272341787815094, 0.4336715638637543, 0.38245102763175964, 0.13210149109363556, 0.6068565249443054, -0.26646360754966736, 0.8455185890197754, -0.212362140417099, 0.1424444615840912, 0.10768276453018188, -0.42049795389175415, -0.2464292347431183, 0.025293946266174316, 0.48953142762184143, 0.7327070236206055, 0.3649468421936035, 0.12266156822443008, -0.32338380813598633, 0.5018572211265564, 0.058900896459817886, -0.6631816625595093, -0.7241705060005188, -0.10319355875253677, -0.0015480059664696455, -0.3519945442676544, 0.1518218070268631, -0.843320369720459, -0.535356342792511, -0.5236521363258362, 0.8802987933158875, -0.1404918134212494, 0.15306226909160614, 0.06187957152724266, -0.29981815814971924, 0.18440040946006775, 0.7979533672332764, -0.7226550579071045, 0.3831101655960083, 0.6752734780311584, 0.30249151587486267, -0.006071966141462326, -0.4746748208999634, -0.7995359897613525, -0.22982177138328552, -0.3552166819572449, 0.706281840801239, -0.6236358880996704, -0.015882395207881927, 0.16836336255073547, -0.04371211305260658, 0.015067827887833118, -0.44515129923820496, 0.5631110072135925, -0.38879334926605225, 0.3944271504878998, -0.41260984539985657, -0.9066399335861206, -0.5164163112640381, 0.4705892503261566, -0.7565969824790955, 1.289613127708435, 0.037432458251714706, -0.486914724111557, 0.5793601274490356, -0.6674046516418457, -0.2156720608472824, 0.32059168815612793, 0.019783038645982742, -0.48524147272109985, -0.3812726140022278, 0.09095386415719986, 0.20862185955047607, 0.31502896547317505, 0.1636355072259903, -0.0004052508738823235, -0.6454248428344727, 0.14201171696186066, -0.24639150500297546, 0.6294853091239929, -0.2068101465702057, -0.5148628950119019, 0.36754417419433594, -1.0482795238494873, 0.13708814978599548, -0.01581304334104061, -0.45073240995407104, -0.374385803937912, -0.06997393071651459, 0.3267908990383148, 0.09541714191436768, 0.39223945140838623, -0.6000604033470154, 0.09475816041231155, -0.018633190542459488, 0.16847161948680878, 0.9441084861755371, -0.12094184756278992, 0.5171981453895569, -0.2780747711658478, 0.37578943371772766, -0.19088195264339447, 0.3283989429473877, -0.4092230498790741, -0.6945855617523193, -1.2877408266067505, -0.2828958034515381, 0.5920392870903015, 0.5201414823532104, -0.5340620279312134, 0.48618364334106445, -0.30506524443626404, -0.3342815339565277, -0.6415824294090271, 0.11422149091959, 0.3790264129638672, 0.5612357258796692, 0.5665977597236633, -0.2048671841621399, -0.48942700028419495, -0.5380845069885254, -0.34778058528900146, -0.25958776473999023, -0.01735088974237442, -0.001889921841211617, 0.6302044987678528, -0.075550876557827, 1.2023800611495972, -0.4336596131324768, -0.6633240580558777, -0.08484847843647003, 0.2894784212112427, 0.08140793442726135, 0.6540024876594543, 0.19805292785167694, -0.7154145836830139, -0.43058761954307556, -0.041993387043476105, -0.8962450623512268, -0.3807092607021332, -0.2016720473766327, -0.213212251663208, -0.1278230994939804, 0.4532885253429413, 0.26940831542015076, 0.7783519625663757, 0.09423817694187164, -0.5394925475120544, 0.3849392533302307, 0.024784358218312263, 0.20508255064487457, -0.30687952041625977, 0.04575371742248535, 0.11143893003463745, -0.21871569752693176, -0.6270471215248108, 0.08504217118024826, 0.16090063750743866, 0.09700950235128403, -0.28482234477996826, 0.7749251127243042, 0.010888717137277126, 0.06353448331356049, -0.37163564562797546, 0.08396077901124954, 0.3804300129413605, 0.643932044506073, 0.06629416346549988, 0.3859715461730957, 0.2588435113430023, -0.2535392940044403, 0.037137992680072784, 0.25529277324676514, -0.05694465711712837, 0.7748314142227173, -0.530531108379364, 0.036792486906051636, -0.0025314721278846264, -0.0394752211868763, -1.0905711650848389, -0.15189415216445923, 0.36187219619750977, -0.34210407733917236, 0.03463088348507881, -0.5919157266616821, -0.4824988842010498, -0.2116294801235199, -0.3872607946395874, 0.4072437286376953, 0.2731406092643738, -0.5999138951301575, 0.705467164516449, -0.07082487642765045, 0.020537346601486206, -0.5917329788208008, -0.660176694393158, 0.11278792470693588, -0.13179616630077362, -0.24937210977077484, -0.1324278563261032, -0.34314537048339844, -0.20563438534736633, 0.1054726243019104, 0.04564906284213066, -0.3684019148349762, 0.4753902852535248, 0.5970889329910278, 0.48549509048461914, -0.1561698615550995, -0.027123937383294106, -0.0703052505850792, -0.20131917297840118, 0.2565058171749115, 0.028640691190958023, 0.055168189108371735, -0.3685714304447174, -0.6230527758598328, -0.3318324387073517, 0.3885033428668976, 0.4074006676673889, -0.49968022108078003, 0.17905518412590027, 0.5572866201400757, -0.6138722896575928, -0.13352954387664795, -0.4208832383155823, -0.10746367275714874, -0.5038408637046814, 0.3440641760826111, -0.09119076281785965, -0.7019913196563721, 0.32432693243026733, 0.2348565012216568, 0.4862961769104004, 0.32322490215301514, -0.030871352180838585, -0.21428446471691132, 1.0576598644256592, 0.8352199792861938, 0.20261934399604797, 0.7363229990005493, -0.37160131335258484, 0.2563176155090332, -0.6839110851287842, -0.12468648701906204, -0.5421507358551025, -0.4201544523239136, -0.44852912425994873, -0.21586206555366516, 0.1270523965358734, 0.34237709641456604, -0.3836768865585327, 0.0032116982620209455, -0.7803389430046082, 0.8417034149169922, 0.9444414973258972, 0.0707411840558052, 0.35128578543663025, -0.029678143560886383, 0.24162112176418304, -0.3242245018482208, -0.13756108283996582, -0.8608561158180237, 0.9531746506690979, 0.10647677630186081, 0.41563040018081665, -0.26903340220451355, 0.6289418935775757, 0.5578454732894897, 0.7636195421218872, -0.7775739431381226, 0.6969416737556458, -0.0454925000667572, -0.435114324092865, -0.37832921743392944, -0.3476327359676361, -0.7720991969108582, 0.21039220690727234, -0.4155225157737732, -0.5306251645088196, -0.13260486721992493, 0.02682231180369854, -0.09288245439529419, 0.34158217906951904, -0.8638251423835754, 1.1411805152893066, -0.09657352417707443, -0.6338517069816589, 0.3508967161178589, -0.6584509611129761, 0.025138432160019875, 0.04404487833380699, 0.20524625480175018, -0.025357486680150032, 0.35122084617614746, 1.2343531847000122, -0.343546599149704, 0.8858065605163574, -0.2918691337108612, 0.09100031852722168, 0.3566654622554779, 0.12889514863491058, 0.19588413834571838, -0.3340562582015991, -0.1114875003695488, -0.21732880175113678, -0.13412249088287354, -0.5896754264831543, -0.6809314489364624, 0.45629096031188965, -0.4504282772541046, -0.1362142115831375, -0.47766587138175964, -0.32366931438446045, 0.12954795360565186, 0.3845101296901703, -0.12049806118011475, 0.5154903531074524, 0.16029329597949982, -0.40694352984428406, 0.605570375919342, -0.10476689040660858, 0.5270014405250549, 0.35689666867256165, -0.21619491279125214, -0.3680398464202881, 1.4224827289581299, 0.24273750185966492, -0.05325302109122276, 0.19440676271915436, 0.19889043271541595, -0.32509711384773254, -0.4845198094844818, -0.72361159324646, 0.31359729170799255, -1.4301578998565674, -0.08518950641155243, -0.6158137917518616, -0.04008076339960098, -0.1799531877040863, -0.46454179286956787, -0.07359122484922409, -0.35749873518943787, -0.34672388434410095, -0.25566673278808594, 0.1834588646888733, 1.187177062034607, 0.07745949923992157, 0.29535436630249023, -0.4829755425453186, -0.15604940056800842, 0.7145645618438721, 0.4346373677253723, -0.11584734171628952, -0.37657564878463745, -0.33104410767555237, -0.02891327254474163, -0.4509667456150055, -0.43289029598236084, 0.018170280382037163, 0.3098386228084564, 0.22193603217601776, 0.28480833768844604, 0.027168184518814087, 0.8244448900222778, -0.2985013723373413, 0.9659520387649536, 0.1524263322353363, -1.0661107301712036, 0.77516770362854, -0.13209566473960876, 0.15478655695915222, 0.790510356426239, -0.09662875533103943, -0.5011616349220276, -0.8761531114578247, -0.5701141357421875, -1.09519624710083, 0.49119168519973755, -0.026507101953029633, -0.11506623029708862, -0.1278943419456482, 0.15852296352386475, -0.03497353568673134, 0.14769332110881805, -0.9957770109176636, -0.3146885931491852, -0.2923174202442169, -0.6167774796485901, -0.08909773081541061, -0.239669069647789, -0.13408932089805603, -0.24412915110588074, 0.6557936072349548, -0.4335991442203522, -0.17824280261993408, 0.15960362553596497, -0.4963873624801636, -0.02303309552371502, 0.18104781210422516, 0.5444316267967224, 0.5565763711929321, -0.20500648021697998, 0.2059609591960907, 0.05739428848028183, -0.4258885383605957, -0.04581218957901001, 0.03211453929543495, -0.2606401741504669, 0.010171561501920223, 0.6482667922973633, 0.43892765045166016, 0.07107791304588318, -0.7745570540428162, 0.7725183963775635, -0.22491355240345, -0.06852439045906067, -0.27555814385414124, -0.038344696164131165, -0.45095327496528625, 0.025044133886694908, 0.4341491758823395, 0.2669059932231903, 0.23767463862895966, -0.1401987224817276, 0.28988561034202576, -0.0593554861843586, -0.9093488454818726, -0.3620756268501282, 0.7178894281387329, 0.15032537281513214, -0.2956417500972748, 0.5901235342025757, -0.05088571086525917, -0.664168119430542, 0.7433987259864807, 0.01758958026766777, 0.608777642250061, 0.20372655987739563, 0.23204338550567627, 0.3900071680545807, 0.3267141282558441, 0.07998861372470856, 0.22331495583057404, -0.2981165647506714, -0.2932215631008148, -0.4214017987251282, -0.5457353591918945, -0.6543514728546143, -0.22921934723854065, -1.020386815071106, 0.12350630015134811, -0.752082109451294, -0.0009518720908090472, 0.20816810429096222, -0.001863769837655127, -0.499653697013855, 0.7578248977661133, 0.38030415773391724, 0.5369465351104736, -1.3505194187164307, 0.353667289018631, 1.1213817596435547, -0.3836503028869629, -0.6870877742767334, -0.37555235624313354, -0.03163988143205643, -0.4401182532310486, 0.83915114402771, 0.5170668363571167, 0.02768305130302906, -0.10225753486156464, -0.45327115058898926, -0.33178165555000305, 0.531897246837616, 0.049953803420066833, 0.16003021597862244, 0.2889659106731415, 0.3224499523639679, 0.7850155830383301, 0.06401284784078598, 0.8157082200050354, 0.5309287309646606, 0.6116284728050232, -0.3275906443595886, -0.422921746969223, -0.2287389189004898, -0.5269166231155396, -0.42585498094558716, 0.09480050206184387, -0.2806990146636963, 0.6014789342880249, 0.03192410618066788, -0.13118647038936615, -0.02166096679866314, 0.6502965092658997, -0.012959803454577923, 0.7225887775421143, 0.49249395728111267, 0.7904219627380371, 0.6965388059616089, -0.6677395701408386, 0.7611045837402344, 0.2336038202047348, 0.4265545606613159, 1.0587202310562134, -0.1453474909067154, 0.8079442381858826, 0.5808202624320984, -0.031174179166555405, 0.5602489709854126, 0.5682995915412903, -0.24898317456245422, 0.18954117596149445, 0.39250749349594116, -0.1710791438817978, -0.45618245005607605, -0.40754345059394836, -0.05046948790550232, 0.29949501156806946, 0.1535797119140625, -0.20476031303405762, -0.15669989585876465, 0.10329177975654602, -0.1566150188446045, 0.5185890197753906, -0.406532347202301, 0.8458445072174072, -0.3727464973926544, -0.7715044617652893, 0.38400721549987793, -0.15829306840896606, 0.6630476117134094, -0.33059707283973694, -0.471652626991272, -0.5810623168945312, 0.26812228560447693, -0.43826526403427124, -0.9653083086013794, 0.08191396296024323, 0.05897676572203636, -0.2633212208747864, -0.4521348476409912, 0.23400573432445526, -0.48181504011154175, -0.6653788089752197, 0.20776475965976715, 0.17406611144542694, 0.00002041070365521591, 0.1802230030298233, -0.5631446838378906, 0.11846935749053955, 0.0157768614590168, 0.1666387915611267, 0.11014275997877121, 0.449859619140625, -0.1391148716211319, 0.6862275004386902, 0.5028089284896851, -0.18671593070030212, 0.38542360067367554, 0.2855782210826874, 0.4570067524909973, -0.5874386429786682, -0.6142139434814453, -0.6329823136329651, 0.6280760765075684, -0.16579359769821167, -0.4071131646633148, 1.0022149085998535, 0.7506460547447205, 1.0284137725830078, -0.06205928325653076, 0.5466452240943909, 0.224603071808815, 0.39709755778312683, -0.15532715618610382, 0.40556567907333374, -0.5003780722618103, 0.24059966206550598, -0.6570715308189392, -0.5655019879341125, -0.685073733329773, 0.5314041376113892, -0.3163725435733795, -0.05270383879542351, 0.5045103430747986, 0.48842620849609375, 0.31255918741226196, 0.2142607420682907, 0.11234688758850098, -0.38590022921562195, 0.47509846091270447, 0.5134569406509399, 1.2854245901107788, -0.8857594132423401, 0.5815975069999695, -0.581275224685669, -0.25792932510375977, -0.12752443552017212, -0.46462321281433105, -1.0145765542984009, -0.3485833704471588, -1.1464018821716309, -0.45745590329170227, -0.08073525130748749, 0.602408230304718, 0.4310186505317688, -0.9422869682312012, -0.17664669454097748, 0.02654201164841652, 0.36968520283699036, -0.5939694046974182, -0.3207454979419708, 0.4720773994922638, -0.27028459310531616, -0.9114109873771667, 0.14132320880889893, 0.2728167176246643, 0.3281794786453247, 0.1950928270816803, 0.16724015772342682, -0.13464868068695068, -0.234930619597435, 0.39384499192237854, 0.1718214750289917, -0.5844190120697021, -0.3829006552696228, -0.12035056203603745, -0.10385823994874954, 0.29089590907096863, 0.5583100318908691, -0.6961119174957275, 0.6182738542556763, 0.3468671143054962, 0.6805868148803711, 0.2717215418815613, 0.05147232487797737, 0.1246589869260788, -0.826734721660614, -0.1676686704158783, 0.38584432005882263, 0.3117038309574127, 0.6878431439399719, -0.18729989230632782, 0.4938690960407257, 0.35769030451774597, -0.47621485590934753, -0.9671042561531067, -0.11493135243654251, -0.8942946791648865, -0.0038263231981545687, 0.5578616857528687, -0.44853049516677856, -0.3911552131175995, -0.24575677514076233, -0.26725566387176514, 0.09017588943243027, -0.08940082043409348, 0.7904677391052246, 0.6821321845054626, 0.2781296372413635, -0.05748230591416359, -0.38814544677734375, 0.2932116687297821, 0.8089072704315186, -0.7755639553070068, -0.05013670399785042, 0.47284576296806335, 0.1754307895898819, 0.46210649609565735, 0.3782746195793152, 0.011812657117843628, 0.5112541913986206, -0.07523252069950104, 0.18528708815574646, -0.05833982303738594, -0.4304940402507782, -0.6475574970245361, 0.2949126064777374, -0.11484228074550629, -0.45218127965927124 ]
http://arxiv.org/abs/2404.14294v2
http://arxiv.org/pdf/2404.14294v2
A Survey on Efficient Inference for Large Language Models
2024-04-22T15:53:08
2024-06-08T04:49:51
Zixuan Zhou, Xuefei Ning, Ke Hong, Tianyu Fu, Jiaming Xu, Shiyao Li, Yuming Lou, Luning Wang, Zhihang Yuan, Xiuhong Li, Shengen Yan, Guohao Dai, Xiao-Ping Zhang, Yuhan Dong, Yu Wang
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have attracted extensive attention due to their remarkable performance across various tasks. However, the substantial computational and memory requirements of LLM inference pose challenges for deployment in resource-constrained scenarios. Efforts within the field have been directed towards developing techniques aimed at enhancing the efficiency of LLM inference. This paper presents a comprehensive survey of the existing literature on efficient LLM inference. We start by analyzing the primary causes of the inefficient LLM inference, i.e., the large model size, the quadratic-complexity attention operation, and the auto-regressive decoding approach. Then, we introduce a comprehensive taxonomy that organizes the current literature into data-level, model-level, and system-level optimization. Moreover, the paper includes comparative experiments on representative methods within critical sub-fields to provide quantitative insights. Last but not least, we provide some knowledge summary and discuss future research directions.
[ -0.24561242759227753, -0.8810548186302185, 0.8105533123016357, 0.32159650325775146, 0.020431647077202797, 0.10871822386980057, -0.46043166518211365, -0.442753404378891, -0.22423245012760162, 0.4310499429702759, -0.3258625268936157, -0.4524819254875183, -0.5082116723060608, 0.09420598298311234, -0.49177467823028564, 0.3385213017463684, 0.15309038758277893, 0.008996635675430298, -0.19215700030326843, -0.0972650945186615, -0.015397686511278152, -0.6395821571350098, -0.6734352111816406, -0.3140825033187866, 0.41081827878952026, 0.15508721768856049, 0.35605576634407043, 0.6858561635017395, 0.4936429262161255, 0.3311002254486084, -0.3794311583042145, 0.4256095588207245, -0.6225605607032776, 0.27695804834365845, -0.0746769830584526, -0.5006480813026428, -0.2841433882713318, -0.2545296847820282, 1.0126620531082153, 0.8262051939964294, -0.2241128385066986, 0.19091559946537018, 0.06451218575239182, 0.47966790199279785, -1.04513418674469, 0.1887742429971695, -0.7151955962181091, -0.0550602450966835, -0.15241004526615143, 0.06422068923711777, -0.6149902939796448, -0.32423922419548035, 0.0723380297422409, -0.5319304466247559, 0.11627456545829773, 0.2610143721103668, 0.4579285681247711, 0.44688472151756287, -0.46478259563446045, -0.20594385266304016, -0.9035747051239014, 1.1915779113769531, -0.8543528914451599, 0.6072561144828796, 0.3470011055469513, 0.011533834971487522, -0.2704646587371826, -0.536021888256073, -0.430693656206131, -0.2006431221961975, -0.037267204374074936, -0.03579714894294739, -0.4900204837322235, 0.37492358684539795, 0.36069923639297485, 0.4284098446369171, -0.38472992181777954, 0.4801996350288391, 0.23766985535621643, -0.11533226072788239, 0.516444742679596, 0.24233564734458923, 0.07153159379959106, 0.06837673485279083, -0.0488089844584465, 0.16269636154174805, -0.657103955745697, -0.3715440332889557, 0.26925286650657654, -0.10528367012739182, 0.11201626807451248, 0.45592349767684937, -0.19474947452545166, 0.9254591464996338, -0.27140799164772034, -0.3344900608062744, -0.07957298308610916, -0.5059110522270203, -0.3544178903102875, -0.44114312529563904, 0.7868478894233704, 0.20613528788089752, 0.21228379011154175, -0.3534485697746277, -0.3991527557373047, -0.2066069096326828, -0.018373742699623108, -0.6671649813652039, -0.12111914902925491, 0.12802010774612427, -0.49610084295272827, 0.03315719962120056, -0.44596385955810547, -0.7035067081451416, -0.31496354937553406, -0.18366242945194244, 0.14368849992752075, -0.30820444226264954, -0.23305682837963104, 0.08327095955610275, 0.0749974325299263, 0.4096255600452423, 0.2381080985069275, -0.9426289200782776, 0.15608209371566772, 0.8305607438087463, 0.8018441796302795, -0.1989755779504776, 0.043522339314222336, -0.42608174681663513, 0.14624318480491638, -0.37806379795074463, 0.7460322380065918, -0.4267515242099762, -0.1298481971025467, 0.05208251625299454, -0.11051655560731888, -0.19576749205589294, -0.6542930603027344, 0.5509331226348877, -0.7843260169029236, -0.18855680525302887, -0.13162103295326233, -0.7007792592048645, -0.23817729949951172, 0.07907163351774216, -0.6734058260917664, 0.900734543800354, 0.023230593651533127, -0.6284396052360535, 0.0774209126830101, -0.2656900882720947, -0.39690130949020386, -0.12963998317718506, -0.011541093699634075, -0.3158618211746216, 0.47326183319091797, 0.20212140679359436, 0.5147372484207153, -0.8157386779785156, 0.30324918031692505, -0.4351342022418976, -0.2140539586544037, 0.22388416528701782, -0.535679280757904, 0.813078761100769, 0.5469298362731934, -0.1896222084760666, -0.12190999835729599, -0.6272668242454529, -0.05011603236198425, 0.17006978392601013, -0.3553665280342102, -0.4626545011997223, 0.20745569467544556, -0.20348714292049408, -0.3471445143222809, 0.18563951551914215, -0.31067314743995667, 0.1522749662399292, -0.3019181489944458, 0.4663647413253784, 0.4233807623386383, -0.02881457284092903, 0.5713209509849548, 0.1529034674167633, 0.6435867547988892, -0.32011690735816956, 0.14772365987300873, -0.2155420333147049, 0.05708491429686546, -0.7316417098045349, -0.5988960862159729, 0.3544267416000366, 0.43816816806793213, -0.5035519599914551, 0.2731482982635498, -0.02487870678305626, -0.32927972078323364, -0.5433209538459778, 0.30063027143478394, 0.5229450464248657, 0.24955938756465912, 0.14726881682872772, 0.21754102408885956, -0.35926932096481323, -1.0676920413970947, -0.2938506603240967, -0.1290203332901001, 0.17082159221172333, 0.41875118017196655, 0.1711190640926361, -0.16631151735782623, 0.5520605444908142, -0.5071566104888916, 0.29650044441223145, -0.5836985111236572, -0.11612390726804733, 0.29718661308288574, 0.17324647307395935, 0.6229451298713684, -0.4069153666496277, -0.4458518624305725, -0.14179998636245728, -0.5933794975280762, -0.4893404245376587, -0.15074211359024048, -0.13477276265621185, 0.3798831105232239, 0.8039950728416443, -0.7079667448997498, -0.058394547551870346, 0.7259559631347656, -0.017958516255021095, 0.41171228885650635, -0.3088769018650055, -0.06648646295070648, -0.6210928559303284, 0.09468334913253784, 0.26136472821235657, -0.3012799918651581, -0.6779049634933472, 0.3806753158569336, 0.18956275284290314, 0.27291339635849, 0.045288439840078354, 0.5434419512748718, -1.023372769355774, -0.14073358476161957, -0.262633353471756, 0.1274130791425705, -0.15023012459278107, 0.301857054233551, 0.02906583808362484, 0.7986506819725037, 0.3888136148452759, -0.4439910650253296, 0.2864736318588257, -0.12979353964328766, -0.5676533579826355, 0.0036749106366187334, -0.5232778787612915, -0.046058349311351776, -0.22276553511619568, 0.198292076587677, -1.1633079051971436, -0.17667679488658905, 0.1268334686756134, 0.0463448129594326, 0.5642154812812805, -0.054145410656929016, -0.7833267450332642, -0.2687477469444275, -0.10753591358661652, 0.5058860182762146, 0.5892941951751709, -0.5842804908752441, 0.562981128692627, 0.6359683275222778, -0.015347447246313095, -0.6193211078643799, -0.49282577633857727, 0.11408156156539917, -0.44940197467803955, -0.3222917318344116, -0.0515231192111969, 0.08239223808050156, -0.610902726650238, -0.20920664072036743, -0.04996170103549957, -0.01789066009223461, 0.3416982889175415, -0.2389519065618515, 0.029414279386401176, -0.3267894387245178, 0.3339402675628662, -0.11091766506433487, 0.04905952513217926, 0.22450858354568481, -0.19410179555416107, 0.5034745931625366, 0.0019262791611254215, -0.2844797968864441, -0.3521616756916046, 0.4729549288749695, 0.5598865151405334, -0.27943238615989685, 0.695467472076416, 0.3000708818435669, -0.09295277297496796, -0.482234388589859, -1.0224307775497437, -0.14955423772335052, -0.36751145124435425, 0.5828381776809692, -0.15355324745178223, -0.8217737078666687, 0.4723295271396637, -0.2602119743824005, 0.18584133684635162, 0.3649430572986603, 0.6852583289146423, 0.09909901767969131, 1.0171462297439575, 0.5813272595405579, -0.2798651456832886, 0.5253136157989502, -0.34146231412887573, 0.3571488857269287, -0.7215923070907593, -0.09756690263748169, -0.6297135949134827, -0.01687619276344776, -0.44111406803131104, -0.6275132894515991, 0.16262100636959076, 0.18300767242908478, -0.11292226612567902, 0.017800182104110718, -0.17235594987869263, 0.4063575863838196, 0.43955329060554504, -0.09059462696313858, 0.5808387994766235, 0.07008406519889832, 0.07615747302770615, 0.1787223219871521, -1.0265614986419678, -0.4164799749851227, 0.8536934852600098, 0.5327837467193604, 0.9503776431083679, 0.2471199929714203, 0.4176401197910309, -0.04904051870107651, 0.34077540040016174, -0.9183291792869568, 0.5486778020858765, -0.19544410705566406, -0.7028716206550598, -0.41960740089416504, -0.5883957147598267, -0.8380860686302185, 0.39145034551620483, -0.06815223395824432, -0.6403438448905945, 0.07420800626277924, 0.39856022596359253, -0.3833408057689667, 0.23580148816108704, -0.7607783675193787, 0.6227412223815918, -0.22343337535858154, -0.4759555459022522, -0.4703456163406372, -0.43919190764427185, 0.6307957172393799, -0.3930526375770569, 0.21148177981376648, -0.19217027723789215, -0.26289865374565125, 0.39891812205314636, -0.31079792976379395, 0.6715174913406372, -0.14667043089866638, -0.320254921913147, 0.30639705061912537, -0.18950155377388, 0.6085155606269836, -0.09938988834619522, -0.3923206329345703, 0.16170388460159302, -0.06172008067369461, -0.2759515941143036, -0.5935036540031433, 0.6431136131286621, -0.5504035949707031, -0.6520639061927795, -0.20548954606056213, -0.7055178284645081, -0.48525890707969666, 0.009729566052556038, 0.11629125475883484, 0.34263935685157776, -0.0350714810192585, 0.3176637589931488, 0.9268218874931335, -0.5129509568214417, 0.5488885641098022, 0.5076737403869629, -0.13812367618083954, -0.09819725155830383, 0.6360933780670166, 0.21328483521938324, 0.42913058400154114, 0.43925559520721436, 0.1074715107679367, -0.4215504825115204, -1.0383509397506714, -0.2437974363565445, 0.6081196069717407, -0.48437249660491943, -0.2069072127342224, -0.8374244570732117, -0.08612433075904846, -0.3181706964969635, 0.2214154452085495, -0.33737388253211975, -0.24887922406196594, -0.346466064453125, 0.08633827418088913, 0.3019186556339264, 0.5582886934280396, 0.021790742874145508, 0.5638558864593506, -0.6318341493606567, 0.34679484367370605, -0.011531777679920197, 0.19313423335552216, 0.4682219624519348, -0.4883124530315399, -0.34581488370895386, -0.2901724576950073, 0.014584067277610302, -0.6167656779289246, 0.33845269680023193, 0.3284738063812256, 0.9102721214294434, 0.4306490421295166, 0.05985920503735542, 0.6055318713188171, -0.34578967094421387, 0.4797540307044983, 0.018969256430864334, -0.6704506874084473, 0.06747271865606308, -0.2843802273273468, 0.381409227848053, 0.2831162214279175, 0.4495132565498352, -0.30824536085128784, -0.4972512423992157, -0.25608229637145996, -1.0267536640167236, 0.48006030917167664, -0.05774422734975815, 0.16088034212589264, -0.13742849230766296, 0.5582471489906311, -0.0876898318529129, 0.008021796122193336, -0.3943965435028076, -0.1587122678756714, 0.5589185953140259, -0.2471587359905243, -0.27232852578163147, -0.5827293395996094, 0.1822964996099472, -0.23241500556468964, 0.6179382801055908, -0.10127609968185425, 0.01653401367366314, 0.052138376981019974, -0.4084550142288208, 0.16606612503528595, 0.1546548455953598, 0.4457440674304962, 0.6426680088043213, 0.08050986379384995, 0.20458312332630157, 0.4176681935787201, -0.15976105630397797, 0.19531776010990143, -0.062147051095962524, -0.07789818942546844, -0.10662531852722168, 0.6591315269470215, 0.6514571905136108, 0.2186126857995987, -0.7892654538154602, 0.30587685108184814, -0.10267720371484756, -0.0677013024687767, -0.38120537996292114, 0.14655858278274536, 0.4314253628253937, 0.5984715819358826, 0.396407812833786, -0.6428835988044739, 0.2584562599658966, -0.48219624161720276, -0.22401033341884613, 0.7816115617752075, 0.11025071889162064, -0.028032217174768448, 0.5009472370147705, 0.12076769769191742, -0.0077090151607990265, 0.6309564709663391, -0.11023426800966263, -0.3037852346897125, 0.4530131220817566, 0.5268402695655823, 0.7079519629478455, -0.16754619777202606, -0.23021863400936127, 0.3594170808792114, 0.1864103376865387, -0.3100137412548065, 0.1827276051044464, -0.2377420961856842, -0.641011655330658, -0.911104142665863, -0.8009074926376343, -0.2854350805282593, 0.35674992203712463, -0.4051031470298767, -0.18309840559959412, -0.3776044547557831, -0.30680280923843384, -0.06044519320130348, -0.020926566794514656, -0.4599955379962921, -0.16283026337623596, 0.21558493375778198, 1.0335533618927002, -0.5698477625846863, 0.6712948083877563, 0.3999941647052765, 0.20248165726661682, -0.7035943865776062, -0.061801161617040634, -0.073857381939888, -0.8464511036872864, 0.6952436566352844, -0.2725883424282074, -0.4667845666408539, 0.2046598494052887, -0.48023274540901184, -0.8767961263656616, 0.6742502450942993, 0.6186602115631104, -0.8997001051902771, -0.1252671182155609, -0.15283238887786865, 0.494302898645401, -0.22219577431678772, 0.372099369764328, 0.9563510417938232, 0.44159838557243347, -0.1550064980983734, -0.7379649877548218, -0.0027500572614371777, 0.07707617431879044, 0.23861947655677795, 0.28343772888183594, -0.906532883644104, 0.4000367820262909, -0.18697750568389893, -0.13483290374279022, 0.2093680053949356, 0.7615892887115479, 0.24304285645484924, 0.10604236274957657, 0.6562511324882507, 0.4576042592525482, 0.6910830140113831, 0.08422178030014038, 1.0380334854125977, -0.5144298076629639, 0.41186606884002686, 0.8990070223808289, -0.21697711944580078, 0.7100197672843933, 0.5318256616592407, -0.2088657021522522, 0.042509112507104874, 0.6781805157661438, -0.0368465818464756, 0.3297117352485657, 0.4396822452545166, -0.5482348799705505, -0.599942147731781, -0.13862167298793793, -0.016160588711500168, 0.6419456005096436, 0.4441613256931305, -0.5747812986373901, -0.30922600626945496, -0.20298486948013306, 0.05470326542854309, -0.14879688620567322, -0.2598390579223633, 0.8863792419433594, 0.2583836317062378, -0.644518256187439, 0.5821759700775146, -0.05901108682155609, 0.5952262282371521, -0.4098159372806549, 0.07723303139209747, -0.3337607979774475, 0.31903254985809326, -0.03572218120098114, -0.470998078584671, 0.11805301904678345, 0.07769786566495895, -0.2254635989665985, -0.21558183431625366, 0.6042964458465576, -0.34991636872291565, -0.3265461027622223, 0.4043758809566498, 0.6222798824310303, 0.2959514558315277, -0.05168382078409195, -0.4138087034225464, 0.3355150520801544, -0.060204215347766876, -0.6268316507339478, 0.2253381609916687, 0.5987157225608826, 0.02586752362549305, 0.8719070553779602, 0.36771145462989807, 0.35506802797317505, 0.11926873028278351, 0.17365477979183197, 0.6341817378997803, -0.665940523147583, -0.08703950047492981, -1.0334032773971558, 0.11881671845912933, -0.08589348942041397, -0.0008823394891805947, 0.8854487538337708, 0.5734622478485107, 0.43318885564804077, -0.005032129120081663, 0.8363642692565918, 0.35372716188430786, 0.6163913607597351, -0.6058288812637329, 0.6128051280975342, -0.6435739994049072, 0.3608115315437317, -0.04274887219071388, -0.975975513458252, -0.4044857323169708, 0.5359082818031311, -0.35920581221580505, 0.013409214094281197, 0.4445445239543915, 0.8249817490577698, -0.14276617765426636, -0.23259525001049042, 0.3568100035190582, 0.39118635654449463, 0.18733809888362885, 0.5155534148216248, 0.908677339553833, 0.08923979103565216, 0.4626881778240204, -0.12576831877231598, -0.3491915762424469, -0.49148479104042053, -1.03233802318573, -0.725442111492157, -0.3266617953777313, -0.2741466462612152, -0.1221742331981659, 0.1231130063533783, 0.8042788505554199, 0.690176248550415, -0.6495802402496338, -0.3856961131095886, 0.04696250334382057, 0.16135510802268982, 0.17062097787857056, -0.10464069247245789, 0.35482844710350037, -0.5468809604644775, -0.9736477136611938, 0.3357865810394287, 0.20927149057388306, -0.18371036648750305, -0.4170709550380707, 0.17961128056049347, -0.1184755265712738, 0.11694768071174622, 0.9210163354873657, 0.3884601593017578, -0.7046180963516235, -0.08784535527229309, 0.11837887763977051, -0.1763533651828766, -0.2518889605998993, 0.9225098490715027, -0.3698793053627014, 0.05909264087677002, 0.7490512132644653, 0.9603884816169739, 0.5158889889717102, 0.0143819535151124, 0.7724941968917847, -0.2706729769706726, -0.10878505557775497, 0.189906507730484, 0.46762457489967346, 0.24909305572509766, -0.22566604614257812, 0.46897152066230774, 0.11064805090427399, -0.7177685499191284, -0.989666223526001, 0.22608518600463867, -0.7476320862770081, -0.40126273036003113, 1.4537431001663208, -0.1694048047065735, -0.33690327405929565, -0.1282162070274353, 0.05071275681257248, 0.3048914968967438, -0.19599765539169312, 0.6069603562355042, 0.7677720785140991, -0.2982689440250397, -0.43295201659202576, -0.8250856995582581, 0.3170466125011444, 0.5378413200378418, -0.7826901078224182, 0.5639131665229797, 0.6686021685600281, 0.17354413866996765, -0.25165119767189026, 0.39898765087127686, 0.06481605768203735, -0.13462650775909424, -0.14312191307544708, -0.0574708953499794, 0.20167900621891022, -0.24248799681663513, -0.5302732586860657, 0.16534721851348877, 0.4534253776073456, 0.264192134141922 ]
http://arxiv.org/abs/2404.14270v1
http://arxiv.org/pdf/2404.14270v1
What do Transformers Know about Government?
2024-04-22T15:15:50
2024-04-22T15:15:50
Jue Hou, Anisia Katinskaia, Lari Kotilainen, Sathianpong Trangcasanchai, Anh-Duc Vu, Roman Yangarber
cs.CL
cs.CL, cs.LG
This paper investigates what insights about linguistic features and what knowledge about the structure of natural language can be obtained from the encodings in transformer language models.In particular, we explore how BERT encodes the government relation between constituents in a sentence. We use several probing classifiers, and data from two morphologically rich languages. Our experiments show that information about government is encoded across all transformer layers, but predominantly in the early layers of the model. We find that, for both languages, a small number of attention heads encode enough information about the government relations to enable us to train a classifier capable of discovering new, previously unknown types of government, never seen in the training data. Currently, data is lacking for the research community working on grammatical constructions, and government in particular. We release the Government Bank -- a dataset defining the government relations for thousands of lemmas in the languages in our experiments.
[ -0.47513681650161743, -0.5770753622055054, 0.7133258581161499, -0.21386714279651642, 0.05530255660414696, 0.008861206471920013, -0.36266735196113586, -0.2679881155490875, 0.15407243371009827, 0.8218488693237305, -0.27852463722229004, -0.11027900129556656, -0.751447319984436, -0.15094001591205597, -0.6023245453834534, 0.9689815640449524, 0.482464998960495, 0.04173329845070839, -0.02034473419189453, 0.20549161732196808, 0.27487659454345703, -0.8975335359573364, -0.09717448800802231, -0.4803747832775116, 0.5311493873596191, 0.06763043254613876, 1.0416936874389648, 0.6204332113265991, 0.4071977138519287, 0.2932462990283966, -0.20894283056259155, -0.20500899851322174, -0.46557340025901794, -0.3806546926498413, -0.28438398241996765, -0.8742719292640686, 0.051908887922763824, -0.16586874425411224, 0.684808075428009, 0.6360294818878174, -0.06412146240472794, 0.25379371643066406, -0.02558303438127041, 0.759904146194458, -0.4982999861240387, 0.9117034673690796, -0.7584904432296753, -0.07700368762016296, -0.35800087451934814, 0.06645376980304718, -0.5652543306350708, -0.4953981041908264, 0.37356019020080566, -0.11727072298526764, 0.47141918540000916, -0.15566681325435638, 1.0977897644042969, 0.3531992733478546, -0.535271406173706, -0.301827996969223, -0.776058554649353, 0.4419739842414856, -0.3134569823741913, 0.7978311777114868, 0.4810452163219452, 0.5131688714027405, -0.1592068374156952, -0.7397258281707764, -0.5275319218635559, -0.0158318430185318, -0.7267283797264099, 0.015844497829675674, -0.18339581787586212, 0.18506436049938202, 0.034921795129776, 0.6440895199775696, -0.2941135764122009, -0.30106428265571594, -0.39928293228149414, -0.3333229124546051, 0.4166038930416107, -0.3304295241832733, 0.04836011677980423, -0.826885461807251, -0.12789343297481537, -0.43898987770080566, -0.5973725914955139, 0.4461662471294403, 0.5474385023117065, 0.41806626319885254, -0.09836060553789139, 0.6082638502120972, 0.546061098575592, 0.4424717426300049, -0.03130998834967613, 0.35019949078559875, 0.060611456632614136, -0.005801450926810503, -0.525399923324585, 0.03177579119801521, 0.7089397311210632, -0.38955894112586975, 0.5980056524276733, -0.6237737536430359, -0.24846886098384857, 0.08376070857048035, 0.6043440103530884, -0.3698875904083252, -0.1727316528558731, -0.1024436429142952, -0.48910510540008545, -0.10563141107559204, 0.5850188136100769, -0.4506724774837494, -0.02608324959874153, -0.4064318537712097, 0.29896804690361023, -0.4534763991832733, -0.3643205761909485, -0.02986080013215542, -0.32704171538352966, 0.7460974454879761, -0.13388614356517792, -1.526738166809082, 0.4286920130252838, 0.9964507222175598, 0.25270316004753113, 0.39593589305877686, -0.07017360627651215, -0.17703217267990112, 0.14278894662857056, -0.1614827811717987, 0.6671520471572876, -0.7103075385093689, -0.1016700491309166, 0.30147090554237366, 0.24191969633102417, -0.17182661592960358, -0.4262646436691284, 0.274274617433548, -0.44936612248420715, 0.3074232041835785, -0.17749476432800293, -0.5568519830703735, -0.028195573017001152, -0.006988570559769869, -0.946009635925293, 0.8616894483566284, 0.47142478823661804, -0.6428820490837097, 0.5056714415550232, -0.6281245946884155, -0.379780113697052, -0.14025655388832092, -0.5290386080741882, -0.2682947814464569, 0.7626459002494812, 0.3462328612804413, 0.35930028557777405, 0.015190842561423779, 0.6276929974555969, 0.28977516293525696, -0.008058191277086735, 0.36156103014945984, -0.01583295501768589, 0.8116182088851929, 0.06774543225765228, -0.0074760643765330315, -0.0600639209151268, -0.7283844351768494, -0.24134397506713867, -0.029524795711040497, -0.46527427434921265, -0.10692121833562851, 0.23320145905017853, 0.009200154803693295, -0.18948327004909515, 0.209972083568573, -0.6276716589927673, 0.39201101660728455, -0.3135228455066681, 0.7581968307495117, 0.7126244902610779, -0.04398767277598381, 0.6080310344696045, 0.0014204218750819564, 0.11755524575710297, -0.044815048575401306, 0.26286351680755615, -0.1568729281425476, -0.48869991302490234, -0.9178367853164673, 0.1573067605495453, 0.6009084582328796, 0.4567737579345703, -0.4031893014907837, 0.609982430934906, -0.3272382616996765, -0.23929236829280853, -0.8539106845855713, -0.37013429403305054, 0.06455457210540771, 0.12995462119579315, 0.19657978415489197, -0.04091901704668999, -0.5389623045921326, -1.4408961534500122, -0.37202608585357666, -0.40161243081092834, -0.3907071352005005, 0.28444185853004456, 0.7250656485557556, -0.13043344020843506, 1.3172111511230469, -0.4203540086746216, -0.14915552735328674, -0.40150365233421326, 0.24308940768241882, 0.34742459654808044, 0.1056964173913002, 0.7423303723335266, -0.6795198321342468, 0.07191894203424454, 0.13026529550552368, -0.36536407470703125, 0.3968915343284607, -0.24435390532016754, -0.10464970767498016, -0.24710415303707123, 0.23351949453353882, -0.6004594564437866, 0.18759532272815704, 0.4640187919139862, -0.22231139242649078, -0.08339263498783112, -0.187734916806221, -0.21462255716323853, -0.985983669757843, -0.22602735459804535, -0.38597479462623596, -0.25385722517967224, -0.8532857298851013, 0.05267004296183586, 0.3641481101512909, -0.07596666365861893, -0.30601373314857483, 0.052179135382175446, -0.39821258187294006, -0.27701839804649353, 0.25750359892845154, -0.18678733706474304, -0.2524825930595398, 0.7261312007904053, 0.14642885327339172, 0.6997455358505249, 0.6460127234458923, -0.2830229103565216, 0.08197395503520966, 0.5724257230758667, -0.5078100562095642, 0.13643087446689606, -0.30505380034446716, 0.18975916504859924, -0.7053963541984558, -0.045506592839956284, -0.7424728274345398, -0.5517590045928955, -0.23537810146808624, -0.5330834984779358, 0.3274565637111664, -0.31437018513679504, -0.7766095995903015, -0.41911718249320984, 0.15590615570545197, -0.27018630504608154, 0.6912088990211487, -0.44748473167419434, 0.8521620035171509, 0.7200823426246643, 0.16851872205734253, -0.43415045738220215, -1.2812796831130981, -0.03101758286356926, 0.20307184755802155, -0.5404514670372009, 0.15762633085250854, 0.6040210723876953, -0.13017256557941437, 0.40703245997428894, -0.0767972469329834, -0.5339550375938416, 0.03064076043665409, 0.20299877226352692, -0.12787558138370514, -0.45280343294143677, 0.306687593460083, -0.06300262361764908, 0.11162196844816208, 0.5945946574211121, -0.10307511687278748, 0.42011499404907227, -0.046327244490385056, -0.027921345084905624, -0.1411443054676056, 0.18348398804664612, 0.6926916837692261, -0.2998862862586975, 0.9713258147239685, 0.23872441053390503, -0.4973333775997162, -0.22739148139953613, -0.5174366235733032, -0.12233597040176392, -0.46706852316856384, 0.17749276757240295, -0.40936505794525146, -0.8104177713394165, 0.6080061197280884, 0.22864046692848206, 0.031260982155799866, 0.5018464922904968, 0.33084648847579956, 0.20036081969738007, 0.5077465772628784, 0.9181053042411804, -0.5027762651443481, 0.5687263607978821, -0.32845643162727356, 0.32706308364868164, -0.40241196751594543, -0.5793600678443909, -0.7403870224952698, -0.122117780148983, -0.8016594052314758, -0.05944167450070381, 0.18446442484855652, -0.13624505698680878, -0.25935009121894836, 0.9168492555618286, -0.36249372363090515, 0.5281563401222229, 0.583514928817749, 0.15057750046253204, -0.10101494938135147, -0.08394189178943634, 0.18607482314109802, -0.009009525179862976, -0.5810338258743286, -0.5424488186836243, 0.8089859485626221, 0.5837455987930298, 0.8909804821014404, 0.11919502168893814, 0.7973342537879944, 0.23198580741882324, 0.07442101091146469, -0.77419513463974, 0.2574608623981476, -0.27933135628700256, -0.6520738005638123, -0.07813069969415665, -0.449013888835907, -0.8824005722999573, -0.0022752208169549704, -0.13938671350479126, -0.5507729649543762, 0.3987761437892914, -0.18919101357460022, -0.15727166831493378, 0.3480706810951233, -0.9227122068405151, 0.799927294254303, -0.33054620027542114, 0.2811402678489685, -0.20507563650608063, -0.8596451282501221, 0.14948958158493042, 0.13335978984832764, 0.10070903599262238, 0.2927650213241577, 0.30493712425231934, 0.5529995560646057, -0.10394695401191711, 0.6610339283943176, 0.02311292476952076, -0.4433876872062683, 0.13913071155548096, -0.3560127019882202, 0.27940985560417175, -0.005275629926472902, -0.007440545596182346, 0.0745103657245636, -0.3283160328865051, -0.225333571434021, -0.7743132710456848, 0.2759639024734497, -1.0911555290222168, -0.45584726333618164, -0.21870511770248413, -0.58491450548172, -0.06287778913974762, 0.10371819138526917, 0.2083420753479004, 0.4480682909488678, -0.35208746790885925, 0.46755367517471313, 0.5468093156814575, -0.06576691567897797, 0.48416292667388916, 0.21016210317611694, -0.030899038538336754, -0.22707325220108032, 0.5066284537315369, 0.2772485911846161, 0.26959165930747986, 0.946164071559906, 0.0794222429394722, -0.48371005058288574, -0.09860147535800934, -0.163143590092659, 0.2194906622171402, -0.6334311962127686, -0.06099491938948631, -0.5975203514099121, -0.7968323826789856, -0.46278682351112366, 0.1596052497625351, -0.3546990156173706, -0.5357992649078369, -0.1424640566110611, -0.17810773849487305, 0.23067788779735565, 1.5031507015228271, 0.04770472273230553, 0.3624173104763031, -0.6250372529029846, 0.5116668343544006, 0.4202038049697876, 0.47514262795448303, -0.23749132454395294, -0.16810092329978943, -0.22794292867183685, -0.06492570787668228, -0.04651116952300072, -0.9586107134819031, 0.12025850266218185, 0.3079305589199066, 0.7237878441810608, 0.4829627573490143, -0.13254784047603607, 0.460539847612381, -0.6689693331718445, 0.9274623394012451, -0.23425772786140442, -1.080712914466858, 0.6582515239715576, -0.04401334002614021, 0.18521717190742493, 0.2643178701400757, 0.19997315108776093, -0.2727292478084564, -1.016315221786499, -0.822237491607666, -0.4530670940876007, 0.9037518501281738, 0.5908138155937195, 0.5626338720321655, -0.24086901545524597, 0.38705992698669434, 0.10896216332912445, 0.3783758282661438, -0.8773593306541443, -0.3317032754421234, -0.5583086609840393, -0.05392790213227272, 0.06618446111679077, -0.399791419506073, -0.0017056558281183243, -0.1800447553396225, 0.04744510352611542, 0.25112929940223694, 0.5996779203414917, 0.14125768840312958, -0.41751715540885925, -0.05148493871092796, 0.8347132205963135, 0.4403769075870514, 0.6126047372817993, -0.34770214557647705, 0.5060022473335266, -0.153024360537529, -0.5590634942054749, -0.025048498064279556, -0.026378806680440903, 0.026164859533309937, 0.23820427060127258, 0.5960108637809753, 0.9799913763999939, 0.24002370238304138, -0.09514530748128891, 0.3464578092098236, -0.03938155993819237, -0.3144254684448242, -0.36053091287612915, 0.05568395182490349, 0.014785652048885822, 0.26023298501968384, 0.6970873475074768, 0.03618280589580536, -0.12238584458827972, -1.137365460395813, 0.4937993288040161, 0.39715343713760376, -0.1804341971874237, -0.6679414510726929, 0.5861789584159851, 0.07121981680393219, -0.3735933005809784, 0.5695567727088928, 0.031497158110141754, -0.8542299270629883, 0.5609415769577026, 0.5133461356163025, 0.8491813540458679, -0.18988430500030518, 0.2774610221385956, 0.3359849452972412, 0.7861427664756775, 0.08259236067533493, 0.19324542582035065, -0.11068432778120041, -0.5579060912132263, -0.42750468850135803, -0.5858635902404785, -0.4250047206878662, 0.5269910097122192, -0.9264056086540222, 0.16594348847866058, -0.5332013368606567, -0.20637507736682892, 0.011192108504474163, -0.20128870010375977, -0.7179262638092041, -0.06680665165185928, 0.44967448711395264, 0.9310277700424194, -0.8972323536872864, 0.8895043730735779, 0.2336583286523819, -0.36965057253837585, -0.7890469431877136, 0.03205843269824982, -0.47696298360824585, -0.952365517616272, 0.8002505898475647, 0.2986695468425751, 0.17789992690086365, -0.12366464734077454, -0.39063698053359985, -0.8499457836151123, 0.6292010545730591, 0.8526996970176697, -0.6622242331504822, -0.37863385677337646, 0.7278916239738464, 0.6614584922790527, -0.2051405906677246, 0.3311102092266083, 0.8939207196235657, 0.8051341772079468, -0.4548952579498291, -0.7532241940498352, -0.3164953589439392, -0.04687408730387688, -0.12877896428108215, 0.5987091064453125, -0.39819419384002686, 0.9659295082092285, 0.1188509613275528, -0.5213869214057922, -0.2190239429473877, 0.6661919951438904, -0.9746725559234619, -0.4331498146057129, 0.31008389592170715, 0.5197421312332153, 0.580411970615387, -0.5019736289978027, 1.1492156982421875, -0.3677596151828766, 0.5096816420555115, 0.7368943095207214, 0.15047752857208252, 0.6319773197174072, 0.4951631724834442, -0.12704047560691833, 0.8115653395652771, 0.2722424864768982, -0.46087637543678284, 0.7692864537239075, 0.23529505729675293, 0.14633719623088837, -0.04196727275848389, -0.03234515339136124, -0.26385048031806946, 0.5432754755020142, 0.31385287642478943, -0.5891621112823486, -0.5148124694824219, -0.0698273703455925, -0.16376782953739166, 0.0815194845199585, -0.32684779167175293, 1.0122520923614502, -0.11277411133050919, -0.5586979985237122, 0.3953060507774353, -0.4580860435962677, 0.09638655930757523, -0.6974281668663025, -0.015032158233225346, -0.14584563672542572, 0.25150853395462036, -0.3334898054599762, -1.2234954833984375, 0.5060826539993286, 0.04898736998438835, -0.35628774762153625, -0.48331061005592346, 0.16454902291297913, -0.5374408960342407, -0.24253304302692413, 0.35718944668769836, 0.33842507004737854, 0.09501239657402039, -0.007688191719353199, -0.27497443556785583, -0.13054615259170532, -0.15647344291210175, -0.218168705701828, 0.028898993507027626, 0.6458202600479126, 0.09274730831384659, 0.29920491576194763, 0.2682594954967499, 0.036042340099811554, 0.23445959389209747, 0.3990834355354309, 1.0231220722198486, -0.7671258449554443, -0.3775649666786194, -0.7967471480369568, 0.5006004571914673, 0.02402852289378643, -0.15004517138004303, 0.5970208644866943, 0.8243847489356995, 0.9902446269989014, -0.4306102991104126, 0.7673197388648987, -0.18454645574092865, 0.23422162234783173, -0.5630199313163757, 0.8245424032211304, 0.004593157675117254, -0.19631829857826233, 0.17711099982261658, -0.9905368089675903, -0.193070650100708, 0.7380114197731018, -0.27852463722229004, -0.5394244194030762, 0.7215694785118103, 0.6183076500892639, -0.4941864311695099, -0.025967197492718697, 0.12610982358455658, 0.1164960116147995, 0.2877277433872223, 0.49692022800445557, 0.8975018262863159, -0.40898650884628296, 0.6670708656311035, -0.3449486792087555, 0.19798338413238525, 0.09430687874555588, -0.49246522784233093, -1.2599493265151978, -0.7307447791099548, 0.34021130204200745, -0.02494019642472267, -0.12448862940073013, 0.6481419205665588, 0.7084022760391235, -0.9894993305206299, -0.3429126739501953, -0.37635529041290283, 0.15672101080417633, 0.1613471657037735, -0.2514389753341675, 0.34048858284950256, -0.5195887088775635, -0.6401016712188721, 0.25763821601867676, 0.0703585296869278, -0.017453383654356003, -0.49762529134750366, 0.23842519521713257, -0.07417037338018417, 0.2868088185787201, 0.32909801602363586, -0.02871885523200035, -1.0750627517700195, -0.7229057550430298, 0.11586912721395493, -0.19732029736042023, 0.2556985914707184, 1.290043592453003, -0.7545260787010193, 0.24491992592811584, 0.5971647500991821, 0.7543851137161255, 0.5251542925834656, -0.02261696383357048, 0.6241257786750793, -1.134145975112915, 0.3860722780227661, 0.10326258093118668, 0.5194185376167297, 0.26590919494628906, -0.5478989481925964, 0.488040953874588, -0.2824914753437042, -0.48464396595954895, -0.5505087375640869, 0.5614390969276428, -0.7177587151527405, -0.011764446273446083, 0.6007120609283447, -0.05393092334270477, -0.7481359243392944, 0.06196456775069237, -0.09648213535547256, 0.23971033096313477, -0.4694351851940155, 0.6827629804611206, 0.8813756704330444, -0.020853040739893913, -0.48119091987609863, -0.31209656596183777, 0.6136630177497864, -0.08492115885019302, -0.6895710825920105, 0.1413591504096985, 0.07455434650182724, 0.056514814496040344, 0.6002255082130432, 0.057447176426649094, -0.013025064952671528, 0.06958227604627609, 0.023223325610160828, -0.09811243414878845, 0.09414369612932205, -0.32309821248054504, -0.2947003245353699, 0.2730751633644104, -0.3145352900028229, -0.17402097582817078 ]
http://arxiv.org/abs/2404.14233v1
http://arxiv.org/pdf/2404.14233v1
Detecting and Mitigating Hallucination in Large Vision Language Models via Fine-Grained AI Feedback
2024-04-22T14:46:10
2024-04-22T14:46:10
Wenyi Xiao, Ziwei Huang, Leilei Gan, Wanggui He, Haoyuan Li, Zhelun Yu, Hao Jiang, Fei Wu, Linchao Zhu
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
The rapidly developing Large Vision Language Models (LVLMs) have shown notable capabilities on a range of multi-modal tasks, but still face the hallucination phenomena where the generated texts do not align with the given contexts, significantly restricting the usages of LVLMs. Most previous work detects and mitigates hallucination at the coarse-grained level or requires expensive annotation (e.g., labeling by proprietary models or human experts). To address these issues, we propose detecting and mitigating hallucinations in LVLMs via fine-grained AI feedback. The basic idea is that we generate a small-size sentence-level hallucination annotation dataset by proprietary models, whereby we train a hallucination detection model which can perform sentence-level hallucination detection, covering primary hallucination types (i.e., object, attribute, and relationship). Then, we propose a detect-then-rewrite pipeline to automatically construct preference dataset for training hallucination mitigating model. Furthermore, we propose differentiating the severity of hallucinations, and introducing a Hallucination Severity-Aware Direct Preference Optimization (HSA-DPO) for mitigating hallucination in LVLMs by incorporating the severity of hallucinations into preference learning. Extensive experiments demonstrate the effectiveness of our method.
[ -0.4166564345359802, -0.8770444989204407, 0.6399834156036377, -0.01890966109931469, -0.2603577673435211, -0.5172669887542725, -0.3394712507724762, -0.5353151559829712, 0.49323558807373047, 0.9129002690315247, -0.4385523200035095, -0.45823511481285095, -0.3580673635005951, -0.057389240711927414, -0.18941038846969604, 0.7774423956871033, 0.1090020015835762, 0.06182951107621193, -0.34800389409065247, -0.006805972661823034, -0.5946630835533142, -0.699089765548706, -0.5987788438796997, -0.2358153760433197, 0.5394795536994934, 0.3037204146385193, 0.6462084054946899, 0.44874444603919983, 0.6613115668296814, 0.2493877410888672, 0.007219763472676277, 0.4829196631908417, -0.3904992341995239, 0.1926387995481491, 0.15104912221431732, -0.23657017946243286, -0.4647534489631653, -0.3890896439552307, 0.48343533277511597, 0.587448239326477, -0.20401471853256226, -0.011955006048083305, 0.2761017680168152, 0.8388957381248474, -0.676128625869751, 0.2151700109243393, -0.8656306266784668, 0.3834308385848999, -0.06799376755952835, -0.4069891571998596, -0.6317877769470215, -0.14382989704608917, 0.014971520751714706, -0.3185088336467743, 0.2108687311410904, 0.1797640174627304, 0.5872551202774048, 0.8540799021720886, 0.08037218451499939, -0.21753640472888947, -0.7096269130706787, 0.7960640788078308, -0.5930960774421692, 0.3888854682445526, 0.587746798992157, 0.23697370290756226, -0.14789816737174988, -0.3340035378932953, -0.5294984579086304, -0.7360373139381409, -0.12938138842582703, -0.14760637283325195, 0.06516990065574646, 0.1869775652885437, 0.28884613513946533, 0.2671065032482147, -0.4630165994167328, 0.21084187924861908, -0.28004199266433716, -0.41559547185897827, 0.5190639495849609, 0.31634217500686646, -0.026215417310595512, -0.24487051367759705, -0.18409287929534912, -0.002737869508564472, -0.3971174657344818, -0.0635417029261589, 0.16169027984142303, 0.3526208698749542, 0.2951575219631195, 0.7619057893753052, -0.2895474433898926, 0.5889620184898376, 0.003098227083683014, 0.009301015175879002, 0.38405826687812805, -0.06152316555380821, -0.35883429646492004, 0.18366415798664093, 0.6020832657814026, 0.6394137144088745, 0.37333524227142334, -0.31220096349716187, -0.48191550374031067, 0.35665813088417053, 0.4417680501937866, -0.8044089674949646, -0.3077901303768158, 0.30348414182662964, -0.6534931063652039, -0.4830177128314972, -0.21485209465026855, -0.9054004549980164, -0.9742201566696167, -0.4828242063522339, 0.5414496064186096, -0.3235786259174347, -0.05307510867714882, 0.4053531885147095, 0.13853494822978973, 0.21219466626644135, 0.4387378990650177, -1.0502313375473022, 0.055496346205472946, 0.5005940198898315, 0.8040869832038879, -0.35510513186454773, -0.4863932132720947, -0.9901790022850037, 0.023107528686523438, -0.1665520966053009, 0.8936402797698975, -0.5806295871734619, -0.061445098370313644, 0.04024003446102142, 0.004170894622802734, 0.10026871412992477, -0.7934505939483643, 0.41360142827033997, 0.05794667452573776, -0.06112204119563103, -0.05825551599264145, -0.3937661051750183, 0.03492344170808792, 0.33445367217063904, -0.5645216703414917, 0.7878965139389038, -0.09319040924310684, -0.6958600282669067, 0.3719385862350464, -0.2547927796840668, -0.30822640657424927, 0.062392011284828186, -0.32165032625198364, -0.5785714387893677, 0.39053305983543396, 0.3613392412662506, 0.5576968193054199, 0.0011247341753914952, 0.4537450969219208, -0.37154388427734375, -0.4470917284488678, -0.04893400892615318, -0.5371208786964417, 0.26421982049942017, -0.022422706708312035, -0.6441549062728882, 0.6464537382125854, -0.8320029973983765, -0.3099716603755951, 0.0031988187693059444, 0.028118183836340904, -0.37370389699935913, 0.3169174790382385, 0.09554784744977951, 0.02048620954155922, 0.11250832676887512, -0.19609549641609192, 0.3387472927570343, -0.31458979845046997, 0.16953471302986145, 0.9531434178352356, -0.14742277562618256, 0.32012733817100525, -0.21813105046749115, 0.1916768103837967, 0.10053743422031403, 0.47402071952819824, 0.1599821299314499, -0.37591320276260376, -1.0533647537231445, -0.1687246710062027, -0.31824058294296265, 0.2909851670265198, -0.8164198994636536, 0.7473355531692505, -0.0585673563182354, -0.1959313303232193, -0.5307633876800537, 0.019541433081030846, 0.3059639036655426, 0.4905136525630951, 0.5317683219909668, -0.3232499659061432, -0.4321988523006439, -0.9911190867424011, 0.12152861058712006, -0.12541812658309937, -0.0305348951369524, 0.426615834236145, 0.5079306960105896, -0.4942207932472229, 0.6554375886917114, -0.6275265216827393, -0.9675495028495789, -0.0923185795545578, -0.13304854929447174, -0.40043050050735474, 0.3544585406780243, 0.4862411916255951, -0.7800125479698181, -0.04514985904097557, 0.09123869985342026, -0.6997865438461304, -0.13800092041492462, -0.25042322278022766, 0.08740651607513428, 0.5598782300949097, 0.6135240793228149, -0.4117843508720398, 0.6045975685119629, 0.3696126639842987, -0.44620949029922485, 0.6621791124343872, -0.2326284945011139, 0.049953509122133255, -0.7857465147972107, -0.08173355460166931, -0.14006122946739197, -0.05137941613793373, -0.4300867021083832, -0.0203432384878397, -0.31511345505714417, 0.2068512737751007, -0.417116641998291, 0.38124358654022217, -0.09409581124782562, -0.1326168328523636, -0.3682306706905365, 0.048798635601997375, -0.13016360998153687, 0.6030381917953491, 0.3913396894931793, 0.46628695726394653, 0.6280193328857422, -0.5344631671905518, 0.46082767844200134, 0.18450480699539185, -0.24776946008205414, 0.31514307856559753, -0.36338528990745544, 0.0560343898832798, -0.24349084496498108, 0.16191034018993378, -0.6433793902397156, -0.2310844212770462, 0.5098986029624939, -0.31764647364616394, -0.14512872695922852, 0.030297888442873955, -0.32748380303382874, -0.1818406581878662, -0.49547433853149414, 0.17443719506263733, 0.246748685836792, -0.5909786224365234, 0.7016826868057251, 0.3440247178077698, 0.2775786817073822, -0.4520108699798584, -0.6700202822685242, 0.09541279077529907, -0.11575770378112793, -0.45158377289772034, 0.12122027575969696, -0.3098776936531067, -0.21464352309703827, -0.1048993319272995, -0.021241294220089912, 0.10347823053598404, 0.11683940887451172, 0.37875109910964966, 0.19804979860782623, -0.16901549696922302, 0.2026340812444687, -0.22627763450145721, -0.16882139444351196, 0.042748503386974335, -0.36206531524658203, 0.9937950968742371, -0.34269675612449646, -0.3595336377620697, -0.5700650811195374, 0.34627652168273926, 0.7115117311477661, -0.29294082522392273, 0.7043052911758423, 0.8193270564079285, -0.5999162197113037, -0.22800777852535248, -0.547622561454773, -0.6689223647117615, -0.4182766377925873, 0.46997174620628357, -0.37889060378074646, -0.8127989172935486, 0.4502566456794739, 0.339103102684021, -0.20433677732944489, 0.3146555721759796, 0.8063490390777588, 0.1970207840204239, 1.0357635021209717, 0.4760371148586273, -0.20402055978775024, 0.3990333378314972, -0.14398957788944244, 0.3722556531429291, -0.7319689393043518, -0.30743682384490967, -0.33253276348114014, -0.3015752136707306, -0.41380593180656433, -0.33661535382270813, 0.11724303662776947, -0.13964514434337616, -0.02440064214169979, -0.02836393378674984, -0.8700847029685974, 0.6096336841583252, 0.7055442929267883, 0.3170630633831024, 0.20650307834148407, 0.19746451079845428, 0.2286442667245865, -0.06508522480726242, -0.2870340347290039, -0.4447442591190338, 0.7270363569259644, 0.3089672923088074, 0.8608718514442444, -0.2450319230556488, 0.8050054311752319, 0.4088203012943268, -0.13237601518630981, -1.1511590480804443, 0.6795963048934937, -0.3209330439567566, -0.055800847709178925, -0.5089405179023743, -0.3772348165512085, -0.5823115706443787, 0.18915201723575592, -0.3233844041824341, -0.9829120635986328, 0.2033105492591858, 0.31192082166671753, -0.4741441309452057, 0.4275233745574951, -0.4804944694042206, 0.9059434533119202, -0.1280045509338379, -0.4246779978275299, -0.21279282867908478, -0.4698319733142853, 0.27863696217536926, 0.0469905249774456, -0.13661344349384308, 0.0508858747780323, 0.38500794768333435, 0.551629900932312, -0.17099902033805847, 1.114354133605957, -0.2989973723888397, -0.3247239887714386, 0.06871657073497772, 0.1532246172428131, 0.5621832013130188, 0.1240757405757904, 0.1797167956829071, 0.10313960164785385, -0.1735190749168396, -0.12859953939914703, -0.41154032945632935, 0.7155622243881226, -0.5381831526756287, -0.629278302192688, -0.35580265522003174, -0.7303817868232727, -0.08466406166553497, 0.009784475900232792, 0.35643482208251953, 0.41507816314697266, 0.13514165580272675, 0.29028740525245667, 0.7089333534240723, -0.19146087765693665, 0.25774118304252625, 0.04415241628885269, -0.6054257750511169, -0.30591052770614624, 1.1612305641174316, -0.07078946381807327, 0.08707170188426971, 0.2062634974718094, 0.37789058685302734, -0.022004351019859314, -0.8391989469528198, -0.35421276092529297, -0.023981455713510513, -0.6335558891296387, -0.1453292965888977, -0.7170341610908508, -0.2474549561738968, -0.5230840444564819, -0.23362676799297333, -0.48581966757774353, -0.138738214969635, -0.34624722599983215, 0.1567506641149521, 0.2723217308521271, 0.5124549865722656, 0.14394545555114746, 0.022555146366357803, -0.6463898420333862, 0.634351372718811, 0.2877891957759857, 0.4171693027019501, 0.1731349378824234, -0.4001106023788452, -0.07056491076946259, -0.021117424592375755, -0.07571087777614594, -0.3421172499656677, 0.5602642893791199, 0.007339028641581535, 0.24341340363025665, 0.6004818677902222, 0.21926669776439667, 0.6194803714752197, -0.4845259487628937, 0.9067246317863464, 0.09112589061260223, -0.9074608087539673, 0.6673011183738708, 0.07361670583486557, -0.03227977454662323, 0.492406964302063, -0.09993574023246765, -0.4502963423728943, -0.5590871572494507, -0.14189231395721436, -0.8364854454994202, 0.5539858937263489, 0.18592184782028198, 0.08958825469017029, 0.09227392822504044, 0.28801336884498596, 0.22188887000083923, 0.21374772489070892, -0.9042097926139832, -0.00975226704031229, -0.17535066604614258, -0.16816025972366333, 0.011026807129383087, -0.3283599317073822, -0.1279410868883133, -0.405408650636673, 0.5367371439933777, -0.3101481795310974, 0.08536744117736816, 0.2726396322250366, -0.1671573370695114, -0.08405110239982605, 0.016780754551291466, 0.8355356454849243, 0.3188101649284363, -0.46292486786842346, 0.26088446378707886, -0.1261247992515564, -0.708711564540863, -0.14366929233074188, -0.07807563245296478, -0.4491002857685089, -0.029384315013885498, 0.3438422977924347, 1.098355770111084, -0.2325122356414795, -0.7223389744758606, 0.46597036719322205, -0.09538957476615906, -0.18092791736125946, -0.4250873327255249, 0.13538259267807007, -0.2935837209224701, 0.34939146041870117, 0.11595915257930756, 0.202055424451828, 0.3057084381580353, -0.4116716682910919, 0.2591041326522827, 0.5301555395126343, -0.6334240436553955, -0.11535952985286713, 0.6392368078231812, 0.14025439321994781, -0.4464348256587982, 0.5470579862594604, -0.14960159361362457, -0.6049662232398987, 0.5841410160064697, 0.388271689414978, 1.0701359510421753, -0.15488554537296295, 0.2296476513147354, 0.1382785588502884, 0.5245506763458252, -0.20691891014575958, 0.131818950176239, -0.016996271908283234, -0.8181058764457703, -0.11839555948972702, -0.7974599003791809, -0.29894328117370605, 0.40292245149612427, -0.6379871368408203, 0.4022892117500305, -0.21635028719902039, 0.0762883722782135, 0.10058088600635529, -0.22121471166610718, -0.3671583831310272, 0.14444135129451752, 0.5159501433372498, 0.34784623980522156, -0.8241106867790222, 0.8918003439903259, 0.2923356294631958, -0.5503681898117065, -0.356749564409256, 0.46560484170913696, -0.13485956192016602, -0.7069056034088135, 0.5745879411697388, 0.6363359689712524, -0.3533872067928314, -0.12228238582611084, -0.5134261250495911, -0.347375750541687, 0.7821473479270935, 0.24063214659690857, -0.7248969078063965, -0.028685545548796654, 0.15770520269870758, 0.5100178122520447, -0.45630839467048645, -0.22823241353034973, 0.7032508850097656, 0.48041653633117676, 0.04304042458534241, -0.8020848035812378, -0.011917656287550926, -0.02923980914056301, -0.08710259199142456, 0.24313586950302124, -0.49605363607406616, 0.5351043343544006, -0.30250707268714905, 0.1341240555047989, 0.03247060999274254, 0.5348770022392273, 0.10332369804382324, 0.6234169602394104, 0.7462618947029114, 0.5768172740936279, 0.7496113777160645, 0.10648120194673538, 0.8427107930183411, -0.0959615558385849, 0.2428954690694809, 1.1726288795471191, -0.48926112055778503, 0.9768950343132019, 0.8624258637428284, 0.22319521009922028, 0.08902672678232193, 0.5045967102050781, -0.19388419389724731, 0.6577376127243042, 0.3178943991661072, -0.12537716329097748, -0.4156198501586914, -0.35260337591171265, -0.4146747887134552, 0.549314022064209, 0.22386674582958221, -0.3434559404850006, 0.23916982114315033, 0.4533230662345886, -0.3482951521873474, 0.012733363546431065, -0.4768489897251129, 0.8536909222602844, -0.06250530481338501, -0.6748755574226379, 0.7588602900505066, -0.49480578303337097, 0.8279763460159302, -0.25420117378234863, -0.09403197467327118, -0.3547726273536682, 0.4279153645038605, -0.31355416774749756, -0.5671394467353821, 0.45063701272010803, -0.09639783948659897, -0.3677544891834259, 0.1698460578918457, 0.6490344405174255, -0.5749961733818054, -0.46101394295692444, 0.5199269652366638, 0.10766175389289856, 0.23003742098808289, -0.4173453152179718, -0.20391052961349487, 0.2750990390777588, 0.1414574533700943, -0.13733112812042236, 0.27225297689437866, 0.2402353435754776, -0.1842462122440338, 0.6432804465293884, 0.46962806582450867, 0.2053777128458023, -0.05801324546337128, 0.505144476890564, 0.8537916541099548, -0.5523961186408997, -0.3015008270740509, -0.9766063094139099, 0.19948126375675201, -0.1338999718427658, -0.17668969929218292, 0.40753239393234253, 0.40937933325767517, 0.7621418237686157, -0.4014248549938202, 0.6047488451004028, 0.1872495710849762, -0.058405812829732895, -0.8030248880386353, 0.8114131093025208, -0.7576910257339478, 0.40397909283638, -0.21391336619853973, -1.1531031131744385, -0.7048044800758362, 0.7386510968208313, -0.15223421156406403, -0.2526436150074005, 0.7445557713508606, 0.9876360297203064, 0.05277317762374878, -0.23399566113948822, 0.5744854807853699, 0.3010540008544922, 0.21226021647453308, 0.6515274047851562, 0.8199928998947144, -0.03959585726261139, 0.4899282157421112, -0.41795244812965393, -0.1512898951768875, -0.6094359159469604, -0.7815201878547668, -1.0363363027572632, -0.7468674778938293, -0.3921479880809784, -0.5480842590332031, -0.035062335431575775, 0.9105128645896912, 0.38708198070526123, -0.940796971321106, 0.0027419012039899826, -0.14675702154636383, -0.01608843356370926, -0.16363881528377533, -0.25544410943984985, 0.5896435976028442, -0.4925243854522705, -0.6610476970672607, 0.0949365422129631, 0.6098963618278503, 0.024135136976838112, -0.6455069780349731, -0.211125910282135, 0.24377210438251495, -0.03215533494949341, 0.8321832418441772, -0.1746494174003601, -1.1529613733291626, -0.6289535760879517, 0.07745996862649918, -0.20305794477462769, 0.17306692898273468, 0.7406446933746338, -0.7341814637184143, 0.48277103900909424, 0.38148558139801025, 0.6724001169204712, 0.15360236167907715, -0.4305529296398163, 0.15409566462039948, -0.5240168571472168, 0.41342872381210327, 0.3712240755558014, 0.3940380811691284, 0.3658067286014557, -0.5883370041847229, 0.4542008936405182, 0.2575004994869232, -0.5762237310409546, -0.9534096717834473, 0.2312414050102234, -1.1553629636764526, -0.32970812916755676, 1.2702231407165527, 0.29251828789711, -0.25011923909187317, -0.030635694041848183, -0.7512120604515076, -0.07305743545293808, -0.24231159687042236, 1.3847135305404663, 0.557019829750061, -0.03738696873188019, -0.037352871149778366, -0.3719240128993988, 0.7558800578117371, 0.5518010258674622, -0.9293845891952515, 0.5562751889228821, 0.7702692151069641, -0.3541637659072876, 0.2526865303516388, 0.4901640713214874, 0.22101566195487976, 0.16216935217380524, -0.11517459154129028, 0.29345813393592834, -0.002316984347999096, -0.6751728653907776, -0.4478320777416229, 0.12374062836170197, -0.03693464770913124, -0.41705402731895447 ]
http://arxiv.org/abs/2404.14219v3
http://arxiv.org/pdf/2404.14219v3
Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phone
2024-04-22T14:32:33
2024-05-23T22:42:40
Marah Abdin, Sam Ade Jacobs, Ammar Ahmad Awan, Jyoti Aneja, Ahmed Awadallah, Hany Awadalla, Nguyen Bach, Amit Bahree, Arash Bakhtiari, Jianmin Bao, Harkirat Behl, Alon Benhaim, Misha Bilenko, Johan Bjorck, Sébastien Bubeck, Qin Cai, Martin Cai, Caio César Teodoro Mendes, Weizhu Chen, Vishrav Chaudhary, Dong Chen, Dongdong Chen, Yen-Chun Chen, Yi-Ling Chen, Parul Chopra, Xiyang Dai, Allie Del Giorno, Gustavo de Rosa, Matthew Dixon, Ronen Eldan, Victor Fragoso, Dan Iter, Mei Gao, Min Gao, Jianfeng Gao, Amit Garg, Abhishek Goswami, Suriya Gunasekar, Emman Haider, Junheng Hao, Russell J. Hewett, Jamie Huynh, Mojan Javaheripi, Xin Jin, Piero Kauffmann, Nikos Karampatziakis, Dongwoo Kim, Mahoud Khademi, Lev Kurilenko, James R. Lee, Yin Tat Lee, Yuanzhi Li, Yunsheng Li, Chen Liang, Lars Liden, Ce Liu, Mengchen Liu, Weishung Liu, Eric Lin, Zeqi Lin, Chong Luo, Piyush Madan, Matt Mazzola, Arindam Mitra, Hardik Modi, Anh Nguyen, Brandon Norick, Barun Patra, Daniel Perez-Becker, Thomas Portet, Reid Pryzant, Heyang Qin, Marko Radmilac, Corby Rosset, Sambudha Roy, Olatunji Ruwase, Olli Saarikivi, Amin Saied, Adil Salim, Michael Santacroce, Shital Shah, Ning Shang, Hiteshi Sharma, Swadheen Shukla, Xia Song, Masahiro Tanaka, Andrea Tupini, Xin Wang, Lijuan Wang, Chunyu Wang, Yu Wang, Rachel Ward, Guanhua Wang, Philipp Witte, Haiping Wu, Michael Wyatt, Bin Xiao, Can Xu, Jiahang Xu, Weijian Xu, Sonali Yadav, Fan Yang, Jianwei Yang, Ziyi Yang, Yifan Yang, Donghan Yu, Lu Yuan, Chengruidong Zhang, Cyril Zhang, Jianwen Zhang, Li Lyna Zhang, Yi Zhang, Yue Zhang, Yunan Zhang, Xiren Zhou
cs.CL
cs.CL, cs.AI
We introduce phi-3-mini, a 3.8 billion parameter language model trained on 3.3 trillion tokens, whose overall performance, as measured by both academic benchmarks and internal testing, rivals that of models such as Mixtral 8x7B and GPT-3.5 (e.g., phi-3-mini achieves 69% on MMLU and 8.38 on MT-bench), despite being small enough to be deployed on a phone. The innovation lies entirely in our dataset for training, a scaled-up version of the one used for phi-2, composed of heavily filtered publicly available web data and synthetic data. The model is also further aligned for robustness, safety, and chat format. We also provide some initial parameter-scaling results with a 7B and 14B models trained for 4.8T tokens, called phi-3-small and phi-3-medium, both significantly more capable than phi-3-mini (e.g., respectively 75% and 78% on MMLU, and 8.7 and 8.9 on MT-bench). Moreover, we also introduce phi-3-vision, a 4.2 billion parameter model based on phi-3-mini with strong reasoning capabilities for image and text prompts.
[ -0.24117843806743622, -0.6769747138023376, 0.32025086879730225, 0.41227105259895325, -0.29208022356033325, -0.08101940155029297, 0.10508795827627182, -0.8979871273040771, 0.11911198496818542, 0.4385184645652771, -0.07922868430614471, -0.1297224909067154, -0.13712164759635925, -0.02732810564339161, -0.2915079593658447, 0.5702757239341736, 0.25063472986221313, 0.2459123581647873, 0.42293399572372437, -0.012046832591295242, -0.005990804173052311, -0.5733435153961182, -0.8133422136306763, -0.09068821370601654, 0.6223581433296204, 0.9928788542747498, 0.9265111088752747, 1.0322120189666748, 0.6658948063850403, 0.13536791503429413, 0.255135178565979, -0.40723514556884766, -0.22864565253257751, -0.35406845808029175, 0.30422404408454895, -0.4296897053718567, -0.8996984362602234, 0.12445972114801407, 0.48898765444755554, 0.6955693364143372, -0.07632175087928772, 0.15590853989124298, -0.023214809596538544, 0.6839742660522461, -0.42237788438796997, 0.33098697662353516, -0.7615105509757996, -0.08727393299341202, -0.6379669904708862, 0.13156621158123016, -0.2774510979652405, -0.41972604393959045, 0.39206480979919434, -0.6115014553070068, 0.07617554813623428, 0.32337215542793274, 0.6961696743965149, -0.14623446762561798, -0.5439021587371826, -0.18596255779266357, -0.9120208024978638, 0.6720631718635559, -0.7960274815559387, 0.529089093208313, 0.6986515522003174, 0.6754334568977356, 0.261563241481781, -0.9533639550209045, -0.864362895488739, -0.3005342483520508, 0.48500776290893555, -0.23482723534107208, -0.2404686063528061, 0.04997650161385536, 0.2043662965297699, 0.6487737894058228, -0.4791484475135803, 0.10004676133394241, -0.5638296604156494, -0.4182717800140381, 0.33107149600982666, 0.1342211663722992, 0.294337660074234, -0.09285341203212738, 0.11892567574977875, 0.30256178975105286, -0.8775696158409119, 0.10972785949707031, 0.24829928576946259, 0.5748134851455688, -0.38338783383369446, 0.5848978757858276, -0.6036337614059448, 0.8302586674690247, -0.0636889785528183, -0.30614930391311646, 0.3014698028564453, -0.39532387256622314, -0.12302878499031067, -0.042729493230581284, 0.9777337908744812, 0.47684887051582336, 0.09671282768249512, 0.11104243993759155, -0.018472986295819283, -0.17010939121246338, -0.017960313707590103, -0.8498587608337402, -0.358286052942276, 0.1259823590517044, -0.6799350380897522, -0.32857462763786316, -0.3070394992828369, -0.7464073896408081, -0.7787640690803528, 0.1443765014410019, 0.18402539193630219, -0.5086792707443237, -0.3620085120201111, 0.2085643857717514, 0.5392374396324158, 0.37628012895584106, 0.21806807816028595, -1.4809383153915405, 0.4590030610561371, 0.3610427975654602, 1.1024818420410156, -0.1340324431657791, -0.41907742619514465, -0.51903235912323, 0.03132522106170654, -0.218487948179245, 0.7182140350341797, -0.4484004080295563, -0.4475741386413574, -0.012064404785633087, -0.34387969970703125, -0.10543086379766464, -0.5978315472602844, 0.8848286867141724, -0.2560129463672638, 0.2550910711288452, -0.1510753333568573, -0.31165823340415955, -0.24511735141277313, -0.04618045315146446, -0.9770664572715759, 1.1568326950073242, 0.18691635131835938, -1.0122445821762085, 0.37394285202026367, -0.7441637516021729, -0.4267238676548004, 0.17351187765598297, 0.0068245236761868, -0.36349308490753174, 0.0157054141163826, 0.2980487644672394, 0.4942568838596344, -0.5872525572776794, -0.28636279702186584, -0.809396505355835, -0.7147388458251953, -0.06389941275119781, -0.238956019282341, 0.8628544211387634, 0.308925062417984, -0.7018750905990601, 0.050359707325696945, -1.0043280124664307, -0.0006203752127476037, -0.025858242064714432, -0.34902656078338623, 0.017071262001991272, -0.24612239003181458, 0.0061467792838811874, 0.31619980931282043, 0.34543970227241516, -0.756986141204834, -0.011765697970986366, -0.5742636919021606, 0.5949666500091553, 0.21467924118041992, -0.19898705184459686, 0.8130961656570435, -0.2597675621509552, 0.521276593208313, -0.06679333746433258, 0.5265234708786011, -0.22754962742328644, -0.761451244354248, -0.8988499641418457, -0.4242255687713623, 0.34274032711982727, 0.6319140791893005, -0.5967531800270081, 0.041162654757499695, -0.5108404755592346, -0.8428324460983276, -0.29303476214408875, 0.12733635306358337, 0.0913514643907547, 0.6121099591255188, 0.13492700457572937, 0.15476718544960022, -0.4580592215061188, -1.151892900466919, -0.19508560001850128, -0.5243197679519653, -0.1223798543214798, 0.2713063657283783, 0.3898090124130249, -0.1427667886018753, 0.9535295963287354, -0.0661831870675087, -0.0987601950764656, -0.6648916006088257, -0.10685666650533676, 0.033079031854867935, 0.6244266629219055, 0.5253762006759644, -0.634224534034729, -0.672614336013794, 0.22988122701644897, -0.7019973397254944, 0.0973232090473175, 0.1227598562836647, 0.31633689999580383, 0.09371798485517502, 0.3330516815185547, -0.6201502084732056, 0.23776891827583313, 0.6461133360862732, -0.1131756603717804, 0.24059262871742249, -0.11674526333808899, -0.07936332374811172, -1.2341781854629517, 0.097939632833004, 0.25123822689056396, -0.19576339423656464, -0.6588886380195618, -0.085293710231781, 0.49355804920196533, -0.5834488272666931, -0.7379846572875977, 0.795695424079895, -0.15158461034297943, -0.2933279871940613, -0.211028054356575, -0.013921498320996761, -0.2559487223625183, 0.5195093750953674, -0.26112502813339233, 0.8736060857772827, 0.8700853586196899, -0.775720477104187, 0.6513531804084778, -0.3023330271244049, -0.4962587356567383, 0.4388396739959717, -0.7787314057350159, 0.17233379185199738, 0.6813986897468567, 0.2468269169330597, -0.5024611949920654, -0.6372360587120056, 0.42945465445518494, -0.30017566680908203, -0.3093721866607666, -0.05533650889992714, -0.8845032453536987, -0.5617497563362122, -0.45129549503326416, 0.6392328143119812, 0.39093902707099915, -0.4326111674308777, 0.9048622846603394, 0.6159642934799194, -0.3275422751903534, 0.07136523723602295, -0.6553804874420166, 0.0361713208258152, -0.6292485594749451, -0.744480311870575, 0.1974160373210907, 0.14664191007614136, -0.15423379838466644, -0.4527173638343811, -0.034167323261499405, -0.3785761296749115, -0.02365228906273842, 0.4674217998981476, 0.17631974816322327, -0.21826370060443878, -0.20341384410858154, -0.3015584945678711, -0.19262252748012543, -0.058320507407188416, -0.35394009947776794, 0.43147674202919006, -0.6130734086036682, -0.3252723515033722, -1.0549514293670654, 0.060681771486997604, 0.8311275839805603, -0.21264833211898804, 0.42269307374954224, 0.48300960659980774, -0.7833258509635925, 0.34564682841300964, -0.5275054574012756, -0.0388542078435421, -0.5549556612968445, 0.1067456305027008, -0.576322615146637, -0.8173305988311768, 0.7861364483833313, -0.03663288429379463, 0.09218370914459229, 0.19409282505512238, 0.47358155250549316, -0.07015623152256012, 1.4185404777526855, 0.9455143213272095, -0.19743111729621887, 0.6081793308258057, 0.01986047998070717, 0.36134573817253113, -0.5893679857254028, -0.3588528335094452, -0.6908838152885437, -0.008933408185839653, -0.5522703528404236, -0.376090943813324, 0.3754732012748718, 0.4258084297180176, -0.37409183382987976, 0.3535727262496948, 0.061615124344825745, 0.4050231873989105, 0.7784704566001892, 0.09024719148874283, 0.24064518511295319, 0.17767299711704254, -0.2423553466796875, -0.24140478670597076, -0.6448125243186951, -0.6700400114059448, 1.3715275526046753, 0.7976613640785217, 0.5636039972305298, 0.19348356127738953, 0.4012894928455353, -0.026413261890411377, 0.16983354091644287, -0.733588457107544, 0.6617854237556458, 0.28425171971321106, -0.6228781342506409, -0.2480907440185547, -0.4514184892177582, -0.7198946475982666, 0.010950716212391853, 0.14549441635608673, -1.1341160535812378, -0.07762309908866882, 0.3158654272556305, -0.8236547112464905, 0.3459412455558777, -0.9177771806716919, 0.8822742104530334, -0.15140321850776672, -0.2024827003479004, -0.12149792164564133, -0.3797464966773987, 0.5540534257888794, -0.31921085715293884, 0.386187881231308, -0.23688851296901703, -0.10428755730390549, 0.7474282383918762, -0.4378126859664917, 0.7582340836524963, -0.26283469796180725, -0.17483827471733093, 0.27193525433540344, 0.17843526601791382, 0.4379582405090332, 0.20889684557914734, -0.42046666145324707, -0.003965437412261963, -0.054395634680986404, -0.649189293384552, -0.6970013380050659, 0.7122204899787903, -0.6853449940681458, -0.19878175854682922, -0.26175522804260254, -0.40061914920806885, -0.6205762028694153, 0.5306368470191956, 0.445945680141449, 0.7652004361152649, 0.06415962427854538, 0.38495299220085144, 0.5084693431854248, -0.24961186945438385, 0.6252602338790894, 0.5037634372711182, -0.7115129232406616, -0.36782145500183105, 1.172281265258789, -0.008637317456305027, 0.0024937246926128864, 0.2233228236436844, 0.3390294909477234, -0.39435866475105286, -0.7153344750404358, -0.7081709504127502, 0.11054815351963043, -0.5026010870933533, -0.10432858020067215, -0.6600670218467712, -0.03933866322040558, -0.33887049555778503, 0.03182351216673851, -0.8210347294807434, -0.7243154644966125, -0.03224676474928856, -0.06149987131357193, 0.1284605860710144, 0.7989339828491211, -0.1356094777584076, 0.7001895904541016, -0.7699985504150391, 0.32655060291290283, 0.5154963135719299, 0.6631637811660767, -0.24438422918319702, -0.6534765362739563, -0.67524254322052, 0.2693653106689453, -0.24762745201587677, -0.7398521304130554, 0.028659682720899582, 0.2589859366416931, 0.32258766889572144, 0.545396089553833, -0.1163325086236, 0.4539624750614166, -0.2927659749984741, 1.069580078125, 0.23541828989982605, -1.1250108480453491, 0.612254798412323, -1.068847894668579, 0.3686407208442688, 0.4868657886981964, 0.12171606719493866, -0.2332516312599182, -0.3156520426273346, -0.7146865725517273, -0.43103909492492676, 0.6453976035118103, 0.3752012550830841, 0.38823121786117554, 0.1341513842344284, 0.49989932775497437, -0.09670928865671158, -0.14325110614299774, -0.9810128211975098, -0.1621747612953186, -0.3355432450771332, -0.1250150501728058, 0.43748632073402405, -0.4230884909629822, 0.2990095615386963, -0.4668082594871521, 0.4349847137928009, -0.16753731667995453, 0.2649734318256378, -0.29918619990348816, 0.1424686759710312, 0.07801097631454468, -0.1448332965373993, 0.6904593110084534, 0.7860925197601318, -0.25304755568504333, 0.0871104821562767, 0.286511093378067, -0.7478755116462708, -0.19130368530750275, 0.24448934197425842, -0.05598815158009529, -0.07665520906448364, 0.35598137974739075, 0.6103786826133728, 0.5050802230834961, -0.5427801609039307, 0.5033994317054749, -0.3929046392440796, -0.06954333186149597, -0.13562650978565216, -0.16998066008090973, -0.03728971630334854, 0.04819941893219948, 0.4440250098705292, 0.11045323312282562, 0.2227478325366974, -0.5118089914321899, 0.15093523263931274, 0.056204378604888916, -0.589889645576477, -0.4197772741317749, 0.7913784980773926, 0.6420813798904419, -0.252166211605072, 0.6409459710121155, -0.2747427821159363, -0.4571591913700104, 0.218523308634758, 0.49796977639198303, 0.4938660264015198, -0.3546160161495209, 0.3520895540714264, 0.40377357602119446, 0.3384254276752472, -0.3046124279499054, 0.5506697297096252, 0.1788763850927353, -0.6386129856109619, -0.06830058246850967, -0.30881521105766296, -0.5667749643325806, 0.3314231038093567, -0.5383028388023376, 0.33076322078704834, -0.7196736335754395, -0.24244660139083862, 0.06308242678642273, 0.3189760446548462, -0.505083441734314, 0.17775140702724457, 0.0821666419506073, 1.2554714679718018, -0.31037822365760803, 1.4497337341308594, 0.595797598361969, -0.2425941675901413, -1.3297538757324219, 0.08488740026950836, 0.12814107537269592, -0.5970221161842346, 0.4259568750858307, 0.2890188992023468, -0.301540344953537, 0.1761653870344162, -0.27901336550712585, -0.8420871496200562, 1.103069543838501, 0.7792331576347351, -0.38816139101982117, 0.005721877794712782, 0.3127875328063965, 0.31030210852622986, -0.4450377821922302, 0.15630418062210083, 0.6291788816452026, 0.07636048644781113, -0.15733003616333008, -1.7028075456619263, -0.30412307381629944, -0.5731656551361084, 0.02637658640742302, -0.2746623158454895, -0.6890296936035156, 0.8461342453956604, -0.314041405916214, -0.17871268093585968, 0.264558345079422, 0.6932418346405029, 0.29954779148101807, 0.19026944041252136, 0.478239506483078, 0.15399481356143951, 0.9069984555244446, -0.002941292244940996, 1.2531787157058716, -0.7046222686767578, 0.05939435958862305, 1.1134461164474487, -0.4581625461578369, 1.1517088413238525, 0.2976316511631012, 0.09906212985515594, 0.41914102435112, 0.8706274032592773, 0.3792770206928253, 0.5416296124458313, -0.026403337717056274, -0.46366387605667114, -0.03964205086231232, -0.16378942131996155, -0.5299980640411377, 0.6276383996009827, 0.2686815857887268, -0.07075565308332443, 0.05608513578772545, 0.20717410743236542, 0.042615488171577454, -0.17569150030612946, -0.3915809988975525, 0.3463646173477173, 0.011784004978835583, -0.28136682510375977, 0.4191868007183075, 0.45791158080101013, 0.5137647390365601, -0.4401731491088867, 0.28236135840415955, -0.5808559656143188, 0.3339836001396179, -0.0713544562458992, -0.4124731123447418, 0.2260296791791916, 0.06548690795898438, 0.12626144289970398, -0.026741070672869682, 0.5756694674491882, 0.1482289731502533, -0.6723764538764954, -0.06286297738552094, 0.4313378632068634, -0.023762257769703865, -0.31693124771118164, -0.6780796051025391, 0.45856133103370667, -0.07461807131767273, -0.13722899556159973, 0.1982160061597824, 0.6243149638175964, -0.003927592188119888, 1.1853201389312744, 0.3923926055431366, 0.1759723573923111, 0.4108533561229706, 0.1517346352338791, 0.7967200875282288, -0.5852380394935608, -0.7860320806503296, -0.687702476978302, 0.3067026436328888, -0.27849969267845154, -0.5080607533454895, 0.9413955211639404, 1.086837887763977, 0.813430905342102, 0.21220436692237854, 0.8078566789627075, 0.08112859725952148, 0.6888194680213928, -0.28120872378349304, 0.45438480377197266, -0.2612619698047638, 0.5215595364570618, -0.20760740339756012, -0.9612249732017517, -0.41873612999916077, 0.7731143832206726, -0.4473239779472351, 0.09908431023359299, 0.6827911138534546, 0.7371115684509277, -0.33681610226631165, 0.689571738243103, 0.21740375459194183, -0.16818203032016754, 0.31548872590065, 0.5003023743629456, 0.7342748641967773, -0.6492673754692078, 0.9834347367286682, -0.627111554145813, -0.35478639602661133, -0.16486844420433044, -0.5814603567123413, -0.9757774472236633, -0.6739211082458496, -0.20658990740776062, -0.20780633389949799, -0.21210823953151703, 0.7551245093345642, 1.1481295824050903, -0.6142144203186035, -0.49164828658103943, -0.2882564663887024, -0.17551541328430176, 0.013154629617929459, -0.11451473832130432, 0.17550112307071686, 0.09175273776054382, -0.6252836585044861, 0.4674353301525116, 0.38828131556510925, 0.3399982154369354, -0.3168853521347046, -0.32624995708465576, 0.284458726644516, -0.11262412369251251, 0.46696746349334717, 0.5001310706138611, -0.7405122518539429, -0.30008387565612793, -0.03271195665001869, -0.5170630812644958, -0.18956108391284943, 1.2503013610839844, -0.6114956140518188, 0.29457733035087585, 0.24467962980270386, 0.4589662551879883, 0.30663901567459106, -0.34063515067100525, 1.0293724536895752, -0.39874130487442017, 0.43299025297164917, 0.20813938975334167, 0.5096787810325623, 0.5304405689239502, -0.05886608362197876, 0.45859360694885254, 0.08900001645088196, -0.3773370087146759, -0.8628602027893066, 0.3688349425792694, -0.9438991546630859, 0.2231372743844986, 1.1240839958190918, -0.1875046193599701, 0.15352003276348114, -0.44969114661216736, -0.28919339179992676, 0.07495326548814774, -0.29961898922920227, 0.7887863516807556, 0.46959424018859863, -0.27693626284599304, -0.6358798146247864, -0.9869049787521362, 0.7642673254013062, 0.24908721446990967, -0.9792079925537109, 0.1271362006664276, 0.27967971563339233, 0.23129844665527344, -0.07030991464853287, 1.2418335676193237, -0.2542150318622589, 0.5356853604316711, 0.2720703184604645, -0.32765600085258484, -0.042514968663454056, -0.345450758934021, -0.3032177984714508, 0.20085260272026062, 0.3452508747577667, -0.2466271072626114 ]
http://arxiv.org/abs/2404.14215v1
http://arxiv.org/pdf/2404.14215v1
Text-Tuple-Table: Towards Information Integration in Text-to-Table Generation via Global Tuple Extraction
2024-04-22T14:31:28
2024-04-22T14:31:28
Zheye Deng, Chunkit Chan, Weiqi Wang, Yuxi Sun, Wei Fan, Tianshi Zheng, Yauwai Yim, Yangqiu Song
cs.CL
cs.CL
The task of condensing large chunks of textual information into concise and structured tables has gained attention recently due to the emergence of Large Language Models (LLMs) and their potential benefit for downstream tasks, such as text summarization and text mining. Previous approaches often generate tables that directly replicate information from the text, limiting their applicability in broader contexts, as text-to-table generation in real-life scenarios necessitates information extraction, reasoning, and integration. However, there is a lack of both datasets and methodologies towards this task. In this paper, we introduce LiveSum, a new benchmark dataset created for generating summary tables of competitions based on real-time commentary texts. We evaluate the performances of state-of-the-art LLMs on this task in both fine-tuning and zero-shot settings, and additionally propose a novel pipeline called $T^3$(Text-Tuple-Table) to improve their performances. Extensive experimental results demonstrate that LLMs still struggle with this task even after fine-tuning, while our approach can offer substantial performance gains without explicit training. Further analyses demonstrate that our method exhibits strong generalization abilities, surpassing previous approaches on several other text-to-table datasets. Our code and data can be found at https://github.com/HKUST-KnowComp/LiveSum-TTT.
[ -0.18736262619495392, -0.8281383514404297, 0.558864951133728, 0.08802110701799393, -0.5791505575180054, 0.1632198989391327, -0.28632113337516785, -0.602214515209198, 0.2074805200099945, 0.4112192392349243, -0.21593406796455383, -0.5375352501869202, -0.6189902424812317, 0.02110643871128559, -0.5105371475219727, 1.2832591533660889, 0.01563946157693863, -0.1862204521894455, -0.12253007292747498, -0.05433802679181099, -0.4158291816711426, -0.614353358745575, -0.12160814553499222, -0.24170833826065063, 0.3826383948326111, 0.7553998231887817, 0.4108598530292511, 0.7799033522605896, 0.3457788825035095, 0.11698135733604431, 0.004107156302779913, 0.4112388789653778, -0.5822960734367371, 0.5667091608047485, 0.08954405784606934, -0.19350722432136536, -0.48792383074760437, -0.07857300341129303, 0.8693386316299438, 0.5734121203422546, -0.09237842261791229, 0.3778991103172302, 0.41514769196510315, 0.7190916538238525, -0.6155837774276733, 0.442035436630249, -0.6865280866622925, 0.4129785895347595, -0.39232712984085083, -0.28842586278915405, -0.40457937121391296, -0.6038805246353149, -0.01153278537094593, -0.41927677392959595, 0.08039557933807373, -0.10478261858224869, 0.88182133436203, 0.08160259574651718, -0.23326267302036285, -0.12647081911563873, -0.8019973039627075, 0.5662553906440735, -0.8191056251525879, 0.327324777841568, -0.10180030763149261, 0.23932179808616638, -0.3289768099784851, -0.799635112285614, -0.38583922386169434, -0.1364181935787201, -0.17835502326488495, 0.21878986060619354, 0.07885100692510605, -0.25447365641593933, 0.1411893367767334, 0.38325628638267517, -0.47235631942749023, -0.35535258054733276, -0.24089916050434113, 0.2824752926826477, 0.584555447101593, 0.04786631092429161, 0.12196057289838791, -0.16820259392261505, 0.031818464398384094, 0.254439115524292, -0.7015287280082703, -0.40987780690193176, 0.061401549726724625, 0.5864565372467041, -0.412080317735672, 0.8445041179656982, -0.3889109492301941, 0.7619056105613708, -0.3456357717514038, -0.031884271651506424, -0.009090824984014034, -0.3534385859966278, -0.10312531143426895, -0.007742358837276697, 0.9962925314903259, 0.2729962468147278, 0.7470915913581848, -0.6548258662223816, 0.030525919049978256, 0.13905192911624908, 0.035978153347969055, -0.7664873600006104, -0.10529810935258865, 0.09218034148216248, -0.11224623769521713, -0.6356186270713806, 0.1857234239578247, -1.0865180492401123, -0.40299367904663086, -0.13476990163326263, 0.380018413066864, -0.1659785360097885, -0.06690722703933716, -0.09712274372577667, -0.1824028491973877, 0.18071748316287994, 0.09902415424585342, -0.5481176972389221, 0.41910213232040405, 0.7156093120574951, 1.1537755727767944, -0.6099360585212708, -0.14775462448596954, -1.1715900897979736, 0.5701999664306641, -0.07924862951040268, 1.126366376876831, -0.4603320062160492, -0.5478661060333252, 0.23365160822868347, -0.31643447279930115, 0.205962136387825, -0.49629315733909607, 0.38830408453941345, -0.22040630877017975, 0.24420534074306488, -0.26188722252845764, -0.5612044930458069, 0.3608309030532837, 0.3469364643096924, -0.6430587768554688, 1.3621472120285034, -0.19711269438266754, -0.7651118040084839, 0.30286872386932373, -0.6296708583831787, -0.8631231784820557, 0.06694157421588898, -0.5651689767837524, -0.8685473203659058, 0.12808898091316223, 0.15917275846004486, 0.8233458995819092, -0.406960129737854, 0.5088821649551392, -0.40702322125434875, -0.2692916691303253, 0.0741797685623169, -0.08148914575576782, 0.363617479801178, 0.20312200486660004, -0.3654436767101288, -0.1868262141942978, -1.025097131729126, -0.047261349856853485, 0.16107478737831116, -0.5829809904098511, 0.14865507185459137, 0.4553764760494232, 0.015003811568021774, 0.054008256644010544, -0.15594014525413513, -0.40573495626449585, 0.39494141936302185, -0.2055758535861969, 0.5915340781211853, 0.1991245299577713, 0.3659575879573822, 0.44644248485565186, -0.5661001801490784, 0.27900105714797974, -0.08775913715362549, -0.26029860973358154, -0.026075715199112892, -0.37258803844451904, -0.7730140089988708, 0.02459879033267498, 0.5676343441009521, 0.5300606489181519, -0.5540909171104431, 0.43567055463790894, -0.7088884115219116, -0.7320621609687805, 0.18709678947925568, -0.10244446992874146, 0.20488512516021729, 0.6075359582901001, 0.26043701171875, 0.007115162443369627, -0.6113536953926086, -0.6076598763465881, -0.6647401452064514, 0.014520364813506603, -0.10872799903154373, -0.05789388343691826, 0.4047645628452301, 0.18255595862865448, 0.8848910331726074, -0.5571921467781067, -0.4398837685585022, -0.6569093465805054, 0.20000578463077545, 0.13416893780231476, 0.5463746786117554, 0.3648318648338318, -0.41033226251602173, -0.6653860211372375, 0.04585995152592659, -0.806526780128479, -0.32359954714775085, -0.0568866990506649, -0.223822221159935, 0.2180318981409073, 0.6453965306282043, -0.2733893394470215, 0.4875554144382477, 0.3696819543838501, -0.24621456861495972, 0.5470863580703735, 0.012819812633097172, 0.09449898451566696, -1.2161401510238647, 0.36090371012687683, 0.09060866385698318, -0.5482842922210693, -0.569473385810852, -0.1459144949913025, -0.01795976795256138, -0.12696918845176697, -0.3550322651863098, 0.7275770902633667, -0.6010000109672546, -0.30411356687545776, 0.13454501330852509, 0.5506904125213623, 0.1265164613723755, 0.5286933183670044, 0.24626657366752625, 0.8142416477203369, -0.024474546313285828, -0.8720949292182922, 0.05557132139801979, 0.2753228545188904, -0.49971237778663635, 0.36926543712615967, -0.4710000455379486, -0.012055279687047005, 0.12395261228084564, 0.10236217826604843, -0.922042727470398, -0.4407586455345154, 0.22186823189258575, -0.4707380533218384, 0.1685163527727127, -0.14801770448684692, -0.5088488459587097, 0.15214870870113373, -0.5051460862159729, 0.1520962119102478, 0.27979281544685364, -0.24579720199108124, 0.8371641039848328, 0.8474467396736145, -0.22575631737709045, -0.602847695350647, -0.8150683045387268, 0.14196720719337463, -0.26545968651771545, -0.3392958343029022, 0.6111246943473816, 0.07275836169719696, -0.2711835503578186, -0.12205561995506287, -0.055506642907857895, 0.10973041504621506, 0.09828857332468033, 0.08193597942590714, 0.16806598007678986, 0.15790916979312897, 0.1503448635339737, 0.08539651334285736, -0.055568769574165344, -0.17599710822105408, -0.06433092057704926, 0.5557023286819458, 0.08161457628011703, 0.17841772735118866, -0.3299312889575958, 0.39572787284851074, 0.302467405796051, -0.1916305273771286, 0.5967296361923218, 0.07750347256660461, -0.5034613013267517, -0.3167586624622345, -0.596900224685669, 0.16343699395656586, -0.34785372018814087, 0.40096747875213623, -0.4082472026348114, -0.5841804146766663, 0.6928485631942749, 0.04250070080161095, 0.6520634293556213, 0.5245521068572998, 0.7002595067024231, -0.27262789011001587, 0.8689605593681335, 0.5226910710334778, -0.03460503742098808, 0.6785122752189636, -0.22750547528266907, -0.09364648163318634, -0.5726933479309082, -0.26269418001174927, -0.852975070476532, -0.26525455713272095, -0.43513140082359314, -0.08821512013673782, 0.499470591545105, -0.27479416131973267, -0.3220842480659485, 0.2288465052843094, -0.32087787985801697, 0.6286244988441467, 0.3504715859889984, -0.0037431700620800257, 0.7297449111938477, 0.17835761606693268, -0.07559704780578613, -0.09621543437242508, -0.899228036403656, -0.5012147426605225, 0.9698032140731812, 0.009800199419260025, 0.7114680409431458, 0.002816525287926197, 0.54811692237854, 0.6180388927459717, 0.504708468914032, -0.8016541004180908, 0.6112100481987, -0.20366734266281128, -0.398686945438385, -0.20402321219444275, -0.47037026286125183, -0.7440899610519409, 0.16347560286521912, -0.6026973724365234, -0.7219708561897278, -0.30218857526779175, 0.23421674966812134, -0.3474598526954651, 0.41033580899238586, -0.560271143913269, 0.7457818388938904, -0.08443790674209595, -0.7065498232841492, 0.3127146363258362, -0.5965461134910583, 0.3478260934352875, -0.12408037483692169, 0.49897897243499756, -0.11012694984674454, 0.09003493189811707, 1.0126622915267944, -0.7089914679527283, 0.5867549777030945, -0.013999073766171932, -0.07536827772855759, 0.29973483085632324, 0.2822791039943695, 0.7251161336898804, 0.27457988262176514, -0.16511604189872742, 0.0362539067864418, 0.13119128346443176, -0.21580421924591064, -0.35723039507865906, 0.5633846521377563, -0.5240627527236938, -0.1219118982553482, -0.6329730153083801, -0.4073302447795868, -0.7227095365524292, 0.20357616245746613, 0.46223095059394836, 0.6398998498916626, -0.22913171350955963, 0.3537815809249878, 0.28548315167427063, -0.06101532280445099, 0.43604063987731934, 0.21022580564022064, -0.24238160252571106, -0.5837549567222595, 0.7415580153465271, 0.3798366189002991, 0.08055073767900467, 0.4685926139354706, 0.08930835872888565, -0.20428071916103363, -0.48179519176483154, -0.33572107553482056, 0.38635769486427307, -0.3781069815158844, -0.6217019557952881, -0.7528848648071289, -0.28410688042640686, -0.3815397024154663, -0.03430020064115524, -0.30462995171546936, -0.7409608364105225, -0.2409452646970749, -0.09632086008787155, 0.18514332175254822, 0.8086680173873901, -0.06990325450897217, 0.5995662212371826, -1.170536756515503, 0.4014829993247986, 0.15809737145900726, 0.510353684425354, -0.021631646901369095, -0.5545759201049805, -0.4367716610431671, -0.3293655514717102, -0.2294764667749405, -1.0488659143447876, 0.4380987584590912, 0.39649930596351624, 0.3597838878631592, -0.09576507657766342, 0.017081305384635925, 0.689910352230072, -0.6558641791343689, 0.7580795884132385, -0.11975175142288208, -0.9011104106903076, 0.36693307757377625, -0.35794365406036377, 0.3643820881843567, 0.786132276058197, -0.047624621540308, -0.8900119066238403, -0.4769207239151001, -0.5638325214385986, -0.6938576102256775, 0.6773601770401001, 0.3112117350101471, -0.19097404181957245, 0.19120362401008606, 0.5412307977676392, 0.18936607241630554, 0.2503412961959839, -0.9930394291877747, -0.08539064973592758, 0.17753559350967407, -0.3349086046218872, 0.20896455645561218, -0.327668160200119, 0.16292297840118408, 0.017438581213355064, 0.976732075214386, -0.0315043106675148, 0.15345293283462524, 0.009722204878926277, -0.2568831145763397, -0.1391506791114807, 0.23158898949623108, 0.32329079508781433, 0.5661628842353821, -0.29242733120918274, 0.17917178571224213, 0.2592054307460785, -0.5619343519210815, -0.15926621854305267, 0.21600095927715302, -0.29275286197662354, 0.16888736188411713, 0.4357430934906006, 0.31374070048332214, 0.24135611951351166, -0.6086074709892273, 0.3957194685935974, -0.32945701479911804, -0.3366106152534485, -0.2804994285106659, 0.07025231420993805, -0.04894912987947464, 0.10848134011030197, 0.35446691513061523, -0.42628851532936096, 0.09668580442667007, -0.5409253835678101, 0.32391753792762756, 0.3633289933204651, -0.41222476959228516, -0.2950831949710846, 0.9155054688453674, 0.299112468957901, -0.35686391592025757, 0.3004835844039917, 0.05252543091773987, -0.36685609817504883, 0.2519659399986267, 0.3658243715763092, 0.6784414649009705, 0.22911223769187927, 0.13617660105228424, 0.4407363831996918, -0.06483659148216248, -0.1654142439365387, 0.4674880802631378, -0.3098221719264984, -0.6188151836395264, -0.6140674352645874, -0.46918848156929016, -0.588921844959259, 0.5142881870269775, -0.4076075255870819, 0.5743322372436523, -0.19693388044834137, -0.048406053334474564, 0.14720560610294342, 0.1525970995426178, -0.3969794511795044, 0.027813881635665894, 0.19699177145957947, 0.9727439880371094, -0.7815477848052979, 0.7411686182022095, 0.41373908519744873, -0.31863126158714294, -0.5211883187294006, 0.00390799343585968, -0.16490322351455688, -0.27963975071907043, -0.005105148069560528, 0.1056981086730957, 0.03384331986308098, 0.01580660790205002, -0.6760271787643433, -0.5906748175621033, 0.7331823706626892, 0.44093459844589233, -0.5698246955871582, -0.3614387512207031, 0.5334885120391846, 0.22266973555088043, -0.22474423050880432, 0.045662280172109604, 0.9085264801979065, 0.41972312331199646, -0.04232539236545563, -0.5761474967002869, -0.21435557305812836, -0.3199980556964874, -0.3076888620853424, 0.3402903378009796, -0.6241254210472107, 0.4055764377117157, 0.10382470488548279, -0.43993550539016724, 0.010739692486822605, 0.8703224658966064, 0.5347549915313721, 0.030897311866283417, 0.3070363700389862, 0.3405446410179138, 0.3689267337322235, -0.2829305827617645, 0.6977820992469788, -0.3865832984447479, 0.3763273060321808, 1.4167425632476807, -0.21880517899990082, 0.8104387521743774, 0.4247148931026459, -0.11639682948589325, 0.3420601487159729, 0.3755279779434204, 0.1874675750732422, 0.37005674839019775, 0.1128966435790062, -0.163854718208313, -0.2954750657081604, 0.04631728306412697, -0.34978437423706055, 0.33438920974731445, 0.40497472882270813, -0.04512147605419159, -0.6280447840690613, -0.34370821714401245, 0.4127149283885956, 0.2579643130302429, 0.051241204142570496, 0.9986157417297363, -0.07513610273599625, -0.8444119691848755, 0.23013587296009064, -0.1578710675239563, 0.5008572340011597, -0.5341587662696838, -0.2725783586502075, -0.43404287099838257, 0.05937280133366585, -0.12385798245668411, -0.782871663570404, 0.27196043729782104, 0.47647207975387573, 0.2137184739112854, 0.03902628645300865, 0.6254578828811646, -0.39834800362586975, -0.44793063402175903, -0.03209769353270531, 0.739844560623169, 0.19038477540016174, -0.045584388077259064, -0.3885248005390167, 0.1551908403635025, -0.0840970128774643, -0.4076370298862457, 0.133948415517807, 0.513313353061676, 0.07098416984081268, 0.32607609033584595, 0.264371782541275, 0.3426850140094757, -0.029793070629239082, 0.07202279567718506, 0.8245626091957092, -0.8374765515327454, -0.6352980136871338, -1.0139193534851074, 0.6151900291442871, -0.3307690918445587, -0.24771267175674438, 0.37170174717903137, 1.1670851707458496, 0.5794607996940613, 0.007665240205824375, 1.1770472526550293, -0.21806509792804718, 0.8725365400314331, -0.41540732979774475, 0.7155237793922424, -0.6342617273330688, 0.25273221731185913, -0.29224634170532227, -1.0921790599822998, -0.7445882558822632, 0.3232763707637787, -0.13876332342624664, -0.269308477640152, 0.4052641987800598, 0.4030218720436096, -0.09701688587665558, -0.06800458580255508, 0.12641823291778564, 0.15507102012634277, 0.6653039455413818, 0.41966453194618225, 0.6716891527175903, -0.5848863124847412, 0.923346996307373, -0.07851477712392807, -0.07055453211069107, -0.2597309947013855, -1.2792226076126099, -0.7166305780410767, -0.6472430229187012, -0.14053203165531158, -0.6072733998298645, 0.2181565761566162, 0.9557294845581055, 0.4164535701274872, -0.8658164739608765, -0.4301907420158386, -0.2265215814113617, -0.08426636457443237, 0.03006083518266678, -0.18462015688419342, 0.4689747989177704, -0.44634243845939636, -0.8303648233413696, 0.03509904444217682, 0.2824103534221649, 0.05136087164282799, -0.08755169808864594, 0.19574233889579773, -0.31397372484207153, 0.07325868308544159, 0.6148537397384644, 0.42095422744750977, -0.027597960084676743, -0.2985280752182007, -0.21570032835006714, 0.024977542459964752, 0.49835366010665894, 0.6847588419914246, -1.005757451057434, 0.1862475723028183, 0.6762362122535706, 0.6580030918121338, 0.9361186623573303, 0.08854221552610397, 0.7018570899963379, -0.857398509979248, 0.07722669094800949, 0.17847204208374023, 0.3526286780834198, 0.23320268094539642, -0.1326671689748764, 1.0181382894515991, 0.20042750239372253, -0.587515115737915, -1.018373727798462, 0.06388814002275467, -1.0319724082946777, -0.047248709946870804, 1.3036787509918213, 0.25580742955207825, -0.31136032938957214, -0.05610765144228935, -0.19018016755580902, 0.7321798801422119, -0.4495168626308441, 1.035651445388794, 0.6710662245750427, -0.14919036626815796, 0.12674497067928314, -0.594257116317749, 0.7247506976127625, 0.1461358219385147, -1.3273226022720337, 0.5203189253807068, 0.5394721031188965, 0.0963909924030304, -0.11138809472322464, 0.5918200612068176, -0.3387090861797333, 0.13861697912216187, -0.36537033319473267, -0.01039308775216341, 0.0749828889966011, -0.277041494846344, -0.016306720674037933, 0.3943959176540375, -0.09628540277481079, 0.008718352764844894 ]
http://arxiv.org/abs/2404.14209v1
http://arxiv.org/pdf/2404.14209v1
EnzChemRED, a rich enzyme chemistry relation extraction dataset
2024-04-22T14:18:34
2024-04-22T14:18:34
Po-Ting Lai, Elisabeth Coudert, Lucila Aimo, Kristian Axelsen, Lionel Breuza, Edouard de Castro, Marc Feuermann, Anne Morgat, Lucille Pourcel, Ivo Pedruzzi, Sylvain Poux, Nicole Redaschi, Catherine Rivoire, Anastasia Sveshnikova, Chih-Hsuan Wei, Robert Leaman, Ling Luo, Zhiyong Lu, Alan Bridge
cs.CL
cs.CL
Expert curation is essential to capture knowledge of enzyme functions from the scientific literature in FAIR open knowledgebases but cannot keep pace with the rate of new discoveries and new publications. In this work we present EnzChemRED, for Enzyme Chemistry Relation Extraction Dataset, a new training and benchmarking dataset to support the development of Natural Language Processing (NLP) methods such as (large) language models that can assist enzyme curation. EnzChemRED consists of 1,210 expert curated PubMed abstracts in which enzymes and the chemical reactions they catalyze are annotated using identifiers from the UniProt Knowledgebase (UniProtKB) and the ontology of Chemical Entities of Biological Interest (ChEBI). We show that fine-tuning pre-trained language models with EnzChemRED can significantly boost their ability to identify mentions of proteins and chemicals in text (Named Entity Recognition, or NER) and to extract the chemical conversions in which they participate (Relation Extraction, or RE), with average F1 score of 86.30% for NER, 86.66% for RE for chemical conversion pairs, and 83.79% for RE for chemical conversion pairs and linked enzymes. We combine the best performing methods after fine-tuning using EnzChemRED to create an end-to-end pipeline for knowledge extraction from text and apply this to abstracts at PubMed scale to create a draft map of enzyme functions in literature to guide curation efforts in UniProtKB and the reaction knowledgebase Rhea. The EnzChemRED corpus is freely available at https://ftp.expasy.org/databases/rhea/nlp/.
[ -0.42914652824401855, -0.4761524796485901, 0.6303048133850098, -0.19815054535865784, 0.01441335678100586, 0.08916987478733063, -0.3215574026107788, -0.5234041213989258, 0.32783904671669006, 0.7815867066383362, -0.5987980961799622, -0.5307012796401978, -0.7008705139160156, 0.6755024194717407, -0.12264680862426758, 1.075173258781433, -0.18101318180561066, 0.28724730014801025, -0.31476882100105286, 0.18361219763755798, 0.34679993987083435, -0.08711570501327515, -0.4936148524284363, -0.5875150561332703, 0.536919116973877, 0.4513189494609833, 0.31265053153038025, 0.566398024559021, 0.8156529664993286, 0.216399148106575, 0.1599711924791336, 0.3593582510948181, -0.29059889912605286, 0.43641966581344604, -0.5188284516334534, -0.180841326713562, -0.5134039521217346, 0.21564479172229767, 0.1783819943666458, 0.7635143399238586, 0.0389404222369194, 0.3436447083950043, 0.04752064868807793, 0.9770042300224304, -0.7696419954299927, 0.4274538457393646, -0.565886378288269, 0.11942176520824432, -0.32864126563072205, -0.1253807693719864, -0.291770339012146, -0.3602551817893982, 0.06291225552558899, -0.49444547295570374, 0.35626062750816345, 0.13290220499038696, 0.9518742561340332, 0.33603474497795105, -0.38224461674690247, -0.17281991243362427, -0.4378872215747833, 0.5153400897979736, -0.5162644386291504, 0.5536788105964661, 0.3868720531463623, 0.45803362131118774, -0.6093567609786987, -0.9644949436187744, -0.6470313668251038, 0.02568730339407921, 0.04537367820739746, 0.1368042528629303, 0.09128772467374802, 0.17458531260490417, 0.24474377930164337, 0.59553062915802, -0.3273499011993408, -0.2206742912530899, -0.40261390805244446, -0.2568443715572357, 0.39251551032066345, 0.19515757262706757, 0.3376099765300751, -0.10092167556285858, -0.2478569746017456, -0.025964340195059776, -0.5864275097846985, -0.021478265523910522, 0.26969558000564575, 0.37079983949661255, 0.37852224707603455, 0.5885103940963745, -0.5335763096809387, 0.4793510138988495, 0.07309676706790924, 0.36661139130592346, 0.3824547231197357, -0.3832329213619232, -0.12448123097419739, 0.27857905626296997, 0.734071671962738, 0.2223186045885086, 0.28357404470443726, -0.5127995610237122, 0.013041084632277489, 0.14390014111995697, 0.22704501450061798, -1.2178089618682861, -0.7316083312034607, 0.3127692639827728, -0.15541592240333557, 0.04161911457777023, 0.17001821100711823, -0.9654455780982971, -0.38636770844459534, -0.0884462371468544, 0.2335738241672516, -0.18962623178958893, -0.1554265320301056, 0.40072691440582275, -0.5801428556442261, 0.1460370570421219, 0.047659981995821, -0.759861409664154, 0.6796838045120239, 0.5011884570121765, 0.42124465107917786, -0.49824240803718567, -0.03936868533492088, -0.7364850640296936, 0.3276762068271637, 0.014496013522148132, 0.8593553304672241, -0.7482201457023621, 0.343865305185318, -0.22503991425037384, 0.2741377055644989, -0.18980391323566437, -0.7685036659240723, 0.5725765824317932, -0.4935750961303711, -0.03495107591152191, -0.3457278609275818, -0.6179745197296143, -0.08642863482236862, 0.01217623520642519, -1.0492621660232544, 0.8846075534820557, 0.22982904314994812, -0.7740185856819153, 0.3238505423069, -0.6929110288619995, -0.3529452681541443, 0.24603521823883057, -0.08287867903709412, -0.16881690919399261, -0.02744428627192974, 0.22759300470352173, 0.28236687183380127, -0.5789933204650879, 0.2582853138446808, -0.33386456966400146, 0.19151441752910614, 0.3003966510295868, 0.35447418689727783, 0.57952880859375, 0.3031497299671173, -0.08576600253582001, -0.07072053849697113, -1.0222114324569702, 0.2040715515613556, -0.29788070917129517, -0.4495275914669037, -0.25119709968566895, -0.0030090606305748224, 0.09011906385421753, 0.48063597083091736, 0.13998836278915405, -1.0138976573944092, -0.11518897116184235, -0.6001488566398621, 0.5345272421836853, 0.3404066860675812, 0.6413139700889587, 0.23129451274871826, 0.11262454837560654, 0.24235230684280396, -0.14363588392734528, -0.0835300087928772, 0.2180301696062088, -0.47534430027008057, -0.8766720294952393, -0.2733277380466461, 0.49513617157936096, 0.2555087208747864, -0.5907274484634399, 0.5698952078819275, -0.27723801136016846, -0.44979482889175415, -0.8971803784370422, 0.4706255793571472, 0.4377323389053345, 0.6704432368278503, 0.6236966848373413, -0.4783971905708313, -0.5477981567382812, -1.00322687625885, -0.656907320022583, 0.0848594605922699, -0.17358025908470154, -0.164790078997612, 0.6837635040283203, -0.32981687784194946, 0.9978837966918945, -0.5600101947784424, -0.5009410381317139, -0.18625681102275848, -0.009448220953345299, 0.309247225522995, 0.26675888895988464, 0.1003163754940033, -0.4510827958583832, -0.6689902544021606, 0.1821078509092331, -0.5667932629585266, -0.3396153450012207, 0.5019623637199402, -0.7382614612579346, -0.15316297113895416, 0.4851366877555847, -0.7575719356536865, -0.01675243116915226, 0.15237541496753693, -0.3571590483188629, 0.2179732471704483, 0.23884490132331848, 0.13709717988967896, -0.9098345637321472, 0.5187541246414185, 0.08094550669193268, -0.24660220742225647, -0.6429985165596008, 0.17750658094882965, 0.03365243971347809, -0.028025155887007713, -0.44036203622817993, 0.4327537715435028, -0.5575292110443115, 0.23394817113876343, -0.11687206476926804, 0.04654238000512123, 0.35113877058029175, 0.4562222361564636, 0.26143261790275574, 0.11268573999404907, 0.3899216055870056, -0.4919414520263672, 0.3159860372543335, 0.47484150528907776, -0.18969406187534332, 0.14388038218021393, -0.5047386288642883, 0.010174990631639957, 0.14554020762443542, 0.02990175224840641, -0.9482833743095398, -0.37770897150039673, 0.33973169326782227, -0.4058306813240051, 0.3061455488204956, -0.19626514613628387, -0.63555508852005, -0.14318124949932098, -0.2622539699077606, -0.21811449527740479, 0.2792757749557495, -0.4189727306365967, 0.6919265389442444, 0.6320135593414307, -0.20595496892929077, -0.2573778033256531, -0.30853116512298584, -0.20227792859077454, 0.05410107225179672, -0.33648577332496643, 0.1274680644273758, 0.040336161851882935, -0.0452575646340847, 0.11243598908185959, -0.5557668209075928, -0.21435712277889252, -0.12971681356430054, 0.2693474292755127, -0.030824515968561172, 0.18094706535339355, 0.21376122534275055, 0.09326670318841934, -0.30156657099723816, 0.39061933755874634, 0.2746710777282715, 0.3737848699092865, 0.07954937219619751, 0.13664138317108154, 0.002936928765848279, 0.09936301410198212, 0.42123037576675415, -0.4773690104484558, 0.6129027009010315, 0.6057575941085815, -0.48269298672676086, -0.15605905652046204, -0.27470433712005615, -0.546230137348175, -0.4479125738143921, 0.46593937277793884, -0.20430608093738556, -0.6899346709251404, 0.5200036764144897, -0.38057005405426025, 0.07659252732992172, 0.7070087194442749, 0.22022949159145355, 0.0863499864935875, 0.649077296257019, 0.6057734489440918, -0.06760834902524948, -0.10183602571487427, -0.056507840752601624, 0.3629295527935028, -0.9763154983520508, -0.4764338433742523, -0.856377363204956, -0.26008978486061096, -0.22519908845424652, -0.4442461431026459, 0.1876527965068817, -0.11836947500705719, -0.44046592712402344, 0.36473551392555237, -0.24184150993824005, 0.44908633828163147, 0.12943513691425323, 0.3143771290779114, 0.47170644998550415, 0.4604853689670563, -0.14666302502155304, -0.2101096212863922, -0.5661045908927917, -0.3034188449382782, 1.1773813962936401, 0.28426703810691833, 0.696825385093689, -0.1499215066432953, 0.6285271048545837, 0.09055599570274353, 0.3949105441570282, -0.5718483328819275, 0.5170126557350159, 0.07991576939821243, -0.5901908874511719, -0.22666142880916595, -0.5137231349945068, -0.7186282873153687, 0.01511986181139946, -0.5155321359634399, -0.508246898651123, 0.14354142546653748, -0.09345986694097519, 0.06795989722013474, 0.05963750183582306, -0.41110759973526, 0.8044785261154175, 0.05393477529287338, -0.5165520906448364, 0.06035662442445755, -0.8014799952507019, 0.020765015855431557, -0.19698479771614075, -0.006453588139265776, -0.19232241809368134, 0.11560197919607162, 1.0155085325241089, -0.497423380613327, 0.5051953792572021, 0.1262899786233902, 0.04353366792201996, 0.2054925560951233, 0.18918651342391968, 0.3556666970252991, -0.23433728516101837, -0.2382589876651764, 0.20826774835586548, -0.21998052299022675, -0.035544052720069885, -0.5039092302322388, 0.6125611662864685, -0.45999711751937866, -0.34767577052116394, -0.3235242962837219, -0.1895182728767395, -0.329211950302124, 0.5138023495674133, 0.23464088141918182, 0.15205447375774384, -0.014418442733585835, 0.19757841527462006, 0.758928656578064, 0.1272367238998413, 0.33837878704071045, 0.7776204347610474, 0.009702859446406364, -0.46917641162872314, 0.6507546901702881, -0.2320280224084854, 0.0887976661324501, 0.5433939695358276, -0.1521381288766861, -0.32400625944137573, -0.18782712519168854, -0.2694002091884613, 0.17808178067207336, -0.8198595643043518, -0.4335593283176422, -0.9602674245834351, -0.2799361050128937, -0.45859330892562866, 0.13470914959907532, -0.522816002368927, -0.46272987127304077, -0.04256683588027954, -0.441737562417984, 0.6849325895309448, 0.22361963987350464, 0.13152070343494415, -0.17339439690113068, -0.7987982630729675, 0.4630597233772278, -0.08457630127668381, 0.49053317308425903, -0.2140990048646927, -0.20988497138023376, -0.3021092712879181, -0.2721045911312103, -0.19077201187610626, -1.1476662158966064, 0.4960736632347107, 0.7136907577514648, 0.9388771057128906, 0.16179729998111725, 0.26221486926078796, 0.4015882611274719, -0.37560322880744934, 0.34838587045669556, -0.018766017630696297, -0.546159029006958, 0.5905677676200867, -0.048031117767095566, 0.1507558822631836, 1.0258475542068481, 0.8532102108001709, -0.42751815915107727, -0.5682862997055054, -0.4130997657775879, -1.1463711261749268, 0.4888596534729004, 0.2939617931842804, -0.4036365747451782, -0.20166203379631042, 0.32689255475997925, 0.36262598633766174, 0.23785801231861115, -0.546673059463501, -0.338306725025177, 0.32298746705055237, -0.48664677143096924, 0.027719145640730858, 0.02033926174044609, -0.16225364804267883, -0.47257140278816223, 0.9885596036911011, -0.07724461704492569, -0.0459916852414608, 0.2750154435634613, -0.3754272162914276, -0.4249970614910126, 0.25750020146369934, -0.5379906892776489, 0.42269542813301086, -0.4045608937740326, 0.3696590065956116, -0.2120603322982788, -0.7229062914848328, -0.2855968773365021, 0.29831939935684204, 0.07959725707769394, -0.13745225965976715, 0.1840054839849472, 0.21091561019420624, 0.11082345992326736, -0.9528248310089111, 0.1219753623008728, 0.00025767707847990096, -0.11599179357290268, 0.16083799302577972, 0.28771379590034485, 0.17606061697006226, 0.26332157850265503, 0.26861944794654846, 0.051089413464069366, 0.6490594744682312, -0.25645342469215393, 0.3987247943878174, 0.2896837890148163, -0.4014403820037842, -0.13541802763938904, 0.6487786769866943, 0.38766270875930786, 0.14948128163814545, 0.8633907437324524, -0.07389452308416367, -0.4807063937187195, 0.46461713314056396, 0.46700602769851685, 0.8697664737701416, -0.09831497073173523, 0.1582040637731552, 0.6534377336502075, 0.26502928137779236, -0.01741623692214489, 0.2871190309524536, -0.2212235927581787, -0.6901002526283264, 0.03716472536325455, -1.1210685968399048, -0.35312390327453613, 0.20318786799907684, -0.6814907789230347, 0.19871516525745392, -0.12615694105625153, -0.17077793180942535, 0.48708340525627136, 0.445035845041275, -0.7244133353233337, -0.1575288623571396, -0.33179816603660583, 0.7452548742294312, -1.2354555130004883, 0.5495451092720032, 0.9641949534416199, -0.4209744930267334, -0.42859479784965515, -0.23417752981185913, -0.31410208344459534, -0.05113813653588295, 0.626552164554596, 0.23403599858283997, -0.12234774231910706, 0.08221592009067535, -0.54901522397995, -0.7364510297775269, 0.7051997184753418, 0.3785557150840759, -0.34484773874282837, 0.40492889285087585, 0.2141287475824356, 0.8147900104522705, -0.44402387738227844, 0.20591193437576294, 0.8172352910041809, 0.6014965176582336, -0.2584329843521118, -0.7370398640632629, 0.3822360038757324, -0.9382004141807556, -0.4200494587421417, 0.38982462882995605, -0.2907848358154297, 0.8336706161499023, -0.07403632253408432, -0.22037562727928162, -0.23843523859977722, 0.3650294244289398, 0.1943676918745041, 0.2702539563179016, -0.10061898082494736, 0.5788731575012207, 0.5412135720252991, -0.016829077154397964, 0.6281344294548035, -0.24081085622310638, 0.0538969524204731, 0.9862977862358093, -0.3562792241573334, 0.8280746340751648, 0.721506655216217, -0.0314873605966568, 0.7120146155357361, 0.6341147422790527, -0.27210870385169983, 0.775092601776123, 0.07551540434360504, -0.19076266884803772, -0.45494014024734497, 0.07408398389816284, -0.19330959022045135, 0.10170221328735352, 0.5175341963768005, -0.720421552658081, -0.59783536195755, -0.2186531275510788, 0.082662433385849, 0.21787942945957184, -0.23872904479503632, 0.6705054640769958, 0.027364365756511688, -0.6985931396484375, 0.22501002252101898, -0.0895238146185875, 0.013431483879685402, -0.5133023262023926, -0.4803661108016968, -0.08734948933124542, 0.31027284264564514, -0.33882203698158264, -0.7179538607597351, -0.09555841982364655, -0.16213184595108032, -0.4146904945373535, 0.21494293212890625, 1.0646467208862305, -0.7844699621200562, -0.3814876675605774, 0.3160748779773712, 0.6400461792945862, 0.3188645541667938, -0.13833485543727875, -0.3042994737625122, -0.2566327452659607, -0.12600965797901154, -0.24270565807819366, 0.4688112437725067, 0.39450666308403015, -0.04662978649139404, 0.673432469367981, 0.6188434958457947, 0.1471836268901825, -0.128214031457901, -0.1358518749475479, 1.0622901916503906, -0.5086103081703186, -0.32648804783821106, -0.7474530339241028, 0.08334898948669434, -0.1652260273694992, -0.18740306794643402, 0.899665892124176, 0.726392388343811, 0.8317832946777344, -0.4527381956577301, 0.7019559741020203, 0.028534693643450737, 0.27754849195480347, -0.37651821970939636, 0.8382174968719482, -0.2575770318508148, -0.08668660372495651, -0.266417533159256, -1.0045069456100464, -0.23367151618003845, 0.5206847190856934, -0.09038088470697403, 0.011870955117046833, 0.8574000000953674, 0.7363505363464355, 0.11269521713256836, 0.1636085957288742, -0.35440191626548767, 0.14224094152450562, 0.2489195019006729, 0.6728337407112122, 0.1640341877937317, -0.4455934166908264, 0.0993766337633133, -0.2135087251663208, -0.020202552899718285, -0.07055015116930008, -0.8796035051345825, -0.9750550389289856, -0.4614923298358917, -0.543231725692749, -0.34028318524360657, 0.2748280167579651, 1.0289850234985352, 0.21209679543972015, -0.7566007971763611, -0.10972519963979721, -0.1433592140674591, -0.18028980493545532, -0.28581929206848145, -0.19402308762073517, 0.4337906837463379, -0.2899715304374695, -0.4524075388908386, 0.2608768343925476, 0.24719367921352386, -0.41698017716407776, 0.050461191684007645, -0.11930996924638748, -0.23844853043556213, -0.16723781824111938, 0.42858707904815674, 0.4128945767879486, -0.07645601779222488, 0.07699553668498993, -0.09850353002548218, -0.08447235822677612, 0.01350732147693634, 0.5740535855293274, -0.7616233825683594, 0.6699819564819336, 0.6774410009384155, 0.5870149731636047, 0.5695760846138, -0.1269722431898117, 0.6513410210609436, -0.6400706171989441, -0.4147098660469055, 0.09376221895217896, 0.08404447883367538, 0.37457600235939026, -0.4705948829650879, 0.7706753015518188, 0.24171249568462372, -0.3730946481227875, -0.60350501537323, -0.11810887604951859, -0.9107969403266907, -0.14429114758968353, 1.0351608991622925, -0.07113678008317947, -0.5132722854614258, -0.44169750809669495, 0.07581973820924759, 0.5255587100982666, -0.534925639629364, 0.7839522361755371, 0.6266359686851501, -0.4389817714691162, 0.015824493020772934, -0.49548205733299255, 0.8715718388557434, 0.015316028147935867, -0.9938865900039673, 0.37257352471351624, 0.4727235436439514, 0.4872797429561615, 0.12535476684570312, 0.5266249775886536, -0.48871707916259766, 0.20281846821308136, -0.15927347540855408, 0.5014875531196594, -0.2916816473007202, -0.414252907037735, 0.024362890049815178, 0.048634763807058334, -0.1367025077342987, 0.17511598765850067 ]
http://arxiv.org/abs/2404.14192v3
http://arxiv.org/pdf/2404.14192v3
Swap distance minimization beyond entropy minimization in word order variation
2024-04-22T14:01:09
2024-05-25T14:10:05
Víctor Franco-Sánchez, Arnau Martí-Llobet, Ramon Ferrer-i-Cancho
cs.CL
cs.CL, physics.soc-ph
Here we consider the problem of all the possible orders of a linguistic structure formed by $n$ elements, for instance, subject, direct object and verb ($n=3$) or subject, direct object, indirect object and verb ($n=4$). We investigate if the frequency of the $n!$ possible orders is constrained by two principles. First, entropy minimization, a principle that has been suggested to shape natural communication systems at distinct levels of organization. Second, swap distance minimization, namely a preference for word orders that require fewer swaps of adjacent elements to be produced from a source order. Here we present average swap distance, a novel score for research on swap distance minimization, and investigate the theoretical distribution of that score for any $n$: its minimum and maximum values and its expected value in die rolling experiments or when the word order frequencies are shuffled. We investigate whether entropy and average swap distance are significantly small in distinct linguistic structures with $n=3$ or $n=4$ in agreement with the corresponding minimization principles. We find strong evidence of entropy minimization and swap distance minimization with respect to a die rolling experiment. The evidence of these two forces with respect to a Polya urn process is strong for $n=4$ but weaker for $n=3$. We still find evidence of swap distance minimization when word order frequencies are shuffled, indicating that swap distance minimization effects are beyond pressure to minimize word order entropy.
[ -0.4500066041946411, -0.7579205632209778, 0.6329575181007385, 0.16365408897399902, -0.3250699043273926, -0.4751855134963989, 0.03228892385959625, -0.7619851231575012, 0.5506117343902588, 0.1698375791311264, -0.30851924419403076, -0.2022719830274582, -0.6840461492538452, 0.15338504314422607, -0.43574202060699463, 0.6453025937080383, 0.19989964365959167, -0.006596015300601721, -0.12143123149871826, -0.32400956749916077, -0.01352315116673708, -0.5006928443908691, -0.4373030960559845, -0.30793073773384094, 0.49687057733535767, 0.18583272397518158, 1.0563242435455322, 0.8815545439720154, 0.5114728212356567, 0.2799156606197357, -0.29934611916542053, -0.014076515100896358, -0.3324134349822998, 0.07760413736104965, 0.0891454815864563, -0.7698607444763184, -0.09565980732440948, 0.3631555140018463, 0.7507842779159546, 0.8109346032142639, -0.4007926285266876, -0.0005048125749453902, -0.5039312243461609, 0.8940003514289856, -0.4307456910610199, -0.2246474325656891, -0.601355254650116, -0.05586322396993637, -0.6960775852203369, -0.15778863430023193, -0.15024222433567047, -0.5701419711112976, -0.038997478783130646, -0.5771043300628662, 0.26806390285491943, 0.3267503082752228, 0.9908769130706787, 0.10359339416027069, -0.26696571707725525, -0.044237785041332245, -0.6358020305633545, 0.8128845691680908, -0.29591166973114014, 0.5056253671646118, 0.5767381191253662, 0.12757055461406708, -0.3489556908607483, -0.22972840070724487, -0.7246978282928467, -0.04882035404443741, 0.23279599845409393, 0.13607852160930634, -0.18692471086978912, 0.18032677471637726, 0.407205730676651, 0.34759417176246643, -0.3903016149997711, 0.29674631357192993, -0.46155089139938354, -0.09938008338212967, 0.5426458716392517, 0.21747063100337982, 0.2744741439819336, -0.19817155599594116, -0.42209821939468384, -0.2850908637046814, -0.6505163311958313, -0.009133812971413136, 0.818428099155426, 0.07777688652276993, 0.025004100054502487, 0.6559377312660217, -0.2163655310869217, 0.6090235114097595, -0.19147419929504395, 0.1562466025352478, 0.2998804450035095, -0.3940616548061371, -0.03608951345086098, -0.18876002728939056, 0.8281645774841309, 0.3958013951778412, -0.27284514904022217, 0.028099214658141136, -0.1990121454000473, 0.08086871355772018, 0.09947017580270767, -0.3577800691127777, -0.07308206707239151, -0.28254345059394836, -0.6873801946640015, -0.14239689707756042, 0.36360403895378113, -0.7045796513557434, -0.23988884687423706, -0.24418315291404724, 0.23963488638401031, -0.5544188618659973, -0.24470695853233337, 0.19886721670627594, -0.34715723991394043, 0.40085673332214355, 0.3117629587650299, -0.9028454422950745, 0.880085289478302, 0.8260066509246826, 1.146275281906128, -0.40070146322250366, -0.4123397171497345, -0.21154269576072693, 0.09021716564893723, -0.5864661931991577, 0.8726084232330322, -0.7267217636108398, -0.4604136347770691, -0.4835076928138733, -0.7336292266845703, -0.022370412945747375, -0.4868074655532837, 0.06819974631071091, -0.5494019985198975, 0.4045849144458771, 0.03225510194897652, -0.7987733483314514, -0.13655443489551544, -0.1662459373474121, -0.6665319800376892, 1.1025421619415283, 0.053706325590610504, -0.7392416000366211, 0.17452378571033478, -0.5110945701599121, -0.4180513620376587, -0.21926331520080566, -0.11988912522792816, 0.09438619017601013, 0.6409217715263367, -0.6472273468971252, -0.09133761376142502, -0.4207592010498047, -0.3738231658935547, -0.476982057094574, -0.3872961699962616, 0.3015093505382538, -0.5668777227401733, 0.6865235567092896, 0.3033207952976227, -0.25599905848503113, -0.2172645777463913, -0.6904249787330627, 0.23445464670658112, -0.16128651797771454, -0.48351815342903137, -0.5967162251472473, 0.06342975050210953, -0.13266782462596893, 0.1433834284543991, 0.044078242033720016, -0.3227402865886688, 0.16229142248630524, -0.5434073209762573, 0.05633125826716423, 0.9996827244758606, -0.03438699245452881, 0.8436999917030334, -0.36482852697372437, 0.3479524254798889, 0.2098471075296402, 0.3523053228855133, 0.4518395960330963, -0.7089876532554626, -0.5684912204742432, -0.0962345078587532, 0.2944371998310089, 0.44194209575653076, -0.4602132737636566, 0.2173933982849121, -0.13019081950187683, -0.14732976257801056, -0.3785983920097351, -0.05159803852438927, 0.09351889789104462, -0.04541877284646034, 0.31256064772605896, -0.2695564329624176, -0.08145125210285187, -0.9403238296508789, -0.3220508098602295, -0.45128169655799866, -0.03344300761818886, -0.024042785167694092, 0.02340615540742874, -0.1801038682460785, 0.8456358909606934, -0.8606973886489868, 0.027823658660054207, 0.02096458524465561, 0.3659425973892212, 0.43571585416793823, 0.31021299958229065, 0.4997917115688324, -0.7126187682151794, -0.2840069830417633, -0.10506373643875122, 0.053484026342630386, -0.26884257793426514, 0.13516387343406677, -0.3077993094921112, 0.5161678194999695, 0.5819931626319885, -0.9307390451431274, 0.5372723937034607, 0.2764546573162079, -0.15841135382652283, 0.31462526321411133, -0.4172617793083191, -0.3087697923183441, -1.0531333684921265, -0.385389119386673, -0.1940915435552597, -0.29563629627227783, -0.8212680220603943, -0.18214182555675507, -0.29863184690475464, 0.2581808567047119, -0.472532719373703, 0.63897705078125, -0.5096165537834167, -0.06605029851198196, -0.5876665711402893, 0.18000644445419312, -0.25019603967666626, 0.11633195728063583, -0.0025427413638681173, 0.007633542641997337, 0.41289252042770386, -0.8032994866371155, 0.2638128399848938, 0.18107660114765167, -0.5739247798919678, 0.6560193300247192, -0.240589439868927, -0.017744868993759155, -0.30764561891555786, 0.11221566051244736, -0.77406245470047, 0.17001834511756897, 0.4628363251686096, -0.30083081126213074, 0.19378916919231415, 0.2209005504846573, -0.4463256597518921, -0.1939113587141037, -0.42278119921684265, 0.4692847728729248, 0.702031135559082, -0.19842565059661865, -0.01397459302097559, 0.2707502543926239, 0.1535288393497467, -0.36500468850135803, -0.4689277708530426, -0.17439642548561096, -0.2210242599248886, -0.5483545660972595, 0.44384193420410156, -0.5066887140274048, -0.6861819624900818, -0.19605961441993713, -0.5608110427856445, -0.1660182625055313, -0.08773906528949738, 0.010045613162219524, -0.20725858211517334, 0.10311512649059296, 0.2403182089328766, -0.11613982915878296, -0.3046486973762512, 0.0503452867269516, -0.15209096670150757, 0.3625924587249756, 0.028158053755760193, -0.20528358221054077, -0.034157928079366684, 0.4205886423587799, 0.6075024008750916, 0.4183937609195709, 0.6966211795806885, 0.43232548236846924, -0.38887283205986023, -0.18315677344799042, -0.8993594646453857, -0.18155640363693237, -0.5144984126091003, 0.0843292623758316, -0.43883228302001953, -0.6827095150947571, 0.34228041768074036, 0.3071586489677429, -0.24502408504486084, 0.3617892861366272, 0.44370508193969727, -0.11969979107379913, 0.5247679352760315, 0.5899129509925842, -0.16833558678627014, 0.7735584378242493, 0.03349519520998001, 0.2679101228713989, -0.5765135884284973, 0.016169419512152672, -0.6497249603271484, -0.535997211933136, -0.8783669471740723, -0.8773881196975708, 0.27064141631126404, 0.07566011697053909, 0.019924888387322426, -0.018148336559534073, -0.07904448360204697, 0.9333828687667847, 0.7952733635902405, 0.03172537684440613, 0.03111150674521923, -0.07542561739683151, -0.37654703855514526, 0.18498684465885162, -0.7125565409660339, -0.08744575083255768, 0.3219377398490906, 0.14758576452732086, 0.9280338287353516, 0.11395466327667236, 0.9971178770065308, 0.14738374948501587, -0.22111675143241882, -0.7349748015403748, 0.787753701210022, -0.0942436158657074, -0.40082067251205444, -0.6357137560844421, -0.7744268178939819, -1.091418981552124, 0.3652607202529907, 0.0704151839017868, -0.5388346314430237, 0.17043255269527435, -0.3181028664112091, -0.09672369062900543, 0.3660930395126343, -0.6571202874183655, 0.3398545980453491, -0.07689058035612106, 0.14540037512779236, -0.3915376663208008, -0.8509086966514587, 0.2162468284368515, 0.2181011289358139, 0.3310708701610565, -0.5278068780899048, -0.2677787244319916, 0.7696492671966553, -0.7497403025627136, 0.5986276268959045, -0.033018164336681366, 0.07941041141748428, 0.2776387333869934, 0.33167019486427307, 0.3213360607624054, -0.1240990087389946, -0.2178473025560379, 0.15263241529464722, -0.010395465418696404, -0.3059462904930115, -0.39432018995285034, 0.6940618753433228, -0.8153947591781616, -0.7068737745285034, -0.5033938884735107, -0.5714181661605835, 0.01177460141479969, 0.38530483841896057, 0.4059411287307739, 0.1828814297914505, 0.0379524864256382, 0.17875269055366516, 0.39372244477272034, -0.0011363644152879715, 0.7941697239875793, 0.5798892378807068, 0.290828138589859, -0.40846964716911316, 0.8904089331626892, 0.31456315517425537, 0.327465683221817, 0.7110427618026733, 0.8186289668083191, -0.3476470708847046, -0.5988537669181824, 0.16684146225452423, 0.3480246663093567, -0.6047816276550293, -0.19233344495296478, -0.32196280360221863, -0.03277494013309479, -0.12039981782436371, -0.04861028492450714, -0.5439409017562866, -0.8021102547645569, -0.3754841685295105, -0.2114647477865219, 0.5216591358184814, 0.8110435605049133, -0.3564694821834564, 0.072219617664814, -0.7469047904014587, 0.7145642042160034, 0.11702843010425568, 0.7990766763687134, -0.13873854279518127, -0.45221495628356934, -0.1317349374294281, 0.20647503435611725, -0.34403809905052185, -0.967719316482544, 0.051105860620737076, 0.14562733471393585, 0.6941174268722534, 0.5499734878540039, 0.13701707124710083, 0.895421028137207, -0.8191834688186646, 0.7934048771858215, 0.6457244157791138, -1.0343579053878784, 0.18633399903774261, -0.394100159406662, 0.19169855117797852, 0.41918978095054626, 0.319262832403183, -0.8104417324066162, -0.6872968077659607, -0.9296904802322388, -0.8585845232009888, 0.8931648135185242, 0.49981558322906494, 0.23669253289699554, -0.4035015106201172, 0.43562933802604675, 0.2420189529657364, 0.1278437376022339, -0.7491930723190308, -0.44912081956863403, 0.015868330374360085, -0.045391496270895004, 0.2047078013420105, -0.05714361369609833, 0.11035068333148956, -0.17294445633888245, 0.47714880108833313, 0.08087636530399323, 0.45315635204315186, -0.20188316702842712, -0.008816860616207123, -0.1730998456478119, 0.04279523715376854, 1.0660183429718018, 0.6139432787895203, 0.06836918741464615, 0.20623554289340973, 0.08806094527244568, -0.5353189706802368, 0.3926939368247986, -0.2453901171684265, -0.20889359712600708, 0.11568764597177505, -0.043707240372896194, 0.8547971844673157, 0.1667390614748001, 0.059428997337818146, 0.3713335692882538, 0.03176802769303322, -0.1537436544895172, -0.018054936081171036, 0.19980593025684357, -0.053114354610443115, 0.24780194461345673, 0.11257156729698181, 0.22487640380859375, 0.008356309495866299, -0.301679402589798, 0.24126115441322327, 0.4693760871887207, 0.07998743653297424, -0.5739932656288147, 0.31850603222846985, -0.08666057139635086, -0.48309770226478577, 0.7581121325492859, -0.13653048872947693, -0.15390610694885254, 0.5534548759460449, 0.41548076272010803, 0.7904859781265259, -0.4180532395839691, 0.417706161737442, -0.010962176136672497, 0.4007040858268738, -0.6909459233283997, 0.39511364698410034, 0.029908251017332077, -0.8000977039337158, 0.14265042543411255, -0.540603756904602, -0.5639779567718506, -0.1970929503440857, -0.6303514242172241, 0.42266222834587097, -0.45016536116600037, -0.16301919519901276, -0.21145863831043243, -0.1842774748802185, -0.2675897181034088, -0.09780363738536835, 0.2677324116230011, 0.7756346464157104, -0.5674704313278198, 0.6196575164794922, 0.40574416518211365, -0.1176726445555687, -0.5613327026367188, 0.07008886337280273, -0.00833055842667818, -0.7847792506217957, 0.7379100322723389, 0.1256682127714157, -0.18860584497451782, -0.31683430075645447, -0.3862270712852478, -1.1825188398361206, 0.8477622270584106, 0.2768698036670685, 0.020994583144783974, 0.013392835855484009, 0.22479891777038574, 0.5960240364074707, -0.04338415339589119, 0.5291016101837158, 0.4053485691547394, 0.5240657329559326, 0.17863817512989044, -0.5981801152229309, -0.17919519543647766, -0.24771548807621002, 0.39486783742904663, 0.7580216526985168, -1.038633942604065, 0.629021167755127, -0.003775235265493393, -0.1808195859193802, 0.16901355981826782, 0.6230355501174927, 0.0462595634162426, 0.19856864213943481, 0.5224596261978149, 0.7177703380584717, 0.8075478076934814, -0.12885303795337677, 1.0493148565292358, -0.11553637683391571, 0.2060084193944931, 0.8091093897819519, -0.4301307499408722, 0.7165452241897583, 0.8346836566925049, -0.6217151284217834, 0.46265295147895813, 0.6082473397254944, 0.24045473337173462, 0.5022269487380981, 0.7068777680397034, -0.0338343046605587, 0.16541112959384918, 0.1304112821817398, -0.21193037927150726, 0.47885769605636597, 0.26735153794288635, 0.2327720820903778, -0.14192268252372742, 0.028989797458052635, -0.03014570288360119, -0.33820077776908875, -0.08012509346008301, 0.8027439117431641, 0.2716560363769531, -0.22952109575271606, 0.49249792098999023, 0.18800288438796997, 0.5444332957267761, -0.7177429795265198, 0.14030499756336212, -0.5261023640632629, -0.08706770092248917, 0.11576981097459793, -0.4696815013885498, 0.41701096296310425, -0.4400087594985962, -0.5143113136291504, -0.4774148464202881, 0.2686600983142853, -0.31608736515045166, -0.3431144058704376, 0.09561910480260849, 0.29111355543136597, 0.34554120898246765, 0.39142826199531555, -0.4450075924396515, -0.16126775741577148, -0.4170258343219757, -0.6929319500923157, 0.44085413217544556, 0.6718860864639282, 0.023025276139378548, 0.6238190531730652, 0.5355616807937622, 0.4759516716003418, 0.6557450890541077, -0.061951685696840286, 0.37808480858802795, -0.8427350521087646, -0.884894609451294, -0.7642245292663574, -0.151832714676857, 0.05259046331048012, -0.20654325187206268, 0.6785463690757751, 0.34658128023147583, 0.8492872714996338, -0.15576830506324768, 0.24226269125938416, -0.053592197597026825, 0.3191649615764618, -0.5963653326034546, 0.278187096118927, -0.4440656304359436, 0.14027024805545807, -0.3791077136993408, -1.2597479820251465, -0.48028919100761414, 0.6915478110313416, -0.2563115656375885, 0.09624724835157394, 1.2843565940856934, 0.7455877065658569, -0.0565904900431633, 0.03578285500407219, 0.5484029650688171, 0.09498151391744614, 0.2508033812046051, 0.20057231187820435, 0.8541516065597534, -0.30312880873680115, 0.5509169101715088, -0.41396817564964294, 0.005908305756747723, -0.06227860599756241, -0.8717106580734253, -0.49770304560661316, -0.5284146666526794, -0.45095372200012207, -0.20893752574920654, -0.3341267704963684, 0.9866424798965454, 0.47284847497940063, -0.32367515563964844, -0.5446145534515381, -0.3074009418487549, 0.6125323176383972, -0.5684118866920471, -0.34087055921554565, 0.26445329189300537, -0.26523357629776, -0.634509801864624, 0.2644234299659729, 0.35378140211105347, 0.33175796270370483, 0.38952043652534485, -0.14079932868480682, -0.2980183959007263, 0.37935325503349304, 0.529931366443634, 0.22348962724208832, -0.7873920798301697, -0.43154850602149963, 0.04922819882631302, -0.1565365046262741, 0.17185859382152557, 0.9090525507926941, -0.3091336786746979, 0.30207502841949463, 0.9508194923400879, 0.30455392599105835, 0.3205353319644928, -0.06169827654957771, 0.3825986683368683, -0.8037229180335999, 0.196106418967247, 0.10053657740354538, 0.197981059551239, -0.15372391045093536, -0.2485237419605255, 0.5158975124359131, 0.5578093528747559, -0.2835339903831482, -0.6725476384162903, 0.6155252456665039, -0.9304487705230713, -0.3043074905872345, 1.376224398612976, 0.40213847160339355, -0.2990359365940094, -0.07037769258022308, 0.11335358023643494, 0.09666089713573456, -0.28453734517097473, 0.8765244483947754, 0.8860874176025391, -0.6063336133956909, -0.10430621355772018, -0.37526819109916687, 0.5209438800811768, 0.5658308863639832, -0.7343184351921082, 0.0058504557237029076, 0.6552813053131104, 0.33105605840682983, 0.3351162075996399, 0.7190670967102051, -0.21657393872737885, 0.2956002354621887, -0.11571604758501053, -0.10942979902029037, 0.11135142296552658, -0.3337680697441101, -0.32202503085136414, -0.003938303329050541, -0.0763184130191803, -0.21026746928691864 ]