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/2403.13433v2
http://arxiv.org/pdf/2403.13433v2
AgentGroupChat: An Interactive Group Chat Simulacra For Better Eliciting Emergent Behavior
2024-03-20T09:21:32
2024-04-04T07:40:31
Zhouhong Gu, Xiaoxuan Zhu, Haoran Guo, Lin Zhang, Yin Cai, Hao Shen, Jiangjie Chen, Zheyu Ye, Yifei Dai, Yan Gao, Yao Hu, Hongwei Feng, Yanghua Xiao
cs.AI
cs.AI, cs.CL, cs.CY
Language significantly influences the formation and evolution of Human emergent behavior, which is crucial in understanding collective intelligence within human societies. Considering that the study of how language affects human behavior needs to put it into the dynamic scenarios in which it is used, we introduce AgentGroupChat in this paper, a simulation that delves into the complex role of language in shaping collective behavior through interactive debate scenarios. Central to this simulation are characters engaging in dynamic conversation interactions. To enable simulation, we introduce the Verbal Strategist Agent, utilizing large language models to enhance interaction strategies by incorporating elements of persona and action. We set four narrative scenarios based on AgentGroupChat to demonstrate the simulation's capacity to mimic complex language use in group dynamics. Evaluations focus on aligning agent behaviors with human expectations and the emergence of collective behaviors within the simulation. Results reveal that emergent behaviors materialize from a confluence of factors: a conducive environment for extensive information exchange, characters with diverse traits, high linguistic comprehension, and strategic adaptability. During discussions on ``the impact of AI on humanity'' in AgentGroupChat simulation, philosophers commonly agreed that ``AI could enhance societal welfare with judicious limitations'' and even come to a conclusion that ``the essence of true intelligence encompasses understanding the necessity to constrain self abilities''. Additionally, in the competitive domain of casting for primary roles in films in AgentGroupChat, certain actors were ready to reduce their remuneration or accept lesser roles, motivated by their deep-seated desire to contribute to the project.
[ -0.3801495432853699, -1.2171862125396729, 0.33353790640830994, 0.1669013351202011, -0.03850743919610977, 0.760184109210968, -0.12804986536502838, -0.39016035199165344, 0.5117132663726807, 0.17775994539260864, -0.5215455889701843, 0.14399148523807526, -0.3330173194408417, -0.1771457940340042, -0.11883118003606796, 0.9344225525856018, 0.32791921496391296, -0.07969586551189423, 0.019984841346740723, 0.07027693837881088, -0.36305058002471924, -0.7471528649330139, -1.1550205945968628, -0.5401644110679626, 0.5930043458938599, 0.2818530797958374, 1.0284510850906372, 0.40944239497184753, 0.17699454724788666, 0.5064792037010193, 0.1821826994419098, -0.0014809697167947888, -0.649914562702179, 0.42749789357185364, -0.1968834400177002, -0.3150091767311096, -0.2897137999534607, 0.1889043003320694, 0.7972252368927002, 0.528612494468689, -0.5041718482971191, -0.21538405120372772, -0.010807262733578682, 0.1780407577753067, 0.06644360721111298, 0.47361692786216736, -0.42020559310913086, -0.0238665621727705, 0.0021277533378452063, -0.15179918706417084, -0.11846457421779633, -0.0737607553601265, 0.18695068359375, -0.42721736431121826, -0.08114027976989746, 0.10691683739423752, 0.7279919981956482, 0.2558240294456482, -0.49193719029426575, -0.1627797931432724, -1.0541051626205444, 0.3574942946434021, -0.3243114650249481, -0.17782916128635406, 0.32087406516075134, 0.3466382920742035, -0.41074687242507935, -0.7346211671829224, -0.7630904316902161, -0.30021628737449646, 0.10344535112380981, 0.23440180718898773, -0.14614976942539215, 0.3519660532474518, 0.16068434715270996, 0.036197733134031296, -0.36835408210754395, 0.09413077682256699, -0.3904992341995239, 0.023351702839136124, 0.6567943692207336, 0.2992589771747589, 0.7723581194877625, 0.07743700593709946, -0.08675815165042877, -0.31425949931144714, -0.07399351894855499, 0.26764366030693054, 0.4664094150066376, 0.2867901623249054, -0.09084445983171463, 0.3048020303249359, 0.09210579842329025, 0.09672600030899048, 0.10278242081403732, 0.0734347403049469, 0.04338892176747322, -0.3940887451171875, 0.18093827366828918, 0.2565775513648987, 0.5821545124053955, 0.41175296902656555, 0.39841270446777344, 0.07492518424987793, 0.18144915997982025, 0.20684395730495453, 0.42900514602661133, -0.763824462890625, -0.1483721286058426, 0.07059026509523392, -0.2282942235469818, -0.33662158250808716, 0.04492252320051193, -0.8397076725959778, -0.5572335124015808, -0.1940939575433731, 0.1888306885957718, -0.32688620686531067, -0.6266416311264038, -0.23338179290294647, -0.3285543918609619, 0.49770140647888184, 0.498884379863739, -0.7953314781188965, 0.539878249168396, 0.546806275844574, 0.6477972269058228, -0.050098709762096405, -0.6012320518493652, -0.36585962772369385, 0.1984604448080063, -0.3565044701099396, 1.005658745765686, -0.644197940826416, -0.46896353363990784, -0.10596214979887009, -0.3361591100692749, -0.2520963251590729, -0.3262748122215271, 0.13247062265872955, -0.21924008429050446, -0.03980996459722519, -0.10175076872110367, -0.4847506284713745, 0.06451154500246048, 0.21751698851585388, -0.6844717264175415, 0.4701296389102936, 0.031027261167764664, -0.36362168192863464, 0.23291437327861786, -1.1404914855957031, -0.44406792521476746, 0.6777732968330383, -0.5809906721115112, 0.12050706893205643, -0.15285320580005646, -0.2660621702671051, 0.09688729792833328, -0.08257163316011429, 0.2604289650917053, 0.009700791910290718, -0.3061530590057373, 0.6091965436935425, -0.3851205110549927, 0.43136560916900635, 0.08907818794250488, -0.3484252095222473, 0.2390192747116089, 0.002133570145815611, 0.18300430476665497, 0.2783961296081543, -0.28496554493904114, -0.17689961194992065, 0.196593776345253, -0.20383726060390472, 0.15476736426353455, -0.215906023979187, -0.08338025212287903, 0.35346361994743347, -0.39839833974838257, 0.39689284563064575, 0.9254568815231323, 0.48170334100723267, 0.46299877762794495, -0.4204346835613251, 0.868827223777771, -0.3558562994003296, 0.17275552451610565, 0.05615321919322014, -0.5845634341239929, -0.6047163605690002, -0.22172680497169495, -0.20141418278217316, 0.6264503598213196, -1.1176344156265259, -0.045101866126060486, -0.15893858671188354, -0.528121829032898, -0.4489923119544983, -0.19185903668403625, 0.35388845205307007, -0.1826132982969284, -0.1285530924797058, -0.18592669069766998, -0.3997630476951599, -0.7705110311508179, -0.3183225691318512, -0.755378782749176, 0.15738120675086975, 0.19179177284240723, 0.26579785346984863, -0.09018140286207199, 0.9066603183746338, -0.2956930994987488, 0.13523107767105103, -0.9331804513931274, 0.5407597422599792, -0.16617153584957123, 0.2141600102186203, 0.4904741048812866, -0.747829794883728, -0.5531991124153137, -0.20109926164150238, -0.551142156124115, -0.10949991643428802, -0.14673438668251038, -0.1745075136423111, 0.10740438848733902, 0.5304476022720337, -0.6292764544487, 0.5416240692138672, 0.5713460445404053, -0.6329816579818726, 0.5462354421615601, -0.24334058165550232, 0.37750115990638733, -1.1353113651275635, -0.2798929810523987, -0.3492836058139801, 0.06624802947044373, -1.0361599922180176, -0.006107025779783726, -0.6638296246528625, -0.11560112982988358, -0.48245248198509216, 0.6812673807144165, -0.38627949357032776, 0.028046276420354843, -0.3451034128665924, 0.12501941621303558, -0.19491060078144073, 0.47962746024131775, -0.20904572308063507, 1.0806158781051636, 0.29423031210899353, -0.6631113886833191, 0.49570363759994507, 0.10296469926834106, -0.2656513452529907, 0.4163788855075836, -0.6145046353340149, 0.27681857347488403, -0.2843429744243622, 0.44633322954177856, -0.8225350379943848, -0.3396192789077759, 0.15881367027759552, -0.3524995446205139, 0.11508773267269135, 0.07398849725723267, -0.6424462199211121, -0.23755525052547455, -0.0555398166179657, 0.4098668694496155, 0.5436192154884338, -0.014972630888223648, 0.8793431520462036, 0.7700116038322449, -0.4227852523326874, -0.16130630671977997, -0.4095924198627472, 0.3578576147556305, -0.22068974375724792, -0.5771684050559998, -0.03274006396532059, -0.417424738407135, -0.7281032204627991, -0.27679482102394104, 0.3767721652984619, -0.13670554757118225, 0.08722133189439774, 0.20399171113967896, 0.11768026649951935, 0.18081822991371155, 0.2759994566440582, -0.046718258410692215, 0.051345791667699814, 0.05746740475296974, 0.08503469824790955, 1.0039763450622559, -0.5718130469322205, -0.2155883014202118, -0.19312843680381775, 0.5726567506790161, 0.5041607022285461, -0.11142061650753021, 0.8143317699432373, 0.4270811080932617, -0.06318147480487823, -0.17602592706680298, -0.3517647981643677, -0.40586555004119873, -0.5511763095855713, 0.6717045307159424, -0.19187459349632263, -0.8383542895317078, 0.8022429943084717, -0.20033621788024902, -0.09490812569856644, 0.19441650807857513, 0.5237094163894653, -0.14797519147396088, 0.8407535552978516, 0.20283731818199158, 0.1666073203086853, 0.667268693447113, -0.08296821266412735, 0.33688175678253174, -0.5370494723320007, -0.15948441624641418, -0.24655002355575562, -0.40370652079582214, -0.49601811170578003, -0.5806547403335571, 0.32074403762817383, -0.35727035999298096, -0.1090417355298996, -0.04057702422142029, -0.15365682542324066, 0.6381646990776062, 0.19247356057167053, -0.2412148118019104, 0.0654948279261589, -0.011049708351492882, -0.02057904191315174, 0.0010180515237152576, -0.6457139253616333, -0.6259347796440125, 0.3972475826740265, 0.1842622458934784, 0.7957420349121094, 0.3598664104938507, 0.38937878608703613, 0.5984989404678345, 0.3726193904876709, -0.7664978504180908, 0.9549747109413147, 0.2478463500738144, -0.6518622040748596, -0.4575389325618744, -0.45320507884025574, -1.3581228256225586, 0.27653980255126953, -0.1628558188676834, -0.7964766025543213, 0.011949806474149227, 0.019347526133060455, -0.200675830245018, 0.16885370016098022, -0.8944506049156189, 0.7821881771087646, -0.2127460390329361, -0.3089695870876312, -0.38713425397872925, -0.6581854820251465, 0.09976474195718765, 0.14510291814804077, 0.4355334937572479, -0.1824842244386673, 0.030003026127815247, 0.4590455889701843, -0.24381157755851746, 1.0792433023452759, 0.025515802204608917, 0.07041327655315399, 0.6239110231399536, 0.37259072065353394, 0.3718685507774353, -0.13619394600391388, -0.11289067566394806, -0.041705358773469925, -0.2809964120388031, -0.26809361577033997, -0.7138904929161072, 0.32848912477493286, -0.9343015551567078, -0.8767253756523132, -0.40210187435150146, -0.5771863460540771, 0.052688613533973694, -0.01452289242297411, -0.008855680003762245, 0.26724568009376526, -0.862967848777771, 0.011317623779177666, 0.24088133871555328, -0.13752709329128265, 0.5445767641067505, 0.5121787786483765, -0.36136358976364136, -0.28540828824043274, 0.8908832669258118, 0.11843704432249069, 0.7251263856887817, -0.06295850872993469, 0.25290635228157043, -0.06524916738271713, 0.03793220594525337, -0.2229173630475998, 0.16433145105838776, -0.5969572067260742, 0.12599855661392212, -0.7364304661750793, -0.3809516727924347, -0.41731685400009155, -0.12037701159715652, -0.25878944993019104, -0.298807293176651, 0.17298100888729095, -0.4316990375518799, 0.2768487334251404, 0.8165346384048462, 0.05602565407752991, 0.5170240998268127, -0.544514536857605, -0.1336621195077896, 0.5568578243255615, 0.06870143115520477, 0.05168513208627701, -0.16426301002502441, -0.2750047743320465, -0.021046847105026245, -0.2395784705877304, -0.8125547170639038, 0.3091355562210083, 0.4642958641052246, 0.8953333497047424, 0.5350883603096008, 0.08099057525396347, 0.424566388130188, -0.47658348083496094, 0.8407691717147827, -0.1718507558107376, -0.7515415549278259, 0.4355110824108124, -0.48800164461135864, 0.2844778001308441, 0.5765008926391602, -0.18083982169628143, -0.7822089195251465, -0.6979376077651978, -0.7903033494949341, -0.7385880351066589, 0.7532162070274353, 0.6452500224113464, 0.3690437078475952, -0.1264551281929016, 0.19382530450820923, -0.2689923644065857, 0.3150634467601776, -0.5312262177467346, -0.2743760347366333, -0.15467919409275055, 0.12141938507556915, -0.10702202469110489, 0.041085194796323776, -0.21258915960788727, -0.2963522672653198, 0.2618739604949951, -0.020821018144488335, 0.3339909017086029, -0.018692485988140106, 0.3526690602302551, -0.14685110747814178, 0.30507993698120117, 0.6090081334114075, 0.3462788462638855, 0.06868001818656921, 0.196497842669487, 0.11747509986162186, -0.675814151763916, 0.29039403796195984, -0.143840029835701, 0.12519453465938568, -0.27831825613975525, 0.20895777642726898, 0.8388768434524536, 0.038928110152482986, -0.884915292263031, 0.2532373368740082, -0.4094070494174957, -0.14441686868667603, -0.44034063816070557, 0.4172264337539673, 0.1915343850851059, 0.45756953954696655, 0.46599021553993225, -0.014091365039348602, 0.07741907984018326, -1.2220745086669922, 0.23622190952301025, 0.3921016752719879, -0.11820707470178604, -0.3053463399410248, 0.3599281907081604, 0.38455620408058167, -0.9097710251808167, 0.42362964153289795, -0.6257117390632629, -0.7690981030464172, 0.9129465818405151, 0.5247933268547058, 0.9146954417228699, -0.8780937194824219, 0.44447606801986694, 0.010798810981214046, 0.5604857802391052, -0.0010568503057584167, 0.027722375467419624, 0.3524736166000366, -1.0189135074615479, -0.256209135055542, -0.2636299133300781, -0.6045441031455994, -0.19755880534648895, -0.03606206923723221, -0.023708214983344078, -0.37692707777023315, -0.2849828600883484, -0.17004552483558655, 0.020791949704289436, -0.449725866317749, -0.2727428376674652, 0.12423962354660034, 0.22730498015880585, -0.6494455337524414, 0.7746765613555908, 0.8651110529899597, -0.5057581663131714, -1.1497719287872314, 0.2720063030719757, -0.008281717076897621, -0.7443917989730835, 0.4856688380241394, 0.11191828548908234, -0.2547299861907959, 0.20491284132003784, -0.7084599137306213, -0.7272646427154541, 1.0484001636505127, 0.34411776065826416, 0.2652874290943146, -0.11693956702947617, 0.17385786771774292, 0.8626832365989685, -0.7154287695884705, 0.3687534034252167, 0.3559076189994812, 0.6045013666152954, 0.5032332539558411, -0.9689912796020508, 0.05477840453386307, -0.6482439637184143, -0.0421191044151783, 0.011095049791038036, -0.9220970273017883, 0.9341701865196228, -0.15472003817558289, -0.4867277443408966, -0.2421865463256836, 0.5813496708869934, 0.250808984041214, 0.23795144259929657, 0.7276461124420166, -0.1474534571170807, 0.7105187773704529, 0.1391046792268753, 1.1592235565185547, -0.06311135739088058, -0.09953289479017258, 0.9203307628631592, -0.530767023563385, 0.40674230456352234, 0.33500421047210693, 0.12218990921974182, 0.6319326162338257, 0.2766569256782532, 0.2007981687784195, 0.10620729625225067, 0.48030850291252136, -0.3573039770126343, -0.20508472621440887, -0.4409932494163513, -0.09772366285324097, 0.7592479586601257, 0.5221684575080872, 0.16042719781398773, 0.011901643127202988, 0.08907118439674377, 0.1362803429365158, 0.12174519151449203, -0.17930898070335388, 0.9547745585441589, -0.011332043446600437, -0.6837416291236877, -0.02284378558397293, -0.22695748507976532, 0.28952696919441223, -0.7082421183586121, -0.282776802778244, -0.14817167818546295, 0.04592728242278099, 0.10917675495147705, -0.636228621006012, 0.061616718769073486, -0.27620625495910645, 0.17096129059791565, -0.16351769864559174, 0.7345718741416931, -0.5393505692481995, -0.2701243758201599, 0.4456390142440796, 0.7196162939071655, 0.481736958026886, -0.0097105847671628, -0.6219757199287415, 0.11595705896615982, -0.16013900935649872, -0.37024033069610596, 0.42690369486808777, 0.6852487325668335, -0.11785878986120224, 0.7887207269668579, 0.5741015672683716, -0.08691032230854034, -0.20583753287792206, 0.24598416686058044, 1.0512405633926392, -0.5028675198554993, -0.7105531096458435, -0.854949951171875, 0.46540722250938416, -0.36712953448295593, 0.042111657559871674, 0.5433579683303833, 0.28059452772140503, 0.16825462877750397, 0.07638375461101532, 0.6396980881690979, -0.17376044392585754, 0.04252173751592636, -0.2918042242527008, 1.0539333820343018, -0.2502204477787018, 0.1397424340248108, -0.38061046600341797, -0.8042325973510742, 0.21217826008796692, 0.5879964828491211, 0.00507193012163043, 0.4068257212638855, 0.6701604127883911, 0.5153756737709045, 0.40344953536987305, 0.06096358224749565, 0.42738863825798035, 0.4558025300502777, 0.6828064322471619, 0.142013818025589, 1.147128939628601, 0.15836533904075623, 0.6010939478874207, 0.4128446877002716, -0.3668254315853119, -0.18023079633712769, -0.5423795580863953, -0.9550964832305908, -0.5963677763938904, -0.1777213215827942, -0.28590190410614014, 0.03225433826446533, 1.3377701044082642, 0.37292763590812683, -0.10715827345848083, -0.6690159440040588, 0.08926604688167572, 0.11560212820768356, -0.31286701560020447, -0.33266422152519226, -0.13638617098331451, -0.2971109449863434, -0.852515697479248, 0.48169800639152527, 0.20086656510829926, 0.29822367429733276, -0.30819395184516907, -0.23986601829528809, -0.40170344710350037, 0.5638006329536438, 0.6055768132209778, 0.38956496119499207, -0.406982421875, -0.29830893874168396, -0.16970551013946533, -0.2146996110677719, -0.10382016748189926, 0.8930913805961609, -0.4830927848815918, 0.39776450395584106, 0.10462968051433563, 0.29115408658981323, 0.17735479772090912, 0.17513975501060486, 0.8910806179046631, -0.6646732091903687, 0.24193814396858215, 0.32276251912117004, 0.005581624340265989, 0.0076888506300747395, -0.573142945766449, 0.49252092838287354, 0.22523897886276245, -0.8039525747299194, -0.5366102457046509, 0.394641637802124, -0.8186381459236145, -0.18603767454624176, 1.1427860260009766, 0.13873887062072754, -0.20889273285865784, -0.4245431125164032, -0.5762232542037964, 0.2938595414161682, -0.9615462422370911, 0.8122811913490295, 0.9258889555931091, -0.3251819610595703, -0.47644346952438354, -0.6594552397727966, 0.5629114508628845, 0.11346247792243958, -0.9718818664550781, 0.03394090384244919, 0.39924389123916626, -0.24117378890514374, 0.22071443498134613, 1.1260234117507935, 0.3677572011947632, -0.15476949512958527, 0.14158868789672852, 0.3296949565410614, 0.15090693533420563, -0.1000150740146637, 0.10483349114656448, 0.0646226555109024, 0.07102856040000916, 0.27907106280326843 ]
http://arxiv.org/abs/2403.15469v1
http://arxiv.org/pdf/2403.15469v1
Isometric Neural Machine Translation using Phoneme Count Ratio Reward-based Reinforcement Learning
2024-03-20T08:52:40
2024-03-20T08:52:40
Shivam Ratnakant Mhaskar, Nirmesh J. Shah, Mohammadi Zaki, Ashishkumar P. Gudmalwar, Pankaj Wasnik, Rajiv Ratn Shah
cs.CL
cs.CL, cs.LG, eess.AS
Traditional Automatic Video Dubbing (AVD) pipeline consists of three key modules, namely, Automatic Speech Recognition (ASR), Neural Machine Translation (NMT), and Text-to-Speech (TTS). Within AVD pipelines, isometric-NMT algorithms are employed to regulate the length of the synthesized output text. This is done to guarantee synchronization with respect to the alignment of video and audio subsequent to the dubbing process. Previous approaches have focused on aligning the number of characters and words in the source and target language texts of Machine Translation models. However, our approach aims to align the number of phonemes instead, as they are closely associated with speech duration. In this paper, we present the development of an isometric NMT system using Reinforcement Learning (RL), with a focus on optimizing the alignment of phoneme counts in the source and target language sentence pairs. To evaluate our models, we propose the Phoneme Count Compliance (PCC) score, which is a measure of length compliance. Our approach demonstrates a substantial improvement of approximately 36% in the PCC score compared to the state-of-the-art models when applied to English-Hindi language pairs. Moreover, we propose a student-teacher architecture within the framework of our RL approach to maintain a trade-off between the phoneme count and translation quality.
[ -0.3279469311237335, -0.30987095832824707, 0.17422297596931458, 0.28530582785606384, -0.8392056226730347, 0.13572658598423004, -0.32959291338920593, 0.03998556733131409, 0.1289663016796112, 0.30158230662345886, -0.509380578994751, -0.5917851328849792, -0.4569306969642639, 0.27159997820854187, -0.09653758257627487, 0.8106996417045593, -0.3691551685333252, 0.3571203351020813, -0.09820576012134552, -0.18650345504283905, -0.6210403442382812, -0.42518097162246704, -0.6074358820915222, -0.5168415307998657, 0.3466029465198517, 0.42378804087638855, 0.5438717007637024, 1.16297447681427, 0.568053126335144, 0.19196996092796326, 0.10880525410175323, 0.24553421139717102, 0.059424400329589844, 0.26191478967666626, 0.15043118596076965, -0.3776357173919678, -0.14802546799182892, -0.027255583554506302, 0.7033819556236267, 0.22517292201519012, -0.48491042852401733, 0.19112689793109894, 0.17310579121112823, 0.5122207403182983, -0.4121640920639038, 0.22243960201740265, -0.2980853319168091, 0.46951913833618164, 0.10339535027742386, -0.3910641372203827, -0.4315149188041687, -0.34914880990982056, -0.2540377378463745, -0.6200247406959534, -0.321087509393692, -0.18799574673175812, 0.6363388895988464, 0.7719771862030029, -0.335946261882782, -0.07715264707803726, -0.5781330466270447, 0.7642722129821777, -0.9545178413391113, 0.6828684210777283, 0.4366394281387329, 0.2781980037689209, 0.08538579940795898, -0.19317631423473358, -0.4232438802719116, -0.214243546128273, 0.17364256083965302, 0.3431639075279236, 0.27827686071395874, -0.019377509132027626, 0.0983160063624382, 0.09511595964431763, -0.7647422552108765, 0.3670279085636139, -0.6242009997367859, -0.1645769476890564, 0.5249640345573425, 0.35291916131973267, 0.24584674835205078, -0.21123264729976654, -0.8422608971595764, -0.29778847098350525, -0.4826756417751312, 0.30119460821151733, 0.47148704528808594, 0.49685147404670715, -0.17365887761116028, 0.6586071848869324, -0.047816064208745956, 0.7982696294784546, 0.05408835411071777, -0.20834824442863464, 0.11711806803941727, -0.2901565134525299, -0.06168648228049278, 0.6213371753692627, 1.126051425933838, 0.16620050370693207, 0.3083999752998352, 0.005227964837104082, -0.26050013303756714, -0.01563103497028351, 0.4304426610469818, -0.9605405926704407, 0.30130162835121155, 0.009465794079005718, -0.29341813921928406, -0.4077935516834259, 0.15861263871192932, -0.33029577136039734, 0.058176763355731964, -0.6221755743026733, 0.4435034692287445, -0.8852998614311218, -0.02383366785943508, 0.09335397183895111, 0.2676432132720947, 0.39024588465690613, 0.10882106423377991, -0.8088270425796509, 0.4829258322715759, 0.5571712255477905, 1.1306908130645752, -0.49218448996543884, -0.4167686402797699, -0.6364118456840515, -0.07506858557462692, -0.6353526711463928, 0.28030315041542053, -0.2594378888607025, -0.276216596364975, -0.18836569786071777, -0.3355611264705658, -0.18530763685703278, -0.4181246757507324, 0.3122681677341461, -0.5933657884597778, 0.3411013185977936, 0.2564663290977478, -0.5382270812988281, -0.18024006485939026, 0.1437007039785385, -0.3784988820552826, 0.7442602515220642, -0.09622698277235031, -0.3694347143173218, 0.14095206558704376, -0.4884510338306427, -0.3649047613143921, -0.019206367433071136, -0.31867772340774536, -0.4504142701625824, -0.05992903560400009, 0.1894255429506302, 0.14358828961849213, -0.3337765336036682, 0.2902906835079193, 0.0901443287730217, -0.5868628621101379, 0.4626053273677826, -0.5427720546722412, 0.7305116653442383, 0.7043827772140503, -0.33385926485061646, 0.2659282386302948, -0.45155462622642517, 0.26074662804603577, -0.37019744515419006, -0.5410739779472351, -0.07336028665304184, -0.03562172129750252, -0.015751512721180916, 0.5559850335121155, -0.0961495041847229, -0.493483304977417, 0.1195826306939125, -0.3141043484210968, 0.44595038890838623, 0.715187132358551, 0.014681544154882431, 0.3369221091270447, -0.13792452216148376, 0.8185880780220032, 0.12864281237125397, -0.031210141256451607, -0.12101360410451889, -0.2387293428182602, -0.26902663707733154, -0.35053715109825134, 0.5054268836975098, 0.7295060157775879, -0.7884862422943115, 0.5870450139045715, -0.3443344235420227, -0.25811567902565, -0.8681997060775757, 0.2491704225540161, 0.6399895548820496, 0.34947285056114197, 0.42097389698028564, -0.8016831278800964, -0.4429747760295868, -0.6835233569145203, -0.08132614195346832, -0.41884857416152954, -0.24249367415905, -0.005332774017006159, 0.0516568124294281, 0.33832406997680664, 0.8251150250434875, -0.21324318647384644, -0.4257426857948303, 0.08160336315631866, 0.17064732313156128, 0.15172886848449707, 0.6084450483322144, 0.07817475497722626, -0.6569077372550964, -0.5598520636558533, 0.0856831818819046, -0.6428993940353394, -0.13552579283714294, -0.1401643007993698, 0.3069767951965332, 0.1567603051662445, 0.8282043933868408, -0.31826940178871155, 0.3046925663948059, 0.6322363615036011, -0.2038821130990982, 0.39807528257369995, -0.10101156681776047, 0.35151180624961853, -1.1779043674468994, -0.14138281345367432, -0.07731815427541733, -0.45996174216270447, -0.2875284254550934, -0.20682986080646515, 0.047847650945186615, -0.4242798089981079, -0.6268147230148315, 0.20165419578552246, -0.2324855923652649, -0.2236631065607071, -0.3608779013156891, 0.11254137754440308, -0.30053919553756714, 0.7278153300285339, 0.25661763548851013, 1.026857614517212, -0.008796364068984985, -0.41746118664741516, 0.36732253432273865, 0.15082404017448425, -0.4207402467727661, 0.7053069472312927, -0.5833725333213806, 0.10018450766801834, 0.2911776900291443, 0.22980304062366486, -0.6998622417449951, 0.11336174607276917, 0.3079802691936493, -0.9635876417160034, 0.02798118256032467, -0.2352941632270813, -0.2260199636220932, 0.17041637003421783, -0.09977928549051285, 0.5750414133071899, 0.6618990898132324, -0.3267325162887573, 0.22963029146194458, 0.06727460026741028, -0.19527661800384521, -0.7098318338394165, -0.5479480624198914, 0.10622935742139816, -0.30316948890686035, -0.42772746086120605, 0.3713643550872803, 0.20707029104232788, 0.07375482469797134, 0.09534849971532822, -0.23993846774101257, -0.14828623831272125, -0.0999823585152626, 0.2320214807987213, 0.14759834110736847, -0.5172012448310852, 0.1461321860551834, -0.12541620433330536, -0.10014544427394867, 0.0399126373231411, -0.5950313806533813, 0.6996412873268127, -0.21205055713653564, -0.2857387065887451, -0.8426212072372437, 0.1570994108915329, 0.7072473168373108, -0.32915470004081726, 0.7363040447235107, 0.9000263810157776, -0.2512509524822235, -0.040303874760866165, -0.15024690330028534, -0.32746073603630066, -0.39229321479797363, 0.3652413785457611, -0.48463746905326843, -0.6690382957458496, 0.4282664954662323, 0.14857247471809387, -0.15084703266620636, 0.0790230929851532, 0.41947782039642334, 0.0013725534081459045, 1.1065243482589722, 0.3945345878601074, -0.12250424176454544, 0.7801299691200256, -0.1749061793088913, 0.0028761408757418394, -0.9308289289474487, -0.1928132325410843, -0.22510996460914612, -0.42777585983276367, -0.4819169044494629, -0.4818074703216553, 0.36990639567375183, 0.23417453467845917, -0.5003729462623596, 0.6583304405212402, -0.28767460584640503, 0.40440577268600464, 0.5441071391105652, 0.1686079353094101, 0.28779053688049316, 0.045085012912750244, -0.42287343740463257, -0.24050086736679077, -0.686025857925415, -0.3804560601711273, 0.7952120304107666, 0.2704079747200012, 0.6670316457748413, 0.274181067943573, 0.8953576683998108, 0.2331719696521759, -0.1373605728149414, -0.8885288238525391, 0.47898179292678833, -0.07936805486679077, -0.17727820575237274, -0.5540256500244141, -0.6157664060592651, -0.7049230337142944, 0.29363176226615906, 0.051470693200826645, -0.6027039289474487, 0.17504097521305084, -0.010620596818625927, -0.2158435583114624, 0.19169363379478455, -0.37720638513565063, 0.8120413422584534, -0.5419554710388184, -0.41084370017051697, -0.3876454532146454, -0.7857956886291504, 0.23622466623783112, 0.10400380194187164, -0.16422639787197113, 0.0610581710934639, -0.3181939125061035, 0.6225507259368896, -0.5876728296279907, 0.6358569860458374, -0.05112049728631973, 0.13935188949108124, 0.18409186601638794, 0.003497376572340727, 0.24672791361808777, -0.06214838847517967, 0.023815354332327843, -0.04639488086104393, -0.12945295870304108, -0.37360870838165283, -0.6756133437156677, 0.6086589097976685, -0.9561977386474609, -0.31285130977630615, -0.4331217110157013, -0.697048008441925, -0.10139373689889908, 0.08466774225234985, 0.2150101363658905, 0.10025527328252792, -0.0802953690290451, 0.47970810532569885, 0.587341845035553, -0.2195914387702942, 0.36499935388565063, 0.5153079628944397, -0.33438536524772644, -0.8568551540374756, 0.8919246792793274, 0.08034168183803558, 0.4969290494918823, 0.28630274534225464, 0.06623243540525436, -0.3556385338306427, -0.39630499482154846, -0.7428327202796936, 0.0011246580397710204, -0.21260599792003632, -0.2974378168582916, -0.22711609303951263, -0.4236266613006592, -0.5085912346839905, -0.09114325791597366, -0.5291768312454224, -0.3711200952529907, -0.0854935273528099, -0.02094186097383499, 0.4063876271247864, 0.24747252464294434, -0.2544511556625366, 0.44963181018829346, -0.6073405146598816, 0.24695797264575958, 0.2666075527667999, 0.4187324643135071, -0.3103274703025818, -1.0443048477172852, -0.42610809206962585, -0.04244822636246681, -0.33903995156288147, -0.9151349067687988, 0.7159338593482971, 0.012253270484507084, 0.1114148423075676, 0.36519482731819153, -0.021168647333979607, 0.5772861838340759, -0.6296164989471436, 0.44506195187568665, 0.5116184949874878, -0.8383707404136658, 0.20249216258525848, -0.30849865078926086, 0.3930336534976959, 0.43194425106048584, 0.4106326699256897, -1.0385311841964722, -0.15317903459072113, -0.462994247674942, -0.9005085229873657, 0.8247970342636108, 0.2791329324245453, -0.10809137672185898, 0.16083800792694092, -0.032806724309921265, -0.15382610261440277, 0.15045416355133057, -0.5199297666549683, 0.021644791588187218, -0.4033254086971283, -0.5241580605506897, -0.11442938446998596, 0.25018197298049927, -0.034693047404289246, -0.03736976161599159, 0.8875634074211121, -0.04109666123986244, 0.07916199415922165, 0.17282463610172272, -0.2500130832195282, -0.02172769233584404, 0.36951446533203125, 0.7807095646858215, 0.30583763122558594, -0.39376887679100037, -0.006232257001101971, 0.09506233036518097, -0.4357517957687378, 0.6300351023674011, 0.11691079288721085, -0.226162850856781, 0.08802886307239532, -0.07732845842838287, 1.0163962841033936, 0.03808869048953056, -0.575707733631134, 0.39798203110694885, 0.07898001372814178, -0.245046928524971, -0.4733915328979492, -0.12978866696357727, 0.18384644389152527, 0.20104649662971497, 0.10727133601903915, 0.06909170746803284, -0.11946126073598862, -0.26645123958587646, 0.5670340061187744, 0.027168167755007744, -1.0091142654418945, -0.15669481456279755, 0.645167350769043, 0.1803642362356186, -0.8706463575363159, 0.9116799831390381, 0.0663711354136467, -0.4192638397216797, 0.7902940511703491, 0.690541684627533, 0.9231380224227905, -0.5863100290298462, 0.37510260939598083, 0.3901660442352295, 0.39942875504493713, -0.21485145390033722, -0.034139201045036316, -0.14746427536010742, -0.7049307823181152, -0.6412411332130432, -0.5179567933082581, -0.3491017520427704, 0.10255894064903259, -0.9546533226966858, 0.542446494102478, -0.4163716733455658, -0.052118636667728424, -0.19566284120082855, -0.21382875740528107, -0.2809496819972992, 0.03973405808210373, 0.23561997711658478, 0.7377943396568298, -1.0100253820419312, 1.0939710140228271, 0.641294002532959, -0.6683741211891174, -1.029133677482605, -0.0971260741353035, 0.20422813296318054, -0.5266075134277344, 0.8183034658432007, 0.05145446956157684, -0.28835394978523254, 0.19223591685295105, -0.08331120014190674, -0.6604655981063843, 1.033076524734497, 0.2964412569999695, -0.4332003891468048, 0.2104371041059494, 0.2698691487312317, 0.5824379324913025, -0.5760458707809448, 0.04882166534662247, 0.1856793314218521, 0.14356417953968048, -0.06318861991167068, -0.8680940270423889, -0.2009669989347458, -0.2999367415904999, 0.18103815615177155, 0.3305550217628479, -0.5163096189498901, 0.5861488580703735, -0.008904218673706055, -0.05817337706685066, -0.06235913187265396, 0.6610506176948547, 0.33458054065704346, 0.0008405983098782599, 0.5879542231559753, 0.7101694941520691, 0.11612307280302048, 0.2303655445575714, 0.7269781827926636, -0.29869189858436584, 0.21402177214622498, 1.1868133544921875, -0.045702576637268066, 0.9822803735733032, 0.6821550130844116, -0.1262982189655304, 0.3835798501968384, 0.6884482502937317, 0.1278950273990631, 0.4834344983100891, 0.523354709148407, -0.2903190851211548, -0.34976762533187866, -0.22548140585422516, -0.19633284211158752, 0.5923968553543091, 0.2228114753961563, -0.38298553228378296, -0.00553554343059659, 0.13836413621902466, -0.09882597625255585, 0.45818251371383667, -0.011462525464594364, 0.914594292640686, 0.2911272644996643, -0.8201305270195007, 0.8197134733200073, 0.09646844863891602, 0.5461973547935486, -0.5544717311859131, -0.10036826878786087, -0.3728383481502533, 0.25247618556022644, 0.06212899461388588, -0.47984614968299866, 0.12648671865463257, 0.1679021269083023, -0.11821971833705902, -0.4120948314666748, 0.10981906950473785, -0.8856955766677856, -0.30294543504714966, 0.07386152446269989, 0.30603834986686707, 0.37236732244491577, 0.28168976306915283, -0.800876259803772, -0.022022055462002754, 0.05149967968463898, -0.13894116878509521, 0.43771547079086304, 0.35034871101379395, -0.21052701771259308, 0.6343152523040771, 0.45540767908096313, 0.2816135883331299, 0.0404953807592392, -0.1406739056110382, 0.37792065739631653, -0.5656102895736694, -0.6298246383666992, -0.808455765247345, 0.2996261417865753, 0.07597208768129349, -0.32513493299484253, 0.37848928570747375, 0.7082386612892151, 0.9699912667274475, -0.12033779919147491, 0.4179912209510803, 0.13475550711154938, 0.26834920048713684, -0.7766358852386475, 0.469438374042511, -0.3835911452770233, 0.3967975676059723, -0.008913702331483364, -0.9024724960327148, -0.21509221196174622, 0.7480019927024841, -0.21222306787967682, -0.22491194307804108, 0.8510844707489014, 0.8363609313964844, -0.137057825922966, -0.32888931035995483, 0.36613142490386963, -0.21668924391269684, 0.11035241931676865, 0.5741593241691589, 0.6939384937286377, -0.5903953313827515, 0.9601958394050598, -0.27133312821388245, 0.05625392124056816, -0.14872850477695465, -0.6156154274940491, -0.3817327618598938, -0.6916934251785278, -0.2987421751022339, -0.3848356008529663, 0.38300058245658875, 1.2460418939590454, 0.6011583209037781, -0.7740027904510498, -0.8504607081413269, -0.04542544111609459, 0.13237830996513367, -0.6699022650718689, -0.22739177942276, 0.28092899918556213, -0.5166749954223633, -0.6718682646751404, 0.4581463634967804, 0.2464173585176468, -0.017384182661771774, -0.03989392891526222, -0.525878369808197, -0.38817358016967773, -0.02655590884387493, 0.1729939728975296, 0.43994995951652527, -0.6847477555274963, -0.21570836007595062, 0.16351547837257385, -0.35801759362220764, 0.3583959639072418, 0.9198863506317139, -0.7133180499076843, 0.42900142073631287, 0.5454608201980591, 0.856259822845459, 0.45023447275161743, 0.3652128279209137, 0.9770821332931519, -0.8444110751152039, 0.23965832591056824, 0.37889647483825684, 0.0273007582873106, 0.2457040548324585, -0.09811653196811676, 0.6013720035552979, 0.06588352471590042, -0.4841609597206116, -0.7012524604797363, 0.4108840525150299, -0.8850412964820862, -0.21648749709129333, 0.9713799357414246, -0.2357831597328186, -0.10236925631761551, 0.13941417634487152, -0.0031148348934948444, 0.49875882267951965, -0.48017585277557373, 0.8671053647994995, 0.58110111951828, -0.010345940478146076, -0.3539442718029022, -0.5528825521469116, 0.5279437303543091, 0.7491028308868408, -0.49118056893348694, -0.15586373209953308, 0.3997959494590759, 0.17259326577186584, 0.13757334649562836, 0.3771507441997528, -0.40246760845184326, 0.34883061051368713, -0.17225928604602814, 0.48649218678474426, -0.3072892129421234, -0.2189539521932602, -0.5568184852600098, -0.28655993938446045, 0.033789992332458496, -0.777428388595581 ]
http://arxiv.org/abs/2405.02305v1
http://arxiv.org/pdf/2405.02305v1
Inserting Faces inside Captions: Image Captioning with Attention Guided Merging
2024-03-20T08:38:25
2024-03-20T08:38:25
Yannis Tevissen, Khalil Guetari, Marine Tassel, Erwan Kerleroux, Frédéric Petitpont
cs.CV
cs.CV, cs.AI, cs.CL, eess.IV
Image captioning models are widely used to describe recent and archived pictures with the objective of improving their accessibility and retrieval. Yet, these approaches tend to be inefficient and biased at retrieving people's names. In this work we introduce AstroCaptions, a dataset for the image captioning task. This dataset specifically contains thousands of public fig-ures that are complex to identify for a traditional model. We also propose a novel post-processing method to insert identified people's names inside the caption using explainable AI tools and the grounding capabilities of vi-sion-language models. The results obtained with this method show signifi-cant improvements of captions quality and a potential of reducing halluci-nations. Up to 93.2% of the persons detected can be inserted in the image captions leading to improvements in the BLEU, ROUGE, CIDEr and METEOR scores of each captioning model.
[ -0.6686455607414246, -0.11874807626008987, 0.4340015947818756, 0.149028018116951, -0.44990256428718567, 0.1565561592578888, 0.0672471895813942, -0.7564488649368286, -0.019194968044757843, 0.9261690974235535, -0.39943021535873413, -0.27567920088768005, -0.5652652382850647, 0.01753964275121689, -0.4764978885650635, 0.8894577026367188, -0.09791485220193863, 0.2637338936328888, -0.7187812924385071, -0.20221614837646484, -0.6199100613594055, -0.32557758688926697, -0.339934378862381, 0.27354300022125244, 0.29868796467781067, 0.222810760140419, 0.9010785222053528, 0.807274341583252, 0.9545225501060486, 0.22833122313022614, 0.03934948518872261, 0.587391197681427, -0.2923741042613983, -0.33116981387138367, -0.2614627182483673, -0.4361937344074249, -0.055465564131736755, 0.23559032380580902, 0.543058454990387, 0.6166207194328308, 0.35889098048210144, -0.00010186709550907835, -0.12384379655122757, 0.6516135931015015, -0.4366501569747925, 0.5678887367248535, -0.3720216751098633, 0.12193788588047028, -0.2860042452812195, -0.22864533960819244, -0.25616106390953064, -0.4720812141895294, 0.207992821931839, -0.39272937178611755, 0.2775605022907257, 0.2487846165895462, 0.9622806310653687, 0.5204561948776245, 0.07904607057571411, -0.10071324557065964, -0.6410186886787415, 0.590481698513031, -0.41932597756385803, 0.22345484793186188, 0.13293008506298065, 0.5752796530723572, 0.006739786360412836, -0.49575188755989075, -0.5407534837722778, -0.13046014308929443, -0.48350831866264343, 0.06131965294480324, -0.09930173307657242, 0.036871347576379776, 0.2525155246257782, 0.4696342647075653, -0.34436294436454773, -0.013334561139345169, -0.48006299138069153, -0.11935501545667648, 0.6949755549430847, -0.06503261625766754, 0.250055193901062, -0.023255519568920135, -0.353907972574234, -0.20298440754413605, -0.6317644715309143, -0.2125633805990219, 0.20130768418312073, 0.4231889545917511, 0.02853044681251049, 0.888235330581665, -0.2311987727880478, 0.5171246528625488, 0.1987326592206955, 0.16602689027786255, 0.20586664974689484, -0.18887990713119507, -0.20775099098682404, -0.222695454955101, 0.6175175905227661, 0.760974109172821, 0.6180107593536377, -0.29007741808891296, -0.040207549929618835, 0.07902439683675766, 0.13907086849212646, -0.7013282179832458, -0.40809860825538635, 0.21515855193138123, -0.4947531223297119, -0.43896615505218506, 0.5663459300994873, -0.7876300811767578, -0.6927676200866699, -0.45633912086486816, 0.5673600435256958, -0.20745398104190826, 0.07312080264091492, -0.278067409992218, -0.22539980709552765, 0.2366136759519577, 0.4870557188987732, -0.43745458126068115, 0.4718254506587982, 0.3821306824684143, 0.6549128890037537, -0.094012051820755, -0.10316500812768936, -0.7977707982063293, -0.014091496355831623, -0.13467086851596832, 1.183799147605896, -0.4783809781074524, 0.03961313143372536, -0.012727653607726097, 0.06495039910078049, 0.07086275517940521, -0.6970808506011963, 0.0977521762251854, -0.6743538975715637, 0.4292927384376526, -0.34028446674346924, -0.3766869306564331, -0.25483229756355286, -0.18012841045856476, -0.7449910640716553, 0.6298544406890869, 0.1849820464849472, -0.7465096116065979, 0.2036263793706894, -0.9276062846183777, -0.28604716062545776, 0.4645172655582428, -0.30345866084098816, -0.5892090797424316, 0.10950106382369995, 0.9631978273391724, 0.6489267945289612, -0.14800608158111572, 0.20108631253242493, 0.17293882369995117, -0.23704172670841217, 0.3576599657535553, 0.12106459587812424, 0.6369824409484863, 0.22486339509487152, -0.19155067205429077, 0.2562262713909149, 0.1333545297384262, -0.28543993830680847, 0.21380656957626343, 0.12214019894599915, -0.032700326293706894, -0.06885452568531036, 0.4682813286781311, 0.010483975522220135, -0.007896892726421356, -0.2593790590763092, 0.26435694098472595, -0.1849924474954605, 0.39003169536590576, 0.3393555283546448, 0.13910339772701263, 0.5893662571907043, -0.4073406755924225, 0.5087864398956299, 0.22953106462955475, 0.22915059328079224, -0.6737534999847412, -0.5781149864196777, -0.537956714630127, -0.31765779852867126, 0.4375583529472351, 0.5609338283538818, -0.7210583090782166, 0.2969023883342743, -0.31540539860725403, -0.4739034175872803, -0.503848135471344, 0.010196401737630367, 0.311661034822464, 0.44490987062454224, 0.30515486001968384, -0.5074668526649475, -0.36080795526504517, -1.071958303451538, -0.22558215260505676, -0.10161684453487396, -0.07777414470911026, 0.7897074222564697, 0.4298124611377716, -0.2125401645898819, 0.9348574280738831, -0.5271359086036682, -0.2980639636516571, 0.07642459869384766, 0.047003135085105896, 0.04247811809182167, 0.42208313941955566, 0.47430795431137085, -1.194623351097107, -0.3957199454307556, -0.033604662865400314, -0.8193312287330627, 0.05095208063721657, -0.27053335309028625, -0.0479426309466362, -0.010313387028872967, 0.7256519198417664, -0.7845081090927124, 0.42357057332992554, 0.05698997527360916, 0.03737204521894455, 0.5246867537498474, 0.09062810987234116, 0.3655772805213928, -0.7510953545570374, -0.010564906522631645, 0.12077727913856506, -0.4408552050590515, -0.3415256142616272, 0.3018035888671875, 0.049510709941387177, -0.49182963371276855, -0.6199135780334473, 0.5845292210578918, -0.8713332414627075, -0.26030877232551575, -0.2433125376701355, 0.23063519597053528, -0.3427944779396057, 0.2755776643753052, 0.2970815896987915, 0.6356230974197388, 0.8899399638175964, -0.277164489030838, 0.43918806314468384, 0.5901244878768921, -0.4500225782394409, 0.7829449772834778, -0.3800688087940216, 0.2217482328414917, -0.8109825253486633, 0.32407665252685547, -1.3000421524047852, -0.8025087714195251, 0.4476076662540436, -0.38094598054885864, 0.20564472675323486, -0.1494012176990509, -0.4755238890647888, -0.6015644669532776, -0.03342647850513458, 0.5053974986076355, 0.44238319993019104, -0.8010079264640808, 0.63265061378479, 0.5116499066352844, -0.1940782219171524, -0.4458557665348053, -0.5358843207359314, 0.4436439573764801, -0.47833067178726196, -0.48856449127197266, 0.6819922924041748, -0.04686148837208748, -0.2298099845647812, 0.3239978849887848, 0.2724354863166809, -0.12164764851331711, -0.385414719581604, 0.3301631510257721, 0.26915836334228516, -0.01242041401565075, 0.15316857397556305, -0.12008193880319595, -0.0520331934094429, -0.3183811902999878, -0.12609043717384338, 0.2814156115055084, -0.06690056622028351, 0.043429724872112274, -0.9093806743621826, 0.6079077124595642, 0.879298746585846, -0.598882257938385, 0.5755690336227417, 0.26460278034210205, -0.7358583807945251, 0.23865902423858643, -0.7653288841247559, -0.35952287912368774, -0.37067320942878723, 0.1789327710866928, -0.08049774914979935, -0.6548134088516235, 0.6591191291809082, -0.17214658856391907, 0.0318865142762661, 0.37014153599739075, 0.158272847533226, -0.40038326382637024, 0.7612462639808655, 0.5162436962127686, -0.28393012285232544, 0.5798166990280151, -0.2518033981323242, 0.1282203495502472, -0.6115962862968445, -0.2304503619670868, -0.30581074953079224, -0.39529159665107727, -0.5888774394989014, -0.7266956567764282, 0.09865759313106537, -0.20902961492538452, 0.4073290526866913, 0.6621666550636292, -0.737821102142334, 0.9945389032363892, 0.31505969166755676, 0.3779691755771637, 0.07746938616037369, 0.1093975380063057, 0.670404851436615, -0.12464645504951477, -0.46443596482276917, -0.38782984018325806, 0.80617356300354, 0.2154688984155655, 0.5871265530586243, -0.31370213627815247, 0.6818394064903259, 0.3415309488773346, 0.6910606622695923, -0.7057818174362183, 0.4845750629901886, -0.2867555022239685, -0.6633208990097046, -0.13983750343322754, -0.25224071741104126, -0.8722555637359619, 0.022489486262202263, -0.24896927177906036, -0.7918432950973511, 0.20301993191242218, 0.058447424322366714, -0.7476766109466553, -0.06389706581830978, -0.48862630128860474, 0.8401573896408081, -0.2997272312641144, 0.042180512100458145, -0.007797569967806339, -0.85844486951828, 0.32732275128364563, 0.10645847767591476, 0.39710375666618347, 0.16023196280002594, 0.18904615938663483, 0.7168187499046326, -0.15287910401821136, 0.635150671005249, -0.3522733151912689, 0.5156401991844177, 0.27409827709198, -0.2952892780303955, 0.5323846936225891, -0.24156799912452698, 0.5654751658439636, 0.22911366820335388, -0.35550302267074585, -0.1216474249958992, -0.5947005152702332, 0.6409812569618225, -0.5486493110656738, -0.45654454827308655, -0.19687001407146454, -0.7042779326438904, 0.06982307881116867, 0.02573869377374649, 0.2608794569969177, 0.3990662395954132, 0.14450904726982117, 0.18750537931919098, 0.604581892490387, -0.21517668664455414, 0.20015038549900055, -0.11741841584444046, -0.3099122643470764, -0.7962910532951355, 0.615510106086731, 0.21705801784992218, -0.11240304261445999, 0.34334084391593933, 0.0622192844748497, -0.3501427173614502, -0.5523228049278259, -0.3647903501987457, 0.6687949895858765, -0.6482311487197876, -0.464644193649292, -0.6448283791542053, -0.17850831151008606, -0.25500816106796265, -0.42289966344833374, -0.30293023586273193, -0.22132250666618347, -0.28106415271759033, 0.13991333544254303, 0.20889170467853546, 0.6228687763214111, 0.25220802426338196, 0.9013859629631042, -0.6753478050231934, 0.5982485413551331, 0.2432873547077179, 0.2894578278064728, -0.11935640126466751, -0.356317937374115, -0.2867890000343323, -0.3157724440097809, -0.1664266586303711, -1.1264231204986572, 0.47102510929107666, 0.05445678159594536, 0.592460036277771, 0.3837677538394928, -0.1457260251045227, 0.900421142578125, -0.2530219256877899, 0.587893545627594, -0.08592840284109116, -0.867811918258667, 0.5913200974464417, -0.38965821266174316, 0.2282114326953888, 0.553745448589325, 0.29291582107543945, -0.4871065318584442, -0.36081886291503906, -0.6888733506202698, -0.7914162278175354, 0.7765362858772278, 0.3707505762577057, 0.2627277672290802, 0.1502039134502411, 0.5820586085319519, 0.07050956785678864, 0.22109641134738922, -0.6834539771080017, -0.13919419050216675, 0.08709465712308884, -0.33610454201698303, -0.11556892096996307, 0.18633849918842316, -0.14986346662044525, -0.29469215869903564, 0.2624393701553345, -0.06853600591421127, 0.45381075143814087, 0.1868501603603363, -0.24290426075458527, -0.15161971747875214, -0.4414598047733307, 0.39100366830825806, 0.36759570240974426, -0.13240444660186768, 0.04345563426613808, -0.21923328936100006, -0.04963368922472, -0.30125924944877625, 0.3616471588611603, 0.04202878475189209, -0.037293702363967896, 0.1631644368171692, 0.5309321880340576, 0.04442315921187401, -0.43860816955566406, 0.5337427854537964, -0.16121743619441986, -0.04361816123127937, -0.30236414074897766, -0.038220565766096115, -0.02956882305443287, 0.4109081029891968, 0.5831310749053955, 0.46996188163757324, 0.19955341517925262, -0.5652096271514893, 0.2757920026779175, 0.5557265877723694, -0.37630799412727356, 0.008799320086836815, 0.790102481842041, 0.3884750008583069, -0.5008223652839661, 0.7706072330474854, 0.13258211314678192, -0.5105143785476685, 0.7115439772605896, 0.24360495805740356, 0.8743282556533813, -0.15807847678661346, 0.20773713290691376, 0.5548930168151855, 0.3144443929195404, -0.24759680032730103, -0.025440672412514687, -0.2959347069263458, -0.622786283493042, -0.4339233636856079, -0.08307894319295883, -0.504443883895874, 0.1623416543006897, -0.41186290979385376, 0.36272406578063965, -0.26297181844711304, -0.11233177036046982, 0.4081716239452362, -0.33627477288246155, -0.9325519800186157, 0.31408974528312683, 0.5808600187301636, 0.5653915405273438, -1.2453348636627197, 0.1068696528673172, 0.7489184141159058, -0.4777944087982178, -0.42157384753227234, 0.10911621898412704, -0.20671546459197998, -0.2804180681705475, 0.44222286343574524, 0.7368218898773193, 0.34667256474494934, 0.10665912181138992, -0.9632625579833984, -1.0245420932769775, 0.8941075205802917, 0.4128313362598419, -0.3901823163032532, 0.2674272954463959, 0.11218919605016708, 0.32366541028022766, -0.7350379824638367, 0.34346580505371094, 0.31601110100746155, 0.8341695070266724, 0.2060050666332245, -0.7145151495933533, 0.05856011062860489, -0.13786685466766357, -0.02968735620379448, 0.026248451322317123, -0.636093020439148, 0.44394659996032715, -0.5467725396156311, -0.4527474045753479, 0.24735088646411896, 0.8316683173179626, 0.05006273463368416, 0.4071939289569855, 0.5065080523490906, 0.32696688175201416, 0.8332341313362122, -0.30663198232650757, 1.2628179788589478, 0.33542561531066895, 0.10296688973903656, 0.7298542857170105, 0.08355721086263657, 0.45931699872016907, 0.7319266200065613, -0.17840182781219482, 0.37776029109954834, 0.6971840858459473, -0.3862743377685547, 0.6969318389892578, 0.06494402885437012, 0.09544402360916138, -0.19216911494731903, -0.35655608773231506, 0.1391810029745102, 0.47518303990364075, 0.21929514408111572, -0.5607371926307678, -0.10679489374160767, 0.13523243367671967, -0.05367958918213844, 0.16452379524707794, -0.2389194369316101, 0.8654677867889404, -0.1425197720527649, -0.8360610604286194, 0.12693147361278534, -0.34401801228523254, 0.3634207546710968, 0.062223490327596664, -0.1808522492647171, -0.20525741577148438, -0.012467958964407444, -0.4520578980445862, -0.9005836844444275, 0.39135438203811646, -0.06509188562631607, -0.16299840807914734, -0.02212236262857914, 0.376112163066864, -0.6067829132080078, -0.5911601781845093, -0.1674508899450302, 0.25881674885749817, 0.6078182458877563, -0.4873960018157959, -0.4029541015625, -0.08422687649726868, -0.024557102471590042, 0.14366993308067322, -0.09392616152763367, -0.1553398221731186, -0.4098150432109833, 0.3965564966201782, 0.553783655166626, -0.15506218373775482, -0.37970051169395447, 0.26226964592933655, 0.7798951268196106, -0.5551806092262268, -0.4526471793651581, -0.6718471646308899, 1.0273874998092651, -0.26133105158805847, -0.1444339156150818, 0.42782101035118103, 0.4389062821865082, 0.5302819609642029, -0.5339068174362183, 0.7504968047142029, -0.0870821475982666, -0.00462031364440918, -0.2684529721736908, 0.7197246551513672, -0.41634270548820496, -0.21732914447784424, -0.5590844750404358, -1.2770819664001465, -0.8908595442771912, 0.5220035910606384, -0.2201816588640213, 0.0817738026380539, 0.4213353991508484, 0.7919295430183411, 0.047529056668281555, -0.34277036786079407, 0.18029120564460754, -0.13562245666980743, 0.36457550525665283, 0.33955880999565125, 0.9264140129089355, -0.71324223279953, 0.39023128151893616, -0.45485764741897583, -0.41362425684928894, -0.41925179958343506, -0.858185350894928, -1.0029988288879395, -0.6501182913780212, -0.828035295009613, 0.2119336873292923, 0.09087162464857101, 0.5458050966262817, 0.9514027237892151, -0.8596771955490112, 0.10200029611587524, -0.0591779500246048, 0.00047423242358490825, -0.3527884781360626, -0.256914883852005, 0.6165778636932373, 0.019856708124279976, -0.8955829739570618, 0.12984254956245422, 0.21889787912368774, 0.19891470670700073, -0.12414009124040604, 0.06243586167693138, 0.3854488134384155, 0.25012046098709106, 0.29703548550605774, 0.21039341390132904, -0.8816547393798828, -0.28012147545814514, -0.1066071167588234, 0.1673971265554428, 0.1834561973810196, 0.47147631645202637, -0.8149251341819763, 0.5929794311523438, 0.4363279342651367, 0.4344269335269928, 0.47535794973373413, 0.6949765086174011, 0.21262462437152863, -0.5888190269470215, -0.033608328551054, 0.2073320746421814, 0.3593093156814575, 0.8250431418418884, -0.6532739996910095, 0.39126884937286377, 0.2932741045951843, -0.657672107219696, -0.8036576509475708, -0.16585682332515717, -1.3221609592437744, 0.17332200706005096, 0.7186298966407776, 0.10380328446626663, -0.11311494559049606, 0.21319545805454254, -0.6175713539123535, 0.19603349268436432, -0.3398125171661377, 1.0267584323883057, 0.5753345489501953, -0.2942875325679779, -0.6211249232292175, -0.22343532741069794, 0.2537674605846405, 0.03113630786538124, -1.125318169593811, 0.19627216458320618, 0.577090322971344, 0.016214098781347275, 0.5455360412597656, 0.1924426257610321, -0.5259167551994324, 0.5196908116340637, -0.19477862119674683, 0.2573090195655823, -0.24383237957954407, -0.6733381748199463, -0.22305220365524292, 0.008828063495457172, -0.18807663023471832, -0.375752329826355 ]
http://arxiv.org/abs/2403.13372v4
http://arxiv.org/pdf/2403.13372v4
LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Models
2024-03-20T08:08:54
2024-06-27T22:44:48
Yaowei Zheng, Richong Zhang, Junhao Zhang, Yanhan Ye, Zheyan Luo, Zhangchi Feng, Yongqiang Ma
cs.CL
cs.CL, cs.AI
Efficient fine-tuning is vital for adapting large language models (LLMs) to downstream tasks. However, it requires non-trivial efforts to implement these methods on different models. We present LlamaFactory, a unified framework that integrates a suite of cutting-edge efficient training methods. It provides a solution for flexibly customizing the fine-tuning of 100+ LLMs without the need for coding through the built-in web UI LlamaBoard. We empirically validate the efficiency and effectiveness of our framework on language modeling and text generation tasks. It has been released at https://github.com/hiyouga/LLaMA-Factory and received over 25,000 stars and 3,000 forks.
[ -0.29092317819595337, -0.6596131920814514, 0.5210863351821899, 0.32787612080574036, -0.12080563604831696, 0.004769609309732914, -0.3775825798511505, -0.3778630495071411, -0.15709710121154785, 0.5133532285690308, -0.611452043056488, -0.7129846215248108, -0.24549439549446106, 0.14933404326438904, -0.5528318881988525, 0.783899188041687, -0.0002124447637470439, -0.15137751400470734, -0.08494045585393906, 0.05751480534672737, -0.2581946551799774, -0.22021740674972534, -0.5087431073188782, -0.38424456119537354, 0.45554783940315247, 0.6615126729011536, 0.26895272731781006, 0.9258741736412048, 0.2607654333114624, 0.4187787175178528, -0.04906635731458664, 0.25722694396972656, -0.6623912453651428, 0.05552614480257034, -0.18825900554656982, -0.4364367723464966, -0.7320359945297241, -0.32984960079193115, 0.29461193084716797, 0.7650126218795776, -0.19861027598381042, 0.5807638168334961, 0.23999428749084473, 0.47571367025375366, -0.7645951509475708, -0.15483678877353668, -0.8612123727798462, -0.11918532848358154, -0.23715928196907043, -0.053118251264095306, -0.3030308485031128, -0.288976788520813, -0.45620113611221313, -0.7178700566291809, 0.16083382070064545, -0.10282808542251587, 0.7211012840270996, 0.46254250407218933, -0.3610391318798065, 0.0528656505048275, -0.5867002010345459, 0.935139000415802, -0.8142580986022949, 0.2671477198600769, 0.12845711410045624, 0.20138494670391083, -0.579771876335144, -1.0155372619628906, -0.5592184066772461, -0.06642857193946838, 0.14750492572784424, -0.04609072953462601, -0.2361484169960022, 0.2966400384902954, 0.07718713581562042, 0.4749865233898163, -0.4765447676181793, 0.5746136903762817, 0.07766003906726837, -0.05813111737370491, 0.5471298694610596, 0.3309023082256317, 0.29390329122543335, 0.16770340502262115, -0.192625492811203, 0.17558760941028595, -0.8215615749359131, -0.14851099252700806, 0.573321521282196, 0.39240461587905884, 0.039032772183418274, 0.43274903297424316, -0.8488135933876038, 0.782326877117157, -0.012966515496373177, -0.3853100538253784, 0.022984134033322334, -0.18032775819301605, -0.35021689534187317, -0.16191639006137848, 0.8007877469062805, 0.3023596704006195, 0.2225314825773239, -0.2689141631126404, -0.4030211269855499, 0.33261838555336, 0.21382376551628113, -0.8431132435798645, -0.16592693328857422, 0.17726051807403564, -0.25538989901542664, -0.5091943740844727, -0.32468968629837036, -0.4943479597568512, -0.04016934335231781, -0.3320486843585968, 0.1695026308298111, 0.012918969616293907, -0.29488787055015564, 0.25224775075912476, -0.051806047558784485, 0.056307971477508545, 0.4306294620037079, -1.0771830081939697, 0.17084360122680664, 0.8304375410079956, 0.6402385234832764, -0.36323797702789307, -0.5146169662475586, -0.5653899312019348, 0.2685402035713196, -0.5000327229499817, 1.035567283630371, -0.3674899637699127, -0.4373829960823059, 0.08613665401935577, 0.01961825042963028, 0.14111794531345367, -0.6169718503952026, 0.4076266288757324, -0.2822621762752533, -0.23381532728672028, -0.06168001890182495, -0.4844968914985657, -0.09067364782094955, 0.11706816405057907, -0.5075626373291016, 1.2211310863494873, 0.00919131375849247, -0.20739050209522247, 0.34837257862091064, -0.671768069267273, -0.5326184034347534, 0.19508470594882965, 0.04615405946969986, -0.2674049735069275, 0.41000857949256897, 0.12687785923480988, 0.6555265784263611, -0.3807784616947174, 0.4671729505062103, -0.39872631430625916, -0.6390005946159363, 0.13115626573562622, -0.314956933259964, 0.6768560409545898, 0.38198354840278625, -0.4931059181690216, 0.2798612713813782, -1.1575509309768677, 0.04558928683400154, -0.06286312639713287, -0.8471028208732605, -0.06814726442098618, -0.19311398267745972, 0.423612117767334, -0.20954596996307373, 0.4236925542354584, -0.4725148677825928, 0.33918678760528564, -0.23221251368522644, 0.37499263882637024, 0.8704025745391846, -0.23934923112392426, 0.38245493173599243, -0.14296074211597443, 0.4372446835041046, -0.28738975524902344, 0.12853072583675385, -0.21772557497024536, -0.39713147282600403, -1.2052969932556152, -0.34761548042297363, 0.1655556559562683, 0.351161926984787, -0.33843082189559937, 0.5879702568054199, -0.09340578317642212, -0.6280361413955688, -0.5061222314834595, 0.6762081980705261, 0.4502779245376587, 0.2733878493309021, 0.10283759981393814, -0.3071773946285248, -0.5705211162567139, -0.8687052130699158, -0.3660980463027954, -0.02066977694630623, -0.15110507607460022, -0.1055375412106514, 0.3540678322315216, -0.6573398113250732, 0.7704026699066162, -0.27840936183929443, -0.15969860553741455, -0.32520902156829834, -0.024402420967817307, 0.26074323058128357, 0.583293080329895, 0.4987327754497528, -0.25434139370918274, -0.31107670068740845, 0.44525039196014404, -0.7561551332473755, -0.406643271446228, -0.0557931512594223, -0.49795401096343994, 0.3199196755886078, 0.7735339403152466, -0.5087582468986511, 0.21443960070610046, 0.8929997086524963, -0.18329457938671112, 0.3958504796028137, -0.10826785117387772, -0.09475918114185333, -1.3124747276306152, 0.14398100972175598, -0.2044164538383484, -0.2870871424674988, -0.688387393951416, 0.23221099376678467, 0.08290688693523407, -0.012267302721738815, -0.40370798110961914, 0.46536776423454285, -0.3470892012119293, 0.04595481976866722, -0.4258597791194916, -0.05140897259116173, 0.06606123596429825, 0.6255922913551331, -0.2532689869403839, 0.8179835677146912, 0.43529120087623596, -0.7951142191886902, 0.42452266812324524, -0.0398046113550663, -0.6299232840538025, 0.35160115361213684, -0.5969254374504089, 0.11373237520456314, 0.16427414119243622, 0.00532217463478446, -0.9572185277938843, -0.4327806532382965, 0.057479411363601685, 0.1292593777179718, 0.023709913715720177, -0.016624024137854576, -0.5672502517700195, -0.1693408191204071, -0.13754668831825256, 0.08625569939613342, 0.44183433055877686, -1.0058985948562622, 0.5450372099876404, 0.3140425682067871, -0.011352057568728924, -0.40033653378486633, -0.5589123964309692, 0.2035524547100067, -0.20994628965854645, -0.26438993215560913, 0.18126894533634186, -0.3253212571144104, -0.05330463871359825, -0.1963062286376953, -0.07719473540782928, 0.057722434401512146, 0.6111170053482056, 0.33855655789375305, -0.043791115283966064, -0.3289259970188141, 0.24090808629989624, 0.5271444320678711, -0.29217326641082764, -0.2902239263057709, -0.2147487998008728, 0.5479905009269714, -0.23514370620250702, -0.313503623008728, -0.8197762966156006, 0.23047205805778503, 0.6113151907920837, -0.08209601044654846, 0.4063940644264221, 0.4663178622722626, -0.3140607178211212, -0.4806070029735565, -0.6389678716659546, 0.17108789086341858, -0.6057215929031372, 0.4980752170085907, -0.591298520565033, -1.0346652269363403, 0.3339623212814331, -0.7588715553283691, 0.3115929067134857, 0.3155735433101654, 0.8501076102256775, 0.08746226876974106, 1.0913368463516235, 0.9854122400283813, -0.10538847744464874, 0.4786355495452881, -0.0710822194814682, -0.012824439443647861, -0.6232386827468872, -0.16041260957717896, -0.6836454272270203, -0.26800477504730225, -0.6043757200241089, -0.10303495824337006, -0.061124492436647415, 0.40815386176109314, -0.4885140359401703, 0.4443681836128235, -0.5116081833839417, 0.7034352421760559, 0.6054693460464478, -0.11499486118555069, 0.763347864151001, 0.06156671792268753, 0.009490021504461765, 0.30811527371406555, -0.7688783407211304, -0.8424660563468933, 1.028938889503479, 0.08904724568128586, 0.9333459138870239, 0.1540641486644745, 0.7696135640144348, -0.12306466698646545, 0.5395514965057373, -0.7081326246261597, 0.7025137543678284, -0.18683768808841705, -0.520840048789978, -0.20699091255664825, -0.36183521151542664, -0.7871587872505188, 0.18666291236877441, -0.23837828636169434, -0.7226228713989258, 0.06913565844297409, 0.2504870891571045, -0.2932601869106293, 0.31329435110092163, -0.8576139211654663, 0.9109563827514648, -0.37506425380706787, -0.2145887017250061, -0.27270227670669556, 0.11169392615556717, 0.4117393493652344, -0.3600693941116333, 0.12366640567779541, -0.49562618136405945, -0.31115666031837463, 0.5208467841148376, -0.34508955478668213, 1.0895752906799316, 0.16340062022209167, -0.38660570979118347, 0.044201821088790894, 0.07274378836154938, 0.2906028628349304, 0.17295828461647034, -0.2130318582057953, 0.3194228708744049, -0.13732491433620453, -0.31998151540756226, -0.38188624382019043, 0.9705978035926819, -0.8693606853485107, -0.5232526063919067, 0.023394037038087845, -0.5403971076011658, -0.13929295539855957, 0.4082963466644287, 0.33164963126182556, 0.15827810764312744, -0.4952031672000885, 0.11035635322332382, 0.32050180435180664, -0.2881266176700592, 0.5619442462921143, 0.4068751037120819, -0.4070952236652374, -0.18794338405132294, 0.7395110726356506, -0.2900412976741791, 0.08120658993721008, 0.30692535638809204, 0.01822020299732685, 0.1450076848268509, -0.5851060748100281, -0.7948316335678101, -0.011881092563271523, -0.5871977806091309, -0.5510215163230896, -0.511790931224823, 0.11920236051082611, -0.1294955313205719, -0.24752630293369293, -0.7556829452514648, -0.42254507541656494, -0.5707661509513855, -0.07689649611711502, 0.5576047897338867, 1.0157393217086792, 0.10474072396755219, 0.7431822419166565, -0.6324253678321838, 0.35231298208236694, 0.5801252126693726, 0.7810583114624023, 0.10516270250082016, -0.3581118583679199, -0.3982265293598175, -0.01353340595960617, -0.331381618976593, -0.2713201642036438, 0.062021493911743164, 0.5314911603927612, 0.5604079365730286, 0.5291652679443359, -0.16372324526309967, 0.9920095801353455, -0.6193506121635437, 0.6442047953605652, 0.20108141005039215, -1.178483486175537, 0.5272523164749146, -0.24304161965847015, 0.5275396704673767, 0.6748776435852051, 0.16362103819847107, -0.29841145873069763, -0.4361470341682434, -0.2392113208770752, -0.9078840613365173, 0.46273770928382874, -0.14772765338420868, 0.41065672039985657, 0.10776219516992569, 0.5164637565612793, 0.43756383657455444, 0.14530062675476074, -0.5302059650421143, -0.06648436933755875, 0.02347375638782978, -0.34857839345932007, -0.15847492218017578, -0.23966044187545776, -0.14025937020778656, -0.37244653701782227, 0.7538749575614929, -0.38081786036491394, -0.07910886406898499, -0.47335100173950195, -0.2741834223270416, -0.36936262249946594, 0.1632537990808487, 0.3629060983657837, 0.5828200578689575, 0.09623436629772186, -0.026213020086288452, 0.5131657123565674, -0.3709781765937805, 0.19530782103538513, -0.14897342026233673, -0.04517519474029541, -0.05913889780640602, 0.4265962839126587, 0.8197668194770813, 0.39854979515075684, -0.8475164175033569, 0.10727148503065109, -0.26549652218818665, -0.2034665048122406, -0.04340613633394241, 0.6222640872001648, 0.33724722266197205, 0.38839006423950195, 0.2532614767551422, -0.13074229657649994, 0.19508406519889832, -0.3642813265323639, 0.03361897170543671, 0.23730650544166565, -0.006390116643160582, -0.1708652675151825, 0.7245556116104126, 0.36146795749664307, -0.2628432810306549, 0.4584948718547821, 0.009817463345825672, -0.19825470447540283, 0.363957941532135, 0.5935239195823669, 0.9273771643638611, -0.16080302000045776, 0.0675656646490097, 0.3398436903953552, 0.13837704062461853, -0.2641645669937134, 0.13518399000167847, -0.11827375739812851, -0.6244580149650574, -0.711163341999054, -1.1197031736373901, -0.5338254570960999, 0.14054900407791138, -0.4694795310497284, 0.23325645923614502, -0.4280339777469635, -0.16476477682590485, -0.13884882628917694, -0.20198805630207062, -0.5895954370498657, 0.03984857350587845, 0.1000683456659317, 0.9373428821563721, -0.7144344449043274, 0.8882318735122681, 0.790553867816925, -0.009168734773993492, -0.7329902052879333, -0.22777114808559418, -0.12610742449760437, -0.7517761588096619, 0.4335283935070038, 0.25759416818618774, -0.34448036551475525, 0.2974015474319458, -0.6243681907653809, -0.7451899647712708, 1.0583528280258179, 0.7232544422149658, -0.9767009615898132, 0.28398728370666504, 0.3454981744289398, 0.5158373713493347, -0.3679584860801697, -0.11885734647512436, 0.7702292203903198, 0.342663049697876, -0.23311665654182434, -0.8662241697311401, -0.0409613698720932, -0.4270443320274353, 0.4627223014831543, 0.002126600593328476, -0.638190507888794, 0.5111706256866455, -0.10862600803375244, -0.22165879607200623, 0.6238475441932678, 0.521587610244751, 0.2739271819591522, -0.0557011216878891, 0.3700014054775238, 0.795036792755127, 0.7806597352027893, -0.18482835590839386, 0.8723552227020264, -0.36083123087882996, 0.2339729517698288, 0.7959515452384949, -0.10777553915977478, 0.919456958770752, 0.4802500903606415, -0.06759587675333023, 0.48736149072647095, 0.5779602527618408, 0.18520522117614746, 0.4104668200016022, 0.290871262550354, -0.3157907724380493, -0.5310144424438477, -0.19230371713638306, -0.288204550743103, 0.6211991906166077, 0.16048434376716614, 0.10451886802911758, -0.17448602616786957, -0.017704278230667114, 0.11190591007471085, 0.10580367594957352, -0.2779093384742737, 0.9354258179664612, 0.13707804679870605, -0.4167400896549225, 0.7900084257125854, 0.21511632204055786, 0.897969126701355, -0.4345485270023346, 0.00486703822389245, -0.6221266388893127, 0.4697667062282562, -0.3084954023361206, -0.30026090145111084, -0.03420376032590866, 0.370471328496933, 0.05976078659296036, -0.27413246035575867, 0.5750312209129333, -0.3203085958957672, -0.5847194790840149, 0.35099881887435913, 0.5599735379219055, 0.028850652277469635, 0.03867250308394432, -0.4268854260444641, 0.5395956635475159, -0.00225406838580966, -0.5751623511314392, 0.4356520473957062, 0.6598321199417114, 0.15661314129829407, 0.6173169612884521, 0.9908312559127808, -0.023382335901260376, 0.017102038487792015, 0.17205817997455597, 0.8844533562660217, -0.5673720836639404, -0.2980581820011139, -0.7657949328422546, 0.5992381572723389, 0.0785437673330307, -0.6226886510848999, 0.7064054608345032, 0.6053853631019592, 1.1305489540100098, -0.20980846881866455, 0.8904067277908325, 0.22535352408885956, 0.2715734839439392, -0.4417124390602112, 0.8633180856704712, -0.8444476127624512, 0.40256160497665405, -0.28339052200317383, -1.1242287158966064, -0.590399980545044, 0.6450561881065369, 0.22373223304748535, 0.015781283378601074, 0.3057156503200531, 1.0317788124084473, -0.20741640031337738, -0.03114267997443676, 0.4511653482913971, 0.049666911363601685, 0.2472417652606964, 0.4802403450012207, 0.8008930683135986, -0.33047839999198914, 0.6704220771789551, -0.3951905369758606, -0.30715397000312805, -0.328463613986969, -0.981145441532135, -0.9326612949371338, -0.4019804298877716, -0.23066765069961548, 0.11905647814273834, 0.1631096452474594, 0.7400432229042053, 0.7116565108299255, -0.8447247743606567, -0.7254613637924194, -0.3897804021835327, 0.04129420965909958, -0.17975783348083496, -0.1105039194226265, 0.019257059320807457, -0.579800546169281, -1.0241650342941284, 0.4493781626224518, 0.3301510810852051, -0.061790671199560165, -0.1378597766160965, -0.2310674488544464, 0.08569801598787308, -0.14664000272750854, 0.6728385090827942, 0.1678653508424759, -0.4874562919139862, -0.14768670499324799, -0.15878425538539886, -0.2637503445148468, -0.17637962102890015, 0.6141775846481323, -0.664891242980957, 0.2090901881456375, 0.2423001527786255, 0.7746074795722961, 0.3918681740760803, -0.3099096715450287, 0.6786251664161682, -0.6295179724693298, 0.4128607213497162, -0.34689584374427795, 0.32252973318099976, 0.3533691167831421, -0.14686506986618042, 0.47275176644325256, 0.06416686624288559, -0.49067753553390503, -0.930168867111206, 0.285905659198761, -0.7323075532913208, -0.40544557571411133, 1.0276546478271484, 0.1628037840127945, -0.30878278613090515, -0.021897131577134132, -0.21289876103401184, 0.37233418226242065, -0.3207169771194458, 0.8137137293815613, 0.3528478741645813, -0.026638388633728027, 0.020679568871855736, -0.5353546142578125, 0.32649582624435425, 0.3451903164386749, -1.0133308172225952, 0.0633072480559349, 0.3374967873096466, 0.3314007818698883, -0.018467623740434647, 0.48505857586860657, 0.26608896255493164, 0.28084880113601685, -0.014105158858001232, 0.4962296783924103, -0.11173644661903381, -0.34675583243370056, -0.3143386244773865, -0.10037276893854141, 0.43175604939460754, -0.02025029808282852 ]
http://arxiv.org/abs/2403.13369v1
http://arxiv.org/pdf/2403.13369v1
Clinical information extraction for Low-resource languages with Few-shot learning using Pre-trained language models and Prompting
2024-03-20T08:01:33
2024-03-20T08:01:33
Phillip Richter-Pechanski, Philipp Wiesenbach, Dominic M. Schwab, Christina Kiriakou, Nicolas Geis, Christoph Dieterich, Anette Frank
cs.CL
cs.CL, cs.AI, cs.LG
Automatic extraction of medical information from clinical documents poses several challenges: high costs of required clinical expertise, limited interpretability of model predictions, restricted computational resources and privacy regulations. Recent advances in domain-adaptation and prompting methods showed promising results with minimal training data using lightweight masked language models, which are suited for well-established interpretability methods. We are first to present a systematic evaluation of these methods in a low-resource setting, by performing multi-class section classification on German doctor's letters. We conduct extensive class-wise evaluations supported by Shapley values, to validate the quality of our small training data set and to ensure the interpretability of model predictions. We demonstrate that a lightweight, domain-adapted pretrained model, prompted with just 20 shots, outperforms a traditional classification model by 30.5% accuracy. Our results serve as a process-oriented guideline for clinical information extraction projects working with low-resource.
[ -0.02870226837694645, -0.7111109495162964, 0.7079052329063416, -0.16418075561523438, -0.34004831314086914, -0.188174769282341, -0.3942924737930298, -0.5437374114990234, -0.053844746202230453, 0.42023393511772156, -0.42847099900245667, -0.4206535220146179, -0.9828629493713379, 0.17359577119350433, -0.12997090816497803, 0.9657068252563477, 0.018447428941726685, 0.4785720407962799, -0.19188816845417023, -0.1004558801651001, -0.2934154272079468, -0.27356722950935364, -0.4935271441936493, -0.3028195798397064, 0.4807896018028259, 0.8122749924659729, 0.4678068459033966, 0.7865259051322937, 0.7690661549568176, 0.2033284455537796, 0.33351752161979675, -0.060549162328243256, -0.30072709918022156, -0.14074666798114777, 0.0521821528673172, -0.4063103199005127, -0.5420311689376831, 0.13180013000965118, 0.36054426431655884, 0.8695859909057617, -0.06259430944919586, 0.2584068477153778, 0.15706323087215424, 0.6560719609260559, -0.838529646396637, 0.2621125876903534, -0.4437195062637329, 0.11281680315732956, -0.4025718867778778, -0.44724786281585693, -0.6058130860328674, -0.2926991879940033, 0.4548967480659485, -0.5399385094642639, 0.41796696186065674, -0.05867723375558853, 0.7892788648605347, 0.053121037781238556, -0.05854574218392372, -0.5737005472183228, -0.4836677312850952, 0.7437682747840881, -0.4572458267211914, 0.33669406175613403, 0.7801900506019592, 0.37066319584846497, 0.19281217455863953, -0.9105328917503357, -0.29551389813423157, -0.19744224846363068, -0.20001935958862305, 0.24227875471115112, -0.39276909828186035, 0.14541037380695343, 0.3912835717201233, 0.09674271196126938, -0.5582898855209351, 0.35279175639152527, -0.722364068031311, -0.19878362119197845, 0.4794541895389557, 0.09705124795436859, 0.25645583868026733, -0.2776133120059967, -0.22801294922828674, 0.01499032974243164, -0.6669054627418518, -0.0459938570857048, 0.011782941408455372, 0.44390785694122314, -0.33578577637672424, 0.3708229660987854, -0.27107104659080505, 0.6510903239250183, 0.059647802263498306, -0.3669873774051666, 0.13359703123569489, -0.12406698614358902, -0.21540799736976624, 0.11830583214759827, 0.9024651646614075, 0.0058146193623542786, 0.1576637625694275, -0.058169201016426086, -0.10290082544088364, -0.27463075518608093, 0.33515191078186035, -0.8870536684989929, -0.6843971014022827, 0.13699090480804443, -0.9716570973396301, -0.4542692303657532, -0.2584964632987976, -0.9961920380592346, -0.5515144467353821, -0.07167156040668488, 0.3647860586643219, -0.566421389579773, -0.04193580150604248, 0.05818334221839905, -0.0005209598457440734, 0.0424853079020977, 0.652621328830719, -0.9148201942443848, 0.40254783630371094, 0.19124868512153625, 0.8666435480117798, -0.5149945020675659, -0.02349565550684929, -0.7542234063148499, -0.05369209498167038, -0.03209665045142174, 1.0262945890426636, -0.5765069127082825, -0.44836118817329407, 0.07627052068710327, 0.12705974280834198, -0.14131268858909607, -0.6716156601905823, 0.43609505891799927, -0.29933682084083557, 0.3644014000892639, -0.09907744824886322, -0.37128904461860657, 0.11671346426010132, 0.07415580749511719, -0.783307671546936, 0.6053229570388794, 0.4179694354534149, -0.5693709254264832, 0.5893234610557556, -0.6467564105987549, -0.5075104832649231, 0.5776985287666321, -0.26647835969924927, -0.36437368392944336, 0.23198796808719635, 0.2481951117515564, 0.4752449095249176, -0.5087212324142456, -0.00967282336205244, -0.16330327093601227, -0.08610058575868607, -0.006850311066955328, -0.5233584642410278, 0.8263229727745056, 0.43467146158218384, -0.006389437709003687, -0.08526358008384705, -0.8425696492195129, 0.20566463470458984, 0.3453226685523987, -0.29200243949890137, -0.27705851197242737, -0.38589030504226685, 0.08619125932455063, 0.24901920557022095, 0.07948578149080276, -0.2856236398220062, 0.23362724483013153, -0.2093791365623474, 0.10997507721185684, 0.4099180996417999, 0.17148424685001373, 0.44559210538864136, -0.3383863568305969, 1.0186337232589722, 0.10388211905956268, 0.22500528395175934, -0.10584475100040436, -0.3589913547039032, -0.5073314309120178, -0.6153376698493958, 0.3795563578605652, 0.5556307435035706, -0.8326173424720764, 0.09695535153150558, -0.35973459482192993, -0.48538339138031006, -0.7764022946357727, 0.25728729367256165, 0.5384482145309448, 0.7315912842750549, 0.4082143008708954, -0.5683987140655518, -0.3286709487438202, -0.621219277381897, -0.14108115434646606, -0.1815643608570099, 0.06729558855295181, 0.4063369035720825, 0.44843605160713196, -0.09736060351133347, 0.6628656387329102, -0.6263988614082336, -0.3237139880657196, -0.47385671734809875, 0.38846567273139954, 0.0747729241847992, 0.4617779552936554, 0.3709152638912201, -0.4775293171405792, -0.5997733473777771, -0.017476139590144157, -0.8087895512580872, -0.18800093233585358, -0.038429852575063705, 0.056625138968229294, -0.015488269738852978, 0.21952399611473083, -0.24850307404994965, 0.49156448245048523, 0.3360495865345001, 0.30098071694374084, 0.46887075901031494, -0.22048991918563843, 0.0067519270814955235, -0.7720444202423096, 0.2642868161201477, 0.023428253829479218, -0.3810921907424927, -0.7634524703025818, -0.3388848602771759, 0.12524697184562683, -0.33012038469314575, -0.7006178498268127, 0.8215636014938354, -0.5707396268844604, 0.22188283503055573, -0.4253115653991699, -0.025654347613453865, 0.12810379266738892, 0.1728857457637787, 0.4218692183494568, 0.5693122744560242, 0.5792004466056824, -0.5609886646270752, 0.22757986187934875, 0.36687254905700684, -0.3771379888057709, 0.5242791175842285, -0.34241199493408203, 0.24004648625850677, -0.20499254763126373, -0.14411084353923798, -0.4238084554672241, -0.4534826874732971, 0.2965390384197235, -0.1943654716014862, 0.48225846886634827, -0.5465835928916931, -0.3573859632015228, -0.1589980572462082, -0.06895428895950317, 0.30975961685180664, 0.5602935552597046, -0.3001098036766052, 0.10116501897573471, 0.515392005443573, -0.5796360969543457, -0.4939385652542114, -0.38083645701408386, -0.20168374478816986, 0.0029674500692635775, -0.10378535091876984, -0.016382265836000443, 0.19679833948612213, -0.1443643569946289, 0.0695178210735321, -0.03521261736750603, -0.6521415114402771, 0.16247422993183136, 0.21979404985904694, 0.49184828996658325, -0.3460852801799774, 0.09574726223945618, 0.06921619176864624, -0.20105616748332977, -0.09400174021720886, -0.09179418534040451, 0.39692604541778564, -0.0740523487329483, -0.48766207695007324, -0.651022732257843, 0.35586586594581604, 0.11443277448415756, 0.039717432111501694, 0.5183382034301758, 0.5825818777084351, -0.6286872029304504, -0.06551523506641388, -0.45382484793663025, -0.45177796483039856, -0.4089321792125702, 0.36784622073173523, -0.16321247816085815, -0.58318030834198, 0.1264365315437317, -0.3398759961128235, -0.2974604070186615, 0.5237067937850952, 0.5369089245796204, -0.3509882092475891, 0.8648281693458557, 0.7839081883430481, 0.10216589272022247, 0.46744394302368164, -0.026287756860256195, -0.25566527247428894, -0.2662164270877838, -0.11505737900733948, -0.6091792583465576, 0.07099949568510056, -0.39609295129776, -0.038019221276044846, 0.6046192646026611, 0.19456003606319427, 0.45254379510879517, 0.019798854365944862, -0.46422627568244934, 0.4893784821033478, 0.3628617525100708, 0.29773929715156555, 0.31748753786087036, 0.1368882656097412, 0.22459807991981506, -0.12624956667423248, -0.9195734858512878, -0.5489785075187683, 1.1069092750549316, 0.1629265993833542, 0.8465090990066528, -0.1559518277645111, 0.8536657094955444, 0.33428099751472473, 0.508120596408844, -1.0590908527374268, 0.13247761130332947, -0.35040003061294556, -0.5676720142364502, -0.23817934095859528, -0.28504887223243713, -1.1086496114730835, 0.027800628915429115, -0.6027929186820984, -0.700516939163208, 0.2662208676338196, 0.053731970489025116, -0.8336074948310852, -0.09785302728414536, -0.8525110483169556, 0.9850103259086609, -0.32331424951553345, -0.1926126629114151, 0.01868303306400776, -0.8134313821792603, 0.3123258054256439, -0.31959226727485657, 0.2367098033428192, -0.14644543826580048, 0.17117835581302643, 0.767748236656189, -0.41675230860710144, 0.8848739266395569, -0.30311480164527893, 0.35371437668800354, 0.14293107390403748, 0.03217220678925514, 0.41890260577201843, -0.23778189718723297, 0.017553092911839485, 0.19469937682151794, 0.5674675703048706, -0.5927265286445618, -0.48047545552253723, 0.13921700417995453, -0.6100701689720154, -0.3078070878982544, -0.5894387364387512, -0.3383735716342926, -0.42415618896484375, 0.48253583908081055, 0.6328191161155701, 0.4973980486392975, -0.3337629735469818, -0.05378257483243942, 0.5038371086120605, -0.30923643708229065, 0.2886253595352173, 0.5964615345001221, 0.26615795493125916, -0.23286932706832886, 0.8333609104156494, 0.05739886686205864, 0.33804333209991455, 0.12261512130498886, 0.407920241355896, -0.11992108076810837, -0.9421390891075134, -0.5424721837043762, 0.1684332638978958, -0.9221410751342773, -0.10643356293439865, -0.5198631286621094, -0.28609007596969604, -0.48741376399993896, -0.09707697480916977, -0.2404579073190689, -0.404125839471817, -0.4560372531414032, 0.23178528249263763, 0.08342074602842331, 0.7000108361244202, 0.10233244299888611, 0.626913845539093, -1.3581899404525757, 0.2472037672996521, 0.08319894224405289, 0.12762250006198883, -0.33871710300445557, -0.5883603692054749, -0.5604901313781738, -0.536392331123352, -0.11805982142686844, -0.9856018424034119, 0.5025019645690918, 0.3426497280597687, 0.5701085925102234, 0.6533419489860535, 0.17750918865203857, 0.8589100241661072, -0.5470550060272217, 0.5066754221916199, 0.3555600941181183, -0.6817222237586975, 0.7524535059928894, -0.018106648698449135, 0.11395693570375443, 1.1117745637893677, 0.5801674127578735, -0.3603987395763397, 0.034319303929805756, -0.7474240660667419, -0.32564830780029297, 1.0337939262390137, -0.30536720156669617, -0.1485545039176941, 0.12731727957725525, 0.4389589726924896, 0.5675274729728699, 0.09736176580190659, -0.49380427598953247, -0.0854206457734108, 0.1466134786605835, -0.5245201587677002, 0.13262422382831573, -0.2936941981315613, -0.2963801622390747, -0.00778775941580534, 0.48099690675735474, -0.3723086416721344, 0.1703023761510849, 0.1368875801563263, -0.6847320795059204, -0.1571439653635025, 0.399836003780365, 0.5140576958656311, 0.7886933088302612, -0.1518094837665558, 0.28062132000923157, 0.2720702886581421, -0.8571474552154541, 0.010787014849483967, 0.20424799621105194, 0.011250359006226063, 0.10743987560272217, 0.8094087839126587, 0.6149299740791321, 0.05319712311029434, -0.7101451754570007, 0.9722340106964111, -0.17675122618675232, -0.08645285665988922, -0.08906316757202148, 0.01896495185792446, -0.6071817278862, 0.031206386163830757, 0.05277760699391365, 0.05808524042367935, 0.21611982583999634, -0.26248499751091003, 0.25041788816452026, 0.3915691077709198, -0.5884121060371399, -0.4460689425468445, 0.4344347417354584, 0.025419292971491814, -0.005828241351991892, 0.5437849164009094, -0.14282453060150146, 0.0024014213122427464, 0.1265973448753357, 0.4315761625766754, 0.7118352055549622, -0.08456697314977646, 0.3464435636997223, 0.254070907831192, 0.15375562012195587, -0.2667783796787262, 0.3807401955127716, -0.2117859572172165, -0.5616799592971802, -0.3155263662338257, -0.3693164885044098, -0.5464721918106079, 0.19279173016548157, -0.9844799637794495, 0.48868492245674133, -0.604762852191925, -0.11618269979953766, 0.23727336525917053, 0.07575586438179016, -0.8815646171569824, 0.2625679671764374, 0.1553121954202652, 0.8431280255317688, -0.9189679026603699, 1.2036298513412476, 0.6206058263778687, -0.5708322525024414, -0.50370854139328, -0.0730745792388916, 0.25726819038391113, -1.1968262195587158, 0.7790122628211975, 0.03380488604307175, -0.011988883838057518, -0.1781489998102188, -0.675517737865448, -0.42964184284210205, 0.8211020827293396, 0.4196051061153412, -0.3924237787723541, -0.15022395551204681, 0.08623704314231873, 0.4580070674419403, -0.22440911829471588, 0.24233894050121307, 0.5332458019256592, 0.1782265454530716, 0.0442451573908329, -0.9296666383743286, 0.07969773560762405, -0.21756833791732788, -0.5821459293365479, -0.19183151423931122, -0.0650784969329834, 0.5186028480529785, -0.2909890413284302, -0.3552306294441223, -0.1473526507616043, 0.2103901356458664, 0.10654351860284805, 0.40226757526397705, 0.4431656301021576, 0.01806294545531273, 1.1896681785583496, 0.04682525619864464, 1.0850603580474854, -0.32329776883125305, 0.12517382204532623, 0.9748400449752808, -0.40047183632850647, 0.6716110706329346, 0.3224826157093048, -0.21866030991077423, 0.35566896200180054, 0.5640510320663452, 0.05746699497103691, 0.6292251944541931, -0.2736020088195801, -0.3176089823246002, -0.2407933473587036, -0.3268129229545593, -0.2435554414987564, 0.5258656144142151, 0.3038536310195923, -0.4853237271308899, -0.044547341763973236, 0.12415934354066849, 0.04302211478352547, -0.47939565777778625, -0.21089722216129303, 1.162449836730957, 0.27261778712272644, -0.5172326564788818, 0.6022458076477051, -0.14009487628936768, 0.20365040004253387, -0.6363142132759094, -0.03535904362797737, 0.11349337548017502, 0.012883047573268414, -0.36386221647262573, -0.3186842203140259, -0.012445648200809956, 0.26586678624153137, -0.17172199487686157, -0.3043667674064636, 0.997614324092865, -0.3331106901168823, -0.40266770124435425, -0.1355302780866623, 0.9537532329559326, 0.5008534789085388, 0.06630853563547134, -0.7264176607131958, -0.22300708293914795, -0.21296878159046173, 0.03656643256545067, 0.6098770499229431, 0.5110486745834351, -0.03387143462896347, 0.27496665716171265, 0.7130849957466125, 0.6423662304878235, -0.07389029860496521, 0.11666512489318848, 0.7294027209281921, -0.6478469371795654, -0.33850032091140747, -0.8851767778396606, 0.20993366837501526, -0.061027709394693375, -0.20046302676200867, 0.3603690564632416, 0.5043885111808777, 0.36885854601860046, -0.16905106604099274, 0.9594993591308594, 0.18496263027191162, 0.4131525158882141, -0.7602092027664185, 0.9049152731895447, -0.38947194814682007, -0.026623325422406197, -0.19669802486896515, -0.3333861529827118, -0.3708808124065399, 0.4926663935184479, -0.2818322777748108, -0.1971885859966278, 1.0033726692199707, 0.48308107256889343, -0.11765100061893463, 0.10731757432222366, 0.41252532601356506, -0.0620904266834259, 0.06296346336603165, 0.4522841274738312, 0.634964108467102, -0.19727832078933716, 0.527416467666626, -0.41940003633499146, -0.43397799134254456, -0.29578936100006104, -0.8282710909843445, -0.782985508441925, -0.3420310616493225, -0.4637908637523651, -0.4773646295070648, -0.1581692099571228, 1.192366600036621, 1.1115012168884277, -0.9721094965934753, 0.13277456164360046, 0.4210672378540039, -0.024201462045311928, -0.14639271795749664, -0.1510724127292633, 0.6972987055778503, -0.43931716680526733, -0.5781556367874146, 0.5797082185745239, 0.28389880061149597, 0.20995737612247467, 0.09758441895246506, 0.023976044729351997, 0.20384809374809265, -0.36924073100090027, 0.41898778080940247, 0.5846335887908936, -0.3935445249080658, -0.017125563696026802, -0.08721659332513809, -0.455226331949234, 0.419219970703125, 0.7951428294181824, -0.6228106617927551, 0.7409852147102356, 0.3419850766658783, 0.7391801476478577, 0.5649594664573669, 0.033096253871917725, 0.19039031863212585, -0.8026641011238098, 0.38673335313796997, 0.4092864394187927, 0.25794559717178345, 0.10121896117925644, -0.24612994492053986, 0.3034667670726776, 0.37033429741859436, -0.17826400697231293, -0.8677429556846619, 0.13374082744121552, -0.8806130290031433, -0.07826737314462662, 1.031438946723938, -0.28826040029525757, -0.3220374882221222, -0.40037259459495544, -0.14122149348258972, 0.2114357203245163, -0.2601567208766937, 0.7082757949829102, 0.7291750311851501, -0.5060718655586243, -0.4377870261669159, -0.8513971567153931, 0.8270036578178406, 0.15279841423034668, -1.1999942064285278, -0.07189233601093292, 0.46427229046821594, 0.28238219022750854, 0.006492967251688242, 1.1529817581176758, -0.38525912165641785, 0.42698124051094055, -0.09284047037363052, 0.09319208562374115, 0.051130205392837524, -0.23694391548633575, -0.7950335741043091, 0.2646946310997009, 0.30939072370529175, -0.14443156123161316 ]
http://arxiv.org/abs/2403.13368v1
http://arxiv.org/pdf/2403.13368v1
Computational Models to Study Language Processing in the Human Brain: A Survey
2024-03-20T08:01:22
2024-03-20T08:01:22
Shaonan Wang, Jingyuan Sun, Yunhao Zhang, Nan Lin, Marie-Francine Moens, Chengqing Zong
cs.CL
cs.CL, cs.AI
Despite differing from the human language processing mechanism in implementation and algorithms, current language models demonstrate remarkable human-like or surpassing language capabilities. Should computational language models be employed in studying the brain, and if so, when and how? To delve into this topic, this paper reviews efforts in using computational models for brain research, highlighting emerging trends. To ensure a fair comparison, the paper evaluates various computational models using consistent metrics on the same dataset. Our analysis reveals that no single model outperforms others on all datasets, underscoring the need for rich testing datasets and rigid experimental control to draw robust conclusions in studies involving computational models.
[ -0.23238889873027802, -0.9248731136322021, 0.5819092988967896, 0.27208054065704346, 0.1799987405538559, -0.10857610404491425, -0.47622451186180115, -0.8461447954177856, -0.002961378078907728, 0.5168873071670532, -0.4026833474636078, -0.1376064419746399, -0.5802950859069824, 0.11788307130336761, -0.6333101987838745, 0.5404781103134155, 0.3035343885421753, 0.5452896952629089, -0.3726053535938263, 0.06746535003185272, -0.4291255474090576, -0.7258843779563904, -0.7452942132949829, -0.6422183513641357, 0.4476827383041382, 0.0017078111413866282, 0.7355104684829712, 0.5207738876342773, 0.550830602645874, 0.29437804222106934, -0.324109822511673, -0.3178190588951111, -0.10295549035072327, -0.01981223002076149, -0.10856683552265167, -0.6172919273376465, -0.45711907744407654, 0.12954343855381012, 0.5210692882537842, 1.449276089668274, -0.17288196086883545, -0.12607093155384064, -0.09507734328508377, 0.4456539750099182, -0.5166575312614441, 0.11536750197410583, -0.4768705368041992, -0.12026335299015045, -0.37595587968826294, 0.22305989265441895, -0.3265839219093323, -0.43991267681121826, 0.2740342617034912, -0.24928432703018188, 0.34485962986946106, 0.05834401398897171, 0.37225043773651123, -0.10708118230104446, -0.37618595361709595, -0.11732930690050125, -0.6961245536804199, 0.7797597646713257, -0.7402485609054565, 0.7170960903167725, 0.8310228586196899, 0.17542307078838348, -0.014399254694581032, -0.7408437728881836, -0.5204721689224243, -0.6874250769615173, 0.014644507318735123, -0.37012770771980286, -0.29357200860977173, 0.11237931996583939, 0.23193781077861786, 0.14765506982803345, -0.6798842549324036, 0.2577085793018341, -0.627249538898468, -0.32201817631721497, 0.4648740589618683, 0.4651370048522949, 0.6928030252456665, -0.029928652569651604, 0.12433309108018875, -0.12290676683187485, -0.6282272338867188, 0.11002269387245178, 0.41600990295410156, 0.33741042017936707, 0.12090271711349487, 0.5926945209503174, -0.2052072435617447, 1.0022268295288086, -0.41330593824386597, 0.2713243067264557, -0.04922684654593468, -0.19209998846054077, -0.14261145889759064, -0.21745958924293518, 0.6173709630966187, 0.3430978059768677, 0.41523799300193787, -0.4377124309539795, -0.24940644204616547, 0.41546598076820374, 0.49276241660118103, -0.5822712182998657, -0.43510252237319946, 0.08560482412576675, -0.49164167046546936, -0.19949370622634888, -0.2551557123661041, -0.6653559803962708, -0.47867628931999207, -0.3588939309120178, -0.18634796142578125, -0.39180341362953186, -0.40740668773651123, 0.17574389278888702, -0.1427035927772522, 0.0836251899600029, 0.019374197348952293, -1.0230913162231445, 0.8405000567436218, 0.524691104888916, 0.7577887773513794, -0.46970516443252563, -0.5335153341293335, 0.1528303474187851, -0.34814611077308655, -0.5108752846717834, 1.1052998304367065, -0.6301066875457764, -0.3706478774547577, -0.02315596491098404, -0.1388334035873413, -0.07959689199924469, -0.5926613211631775, 0.5119252800941467, -0.666664183139801, 0.0949467346072197, -0.5169821381568909, -0.4458305835723877, -0.292954683303833, 0.055680159479379654, -0.7178786396980286, 0.541339635848999, 0.15360498428344727, -0.9500805139541626, 0.0831044465303421, -0.6289770007133484, -0.417446494102478, 0.08147412538528442, -0.2852602005004883, -0.22552219033241272, 0.4221998453140259, -0.03952277451753616, 0.16183708608150482, -0.5590438842773438, 0.360642671585083, -0.5577813386917114, -0.5321260690689087, 0.679345428943634, -0.40615975856781006, 1.191258192062378, 0.33330726623535156, -0.014622832648456097, -0.1470262110233307, -0.39638036489486694, 0.2412968873977661, 0.1777287870645523, -0.22455371916294098, -0.31436997652053833, 0.37782028317451477, 0.6399686932563782, 0.06558219343423843, 0.06428197026252747, -0.7684929370880127, 0.2448851615190506, -0.5212690830230713, 0.6430533528327942, 0.2349299043416977, -0.21324636042118073, 0.4843752086162567, -0.3947214186191559, 0.5635141730308533, -0.27791205048561096, -0.1555594950914383, 0.05521513894200325, -0.4895634353160858, -0.380866140127182, -0.03489072993397713, 0.6341464519500732, 0.5172097682952881, -0.14299379289150238, 0.01403297483921051, 0.02388867922127247, -0.25018465518951416, -0.5372493863105774, -0.4130154848098755, 0.27742284536361694, 0.3987205922603607, 0.28351110219955444, -0.5246818661689758, -0.7373558282852173, -1.0693694353103638, -0.44262009859085083, -0.30267709493637085, -0.13185350596904755, 0.3026612102985382, 0.3743959367275238, -0.13088159263134003, 1.0326004028320312, -0.6497769951820374, 0.17695702612400055, -0.23805592954158783, 0.3649185597896576, -0.23278376460075378, 0.39072662591934204, 0.6539487838745117, -0.7802740931510925, -0.1356843262910843, 0.06374090909957886, -0.8157217502593994, -0.20366445183753967, 0.3082581162452698, 0.37105390429496765, 0.15780162811279297, 0.498776376247406, -0.49326181411743164, 0.5411255955696106, 0.502487301826477, -0.33528757095336914, 0.5882384777069092, -0.17960712313652039, 0.40498489141464233, -0.45753124356269836, 0.2920651435852051, -0.08293063938617706, -0.03746236115694046, -0.9661685824394226, 0.03378923609852791, 0.08521057665348053, -0.10827895253896713, -0.2575903534889221, 0.48239433765411377, -0.43874964118003845, -0.2008691281080246, -0.8547379374504089, -0.28250929713249207, -0.38542431592941284, 0.3817315101623535, 0.17053745687007904, 0.5058675408363342, 0.7655417919158936, -0.4529997408390045, 0.05544215813279152, 0.036207254976034164, -0.5660734176635742, 0.15678554773330688, -0.9260238409042358, 0.2718517780303955, -0.39016610383987427, 0.03825792670249939, -1.1847624778747559, -0.25127577781677246, 0.12502484023571014, -0.6000251770019531, 0.11695273220539093, 0.11642909049987793, -0.3586699366569519, -0.3309398591518402, 0.025350496172904968, 0.41032472252845764, 0.5797019004821777, 0.07732541114091873, 0.3622890114784241, 0.8089746832847595, -0.2370515614748001, -0.2883557081222534, -0.9512147903442383, 0.13596850633621216, -0.08268707245588303, -0.5068328380584717, 0.5302734971046448, -0.32413601875305176, -0.47709226608276367, -0.18207837641239166, 0.16126109659671783, -0.5442878603935242, 0.20314475893974304, 0.22859704494476318, 0.17012640833854675, -0.0376976914703846, -0.12331382930278778, -0.16754759848117828, 0.13950277864933014, 0.32870396971702576, 0.06152266263961792, 0.5614189505577087, -0.01561686024069786, -0.1109275296330452, -0.47176334261894226, 0.6131775379180908, 0.5847222805023193, -0.23899345099925995, 0.5619738101959229, 0.05327541381120682, -0.7856160402297974, 0.20564210414886475, -0.45868054032325745, -0.52604740858078, -0.3627317249774933, 0.6179655194282532, -0.3726778030395508, -0.9412831664085388, 0.560373067855835, -0.06460801512002945, -0.15808555483818054, 0.12097720801830292, 0.6169283390045166, -0.2567046880722046, 1.3318804502487183, 0.7775565981864929, -0.14518433809280396, 0.4119194447994232, 0.05145859718322754, 0.18641690909862518, -0.6833087801933289, 0.050696294754743576, -0.9551628232002258, -0.049194950610399246, -0.5680004358291626, 0.0312048252671957, 0.1420263946056366, -0.024356495589017868, 0.06662473827600479, 0.11387963593006134, -0.39556148648262024, 0.5954505205154419, -0.008910204283893108, -0.058925237506628036, 0.09165098518133163, 0.0395490936934948, -0.25854113698005676, -0.1196734756231308, -0.6687944531440735, -0.49081721901893616, 0.9452153444290161, 0.1634337157011032, 0.5692822933197021, -0.4168716371059418, -0.06303421407938004, 0.35322126746177673, 0.4883297383785248, -0.45718005299568176, 0.5706059336662292, -0.07124761492013931, -1.0108921527862549, -0.26034805178642273, -0.24488581717014313, -1.3135745525360107, 0.3520537316799164, -0.11723653972148895, -0.9467726349830627, 0.1386784315109253, 0.13882750272750854, -0.23119622468948364, 0.1619885116815567, -0.6748115420341492, 0.7673558592796326, -0.0618259496986866, -0.11562616378068924, -0.32100000977516174, -0.5700923204421997, 0.5023038983345032, -0.04394187778234482, 0.305402547121048, 0.09493279457092285, 0.12273180484771729, 0.6902688145637512, 0.11848558485507965, 0.7598217725753784, 0.03465554118156433, 0.21545474231243134, 0.35930678248405457, 0.17342069745063782, -0.07125528156757355, -0.29622262716293335, -0.21205481886863708, 0.5279068946838379, 0.12434913218021393, -0.4322049915790558, -0.43955349922180176, 0.6705257296562195, -0.8003785014152527, -0.37182700634002686, -0.598114550113678, -0.7369828224182129, -0.1346251666545868, 0.10060130804777145, 0.3488680124282837, 0.24452929198741913, -0.5156146287918091, 0.012244278565049171, 0.3419812321662903, -0.011834804899990559, 0.47228071093559265, 0.3807101547718048, -0.3029422461986542, -0.3045947849750519, 0.6940587759017944, 0.2618863582611084, 0.08505215495824814, 0.044601377099752426, 0.09100820869207382, -0.17722088098526, -0.8305475115776062, -0.2711486518383026, 0.23297259211540222, -0.36345645785331726, 0.2391362488269806, -0.6351225972175598, -0.1083441898226738, -0.4583469331264496, 0.028086908161640167, -0.44881972670555115, -0.31004199385643005, 0.07141254842281342, 0.2856915295124054, 0.0489322654902935, 0.9047037363052368, 0.1426660418510437, 0.3912908136844635, -0.465983510017395, 0.29437753558158875, 0.22236141562461853, 0.4852456748485565, 0.2892145812511444, -0.21422703564167023, -0.303931325674057, 0.39562132954597473, -0.2542828619480133, -1.083682894706726, 0.5830400586128235, -0.07478297501802444, 0.7085838317871094, -0.07090498507022858, -0.5751484632492065, 0.38434603810310364, -0.5296919345855713, 0.8049594163894653, 0.006950720213353634, -0.7620338201522827, 0.3150784373283386, -0.44258537888526917, 0.3999052345752716, 0.49877986311912537, 0.587583065032959, -0.7225972414016724, -0.07878615707159042, -0.4530338943004608, -0.48146194219589233, 0.6198312640190125, 0.3137868642807007, -0.1817644089460373, -0.021093418821692467, 0.525628387928009, 0.05659710243344307, -0.029239444062113762, -0.43854835629463196, -0.16943182051181793, 0.2735033631324768, 0.06922715902328491, -0.0856551006436348, 0.10030078887939453, 0.19956834614276886, -0.35379987955093384, 0.15286286175251007, -0.06374415755271912, 0.4080491364002228, -0.053708236664533615, -0.03336748480796814, -0.17950887978076935, 0.11938758194446564, 0.4325256943702698, 0.7599164247512817, -0.1692138910293579, 0.08349445462226868, 0.3417879045009613, -0.7225700616836548, 0.005468768998980522, -0.04974847286939621, -0.14813444018363953, -0.4098203778266907, 0.13428692519664764, 0.40563324093818665, 0.01790286786854267, -0.884910523891449, 0.302172988653183, -0.5656356811523438, -0.21289917826652527, -0.09024591743946075, 0.04783004894852638, 0.44822072982788086, 0.024653317406773567, 0.021746376529335976, 0.46332430839538574, 0.41891005635261536, -0.46667593717575073, -0.01346937008202076, 0.5478378534317017, -0.28377246856689453, -0.6127287745475769, 0.5833788514137268, -0.285258024930954, -0.7046602368354797, 1.2263920307159424, 0.22212332487106323, -0.36966443061828613, 0.6523304581642151, 0.6674551367759705, 0.8912000060081482, -0.24473950266838074, -0.2593677043914795, 0.038135919719934464, 0.26552167534828186, -0.3651511073112488, 0.511411726474762, 0.05422374606132507, -0.7498005628585815, -0.5847331285476685, -0.5197275876998901, -0.44240742921829224, 0.1250239908695221, -0.45850613713264465, 0.11761034280061722, -0.10950961709022522, -0.45403552055358887, 0.44281524419784546, -0.174911767244339, -0.5194547772407532, 0.37612611055374146, 0.4734414219856262, 0.667971670627594, -0.8988815546035767, 1.1568951606750488, 0.9545367956161499, -0.3355250060558319, -0.1785522699356079, -0.2454790472984314, -0.21882669627666473, -0.1998673677444458, 0.3759993612766266, -0.07776712626218796, -0.2297508716583252, -0.1570930778980255, -0.9435092210769653, -0.7963695526123047, 0.5405995845794678, 0.5307174921035767, -0.24418099224567413, -0.17150604724884033, 0.17911651730537415, 0.8317142724990845, -0.4652649462223053, 0.4732315242290497, 0.8131890296936035, 0.28023284673690796, -0.22478364408016205, -0.868807315826416, -0.4072973430156708, -0.5275158286094666, 0.21342073380947113, 0.11858683079481125, -0.38990578055381775, 1.0722092390060425, -0.15818177163600922, -0.09239264577627182, 0.1246054619550705, 0.7692286968231201, 0.5938639640808105, 0.2245997190475464, 0.43889766931533813, 0.4014989137649536, 0.6765047907829285, 0.12497606128454208, 1.2381876707077026, -0.2825765609741211, 0.236753910779953, 0.8876285552978516, -0.3325304687023163, 0.6976956129074097, 0.44836610555648804, -0.37655824422836304, 0.2722868323326111, 0.5313141345977783, 0.29187509417533875, 0.32526177167892456, 0.5283074378967285, 0.06946311891078949, -0.2635248005390167, -0.06625352054834366, 0.081271693110466, 0.586053192615509, 0.4323044419288635, -0.10634807497262955, -0.03448585048317909, 0.10549134016036987, -0.04263104125857353, 0.31577959656715393, -0.14230631291866302, 0.3048458397388458, 0.08717838674783707, -0.8648446202278137, 0.5159593820571899, 0.3370611071586609, 0.7118911147117615, -0.5102552175521851, -0.10422269254922867, -0.06453101336956024, 0.056209199130535126, 0.10160258412361145, -0.6056955456733704, 0.6475105285644531, 0.12972307205200195, -0.2489759474992752, -0.2941955626010895, 0.971866250038147, -0.17285174131393433, -0.2864975929260254, 0.26903682947158813, 0.536624550819397, 0.435003399848938, -0.20645999908447266, -0.5375190377235413, 0.28137755393981934, -0.15196938812732697, -0.28674396872520447, 0.5584593415260315, -0.2009287327528, -0.42026954889297485, 0.7060352563858032, 0.650208055973053, 0.3278610110282898, 0.2264554351568222, 0.041101276874542236, 0.7198021411895752, -1.0267369747161865, -0.4303409159183502, -0.9065872430801392, 0.28309980034828186, 0.020082803443074226, -0.3926190435886383, 0.534096896648407, 0.5581737160682678, 0.7986944317817688, -0.1035582423210144, 0.8030992150306702, -0.12407432496547699, 0.5661550164222717, -0.061044611036777496, 0.9009660482406616, -0.3210453689098358, -0.13251030445098877, -0.031376056373119354, -0.6400981545448303, -0.5582465529441833, 0.6861200928688049, -0.22520579397678375, 0.2711816132068634, 0.8232855796813965, 0.7894309163093567, 0.025955641642212868, 0.5716676712036133, 0.3727889060974121, 0.19091351330280304, 0.1549653261899948, 0.49389341473579407, 1.0280483961105347, -0.3409751355648041, -0.10935758799314499, -0.12297859787940979, -0.08427032083272934, 0.11365088820457458, -0.737702488899231, -0.6976533532142639, -0.7547029852867126, -0.24614672362804413, -0.06823615729808807, 0.1515645533800125, 0.7383856773376465, 0.7795720100402832, -0.7899812459945679, -0.8148823976516724, -0.2740668058395386, -0.10379539430141449, -0.5743353366851807, -0.12287922203540802, 0.16946114599704742, -0.2128535658121109, -0.8164687156677246, 0.44035130739212036, 0.10217752307653427, 0.056946754455566406, -0.4973417818546295, 0.16446438431739807, -0.31914857029914856, 0.25986248254776, 0.3476947546005249, 0.28422293066978455, -0.6929925084114075, 0.034221500158309937, 0.43163421750068665, -0.4690457582473755, -0.016079511493444443, 1.2055679559707642, -0.9302248358726501, 0.22685034573078156, 0.8943191766738892, 0.6153067350387573, 0.5125023722648621, -0.3668017089366913, 0.5870850086212158, -0.22934046387672424, -0.10016056150197983, 0.472395122051239, 0.3536888659000397, 0.523593008518219, -0.20113156735897064, 0.30824190378189087, 0.1257578730583191, -0.8372507691383362, -0.9083877801895142, 0.09419433027505875, -0.9335940480232239, -0.5879972577095032, 0.7179017663002014, 0.22565396130084991, -0.5297609567642212, -0.22782982885837555, -0.2785796523094177, 0.2128104418516159, -0.03405243903398514, 0.9314533472061157, 1.0477042198181152, -0.6257728934288025, -0.06987138837575912, -0.7798234224319458, 0.3513711392879486, 0.4216064512729645, -0.6427802443504333, 0.2848707437515259, 0.4182000756263733, 0.3004736006259918, -0.05134515464305878, 0.7854410409927368, -0.1878654807806015, 0.30077239871025085, -0.019444972276687622, 0.3119436502456665, 0.22074252367019653, -0.4307073950767517, -0.64850252866745, 0.37978872656822205, 0.10280738770961761, 0.267680287361145 ]
http://arxiv.org/abs/2403.13362v3
http://arxiv.org/pdf/2403.13362v3
Incentivizing News Consumption on Social Media Platforms Using Large Language Models and Realistic Bot Accounts
2024-03-20T07:44:06
2024-03-30T03:10:48
Hadi Askari, Anshuman Chhabra, Bernhard Clemm von Hohenberg, Michael Heseltine, Magdalena Wojcieszak
cs.SI
cs.SI, cs.AI, cs.CL
Polarization, declining trust, and wavering support for democratic norms are pressing threats to U.S. democracy. Exposure to verified and quality news may lower individual susceptibility to these threats and make citizens more resilient to misinformation, populism, and hyperpartisan rhetoric. This project examines how to enhance users' exposure to and engagement with verified and ideologically balanced news in an ecologically valid setting. We rely on a large-scale two-week long field experiment (from 1/19/2023 to 2/3/2023) on 28,457 Twitter users. We created 28 bots utilizing GPT-2 that replied to users tweeting about sports, entertainment, or lifestyle with a contextual reply containing two hardcoded elements: a URL to the topic-relevant section of quality news organization and an encouragement to follow its Twitter account. To further test differential effects by gender of the bots, treated users were randomly assigned to receive responses by bots presented as female or male. We examine whether our over-time intervention enhances the following of news media organization, the sharing and the liking of news content and the tweeting about politics and the liking of political content. We find that the treated users followed more news accounts and the users in the female bot treatment were more likely to like news content than the control. Most of these results, however, were small in magnitude and confined to the already politically interested Twitter users, as indicated by their pre-treatment tweeting about politics. These findings have implications for social media and news organizations, and also offer direction for future work on how Large Language Models and other computational interventions can effectively enhance individual on-platform engagement with quality news and public affairs.
[ -0.09397689998149872, -0.7401491403579712, 0.5638571381568909, 0.4898636043071747, -0.39939701557159424, 0.40173354744911194, -0.1932542324066162, -0.24349045753479004, 0.4093880355358124, 0.4277609586715698, -0.38700801134109497, -0.3507680296897888, -0.6444519758224487, -0.0771341323852539, -0.42628729343414307, 1.0782647132873535, 0.16522738337516785, 0.005777436774224043, 0.2316557914018631, -0.1380176991224289, -0.33027663826942444, -0.6856492757797241, -0.5201188325881958, -0.04417099803686142, 0.9239856004714966, 0.10915279388427734, 0.7586984634399414, 0.32541021704673767, 0.5639442205429077, 0.25167572498321533, -0.0938357561826706, -0.10191819816827774, -0.9119886159896851, -0.03812958672642708, -0.4871743321418762, -0.4204311668872833, -0.06796638667583466, 0.4404568374156952, 0.6876418590545654, 0.4185686409473419, -0.10062757134437561, 0.2880111336708069, 0.1996331661939621, 0.5957702994346619, -0.4462812840938568, -0.17033833265304565, -0.7617921233177185, -0.20039108395576477, 0.05433280020952225, -0.4062049984931946, -0.16295307874679565, -0.6156489253044128, 0.004858768545091152, -0.7096807360649109, 0.013865014538168907, -0.13878725469112396, 0.8915112018585205, -0.10962415486574173, -0.7674928903579712, -0.2530999183654785, -0.7623730301856995, 0.7430393695831299, -0.36747363209724426, 0.3845377266407013, 0.34909987449645996, -0.021211933344602585, -0.06550928205251694, -0.07257681339979172, -0.7853373289108276, -0.007044903934001923, 0.10416314005851746, 0.3018263280391693, -0.44911354780197144, -0.16937360167503357, 0.19000029563903809, 0.0824589729309082, -0.3273014724254608, -0.24179403483867645, -0.542677104473114, -0.2712518274784088, 0.5740992426872253, -0.024040311574935913, 0.6140432953834534, -0.5328590869903564, -0.4478854238986969, -0.09667519479990005, -0.5145915150642395, 0.5028198957443237, 0.9542492032051086, 0.30286070704460144, -0.20904484391212463, 0.9221333265304565, -0.14766211807727814, 0.2511644959449768, 0.1613774597644806, 0.09924878180027008, 0.09516879171133041, -0.5850543975830078, -0.060615986585617065, -0.07592867314815521, 0.4871830940246582, 0.6390892863273621, 0.19333530962467194, 0.30034512281417847, -0.25936469435691833, 0.301334023475647, 0.34492024779319763, -0.7113032341003418, 0.1318046897649765, 0.2628757655620575, -0.5981303453445435, -0.4260866343975067, 0.41923049092292786, -0.6324744820594788, -0.7278376817703247, -0.45424285531044006, 0.723924458026886, -0.2091183364391327, -0.515332043170929, 0.03906058892607689, -0.5621245503425598, -0.0010275270324200392, 0.4057546555995941, -0.5833637714385986, 0.09367073327302933, 0.6943343877792358, 1.0120375156402588, -0.07188107818365097, 0.28613412380218506, -0.4915430545806885, 0.21736599504947662, -0.5809869766235352, 0.36192020773887634, -0.7483944296836853, -0.0826132670044899, 0.2300044149160385, 0.0033240877091884613, 0.17098994553089142, -0.24162310361862183, 0.3214069902896881, -0.6492072343826294, 0.4128986597061157, -0.7711758017539978, -0.33086419105529785, -0.014209853485226631, 0.276790589094162, -0.5879491567611694, 0.622991144657135, 0.2654796242713928, -0.8122596740722656, 0.5960008502006531, -0.8309885263442993, -0.4196126461029053, -0.2917366027832031, 0.1705833524465561, -0.039441969245672226, 0.13439419865608215, 0.21452368795871735, 0.3089666962623596, 0.2914847433567047, 0.2826930284500122, -0.3782641291618347, 0.03302827104926109, 0.3266453444957733, -0.3303907811641693, 0.9197689890861511, -0.03902888670563698, -0.15577879548072815, 0.44707950949668884, -0.24441294372081757, -0.46432217955589294, 0.11179991066455841, -0.35621577501296997, -0.5061713457107544, 0.0272610392421484, 0.09870068728923798, 0.4356391727924347, 0.08897978067398071, -0.7701959609985352, 0.15379561483860016, -0.33628612756729126, 0.7202767133712769, 1.1185243129730225, 0.36408859491348267, 0.5210250020027161, -0.46501728892326355, 0.4379623234272003, 0.14828576147556305, 0.1880713552236557, -0.09138510376214981, -0.10320349037647247, -0.457771897315979, -0.3274211585521698, 0.1591121256351471, 0.39771750569343567, -0.7807629108428955, 0.27886515855789185, -0.16795039176940918, -0.09749303013086319, -0.43398115038871765, 0.32200345396995544, -0.14668779075145721, 0.15485285222530365, 0.06799384951591492, -0.1304454505443573, -0.4869174063205719, -0.7800996899604797, -0.5292724967002869, -0.2562790811061859, -0.2700534164905548, 0.38981497287750244, 0.34788042306900024, 0.019598037004470825, 0.6969200968742371, -0.012547827325761318, -0.24105766415596008, -0.3494584858417511, 0.24607793986797333, 0.24360275268554688, 0.1016109511256218, 0.5070236921310425, -1.0747507810592651, -0.4355063736438751, -0.08188968896865845, -0.34996965527534485, 0.013514069840312004, -0.2512468695640564, -0.267733097076416, 0.22981777787208557, 0.23146489262580872, -0.4969577491283417, 0.4756392538547516, 0.7661429643630981, -0.5068254470825195, 0.025174755603075027, 0.20440417528152466, 0.5894744396209717, -1.0468556880950928, 0.08260392397642136, 0.22360752522945404, -0.5642034411430359, -0.5464338660240173, -0.30258163809776306, -0.3334707021713257, -0.08222418278455734, -0.3821616470813751, 0.5326870083808899, -0.05401383712887764, 0.06870725750923157, -0.2841942608356476, 0.29689598083496094, 0.005228833761066198, -0.020285900682210922, 0.046871840953826904, 0.5703202486038208, 0.27664339542388916, -0.40253007411956787, -0.1197669729590416, -0.21419739723205566, -0.3518117666244507, 0.4320080876350403, -0.9555359482765198, -0.03961921110749245, -0.43260329961776733, 0.7349876165390015, -1.4572770595550537, -0.6850260496139526, 0.3129007816314697, -0.6030325293540955, -0.24605634808540344, 0.2432384490966797, -0.6288257241249084, -0.3204018175601959, -0.5737419724464417, 0.18163619935512543, 0.46000972390174866, -0.34205469489097595, 0.5694530606269836, 0.592705488204956, -0.27852362394332886, -0.13538908958435059, -0.26412567496299744, 0.15269123017787933, -0.2521038353443146, -0.4642942249774933, 0.007869832217693329, 0.14678604900836945, -0.38372406363487244, 0.25572630763053894, -0.09939544647932053, 0.35123443603515625, 0.026580048725008965, 0.02154279686510563, 0.06361875683069229, 0.05774782598018646, 0.45950332283973694, 0.028811011463403702, 0.17685139179229736, -0.11340706050395966, -0.22087500989437103, 0.7950426340103149, 0.061996955424547195, -0.1599070131778717, -1.0044041872024536, 0.625522792339325, 0.4263888895511627, -0.40043389797210693, 0.8185362219810486, 0.8427698016166687, -0.3759474754333496, 0.02864004485309124, -0.5655697584152222, -0.6755390763282776, -0.41024911403656006, 0.3357594609260559, 0.1768893599510193, -0.9929648041725159, 0.40096375346183777, 0.2695429027080536, 0.3195180594921112, 0.5411986708641052, 0.6920727491378784, -0.30654385685920715, 1.3843854665756226, 0.6081733703613281, -0.21250644326210022, 0.628419816493988, 0.02929040789604187, 0.14021815359592438, -0.4343191981315613, 0.06898722052574158, -0.3543674647808075, -0.6802274584770203, -0.4942139983177185, -0.30167868733406067, 0.17761830985546112, -0.14370742440223694, -0.41423889994621277, 0.03824647143483162, -0.5769238471984863, 0.26841774582862854, 0.5988520383834839, 0.33525893092155457, 0.1423587054014206, -0.019264377653598785, 0.6430702209472656, -0.11932140588760376, -0.5682728290557861, -0.5106480717658997, 0.864454448223114, 0.5002197623252869, 0.7151446342468262, 0.265663743019104, 0.5047117471694946, 0.9480244517326355, 0.6320850849151611, -0.5011013150215149, 0.15535123646259308, -0.09512020647525787, -0.9862977862358093, -0.342394083738327, -0.5017111301422119, -0.7757392525672913, -0.1036854162812233, -0.18443416059017181, -0.8631781935691833, 0.23791258037090302, 0.28714245557785034, -0.29910093545913696, 0.24785418808460236, -0.6450884342193604, 0.32090476155281067, -0.211562842130661, -0.3488457500934601, -0.6188976168632507, -0.5653994679450989, 0.28214097023010254, 0.10251470655202866, 0.3094073235988617, -0.2803988456726074, -0.23051369190216064, 0.4945785701274872, 0.06297723203897476, 1.1719615459442139, -0.2980794310569763, 0.0654044896364212, 0.2198452204465866, -0.054753776639699936, 0.40125250816345215, 0.3456491231918335, 0.0937952995300293, 0.13423390686511993, -0.176850363612175, -0.5886899828910828, -0.35812029242515564, 0.5369524955749512, -0.9761669039726257, -0.9043290019035339, -0.29246991872787476, -0.6266467571258545, 0.07666035741567612, 0.2135716676712036, 0.11245281994342804, 0.08264786750078201, -0.1902550458908081, 0.7594614028930664, 0.5183551907539368, 0.058033451437950134, 0.15772011876106262, 0.2173454463481903, -0.2501380145549774, -0.5231878161430359, 0.7124584317207336, 0.27866387367248535, 0.5589684247970581, 0.22055687010288239, 0.4526423513889313, -0.32931575179100037, 0.09010127931833267, -0.2567361891269684, 0.028720011934638023, -0.218294158577919, -0.15169017016887665, -0.7021830677986145, 0.015342839062213898, -0.2639312148094177, -0.2401299923658371, -0.18250234425067902, -0.38606685400009155, -0.3070492744445801, 0.037117164582014084, 0.09615586698055267, 0.5448365211486816, -0.146628737449646, 0.5855061411857605, -0.546588659286499, 0.43065911531448364, 0.2057010978460312, 0.1507638841867447, -0.24762214720249176, -0.487796813249588, 0.05627074092626572, 0.5250096321105957, -0.4175940454006195, -1.0171055793762207, 0.029307851567864418, -0.04520539194345474, 0.5352563261985779, 0.5696823000907898, 0.25315266847610474, 0.21761232614517212, -0.17081354558467865, 0.7742133736610413, 0.17293009161949158, -0.9581335186958313, 0.5985828042030334, -1.002676010131836, -0.026451963931322098, 0.4965403079986572, 0.5679657459259033, -0.5772848129272461, -0.8163302540779114, -0.5837231874465942, -0.6865189671516418, 0.4224627912044525, 0.4513806402683258, 0.9976418614387512, -0.10934888571500778, 0.21525545418262482, 0.08357149362564087, 0.5614661574363708, -1.0285875797271729, 0.23355227708816528, -0.5408431887626648, -0.08547558635473251, 0.002665736014023423, -0.33014237880706787, -0.5633407235145569, -0.1717638522386551, 0.7177187204360962, 0.05742047727108002, 0.0014383031520992517, 0.49356621503829956, 0.26181551814079285, -0.3015027940273285, 0.07212083786725998, 0.5355685353279114, 0.6713883280754089, -0.2461044043302536, -0.07295969873666763, -0.5035530924797058, -0.17729152739048004, 0.025058818981051445, -0.14244325459003448, -0.2650892436504364, 0.0710323378443718, 0.14950035512447357, 0.4334852397441864, -0.15144015848636627, -0.37971314787864685, 0.636438250541687, 0.0632767453789711, -0.3359375, -0.02977031283080578, 0.013002416118979454, 0.37316960096359253, 0.30255740880966187, 0.45752009749412537, -0.12720175087451935, 0.06062040105462074, -1.0235201120376587, 0.041237425059080124, 0.7127777934074402, -0.5303636193275452, -0.39341500401496887, 0.8697926998138428, 0.4846241772174835, -0.42915940284729004, 0.30562520027160645, -0.11966454982757568, -0.6664362549781799, 0.5391803979873657, 0.6370179057121277, 0.48500871658325195, -0.17077048122882843, 0.47196510434150696, 0.4038486182689667, 0.4891441762447357, 0.1382708102464676, 0.18050570785999298, 0.22137205302715302, -0.844184160232544, -0.1653091013431549, -0.3674675226211548, -0.14164116978645325, 0.050012171268463135, -0.3583447337150574, 0.29155296087265015, -0.6885920763015747, -0.661166787147522, 0.18500961363315582, 0.2429637461900711, -0.5267868041992188, -0.11284109205007553, -0.128712460398674, 0.8087084293365479, -1.2508617639541626, 0.2831730246543884, 0.7155969738960266, -0.4664666950702667, -0.5497358441352844, 0.5494030117988586, 0.3274824321269989, -0.47044554352760315, 0.34152400493621826, 0.2502332031726837, 0.10320756584405899, -0.1046338826417923, -0.8054366707801819, -0.6166526675224304, 0.7863433361053467, 0.42432254552841187, -0.39255717396736145, 0.3795514702796936, -0.021381352096796036, 0.4529143273830414, -0.4330707788467407, -0.1782914698123932, 0.24013525247573853, 0.653605043888092, -0.18576134741306305, -0.5408520102500916, -0.024228615686297417, -0.07933249324560165, -0.21584729850292206, 0.28354373574256897, -1.0978304147720337, 0.6635316610336304, -0.0924251526594162, -0.38375139236450195, -0.1748562902212143, 0.6281786561012268, 0.04479202255606651, 0.4409579336643219, 0.8813326358795166, -0.016916071996092796, 0.5990511775016785, 0.03770221769809723, 1.1191164255142212, -0.2595362961292267, 0.25704964995384216, 0.6506349444389343, -0.1725357472896576, 0.8024085760116577, 0.6526666879653931, 0.006039025727659464, 0.5298406481742859, 0.6577433347702026, 0.0755481943488121, 0.4710807800292969, 0.1126854196190834, -0.41280412673950195, -0.37174639105796814, -0.9056534171104431, -0.33402833342552185, 0.36450430750846863, 0.31301337480545044, -0.5107924938201904, -0.14077366888523102, 0.09770940989255905, 0.2340426743030548, 0.470081090927124, -0.19666442275047302, 0.558552622795105, -0.1319921612739563, -0.4709863066673279, -0.2788582444190979, -0.013972261920571327, 0.35391905903816223, -0.6318963766098022, -0.024457784369587898, -0.11437135934829712, -0.07974772900342941, -0.11601756513118744, -0.8440314531326294, 0.2530207931995392, -0.09820377826690674, -0.2986827492713928, -0.25281551480293274, 0.765918493270874, -0.45992010831832886, -0.7541472911834717, 0.1294383555650711, 0.6477163434028625, -0.33995211124420166, -0.34667497873306274, -0.40786632895469666, 0.2724035084247589, 0.11009065061807632, -0.5285617709159851, 0.2674923241138458, 0.26295503973960876, -0.18026432394981384, 0.47684410214424133, 1.191481113433838, 0.06343737244606018, -0.42163535952568054, 0.21977867186069489, 1.15676748752594, -0.22062991559505463, -0.397112637758255, -0.9488541483879089, 0.6232938766479492, -0.4580335319042206, -0.2555359899997711, 0.8251652717590332, 0.5693791508674622, 0.6643684506416321, 0.10586492717266083, 0.8242968916893005, -0.22610591351985931, 0.6185919046401978, -0.18530133366584778, 0.7467678785324097, -0.7477025985717773, 0.08482282608747482, -0.19428230822086334, -0.6944752931594849, -0.24649201333522797, 0.30502715706825256, -0.34863150119781494, 0.08938873559236526, 0.018856050446629524, 0.635790228843689, 0.02506294660270214, -0.2837086021900177, 0.04461738467216492, 0.1724032312631607, 0.4516817331314087, 0.14179854094982147, 1.0230581760406494, 0.30891239643096924, 0.5207750201225281, -0.18807530403137207, -0.4394310414791107, -0.17755240201950073, -0.6701216697692871, -1.1441318988800049, -0.582728385925293, 0.026036959141492844, -0.5875540971755981, 0.49300336837768555, 1.1124913692474365, 0.6578779220581055, -0.40966373682022095, 0.0013049232074990869, 0.10013969987630844, 0.3642786741256714, -0.05184051766991615, -0.3093824088573456, 0.4007475972175598, -0.26088637113571167, -0.7765339612960815, -0.4810207784175873, 0.2620473802089691, -0.30237019062042236, -0.4595789909362793, 0.2732193171977997, -0.28941506147384644, 0.48899784684181213, 0.7809180617332458, 0.059225380420684814, -0.6482829451560974, -0.7629228830337524, 0.5189282298088074, -0.2662706971168518, 0.06351865828037262, 0.8320016860961914, -0.47322332859039307, 0.37614282965660095, 0.707360029220581, 0.5531748533248901, -0.10057718306779861, 0.8416013717651367, 0.5990155935287476, -0.5674402713775635, 0.03988923132419586, 0.4129370152950287, -0.05039175972342491, 0.2325567752122879, -0.6032171249389648, 0.2034945785999298, 0.28506213426589966, -0.45076897740364075, -0.662833034992218, 0.07017157226800919, -0.8947392106056213, -0.06107001751661301, 1.4657130241394043, 0.1872667372226715, -0.039165396243333817, -0.06355882436037064, -0.393246591091156, 0.09749092161655426, -0.9028275609016418, 1.1877155303955078, 0.9728491902351379, 0.06793996691703796, -0.10164301097393036, -0.9480240941047668, 0.2422296702861786, 0.07309205085039139, -0.7644509077072144, 0.10471134632825851, 0.37934964895248413, 0.24582542479038239, 0.05421583727002144, 0.721422553062439, -0.06814957410097122, 0.31596651673316956, -0.2505107522010803, -0.23055300116539001, 0.2690100073814392, -0.318229615688324, -0.04127116501331329, -0.01545218750834465, -0.3829033672809601, -0.18155749142169952 ]
http://arxiv.org/abs/2403.13344v1
http://arxiv.org/pdf/2403.13344v1
USE: Dynamic User Modeling with Stateful Sequence Models
2024-03-20T07:05:19
2024-03-20T07:05:19
Zhihan Zhou, Qixiang Fang, Leonardo Neves, Francesco Barbieri, Yozen Liu, Han Liu, Maarten W. Bos, Ron Dotsch
cs.SI
cs.SI, cs.AI, cs.CL, cs.HC, cs.IR, cs.LG
User embeddings play a crucial role in user engagement forecasting and personalized services. Recent advances in sequence modeling have sparked interest in learning user embeddings from behavioral data. Yet behavior-based user embedding learning faces the unique challenge of dynamic user modeling. As users continuously interact with the apps, user embeddings should be periodically updated to account for users' recent and long-term behavior patterns. Existing methods highly rely on stateless sequence models that lack memory of historical behavior. They have to either discard historical data and use only the most recent data or reprocess the old and new data jointly. Both cases incur substantial computational overhead. To address this limitation, we introduce User Stateful Embedding (USE). USE generates user embeddings and reflects users' evolving behaviors without the need for exhaustive reprocessing by storing previous model states and revisiting them in the future. Furthermore, we introduce a novel training objective named future W-behavior prediction to transcend the limitations of next-token prediction by forecasting a broader horizon of upcoming user behaviors. By combining it with the Same User Prediction, a contrastive learning-based objective that predicts whether different segments of behavior sequences belong to the same user, we further improve the embeddings' distinctiveness and representativeness. We conducted experiments on 8 downstream tasks using Snapchat users' behavioral logs in both static (i.e., fixed user behavior sequences) and dynamic (i.e., periodically updated user behavior sequences) settings. We demonstrate USE's superior performance over established baselines. The results underscore USE's effectiveness and efficiency in integrating historical and recent user behavior sequences into user embeddings in dynamic user modeling.
[ -0.01219456922262907, -0.4854329824447632, 0.32021328806877136, 0.08122219890356064, -0.1027185395359993, 0.3909219801425934, 0.1165856197476387, -0.343414306640625, 0.5486245155334473, 0.2858835756778717, -0.5931510329246521, -0.20642322301864624, 0.01906239427626133, -0.2936198115348816, -0.4712429344654083, 0.668432891368866, -0.016533348709344864, -0.2578143775463104, -0.35575029253959656, -0.15492549538612366, -0.72775799036026, -0.5009757876396179, -0.14143715798854828, -0.2560245394706726, 0.4691440165042877, 0.4537660777568817, 0.6678425073623657, 0.3412743806838989, -0.15393367409706116, 0.36089345812797546, -0.056467026472091675, 0.34174391627311707, -0.7893356680870056, 0.4980933964252472, -0.06504648178815842, -0.12768623232841492, -0.12469332665205002, -0.00858299806714058, 0.3241332769393921, 0.5157621502876282, -0.566580057144165, 0.08118639141321182, 0.0732356533408165, 0.30501821637153625, -0.6500988006591797, 0.19855456054210663, -0.4254705011844635, 0.24869263172149658, 0.07890506833791733, -0.09850719571113586, -0.36287960410118103, -0.3997426927089691, 0.25710055232048035, -0.4251757264137268, -0.09227711707353592, 0.11789948493242264, 0.5745633244514465, -0.0011431581806391478, -0.6764211058616638, 0.05412943661212921, -0.6914830207824707, 0.6341903805732727, -0.5062827467918396, 0.6468037366867065, 0.27534550428390503, 0.16481217741966248, -0.44801023602485657, -0.7167379856109619, -0.4349576532840729, -0.18357357382774353, 0.045108940452337265, -0.026197869330644608, -0.03162391483783722, -0.3087853193283081, 0.26036757230758667, 0.11945365369319916, -0.21426984667778015, 0.045449282974004745, -0.2735452950000763, -0.2133808732032776, 0.6625410318374634, 0.5171694159507751, 0.21209396421909332, -0.0732979029417038, -0.6615327596664429, 0.04300423711538315, -0.3343651592731476, 0.4652884602546692, 0.26001429557800293, 0.2758985459804535, -0.37232092022895813, 0.613807737827301, -0.02582940272986889, 0.2775018811225891, 0.3076997995376587, 0.08809279650449753, 0.6379422545433044, -0.07019868493080139, 0.0648326426744461, -0.1278662532567978, 0.5583717823028564, 0.2647016644477844, 0.14872197806835175, -0.28254303336143494, -0.26274579763412476, -0.19860343635082245, 0.5867418050765991, -0.7784969210624695, -0.18320414423942566, 0.14645972847938538, -0.3344607651233673, -0.256269633769989, 0.2396327555179596, -0.5516104102134705, -0.596950352191925, -0.15728652477264404, 0.1910289078950882, -0.5332702994346619, -0.2109903246164322, 0.03470190614461899, 0.044519782066345215, -0.25435495376586914, 0.3657155930995941, -1.091505527496338, 0.4022855758666992, 0.6409742832183838, 0.9159488677978516, -0.29342949390411377, -0.47248488664627075, -0.44104906916618347, 0.22791410982608795, -0.3483281433582306, 0.2011229246854782, -0.8200849294662476, -0.5993103384971619, 0.3189130127429962, -0.05681317672133446, -0.012038826942443848, -0.37125691771507263, -0.02979946695268154, -0.8142128586769104, -0.11076164990663528, -0.39335036277770996, -0.8282071352005005, -0.2690427005290985, -0.0056580351665616035, -0.5764171481132507, 1.010284662246704, 0.23925217986106873, -0.4090045690536499, 0.5810442566871643, -0.6035031676292419, -0.4286341965198517, 0.15189804136753082, 0.06856848299503326, -0.4750671088695526, 0.4743417799472809, -0.07923855632543564, 0.7583428025245667, 0.5162675976753235, 0.2942669987678528, -0.7494956254959106, -0.6288348436355591, 0.23243306577205658, 0.07496266812086105, 0.28150027990341187, 0.29051825404167175, 0.04428412392735481, 0.16336214542388916, -0.39266541600227356, -0.3042536973953247, 0.19806860387325287, -0.320983350276947, -0.423083633184433, 0.42550110816955566, -0.05751773715019226, 0.19602955877780914, 0.41081905364990234, -0.7171776294708252, 0.207830011844635, -0.18871556222438812, 0.6907769441604614, 0.837193489074707, 0.02862393483519554, 0.4112497866153717, -0.2844662070274353, 0.4960961639881134, 0.329021155834198, 0.09229453653097153, -0.7210595011711121, -0.35894128680229187, -0.07716839015483856, -0.08164245635271072, -0.020276939496397972, 0.4523027837276459, -0.39844417572021484, 0.3467881679534912, -0.36820828914642334, -0.37365806102752686, 0.24357633292675018, 0.2169787883758545, 0.10169626027345657, 0.36032015085220337, 0.1914815604686737, -0.5569746494293213, -0.5866407155990601, -0.4185386598110199, -0.34136927127838135, -0.14732934534549713, 0.2675907611846924, 0.6227672696113586, 0.40268346667289734, -0.4561167359352112, 1.0146267414093018, -0.48587334156036377, 0.12219748646020889, -0.18848218023777008, -0.02510877326130867, 0.054990582168102264, 0.39597800374031067, 0.27069491147994995, -1.00559401512146, -0.3179934322834015, -0.37373682856559753, -0.6137522459030151, 0.44652920961380005, -0.3293013572692871, -0.037634920328855515, 0.026815420016646385, 0.36069971323013306, -0.3451392352581024, 0.5644886493682861, 0.5706256628036499, -0.8362739086151123, 0.149507075548172, -0.18009276688098907, 0.06016409769654274, -1.0698161125183105, -0.271991103887558, 0.21086284518241882, -0.6396287679672241, -0.40397924184799194, -0.3831937313079834, 0.21569645404815674, -0.5847527980804443, -0.6577035784721375, 0.6741055250167847, -0.4138714373111725, -0.35855013132095337, -0.005987921264022589, -0.40857356786727905, -0.38230058550834656, 0.41006526350975037, -0.3136485517024994, 0.7362508177757263, 0.2196497619152069, -0.6008156538009644, 0.15443632006645203, 0.5323985815048218, -0.4436964988708496, 0.010813015513122082, -0.39095255732536316, 0.09520043432712555, 0.2045983076095581, 0.26030808687210083, -1.1333309412002563, -0.27439576387405396, 0.11345155537128448, -0.3669510781764984, 0.2657555341720581, -0.1591780036687851, -0.37239018082618713, -0.4976736009120941, -0.5815368890762329, 0.25189608335494995, 0.7702516317367554, -0.695097804069519, 0.6773366332054138, 0.5383892059326172, 0.08730503916740417, -0.3313635289669037, -0.430644690990448, -0.03269045799970627, -0.2567414939403534, -0.38753369450569153, 0.52828449010849, 0.24344585835933685, 0.4172452390193939, 0.14762774109840393, -0.2641178369522095, 0.154802605509758, 0.25255286693573, 0.5265113115310669, 0.3006587326526642, 0.13383464515209198, 0.2932906746864319, 0.07663208246231079, -0.12447059899568558, -0.2603128254413605, -0.19869042932987213, 0.6709427237510681, -0.017326703295111656, -0.3499480187892914, -0.7016123533248901, 0.2779986262321472, 0.6067056655883789, -0.14279070496559143, 0.8441724181175232, 0.6057074069976807, -0.30719152092933655, -0.03755805268883705, -0.41527196764945984, -0.4418894350528717, -0.5881958603858948, 0.498469740152359, -0.1163022518157959, -1.3916189670562744, 0.6075276136398315, -0.4066029191017151, 0.26771172881126404, -0.2038680464029312, 0.5042030215263367, -0.5259143710136414, 1.0845032930374146, 0.6494259834289551, -0.13426373898983002, 1.1143418550491333, -0.07127677649259567, 0.19622699916362762, -0.7375800013542175, -0.518842875957489, 0.23631012439727783, -0.6905478239059448, -0.7274167537689209, -0.12926563620567322, 0.09934438765048981, -0.08058691769838333, -0.6478910446166992, 0.3863856792449951, -0.08089258521795273, 0.032790616154670715, 0.3635810911655426, 0.504384458065033, -0.24374085664749146, 0.26475560665130615, -0.05250716954469681, -0.31765422224998474, -0.40153980255126953, -0.32125988602638245, 1.1263808012008667, 0.2766910791397095, 1.0913358926773071, 0.1325889676809311, 0.8364965915679932, 0.8367811441421509, -0.10678234696388245, -0.7581303119659424, 0.5608320236206055, -0.1822434663772583, -0.13367296755313873, -0.11274880170822144, -0.25310251116752625, -1.0868194103240967, 0.16542433202266693, -0.3305107355117798, -1.292409062385559, 0.16060124337673187, 0.8141195774078369, -0.4107878506183624, 0.34654170274734497, -0.708001971244812, 0.6655988097190857, -0.14424175024032593, -0.5549737215042114, -0.4722086489200592, -0.35160574316978455, 0.09319376945495605, 0.12949182093143463, -0.19098031520843506, -0.17570528388023376, -0.2558838725090027, 0.6202315092086792, -0.4879274368286133, 1.2182083129882812, -0.5681536793708801, 0.266709566116333, 0.24213768541812897, 0.27289366722106934, 0.7736604809761047, -0.015799950808286667, 0.027151208370923996, -0.07669904083013535, -0.06944238394498825, -0.36343467235565186, -0.5081441402435303, 0.8271052241325378, -0.5683919191360474, -0.5636109113693237, -0.4679373800754547, -0.1418246030807495, -0.41787269711494446, 0.09377125650644302, -0.23867788910865784, 0.5631729364395142, -0.2830732464790344, 0.26822707056999207, 0.5182674527168274, -0.098137766122818, 0.5185079574584961, 0.19493135809898376, -0.31510722637176514, -0.16629688441753387, 0.8756996989250183, -0.12132030725479126, -0.3201589584350586, 0.20566530525684357, 0.5018963813781738, -0.5725399255752563, -0.4308769404888153, -0.12187694013118744, 0.22322610020637512, -0.1933157742023468, 0.009007328189909458, -0.6872029304504395, 0.33167269825935364, -0.2613981366157532, -0.2588069438934326, -0.5487430691719055, -0.03660336881875992, -0.3964967131614685, -0.14871874451637268, 0.5051840543746948, 0.6011003255844116, 0.07581841945648193, 0.27954012155532837, -0.7965116500854492, 0.19259196519851685, 0.3331303000450134, 0.3395020663738251, 0.32551148533821106, -0.3692927956581116, -0.4310568869113922, 0.02091476321220398, -0.5271023511886597, -0.8784552216529846, 0.4199056029319763, 0.41229310631752014, 0.6858112215995789, 0.608603835105896, 0.1034877821803093, 0.8271200656890869, -0.5885071158409119, 0.874257504940033, 0.25776663422584534, -0.8565046191215515, 0.5905168056488037, -0.24422450363636017, 0.11977770179510117, 0.4488348066806793, 0.6162276268005371, -0.8779348731040955, 0.22633817791938782, -0.4279995858669281, -0.9089445471763611, 0.6401371955871582, -0.3704077899456024, 0.9374692440032959, -0.08113082498311996, 0.68241286277771, 0.20265154540538788, 0.33532530069351196, -0.16303876042366028, -0.03705838695168495, -0.3253258466720581, -0.22523793578147888, -0.06215934455394745, -0.5098697543144226, 0.34683436155319214, -0.5002790689468384, 0.288766473531723, -0.13148227334022522, 0.4833373725414276, -0.35929086804389954, -0.06581190228462219, 0.12135977298021317, -0.22207364439964294, 0.34774863719940186, 0.767527163028717, -0.24142205715179443, -0.34988775849342346, 0.24798071384429932, -0.5422981977462769, 0.2462974190711975, -0.19788672029972076, -0.08068060874938965, -0.2634342908859253, 0.012650776654481888, 0.8224736452102661, 0.8675499558448792, -0.7576314210891724, 0.7507078647613525, 0.009189224801957607, 0.12400942295789719, -0.7173333168029785, 0.4004109799861908, 0.19180135428905487, 0.4718967080116272, 0.2092031091451645, 0.17779618501663208, 0.10725075751543045, -0.7350354790687561, 0.2833670675754547, 0.15815113484859467, -0.659889280796051, -0.7176337838172913, 0.6050500273704529, 0.37184450030326843, -0.2989427447319031, 0.9141064882278442, -0.0979735255241394, -0.4466627240180969, 0.1554822027683258, 0.6438124179840088, 0.6938145160675049, -0.5393698811531067, 0.1937641054391861, 0.4986411929130554, -0.6377001404762268, -0.2443721741437912, 0.7828584313392639, -0.28000134229660034, -0.838080108165741, -0.032920509576797485, -0.3287675380706787, -0.3565954267978668, -0.04482336342334747, -0.9463241100311279, 0.35850024223327637, -0.573233425617218, -0.4604299068450928, -0.3050450384616852, -0.1783073991537094, -0.6892537474632263, -0.15346252918243408, 0.056953951716423035, 0.750876247882843, -0.8646643161773682, 0.5530639290809631, 0.9701539874076843, -0.01632527820765972, -0.43890413641929626, -0.1438797563314438, 0.5185834169387817, -0.6714203357696533, 0.28822654485702515, 0.3533819913864136, -0.2058853656053543, -0.2053566426038742, -0.5268447399139404, -0.7503950595855713, 1.2057936191558838, 0.18830598890781403, -0.6082247495651245, 0.08087781816720963, -0.5044087767601013, 0.34934329986572266, -0.3739031255245209, -0.05472760647535324, 0.19418679177761078, -0.08170393109321594, 0.3292723596096039, -0.3555269241333008, 0.13535678386688232, -0.199175626039505, 0.32447975873947144, 0.15508808195590973, -0.6223072409629822, 0.727120041847229, -0.6323937177658081, -0.3848280608654022, -0.02953295037150383, 1.0802487134933472, 0.12586505711078644, 0.425682932138443, 0.7116734385490417, 0.4656106233596802, 0.8263798952102661, 0.18187588453292847, 0.8649147748947144, -0.11405479162931442, 0.3119215667247772, 1.08351731300354, -0.4023635983467102, 1.1479548215866089, 0.3325120806694031, -0.1642695963382721, 0.8030120134353638, 0.8377121090888977, -0.13923802971839905, 0.8535755276679993, 0.11814475059509277, -0.28728652000427246, -0.3946351408958435, 0.10834451764822006, -0.19115518033504486, 0.6082702279090881, 0.47099196910858154, -0.3084620535373688, 0.09169570356607437, 0.13767042756080627, 0.15129655599594116, 0.11358265578746796, -0.048508960753679276, 0.823581337928772, -0.0011512964265421033, -0.37983953952789307, 0.2051294595003128, -0.16994045674800873, 0.9904471635818481, -0.5415375828742981, 0.007681369781494141, -0.2827225625514984, 0.11862011253833771, -0.30212751030921936, -0.6314588189125061, 0.265108197927475, -0.02851562388241291, -0.02051890827715397, -0.3216918110847473, 0.5715934038162231, -0.1432986706495285, -0.20290234684944153, 0.3359430432319641, 0.49844589829444885, -0.028655720874667168, 0.25702202320098877, -0.5981101393699646, -0.035974130034446716, -0.04374892637133598, -0.5339618921279907, 0.4095125198364258, -0.07514940947294235, -0.2318153828382492, 1.050614595413208, 0.6774213910102844, -0.11782863736152649, -0.07123375684022903, 0.06290414184331894, 0.9109989404678345, -0.9140047430992126, -0.9769377112388611, -0.8591412901878357, 0.41101595759391785, 0.13364580273628235, -0.36814531683921814, 0.5249819755554199, 0.6024060249328613, 0.8607223629951477, 0.06131264939904213, 0.558957576751709, -0.03361816704273224, 0.5111908912658691, -0.2365611493587494, 0.45414507389068604, -0.7260282635688782, 0.1010998785495758, -0.03384916111826897, -0.5396869778633118, 0.20626269280910492, 0.39363983273506165, -0.1651579886674881, 0.3565655052661896, 0.07132616639137268, 0.47295117378234863, -0.41802552342414856, 0.28502169251441956, 0.2805462181568146, -0.12107660621404648, 0.37500324845314026, 0.3752776086330414, 1.039052128791809, 0.018632331863045692, 0.060006119310855865, -0.3343055844306946, -0.1696235090494156, -0.6167394518852234, -0.8452290296554565, -0.71687251329422, -0.8730868101119995, -0.22141151130199432, -0.18197213113307953, 0.2314954549074173, 1.1167694330215454, 0.9827213287353516, -0.8196659088134766, -0.25014880299568176, 0.24128292500972748, -0.06646006554365158, -0.3357366621494293, -0.16614888608455658, 0.16301748156547546, -0.21106000244617462, -0.5208120346069336, 0.39548438787460327, 0.12493451684713364, 0.21482238173484802, -0.17590142786502838, -0.20833207666873932, 0.02902102656662464, -0.18324752151966095, 0.648896336555481, 0.6413888335227966, -0.5484485626220703, -0.5250055193901062, -0.1029995009303093, 0.1338890641927719, 0.07617216557264328, 0.8846405148506165, -0.9333354830741882, 0.5801565647125244, 0.5210985541343689, 0.6363067030906677, 0.8147698640823364, 0.45486459136009216, 0.4797767400741577, -0.6195954084396362, -0.040411487221717834, 0.24696305394172668, 0.4480927288532257, 0.2642419934272766, -0.4928516149520874, 0.14329880475997925, 0.2218170315027237, -0.13849830627441406, -0.6566157937049866, 0.13112685084342957, -0.847819447517395, -0.07918713986873627, 0.682153046131134, -0.4665904641151428, -0.019665945321321487, -0.14704759418964386, 0.2046041637659073, 0.11871034651994705, -0.9907811284065247, 0.8031913042068481, 0.3036510646343231, -0.5605283379554749, -0.2957810163497925, -0.2610705494880676, 0.22443406283855438, 0.1611684411764145, -0.4272230267524719, -0.04249502345919609, 0.4173756241798401, 0.3131355047225952, -0.22175060212612152, 0.3759765625, -0.016639547422528267, 0.2722152769565582, -0.04750358313322067, -0.2890293300151825, -0.6794721484184265, -0.3581148087978363, -0.2820778787136078, 0.05371742695569992, -0.1884016990661621, -0.5284799337387085 ]
http://arxiv.org/abs/2403.13334v2
http://arxiv.org/pdf/2403.13334v2
Hyacinth6B: A large language model for Traditional Chinese
2024-03-20T06:37:59
2024-03-26T12:24:46
Chih-Wei Song, Yin-Te Tsai
cs.CL
cs.CL, cs.AI
This research's primary motivation of this study is to address the high hardware and computational demands typically associated with LLMs.Therefore,our goal is to find a balance between model lightness and performance,striving to maximize performance while using a comparatively lightweight model. Hyacinth6B was developed with this objective in mind,aiming to fully leverage the core capabilities of LLMs without incurring substantial resource costs, effectively pushing the boundaries of smaller model's performance. The training approach involves parameter efficient finetuning using the LoRA method.
[ -0.14687876403331757, -0.8101171851158142, 0.44059979915618896, 0.1932956576347351, -0.4102935791015625, -0.23234207928180695, -0.2738189101219177, -0.647760272026062, 0.4121837913990021, 0.7102048397064209, -0.4371700584888458, -0.37030911445617676, -0.1743583083152771, -0.06423019617795944, -0.3887975513935089, 0.5754395127296448, 0.11756883561611176, 0.06204796954989433, 0.4265992045402527, 0.09485404938459396, -0.25889620184898376, -0.42324507236480713, -0.5180182456970215, -0.7693993449211121, 1.1085401773452759, 0.46847134828567505, 0.8659082651138306, 1.0406962633132935, 0.9157650470733643, 0.2357880175113678, -0.22290068864822388, -0.09894052147865295, -0.5176132321357727, -0.07827302813529968, 0.11720861494541168, -0.7361253499984741, -0.33216920495033264, -0.4188210666179657, 0.7747846841812134, 0.5858030319213867, -0.11439007520675659, 0.37001627683639526, -0.09242075681686401, 0.7558003664016724, -0.7537182569503784, 0.14559900760650635, -0.5452570915222168, 0.07694222033023834, -0.6106776595115662, -0.09269597381353378, -0.38941675424575806, -0.2892025411128998, 0.11920495331287384, -0.26951199769973755, -0.12340046465396881, -0.000028718262910842896, 0.9129739999771118, 0.07561513781547546, -0.3532094955444336, 0.041619330644607544, -0.5643597841262817, 0.7036734819412231, -1.2402738332748413, -0.046834517270326614, 0.15276631712913513, 0.4700596332550049, -0.1444617211818695, -0.5473228096961975, -0.40259358286857605, -0.2656514346599579, 0.1382826268672943, -0.17650540173053741, 0.20486980676651, 0.3899596333503723, 0.5903009176254272, 0.5647072196006775, -0.5694676637649536, 0.41184383630752563, -0.803971529006958, 0.07165291160345078, 0.5771104097366333, 0.19832299649715424, 0.5566912293434143, -0.5157895088195801, -0.3771857023239136, 0.5088914632797241, -0.8258925080299377, 0.13243763148784637, 0.2824711203575134, 0.6660115718841553, -0.2744554877281189, 0.5511969327926636, -0.13146616518497467, 0.8702363967895508, -0.20722761750221252, -0.49988457560539246, 0.15190644562244415, -0.034383948892354965, -0.5644126534461975, 0.34956273436546326, 0.5935189127922058, 0.03818698972463608, 0.1287151277065277, 0.10553933680057526, -0.2884601652622223, 0.004444792866706848, 0.1268066167831421, -1.19611394405365, -0.13330887258052826, -0.06803234666585922, -0.7891363501548767, -0.33395346999168396, 0.1111975759267807, -0.49662065505981445, -0.30587440729141235, -0.5080277919769287, 0.5416349172592163, -0.3648710250854492, -0.42499840259552, 0.011561745777726173, -0.016529079526662827, 0.6148224472999573, 0.4607788920402527, -1.3218975067138672, 0.2872737646102905, 0.6061531901359558, 1.03646981716156, -0.4626399278640747, -0.292084276676178, -0.43728047609329224, 0.17962300777435303, -0.4600384533405304, 0.19844724237918854, -0.31318917870521545, -0.11540192365646362, -0.031198082491755486, -0.08961194008588791, 0.012848364189267159, -0.5301257371902466, 0.5016279816627502, -0.4162543714046478, -0.320777028799057, -0.6115615367889404, -0.2764662504196167, -0.38307467103004456, 0.2031836062669754, -0.9753143191337585, 0.9687525033950806, 0.355082631111145, -0.8882035613059998, 0.07583968341350555, -0.5766234397888184, -0.29634547233581543, 0.28561797738075256, -0.4120250940322876, -0.15663115680217743, 0.30949440598487854, -0.25222423672676086, 0.20005375146865845, -0.6105489730834961, 0.24135138094425201, -0.18386872112751007, -0.9554189443588257, 0.06414167582988739, -0.6165754795074463, 1.0002806186676025, 0.4019468426704407, -0.5864769816398621, 0.29154151678085327, -0.6345126628875732, -0.13890589773654938, 0.09124528616666794, -0.6289055347442627, -0.44059011340141296, -0.1495547592639923, 0.3190731704235077, 0.21682585775852203, 0.5767947435379028, -0.4619883894920349, 0.29386672377586365, -0.7780511379241943, 0.6576752662658691, 0.7519028782844543, -0.2626248896121979, 0.21319136023521423, -0.4308291971683502, 0.49551671743392944, 0.022485431283712387, 0.31864798069000244, -0.31124863028526306, -0.4659455120563507, -1.147823691368103, -0.1863814890384674, 0.3423548936843872, 0.4268351197242737, -0.7342284917831421, 0.35395681858062744, 0.044527411460876465, -0.6265143156051636, -0.6488947868347168, 0.7154010534286499, 0.3033364415168762, 0.2521750032901764, 0.19734147191047668, -0.125239759683609, -0.6704251170158386, -1.2403109073638916, 0.24889019131660461, -0.15725022554397583, 0.56858891248703, -0.09881404042243958, 0.5982937216758728, -0.45991840958595276, 0.6701920032501221, -0.24777379631996155, 0.06271879374980927, -0.5569548010826111, -0.11395244300365448, 0.5570720434188843, 0.5069801211357117, 0.8456511497497559, -0.9020159840583801, -0.4741874933242798, 0.18826349079608917, -0.7732309103012085, -0.03886748105287552, 0.26312366127967834, -0.2763833999633789, 0.39980247616767883, 0.29784995317459106, -0.7834094762802124, 0.7372937798500061, 0.7270940542221069, 0.11649589985609055, 0.59937584400177, -0.23367911577224731, 0.09581343829631805, -1.1918139457702637, 0.07047367095947266, 0.11938165128231049, 0.0984545350074768, -0.6025438904762268, 0.340015709400177, 0.2717573344707489, -0.06442911922931671, -0.7295705676078796, 0.39686882495880127, -0.6510595083236694, -0.18423035740852356, -0.5816905498504639, -0.16386795043945312, -0.26621219515800476, 0.33652323484420776, -0.06958867609500885, 0.521887481212616, 0.3444977402687073, -0.5665407180786133, 0.955467939376831, -0.36518630385398865, -0.46173518896102905, 0.04672353342175484, -0.8474755883216858, -0.2810358703136444, 0.047900937497615814, -0.13251367211341858, -0.8856688141822815, -0.4384424090385437, -0.007131442427635193, -0.25570106506347656, -0.002809935249388218, -0.02914801985025406, -0.5598791837692261, -0.7472802400588989, -0.23962926864624023, 0.5175765752792358, 0.7502962350845337, -0.6383771896362305, 0.6921042799949646, -0.021551622077822685, 0.004276443272829056, -0.35706594586372375, -0.9774993062019348, 0.14950993657112122, -0.5175556540489197, -0.884577214717865, 0.38470032811164856, -0.1273188591003418, -0.5283874273300171, -0.4161534607410431, 0.07002302259206772, -0.05590903013944626, 0.11532580107450485, 0.2171417623758316, 0.5524822473526001, -0.6982649564743042, -0.040825605392456055, -0.1408306360244751, 0.05121007561683655, 0.05749775469303131, -0.07704498618841171, 0.5951058268547058, -0.008084893226623535, -0.5353704690933228, -0.731806218624115, 0.04285227134823799, 0.7327468395233154, -0.2210867702960968, 0.595718502998352, 0.6298505663871765, -0.615983247756958, -0.3487774729728699, -0.6429919600486755, -0.09750006347894669, -0.5928151607513428, 0.4025419056415558, -0.36501091718673706, -0.648684561252594, 0.5811150670051575, 0.37749558687210083, 0.16628390550613403, 0.3574078381061554, 0.8989809155464172, 0.13829629123210907, 0.717747688293457, 0.6352953910827637, -0.5358682870864868, 0.612979531288147, 0.014632441103458405, -0.059154167771339417, -0.5068901777267456, -0.04464783892035484, -0.5191605687141418, -0.3964066803455353, -0.6297585964202881, -0.5346593856811523, 0.14785318076610565, -0.14071416854858398, -0.4759458005428314, 0.27086061239242554, -0.3443366587162018, 0.3266606330871582, 0.7603353261947632, 0.20029836893081665, 0.4673711061477661, 0.021448275074362755, 0.03420056402683258, -0.17560115456581116, -0.6450679302215576, -0.4420955181121826, 0.7642503380775452, 0.6430945992469788, 1.3613231182098389, 0.46151381731033325, 0.7838751673698425, 0.16726036369800568, 0.009476576931774616, -0.9892332553863525, 0.531619668006897, -0.191710963845253, -0.7239233255386353, -0.37474194169044495, -0.5256183743476868, -0.9177786111831665, 0.38592788577079773, -0.05463451147079468, -0.7097488045692444, -0.21287205815315247, 0.23220477998256683, -0.37210074067115784, 0.42494773864746094, -0.6115227341651917, 0.7250832319259644, -0.7508993148803711, -0.49490857124328613, -0.04149845242500305, -0.6476243734359741, 0.7863305807113647, 0.13202454149723053, 0.13441430032253265, -0.018292192369699478, 0.16638797521591187, 0.6836766004562378, -0.3164982199668884, 0.9305214881896973, -0.08220374584197998, -0.3057860732078552, 0.2906862795352936, -0.01126742921769619, 0.24431294202804565, -0.23364228010177612, -0.10214593261480331, -0.2862621545791626, -0.006278051529079676, -0.5117754936218262, -0.5175610184669495, 0.9780373573303223, -1.0171412229537964, -0.6968144178390503, -0.4305872619152069, -0.5958825349807739, 0.18941885232925415, 0.35306602716445923, 0.20916743576526642, 0.3886803686618805, -0.06274112313985825, 0.6702679991722107, 0.8911586403846741, -0.29974499344825745, 0.5905407667160034, 0.4531767964363098, -0.8189771771430969, -0.20111316442489624, 0.7856777310371399, 0.48516613245010376, 0.48994043469429016, 0.4361565411090851, 0.3874746263027191, 0.0854276791214943, -0.650692343711853, -0.5350111722946167, 0.4417744576931, -0.5967342257499695, 0.1476762890815735, -0.12754708528518677, -0.7267740964889526, -0.42043614387512207, 0.03918449953198433, -0.32568275928497314, -0.1737171858549118, -0.4657443165779114, -0.05648452788591385, 0.19846223294734955, 0.8281892538070679, 0.34256064891815186, 0.625156819820404, -0.7060099244117737, 0.538444995880127, 0.22852714359760284, 0.13151858747005463, 0.06804076582193375, -0.7906002998352051, -0.5808947086334229, -0.011728115379810333, -0.3236050009727478, -0.746604323387146, 0.4730134606361389, -0.038475021719932556, 0.7186068892478943, 0.6789067983627319, -0.11032144725322723, 0.5841204524040222, -0.14798922836780548, 0.7535948753356934, 0.43934857845306396, -0.886549174785614, 0.7012059092521667, -0.6983043551445007, 0.4998720586299896, 0.2040584534406662, 0.24473989009857178, -0.423882395029068, 0.17957253754138947, -0.370622456073761, -0.8332850337028503, 0.44688141345977783, 0.07089588791131973, 0.05234551057219505, 0.49236857891082764, 0.6155176162719727, -0.08092951774597168, 0.1593398004770279, -0.852230966091156, -0.19614335894584656, 0.13680103421211243, -0.40725988149642944, -0.05542726069688797, -0.3122098743915558, 0.09830774366855621, -0.40264788269996643, 0.4855402112007141, -0.1857294738292694, -0.05158528313040733, -0.16741155087947845, -0.15763165056705475, -0.27324968576431274, 0.1505064070224762, 0.5385036468505859, 0.8520326614379883, -0.27447599172592163, 0.003992680460214615, 0.15159745514392853, -0.41036200523376465, 0.03765008971095085, -0.20232902467250824, -0.5784817934036255, 0.05105835199356079, 0.5033842325210571, 1.0189845561981201, 0.17086800932884216, -0.6920504570007324, 0.2855847477912903, 0.23578234016895294, -0.22777658700942993, -0.4445623755455017, 0.6072453260421753, 0.43569114804267883, 0.15874192118644714, 0.5465697050094604, -0.3824050724506378, 0.05054711550474167, -0.8646125197410583, -0.13061504065990448, 0.19449225068092346, -0.3728332817554474, -0.22951221466064453, 0.2472664713859558, 0.26974165439605713, -0.3900258541107178, 0.5539020299911499, 0.33286476135253906, -0.40330150723457336, 0.8756208419799805, 0.5848459005355835, 0.5147209167480469, -0.3345796465873718, -0.1348869502544403, 0.3615168631076813, 0.5998097658157349, -0.45285114645957947, 0.48132604360580444, 0.3179444372653961, -0.4905494451522827, -0.4034319519996643, -0.6925898790359497, -0.46691757440567017, 0.13487938046455383, -0.7779619097709656, 0.6042551398277283, -0.7823418378829956, -0.40261518955230713, -0.07869036495685577, 0.10491572320461273, -0.20291133224964142, 0.3782670199871063, 0.41695544123649597, 1.209232211112976, -0.5596125721931458, 1.2875488996505737, 0.39777979254722595, -0.7073689103126526, -0.9570664167404175, -0.330671489238739, 0.06993073225021362, -0.7438631653785706, 0.989248514175415, 0.29359233379364014, -0.18403507769107819, -0.1691131591796875, -0.7226361632347107, -0.8847417235374451, 1.3446743488311768, 0.7102611064910889, -0.8670097589492798, -0.7036634683609009, -0.02098337933421135, 0.3990580439567566, -0.4110163450241089, -0.07553384453058243, 0.7735335230827332, 0.5373424291610718, 0.25681498646736145, -1.1491211652755737, -0.17223571240901947, -0.4585828483104706, 0.3901093602180481, 0.00005946820601820946, -1.1270698308944702, 1.4133563041687012, -0.2267863154411316, 0.2085726261138916, 0.39900732040405273, 0.8862406015396118, 0.5292954444885254, -0.06533005833625793, 0.18916437029838562, 0.32080355286598206, 0.7421804666519165, -0.0773644968867302, 0.714612603187561, -0.2907014489173889, 0.15229003131389618, 0.9077931642532349, -0.39071574807167053, 0.964201807975769, 0.6805872917175293, -0.006524192169308662, 0.4399346709251404, 0.7754756212234497, 0.041818127036094666, 0.0938139408826828, 0.6152290105819702, -0.22757655382156372, -0.2317030131816864, 0.015995316207408905, -0.6236666440963745, 0.5205797553062439, 0.4166463315486908, -0.5074115991592407, 0.2355780303478241, -0.14260748028755188, -0.166569784283638, -0.031045658513903618, -0.7153611183166504, 0.34843942523002625, 0.43873971700668335, -0.636346161365509, 0.7714672088623047, 0.2628590762615204, 1.0773102045059204, -0.9272114038467407, 0.08651498705148697, -0.024342073127627373, 0.39351263642311096, -0.3972935378551483, -0.2929079532623291, 0.007038614712655544, -0.22536106407642365, -0.2169315069913864, 0.3763750195503235, 0.861481249332428, -0.44943565130233765, -0.645321786403656, 0.5144969820976257, 0.2686935365200043, -0.021661153063178062, 0.13367505371570587, -0.7525321841239929, 0.5734380483627319, -0.03332460671663284, -0.2810974419116974, 0.38740023970603943, 0.5262916684150696, 0.02795068547129631, 0.9195879697799683, 0.3754676878452301, 0.5060490965843201, 0.06436623632907867, 0.18286001682281494, 0.7519145011901855, -1.1730862855911255, -0.6792149543762207, -1.1138415336608887, 0.19167140126228333, 0.17997559905052185, -0.11974619328975677, 0.9575554132461548, 0.5686489343643188, 0.2738083302974701, 0.012108761817216873, 1.081246018409729, 0.197851300239563, 0.3235406279563904, -0.7794064283370972, 0.7290566563606262, -0.535827100276947, 0.27146947383880615, -0.42758023738861084, -0.8709168434143066, -0.04393341764807701, 0.8450095653533936, -0.1208472028374672, 0.3276771903038025, 0.6287440061569214, 0.7282313704490662, 0.035743311047554016, 0.07399095594882965, 0.5846961140632629, 0.23494336009025574, 0.356273353099823, 0.9244014024734497, 0.9171313643455505, -0.3600015640258789, 0.28112444281578064, -0.1400374174118042, -0.23415233194828033, -0.5328986048698425, -0.7088814973831177, -1.2266343832015991, -0.14761045575141907, 0.06907696276903152, -0.3813577890396118, 0.169654980301857, 1.3970683813095093, 0.6769097447395325, -0.5589948892593384, -0.9321631193161011, 0.2965208888053894, -0.11679692566394806, 0.1541847437620163, -0.1886763721704483, 0.19046974182128906, -0.12909020483493805, -0.6145071387290955, 0.02485639415681362, 0.3426051735877991, 0.32126766443252563, -1.0269289016723633, -0.18953073024749756, -0.2898084819316864, 0.01590110920369625, 0.611526370048523, 0.2061813622713089, -0.9081839919090271, 0.04337308928370476, -0.0017671696841716766, -0.6096739172935486, 0.04270918667316437, 0.8279746174812317, -0.20171049237251282, 0.0504215732216835, 0.6544756889343262, 0.7907273769378662, 0.6830265522003174, -0.009687023237347603, 0.6021259427070618, -0.13287153840065002, 0.29747647047042847, -0.034615371376276016, 0.5237200260162354, 0.393629252910614, -0.23668628931045532, 0.29482731223106384, 0.33068302273750305, -0.3839684724807739, -0.6906335353851318, 0.12646816670894623, -1.2706027030944824, -0.27596214413642883, 1.430548071861267, -0.09754157066345215, -0.7564172148704529, -0.005607312545180321, -0.5934155583381653, -0.007054781541228294, -0.41332629323005676, 0.584202766418457, 0.8043168783187866, 0.12028529495000839, -0.5131375193595886, -0.8931014537811279, 0.15587949752807617, 0.08154541999101639, -0.750106155872345, -0.001956293359398842, 0.5203007459640503, 0.24245941638946533, 0.03052205592393875, 0.7836465835571289, 0.11288344115018845, 0.5269856452941895, -0.1731189787387848, 0.09699521213769913, 0.17686688899993896, -0.40257528424263, -0.1016736701130867, 0.3764519691467285, 0.6392494440078735, 0.2609199285507202 ]
http://arxiv.org/abs/2403.15467v1
http://arxiv.org/pdf/2403.15467v1
Don't be a Fool: Pooling Strategies in Offensive Language Detection from User-Intended Adversarial Attacks
2024-03-20T06:28:09
2024-03-20T06:28:09
Seunguk Yu, Juhwan Choi, Youngbin Kim
cs.CL
cs.CL
Offensive language detection is an important task for filtering out abusive expressions and improving online user experiences. However, malicious users often attempt to avoid filtering systems through the involvement of textual noises. In this paper, we propose these evasions as user-intended adversarial attacks that insert special symbols or leverage the distinctive features of the Korean language. Furthermore, we introduce simple yet effective pooling strategies in a layer-wise manner to defend against the proposed attacks, focusing on the preceding layers not just the last layer to capture both offensiveness and token embeddings. We demonstrate that these pooling strategies are more robust to performance degradation even when the attack rate is increased, without directly training of such patterns. Notably, we found that models pre-trained on clean texts could achieve a comparable performance in detecting attacked offensive language, to models pre-trained on noisy texts by employing these pooling strategies.
[ -0.27209779620170593, -0.9185000658035278, -0.002312930766493082, 0.04223876819014549, -0.35141122341156006, 0.14526453614234924, -0.28452107310295105, -0.3667803704738617, 0.20866934955120087, 0.8195610642433167, -0.30508923530578613, -0.09084440022706985, -0.6857919096946716, 0.014690348878502846, -0.6235695481300354, 1.0357933044433594, 0.03709753602743149, -0.010106606408953667, 0.45505571365356445, -0.009527746587991714, -0.25283142924308777, -0.378486305475235, -0.9527786374092102, -0.23175589740276337, 0.4316937327384949, 0.1915469765663147, 0.9662677645683289, 0.565667986869812, 0.2916080355644226, 0.37475091218948364, 0.047840606421232224, 0.2298896610736847, -0.7028582692146301, 0.3881891667842865, -0.18194815516471863, -0.5343514084815979, -0.01847708225250244, 0.08185655623674393, 0.17649710178375244, 0.05028097331523895, 0.18695151805877686, -0.2863837480545044, -0.27973756194114685, 0.7584418654441833, -1.197171926498413, -0.005780455656349659, -0.8473703861236572, 0.2354644536972046, -0.5611451864242554, -0.16021762788295746, -0.514689028263092, 0.09656891226768494, -0.07453583925962448, -0.4897010922431946, -0.11098164319992065, -0.09276875108480453, 0.6816776394844055, 0.18653659522533417, -0.1496192365884781, -0.5403192639350891, -0.5214884281158447, 0.8035930395126343, -0.6162130832672119, 0.048502109944820404, 0.6100610494613647, 0.4000462591648102, -0.14196303486824036, -0.6079506874084473, -0.6354203820228577, -0.2376050055027008, -0.25268256664276123, 0.2136223018169403, -0.6504533290863037, 0.09475179761648178, -0.01095881499350071, 0.09625613689422607, -0.4730144441127777, 0.14648422598838806, -0.11654308438301086, -0.24087737500667572, 0.9110425114631653, -0.25080230832099915, 0.8127149939537048, -0.019199268892407417, -0.6987190246582031, -0.037267882376909256, -0.5490158200263977, -0.09220333397388458, 0.7992172241210938, 0.43155553936958313, 0.09207417070865631, 0.5312939882278442, -0.13458947837352753, 0.36222660541534424, 0.12233806401491165, 0.15779699385166168, 0.009753433056175709, -0.1388700306415558, -0.19415391981601715, 0.1759408563375473, 0.9982531666755676, 0.1302689015865326, 0.7450569272041321, -0.4633161127567291, -0.611812949180603, 0.3260100185871124, 0.6025699973106384, -0.47967711091041565, -0.728567361831665, 0.16297465562820435, -0.31671142578125, -0.9137259125709534, 0.08284280449151993, -0.8944322466850281, -0.6828281879425049, 0.19403283298015594, 0.47103843092918396, -0.6147075295448303, -0.4470478892326355, -0.08524098247289658, -0.4448140561580658, -0.07543748617172241, -0.02503240294754505, -0.7624274492263794, 0.5567851066589355, 0.5929276943206787, 0.4214780926704407, -0.02034655213356018, -0.20180954039096832, -0.8362817764282227, 0.12065315246582031, -0.3782717287540436, 0.6169653534889221, -0.6637857556343079, -0.27025172114372253, 0.1941998302936554, -0.2929996848106384, -0.2519586682319641, -0.6060602068901062, 0.7387468218803406, -0.7992969751358032, 0.2414461076259613, -0.128947913646698, -0.3043684959411621, -0.25250911712646484, 0.15585017204284668, -0.6939648389816284, 0.7244824171066284, 0.157727912068367, -0.8957474827766418, 0.10812797397375107, -0.7545813918113708, -0.6365696787834167, 0.3249722421169281, 0.1416686326265335, -0.3935681879520416, 0.08210092782974243, 0.3991840183734894, 0.18055936694145203, 0.47885453701019287, -0.20327849686145782, -0.3312954902648926, -0.40109914541244507, 0.5944800972938538, -0.47699999809265137, 0.9903391003608704, 0.5817318558692932, -0.5573254227638245, 0.03596296161413193, -0.2452048808336258, 0.14336182177066803, 0.42320579290390015, -0.10695943981409073, -0.6264181137084961, 0.10310988128185272, 0.08358225226402283, 0.19195203483104706, 0.18127404153347015, -0.3362218141555786, -0.24237610399723053, -0.6251785755157471, 0.29892536997795105, 0.6374655365943909, -0.1725553274154663, 0.6101183295249939, -0.35107290744781494, 0.6794472336769104, 0.17358069121837616, 0.14929994940757751, -0.4391348361968994, -0.1580973118543625, -0.6133847832679749, -0.4110981822013855, -0.03882075846195221, 0.9048221111297607, -1.1736944913864136, 0.26699328422546387, 0.09120091050863266, -0.428000807762146, -0.5112104415893555, 0.4352896511554718, 0.9649094343185425, 0.2735746204853058, 0.3783376216888428, -0.11161764711141586, -0.7015835642814636, -0.5660132169723511, -0.8866497874259949, -0.4621869921684265, 0.007032036781311035, 0.46060267090797424, 0.3245570659637451, 0.15008309483528137, 0.608059823513031, -0.4351472556591034, -0.28933143615722656, -0.4066336154937744, -0.2633458077907562, -0.4939844012260437, 0.19947366416454315, 0.8311752676963806, -1.1050803661346436, -0.78225177526474, 0.06775834411382675, -0.7874360680580139, -0.35847461223602295, 0.11206741631031036, -0.16689366102218628, 0.169526606798172, 0.4870999753475189, -0.40842124819755554, 0.35480496287345886, 0.4495098888874054, -0.554279625415802, 0.29897305369377136, 0.22301599383354187, 0.09992510825395584, -0.7241427302360535, -0.23497894406318665, 0.05204358696937561, -0.3669757544994354, -1.1544629335403442, 0.5119576454162598, 0.006800743751227856, -0.03680333122611046, -0.6281248927116394, 0.8233524560928345, -0.21602797508239746, 0.5419203639030457, -0.5149412155151367, 0.41348153352737427, -0.02391425147652626, 0.19835060834884644, -0.25236523151397705, 0.5043086409568787, 0.5245364308357239, -0.46237510442733765, 0.22431282699108124, -0.04731099680066109, 0.08332624286413193, 0.6731869578361511, -0.43699103593826294, 0.22508953511714935, -0.057344187051057816, 0.07001172006130219, -1.0669466257095337, 0.05780201032757759, 0.841917097568512, -0.622949481010437, 0.7198653221130371, -0.41099539399147034, -0.12186813354492188, -0.3519897162914276, -0.7145710587501526, 0.16251304745674133, 0.3589719533920288, -0.7506240606307983, 0.3278305232524872, 0.6614589095115662, 0.1689089983701706, -1.1062095165252686, -0.8269984126091003, 0.27932634949684143, -0.552338182926178, -0.7874163389205933, 0.349712073802948, 0.29788386821746826, -0.31980690360069275, 0.03014044649899006, -0.038832757622003555, -0.27760034799575806, 0.4697685241699219, -0.0733611062169075, 0.04593699425458908, -0.18500101566314697, -0.3832797706127167, -0.27740979194641113, -0.008112125098705292, 0.0530996136367321, -0.4596967399120331, 0.5306071043014526, 0.10366445779800415, -0.22741298377513885, -0.5133951306343079, 0.4174634516239166, 0.40322861075401306, -0.045542147010564804, 0.7611724734306335, 0.7566034197807312, -0.405981183052063, -0.3483884036540985, -0.4004683494567871, -0.21370908617973328, -0.5494617223739624, 0.531211793422699, -0.06008676439523697, -0.5501238107681274, 0.3729366958141327, 0.15844029188156128, 0.061256807297468185, 0.1260196715593338, 0.22866012156009674, -0.2877017557621002, 0.9075270295143127, 0.3553270101547241, -0.3275540769100189, 0.7294087409973145, -0.035475440323352814, 0.49547916650772095, -0.5612272620201111, -0.11822318285703659, -0.511606752872467, -0.37402504682540894, -0.6114223599433899, -0.28268706798553467, -0.3065717816352844, 0.36183464527130127, -0.25004705786705017, 0.3601986765861511, -0.13975392282009125, 0.6725190877914429, 0.1377267688512802, 0.029974570497870445, -0.0796440914273262, 0.181246817111969, 0.11171268671751022, -0.022000374272465706, -0.6249706745147705, -0.4848637580871582, 0.9176820516586304, 0.3230125308036804, 0.7060632109642029, 0.2707448899745941, 0.7855224609375, 0.37371453642845154, 0.11509579420089722, -0.6408587694168091, 0.49844890832901, -0.6876829266548157, -0.5009672045707703, -0.357909232378006, -0.4528321325778961, -1.0874706506729126, 0.4531053602695465, -0.07513643801212311, -0.818673312664032, -0.14261141419410706, 0.11689336597919464, 0.09638801217079163, 0.7088009715080261, -0.8898634314537048, 0.6750770211219788, -0.13008423149585724, 0.06968019902706146, 0.23505710065364838, -0.13196803629398346, 0.5747620463371277, -0.25000685453414917, 0.37097686529159546, 0.22378981113433838, -0.31274375319480896, 0.634134829044342, -0.4357760548591614, 0.8128831386566162, -0.4702136218547821, 0.27403634786605835, 0.3927667737007141, 0.2766939103603363, 0.7591860890388489, -0.2882983684539795, 0.06916293501853943, 0.13490691781044006, -0.441290020942688, -0.5639477372169495, -0.5303515195846558, 0.6648548245429993, -0.6276954412460327, -0.48021960258483887, -0.10888662189245224, -0.2008008360862732, 0.25422489643096924, 0.24456265568733215, 0.3607555031776428, -0.07420910894870758, -0.26321738958358765, -0.0949169397354126, 0.5657793283462524, -0.12643004953861237, 0.7027776837348938, 0.30792367458343506, -0.19149912893772125, -0.4191558361053467, 1.1459919214248657, 0.0921160951256752, 0.20795337855815887, 0.17927230894565582, 0.43367281556129456, -0.5191828012466431, -0.630228579044342, -0.5931993126869202, 0.0310551505535841, -0.46453267335891724, -0.23953020572662354, -0.7675479054450989, -0.3385739326477051, -0.38366934657096863, -0.2805601954460144, -0.44443172216415405, -0.3082517683506012, -0.07866012305021286, 0.1547190099954605, 0.24588985741138458, 0.6580068469047546, 0.08766788244247437, 0.6753387451171875, -0.6117963194847107, 0.2652621865272522, 0.19773367047309875, 0.08009741455316544, 0.010026019997894764, -0.5838198065757751, -0.1140194684267044, 0.025440668687224388, -0.48504671454429626, -1.0791133642196655, 0.6519320607185364, 0.20575889945030212, 0.792402982711792, 0.7022784352302551, 0.5080377459526062, 0.43314599990844727, -0.2848878502845764, 0.7132124304771423, 0.2244977355003357, -0.8891486525535583, 0.622983455657959, -0.2707269787788391, -0.00540643697604537, 0.3680438995361328, 0.16927632689476013, -0.5243324637413025, -0.5966829657554626, -0.6740660071372986, -0.9002758860588074, 0.8852996826171875, 0.4716721475124359, 0.5334553718566895, -0.11300314962863922, 0.06708985567092896, -0.33043304085731506, 0.10046039521694183, -0.827824592590332, -0.6740373969078064, -0.34623220562934875, -0.008217059075832367, 0.11736598610877991, -0.2174704521894455, -0.279163122177124, 0.41392022371292114, 0.5948764681816101, 0.145046666264534, -0.07968155294656754, -0.20145532488822937, -0.3315037786960602, -0.10770999640226364, 0.12108798325061798, 0.3585241734981537, 0.03710484877228737, 0.5183037519454956, 0.16000713407993317, 0.08748083561658859, -0.7215204238891602, -0.029192375019192696, -0.013979626819491386, -0.39031362533569336, -0.1040416806936264, 0.3174586296081543, 0.7370971441268921, 0.3539431095123291, -0.5180494785308838, 0.8252447247505188, -0.13725587725639343, 0.01100341696292162, -0.23803992569446564, 0.38134121894836426, -0.1552245020866394, 0.18870800733566284, 0.17778027057647705, 0.3702796399593353, 0.028370561078190804, -0.2644139528274536, 0.31954342126846313, 0.5525477528572083, -0.4976397156715393, -0.1520717293024063, 0.42480435967445374, 0.14227604866027832, -0.5422891974449158, 0.4811326265335083, -0.37463393807411194, -0.9860122799873352, 0.44664591550827026, 0.7137677669525146, 0.9603729844093323, -0.6618452668190002, 0.36768531799316406, 0.01454597245901823, 0.37376290559768677, -0.030018895864486694, 0.19873569905757904, 0.10886013507843018, -0.8766429424285889, -0.11911037564277649, -0.34408676624298096, -0.052151232957839966, 0.23635095357894897, -0.4892236292362213, 0.3590218424797058, -0.6852459907531738, 0.06214126944541931, -0.0983138456940651, 0.06861678510904312, -0.32884544134140015, 0.09499421715736389, 0.4666050672531128, 0.7292549014091492, -0.9213694930076599, 0.5107877254486084, 0.587262749671936, -0.11737413704395294, -0.337116539478302, 0.07442346215248108, 0.3640300929546356, -0.8226835131645203, 0.4419853389263153, 0.0580378994345665, -0.04751097410917282, -0.39788496494293213, -0.4618183970451355, -0.6052206158638, 0.5105026960372925, 0.418268620967865, -0.06825204193592072, 0.4113505184650421, -0.0035154633224010468, 0.32937419414520264, -0.30989494919776917, 0.173527792096138, 0.5056445002555847, 0.3566015362739563, 0.10217863321304321, -0.5048844218254089, 0.05340166017413139, -0.3447689712047577, -0.24192695319652557, 0.26730799674987793, -0.5921574234962463, 0.9190821647644043, -0.015576405450701714, -0.49853652715682983, -0.2036801129579544, 0.5124116539955139, 0.24180734157562256, 0.5952631831169128, 0.6519796252250671, 0.5149189233779907, 0.9875956773757935, -0.04102475568652153, 1.0872502326965332, -0.08702655881643295, -0.1150045320391655, 0.8571483492851257, -0.04623783007264137, 0.8219619989395142, 0.20247310400009155, -0.1200299859046936, 0.28723371028900146, 0.27719810605049133, -0.042658865451812744, 0.6134864091873169, 0.44294410943984985, -0.4827333092689514, -0.013828874565660954, -0.03477492183446884, -0.2584370970726013, 0.6659812927246094, 0.4792269766330719, -0.3967178463935852, -0.25542151927948, -0.07412445545196533, 0.5819299817085266, 0.59129399061203, -0.4488208293914795, 0.7271714210510254, 0.03437085822224617, -0.43236473202705383, 0.2847331166267395, 0.23726670444011688, 1.0596840381622314, -0.5181377530097961, 0.38338813185691833, -0.20275673270225525, 0.22545310854911804, -0.37522342801094055, -0.579378068447113, 0.19484981894493103, 0.32722344994544983, 0.056472450494766235, -0.005848062224686146, 1.0956283807754517, -0.2746986746788025, -0.21827822923660278, 0.47706541419029236, 0.3550812602043152, 0.3361756503582001, -0.20156405866146088, -0.9598166346549988, -0.12711872160434723, 0.06145330145955086, -0.2992004454135895, 0.7092509269714355, 0.4173375964164734, -0.11033399403095245, 0.6704764366149902, 0.9254199862480164, 0.27923592925071716, 0.2260148525238037, 0.16924834251403809, 0.9003373980522156, -0.42066848278045654, -0.5804752707481384, -1.2804855108261108, 0.2879965305328369, -0.417584091424942, -0.037853438407182693, 0.7517171502113342, 0.3949454426765442, 1.1166203022003174, 0.0729769617319107, 0.8399726152420044, 0.23409198224544525, 0.06578557938337326, -0.41003862023353577, 1.0800532102584839, -0.22320233285427094, 0.43140530586242676, -0.5068128705024719, -0.5304476022720337, -0.4021817147731781, 0.6679120659828186, -0.1492231786251068, 0.3659192621707916, 0.49889475107192993, 0.7043611407279968, 0.12570564448833466, 0.2808104455471039, 0.5138702392578125, 0.1286577582359314, 0.5136653184890747, 0.47176504135131836, 0.8562309145927429, -0.5784011483192444, 0.842220664024353, -0.39530178904533386, -0.23270216584205627, -0.14878937602043152, -0.8019846081733704, -1.1419306993484497, -0.03608572110533714, -0.3124220073223114, -0.5467678308486938, 0.09064996242523193, 0.41099679470062256, 0.6869340538978577, -0.9350646734237671, 0.05359583720564842, 0.20583990216255188, 0.2024197280406952, -0.12397395819425583, -0.23588061332702637, 0.23891040682792664, -0.6963191032409668, -0.8275439739227295, 0.5934350490570068, 0.16387969255447388, 0.009357688017189503, -0.2678409218788147, -0.22254085540771484, -0.08715122938156128, 0.2674315869808197, 0.37726181745529175, 0.5165033936500549, -0.6065036058425903, -0.08649100363254547, -0.07561283558607101, -0.24753345549106598, -0.32665255665779114, 0.6564390063285828, -0.7296872735023499, 0.5492513179779053, 0.4276001751422882, 0.720237135887146, 0.01173463836312294, -0.05621140077710152, 0.40845227241516113, -0.8975619077682495, 0.22909918427467346, 0.32300865650177, 0.23776085674762726, 0.3039369285106659, -0.6710801720619202, 0.35352227091789246, 0.25430384278297424, -0.25453922152519226, -0.9656409621238708, 0.1585511565208435, -0.5213068127632141, -0.5741199254989624, 1.0139591693878174, -0.6924532055854797, -0.42624765634536743, -0.5480645298957825, -0.21737965941429138, 0.2236853837966919, -0.4101063907146454, 0.9375700354576111, 0.5876610279083252, 0.12251722812652588, 0.15471568703651428, -0.4809528887271881, 0.6285828351974487, 0.30010199546813965, -0.41378575563430786, 0.23719146847724915, -0.015527917072176933, 0.13748641312122345, 0.09490717202425003, 0.43781623244285583, -0.27704983949661255, 0.3115003705024719, 0.2606247663497925, -0.6308853030204773, -0.34836286306381226, -0.27861252427101135, -0.374287873506546, 0.3186764717102051, -0.3394973874092102, -0.44057023525238037 ]
http://arxiv.org/abs/2403.13313v1
http://arxiv.org/pdf/2403.13313v1
Polaris: A Safety-focused LLM Constellation Architecture for Healthcare
2024-03-20T05:34:03
2024-03-20T05:34:03
Subhabrata Mukherjee, Paul Gamble, Markel Sanz Ausin, Neel Kant, Kriti Aggarwal, Neha Manjunath, Debajyoti Datta, Zhengliang Liu, Jiayuan Ding, Sophia Busacca, Cezanne Bianco, Swapnil Sharma, Rae Lasko, Michelle Voisard, Sanchay Harneja, Darya Filippova, Gerry Meixiong, Kevin Cha, Amir Youssefi, Meyhaa Buvanesh, Howard Weingram, Sebastian Bierman-Lytle, Harpreet Singh Mangat, Kim Parikh, Saad Godil, Alex Miller
cs.AI
cs.AI, cs.CL
We develop Polaris, the first safety-focused LLM constellation for real-time patient-AI healthcare conversations. Unlike prior LLM works in healthcare focusing on tasks like question answering, our work specifically focuses on long multi-turn voice conversations. Our one-trillion parameter constellation system is composed of several multibillion parameter LLMs as co-operative agents: a stateful primary agent that focuses on driving an engaging conversation and several specialist support agents focused on healthcare tasks performed by nurses to increase safety and reduce hallucinations. We develop a sophisticated training protocol for iterative co-training of the agents that optimize for diverse objectives. We train our models on proprietary data, clinical care plans, healthcare regulatory documents, medical manuals, and other medical reasoning documents. We align our models to speak like medical professionals, using organic healthcare conversations and simulated ones between patient actors and experienced nurses. This allows our system to express unique capabilities such as rapport building, trust building, empathy and bedside manner. Finally, we present the first comprehensive clinician evaluation of an LLM system for healthcare. We recruited over 1100 U.S. licensed nurses and over 130 U.S. licensed physicians to perform end-to-end conversational evaluations of our system by posing as patients and rating the system on several measures. We demonstrate Polaris performs on par with human nurses on aggregate across dimensions such as medical safety, clinical readiness, conversational quality, and bedside manner. Additionally, we conduct a challenging task-based evaluation of the individual specialist support agents, where we demonstrate our LLM agents significantly outperform a much larger general-purpose LLM (GPT-4) as well as from its own medium-size class (LLaMA-2 70B).
[ -0.14665448665618896, -0.23478946089744568, 0.7743965983390808, 0.212211012840271, -0.37098637223243713, 0.33608290553092957, 0.2479146122932434, -0.6138563752174377, 0.4264855980873108, 0.7279935479164124, -0.6991426348686218, -0.7768043279647827, -0.47784700989723206, 0.025408368557691574, -0.00004867218740400858, 1.0600616931915283, 0.4142337143421173, 0.4477350115776062, -0.3136900067329407, -0.24436306953430176, -0.04425756633281708, -0.7459890842437744, -0.8411282896995544, -0.30978697538375854, 0.6699274778366089, 0.3836040198802948, 0.8783072233200073, 0.19259870052337646, 0.630010187625885, 0.28739631175994873, -0.07153819501399994, 0.12292146682739258, -0.3654499351978302, 0.35332968831062317, 0.33691006898880005, -0.4125257432460785, -0.9606532454490662, 0.04775461181998253, 0.3925651013851166, 0.6516456604003906, -0.36311057209968567, 0.06687115132808685, -0.19035598635673523, 0.5846655368804932, -0.39964380860328674, 0.12638528645038605, -0.2226155698299408, 0.2149350494146347, 0.24958403408527374, -0.1253581941127777, -0.45811304450035095, -0.3370448350906372, 0.47696080803871155, -0.7532778382301331, -0.15285144746303558, 0.19841988384723663, 0.6863236427307129, 0.5357993841171265, -0.4765142798423767, -0.25336727499961853, -0.6581053733825684, 0.6965604424476624, -0.446310430765152, 0.15558011829853058, 0.07708334177732468, 0.2653357982635498, 0.03982954099774361, -0.6847853660583496, -0.2175893485546112, -0.5515139102935791, -0.010354035533964634, 0.3888993561267853, -0.004096588119864464, 0.5471154451370239, -0.07588599622249603, 0.007127787452191114, -0.5701775550842285, 0.2244754135608673, -0.07898210734128952, -0.14441823959350586, 0.6103137135505676, 0.6572448015213013, 0.12277127802371979, 0.022854449227452278, -0.5738011598587036, -0.012250745669007301, -0.706425130367279, 0.07732988148927689, -0.10164070874452591, -0.013076620176434517, -0.3845849931240082, 0.3296731114387512, -0.03792504593729973, 0.37938037514686584, -0.07243863493204117, -0.29811474680900574, 0.1900278925895691, -0.14541848003864288, -0.3787992298603058, -0.07668352127075195, 0.9359508752822876, 0.5761302709579468, -0.19441287219524384, -0.4079265296459198, -0.08850780129432678, 0.34442275762557983, 0.5507526993751526, -0.6110772490501404, 0.051917389035224915, 0.42595234513282776, -0.4639037549495697, -0.6218997240066528, -0.0673823356628418, -0.31160128116607666, -0.5651248693466187, -0.3779377341270447, 0.08838578313589096, -0.08292943239212036, -0.16600313782691956, 0.16586382687091827, 0.23678192496299744, 0.31993213295936584, 0.2500196397304535, -0.5116830468177795, 0.46751049160957336, 1.1769131422042847, 0.6553409695625305, -0.2994276285171509, -0.020204203203320503, -0.5852643847465515, -0.06573756784200668, -0.46535801887512207, 0.5703451633453369, -0.07731011509895325, -0.5340319871902466, 0.0027400017715990543, 0.1263953447341919, -0.015689251944422722, -0.7669561505317688, 0.36098551750183105, -0.4789356589317322, 0.016660835593938828, -0.25585252046585083, -0.25093570351600647, 0.12871351838111877, 0.4440878927707672, -0.3122251033782959, 0.2849278151988983, 0.18050485849380493, -0.4275462329387665, 0.500815749168396, -0.7505096197128296, -0.32922548055648804, 0.42736849188804626, -0.42300766706466675, -0.7677339911460876, -0.1759723573923111, -0.1471632719039917, 0.5357736945152283, -0.6445146799087524, 0.29512345790863037, -0.10116799920797348, -0.25680169463157654, 0.32964321970939636, -0.03534828498959541, 0.768497109413147, 0.15349337458610535, -0.28716298937797546, 0.5812917351722717, -0.49898862838745117, 0.02974684350192547, -0.005000243429094553, -0.20681028068065643, -0.011581683531403542, 0.024632573127746582, -0.10409323126077652, 0.019853223115205765, 0.120402030646801, -0.7912868857383728, -0.20528492331504822, -0.39748600125312805, 0.32126137614250183, 0.5793659687042236, 0.0868045911192894, 0.5428419709205627, -0.7592359185218811, 0.723260223865509, 0.08505311608314514, 1.1196929216384888, 0.17754213511943817, -0.7387789487838745, -0.9394738078117371, -0.5300924777984619, -0.39568573236465454, 0.8713619112968445, -0.7201970219612122, 0.410138875246048, -0.037250369787216187, -0.3785162568092346, -0.5572330951690674, -0.04253138229250908, 0.46025997400283813, 0.7307711243629456, 0.07064399868249893, -0.2251683473587036, -0.29436635971069336, -1.036473035812378, 0.25283804535865784, -0.4591274857521057, 0.035863012075424194, 0.6149099469184875, 0.07068051397800446, -0.6778109073638916, 0.7691546678543091, -0.2036462277173996, -0.3210340440273285, -0.329807847738266, -0.038225091993808746, 0.33163729310035706, 0.27304860949516296, 0.35387948155403137, -0.5982949137687683, -0.48389381170272827, -0.2626674473285675, -1.110440969467163, 0.17416499555110931, -0.2022838443517685, -0.03225787729024887, 0.2424793541431427, 0.23871541023254395, -0.6641467213630676, 0.2318171113729477, 0.7052813768386841, -0.6292980909347534, 0.2860014736652374, -0.18775275349617004, 0.025538861751556396, -1.2341653108596802, 0.17410658299922943, -0.0649130716919899, -0.17148526012897491, -1.0232772827148438, -0.09155598282814026, -0.3444911539554596, -0.29292401671409607, -0.5818135738372803, 0.18414096534252167, -0.3810577094554901, -0.05130661651492119, -0.13196173310279846, -0.029879987239837646, -0.05214960128068924, 0.24202170968055725, -0.02963956445455551, 0.7337732315063477, 0.738351047039032, -0.49613574147224426, 0.47842860221862793, 0.5558747053146362, -0.07998108863830566, 0.755469799041748, -0.7674014568328857, 0.4045834243297577, 0.02252322994172573, 0.06848648190498352, -0.6013444066047668, 0.06428320705890656, 0.40191277861595154, -0.2303774207830429, 0.016821376979351044, 0.013038073666393757, -0.032121773809194565, -0.26330822706222534, -0.12795764207839966, 0.15944091975688934, 0.5447578430175781, -0.16032011806964874, 0.6854766011238098, 0.7024142146110535, -0.544181227684021, -0.6338467597961426, -0.3793659806251526, 0.5880599021911621, -0.07755272835493088, -0.7923568487167358, -0.00019752915250137448, -0.23292766511440277, -0.5350351929664612, -0.32125014066696167, 0.1264166682958603, 0.09673276543617249, 0.34940120577812195, 0.7433954477310181, 0.8159703612327576, -0.256859689950943, 0.003501435974612832, 0.056364528834819794, -0.5420966744422913, 0.31444939970970154, -0.11416368186473846, 0.3133388161659241, -0.672534704208374, -0.585668683052063, -0.9128955006599426, 0.541156530380249, 0.9451083540916443, 0.2349708527326584, 0.8668439984321594, 0.2393467277288437, -0.01297377236187458, 0.14359647035598755, -0.7468541264533997, -0.5105863213539124, -0.4698430299758911, 0.12392726540565491, -0.037857457995414734, -0.983822226524353, 0.5304147005081177, 0.02533804625272751, 0.3493419885635376, 0.11390341818332672, 0.36737820506095886, -0.16168032586574554, 0.9786151051521301, 0.5808847546577454, -0.12241260707378387, 0.07079946994781494, -0.25129249691963196, 0.10584057122468948, -0.6995072364807129, -0.6313512921333313, -0.24953904747962952, -0.1835835576057434, -0.5182974338531494, -0.42140522599220276, 1.047898530960083, -0.635999321937561, -0.4043276906013489, 0.09555076062679291, -0.7704173922538757, -0.08863575756549835, 0.41796553134918213, 0.2602055072784424, 0.24541407823562622, -0.28243371844291687, 0.0930175855755806, 0.02301710657775402, -0.6640343070030212, -0.5962331295013428, 1.0691970586776733, 0.7022303938865662, 0.8820115923881531, 0.04979602247476578, 0.7782085537910461, 0.16210190951824188, 0.7682960033416748, -0.75454181432724, 0.8176118731498718, -0.27705293893814087, -0.3856118321418762, -0.3013165593147278, -0.3796173930168152, -0.7970721125602722, 0.1526295691728592, -0.5694700479507446, 0.01883555017411709, 0.03035258688032627, -0.010427871719002724, -0.832192063331604, 0.002850144635885954, -0.4491366744041443, 0.5134868025779724, -0.5603920817375183, -0.2706669270992279, -0.18500563502311707, -0.9467167258262634, -0.011642906814813614, 0.2686760425567627, -0.08032537996768951, -0.18147845566272736, -0.40995243191719055, 0.4698832631111145, -0.25599876046180725, 1.068501591682434, -0.12480132281780243, 0.11896584928035736, 0.22262121737003326, -0.03744831308722496, 0.21697847545146942, 0.36662089824676514, 0.021550871431827545, 0.6711718440055847, 0.018412098288536072, -0.2385687381029129, -0.3236032724380493, 0.5949410796165466, -1.095934271812439, -0.6573776602745056, -0.6590477824211121, -0.4528951346874237, -0.2495412826538086, -0.14842547476291656, 0.007350125350058079, 0.3490312397480011, -0.3838793635368347, 0.12588027119636536, 0.6955606937408447, -0.2587226331233978, 0.15042199194431305, 0.9016922116279602, 0.1342836618423462, -0.8025762438774109, 0.6197144985198975, -0.3838144540786743, 0.3574531376361847, 0.21187816560268402, 0.04096192121505737, -0.1344977468252182, -0.6041412353515625, -0.42103660106658936, 0.45360252261161804, -0.5384675860404968, -0.09474169462919235, -0.8583888411521912, -0.5794899463653564, -0.3608698546886444, -0.3654702603816986, -0.37926217913627625, -0.10815399885177612, -0.6317846179008484, -0.009651243686676025, -0.060425177216529846, 1.068877935409546, 0.2388235628604889, 0.4411148428916931, -0.7435398697853088, 0.2519281804561615, 0.5596288442611694, 0.23424434661865234, -0.70088130235672, -0.11723005771636963, 0.015374042093753815, -0.34820646047592163, -0.17532725632190704, -0.6864418387413025, 0.42972567677497864, -0.07255345582962036, 0.7492768168449402, 0.6023443341255188, 0.16274496912956238, 0.08258599042892456, -0.274181991815567, 0.9206863045692444, 0.6785134673118591, -0.6313308477401733, 0.2592405676841736, -0.19373373687267303, -0.1328817456960678, 0.6272590160369873, 0.1528341919183731, -0.6290805339813232, -0.41592976450920105, -0.5777549743652344, -0.7002524137496948, 0.5094597935676575, 0.07261412590742111, -0.09214549511671066, -0.0947452038526535, 0.760249674320221, -0.08737657219171524, 0.3066386878490448, -0.52717524766922, -0.23235687613487244, 0.04885963350534439, -0.3983137309551239, -0.2717989683151245, -0.36057624220848083, -0.7951676845550537, 0.16812409460544586, 0.5290853977203369, -0.40407660603523254, 0.41169294714927673, 0.41396430134773254, 0.20674492418766022, -0.2648315727710724, 0.3284124732017517, 0.9097204208374023, 0.5753882527351379, -0.03458835557103157, 0.0008182242163456976, 0.31883057951927185, -0.6537496447563171, 0.1327173113822937, 0.004250845871865749, 0.023125482723116875, -0.14225289225578308, 0.2503282129764557, 0.7583601474761963, 0.16154442727565765, -0.6618067622184753, 0.672660768032074, -0.41260623931884766, -0.1785997599363327, -0.693432629108429, 0.11171091347932816, 0.07531886547803879, 0.4304966330528259, 0.15954644978046417, 0.23217542469501495, 0.11875131726264954, -0.43894731998443604, 0.37558549642562866, 0.7838197350502014, -0.8073251843452454, -0.19304651021957397, 0.611763596534729, 0.5687342286109924, -0.5272749066352844, 0.49822941422462463, 0.2579427659511566, -0.36282452940940857, 0.8304956555366516, 0.17359860241413116, 1.0459469556808472, -0.24897518754005432, 0.5643444657325745, -0.04059264063835144, 0.4339003562927246, 0.08820898830890656, 0.43449628353118896, 0.06848637014627457, -0.5739731192588806, -0.2072182595729828, -0.35337013006210327, -1.1161843538284302, -0.09387727826833725, -0.6322658061981201, 0.06642972677946091, -0.9322368502616882, -0.6162242293357849, -0.3135294020175934, 0.07769870012998581, -0.34904009103775024, 0.13553129136562347, 0.46444010734558105, 0.7613404989242554, -0.6968405842781067, 0.40931475162506104, 0.9221133589744568, -0.01613464578986168, -0.6871050000190735, -0.3250753581523895, -0.009557587094604969, -1.191416621208191, 0.573907196521759, 0.04652923718094826, -0.36511898040771484, -0.34372633695602417, -0.5002686977386475, -0.38249972462654114, 1.5558462142944336, 0.4456886947154999, -0.8349059224128723, -0.05216154828667641, 0.48259371519088745, 0.7732694149017334, -0.8065855503082275, 0.24042636156082153, 0.2719991207122803, 0.08803106099367142, 0.2214038372039795, -0.9123380184173584, 0.06939607858657837, -0.14499209821224213, -0.30027979612350464, -0.242113396525383, -0.9224883317947388, 0.7993103265762329, -0.5464111566543579, -0.0868614912033081, 0.40110889077186584, 0.2765459716320038, 0.3582148253917694, 0.812175452709198, 0.7846587300300598, 0.570062518119812, 0.743660569190979, -0.17738912999629974, 1.038882851600647, -0.6700534224510193, 0.015571902506053448, 0.7459955215454102, -0.6248924732208252, 0.489149272441864, 0.49820947647094727, 0.252095103263855, 0.6727522611618042, 0.3210318982601166, 0.3965564966201782, 0.3961957097053528, -0.045661553740501404, -0.8604059219360352, -0.6105996966362, -0.23553837835788727, -0.24606698751449585, 0.12322162836790085, 0.43209847807884216, -0.3642483651638031, 0.30737462639808655, 0.23651619255542755, 0.020759500563144684, -0.2626100778579712, 0.025299416854977608, 1.3073906898498535, 0.4664604067802429, -0.7729783058166504, 0.3851472735404968, -0.5314978957176208, 0.37327414751052856, -0.729304850101471, 0.10909512639045715, -0.08531702309846878, 0.3878777027130127, -0.09662485867738724, -0.6373626589775085, 0.0635567307472229, -0.3306735157966614, 0.05050075799226761, -0.4464860260486603, 0.4594722390174866, -0.12940306961536407, -0.20945319533348083, 0.47265926003456116, 0.33809971809387207, 0.08291766792535782, 0.0678633525967598, -0.9986034631729126, 0.155745267868042, -0.3082069456577301, 0.04960922524333, 0.2743324339389801, -0.15417398512363434, 0.2888353168964386, 1.0309315919876099, 0.7025642991065979, 0.2316424548625946, -0.16885069012641907, 0.32880499958992004, 1.092143177986145, -0.556302011013031, -0.6921680569648743, -0.3526678681373596, 0.5654157400131226, -0.15734219551086426, -0.34092676639556885, 0.24747581779956818, 0.3763013184070587, -0.21395443379878998, 0.07981505244970322, 0.7117062211036682, 0.43028202652931213, 0.5780861377716064, -0.131207674741745, 0.9649717807769775, -0.4818314015865326, 0.384234219789505, 0.21582220494747162, -0.49364152550697327, -0.3552611470222473, 0.46843472123146057, -0.2679854929447174, -0.3642607033252716, 0.48829561471939087, 0.9190439581871033, 0.5051665306091309, 0.20358943939208984, 0.7029082179069519, 0.26281508803367615, 0.6707720160484314, 0.6853662729263306, 1.1319140195846558, -0.2602285146713257, 0.42570096254348755, -0.12595368921756744, -0.6242334842681885, -0.26063475012779236, -0.5326529741287231, -0.9655181765556335, -0.16669924557209015, -0.49004673957824707, -0.5635741353034973, 0.3320135772228241, 0.9586360454559326, 0.9707047939300537, -0.8366618156433105, -0.15657192468643188, -0.06526418775320053, -0.02677100896835327, -0.04639127478003502, -0.12492980808019638, -0.0812319964170456, -0.29128798842430115, -0.24316191673278809, 0.7065940499305725, 0.8335010409355164, 0.002182618947699666, -0.6133764982223511, -0.5196861624717712, 0.3638121783733368, 0.10725221037864685, 0.4658195674419403, 0.24176213145256042, -0.5653937458992004, -0.276364266872406, 0.43778541684150696, -0.6035146117210388, 0.0707542672753334, 0.8419128656387329, -0.5132239460945129, 0.2940538227558136, 0.11041519790887833, 0.559048056602478, 0.12257742136716843, -0.08314806967973709, 0.2880359888076782, -0.12175573408603668, 0.281620055437088, 0.8873022794723511, 0.1797359585762024, 0.26990145444869995, -0.8153550624847412, 0.2110062837600708, 0.2928753197193146, -1.0048892498016357, -0.629315197467804, 0.2180023044347763, -1.3975493907928467, 0.12032744288444519, 0.9720286726951599, -0.36812642216682434, -0.02317832224071026, -0.522742509841919, -0.09782423824071884, 0.05791826918721199, -0.3463759422302246, 0.7809547185897827, -0.1494426131248474, -0.4756237864494324, -0.1580488532781601, -0.3653855323791504, 0.47073784470558167, 0.7088240385055542, -0.8638256192207336, -0.40122899413108826, 0.3366994857788086, 0.5404579639434814, 0.35634106397628784, 0.8348380327224731, -0.1216065064072609, 0.48107579350471497, -0.22360123693943024, 0.06652741134166718, -0.10908510535955429, -0.4841172397136688, -0.3709210753440857, 0.376620888710022, 0.009052254259586334, -0.38448140025138855 ]
http://arxiv.org/abs/2403.13312v1
http://arxiv.org/pdf/2403.13312v1
LeanReasoner: Boosting Complex Logical Reasoning with Lean
2024-03-20T05:29:06
2024-03-20T05:29:06
Dongwei Jiang, Marcio Fonseca, Shay B. Cohen
cs.CL
cs.CL
Large language models (LLMs) often struggle with complex logical reasoning due to logical inconsistencies and the inherent difficulty of such reasoning. We use Lean, a theorem proving framework, to address these challenges. By formalizing logical reasoning problems into theorems within Lean, we can solve them by proving or disproving the corresponding theorems. This method reduces the risk of logical inconsistencies with the help of Lean's symbolic solver. It also enhances our ability to treat complex reasoning tasks by using Lean's extensive library of theorem proofs. Our method achieves state-of-the-art performance on the FOLIO dataset and achieves performance near this level on ProofWriter. Notably, these results were accomplished by fine-tuning on fewer than 100 in-domain samples for each dataset.
[ -0.0018166744848713279, -0.5122506022453308, 0.46751832962036133, 0.07468073070049286, -0.055707793682813644, 0.06635259091854095, -0.043473437428474426, -0.4251064360141754, -0.1614024043083191, 0.4498777389526367, -0.893714189529419, -0.4758963882923126, -0.4895867109298706, 0.040248602628707886, -0.41444286704063416, 0.8472046256065369, -0.3566942512989044, 0.3596265912055969, -0.21653735637664795, -0.18776017427444458, -0.15839774906635284, -0.23515889048576355, -0.4618188142776489, -0.44617676734924316, 0.057714372873306274, 0.6356600522994995, 0.7697436213493347, 0.6849995255470276, 0.6432662606239319, 0.3906760811805725, 0.010613545775413513, 0.0610521174967289, -0.6469531059265137, 0.5744338631629944, -0.24065591394901276, -0.8687764406204224, -0.3736627399921417, -0.3987385928630829, 0.2600768804550171, 0.6133087873458862, -0.05085887759923935, 0.08224889636039734, -0.3791024088859558, 0.6167606115341187, -0.7292968034744263, 0.15222764015197754, -0.7684033513069153, 0.2528836727142334, -0.11590950191020966, -0.12239319086074829, -0.2600753605365753, -0.6784279942512512, -0.007781842723488808, -0.7451614737510681, 0.28169873356819153, 0.18415766954421997, 0.9454823136329651, 0.696304976940155, -0.2945006191730499, -0.41090884804725647, -0.763730525970459, 0.8788058161735535, -0.7712420225143433, 0.41218486428260803, 0.09409085661172867, 0.4632989466190338, -0.2463523894548416, -0.7984356880187988, -0.7052969932556152, -0.08220592886209488, 0.2894105911254883, 0.017910903319716454, 0.050438590347766876, 0.16331493854522705, 0.7399907112121582, 0.5007532238960266, -0.507615864276886, 0.009922554716467857, -0.2058640569448471, -0.4153580069541931, 0.6758224368095398, 0.41991904377937317, 0.2903580367565155, 0.14003528654575348, -0.3120257556438446, -0.15774936974048615, -0.7528895735740662, 0.04195619374513626, -0.0249320175498724, -0.08379920572042465, 0.40318554639816284, 0.9549931287765503, -0.36280202865600586, 0.6019713878631592, 0.07711348682641983, -0.8639807105064392, 0.177830770611763, -0.326015442609787, -0.47622087597846985, 0.2556341290473938, 0.42934855818748474, 0.33766329288482666, 0.6050860285758972, 0.10916773229837418, -0.36272746324539185, 0.09954569488763809, -0.3427703082561493, -1.2131215333938599, -0.27887019515037537, 0.46115294098854065, -0.4294786751270294, -0.2070273756980896, 0.08559437096118927, -0.37978166341781616, -0.6809555292129517, -0.5299476981163025, 0.28691041469573975, -0.5917138457298279, -0.20009461045265198, 0.5396934747695923, -0.4286036491394043, 0.4826667308807373, 0.6265901327133179, -0.466509610414505, 0.2358318567276001, 0.7791290879249573, 0.36691465973854065, 0.21101114153862, -0.3491639792919159, -0.7404486536979675, 0.4034430980682373, -0.40411388874053955, 0.8903090953826904, -0.2177768498659134, 0.21639080345630646, 0.23653483390808105, -0.18356569111347198, 0.15485019981861115, -0.8139058351516724, 1.2169831991195679, -0.1753661185503006, 0.04411616548895836, -0.47701799869537354, -0.8668636679649353, 0.03061271458864212, 0.3834972381591797, -0.49700450897216797, 1.0026262998580933, 0.13218843936920166, -0.7791576981544495, 0.7356129884719849, -0.2748849391937256, -0.7483299374580383, -0.0010493549052625895, -0.12929867208003998, -0.34044089913368225, 0.21027448773384094, 0.16497844457626343, 0.7483197450637817, -0.6411349177360535, 0.2380019724369049, -0.4214026629924774, -0.264457643032074, 0.29081329703330994, -0.025143882259726524, 0.843325138092041, 0.33548295497894287, -0.4047200381755829, 0.30852964520454407, -0.926631510257721, 0.3660149872303009, 0.04756629839539528, -0.31376132369041443, -0.2874004542827606, 0.18535172939300537, -0.09037202596664429, 0.3549080193042755, -0.014986097812652588, -0.5207595229148865, 0.3335510194301605, -0.3887141942977905, 0.4390203654766083, 0.5583459138870239, -0.24835574626922607, 0.12230666726827621, -0.46073469519615173, 0.4857803285121918, 0.34661445021629333, -0.17873454093933105, -0.13078534603118896, -0.28209009766578674, -1.0714043378829956, -0.7930965423583984, 0.049448683857917786, 0.8891662359237671, -0.6422821879386902, 0.3731840252876282, -0.12443134933710098, -0.41254010796546936, -0.6153584122657776, 0.45150673389434814, 0.22641432285308838, 0.6311109066009521, 0.5662260055541992, 0.5346612930297852, -0.5948001146316528, -0.800563395023346, -0.6628118753433228, -0.14867651462554932, -0.3421197831630707, -0.15210090577602386, 0.4869665205478668, -0.5801219940185547, 1.002941608428955, -0.8461185693740845, -0.2982630133628845, -0.5469805598258972, 0.07148831337690353, 0.24804966151714325, 0.38784289360046387, 0.35896769165992737, -0.5944488048553467, -0.21581648290157318, -0.18894730508327484, -0.9165844321250916, -0.2897326350212097, -0.19767975807189941, -0.04873030260205269, 0.22078937292099, 0.8431549668312073, -0.8547776937484741, 0.3152998089790344, 0.007407634984701872, -0.5685698986053467, 0.7766693830490112, 0.20249049365520477, 0.02259497530758381, -1.129913568496704, -0.35876086354255676, 0.17404906451702118, -0.4864569902420044, -0.3576931655406952, 0.04639881104230881, -0.21280817687511444, -0.22889044880867004, -0.16003809869289398, 0.3055233955383301, -0.3161437213420868, 0.32170403003692627, 0.06626666337251663, 0.012356128543615341, 0.18574868142604828, -0.014488907530903816, -0.036143526434898376, 0.26314350962638855, 0.6339271068572998, -0.4797123074531555, 0.5884793400764465, 0.0008674787823110819, -0.4032883048057556, 0.8420557975769043, -0.9788351058959961, -0.42176616191864014, -0.27272602915763855, 0.2710421085357666, -1.1544768810272217, -0.3773137629032135, 0.08926111459732056, -0.13005214929580688, 0.3529919981956482, -0.08815141767263412, -0.5279031991958618, -0.37902331352233887, -0.36055824160575867, 0.1362353414297104, 0.1816394031047821, -0.5877962708473206, 0.7958868145942688, 0.2150275707244873, -0.03618842735886574, -0.6748374700546265, -0.7629417181015015, -0.16778510808944702, -0.19868794083595276, -1.0895756483078003, 0.10938706248998642, -0.2658863365650177, -0.7733466029167175, -0.11135454475879669, -0.4038558900356293, -0.360714852809906, -0.0447714701294899, 0.04937521740794182, 0.14968152344226837, -0.4405485987663269, 0.05061621591448784, 0.24530792236328125, -0.2498398721218109, 0.2770538926124573, -0.6116578578948975, 0.07125110179185867, -0.3919652998447418, -0.4636390507221222, -0.5652657747268677, 0.25262361764907837, 0.9004182815551758, -0.08527485281229019, 0.6745209097862244, 0.5698202848434448, -0.6689537167549133, -0.7463372349739075, -0.6199750304222107, -0.14271287620067596, -0.4716847836971283, 0.4845781624317169, -0.6572502255439758, -1.0049095153808594, 0.5048540830612183, -0.4568203389644623, 0.17241474986076355, 0.4692261517047882, 0.7050207853317261, -0.15271224081516266, 0.8625478148460388, 0.44904157519340515, 0.12093629688024521, -0.031881820410490036, -0.209490105509758, 0.3969663679599762, -0.11691660434007645, -0.46585893630981445, -0.7984474301338196, -0.1765516847372055, -0.34879428148269653, -0.6671452522277832, 0.006330388598144054, 0.4485010802745819, -0.4516894221305847, 0.18127252161502838, -0.42629629373550415, 0.6244877576828003, 0.15785357356071472, -0.15899871289730072, 0.5703664422035217, -0.11981331557035446, -0.2854250967502594, -0.41671693325042725, -0.7781950235366821, -0.21428954601287842, 0.6853199601173401, 0.40224042534828186, 1.267529845237732, 0.16733093559741974, 0.47983264923095703, -0.07673145830631256, 0.3208959102630615, -1.3042428493499756, 0.6901159286499023, 0.06070936843752861, -0.7016396522521973, -0.21153634786605835, -0.7508469820022583, -0.2316960096359253, 0.2817502021789551, -0.3736130893230438, -0.2990145683288574, 0.23392069339752197, 0.1589578539133072, 0.17323234677314758, 0.2577546536922455, -0.7107471227645874, 0.8980176448822021, -0.30871254205703735, -0.37845608592033386, -0.20190367102622986, -0.4744204878807068, 0.6698667407035828, 0.25704723596572876, 0.04669802635908127, -0.18511320650577545, -0.04525379091501236, 0.5705480575561523, -0.9917523264884949, 0.6127490997314453, -0.09315209090709686, -0.26275378465652466, 0.4156759977340698, 0.31487390398979187, 0.4544656276702881, 0.15212079882621765, -0.12230341881513596, -0.32164546847343445, 0.17317770421504974, -0.33440208435058594, -0.6240700483322144, 0.6687456965446472, -0.6736800074577332, -0.40783974528312683, -0.6419070959091187, -0.7597979307174683, -0.38262224197387695, 0.5404443144798279, 0.3198557198047638, 0.45557475090026855, 0.030340101569890976, 0.24208912253379822, 1.1356502771377563, 0.15794548392295837, 0.11730846017599106, 0.3145328760147095, -0.11871722340583801, -0.5506069660186768, 0.7077874541282654, 0.03131454810500145, 0.20977431535720825, 0.5876525640487671, 0.33077460527420044, -0.3888116776943207, -0.567512035369873, -0.22233346104621887, 0.28182870149612427, -1.1923493146896362, -0.5371285676956177, -0.3646319508552551, -0.09960939735174179, -0.31222572922706604, -0.41396141052246094, -0.5318924188613892, -0.8931881189346313, 0.14673174917697906, -0.1282985806465149, 0.2991688549518585, 0.526177704334259, 0.34272125363349915, -0.18938298523426056, -0.5790504217147827, 0.6015125513076782, 0.33782991766929626, 0.2599760591983795, -0.3230169117450714, -0.38599497079849243, -0.12104430794715881, -0.2043999880552292, -0.1581936776638031, -0.6551969051361084, -0.024105675518512726, 0.2656734883785248, 0.5192920565605164, 0.7659035325050354, 0.357418954372406, 1.0148204565048218, -0.2590947151184082, 0.2669157087802887, 0.26796698570251465, -1.2661058902740479, 0.5696898698806763, -0.32757368683815, 0.3613728880882263, 0.8422499299049377, 0.6211471557617188, -0.0419016107916832, -0.2559891939163208, -0.3482494056224823, -0.909343421459198, 0.2806481122970581, 0.03891492635011673, -0.4591689109802246, 0.4523705840110779, 0.4870367646217346, -0.24849043786525726, 0.16643741726875305, -0.7503576278686523, -0.05524874106049538, -0.4890805184841156, -0.5327932238578796, 0.41463467478752136, -0.2642248868942261, -0.38735097646713257, -0.6355899572372437, 0.7366801500320435, -0.4120689034461975, -0.12100550532341003, 0.45981377363204956, -0.2204645425081253, -0.2717130780220032, 0.2939051389694214, 0.4791606366634369, 0.9545442461967468, -0.038327254354953766, 0.14782604575157166, 0.14340421557426453, -0.40623900294303894, 0.2192917764186859, 0.2692645788192749, -0.19372472167015076, -0.090382419526577, 0.7344837784767151, 0.49239107966423035, -0.015943650156259537, -1.1915812492370605, 0.45263954997062683, -0.16406236588954926, -0.5118927359580994, -0.26668527722358704, 0.34951990842819214, 0.25960296392440796, 0.2813522219657898, 0.31368905305862427, 0.3959301710128784, 0.17540492117404938, -0.5089772939682007, 0.10670110583305359, 0.3146451413631439, -0.3887227475643158, 0.0042931390926241875, 0.7148354649543762, -0.07684264332056046, 0.031435102224349976, 0.6970502138137817, 0.024887969717383385, -0.7222278118133545, 0.5277531743049622, 0.8428476452827454, 0.9133442640304565, -0.002186834579333663, 0.013401356525719166, 0.4269174337387085, 0.4123113751411438, -0.24904951453208923, 0.42553386092185974, 0.011960767209529877, -0.8407055735588074, -0.6665303707122803, -0.6998012661933899, -0.572293758392334, -0.11461454629898071, -0.4388701617717743, 0.5243747234344482, -0.6767325401306152, 0.31323549151420593, -0.09692416340112686, 0.07387720048427582, -0.44127529859542847, 0.38405677676200867, -0.08756820857524872, 1.2580639123916626, -0.707064151763916, 0.6389749646186829, 0.8032230138778687, -0.19827036559581757, -1.1884561777114868, 0.23826588690280914, 0.231876939535141, -0.40738874673843384, 0.6713311672210693, 0.19423823058605194, -0.6369284391403198, -0.24143752455711365, -0.5664164423942566, -0.5326560735702515, 1.1983987092971802, 0.7746824026107788, -0.5901362895965576, 0.4055194854736328, 0.20884521305561066, 0.4607982337474823, -0.46076682209968567, 0.04361031576991081, 0.4420740008354187, 0.5370606184005737, 0.7773135900497437, -0.3906654119491577, 0.28371721506118774, -0.22540512681007385, -0.3074491024017334, 0.08144895732402802, -0.43198224902153015, 0.7693179845809937, -0.6946726441383362, 0.11877405643463135, -0.08406496047973633, 0.9925367832183838, 0.7370591759681702, 0.41371920704841614, 0.5020764470100403, 0.9721848368644714, 1.324830174446106, -0.2882685661315918, 0.9388800263404846, 0.014172705821692944, 0.15856650471687317, 0.9550737142562866, -0.7363771200180054, 0.6981783509254456, 0.3315751552581787, -0.02764657884836197, 0.6693784594535828, 0.3640731871128082, 0.1261049509048462, -0.004643063992261887, 0.4728895127773285, -0.23077940940856934, -0.6409850120544434, -0.09738177061080933, -0.3593350052833557, 0.3170149028301239, 0.3480224907398224, 0.026404960080981255, 0.09142748266458511, -0.29886701703071594, 0.5634678602218628, 0.05297032743692398, -0.3726262152194977, 0.44300585985183716, 0.11104973405599594, -0.7534422278404236, 0.8039762377738953, 0.05779583379626274, 0.2774950861930847, -0.7794839143753052, 0.032774362713098526, -0.08604316413402557, 0.9845452904701233, -0.5835979580879211, -0.7051166892051697, 0.4198969304561615, -0.07147948443889618, -0.33450809121131897, -0.25745707750320435, 1.020444631576538, -0.3713494539260864, -0.7653650045394897, 0.10450368374586105, 0.38410553336143494, -0.30725181102752686, 0.13248740136623383, -0.7440543174743652, 0.16696633398532867, -0.004438980482518673, -0.11449602991342545, 0.019114302471280098, 1.0821326971054077, 0.0719527155160904, 1.1639866828918457, 0.6870418787002563, -0.09090639650821686, -0.07886368781328201, 0.14458097517490387, 1.1500715017318726, -0.6294514536857605, -0.33146145939826965, -0.8615727424621582, 0.5919052958488464, -0.09940813481807709, -0.3414384424686432, 0.9203256964683533, 0.7456786632537842, 0.6643667221069336, -0.15678653120994568, 0.7636250257492065, -0.13868430256843567, 0.4158645272254944, -0.6297533512115479, 0.4135773479938507, -0.6332894563674927, 0.3719794750213623, -0.45576974749565125, -0.8883287906646729, -0.6378471851348877, 0.9110360145568848, 0.09596153348684311, -0.15134388208389282, 0.9613800048828125, 0.764657735824585, -0.054832328110933304, 0.20491068065166473, -0.07002361863851547, 0.6297640204429626, 0.42366352677345276, 0.517117977142334, 0.8985668420791626, -0.4269135594367981, 0.6621843576431274, 0.01701798476278782, -0.2906808853149414, 0.025753790512681007, -1.153823971748352, -1.1492626667022705, -0.188450425863266, -0.483723521232605, -0.8350579738616943, -0.23499582707881927, 0.9605751633644104, 0.8111183047294617, -1.044518232345581, -0.3562653362751007, -0.18970145285129547, 0.5556588768959045, -0.2986554205417633, -0.27105385065078735, 0.02883032336831093, -0.384721964597702, -0.43148064613342285, 0.3976791501045227, 0.2980533242225647, -0.2553655803203583, -0.3490404188632965, -0.24911220371723175, -0.12200342118740082, 0.2150285840034485, 0.690588653087616, 0.20476455986499786, -0.31873461604118347, 0.07111355662345886, 0.07265174388885498, 0.01624160073697567, -0.10550951957702637, 1.128819465637207, -0.6473526358604431, 0.12230944633483887, 0.9996840357780457, 0.6678472757339478, 0.589555025100708, -0.0657048299908638, 0.6117693781852722, -0.165606290102005, 0.2639692425727844, 0.493740051984787, 0.5775348544120789, 0.3494715392589569, -0.20509816706180573, 0.4133915305137634, 0.5154526233673096, -0.6170012950897217, -0.917424738407135, 0.4642581343650818, -1.0184619426727295, -0.2147994488477707, 0.8042432069778442, -0.14888788759708405, -0.09230203926563263, -0.26652607321739197, -0.06628534197807312, -0.14358972012996674, -0.1330920159816742, 0.33515164256095886, 0.687164306640625, -0.27255532145500183, -0.039147622883319855, -0.4180929660797119, 0.6552391648292542, 0.3676331341266632, -0.98739093542099, 0.043710194528102875, 0.6000689268112183, 0.5374571084976196, -0.059928908944129944, 0.49750134348869324, -0.05839274078607559, 0.13201063871383667, -0.07551755011081696, -0.24905389547348022, -0.07038960605859756, -0.5598594546318054, 0.08043697476387024, 0.3906920254230499, 0.2594696283340454, 0.44611117243766785 ]
http://arxiv.org/abs/2403.13301v1
http://arxiv.org/pdf/2403.13301v1
Reading Users' Minds from What They Say: An Investigation into LLM-based Empathic Mental Inference
2024-03-20T04:57:32
2024-03-20T04:57:32
Qihao Zhu, Leah Chong, Maria Yang, Jianxi Luo
cs.HC
cs.HC, cs.CL
In human-centered design, developing a comprehensive and in-depth understanding of user experiences, i.e., empathic understanding, is paramount for designing products that truly meet human needs. Nevertheless, accurately comprehending the real underlying mental states of a large human population remains a significant challenge today. This difficulty mainly arises from the trade-off between depth and scale of user experience research: gaining in-depth insights from a small group of users does not easily scale to a larger population, and vice versa. This paper investigates the use of Large Language Models (LLMs) for performing mental inference tasks, specifically inferring users' underlying goals and fundamental psychological needs (FPNs). Baseline and benchmark datasets were collected from human users and designers to develop an empathic accuracy metric for measuring the mental inference performance of LLMs. The empathic accuracy of inferring goals and FPNs of different LLMs with varied zero-shot prompt engineering techniques are experimented against that of human designers. Experimental results suggest that LLMs can infer and understand the underlying goals and FPNs of users with performance comparable to that of human designers, suggesting a promising avenue for enhancing the scalability of empathic design approaches through the integration of advanced artificial intelligence technologies. This work has the potential to significantly augment the toolkit available to designers during human-centered design, enabling the development of both large-scale and in-depth understanding of users' experiences.
[ -0.754769504070282, -0.9994284510612488, 0.999751627445221, 0.22763189673423767, -0.09228062629699707, 0.06490728259086609, -0.3015049695968628, -0.7169920802116394, 0.14847853779792786, 0.4691978096961975, -0.8536525964736938, -0.44847315549850464, -0.280953049659729, 0.16586415469646454, -0.04269959777593613, 0.45037949085235596, 0.05412442237138748, -0.12743380665779114, -0.19873373210430145, 0.27777594327926636, -0.2094922661781311, -0.6011686325073242, -0.5382933616638184, -0.46436309814453125, 0.5421136617660522, 0.4975704848766327, 0.5958868861198425, 0.15612256526947021, 0.26694464683532715, 0.17495402693748474, 0.013742431998252869, 0.21974153816699982, -0.15821713209152222, -0.11805927753448486, -0.18018385767936707, -0.46602630615234375, -0.43926626443862915, 0.19817271828651428, -0.04730598255991936, 0.5376766920089722, -0.2011278122663498, 0.2721399664878845, 0.10599936544895172, 0.26004302501678467, -0.6383295059204102, 0.04707936570048332, -0.1866772174835205, 0.5242750644683838, 0.2553441822528839, -0.18176789581775665, -0.823157012462616, -0.010776685550808907, 0.09207174181938171, -0.5228130221366882, -0.0538010373711586, 0.3413372337818146, 0.6084576845169067, 0.23801571130752563, -0.3253055810928345, -0.18688414990901947, -0.72362220287323, 0.8860945105552673, -0.9926035404205322, 0.5067473649978638, 0.7198694944381714, 0.031773511320352554, -0.032020650804042816, -0.3951689898967743, -0.7536266446113586, -0.18203911185264587, -0.21315480768680573, 0.10085607320070267, -0.3209788501262665, 0.2498304843902588, 0.7051632404327393, 0.04183385893702507, -0.3484469950199127, 0.28899848461151123, -0.06481634825468063, 0.09273305535316467, 0.802230954170227, 0.3352508544921875, 0.2992836534976959, -0.12595698237419128, -0.20463827252388, 0.20251114666461945, -0.4132980704307556, 0.03713522478938103, 0.022511931136250496, 0.12151841074228287, -0.2859395444393158, 0.6046172380447388, -0.12498482316732407, 0.8714509010314941, 0.21811777353286743, -0.1554298996925354, 0.058689236640930176, 0.08338078111410141, -0.48933112621307373, -0.22791220247745514, 0.5749156475067139, 0.5962548851966858, 0.6654837727546692, -0.3060126006603241, -0.11118776351213455, 0.03463947772979736, 0.5108386874198914, -0.7643110156059265, 0.053336627781391144, 0.3594522476196289, -0.5443177223205566, 0.03832225129008293, -0.11945497244596481, -0.7507778406143188, -0.7096513509750366, -0.7859879732131958, 0.24321718513965607, -0.2315765768289566, -0.36923402547836304, 0.3598955273628235, -0.08909344673156738, 0.4110662639141083, 0.3503095209598541, -0.8281164765357971, 0.27816981077194214, 0.7782912254333496, 0.7851413488388062, 0.1821320801973343, -0.25938063859939575, -0.20314624905586243, 0.06149350106716156, -0.07499807327985764, 0.8643925189971924, -0.5991838574409485, -0.4793003797531128, -0.19221080839633942, -0.42450737953186035, 0.07779824733734131, -0.25304919481277466, 0.5836051106452942, -0.27313780784606934, -0.030743714421987534, -0.3472563922405243, -0.5108826160430908, -0.23103317618370056, 0.3169534504413605, -0.2681143283843994, 0.3189338445663452, 0.08442115038633347, -0.6617134809494019, 0.19720856845378876, -0.5535562038421631, -0.4030660092830658, -0.17792749404907227, -0.32827410101890564, 0.10813429206609726, 0.7521308064460754, 0.40972012281417847, 0.5933529138565063, -0.6786677837371826, 0.07432075589895248, -0.6332912445068359, -0.3730868697166443, 0.5581589937210083, -0.30729392170906067, 0.6931253671646118, 0.29562610387802124, -0.19053809344768524, -0.04519786685705185, -0.37503084540367126, 0.16644933819770813, -0.0806586742401123, 0.12019430100917816, -0.2756802439689636, -0.058959804475307465, 0.18632198870182037, 0.5776683688163757, 0.017149854451417923, -0.9306791424751282, -0.1839945763349533, -0.3341701328754425, 0.5799620747566223, 0.770018994808197, -0.07654419541358948, 0.3774358630180359, -0.2667692303657532, 0.5493564009666443, -0.2107098251581192, 0.29675424098968506, -0.022224383428692818, -0.46469488739967346, -0.30253735184669495, -0.5726529955863953, -0.1913807988166809, 0.4992424249649048, -0.32434549927711487, 0.6576330065727234, 0.006271562539041042, -0.47049036622047424, -0.480577677488327, 0.20790061354637146, 0.23082242906093597, 0.7239255309104919, 0.08182687312364578, -0.28178754448890686, -0.3740733563899994, -0.8412083387374878, -0.5617145299911499, -0.17059023678302765, -0.5484130382537842, 0.8266618251800537, 0.24020598828792572, -0.2285613715648651, 1.0743547677993774, -0.667598307132721, -0.13905511796474457, -0.33640211820602417, 0.10206030309200287, 0.2513609826564789, 0.06414961814880371, 0.2755005359649658, -0.6768673062324524, -0.4060082733631134, -0.008224246092140675, -1.1007158756256104, -0.2093793898820877, -0.2579662799835205, -0.21497434377670288, 0.026926396414637566, 0.2544516623020172, -0.9285154938697815, 0.4737083315849304, 0.32596179842948914, -0.7677358984947205, 0.35021382570266724, -0.08903312683105469, 0.12431634962558746, -0.8652299046516418, 0.15701623260974884, 0.49079054594039917, 0.1839258372783661, -0.6639084219932556, -0.008355990052223206, 0.08528672903776169, -0.004379396326839924, -0.49379342794418335, 0.8133355379104614, -0.43214625120162964, -0.1660453975200653, -0.11665408313274384, 0.1589011251926422, 0.26967132091522217, 0.5657262802124023, 0.006300732959061861, 0.5413669943809509, 0.3351747989654541, -0.17339372634887695, 0.33430278301239014, 0.5597364902496338, -0.3498452305793762, 1.135187029838562, -0.5851805210113525, 0.35988596081733704, -0.05146372318267822, 0.210958331823349, -0.8096490502357483, -0.3136260509490967, 0.2558198869228363, -0.6584538817405701, 0.15626949071884155, 0.21391884982585907, -0.8333777785301208, -0.6014649271965027, -0.004340446554124355, 0.19094721972942352, 0.5961574912071228, -0.6143060922622681, 1.0494887828826904, 0.5151588320732117, -0.13457387685775757, -0.16108089685440063, -0.968390941619873, 0.36033955216407776, -0.42035940289497375, -0.8004486560821533, -0.045043062418699265, -0.04351160675287247, -0.8136636018753052, -0.2405761033296585, 0.005422605667263269, -0.11119875311851501, 0.09311389923095703, 0.47723278403282166, 0.20331761240959167, -0.08015228062868118, 0.18838384747505188, -0.03469472751021385, 0.053749144077301025, 0.5889660120010376, 0.042118895798921585, 0.3392491042613983, -0.06363097578287125, -0.5286017060279846, -0.9006109833717346, 0.48559072613716125, 0.6122973561286926, -0.24586287140846252, 0.777488648891449, 0.3846871852874756, -0.48988714814186096, -0.3076571524143219, -0.85496586561203, -0.5129016637802124, -0.44840744137763977, 0.09210432320833206, -0.5933030247688293, -0.859499990940094, 0.5237051248550415, -0.18456211686134338, 0.05085939168930054, -0.04578649625182152, 0.40943092107772827, -0.41939347982406616, 1.2283951044082642, 0.541307806968689, -0.1499934196472168, 0.3551099896430969, 0.08581782132387161, 0.3845911920070648, -1.098891019821167, -0.1427752524614334, -0.2053736448287964, -0.5182082653045654, -0.10408613830804825, -0.20359370112419128, 0.07319795340299606, -0.1894121766090393, -0.5409768223762512, -0.15312623977661133, -0.26869919896125793, 0.18978561460971832, 0.35650694370269775, 0.6995869874954224, 0.2954598665237427, 0.34638896584510803, 0.0698428750038147, -0.16939221322536469, -0.18309375643730164, -0.5371721982955933, 0.9608076810836792, 0.453797847032547, 1.036062240600586, -0.02157551981508732, 0.5012940764427185, 0.5104814171791077, 0.5609049797058105, -1.0006225109100342, 0.370392769575119, 0.21639014780521393, -0.473634272813797, -0.21812118589878082, -0.18365676701068878, -0.6205670833587646, 0.19694101810455322, -0.08395984768867493, -1.0469342470169067, 0.15648312866687775, 0.22268949449062347, -0.5956611037254333, 0.4042457938194275, -0.6540846228599548, 0.560215950012207, -0.3884683847427368, -0.4299772381782532, -0.5061489343643188, -0.6122204065322876, 0.3159708082675934, -0.28571686148643494, 0.24450398981571198, -0.14908213913440704, 0.001035985304042697, 0.5216530561447144, -0.07722056657075882, 1.1319197416305542, -0.2575031518936157, -0.28128477931022644, 0.24534425139427185, -0.16725701093673706, 0.35208719968795776, -0.045547254383563995, -0.47207343578338623, 0.0951467826962471, -0.4638769328594208, -0.3479456603527069, -0.9184419512748718, 0.5281739830970764, -0.7118701934814453, -0.8402246236801147, -0.0032451923470944166, -0.6359380483627319, -0.5296968221664429, -0.033153098076581955, -0.10756922513246536, 0.3049700856208801, -0.2630433738231659, 0.05638284981250763, 0.5427881479263306, -0.3768743574619293, -0.002798672067001462, 0.6566458940505981, -0.051308467984199524, -0.17171452939510345, 0.3950648605823517, -0.25479403138160706, 0.12409303337335587, 0.35950952768325806, 0.13823150098323822, -0.37918955087661743, -0.15547865629196167, -0.4001571536064148, 0.532715916633606, -0.5132565498352051, 0.08707646280527115, -0.6607804894447327, -0.054058220237493515, -0.1666596680879593, -0.4187176525592804, -0.03024141676723957, 0.03745272383093834, -0.39623796939849854, -0.24942444264888763, 0.45003625750541687, 0.7771846652030945, -0.08077783137559891, 0.441218763589859, -0.6534746289253235, 0.3481904864311218, 0.07432527840137482, 0.2949477434158325, 0.35420143604278564, -0.6864559054374695, -0.19600623846054077, 0.25053870677948, -0.30736044049263, -0.781470775604248, 0.6120488047599792, -0.10178116708993912, 0.621992290019989, 0.5655156970024109, 0.12715326249599457, 0.5106076002120972, -0.323889821767807, 0.2759976387023926, 0.11428504437208176, -0.8439961671829224, 0.5271742343902588, -0.36089155077934265, 0.15575005114078522, 0.30834725499153137, 0.2609265446662903, -0.6743718385696411, -0.09704313427209854, -0.5300848484039307, -0.5204712152481079, 0.5632569789886475, -0.18324162065982819, 0.17838934063911438, -0.024538559839129448, 0.5798117518424988, -0.07522354274988174, 0.09189511835575104, -0.11312153935432434, -0.0015627160901203752, 0.2509382367134094, -0.40377336740493774, -0.27456429600715637, -0.1957610547542572, -0.2431330680847168, -0.10204275697469711, 0.04013583064079285, -0.1858443021774292, 0.4955027997493744, 0.13758140802383423, -0.07297763228416443, -0.2951641380786896, 0.11191482841968536, 0.3948590159416199, 0.8030096888542175, -0.16647373139858246, 0.11062388122081757, 0.3111201524734497, -0.16173341870307922, 0.05979200080037117, -0.09379733353853226, 0.1432269662618637, -0.5108330845832825, 0.18974117934703827, 0.5358671545982361, 0.061099838465452194, -0.9050672650337219, 0.3088594377040863, -0.2844313085079193, -0.02883131243288517, -0.3732900023460388, -0.06529869884252548, 0.29256102442741394, 0.6444129943847656, 0.2976457476615906, -0.013271615840494633, 0.20895949006080627, -0.46324804425239563, 0.2174597680568695, 0.4719521105289459, -0.3862183094024658, -0.49165982007980347, 0.43621498346328735, 0.22811847925186157, -0.6225169897079468, 1.0416159629821777, 0.3202660381793976, -0.08417096734046936, 0.6252761483192444, 0.5657655000686646, 1.0162523984909058, -0.14295701682567596, 0.15651147067546844, 0.17747089266777039, 0.04078703746199608, -0.009375291876494884, 0.42412349581718445, -0.31565061211586, -0.8126717805862427, -0.3622170090675354, -0.5978930592536926, -0.6041866540908813, -0.15962311625480652, -0.9178348183631897, -0.1148165911436081, -0.5924480557441711, -0.5012767910957336, -0.2232341468334198, -0.07325959950685501, -0.9219461679458618, 0.39005666971206665, 0.4285374879837036, 1.0562584400177002, -0.9244549870491028, 0.4484754204750061, 0.5006129145622253, -0.24469822645187378, -0.6656874418258667, 0.139989972114563, 0.29718437790870667, -0.8669033050537109, 0.6085933446884155, 0.19312149286270142, -0.13962285220623016, 0.10294955223798752, -0.43707072734832764, -0.4518267810344696, 1.0696156024932861, 0.356547474861145, -0.475773423910141, -0.19420407712459564, 0.12616808712482452, 0.7018815279006958, -0.4579625129699707, 0.4115956425666809, 0.7162167429924011, 0.5844525098800659, 0.014147381298244, -0.7110447287559509, 0.27501606941223145, -0.3671424984931946, -0.18727613985538483, 0.0013503092341125011, -0.6686224341392517, 0.4636622667312622, -0.42689234018325806, -0.08496170490980148, 0.03364549204707146, 0.633412778377533, 0.6530600190162659, 0.42560482025146484, 0.3046513497829437, 0.620672881603241, 0.7041215300559998, 0.3273998498916626, 1.0289223194122314, -0.3442550003528595, 0.12500660121440887, 1.017298936843872, -0.2726278305053711, 1.0071543455123901, 0.6268343329429626, -0.14428427815437317, 0.29832032322883606, 0.6535503268241882, -0.05710612237453461, 0.19636371731758118, 0.3006751239299774, -0.431733638048172, -0.37866759300231934, -0.36175286769866943, 0.0013999425573274493, 0.3730018138885498, 0.8155291676521301, -0.69865882396698, 0.12772226333618164, -0.01034410111606121, -0.004979880526661873, -0.028218450024724007, -0.26460960507392883, 0.6201915740966797, 0.6493498682975769, -0.6260396242141724, 0.17471382021903992, -0.18350744247436523, 0.6685479879379272, -0.11224798858165741, 0.14768165349960327, -0.30309823155403137, 0.3963075876235962, -0.22844508290290833, -1.0436410903930664, 0.12767218053340912, 0.1499049812555313, -0.11214160919189453, -0.3055833876132965, 0.5229587554931641, 0.17198523879051208, -0.6415422558784485, 0.6040050387382507, 0.7827880382537842, 0.31807011365890503, -0.4323153793811798, -0.5483506321907043, 0.07506348937749863, -0.07338730245828629, -0.5260425806045532, 0.2541249990463257, 0.5445041060447693, 0.19612210988998413, 0.8907467722892761, 0.3745054304599762, 0.11902198195457458, -0.30867162346839905, 0.2556140124797821, 0.6917896866798401, -0.8691625595092773, -0.1368628740310669, -1.1019471883773804, 0.4180156886577606, -0.13679589331150055, -0.30713793635368347, 0.7133335471153259, 0.18711210787296295, 0.6721229553222656, -0.12393137812614441, 0.9652137160301208, 0.11484985053539276, 0.3798014521598816, -0.18651090562343597, 0.6924638152122498, -0.5654893517494202, -0.013076466508209705, -0.36504530906677246, -0.6521095037460327, -0.3953256905078888, 0.7607380747795105, -0.5097036361694336, 0.1653815358877182, 0.2031312733888626, 0.8739831447601318, -0.1335635781288147, 0.2672346234321594, 0.6125892996788025, 0.29737716913223267, 0.34629711508750916, 0.6731342077255249, 1.0625579357147217, 0.23567965626716614, -0.052406974136829376, -0.18205520510673523, -0.4268258512020111, -0.13197891414165497, -0.5002080798149109, -1.1208208799362183, -0.11687354743480682, 0.0026032456662505865, -0.07751447707414627, -0.1453985571861267, 1.0442516803741455, 0.46812671422958374, -0.5694136023521423, -0.31635546684265137, 0.05466106906533241, -0.20671992003917694, 0.1422938108444214, -0.18245245516300201, 0.07361859828233719, -0.0565611906349659, -0.593383252620697, 0.05536138638854027, 0.33738815784454346, -0.2553709149360657, -0.40355637669563293, -0.23190969228744507, 0.11151265352964401, 0.3876766860485077, 0.8070619106292725, 0.27294036746025085, -1.117136836051941, -0.2056221067905426, 0.3023946285247803, -0.07559088617563248, -0.011088055558502674, 0.7333517074584961, -0.731574296951294, 0.34897297620773315, 0.4240562915802002, 0.741995096206665, 0.2360340803861618, 0.30143263936042786, 0.8046784996986389, -0.25983086228370667, -0.21443666517734528, -0.000005344801138562616, 0.3778577744960785, 0.32018908858299255, -0.5628452301025391, 0.4293787479400635, -0.10172215104103088, -0.492201030254364, -0.6271237134933472, 0.28286758065223694, -0.8066532611846924, -0.24345281720161438, 1.1305960416793823, -0.36701229214668274, -0.2675146460533142, -0.16896747052669525, -0.4481818675994873, 0.21789227426052094, -0.3921002149581909, 0.9818363189697266, 0.5809199810028076, -0.5817425847053528, -0.510718584060669, -0.5709022283554077, 0.1775258183479309, 0.31572169065475464, -0.8408763408660889, 0.19228924810886383, 0.42490994930267334, 0.04604073241353035, -0.07258984446525574, 0.465589702129364, 0.25433385372161865, 0.15112429857254028, 0.03007371537387371, 0.11916244775056839, 0.15627361834049225, -0.17275692522525787, -0.11035224050283432, 0.12646877765655518, 0.12411250174045563, 0.2234545648097992 ]
http://arxiv.org/abs/2403.13272v1
http://arxiv.org/pdf/2403.13272v1
Community Needs and Assets: A Computational Analysis of Community Conversations
2024-03-20T03:14:54
2024-03-20T03:14:54
Md Towhidul Absar Chowdhury, Naveen Sharma, Ashiqur R. KhudaBukhsh
cs.CY
cs.CY, cs.CL, cs.SI
A community needs assessment is a tool used by non-profits and government agencies to quantify the strengths and issues of a community, allowing them to allocate their resources better. Such approaches are transitioning towards leveraging social media conversations to analyze the needs of communities and the assets already present within them. However, manual analysis of exponentially increasing social media conversations is challenging. There is a gap in the present literature in computationally analyzing how community members discuss the strengths and needs of the community. To address this gap, we introduce the task of identifying, extracting, and categorizing community needs and assets from conversational data using sophisticated natural language processing methods. To facilitate this task, we introduce the first dataset about community needs and assets consisting of 3,511 conversations from Reddit, annotated using crowdsourced workers. Using this dataset, we evaluate an utterance-level classification model compared to sentiment classification and a popular large language model (in a zero-shot setting), where we find that our model outperforms both baselines at an F1 score of 94% compared to 49% and 61% respectively. Furthermore, we observe through our study that conversations about needs have negative sentiments and emotions, while conversations about assets focus on location and entities. The dataset is available at https://github.com/towhidabsar/CommunityNeeds.
[ -0.7069158554077148, -0.7321107387542725, 0.3127574622631073, -0.0037370386999100447, -0.10961898416280746, 0.772609293460846, -0.20773480832576752, -0.666571319103241, 0.660902202129364, 0.4717212915420532, -0.6497962474822998, -0.2747814655303955, -0.85770583152771, -0.07164613157510757, -0.40565499663352966, 1.0330311059951782, 0.2766861021518707, -0.167613223195076, -0.42824697494506836, -0.29650256037712097, -0.696888267993927, -0.3597678244113922, -0.6953552961349487, 0.14087839424610138, 0.5720299482345581, 0.8625847697257996, 0.7173102498054504, 0.3409824073314667, 0.6763384938240051, 0.32995468378067017, -0.0005491833435371518, -0.20572522282600403, -0.8524380922317505, -0.11940449476242065, 0.056369490921497345, 0.17716138064861298, -0.24777327477931976, -0.2069452404975891, 0.0232955664396286, 0.5972126722335815, -0.11098012328147888, 0.736600935459137, 0.050323352217674255, 0.5976660251617432, -0.6169543266296387, 0.1958273947238922, -0.5262710452079773, -0.11846036463975906, -0.2336239218711853, -0.17269819974899292, 0.3910602033138275, -0.6177440285682678, 0.4297960698604584, -0.2763622999191284, 0.41696399450302124, -0.1590576022863388, 0.7122757434844971, 0.08167475461959839, -0.30499887466430664, -0.5633646845817566, -0.5465702414512634, 0.9967498183250427, -0.3266667425632477, 0.2236955165863037, 0.6748552918434143, 0.14676402509212494, 0.0758526474237442, -0.48388662934303284, -0.4291727542877197, 0.32890641689300537, -0.17320121824741364, -0.18973207473754883, -0.4762348234653473, -0.010310672223567963, -0.009307151660323143, 0.49954500794410706, -0.41677460074424744, -0.21316969394683838, -0.9887337684631348, -0.20651178061962128, 0.8309190273284912, 0.19585786759853363, 0.3091599643230438, -0.5516495108604431, -0.3666969835758209, -0.27309465408325195, -0.22512824833393097, 0.1726713627576828, 0.19424447417259216, 0.2925522029399872, -0.19580677151679993, 0.42705750465393066, -0.01576024852693081, 0.15412335097789764, -0.1503923237323761, -0.07037559896707535, 0.2526875138282776, -0.5750434994697571, -0.20625515282154083, -0.12196532636880875, 0.6048945784568787, 0.4955103099346161, 0.2613758146762848, 0.17343850433826447, -0.01726353168487549, 0.03260847181081772, 0.4145238995552063, -0.49949824810028076, -0.26365384459495544, 0.5496314764022827, -0.5700597167015076, -0.36086541414260864, 0.03984316065907478, -1.0200257301330566, -0.7257364988327026, -0.45854032039642334, -0.24782207608222961, -0.15658029913902283, -0.4845590889453888, -0.1995527148246765, -0.2845933735370636, 0.25048938393592834, 0.2130923867225647, -0.8463835716247559, 0.544958770275116, 0.7844334244728088, 0.9656159281730652, -0.002891171956434846, 0.1310369074344635, -0.2629885971546173, -0.3597133755683899, 0.0741247609257698, 0.963283360004425, -0.5195509791374207, -0.5553575754165649, 0.07078949362039566, -0.22953203320503235, 0.1149916723370552, -0.3986109495162964, 0.5573394298553467, -0.6213428378105164, -0.23737214505672455, -0.6929571628570557, -0.20575644075870514, -0.09941823035478592, 0.44046416878700256, -0.8336142897605896, 0.8839643597602844, 0.40741756558418274, -0.6359215974807739, 0.29770055413246155, -0.8632164001464844, -0.44533824920654297, 0.3635673522949219, 0.09661281108856201, -0.1461823284626007, 0.2949995696544647, 0.19047683477401733, 0.24983151257038116, -0.47205767035484314, 0.25671231746673584, -0.541776716709137, 0.055393192917108536, 0.5032700300216675, -0.21395879983901978, 0.6779815554618835, 0.45211145281791687, -0.022001272067427635, -0.08298797160387039, -0.5168744921684265, 0.07211854308843613, -0.14350563287734985, -0.04821622371673584, -0.21192120015621185, 0.4322664439678192, 0.3931550681591034, 0.16913364827632904, 0.5309792757034302, -0.5452313423156738, -0.0808953046798706, -0.4823305904865265, 0.6248055100440979, 0.7452179789543152, 0.21917688846588135, 0.42379704117774963, -0.17422086000442505, 0.6639986038208008, -0.26096656918525696, 0.24278169870376587, 0.12635111808776855, -0.5496408939361572, -0.7812965512275696, -0.04430083930492401, 0.04514337703585625, 0.4416275918483734, -0.39894694089889526, 0.4047328531742096, -0.1748538315296173, -0.44053274393081665, -0.4968430697917938, 0.1901387721300125, -0.021865887567400932, 0.3037186563014984, 0.29506805539131165, -0.7137711048126221, -0.6935319304466248, -0.7907460927963257, 0.1870536059141159, -0.4967055022716522, 0.09694639593362808, 0.3036935031414032, 0.29264238476753235, -0.11037188023328781, 1.1961480379104614, -0.5946633815765381, -0.18226729333400726, -0.4572434723377228, 0.4029557406902313, -0.10609673708677292, 0.04212166741490364, 0.4784286916255951, -0.7437833547592163, -0.33203959465026855, 0.048286788165569305, -0.4641657769680023, -0.23654568195343018, 0.19672361016273499, -0.12679848074913025, -0.2801118791103363, 0.037132877856492996, -0.49374645948410034, 0.5809963941574097, 0.4604366719722748, -0.17797671258449554, 0.07282532006502151, 0.31443527340888977, 0.26475414633750916, -0.9321863651275635, 0.13793815672397614, 0.035806238651275635, -0.047594789415597916, -0.7802806496620178, -0.06801752001047134, -0.471144437789917, -0.4298332631587982, -0.2163691371679306, 0.4640510678291321, -0.2161683291196823, -0.3446509540081024, -0.5655178427696228, 0.15223455429077148, -0.11700208485126495, 0.353730171918869, 0.04159407317638397, 0.4242914915084839, 0.43219318985939026, -0.3573434352874756, 0.6490445733070374, 0.4856971204280853, -0.2680172920227051, 0.5825059413909912, -0.48034077882766724, 0.48094937205314636, -0.22770772874355316, 0.017220236361026764, -0.9843788146972656, -0.4353691637516022, 0.19488301873207092, -0.550710916519165, -0.3621242940425873, 0.04587668552994728, -0.4616807997226715, -0.5423686504364014, -0.3208044171333313, 0.36999791860580444, -0.024291593581438065, 0.024542324244976044, 0.4934576153755188, 0.9690374732017517, -0.6188971400260925, -0.35382360219955444, -0.5291900038719177, 0.36732950806617737, -0.2904137372970581, -0.5617093443870544, -0.2538575232028961, -0.15509316325187683, -0.49071434140205383, 0.33101803064346313, 0.45451730489730835, -0.704352080821991, 0.44632482528686523, 0.44889241456985474, 0.17316578328609467, -0.03482269123196602, 0.289474219083786, -0.17366822063922882, -0.23039127886295319, 0.21206295490264893, 0.1698726862668991, 0.5715966820716858, -0.35743457078933716, -0.38040634989738464, -0.2098606824874878, 0.6460863351821899, 0.683715283870697, -0.453048437833786, 0.6482058763504028, 0.4302668571472168, -0.48012837767601013, 0.22010207176208496, -0.5543843507766724, 0.007817431353032589, -0.46647778153419495, 0.39179790019989014, 0.40616467595100403, -1.2148300409317017, 0.6216440796852112, 0.34710001945495605, 0.22700171172618866, 0.35298609733581543, 0.6221351623535156, -0.2973065674304962, 0.43226858973503113, 0.566372811794281, -0.5488220453262329, 0.2221778780221939, -0.09549897164106369, 0.5335338115692139, -0.0907716304063797, -0.023285502567887306, -0.4664188027381897, -0.8523271679878235, -0.25264182686805725, -0.40616220235824585, 0.20799969136714935, -0.27521511912345886, 0.22641898691654205, 0.513314425945282, -0.4134979844093323, 0.5448964238166809, 0.18568775057792664, -0.2811611592769623, 0.07930038124322891, -0.04613493010401726, 0.7881098985671997, -0.1715879887342453, -0.39354732632637024, -0.6045984625816345, 0.8423595428466797, 0.5370602011680603, 0.2963702976703644, 0.3182877004146576, 0.5226835012435913, 0.7601351141929626, 0.7694076895713806, -1.0877189636230469, 0.4061802327632904, 0.09249700605869293, -0.8112207055091858, -0.240873783826828, -0.3601234555244446, -0.9856022596359253, -0.11096055060625076, -0.45813238620758057, -0.5103359818458557, 0.5095060467720032, -0.11150127649307251, -0.6846032738685608, 0.14394742250442505, -0.7425487041473389, 0.8271874189376831, -0.3919723331928253, 0.2402978539466858, -0.5826094746589661, -0.3691149353981018, 0.21190816164016724, -0.5481738448143005, 0.5998575687408447, -0.4324849545955658, 0.3702095150947571, 0.4890468716621399, -0.4049334228038788, 0.9270310401916504, -0.17163874208927155, 0.3657699227333069, 0.8591275811195374, -0.28514108061790466, -0.03918775916099548, -0.08772006630897522, -0.02504046820104122, 0.1469913125038147, 0.25281086564064026, -0.47941914200782776, -0.46553942561149597, 0.5413675308227539, -0.959621012210846, -0.14482183754444122, -0.17908978462219238, -0.09671639651060104, -0.19825990498065948, -0.052677400410175323, -0.08848445862531662, 0.3752298951148987, -0.6711602210998535, 0.23765350878238678, 0.38879939913749695, -0.07820918411016464, 0.3094600737094879, 0.26274365186691284, 0.00048331861034967005, -0.45679447054862976, 0.9300747513771057, 0.1930932104587555, 0.21507684886455536, -0.08298079669475555, 0.1359470933675766, -0.12589433789253235, -0.36198681592941284, 0.11948557943105698, 0.02484021708369255, -0.6631395816802979, -0.5899966359138489, -0.3665028512477875, -0.13483737409114838, -0.47150254249572754, -0.19998322427272797, -0.3452490568161011, -0.17516440153121948, -0.6447022557258606, -0.3108029365539551, 0.4549974501132965, 1.046756625175476, -0.052134089171886444, 0.24072039127349854, -1.0398489236831665, 0.055258072912693024, 0.43701717257499695, 0.31526675820350647, 0.3603643476963043, -0.1203075647354126, -0.5911394357681274, -0.059090957045555115, -0.42539191246032715, -1.138634204864502, 0.5956014394760132, 0.09093798696994781, 0.2495180368423462, 0.46616819500923157, 0.22136107087135315, 1.0175113677978516, 0.1258569210767746, 0.6242756247520447, 0.10879574716091156, -0.7450206875801086, 0.46203771233558655, -0.2488848716020584, -0.0491282194852829, 1.3140314817428589, 0.2671319246292114, -0.8554799556732178, -0.27579131722450256, -0.8242359757423401, -0.8025639057159424, 0.6226988434791565, 0.3507905900478363, 0.46415290236473083, -0.4619205892086029, 0.2844688892364502, -0.3815327286720276, 0.18107426166534424, -0.4147326946258545, 0.0966511219739914, -0.2045377492904663, -0.17600882053375244, 0.34129801392555237, -0.3917362093925476, -0.13526512682437897, -0.15283264219760895, 0.23447294533252716, -0.011551163159310818, 0.34781384468078613, 0.055106114596128464, 0.03669167309999466, -0.49351003766059875, 0.3109145164489746, 0.2816970944404602, 0.6871230006217957, -0.0530872717499733, 0.10270898044109344, 0.5591622591018677, -0.2576081156730652, -0.3152158856391907, -0.1422133594751358, 0.4024939239025116, -0.27771952748298645, 0.29372894763946533, 0.4701204001903534, 0.4211583435535431, -0.8049150109291077, 0.8315203189849854, -0.21199923753738403, -0.33642610907554626, -0.5285804867744446, -0.21607454121112823, 0.27308258414268494, 0.26375651359558105, 0.45917144417762756, 0.10290170460939407, 0.10205215215682983, -0.53868567943573, 0.14000092446804047, 0.36532825231552124, -0.8618146777153015, -0.42424777150154114, -0.0015918172430247068, 0.4213678240776062, -0.2918965816497803, 0.8492099642753601, -0.16330967843532562, -0.4552561938762665, 0.6039268970489502, -0.1626594215631485, 1.1834375858306885, 0.03854597359895706, 0.30846908688545227, 0.41140344738960266, 0.3035289943218231, 0.2371152937412262, 0.0001306244812440127, -0.11944902688264847, -0.8538396954536438, -0.42391473054885864, -0.9587189555168152, -0.39635416865348816, 0.1567198932170868, -0.618880033493042, 0.30085089802742004, -0.9197531342506409, -0.4598429799079895, -0.11139629036188126, 0.14023566246032715, -0.5299748182296753, 0.10353008657693863, 0.27342668175697327, 0.7342881560325623, -1.1146727800369263, 0.5546041131019592, 0.34323835372924805, -0.22902023792266846, -0.7234316468238831, -0.31410107016563416, 0.19274145364761353, -0.6291211247444153, 0.4922543466091156, -0.011430257000029087, -0.1394144892692566, -0.3465714454650879, -0.7433391213417053, -1.0621224641799927, 0.9937587976455688, 0.17602042853832245, -0.16215890645980835, 0.39562034606933594, 0.3430952727794647, 0.8673406839370728, -0.42356184124946594, -0.032698262482881546, 0.4660213887691498, 0.551969051361084, 0.32291755080223083, -0.8659602403640747, -0.39819201827049255, -0.520990252494812, -0.2045106440782547, 0.10724231600761414, -0.5956196784973145, 0.5132040977478027, 0.13069383800029755, -0.5993534922599792, 0.1426219344139099, 0.7720991373062134, 0.0657917782664299, 0.41028714179992676, 0.6147206425666809, 0.38108181953430176, 0.9072167873382568, -0.009037173353135586, 0.8423473834991455, -0.3344104588031769, 0.6425008773803711, 0.5914514064788818, -0.123672716319561, 0.9560917019844055, 0.08544781804084778, -0.11444388329982758, 0.5747523307800293, 0.6324431300163269, -0.03430335968732834, 0.15128828585147858, 0.10335002839565277, -0.3035188913345337, -0.22952324151992798, -0.3229663372039795, -0.08456308394670486, 0.5953816771507263, 0.4493003487586975, -0.1900372952222824, -0.1891542673110962, -0.09458812326192856, -0.16858389973640442, 0.021265877410769463, -0.21616651117801666, 0.8523556590080261, 0.04276832565665245, -0.37007373571395874, -0.1225484311580658, 0.059669505804777145, 0.21840840578079224, -0.4874781370162964, 0.008758053183555603, -0.0661122053861618, -0.2464982569217682, -0.4578549265861511, -0.9436625242233276, 0.9861874580383301, 0.1797458380460739, -0.1671568751335144, -0.44389015436172485, 1.0647504329681396, -0.1796174794435501, -0.4822274148464203, 0.29718679189682007, 0.39668360352516174, 0.2344725877046585, -0.0018470456125214696, -0.8213987946510315, 0.10375527292490005, -0.13307102024555206, 0.042576633393764496, 0.3109699487686157, 0.36425966024398804, -0.1588030308485031, 0.361324280500412, 0.7660622596740723, -0.18297646939754486, -0.354886919260025, 0.009522601962089539, 1.0581532716751099, -0.6355525851249695, -0.2962271571159363, -0.6565195322036743, 0.39035722613334656, -0.19418475031852722, -0.5808670520782471, 0.5040541887283325, 0.4421137571334839, 0.30241942405700684, 0.30254608392715454, 0.7412059903144836, -0.46425506472587585, 0.7129487991333008, 0.12501512467861176, 0.6993542313575745, -0.35492873191833496, 0.3860505521297455, -0.27920904755592346, -0.6977988481521606, -0.23442986607551575, 0.6495636105537415, -0.5573567152023315, -0.17175334692001343, 0.15612173080444336, 0.8106066584587097, 0.06514393538236618, 0.5418468713760376, 0.01752871833741665, -0.19185276329517365, 0.21625074744224548, 0.40952709317207336, 0.9949559569358826, -0.08412165939807892, 0.5814496278762817, 0.06592855602502823, -0.09870313107967377, -0.09258206188678741, -0.6612185835838318, -0.5677175521850586, -0.5525380373001099, -0.24791781604290009, -0.2444312572479248, -0.29222533106803894, 0.9892730116844177, 0.4827435314655304, -0.9716702103614807, -0.528639018535614, 0.04426848143339157, 0.23680882155895233, 0.22479894757270813, -0.2639276683330536, -0.042504601180553436, -0.2152237743139267, -0.21399079263210297, 0.2833414375782013, 0.37652912735939026, -0.3323560357093811, -0.5479242205619812, -0.09275522083044052, -0.23559343814849854, 0.031471990048885345, 0.4702398180961609, 0.7164125442504883, -0.3767838180065155, -0.46193328499794006, 0.17787621915340424, -0.13519662618637085, 0.17765800654888153, 0.9779556393623352, -0.5579697489738464, 0.40586915612220764, 0.4428037405014038, 0.8072375059127808, 0.45053768157958984, 0.22519902884960175, 0.3709985911846161, -0.8701233267784119, -0.36357632279396057, 0.1904524564743042, -0.034349475055933, 0.4952922761440277, -0.3366789221763611, 0.19715559482574463, 0.43810561299324036, -0.5953962802886963, -0.3037698268890381, 0.10534278303384781, -0.9824330806732178, -0.21817339956760406, 0.835917592048645, 0.1924799531698227, -0.24740184843540192, -0.4857374429702759, -0.21878239512443542, 0.00862596184015274, -0.5680538415908813, 0.8259857892990112, 0.8769045472145081, 0.04439106211066246, -0.4795546531677246, -0.47490304708480835, 0.25727686285972595, -0.034823108464479446, -0.8238729238510132, 0.31607481837272644, 0.7361612319946289, 0.0528862401843071, 0.5732207894325256, 1.102384328842163, 0.044285133481025696, 0.21262383460998535, -0.4712819755077362, -0.05783173069357872, 0.4043998718261719, -0.012978453189134598, -0.21476784348487854, 0.6931998133659363, 0.0015323434490710497, 0.26109233498573303 ]
http://arxiv.org/abs/2403.13269v3
http://arxiv.org/pdf/2403.13269v3
AFLoRA: Adaptive Freezing of Low Rank Adaptation in Parameter Efficient Fine-Tuning of Large Models
2024-03-20T03:07:50
2024-04-16T17:37:12
Zeyu Liu, Souvik Kundu, Anni Li, Junrui Wan, Lianghao Jiang, Peter Anthony Beerel
cs.CL
cs.CL, cs.AI, cs.LG
We present a novel Parameter-Efficient Fine-Tuning (PEFT) method, dubbed as Adaptive Freezing of Low Rank Adaptation (AFLoRA). Specifically, for each pre-trained frozen weight tensor, we add a parallel path of trainable low-rank matrices, namely a down-projection and an up-projection matrix, each of which is followed by a feature transformation vector. Based on a novel freezing score, we the incrementally freeze these projection matrices during fine-tuning to reduce the computation and alleviate over-fitting. Our experimental results demonstrate that we can achieve state-of-the-art performance with an average improvement of up to $0.85\%$ as evaluated on GLUE benchmark while yeilding up to $9.5\times$ fewer average trainable parameters. While compared in terms of runtime, AFLoRA can yield up to $1.86\times$ improvement as opposed to similar PEFT alternatives. Besides the practical utility of our approach, we provide insights on the trainability requirements of LoRA paths at different modules and the freezing schedule for the different projection matrices. Code will be released.
[ -0.6004164218902588, -0.7810656428337097, 0.3305775821208954, 0.08359197527170181, -0.337009996175766, 0.15495909750461578, -0.18480511009693146, -0.47685444355010986, 0.2620075047016144, 0.27870839834213257, -0.45232871174812317, -0.5105646848678589, -0.44389235973358154, -0.0014972316566854715, -0.2774164378643036, 0.7827991247177124, -0.17453138530254364, -0.2311449944972992, -0.3494266867637634, -0.2744641602039337, -0.4207315444946289, -0.18572856485843658, -0.5750861167907715, -0.08751706033945084, 0.4456067979335785, 0.9250248670578003, 0.9558479189872742, 0.9483601450920105, 0.607656717300415, 0.29679688811302185, -0.09907738864421844, 0.1559087485074997, -0.7005414962768555, 0.15042617917060852, -0.19683709740638733, -0.5116785764694214, -0.8447636365890503, -0.16162040829658508, 0.5969550013542175, 0.41028445959091187, -0.1797618269920349, 0.4635014832019806, -0.01182093471288681, 0.812920093536377, -1.1575294733047485, -0.04576452448964119, -0.7364066243171692, 0.14241831004619598, -0.25253239274024963, -0.20453697443008423, -0.3494412302970886, -0.09206108003854752, -0.11437254399061203, -1.0533918142318726, 0.1905788630247116, 0.23097418248653412, 0.7484352588653564, 0.765749990940094, -0.12031275033950806, 0.35633760690689087, -0.682608962059021, 0.7822393774986267, -0.6597373485565186, 0.2585218846797943, 0.38685131072998047, 0.45883262157440186, 0.1002330556511879, -0.7183606028556824, 0.14214171469211578, -0.04207510128617287, 0.2149590253829956, 0.27297526597976685, -0.271837443113327, 0.003990338649600744, 0.2607325315475464, 0.3000275790691376, -0.593550980091095, 0.3721758723258972, -0.4294760525226593, -0.19157935678958893, 0.8325631022453308, 0.3035930097103119, -0.0649079754948616, 0.3402175307273865, -0.5505890846252441, -0.18546612560749054, -0.40624621510505676, 0.06484387814998627, 0.060501828789711, 0.4035417437553406, -0.1649869978427887, 0.19228138029575348, -0.4927241802215576, 0.5326955318450928, 0.3670634329319, -0.2156163454055786, 0.31015339493751526, 0.43453720211982727, -0.5475116968154907, 0.25159645080566406, 0.3630218803882599, 0.24605444073677063, -0.12862235307693481, -0.05321324244141579, -0.028582485392689705, 0.061047088354825974, 0.21182218194007874, -0.8868916034698486, -0.5780819654464722, 0.3044813573360443, -0.4588514268398285, -0.4145343601703644, -0.3168368339538574, -0.9507486820220947, -0.2498329132795334, -0.13393989205360413, 0.7994021773338318, -0.5801060795783997, -0.208735391497612, 0.12302451580762863, 0.005519635044038296, 0.24603596329689026, 0.7973626852035522, -0.9566752910614014, 0.6668834686279297, 0.6377951502799988, 0.8155601024627686, -0.4419112205505371, -0.5289090871810913, -0.9984383583068848, 0.05144943296909332, -0.6020554304122925, 0.8139919638633728, -0.6118491888046265, 0.10989782214164734, -0.21251720190048218, -0.20926785469055176, -0.22926531732082367, -0.6259706020355225, 0.4157944917678833, -0.3426198363304138, -0.07274118810892105, 0.03397812321782112, -0.36988532543182373, -0.3054056763648987, 0.09864964336156845, -0.5636311173439026, 1.1506601572036743, 0.2695547044277191, -0.5906329154968262, 0.5933809876441956, -0.8632680177688599, -0.3156256079673767, 0.009296185337007046, 0.42921707034111023, -0.6049672961235046, 0.15190774202346802, 0.36629775166511536, 0.5749210715293884, -0.5967533588409424, -0.15141703188419342, -0.6673448085784912, -0.5501222610473633, -0.06492065638303757, -0.18708886206150055, 0.3463309407234192, 0.40353548526763916, -0.427221417427063, 0.2606998383998871, -0.776832103729248, 0.009366459213197231, 0.08354400843381882, -0.3882344663143158, -0.28243228793144226, -0.167852520942688, 0.1435711532831192, -0.3144681453704834, 0.253095418214798, -0.15454182028770447, 0.6235607862472534, -0.2461307942867279, 0.5005221962928772, 0.8097356557846069, -0.2230820208787918, 0.6624484658241272, -0.4538016617298126, 0.5583827495574951, 0.10417786240577698, 0.4757954180240631, -0.035311635583639145, -0.5291345119476318, -0.8815393447875977, -0.5953535437583923, 0.4666072726249695, 0.25881069898605347, -0.7437236905097961, -0.11606895923614502, 0.17883849143981934, -0.8669827580451965, -0.38187238574028015, 0.13751691579818726, 0.23301935195922852, 0.38413912057876587, 0.7650603652000427, -0.12059685587882996, -0.35194340348243713, -0.7687882781028748, -0.0021069857757538557, -0.17402614653110504, -0.016375089064240456, -0.013160613365471363, 0.7194252610206604, 0.044452354311943054, 0.9264086484909058, -0.8278670907020569, -0.3316418528556824, 0.22622835636138916, 0.4830046594142914, 0.3129846155643463, 0.7664947509765625, 1.2087682485580444, -0.959344744682312, -0.6252927184104919, -0.10174848884344101, -0.5052627921104431, 0.20411927998065948, 0.06450957804918289, -0.23599617183208466, 0.4871709942817688, 0.47568073868751526, -0.5487448573112488, 0.4252554476261139, 0.6780430674552917, -0.4245167076587677, 0.5124378800392151, -0.36733314394950867, 0.22222471237182617, -0.9266886115074158, 0.21641196310520172, -0.19921986758708954, -0.2501091957092285, -0.5110453963279724, 0.07653310149908066, -0.004529955331236124, -0.29679781198501587, -0.585234522819519, 0.19209016859531403, -0.47268617153167725, -0.010984075255692005, -0.11002278327941895, -0.4890771210193634, -0.13075672090053558, 0.6007333993911743, -0.06358212977647781, 0.6615819334983826, 0.8224058747291565, -0.4875200390815735, 0.3478756248950958, 0.2726685106754303, -0.2481340616941452, 0.41566792130470276, -0.3218020796775818, 0.27288496494293213, -0.07806355506181717, -0.11985451728105545, -0.7514040470123291, -0.33940035104751587, 0.37155428528785706, -0.2815442979335785, 0.3589325249195099, -0.4361700713634491, -0.006107020657509565, 0.007469296921044588, -0.5478560328483582, 0.5003241896629333, 0.8046841025352478, -0.6212772727012634, 0.69415283203125, 0.2342231124639511, -0.07468865811824799, -0.5666515231132507, -0.321984201669693, -0.11942052841186523, -0.9003044366836548, -0.5302116274833679, 0.6802471280097961, -0.5265263915061951, -0.1655360907316208, -0.0585499070584774, -0.00847571436315775, -0.19573870301246643, 0.5225238800048828, 0.10099493712186813, -0.02526792697608471, -0.6211015582084656, 0.011276657693088055, 0.2738068997859955, -0.1655806005001068, -0.21690280735492706, -0.24365194141864777, 0.338055819272995, -0.24241392314434052, -0.07483012974262238, -0.19819357991218567, 0.33192816376686096, 1.001254916191101, -0.22065649926662445, 0.9448826313018799, 0.9897142648696899, -0.6141617894172668, -0.36613479256629944, -0.44259941577911377, -0.18735051155090332, -0.48956161737442017, 0.21032501757144928, -0.4122503101825714, -0.6322223544120789, 0.6257928609848022, -0.2844513952732086, 0.07199174910783768, 0.4874606132507324, 0.3362143635749817, -0.0222310833632946, 1.0019667148590088, 1.0362787246704102, -0.11957024037837982, 0.27705124020576477, -0.31181642413139343, -0.2875720262527466, -0.5989563465118408, 0.016605528071522713, -0.5615243315696716, -0.4854969084262848, -0.4119749963283539, -0.4829332232475281, 0.4630894958972931, 0.5128189921379089, -0.5134397745132446, 0.2522049844264984, -0.5406596064567566, 0.2543930113315582, 0.4347703754901886, 0.16015754640102386, 0.20131920278072357, -0.19506533443927765, 0.05024109408259392, -0.0946592167019844, -1.0918099880218506, 0.037480536848306656, 0.8626710176467896, 0.3365800380706787, 0.788470983505249, -0.06141471490263939, 0.7245304584503174, 0.5489082932472229, 0.3614415228366852, -0.9025112986564636, 0.26746752858161926, -0.30117857456207275, -0.4548925757408142, -0.640699028968811, -0.3081076443195343, -0.5847415328025818, 0.2620791494846344, -0.7058705687522888, -0.9006545543670654, 0.38691195845603943, 0.6660767793655396, -0.44344624876976013, 0.3968982398509979, -0.6184149384498596, 0.8946344256401062, -0.2717147469520569, -0.6872590184211731, -0.2257630079984665, -0.386705219745636, 0.2010045200586319, -0.43842923641204834, -0.022775862365961075, -0.3872847557067871, -0.04882124811410904, 1.0948445796966553, -0.4644499123096466, 0.6438295841217041, -0.444982647895813, 0.09180846065282822, -0.07047007232904434, 0.04922444000840187, 0.5070379972457886, 0.18908308446407318, -0.36685124039649963, 0.1047784611582756, 0.25970155000686646, -0.5680087804794312, -0.5645270347595215, 0.39313769340515137, -0.8696759939193726, -0.6001120209693909, -0.6655307412147522, -0.6715555191040039, -0.4254888892173767, 0.12552519142627716, 0.3120710849761963, 0.339959055185318, -0.24478422105312347, 0.35592764616012573, 0.5186786651611328, -0.15066686272621155, 0.33978036046028137, 0.6140171885490417, -0.07430834323167801, -0.5267577171325684, 0.8116936087608337, 0.13197141885757446, -0.015508060343563557, 0.6551426649093628, 0.2549690902233124, 0.24971850216388702, -0.956802487373352, -0.3636612296104431, 0.1558489352464676, -0.43694448471069336, -0.8714631795883179, -0.023903606459498405, 0.07051233947277069, -0.3457358777523041, -0.5890965461730957, -0.9052000641822815, -0.39037951827049255, -0.5738369822502136, 0.3060128390789032, 0.9339920878410339, 0.5179837942123413, -0.2942280173301697, 0.27892962098121643, -0.6805484294891357, 0.18609751760959625, 0.10069799423217773, 0.2393387109041214, -0.14765974879264832, -0.6194807291030884, -0.5145122408866882, -0.028629042208194733, -0.08252570033073425, -0.5001600384712219, 0.5494759678840637, 0.6609508395195007, 0.417995810508728, 0.5723740458488464, 0.7105535268783569, 1.0414007902145386, -0.2572390139102936, 0.386983722448349, 0.1784314662218094, -1.0119320154190063, 0.43432167172431946, -0.36899369955062866, 0.4620102047920227, 0.5160869359970093, 0.5858114957809448, 0.14739489555358887, -0.2567535638809204, -0.33329328894615173, -1.0552228689193726, 0.8716951012611389, 0.1811235547065735, -0.26814889907836914, 0.7163615822792053, 0.46996480226516724, 0.2528623044490814, -0.01994307152926922, -0.02874729037284851, -0.058672331273555756, -0.14872924983501434, 0.11064554005861282, -0.3378750681877136, -0.34004566073417664, -0.21693825721740723, -0.5101257562637329, 0.8263171315193176, -0.723831057548523, 0.3450002372264862, 0.046537913382053375, -0.12632399797439575, -0.473681777715683, -0.011687284335494041, 0.4849587082862854, 0.69146728515625, -0.8041630387306213, -0.04255448281764984, 0.6612181663513184, -0.5077667236328125, -0.02145869843661785, 0.21502156555652618, 0.0027802283875644207, -0.34688398241996765, 0.3276170492172241, 0.732180655002594, 0.47878119349479675, -0.24305041134357452, 0.019034530967473984, -0.08448916673660278, -0.4725351929664612, -0.3451758027076721, 0.24274411797523499, -0.09583184868097305, 0.6045966148376465, 0.5922030210494995, 0.4867473840713501, 0.09153279662132263, -0.48602235317230225, 0.18641632795333862, 0.20264089107513428, -0.32533562183380127, -0.2607974112033844, 0.89732825756073, 0.06736838817596436, 0.07845919579267502, 0.7111636400222778, 0.3173712491989136, -0.24199339747428894, 0.6233639717102051, 0.5974501371383667, 0.7210702300071716, -0.3965941071510315, 0.4118330478668213, 0.3007410168647766, 0.12049566954374313, -0.1412779539823532, 0.07303698360919952, -0.0960669070482254, -0.7868967652320862, -0.253015398979187, -0.9936748743057251, -0.6193129420280457, 0.05072777718305588, -1.0620790719985962, 0.37869274616241455, -0.49943897128105164, -0.15996281802654266, 0.0321914404630661, 0.007911890745162964, -0.3819856643676758, 0.26743176579475403, 0.26269105076789856, 1.4052852392196655, -1.099406361579895, 1.0147480964660645, 0.9500157237052917, -0.12384715676307678, -0.7102091312408447, -0.04912792146205902, -0.04152263328433037, -0.6604518294334412, 0.24093928933143616, -0.11989828944206238, -0.2180296629667282, 0.04714638367295265, -0.5650217533111572, -1.322412371635437, 1.4786531925201416, 1.1617774963378906, -0.13881681859493256, -0.04616595804691315, 0.06578656286001205, 0.5393491983413696, -0.4688730239868164, 0.06107737869024277, 0.7513166666030884, 0.6182706952095032, 0.15484219789505005, -0.9786405563354492, 0.019931120797991753, -0.4297787547111511, -0.11269129812717438, 0.19768010079860687, -0.9050725102424622, 0.9822321534156799, -0.09356869012117386, 0.14607994258403778, 0.3761864900588989, 0.8016915917396545, 0.08633878827095032, 0.4470224976539612, 0.5762597918510437, 0.4691234529018402, 0.6933742165565491, -0.10125961154699326, 0.5006846189498901, -0.22607025504112244, 0.5724254250526428, 0.6767494082450867, -0.27152806520462036, 0.9871918559074402, 0.4458540976047516, 0.09606072306632996, 0.1936393827199936, 0.6301026344299316, -0.08142315596342087, 0.632905900478363, -0.3278852105140686, 0.26411008834838867, -0.575446367263794, 0.06442654132843018, -0.39222127199172974, 0.8257791996002197, 0.3091478943824768, 0.04141242802143097, 0.0290373507887125, 0.3545505404472351, 0.08568523079156876, -0.18968935310840607, -0.7153919339179993, 0.568412721157074, 0.07536790519952774, -0.5785278081893921, 1.218308687210083, -0.18133515119552612, 0.544333279132843, -0.552890956401825, -0.13851989805698395, -0.2872820198535919, 0.5032474398612976, -0.4742884635925293, -0.24804846942424774, 0.2625218629837036, -0.06945503503084183, -0.06119304895401001, -0.14759819209575653, 0.7253516912460327, -0.1036558747291565, -0.3587417006492615, 0.44743189215660095, 0.19572623074054718, 0.049421053379774094, -0.10655348002910614, -0.7916103005409241, 0.3728969097137451, -0.33293649554252625, -0.5492506623268127, 0.6140725016593933, 0.001208420260809362, 0.022658340632915497, 0.7376559376716614, 0.414173424243927, -0.14568625390529633, -0.29415977001190186, -0.5535694360733032, 1.0335770845413208, -0.3797912001609802, -0.4134155511856079, -0.39200499653816223, 0.6085456013679504, 0.25644078850746155, -0.4642482399940491, 0.3674114942550659, 0.6506715416908264, 0.6502209901809692, -0.3452743887901306, 0.39781463146209717, -0.0529203824698925, 0.19446751475334167, -1.0679655075073242, 0.9054162502288818, -0.964127779006958, -0.025824643671512604, -0.5210960507392883, -1.0534934997558594, -0.4613081216812134, 0.5029627680778503, -0.31079983711242676, -0.148903027176857, 0.795447587966919, 0.5974595546722412, -0.45564788579940796, -0.19256068766117096, 0.6278771758079529, 0.42160409688949585, -0.12699513137340546, 0.6283422708511353, 0.584878146648407, -0.5207724571228027, 0.5677624344825745, -0.47271671891212463, -0.3634738326072693, -0.49467602372169495, -0.8736280798912048, -0.6852017045021057, -0.7510000467300415, -0.6738243699073792, 0.042794566601514816, 0.3318997323513031, 0.7914709448814392, 1.0946382284164429, -1.0314098596572876, -0.18223035335540771, 0.24597127735614777, -0.21695475280284882, -0.6618232727050781, -0.165523961186409, 0.5052988529205322, -0.06813842803239822, -0.6873427033424377, 0.5198541879653931, 0.33099165558815, -0.32802557945251465, 0.047152020037174225, -0.24234209954738617, -0.10707050561904907, -0.02466440200805664, 0.4541762173175812, 0.4727524220943451, -0.1421189308166504, -0.5185099244117737, -0.16885140538215637, 0.4659644663333893, 0.41366174817085266, 0.5073243975639343, -0.8785299062728882, 0.15948940813541412, 0.5076779723167419, 0.27032122015953064, 0.9751741886138916, 0.06643351167440414, 0.6403106451034546, -0.13512654602527618, 0.4010013937950134, 0.24014325439929962, 0.4871944189071655, 0.10701160877943039, -0.4223478138446808, 0.6045737862586975, -0.06633035838603973, -0.5107578635215759, -0.9138902425765991, 0.14441263675689697, -1.1662663221359253, -0.3721301853656769, 0.5570173263549805, -0.26384663581848145, -0.47975224256515503, 0.08916489779949188, -0.12242807447910309, 0.20464274287223816, -0.5313976407051086, 0.9950386881828308, -0.023768743500113487, -0.44630059599876404, -0.27871137857437134, -0.10378163307905197, 0.760849118232727, 0.4734449088573456, -0.8796880841255188, -0.04188459366559982, 0.19715355336666107, 0.2619696259498596, 0.2743273079395294, 0.33703821897506714, 0.2251845747232437, 0.5314563512802124, 0.08302916586399078, -0.2915118932723999, -0.24000681936740875, -0.7094753384590149, -0.3320578336715698, 0.4814041256904602, 0.49505823850631714, 0.10127431899309158 ]
http://arxiv.org/abs/2403.13257v2
http://arxiv.org/pdf/2403.13257v2
Arcee's MergeKit: A Toolkit for Merging Large Language Models
2024-03-20T02:38:01
2024-03-21T03:13:30
Charles Goddard, Shamane Siriwardhana, Malikeh Ehghaghi, Luke Meyers, Vlad Karpukhin, Brian Benedict, Mark McQuade, Jacob Solawetz
cs.CL
cs.CL, cs.AI, cs.LG
The rapid expansion of the open-source language model landscape presents an opportunity to merge the competencies of these model checkpoints by combining their parameters. Advances in transfer learning, the process of fine-tuning pretrained models for specific tasks, has resulted in the development of vast amounts of task-specific models, typically specialized in individual tasks and unable to utilize each other's strengths. Model merging facilitates the creation of multitask models without the need for additional training, offering a promising avenue for enhancing model performance and versatility. By preserving the intrinsic capabilities of the original models, model merging addresses complex challenges in AI - including the difficulties of catastrophic forgetting and multitask learning. To support this expanding area of research, we introduce MergeKit, a comprehensive, open-source library designed to facilitate the application of model merging strategies. MergeKit offers an extensible framework to efficiently merge models on any hardware, providing utility to researchers and practitioners. To date, thousands of models have been merged by the open-source community, leading to the creation of some of the worlds most powerful open-source model checkpoints, as assessed by the Open LLM Leaderboard. The library is accessible at https://github.com/arcee-ai/MergeKit.
[ -0.6740186810493469, -0.30539563298225403, 0.3349002003669739, 0.15183088183403015, 0.09915240108966827, 0.28299444913864136, -0.16224442422389984, -0.6296090483665466, 0.040918320417404175, 0.7783024311065674, -0.3320960998535156, -0.093084417283535, -0.6213223338127136, -0.45431986451148987, -0.9861639738082886, 0.8967352509498596, -0.3304203748703003, -0.1657230108976364, -0.20909391343593597, -0.22273464500904083, -0.3735541105270386, -0.32139715552330017, -0.693454384803772, -0.47391170263290405, 0.4325404763221741, 0.5016840100288391, 0.40959063172340393, 0.17674578726291656, 0.7237346172332764, 0.3128790259361267, 0.08714524656534195, 0.09217148274183273, -0.29515308141708374, 0.3785949647426605, -0.3556007444858551, -0.32098478078842163, -0.7246267199516296, 0.04329727217555046, 0.6329938173294067, 0.8989107012748718, -0.3630172610282898, 0.17633894085884094, 0.12553849816322327, 0.46392521262168884, -0.7298294901847839, 0.03809509798884392, -0.40783339738845825, -0.2171933650970459, -0.2902100384235382, 0.22980690002441406, -0.36819127202033997, -0.5010688304901123, 0.07624223828315735, -0.2582751512527466, -0.07634405791759491, -0.12194927036762238, 0.7081381678581238, 0.3211784362792969, -0.3246891498565674, 0.26607802510261536, -0.9028854370117188, 0.8215121626853943, -0.8194435834884644, 0.3736027479171753, 0.23588381707668304, 0.5703915953636169, -0.04744402691721916, -0.5144107341766357, -0.7887729406356812, 0.020990028977394104, 0.2627793252468109, -0.13195867836475372, -0.4781281352043152, 0.1389898806810379, 0.04755350202322006, 0.5997563004493713, -0.5597796440124512, 0.3482934832572937, -0.5105301141738892, -0.11065492779016495, 0.4374876320362091, 0.05207334831357002, 0.6219615936279297, 0.4179731011390686, 0.007350282743573189, -0.46870505809783936, -0.42718449234962463, -0.24600400030612946, 0.30960613489151, 0.3413245677947998, -0.0225057490170002, 0.8639720678329468, -0.18206149339675903, 0.6549057364463806, -0.11639110743999481, -0.08186226338148117, 0.26429519057273865, -0.6337546110153198, -0.3541110157966614, -0.13751770555973053, 0.6776087284088135, 0.32558074593544006, -0.03254234045743942, -0.13991422951221466, -0.24286501109600067, -0.12080080062150955, 0.26874446868896484, -0.5719727277755737, -0.3317824900150299, 0.3064369857311249, -0.2687126100063324, -0.29128795862197876, -0.2238113433122635, -0.7352780103683472, -0.2828426659107208, -0.4365514814853668, 0.07840723544359207, -0.4417530298233032, -0.6932771801948547, 0.158222958445549, -0.1659150868654251, 0.2408224493265152, 0.6138542294502258, -0.5556222796440125, 0.1706867516040802, 0.6930365562438965, 0.9057140946388245, -0.2755313217639923, -0.6905989646911621, -0.5583957433700562, 0.19505539536476135, -0.25861215591430664, 0.6514093279838562, -0.4347135126590729, -0.39237621426582336, -0.09189905971288681, -0.03898860514163971, -0.04126833379268646, -0.5285226106643677, 0.025475839152932167, -0.4337398111820221, 0.11911748349666595, -0.03518310934305191, -0.36031654477119446, -0.4709790050983429, 0.2521536946296692, -0.9491288661956787, 1.4538533687591553, 0.3560275435447693, -0.3640351891517639, 0.25814926624298096, -0.6500369906425476, -0.3327290415763855, 0.17469526827335358, 0.247598335146904, -0.12295950949192047, 0.04219665005803108, 0.02940972149372101, 0.34284308552742004, -0.6890532970428467, 0.32242006063461304, -0.392212837934494, 0.20986731350421906, -0.1520462930202484, -0.1588158756494522, 0.8670322299003601, 0.34848201274871826, -0.18318654596805573, 0.2723023295402527, -0.49115726351737976, 0.03198608383536339, -0.22222130000591278, -0.2730746269226074, -0.5283263921737671, -0.41017574071884155, 0.2532316744327545, 0.3174000680446625, 0.3593141734600067, -0.2661759555339813, 0.5511317849159241, -0.23157522082328796, 0.3219568729400635, 0.4604652225971222, -0.31143680214881897, 0.7761318683624268, -0.513602077960968, 0.5650460124015808, 0.16184677183628082, -0.05975975841283798, -0.3951704502105713, -0.6845272183418274, -0.9935306310653687, -0.1353582739830017, 0.3676024079322815, 0.5990549325942993, -0.4707539677619934, 0.7214916348457336, -0.23762314021587372, -0.9485487937927246, -0.7640063166618347, 0.3311464488506317, 0.16693125665187836, 0.2803621292114258, 0.4289897084236145, -0.7838801145553589, -0.5118913054466248, -0.7982627749443054, 0.0677928552031517, -0.3954336643218994, -0.027319731190800667, 0.20291297137737274, 0.5315711498260498, -0.371489018201828, 1.1001043319702148, -0.1675102859735489, -0.20501866936683655, -0.3878887891769409, 0.4341581165790558, -0.07775478065013885, 0.790201723575592, 0.5819979310035706, -0.4346791207790375, -0.40542072057724, 0.5807579159736633, -0.6110693216323853, -0.07832755148410797, -0.01355456281453371, -0.09572217613458633, -0.09733600169420242, 0.6635912656784058, -0.5969974398612976, 0.27392295002937317, 0.7785608768463135, 0.03605320677161217, 0.7012912631034851, -0.1404375582933426, 0.4764227271080017, -1.429678201675415, 0.46817049384117126, -0.31933438777923584, -0.22456258535385132, -0.5906639099121094, 0.36266055703163147, 0.0553838349878788, -0.3861808776855469, -0.6049265265464783, 0.9931180477142334, -0.48511525988578796, 0.026391413062810898, -0.26916176080703735, -0.04401855915784836, -0.25997841358184814, 0.11673147976398468, -0.327313095331192, 0.8052418231964111, 0.7230606079101562, -0.4846026599407196, 0.5654066205024719, 0.18880710005760193, -0.4140610098838806, 0.5620279908180237, -0.24596619606018066, 0.02327832020819187, 0.09026241302490234, 0.12195397913455963, -0.8250725269317627, -0.3861368000507355, -0.01679583080112934, -0.06975560635328293, 0.2701348662376404, -0.1480139046907425, -0.35113704204559326, -0.4340784251689911, -0.014220396056771278, 0.7371122241020203, 0.48545515537261963, -0.5151185989379883, 1.1478443145751953, 0.45448070764541626, -0.45065611600875854, -0.6626838445663452, -0.7591691017150879, 0.3579840064048767, 0.030519669875502586, -0.6162585020065308, 0.39044466614723206, -0.16742926836013794, -0.11758925765752792, 0.37527579069137573, 0.0761324018239975, -0.3752375841140747, -0.03839139640331268, 0.23475958406925201, 0.4136297404766083, -0.3569602370262146, -0.1952696293592453, 0.2419828176498413, 0.035198383033275604, -0.5099543333053589, -0.20229698717594147, 0.5343178510665894, 0.11887574195861816, -0.6668303608894348, -0.44610998034477234, 0.4542849659919739, 1.2058581113815308, -0.522774338722229, 1.0023490190505981, 0.3070071339607239, -0.4189207851886749, -0.22020578384399414, -0.9112969636917114, -0.009534785524010658, -0.341498464345932, 0.43575266003608704, -0.33051300048828125, -1.0578479766845703, 0.6743793487548828, -0.3850400745868683, 0.43161195516586304, 0.17171524465084076, 0.49887630343437195, 0.10009127855300903, 0.7823459506034851, 0.8842141032218933, -0.5091431140899658, 0.6706512570381165, -0.14182214438915253, 0.3510202169418335, -0.9205372929573059, -0.2059837281703949, -0.7411774396896362, -0.4042198657989502, 0.11025762557983398, -0.651940643787384, -0.2977742850780487, 0.22332242131233215, -0.3959210216999054, 0.6225331425666809, -0.39249590039253235, 0.6538481116294861, 0.48691630363464355, -0.22640566527843475, 0.2753296196460724, -0.1382109820842743, -0.05301838368177414, 0.322757363319397, -0.5626005530357361, -0.2776251435279846, 1.123010516166687, 0.18878436088562012, 0.9456037282943726, 0.17302915453910828, 0.6860716938972473, 0.18516896665096283, 0.13645599782466888, -0.7171953916549683, 0.6926199197769165, -0.2738990783691406, -0.45395398139953613, -0.22151809930801392, -0.2795064151287079, -0.7381319403648376, -0.030834635719656944, -0.19692470133304596, -0.8053406476974487, 0.2382706105709076, 0.19972924888134003, -0.2350475788116455, 0.5991700887680054, -0.6044046878814697, 0.8904048800468445, -0.1667991429567337, 0.11812455207109451, -0.404133677482605, -0.17954891920089722, 0.7554810643196106, -0.3993147015571594, 0.02851198799908161, -0.33293038606643677, 0.1805161088705063, 0.5463041663169861, -0.23148301243782043, 0.9279826283454895, 0.18604357540607452, 0.054611679166555405, 0.04066234827041626, 0.48898231983184814, 0.38462427258491516, -0.6399676203727722, 0.20864459872245789, 0.325137197971344, -0.13288354873657227, -0.1469401717185974, -0.41334980726242065, 0.8515877723693848, -0.8222248554229736, -0.34868863224983215, -0.16833704710006714, -0.6622346043586731, -0.050609733909368515, 0.460228830575943, -0.16316455602645874, 0.21154025197029114, -0.3537555932998657, 0.16219191253185272, 0.45685890316963196, -0.07431787997484207, 0.30783993005752563, 0.3773781955242157, -0.552736759185791, -0.25606581568717957, 0.8077606558799744, -0.1614464968442917, 0.3709467351436615, 0.15130826830863953, -0.19956032931804657, 0.1262284368276596, -0.45829418301582336, -0.1302095204591751, 0.32191798090934753, -0.69981449842453, -0.2797397971153259, -0.5604165196418762, -0.48760250210762024, -0.466334730386734, -0.33415576815605164, -0.7477807402610779, -0.5393146872520447, -0.16113202273845673, 0.1337880641222, 0.24493081867694855, 0.7982316017150879, -0.05250169709324837, 0.45681172609329224, -1.1283246278762817, 0.0683184266090393, 0.3626207411289215, 0.3511180281639099, 0.3923848569393158, -0.29040664434432983, -0.23731157183647156, -0.20207500457763672, -0.23165345191955566, -0.7861678600311279, 0.3173043727874756, 0.19074425101280212, 0.787108838558197, 0.18836252391338348, -0.10569818317890167, 0.801020085811615, -0.3457396924495697, 0.769374430179596, 0.5888815522193909, -1.051434874534607, 0.6341966986656189, 0.003747036447748542, 0.3829081654548645, 0.7050320506095886, 0.3056214153766632, -0.7291495203971863, -0.7845352292060852, -0.3562929332256317, -0.9428235292434692, 0.8672562837600708, 0.040991734713315964, -0.2600177526473999, 0.3029401898384094, 0.018005920574069023, 0.0888328030705452, 0.18129095435142517, -0.420164555311203, -0.17918282747268677, -0.020641319453716278, -0.36944714188575745, -0.07036557793617249, 0.1462506800889969, -0.3728903830051422, -0.23089510202407837, 0.7880590558052063, -0.10491978377103806, -0.09481996297836304, -0.468147337436676, -0.36434462666511536, -0.022293733432888985, 0.13649722933769226, 0.2633429169654846, 0.5008453726768494, 0.01988242194056511, 0.024618586525321007, -0.050561875104904175, -0.4627755582332611, 0.17791642248630524, 0.1902538388967514, -0.06850305199623108, -0.2582838237285614, 0.35269173979759216, 0.802374541759491, 0.2975204586982727, -0.7390065789222717, 0.42316535115242004, -0.19103707373142242, -0.22834880650043488, 0.1569821834564209, 0.24873903393745422, 0.03217349946498871, 0.3750387728214264, 0.052461981773376465, 0.5171228051185608, 0.004042527172714472, -0.5190094709396362, 0.22949965298175812, 0.4814951419830322, -0.14420007169246674, -0.34326040744781494, 0.7239933609962463, 0.49486055970191956, -0.2450903207063675, 0.8275640606880188, 0.11039793491363525, -0.5032801032066345, 0.5571331977844238, 0.2394578456878662, 1.160011649131775, -0.5799220204353333, 0.020995737984776497, 0.5939798355102539, 0.4675193727016449, -0.5690507292747498, -0.21291516721248627, -0.19213712215423584, -0.8671629428863525, -0.7002441883087158, -0.6660105586051941, -0.6167858839035034, -0.03495434299111366, -0.5600157380104065, 0.5100043416023254, -0.0287949126213789, -0.18690727651119232, 0.041320256888866425, -0.4506151080131531, -0.7776916027069092, -0.1712283492088318, 0.08407250046730042, 1.1563864946365356, -0.9644023776054382, 1.1665408611297607, 0.6768403053283691, -0.584102213382721, -0.8850517868995667, -0.23786194622516632, 0.08305247873067856, -0.7309890985488892, 0.5922407507896423, 0.084343321621418, 0.030340339988470078, 0.019749855622649193, -0.18687379360198975, -0.916820764541626, 1.0411057472229004, 0.6438900232315063, -0.5986461639404297, -0.5844369530677795, -0.012829658575356007, 0.04588332772254944, -0.3685031235218048, 0.2930161654949188, 0.8654183745384216, 0.5732600688934326, 0.4243464469909668, -1.6123619079589844, -0.12172050029039383, -0.23088622093200684, -0.15083681046962738, 0.6185341477394104, -0.13481421768665314, 0.8767803311347961, -0.07510523498058319, -0.18540439009666443, 0.2376786172389984, 0.33403852581977844, -0.06488659232854843, -0.04753054678440094, 0.4102160930633545, 0.9651439189910889, 0.8681468367576599, -0.23198089003562927, 0.721970796585083, -0.4717273712158203, 0.4616447985172272, 1.2169357538223267, -0.4076426029205322, 0.9447954893112183, 0.3902522623538971, -0.09237571060657501, 0.39766010642051697, 0.29919150471687317, 0.040547292679548264, 0.3350132703781128, -0.5038971900939941, -0.2979619801044464, -0.29309865832328796, 0.031884048134088516, -0.49325695633888245, 0.43117600679397583, 0.11374887079000473, -0.031425170600414276, -0.4920196533203125, 0.2960953414440155, -0.23891766369342804, -0.3208235800266266, -0.2561805844306946, 0.9568483829498291, -0.07974915951490402, -0.818480372428894, 0.09348788857460022, -0.3613003194332123, 0.6330088376998901, -0.8106362819671631, -0.09109258651733398, -0.17935040593147278, 0.21622417867183685, -0.14968416094779968, -1.0922983884811401, 0.5577395558357239, -0.26895415782928467, -0.2694467008113861, -0.14858074486255646, 0.49211055040359497, -0.725091278553009, -0.2189512699842453, 0.5162012577056885, 0.5717685222625732, 0.16394662857055664, 0.0033224059734493494, -0.8175846338272095, 0.19773711264133453, 0.10477226972579956, 0.3051990270614624, 0.4649445116519928, 0.1549651175737381, 0.045254796743392944, 0.7232410311698914, 0.6838922500610352, 0.33507442474365234, -0.0010714147938415408, 0.03573613241314888, 0.9128206968307495, -0.5719706416130066, -0.5532195568084717, -0.4224984347820282, 0.7521899342536926, -0.06887975335121155, -0.20271357893943787, 0.5808279514312744, 0.6138224005699158, 0.7851778864860535, 0.06874428689479828, 0.943121612071991, -0.23728272318840027, 0.26051411032676697, -0.27169692516326904, 0.8961409330368042, -0.886474609375, 0.17562991380691528, -0.01783188432455063, -1.2508052587509155, -0.24954082071781158, 0.27038905024528503, 0.03967403620481491, 0.057521216571331024, 0.5696445107460022, 0.7150991559028625, -0.3600497245788574, -0.28033286333084106, 0.35312193632125854, 0.12120913714170456, 0.5772371292114258, 0.5567622184753418, 0.5195872187614441, -0.203149676322937, 0.5428129434585571, -0.12518666684627533, -0.5521049499511719, -0.3646133840084076, -0.8793658018112183, -0.8409934639930725, -0.9526710510253906, -0.41512739658355713, -0.2148624211549759, -0.22028060257434845, 0.605006992816925, 0.93755042552948, -0.9246237277984619, -0.458790123462677, -0.11126529425382614, -0.03724336624145508, -0.2922683358192444, -0.1771397888660431, -0.06284531205892563, -0.44069743156433105, -0.9921426177024841, 0.45991384983062744, 0.4153236746788025, 0.12830233573913574, -0.3665924072265625, -0.04626546427607536, -0.23947201669216156, 0.13751868903636932, 0.3072403371334076, 0.7339844107627869, -0.6983392238616943, 0.024169012904167175, -0.11256613582372665, -0.0730271264910698, -0.13264796137809753, 1.0603731870651245, -0.6676808595657349, 0.8669545650482178, 0.5259982943534851, 0.9550222158432007, 0.4085236191749573, -0.3417772650718689, 0.9245761632919312, -0.6546540856361389, 0.21342496573925018, 0.08571191877126694, 0.5976006984710693, 0.3433725833892822, 0.11731310933828354, 0.44637081027030945, -0.09256646782159805, -0.673484742641449, -1.1444686651229858, 0.20217715203762054, -1.113996982574463, -0.21647904813289642, 0.6346689462661743, 0.14779745042324066, 0.1110754981637001, -0.05945051088929176, -0.20967578887939453, 0.21164648234844208, -0.3385835587978363, 0.2496844083070755, 1.0113019943237305, -0.04466939717531204, -0.2905351221561432, -0.2736457884311676, 0.3553229570388794, 0.11738370358943939, -0.9950829744338989, 0.3225816786289215, 0.26667487621307373, 0.09284354746341705, 0.46286800503730774, 0.3310777544975281, 0.12016584724187851, 0.5939269065856934, 0.10921046137809753, 0.6261923313140869, -0.04650267958641052, -0.407940536737442, -0.40290310978889465, 0.11072877049446106, 0.31735631823539734, 0.019901474937796593 ]
http://arxiv.org/abs/2403.13253v1
http://arxiv.org/pdf/2403.13253v1
Document Author Classification Using Parsed Language Structure
2024-03-20T02:32:24
2024-03-20T02:32:24
Todd K Moon, Jacob H. Gunther
cs.CL
cs.CL, eess.AS
Over the years there has been ongoing interest in detecting authorship of a text based on statistical properties of the text, such as by using occurrence rates of noncontextual words. In previous work, these techniques have been used, for example, to determine authorship of all of \emph{The Federalist Papers}. Such methods may be useful in more modern times to detect fake or AI authorship. Progress in statistical natural language parsers introduces the possibility of using grammatical structure to detect authorship. In this paper we explore a new possibility for detecting authorship using grammatical structural information extracted using a statistical natural language parser. This paper provides a proof of concept, testing author classification based on grammatical structure on a set of "proof texts," The Federalist Papers and Sanditon which have been as test cases in previous authorship detection studies. Several features extracted from the statistical natural language parser were explored: all subtrees of some depth from any level; rooted subtrees of some depth, part of speech, and part of speech by level in the parse tree. It was found to be helpful to project the features into a lower dimensional space. Statistical experiments on these documents demonstrate that information from a statistical parser can, in fact, assist in distinguishing authors.
[ 0.09862640500068665, -0.9488614797592163, 0.9379866719245911, 0.16036033630371094, 0.11349072307348251, 0.11075283586978912, -0.1592298001050949, -0.4747317135334015, 0.3478444218635559, 0.4682176113128662, 0.008137439377605915, -0.564574122428894, -0.6610773205757141, 0.6303460001945496, -0.6215899586677551, 0.8360611200332642, 0.23854579031467438, -0.02700837142765522, -0.6099376082420349, 0.1015666052699089, -0.09377194941043854, -0.5491594076156616, -0.5950157642364502, -0.12570638954639435, 0.42729660868644714, 0.052298132330179214, 0.6119576692581177, 0.9766086935997009, 0.48843175172805786, 0.5435346961021423, -0.19734570384025574, -0.36957550048828125, -0.010032008402049541, 0.18447357416152954, -0.12110119313001633, -0.817157506942749, -0.49168556928634644, 0.045234378427267075, 0.7400804162025452, 0.7314527034759521, -0.009446133859455585, 0.00043302212725393474, -0.23875100910663605, 0.30293670296669006, -0.5367713570594788, 0.5317561030387878, -0.38999006152153015, -0.06701531261205673, -0.7351338863372803, -0.4762464761734009, -1.0321604013442993, -0.7016316652297974, -0.2076074331998825, -0.3389231860637665, 0.7995815873146057, 0.13347819447517395, 0.5315496325492859, -0.1415412873029709, -0.48239439725875854, -0.37023505568504333, -0.37081965804100037, 0.7095788717269897, -0.6322043538093567, 0.39016011357307434, 0.5031614303588867, 0.30349841713905334, -0.22215251624584198, -0.525363564491272, -0.5197457671165466, -0.42110711336135864, -0.47564461827278137, -0.2387535125017166, -0.2620389759540558, 0.11995477974414825, 0.19793780148029327, 0.7972468733787537, -0.7206491827964783, 0.07389659434556961, -0.14258639514446259, -0.28596732020378113, 0.6404731273651123, -0.25705239176750183, 0.6383010149002075, -0.44905105233192444, -0.17389099299907684, -0.36537864804267883, -0.23907850682735443, 0.448471337556839, 0.7011333703994751, 0.3852737843990326, -0.13912948966026306, 0.6452370882034302, -0.13624083995819092, 0.4093337953090668, -0.048743199557065964, -0.4258420169353485, 0.41199612617492676, -0.20282383263111115, -0.2265625149011612, 0.26721715927124023, 0.8519229292869568, -0.3529737591743469, 0.547231912612915, -0.1988995373249054, -0.16692669689655304, 0.2540951669216156, 0.020089328289031982, -0.48410800099372864, -0.5201190710067749, -0.050638969987630844, -0.7180716395378113, -0.3789164125919342, 0.6798340082168579, -0.6123510003089905, -0.48620128631591797, -0.17069242894649506, -0.13443978130817413, -0.557822585105896, -0.47629931569099426, -0.06859876960515976, -0.38449665904045105, 0.09482705593109131, 0.369966983795166, -1.0308098793029785, 0.661884605884552, 0.8780905604362488, 0.6341595649719238, 0.2927161157131195, -0.3266887068748474, -0.624237060546875, -0.07493411004543304, -0.32969120144844055, 0.938029944896698, -0.5900388360023499, 0.18113131821155548, 0.10257110744714737, -0.04694697633385658, -0.18512113392353058, -0.2421538084745407, 0.5685963034629822, -0.4673439562320709, 0.7231135368347168, -0.30915290117263794, -0.8931835889816284, 0.043540772050619125, 0.00853006262332201, -0.6076322793960571, 0.722752034664154, 0.12524455785751343, -0.6530789732933044, 0.5467015504837036, -0.5773111581802368, -0.6640076041221619, 0.3359808325767517, -0.4432388246059418, -0.4356721341609955, 0.2315463274717331, 0.2172345221042633, 0.6121193170547485, -0.11236181855201721, 0.4471195638179779, -0.23224225640296936, 0.22005595266819, 0.4789605736732483, -0.045433495193719864, 1.168585181236267, 0.16792699694633484, -0.2295292764902115, -0.0845123678445816, -0.9281324744224548, -0.07832539081573486, 0.3044036626815796, -0.33220335841178894, -0.5678539872169495, 0.17705968022346497, 0.19531333446502686, -0.4167618453502655, 0.24004247784614563, -0.8221362829208374, 0.11136582493782043, -0.3673839867115021, -0.04922666773200035, 0.6783517599105835, 0.18636064231395721, 0.5415874719619751, -0.36804768443107605, 0.7021583318710327, -0.6131952404975891, -0.21997539699077606, -0.2714315950870514, -0.6903024315834045, -0.4464666545391083, -0.7488580942153931, 0.4747810959815979, 0.6073279976844788, -0.2204425036907196, 0.9964302778244019, -0.27214348316192627, -0.3215717673301697, -0.10630878806114197, 0.18860958516597748, 0.6163298487663269, 0.3648446202278137, 0.328635036945343, 0.10493211448192596, -0.49958425760269165, -0.9154501557350159, -0.7032360434532166, -0.6473904848098755, -0.2590693533420563, -0.2181272953748703, 0.5919085144996643, 0.2584001421928406, 1.08936607837677, -0.832097589969635, -0.39110198616981506, -0.1985001266002655, 0.3940470814704895, 0.1927245557308197, 0.5077619552612305, 0.6256161332130432, -0.6512486934661865, -0.4123583734035492, 0.18819886445999146, -0.7817394137382507, -0.5570972561836243, -0.10238906741142273, 0.06314017623662949, 0.2722947597503662, 0.6844384074211121, -0.438742995262146, 0.47201892733573914, 0.0036219237372279167, -0.6113851070404053, 0.21303650736808777, 0.03872956335544586, 0.1522117704153061, -0.9249646663665771, 0.22846005856990814, 0.05745829641819, -0.44398969411849976, -0.5013241767883301, 0.034931425005197525, 0.1218542531132698, 0.17442287504673004, 0.19238175451755524, 0.1467163860797882, -0.4838731288909912, -0.11353927105665207, 0.059040557593107224, -0.22314302623271942, -0.218368262052536, 0.394513338804245, -0.06974677741527557, 0.2130512297153473, 0.21879148483276367, -0.0915275439620018, 0.23419326543807983, 0.22259709239006042, -0.4928165078163147, 0.7740943431854248, -0.32922661304473877, -0.07507004588842392, -0.374381422996521, 0.2021298110485077, -1.3812483549118042, -0.4149170517921448, -0.022135009989142418, -0.6709805130958557, 0.20472145080566406, -0.35205981135368347, -1.1902661323547363, 0.2728746831417084, -0.18733958899974823, 0.0012072095414623618, 0.301625519990921, -0.3806486427783966, 0.4771042764186859, 0.3390165865421295, -0.47316014766693115, -0.023900220170617104, -0.5520445704460144, 0.15852777659893036, -0.16110165417194366, -0.7933862805366516, 0.327223002910614, 0.28995195031166077, -0.5255470871925354, 0.2595824599266052, 0.08551269769668579, -0.32753515243530273, 0.2516198456287384, 0.1103125587105751, 0.04012192040681839, -0.4059014320373535, 0.023564161732792854, 0.2595778703689575, -0.12223371118307114, 0.26881784200668335, 0.13153624534606934, 0.14727900922298431, -0.13526436686515808, -0.12369220703840256, -0.5875666737556458, 0.27291426062583923, 0.39024028182029724, -0.3220025599002838, 0.7394310235977173, 0.34676283597946167, -0.4951223134994507, -0.35937801003456116, -0.6332404613494873, -0.04459937661886215, -0.3552963137626648, -0.036206457763910294, -0.20471800863742828, -0.7178899049758911, 0.5731746554374695, 0.16562823951244354, -0.203531414270401, 0.6189361214637756, 0.26300936937332153, 0.0761830285191536, 0.683833658695221, 0.6611292362213135, -0.06983300298452377, 0.47717589139938354, -0.13282464444637299, 0.09741103649139404, -0.209663525223732, -0.2758435904979706, -0.9988266229629517, -0.23567815124988556, -0.5998221635818481, -0.006138884462416172, 0.017300745472311974, -0.16729439795017242, 0.01098449807614088, 0.7320550084114075, -0.34144991636276245, 0.7131021618843079, 0.4659275412559509, -0.2651023268699646, 0.4694308638572693, 0.09846401959657669, -0.09619179368019104, -0.05296630039811134, -0.11495576053857803, -0.6971067190170288, 0.5943611264228821, 0.3863234519958496, 0.5778989195823669, 0.5228768587112427, 0.7897049188613892, 0.6239708662033081, 0.11672279238700867, -0.5317429900169373, 0.7054226994514465, -0.15315616130828857, -0.7283031940460205, -0.22370357811450958, -0.5329430103302002, -0.8377712368965149, 0.3956339657306671, -0.241888627409935, -0.7461925745010376, 0.4921034276485443, 0.0008860543021000922, -0.025420306250452995, 0.10738138109445572, -0.7168534398078918, 0.8417671322822571, -0.09359386563301086, -0.028370849788188934, 0.11633414030075073, -0.6741101741790771, 0.21059413254261017, 0.04650476202368736, 0.3592129349708557, 0.03858364000916481, 0.19933456182479858, 0.8671026825904846, -0.48944801092147827, 0.9726359844207764, -0.2895471453666687, -0.18155615031719208, -0.04948541149497032, 0.2511371970176697, 0.3548170328140259, 0.1171664223074913, -0.1256353259086609, -0.09782905876636505, -0.015984047204256058, -0.30121010541915894, -0.4846232831478119, 0.5423902273178101, -0.4249572455883026, -0.13395792245864868, -0.7659898400306702, -0.18322765827178955, 0.16694511473178864, 0.5059056878089905, 0.3239991366863251, 0.4439243674278259, -0.27812114357948303, 0.719188392162323, 0.1585155725479126, 0.1003863513469696, 0.2759971618652344, 0.26010453701019287, -0.07643163949251175, -0.6460674405097961, 0.48920783400535583, 0.041309405118227005, -0.12182841449975967, 0.9397358894348145, 0.4843718409538269, -0.3210555911064148, -0.4920406639575958, -0.09365767985582352, 0.15010672807693481, -0.5426284074783325, -0.15495643019676208, -0.721900463104248, 0.02712646685540676, -0.8540558815002441, -0.4428507685661316, 0.00034110393607988954, -0.48918768763542175, -0.26292139291763306, -0.15383820235729218, 0.049032729119062424, 0.7537784576416016, 0.34187421202659607, 0.5180025100708008, -0.17086641490459442, 0.2819610834121704, 0.17535777390003204, 0.1986815482378006, -0.15881314873695374, -0.24061769247055054, -0.015491794794797897, -0.4540520906448364, -0.2801375687122345, -1.0331238508224487, 0.298259437084198, 0.2403465062379837, 0.7391920685768127, 0.7449854016304016, 0.051129814237356186, 0.4545082747936249, -0.412356436252594, 0.4879548251628876, -0.06970924884080887, -1.095615267753601, 0.6894519329071045, -0.5213490128517151, -0.2017216980457306, 0.720255434513092, 0.06405077129602432, -0.1462227702140808, -0.7521359920501709, -0.7799699306488037, -0.41209009289741516, 0.8014197945594788, 0.624656617641449, -0.24712328612804413, -0.035297296941280365, 0.14310267567634583, 0.1300630122423172, 0.16490177810192108, -1.0996016263961792, 0.11395293474197388, 0.20917023718357086, -0.417453795671463, 0.022255703806877136, -0.2882583439350128, 0.029798904433846474, -0.2095794528722763, 0.3806679844856262, -0.0762905701994896, 0.07300445437431335, 0.3915066719055176, -0.3158167600631714, -0.012002399191260338, 0.4583939015865326, 0.4451526403427124, 0.8303533792495728, -0.3708820044994354, 0.3958275020122528, -0.26846763491630554, -0.08743032068014145, 0.05442379415035248, 0.2798520028591156, -0.05956778675317764, -0.010005197487771511, 1.2879760265350342, 0.5097627639770508, 0.26946407556533813, -0.1469929814338684, 0.8692201375961304, 0.07361029833555222, -0.37383168935775757, -0.6182764768600464, 0.16782230138778687, -0.16976317763328552, 0.16955815255641937, 0.3731938302516937, 0.273760050535202, 0.3079748749732971, -0.5366867780685425, 0.07981530576944351, 0.2842579782009125, 0.2589706778526306, -0.6965607404708862, 0.5218263268470764, 0.06840468943119049, -0.45762574672698975, 0.21271134912967682, -0.3262613117694855, -0.46906161308288574, 0.6741704344749451, 0.863786518573761, 1.01931893825531, -0.41864901781082153, 0.3239118158817291, 0.07028698176145554, 0.43557068705558777, -0.2111155390739441, 0.17945034801959991, -0.3599354326725006, -0.6081870794296265, -0.3340761065483093, -0.6174781322479248, -0.28694429993629456, -0.06264720112085342, -0.5700031518936157, 0.23111200332641602, -0.6150479912757874, -0.06642331182956696, 0.567363440990448, -0.1361333280801773, -0.15460357069969177, -0.24553319811820984, 0.16407176852226257, 0.48493555188179016, -1.4044504165649414, 0.5919796228408813, 0.9131736159324646, -0.2160993367433548, -0.24816909432411194, -0.027446968480944633, 0.4332056939601898, -0.32601097226142883, 0.6299247741699219, 0.27070891857147217, -0.02477852813899517, -0.0871046707034111, -0.440349817276001, -0.5294695496559143, 0.7312266826629639, 0.592004656791687, 0.11475776880979538, 0.08452142775058746, 0.05689249187707901, 0.7999781966209412, -0.39291825890541077, -0.1339070349931717, -0.060349367558956146, 0.4974302351474762, -0.08511076122522354, -0.6751052737236023, 0.12358307838439941, -0.5158753395080566, -0.01674771122634411, 0.5608121752738953, 0.02149113081395626, 1.2066380977630615, 0.21411333978176117, -0.40088579058647156, 0.201558455824852, 0.8120262026786804, 0.16009880602359772, 0.5181581377983093, 0.9126598834991455, 0.6815906167030334, 1.0780344009399414, 0.12356312572956085, 0.9893543124198914, 0.10321230441331863, 0.4006187617778778, 0.7928882241249084, -0.1760745644569397, 0.7651407718658447, 0.2532866299152374, -0.5062416195869446, 1.0265371799468994, -0.04588787257671356, -0.3588915765285492, 0.2778930962085724, 0.2687746584415436, -0.1995394229888916, -0.06493394076824188, 0.1180635318160057, -0.28574132919311523, 0.519744873046875, -0.04511741176247597, -0.7607911229133606, -0.17767548561096191, -0.15065507590770721, 0.4113561511039734, 0.7483109831809998, 0.2486467808485031, 0.7402755618095398, -0.006007996853441, -0.5856841802597046, -0.058010149747133255, 0.2119327336549759, 0.28420668840408325, -0.45592057704925537, -0.0256500206887722, -0.0556558221578598, 0.4487350881099701, -0.4676039516925812, -0.7128116488456726, 0.18119072914123535, 0.3135012090206146, -0.36806511878967285, -0.62550288438797, 0.720733642578125, -0.28649646043777466, -0.6630739569664001, 0.1633516550064087, 0.38653141260147095, 0.21952256560325623, -0.12913797795772552, 0.05288362503051758, -0.42293035984039307, -0.2157139629125595, 0.058268915861845016, -0.01704593561589718, 0.52635657787323, -0.037894006818532944, 0.17787492275238037, 1.0125588178634644, 0.1130392998456955, -0.04326356574892998, -0.11723358929157257, 0.43446630239486694, -0.7528643608093262, -0.9706052541732788, -1.2252253293991089, 0.22295792400836945, -0.3937529921531677, -0.48238158226013184, 1.0806692838668823, 0.940335750579834, 0.7868574857711792, -0.13172927498817444, 0.49098026752471924, -0.4618625342845917, 0.42203620076179504, -0.5606995820999146, 0.7837520837783813, -0.3467976152896881, -0.03724907711148262, -0.7408726811408997, -0.7620322108268738, -0.6466204524040222, 0.6648499965667725, -0.3689771890640259, -0.14110644161701202, 1.0780894756317139, 0.400900661945343, -0.15287534892559052, 0.18902112543582916, -0.030763065442442894, 0.03880152478814125, 0.607211709022522, 0.06200959533452988, 0.5618656277656555, -0.2613135576248169, 0.24678008258342743, -0.5512006878852844, -0.46996474266052246, -0.1866849660873413, -0.9524833559989929, -1.0560318231582642, -0.8676865696907043, -0.3959018588066101, -0.12728318572044373, -0.29624444246292114, 0.7345796227455139, 0.5040571689605713, -0.9126049280166626, -0.31682726740837097, -0.40769657492637634, 0.16698122024536133, -0.10570873320102692, -0.3097328245639801, 0.4976547956466675, -0.34863734245300293, -0.5995029807090759, 0.5361223816871643, 0.16085757315158844, -0.13712967932224274, 0.13047164678573608, 0.3765032887458801, -0.4975241720676422, -0.2980339527130127, 0.470537394285202, 0.21514616906642914, -0.755247950553894, -0.18572670221328735, 0.06509074568748474, -0.19433020055294037, -0.08758005499839783, 0.8846447467803955, -0.5084106922149658, 0.26787298917770386, 1.0201975107192993, 0.5213128328323364, 0.030847735702991486, 0.40306633710861206, 0.3982783257961273, -1.0415611267089844, -0.05609789118170738, 0.20740734040737152, 0.6466957330703735, 0.14411020278930664, -0.6082621812820435, 0.49703070521354675, 0.6313738822937012, -0.7000024914741516, -0.8900535106658936, -0.07731258869171143, -1.203510046005249, -0.10462696850299835, 0.8067182302474976, -0.054164059460163116, -0.3746986389160156, -0.13068260252475739, -0.1949392557144165, 0.0658622458577156, -0.4771917164325714, 0.48405128717422485, 0.7268610000610352, -0.15902017056941986, -0.0728859007358551, -0.25840023159980774, 0.27295058965682983, 0.26353490352630615, -0.9893603920936584, -0.032828912138938904, 0.5584656596183777, 0.11289108544588089, 0.7163214683532715, 0.9041413068771362, -0.3378453850746155, 0.07739845663309097, -0.09348394721746445, 0.1686464101076126, -0.054042696952819824, -0.3420794606208801, -0.1992902308702469, 0.5668392181396484, -0.10132073611021042, -0.2456686645746231 ]
http://arxiv.org/abs/2403.13250v1
http://arxiv.org/pdf/2403.13250v1
Facilitating Pornographic Text Detection for Open-Domain Dialogue Systems via Knowledge Distillation of Large Language Models
2024-03-20T02:29:09
2024-03-20T02:29:09
Huachuan Qiu, Shuai Zhang, Hongliang He, Anqi Li, Zhenzhong Lan
cs.CL
cs.CL
Pornographic content occurring in human-machine interaction dialogues can cause severe side effects for users in open-domain dialogue systems. However, research on detecting pornographic language within human-machine interaction dialogues is an important subject that is rarely studied. To advance in this direction, we introduce CensorChat, a dialogue monitoring dataset aimed at detecting whether the dialogue session contains pornographic content. To this end, we collect real-life human-machine interaction dialogues in the wild and break them down into single utterances and single-turn dialogues, with the last utterance spoken by the chatbot. We propose utilizing knowledge distillation of large language models to annotate the dataset. Specifically, first, the raw dataset is annotated by four open-source large language models, with the majority vote determining the label. Second, we use ChatGPT to update the empty label from the first step. Third, to ensure the quality of the validation and test sets, we utilize GPT-4 for label calibration. If the current label does not match the one generated by GPT-4, we employ a self-criticism strategy to verify its correctness. Finally, to facilitate the detection of pornographic text, we develop a series of text classifiers using a pseudo-labeled dataset. Detailed data analysis demonstrates that leveraging knowledge distillation techniques with large language models provides a practical and cost-efficient method for developing pornographic text detectors.
[ -0.3435579240322113, -0.8379164338111877, 0.5377580523490906, -0.17442813515663147, -0.571712076663971, -0.07625386118888855, -0.04846660792827606, -0.16956500709056854, -0.09540846943855286, 0.9587864279747009, -0.3486252427101135, -0.8042305111885071, -0.6231027841567993, -0.05271086469292641, -0.6217103600502014, 1.2271884679794312, 0.22505314648151398, -0.23418082296848297, -0.18879300355911255, 0.12489096075296402, -0.3368373513221741, -0.8022378087043762, -0.39777839183807373, 0.04792095348238945, 0.2796570062637329, 0.17561271786689758, 0.6473895311355591, 0.2974216938018799, 0.16176100075244904, 0.39576631784439087, 0.07336271554231644, 0.4769532382488251, -0.7274775505065918, 0.5340341925621033, -0.18021699786186218, -0.1830357015132904, -0.18834957480430603, -0.20293046534061432, 0.3021526336669922, 0.12360405176877975, -0.012720702216029167, -0.08733497560024261, 0.20866559445858002, 0.5309658050537109, -0.7366580963134766, 0.33292824029922485, -0.5035011768341064, 0.14321507513523102, -0.4131343364715576, -0.1470261663198471, -0.5734753012657166, -0.3286750614643097, 0.08097659051418304, -0.23681704699993134, 0.22487996518611908, 0.028299158439040184, 0.5293200016021729, 0.277190238237381, -0.4602166712284088, -0.5116118788719177, -0.9370701909065247, 0.6494153141975403, -0.8973154425621033, 0.5396286249160767, 0.9071412682533264, 0.19365032017230988, -0.14808885753154755, -0.7923668026924133, -0.7202785611152649, -0.4938953220844269, -0.24305257201194763, -0.020792875438928604, -0.35713738203048706, 0.060774244368076324, -0.021621350198984146, 0.1572568565607071, -0.3887113034725189, -0.13597692549228668, -0.42702516913414, -0.4263550341129303, 0.37250640988349915, -0.05459866672754288, 0.5264843702316284, -0.2652033567428589, -0.3922165036201477, 0.10885198414325714, -0.49864205718040466, -0.35604187846183777, 0.5761952996253967, 0.0647883340716362, 0.30780553817749023, 0.4333679974079132, 0.17064522206783295, 0.4897441565990448, -0.2009628862142563, -0.0549011155962944, 0.022324588149785995, -0.33148592710494995, -0.18809565901756287, 0.10121355205774307, 1.075487494468689, 0.41810494661331177, 0.33833277225494385, 0.13897021114826202, -0.14914445579051971, 0.027565274387598038, 0.3917824327945709, -1.0211424827575684, -0.7365748286247253, 0.026193758472800255, -0.13248009979724884, -0.41435226798057556, -0.23530809581279755, -0.8226246237754822, -0.9898297786712646, -0.2129795253276825, 0.2174614816904068, -0.3765988051891327, -0.41223016381263733, 0.2703818380832672, -0.08898007124662399, -0.25995898246765137, 0.3428029716014862, -0.8353234529495239, 0.32039114832878113, 0.5146311521530151, 0.6249383091926575, -0.0922665148973465, 0.3057440519332886, -0.6241302490234375, -0.12283091247081757, -0.20807184278964996, 0.4179264307022095, -0.5176302790641785, -0.271536648273468, 0.2574150264263153, -0.010706005617976189, 0.16724319756031036, -0.45295950770378113, 0.6963494420051575, -0.6103255152702332, 0.23909108340740204, 0.18461371958255768, -0.5908020734786987, -0.058336835354566574, 0.3545578420162201, -0.7210557460784912, 0.7763059735298157, -0.0454513244330883, -1.0408596992492676, 0.14103323221206665, -0.4507625699043274, -0.15190979838371277, 0.05237967520952225, 0.02154809609055519, -0.6016277074813843, -0.4022837281227112, 0.1954607218503952, 0.34854501485824585, -0.19267530739307404, 0.4523926377296448, -0.28976836800575256, -0.24768571555614471, 0.6236759424209595, -0.8996381163597107, 0.5812589526176453, 0.22729864716529846, -0.3370104432106018, -0.1599486768245697, -0.47108373045921326, -0.26307278871536255, -0.14152629673480988, 0.07889176905155182, -0.6172357201576233, 0.1992958039045334, 0.057248733937740326, 0.06706331670284271, 0.19696871936321259, -0.8075194954872131, -0.07287511229515076, -0.13380318880081177, 0.43994906544685364, 0.6688240170478821, 0.16612020134925842, 0.07297216355800629, -0.049199748784303665, 0.4679281711578369, 0.23157116770744324, 0.4226290285587311, -0.13005734980106354, -0.7992154955863953, -0.8423988223075867, -0.13157875835895538, 0.020645994693040848, 0.4261057674884796, -0.990575909614563, 0.39221706986427307, 0.12304273992776871, -0.45512712001800537, -0.2828485667705536, 0.1040787473320961, 0.7069675922393799, 0.4391085207462311, 0.4152425527572632, -0.11256318539381027, -0.33748966455459595, -0.801000714302063, -0.15600156784057617, -0.4269430637359619, -0.16483250260353088, 0.38820016384124756, 0.36130204796791077, -0.04116303473711014, 0.8598511219024658, -0.775278627872467, -0.6622235178947449, 0.10784396529197693, 0.14595931768417358, 0.11812794208526611, 0.29997724294662476, 0.4782218635082245, -1.179482102394104, -0.5177628397941589, 0.04642516374588013, -0.6495051383972168, -0.21596269309520721, 0.42587539553642273, -0.07407088577747345, -0.04346296563744545, 0.595077395439148, -0.18371929228305817, 0.5643221139907837, 0.5103287100791931, -0.23545204102993011, 0.6090497970581055, -0.26475784182548523, 0.5296658873558044, -0.7954581379890442, -0.10494966059923172, 0.2833515703678131, -0.3293551206588745, -0.8956730961799622, -0.3291991353034973, -0.19048605859279633, 0.0445125550031662, -0.7196038365364075, 0.31965529918670654, -0.11280536651611328, 0.4090607762336731, -0.19664165377616882, 0.4741876423358917, 0.051203273236751556, 0.6193177700042725, 0.1801404356956482, 0.6636449098587036, 0.19922950863838196, -0.5313990116119385, 0.5105808973312378, 0.4527260363101959, -0.3648742437362671, 0.3550436198711395, -0.40780285000801086, 0.5255461931228638, 0.009096176363527775, 0.31733277440071106, -1.305612564086914, -0.10510455071926117, 0.44880300760269165, -0.3971921503543854, -0.10327454656362534, -0.7089629769325256, -0.5108402371406555, -0.21713095903396606, -0.2590859532356262, 0.29877758026123047, 0.3635057508945465, -0.49388551712036133, 0.19870737195014954, 0.8616710305213928, -0.1677837371826172, -0.7283618450164795, -0.3606143891811371, 0.04835982620716095, -0.06006249412894249, -0.5534843802452087, -0.09754527360200882, 0.02101324312388897, -0.09352026134729385, -0.25728726387023926, -0.1864578127861023, -0.4583229422569275, -0.12629160284996033, 0.33776819705963135, 0.49420320987701416, 0.06709207594394684, 0.29557856917381287, 0.1529323160648346, 0.14292117953300476, 0.10570896416902542, -0.539719820022583, 0.642836332321167, 0.0011707128724083304, -0.44956716895103455, -0.2949484586715698, 0.011186942458152771, 0.36469608545303345, -0.19105665385723114, 0.42308029532432556, 0.6412733197212219, -0.21435227990150452, -0.21655212342739105, -0.35579636693000793, -0.1808663010597229, -0.5386903285980225, 0.25722765922546387, -0.08663523942232132, -1.076733946800232, 0.1507788896560669, 0.034334369003772736, 0.14682051539421082, 0.11844345927238464, 0.42006948590278625, -0.004913590382784605, 1.1387288570404053, 0.4249032735824585, 0.07615533471107483, 0.3746976852416992, -0.11386065930128098, 0.39578691124916077, -0.5831629037857056, -0.13712915778160095, -0.7311729788780212, -0.047975532710552216, -0.6882205009460449, -0.583161473274231, 0.5157636404037476, -0.17523883283138275, -0.13678385317325592, 0.5135647058486938, -0.7232717871665955, 0.6243025064468384, 0.3475760817527771, 0.3656255006790161, 0.6213754415512085, -0.2717806100845337, -0.10853066295385361, -0.14490438997745514, -0.16387279331684113, -0.731032133102417, 0.8947839736938477, 0.23355861008167267, 0.7982479333877563, 0.3347947299480438, 0.534551739692688, 0.7078278064727783, 0.4707567095756531, -0.6126664876937866, 0.5913764834403992, -0.6333861351013184, -0.8347817063331604, -0.3034973740577698, -0.28144875168800354, -0.8742038011550903, 0.2896486222743988, 0.056453887373209, -1.0218027830123901, 0.11390065401792526, 0.16706208884716034, 0.008289427496492863, 0.5317445397377014, -0.49461740255355835, 0.7426404356956482, 0.21103012561798096, -0.5807875394821167, 0.05593385919928551, -0.49410611391067505, 0.675695538520813, -0.25177881121635437, 0.4286673069000244, -0.1701202541589737, 0.1706276386976242, 0.6977162957191467, -0.5617377161979675, 1.2705316543579102, -0.3515233099460602, -0.5619014501571655, 0.6017470955848694, 0.33630046248435974, 0.3850889503955841, 0.07678434997797012, 0.08700783550739288, 0.1635448932647705, 0.16514348983764648, 0.13942454755306244, -0.276328980922699, 0.6214065551757812, -0.5672298669815063, -0.7339757084846497, -0.25737372040748596, -0.08454705029726028, -0.33873072266578674, 0.17637933790683746, 0.21273311972618103, 0.5482504367828369, -0.374701589345932, 0.3168914020061493, 0.7668147087097168, -0.39572906494140625, -0.00934972520917654, 0.322608083486557, -0.6594310402870178, -0.23229287564754486, 0.952297031879425, -0.25206801295280457, 0.31055501103401184, 0.34702521562576294, 0.35804787278175354, -0.676572322845459, -0.5319392085075378, -0.722988486289978, 0.02247980795800686, -0.916671633720398, -0.19793161749839783, -0.9536919593811035, -0.41312190890312195, -0.37178370356559753, 0.2777990996837616, -0.20527061820030212, -0.07153399288654327, -0.1650892049074173, 0.12274216115474701, 0.4298490583896637, 0.7861446738243103, 0.2760615646839142, 0.20728044211864471, -1.1873364448547363, 0.45971816778182983, 0.4709677994251251, 0.20729433000087738, -0.20418915152549744, -0.6175040602684021, -0.0811285600066185, 0.40074995160102844, -0.47984468936920166, -0.7945250272750854, 0.614978551864624, 0.1910180300474167, 0.12406755983829498, 0.4126565456390381, 0.5784833431243896, 0.12092241644859314, -0.3416636288166046, 0.9064064025878906, 0.1549367755651474, -0.8970379829406738, 0.5292375683784485, -0.4998650550842285, 0.01751602254807949, 0.36892169713974, 0.47028157114982605, -0.7423654794692993, -0.8258855938911438, -0.3571431636810303, -0.5065030455589294, 0.6522895097732544, 0.4828404486179352, 0.464866578578949, -0.2803112268447876, -0.18331576883792877, 0.19520631432533264, 0.3005533516407013, -0.5138818621635437, -0.13500821590423584, -0.3006979823112488, -0.16422341763973236, 0.09413096308708191, -0.07480064034461975, -0.023431649431586266, 0.14195823669433594, 0.6378925442695618, -0.11663129925727844, -0.031942203640937805, 0.03134291619062424, -0.34904393553733826, 0.1502886265516281, 0.40731123089790344, 0.37257876992225647, 0.37875688076019287, -0.23209135234355927, 0.19961027801036835, -0.2505365312099457, -1.0658512115478516, 0.3119809925556183, -0.14408570528030396, -0.06970237195491791, 0.22370055317878723, 0.05756175145506859, 0.7503944635391235, 0.2061719298362732, -0.6612351536750793, 0.8791953325271606, -0.2307448536157608, -0.1304711550474167, -0.3047167658805847, 0.26571035385131836, 0.08387603610754013, 0.06382974982261658, 0.1585567146539688, -0.020662160590291023, 0.5777252316474915, -0.3658844232559204, 0.48747849464416504, 0.0980655625462532, -0.7439258098602295, -0.11731179803609848, 0.6938955783843994, 0.24107575416564941, -0.3169836401939392, 0.6908534169197083, -0.12918983399868011, -0.7031039595603943, 0.6338364481925964, 0.29339709877967834, 0.8392928838729858, -0.29358479380607605, 0.556930422782898, 0.3542747497558594, -0.021586822345852852, 0.1252487599849701, -0.2644846737384796, -0.17091140151023865, -0.9969255328178406, -0.39076122641563416, -0.8262248039245605, -0.6041703224182129, 0.35896486043930054, -0.3362636864185333, 0.446772962808609, -0.34389638900756836, -0.19865405559539795, 0.5126034021377563, -0.42107051610946655, -0.4250962734222412, 0.08798941969871521, 0.17682290077209473, 0.30114462971687317, -0.795265257358551, 0.9803072810173035, 0.2321803867816925, -0.34815940260887146, -0.3789360225200653, -0.17085497081279755, 0.2622838318347931, -0.6317945718765259, 0.7289368510246277, 0.2696213126182556, -0.3763082027435303, -0.04363559931516647, -0.5758082270622253, -0.1218673512339592, 0.5026660561561584, 0.14997173845767975, -0.7103366255760193, 0.1760154515504837, 0.2459457665681839, 0.7417274117469788, -0.07695751637220383, 0.345137357711792, 0.5523048639297485, 0.45861154794692993, 0.35377952456474304, -1.0107272863388062, -0.13512329757213593, -0.34732767939567566, -0.2522491216659546, 0.6476786732673645, -0.19219686090946198, 0.7406914234161377, 0.05635720491409302, -0.34471797943115234, 0.025525039061903954, 0.3650623559951782, 0.24944651126861572, 0.48975706100463867, 0.7673046588897705, 0.06460675597190857, 0.5564956665039062, -0.035192567855119705, 0.5314160585403442, 0.01625101827085018, 0.4454095661640167, 1.2112789154052734, -0.39085426926612854, 0.5573280453681946, 0.11365122348070145, -0.3010362684726715, 0.5012903213500977, 0.3137695789337158, 0.004786698613315821, 0.37916651368141174, 0.5955712199211121, -0.706702470779419, -0.2189503163099289, -0.23901091516017914, -0.056428611278533936, 0.5465087890625, 0.6280211210250854, -0.35044771432876587, -0.3284604847431183, 0.4401886761188507, 0.24106502532958984, 0.2877206802368164, -0.0399390384554863, 1.0507467985153198, 0.02500363066792488, -0.7246012091636658, 0.7144071459770203, -0.2956836521625519, 0.5827763676643372, -0.44650864601135254, -0.2926112711429596, -0.08825521916151047, 0.31131428480148315, -0.03417932614684105, -0.9674530625343323, 0.034963224083185196, 0.3468177914619446, 0.18648366630077362, -0.10144505649805069, 1.1452372074127197, -0.7901306748390198, -0.02520616725087166, 0.17805878818035126, 0.2987004816532135, 0.5136673450469971, -0.3841779828071594, -0.33177539706230164, -0.02986469864845276, 0.27272120118141174, 0.04530266672372818, 0.2886647582054138, 0.5547197461128235, -0.21468280255794525, 0.623562753200531, 0.8373043537139893, -0.28377512097358704, -0.09039890766143799, 0.23434297740459442, 1.0964475870132446, -0.2502741813659668, -0.44635361433029175, -0.9058232307434082, 0.40744873881340027, -0.30441737174987793, -0.07362724095582962, 0.5743736624717712, 0.5067214965820312, 0.5763953328132629, -0.12018999457359314, 0.9297948479652405, -0.044021591544151306, 0.14452405273914337, -0.40503397583961487, 1.0010040998458862, -0.09652049094438553, 0.43297356367111206, -0.32447412610054016, -0.8867669105529785, -0.11771523207426071, 0.25737833976745605, -0.27046263217926025, -0.20544444024562836, 0.5929078459739685, 0.9524242877960205, -0.20848508179187775, 0.5230466723442078, 0.6538539528846741, 0.2837775945663452, 0.7244978547096252, 0.25220775604248047, 0.9770295023918152, -0.3498021364212036, 0.6805713772773743, -0.15043452382087708, -0.2737486660480499, -0.22503474354743958, -0.8998095393180847, -1.0178849697113037, -0.8793577551841736, -0.3404039740562439, -0.5493743419647217, 0.09901337325572968, 0.4774269759654999, 0.5129448771476746, -0.7775812149047852, -0.03386513888835907, 0.08248571306467056, -0.04210096225142479, 0.12290230393409729, -0.18999016284942627, 0.3817172050476074, -0.24312879145145416, -1.0322712659835815, 0.22961260378360748, 0.2739889621734619, -0.13764715194702148, -0.5951567888259888, 0.2458953559398651, -0.2940175533294678, 0.24228668212890625, 0.6334748268127441, -0.03509707376360893, -0.29314500093460083, -0.36547067761421204, -0.05783546715974808, -0.156904935836792, -0.09679403156042099, 0.8833959698677063, -0.49317288398742676, 0.734302282333374, 0.4687127470970154, 0.3713800013065338, 0.855804443359375, -0.18450696766376495, 0.42557644844055176, -0.9680267572402954, 0.0318773090839386, 0.42871445417404175, 0.17807434499263763, 0.34995102882385254, -0.4403476417064667, 0.4604480564594269, 0.12265269458293915, -0.7185875177383423, -0.653760552406311, 0.1451706737279892, -0.72825026512146, -0.2827848494052887, 1.123145580291748, -0.5853352546691895, -0.320472776889801, -0.8008094429969788, -0.6591086983680725, 0.2720170319080353, -0.43294259905815125, 0.751297652721405, 0.8588466644287109, 0.2678777277469635, -0.10970839858055115, -0.7883748412132263, 0.7330780625343323, -0.17758195102214813, -0.8447509407997131, 0.5898679494857788, 0.7498151063919067, 0.1981983184814453, 0.19178801774978638, 0.7484117150306702, -0.3018949031829834, 0.07203441858291626, -0.12345453351736069, 0.019169865176081657, 0.0653877705335617, -0.14628209173679352, 0.25846120715141296, 0.07194841653108597, -0.33592644333839417, -0.3464548587799072 ]
http://arxiv.org/abs/2403.13244v1
http://arxiv.org/pdf/2403.13244v1
Instruction Multi-Constraint Molecular Generation Using a Teacher-Student Large Language Model
2024-03-20T02:15:55
2024-03-20T02:15:55
Peng Zhou, Jianmin Wang, Chunyan Li, Zixu Wang, Yiping Liu, Siqi Sun, Jianxin Lin, Longyue Wang, Xiangxiang Zeng
cs.CL
cs.CL, cs.AI
While various models and computational tools have been proposed for structure and property analysis of molecules, generating molecules that conform to all desired structures and properties remains a challenge. Here, we introduce a multi-constraint molecular generation large language model, TSMMG, which, akin to a student, incorporates knowledge from various small models and tools, namely, the 'teachers'. To train TSMMG, we construct a large set of text-molecule pairs by extracting molecular knowledge from these 'teachers', enabling it to generate novel molecules that conform to the descriptions through various text prompts. We experimentally show that TSMMG remarkably performs in generating molecules meeting complex, natural language-described property requirements across two-, three-, and four-constraint tasks, with an average molecular validity of over 99% and success ratio of 88.08%, 65.27%, and 61.44%, respectively. The model also exhibits adaptability through zero-shot testing, creating molecules that satisfy combinations of properties that have not been encountered. It can comprehend text inputs with various language styles, extending beyond the confines of outlined prompts, as confirmed through empirical validation. Additionally, the knowledge distillation feature of TSMMG contributes to the continuous enhancement of small models, while the innovative approach to dataset construction effectively addresses the issues of data scarcity and quality, which positions TSMMG as a promising tool in the domains of drug discovery and materials science. Code is available at https://github.com/HHW-zhou/TSMMG.
[ -0.15134307742118835, -0.706214189529419, 0.6517254114151001, -0.34417468309402466, -0.06314334273338318, 0.3013816475868225, -0.44606977701187134, 0.019284503534436226, -0.20449303090572357, 0.41450467705726624, -0.4464038610458374, -0.6795071363449097, -0.6748932003974915, 0.2311362326145172, -0.0208327267318964, 1.0291192531585693, -0.13101667165756226, 0.03509386628866196, -0.18991240859031677, 0.1875111162662506, -0.11610682308673859, -0.28883448243141174, 0.02112695388495922, -0.28696855902671814, 0.3226460814476013, 0.8051776885986328, 0.40699461102485657, 0.857133150100708, 0.3885960280895233, 0.2827368676662445, -0.01839165762066841, 0.3738952577114105, -0.2907058000564575, 0.0000813955266494304, -0.1807609647512436, -0.13959626853466034, -0.36283791065216064, 0.22171321511268616, 0.5662080645561218, 0.8386164307594299, -0.21662241220474243, 0.10165850818157196, 0.12955734133720398, 0.400483638048172, -0.2809017598628998, 0.05918329209089279, -0.6419624090194702, 0.22753308713436127, -0.16582629084587097, 0.06555472314357758, -0.3696552515029907, -0.17768113315105438, 0.476572185754776, -0.5794870853424072, 0.6189999580383301, -0.13768364489078522, 0.9756919145584106, 0.060819923877716064, -0.9700581431388855, -0.5950754284858704, -0.6129631400108337, 0.7718843221664429, -0.7221156358718872, 0.30994120240211487, -0.025344010442495346, 0.5058998465538025, -0.5215209722518921, -0.6705039739608765, -0.4326728880405426, -0.7529995441436768, 0.1159970760345459, 0.061421819031238556, 0.5951970815658569, 0.35623395442962646, 0.07464559376239777, 0.4963897466659546, -0.5906708240509033, -0.35337916016578674, -0.7568095326423645, -0.15294088423252106, 0.2271302044391632, 0.031883604824543, 0.15723496675491333, -0.5154742002487183, -0.5956480503082275, -0.10176092386245728, -0.5673434138298035, -0.3930709958076477, 0.2208433896303177, 0.5824565291404724, 0.15552455186843872, 0.9088680744171143, 0.14527156949043274, 0.7370073795318604, -0.1469055712223053, -0.1883554458618164, -0.06146613508462906, -0.5337985754013062, 0.016163941472768784, 0.36396491527557373, 0.7377852201461792, 0.1686353087425232, 0.18451522290706635, 0.08227650821208954, 0.018618352711200714, -0.12236255407333374, 0.2377946972846985, -1.2419705390930176, -0.4058014154434204, 0.22807936370372772, -0.16853214800357819, -0.4759950339794159, 0.16573414206504822, -0.9667909741401672, -0.39222073554992676, -0.18182691931724548, 0.6226925849914551, -0.5170289278030396, -0.06335002928972244, 0.2492188811302185, -0.5018581748008728, -0.28702226281166077, -0.055802058428525925, -1.0064687728881836, 0.23809881508350372, 0.29680538177490234, 0.9565539956092834, -0.1685093641281128, -0.44973117113113403, -0.4907948076725006, 0.6801971793174744, 0.0332634299993515, 0.4210794270038605, -0.5872324109077454, -0.5871456861495972, -0.41357144713401794, -0.26863357424736023, 0.0760251134634018, -0.6256808638572693, -0.17799243330955505, 0.11424347013235092, 0.36144351959228516, -0.12736226618289948, -0.7415276765823364, 0.06502312421798706, 0.1925666332244873, -0.5046309232711792, 0.7386434674263, 0.49106156826019287, -0.18392731249332428, 0.3768059015274048, -0.698188841342926, -0.2778337895870209, -0.01622593216598034, -0.34021610021591187, -0.5465864539146423, 0.1546831727027893, 0.03629929944872856, 0.4368549585342407, -0.4659089744091034, 0.5511182546615601, -0.3272162675857544, 0.2361653745174408, 0.3710012137889862, 0.0015871007926762104, 0.45039212703704834, 0.08717308193445206, -0.2552957236766815, 0.014651256613433361, -1.0346356630325317, -0.06898624449968338, -0.037404466420412064, -0.6583300828933716, 0.30265533924102783, -0.21833185851573944, -0.05399433895945549, 0.3579523265361786, 0.18429751694202423, -0.5603587627410889, 0.657191812992096, -0.041588082909584045, 0.8940145373344421, 0.7729109525680542, 0.4156133830547333, 0.48669347167015076, -0.16792169213294983, 0.4982130527496338, 0.21899914741516113, -0.1931930035352707, -0.06212339177727699, -0.33063071966171265, -0.7064571380615234, -0.02307409606873989, 0.4078271687030792, 0.1833011656999588, -0.6098612546920776, 0.2702030837535858, -0.11675751954317093, -0.48562705516815186, -0.10564915835857391, 0.6142078638076782, 0.49865850806236267, 0.5764221549034119, 0.3830009698867798, -0.13480503857135773, -0.4708031415939331, -0.7348394393920898, -0.18523241579532623, 0.012760276906192303, -0.018376648426055908, 0.4367785155773163, 0.7675973176956177, -0.06909964233636856, 0.7332640290260315, -0.9371826648712158, -0.3907787799835205, -0.3333151042461395, 0.20073182880878448, -0.00714539922773838, 0.5314835906028748, 0.5028199553489685, -0.4654618203639984, -0.3051568567752838, 0.13191665709018707, -0.5696023106575012, -0.036908071488142014, -0.1711377501487732, -0.5081144571304321, -0.029921473935246468, 0.39060044288635254, -0.5910647511482239, -0.10785514116287231, 0.29438188672065735, -0.29148629307746887, 0.7138528823852539, -0.26006755232810974, -0.21587088704109192, -1.508652687072754, -0.004372237715870142, 0.20866453647613525, -0.12356539815664291, -0.857465922832489, -0.06092478334903717, -0.12018834799528122, -0.5480146408081055, -0.4813476800918579, 0.512326717376709, -0.519951581954956, 0.26566174626350403, -0.27961865067481995, 0.003808090463280678, 0.2728954255580902, 0.6429988741874695, 0.12311966717243195, 0.5599982142448425, 0.34524086117744446, -0.8545063138008118, 0.26386988162994385, 0.24449224770069122, -0.11402133852243423, 0.30274003744125366, -0.5580456256866455, 0.056724101305007935, 0.21672894060611725, 0.019382178783416748, -0.5924986004829407, -0.6572511196136475, 0.10342192649841309, -0.41835537552833557, 0.41657155752182007, -0.1963745653629303, -0.4165956377983093, -0.4801560342311859, -0.04168764874339104, 0.06465639919042587, 0.31561851501464844, -0.46170178055763245, 0.8082999587059021, 0.19958271086215973, 0.20747743546962738, -0.23648566007614136, -0.696777880191803, -0.06634209305047989, -0.21488171815872192, -0.47104397416114807, 0.27049562335014343, -0.1491655856370926, 0.09215818345546722, 0.10438887774944305, -0.39078250527381897, -0.22553712129592896, 0.017389891669154167, 0.03153456747531891, 0.23457960784435272, -0.2057134509086609, 0.2606399357318878, 0.04350084811449051, 0.04176025465130806, 0.036801330745220184, -0.8265069127082825, 0.3187580704689026, -0.09979051351547241, 0.18729279935359955, 0.04286013916134834, 0.28044119477272034, 0.6784961223602295, -0.25937265157699585, 0.7824321985244751, 0.40540990233421326, -0.23918600380420685, -0.7390708923339844, 0.10654924809932709, -0.5530907511711121, -0.5603525638580322, 0.5151051878929138, -0.48771166801452637, -0.6899636387825012, 0.173359677195549, -0.18388298153877258, -0.0749017670750618, 0.10835392773151398, 0.6388949751853943, 0.13763554394245148, 0.5785613656044006, 0.5205777883529663, 0.5419837236404419, 0.27367520332336426, -0.25222542881965637, 0.24374648928642273, -0.4764711260795593, -0.3460273742675781, -0.3542467951774597, -0.2518950402736664, -0.4382866621017456, -0.38843774795532227, 0.739181399345398, 0.17357467114925385, -0.2435527741909027, 0.5442654490470886, -0.7620982527732849, 0.48813697695732117, 0.875469446182251, 0.33871957659721375, -0.04861827194690704, 0.03595329821109772, -0.35256868600845337, 0.12008478492498398, -0.7243449091911316, -0.5720496773719788, 1.4094067811965942, -0.15878762304782867, 0.5023707151412964, 0.26799702644348145, 0.8262093663215637, -0.1157136857509613, -0.15566451847553253, -0.6915790438652039, 0.6412459015846252, -0.1305655688047409, -0.8016334176063538, -0.04904014989733696, -0.8557248115539551, -0.6463064551353455, -0.009187901392579079, -0.28210675716400146, -0.4618927240371704, -0.014405549503862858, 0.4106987714767456, -0.3030191957950592, 0.3793838322162628, -1.0659903287887573, 0.9985069632530212, -0.37323880195617676, -0.3801027238368988, 0.0050928620621562, -0.6902631521224976, 0.6152552962303162, -0.16134542226791382, -0.12569405138492584, -0.15683838725090027, 0.1056535542011261, 0.5611955523490906, -0.8788202404975891, 0.5558619499206543, -0.13543352484703064, -0.11203765869140625, 0.520077645778656, 0.3231659531593323, 0.07006880640983582, -0.10164913535118103, 0.007526396308094263, -0.2681583762168884, -0.11188826709985733, -0.5176835060119629, -0.6441020965576172, 0.6228682994842529, -0.6895610690116882, -0.6763917207717896, -0.3187406659126282, -0.7004197835922241, -0.2145766317844391, 0.4630342423915863, 0.3221982419490814, 0.39798593521118164, -0.014309216290712357, 0.017077269032597542, 0.508945107460022, -0.3345485031604767, 0.1755092740058899, 0.4322471022605896, -0.19125761091709137, -0.39670631289482117, 1.434083342552185, 0.32123175263404846, 0.7054097652435303, 0.34148457646369934, 0.603291392326355, -0.08468504995107651, -0.38775569200515747, -0.5118001103401184, 0.06374463438987732, -0.380317747592926, -0.2043425738811493, -0.4289189577102661, -0.3092316687107086, -0.4733147621154785, -0.11533887684345245, -0.46538588404655457, -0.7454025745391846, -0.344194620847702, -0.2536536157131195, 0.42113402485847473, 0.7698545455932617, -0.13347101211547852, 0.1884918212890625, -1.0872389078140259, 0.5745993852615356, 0.5433765053749084, 0.2049211710691452, -0.20807833969593048, -0.2611781656742096, -0.3868081569671631, 0.004900467116385698, -0.7208606004714966, -1.0657603740692139, 0.05305175855755806, 0.5554379224777222, 0.24105021357536316, 0.44872188568115234, -0.051076970994472504, 0.2638925015926361, -0.6145597100257874, 0.7599157094955444, 0.03160183131694794, -1.0080671310424805, 0.8521080613136292, -0.591877281665802, 0.312181293964386, 0.31892621517181396, 0.15453074872493744, -0.27507486939430237, -0.5413288474082947, -0.4851010739803314, -0.7552347779273987, 0.6723378896713257, 0.4591900408267975, -0.1820567548274994, 0.056150734424591064, 0.43614059686660767, 0.15489645302295685, 0.4428451359272003, -0.7691699862480164, -0.20496441423892975, -0.47419431805610657, -0.38624557852745056, 0.15335708856582642, -0.1420433074235916, -0.1998223513364792, -0.06608648598194122, 0.7127416133880615, -0.09416363388299942, 0.07706054300069809, -0.0802789032459259, -0.03565715625882149, 0.18436604738235474, 0.3923381268978119, 0.8090660572052002, 0.40731093287467957, -0.5426858067512512, 0.38188016414642334, -0.21681199967861176, -0.688727617263794, 0.49465757608413696, 0.23702287673950195, -0.046147335320711136, -0.043010808527469635, -0.02651122398674488, 0.564041018486023, -0.24987564980983734, -0.7107572555541992, 0.1684150993824005, 0.28736013174057007, -0.47973641753196716, 0.26782339811325073, 0.4018726944923401, 0.07417464256286621, 0.07684732973575592, 0.1193787008523941, 0.08485936373472214, -0.027941003441810608, -0.5299179553985596, 0.24770863354206085, 0.07087390869855881, -0.06432672590017319, -0.23434360325336456, 0.8278678059577942, 0.2168893665075302, -0.01572861149907112, 0.42960163950920105, -0.44458073377609253, -0.6307485699653625, 0.7938242554664612, 0.5795463919639587, 0.6520335674285889, -0.34255290031433105, 0.28110799193382263, 0.6122244596481323, 0.26942822337150574, -0.0728607028722763, 0.31478309631347656, -0.16158054769039154, -0.6308565139770508, 0.26324671506881714, -0.44043204188346863, -0.4761751890182495, -0.02499162219464779, -0.28593266010284424, 0.3396890163421631, -0.7767987251281738, 0.014834478497505188, 0.2978213131427765, 0.11204274743795395, -0.26551562547683716, 0.07079019397497177, 0.02331789769232273, 0.38458800315856934, -0.6235918998718262, 0.9407941699028015, 0.5651929378509521, -0.4686703085899353, -0.8311974406242371, -0.2101449817419052, 0.5111655592918396, -0.29289188981056213, 0.4809868037700653, 0.3725524842739105, -0.12105787545442581, -0.09555458277463913, -0.5027287602424622, -0.6652088165283203, 1.038508415222168, 0.46256721019744873, -0.5316435098648071, -0.2002534717321396, 0.4256359338760376, 0.4449058473110199, -0.25188127160072327, -0.1844908893108368, 0.6150330305099487, 0.49755361676216125, 0.23684062063694, -0.578269898891449, 0.05796414613723755, -0.2641388773918152, -0.0187647994607687, 0.3758395314216614, -0.6858822703361511, 0.807274580001831, -0.35953089594841003, -0.13906826078891754, 0.04474222660064697, 0.5551632046699524, 0.6786025166511536, 0.09405501186847687, 0.028526222333312035, 0.47909197211265564, 0.8521453738212585, -0.22595219314098358, 0.7506281733512878, -0.4064830243587494, 0.24890315532684326, 1.247867226600647, -0.2553195357322693, 0.3974197506904602, 0.5501089692115784, 0.009035219438374043, 0.3277016878128052, 0.32062312960624695, -0.5236383080482483, 0.35039544105529785, 0.5876635909080505, -0.32589632272720337, -0.17471100389957428, -0.2828042507171631, -0.16277600824832916, 0.3620830178260803, 0.5785393118858337, -0.36339032649993896, -0.20668233931064606, 0.36402207612991333, -0.1368413269519806, 0.06989510357379913, -0.11090189963579178, 0.443864107131958, 0.15525630116462708, -0.5938861966133118, 0.39164310693740845, 0.18833592534065247, 0.26456567645072937, -0.6170065999031067, -0.16953282058238983, 0.036601413041353226, 0.2865293025970459, 0.021249596029520035, -0.6990749835968018, -0.02845779061317444, -0.05833704397082329, -0.19674432277679443, -0.1790522336959839, 0.469588041305542, -0.8398652672767639, -0.60028475522995, -0.14940984547138214, 0.2678759694099426, 0.16109336912631989, 0.21970675885677338, -0.365607887506485, -0.4644733965396881, 0.18500089645385742, -0.11112242192029953, -0.01296868547797203, 0.743150532245636, 0.26080256700515747, 0.5218992829322815, 0.40755149722099304, 0.06773506104946136, 0.26196491718292236, -0.24081368744373322, 0.7946969270706177, -0.8121917247772217, -0.07591916620731354, -0.8350645303726196, 0.42456454038619995, 0.17359204590320587, -0.5019246935844421, 0.7189392447471619, 0.7630885243415833, 0.769427478313446, -0.28680726885795593, 0.7384033203125, -0.01517140120267868, 0.28710952401161194, -0.6568300724029541, 0.5441107749938965, -0.5036351680755615, 0.22279073297977448, -0.12293184548616409, -0.8804623484611511, -0.23893554508686066, 0.3771139085292816, 0.14510580897331238, 0.19337816536426544, 0.8690901398658752, 0.9889627695083618, -0.23424623906612396, -0.14586269855499268, -0.07068035751581192, 0.31704792380332947, 0.7958653569221497, 1.106449842453003, 0.6300647854804993, -0.26164939999580383, 0.7921860218048096, -0.3287477195262909, 0.17926818132400513, -0.07238787412643433, -0.6554546356201172, -1.3724033832550049, -0.5154569149017334, -0.2465393841266632, -0.7742316722869873, -0.27891936898231506, 1.1724244356155396, 0.8469122648239136, -0.7178780436515808, -0.4650362730026245, -0.5754988193511963, -0.016215967014431953, 0.21047164499759674, -0.21738098561763763, 0.41819366812705994, -0.06006636098027229, -0.7560955882072449, 0.47297292947769165, 0.23600395023822784, 0.672577977180481, -0.3249557614326477, -0.11391646414995193, -0.17252641916275024, -0.030628753826022148, 0.27763631939888, 0.3398033380508423, -0.4154544472694397, -0.06275355070829391, 0.052518222481012344, -0.26443055272102356, 0.16782307624816895, 0.9205062985420227, -0.37959322333335876, 0.6776509881019592, 0.28582119941711426, 0.5290464758872986, 0.6403265595436096, -0.1537715047597885, 1.0314934253692627, -1.158449411392212, 0.05814693123102188, 0.1321175992488861, 0.11861849576234818, 0.20140638947486877, -0.39884963631629944, 0.3021889925003052, 0.25655239820480347, -0.5441335439682007, -0.7900052070617676, 0.4579554498195648, -1.0712250471115112, -0.755160391330719, 1.1078455448150635, 0.20430856943130493, -0.37012428045272827, 0.27901893854141235, -0.24405014514923096, 0.4266603887081146, -0.6560958623886108, 0.8499721884727478, 0.9050167798995972, 0.048553626984357834, -0.1857956498861313, -0.5459557771682739, 0.6209733486175537, 0.3380785584449768, -0.9249029755592346, 0.07144160568714142, 0.6257608532905579, 0.19251729547977448, 0.09567955881357193, 0.07159499078989029, 0.07437654584646225, 0.31879112124443054, 0.07841600477695465, 0.08620282262563705, -0.4641362428665161, -0.6767972707748413, -0.023142768070101738, 0.26103848218917847, -0.0012040626024827361, -0.24787186086177826 ]
http://arxiv.org/abs/2403.13240v1
http://arxiv.org/pdf/2403.13240v1
SumTra: A Differentiable Pipeline for Few-Shot Cross-Lingual Summarization
2024-03-20T02:04:42
2024-03-20T02:04:42
Jacob Parnell, Inigo Jauregi Unanue, Massimo Piccardi
cs.CL
cs.CL
Cross-lingual summarization (XLS) generates summaries in a language different from that of the input documents (e.g., English to Spanish), allowing speakers of the target language to gain a concise view of their content. In the present day, the predominant approach to this task is to take a performing, pretrained multilingual language model (LM) and fine-tune it for XLS on the language pairs of interest. However, the scarcity of fine-tuning samples makes this approach challenging in some cases. For this reason, in this paper we propose revisiting the summarize-and-translate pipeline, where the summarization and translation tasks are performed in a sequence. This approach allows reusing the many, publicly-available resources for monolingual summarization and translation, obtaining a very competitive zero-shot performance. In addition, the proposed pipeline is completely differentiable end-to-end, allowing it to take advantage of few-shot fine-tuning, where available. Experiments over two contemporary and widely adopted XLS datasets (CrossSum and WikiLingua) have shown the remarkable zero-shot performance of the proposed approach, and also its strong few-shot performance compared to an equivalent multilingual LM baseline, that the proposed approach has been able to outperform in many languages with only 10% of the fine-tuning samples.
[ -0.3285718858242035, -0.2838028073310852, 0.22993552684783936, 0.007960961200296879, -0.6001019477844238, 0.2540445625782013, -0.2236281931400299, -0.3439341187477112, 0.6734639406204224, 0.3581663966178894, -0.6082900166511536, -0.44531890749931335, -0.860555112361908, 0.5749790668487549, -0.5130729079246521, 1.2836902141571045, -0.20545558631420135, -0.019029654562473297, 0.25538069009780884, -0.5011036396026611, -0.24363495409488678, -0.10141780972480774, -0.245040163397789, -0.29947617650032043, 0.8852627277374268, 0.8074906468391418, 0.5967555642127991, 0.3773104250431061, 0.1926833838224411, 0.20203797519207, -0.038949064910411835, 0.0819694921374321, -0.7539564967155457, -0.008492949418723583, -0.036711182445287704, -0.7221177816390991, -0.3257986903190613, -0.24197261035442352, 0.7412757873535156, 0.9220839142799377, 0.11592807620763779, 0.24530719220638275, 0.11531181633472443, 0.8806254863739014, -0.8568084836006165, -0.22446376085281372, -0.47803840041160583, 0.12368720769882202, -0.2637436091899872, -0.1012817993760109, -0.2420114427804947, -0.16234184801578522, -0.11392994225025177, -0.4962313175201416, -0.01891138032078743, -0.21529698371887207, 0.5909318923950195, 0.15045936405658722, -0.4694330394268036, 0.12767668068408966, -0.6104289293289185, 1.004933476448059, -1.0297167301177979, 0.36906731128692627, 0.11760120093822479, 0.543747067451477, 0.37286922335624695, -0.6075282692909241, -0.24875907599925995, 0.3392573297023773, -0.18586935102939606, 0.35252076387405396, -0.3314847946166992, -0.46241074800491333, -0.043500762432813644, 0.18986491858959198, -0.6852737665176392, 0.28499647974967957, -0.5256714820861816, -0.10370189696550369, 0.5022370219230652, 0.3741001486778259, 0.25506502389907837, 0.08308566361665726, -0.03448415920138359, 0.13893058896064758, -0.8480036854743958, 0.08235669881105423, 0.359512597322464, 0.8190394639968872, -0.5214477181434631, 0.6508249640464783, -0.5954558253288269, 0.5861950516700745, -0.1357160061597824, -0.1326863020658493, 0.21984153985977173, -0.4668196737766266, -0.40218278765678406, 0.11066720634698868, 0.6356183290481567, 0.32050901651382446, 0.22710227966308594, -0.20537109673023224, -0.1293824017047882, -0.04241696372628212, -0.21165545284748077, -0.8938256502151489, 0.1698647290468216, 0.42268484830856323, -0.18817290663719177, -0.03506581485271454, -0.272616446018219, -0.45164015889167786, 0.14989235997200012, -0.4093342423439026, 0.2982582747936249, -0.5102524161338806, -0.04492224007844925, -0.05245745927095413, 0.024608230218291283, 0.2557523548603058, 0.4970795214176178, -1.0039337873458862, 0.32135623693466187, 0.6702519655227661, 1.1889593601226807, -0.2513613700866699, -0.6819056868553162, -1.1948564052581787, 0.005922255571931601, -0.666300356388092, 1.0839073657989502, -0.3932687044143677, -0.23225314915180206, -0.09270671010017395, -0.05657423287630081, 0.06318680942058563, -0.2906630039215088, 0.05506311357021332, -0.31994175910949707, 0.2791532576084137, -0.4400824010372162, -0.1990542858839035, -0.05252321437001228, 0.36133256554603577, -0.4707629978656769, 0.41642388701438904, 0.3280019760131836, -0.877215564250946, 0.4219982922077179, -0.3681744933128357, -0.6684049367904663, 0.024433579295873642, -0.09626553952693939, -0.33374786376953125, -0.09300090372562408, 0.22434471547603607, 0.23422260582447052, -0.24357697367668152, -0.19320403039455414, -0.062490060925483704, -0.4647454023361206, -0.33067449927330017, 0.002194462576881051, 0.8755789399147034, 0.3656162917613983, 0.07257729023694992, 0.15970608592033386, -0.597338080406189, -0.027260327711701393, -0.3864460587501526, -0.2749338150024414, -0.42604681849479675, -0.26144278049468994, 0.10404111444950104, 0.24559378623962402, 0.03248831629753113, -0.5222613215446472, 0.11253862828016281, -0.7910699248313904, 0.10899771004915237, 0.2034243792295456, -0.16454416513442993, 0.7068490386009216, -0.3989122807979584, 0.7310436367988586, 0.18374575674533844, -0.14549531042575836, -0.6762049794197083, -0.314814954996109, -0.43660736083984375, -0.41385459899902344, 0.5509783029556274, 0.7161887884140015, -0.8322842717170715, -0.31846684217453003, -0.32019945979118347, -0.5342932939529419, -0.44648298621177673, 0.48177772760391235, 0.4850984811782837, 0.47704675793647766, 0.3573565185070038, -0.49699342250823975, -0.46362921595573425, -0.8638505339622498, -0.4035060703754425, 0.34645742177963257, -0.295590877532959, -0.08045338094234467, 0.5171540379524231, -0.06669753789901733, 0.8256848454475403, -0.4613678753376007, -0.4835415482521057, -0.7446594834327698, 0.49164435267448425, 0.49227872490882874, 0.2678823173046112, 0.9358236789703369, -0.4706112742424011, -1.0281893014907837, 0.2827806770801544, -0.6634686589241028, -0.19870148599147797, 0.07056809961795807, -0.016848187893629074, 0.23280945420265198, 0.32744553685188293, -0.11962272226810455, 0.3086243271827698, 0.5436047911643982, -0.03240704536437988, 0.48224517703056335, -0.24884793162345886, 0.16946689784526825, -1.1276531219482422, 0.2829984724521637, -0.21284691989421844, -0.4802529811859131, -0.6217009425163269, 0.08676206320524216, 0.1210031509399414, -0.031199974939227104, -0.973845362663269, 0.43732431530952454, -0.5207773447036743, -0.24004730582237244, -0.35302215814590454, 0.22760513424873352, -0.19101601839065552, 0.5145655870437622, 0.025236083194613457, 0.4820284843444824, 0.6603070497512817, -0.6401563286781311, 0.27440568804740906, 0.2916187345981598, -0.30807074904441833, 0.8247312903404236, -0.6442636847496033, -0.07470401376485825, -0.519413411617279, 0.23485298454761505, -0.941868245601654, -0.1544603407382965, 0.01736491732299328, -0.3295918107032776, 0.4036153554916382, -0.33344101905822754, -0.08235391229391098, 0.2875599265098572, -0.7107589840888977, 0.4776383936405182, 0.2920987606048584, -0.05102520063519478, 0.5180138945579529, 0.2265482246875763, -0.5914338231086731, -0.8649342656135559, -0.9320166110992432, 0.3042505085468292, -0.12104135006666183, -0.4629279375076294, 0.2969789206981659, 0.003027954837307334, -0.3915099501609802, -0.10194003582000732, -0.07188529521226883, -0.03725051134824753, -0.21058624982833862, -0.23885798454284668, 0.16051112115383148, -0.3091413676738739, -0.2927471995353699, 0.39634034037590027, -0.3782939314842224, -0.6004090309143066, -0.28677278757095337, 0.25320562720298767, 0.16256506741046906, -0.20039716362953186, 0.015481184236705303, 0.8019203543663025, 0.48755502700805664, -0.24863164126873016, 0.566254198551178, 0.562889039516449, -0.28493544459342957, -0.08774463087320328, -0.12544727325439453, -0.1137988269329071, -0.31060150265693665, 0.31779950857162476, -0.3409042954444885, -0.7058508396148682, 0.749354362487793, -0.003141578286886215, 0.624694287776947, 0.3553324043750763, 0.8518356680870056, 0.0016094843158498406, 0.6044827103614807, 0.7598485946655273, -0.16151978075504303, 0.3514242172241211, -0.5086616277694702, 0.09830693900585175, -0.7369086742401123, 0.1972590982913971, -0.4919731914997101, -0.6664877533912659, -0.4439833164215088, -0.0433921180665493, 0.5779545307159424, -0.16874296963214874, 0.1613239198923111, 0.6523541212081909, 0.2429080307483673, 0.7776275277137756, 0.39600351452827454, -0.2504587173461914, 0.579295814037323, -0.1865486204624176, -0.37967249751091003, -0.1585494577884674, -0.8413348197937012, -0.3704364001750946, 1.165858507156372, -0.19517983496189117, 0.6672082543373108, 0.3796502947807312, 0.9517493844032288, 0.0030132608953863382, 0.2863995134830475, -0.6742225885391235, 0.16367670893669128, -0.48532187938690186, -0.27903982996940613, -0.5621453523635864, -0.30138251185417175, -1.0315237045288086, 0.4220830500125885, -0.14703236520290375, -0.8518897891044617, 0.24976597726345062, 0.07242514193058014, -0.5759647488594055, 0.302201509475708, -0.6907459497451782, 0.8383131623268127, -0.11352664977312088, -0.7017308473587036, -0.1930396854877472, -0.9096407890319824, 0.46061548590660095, -0.30902019143104553, 0.46451500058174133, 0.018259843811392784, -0.05069214850664139, 0.5253098011016846, -0.5550794005393982, 0.7864900827407837, 0.21663109958171844, -0.26204997301101685, 0.12238809466362, 0.3598564565181732, 0.2928652763366699, 0.07025367766618729, 0.05411620810627937, 0.19048179686069489, 0.3411022126674652, -0.6144195199012756, -0.5381007194519043, 0.6770243644714355, -0.5632182359695435, -0.2541322112083435, -0.24945586919784546, -0.6284457445144653, -0.16586604714393616, 0.5174721479415894, 0.6876588463783264, 0.508607029914856, -0.16399627923965454, 0.10962224751710892, 0.043538160622119904, -0.20339258015155792, 0.7202134728431702, 0.7250462770462036, -0.3218455910682678, -0.2803095281124115, 0.7769115567207336, 0.3986245095729828, 0.29341989755630493, 0.8778445720672607, 0.051519688218832016, -0.1741795390844345, -0.4099125862121582, -0.5629396438598633, 0.26792651414871216, -0.44728997349739075, -0.22462624311447144, -0.40581467747688293, 0.06618854403495789, -0.5662985444068909, -0.31413164734840393, -0.6856520175933838, -0.7182179689407349, -0.03953816741704941, 0.018198873847723007, -0.01987544260919094, 0.5268669724464417, -0.46866974234580994, 0.05048761144280434, -0.9481304883956909, 0.5328243374824524, 0.39359480142593384, 0.365535169839859, -0.14895913004875183, -0.7404969930648804, -0.714939534664154, 0.1393464356660843, -0.22537384927272797, -0.8425126671791077, 0.7664439082145691, 0.25082001090049744, 0.285439133644104, 0.3571977913379669, 0.13053271174430847, 0.6891380548477173, -0.5666184425354004, 0.603553295135498, 0.2613272964954376, -0.7670947909355164, 0.445122092962265, -0.2814338803291321, 0.7472077012062073, 0.5312873721122742, 0.4454917907714844, -0.8447391986846924, -0.5007575154304504, -0.16521915793418884, -1.0013387203216553, 0.8542347550392151, 0.3577069640159607, -0.00040805109892971814, 0.43960320949554443, -0.10799388587474823, 0.5490692257881165, 0.1264641284942627, -0.3671965003013611, -0.29675453901290894, -0.3166760802268982, 0.09728818386793137, -0.3668404519557953, -0.052454061806201935, -0.04995115101337433, -0.08015287667512894, 0.5559569001197815, -0.2512240409851074, -0.3106476664543152, 0.04049035161733627, -0.326275497674942, -0.2779370844364166, 0.6213963627815247, 0.7560678124427795, 0.7402547597885132, -0.3312750458717346, 0.16417457163333893, 0.3774288594722748, -0.28978368639945984, -0.027492016553878784, -0.09898719936609268, -0.44230759143829346, 0.2809135317802429, 0.46073317527770996, 0.7092686295509338, 0.5553982853889465, -0.7134571075439453, 0.22510464489459991, 0.07381246238946915, -0.35194334387779236, 0.02625223994255066, -0.27858319878578186, 0.016973057761788368, 0.18076486885547638, 0.4128672778606415, -0.1361236274242401, 0.06617028266191483, -0.7107216119766235, 0.17049257457256317, 0.3540019392967224, -0.1114659458398819, -0.5470508933067322, 0.7323316335678101, 0.22122952342033386, -0.2857644855976105, 0.11797397583723068, -0.2852756381034851, -0.2178838700056076, 0.31982678174972534, 0.3773204982280731, 0.9803842306137085, 0.035988934338092804, 0.20388571918010712, 0.4446026384830475, 0.3209904432296753, 0.002272846642881632, 0.1366937905550003, -0.2439487725496292, -0.7486598491668701, -0.7885293960571289, -0.26268452405929565, -0.8287431001663208, -0.04996534064412117, -0.4894983470439911, 0.6772822737693787, 0.0057769049890339375, 0.21643714606761932, 0.10178790986537933, -0.08869975805282593, -0.4533213973045349, -0.017254747450351715, 0.23347190022468567, 0.7818154692649841, -0.9902625679969788, 0.66302090883255, 0.6604790091514587, -0.4027509093284607, -0.3860275149345398, -0.35933685302734375, 0.16097496449947357, -0.4815487563610077, 0.4761170744895935, -0.2940576374530792, -0.2557899057865143, -0.08963748812675476, -0.3713221549987793, -0.7408090829849243, 1.0385984182357788, 0.7140575051307678, -0.7158345580101013, -0.06938659399747849, 0.2605591416358948, 0.5413522720336914, -0.2699225842952728, 0.4444162845611572, 0.5043730139732361, 0.24383628368377686, 0.1717807799577713, -1.122769832611084, -0.35144543647766113, -0.3170929253101349, -0.3139575123786926, 0.15325531363487244, -0.7712656855583191, 0.9833990335464478, -0.47398054599761963, -0.33790984749794006, -0.2504478394985199, 0.41997230052948, 0.04068152233958244, 0.48173025250434875, 0.07300276309251785, 0.47896048426628113, 0.2096354216337204, 0.18538498878479004, 0.959019124507904, -0.44060927629470825, 0.2253265082836151, 1.3263553380966187, -0.40664124488830566, 0.9160313010215759, 0.5238674283027649, -0.25298190116882324, 0.28267526626586914, 0.23685595393180847, 0.39871102571487427, 0.5753965377807617, -0.32598480582237244, 0.0018550982931628823, -0.22034232318401337, 0.11912345886230469, -0.317960262298584, 0.5596634149551392, -0.012029235251247883, 0.041529733687639236, -0.9508005976676941, -0.17193447053432465, 0.0141220111399889, 0.12000218778848648, -0.32939013838768005, 0.6388611197471619, 0.2681024372577667, -0.7007736563682556, 0.7487125992774963, 0.24137049913406372, 0.8499159216880798, -0.8210505843162537, 0.1921633780002594, -0.7783452272415161, -0.08854808658361435, -0.40849459171295166, -0.4799814522266388, 0.6201188564300537, 0.4995049834251404, 0.18994416296482086, -0.2681540846824646, 0.3618265390396118, -0.5276678204536438, -0.6198922395706177, 0.00912567414343357, 0.9014347791671753, 0.269441157579422, 0.1608419120311737, -0.1642046868801117, -0.37799495458602905, -0.07650613784790039, -0.060849010944366455, 0.6271565556526184, 0.5769881010055542, 0.003547915956005454, 0.5329211354255676, 0.5080649852752686, 0.35446909070014954, -0.03144697844982147, 0.29352226853370667, 0.6633544564247131, -0.5398867726325989, -0.8461856245994568, -0.9594488739967346, 0.48538100719451904, 0.3531661927700043, -0.3688652813434601, 0.6913721561431885, 0.9844956994056702, 0.9462702870368958, -0.1672728806734085, 0.7217362523078918, 0.10005603730678558, 0.5813167691230774, -0.49876314401626587, 0.6183903813362122, -0.7264347672462463, 0.2460365742444992, -0.6597700715065002, -0.7505437135696411, -0.5613380670547485, 0.32695913314819336, -0.10211595892906189, -0.3185267746448517, 0.7433758974075317, 0.4441552758216858, -0.2062852829694748, -0.3356798589229584, 0.6548951864242554, 0.13956625759601593, 0.08180133998394012, 0.7998336553573608, 0.35178351402282715, -0.4605571925640106, 0.7800440788269043, -0.22898872196674347, -0.1207389086484909, -0.14535480737686157, -1.127912163734436, -0.6567793488502502, -0.4520624577999115, -0.30390170216560364, 0.23066674172878265, -0.15930244326591492, 0.8019178509712219, 0.4581163823604584, -1.0042024850845337, -0.5019901394844055, 0.19517935812473297, 0.37567296624183655, -0.43796831369400024, -0.0859757587313652, 0.039609938859939575, -0.34359124302864075, -1.1102057695388794, 0.18562443554401398, 0.7185912132263184, 0.037453215569257736, -0.2098289132118225, -0.0958593413233757, -0.11324344575405121, -0.028863515704870224, 0.8242928981781006, 0.740998387336731, -0.2488960176706314, 0.04529806226491928, 0.20675580203533173, 0.07639190554618835, 0.19848914444446564, 0.8421313166618347, -0.9612705707550049, 0.3834904134273529, 0.6613948345184326, 0.443574994802475, 0.790626049041748, -0.1278538852930069, 0.657667875289917, -0.9772012233734131, 0.4528648257255554, 0.13363711535930634, 0.5082876682281494, 0.31278908252716064, 0.057180147618055344, 0.5295031666755676, 0.03613646328449249, -0.004966709762811661, -0.8060702085494995, 0.2711712718009949, -0.9485353231430054, -0.20521719753742218, 1.014838457107544, -0.12986618280410767, -0.07930006086826324, -0.11605677008628845, -0.14267723262310028, 0.4140818119049072, -0.27443403005599976, 0.830796480178833, 0.5251264572143555, -0.11763076484203339, -0.21036167442798615, -0.11550173163414001, 0.04993366450071335, 0.39329278469085693, -0.779223620891571, -0.0021801532711833715, 0.3486243188381195, 0.4112878441810608, 0.18486034870147705, 0.819720983505249, -0.09110759943723679, 0.3273871839046478, -0.032228462398052216, -0.4148741364479065, -0.05046237260103226, -0.26383209228515625, -0.2030615657567978, 0.09899236261844635, -0.14775295555591583, -0.16582219302654266 ]
http://arxiv.org/abs/2403.13233v1
http://arxiv.org/pdf/2403.13233v1
Technical Report: Competition Solution For BetterMixture
2024-03-20T01:46:06
2024-03-20T01:46:06
Shuaijiang Zhao, Xiaoquan Fang
cs.CL
cs.CL
In the era of flourishing large-scale models, the challenge of selecting and optimizing datasets from the vast and complex sea of data, to enhance the performance of large language models within the constraints of limited computational resources, has become paramount. This paper details our solution for the BetterMixture challenge, which focuses on the fine-tuning data mixing for large language models. Our approach, which secured third place, incorporates data deduplication, low-level and high-level quality filtering, and diversity selection. The foundation of our solution is Ke-Data-Juicer, an extension of Data-Juicer, demonstrating its robust capabilities in handling and optimizing data for large language models.
[ -0.4423552453517914, -0.5270342230796814, 0.34665346145629883, 0.2029537409543991, -0.25310957431793213, 0.34395521879196167, -0.12660115957260132, -0.6023190021514893, 0.04296361282467842, 0.5655038952827454, -0.308204710483551, -0.27617397904396057, -0.6557090282440186, 0.1452869474887848, -0.4883401691913605, 0.6279230117797852, 0.10867911577224731, 0.08639031648635864, -0.53858482837677, -0.19465185701847076, -0.706592321395874, -0.4636942148208618, -0.592628538608551, -0.714066743850708, 0.28167635202407837, 0.7221664786338806, 1.0211187601089478, 0.949138343334198, 0.6326796412467957, 0.40090975165367126, -0.41742002964019775, 0.10362189263105392, -0.7136384844779968, 0.5914044976234436, -0.3289269208908081, -0.5077906250953674, -0.28824275732040405, -0.04455447196960449, 0.42738816142082214, 0.8567707538604736, -0.33281370997428894, 0.254402220249176, 0.18459366261959076, 0.8624175190925598, -0.6888375878334045, 0.042586442083120346, -0.627251386642456, 0.13873611390590668, -0.35251525044441223, 0.03163743019104004, -0.20654459297657013, -0.4154351055622101, -0.2224418818950653, -0.44778260588645935, 0.22610092163085938, 0.1894591897726059, 0.9749361872673035, 0.10588812083005905, -0.363130122423172, 0.23311039805412292, -1.105672836303711, 0.9027809500694275, -0.49463850259780884, 0.6119260787963867, 0.26630735397338867, 0.6036103367805481, -0.27981647849082947, -0.4934495985507965, -0.6910450458526611, -0.04577537626028061, 0.4479779601097107, 0.10731811821460724, -0.25924357771873474, -0.258173406124115, 0.0658695325255394, 0.5648047924041748, -0.5911287665367126, 0.2901659905910492, -0.3756294846534729, -0.18095991015434265, 0.7846918106079102, 0.5315595269203186, 0.12393254041671753, 0.2572668790817261, 0.12243973463773727, -0.4126116633415222, -0.469468355178833, -0.32492709159851074, 0.38966742157936096, 0.29315078258514404, 0.1565583497285843, 0.7182071805000305, -0.6925499439239502, 0.5899067521095276, -0.1531086266040802, -0.05766164883971214, 0.40079110860824585, -0.32661673426628113, -0.4629838466644287, -0.11763688176870346, 0.45727163553237915, 0.475925087928772, 0.054127711802721024, -0.04764625430107117, -0.35642209649086, 0.10119021683931351, -0.2485111653804779, -0.9293581247329712, -0.5827084183692932, 0.3938480019569397, -0.5714242458343506, -0.15236066281795502, -0.32452279329299927, -0.9846339821815491, -0.5142747163772583, -0.5742030143737793, 0.4158332943916321, -0.08054787665605545, -0.49620646238327026, 0.40460169315338135, -0.47635045647621155, 0.0062002697959542274, 0.13678871095180511, -0.6645447015762329, 0.32489627599716187, 0.9169729948043823, 0.8812131881713867, -0.18236368894577026, 0.17209689319133759, -0.6590896844863892, 0.09311021119356155, -0.28839075565338135, 0.48272818326950073, -0.8157132267951965, -0.41046348214149475, -0.3685593903064728, -0.24572941660881042, 0.06191754341125488, -1.1122071743011475, 0.627691924571991, -0.7489964962005615, 0.15110471844673157, -0.3540491759777069, -0.8728989362716675, 0.13722385466098785, 0.14480175077915192, -0.9869343638420105, 1.0035505294799805, 0.17847783863544464, -0.5879356861114502, 0.4157722592353821, -0.3654231131076813, -0.40714046359062195, 0.3598805367946625, 0.07415422052145004, -0.7196813225746155, 0.10663816332817078, 0.0463344007730484, 0.35862454771995544, -0.583605945110321, 0.3029617667198181, -0.6973632574081421, 0.04984842240810394, -0.1416020691394806, -0.08468897640705109, 0.8268929719924927, 0.6746901273727417, -0.034696031361818314, 0.015449617989361286, -0.8828076720237732, -0.10176511108875275, 0.5382742881774902, -0.3500281572341919, -0.4203006327152252, 0.06327037513256073, 0.2413456290960312, 0.2667369842529297, 0.0024383505806326866, -0.7190695405006409, 0.04877026379108429, -0.02709645964205265, 0.3629975914955139, 0.5352715849876404, -0.2794513404369354, 0.3683321475982666, -0.41659319400787354, 0.6709644794464111, 0.0775279626250267, 0.3249950110912323, 0.24409039318561554, -0.5164254903793335, -0.9650112986564636, -0.21416723728179932, 0.7186515927314758, 0.6848215460777283, -0.8765107989311218, 0.5034283399581909, -0.43413493037223816, -0.5710043907165527, -0.5633834600448608, 0.3217853307723999, 0.22100955247879028, 0.24861232936382294, 0.371787965297699, -0.31316453218460083, -0.5677183270454407, -1.1742340326309204, 0.15021687746047974, 0.37695688009262085, 0.07787423580884933, 0.314409464597702, 0.45453914999961853, -0.22086790204048157, 0.9282687306404114, -0.5327457785606384, -0.1705322563648224, -0.5988208055496216, -0.009113304316997528, 0.39829346537590027, 0.6615828275680542, 0.4610028564929962, -0.9993546009063721, -0.6415112614631653, 0.32203009724617004, -0.24455676972866058, -0.3110632002353668, 0.306790292263031, -0.37445443868637085, -0.19902868568897247, 0.395137220621109, -0.4123670160770416, -0.2376650869846344, 0.7012873291969299, -0.1564098596572876, 0.5745017528533936, -0.004855562001466751, 0.23671238124370575, -1.1480815410614014, 0.1391695737838745, -0.04051265865564346, -0.5337138772010803, -0.49112552404403687, 0.1525202989578247, 0.04594417288899422, -0.034058261662721634, -0.25949007272720337, 0.39247244596481323, -0.06192493438720703, 0.21484313905239105, -0.18142345547676086, -0.03522379323840141, -0.012781597673892975, -0.04313099756836891, -0.0866943970322609, 0.5904824733734131, 0.5442492961883545, -0.7192641496658325, 0.678992509841919, 0.14569146931171417, -0.6833260655403137, 0.4567265212535858, -0.6954758167266846, 0.03394131734967232, -0.3125651478767395, 0.21015571057796478, -1.0057638883590698, -0.6401270031929016, -0.3315182626247406, -0.3275972902774811, 0.1428213268518448, -0.04670215770602226, -0.7512370944023132, -0.6247460842132568, -0.20263570547103882, 0.4053628146648407, 0.7005802392959595, -0.5993314385414124, 0.22178415954113007, 0.5327369570732117, -0.31234845519065857, -0.4171130359172821, -0.5060067176818848, 0.15302661061286926, -0.33604493737220764, -0.552102267742157, 0.2881077527999878, -0.25425031781196594, -0.29402512311935425, -0.09923175722360611, -0.06473852694034576, -0.39895427227020264, 0.20411905646324158, -0.378814160823822, 0.22757068276405334, -0.12538786232471466, -0.17606917023658752, 0.14277829229831696, -0.22709429264068604, -0.0878443717956543, -0.21169760823249817, 0.5854632258415222, 0.5313945412635803, -0.06291652470827103, -0.23868103325366974, 0.42017772793769836, 0.4799290895462036, -0.14171768724918365, 0.622244119644165, 0.3735264539718628, -0.25691187381744385, -0.2682224214076996, -0.5262669920921326, 0.18304525315761566, -0.5389116406440735, 0.45077577233314514, -0.4124874174594879, -1.2104530334472656, 0.4682964086532593, 0.02651187777519226, 0.043024562299251556, 0.405544251203537, 0.4357002079486847, 0.08769089728593826, 1.4696654081344604, 0.5179548859596252, -0.6080543994903564, 0.41422975063323975, -0.0021025037858635187, 0.03516383469104767, -0.3313521444797516, -0.32778990268707275, -1.0139148235321045, -0.645514190196991, -0.3970326781272888, -0.22488021850585938, 0.22556327283382416, 0.03704366832971573, -0.29662394523620605, 0.37441372871398926, -0.42280012369155884, 1.0986837148666382, 0.6925851106643677, -0.0478251613676548, 0.3512992262840271, -0.035522688180208206, -0.42422348260879517, -0.17564064264297485, -0.7171079516410828, -0.07374835014343262, 0.6105305552482605, 0.28276076912879944, 0.7321413159370422, 0.3310161828994751, 0.6148422956466675, 0.11505930870771408, 0.03982875123620033, -0.48763787746429443, 0.48386305570602417, -0.3580453097820282, -0.6898703575134277, 0.02009269781410694, -0.9261873364448547, -1.2438466548919678, 0.4455713629722595, -0.20922096073627472, -0.6437950134277344, 0.17627358436584473, 0.1934380978345871, -0.31318747997283936, 0.2621789574623108, -0.6189444065093994, 0.8544417023658752, 0.08130078762769699, -0.5717244744300842, -0.20983882248401642, -0.6007248163223267, 0.4841507077217102, 0.042107801884412766, 0.3963127136230469, -0.15026171505451202, 0.21175111830234528, 0.5237694382667542, -0.5777583718299866, 0.32011678814888, -0.2132628858089447, -0.24565845727920532, 0.05589502304792404, 0.40573394298553467, 0.480329304933548, -0.15634702146053314, -0.13682673871517181, -0.24592934548854828, -0.20273080468177795, -0.32788002490997314, -0.2644539773464203, 0.5981717705726624, -0.5382968783378601, -0.46258559823036194, 0.05918152257800102, -0.28276777267456055, -0.2843562364578247, 0.2234065681695938, 0.33048152923583984, 0.32630807161331177, 0.1276213675737381, 0.8346399068832397, 0.8073287606239319, -0.12129919975996017, 0.41234228014945984, 0.34907302260398865, -0.18241164088249207, -0.6160510182380676, 1.1172459125518799, -0.14384257793426514, 0.43946346640586853, 0.5570735335350037, 0.3636675179004669, -0.27082788944244385, -0.7605862021446228, -0.2977102994918823, -0.2514464855194092, -0.5033263564109802, -0.4892265498638153, -0.7605693340301514, -0.1562354862689972, -0.3250344693660736, 0.18754862248897552, -0.6805593967437744, -0.5694152116775513, 0.08211109042167664, 0.1314619779586792, 0.1408551186323166, 0.4296248257160187, -0.11385121196508408, 0.36710086464881897, -1.0646182298660278, 0.37026047706604004, 0.31024792790412903, 0.6296958923339844, -0.02131953462958336, -0.4419291317462921, -0.3821335732936859, -0.04042036086320877, -0.4016808867454529, -0.35493203997612, 0.4679436981678009, 0.1289251744747162, 0.5788151621818542, 0.037028513848781586, -0.22200219333171844, 0.733400821685791, -0.2766966223716736, 0.82827228307724, 0.15042491257190704, -0.9908129572868347, 0.6389469504356384, -0.3950482904911041, 0.5158750414848328, 0.8168506026268005, 0.1249835193157196, -0.5647610425949097, -0.554618775844574, -0.3736589550971985, -1.1261948347091675, 0.5602793097496033, 0.7428446412086487, 0.03151537477970123, 0.09656554460525513, 0.11927083134651184, 0.35554778575897217, 0.176370769739151, -0.8612245917320251, -0.28908371925354004, 0.29922157526016235, -0.38199397921562195, -0.08094172179698944, 0.011747063137590885, 0.23678241670131683, -0.5597002506256104, 0.8889936804771423, 0.22815482318401337, -0.13007546961307526, -0.21585120260715485, -0.12951192259788513, -0.1295706033706665, 0.26957517862319946, 0.2626812160015106, 0.34332966804504395, -0.06899247318506241, -0.17511484026908875, -0.15415064990520477, -0.5995665788650513, 0.18980953097343445, 0.14365410804748535, -0.065310537815094, -0.02905944176018238, 0.28542110323905945, 0.6515311598777771, -0.29264745116233826, -0.7801828384399414, 0.405327171087265, -0.09633106738328934, -0.4578859806060791, 0.3960569202899933, 0.5870423913002014, 0.02213110215961933, 0.4476454257965088, 0.2853093147277832, -0.07548483461141586, 0.5825423002243042, -0.06713759899139404, 0.31304073333740234, 0.43205806612968445, 0.09105945378541946, -0.010068224743008614, 0.9929150938987732, 0.4056122303009033, -0.06683596968650818, 0.6468569040298462, -0.3430134057998657, -0.6877793669700623, 0.9818520545959473, 0.543537974357605, 0.5744438171386719, -0.5720779299736023, 0.036895766854286194, 0.5246608853340149, 0.05765605345368385, -0.5168902277946472, 0.4110313355922699, -0.0911935344338417, -0.7491790056228638, -0.5919068455696106, -0.6414671540260315, -0.4549364745616913, 0.5504277944564819, -0.47121700644493103, 0.3518522381782532, -0.1319921612739563, -0.13258719444274902, 0.30955609679222107, -0.004764683544635773, -0.7756949663162231, 0.2722953259944916, 0.4450299143791199, 0.9401875138282776, -0.7973657250404358, 0.7923451066017151, 0.5245714783668518, 0.07072273641824722, -0.5261032581329346, -0.38857388496398926, -0.010737314820289612, -0.2721013128757477, 0.5893012285232544, 0.2129802107810974, 0.011745994910597801, -0.166055828332901, -0.6232609152793884, -0.9847410917282104, 0.8075370788574219, 0.618158757686615, -0.9615931510925293, 0.4926644563674927, 0.43581873178482056, 0.23549996316432953, -0.1586066633462906, 0.04198521375656128, 0.8660423755645752, 0.4857466518878937, 0.39050817489624023, -1.1842972040176392, -0.30360785126686096, -0.5116485357284546, 0.009399999864399433, 0.4924378991127014, -0.673542857170105, 0.7371788620948792, 0.1575154960155487, -0.09332636743783951, 0.19611284136772156, 0.5247266888618469, 0.08834689110517502, 0.22293835878372192, 0.662983775138855, 0.7921128869056702, 0.6524003148078918, -0.12607045471668243, 0.9360824227333069, 0.13888905942440033, 0.6587956547737122, 1.42196524143219, -0.6956912279129028, 0.7191287875175476, 0.08829150348901749, -0.5038977861404419, 0.1474471092224121, 0.7579514980316162, -0.06673260033130646, 0.703799307346344, 0.37730127573013306, -0.18564458191394806, -0.5242928862571716, -0.06848746538162231, -0.41886991262435913, 0.5466256141662598, 0.14894874393939972, -0.20469911396503448, -0.27514806389808655, -0.042357634752988815, -0.16812938451766968, 0.001418998115696013, -0.3460296392440796, 0.869016706943512, -0.2971116900444031, -0.5134482383728027, 0.37741729617118835, 0.15659019351005554, 0.5451660752296448, -0.3307597041130066, 0.08527330309152603, -0.4695647060871124, 0.41659241914749146, 0.06289032101631165, -0.911151111125946, 0.19076019525527954, -0.22709323465824127, -0.11548363417387009, -0.037819523364305496, 0.7118504047393799, -0.7115780115127563, -0.5410245656967163, 0.317422091960907, 0.4573858082294464, -0.18010492622852325, 0.05236819013953209, -0.6762450933456421, 0.2111848145723343, -0.11947380751371384, -0.06554114073514938, 0.094418965280056, 0.395222932100296, 0.16276592016220093, 0.7668271064758301, 0.47895586490631104, 0.028707584366202354, -0.12425046414136887, 0.44962361454963684, 0.8255255222320557, -0.6051359176635742, -0.7520400285720825, -1.0320286750793457, 0.43189987540245056, -0.585136890411377, -0.07635129243135452, 0.5457625985145569, 1.199492335319519, 0.9118874073028564, 0.01901036500930786, 0.8375841975212097, -0.15557478368282318, 0.5516878962516785, -0.3528909385204315, 0.4403626620769501, -0.7017717957496643, 0.004392836708575487, -0.33273738622665405, -1.1644338369369507, -0.495922714471817, 0.3307201862335205, 0.25399503111839294, 0.19556361436843872, 0.37112122774124146, 0.661200225353241, -0.5450943112373352, 0.22905096411705017, 0.18828971683979034, 0.11682363599538803, 0.35978007316589355, 0.70781010389328, 0.7695832848548889, -0.1420963704586029, 0.4986666738986969, -0.28419527411460876, -0.24289169907569885, -0.32772600650787354, -0.8888474106788635, -0.5989739894866943, -0.45223143696784973, -0.411790668964386, -0.27779966592788696, -0.09617933630943298, 1.1785951852798462, 0.9431414008140564, -1.0035438537597656, -0.3242381811141968, -0.13956157863140106, 0.08065803349018097, -0.3692808449268341, -0.23010185360908508, -0.14054638147354126, -0.24610024690628052, -0.877276599407196, 0.23612329363822937, 0.07562221586704254, 0.053096894174814224, 0.12678997218608856, 0.09600550681352615, 0.12646940350532532, 0.10712329298257828, 0.833051323890686, -0.048977430909872055, -0.010413207113742828, 0.005378942005336285, -0.2967693507671356, 0.050333425402641296, 0.17733009159564972, 0.8967323303222656, -0.44355857372283936, 0.5854442715644836, 0.47837525606155396, 1.0694113969802856, 0.47330135107040405, -0.05837744474411011, 0.6448163986206055, -0.758908212184906, 0.016560539603233337, 0.2186807245016098, 0.5202488899230957, 0.3117436170578003, -0.44104406237602234, 0.5301077365875244, 0.22332586348056793, -0.5470182299613953, -0.6244729161262512, 0.09666672348976135, -0.8554601073265076, -0.3559582233428955, 1.2588328123092651, 0.37899523973464966, -0.11655967682600021, -0.29732123017311096, -0.08658213168382645, 0.20394960045814514, -0.5666218996047974, 0.7356955409049988, 1.1331520080566406, -0.01229793019592762, 0.04431822896003723, -0.8424711227416992, 0.34611546993255615, 0.6243062615394592, -0.9100894331932068, 0.25806596875190735, 0.7776229381561279, 0.2706418037414551, -0.116553395986557, 0.12946920096874237, -0.1887878179550171, 0.11159107089042664, -0.16329894959926605, -0.3471255600452423, 0.02176314778625965, -0.25181636214256287, -0.1588391214609146, 0.32112976908683777, -0.05216226726770401, -0.2967015206813812 ]
http://arxiv.org/abs/2403.13213v3
http://arxiv.org/pdf/2403.13213v3
From Representational Harms to Quality-of-Service Harms: A Case Study on Llama 2 Safety Safeguards
2024-03-20T00:22:38
2024-06-08T01:58:20
Khaoula Chehbouni, Megha Roshan, Emmanuel Ma, Futian Andrew Wei, Afaf Taik, Jackie CK Cheung, Golnoosh Farnadi
cs.LG
cs.LG, cs.CL, cs.CY
Recent progress in large language models (LLMs) has led to their widespread adoption in various domains. However, these advancements have also introduced additional safety risks and raised concerns regarding their detrimental impact on already marginalized populations. Despite growing mitigation efforts to develop safety safeguards, such as supervised safety-oriented fine-tuning and leveraging safe reinforcement learning from human feedback, multiple concerns regarding the safety and ingrained biases in these models remain. Furthermore, previous work has demonstrated that models optimized for safety often display exaggerated safety behaviors, such as a tendency to refrain from responding to certain requests as a precautionary measure. As such, a clear trade-off between the helpfulness and safety of these models has been documented in the literature. In this paper, we further investigate the effectiveness of safety measures by evaluating models on already mitigated biases. Using the case of Llama 2 as an example, we illustrate how LLMs' safety responses can still encode harmful assumptions. To do so, we create a set of non-toxic prompts, which we then use to evaluate Llama models. Through our new taxonomy of LLMs responses to users, we observe that the safety/helpfulness trade-offs are more pronounced for certain demographic groups which can lead to quality-of-service harms for marginalized populations.
[ -0.11676821857690811, -0.40501993894577026, 0.5926068425178528, 0.12261293083429337, -0.22487056255340576, -0.02984677441418171, 0.22382821142673492, -0.6777601838111877, -0.01638590171933174, 0.6576958298683167, -0.27311334013938904, -0.26007577776908875, -0.7094401717185974, 0.02311244048178196, -0.1364920437335968, 1.086484432220459, 0.0913114994764328, -0.13876743614673615, -0.11929640173912048, 0.10138456523418427, -0.6701509952545166, -0.9660705924034119, -0.6421679854393005, -0.019806506112217903, 0.8576570153236389, 0.31426864862442017, 0.8706052899360657, 0.6572924256324768, 0.5145443677902222, 0.16602705419063568, -0.4547209143638611, 0.055970173329114914, -0.5599918365478516, 0.2025490254163742, -0.1269712746143341, -0.5904790163040161, -0.36727187037467957, 0.018331162631511688, 0.4323368966579437, 0.6418657898902893, -0.3251715898513794, 0.05496969819068909, 0.18045468628406525, 0.327927827835083, -0.8028889298439026, 0.08259421586990356, -0.49921536445617676, 0.03027871809899807, 0.0737280622124672, -0.03598909080028534, -0.4650228023529053, -0.6327357292175293, 0.029542740434408188, -0.47975680232048035, -0.456870973110199, 0.0510520413517952, 0.7638657689094543, 0.611020565032959, -0.6452738046646118, -0.3444453477859497, -0.4560319483280182, 0.9305298328399658, -0.6951819062232971, -0.02004951797425747, 0.7316294312477112, 0.33885982632637024, -0.32534506916999817, -0.36834263801574707, -0.35908395051956177, -0.2803463041782379, -0.0938488095998764, -0.1883598119020462, -0.38857248425483704, 0.07069582492113113, 0.3454180359840393, -0.20250970125198364, -0.21233007311820984, 0.683708131313324, -0.2761416435241699, -0.36523672938346863, 0.8983897566795349, 0.3936406672000885, 0.44072672724723816, -0.3431585133075714, -0.5706181526184082, -0.46040862798690796, -1.177185297012329, 0.2906992435455322, 0.6161596179008484, 0.1595076024532318, -0.1301354467868805, 0.480130136013031, 0.04041525349020958, 0.20936496555805206, -0.20932333171367645, -0.31862160563468933, 0.06363283842802048, -0.11143092066049576, -0.08257430791854858, 0.046054720878601074, 0.7028896808624268, 0.7930855751037598, 0.5676962733268738, -0.1002504751086235, -0.25231990218162537, 0.20321781933307648, 0.30539676547050476, -0.6010878682136536, 0.11019619554281235, 0.04273686185479164, -0.6082399487495422, -0.5975519418716431, -0.15240849554538727, -0.6512419581413269, -0.6197818517684937, -0.013258236460387707, 0.20473513007164001, -0.1319163590669632, -0.38853755593299866, 0.2396312952041626, 0.23101802170276642, -0.009881148114800453, 0.12083877623081207, -0.8631630539894104, 0.07700768858194351, 0.6581100225448608, 0.5686910152435303, -0.23451364040374756, 0.17737330496311188, -0.5005329251289368, 0.32385602593421936, -0.5089666247367859, 0.7606635689735413, -0.4856089651584625, -0.8096128702163696, 0.21999691426753998, -0.018206574022769928, 0.24598486721515656, -0.7445302605628967, 0.8440226912498474, -0.4864519238471985, -0.24111180007457733, -0.792021632194519, -0.13672298192977905, -0.29952409863471985, 0.11833474040031433, -0.526189386844635, 0.6343622207641602, -0.13613107800483704, -0.8019805550575256, 0.3860532343387604, -0.30034393072128296, -0.5988539457321167, -0.3326442241668701, -0.14047871530056, -0.5384126305580139, 0.1741335242986679, 0.061219606548547745, 0.45560234785079956, -0.1620239019393921, 0.314304381608963, -0.5855185389518738, -0.3056904077529907, 0.4425317049026489, -0.48450249433517456, 0.6931312084197998, 0.26144033670425415, -0.10386716574430466, 0.22211909294128418, -0.46356356143951416, -0.14382044970989227, 0.17350277304649353, -0.5737923979759216, -0.6185691952705383, 0.13837720453739166, -0.10843278467655182, 0.5016464591026306, 0.09834527969360352, -0.17902560532093048, -0.28063201904296875, -0.2227277010679245, 0.37280380725860596, 1.0462759733200073, 0.2101353406906128, 0.37230896949768066, -0.5968383550643921, 0.5571311712265015, 0.001961788162589073, 0.7172778844833374, 0.012388930656015873, -0.39053699374198914, -0.5752949714660645, -0.20630349218845367, -0.06464830785989761, 0.37973806262016296, -0.7490414381027222, 0.4124775528907776, -0.033286675810813904, -0.26969680190086365, -0.08784564584493637, -0.1488049030303955, 0.6209085583686829, 0.345857173204422, 0.11447997391223907, -0.30981945991516113, -0.32646870613098145, -1.0559556484222412, -0.12905088067054749, -0.7185187935829163, 0.01217299047857523, 0.24421484768390656, 0.16615433990955353, -0.2796938419342041, 0.7107003331184387, -0.19757886230945587, -0.06929934024810791, 0.15385979413986206, -0.26920685172080994, -0.18792875111103058, 0.42565712332725525, 0.7675435543060303, -0.40858978033065796, -0.10052059590816498, -0.4093574583530426, -0.8891702890396118, -0.2402006834745407, 0.00839968491345644, -0.21640872955322266, 0.12710174918174744, 0.3395664691925049, -0.5647422075271606, 0.28475528955459595, 0.3343793749809265, -0.19963368773460388, 0.589356005191803, 0.06795337796211243, -0.0526694729924202, -0.8617889881134033, -0.14290869235992432, -0.05135985091328621, 0.07489694654941559, -0.675666332244873, 0.027835071086883545, -0.011192582547664642, 0.17813937366008759, -0.6593198180198669, 0.3152410686016083, -0.2546160817146301, -0.10096187889575958, -0.3154585361480713, -0.24978013336658478, -0.10307886451482773, 0.03866032510995865, -0.06638539582490921, 0.8866186141967773, 0.3910115957260132, -0.7374306917190552, -0.2424812763929367, 0.2711377441883087, -0.2480563521385193, 0.42404988408088684, -0.7776229381561279, 0.16789613664150238, -0.0924554169178009, 0.15495340526103973, -0.8200867176055908, -0.3119993507862091, 0.4329778552055359, -0.07014644891023636, 0.11106158047914505, -0.11835023015737534, -0.7237036824226379, -0.2509477436542511, -0.5375073552131653, 0.36216363310813904, 0.6494916081428528, -0.4237113893032074, 0.07252123206853867, 0.9072599411010742, -0.425965815782547, -0.7310742735862732, -0.6799816489219666, 0.27148422598838806, -0.6678986549377441, -0.5064858794212341, -0.10952065140008926, 0.0909711942076683, -0.4005744457244873, -0.3573511242866516, -0.19195988774299622, 0.07537176460027695, 0.6180307865142822, 0.44990524649620056, 0.395723432302475, 0.1957893818616867, 0.2653190493583679, 0.4436853528022766, -0.3363274335861206, 0.42099639773368835, 0.2807159125804901, 0.332719087600708, 0.11253861337900162, -0.5487499237060547, -0.33227550983428955, 0.42490461468696594, 0.43712615966796875, -0.10628166794776917, 0.6792269945144653, 0.010631225071847439, -0.43812063336372375, 0.22322435677051544, -0.5843906998634338, -0.379799485206604, -0.5441941022872925, 0.41656795144081116, 0.12341587990522385, -1.0357015132904053, 0.3364144563674927, -0.12755456566810608, 0.23512201011180878, 0.09502024203538895, 0.36132803559303284, -0.28996533155441284, 1.0661735534667969, 0.47077664732933044, -0.08852944523096085, 0.506701648235321, 0.10940857976675034, 0.4116987884044647, -0.6673967838287354, -0.48780515789985657, -0.5574451684951782, 0.1200333759188652, -0.6222182512283325, -0.4025181829929352, 0.7017300724983215, 0.1984919011592865, -0.5326995849609375, 0.2018289566040039, -0.3672100901603699, 0.34952017664909363, 0.19870509207248688, 0.08676402270793915, 0.3610631823539734, 0.28243809938430786, 0.05397677421569824, -0.08010244369506836, -0.5838496685028076, -1.165421724319458, 0.9710785746574402, 0.8595603704452515, 1.2939491271972656, 0.387315958738327, 0.6115719079971313, 0.2902076840400696, 0.4431895911693573, -0.5941616296768188, 0.5249749422073364, 0.04744221642613411, -0.5598598718643188, -0.20517705380916595, -0.37164533138275146, -0.8737205266952515, 0.19278304278850555, -0.24639186263084412, -0.7082438468933105, 0.30454951524734497, 0.27664604783058167, -0.45719173550605774, 0.12888436019420624, -0.6412108540534973, 0.2943741977214813, -0.592073917388916, -0.43615472316741943, -0.2340962439775467, -0.7118664383888245, 0.46372032165527344, -0.14923132956027985, 0.3785931169986725, -0.446254700422287, -0.13268078863620758, 0.7751238346099854, -0.06501275300979614, 1.210034728050232, -0.14301830530166626, -0.4789913594722748, 0.24237680435180664, 0.2431277334690094, 0.5682723522186279, 0.06733356416225433, -0.24169176816940308, 0.28509771823883057, 0.10098809748888016, -0.36496490240097046, -0.306903600692749, 0.6921624541282654, -0.7439971566200256, -0.876832902431488, -0.302044540643692, -0.5516449213027954, -0.355942040681839, 0.014121857471764088, -0.08923681080341339, -0.0867047905921936, -0.00675242068246007, -0.15850931406021118, 0.8844516277313232, -0.7072024941444397, 0.5612329244613647, 0.5364421010017395, -0.056553635746240616, -0.20694294571876526, 0.5659648180007935, 0.037955909967422485, 0.4783024191856384, -0.09531354159116745, 0.01936439611017704, -0.6023699641227722, -0.5676026344299316, -0.30269694328308105, 0.17130979895591736, -0.9466692209243774, -0.3952358663082123, -0.6196210980415344, 0.03534059599041939, -0.12967273592948914, 0.038590919226408005, -0.11623988300561905, -0.14256231486797333, -0.45676976442337036, -0.4488089084625244, 0.11557964235544205, 0.9619327187538147, -0.22395563125610352, 0.2285570204257965, -0.6250646114349365, -0.1005580723285675, 0.43731191754341125, 0.24384358525276184, 0.15522445738315582, -0.3677864968776703, 0.07086572051048279, -0.10691196471452713, -0.38828834891319275, -0.8320338129997253, 0.08383525907993317, -0.38965460658073425, 0.8744882941246033, 0.5943105220794678, 0.4709774851799011, 0.1990388035774231, -0.4438507854938507, 0.6925310492515564, 0.5766723155975342, -0.5651330351829529, 0.3664405345916748, -0.2947935461997986, -0.39003702998161316, 0.3245602548122406, 0.4794277846813202, -0.4859478771686554, 0.01408989168703556, -0.13407716155052185, -0.8331112265586853, 0.4519701600074768, 0.08846651017665863, 0.6128979325294495, -0.45985931158065796, 0.21384507417678833, 0.17598196864128113, 0.13480480015277863, -0.8159709572792053, -0.003375174943357706, -0.15123684704303741, 0.004544446244835854, 0.20253407955169678, -0.8645602464675903, -0.3496241271495819, 0.2706982493400574, 0.5544801950454712, -0.07181409746408463, 0.11494436860084534, -0.18951186537742615, -0.11471068859100342, -0.13815538585186005, 0.523421585559845, 0.5968306660652161, 0.22655533254146576, 0.1901339739561081, 0.3570702075958252, 0.33567649126052856, -0.20195728540420532, 0.4769498109817505, -0.12644356489181519, -0.07895240932703018, -0.4816346764564514, 0.3839775025844574, 0.6996530890464783, 0.2741405665874481, -0.7914143204689026, 0.43845972418785095, 0.10776876658201218, 0.23487704992294312, 0.009243365377187729, 0.2716163396835327, 0.057857636362314224, 0.14377783238887787, 0.2842523455619812, -0.011232271790504456, 0.1941407024860382, -0.4184620976448059, 0.0845610499382019, 0.6218315958976746, -0.3266783654689789, -0.15791776776313782, 0.6367745399475098, 0.3562043011188507, -0.3455897867679596, 0.06070641428232193, 0.09833629429340363, -0.3635776937007904, 0.5871163010597229, 0.3293188810348511, 0.5823471546173096, -0.2721259295940399, 0.2735394835472107, 0.2804372012615204, 0.6283234357833862, -0.15247495472431183, 0.03442806750535965, 0.22614219784736633, -0.5531874895095825, -0.2834008038043976, -0.5657309889793396, -0.3165486454963684, 0.037528593093156815, -0.7492737174034119, -0.10893955081701279, -0.7680068016052246, -0.5898308753967285, -0.40226325392723083, -0.42412588000297546, -0.32871854305267334, -0.07308842241764069, 0.2635098695755005, 0.6806804537773132, -1.0549741983413696, 0.3756803870201111, 0.4973534643650055, -0.5985811948776245, -0.8168630003929138, 0.31497514247894287, -0.02993331477046013, -0.7888621091842651, 0.6704375743865967, 0.19930480420589447, -0.1894703358411789, -0.4533681571483612, -0.45536553859710693, -0.990020751953125, 0.8294247388839722, 0.8739644289016724, -0.854106068611145, -0.024960797280073166, 0.46242815256118774, 0.5479047894477844, 0.07572707533836365, 0.031616099178791046, 0.6759354472160339, 0.26334741711616516, -0.20452004671096802, -0.9850201606750488, 0.4303601086139679, 0.07942645251750946, 0.49270930886268616, -0.1892751306295395, -0.6691848635673523, 0.6977699995040894, -0.4109194576740265, -0.3965457081794739, 0.12191569060087204, 0.2995840609073639, 0.5405554175376892, 0.18937808275222778, 0.5995764136314392, 0.3758294880390167, 0.6897022724151611, -0.04331226274371147, 1.3916611671447754, 0.22691255807876587, 0.14216357469558716, 0.7564125061035156, -0.39470070600509644, 0.6577900052070618, 0.6422362923622131, -0.3620050549507141, 0.2123183161020279, 0.883215069770813, 0.37308332324028015, 0.9428355693817139, 0.4049720764160156, -0.33261406421661377, -0.39706605672836304, -0.6121672987937927, -0.4479201138019562, 0.17817065119743347, 0.2260010689496994, -0.4065069854259491, -0.1689683049917221, -0.05453277379274368, 0.37558192014694214, 0.06878800690174103, -0.04012997820973396, 0.8261423707008362, 0.33476051688194275, -0.5407025218009949, 0.5451182126998901, -0.08696604520082474, 0.7892571687698364, -0.21309950947761536, -0.13779917359352112, -0.29215970635414124, -0.15480937063694, -0.16445229947566986, -1.0274945497512817, 0.3188304305076599, 0.04024702310562134, -0.23689347505569458, 0.011184345930814743, 0.6384503245353699, -0.0013393748085945845, -0.35797053575515747, 0.6062146425247192, 0.3146415650844574, 0.08975063264369965, 0.16704590618610382, -0.48451775312423706, 0.38854482769966125, -0.218557670712471, 0.007143823895603418, 0.6012652516365051, -0.025015950202941895, -0.5863187313079834, 0.8053610324859619, 0.7060402631759644, -0.13628292083740234, 0.18112653493881226, 0.2123265415430069, 1.0440618991851807, -0.11092733591794968, -0.5627869367599487, -0.6152544021606445, 0.5206902027130127, -0.08879142254590988, -0.07658849656581879, 0.37937384843826294, -0.0019818253349512815, 0.6853034496307373, -0.022900156676769257, 0.9361655116081238, 0.30497732758522034, 0.24236781895160675, -0.6057406067848206, 0.9276267290115356, -0.35294896364212036, 0.6777877807617188, -0.3191574811935425, -0.7497713565826416, -0.18343950808048248, 0.7688591480255127, -0.5474084615707397, 0.20225094258785248, 0.2571744918823242, 0.9044628739356995, 0.24738524854183197, -0.054992932826280594, 0.43323367834091187, -0.03335046395659447, 0.620772123336792, 0.5455487370491028, 1.3837864398956299, -0.1725088506937027, 0.5891034603118896, -0.09181036800146103, -0.18973051011562347, -0.26182255148887634, -0.9517375826835632, -0.9844499826431274, -0.2712324559688568, -0.16172266006469727, -0.38701745867729187, 0.34554335474967957, 0.7237855195999146, 0.7452290654182434, -0.8347429037094116, 0.09993014484643936, 0.2525203824043274, 0.1898193657398224, 0.2709774971008301, -0.16353371739387512, 0.22201195359230042, -0.13655853271484375, -0.2359977513551712, 0.1561049371957779, 0.2087835669517517, 0.32280272245407104, -0.26312166452407837, -0.32947540283203125, 0.28560370206832886, 0.07225026190280914, 0.7499603033065796, 0.2012992799282074, -0.9189236164093018, -0.6645920872688293, -0.19073383510112762, -0.3081727623939514, -0.19952794909477234, 0.35895928740501404, -0.3001099228858948, 0.022463330999016762, 0.07279841601848602, 0.695252001285553, -0.03162691369652748, -0.2567760944366455, 0.4204053580760956, -0.49864059686660767, 0.02392251044511795, 0.2066286951303482, 0.4890095293521881, 0.6523206233978271, -0.7563040256500244, 0.4994453489780426, -0.11358103901147842, -0.3781105577945709, -1.022383451461792, 0.4232361614704132, -0.6215212345123291, -0.07223418354988098, 1.5403459072113037, -0.3008231222629547, 0.16410037875175476, -0.14676442742347717, -0.4754822552204132, 0.2835324704647064, -0.4840797483921051, 1.2995902299880981, 0.36751458048820496, 0.00041088962461799383, -0.2002890706062317, -0.4624404311180115, 0.46467113494873047, 0.5549494624137878, -1.1435085535049438, 0.07528198510408401, 0.6595665812492371, 0.6628665328025818, 0.018431369215250015, 0.29071635007858276, -0.26302599906921387, 0.3736445903778076, -0.2597867250442505, -0.0879441350698471, -0.16843564808368683, -0.295389324426651, -0.41045641899108887, 0.013872271403670311, 0.42625460028648376, -0.21367883682250977 ]
http://arxiv.org/abs/2404.12394v1
http://arxiv.org/pdf/2404.12394v1
A Big Data Analytics System for Predicting Suicidal Ideation in Real-Time Based on Social Media Streaming Data
2024-03-19T21:46:52
2024-03-19T21:46:52
Mohamed A. Allayla, Serkan Ayvaz
cs.LG
cs.LG, cs.CL, cs.SI
Online social media platforms have recently become integral to our society and daily routines. Every day, users worldwide spend a couple of hours on such platforms, expressing their sentiments and emotional state and contacting each other. Analyzing such huge amounts of data from these platforms can provide a clear insight into public sentiments and help detect their mental status. The early identification of these health condition risks may assist in preventing or reducing the number of suicide ideation and potentially saving people's lives. The traditional techniques have become ineffective in processing such streams and large-scale datasets. Therefore, the paper proposed a new methodology based on a big data architecture to predict suicidal ideation from social media content. The proposed approach provides a practical analysis of social media data in two phases: batch processing and real-time streaming prediction. The batch dataset was collected from the Reddit forum and used for model building and training, while streaming big data was extracted using Twitter streaming API and used for real-time prediction. After the raw data was preprocessed, the extracted features were fed to multiple Apache Spark ML classifiers: NB, LR, LinearSVC, DT, RF, and MLP. We conducted various experiments using various feature-extraction techniques with different testing scenarios. The experimental results of the batch processing phase showed that the features extracted of (Unigram + Bigram) + CV-IDF with MLP classifier provided high performance for classifying suicidal ideation, with an accuracy of 93.47%, and then applied for real-time streaming prediction phase.
[ -0.3800552487373352, -1.3991460800170898, 0.6811875104904175, 0.6781281232833862, -0.4725850522518158, 0.16561400890350342, -0.2843453288078308, -0.4624998867511749, 0.7006763815879822, 0.09131227433681488, -0.7381552457809448, -0.6618026494979858, -0.6714618802070618, -0.1975504606962204, -0.26399168372154236, 0.4758831262588501, -0.17295630276203156, 0.1653352528810501, 0.3202000558376312, 0.25092795491218567, -0.5392055511474609, -0.2943134903907776, -1.2646528482437134, 0.40699371695518494, 0.8479661345481873, 0.15525729954242706, 0.3303174376487732, 0.23485901951789856, 0.6429646015167236, 0.23286984860897064, -0.09966953843832016, -0.14556686580181122, -0.5282614231109619, 0.2674488425254822, 0.15629003942012787, -0.2141793817281723, -0.39176151156425476, -0.1598414033651352, 0.4128262996673584, -0.060780398547649384, -0.1840854436159134, 0.6457273364067078, 0.00003939725138479844, 0.6583966016769409, -0.7285298705101013, 0.0877915769815445, -0.36740052700042725, 0.5003126263618469, -0.18815773725509644, -0.18361815810203552, -0.06651761382818222, -0.65175861120224, -0.1371176689863205, -0.32610443234443665, 0.012484805658459663, -0.3348914682865143, 0.41888391971588135, 0.4742225408554077, 0.021227391436696053, -0.03675258904695511, -1.0451298952102661, 0.6228703260421753, -0.6537081003189087, 0.16703738272190094, 0.1509895771741867, 0.8740997314453125, -0.06888068467378616, -0.1678304523229599, -0.7779855132102966, 0.42502638697624207, 0.17755615711212158, 0.11488383263349533, -0.030980166047811508, -0.06351065635681152, 0.31749391555786133, -0.17275965213775635, -0.654403805732727, -0.04447479918599129, -0.3566839098930359, 0.02380479872226715, 0.9873722791671753, 0.20285849273204803, 0.24328838288784027, -0.40426725149154663, -0.2206944227218628, 0.2674996852874756, -0.08879926055669785, 0.020574206486344337, 0.16854707896709442, 0.17638738453388214, -0.15771476924419403, 0.38773053884506226, -0.23391073942184448, 0.2742479741573334, 0.061209362000226974, -0.2709513306617737, 0.3080613315105438, 0.16254381835460663, -0.2579651474952698, 0.3754773736000061, 1.0303012132644653, 0.520298421382904, 0.3795529007911682, 0.2998327314853668, 0.2866850197315216, 0.1694696992635727, 0.3594360947608948, -0.9524943232536316, -0.15370719134807587, 0.8314198851585388, -0.7904619574546814, -0.40360596776008606, -0.22082290053367615, -0.9429352283477783, -0.5950900316238403, -0.26854008436203003, 0.3735004663467407, -0.567079484462738, -0.5580155849456787, -0.09217121452093124, -0.010013793595135212, -0.2176411747932434, 0.3325206935405731, -0.2387801557779312, -0.31484121084213257, 0.8151276111602783, 1.3256646394729614, -0.077037513256073, -0.025188343599438667, -0.2892993092536926, 0.1216081976890564, -0.19109055399894714, 0.893268883228302, -0.3085941970348358, 0.1874960958957672, 0.26551634073257446, 0.05876193568110466, 0.14291855692863464, -0.06665070354938507, 0.7776525616645813, -0.3914607763290405, -0.21503397822380066, -0.19159133732318878, -0.47066783905029297, -0.22954508662223816, 0.23468312621116638, -0.7553205490112305, 0.544418215751648, -0.41663220524787903, -1.0006139278411865, 0.6035743951797485, -0.8714739680290222, -0.35074371099472046, 0.5349198579788208, 0.1405024528503418, -0.6990217566490173, -0.18434643745422363, 0.2536337077617645, 1.213414192199707, -0.01606200449168682, 0.5899813771247864, -0.9035783410072327, -0.4547642171382904, 0.25329917669296265, -0.471190869808197, 0.6672128438949585, 0.44734540581703186, -0.16111133992671967, -0.019620036706328392, -0.4898073077201843, 0.15220001339912415, 0.1123039498925209, -0.05623761937022209, -0.30211135745048523, 0.24501246213912964, 0.3831356465816498, 0.4707956314086914, -0.07992945611476898, -0.9829301238059998, -0.050999097526073456, 0.05887623503804207, 0.45169031620025635, 0.48562607169151306, 0.768649697303772, -0.1812867671251297, -0.08117984235286713, 0.4650997519493103, -0.0410742424428463, 0.5192837715148926, 0.32832616567611694, -0.42771393060684204, 0.01937914453446865, -0.6064025163650513, -0.01858535222709179, 0.6984450221061707, -0.40961915254592896, 0.7343896627426147, -0.1598832905292511, -0.8504188060760498, -0.4691363275051117, -0.06132372096180916, 0.14476294815540314, 0.027608253061771393, 0.36749985814094543, 0.2939929664134979, -0.8018507361412048, -0.8050786256790161, -0.21319925785064697, 0.07181712985038757, -0.2133917510509491, -0.23726463317871094, 0.15332181751728058, -0.36172354221343994, 0.6969119310379028, -0.9473585486412048, -0.5029174089431763, -0.31790465116500854, 0.35099220275878906, 0.23177143931388855, 0.08417048305273056, 0.2710953652858734, -1.0413874387741089, -0.749039351940155, -0.10372992604970932, -1.1337246894836426, 0.20175765454769135, -0.19784033298492432, -0.19950301945209503, -0.16166932880878448, 0.3848792016506195, -0.5182085633277893, 0.588301956653595, 0.21360808610916138, 0.047351546585559845, 0.47601446509361267, 0.3303527534008026, 0.16289874911308289, -1.3182628154754639, 0.030090143904089928, 0.3517472743988037, 0.3050661087036133, -0.5979872941970825, -0.6394665837287903, 0.011138739995658398, -0.2094552367925644, -0.5179800987243652, 0.4124666452407837, 0.12289480119943619, 0.3258548378944397, -0.1949893832206726, -0.21295516192913055, -0.45630162954330444, 0.46349290013313293, -0.054516859352588654, 0.2569919228553772, 0.5074924230575562, -0.219173401594162, 0.46714696288108826, 0.2559637725353241, -0.48429742455482483, 0.6302919983863831, -0.4288918077945709, -0.23445731401443481, -0.6603401899337769, 0.6513701677322388, -1.0647547245025635, -0.5125725269317627, 0.19687727093696594, -0.5265244245529175, -0.2001345008611679, -0.1727813482284546, -0.25119686126708984, -0.6056033372879028, -0.42473500967025757, 0.11405549943447113, 0.19372892379760742, 0.04411930963397026, 0.46022528409957886, 0.6215686798095703, -0.7321728467941284, -0.4827744662761688, -0.40354543924331665, 0.12000928819179535, -0.5719555616378784, -0.5365644097328186, 0.052866414189338684, 0.03301696851849556, -0.1901008039712906, -0.011925779283046722, 0.3173399567604065, 0.033537134528160095, -0.12737300992012024, 0.7760401964187622, 0.33469411730766296, 0.19011583924293518, 0.460228830575943, 0.36241546273231506, -0.13278260827064514, 0.14869746565818787, 0.02439909800887108, 0.6094841957092285, 0.18416617810726166, -0.17802296578884125, -0.950497567653656, 0.46826139092445374, 0.521164059638977, 0.0879763588309288, 0.9559858441352844, 0.9132909178733826, -0.59852135181427, -0.3313145637512207, -0.6694620847702026, 0.25577375292778015, -0.42164358496665955, 0.2615486681461334, 0.07937466353178024, -0.4467122554779053, 0.5385907292366028, -0.08166550099849701, 0.20581799745559692, 0.17634692788124084, 0.7296048998832703, -0.4510589838027954, 0.9804757237434387, 0.3532514274120331, 0.006837824825197458, 0.6650196313858032, -0.48061344027519226, 0.5995936989784241, -0.5427015423774719, -0.10989377647638321, 0.04170399159193039, -0.718352198600769, -0.24759452044963837, -0.1815703809261322, 0.5283963084220886, 0.09922003746032715, -0.35453659296035767, 0.369676411151886, -0.4404687285423279, 0.40331199765205383, -0.17764781415462494, 0.1743963360786438, 0.06176316738128662, 0.03829918056726456, 0.3207802176475525, -0.19562609493732452, -0.2108519822359085, -0.46691086888313293, 1.0896211862564087, 0.48352208733558655, 0.3815697133541107, -0.08673185110092163, 0.5809094309806824, 0.8680644035339355, 0.6345366835594177, -0.868072509765625, 0.43752408027648926, 0.0054756999015808105, -0.5441945791244507, -0.5720372796058655, -0.25747349858283997, -0.6314032673835754, -0.13600923120975494, -0.3828031122684479, -0.47392335534095764, 0.034697502851486206, -0.10899528115987778, -0.8233510255813599, 0.30198606848716736, -0.7520655393600464, 0.5826346278190613, -0.34131526947021484, -0.2677918076515198, -0.3371519446372986, -0.4173557162284851, 0.4016331136226654, -0.6337643265724182, 0.45143163204193115, -0.34537097811698914, 0.29565444588661194, 1.0729840993881226, -0.18228022754192352, 0.5857563614845276, -0.4561198055744171, 0.06058329716324806, 0.43245044350624084, -0.06888923048973083, 0.33326250314712524, 0.19461777806282043, -0.2006276249885559, 0.19416020810604095, -0.022082127630710602, -0.41773664951324463, -0.5656083226203918, 0.7829715013504028, -0.5849104523658752, 0.09083374589681625, 0.0020364862866699696, -0.16798928380012512, -0.27499231696128845, 0.06116801127791405, 0.40402039885520935, 0.15734605491161346, -0.3784574866294861, -0.02272000163793564, 0.4093991816043854, -0.003619551658630371, 0.7523350715637207, -0.01026209071278572, -0.09988445043563843, -0.49304699897766113, 1.052092432975769, 0.5543301701545715, -0.030970999971032143, 0.2657414972782135, 0.07092012465000153, -0.15877887606620789, -0.6105904579162598, -0.2900784909725189, 0.31038594245910645, -0.35083040595054626, -0.3587058186531067, -0.993475079536438, -0.3672385513782501, -0.3009255826473236, -0.3591287136077881, -0.23828527331352234, -0.05349334701895714, 0.07390932738780975, -0.35361248254776, 0.4593254625797272, 0.6380398869514465, -0.07406122982501984, 0.44459080696105957, -0.9697017669677734, 0.3377669155597687, 0.2618330419063568, 0.3784724473953247, 0.3501507341861725, 0.2205505669116974, -0.4579166769981384, 0.2459408938884735, -0.31511834263801575, -0.7790405750274658, 0.6320837736129761, -0.10141614824533463, 0.12266089022159576, 0.8972565531730652, 0.10811430215835571, 0.5981751680374146, -0.15350612998008728, 0.3454568386077881, 0.36618733406066895, -0.1674068123102188, 0.4998584985733032, -0.6062302589416504, -0.09306743741035461, 0.7504844665527344, 0.9400154948234558, -0.9379489421844482, -0.20305030047893524, -0.523328423500061, -0.5959710478782654, 0.2899357080459595, 0.09227586537599564, -0.16690675914287567, -0.006533194333314896, 0.17604592442512512, 0.1928195059299469, 0.22148527204990387, -0.30429404973983765, 0.031089430674910545, 0.033876340836286545, -0.35229769349098206, 0.07817273586988449, -0.04886991158127785, 0.14741601049900055, -0.3625311255455017, 0.5248640775680542, 0.15105846524238586, 0.5161346197128296, -0.008060915395617485, 0.3848096430301666, -0.6563169956207275, -0.032419800758361816, -0.08765838295221329, 0.6782693266868591, -0.626997172832489, -0.30865034461021423, 0.05532453581690788, -0.6543496251106262, 0.22911886870861053, -0.0034785724710673094, -0.2531977593898773, -0.026247790083289146, 0.41278666257858276, 0.6290048360824585, -0.17158113420009613, -0.7172461748123169, 0.581867516040802, -0.14411422610282898, -0.29088401794433594, -1.0476322174072266, -0.008744148537516594, 0.3392558693885803, 0.37072062492370605, 0.5156594514846802, -0.09588304907083511, 0.011971530504524708, -0.515929639339447, 0.17375729978084564, 0.32566171884536743, -0.4412224590778351, -0.3580857813358307, 0.298095166683197, 0.005715600214898586, -0.5550128221511841, 0.06771925836801529, -0.2054784595966339, -0.41627049446105957, 0.3957197070121765, 0.044153280556201935, 1.329619288444519, -0.3318541944026947, 0.7121675610542297, 0.5124214887619019, -0.25022050738334656, -0.09781284630298615, 0.3686582148075104, 0.21760804951190948, -0.3867643475532532, -0.7417870163917542, -1.2135159969329834, 0.030317187309265137, 0.46020984649658203, -0.42966997623443604, 0.5568062663078308, -0.8335186243057251, -0.29591426253318787, 0.502837598323822, -0.06652843207120895, -0.3465489149093628, 0.364226758480072, 0.5123013257980347, 0.5956292152404785, -1.2018587589263916, 0.5607011318206787, 0.39077553153038025, -0.23787209391593933, -0.5791441798210144, 0.5092980265617371, 0.19532042741775513, -0.26442718505859375, 0.3932277262210846, 0.2709824740886688, 0.12967614829540253, -0.1558716595172882, -0.6342829465866089, -0.8376298546791077, 0.8290432691574097, -0.16749660670757294, -0.6412421464920044, -0.20495428144931793, 0.046501949429512024, 0.7684831023216248, -0.46406519412994385, 0.039177484810352325, 0.32289940118789673, 0.5270651578903198, 0.5919682383537292, -0.38326841592788696, -0.030800240114331245, -0.24257369339466095, -0.1567058265209198, 0.5941741466522217, -0.48364508152008057, 0.6291381120681763, 0.06080018728971481, -0.5177469849586487, -0.6706883311271667, 0.39105015993118286, 0.05179351195693016, 0.5259225964546204, 0.3807542324066162, 0.7301063537597656, 0.3733493387699127, 0.4866461157798767, 0.5060518383979797, 0.17198562622070312, 0.42108386754989624, 0.5769001841545105, -0.20347894728183746, 1.2882683277130127, 0.05843252316117287, -0.26972898840904236, 0.29852208495140076, 0.5169711709022522, 0.08025309443473816, 0.48328158259391785, -0.0787673071026802, -0.2341703623533249, -0.2779581546783447, 0.12157780677080154, -0.11593730002641678, 0.14079827070236206, 0.709995687007904, -0.14107675850391388, -0.25732100009918213, 0.5158459544181824, 0.2322002351284027, -0.216529980301857, -0.33302444219589233, 0.8200227618217468, -0.08329186588525772, -0.4043980538845062, 0.7659481763839722, -0.18569612503051758, 0.69533771276474, -0.2374129295349121, -0.04999101907014847, 0.18131482601165771, 0.32868465781211853, -0.3178449273109436, -0.9835666418075562, 0.6561696529388428, 0.07081829011440277, -0.09242211282253265, -0.16574446856975555, 0.8251016736030579, -0.1539565473794937, -0.9643747210502625, 0.30528202652931213, 0.39278167486190796, 0.0656447634100914, -0.6264370083808899, -0.7567251920700073, 0.02816667966544628, 0.02202793024480343, -0.20964370667934418, 0.29118067026138306, 0.29019221663475037, -0.18649746477603912, 0.6782462000846863, 0.8076586723327637, 0.41791412234306335, -0.2584556043148041, -0.36349451541900635, 0.789584755897522, -0.8294381499290466, -0.5546565055847168, -0.8573740124702454, 0.3312697112560272, -0.41616830229759216, -0.2459430992603302, 0.42681899666786194, 0.44421854615211487, 0.3239121437072754, 0.12101241201162338, 1.0029635429382324, -0.40116506814956665, 1.0930426120758057, -0.08151672035455704, 1.028820276260376, -0.22717714309692383, -0.23009352385997772, -0.438194215297699, -1.1536469459533691, -0.24761749804019928, 0.24878470599651337, -0.7398536205291748, -0.49013829231262207, 0.6245604753494263, 0.3838752508163452, -0.03018760308623314, 0.35706019401550293, -0.07833292335271835, 0.3648596405982971, 0.42752528190612793, 0.2509046196937561, 0.5029112696647644, -0.10524560511112213, 0.27787452936172485, -0.33297494053840637, -0.5257589221000671, -0.5674055218696594, -0.44270560145378113, -0.9545201659202576, -0.7942427396774292, 0.04377945140004158, -0.0417473129928112, -0.09312651306390762, 1.0439727306365967, 0.3053407073020935, -0.6589473485946655, 0.055009666830301285, 0.09894511848688126, -0.15422423183918, -0.27661287784576416, -0.2638632655143738, 0.6156798005104065, 0.074785977602005, -0.20441177487373352, 0.016849463805556297, 0.3347964882850647, -0.2851731479167938, -0.3768862187862396, 0.25278717279434204, -0.6477695107460022, 0.07952417433261871, 0.7361060380935669, 0.07464610785245895, -0.3289162814617157, -0.17825911939144135, -0.2074352502822876, -0.03301361948251724, -0.22028841078281403, 0.5484845638275146, -0.5851098299026489, 0.07464156299829483, 0.5523310303688049, 0.4427034258842468, 0.5396702885627747, 0.412020742893219, 0.19118568301200867, -0.2390356957912445, 0.0339106060564518, 0.35121431946754456, 0.020968254655599594, 0.10427912324666977, -0.8427014946937561, 0.19394250214099884, 0.11091858893632889, -0.4071473181247711, -0.6200230717658997, -0.09581813216209412, -0.8957592248916626, -0.4146682620048523, 0.874250054359436, 0.05329429358243942, -0.5573027729988098, -0.3638828992843628, -0.4764159917831421, 0.47935813665390015, -0.5814829468727112, 1.1153794527053833, 0.5468975901603699, -0.18839533627033234, 0.18132935464382172, -0.9809263944625854, 0.5593529939651489, -0.1307562291622162, -0.7733581066131592, 0.4199574887752533, 0.36770129203796387, 0.11326059699058533, 0.31537923216819763, 0.48084917664527893, 0.21559594571590424, 0.016949452459812164, -0.2829028367996216, 0.03063509613275528, -0.063134104013443, -0.3898070156574249, 0.022160900756716728, 0.5259995460510254, -0.7364118695259094, -0.16710789501667023 ]
http://arxiv.org/abs/2403.13169v2
http://arxiv.org/pdf/2403.13169v2
Wav2Gloss: Generating Interlinear Glossed Text from Speech
2024-03-19T21:45:29
2024-06-06T03:37:32
Taiqi He, Kwanghee Choi, Lindia Tjuatja, Nathaniel R. Robinson, Jiatong Shi, Shinji Watanabe, Graham Neubig, David R. Mortensen, Lori Levin
cs.CL
cs.CL
Thousands of the world's languages are in danger of extinction--a tremendous threat to cultural identities and human language diversity. Interlinear Glossed Text (IGT) is a form of linguistic annotation that can support documentation and resource creation for these languages' communities. IGT typically consists of (1) transcriptions, (2) morphological segmentation, (3) glosses, and (4) free translations to a majority language. We propose Wav2Gloss: a task in which these four annotation components are extracted automatically from speech, and introduce the first dataset to this end, Fieldwork: a corpus of speech with all these annotations, derived from the work of field linguists, covering 37 languages, with standard formatting, and train/dev/test splits. We provide various baselines to lay the groundwork for future research on IGT generation from speech, such as end-to-end versus cascaded, monolingual versus multilingual, and single-task versus multi-task approaches.
[ -0.6981984376907349, -0.9211307764053345, -0.12990465760231018, 0.2752045691013336, -0.2833762466907501, 0.28200820088386536, -0.336916983127594, -0.6503580808639526, 0.22888997197151184, 0.49861428141593933, -0.6236802935600281, -0.3132014870643616, -0.6711366772651672, -0.16675306856632233, -0.718687891960144, 1.410631537437439, 0.3060479462146759, -0.20274527370929718, -0.05216223746538162, -0.1292455941438675, -0.0813266932964325, -0.5713627338409424, -0.36290448904037476, -0.2539355158805847, 0.3368036448955536, 0.6391609907150269, 0.6049370765686035, 0.7004933953285217, 0.3958836793899536, 0.0787416473031044, 0.046743009239435196, 0.11877507716417313, -0.5090742707252502, 0.15332241356372833, -0.12831474840641022, -0.1548430472612381, -0.14101272821426392, 0.10204412788152695, 0.40510082244873047, 0.5302396416664124, -0.12859123945236206, 0.46292024850845337, 0.09375270456075668, 0.4272269606590271, -0.24562737345695496, 0.3324953317642212, -0.7974748015403748, -0.13798865675926208, -0.7902840971946716, -0.27208212018013, 0.05396966636180878, -0.36615443229675293, 0.46290239691734314, -0.6404154300689697, 0.20941512286663055, -0.0475308932363987, 0.9235910773277283, 0.23519232869148254, -0.150644451379776, -0.8223142027854919, -0.6009500026702881, 0.2857223451137543, -0.7770302295684814, 0.04789486154913902, 0.49679291248321533, 0.14873109757900238, -0.06299600005149841, -1.1637533903121948, -0.6078323721885681, -0.19982962310314178, 0.08372759073972702, 0.45022913813591003, -0.45011189579963684, 0.17525853216648102, 0.25253796577453613, 0.29114651679992676, -0.5817230343818665, 0.2627081573009491, -0.832731306552887, -0.12100888043642044, 0.6513521671295166, -0.20841872692108154, 0.6626283526420593, -0.1727343499660492, -0.5018318295478821, 0.0289726834744215, -0.6953707933425903, -0.0954774022102356, 0.6286793351173401, 0.4864121079444885, 0.042037103325128555, 0.4251437485218048, -0.2021685093641281, 0.37488600611686707, -0.3089454472064972, -0.2868413031101227, 0.14409784972667694, -0.16839046776294708, 0.11258439719676971, 0.21998833119869232, 0.8256320357322693, 0.4835863709449768, 0.37805014848709106, -0.23117679357528687, -0.0600518062710762, 0.003102980786934495, 0.13142691552639008, -0.6869935393333435, -0.19626392424106598, 0.06384628266096115, -0.2033463716506958, -0.108416348695755, 0.03322158008813858, -0.7325411438941956, -0.10180693119764328, -0.2458503693342209, 0.1872919201850891, -0.7034405469894409, -0.4451623857021332, -0.3683028519153595, -0.1370800882577896, 0.31589508056640625, -0.0029602041468024254, -1.2477353811264038, 0.34799808263778687, 0.7459971904754639, 0.9019270539283752, -0.16194041073322296, -0.26229745149612427, -0.684165894985199, -0.029134225100278854, -0.20980963110923767, 0.6899300217628479, -0.2051728516817093, -0.6215405464172363, 0.2611258625984192, -0.36025258898735046, 0.4590984880924225, -0.6071261167526245, 0.5325079560279846, -0.30622655153274536, 0.3098967671394348, -0.2236049324274063, -0.6217672228813171, -0.36164528131484985, -0.14223210513591766, -0.4479401111602783, 1.3144619464874268, 0.3148108720779419, -0.6207582950592041, 0.45803141593933105, -0.7069979906082153, -0.481400728225708, 0.8747084140777588, -0.42428869009017944, -0.22299417853355408, -0.03674904629588127, 0.06849750876426697, 0.19533424079418182, -0.5450421571731567, 0.3950478732585907, 0.13430383801460266, -0.13925860822200775, -0.3046242296695709, -0.3245536983013153, 0.5175199508666992, 0.42099136114120483, -0.7621303200721741, 0.14855104684829712, -0.7843120098114014, 0.2925010919570923, -0.15189819037914276, -0.4770899713039398, -0.24967458844184875, 0.132134810090065, 0.5367313623428345, 0.34732627868652344, 0.12082719057798386, -0.5641287565231323, 0.2705611288547516, -0.5039557814598083, 0.4877289831638336, 0.634405791759491, -0.07690776884555817, 0.14107471704483032, -0.07575654238462448, 0.7192915081977844, -0.28994297981262207, 0.09031078964471817, 0.05932214483618736, -0.7862184643745422, -0.665116548538208, -0.05492468550801277, 0.27134639024734497, 0.7676780819892883, -0.9373466372489929, 0.3638095259666443, -0.418279767036438, -0.5837990045547485, -0.5069800615310669, -0.05473073199391365, 0.5168908834457397, 0.5461847186088562, 0.3214946389198303, 0.0232814010232687, -0.6153813004493713, -1.1340759992599487, -0.021191531792283058, -0.3081328570842743, 0.10999272018671036, -0.14227578043937683, 0.25382113456726074, -0.24359147250652313, 1.1832406520843506, -0.2224116325378418, -0.4399321973323822, -0.0041040112264454365, 0.439071387052536, -0.27596715092658997, 0.4855790436267853, 0.5833081007003784, -0.74527907371521, -0.5438787937164307, 0.09563564509153366, -0.8063483834266663, -0.4609178602695465, 0.1348705142736435, -0.09939945489168167, 0.12878774106502533, 0.8841243386268616, 0.0633244663476944, 0.3830608129501343, 0.8528310060501099, -0.0967293530702591, 0.2745167315006256, -0.15142886340618134, -0.1891280710697174, -0.8938866257667542, 0.11150792241096497, -0.21644006669521332, -0.15659508109092712, -0.8146934509277344, -0.03963936120271683, -0.2665257751941681, 0.016881758347153664, -0.2025325894355774, 0.5462164878845215, -0.3803485631942749, 0.019559914246201515, -0.45376744866371155, 0.4330371916294098, -0.6121574640274048, 0.08816654980182648, -0.2741350531578064, 1.2091139554977417, 0.541763424873352, -0.4659873843193054, 0.28218042850494385, 0.6429445147514343, -0.5367843508720398, 0.24223722517490387, -0.2242330014705658, 0.19147132337093353, -0.31542298197746277, -0.011148407123982906, -0.9414265155792236, -0.4080226719379425, 0.12230886518955231, -0.531542181968689, 0.007846368476748466, -0.07091711461544037, -0.41718506813049316, -0.3133901357650757, -0.06746172904968262, 0.10133544355630875, 0.8223904371261597, -0.6628357172012329, 0.2123439460992813, 0.8008489012718201, -0.6547632813453674, -0.5081890225410461, -0.8207107782363892, 0.5926939249038696, -0.30083370208740234, -0.7666433453559875, 0.20288608968257904, -0.12368868291378021, -0.6543303728103638, -0.07281381636857986, -0.003747060429304838, 0.08707037568092346, 0.15532252192497253, 0.4718513488769531, -0.0740460753440857, -0.21149736642837524, 0.37599316239356995, 0.11336539685726166, -0.09649480134248734, 0.01611623540520668, -0.506750226020813, 0.6048038005828857, -0.2874833047389984, 0.052273284643888474, 0.10765980184078217, 0.8390939831733704, 0.29488837718963623, -0.23044922947883606, 0.140921950340271, 0.8304300904273987, -0.38503900170326233, -0.23503701388835907, -0.5397962331771851, 0.028864305466413498, -0.44967415928840637, 0.29108569025993347, -0.3947254419326782, -0.8877805471420288, 0.3940420150756836, -0.3019404709339142, 0.37671026587486267, 0.6982847452163696, 0.6307330131530762, -0.17679966986179352, 0.6947190761566162, 0.5937458276748657, 0.25693613290786743, 0.6548179984092712, -0.10076935589313507, 0.0033305007964372635, -0.5631648302078247, -0.39582759141921997, -0.1374489963054657, 0.007159113883972168, -0.7808528542518616, -0.33808034658432007, 0.7884874939918518, 0.289065957069397, 0.30594101548194885, 0.018909407779574394, -0.5381611585617065, 0.22256511449813843, 1.12894868850708, -0.22818022966384888, -0.03166545554995537, 0.2791617214679718, 0.20052476227283478, 0.014874791726469994, -0.392211377620697, -0.9555045962333679, 0.8022140264511108, 0.06258586049079895, 0.38527101278305054, 0.28249943256378174, 0.8041287660598755, 0.5733160972595215, 0.3601878881454468, -0.9226235747337341, 0.44115716218948364, -0.5155488848686218, -0.5415798425674438, -0.4366322159767151, 0.09445669502019882, -1.0550488233566284, 0.2986091375350952, -0.18362410366535187, -0.7723753452301025, -0.29279863834381104, 0.20231427252292633, -0.1616171896457672, 0.042884208261966705, -0.4679758846759796, 0.3578653335571289, -0.20875601470470428, 0.014411387033760548, 0.1025153324007988, -1.1142908334732056, 0.3887692093849182, -0.11838772892951965, 0.5281681418418884, -0.41409844160079956, 0.05678477883338928, 1.0372272729873657, -0.8190065622329712, 0.4091624319553375, -0.22448645532131195, -0.4274713695049286, 0.7565869688987732, -0.1278710663318634, 0.3939705491065979, -0.10327048599720001, -0.07738474011421204, 0.19754907488822937, -0.017073793336749077, -0.2684319317340851, -0.026260968297719955, 0.4709896445274353, -0.6282128691673279, -0.6970314383506775, -0.33884671330451965, -0.5294003486633301, -0.3918461501598358, 0.15880289673805237, 0.6443765759468079, 0.5497302412986755, -0.2511436343193054, -0.04326282814145088, 0.41913995146751404, 0.03311082720756531, 0.7368642687797546, -0.0033862933050841093, -0.45592066645622253, -0.752659022808075, 1.0278667211532593, 0.4318539798259735, 0.4405006170272827, -0.10515238344669342, 0.2793219983577728, -0.27164241671562195, -0.7217641472816467, -0.6528815627098083, 0.08417270332574844, -1.1352696418762207, 0.01812904328107834, -0.6073280572891235, -0.20104020833969116, -0.41045740246772766, -0.07856607437133789, 0.050365351140499115, -0.3811560571193695, -0.4601060152053833, -0.21040865778923035, 0.6782779097557068, 1.1414375305175781, -0.5188965797424316, 0.6406129002571106, -0.6892803311347961, 0.3494413197040558, 0.3317698538303375, 0.003902618307620287, -0.440189003944397, -0.30996420979499817, -0.06773028522729874, 0.0585993155837059, 0.20826034247875214, -0.4997159242630005, 0.4804033637046814, 0.5634242296218872, 0.4940034747123718, -0.02090289816260338, -0.13463042676448822, 0.7987732887268066, -0.5275546312332153, 1.034250020980835, 0.4057732820510864, -1.1598423719406128, 0.464957058429718, -0.5502908825874329, 0.30043116211891174, 0.5559400320053101, 0.1504976600408554, -0.8196159601211548, -0.5848177075386047, -0.5953253507614136, -1.371652364730835, 0.7345373630523682, 0.186424121260643, 0.21001280844211578, -0.17063237726688385, 0.3597009778022766, 0.5427144169807434, 0.12985704839229584, -0.5552423596382141, -0.387730211019516, -0.34822604060173035, -0.2533523738384247, 0.06555505096912384, -0.322144478559494, -0.2316911667585373, 0.0032597563695162535, 0.7979757189750671, -0.4574401080608368, -0.04030229151248932, 0.22783249616622925, -0.19518126547336578, -0.05700826272368431, 0.12909065186977386, 0.7677213549613953, 0.7121965885162354, -0.005678379908204079, 0.23925743997097015, -0.03479501232504845, -0.8292533159255981, -0.09840250760316849, 0.1249348521232605, -0.40289974212646484, 0.029356880113482475, 0.335517942905426, 1.012924313545227, -0.38092172145843506, -0.7929471731185913, 0.4980500340461731, 0.15692727267742157, -0.5216553211212158, -0.5664782524108887, -0.21590295433998108, 0.1066213920712471, 0.2379106879234314, 0.6615557074546814, -0.18428745865821838, 0.24170264601707458, -0.683592677116394, 0.5857563018798828, 0.23949776589870453, -0.47803303599357605, -0.18283259868621826, 1.0037786960601807, 0.21677373349666595, -0.2033970057964325, 0.5582348108291626, -0.34154045581817627, -0.48563191294670105, 0.3157958388328552, 0.492735356092453, 0.8157228827476501, 0.009702006354928017, 0.07469838857650757, 0.4536839723587036, 0.3404086232185364, 0.180855393409729, 0.6572429537773132, 0.1502123922109604, -0.015518205240368843, -0.20157194137573242, -0.7420846223831177, -0.26955243945121765, 0.22440247237682343, -0.7206134796142578, 0.24206078052520752, -0.3753978908061981, -0.13351349532604218, 0.17631477117538452, -0.5042175054550171, -0.29988789558410645, 0.34311312437057495, 0.9201654195785522, 0.6927231550216675, -0.6157044768333435, 0.8261501789093018, 0.20984682440757751, -0.5831932425498962, -0.5991822481155396, 0.30078303813934326, -0.08121711760759354, -1.0154608488082886, 0.9117559790611267, -0.007789236027747393, -0.35801753401756287, 0.4095119535923004, -0.6199113726615906, -1.2488034963607788, 0.9052890539169312, 0.24099434912204742, -0.6614224910736084, -0.11784164607524872, 0.32250097393989563, 0.4627864956855774, -0.050253938883543015, -0.10617587715387344, 0.6363940834999084, 0.5327053070068359, -0.020956574007868767, -1.2065672874450684, 0.07693176716566086, -0.17911642789840698, 0.04795071855187416, 0.24843686819076538, -0.6297836303710938, 1.0532219409942627, 0.00902562029659748, -0.5316370129585266, 0.14762306213378906, 0.7893975973129272, -0.08473928272724152, -0.1989002227783203, 0.5796971917152405, 0.048096075654029846, 0.9257238507270813, -0.4037119746208191, 0.8501287698745728, -0.28302904963493347, 0.14951807260513306, 1.1631345748901367, -0.039258405566215515, 0.6664682626724243, 0.47842854261398315, 0.011031867936253548, 0.30745750665664673, 0.5343989133834839, -0.02243037521839142, 0.6421149969100952, 0.7036223411560059, -0.5509868264198303, 0.1819838136434555, -0.32768985629081726, -0.3913993239402771, 0.8714150786399841, 0.788965106010437, -0.014493911527097225, -0.29111921787261963, 0.48894092440605164, 0.33688226342201233, 0.038009319454431534, -0.22969523072242737, 1.0873000621795654, -0.07466180622577667, -0.9632696509361267, 0.8637328743934631, -0.22114884853363037, 0.9339232444763184, -0.8544720411300659, -0.15578365325927734, 0.11234486848115921, -0.1212688758969307, -0.4095398485660553, -0.9324920177459717, 0.23334090411663055, 0.016341574490070343, 0.18551921844482422, -0.2576458156108856, 0.43862971663475037, -0.8742915391921997, -0.08757185190916061, 0.33088043332099915, 0.501846969127655, 0.424937903881073, -0.0028941775672137737, -0.3941689729690552, -0.0640149936079979, 0.11550633609294891, -0.16541942954063416, 0.06949735432863235, 0.05912452191114426, -0.46004047989845276, 0.415414035320282, 0.5996001958847046, 0.08981062471866608, 0.6544314622879028, 0.17714756727218628, 0.6486964821815491, -0.5111492872238159, -0.4817282259464264, -0.7720720171928406, 0.4857645332813263, -0.09533196687698364, -0.5521652102470398, 0.6773183941841125, 0.6975419521331787, 0.6865233778953552, -0.034524135291576385, 1.6367790699005127, -0.5195441246032715, 0.3495253324508667, -0.6154640316963196, 0.6134412884712219, -0.4212942123413086, -0.32315611839294434, 0.03132518008351326, -0.4612443447113037, -0.24241778254508972, 0.21301406621932983, 0.17254093289375305, -0.44614964723587036, 0.5317120552062988, 0.3170476257801056, 0.21069158613681793, 0.061835650354623795, 0.31348422169685364, -0.08187773823738098, 0.6665194034576416, 0.10293427854776382, 0.9044284820556641, -0.4220862090587616, 0.7389272451400757, -0.2985054552555084, -0.23053982853889465, -0.21206605434417725, -0.6710336208343506, -0.4826309382915497, -1.0321035385131836, -0.31356343626976013, -0.4780330955982208, -0.11955203115940094, 1.0194319486618042, 0.5959903001785278, -0.6462717652320862, -0.4579245150089264, -0.17796964943408966, -0.6307076215744019, 0.10514224320650101, -0.20542338490486145, 0.2618408799171448, -0.4028501510620117, -0.8232789635658264, 0.5798516273498535, 0.37867289781570435, 0.3464667499065399, -0.30548885464668274, 0.18808281421661377, -0.31627610325813293, -0.012009095400571823, 0.7899819612503052, 0.4887138605117798, -1.3031713962554932, -0.5035542249679565, -0.4277969002723694, -0.12781201303005219, 0.21021874248981476, 0.5840473771095276, -0.5542991161346436, 0.6478423476219177, 0.2841718792915344, 0.31048867106437683, 0.7233541011810303, 0.05716674402356148, 0.4925234317779541, -0.9768914580345154, 0.2811684012413025, 0.36768439412117004, 0.23772703111171722, 0.3755228519439697, -0.12670361995697021, 0.8434631824493408, 0.1689005345106125, -0.4325518012046814, -0.8313454985618591, 0.2540932893753052, -1.054636836051941, -0.047910530120134354, 1.4549092054367065, -0.08271565288305283, -0.019952047616243362, -0.21037693321704865, -0.5127012133598328, 0.5203368663787842, -0.16394419968128204, 0.44779422879219055, 0.6925400495529175, -0.2255111038684845, 0.26140251755714417, -0.8084107637405396, 0.8823350071907043, -0.003261381294578314, -1.2584644556045532, 0.38251742720603943, 0.48535728454589844, 0.4082125723361969, 0.22391751408576965, 0.8401623368263245, 0.09810363501310349, 0.10374681651592255, 0.3362220525741577, 0.5309786796569824, 0.19872809946537018, 0.10552334040403366, -0.11951183527708054, 0.21972347795963287, 0.10884640365839005, -0.15257564187049866 ]
http://arxiv.org/abs/2403.13130v1
http://arxiv.org/pdf/2403.13130v1
Self-generated Replay Memories for Continual Neural Machine Translation
2024-03-19T19:59:54
2024-03-19T19:59:54
Michele Resta, Davide Bacciu
cs.CL
cs.CL, cs.AI, cs.LG
Modern Neural Machine Translation systems exhibit strong performance in several different languages and are constantly improving. Their ability to learn continuously is, however, still severely limited by the catastrophic forgetting issue. In this work, we leverage a key property of encoder-decoder Transformers, i.e. their generative ability, to propose a novel approach to continually learning Neural Machine Translation systems. We show how this can effectively learn on a stream of experiences comprising different languages, by leveraging a replay memory populated by using the model itself as a generator of parallel sentences. We empirically demonstrate that our approach can counteract catastrophic forgetting without requiring explicit memorization of training data. Code will be publicly available upon publication. Code: https://github.com/m-resta/sg-rep
[ -0.13982079923152924, -0.4478124678134918, 0.4301500916481018, 0.4644593596458435, -0.21676555275917053, 0.3275396525859833, -0.2977665662765503, 0.061937376856803894, 0.44023650884628296, 0.5484583377838135, -0.5117509961128235, -0.03665666654706001, -0.45714566111564636, 0.39660707116127014, -0.49354541301727295, 0.9926652908325195, -0.2651712894439697, 0.05378124490380287, -0.11513528972864151, -0.41912925243377686, -0.8455816507339478, -0.5426134467124939, -0.7004899382591248, -0.39297646284103394, 0.4963567554950714, 0.24005472660064697, 0.20158086717128754, 0.517989993095398, 0.4703252613544464, 0.2838246524333954, 0.25348755717277527, 0.28451910614967346, -0.6955940127372742, 0.6006115078926086, -0.09265046566724777, -0.5070992708206177, -0.06869801133871078, -0.5234453678131104, 1.1057721376419067, 0.26517313718795776, -0.2188713550567627, 0.02366906777024269, 0.1787818968296051, 0.674115002155304, -0.35426607728004456, -0.00566434022039175, -0.8197958469390869, 0.31731948256492615, 0.04524096101522446, -0.40214619040489197, -0.7169600129127502, -0.2515176832675934, -0.10755293071269989, -0.24408504366874695, 0.3880733251571655, -0.08184194564819336, 0.6303364634513855, 0.3047497868537903, 0.04814837872982025, -0.23458100855350494, -1.0942002534866333, 0.5763145089149475, -0.5536095499992371, 0.3568879961967468, -0.08305351436138153, 0.496062695980072, -0.08488253504037857, -0.950128972530365, -0.5394607186317444, -0.2914413511753082, 0.10902275145053864, 0.620812177658081, -0.06831676512956619, -0.28178492188453674, 0.23608937859535217, 0.5344178676605225, -0.5344837307929993, -0.2111084759235382, -0.39481809735298157, -0.0757322907447815, 0.33192896842956543, 0.4042196571826935, 0.42620596289634705, -0.08272919803857803, -0.56553053855896, -0.001708504743874073, -0.8642358183860779, -0.29171064496040344, 0.029503555968403816, -0.023126117885112762, 0.11773968487977982, 0.4399403929710388, 0.07283666729927063, 0.2689984440803528, 0.18195238709449768, 0.13934746384620667, 0.31732413172721863, -0.21836300194263458, -0.10169532895088196, 0.05671876668930054, 0.9910270571708679, -0.0055464464239776134, 0.22856299579143524, -0.7439178228378296, -0.45136988162994385, -0.0880749523639679, 0.8121365308761597, -0.674791157245636, -0.22543670237064362, -0.05782470107078552, -0.5100674629211426, 0.03231201693415642, -0.1493530124425888, -0.7108264565467834, 0.13985629379749298, -0.08127088099718094, 0.44699934124946594, -0.5735147595405579, -0.23688994348049164, -0.02341984584927559, -0.22665785253047943, -0.09660530090332031, -0.24326838552951813, -0.8545074462890625, 0.15856097638607025, 0.22422999143600464, 0.9780771136283875, -0.23663462698459625, -0.8307849168777466, -0.5112701654434204, 0.23727217316627502, -0.23193569481372833, 0.48417243361473083, -0.25565898418426514, -0.5309157967567444, -0.006781934294849634, 0.12786442041397095, -0.3616340458393097, -0.8077576160430908, 0.11432886868715286, -0.6491999626159668, -0.1142454594373703, -0.17728960514068604, -0.5472128391265869, -0.10351836681365967, 0.26135650277137756, -0.527147650718689, 0.700247585773468, 0.09815994650125504, -0.2781641483306885, 0.0012161994818598032, -0.3044048845767975, -0.492259681224823, 0.07389149814844131, -0.10151726752519608, -0.6829347610473633, 0.3298475444316864, 0.08063467592000961, 0.2551279366016388, -0.04113273322582245, 0.5494066476821899, -0.060493625700473785, -0.22553157806396484, 0.2911982238292694, -0.7097072601318359, 0.14985375106334686, 0.34940093755722046, -0.30472731590270996, 0.09763075411319733, -0.47455981373786926, -0.31834539771080017, 0.39531123638153076, -0.4274936616420746, 0.06215381622314453, 0.0733531042933464, -0.21816308796405792, 0.23594379425048828, 0.3258775472640991, -0.4904487133026123, 0.22255079448223114, -0.34959232807159424, 0.5516853928565979, 0.6275157332420349, 0.27278175950050354, 0.44335418939590454, -0.35622984170913696, 0.7094099521636963, 0.2399873584508896, -0.07167299091815948, -0.893980860710144, -0.2878369390964508, -1.052135944366455, -0.010153088718652725, 0.10268533229827881, 0.433932900428772, -0.805328369140625, 0.24026153981685638, -0.5330436825752258, -0.2018202394247055, -0.4861034154891968, 0.3862782418727875, 0.5952282547950745, 0.4812716543674469, 0.685826301574707, -0.5325716137886047, -0.7174116373062134, -0.7683610916137695, -0.1499788612127304, 0.14957469701766968, -0.09604949504137039, 0.23657694458961487, 0.5183888077735901, -0.3639954924583435, 0.6524307727813721, -0.17536495625972748, -0.2714812159538269, -0.2618004083633423, 0.11499743908643723, -0.029658466577529907, 0.65876704454422, 0.4795306921005249, -0.3691580891609192, -0.3521410822868347, -0.08030770719051361, -1.238297700881958, 0.22352857887744904, -0.9063730239868164, -0.12265388667583466, 0.13921746611595154, 0.7102139592170715, -0.6426497101783752, 0.11551262438297272, 0.4233391284942627, -0.030537402257323265, 0.427728533744812, -0.6058341264724731, -0.13201358914375305, -1.2615163326263428, 0.06504923850297928, -0.4169458746910095, -0.23953810334205627, -0.356830894947052, 0.1566515862941742, 0.24571828544139862, -0.03881622105836868, -0.2450830340385437, 0.24730174243450165, -0.5638077855110168, 0.028680574148893356, -0.43792086839675903, -0.04506983980536461, -0.19069023430347443, 0.5787498354911804, 0.012763885781168938, 0.8363758325576782, 0.20835770666599274, -0.7101909518241882, 0.24932225048542023, 0.24928025901317596, -0.028969265520572662, 0.20580150187015533, -0.5204380750656128, 0.20003008842468262, -0.23255233466625214, 0.3337368965148926, -0.6481759548187256, -0.06739884614944458, 0.23602022230625153, -0.4903421998023987, 0.5631340146064758, -0.11683061718940735, -0.31301867961883545, -0.5998857021331787, 0.4165714681148529, 0.3930127024650574, 0.9111452102661133, -0.7756115198135376, 0.6560581922531128, 0.16428522765636444, -0.03564859926700592, -0.36512354016304016, -0.7008011937141418, 0.3472479283809662, -0.10455305874347687, -0.21197587251663208, 0.33568307757377625, -0.0081401402130723, 0.39116278290748596, 0.0065235267393291, -0.1567014455795288, 0.11678975075483322, -0.06195075064897537, 0.270953893661499, 0.03638642281293869, -0.3832692801952362, 0.3705607056617737, 0.006638105493038893, -0.30910417437553406, 0.10850710421800613, -0.8053321838378906, 0.9129122495651245, -0.3517952561378479, -0.3499988317489624, -0.35355257987976074, 0.3334188163280487, 0.6768494248390198, -0.36615273356437683, 0.7504130601882935, 0.5104495882987976, -0.28332579135894775, -0.30686861276626587, -0.49511536955833435, -0.31402498483657837, -0.49353456497192383, 0.47777149081230164, -0.46575021743774414, -0.7478270530700684, 0.7508726716041565, -0.22252696752548218, -0.11706952005624771, 0.59281986951828, 0.572908341884613, -0.20278321206569672, 0.7512094974517822, 0.3581867218017578, -0.391091912984848, 0.32619211077690125, -0.35759034752845764, 0.1602606326341629, -0.8949499130249023, -0.30304619669914246, -0.11391224712133408, -0.38397854566574097, -0.2770160138607025, -0.18781226873397827, 0.12309662252664566, 0.40708622336387634, -0.32534635066986084, 0.5769681334495544, -0.43006327748298645, 0.43959924578666687, 0.5298301577568054, 0.09290993213653564, 0.12886011600494385, -0.050137318670749664, -0.23869451880455017, -0.16758599877357483, -0.8945448994636536, -0.3183678090572357, 0.9388043880462646, 0.3429716229438782, 0.7012884616851807, -0.203537717461586, 1.0754170417785645, 0.12999776005744934, 0.4606974422931671, -0.47512564063072205, 0.3308561444282532, -0.12517862021923065, -0.12725871801376343, -0.039812784641981125, -0.5904906392097473, -0.9140700697898865, 0.06871617585420609, 0.09871453791856766, -0.2589378356933594, -0.1648152768611908, 0.3619489371776581, -0.24260570108890533, 0.5726553201675415, -0.41444477438926697, 0.841469943523407, -0.4521131217479706, -0.1468835026025772, -0.28144147992134094, -0.3946690559387207, 0.24402214586734772, -0.16133266687393188, -0.3344009220600128, 0.2503538429737091, 0.20670664310455322, 0.25242769718170166, -0.1492399126291275, 0.7898427248001099, -0.0911795124411583, 0.13222594559192657, 0.4308684468269348, 0.2957797050476074, 0.39896464347839355, 0.2285587340593338, 0.34636354446411133, 0.16490353643894196, -0.5790146589279175, -0.33620214462280273, -0.6284467577934265, 0.7966505289077759, -0.4704228639602661, -0.4381307065486908, -0.2746637165546417, -0.4347759485244751, 0.050506841391325, 0.33770984411239624, 0.3355728089809418, 0.22784169018268585, -0.42944633960723877, 0.18007685244083405, 0.6840226650238037, -0.24017539620399475, 0.6679449081420898, 0.3017484247684479, -0.30961039662361145, -0.76466965675354, 1.2692245244979858, 0.22060558199882507, 0.3821638822555542, 0.21646545827388763, 0.02456183172762394, -0.10214980691671371, -0.521159827709198, -0.808231770992279, 0.16044297814369202, -0.5266493558883667, -0.40818676352500916, -0.9073893427848816, -0.561885416507721, -0.043236151337623596, -0.12418297678232193, -0.6827494502067566, -0.32616689801216125, -0.1577039659023285, 0.060268841683864594, 0.16758976876735687, 0.7078851461410522, -0.05771427974104881, 0.20096611976623535, -1.2358423471450806, 0.7163330912590027, 0.2784390449523926, 0.31561222672462463, 0.18874236941337585, -0.6961660385131836, -0.3287854790687561, 0.11393367499113083, -0.5396139621734619, -0.6788397431373596, 0.8696094155311584, 0.34356245398521423, 0.6432837843894958, 0.2794695794582367, -0.21995894610881805, 0.5687295198440552, -0.9940988421440125, 0.7348102927207947, 0.39670199155807495, -0.6533417105674744, 0.4162442088127136, -0.16421298682689667, 0.7074892520904541, 0.38448604941368103, 0.225274458527565, -0.844518780708313, -0.5513641238212585, -0.4742392599582672, -0.7616320848464966, 0.291553795337677, 0.23312124609947205, 0.5025696158409119, -0.5603501200675964, 0.5470403432846069, 0.15041592717170715, 0.05280062183737755, -0.5065617561340332, -0.21605068445205688, -0.6493848562240601, -0.3213810622692108, -0.2457924485206604, -0.2295440137386322, 0.15627601742744446, -0.0751371681690216, 0.4617684781551361, -0.10585752874612808, 0.5324541330337524, 0.1971971094608307, -0.2819594144821167, 0.0844622403383255, 0.06109648570418358, 0.6859955787658691, 0.37890705466270447, 0.044147517532110214, 0.04989822581410408, 0.4660830795764923, -0.5346258878707886, 0.06537925451993942, -0.24672089517116547, -0.6346830129623413, 0.18295341730117798, -0.1580907702445984, 0.7096312046051025, 0.5236672163009644, -0.4334646165370941, 0.14585500955581665, -0.07685168087482452, -0.13094142079353333, -0.6901207566261292, -0.08566239476203918, 0.5271229147911072, 0.23802275955677032, 0.37361299991607666, 0.5220792889595032, -0.18603847920894623, -0.3000004291534424, 0.5955114960670471, 0.045966945588588715, -0.5494683980941772, -0.394351989030838, 0.732269287109375, 0.12562160193920135, -0.5089842081069946, 0.9958235025405884, -0.12303096055984497, -0.7013098001480103, 0.6546689867973328, 1.2533743381500244, 1.3304108381271362, -0.39629483222961426, 0.10048434138298035, 0.7455580234527588, 0.2631831765174866, -0.5482518672943115, 0.04975148290395737, -0.10033434629440308, -0.6945304870605469, -0.28599846363067627, -0.695246160030365, -0.13764290511608124, -0.03810150921344757, -0.7077457308769226, -0.22727201879024506, -0.4062857925891876, -0.05707121267914772, -0.5056501626968384, -0.8305231928825378, -0.551274836063385, 0.08594545722007751, 0.12360864132642746, 0.6146977543830872, -0.3220040798187256, 1.0242139101028442, 0.19652646780014038, -0.8712299466133118, -0.2462334781885147, 0.042921651154756546, -0.5279845595359802, -0.6761133670806885, 0.6664136052131653, 0.28398397564888, -0.27618199586868286, 0.17679835855960846, -0.30587977170944214, -0.6925290822982788, 0.945141077041626, 0.3614569306373596, -0.7137327790260315, -0.033469345420598984, 0.07133407145738602, 0.681526780128479, -0.5573189854621887, -0.0766543373465538, 0.44627735018730164, -0.00622874079272151, -0.19485242664813995, -0.6273426413536072, -0.1692340224981308, -0.289421945810318, 0.0687408372759819, 0.22156253457069397, -0.8474200963973999, 0.534884512424469, -0.1731029599905014, -0.3962830901145935, 0.18573306500911713, 0.941598117351532, 0.09496597945690155, 0.19590206444263458, -0.015901686623692513, 0.7675768136978149, 0.427182674407959, -0.03289449214935303, 0.9858425259590149, -0.34831124544143677, 0.38527151942253113, 1.428707242012024, 0.0526433140039444, 1.0024436712265015, 0.5327451825141907, 0.09318453818559647, 0.3991173505783081, 0.070754773914814, -0.1969829797744751, 0.5098530650138855, 0.07122235000133514, -0.3846239447593689, -0.4363333582878113, 0.2572503089904785, -0.5127021670341492, 0.3811177611351013, 0.3498677909374237, -0.7868461012840271, -0.073672816157341, 0.2650250196456909, -0.18930502235889435, 0.3719252347946167, -0.11281133443117142, 0.809258759021759, 0.45039623975753784, -0.8279033899307251, 0.863682210445404, -0.2452608197927475, 0.6168028116226196, -0.5496546626091003, -0.12168999761343002, -0.42442959547042847, 0.43667086958885193, 0.18067198991775513, -0.4695727229118347, 0.6583179831504822, -0.07141201943159103, -0.3150891959667206, -0.497300386428833, 0.41610655188560486, -0.5414339303970337, -0.41712379455566406, 0.29238367080688477, 0.28070470690727234, 0.011661565862596035, 0.023667113855481148, -0.4139506220817566, -0.17811305820941925, -0.07206811755895615, -0.14129874110221863, 0.3368678092956543, 0.17693841457366943, 0.29894089698791504, 0.9452456831932068, 0.3867323696613312, -0.00875080842524767, 0.5213706493377686, 0.15009696781635284, 0.6364960074424744, -0.9726624488830566, -0.3664892613887787, -0.8626807332038879, 0.23389354348182678, 0.022803597152233124, -0.390727162361145, 0.8077042102813721, 0.7267192602157593, 1.0350956916809082, -0.5743371844291687, 0.8802918791770935, 0.18973460793495178, 0.22054018080234528, -0.5089952349662781, 0.9922805428504944, -0.30090707540512085, 0.09951561689376831, 0.22258900105953217, -0.7848804593086243, -0.26479291915893555, 0.4889068305492401, 0.18514518439769745, -0.16464033722877502, 0.7610037922859192, 0.5352268815040588, -0.04834207892417908, 0.024012623354792595, 0.3772921860218048, 0.17437279224395752, 0.26371410489082336, 0.8164096474647522, 0.9375194311141968, -0.7229949235916138, 0.7322941422462463, -0.08308317512273788, 0.35037973523139954, 0.032992884516716, -0.5227773189544678, -0.764374852180481, -0.5011082291603088, -0.02483726292848587, -0.5426139235496521, 0.217262402176857, 0.5714878439903259, 0.3238924443721771, -0.9129758477210999, -0.11111491173505783, -0.5857231020927429, -0.13276416063308716, -0.4348938465118408, -0.10469856858253479, 0.07510442286729813, -1.0188357830047607, -0.6369736790657043, 0.7325662970542908, 0.4894413650035858, 0.10052523761987686, -0.4403502345085144, -0.5014758706092834, 0.15465940535068512, -0.12795452773571014, 0.48297885060310364, 0.7404044270515442, -0.6470010280609131, -0.2256508469581604, 0.19909541308879852, -0.1736258864402771, 0.3946595788002014, 0.9688742160797119, -0.9301921129226685, 0.8467704653739929, 0.45939865708351135, 1.235845923423767, 0.8372547030448914, -0.2487439066171646, 0.864463210105896, -0.45123928785324097, -0.12387200444936752, 0.3246519863605499, 0.43460628390312195, 0.28449684381484985, -0.17617397010326385, 0.24606409668922424, 0.3379173278808594, -0.6240217685699463, -0.4891563653945923, 0.29461532831192017, -0.7288799285888672, 0.027647877112030983, 0.7817879319190979, -0.40003257989883423, -0.12223902344703674, -0.04571886733174324, -0.030472971498966217, 0.4246445894241333, -0.05590585619211197, 1.0668206214904785, 0.2819468379020691, 0.27135559916496277, -0.21025384962558746, -0.524569571018219, 0.3156953752040863, 0.5326374173164368, -0.364495187997818, -0.013284300453960896, 0.25149503350257874, 0.38886168599128723, 0.1957569122314453, 0.6199295520782471, -0.30689042806625366, 0.43147149682044983, 0.31234633922576904, 0.22224381566047668, -0.11142443865537643, -0.7236183285713196, -0.5269833207130432, 0.22685396671295166, -0.25524893403053284, -0.39016711711883545 ]
http://arxiv.org/abs/2403.15465v1
http://arxiv.org/pdf/2403.15465v1
Most Likely Sequence Generation for $n$-Grams, Transformers, HMMs, and Markov Chains, by Using Rollout Algorithms
2024-03-19T19:58:46
2024-03-19T19:58:46
Yuchao Li, Dimitri Bertsekas
cs.LG
cs.LG, cs.AI, cs.CL, cs.SY, eess.SY
In this paper we consider a transformer with an $n$-gram structure, such as the one underlying ChatGPT. The transformer provides next word probabilities, which can be used to generate word sequences. We consider methods for computing word sequences that are highly likely, based on these probabilities. Computing the optimal (i.e., most likely) word sequence starting with a given initial state is an intractable problem, so we propose methods to compute highly likely sequences of $N$ words in time that is a low order polynomial in $N$ and in the vocabulary size of the $n$-gram. These methods are based on the rollout approach from approximate dynamic programming, a form of single policy iteration, which can improve the performance of any given heuristic policy. In our case we use a greedy heuristic that generates as next word one that has the highest probability. We show with analysis, examples, and computational experimentation that our methods are capable of generating highly likely sequences with a modest increase in computation over the greedy heuristic. While our analysis and experiments are focused on Markov chains of the type arising in transformer and ChatGPT-like models, our methods apply to general finite-state Markov chains, and related inference applications of Hidden Markov Models (HMM), where Viterbi decoding is used extensively.
[ -0.34618374705314636, -0.6848571300506592, 0.30016523599624634, -0.21708552539348602, -0.02956310100853443, 0.21204403042793274, -0.1358676701784134, 0.005956569220870733, 0.07968717068433762, 0.37029194831848145, -0.7794910073280334, -0.25801199674606323, -0.66020667552948, -0.12620174884796143, -0.9734088778495789, 1.039480209350586, 0.27487650513648987, -0.5144431591033936, 0.5109341144561768, 0.19810473918914795, -0.18001413345336914, -0.24986761808395386, -0.09339961409568787, -0.4716406464576721, 0.35289567708969116, 0.3692423701286316, 0.9412334561347961, 0.44806185364723206, 0.7286226749420166, 0.2747565805912018, -0.14307036995887756, 0.31682536005973816, -0.506416916847229, -0.16183894872665405, 0.2117951363325119, -0.44525155425071716, -0.18730665743350983, -0.19758661091327667, 0.58177250623703, 0.5279523134231567, -0.596259593963623, 0.10793472826480865, -0.2627829611301422, 0.5532150268554688, -0.5382580161094666, -0.17655104398727417, -0.9898345470428467, 0.36100077629089355, -0.33021900057792664, -0.39726588129997253, -0.6301929950714111, -0.5488704442977905, 0.28585001826286316, -0.2962222695350647, 0.20203696191310883, -0.16960962116718292, 0.9526289105415344, 0.045701757073402405, -0.39643457531929016, -0.5359777808189392, -0.9772909879684448, 0.6360648274421692, -0.7291408777236938, -0.04252322390675545, 0.19119693338871002, 0.5688146352767944, -0.7936068177223206, -0.6346656084060669, -0.6964121460914612, -0.30225077271461487, 0.28346800804138184, 0.19570456445217133, -0.28918126225471497, 0.03267547860741615, 0.3924548029899597, 0.5880886912345886, -0.5444022417068481, -0.009655267000198364, -0.25192251801490784, 0.10837291181087494, 0.49194350838661194, 0.10462285578250885, 0.1848902702331543, -0.39476996660232544, -0.30361121892929077, -0.3270380198955536, -0.7524779438972473, -0.27633509039878845, 0.7543942928314209, 0.20215681195259094, -0.04054680094122887, 1.0351026058197021, -0.03522029519081116, 0.5757335424423218, -0.06816110014915466, -0.13716356456279755, 0.17737554013729095, -0.243844136595726, -0.020602812990546227, 0.025218183174729347, 0.6301552653312683, 0.170795738697052, 0.4341830015182495, -0.18256816267967224, -0.22285722196102142, 0.16549065709114075, 0.5819774866104126, -0.43460142612457275, -0.3328567445278168, 0.18024858832359314, -0.29643329977989197, -0.4402972161769867, 0.16510659456253052, -0.8378620743751526, -0.13551130890846252, 0.11249174177646637, 0.5557158589363098, -0.534752368927002, -0.21275565028190613, -0.101275734603405, -0.20084913074970245, 0.43760719895362854, -0.3669213056564331, -0.6343115568161011, 0.12169010937213898, 0.6397606134414673, 0.9654216766357422, -0.23125995695590973, 0.026273293420672417, -0.4561302959918976, 0.2608890235424042, -0.26939237117767334, 0.6310011744499207, -0.22236871719360352, -0.5482664704322815, 0.5158906579017639, -0.15285219252109528, 0.127680703997612, -0.449862539768219, 0.454139769077301, -0.6844793558120728, 0.08209583163261414, 0.01741672493517399, -0.6817367076873779, -0.10427237302064896, 0.11917873471975327, -0.6116600036621094, 0.7561072707176208, 0.032049648463726044, -0.7607607245445251, 0.5066881775856018, -0.5726183652877808, -0.6643120050430298, 0.10111920535564423, 0.15366892516613007, -0.5631409287452698, 0.38191527128219604, -0.19297128915786743, 0.31735581159591675, -0.2154352068901062, 0.2531566619873047, 0.017812957987189293, -0.3271051049232483, 0.5077906250953674, -0.6854076385498047, 0.37418344616889954, 0.4479694962501526, -0.46733713150024414, -0.08950537443161011, -0.8334376215934753, 0.2000233680009842, 0.25854283571243286, -0.57258141040802, 0.16179879009723663, 0.4269900619983673, -0.0419110432267189, 0.057575833052396774, -0.03401979058980942, -0.31210964918136597, 0.502405047416687, -0.3086155354976654, 0.4914119839668274, 0.7640380859375, 0.025657331570982933, 0.2534061670303345, -0.279427170753479, 0.6602559089660645, 0.009576252661645412, 0.08860615640878677, -0.557449996471405, -0.792194664478302, -0.48047763109207153, -0.030215628445148468, 0.3650476336479187, 0.8086971044540405, -0.8507453799247742, 0.36102887988090515, -0.24109196662902832, -0.516573429107666, 0.030492788180708885, -0.21637894213199615, 0.49996864795684814, 0.12806954979896545, 0.026670929044485092, -0.22303561866283417, -0.45202383399009705, -0.7788975834846497, -0.35701584815979004, -0.11507782340049744, 0.12107609212398529, 0.025077100843191147, 0.12866877019405365, -0.4025183618068695, 0.7564411163330078, -0.982797384262085, 0.08808059245347977, -0.27229899168014526, 0.3493020832538605, 0.7909471392631531, 0.10673601180315018, 0.013216910883784294, -0.7542083859443665, -0.06611543893814087, -0.10022717714309692, -0.26167741417884827, 0.10762771964073181, -0.1552123725414276, -0.06948887556791306, 0.27536529302597046, 0.2148580253124237, -0.4110108017921448, 0.40228286385536194, 0.6971727609634399, -0.08346271514892578, 0.423035204410553, -0.6146544218063354, -0.24245195090770721, -1.2081215381622314, -0.343380331993103, 0.08605805784463882, -0.17350977659225464, -0.796924352645874, 0.010947168804705143, -0.12596279382705688, 0.10911675542593002, -0.37684521079063416, -0.04526374861598015, -0.6089227199554443, -0.14138980209827423, -0.1983141154050827, -0.04905296117067337, -0.7365719676017761, 0.2841278314590454, -0.2548710107803345, 0.825168788433075, 0.17892834544181824, -0.8366543650627136, 0.20664826035499573, 0.20644067227840424, -0.604751467704773, 0.01458418183028698, -0.31383857131004333, -0.08259731531143188, -0.15012681484222412, 0.07213848829269409, -1.0985591411590576, -0.2879631221294403, -0.22888223826885223, -0.24685651063919067, 0.314087450504303, -0.031348470598459244, -0.37679892778396606, -0.9601762294769287, -0.037995535880327225, 0.12501423060894012, 0.9409425258636475, -0.5318942666053772, 0.026226254180073738, 0.7356920838356018, 0.40418383479118347, -0.46180060505867004, -0.8132277727127075, 0.14377886056900024, -0.31990209221839905, -0.38481229543685913, 0.31695041060447693, 0.10212437063455582, 0.0925109013915062, -0.2389606088399887, 0.18608470261096954, 0.04443484544754028, -0.0988551452755928, 0.20549046993255615, 0.1251101791858673, 0.01615973748266697, -0.060603413730859756, -0.08861767500638962, -0.26950109004974365, -0.08591106534004211, -0.5660691857337952, 0.8702582716941833, -0.21351143717765808, -0.45781847834587097, 0.04141926020383835, 0.42602354288101196, 0.3674525022506714, 0.18801890313625336, 0.5623686909675598, 0.78437739610672, -0.281730055809021, -0.35014471411705017, -0.3408520519733429, -0.07527970522642136, -0.4617517292499542, 0.4899313747882843, -0.5461541414260864, -0.4680551290512085, 0.5202305316925049, -0.34338706731796265, 0.2065679132938385, 0.2775294780731201, 0.8735380172729492, 0.09322235733270645, 1.0449937582015991, 0.48101067543029785, 0.0751740112900734, 0.5510940551757812, -0.7187003493309021, 0.6898698806762695, -0.4333473742008209, -0.0273072961717844, -0.14797984063625336, -0.28298231959342957, -1.4052009582519531, -0.6205874085426331, 0.6082299947738647, -0.34097984433174133, 0.026824956759810448, 0.7540430426597595, -0.5350947380065918, 0.2781328856945038, 0.9016167521476746, -0.1407824158668518, 0.153527170419693, 0.28027138113975525, -0.36294567584991455, 0.27738505601882935, -0.8920201063156128, -0.3705715239048004, 1.084699034690857, 0.011183435097336769, 0.8252983689308167, 0.3214346468448639, 0.9120951890945435, 0.3085724115371704, 0.014591570012271404, -0.7900200486183167, 0.5786983370780945, -0.3651270270347595, -0.4022302031517029, -0.2063831090927124, -0.2938719391822815, -1.0575999021530151, -0.13660632073879242, -0.37566694617271423, -0.7407522201538086, -0.17577292025089264, 0.1240038201212883, -0.24609509110450745, 0.4114624857902527, -0.6038391590118408, 0.3162820637226105, 0.06901636719703674, 0.0016845271456986666, 0.00883773434907198, -0.532069206237793, 0.6215081214904785, -0.009360458701848984, 0.15055200457572937, -0.02737964317202568, 0.19297489523887634, 0.46464449167251587, -0.5990220904350281, 0.2897588908672333, -0.03601549565792084, -0.35474541783332825, 0.6801997423171997, 0.0033156282734125853, 0.8129187226295471, -0.21815334260463715, -0.038298118859529495, 0.0552172027528286, -0.180756613612175, -0.23197375237941742, -0.22861051559448242, 0.42662835121154785, -0.5061051249504089, -0.34646379947662354, -0.3292877674102783, -0.4600485861301422, -0.08662782609462738, -0.02631353959441185, 0.8599241375923157, 0.5216686129570007, -0.01600443758070469, -0.2532654404640198, 0.5900615453720093, -0.2951663136482239, 0.8515397906303406, -0.17609953880310059, -0.07740398496389389, -0.4730905294418335, 0.9546637535095215, 0.38973450660705566, 0.4341830909252167, 0.3462018370628357, 0.43623173236846924, -0.17923356592655182, -0.5303094983100891, -0.4147339165210724, 0.050988391041755676, -0.23300518095493317, -0.28794634342193604, -0.5282617211341858, -0.43267980217933655, -0.03586187586188316, -0.2028341442346573, -0.2981630861759186, -0.4187086522579193, 0.2917782664299011, 0.009718523360788822, 0.49215996265411377, 0.8677677512168884, -0.133687824010849, 0.6251978874206543, -0.9210352897644043, 0.4388808310031891, 0.211611807346344, 0.10778211802244186, -0.11268392950296402, -0.4086780250072479, -0.0910298302769661, -0.01036794576793909, -0.4714147448539734, -1.2121421098709106, 0.5341032147407532, 0.25328847765922546, 0.4633641839027405, 0.6505010724067688, -0.11595211923122406, 0.7650132775306702, -0.9509643912315369, 0.791375458240509, 0.4147357642650604, -0.6777908802032471, 0.4271044135093689, -0.6143032908439636, 0.3586568832397461, 0.2378394901752472, 0.2817477881908417, -0.5566405057907104, -0.4422231912612915, -0.8198997974395752, -1.1648706197738647, 0.3632114827632904, 0.3810141384601593, 0.4307018220424652, -0.5715990662574768, 0.33788836002349854, 0.1484798640012741, 0.2658809423446655, -0.15316952764987946, -0.25720933079719543, 0.32313260436058044, -0.26385989785194397, -0.0875406265258789, -0.39519375562667847, 0.16408950090408325, 0.28072452545166016, 0.7557975649833679, -0.3282499313354492, 0.7450592517852783, -0.07788494229316711, 0.08799824118614197, 0.025699414312839508, 0.27788785099983215, 0.669563889503479, 0.5053667426109314, -0.05675314739346504, 0.037124231457710266, 0.14112074673175812, -0.731855571269989, 0.23949529230594635, -0.275721937417984, -0.534660816192627, 0.15474842488765717, 0.12241141498088837, 0.704930305480957, 0.12072669714689255, -0.6358678936958313, 0.5067864656448364, 0.05658341199159622, -0.18480367958545685, -0.6674805879592896, 0.14282284677028656, 0.0651262104511261, 0.19314661622047424, 0.39591383934020996, -0.32850828766822815, 0.3250691592693329, -0.6318336725234985, 0.4863918721675873, 0.669795036315918, -0.14957940578460693, -0.16007699072360992, 0.428847074508667, -0.2787059545516968, -0.6763338446617126, 0.7133235335350037, -0.49476712942123413, -0.5918583869934082, 0.5540502071380615, 0.783804714679718, 0.9850926399230957, -0.12794239819049835, 0.3842533826828003, 0.42525893449783325, 0.1530056893825531, -0.3397597074508667, 0.4499676823616028, -0.007999788969755173, -0.6653358936309814, -0.5871121287345886, -0.6474879384040833, -0.32245752215385437, -0.193834587931633, -0.46539080142974854, 0.34956151247024536, -0.12961961328983307, -0.6643646955490112, -0.29450535774230957, -0.08425874263048172, -0.3911587595939636, -0.13006961345672607, 0.35305142402648926, 0.6925802230834961, -0.7924380898475647, 0.5177379846572876, 0.5106688141822815, -0.011742951348423958, -0.9404556751251221, 0.2257908135652542, 0.1302988976240158, -0.8691695332527161, 0.36269307136535645, 0.01770026981830597, 0.04249865561723709, -0.06732641160488129, -0.17013323307037354, -0.9620621204376221, 0.9168461561203003, -0.006660839077085257, -0.6986242532730103, -0.30368316173553467, 0.21635115146636963, 0.18872037529945374, 0.05022302642464638, 0.397065669298172, 0.6482473015785217, 0.3826678693294525, 0.5514736175537109, -0.5529364347457886, -0.15793779492378235, 0.05171124264597893, 0.33597761392593384, 0.803854763507843, -0.3993014991283417, 0.6036036014556885, -0.5560529828071594, -0.1482255607843399, 0.10756270587444305, 0.8140580058097839, 0.3642934560775757, 0.012642383575439453, 0.5659683346748352, 0.7312633991241455, 0.860682487487793, -0.1875613033771515, 1.1468746662139893, -0.3310384750366211, 0.4402449429035187, 0.8996140956878662, 0.1171928346157074, 0.6989080905914307, 0.35193851590156555, -0.592216968536377, 0.5607380270957947, 0.39867231249809265, -0.009156697429716587, 0.6692423820495605, 0.7732163667678833, -0.29576900601387024, 0.05226550251245499, 0.2444877177476883, 0.016950860619544983, 0.5805469155311584, 0.2770475447177887, -0.3066568076610565, -0.16409547626972198, -0.09034958481788635, 0.12084507942199707, -0.23033957183361053, -0.10507343709468842, 0.7850560545921326, 0.13630364835262299, -0.8625907301902771, 0.5668278336524963, -0.006484095938503742, 0.7604768872261047, -0.39423567056655884, 0.01660609245300293, -0.009124044328927994, 0.33521702885627747, -0.2783867120742798, -0.6641421914100647, 0.24705515801906586, 0.05211767554283142, 0.006049048621207476, 0.002162512158975005, 0.4635913372039795, -0.3721126317977905, -0.6027135252952576, -0.22878800332546234, 0.29665452241897583, 0.24826274812221527, 0.3344757854938507, -0.2760483920574188, -0.42296046018600464, -0.07478035241365433, -0.6000558137893677, 0.13836616277694702, 0.31814485788345337, -0.2187945693731308, 0.5773258209228516, 0.7384501099586487, 0.37473833560943604, 0.9703470468521118, 0.1360253244638443, 0.36450445652008057, -0.6294690370559692, -0.5651907920837402, -0.837273120880127, 0.3765777349472046, 0.04998233541846275, -0.14767591655254364, 0.47451409697532654, 0.30926647782325745, 0.49667397141456604, -0.10942728072404861, 0.5515425801277161, -0.20927074551582336, 0.07085354626178741, -0.47897496819496155, 0.31570735573768616, -0.2536742687225342, -0.021542740985751152, -0.4335630238056183, -1.027161717414856, -0.08457915484905243, 0.38369131088256836, -0.037353817373514175, -0.0643983706831932, 0.6310573220252991, 0.6178669333457947, 0.1564921736717224, 0.14782696962356567, 0.34760335087776184, 0.08841285854578018, 0.5548115372657776, 0.7914878726005554, 0.6346205472946167, -0.5962899923324585, 0.5382369160652161, -0.13657382130622864, -0.29084542393684387, -0.22144025564193726, -1.0840961933135986, -0.28222858905792236, -0.8164066672325134, -0.25554826855659485, -0.4786941111087799, 0.15297488868236542, 0.7230345606803894, 0.6362130045890808, -0.5471928119659424, -0.14776721596717834, -0.5697427988052368, 0.12706361711025238, -0.2402208000421524, -0.2054682970046997, 0.23330157995224, -0.3415049612522125, -0.6574127078056335, 0.16116343438625336, 0.1661580353975296, 0.040383562445640564, -0.2502954304218292, 0.15605351328849792, -0.32609879970550537, 0.34897783398628235, 0.6710108518600464, 0.21273893117904663, -0.446611225605011, -0.275917112827301, -0.014022467657923698, 0.16770033538341522, 0.037494633346796036, 0.8118976354598999, -0.7472630739212036, 0.09501562267541885, 0.687657356262207, 0.5402615070343018, 0.649613082408905, -0.06001278758049011, 0.6776787042617798, -0.3547295928001404, -0.029627932235598564, -0.08536307513713837, 0.2194628268480301, -0.01656169630587101, -0.34877654910087585, 0.5819404125213623, -0.029539315029978752, -0.5887885689735413, -0.7877963185310364, 0.6917180418968201, -0.9391930103302002, 0.1638953685760498, 1.291625738143921, 0.008715858682990074, -0.5853039026260376, 0.331076443195343, 0.10269095003604889, 0.5717968344688416, -0.06374236941337585, 0.6374184489250183, 0.5119531750679016, -0.13628090918064117, 0.13610830903053284, -0.6888369917869568, 0.3483497202396393, 0.17576761543750763, -0.6356775760650635, -0.1768110692501068, 0.14451082050800323, 0.06774356961250305, 0.38197144865989685, 0.3500915765762329, -0.2658291459083557, -0.052649449557065964, -0.04586481302976608, -0.00013570970622822642, 0.25953400135040283, -0.305111289024353, -0.28424638509750366, 0.5147446990013123, -0.03618926927447319, -0.3167823553085327 ]
http://arxiv.org/abs/2403.13112v2
http://arxiv.org/pdf/2403.13112v2
Efficient Encoder-Decoder Transformer Decoding for Decomposable Tasks
2024-03-19T19:27:23
2024-05-23T17:17:26
Bo-Ru Lu, Nikita Haduong, Chien-Yu Lin, Hao Cheng, Noah A. Smith, Mari Ostendorf
cs.CL
cs.CL
Transformer-based NLP models are powerful but have high computational costs that limit deployment. Finetuned encoder-decoder models are popular in specialized domains and can outperform larger more generalized decoder-only models, such as GPT-4. We introduce a new configuration for encoder-decoder models that improves efficiency on structured output and decomposable tasks where multiple outputs are required for a single shared input. Our method, prompt-in-decoder (PiD), encodes the input once and decodes the output in parallel, boosting both training and inference efficiency by avoiding duplicate input encoding and increasing the operational intensity (ratio of numbers of arithmetic operation to memory access) of decoding process by sharing the input key-value cache. We achieve computation reduction that roughly scales with the number of subtasks, gaining up to 4.6x speed-up over state-of-the-art models for dialogue state tracking, summarization, and question-answering tasks, with comparable or better performance.
[ -0.359483540058136, -0.47573912143707275, 0.31221166253089905, 0.3699018359184265, -0.28067144751548767, -0.24212802946567535, -0.1695302575826645, -0.052484191954135895, -0.07044851034879684, 0.4981120824813843, -0.540669858455658, -0.23119039833545685, -0.7866728901863098, 0.34785595536231995, -0.19334697723388672, 0.9098167419433594, 0.1454169899225235, 0.009509501978754997, -0.2977103590965271, 0.034555308520793915, -0.6348028182983398, -0.6850959658622742, -0.8099128007888794, -0.2363917976617813, 0.21587403118610382, 0.365609735250473, 0.4758053421974182, 0.3270231783390045, 0.7864212393760681, 0.21375378966331482, -0.0533098429441452, 0.16237713396549225, -0.4134368300437927, 0.32526400685310364, -0.006486398633569479, -0.32294777035713196, -0.6619553565979004, -0.26819953322410583, 0.4718863368034363, 0.729563295841217, -0.2628554403781891, 0.016889628022909164, 0.3049154579639435, 0.5254144668579102, -0.7582853436470032, 0.6326172947883606, -0.4450933039188385, -0.016420859843492508, -0.0195725467056036, -0.29828885197639465, -0.5653270483016968, -0.2810792922973633, -0.19182108342647552, -0.411721795797348, 0.37706458568573, -0.2928412854671478, 0.5044004321098328, 0.5040599703788757, -0.023841071873903275, -0.29706117510795593, -0.6005846858024597, 0.37315309047698975, -0.6321587562561035, 0.5198104977607727, 0.43183428049087524, 0.12373733520507812, 0.13510389626026154, -0.8606784343719482, -0.5773613452911377, 0.12948712706565857, -0.33447766304016113, 0.2870331406593323, -0.46752145886421204, 0.3548121750354767, 0.39841586351394653, 0.4605334997177124, -0.4873868227005005, -0.18145789206027985, -0.21996058523654938, 0.10152292996644974, 0.2191953808069229, 0.2891697287559509, 0.18976770341396332, -0.13910236954689026, 0.011208154261112213, 0.034432053565979004, -0.5560263395309448, 0.28924623131752014, 0.048999566584825516, 0.19210082292556763, 0.04459104314446449, 0.4647236764431, -0.4300850033760071, 0.5740020871162415, 0.31820324063301086, -0.01757740043103695, 0.17241449654102325, -0.5968056917190552, -0.10905467718839645, -0.05886580049991608, 0.612697958946228, 0.4847392141819, -0.09284381568431854, -0.3722890019416809, -0.2705233097076416, 0.24593161046504974, 0.3861975371837616, -1.0086058378219604, -0.34884804487228394, 0.08322920650243759, -0.4313039183616638, 0.1621897667646408, -0.14532338082790375, -0.5473048090934753, -0.013380083255469799, 0.004111776128411293, 0.3710460364818573, -0.5562571287155151, -0.10886242240667343, 0.5813831686973572, -0.24311888217926025, 0.18071848154067993, 0.36560553312301636, -1.103098750114441, 0.6546597480773926, 0.7483713626861572, 1.0223197937011719, -0.48633334040641785, -0.11164486408233643, -0.7786334156990051, -0.07995306700468063, -0.19656145572662354, 0.7113344073295593, -0.5953431725502014, -0.3109219968318939, -0.21362783014774323, 0.16602210700511932, -0.4454035758972168, -0.49342092871665955, 0.7081626653671265, -0.5899085402488708, 0.030939020216464996, -0.2954970598220825, -0.6915034055709839, -0.2211480438709259, 0.22303281724452972, -0.8155843615531921, 0.8403922915458679, 0.15684059262275696, -0.7105345726013184, 0.10458774119615555, -1.1460413932800293, -0.3426089286804199, 0.236909881234169, 0.265002965927124, -0.20548570156097412, 0.21603254973888397, 0.5957791209220886, 0.685286819934845, -0.3205994963645935, 0.36028751730918884, 0.20782701671123505, -0.4891833961009979, -0.18104788661003113, -0.5458424091339111, 0.6212450265884399, 0.21759000420570374, -0.06699050962924957, 0.06721264868974686, -0.48148009181022644, -0.279930055141449, -0.02363220974802971, -0.560309112071991, -0.06828543543815613, -0.1441802829504013, -0.17735852301120758, -0.05839274078607559, 0.286284863948822, -0.6829444169998169, 0.23524722456932068, -0.4066880941390991, 0.5229055285453796, 0.251910537481308, 0.05095776915550232, 0.5991714000701904, -0.2768506109714508, 0.64012610912323, -0.12261247634887695, 0.02946496196091175, -0.6934522986412048, -0.5916885137557983, -0.6849700808525085, -0.4453744888305664, 0.16231441497802734, 0.5673596858978271, -0.8718810081481934, 0.3695221245288849, -0.42707559466362, -0.3708988130092621, -0.542000412940979, -0.329759418964386, 0.360917329788208, 0.5764681696891785, 0.417838990688324, -0.2446819394826889, -0.2044207900762558, -0.6188621520996094, -0.34699344635009766, 0.3321115970611572, -0.352365106344223, 0.02707354538142681, 0.3842075765132904, -0.21717573702335358, 0.7861432433128357, -0.4003199636936188, -0.06408681720495224, -0.7201172113418579, -0.09063486754894257, 0.47647005319595337, 0.6109018325805664, 0.296794593334198, -0.5189051032066345, -0.5912205576896667, -0.08308170735836029, -0.5049816966056824, -0.1616535484790802, -0.18705065548419952, -0.020614173263311386, 0.0914519727230072, 0.42840245366096497, -0.9871329665184021, 0.256596177816391, 0.5660017728805542, -0.3888549208641052, 0.33943042159080505, -0.3867521286010742, 0.3151110112667084, -0.8360282182693481, -0.13502433896064758, -0.3943062722682953, -0.2698366045951843, -0.8819200396537781, 0.06550995260477066, 0.309551477432251, -0.29172173142433167, -0.20320048928260803, 0.0821131244301796, -0.3696047365665436, -0.030541809275746346, -0.21384426951408386, -0.3028118908405304, 0.2650211751461029, 0.8288477063179016, 0.22339148819446564, 1.0178536176681519, 0.4808385670185089, -0.6125003695487976, 0.2074972689151764, 0.2942832410335541, -0.0985468178987503, 0.24921977519989014, -0.931290864944458, 0.32744041085243225, -0.1948556751012802, 0.3215654492378235, -0.6455093026161194, -0.15641950070858002, 0.30416083335876465, -0.19814926385879517, 0.2478441298007965, -0.12470188736915588, -0.41594332456588745, -0.11368926614522934, -0.21370185911655426, 0.5772876739501953, 0.5880040526390076, -0.7272887825965881, 0.6833088994026184, 0.15365222096443176, -0.4331510365009308, -0.3410908579826355, -0.501103401184082, -0.04449896514415741, -0.05418648570775986, -0.5653650760650635, 0.6471124887466431, 0.11866605281829834, 0.28639987111091614, 0.013761226087808609, -0.13994450867176056, -0.11404820531606674, -0.16804899275302887, 0.20980064570903778, 0.015098086558282375, -0.14314782619476318, 0.10513041913509369, 0.2678188681602478, -0.3319319188594818, 0.01270281057804823, -0.23522059619426727, 0.6776940226554871, -0.22147004306316376, -0.3780103921890259, -0.6121604442596436, 0.8607840538024902, 0.5625578165054321, -0.46959352493286133, 0.7617872953414917, 0.438050776720047, -0.5311898589134216, 0.03765104338526726, -0.34574779868125916, -0.22514237463474274, -0.47546324133872986, 0.45848220586776733, -0.6371898055076599, -0.8669388294219971, 0.39447495341300964, -0.15129487216472626, 0.11289849877357483, 0.46586963534355164, 0.3707023859024048, -0.00355581846088171, 0.817710280418396, 0.6471247673034668, 0.2930300235748291, 0.3604441285133362, -0.3559417426586151, 0.45127302408218384, -0.7990907430648804, -0.30956894159317017, -0.4807884991168976, 0.025014905259013176, -0.16837692260742188, -0.6738853454589844, 0.44005247950553894, 0.11378155648708344, -0.26008281111717224, 0.3808863162994385, -0.7844341993331909, 0.5654047727584839, 0.7722581624984741, 0.232558473944664, 0.41046279668807983, -0.14987792074680328, 0.41246211528778076, -0.14386139810085297, -1.1328376531600952, -0.40901753306388855, 0.9882819056510925, 0.23363178968429565, 0.660880446434021, -0.1252487301826477, 0.5893354415893555, 0.2205968052148819, -0.14527031779289246, -0.676454484462738, 0.35690900683403015, -0.4108366072177887, -0.004591434262692928, -0.25720441341400146, -0.2004275619983673, -0.7940813302993774, 0.3107360303401947, -0.02695152349770069, -0.527360737323761, 0.4226754605770111, 0.2831420600414276, -0.559630274772644, 0.322954386472702, -0.8580583930015564, 1.0580605268478394, 0.20772206783294678, 0.0953008234500885, -0.22127999365329742, -0.2688180208206177, 0.34802675247192383, 0.1196381151676178, -0.26487889885902405, 0.06432923674583435, 0.033582478761672974, 0.6825945973396301, -0.42407023906707764, 0.6024881601333618, -0.3320566713809967, 0.25574713945388794, 0.06170492619276047, -0.11174134910106659, 0.7042360901832581, 0.027038881555199623, -0.15916411578655243, 0.31219223141670227, 0.04366012662649155, -0.21340398490428925, -0.8791212439537048, 0.32028961181640625, -0.4902136027812958, -0.400848388671875, -0.21589548885822296, -0.6735484600067139, -0.027928892523050308, -0.14828486740589142, 0.6118171811103821, 0.6933449506759644, -0.09808224439620972, 0.32881802320480347, 0.7804074287414551, -0.19370663166046143, 0.5702489018440247, 0.027717942371964455, 0.42016303539276123, -0.1844715178012848, 0.7353286147117615, -0.04018356651067734, 0.33370569348335266, 0.5407407879829407, -0.01982622966170311, -0.37430596351623535, -0.5422796607017517, -0.1598488688468933, 0.017813874408602715, -0.6519928574562073, -0.42868760228157043, -1.1415623426437378, -0.15250280499458313, -0.2975325286388397, -0.3903460204601288, -0.7177011370658875, -0.4476281404495239, -0.2225392907857895, 0.07539825141429901, 0.34007498621940613, 0.4528391361236572, 0.08019062876701355, 0.6336607336997986, -0.8247202634811401, 0.8084753751754761, 0.29289424419403076, 0.4137371778488159, -0.19786164164543152, -0.4101603329181671, -0.2798784375190735, -0.15184250473976135, -0.13253545761108398, -0.9150409698486328, 0.573879599571228, 0.3673548996448517, 0.4059390425682068, 0.13292039930820465, 0.49514177441596985, 0.4589608609676361, -0.6344410181045532, 0.6898749470710754, 0.24260416626930237, -1.0804615020751953, 0.32124894857406616, -0.12308642268180847, 0.7534938454627991, 0.3206701874732971, 0.2625623643398285, -0.5801658034324646, -0.10475845634937286, -0.2736366093158722, -0.7332830429077148, 0.9477351307868958, 0.34669339656829834, 0.1629122495651245, -0.12330935150384903, 0.1750580221414566, 0.40600332617759705, 0.0034895024728029966, -0.41473597288131714, 0.038594167679548264, -0.5972822904586792, -0.2774212956428528, 0.054620902985334396, -0.627182126045227, 0.07327748090028763, -0.40701961517333984, 0.48184362053871155, -0.15005552768707275, 0.8362919092178345, 0.21586111187934875, -0.23338711261749268, 0.5840250849723816, 0.4718901813030243, 0.3657117486000061, 0.23481088876724243, -0.17168079316616058, 0.14519450068473816, 0.27715232968330383, -0.6049799919128418, 0.055294644087553024, 0.09651350975036621, -0.013348106294870377, 0.3137025237083435, 0.1289919763803482, 1.0998538732528687, 0.15675997734069824, -0.37624648213386536, 0.5456365942955017, -0.4318101704120636, -0.12008260190486908, -0.10345398634672165, 0.14137618243694305, 0.22667233645915985, 0.2976866066455841, 0.20883652567863464, 0.4175640940666199, 0.49073928594589233, -0.08497895300388336, 0.016894454136490822, 0.14620503783226013, 0.1250411719083786, -0.3435131311416626, 0.5396735668182373, 0.5077900886535645, -0.437034547328949, 0.782338559627533, -0.5890089869499207, -0.4340195655822754, 0.4172278344631195, 0.60318922996521, 1.0567272901535034, -0.16750890016555786, 0.009971186518669128, 0.4745122492313385, 0.2266935557126999, -0.2140338271856308, 0.25809869170188904, -0.3358127772808075, -0.8017526268959045, -0.6248983144760132, -0.5923452377319336, -0.45781978964805603, -0.07497614622116089, -0.8299118280410767, -0.14471498131752014, -0.05662652105093002, 0.014290407299995422, -0.15291213989257812, -0.4042242467403412, -0.8002018928527832, -0.15739373862743378, -0.23553314805030823, 0.6657567620277405, -0.3828856647014618, 0.8124885559082031, 0.3274954557418823, 0.05348839610815048, -0.595304548740387, -0.15425771474838257, -0.4904799461364746, -0.30507200956344604, 0.48081427812576294, 0.4027674198150635, -0.22043702006340027, 0.13467805087566376, -0.028052352368831635, -0.6229497790336609, 0.9103495478630066, 0.6781628727912903, -0.7126277089118958, -0.33437642455101013, 0.1545872837305069, 0.14484909176826477, -0.49618029594421387, 0.39397186040878296, 0.8644745349884033, 0.24663423001766205, -0.3312256634235382, -1.0074658393859863, 0.06513457000255585, -0.49217650294303894, 0.152022585272789, 0.027008527889847755, -0.10153303295373917, 0.881255567073822, -0.1278475672006607, -0.36010533571243286, -0.14365017414093018, 0.40716180205345154, 0.09843344241380692, 0.19855140149593353, 0.3815278708934784, 0.3254511058330536, 0.5730563998222351, -0.39133593440055847, 1.2119499444961548, -0.5020213723182678, 0.27926942706108093, 0.9398584961891174, 0.30091601610183716, 0.6536274552345276, 0.30168548226356506, -0.10961903631687164, 0.14111974835395813, 0.2914014756679535, 0.09494835883378983, 0.7475262880325317, -0.31140902638435364, -0.3876904547214508, -0.3199422359466553, 0.09185361117124557, -0.249906986951828, 0.47430843114852905, 0.44708046317100525, -0.08635115623474121, -0.26094019412994385, 0.35518959164619446, -0.10517607629299164, 0.00883224606513977, -0.35565119981765747, 0.7995707988739014, -0.14337319135665894, -0.6654177308082581, 0.7384020686149597, 0.08839308470487595, 1.0747430324554443, -0.5614601373672485, -0.13000956177711487, -0.29369792342185974, 0.19357351958751678, -0.18004478514194489, -0.6011582016944885, 0.6520679593086243, 0.1208033561706543, -0.41972261667251587, -0.5576456189155579, 0.6913434863090515, -0.5237073302268982, -0.320671409368515, -0.0058975303545594215, 0.38199061155319214, 0.22507859766483307, -0.5902666449546814, -0.32085299491882324, 0.15398961305618286, -0.0989750549197197, -0.2675190567970276, 0.037805717438459396, 0.3006940186023712, 0.2065357267856598, 0.5219444632530212, 0.487411767244339, -0.1910974383354187, 0.3004625737667084, 0.2121599018573761, 0.8183427453041077, -0.6477134227752686, -0.7705142498016357, -0.64475017786026, 0.5463605523109436, 0.03228333219885826, -0.16241277754306793, 0.542523205280304, 0.3773784935474396, 0.86346036195755, -0.429831862449646, 0.6877661347389221, -0.02131486125290394, 0.318656325340271, -0.49556776881217957, 0.6007810831069946, -0.08611978590488434, 0.23430828750133514, -0.1313929259777069, -0.7280771732330322, -0.284145712852478, 0.5864617824554443, -0.06787916272878647, -0.1201813593506813, 0.7310386896133423, 0.6987163424491882, -0.14583928883075714, 0.2872263789176941, 0.32006850838661194, -0.338547021150589, 0.3580594062805176, 0.6350880861282349, 0.6152011156082153, -0.37953460216522217, 0.40710023045539856, -0.45029979944229126, -0.14574091136455536, -0.05511357635259628, -0.5817986726760864, -0.7144162058830261, -0.5435693264007568, -0.3428348898887634, 0.21680577099323273, 0.24368120729923248, 0.6233640313148499, 0.6661157608032227, -0.6717113256454468, -0.04867929220199585, -0.47356510162353516, -0.12383852154016495, -0.5385442972183228, -0.20602239668369293, 0.44040027260780334, -0.6789398193359375, -1.0336312055587769, 0.3331800103187561, 0.396926611661911, -0.28282320499420166, 0.20426017045974731, -0.25838708877563477, 0.20680317282676697, 0.027542557567358017, 0.7619010210037231, 0.04058973863720894, -0.6525248885154724, 0.03672424703836441, 0.1438564956188202, 0.08830822259187698, 0.23993952572345734, 0.9579725861549377, -0.7619549632072449, 0.35819384455680847, 0.6655272841453552, 0.9980848431587219, 0.7100062966346741, 0.09912015497684479, 0.6538622975349426, -0.5301982760429382, 0.1337229162454605, 0.4070916473865509, 0.42770078778266907, 0.2962568700313568, -0.5221933722496033, 0.3674428462982178, 0.09588313102722168, -0.5148897171020508, -0.5517668128013611, 0.15635180473327637, -1.0237083435058594, -0.16974443197250366, 0.8771466612815857, -0.4937044382095337, 0.037372905761003494, -0.22431321442127228, -0.15033060312271118, 0.1831202507019043, -0.6366721391677856, 0.3286646902561188, 0.36728498339653015, -0.5669365525245667, -0.562831461429596, -0.35883039236068726, 0.5707595944404602, 0.3988966941833496, -0.7793081998825073, 0.22810450196266174, 0.34113365411758423, 0.03322521969676018, -0.012856652960181236, 0.8585253953933716, -0.07281742244958878, 0.5013524293899536, 0.4069916009902954, 0.24057474732398987, -0.3839453458786011, -0.3496464490890503, -0.5191361308097839, 0.5552443861961365, -0.2678726315498352, -0.605590283870697 ]
http://arxiv.org/abs/2403.13107v2
http://arxiv.org/pdf/2403.13107v2
Towards Unsupervised Question Answering System with Multi-level Summarization for Legal Text
2024-03-19T19:15:13
2024-07-02T03:35:53
M Manvith Prabhu, Haricharana Srinivasa, Anand Kumar M
cs.CL
cs.CL, cs.CY, cs.LG
This paper summarizes Team SCaLAR's work on SemEval-2024 Task 5: Legal Argument Reasoning in Civil Procedure. To address this Binary Classification task, which was daunting due to the complexity of the Legal Texts involved, we propose a simple yet novel similarity and distance-based unsupervised approach to generate labels. Further, we explore the Multi-level fusion of Legal-Bert embeddings using ensemble features, including CNN, GRU, and LSTM. To address the lengthy nature of Legal explanation in the dataset, we introduce T5-based segment-wise summarization, which successfully retained crucial information, enhancing the model's performance. Our unsupervised system witnessed a 20-point increase in macro F1-score on the development set and a 10-point increase on the test set, which is promising given its uncomplicated architecture.
[ -0.32938462495803833, -0.4364716112613678, 0.638740599155426, -0.12034543603658676, -0.6611785888671875, 0.019195379689335823, 0.14219212532043457, -0.1660841405391693, -0.02398941107094288, 0.5630843043327332, -0.1191479042172432, -0.6486030220985413, -0.37823617458343506, 0.028134167194366455, -0.4746885299682617, 1.3123918771743774, 0.3625093996524811, 0.2149699628353119, -0.5439378023147583, -0.4625966250896454, -0.20505674183368683, -0.4373345375061035, -0.3132786452770233, -0.08764135837554932, 0.45840418338775635, 0.4400777518749237, 0.15513619780540466, 0.49052703380584717, 0.4246187210083008, 0.3414006531238556, -0.29498982429504395, -0.07886835187673569, -0.2041538655757904, 0.3603881597518921, -0.2418924868106842, -0.4379623532295227, -0.2553596794605255, -0.4733123481273651, 0.5466155409812927, 0.47002044320106506, -0.15465301275253296, 0.15269973874092102, -0.20359918475151062, 0.4564439356327057, -0.3616585433483124, 0.019211838021874428, -0.44593530893325806, 0.0747624933719635, 0.07960719615221024, -0.18517038226127625, -0.17758822441101074, -0.3886175751686096, 0.16754058003425598, -0.42699873447418213, 0.26234838366508484, -0.06727936118841171, 0.7350064516067505, 0.6427862644195557, -0.5635526180267334, -0.13478323817253113, -0.40492963790893555, 0.33141613006591797, -0.8968963623046875, 0.09676771610975266, -0.20071610808372498, 0.5381382703781128, 0.028491171076893806, -0.8125212788581848, -0.3579196631908417, 0.307718962430954, 0.0782288983464241, 0.44385913014411926, -0.08111068606376648, 0.05755848065018654, 0.06001325696706772, 0.09935151785612106, -0.5236079692840576, -0.02043837122619152, -0.8390776515007019, -0.2745538353919983, 0.781586229801178, 0.11148999631404877, 0.1846179962158203, -0.20045088231563568, -0.15749424695968628, 0.19668252766132355, -0.43630293011665344, 0.30655714869499207, 0.18048875033855438, 0.01699032634496689, 0.09974244236946106, 0.6085534691810608, -0.06307081133127213, 0.49007195234298706, 0.10702633112668991, 0.06290005147457123, 0.20055606961250305, -0.12728111445903778, -0.3334612548351288, 0.3967040777206421, 0.8074727654457092, 0.33976906538009644, 0.07557816058397293, 0.008160028606653214, -0.058337870985269547, -0.45493459701538086, 0.16160565614700317, -0.7096589207649231, -0.01196193229407072, 0.71018385887146, -0.6826668977737427, -0.5341079235076904, 0.17551517486572266, -0.9256076812744141, -0.5227404236793518, -0.08808253705501556, 0.23433437943458557, -0.3395388424396515, 0.0353466160595417, 0.18496909737586975, -0.4380735754966736, 0.5842003226280212, 0.5015567541122437, -0.5784458518028259, 0.06445785611867905, 0.6395148038864136, 0.2547561526298523, 0.11509329825639725, 0.054972417652606964, -0.5992684960365295, 0.4433343708515167, -0.2615382671356201, 0.9672971963882446, -0.7103379368782043, -0.20862096548080444, -0.14367413520812988, 0.062042076140642166, 0.25568366050720215, -0.45322391390800476, 0.6287313103675842, -0.5764707326889038, 0.480563759803772, -0.26661914587020874, -0.6707530617713928, -0.3184705376625061, 0.24665921926498413, -0.3458873927593231, 0.9569743275642395, -0.32833102345466614, -0.9044290781021118, 0.5544956922531128, -0.8714319467544556, -0.6413154006004333, 0.37796905636787415, -0.2573547661304474, -0.5828812122344971, 0.0645500048995018, 0.5665619373321533, 0.501985490322113, 0.044145308434963226, 0.45156529545783997, -0.27513614296913147, -0.28256478905677795, -0.044034700840711594, 0.001320157083682716, 1.0268069505691528, 0.3585203289985657, -0.3663080036640167, 0.45346540212631226, -0.5915958881378174, -0.19160111248493195, -0.15489009022712708, -0.574626088142395, -0.3487027883529663, 0.06239879131317139, -0.5596031546592712, 0.2631652057170868, 0.32578980922698975, -0.6918815970420837, -0.03608245775103569, -0.29400891065597534, 0.4729064702987671, 0.4957176744937897, 0.44045543670654297, 0.22299830615520477, -0.018904823809862137, 0.6108382940292358, 0.24959491193294525, -0.09168387204408646, -0.3876687288284302, -0.5655781030654907, -0.7183846235275269, -0.12488038837909698, 0.5831188559532166, 0.7556037902832031, -0.6056630611419678, 0.34339630603790283, -0.36190322041511536, -0.25137078762054443, -0.6262302994728088, -0.36114275455474854, 0.3322999179363251, 0.4616721570491791, 0.4396986961364746, 0.1981581598520279, -0.5202831029891968, -1.0206178426742554, -0.2960251271724701, -0.08806406706571579, -0.12956684827804565, 0.24333809316158295, 0.7807044982910156, 0.06150035187602043, 0.7400640249252319, -0.36653703451156616, -0.15485018491744995, -0.31178587675094604, 0.4825984239578247, 0.1865393966436386, 0.25866809487342834, 0.46839413046836853, -0.6550496816635132, -0.26110756397247314, 0.10617125779390335, -0.7598890662193298, -0.21573108434677124, -0.029909078031778336, 0.20587396621704102, 0.177138552069664, 0.7881263494491577, -0.07000990211963654, 0.3124385178089142, -0.30377697944641113, -0.3865456283092499, 0.2843469977378845, -0.5186968445777893, 0.383788138628006, -1.4192510843276978, -0.07176004350185394, -0.04664844647049904, -0.3702847361564636, -0.48198333382606506, 0.12498734891414642, -0.12081373482942581, -0.3399648666381836, -0.6436586976051331, 0.03105083294212818, -0.31146571040153503, -0.4317303001880646, -0.16373315453529358, 0.09802867472171783, -0.06000738963484764, 0.5433793663978577, -0.08649968355894089, 0.55026775598526, 0.6233037710189819, -0.44680848717689514, 0.5323848128318787, 0.2049221396446228, -0.14117662608623505, 0.7144871354103088, -0.8719558715820312, -0.10234946757555008, -0.6370664834976196, 0.27337491512298584, -1.0434123277664185, -0.34348064661026, -0.07321780920028687, -0.606301486492157, 0.04589814692735672, -0.30476880073547363, -0.47256407141685486, -0.41045457124710083, -0.37891852855682373, 0.3380773663520813, 0.5245150923728943, -0.14223089814186096, 0.6233637928962708, 0.6117364168167114, -0.4878106117248535, -0.5702188014984131, -0.7275959849357605, 0.06731703877449036, -0.6375433206558228, -0.573008120059967, 0.13526925444602966, 0.2475712150335312, -0.27658990025520325, 0.16936372220516205, 0.07850877195596695, -0.3817940056324005, -0.19054102897644043, 0.043752238154411316, -0.17208139598369598, -0.31506869196891785, 0.36759960651397705, 0.5532287955284119, 0.20193205773830414, 0.4328492283821106, -0.20886126160621643, -0.03674876317381859, -0.4561057388782501, -0.22772632539272308, -0.09771770983934402, 0.7372823357582092, 0.6495106816291809, -0.5245522856712341, 0.25480687618255615, 0.394025057554245, -0.3395414650440216, 0.03280854970216751, -0.4439273476600647, 0.07470989227294922, -0.3495248556137085, 0.22887414693832397, -0.44588276743888855, -1.1172528266906738, 0.6500777006149292, -0.010565136559307575, 0.411742627620697, 0.7823298573493958, 0.6217848658561707, -0.4808647930622101, 0.8026213049888611, 0.15130504965782166, 0.03364206850528717, -0.10067229717969894, 0.12490423023700714, 0.11281485110521317, -0.47424742579460144, -0.5806623101234436, -0.6736223697662354, -0.1253296583890915, -0.587780237197876, -0.4404253661632538, 0.6686449646949768, -0.1665610522031784, -0.3795033097267151, 0.1125735342502594, -0.6381493806838989, 0.7474803328514099, 0.652420163154602, -0.10265493392944336, 0.18002650141716003, -0.18990033864974976, -0.49213600158691406, 0.1823369562625885, -0.6993434429168701, -0.3754335641860962, 0.8474069833755493, 0.22429440915584564, 0.462461918592453, 0.3336617350578308, 0.9229479432106018, 0.4152284860610962, -0.3200083076953888, -0.4883030652999878, 0.7302260994911194, -0.3520689308643341, -0.5814617872238159, -0.7468523383140564, -0.20460960268974304, -0.9887561202049255, 0.5659402012825012, -0.2829197645187378, -0.5400195121765137, 0.18925277888774872, -0.15700794756412506, -0.7809354066848755, 0.1832238733768463, -0.4364515542984009, 0.8108754754066467, -0.2831839323043823, -0.21753820776939392, -0.12667474150657654, -1.0761839151382446, 0.3496561348438263, 0.04929876700043678, 0.3132844567298889, 0.10022853314876556, 0.13422666490077972, 0.9147427082061768, -0.6855738162994385, 0.5528165102005005, -0.31494706869125366, -0.2016495317220688, 0.5994688272476196, -0.34617218375205994, 0.10458099097013474, 0.05324440449476242, 0.20077989995479584, -0.3533521294593811, 0.34865665435791016, -0.2929632365703583, -0.7347056865692139, 0.4424397051334381, -0.34061816334724426, -0.6840426325798035, -0.4474976360797882, -0.6545146703720093, 0.03557741641998291, 0.28168490529060364, 0.04218762367963791, 0.49003344774246216, 0.01746438816189766, 0.496442973613739, 1.079281210899353, -0.4573531746864319, 0.5262612700462341, 0.40441715717315674, 0.163216695189476, -0.5063075423240662, 0.9476134777069092, -0.1488739252090454, -0.4421062171459198, 0.5741169452667236, 0.3956403136253357, -0.9039891958236694, -0.4763437807559967, -0.5203050971031189, 0.06404595077037811, -0.8892360329627991, -0.12392772734165192, -0.7064864635467529, -0.2289435714483261, -0.665469765663147, 0.026749130338430405, 0.13276685774326324, -0.6732094883918762, -0.17135851085186005, -0.15530981123447418, 0.12979258596897125, 0.8109943866729736, 0.11561083793640137, -0.2483913153409958, -0.8562630414962769, 0.21999454498291016, 0.48648086190223694, 0.10974728316068649, -0.3656120300292969, -0.751489520072937, 0.13886068761348724, -0.14962664246559143, -0.19157995283603668, -0.8572878241539001, -0.036858681589365005, -0.14208567142486572, 0.6853161454200745, 0.5953308939933777, 0.31407907605171204, 0.6724323630332947, -0.5219368934631348, 0.7912231683731079, 0.004900917410850525, -0.8994798064231873, 0.815031886100769, -0.6029256582260132, 0.24417302012443542, 0.5357527136802673, 0.17040148377418518, -0.15536752343177795, -0.6557623147964478, -0.7625506520271301, -0.8582740426063538, 0.35910695791244507, 0.09680436551570892, -0.15730787813663483, 0.2598235309123993, 0.232349693775177, -0.04803144186735153, 0.206244096159935, -0.7100868821144104, 0.14234596490859985, -0.4434056878089905, -0.42085468769073486, 0.4046952426433563, -0.28296229243278503, -0.0978696271777153, -0.5285831093788147, 0.4827321767807007, -0.03786015510559082, 0.2771226167678833, 0.2047683298587799, -0.05710401386022568, 0.4305869936943054, 0.8686790466308594, 1.1328651905059814, 0.503032386302948, -0.09420781582593918, 0.2848816514015198, 0.44507646560668945, 0.02489786222577095, 0.24698401987552643, 0.2955356240272522, -0.10073855519294739, 0.0444754995405674, 0.4984334111213684, 0.6030478477478027, 0.0470346137881279, -0.6436801552772522, 0.6620886325836182, 0.11805323511362076, -0.7511983513832092, -0.16463516652584076, -0.22461631894111633, 0.326272189617157, 0.5465889573097229, 0.3566909432411194, -0.38972923159599304, 0.4255245327949524, -0.3873743712902069, 0.3590783476829529, 0.1972450613975525, -0.5657331943511963, 0.13687478005886078, 1.0162110328674316, 0.43812480568885803, 0.06485261768102646, 0.10370053350925446, -0.10792216658592224, -0.633510172367096, 0.8394579291343689, 0.2142808586359024, 0.5440376996994019, -0.1490747034549713, 0.3022587299346924, 0.31656938791275024, 0.2575076222419739, 0.1142648309469223, 0.551908552646637, -0.1717890202999115, -0.2992039918899536, -0.4424876570701599, -0.3094175159931183, -0.19798210263252258, 0.2499569058418274, -0.5685239434242249, -0.006947748828679323, -0.20502880215644836, 0.5054088830947876, 0.06905893981456757, -0.32268577814102173, 0.03194194287061691, 0.4020324945449829, -0.21094687283039093, 0.5966489911079407, -0.7438353896141052, 0.5065554976463318, 0.9941122531890869, -0.5988014936447144, -0.6531627178192139, -0.17145656049251556, -0.10747576504945755, -0.45645761489868164, 0.5519425272941589, -0.005765566602349281, 0.0462166890501976, -0.18880997598171234, -0.498349130153656, -0.30541756749153137, 1.175753116607666, 0.1492779552936554, -0.38193443417549133, 0.014639572240412235, 0.3747021555900574, 0.7756366729736328, -0.3419652283191681, 0.21211813390254974, 0.4510740041732788, 0.4001257121562958, 0.58897864818573, -0.4159103035926819, 0.07256083190441132, -0.3123677968978882, -0.2283908724784851, 0.2752833664417267, -0.3896068334579468, 0.4748683571815491, -0.5063885450363159, 0.031723830848932266, -0.31388628482818604, 0.7334210276603699, 0.18235346674919128, 0.254727840423584, 0.3945309817790985, 0.8014863133430481, 0.7717235088348389, -0.08658763021230698, 0.6247971057891846, -0.16226860880851746, 0.22332389652729034, 1.2298587560653687, -0.08254387974739075, 0.4969852566719055, 0.30455654859542847, 0.03482445701956749, 0.42535072565078735, 0.8750663995742798, -0.3005572259426117, 0.45708248019218445, 0.43152812123298645, -0.23263002932071686, -0.519734263420105, -0.17381760478019714, -0.30952829122543335, 0.5040605068206787, 0.16064932942390442, -0.4452434778213501, -0.6065240502357483, -0.16363024711608887, -0.30114954710006714, -0.027593502774834633, -0.5140683054924011, 1.1088407039642334, -0.0691789835691452, -0.6879377961158752, 0.10258254408836365, 0.034437768161296844, 0.19190019369125366, -0.07202252000570297, -0.1753796935081482, -0.2680680453777313, -0.22705286741256714, -0.22673504054546356, -1.1645162105560303, 0.37793028354644775, 0.25413498282432556, 0.03169311583042145, -0.18317964673042297, 0.788388192653656, -0.5170217752456665, -0.5256947875022888, -0.17099158465862274, 0.4204633831977844, 0.6409772634506226, 0.19857992231845856, -0.6911144256591797, -0.6016283631324768, -0.02028382197022438, 0.15691553056240082, -0.0489007905125618, 1.0344173908233643, -0.46417397260665894, 0.6128368973731995, 0.418069064617157, -0.22783015668392181, 0.22581437230110168, 0.3720893859863281, 0.807228684425354, -0.6537676453590393, -0.739311158657074, -0.7163172364234924, 0.7254776358604431, -0.21639449894428253, -0.11869718134403229, 0.3501046597957611, 0.884443998336792, 0.4384002387523651, -0.04750404134392738, 0.8414706587791443, -0.018067242577672005, 0.6157507300376892, -0.4001329839229584, 0.7197220325469971, -0.7287092804908752, 0.2604728937149048, -0.4170297384262085, -0.5793462991714478, -0.3760947585105896, 0.3620242476463318, -0.06572756916284561, -0.13197578489780426, 0.7159174680709839, 0.3802751302719116, -0.04120681434869766, -0.06755189597606659, 0.4979590177536011, -0.09237045794725418, 0.20688915252685547, 0.7198125123977661, 0.6835158467292786, -0.24259446561336517, 1.1274244785308838, 0.2565253973007202, -0.05096126347780228, -0.056540992110967636, -0.7453520894050598, -1.0855014324188232, -0.6357812881469727, -0.250016987323761, -0.1052439883351326, 0.06320248544216156, 0.4650425314903259, 0.3432336151599884, -0.9170169830322266, 0.13271334767341614, -0.1584937870502472, 0.0887012779712677, 0.16312631964683533, -0.2279319167137146, 0.44924014806747437, -0.29580891132354736, -0.5122145414352417, 0.18304936587810516, 0.45691564679145813, 0.1440405696630478, 0.0357358381152153, 0.1299983412027359, -0.3603944182395935, 0.12193022668361664, 0.6025355458259583, 0.24936535954475403, -0.8786083459854126, -0.4228408634662628, -0.2693176567554474, 0.1323421150445938, 0.14424237608909607, 0.8344561457633972, -0.4531286060810089, 0.44327014684677124, 0.7376836538314819, 1.1015863418579102, 0.5208178758621216, 0.5317738056182861, 0.5839166641235352, -0.6476174592971802, -0.09411997348070145, 0.3259828984737396, 0.6152049899101257, -0.041659317910671234, -0.2965638339519501, 0.5173805356025696, 0.05730929598212242, -0.5625828504562378, -0.46554654836654663, 0.0822744071483612, -0.8510187864303589, -0.47409388422966003, 0.9464102983474731, -0.3483867645263672, -0.22368338704109192, -0.5768262147903442, -0.11951382458209991, 0.3852587342262268, -0.5563043355941772, 0.7227658033370972, 0.7270412445068359, -0.25825321674346924, -0.5672155022621155, -0.20940087735652924, 0.26362401247024536, 0.38214123249053955, -1.2658640146255493, -0.25424259901046753, 0.7315442562103271, 0.5389214158058167, 0.1713382452726364, 0.6260582804679871, -0.32768532633781433, 0.3910447955131531, -0.2629273235797882, 0.06000041961669922, -0.28973695635795593, -0.25459131598472595, -0.40356123447418213, 0.5060609579086304, -0.5408596396446228, -0.440371036529541 ]
http://arxiv.org/abs/2403.13106v1
http://arxiv.org/pdf/2403.13106v1
Knowing Your Nonlinearities: Shapley Interactions Reveal the Underlying Structure of Data
2024-03-19T19:13:22
2024-03-19T19:13:22
Divyansh Singhvi, Andrej Erkelens, Raghav Jain, Diganta Misra, Naomi Saphra
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
Measuring nonlinear feature interaction is an established approach to understanding complex patterns of attribution in many models. In this paper, we use Shapley Taylor interaction indices (STII) to analyze the impact of underlying data structure on model representations in a variety of modalities, tasks, and architectures. Considering linguistic structure in masked and auto-regressive language models (MLMs and ALMs), we find that STII increases within idiomatic expressions and that MLMs scale STII with syntactic distance, relying more on syntax in their nonlinear structure than ALMs do. Our speech model findings reflect the phonetic principal that the openness of the oral cavity determines how much a phoneme varies based on its context. Finally, we study image classifiers and illustrate that feature interactions intuitively reflect object boundaries. Our wide range of results illustrates the benefits of interdisciplinary work and domain expertise in interpretability research.
[ -0.35082072019577026, -0.6926420331001282, 0.42708855867385864, 0.2147064357995987, 0.16181820631027222, -0.18660666048526764, -0.007244002539664507, -0.9541450142860413, 0.445059210062027, 0.3138684630393982, -0.13022856414318085, -0.0365506112575531, -0.6059039235115051, -0.3842089772224426, -0.2752329111099243, 1.0463804006576538, 0.0387297086417675, 0.3293355107307434, -0.4959515929222107, -0.10354498773813248, -0.05661648139357567, -0.7775956988334656, -0.4686903953552246, -0.35492169857025146, 0.5418519973754883, -0.10332975536584854, 1.183286428451538, 0.9322444200515747, 0.6622689366340637, 0.4299701154232025, -0.06858465075492859, -0.26600906252861023, -0.38735127449035645, 0.3726283609867096, -0.13560065627098083, -0.7077521681785583, -0.3311591148376465, 0.08278173208236694, 0.5582103729248047, 1.2242515087127686, 0.12893866002559662, 0.09088341891765594, 0.21984653174877167, 0.29079681634902954, -0.2884247601032257, 0.2947574257850647, -0.3314763903617859, 0.023297036066651344, -0.4530048668384552, -0.2293214648962021, 0.06063618138432503, 0.040178827941417694, 0.3935164213180542, -0.07095088064670563, 0.05698762461543083, 0.009836788289248943, 1.1111980676651, 0.28108838200569153, -0.42738062143325806, -0.5442912578582764, -0.6411104798316956, 0.8829320669174194, -0.5590529441833496, 0.6475784778594971, 0.5146647691726685, -0.003345801029354334, -0.41124656796455383, -0.5106827020645142, -0.43938782811164856, -0.33940544724464417, -0.3061569631099701, -0.30923810601234436, -0.2877578139305115, 0.31645113229751587, 0.0017459337832406163, 0.6839070916175842, 0.04578769952058792, -0.017330721020698547, -0.4849669635295868, -0.23709481954574585, 0.8017313480377197, 0.21335572004318237, 0.4394283592700958, -0.6292053461074829, -0.38023698329925537, 0.2051602005958557, -0.15997321903705597, 0.6229920387268066, 0.674560546875, 0.46172666549682617, -0.21984128654003143, 0.5891086459159851, 0.5006796717643738, 0.43704327940940857, 0.2233247309923172, 0.09150806069374084, 0.17732319235801697, -0.670698881149292, -0.22461745142936707, -0.4685075283050537, 0.8749549984931946, -0.04567841440439224, -0.05922619625926018, -0.28863444924354553, -0.21149477362632751, -0.7075209021568298, 0.24234633147716522, -0.5649786591529846, -0.4629475772380829, 0.27656278014183044, -0.7840061783790588, -0.6093864440917969, 0.40049347281455994, -0.4979734420776367, -0.3632839322090149, -0.43071702122688293, 0.5232160091400146, -0.3534027934074402, -0.4666067361831665, -0.3151179552078247, -0.11516346037387848, 0.18031878769397736, 0.06459300965070724, -0.9867126941680908, 0.7024813890457153, 0.6798220872879028, 0.9606642723083496, -0.17908619344234467, -0.30309778451919556, -0.4129733443260193, -0.01723041944205761, -0.2910187840461731, 0.5988320708274841, -0.6431187391281128, -0.2652483582496643, -0.3069911301136017, -0.0696495920419693, -0.08451640605926514, -0.6611160635948181, 0.37311047315597534, -0.18826603889465332, 0.2748057544231415, -0.06156059354543686, -0.4415854513645172, -0.3019740581512451, -0.23374131321907043, -0.7792345285415649, 1.1320102214813232, 0.170899897813797, -0.5566465854644775, 0.2832143306732178, -0.640051007270813, -0.45801985263824463, -0.05107687786221504, -0.36281344294548035, -0.5252672433853149, 0.44865840673446655, -0.3794766366481781, 0.2786959111690521, 0.11184459924697876, 0.52801114320755, -0.5526333451271057, -0.16712705790996552, 0.5969780683517456, -0.18175600469112396, 0.7610861659049988, -0.026346851140260696, -0.30671995878219604, 0.29833099246025085, -0.633767306804657, 0.21287381649017334, -0.3061753511428833, -0.1986996829509735, -0.5263176560401917, -0.0319034643471241, 0.3745594918727875, 0.12270096689462662, 0.3515530824661255, 0.0582210049033165, -0.036870069801807404, -0.314877450466156, 0.5930529832839966, 0.5913730263710022, 0.05170581862330437, 0.42877906560897827, -0.07742482423782349, 0.45281773805618286, 0.37169039249420166, -0.011909587308764458, 0.012711678631603718, -0.41562366485595703, -0.7448580265045166, -0.4547249674797058, 0.4271043539047241, 0.2612139880657196, -0.26493820548057556, 0.36968713998794556, -0.060903437435626984, -0.24439962208271027, -0.4075324237346649, 0.1641933172941208, 0.6265581250190735, 0.09722713381052017, 0.1129055991768837, -0.2954898774623871, -0.6228916645050049, -1.3413821458816528, -0.5154266357421875, -0.07201547920703888, -0.35826703906059265, 0.6269429922103882, 0.685263454914093, -0.014567063190042973, 0.9767888188362122, -0.2060418426990509, -0.14235378801822662, 0.07106252014636993, 0.33189940452575684, 0.15483620762825012, 0.4982794225215912, 0.6055698394775391, -0.9017375707626343, -0.2527429461479187, 0.029241260141134262, -0.5352353453636169, -0.0889430120587349, 0.15025250613689423, 0.09862461686134338, -0.10855813324451447, 0.4478341341018677, -0.23766660690307617, 0.6505815982818604, 0.44525042176246643, -0.35220205783843994, 0.341747522354126, -0.02037198655307293, 0.2901287376880646, -0.8658826947212219, 0.11951380223035812, 0.09338535368442535, -0.22141781449317932, -1.0905539989471436, -0.06982273608446121, -0.3093404769897461, -0.22306351363658905, -0.253126323223114, 0.31096234917640686, -0.3739946484565735, -0.4088411331176758, -0.004884631372988224, 0.08994899690151215, -0.03105616755783558, 0.4523197114467621, -0.17453262209892273, 1.0312931537628174, 0.48142775893211365, -0.5882738828659058, -0.05766979977488518, 0.1982191503047943, -0.11466742306947708, 0.4926891624927521, -0.9761978983879089, 0.04054643586277962, 0.03136339411139488, -0.13813260197639465, -0.9973402619361877, -0.3802572190761566, 0.025599418208003044, -0.489674836397171, 0.09341581165790558, -0.1907460242509842, -0.14980290830135345, 0.1264781504869461, -0.4985160529613495, 0.5263092517852783, -0.2430058866739273, -0.22466911375522614, 1.0298550128936768, 0.7362702488899231, -0.1887904703617096, -0.4269329905509949, -0.720636785030365, 0.29130464792251587, -0.4166431725025177, -0.9642296433448792, 0.34370920062065125, 0.30380967259407043, -0.7835330963134766, 0.052006796002388, -0.06571777164936066, -0.5265635848045349, 0.1870114505290985, 0.7585186958312988, 0.16720882058143616, -0.21896269917488098, 0.17764587700366974, -0.28364044427871704, 0.09275585412979126, 0.1919730007648468, -0.06246744841337204, 0.505021333694458, -0.28770652413368225, 0.0002775617176666856, -0.6676698327064514, 0.2987518608570099, 0.5263451933860779, 0.01442710030823946, 0.6745806336402893, 0.37267178297042847, -0.464407354593277, 0.07230715453624725, -0.13317565619945526, -0.08110891282558441, -0.461824506521225, 0.449127733707428, -0.7744251489639282, -0.4514327347278595, 0.9092206358909607, 0.3038084805011749, -0.33056169748306274, 0.26382043957710266, 0.2042302042245865, -0.40766003727912903, 0.9790681600570679, 0.7769585251808167, -0.07344990223646164, 0.7747751474380493, -0.19397644698619843, 0.5041948556900024, -0.9065045118331909, -0.33461567759513855, -0.41683271527290344, -0.45237475633621216, -0.53395015001297, -0.4560330808162689, 0.3373757600784302, 0.5751398205757141, 0.21512405574321747, 0.3525979518890381, -0.05146697908639908, 0.11491149663925171, 0.3663509488105774, 0.2089511901140213, 0.16374529898166656, -0.2951010465621948, 0.3591386377811432, -0.43670758605003357, -0.3135969042778015, -0.39677396416664124, 0.8317887783050537, 0.7718715071678162, 0.6375678777694702, 0.3154022693634033, 0.44650211930274963, 0.3440972864627838, -0.10147064179182053, -1.0480566024780273, 0.2545335292816162, -0.30766865611076355, -0.20751380920410156, -0.2812073528766632, -0.5143331289291382, -0.8253516554832458, 0.09919988363981247, -0.35369375348091125, -0.7493189573287964, 0.6188786029815674, 0.17237551510334015, -0.08334574103355408, 0.04355442896485329, -0.5411925911903381, 0.6186932325363159, -0.408796101808548, -0.5108751058578491, -0.102848581969738, -0.30462297797203064, 0.31222841143608093, 0.20720678567886353, 0.2087060511112213, 0.2061758190393448, -0.29702144861221313, 0.7480728030204773, -0.5962714552879333, 0.8540045022964478, -0.14568206667900085, -0.2377854883670807, -0.11292309314012527, 0.2255236953496933, 0.2626926600933075, -0.06703202426433563, -0.04025176167488098, 0.6622969508171082, 0.010324308648705482, -0.3707955479621887, -0.8081218004226685, 0.6321211457252502, -0.6736873388290405, -0.5067809224128723, -0.23153282701969147, -1.0335215330123901, -0.2228604555130005, 0.13730767369270325, 0.006593352649360895, 0.7340225577354431, -0.09590297192335129, 0.23167403042316437, 0.5122241973876953, 0.24891223013401031, 0.17623640596866608, -0.006087766494601965, -0.3518734574317932, -0.45282983779907227, 0.7493761777877808, 0.2577718198299408, 0.5179322361946106, 0.06646169722080231, 0.23565760254859924, -0.19770167768001556, -0.7985944151878357, -0.12303921580314636, 0.14785489439964294, -0.5208001732826233, 0.08147307485342026, -0.5818361043930054, -0.2754797041416168, -0.16215860843658447, 0.03237195685505867, -0.06203651800751686, -0.6963068246841431, -0.21835067868232727, 0.07826991379261017, 0.20268623530864716, 1.0140583515167236, -0.1057053729891777, 0.1718037873506546, -0.22108767926692963, 0.001842742902226746, 0.1341158002614975, 0.4711798131465912, 0.14317132532596588, -0.5702125430107117, -0.40304723381996155, 0.1165444627404213, -0.12043413519859314, -0.595978856086731, 0.13938754796981812, 0.5348689556121826, 0.5338073968887329, 0.6422281265258789, -0.46228745579719543, 1.216172456741333, -0.17167481780052185, 0.8739453554153442, 0.0008037801599130034, -1.456009030342102, 0.35898730158805847, -0.39636415243148804, -0.15979117155075073, 0.3816884160041809, 0.342468798160553, -0.4631802439689636, -0.5753756761550903, -0.6115836501121521, -0.7125145792961121, 0.30861061811447144, 0.23428979516029358, 0.093415267765522, 0.36224567890167236, 0.43760186433792114, -0.038187600672245026, 0.3326195478439331, -0.723771870136261, -0.3572506308555603, -0.28486156463623047, -0.4758557975292206, 0.38677018880844116, -0.19248682260513306, -0.32755255699157715, -0.0743756964802742, 0.12020085006952286, 0.013389497995376587, 0.17437215149402618, 0.09422733634710312, -0.09262215346097946, -0.03321430832147598, -0.1512780636548996, 0.7403059601783752, 0.595635175704956, -0.02140398509800434, 0.424919992685318, -0.11962300539016724, -0.5782636404037476, -0.3810380697250366, -0.024445585906505585, 0.037219610065221786, 0.03840317949652672, 0.8595467805862427, 0.8177079558372498, 0.6130820512771606, -0.4755870997905731, 0.40972280502319336, 0.1277725100517273, -0.11859271675348282, -0.20991259813308716, 0.2000528872013092, -0.1708408147096634, 0.37651145458221436, 0.4408094882965088, 0.2894110679626465, 0.4225989282131195, -0.8727979063987732, 0.5346124768257141, 0.9454830884933472, -0.6682724952697754, -0.57096928358078, 0.49034979939460754, 0.1917719691991806, -0.5398404598236084, 0.1951673924922943, 0.20133356750011444, -0.7127612829208374, 0.65090411901474, 0.20101653039455414, 0.630585253238678, -0.28733760118484497, 0.060159917920827866, 0.06125917658209801, -0.012772481888532639, 0.38473063707351685, 0.2237890660762787, -0.1973569691181183, -0.6484098434448242, -0.052569180727005005, -0.3790050446987152, -0.33445796370506287, 0.1926908642053604, -0.934006929397583, 0.21564555168151855, -0.4903360903263092, -0.10569371283054352, 0.6165915131568909, 0.043177105486392975, -0.37913602590560913, -0.06530510634183884, -0.29048019647598267, 0.362085223197937, -0.7070909738540649, 0.531342625617981, 0.47926443815231323, -0.6866320371627808, -0.6666590571403503, 0.19816328585147858, 0.16298548877239227, -0.9178908467292786, 1.0509631633758545, 0.055983297526836395, -0.4077182412147522, -0.3404525816440582, -0.46792805194854736, -1.121130347251892, 0.7042717337608337, 0.08438144624233246, -0.17103126645088196, 0.059859540313482285, 0.3191121220588684, 0.6786694526672363, -0.5777266621589661, 0.281342089176178, 0.4877752959728241, 0.4544276297092438, -0.2332739681005478, -1.225764274597168, -0.07962805032730103, -0.33425813913345337, 0.19283805787563324, 0.5607067942619324, -0.31991901993751526, 0.9982753992080688, -0.3178437352180481, -0.6087625622749329, 0.1055620089173317, 0.5759769678115845, -0.19641202688217163, 0.20332638919353485, 0.7290722131729126, 0.11987654864788055, 0.8843249082565308, -0.14461523294448853, 0.6736528873443604, -0.3258873522281647, 0.3428477644920349, 1.0484904050827026, 0.32340535521507263, 0.9283385276794434, 0.7664007544517517, -0.360914021730423, 0.6152338981628418, 0.44683557748794556, -0.2244253009557724, 0.19798873364925385, 0.28925150632858276, -0.006209940183907747, 0.1624370813369751, -0.3781259059906006, -0.06479386240243912, 0.6960223317146301, 0.35471615195274353, -0.4564986526966095, 0.2581423819065094, 0.2778863310813904, 0.1864922046661377, 0.2475038468837738, -0.2745325267314911, 0.6936911344528198, 0.0032326336950063705, 0.051572829484939575, 0.5049317479133606, -0.38065144419670105, 0.7052960395812988, -0.46644893288612366, -0.08361978083848953, 0.11267704516649246, -0.0735233947634697, -0.7368382215499878, -0.9770597219467163, 0.499116986989975, -0.375368595123291, -0.6211398243904114, 0.052216388285160065, 0.41202646493911743, -0.8368744850158691, -0.28761640191078186, 0.21897070109844208, 0.26845574378967285, 0.298442006111145, 0.2123611569404602, -0.5476430654525757, 0.2962118983268738, 0.06497717648744583, -0.0889504998922348, 0.19048532843589783, 0.3951457440853119, -0.1799374222755432, 0.7167674899101257, 0.6063272356987, 0.29045286774635315, -0.05884619802236557, 0.11800923943519592, 0.7199159860610962, -0.8754388093948364, -0.28355422616004944, -0.45633530616760254, 0.5258426666259766, -0.2506405711174011, -0.4588090181350708, 0.7678162455558777, 0.549422562122345, 0.4755440950393677, 0.2736833095550537, 0.5547876954078674, -0.15829205513000488, 0.13932284712791443, -0.397784024477005, 0.6052923202514648, -0.308972030878067, 0.21476809680461884, -0.04257268086075783, -0.5490881204605103, -0.08704753965139389, 0.5246366858482361, -0.43236368894577026, 0.19020675122737885, 0.5197708010673523, 0.5646600723266602, -0.0586988665163517, 0.055877119302749634, 0.1699160933494568, 0.4012669026851654, 0.4205698072910309, 0.04675600677728653, 0.5617021918296814, -0.6260808706283569, 0.4929005205631256, -0.33685922622680664, -0.3501981198787689, -0.08325444906949997, -0.5690010786056519, -0.869384229183197, -0.9466012120246887, -0.10993310809135437, -0.393850713968277, -0.2941814363002777, 0.573008120059967, 0.8355293869972229, -0.8166560530662537, -0.43363767862319946, 0.04214807227253914, 0.09273489564657211, -0.3950767517089844, -0.40489351749420166, 0.44398361444473267, -0.35925644636154175, -0.9189397096633911, 0.24807508289813995, 0.3359610438346863, 0.17293812334537506, -0.7434627413749695, 0.1880781352519989, 0.1499299257993698, 0.24104371666908264, 0.4510762095451355, 0.11951019614934921, -0.7732776403427124, -0.4379676878452301, -0.0972323939204216, -0.031234264373779297, 0.09648355841636658, 1.0651400089263916, -0.44011640548706055, 0.3396574854850769, 0.3566492795944214, 0.31851091980934143, 0.15695850551128387, 0.14196239411830902, 0.8358370065689087, -0.5529879331588745, 0.22385039925575256, 0.21114207804203033, 0.22604568302631378, 0.2563040852546692, -0.7192497849464417, 0.3318321704864502, -0.04919475317001343, -0.459511399269104, -1.1324948072433472, 0.5396904349327087, -0.8701227903366089, -0.03713226690888405, 0.5493077635765076, -0.042614784091711044, -0.21980389952659607, -0.5461864471435547, 0.027534209191799164, -0.3856631815433502, -0.2549455165863037, 0.8212700486183167, 0.9182575941085815, -0.7393920421600342, -0.3429158627986908, -0.5721073746681213, 0.8149408102035522, 0.25472405552864075, -0.7609882354736328, 0.19126254320144653, 0.1755560338497162, 0.28084179759025574, 0.6157639622688293, 0.09490439295768738, -0.12008275091648102, 0.032940689474344254, 0.09707324951887131, -0.10806175321340561, -0.2876007556915283, -0.2078096717596054, -0.5762097239494324, 0.0373075045645237, -0.14424358308315277, -0.18098331987857819 ]
http://arxiv.org/abs/2403.13089v1
http://arxiv.org/pdf/2403.13089v1
Automatic Summarization of Doctor-Patient Encounter Dialogues Using Large Language Model through Prompt Tuning
2024-03-19T18:37:05
2024-03-19T18:37:05
Mengxian Lyu, Cheng Peng, Xiaohan Li, Patrick Balian, Jiang Bian, Yonghui Wu
cs.CL
cs.CL
Automatic text summarization (ATS) is an emerging technology to assist clinicians in providing continuous and coordinated care. This study presents an approach to summarize doctor-patient dialogues using generative large language models (LLMs). We developed prompt-tuning algorithms to instruct generative LLMs to summarize clinical text. We examined the prompt-tuning strategies, the size of soft prompts, and the few-short learning ability of GatorTronGPT, a generative clinical LLM developed using 277 billion clinical and general English words with up to 20 billion parameters. We compared GatorTronGPT with a previous solution based on fine-tuning of a widely used T5 model, using a clinical benchmark dataset MTS-DIALOG. The experimental results show that the GatorTronGPT- 20B model achieved the best performance on all evaluation metrics. The proposed solution has a low computing cost as the LLM parameters are not updated during prompt-tuning. This study demonstrates the efficiency of generative clinical LLMs for clinical ATS through prompt tuning.
[ -0.19265590608119965, -0.6441351771354675, 0.8853099942207336, 0.016620175912976265, -0.6486586928367615, 0.13229309022426605, -0.37257465720176697, -0.15172500908374786, 0.3256781995296478, 0.3172866702079773, -0.5944103598594666, -0.6159467697143555, -0.4620848596096039, 0.6042712330818176, -0.0950872004032135, 0.9263284802436829, 0.15239067375659943, 0.3514450788497925, -0.08253621309995651, -0.19878199696540833, -0.6002903580665588, -0.1991632729768753, -0.9112653136253357, -0.3634483218193054, 0.2853609323501587, 0.4582931101322174, 0.749142050743103, 0.7375566363334656, 0.31164422631263733, 0.38782545924186707, -0.239902526140213, 0.41808587312698364, -0.2002498209476471, 0.2829689681529999, 0.07883969694375992, -0.37774088978767395, -0.5281565189361572, -0.21236452460289001, 0.6552380919456482, 0.7718172669410706, -0.44769734144210815, -0.14163190126419067, -0.046050217002630234, 0.36042577028274536, -0.09382417798042297, -0.018612051382660866, -0.4190197288990021, 0.10997714847326279, 0.12625595927238464, -0.5672087073326111, -0.3566017150878906, -0.453782856464386, 0.1118774563074112, -0.5456308126449585, 0.5398349761962891, 0.2484670728445053, 0.6453897356987, 0.2888559103012085, -0.22760513424873352, -0.6411753296852112, -0.2784445583820343, 0.6047652959823608, -0.7836052179336548, 0.06594213098287582, 0.22493433952331543, 0.40814149379730225, -0.12448838353157043, -0.5162339806556702, -0.3817591965198517, -0.35346218943595886, -0.19451336562633514, 0.3022756278514862, -0.1810138076543808, 0.35580894351005554, 0.19315095245838165, 0.5608121752738953, -0.5064583420753479, 0.3157128095626831, -0.16762112081050873, -0.061840638518333435, 0.5177310705184937, 0.9350723624229431, 0.40816769003868103, -0.4349937438964844, -0.08552584797143936, 0.22930827736854553, -0.7800911068916321, -0.1152937114238739, -0.07949956506490707, 0.40980657935142517, -0.3631736934185028, 0.5238534808158875, -0.13363178074359894, 0.7298997640609741, 0.17669092118740082, -0.2942999005317688, -0.03361900895833969, -0.48778143525123596, -0.27727094292640686, 0.033428240567445755, 1.004388451576233, 0.8238576054573059, 0.24561923742294312, -0.15795259177684784, -0.11832472681999207, -0.18524183332920074, 0.3480883240699768, -0.7873295545578003, -0.24240125715732574, 0.38456952571868896, -0.5764456987380981, -0.6214979290962219, -0.4501323401927948, -0.6644202470779419, -0.5575733184814453, -0.34952512383461, 0.07596458494663239, -0.556053102016449, 0.14463748037815094, 0.08524025231599808, 0.11203530430793762, -0.06888004392385483, 0.6929934620857239, -1.0392770767211914, 0.31147345900535583, 0.48796704411506653, 1.1478831768035889, -0.12050550431013107, 0.008647558279335499, -0.8950688242912292, 0.03262266516685486, -0.3333553075790405, 0.9430341720581055, -0.3823215067386627, -0.9783375263214111, 0.15165682137012482, 0.06478093564510345, -0.3368353843688965, -0.7299890518188477, 0.49784696102142334, -0.05665378272533417, 0.43235790729522705, -0.15175940096378326, -0.6312655210494995, 0.1343858242034912, 0.12999308109283447, -0.31961649656295776, 0.421467661857605, 0.1229066252708435, -0.45415806770324707, 0.25599077343940735, -0.6573629975318909, -0.6201648712158203, 0.47143158316612244, -0.3150903284549713, -0.5798212289810181, 0.5133197903633118, 0.5834544897079468, 0.5722671151161194, -0.42803478240966797, 0.3542279303073883, 0.05232121795415878, -0.3525942862033844, 0.1998441070318222, -0.11281201988458633, 0.5829241275787354, 0.25783100724220276, 0.23041023313999176, 0.4764714241027832, -0.49943962693214417, -0.06333745270967484, 0.05322195962071419, -0.15436242520809174, -0.017121974378824234, 0.09523790329694748, -0.2753642201423645, -0.00644910242408514, -0.1771320402622223, -0.20460569858551025, 0.29155591130256653, -0.590515673160553, 0.6188557744026184, 0.3687567114830017, 0.3494912087917328, 0.19029898941516876, -0.5877123475074768, 0.924747109413147, -0.1314641237258911, 0.024355262517929077, -0.7411803007125854, -0.47378820180892944, -0.4970049560070038, -0.55426424741745, 0.1579793393611908, 0.6175094246864319, -0.6612650752067566, 0.4067555069923401, -0.4175157845020294, -0.2686372697353363, -0.6517384052276611, -0.07013694196939468, 0.37816736102104187, 0.8577699065208435, 0.38016024231910706, -0.030450398102402687, -0.2687934339046478, -0.6566696763038635, -0.16765621304512024, -0.16806913912296295, -0.47636571526527405, 0.6274738907814026, 0.24866659939289093, 0.06204080209136009, 0.6156653165817261, -0.6965935230255127, -0.3386767506599426, -0.570091962814331, 0.21164682507514954, 0.3417230248451233, 0.09846539050340652, 0.5358588099479675, -0.17707790434360504, -0.6695666909217834, -0.1283683478832245, -0.7325419187545776, -0.3207872807979584, -0.11530933529138565, 0.32896852493286133, 0.26136690378189087, 0.6869069337844849, -0.6718381643295288, 0.1736418753862381, 0.16377148032188416, -0.316789835691452, 0.6455119252204895, -0.6274351477622986, 0.3850306272506714, -1.312993049621582, 0.0003164395457133651, -0.04816904664039612, -0.4497772455215454, -0.6431976556777954, -0.018813863396644592, 0.10665460675954819, -0.38844868540763855, -0.2248276323080063, 0.4157298803329468, -0.5259988903999329, 0.4000067710876465, -0.3495873808860779, 0.17855793237686157, -0.11297039687633514, 0.23127366602420807, 0.14683203399181366, 1.0392576456069946, 0.3940422832965851, -0.5762373805046082, 0.5596261024475098, 0.6984268426895142, -0.3372511565685272, 0.741162121295929, -0.9161926507949829, -0.14132970571517944, -0.025790583342313766, 0.4128052294254303, -0.904349148273468, -0.5442191362380981, 0.15285730361938477, -0.5069710612297058, 0.36042311787605286, -0.13787463307380676, -0.4177848696708679, -0.27789509296417236, -0.38324540853500366, 0.2466525286436081, 0.5878548622131348, -0.317442387342453, 0.670845091342926, 0.1748628169298172, -1.0122812986373901, 0.10358282923698425, -0.2220151573419571, 0.47444096207618713, -0.4708176553249359, -0.6554098725318909, 0.40647318959236145, 0.09700193256139755, -0.10701411217451096, -0.4840763211250305, 0.26932743191719055, 0.3563563823699951, -0.12624280154705048, 0.025677060708403587, 0.3862922191619873, -0.10082543641328812, 0.358824759721756, 0.2525866627693176, -0.23659029603004456, 0.0867588073015213, 0.04073934629559517, 0.7121369242668152, 0.041816871613264084, -0.21999286115169525, -0.5065746903419495, 0.7795042991638184, 0.47931745648384094, 0.04799714684486389, 0.5546992421150208, 0.194420725107193, -0.18604567646980286, -0.008176601491868496, -0.3914355933666229, -0.28175950050354004, -0.42985135316848755, 0.3850623071193695, -0.21498140692710876, -0.6528138518333435, 0.8375490307807922, -0.14889214932918549, -0.009448610246181488, 0.39676979184150696, 0.9394630193710327, -0.2751942276954651, 1.3148376941680908, 0.43089938163757324, -0.08071528375148773, 0.32329604029655457, 0.17388875782489777, -0.11038049310445786, -0.7847673296928406, -0.08257091790437698, -0.6292994618415833, 0.0725131407380104, -0.33153235912323, -0.12381428480148315, 1.0185734033584595, -0.1871946156024933, 0.028833406046032906, -0.03962381184101105, -0.36183515191078186, 0.44889289140701294, 0.2886587977409363, 0.27088645100593567, 0.46040648221969604, -0.033539701253175735, -0.17210644483566284, -0.005721316672861576, -0.7717756628990173, -0.44032129645347595, 0.9327561855316162, 0.24579596519470215, 0.723297655582428, 0.17970189452171326, 0.4813835918903351, 0.11335594207048416, 0.16551339626312256, -0.7626686692237854, 0.5587020516395569, -0.22353610396385193, -0.0575825497508049, -0.23831677436828613, -0.48605188727378845, -0.8745002150535583, 0.22465340793132782, -0.1772109866142273, -0.5914064049720764, -0.35735487937927246, 0.38421866297721863, -0.9028109312057495, -0.06790843605995178, -0.6904774904251099, 0.4960614740848541, 0.08787182718515396, -0.016712632030248642, -0.37990063428878784, -0.8872601389884949, 0.17747199535369873, 0.1386357992887497, -0.012230418622493744, 0.2022312432527542, -0.10606832802295685, 0.445661723613739, -0.8473660945892334, 0.6990639567375183, -0.12784165143966675, -0.3341839611530304, -0.04885752499103546, -0.156720831990242, 0.6341424584388733, 0.4209747314453125, 0.21947164833545685, -0.2197362631559372, -0.24895183742046356, -0.22777554392814636, -0.5809558033943176, 0.5454395413398743, -0.4315298795700073, -0.5425438284873962, -0.31657296419143677, -0.4421924948692322, -0.46629875898361206, -0.04466330260038376, 0.6565134525299072, 0.8292572498321533, -0.2522021234035492, -0.1912965625524521, 0.8646991848945618, -0.5589480996131897, 0.36341917514801025, 0.6527242064476013, -0.07117724418640137, -0.6081894040107727, 0.6092925667762756, -0.17380671203136444, 0.4222657382488251, 0.1594579517841339, 0.3574247658252716, -0.3965056836605072, -0.7742162942886353, -0.8245916962623596, 0.379967600107193, -0.5576596856117249, -0.4069954752922058, -0.7580865621566772, -0.0757482647895813, -0.42281296849250793, -0.39075425267219543, 0.19821001589298248, -0.1852608621120453, -0.4150334894657135, 0.12985152006149292, 0.48196521401405334, 0.3600834310054779, 0.4030306935310364, 0.5369536280632019, -0.9721693992614746, 0.5174642205238342, 0.12332822382450104, 0.25423556566238403, -0.14006391167640686, -0.843697190284729, -0.23923006653785706, -0.2178424894809723, -0.250855952501297, -0.814668595790863, 0.45913058519363403, 0.44096511602401733, 0.27021998167037964, 0.4458185136318207, 0.008382692001760006, 0.674416184425354, -0.7316898107528687, 0.8640815019607544, 0.3739956021308899, -0.7868631482124329, 0.6666983366012573, -0.8287982940673828, 0.7863275408744812, 0.6047673225402832, 0.13469302654266357, -0.8090136051177979, -0.4955421984195709, -0.42190706729888916, -0.765490710735321, 0.683199405670166, -0.0451374426484108, 0.14403605461120605, -0.062227681279182434, 0.28046712279319763, 0.07638818770647049, 0.34606772661209106, 0.045285455882549286, -0.00034647228312678635, -0.035825714468955994, -0.6669613122940063, -0.36058685183525085, -0.2606685757637024, -0.379442036151886, -0.35848861932754517, 0.5023345351219177, -0.3941422402858734, 0.4249281585216522, 0.11130789667367935, -0.20513667166233063, -0.31077107787132263, 0.343356728553772, 0.9113040566444397, 0.4608181416988373, -0.047217488288879395, -0.27692437171936035, 0.4253230392932892, -0.6057127714157104, -0.05484766140580177, 0.25248491764068604, -0.20876194536685944, 0.17209993302822113, 0.5204378366470337, 0.9003188014030457, 0.14571866393089294, -0.7377219200134277, 0.4865782558917999, -0.20837882161140442, -0.3196203112602234, -0.21136797964572906, 0.18236520886421204, 0.06421052664518356, 0.060804057866334915, 0.19159471988677979, -0.1832285374403, 0.24735060334205627, -0.22587965428829193, -0.04862195998430252, 0.3743366003036499, -0.2318618893623352, -0.26153483986854553, 0.6827017068862915, 0.49332672357559204, -0.31920918822288513, 0.7945228219032288, 0.1680949628353119, -0.42174670100212097, 0.3827823996543884, 0.3819557726383209, 0.9449505805969238, -0.3548543155193329, 0.2228066772222519, 0.21093180775642395, -0.13584230840206146, 0.08931954950094223, 0.2774771749973297, -0.10845916718244553, -0.22432848811149597, -0.6124976277351379, -0.3118055462837219, -0.6379680037498474, 0.10077530890703201, -0.5743834376335144, 0.3537278175354004, -0.35492414236068726, -0.0672747939825058, 0.2439216524362564, 0.007905659265816212, -0.20529823005199432, 0.14295430481433868, -0.17241160571575165, 0.8805651664733887, -0.6815302968025208, 0.4323316216468811, 0.6849639415740967, -0.28740766644477844, -0.7783747911453247, -0.11778140813112259, 0.09188549220561981, -0.881790041923523, -0.009347942657768726, 0.09585653990507126, -0.021262245252728462, 0.06963314116001129, -0.4850979149341583, -0.18393559753894806, 0.9321355819702148, 0.24647124111652374, -0.5494216084480286, -0.20454248785972595, 0.14022186398506165, 0.5411397218704224, -0.42451152205467224, 0.3916507661342621, 0.4235864579677582, 0.07751432806253433, 0.2973077893257141, -1.1300865411758423, 0.13899117708206177, -0.4214131534099579, -0.17938250303268433, 0.415934294462204, -0.5831611752510071, 0.5647962689399719, -0.45155811309814453, -0.32039207220077515, 0.41299813985824585, 0.3722563683986664, 0.15361694991588593, 0.06679165363311768, 0.4768929183483124, 0.3768874406814575, 0.7175295352935791, -0.18186239898204803, 1.0831340551376343, -0.40671196579933167, 0.16191521286964417, 0.946744978427887, -0.2780259847640991, 0.2463749796152115, 0.22697408497333527, -0.16663721203804016, 0.21392279863357544, 0.508315920829773, 0.026110192760825157, 0.37951841950416565, 0.2500642240047455, -0.589521050453186, -0.3392305076122284, -0.11304085701704025, -0.4226926267147064, 0.11539087444543839, 0.45050305128097534, -0.6135483384132385, -0.33297082781791687, 0.2310946136713028, 0.17921596765518188, -0.026017362251877785, -0.4305216372013092, 1.3105840682983398, 0.16263681650161743, -1.0165561437606812, 0.8306972980499268, -0.04128964617848396, 0.31331202387809753, -0.6782516241073608, 0.1575169861316681, -0.3461855351924896, 0.10428451746702194, -0.13710130751132965, -0.41255468130111694, 0.09259388595819473, 0.14492422342300415, -0.15989159047603607, -0.15486811101436615, 0.41324496269226074, -0.45921847224235535, -0.4021405577659607, -0.3820762634277344, 0.30375808477401733, 0.07910943776369095, -0.0017384120728820562, -0.4376436471939087, -0.15311215817928314, -0.06882548332214355, -0.20012839138507843, 0.24351882934570312, 0.31056973338127136, -0.1447710245847702, 0.9089075922966003, 0.252284437417984, 0.34980568289756775, -0.25203460454940796, 0.41856035590171814, 0.9434500336647034, -0.7337778210639954, -0.7945573329925537, -0.7845777273178101, 0.43144750595092773, -0.15742115676403046, -0.4103611409664154, 0.4480178654193878, 0.4091339409351349, -0.01352881919592619, -0.11651873588562012, 0.7825714945793152, 0.22775430977344513, 0.911213219165802, -0.7144222855567932, 0.6581132411956787, -0.5144945383071899, 0.20236296951770782, -0.25192588567733765, -0.3799743950366974, -0.34913939237594604, 0.40151751041412354, -0.10237220674753189, 0.02003186009824276, 0.6925673484802246, 0.6190146207809448, 0.05373913422226906, 0.3180106580257416, 0.164514422416687, 0.1973857879638672, 0.44386911392211914, 0.469897985458374, 0.5520840883255005, -0.08614711463451385, 0.28274866938591003, 0.3055078089237213, -0.43095487356185913, -0.4765375852584839, -0.7937291264533997, -1.030798316001892, -0.28733277320861816, -0.24735264480113983, -0.2394443303346634, 0.1896207183599472, 1.1301389932632446, 0.41758885979652405, -0.7726938724517822, 0.10101848840713501, -0.04879874363541603, -0.4370969533920288, -0.22918689250946045, -0.1149972528219223, 0.5158172249794006, -0.636099100112915, -0.5872921347618103, 0.45405343174934387, 0.3211394250392914, 0.2821387052536011, -0.15225158631801605, -0.13638709485530853, 0.39225268363952637, 0.062490254640579224, 0.4700411558151245, 0.06006692722439766, -0.5647051334381104, -0.005124579183757305, 0.11914617568254471, -0.06437783688306808, 0.09177018702030182, 0.9697022438049316, -0.707700252532959, 0.5177853107452393, 0.2661682665348053, 0.2118135541677475, 0.22578872740268707, 0.3100968599319458, 0.9841330647468567, -0.6821536421775818, -0.021473780274391174, 0.3415627181529999, 0.27723491191864014, 0.2004043459892273, -0.2939446270465851, 0.1277802288532257, 0.09310498088598251, -0.536628007888794, -0.7684840559959412, 0.367206335067749, -0.8391150236129761, -0.08416835963726044, 0.9381332397460938, -0.12138225138187408, 0.20746079087257385, -0.23119093477725983, -0.4229964315891266, 0.18979988992214203, -0.39038798213005066, 0.989737331867218, 0.6100127696990967, -0.22324156761169434, -0.296085387468338, -0.44534382224082947, 0.7537309527397156, 0.475068062543869, -0.867068350315094, 0.1125214546918869, 0.6255125999450684, 0.24310389161109924, -0.18860426545143127, 0.7851557731628418, -0.14591048657894135, 0.3754822909832001, -0.3450241982936859, -0.4633151888847351, -0.2519473731517792, -0.09814666956663132, -0.5689270496368408, 0.1364355832338333, -0.1927456259727478, -0.05139544606208801 ]
http://arxiv.org/abs/2403.15464v1
http://arxiv.org/pdf/2403.15464v1
LLMs-based Few-Shot Disease Predictions using EHR: A Novel Approach Combining Predictive Agent Reasoning and Critical Agent Instruction
2024-03-19T18:10:13
2024-03-19T18:10:13
Hejie Cui, Zhuocheng Shen, Jieyu Zhang, Hui Shao, Lianhui Qin, Joyce C. Ho, Carl Yang
cs.CL
cs.CL, cs.AI, cs.LG, cs.MA, J.3; I.2.7
Electronic health records (EHRs) contain valuable patient data for health-related prediction tasks, such as disease prediction. Traditional approaches rely on supervised learning methods that require large labeled datasets, which can be expensive and challenging to obtain. In this study, we investigate the feasibility of applying Large Language Models (LLMs) to convert structured patient visit data (e.g., diagnoses, labs, prescriptions) into natural language narratives. We evaluate the zero-shot and few-shot performance of LLMs using various EHR-prediction-oriented prompting strategies. Furthermore, we propose a novel approach that utilizes LLM agents with different roles: a predictor agent that makes predictions and generates reasoning processes and a critic agent that analyzes incorrect predictions and provides guidance for improving the reasoning of the predictor agent. Our results demonstrate that with the proposed approach, LLMs can achieve decent few-shot performance compared to traditional supervised learning methods in EHR-based disease predictions, suggesting its potential for health-oriented applications.
[ 0.10495499521493912, -1.0174387693405151, 1.176159381866455, -0.7289165258407593, -0.10644200444221497, -0.051404453814029694, -0.05768968537449837, -0.6866123080253601, 0.34675702452659607, 0.7771942615509033, -0.5581170320510864, -0.7914981245994568, -0.256167471408844, 0.26041552424430847, 0.07372967153787613, 1.032210350036621, -0.08006990700960159, 0.40467777848243713, -0.22085338830947876, 0.27561143040657043, -0.3382028341293335, -0.45494920015335083, -0.6088030338287354, -0.896881639957428, 0.6461331844329834, 0.6099979281425476, 0.580459713935852, 0.6344828605651855, 0.6933645606040955, 0.14988291263580322, 0.13245640695095062, 0.3027864694595337, -0.24689066410064697, 0.22289223968982697, 0.14258421957492828, -0.5962097644805908, -0.6426206827163696, -0.4298054575920105, 0.3645091950893402, 0.6258233189582825, -0.23957447707653046, 0.026217006146907806, -0.08683035522699356, 0.5395160913467407, -0.2602849304676056, 0.13675488531589508, -0.41922637820243835, 0.3844235837459564, -0.09124375879764557, -0.46654269099235535, -0.6560959219932556, -0.1676071435213089, 0.25148528814315796, -0.6086112856864929, -0.011642937548458576, 0.09161346405744553, 0.5387787222862244, 0.3568870425224304, -0.3399456739425659, 0.03485792130231857, -0.9122050404548645, 0.6910286545753479, -0.7199327945709229, 0.10888484120368958, 0.6384236812591553, 0.7647939920425415, -0.2919158339500427, -0.5462259650230408, -0.39895471930503845, -0.2712952792644501, 0.007291767280548811, 0.17551808059215546, -0.3411330282688141, 0.29335927963256836, 0.26554933190345764, -0.15335634350776672, -0.6393250823020935, 0.2977689504623413, -0.200730100274086, -0.06321805715560913, 0.6238958835601807, 0.6956847310066223, 0.206751748919487, -0.3730710744857788, -0.4560528099536896, 0.28882670402526855, -0.728243350982666, -0.16516368091106415, -0.3841240704059601, 0.5805343985557556, -0.19227729737758636, 0.6096541881561279, -0.31761935353279114, 0.5078484416007996, 0.10556378960609436, -0.6521139144897461, 0.2801869809627533, 0.07858529686927795, -0.4254629909992218, 0.3528396785259247, 0.6500633358955383, 0.48677849769592285, 0.11353025585412979, -0.2473295032978058, -0.19813257455825806, 0.1510973572731018, 0.16260726749897003, -0.8523004055023193, -0.21462461352348328, 0.6021316647529602, -0.7279277443885803, -0.25816458463668823, -0.38999468088150024, -0.8502568006515503, -0.5462881326675415, -0.2606362998485565, 0.4048875570297241, -0.694826066493988, 0.075766421854496, 0.1701044887304306, 0.18281352519989014, 0.23516075313091278, 0.643272340297699, -0.4671507179737091, 0.43494683504104614, 0.5715939402580261, 0.6817489266395569, -0.23849515616893768, -0.18856070935726166, -0.8374434113502502, 0.32762882113456726, -0.18549364805221558, 0.9883025884628296, -0.4798199236392975, -0.4410202205181122, 0.2331586480140686, -0.22939133644104004, -0.1132480725646019, -0.5787917375564575, 0.36066722869873047, -0.3233090937137604, -0.010513209737837315, 0.04468643665313721, -0.6552554368972778, 0.04284098744392395, 0.7452331781387329, -0.5772223472595215, 0.47602206468582153, 0.13743078708648682, -0.6267307996749878, 0.27884334325790405, -0.5590336918830872, -0.5670763254165649, 0.5204264521598816, -0.27986928820610046, -0.6098678112030029, -0.20607395470142365, 0.2565111517906189, 0.7249369621276855, -0.3927030563354492, 0.20127061009407043, -0.23567594587802887, -0.22876602411270142, 0.38828912377357483, -0.11339708417654037, 0.30853763222694397, 0.17867068946361542, -0.07653805613517761, 0.16884160041809082, -0.5666564106941223, -0.01312950998544693, 0.3649115562438965, -0.20185375213623047, -0.006345368456095457, 0.2279319018125534, -0.19436600804328918, 0.08167935162782669, -0.017313547432422638, -0.35341718792915344, 0.35926443338394165, -0.5805897116661072, 0.02648041397333145, 0.43578192591667175, 0.30330848693847656, 0.29633358120918274, -0.956028401851654, 0.850011944770813, 0.11597077548503876, 0.21775493025779724, -0.5839869379997253, -0.6428563594818115, -0.32322174310684204, -0.2509036958217621, -0.0756244957447052, 0.6613426804542542, -0.8920748233795166, 0.030278917402029037, -0.4606965482234955, -0.3379819393157959, -0.3760000765323639, -0.06459547579288483, 0.28631967306137085, 0.7719457149505615, 0.4904284179210663, 0.07641015201807022, -0.42466408014297485, -0.4190615117549896, -0.03351372852921486, -0.5056071281433105, -0.1714170277118683, 0.47009482979774475, 0.47922033071517944, -0.6621613502502441, 0.615339994430542, -0.5601935386657715, -0.6499798893928528, -0.7543383836746216, -0.13935139775276184, 0.18118815124034882, 0.026756517589092255, 0.2234169989824295, -0.22291243076324463, -0.5267876982688904, 0.2971147894859314, -0.8290103077888489, 0.13090959191322327, -0.16024339199066162, 0.2758007049560547, 0.12892001867294312, 0.20151501893997192, -0.5327681303024292, 0.42016613483428955, 0.31673958897590637, -0.14160175621509552, 0.4698689877986908, -0.21616816520690918, -0.03921164572238922, -0.9874321222305298, -0.3308946192264557, 0.2521847188472748, -0.529952883720398, -0.8677116632461548, -0.35488539934158325, -0.4488208293914795, -0.09757545590400696, -0.5308911800384521, 0.6559047698974609, -0.3081638216972351, 0.32182952761650085, -0.3406785726547241, -0.20565852522850037, 0.0069025843404233456, 0.17455580830574036, 0.1284753829240799, 0.16262102127075195, 0.7314848303794861, -0.4533485174179077, 0.25296252965927124, 0.3502841591835022, -0.054569780826568604, 0.4561956226825714, -0.5821574330329895, 0.15805231034755707, -0.3485794961452484, 0.4297434389591217, -0.463977187871933, -0.5929747223854065, 0.41313326358795166, -0.40675002336502075, 0.4044632613658905, -0.2005811184644699, -0.5186617970466614, -0.3775167763233185, -0.3067978024482727, 0.14076371490955353, 0.6293665766716003, -0.2733879089355469, 0.8042940497398376, 0.26910510659217834, -0.10732175409793854, -0.07336967438459396, -1.0079766511917114, 0.10839185863733292, -0.2414078563451767, -0.45213180780410767, 0.4326479732990265, 0.07910791039466858, -0.3051377534866333, 0.15233975648880005, 0.28795018792152405, -0.06606651842594147, -0.12649407982826233, 0.4225316047668457, 0.6478177905082703, -0.36376094818115234, 0.3246546685695648, -0.13876289129257202, -0.1589132845401764, 0.04665505886077881, -0.26948994398117065, 0.30411258339881897, -0.010180897079408169, -0.5661951899528503, -0.7364855408668518, 0.449589341878891, 0.49926936626434326, 0.0759282186627388, 0.6406909227371216, 0.08502870798110962, -0.7318267226219177, -0.25359806418418884, -0.5602855682373047, -0.4988255202770233, -0.3113137483596802, 0.1835588812828064, -0.26142749190330505, -0.6108770370483398, 0.38103482127189636, -0.3085266351699829, -0.1980014592409134, 0.25387299060821533, 0.7890009880065918, -0.17909739911556244, 1.0833356380462646, 0.39892834424972534, -0.012662243098020554, 0.1578274965286255, -0.246891587972641, -0.014095253311097622, -0.5733864307403564, -0.5037437081336975, -0.35481274127960205, -0.025986015796661377, -0.674385130405426, -0.5126975774765015, 0.8192229866981506, -0.39745548367500305, -0.330807626247406, -0.149943009018898, -0.34432047605514526, 0.31787317991256714, 0.18659555912017822, 0.5724042057991028, 0.40543392300605774, 0.015733826905488968, 0.001364122610539198, 0.028822708874940872, -0.825177788734436, -0.8765717148780823, 1.3301992416381836, 0.5277224779129028, 0.8628746867179871, -0.01645003817975521, 0.9952011704444885, 0.3518243134021759, 0.31001532077789307, -1.221606969833374, 0.22625601291656494, -0.08083958923816681, -0.47244885563850403, -0.418776273727417, -0.27740415930747986, -1.1673991680145264, 0.01111338660120964, -0.3619551956653595, -0.8851112723350525, -0.024383701384067535, 0.11822333931922913, -0.7853538393974304, 0.39826297760009766, -0.5257195830345154, 0.6181015372276306, -0.42762500047683716, -0.29020819067955017, -0.033616796135902405, -0.875895082950592, -0.0008253058767877519, 0.0469556488096714, 0.30619940161705017, -0.1354171633720398, 0.18881244957447052, 0.5066630244255066, -0.4781656861305237, 1.0617330074310303, -0.031965743750333786, 0.24045440554618835, 0.3870924711227417, 0.09540051221847534, 0.6737385988235474, -0.0468018613755703, -0.3614843189716339, 0.17690396308898926, 0.047379232943058014, -0.25183403491973877, -0.3851829767227173, 0.37527135014533997, -0.6927260160446167, -0.41945961117744446, -0.570279061794281, -0.25955820083618164, -0.5521039962768555, 0.24685287475585938, 0.16085895895957947, 0.3404799699783325, -0.4906791150569916, -0.26837536692619324, 0.5711191892623901, -0.10979197174310684, 0.05941607430577278, 0.6475353837013245, -0.1464279592037201, -0.23319071531295776, 0.6411896347999573, 0.006800235249102116, 0.08461359888315201, 0.5968263149261475, 0.6008202433586121, 0.03309635818004608, -0.6446571350097656, -0.3432014584541321, 0.2962595820426941, -0.4967327415943146, -0.539179801940918, -0.554286777973175, -0.17479586601257324, -0.3708011209964752, -0.2787327468395233, -0.03701347857713699, 0.3039998710155487, -0.4670833349227905, -0.15817953646183014, 0.4143412411212921, 0.7749631404876709, 0.20208969712257385, 0.37217068672180176, -1.0705974102020264, 0.37183669209480286, 0.10283108800649643, 0.09380372613668442, -0.15685756504535675, -0.45296353101730347, -0.309402734041214, -0.0774066150188446, -0.3217066824436188, -1.266395926475525, 0.7020261287689209, 0.06425916403532028, 0.5647980570793152, 0.6667100191116333, 0.1480655074119568, 0.3239341080188751, -0.864280641078949, 0.582129716873169, 0.4676706790924072, -0.4469465911388397, 0.9166449308395386, -0.3466210961341858, 0.12796209752559662, 0.4710424542427063, 0.4196261763572693, -0.3184599280357361, -0.006925542838871479, -0.5267271995544434, -0.41518598794937134, 0.6413953304290771, -0.21970169246196747, -0.07155332714319229, -0.19292452931404114, 0.2105855643749237, 0.18010079860687256, -0.22655950486660004, -0.28193774819374084, -0.29170989990234375, 0.1104230135679245, -0.19240710139274597, -0.0730893686413765, -0.34981101751327515, -0.18500885367393494, -0.017059465870261192, 0.5386204719543457, -0.39314839243888855, 0.25021642446517944, 0.5156804323196411, 0.012330836616456509, -0.7179492712020874, 0.6625383496284485, 0.1790342479944229, 0.3844963014125824, -0.3591175377368927, 0.05233437195420265, 0.4140746593475342, -0.13720938563346863, 0.026414109393954277, 0.10373495519161224, -0.2210008203983307, 0.19174563884735107, 0.4612298309803009, 0.8541619181632996, 0.03520893305540085, -0.8504562973976135, 0.6201715469360352, 0.20924629271030426, -0.07154431939125061, -0.3367575705051422, -0.1383797824382782, -0.05861244723200798, 0.44944047927856445, 0.2181231677532196, -0.2570660412311554, 0.3136497735977173, -0.551288366317749, 0.25586971640586853, 0.2830439805984497, -0.5297037959098816, -0.4522877633571625, 0.6703364849090576, 0.16111049056053162, -0.29914426803588867, 0.4386497735977173, -0.010660159401595592, -0.2353174090385437, 0.672427237033844, 0.7893163561820984, 0.7177102565765381, -0.363288551568985, 0.45702001452445984, 0.2071964293718338, 0.19753128290176392, -0.1419994980096817, 0.2435186803340912, 0.44907277822494507, -0.7740110754966736, -0.5548396110534668, -0.30836188793182373, -0.835171639919281, 0.17287155985832214, -0.5349478125572205, 0.5371394753456116, -0.3825564682483673, -0.3764934539794922, 0.2761766016483307, 0.028276748955249786, -0.8053818941116333, 0.2656998634338379, 0.621928870677948, 0.5669403076171875, -0.91895592212677, 0.8586152195930481, 0.906352698802948, -0.500109851360321, -0.8979981541633606, 0.23746974766254425, 0.41277074813842773, -0.7255231142044067, 0.5219642519950867, 0.22116614878177643, -0.08067990094423294, -0.3105117976665497, -0.3895796835422516, -0.361728310585022, 1.099647045135498, 0.48201361298561096, -0.8616670966148376, -0.22100047767162323, 0.24591003358364105, 0.6495342254638672, -0.49722039699554443, 0.18886153399944305, 0.37471047043800354, 0.34761545062065125, 0.3409234881401062, -0.90058833360672, 0.052789852023124695, 0.07602731138467789, -0.2574946880340576, 0.011040560901165009, -0.3709036111831665, 0.6658139228820801, -0.8412236571311951, -0.052029602229595184, -0.08163980394601822, 0.46019047498703003, 0.40563949942588806, 0.9080799221992493, 0.09726166725158691, 0.3797056972980499, 1.0013326406478882, 0.24990731477737427, 1.5075150728225708, -0.17546124756336212, 0.22281907498836517, 1.0029528141021729, -0.8344653248786926, 0.9300826787948608, 0.30403196811676025, -0.24519991874694824, 0.6160030364990234, 0.33578845858573914, 0.09534329921007156, 0.3465656340122223, 0.10536134988069534, -0.46334782242774963, -0.5012125968933105, -0.43178585171699524, -0.16578325629234314, 0.549114465713501, 0.4239075481891632, -0.3516158163547516, -0.17466719448566437, 0.13273771107196808, 0.08589379489421844, 0.0009474109392613173, -0.3443049490451813, 1.0453307628631592, 0.2790251672267914, -0.36622244119644165, 0.38291341066360474, -0.017441658303141594, 0.43690094351768494, -0.44043728709220886, -0.3139588534832001, 0.10598961263895035, 0.16318891942501068, -0.3301836848258972, -0.5685669183731079, 0.10918702930212021, 0.07713284343481064, -0.2537265717983246, -0.12615817785263062, 1.0118626356124878, -0.24989698827266693, -0.5925842523574829, 0.21923691034317017, 0.8984692692756653, 0.3459981381893158, -0.002598460065200925, -0.5804863572120667, -0.24962879717350006, -0.24625790119171143, -0.09956678748130798, 0.38778722286224365, 0.4888809323310852, -0.052581943571567535, 0.7604249715805054, 0.5100017189979553, 0.4607069194316864, -0.45123112201690674, 0.13806821405887604, 0.6930249333381653, -0.693199634552002, -0.2996884882450104, -0.9667837023735046, 0.3576210141181946, 0.3238264322280884, 0.08159000426530838, 0.26931899785995483, 0.3548296093940735, 0.3803761899471283, -0.04628346487879753, 1.023690104484558, 0.599747896194458, 0.8608896136283875, -0.6081631779670715, 0.4949371814727783, -0.4372301995754242, 0.21233908832073212, 0.010073935613036156, -0.19452929496765137, -0.49148645997047424, 0.3426433503627777, -0.41266950964927673, -0.06717640161514282, 0.7994023561477661, 0.5703479051589966, 0.32399556040763855, -0.377753347158432, 0.6596993803977966, 0.37221652269363403, 0.3067106306552887, 0.7768235206604004, 0.6861445903778076, -0.09630987793207169, 0.2727081775665283, -0.2399364411830902, -0.11476957052946091, -0.7008640170097351, -0.7853153347969055, -0.9842538833618164, -0.01615162380039692, -0.5485182404518127, -0.46355167031288147, 0.3415403664112091, 1.3026847839355469, 0.5110829472541809, -0.862221360206604, 0.1289239376783371, 0.18666993081569672, 0.08175316452980042, 0.021389756351709366, -0.1393401175737381, 0.4435290992259979, -0.020944811403751373, -0.4506087601184845, 0.5980737209320068, 0.4225490093231201, 0.09244909137487411, -0.0662914514541626, -0.23187367618083954, 0.2538931369781494, 0.0713970959186554, 0.699539065361023, 0.31371134519577026, -0.9113343358039856, -0.03430907428264618, 0.22081086039543152, -0.37740179896354675, 0.22422254085540771, 0.5948036313056946, -1.0861561298370361, 0.49045097827911377, 0.2979108691215515, 0.6618220806121826, 0.403667151927948, 0.06246098130941391, 0.2029382884502411, -0.24512933194637299, -0.2607441246509552, 0.7236533761024475, 0.41701701283454895, 0.35728999972343445, -0.6065237522125244, 0.10698406398296356, -0.030064722523093224, -0.4026104509830475, -0.671562135219574, 0.18264847993850708, -1.0886199474334717, -0.2457321435213089, 1.4806151390075684, -0.07328323274850845, -0.3107806146144867, -0.3148873746395111, -0.12840355932712555, 0.19876138865947723, -0.5455252528190613, 0.7522543668746948, 0.06058830767869949, -0.675396203994751, -0.07020840048789978, -0.7078003287315369, 0.24872668087482452, 0.19086164236068726, -1.1883646249771118, -0.23577824234962463, 0.702890157699585, 0.16975367069244385, -0.15545324981212616, 0.9447842836380005, -0.066677026450634, 0.32450103759765625, -0.23012007772922516, 0.07573205232620239, -0.08367986977100372, -0.4122238755226135, -0.361570805311203, -0.01798924058675766, 0.331417441368103, -0.19953623414039612 ]
http://arxiv.org/abs/2403.12968v1
http://arxiv.org/pdf/2403.12968v1
LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compression
2024-03-19T17:59:56
2024-03-19T17:59:56
Zhuoshi Pan, Qianhui Wu, Huiqiang Jiang, Menglin Xia, Xufang Luo, Jue Zhang, Qingwei Lin, Victor Rühle, Yuqing Yang, Chin-Yew Lin, H. Vicky Zhao, Lili Qiu, Dongmei Zhang
cs.CL
cs.CL, cs.LG
This paper focuses on task-agnostic prompt compression for better generalizability and efficiency. Considering the redundancy in natural language, existing approaches compress prompts by removing tokens or lexical units according to their information entropy obtained from a causal language model such as LLaMa-7B. The challenge is that information entropy may be a suboptimal compression metric: (i) it only leverages unidirectional context and may fail to capture all essential information needed for prompt compression; (ii) it is not aligned with the prompt compression objective. To address these issues, we propose a data distillation procedure to derive knowledge from an LLM to compress prompts without losing crucial information, and meantime, introduce an extractive text compression dataset. We formulate prompt compression as a token classification problem to guarantee the faithfulness of the compressed prompt to the original one, and use a Transformer encoder as the base architecture to capture all essential information for prompt compression from the full bidirectional context. Our approach leads to lower latency by explicitly learning the compression objective with smaller models such as XLM-RoBERTa-large and mBERT. We evaluate our method on both in-domain and out-of-domain datasets, including MeetingBank, LongBench, ZeroScrolls, GSM8K, and BBH. Despite its small size, our model shows significant performance gains over strong baselines and demonstrates robust generalization ability across different LLMs. Additionally, our model is 3x-6x faster than existing prompt compression methods, while accelerating the end-to-end latency by 1.6x-2.9x with compression ratios of 2x-5x.
[ -0.17579062283039093, -0.6846457123756409, 0.5730682611465454, 0.2855444550514221, -0.5506022572517395, 0.03606865555047989, -0.2655796706676483, -0.28090059757232666, 0.04681466147303581, -0.004561685491353273, -0.7114784717559814, -0.30494171380996704, -0.8987846374511719, 0.4152883291244507, -0.26601943373680115, 0.8005687594413757, 0.10494239628314972, -0.17422400414943695, -0.26570260524749756, 0.20452599227428436, -0.8506473898887634, -0.4868922829627991, -0.8055416941642761, -0.2893401086330414, 0.478082537651062, 0.3847006857395172, 0.3580061197280884, 0.5515152812004089, 0.25488951802253723, 0.31854763627052307, -0.27016183733940125, 0.3031185567378998, -0.5999135375022888, 0.44759559631347656, 0.01682441309094429, -0.55255126953125, -0.05446726083755493, 0.018331492319703102, 0.42420724034309387, 0.3780655860900879, -0.35694772005081177, 0.41624191403388977, 0.37836018204689026, 0.6358743906021118, -0.4053734838962555, 0.33877336978912354, -0.6080028414726257, 0.01767224445939064, -0.2938334345817566, -0.3578261435031891, -0.5013824105262756, -0.40477240085601807, -0.2757367193698883, -0.6118100881576538, 0.24807041883468628, 0.3992740511894226, 0.7765606641769409, 0.9486979842185974, -0.29454928636550903, -0.38205766677856445, -0.6301448941230774, 0.689278781414032, -0.5742451548576355, 0.13159407675266266, 0.5286868214607239, 0.5076298117637634, -0.1452850103378296, -0.7804359197616577, -0.6688292622566223, 0.04773948714137077, -0.01748819276690483, 0.041056275367736816, -0.6313925981521606, 0.019306788221001625, 0.4391179084777832, 0.36258503794670105, -0.6390326619148254, 0.31562894582748413, -0.45736533403396606, -0.2920670807361603, 0.23496241867542267, 0.2557717263698578, 0.09846951812505722, -0.22448399662971497, -0.4432770609855652, -0.03860614076256752, -0.7549622654914856, 0.02288019470870495, 0.45983126759529114, 0.23688989877700806, -0.08746219426393509, 0.3738960027694702, -0.2217155545949936, 0.7070972919464111, 0.3073957562446594, -0.44574981927871704, 0.13932770490646362, -0.3548007607460022, -0.20995762944221497, 0.10762128233909607, 0.7062116861343384, 0.33310452103614807, -0.17226269841194153, -0.2657129466533661, -0.21734996140003204, 0.10647588968276978, 0.02723086066544056, -0.9608827829360962, -0.11210960149765015, 0.33855417370796204, -0.42715948820114136, -0.19980359077453613, 0.05087894946336746, -0.6458263993263245, -0.49872297048568726, -0.6535738706588745, 0.17381341755390167, -0.14704161882400513, 0.0817505270242691, 0.11140849441289902, -0.29936230182647705, -0.03854804486036301, 0.5183984637260437, -0.9073688387870789, 0.11513403803110123, 0.6451933979988098, 1.036143183708191, -0.31383436918258667, -0.03200053051114082, -0.7449790239334106, -0.10880275815725327, 0.053915247321128845, 0.7882876396179199, -0.3643806576728821, -0.36752042174339294, -0.14594188332557678, 0.0598832406103611, 0.19169852137565613, -0.643791675567627, 0.834602415561676, -0.3764089345932007, 0.2359519749879837, -0.3279937505722046, -0.45818954706192017, -0.11017906665802002, 0.15418444573879242, -0.8261032104492188, 1.0751383304595947, 0.09244728088378906, -0.6165872812271118, 0.25463736057281494, -0.23899467289447784, -0.28064024448394775, 0.000848886207677424, -0.12629857659339905, -0.09142595529556274, 0.252288281917572, 0.26689374446868896, 0.5526508688926697, -0.9990622401237488, 0.6940092444419861, 0.11247893422842026, -0.43620380759239197, 0.025016911327838898, -0.9219398498535156, 0.7943810820579529, 0.4141794443130493, -0.14990366995334625, -0.2210794985294342, -0.7641273736953735, -0.3682900667190552, 0.008664700202643871, -0.5636293888092041, -0.2440738081932068, -0.4586055874824524, -0.30666571855545044, 0.1159658133983612, 0.4251735806465149, -0.6046404242515564, 0.5843093395233154, -0.10047817975282669, 0.3223062753677368, 0.8023717403411865, 0.041432902216911316, 0.41577765345573425, -0.2811081111431122, 0.5219308733940125, 0.11223189532756805, 0.2924933433532715, -0.23402084410190582, -0.5633843541145325, -0.5253732204437256, -0.3188161253929138, 0.33590179681777954, 0.7521745562553406, -1.1436131000518799, 0.5060834884643555, -0.47572749853134155, -0.4509444534778595, -0.5345855951309204, 0.07458698749542236, 0.19438186287879944, 0.9821405410766602, 0.5088452100753784, 0.19926413893699646, -0.5028336644172668, -0.6686089634895325, 0.0601954311132431, -0.35165899991989136, -0.3209552466869354, 0.20160305500030518, 0.011750446632504463, -0.1060226708650589, 0.7519728541374207, -0.6145719885826111, -0.14809326827526093, -0.22220508754253387, 0.5132322311401367, 0.8156307339668274, 0.3896472156047821, 0.5551684498786926, -0.6256323456764221, -0.4526176154613495, -0.29202643036842346, -0.6840145587921143, -0.6850163340568542, -0.20133157074451447, 0.07558739930391312, 0.01244110893458128, 0.2453809231519699, -0.8501811623573303, 0.4026710093021393, 0.44274505972862244, -0.40736308693885803, 0.4866369068622589, -0.2967972457408905, 0.29565364122390747, -1.1681963205337524, 0.07692401856184006, -0.16148778796195984, -0.12041108310222626, -0.7894837260246277, -0.2831699550151825, 0.119412362575531, 0.013366603292524815, -0.4024267792701721, 0.5159164071083069, -0.5580862164497375, 0.35683295130729675, -0.4931504726409912, -0.10893534868955612, 0.22606490552425385, 0.6465340256690979, -0.14506521821022034, 0.8902021646499634, 0.5807756185531616, -0.7753545045852661, 0.6216314435005188, 0.3001309633255005, -0.21965330839157104, 0.5362346172332764, -0.7966039776802063, 0.24843788146972656, -0.5651277303695679, 0.20497164130210876, -0.9531328082084656, 0.031819898635149, 0.41414040327072144, -0.4438726603984833, 0.4804837703704834, -0.20208528637886047, -0.7181395888328552, -0.2659062445163727, -0.24655327200889587, 0.376164972782135, 0.8436014652252197, -0.8040726184844971, 0.4517119526863098, 0.1001053899526596, -0.25067925453186035, -0.6921523213386536, -0.7669819593429565, 0.23257580399513245, -0.5498071312904358, -0.39108166098594666, 0.5344867706298828, -0.1957126408815384, -0.133770152926445, -0.2344258427619934, -0.14790715277194977, 0.015491160564124584, 0.07493046671152115, 0.3185974955558777, 0.4512885808944702, 0.26033714413642883, 0.11772126704454422, 0.3222007751464844, -0.2841763496398926, -0.043898794800043106, -0.3765033483505249, 0.5479292273521423, 0.4345763921737671, -0.17179308831691742, -0.5758917927742004, 0.3521764278411865, 0.30617082118988037, 0.4277164340019226, 0.5367568135261536, 0.53939288854599, -0.3685894310474396, -0.01722915843129158, -0.5626187920570374, -0.10883352905511856, -0.502886176109314, -0.12571260333061218, -0.3064533770084381, -0.8786336779594421, 0.5125700235366821, -0.27049732208251953, 0.1411765068769455, 0.29685088992118835, 0.3783745765686035, 0.23110194504261017, 0.44187071919441223, 0.5302819013595581, -0.2903929054737091, 0.3173595070838928, -0.057440951466560364, 0.03230847045779228, -0.6397615671157837, -0.3396252691745758, -0.7635148763656616, -0.37244927883148193, -0.020236786454916, -0.6197365522384644, 0.33630046248435974, 0.2566010057926178, -0.02341318689286709, 0.43595200777053833, -0.5768588781356812, 0.4122176170349121, 0.49407318234443665, -0.0011712579289451241, 0.2041114717721939, 0.051405418664216995, 0.2263377606868744, 0.13886871933937073, -0.720098078250885, -0.4132840633392334, 0.8173360824584961, 0.20086108148097992, 0.8502262830734253, 0.2655961513519287, 0.7093358039855957, 0.569105327129364, -0.0006934962584637105, -0.7740046977996826, 0.34220507740974426, 0.015889178961515427, -0.047524016350507736, -0.15937440097332, -0.4961472451686859, -1.0777987241744995, -0.11518559604883194, 0.032608479261398315, -0.7078011631965637, 0.4756462275981903, 0.1317584067583084, -0.5888511538505554, 0.09589319676160812, -0.5827470421791077, 0.30769097805023193, 0.19553419947624207, -0.22595146298408508, 0.12949496507644653, -0.7816674113273621, 0.3189941644668579, -0.21284374594688416, 0.03874608874320984, -0.2994021475315094, -0.15617750585079193, 0.7016916275024414, -0.6708394885063171, 0.9113017916679382, -0.4448704421520233, -0.23085980117321014, 0.3772820830345154, -0.09233494102954865, 0.7733069658279419, 0.12466146796941757, -0.07994917780160904, 0.38757315278053284, -0.1423899084329605, -0.15319278836250305, -1.0165756940841675, 0.37771788239479065, -0.4974655508995056, -0.7092911601066589, -0.18915550410747528, -0.26225316524505615, 0.09986355155706406, -0.09190374612808228, 0.5193331241607666, 0.5931138396263123, 0.11358658969402313, -0.12107966095209122, 0.665553867816925, -0.003707540687173605, 0.5955601334571838, 0.3223561644554138, 0.16969171166419983, -0.4105333685874939, 0.7667590975761414, -0.007794458884745836, -0.11617542058229446, 0.5465959906578064, 0.1729901283979416, -0.49085989594459534, -0.5599779486656189, -0.5734037756919861, 0.008384757675230503, -0.8396019339561462, -0.84832763671875, -0.4328560531139374, 0.0618898905813694, -0.5198974013328552, 0.09623673558235168, -0.09250809252262115, -0.6268216967582703, -0.8090032339096069, -0.046650998294353485, 0.4917919933795929, 0.6164317727088928, -0.22790607810020447, 0.49380189180374146, -0.9080182313919067, 0.47070595622062683, 0.13728861510753632, -0.2005668729543686, -0.02781960740685463, -0.8927360773086548, -0.08419463783502579, -0.07535248249769211, -0.020649731159210205, -0.994800329208374, 0.48532891273498535, 0.29265353083610535, 0.6252351403236389, 0.5583615303039551, 0.46842706203460693, 0.7823906540870667, -0.5472308993339539, 1.0351471900939941, 0.33934399485588074, -0.8273147344589233, 0.5290056467056274, 0.20478765666484833, 0.45183831453323364, 0.6825553178787231, 0.4553017318248749, -0.4831430912017822, -0.15157967805862427, -0.31783026456832886, -0.806339681148529, 0.5925558805465698, 0.19322171807289124, -0.041841451078653336, -0.21986839175224304, 0.6757698655128479, 0.543877363204956, 0.3155480921268463, -0.4126822352409363, -0.43836066126823425, -0.14129452407360077, -0.4177463948726654, -0.03356337174773216, -0.5286781191825867, -0.07234122604131699, -0.13213330507278442, 0.49184873700141907, -0.12976230680942535, 0.43141666054725647, 0.32032254338264465, -0.16023583710193634, 0.35082533955574036, 0.2773801386356354, 0.43082281947135925, 0.18272942304611206, 0.1779688596725464, 0.45795318484306335, 0.11993003636598587, -0.6922459006309509, 0.5945412516593933, 0.20942950248718262, -0.13790996372699738, 0.16898925602436066, 0.2716504633426666, 0.9508777260780334, -0.09992285072803497, -0.42527779936790466, 0.5047714710235596, -0.33610227704048157, 0.04150020331144333, -0.04182133451104164, -0.09524554759263992, -0.3563635051250458, 0.40341755747795105, 0.5533220171928406, 0.018269600346684456, 0.48673754930496216, -0.2017974853515625, -0.07961104065179825, 0.07910674810409546, -0.03312169387936592, -0.42807960510253906, 0.65556800365448, 0.14033344388008118, -0.00017053523333743215, 0.6382246613502502, -0.45117291808128357, -0.13516125082969666, 0.3898603618144989, 0.5127280950546265, 1.0462232828140259, -0.23656147718429565, -0.03070083074271679, 0.5772324204444885, 0.26914283633232117, -0.2551485300064087, 0.22652243077754974, -0.5285559296607971, -0.48221877217292786, -0.4463179111480713, -0.6671069264411926, -0.15459726750850677, -0.14346937835216522, -0.689800500869751, 0.3226962387561798, -0.2633027136325836, -0.33779773116111755, -0.3561389744281769, -0.11899875104427338, -0.6589890718460083, -0.07008739560842514, 0.0904579758644104, 1.0476675033569336, -0.6637871265411377, 0.7508920431137085, 0.175561785697937, -0.11525118350982666, -0.7841975688934326, -0.1231558546423912, 0.15195070207118988, -0.7306491136550903, 0.6432613730430603, 0.26255741715431213, 0.021794233471155167, -0.09151195734739304, -0.5529307126998901, -0.8396883010864258, 1.5243231058120728, 0.6645243167877197, -0.7498266100883484, -0.09280230849981308, 0.10483034700155258, 0.2522880434989929, -0.043658286333084106, 0.19888637959957123, 0.656216025352478, 0.5275841355323792, 0.43962815403938293, -0.9082207083702087, 0.3452233672142029, -0.3683277368545532, 0.033225297927856445, 0.00020122528076171875, -0.47009041905403137, 0.7206807136535645, -0.03222767636179924, -0.6334697604179382, 0.0858568400144577, 0.7705749869346619, 0.20341385900974274, 0.19811514019966125, 0.3492184579372406, 0.533161461353302, 1.2956068515777588, -0.16310842335224152, 0.7929093241691589, -0.478483647108078, 0.11048002541065216, 1.0968860387802124, -0.07600916922092438, 0.4268293082714081, 0.7385416030883789, -0.1939096301794052, 0.2969949245452881, 0.7287654280662537, 0.0959291085600853, 0.7086495757102966, 0.1582198441028595, -0.39690500497817993, 0.07057800889015198, -0.36172476410865784, -0.24207934737205505, 0.09810052812099457, 0.08848658949136734, -0.07494846731424332, -0.272527277469635, 0.0956903025507927, 0.1689370572566986, -0.28168171644210815, -0.18940982222557068, 0.8751987814903259, 0.054172709584236145, -0.7876836061477661, 0.8587782979011536, 0.004420036915689707, 0.8394632339477539, -0.5436726212501526, -0.014637839049100876, -0.343633234500885, -0.48692086338996887, -0.08000651001930237, -0.6123749017715454, 0.3461061418056488, 0.28423088788986206, -0.23096343874931335, -0.4133336842060089, 0.8509500622749329, -0.4270629584789276, -0.1515132635831833, -0.10389821231365204, 0.5335367321968079, 0.4298701584339142, -0.13312363624572754, -0.35839712619781494, 0.23414555191993713, 0.01452579628676176, -0.21927905082702637, 0.06535310298204422, 0.6775120496749878, 0.33005768060684204, 0.5705521106719971, 0.647795557975769, 0.07396972924470901, -0.07722783088684082, 0.08271507173776627, 1.1383564472198486, -0.5224331021308899, -0.5335196256637573, -1.096952199935913, 0.41425085067749023, -0.17060433328151703, -0.21121840178966522, 0.5996988415718079, 0.40772563219070435, 0.21624211966991425, 0.008126333355903625, 0.7062970995903015, -0.10641353577375412, 0.20255962014198303, -0.805688738822937, 0.369955837726593, -0.2717185616493225, 0.4147615134716034, 0.1451396942138672, -0.8742167949676514, -0.1953975260257721, 0.1887655407190323, 0.13761594891548157, -0.4300721287727356, 0.5333583354949951, 0.632047712802887, 0.16723185777664185, -0.08487782627344131, 0.2883957326412201, -0.08584414422512054, 0.2355826497077942, 0.7818092107772827, 0.8318015336990356, -0.37528544664382935, 0.4237021207809448, -0.09062710404396057, -0.391954630613327, 0.022436609491705894, -1.009194254875183, -0.8155239820480347, -0.7460328936576843, -0.2845607399940491, -0.10058938711881638, -0.1516963094472885, 1.0108654499053955, 0.4566550850868225, -0.41940170526504517, 0.1608591228723526, -0.10935372859239578, 0.1462784707546234, -0.05889425799250603, -0.17982742190361023, 0.2082873433828354, -0.3481484651565552, -0.9170584082603455, 0.5871514081954956, 0.2951884865760803, 0.47056928277015686, -0.24251337349414825, -0.11460058391094208, 0.3323269188404083, 0.1324678212404251, 0.4766429364681244, 0.13503199815750122, -0.5984420776367188, 0.09236885607242584, -0.11805681139230728, 0.08457335829734802, 0.12821421027183533, 0.7816094756126404, -0.9498139023780823, 0.09750960767269135, 0.6427303552627563, 0.5496163964271545, 0.23890389502048492, 0.2133471667766571, 0.43080589175224304, -1.069631576538086, 0.4954681098461151, 0.06811601668596268, 0.5629245638847351, 0.32283034920692444, -0.7607643604278564, 0.5132381319999695, 0.2779657542705536, -0.5971918702125549, -0.8212518692016602, 0.17079313099384308, -1.0556540489196777, -0.2893255054950714, 1.3787611722946167, -0.30348214507102966, -0.36115339398384094, -0.18740636110305786, -0.47566062211990356, 0.3978143334388733, -0.6751989126205444, 0.8401781320571899, 0.5517512559890747, -0.15214134752750397, -0.09163405746221542, -0.2658750116825104, 0.6000815629959106, 0.04294538497924805, -0.8362980484962463, 0.2705783545970917, 0.6843512654304504, -0.12103015929460526, 0.12886664271354675, 0.6703410744667053, 0.09585075825452805, 0.09147322177886963, 0.15763430297374725, -0.059706464409828186, -0.407749742269516, -0.5111457109451294, -0.6999480724334717, 0.2604843080043793, -0.07735181599855423, -0.08875159174203873 ]
http://arxiv.org/abs/2403.12964v1
http://arxiv.org/pdf/2403.12964v1
Negative Yields Positive: Unified Dual-Path Adapter for Vision-Language Models
2024-03-19T17:59:39
2024-03-19T17:59:39
Ce Zhang, Simon Stepputtis, Katia Sycara, Yaqi Xie
cs.CV
cs.CV, cs.CL
Recently, large-scale pre-trained Vision-Language Models (VLMs) have demonstrated great potential in learning open-world visual representations, and exhibit remarkable performance across a wide range of downstream tasks through efficient fine-tuning. In this work, we innovatively introduce the concept of dual learning into fine-tuning VLMs, i.e., we not only learn what an image is, but also what an image isn't. Building on this concept, we introduce a novel DualAdapter approach to enable dual-path adaptation of VLMs from both positive and negative perspectives with only limited annotated samples. In the inference stage, our DualAdapter performs unified predictions by simultaneously conducting complementary positive selection and negative exclusion across target classes, thereby enhancing the overall recognition accuracy of VLMs in downstream tasks. Our extensive experimental results across 15 datasets validate that the proposed DualAdapter outperforms existing state-of-the-art methods on both few-shot learning and domain generalization tasks while achieving competitive computational efficiency. Code is available at https://github.com/zhangce01/DualAdapter.
[ -0.515030026435852, -0.3447888195514679, 0.2541225254535675, -0.35369282960891724, -0.680372953414917, -0.14307446777820587, -0.16128186881542206, -0.7049343585968018, 0.0303821861743927, 0.556231677532196, -0.6128812432289124, -0.25657209753990173, -0.4559629559516907, -0.2955416142940521, -0.034401267766952515, 0.90382981300354, -0.011815252713859081, 0.2768501937389374, -0.007141985464841127, -0.42230314016342163, -0.8044233322143555, -0.1865077167749405, -0.5922561883926392, -0.34184616804122925, 0.8479999303817749, 0.2899321913719177, 0.47753822803497314, 0.33339738845825195, 0.44647571444511414, 0.18794721364974976, 0.4738351106643677, -0.0068025654181838036, -0.4477523863315582, 0.04513723403215408, -0.5172352194786072, -0.27275988459587097, 0.010675495490431786, -0.06964820623397827, 0.603232741355896, 0.31772997975349426, 0.16825051605701447, 0.41985395550727844, 0.05602490156888962, 0.7091305255889893, -0.8318585157394409, -0.07947760075330734, -0.9379994869232178, 0.08232053369283676, -0.21096451580524445, -0.2609061598777771, -0.2938234210014343, -0.0078122299164533615, 0.011468048207461834, -0.7018260955810547, 0.15888755023479462, -0.2598835825920105, 0.802075982093811, 0.4695367217063904, -0.6936091184616089, 0.16630062460899353, -0.818773090839386, 0.9242773056030273, -0.3871574103832245, 0.4296565651893616, -0.161977156996727, 0.7952788472175598, 0.2147645503282547, -0.3840537369251251, -0.5080562233924866, -0.02243671379983425, 0.05915304273366928, 0.28288018703460693, 0.0796491876244545, 0.21145635843276978, -0.010047060437500477, 0.31818580627441406, -0.387419730424881, 0.31791335344314575, -0.3159419596195221, -0.33578044176101685, 0.6908797025680542, 0.018483014777302742, 0.357533723115921, 0.14261674880981445, -0.442239373922348, -0.12380364537239075, -0.5423092842102051, 0.04981298744678497, 0.22789525985717773, 0.571435272693634, -0.045074235647916794, 0.5255736708641052, -0.07041677087545395, 0.9871343374252319, -0.15970419347286224, 0.06017463654279709, 0.08185181021690369, -0.41274967789649963, -0.30937543511390686, -0.3257928192615509, 0.35251614451408386, 0.5504292249679565, 0.24101491272449493, -0.20427465438842773, -0.18457095324993134, 0.7054248452186584, 0.26126283407211304, -0.8704985976219177, -0.3590662479400635, -0.04273486137390137, -0.1275431513786316, -0.26745250821113586, -0.015077086165547371, -1.0348094701766968, -0.8822804093360901, -0.7040268778800964, 0.9882183074951172, -0.046196646988391876, -0.4107087254524231, 0.09183461964130402, -0.5072664022445679, 0.5382048487663269, 0.6786741614341736, -0.5579925179481506, 0.1740613579750061, 0.4261661767959595, 0.6149927973747253, 0.09199388325214386, -0.4041871130466461, -0.9688671827316284, -0.08696866780519485, -0.3483136296272278, 0.7828940749168396, -0.4817543029785156, 0.033074572682380676, -0.10342027992010117, -0.19941383600234985, 0.00017428200226277113, -0.4170374274253845, 0.5140960812568665, -0.5282852053642273, 0.21774064004421234, -0.22027987241744995, -0.1149851530790329, -0.37183430790901184, -0.003789147362112999, -0.3260756731033325, 0.6186563968658447, -0.06094611436128616, -0.5609658360481262, 0.8353497385978699, -0.5252283811569214, -0.6482529044151306, 0.22695747017860413, -0.3670094907283783, -0.4751833975315094, 0.35311320424079895, -0.03767377510666847, 0.30755507946014404, -0.24114088714122772, 0.0656285211443901, -0.5046893954277039, -0.4431747794151306, -0.32921308279037476, -0.427195280790329, 0.8044859766960144, -0.15572120249271393, -0.3246498703956604, 0.48131775856018066, -0.9283565282821655, -0.07686202228069305, 0.4026397466659546, -0.0669393539428711, -0.6096523404121399, 0.027667459100484848, 0.1877812147140503, 0.7466310858726501, 0.027377117425203323, -0.7270379662513733, 0.3751484453678131, -0.15205112099647522, 0.1047796905040741, 0.9907712340354919, -0.30246323347091675, 0.5155938863754272, -0.009999868459999561, 0.29296571016311646, 0.056247528642416, 0.040812719613313675, 0.014937818050384521, -0.4348001778125763, -1.0520888566970825, -0.17066293954849243, 0.0005894871428608894, 0.5391451120376587, -1.0785351991653442, 0.271918922662735, -0.10662324726581573, -0.44151294231414795, -0.641966700553894, 0.18106156587600708, 0.5068408250808716, 0.7031669020652771, 0.5592072606086731, -0.5737900137901306, -0.7600598335266113, -0.6023242473602295, -0.448956698179245, 0.023330368101596832, -0.07265617698431015, 0.47883808612823486, 0.3446556031703949, -0.27381232380867004, 0.5636259317398071, -0.4317089915275574, -0.5160114169120789, -0.2190072238445282, -0.09359966218471527, 0.2753540277481079, 0.1538093537092209, 0.5877039432525635, -1.0722488164901733, -0.6773871779441833, 0.02243516966700554, -0.8181951642036438, 0.0416637659072876, -0.1945224404335022, -0.26642045378685, 0.18587443232536316, 0.17428536713123322, -0.15454554557800293, 0.555492103099823, 0.7797512412071228, -0.7703837156295776, 0.4014090597629547, -0.3576276898384094, -0.22646015882492065, -0.8063997030258179, -0.16280436515808105, 0.30624085664749146, -0.27920520305633545, -0.6557138562202454, 0.14698685705661774, 0.1796150952577591, 0.046836674213409424, -0.41749516129493713, 0.6224400997161865, -0.3944980502128601, -0.04680277407169342, -0.3840624690055847, -0.16832736134529114, -0.038216859102249146, 0.585195779800415, 0.4002411365509033, 0.6732256412506104, 1.054461121559143, -0.6066327095031738, 0.16109144687652588, 0.06527865678071976, -0.15387675166130066, 0.567832887172699, -0.4282011389732361, -0.0389530323445797, -0.3634288012981415, 0.09697248041629791, -0.9214463233947754, -0.12051662802696228, 0.20789304375648499, -0.056050702929496765, 0.4401525557041168, -0.3622210621833801, -0.015442484058439732, -0.6713017225265503, -0.5012129545211792, 0.25246793031692505, 0.7478585839271545, -0.8910626173019409, 0.5370864272117615, 0.42104536294937134, 0.29972895979881287, -0.45590895414352417, -0.7202379703521729, 0.19593264162540436, -0.046598464250564575, -0.35230153799057007, -0.02543022856116295, -0.20352871716022491, 0.08722259104251862, -0.28893738985061646, -0.2013026475906372, 0.12787342071533203, 0.21129238605499268, 0.49596643447875977, 0.5527772307395935, -0.3599764108657837, 0.13689805567264557, -0.023215247318148613, -0.44491949677467346, -0.3763382136821747, -0.7182664275169373, 0.3293488621711731, -0.1361512541770935, -0.4241422414779663, -0.5824240446090698, -0.03470868244767189, 0.6728741526603699, -0.434790700674057, 0.7227281928062439, 0.7156974673271179, -0.22108495235443115, -0.1789107769727707, -0.31684282422065735, -0.18037401139736176, -0.46083083748817444, 0.45067542791366577, -0.4274185299873352, -0.5788791179656982, 0.08438245952129364, -0.024558402597904205, 0.04184259474277496, 0.4231732189655304, 0.3839130103588104, 0.07809001952409744, 0.8707623481750488, 0.8725427985191345, 0.07177148014307022, 0.7308675646781921, -0.2676375210285187, 0.4040818512439728, -0.7795389294624329, 0.09801504015922546, 0.01946500688791275, -0.40583401918411255, -0.6089186668395996, -0.4180571138858795, 0.32933515310287476, 0.1775781363248825, -0.2756454050540924, 0.37629789113998413, -0.5319694876670837, 0.5772448182106018, 0.7244676351547241, 0.08473717421293259, 0.29418328404426575, -0.024931469932198524, -0.005899847485125065, -0.06074289232492447, -0.409847617149353, -0.22827357053756714, 1.107925295829773, 0.14010347425937653, 0.6100614070892334, 0.030058911070227623, 0.7738800048828125, 0.02551322430372238, 0.3317660391330719, -0.8955126404762268, 0.4691506326198578, -0.5610299110412598, -0.5792116522789001, -0.3658706545829773, -0.25006192922592163, -0.42686188220977783, 0.810577929019928, -0.40834924578666687, -0.5811446905136108, 0.3159920871257782, 0.5884237885475159, -0.20445571839809418, 0.5941532254219055, -0.8507945537567139, 1.1042622327804565, -0.4893565773963928, -0.7422128319740295, -0.028705798089504242, -0.8575170040130615, 0.21873006224632263, -0.21693892776966095, 0.09620913863182068, -0.19804778695106506, 0.10359365493059158, 0.34265750646591187, -0.07084667682647705, 0.9823440909385681, -0.7256833910942078, -0.01616300456225872, 0.2321491539478302, -0.017165977507829666, 0.2651873230934143, 0.11739850789308548, -0.10335451364517212, 0.4192821979522705, -0.22825375199317932, -0.5160591006278992, -0.3210813105106354, 0.36635127663612366, -0.6575220227241516, -0.4208217263221741, -0.37835055589675903, -0.46227163076400757, -0.14183644950389862, 0.7116149663925171, 0.2554226219654083, 0.5583959817886353, -0.14002752304077148, -0.09470672905445099, 0.11373542994260788, -0.20826394855976105, 0.296850323677063, 0.6022616028785706, -0.42891159653663635, -0.2224586308002472, 1.3268134593963623, -0.0236845500767231, 0.4255819618701935, 0.5990322232246399, 0.31485143303871155, -0.11571087688207626, -0.8201372027397156, -0.611539363861084, 0.1638101190328598, -0.5056759119033813, -0.3008843958377838, -0.3096865713596344, -0.3101780116558075, -0.1461276412010193, -0.2701108157634735, -0.39989104866981506, -0.33180752396583557, -0.2812393605709076, -0.03045223280787468, -0.025464031845331192, 0.7251107692718506, -0.3371884524822235, -0.17910829186439514, -0.2659491300582886, 0.824508011341095, 0.8215864896774292, 0.4480689764022827, -0.13553673028945923, -0.5161870121955872, -0.09303798526525497, 0.2784598469734192, -0.2615734040737152, -0.3167893886566162, 0.344210147857666, 0.5165003538131714, 0.35484784841537476, 0.3134693503379822, 0.010024451650679111, 0.8052204251289368, -0.727134108543396, 0.6213259696960449, 0.5271156430244446, -0.6465137600898743, 0.628085732460022, -0.19356100261211395, 0.3506022095680237, 0.6801395416259766, 0.02874165214598179, -0.46413686871528625, -0.2503800392150879, -0.009712154045701027, -0.644172728061676, 0.6867993474006653, -0.11171708256006241, 0.20572525262832642, 0.4619547128677368, 0.12517115473747253, 0.41400232911109924, 0.09060300141572952, -0.8049046993255615, -0.2518357038497925, -0.6676936745643616, -0.10082613676786423, -0.625044047832489, -0.12165740132331848, 0.05564282462000847, -0.6223341226577759, 0.6277608871459961, -0.30097535252571106, -0.012820403091609478, -0.02512221410870552, -0.2764663100242615, -0.4213132858276367, 0.29719266295433044, 0.3888982832431793, 0.506960391998291, -0.3483131229877472, 0.4101203978061676, 0.015292192809283733, -0.5482078194618225, 0.11651311814785004, 0.2726815938949585, -0.2854821979999542, -0.21796110272407532, 0.2992009222507477, 1.0369735956192017, -0.09546966105699539, -0.5093368291854858, 0.6090986728668213, -0.2803254723548889, -0.0964532271027565, -0.1338633894920349, 0.2239288091659546, -0.23575864732265472, 0.23315124213695526, 0.3201880156993866, 0.7987082600593567, 0.13394196331501007, -0.4172980487346649, 0.15954749286174774, 0.6044350862503052, -0.6661972999572754, -0.6624720096588135, 0.7275692224502563, 0.4030689597129822, -0.21981865167617798, 0.30539771914482117, -0.3394004702568054, -0.4304402470588684, 0.4903065264225006, 0.6673057675361633, 0.9701279401779175, -0.07832245528697968, 0.2778332233428955, 0.32136210799217224, 0.09776173532009125, 0.28142449259757996, 0.24959298968315125, -0.28092965483665466, -0.9947760105133057, -0.2057710438966751, -0.8785858154296875, -0.17783643305301666, -0.08540014922618866, -0.6232821345329285, 0.44749751687049866, -0.21451717615127563, 0.23964808881282806, 0.19608862698078156, -0.11697535216808319, -0.857969343662262, 0.18309146165847778, 0.6860366463661194, 0.7961004972457886, -0.8992860913276672, 1.172118067741394, 0.8223780393600464, -0.42483484745025635, -0.30733224749565125, 0.03520974889397621, 0.06484269350767136, -0.9600908160209656, 0.43822360038757324, 0.5154133439064026, -0.4471893012523651, -0.0012904079630970955, -0.17297014594078064, -0.47772645950317383, 1.0900633335113525, 0.5814433693885803, -0.7435987591743469, 0.08963456749916077, -0.09731891751289368, 0.5383925437927246, -0.006601346656680107, -0.005646812729537487, 0.1336660236120224, 0.34136244654655457, 0.33692774176597595, -0.6779690980911255, -0.12701046466827393, -0.1634289026260376, 0.04941083490848541, 0.6125397086143494, -0.5935842394828796, 0.6111874580383301, -0.5306104421615601, -0.22930172085762024, -0.003984948620200157, 0.4184051752090454, -0.09063132107257843, 0.4786977469921112, 0.5078022480010986, 0.5637282133102417, 0.49135076999664307, 0.2549174726009369, 0.9505472779273987, 0.003457799553871155, 0.46952980756759644, 1.2306376695632935, -0.4195103645324707, 0.8124904632568359, 0.7449655532836914, -0.11369054764509201, 0.5349122881889343, 0.17670245468616486, 0.10058935731649399, 0.9815568327903748, -0.0764366015791893, -0.22515282034873962, -0.5955039262771606, -0.14525073766708374, -0.2755929231643677, 0.3742128610610962, 0.12003612518310547, -0.13724379241466522, -0.36668723821640015, 0.15713104605674744, -0.510147213935852, -0.01030842773616314, -0.43913018703460693, 0.759255051612854, 0.14620332419872284, -0.6120871305465698, 0.6026350259780884, -0.3342267870903015, 0.913408637046814, -0.5039610266685486, -0.30193424224853516, 0.11691443622112274, 0.6165096163749695, -0.12936854362487793, -0.77434241771698, 0.27666914463043213, -0.25857922434806824, -0.06809239089488983, -0.3629709482192993, 1.0746088027954102, -0.38944900035858154, -0.6414425373077393, 0.7315719723701477, 0.20722295343875885, -0.4029463529586792, -0.20652136206626892, -0.48375561833381653, -0.07862234860658646, 0.09266369789838791, 0.09794260561466217, 0.30246394872665405, 0.12617646157741547, 0.1367839276790619, 0.25629913806915283, 0.4680667519569397, -0.01569170132279396, 0.12288706004619598, 0.23439869284629822, 0.911247730255127, -0.5855630040168762, -0.3149608373641968, -0.7772270441055298, 0.8397383689880371, -0.15421712398529053, -0.28706836700439453, 0.6785894632339478, 0.4323744773864746, 1.0774562358856201, -0.21519821882247925, 0.9083993434906006, 0.08576712012290955, 0.37378546595573425, -0.45022958517074585, 0.3894828259944916, -0.8625777959823608, -0.09541159868240356, -0.21461260318756104, -0.7212346792221069, -0.7418102025985718, 0.5423029661178589, -0.6754413843154907, -0.2554164528846741, 0.24865837395191193, 0.5631834268569946, -0.5832509398460388, -0.16709810495376587, 0.641074538230896, 0.20243123173713684, 0.3371005058288574, 0.7459766864776611, 0.7450674176216125, -0.6277336478233337, 0.3739657998085022, -0.3891151249408722, -0.3237510621547699, -0.29430481791496277, -0.8318493366241455, -0.9412932991981506, -0.5349015593528748, -0.24424618482589722, -0.08342064917087555, 0.16510646045207977, 0.4300273060798645, 0.8349758982658386, -0.9640716314315796, -0.1387527883052826, -0.6776407957077026, 0.21548575162887573, -0.12450490891933441, -0.1697997748851776, -0.03460335358977318, -0.1403093785047531, -0.21425700187683105, 0.17727039754390717, 0.6811437606811523, 0.05767671763896942, -0.11371422559022903, -0.2749118506908417, -0.13851967453956604, -0.011240163818001747, 0.6595141887664795, 0.544409453868866, -0.7437626719474792, -0.4119897484779358, -0.34879744052886963, 0.088044673204422, 0.2645344138145447, 0.6794689297676086, -0.9806964993476868, 0.9034554362297058, 0.2899005115032196, 0.551540195941925, 0.5169647336006165, -0.23342882096767426, 0.4440716505050659, -0.37788793444633484, 0.4782789647579193, 0.2333470731973648, 0.3926273584365845, 0.36953768134117126, -0.14253777265548706, 0.3654558062553406, 0.33718469738960266, -0.29232707619667053, -0.6832269430160522, 0.6886622905731201, -0.9527744054794312, -0.30103397369384766, 0.9599776864051819, 0.2409200221300125, -0.062592513859272, 0.05408090353012085, -0.4776838719844818, 0.38953667879104614, -0.11863076686859131, 0.5328738689422607, -0.026446092873811722, -0.04942728579044342, -0.09835489839315414, -0.35814717411994934, 0.15254582464694977, 0.21016855537891388, -0.6497430205345154, -0.031594425439834595, 0.5993265509605408, 0.30227261781692505, 0.21517875790596008, 0.4666665196418762, 0.190476194024086, 0.3592481315135956, -0.024198152124881744, 0.15283599495887756, -0.05697301775217056, -0.5386456251144409, -0.7348073124885559, -0.044754475355148315, 0.19919416308403015, -0.46767163276672363 ]
http://arxiv.org/abs/2403.12958v1
http://arxiv.org/pdf/2403.12958v1
Dated Data: Tracing Knowledge Cutoffs in Large Language Models
2024-03-19T17:57:58
2024-03-19T17:57:58
Jeffrey Cheng, Marc Marone, Orion Weller, Dawn Lawrie, Daniel Khashabi, Benjamin Van Durme
cs.CL
cs.CL
Released Large Language Models (LLMs) are often paired with a claimed knowledge cutoff date, or the dates at which training data was gathered. Such information is crucial for applications where the LLM must provide up to date information. However, this statement only scratches the surface: do all resources in the training data share the same knowledge cutoff date? Does the model's demonstrated knowledge for these subsets closely align to their cutoff dates? In this work, we define the notion of an effective cutoff. This is distinct from the LLM designer reported cutoff and applies separately to sub-resources and topics. We propose a simple approach to estimate effective cutoffs on the resource-level temporal alignment of an LLM by probing across versions of the data. Using this analysis, we find that effective cutoffs often differ from reported cutoffs. To understand the root cause of this observation, we conduct a direct large-scale analysis on open pre-training datasets. Our analysis reveals two reasons for these inconsistencies: (1) temporal biases of CommonCrawl data due to non-trivial amounts of old data in new dumps and (2) complications in LLM deduplication schemes involving semantic duplicates and lexical near-duplicates. Overall, our results show that knowledge cutoffs are not as simple as they have seemed and that care must be taken both by LLM dataset curators as well as practitioners who seek to use information from these models.
[ -0.1928417682647705, -0.710107147693634, 0.625158965587616, 0.00391797861084342, -0.10388396680355072, -0.0862412229180336, -0.13264863193035126, -0.5195971727371216, -0.027429459616541862, 0.5207458734512329, -0.7727077603340149, -0.33655545115470886, -0.5093307495117188, -0.2794617712497711, -0.45397764444351196, 0.9139519333839417, -0.19896246492862701, 0.0502653643488884, -0.3406645357608795, -0.4606405198574066, -0.4921640455722809, -0.5988938212394714, -0.4703690707683563, -0.5514585971832275, 0.6740311980247498, 0.20212644338607788, 0.6812665462493896, 0.9641263484954834, 0.70848548412323, 0.10317092388868332, -0.49683818221092224, 0.10684884339570999, -0.41857290267944336, -0.1789071261882782, -0.2047155201435089, -0.3497830033302307, -0.45856332778930664, 0.10133611410856247, 0.667265772819519, 1.15867280960083, -0.11241329461336136, 0.09716639667749405, -0.0387103445827961, 0.691146969795227, -0.9227860569953918, -0.06296595931053162, -0.6795334219932556, 0.3862024247646332, -0.4759570360183716, -0.3074280619621277, -0.24114203453063965, -0.41529783606529236, 0.27125439047813416, -0.41562557220458984, 0.2594706118106842, -0.47370585799217224, 0.7882538437843323, 0.5540801882743835, -0.4644686281681061, -0.4084889590740204, -0.7333853840827942, 1.095885992050171, -0.8685769438743591, 0.5200230479240417, 0.402383029460907, 0.3185507357120514, -0.18963490426540375, -0.4647741913795471, -0.1962154507637024, -0.09297505021095276, -0.06520117819309235, -0.20871920883655548, -0.1099749356508255, -0.17838367819786072, 0.5021834373474121, 0.4560322165489197, -0.31070899963378906, 0.3473474383354187, -0.4658220112323761, -0.2638174295425415, 0.3918345272541046, 0.27092570066452026, 0.3283202648162842, -0.034196216613054276, -0.5809633135795593, 0.14779897034168243, -1.2132999897003174, -0.18185049295425415, 0.4037132263183594, 0.12228255718946457, -0.15982279181480408, 0.5307530164718628, 0.057034023106098175, 0.8683321475982666, -0.2610107362270355, -0.27772942185401917, 0.06512979418039322, -0.4263443350791931, -0.13053534924983978, 0.04342564940452576, 0.6320504546165466, 0.3719802498817444, 0.33988362550735474, -0.07151761651039124, -0.055520981550216675, -0.31603094935417175, -0.15133371949195862, -0.5475364327430725, -0.2968507409095764, -0.04381921514868736, -0.19445428252220154, -0.10188133269548416, -0.1844538301229477, -0.5538749694824219, -0.4352293908596039, -0.5070745348930359, 0.09062853455543518, -0.0211623664945364, -0.04378960654139519, 0.07493403553962708, 0.05846317112445831, 0.12496761977672577, 0.2892420291900635, -0.5161906480789185, -0.003099562367424369, 0.475433886051178, 0.8698692917823792, -0.26634451746940613, -0.20770709216594696, -0.562872588634491, 0.2833985388278961, -0.25953277945518494, 0.4086054265499115, -0.3060476779937744, -0.13052286207675934, 0.061039842665195465, -0.140715554356575, -0.12217295914888382, -0.6296518445014954, 0.34677520394325256, -0.5655509829521179, 0.32995688915252686, -0.3090043365955353, -0.7526702284812927, 0.2225506454706192, 0.1949453204870224, -0.7763012647628784, 0.7668400406837463, -0.062340449541807175, -1.0178617238998413, 0.565772294998169, -0.2781161963939667, -0.2441321462392807, -0.2895193099975586, -0.1889970749616623, -0.33813539147377014, -0.11621897667646408, 0.2835395932197571, 0.31768113374710083, -0.4032707214355469, 0.42053136229515076, -0.3779616355895996, -0.03723153471946716, 0.3853442072868347, -0.3917354941368103, 1.0255123376846313, 0.42956534028053284, -0.02429135888814926, -0.2209572196006775, -0.6842389702796936, -0.013372416608035564, 0.20573648810386658, -0.45321592688560486, -0.40955790877342224, 0.1293472796678543, -0.10097472369670868, 0.07212935388088226, 0.5076746344566345, -0.4320463538169861, 0.3467871844768524, 0.021796904504299164, 0.5105538964271545, 0.7818126678466797, 0.020852738991379738, 0.41780850291252136, -0.4344821870326996, 0.5909823179244995, -0.07906873524188995, 0.5069741606712341, -0.10789646953344345, -0.09313343465328217, -0.5867540836334229, -0.12493665516376495, 0.1907252073287964, 0.34065863490104675, -0.26392507553100586, 0.3345579504966736, -0.2280566543340683, -0.40263962745666504, -0.12124602496623993, 0.032001860439777374, 0.3777051866054535, 0.3124990165233612, 0.18197235465049744, -0.4485747814178467, -0.629157543182373, -0.9353928565979004, -0.39809709787368774, -0.09762712568044662, 0.09909974783658981, 0.3366265296936035, 0.1788589507341385, 0.1281232237815857, 1.0170406103134155, -0.7929497361183167, -0.13584889471530914, -0.1336420625448227, 0.064133420586586, 0.1755162626504898, 0.46047013998031616, 0.5015270709991455, -0.5495522022247314, -0.17129233479499817, -0.2314816415309906, -0.7793715596199036, -0.34004321694374084, -0.19172993302345276, -0.12877729535102844, 0.1186537966132164, 0.6674764156341553, -0.5065171718597412, 0.23079007863998413, 0.6473787426948547, -0.11572302132844925, 0.4730369448661804, 0.047978658229112625, -0.0849551111459732, -0.7464689016342163, 0.16161979734897614, -0.20807431638240814, -0.0700567215681076, -0.4442409574985504, -0.3073631823062897, 0.08126858621835709, 0.04679347947239876, -0.43916183710098267, 0.6638919115066528, -0.6423116326332092, -0.1403467059135437, 0.01213102601468563, 0.20654408633708954, -0.06390230357646942, 0.1964622437953949, -0.13460563123226166, 0.4329819083213806, 0.12783119082450867, -0.37704402208328247, 0.13974273204803467, 0.2879593074321747, -0.6785585284233093, 0.40776145458221436, -0.49424466490745544, 0.5113288760185242, 0.01005738228559494, 0.07167983055114746, -0.5523943901062012, -0.08815379440784454, 0.12406272441148758, -0.21419651806354523, 0.4020407497882843, -0.48830369114875793, -0.3030770421028137, -0.07764200121164322, -0.06779181212186813, 0.5819118022918701, 0.36811643838882446, -0.4732747972011566, 0.26129814982414246, 0.48563092947006226, -0.16225869953632355, -0.893441915512085, -0.7289777994155884, -0.09828195720911026, -0.2764299809932709, -0.7197374105453491, 0.07198542356491089, -0.1312611699104309, -0.4495965838432312, 0.2262987196445465, -0.5177704095840454, -0.394809365272522, 0.11027441173791885, 0.10159488022327423, 0.24763809144496918, -0.17502056062221527, -0.10816376656293869, -0.30278435349464417, 0.1269780844449997, 0.16906821727752686, -0.009990796446800232, 0.6469641923904419, 0.5831936597824097, -0.6822373270988464, -0.013045732863247395, -0.024218492209911346, 0.5408946871757507, -0.24342024326324463, 0.8751788139343262, 0.12558484077453613, -0.3744153082370758, -0.2069617360830307, -0.6833692789077759, 0.15387827157974243, -0.33609727025032043, 0.2104995995759964, -0.15004925429821014, -0.5916762351989746, 0.7109096646308899, 0.19287654757499695, 0.17511726915836334, 0.4470673203468323, 0.22922848165035248, 0.12667784094810486, 0.5713005661964417, 0.46301037073135376, -0.13458757102489471, 0.8169934749603271, -0.17984962463378906, 0.07507370412349701, -0.8468425273895264, -0.45289936661720276, -0.4177123010158539, -0.21616312861442566, -0.15007689595222473, -0.30177372694015503, 0.09010986983776093, 0.37020641565322876, -0.27801740169525146, 0.024457288905978203, -0.08819649368524551, 0.5842621326446533, 0.4410329759120941, -0.0492766797542572, 0.5511773824691772, 0.02014288492500782, 0.07052882015705109, -0.16954244673252106, -0.8125738501548767, -0.2110549956560135, 1.1245332956314087, 0.3536079525947571, 0.8896784782409668, -0.18047504127025604, 0.45715007185935974, 0.3438047170639038, -0.044084977358579636, -0.5834857225418091, 0.3081549406051636, -0.05603921785950661, -0.696486234664917, -0.29041287302970886, -0.7913474440574646, -0.8608063459396362, -0.14611586928367615, 0.1254366934299469, -0.36334121227264404, 0.044056329876184464, 0.14643138647079468, -0.030303044244647026, 0.4266194701194763, -0.6253066062927246, 0.8727326989173889, -0.4128147065639496, -0.2635856866836548, -0.1200074553489685, -0.6363545060157776, 0.4231843054294586, -0.4523616135120392, 0.2753158509731293, -0.44927436113357544, 0.26095202565193176, 1.137997031211853, -0.5883662700653076, 0.7335640788078308, -0.27693983912467957, 0.009242463856935501, 0.24256916344165802, 0.08956696838140488, 0.6271142363548279, -0.5117455720901489, 0.282572478055954, 0.2599807381629944, 0.12503325939178467, -0.490215927362442, -0.5877068042755127, 0.5610469579696655, -0.72772616147995, -0.2973804473876953, -0.33102601766586304, -0.8141107559204102, -0.17313772439956665, 0.05927678197622299, 0.3071663975715637, 0.6588591933250427, -0.2942889928817749, 0.007978799752891064, 0.5114465951919556, -0.380683034658432, 0.1673700213432312, 0.6607484221458435, -0.09464724361896515, -0.33429160714149475, 0.38782086968421936, 0.6120097041130066, 0.5027629733085632, 0.25364845991134644, 0.16086116433143616, -0.17121484875679016, -0.7455609440803528, -0.25099310278892517, 0.41098493337631226, -0.8236652612686157, -0.15040552616119385, -0.46210864186286926, -0.37647098302841187, -0.0725746676325798, -0.1757906824350357, -0.4085242748260498, -0.45239272713661194, -0.11828706413507462, 0.029887422919273376, 0.3598839044570923, 1.0514179468154907, -0.25455042719841003, 0.239934504032135, -0.9893128275871277, -0.08761516213417053, -0.015059582889080048, 0.2184523046016693, 0.09048491716384888, -0.5188764333724976, -0.492103636264801, 0.17587023973464966, -0.13902506232261658, -0.8171496987342834, 0.0684584379196167, 0.061230845749378204, 0.8700552582740784, 0.280129611492157, 0.012817258946597576, 0.6048140525817871, -0.35130175948143005, 0.7066705822944641, 0.3563418388366699, -0.8575786352157593, 0.638981819152832, -0.5840207934379578, 0.5492708683013916, 0.30044251680374146, 0.3904414474964142, -0.763796329498291, -0.38576218485832214, -0.6059433221817017, -1.03018057346344, 0.862974226474762, 0.12891656160354614, -0.3031415045261383, 0.16251589357852936, 0.08786729723215103, 0.2276175320148468, 0.13760851323604584, -0.4437236487865448, -0.2440895140171051, 0.35353884100914, -0.19366216659545898, 0.02639729343354702, -0.49760547280311584, -0.28657159209251404, -0.07893431931734085, 0.5009927153587341, 0.20081500709056854, -0.09793481975793839, -0.1222878247499466, -0.41634994745254517, -0.202712744474411, 0.34423696994781494, 0.3756190836429596, 1.3284368515014648, -0.3166329562664032, 0.2634137272834778, 0.30215394496917725, -0.5275748372077942, -0.012653442099690437, 0.0908925011754036, -0.27179718017578125, -0.06124452129006386, 0.7912156581878662, 0.5880593061447144, 0.2982606291770935, -0.661136269569397, 0.38089367747306824, 0.3759130835533142, 0.2049274444580078, -0.33173996210098267, -0.1962004005908966, 0.06780635565519333, 0.3214801251888275, 0.26454052329063416, -0.08287251740694046, -0.2714115083217621, -0.4315977692604065, 0.18004122376441956, 0.3155590295791626, -0.23604421317577362, -0.3241029381752014, 0.4256565570831299, 0.04207625240087509, -0.009326417930424213, 0.9137349724769592, 0.30880019068717957, -0.5619643330574036, 0.6863257884979248, 0.18948355317115784, 0.6384554505348206, -0.21170811355113983, -0.0883462056517601, 0.12877140939235687, 0.19676968455314636, -0.14337588846683502, -0.04456762596964836, 0.13732200860977173, -0.7451266646385193, -0.81650310754776, -0.6023285388946533, -0.34969544410705566, 0.4356224834918976, -0.9539893865585327, 0.22579827904701233, -0.2711898684501648, -0.17787432670593262, -0.14885972440242767, -0.13275033235549927, -0.970074474811554, 0.026499472558498383, 0.11573412269353867, 0.9279574751853943, -1.0193545818328857, 0.49343347549438477, 0.4200076758861542, -0.46950867772102356, -0.8521224856376648, -0.13733656704425812, 0.2576200067996979, -1.0021781921386719, 0.8404647707939148, -0.2132357656955719, 0.1164507195353508, -0.2390255331993103, -0.5580134391784668, -1.0424150228500366, 0.8895275592803955, 0.5877730846405029, -0.8098931312561035, -0.18703033030033112, 0.3552602529525757, 0.2708069980144501, 0.024496737867593765, 0.05258098617196083, 0.7176639437675476, 0.3397669494152069, 0.29232257604599, -1.1946675777435303, -0.04599928483366966, -0.0274238009005785, -0.39698851108551025, 0.790382981300354, -0.5064435601234436, 0.7635927200317383, -0.1306408792734146, -0.31293368339538574, -0.13056042790412903, 0.2298719435930252, 0.08114434033632278, 0.4398871660232544, 0.4669964015483856, 0.8333726525306702, 0.7756282687187195, -0.15437057614326477, 0.8108994960784912, -0.02138860709965229, 0.3677098751068115, 1.2263379096984863, -0.09310239553451538, 0.49771690368652344, 0.4845278859138489, -0.49742960929870605, -0.1023978441953659, 0.7172777652740479, -0.13616617023944855, 0.6210553646087646, 0.1476087123155594, 0.06495390832424164, -0.1768152117729187, -0.41829949617385864, -0.5742263197898865, 0.1500445306301117, -0.10320352017879486, -0.4805487394332886, -0.4338032007217407, -0.24129551649093628, 0.49871060252189636, -0.3873961865901947, -0.16582128405570984, 0.7737004160881042, 0.21016262471675873, -0.4256126880645752, 0.4943489730358124, -0.4253825843334198, 0.3807848393917084, -0.5999346971511841, 0.12738467752933502, -0.5963802933692932, 0.287716805934906, -0.2262481451034546, -0.9918739795684814, 0.3909277021884918, 0.1521240919828415, -0.3219331204891205, -0.3570937216281891, 0.508864164352417, -0.5594497919082642, -0.19371728599071503, 0.2431165874004364, 0.8069513440132141, 0.39365872740745544, -0.012240319512784481, -0.4721667170524597, 0.3947265148162842, 0.1943361759185791, -0.11928076297044754, 0.3795281946659088, 0.5018614530563354, -0.024992462247610092, 0.47000619769096375, 0.5257695913314819, 0.40709033608436584, 0.3279081881046295, 0.14843589067459106, 0.819703221321106, -0.6670117378234863, -0.04257941618561745, -0.9568489193916321, 0.3721337616443634, -0.047285281121730804, -0.4102325439453125, 0.7571080923080444, 0.680776834487915, 0.8840392231941223, 0.3011048436164856, 0.7011763453483582, 0.03223109617829323, 0.5862215757369995, -0.8984401226043701, 0.6571357250213623, -0.603347659111023, 0.476055383682251, 0.007937591522932053, -1.1732664108276367, 0.025056326761841774, 0.22973036766052246, -0.5434136986732483, 0.03211167827248573, 0.7163775563240051, 0.47062358260154724, -0.13327153027057648, -0.07929464429616928, 0.12541989982128143, 0.07568580657243729, 0.3343973755836487, 0.6354529857635498, 1.2805132865905762, -0.04123895242810249, 0.4925481379032135, -0.33940261602401733, -0.06600482016801834, -0.08375745266675949, -0.8895298838615417, -0.8498673439025879, -0.502170741558075, -0.3131053149700165, -0.10090738534927368, 0.4040677845478058, 0.5998716354370117, 0.4859292507171631, -0.5023670792579651, -0.12067736685276031, 0.16874012351036072, 0.08385767787694931, 0.1545557677745819, -0.1696949005126953, 0.5316146016120911, -0.024824194610118866, -0.4688972234725952, 0.3235049843788147, -0.23113393783569336, 0.15046097338199615, -0.13649390637874603, 0.12647515535354614, -0.12039972841739655, -0.11230863630771637, 0.3128475546836853, 0.3399762213230133, -0.5557093024253845, -0.25062522292137146, 0.1810542345046997, -0.10748254507780075, 0.0008101069834083319, 1.0549458265304565, -0.4224705398082733, 0.3952982723712921, 0.5492777228355408, 0.5052433013916016, 0.7222858667373657, -0.18412163853645325, 0.7593837380409241, -0.7626428008079529, 0.16654783487319946, 0.14596068859100342, 0.40945374965667725, 0.6147857308387756, -0.18342635035514832, 0.7708250880241394, 0.29514434933662415, -0.6236088871955872, -0.9729173183441162, 0.18913835287094116, -0.8382797241210938, -0.28529810905456543, 1.2417423725128174, -0.23542407155036926, -0.028498755767941475, 0.022856079041957855, 0.22020259499549866, 0.3653202950954437, -0.04838684946298599, 0.6336058378219604, 1.0455034971237183, 0.04482022672891617, 0.02737690694630146, -0.7301592826843262, 0.46395114064216614, 0.36769819259643555, -0.6817759871482849, 0.19701293110847473, 0.8767676949501038, 0.4628927707672119, 0.021607475355267525, 0.4242568612098694, -0.12388146668672562, 0.0020669219084084034, -0.02769734524190426, -0.025676215067505836, -0.20563717186450958, -0.3485991656780243, -0.09304983913898468, 0.018949754536151886, 0.2668985426425934, -0.11385472863912582 ]
http://arxiv.org/abs/2403.12936v1
http://arxiv.org/pdf/2403.12936v1
Automatic Information Extraction From Employment Tribunal Judgements Using Large Language Models
2024-03-19T17:43:08
2024-03-19T17:43:08
Joana Ribeiro de Faria, Huiyuan Xie, Felix Steffek
cs.CL
cs.CL, cs.AI
Court transcripts and judgments are rich repositories of legal knowledge, detailing the intricacies of cases and the rationale behind judicial decisions. The extraction of key information from these documents provides a concise overview of a case, crucial for both legal experts and the public. With the advent of large language models (LLMs), automatic information extraction has become increasingly feasible and efficient. This paper presents a comprehensive study on the application of GPT-4, a large language model, for automatic information extraction from UK Employment Tribunal (UKET) cases. We meticulously evaluated GPT-4's performance in extracting critical information with a manual verification process to ensure the accuracy and relevance of the extracted data. Our research is structured around two primary extraction tasks: the first involves a general extraction of eight key aspects that hold significance for both legal specialists and the general public, including the facts of the case, the claims made, references to legal statutes, references to precedents, general case outcomes and corresponding labels, detailed order and remedies and reasons for the decision. The second task is more focused, aimed at analysing three of those extracted features, namely facts, claims and outcomes, in order to facilitate the development of a tool capable of predicting the outcome of employment law disputes. Through our analysis, we demonstrate that LLMs like GPT-4 can obtain high accuracy in legal information extraction, highlighting the potential of LLMs in revolutionising the way legal information is processed and utilised, offering significant implications for legal research and practice.
[ -0.09163379669189453, -0.37118351459503174, 0.9551317691802979, -0.16712994873523712, -0.5124724507331848, -0.2763797342777252, -0.19795028865337372, -0.693886935710907, -0.18304139375686646, 0.7155340909957886, -0.0970800593495369, -0.3118676245212555, -0.7602080702781677, 0.27161723375320435, -0.6410478353500366, 0.8179605007171631, -0.00723968306556344, -0.029747236520051956, 0.23810556530952454, 0.0006611442076973617, -0.6569244861602783, -0.6417160630226135, -0.435298353433609, -0.13535161316394806, 0.2954961955547333, 0.13336537778377533, 0.39859241247177124, 0.5747416615486145, 0.5739145874977112, 0.4010201096534729, 0.07462356239557266, -0.3031323254108429, -0.3174263536930084, 0.06247729808092117, -0.4352394938468933, -0.858647882938385, -0.2777916491031647, 0.2641458213329315, 0.5606873035430908, 0.0921325609087944, -0.44195595383644104, 0.18161346018314362, -0.08644543588161469, 0.4449995458126068, -0.38601216673851013, 0.49376657605171204, -0.8738021850585938, 0.21322603523731232, -0.3488757014274597, -0.1052001342177391, -0.35446804761886597, -0.4222964644432068, 0.11496175825595856, -0.32392337918281555, 0.26005539298057556, 0.058485910296440125, 0.8541128039360046, 0.23060612380504608, -0.6146259307861328, -0.5774827599525452, -0.673090398311615, 0.792004406452179, -0.8723792433738708, 0.5281499624252319, 0.26850709319114685, 0.46642395853996277, 0.04041209816932678, -0.9012053608894348, -0.5797091722488403, -0.08736006170511246, -0.19341960549354553, 0.3669995367527008, -0.03514491766691208, 0.23201096057891846, 0.5522310733795166, 0.4251266121864319, -0.40199989080429077, 0.32412049174308777, -0.6278212666511536, -0.3455413579940796, 0.5269359350204468, -0.05663440003991127, 0.22714772820472717, -0.5315618515014648, -0.02683134190738201, 0.12249664962291718, -0.8067887425422668, -0.19097401201725006, 0.5033319592475891, 0.16082452237606049, 0.1526704579591751, 0.6136166453361511, 0.013709050603210926, 0.43492117524147034, -0.014729870483279228, -0.40017402172088623, 0.0693671777844429, -0.1268760859966278, -0.20481117069721222, 0.09379100799560547, 1.0197972059249878, 0.13062994182109833, 0.08964824676513672, -0.3033939599990845, -0.5246064066886902, -0.18441694974899292, 0.24594317376613617, -0.7002428770065308, 0.06582909822463989, 0.3232130706310272, -0.45235225558280945, -0.28298482298851013, 0.22875390946865082, -0.9545809030532837, -0.44320812821388245, -0.4872622787952423, 0.0763423815369606, -0.20990188419818878, -0.3314749300479889, 0.04755173623561859, -0.09050126373767853, 0.6200841665267944, 0.6653929352760315, -0.6222294569015503, -0.024808745831251144, 0.6791010499000549, 0.43574583530426025, -0.22996191680431366, 0.2839914560317993, -0.7321544885635376, 0.2867721915245056, -0.11928410083055496, 0.5200291275978088, -0.6358960866928101, 0.006872446741908789, 0.1437157243490219, 0.2369934618473053, 0.11481968313455582, -0.6088634729385376, 0.8486307859420776, -0.8908853530883789, 0.42739036679267883, -0.1416025161743164, -0.5204972624778748, -0.20013493299484253, 0.23343399167060852, -1.0299352407455444, 0.670033872127533, 0.11838120967149734, -0.5453289747238159, 0.626915693283081, -0.7884054780006409, -0.29132750630378723, 0.4457925260066986, -0.8774823546409607, -0.3464168310165405, 0.08013840764760971, 0.042116738855838776, 0.48948168754577637, -0.6612314581871033, 0.3709453046321869, 0.041660454124212265, -0.1362086534500122, -0.12101016193628311, -0.3841840326786041, 0.8127657771110535, 0.32789066433906555, -0.6182796955108643, -0.38907209038734436, -0.3919244110584259, -0.2006906419992447, 0.09845708310604095, -0.5623382925987244, 0.06521186232566833, -0.1605404019355774, -0.27770814299583435, 0.5226306915283203, 0.23067116737365723, -0.6244319677352905, 0.16492986679077148, -0.1778869926929474, 0.4384753406047821, 0.7831127047538757, 0.05092601105570793, 0.012918330729007721, 0.14897708594799042, 0.8930895328521729, -0.14953529834747314, 0.01955447904765606, 0.27722322940826416, -0.32199782133102417, 0.02805749885737896, -0.3822706639766693, 0.7887488603591919, 0.6622488498687744, -0.7450809478759766, 0.17617321014404297, -0.4054073095321655, -0.15367774665355682, -0.45136189460754395, 0.29648905992507935, 0.18646620213985443, 0.2978155314922333, -0.0477134995162487, -0.2139737904071808, -0.6322664022445679, -0.8412211537361145, -0.4546862840652466, -0.3039211928844452, -0.09802400320768356, 0.27892258763313293, 0.48548194766044617, -0.2661668062210083, 1.0698097944259644, -0.24727007746696472, -0.1663239449262619, -0.20491981506347656, 0.36596664786338806, 0.6344241499900818, 0.0699101984500885, 0.4006689190864563, -1.159839391708374, -0.2538340985774994, 0.35775402188301086, -1.0315821170806885, -0.15220725536346436, -0.33574482798576355, -0.09032464772462845, -0.07579801976680756, 0.29377707839012146, -0.7136996388435364, 0.49670857191085815, 0.04230697453022003, -0.23394037783145905, 0.9595993161201477, 0.09622980654239655, 0.2985512912273407, -0.725217878818512, 0.10492420196533203, 0.09187012910842896, -0.6560422778129578, -0.29581981897354126, 0.0720810815691948, 0.2739526033401489, 0.1669386625289917, -0.5708094239234924, 0.3808818459510803, -0.7149161696434021, -0.32959726452827454, -0.10355616360902786, 0.29879286885261536, 0.06750812381505966, 0.33065152168273926, -0.10305342823266983, 0.8774181008338928, 0.01193671952933073, -0.4454314410686493, 0.6467245221138, 0.38007721304893494, -0.44070136547088623, 0.5370712876319885, -0.19302645325660706, 0.17869651317596436, 0.13658209145069122, -0.003061392344534397, -0.7194032073020935, -0.3658773601055145, -0.13025175034999847, 0.010811860673129559, 0.4189945459365845, -0.5656899213790894, -0.7793840765953064, -0.6714227199554443, -0.09596254676580429, 0.06990430504083633, 0.5533023476600647, -0.4231739044189453, 0.844468891620636, 0.8139420747756958, -0.7012381553649902, -0.517410159111023, -0.629760205745697, 0.32960858941078186, -0.4666776955127716, -0.028150420635938644, 0.16811040043830872, 0.4243411719799042, -0.322468101978302, -0.20574449002742767, -0.12754768133163452, -0.3492463231086731, -0.11549431085586548, 0.012631410732865334, 0.3455769419670105, -0.1356860101222992, -0.08904831856489182, -0.15621507167816162, 0.1940218210220337, 0.34563469886779785, 0.008859018795192242, 0.3020794093608856, -0.05158945918083191, -0.5476908683776855, -0.6235905885696411, 0.20773157477378845, 0.7078921794891357, -0.004390806425362825, 0.2172415554523468, 0.5155197978019714, -0.4610811173915863, 0.3072832524776459, -1.0555906295776367, -0.10296936333179474, -0.46300962567329407, 0.3724471628665924, -0.3207854628562927, -0.6582016944885254, 0.38203537464141846, -0.417807400226593, 0.253501832485199, 0.8167303800582886, 0.5585376024246216, 0.20627151429653168, 0.7387326955795288, 0.5988448262214661, -0.45472773909568787, 0.6787170171737671, 0.02111116424202919, 0.12609043717384338, -0.5738445520401001, -0.0021811085753142834, -0.44691863656044006, 0.24787691235542297, -0.4151820242404938, 0.01530164573341608, 0.3314461410045624, -0.10551007091999054, 0.2805653214454651, 0.2896592319011688, -0.18176831305027008, 0.4766193926334381, 0.28720054030418396, 0.154708594083786, 0.31882625818252563, -0.059663884341716766, -0.3663330078125, 0.12900672852993011, -0.32135477662086487, -0.6473802924156189, 1.0973154306411743, 0.29157429933547974, 0.28692764043807983, 0.39147454500198364, 0.5652731657028198, 0.5128602385520935, 0.4210807979106903, -0.5378053188323975, 0.43339982628822327, -0.13229958713054657, -0.5464091897010803, -0.3134642541408539, -0.6410761475563049, -0.969282329082489, 0.4371187090873718, -0.1101427674293518, -0.8026635646820068, 0.22663865983486176, -0.22726748883724213, -0.4774833023548126, 0.19023117423057556, -0.7554575204849243, 0.5259643197059631, -0.4697414040565491, -0.5183231234550476, -0.08910097926855087, -0.5653910636901855, 0.44046756625175476, -0.6881723403930664, 0.5622024536132812, 0.038630057126283646, 0.23734742403030396, 1.071028709411621, -0.5038053393363953, 0.698373019695282, -0.3463315963745117, -0.38966310024261475, 0.3846481740474701, -0.04776163026690483, 0.9089919924736023, -0.18444745242595673, -0.5272027850151062, 0.1529933661222458, 0.29843857884407043, 0.06128167733550072, -0.5015422105789185, 0.21016867458820343, -0.5199626088142395, -0.5989336967468262, -0.3360511362552643, -0.38355615735054016, -0.06846382468938828, 0.5499000549316406, -0.02396874874830246, 0.513429582118988, 0.07754890620708466, 0.20528540015220642, 0.060519617050886154, -0.20076115429401398, 0.29050520062446594, 0.5912595987319946, -0.1607123613357544, -0.3989257216453552, 0.5283007621765137, 0.3684730529785156, -0.16223329305648804, 0.06945023685693741, 0.1294475942850113, -0.6894257664680481, -0.5684467554092407, -0.29971668124198914, 0.44925183057785034, -0.8473497629165649, -0.35905924439430237, -0.4556474983692169, -0.04485494643449783, -0.5565232038497925, 0.284187912940979, -0.09319320321083069, -0.4408811926841736, 0.09805861115455627, -0.29606154561042786, 0.2271963208913803, 1.1793653964996338, -0.013343826867640018, 0.17653997242450714, -0.7966467142105103, 0.5424283742904663, 0.5090587735176086, 0.28065407276153564, -0.6384695172309875, -0.6980919241905212, -0.19803187251091003, -0.17317701876163483, -0.28800272941589355, -0.8830181956291199, 0.5640543699264526, -0.0811077132821083, 0.8049805164337158, 0.46129512786865234, -0.21911369264125824, 0.49748411774635315, -0.6553472876548767, 0.7431695461273193, 0.18327009677886963, -0.5484223365783691, 0.365307480096817, -0.4838290512561798, -0.2102613002061844, 0.642006516456604, 0.33708706498146057, -0.32326173782348633, -0.3433697521686554, -0.7392871379852295, -0.923230767250061, 0.9024016857147217, 0.33027374744415283, -0.349860817193985, 0.16550065577030182, 0.8185360431671143, 0.3474164605140686, 0.4538997411727905, -0.7206348776817322, 0.3280611038208008, 0.3250197470188141, -0.3321036100387573, 0.31780800223350525, -0.4180344045162201, -0.030044982209801674, -0.20467714965343475, 0.6052573919296265, 0.20619980990886688, 0.46569040417671204, 0.006292921956628561, -0.4613890051841736, 0.057749755680561066, 0.29682058095932007, 0.04150788486003876, 0.8075408339500427, -0.21524667739868164, -0.039050955325365067, 0.30981457233428955, -0.6031427383422852, 0.06907719373703003, 0.23790398240089417, 0.18573009967803955, -0.03311605751514435, 0.24033428728580475, 0.3490246832370758, -0.029727434739470482, -0.5992959141731262, 0.831509530544281, -0.36861202120780945, -0.30108141899108887, -0.580101728439331, -0.16287600994110107, -0.3449433445930481, 0.4764997959136963, 0.5301815271377563, -0.3648986220359802, 0.4105854630470276, -0.4393627941608429, 0.5048509240150452, 0.25035008788108826, 0.005182635970413685, -0.13650000095367432, 0.5504536628723145, 0.056130968034267426, 0.024280840530991554, 0.44851675629615784, -0.12532535195350647, -0.5359756350517273, 0.5135166645050049, 0.42227768898010254, 0.752207338809967, -0.23501241207122803, -0.1419525444507599, 0.06751172989606857, 0.11624108999967575, -0.45338770747184753, 0.16456006467342377, 0.1026904284954071, -0.5146806836128235, -0.7550601959228516, -0.5115885734558105, -0.6177975535392761, 0.28021523356437683, -0.7172163724899292, 0.16520176827907562, -0.27552396059036255, -0.11312437057495117, -0.05951263755559921, 0.03856038302183151, -1.225436806678772, 0.23460780084133148, 0.14824740588665009, 0.4254303574562073, -0.7188565731048584, 0.7531497478485107, 0.322616308927536, -0.4276454746723175, -0.9214556217193604, -0.16890913248062134, 0.19209326803684235, -0.7348529100418091, 0.6528573036193848, 0.2890726625919342, 0.007353956811130047, -0.1548868864774704, -0.5017752051353455, -0.7003419399261475, 1.1158747673034668, 0.7336465120315552, -0.9482893347740173, -0.1835547685623169, 0.40476125478744507, 0.2135089486837387, -0.06647934764623642, 0.742584764957428, 0.8636014461517334, 0.5335296988487244, 0.01616314984858036, -1.01863694190979, 0.28942394256591797, -0.2117888629436493, -0.37453752756118774, 0.09576405584812164, -0.2454197257757187, 0.7135711312294006, 0.39152073860168457, -0.32918527722358704, -0.48430538177490234, 0.29722973704338074, -0.06741702556610107, -0.3447222113609314, 0.6723038554191589, 0.25744950771331787, 1.2880582809448242, -0.01905573345720768, 1.2124786376953125, -0.43357574939727783, 0.42522376775741577, 0.8080537915229797, -0.5278117656707764, 0.6621193885803223, 0.367521733045578, -0.4170713424682617, 0.3861005902290344, 0.373161256313324, 0.01859608106315136, 0.3337869644165039, -0.08145230263471603, -0.15011447668075562, 0.000260872213402763, 0.2799281179904938, -0.16232213377952576, 0.4941495954990387, 0.5093834400177002, -0.46767619252204895, -0.23032157123088837, -0.1273566633462906, -0.10085143893957138, -0.509689211845398, -0.2969459891319275, 1.0177814960479736, -0.01000132691115141, -0.7005733847618103, 0.2979765832424164, 0.04897534102201462, 0.3607293367385864, -0.4192683696746826, -0.42852073907852173, 0.010733300819993019, -0.004487819038331509, -0.30924558639526367, -0.7416906356811523, 0.14070646464824677, 0.3772486746311188, 0.0997241660952568, -0.248864084482193, 0.7317672967910767, -0.14977994561195374, -0.24155078828334808, 0.12773698568344116, 0.39436301589012146, 0.5772697329521179, -0.38460487127304077, -0.808995246887207, -0.012998274527490139, 0.19302967190742493, -0.3192347288131714, 0.22438593208789825, 0.9978690147399902, 0.04899553954601288, 0.17982502281665802, 0.4991338551044464, 0.49941760301589966, 0.10698872804641724, 0.08899969607591629, 0.9229152798652649, -1.0115951299667358, -0.5298705697059631, -0.9388980865478516, 0.3763706684112549, -0.4147997796535492, 0.10056502372026443, 0.3753674626350403, 0.5710592865943909, 0.2612845003604889, 0.20495012402534485, 1.220261812210083, -0.008655973710119724, 0.6743624806404114, -0.9290354251861572, 0.3907211124897003, -0.10632847994565964, 0.37914130091667175, -0.3607167601585388, -0.814328134059906, -0.03332133963704109, 0.5353302359580994, -0.7811093330383301, 0.06675819307565689, 0.7573282122612, 0.5420448780059814, -0.25787153840065, 0.21924088895320892, 0.33296042680740356, 0.49211621284484863, 0.6581417918205261, 0.2502457797527313, 0.5323706865310669, -0.3516988158226013, 0.6763384938240051, 0.2577030062675476, -0.17432403564453125, -0.2737252414226532, -0.9057431221008301, -0.34584036469459534, -0.08962272852659225, -0.13854870200157166, -0.24394449591636658, -0.018169088289141655, 0.7347605228424072, 0.5225375294685364, -0.841924250125885, -0.1885150521993637, -0.10500428825616837, -0.18424297869205475, 0.2104821652173996, -0.2547049820423126, 0.41013678908348083, -0.35636967420578003, -0.3618495464324951, 0.3711943030357361, 0.07845877856016159, -0.3141818046569824, 0.14734625816345215, 0.1580861359834671, -0.3073442280292511, -0.1648048311471939, 0.5894198417663574, 0.2852820158004761, -0.5800721645355225, -0.541750431060791, -0.9099653959274292, -0.20173992216587067, 0.3029509484767914, 0.6158865690231323, -0.4532409906387329, 0.3437364995479584, 0.09135521948337555, 0.8038272261619568, 0.7480126619338989, 0.20458857715129852, 0.9500629901885986, -0.8148051500320435, 0.1189802885055542, 0.12589548528194427, 0.9273437261581421, 0.19538038969039917, -0.527540385723114, 0.7930392026901245, 0.25770217180252075, -0.6797604560852051, -0.6978337168693542, -0.03193028271198273, -0.5852105617523193, -0.05801333114504814, 1.3479758501052856, -0.13223116099834442, -0.48573780059814453, -0.3871767818927765, -0.34341490268707275, 0.2870790362358093, -0.4242764711380005, 0.8232935070991516, 0.857373058795929, 0.020387494936585426, -0.17423857748508453, -1.2503362894058228, 0.3340095281600952, 0.06951078027486801, -0.7977611422538757, -0.029567068442702293, 0.7277075052261353, 0.5031973719596863, 0.05599487945437431, 0.6397762894630432, -0.5428711771965027, 0.12870359420776367, -0.32862645387649536, 0.3197993338108063, 0.30181974172592163, 0.06562365591526031, -0.38279417157173157, 0.41033339500427246, 0.07324282079935074, 0.04468092322349548 ]
http://arxiv.org/abs/2403.12924v1
http://arxiv.org/pdf/2403.12924v1
Supporting Energy Policy Research with Large Language Models
2024-03-19T17:28:51
2024-03-19T17:28:51
Grant Buster, Pavlo Pinchuk, Jacob Barrons, Ryan McKeever, Aaron Levine, Anthony Lopez
cs.CL
cs.CL
The recent growth in renewable energy development in the United States has been accompanied by a simultaneous surge in renewable energy siting ordinances. These zoning laws play a critical role in dictating the placement of wind and solar resources that are critical for achieving low-carbon energy futures. In this context, efficient access to and management of siting ordinance data becomes imperative. The National Renewable Energy Laboratory (NREL) recently introduced a public wind and solar siting database to fill this need. This paper presents a method for harnessing Large Language Models (LLMs) to automate the extraction of these siting ordinances from legal documents, enabling this database to maintain accurate up-to-date information in the rapidly changing energy policy landscape. A novel contribution of this research is the integration of a decision tree framework with LLMs. Our results show that this approach is 85 to 90% accurate with outputs that can be used directly in downstream quantitative modeling. We discuss opportunities to use this work to support similar large-scale policy research in the energy sector. By unlocking new efficiencies in the extraction and analysis of legal documents using LLMs, this study enables a path forward for automated large-scale energy policy research.
[ -0.12667378783226013, -0.6502684354782104, 0.8356842398643494, 0.22307996451854706, 0.11219287663698196, -0.028382500633597374, -0.4666573703289032, -0.32257238030433655, 0.12440211325883865, 0.9541700482368469, -0.01475773099809885, -0.48816820979118347, -0.2522011399269104, -0.05585581809282303, -0.4965610206127167, 0.38224050402641296, -0.2614365220069885, 0.16199356317520142, -0.13063324987888336, 0.15625663101673126, -0.3635713756084442, 0.02789301611483097, -0.226739302277565, -0.3719649314880371, 0.30967822670936584, 0.32001689076423645, 0.6789401769638062, 0.5289368629455566, 0.5425477027893066, 0.32370924949645996, -0.013633503578603268, -0.16252073645591736, -0.15498492121696472, -0.07200446724891663, -0.28911101818084717, -0.30526867508888245, -0.3266136050224304, 0.3369552195072174, 1.2707730531692505, 0.37972745299339294, -0.6539071202278137, -0.08739209920167923, -0.22752071917057037, 0.3543089032173157, -0.5941453576087952, 0.3935689330101013, -1.0496044158935547, -0.025601277127861977, 0.02311391569674015, -0.3032659590244293, -0.509370744228363, -0.6066127419471741, 0.06316076964139938, -0.5076155662536621, -0.07910153269767761, 0.38560834527015686, 0.9649053812026978, 0.4008985459804535, -0.5404019951820374, -0.12783727049827576, -0.5758079886436462, 0.9600249528884888, -1.0886707305908203, 0.30520790815353394, 0.38790038228034973, 0.32570403814315796, -0.3981330990791321, -0.4874412417411804, -0.6761904358863831, -0.5545229315757751, -0.34155961871147156, -0.3005389869213104, -0.046478185802698135, 0.35755133628845215, 0.2579634189605713, 0.16546663641929626, -0.4861772656440735, 0.37566933035850525, -0.25843581557273865, -0.13742636144161224, 0.8680972456932068, 0.15406347811222076, 0.12208612263202667, -0.6485976576805115, -0.32009825110435486, -0.10978519916534424, -0.5980167984962463, -0.22857432067394257, 0.41081514954566956, 0.5817234516143799, -0.03823070600628853, 0.9991225600242615, 0.054367873817682266, 0.6874881982803345, -0.3111966848373413, -0.06393790990114212, -0.08550670742988586, -0.2558351755142212, -0.4199695289134979, 0.008080185391008854, 0.672817587852478, 0.20962674915790558, 0.09416234493255615, 0.06393501907587051, -0.3443690240383148, -0.6392616033554077, 0.17198032140731812, -0.7272017002105713, 0.072324737906456, 0.3103000223636627, -0.4228614866733551, -0.39570900797843933, 0.10788644850254059, -0.7282415628433228, -0.7927452325820923, -0.8513167500495911, 0.115214042365551, -0.2197098284959793, -0.39798593521118164, 0.08543478697538376, -0.32292407751083374, 0.5125866532325745, 0.1339726597070694, -0.7200006246566772, 0.26869648694992065, 0.9274600744247437, 0.781426727771759, 0.015281480737030506, -0.12436529994010925, -0.39588654041290283, 0.41451770067214966, -0.26451632380485535, 0.5610751509666443, -0.9597168564796448, -0.2908519208431244, 0.13957493007183075, 0.07989787310361862, -0.1807694137096405, -0.44890183210372925, 0.19070231914520264, -0.7190251350402832, 0.13026779890060425, -0.03514209762215614, -0.6624821424484253, -0.0701541155576706, 0.030947290360927582, -0.7748665809631348, 0.8707290887832642, 0.15355533361434937, -0.5561893582344055, 0.22488850355148315, -0.8172670602798462, -0.29266151785850525, -0.06799636036157608, -0.3433857262134552, -0.4208129644393921, 0.04589482396841049, -0.17875845730304718, 0.31769442558288574, -0.6640141606330872, 0.6517842411994934, -0.32891589403152466, 0.21800416707992554, 0.06260201334953308, -0.312288761138916, 0.9223911762237549, 0.4165956974029541, -0.04430965706706047, 0.2387419193983078, -0.756947934627533, 0.04220118373632431, 0.000871368742082268, -0.6287153363227844, -0.2861391603946686, 0.3738371729850769, 0.2370501607656479, -0.09077382832765579, 0.37443965673446655, -0.5791952013969421, 0.27842894196510315, -0.14921826124191284, 0.4515645205974579, 0.6475141048431396, 0.029910515993833542, 0.43319493532180786, -0.12314025312662125, 0.6193833947181702, -0.539620578289032, -0.05625349283218384, -0.07428492605686188, 0.1639883667230606, -0.334749311208725, -0.1274251639842987, 0.27270570397377014, 0.5276645421981812, -0.37306296825408936, 0.6121494770050049, -0.3662227690219879, -0.5501707792282104, -0.15974576771259308, -0.15111029148101807, -0.08331339061260223, 0.34499391913414, 0.19609031081199646, 0.4065864384174347, -0.6217048764228821, -0.6019110679626465, -0.13974936306476593, -0.12021468579769135, 0.0445549376308918, 0.47523996233940125, 0.5558578968048096, 0.19248582422733307, 1.0422898530960083, -0.5116614103317261, -0.1099119633436203, 0.04766972362995148, 0.24988742172718048, 0.2419193834066391, 0.4611395299434662, 0.6963794231414795, -0.7727816104888916, -0.6413978934288025, 0.49190977215766907, -0.621231198310852, -0.16408953070640564, -0.2245677411556244, -0.04902219772338867, 0.04703168943524361, 0.6168413758277893, -0.7398642897605896, 0.0676368921995163, 0.3386126160621643, -0.40321317315101624, 0.8140438199043274, -0.02428782731294632, 0.09698747098445892, -0.7823297381401062, 0.27494296431541443, 0.04933404177427292, -0.33184677362442017, -0.18162527680397034, 0.21438150107860565, -0.137948140501976, -0.20818346738815308, -0.24879144132137299, 0.34294450283050537, -0.49301138520240784, -0.34306421875953674, -0.22613103687763214, -0.18130145967006683, 0.09055115282535553, -0.05236108601093292, 0.09734833985567093, 0.9845709204673767, 0.6226228475570679, -0.37690049409866333, 0.41054388880729675, 0.18916189670562744, -0.47321388125419617, 0.4920631945133209, -0.3701018691062927, -0.1700425148010254, -0.11044508218765259, 0.45133548974990845, -0.5622103810310364, -0.5232886075973511, -0.1980520635843277, 0.058937933295965195, 0.41011306643486023, -0.4055682420730591, -0.2565736770629883, -0.38201597332954407, -0.24028773605823517, -0.16737031936645508, 0.2702338695526123, -0.3513723909854889, 1.1938450336456299, 0.9053545594215393, -0.2665621042251587, -0.6505377888679504, -0.25743475556373596, 0.22245144844055176, -0.37172994017601013, -0.5164971947669983, 0.36872345209121704, 0.32994145154953003, -0.6350072026252747, 0.00634339265525341, 0.004515418782830238, -0.15876278281211853, 0.002973868977278471, 0.04319114610552788, -0.07838115841150284, -0.33642709255218506, 0.10661128163337708, -0.30810439586639404, 0.1464652717113495, 0.3326960504055023, -0.5227845311164856, 0.517261803150177, 0.12534376978874207, -0.14545732736587524, -0.6309992671012878, 0.36249253153800964, 1.1195745468139648, -0.29952898621559143, 0.5861865878105164, 0.05109066516160965, -0.3162921667098999, -0.39317628741264343, -0.46277084946632385, 0.2590038776397705, -0.5201932787895203, 0.22387443482875824, -0.16659067571163177, -0.572269082069397, 0.31850871443748474, -0.24079518020153046, 0.5869556665420532, 0.4007839560508728, 0.2391745150089264, -0.26015159487724304, 0.5966456532478333, 0.8222120404243469, -0.08074384182691574, 0.9427240490913391, -0.25782185792922974, 0.1237691268324852, -0.6078280806541443, -0.09543576091527939, -0.9536190032958984, -0.1553630232810974, -0.3472060561180115, -0.6010751724243164, 0.15066519379615784, -0.3699800968170166, -0.3023081123828888, 0.4570709764957428, -0.2452411651611328, 0.7328538298606873, -0.010354760102927685, -0.25567662715911865, 0.17636863887310028, 0.14294150471687317, 0.1604076325893402, 0.3104499876499176, -0.42161592841148376, -0.6752640008926392, 0.9956561923027039, 0.22451794147491455, 0.7524740695953369, 0.000531610450707376, 0.5241986513137817, 0.4895670413970947, 0.36913612484931946, -0.9036209583282471, 0.5706484913825989, -0.13016383349895477, -0.6136804819107056, -0.6979227066040039, -0.76131272315979, -0.9568163752555847, 0.4437296688556671, -0.00043469431693665683, -0.6043946146965027, 0.28373289108276367, 0.20741569995880127, -0.3381820619106293, 0.636259138584137, -0.5966481566429138, 0.6968448162078857, -0.39952021837234497, -0.25596973299980164, -0.7492075562477112, -0.32228460907936096, 0.19122400879859924, -0.12966446578502655, 0.36306366324424744, -0.4463518559932709, 0.15552867949008942, 0.5911381244659424, -0.75141441822052, 0.621346116065979, -0.6621521711349487, -0.628616452217102, 0.7165927290916443, -0.09058238565921783, 0.8715547919273376, -0.41040804982185364, -0.7016635537147522, -0.16038718819618225, 0.15814796090126038, -0.20679260790348053, -0.22345933318138123, 0.8705345988273621, -0.5045080184936523, -0.4516209363937378, -0.5166329145431519, -0.32460421323776245, -0.2140117883682251, 0.18017525970935822, -0.21484243869781494, 0.09149874746799469, -0.5344432592391968, 0.12775221467018127, 0.3912784159183502, -0.08548770099878311, 0.504833459854126, 0.8764814138412476, -0.38569897413253784, -0.08082030713558197, 0.8636830449104309, 0.31945061683654785, -0.034507084637880325, 0.3807695806026459, 0.5241995453834534, -0.5727961659431458, -0.6356247067451477, 0.12891885638237, 0.15891221165657043, -0.4005335569381714, -0.41826263070106506, -0.48777344822883606, -0.10890612751245499, -0.5403653383255005, -0.2399565726518631, -0.32140064239501953, -0.4086199104785919, -0.014359411783516407, -0.4468356668949127, 0.5579485893249512, 0.7679681777954102, -0.20347289741039276, 0.3525601625442505, -0.6155931353569031, 0.2627435028553009, 0.2615026831626892, 0.4638264775276184, 0.19309101998806, -0.18498076498508453, -0.19303275644779205, -0.04337858408689499, -0.046489883214235306, -0.7274838089942932, 0.23405875265598297, 0.2442421317100525, 0.4654238522052765, 0.29161542654037476, -0.02326878532767296, 0.4584837853908539, -0.5386401414871216, 0.5492138266563416, 0.3546101450920105, -0.7359716892242432, 0.30583247542381287, -0.6267218589782715, -0.17883430421352386, 0.5879599452018738, 0.12487713247537613, -0.4157908856868744, 0.012506384402513504, -0.2583424150943756, -0.8280774354934692, 0.8357996940612793, -0.09872005879878998, 0.16428561508655548, 0.07555165886878967, 0.12652207911014557, -0.08850785344839096, 0.3001527488231659, -0.6375910043716431, 0.32102006673812866, 0.05305863916873932, 0.0038742811884731054, 0.27174073457717896, -0.04818936437368393, -0.2219867706298828, -0.38737785816192627, 0.8604834079742432, -0.15679048001766205, -0.26876896619796753, -0.23732638359069824, 0.02219114452600479, -0.22819294035434723, 0.46690118312835693, 0.17708079516887665, 0.7541283369064331, -0.3192044794559479, 0.11941780149936676, 0.11626717448234558, -0.33935031294822693, 0.09723026305437088, 0.24762074649333954, -0.4639582335948944, 0.02508716471493244, -0.052783817052841187, 0.4691515862941742, 0.16596728563308716, -0.6587923765182495, 0.3307172358036041, 0.23349590599536896, -0.17890216410160065, -0.5669167637825012, -0.05905739217996597, -0.05739571154117584, 0.19542880356311798, 0.3340781629085541, -0.1485971212387085, 0.03002215176820755, -0.43890678882598877, 0.21587884426116943, 0.5575240254402161, -0.14245513081550598, -0.0515039786696434, 0.4973917305469513, 0.5487686395645142, -0.07493996620178223, 0.43243786692619324, 0.15962447226047516, -0.3311806321144104, 0.8059671521186829, 0.3739941120147705, 0.7359724640846252, 0.006597614847123623, 0.27210450172424316, 0.5850550532341003, 0.22818663716316223, -0.08869153261184692, 0.4497539699077606, -0.04076128080487251, -0.34916797280311584, -0.6943356990814209, -0.929115355014801, -0.24986225366592407, -0.06805278360843658, -0.3479313254356384, 0.3717837631702423, -0.6234593987464905, -0.3481661379337311, 0.14589670300483704, 0.10180400311946869, -0.5358101725578308, -0.377828985452652, 0.45813024044036865, 0.9661253690719604, -0.9121072292327881, 0.7138605713844299, 0.4870617389678955, -0.15692192316055298, -0.8229688405990601, 0.0056233517825603485, 0.04949238523840904, -0.6313304901123047, 0.14531271159648895, -0.1260625123977661, -0.33370712399482727, 0.1259254515171051, -1.0141825675964355, -1.1229196786880493, 1.359096646308899, 0.3699827492237091, -0.8178536295890808, 0.05397941172122955, 0.08502069115638733, 0.3280257284641266, -0.14248251914978027, 0.14361613988876343, 0.7694776058197021, 1.2367961406707764, 0.09419716149568558, -0.9593485593795776, -0.08827503025531769, 0.19666294753551483, -0.2268359363079071, 0.5109668970108032, -0.6304473876953125, 0.5579898357391357, -0.09010177105665207, -0.25976651906967163, -0.08930657058954239, 0.7678961753845215, 0.07277797162532806, 0.3007133901119232, 0.49805644154548645, 0.4210628271102905, 1.2385280132293701, 0.11811736971139908, 1.048727035522461, -0.4184829890727997, 0.45303085446357727, 1.074589729309082, -0.9015719294548035, 0.9858359694480896, 0.5453093647956848, -0.4570953845977783, 0.6212411522865295, 0.2103121131658554, -0.26675209403038025, 0.2963425815105438, 0.4887833893299103, -0.30734866857528687, -0.34539711475372314, -0.6286987066268921, -0.2878415584564209, 0.5811278820037842, 0.3636314868927002, -0.22611288726329803, -0.36360254883766174, -0.22427737712860107, 0.07296118140220642, 0.20989085733890533, -0.3128550946712494, 0.6086578369140625, 0.19219452142715454, -0.6911693215370178, 0.06159831956028938, 0.1849939078092575, 0.36326971650123596, -0.7894169092178345, -0.19430731236934662, 0.29003211855888367, -0.14192473888397217, -0.4336029887199402, -0.8916751742362976, 0.34795212745666504, 0.3131672143936157, -0.19563744962215424, -0.5740615725517273, 0.4061208963394165, -0.21813848614692688, -0.5280800461769104, 0.27911466360092163, 0.14182406663894653, 0.2680996060371399, 0.2544315457344055, -0.5558001399040222, -0.06351697444915771, 0.001085560186766088, -0.2508985102176666, 0.15933583676815033, 0.3373844623565674, -0.10868991166353226, 0.3778891861438751, 0.7133937478065491, 0.17129363119602203, 0.05293106660246849, 0.23310033977031708, 0.8031719326972961, -0.65287846326828, -0.5348774194717407, -0.5757721662521362, 0.21886229515075684, -0.4247249960899353, -0.027617018669843674, 0.45534390211105347, 0.6724932193756104, 0.27993932366371155, 0.16056190431118011, 0.9498375654220581, -0.5319448709487915, 0.32491791248321533, -0.6900056004524231, 0.8531561493873596, -0.45945101976394653, 0.416220098733902, 0.2536066472530365, -0.9343246221542358, -0.13259252905845642, 0.5079083442687988, -0.5932818055152893, -0.2349810004234314, 0.3754202127456665, 0.846890389919281, -0.12050992995500565, -0.13935698568820953, 0.04768643155694008, 0.5061831474304199, 0.5826824307441711, 0.13734059035778046, 0.8181639313697815, 0.13132867217063904, 0.3402821123600006, 0.15357129275798798, 0.049633145332336426, -0.18480059504508972, -0.9591571092605591, -0.3920912742614746, -0.24402910470962524, -0.32088708877563477, -0.19982637465000153, -0.32461780309677124, 1.260846495628357, 0.7388566732406616, -1.0796571969985962, -0.6136165261268616, -0.16160473227500916, 0.42635205388069153, 0.01271273847669363, -0.302734911441803, 0.5615611672401428, -0.22842225432395935, -0.5364732146263123, 0.7169873118400574, 0.17797903716564178, 0.04288974776864052, -0.4517029821872711, -0.2418627291917801, -0.42835935950279236, 0.40425992012023926, 0.4099377393722534, 0.5882581472396851, -0.5336325764656067, -0.18394730985164642, -0.3282284736633301, -0.19689840078353882, 0.04437224939465523, 1.098567247390747, -0.5476912260055542, 0.18349622189998627, 0.8257390260696411, 0.4107154309749603, 0.5236040353775024, 0.13393205404281616, 0.7459478378295898, -0.655359148979187, -0.12625521421432495, 0.4098568260669708, 0.5983167290687561, 0.2712968587875366, -0.11909472197294235, 0.4673939347267151, -0.18095409870147705, -0.6253653168678284, -0.7583763599395752, 0.08161335438489914, -0.9071755409240723, -0.3597068786621094, 1.1379520893096924, -0.0412214919924736, -0.3325307071208954, -0.01769697107374668, -0.28420713543891907, -0.11617483198642731, -0.4664427638053894, 0.6481921672821045, 0.7383696436882019, -0.059881940484046936, 0.04423781484365463, -0.4035731256008148, 0.30640387535095215, 0.1473306268453598, -0.8634714484214783, 0.6364598274230957, 0.9781112670898438, 0.14956384897232056, 0.09656815230846405, 0.632050096988678, -0.06655686348676682, -0.17106708884239197, 0.003359411144629121, 0.2529926896095276, 0.11486992239952087, -0.42322203516960144, -0.3987274467945099, 0.24660372734069824, -0.016939353197813034, 0.19883164763450623 ]
http://arxiv.org/abs/2403.12918v1
http://arxiv.org/pdf/2403.12918v1
Generalizable and Stable Finetuning of Pretrained Language Models on Low-Resource Texts
2024-03-19T17:21:29
2024-03-19T17:21:29
Sai Ashish Somayajula, Youwei Liang, Abhishek Singh, Li Zhang, Pengtao Xie
cs.CL
cs.CL, cs.AI, cs.LG
Pretrained Language Models (PLMs) have advanced Natural Language Processing (NLP) tasks significantly, but finetuning PLMs on low-resource datasets poses significant challenges such as instability and overfitting. Previous methods tackle these issues by finetuning a strategically chosen subnetwork on a downstream task, while keeping the remaining weights fixed to the pretrained weights. However, they rely on a suboptimal criteria for sub-network selection, leading to suboptimal solutions. To address these limitations, we propose a regularization method based on attention-guided weight mixup for finetuning PLMs. Our approach represents each network weight as a mixup of task-specific weight and pretrained weight, controlled by a learnable attention parameter, providing finer control over sub-network selection. Furthermore, we employ a bi-level optimization (BLO) based framework on two separate splits of the training dataset, improving generalization and combating overfitting. We validate the efficacy of our proposed method through extensive experiments, demonstrating its superiority over previous methods, particularly in the context of finetuning PLMs on low-resource datasets.
[ -0.5512956976890564, -0.511866569519043, 0.05431345850229263, 0.2942402958869934, -0.5205843448638916, -0.16721031069755554, -0.6968487501144409, 0.0068662893027067184, 0.1736009418964386, 0.6622929573059082, -0.6042340993881226, -0.2494104653596878, -0.6922587752342224, 0.20136453211307526, -0.11269617825746536, 1.3431018590927124, 0.09388849139213562, -0.10490349680185318, -0.03433942422270775, -0.27924802899360657, -0.5923387408256531, -0.4013260006904602, -0.772334635257721, -0.4459744095802307, 0.7247225642204285, 0.419379860162735, 0.659427285194397, 0.49117597937583923, 0.6525748372077942, 0.2139035314321518, -0.2636110782623291, 0.48195183277130127, -0.8770166039466858, -0.06578491628170013, -0.3056173324584961, -0.335407018661499, -0.40020519495010376, 0.27672243118286133, 0.66526859998703, 1.087591528892517, -0.2066134363412857, 0.2880057394504547, 0.44201797246932983, 0.6567175984382629, -0.7975838780403137, -0.09188952296972275, -0.8909127116203308, -0.0550813190639019, -0.31705987453460693, -0.24160999059677124, -0.3746945261955261, -0.10644832253456116, 0.2971043586730957, -0.6511404514312744, 0.21877238154411316, 0.21426862478256226, 1.0473315715789795, 0.7656035423278809, 0.06697117537260056, 0.10373443365097046, -0.6762108206748962, 0.9887781739234924, -0.8083153963088989, 0.4181552529335022, 0.6471280455589294, -0.012963238172233105, 0.0458664633333683, -0.47466856241226196, -0.2606789171695709, -0.13019198179244995, -0.3177003264427185, 0.07622262835502625, 0.05849914625287056, 0.40417036414146423, 0.26037517189979553, 0.5252501368522644, -0.509479820728302, 0.21978135406970978, -0.328991174697876, -0.09234536439180374, 0.24291379749774933, -0.1652151346206665, 0.310860276222229, 0.13836151361465454, -0.27657634019851685, 0.07752672582864761, -0.5727696418762207, -0.016063205897808075, 0.27976831793785095, 0.7502200603485107, -0.1481025516986847, 0.6544468402862549, -0.2969185709953308, 0.7387607097625732, 0.37450435757637024, 0.22805249691009521, 0.21233442425727844, -0.5563628673553467, -0.6116802096366882, 0.11420184373855591, 0.8379360437393188, 0.3115675449371338, 0.7101902961730957, -0.30348190665245056, -0.22434498369693756, -0.0852072536945343, 0.24992282688617706, -0.8041739463806152, -0.30383822321891785, 0.188842311501503, -0.4730702340602875, -0.04404857009649277, -0.3641514182090759, -0.424941748380661, -0.1578216850757599, -0.5315112471580505, 0.29871177673339844, -0.3089642822742462, 0.0006241575465537608, 0.30773165822029114, 0.3319457769393921, -0.23741047084331512, -0.06337752193212509, -1.149895191192627, 0.4370737075805664, 0.3575269877910614, 0.9198875427246094, -0.07357872277498245, -0.2229669988155365, -0.9089776873588562, 0.258306622505188, -0.2524709105491638, 0.32883164286613464, -0.2662554383277893, 0.1377517133951187, -0.26583531498908997, -0.10289237648248672, -0.1533399075269699, -0.49759748578071594, 0.5689960718154907, -0.4922631084918976, 0.20825740694999695, -0.11666854470968246, -0.3311062157154083, 0.20193462073802948, 0.3819578289985657, -0.732809841632843, 0.8807814717292786, 0.026914143934845924, -1.0724568367004395, 0.39504432678222656, -0.3691248297691345, -0.526968777179718, -0.11697874218225479, 0.054891590029001236, -0.44928181171417236, 0.13469158113002777, 0.32586899399757385, 0.4241865873336792, -0.32425999641418457, 0.2830171585083008, -0.10425198823213577, -0.3200940787792206, -0.28558963537216187, -0.21958161890506744, 0.7178485989570618, 0.20152547955513, -0.08998528867959976, 0.06639173626899719, -0.8313453197479248, 0.14936713874340057, -0.12740157544612885, -0.7777518033981323, -0.6199806332588196, 0.03484049811959267, 0.026706203818321228, 0.14591296017169952, 0.32840806245803833, -0.6640095710754395, 0.08777154982089996, -0.9673324227333069, 0.4222245514392853, 0.34281983971595764, -0.14227741956710815, 0.6616808176040649, -0.3493707776069641, 0.2967005670070648, 0.014003897085785866, 0.018436511978507042, 0.18400824069976807, -0.16304869949817657, -1.0445207357406616, -0.09102556109428406, 0.7554298639297485, 0.6581974625587463, -0.7344118356704712, 0.49470630288124084, -0.2092858999967575, -0.1931382268667221, -0.829169750213623, 0.537268340587616, 0.626441478729248, 0.3554099202156067, 0.8993163108825684, -0.26637428998947144, -0.6492843627929688, -0.8530891537666321, -0.26772481203079224, 0.468353807926178, -0.12686826288700104, 0.09867260605096817, -0.0462929792702198, -0.2649786174297333, 1.0237237215042114, -0.20118756592273712, -0.7196875810623169, -0.5267031788825989, 0.3060094714164734, 0.15989449620246887, 0.875377357006073, 0.5674458146095276, -0.6291956305503845, -0.5236085057258606, 0.1609247922897339, -0.07742849737405777, -0.3955482244491577, -0.3385908305644989, -0.17450621724128723, -0.024310769513249397, 0.5161473155021667, -0.5230515003204346, -0.08758292347192764, 0.6502411365509033, 0.03122793883085251, 0.06191055476665497, -0.17125080525875092, -0.37916481494903564, -0.9083215594291687, 0.09817597270011902, 0.2151079922914505, -0.3327423930168152, -0.5644580125808716, -0.24203702807426453, -0.1390771120786667, 0.030802296474575996, -0.28050100803375244, 0.5506018400192261, -0.4913005828857422, -0.008874909952282906, -0.14362706243991852, 0.12365284562110901, 0.02379896491765976, 0.6539400815963745, -0.02863466367125511, 0.402732789516449, 0.4359529912471771, -0.5378642678260803, 0.10090670734643936, 0.07093356549739838, -0.10460209101438522, 0.1563819944858551, -0.7369667887687683, 0.035118501633405685, -0.3243328928947449, -0.053289007395505905, -0.8066936135292053, 0.020757392048835754, 0.293373167514801, -0.15175914764404297, 0.52861487865448, -0.3653339743614197, -0.37475523352622986, 0.08585412800312042, -0.005758750252425671, 0.4975581765174866, 0.1453927755355835, -0.11469712108373642, 0.5293776392936707, 0.2447771579027176, -0.34027335047721863, -0.5636518597602844, -0.930181622505188, -0.12035840004682541, -0.0025483479257673025, -0.27390119433403015, 0.44110509753227234, -0.1487998515367508, 0.04328298196196556, -0.1475551575422287, -0.19253450632095337, -0.23409749567508698, -0.04656976833939552, -0.11844272166490555, -0.012720903381705284, -0.15893061459064484, -0.16964314877986908, 0.17987200617790222, -0.3116370439529419, -0.3618098795413971, -0.4027540385723114, 0.6509280204772949, 0.035238321870565414, -0.011220238171517849, -0.5325403213500977, 0.2849423289299011, 0.28260987997055054, -0.6819480061531067, 0.6548715233802795, 0.7128745913505554, -0.5957000255584717, -0.38996803760528564, -0.5271771550178528, -0.04581165686249733, -0.4678382873535156, 0.2521989345550537, -0.0696345642209053, -0.9088347554206848, 0.38236069679260254, 0.014791009947657585, 0.22963115572929382, -0.011622533202171326, 0.44138139486312866, -0.08847654610872269, 0.9427670836448669, 0.7591805458068848, -0.028520215302705765, 0.6772538423538208, -0.3615269958972931, 0.02233692817389965, -0.7443206310272217, 0.15987388789653778, -0.30986666679382324, -0.6874067783355713, -0.3930719792842865, -0.2877247631549835, -0.13896797597408295, 0.31268617510795593, -0.1941772997379303, 0.2974317967891693, -0.4474455714225769, 0.6969963312149048, 0.6053990125656128, 0.06174128130078316, 0.1979183703660965, -0.02776399627327919, -0.2101786881685257, -0.25663232803344727, -0.8780150413513184, -0.27740615606307983, 0.949166476726532, 0.28157687187194824, 0.754590630531311, -0.12238368391990662, 0.6857567429542542, 0.007149031385779381, 0.3764331042766571, -0.6818066239356995, 0.2651759088039398, -0.7714081406593323, -0.4209049642086029, -0.5012155771255493, -0.67345130443573, -0.874218761920929, 0.25373512506484985, -0.2942674160003662, -0.4333963394165039, 0.28790634870529175, 0.4243507385253906, -0.8269810676574707, -0.09782741218805313, -0.9327037334442139, 1.0242581367492676, -0.22728897631168365, -0.20889568328857422, -0.022950975224375725, -0.7040178179740906, 0.14334745705127716, -0.05442290008068085, 0.224842831492424, -0.013097903691232204, 0.046779513359069824, 0.6188876032829285, -0.5030133128166199, 0.9127478003501892, -0.09284668415784836, 0.058296144008636475, 0.2178763598203659, -0.009573611430823803, 0.5107936263084412, -0.024489320814609528, 0.04561633989214897, -0.0996355265378952, -0.08549927920103073, -0.46227630972862244, -0.4373834431171417, 0.5621668100357056, -0.7290232181549072, -0.192337304353714, 0.023689383640885353, -0.5631582736968994, -0.4997323751449585, 0.6362032890319824, 0.4647219479084015, 0.5538785457611084, 0.25452712178230286, 0.4877757728099823, 0.724025309085846, -0.05093904584646225, 0.4476659297943115, 0.18666717410087585, 0.24611078202724457, -0.5401806235313416, 0.9824236035346985, 0.4622081518173218, 0.4539613425731659, 0.49415308237075806, 0.3026626706123352, -0.01679869554936886, -0.9643872380256653, -0.1440965235233307, -0.0010884631192311645, -0.3176945447921753, -0.3022250533103943, -0.48500263690948486, -0.18974511325359344, -0.05299924314022064, -0.10956799238920212, -0.6367934942245483, -0.08267960697412491, -0.38507047295570374, 0.05478381738066673, -0.16836367547512054, 0.21101079881191254, 0.10586956143379211, 0.663248598575592, -0.819208025932312, 0.43437299132347107, 0.29342910647392273, 0.7160731554031372, -0.2554287314414978, -0.2928942143917084, -0.5513905882835388, 0.13770604133605957, 0.029049010947346687, -0.533450186252594, 0.2668495774269104, 0.4615939259529114, 0.5352652668952942, 0.1989232897758484, 0.23988699913024902, 0.5295402407646179, -0.5218174457550049, 0.27707916498184204, 0.2752254903316498, -0.8554596900939941, 0.530353844165802, -0.5398011803627014, 0.3855111598968506, 0.92649245262146, 0.2850933372974396, -0.27368274331092834, -0.500969409942627, -0.30014652013778687, -0.8565428256988525, 0.8187202215194702, 0.4358365833759308, 0.22665303945541382, 0.10501463711261749, 0.35975584387779236, -0.05598420277237892, 0.34565985202789307, -1.0316808223724365, -0.1367499679327011, -0.3698671758174896, -0.5367885828018188, -0.02838120609521866, -0.2459181845188141, -0.10950025916099548, -0.0985797718167305, 0.4726080894470215, -0.15534467995166779, -0.48743563890457153, 0.06143601983785629, -0.2832742929458618, -0.20598158240318298, 0.23287007212638855, 0.44917353987693787, 0.46519139409065247, -0.49688878655433655, 0.2185659259557724, 0.17576636373996735, -0.7145900726318359, -0.02440478838980198, 0.31450092792510986, -0.34999579191207886, -0.06452777236700058, 0.14363287389278412, 0.7805906534194946, 0.47652968764305115, -0.5062144994735718, 0.41294023394584656, -0.08725215494632721, -0.10375518351793289, 0.404438853263855, 0.08662258833646774, -0.06982707232236862, 0.1681652069091797, 0.1613444685935974, 0.3618880808353424, -0.12635676562786102, -0.08736065775156021, 0.05605026334524155, 0.3474133014678955, -0.24131351709365845, -0.0931854397058487, 0.6299147605895996, 0.4509962797164917, -0.09355565905570984, 0.2348206639289856, -0.39799830317497253, -0.27771830558776855, 0.32298246026039124, 0.3680141270160675, 0.7351865768432617, 0.04116395488381386, -0.08349943161010742, 0.1982225626707077, 0.6943089962005615, -0.28738078474998474, 0.16116772592067719, 0.11572324484586716, -0.881973922252655, -0.8671994805335999, -0.8762969374656677, -0.14131055772304535, 0.5167540907859802, -0.5085792541503906, 0.3736337125301361, -0.9585533142089844, -0.4553128778934479, -0.18458250164985657, 0.181429922580719, -0.620237410068512, 0.6602904796600342, 0.3052184283733368, 0.504396915435791, -0.5956525802612305, 0.7163693308830261, 0.879806637763977, -0.4210798144340515, -0.6788527965545654, 0.14037588238716125, -0.5273489952087402, -0.2526363134384155, 0.5350432991981506, 0.07710783928632736, 0.04915254935622215, 0.4539119303226471, -0.4214238226413727, -1.22927987575531, 0.5946947336196899, 0.7745054960250854, -0.9013084769248962, -0.2642132341861725, -0.02893686108291149, 0.444640189409256, -0.22468620538711548, -0.14573092758655548, 0.4102626144886017, 0.2471376657485962, -0.11190710216760635, -1.1304712295532227, -0.09408503025770187, -0.17413829267024994, 0.17769256234169006, 0.16974897682666779, -0.7334109544754028, 0.8738469481468201, 0.002274797996506095, -0.3084559440612793, -0.22842232882976532, 0.587164044380188, 0.15151119232177734, -0.023464256897568703, 0.5057076215744019, 0.8098332285881042, 0.5772641897201538, -0.0345751978456974, 0.6514319181442261, -0.27992451190948486, 0.6034185290336609, 1.469025731086731, 0.09445951133966446, 0.6784657835960388, 0.49389269948005676, 0.05352245643734932, 0.10763297975063324, 0.776033341884613, 0.08450896292924881, 0.7767135500907898, 0.2722303569316864, 0.3371155261993408, -0.5261355638504028, -0.15667682886123657, -0.1522616147994995, 0.3117123544216156, 0.17417556047439575, -0.23086708784103394, -0.4287271499633789, 0.12441128492355347, -0.17123062908649445, 0.06345141679048538, -0.5945077538490295, 0.49957630038261414, 0.08837316930294037, -0.5142320990562439, 0.9191964268684387, -0.027233928442001343, 0.8864582180976868, -0.5173993110656738, 0.3259076774120331, -0.2457984983921051, 0.23912763595581055, -0.3332706093788147, -0.4272182583808899, 0.326455295085907, 0.015484167262911797, -0.4864483177661896, -0.5933155417442322, 0.6734535694122314, -0.8264275789260864, -0.39445456862449646, 0.17167465388774872, 0.3633635938167572, -0.2262604832649231, -0.02939719706773758, -0.5937386155128479, 0.07505068928003311, -0.1433451920747757, -0.43181750178337097, 0.379499614238739, 0.49797120690345764, 0.018065595999360085, 0.4970150887966156, 0.6289629936218262, 0.4182349145412445, 0.234012171626091, 0.3984290659427643, 0.887330949306488, -0.1146467998623848, -0.6824390292167664, -0.7544692158699036, 0.6180541515350342, 0.05856766179203987, -0.4919480085372925, 0.47146666049957275, 0.41512343287467957, 1.1510826349258423, 0.12903976440429688, 0.6792457699775696, 0.17251241207122803, 0.4840065538883209, -0.6933571696281433, 0.8529308438301086, -0.5728639960289001, 0.1476728618144989, -0.2448786348104477, -1.0236101150512695, -0.3600417971611023, 0.691321074962616, -0.33493444323539734, 0.09779155999422073, 0.3792375326156616, 0.35260477662086487, -0.3736606538295746, -0.3337056040763855, 0.0972752496600151, 0.1409086287021637, -0.07460985332727432, 0.48278382420539856, 0.3419131636619568, -0.16719500720500946, 0.7353565692901611, -0.43007344007492065, -0.13945510983467102, -0.1711108684539795, -0.933327853679657, -1.1727468967437744, -0.23383121192455292, -0.39781641960144043, 0.007841041311621666, 0.12082529067993164, 1.030078649520874, 0.8591307997703552, -0.9111102819442749, 0.069169782102108, -0.35864320397377014, 0.026512200012803078, -0.07446324080228806, -0.15663515031337738, 0.1940796673297882, -0.7156364917755127, -0.7248148918151855, 0.28099220991134644, 0.16790427267551422, 0.2950693964958191, -0.18463902175426483, 0.04910160228610039, -0.3838726580142975, 0.04220087453722954, 0.5318160057067871, 0.23818077147006989, -0.5266914367675781, -0.11188435554504395, -0.27926287055015564, -0.29255151748657227, -0.18269221484661102, 0.6627410650253296, -0.6123526096343994, 0.34285497665405273, 0.5970715284347534, 1.0381792783737183, 0.20920221507549286, 0.3009473979473114, 0.6188450455665588, -1.4524625539779663, 0.4174242913722992, 0.38306018710136414, 0.35593581199645996, 0.530096709728241, -0.2822757959365845, 0.3444652557373047, 0.19905227422714233, -0.40394699573516846, -0.9308754205703735, 0.10481365025043488, -0.9511700868606567, -0.07126026600599289, 1.101129412651062, -0.08880527317523956, 0.06974009424448013, -0.06664656102657318, -0.27292370796203613, 0.4129166007041931, -0.3050753176212311, 0.596065878868103, 0.6927058100700378, 0.09922774881124496, -0.28668442368507385, -0.563992440700531, 0.8864976167678833, 0.8297588229179382, -0.6418276429176331, 0.21253184974193573, 0.3373483121395111, 0.126114159822464, 0.27470868825912476, 0.5500673651695251, 0.39429786801338196, -0.09570810198783875, -0.5362391471862793, -0.21777379512786865, -0.18268761038780212, -0.4812104403972626, 0.002243796829134226, 0.01975191943347454, -0.13561058044433594, -0.2938977777957916 ]
http://arxiv.org/abs/2403.12900v1
http://arxiv.org/pdf/2403.12900v1
Toward Sustainable GenAI using Generation Directives for Carbon-Friendly Large Language Model Inference
2024-03-19T16:53:53
2024-03-19T16:53:53
Baolin Li, Yankai Jiang, Vijay Gadepally, Devesh Tiwari
cs.DC
cs.DC, cs.AI, cs.CL, cs.LG
The rapid advancement of Generative Artificial Intelligence (GenAI) across diverse sectors raises significant environmental concerns, notably the carbon emissions from their cloud and high performance computing (HPC) infrastructure. This paper presents Sprout, an innovative framework designed to address these concerns by reducing the carbon footprint of generative Large Language Model (LLM) inference services. Sprout leverages the innovative concept of "generation directives" to guide the autoregressive generation process, thereby enhancing carbon efficiency. Our proposed method meticulously balances the need for ecological sustainability with the demand for high-quality generation outcomes. Employing a directive optimizer for the strategic assignment of generation directives to user prompts and an original offline quality evaluator, Sprout demonstrates a significant reduction in carbon emissions by over 40% in real-world evaluations using the Llama2 LLM and global electricity grid data. This research marks a critical step toward aligning AI technology with sustainable practices, highlighting the potential for mitigating environmental impacts in the rapidly expanding domain of generative artificial intelligence.
[ -0.381217360496521, -0.6899695992469788, 0.516576886177063, 0.29027897119522095, -0.16302326321601868, -0.02837800420820713, -0.2742791771888733, -0.17699645459651947, 0.10712981969118118, 0.48644760251045227, -0.5401934385299683, -0.4205741584300995, -0.30588024854660034, 0.00508852070197463, -0.38294535875320435, 0.8446357846260071, 0.25304779410362244, 0.004892687778919935, -0.4015936255455017, -0.06745889037847519, -0.30661144852638245, -0.013022204861044884, -0.9647116661071777, -0.19316436350345612, 0.7423393726348877, 0.4924177825450897, 0.8187753558158875, 0.7776607275009155, 0.2898043692111969, 0.29224011301994324, -0.12348025292158127, 0.2572598457336426, -0.5043580532073975, 0.12213560193777084, -0.23401522636413574, 0.04508274048566818, -0.1755906641483307, -0.06305558234453201, 0.6098383665084839, 0.4682779312133789, -0.3985927700996399, 0.11898841708898544, 0.17837367951869965, 0.5608730316162109, -0.6145001649856567, 0.35617735981941223, -0.5078327059745789, 0.16109725832939148, -0.06348824501037598, -0.2573654353618622, -0.36997902393341064, -0.4141973853111267, -0.5086315870285034, -0.8138502240180969, 0.10331207513809204, 0.07510407269001007, 0.825264036655426, 0.7422566413879395, -0.1540127992630005, -0.15986916422843933, -0.7032301425933838, 0.7274847030639648, -0.8174408078193665, 0.41106075048446655, 0.10628214478492737, 0.33958134055137634, -0.12849365174770355, -0.5966700315475464, -0.8673036694526672, -0.08112873136997223, 0.20421777665615082, 0.5675031542778015, -0.1603846400976181, 0.19210325181484222, 0.0015203302027657628, 0.35515886545181274, -0.37558168172836304, 0.32160672545433044, -0.06339170783758163, -0.23042607307434082, 0.8531178832054138, -0.24579021334648132, 0.3317565619945526, -0.34667497873306274, -0.3664242625236511, -0.05378051474690437, -0.811920166015625, -0.24614331126213074, 0.7850101590156555, 0.2687322497367859, -0.06014300137758255, 0.5338372588157654, -0.07775513827800751, 0.15248511731624603, -0.1251627653837204, 0.1564895063638687, 0.036839138716459274, -0.34757664799690247, -0.2839931547641754, 0.07017078995704651, 0.7299337983131409, 0.5286532044410706, -0.11817707121372223, -0.13900721073150635, -0.03167715668678284, 0.13875894248485565, 0.09779326617717743, -0.7799397706985474, -0.43971937894821167, 0.16215623915195465, -0.41271209716796875, -0.26639002561569214, 0.016591081395745277, -1.2300002574920654, -0.41971978545188904, -0.2703447937965393, -0.0360238254070282, -0.29928067326545715, -0.2263323962688446, -0.1139800176024437, -0.18902677297592163, 0.3272688388824463, 0.46083754301071167, -0.8871983289718628, -0.2533997893333435, 0.8098011016845703, 0.7477111220359802, 0.020941346883773804, -0.052097856998443604, -0.2855300307273865, 0.1951051503419876, -0.21300001442432404, 0.8154301643371582, -0.23759105801582336, -0.58697909116745, -0.2189720869064331, -0.047880470752716064, 0.0215702373534441, -0.16646194458007812, 0.46976032853126526, -0.41505295038223267, 0.06119604781270027, -0.33316683769226074, -0.5482279658317566, -0.29803186655044556, -0.09718269109725952, -0.5482757687568665, 0.7524410486221313, -0.11561967432498932, -0.6323437690734863, 0.6321951150894165, -0.6365494132041931, -0.5572652816772461, 0.5178050994873047, -0.200972318649292, -0.6850382089614868, -0.1736452281475067, -0.06436000019311905, 0.28225675225257874, -0.34492918848991394, 0.4689082205295563, -0.23419758677482605, 0.19996236264705658, -0.4994337856769562, -0.8268998265266418, 0.8646906018257141, 0.8097449541091919, -0.34246233105659485, 0.5800443887710571, -0.6438373327255249, 0.16035224497318268, 0.10808240622282028, -0.4423086643218994, 0.025884324684739113, 0.3415861427783966, 0.20770245790481567, -0.2006188929080963, 0.14304567873477936, -0.5874584317207336, -0.14863114058971405, 0.007894457317888737, 0.7482039332389832, 1.1046819686889648, 0.17075593769550323, 0.33042508363723755, -0.39437800645828247, 0.5881638526916504, -0.6709263324737549, 0.2534426748752594, -0.15252679586410522, -0.5491508841514587, -0.9846775531768799, -0.5589554905891418, -0.058869216591119766, 0.44711896777153015, -0.6023949980735779, 1.1355212926864624, -0.3537459373474121, -0.6783768534660339, -0.14726336300373077, 0.12110939621925354, -0.07922544330358505, 0.24553269147872925, 0.09512250125408173, 0.028872966766357422, -0.23689360916614532, -0.7132161259651184, -0.07813698798418045, -0.11533298343420029, -0.03373562544584274, 0.30188119411468506, 0.3621547818183899, -0.4828847050666809, 1.0145471096038818, -0.17452257871627808, 0.4222896099090576, -0.40402254462242126, 0.0786086842417717, -0.17161452770233154, 0.6279979944229126, 0.44666343927383423, -1.1228443384170532, -0.2999613881111145, 0.11758275330066681, -0.72950679063797, -0.0903904139995575, -0.5726065039634705, -0.23456960916519165, -0.16702663898468018, 0.5464727282524109, -0.659573495388031, 0.10549090057611465, 0.5131307244300842, -0.5389222502708435, 0.32476988434791565, -0.46247169375419617, 0.16830402612686157, -1.0038734674453735, 0.15288226306438446, -0.06972724199295044, -0.13246659934520721, -0.30955952405929565, 0.5094625949859619, -0.22443081438541412, -0.32995322346687317, -0.32493144273757935, 0.3333456814289093, -0.05463214963674545, -0.17880453169345856, 0.05892748013138771, -0.4038965106010437, 0.3050740361213684, 0.10419471561908722, -0.18596725165843964, 1.0879992246627808, 0.26780790090560913, -0.6271088719367981, 0.24039746820926666, 0.37431660294532776, -0.20491711795330048, 0.37421688437461853, -0.3287627696990967, 0.150183767080307, -0.2971545159816742, 0.39437904953956604, -0.6503432989120483, -0.3610377609729767, 0.19826319813728333, -0.151434063911438, 0.10630727559328079, 0.4156439006328583, -0.6646276116371155, -0.29775097966194153, -0.09734959155321121, 0.2151934802532196, 0.5796921253204346, -0.7400904893875122, 0.9035293459892273, 0.26533451676368713, -0.33103784918785095, 0.2440524846315384, -0.7732014656066895, 0.38575151562690735, -0.48659342527389526, -0.6124508380889893, 0.07060635834932327, -0.4165722131729126, -0.045851171016693115, -0.22696402668952942, -0.10279752314090729, 0.257547527551651, 0.39867112040519714, 0.1605677753686905, -0.074852854013443, -0.03086705505847931, -0.07302422821521759, 0.021299012005329132, -0.18949629366397858, 0.15233369171619415, -0.4653383195400238, 0.6209813356399536, 0.09090565890073776, -0.437211275100708, -0.8280466794967651, 0.47443974018096924, 1.0033321380615234, -0.3129904568195343, 0.5616693496704102, 0.13561241328716278, -0.11919890344142914, -0.3238908052444458, -0.3638022541999817, 0.21397407352924347, -0.5240865349769592, 0.2153715193271637, -0.09200330823659897, -0.6037610769271851, 0.3866700232028961, -0.4181952476501465, 0.18116866052150726, 0.6742677688598633, 0.18994545936584473, -0.11587958037853241, 0.8765694499015808, 0.47941383719444275, 0.07585417479276657, 0.6728679537773132, -0.45581379532814026, 0.6309385299682617, -0.6535340547561646, -0.27129313349723816, -0.548158586025238, 0.1928543746471405, -0.8136997222900391, -0.34699729084968567, 0.09242119640111923, 0.06989873945713043, -0.8423442840576172, 0.11369967460632324, -0.7603024244308472, 0.23992425203323364, 0.5561627149581909, 0.11766892671585083, 0.07234828174114227, -0.032862018793821335, 0.10280602425336838, 0.33847102522850037, -1.0414844751358032, -0.5449328422546387, 0.43796950578689575, 0.4784802794456482, 0.3744348883628845, 0.06536324322223663, 0.6537048816680908, 0.6540173292160034, 0.3688039183616638, -0.8019498586654663, 0.6515361666679382, -0.30355629324913025, -0.2754802107810974, -0.31508705019950867, -0.7636637687683105, -0.5736194252967834, -0.097371906042099, -0.007555918302386999, -0.4066234529018402, 0.08934718370437622, 0.07007044553756714, -0.43617719411849976, 0.5347797274589539, -0.6096253395080566, 0.857122004032135, -0.604841947555542, -0.5491229891777039, -0.4955008029937744, -0.26574504375457764, 0.025319082662463188, -0.01711604930460453, 0.37239891290664673, -0.21300721168518066, 0.2691200375556946, 0.5572062134742737, -0.5962473154067993, 0.6167943477630615, -0.4113215506076813, -0.28969433903694153, 0.4979599416255951, -0.25417661666870117, 0.6776397228240967, -0.12401482462882996, -0.40111881494522095, 0.3646458089351654, -0.32692694664001465, -0.585032045841217, -0.3042941987514496, 0.6871525049209595, -0.6394583582878113, -0.5419830083847046, -0.3871084451675415, -0.418927401304245, 0.0010366252390667796, 0.46624165773391724, 0.43389052152633667, -0.3500123620033264, -0.32715940475463867, 0.2183336317539215, 0.6223464012145996, -0.6758185625076294, 0.24912647902965546, 0.040536027401685715, 0.08408316224813461, -0.5969600677490234, 1.1269596815109253, -0.05196256563067436, 0.5706624388694763, -0.011623131111264229, 0.5350162982940674, -0.23061104118824005, -0.7262194156646729, -0.4875519871711731, -0.3119065761566162, -0.824586808681488, -0.2785149812698364, -0.6004525423049927, -0.31553521752357483, -0.23751188814640045, -0.6067080497741699, -0.2436412274837494, -0.009480016306042671, -0.330476313829422, -0.48861443996429443, 0.4835532009601593, 0.5831690430641174, -0.017675552517175674, 0.4767177700996399, -0.39288124442100525, 0.351595014333725, 0.230583056807518, 0.16049762070178986, -0.011863588355481625, 0.12564685940742493, 0.10016772896051407, 0.23020237684249878, -0.2003055363893509, -0.28791722655296326, 0.39794212579727173, 0.571073591709137, 0.537973940372467, 0.6988785862922668, -0.04670128971338272, 0.5769988894462585, -0.36530056595802307, 0.8960573673248291, 0.545289158821106, -0.9487879872322083, 0.4726710319519043, -0.5623598694801331, 0.22373603284358978, 0.5009244680404663, -0.09709551185369492, -0.5303798913955688, -0.45676565170288086, -0.6121161580085754, -1.187667727470398, 0.0029977019876241684, 0.29458126425743103, 0.20997005701065063, -0.35525965690612793, 0.40354210138320923, 0.26445186138153076, 0.2078416794538498, -0.3699203431606293, -0.016487987712025642, -0.7220383882522583, -0.31625282764434814, -0.09836103767156601, 0.11498913168907166, -0.017727160826325417, -0.24215742945671082, 0.8443942666053772, -0.3001716136932373, 0.250081866979599, -0.06469470262527466, 0.4171450138092041, -0.06653942167758942, 0.2142401486635208, 0.10304069519042969, 0.24875453114509583, 0.03375493362545967, -0.008614557795226574, 0.19700667262077332, -0.21631832420825958, 0.2627933621406555, 0.0196223147213459, -0.7889866828918457, -0.46183085441589355, 0.13191431760787964, 0.5419198870658875, 0.030811015516519547, -0.35857224464416504, 0.0864768773317337, -0.12151209264993668, -0.1630178540945053, -0.3759186565876007, 0.3131696581840515, 0.16927315294742584, 0.038069915026426315, 0.23315541446208954, 0.418073832988739, 0.01601860672235489, -0.46053093671798706, 0.4295346438884735, 0.53273606300354, 0.11976854503154755, 0.11617789417505264, 1.2082899808883667, 0.7235812544822693, -0.09836313873529434, 0.6201416254043579, -0.44443127512931824, -0.39439812302589417, 1.0613696575164795, 0.4355008602142334, 0.9298058748245239, 0.15037792921066284, 0.24952653050422668, 0.4508485496044159, -0.0020311186090111732, -0.10222537070512772, 0.10558604449033737, -0.352263867855072, -0.869860827922821, -0.241605743765831, -0.8742274641990662, -0.14847153425216675, -0.11138337105512619, -0.5318851470947266, -0.02744905836880207, -1.1060699224472046, 0.03845033422112465, 0.07545675337314606, 0.005656978581100702, -0.6795327067375183, 0.2901657521724701, 0.2810509204864502, 0.7909221649169922, -0.8386473655700684, 0.5975621342658997, 0.3459511399269104, -0.4475352168083191, -0.7686140537261963, 0.05984582006931305, 0.10174065828323364, -0.7140932679176331, 0.35901135206222534, 0.3201289772987366, -0.4851880967617035, 0.36653101444244385, -0.5850143432617188, -0.7280949354171753, 1.4085705280303955, 0.42558982968330383, -0.7722976803779602, 0.2078038901090622, -0.09032995253801346, 0.17724674940109253, -0.19682201743125916, 0.03967129439115524, 0.40667858719825745, 1.030043125152588, 0.2545301616191864, -0.11706973612308502, 0.10742039233446121, -0.2855584919452667, 0.22176991403102875, 0.1269432157278061, -1.1390260457992554, 0.25503721833229065, -0.06999382376670837, -0.7635055780410767, 0.42669087648391724, 0.9102176427841187, 0.19421973824501038, 0.45614996552467346, 0.6288313865661621, 0.7393683791160583, 1.021939992904663, 0.009373458102345467, 1.103227972984314, -0.6324307918548584, 0.4503951966762543, 0.6703100800514221, -0.3985724449157715, 0.43879440426826477, 0.3842597007751465, -0.06625679135322571, 0.23306488990783691, 0.8509700894355774, -0.2952286899089813, 0.6351548433303833, 0.27721452713012695, -0.8156450986862183, -0.22996780276298523, -0.47004154324531555, 0.017784150317311287, 0.3224540054798126, 0.33689039945602417, -0.017359064891934395, -0.2617790997028351, 0.09584341198205948, 0.20860017836093903, 0.2635577321052551, -0.308428019285202, 0.704262375831604, -0.10977467894554138, -0.5790471434593201, 0.03525305166840553, -0.08552198112010956, 0.819231390953064, -0.5956909656524658, -0.14993222057819366, -0.19403763115406036, 0.09627038985490799, -0.3372935950756073, -0.5205269455909729, 0.3136303722858429, 0.12037532031536102, -0.06808800995349884, -0.8279851675033569, 0.14196443557739258, -0.16781871020793915, -0.7659698128700256, 0.422861248254776, 0.06263785064220428, 0.0008741156198084354, 0.3455844521522522, -0.6957328915596008, -0.10638878494501114, 0.3805224597454071, 0.1055794507265091, 0.08724557608366013, 0.41239768266677856, 0.17354071140289307, 0.6141728162765503, 1.0045497417449951, 0.35613536834716797, -0.2094953954219818, 0.20148925483226776, 0.7902237772941589, -0.33600276708602905, -0.7818604111671448, -0.48806437849998474, 0.29908695816993713, -0.05569228157401085, -0.17827215790748596, 0.8099825978279114, 0.5771260857582092, 0.7610840797424316, 0.3824566900730133, 1.3270089626312256, -0.3198957145214081, -0.14559093117713928, -0.6002178192138672, 0.9631001949310303, -0.26240503787994385, 0.3884525001049042, 0.17903171479701996, -0.9767944812774658, -0.13005349040031433, 0.6789281964302063, -0.2753906548023224, 0.1524847447872162, 0.2561340034008026, 0.7837442755699158, -0.0684877261519432, 0.07402514666318893, 0.31932881474494934, 0.1826496571302414, 0.8199402093887329, 0.07027536630630493, 0.5170773267745972, 0.1055355817079544, -0.023187004029750824, -0.08034779876470566, -0.3552207946777344, 0.026457540690898895, -1.0204834938049316, -0.10896140336990356, -0.122368723154068, -0.34393277764320374, -0.013929405249655247, 0.3468945324420929, 0.868592381477356, 0.6411576271057129, -0.9459331631660461, 0.2108658254146576, -1.1821372509002686, -0.11464130133390427, -0.2969680726528168, -0.3417859375476837, 0.509579598903656, -0.23621515929698944, -0.42992842197418213, 0.5798636674880981, 0.32069092988967896, -0.1278068870306015, -0.49789902567863464, -0.3974143862724304, -0.14669816195964813, 0.32529038190841675, 0.4333404004573822, 0.41596248745918274, -0.4659143388271332, -0.7797001004219055, -0.32348012924194336, 0.17852002382278442, 0.02696705237030983, 0.5324939489364624, -0.5349105596542358, 0.400559663772583, 0.47248128056526184, 0.8240329623222351, 0.15828025341033936, 0.2016015350818634, 0.6887947916984558, -0.3011801540851593, 0.11912863701581955, 0.41223907470703125, 0.4219679832458496, 0.6663790345191956, -0.7691855430603027, 0.17526930570602417, 0.04373816028237343, -0.8013024926185608, -0.34322449564933777, 0.4070352613925934, -0.7247255444526672, -0.25327953696250916, 1.1811400651931763, -0.30744412541389465, -0.16234426200389862, 0.1723429560661316, 0.01073021162301302, 0.43534812331199646, -0.5479989647865295, 0.741502046585083, 0.4262901246547699, -0.11146040260791779, -0.2699196934700012, -0.6476058959960938, 0.23623064160346985, 0.5836568474769592, -1.0570358037948608, 0.3971325159072876, 0.6879839301109314, 0.1325015276670456, 0.24929603934288025, 0.24821634590625763, 0.2915789783000946, -0.004559747409075499, 0.31279438734054565, 0.19915467500686646, 0.06332133710384369, -0.4016638398170471, -0.23427170515060425, -0.062346335500478745, 0.03945430368185043, -0.09639041870832443 ]
http://arxiv.org/abs/2403.12881v1
http://arxiv.org/pdf/2403.12881v1
Agent-FLAN: Designing Data and Methods of Effective Agent Tuning for Large Language Models
2024-03-19T16:26:10
2024-03-19T16:26:10
Zehui Chen, Kuikun Liu, Qiuchen Wang, Wenwei Zhang, Jiangning Liu, Dahua Lin, Kai Chen, Feng Zhao
cs.CL
cs.CL
Open-sourced Large Language Models (LLMs) have achieved great success in various NLP tasks, however, they are still far inferior to API-based models when acting as agents. How to integrate agent ability into general LLMs becomes a crucial and urgent problem. This paper first delivers three key observations: (1) the current agent training corpus is entangled with both formats following and agent reasoning, which significantly shifts from the distribution of its pre-training data; (2) LLMs exhibit different learning speeds on the capabilities required by agent tasks; and (3) current approaches have side-effects when improving agent abilities by introducing hallucinations. Based on the above findings, we propose Agent-FLAN to effectively Fine-tune LANguage models for Agents. Through careful decomposition and redesign of the training corpus, Agent-FLAN enables Llama2-7B to outperform prior best works by 3.5\% across various agent evaluation datasets. With comprehensively constructed negative samples, Agent-FLAN greatly alleviates the hallucination issues based on our established evaluation benchmark. Besides, it consistently improves the agent capability of LLMs when scaling model sizes while slightly enhancing the general capability of LLMs. The code will be available at https://github.com/InternLM/Agent-FLAN.
[ -0.5317530632019043, -0.6622952818870544, 0.6292403936386108, 0.044465359300374985, -0.11320172995328903, 0.01801319420337677, -0.658024787902832, -0.7988479733467102, 0.43978363275527954, 0.8358665704727173, -0.28340664505958557, -0.4726319909095764, -0.3454940915107727, 0.15415720641613007, -0.3241560757160187, 0.850300669670105, 0.11564208567142487, 0.08550753444433212, -0.0233943909406662, -0.034281693398952484, -0.3319290280342102, -0.3529641628265381, -0.7435804009437561, -0.41321051120758057, 0.5926727056503296, 0.25792789459228516, 0.9602901935577393, 0.7085292339324951, 0.3981677293777466, 0.36353471875190735, 0.05810510739684105, 0.633206307888031, -0.5984556078910828, 0.3136996030807495, -0.34568482637405396, -0.5062388181686401, -0.7779301404953003, -0.09616363048553467, 0.5349866151809692, 0.4141838550567627, -0.03877352178096771, -0.07389562577009201, -0.16536177694797516, 0.5341490507125854, -0.4966185986995697, 0.22025172412395477, -0.8244137763977051, -0.15961953997612, -0.03760382533073425, -0.4286794066429138, -0.4644083082675934, -0.15524296462535858, 0.005441222805529833, -0.6111177802085876, 0.35016894340515137, 0.08467470854520798, 0.7060559391975403, 0.49901360273361206, -0.32099297642707825, -0.503987193107605, -0.8427031636238098, 0.6710808873176575, -0.7249675989151001, 0.26329731941223145, 0.46813395619392395, 0.38848066329956055, -0.3161635994911194, -0.48863860964775085, -0.5171762108802795, -0.5522868633270264, 0.06963843107223511, -0.3366911709308624, 0.15089984238147736, 0.27358126640319824, 0.06931374967098236, 0.2878125011920929, -0.562859058380127, 0.22759133577346802, -0.1085405945777893, -0.15770891308784485, 0.8643656373023987, 0.09909573197364807, 0.1656351536512375, 0.4279750883579254, -0.019726229831576347, -0.38625919818878174, -0.5149641633033752, -0.3756115436553955, 0.578697144985199, 0.7107352018356323, 0.26909592747688293, 0.5562208294868469, -0.1278914362192154, 0.57855623960495, -0.11230113357305527, -0.07753031700849533, 0.2636915147304535, 0.05991769954562187, -0.13825051486492157, 0.04838663339614868, 0.3981205224990845, 0.06768560409545898, 0.5251885652542114, -0.4742142856121063, -0.6443201303482056, 0.16203227639198303, 0.5301718711853027, -0.6830642223358154, 0.09188789129257202, 0.5089547038078308, -0.2062247395515442, -0.3497474789619446, 0.09403427690267563, -0.6833421587944031, -0.6633784174919128, -0.5996599793434143, 0.5127676129341125, -0.3609660863876343, -0.6179150938987732, 0.2926522195339203, -0.0252686720341444, 0.38040438294410706, 0.3366931676864624, -0.9012152552604675, 0.3139002323150635, 1.0517414808273315, 0.8422656059265137, -0.11359615623950958, -0.5578818321228027, -0.6119884848594666, -0.06557197868824005, -0.605558454990387, 0.9129811525344849, -0.6703898906707764, 0.03341712802648544, 0.2655109763145447, 0.09925641119480133, -0.11502184718847275, -0.7761437296867371, 0.2663639783859253, -0.4758816361427307, -0.3403239846229553, -0.2137143909931183, -0.5993394255638123, -0.110959991812706, 0.0427011214196682, -0.7207055687904358, 0.6512571573257446, 0.25499531626701355, -0.20064765214920044, 0.11308985948562622, -0.7178440690040588, -0.4856764078140259, -0.08727848529815674, 0.08819781988859177, -0.2959291934967041, 0.2491431087255478, 0.13682213425636292, 0.448698490858078, -0.27799201011657715, 0.20299270749092102, -0.3873418867588043, -0.577165961265564, 0.28885602951049805, -0.09932813048362732, 0.5773072242736816, 0.3820487856864929, -0.22364509105682373, 0.37400856614112854, -0.799806535243988, 0.03932494297623634, 0.2153574526309967, 0.07874961197376251, -0.1821080893278122, -0.03354286402463913, 0.11290692538022995, -0.043239131569862366, 0.09464861452579498, -0.06230735778808594, 0.2183467000722885, -0.795208215713501, 0.2891889810562134, 0.7658417224884033, -0.2613981068134308, 0.5947852730751038, -0.5605722069740295, 0.6431966423988342, -0.34461313486099243, 0.10599453002214432, 0.13594631850719452, -0.21165426075458527, -0.9064598083496094, -0.31064140796661377, 0.04121897369623184, 0.2682410478591919, -0.7488972544670105, 0.6350960731506348, -0.16735731065273285, -0.5719622373580933, -0.5677576065063477, 0.30172669887542725, 0.021646026521921158, 0.027859434485435486, 0.33895817399024963, -0.09938260912895203, -0.4678589403629303, -0.6449796557426453, -0.17713771760463715, -0.1355409473180771, -0.10860782861709595, 0.007094413507729769, 0.6080746054649353, -0.3286457359790802, 0.6861081719398499, -0.2242983877658844, -0.48479998111724854, -0.40206560492515564, -0.25253620743751526, -0.06945692747831345, 0.29721736907958984, 0.6580103635787964, -0.4234101474285126, -0.2859404981136322, 0.19098632037639618, -0.6273085474967957, -0.1962975561618805, -0.0810527577996254, -0.3075862526893616, 0.42189955711364746, 0.382276326417923, -0.8966324329376221, 0.3061583638191223, 0.25997310876846313, -0.443395733833313, 0.5251755714416504, -0.1869727373123169, -0.14913390576839447, -0.9163598418235779, -0.10543079674243927, -0.19762441515922546, -0.2047284096479416, -0.9092389345169067, 0.3067626357078552, -0.19835567474365234, 0.09732905775308609, -0.3039393424987793, 0.786747395992279, -0.5476967692375183, -0.22179952263832092, -0.7204903364181519, 0.2974519729614258, -0.10626909136772156, 0.462828129529953, 0.016237061470746994, 0.6563266515731812, 0.5769354701042175, -0.5592299699783325, 0.4276909828186035, 0.051741380244493484, -0.21287041902542114, 0.29790186882019043, -0.49913397431373596, 0.4113180339336395, -0.2533162832260132, 0.12877660989761353, -0.62248295545578, -0.3259078562259674, 0.36137598752975464, -0.16384296119213104, 0.40014538168907166, 0.15013593435287476, -0.5163987278938293, 0.029136743396520615, -0.3886117935180664, 0.10761947929859161, 0.3153715431690216, -0.6624157428741455, 0.8387592434883118, 0.26854652166366577, 0.238439679145813, -0.5991063714027405, -0.5234243273735046, 0.15645046532154083, -0.28426554799079895, -0.6470609307289124, 0.23502779006958008, 0.009924388490617275, -0.468456506729126, -0.117792509496212, -0.03319358453154564, 0.12713155150413513, 0.0018218567129224539, 0.06713838130235672, -0.14838428795337677, -0.4229776859283447, 0.4630563259124756, -0.04861656203866005, -0.07499085366725922, -0.10976728796958923, -0.3514268100261688, 0.690820038318634, -0.3336622416973114, -0.30876535177230835, -0.19441351294517517, 0.13105538487434387, 0.6302137970924377, -0.33671653270721436, 0.9311005473136902, 0.6167124509811401, -0.3210599720478058, -0.8055502772331238, -0.6530358791351318, -0.39119967818260193, -0.44855809211730957, 0.4175976514816284, -0.3503260314464569, -0.6639525294303894, 0.6058520674705505, 0.05394373834133148, 0.04757162928581238, 0.26647132635116577, 0.645557165145874, 0.2301144003868103, 0.7412610650062561, 0.7076466083526611, -0.06074900925159454, 0.6025451421737671, -0.3626813292503357, 0.15474432706832886, -0.4818815588951111, 0.0033430042676627636, -0.4740721583366394, -0.18883366882801056, -0.4689602553844452, -0.5355384945869446, -0.032005079090595245, -0.12381622195243835, -0.26244744658470154, 0.15708720684051514, -0.42685845494270325, 0.6216753721237183, 0.20263713598251343, 0.10440963506698608, 0.2869516611099243, 0.10182347893714905, 0.3496459722518921, 0.46358442306518555, -0.3665328919887543, -0.7818201184272766, 1.2319817543029785, 0.5513531565666199, 0.8191707134246826, 0.22600576281547546, 0.524105429649353, 0.3617323040962219, 0.22193238139152527, -0.8502374887466431, 0.6044948101043701, 0.07837618887424469, -0.5680824518203735, -0.6658271551132202, -0.15085867047309875, -1.0116361379623413, 0.5021392703056335, -0.034819647669792175, -0.6461197137832642, 0.19110536575317383, -0.024077605456113815, -0.053480129688978195, 0.1934576779603958, -0.6669745445251465, 0.7139782905578613, -0.27700042724609375, -0.298666775226593, -0.3842446208000183, -0.3478763997554779, 0.2564407289028168, -0.19155000150203705, -0.05403755232691765, -0.3198206126689911, -0.25501763820648193, 0.2979157567024231, -0.8554551601409912, 0.8437514901161194, -0.19334156811237335, -0.4433373808860779, 0.39326512813568115, -0.027250614017248154, 0.6774519681930542, 0.07886810600757599, -0.2802398204803467, 0.11591684818267822, 0.025004902854561806, -0.44383901357650757, -0.9011205434799194, 0.5700740814208984, -0.9715303778648376, -0.555245578289032, -0.23352693021297455, -0.5265014171600342, -0.2421378344297409, -0.1046237125992775, -0.006375621072947979, 0.3642043173313141, -0.07032402604818344, 0.059682898223400116, 0.5870257616043091, -0.07335392385721207, 0.2869463562965393, 0.595960795879364, -0.5436785221099854, -0.3212449550628662, 1.056795358657837, 0.058640774339437485, 0.22393904626369476, 0.2518867254257202, 0.014754744246602058, -0.31499388813972473, -0.5369314551353455, -0.17677795886993408, 0.5380746126174927, -0.8269500136375427, -0.19263479113578796, -0.42616862058639526, -0.32758629322052, -0.47806039452552795, -0.19202785193920135, -0.614888072013855, -0.12592874467372894, -0.43995413184165955, -0.03480060026049614, 0.4099155366420746, 0.7558916211128235, -0.057539843022823334, 0.38613516092300415, -0.15762829780578613, 0.361476868391037, 0.08044669777154922, 0.5530021786689758, 0.260590136051178, -0.6040098071098328, -0.4442122280597687, -0.022002486512064934, 0.03066639043390751, -0.8424940705299377, 0.45489612221717834, 0.31542178988456726, 0.5768252015113831, 0.5408704280853271, 0.08121832460165024, 0.450134813785553, -0.09011033922433853, 0.4386917054653168, -0.40269678831100464, -0.8126814961433411, 0.5105264782905579, -0.34555739164352417, 0.08848360925912857, 0.5136829614639282, 0.024001356214284897, -0.21151646971702576, -0.6308162212371826, -0.23437689244747162, -0.6479511260986328, 0.7599682807922363, 0.2549488842487335, 0.05852476879954338, 0.09929001331329346, 0.46917641162872314, 0.3091574013233185, 0.22862054407596588, -0.6593392491340637, -0.0875689834356308, -0.2183857560157776, -0.16224634647369385, -0.53160160779953, -0.1360592395067215, 0.03221869468688965, -0.2964734435081482, 0.8553768992424011, -0.3439486026763916, 0.15955661237239838, 0.1176917776465416, -0.42943501472473145, -0.16601033508777618, 0.11592788994312286, 0.7827258110046387, 0.7736265063285828, -0.2497277557849884, 0.2182680368423462, 0.14261099696159363, -0.45329469442367554, 0.21633857488632202, -0.06870003044605255, 0.099699966609478, -0.08722880482673645, 0.6234489679336548, 0.8883101940155029, -0.24306327104568481, -0.8266671895980835, 0.3449951112270355, -0.05829505994915962, -0.27429771423339844, -0.5639920830726624, 0.4447440803050995, -0.07623659819364548, 0.5496594905853271, 0.30368921160697937, -0.09821585565805435, -0.1067001223564148, -0.47115951776504517, -0.07664094865322113, 0.41544264554977417, -0.1722283661365509, -0.3797762095928192, 0.39541417360305786, 0.03410843759775162, -0.64112788438797, 0.41726624965667725, -0.3346768915653229, -0.29012176394462585, 0.652441680431366, 0.6355523467063904, 1.1430996656417847, -0.33437997102737427, 0.22361816465854645, 0.09057210385799408, 0.5828998684883118, -0.31994056701660156, 0.2308923453092575, 0.0671156495809555, -0.7902505993843079, -0.38660699129104614, -0.7173226475715637, -0.2858372926712036, 0.4120645821094513, -0.21039608120918274, 0.433992862701416, -0.4082808494567871, -0.160857155919075, -0.16029812395572662, 0.256536066532135, -0.6271328926086426, -0.09080275148153305, 0.12890738248825073, 0.7329527139663696, -0.7825687527656555, 0.929469883441925, 0.6675112247467041, -0.5582567453384399, -0.6706576943397522, 0.1421774923801422, -0.19577787816524506, -0.586491048336029, 0.24121282994747162, 0.26080161333084106, -0.31745681166648865, -0.03197576105594635, -0.6580406427383423, -0.8600955605506897, 0.9211717247962952, 0.7585688233375549, -0.44596314430236816, -0.025400225073099136, 0.4666878581047058, 0.9172379970550537, -0.6637059450149536, 0.39860108494758606, 0.8156091570854187, 0.6502370834350586, -0.1259593963623047, -0.8222023844718933, 0.10289716720581055, -0.2151889204978943, 0.14639343321323395, -0.009447198361158371, -0.7750137448310852, 0.618341863155365, -0.06743175536394119, -0.01817483641207218, 0.17176000773906708, 0.664126992225647, 0.018972568213939667, 0.3614950180053711, 0.601655900478363, 0.2675282061100006, 0.9161362051963806, 0.1268668919801712, 0.6926727294921875, -0.2915102243423462, 0.10822091996669769, 0.9691658020019531, -0.48743754625320435, 0.7889235615730286, 0.346923291683197, 0.00008315999002661556, 0.32810309529304504, 0.506649911403656, -0.024068865925073624, 0.27479615807533264, 0.41815996170043945, -0.11761748045682907, -0.3558826148509979, -0.05089724063873291, -0.4188341200351715, 0.7526407241821289, 0.39488404989242554, -0.23515409231185913, -0.01108941063284874, 0.1880830079317093, -0.17352670431137085, 0.13109862804412842, -0.1694898158311844, 0.7288999557495117, 0.10084249824285507, -0.6197431087493896, 0.7882622480392456, -0.1037321388721466, 0.48687002062797546, -0.5564426779747009, -0.054385680705308914, -0.43441861867904663, 0.30943310260772705, -0.20083913207054138, -0.22344860434532166, 0.3161383867263794, -0.1656772643327713, 0.04820060729980469, 0.03779395669698715, 0.8276557326316833, -0.41614454984664917, -0.3228532075881958, 0.5466293096542358, 0.48023492097854614, 0.5113301873207092, -0.429519385099411, -0.38168397545814514, 0.26139071583747864, -0.2897319793701172, -0.3590519428253174, 0.32890376448631287, 0.4739220440387726, 0.012398981489241123, 0.7837443351745605, 0.4108162224292755, 0.2848932147026062, -0.18838390707969666, 0.41491058468818665, 0.6977638602256775, -0.6979453563690186, -0.2697181701660156, -0.8030427694320679, 0.21159668266773224, -0.003307520877569914, -0.16253438591957092, 0.4809771776199341, 0.42666029930114746, 0.6837354898452759, -0.1567591279745102, 0.5268744826316833, 0.28161874413490295, 0.32908445596694946, -0.5685901045799255, 0.9050148725509644, -0.7236083149909973, 0.5204667448997498, -0.23677149415016174, -1.2523467540740967, -0.20692257583141327, 0.63572758436203, -0.10482756048440933, 0.30696311593055725, 0.692090630531311, 1.286095142364502, 0.13432727754116058, -0.002171657746657729, 0.5494140386581421, 0.19915002584457397, 0.4931049644947052, 0.38003605604171753, 1.1490293741226196, -0.3114410936832428, 0.49939432740211487, -0.11861356347799301, 0.02153235860168934, -0.5647405982017517, -0.6240646243095398, -1.284045696258545, -0.6915395855903625, -0.19897642731666565, -0.24736925959587097, 0.16933917999267578, 1.1702040433883667, 0.6619985103607178, -0.8049103021621704, -0.35691002011299133, -0.12236708402633667, 0.2527671158313751, -0.3254677653312683, -0.18434379994869232, 0.2811362147331238, -0.7357587218284607, -0.7385298013687134, 0.5604410171508789, 0.11625882983207703, 0.07225782424211502, -0.6672354340553284, -0.3565222918987274, 0.1146341934800148, 0.2389102280139923, 0.6156062483787537, 0.15769335627555847, -1.0626745223999023, -0.38562238216400146, -0.03873753920197487, -0.09133671224117279, -0.054052166640758514, 0.7360231876373291, -0.5939230918884277, 0.3590080142021179, 0.21314123272895813, 0.5515594482421875, 0.27705657482147217, -0.12199154496192932, 0.5606439113616943, -0.4311380386352539, 0.3124914765357971, 0.24200168251991272, 0.11235637962818146, 0.23595401644706726, -0.3849826455116272, 0.7182105183601379, -0.04488202929496765, -0.6468715667724609, -1.1241101026535034, -0.03229614719748497, -0.8926901817321777, -0.502780020236969, 1.3103762865066528, 0.34643813967704773, -0.26867035031318665, -0.17200621962547302, -0.33635491132736206, 0.31886011362075806, -0.2940751314163208, 0.8207482695579529, 0.5801457762718201, 0.004767175763845444, 0.06807716935873032, -0.5460125803947449, 0.6872101426124573, 0.24366331100463867, -0.7994866967201233, 0.19997476041316986, 0.44784292578697205, -0.02324407547712326, 0.0031174474861472845, 0.6728812456130981, 0.2999102473258972, 0.10771308094263077, 0.2862430214881897, 0.2507110834121704, -0.3154865503311157, -0.724700927734375, -0.4757826328277588, 0.17894071340560913, 0.4545689523220062, 0.15934452414512634 ]
http://arxiv.org/abs/2403.12862v1
http://arxiv.org/pdf/2403.12862v1
Epistemology of Language Models: Do Language Models Have Holistic Knowledge?
2024-03-19T16:06:10
2024-03-19T16:06:10
Minsu Kim, James Thorne
cs.CL
cs.CL
This paper investigates the inherent knowledge in language models from the perspective of epistemological holism. The purpose of this paper is to explore whether LLMs exhibit characteristics consistent with epistemological holism. These characteristics suggest that core knowledge, such as general scientific knowledge, each plays a specific role, serving as the foundation of our knowledge system and being difficult to revise. To assess these traits related to holism, we created a scientific reasoning dataset and examined the epistemology of language models through three tasks: Abduction, Revision, and Argument Generation. In the abduction task, the language models explained situations while avoiding revising the core knowledge. However, in other tasks, the language models were revealed not to distinguish between core and peripheral knowledge, showing an incomplete alignment with holistic knowledge principles.
[ -0.11830680817365646, -0.98958820104599, 0.83821702003479, -0.05063183605670929, 0.019650505855679512, 0.15164728462696075, -0.21831892430782318, -0.39197471737861633, -0.14256872236728668, 0.7322257161140442, -0.28913789987564087, -0.5082661509513855, -0.40554481744766235, 0.11646619439125061, -0.19488351047039032, 0.8264627456665039, 0.01687154918909073, -0.09604444354772568, -0.3868257701396942, -0.19700026512145996, 0.22366896271705627, -0.6838386058807373, 0.014615429565310478, -0.5481922626495361, 0.0921175628900528, 0.23975393176078796, 0.6069137454032898, 0.8746787309646606, 0.3961787819862366, 0.17825213074684143, -0.4959220290184021, 0.0726582258939743, -0.19343464076519012, 0.2458896040916443, -0.44296443462371826, -0.774078369140625, -0.4464932978153229, -0.12154584378004074, 0.45439276099205017, 1.1699566841125488, -0.24553877115249634, 0.2160591185092926, 0.0055064857006073, 0.6266974210739136, -0.34040066599845886, 0.23423656821250916, -0.7389191389083862, -0.020299971103668213, 0.08722899854183197, -0.09437073022127151, -0.22108455002307892, -0.35485589504241943, 0.6033115386962891, -0.6010187268257141, 0.3707616329193115, 0.2512282729148865, 0.9381933212280273, 0.1886136829853058, -0.4512737989425659, -0.4866084158420563, -0.8671453595161438, 0.7844347953796387, -0.8206990957260132, 0.09117613732814789, 0.6863498687744141, 0.045073624700307846, 0.3508707582950592, -0.2793678343296051, -0.5233892798423767, -0.3227105736732483, -0.02939542755484581, -0.029022200033068657, -0.1958065927028656, 0.0139854047447443, 0.3753557801246643, 0.3348129391670227, -0.47512778639793396, 0.01132956799119711, -0.18662121891975403, -0.13106584548950195, 0.4779220223426819, 0.12765583395957947, 0.4702768623828888, -0.14510418474674225, -0.28144872188568115, 0.37566012144088745, -1.1782876253128052, 0.07274854183197021, 0.40001219511032104, 0.023926133289933205, -0.030284777283668518, 0.7169133424758911, -0.247829869389534, 0.8007475137710571, 0.042239174246788025, -0.3694721460342407, 0.047813307493925095, -0.3732262849807739, -0.15710437297821045, 0.08052751421928406, 0.19134703278541565, 0.019507722929120064, 0.3657480478286743, -0.33259662985801697, -0.1217697411775589, 0.23922787606716156, 0.24880282580852509, -0.22631613910198212, 0.116785429418087, 0.031372036784887314, -0.23897352814674377, -0.2644069194793701, -0.11061269044876099, -0.20847316086292267, 0.027758417651057243, -0.40595442056655884, 0.07606759667396545, -0.3696611225605011, -0.42404186725616455, 0.21891793608665466, -0.017894219607114792, 0.33738481998443604, 0.39035579562187195, -0.9797964096069336, 0.3678944408893585, 0.9584808349609375, 0.5945559740066528, -0.08388227224349976, -0.41866612434387207, 0.20528043806552887, 0.5288771986961365, -0.1990458369255066, 0.8779383897781372, -0.6047207713127136, -0.32170432806015015, 0.07385534793138504, 0.05496222898364067, 0.03598622977733612, -0.610470712184906, 0.1954863965511322, -0.32047855854034424, 0.06878243386745453, -0.6205386519432068, -0.775217592716217, -0.4759996831417084, 0.3705994486808777, -0.30725908279418945, 0.7692936658859253, 0.05748501420021057, -0.8147919774055481, 0.19797416031360626, -0.4678650200366974, -0.3292362093925476, 0.11021614819765091, -0.16641224920749664, -0.09465950727462769, 0.28578802943229675, -0.26946917176246643, 0.44533011317253113, -0.37535756826400757, 0.5609691143035889, -0.3852081000804901, -0.13487862050533295, 0.1909542977809906, 0.004507017321884632, 0.7543646693229675, 0.1869048923254013, -0.3020005524158478, -0.052775122225284576, -0.7627149224281311, -0.21225190162658691, 0.18374133110046387, -0.4765777289867401, -0.6957799196243286, 0.06101169437170029, -0.4028392434120178, 0.1745462715625763, 0.2152286320924759, -0.5239619016647339, 0.48563751578330994, -0.6232316493988037, 0.4767591059207916, 0.5490943193435669, 0.04488281160593033, 0.7218120694160461, -0.5944739580154419, 0.14721737802028656, 0.20441573858261108, -0.06172650679945946, -0.0447513572871685, -0.722856342792511, -1.0092158317565918, 0.23582160472869873, -0.28264039754867554, 0.5629093647003174, -0.35595011711120605, 0.41052937507629395, -0.23761586844921112, -0.367410808801651, -0.5584247708320618, 0.36021074652671814, 0.5214008688926697, 0.4620923399925232, 0.15360549092292786, 0.06300380080938339, -0.4731736481189728, -1.1372727155685425, -0.5264118313789368, -0.4487435221672058, 0.08659357577562332, 0.13909105956554413, 0.7413769960403442, -0.13371260464191437, 1.0673964023590088, -0.3863067924976349, 0.2023697942495346, -0.26782941818237305, 0.17792266607284546, 0.08767861872911453, 0.09789685159921646, 0.47222185134887695, -0.5512247085571289, -0.25849220156669617, 0.23326735198497772, -1.1339298486709595, -0.2445060908794403, 0.27369365096092224, 0.15514269471168518, 0.3273122012615204, 0.167970672249794, -0.6412283182144165, 0.5290164351463318, 0.19765032827854156, -0.4230569303035736, 0.670059859752655, -0.28324684500694275, -0.21736064553260803, -1.0690670013427734, -0.0006211864529177547, 0.06649819016456604, -0.04887380450963974, -0.9730455875396729, 0.03919399902224541, -0.12469053268432617, 0.1971319615840912, -0.4453916847705841, 0.5560534000396729, -0.6289265751838684, -0.15992730855941772, -0.27703332901000977, 0.1663811355829239, 0.08720899373292923, 0.426869660615921, 0.4969870150089264, 0.1820821911096573, 0.5464105606079102, -0.9152596592903137, 0.22649264335632324, 0.1344965696334839, -0.3734038472175598, 0.5118602514266968, -0.6168847680091858, 0.12487168610095978, -0.25309979915618896, -0.30205267667770386, -0.8354208469390869, -0.10665515065193176, 0.04896842688322067, -0.1987200230360031, 0.10238825529813766, 0.007098470814526081, -0.2690050005912781, -0.08574751764535904, 0.025719264522194862, -0.08671581745147705, 0.4963562488555908, -0.1650855988264084, 0.40333446860313416, 0.5212363600730896, -0.405294805765152, -0.47430580854415894, -0.6413256525993347, -0.4269019663333893, -0.3007318675518036, -0.38724902272224426, 0.41497087478637695, 0.10059871524572372, -1.1091617345809937, 0.25253593921661377, -0.061648063361644745, -0.03267517685890198, 0.29806724190711975, 0.4612628221511841, 0.3180246949195862, -0.19086670875549316, 0.19025367498397827, 0.1906449794769287, 0.10856463015079498, 0.195017471909523, -0.05538363382220268, 0.3897082805633545, -0.4246346354484558, -0.536178708076477, -0.18965162336826324, 0.10198478400707245, 0.6348837018013, 0.3291991651058197, 0.6923832893371582, -0.08497229218482971, -0.5149779319763184, -0.0038544947747141123, -0.610032856464386, -0.032814349979162216, -0.3124079406261444, 0.23854713141918182, -0.5151868462562561, -0.9940289258956909, 0.6098301410675049, 0.0010378800798207521, 0.23481667041778564, 0.5507113337516785, 0.8069645762443542, -0.19200466573238373, 0.5713674426078796, 0.454946905374527, 0.14650790393352509, 0.038512613624334335, -0.29535192251205444, 0.15214549005031586, -1.0235041379928589, -0.20292559266090393, -0.5731527805328369, 0.11492079496383667, -0.19544674456119537, -0.2164720743894577, 0.14435800909996033, 0.19665805995464325, -0.6496541500091553, 0.25368571281433105, -0.09905914217233658, 0.042124513536691666, 0.253555029630661, -0.061528999358415604, 0.5978947281837463, 0.0800737589597702, -0.32480406761169434, 0.13946515321731567, -0.6189309358596802, -1.1442811489105225, 1.1270499229431152, 0.3867354691028595, 0.8193711638450623, 0.2793195843696594, 0.4137497842311859, 0.03750551864504814, 0.37198251485824585, -0.6440274119377136, 0.5468345284461975, 0.4471358358860016, -0.866561233997345, -0.29427334666252136, -0.17976053059101105, -0.5960614681243896, 0.24247896671295166, -0.08536330610513687, -0.8112729787826538, 0.0901232361793518, 0.11674501746892929, -0.3319549560546875, 0.44924697279930115, -0.37587958574295044, 0.37858569622039795, -0.237736776471138, -0.34136804938316345, -0.1273229867219925, -0.645185649394989, 0.5429790019989014, 0.024881627410650253, 0.5825614929199219, -0.27310729026794434, -0.008711306378245354, 0.8072188496589661, -0.38428741693496704, 1.103770136833191, 0.09634663909673691, -0.2249823808670044, 0.48994505405426025, 0.4343429207801819, 0.3141832649707794, -0.18633943796157837, 0.13317151367664337, 0.14012511074543, 0.12570244073867798, -0.20320893824100494, -0.47118714451789856, 0.7228649854660034, -0.9372372627258301, -1.0419352054595947, -0.34605106711387634, -0.597064197063446, -0.31239789724349976, -0.07029448449611664, 0.159495010972023, 0.03455139696598053, -0.3465971350669861, 0.06847978383302689, 0.7271246910095215, -0.13000008463859558, 0.5353447794914246, 0.7027373313903809, -0.5485812425613403, 0.02912452444434166, 0.7287402153015137, 0.2529771625995636, 0.7539138197898865, 0.334320992231369, 0.34566208720207214, -0.22311638295650482, -0.28296077251434326, -0.007576786447316408, 0.48880553245544434, -0.9183889031410217, 0.17269185185432434, -0.9012562036514282, -0.22439715266227722, -0.43676888942718506, -0.044892773032188416, -0.329325407743454, -0.6326695680618286, -0.3551139533519745, -0.23052756488323212, 0.2502294182777405, 1.17848539352417, 0.2117922306060791, 0.13572826981544495, -0.8773472309112549, 0.14519517123699188, 0.32363468408584595, -0.23946990072727203, 0.1419684737920761, -0.7843235731124878, -0.2198093831539154, 0.23328566551208496, -0.4986099898815155, -0.9387224316596985, 0.4821621775627136, 0.2402004897594452, 0.987971305847168, 0.66933673620224, -0.25498831272125244, 0.4083697497844696, -0.39020273089408875, 0.8483262062072754, -0.0024170835968106985, -1.0752851963043213, 0.5531342625617981, -0.22809968888759613, 0.2307184785604477, 0.10372818261384964, 0.7539019584655762, -0.39027318358421326, -0.4402906000614166, -0.816501796245575, -0.33388155698776245, 0.24333219230175018, -0.15009543299674988, -0.08443070203065872, -0.044277943670749664, 0.4260697662830353, 0.4140970706939697, 0.43677133321762085, -0.6437740325927734, -0.21278409659862518, -0.19233013689517975, 0.03733961656689644, 0.02973153255879879, -0.4008007347583771, -0.17028377950191498, -0.47666269540786743, 0.44658851623535156, -0.18615330755710602, 0.03864205628633499, 0.14074310660362244, -0.4045960009098053, -0.25124841928482056, 0.6260749101638794, 0.736399233341217, 1.0417476892471313, 0.09485812485218048, 0.3872256875038147, 0.08548516035079956, -0.24395708739757538, 0.29576510190963745, -0.6810293793678284, -0.4459414780139923, -0.13903190195560455, 0.8210589289665222, 0.7281826734542847, 0.4967998266220093, -0.4468817114830017, 0.21874921023845673, 0.36661002039909363, -0.37889617681503296, -0.15716882050037384, -0.08696655929088593, 0.3638594150543213, 0.003040979616343975, 0.4316883087158203, 0.1572311520576477, -0.05692463740706444, -1.0374990701675415, -0.06407157331705093, 0.47461023926734924, -0.09616603702306747, -0.991041362285614, 0.30729079246520996, -0.2141897976398468, -0.3353050947189331, 0.2818724513053894, -0.018024474382400513, -0.8575849533081055, 0.4240836501121521, 0.8089019060134888, 0.5523800849914551, -0.5169376730918884, 0.28074026107788086, 0.26508787274360657, 0.36400750279426575, -0.3571581542491913, 0.5682079792022705, 0.05625208467245102, -1.2309389114379883, -0.3268234133720398, -0.826953649520874, -0.5119127035140991, -0.1653808355331421, -0.7462137937545776, -0.11233321577310562, -0.4735218584537506, -0.060460880398750305, -0.15894640982151031, -0.29120373725891113, -0.6591218709945679, -0.03870779275894165, 0.03223031386733055, 0.4999616742134094, -0.9990479946136475, 1.022467017173767, 0.7697885036468506, -0.31682559847831726, -0.5382501482963562, -0.1998983770608902, 0.11332494765520096, -0.8991140723228455, 1.1908633708953857, -0.1997048556804657, 0.004508295562118292, 0.051194269210100174, -0.562351405620575, -0.8458936214447021, 0.8351394534111023, 0.4134212136268616, -0.5273548364639282, -0.3622516095638275, 0.15486793220043182, 0.6029041409492493, -0.7442718148231506, -0.05723387002944946, 0.4580525755882263, 0.5629626512527466, 0.12277048081159592, -0.9908847808837891, -0.0493282712996006, -0.08335544914007187, 0.046643972396850586, -0.33448800444602966, -0.2596416473388672, 1.0125333070755005, -0.553653359413147, -0.32138824462890625, -0.31939956545829773, 0.48433923721313477, 0.26249444484710693, 0.1359558254480362, 0.08300071954727173, 0.8507940173149109, 0.6404199600219727, -0.0946233868598938, 0.969580888748169, -0.37344232201576233, 0.6761029958724976, 0.8387696743011475, -0.778148889541626, 0.8233479857444763, 0.7521305084228516, -0.4054618775844574, 0.4601098895072937, 0.5028473138809204, 0.44210579991340637, 0.6417783498764038, 0.14655281603336334, -0.12426430732011795, -0.5742936134338379, -0.14973340928554535, -0.2834607660770416, 0.5419393181800842, 0.5252864360809326, -0.29948779940605164, -0.1367010474205017, 0.1485530138015747, 0.013974453322589397, 0.04125269502401352, -0.3052397668361664, 0.9065844416618347, 0.17598360776901245, -0.6333646178245544, 0.5155781507492065, -0.21264123916625977, 0.42333725094795227, -0.2461061030626297, -0.0654180496931076, 0.01639081910252571, -0.07137393206357956, -0.1830616146326065, -0.921628475189209, 0.8044956922531128, -0.16860821843147278, -0.1781340092420578, -0.18543635308742523, 0.8137339353561401, -0.252123087644577, -0.31933024525642395, 0.1439814269542694, 1.045535683631897, 0.1774337738752365, 0.08753885328769684, -0.37788519263267517, 0.0056540751829743385, -0.03238759562373161, -0.49485164880752563, 0.33264559507369995, 0.36036625504493713, -0.023767225444316864, 1.011797547340393, 0.6363638043403625, 0.3433960974216461, 0.15391111373901367, -0.209649920463562, 0.7638912796974182, -0.9132322072982788, -0.11859250068664551, -1.2485744953155518, 0.2820073068141937, 0.07978717982769012, -0.10488368570804596, 0.9125236868858337, 0.45860815048217773, 0.6985848546028137, -0.37765324115753174, 1.017685890197754, 0.10781271010637283, 0.6271637082099915, -0.4714042544364929, 0.6815114617347717, -0.33645519614219666, 0.40766641497612, -0.10403382778167725, -0.8540720343589783, -0.31010428071022034, 0.8375396728515625, -0.5907623171806335, -0.2559964656829834, 0.8327255845069885, 0.5007444620132446, 0.23800987005233765, 0.20128902792930603, 0.6585379838943481, 0.3382524847984314, 0.031351275742053986, 0.47825849056243896, 1.1662007570266724, -0.025643138214945793, -0.31420817971229553, -0.0841185450553894, -0.1298631876707077, -0.3090422451496124, -0.7370111346244812, -1.033098816871643, -0.7236922383308411, -0.32325270771980286, -0.1778104454278946, -0.1194012314081192, 0.9044368267059326, 0.326264351606369, -0.6963182687759399, -0.3935323655605316, -0.06871990114450455, 0.3271731436252594, -0.2554387152194977, -0.22803592681884766, 0.14608857035636902, -0.032388340681791306, -0.3269417881965637, 0.36276063323020935, 0.675898015499115, 0.138521209359169, -0.5306802988052368, -0.10596375167369843, -0.4301959276199341, 0.12309404462575912, 0.6121615767478943, 0.30819758772850037, -1.3449034690856934, -0.48486122488975525, 0.34126049280166626, -0.16467243432998657, 0.06839308142662048, 0.8689402937889099, -0.43497347831726074, 0.20851822197437286, 0.4080163538455963, 0.2365976721048355, 0.1258717179298401, -0.1555260866880417, 0.3820026218891144, -0.21586906909942627, 0.08393961191177368, 0.19778922200202942, 0.7230567336082458, 0.3729749619960785, -0.236957386136055, 0.3445311486721039, 0.655830979347229, -0.501063346862793, -0.8226579427719116, 0.3246837258338928, -0.8315579891204834, -0.23585128784179688, 1.292249083518982, -0.48542043566703796, -0.5165857672691345, -0.5295228362083435, 0.06002337858080864, 0.24325788021087646, 0.2312810868024826, 0.5912715196609497, 1.0861462354660034, -0.2964717149734497, -0.25437071919441223, -0.4304802417755127, 0.3904791474342346, 0.10474342107772827, -0.6987866759300232, 0.10454636812210083, 0.24050351977348328, 0.6126500964164734, 0.3539731204509735, 0.2310333251953125, -0.011948703788220882, -0.029700513929128647, -0.10334204882383347, 0.1567155122756958, -0.024546241387724876, -0.2060183882713318, -0.1576796919107437, 0.2375330626964569, 0.29551905393600464, 0.4725302457809448 ]
http://arxiv.org/abs/2403.12809v1
http://arxiv.org/pdf/2403.12809v1
Comparing Explanation Faithfulness between Multilingual and Monolingual Fine-tuned Language Models
2024-03-19T15:07:22
2024-03-19T15:07:22
Zhixue Zhao, Nikolaos Aletras
cs.CL
cs.CL, cs.AI
In many real natural language processing application scenarios, practitioners not only aim to maximize predictive performance but also seek faithful explanations for the model predictions. Rationales and importance distribution given by feature attribution methods (FAs) provide insights into how different parts of the input contribute to a prediction. Previous studies have explored how different factors affect faithfulness, mainly in the context of monolingual English models. On the other hand, the differences in FA faithfulness between multilingual and monolingual models have yet to be explored. Our extensive experiments, covering five languages and five popular FAs, show that FA faithfulness varies between multilingual and monolingual models. We find that the larger the multilingual model, the less faithful the FAs are compared to its counterpart monolingual models.Our further analysis shows that the faithfulness disparity is potentially driven by the differences between model tokenizers. Our code is available: https://github.com/casszhao/multilingual-faith.
[ -0.43703070282936096, -0.6118791699409485, 0.5934785008430481, 0.40614092350006104, -0.30305957794189453, -0.08563851565122604, -0.25467103719711304, -0.7373769879341125, 0.02727675437927246, 0.09541343152523041, -0.6889564990997314, -0.19793805480003357, -0.6117448806762695, 0.3563224673271179, -0.30764615535736084, 0.9025469422340393, -0.23769783973693848, 0.4393733739852905, -0.44309550523757935, -0.4839520752429962, -0.12364470958709717, -0.5036142468452454, -0.6764493584632874, -0.5783023238182068, 0.5880376696586609, 0.11708460003137589, 1.1386139392852783, 0.8915306329727173, 0.5223017334938049, 0.3201443552970886, -0.12870365381240845, 0.151706263422966, -0.1419515162706375, 0.10264687985181808, -0.30786028504371643, -0.5878650546073914, -0.2863120138645172, 0.25739604234695435, 0.5105303525924683, 0.49157747626304626, 0.13395380973815918, 0.29434406757354736, 0.2372138798236847, 0.45217710733413696, -0.6691664457321167, 0.15664467215538025, -0.7241839170455933, -0.1567544788122177, -0.26435843110084534, -0.11690225452184677, -0.2856188118457794, -0.5216291546821594, 0.14562372863292694, -0.6647791266441345, 0.7256789207458496, 0.025996513664722443, 1.2038483619689941, 0.18775241076946259, -0.3337649405002594, -0.3108740746974945, -0.5107474327087402, 1.1353479623794556, -0.8513038158416748, 0.7829261422157288, 0.5883108973503113, 0.09832263737916946, 0.1764044612646103, -0.30670276284217834, -0.5145564675331116, -0.20858709514141083, -0.17548616230487823, -0.10400848090648651, 0.07070944458246231, -0.07218178361654282, 0.0499575175344944, 0.6501621603965759, -0.4479338824748993, -0.019500093534588814, -0.00032480229856446385, -0.5253652334213257, 0.4918166995048523, -0.15783825516700745, -0.009771224111318588, -0.06385134905576706, -0.3365897238254547, -0.12339381873607635, -0.5088064670562744, 0.24752570688724518, 0.4473972022533417, 0.164116770029068, -0.22806605696678162, 0.4407784640789032, 0.084797203540802, 0.5461330413818359, -0.11337801069021225, -0.3999376595020294, 0.1205630972981453, -0.725456714630127, -0.1350540965795517, -0.17453151941299438, 0.7546764016151428, 0.19769181311130524, 0.6170119643211365, -0.3052445650100708, -0.23273105919361115, 0.1531914919614792, 0.03716409206390381, -0.6260735988616943, 0.03779410198330879, 0.05139986053109169, -0.6698145270347595, -0.34841468930244446, 0.12630611658096313, -0.48245301842689514, -0.13233941793441772, -0.4475056529045105, 0.07310391962528229, -0.5347111821174622, -0.29999905824661255, 0.05855065956711769, -0.1267353892326355, 0.06414111703634262, 0.3077031075954437, -0.9401657581329346, 0.2092643678188324, 0.8278295397758484, 0.8517373204231262, -0.2990891635417938, -0.7475597262382507, -0.41392526030540466, -0.026824602857232094, -0.2260238081216812, 0.6111063361167908, -0.688708484172821, 0.09396664053201675, 0.07913640141487122, 0.033020250499248505, -0.17078159749507904, -0.43979400396347046, 0.7037835717201233, -0.4779912531375885, 0.10429032891988754, -0.5026637315750122, -0.5196024775505066, -0.3181307017803192, 0.1975277066230774, -0.8235910534858704, 0.7846678495407104, -0.06279531121253967, -0.6829532384872437, 0.8453843593597412, -0.5747315883636475, -0.2855451703071594, -0.382858544588089, -0.14292359352111816, -0.5296621322631836, 0.5129775404930115, 0.05121902748942375, 0.3363420367240906, -0.23525558412075043, 0.2000700682401657, -0.6453933119773865, -0.274519681930542, 0.7587000727653503, -1.0229268074035645, 0.7935177087783813, 0.3819389343261719, -0.1257360428571701, -0.07601797580718994, -0.5988161563873291, 0.0460934117436409, 0.3089759349822998, -0.3648250699043274, -0.4620506763458252, 0.16455072164535522, 0.21384118497371674, 0.14802204072475433, 0.32286661863327026, -0.488435834646225, -0.10802266746759415, -0.49324744939804077, 0.12305103987455368, 0.5835068821907043, -0.2737705409526825, 0.35942432284355164, -0.22132818400859833, 0.5339543223381042, 0.1400013417005539, 0.4007066786289215, -0.20690645277500153, -0.409834086894989, -0.520642876625061, -0.32213085889816284, 0.44957470893859863, 0.2696838676929474, -0.5177072882652283, -0.14534170925617218, -0.3376225233078003, -0.14925998449325562, -0.9057278037071228, 0.1864381581544876, 0.9611301422119141, 0.09168501198291779, 0.3206001818180084, -0.2672068476676941, -0.30844858288764954, -1.1861870288848877, -0.7420899868011475, -0.3384868800640106, 0.0752631202340126, 0.04112996906042099, 0.32625290751457214, 0.045089241117239, 0.8870742321014404, -0.13646438717842102, -0.026897015050053596, -0.1448247730731964, 0.22080542147159576, 0.035987723618745804, 0.3143218755722046, 0.9861131906509399, -1.0110883712768555, -0.708343505859375, 0.1506703943014145, -0.526232898235321, 0.03668752312660217, 0.09791862964630127, 0.1461506187915802, 0.574061393737793, 0.10738597810268402, -0.4099406599998474, 0.5203667879104614, 0.8715105652809143, -0.45245447754859924, 0.6625873446464539, -0.08187118172645569, 0.5033481121063232, -0.9959396123886108, -0.0753689631819725, 0.13382989168167114, -0.428180456161499, -0.6409042477607727, 0.4671168923377991, 0.1361529678106308, 0.23297089338302612, -0.46381044387817383, 0.48497626185417175, -0.4561099112033844, -0.05429118499159813, -0.1666395366191864, -0.11223521828651428, 0.3980526924133301, 0.30375733971595764, -0.01251922082155943, 1.0282893180847168, 0.43408703804016113, -0.5656561851501465, 0.1579943746328354, 0.1916789561510086, -0.10989869385957718, 0.14812466502189636, -0.5668604373931885, -0.10904651135206223, 0.0847650021314621, -0.24108625948429108, -1.1432983875274658, -0.277303546667099, -0.045612599700689316, -0.7170073986053467, 0.31609803438186646, -0.4334908723831177, -0.5227681398391724, -0.0883532464504242, -0.3980845808982849, 0.536343514919281, 0.16545166075229645, -0.43099164962768555, 0.5834295749664307, 0.024445533752441406, -0.03801676630973816, -0.62702876329422, -0.9367506504058838, -0.15895839035511017, -0.3757718503475189, -0.6987216472625732, 0.29243478178977966, -0.15204568207263947, -0.5349206924438477, -0.15927669405937195, -0.2833632528781891, -0.44289451837539673, 0.47841522097587585, 0.01833196170628071, 0.17450319230556488, -0.43113091588020325, -0.034555982798337936, 0.07216709852218628, -0.21479445695877075, 0.1978478580713272, -0.0037861233577132225, 0.3782000243663788, -0.3645552396774292, -0.6224488615989685, -0.5123491287231445, 0.46908387541770935, 0.7706886529922485, -0.45712849497795105, 1.1788502931594849, 0.5439445972442627, -0.23453985154628754, 0.18226373195648193, -0.7617693543434143, -0.22197873890399933, -0.4595657289028168, 0.1180979534983635, -0.6019690632820129, -0.6666678786277771, 0.9157248735427856, 0.423904150724411, 0.3000849783420563, 0.5187404751777649, 0.40229496359825134, 0.13159014284610748, 1.1586891412734985, 0.7981531023979187, -0.14975202083587646, 0.39176321029663086, 0.32240238785743713, 0.09580967575311661, -0.20509199798107147, 0.08623453229665756, -0.8831424117088318, 0.020187683403491974, -0.6126574873924255, -0.12822289764881134, 0.006088183261454105, 0.33769816160202026, 0.13885363936424255, 0.25677603483200073, -0.17725485563278198, 0.5380816459655762, 0.418483704328537, -0.21693205833435059, 0.5470101237297058, 0.31864428520202637, -0.19175437092781067, -0.4396820366382599, -0.6380664110183716, -0.6753705143928528, 0.8575962781906128, 0.6576268672943115, 0.5877727270126343, 0.4040849506855011, 0.485120564699173, 0.03339425101876259, 0.36556476354599, -0.7017094492912292, 0.12316524982452393, -0.3789295554161072, -0.7543992400169373, -0.32591360807418823, -0.3510427474975586, -0.675948441028595, 0.24037717282772064, -0.19567105174064636, -0.6137552261352539, 0.19311600923538208, 0.4880567789077759, -0.15506784617900848, 0.007984072901308537, -0.7520570755004883, 0.9796684384346008, -0.0883932039141655, -0.49545958638191223, -0.19662567973136902, -0.44092050194740295, 0.2273898869752884, -0.33748722076416016, 0.3589218556880951, -0.06670644134283066, 0.16107554733753204, 0.5247418880462646, -0.33409184217453003, 0.5440695881843567, -0.07938230782747269, -0.4149170219898224, 0.024552755057811737, 0.23855896294116974, 0.5780540108680725, 0.281328946352005, -0.45408275723457336, 0.48727908730506897, 0.13368944823741913, -0.32776984572410583, -0.6573273539543152, 0.5728192925453186, -0.5798097252845764, -0.5518320798873901, -0.18264378607273102, -0.502509593963623, -0.20290520787239075, 0.16609525680541992, 0.5527868270874023, 0.4671386480331421, -0.14769724011421204, 0.13800571858882904, 0.8438997268676758, -0.03621033951640129, 0.4958672821521759, 0.7195221185684204, -0.3116337060928345, -0.11356194317340851, 0.7848697304725647, 0.016148308292031288, 0.5584264993667603, 0.1630498617887497, 0.26972246170043945, -0.2939452826976776, -0.6699735522270203, -0.5010881423950195, 0.33700627088546753, -0.7130756974220276, -0.05345894768834114, -0.4878600537776947, 0.08234884589910507, -0.48994180560112, -0.23965081572532654, -0.8287450671195984, -0.247693732380867, -0.15442833304405212, 0.08103054761886597, 0.3606394827365875, 0.37546101212501526, 0.29795345664024353, 0.12052471935749054, -0.8100569844245911, 0.3569413423538208, 0.022966884076595306, 0.5986213088035583, -0.058104630559682846, -0.6811149716377258, -0.4233035147190094, 0.4507634937763214, -0.22893697023391724, -0.8697554469108582, 0.07565885782241821, 0.5120697021484375, 0.612403929233551, 0.6459118127822876, -0.3087488114833832, 1.0607693195343018, -0.4207911491394043, 0.7520174384117126, 0.10758713632822037, -1.1128331422805786, 0.2976136803627014, -0.1738348752260208, 0.20953881740570068, 0.9272304773330688, 0.4364025294780731, -0.41830265522003174, -0.7511654496192932, -0.5315759181976318, -0.5009353160858154, 0.7162529826164246, 0.4727778136730194, 0.017974670976400375, -0.00672202929854393, 0.5551856756210327, 0.5670162439346313, 0.15607017278671265, -0.9631312489509583, -0.6003541350364685, -0.3844393193721771, -0.20067787170410156, -0.2303091138601303, -0.29813680052757263, -0.07192724943161011, -0.20383253693580627, 0.7299721240997314, -0.3108239471912384, 0.42459461092948914, 0.1505698263645172, -0.1550293266773224, -0.3224349319934845, 0.2925718426704407, 0.857589602470398, 0.8757032155990601, 0.009837429039180279, 0.20880219340324402, 0.1193171814084053, -0.5097781419754028, -0.0878848135471344, 0.04559909924864769, -0.055254820734262466, 0.5247505307197571, 0.6683866381645203, 0.8515913486480713, 0.14252212643623352, -0.2247156947851181, 0.5765673518180847, -0.2297891229391098, -0.27208322286605835, -0.20227770507335663, -0.01880170963704586, 0.04143859073519707, 0.14101891219615936, 0.26780030131340027, 0.2775633633136749, 0.20789338648319244, -0.6003618836402893, 0.01593775302171707, 0.6132513880729675, -0.3639557957649231, -0.45797887444496155, 0.6864054799079895, -0.1652827262878418, -0.15482278168201447, 0.3629421293735504, -0.14360575377941132, -0.6973248720169067, 0.5446722507476807, 0.4553025960922241, 0.8740392327308655, -0.3737575113773346, 0.08817733079195023, 0.12033477425575256, 0.2996378242969513, -0.14648345112800598, 0.17016255855560303, 0.10971103608608246, -0.8967592716217041, -0.6869441866874695, -0.7563236355781555, -0.20287498831748962, 0.07631605118513107, -0.8744939565658569, 0.048712000250816345, 0.03860506787896156, -0.18154583871364594, 0.25401148200035095, -0.07619591057300568, -0.5696977972984314, 0.13247603178024292, 0.21284599602222443, 0.9303419589996338, -1.0147701501846313, 0.9394404292106628, 0.8351352214813232, -0.32576435804367065, -0.9296540021896362, 0.25537270307540894, 0.01669267565011978, -0.5706486701965332, 0.47104883193969727, 0.16126500070095062, -0.27298614382743835, -0.22388948500156403, -0.4098413586616516, -0.9236565828323364, 0.8227795958518982, 0.8062885999679565, -0.26857319474220276, 0.1400616616010666, 0.4650881588459015, 0.6562674045562744, -0.22561466693878174, 0.08346600085496902, 0.3629869222640991, 0.625078558921814, -0.09293998777866364, -1.2996454238891602, -0.2212788611650467, -0.07338124513626099, -0.05798724293708801, 0.24030350148677826, -0.43737977743148804, 0.8248746991157532, 0.061760272830724716, -0.2576369047164917, 0.11981268972158432, 0.7352547645568848, 0.45375147461891174, 0.48474815487861633, 0.49501457810401917, 0.219246968626976, 0.5012892484664917, -0.27926933765411377, 1.1986658573150635, -0.30306804180145264, 0.5580616593360901, 0.9265128374099731, 0.002739977091550827, 0.5277532339096069, 0.8437530398368835, -0.320742130279541, 0.3886551558971405, 0.6267635822296143, 0.05933482572436333, 0.36761659383773804, -0.3280116319656372, -0.14698180556297302, -0.32209253311157227, -0.2005787044763565, -0.2162216752767563, 0.41134175658226013, 0.10318993777036667, -0.6352149844169617, -0.09429257363080978, 0.10327321290969849, 0.20760582387447357, 0.16364561021327972, -0.2903980612754822, 0.5966372489929199, 0.006028813775628805, -0.8537341356277466, 0.8302393555641174, 0.315506249666214, 0.652010977268219, -0.7584232091903687, 0.07281731069087982, -0.37192341685295105, 0.23783093690872192, -0.305063933134079, -0.6907604336738586, 0.5431675910949707, -0.021644175052642822, -0.4952046871185303, -0.4057213366031647, 0.6786348223686218, -0.3664230406284332, -0.3682010769844055, 0.33230942487716675, 0.49138343334198, 0.15862849354743958, -0.18137282133102417, -0.9058221578598022, 0.12707102298736572, 0.22592784464359283, -0.44944530725479126, 0.1627696007490158, 0.5213162302970886, -0.2909947335720062, 0.8226022720336914, 0.5240657925605774, 0.012666015885770321, 0.18902869522571564, 0.14058975875377655, 0.5731489062309265, -0.3497669994831085, -0.29143619537353516, -1.1473209857940674, 0.497499018907547, 0.12496700882911682, -0.39058351516723633, 1.1096489429473877, 0.6837878823280334, 0.7917402982711792, -0.37963590025901794, 0.4678175151348114, 0.11552919447422028, 0.34049949049949646, -0.6286388635635376, 0.6703893542289734, -0.8665716052055359, 0.10947718471288681, -0.37270423769950867, -1.1361232995986938, -0.17850029468536377, 0.6505596041679382, 0.11960034817457199, 0.019199354574084282, 0.8626493215560913, 0.6329154372215271, -0.463508278131485, 0.12361665070056915, 0.3043808937072754, -0.11656838655471802, 0.1316908746957779, 0.09664203971624374, 0.5817534923553467, -0.4698067605495453, 0.2600488066673279, -0.2267744243144989, -0.06402186304330826, -0.005553006194531918, -1.0330650806427002, -0.7232640981674194, -0.5871557593345642, -0.4306199848651886, -0.19775830209255219, 0.00029481598176062107, 0.8079294562339783, 0.565543532371521, -0.9329894185066223, -0.01290629431605339, -0.18354259431362152, 0.13662008941173553, -0.5112983584403992, -0.23864175379276276, 0.055152807384729385, -0.3261892795562744, -0.7829291224479675, 0.2829013764858246, 0.022375401109457016, 0.1621113419532776, -0.4650139808654785, -0.27067750692367554, -0.11547288298606873, 0.2544381320476532, 0.3409523069858551, -0.010366808623075485, -1.0449739694595337, -0.35956883430480957, -0.0029434815514832735, -0.17221517860889435, 0.08004816621541977, 0.9468410611152649, -0.3601151704788208, 0.19951961934566498, 0.3867468237876892, 0.37980619072914124, 0.15420232713222504, 0.034644342958927155, 0.6734238266944885, -0.8359153270721436, 0.15002214908599854, -0.1451750099658966, 0.4765969216823578, 0.2458646297454834, -0.45260706543922424, 0.43295326828956604, 0.2490064799785614, -0.4591372013092041, -0.6983029842376709, 0.35208043456077576, -0.7805721163749695, -0.23298680782318115, 1.1695886850357056, -0.5110774040222168, -0.018276356160640717, -0.3580971360206604, 0.18805746734142303, 0.3800593614578247, -0.24121211469173431, 0.6510348916053772, 1.2561289072036743, 0.19868172705173492, -0.05833498761057854, -0.5380969047546387, 0.7343388199806213, 0.614334762096405, -0.3498917818069458, 0.43173548579216003, 0.3177672326564789, 0.3079168200492859, 0.42014992237091064, 0.24710358679294586, -0.22943802177906036, 0.37648287415504456, -0.2457573562860489, 0.012053415179252625, -0.22240668535232544, -0.396487832069397, -0.5045984983444214, 0.12475337833166122, 0.4757688045501709, 0.14784561097621918 ]
http://arxiv.org/abs/2403.12805v1
http://arxiv.org/pdf/2403.12805v1
Contextual Moral Value Alignment Through Context-Based Aggregation
2024-03-19T15:06:53
2024-03-19T15:06:53
Pierre Dognin, Jesus Rios, Ronny Luss, Inkit Padhi, Matthew D Riemer, Miao Liu, Prasanna Sattigeri, Manish Nagireddy, Kush R. Varshney, Djallel Bouneffouf
cs.AI
cs.AI, cs.CL
Developing value-aligned AI agents is a complex undertaking and an ongoing challenge in the field of AI. Specifically within the domain of Large Language Models (LLMs), the capability to consolidate multiple independently trained dialogue agents, each aligned with a distinct moral value, into a unified system that can adapt to and be aligned with multiple moral values is of paramount importance. In this paper, we propose a system that does contextual moral value alignment based on contextual aggregation. Here, aggregation is defined as the process of integrating a subset of LLM responses that are best suited to respond to a user input, taking into account features extracted from the user's input. The proposed system shows better results in term of alignment to human value compared to the state of the art.
[ -0.31786876916885376, -0.650924563407898, 0.6180656552314758, 0.022393153980374336, -0.35727134346961975, 0.0783149003982544, 0.07326927781105042, -0.5585624575614929, 0.24501994252204895, 0.5710316300392151, -0.3096542954444885, -0.16690535843372345, -0.7059475183486938, -0.07604822516441345, -0.1572793424129486, 0.9793129563331604, 0.4206973910331726, 0.10006065666675568, -0.5367891192436218, -0.7803141474723816, -0.7265421748161316, -0.5113319158554077, -0.8235384821891785, -0.39555230736732483, 0.3457069396972656, 0.2744584381580353, 0.7318502068519592, 0.5820457935333252, 0.5126067399978638, 0.5132163166999817, -0.09659110009670258, 0.2577465772628784, -0.5311988592147827, 0.05015551671385765, -0.6030496954917908, -0.021662505343556404, -1.219597339630127, 0.16262191534042358, 0.4712238609790802, 0.32967862486839294, -0.2029823511838913, 0.24011242389678955, 0.15520480275154114, 0.5486051440238953, -0.6189943552017212, 0.0760316401720047, -0.4773959219455719, -0.1824851930141449, 0.3541601300239563, -0.23089599609375, -0.23709706962108612, -0.6261626482009888, 0.07731584459543228, -0.5481643676757812, -0.4684869945049286, -0.18606121838092804, 0.7319337725639343, 0.45889291167259216, -0.7588747143745422, -0.31840911507606506, -0.2467934787273407, 1.1455459594726562, -0.6347846984863281, -0.08014827966690063, 0.19029395282268524, 0.05521615222096443, 0.11228150129318237, -0.38773226737976074, -0.7539709806442261, 0.18551157414913177, -0.25387609004974365, 0.21271272003650665, 0.10038182884454727, -0.06019408628344536, -0.44161802530288696, 0.23071950674057007, 0.01058761402964592, 0.1922324150800705, -0.12209349125623703, -0.027184361591935158, 0.9763240218162537, 0.4929344356060028, 0.2927870750427246, 0.03906591609120369, -0.6257081627845764, -0.07844322919845581, -0.28133898973464966, 0.4282150864601135, 0.010482924990355968, 0.4678560793399811, -0.3096068501472473, 0.6807675957679749, 0.12736186385154724, 0.7958112955093384, 0.3818270266056061, -0.4426010251045227, 0.2628377676010132, -0.5580853819847107, -0.30970966815948486, 0.43870091438293457, 0.8723188042640686, 0.8677749037742615, 0.5491262674331665, 0.3997311592102051, -0.34496450424194336, -0.05796103551983833, 0.551287829875946, -0.7403564453125, 0.6625744700431824, 0.3340400159358978, -0.4622992277145386, -0.7409152388572693, -0.24481411278247833, -0.4759642481803894, -0.46595796942710876, -0.5333670377731323, 0.1785792112350464, -0.402033269405365, -0.007861216552555561, -0.12394808232784271, -0.03578019514679909, 0.4947652518749237, 0.640160858631134, -0.9470904469490051, -0.14214693009853363, 0.6934304237365723, 0.7751387357711792, -0.20785053074359894, -0.22874659299850464, -0.8504514098167419, 0.48444902896881104, -0.17866730690002441, 0.7379062175750732, -0.878963053226471, -0.40145134925842285, -0.018932530656456947, -0.09216612577438354, 0.09076733142137527, -0.18288742005825043, 0.5013721585273743, -0.8069813251495361, 0.11594127118587494, -0.10801227390766144, -0.642787754535675, 0.03787560760974884, 0.5758925676345825, -0.3857556879520416, 0.7115449905395508, 0.30532190203666687, -0.40839844942092896, 0.36151251196861267, -0.710274875164032, -0.26684245467185974, 0.3626905381679535, -0.31089264154434204, -0.2392323762178421, 0.03565342724323273, 0.27845779061317444, 0.46153563261032104, -0.408439040184021, 0.7552833557128906, -0.2869984209537506, -0.47116023302078247, 0.5285218358039856, -0.5595751404762268, 0.8773078918457031, 0.2052662968635559, -0.023009557276964188, 0.41353079676628113, -0.2874873876571655, 0.17143641412258148, -0.11412147432565689, -0.3810354471206665, -0.5362684726715088, 0.07635701447725296, -0.20809592306613922, 0.17667251825332642, 0.6869364380836487, -0.22488003969192505, 0.4150695204734802, -0.22560854256153107, 0.14454768598079681, 1.2825958728790283, -0.1536695808172226, 0.7185429334640503, -0.40299567580223083, 0.3439525365829468, 0.061475325375795364, 0.07704195380210876, 0.15978439152240753, -0.3500913679599762, -0.37028342485427856, -0.5498132109642029, -0.15728352963924408, 0.7722066044807434, -0.32240527868270874, 1.0565106868743896, -0.335454523563385, -0.13733968138694763, -0.38893067836761475, 0.010028437711298466, 0.2890671193599701, 0.8021193742752075, 0.3434852659702301, -0.24239547550678253, 0.03565115109086037, -0.8823979496955872, -0.22357136011123657, -0.527264416217804, -0.1777583509683609, 0.6731462478637695, 0.1653827726840973, -0.376949280500412, 1.174972414970398, -0.4736124575138092, -0.46472594141960144, 0.15145298838615417, 0.013189535588026047, 0.2285882830619812, 0.44902247190475464, 0.3886895477771759, -0.8980401158332825, -0.32404693961143494, 0.3908407390117645, -1.1261723041534424, -0.2854744791984558, 0.032500579953193665, -0.15952494740486145, 0.05026186257600784, 0.35763078927993774, -0.21052522957324982, 0.3300773501396179, 0.5561243891716003, -0.5539013147354126, 0.20259623229503632, -0.08341854810714722, 0.4875202476978302, -1.4363627433776855, 0.003676189109683037, -0.1525869220495224, -0.3628612756729126, -0.5676497220993042, -0.24111589789390564, -0.14282438158988953, 0.20091451704502106, -0.7119175791740417, 0.8482290506362915, -0.08742751181125641, -0.22320790588855743, -0.3484679162502289, 0.5225176811218262, -0.03709699213504791, 0.48963332176208496, -0.061650559306144714, 1.1514630317687988, 0.36198100447654724, -0.7549185752868652, 0.7458498477935791, 0.6203742027282715, 0.08922624588012695, 1.521150827407837, -0.5633599162101746, -0.042122453451156616, -0.18019214272499084, 0.27186527848243713, -0.5780603289604187, -0.2016136348247528, 0.1294042021036148, -0.3942766487598419, -0.19877402484416962, -0.18133439123630524, 0.1360444575548172, 0.3969150483608246, -0.21993619203567505, 0.9835318922996521, 0.3417569100856781, -0.512216329574585, 0.9133384227752686, 0.7285019755363464, -0.5214614868164062, -0.8862382173538208, -0.28679606318473816, 0.0679297223687172, -0.5650469660758972, -0.8361116647720337, 0.2565806806087494, -0.012734861113131046, -0.3695635497570038, 0.19772841036319733, 0.23020493984222412, 0.05784963071346283, -0.07040319591760635, 0.022371342405676842, 0.3442772626876831, -0.30534887313842773, 0.37796226143836975, 0.22574158012866974, -0.075553297996521, -0.13921396434307098, -0.35835587978363037, 0.41982537508010864, -0.8084441423416138, -0.37522998452186584, -0.3177874982357025, 0.5322698950767517, 0.7455167174339294, -0.3900110423564911, 0.7908823490142822, 0.32315391302108765, -0.09479160606861115, 0.1931602507829666, -0.4511330723762512, 0.2040611207485199, -0.5564254522323608, 0.07449890673160553, 0.03253430500626564, -1.212237000465393, 0.5484626293182373, 0.002862493274733424, 0.03968954458832741, 0.4516987204551697, 0.6941441297531128, -0.358750581741333, 1.089802622795105, 0.5853596329689026, -0.11170724779367447, 0.649256706237793, 0.021682383492588997, 0.15790735185146332, -1.0248562097549438, -0.2596166729927063, -0.27753886580467224, -0.41286635398864746, -0.6225674152374268, -0.44379836320877075, 0.5047463774681091, 0.10472306609153748, -0.6912423968315125, -0.13526518642902374, -0.574521005153656, 0.5922669768333435, 0.38095220923423767, -0.02059549279510975, 0.3451330363750458, -0.0017332853749394417, 0.25271961092948914, 0.5274442434310913, -0.4670770764350891, -0.9695231318473816, 0.7406252026557922, -0.09833300858736038, 0.7386364340782166, 0.4875575304031372, 0.561674177646637, 0.6700848937034607, 0.5754597783088684, -1.1008328199386597, 0.6227788925170898, -0.10397278517484665, -0.33924657106399536, -0.7627369165420532, -0.3584679365158081, -1.0391645431518555, 0.4371352195739746, -0.06305979192256927, -1.031050205230713, 0.3658878803253174, 0.11975065618753433, -0.43970152735710144, -0.07344899326562881, -0.5276570320129395, 0.7429211139678955, -0.5918441414833069, -0.5751813054084778, -0.3133232891559601, -0.7501004934310913, 0.22503426671028137, -0.12915091216564178, 0.07474008947610855, -0.3370038568973541, -0.19150076806545258, 0.47898489236831665, -0.5743943452835083, 0.9967424869537354, 0.0452440045773983, -0.4289146065711975, 0.447398841381073, -0.2969396710395813, 0.48348739743232727, 0.2789077162742615, -0.10280925780534744, 0.28460967540740967, 0.032920535653829575, -0.594549834728241, -0.4709971249103546, 0.5866777300834656, -0.7472764849662781, -0.7291437387466431, -0.628960132598877, -0.7225111126899719, -0.17601242661476135, 0.3190513849258423, -0.24762369692325592, 0.34888705611228943, -0.5000167489051819, 0.027948971837759018, 0.44982442259788513, -0.25998520851135254, 0.6440601944923401, 0.42615392804145813, 0.0686858519911766, -0.7116739153862, 0.7207006812095642, -0.4874328076839447, 0.37587836384773254, 0.2258009910583496, 0.330110639333725, -0.4165157079696655, 0.034905772656202316, -0.6217840313911438, 0.11237043887376785, -0.6622355580329895, -0.44270333647727966, -0.3222280740737915, -0.13852231204509735, -0.4130256772041321, -0.9270257949829102, -0.21429450809955597, -0.04910140857100487, -0.3576699197292328, 0.010641288943588734, 0.4624551832675934, 0.5505127310752869, 0.16713310778141022, 0.44094327092170715, -1.2833212614059448, 0.347010999917984, 0.6121105551719666, 0.5407198071479797, -0.20104217529296875, -0.36887386441230774, -0.24370458722114563, 0.3986705541610718, -0.21496501564979553, -0.7126390933990479, 0.3877543807029724, 0.04572790861129761, 0.5061147212982178, 0.7010482549667358, -0.020880747586488724, 0.8697824478149414, -0.28243696689605713, 0.7746289968490601, 0.34025904536247253, -1.217348575592041, 0.43495193123817444, -0.3965979814529419, 0.20313724875450134, 0.7112310528755188, -0.11355221271514893, -0.6258137226104736, -0.3463190197944641, -0.4068032503128052, -0.6580628156661987, 0.9173029065132141, 0.2541079521179199, 0.3890407085418701, 0.11075598746538162, 0.21996256709098816, -0.20021799206733704, 0.25073230266571045, -0.4666913151741028, 0.08692435920238495, -0.19838207960128784, -0.5530140995979309, -0.1384074091911316, -0.040882714092731476, -0.6177527904510498, -0.09839466214179993, 0.5515932440757751, -0.6256709098815918, 0.19821853935718536, 0.04007560387253761, -0.26851069927215576, -0.0963706523180008, 0.40546292066574097, 0.687669575214386, 0.6948912739753723, -0.14371225237846375, -0.0318140909075737, 0.27660584449768066, -0.305264413356781, 0.6792795658111572, -0.2654295563697815, 0.04422709718346596, -0.7934823036193848, 0.4251125454902649, 0.49731191992759705, -0.26948171854019165, -0.803855299949646, 0.8634406924247742, -0.16155600547790527, 0.13195189833641052, -0.36128875613212585, 0.21346601843833923, 0.11846937984228134, 0.6546529531478882, 0.1513652205467224, 0.014722381718456745, -0.015377456322312355, -0.6683003306388855, 0.24017691612243652, 0.686357319355011, -0.5007537603378296, 0.08304271847009659, 0.413383811712265, 0.5662574172019958, -0.5929331183433533, 0.848970890045166, -0.054155394434928894, -0.5391287207603455, 0.8169329166412354, 0.414615660905838, 0.909568190574646, -0.3904539942741394, 0.17111805081367493, 0.08617348223924637, 0.06887950748205185, 0.14425650238990784, 0.09029972553253174, -0.1274147480726242, -1.3235446214675903, -0.5120628476142883, -0.7451028227806091, -0.34148040413856506, -0.379715234041214, -0.714911937713623, 0.1981583535671234, -0.04780057817697525, -0.14859707653522491, -0.43421003222465515, -0.3260827660560608, -0.407039612531662, 0.458984375, 0.002387093147262931, 0.17930611968040466, -0.8641526699066162, 0.7415627241134644, 0.6951836347579956, -0.36506977677345276, -0.6224724054336548, -0.1320120245218277, -0.05973424017429352, -1.0261685848236084, 0.57328200340271, 0.13563919067382812, -0.6579429507255554, -0.1630876064300537, -0.5342819094657898, -0.981927216053009, 1.3403611183166504, 0.3302167057991028, -0.052907850593328476, 0.2116747945547104, 0.22906598448753357, 0.6663199663162231, -0.9719032049179077, 0.18238018453121185, 0.6169614195823669, 0.5470561981201172, 0.32228007912635803, -0.6989632844924927, 0.11201764643192291, -0.38699182868003845, -0.04592810943722725, 0.2759448289871216, -0.9678720831871033, 0.47039827704429626, -0.05261039733886719, -0.051484234631061554, -0.3132426142692566, 0.6203029155731201, 0.39730533957481384, 0.6040149331092834, 0.5916091203689575, 0.3293296694755554, 0.8676726222038269, 0.17542561888694763, 0.784171462059021, -0.372954398393631, 0.3715185225009918, 0.9986205101013184, -0.40513181686401367, 0.41186726093292236, 0.3986338675022125, 0.1979072391986847, 0.27372029423713684, 0.38166072964668274, 0.0943991169333458, 0.2592467665672302, -0.3354858160018921, -0.4717784523963928, -0.4039042592048645, -0.49958348274230957, -0.19618737697601318, 0.7874006628990173, 0.4966631829738617, -0.33239349722862244, 0.2017885148525238, -0.4899415373802185, -0.3012140393257141, -0.04440520331263542, -0.4759654998779297, 1.2636725902557373, 0.07781565934419632, -0.875249981880188, 0.5604208111763, -0.13334648311138153, 0.3987935483455658, -0.3992626368999481, -0.13619785010814667, -0.31418129801750183, 0.10573087632656097, -0.19538938999176025, -0.9258848428726196, 0.2986825108528137, 0.20352621376514435, -0.014865896664559841, -0.6123239398002625, 0.4273295998573303, -0.43191394209861755, -0.5409272909164429, 0.3457520604133606, 0.36224400997161865, -0.006711501628160477, 0.32735541462898254, -0.5378969311714172, -0.252901166677475, -0.1707666516304016, -0.048630569130182266, 0.2538354694843292, 0.45942872762680054, -0.3423570990562439, 0.660039484500885, 0.5243552923202515, -0.26066264510154724, -0.3751729428768158, -0.04696260765194893, 0.8938799500465393, -0.9249088168144226, -0.6234047412872314, -1.0359090566635132, 0.798138439655304, -0.43466630578041077, -0.395229309797287, 0.34289535880088806, 0.30053186416625977, 0.48387524485588074, 0.42760133743286133, 0.7000312209129333, 0.016776569187641144, -0.20138806104660034, -0.5415013432502747, 0.6830239295959473, -0.7393921613693237, 0.372342973947525, -0.38695669174194336, -0.9126949310302734, -0.02133588120341301, 0.6405815482139587, 0.018038513138890266, 0.1628410518169403, 0.5234396457672119, 0.5910614132881165, -0.0628889799118042, -0.11944670230150223, 0.4706191420555115, -0.07312458008527756, 0.48723381757736206, 0.5012179017066956, 0.9882757067680359, -0.017476720735430717, 0.2932441532611847, 0.3709627389907837, -0.3656395673751831, -0.3582839369773865, -1.0944960117340088, -0.6367788910865784, -0.38102173805236816, 0.025582652539014816, -0.11830581724643707, -0.1296899914741516, 0.8667216897010803, 0.4291292726993561, -0.7209851145744324, -0.37785419821739197, 0.15046142041683197, 0.33229634165763855, -0.42287513613700867, -0.19943667948246002, 0.43486157059669495, -0.26378512382507324, -0.8370875716209412, 0.4068564176559448, 0.6383358240127563, -0.090225450694561, 0.07350338250398636, -0.3162097930908203, -0.23799145221710205, 0.7036342024803162, 0.8768470287322998, -0.18284209072589874, -0.6768485903739929, -0.5745330452919006, -0.3363009989261627, -0.38054248690605164, 0.3217675983905792, 0.747573733329773, -0.5631999373435974, 0.37291252613067627, 0.3344857096672058, 0.7122611403465271, 0.1519380807876587, 0.8001009821891785, 0.73504638671875, -0.613105297088623, 0.09018869698047638, 0.5017185211181641, 0.302239328622818, 0.16878642141819, -0.7690959572792053, 0.4827321767807007, -0.046778250485658646, -0.7847393751144409, -0.4535996913909912, 0.5810118913650513, -1.2106672525405884, -0.14138512313365936, 0.9373735189437866, -0.051798947155475616, -0.06571678072214127, -0.0022227666340768337, -0.21411624550819397, 0.3344518840312958, -0.7199105024337769, 0.6862195730209351, 0.5405001640319824, -0.39597898721694946, 0.18449147045612335, 0.08606751263141632, 0.017879081889986992, 0.4164218008518219, -1.0707796812057495, 0.04157126694917679, 0.9486992955207825, -0.06202448531985283, 0.22071847319602966, 0.7753288745880127, -0.011094262823462486, 0.11111651360988617, -0.3523719310760498, 0.10509507358074188, 0.07949793338775635, 0.015302234329283237, -0.5899686813354492, 0.27715402841567993, -0.19468265771865845, -0.007214531768113375 ]
http://arxiv.org/abs/2403.12799v1
http://arxiv.org/pdf/2403.12799v1
Investigating Text Shortening Strategy in BERT: Truncation vs Summarization
2024-03-19T15:01:14
2024-03-19T15:01:14
Mirza Alim Mutasodirin, Radityo Eko Prasojo
cs.CL
cs.CL, cs.AI
The parallelism of Transformer-based models comes at the cost of their input max-length. Some studies proposed methods to overcome this limitation, but none of them reported the effectiveness of summarization as an alternative. In this study, we investigate the performance of document truncation and summarization in text classification tasks. Each of the two was investigated with several variations. This study also investigated how close their performances are to the performance of full-text. We used a dataset of summarization tasks based on Indonesian news articles (IndoSum) to do classification tests. This study shows how the summaries outperform the majority of truncation method variations and lose to only one. The best strategy obtained in this study is taking the head of the document. The second is extractive summarization. This study explains what happened to the result, leading to further research in order to exploit the potential of document summarization as a shortening alternative. The code and data used in this work are publicly available in https://github.com/mirzaalimm/TruncationVsSummarization.
[ -0.4763885736465454, -0.6147922873497009, 0.35931169986724854, 0.2553435266017914, -0.6398707628250122, 0.1696736365556717, -0.4922979772090912, -0.7005104422569275, 0.24026250839233398, 0.38245972990989685, -0.42120516300201416, -0.29330936074256897, -0.832414448261261, 0.406328022480011, -0.5665079355239868, 1.40491783618927, -0.06129181757569313, -0.2384653389453888, -0.35404619574546814, -0.12275857478380203, -0.33165985345840454, -0.5219280123710632, -0.3369338810443878, -0.26344525814056396, 0.7021310925483704, 0.530230700969696, 0.6571156978607178, 0.7716375589370728, 0.8857038021087646, 0.2343115508556366, -0.45068374276161194, -0.09883049875497818, -0.43083590269088745, 0.2515873312950134, 0.2281590849161148, -0.5559108257293701, 0.03158346563577652, -0.09050870686769485, 0.716282069683075, 0.5731913447380066, 0.27912580966949463, 0.2788470387458801, 0.2389642894268036, 0.8576781749725342, -0.6091598272323608, 0.0722195953130722, -0.1147499606013298, 0.012009895406663418, -0.4464678168296814, -0.020713375881314278, -0.3927852511405945, -0.37697741389274597, 0.37243255972862244, -0.1388487070798874, 0.5584378242492676, 0.01563846319913864, 1.2987046241760254, 0.1326998472213745, -0.3146021366119385, -0.33111894130706787, -1.050184726715088, 0.9215883612632751, -0.6445218324661255, 0.05194804072380066, -0.005387276876717806, 0.2563845217227936, 0.5225480198860168, -0.7490736246109009, -0.3511431813240051, 0.11362849175930023, -0.3998928368091583, 0.17904362082481384, 0.07741181552410126, 0.2695140838623047, 0.41663655638694763, 0.4351610243320465, -0.7848067879676819, 0.17887651920318604, -0.8492744565010071, -0.042643822729587555, 0.5307344198226929, -0.20993611216545105, -0.04311390966176987, -0.4824386239051819, -0.12340942025184631, -0.6095953583717346, -0.40683650970458984, 0.03508930653333664, 0.49626606702804565, 0.1362132877111435, 0.1596430093050003, 0.6347740888595581, 0.02487301267683506, 0.3115023672580719, -0.30171602964401245, -0.2242898941040039, 0.14331278204917908, -0.10984739661216736, -0.27672654390335083, 0.2936736047267914, 0.5053724646568298, 0.5103715658187866, 0.14961515367031097, 0.014445683918893337, -0.10519446432590485, -0.14498871564865112, 0.2810443937778473, -0.8732160329818726, 0.07279554754495621, 0.11591930687427521, -0.9762606620788574, -0.48653581738471985, 0.05218888446688652, -0.7867772579193115, 0.03158470615744591, -0.04959318786859512, 0.5439412593841553, -0.5110390782356262, 0.13810774683952332, -0.16100823879241943, -0.6636949777603149, 0.3081355690956116, 0.23333656787872314, -0.8904758095741272, 0.42056336998939514, 0.6329700946807861, 1.1402430534362793, -0.3200128376483917, -0.09254490584135056, 0.029483582824468613, 0.25200921297073364, -0.10069242864847183, 0.7813872694969177, -0.1941099911928177, -0.7970083355903625, -0.09708645939826965, -0.29158875346183777, -0.1954183578491211, -0.3379348814487457, 1.0576221942901611, -0.3195379972457886, 0.6114444136619568, -0.2535693347454071, -0.6574189066886902, -0.566796600818634, 0.06617067754268646, -0.8643126487731934, 0.95878005027771, -0.16778241097927094, -1.0772066116333008, 0.2891829013824463, -0.7849296927452087, -0.8579530119895935, -0.11892368644475937, 0.2002037763595581, -0.857780396938324, 0.22730882465839386, 0.36725422739982605, 0.548919677734375, -0.11909975856542587, -0.19611184298992157, 0.18425041437149048, -0.6850383281707764, -0.3074842691421509, -0.2860020697116852, 0.5840920805931091, 0.2118607610464096, -0.21801644563674927, 0.2895623445510864, -0.5754027962684631, -0.1494608372449875, 0.2667257785797119, -0.21976646780967712, -0.7546976804733276, 0.1845274567604065, 0.20329834520816803, -0.045066818594932556, 0.09838217496871948, -0.5300094485282898, 0.23348480463027954, -0.6172370314598083, 0.1906243860721588, 0.5292027592658997, 0.20404641330242157, 0.35787779092788696, -0.7850017547607422, 0.19166336953639984, -0.35000479221343994, 0.3030320703983307, -0.22370430827140808, -0.39641958475112915, -0.8983257412910461, -0.33152735233306885, 0.7989439368247986, 0.4533335566520691, -0.5614361763000488, 0.3576405346393585, -0.5451435446739197, -0.744113564491272, -0.39950117468833923, -0.209467351436615, 0.3095802962779999, 0.4261772036552429, 0.2581501007080078, -0.2576046884059906, -0.6548483967781067, -0.9693509340286255, -0.2904004156589508, -0.2879869043827057, -0.14551910758018494, -0.01640026830136776, 0.6122741103172302, 0.07765715569257736, 1.0660436153411865, -0.6799266934394836, -0.3978109061717987, -0.7181889414787292, 0.4991048276424408, 0.39092960953712463, 0.4452410042285919, 0.8544753789901733, -0.9870104193687439, -0.48832967877388, -0.4683316946029663, -0.5295440554618835, 0.1657535433769226, -0.21724097430706024, 0.15946754813194275, 0.38990965485572815, 0.08956753462553024, -0.7303295731544495, 0.8408637642860413, 0.18789513409137726, 0.3184794783592224, 0.7949485778808594, -0.4706123471260071, 0.10245874524116516, -0.8539913296699524, 0.09491127729415894, -0.2466309368610382, -0.3569933772087097, -0.7499926090240479, -0.09751657396554947, 0.24809066951274872, -0.12370458990335464, -0.34905368089675903, 0.08453530818223953, -0.3746710419654846, -0.15961512923240662, -0.31802621483802795, -0.14568333327770233, 0.09016493707895279, 0.505545973777771, 0.11221574991941452, 0.9020729660987854, 0.07496605068445206, -0.7657200694084167, 0.04267727956175804, 0.4262771010398865, -0.31607910990715027, -0.277183473110199, -0.8501351475715637, -0.15490005910396576, -0.48063936829566956, 0.2641497254371643, -0.9384979605674744, -0.02400059625506401, -0.11991642415523529, -0.46524757146835327, 0.2762773633003235, 0.16771095991134644, -0.868529736995697, -0.6747229099273682, -0.8820220232009888, 0.19500477612018585, 0.8059327006340027, -0.47710511088371277, 0.4270216226577759, -0.008292253129184246, -0.47501683235168457, -0.5651926398277283, -0.7789811491966248, -0.06938448548316956, -0.4233682453632355, -0.5441415905952454, 0.6436645984649658, -0.1506272554397583, 0.008163019083440304, -0.017965255305171013, -0.17936870455741882, -0.011113985441625118, -0.013002428226172924, 0.1269114762544632, 0.31211116909980774, 0.10863957554101944, 0.302397757768631, 0.5223295092582703, 0.1707787662744522, 0.063517726957798, 0.0027023067232221365, 0.3754226863384247, 0.06515639275312424, -0.0260374266654253, -0.3389629125595093, 0.43579956889152527, 0.5370433926582336, -0.17024950683116913, 0.9847137928009033, 0.5429750084877014, -0.17476864159107208, -0.02922346070408821, -0.548785924911499, -0.2245742380619049, -0.3889569640159607, 0.0929853767156601, -0.1785666048526764, -0.7175643444061279, 0.5596621632575989, -0.08911798894405365, 0.3225885033607483, 0.7107592225074768, 0.23821470141410828, -0.312101811170578, 0.6170095205307007, 0.8735472559928894, -0.1405906081199646, 0.36985501646995544, -0.44947969913482666, 0.3653332591056824, -0.5623574256896973, 0.01614353433251381, -0.7731014490127563, -0.44652503728866577, -0.6330233216285706, -0.04237046465277672, 0.46394166350364685, -0.10920236259698868, 0.4966011643409729, 0.5852959752082825, -0.5929512977600098, 0.606006383895874, 0.7829328179359436, 0.10705583542585373, 0.2923678457736969, 0.0015758174704387784, -0.03325485438108444, -0.21076636016368866, -0.5760131478309631, -0.3882758915424347, 1.1380342245101929, 0.23534579575061798, 0.4283463954925537, 0.06602287292480469, 0.8362784385681152, 0.503279447555542, 0.10416118055582047, -0.7363240718841553, 0.43818509578704834, -0.19465501606464386, -0.412570983171463, -0.47409307956695557, -0.47745460271835327, -0.8236722350120544, 0.4289007782936096, -0.1784731149673462, -0.42436733841896057, 0.08547233790159225, -0.18415305018424988, -0.2243669629096985, 0.4320574402809143, -0.6678128838539124, 0.5278317928314209, -0.08586716651916504, 0.0542110949754715, -0.381278932094574, -0.9943745136260986, 0.1870347112417221, -0.013142638839781284, 0.12597253918647766, 0.06546760350465775, 0.059418972581624985, 1.2793580293655396, -0.43652603030204773, 0.5552889704704285, 0.015278035774827003, 0.036068689078092575, 0.09836282581090927, -0.32866859436035156, 0.4774342179298401, -0.27156662940979004, 0.15046967566013336, 0.10521253943443298, -0.03840876743197441, -0.4216077923774719, -0.47773653268814087, 0.3323143720626831, -0.7366715669631958, -0.5945887565612793, -0.5908253788948059, -0.5357772707939148, -0.05001518130302429, 0.45089855790138245, 0.5021945238113403, 0.3781156837940216, -0.06369416415691376, 0.32059165835380554, 0.7941674590110779, -0.10324566811323166, 1.0481367111206055, 0.14946335554122925, 0.07317512482404709, -0.1835128664970398, 0.7290383577346802, 0.22389771044254303, 0.007046983111649752, 0.787208616733551, 0.21404336392879486, -0.38512665033340454, -0.5217635631561279, -0.11273791640996933, 0.4332577586174011, -0.4538007080554962, -0.08783354610204697, -0.5590016841888428, -0.5209811925888062, -0.7012667059898376, -0.16064804792404175, -0.1393757462501526, -1.0302809476852417, -0.20417790114879608, -0.16873839497566223, 0.08069147169589996, 0.62924724817276, 0.14034752547740936, 0.4375225901603699, -1.0395352840423584, 0.02344791404902935, 0.15770629048347473, 0.019063536077737808, 0.11065865308046341, -0.25962120294570923, -0.33941155672073364, -0.4316759407520294, -0.461645245552063, -0.9223382472991943, 0.4763581454753876, 0.12764623761177063, 0.22029635310173035, 0.5058268308639526, 0.4332475960254669, 0.62087082862854, -0.4566255211830139, 0.6879569292068481, 0.12131540477275848, -0.8728564381599426, 0.5766023993492126, -0.16124895215034485, 0.39642220735549927, 0.43948954343795776, 0.39157968759536743, -0.5055751204490662, -0.59386146068573, -0.6738044023513794, -0.9957274794578552, 0.6809565424919128, 0.8203892111778259, -0.11521030962467194, 0.3747275173664093, 0.23869015276432037, 0.3352776765823364, 0.3606541156768799, -0.3941613733768463, -0.3613292872905731, 0.06749556958675385, -0.30460914969444275, -0.05121276527643204, -0.6754091382026672, 0.15200991928577423, -0.15271517634391785, 0.6843211054801941, 0.36335238814353943, 0.40518248081207275, 0.34482723474502563, -0.43212711811065674, 0.1846722513437271, 0.404943585395813, 0.9304802417755127, 0.851841390132904, -0.4924691319465637, -0.16331768035888672, 0.027299823239445686, -0.6384670734405518, -0.16836021840572357, 0.20085802674293518, -0.4124099612236023, 0.717841386795044, 0.6477832198143005, 0.6959520578384399, 0.05974733456969261, -0.7152132987976074, 0.6611919403076172, -0.29495128989219666, -0.4412887394428253, -0.24291017651557922, -0.1668803095817566, -0.39524516463279724, -0.15539462864398956, 0.6169275045394897, 0.1055406704545021, 0.43727317452430725, -0.06204953417181969, 0.021718265488743782, -0.03703095391392708, -0.014483590610325336, -0.04404682293534279, 0.5265750288963318, 0.24420258402824402, 0.07201085239648819, 0.46466296911239624, 0.2387208789587021, -0.6032034754753113, 0.7479013204574585, 0.198298841714859, 0.7932282090187073, -0.0741463154554367, 0.2275446206331253, 0.23346856236457825, 0.4650426208972931, -0.0036665587686002254, -0.09108208119869232, -0.3649490177631378, -0.09638555347919464, -0.6320962309837341, -0.3733297288417816, -0.7000898122787476, -0.012030999176204205, -0.8675851225852966, 0.22040720283985138, -0.24742144346237183, -0.05080333724617958, 0.01027753483504057, 0.21525612473487854, -0.16088885068893433, 0.08667974174022675, -0.13027401268482208, 1.0804414749145508, -0.7379283905029297, 0.6928478479385376, 0.6120683550834656, -0.31485292315483093, -0.2408907115459442, 0.31411296129226685, -0.22187715768814087, -0.17959095537662506, 0.42735376954078674, 0.519777238368988, 0.3362927734851837, -0.34054049849510193, -0.18507705628871918, -0.6718047261238098, 1.0106587409973145, 0.029158953577280045, -0.4531850218772888, -0.5476452112197876, 0.16642045974731445, 0.5095807313919067, 0.1682601124048233, 0.28436094522476196, 0.441438227891922, 0.4746614992618561, -0.033059872686862946, -1.0007946491241455, -0.1836206465959549, 0.0028116193134337664, 0.4169279634952545, 0.39186936616897583, -0.7320972084999084, 0.5647193193435669, -0.24418717622756958, -0.3146741986274719, 0.18749448657035828, 0.874970555305481, -0.21262501180171967, 0.3226475119590759, 0.5280495882034302, 0.5118454694747925, 0.5535752177238464, -0.15641260147094727, 1.053865909576416, -0.052324648946523666, 0.6300814151763916, 0.812485933303833, -0.0469583123922348, 0.6889748573303223, 0.5187442302703857, -0.07025985419750214, 0.4436752200126648, 0.6417438387870789, -0.036087118089199066, 0.7071887254714966, -0.0038707649800926447, -0.0525670051574707, 0.30323082208633423, 0.029076170176267624, -0.23003001511096954, 0.2736516296863556, 0.2694547474384308, -0.30472809076309204, -0.5714144110679626, 0.47246208786964417, 0.25449448823928833, 0.07542942464351654, -0.23548267781734467, 0.8857829570770264, -0.20752115547657013, -0.4433124363422394, 0.33631062507629395, 0.34706103801727295, 0.6489259004592896, -0.6436042189598083, 0.15404833853244781, -0.1353864222764969, 0.21398316323757172, 0.13351713120937347, -0.6452391147613525, 0.6503852009773254, 0.10580937564373016, -0.4334005117416382, -0.4944514334201813, 0.9510233402252197, -0.3109041154384613, -0.35334858298301697, 0.09887295961380005, 0.25378838181495667, 0.19134509563446045, 0.07823041081428528, -0.36178886890411377, 0.10819225758314133, -0.09991899877786636, -0.0773048996925354, 0.2012125551700592, 0.15559013187885284, -0.11201943457126617, 0.4854297339916229, 0.3793822228908539, 0.11529779434204102, -0.06747753173112869, -0.06716015934944153, 0.8587307333946228, -0.5424100160598755, -0.8107227087020874, -0.8715860247612, 0.1022927537560463, -0.4216768741607666, -0.12476801872253418, 0.7949485778808594, 0.8435788154602051, 0.7880643606185913, -0.3491063416004181, 0.7969698309898376, -0.17157848179340363, 0.8841980695724487, -0.31788644194602966, 0.8004457950592041, -0.43067115545272827, -0.04041167348623276, -0.3044241964817047, -0.9014883637428284, -0.4167470335960388, 0.12414489686489105, -0.29545849561691284, -0.2804452180862427, 0.9719328284263611, 0.1901770532131195, 0.12597447633743286, 0.22152195870876312, 0.16254474222660065, 0.04036218672990799, 0.36924147605895996, 0.40016207098960876, 0.3797910213470459, -0.47437846660614014, 1.050327181816101, -0.6652112603187561, -0.13315162062644958, -0.4030109941959381, -0.6128351092338562, -1.1553564071655273, -0.5948833227157593, -0.15885823965072632, 0.10560913383960724, 0.3992726802825928, 0.3920741379261017, 0.6417196393013, -0.6365861296653748, -0.255752831697464, 0.13924691081047058, 0.2576245665550232, -0.502755880355835, -0.2854631841182709, 0.7304808497428894, -0.3839120864868164, -0.8117300271987915, -0.08836403489112854, 0.1270241141319275, 0.2246941775083542, 0.30333805084228516, 0.21518166363239288, -0.15926529467105865, 0.023585118353366852, 0.4784485697746277, 0.217231884598732, -0.47420379519462585, -0.1068820059299469, -0.37145161628723145, 0.047910425812006, 0.042727693915367126, 0.8960642218589783, -0.7049188017845154, 0.19038234651088715, 0.7491686344146729, 0.7116472721099854, 0.764149010181427, 0.2765979766845703, 0.3413821756839752, -1.2472387552261353, 0.19984489679336548, 0.18286345899105072, 0.05264611169695854, 0.1178094819188118, -0.5236084461212158, 0.47737637162208557, 0.2720353901386261, -0.5115587711334229, -0.7273582816123962, -0.28017789125442505, -0.9507235884666443, -0.4271482229232788, 0.7006040811538696, 0.007174019236117601, -0.45631930232048035, 0.2844477891921997, -0.37918487191200256, 0.31048664450645447, -0.4632273018360138, 0.7870732545852661, 0.8771836757659912, -0.23449735343456268, -0.30465880036354065, -0.2638055384159088, 0.45293524861335754, 0.46040987968444824, -0.660220742225647, -0.15228332579135895, 0.16510087251663208, -0.03312424197793007, 0.4479130804538727, 0.18496128916740417, 0.023428799584507942, 0.33959317207336426, -0.4423843026161194, -0.05204503983259201, -0.01900356449186802, -0.39327937364578247, -0.20873700082302094, 0.3833245038986206, -0.36985960602760315, -0.5081493258476257 ]
http://arxiv.org/abs/2403.12776v1
http://arxiv.org/pdf/2403.12776v1
Automated Data Curation for Robust Language Model Fine-Tuning
2024-03-19T14:44:45
2024-03-19T14:44:45
Jiuhai Chen, Jonas Mueller
cs.CL
cs.CL
Large Language Models have become the de facto approach to sequence-to-sequence text generation tasks, but for specialized tasks/domains, a pretrained LLM lacks specific capabilities to produce accurate or well-formatted responses. Supervised fine-tuning specializes a LLM by training it on dataset of example prompts with target responses, but real-world data tends to be noisy. While many fine-tuning algorithms exist, here we consider a \emph{data-centric AI} perspective on LLM fine-tuning, studying how to \emph{systematically} curate the training dataset to improve the LLM produced via \emph{any} fine-tuning algorithm. We introduce an automated data curation pipeline CLEAR (Confidence-based LLM Evaluation And Rectification) for instruction tuning datasets, that can be used with any LLM and fine-tuning procedure. CLEAR estimates which training data is low-quality and either filters or corrects it. Automatically identifying which data to filter or correct is done via LLM-derived confidence estimates, to ensure only confident modifications to the dataset. Unlike existing data curation techniques, CLEAR is a comprehensive framework that can improve a dataset (and trained model outputs) without additional fine-tuning computations. We don't assume access to a stronger LLM than the model being fine-tuned (e.g.\ relying on GPT-4 when fine-tuning GPT-3.5), to see whether CLEAR can meaningfully improve the capabilities of any LLM. Experiments reveal that CLEAR consistently improves the performance of fine-tuned models across many datasets and models (like GPT-3.5 and Llama2).
[ -0.31164243817329407, -0.9180079102516174, 0.4669165015220642, -0.35419961810112, -0.2795596718788147, 0.01636829413473606, -0.418969988822937, -0.4057020843029022, -0.25014448165893555, 0.7519648671150208, -0.6681339740753174, -0.7346705198287964, -0.6018168330192566, 0.0940806046128273, -0.6205689907073975, 1.1333671808242798, -0.039986975491046906, -0.10732635855674744, -0.018894385546445847, 0.14989407360553741, -0.6090403199195862, -0.3054541051387787, -0.9313989877700806, -0.4661911129951477, 0.2535271644592285, 0.7524905800819397, 0.7511670589447021, 1.240939974784851, 0.3041226863861084, 0.33013641834259033, 0.1254499852657318, 0.5979829430580139, -0.8512284159660339, 0.39863455295562744, -0.1705082803964615, -0.5617980360984802, -0.42994341254234314, 0.1592525839805603, 0.45294591784477234, 0.7790930271148682, -0.07451137155294418, 0.23658983409404755, 0.1725848913192749, 0.8224577903747559, -0.697360634803772, 0.17796330153942108, -0.9308605194091797, 0.011564386077225208, -0.2856079638004303, -0.27853885293006897, -0.4224983751773834, -0.36660677194595337, -0.3173154294490814, -0.6480805277824402, 0.5407869815826416, 0.20909972488880157, 0.9931480884552002, 0.668542742729187, -0.09960880875587463, -0.04451826214790344, -1.0271965265274048, 0.8316859602928162, -0.7957616448402405, 0.2915637493133545, 0.4441624879837036, 0.031049849465489388, -0.3792155385017395, -0.7868527173995972, -0.4244452714920044, -0.006949671544134617, 0.027070704847574234, 0.100126251578331, 0.0424235537648201, 0.29975759983062744, 0.4531560242176056, 0.7575526237487793, -0.44027087092399597, 0.32182735204696655, -0.3855416774749756, -0.28101566433906555, 0.7783868312835693, 0.23163093626499176, -0.07440431416034698, 0.2959907352924347, 0.16142131388187408, 0.0050501455552875996, -0.9283100962638855, -0.10957366973161697, 0.5023017525672913, 0.540503978729248, 0.08411905914545059, 0.578177273273468, -0.6384471654891968, 0.827931821346283, 0.4589005708694458, -0.01579669862985611, 0.05462700501084328, -0.3708690404891968, -0.40603771805763245, -0.038389790803194046, 0.6207798719406128, 0.1436421275138855, 0.7758627533912659, -0.04773082584142685, -0.6154508590698242, 0.11393850296735764, 0.21881262958049774, -0.8865329623222351, -0.7492143511772156, 0.29308566451072693, -0.24916261434555054, -0.24404604732990265, 0.11052010208368301, -0.2075786292552948, -0.3355681300163269, -0.7523648142814636, 0.14865438640117645, -0.2462412565946579, 0.0578404925763607, 0.2516135573387146, 0.29314154386520386, 0.04142585024237633, 0.3326016366481781, -0.9633367657661438, 0.33510902523994446, 0.8779909014701843, 0.4871810972690582, -0.2764607071876526, 0.11799075454473495, -0.9577206969261169, 0.06942108273506165, -0.40050074458122253, 0.7416644096374512, -0.5940734148025513, -0.17520728707313538, 0.13623404502868652, 0.013159318827092648, 0.1150834783911705, -0.6341026425361633, 0.7147231698036194, -0.3905382752418518, 0.21448871493339539, -0.01562652550637722, -0.9341059327125549, -0.03271964564919472, 0.22312594950199127, -0.657233715057373, 0.9112516045570374, -0.026035793125629425, -0.5674406290054321, 0.7144023180007935, -0.4445520341396332, -0.47615310549736023, 0.011512472294270992, -0.1111026480793953, -0.7014325857162476, 0.04334324225783348, 0.4350806176662445, 0.5990267395973206, -0.05720937252044678, 0.4085322916507721, -0.454664021730423, -0.4719802737236023, -0.1207011416554451, -0.5755952596664429, 0.5217013359069824, 0.4333815276622772, -0.1816501021385193, 0.3594496250152588, -0.8651993274688721, 0.3008500933647156, -0.21466276049613953, -0.22150397300720215, -0.013610264286398888, 0.08140981197357178, -0.1362258642911911, 0.030868183821439743, 0.34894004464149475, -0.49331361055374146, 0.17588815093040466, -0.6301486492156982, 0.49445992708206177, 0.7650293707847595, 0.0583813302218914, 0.5334710478782654, -0.5346530675888062, 0.3189377784729004, 0.048438478261232376, 0.20133143663406372, -0.35219070315361023, -0.3726363480091095, -1.0374614000320435, -0.4298369288444519, 0.4183851182460785, 0.6406581997871399, -0.34833166003227234, 0.6329019665718079, -0.13227282464504242, -0.4080854654312134, -0.7566365003585815, 0.5320848822593689, 0.4045862555503845, 0.6647674441337585, 0.17965488135814667, -0.49803251028060913, -0.4830781817436218, -0.866197407245636, -0.09544207900762558, 0.1259700208902359, -0.12032312154769897, 0.1621478945016861, 0.2950361967086792, -0.13152983784675598, 0.916070282459259, -0.5514214634895325, -0.2959795296192169, 0.03506837412714958, 0.11796827614307404, 0.31260186433792114, 0.6130419969558716, -0.06855528056621552, -0.629061758518219, -0.371521919965744, -0.02886776439845562, -0.4429091811180115, -0.2060818076133728, -0.08017632365226746, -0.06632941961288452, 0.20321869850158691, 0.7469865083694458, -0.32035133242607117, 0.3678382337093353, 0.3747430443763733, -0.1669067144393921, 0.4163655638694763, -0.3133634030818939, 0.14182411134243011, -0.9802007079124451, 0.21996861696243286, -0.26442375779151917, -0.49348437786102295, -0.713058352470398, -0.05765460804104805, -0.07787853479385376, 0.030401555821299553, -0.20162458717823029, 0.5867164731025696, -0.277726948261261, 0.12298073619604111, -0.2599189579486847, 0.08619323372840881, 0.11407505720853806, 0.3653930127620697, -0.018306497484445572, 0.5724464058876038, 0.4785061776638031, -0.7179951071739197, 0.30806154012680054, 0.20498503744602203, -0.29318612813949585, 0.4657762944698334, -0.6429195404052734, 0.22194021940231323, 0.11372270435094833, -0.09104097634553909, -0.9186068177223206, -0.34160202741622925, 0.22994793951511383, -0.2591288387775421, 0.5150677561759949, -0.21065972745418549, -0.6372672915458679, -0.09625087678432465, -0.07350308448076248, 0.16288217902183533, 0.3817727565765381, -0.4217706620693207, 0.10269155353307724, 0.2409743070602417, -0.2383459210395813, -0.4552149474620819, -0.5777778029441833, -0.1108691543340683, -0.1728554219007492, -0.6028316617012024, 0.25504422187805176, -0.12777704000473022, -0.19126471877098083, -0.30580493807792664, -0.09265577793121338, -0.298300176858902, 0.26990261673927307, 0.3509833812713623, 0.18889296054840088, -0.010910220444202423, 0.14184391498565674, 0.20911827683448792, -0.1563170701265335, -0.0977911427617073, -0.28487735986709595, 0.4285973608493805, -0.11033131927251816, -0.6321315765380859, -0.49537864327430725, 0.11614250391721725, 0.3019806742668152, -0.29370903968811035, 0.4732458293437958, 0.6382606029510498, -0.40548309683799744, -0.3649318814277649, -0.5647194385528564, -0.592003583908081, -0.48914647102355957, 0.15413467586040497, -0.29569190740585327, -1.0129293203353882, 0.6570935845375061, 0.008992013521492481, 0.4106283187866211, 0.3747161030769348, 0.46074172854423523, -0.10783882439136505, 1.2319148778915405, 0.7618680596351624, -0.19032292068004608, 0.4788571894168854, -0.11403416097164154, 0.2395789623260498, -0.4433077275753021, -0.009599748998880386, -0.5379291772842407, -0.39344364404678345, -0.8575097918510437, 0.14885951578617096, -0.04966646060347557, 0.16651774942874908, -0.5837146043777466, -0.08013977110385895, -0.7072041034698486, 0.4967314600944519, 0.7526727914810181, 0.12438563257455826, 0.6125527024269104, -0.08348972350358963, 0.12008467316627502, 0.1144234761595726, -0.7400624752044678, -0.6328637599945068, 1.2016326189041138, 0.30439168214797974, 0.8457863330841064, -0.4576113224029541, 0.6723619103431702, 0.19831623136997223, 0.35779905319213867, -0.7775993347167969, 0.30702197551727295, -0.4458015263080597, -0.39813312888145447, -0.4095601439476013, -0.3400235176086426, -0.9193107485771179, -0.41579675674438477, -0.3833886682987213, -0.27964073419570923, -0.018151117488741875, 0.5956311821937561, -0.3713071346282959, 0.28762999176979065, -0.5943720936775208, 0.691264271736145, 0.05726893991231918, -0.34879177808761597, -0.054560765624046326, -0.5529443025588989, 0.4587734341621399, -0.2686138451099396, -0.036587197333574295, -0.10988834500312805, 0.24150754511356354, 0.40691155195236206, -0.43876054883003235, 0.8668345808982849, -0.1059398353099823, -0.26030272245407104, 0.17905983328819275, 0.14740918576717377, 0.6353257894515991, 0.13034380972385406, -0.27484455704689026, 0.007394333370029926, -0.10534176975488663, -0.2633662819862366, -0.47071409225463867, 0.6546927094459534, -0.6215522289276123, -0.5600278973579407, 0.009494361467659473, -0.7229907512664795, -0.25490716099739075, 0.38105541467666626, 0.42540282011032104, 0.2536095380783081, 0.034209270030260086, 0.1756482869386673, 0.9152399897575378, 0.011634758673608303, 0.1157892495393753, 0.43169233202934265, 0.1100785881280899, -0.1380433291196823, 0.6921678781509399, -0.13136400282382965, 0.33022263646125793, 0.4401989281177521, -0.08593439310789108, -0.25712165236473083, -0.8466497659683228, -0.27243372797966003, -0.059691354632377625, -0.44877931475639343, -0.47151878476142883, -0.16670124232769012, -0.5210385322570801, -0.35274171829223633, -0.10064297914505005, -0.5519619584083557, -0.4386163651943207, -0.4945879578590393, -0.14403246343135834, 0.5504285097122192, 0.6746369004249573, 0.0034784076269716024, 0.36630958318710327, -0.6548904180526733, 0.35319119691848755, 0.2092418223619461, 0.5632272362709045, -0.5826659202575684, -0.7654667496681213, -0.20488911867141724, 0.3829498589038849, -0.35921308398246765, -0.26660212874412537, 0.5002581477165222, 0.5488061904907227, 0.31892672181129456, 0.5351564884185791, 0.13821174204349518, 0.7923805117607117, -0.4352152943611145, 0.570351779460907, -0.3608311414718628, -0.7852858304977417, 0.7267605066299438, -0.3794952929019928, 0.38924670219421387, 0.8972901701927185, -0.12862305343151093, -0.30505815148353577, -0.8423818349838257, -0.5535408854484558, -0.755936861038208, 0.4803048074245453, 0.1018575131893158, 0.04679613560438156, 0.12562648952007294, 0.7637130618095398, 0.2249206006526947, 0.4306635558605194, -0.36099645495414734, -0.24619446694850922, -0.10693758726119995, -0.49109601974487305, -0.1578911542892456, 0.046351924538612366, -0.11898632347583771, -0.11908984929323196, 0.69187992811203, -0.2526266872882843, -0.10343755781650543, 0.03395814448595047, -0.056110091507434845, -0.2142336517572403, 0.2588970363140106, 0.4031265377998352, 0.4945712387561798, -0.2099882960319519, 0.02732895314693451, 0.10983031243085861, -0.4892648756504059, -0.1531084030866623, 0.18420855700969696, -0.5277177095413208, -0.17871558666229248, 0.2760140895843506, 0.7354750037193298, -0.017863983288407326, -0.5443300008773804, 0.18569813668727875, 0.03332918509840965, -0.2777712941169739, -0.14541660249233246, 0.5692446231842041, -0.2537439465522766, 0.006653331220149994, -0.0190278273075819, 0.15034404397010803, 0.2361302375793457, -0.2756211757659912, 0.44616439938545227, 0.48770666122436523, -0.49251919984817505, -0.011621666140854359, 0.65279620885849, 0.2180534303188324, -0.07700444757938385, 1.130082368850708, -0.15709516406059265, -0.18502192199230194, 0.5439736247062683, 0.28140148520469666, 0.8328297734260559, -0.13953065872192383, -0.1383601576089859, 0.45831063389778137, 0.21705308556556702, -0.21749068796634674, 0.3727428615093231, 0.08280827850103378, -0.8693015575408936, -0.7020218372344971, -0.6118770241737366, -0.47436922788619995, 0.5121946930885315, -0.5998780727386475, 0.39838284254074097, -0.5379644632339478, -0.01384047046303749, -0.3514929413795471, 0.39542701840400696, -0.7675967216491699, 0.5334442257881165, 0.23851428925991058, 0.8995717167854309, -0.8893250823020935, 0.8968648910522461, 0.3342684507369995, -0.041547853499650955, -0.957602858543396, -0.34360629320144653, -0.1176982894539833, -0.7160579562187195, 0.3283199965953827, 0.1947159767150879, -0.11594671756029129, 0.1328365057706833, -0.8530619740486145, -0.6775614619255066, 1.0694712400436401, 0.6214571595191956, -0.9229417443275452, 0.24025295674800873, 0.21700511872768402, 0.6044303178787231, -0.4642353653907776, -0.03743567690253258, 0.7718477249145508, 0.5527719855308533, 0.015923287719488144, -0.9268209338188171, -0.05418996140360832, -0.3374459147453308, -0.23980677127838135, 0.1759158819913864, -0.30344948172569275, 0.6650068759918213, -0.28017401695251465, -0.3340716063976288, 0.2663804590702057, 0.6760729551315308, 0.4409797489643097, 0.18463437259197235, 0.4545545279979706, 0.632960319519043, 1.1451220512390137, -0.3504614531993866, 0.7361336946487427, -0.6831710338592529, 0.13715322315692902, 1.510944128036499, -0.10326017439365387, 0.7652491331100464, 0.38148948550224304, 0.21709246933460236, 0.1446262151002884, 0.8667594790458679, -0.2660149931907654, 0.4073789119720459, 0.3373299241065979, -0.049782294780015945, -0.36997082829475403, -0.08164680749177933, -0.06324845552444458, 0.5134961009025574, 0.3602461516857147, -0.3672177791595459, 0.026218188926577568, -0.3382064402103424, -0.09967763721942902, 0.3678988516330719, -0.5345619320869446, 0.7853364944458008, 0.03806503117084503, -0.7827740907669067, 0.5010160207748413, 0.04411650076508522, 0.590900719165802, -0.4023513197898865, -0.1097591370344162, -0.39174240827560425, 0.2729499638080597, -0.4353776276111603, -0.9304707050323486, 0.45395100116729736, -0.010157373733818531, -0.3538413941860199, -0.4317862391471863, 0.863362193107605, -0.7110255360603333, -0.3709047734737396, -0.24020011723041534, 0.5425559878349304, 0.10262943804264069, -0.11309117823839188, -0.6186887621879578, -0.08950353413820267, 0.08743155747652054, -0.3054031431674957, -0.0703732967376709, 0.5452567934989929, -0.1381736695766449, 0.9033858776092529, 0.7537563443183899, 0.24997392296791077, -0.11049410700798035, 0.3317335844039917, 0.725284218788147, -0.37733203172683716, -0.18732379376888275, -0.7814617156982422, 0.4021162986755371, 0.051624760031700134, -0.279060959815979, 0.3603391945362091, 0.6952717900276184, 0.9935956597328186, 0.02469305507838726, 0.7918805480003357, 0.2444400042295456, 0.5563405156135559, -0.6501519680023193, 0.8106274008750916, -0.2597251534461975, 0.30982446670532227, 0.12398100644350052, -0.8947221040725708, -0.5251075029373169, 0.564835786819458, -0.30606672167778015, 0.22275368869304657, 0.2133283168077469, 1.0225133895874023, -0.18589095771312714, -0.03153110668063164, 0.22337332367897034, 0.3686261475086212, 0.33861565589904785, 0.47875362634658813, 0.4065675735473633, -0.3659857213497162, 0.4542900621891022, -0.3347961902618408, -0.0685892328619957, 0.010799635201692581, -0.9686018824577332, -0.7824394106864929, -0.503055214881897, -0.4028263986110687, -0.01034596934914589, 0.07351768016815186, 0.5918042659759521, 0.9202678203582764, -1.100358247756958, 0.05394937843084335, -0.46776485443115234, 0.1346958428621292, -0.15679942071437836, -0.20839881896972656, 0.20838125050067902, -0.6799454092979431, -0.9262052178382874, 0.1598999947309494, 0.1527181714773178, -0.04149105027318001, -0.12189698219299316, -0.005061740521341562, 0.2720264494419098, -0.06110512837767601, 0.3774230480194092, 0.25425195693969727, -0.41909700632095337, -0.40396443009376526, -0.07272952795028687, -0.21911069750785828, 0.14701467752456665, 0.42760491371154785, -0.761132001876831, 0.5154234170913696, 0.3660244345664978, 0.5369424819946289, 0.44927242398262024, 0.10438641905784607, 0.8489760160446167, -0.8792670965194702, -0.04394737258553505, 0.27036577463150024, 0.2611532509326935, 0.5548137426376343, -0.49546611309051514, 0.4724236726760864, -0.17586183547973633, -0.7651539444923401, -0.608450174331665, 0.34496667981147766, -0.8182315230369568, 0.059313371777534485, 1.0970362424850464, -0.08273601531982422, 0.06408465653657913, -0.28327420353889465, -0.2615968585014343, 0.5290964841842651, -0.47534283995628357, 0.9389095902442932, 0.5981183648109436, -0.09474664181470871, -0.06515520066022873, -0.6125398874282837, 0.8242271542549133, 0.39768579602241516, -0.9483247399330139, 0.22860877215862274, 0.5777105689048767, 0.2983619272708893, -0.23114030063152313, 0.3259694576263428, -0.04800546541810036, 0.057553067803382874, -0.3420095443725586, -0.15314818918704987, -0.31554192304611206, -0.3089345395565033, -0.2741757333278656, 0.1099967211484909, 0.22793619334697723, -0.05240623280405998 ]
http://arxiv.org/abs/2403.12749v1
http://arxiv.org/pdf/2403.12749v1
Sebastian, Basti, Wastl?! Recognizing Named Entities in Bavarian Dialectal Data
2024-03-19T14:12:54
2024-03-19T14:12:54
Siyao Peng, Zihang Sun, Huangyan Shan, Marie Kolm, Verena Blaschke, Ekaterina Artemova, Barbara Plank
cs.CL
cs.CL
Named Entity Recognition (NER) is a fundamental task to extract key information from texts, but annotated resources are scarce for dialects. This paper introduces the first dialectal NER dataset for German, BarNER, with 161K tokens annotated on Bavarian Wikipedia articles (bar-wiki) and tweets (bar-tweet), using a schema adapted from German CoNLL 2006 and GermEval. The Bavarian dialect differs from standard German in lexical distribution, syntactic construction, and entity information. We conduct in-domain, cross-domain, sequential, and joint experiments on two Bavarian and three German corpora and present the first comprehensive NER results on Bavarian. Incorporating knowledge from the larger German NER (sub-)datasets notably improves on bar-wiki and moderately on bar-tweet. Inversely, training first on Bavarian contributes slightly to the seminal German CoNLL 2006 corpus. Moreover, with gold dialect labels on Bavarian tweets, we assess multi-task learning between five NER and two Bavarian-German dialect identification tasks and achieve NER SOTA on bar-wiki. We substantiate the necessity of our low-resource BarNER corpus and the importance of diversity in dialects, genres, and topics in enhancing model performance.
[ -0.7128877639770508, -0.5823982357978821, 0.40387940406799316, 0.11019989848136902, -0.39082443714141846, 0.042366873472929, -0.3813488185405731, -0.4746277630329132, 0.4732900559902191, 0.5411113500595093, -0.3880486488342285, -0.5195139050483704, -0.6657435297966003, 0.29232779145240784, -0.42221599817276, 1.1113029718399048, 0.3519962430000305, 0.4337270259857178, 0.25797370076179504, -0.13750216364860535, 0.003258130978792906, -0.7780048847198486, -0.9342630505561829, -0.17937801778316498, 0.9615720510482788, 0.22843748331069946, 0.16614270210266113, 0.23996607959270477, 0.3010397255420685, 0.33915191888809204, -0.15553808212280273, 0.018704503774642944, -0.27921628952026367, -0.020533530041575432, -0.31868720054626465, -0.10266073793172836, -0.3469931483268738, -0.4025905132293701, 0.5639025568962097, 0.8176948428153992, 0.14537668228149414, 0.024217190220952034, 0.004058969672769308, 0.6035642623901367, -0.5309063792228699, 0.3964616358280182, -0.7806228995323181, -0.291943222284317, -0.6851966381072998, 0.12164498120546341, -0.4243500232696533, -0.09678082913160324, 0.14221864938735962, -0.5476388335227966, 0.6654942631721497, 0.17378287017345428, 1.2414788007736206, 0.010574333369731903, -0.7006875872612, -0.22728301584720612, -0.6421642303466797, 0.3696220815181732, -0.5783618092536926, 0.9095612168312073, 0.3054780662059784, 0.2597562372684479, -0.18371425569057465, -0.5568795800209045, -0.608568012714386, 0.08235196769237518, -0.25620973110198975, -0.19855448603630066, -0.5670670866966248, -0.22727367281913757, 0.25228744745254517, -0.026852384209632874, -0.3672510087490082, 0.05147705599665642, -0.4459786117076874, -0.2947435975074768, 0.5070491433143616, -0.06160958483815193, -0.1272173970937729, -0.2596362233161926, -0.027379561215639114, 0.024964360520243645, -0.6512123346328735, -0.10227596014738083, 0.30292028188705444, 0.4675772488117218, 0.05354871228337288, 0.2870350480079651, -0.2828385531902313, 0.47120893001556396, 0.4699784517288208, 0.12392400205135345, 0.5137311220169067, -0.056332822889089584, -0.08640195429325104, 0.17638377845287323, 0.6661173701286316, 0.010973986238241196, 0.45425572991371155, -0.7203472256660461, -0.3221794664859772, -0.49652278423309326, 0.234950453042984, -0.7820931077003479, -0.49773308634757996, -0.18864227831363678, -0.14235858619213104, -0.04141027107834816, 0.34856101870536804, -0.6284279227256775, -0.41366270184516907, -0.27980437874794006, 0.09768091887235641, -0.5058236718177795, -0.34272250533103943, -0.37588798999786377, -0.38719746470451355, 0.3317861557006836, 0.35264378786087036, -1.1216398477554321, 0.4735126495361328, 0.7741864323616028, 0.3480663001537323, 0.0023590882774442434, -0.16524751484394073, -0.4353983402252197, 0.09795289486646652, -0.5744532942771912, 0.8486003875732422, -0.2400495857000351, -0.14991742372512817, 0.025970373302698135, 0.5291921496391296, 0.07351116836071014, -0.8960846066474915, 0.17954714596271515, -0.9458773136138916, -0.17490653693675995, -0.27969133853912354, -0.6286566257476807, -0.35686686635017395, -0.009442710317671299, -1.0963364839553833, 0.9640342593193054, 0.38633692264556885, -0.9378823637962341, 0.5893924236297607, -0.4195629358291626, -0.7966500520706177, 0.2051418274641037, -0.11162110418081284, -0.10587319731712341, 0.424118310213089, 0.057972125709056854, 0.5677251219749451, -0.2747938334941864, 0.4330556392669678, -0.10874617844820023, -0.10800867527723312, 0.48639169335365295, -0.24121442437171936, 0.7294819951057434, -0.12435878813266754, -0.27788764238357544, -0.2509952485561371, -1.0674750804901123, 0.06235345080494881, 0.005513996351510286, -0.3500607907772064, -0.5667306184768677, -0.04220695421099663, 0.58322674036026, -0.06517217308282852, -0.07793603092432022, -0.6277751922607422, -0.36795592308044434, -0.41093555092811584, 0.3675651550292969, 0.5110207796096802, 0.1670699268579483, 0.3184813857078552, -0.052373237907886505, 0.13117697834968567, 0.22640909254550934, -0.4649543762207031, 0.2737751007080078, -0.014816711656749249, -1.215343713760376, -0.3701261579990387, 0.8491116166114807, 0.6096081137657166, -0.6131474375724792, 0.6169695258140564, -0.5685161352157593, -0.7076584100723267, -0.30708351731300354, -0.1607581079006195, 0.2707202136516571, 0.3653101921081543, 0.4220167398452759, -0.20014642179012299, -0.6331904530525208, -1.1167389154434204, 0.12368746846914291, -0.2076253592967987, -0.21642868220806122, 0.26614516973495483, 0.6905179023742676, 0.048135269433259964, 0.9070413708686829, -0.032668255269527435, -0.14967945218086243, -0.33476248383522034, 0.2609722316265106, 0.18973654508590698, 0.31103387475013733, 0.6219951510429382, -0.8543572425842285, -0.5886533260345459, 0.19015604257583618, -0.5683094263076782, -0.2676962614059448, 0.19307705760002136, -0.1574055254459381, 0.5023472309112549, 0.4104560911655426, -0.4836674928665161, 0.03887663409113884, 0.2629544734954834, -0.09008032828569412, 0.41343751549720764, 0.310935914516449, 0.024057505652308464, -1.1770519018173218, -0.01227512862533331, -0.10000429302453995, -0.22897376120090485, -0.7171067595481873, -0.396231085062027, 0.09251253306865692, 0.2693707346916199, -0.3992083668708801, 0.9743683934211731, -0.5358067154884338, 0.18469132483005524, -0.14930640161037445, 0.07650686800479889, -0.11910261958837509, 0.4533904790878296, 0.27420946955680847, 0.48759666085243225, 0.48212307691574097, -0.4976264536380768, 0.32154548168182373, 0.1592913419008255, -0.5823548436164856, 0.7515344023704529, -0.5223338603973389, 0.23855926096439362, -0.16714231669902802, -0.033323388546705246, -0.4779989421367645, -0.44126951694488525, 0.32854193449020386, -0.4675624966621399, 0.6218054890632629, -0.3350621461868286, -0.6140098571777344, 0.12432729452848434, 0.43751946091651917, 0.12846964597702026, 0.10775458812713623, -0.37638500332832336, 0.6688202023506165, 0.561507523059845, -0.5042036175727844, -0.41818609833717346, -0.5372464656829834, 0.2328782081604004, -0.3212881088256836, -0.47487378120422363, 0.46154868602752686, 0.3660806119441986, -0.2912251353263855, 0.34758132696151733, -0.27022460103034973, -0.4087781012058258, -0.06731533259153366, 0.20115326344966888, 0.2612232267856598, -0.3779073655605316, 0.4854273796081543, -0.056923605501651764, -0.23469214141368866, -0.1469128280878067, -0.21688169240951538, 0.44256529211997986, -0.31659114360809326, -0.14310644567012787, -0.15016619861125946, 0.5180203914642334, 0.1359894573688507, -0.24033424258232117, 0.5779871344566345, 0.5605552196502686, -0.6058887243270874, -0.1579279899597168, -0.8113906979560852, -0.20399457216262817, -0.3420131504535675, 0.462261438369751, -0.7012873888015747, -1.0499926805496216, 0.42745441198349, -0.16773293912410736, -0.2259225845336914, 0.4624355435371399, 0.34847068786621094, -0.2393888384103775, 0.37672555446624756, 0.7855244874954224, -0.25006118416786194, 0.5001042485237122, -0.06178947538137436, 0.3621463179588318, -0.5118003487586975, -0.13859380781650543, -0.6435818672180176, -0.18575036525726318, -0.7756018042564392, -0.21144242584705353, 0.2332374006509781, 0.08959660679101944, -0.3460739552974701, 0.7379915118217468, -0.030338594689965248, 0.2246372252702713, 0.6320890784263611, -0.024781381711363792, 0.2100331038236618, -0.0007708823541179299, 0.10013628751039505, -0.09499403834342957, -0.5017445683479309, -0.6377177238464355, 0.6028856039047241, -0.04621002823114395, 0.47969087958335876, 0.04721338301897049, 1.0631314516067505, 0.2468864470720291, 0.4047119915485382, -0.7537671327590942, 0.6589075326919556, -0.10011149197816849, -0.9730881452560425, -0.33533623814582825, -0.38314032554626465, -0.9409103393554688, 0.2407269924879074, -0.20303595066070557, -0.778262197971344, 0.3947628438472748, -0.05002053081989288, -0.0076311733573675156, 0.030671967193484306, -0.395303338766098, 0.9631780385971069, -0.23202015459537506, 0.007450704462826252, -0.009916513226926327, -0.6147269010543823, -0.19825783371925354, -0.4781496226787567, 0.4167117476463318, -0.17716269195079803, -0.04305882751941681, 0.7752710580825806, -0.13191820681095123, 0.6452391743659973, -0.04895205423235893, 0.2972235381603241, 0.1471678912639618, -0.07474704831838608, 0.4639706313610077, -0.1212400272488594, -0.1868559718132019, 0.6258143186569214, 0.10927937179803848, -0.32937151193618774, -0.6315719485282898, 0.2700946629047394, -0.30983975529670715, -0.4971328377723694, -0.41388610005378723, -0.08358212560415268, -0.18122072517871857, 0.4651968777179718, 0.4825860857963562, 0.4634818732738495, -0.6979308724403381, 0.3123916983604431, 0.4572541117668152, 0.3149681091308594, 0.32087114453315735, 0.8345833420753479, -0.0014842059463262558, -0.6136163473129272, 0.8536863327026367, 0.2596086859703064, -0.08513082563877106, 0.5308498740196228, -0.3294529616832733, 0.05261800065636635, -0.5329263210296631, -0.5950088500976562, 0.23739421367645264, -0.6784961819648743, -0.2548198103904724, -0.7794516682624817, -0.3792140483856201, -0.20958276093006134, -0.15917353332042694, -0.23445963859558105, -0.5123519897460938, -0.13188350200653076, -0.3358694016933441, 0.14892849326133728, 0.6454169750213623, -0.11195787042379379, 0.39731448888778687, -0.791730523109436, -0.10429581999778748, -0.12204612791538239, -0.030431443825364113, -0.10914501547813416, -0.23429802060127258, -0.4460286498069763, -0.24024298787117004, 0.1114514097571373, -1.2360211610794067, 0.2967238128185272, 0.2642793357372284, 0.6715934872627258, 0.6018706560134888, 0.11547009646892548, 0.29624369740486145, -0.7377469539642334, 0.35182636976242065, -0.01649007946252823, -0.844448447227478, 0.10119589418172836, -0.14027813076972961, -0.15774253010749817, 0.6594007015228271, 0.4606449007987976, -0.6464593410491943, -0.385515034198761, -0.7507290840148926, -0.9190570116043091, 0.7164669632911682, 0.04691467806696892, 0.44322890043258667, -0.48403096199035645, -0.10241683572530746, 0.28595858812332153, 0.4686412215232849, -0.6932088732719421, -0.11254116892814636, -0.04857093095779419, -0.03856050968170166, -0.05473322793841362, -0.04194933548569679, -0.03886479511857033, -0.24165956676006317, 1.0291539430618286, -0.03502010181546211, 0.13420316576957703, -0.03561312332749367, -0.2149592638015747, 0.09144433587789536, 0.7082195281982422, -0.1811622530221939, 0.31407201290130615, 0.03977901116013527, 0.4818103611469269, 0.4342276453971863, -0.00029995449585840106, 0.04895574599504471, 0.424883633852005, -0.3356131315231323, 0.5135027170181274, 0.40742963552474976, 0.9929677844047546, 0.4829312860965729, -0.4888744354248047, 0.3275143504142761, 0.3823387920856476, -0.042720992118120193, -0.5983569622039795, -0.023305393755435944, 0.38907167315483093, 0.6490572094917297, 0.4135946035385132, -0.13060809671878815, 0.14951780438423157, -0.2950235605239868, 0.2177165448665619, 0.5084567070007324, -0.45757728815078735, -0.34137436747550964, 0.3104332983493805, -0.051442574709653854, -0.39859360456466675, 0.8048384785652161, -0.5649065375328064, -0.7545931339263916, 0.5662570595741272, 0.526328980922699, 0.9321534037590027, 0.14247648417949677, 0.13537290692329407, 0.5803017020225525, 0.18754234910011292, 0.20310956239700317, 0.045119255781173706, -0.2332339733839035, -0.8795385956764221, 0.22044457495212555, -0.8938900828361511, -0.24499699473381042, 0.0842142403125763, -0.6067103743553162, 0.5150222778320312, -0.18039824068546295, -0.5290830135345459, 0.6549074649810791, -0.26824334263801575, -0.81411212682724, 0.10077051818370819, 0.10964247584342957, 0.9022699594497681, -0.6468104720115662, 0.857404351234436, 0.7448034286499023, -0.35653987526893616, -0.7205005884170532, 0.1368366926908493, -0.004497531335800886, -0.45380324125289917, 0.8912227749824524, 0.011362268589437008, -0.11382336914539337, 0.26668933033943176, -0.32810458540916443, -0.8439756631851196, 0.6842626929283142, 0.253606915473938, -0.43976834416389465, -0.1275688260793686, 0.04698174074292183, 0.606555700302124, -0.31992435455322266, 0.049210935831069946, 0.3321487307548523, 0.679144561290741, 0.062313225120306015, -0.8007174730300903, -0.0851510688662529, -0.4528285264968872, -0.1402919739484787, 0.5795024037361145, -0.4893522262573242, 0.5376513600349426, -0.2272225320339203, -0.446003258228302, 0.042015206068754196, 0.7758385539054871, -0.17373114824295044, 0.3795863091945648, 0.5402377843856812, 0.4329237937927246, 0.8639910817146301, -0.3613015115261078, 0.5734906792640686, -0.2844015061855316, 0.13306057453155518, 1.2534847259521484, -0.36467596888542175, 0.9351646900177002, 0.5056477189064026, -0.1811542809009552, 0.6100934147834778, 0.7832842469215393, -0.4448932409286499, 0.6809679269790649, 0.2741304934024811, -0.4486216902732849, -0.3454638719558716, -0.20384764671325684, -0.13872107863426208, 0.5211021900177002, 0.22583329677581787, -0.23034489154815674, -0.3594112694263458, 0.021242858842015266, 0.3893016278743744, -0.3854176998138428, 0.14108049869537354, 1.081950306892395, 0.07930441945791245, -0.49133428931236267, 0.38890987634658813, 0.03550909459590912, 0.2901875674724579, -0.5961265563964844, 0.0768563523888588, -0.07454366981983185, 0.019302787259221077, -0.08157818019390106, -0.3473180830478668, 0.25175973773002625, 0.15283028781414032, -0.42064839601516724, 0.15760710835456848, 0.6072972416877747, -0.3945621848106384, -0.6622564792633057, 0.5044867992401123, 0.8189584016799927, 0.5636226534843445, -0.27279889583587646, 0.05925304442644119, -0.5245122909545898, -0.3970945477485657, -0.28294792771339417, 0.30823108553886414, 0.9128217101097107, -0.25514814257621765, 0.19413542747497559, 0.43072330951690674, -0.026157036423683167, 0.24070236086845398, 0.08385654538869858, 0.8576006293296814, -0.7263357043266296, -0.17095470428466797, -0.7574857473373413, 0.2566184103488922, -0.11367656290531158, -0.20009446144104004, 0.5734880566596985, 0.8486137986183167, 1.277131199836731, -0.16919712722301483, 0.9852323532104492, -0.5872352719306946, 0.5614071488380432, -0.31165602803230286, 0.6104196906089783, -0.712931752204895, -0.16921129822731018, -0.11975649744272232, -0.8581835031509399, -0.051675088703632355, 0.4552714228630066, -0.22202236950397491, 0.0063265664502978325, 0.710414707660675, 0.9575861692428589, -0.19156871736049652, 0.09615913033485413, 0.3054578900337219, 0.09174250066280365, -0.2173755168914795, 0.2969515323638916, 0.7283549308776855, -0.25450432300567627, 0.3936011493206024, -0.2933056950569153, -0.04406621307134628, -0.19429126381874084, -0.7004671692848206, -0.852683961391449, -0.8271307945251465, -0.12839041650295258, -0.28542008996009827, 0.3168388903141022, 1.0374506711959839, 0.8626705408096313, -1.2438569068908691, -0.08012231439352036, 0.141211599111557, 0.0603472962975502, -0.2994164228439331, -0.20038805902004242, 0.2823489010334015, -0.3066437542438507, -0.8920854330062866, 0.4104337990283966, 0.01726546138525009, -0.11195402592420578, 0.28559473156929016, 0.01820315420627594, 0.04116503894329071, 0.119651198387146, 0.3756506145000458, 0.2893317639827728, -0.7523913383483887, -0.32678720355033875, 0.23404759168624878, -0.3391888737678528, 0.16249841451644897, 0.7234528660774231, -0.5426136255264282, 0.16162404417991638, 0.3945188522338867, 0.6363957524299622, 0.663408637046814, -0.19129106402397156, 0.19027133285999298, -0.6388021111488342, -0.010658896528184414, 0.22471347451210022, 0.5010497570037842, 0.4608176350593567, -0.14274339377880096, 0.6361046433448792, 0.40738147497177124, -0.34221404790878296, -0.4867810904979706, 0.05707024037837982, -1.0370346307754517, -0.07334284484386444, 0.9795597791671753, -0.16392862796783447, 0.025582613423466682, -0.49933236837387085, -0.10246095806360245, 0.5337871313095093, -0.5255624651908875, 0.6384655833244324, 1.189199686050415, -0.16025561094284058, -0.249860480427742, -0.6798809766769409, 0.2638840079307556, 0.03259122371673584, -0.7858961820602417, 0.01905415765941143, 0.6323287487030029, 0.524470865726471, 0.14487986266613007, 0.6776838302612305, 0.06435932219028473, 0.05885722115635872, 0.16264675557613373, 0.034142594784498215, -0.010461396537721157, -0.3645073473453522, 0.016276579350233078, 0.12336185574531555, -0.10899264365434647, 0.0427568219602108 ]
http://arxiv.org/abs/2403.13037v1
http://arxiv.org/pdf/2403.13037v1
BiLoRA: A Bi-level Optimization Framework for Overfitting-Resilient Low-Rank Adaptation of Large Pre-trained Models
2024-03-19T14:11:20
2024-03-19T14:11:20
Rushi Qiang, Ruiyi Zhang, Pengtao Xie
cs.LG
cs.LG, cs.CL
Low-rank adaptation (LoRA) is a popular method for fine-tuning large-scale pre-trained models in downstream tasks by learning low-rank incremental matrices. Though LoRA and its variants effectively reduce the number of trainable parameters compared to full fine-tuning methods, they often overfit training data, resulting in sub-optimal generalization on test data. To address this problem, we introduce BiLoRA, an overfitting-alleviating fine-tuning approach based on bi-level optimization (BLO). BiLoRA employs pseudo singular value decomposition to parameterize low-rank incremental matrices and splits the training of pseudo singular vectors and values across two different subsets of training data. This division, embedded within separate levels of the BLO framework, mitigates the risk of overfitting to a single dataset. Tested on ten datasets covering natural language understanding and generation tasks and applied to various well-known large pre-trained models, BiLoRA significantly outperforms LoRA methods and other fine-tuning approaches, with similar amounts of trainable parameters.
[ -0.48779603838920593, -0.8238845467567444, 0.21216638386249542, 0.26895731687545776, -0.30655941367149353, 0.10754469782114029, -0.15086694061756134, -0.42186999320983887, -0.28508132696151733, 0.2677820324897766, -0.4400193691253662, -0.20932483673095703, -0.4319530129432678, -0.19375914335250854, -0.17516425251960754, 1.4331361055374146, 0.16647683084011078, 0.007959139533340931, 0.05975161865353584, -0.12956158816814423, -0.770055890083313, -0.47322186827659607, -0.6561586260795593, -0.19832633435726166, 1.1385257244110107, 0.5723052620887756, 0.47737520933151245, 0.13404668867588043, 0.2995380759239197, 0.15459133684635162, -0.08668810874223709, 0.38144198060035706, -1.2861480712890625, -0.014984827488660812, -0.6612541675567627, -0.5881664156913757, -0.5315548181533813, -0.09334226697683334, 0.7648001313209534, 0.897185742855072, -0.026562845334410667, 0.6330926418304443, 0.04452436789870262, 0.9792723059654236, -1.234465479850769, 0.05646985024213791, -1.0258785486221313, -0.22215861082077026, -0.14728163182735443, -0.3756124973297119, -0.29025140404701233, -0.4519294202327728, 0.08527146279811859, -0.5846449732780457, 0.01253770012408495, 0.2774035334587097, 0.9720640182495117, 0.5562273263931274, -0.2550228238105774, 0.058907702565193176, -1.0586177110671997, 0.6150919795036316, -0.6997693181037903, 0.2909744679927826, 0.3345470428466797, 0.49900588393211365, -0.18286018073558807, -0.2971597909927368, -0.5301451086997986, 0.23636741936206818, 0.21266967058181763, 0.27875131368637085, -0.27267783880233765, -0.0043081860058009624, 0.1075240969657898, 0.3670886158943176, -0.7732971906661987, 0.3754804730415344, -0.7376911044120789, 0.24928037822246552, 0.3994138240814209, -0.25851762294769287, -0.004676301497966051, 0.2895377278327942, -0.34227415919303894, -0.14396949112415314, -0.8185185194015503, 0.15394634008407593, 0.28473666310310364, 0.7450861930847168, 0.08281005918979645, 0.3666554093360901, 0.010203901678323746, 0.8160611391067505, 0.21706457436084747, 0.12990093231201172, 0.19861653447151184, -0.3253108263015747, -0.6904162168502808, 0.4106222987174988, 0.05721580237150192, 0.04773496091365814, 0.3475818932056427, -0.2325475662946701, -0.04630790650844574, 0.25398874282836914, 0.4096841812133789, -0.9133813381195068, -0.20480228960514069, 0.11446131020784378, -0.317123144865036, -0.18889246881008148, -0.20086559653282166, -0.9781391024589539, -0.3102489113807678, -0.4045812487602234, 0.7262287139892578, -0.06406629085540771, -0.028370723128318787, 0.33736279606819153, 0.25856587290763855, 0.2140973061323166, 0.3176844120025635, -0.7359068989753723, 0.16777750849723816, 0.5407522916793823, 0.7846726179122925, -0.022190434858202934, -0.4877769351005554, -1.1592909097671509, 0.33571380376815796, -0.6654039025306702, 0.8195508718490601, -0.23454488813877106, -0.23816095292568207, -0.13644517958164215, -0.05702171102166176, -0.44755521416664124, -0.41103246808052063, 0.23698587715625763, -0.6822080612182617, 0.2078409492969513, -0.18092240393161774, -0.14513902366161346, -0.28149667382240295, 0.3141743838787079, -0.43985673785209656, 0.9499319791793823, 0.5545998811721802, -0.6447831988334656, 0.5658637881278992, -0.9435306787490845, -0.36719492077827454, -0.21845775842666626, 0.44278430938720703, -0.7376794219017029, 0.32240599393844604, -0.1691257804632187, 0.02737640030682087, -0.6153020262718201, -0.2484206259250641, -0.4624950587749481, -0.24192695319652557, -0.15461361408233643, -0.10324274003505707, 0.49487701058387756, 0.1432342827320099, -0.2106674313545227, 0.42787835001945496, -0.9163054823875427, 0.17817412316799164, 0.009026190266013145, -0.44698718190193176, -0.45734578371047974, -0.1540258675813675, -0.05218978226184845, 0.3120507597923279, 0.264644056558609, -0.6055085062980652, 0.2213602066040039, -0.7464973330497742, 0.2995133399963379, 0.7688931226730347, 0.18850122392177582, 0.41822350025177, -0.3032870590686798, 0.3550315797328949, 0.1266821175813675, 0.4927000105381012, 0.3879687488079071, -0.3367239236831665, -0.9271649718284607, -0.38042017817497253, 0.43163400888442993, 0.6928050518035889, -0.6132867336273193, 0.5689236521720886, -0.3328016996383667, -0.8292496204376221, -0.5675491690635681, 0.5913571715354919, 0.5800624489784241, 0.632524311542511, 0.7908340096473694, -0.16850979626178741, -0.42199429869651794, -0.8274173140525818, 0.032811783254146576, -0.07916594296693802, 0.1425672173500061, -0.3714374601840973, 0.474543958902359, -0.5205191373825073, 0.9266474843025208, -0.43268823623657227, -0.5049150586128235, -0.30392223596572876, 0.14583955705165863, 0.2258840948343277, 0.5984216332435608, 0.9859308004379272, -0.6120703220367432, -0.5141050815582275, 0.3007011413574219, -0.24286265671253204, -0.1022229790687561, -0.13139444589614868, -0.6348557472229004, 0.19049714505672455, 0.25408700108528137, -0.2065679430961609, 0.7002677321434021, 0.7091538310050964, -0.3148367702960968, 0.13553398847579956, -0.5725610256195068, -0.28946033120155334, -0.9854035377502441, 0.3316374123096466, -0.21411827206611633, -0.23845481872558594, -0.6448920369148254, -0.1747220754623413, -0.06283336877822876, -0.25840526819229126, -0.027927452698349953, 0.3254576325416565, -0.4261581301689148, -0.439797043800354, -0.37899553775787354, 0.013043126091361046, 0.1824917048215866, 0.7808680534362793, -0.38457363843917847, 0.594999372959137, 0.4555685222148895, -0.4523257315158844, 0.03471144288778305, 0.3835625648498535, -0.3320471942424774, 0.6539779305458069, -0.7151731848716736, 0.3036372661590576, -0.28794237971305847, 0.03214573860168457, -0.9501198530197144, 0.2459934651851654, 0.19108150899410248, -0.0481095165014267, 0.2555825710296631, -0.4663926362991333, -0.49364709854125977, -0.1385098248720169, -0.3452267646789551, 0.505273699760437, 0.3333614468574524, -0.5559906363487244, 0.4746056795120239, 0.13718712329864502, -0.30749621987342834, -0.2192586064338684, -0.5050274133682251, -0.24686864018440247, -0.22121334075927734, -0.2516821324825287, 0.07875757664442062, -0.46049419045448303, 0.13524632155895233, -0.3750157356262207, 0.04308904707431793, -0.09726253896951675, 0.30283334851264954, 0.17804183065891266, 0.33905383944511414, -0.3279739320278168, -0.20525339245796204, 0.3276546001434326, -0.24172039330005646, -0.3762240409851074, -0.2091445028781891, 0.647987425327301, -0.1616404503583908, -0.4230460226535797, -0.20832695066928864, 0.4070909321308136, 0.7320494651794434, -0.44354790449142456, 0.9556354880332947, 0.5484646558761597, -0.38375356793403625, -0.44039326906204224, -0.22871552407741547, 0.19487658143043518, -0.43247801065444946, 0.40005409717559814, -0.3091629445552826, -0.19498689472675323, 0.4576784074306488, -0.10900072008371353, 0.44416704773902893, 0.048971857875585556, 0.629302442073822, 0.016506971791386604, 0.9893611669540405, 0.7390548586845398, -0.42743074893951416, 0.6507598161697388, -0.48976829648017883, 0.49966341257095337, -0.5803706049919128, -0.011087317951023579, -0.6340181231498718, -0.6161566972732544, -0.34376510977745056, -0.4475085735321045, 0.43986818194389343, 0.2726035416126251, -0.5859305262565613, 0.1555803418159485, -0.5044721961021423, 0.29302212595939636, 0.5803283452987671, -0.003986509516835213, 0.262478232383728, -0.05007059499621391, 0.6246231198310852, 0.3567614257335663, -0.8071231842041016, -0.008657977916300297, 0.8577044606208801, 0.2849489450454712, 0.6296094059944153, 0.3404516875743866, 0.3859795033931732, 0.3569526970386505, 0.35909679532051086, -0.6911044716835022, -0.0025029515381902456, -0.20698119699954987, -0.6590532064437866, -0.6090997457504272, -0.49045640230178833, -1.182889699935913, 0.22830237448215485, -0.38015657663345337, -0.6668937802314758, 0.8523196578025818, 0.3487224280834198, -0.611050009727478, 0.22168277204036713, -0.8461987376213074, 1.0201528072357178, -0.33420199155807495, -0.3652828335762024, -0.2809177339076996, -0.6802419424057007, 0.03503389656543732, -0.4397471845149994, 0.2590683400630951, 0.07004795223474503, 0.20793123543262482, 0.4559565782546997, -0.341418594121933, 0.7843178510665894, -0.4248557984828949, -0.2666358947753906, -0.03595690429210663, -0.0017585295718163252, 0.5002133250236511, -0.0656881332397461, -0.23875883221626282, -0.01472383737564087, 0.4488754868507385, -0.9679130911827087, -0.7890011072158813, 0.49901100993156433, -1.0218933820724487, -0.11664421856403351, -0.33521828055381775, -0.532553493976593, -0.62131667137146, 0.25348737835884094, 0.36331483721733093, 0.4969581067562103, 0.049509625881910324, 0.34381046891212463, 0.48432040214538574, -0.21142706274986267, 0.1235860288143158, 0.3879029154777527, -0.1509401798248291, -0.4359111785888672, 1.2753149271011353, 0.21587474644184113, 0.4665534496307373, 0.23290355503559113, 0.23020707070827484, 0.014130632393062115, -0.9628102779388428, -0.47066041827201843, 0.13948872685432434, -0.5093379616737366, -0.4249722361564636, 0.11752920597791672, -0.27566832304000854, -0.29096975922584534, -0.3592408001422882, -0.545798122882843, -0.10206618160009384, -0.20517955720424652, -0.05518274009227753, 0.15018664300441742, 0.6129233837127686, -0.014526799321174622, 0.4361971318721771, -0.5816831588745117, 0.47367310523986816, 0.33742669224739075, 0.182182177901268, -0.0807284414768219, -0.7240477800369263, -0.5101031064987183, 0.1659647822380066, -0.014611841179430485, -0.481527715921402, 0.38704320788383484, 0.5985895395278931, 0.49627211689949036, 0.36367112398147583, 0.20174472033977509, 1.016886591911316, -0.26174402236938477, 0.23830071091651917, 0.24346061050891876, -0.7538851499557495, 0.4900077283382416, -0.3067028224468231, 0.26348328590393066, 1.0570852756500244, 0.22309057414531708, -0.01664985530078411, 0.14587950706481934, -0.1566154658794403, -0.8683919906616211, 0.47290852665901184, 0.2550298571586609, -0.005781717598438263, 0.5774472951889038, 0.4183014929294586, 0.2636973559856415, 0.2759392261505127, -0.6525877118110657, -0.11407093703746796, -0.6666814684867859, -0.18919284641742706, -0.356191486120224, -0.33750995993614197, -0.31000640988349915, -0.3827076554298401, 0.7392451167106628, -0.399567186832428, -0.11686672270298004, 0.06410649418830872, -0.4745844304561615, -0.2642030119895935, 0.11218447983264923, 0.6490515470504761, 0.8945431113243103, -0.48655009269714355, -0.10601244121789932, 0.3425668179988861, -0.36438027024269104, -0.10971546173095703, 0.21957355737686157, -0.20087416470050812, -0.37558338046073914, 0.36286628246307373, 0.9799321889877319, 0.4851754605770111, -0.4441635012626648, 0.19065892696380615, 0.19661468267440796, -0.030198650434613228, -0.032141972333192825, 0.1373981535434723, -0.31393948197364807, 0.25105348229408264, 0.4645124077796936, 0.034203410148620605, -0.05403193086385727, -0.9538975954055786, -0.2060370147228241, 0.08339423686265945, -0.23795750737190247, -0.5485369563102722, 0.3142146170139313, 0.10839644074440002, -0.21448971331119537, 0.11947822570800781, -0.1686163693666458, -0.3886292576789856, 0.2340984046459198, 0.5061860084533691, 0.485438734292984, -0.182095468044281, 0.08029475063085556, 0.22095420956611633, 0.18628008663654327, 0.1524456888437271, 0.33830055594444275, 0.11507051438093185, -0.5664293766021729, -0.23007303476333618, -0.8449280858039856, -0.2456245720386505, 0.06488027423620224, -0.7427245378494263, 0.13504698872566223, -0.9489012360572815, -0.07868906110525131, 0.042753592133522034, 0.20661547780036926, -0.5061389803886414, 0.140218123793602, 0.1727830171585083, 0.8290960192680359, -0.7483869791030884, 0.8786411285400391, 0.5865676403045654, -0.6495264768600464, -0.5395047664642334, -0.16676655411720276, -0.4847325086593628, -0.5798601508140564, 0.5490772128105164, -0.25991204380989075, -0.2661544382572174, 0.3244868814945221, -0.3346118927001953, -0.9206184148788452, 0.9694563746452332, 0.8971737027168274, -0.43684160709381104, -0.47085505723953247, 0.2014065980911255, 0.7482888102531433, -0.23907555639743805, -0.21216577291488647, 0.6435810327529907, 0.7336850166320801, 0.043292660266160965, -1.0121315717697144, -0.30618369579315186, -0.18892432749271393, 0.0522579662501812, 0.006145480088889599, -0.7094318866729736, 0.7419970631599426, 0.017657771706581116, 0.055947478860616684, 0.0440736785531044, 0.5532892346382141, 0.31808170676231384, 0.5582387447357178, 0.8593692779541016, 0.2879471480846405, 0.8257730007171631, 0.30451926589012146, 0.7206596732139587, -0.1722937822341919, 0.3955233097076416, 1.3387961387634277, -0.4912177324295044, 0.8076225519180298, 0.4217418432235718, -0.0008898437372408807, 0.8166351318359375, 0.7679132223129272, 0.07785151153802872, 0.7385987043380737, 0.30338144302368164, 0.1848359853029251, -0.32369887828826904, 0.13807880878448486, -0.46075868606567383, 0.5110909938812256, 0.27697670459747314, 0.05941101536154747, -0.44102028012275696, 0.17868880927562714, -0.11318548768758774, -0.03570147603750229, -0.6363272070884705, 0.7428383231163025, -0.08074785768985748, -0.5682565569877625, 1.08345365524292, -0.37081336975097656, 0.3211909234523773, -0.728352963924408, 0.13170666992664337, -0.27347928285598755, 0.4687120020389557, -0.2820723056793213, -0.12527988851070404, 0.14443542063236237, -0.08201830089092255, -0.4569471776485443, 0.0466812402009964, 0.5584987998008728, -0.34686940908432007, -0.7108979225158691, 0.6253968477249146, 0.4518008530139923, -0.12199747562408447, -0.27070677280426025, -0.6762382388114929, -0.03737853467464447, -0.25778964161872864, -0.3777540326118469, 0.6420803070068359, 0.42345136404037476, -0.19680963456630707, 0.7722482681274414, 0.9951480627059937, 0.3583778142929077, 0.22594064474105835, 0.2573573887348175, 1.1960593461990356, -0.25355955958366394, -0.5753564834594727, -0.3255522549152374, 0.3446609079837799, -0.05786774680018425, -0.3582088053226471, 0.47809910774230957, 0.7634890675544739, 0.6656240820884705, 0.11343421041965485, 0.6252951622009277, 0.23507297039031982, 0.658817708492279, -0.5305748581886292, 0.7853943705558777, -0.7144173979759216, -0.001958512468263507, -0.38887742161750793, -1.1592379808425903, -0.13362152874469757, 0.6057256460189819, -0.46057718992233276, 0.01723606325685978, 0.28512242436408997, 0.7249196171760559, -0.3684176504611969, -0.44662439823150635, 0.6127018928527832, 0.3678228557109833, 0.275555819272995, 0.7105215191841125, 0.5171753764152527, -0.31289565563201904, 0.6248009204864502, 0.06370548158884048, -0.30315732955932617, -0.44701460003852844, -0.6435468792915344, -1.053178071975708, -0.5172619819641113, -0.058203961700201035, -0.03554445877671242, 0.288124144077301, 0.6871333718299866, 1.0842297077178955, -1.0675147771835327, -0.013013573363423347, 0.08092308044433594, -0.02905040606856346, -0.1476079225540161, -0.1447829008102417, 0.4087446630001068, -0.3905969262123108, -0.6921206116676331, 0.6258878111839294, 0.29502564668655396, -0.0313236229121685, -0.5028190612792969, -0.04546646773815155, -0.5875738859176636, 0.2969425320625305, 0.7202569246292114, 0.6633408665657043, 0.023505045101046562, -0.5176820158958435, -0.3444209098815918, 0.0919567346572876, 0.06817116588354111, 0.7086100578308105, -0.5992762446403503, 0.30505186319351196, 0.6345835328102112, 0.7338241934776306, 0.6357218027114868, 0.31158414483070374, 0.6918470859527588, -0.5164031386375427, 0.42027395963668823, 0.05341799929738045, 0.3376255929470062, 0.20059174299240112, -0.33061346411705017, 0.688495934009552, 0.029894061386585236, -0.5066719055175781, -1.3727152347564697, 0.15223395824432373, -1.2970341444015503, -0.4606201648712158, 0.9300035238265991, -0.22483788430690765, -0.292287141084671, -0.4958043098449707, -0.3252526521682739, 0.3902497887611389, -0.21060214936733246, 1.0157301425933838, 0.16038799285888672, 0.013540669344365597, 0.0603339821100235, -0.534631609916687, 0.47125333547592163, 0.5818476676940918, -1.209633231163025, 0.28695839643478394, 0.2862134873867035, 0.21255572140216827, 0.3340734839439392, 0.0738050788640976, 0.24884261190891266, 0.30908599495887756, -0.48784545063972473, -0.12982437014579773, -0.18256166577339172, -0.5180084109306335, -0.10587967932224274, 0.1371922641992569, 0.3340327739715576, -0.2125047743320465 ]
http://arxiv.org/abs/2403.12744v1
http://arxiv.org/pdf/2403.12744v1
Instructing Large Language Models to Identify and Ignore Irrelevant Conditions
2024-03-19T14:07:28
2024-03-19T14:07:28
Zhenyu Wu, Chao Shen, Meng Jiang
cs.CL
cs.CL
Math word problem (MWP) solving requires generating a reasoning path based on a given problem description that often contains irrelevant conditions. Existing chain-of-thought (CoT) prompting methods elicited multi-step reasoning abilities of large language models (LLMs) to solve MWPs. However, they were seriously confused by the irrelevant conditions, resulting in low accuracy. In this paper, we propose a novel approach named I$^3$C that instructs LLMs to identify and ignore irrelevant conditions. It identifies a set of irrelevant condition candidates that have a weak semantic relevance with the question. Then it prompts LLMs to verify the irrelevant conditions. Lastly it instructs the LLMs with the verification on relevant and irrelevant conditions to avoid confusion and improve reasoning paths. Moreover, we propose to select (problem, reasoning paths) pairs as demonstrations to enhance I$^3$C with few-shot reasoning. We develop I$^3$C-Select that selects the most confusing problems based on the semantic relevance measurement. We conduct extensive experiments on eight MWP datasets. I$^3$C can be combined with any CoT prompting methods to improve the performance of solving MWPs. Notably, with GPT-3.5-Turbo and I$^3$C-Select, we achieve an accuracy of 96.0 and 94.1 on GSM-IC2-1K and GSM-ICM-1K, respectively, significantly outperforming the state-of-the-art few-shot prompting method Complex-CoT by +11.7 and +11.1. Our implementation is made publicly available at https://wzy6642.github.io/I3C.github.io/.
[ -0.5468840003013611, -0.9937899708747864, 0.9533684253692627, 0.38647907972335815, -0.1999291628599167, 0.04892395809292793, -0.15269286930561066, -0.3687821626663208, -0.22503577172756195, 0.38313671946525574, -0.7649069428443909, -0.5670356750488281, -0.6946603655815125, 0.04480765759944916, -0.14289113879203796, 0.5147274136543274, -0.23411397635936737, 0.08984467387199402, 0.04921881854534149, -0.11615223437547684, -0.6501666903495789, -0.29049116373062134, -0.5438894033432007, -0.37394365668296814, 0.39271941781044006, 0.7925864458084106, 0.6719813346862793, 0.24443654716014862, 0.4870411455631256, 0.23082709312438965, -0.23469409346580505, 0.3611082434654236, -0.3353253901004791, -0.13588012754917145, -0.18376855552196503, -0.2772052586078644, -0.16846755146980286, -0.013644522987306118, 0.44628044962882996, 0.6524685621261597, 0.11733882874250412, 0.08752276003360748, 0.1088891550898552, 0.7972762584686279, -0.8774858713150024, 0.23727171123027802, -1.1257109642028809, -0.05597104877233505, -0.28045976161956787, -0.4667513370513916, -0.5582689642906189, -0.21388350427150726, -0.15139347314834595, -0.5298852920532227, 0.056673966348171234, 0.10595552623271942, 0.6325384378433228, 0.061624012887477875, -0.3112827241420746, -0.3268752992153168, -0.715064525604248, 0.5727491974830627, -0.7081501483917236, 0.08687516301870346, 0.7320691347122192, 0.2955567240715027, -0.462313175201416, -0.16710181534290314, -0.7920480966567993, -0.05485433712601662, 0.056296445429325104, 0.19867926836013794, -0.31040388345718384, 0.17422550916671753, 0.5648081302642822, -0.06545223295688629, -0.3381398320198059, 0.15932324528694153, -0.5846429467201233, -0.14903703331947327, 0.341256320476532, 0.22439558804035187, 0.15572647750377655, -0.03588635474443436, -0.10661793500185013, 0.2707819938659668, -1.163205862045288, -0.006059611216187477, 0.40846502780914307, 0.285757839679718, -0.09526173770427704, 0.736393392086029, -0.25211095809936523, 1.11331045627594, 0.01765623688697815, -0.23345549404621124, -0.12420834600925446, 0.06302367895841599, -0.048532117158174515, -0.13887622952461243, 0.49848395586013794, 0.0034045539796352386, 0.25323382019996643, 0.09984328597784042, -0.029501479119062424, -0.08824196457862854, 0.04420555755496025, -0.6314647793769836, 0.03637276962399483, 0.3283865451812744, -0.15440790355205536, 0.05682371184229851, -0.19554632902145386, -0.30093756318092346, -0.10001173615455627, -0.3199613094329834, 0.688068151473999, -0.6100803017616272, -0.0984247699379921, 0.15897542238235474, 0.19213660061359406, 0.2244795709848404, 0.4370839595794678, -1.0246282815933228, 0.25247347354888916, 0.8283616900444031, 0.7716546654701233, 0.013528834097087383, -0.33646491169929504, -0.7411095499992371, 0.173848956823349, -0.4331100285053253, 0.6661601662635803, -0.46731868386268616, -0.31757262349128723, -0.1000334769487381, -0.35040897130966187, -0.04146376624703407, -0.556281566619873, 0.4388677775859833, -0.5420110821723938, 0.14765654504299164, -0.1258368343114853, -0.5831100940704346, -0.2422589212656021, 0.4977002739906311, -0.36042875051498413, 0.8667571544647217, 0.1870887577533722, -0.7738531231880188, 0.006877202074974775, -0.5121955871582031, -0.17436100542545319, 0.019628778100013733, -0.1987663358449936, -0.2714206874370575, -0.11054927855730057, 0.5067070722579956, 0.579613208770752, -0.3724510371685028, 0.2068786770105362, -0.5033760070800781, -0.5785908102989197, -0.05696183070540428, -0.5028276443481445, 0.6374679803848267, 0.16767777502536774, -0.44000187516212463, -0.038316819816827774, -0.7506229281425476, 0.36493119597435, 0.0021866438910365105, -0.22927044332027435, -0.11902576684951782, -0.055069755762815475, -0.46664318442344666, 0.36228787899017334, -0.1728203147649765, -0.3607077896595001, 0.20848441123962402, -0.4939507842063904, 0.2667059004306793, 0.7841384410858154, 0.07083263248205185, 0.31398507952690125, -0.20076791942119598, 0.6288409233093262, 0.11155039072036743, 0.13057170808315277, 0.0062046595849096775, -0.7692994475364685, -0.8429709672927856, -0.19041801989078522, -0.007438634522259235, 0.7028409838676453, -1.1829763650894165, 0.27476319670677185, -0.10464069992303848, -0.2779500186443329, -0.31388261914253235, 0.09945234656333923, 0.45513373613357544, 0.6608151793479919, 0.6325803399085999, 0.5167596936225891, -0.17865999042987823, -0.7521600723266602, -0.5133043527603149, -0.270502507686615, 0.06540414690971375, 0.12779615819454193, 0.284203439950943, -0.014586154371500015, 0.8129180073738098, -0.6213039755821228, -0.2064458578824997, -0.17577677965164185, 0.17218537628650665, 0.466339647769928, 0.4835606515407562, 0.2438378483057022, -0.5194482803344727, -0.3993600010871887, -0.27084070444107056, -0.33402714133262634, -0.2242256999015808, -0.044952429831027985, -0.2026427835226059, 0.1514492928981781, 0.687598466873169, -0.5574504733085632, 0.5786836743354797, 0.4759041666984558, -0.34904301166534424, 0.4374210238456726, -0.02164885401725769, 0.13107573986053467, -0.7426003217697144, -0.03975299000740051, 0.07765652984380722, -0.279445618391037, -0.3100184500217438, 0.06796380132436752, 0.26066699624061584, -0.23862643539905548, -0.6847441792488098, 0.6470128893852234, -0.4644550085067749, 0.08340490609407425, -0.22951799631118774, 0.4316677749156952, -0.06223636865615845, 0.5763113498687744, -0.17720964550971985, 0.6904132962226868, 0.4470179080963135, -0.7994317412376404, -0.06133030727505684, 0.09876943379640579, -0.2742115259170532, 0.49124494194984436, -0.16074319183826447, 0.0651741698384285, -0.09985140711069107, 0.2606644630432129, -0.8443390130996704, 0.04945991933345795, 0.4293183386325836, -0.37571197748184204, 0.13492633402347565, -0.34965604543685913, -0.6572762727737427, -0.6821821331977844, -0.04124590754508972, 0.5041191577911377, 0.3820602595806122, -0.7636348009109497, 0.5048091411590576, -0.002907915273681283, -0.0799088105559349, -0.6227713823318481, -0.31943464279174805, -0.01745433919131756, -0.09419524669647217, -0.4283706843852997, 0.22519977390766144, -0.20117424428462982, -0.32801035046577454, -0.15626631677150726, -0.29390060901641846, -0.19370713829994202, 0.18198159337043762, 0.0828780084848404, 0.5233790874481201, 0.06546308845281601, 0.1985497921705246, 0.03096511773765087, -0.4137692451477051, 0.05896677449345589, -0.2057531177997589, 0.4420429766178131, -0.16583606600761414, -0.6243578195571899, -0.34255287051200867, 0.47596490383148193, 0.32449641823768616, -0.03732642903923988, 0.3127882182598114, 0.6543431878089905, -0.511184573173523, -0.14030487835407257, -0.703342854976654, -0.133690744638443, -0.5038772821426392, 0.1557941436767578, -0.7051734328269958, -0.9409022927284241, 0.3772640526294708, -0.10497548431158066, 0.045682039111852646, 0.3807995021343231, 0.5301305651664734, 0.0737418532371521, 1.3628212213516235, 0.36393022537231445, 0.09152205288410187, 0.3116457760334015, -0.3344290554523468, 0.5168788433074951, -1.0184762477874756, -0.19728395342826843, -0.4880729019641876, 0.024689121171832085, -0.3887820243835449, -0.5097074508666992, 0.7588871121406555, 0.4415232539176941, -0.12426311522722244, 0.18321043252944946, -0.4747384190559387, 0.7889522910118103, 0.13496224582195282, 0.28028473258018494, 0.2184406816959381, -0.2600559592247009, -0.3143124282360077, -0.04444785788655281, -0.7296938896179199, -0.3456343412399292, 0.8100332021713257, 0.11355355381965637, 0.61644047498703, 0.33946284651756287, 0.6652878522872925, -0.10787747800350189, 0.4759368598461151, -1.1579453945159912, 0.595950186252594, 0.09304740279912949, -0.576222836971283, -0.020737353712320328, -0.5722689628601074, -0.9855728149414062, 0.5249075293540955, -0.3189811408519745, -1.028559684753418, -0.11943820118904114, 0.3946754038333893, -0.4791666269302368, 0.43977224826812744, -0.7969771027565002, 0.36991986632347107, 0.019457882270216942, -0.45030102133750916, -0.4084184169769287, -0.49949660897254944, 0.6677360534667969, 0.08159836381673813, 0.38485977053642273, -0.5227351784706116, 0.011191041208803654, 0.3821215033531189, -0.6021678447723389, 0.4747650921344757, -0.116575688123703, -0.21752682328224182, 0.5371202826499939, 0.4939631223678589, 0.8055068254470825, 0.07183005660772324, -0.33785974979400635, -0.013251771219074726, -0.09912990778684616, -0.4125199019908905, -0.6090388894081116, 0.9496672749519348, -0.37192580103874207, -1.0068893432617188, -0.34442138671875, -0.5371081829071045, -0.8078952431678772, 0.28193968534469604, 0.22841398417949677, 0.5193082690238953, 0.2803034782409668, -0.03319436311721802, 0.4200972318649292, 0.030461063608527184, 0.6812286376953125, 0.5824373960494995, -0.0819593146443367, -0.2915900945663452, 0.7675846815109253, 0.15687480568885803, 0.6101833581924438, 0.3423692286014557, 0.4105450510978699, -0.15162938833236694, -0.5518949627876282, -0.5044335126876831, 0.059217944741249084, -1.0622597932815552, -0.5183566212654114, -0.7947490811347961, -0.19707058370113373, -0.09473593533039093, -0.32559022307395935, -0.08457143604755402, -0.38152042031288147, -0.5039100050926208, 0.15376868844032288, 0.35793572664260864, 0.533491849899292, 0.030612844973802567, 0.2888367772102356, -0.8814741373062134, 0.6541552543640137, 0.2851119339466095, 0.40136662125587463, 0.15166328847408295, -0.4423760771751404, -0.0032535106875002384, -0.02909356914460659, -0.45952552556991577, -0.6660021543502808, 0.13340137898921967, -0.09049741178750992, 0.4412902593612671, 0.23291637003421783, -0.10199058800935745, 1.060463786125183, -0.4781959354877472, 0.5769789814949036, 0.31885001063346863, -1.386830449104309, 0.5842002630233765, -0.41962099075317383, 0.6473990678787231, 0.6131001710891724, 0.3649122416973114, -0.1963471919298172, -0.590446412563324, -0.8356420397758484, -0.8693863153457642, 0.8318812847137451, 0.4080218970775604, -0.13531826436519623, -0.1619800478219986, 0.513710081577301, -0.11143958568572998, -0.18108271062374115, -0.8094706535339355, -0.12434303760528564, 0.233048677444458, -0.17150622606277466, 0.3704599440097809, -0.19555911421775818, 0.029901575297117233, -0.44199928641319275, 0.8976784348487854, -0.3976212441921234, 0.10884149372577667, 0.23807324469089508, -0.01533112395554781, -0.13430622220039368, 0.2894422113895416, 0.5995197892189026, 1.075821042060852, -0.07071780413389206, 0.2202313244342804, 0.3630926311016083, -0.322848916053772, 0.21072204411029816, -0.17816537618637085, 0.013185602612793446, -0.08767755329608917, 0.39784446358680725, 0.4539584815502167, 0.14662723243236542, -0.5072954297065735, 0.7110258936882019, 0.11987097561359406, -0.1900356411933899, -0.17982685565948486, 0.22615964710712433, 0.07315996289253235, 0.012916196137666702, 0.3375241160392761, 0.3132103383541107, 0.13954603672027588, -0.4520963430404663, -0.09307397902011871, 0.5546941161155701, -0.5105341672897339, 0.002251280704513192, 0.42981234192848206, 0.13679556548595428, -0.2534874975681305, 0.5625492334365845, -0.3522462248802185, -0.5733793377876282, 0.6317678689956665, 0.8177472352981567, 0.6848753094673157, 0.24516476690769196, 0.058266621083021164, 0.6125789284706116, 0.392557829618454, -0.15678001940250397, 0.535169243812561, -0.1403774917125702, -0.6623753309249878, -0.506660521030426, -0.07355394959449768, -0.5002702474594116, 0.20117609202861786, -0.5387234687805176, 0.7046706676483154, -0.6884094476699829, 0.11322060227394104, 0.1408463567495346, -0.14067956805229187, -0.7583934664726257, 0.14850161969661713, 0.13788732886314392, 0.9344406127929688, -0.5190629959106445, 0.7902538776397705, 0.05309445783495903, 0.007878009229898453, -1.202583909034729, 0.32023829221725464, 0.185503289103508, -1.032368540763855, 0.40011361241340637, 0.17767518758773804, -0.6016808152198792, 0.1544533222913742, -0.8084848523139954, -0.8538804650306702, 0.8350244164466858, 0.2940656542778015, -0.6487944722175598, 0.5114206075668335, -0.3825836181640625, 0.20945623517036438, -0.20866122841835022, 0.2870520055294037, 0.4789348244667053, 0.5805555582046509, 0.39557039737701416, -0.6303655505180359, 0.2044459879398346, -0.10716550797224045, -0.06237960234284401, 0.47114431858062744, -0.6163471937179565, 0.5952967405319214, -0.5975878238677979, -0.17194104194641113, 0.15121722221374512, 0.23719438910484314, 0.694774866104126, 0.18031559884548187, 0.5989300012588501, 0.3230303227901459, 0.5068828463554382, -0.13170011341571808, 0.9249141812324524, -0.02349555306136608, 0.3329615592956543, 1.0891520977020264, -0.30140921473503113, 0.8612526655197144, 0.6023788452148438, -0.15900617837905884, 0.2615000009536743, 0.5729392766952515, 0.23283341526985168, 0.40912434458732605, 0.4964803457260132, -0.47676515579223633, -0.43693190813064575, 0.30439209938049316, -0.3582512438297272, 0.5447182655334473, 0.6371609568595886, 0.1798827350139618, -0.411803662776947, -0.12049107998609543, 0.418583482503891, 0.00367800728417933, -0.35049372911453247, 0.6570213437080383, 0.08325354754924774, -0.9317444562911987, 0.9049749374389648, 0.13218867778778076, 0.5515744686126709, -0.7740334868431091, -0.34765714406967163, 0.03732159733772278, 0.04604393243789673, -0.2841656804084778, -0.7891242504119873, 0.28185203671455383, -0.13541433215141296, -0.1435350477695465, -0.0773761048913002, 0.5354455709457397, -0.35193049907684326, -0.6411202549934387, 0.1707371175289154, 0.37244489789009094, -0.03612957522273064, -0.06784048676490784, -0.64299476146698, 0.0707458108663559, -0.03373965993523598, 0.11111890524625778, 0.0037433288525789976, 0.5768616199493408, -0.28112179040908813, 0.891915500164032, 0.79327791929245, 0.17077043652534485, -0.318627268075943, 0.19306743144989014, 0.9343816637992859, -0.7918201088905334, -0.427152544260025, -1.0671497583389282, 0.32847854495048523, 0.06483520567417145, -0.46627694368362427, 0.5719519853591919, 0.39453089237213135, 0.541435956954956, 0.09205272048711777, 0.5277150869369507, 0.010414361953735352, 0.4050305485725403, -0.9206487536430359, 0.25481802225112915, -0.34095704555511475, 0.6491920948028564, -0.39712297916412354, -0.8807960748672485, -0.6462973356246948, 0.42301154136657715, -0.3720510005950928, -0.0930648148059845, 0.9331110119819641, 0.786279559135437, -0.20093315839767456, 0.006010669283568859, 0.3670046031475067, 0.21225687861442566, 0.46023163199424744, 0.6395360827445984, 1.0012887716293335, -0.3985748291015625, 0.6703668832778931, -0.15069861710071564, -0.21102820336818695, -0.26902252435684204, -1.0549418926239014, -0.8185184001922607, -0.416507363319397, -0.29409274458885193, -0.5862002968788147, -0.23516757786273956, 1.0873427391052246, 0.6950976848602295, -0.6054996848106384, 0.07784397900104523, -0.25739145278930664, 0.6873498558998108, -0.2506869435310364, -0.2355492115020752, 0.28040915727615356, -0.36939454078674316, -0.4266434609889984, 0.41328319907188416, 0.5384402275085449, 0.1632826179265976, -0.1595481038093567, 0.10973518341779709, -0.325401246547699, 0.16881567239761353, 0.728105902671814, 0.18582110106945038, -0.9610283970832825, -0.5222364664077759, -0.28478652238845825, -0.01655859872698784, 0.011266970075666904, 1.040750503540039, -0.7688618898391724, 0.4678060710430145, 0.3184768259525299, 0.34496092796325684, 0.5687534809112549, -0.21994876861572266, 0.3919150233268738, -0.6750281453132629, 0.4326813519001007, 0.4948492646217346, 0.456827849149704, 0.248260498046875, -0.5868657231330872, 0.4691479504108429, 0.11365444958209991, -0.28696176409721375, -0.46708929538726807, 0.42083513736724854, -0.8302892446517944, -0.2987752854824066, 1.3187562227249146, -0.0917106568813324, -0.12197494506835938, -0.19115778803825378, -0.35666462779045105, -0.2141544222831726, -0.07165344059467316, 0.8470909595489502, 0.7606789469718933, -0.27776363492012024, 0.002325659152120352, -0.5564205646514893, 0.39839181303977966, 0.5913512706756592, -0.9729549288749695, -0.12808531522750854, 0.45518583059310913, 0.24198856949806213, -0.16444216668605804, 0.8132911920547485, -0.2747802734375, 0.26034286618232727, -0.2400490939617157, -0.2549580931663513, 0.0859135091304779, -0.25288355350494385, -0.11777521669864655, -0.10222607105970383, 0.10692264884710312, -0.14720334112644196 ]
http://arxiv.org/abs/2403.12721v2
http://arxiv.org/pdf/2403.12721v2
CLASSLA-web: Comparable Web Corpora of South Slavic Languages Enriched with Linguistic and Genre Annotation
2024-03-19T13:30:47
2024-03-26T14:32:34
Nikola Ljubešić, Taja Kuzman
cs.CL
cs.CL
This paper presents a collection of highly comparable web corpora of Slovenian, Croatian, Bosnian, Montenegrin, Serbian, Macedonian, and Bulgarian, covering thereby the whole spectrum of official languages in the South Slavic language space. The collection of these corpora comprises a total of 13 billion tokens of texts from 26 million documents. The comparability of the corpora is ensured by a comparable crawling setup and the usage of identical crawling and post-processing technology. All the corpora were linguistically annotated with the state-of-the-art CLASSLA-Stanza linguistic processing pipeline, and enriched with document-level genre information via the Transformer-based multilingual X-GENRE classifier, which further enhances comparability at the level of linguistic annotation and metadata enrichment. The genre-focused analysis of the resulting corpora shows a rather consistent distribution of genres throughout the seven corpora, with variations in the most prominent genre categories being well-explained by the economic strength of each language community. A comparison of the distribution of genre categories across the corpora indicates that web corpora from less developed countries primarily consist of news articles. Conversely, web corpora from economically more developed countries exhibit a smaller proportion of news content, with a greater presence of promotional and opinionated texts.
[ -0.46667107939720154, -0.061234503984451294, 0.10006347298622131, 0.31076374650001526, -0.2548307180404663, 0.7449920177459717, -0.6355965733528137, -0.6351823210716248, 0.6516098976135254, 0.3467250466346741, -0.2350032478570938, -0.855684220790863, -0.328849196434021, 0.6486051678657532, -0.3571948707103729, 0.794883131980896, 0.2534862458705902, 0.18971019983291626, -0.20245985686779022, -0.08298654109239578, 0.18297217786312103, -0.6047700643539429, -0.054696984589099884, 0.07604353874921799, 0.452009379863739, 0.0927422046661377, 0.4004897177219391, 0.4025808572769165, 0.8083832859992981, 0.3043389320373535, -0.03360569849610329, 0.036745864897966385, -0.3246554136276245, 0.33714860677719116, -0.38330426812171936, -0.6911770701408386, -0.5315452814102173, 0.021660389378666878, 0.5481918454170227, 0.599645733833313, 0.026027917861938477, 0.708293616771698, -0.1946229785680771, 0.666572630405426, -0.7460678815841675, 0.13759756088256836, -0.5802611112594604, -0.08721253275871277, -0.4786489009857178, -0.3134590983390808, -0.6270083785057068, -0.5713688731193542, -0.08861274272203445, -0.5018348693847656, 0.21178029477596283, 0.4043402373790741, 0.9426723718643188, 0.016688359901309013, -0.20034460723400116, -0.5757517218589783, -0.4474034309387207, 0.6995349526405334, -0.3994370996952057, 0.6293773651123047, 0.48625296354293823, 0.23316030204296112, 0.23042884469032288, -0.43529656529426575, -0.409355491399765, 0.1395709216594696, 0.0964054986834526, 0.35926106572151184, -0.6062419414520264, -0.06812947988510132, -0.25476425886154175, 0.3766888678073883, -0.9693623781204224, 0.3657045066356659, -0.7821038365364075, -0.3584093153476715, 0.6366556882858276, 0.052435100078582764, 0.2037111520767212, -0.270106703042984, -0.1854824721813202, -0.017519427463412285, -0.9222673177719116, -0.11422351002693176, 1.0084257125854492, 0.45321235060691833, -0.1058758869767189, 0.8176313638687134, -0.2295108437538147, 1.003736972808838, -0.13707181811332703, -0.5817739367485046, 0.5242817401885986, -0.2489297240972519, -0.14972683787345886, 0.11092104762792587, 0.5357000827789307, 0.7230352163314819, 0.02034592628479004, -0.4340280294418335, 0.04783269390463829, 0.488707572221756, 0.2612990438938141, -0.2879179120063782, 0.03140394017100334, 0.2509933114051819, -0.7351071238517761, -0.4653818905353546, -0.02747419849038124, -1.1775189638137817, -0.3157445788383484, -0.2338511347770691, -0.19213661551475525, -0.13816778361797333, -0.22921065986156464, -0.06364839524030685, -0.20542719960212708, 0.045687127858400345, -0.08347894996404648, -0.8058687448501587, 0.16973154246807098, 0.6935127973556519, 0.9286808371543884, -0.42599380016326904, -0.029146453365683556, -0.08322147279977798, 0.07259759306907654, -0.47437068819999695, 1.0482566356658936, -0.8315396904945374, 0.0425843670964241, 0.44050052762031555, -0.045912280678749084, 0.0697346106171608, -0.6939140558242798, 0.5704811811447144, -0.6988662481307983, 0.06988202780485153, 0.07798436284065247, -0.44563165307044983, -0.2892826795578003, 0.3009544909000397, -0.4479289650917053, 0.915826678276062, 0.44475099444389343, -0.7695672512054443, 0.7978945970535278, -0.3758808672428131, -0.35166874527931213, 0.3508668839931488, 0.09532174468040466, 0.1411750763654709, -0.013627869077026844, -0.5024309754371643, 0.4801597595214844, -0.3757217228412628, 0.03991936892271042, -0.35344576835632324, -0.20790596306324005, 0.25183817744255066, 0.2091459333896637, 0.6224621534347534, 0.6749156713485718, -0.2342042624950409, 0.3451302945613861, -1.2611167430877686, 0.04453955218195915, -0.30655696988105774, -0.4449581503868103, -0.6373571157455444, -0.27669140696525574, 0.5985356569290161, 0.433371365070343, 0.5032181739807129, -0.5849859714508057, 0.39003273844718933, -0.3141920566558838, 0.4408765733242035, 0.4074815809726715, -0.33408123254776, 0.43495091795921326, 0.059273555874824524, 0.7825692892074585, -0.2360798865556717, 0.13551561534404755, 0.2956048250198364, -0.3513142466545105, -0.8691087961196899, -0.5113925337791443, 0.6458139419555664, 0.6369048357009888, -0.635006844997406, 0.6070573925971985, -0.4244127571582794, -0.6126603484153748, -1.0059219598770142, -0.3448461890220642, 0.49831393361091614, 0.035364583134651184, 0.3221755921840668, -0.3752419948577881, -1.1195554733276367, -1.0146499872207642, 0.11691795289516449, -0.26817139983177185, 0.004798288457095623, -0.06939349323511124, 0.22128476202487946, -0.10808231681585312, 0.8387876749038696, -0.34909796714782715, -0.3771625757217407, -0.44889160990715027, 0.10492224246263504, -0.11170103400945663, 0.13381214439868927, 0.41254177689552307, -0.8651276230812073, -0.5152660012245178, 0.006976063828915358, -0.7894999980926514, -0.36716321110725403, 0.17987480759620667, 0.08125979453325272, 0.7465425133705139, 0.22251670062541962, -0.14347489178180695, 0.2649266719818115, 0.6307492852210999, -0.4429643154144287, 0.6825379133224487, -0.11235485225915909, 0.2112799435853958, -0.9826035499572754, 0.1271757334470749, -0.13581106066703796, -0.07389432191848755, -0.588888943195343, 0.4378809332847595, -0.12011142820119858, 0.08114443719387054, -0.4877718389034271, 0.3462468981742859, -0.5006495118141174, -0.5595267415046692, -0.24974556267261505, 0.7489977478981018, -0.2208600491285324, 0.16650637984275818, 0.23481987416744232, 0.9113364219665527, 0.6409032940864563, -0.29784882068634033, 0.4708673059940338, 0.2378304898738861, -0.49362102150917053, 0.4186716675758362, -0.16038259863853455, -0.046315889805555344, -0.028440149500966072, 0.08176661282777786, -0.6023297309875488, -0.05790821090340614, 0.13345004618167877, -0.3850187063217163, 0.0843028798699379, -0.5406569242477417, -0.604367733001709, -0.16270636022090912, -0.24445392191410065, -0.035171374678611755, 0.3604190945625305, -0.0003262189566157758, 0.12692278623580933, 0.5986037850379944, -0.4570862948894501, -0.6107797026634216, -0.6007062196731567, 0.6088747978210449, -0.44337716698646545, -0.530691921710968, 0.0449649840593338, -0.09525077044963837, -0.6761049628257751, -0.015299445018172264, 0.22895678877830505, -0.16999725997447968, -0.11913496255874634, 0.2541303038597107, 0.5522541403770447, -0.3821890950202942, -0.09687811881303787, 0.056930433958768845, 0.2211615890264511, -0.3042024075984955, -0.5248218178749084, 1.0439739227294922, -0.4200034439563751, 0.10135797411203384, -0.11031010746955872, 0.3619711101055145, 0.39150866866111755, -0.24393346905708313, 0.8699905276298523, 0.39182937145233154, 0.02343508042395115, 0.37205418944358826, -0.7880121469497681, 0.47385743260383606, -0.32760635018348694, -0.15169933438301086, -0.5325756072998047, -0.8841985464096069, 0.577261209487915, 0.08043120801448822, -0.20225723087787628, 0.5639587640762329, 0.4817051887512207, 0.1040433868765831, 0.521873414516449, 0.5650289058685303, -0.17055581510066986, -0.10088139772415161, -0.4964623749256134, -0.010177312418818474, -0.6774340271949768, -0.5105674862861633, -0.7927055358886719, -0.056641675531864166, -1.0064393281936646, -0.23048514127731323, -0.0939812883734703, 0.060519855469465256, -0.12922294437885284, 0.7930623292922974, -0.5478901267051697, 0.22642096877098083, 0.552550733089447, -0.4484533965587616, 0.5313054919242859, 0.16937828063964844, -0.046998851001262665, -0.049938466399908066, -0.6358153820037842, -1.118202567100525, 1.1707782745361328, -0.13519738614559174, 0.42760854959487915, 0.4633104205131531, 0.8525164723396301, 0.4637501835823059, 0.07360904663801193, -0.5397151112556458, 0.4221937358379364, -0.31171876192092896, -0.6588771939277649, -0.07843522727489471, -0.13730502128601074, -0.8714144229888916, 0.20037394762039185, -0.38859695196151733, -0.9374883770942688, 0.6525495648384094, -0.30746155977249146, -0.1169302687048912, 0.19102118909358978, -0.45486411452293396, 0.646431565284729, 0.305564284324646, -0.3344864845275879, -0.21102924644947052, -0.8054203987121582, 0.034312739968299866, 0.015521382912993431, 0.6350072622299194, 0.0384681299328804, -0.328828364610672, 0.7933287024497986, 0.12339962273836136, 0.5774978995323181, 0.2782380282878876, -0.027443282306194305, 0.2448892444372177, 0.07975021004676819, -0.10527899861335754, -0.316484272480011, -0.10396473109722137, 0.14489315450191498, 0.11038240790367126, -0.6335378885269165, -0.22878071665763855, 0.41622599959373474, -0.596405565738678, -0.32927560806274414, -0.632837176322937, -0.2553986608982086, -0.1540059745311737, 0.4132409989833832, 0.6160402297973633, 0.588750422000885, -0.11143442243337631, 0.28073278069496155, 0.3074909746646881, -0.1451060026884079, 0.5028813481330872, 0.46596595644950867, -0.4650315046310425, -0.408010333776474, 1.1020241975784302, 0.011694650165736675, 0.2505794167518616, 0.46670207381248474, -0.3331260085105896, -0.3185928463935852, -0.7635375261306763, -0.6452203392982483, 0.005789381451904774, -0.719086229801178, -0.32652807235717773, -0.8082606792449951, 0.21352174878120422, -0.749910295009613, -0.3985837399959564, -0.08436106145381927, -0.6948164701461792, 0.01385942567139864, -0.07620961964130402, 0.10074997693300247, 0.9402092695236206, -0.05364247038960457, 0.011090477928519249, -0.6779848337173462, -0.087143674492836, -0.3334125280380249, 0.282782644033432, -0.05282832309603691, -0.254300057888031, -0.09801944345235825, -0.21533577144145966, 0.04995783418416977, -0.7736794948577881, 0.47509658336639404, 0.15142907202243805, 0.32106366753578186, 0.49577343463897705, 0.20284926891326904, 0.41799017786979675, -0.3454384207725525, 1.0338935852050781, 0.3435507118701935, -0.744473934173584, 0.33953943848609924, -0.4214615523815155, -0.04191972315311432, 0.7405455112457275, 0.6980626583099365, -0.5990288853645325, -0.7453687787055969, -0.5679205060005188, -0.9576348066329956, 0.40235716104507446, 0.3210899829864502, -0.17275913059711456, -0.18452084064483643, -0.05586814135313034, 0.4845692813396454, 0.3596084415912628, -0.7092235684394836, -0.4331378936767578, -0.39806267619132996, -0.20942501723766327, -0.06349311769008636, -0.27650222182273865, -0.059185680001974106, 0.15390174090862274, 0.7708700299263, 0.02377847023308277, 0.11423800885677338, 0.006514161825180054, -0.42465731501579285, 0.12201524525880814, 0.7202576994895935, 0.9441062211990356, 0.976862370967865, -0.13197946548461914, 0.47096365690231323, -0.10220396518707275, -0.8750869035720825, 0.07383554428815842, -0.09589862823486328, -0.5207790732383728, 0.01713336817920208, 0.43862786889076233, 0.75962233543396, 0.2134457677602768, -1.0508688688278198, 0.1838778704404831, 0.08670573681592941, 0.09592510759830475, -0.40251871943473816, -0.2911600172519684, 0.08706837892532349, 0.4097508490085602, 0.7490830421447754, 0.06236041337251663, 0.5907133221626282, -0.8590518236160278, 0.08330407738685608, 0.0015719825169071555, -0.3232381045818329, -0.2925247251987457, 0.2831348776817322, 0.1942807286977768, -0.32567131519317627, 0.15610511600971222, -0.5923076272010803, -0.7766637206077576, 0.293736070394516, 0.6919040083885193, 0.5412603616714478, 0.20448310673236847, 0.5276798605918884, 0.23101870715618134, 0.2526518702507019, 0.18137383460998535, 0.2689390778541565, 0.1150755062699318, -0.281318724155426, -0.21424822509288788, -1.1010136604309082, -0.23078244924545288, -0.11949454247951508, -0.7969368696212769, 0.19537125527858734, -0.15873901546001434, -0.06923340260982513, 0.09611024707555771, 0.17037411034107208, -0.25703123211860657, 0.1904992312192917, 0.05002761259675026, 0.9286407232284546, -0.7668023109436035, 0.6955190300941467, 0.8327792286872864, -0.9478129744529724, -0.3746527433395386, -0.03020273707807064, -0.11956580728292465, -0.43044084310531616, 1.1177854537963867, -0.22229140996932983, -0.13234354555606842, -0.15065622329711914, -0.03371812775731087, -0.8632080554962158, 0.7845165729522705, 0.050859078764915466, -0.5528958439826965, 0.036790624260902405, 0.24093590676784515, 0.9632691144943237, -0.6044963002204895, 0.1108277291059494, 0.3127995431423187, 0.5420049428939819, -0.1437302529811859, -1.0556294918060303, 0.023700598627328873, -0.3464674949645996, -0.11820881813764572, 0.10892891138792038, -0.7445396184921265, 0.5344582796096802, 0.27951759099960327, -0.10231044888496399, 0.2036702036857605, 0.7648264765739441, 0.10324119031429291, 0.4408204257488251, 0.36152827739715576, 0.32246798276901245, 0.5970280766487122, -0.022538363933563232, 0.5389763116836548, -0.44132059812545776, 0.27788078784942627, 0.8313482999801636, -0.3495088517665863, 0.9962772727012634, 0.20549991726875305, -0.6743103861808777, 0.7260797023773193, 0.877415120601654, -0.3333095610141754, 0.45035383105278015, 0.30095919966697693, -0.37921765446662903, -0.09030156582593918, -0.27662426233291626, -0.4104057848453522, 0.7008841633796692, 0.060302842408418655, -0.0693402960896492, -0.04923969507217407, 0.3536455035209656, 0.22665415704250336, 0.41715705394744873, -0.39388516545295715, 0.7454167604446411, -0.30604416131973267, -0.7178959250450134, 0.5340874791145325, -0.0360451266169548, 0.9695025086402893, -0.3114682734012604, 0.24082854390144348, -0.23157374560832977, -0.2223035842180252, -0.5071831345558167, -0.5973026752471924, 0.3245788812637329, 0.47160211205482483, -0.2908514738082886, 0.0530954971909523, 0.7122610807418823, -0.5928494930267334, -0.5186480283737183, 0.4192388355731964, 0.25042498111724854, 0.7439476847648621, 0.24791498482227325, -0.1471264362335205, 0.29087626934051514, -0.2531169056892395, 0.22884045541286469, 0.6773385405540466, 0.049194078892469406, -0.13693587481975555, 0.6817095279693604, 0.4035916030406952, 0.4058510661125183, 0.4428994059562683, 0.08595279604196548, 0.5361406207084656, -0.38280779123306274, -0.5639328956604004, -0.3857717216014862, -0.0007550623849965632, -0.32329827547073364, -0.3454839587211609, 0.9520843625068665, 1.2532814741134644, 0.9458242654800415, -0.27745652198791504, 0.8657922744750977, -0.4472752511501312, 0.5238807201385498, -0.4459085464477539, 1.0468870401382446, -0.48714056611061096, -0.13569097220897675, -0.39178532361984253, -1.0855591297149658, -0.3597091734409332, 0.44162455201148987, -0.06290435791015625, -0.4606357216835022, 0.6512879729270935, 0.41889747977256775, 0.1187594085931778, 0.10125749558210373, 0.29719868302345276, 0.08780537545681, -0.2641752064228058, -0.13960957527160645, 0.44928857684135437, -0.2056627720594406, 0.73496413230896, -0.24391691386699677, -0.32344043254852295, -0.3427819013595581, -0.6982003450393677, -0.7842257022857666, -1.076309084892273, -0.15129289031028748, -0.4612894356250763, 0.48963460326194763, 1.2198193073272705, 0.4656548798084259, -1.0185558795928955, -0.39817309379577637, 0.3867911100387573, -0.0501430481672287, -0.2333230823278427, -0.2121075987815857, 0.40952882170677185, -0.40865686535835266, -0.7117606401443481, 0.5100533962249756, 0.47864028811454773, -0.2787402272224426, -0.5211911797523499, 0.1825876384973526, -0.5288188457489014, -0.19025923311710358, 0.856453537940979, 0.08295347541570663, -0.8832022547721863, -0.25460508465766907, 0.1852031797170639, -0.04601367935538292, 0.08866990357637405, 0.7899574041366577, -0.5394408702850342, 0.20912618935108185, 0.5210150480270386, -0.05299777165055275, 0.40391579270362854, -0.22383062541484833, 0.21390292048454285, -0.5411964058876038, 0.39452654123306274, 0.16105160117149353, 0.2507110834121704, 0.4736521244049072, -0.11691250652074814, 0.8423671722412109, 0.3568345606327057, -0.2980121970176697, -0.9657335877418518, 0.06442602723836899, -1.2288991212844849, -0.4209495484828949, 1.280600666999817, -0.4885615110397339, -0.04154375195503235, -0.6341780424118042, -0.019501661881804466, 0.3847711384296417, -0.40555858612060547, 0.9526587128639221, 0.8939182162284851, 0.0933929830789566, 0.06813643872737885, -0.3249015212059021, 0.45960572361946106, -0.22993013262748718, -0.6867827773094177, 0.07741952687501907, 0.6368058919906616, 0.14474211633205414, 0.6356777548789978, 0.3095744848251343, -0.06834347546100616, 0.08511444181203842, 0.05276026576757431, 0.40354886651039124, 0.17079074680805206, -0.4760116636753082, -0.16076500713825226, 0.6296156644821167, -0.1569427102804184, 0.15692658722400665 ]
http://arxiv.org/abs/2403.12678v1
http://arxiv.org/pdf/2403.12678v1
Empowering Air Travelers: A Chatbot for Canadian Air Passenger Rights
2024-03-19T12:24:20
2024-03-19T12:24:20
Maksym Taranukhin, Sahithya Ravi, Gabor Lukacs, Evangelos Milios, Vered Shwartz
cs.CL
cs.CL, cs.AI
The Canadian air travel sector has seen a significant increase in flight delays, cancellations, and other issues concerning passenger rights. Recognizing this demand, we present a chatbot to assist passengers and educate them about their rights. Our system breaks a complex user input into simple queries which are used to retrieve information from a collection of documents detailing air travel regulations. The most relevant passages from these documents are presented along with links to the original documents and the generated queries, enabling users to dissect and leverage the information for their unique circumstances. The system successfully overcomes two predominant challenges: understanding complex user inputs, and delivering accurate answers, free of hallucinations, that passengers can rely on for making informed decisions. A user study comparing the chatbot to a Google search demonstrated the chatbot's usefulness and ease of use. Beyond the primary goal of providing accurate and timely information to air passengers regarding their rights, we hope that this system will also enable further research exploring the tradeoff between the user-friendly conversational interface of chatbots and the accuracy of retrieval systems.
[ -0.08081599324941635, -0.4791983962059021, 0.5763527154922485, 0.5802439451217651, 0.005829668138176203, 0.5326023697853088, 0.05673333257436752, -0.21878214180469513, 0.5293784141540527, 0.7789109349250793, -0.4515170156955719, 0.073084257543087, -0.4653073847293854, -0.2052951455116272, -0.6682009100914001, 0.5875282287597656, 0.24881161749362946, -0.12464740127325058, -0.32640835642814636, 0.13578647375106812, -0.443448543548584, -0.9463668465614319, -0.6011590957641602, 0.16465464234352112, 1.0155086517333984, 0.5086929202079773, 1.015683889389038, -0.011405413039028645, 0.6797871589660645, 0.19995282590389252, -0.19174006581306458, -0.0150931840762496, -0.1404826045036316, -0.027500204741954803, 0.1042667105793953, -0.5044690370559692, -0.12265761941671371, -0.4400341212749481, 0.19168448448181152, 0.39266863465309143, -0.7187671661376953, -0.19183972477912903, -0.21441350877285004, 0.3554236888885498, -0.44866788387298584, -0.05050182342529297, -0.6066550016403198, 0.051920510828495026, -0.13872720301151276, -0.33750611543655396, -0.08903146535158157, -0.5257580876350403, -0.21495166420936584, -0.881751298904419, 0.17328307032585144, 0.4708574116230011, 1.0471471548080444, 0.40088391304016113, -0.6707403659820557, -0.6009058952331543, -0.5214163661003113, 0.43385833501815796, -0.3501862585544586, 0.6515589952468872, 0.5077723264694214, 0.6670457720756531, -0.065140500664711, -0.977942943572998, -0.9079851508140564, 0.017025351524353027, -0.15287314355373383, 0.19448651373386383, -0.441875696182251, 0.12084738910198212, 0.3196153938770294, -0.008203764446079731, -0.6476002931594849, 0.02081460878252983, -0.5773857235908508, -0.640625536441803, 0.4782349169254303, 0.13476841151714325, 0.7512689828872681, -0.2293778657913208, -0.07884199917316437, -0.13512752950191498, -0.25637295842170715, 0.2195979207754135, 0.5869026780128479, 0.237004354596138, -0.045364297926425934, 0.6802383065223694, -0.28185728192329407, 0.5786179900169373, -0.1709332913160324, 0.3199111521244049, 0.01210468914359808, 0.27615800499916077, -0.1141924262046814, 0.30892670154571533, 0.4895310699939728, 0.5718281865119934, -0.011953314766287804, -0.3116672933101654, -0.2632576823234558, -0.4018995463848114, 0.16710582375526428, -0.6566829681396484, -0.2763189971446991, 0.19901889562606812, -0.5281115174293518, -0.05014768987894058, 0.4016030430793762, -0.6122332811355591, -0.4745316505432129, -0.5541017055511475, 0.40106305480003357, -0.05766421929001808, -0.49716609716415405, 0.17126917839050293, -0.6528461575508118, 0.7024257183074951, 0.5250785946846008, -1.028470516204834, 0.27224209904670715, 0.6791753172874451, 0.838180661201477, 0.3216961920261383, 0.16469831764698029, -0.6154478788375854, -0.322665810585022, -0.14483356475830078, 0.8122836947441101, -0.8226346969604492, -0.8584925532341003, 0.10837847739458084, 0.17505091428756714, -0.04782683402299881, -0.36520496010780334, 0.8488985300064087, -0.8417678475379944, 0.2316776067018509, -0.548597514629364, -0.13658586144447327, -0.21353338658809662, 0.0005016456125304103, -0.2859032452106476, 0.7242138981819153, 0.0985395759344101, -0.46139585971832275, 0.10325463116168976, -0.7284054160118103, -0.09751956164836884, 0.2732308506965637, -0.3849053978919983, -0.11344201117753983, -0.04613044112920761, 0.184853196144104, 0.027198394760489464, 0.014512935653328896, -0.047730952501297, -0.46327298879623413, -0.059104982763528824, 0.2528429329395294, -0.18352502584457397, 1.1882026195526123, 0.38851651549339294, 0.37170377373695374, 0.044120803475379944, -0.10792761296033859, 0.016482703387737274, -0.03824834153056145, -0.3890804350376129, -0.09789850562810898, -0.053618550300598145, 0.5200176239013672, 0.3295958936214447, 0.22786234319210052, -0.7045741081237793, 0.2705133855342865, -0.20393739640712738, 0.4133988618850708, 0.6513605713844299, 0.16743849217891693, 0.11130086332559586, -0.45473986864089966, 0.632799506187439, -0.02890791743993759, 0.8480297923088074, -0.06597074121236801, -0.5355186462402344, -0.6445278525352478, 0.29165807366371155, 0.2105836570262909, 0.6674195528030396, -0.4322744607925415, 0.40786489844322205, -0.21591493487358093, -0.36161959171295166, -0.4204890727996826, -0.02696649171411991, -0.26396748423576355, 0.420396089553833, 0.06627683341503143, -0.3428948223590851, -0.3896704316139221, -0.6865620017051697, -0.3847511112689972, -0.6381572484970093, -0.07599692791700363, 0.38791361451148987, 0.38295426964759827, -0.32644227147102356, 0.8912445902824402, -0.737322986125946, -0.1823512315750122, 0.008538373745977879, 0.033327367156744, -0.18156327307224274, 0.6043052077293396, 0.5325029492378235, -1.1505681276321411, -0.36099687218666077, -0.06583069264888763, -0.49134260416030884, -0.2564210891723633, -0.2453085482120514, -0.44319406151771545, 0.07700027525424957, 0.5244279503822327, -0.4235852062702179, 0.6152097582817078, -0.054418306797742844, -0.713129460811615, 0.12882496416568756, -0.23996125161647797, 0.25969573855400085, -0.620051383972168, 0.13927967846393585, -0.6093922257423401, -0.0758141577243805, -0.49603524804115295, -0.2106575220823288, 0.007573537528514862, -0.5531828999519348, -0.5108492374420166, 0.5667402744293213, 0.16018198430538177, 0.09400536864995956, -0.5276530981063843, 0.1681220680475235, 0.19387772679328918, 0.35259440541267395, 0.2311655730009079, 0.2841833233833313, 0.5346399545669556, -0.49758848547935486, 0.37729746103286743, 0.8158282041549683, 0.12584631145000458, 0.5161684155464172, -0.5244832634925842, 0.26296505331993103, -0.2978159785270691, 0.1881285458803177, -0.8139200210571289, -0.5203156471252441, 0.5872094035148621, -0.7748790383338928, -0.2389257699251175, -0.07783406227827072, -0.4602768123149872, -0.37530314922332764, 0.3253801465034485, -0.08581230044364929, 0.3923368453979492, -0.3678551912307739, 0.8812845945358276, 0.8336660265922546, -0.43084093928337097, -0.5341977477073669, -0.37523403763771057, 0.5770047307014465, -0.07271980494260788, -0.36183592677116394, 0.015075569972395897, -0.21525679528713226, -0.3010932207107544, -0.04970117285847664, -0.19423440098762512, -0.3765723407268524, 0.2809540629386902, 0.733611524105072, 0.07409445941448212, 0.23047223687171936, 0.3821077346801758, 0.07684334367513657, 0.17559035122394562, 0.11047505587339401, -0.1582937091588974, 0.5013884902000427, -0.023518109694123268, -0.3898046016693115, -0.4500249922275543, 0.6954917311668396, 0.7547675967216492, -0.2056126743555069, 0.41427376866340637, 0.502535343170166, -0.6198614835739136, 0.4931779205799103, -0.7017711997032166, -0.3458585739135742, -0.48014217615127563, -0.14665043354034424, -0.23931263387203217, -0.735284149646759, 0.6165241599082947, 0.33165717124938965, 0.2088717371225357, 0.3659626543521881, 0.11101022362709045, -0.23542682826519012, 0.9796610474586487, 0.9733679294586182, -0.038772642612457275, 0.43156513571739197, 0.3196221590042114, 0.2676517367362976, -0.3885238468647003, -0.9575109481811523, -1.1577414274215698, -0.20216426253318787, -0.40687182545661926, -0.24727025628089905, 0.1503806859254837, -0.07107961922883987, -0.4357425272464752, 0.15255962312221527, -0.5825912952423096, 0.3374289870262146, 0.6702935695648193, 0.22972731292247772, 0.26615849137306213, -0.2595067024230957, 0.10053636878728867, 0.0172528475522995, -0.681780219078064, -0.6042801737785339, 0.6005049347877502, -0.00847788155078888, 1.057413101196289, 0.22656340897083282, 0.23746298253536224, 0.7103386521339417, 0.1538793444633484, -0.8241990208625793, 0.44458019733428955, 0.48171165585517883, -1.0102492570877075, -0.10157366096973419, -0.4136783480644226, -0.9254850745201111, -0.21702846884727478, -0.20250895619392395, -0.6324821710586548, 0.6613754630088806, -0.013853121548891068, -0.8209937214851379, 0.2957257330417633, -0.6228576302528381, 0.5579071640968323, -0.756615936756134, -0.19824841618537903, -0.2665138840675354, -0.9214823246002197, -0.05644475296139717, -0.29766473174095154, 0.052324965596199036, -0.2828972041606903, -0.10823781043291092, 0.8930186033248901, -0.4710075557231903, 0.8222829103469849, -0.29476240277290344, 0.3269277811050415, 0.31180477142333984, -0.11415906995534897, -0.21037791669368744, 0.09651540964841843, -0.037152111530303955, 0.08929608762264252, 0.28370076417922974, -0.4512993395328522, -0.5482040047645569, 0.7598389983177185, -0.895136296749115, -0.5902097821235657, -0.5621939897537231, -0.03180154040455818, 0.10628485679626465, 0.3794546127319336, -0.20377717912197113, 0.2786872088909149, 0.11971452087163925, 0.2905348539352417, -0.01568819023668766, -0.42420560121536255, 0.4701150059700012, 0.9027355313301086, -0.606509268283844, -0.3731634318828583, 0.6855971813201904, 0.3681694269180298, -0.18587034940719604, 0.7748571038246155, 0.2266378402709961, -0.7491240501403809, -0.05631573870778084, -0.2250494807958603, -0.07851172983646393, -0.8140082955360413, -0.10216636210680008, -1.1047848463058472, -0.1879807710647583, -0.5403647422790527, -0.31669580936431885, 0.08746393024921417, -1.0355616807937622, -0.19906485080718994, -0.13351434469223022, 0.3886215388774872, 0.6276637315750122, -0.08909538388252258, 0.8796764016151428, -0.9009456038475037, 0.4748712182044983, 0.6353206038475037, 0.3065282106399536, -0.2629826068878174, -0.4928695559501648, -0.27074098587036133, -0.2557169497013092, -0.8889710307121277, -0.6536638736724854, 0.35734736919403076, -0.050334732979536057, 0.7773355841636658, 0.30942970514297485, 0.6936030983924866, 0.8384183645248413, -0.09535370767116547, 1.067083716392517, 0.25137609243392944, -1.067370891571045, 0.671004056930542, -0.05734214559197426, -0.1256285309791565, 0.5283644795417786, 0.21255862712860107, -1.0049738883972168, -0.46979954838752747, -0.8082252144813538, -0.9233191609382629, 0.7166128158569336, 0.4556661546230316, 0.4560369849205017, 0.20406708121299744, 0.29576441645622253, -0.11488358676433563, 0.3880314826965332, -0.35377174615859985, 0.24185724556446075, -0.7524338960647583, 0.14345107972621918, 0.1682216078042984, 0.13518261909484863, -0.046892859041690826, 0.05705735832452774, 0.7679719924926758, -0.03881847858428955, 0.3017606735229492, 0.5984775424003601, 0.1588435173034668, -0.3220069110393524, 0.020562278106808662, 0.6118865609169006, 0.8718255162239075, -0.5105170607566833, -0.05249496549367905, 0.12263480573892593, -0.2549513876438141, -0.20170339941978455, 0.16387441754341125, 0.10255926102399826, 0.1794114112854004, -0.14587555825710297, 0.6227720379829407, -0.1677727997303009, -0.8614426255226135, 0.5188031196594238, -0.7837007641792297, -0.21403348445892334, -0.5973333120346069, 0.1420106142759323, -0.0862623080611229, 0.0626988485455513, 0.537112295627594, 0.36025336384773254, 0.2033405750989914, -0.20865629613399506, 0.2225855439901352, 0.315356582403183, -0.6922365427017212, -0.09247314184904099, 1.272301435470581, 0.7358150482177734, -0.8770974278450012, 0.6489874720573425, 0.47698456048965454, -0.6133156418800354, 0.5712339878082275, -0.06182537600398064, 0.7770754098892212, -0.06755614280700684, 0.10491795092821121, 0.3159252405166626, 0.2380974143743515, -0.13032206892967224, 0.35994952917099, -0.2997870445251465, -0.47800412774086, -0.016847793012857437, -0.3017515242099762, -1.2667075395584106, -0.2941124439239502, -0.7610387206077576, 0.3815372884273529, -0.48841944336891174, -0.42980754375457764, -0.1326095014810562, 0.14709323644638062, -0.6470458507537842, 0.0945352166891098, 0.35485661029815674, 1.18191397190094, -0.5105787515640259, 0.3613043427467346, 0.5810906291007996, -0.48054784536361694, -0.8116208910942078, 0.209860160946846, 0.029986729845404625, -0.43440955877304077, 0.513992190361023, 0.22995370626449585, -0.21367669105529785, -0.10534494370222092, -0.5516600012779236, -0.18598522245883942, 0.8118218183517456, 0.3759025037288666, -0.8634467720985413, -0.12963663041591644, 0.0753566175699234, 0.09977886825799942, 0.12912315130233765, 0.6913324594497681, 0.3624444007873535, 0.4991699159145355, 0.10785360634326935, -0.9415968656539917, -0.21697406470775604, -0.2025928795337677, -0.33062949776649475, -0.11379226297140121, -1.0914803743362427, 0.0956532284617424, 0.0259008277207613, -0.2601766288280487, -0.1501389443874359, 0.4603164494037628, -0.26254260540008545, 0.5806381702423096, 0.7127727270126343, 0.2971700429916382, 1.1494814157485962, -0.31239214539527893, 1.0885319709777832, -0.2814095616340637, 0.27718639373779297, 0.5544276237487793, -0.3403809368610382, 0.7909547090530396, 0.7734418511390686, 0.1487010270357132, 0.3515438735485077, 0.5593552589416504, 0.46102410554885864, 0.3217361867427826, 0.20087039470672607, -0.560718297958374, -0.6028282642364502, -0.25050029158592224, -0.1937415450811386, 0.42235538363456726, 0.2666622996330261, 0.0856916531920433, -0.24991212785243988, 0.1990622580051422, -0.0012851834762841463, 0.11695081740617752, -0.05061999708414078, 0.8883040547370911, 0.23843717575073242, -0.758539617061615, 0.0920570120215416, -0.08628576248884201, 0.05063672736287117, -0.7802083492279053, 0.1659497618675232, -0.2874627411365509, -0.14362716674804688, -0.31310367584228516, -0.8366725444793701, 0.49111390113830566, 0.1693500429391861, 0.03119935654103756, -0.3216853141784668, 0.6862291693687439, 0.004837654065340757, -0.5310274958610535, 0.09436483681201935, 0.6212697625160217, 0.33418598771095276, -0.32936450839042664, -0.7747763991355896, 0.37940865755081177, 0.060324642807245255, 0.11333577334880829, -0.013074085116386414, 0.2024715542793274, 0.05202938988804817, 0.9445653557777405, 0.8047760725021362, 0.11627127230167389, 0.0990491732954979, 0.043713416904211044, 0.9139681458473206, -0.8821561336517334, -0.5575428009033203, -0.697972297668457, 0.46089425683021545, -0.25952503085136414, -0.3827607035636902, 0.2937825620174408, 0.7704806923866272, 0.47698330879211426, -0.21075159311294556, 1.200809359550476, -0.567969799041748, 0.6082097887992859, -0.35184621810913086, 0.6732003092765808, -0.6482118964195251, 0.4319559335708618, 0.44792458415031433, -0.2753208577632904, -0.7586455345153809, 0.6535910964012146, -0.378604531288147, -0.510452389717102, 0.005312349181622267, 1.180988073348999, -0.09163825213909149, 0.07795189321041107, 0.3256053328514099, -0.46069666743278503, 1.0367616415023804, 0.3915891647338867, 1.4113644361495972, -0.3560631573200226, 1.0295891761779785, -0.18589253723621368, 0.14368173480033875, -0.8771650791168213, -0.5948602557182312, -0.6001765727996826, -0.5430156588554382, -0.6800134181976318, -0.31977567076683044, 0.4092063307762146, 1.4308503866195679, 0.9647260904312134, -0.5230880379676819, -0.10710156708955765, 0.004602442495524883, 0.4828524887561798, -0.1422208696603775, -0.2873646914958954, 0.08817186951637268, -0.20921315252780914, -0.735705554485321, 0.025014575570821762, 0.12988950312137604, 0.19811365008354187, 0.24785001575946808, -0.2769433856010437, 0.2223890721797943, 0.4660617411136627, 0.16825012862682343, 0.7245075106620789, -0.39414912462234497, -0.3221406042575836, 0.16593106091022491, -0.2740386724472046, 0.056904181838035583, 0.891228199005127, -0.3678496181964874, 0.8186943531036377, 0.4695001542568207, 0.6367393136024475, 0.08155758678913116, 0.2177446186542511, 0.4089527726173401, -0.5015076398849487, 0.025946002453565598, 0.5050317049026489, 0.2259092479944229, 0.3861178159713745, -0.4576079845428467, 0.23952242732048035, 0.0001691574725555256, -0.968651533126831, -0.8859083652496338, -0.2114245742559433, -1.6058779954910278, 0.09479970484972, 0.9327371716499329, 0.06352455914020538, 0.10916885733604431, -0.3699204623699188, -0.9866428971290588, 0.32027143239974976, -0.9526867866516113, 0.8504226207733154, 0.5127150416374207, -0.2581096291542053, -0.2548627555370331, -0.6532523036003113, 0.3422837257385254, 0.007586517371237278, -0.6052581667900085, 0.06145278364419937, 0.3389734923839569, 0.17536477744579315, 0.10586095601320267, 0.7773628830909729, -0.008830946870148182, 0.05264922231435776, -0.2014540433883667, 0.28454580903053284, 0.17862875759601593, -0.43358302116394043, -0.20694562792778015, 0.27334511280059814, 0.2513211667537689, -0.45975616574287415 ]
http://arxiv.org/abs/2403.12675v1
http://arxiv.org/pdf/2403.12675v1
Pragmatic Competence Evaluation of Large Language Models for Korean
2024-03-19T12:21:20
2024-03-19T12:21:20
Dojun Park, Jiwoo Lee, Hyeyun Jeong, Seohyun Park, Sungeun Lee
cs.CL
cs.CL
The current evaluation of Large Language Models (LLMs) predominantly relies on benchmarks focusing on their embedded knowledge by testing through multiple-choice questions (MCQs), a format inherently suited for automated evaluation. Our study extends this evaluation to explore LLMs' pragmatic competence--a facet previously underexamined before the advent of sophisticated LLMs, specifically in the context of Korean. We employ two distinct evaluation setups: the conventional MCQ format, adapted for automatic evaluation, and Open-Ended Questions (OEQs), assessed by human experts, to examine LLMs' narrative response capabilities without predefined options. Our findings reveal that GPT-4 excels, scoring 81.11 and 85.69 in the MCQ and OEQ setups, respectively, with HyperCLOVA X, an LLM optimized for Korean, closely following, especially in the OEQ setup, demonstrating a score of 81.56 with a marginal difference of 4.13 points compared to GPT-4. Furthermore, while few-shot learning strategies generally enhance LLM performance, Chain-of-Thought (CoT) prompting introduces a bias toward literal interpretations, hindering accurate pragmatic inference. Considering the growing expectation for LLMs to understand and produce language that aligns with human communicative norms, our findings emphasize the importance for advancing LLMs' abilities to grasp and convey sophisticated meanings beyond mere literal interpretations.
[ -0.35849907994270325, -0.8516872525215149, 0.7214595079421997, 0.20519843697547913, -0.42533642053604126, 0.2619141638278961, -0.6690007448196411, -0.1148100271821022, -0.14786545932292938, 0.40218445658683777, -0.2854807376861572, -0.7124294638633728, -0.30577632784843445, 0.266166627407074, 0.13847042620182037, 0.9818182587623596, -0.3155367076396942, -0.08179543912410736, -0.30735069513320923, -0.09013967961072922, -0.4529944360256195, -0.45341596007347107, -0.3153734505176544, -0.4006126821041107, 0.473931223154068, 0.39248567819595337, 0.7605385780334473, 0.5393254160881042, 0.4162585437297821, 0.2926466763019562, -0.10774228721857071, 0.1535988301038742, -0.4994870722293854, 0.047582268714904785, -0.1766282021999359, -0.41505077481269836, -0.49316179752349854, 0.15880189836025238, 0.7391114234924316, 0.7247004508972168, -0.09325885772705078, 0.4473877549171448, -0.07330179959535599, 0.730272114276886, -0.5069294571876526, 0.2582729756832123, -0.5974604487419128, -0.020840836688876152, 0.05392003059387207, 0.05237239971756935, -0.3648639917373657, -0.4655219614505768, 0.2767304480075836, -0.6262423992156982, -0.23274263739585876, -0.131995290517807, 0.7541549801826477, 0.06868408620357513, -0.6027862429618835, -0.5001688599586487, -0.6022967100143433, 0.7043107151985168, -0.5682277083396912, 0.293242871761322, 0.28495848178863525, 0.47761571407318115, 0.00927529763430357, -0.7427602410316467, -0.5095173716545105, -0.7326261401176453, 0.10031979531049728, 0.4186669886112213, 0.09337148070335388, 0.24344652891159058, 0.32960426807403564, 0.27161306142807007, -0.7053953409194946, 0.09421924501657486, -0.2678471803665161, -0.2476923167705536, 0.7768368124961853, 0.21764591336250305, -0.0031558650080114603, -0.23751293122768402, -0.3636549115180969, 0.030779914930462837, -0.5166842341423035, 0.05238566920161247, 0.6447005271911621, 0.163860484957695, 0.08274993300437927, 0.6405940055847168, -0.27277684211730957, 0.803225576877594, 0.011447283439338207, -0.4762040972709656, 0.24135206639766693, -0.515119731426239, -0.14705704152584076, -0.10945897549390793, 0.6730183959007263, 0.43990808725357056, 0.8028932809829712, 0.06347810477018356, -0.05894218385219574, 0.0182192325592041, 0.3405904471874237, -0.4845770299434662, -0.1258392482995987, 0.15250343084335327, -0.3963027596473694, -0.04019024223089218, 0.11296654492616653, -0.7039010524749756, -0.26716867089271545, -0.43569621443748474, 0.2243669629096985, -0.17435003817081451, -0.42262735962867737, 0.14230985939502716, 0.03261096775531769, 0.42068085074424744, 0.25930407643318176, -0.2805255055427551, 0.15970903635025024, 0.5298941731452942, 0.6910659074783325, -0.3367842733860016, -0.38191959261894226, -0.21079742908477783, -0.10587883740663528, -0.5068055987358093, 0.6670945286750793, -0.4987432062625885, -0.3786422610282898, -0.04000828042626381, -0.09535149484872818, -0.3949999213218689, -0.7675411701202393, 0.7206750512123108, -0.49075016379356384, -0.039035871624946594, -0.15585917234420776, -0.41554275155067444, -0.1846034973859787, 0.38324952125549316, -0.38474950194358826, 0.7475968599319458, 0.13823439180850983, -0.5406274199485779, 0.27571865916252136, -0.3386956751346588, -0.38917848467826843, 0.22277237474918365, -0.3601081073284149, -0.09744808077812195, 0.11367601901292801, 0.024933431297540665, 0.39634719491004944, -0.17403888702392578, 0.4795200526714325, -0.14341551065444946, -0.4472540318965912, 0.35284918546676636, -0.48731425404548645, 0.39065369963645935, 0.05891447514295578, -0.13101300597190857, 0.1293720155954361, -0.8171971440315247, 0.45548108220100403, 0.24090781807899475, -0.5064007639884949, -0.08832307159900665, -0.44662123918533325, -0.3718481957912445, 0.5885712504386902, 0.15910042822360992, -0.1972285658121109, 0.04560631513595581, -0.3674238622188568, 0.1788630336523056, 0.7107513546943665, 0.10993719100952148, 0.3478033244609833, -0.27801886200904846, 0.9992689490318298, -0.13064031302928925, -0.11501932144165039, -0.18377971649169922, -0.5084397792816162, -0.40912556648254395, -0.4674112796783447, 0.20382854342460632, 0.6886933445930481, -0.8260601162910461, 0.2581438422203064, -0.1410270780324936, -0.7500365376472473, -0.5588718056678772, 0.34151312708854675, 0.7105055451393127, 0.6060236096382141, 0.0671214833855629, -0.2560425400733948, -0.37696489691734314, -0.9269237518310547, -0.596202552318573, -0.2999109625816345, -0.1765838861465454, 0.5734817981719971, 0.7201433181762695, 0.14152976870536804, 0.779570996761322, -0.4023332893848419, 0.08413809537887573, -0.4523007273674011, 0.04659822955727577, 0.3315252363681793, 0.08467134833335876, 0.12104692310094833, -0.689535915851593, -0.671352744102478, 0.14917650818824768, -0.6173370480537415, -0.3045017421245575, -0.08714699000120163, 0.09024396538734436, 0.033902354538440704, 0.3109079897403717, -0.8566867709159851, 0.2629457414150238, 0.4386327564716339, -0.2943570911884308, 1.2461024522781372, -0.06165279075503349, 0.1911318451166153, -0.5045602917671204, 0.20129626989364624, -0.030283913016319275, -0.1505526751279831, -0.7133820652961731, 0.029311133548617363, 0.0802202969789505, 0.07897748053073883, -0.5914589762687683, 0.6842414736747742, -0.3798987865447998, -0.315891295671463, -0.1914653331041336, 0.6751833558082581, -0.004768985789269209, 0.4245409369468689, 0.059054043143987656, 0.8307341933250427, 0.21620628237724304, -0.7541096806526184, 0.48945218324661255, 0.16609293222427368, -0.4253334701061249, 0.6039523482322693, -0.7116966843605042, 0.36440232396125793, -0.15951943397521973, 0.20015515387058258, -1.1040014028549194, -0.38085344433784485, 0.13233377039432526, -0.4225615859031677, 0.14789046347141266, -0.2108406126499176, -0.3711334466934204, -0.5273190140724182, -0.23781484365463257, 0.23767220973968506, 0.49302491545677185, -0.15251624584197998, 0.39090585708618164, 0.0706026703119278, -0.2756041884422302, -0.5039473176002502, -0.48886385560035706, -0.10097929835319519, -0.2971716821193695, -0.595916211605072, 0.06587114185094833, 0.08560197055339813, -0.628365159034729, -0.2647987902164459, -0.27290064096450806, -0.017070794478058815, -0.028884442523121834, -0.028175804764032364, 0.29630085825920105, -0.373686283826828, 0.08898648619651794, -0.15548475086688995, -0.12555979192256927, 0.02718941867351532, -0.2423153966665268, 0.4859135150909424, -0.46360161900520325, -0.44420185685157776, -0.2705456018447876, -0.16341929137706757, 0.5662375688552856, -0.23357172310352325, 0.5252772569656372, 0.5542601943016052, -0.06450363993644714, 0.025949327275156975, -0.43031376600265503, 0.014356817118823528, -0.4250541627407074, 0.5839253664016724, -0.5573503375053406, -0.8828766942024231, 0.627104640007019, -0.25936248898506165, -0.13615958392620087, 0.25820568203926086, 0.8680680394172668, -0.023029034957289696, 0.9303321242332458, 0.0920068621635437, 0.44775134325027466, 0.1441718339920044, -0.007896698080003262, 0.2778604328632355, -1.0040736198425293, -0.259927362203598, -0.3588407337665558, -0.14664961397647858, -0.5512176752090454, -0.5924161672592163, 0.286430299282074, 0.13378854095935822, -0.42232733964920044, 0.09137903898954391, -0.032526321709156036, 0.5373522639274597, 0.07307933270931244, -0.11212769150733948, 0.5374134182929993, -0.332163006067276, -0.451310396194458, -0.2078203558921814, -0.6437106728553772, -1.024101972579956, 1.1693063974380493, 0.4944204092025757, 0.6417444944381714, -0.11421201378107071, 0.4696691930294037, -0.15350714325904846, 0.19584213197231293, -0.9398080706596375, 0.7731677889823914, 0.16814404726028442, -0.5279030203819275, -0.25382286310195923, -0.36695751547813416, -0.6859984397888184, 0.5673242211341858, 0.24309982359409332, -0.6112361550331116, -0.16094449162483215, 0.005486347712576389, -0.351060688495636, -0.12152405828237534, -0.8806324005126953, 0.8595868349075317, -0.32369235157966614, -0.36607885360717773, 0.11149292439222336, -0.6483803987503052, 0.5774397850036621, -0.17602606117725372, 0.09306936711072922, -0.22364622354507446, -0.44701793789863586, 0.6212185621261597, 0.16465649008750916, 0.66718590259552, -0.22838743031024933, -0.09882314503192902, 0.5201268792152405, 0.013574745506048203, 0.4597522020339966, 0.21601025760173798, -0.1530805230140686, -0.057444944977760315, -0.19841806590557098, -0.3663181960582733, -0.7164947390556335, 0.5301018953323364, -0.5335701704025269, -0.7175134420394897, -0.3426908254623413, -0.6389210820198059, -0.5180523991584778, 0.2020760178565979, 0.02084953337907791, -0.0018347466830164194, -0.2753923833370209, 0.12605221569538116, 0.6621415019035339, -0.3974280059337616, 0.1641858071088791, 0.5035845041275024, -0.44216933846473694, -0.5139668583869934, 0.6214699149131775, 0.2535534203052521, 0.7850190997123718, -0.23046676814556122, 0.19464659690856934, -0.4614652395248413, -0.5789982676506042, -0.4967575669288635, 0.4615377187728882, -0.9380937814712524, -0.015069165267050266, -0.4921056628227234, -0.14309614896774292, -0.14717721939086914, -0.146613210439682, -0.35166656970977783, -0.16158534586429596, -0.09462141245603561, -0.3079928755760193, -0.14615361392498016, 0.6672399640083313, 0.4174450635910034, 0.24860483407974243, -0.6224045157432556, 0.30158713459968567, 0.21549111604690552, 0.2829711139202118, -0.023700116202235222, -0.7640388011932373, -0.08227961510419846, -0.053077809512615204, -0.3264448940753937, -0.7832176685333252, 0.1868778020143509, 0.15223318338394165, 0.7498375177383423, 0.27729278802871704, -0.06840701401233673, 0.79911208152771, -0.4624011516571045, 0.8199679255485535, -0.08514051139354706, -0.7865866422653198, 0.28715184330940247, -0.42822107672691345, 0.5892897844314575, 0.7232301831245422, 0.5735055804252625, -0.4014478325843811, -0.37454691529273987, -0.5669026374816895, -0.6061789989471436, 0.509918212890625, 0.12916697561740875, 0.20848770439624786, -0.0909598097205162, 0.40565022826194763, 0.07459644228219986, 0.5053154230117798, -0.6191892027854919, -0.0005858276272192597, -0.019552597776055336, -0.19201281666755676, 0.0034212993923574686, -0.15151464939117432, -0.12786443531513214, -0.2868266701698303, 0.35803964734077454, -0.3778633177280426, 0.14294523000717163, 0.31158947944641113, -0.2469252347946167, -0.020662367343902588, 0.4117853045463562, 0.6141283512115479, 1.181782841682434, 0.054272327572107315, 0.030773570761084557, 0.31115955114364624, -0.5822009444236755, 0.2904655337333679, -0.18834424018859863, 0.09055536985397339, -0.10686124861240387, 0.53053218126297, 0.7704159021377563, 0.23362813889980316, -0.9992373585700989, 0.4514490067958832, 0.09469151496887207, -0.3321762979030609, -0.07279517501592636, -0.057451438158750534, 0.1925356686115265, 0.1751234531402588, 0.30574992299079895, -0.2973043620586395, -0.2759116590023041, -0.5961126089096069, 0.206228107213974, 0.22130313515663147, -0.14358514547348022, -0.3370583951473236, 0.15633226931095123, -0.013281053863465786, -0.17740218341350555, 0.4733129143714905, -0.5030589699745178, -0.7300808429718018, 0.6420738697052002, 0.785744845867157, 0.6470059156417847, -0.27686598896980286, 0.4298470616340637, 0.3502032160758972, 0.39758047461509705, -0.04710588604211807, 0.468770295381546, 0.1684068739414215, -0.6641229391098022, -0.6736706495285034, -0.6312500238418579, -0.36656850576400757, 0.07019501179456711, -0.650781512260437, 0.32946035265922546, -0.5761590600013733, -0.10882837325334549, -0.4248700737953186, 0.2040383368730545, -0.6126506328582764, 0.1750267744064331, 0.02112744189798832, 1.0114678144454956, -0.8114016056060791, 0.6047766208648682, 1.029514193534851, -0.24427799880504608, -0.8137629628181458, 0.2633608877658844, -0.10275420546531677, -0.8550736904144287, 0.5698235034942627, 0.24252314865589142, 0.022767530754208565, 0.2086496204137802, -0.19117510318756104, -0.6212508082389832, 1.2852190732955933, 0.4184487462043762, -0.574883222579956, 0.008405175991356373, 0.037155140191316605, 0.7495800852775574, -0.5080299973487854, 0.3903104364871979, 0.994428813457489, 0.5645937919616699, 0.19526825845241547, -1.276537299156189, -0.010165334679186344, 0.12427449226379395, 0.03550641983747482, -0.003478417405858636, -0.5692466497421265, 0.6478855013847351, -0.2939487397670746, -0.07260119169950485, -0.13857927918434143, 0.41092023253440857, 0.702377438545227, 0.46588894724845886, 0.3046562373638153, 0.403875470161438, 0.9388680458068848, 0.12095585465431213, 1.0020445585250854, -0.038709960877895355, 0.15507517755031586, 1.0312812328338623, -0.5891545414924622, 0.760192334651947, 0.3735238015651703, -0.37225717306137085, 0.41611725091934204, 0.4341919422149658, 0.23819690942764282, 0.30059102177619934, 0.4121687412261963, -0.14871159195899963, -0.2240482121706009, -0.018100744113326073, -0.09185034781694412, 0.5970630049705505, 0.31329938769340515, -0.32905271649360657, -0.11975843459367752, 0.09886834025382996, 0.2079150229692459, 0.3067927658557892, -0.47045689821243286, 0.7449676394462585, 0.2329641729593277, -0.864476203918457, 0.6080422401428223, -0.1631459891796112, 0.38745975494384766, -0.5696029663085938, 0.11644816398620605, 0.006692071445286274, 0.00038441698416136205, -0.14068706333637238, -1.0077016353607178, 0.2532668709754944, 0.23353572189807892, 0.14379030466079712, 0.0280349999666214, 1.0021013021469116, -0.490630567073822, -0.21116411685943604, 0.1796039491891861, 0.7367187142372131, 0.20774592459201813, -0.14904892444610596, -0.8184831142425537, 0.1477775275707245, -0.15867336094379425, -0.47942814230918884, 0.40209299325942993, 0.3636036217212677, -0.172765851020813, 0.718299150466919, 0.5995856523513794, 0.21346083283424377, 0.07876338064670563, 0.09802978485822678, 0.8506361246109009, -0.639110267162323, -0.3648865818977356, -0.913776695728302, 0.5933176279067993, 0.009798136539757252, -0.412480890750885, 0.9121283292770386, 0.29407116770744324, 0.8698586225509644, -0.16182497143745422, 0.8188879489898682, 0.09918010234832764, 0.2488173395395279, -0.5981351733207703, 0.42929843068122864, -0.03417106345295906, 0.14632056653499603, -0.29226258397102356, -0.9317034482955933, -0.21000611782073975, 0.7059906721115112, -0.85664963722229, 0.37691086530685425, 0.9335132837295532, 0.5457122325897217, 0.255461722612381, -0.05542771890759468, 0.6328573226928711, 0.1539870798587799, 0.12744267284870148, 0.6045392751693726, 1.082749843597412, -0.07199299335479736, 0.5535925626754761, -0.05407699570059776, -0.2971613109111786, -0.08196358382701874, -0.9694681167602539, -1.0220640897750854, -0.27357572317123413, -0.21392709016799927, -0.28618812561035156, 0.08245757222175598, 1.0318455696105957, 0.2217881828546524, -0.5170095562934875, -0.30027201771736145, 0.11924948543310165, 0.18682369589805603, -0.13217146694660187, -0.2183050960302353, 0.2204349786043167, -0.34565454721450806, -0.45276862382888794, 0.32840773463249207, 0.36911091208457947, -0.0817309096455574, -0.36553487181663513, -0.34048765897750854, -0.26972517371177673, 0.06248879060149193, 0.6255365014076233, 0.08678500354290009, -0.7629697918891907, -0.06989166140556335, 0.17511029541492462, -0.05114654079079628, 0.02826584503054619, 0.8161901831626892, -0.8020763993263245, 0.44259583950042725, 0.3601166009902954, 0.6067938208580017, 0.07589665800333023, 0.3594922423362732, 0.6002747416496277, -0.603123664855957, 0.1115041971206665, 0.6245915293693542, -0.021247440949082375, 0.24559269845485687, -0.12740352749824524, 0.3262362778186798, 0.28699398040771484, -0.6574167609214783, -0.9142884612083435, 0.3328985869884491, -0.597321629524231, -0.004149486310780048, 1.4525563716888428, -0.5577145218849182, -0.1267063468694687, -0.4592137038707733, -0.42759570479393005, 0.0923868864774704, -0.05554460361599922, 0.35174381732940674, 1.1137034893035889, -0.12336291372776031, -0.06659214943647385, -1.0662239789962769, 0.42235681414604187, 0.3102279603481293, -0.701668918132782, 0.22998325526714325, 0.36076822876930237, 0.20351406931877136, 0.017963089048862457, 0.6822121739387512, -0.2536189556121826, 0.4878329634666443, -0.14978541433811188, -0.30375102162361145, -0.11643742769956589, -0.46777570247650146, -0.5806155204772949, 0.061741024255752563, 0.3302971422672272, 0.06617366522550583 ]
http://arxiv.org/abs/2403.12666v1
http://arxiv.org/pdf/2403.12666v1
Multi-Dimensional Machine Translation Evaluation: Model Evaluation and Resource for Korean
2024-03-19T12:02:38
2024-03-19T12:02:38
Dojun Park, Sebastian Padó
cs.CL
cs.CL
Almost all frameworks for the manual or automatic evaluation of machine translation characterize the quality of an MT output with a single number. An exception is the Multidimensional Quality Metrics (MQM) framework which offers a fine-grained ontology of quality dimensions for scoring (such as style, fluency, accuracy, and terminology). Previous studies have demonstrated the feasibility of MQM annotation but there are, to our knowledge, no computational models that predict MQM scores for novel texts, due to a lack of resources. In this paper, we address these shortcomings by (a) providing a 1200-sentence MQM evaluation benchmark for the language pair English-Korean and (b) reframing MT evaluation as the multi-task problem of simultaneously predicting several MQM scores using SOTA language models, both in a reference-based MT evaluation setup and a reference-free quality estimation (QE) setup. We find that reference-free setup outperforms its counterpart in the style dimension while reference-based models retain an edge regarding accuracy. Overall, RemBERT emerges as the most promising model. Through our evaluation, we offer an insight into the translation quality in a more fine-grained, interpretable manner.
[ -0.19424712657928467, -0.3835560083389282, 0.7542757391929626, 0.23284922540187836, -0.42150434851646423, 0.05485043302178383, -0.04246561974287033, -0.1784573793411255, 0.164384663105011, 0.6291000843048096, -0.5741467475891113, -0.5769138336181641, -0.6085935235023499, 0.33459553122520447, -0.16603435575962067, 0.9343469142913818, -0.3510124087333679, 0.3369613289833069, -0.35697928071022034, -0.3644239008426666, -0.4469403922557831, -0.5125792026519775, -0.23928788304328918, -0.39547181129455566, 0.3790086805820465, 0.3685421943664551, 0.9451355338096619, 0.7545375227928162, 0.6804132461547852, 0.25319889187812805, 0.2834814190864563, 0.29634156823158264, -0.13429658114910126, 0.062280815094709396, -0.03131479769945145, -0.4100145697593689, -0.6430407166481018, 0.37670302391052246, 0.8202120065689087, 0.4960445165634155, 0.11458412557840347, 0.4821717143058777, 0.03251736983656883, 0.7881152629852295, -0.30407822132110596, 0.2079300880432129, -0.27191224694252014, 0.08679430186748505, -0.0625360831618309, -0.1820264309644699, -0.41588228940963745, -0.4375472962856293, 0.023385485634207726, -0.6004428267478943, -0.18480932712554932, 0.20718730986118317, 0.7651551961898804, 0.42185500264167786, -0.7173168063163757, -0.18990539014339447, -0.5715961456298828, 1.1284537315368652, -0.6294155120849609, 0.6783237457275391, 0.2853946387767792, 0.6535290479660034, 0.05225954204797745, -0.5502544045448303, -0.4945542812347412, -0.47374212741851807, -0.007086970377713442, 0.32119444012641907, -0.030140047892928123, -0.2117685079574585, -0.13551467657089233, 0.455374151468277, -0.6676729917526245, -0.17439687252044678, -0.2205023467540741, -0.16734443604946136, 0.6564093828201294, 0.5411555767059326, 0.1306275725364685, -0.670814573764801, -0.6203489899635315, -0.12996187806129456, -0.2410196214914322, -0.03579114004969597, 0.18339717388153076, 0.29772019386291504, 0.026384461671113968, 0.7062568068504333, -0.23705996572971344, 0.5085787773132324, -0.15371061861515045, -0.44459038972854614, 0.5331531167030334, -0.7714253067970276, -0.2503140866756439, -0.43726322054862976, 1.145402193069458, 0.6340788006782532, -0.046415336430072784, -0.2952810823917389, -0.342103511095047, -0.13641151785850525, 0.45178139209747314, -0.7833846807479858, -0.009025191888213158, 0.22620868682861328, -0.9401883482933044, -0.25838255882263184, 0.042670924216508865, -0.7316580414772034, -0.16681715846061707, -0.5011619925498962, 0.5053853988647461, -0.37248504161834717, -0.17071522772312164, 0.08092334866523743, 0.08683548122644424, -0.2767178416252136, 0.14245562255382538, -0.31589505076408386, 0.028724465519189835, 0.2833426594734192, 0.8452799916267395, -0.30457109212875366, -0.5289171934127808, -0.28713494539260864, -0.21203415095806122, -0.3694131076335907, 0.8230058550834656, -0.38450995087623596, -0.25310513377189636, -0.25152552127838135, 0.10239661484956741, -0.20232708752155304, -0.5271281599998474, 0.9824392795562744, -0.3653372526168823, 0.13437122106552124, -0.0835704356431961, -0.397134006023407, -0.39191386103630066, 0.35894501209259033, -0.6620373129844666, 0.9344066977500916, 0.47859987616539, -0.4187857508659363, 0.22647646069526672, -0.5895310640335083, -0.15578855574131012, -0.07724341005086899, 0.04699530079960823, -0.3697567284107208, 0.4152326285839081, -0.015264278277754784, 0.49019187688827515, -0.7365582585334778, 0.1824941635131836, -0.1376248449087143, -0.2630561888217926, 0.3830355405807495, -0.42000046372413635, 0.37470898032188416, 0.4990488886833191, 0.19613273441791534, 0.27193450927734375, -0.8563718795776367, 0.5629127621650696, -0.01709008403122425, -0.6917733550071716, -0.22067397832870483, -0.43493616580963135, 0.2595069408416748, 0.6622766852378845, 0.3114703297615051, -0.36117199063301086, 0.10183833539485931, -0.12071748822927475, 0.3171621859073639, 0.2566662132740021, -0.09055174142122269, 0.4094056189060211, -0.32296064496040344, 0.8586727380752563, -0.07172956317663193, 0.11266259104013443, -0.26948681473731995, -0.3711659014225006, -0.4168291389942169, -0.35363081097602844, 0.7160238027572632, 0.6024885773658752, -0.9824591875076294, 0.26444756984710693, -0.44332361221313477, -0.6495352387428284, -1.1509437561035156, 0.048451099544763565, 0.7775329351425171, 0.06437311321496964, 0.5403724312782288, -0.3521234393119812, -0.361157089471817, -0.9540656805038452, -0.45576655864715576, 0.2296096831560135, -0.24975624680519104, 0.29038286209106445, 0.4458414614200592, -0.36141958832740784, 0.39184603095054626, -0.3377878963947296, -0.26558879017829895, -0.053928837180137634, 0.3302139639854431, 0.25148454308509827, 0.5240635275840759, 0.35490766167640686, -0.5610921382904053, -0.668404221534729, -0.02184569276869297, -0.8263948559761047, -0.2562713623046875, -0.08785358816385269, -0.1500225067138672, -0.0766831710934639, 0.4704662263393402, -0.49759823083877563, 0.1311025619506836, 0.9299031496047974, -0.2000211477279663, 1.0535967350006104, -0.1464904397726059, 0.7672170400619507, -1.2322955131530762, 0.1731138825416565, -0.02635154314339161, -0.16848382353782654, -0.6439728140830994, 0.2550152540206909, 0.2686712145805359, -0.06549748033285141, -0.43315911293029785, 0.4867740869522095, -0.2627207338809967, -0.09202718734741211, -0.39969298243522644, 0.533940851688385, 0.33119669556617737, 0.37675413489341736, -0.37111207842826843, 0.7030369639396667, -0.2471277266740799, -0.36287280917167664, 0.3983786106109619, 0.11440868675708771, -0.5155240297317505, 0.8979265093803406, -0.49658042192459106, 0.09153558313846588, 0.09915812313556671, 0.02675473690032959, -1.018267273902893, 0.12038151174783707, 0.2761569917201996, -0.4612460732460022, 0.29837000370025635, -0.1850113570690155, -0.7376430034637451, -0.169111430644989, -0.216881662607193, 0.563115656375885, 0.03982127457857132, -0.14163261651992798, 0.4298960566520691, 0.21892572939395905, 0.025636732578277588, -0.42888814210891724, -0.5178364515304565, 0.1559736132621765, -0.09492073953151703, -0.5813565850257874, 0.40021491050720215, -0.04325868934392929, 0.054688628762960434, 0.1265423446893692, -0.2070826292037964, -0.10384326428174973, 0.14307771623134613, 0.187672421336174, 0.12503570318222046, -0.280159056186676, 0.1258435994386673, 0.16179421544075012, -0.7016568779945374, -0.052898019552230835, -0.45437610149383545, 0.3602125942707062, -0.07563357055187225, -0.29587680101394653, -0.47215887904167175, 0.32074034214019775, 0.8024471998214722, -0.3369969427585602, 0.697425901889801, 0.8135592341423035, -0.4116456210613251, 0.2870250940322876, -0.36517298221588135, 0.08368314057588577, -0.2964446544647217, 0.6222389340400696, -0.9107232093811035, -0.7592088580131531, 0.35394999384880066, -0.27542686462402344, -0.062120355665683746, 0.726070761680603, 0.4405149519443512, -0.0038690376095473766, 1.1926790475845337, 0.39572885632514954, 0.23144415020942688, 0.14119188487529755, -0.07066187262535095, 0.27519771456718445, -1.0964038372039795, -0.10126745700836182, -0.6737021207809448, -0.2487412542104721, -0.7059387564659119, -0.6013012528419495, 0.39749768376350403, 0.4268280863761902, -0.012326912023127079, 0.4721573293209076, -0.2568816840648651, 0.33527445793151855, 0.5121198892593384, -0.20381978154182434, 0.5148094892501831, -0.17652402818202972, -0.6191613078117371, -0.47816577553749084, -0.5870246887207031, -1.1290202140808105, 1.1457140445709229, 0.4278358519077301, 0.40398460626602173, 0.08016413450241089, 0.34139806032180786, 0.15872858464717865, 0.38714492321014404, -0.7718517184257507, 0.21339429914951324, -0.471664696931839, -0.5998489856719971, -0.3131106495857239, -0.7116416096687317, -0.7414122819900513, 0.6972600817680359, -0.3294064402580261, -0.376478374004364, -0.30023494362831116, -0.11597447842359543, -0.4511916935443878, -0.0528428740799427, -0.5829091668128967, 1.1952624320983887, -0.2263479232788086, -0.16205598413944244, -0.23047785460948944, -0.4787556529045105, 0.5218618512153625, -0.4710462689399719, 0.31196486949920654, -0.5000362992286682, -0.018806645646691322, 0.6235824227333069, -0.05706563964486122, 0.30587518215179443, 0.05008558928966522, 0.14344249665737152, 0.1307697296142578, 0.27260443568229675, 0.08469102531671524, 0.003244563704356551, -0.3642731308937073, 0.2860618233680725, 0.5769288539886475, -0.3534989655017853, -0.7108659148216248, 0.6085887551307678, -0.7414615154266357, -0.19452503323554993, -0.13546501100063324, -0.7294753789901733, -0.06398502737283707, 0.40191319584846497, 0.13343575596809387, 0.13222017884254456, -0.21334606409072876, 0.14305901527404785, -0.0160822831094265, -0.4606565237045288, -0.12746749818325043, 0.5479393005371094, -0.4519583582878113, -0.7811994552612305, 0.9729220867156982, 0.3196156322956085, 0.4075438678264618, 0.3411155939102173, 0.26656532287597656, -0.4967624545097351, -0.3481144607067108, -0.8886127471923828, 0.09745756536722183, -0.7256325483322144, -0.33611661195755005, -0.622320830821991, -0.08569798618555069, -0.16254884004592896, 0.2040266990661621, -0.6673738360404968, -0.6094229221343994, 0.13809634745121002, 0.19413328170776367, -0.13759149610996246, 0.7625464200973511, 0.19859327375888824, 0.4628136456012726, -1.1967724561691284, 0.24821697175502777, -0.17169693112373352, 0.3487148582935333, -0.030450019985437393, -0.7129106521606445, -0.7228800058364868, 0.18221502006053925, -0.6053420305252075, -0.6541135907173157, 0.3640676736831665, -0.18575310707092285, 0.6634773015975952, 0.1775193214416504, -0.028491493314504623, 0.574722945690155, -0.7105107307434082, 0.6132928729057312, 0.19010698795318604, -0.9706922173500061, 0.16895656287670135, -0.016375644132494926, 0.5060138702392578, 0.5983024835586548, 0.4056263864040375, -0.8436970114707947, -0.25377196073532104, -0.42318782210350037, -0.5391274094581604, 0.510382890701294, 0.005850738845765591, -0.02007480524480343, 0.13366208970546722, 0.46779733896255493, 0.27309852838516235, 0.5652337074279785, -0.6087808609008789, -0.3397867679595947, -0.36150744557380676, -0.27522867918014526, -0.33550387620925903, -0.5204031467437744, 0.25815919041633606, 0.0656733289361, 0.5844639539718628, -0.011655242182314396, 0.1730160266160965, -0.122216135263443, -0.1433192789554596, -0.159551739692688, 0.25716519355773926, 0.6611204147338867, 0.5179566144943237, -0.0964903011918068, 0.21187067031860352, 0.13302834331989288, -0.24363332986831665, 0.3972449004650116, -0.03683070093393326, -0.12262137234210968, 0.17790886759757996, 0.29259273409843445, 0.47152259945869446, 0.3489551544189453, -0.3756023347377777, 0.31656143069267273, 0.02666495367884636, -0.1571480631828308, 0.015445424243807793, -0.42054516077041626, 0.18524080514907837, 0.38177743554115295, 0.07693861424922943, 0.17396950721740723, 0.1592080444097519, -0.33142778277397156, 0.2556900382041931, 0.1734674870967865, -0.5601825714111328, -0.4167514443397522, 0.6415239572525024, 0.1355670988559723, -0.24172073602676392, 0.5838432908058167, -0.5892692804336548, -0.6401793956756592, 0.2218242585659027, 0.36730143427848816, 0.8042725324630737, -0.5407186150550842, 0.09162500500679016, 0.5052606463432312, 0.4993446469306946, -0.10048624873161316, 0.2549901008605957, 0.5032192468643188, -0.6459875702857971, -0.6255946159362793, -0.7621439695358276, -0.23569710552692413, 0.006731885951012373, -0.5740343332290649, 0.155406653881073, -0.0776633769273758, -0.3705827295780182, 0.001470409333705902, 0.37489190697669983, -0.6541286706924438, 0.20590585470199585, -0.3341144621372223, 0.6112465858459473, -0.853155791759491, 0.9873372316360474, 0.728879988193512, -0.6399490833282471, -0.4640171229839325, -0.09259172528982162, 0.08023950457572937, -0.5897994041442871, 0.5137349367141724, 0.22098608314990997, -0.24857188761234283, 0.049129437655210495, 0.13708847761154175, -0.9175799489021301, 1.0625427961349487, 0.32544684410095215, -0.22335480153560638, 0.39414671063423157, 0.24545666575431824, 0.5324650406837463, -0.6093472838401794, 0.1854793280363083, 0.6514743566513062, 0.5501874089241028, -0.3263663649559021, -1.0241426229476929, 0.1494266539812088, -0.17158982157707214, 0.14438116550445557, 0.27593904733657837, -0.7481271624565125, 0.8140026926994324, -0.0037200050428509712, -0.2668832838535309, 0.26396387815475464, 0.406931072473526, 0.14795081317424774, 0.3908384144306183, 0.280954509973526, 0.4992727041244507, 0.6384081244468689, -0.033274080604314804, 0.989562451839447, -0.46506261825561523, 0.3516370952129364, 1.15200674533844, -0.0798206627368927, 0.9255576133728027, 0.403899222612381, -0.33211299777030945, 0.08017289638519287, 0.591319739818573, -0.09899314492940903, 0.4292726218700409, 0.42677268385887146, 0.11522950977087021, -0.2126370519399643, -0.24451853334903717, -0.23083996772766113, 0.533966064453125, 0.029463455080986023, -0.46645835041999817, 0.014578879810869694, 0.012700367718935013, -0.002660817466676235, 0.32277435064315796, -0.053793203085660934, 0.391411691904068, 0.24804136157035828, -0.4919746518135071, 0.5161982774734497, 0.5859840512275696, 0.35680118203163147, -0.046418387442827225, 0.06345813721418381, -0.16760379076004028, 0.25043120980262756, -0.13464666903018951, -0.5692203640937805, 0.4705289304256439, -0.20538091659545898, -0.6051282286643982, -0.2798647880554199, 0.22483427822589874, -0.5361254215240479, -0.6964906454086304, 0.25372207164764404, 1.008098840713501, 0.5037583112716675, -0.27736666798591614, -0.8714557886123657, 0.0797860324382782, -0.054441750049591064, -0.1414748728275299, 0.3922460675239563, 0.795870304107666, -0.0803670808672905, 0.6957351565361023, 0.5940293669700623, -0.2761545181274414, 0.00236919685266912, 0.05934177339076996, 0.40918242931365967, -0.6592295169830322, -0.1723404824733734, -0.8861703276634216, 0.4496361315250397, 0.2614534795284271, -0.42906996607780457, 0.9886319637298584, 0.617729127407074, 0.8321380019187927, -0.22737158834934235, 0.652934193611145, 0.455424964427948, 0.5649919509887695, -0.5584390163421631, 0.7389042973518372, -0.711602509021759, 0.1598644107580185, -0.4103122055530548, -1.0452783107757568, -0.4366048276424408, 0.6626294255256653, -0.08039162307977676, 0.09430492669343948, 1.0199742317199707, 0.5395757555961609, 0.039415162056684494, -0.14053262770175934, 0.7365796566009521, 0.028053265064954758, 0.10070886462926865, 0.4838285744190216, 0.967056155204773, -0.9080530405044556, 0.8060782551765442, -0.034668415784835815, -0.20033413171768188, -0.3516180217266083, -0.8999359011650085, -0.6760424375534058, -0.5796388387680054, -0.29587388038635254, -0.4248655438423157, -0.26570335030555725, 0.9983974695205688, 0.5832955837249756, -0.7353307604789734, -0.37122011184692383, 0.6210117340087891, 0.15799938142299652, -0.5799134373664856, -0.12147016823291779, 0.3652198016643524, -0.39399319887161255, -0.7961359024047852, 0.3316883444786072, 0.32960355281829834, 0.026573574170470238, -0.37085673213005066, -0.25557422637939453, -0.07788565754890442, -0.12546208500862122, 0.7267751693725586, -0.43746253848075867, -0.8285309672355652, -0.14480064809322357, 0.1535661220550537, -0.41060909628868103, 0.007422099355608225, 0.6195971369743347, -0.28775402903556824, 0.542203426361084, 0.2894700765609741, 0.6053515672683716, 0.3229179382324219, 0.055926915258169174, 0.6986190676689148, -0.5700414776802063, -0.20113110542297363, -0.031240880489349365, 0.2386246621608734, 0.23405715823173523, -0.0010413810377940536, 0.5883251428604126, 0.1414436250925064, -0.6904343366622925, -0.669181227684021, 0.18228350579738617, -0.4742274582386017, -0.1691768765449524, 0.7759807109832764, -0.5029081702232361, -0.05790383368730545, -0.18620477616786957, -0.18422535061836243, 0.2928243577480316, -0.12780089676380157, 0.8224272131919861, 1.0173869132995605, 0.06696983426809311, -0.15115705132484436, -1.210198163986206, 0.4029388129711151, 0.35857653617858887, -0.6328222751617432, -0.00719941733404994, 0.2989462912082672, 0.027508608996868134, 0.44526830315589905, 0.3891361355781555, -0.3502754271030426, 0.244196817278862, 0.08913211524486542, 0.23986980319023132, -0.12070849537849426, -0.4050752818584442, -0.3369710445404053, 0.06475581228733063, 0.28127261996269226, -0.38901740312576294 ]
http://arxiv.org/abs/2403.15459v1
http://arxiv.org/pdf/2403.15459v1
Assessing effect sizes, variability, and power in the on-line study of language production
2024-03-19T11:49:03
2024-03-19T11:49:03
Bürki Audrey, Vasishth Shravan
cs.CL
cs.CL
With the pandemic, many experimental psychologists and linguists have started to collect data over the internet (hereafter on-line data). The feasibility of such experiments and the sample sizes required to achieve sufficient statistical power in future experiments have to be assessed. This in turn requires information on effect sizes and variability. In a series of analyses, we compare response time data obtained in the same word production experiment conducted in the lab and on-line. These analyses allow us to determine whether the two settings differ in effect sizes, in the consistency of responses over the course of the experiment, in the variability of average response times across participants, in the magnitude of effect sizes across participants, or in the amount of unexplained variability. We assess the impact of these differences on the power of the design in a series of simulations. Our findings temper the enthusiasm raised by previous studies and suggest that on-line production studies might be feasible but at a non-negligible cost. The sample sizes required to achieve sufficient power in on-line language production studies come with a non-negligible increase in the amount of manual labour.
[ -0.6215669512748718, -0.7721381783485413, 0.27222344279289246, 0.7028932571411133, 0.09170511364936829, -0.1553400605916977, -0.5441755056381226, -0.7128031253814697, 0.8065871596336365, 0.3738991320133209, -0.18266603350639343, 0.4078386127948761, -0.7411003708839417, 0.5394898056983948, -0.5172954201698303, 0.6917809844017029, 0.10351254045963287, 0.22477945685386658, -0.0315355621278286, 0.018968040123581886, -0.1894083321094513, -0.26583608984947205, -0.6429630517959595, -0.043215058743953705, 0.6238328218460083, 0.6459206342697144, 0.7995713949203491, 0.6909690499305725, 0.872522234916687, 0.2039480209350586, 0.13799147307872772, -0.20610223710536957, -0.6029204726219177, 0.17918504774570465, 0.18091553449630737, -0.44278183579444885, -0.5749279260635376, 0.24776461720466614, 0.6711930632591248, 0.8527942895889282, -0.05950714275240898, 0.3095303177833557, 0.0783899649977684, 0.3107517659664154, -0.6671737432479858, -0.2310386747121811, -0.35072028636932373, 0.20718534290790558, -0.08780910819768906, -0.12105449289083481, -0.41901013255119324, -0.5066672563552856, 0.1515236347913742, -0.5977228283882141, 0.32693153619766235, 0.05137375369668007, 0.6830747723579407, 0.06399276107549667, 0.03299122303724289, -0.3781719505786896, -1.0325664281845093, 0.6908321976661682, -0.9630767107009888, 0.2910345494747162, 0.6529696583747864, 0.23833683133125305, -0.08293129503726959, -0.9753739237785339, -0.5827978849411011, -0.1555449217557907, 0.21421976387500763, 0.229808509349823, -0.3707740604877472, -0.04948246106505394, 0.5991100072860718, 0.4837554693222046, -0.4316723048686981, 0.15222157537937164, -0.48744526505470276, 0.0888674408197403, 0.6692835688591003, 0.08693789690732956, 0.48179343342781067, 0.14014731347560883, 0.2826288938522339, -0.09096018970012665, -0.3426584005355835, -0.2466345578432083, 0.4440723657608032, 0.3721480071544647, 0.06351567804813385, 0.7244425415992737, -0.35812464356422424, 0.3754454255104065, 0.15559306740760803, -0.13681073486804962, -0.18398544192314148, -0.6498565673828125, -0.2508280575275421, 0.13131731748580933, 0.8547940254211426, 0.5380088090896606, 0.07561413198709488, -0.11554528027772903, -0.03485216572880745, -0.0965336486697197, 0.27492770552635193, -0.9925085306167603, -0.18326517939567566, 0.009624885395169258, -0.25253424048423767, 0.00045744626550003886, 0.09862443804740906, -1.0777281522750854, -0.41488805413246155, 0.04410721734166145, 0.6073797345161438, 0.00641085347160697, -0.27483341097831726, 0.13533730804920197, -0.5805879831314087, 0.2685387432575226, 0.10138780623674393, -0.8259488940238953, 0.6559492945671082, 0.05747467279434204, 0.970511794090271, 0.12553942203521729, -0.15966123342514038, -0.5445267558097839, -0.4528052806854248, -0.4072326421737671, 0.6604801416397095, -0.32942381501197815, -0.5911997556686401, 0.03135518357157707, -0.35735753178596497, 0.022362329065799713, -0.3581383526325226, 0.12354622036218643, -0.09282513707876205, 0.368072509765625, -0.4453714191913605, -0.5919267535209656, 0.4508197605609894, -0.27200841903686523, -0.7278552055358887, 0.6449213624000549, 0.05494677275419235, -1.0061475038528442, 0.5271012783050537, -0.6759195327758789, -0.6463505625724792, -0.023359086364507675, -0.28310513496398926, -0.40141308307647705, 0.454170286655426, -0.2890070974826813, 0.13838322460651398, -0.26927822828292847, -0.3541427254676819, -0.38314124941825867, -0.24399295449256897, 0.69513338804245, -0.29891547560691833, 0.7842755913734436, 0.2608034610748291, -0.7688584327697754, -0.37637317180633545, -0.910079836845398, 0.16513387858867645, 0.20760071277618408, -0.5247445106506348, -0.19015423953533173, 0.25910574197769165, 0.22672702372074127, 0.11497397720813751, -0.01650521717965603, -0.8901458382606506, 0.1622302383184433, -0.3305855393409729, 0.13048520684242249, 0.1690208464860916, 0.03667673096060753, 0.2149008959531784, -0.36528047919273376, 0.658844530582428, -0.8117014169692993, 0.4252844750881195, 0.5011530518531799, -0.7279912829399109, -0.8687652349472046, 0.0007287086918950081, 0.5156518816947937, 0.4251159727573395, -0.42798376083374023, 0.17309248447418213, -0.21575388312339783, -0.6821582317352295, -0.3382182717323303, -0.08701112121343613, 0.31383389234542847, -0.15001650154590607, 0.03983430191874504, -0.874853253364563, -0.7815291285514832, -0.8033406138420105, -0.40847882628440857, 0.08518966287374496, -0.4407591223716736, 0.13916046917438507, 0.2627168595790863, -0.00022047734819352627, 1.2491421699523926, -0.6485917568206787, -0.10339709371328354, -0.6180055737495422, 0.6809976696968079, -0.2518547773361206, 0.10205543786287308, 0.5064870119094849, -0.30676794052124023, -0.5780707597732544, -0.13041900098323822, -0.4893769323825836, -0.7038247585296631, 0.06735661625862122, 0.40179136395454407, 0.12541773915290833, 0.39061471819877625, -0.2095898985862732, 0.5914992094039917, 0.6250125169754028, -0.14926888048648834, 0.49920740723609924, -0.6533874869346619, 0.14361067116260529, -0.9761195778846741, 0.0705464705824852, -0.0005866179126314819, 0.0988258421421051, -1.0811561346054077, -0.18192651867866516, -0.05908772721886635, -0.18921047449111938, -0.35874685645103455, 0.07818492501974106, -0.4282740652561188, -0.4345110356807709, -0.5751603841781616, 0.36425772309303284, 0.033600833266973495, 0.025372399017214775, -0.3284379839897156, 0.6372793316841125, 0.02185063809156418, -0.484230101108551, 0.18379858136177063, -0.11592800170183182, -0.4400843679904938, 0.12932640314102173, -0.6765245795249939, -0.06991495937108994, 0.07460163533687592, 0.26382994651794434, -0.9944546818733215, -0.6111664772033691, -0.073862224817276, -0.3924946188926697, 0.015611750073730946, 0.5986851453781128, -0.5237656831741333, -0.23149564862251282, -0.4875792860984802, 0.0949939638376236, 0.33284512162208557, 0.09127138555049896, 0.39843642711639404, 0.4825485050678253, -0.11904148012399673, -0.10038484632968903, -1.0021799802780151, 0.1329651027917862, -0.3850184679031372, -0.4664563834667206, -0.09648347645998001, -0.2824789881706238, -1.009660243988037, -0.31878283619880676, -0.06732770055532455, -0.31237146258354187, 0.27201375365257263, 0.20364803075790405, -0.2579403221607208, -0.11045148968696594, 0.11407258361577988, -0.2426900416612625, 0.3719418942928314, 0.2719290554523468, 0.40771859884262085, 0.3521539270877838, 0.037081893533468246, -0.11557208001613617, -0.3121068775653839, 0.5360042452812195, 0.7156847715377808, 0.13235965371131897, 0.7188025712966919, 0.3729102313518524, -0.3105647563934326, -0.12844093143939972, -0.4791518747806549, -0.35747602581977844, -0.4442533850669861, 0.0416250117123127, -0.07969250530004501, -0.47890621423721313, 0.40863198041915894, 0.08710212260484695, 0.1305375099182129, 0.6200019121170044, 0.2669402062892914, 0.1329781860113144, 0.9534004330635071, 0.6623234152793884, 0.4433588981628418, 0.6189864277839661, -0.039933450520038605, 0.3049626648426056, -0.5224114656448364, 0.2196468859910965, -0.7791678309440613, -0.25803348422050476, -0.6162763237953186, -0.17724062502384186, 0.35412895679473877, 0.14338041841983795, -0.01191730983555317, 0.31471699476242065, -0.11368363350629807, 0.39521440863609314, 0.42807674407958984, -0.1454547643661499, 0.32718944549560547, -0.06331861764192581, 0.18572551012039185, 0.07125836610794067, -0.7968993186950684, -0.3764747977256775, 1.186503529548645, 0.10475529730319977, 0.5567371845245361, 0.30959847569465637, 0.17221161723136902, 0.43921032547950745, 0.1815214604139328, -0.7638371586799622, 0.4726819396018982, -0.021377133205533028, -0.44519662857055664, -0.5240916013717651, -0.27103391289711, -1.3733296394348145, 0.020323429256677628, -0.44678765535354614, -0.8030451536178589, 0.09207621961832047, 0.02100774459540844, -0.5322425365447998, 0.14079013466835022, -0.9584718346595764, 0.49491265416145325, -0.15433873236179352, -0.22347691655158997, -0.3682381212711334, -0.702267050743103, 0.05205263942480087, -0.5323574542999268, 0.4873242974281311, 0.07487514615058899, 0.21385613083839417, 1.0401469469070435, -0.5358878970146179, 1.0328278541564941, 0.3302902579307556, 0.01152097899466753, 0.23238186538219452, -0.07959908992052078, 0.09880873560905457, -0.26686152815818787, -0.09650972485542297, 0.09502346068620682, -0.04623664170503616, -0.5321152210235596, -0.4208888113498688, 0.5255078077316284, -0.9131367206573486, -0.6568931341171265, -0.4316621422767639, -0.587731659412384, -0.23963190615177155, -0.010127251967787743, 0.73395836353302, 0.6863178014755249, -0.4011532664299011, 0.4271080195903778, 0.4365631937980652, -0.3150123953819275, 0.6977452039718628, 0.5190221667289734, -0.6615782976150513, -0.3536696135997772, 0.8071954250335693, 0.9134156703948975, 0.9371749758720398, 0.16834118962287903, 0.6906188130378723, 0.024788429960608482, -0.1001734733581543, -0.29781413078308105, 0.15033593773841858, -0.5470253229141235, 0.4709935486316681, -0.41845956444740295, -0.12150420993566513, -0.5561051368713379, 0.018744967877864838, -0.45746123790740967, -0.5570741891860962, -0.09611966460943222, 0.22238245606422424, 0.5015511512756348, 1.278298020362854, -0.36809632182121277, 0.39628100395202637, -0.4234253764152527, -0.051777392625808716, 0.5590830445289612, 0.3469521999359131, -0.06645016372203827, -0.3685290515422821, -0.4356931447982788, 0.15276266634464264, -0.496201753616333, -1.0944701433181763, 0.25993192195892334, 0.2531067728996277, 0.35053494572639465, 0.5278325080871582, 0.21789231896400452, 0.21699030697345734, -0.23570385575294495, 0.9568055868148804, 0.2071487009525299, -0.9496283531188965, 0.47197216749191284, -0.24284730851650238, 0.4244227707386017, 0.05582938343286514, 0.3988591432571411, -0.6268900632858276, -0.7806286215782166, -0.9664477705955505, -0.7983815670013428, 0.5032147765159607, 0.5957499146461487, -0.2529298961162567, 0.0025251007173210382, -0.1012270376086235, 0.16561980545520782, 0.09331530332565308, -0.13660471141338348, -0.23604217171669006, -0.19758370518684387, 0.41307970881462097, -0.1135115697979927, 0.059641122817993164, -0.07998868823051453, -0.18484613299369812, 0.4319849908351898, 0.080693818628788, 0.25625160336494446, 0.3570321798324585, 0.17811544239521027, -0.39374592900276184, 0.33791619539260864, 0.8230285048484802, 1.1703883409500122, -0.3223656415939331, 0.30529239773750305, 0.5465895533561707, -0.7537269592285156, -0.206767275929451, -0.3737165331840515, 0.10187743604183197, 0.2538226842880249, 0.4281839430332184, 0.7637800574302673, -0.0549420565366745, -0.7724207043647766, 0.45361801981925964, -0.4088946282863617, -0.3009379506111145, -0.13946260511875153, 0.08245140314102173, -0.13170208036899567, 0.04878992587327957, 0.2691044211387634, -0.09481538832187653, 0.06658509373664856, -0.586268424987793, 0.03400221839547157, 0.13493385910987854, -0.04898384213447571, -0.27363601326942444, 0.23311109840869904, 0.0689002126455307, -0.8473946452140808, 0.40997686982154846, -0.08416851609945297, -0.09046324342489243, 0.911617636680603, 0.8086381554603577, 0.46627479791641235, -0.4012647271156311, 0.20147456228733063, -0.009997538290917873, 0.29362839460372925, -0.4208613336086273, 0.3547897934913635, 0.4550122320652008, -0.49300727248191833, -0.23983748257160187, -0.440151572227478, -0.7304807901382446, 0.47867584228515625, -0.8064654469490051, -0.08134818822145462, -0.5359567999839783, -0.5566837787628174, 0.09410197287797928, -0.03844495862722397, -0.4489654302597046, 0.19443358480930328, -0.13351452350616455, 0.5800917744636536, -0.9312276840209961, 0.5420510172843933, 0.4095039665699005, -0.5296422243118286, -0.8517025709152222, 0.44547006487846375, 0.013974059373140335, -0.27355802059173584, 0.45776811242103577, 0.13718128204345703, -0.06728603690862656, -0.04255305603146553, -0.22613641619682312, -1.022843360900879, 0.7716412544250488, 0.1816062480211258, -0.4229862093925476, 0.5573498606681824, 0.3972664177417755, 0.8769615292549133, -0.207468643784523, 0.37704432010650635, 0.6637035012245178, 0.4976171851158142, -0.26158300042152405, -1.3919099569320679, -0.23395223915576935, -0.16793043911457062, -0.07473127543926239, 0.2892778813838959, -0.5470175743103027, 0.9311145544052124, 0.050631068646907806, -0.43656617403030396, -0.18823426961898804, 0.44119712710380554, -0.29900383949279785, 0.10711107403039932, 0.46645981073379517, 0.4152275025844574, 0.7332489490509033, 0.11463804543018341, 1.305992841720581, -0.3136100172996521, 0.4430648982524872, 0.9024662375450134, -0.22459043562412262, 1.0784894227981567, 0.6544398069381714, -0.48203980922698975, 0.11632499098777771, 0.5132527351379395, 0.2114240676164627, 0.21752546727657318, 0.83609539270401, -0.26013416051864624, 0.008153092116117477, -0.4580896198749542, -0.47194311022758484, 0.22570717334747314, 0.2785969376564026, -0.19450721144676208, -0.07256808876991272, 0.5081309676170349, 0.11317172646522522, -0.045509759336709976, -0.22174781560897827, 0.41576704382896423, 0.11009177565574646, -0.5583986043930054, 0.47124966979026794, 0.0430561788380146, 0.26398733258247375, -0.609306812286377, 0.4454805850982666, -0.39218807220458984, 0.46510249376296997, -0.12737223505973816, -0.6109216809272766, 0.5707027316093445, 0.09867262840270996, -0.006271862890571356, -0.11077548563480377, 0.4556945562362671, -0.03736582398414612, -0.44955843687057495, 0.2978995740413666, 0.7086895704269409, 0.5441494584083557, 0.1438341587781906, 0.04769064486026764, 0.3059456944465637, -0.26484498381614685, -0.32311755418777466, 0.5536115765571594, 0.27110394835472107, 0.07850582897663116, 0.3613153398036957, 0.23260147869586945, 0.44522392749786377, 0.45030486583709717, 0.2546958327293396, 0.4175047278404236, -0.3176947832107544, -0.20332515239715576, -0.6968510746955872, -0.053209900856018066, -0.3169132471084595, -0.7044661641120911, 1.1147583723068237, 0.5368847846984863, 0.8318358659744263, -0.17042794823646545, 0.9600801467895508, -0.4571581482887268, 0.16307969391345978, -0.027798043563961983, 0.5062087774276733, -0.6059636473655701, -0.012878628447651863, -0.21565626561641693, -0.6996712684631348, -0.4008672535419464, 0.4832797646522522, -0.4051799774169922, -0.3629656136035919, 1.088608741760254, 0.5387474298477173, 0.07746359705924988, 0.33766674995422363, 0.25437256693840027, 0.3455481231212616, 0.23167236149311066, 0.07658392190933228, 0.5847982168197632, -0.36231669783592224, 0.4949154555797577, -0.25861459970474243, -0.5697236657142639, -0.32114359736442566, -0.8581094741821289, -0.7477381229400635, -0.41253387928009033, -0.12930713593959808, -0.35297876596450806, -0.22608326375484467, 1.2260793447494507, 0.006271844729781151, -0.5453686118125916, -0.814433753490448, -0.18252453207969666, -0.37246108055114746, -0.49310457706451416, -0.19530533254146576, 0.22322674095630646, -0.1850314736366272, -0.6350178718566895, 0.2940603494644165, 0.15776054561138153, -0.01000075601041317, -0.39443206787109375, 0.10059065371751785, -0.4057026505470276, 0.7119059562683105, 0.5277470350265503, 0.4148300886154175, -0.7648617029190063, -0.44912585616111755, 0.07562145590782166, -0.39025071263313293, 0.03328040614724159, 0.8418093323707581, -0.1396426260471344, 0.6072725057601929, 0.9905346035957336, 0.5728285312652588, 0.20853587985038757, -0.4350937306880951, 0.9014462232589722, -0.6289939284324646, -0.39737677574157715, -0.27617064118385315, 0.4461122155189514, 0.21049997210502625, -0.14273610711097717, 0.42329588532447815, 0.40315690636634827, -0.8093116879463196, -0.5539551973342896, 0.20196428894996643, -0.7987846732139587, -0.3953750729560852, 1.274484634399414, -0.08780962973833084, 0.18884024024009705, -0.27620163559913635, -0.22573359310626984, 0.7605502605438232, -0.22254125773906708, 1.2168956995010376, 1.0930784940719604, -0.43082454800605774, 0.33403274416923523, -0.7980455160140991, 0.3575580418109894, 0.3573876917362213, -0.9139786958694458, 0.05275316908955574, 0.3115590214729309, 0.04497097432613373, 0.6078983545303345, 0.5226501226425171, 0.49049657583236694, -0.04195244237780571, 0.4264484643936157, -0.012040299363434315, 0.5111951231956482, -0.22735965251922607, -0.18635481595993042, 0.4383988082408905, 0.12845896184444427, 0.07103977352380753 ]
http://arxiv.org/abs/2403.15458v1
http://arxiv.org/pdf/2403.15458v1
Fine-Tuning Pre-trained Language Models to Detect In-Game Trash Talks
2024-03-19T11:36:53
2024-03-19T11:36:53
Daniel Fesalbon, Arvin De La Cruz, Marvin Mallari, Nelson Rodelas
cs.CL
cs.CL, cs.LG
Common problems in playing online mobile and computer games were related to toxic behavior and abusive communication among players. Based on different reports and studies, the study also discusses the impact of online hate speech and toxicity on players' in-game performance and overall well-being. This study investigates the capability of pre-trained language models to classify or detect trash talk or toxic in-game messages The study employs and evaluates the performance of pre-trained BERT and GPT language models in detecting toxicity within in-game chats. Using publicly available APIs, in-game chat data from DOTA 2 game matches were collected, processed, reviewed, and labeled as non-toxic, mild (toxicity), and toxic. The study was able to collect around two thousand in-game chats to train and test BERT (Base-uncased), BERT (Large-uncased), and GPT-3 models. Based on the three models' state-of-the-art performance, this study concludes pre-trained language models' promising potential for addressing online hate speech and in-game insulting trash talk.
[ -0.3010193705558777, -0.9217721223831177, 0.3810885548591614, 0.02592705935239792, -0.23308594524860382, -0.1405976414680481, -0.12598104774951935, -0.8214730620384216, -0.18814173340797424, 0.5692237615585327, -0.5573365688323975, -0.2973017394542694, -0.6701361536979675, -0.07081504166126251, -0.3109070956707001, 1.3510191440582275, 0.4778387248516083, 0.26560676097869873, -0.14899437129497528, 0.020614003762602806, -0.7715091109275818, -0.7193464636802673, -0.9143556356430054, -0.2935698926448822, 0.3246217370033264, 0.4852175712585449, 0.7786263823509216, 0.15981584787368774, 0.8060950040817261, 0.3539925515651703, -0.21992725133895874, -0.05394025892019272, -1.031389832496643, 0.29496482014656067, -0.2478737235069275, -0.3476048707962036, -0.5458261966705322, 0.12079393118619919, 0.10473193973302841, -0.15648441016674042, -0.018808607012033463, 0.31813034415245056, 0.23146313428878784, 0.11497674882411957, -0.42551591992378235, 0.22465895116329193, -0.8086802363395691, -0.06525544077157974, -0.2747599482536316, -0.18116098642349243, -0.414305716753006, -0.40295758843421936, 0.2532704174518585, -0.5023354291915894, -0.25613150000572205, -0.4617878794670105, 1.044141411781311, 0.2736968696117401, -0.13167890906333923, -0.6971134543418884, -0.9568870067596436, 0.7943356037139893, -1.243427038192749, 0.10551194846630096, 0.6773622035980225, 0.3587874472141266, -0.17715448141098022, -0.3053808808326721, -0.6192666888237, -0.2584684491157532, -0.10974416881799698, 0.13302744925022125, -0.3445642292499542, 0.2083437740802765, 0.16165494918823242, 0.007251839619129896, -0.41564416885375977, 0.5895265936851501, -0.42348548769950867, -0.09255039691925049, 0.6372146606445312, 0.26552456617355347, 0.4471515119075775, 0.1175585463643074, -0.09895741939544678, 0.1724424511194229, -0.6407894492149353, -0.13417454063892365, 0.5078208446502686, 0.2605415880680084, 0.023581581190228462, 0.20066173374652863, 0.07606620341539383, 0.5236324071884155, 0.0818604975938797, -0.18914589285850525, 0.1273983120918274, -0.3089045584201813, -0.10409962385892868, -0.27101942896842957, 0.5929712653160095, 0.7356997132301331, 0.6085246205329895, -0.07729627937078476, -0.2351335883140564, 0.14987407624721527, 0.28132420778274536, -1.1296107769012451, -0.4767877161502838, 0.18432797491550446, -0.7435944080352783, -0.6173539757728577, -0.6001676917076111, -0.7030571699142456, -0.823878824710846, -0.0802006945014, 0.7360326647758484, -0.30252236127853394, -0.58607417345047, -0.12580963969230652, -0.051080863922834396, 0.10696142166852951, 0.09523490071296692, -0.7727957963943481, 0.30609002709388733, 0.4330670237541199, 0.5059937238693237, 0.03943274915218353, -0.04810379445552826, -0.41711941361427307, -0.1968187540769577, -0.13347642123699188, 0.9817018508911133, -0.7727689146995544, -0.2917594015598297, 0.1785927265882492, -0.4782164394855499, 0.2585023045539856, -0.6974579095840454, 0.8652481436729431, -0.468138188123703, 0.31874319911003113, -0.26168423891067505, -0.7814887762069702, -0.18240800499916077, 0.2975655496120453, -0.3161046802997589, 0.6975482106208801, -0.07886285334825516, -0.7437655329704285, 0.5548754930496216, -0.8344749212265015, -0.3859972357749939, 0.21263542771339417, 0.28260019421577454, -0.6550556421279907, 0.02761818654835224, 0.12159575521945953, 0.6013917326927185, -0.1320050060749054, -0.10374010354280472, -0.577339768409729, -0.6145879030227661, 0.35902324318885803, -0.18441414833068848, 0.6775019764900208, 0.5152134299278259, -0.3824540972709656, 0.4090017080307007, -0.4230794608592987, 0.24218972027301788, -0.07697103917598724, -0.33167019486427307, -0.3975854516029358, 0.6906553506851196, -0.020131252706050873, 0.5981156826019287, -0.10459918528795242, -0.6486741304397583, -0.3784027695655823, -0.4788050055503845, 0.515143096446991, 0.6515259146690369, -0.16904646158218384, 0.24430547654628754, -0.3503873944282532, 0.15598826110363007, -0.018330993130803108, 0.605338990688324, 0.1331215500831604, -0.6006093621253967, -0.5252840518951416, -0.08373340964317322, -0.1293606460094452, 0.7269561886787415, -0.5378088355064392, 0.3559749722480774, -0.3510415852069855, -0.5868185758590698, -0.31746023893356323, -0.13635559380054474, 0.5891293883323669, 0.49463513493537903, 0.22909612953662872, -0.2545570135116577, -0.4569253623485565, -0.6546832919120789, -0.38719695806503296, -0.4149876832962036, 0.04054165631532669, 0.7489073872566223, 0.30975303053855896, -0.2257334440946579, 0.9733613729476929, -0.11812207102775574, -0.35823366045951843, -0.12785647809505463, 0.31396225094795227, -0.11518576741218567, 0.3023940920829773, 0.8339961767196655, -0.571414053440094, -0.9135181307792664, -0.25816723704338074, -0.44316309690475464, -0.32223793864250183, 0.22450639307498932, 0.0895865261554718, -0.23217301070690155, 0.5354934334754944, -0.08192142844200134, 0.39082565903663635, 0.6661932468414307, -0.41682788729667664, 0.3202093839645386, -0.049634672701358795, 0.3623283803462982, -0.6762830018997192, -0.203970804810524, -0.22671674191951752, -0.20802249014377594, -1.0434774160385132, -0.01463567279279232, -0.2112710028886795, -0.28503963351249695, -0.6942545771598816, 0.28685709834098816, -0.30845361948013306, 0.2099839746952057, -0.6252886652946472, 0.035200074315071106, -0.6398321390151978, 0.3206495940685272, 0.105867899954319, 0.8391121625900269, 0.530677080154419, -0.8076183199882507, 0.1115049496293068, 0.1945364773273468, -0.3785015344619751, 0.7402108311653137, -0.4306100308895111, 0.3772687613964081, -0.03791383281350136, 0.18175363540649414, -0.9125734567642212, 0.11602355539798737, 0.27598968148231506, -0.5303693413734436, -0.012393981218338013, -0.3759184181690216, -0.684543788433075, -0.5038503408432007, -0.0059370072558522224, 0.23801445960998535, 0.4602850079536438, -0.24366261065006256, 0.2930668890476227, 0.9112932682037354, -0.18561522662639618, -0.2877812087535858, -0.49603405594825745, -0.18549895286560059, -0.5032220482826233, -0.6277201175689697, -0.15631365776062012, -0.3487612307071686, -0.0886201485991478, -0.28189951181411743, 0.1790030151605606, -0.7323111295700073, 0.30659136176109314, 0.33540722727775574, 0.12737293541431427, -0.012132925912737846, 0.2021818608045578, -0.3191784620285034, 0.11754719913005829, 0.2652237117290497, 0.12336341291666031, 0.496194064617157, -0.17087268829345703, 0.02069440670311451, -0.40260007977485657, 0.21121157705783844, 0.5114091634750366, -0.20174822211265564, 0.6847807168960571, 0.48735442757606506, -0.17071029543876648, -0.09612718224525452, -0.6004415154457092, -0.31888845562934875, -0.4993465542793274, 0.6096730828285217, -0.07360129058361053, -0.966317892074585, 0.6691830158233643, 0.018470168113708496, 0.15543746948242188, 0.13332834839820862, 0.589618980884552, -0.36526012420654297, 1.346075177192688, 0.5987540483474731, -0.1617322862148285, 0.6808062195777893, 0.2266663759946823, 0.13409079611301422, -0.11827000975608826, 0.13968046009540558, -0.53163081407547, -0.3513794243335724, -0.5076031684875488, -0.3665846288204193, 0.19205424189567566, -0.13149785995483398, -0.648664653301239, 0.07594036310911179, -0.5266450643539429, 0.9799096584320068, 0.13772530853748322, 0.20514477789402008, -0.07627786695957184, -0.12402557581663132, 0.4033619165420532, -0.2563607394695282, -0.42845508456230164, -0.34948307275772095, 1.046870470046997, 0.6716415882110596, 0.6008018255233765, 0.29514211416244507, 0.43457236886024475, 0.10757097601890564, 0.7534685134887695, -0.6175622940063477, 0.3013361394405365, -0.2402062863111496, -1.1149940490722656, -0.3690328896045685, -0.3779178261756897, -0.7696253657341003, 0.01785963401198387, -0.4582137167453766, -0.7382189631462097, -0.10990003496408463, 0.27140679955482483, -0.6628783345222473, 0.48257386684417725, -0.90817791223526, 0.7953999042510986, -0.16028329730033875, 0.014086135663092136, -0.47034889459609985, -0.5700523853302002, 0.5035879015922546, -0.22078090906143188, 0.4095461070537567, -0.2689448297023773, 0.3592316508293152, 0.6831544041633606, -0.28785577416419983, 0.9248003363609314, -0.27186986804008484, -0.30594348907470703, 0.5157737731933594, 0.25852063298225403, 0.653047502040863, -0.2649368345737457, 0.12930908799171448, 0.32789427042007446, -0.08388783037662506, -0.18204893171787262, -0.15708106756210327, 0.5584679245948792, -0.8023621439933777, -0.1736462414264679, -0.19423002004623413, -0.3736695647239685, -0.4457232356071472, 0.2926214635372162, 0.45153626799583435, 0.023522619158029556, -0.3503112196922302, -0.07370414584875107, 0.9062368273735046, -0.5727723836898804, 0.41707196831703186, 1.015599012374878, -0.1382715106010437, 0.08769755065441132, 0.9511845111846924, -0.17533300817012787, 0.27550143003463745, 0.14597611129283905, 0.16552843153476715, -0.18645156919956207, -0.7284286022186279, 0.005345222540199757, 0.004552182741463184, -0.5759906768798828, -0.4591183364391327, -0.3900356590747833, -0.22024154663085938, -0.18820324540138245, 0.2647528648376465, -0.5162136554718018, 0.1847546547651291, -0.3228518068790436, 0.03796130418777466, 0.20159220695495605, 1.2603360414505005, -0.2664838135242462, 0.6491432189941406, -0.9297573566436768, -0.08211971074342728, 0.49102288484573364, 0.8783395886421204, -0.07638514041900635, -0.7530612945556641, -0.25958266854286194, 0.19869041442871094, -0.22862529754638672, -1.1716351509094238, 0.333649218082428, 0.22308871150016785, 0.4064236581325531, 0.5804632306098938, -0.30693918466567993, 0.6641881465911865, -0.5158621668815613, 0.7284994125366211, 0.032719966024160385, -0.8093487024307251, 0.5566851496696472, -0.6865541338920593, -0.17360009253025055, 0.5519147515296936, 0.20508840680122375, -0.4942436218261719, -0.5851576328277588, -0.3593690097332001, -0.2841707468032837, 0.8603028655052185, 0.3556521534919739, 0.37175655364990234, -0.21250438690185547, -0.015361634083092213, 0.008198488503694534, 0.023204529657959938, -0.8568944334983826, -0.48493748903274536, -0.19244790077209473, 0.1893519014120102, -0.07225777953863144, -0.7643140554428101, 0.11373285949230194, -0.26355311274528503, 0.457367867231369, 0.4441623389720917, 0.27653783559799194, -0.5993317365646362, -0.28152650594711304, -0.2323950082063675, 0.32597920298576355, 0.678881049156189, 0.5194345712661743, -0.4648537337779999, -0.215530127286911, 0.2651830315589905, -0.5973168015480042, -0.04540955275297165, -0.14194054901599884, -0.05520636960864067, -0.14008961617946625, 0.06520242244005203, 0.6231958866119385, 0.5127568244934082, -0.6691142320632935, 0.8254314661026001, -0.13498809933662415, -0.12820187211036682, -0.13954012095928192, -0.10951724648475647, -0.03176005557179451, 0.08827754110097885, -0.1300899237394333, 0.09765788167715073, 0.3203020393848419, -0.6268430352210999, 0.33503758907318115, 0.4955676794052124, -0.47639185190200806, -0.3235643208026886, 0.6217901706695557, 0.6676377654075623, -0.0593017116189003, 0.6626381278038025, -0.396074116230011, -0.6995800137519836, 0.12171071022748947, 0.4540373384952545, 0.6694590449333191, -0.37563082575798035, 0.4364102780818939, 0.49696075916290283, 0.17275306582450867, 0.20966759324073792, 0.23876358568668365, 0.30054807662963867, -0.8685271739959717, -0.599966287612915, -0.48143965005874634, -0.0061728013679385185, 0.5840180516242981, -0.33790332078933716, 0.06532316654920578, -0.38587599992752075, -0.4991088807582855, -0.05459553375840187, 0.009537672623991966, -0.8581146001815796, -0.015533799305558205, 0.6374136805534363, 0.5131024122238159, -1.1645289659500122, 0.6745341420173645, 0.5537945032119751, -0.6406076550483704, -0.819447934627533, -0.17458152770996094, 0.03825204819440842, -0.6351698040962219, 1.0333236455917358, -0.19474124908447266, -0.02628857083618641, 0.061665333807468414, -0.7348164916038513, -0.9054224491119385, 0.5407101511955261, 0.2593451142311096, -0.35257449746131897, 0.039991386234760284, 0.10457873344421387, 0.8727723956108093, 0.03585803508758545, 0.8173702955245972, 0.5779664516448975, 0.24677926301956177, -0.03702022135257721, -1.5587459802627563, -0.4132094085216522, -0.20455080270767212, -0.14389878511428833, 0.012798825278878212, -0.49429836869239807, 0.9054921269416809, 0.004858300089836121, -0.6469308733940125, -0.09718799591064453, 0.5342893600463867, -0.09603624045848846, -0.1199425756931305, 0.6132970452308655, 0.4971311688423157, 0.6262972950935364, -0.1135629266500473, 0.7332318425178528, -0.10715460032224655, 0.3605145514011383, 1.0396009683609009, -0.09814681857824326, 0.7824719548225403, -0.128738135099411, 0.03072005696594715, 0.5333544611930847, 0.5070459246635437, 0.18764010071754456, 0.6497904658317566, 0.4894215166568756, -0.15286827087402344, -0.41396939754486084, -0.02360965497791767, -0.3071573078632355, 0.5819658637046814, 0.5558856725692749, -0.08104193955659866, -0.5608855485916138, 0.27941176295280457, 0.2675479054450989, 0.16069604456424713, -0.5055471658706665, 1.0371581315994263, -0.33453115820884705, -0.4267619848251343, 0.5072923302650452, -0.1277613341808319, 1.2609449625015259, -0.2864052355289459, -0.09330660849809647, -0.17937353253364563, 0.4307989478111267, -0.04037558659911156, -0.876887857913971, 0.19094744324684143, 0.16423262655735016, 0.03765808045864105, -0.20712290704250336, 0.9859891533851624, -0.30115994811058044, 0.014265825040638447, 0.2639318108558655, 0.40876996517181396, 0.5864593982696533, -0.3685325086116791, -0.878358006477356, 0.09936017543077469, -0.1344926357269287, 0.22419196367263794, 0.42650189995765686, 0.4392608106136322, 0.11814969033002853, 0.7441776394844055, 0.3924393653869629, 0.19604046642780304, 0.21453452110290527, 0.07371752709150314, 0.8019165396690369, -0.20665353536605835, -0.6034411191940308, -0.6326448321342468, 0.43345797061920166, -0.201954647898674, -0.32176557183265686, 0.7349088788032532, 0.4987742006778717, 0.8683055639266968, -0.18291668593883514, 0.7314679622650146, 0.021117491647601128, 1.0679188966751099, -0.038397058844566345, 1.1239134073257446, -0.11157259345054626, 0.04191458225250244, -0.4536482095718384, -0.5543298125267029, -0.11671759933233261, 0.782787561416626, -0.37553176283836365, 0.16511736810207367, 0.3967770040035248, 0.7689164280891418, 0.04423653706908226, -0.16247674822807312, 0.38172441720962524, 0.4556766450405121, 0.6219797730445862, 0.6848728656768799, 0.9649507999420166, -0.18473400175571442, 0.913145899772644, -0.01638219878077507, -0.29833707213401794, -0.23505516350269318, -0.691789448261261, -1.3050495386123657, -0.529470682144165, 0.023971641436219215, -0.306842178106308, 0.24017047882080078, 0.3409503400325775, 0.6614111065864563, -0.9162105321884155, -0.1529357135295868, 0.13146647810935974, -0.12501899898052216, -0.08405015617609024, -0.2185581773519516, 0.025820977985858917, -0.5349182486534119, -0.6751124262809753, 0.33419209718704224, -0.014423668384552002, 0.013089058920741081, 0.052970536053180695, -0.19365999102592468, -0.07243556529283524, 0.2206609547138214, 0.8573550581932068, 0.3842187821865082, -0.48628875613212585, -0.45204606652259827, -0.21321281790733337, -0.3603043854236603, -0.09814272820949554, 0.7876148223876953, -0.6451064348220825, 0.49614065885543823, 0.4906224310398102, 0.17436398565769196, 0.06997767090797424, 0.04169684275984764, 0.5564292669296265, -0.6762515902519226, 0.14708681404590607, 0.5870930552482605, -0.18806934356689453, 0.10972455143928528, -0.26890280842781067, 0.13941259682178497, -0.1166817918419838, -0.7709164023399353, -0.9236037135124207, 0.12043215334415436, -0.32305973768234253, -0.40153172612190247, 1.23390793800354, 0.009888100437819958, 0.3248160183429718, -0.4252139925956726, -0.3217281401157379, 0.3650604784488678, -0.30128660798072815, 0.8901857733726501, 0.8228397965431213, 0.001627436256967485, -0.018500378355383873, -0.6783368587493896, 1.2818821668624878, 0.22370414435863495, -0.8669010996818542, 0.21692578494548798, 0.7231073379516602, 0.4512372612953186, 0.07297655940055847, 0.9460487961769104, -0.11284936219453812, 0.34834134578704834, -0.08121082931756973, -0.08946418762207031, 0.08439307659864426, -0.04346892610192299, -0.10401321947574615, -0.19912926852703094, -0.06503350287675858, -0.1389034539461136 ]
http://arxiv.org/abs/2403.12601v1
http://arxiv.org/pdf/2403.12601v1
LHMKE: A Large-scale Holistic Multi-subject Knowledge Evaluation Benchmark for Chinese Large Language Models
2024-03-19T10:11:14
2024-03-19T10:11:14
Chuang Liu, Renren Jin, Yuqi Ren, Deyi Xiong
cs.CL
cs.CL
Chinese Large Language Models (LLMs) have recently demonstrated impressive capabilities across various NLP benchmarks and real-world applications. However, the existing benchmarks for comprehensively evaluating these LLMs are still insufficient, particularly in terms of measuring knowledge that LLMs capture. Current datasets collect questions from Chinese examinations across different subjects and educational levels to address this issue. Yet, these benchmarks primarily focus on objective questions such as multiple-choice questions, leading to a lack of diversity in question types. To tackle this problem, we propose LHMKE, a Large-scale, Holistic, and Multi-subject Knowledge Evaluation benchmark in this paper. LHMKE is designed to provide a comprehensive evaluation of the knowledge acquisition capabilities of Chinese LLMs. It encompasses 10,465 questions across 75 tasks covering 30 subjects, ranging from primary school to professional certification exams. Notably, LHMKE includes both objective and subjective questions, offering a more holistic evaluation of the knowledge level of LLMs. We have assessed 11 Chinese LLMs under the zero-shot setting, which aligns with real examinations, and compared their performance across different subjects. We also conduct an in-depth analysis to check whether GPT-4 can automatically score subjective predictions. Our findings suggest that LHMKE is a challenging and advanced testbed for Chinese LLMs.
[ -0.2756192982196808, -0.8066169023513794, 0.6355492472648621, 0.18564249575138092, -0.23668533563613892, -0.06470642238855362, -0.6431975960731506, -0.48236629366874695, -0.30023959279060364, 0.378705769777298, -0.46695995330810547, -0.7316784262657166, -0.3845403790473938, 0.08931120485067368, -0.10314052551984787, 0.7310866713523865, -0.03143319487571716, 0.03484855219721794, -0.13787142932415009, -0.2454855740070343, -0.22600659728050232, -0.30412840843200684, -0.489696204662323, -0.4249066114425659, 0.6878589987754822, 0.1371183693408966, 0.3810816705226898, 0.2515856921672821, 0.5891264081001282, 0.1755640059709549, -0.08420933783054352, 0.21073447167873383, -0.013585876673460007, 0.15752635896205902, -0.2278180569410324, -0.2103363275527954, -0.559440553188324, -0.18798735737800598, 0.9027575850486755, 0.739860475063324, -0.19814766943454742, 0.48169538378715515, 0.22733524441719055, 0.5192830562591553, -0.7601337432861328, 0.17452511191368103, -0.5842294692993164, 0.25136715173721313, -0.39460811018943787, 0.12057904154062271, -0.2856939136981964, -0.33930331468582153, 0.25700464844703674, -0.4212985932826996, -0.24681518971920013, -0.027165504172444344, 0.5076054334640503, 0.08099757134914398, -0.7041996717453003, 0.10584701597690582, -0.22093413770198822, 0.9395550489425659, -1.1206377744674683, 0.30732783675193787, 0.2615179419517517, 0.4227801263332367, -0.0686797946691513, -0.49951010942459106, -0.4413217604160309, -0.44011497497558594, 0.21882419288158417, 0.31649771332740784, 0.2595268189907074, 0.06017550826072693, 0.25565385818481445, 0.45483770966529846, -0.7849407196044922, 0.24356403946876526, -0.030663296580314636, -0.3440413475036621, 0.6101149916648865, 0.24034975469112396, 0.3050451874732971, -0.25192299485206604, -0.24068866670131683, 0.00822495762258768, -0.5719574093818665, 0.21737223863601685, 0.3276996314525604, 0.2251937836408615, -0.014973911456763744, 0.519666314125061, -0.41732463240623474, 0.9776044487953186, -0.11893368512392044, -0.46789851784706116, 0.17213495075702667, -0.15060970187187195, -0.22991134226322174, 0.07220476865768433, 0.920157790184021, 0.18768972158432007, 0.21404053270816803, -0.018681718036532402, -0.05892215669155121, -0.26495951414108276, -0.062239788472652435, -0.8354858756065369, 0.04056725278496742, 0.41031718254089355, -0.2784584164619446, -0.024053998291492462, -0.032144974917173386, -0.591174304485321, -0.6257463097572327, -0.2727791666984558, 0.29819461703300476, -0.23992453515529633, -0.4777434468269348, 0.2940787672996521, 0.0365649051964283, 0.7617101073265076, 0.42080479860305786, -0.5718164443969727, 0.020256860181689262, 0.9552150368690491, 0.6646097302436829, -0.5186837315559387, -0.6073542237281799, -0.39376094937324524, 0.11362562328577042, -0.28503167629241943, 0.684069037437439, -0.23430581390857697, -0.28202933073043823, 0.1528603434562683, 0.01779288612306118, 0.346866637468338, -0.5817961692810059, 0.5807311534881592, -0.5267528891563416, 0.0685889944434166, -0.561444103717804, -0.6216689944267273, -0.1895192563533783, 0.7554354667663574, -0.43528446555137634, 1.0028495788574219, 0.16903139650821686, -0.850199818611145, 0.3010263741016388, -0.21326391398906708, -0.6247592568397522, 0.21134713292121887, -0.3005017936229706, -0.2764698565006256, -0.14081844687461853, 0.07058542966842651, 0.7184295058250427, -0.6913009881973267, 0.6776173710823059, -0.6706945300102234, -0.37197571992874146, 0.04871547967195511, -0.4706088602542877, 0.9150838851928711, -0.06466364860534668, -0.38346460461616516, 0.19972534477710724, -0.7361564636230469, 0.21782110631465912, 0.1434793472290039, -0.46152082085609436, -0.44293442368507385, -0.23341625928878784, -0.21535369753837585, 0.1688031554222107, 0.4791501760482788, -0.5386013984680176, 0.213265061378479, -0.30585604906082153, 0.1023138016462326, 0.8070452213287354, -0.09090841561555862, 0.19496601819992065, -0.24097295105457306, 0.33350807428359985, 0.036041975021362305, 0.061043448746204376, -0.051707323640584946, -0.5654481053352356, -0.5470430254936218, 0.04481839761137962, 0.08113572746515274, 0.4206465780735016, -0.596996545791626, 0.5597957968711853, -0.30506375432014465, -0.7375448942184448, -0.4074477255344391, 0.3918284475803375, 0.2410925328731537, 0.46002715826034546, 0.24952150881290436, -0.18108762800693512, -0.05455150827765465, -0.8813678026199341, -0.4662877321243286, -0.04543432965874672, -0.1866787075996399, 0.224844828248024, 0.518739640712738, -0.006711533293128014, 0.609269380569458, -0.5247337818145752, -0.2556686997413635, -0.27787357568740845, 0.021250344812870026, 0.3156934380531311, 0.10865780711174011, 0.24853962659835815, -0.38555005192756653, -0.6272812485694885, 0.29276058077812195, -0.8342151045799255, 0.01693074218928814, 0.13325738906860352, -0.22650182247161865, 0.024385666474699974, 0.11393660306930542, -0.5649644732475281, -0.10760582238435745, 0.592616617679596, -0.016421576961874962, 0.9849068522453308, -0.06248462572693825, 0.1195635125041008, -0.8571682572364807, 0.20625771582126617, 0.10373029112815857, -0.03865356743335724, -0.3630099296569824, 0.28156036138534546, 0.41911399364471436, 0.0033490739297121763, -0.5879899859428406, 0.9023841023445129, -0.4448290467262268, -0.29690417647361755, -0.18151985108852386, 0.5979005694389343, -0.07925111055374146, 0.7980525493621826, 0.1899784505367279, 0.5376576781272888, 0.5102907419204712, -0.629096508026123, 0.7419974207878113, -0.10544954985380173, -0.849071741104126, 0.8327001333236694, -0.6699191331863403, 0.17034998536109924, 0.1318960189819336, 0.21731242537498474, -0.6459411382675171, -0.26783671975135803, 0.10053190588951111, -0.12965025007724762, 0.1523955762386322, 0.25580888986587524, -0.5218675136566162, -0.3888419270515442, -0.4979812800884247, 0.4772258400917053, 0.33616769313812256, -0.37137094140052795, 0.5153819918632507, 0.2745096981525421, -0.08772260695695877, -0.9138680696487427, -0.49284622073173523, -0.0004090224683750421, -0.19088685512542725, -0.4775482416152954, 0.09766644984483719, -0.15978609025478363, -0.225302591919899, -0.1179593950510025, -0.17222467064857483, -0.09132300317287445, 0.18277621269226074, -0.23157945275306702, 0.23781868815422058, -0.43910568952560425, 0.06443193554878235, 0.010127095505595207, 0.13175177574157715, 0.2504318058490753, -0.27983707189559937, 0.4973333477973938, -0.21378813683986664, -0.7746075391769409, -0.22248616814613342, -0.07599730789661407, 0.4455069601535797, -0.4621572196483612, 0.3082699179649353, 0.7777360081672668, -0.4001260995864868, -0.4658237397670746, -0.45812174677848816, -0.030312009155750275, -0.4334125518798828, 0.7604787945747375, -0.4078117609024048, -0.8347258567810059, 0.3142690360546112, -0.11679680645465851, 0.5819286704063416, 0.4827290177345276, 0.8006451725959778, 0.05345325544476509, 0.5660832524299622, 0.09730204194784164, -0.43035972118377686, 0.008816222660243511, 0.023141734302043915, 0.061899054795503616, -0.9678164124488831, 0.051769010722637177, -0.2852488160133362, -0.20232391357421875, -0.3053681254386902, -0.4561455249786377, 0.4958694875240326, -0.331749826669693, -0.5716305375099182, 0.16432727873325348, -0.3114950954914093, 0.16556258499622345, 0.47977280616760254, 0.20472732186317444, 0.5540978312492371, -0.37345534563064575, -0.04013592377305031, 0.015985913574695587, -0.38869568705558777, -0.260793000459671, 1.2803471088409424, 0.3541657030582428, 0.45563340187072754, 0.07410416007041931, 0.5565419793128967, 0.0808778777718544, 0.541904866695404, -1.0114864110946655, 0.7203993797302246, -0.18563038110733032, -0.8596551418304443, -0.6289187669754028, -0.3780709207057953, -0.6868963241577148, 0.5531511902809143, 0.12381051480770111, -0.43480929732322693, -0.38892313838005066, -0.1278015375137329, -0.47733697295188904, 0.4539601802825928, -0.009223191998898983, 0.7975590825080872, -0.658704936504364, -0.5153858065605164, -0.24191641807556152, -0.5343162417411804, 1.022799015045166, -0.41100895404815674, 0.29235029220581055, -0.43506869673728943, -0.0407538041472435, 0.8557596802711487, 0.11719401180744171, 0.8665432929992676, -0.19131773710250854, -0.691123902797699, 0.4377290904521942, 0.07613842189311981, 0.263956755399704, -0.07969491928815842, -0.3530459702014923, 0.3919616639614105, 0.2584303915500641, -0.34271639585494995, -0.5158817172050476, 0.6130158305168152, -0.8619278073310852, -0.6817704439163208, -0.3740912079811096, -0.44906163215637207, -0.6250471472740173, 0.3249426782131195, -0.042391087859869, 0.20041808485984802, -0.2745612561702728, 0.2867472171783447, 0.44220930337905884, -0.6732800006866455, 0.13630306720733643, 0.6715302467346191, -0.3640577495098114, -0.3331843316555023, 0.7492889165878296, 0.05923837423324585, 0.32458987832069397, 0.3489575684070587, 0.48905616998672485, -0.18541471660137177, -0.3045397996902466, -0.2906145453453064, 0.2289654016494751, -0.9255492687225342, -0.14607474207878113, -0.43586379289627075, -0.4209699034690857, -0.3452856242656708, 0.2281647026538849, -0.3373415768146515, 0.12780402600765228, 0.14236082136631012, 0.021089637652039528, -0.03499032184481621, 0.4159891605377197, 0.17009292542934418, 0.1967269778251648, -0.8695778846740723, 0.4736810326576233, 0.4947095513343811, 0.37661686539649963, 0.3023565113544464, -0.7135440707206726, -0.31184616684913635, 0.005009258631616831, -0.5028601288795471, -0.6589515209197998, 0.007561630103737116, 0.025818221271038055, 0.7996463179588318, 0.5287501215934753, 0.133707195520401, 0.5810641050338745, -0.3467644453048706, 0.9300557971000671, 0.14299389719963074, -1.0019885301589966, 0.4054446518421173, -0.4630655348300934, 0.39226460456848145, 0.47607821226119995, 0.14244544506072998, -0.7709571719169617, -0.2647406756877899, -0.34852516651153564, -0.6036365628242493, 0.419768363237381, -0.38905414938926697, 0.06028561294078827, 0.37004992365837097, 0.3608942925930023, 0.3667459785938263, 0.361125648021698, -0.9401922821998596, -0.18479152023792267, 0.14750994741916656, -0.19343750178813934, -0.10919012874364853, -0.07893028110265732, 0.02972879819571972, -0.4170222878456116, 0.48030713200569153, -0.2211257517337799, -0.18747875094413757, -0.07843378186225891, -0.09683407098054886, 0.07486730068922043, 0.49880868196487427, 0.37826284766197205, 0.5926399827003479, -0.21105718612670898, 0.19962215423583984, 0.4953947961330414, -0.35138675570487976, 0.0840950682759285, -0.2574118971824646, -0.05130148306488991, -0.2296111136674881, 0.7195091247558594, 0.4753662347793579, 0.38605791330337524, -0.7567498683929443, 0.5357848405838013, 0.2684721052646637, -0.30841317772865295, -0.27608931064605713, 0.07925257086753845, 0.2704377770423889, -0.007550056092441082, 0.11514922976493835, -0.4998244643211365, 0.06846608221530914, -0.6922643184661865, 0.15940530598163605, 0.5295725464820862, -0.16797827184200287, -0.2780154049396515, 0.40680408477783203, 0.21522675454616547, 0.026941290125250816, 0.47848623991012573, -0.03795463591814041, -0.566769540309906, 0.5934668183326721, 0.2139875739812851, 0.8540974259376526, -0.308777779340744, 0.12803661823272705, 0.6667371392250061, 0.3316388726234436, -0.43488985300064087, 0.24967974424362183, -0.37250322103500366, -0.8161849975585938, -0.41542452573776245, -0.7140446901321411, -0.788273274898529, 0.3940351903438568, -0.6339601874351501, 0.42693042755126953, -0.5650570392608643, -0.1424301117658615, -0.41486266255378723, 0.3581257164478302, -0.6467388868331909, 0.13926498591899872, 0.30541741847991943, 0.8542333841323853, -0.45334210991859436, 0.9719659686088562, 0.5291139483451843, -0.07983247935771942, -0.6807268857955933, 0.1925942599773407, -0.04305293783545494, -1.1091734170913696, 0.5822248458862305, 0.22223025560379028, 0.05118996649980545, -0.09384841471910477, -0.38646337389945984, -0.7610062956809998, 1.0901447534561157, 0.20725037157535553, -0.7569881081581116, -0.009309155866503716, 0.22911614179611206, 0.3900419771671295, 0.033165350556373596, 0.24765683710575104, 0.7680398225784302, 0.9589422345161438, -0.1712130755186081, -0.9610471129417419, 0.0289380494505167, 0.015890656039118767, -0.3934871256351471, -0.15038059651851654, -0.8510778546333313, 0.8852804899215698, -0.13479964435100555, -0.12184099107980728, -0.1888870894908905, 0.6520110964775085, 0.6389675736427307, 0.26392677426338196, 0.48355430364608765, 0.281669557094574, 0.6963441371917725, 0.061516184359788895, 0.8106747269630432, -0.4994660019874573, 0.3640328645706177, 1.157362699508667, -0.6991795897483826, 0.9879220724105835, 0.27104315161705017, -0.5863372683525085, 0.23799766600131989, 0.7557862997055054, -0.11487787216901779, 0.26863032579421997, 0.6121890544891357, -0.08878133445978165, -0.5124199986457825, 0.03545083850622177, -0.39175915718078613, 0.41657721996307373, 0.18529453873634338, 0.2619047462940216, -0.349408894777298, -0.10478442162275314, -0.02277766354382038, -0.17579533159732819, -0.18777453899383545, 0.6047316193580627, 0.4421132802963257, -0.7979382872581482, 0.4224959909915924, 0.19063030183315277, 0.9606146812438965, -0.848434567451477, 0.3428459167480469, -0.20538194477558136, 0.28558117151260376, -0.07382194697856903, -1.0645414590835571, 0.010155249387025833, -0.18229688704013824, 0.39076554775238037, 0.08553873747587204, 0.7407175302505493, -0.4428354501724243, -0.4756384491920471, 0.48811137676239014, 0.6716728210449219, 0.07809858024120331, -0.32512304186820984, -0.6860418915748596, -0.0702408105134964, -0.15981949865818024, -0.559516966342926, 0.4295894503593445, 0.5955011248588562, 0.04531010985374451, 0.6259872913360596, 0.5439271330833435, 0.3537411391735077, -0.15615622699260712, 0.16573579609394073, 0.3661990761756897, -0.7566737532615662, -0.2623017430305481, -1.0239638090133667, 0.39890366792678833, 0.022949809208512306, -0.43417343497276306, 0.8807279467582703, 0.38881295919418335, 0.7280728220939636, 0.04956769570708275, 1.1080358028411865, 0.30720600485801697, 0.4027060270309448, -0.25703951716423035, 0.798697829246521, -0.9046086668968201, 0.21143607795238495, -0.32178109884262085, -1.0314817428588867, -0.22056733071804047, 0.3842109143733978, -0.3087480366230011, 0.0869792252779007, 0.6149361729621887, 0.26932334899902344, 0.08716025948524475, -0.11287475377321243, 0.6860689520835876, 0.13620762526988983, 0.36787834763526917, 0.9183447360992432, 0.9942004084587097, -0.23190312087535858, 0.27736517786979675, -0.3978252112865448, -0.24078452587127686, 0.0018137149745598435, -0.8075674772262573, -1.0768277645111084, -0.47055116295814514, -0.21246781945228577, 0.10119646042585373, -0.34586137533187866, 0.7410879731178284, 0.32531625032424927, -0.751443088054657, -0.5465434193611145, 0.4554588198661804, 0.12224681675434113, -0.27834147214889526, -0.1760082244873047, 0.6494718790054321, -0.30280157923698425, -0.5709065794944763, 0.08565729856491089, 0.3795832395553589, -0.1956544816493988, -0.7670289874076843, 0.01609983667731285, 0.10267012566328049, -0.08524289727210999, 0.7894403338432312, 0.06966669112443924, -0.8527605533599854, -0.1326984465122223, 0.2499208003282547, -0.2178097665309906, -0.13290713727474213, 0.7631880640983582, -0.36920392513275146, 0.07381007820367813, 0.374773234128952, 0.8206414580345154, 0.1624077707529068, -0.2510013282299042, 0.44067880511283875, -0.36970552802085876, 0.05415879935026169, 0.17479382455348969, 0.43713727593421936, 0.2556475102901459, -0.21579857170581818, 0.30503642559051514, 0.09589475393295288, -0.4513905942440033, -0.7809063196182251, -0.023767612874507904, -0.9388468265533447, -0.47530636191368103, 1.43132746219635, -0.3143479824066162, -0.17315909266471863, -0.07331298291683197, -0.12320980429649353, 0.2264154851436615, -0.00436639878898859, 0.7233057022094727, 1.0705032348632812, 0.21195563673973083, -0.14863154292106628, -0.8728623986244202, 0.22832107543945312, 0.5514688491821289, -1.0388157367706299, 0.4332362115383148, 0.27298176288604736, 0.4003632068634033, -0.10928834974765778, 0.6113709211349487, -0.08015286922454834, 0.2219671607017517, -0.31609612703323364, 0.19536232948303223, 0.13321609795093536, -0.07291910797357559, -0.13364553451538086, 0.2884550094604492, 0.1631620228290558, 0.1055048257112503 ]
http://arxiv.org/abs/2403.12596v1
http://arxiv.org/pdf/2403.12596v1
Chart-based Reasoning: Transferring Capabilities from LLMs to VLMs
2024-03-19T10:03:07
2024-03-19T10:03:07
Victor Carbune, Hassan Mansoor, Fangyu Liu, Rahul Aralikatte, Gilles Baechler, Jindong Chen, Abhanshu Sharma
cs.CL
cs.CL
Vision-language models (VLMs) are achieving increasingly strong performance on multimodal tasks. However, reasoning capabilities remain limited particularly for smaller VLMs, while those of large-language models (LLMs) have seen numerous improvements. We propose a technique to transfer capabilities from LLMs to VLMs. On the recently introduced ChartQA, our method obtains state-of-the-art performance when applied on the PaLI3-5B VLM by \citet{chen2023pali3}, while also enabling much better performance on PlotQA and FigureQA. We first improve the chart representation by continuing the pre-training stage using an improved version of the chart-to-table translation task by \citet{liu2023deplot}. We then propose constructing a 20x larger dataset than the original training set. To improve general reasoning capabilities and improve numerical operations, we synthesize reasoning traces using the table representation of charts. Lastly, our model is fine-tuned using the multitask loss introduced by \citet{hsieh2023distilling}. Our variant ChartPaLI-5B outperforms even 10x larger models such as PaLIX-55B without using an upstream OCR system, while keeping inference time constant compared to the PaLI3-5B baseline. When rationales are further refined with a simple program-of-thought prompt \cite{chen2023program}, our model outperforms the recently introduced Gemini Ultra and GPT-4V.
[ -0.16743704676628113, -0.4534843862056732, 0.9608447551727295, -0.051177702844142914, -0.6060062646865845, 0.10569081455469131, -0.01667446829378605, -0.610865592956543, -0.08212394267320633, 1.1551141738891602, -0.31296807527542114, -0.4697189927101135, -0.4965457022190094, -0.20304059982299805, -0.43863534927368164, 0.6676858067512512, -0.22219479084014893, 0.2150164097547531, -0.11534828692674637, -0.0998743399977684, -0.7582813501358032, -0.7541404962539673, -0.45565760135650635, -0.11085473746061325, 0.49616366624832153, 0.6074272990226746, 0.4644785523414612, 0.5914591550827026, 0.6234524846076965, 0.29245179891586304, 0.20304402709007263, 0.7139222621917725, -0.6344361901283264, 0.2240583598613739, -0.09853925555944443, -0.6185916662216187, -0.723253607749939, -0.21295182406902313, 0.41196608543395996, 0.5115640163421631, 0.20696501433849335, 0.12990616261959076, -0.1930619478225708, 0.7812885642051697, -0.6492018103599548, 0.6360290050506592, -0.5051651000976562, 0.010090929456055164, -0.06926567852497101, -0.17677606642246246, -0.9104273319244385, -0.28933751583099365, -0.0565972775220871, -0.9327861666679382, -0.2173716425895691, 0.23941823840141296, 0.8913007974624634, 0.3900551497936249, -0.6335213780403137, -0.07411089539527893, -0.9175740480422974, 0.7107977867126465, -0.6517255902290344, 0.5132861137390137, 0.3469848334789276, 0.6680765748023987, 0.22636103630065918, -1.2255703210830688, -0.49979811906814575, -0.4131534695625305, 0.016312126070261, 0.30642902851104736, -0.17889374494552612, -0.09954136610031128, 0.5262850522994995, 0.011380135081708431, -0.30229538679122925, -0.03222500905394554, -0.6467989087104797, -0.16560110449790955, 0.722579836845398, 0.334960401058197, 0.0033644111827015877, -0.21202875673770905, -0.4367949664592743, -0.22363588213920593, -0.8295174241065979, -0.044617488980293274, -0.2291901558637619, 0.27063512802124023, 0.13204002380371094, 0.7563813924789429, -0.2313782274723053, 0.797416090965271, -0.09281909465789795, -0.2359621822834015, 0.24286416172981262, -0.6762462258338928, -0.3069053292274475, -0.18078763782978058, 0.3196077346801758, 0.49952125549316406, 0.4166345000267029, 0.16143730282783508, -0.10171492397785187, -0.004496230743825436, 0.38448813557624817, -0.4618695378303528, -0.3917941153049469, -0.21778255701065063, -0.43285930156707764, 0.013344005681574345, -0.1812005490064621, -0.4373278021812439, -0.6777225136756897, -0.8458807468414307, 0.4396982192993164, -0.6657280325889587, 0.17523065209388733, -0.017035052180290222, -0.09529784321784973, 0.14498253166675568, 0.8535155057907104, -0.6326638460159302, 0.09595280140638351, 0.5920701026916504, 0.7025964856147766, -0.24599511921405792, -0.08694865554571152, -0.7421423196792603, 0.5968343615531921, -0.549249529838562, 0.8396563529968262, -0.2613181471824646, -0.32537588477134705, -0.31541377305984497, -0.20069922506809235, -0.22406239807605743, -0.4706030488014221, 0.46656396985054016, -0.4528023600578308, 0.044508494436740875, -0.5550332069396973, -0.6669940948486328, -0.4346978962421417, 0.2201399952173233, -0.675258219242096, 0.8946828246116638, 0.17254923284053802, -0.4346373379230499, 0.4219043254852295, -0.582103967666626, -0.33754411339759827, 0.13781408965587616, -0.33215564489364624, -0.29678407311439514, -0.18135425448417664, 0.6183960437774658, 0.43893149495124817, -0.2242523729801178, -0.2066926658153534, -0.4611509442329407, -0.36574628949165344, 0.14398977160453796, -0.25576677918434143, 0.705586850643158, 0.37272343039512634, -0.36683422327041626, 0.5727648138999939, -0.6788066029548645, 0.24968622624874115, -0.022985724732279778, -0.1480393409729004, -0.07411357760429382, -0.17954057455062866, -0.016365941613912582, 0.17012199759483337, 0.14751239120960236, -0.19204729795455933, 0.30822592973709106, -0.18329112231731415, 0.48474282026290894, 0.6778489947319031, -0.15406125783920288, 0.40216055512428284, -0.27216336131095886, 0.4593431055545807, -0.03374302759766579, 0.310638964176178, 0.10441506654024124, -0.7482715845108032, -1.0245060920715332, -0.46723195910453796, 0.06684757769107819, 0.7650052309036255, -1.295971393585205, 0.07076145708560944, -0.42371952533721924, -0.6386994123458862, -0.2877231538295746, 0.09147924929857254, 0.17193958163261414, 0.8310710191726685, 0.6101176142692566, -0.45050251483917236, -0.5044983625411987, -0.7769558429718018, 0.14439497888088226, -0.29229915142059326, 0.0637633427977562, 0.33328893780708313, 0.13378386199474335, 0.06778905540704727, 0.5440093874931335, -0.4957451820373535, -0.19206804037094116, -0.6228724122047424, 0.005306378472596407, 0.137313574552536, 0.2705145478248596, 0.5928319692611694, -0.6264428496360779, -0.6346924304962158, 0.17882558703422546, -0.8312870264053345, -0.0802462100982666, -0.3293764591217041, -0.40033674240112305, 0.37280574440956116, 0.8089113235473633, -0.6768941283226013, 0.8932278156280518, 0.20590555667877197, -0.6008959412574768, 0.8590264916419983, -0.26591163873672485, 0.08955961465835571, -0.8169748187065125, 0.0011561224237084389, -0.311425119638443, -0.40408003330230713, -0.5528817772865295, -0.014030461199581623, 0.12001437693834305, -0.0007588440785184503, -0.3882719874382019, 0.610837996006012, -0.5459089875221252, -0.3269808292388916, -0.3209500312805176, 0.21012593805789948, 0.16560781002044678, 0.4769042730331421, -0.014598829671740532, 0.7439084649085999, 0.7821372747421265, -0.5647857189178467, 0.7427021265029907, 0.37211453914642334, -0.36661070585250854, 0.6805327534675598, -0.2576903998851776, 0.12216173857450485, -0.011615704745054245, 0.363828182220459, -0.9474945664405823, 0.22275909781455994, 0.6008520722389221, -0.18730482459068298, 0.2430056780576706, -0.06445426493883133, -0.4325788915157318, -0.5066837668418884, -0.030461380258202553, 0.05235854536294937, 0.5472697019577026, -0.4563191831111908, 0.8706320524215698, 0.0736842155456543, -0.17901258170604706, -0.5354353189468384, -0.837979793548584, 0.2974686622619629, -0.17721107602119446, -0.6041314601898193, 0.20276258885860443, -0.008024632930755615, -0.13990354537963867, 0.047113362699747086, -0.1836203783750534, -0.01536658313125372, -0.22506901621818542, 0.09744638204574585, 0.6744471788406372, -0.4299072027206421, 0.24593260884284973, -0.1531568467617035, -0.4081869125366211, -0.09234298765659332, -0.4228144884109497, 0.3026145398616791, -0.25728118419647217, -0.8487564325332642, -0.38104164600372314, 0.1532144844532013, 0.8248496055603027, -0.5133166909217834, 0.554719865322113, 0.66880202293396, -0.02409243956208229, -0.10870964080095291, -0.5911294221878052, -0.1631471961736679, -0.4506249725818634, 0.4523945152759552, -0.4092574417591095, -0.6550666093826294, 0.2630420923233032, -0.06330865621566772, 0.024135995656251907, 0.26775455474853516, 0.6339303255081177, -0.3200099468231201, 1.0205888748168945, 0.3964439928531647, 0.15438374876976013, 0.5494324564933777, -0.4564201533794403, 0.3770539462566376, -0.7303972244262695, -0.21468932926654816, -0.13871079683303833, -0.2919224798679352, -0.2589748799800873, -0.8337886333465576, 0.38115158677101135, -0.09681110829114914, -0.43048930168151855, 0.17116597294807434, -0.3176933825016022, 0.1606789231300354, 0.8571673631668091, 0.2789589762687683, 0.4659314453601837, 0.048922184854745865, -0.1119653508067131, -0.0056296526454389095, -0.7813975214958191, -0.5659324526786804, 1.3809510469436646, -0.0017371822614222765, 0.6155674457550049, 0.12888215482234955, 0.4372192621231079, 0.13875830173492432, 0.6018690466880798, -0.6216285228729248, 0.8965184688568115, -0.3681585490703583, -0.4141905605792999, -0.5846459269523621, -0.48367539048194885, -0.7838246822357178, 0.4539951682090759, -0.2949104309082031, -0.8324690461158752, 0.07186944037675858, 0.2610825300216675, -0.1446378529071808, 0.4842783212661743, -0.9719505906105042, 0.8991550803184509, -0.6095042824745178, -0.3359881639480591, -0.3770911991596222, -0.5642260313034058, 0.3480941355228424, 0.12236437946557999, 0.2162933349609375, -0.14632777869701385, -0.011787124909460545, 0.3601638376712799, -0.4898713231086731, 0.8134915232658386, -0.1715756505727768, 0.006688261404633522, 0.41460394859313965, -0.007779215928167105, 0.501274824142456, -0.3175193667411804, -0.018217332661151886, -0.19129560887813568, 0.01102436799556017, -0.555727481842041, -0.8241998553276062, 0.3257334530353546, -0.6515045762062073, -0.6712614893913269, -0.09414748102426529, -0.8024470806121826, -0.5487135648727417, 0.347290575504303, 0.03439981862902641, 0.34983134269714355, 0.38953566551208496, 0.18955087661743164, 0.3192650377750397, 0.1507282704114914, 0.043320536613464355, 0.19186024367809296, -0.6154570579528809, -0.23931092023849487, 0.9636113047599792, 0.2514292597770691, 0.4136197566986084, 0.3540510833263397, 0.033878862857818604, -0.5962241291999817, -0.7958394885063171, -0.5701943635940552, 0.2952074706554413, -1.225040316581726, -0.10927850008010864, -0.1377173364162445, -0.253176748752594, -0.311062753200531, -0.1031663715839386, -0.21626414358615875, -0.5791537761688232, -0.23919929563999176, -0.16737765073776245, 0.47358769178390503, 0.6870167255401611, -0.14039655029773712, 0.1791663020849228, -0.8287960290908813, 0.46503305435180664, 0.562670111656189, 0.12129895389080048, 0.10971645265817642, -0.6293526291847229, -0.20031268894672394, -0.17936988174915314, -0.27885323762893677, -0.9995718598365784, 0.37880897521972656, -0.16079331934452057, 0.7276837825775146, 0.3010269105434418, -0.006551102269440889, 0.8521025776863098, -0.23568372428417206, 0.5561070442199707, 0.30936893820762634, -1.0899676084518433, 0.26476967334747314, -0.15844132006168365, 0.18886105716228485, 0.26659220457077026, -0.017850598320364952, -0.3689080774784088, -0.363202840089798, -0.4506149888038635, -0.8525487780570984, 0.5847954154014587, 0.3161393702030182, -0.34665635228157043, 0.5266954302787781, 0.3018318712711334, -0.0760570839047432, 0.15025578439235687, -0.6983120441436768, -0.12320571392774582, -0.5943108797073364, -0.2863321006298065, -0.10314085334539413, 0.057494595646858215, -0.06358593702316284, -0.736366868019104, 0.5617707967758179, -0.3688678443431854, 0.07767482101917267, 0.23836857080459595, -0.20764513313770294, 0.20965410768985748, 0.016993394121527672, 0.554700493812561, 0.9993360638618469, 0.1408451348543167, 0.3514159023761749, 0.36219725012779236, -0.44384050369262695, -0.07077105343341827, 0.23877674341201782, -0.14369739592075348, -0.2939949035644531, 0.647561252117157, 1.1967693567276, 0.2218855917453766, -0.8273220062255859, 0.25600019097328186, 0.09049134701490402, -0.13101159036159515, 0.035989679396152496, 0.08253549784421921, 0.4883262813091278, 0.5869951844215393, 0.11869882792234421, 0.06019383668899536, -0.00226561794988811, -0.47564396262168884, 0.21366721391677856, 0.09214754402637482, -0.25445789098739624, 0.10271992534399033, 0.716536819934845, 0.12041918188333511, -0.040429048240184784, 0.6950767636299133, 0.016733186319470406, -0.4559648334980011, 0.673429012298584, 0.3265945017337799, 0.3704822361469269, 0.027630070224404335, 0.28933265805244446, 0.3533678650856018, 0.36037030816078186, 0.1022169440984726, 0.5427122116088867, 0.008033039048314095, -0.6379655599594116, -0.7874962091445923, 0.011335999704897404, -0.6670973896980286, 0.13303729891777039, -0.4603661000728607, 0.22273556888103485, -0.4016819894313812, -0.21220636367797852, -0.11594821512699127, -0.1849343180656433, -0.7548093199729919, 0.11686650663614273, 0.6861307621002197, 0.6640159487724304, -0.4300524592399597, 0.8779422640800476, 0.5899779796600342, -0.5243959426879883, -1.0816411972045898, -0.4033384621143341, -0.075101338326931, -1.179250955581665, 0.7253038287162781, -0.023622730746865273, -0.09756042063236237, -0.08910471200942993, -0.515338659286499, -1.0907827615737915, 1.2964611053466797, 0.5791493654251099, -0.6600298881530762, 0.020233653485774994, 0.16160419583320618, 0.6144958734512329, -0.3688361346721649, 0.12935392558574677, 0.45757773518562317, 0.7975786328315735, 0.41868525743484497, -1.1007601022720337, 0.20697715878486633, -0.014908420853316784, -0.13313259184360504, -0.1894090473651886, -0.37468773126602173, 0.9800540804862976, -0.48949122428894043, -0.12113963812589645, 0.08677999675273895, 0.7289924621582031, 0.5800134539604187, 0.4055158793926239, 0.4745098054409027, 0.5045422911643982, 1.090976595878601, 0.07243140041828156, 1.0561604499816895, -0.15774543583393097, 0.1989719271659851, 1.1798814535140991, -0.35840824246406555, 0.9580076336860657, 0.5932519435882568, -0.06540944427251816, 0.5422956943511963, 0.3712373673915863, -0.10279518365859985, 0.40431633591651917, 0.1371239721775055, 0.10531070828437805, -0.6596348881721497, 0.17874307930469513, -0.3560752272605896, 0.4557393491268158, 0.44278591871261597, -0.25088968873023987, -0.30140402913093567, 0.0019067458342760801, -0.12581175565719604, 0.13768558204174042, -0.46377846598625183, 0.5045227408409119, 0.12558843195438385, -0.6501361131668091, 0.7157934904098511, -0.35212016105651855, 0.1021769791841507, -0.5934205651283264, -0.20755819976329803, 0.0005202651373110712, 0.16442060470581055, 0.07002126425504684, -0.9334487915039062, 0.24095717072486877, -0.22667013108730316, 0.17781712114810944, -0.4704611897468567, 0.8562434315681458, -0.2923853397369385, -0.6205109357833862, 0.1681191623210907, 0.9494158029556274, 0.11031497269868851, -0.057184625416994095, -0.6682106852531433, 0.029459601268172264, 0.14457868039608002, -0.00830201804637909, 0.10608931630849838, 0.5106393098831177, -0.24320045113563538, 0.921140730381012, 0.6744849681854248, 0.1833072155714035, 0.23585748672485352, 0.31796854734420776, 0.8769287467002869, -0.6573566198348999, -0.7047744393348694, -0.4545768201351166, 0.46099957823753357, -0.24535153806209564, -0.10820119827985764, 0.7295576930046082, 0.3722854256629944, 0.5908778309822083, -0.25517258048057556, 0.860277533531189, 0.2320401519536972, 0.5204582214355469, -0.8704759478569031, 0.7697871327400208, -0.5637902617454529, 0.2694323658943176, -0.16797995567321777, -0.5783408880233765, -0.3369448482990265, 0.571900486946106, -0.6812154650688171, -0.16555003821849823, 0.924251139163971, 0.4624648988246918, 0.022844558581709862, 0.015677589923143387, 0.4709501564502716, 0.24453331530094147, 0.5829774141311646, 0.7713344693183899, 0.9217408299446106, -0.031035130843520164, 0.9610984325408936, -0.17436543107032776, -0.11069009453058243, -0.31901267170906067, -0.8181799650192261, -0.7770591974258423, -0.6488677263259888, -0.24762950837612152, -0.1812887340784073, -0.07796177268028259, 0.26757940649986267, 0.8147722482681274, -0.5701282620429993, -0.3202434778213501, 0.026116706430912018, 0.18782393634319305, -0.42224016785621643, -0.18287816643714905, 0.5411961078643799, -0.20270176231861115, -0.3525444567203522, 0.3406106233596802, 0.23260480165481567, 0.10823258757591248, -0.19392015039920807, -0.2063671499490738, 0.026059795171022415, 0.11509633809328079, 0.8954615592956543, 0.230759859085083, -0.8948594331741333, -0.6240116953849792, -0.0029983175918459892, -0.07401581853628159, 0.2553819715976715, 0.7482227683067322, -0.8567028045654297, 0.4957290589809418, 0.3823208212852478, 0.5577000379562378, 1.091020107269287, -0.17756210267543793, 0.4340612292289734, -0.28790467977523804, -0.012743140570819378, 0.40123265981674194, 0.5419787168502808, 0.4310591518878937, -0.13188491761684418, 0.6169731616973877, 0.4738926291465759, -0.18663093447685242, -0.7219011783599854, 0.4465517997741699, -1.368988275527954, -0.4253053367137909, 1.005887508392334, -0.051480572670698166, -0.10796782374382019, -0.2783670425415039, -0.6796087622642517, 0.3280578851699829, -0.13353575766086578, 0.7097355723381042, 0.642996609210968, -0.5646766424179077, -0.4288231432437897, -0.5234395861625671, 0.29180991649627686, 0.403877317905426, -1.137213110923767, 0.08164791017770767, 0.6257840394973755, 0.0188796017318964, 0.24841049313545227, 0.7308968305587769, -0.003569344524294138, 0.5177264213562012, 0.18828219175338745, -0.03955109044909477, -0.365521639585495, -0.22573542594909668, 0.28459689021110535, 0.24899141490459442, 0.11731525510549545, -0.18407922983169556 ]
http://arxiv.org/abs/2403.12582v1
http://arxiv.org/pdf/2403.12582v1
AlphaFin: Benchmarking Financial Analysis with Retrieval-Augmented Stock-Chain Framework
2024-03-19T09:45:33
2024-03-19T09:45:33
Xiang Li, Zhenyu Li, Chen Shi, Yong Xu, Qing Du, Mingkui Tan, Jun Huang, Wei Lin
cs.CL
cs.CL
The task of financial analysis primarily encompasses two key areas: stock trend prediction and the corresponding financial question answering. Currently, machine learning and deep learning algorithms (ML&DL) have been widely applied for stock trend predictions, leading to significant progress. However, these methods fail to provide reasons for predictions, lacking interpretability and reasoning processes. Also, they can not integrate textual information such as financial news or reports. Meanwhile, large language models (LLMs) have remarkable textual understanding and generation ability. But due to the scarcity of financial training datasets and limited integration with real-time knowledge, LLMs still suffer from hallucinations and are unable to keep up with the latest information. To tackle these challenges, we first release AlphaFin datasets, combining traditional research datasets, real-time financial data, and handwritten chain-of-thought (CoT) data. It has a positive impact on training LLMs for completing financial analysis. We then use AlphaFin datasets to benchmark a state-of-the-art method, called Stock-Chain, for effectively tackling the financial analysis task, which integrates retrieval-augmented generation (RAG) techniques. Extensive experiments are conducted to demonstrate the effectiveness of our framework on financial analysis.
[ -0.31583720445632935, -0.5766081809997559, 0.04840297996997833, 0.0609869547188282, -0.36201512813568115, 0.46396514773368835, -0.20629221200942993, -0.7168340086936951, 0.24835623800754547, 0.3727899491786957, -0.5623090267181396, -0.4059690237045288, -0.4605393409729004, -0.02441604621708393, -0.6853517889976501, 0.8805900812149048, -0.05586674064397812, 0.14462532103061676, 0.10236018896102905, -0.11800052225589752, -0.02197982370853424, -0.5334870219230652, -1.103305459022522, -0.07916808873414993, 0.34557053446769714, 0.35968509316444397, 0.7830184102058411, 0.82901531457901, 0.8432999849319458, 0.17303891479969025, 0.27826330065727234, 0.1347372829914093, -0.5000466704368591, 0.321365624666214, 0.09748207777738571, -0.09564384073019028, -0.7083768844604492, 0.22633039951324463, 0.5629748106002808, 0.6476790904998779, -0.33241400122642517, 0.3414957523345947, 0.03012441284954548, 0.850469708442688, -0.7921125292778015, 0.3821897804737091, -0.41681113839149475, 0.3541002869606018, -0.2510979473590851, -0.20457103848457336, -0.04047980159521103, -0.5161933898925781, 0.5080337524414062, -0.7330135107040405, 0.19747252762317657, 0.7441017031669617, 0.943092405796051, 0.014316667802631855, -0.24224020540714264, -0.6084185242652893, -0.5433371663093567, 0.697851300239563, -0.6189430356025696, 0.514010488986969, 0.5937916040420532, 0.5493555665016174, 0.19640439748764038, -0.9018769264221191, -0.228624165058136, -0.012292621657252312, -0.01904929429292679, -0.018609976395964622, -0.31509506702423096, -0.2773023247718811, -0.14991717040538788, 0.8378174304962158, -0.487687885761261, 0.008827965706586838, -0.6236521601676941, 0.11440932005643845, 0.7769634127616882, -0.03333485499024391, -0.27908971905708313, 0.153553768992424, -0.564715564250946, -0.8398370146751404, -0.4454900324344635, -0.29704806208610535, 0.527126669883728, 0.5354647040367126, 0.15945643186569214, 0.2655933201313019, 0.06146673485636711, 0.31709906458854675, 0.08385924249887466, 0.27541816234588623, 0.43316400051116943, -0.11167381703853607, -0.44054141640663147, 0.34080594778060913, 0.6152836084365845, 0.403164803981781, 0.4763030409812927, -0.1900876760482788, -0.31051701307296753, -0.3509733974933624, 0.5256308317184448, -0.5420559048652649, -0.16601362824440002, 0.2998036742210388, -0.45596471428871155, -0.20333094894886017, 0.283247172832489, -1.0576220750808716, -0.3707638382911682, -0.2370299994945526, 0.26414069533348083, -0.18191637098789215, -0.15484756231307983, 0.2081414759159088, -0.3407506048679352, 0.537610650062561, -0.16433294117450714, -0.733124852180481, 0.7033129930496216, 0.9537554979324341, 0.6079739332199097, -0.16933615505695343, -0.08559679239988327, -0.9121484756469727, 0.15117686986923218, -0.42953410744667053, 0.7836639285087585, -0.3130306005477905, -0.2621164619922638, -0.061148542910814285, -0.2837803363800049, 0.05640062689781189, -0.6536782383918762, 0.11215007305145264, -0.5695189833641052, 0.0434531532227993, -0.32707324624061584, -0.54867023229599, -0.3498327136039734, 0.5362105965614319, -0.7127513289451599, 1.04310142993927, -0.11955366283655167, -0.7405978441238403, 0.4853641390800476, -0.5694673657417297, -0.3343808054924011, 0.04811886325478554, -0.24429799616336823, -0.519777774810791, -0.30120909214019775, 0.28368496894836426, 0.4833485186100006, -0.6582673192024231, 0.13744813203811646, -0.5126493573188782, -0.5027741193771362, 0.3743165135383606, -0.4660184383392334, -0.056221913546323776, 0.2795386016368866, -0.5428786277770996, -0.08565323054790497, -0.7958042621612549, 0.10275237262248993, 0.159999281167984, 0.2087736427783966, -0.5789414644241333, 0.17520366609096527, 0.11320389062166214, -0.023632997646927834, 0.20554448664188385, -0.19379281997680664, 0.1832360029220581, -0.4322187900543213, 0.1484193354845047, 0.8560547232627869, 0.041440438479185104, 0.10611006617546082, -0.41334813833236694, 0.7426838278770447, -0.13302835822105408, 0.3073502779006958, -0.007383399643003941, 0.005327465943992138, -0.6020489931106567, -0.11342097073793411, 0.38524389266967773, 0.7221436500549316, -0.33281171321868896, 0.011132990941405296, 0.028973659500479698, -0.2729358375072479, -0.4798060953617096, 0.24406062066555023, 0.3749740421772003, 0.2253386527299881, 0.3860947787761688, -0.6455765962600708, -0.7749637365341187, -1.012865662574768, -0.3250623345375061, -0.07590946555137634, -0.026371080428361893, 0.19541846215724945, 0.14545351266860962, -0.10874797403812408, 0.5780059695243835, -0.7891935110092163, -0.11936869472265244, 0.04725446552038193, 0.32470908761024475, 0.4711048901081085, 0.35336512327194214, 0.3697385787963867, -0.9450558423995972, -0.12622183561325073, 0.15660527348518372, -0.7742583155632019, 0.4602375626564026, -0.05445548892021179, -0.2704369127750397, -0.19108809530735016, 0.5425462126731873, 0.17889761924743652, 0.49066224694252014, 0.3530508875846863, -0.5664061307907104, 0.24297067523002625, -0.11414378136396408, 0.015065883286297321, -0.7414938807487488, 0.5225045084953308, 0.33300986886024475, -0.17034472525119781, -0.3468603193759918, 0.02701093629002571, -0.25261518359184265, -0.2268761694431305, -0.10018415749073029, 0.9562391638755798, -0.1937180459499359, -0.6863893270492554, -0.21419629454612732, 0.1950308084487915, 0.018404191359877586, 0.5960630178451538, -0.393326997756958, 1.0490458011627197, 0.49522751569747925, -0.5345562696456909, 0.3330347239971161, 0.1848856657743454, -0.2179882824420929, 0.39013969898223877, -0.5445210337638855, 0.06719514727592468, -0.06874298304319382, -0.14677047729492188, -0.9583126306533813, 0.1846528798341751, 0.4574315845966339, -0.003330560866743326, 0.0731741338968277, 0.3169567286968231, -0.5559162497520447, -0.3106774389743805, -0.49201831221580505, 0.3969701826572418, 0.31146642565727234, -0.4529525637626648, 0.6606585383415222, 0.12114715576171875, -0.38568976521492004, -0.8697900176048279, -0.6168602108955383, -0.024337654933333397, -0.2671400308609009, -0.15365897119045258, 0.1440180093050003, -0.10961515456438065, -0.6714043617248535, -0.002495056949555874, -0.5625213384628296, -0.10874401032924652, 0.1614946871995926, 0.14281214773654938, 0.620655357837677, -0.23680102825164795, 0.09140826761722565, -0.1669333130121231, -0.3091470003128052, 0.016855020076036453, -0.48182716965675354, 0.30489325523376465, -0.4791322350502014, -0.040854934602975845, -0.07031973451375961, 0.18889634311199188, 0.5629521012306213, -0.2990390658378601, 0.48043566942214966, 0.20729418098926544, -0.1552441418170929, -0.1912919133901596, -0.6108932495117188, -0.09151094406843185, -0.5436769127845764, -0.13750705122947693, -0.08048278838396072, -0.6498379707336426, 0.6370139718055725, -0.06730906665325165, 0.5443418622016907, 0.6168286800384521, 0.09790171682834625, -0.06371115893125534, 0.6939253807067871, 0.6860787272453308, -0.10358689725399017, 0.5399308800697327, -0.6175011992454529, 0.08526692539453506, -0.5523138642311096, -0.18569351732730865, -0.2652375102043152, -0.6449780464172363, -0.3297150135040283, -0.055667731910943985, 0.1580819934606552, 0.17833563685417175, -0.4572007358074188, 0.20260395109653473, -0.3165523111820221, 0.3284371793270111, 0.4335537552833557, -0.16359826922416687, 0.37585246562957764, 0.16992801427841187, -0.4398035407066345, 0.16815783083438873, -0.5930319428443909, -0.22821077704429626, 1.492539644241333, 0.39046964049339294, 0.645656168460846, -0.4591112434864044, 0.39575883746147156, 0.7002065181732178, 0.42300158739089966, -0.6149799227714539, 0.3603476583957672, -0.5536545515060425, -0.47931909561157227, 0.021245108917355537, -0.5032694339752197, -0.6667079925537109, 0.22518453001976013, -0.23039522767066956, -0.2666007876396179, 0.6657414436340332, 0.21903333067893982, -0.4879072606563568, 0.1584077626466751, -0.4521797001361847, 0.6883738040924072, -0.42445966601371765, -0.3518535792827606, -0.05356527119874954, -0.2548619508743286, 0.24860145151615143, -0.28327232599258423, 0.47901105880737305, -0.0819459855556488, -0.18318989872932434, 0.8663318157196045, -0.3501821756362915, 0.6464917063713074, 0.20976880192756653, -0.3615984320640564, 0.053073517978191376, -0.11767437309026718, 0.4803270101547241, 0.1961841583251953, -0.38271448016166687, -0.018431561067700386, -0.16900433599948883, -0.5315283536911011, -0.6479955315589905, 0.5334017872810364, -0.4847171902656555, -0.21201789379119873, -0.7321725487709045, -0.3920615315437317, -0.3768543601036072, -0.049779850989580154, -0.08499382436275482, 0.29085972905158997, -0.12666639685630798, 0.028873905539512634, 0.3694280982017517, 0.28667351603507996, 0.45369142293930054, 0.39387375116348267, -0.43954816460609436, -0.8849809765815735, 0.7946683168411255, 0.07365936040878296, -0.12923495471477509, -0.025857221335172653, -0.08566490560770035, -0.29806625843048096, -0.30880820751190186, -0.08210618048906326, 0.2970605790615082, -0.7335407137870789, -0.21516360342502594, -0.2670891582965851, -0.17257025837898254, -0.15670353174209595, -0.3246026039123535, -0.5256049036979675, -0.2663276195526123, -0.08433613926172256, -0.32115015387535095, 0.6332778930664062, 0.679595410823822, -0.12743622064590454, 0.09678570926189423, -0.5958399772644043, 0.5174209475517273, 0.5568811297416687, 0.7879877686500549, 0.45444419980049133, 0.05736096575856209, -0.4813568890094757, -0.00651925802230835, -0.26021283864974976, -0.3336440920829773, 0.3421442210674286, 0.052216190844774246, 0.31001362204551697, 0.717637836933136, 0.011508493684232235, 0.9070993065834045, 0.0007026806706562638, 0.19586223363876343, -0.05775177851319313, -0.7623944878578186, 0.456936776638031, -0.06102694571018219, 0.19255107641220093, 0.8412712216377258, 0.44065773487091064, -0.5404901504516602, -0.5110238790512085, -0.7851672768592834, -1.3047420978546143, 0.3436669707298279, 0.2458888739347458, -0.41701415181159973, -0.11375532299280167, 0.7288261651992798, 0.2743920385837555, 0.6970573663711548, -0.2446533888578415, -0.34591495990753174, -0.21341298520565033, -0.06657899171113968, -0.24581490457057953, 0.049330130219459534, 0.012237612158060074, -0.2817554771900177, 0.7947895526885986, -0.31523141264915466, -0.03811057657003403, 0.11090954393148422, 0.31067726016044617, -0.292276531457901, -0.11858876794576645, 0.29427987337112427, 1.063256025314331, -0.5960164666175842, -0.07232674956321716, 0.16284126043319702, -0.47976920008659363, -0.07146081328392029, 0.4447512924671173, 0.1750781387090683, -0.05065684765577316, 0.35790565609931946, 0.6476859450340271, 0.7725037336349487, -1.1189053058624268, 0.0805182233452797, -0.31009337306022644, -0.28269413113594055, -0.6666082739830017, 0.068435899913311, -0.32858332991600037, 0.5924462080001831, 1.214350700378418, -0.02252393588423729, 0.2107175886631012, -0.781349241733551, 0.5849223732948303, 0.20862288773059845, -0.46090495586395264, 0.03444059193134308, 0.6341935396194458, -0.07449860125780106, 0.11947446316480637, 0.9456932544708252, 0.12544909119606018, -0.3423519730567932, 0.8006705641746521, 0.04287203401327133, 1.1005405187606812, 0.06133166700601578, -0.05870731920003891, 0.17907193303108215, 0.10434356331825256, -0.453183114528656, 0.6844019889831543, 0.04682013392448425, -0.41938015818595886, -0.4301886260509491, -0.7277786731719971, -0.7195244431495667, 0.13154169917106628, -1.16921865940094, 0.09747586399316788, -0.9040522575378418, -0.22852426767349243, 0.01405618991702795, 0.4260372519493103, -0.5774285793304443, 0.35190680623054504, 0.08522943407297134, 1.1244195699691772, -0.5112532377243042, 0.3891722857952118, 0.5646724104881287, -0.12953941524028778, -0.3596036434173584, 0.07370946556329727, -0.02476947009563446, -0.7396340370178223, 0.45092853903770447, 0.09649661928415298, -0.0029163360595703125, -0.08467601239681244, -0.47677376866340637, -0.8082122206687927, 1.1372815370559692, 0.16380372643470764, -0.9368263483047485, -0.12273949384689331, -0.3455604612827301, 0.3031317889690399, -0.6557772755622864, -0.13078050315380096, 0.6058852672576904, 0.7470513582229614, 0.5785770416259766, -0.6186320781707764, -0.18244023621082306, -0.5575501918792725, -0.11570414900779724, 0.4060714542865753, -0.5682789087295532, 0.8860641121864319, 0.08288639783859253, -0.15897613763809204, -0.20238015055656433, 0.8051916360855103, 0.5142208337783813, 0.6342200040817261, 0.38696882128715515, 0.45611223578453064, 0.8781564235687256, 0.10722951591014862, 1.2014546394348145, -0.5523700714111328, 0.3482987880706787, 1.1027253866195679, -0.5087140798568726, 1.2683305740356445, 0.30080917477607727, 0.10292740166187286, 0.4144628942012787, 0.5705039501190186, -0.5536696314811707, 0.4609993100166321, 0.273949533700943, -0.049141496419906616, -0.29531052708625793, 0.19482503831386566, -0.4917779266834259, 0.35372981429100037, 0.325450599193573, -0.45114845037460327, -0.05414790287613869, 0.14437660574913025, -0.023119909688830376, -0.00357713270932436, -0.5259454250335693, 0.7111425995826721, 0.23106278479099274, -0.3137889802455902, 0.5448442101478577, 0.009155706502497196, 0.6657382845878601, -0.8415697813034058, 0.025096602737903595, -0.41861605644226074, 0.3336949646472931, 0.2737850248813629, -0.37055060267448425, 0.32881030440330505, 0.0941210612654686, -0.01558668352663517, -0.4243316352367401, 0.39561405777931213, -0.20145589113235474, -0.771297037601471, 0.35564860701560974, 0.4219752848148346, -0.1334291249513626, 0.12693782150745392, -0.6754149794578552, -0.0004486987309064716, -0.38941463828086853, -0.22060732543468475, 0.3079168200492859, 0.16666710376739502, 0.08677291870117188, 0.8756137490272522, 0.9500249624252319, -0.01645827293395996, -0.13928210735321045, -0.39333269000053406, 1.007620930671692, -1.12572181224823, -0.7532209753990173, -0.6862077713012695, 0.020664341747760773, -0.12391549348831177, -0.4521743953227997, 0.6259524822235107, 0.9844777584075928, 0.6159934401512146, 0.28744953870773315, 0.562162458896637, 0.4220832586288452, 0.4132254421710968, -0.5239417552947998, 0.7926359176635742, -0.6179022192955017, 0.4153229892253876, -0.20804782211780548, -0.9759077429771423, -0.28429681062698364, 0.5218374133110046, -0.21110042929649353, -0.030799075961112976, 0.7156752347946167, 0.3692604899406433, -0.3514731228351593, 0.4475840628147125, -0.12491435557603836, 0.2073877453804016, -0.13302473723888397, 0.20223067700862885, 0.3143354058265686, -0.7717247605323792, 0.5669174194335938, -0.18662160634994507, 0.10191650688648224, -0.2868351340293884, -0.895521879196167, -0.6624203324317932, -0.37696322798728943, -0.495844304561615, -0.15146997570991516, 0.6014527082443237, 0.8397517800331116, 0.5126421451568604, -0.7873080372810364, -0.8054217100143433, 0.19867871701717377, -0.09762547165155411, -0.8168387413024902, -0.21720226109027863, 0.5320104360580444, -0.3658508360385895, -0.363935649394989, 0.5400885343551636, 0.375663697719574, 0.2856265604496002, -0.4553714990615845, -0.03567015752196312, -0.39258676767349243, 0.30915364623069763, 0.35993897914886475, 0.5033578872680664, -0.1694229692220688, 0.03694463148713112, 0.06474718451499939, 0.12763668596744537, 0.01924283802509308, 0.9537680149078369, -0.8576866388320923, 0.06885823607444763, 0.21122314035892487, 0.5783653855323792, 0.6548326015472412, 0.1668066531419754, 0.9542117714881897, -0.718000590801239, 0.1342950463294983, 0.18143408000469208, 0.22245414555072784, -0.03355550020933151, -0.31714069843292236, 0.7198395133018494, -0.07485111802816391, -0.14749805629253387, -0.7299729585647583, -0.3897590637207031, -0.7238053679466248, -0.520452082157135, 0.6521202325820923, 0.03189057484269142, -0.5705938339233398, 0.12059643119573593, 0.2827651798725128, 0.043128203600645065, -0.5046876072883606, 0.7449628114700317, 0.7236326336860657, 0.13198621571063995, -0.33247047662734985, -0.8681931495666504, 0.46422597765922546, 0.27517974376678467, -0.6708076000213623, 0.31822818517684937, 0.14797340333461761, -0.051834359765052795, -0.020025087520480156, 0.5040790438652039, 0.05108099430799484, 0.4918668866157532, -0.036899592727422714, -0.0934339165687561, -0.3348580598831177, -0.5300822257995605, -0.23592720925807953, 0.5384405851364136, -0.1786407083272934, -0.22812288999557495 ]
http://arxiv.org/abs/2403.12563v1
http://arxiv.org/pdf/2403.12563v1
Simple Hack for Transformers against Heavy Long-Text Classification on a Time- and Memory-Limited GPU Service
2024-03-19T09:17:25
2024-03-19T09:17:25
Mirza Alim Mutasodirin, Radityo Eko Prasojo, Achmad F. Abka, Hanif Rasyidi
cs.CL
cs.CL, cs.AI
Many NLP researchers rely on free computational services, such as Google Colab, to fine-tune their Transformer models, causing a limitation for hyperparameter optimization (HPO) in long-text classification due to the method having quadratic complexity and needing a bigger resource. In Indonesian, only a few works were found on long-text classification using Transformers. Most only use a small amount of data and do not report any HPO. In this study, using 18k news articles, we investigate which pretrained models are recommended to use based on the output length of the tokenizer. We then compare some hacks to shorten and enrich the sequences, which are the removals of stopwords, punctuation, low-frequency words, and recurring words. To get a fair comparison, we propose and run an efficient and dynamic HPO procedure that can be done gradually on a limited resource and does not require a long-running optimization library. Using the best hack found, we then compare 512, 256, and 128 tokens length. We find that removing stopwords while keeping punctuation and low-frequency words is the best hack. Some of our setups manage to outperform taking 512 first tokens using a smaller 128 or 256 first tokens which manage to represent the same information while requiring less computational resources. The findings could help developers to efficiently pursue optimal performance of the models using limited resources.
[ -0.6329478025436401, -0.7698848843574524, 0.46413153409957886, 0.3292714059352875, -0.5493553876876831, 0.051768939942121506, -0.4067172408103943, -0.7406795620918274, 0.12262560427188873, 0.6542825698852539, -0.24832698702812195, 0.06059257686138153, -0.6174023151397705, 0.39697107672691345, -0.4796307384967804, 1.386059045791626, 0.02362629398703575, -0.33815333247184753, -0.13103467226028442, -0.08446241170167923, -0.32104772329330444, -0.4979359209537506, -0.7318653464317322, -0.3023740351200104, 0.5647291541099548, 0.17745499312877655, 1.002089262008667, 0.8501988649368286, 0.6195566654205322, 0.31397321820259094, -0.426523894071579, 0.15136030316352844, -0.4135597050189972, -0.058709390461444855, -0.06807603687047958, -0.4076843857765198, -0.10330474376678467, -0.08165979385375977, 0.4518120586872101, 0.3424477279186249, -0.014107942581176758, 0.37401771545410156, 0.15752914547920227, 0.5117875337600708, -0.8499028086662292, 0.14498993754386902, -0.5698829293251038, 0.3086409866809845, -0.5001400709152222, -0.21512217819690704, -0.664066731929779, -0.22577564418315887, -0.08996061235666275, -0.6493731737136841, 0.3500421941280365, 0.29018595814704895, 1.0197762250900269, 0.5925118923187256, -0.18400537967681885, -0.01863228902220726, -1.1754775047302246, 1.1069834232330322, -0.42038625478744507, 0.3380601704120636, 0.2928895652294159, 0.39346086978912354, -0.029074417427182198, -0.7283837795257568, -0.7394118905067444, 0.004981924779713154, -0.15912467241287231, 0.09211442619562149, -0.30088290572166443, 0.2968660593032837, 0.8042848706245422, 0.3769053518772125, -0.6106263399124146, 0.47218480706214905, -0.2559686005115509, -0.19296814501285553, 0.3821195662021637, 0.06890825182199478, 0.016018541529774666, -0.5568397641181946, -0.4510062634944916, -0.08110250532627106, -0.5773285031318665, -0.01272311620414257, 0.33503785729408264, 0.036747079342603683, 0.22922591865062714, 0.6190552115440369, -0.01601298712193966, 0.4995901584625244, -0.06465958058834076, -0.3634389042854309, 0.052749328315258026, -0.1481037586927414, -0.326118141412735, 0.04870574548840523, 0.8220068216323853, 0.0011954460060223937, 0.30330464243888855, -0.3854530155658722, -0.24240726232528687, 0.09130269289016724, 0.23105357587337494, -0.9739628434181213, 0.0898493155837059, 0.14357490837574005, -0.5528615117073059, -0.30049049854278564, -0.1807679980993271, -1.0525259971618652, -0.1869145929813385, -0.15696173906326294, 0.24824479222297668, -0.18603219091892242, 0.21358254551887512, 0.026268992573022842, -0.3213564157485962, 0.16158948838710785, 0.040071744471788406, -0.917677640914917, 0.33296942710876465, 0.8150660395622253, 0.9675257802009583, -0.3248918354511261, -0.2325945645570755, -0.7599877119064331, 0.1274542659521103, -0.08967660367488861, 0.5325100421905518, -0.46922171115875244, -0.5172222256660461, -0.05144780874252319, -0.08941267430782318, -0.0041585685685276985, -0.5144243240356445, 0.8288787603378296, -0.5896468162536621, 0.4888148307800293, -0.0324195958673954, -0.5334081053733826, 0.1641438603401184, -0.03594675287604332, -0.8285035490989685, 1.1476199626922607, 0.09386840462684631, -1.0478264093399048, 0.4906729757785797, -0.5016102194786072, -0.4983925521373749, 0.3138622045516968, -0.00275623332709074, -0.705891489982605, 0.2358623445034027, 0.3342275619506836, 0.31107208132743835, -0.4577503800392151, 0.26597946882247925, -0.07893311977386475, -0.739763081073761, 0.04332226142287254, -0.5715640187263489, 0.8541819453239441, 0.45706117153167725, -0.5046803951263428, 0.17908860743045807, -0.7021839618682861, -0.17433863878250122, 0.16780272126197815, -0.478045254945755, -0.39570632576942444, 0.1899772733449936, 0.29612189531326294, 0.14024455845355988, 0.025323795154690742, -0.6909897923469543, 0.30455365777015686, -0.52559894323349, 0.4923080503940582, 0.7899664640426636, -0.32331109046936035, 0.27004724740982056, -0.2347782552242279, 0.577094554901123, -0.2528098523616791, 0.6126063466072083, -0.07143998146057129, -0.5839236974716187, -0.8741351366043091, -0.5188804268836975, 0.2768784761428833, 0.6229220628738403, -1.0024245977401733, 0.5915725231170654, -0.6100989580154419, -0.5117436647415161, -0.40416219830513, 0.17605751752853394, 0.24434645473957062, 0.52067631483078, 0.6219499111175537, -0.09611984342336655, -0.43402910232543945, -0.7897666692733765, -0.3519545793533325, -0.011580274440348148, -0.2369489222764969, 0.38710328936576843, 0.4067821502685547, -0.2856205105781555, 0.9485223293304443, -0.6408975720405579, -0.17039792239665985, -0.25130972266197205, 0.17348629236221313, 0.3771831691265106, 0.22391118109226227, 0.725715160369873, -0.6940450072288513, -0.3096124529838562, -0.15247611701488495, -0.4358629584312439, 0.06047734245657921, -0.25210800766944885, 0.1772737205028534, 0.27614498138427734, 0.4980580806732178, -0.9009600877761841, 0.5757697224617004, 0.46992620825767517, -0.12724441289901733, 0.6589361429214478, -0.2591717541217804, -0.2605021297931671, -0.9808288216590881, 0.24848444759845734, -0.12724041938781738, -0.2462657243013382, -0.3531157076358795, 0.10697843134403229, 0.09503189474344254, -0.5542235970497131, -0.42418622970581055, 0.6645379662513733, -0.21415142714977264, 0.31237244606018066, -0.4145958125591278, -0.28045976161956787, -0.1610097736120224, 0.4269694685935974, -0.05372875928878784, 0.9779713153839111, 0.20100617408752441, -0.6885663270950317, 0.39615368843078613, 0.2134392112493515, -0.46391618251800537, -0.017038336023688316, -0.7014363408088684, 0.2890782058238983, -0.27031823992729187, 0.3233197033405304, -0.6120296120643616, -0.025750599801540375, 0.035885199904441833, -0.07420723885297775, 0.19511070847511292, -0.1584397405385971, -0.796750009059906, -0.8353487849235535, -0.32347431778907776, 0.4994334280490875, 0.8748658299446106, -0.9015185832977295, 0.4114440381526947, 0.21081389486789703, -0.10367931425571442, -0.8480162024497986, -0.5167823433876038, 0.1519719511270523, -0.3666535019874573, -0.3433743417263031, 0.6563793420791626, 0.05328652262687683, 0.21776257455348969, -0.1386261284351349, 0.09597931802272797, 0.009762615896761417, 0.05201799422502518, 0.19656920433044434, 0.30731168389320374, 0.129050612449646, 0.2392524778842926, 0.046584583818912506, -0.2126515507698059, -0.008378496393561363, -0.25172698497772217, 0.7821136116981506, 0.10880767554044724, -0.14049212634563446, -0.3764130175113678, 0.20041121542453766, 0.6444762349128723, -0.38764747977256775, 0.7266086935997009, 0.9839080572128296, -0.2517494261264801, -0.24403537809848785, -0.6432188749313354, -0.03517467901110649, -0.525720477104187, 0.2535330355167389, -0.14761982858181, -0.9187391996383667, 0.31781843304634094, -0.11639360338449478, 0.002404011320322752, 0.6020697951316833, 0.19445133209228516, 0.23012714087963104, 1.0566082000732422, 0.7929438948631287, -0.5334816575050354, 0.5355860590934753, -0.13663731515407562, 0.4078386723995209, -0.4950014650821686, -0.011812233366072178, -0.8021816611289978, -0.27567633986473083, -0.8735505938529968, -0.3050447702407837, 0.20104488730430603, -0.025695452466607094, -0.2043427973985672, 0.42662474513053894, -0.692240834236145, 0.5705398321151733, 0.5181135535240173, 0.00022089022968430072, 0.05944123491644859, 0.18614806234836578, 0.23610225319862366, -0.06676360964775085, -0.6591858267784119, -0.18169067800045013, 0.9381416440010071, 0.3753499388694763, 0.7736344933509827, -0.2688780426979065, 0.7061772346496582, 0.18579474091529846, 0.1798844039440155, -1.0879558324813843, 0.5620179772377014, -0.41481050848960876, -0.35188108682632446, -0.3013404309749603, -0.7143106460571289, -1.0155200958251953, -0.18178032338619232, -0.2371353954076767, -0.3912404775619507, 0.01494799554347992, 0.01115048211067915, -0.31348511576652527, 0.5113820433616638, -0.42415353655815125, 0.6985673308372498, -0.2210792601108551, -0.21427014470100403, -0.35065990686416626, -0.3394908607006073, 0.09563986212015152, -0.2671802341938019, 0.03595418855547905, 0.1133359894156456, -0.03186514601111412, 0.9479731321334839, -0.5508087277412415, 0.3630164563655853, -0.2188648134469986, 0.29709306359291077, 0.3518419861793518, -0.24481259286403656, 0.59012371301651, -0.1570901721715927, 0.19529078900814056, 0.30225083231925964, -0.1069054827094078, -0.5219422578811646, -0.4988524615764618, 0.5926282405853271, -0.773111879825592, -0.5241639018058777, -0.5239022970199585, -0.2337927669286728, -0.11545213311910629, 0.3641403019428253, 0.5391608476638794, 0.0436876118183136, 0.03204985707998276, 0.4011893570423126, 0.5650507807731628, -0.31968748569488525, 0.8011587858200073, -0.1000886783003807, -0.22864368557929993, -0.29477348923683167, 0.7565195560455322, 0.10476794838905334, -0.158133402466774, 0.29430845379829407, 0.48708847165107727, -0.1885344535112381, -0.5697208046913147, -0.3798986077308655, 0.30312296748161316, -0.28491830825805664, -0.3111552596092224, -0.5419692397117615, -0.4004004895687103, -0.21584884822368622, 0.0396592915058136, -0.3093668818473816, -0.4836810231208801, -0.2829006314277649, 0.13179072737693787, 0.2589505910873413, 0.3511985242366791, 0.3391196131706238, 0.510934054851532, -0.8462215065956116, 0.44448769092559814, 0.35779350996017456, 0.5198586583137512, -0.020407667383551598, -0.4757572114467621, -0.4020690619945526, -0.3181598484516144, -0.2806761562824249, -0.6214951276779175, 0.3919522166252136, 0.1848645806312561, 0.33628296852111816, 0.650446891784668, -0.010427840985357761, 0.8336207866668701, -0.6451792120933533, 0.6876585483551025, 0.3083392381668091, -1.0397143363952637, 0.4193718731403351, -0.06325236707925797, 0.32456347346305847, 0.3810431957244873, 0.6468468904495239, -0.616314709186554, -0.07391471415758133, -0.4067429304122925, -0.9144593477249146, 0.4585942029953003, 0.1746029555797577, 0.2736245095729828, -0.21046409010887146, 0.4871765673160553, 0.11032194644212723, 0.06523571163415909, -0.5351516008377075, -0.08462359011173248, -0.21370726823806763, -0.04261403903365135, -0.06715738773345947, -0.4352089762687683, -0.04874047636985779, -0.383768230676651, 0.6064772009849548, -0.1436835378408432, 0.3188879191875458, 0.05867490917444229, -0.1953764259815216, 0.03203653544187546, 0.28683900833129883, 0.31878185272216797, 0.5274008512496948, -0.10348381102085114, 0.0006119654863141477, 0.24403174221515656, -0.7784923315048218, -0.09745553880929947, 0.210186168551445, -0.3949010372161865, 0.3094540536403656, 0.19917459785938263, 0.8119696378707886, -0.0038301546592265368, -0.6538497805595398, 0.5559293031692505, -0.19585347175598145, 0.08422761410474777, -0.20606911182403564, 0.0498904213309288, -0.34222525358200073, -0.1381247639656067, 0.26573920249938965, 0.15993326902389526, 0.09956279397010803, -0.22117874026298523, -0.0041895536705851555, 0.3143734931945801, -0.19939717650413513, -0.16720721125602722, 0.7300111055374146, 0.10997709631919861, -0.298597127199173, 0.9662750363349915, -0.21913017332553864, -0.4364829361438751, 0.45775359869003296, 0.4941036105155945, 1.0025827884674072, -0.17491644620895386, 0.037270985543727875, 0.28734785318374634, 0.17571859061717987, -0.32552221417427063, -0.0019922363571822643, -0.16220137476921082, -0.3765602707862854, -0.8959274291992188, -0.930427074432373, -0.35220634937286377, 0.42594924569129944, -0.6201037764549255, 0.5358885526657104, -0.6338828802108765, -0.46087098121643066, 0.2557348608970642, -0.010218856856226921, -0.805193305015564, 0.044577475637197495, 0.1376160830259323, 0.9596213102340698, -0.762730598449707, 0.862434983253479, 0.2749469578266144, -0.2002469152212143, -0.3820160925388336, -0.1964017152786255, -0.5033401250839233, -0.49926039576530457, 0.6054977774620056, 0.3679819703102112, 0.044349554926157, -0.35613951086997986, -0.48997148871421814, -0.6707698106765747, 0.6726483702659607, 0.31966474652290344, -0.7513893842697144, -0.5147141218185425, 0.44930532574653625, 0.6725113987922668, 0.270406037569046, 0.139358252286911, 0.3522670865058899, 0.44555479288101196, -0.27829644083976746, -1.2419438362121582, -0.03648700565099716, -0.09628081321716309, 0.06641732901334763, 0.49011534452438354, -0.6324638724327087, 0.7710849642753601, 0.10382138937711716, -0.25969985127449036, 0.09322940558195114, 0.6469263434410095, -0.1650245487689972, 0.282991886138916, 0.6154745221138, 0.7965204119682312, 0.6873025894165039, -0.16268274188041687, 1.124295949935913, -0.4134766161441803, 0.5958720445632935, 0.7859269380569458, 0.008489272557199001, 0.817764401435852, 0.6377050876617432, -0.3093525767326355, 0.25005996227264404, 0.38967153429985046, -0.3264986276626587, 0.29097673296928406, 0.2548493444919586, -0.2601861357688904, -0.08741976320743561, -0.1283230036497116, -0.1921403408050537, 0.6908618211746216, 0.06857597082853317, -0.310880184173584, -0.07178222388029099, 0.23336417973041534, 0.3265596628189087, -0.18081088364124298, -0.26381340622901917, 0.7103410959243774, -0.0007859712932258844, -0.7183302640914917, 0.6789535880088806, 0.10698741674423218, 0.9344035387039185, -0.4786425828933716, 0.2987688481807709, -0.12781748175621033, 0.3407624363899231, -0.2663755714893341, -0.49470826983451843, 0.4201154112815857, 0.23414123058319092, -0.1359393298625946, -0.2576897442340851, 0.6807307004928589, -0.08408605307340622, -0.4286174178123474, 0.2322453260421753, 0.21057461202144623, 0.02550310268998146, -0.36118751764297485, -0.5754905343055725, -0.16368426382541656, -0.3079085648059845, -0.25092947483062744, 0.3556429445743561, 0.16421444714069366, -0.09084628522396088, 0.5854759812355042, 0.8417367935180664, 0.3453809320926666, 0.012073209509253502, 0.01365904975682497, 0.8271673321723938, -0.7835323810577393, -0.6590969562530518, -0.9283029437065125, -0.2254725992679596, -0.24915577471256256, -0.4017814099788666, 0.7888795137405396, 0.961959183216095, 0.9146212339401245, -0.12274777889251709, 0.5667226910591125, 0.20142509043216705, 0.30348390340805054, -0.34187814593315125, 0.7106276154518127, -0.33621880412101746, -0.060758333653211594, -0.16790121793746948, -1.2594858407974243, -0.26471182703971863, 0.23380328714847565, -0.2283899039030075, -0.14717410504817963, 0.6532397866249084, 0.3833029568195343, -0.16851402819156647, 0.08351804316043854, 0.0658106803894043, -0.19534774124622345, 0.5653294324874878, 0.48204588890075684, 0.6498753428459167, -0.35112062096595764, 0.9161192774772644, -0.4841720461845398, -0.17690695822238922, -0.27396997809410095, -0.842473030090332, -0.8647761344909668, -0.2441967874765396, -0.030315514653921127, -0.34093981981277466, 0.04256962984800339, 0.7490862607955933, 0.5593612194061279, -0.6014627814292908, -0.05957761034369469, 0.007821385748684406, -0.00915607251226902, -0.23912882804870605, -0.2388526201248169, 0.5673936009407043, -0.38303065299987793, -0.7631646394729614, 0.17501412332057953, 0.27698060870170593, -0.04458398371934891, -0.06345471739768982, 0.08719859272241592, 0.23863014578819275, 0.15049172937870026, 0.7250293493270874, 0.42005088925361633, -0.4906317889690399, -0.49468114972114563, 0.22760750353336334, 0.0070938607677817345, 0.11392490565776825, 0.9383475184440613, -0.9199012517929077, 0.4638417959213257, 0.7225039601325989, 0.9186481833457947, 0.7463953495025635, -0.12078439444303513, -0.038745567202568054, -0.6081090569496155, 0.44669684767723083, 0.4678526222705841, 0.31161171197891235, 0.049835026264190674, -0.3501715660095215, 0.266488254070282, 0.32869425415992737, -0.7944993376731873, -0.8134254813194275, 0.17164409160614014, -0.9277575612068176, -0.33797508478164673, 1.03508460521698, 0.08943118900060654, -0.40127280354499817, 0.02380312979221344, -0.20636658370494843, 0.3336995542049408, -0.0931839793920517, 1.1603031158447266, 0.6492567658424377, -0.11621896922588348, 0.1610896736383438, -0.34152621030807495, 0.7960253953933716, 0.5497416257858276, -0.8245716691017151, -0.01672687567770481, 0.1380273997783661, -0.0021093571558594704, 0.47140175104141235, 0.2255432903766632, -0.09180398285388947, 0.17105050384998322, -0.11938498914241791, -0.148152157664299, -0.11856827139854431, -0.5800319910049438, -0.23753081262111664, 0.17771026492118835, -0.14604933559894562, -0.06395849585533142 ]
http://arxiv.org/abs/2403.12556v1
http://arxiv.org/pdf/2403.12556v1
Factorized Learning Assisted with Large Language Model for Gloss-free Sign Language Translation
2024-03-19T09:00:23
2024-03-19T09:00:23
Zhigang Chen, Benjia Zhou, Jun Li, Jun Wan, Zhen Lei, Ning Jiang, Quan Lu, Guoqing Zhao
cs.CL
cs.CL
Previous Sign Language Translation (SLT) methods achieve superior performance by relying on gloss annotations. However, labeling high-quality glosses is a labor-intensive task, which limits the further development of SLT. Although some approaches work towards gloss-free SLT through jointly training the visual encoder and translation network, these efforts still suffer from poor performance and inefficient use of the powerful Large Language Model (LLM). Most seriously, we find that directly introducing LLM into SLT will lead to insufficient learning of visual representations as LLM dominates the learning curve. To address these problems, we propose Factorized Learning assisted with Large Language Model (FLa-LLM) for gloss-free SLT. Concretely, we factorize the training process into two stages. In the visual initialing stage, we employ a lightweight translation model after the visual encoder to pre-train the visual encoder. In the LLM fine-tuning stage, we freeze the acquired knowledge in the visual encoder and integrate it with a pre-trained LLM to inspire the LLM's translation potential. This factorized training strategy proves to be highly effective as evidenced by significant improvements achieved across three SLT datasets which are all conducted under the gloss-free setting.
[ -0.22551558911800385, -0.488262802362442, 0.5446045398712158, 0.06569138914346695, -0.698327362537384, 0.1898702085018158, -0.1927844136953354, -0.6285189390182495, 0.30312874913215637, 0.5020018219947815, -0.4313657283782959, -0.40012961626052856, -0.9146866798400879, 0.018761103972792625, -0.1153673380613327, 1.0394798517227173, -0.2990058958530426, 0.5068982839584351, 0.027794942259788513, -0.13552379608154297, -0.2086167186498642, -0.36840328574180603, -0.8924334049224854, -0.47410282492637634, 0.2991252541542053, 0.4048612415790558, 0.8483346104621887, 0.34575748443603516, 0.49361124634742737, 0.22867827117443085, -0.0709124282002449, 0.4241843819618225, -0.43709468841552734, -0.014656612649559975, 0.19117313623428345, -0.29046913981437683, -0.81927889585495, -0.050849273800849915, 0.5992459654808044, 0.7229935526847839, 0.2038775384426117, -0.005255853291600943, -0.15869645774364471, 0.6038750410079956, -0.1855132281780243, 0.5885696411132812, -0.4014210104942322, 0.11716651171445847, -0.08566654473543167, -0.09212761372327805, -0.3380189836025238, -0.14312420785427094, -0.024401698261499405, -0.7967755794525146, 0.2998182475566864, 0.28909778594970703, 0.5636919736862183, 0.3013737201690674, -0.7148758769035339, -0.41916027665138245, -0.7930834889411926, 0.4656067490577698, -0.6733083724975586, 0.6744896173477173, 0.425752729177475, 0.049842771142721176, -0.1871882826089859, -0.2938123643398285, -0.5038426518440247, -0.42964231967926025, 0.003929795231670141, 0.10088752955198288, 0.3325682580471039, 0.30241408944129944, 0.30620628595352173, 0.4361237585544586, -0.432963490486145, 0.08303001523017883, -0.3070402443408966, -0.3197586238384247, 0.7629965543746948, -0.1267184615135193, 0.3763584494590759, 0.1681079864501953, -0.5325857996940613, -0.14182353019714355, -0.6578389406204224, -0.12589441239833832, -0.2286933958530426, 0.7032673954963684, -0.20707179605960846, 0.5901167988777161, -0.044459182769060135, 0.4519405961036682, 0.08160001784563065, -0.36464837193489075, 0.40304115414619446, -0.11955851316452026, -0.06180091202259064, -0.07840411365032196, 0.8404894471168518, 0.06293287128210068, 0.4573054313659668, -0.1242169663310051, -0.8372333645820618, -0.32070547342300415, -0.23175838589668274, -0.7877931594848633, 0.14736762642860413, 0.10927953571081161, 0.004897909704595804, 0.11525754630565643, 0.05330958589911461, -0.3839448392391205, -0.5554699301719666, -0.5595422387123108, 0.6608957648277283, -0.5050551891326904, -0.40773817896842957, 0.05723397806286812, 0.40851056575775146, 0.15670570731163025, 0.5870510935783386, -0.9716485142707825, 0.28863126039505005, 0.7619135975837708, 0.9934419393539429, -0.26396849751472473, -0.040944479405879974, -1.0198513269424438, 0.00783309992402792, -0.471483051776886, 0.17293113470077515, -0.2291058450937271, -0.372879296541214, 0.18956583738327026, -0.21128369867801666, -0.11587642878293991, -0.38134074211120605, 0.23104901611804962, -0.7958885431289673, -0.08884109556674957, -0.1768009066581726, -0.6553574204444885, -0.18947942554950714, -0.19487214088439941, -0.6118494868278503, 0.7911686897277832, 0.1954515427350998, -0.240327388048172, 0.59394371509552, -0.5972951650619507, -0.7105207443237305, 0.45506954193115234, -0.169601708650589, -0.40338170528411865, 0.41173994541168213, 0.34813106060028076, 0.5936160087585449, -0.25948700308799744, 0.4638110101222992, -0.016671501100063324, -0.2762860059738159, 0.10828572511672974, -0.0741068422794342, 0.5874611139297485, 0.08115953207015991, -0.586936354637146, 0.4454730451107025, -0.6694797277450562, -0.40888747572898865, 0.15649017691612244, -0.2569705545902252, -0.3044527471065521, -0.44516521692276, 0.1879444420337677, 0.49062296748161316, 0.3137722909450531, -0.5855965614318848, 0.11820372939109802, -0.3362347483634949, -0.06980625540018082, 0.6299289464950562, -0.08412756025791168, 0.5379877090454102, 0.2714277505874634, 0.6657360196113586, 0.1301906555891037, 0.36146730184555054, 0.2480575293302536, -0.5580857396125793, -1.3774386644363403, -0.06405629217624664, 0.15479734539985657, 0.4602503180503845, -1.382423996925354, 0.303426057100296, -0.28686580061912537, -0.15095753967761993, -0.36053264141082764, 0.49972599744796753, 0.6084608435630798, 0.15964090824127197, 0.5582520961761475, -0.5581489205360413, 0.04395147040486336, -0.5453543663024902, 0.40925413370132446, 0.05924716964364052, -0.048877134919166565, -0.08591568470001221, 0.7424055337905884, 0.10454824566841125, 0.4687484800815582, -0.46265941858291626, -0.804226815700531, -0.29767143726348877, 0.12333110719919205, 0.03186320886015892, 0.40185150504112244, 0.24064892530441284, -0.8779056668281555, -0.6062096953392029, 0.17728160321712494, -0.6056081652641296, 0.028159910812973976, -0.3168452978134155, -0.03916846588253975, 0.1888285130262375, 0.7564943432807922, -0.3501712679862976, 0.23784025013446808, 0.5861515998840332, -0.6367886066436768, 0.3596813976764679, -0.35329362750053406, -0.057700544595718384, -0.9180222153663635, -0.05952051281929016, 0.13306201994419098, -0.40406334400177, -0.9267171621322632, 0.24300721287727356, 0.22737127542495728, -0.40244171023368835, -0.3978607654571533, 0.49146848917007446, -0.7903429269790649, -0.146845743060112, -0.42714518308639526, 0.3369334042072296, -0.286837100982666, 0.5625097751617432, 0.3418862819671631, 0.9181548953056335, 0.6587644815444946, -0.4511171579360962, 0.041307415813207626, 0.3668419122695923, -0.31075596809387207, 0.41257625818252563, -0.4050213098526001, 0.09664243459701538, -0.1435953676700592, 0.08678587526082993, -0.6659550666809082, -0.10821817815303802, 0.33453503251075745, -0.07354320585727692, 0.7413197755813599, 0.0022102296352386475, -0.5120192170143127, -0.18596479296684265, 0.01746414415538311, 0.2142951339483261, 0.31253886222839355, -0.6178665161132812, 0.7585368752479553, 0.144733726978302, -0.11563718318939209, -0.26173490285873413, -0.5874465703964233, 0.060754984617233276, 0.16621148586273193, -0.5555756092071533, -0.03371459245681763, -0.10541825741529465, 0.1513810008764267, -0.5205165147781372, -0.17287461459636688, 0.12557581067085266, -0.0672370195388794, 0.14889399707317352, 0.1933736652135849, -0.2959403991699219, 0.29822081327438354, -0.23293377459049225, -0.4761926233768463, -0.10552682727575302, -0.3003431558609009, 0.4409778118133545, -0.2540868818759918, -0.4514206349849701, -0.2857494056224823, 0.20413950085639954, 0.7555056214332581, -0.576073944568634, 0.9721839427947998, 0.8515481352806091, -0.07174201309680939, -0.26549601554870605, -0.40458446741104126, -0.21273252367973328, -0.47873324155807495, 0.22369833290576935, -0.3568681478500366, -1.1563206911087036, 0.39007413387298584, -0.1500329077243805, 0.05647512152791023, 0.12283598631620407, 0.15901687741279602, 0.19983530044555664, 0.9935052394866943, 0.8375862836837769, 0.2556094229221344, 0.7218411564826965, -0.24153929948806763, 0.14896592497825623, -0.8421630263328552, -0.28555935621261597, 0.14693467319011688, -0.019593067467212677, -0.2635825276374817, -0.8688881993293762, 0.5468799471855164, 0.28206098079681396, -0.14195546507835388, 0.28955796360969543, -0.1089184507727623, 0.17206180095672607, 0.3835808336734772, 0.18949207663536072, 0.4811592102050781, 0.08061495423316956, -0.2515830397605896, 0.08225912600755692, -0.5382415056228638, -0.07927722483873367, 0.990073025226593, 0.45266395807266235, 0.4866982102394104, 0.2762506604194641, 0.7359199523925781, -0.06150742247700691, 0.521708071231842, -0.9814141392707825, 0.7774533629417419, -0.3186824917793274, -0.33773985505104065, -0.39920344948768616, -0.43765485286712646, -0.5580443143844604, 0.47008076310157776, -0.520207941532135, -0.35171109437942505, 0.21831026673316956, 0.21526303887367249, 0.029944341629743576, 0.25422969460487366, -0.628605842590332, 0.55507493019104, -0.6608301401138306, -0.3682270348072052, -0.11598318815231323, -0.483890175819397, 0.4296529293060303, -0.5359713435173035, 0.3609493374824524, -0.1372850090265274, -0.2593947649002075, 0.7299251556396484, -0.7076910734176636, 0.9510233998298645, -0.39104902744293213, -0.5993783473968506, -0.03828215226531029, 0.20092441141605377, 0.7021686434745789, -0.1227908581495285, 0.10611706227064133, 0.08793319016695023, -0.6490018963813782, -0.40723028779029846, -0.4794260859489441, 0.407505065202713, -0.570209801197052, -0.6336506009101868, -0.5633059144020081, -0.516179621219635, -0.5813336372375488, 0.2684408724308014, 0.03873026743531227, 0.44949737191200256, -0.0004941161605529487, -0.05424007400870323, 0.7373793721199036, 0.0077607352286577225, 0.3122308850288391, 0.6441731452941895, -0.6340165734291077, -0.5440431833267212, 1.120126485824585, 0.046784982085227966, 0.7058652639389038, 0.44675007462501526, 0.2860110402107239, -0.3294934332370758, -0.9556838274002075, -0.37268301844596863, 0.6038835644721985, -0.6856464147567749, -0.16007593274116516, -0.14116908609867096, 0.0015144398203119636, -0.2792617678642273, -0.18033379316329956, -0.4787822365760803, -0.24114809930324554, -0.23866374790668488, -0.1191178411245346, 0.48254674673080444, 0.8433658480644226, 0.05457943305373192, 0.4592509865760803, -0.41709986329078674, 0.40831154584884644, 0.2800377607345581, 0.5451765656471252, 0.1527661830186844, -0.495792955160141, -0.4635496735572815, -0.12209615111351013, 0.09574181586503983, -0.518777072429657, 0.25737833976745605, 0.39499586820602417, 0.1937836855649948, 0.5119830369949341, -0.013738039880990982, 0.4988629221916199, -0.4209584593772888, 0.5701004862785339, 0.6382323503494263, -0.9135335683822632, 0.440107136964798, -0.3406044542789459, 0.5645026564598083, 0.47218674421310425, 0.5617144107818604, -0.4771174192428589, -0.4766920506954193, -0.20896565914154053, -1.0565440654754639, 0.5966989398002625, 0.21713480353355408, -0.1482127159833908, 0.036559537053108215, 0.17491093277931213, 0.11121156811714172, 0.1651380956172943, -0.8779400587081909, -0.2560488283634186, -0.08049959689378738, 0.026408541947603226, -0.5090954303741455, -0.1621834933757782, -0.014621087349951267, -0.43451735377311707, 1.0057424306869507, -0.4509233236312866, -0.11618918180465698, 0.07956236600875854, -0.5553666353225708, -0.3017049729824066, 0.10092318058013916, 0.6754279732704163, 0.5138661861419678, -0.10992719233036041, -0.03720467537641525, 0.16006453335285187, -0.6330438256263733, 0.1396574079990387, -0.028759939596056938, -0.6047348976135254, -0.24007828533649445, 0.58737713098526, 1.3129236698150635, 0.4481360912322998, -0.4211771488189697, 0.6271241307258606, 0.10193666070699692, -0.30405014753341675, -0.20488154888153076, -0.009291461668908596, 0.1935405284166336, 0.10498090833425522, 0.5102997422218323, -0.045213732868433, -0.3207263648509979, -0.23426303267478943, 0.12652532756328583, 0.4730433225631714, -0.643958568572998, -0.2032051384449005, 0.7491491436958313, 0.5584242343902588, -0.19398005306720734, 0.4175543487071991, -0.1819743514060974, -0.6268335580825806, 0.16103138029575348, 0.5771955847740173, 0.850230872631073, -0.33674174547195435, 0.47110259532928467, 0.39500388503074646, 0.36176997423171997, -0.08747590333223343, 0.26751112937927246, -0.02911536768078804, -0.5785906910896301, -0.576640248298645, -0.9307849407196045, -0.2744930386543274, 0.29889583587646484, -0.38853251934051514, 0.10799995064735413, -0.6481735110282898, -0.041117340326309204, -0.3079170286655426, 0.0738409012556076, -0.7085860967636108, 0.3058289587497711, 0.5278281569480896, 0.8052644729614258, -1.1083707809448242, 0.8988958597183228, 0.4831351637840271, -0.7706349492073059, -0.6555284261703491, 0.0686039924621582, 0.09175760298967361, -0.7583596706390381, 0.702444851398468, 0.07935360074043274, -0.41824716329574585, 0.09674029052257538, -0.3434101641178131, -1.0642459392547607, 1.0461426973342896, 0.28994083404541016, -0.6477669477462769, 0.297343373298645, 0.4285884499549866, 0.6868913173675537, -0.5931047201156616, -0.05214487388730049, 0.3749939501285553, 0.4670596122741699, 0.33200353384017944, -0.9778197407722473, 0.34575217962265015, 0.06945262849330902, 0.09443678706884384, 0.30912715196609497, -0.6990517377853394, 0.5299723744392395, -0.3063373267650604, -0.4529486894607544, -0.12505345046520233, 0.9816417098045349, -0.18857355415821075, 0.05378121882677078, 0.6842367649078369, 0.10683481395244598, 0.7676111459732056, -0.058845385909080505, 0.8565009832382202, -0.1983112096786499, 0.15309010446071625, 0.9554219245910645, -0.20589257776737213, 0.9963054060935974, 0.5070802569389343, -0.058623142540454865, -0.03133004903793335, 0.2628757357597351, 0.16658441722393036, 0.15829558670520782, 0.015395964495837688, -0.4910005033016205, -0.5834683775901794, -0.06542177498340607, -0.20917026698589325, 0.3856569528579712, 0.5286949872970581, -0.3200775384902954, -0.16161294281482697, 0.4249619245529175, -0.033903468400239944, 0.08689635246992111, -0.5120863914489746, 0.7307896018028259, 0.40028050541877747, -0.4455302059650421, 0.7919320464134216, -0.2286112755537033, 0.9968384504318237, -0.8587021231651306, 0.12125465273857117, -0.3725466728210449, 0.04293947294354439, -0.1752016842365265, -0.5410460829734802, -0.22927387058734894, -0.31771120429039, 0.17853707075119019, -0.44663769006729126, 0.5979776978492737, -0.8687309622764587, -0.6883530616760254, 0.5297262668609619, 0.6335265636444092, 0.15811800956726074, 0.14887800812721252, -0.650974690914154, 0.01161845400929451, 0.1338007003068924, -0.2841942012310028, 0.5662549734115601, 0.2200416475534439, -0.366242915391922, 0.7682459950447083, 0.7606174349784851, 0.20474892854690552, -0.04792100191116333, 0.4762583076953888, 0.7551001310348511, -0.4417186379432678, -0.36931583285331726, -0.27127015590667725, 0.3097827136516571, 0.052417173981666565, -0.33251526951789856, 0.5437813997268677, 0.5219843983650208, 0.5736256837844849, -0.3602758049964905, 0.4413353204727173, 0.09299718588590622, -0.07046204060316086, -0.8420714139938354, 0.7468669414520264, -0.7218541502952576, 0.11284660547971725, -0.241586372256279, -1.0637009143829346, -0.5570953488349915, 0.4162439703941345, -0.3568670451641083, 0.03863834589719772, 0.7688727974891663, 0.8453865051269531, -0.13744013011455536, -0.08448074012994766, 0.6384360194206238, 0.1572839617729187, 0.44887447357177734, 0.5325953364372253, 0.15462954342365265, -0.4769073724746704, 0.5284697413444519, -0.31447678804397583, -0.4735954999923706, -0.3803756535053253, -0.8707295060157776, -0.9244092702865601, -0.9134126901626587, -0.5176639556884766, -0.09654930979013443, -0.08753006160259247, 1.0401047468185425, 0.6118070483207703, -1.0464166402816772, -0.3033433258533478, -0.03475380688905716, -0.12362870573997498, -0.38757872581481934, -0.1359070986509323, 0.48770755529403687, -0.3581411838531494, -0.6303989291191101, 0.7078614234924316, 0.06439178436994553, 0.3338974714279175, -0.34250062704086304, -0.4356817305088043, -0.329314649105072, -0.20125290751457214, 0.9482528567314148, 0.36167412996292114, -0.620899498462677, -0.5113846659660339, -0.39882516860961914, -0.02625146321952343, 0.0566275492310524, 0.9370753169059753, -0.40328121185302734, 0.5515364408493042, 0.3292314112186432, 0.33345791697502136, 0.8596383929252625, -0.03681149333715439, 0.7167429327964783, -0.9186007976531982, 0.22170138359069824, -0.007361866999417543, 0.3499746322631836, 0.7406643033027649, -0.35179492831230164, 0.5604264140129089, 0.11729401350021362, -0.27903613448143005, -0.3350849747657776, 0.385768324136734, -1.1908369064331055, -0.06770158559083939, 1.3312897682189941, 0.0068752216175198555, -0.1319642812013626, -0.2650323510169983, -0.1563255935907364, 0.36110392212867737, -0.5270006060600281, 0.31443139910697937, 0.4823421239852905, -0.27459609508514404, -0.2853638827800751, -0.6022645235061646, 0.7757698893547058, 0.21352960169315338, -0.4510270655155182, 0.28756603598594666, 0.5925768613815308, 0.24820052087306976, 0.3420712947845459, 0.7140658497810364, 0.07242279499769211, 0.18165245652198792, 0.0960790365934372, 0.17139117419719696, -0.4488752782344818, -0.3115590214729309, -0.4388577938079834, 0.10725091397762299, 0.45984554290771484, 0.0933382660150528 ]
http://arxiv.org/abs/2403.12526v1
http://arxiv.org/pdf/2403.12526v1
Prompt-based Graph Model for Joint Liberal Event Extraction and Event Schema Induction
2024-03-19T07:56:42
2024-03-19T07:56:42
Haochen Li, Di Geng
cs.CL
cs.CL
Events are essential components of speech and texts, describing the changes in the state of entities. The event extraction task aims to identify and classify events and find their participants according to event schemas. Manually predefined event schemas have limited coverage and are hard to migrate across domains. Therefore, the researchers propose Liberal Event Extraction (LEE), which aims to extract events and discover event schemas simultaneously. However, existing LEE models rely heavily on external language knowledge bases and require the manual development of numerous rules for noise removal and knowledge alignment, which is complex and laborious. To this end, we propose a Prompt-based Graph Model for Liberal Event Extraction (PGLEE). Specifically, we use a prompt-based model to obtain candidate triggers and arguments, and then build heterogeneous event graphs to encode the structures within and between events. Experimental results prove that our approach achieves excellent performance with or without predefined event schemas, while the automatically detected event schemas are proven high quality.
[ -0.15877194702625275, -0.9602501392364502, 0.7759040594100952, 0.03261737525463104, -0.0811300054192543, -0.029718317091464996, -0.2613022029399872, -0.28171306848526, 0.16745661199092865, 0.4184015691280365, -0.6835291981697083, -0.6042068004608154, -0.2812020182609558, 0.152846097946167, -0.19959361851215363, 0.9443613290786743, 0.11295142769813538, -0.3114147186279297, 0.14104700088500977, -0.06638859957456589, -0.4654332101345062, -0.27186256647109985, -0.8444728255271912, -0.22904102504253387, 0.5060528516769409, 0.3606830835342407, 0.576653003692627, 0.5894524455070496, -0.02237752638757229, 0.1833920180797577, -0.10627847164869308, 0.34446215629577637, -0.384714812040329, 0.08003585785627365, -0.3119142949581146, -0.09720269590616226, -0.36119508743286133, 0.38643062114715576, 0.8886155486106873, 0.8562783002853394, -0.12703512609004974, 0.033369943499565125, 0.10934942215681076, 0.09878704696893692, -0.5241236686706543, 0.3698040843009949, -0.6181639432907104, 0.06337516754865646, -0.2037522792816162, -0.4402294456958771, -0.7149490118026733, -0.5699610114097595, -0.18374313414096832, -0.9084136486053467, 0.19610537588596344, 0.20806139707565308, 0.8950433731079102, -0.2273484319448471, -0.3871104419231415, -0.39327287673950195, -0.4321659803390503, 0.5849257111549377, -0.4380146563053131, 0.5666083097457886, 0.19584298133850098, 0.09078894555568695, -0.3896850347518921, -1.0588799715042114, -0.7586517930030823, -0.1985148936510086, -0.3351263999938965, 0.03129199892282486, -0.2914077043533325, 0.10159801691770554, 0.8344205021858215, -0.13517121970653534, -0.7175410389900208, 0.3342163860797882, -0.1528887003660202, -0.40793266892433167, 0.7089252471923828, 0.4340664744377136, 0.6914677619934082, -0.6893631219863892, -0.26121118664741516, 0.34224551916122437, -0.4839355945587158, 0.2977813184261322, 0.5813530087471008, 0.6902014017105103, -0.16047056019306183, 0.494556188583374, -0.4653303027153015, 0.7308869957923889, 0.23340469598770142, -0.38963714241981506, 0.26714327931404114, -0.5942039489746094, -0.04659881815314293, 0.13866081833839417, 1.1605790853500366, 0.3739716708660126, 0.14202997088432312, -0.4815673232078552, -0.13844610750675201, 0.05084699019789696, -0.5603039264678955, -0.7762969136238098, -0.31917524337768555, 0.30747362971305847, -0.7822716236114502, -0.2552620768547058, -0.16756266355514526, -1.0405250787734985, -0.8257409930229187, -0.3790005147457123, 0.12214861810207367, -0.36330482363700867, -0.4814992845058441, -0.19044971466064453, -0.2820419371128082, 0.21262460947036743, 0.43320968747138977, -0.5622411370277405, 0.08683565258979797, 0.596478283405304, 0.9116905331611633, -0.34750449657440186, -0.10305701941251755, -1.5831701755523682, -0.010406388901174068, -0.10017824918031693, 0.6660673022270203, -0.7925718426704407, -0.5688377022743225, 0.18483838438987732, 0.4152226150035858, -0.1403505653142929, -0.2184126079082489, 0.44466352462768555, -0.6094674468040466, 0.5203421115875244, -0.5354107022285461, -0.8370280861854553, 0.13245604932308197, -0.06169816851615906, -0.7374579906463623, 0.8502479195594788, 0.05130598694086075, -0.9101464152336121, 0.3609910011291504, -0.8755446076393127, -0.37202417850494385, 0.46429359912872314, -0.5322907567024231, -0.11753528565168381, -0.4008162021636963, 0.4355108439922333, 0.42239877581596375, -0.3262726962566376, 0.6499407291412354, -0.4221644401550293, -0.1699894815683365, 0.1424969881772995, -0.14171572029590607, 1.502684235572815, 0.147670716047287, -0.1597575694322586, 0.4530753493309021, -1.0520386695861816, -0.2695898115634918, 0.10047782212495804, -0.08828944712877274, -0.06780276447534561, -0.02415412664413452, -0.04470039904117584, 0.3257814347743988, 0.1589435338973999, -0.5874564051628113, 0.4108215570449829, -0.42012548446655273, 0.1988709568977356, 0.6598793864250183, 0.5071736574172974, 0.9440374374389648, 0.04878728464245796, 0.6407931447029114, -0.05607808753848076, 0.08614896237850189, -0.37791579961776733, -0.6910625100135803, 0.016143804416060448, -0.325543612241745, 0.13424788415431976, 0.8531818389892578, -0.81703782081604, 0.4416479766368866, 0.08214707672595978, -0.17250850796699524, -0.06150469928979874, -0.11244398355484009, -0.21341878175735474, 1.0638991594314575, 0.1869017481803894, 0.014434047043323517, -0.5795342922210693, -0.3987780809402466, -0.18959806859493256, -0.27849864959716797, 0.12350049614906311, 0.014801222831010818, 0.07538516819477081, -0.04590941220521927, 1.1053352355957031, -0.4936814308166504, 0.09861315786838531, -0.37442469596862793, 0.28750139474868774, 0.35030752420425415, 0.2441532164812088, 0.38605454564094543, -0.7219443321228027, -0.3077077269554138, 0.27224287390708923, -0.8209574222564697, -0.5110620856285095, -0.3656826913356781, -0.14049600064754486, 0.12688082456588745, 0.8072061538696289, -0.5363233685493469, 0.6641173958778381, 0.11780869960784912, -0.5866373181343079, 0.8089589476585388, 0.4060080349445343, 0.07967493683099747, -1.0037896633148193, 0.10169143229722977, -0.1866789311170578, -0.39526742696762085, -0.6678330898284912, -0.4396761357784271, 0.1004355251789093, -0.3925623297691345, -0.348137229681015, 0.7374787330627441, -0.4173504114151001, -0.19001194834709167, -0.18697847425937653, 0.5582773089408875, 0.1475083976984024, 0.3490539789199829, 0.11302700638771057, 0.44514593482017517, 0.5914223790168762, -0.6744641661643982, 0.4962555170059204, 0.3926054537296295, -0.23850630223751068, 0.5816708207130432, -0.42199310660362244, -0.027327552437782288, -0.12770028412342072, 0.16521598398685455, -0.895980179309845, -0.16064471006393433, 0.668350875377655, -0.24863849580287933, 0.24415597319602966, -0.3904372751712799, -0.38259240984916687, -0.17038163542747498, 0.06338150799274445, -0.11417645215988159, 0.6142930388450623, -0.5034468173980713, 0.9324782490730286, 0.5036880970001221, -0.4177587330341339, -0.5945257544517517, -0.11711849272251129, -0.05319763347506523, -0.2200324386358261, -0.4561667740345001, 0.1346665620803833, 0.11303116381168365, -0.2614390254020691, 0.32926473021507263, 0.359708309173584, 0.21904811263084412, 0.01013941504061222, 0.4608525335788727, 0.47852909564971924, -0.25026735663414, 0.39151889085769653, -0.045960184186697006, -0.2312251180410385, 0.013054968789219856, -0.4171178936958313, 0.4873250126838684, 0.1610584408044815, -0.44082263112068176, -1.0321383476257324, 0.6705299615859985, 0.4194909632205963, -0.49684855341911316, 0.7307818531990051, 0.9532695412635803, -0.6102242469787598, -0.11203731596469879, -0.3149830400943756, -0.3845977187156677, -0.4054168164730072, 0.29775241017341614, -0.24500297009944916, -0.603967547416687, 0.8848004341125488, -0.41046345233917236, 0.026050100103020668, 0.5076729655265808, 0.42250117659568787, -0.02448434568941593, 1.085983395576477, 0.3607984483242035, 0.19254866242408752, 0.8478904366493225, -0.0073889694176614285, 0.10165680199861526, -0.6786831617355347, -0.05654764547944069, -0.5910295248031616, 0.091265469789505, -0.3424603044986725, -0.14740484952926636, 0.04780792072415352, 0.14056101441383362, -0.17066818475723267, 0.0443686917424202, -0.4030269980430603, 0.45836448669433594, 0.3990241289138794, -0.13655906915664673, 0.23787106573581696, -0.0996469110250473, 0.0071500614285469055, -0.15994372963905334, -0.921168327331543, -0.5858315825462341, 0.8411861658096313, 0.08004925400018692, 0.3209593892097473, -0.3118864595890045, 0.9075881838798523, 0.22327838838100433, 0.3504927456378937, -0.43261173367500305, 0.6040000915527344, 0.1437915414571762, -0.3461603820323944, -0.5766749382019043, -0.5281254649162292, -0.9118554592132568, -0.14415770769119263, -0.339124470949173, -1.241897702217102, 0.6103871464729309, -0.06980543583631516, -0.5075618624687195, 0.45801758766174316, -0.4354766607284546, 1.1720398664474487, 0.17913387715816498, -0.22389516234397888, 0.19126564264297485, -0.5111082792282104, 0.23442786931991577, 0.2713651657104492, 0.6261995434761047, -0.4765089452266693, 0.24369372427463531, 1.0828993320465088, -0.09308300912380219, 0.7619748711585999, -0.520258367061615, 0.08612499386072159, 0.6174370050430298, 0.18781469762325287, 1.0781497955322266, 0.29225391149520874, -0.30173879861831665, -0.27713942527770996, -0.03351830318570137, -0.1553972065448761, -0.6363150477409363, 0.4714244604110718, -0.5215344429016113, -0.34696024656295776, -0.033122483640909195, -0.62193363904953, -0.06589954346418381, 0.17543277144432068, 0.4111446142196655, 0.9062789082527161, -0.28778740763664246, -0.2732228934764862, 0.40668219327926636, -0.23431487381458282, 0.6191529035568237, 0.3349779546260834, -0.6910645961761475, -0.1781335175037384, 0.9936060309410095, 0.33663955330848694, 0.16357414424419403, -0.03864752873778343, 0.20255446434020996, -0.4159637689590454, -0.48117464780807495, -0.42003878951072693, 0.19875401258468628, -1.1327142715454102, -0.21874593198299408, -1.2477048635482788, 0.03819410130381584, -0.5468848347663879, -0.3061700165271759, 0.06503593921661377, -0.5379381775856018, -0.7786960601806641, -0.23638379573822021, 0.296592652797699, 0.5085305571556091, -0.4586602747440338, 0.2768903076648712, -0.695299506187439, 0.6014661192893982, 0.2877807021141052, -0.10623161494731903, -0.2607991695404053, -0.3628234267234802, 0.16857215762138367, -0.27352985739707947, -0.17345841228961945, -1.544931173324585, 0.283332884311676, 0.2415192723274231, 0.8008012175559998, 0.3711704909801483, 0.4038246273994446, 0.415593683719635, -0.4899570047855377, 0.8769977688789368, 0.3635358512401581, -0.9355399012565613, 0.8481376767158508, -0.3251844346523285, -0.16600382328033447, 0.24525995552539825, 0.4041016697883606, -0.6464073657989502, -0.320230096578598, -0.9233171343803406, -0.6338121891021729, 0.8441754579544067, -0.2647151052951813, -0.2699406147003174, -0.1436368077993393, 0.3126569986343384, 0.28052473068237305, -0.027584021911025047, -0.7020139098167419, -0.08449950069189072, -0.05553906410932541, -0.21159745752811432, 0.14718694984912872, -0.11824247986078262, -0.3363189399242401, 0.00785604678094387, 0.48364558815956116, -0.3011535406112671, -0.028705554082989693, 0.17469803988933563, -0.09143394231796265, -0.15335415303707123, 0.2935660481452942, -0.005650407634675503, 0.6976455450057983, 0.061231084167957306, -0.04563801735639572, 0.4417877495288849, -0.07568105310201645, -0.058915119618177414, 0.4733649492263794, -0.36919158697128296, 0.13200324773788452, 0.6778337359428406, 0.9080362915992737, 0.11681906878948212, -0.3821676969528198, 0.666021466255188, -0.11535626649856567, 0.11519835889339447, 0.11920137703418732, 0.038095053285360336, 0.08624601364135742, 0.4201113283634186, 0.3509227931499481, -0.29254627227783203, 0.38711461424827576, -0.706577479839325, 0.46743521094322205, 0.3480437099933624, -0.40329933166503906, -0.3235321342945099, 0.5655137896537781, 0.25552451610565186, -0.4436637759208679, 0.6339114904403687, -0.8962313532829285, -0.4540485739707947, 0.6352518200874329, 0.5784169435501099, 0.5947288870811462, -0.04589236155152321, 0.5249468088150024, 0.7159430384635925, 0.2938043475151062, 0.3312326967716217, 0.6021614670753479, 0.15605658292770386, -0.7133457660675049, -0.580665647983551, -0.5975396037101746, -0.3654484450817108, 0.0737791657447815, -0.6545461416244507, 0.5013942718505859, -0.2220417857170105, -0.22273021936416626, 0.24532108008861542, 0.06060714274644852, -0.9050104022026062, -0.058122195303440094, 0.258823424577713, 0.7769055962562561, -1.1860716342926025, 0.5930495858192444, 0.3076712191104889, -0.42562335729599, -1.1456698179244995, -0.23472243547439575, 0.059877265244722366, -0.29417628049850464, 0.5136433243751526, 0.07045929878950119, 0.3921729326248169, 0.19739511609077454, -0.4181203544139862, -0.5290905237197876, 0.9454800486564636, 0.40926504135131836, -0.8352106809616089, -0.2479633092880249, -0.36392679810523987, -0.014592140913009644, -0.5962424278259277, 0.021542008966207504, 0.50728440284729, 0.4995131194591522, -0.126305490732193, -0.7858012914657593, 0.2656562924385071, 0.20733200013637543, -0.3789011538028717, 0.0676356628537178, 0.01784990169107914, 1.0740509033203125, -0.265473335981369, -0.80927973985672, -0.2326657623052597, 0.8692633509635925, 0.2269609272480011, 0.7416492104530334, 0.604058563709259, -0.11969904601573944, 1.6454468965530396, -0.09346315264701843, 1.0372992753982544, -0.22880497574806213, 0.30951687693595886, 1.2002286911010742, -0.7091605067253113, 0.32426831126213074, 0.1529235690832138, -0.05840825289487839, 0.6243600249290466, 0.5872604250907898, 0.47042641043663025, 0.46846041083335876, -0.1699906587600708, -0.266305536031723, -0.4850352704524994, -0.45995455980300903, -0.4868125021457672, 0.20395779609680176, 0.5798057913780212, -0.21873173117637634, -0.2224445641040802, 0.3554735779762268, -0.02951143868267536, 0.08733630180358887, -0.3942590355873108, 0.7879911065101624, -0.11787160485982895, -0.5534063577651978, 0.04627523943781853, -0.2765684127807617, 0.11940617859363556, -0.509150505065918, -0.03631306067109108, 0.05257769674062729, -0.3601952791213989, -0.16829079389572144, -0.8881971836090088, 0.24434100091457367, -0.17951637506484985, -0.14017724990844727, 0.07704656571149826, 1.1226270198822021, -0.47672009468078613, -0.3044111728668213, 0.3946188688278198, 0.6998293995857239, 0.025682350620627403, 0.040305718779563904, -0.5311338305473328, 0.38400450348854065, -0.008538779802620411, -0.4469074606895447, -0.037688110023736954, 0.8354381918907166, -0.32129982113838196, 0.20581063628196716, 0.9295614361763, 0.191153421998024, -0.0075561245903372765, 0.2748658061027527, 0.830588161945343, -0.5581105947494507, -0.8836392164230347, -0.85475093126297, 0.6255349516868591, -0.7143418788909912, -0.17230843007564545, 0.4147768020629883, 0.2901957035064697, 0.26693493127822876, 0.28194427490234375, 0.9784091114997864, -0.02794422022998333, 0.4446522295475006, -0.4932272136211395, 0.4614868760108948, -0.21956562995910645, -0.1197730302810669, -0.3387867510318756, -0.6523811221122742, -0.23169921338558197, 0.4650418758392334, -0.482144296169281, -0.37629643082618713, 0.536202073097229, 0.811805248260498, 0.02587335929274559, 0.4686489701271057, 0.22797954082489014, 0.08163533359766006, 0.5447509288787842, 0.3369441330432892, 1.0582544803619385, -0.07475098967552185, 0.37714916467666626, -0.0023224842734634876, -0.4110476076602936, -0.4024151563644409, -1.1121344566345215, -0.8036641478538513, -1.0409767627716064, -0.7236037254333496, -0.5674663186073303, 0.005239777732640505, 1.0645060539245605, 0.44926705956459045, -0.8340238928794861, 0.26137030124664307, 0.12147780507802963, 0.3991067111492157, -0.03557288646697998, -0.28774839639663696, 0.657660961151123, -0.5680304169654846, -0.4737100899219513, 0.5671728253364563, 0.3240838348865509, -0.07938668876886368, 0.24577532708644867, -0.026735486462712288, -0.29144173860549927, 0.08032544702291489, 0.43363696336746216, 0.5377458930015564, -0.6084391474723816, -0.5906437039375305, -0.05087565258145332, -0.1945149451494217, -0.2576299011707306, 0.6471095681190491, -0.8007153868675232, 0.40659385919570923, 0.5331392884254456, 0.3314966857433319, 0.25677821040153503, -0.17606134712696075, 0.44564032554626465, -0.7467895150184631, 0.4270000457763672, 0.19225530326366425, 0.5872482657432556, 0.3581334948539734, -0.5375703573226929, 0.5089231133460999, 0.5176306962966919, -0.5355243682861328, -1.3322720527648926, 0.5292906165122986, -0.9756764769554138, -0.03668580949306488, 1.3742725849151611, -0.07728645205497742, -0.24685528874397278, -0.44904598593711853, -0.5688937306404114, 0.6627551317214966, -0.21528637409210205, 0.13386449217796326, 0.5678588151931763, -0.2945830225944519, -0.06424931436777115, -0.3719061315059662, 0.7612532377243042, -0.35640183091163635, -0.6731439828872681, 0.33458375930786133, 0.5714088082313538, 0.1671006828546524, 0.28635668754577637, 1.1502220630645752, 0.11729694902896881, 0.5818546414375305, 0.1762205958366394, 0.0684393048286438, -0.20263825356960297, -0.38787826895713806, -0.23175863921642303, 0.6639102101325989, -0.3268754482269287, -0.22503253817558289 ]
http://arxiv.org/abs/2403.12523v1
http://arxiv.org/pdf/2403.12523v1
GraphERE: Jointly Multiple Event-Event Relation Extraction via Graph-Enhanced Event Embeddings
2024-03-19T07:50:32
2024-03-19T07:50:32
Haochen Li, Di Geng
cs.CL
cs.CL, cs.AI
Events describe the state changes of entities. In a document, multiple events are connected by various relations (e.g., Coreference, Temporal, Causal, and Subevent). Therefore, obtaining the connections between events through Event-Event Relation Extraction (ERE) is critical to understand natural language. There are two main problems in the current ERE works: a. Only embeddings of the event triggers are used for event feature representation, ignoring event arguments (e.g., time, place, person, etc.) and their structure within the event. b. The interconnection between relations (e.g., temporal and causal relations usually interact with each other ) is ignored. To solve the above problems, this paper proposes a jointly multiple ERE framework called GraphERE based on Graph-enhanced Event Embeddings. First, we enrich the event embeddings with event argument and structure features by using static AMR graphs and IE graphs; Then, to jointly extract multiple event relations, we use Node Transformer and construct Task-specific Dynamic Event Graphs for each type of relation. Finally, we used a multi-task learning strategy to train the whole framework. Experimental results on the latest MAVEN-ERE dataset validate that GraphERE significantly outperforms existing methods. Further analyses indicate the effectiveness of the graph-enhanced event embeddings and the joint extraction strategy.
[ -0.5857033133506775, -0.9391695857048035, 0.6117020845413208, -0.08093014359474182, -0.1715160310268402, -0.05135153979063034, -0.20860737562179565, -0.7517446875572205, 0.20661857724189758, 0.31080785393714905, -0.6212693452835083, -0.5561712980270386, -0.7240582704544067, 0.11397430300712585, -0.035195205360651016, 0.8814576268196106, -0.4431474506855011, -0.2231108844280243, -0.018939143046736717, -0.4820590913295746, -0.44863054156303406, -0.5538972020149231, -0.7960448265075684, -0.3824642300605774, 0.6568191647529602, 0.13099418580532074, 0.14322564005851746, 0.30994269251823425, 0.3919938802719116, 0.2861468195915222, 0.08767960965633392, 0.44567686319351196, -0.49566414952278137, 0.4054195284843445, 0.12944920361042023, -0.20168688893318176, -0.6396299004554749, -0.05087393894791603, 0.6304826736450195, 0.4219195544719696, 0.14882202446460724, 0.1722962111234665, 0.1879018098115921, 0.23726551234722137, -0.777293860912323, 0.7117377519607544, -0.43709123134613037, 0.024788403883576393, -0.3337920308113098, -0.018156660720705986, -0.5702734589576721, -0.06622640043497086, -0.12141866981983185, -0.7762085199356079, 0.14876343309879303, 0.07977274060249329, 1.1864545345306396, -0.14042899012565613, -0.5686553716659546, -0.20874786376953125, -0.6020132303237915, 0.6101944446563721, -0.3356008231639862, 0.5535500645637512, 0.1055728867650032, 0.15038569271564484, -0.12358754873275757, -0.7939777970314026, -0.3811245858669281, -0.0914459303021431, -0.3683868944644928, 0.25646618008613586, -0.07059825956821442, -0.038747891783714294, 0.33365657925605774, 0.10117347538471222, -0.36939385533332825, 0.022843336686491966, 0.18373405933380127, -0.07640198618173599, 0.39094278216362, 0.16661374270915985, 0.6056183576583862, -0.31606367230415344, -0.40157487988471985, -0.06545937061309814, -0.6156981587409973, -0.31909462809562683, 0.2584949731826782, 0.28903284668922424, -0.07572590559720993, 0.413594126701355, 0.2416771650314331, 0.46362510323524475, -0.008664657361805439, -0.058861758559942245, 0.31213754415512085, -0.42449066042900085, -0.15918180346488953, -0.18684707581996918, 0.8930816650390625, 0.008459114469587803, 0.15583625435829163, -0.4649302661418915, 0.17032156884670258, 0.22703814506530762, -0.18743252754211426, -0.6664522886276245, -0.0139298802241683, 0.1434597671031952, -0.3511200547218323, -0.23835952579975128, 0.04642052575945854, -1.1961116790771484, -0.22439156472682953, -0.16111861169338226, 0.23326389491558075, -0.4651014804840088, -0.29604506492614746, -0.30070802569389343, -0.37862616777420044, -0.06639731675386429, 0.42722952365875244, -0.6454893946647644, 0.4514200687408447, 0.5433472990989685, 0.7223373055458069, -0.06730403006076813, -0.5307565927505493, -0.6560739278793335, 0.7312704920768738, 0.11526403576135635, 0.6837770342826843, -0.7632749080657959, -0.3554694652557373, 0.04623434320092201, 0.054627981036901474, -0.41779664158821106, -0.14219467341899872, 0.3645886182785034, -0.5896059274673462, 0.21931403875350952, -0.12494732439517975, -0.6841517090797424, -0.25130295753479004, 0.26685598492622375, -0.9266981482505798, 1.0456074476242065, -0.19752830266952515, -0.8164680004119873, 0.5125139951705933, -0.8770385384559631, -0.6113797426223755, -0.1551213413476944, -0.5234196782112122, -0.5729678273200989, -0.2183058112859726, 0.5679247379302979, 0.3500779867172241, -0.1969502717256546, 0.271335244178772, -0.48777976632118225, 0.1781338006258011, -0.14879830181598663, -0.12610091269016266, 0.6096316576004028, -0.12438908964395523, -0.3247988522052765, 0.004625613801181316, -0.7637094259262085, -0.3603198528289795, 0.22695939242839813, -0.1143108606338501, -0.40171363949775696, 0.146470308303833, -0.06523989140987396, 0.2559136748313904, 0.18009820580482483, -0.5967850089073181, 0.1721954196691513, -0.34569230675697327, 0.14692746102809906, 0.7363632321357727, 0.5049594044685364, 0.6074999570846558, 0.0192547757178545, 0.23360252380371094, 0.09246604889631271, 0.1318938136100769, -0.33467328548431396, -0.4633539617061615, -0.5106713175773621, -0.17940008640289307, 0.039497166872024536, 0.69996178150177, -0.48048704862594604, 0.41588327288627625, -0.16291029751300812, -0.12301282584667206, 0.10290195792913437, 0.09082146733999252, 0.24928951263427734, 0.2929442524909973, 0.3753436505794525, -0.026454266160726547, -0.6449989676475525, -0.514859139919281, -0.22989238798618317, -0.1419302076101303, 0.23668824136257172, 0.45025497674942017, 0.44546380639076233, -0.08098036050796509, 0.8277184963226318, -0.7280131578445435, -0.31479451060295105, -0.13652649521827698, 0.46889814734458923, 0.012380086816847324, 0.3256436288356781, 0.6077167987823486, -0.7528773546218872, -0.33686190843582153, 0.27932003140449524, -1.0813225507736206, 0.16522595286369324, -0.10514413565397263, -0.3295707702636719, 0.1350952535867691, 0.29428526759147644, -0.3771812617778778, 0.5581343173980713, 0.3680351674556732, -0.1874120682477951, 0.350323349237442, 0.07747378945350647, 0.31373023986816406, -1.3221993446350098, -0.10394438356161118, 0.054188698530197144, -0.3603810667991638, -0.43692925572395325, 0.09549380838871002, -0.09495183825492859, -0.3983415365219116, -0.17142613232135773, 0.665934145450592, -0.8338485360145569, -0.13090898096561432, 0.015846196562051773, 0.6018766760826111, 0.29678282141685486, 0.47379058599472046, -0.08751080185174942, 0.23610232770442963, 0.6260907053947449, -0.6509405970573425, 0.3228886127471924, 0.393247127532959, 0.14353148639202118, 0.6171894669532776, -0.2693634033203125, 0.37208446860313416, -0.07126179337501526, 0.16441339254379272, -0.6482571363449097, 0.0018793413182720542, 0.36401456594467163, -0.3079949617385864, 0.6399011611938477, -0.5700588822364807, -0.5472826361656189, -0.21196918189525604, -0.10196948796510696, 0.12941262125968933, 0.06854834407567978, -0.49998894333839417, 1.1976051330566406, 0.6624957919120789, -0.1894659548997879, -0.6593438982963562, -0.48374006152153015, 0.10040324181318283, -0.14408911764621735, -0.7798314094543457, 0.2091781347990036, 0.3188057839870453, -0.1328052282333374, 0.5610655546188354, -0.06492526829242706, -0.21325035393238068, -0.15411686897277832, 0.3138757348060608, 0.3749884068965912, -0.1284656524658203, 0.46432337164878845, 0.031311821192502975, -0.5405808687210083, -0.2790178656578064, -0.2597711384296417, 0.5125599503517151, 0.07601188868284225, -0.6285573244094849, -0.49393409490585327, 0.696618378162384, 0.37823396921157837, -0.35168108344078064, 0.8249726891517639, 0.8174543380737305, -0.7619815468788147, 0.15245291590690613, -0.6205519437789917, -0.40899091958999634, -0.3377212584018707, 0.6470755338668823, -0.6982375979423523, -0.8595725893974304, 0.8282177448272705, -0.5415261387825012, 0.3202907145023346, 0.5409234166145325, 0.2760884761810303, 0.0924413874745369, 0.9629843235015869, 0.41078507900238037, -0.22466155886650085, 0.6185643672943115, -0.28120243549346924, 0.13910764455795288, -0.9595249891281128, -0.2922637164592743, -0.5545467138290405, -0.10154300183057785, -0.3261505663394928, -0.27445295453071594, 0.40657544136047363, 0.3531879782676697, -0.2649017870426178, 0.5570679306983948, -0.043711382895708084, 0.12389987707138062, 0.06737680733203888, -0.03724092245101929, 0.3188011646270752, 0.021426279097795486, -0.16866637766361237, -0.09273963421583176, -0.7662774324417114, -0.42577987909317017, 0.6559262275695801, -0.042608775198459625, 0.6239637136459351, 0.16509075462818146, 1.0241448879241943, 0.024674391373991966, 0.31615468859672546, -0.4752845764160156, 0.4533596634864807, -0.10985605418682098, -0.6541546583175659, -0.4516427516937256, -0.46300604939460754, -1.1559805870056152, 0.3202618658542633, -0.5014053583145142, -1.2845573425292969, 0.39596638083457947, 0.013282852247357368, 0.37082380056381226, 0.5832058191299438, -0.5362918376922607, 0.9632106423377991, -0.1214788407087326, -0.4266810417175293, -0.36928024888038635, -0.3926326036453247, -0.016112275421619415, 0.07626321911811829, 0.5842152833938599, -0.3620401620864868, 0.12665946781635284, 0.7812487483024597, -0.17913588881492615, 0.9671713709831238, -0.023267101496458054, 0.27017346024513245, 0.2952519357204437, 0.18333575129508972, 1.1965030431747437, 0.4452757239341736, -0.15667738020420074, 0.13291899859905243, -0.19805054366588593, -0.2890689969062805, -0.6296803951263428, 0.7373228073120117, -0.7011850476264954, -0.24217960238456726, -0.16188496351242065, -0.3305695950984955, -0.1838739812374115, 0.3861747086048126, 0.1888435333967209, 1.0714695453643799, -0.4978293478488922, -0.46468621492385864, 0.17027106881141663, -0.004772494081407785, 0.6500377655029297, 0.2811899483203888, -0.17544132471084595, -0.5206278562545776, 0.7729262709617615, 0.14960375428199768, 0.07611902803182602, 0.46422532200813293, 0.07346296310424805, -0.20014728605747223, -0.08996070921421051, -0.5702476501464844, 0.32869741320610046, -0.7972040176391602, -0.026118291541934013, -1.0302881002426147, 0.18890540301799774, -0.4603201150894165, -0.24092280864715576, -0.3538823127746582, -0.25829294323921204, -0.44474783539772034, -0.22044067084789276, 0.31307902932167053, 0.7940241694450378, -0.11803533136844635, -0.19262336194515228, -1.18538236618042, 0.2834266126155853, 0.17190125584602356, 0.02629636414349079, 0.17133215069770813, 0.2112153172492981, -0.06728815287351608, -0.3321838974952698, -0.2190312147140503, -1.3927608728408813, 0.1393664926290512, 0.20022745430469513, 0.8605324029922485, 0.2836998403072357, -0.06845691055059433, 0.8062326312065125, -0.6241549849510193, 0.47271811962127686, 0.38589227199554443, -0.9540937542915344, 0.8295283317565918, -0.14207611978054047, -0.15146750211715698, 0.3260945677757263, 0.2987367808818817, -0.49786612391471863, -0.4875461459159851, -0.8593817353248596, -0.9837788343429565, 0.6446877717971802, 0.33307716250419617, -0.11283695697784424, -0.20664066076278687, 0.35802966356277466, 0.02882232330739498, 0.0009759431704878807, -0.7016774415969849, -0.5704777836799622, 0.23693202435970306, -0.011063547804951668, 0.14400897920131683, -0.23791034519672394, -0.28685903549194336, 0.13458777964115143, 0.6353644132614136, 0.08688964694738388, 0.480376660823822, 0.10125844925642014, -0.3070429563522339, -0.0903613418340683, 0.36426565051078796, 0.008666622452437878, 0.7167837023735046, -0.04473329335451126, 0.2023419737815857, 0.5779101848602295, -0.298654705286026, -0.029834680259227753, 0.49783089756965637, -0.027355896309018135, 0.090985007584095, 0.6557505130767822, 0.9926533102989197, 0.39098086953163147, 0.0640595406293869, 0.338245153427124, 0.021308505907654762, 0.08069922029972076, -0.18439993262290955, -0.29884177446365356, 0.07311982661485672, 0.3032133877277374, 0.2105616331100464, 0.026389913633465767, 0.13044697046279907, -0.5421014428138733, 0.544042706489563, 0.1491241753101349, -0.6292188763618469, -0.39553436636924744, 0.6084432005882263, 0.4636134207248688, -0.07831104099750519, 0.4151339828968048, -0.4596811830997467, -0.4187338054180145, 0.618716299533844, 0.6749119758605957, 0.7122324109077454, 0.05638457089662552, 0.06999528408050537, 0.5870780944824219, 0.3448965549468994, 0.40828630328178406, 0.2404697686433792, 0.24896666407585144, -1.0192629098892212, -0.7599924802780151, -0.42819809913635254, -0.18612483143806458, -0.054233063012361526, -0.6263977289199829, 0.3943113386631012, 0.2229573130607605, -0.345702201128006, -0.05449840798974037, -0.0426437072455883, -0.7629255056381226, -0.21051211655139923, -0.0005934773362241685, 0.4283426105976105, -1.0350068807601929, 0.6118825078010559, 0.9452576041221619, -0.6045904159545898, -0.8451739549636841, -0.12699198722839355, 0.1863265186548233, -0.4390225112438202, 0.5307076573371887, -0.05639928579330444, -0.09758159518241882, 0.20224173367023468, 0.19909407198429108, -0.7299648523330688, 0.9695845246315002, 0.2746322453022003, -0.6537492871284485, 0.04180716723203659, -0.4122253954410553, 0.059064023196697235, -0.4346636235713959, 0.20980946719646454, -0.0018908297643065453, 0.7460002303123474, -0.04100899025797844, -0.5572906732559204, 0.19751964509487152, -0.06418674439191818, -0.2872244119644165, 0.8679842948913574, -0.40272223949432373, 0.5080968141555786, -0.15390929579734802, -0.6779778003692627, -0.4073941111564636, 0.6156649589538574, 0.05252917483448982, 0.4601309299468994, 0.5304601192474365, 0.7325583100318909, 0.8938606381416321, -0.16786600649356842, 1.0647780895233154, -0.2609519064426422, 0.7689955234527588, 1.2645413875579834, -0.5986107587814331, 0.5828703045845032, 0.1466890573501587, -0.24856197834014893, 0.6712949872016907, 0.306612491607666, 0.26640212535858154, 0.2505001127719879, -0.33871957659721375, -0.40010058879852295, -0.4521138072013855, 0.04822216182947159, -0.40613093972206116, 0.14838054776191711, 0.45804479718208313, -0.20537544786930084, -0.5726214051246643, 0.115351602435112, 0.3526407480239868, -0.14246612787246704, 0.05956534668803215, 0.842321515083313, 0.16811110079288483, -0.22267889976501465, -0.21161410212516785, -0.2565131187438965, 0.11791542172431946, -0.5366092324256897, -0.16531921923160553, 0.3070545792579651, 0.004567595664411783, -0.035109490156173706, -0.53924560546875, 0.24725781381130219, -0.22670094668865204, -0.23766691982746124, 0.2532978057861328, 1.12974214553833, -0.2649325430393219, -0.4103037416934967, 0.8654599189758301, 0.8228663802146912, -0.09173864126205444, 0.3156605660915375, -0.6551425457000732, 0.03650745376944542, -0.2807798981666565, -0.40013906359672546, 0.3234612047672272, 0.5606575012207031, -0.017063086852431297, 0.23605987429618835, 0.6357911229133606, 0.0061548915691673756, 0.0044856928288936615, 0.46292588114738464, 0.9093960523605347, -0.46660515666007996, -0.39608538150787354, -1.0742908716201782, 0.3730927109718323, -0.6377723813056946, -0.11256412416696548, 0.5714402794837952, 0.5366021394729614, 0.3347857892513275, 0.19588133692741394, 0.7640972137451172, -0.24855369329452515, 0.17696595191955566, -0.44057372212409973, 0.19798916578292847, -0.3423767685890198, -0.04449393227696419, -0.37954655289649963, -0.9190525412559509, -0.3925114572048187, 0.36821433901786804, -0.298804372549057, 0.005103612784296274, 1.0490163564682007, 0.5466500520706177, -0.03884006664156914, 0.07930456101894379, 0.1548982709646225, 0.09877031296491623, 0.46010610461235046, 0.6648239493370056, 0.7185958027839661, -0.37720125913619995, 0.5627935528755188, 0.012577561661601067, -0.3452141582965851, -0.1134001761674881, -1.0940356254577637, -0.916883111000061, -0.6135066151618958, -0.5283074975013733, -0.15207791328430176, 0.3728276789188385, 0.5913245677947998, 0.6934878826141357, -0.7480230331420898, 0.057901278138160706, -0.0684930756688118, 0.27189844846725464, -0.37612801790237427, -0.22779621183872223, 0.6813349723815918, -0.46063467860221863, -0.8264169692993164, 0.457653284072876, 0.6999008655548096, -0.0771622508764267, 0.29802605509757996, 0.04846108704805374, -0.5569358468055725, -0.28235775232315063, 0.6555823683738708, 0.16664764285087585, -0.33504605293273926, -0.6948272585868835, -0.33811211585998535, 0.01744607463479042, 0.07068891078233719, 0.8392838835716248, -0.3704560101032257, 0.4953368604183197, 0.6942154169082642, 0.3607262372970581, 1.083493709564209, -0.32052046060562134, 0.6172800660133362, -0.9607483148574829, 0.3100593686103821, -0.08596669137477875, 0.7674832344055176, -0.10088656842708588, -0.39902591705322266, 0.6131375432014465, 0.4884580969810486, -0.5040662884712219, -0.5384024381637573, 0.587855339050293, -1.007506012916565, -0.20450562238693237, 0.9616357684135437, -0.3310336172580719, -0.03299136832356453, -0.492409348487854, -0.012259635142982006, 0.7678537368774414, -0.2886601984500885, 0.20230767130851746, 0.6382051706314087, -0.5103051662445068, -0.13418766856193542, -0.509150505065918, 0.012064909562468529, -0.11734586209058762, -0.9379377961158752, -0.11678775399923325, 0.5243951082229614, -0.013102684170007706, 0.4684584140777588, 0.6191331148147583, -0.29335418343544006, 0.07012845575809479, 0.2423868626356125, 0.24858413636684418, -0.2372511774301529, -0.34753137826919556, 0.24418045580387115, 0.3692891001701355, -0.09635484218597412, -0.40639930963516235 ]
http://arxiv.org/abs/2403.13031v1
http://arxiv.org/pdf/2403.13031v1
RigorLLM: Resilient Guardrails for Large Language Models against Undesired Content
2024-03-19T07:25:02
2024-03-19T07:25:02
Zhuowen Yuan, Zidi Xiong, Yi Zeng, Ning Yu, Ruoxi Jia, Dawn Song, Bo Li
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
Recent advancements in Large Language Models (LLMs) have showcased remarkable capabilities across various tasks in different domains. However, the emergence of biases and the potential for generating harmful content in LLMs, particularly under malicious inputs, pose significant challenges. Current mitigation strategies, while effective, are not resilient under adversarial attacks. This paper introduces Resilient Guardrails for Large Language Models (RigorLLM), a novel framework designed to efficiently and effectively moderate harmful and unsafe inputs and outputs for LLMs. By employing a multi-faceted approach that includes energy-based training data augmentation through Langevin dynamics, optimizing a safe suffix for inputs via minimax optimization, and integrating a fusion-based model combining robust KNN with LLMs based on our data augmentation, RigorLLM offers a robust solution to harmful content moderation. Our experimental evaluations demonstrate that RigorLLM not only outperforms existing baselines like OpenAI API and Perspective API in detecting harmful content but also exhibits unparalleled resilience to jailbreaking attacks. The innovative use of constrained optimization and a fusion-based guardrail approach represents a significant step forward in developing more secure and reliable LLMs, setting a new standard for content moderation frameworks in the face of evolving digital threats.
[ -0.4080357551574707, -1.0432569980621338, 0.22805902361869812, 0.06325611472129822, -0.24720162153244019, 0.2472497969865799, -0.37473368644714355, -0.06114397197961807, 0.06166870519518852, 0.9443424344062805, -0.16644707322120667, -0.6174210906028748, -0.7335914969444275, -0.2596278786659241, -0.5858272910118103, 1.1242140531539917, -0.16622187197208405, 0.003690528916195035, -0.28073716163635254, -0.275605708360672, -0.4762462079524994, -0.593687117099762, -0.6481939554214478, -0.22250790894031525, 0.48975205421447754, 0.06314893811941147, 0.7170493006706238, 0.58851557970047, 0.7409502267837524, 0.26347312331199646, -0.011640972457826138, 0.018254991620779037, -0.6610035300254822, 0.5067756772041321, -0.36741241812705994, -0.224928081035614, -0.4220587909221649, -0.3140650987625122, 0.5607744455337524, 0.4579198658466339, -0.17414332926273346, 0.022209985181689262, 0.12770719826221466, 0.6484779715538025, -0.8500551581382751, -0.0915958434343338, -0.9032620787620544, -0.14829979836940765, -0.30441468954086304, -0.21207638084888458, -0.43193185329437256, -0.3514290452003479, -0.24452424049377441, -0.11417289078235626, -0.2595374584197998, 0.26722824573516846, 0.6603303551673889, 0.3271373510360718, -0.2258574217557907, -0.07427956163883209, -0.694237232208252, 0.8222348093986511, -0.631013810634613, 0.19142946600914001, 0.4018614888191223, 0.22001422941684723, -0.505205512046814, -0.4819411039352417, -0.389131098985672, -0.2439059168100357, 0.2395288050174713, 0.059794411063194275, -0.24329432845115662, 0.12710347771644592, -0.007979735732078552, 0.14503726363182068, -0.6680031418800354, 0.37653642892837524, -0.10997733473777771, -0.24494898319244385, 0.5077024698257446, 0.2741162180900574, 0.5699121952056885, -0.2640700340270996, -0.6150129437446594, -0.24847640097141266, -0.8869827389717102, -0.23583488166332245, 0.7101906538009644, 0.4292943775653839, -0.006425566505640745, 0.46885159611701965, 0.17610576748847961, 0.4199816584587097, -0.09967676550149918, -0.23342452943325043, -0.3050994873046875, 0.04677823930978775, -0.014775832183659077, 0.20903606712818146, 0.8805318474769592, 0.4086206257343292, -0.0005891088512726128, -0.36798423528671265, -0.2856886386871338, 0.21717852354049683, 0.4850955307483673, -0.8295246958732605, -0.22830024361610413, 0.5031201243400574, -0.1961151659488678, -0.4950821101665497, 0.11234904080629349, -0.9681957960128784, -0.8073306679725647, 0.07812052220106125, 0.4452773332595825, -0.6519151329994202, -0.4539550840854645, 0.33699923753738403, 0.273771733045578, 0.2205117642879486, -0.02658318728208542, -0.823946475982666, 0.18941883742809296, 0.9904003143310547, 0.8763606548309326, -0.5144068598747253, -0.0158530380576849, -0.6195312738418579, 0.379641592502594, -0.13421384990215302, 0.46064257621765137, -0.4508059322834015, -0.5410956144332886, 0.2125229686498642, 0.054953545331954956, 0.13169829547405243, -0.3254925608634949, 0.9561440944671631, -0.9861111044883728, 0.010806851089000702, 0.12076780945062637, -0.4476664364337921, -0.16385997831821442, 0.5789007544517517, -0.7613145112991333, 0.6220415234565735, -0.09047618508338928, -1.0292192697525024, 0.1206241250038147, -0.30970460176467896, -0.5956773161888123, -0.11231019347906113, 0.20033462345600128, -0.7073668241500854, -0.03766336664557457, -0.003924172837287188, 0.27572721242904663, -0.10239133983850479, 0.6926658749580383, -0.5904643535614014, -0.06567605584859848, 0.286027729511261, -0.7454906105995178, 0.5101954340934753, 0.24578575789928436, -0.11342466622591019, 0.41239264607429504, -0.45822587609291077, -0.044864263385534286, 0.09205085784196854, -0.47532519698143005, -0.36261260509490967, 0.07594551146030426, 0.09460463374853134, 0.21045982837677002, 0.12487565726041794, -0.3718246817588806, -0.12453094869852066, -0.5047826766967773, 0.21094362437725067, 1.102742075920105, 0.0633172020316124, 0.323294073343277, -0.4394757151603699, 0.7530689239501953, -0.20572927594184875, 0.0321306549012661, 0.04468229413032532, 0.07445075362920761, -0.7457486391067505, -0.18685947358608246, 0.3780718147754669, 0.5219950079917908, -0.9434412121772766, 0.6130070090293884, -0.6516827344894409, -0.6293286085128784, -0.09635267406702042, 0.23922693729400635, 0.5798470377922058, 0.3951932489871979, 0.16186478734016418, -0.39524582028388977, -0.659002959728241, -0.5887033343315125, -0.30352702736854553, -0.18940316140651703, 0.13598717749118805, -0.1681431084871292, 0.5548166036605835, -0.16993311047554016, 0.6184703707695007, -0.18004801869392395, -0.205769345164299, -0.4510438144207001, -0.19256432354450226, 0.18773803114891052, 0.6615424156188965, 0.5061823129653931, -0.6746460199356079, -0.2652120888233185, -0.27401986718177795, -0.7470325827598572, -0.15278922021389008, -0.17483720183372498, -0.3385029733181, -0.14408114552497864, 0.3930284380912781, -0.3967214524745941, 0.06949897110462189, 0.7075012922286987, -0.1422339379787445, 0.5885077714920044, 0.03318237513303757, -0.14149877429008484, -1.2919360399246216, 0.07549674808979034, -0.030929002910852432, -0.4369331896305084, -0.6297723054885864, 0.25992321968078613, -0.17315936088562012, -0.0449351966381073, -0.5725655555725098, 0.6237382292747498, -0.09260599315166473, 0.22731372714042664, -0.6233332753181458, 0.2545813024044037, -0.02597099356353283, 0.26187074184417725, -0.034243542701005936, 0.5771456360816956, 0.7340799570083618, -0.5690025091171265, 0.5449086427688599, 0.20636068284511566, -0.2280644327402115, 0.5879723429679871, -0.6171987056732178, -0.005141059402376413, -0.2066277712583542, 0.2806563675403595, -0.588528573513031, -0.501351535320282, 0.2172536551952362, -0.18556156754493713, 0.5793686509132385, -0.22970743477344513, -0.4812961518764496, -0.24247540533542633, -0.743911862373352, 0.0826672911643982, 0.41849657893180847, -0.6739828586578369, 0.6548886299133301, 0.8329905867576599, -0.05489034578204155, -0.5364292860031128, -0.49562978744506836, 0.30546531081199646, -0.7052350640296936, -0.8107447028160095, 0.2694174349308014, 0.045448027551174164, -0.3166588842868805, -0.3562878668308258, -0.17372602224349976, 0.15424273908138275, 0.35337337851524353, 0.47691744565963745, 0.3437628746032715, 0.1467774659395218, 0.009802174754440784, -0.02375553734600544, -0.31545740365982056, 0.3016902804374695, -0.21663779020309448, 0.8756747841835022, -0.07188151776790619, -0.4781031608581543, -0.12042549252510071, 0.25935083627700806, 0.5655320882797241, -0.1484626829624176, 0.9606359601020813, 0.807624101638794, -0.3038468062877655, -0.1951899230480194, -0.3916774392127991, -0.2614039480686188, -0.5479996204376221, 0.4418679475784302, -0.09976335614919662, -1.0634708404541016, 0.39125993847846985, -0.2700466513633728, 0.11238579452037811, 0.1273917853832245, 0.5239241123199463, 0.26289403438568115, 0.9085296392440796, 0.3782309591770172, -0.3647753596305847, 0.5532259941101074, -0.04948453605175018, 0.20042496919631958, -1.037359356880188, -0.10671728104352951, -0.24993568658828735, -0.2104732245206833, -0.5218578577041626, -0.1127709224820137, 0.5966688394546509, 0.015058093704283237, -0.2926514744758606, 0.32506129145622253, -0.32219254970550537, 0.41637706756591797, 0.392951101064682, 0.23185734450817108, 0.15301154553890228, -0.08608411252498627, -0.022792158648371696, 0.043850596994161606, -0.5960739850997925, -0.8524619936943054, 1.1473342180252075, 0.4172282814979553, 1.3928560018539429, 0.5292761921882629, 0.36642026901245117, 0.4194205701351166, 0.32170870900154114, -0.5601459741592407, 0.6830744743347168, -0.17470546066761017, -0.719005286693573, 0.07603945583105087, -0.44908326864242554, -0.777682363986969, 0.25775250792503357, -0.27973875403404236, -0.7904665470123291, -0.3191883862018585, 0.03835213556885719, -0.3573337197303772, 0.8094852566719055, -0.42152097821235657, 0.5926104784011841, -0.6274688839912415, -1.1145702600479126, -0.018938474357128143, -0.6493869423866272, 0.7040004134178162, -0.217817485332489, 0.2781877815723419, -0.17111338675022125, -0.03729065880179405, 0.7036741375923157, -0.3076450526714325, 0.8722851872444153, -0.10348992794752121, -0.2574874460697174, 0.17845825850963593, 0.48435482382774353, 0.6830738186836243, 0.38382506370544434, -0.1474858969449997, -0.02789168991148472, -0.23135815560817719, -0.2126484215259552, -0.28759467601776123, 1.0795912742614746, -0.5766401290893555, -0.9206711649894714, -0.50102299451828, -0.5015294551849365, -0.33386197686195374, 0.24707065522670746, -0.04624210298061371, 0.27798259258270264, -0.12779386341571808, 0.5462941527366638, 0.8998387455940247, -0.32812270522117615, 0.5557264685630798, 0.456625372171402, -0.4045288860797882, -0.5281330943107605, 0.9817372560501099, -0.34595394134521484, 0.4735461175441742, 0.09904016554355621, -0.03235793113708496, -0.2950824797153473, -0.8709826469421387, -0.2437351495027542, -0.11482833325862885, -0.6924076676368713, -0.48892635107040405, -0.637657642364502, -0.3393702507019043, -0.21951241791248322, -0.311343789100647, -0.41725555062294006, -0.21744892001152039, -0.007321975193917751, -0.24874958395957947, 0.4178240895271301, 0.13352207839488983, -0.19606146216392517, 0.44039177894592285, -0.6959819793701172, 0.23821987211704254, 0.23820903897285461, 0.4512326121330261, -0.21649929881095886, -0.6718830466270447, -0.0832066759467125, -0.0533023364841938, -0.3166724443435669, -0.4255361258983612, 0.47303491830825806, 0.02098153345286846, 0.3943321108818054, 0.5039315819740295, 0.2873761057853699, 0.21299025416374207, -0.27190423011779785, 0.6996622085571289, 0.22584006190299988, -0.7151275873184204, 0.4894297420978546, -0.5848211050033569, 0.10863814502954483, 0.57811439037323, 0.16112153232097626, -0.4357497990131378, -0.3793966770172119, -0.343723863363266, -1.0040379762649536, 0.4329283535480499, 0.1287274807691574, 0.5223686099052429, 0.02989119105041027, 0.18638478219509125, 0.1570761352777481, 0.23068371415138245, -0.8026072382926941, 0.08792450278997421, -0.2656089961528778, -0.15065090358257294, 0.37824690341949463, -0.2150079309940338, -0.35286423563957214, 0.12066105008125305, 1.0086331367492676, -0.13197574019432068, -0.2060217261314392, -0.29393520951271057, -0.23363839089870453, -0.005075080320239067, 0.5147971510887146, 0.34741324186325073, 0.3117631673812866, -0.20357288420200348, 0.5131639838218689, 0.2665376663208008, -0.624499499797821, 0.11939346790313721, -0.06275934725999832, -0.3274853825569153, -0.376754492521286, 0.40368279814720154, 0.8018925786018372, 0.11956143379211426, -0.8015690445899963, 0.3667333424091339, -0.06193450093269348, 0.17091135680675507, -0.34917277097702026, 0.42303964495658875, -0.2120692878961563, -0.07318476587533951, -0.040710173547267914, -0.052483852952718735, -0.31101682782173157, -0.3722373843193054, 0.30734720826148987, 0.7760822176933289, -0.4913268983364105, -0.25394630432128906, 0.9661538600921631, 0.28498217463493347, 0.05202968418598175, -0.005326217506080866, -0.0021628299728035927, -0.6629979610443115, 0.22861026227474213, 0.5307068824768066, 0.9430397152900696, -0.17652243375778198, 0.09372367709875107, 0.23903430998325348, 0.405703604221344, -0.17752662301063538, 0.0966857299208641, 0.31474000215530396, -0.8656433820724487, -0.08714944869279861, -0.9607629776000977, -0.3373006582260132, 0.2179717719554901, -0.5058566927909851, 0.2571631073951721, -0.8711570501327515, -0.3425830006599426, -0.4576435089111328, -0.2684933543205261, -0.03964592143893242, 0.07066906243562698, 0.14419539272785187, 0.6298818588256836, -0.7089310884475708, 0.6902812123298645, 0.3245587646961212, -0.3105868995189667, -0.4958127737045288, -0.019867364317178726, 0.16463057696819305, -0.6522602438926697, 0.09914661943912506, 0.1456800103187561, -0.2817317843437195, -0.11740713566541672, -0.43758127093315125, -0.6864668726921082, 0.9168654680252075, 0.4764007031917572, -0.37108704447746277, 0.12289831042289734, 0.2750530242919922, 0.40662774443626404, -0.11541013419628143, -0.10359703004360199, 0.49373185634613037, 0.5297011733055115, 0.09912063181400299, -0.4702107012271881, 0.26536500453948975, -0.07760690897703171, 0.19846202433109283, 0.32485732436180115, -0.8475762605667114, 0.4515206515789032, 0.22631385922431946, -0.19902779161930084, 0.20864911377429962, 0.4466884434223175, 0.32654449343681335, -0.06690743565559387, 0.4384062588214874, 0.6699241995811462, 0.4695212244987488, -0.41860365867614746, 1.031967282295227, -0.6107386350631714, 0.23920153081417084, 1.0333306789398193, -0.40838712453842163, 0.6784497499465942, 0.620688796043396, -0.0830351859331131, 0.3405243158340454, 0.3911856412887573, -0.10201647877693176, 0.622911274433136, 0.41046857833862305, -0.635554850101471, -0.42899635434150696, -0.46419113874435425, -0.23175477981567383, 0.5075801610946655, 0.4456820785999298, -0.37902089953422546, -0.15872304141521454, 0.3477633595466614, 0.5932270884513855, 0.28321942687034607, -0.3470250368118286, 0.6767639517784119, 0.08101367950439453, -0.4609871506690979, 0.49432259798049927, 0.2109060138463974, 0.8768582344055176, -0.7836900949478149, 0.4610085189342499, -0.06417206674814224, 0.3812968134880066, -0.14679117500782013, -0.810272753238678, 0.4436580240726471, 0.2883639931678772, 0.13851438462734222, -0.3473832607269287, 1.070516586303711, -0.27071627974510193, -0.4993460476398468, 0.31985241174697876, 0.3051398992538452, -0.22789761424064636, 0.16746115684509277, -0.4582238793373108, 0.5408099293708801, -0.25926995277404785, -0.20185436308383942, 0.5031982660293579, 0.010743063874542713, -0.01883619837462902, 0.8402745723724365, 0.7439382076263428, 0.20854738354682922, -0.03873184323310852, 0.016992241144180298, 1.1425527334213257, -0.3114369213581085, -0.2790625989437103, -0.972867488861084, 0.5080302357673645, -0.20382218062877655, 0.00016842696641106158, 0.9483588933944702, 0.498522013425827, 0.5587567090988159, 0.1312241554260254, 0.9472206234931946, -0.05502612888813019, 0.27629154920578003, -0.7706116437911987, 1.0453200340270996, -0.19536855816841125, 0.6839991807937622, -0.30787667632102966, -0.7631623148918152, -0.5277079939842224, 0.1345624476671219, -0.3924953043460846, 0.005699581000953913, 0.27299267053604126, 0.9608305096626282, -0.07475234568119049, -0.130183145403862, 0.1581721007823944, 0.12784920632839203, 0.6510798335075378, 0.5527759194374084, 0.7318422198295593, -0.1661616861820221, 0.7717331647872925, -0.10586068034172058, -0.015930956229567528, -0.2096414864063263, -0.7555226683616638, -1.20333731174469, -0.19966168701648712, -0.28930792212486267, -0.6691141724586487, 0.30611321330070496, 0.6439995169639587, 0.595192551612854, -0.954317569732666, 0.036333438009023666, -0.217754527926445, 0.2712680399417877, 0.3229939341545105, -0.2817531228065491, 0.4584670662879944, -0.10734821856021881, -0.5523351430892944, 0.40407538414001465, 0.4884936213493347, -0.03867069259285927, -0.7200237512588501, -0.12990713119506836, -0.04619108885526657, 0.13019181787967682, 0.35107946395874023, 0.29798924922943115, -0.6244616508483887, -0.5937570929527283, -0.1099119707942009, -0.05261010676622391, -0.14884348213672638, 0.43251001834869385, -0.5470430254936218, 0.49935153126716614, 0.445266991853714, 0.8916240930557251, 0.0476132407784462, 0.1191524863243103, 0.6061442494392395, -0.8747021555900574, 0.3133816123008728, 0.27797144651412964, 0.6313713192939758, 0.5429000854492188, -0.13255617022514343, 0.434255987405777, 0.01030928734689951, -0.4642755687236786, -0.9683049321174622, 0.45088160037994385, -0.8559150099754333, -0.07517246901988983, 1.3484697341918945, -0.22420674562454224, -0.3869309723377228, -0.03689775988459587, -0.1984768956899643, 0.1143118366599083, -0.27157503366470337, 1.1178442239761353, 0.759624183177948, 0.2626129686832428, -0.14379490911960602, -0.48606857657432556, 0.4478793442249298, 0.4171823263168335, -0.985401451587677, 0.15262001752853394, 0.42602571845054626, 0.0826139822602272, 0.18618769943714142, -0.17679943144321442, -0.3493903875350952, 0.019446751102805138, -0.1416434794664383, -0.2918300926685333, -0.1723787933588028, -0.2716229259967804, -0.3243516683578491, 0.4250655472278595, 0.0026025124825537205, -0.022667890414595604 ]
http://arxiv.org/abs/2403.12500v1
http://arxiv.org/pdf/2403.12500v1
A Large Collection of Model-generated Contradictory Responses for Consistency-aware Dialogue Systems
2024-03-19T07:07:13
2024-03-19T07:07:13
Shiki Sato, Reina Akama, Jun Suzuki, Kentaro Inui
cs.CL
cs.CL
Mitigating the generation of contradictory responses poses a substantial challenge in dialogue response generation. The quality and quantity of available contradictory response data play a vital role in suppressing these contradictions, offering two significant benefits. First, having access to large contradiction data enables a comprehensive examination of their characteristics. Second, data-driven methods to mitigate contradictions may be enhanced with large-scale contradiction data for training. Nevertheless, no attempt has been made to build an extensive collection of model-generated contradictory responses. In this paper, we build a large dataset of response generation models' contradictions for the first time. Then, we acquire valuable insights into the characteristics of model-generated contradictions through an extensive analysis of the collected responses. Lastly, we also demonstrate how this dataset substantially enhances the performance of data-driven contradiction suppression methods.
[ -0.6534255743026733, -0.5297187566757202, 0.35901716351509094, 0.029141638427972794, 0.03827911242842674, -0.10020910948514938, 0.27690497040748596, -0.26952844858169556, -0.15718813240528107, 0.6387950778007507, -1.0657474994659424, 0.051004644483327866, -0.4476233124732971, 0.1953529268503189, -0.5398991107940674, 0.9939495325088501, 0.1763734519481659, 0.0006801866693422198, -0.17175200581550598, -0.07864110171794891, -0.790375828742981, -0.2121465504169464, -0.3055630028247833, -0.2515074908733368, 0.39125150442123413, 0.2842804789543152, 0.764945924282074, 0.3844161927700043, 0.1875731199979782, 0.33687418699264526, 0.14707915484905243, 0.39074957370758057, -0.8435344696044922, 0.4132750630378723, -0.3295052945613861, -0.39789244532585144, -0.07593275606632233, -0.1436164230108261, 0.7944207787513733, 0.6235100030899048, -0.17963770031929016, 0.06730072945356369, 0.30466899275779724, 0.6070241332054138, -0.6096723675727844, 0.02981940098106861, -0.916731059551239, 0.18910668790340424, 0.02217702753841877, 0.0074045294895768166, -0.6289511322975159, -0.47479626536369324, 0.24026398360729218, -0.8749666810035706, 0.4778895676136017, 0.02541453018784523, 0.9315041303634644, 0.4042263329029083, -0.4786030352115631, -0.3123992681503296, -0.9699591398239136, 0.7053220272064209, -0.8270980715751648, 0.11352621763944626, 0.04922127351164818, 0.33760902285575867, -0.42789316177368164, -0.35837894678115845, -1.0914603471755981, 0.19142040610313416, -0.05009257048368454, 0.3832120895385742, -0.3812161386013031, -0.059796251356601715, 0.7009135484695435, 0.24414275586605072, -0.6084468960762024, -0.11031409353017807, 0.15117992460727692, -0.11635657399892807, 0.5587858557701111, 0.6850920915603638, -0.2237679809331894, -0.3466561734676361, -0.140333890914917, -0.3483821451663971, -0.8470763564109802, -0.058299511671066284, 0.6195564866065979, 0.26330286264419556, 0.06910895556211472, 0.5921373963356018, -0.3082623779773712, 0.6881446838378906, 0.17518047988414764, -0.04493652284145355, -0.05877819284796715, -0.4821837246417999, -0.4106007516384125, -0.32613325119018555, 0.8420848846435547, 0.1949327141046524, -0.21572135388851166, 0.11539530009031296, -0.38323378562927246, 0.21118661761283875, 0.08359085768461227, -0.81322181224823, 0.03276428207755089, 0.3280138075351715, -0.27386191487312317, -0.1262310892343521, -0.02011953294277191, -0.8416904807090759, -0.5659810304641724, -0.4229055345058441, 0.3499850332736969, -0.027649294584989548, -0.3323478400707245, 0.23114465177059174, -0.0822376161813736, 0.14825500547885895, 0.446843683719635, -0.5770084857940674, 0.2658754289150238, 0.4849076569080353, 0.43763625621795654, 0.32550203800201416, 0.29794901609420776, -0.7735477685928345, 0.14684143662452698, -0.371232271194458, 0.45381981134414673, -0.48637762665748596, -0.5575926899909973, 0.02144433930516243, -0.10891497135162354, 0.12081217765808105, -1.0478214025497437, 0.5005267262458801, -0.18928833305835724, 0.29635247588157654, -0.6179347038269043, -0.7034742832183838, 0.10052020847797394, 0.04204104468226433, -0.5468476414680481, 0.585792064666748, 0.15457329154014587, -0.8962313532829285, 0.1253790706396103, -0.21561048924922943, -0.1861758679151535, -0.07733363658189774, -0.34336337447166443, -0.5471534132957458, 0.13866347074508667, -0.12751629948616028, 0.12957863509655, -0.7054424285888672, 0.5463298559188843, -0.4484226703643799, -0.021235205233097076, 0.3269183337688446, -0.7472928166389465, 0.7332661747932434, 0.4323641359806061, -0.33676716685295105, -0.22025910019874573, -0.7830449342727661, 0.07619505375623703, 0.2806367874145508, -0.09572015702724457, -0.06876783818006516, 0.1306813508272171, -0.2543675899505615, 0.46637603640556335, -0.07878748327493668, -0.7733128070831299, -0.11959125846624374, -0.2985509932041168, 0.1389581859111786, 0.9935240149497986, 0.07342195510864258, -0.15797556936740875, -0.7346594929695129, 0.3359261751174927, 0.5198073983192444, 0.056820258498191833, -0.36491525173187256, -0.24740877747535706, -0.7790647745132446, -0.04266100376844406, 0.09856577962636948, 0.333278626203537, -0.917443573474884, 0.6117706894874573, -0.3587814271450043, -0.38459843397140503, -0.532234251499176, 0.1949879378080368, 0.5293343663215637, 1.0659106969833374, 0.06081312522292137, -0.11595650017261505, -0.7226340174674988, -1.034938097000122, -0.1992575079202652, -0.09541786462068558, -0.30766618251800537, 0.5122458934783936, 0.4400292634963989, 0.08100289106369019, 1.1139004230499268, -0.4678058326244354, 0.21356265246868134, 0.16334819793701172, 0.17260730266571045, 0.06744962185621262, 0.5966989398002625, 0.25180545449256897, -0.9477918744087219, -0.494536817073822, -0.16381344199180603, -0.8297140598297119, -0.23156175017356873, -0.4445350766181946, -0.10047921538352966, 0.004673351999372244, 0.101315438747406, -0.5673026442527771, 0.6606966257095337, 0.4489195644855499, -0.012601504102349281, 0.7373142242431641, 0.29801851511001587, 0.02996002696454525, -1.1675132513046265, 0.31132036447525024, -0.035036712884902954, -0.24840863049030304, -0.6758421063423157, -0.22488296031951904, -0.1429894119501114, -0.02110137790441513, -0.12608005106449127, 0.24430657923221588, -0.012042051181197166, 0.13585662841796875, -0.18854838609695435, 0.14827625453472137, 0.20083510875701904, 0.2902645766735077, -0.011915339156985283, 0.5973318219184875, 0.2100905179977417, -0.5478238463401794, 0.5575015544891357, 0.9222820401191711, -0.2576083242893219, 0.8116302490234375, -0.8752630352973938, 0.1923668533563614, -0.37119677662849426, 0.4891078472137451, -1.3405565023422241, -0.6343846321105957, 0.31316155195236206, -0.2073059231042862, 0.07714581489562988, -0.05548406392335892, -0.48150119185447693, -0.4869649410247803, -0.08341832458972931, 0.231560617685318, 0.3842604458332062, -0.6949131488800049, 0.6237460970878601, -0.03844517096877098, -0.42898330092430115, -0.6034408807754517, -0.4865739345550537, -0.28516221046447754, -0.07263480871915817, -0.4716018736362457, -0.12527461349964142, -0.5940986275672913, -0.20599333941936493, -0.4497843384742737, -0.371474027633667, 0.266637921333313, -0.0937904417514801, 0.41362032294273376, 0.36239707469940186, -0.06499765813350677, 0.26298895478248596, -0.01984664984047413, 0.16240723431110382, 0.20258642733097076, -0.04661610722541809, 0.5958878993988037, 0.24806071817874908, -0.7797977328300476, -0.741518497467041, 0.6893005967140198, 0.6065806150436401, 0.1468593031167984, 0.5614939332008362, -0.012411430478096008, -0.05708250775933266, 0.14657670259475708, -0.466793030500412, -0.021789195016026497, -0.5155271291732788, 0.23229603469371796, -0.35737770795822144, -0.6550037264823914, 0.614025890827179, -0.13808847963809967, 0.48696357011795044, 0.2985058128833771, 0.4069700837135315, 0.1767088770866394, 1.4164937734603882, 0.06588473170995712, -0.08606322109699249, 0.29681605100631714, 0.15396663546562195, 0.3713448941707611, -0.7391171455383301, -0.4275807738304138, -0.8753926157951355, -0.1288703829050064, -0.4252237379550934, 0.175191730260849, 0.22186408936977386, -0.06796767562627792, -0.657611072063446, 0.01012841984629631, -0.38413339853286743, 0.27244317531585693, 0.23262281715869904, 0.17565952241420746, 0.2328367978334427, -0.005241051781922579, 0.06796851754188538, -0.1364549845457077, -0.7651580572128296, -0.3514837324619293, 1.0671111345291138, 0.22592876851558685, 0.8930036425590515, 0.3440706729888916, 0.26582640409469604, 0.0019419577438384295, 0.11636874824762344, -0.5537459254264832, 0.5676854252815247, 0.2098018079996109, -0.4246613681316376, -0.14494265615940094, -0.9758241772651672, -0.7797412872314453, 0.2146654576063156, -0.3870852589607239, -0.3926360309123993, 0.23281802237033844, 0.2100887894630432, -0.44498899579048157, 0.10908107459545135, -0.8772682547569275, 0.4088933765888214, 0.1155194416642189, -0.5982850790023804, 0.1248798668384552, -0.6922051310539246, 0.4375408887863159, -0.39235883951187134, -0.1423584669828415, 0.1540333777666092, 0.5244640707969666, 0.4130720794200897, -0.6788784265518188, 0.7949168682098389, -0.2309904545545578, -0.4742752015590668, 0.2027573138475418, 0.3358713388442993, 0.8053467273712158, 0.213841512799263, 0.0644548311829567, -0.43172216415405273, -0.27636459469795227, -0.6744412183761597, -0.8118785619735718, 0.6212458610534668, -0.6367703080177307, -0.9744554758071899, 0.1134994700551033, -0.8472017645835876, -0.5102108120918274, 0.2742252051830292, 0.4057890772819519, 0.5545980930328369, -0.1629505455493927, 0.2204587608575821, 0.9861774444580078, -0.32760530710220337, 0.16423219442367554, 0.4747081398963928, 0.0452299490571022, -0.18716658651828766, 0.6590362787246704, -0.06836891174316406, 0.7900606989860535, 0.030777495354413986, -0.0798516720533371, -0.4706295430660248, -0.22372204065322876, -0.3052411675453186, -0.10154178738594055, -0.3902975618839264, -0.49909743666648865, -0.3501393795013428, -0.20956763625144958, -0.5694733262062073, 0.3008999526500702, -0.23443114757537842, -0.23066949844360352, -0.047718025743961334, 0.17690396308898926, -0.04660135135054588, 0.9267584085464478, -0.011361639015376568, 0.22791416943073273, -0.6563927531242371, 0.47624555230140686, 0.4595887362957001, 0.19396549463272095, 0.2369479238986969, -0.47134751081466675, 0.057353660464286804, 0.6728680729866028, -0.7505462169647217, -0.7105869650840759, 0.171423077583313, 0.17273154854774475, 0.3872081935405731, 0.688975989818573, 0.3712095022201538, 0.8134483695030212, -0.36859825253486633, 0.7205445766448975, 0.46831774711608887, -1.156883955001831, 0.6530321836471558, -0.5348249673843384, 0.3084568679332733, 0.030384235084056854, 0.25346481800079346, -0.3686237931251526, -0.47815456986427307, -0.7120041251182556, -0.7082675695419312, 0.7075890898704529, 0.5020294785499573, 0.21102021634578705, 0.06215497851371765, 0.3529846966266632, 0.2700884938240051, 0.5046045184135437, -0.41667744517326355, -0.12274011224508286, -0.5382328033447266, -0.23414121568202972, 0.14272966980934143, 0.10534275323152542, -0.7753307223320007, -0.03666141256690025, 0.6109223961830139, -0.2828255891799927, 0.16203060746192932, 0.18058134615421295, 0.2112346738576889, -0.35690033435821533, 0.17955805361270905, 0.7585998773574829, 0.34959477186203003, 0.21872034668922424, -0.17829781770706177, -0.010478486306965351, -0.0777401328086853, 0.21926459670066833, -0.010804612189531326, -0.35046419501304626, 0.01015410479158163, 0.025464758276939392, 0.793344259262085, -0.3719054162502289, -0.92875736951828, 0.4850116968154907, 0.03198054060339928, -0.330284059047699, -0.10800351202487946, 0.229971244931221, -0.17319566011428833, 0.24790169298648834, 0.30664053559303284, 0.2108471542596817, 0.0672742947936058, -0.40726572275161743, 0.23955492675304413, 0.7683314681053162, -0.07959746569395065, -0.09477230906486511, 0.42018455266952515, -0.06055073440074921, 0.06270286440849304, 0.779335081577301, 0.19752635061740875, -0.30267640948295593, 0.5666925311088562, 0.5793924331665039, 0.4544643759727478, -0.23609434068202972, 0.31119194626808167, 0.45916107296943665, -0.13114799559116364, -0.10389432311058044, 0.08534764498472214, -0.11807046085596085, -0.7267562747001648, -0.11317694932222366, -0.1450367420911789, -0.40483006834983826, 0.4777844250202179, -1.193601369857788, -0.08618280291557312, -0.7508053779602051, -0.05912293121218681, 0.11579523980617523, -0.18641085922718048, -0.6878110766410828, 0.16619540750980377, -0.11575154215097427, 0.8518358469009399, -0.8202232718467712, 0.31725838780403137, -0.03303186595439911, -0.40916717052459717, -1.0418418645858765, 0.22575923800468445, 0.18045969307422638, -0.5247476100921631, 0.4185071885585785, -0.10149386525154114, -0.23667553067207336, -0.21873576939105988, -1.1078031063079834, -0.2733910083770752, 0.7668879628181458, 0.6749457716941833, -0.7653917074203491, 0.14742667973041534, 0.38985246419906616, 0.38744255900382996, -0.4525710940361023, 0.24915765225887299, 0.5651790499687195, 0.37923750281333923, 0.37021875381469727, -0.8074438571929932, 0.2530125379562378, -0.34054356813430786, 0.16316728293895721, 0.06884755194187164, -0.7448852062225342, 0.8246397376060486, 0.10652231425046921, -0.32286959886550903, 0.6431573629379272, 0.33644554018974304, 0.34743183851242065, 0.03869466483592987, 0.4014909863471985, 0.6975270509719849, 0.8927529454231262, -0.32127007842063904, 0.6883161067962646, 0.07956989109516144, 0.30826184153556824, 1.388893485069275, -0.7115940451622009, 0.6726803183555603, 0.4188442826271057, 0.10219355672597885, 0.6027718782424927, 0.3077845871448517, -0.21713978052139282, 0.2918606996536255, 0.34467580914497375, -0.7099883556365967, -0.6242814064025879, -0.3910486102104187, -0.43225738406181335, 0.22599127888679504, 0.3496728837490082, -0.13537324965000153, -0.2938089966773987, -0.13467000424861908, -0.2583332359790802, 0.20454664528369904, 0.01705196127295494, 0.8672877550125122, -0.2548045516014099, -0.8283857107162476, 1.0456243753433228, -0.4786835014820099, 0.12129054218530655, -0.5867820978164673, -0.23179300129413605, -0.4032089114189148, 0.09284046292304993, -0.24869340658187866, -0.8186209201812744, 0.04964316636323929, 0.01860359124839306, -0.4111100435256958, -0.011244137771427631, 0.27276137471199036, -0.3372361660003662, 0.15627819299697876, -0.09443642199039459, 0.3086133897304535, -0.26732704043388367, 0.17549483478069305, -0.6594761610031128, 0.025937378406524658, 0.35406985878944397, -0.08023735880851746, 0.27325448393821716, 0.6180053353309631, 0.28216037154197693, 0.8103688359260559, 0.6923867464065552, -0.22575733065605164, -0.14638133347034454, -0.01587359420955181, 1.2513394355773926, -0.2671244740486145, -0.34184741973876953, -0.41266557574272156, 0.5675805807113647, -0.3551980257034302, -0.1574108898639679, 0.6662834286689758, 0.585481584072113, 0.693753719329834, -0.004016874823719263, 1.2034716606140137, -0.003086171578615904, 0.9185429215431213, -0.40073713660240173, 0.27042701840400696, -0.5625227093696594, 0.524150013923645, -0.3335084319114685, -0.6734165549278259, 0.04769575595855713, 0.36587560176849365, -0.015008724294602871, 0.14864614605903625, 0.27920523285865784, 1.015562653541565, -0.15855281054973602, 0.4529429078102112, 0.306925505399704, 0.5966219305992126, 0.5651078224182129, 0.8897461295127869, 1.0321743488311768, -0.6148284673690796, 0.599395215511322, 0.3792285621166229, -0.04450615867972374, 0.04880011826753616, -0.6089322566986084, -0.6229677200317383, -0.48959124088287354, -0.03341338410973549, -0.8050752878189087, -0.017365897074341774, 0.7859093546867371, 0.593979001045227, -1.102577567100525, 0.015923356637358665, -0.5844458341598511, -0.08922265470027924, 0.14281439781188965, -0.19779525697231293, -0.10866736620664597, -0.0687374621629715, -0.689781665802002, 0.1464715301990509, 0.026361919939517975, 0.4206663966178894, -0.2772829532623291, -0.2823513150215149, 0.2073867917060852, 0.3870316445827484, 0.1685512512922287, 0.6082801222801208, -0.7209495902061462, -0.43594807386398315, -0.12334337830543518, -0.13672369718551636, 0.07421685010194778, 0.8246023654937744, -0.7610569596290588, 0.6106140613555908, 0.43769094347953796, 0.6373977661132812, 0.15229178965091705, 0.15155187249183655, 0.8473198413848877, -0.9290314316749573, 0.16005456447601318, 0.10113999247550964, 0.18227310478687286, 0.31818148493766785, -0.362369179725647, 0.22481200098991394, 0.37724316120147705, -0.40772098302841187, -0.9243304133415222, 0.8372684717178345, -0.9209203124046326, -0.005309035070240498, 0.8431468605995178, -0.48667654395103455, 0.3632011413574219, -0.3372824788093567, -0.2450524866580963, 0.241402268409729, -0.3529190421104431, 0.8817363977432251, 0.8855187892913818, -0.17115604877471924, 0.0809599831700325, -0.358518123626709, 0.3845084011554718, 0.8007344007492065, -0.8087359070777893, 0.5715064406394958, 0.8563920855522156, 0.22840462625026703, 0.24818693101406097, 0.1905139535665512, -0.05659131705760956, 0.24062030017375946, 0.2721461057662964, -0.44395437836647034, 0.17340192198753357, -0.2595081031322479, -0.2388436645269394, 0.1060216873884201, -0.21346764266490936, 0.12579141557216644 ]
http://arxiv.org/abs/2403.12482v2
http://arxiv.org/pdf/2403.12482v2
Embodied LLM Agents Learn to Cooperate in Organized Teams
2024-03-19T06:39:47
2024-05-23T06:29:00
Xudong Guo, Kaixuan Huang, Jiale Liu, Wenhui Fan, Natalia Vélez, Qingyun Wu, Huazheng Wang, Thomas L. Griffiths, Mengdi Wang
cs.AI
cs.AI, cs.CL, cs.CY, cs.MA
Large Language Models (LLMs) have emerged as integral tools for reasoning, planning, and decision-making, drawing upon their extensive world knowledge and proficiency in language-related tasks. LLMs thus hold tremendous potential for natural language interaction within multi-agent systems to foster cooperation. However, LLM agents tend to over-report and comply with any instruction, which may result in information redundancy and confusion in multi-agent cooperation. Inspired by human organizations, this paper introduces a framework that imposes prompt-based organization structures on LLM agents to mitigate these problems. Through a series of experiments with embodied LLM agents and human-agent collaboration, our results highlight the impact of designated leadership on team efficiency, shedding light on the leadership qualities displayed by LLM agents and their spontaneous cooperative behaviors. Further, we harness the potential of LLMs to propose enhanced organizational prompts, via a Criticize-Reflect process, resulting in novel organization structures that reduce communication costs and enhance team efficiency.
[ -0.30019184947013855, -0.6248899698257446, 0.8041048645973206, 0.41316089034080505, -0.03966762125492096, 0.4801345467567444, -0.21122877299785614, -0.5211861729621887, 0.433648943901062, 0.375081330537796, -0.5766737461090088, -0.3917546570301056, -0.4150732159614563, 0.5039609670639038, 0.06718667596578598, 0.5888751149177551, 0.17537333071231842, -0.02337552048265934, -0.22300295531749725, -0.25784122943878174, -0.5384178757667542, -0.3611224889755249, -0.8308007717132568, -0.6176489591598511, 0.7043728828430176, 0.43776845932006836, 1.010377287864685, 0.2818681001663208, 0.12973259389400482, 0.493330180644989, 0.13683129847049713, 0.5581879615783691, -0.4650702178478241, 0.43279391527175903, -0.14677028357982635, -0.5536319613456726, -0.6207110285758972, 0.13803760707378387, 0.7495421171188354, 0.6622929573059082, -0.5285074710845947, -0.3456147015094757, 0.3249152898788452, 0.37185412645339966, -0.2377886027097702, 0.4986996650695801, -0.4022201895713806, -0.09883461147546768, 0.5080153346061707, -0.35771334171295166, -0.49179771542549133, -0.42395615577697754, -0.1022353246808052, -0.8440414071083069, -0.17209942638874054, 0.21400561928749084, 0.3861211836338043, 0.18721993267536163, -0.20509660243988037, -0.3437519371509552, -0.3648707866668701, 0.665810227394104, -0.3226477801799774, -0.003999346401542425, 0.45338746905326843, 0.2574554979801178, -0.4509623050689697, -0.26465290784835815, -0.507777750492096, -0.18896321952342987, -0.17836464941501617, 0.23577679693698883, -0.27401208877563477, 0.16963021457195282, -0.07573293894529343, -0.11423372477293015, -0.33528247475624084, 0.3801545798778534, 0.06106417253613472, 0.10171842575073242, 0.6443758010864258, 0.4541979730129242, 0.6860342025756836, 0.0840170681476593, -0.5213126540184021, -0.18927086889743805, -0.49170684814453125, -0.0012452586088329554, -0.11884888261556625, 0.4505332112312317, -0.13630345463752747, 0.34679096937179565, -0.1579851657152176, 0.30438944697380066, 0.10289718210697174, 0.05468021333217621, -0.03892066702246666, -0.1753205955028534, -0.2811773717403412, 0.10739404708147049, 0.5077652335166931, 0.48283225297927856, 0.12004101276397705, -0.625347912311554, -0.5432085990905762, 0.21689637005329132, 0.3412250578403473, -0.6996521949768066, 0.20451828837394714, -0.04967064782977104, -0.2923468053340912, -0.38000550866127014, 0.1809825599193573, -0.44407224655151367, -0.658065915107727, -0.4138161540031433, 0.5296984314918518, -0.22940020263195038, -0.1611727476119995, -0.09640753269195557, -0.33570173382759094, 0.5208469033241272, 0.8645288944244385, -0.6114580631256104, 0.5020031332969666, 0.5992567539215088, 0.8281358480453491, -0.17830252647399902, -0.6373104453086853, -0.7555195093154907, 0.2830163240432739, -0.623455822467804, 0.5982802510261536, -0.45810753107070923, -0.6558566689491272, 0.06896291673183441, -0.09232305735349655, -0.008054598234593868, -0.5822382569313049, 0.26799100637435913, -0.5135620832443237, -0.005920523311942816, -0.6055334806442261, -0.4422513246536255, 0.09676261991262436, 0.3162172734737396, -0.5861726999282837, 0.657896101474762, 0.07795064151287079, -0.20308811962604523, 0.32549145817756653, -0.7197842001914978, -0.4584859311580658, 0.4463728368282318, -0.43481478095054626, -0.011919545941054821, 0.06164589151740074, -0.05368659272789955, 0.6318621635437012, -0.37050679326057434, 0.26346921920776367, 0.054932817816734314, -0.4828207194805145, 0.33141887187957764, -0.022149456664919853, 0.6789596080780029, 0.1305677890777588, -0.2388024777173996, 0.567579984664917, -0.48786845803260803, 0.07150290906429291, -0.05777239799499512, -0.5658532977104187, -0.3758907914161682, -0.07705939561128616, -0.36316293478012085, 0.12343165278434753, -0.035160306841135025, -0.04444306716322899, 0.6086211204528809, -0.08323440700769424, 0.06303064525127411, 1.0816147327423096, -0.14067485928535461, 1.0238192081451416, -0.779119074344635, 0.6347611546516418, -0.41453397274017334, 0.2816280424594879, -0.040856391191482544, -0.5188649296760559, -0.5006545782089233, -0.62429279088974, -0.8320530652999878, 0.29289522767066956, -1.1211674213409424, 0.45136916637420654, 0.001914895954541862, -0.47529667615890503, -0.3225957751274109, 0.054102249443531036, 0.31321313977241516, 0.4008779227733612, 0.3228548765182495, -0.11784622073173523, -0.4167060852050781, -0.568170964717865, -0.04118605703115463, -0.2347254455089569, 0.05549129098653793, 0.22396865487098694, 0.473719984292984, -0.20927023887634277, 1.017472267150879, -0.12845855951309204, -0.16309617459774017, -0.545233428478241, 0.15512807667255402, 0.3576042950153351, 0.26974403858184814, 0.31541720032691956, -0.7264211177825928, -0.617768406867981, -0.18627269566059113, -0.8198240995407104, -0.3100419342517853, -0.04456901177763939, -0.37461838126182556, 0.2962496876716614, 0.42707759141921997, -0.956571638584137, 0.24537980556488037, 0.31585410237312317, -0.6398020386695862, 0.7122345566749573, -0.27514737844467163, 0.31168264150619507, -0.9039645791053772, -0.11662312597036362, -0.501666784286499, -0.21380415558815002, -0.7263935208320618, -0.06230209395289421, -0.24677728116512299, 0.10354401171207428, -0.19017168879508972, 0.7726226449012756, -0.8228333592414856, -0.2288540154695511, -0.416876882314682, 0.26094505190849304, 0.1036759689450264, 0.5375516414642334, 0.20471446216106415, 0.8119817972183228, 0.45554468035697937, -1.0227246284484863, 0.39485964179039, 0.47708237171173096, -0.2531469762325287, 0.8570937514305115, -0.8550069332122803, 0.09306228160858154, -0.33185720443725586, 0.45852071046829224, -0.6739352941513062, -0.41266730427742004, 0.3981824815273285, -0.31199556589126587, 0.3078711926937103, 0.22989971935749054, -0.7555601000785828, 0.031249338760972023, -0.5723533630371094, 0.08412113785743713, 0.5313630104064941, -0.5522294044494629, 0.7755812406539917, 0.20049382746219635, 0.12852506339550018, -0.4320470988750458, -0.6003657579421997, 0.27742457389831543, -0.1647559106349945, -0.640034556388855, 0.33099886775016785, -0.4252724051475525, -0.5392350554466248, -0.019693074747920036, 0.12675762176513672, -0.08186358213424683, 0.36521029472351074, 0.4326375424861908, 0.34809455275535583, 0.04083915799856186, 0.40415069460868835, -0.3203267753124237, 0.21225224435329437, -0.09458878636360168, -0.053134795278310776, 0.5858176350593567, -0.3238774836063385, -0.21314960718154907, -0.4716668725013733, 0.5852982997894287, 0.6385406851768494, -0.053246404975652695, 1.2389940023422241, 0.11341004073619843, -0.2590184509754181, -0.42036229372024536, -0.5130937695503235, -0.6122291088104248, -0.4930417537689209, 0.23559580743312836, -0.04699871316552162, -0.7240344285964966, 0.7102758288383484, 0.1076287031173706, 0.1992543786764145, -0.011703957803547382, 0.4762926697731018, -0.037956155836582184, 0.8054927587509155, 0.5112903714179993, -0.04951988533139229, 0.46461838483810425, -0.09462403506040573, -0.270956426858902, -0.6753379702568054, -0.49309760332107544, -0.5183740854263306, -0.28408801555633545, -0.29786211252212524, -0.667357325553894, 0.41453036665916443, 0.1378599852323532, -0.26817017793655396, 0.23259606957435608, -0.37462708353996277, 0.40119466185569763, 0.2838582694530487, -0.035929471254348755, 0.38390660285949707, -0.4026728868484497, 0.020528532564640045, 0.3263387978076935, -0.876590371131897, -0.7520942687988281, 0.12281540781259537, 0.0952305793762207, 0.9743666648864746, 0.4276161193847656, 0.8339183926582336, 0.41993269324302673, 0.38771796226501465, -0.7759915590286255, 0.7246584892272949, 0.4937516748905182, -0.4066924750804901, -0.6300762295722961, -0.3802052140235901, -1.1772119998931885, 0.5022223591804504, -0.2746986746788025, -0.5838879942893982, 0.201476588845253, -0.20651493966579437, -0.23324862122535706, 0.019996406510472298, -0.5657921433448792, 0.39309340715408325, -0.06691914796829224, -0.4333396553993225, -0.2810980975627899, -0.49533092975616455, 0.13888446986675262, 0.11013323068618774, 0.3591946065425873, 0.015058018267154694, -0.3912135660648346, 0.38703566789627075, -0.2836710512638092, 1.3070025444030762, -0.010159444995224476, -0.24638400971889496, 0.29819202423095703, 0.011156152002513409, 0.9071487784385681, -0.12960466742515564, -0.27926382422447205, -0.3023349344730377, -0.7507595419883728, -0.34770408272743225, -0.7570436596870422, 0.4403734803199768, -0.6245079040527344, -0.6392657160758972, -0.16262105107307434, -0.4850451350212097, 0.012335757724940777, 0.09896554052829742, 0.19595789909362793, 0.34910649061203003, -0.396350234746933, 0.18324464559555054, 0.5734177231788635, -0.4044245183467865, 0.731963038444519, 0.8316017985343933, -0.07596718519926071, -0.33912891149520874, 0.4354407787322998, 0.1110016331076622, 0.5055667757987976, 0.27950409054756165, 0.10444477945566177, -0.21012064814567566, -0.13570986688137054, 0.011957166716456413, 0.17743563652038574, -0.6927386522293091, -0.342108815908432, -0.45340365171432495, 0.19721420109272003, -0.3639727830886841, -0.5893406271934509, -0.1846800595521927, -0.12882690131664276, -0.44005292654037476, -0.2080136388540268, 0.10339962691068649, 0.9103591442108154, -0.031805623322725296, 0.34998106956481934, -0.8486273884773254, 0.12529268860816956, 0.5004007816314697, 0.17151868343353271, 0.38929954171180725, -0.18272154033184052, -0.3065197467803955, -0.15562297403812408, -0.17852626740932465, -0.9771074056625366, 0.3713800609111786, 0.11064725369215012, 1.1618843078613281, 0.24516715109348297, 0.38234972953796387, 0.36977285146713257, -0.38353052735328674, 0.6049020886421204, 0.4124692976474762, -0.8837401270866394, 0.4099774956703186, -0.38415664434432983, 0.1798153966665268, 0.14771489799022675, 0.11426249891519547, -0.550534725189209, -0.6531981825828552, -0.49403220415115356, -0.7495816349983215, 0.979365885257721, 0.5121273398399353, 0.12590810656547546, -0.24243678152561188, 0.13136976957321167, -0.06314801424741745, 0.3688189685344696, -0.5928949117660522, -0.1357981413602829, 0.12728366255760193, 0.21701820194721222, -0.03587155416607857, -0.19293765723705292, -0.19681121408939362, 0.0937356948852539, 0.4810484051704407, -0.11063988506793976, 0.1622270792722702, 0.5319908857345581, -0.12133307754993439, -0.2399238795042038, 0.5964478254318237, 0.7018653154373169, 0.5396085381507874, 0.25450682640075684, 0.38630279898643494, 0.18068625032901764, 0.14971709251403809, 0.26849332451820374, -0.3821047246456146, 0.19581882655620575, -0.2454097867012024, 0.6307928562164307, 0.6081584692001343, 0.20530475676059723, -0.40174221992492676, 0.29579487442970276, -0.06837555766105652, 0.11855597794055939, -0.061826352030038834, 0.3373588025569916, 0.2985581159591675, 0.6885977983474731, 0.6804690361022949, -0.06763244420289993, 0.0013535472098737955, -1.1418426036834717, 0.2208648920059204, 0.6416431665420532, -0.1371416300535202, -0.36741968989372253, 0.3027651906013489, 0.525778591632843, -0.6361331343650818, 0.31819814443588257, -0.3432758152484894, -0.8194687962532043, 0.7737382650375366, 0.3490291237831116, 0.8812742233276367, -0.48943713307380676, 0.413298636674881, 0.040612418204545975, 0.4055790305137634, -0.381054162979126, 0.014957948587834835, -0.25580447912216187, -0.9067382216453552, -0.24098628759384155, -0.30861997604370117, -0.49049970507621765, -0.4384623169898987, -0.28662338852882385, 0.22636966407299042, -0.4044540226459503, -0.2364117056131363, -0.34105855226516724, 0.12760892510414124, -0.3991340398788452, -0.24960549175739288, 0.028718408197164536, 0.5509395599365234, -0.45233750343322754, 0.687760055065155, 0.7017067074775696, -0.5539707541465759, -0.9668979048728943, -0.3051293194293976, -0.20076067745685577, -0.883040726184845, 0.7609977126121521, 0.34174665808677673, -0.5630273222923279, -0.010386474430561066, -0.8208519816398621, -0.22972972691059113, 1.3081861734390259, 0.42291080951690674, -0.36390170454978943, -0.13621865212917328, -0.24237897992134094, 0.46686869859695435, -0.6192211508750916, 0.21637412905693054, 0.04795590043067932, 0.6933487057685852, 0.1609867811203003, -0.9715302586555481, 0.3025963306427002, -0.11800972372293472, -0.25259122252464294, 0.018953951075673103, -0.7432835698127747, 0.7828927636146545, -0.48734018206596375, -0.33198419213294983, 0.1643219292163849, 0.5032079219818115, 0.5331780910491943, 0.5192268490791321, 0.5995926260948181, -0.060095615684986115, 1.0583176612854004, 0.2494686096906662, 0.9988545775413513, 0.1789911538362503, 0.022981775924563408, 1.0427484512329102, -0.44690221548080444, 0.2769569456577301, 0.49912163615226746, 0.13909666240215302, 0.4757581353187561, -0.07058358937501907, 0.008991815149784088, 0.24828927218914032, 0.21730710566043854, -0.458939790725708, -0.43836161494255066, -0.5650038123130798, -0.15016649663448334, 0.2886822819709778, 0.14378798007965088, -0.15864039957523346, -0.10314548015594482, -0.21086379885673523, -0.05370854586362839, 0.4258692264556885, -0.31080764532089233, 0.7217702269554138, 0.31708037853240967, -0.7816675305366516, 0.4185324013233185, -0.289353609085083, 0.7491215467453003, -0.4542511999607086, -0.3529687523841858, -0.2069357931613922, -0.174265518784523, -0.2868272066116333, -0.6399935483932495, 0.18110594153404236, -0.16983440518379211, -0.21449273824691772, -0.551914632320404, 0.49371352791786194, -0.6436624526977539, 0.18572747707366943, 0.6257298588752747, 0.6058884263038635, -0.01951434835791588, -0.17971475422382355, -0.19182004034519196, 0.035384755581617355, -0.4043862223625183, -0.30327552556991577, 0.21327431499958038, 0.5051740407943726, -0.1149907261133194, 0.8211791515350342, 0.4538167119026184, -0.11541201174259186, -0.18290404975414276, 0.23413658142089844, 0.9118033647537231, -0.6202050447463989, -0.6374923586845398, -0.982555091381073, 0.5051490664482117, -0.35917720198631287, 0.37103134393692017, 0.6650810837745667, 0.17370307445526123, 0.17617779970169067, -0.024616390466690063, 0.40461552143096924, 0.040882378816604614, 0.06389608979225159, -0.43286779522895813, 0.8583177328109741, -0.5345969200134277, 0.5023894309997559, -0.4115404188632965, -0.8006640076637268, -0.10372478514909744, 0.7025278806686401, 0.339183509349823, 0.1527486890554428, 0.3297557234764099, 0.6967705488204956, 0.45346957445144653, -0.17356014251708984, 0.7283962368965149, 0.27145373821258545, 0.6081013083457947, 0.4452008903026581, 1.283305048942566, 0.14857260882854462, 0.42157503962516785, 0.23226463794708252, -0.36566099524497986, -0.2739202082157135, -0.7924876809120178, -1.033068299293518, -0.4469943940639496, -0.2056397795677185, 0.03572661057114601, 0.16976383328437805, 1.3145536184310913, 0.6530597805976868, -0.17739975452423096, -0.3917962312698364, -0.3234803080558777, 0.5640740394592285, -0.018999535590410233, -0.24237191677093506, 0.12001822143793106, -0.5238608717918396, -0.5813087821006775, 0.7278769612312317, 0.37240374088287354, 0.2576276361942291, -0.02442300133407116, -0.7620774507522583, -0.14696647226810455, 0.27356040477752686, 0.8469104170799255, -0.018129631876945496, -0.6498725414276123, -0.15644018352031708, 0.21584105491638184, -0.5766397714614868, -0.011804110370576382, 0.7175341248512268, -0.7316581606864929, 0.1930912435054779, 0.47624894976615906, 0.3788243532180786, -0.22715626657009125, 0.06708936393260956, 0.7373552322387695, -0.747808575630188, -0.0027950096409767866, 0.46217483282089233, 0.20351220667362213, 0.26082873344421387, -0.5719471573829651, 0.6002503633499146, 0.07289217412471771, -0.6289035677909851, -0.7143814563751221, 0.09278148412704468, -0.8772002458572388, -0.4248224198818207, 1.1192938089370728, -0.1272403597831726, -0.13967300951480865, -0.16560013592243195, -0.4308903217315674, 0.5563825368881226, -0.9976552128791809, 0.7841023206710815, 0.6988062858581543, -0.28665050864219666, -0.1134343296289444, -0.26727432012557983, 0.5237507224082947, 0.33513325452804565, -1.101778268814087, 0.16184833645820618, 0.6462198495864868, -0.183838352560997, 0.16120734810829163, 0.959616482257843, 0.2795184850692749, 0.23365455865859985, -0.16735489666461945, 0.12029524892568588, -0.09516239911317825, -0.4469725489616394, -0.2664392292499542, -0.05318763852119446, 0.19628940522670746, -0.09379078447818756 ]
http://arxiv.org/abs/2403.15456v3
http://arxiv.org/pdf/2403.15456v3
WoLF: Wide-scope Large Language Model Framework for CXR Understanding
2024-03-19T06:39:23
2024-03-29T04:38:51
Seil Kang, Donghyun Kim, Junhyeok Kim, Hyo Kyung Lee, Seong Jae Hwang
cs.AI
cs.AI, cs.CL
Significant methodological strides have been made toward Chest X-ray (CXR) understanding via modern vision-language models (VLMs), demonstrating impressive Visual Question Answering (VQA) and CXR report generation abilities. However, existing CXR understanding frameworks still possess several procedural caveats. (1) Previous methods solely use CXR reports, which are insufficient for comprehensive Visual Question Answering (VQA), especially when additional health-related data like medication history and prior diagnoses are needed. (2) Previous methods use raw CXR reports, which are often arbitrarily structured. While modern language models can understand various text formats, restructuring reports for clearer, organized anatomy-based information could enhance their usefulness. (3) Current evaluation methods for CXR-VQA primarily emphasize linguistic correctness, lacking the capability to offer nuanced assessments of the generated answers. In this work, to address the aforementioned caveats, we introduce WoLF, a Wide-scope Large Language Model Framework for CXR understanding. To resolve (1), we capture multi-faceted records of patients, which are utilized for accurate diagnoses in real-world clinical scenarios. Specifically, we adopt the Electronic Health Records (EHR) to generate instruction-following data suited for CXR understanding. Regarding (2), we enhance report generation performance by decoupling knowledge in CXR reports based on anatomical structure even within the attention step via masked attention. To address (3), we introduce an AI-evaluation protocol optimized for assessing the capabilities of LLM. Through extensive experimental validations, WoLF demonstrates superior performance over other models on MIMIC-CXR in the AI-evaluation arena about VQA (up to +9.47%p mean score) and by metrics about report generation (+7.3%p BLEU-1).
[ -0.29112952947616577, -0.5767630338668823, 0.846736490726471, 0.1285768300294876, -0.2709066569805145, -0.1475237011909485, -0.09223823249340057, -0.8790481686592102, -0.13525989651679993, 0.7627606391906738, -0.5693601965904236, -0.5705187320709229, -0.6131078600883484, -0.11147952824831009, -0.44232094287872314, 0.9702135920524597, 0.1240377128124237, 0.2837846577167511, -0.22884155809879303, -0.3345418870449066, -0.40818095207214355, -0.693726658821106, -0.7454209327697754, -0.4505072236061096, 0.5815390944480896, -0.12445596605539322, 0.7661061882972717, 0.9634181261062622, 0.6597563028335571, 0.25661933422088623, -0.24239160120487213, -0.20542971789836884, -0.3385084569454193, -0.1515863537788391, -0.10868377238512039, -0.38885051012039185, -0.5867919325828552, -0.7178528308868408, 0.6725780367851257, 0.7999390959739685, -0.24285925924777985, -0.007049683481454849, -0.08862722665071487, 0.5184629559516907, -0.5481242537498474, 0.20659208297729492, -0.27494585514068604, 0.28951939940452576, 0.11020009219646454, -0.09429244697093964, -0.5427409410476685, -0.09359346330165863, 0.7873752117156982, -0.6384754180908203, 0.2684931457042694, -0.002589902374893427, 0.7657641172409058, 0.20716556906700134, -0.5937977433204651, -0.44281435012817383, -0.7170677781105042, 0.797122061252594, -0.6331787705421448, 0.6827481389045715, 0.1791701316833496, 0.6783270835876465, 0.26424580812454224, -0.9656149744987488, -0.24332600831985474, -0.13871772587299347, -0.26021847128868103, 0.2537963092327118, -0.591997504234314, 0.2997937500476837, 0.23079730570316315, 0.6407508254051208, -0.8958265781402588, 0.08701841533184052, -0.23582515120506287, -0.3620123565196991, 0.6995822787284851, 0.5106390118598938, 0.2832227051258087, -0.17937755584716797, -0.366692453622818, -0.36458486318588257, -0.47146546840667725, 0.10521867126226425, -0.3496900796890259, 0.08999944478273392, -0.28849706053733826, 0.45095038414001465, -0.3590944707393646, 0.9167959094047546, 0.04022634029388428, -0.2914673984050751, 0.24882544577121735, -0.2514972686767578, -0.5072011947631836, 0.11540888994932175, 0.6046682000160217, 0.29253533482551575, -0.24555525183677673, -0.3301336467266083, -0.04973038658499718, 0.08658723533153534, 0.23991219699382782, -0.8264468312263489, -0.027878042310476303, 0.5157684087753296, -0.8598027229309082, -0.18098662793636322, -0.12156996876001358, -0.6457614302635193, -0.445989191532135, -0.33228635787963867, 0.3834415674209595, -0.3857448995113373, -0.19272857904434204, 0.5102729797363281, 0.005461939610540867, 0.7249404191970825, 0.42844635248184204, -0.41726240515708923, 0.45360997319221497, 0.6151175498962402, 0.4443759024143219, 0.006978115066885948, -0.004664899315685034, -0.8592703938484192, -0.08488881587982178, -0.17758892476558685, 0.8249781727790833, -0.34604448080062866, -0.4368899464607239, 0.040238041430711746, 0.16096404194831848, 0.08842216432094574, -0.6334390044212341, 0.3699314594268799, -0.33894798159599304, 0.055854566395282745, -0.16677232086658478, -0.3731500804424286, -0.41431716084480286, 0.5200355648994446, -0.6244881749153137, 0.5329558849334717, 0.08515693247318268, -0.5356622934341431, 0.2539985179901123, -0.2739775776863098, -0.3800942301750183, 0.09384378790855408, -0.31037113070487976, -0.41249993443489075, 0.1605183482170105, 0.5003416538238525, 0.575961172580719, -0.5323255062103271, 0.3801848590373993, 0.0013469945406541228, -0.018822479993104935, 0.22488676011562347, -0.2002507448196411, 0.6450895071029663, 0.010132390074431896, -0.31906023621559143, 0.256067156791687, -0.9703395962715149, 0.3405199348926544, -0.02745971269905567, -0.20742926001548767, -0.22777298092842102, 0.0598117932677269, 0.0870376005768776, 0.21179191768169403, -0.029279373586177826, -0.4700661301612854, -0.00834129098802805, -0.3785143196582794, 0.10301124304533005, 0.38198333978652954, -0.028696652501821518, 0.05569291114807129, -0.5821337699890137, 0.6679967641830444, -0.2415442317724228, 0.2694817781448364, -0.4373261034488678, -0.21367529034614563, -0.7037185430526733, -0.4189487397670746, -0.09584742784500122, 0.5147374868392944, -0.6406057476997375, 0.07808986306190491, -0.24780714511871338, -0.6123329401016235, -0.5257720947265625, -0.19935406744480133, 0.9539681673049927, 0.5865887403488159, 0.38664373755455017, -0.3278965950012207, -0.47207120060920715, -0.9840757846832275, 0.03819599747657776, -0.14821316301822662, -0.152359738945961, 0.675686240196228, 0.24952128529548645, -0.3531892001628876, 0.4767579436302185, -0.6491330862045288, -0.32670584321022034, -0.35615256428718567, 0.2854110598564148, 0.08873817324638367, 0.23107819259166718, 0.38747215270996094, -0.7617670297622681, -0.17248591780662537, 0.3724996745586395, -0.9443631768226624, 0.15644364058971405, -0.23742525279521942, -0.028707673773169518, -0.045115381479263306, 0.5330814123153687, -0.1998792439699173, 0.43963101506233215, 0.736913800239563, -0.2828081548213959, 0.4880673289299011, -0.21713294088840485, 0.10472352057695389, -0.903965175151825, 0.14823122322559357, 0.19313789904117584, -0.3970473110675812, -0.5435479283332825, 0.33700451254844666, 0.04144265875220299, -0.044852543622255325, -0.7093350887298584, 0.7774794101715088, -0.5755909085273743, -0.08241411298513412, -0.015538041479885578, 0.04597928002476692, 0.10597556829452515, 0.34732669591903687, 0.5526298880577087, 0.15775534510612488, 0.7260315418243408, -0.5706731677055359, 0.23759569227695465, 0.42901965975761414, -0.2813482880592346, 0.749862015247345, -0.9726290106773376, 0.17329098284244537, -0.14539580047130585, 0.13901303708553314, -0.682806134223938, -0.14546814560890198, -0.02971675433218479, -0.41920921206474304, 0.4613865315914154, -0.10769559442996979, -0.27015402913093567, -0.41812294721603394, -0.2053973525762558, 0.5677606463432312, 0.43967974185943604, -0.4761267602443695, 0.8850492835044861, 0.23564466834068298, -0.0859256237745285, -0.6474418640136719, -0.7163524627685547, 0.059666600078344345, 0.1194644346833229, -0.7884312272071838, 0.2800746560096741, -0.3052070736885071, -0.4936583638191223, 0.07148324698209763, -0.1259220987558365, -0.3133033514022827, -0.25195395946502686, 0.06016962230205536, 0.32202738523483276, -0.6748965978622437, 0.05493275448679924, -0.13374535739421844, -0.20123106241226196, 0.13980679214000702, -0.1526230126619339, 0.42117708921432495, -0.25945836305618286, -0.5409649610519409, -0.4268617331981659, 0.5055702328681946, 0.7690191268920898, -0.38869571685791016, 0.44339531660079956, 0.3516544699668884, -0.5325417518615723, 0.03379189595580101, -0.5840381383895874, -0.13221612572669983, -0.318684846162796, 0.6649671792984009, -0.2939789295196533, -1.017988920211792, 0.6488224864006042, 0.20452538132667542, 0.017873674631118774, 0.27315109968185425, 0.750745415687561, 0.13521693646907806, 1.445267677307129, 0.9850731492042542, 0.1257910579442978, -0.05213025584816933, -0.23120112717151642, 0.21348749101161957, -1.0937259197235107, -0.37827619910240173, -0.661978006362915, 0.23895405232906342, -0.5039830803871155, -0.2593194842338562, 0.5119352340698242, -0.39478328824043274, 0.014333885163068771, -0.114714615046978, -0.6804291605949402, 0.18497221171855927, -0.007699036039412022, 0.3922523260116577, 0.41052135825157166, -0.21196992695331573, 0.22423085570335388, -0.034712519496679306, -0.6500609517097473, -0.2621053457260132, 0.9938040375709534, 0.4915529489517212, 0.8909814953804016, 0.05697878077626228, 0.4804616868495941, -0.0557064451277256, 0.41002312302589417, -1.1402876377105713, 0.3336394429206848, -0.24928347766399384, -0.5593350529670715, -0.23734785616397858, -0.19052018225193024, -0.9861087799072266, 0.5038429498672485, -0.2054734230041504, -0.8884173631668091, 0.19276434183120728, 0.17925924062728882, -0.5929277539253235, 0.07198277115821838, -0.37886762619018555, 0.8829848766326904, -0.4845781624317169, -0.28208956122398376, -0.12323006242513657, -0.7755555510520935, 0.5378447771072388, -0.13470715284347534, 0.2764870226383209, 0.32160046696662903, 0.024748962372541428, 0.5118024349212646, -0.39383664727211, 0.7918300032615662, 0.11476214230060577, -0.20061998069286346, -0.04831494018435478, -0.02043745666742325, 0.27837520837783813, 0.07429765909910202, -0.16953891515731812, 0.18784557282924652, 0.2784735858440399, -0.23566509783267975, -0.6269639730453491, 0.43846753239631653, -0.6415001749992371, -0.4958755075931549, -0.5528424382209778, -0.8468696475028992, -0.17681626975536346, 0.12308145314455032, 0.3601944148540497, 0.8784801959991455, -0.30090081691741943, 0.40814638137817383, 0.9178549647331238, -0.6364881992340088, -0.09555220603942871, 0.7272188067436218, -0.3425953686237335, -0.3740637004375458, 0.6409100890159607, -0.03174491599202156, 0.34589776396751404, 0.5436473488807678, 0.19819384813308716, -0.33264949917793274, -0.6405260562896729, -0.4691217839717865, 0.49438992142677307, -0.7894837856292725, -0.1166091114282608, -0.8325668573379517, -0.4148257374763489, -0.06856119632720947, -0.5109218955039978, -0.16843733191490173, 0.16345827281475067, 0.020742876455187798, 0.14515629410743713, 0.16651546955108643, 0.7243494391441345, 0.08275187015533447, 0.34968873858451843, -1.0461269617080688, 0.45503392815589905, 0.24082817137241364, 0.2408803105354309, 0.14673300087451935, -0.4240538477897644, -0.1941957026720047, -0.11981334537267685, -0.07863246649503708, -0.6340059638023376, 0.4053088128566742, 0.020762711763381958, 0.7016441226005554, 0.22106079757213593, 0.04441702365875244, 0.8988750576972961, -0.28324946761131287, 0.6798444390296936, 0.2601158618927002, -1.08943772315979, 0.6586898565292358, -0.30333611369132996, 0.575459897518158, 0.22936485707759857, 0.11433359980583191, -0.5007771849632263, -0.5670896172523499, -0.6325040459632874, -1.0215178728103638, 0.7070934176445007, -0.09249313175678253, 0.08921584486961365, 0.13179805874824524, 0.2842267155647278, 0.09637599438428879, -0.005631665233522654, -0.8497858643531799, -0.1299697458744049, 0.08426976948976517, -0.2764032185077667, -0.11259795725345612, -0.18820255994796753, -0.19258636236190796, -0.21532808244228363, 0.45644667744636536, -0.363472580909729, 0.2569729685783386, 0.591995358467102, -0.18090087175369263, -0.06751938909292221, 0.34347307682037354, 0.40909719467163086, 0.9449754357337952, -0.11571159958839417, 0.04832872003316879, 0.24917617440223694, -0.5120026469230652, -0.097737617790699, 0.22710439562797546, 0.17758512496948242, -0.1584351509809494, 0.7931748628616333, 0.6982167959213257, 0.2920733392238617, -0.9688618183135986, 0.5735368132591248, -0.48154667019844055, -0.35958829522132874, -0.13560925424098969, -0.10602862387895584, 0.10857701301574707, 0.44205501675605774, 0.26045936346054077, -0.16784891486167908, 0.2995295524597168, -0.547197163105011, 0.3705848455429077, 0.43748360872268677, -0.7885498404502869, -0.002155009191483259, 0.5427854061126709, -0.1122109517455101, 0.0631326213479042, 0.6541249752044678, 0.1446097493171692, -0.368577778339386, 0.865667462348938, 0.5958432555198669, 0.7535024285316467, -0.15333519876003265, 0.17081190645694733, 0.4212511479854584, 0.2735386788845062, -0.06351324170827866, 0.34642279148101807, -0.11048417538404465, -0.4496867060661316, -0.6358725428581238, -0.481410950422287, -0.4856082499027252, 0.3707186281681061, -1.1799767017364502, 0.317450612783432, -0.4264850318431854, 0.23365896940231323, 0.1870037466287613, -0.24556198716163635, -0.6903576850891113, 0.6223530769348145, 0.22067183256149292, 0.8500086665153503, -0.5679591298103333, 0.7295172810554504, 0.6433421969413757, -0.37013721466064453, -1.0816859006881714, 0.12608978152275085, 0.2605627179145813, -0.9378718733787537, 0.47792044281959534, 0.20507755875587463, -0.15159207582473755, -0.08948231488466263, -0.40084153413772583, -0.7026995420455933, 1.1638282537460327, 0.3835226595401764, -0.8619474768638611, 0.10893481224775314, -0.10463564097881317, 0.7776094079017639, -0.38248899579048157, 0.17581091821193695, 0.49650701880455017, 0.3201867938041687, 0.2656060457229614, -1.137114405632019, 0.2825620770454407, -0.22267520427703857, -0.05804155766963959, 0.1645846664905548, -0.40431055426597595, 0.7039110064506531, -0.47496506571769714, -0.10517184436321259, 0.29871752858161926, 0.3209015130996704, 0.3086228668689728, 0.5422253608703613, 0.36694252490997314, 0.5630452036857605, 0.7264723181724548, -0.023614566773176193, 1.5504140853881836, -0.15337343513965607, 0.22685037553310394, 1.0088075399398804, -0.31060951948165894, 0.7920286655426025, 0.22836795449256897, 0.11684658378362656, 0.3220800757408142, 0.45673057436943054, 0.009506103582680225, 0.3385156989097595, 0.2683584988117218, -0.19866180419921875, -0.34456560015678406, -0.17217566072940826, -0.5212442278862, 0.528215765953064, 0.20773018896579742, -0.4963567554950714, -0.3166368901729584, 0.2625458836555481, 0.13580672442913055, -0.05566771328449249, -0.3951363265514374, 1.0046916007995605, 0.06256336718797684, -0.577439546585083, 0.7823658585548401, -0.3527339696884155, 0.32805997133255005, -0.8185678720474243, -0.18018896877765656, 0.03923354297876358, 0.44534528255462646, -0.2685571610927582, -0.9083995223045349, 0.5181547999382019, 0.09946753829717636, -0.32612231373786926, 0.05321633443236351, 0.5191900730133057, -0.21233658492565155, -0.6278607845306396, 0.5814975500106812, 0.5897067785263062, 0.11289186775684357, -0.09928137809038162, -0.5985511541366577, 0.410410612821579, 0.0985477864742279, -0.08005137741565704, 0.3757384717464447, 0.3182589113712311, -0.218890979886055, 0.7451679110527039, 0.48055097460746765, 0.04525645449757576, -0.29062971472740173, 0.07273527979850769, 0.8420732021331787, -0.4962124526500702, -0.41935092210769653, -0.6244734525680542, 0.7502341270446777, 0.12335477769374847, -0.21606004238128662, 0.3618590235710144, 0.4705263376235962, 0.7676486372947693, 0.2116125077009201, 0.9816901087760925, 0.017328297719359398, 0.346797913312912, -0.6853460073471069, 0.6913449168205261, -0.898953914642334, 0.17244577407836914, -0.3020998239517212, -0.5849692821502686, -0.7271448969841003, 0.5274695158004761, -0.3115396797657013, -0.22416095435619354, 0.8298482894897461, 0.7346230745315552, -0.021227743476629257, -0.12950557470321655, 0.5530476570129395, 0.4744940400123596, 0.38829776644706726, 0.7741279602050781, 0.6802535653114319, -0.38058915734291077, 0.8104379773139954, -0.1728907823562622, -0.5108303427696228, -0.18312744796276093, -0.8159659504890442, -0.7135331630706787, -0.5218183994293213, -0.4896271824836731, -0.34871336817741394, 0.15710297226905823, 0.5437552332878113, 1.0611931085586548, -0.5043665170669556, -0.178849995136261, 0.24496760964393616, -0.11644042283296585, -0.33917108178138733, -0.17602595686912537, 0.6378554701805115, -0.056724272668361664, -0.33203238248825073, 0.10897146910429001, 0.44550853967666626, -0.12598420679569244, -0.23899675905704498, -0.2308298498392105, 0.30101650953292847, -0.013935143128037453, 0.898936927318573, 0.39617255330085754, -0.9541001915931702, -0.28860601782798767, 0.3935224115848541, -0.1268519014120102, 0.25428134202957153, 0.7564919590950012, -0.8577798008918762, 0.7809261679649353, 0.20867885649204254, 0.7589542865753174, 0.6900625228881836, -0.28311479091644287, 0.5866497159004211, -0.21820226311683655, -0.006716339848935604, 0.3073386251926422, 0.39785075187683105, 0.3918551504611969, -0.632104754447937, 0.21877750754356384, -0.22258807718753815, -0.4684760868549347, -0.8546299934387207, 0.21614961326122284, -1.3527534008026123, -0.3335620164871216, 0.9333939552307129, -0.17337322235107422, -0.28590309619903564, -0.2725130021572113, -0.5180582404136658, -0.0030709956772625446, 0.014210080727934837, 0.6056375503540039, 0.4325230121612549, -0.5627031326293945, -0.45438575744628906, -0.7023909091949463, 0.15297269821166992, 0.28980642557144165, -1.0470974445343018, 0.056023165583610535, 0.6259155869483948, 0.2842606008052826, 0.13124266266822815, 0.7888670563697815, -0.4853726029396057, 0.6946753263473511, -0.1803119033575058, 0.11803419142961502, 0.23662802577018738, -0.10484469681978226, -0.562995195388794, 0.11115958541631699, 0.19461670517921448, -0.052030667662620544 ]
http://arxiv.org/abs/2403.12469v1
http://arxiv.org/pdf/2403.12469v1
When Do "More Contexts" Help with Sarcasm Recognition?
2024-03-19T06:01:02
2024-03-19T06:01:02
Ojas Nimase, Sanghyun Hong
cs.CL
cs.CL, cs.LG
Sarcasm recognition is challenging because it needs an understanding of the true intention, which is opposite to or different from the literal meaning of the words. Prior work has addressed this challenge by developing a series of methods that provide richer $contexts$, e.g., sentiment or cultural nuances, to models. While shown to be effective individually, no study has systematically evaluated their collective effectiveness. As a result, it remains unclear to what extent additional contexts can improve sarcasm recognition. In this work, we explore the improvements that existing methods bring by incorporating more contexts into a model. To this end, we develop a framework where we can integrate multiple contextual cues and test different approaches. In evaluation with four approaches on three sarcasm recognition benchmarks, we achieve existing state-of-the-art performances and also demonstrate the benefits of sequentially adding more contexts. We also identify inherent drawbacks of using more contexts, highlighting that in the pursuit of even better results, the model may need to adopt societal biases.
[ -0.4880276918411255, -0.3223314881324768, 0.5170600414276123, 0.3106861412525177, -0.431059867143631, -0.15990319848060608, -0.3326912522315979, -0.5387499332427979, 0.11095492541790009, -0.006766959093511105, -0.5736712217330933, -0.05648372694849968, -0.6019585132598877, 0.48413360118865967, -0.17662744224071503, 1.022539734840393, 0.1704680323600769, 0.2679574489593506, 0.023051612079143524, -0.3387959599494934, -0.7617949843406677, -0.5551120638847351, -0.6800034642219543, -0.23561392724514008, 0.5083801746368408, 0.3531005084514618, 0.2705746591091156, 0.027499951422214508, 0.6060762405395508, 0.24327926337718964, -0.14403904974460602, -0.06859558820724487, -0.37239906191825867, 0.12031567841768265, 0.12942789494991302, -0.2868717312812805, -0.08016534894704819, 0.19051872193813324, 0.5088174343109131, 0.32121121883392334, 0.3510969579219818, 0.2120356410741806, -0.27898502349853516, 0.1423255354166031, -0.7834165096282959, 0.030648576095700264, -0.3143579661846161, 0.23426896333694458, 0.011469821445643902, -0.31651419401168823, -0.4224647283554077, -0.25574105978012085, 0.37489163875579834, -0.2733129560947418, -0.19629575312137604, -0.30729636549949646, 0.4869047999382019, 0.15401576459407806, -1.0779598951339722, -0.025043560191988945, -0.5029001832008362, 0.6360127329826355, -0.5995315909385681, 0.239167258143425, -0.08173742890357971, 0.6091288924217224, 0.25051042437553406, -0.7439301013946533, -0.412818968296051, -0.10856889933347702, -0.24534404277801514, 0.2581733465194702, 0.07220469415187836, -0.18834984302520752, 0.634563148021698, 0.010158187709748745, -0.17934125661849976, -0.5623034834861755, -0.17654326558113098, -0.3516291081905365, 0.304450124502182, 0.13777223229408264, 0.21659162640571594, -0.3029271960258484, -0.6741555333137512, 0.02828550525009632, -0.4540162980556488, 0.3830771744251251, -0.028281373903155327, 0.1687866747379303, 0.0012586504453793168, 0.06377940624952316, -0.16655464470386505, 0.2918190658092499, -0.20957036316394806, -0.14495182037353516, 0.19312651455402374, -0.3708817660808563, -0.209904283285141, -0.2040625661611557, -0.00910421833395958, 0.4526616334915161, 0.3004191219806671, 0.07565587759017944, -0.08726172894239426, 0.16452467441558838, 0.1680043637752533, -0.7751865386962891, -0.12683536112308502, -0.263651967048645, -0.27812978625297546, -0.15275180339813232, 0.17192865908145905, -0.26281967759132385, -0.6007782220840454, -0.5181861519813538, 0.13113842904567719, -0.48208823800086975, -0.265857994556427, -0.02407611533999443, -1.2414238452911377, 0.523922324180603, 0.770253598690033, -0.27919790148735046, 0.15190105140209198, 0.6435786485671997, 0.7626060247421265, 0.2621745467185974, -0.30420130491256714, -0.4335031509399414, 0.046806707978248596, -0.19507932662963867, 0.6861390471458435, -0.8004685640335083, -0.1884600669145584, -0.3013070523738861, -0.10975753515958786, -0.09614066779613495, -0.24469971656799316, 0.7785177826881409, -0.41807711124420166, 0.1137232705950737, -1.0503543615341187, -0.22904296219348907, -0.40948814153671265, 0.45946216583251953, -0.8031920194625854, 1.11874520778656, 0.29100993275642395, -0.8577315807342529, 0.49992865324020386, -0.5553085207939148, -0.8340199589729309, 0.23995272815227509, -0.2573898136615753, 0.2850404679775238, 0.7797305583953857, 0.18736660480499268, 0.25264623761177063, -0.2505572736263275, 0.5858497023582458, -0.24558855593204498, -0.6663957238197327, 0.7595774531364441, -0.9557494521141052, 1.139482021331787, -0.03137676417827606, -0.7021141052246094, -0.2772979140281677, -0.2420407086610794, -0.10715297609567642, -0.16105374693870544, -0.25024840235710144, -0.5055451989173889, -0.37559011578559875, 0.30981335043907166, 0.48319149017333984, 0.05796961858868599, -0.18858426809310913, -0.16729086637496948, -0.2008546143770218, 0.5969027280807495, 0.7774971127510071, -0.31945404410362244, 0.42948952317237854, -0.22209195792675018, 0.43704888224601746, 0.18667520582675934, 0.3343193233013153, -0.29508262872695923, -0.4777012765407562, -0.5577353835105896, -0.37446457147598267, 0.06409938633441925, 0.43188101053237915, -0.6064387559890747, 0.16435571014881134, -0.25242936611175537, -0.03880711644887924, -0.00299812201410532, -0.23569877445697784, 0.5179414749145508, 0.7057878375053406, 0.38504403829574585, -0.681074321269989, -0.8443688750267029, -0.6145663857460022, -0.6041245460510254, 0.003101478097960353, 0.41108086705207825, 0.8180736899375916, 0.6877203583717346, -0.042743269354104996, 1.0296066999435425, -0.4919778108596802, -0.08403719216585159, -0.08368700742721558, 0.10609915852546692, -0.22985689342021942, 0.21470694243907928, 0.8527705073356628, -1.0137195587158203, -0.6242373585700989, 0.04547630250453949, -0.6777973175048828, 0.2310308814048767, -0.009076493792235851, -0.17905224859714508, 0.042032018303871155, 0.4755617678165436, -0.48465874791145325, 0.4764672815799713, 0.057660285383462906, -0.08939480781555176, 0.6824426651000977, 0.5469845533370972, 0.38479378819465637, -0.7654448747634888, 0.14309024810791016, 0.07466986775398254, -0.27176424860954285, -0.838434636592865, 0.22982777655124664, 0.09930837899446487, 0.05906958878040314, -0.5356054306030273, 1.0551261901855469, -0.5202591419219971, -0.13133925199508667, -0.13555102050304413, 0.18539828062057495, 0.18987968564033508, 0.214900940656662, 0.03544369339942932, 0.5938018560409546, 0.5296962261199951, -0.45267269015312195, 0.46531081199645996, -0.2902901768684387, -0.2983018159866333, 1.0743684768676758, -0.3459753096103668, -0.02578793466091156, -0.2483985722064972, 1.219635248184204, -1.277638554573059, -0.7596577405929565, 0.3281688392162323, -0.5808484554290771, 0.12933143973350525, -0.009159346111118793, -0.08536181598901749, -0.6107168793678284, -0.6775099635124207, 0.8793428540229797, 0.4081076979637146, -0.7957044839859009, 0.6509042978286743, 0.10400024056434631, 0.13931293785572052, -1.062070369720459, -1.1572260856628418, 0.4554387331008911, -0.7251102924346924, -0.5542964935302734, 0.2547107934951782, -0.0009189036791212857, -0.20736287534236908, -0.35236114263534546, -0.30897316336631775, -0.20638003945350647, 0.33884766697883606, -0.07774288952350616, -0.10945381969213486, -0.25609076023101807, 0.29375338554382324, 0.10008101910352707, -0.04505029693245888, 0.04007713496685028, -0.30733340978622437, 0.22553445398807526, -0.06279589980840683, -0.013491985388100147, -0.9020661115646362, 0.40111541748046875, 0.3293289244174957, 0.06526026129722595, 0.505851149559021, 1.0285354852676392, -0.707417905330658, -0.0018891035579144955, -0.8338704705238342, -0.37318116426467896, -0.43578121066093445, 0.08815515786409378, -0.4040144681930542, -0.8666028380393982, 0.6559332609176636, -0.2767912447452545, -0.33660927414894104, 0.08045060187578201, 0.10245237499475479, 0.10876954346895218, 0.9436753392219543, 0.5080034732818604, -0.1089935302734375, 0.7806035876274109, 0.08593900501728058, 0.43850260972976685, -1.2205981016159058, -0.07992768287658691, -0.40847745537757874, -0.5136219263076782, -0.09028346091508865, -0.550743579864502, 0.45624953508377075, -0.12611080706119537, -0.018007325008511543, 0.41056546568870544, -0.21297712624073029, 0.7265046834945679, 0.26150423288345337, 0.27238327264785767, 0.2889968156814575, 0.023054122924804688, 0.017459029331803322, -0.038394421339035034, -0.5298385620117188, -0.4116809666156769, 0.5643531084060669, 0.058200936764478683, 0.346316397190094, 0.5224076509475708, 0.6423454880714417, 0.09767470508813858, 0.854925811290741, -0.8352882266044617, 0.5281676054000854, -0.10329240560531616, -1.0575382709503174, -0.10611363500356674, -0.5197885036468506, -0.3988373577594757, 0.30204638838768005, 0.2865599989891052, -0.8256294131278992, 0.22349250316619873, 0.30635493993759155, -0.49285417795181274, -0.37049296498298645, -1.074268102645874, 0.7225155234336853, -0.1475687026977539, -0.17584440112113953, 0.17607161402702332, -1.078465461730957, 0.5871443748474121, 0.40010976791381836, 0.29793694615364075, -0.024666499346494675, -0.04926704987883568, 0.1319507211446762, 0.09714469313621521, 1.19064199924469, -0.3410344421863556, 0.009962176904082298, 0.4153740108013153, -0.3582010269165039, 0.3269355893135071, 0.4772082567214966, -0.11735698580741882, -0.1821443736553192, -0.130462646484375, -0.20687894523143768, -0.6056997776031494, 0.6658658981323242, -0.3450232148170471, -0.4391152262687683, -0.19136644899845123, -0.4960157573223114, 0.04497627168893814, 0.029072405770421028, 0.39790627360343933, 0.7806248068809509, -0.49517688155174255, 0.00691114692017436, 0.32137012481689453, -0.02612355537712574, 0.41922980546951294, -0.0028594844043254852, 0.37932831048965454, -0.4305942952632904, 0.6115675568580627, 0.04837021976709366, -0.022634021937847137, 0.2468319684267044, 0.29326000809669495, -0.43991783261299133, 0.10513775050640106, -0.30616921186447144, 0.012031951919198036, -1.450927495956421, -0.40996214747428894, -0.6171844005584717, 0.07196101546287537, -1.058748722076416, -0.426796019077301, 0.3299992084503174, -0.6546136736869812, -0.39806148409843445, 0.13976900279521942, 0.47163575887680054, 0.47543415427207947, -0.02413986623287201, 0.5533309578895569, -0.30660149455070496, -0.06891875714063644, 0.2937600016593933, 0.27813488245010376, 0.30990710854530334, -0.6476700901985168, -0.005784378852695227, -0.11962830275297165, -0.022368162870407104, -1.1121433973312378, 0.11349975317716599, 0.22856909036636353, 0.457425594329834, 0.3513886630535126, -0.05710214003920555, 1.0640610456466675, -0.2873898446559906, 0.6775446534156799, 0.034843310713768005, -1.201040267944336, 0.29265260696411133, -0.11093096435070038, 0.3962950110435486, 0.8393915891647339, 0.4406893849372864, -0.6367053985595703, -0.04459334909915924, -0.504308819770813, -0.7872021198272705, 0.829975426197052, -0.0471474714577198, 0.8241498470306396, -0.18414416909217834, 0.6391842365264893, -0.049032166600227356, 0.3070635199546814, -1.061596393585205, 0.045290783047676086, -0.07597625255584717, -0.20464466512203217, -0.08062640577554703, -0.12003067135810852, -0.6495271325111389, -0.46991074085235596, 0.3070463538169861, -0.42657068371772766, 0.13346603512763977, 0.10428735613822937, -0.5506837368011475, 0.2931562662124634, 0.3111596405506134, 0.6743074655532837, 0.2508417069911957, 0.33759209513664246, 0.43411314487457275, 0.4093446135520935, -0.17838154733181, -0.09208305925130844, -0.16965161263942719, 0.006082773208618164, -0.02105797454714775, 0.3554348051548004, 0.8703149557113647, 0.2435280680656433, -0.5460479855537415, 0.8617439270019531, -0.28510037064552307, 0.13751961290836334, -0.41815951466560364, 0.07046327739953995, 0.016756724566221237, 0.4369152784347534, 0.27958449721336365, 0.30430275201797485, 0.7500267624855042, -0.7699335813522339, 0.0048819901421666145, 0.6800301671028137, -0.4414481818675995, -0.29337239265441895, -0.1000557690858841, 0.34833839535713196, -0.1010463684797287, 0.22378236055374146, -0.4110666811466217, -1.1060253381729126, 1.0926865339279175, 0.6270264387130737, 0.7252400517463684, -0.18539680540561676, 0.32585564255714417, 0.3596026301383972, 0.23652775585651398, -0.4628802239894867, 0.27622294425964355, -0.49537137150764465, -0.5064481496810913, -0.12447381764650345, -0.1479967087507248, -0.07694797962903976, -0.34917786717414856, -0.4630313515663147, 0.5661066174507141, -0.4655962288379669, -0.5767343640327454, -0.19070498645305634, -0.3972747325897217, -0.7823445796966553, 0.3544886112213135, -0.021093333140015602, 0.780168354511261, -1.0491875410079956, 0.14558154344558716, 0.9494959712028503, -0.21098709106445312, -0.6942902207374573, 0.44575610756874084, 0.4335688650608063, -0.5141711831092834, 0.5729082226753235, 0.9444218873977661, -0.392691433429718, 0.07127559185028076, -0.5441190600395203, -0.8144731521606445, 0.9971693754196167, 0.3368063271045685, -0.11151805520057678, 0.1169843077659607, -0.5206693410873413, 0.7709086537361145, -0.6229636073112488, 0.835823655128479, 0.8429871797561646, 0.7722651958465576, 0.2586440443992615, -0.5863240957260132, 0.4153677523136139, -0.19745174050331116, 0.024582326412200928, -0.06785692274570465, -0.6229576468467712, 0.8154531121253967, -0.27882909774780273, -0.46102175116539, 0.06734127551317215, 0.27904340624809265, 0.023468516767024994, 0.7640923857688904, 0.4023168087005615, 0.2707849144935608, 0.660098671913147, -0.2846401333808899, 1.0267293453216553, -0.018408749252557755, 0.34616732597351074, 1.2959957122802734, -0.43190059065818787, 0.5115641951560974, 0.39414089918136597, 0.19589000940322876, 0.5583956241607666, 0.5672868490219116, 0.32373809814453125, 0.2799002230167389, 0.0988074317574501, -0.43561869859695435, -0.05957462266087532, -0.494526207447052, -0.5277742147445679, 0.3028098940849304, 0.3323290944099426, -0.4413524568080902, -0.016636516898870468, 0.1938031166791916, 0.1377527415752411, -0.24503478407859802, 0.015483048744499683, 0.6767716407775879, 0.172526016831398, -0.8344685435295105, 0.32744109630584717, -0.028186701238155365, 0.8030019402503967, 0.06448525190353394, 0.23326025903224945, -0.31901347637176514, -0.026090800762176514, -0.4565456211566925, -0.31710660457611084, 0.2152653932571411, 0.08503197878599167, -0.02250712551176548, 0.09315099567174911, 0.8878123164176941, -0.08389129489660263, -0.27767419815063477, 0.4083000123500824, 0.3415694832801819, 0.07147949188947678, -0.07776004821062088, -0.5711676478385925, 0.13395437598228455, -0.48262831568717957, -0.16594815254211426, -0.02042699046432972, 0.9480370283126831, -0.21418176591396332, 0.1529359370470047, 0.29391583800315857, -0.4096094071865082, 0.1325528770685196, 0.6453917026519775, 0.8625528216362, -0.7201231718063354, -0.4945371150970459, -0.8324689269065857, 0.6390537023544312, -0.49141618609428406, -0.6600900292396545, 0.6171438694000244, 0.03499618172645569, 0.8025349974632263, 0.1222895085811615, 0.8869003057479858, -0.21737274527549744, -0.19245901703834534, -0.19042909145355225, -0.13861514627933502, -0.9003759622573853, 0.2312326580286026, -0.6394342184066772, -0.6976916790008545, -0.6821619868278503, 0.8619160056114197, -0.30912700295448303, 0.7797902822494507, 0.9534727334976196, 0.3633195459842682, -0.14164191484451294, 0.44836461544036865, -0.015023401938378811, -0.15136198699474335, 0.08025775849819183, 0.5941660404205322, 1.1679776906967163, -0.35164380073547363, 0.3345772624015808, -0.057382091879844666, -0.45842987298965454, -0.500068724155426, -0.9095571041107178, -0.9169260859489441, -0.2587890625, -0.055480290204286575, -0.21988573670387268, 0.08131778985261917, 0.8849216103553772, 0.7206236124038696, -0.2971576750278473, 0.08191356062889099, -0.11990030854940414, 0.07103265821933746, -0.34969428181648254, -0.29534852504730225, -0.31407904624938965, -0.3195517659187317, -0.475267618894577, 0.018027614802122116, 0.4951935410499573, -0.06765782833099365, -0.035826247185468674, 0.030887367203831673, -0.03645169362425804, 0.2655177116394043, 0.9646839499473572, 0.0916549414396286, -0.6818501353263855, -0.545488715171814, 0.2599984407424927, -0.24696244299411774, 0.0659477636218071, 1.2677075862884521, -0.6743744611740112, 0.2206798642873764, 0.7599964737892151, 0.664406418800354, 0.12434306740760803, 0.22584904730319977, 0.3002159297466278, -1.021551251411438, 0.06494095176458359, 0.3126188814640045, 0.38165900111198425, 0.5666055083274841, -0.708361804485321, 0.47552236914634705, 0.47737178206443787, -0.12452496588230133, -1.049641489982605, 0.739904522895813, -0.7381064295768738, -0.3998459577560425, 1.2029650211334229, -0.06948739290237427, -0.042723171412944794, -0.11800653487443924, -0.3929808735847473, 0.31351161003112793, -0.5811206698417664, 0.6695881485939026, 1.0184139013290405, -0.4227863848209381, -0.060109466314315796, -0.3795524835586548, 0.4051949381828308, 0.771592915058136, -0.8529413938522339, 0.023476483300328255, 0.8004142045974731, 0.20052476227283478, 0.09045033156871796, 1.0663059949874878, -0.11078689247369766, 0.6908503174781799, -0.20680178701877594, -0.6253970861434937, 0.5933300256729126, -0.9255635738372803, -0.7350618839263916, -0.15168555080890656, -0.12213131040334702, 0.73714280128479 ]
http://arxiv.org/abs/2403.12468v1
http://arxiv.org/pdf/2403.12468v1
CrossTune: Black-Box Few-Shot Classification with Label Enhancement
2024-03-19T05:52:56
2024-03-19T05:52:56
Danqing Luo, Chen Zhang, Yan Zhang, Haizhou Li
cs.CL
cs.CL
Training or finetuning large-scale language models (LLMs) requires substantial computation resources, motivating recent efforts to explore parameter-efficient adaptation to downstream tasks. One approach is to treat these models as black boxes and use forward passes (Inference APIs) to interact with them. Current research focuses on adapting these black-box models to downstream tasks using gradient-free prompt optimization, but this often involves an expensive process of searching task-specific prompts. Therefore, we are motivated to study black-box language model adaptation without prompt search. Specifically, we introduce a label-enhanced cross-attention network called CrossTune, which models the semantic relatedness between the input text sequence and task-specific label descriptions. Its effectiveness is examined in the context of few-shot text classification. To improve the generalization of CrossTune, we utilize ChatGPT to generate additional training data through in-context learning. A switch mechanism is implemented to exclude low-quality ChatGPT-generated data. Through extensive experiments on seven benchmark text classification datasets, we demonstrate that our proposed approach outperforms the previous state-of-the-art gradient-free black-box tuning method by 5.7% on average. Even without using ChatGPT-augmented data, CrossTune performs better or comparably than previous black-box tuning methods, suggesting the effectiveness of our approach.
[ -0.41207417845726013, -0.7397305369377136, 0.2608345150947571, -0.0013340205186977983, -0.30716055631637573, -0.09583549201488495, -0.32158806920051575, -0.49531087279319763, -0.19107414782047272, 0.44336166977882385, -0.7436807155609131, -0.46137598156929016, -0.5675727725028992, 0.051370199769735336, -0.30761969089508057, 1.3026093244552612, 0.08363417536020279, -0.18624483048915863, 0.10365419089794159, -0.10015948861837387, -0.4917237460613251, -0.21838261187076569, -0.9200447797775269, -0.38344183564186096, 0.7014913558959961, 0.3329795002937317, 0.5265636444091797, 0.5106586217880249, 0.10764002799987793, 0.20541393756866455, -0.024239229038357735, -0.08742222189903259, -0.8184918165206909, -0.06667841970920563, -0.2966000735759735, -0.5931996703147888, -0.1539720743894577, -0.09422159194946289, 0.4839760363101959, 0.3675234615802765, 0.3263256549835205, 0.1430685669183731, 0.47032344341278076, 0.31673508882522583, -0.7394562363624573, -0.02165018767118454, -0.6833202838897705, 0.26187020540237427, -0.15710897743701935, -0.32070744037628174, -0.44021058082580566, -0.08457694947719574, 0.3343331813812256, -0.6314213871955872, 0.43383708596229553, 0.10161824524402618, 0.7390446066856384, 0.5552041530609131, -0.1054789274930954, 0.009044098667800426, -0.56389319896698, 0.8203920722007751, -0.4298768639564514, 0.6168004870414734, 0.302219957113266, 0.3211613595485687, -0.045139044523239136, -0.6802617907524109, -0.3010082542896271, 0.07384965568780899, 0.0007326476043090224, 0.23852013051509857, -0.601713240146637, 0.10565327852964401, 0.2630406320095062, 0.10576328635215759, -0.6718741655349731, 0.29087457060813904, -0.22552955150604248, -0.260623574256897, 0.3609073758125305, -0.0916532650589943, 0.22363388538360596, -0.06401064246892929, -0.5434898734092712, -0.13485834002494812, -0.46901845932006836, 0.1932404339313507, -0.03466152027249336, 0.37707626819610596, -0.34536075592041016, 0.39324885606765747, -0.26506951451301575, 0.7507823705673218, 0.22325778007507324, 0.20581969618797302, 0.00592243205755949, -0.5104943513870239, -0.42198294401168823, 0.27328774333000183, 0.8306410908699036, 0.21581166982650757, 0.22044768929481506, -0.3784331679344177, -0.0171426460146904, 0.12880364060401917, 0.2280636578798294, -0.9845089912414551, -0.1720687747001648, 0.05557772144675255, -0.2320076823234558, -0.18075577914714813, -0.38428443670272827, -0.7956293821334839, -0.21180643141269684, -0.26512476801872253, 0.5032371878623962, -0.16222499310970306, 0.11822232604026794, -0.0924508199095726, -0.11110467463731766, 0.09371261298656464, 0.34656769037246704, -0.6060619354248047, 0.18339939415454865, 0.6079530119895935, 0.9619057178497314, -0.34656810760498047, -0.2506602108478546, -0.9583418965339661, 0.10846323519945145, -0.18269406259059906, 0.9670228362083435, -0.6868628263473511, -0.29688599705696106, -0.22614438831806183, 0.17676591873168945, 0.014908983372151852, -0.316161185503006, 0.5465289354324341, -0.3574484586715698, 0.09410884976387024, 0.11618495732545853, -0.40730008482933044, -0.20403562486171722, 0.24630457162857056, -0.5054306387901306, 1.103630542755127, 0.00897976104170084, -0.6927409172058105, 0.40883541107177734, -0.555531919002533, -0.20203463733196259, 0.13517126441001892, -0.07019973546266556, -0.6360490918159485, 0.017419811338186264, 0.44041916728019714, 0.6142585277557373, -0.4484095275402069, -0.027717845514416695, -0.5617460012435913, -0.4114249646663666, 0.3498712182044983, -0.5211424827575684, 0.6825053095817566, -0.11905942112207413, -0.4286539852619171, 0.14600591361522675, -0.8314052224159241, 0.17036320269107819, -0.3516390025615692, -0.24347950518131256, -0.48148131370544434, -0.48346078395843506, 0.14505544304847717, 0.39276814460754395, -0.3575718104839325, -0.5631840229034424, 0.06180162355303764, -0.4493291676044464, 0.15412546694278717, 0.5035672187805176, 0.028755268082022667, 0.7150220274925232, -0.3274588882923126, 0.7122361063957214, -0.00743924779817462, -0.03890727087855339, 0.019551096484065056, -0.6410772800445557, -0.7766693830490112, -0.18699568510055542, 0.5330249667167664, 0.841688334941864, -0.9130958914756775, 0.1825236827135086, -0.2123463749885559, -0.399323433637619, -0.715403139591217, 0.47698211669921875, 0.5202756524085999, 0.47092223167419434, 0.4981083273887634, -0.23738230764865875, -0.44945913553237915, -0.7536548972129822, -0.3707483410835266, 0.3221677243709564, -0.14446352422237396, 0.43758952617645264, 0.29938504099845886, -0.38975319266319275, 0.7670598030090332, -0.24364244937896729, -0.31463226675987244, -0.232539564371109, 0.18813404440879822, 0.011490244418382645, 0.3627731204032898, 0.4126755893230438, -0.3805033564567566, -0.5072181224822998, 0.11799115687608719, -0.45019403100013733, -0.2822006046772003, -0.24436789751052856, -0.4753772020339966, 0.10526732355356216, 0.5274848341941833, -0.2902112305164337, 0.6512109637260437, 0.6664453744888306, -0.235040083527565, 0.16950663924217224, 0.19948656857013702, -0.23436841368675232, -0.8430571556091309, -0.2096307873725891, 0.4195687770843506, -0.4045356214046478, -0.6428593993186951, -0.3894234597682953, 0.021468063816428185, -0.33238866925239563, -0.5634240508079529, 0.9198015332221985, -0.3253810703754425, -0.13118526339530945, -0.5155355930328369, 0.18204182386398315, -0.05076878145337105, 0.7519963979721069, 0.28470343351364136, 0.5917130708694458, 0.7315773963928223, -0.7299481630325317, 0.27992889285087585, 0.19383814930915833, -0.1206316351890564, 0.7719899415969849, -0.5026014447212219, 0.23528900742530823, -0.1720384657382965, 0.3046213388442993, -0.9624751806259155, 0.22464464604854584, 0.631292462348938, -0.36608561873435974, 0.3846682608127594, -0.390616238117218, -0.027016999199986458, -0.02036702260375023, -0.17280258238315582, 0.5048261284828186, 0.308594673871994, -0.6808586716651917, 0.4372914135456085, -0.10890233516693115, -0.16013316810131073, -0.49314016103744507, -0.9664298295974731, -0.05536625534296036, -0.1306818425655365, -0.23304229974746704, 0.24026064574718475, 0.04202616587281227, 0.2604001462459564, 0.1401197761297226, -0.20259831845760345, -0.007215512450784445, -0.011614450253546238, 0.07755767554044724, 0.07219094038009644, -0.3512066900730133, 0.3653218746185303, 0.1926916539669037, -0.2514137029647827, -0.20817700028419495, -0.6118581295013428, 0.08542689681053162, 0.14830616116523743, 0.22588248550891876, -0.47784173488616943, 0.19647403061389923, -0.11651411652565002, -0.16151276230812073, 0.3473816514015198, 0.9368054270744324, -0.20976485311985016, -0.8580853343009949, -0.15798769891262054, -0.33898627758026123, -0.44790369272232056, 0.34426188468933105, -0.5128176212310791, -0.9487707614898682, 0.07021815329790115, -0.0334198884665966, -0.10499899834394455, 0.05339206010103226, 0.4124326705932617, -0.07980432361364365, 0.41108232736587524, 0.6601670384407043, 0.034506309777498245, 0.7141919732093811, -0.20015105605125427, 0.04754820466041565, -0.7966338992118835, 0.1384076178073883, -0.5548290610313416, -0.5038398504257202, -0.6883903741836548, -0.5052530169487, 0.2006485015153885, 0.06764409691095352, -0.07678242772817612, 0.3975399434566498, -0.557073175907135, 0.44681212306022644, 0.5563752055168152, 0.5079125165939331, 0.2338479608297348, 0.19590963423252106, 0.10355037450790405, -0.08123447000980377, -1.1405948400497437, -0.03709423542022705, 1.1084115505218506, 0.371185302734375, 0.9968332648277283, -0.18720854818820953, 0.7193296551704407, 0.10557730495929718, 0.48888590931892395, -0.9205173850059509, 0.3505299985408783, -0.24837227165699005, -0.5550515651702881, -0.5301358699798584, -0.5632160305976868, -1.1496745347976685, 0.3098980784416199, -0.3387467861175537, -0.7870223522186279, 0.3899732232093811, 0.14256995916366577, -0.4202316403388977, 0.07005404680967331, -0.7345505952835083, 1.056095838546753, -0.41282781958580017, -0.7454630732536316, 0.09602908790111542, -0.37227901816368103, 0.3804799020290375, -0.217984139919281, 0.044143710285425186, -0.022640494629740715, -0.2016596496105194, 0.6977624297142029, -0.23327875137329102, 1.2575037479400635, 0.020684819668531418, -0.15074971318244934, 0.25122034549713135, 0.002912964904680848, 0.5189867615699768, 0.15492962300777435, 0.188457190990448, 0.10258642584085464, -0.16763243079185486, -0.4772542417049408, -0.7642679810523987, 0.6810938715934753, -0.6767295598983765, -0.39888426661491394, -0.24893368780612946, -0.7238889932632446, -0.338733971118927, 0.21208259463310242, 0.4360319972038269, 0.4689565598964691, 0.06750422716140747, 0.16999489068984985, 0.6257856488227844, -0.3281836211681366, 0.5840598344802856, 0.14030176401138306, -0.03606903925538063, -0.5237522721290588, 0.8719567060470581, 0.021496325731277466, 0.3838823735713959, 0.6245406270027161, 0.33323436975479126, -0.5356571078300476, -0.3465126156806946, -0.484801322221756, 0.11271494626998901, -0.7375728487968445, -0.31475040316581726, -0.6222290992736816, -0.0645671933889389, -0.2759348154067993, -0.09784502536058426, -0.23158004879951477, -0.3503893315792084, -0.42938587069511414, 0.1022767573595047, 0.5592041015625, 0.2641226053237915, 0.2580305337905884, 0.580927312374115, -0.7923836708068848, 0.5806588530540466, 0.4941890835762024, 0.6768924593925476, -0.03798520192503929, -0.6582752466201782, -0.27516448497772217, -0.12626174092292786, -0.33477774262428284, -0.7541927099227905, 0.07839547842741013, 0.35407280921936035, 0.6175687313079834, -0.057520199567079544, 0.14155305922031403, 0.6271869540214539, -0.35003045201301575, 0.15672741830348969, 0.17881783843040466, -0.9392837285995483, 0.44238656759262085, -0.08419249951839447, 0.6613652110099792, 0.43504491448402405, 0.5003613829612732, -0.45794183015823364, -0.27497848868370056, -0.4722141921520233, -0.3606027662754059, 0.9184125661849976, 0.30080899596214294, -0.07440359890460968, 0.52005535364151, 0.11293118447065353, 0.26780375838279724, 0.02503254823386669, -1.011188268661499, -0.11738571524620056, -0.4666037857532501, -0.29318973422050476, -0.38495108485221863, 0.1364780068397522, 0.10944872349500656, -0.10844980925321579, 0.7019361853599548, -0.3894166946411133, 0.18449340760707855, 0.2500016391277313, -0.3064185678958893, -0.0017578157130628824, 0.6183215379714966, 0.3345460593700409, 0.18301653861999512, 0.05723737180233002, -0.01114128902554512, 0.30740389227867126, -0.2652966380119324, 0.32713544368743896, 0.4468913674354553, -0.47580504417419434, 0.2562348544597626, 0.10344266146421432, 1.3330562114715576, 0.6151667237281799, -0.20848152041435242, 0.2681390643119812, 0.006689961533993483, -0.13982819020748138, 0.4243878126144409, 0.1693444550037384, -0.10892242193222046, 0.5560432076454163, 0.04321080818772316, -0.023683112114667892, 0.2175590842962265, -0.4393664598464966, 0.37746623158454895, 0.40539753437042236, -0.6799097061157227, -0.08254796266555786, 0.6502554416656494, 0.25843435525894165, -0.35706061124801636, 0.15412607789039612, -0.07829096168279648, -0.2740214765071869, 0.3434641659259796, 0.5430291891098022, 1.2184264659881592, -0.11745502799749374, 0.34082064032554626, 0.2601538598537445, 0.3639053702354431, 0.05592099577188492, 0.07505035400390625, -0.3640349209308624, -0.6596349477767944, -0.5771416425704956, -0.5697802305221558, -0.43944403529167175, 0.2627768814563751, -0.2894805371761322, 0.5894368290901184, -0.47322773933410645, -0.23162291944026947, 0.2588014304637909, -0.1951897144317627, -0.8382998704910278, 0.3355008065700531, 0.25225797295570374, 0.7846826910972595, -0.7060467600822449, 0.928134560585022, 0.680027961730957, -0.2289213091135025, -0.4685794711112976, 0.02089555189013481, -0.15635086596012115, -0.3970087170600891, 0.5117850303649902, 0.17352020740509033, -0.055762819945812225, 0.2531340420246124, -0.36934560537338257, -0.7040742039680481, 0.6552685499191284, 0.20884867012500763, -0.9645602703094482, -0.028163770213723183, 0.2225319892168045, 0.4497028589248657, -0.26378241181373596, 0.35060739517211914, 0.5025348663330078, 0.36719176173210144, -0.008814983069896698, -0.8956738114356995, 0.16194520890712738, -0.005030317232012749, 0.20349855720996857, 0.19551226496696472, -0.5216313004493713, 0.23577171564102173, 0.02735937386751175, -0.1386389136314392, -0.1920894831418991, 0.5086619853973389, 0.2480728179216385, 0.577430784702301, 0.44299569725990295, 0.5039722919464111, 0.5355773568153381, -0.11566723883152008, 1.0110297203063965, 0.1505925953388214, 0.2745875418186188, 1.2079418897628784, -0.10878001153469086, 0.6152698397636414, 0.37112724781036377, -0.08185213059186935, 0.23209963738918304, 0.5682604908943176, -0.16643159091472626, 0.4502983093261719, 0.2058335691690445, -0.04050205275416374, -0.3259128928184509, -0.05435904115438461, -0.16640974581241608, 0.3746393918991089, 0.3229677975177765, -0.2886016368865967, -0.44123971462249756, 0.4032187759876251, -0.2768658399581909, -0.1666135936975479, -0.5500087738037109, 0.9176567792892456, 0.35394638776779175, -0.6202909350395203, 1.001251220703125, -0.3706994354724884, 0.8618448972702026, -0.24031811952590942, 0.14176909625530243, -0.08154597878456116, 0.2959703207015991, -0.2983729839324951, -0.7268775105476379, 0.015511791221797466, 0.012562519870698452, -0.15217801928520203, -0.062151044607162476, 0.8524190783500671, -0.769559383392334, -0.6541677117347717, 0.3702298402786255, 0.38070857524871826, 0.10857542604207993, 0.013766329735517502, -0.8942676782608032, 0.0033711346331983805, -0.06577138602733612, -0.08332354575395584, 0.22209513187408447, 0.6398797035217285, -0.2624590992927551, 0.5871860384941101, 0.5245685577392578, 0.051549121737480164, 0.39872801303863525, 0.044565487653017044, 0.6252169609069824, -0.7951228618621826, -0.6872357130050659, -0.60029137134552, 0.39205077290534973, 0.13578654825687408, -0.4602104127407074, 0.5568234920501709, 0.5646107196807861, 1.1117953062057495, -0.15558360517024994, 1.0149903297424316, 0.49370431900024414, 0.49819520115852356, -0.7014796733856201, 0.4040146470069885, -0.6140123009681702, 0.040863893926143646, -0.4734433591365814, -0.9689257740974426, -0.35256651043891907, 0.1748068928718567, -0.4679422974586487, 0.04385657608509064, 0.7108228802680969, 0.8766762018203735, -0.5308533906936646, -0.03184632211923599, 0.3186168968677521, -0.031915660947561264, -0.07605151832103729, 0.8490514755249023, 0.8108649849891663, -0.681251585483551, 1.1273943185806274, -0.4011136293411255, -0.20194751024246216, -0.22876344621181488, -0.7700336575508118, -1.2323051691055298, -0.15866033732891083, -0.6360126733779907, -0.33848464488983154, 0.25816598534584045, 0.6118021607398987, 0.9023453593254089, -0.8890438675880432, -0.18403908610343933, -0.08495654165744781, 0.19338493049144745, -0.2458169013261795, -0.1816079020500183, 0.14860005676746368, -0.5117536783218384, -0.7871180772781372, 0.23292124271392822, 0.25604379177093506, 0.29200395941734314, 0.14399510622024536, -0.11668398231267929, -0.07173462212085724, -0.1807537078857422, 0.5848323702812195, 0.4318939745426178, -0.6338221430778503, -0.019574202597141266, -0.09595166891813278, -0.025354821234941483, 0.2524828314781189, 0.7900757789611816, -0.8125702738761902, 0.43568477034568787, 0.5221767425537109, 1.2452847957611084, 0.8507912755012512, 0.05220708250999451, 0.529418408870697, -0.8658349514007568, 0.3680287301540375, 0.0908345952630043, 0.040218986570835114, 0.30540433526039124, -0.3926795423030853, 0.30089861154556274, 0.21626724302768707, -0.4183068871498108, -0.6011564135551453, 0.1404561549425125, -1.0133460760116577, -0.3775143027305603, 1.2384626865386963, 0.11652712523937225, -0.4335267245769501, -0.22094395756721497, -0.3583446443080902, 0.4126160740852356, -0.6285113096237183, 0.4381153881549835, 0.4633083641529083, -0.0893016830086708, -0.9453245997428894, -0.5689861178398132, 0.6637557744979858, 0.4819875955581665, -1.0068820714950562, -0.030696328729391098, 0.2807850241661072, 0.18061859905719757, -0.08812494575977325, 0.23478510975837708, 0.24624758958816528, 0.5128422379493713, -0.21274274587631226, -0.0570782870054245, 0.07190845906734467, -0.24258781969547272, -0.6181828379631042, 0.08858316391706467, -0.19840234518051147, -0.417267769575119 ]
http://arxiv.org/abs/2403.12416v3
http://arxiv.org/pdf/2403.12416v3
Eye-gaze Guided Multi-modal Alignment for Medical Representation Learning
2024-03-19T03:59:14
2024-06-14T03:18:18
Chong Ma, Hanqi Jiang, Wenting Chen, Yiwei Li, Zihao Wu, Xiaowei Yu, Zhengliang Liu, Lei Guo, Dajiang Zhu, Tuo Zhang, Dinggang Shen, Tianming Liu, Xiang Li
cs.CV
cs.CV, cs.CL, 68T07, I.2.0; I.4.0; I.5.4; I.7.0
In the medical multi-modal frameworks, the alignment of cross-modality features presents a significant challenge. However, existing works have learned features that are implicitly aligned from the data, without considering the explicit relationships in the medical context. This data-reliance may lead to low generalization of the learned alignment relationships. In this work, we propose the Eye-gaze Guided Multi-modal Alignment (EGMA) framework to harness eye-gaze data for better alignment of medical visual and textual features. We explore the natural auxiliary role of radiologists' eye-gaze data in aligning medical images and text, and introduce a novel approach by using eye-gaze data, collected synchronously by radiologists during diagnostic evaluations. We conduct downstream tasks of image classification and image-text retrieval on four medical datasets, where EGMA achieved state-of-the-art performance and stronger generalization across different datasets. Additionally, we explore the impact of varying amounts of eye-gaze data on model performance, highlighting the feasibility and utility of integrating this auxiliary data into multi-modal alignment framework.
[ -0.23546549677848816, -0.5483512878417969, 0.9647734761238098, -0.3462843596935272, -0.3978622257709503, -0.23533958196640015, 0.011671822518110275, -0.8588812947273254, 0.5028634071350098, 0.25490492582321167, -0.4127033054828644, -0.3974369168281555, -0.6678901314735413, 0.0514768622815609, 0.0857125073671341, 0.660525918006897, -0.2359979748725891, 0.5949781537055969, -0.5605488419532776, -0.4261586368083954, -0.4953392446041107, -0.03543940559029579, -0.09733851999044418, -0.2951395809650421, 0.5255774259567261, 0.1945457011461258, 0.7433543801307678, 0.8043546080589294, 0.6909957528114319, 0.17019903659820557, 0.5241466760635376, 0.42397063970565796, -0.24425125122070312, 0.12929126620292664, 0.1112513393163681, -0.40424129366874695, -0.30028536915779114, 0.02229384146630764, 0.44602206349372864, 0.7036369442939758, -0.1398976743221283, 0.2005283385515213, -0.1715768575668335, 0.8029503226280212, -0.5746858716011047, 0.3657682240009308, -0.13268953561782837, 0.1170484647154808, -0.19375957548618317, -0.4542393982410431, -0.36520370841026306, -0.29533058404922485, 0.5850528478622437, -0.9599565267562866, 0.00225046812556684, 0.2995487451553345, 1.051433801651001, 0.6107137203216553, -0.5512128472328186, -0.18390144407749176, -0.2862887382507324, 0.5548987984657288, -0.19575956463813782, 0.5313541293144226, 0.1734664887189865, 0.4719090759754181, 0.3689523935317993, -0.37030601501464844, -0.1386597752571106, -0.15372058749198914, -0.3315187096595764, 0.4344910681247711, 0.16644807159900665, -0.019866030663251877, 0.26372310519218445, 0.21900108456611633, -0.7458723187446594, -0.19719837605953217, -0.21766364574432373, 0.02547464519739151, 0.22466331720352173, 0.22030001878738403, 0.381490558385849, -0.12873521447181702, -0.7705973982810974, -0.013294046744704247, -0.5264960527420044, -0.13395316898822784, -0.37382417917251587, -0.07245174050331116, -0.14780877530574799, 0.7990161776542664, -0.21856465935707092, 0.9390828609466553, 0.3686266541481018, -0.2675015926361084, 0.6517448425292969, -0.3574922978878021, -0.34821978211402893, -0.010173729620873928, 0.5693895220756531, 0.44472017884254456, -0.0665288046002388, 0.011315418407320976, 0.10214060544967651, 0.23433926701545715, 0.47110217809677124, -0.4628290832042694, -0.054717034101486206, -0.005656907334923744, -0.7976974248886108, -0.3250548243522644, 0.013959704898297787, -0.8665382266044617, -0.3133501410484314, -0.8363844156265259, 0.644503653049469, -0.49406513571739197, -0.007361173164099455, 0.15347786247730255, 0.20387430489063263, 0.2599690854549408, 0.43371284008026123, -0.767740786075592, -0.09129153192043304, 0.29700300097465515, 0.8161404728889465, -0.07246086746454239, -0.22466711699962616, -0.41341060400009155, 0.4085458219051361, -0.20102091133594513, 0.5092995762825012, -0.7745616436004639, 0.18880018591880798, -0.01903081312775612, 0.22146810591220856, -0.4307941496372223, -0.40086162090301514, 0.14602264761924744, -0.40880441665649414, 0.4423629939556122, -0.19585222005844116, -0.28511813282966614, -0.48290252685546875, 0.3425387442111969, -0.7842139005661011, 0.8098893165588379, 0.24191662669181824, -0.6233240365982056, 0.6203316450119019, -0.4107864797115326, -0.3854990303516388, -0.03360648453235626, -0.620248019695282, -0.7558332681655884, 0.1599843055009842, 0.5582272410392761, 0.6597800850868225, -0.41395968198776245, 0.360495001077652, -0.3365967571735382, -0.1268177479505539, 0.2567928433418274, -0.10072661936283112, 0.5218541026115417, -0.05466262623667717, -0.3912060558795929, -0.11084387451410294, -0.6552520990371704, 0.003954423125833273, 0.10059121251106262, -0.012930369935929775, -0.5682276487350464, 0.13027067482471466, 0.0870085135102272, 0.36787766218185425, 0.20077809691429138, -0.377936452627182, 0.18357209861278534, 0.0693749487400055, -0.19269758462905884, 0.3627813458442688, -0.10357556492090225, 0.2662757933139801, -0.5536763668060303, 0.42768779397010803, 0.16227594017982483, 0.4925462007522583, -0.20906303822994232, -0.5884786248207092, -0.5863642692565918, -0.4840102791786194, 0.12474396824836731, 0.46148884296417236, -1.0603379011154175, -0.036216989159584045, -0.38996484875679016, -0.2688642740249634, -0.6683184504508972, -0.03419738635420799, 0.6300560832023621, 0.7177771925926208, 0.5185471773147583, -0.5761810541152954, -0.3367285430431366, -1.0224242210388184, -0.03483886644244194, 0.07024222612380981, 0.05354473367333412, 0.6665788888931274, -0.013202724047005177, -0.41436079144477844, 0.4680063724517822, -0.6005036234855652, -0.6510993838310242, 0.3094700872898102, 0.2867807447910309, -0.13754957914352417, 0.4186495244503021, 0.6607572436332703, -0.9619348049163818, -0.5624520778656006, 0.3082442581653595, -1.047741413116455, -0.2663792669773102, -0.2969781458377838, -0.2219407856464386, 0.10031375288963318, 0.2865298092365265, -0.19716162979602814, 0.22283293306827545, 0.6609703302383423, -0.2244328260421753, 0.1993270367383957, -0.06564074754714966, 0.6170883774757385, -1.224510669708252, 0.26527494192123413, 0.3521713316440582, -0.5486851334571838, -0.5587376356124878, 0.06669383496046066, 0.3561302125453949, -0.10210495442152023, -0.10511838644742966, -0.07530821859836578, -0.9625871181488037, -0.024030273780226707, -0.00009265566768590361, 0.1748771220445633, 0.09089222550392151, 0.3205893635749817, 0.27185913920402527, 0.46535375714302063, 0.8424242734909058, -0.3266026973724365, 0.23898130655288696, 0.3979385793209076, -0.1825726330280304, 1.0478156805038452, -0.16857792437076569, 0.10137873888015747, -0.13132502138614655, -0.1813669353723526, -0.42688316106796265, -0.4433581829071045, 0.22841081023216248, -0.45845457911491394, 0.8094121217727661, -0.09739481657743454, -0.011840421706438065, 0.07225386053323746, -0.20922940969467163, 0.6774284243583679, 0.1338401436805725, -0.44477197527885437, 0.9609588384628296, 0.5654378533363342, -0.08352702111005783, -0.8403788208961487, -0.5896141529083252, 0.11446965485811234, 0.08549942076206207, -0.6367402076721191, 0.5506131649017334, 0.18147967755794525, 0.1401779055595398, 0.10154762119054794, 0.02150091715157032, 0.014922035858035088, -0.398093044757843, 0.3604881763458252, 0.8620316982269287, -0.35276055335998535, 0.12120294570922852, -0.21544557809829712, -0.14137569069862366, -0.20799973607063293, -0.023568391799926758, 0.2340916097164154, 0.11871834844350815, -0.6052826046943665, -0.3938327133655548, 0.4526706635951996, 0.8064086437225342, -0.05865127965807915, 0.46783018112182617, 0.6014974117279053, -0.5479214191436768, 0.24899037182331085, -0.7707181572914124, 0.03778689354658127, -0.35093390941619873, 0.39949771761894226, -0.09917964786291122, -0.7602458596229553, 0.14022721350193024, -0.09461736679077148, -0.19780239462852478, 0.13763035833835602, 0.5426270961761475, -0.2052038311958313, 1.1963348388671875, 0.8249322175979614, 0.23714645206928253, 0.6096251606941223, 0.16532526910305023, -0.05571800470352173, -1.2023967504501343, -0.784795343875885, -0.06117585301399231, -0.20633672177791595, -0.12671098113059998, -0.6465680599212646, 0.5337993502616882, -0.3761851489543915, 0.3908846974372864, 0.19976384937763214, -0.5772485136985779, 0.24234384298324585, 0.1791616678237915, 0.7454798221588135, 0.2053273618221283, 0.03265354409813881, -0.19358667731285095, -0.2636890113353729, -0.4527600109577179, -0.2687769830226898, 1.1611149311065674, 0.12078750133514404, 0.8602932691574097, -0.09148605167865753, 0.5523095726966858, -0.07024989277124405, 0.36070525646209717, -0.8817286491394043, 0.22288930416107178, -0.08712280541658401, -0.44159433245658875, -0.009751160629093647, -0.2901991307735443, -0.5695822834968567, 0.42496657371520996, -0.4453209638595581, -0.24348968267440796, 0.6079598665237427, 0.09288663417100906, -0.4060874581336975, -0.09624714404344559, -0.6827970147132874, 0.8440716862678528, -0.4884413778781891, -0.4600258767604828, -0.10727207362651825, -0.7306432723999023, 0.15599356591701508, -0.24696291983127594, 0.04132256656885147, 0.011664184741675854, -0.4045122265815735, 0.22320598363876343, -0.17935851216316223, 0.9018748998641968, -0.07308685779571533, 0.2508094906806946, -0.330522745847702, -0.25049570202827454, 0.2998964488506317, -0.06099824979901314, 0.5250707268714905, 0.0770810917019844, 0.0969730094075203, -0.19749481976032257, -0.31633734703063965, 0.4914645850658417, -0.5167056918144226, -0.41327688097953796, -0.5628658533096313, -0.523425817489624, -0.5130335092544556, 0.13801859319210052, 0.04439466446638107, 0.5744666457176208, -0.2540125846862793, 0.26401159167289734, 0.6749697923660278, 0.09553834795951843, 0.08468440920114517, 0.5780761241912842, -0.13753949105739594, -0.4964207708835602, 0.8701041340827942, 0.15419591963291168, 0.33021336793899536, 0.46206334233283997, -0.15882423520088196, -0.04294214025139809, -0.42135900259017944, -0.8061450719833374, 0.3284521698951721, -0.6634463667869568, -0.23068271577358246, -0.5452356338500977, 0.12549376487731934, -0.17000852525234222, -0.3263016939163208, -0.11549482494592667, -0.03254587575793266, -0.38710230588912964, 0.3331681787967682, 0.09527651220560074, 0.5828976631164551, 0.08109863102436066, -0.06547233462333679, -0.8023325204849243, 0.602051317691803, 0.32883965969085693, 0.4147495925426483, -0.34114953875541687, -0.0661279559135437, -0.5160483717918396, -0.2327401489019394, -0.18940651416778564, -0.9606989622116089, 0.3604913353919983, 0.2875842750072479, 0.6407520174980164, 0.6763385534286499, -0.27337291836738586, 0.9173150062561035, -0.5984117388725281, 0.44468045234680176, 0.7140640616416931, -0.6594511270523071, 0.3963780105113983, -0.13205783069133759, 0.28290504217147827, 0.6301908493041992, 0.3775584101676941, -0.3849948048591614, -0.14054745435714722, -0.142569437623024, -0.5241264700889587, 0.7112613320350647, -0.009608699008822441, -0.4721086621284485, 0.26881784200668335, 0.3062452971935272, 0.23753678798675537, 0.11587293446063995, -0.6347020864486694, -0.3319799602031708, -0.16078037023544312, -0.6667554378509521, 0.1209995448589325, 0.006619641091674566, -0.5222018957138062, -0.20752759277820587, 0.5180069804191589, -0.6574569940567017, 0.22439220547676086, 0.3533320426940918, -0.5518532991409302, -0.3347533941268921, -0.04967895895242691, 0.47943636775016785, 0.6679301857948303, 0.09674771875143051, 0.045111946761608124, -0.1720193475484848, -0.8685874938964844, 0.09385441988706589, 0.2486402839422226, -0.23310160636901855, 0.010374560952186584, -0.08546750247478485, 0.6977410316467285, 0.4657285213470459, -0.5202255845069885, 0.699720561504364, -0.07960410416126251, -0.05955163761973381, 0.013606984168291092, -0.2594231069087982, -0.009313410148024559, 0.43486130237579346, 0.4537557065486908, 0.5210268497467041, 0.3197965919971466, -0.3096294403076172, 0.4067775011062622, 0.4978230893611908, -0.5975469946861267, -0.2221101075410843, 0.6352795958518982, 0.01636250503361225, 0.4132004678249359, 0.1860993206501007, 0.5055200457572937, -0.33630290627479553, 0.5577205419540405, 0.3293960392475128, 0.8232712149620056, -0.18704324960708618, 0.29876139760017395, 0.297615110874176, 0.3095066249370575, -0.26236024498939514, 0.30397695302963257, -0.00635209446772933, -0.3880762755870819, -0.4886844754219055, -0.23106202483177185, -0.45032986998558044, -0.3292238414287567, -0.9729411005973816, 0.4581964313983917, -0.11735276877880096, -0.3030954897403717, 0.08035049587488174, -0.4563930928707123, -0.639865517616272, 0.4233510494232178, 0.43904101848602295, 0.20532368123531342, -0.7446169257164001, 0.6677846312522888, 0.8076122999191284, -0.6534627079963684, -0.6210182905197144, 0.13425029814243317, 0.282120019197464, -0.9740718603134155, 0.25678369402885437, 0.48808950185775757, -0.3014940619468689, -0.22687329351902008, -0.43295907974243164, -0.9891714453697205, 1.3315930366516113, 0.40210670232772827, -0.7224360704421997, -0.1856473684310913, -0.00001254409107787069, 0.40334662795066833, -0.7266001105308533, 0.004437598399817944, 0.11991694569587708, 0.2623969614505768, 0.07761488854885101, -0.9491822719573975, 0.3577362895011902, -0.26395055651664734, -0.13048239052295685, 0.2679062783718109, -0.7554237246513367, 0.4857228696346283, -0.3384672999382019, -0.31478413939476013, -0.3361162841320038, 0.14834052324295044, -0.046570684760808945, 0.4460934102535248, 0.3495389521121979, 0.7623301148414612, 0.46498557925224304, -0.23275037109851837, 0.7963333129882812, -0.32526907324790955, 0.2973267436027527, 0.7757241725921631, -0.36668482422828674, 0.5023820400238037, 0.6985582113265991, 0.02765405736863613, 0.4278987944126129, 0.5305834412574768, -0.059870991855859756, 0.5643231272697449, -0.6199154257774353, -0.08654775470495224, -0.4655032157897949, 0.025713985785841942, -0.5796238780021667, 0.46268534660339355, 0.370958149433136, -0.7294784784317017, 0.002912803553044796, 0.2580544054508209, -0.31151047348976135, -0.37719547748565674, -0.23563699424266815, 1.0570886135101318, 0.17238612473011017, -0.4859776794910431, 0.6183648109436035, -0.6787896156311035, 0.5815110206604004, -0.4817260801792145, -0.16794472932815552, 0.4725111126899719, 0.013930213637650013, -0.30614137649536133, -0.37402814626693726, 0.10844249278306961, -0.47131600975990295, -0.4216836988925934, -0.02262364700436592, 0.4266156852245331, -0.5961699485778809, -0.2670619487762451, 0.23829185962677002, 0.4498450756072998, -0.12400925159454346, 0.26283401250839233, -0.6823452711105347, -0.03541073203086853, 0.07589267194271088, -0.23067834973335266, 0.623407244682312, 0.25897833704948425, 0.1573476344347, 0.40852728486061096, 0.42803654074668884, 0.12166925519704819, 0.05406809225678444, 0.072214275598526, 0.9693958163261414, -0.43496912717819214, -0.20737360417842865, -0.45477157831192017, 0.30815625190734863, -0.12860877811908722, -0.24316184222698212, 0.44905170798301697, 0.48880594968795776, 0.712831974029541, -0.13918688893318176, 0.4637746214866638, -0.187895268201828, 0.37337547540664673, -0.8764508962631226, 0.6956347823143005, -0.8895748257637024, -0.2662283778190613, -0.25222888588905334, -0.694462776184082, -0.44201231002807617, 0.6816133856773376, -0.04272668808698654, -0.03699950873851776, 1.0980862379074097, 0.6834511756896973, -0.12120240926742554, -0.09680961817502975, 0.568392276763916, -0.19673772156238556, -0.14802545309066772, 0.6221980452537537, 0.40952935814857483, -0.36442846059799194, 0.3395025432109833, -0.28126487135887146, -0.4986107647418976, -0.5302048921585083, -0.6125160455703735, -0.7378358244895935, -0.6709672212600708, -0.48839694261550903, -0.12236551940441132, -0.17159219086170197, 0.8172367811203003, 0.7819941639900208, -0.5881562232971191, 0.34294405579566956, 0.5085822939872742, -0.4581848382949829, -0.5274733304977417, -0.143060564994812, 0.4385736286640167, -0.3337036371231079, -0.8022341132164001, 0.3148193359375, 0.6904177069664001, -0.0022552632726728916, -0.22809597849845886, 0.04213537648320198, -0.25776535272598267, -0.16546276211738586, 0.43389272689819336, 0.2551141381263733, -0.6758165955543518, -0.24944362044334412, 0.26149362325668335, -0.40507978200912476, 0.39194387197494507, 0.998375415802002, -0.7538474202156067, 1.1768598556518555, 0.2807653248310089, 0.5699824094772339, 0.42543500661849976, 0.07408032566308975, 0.531287670135498, -0.3764785826206207, -0.0369575135409832, 0.2644723057746887, 0.6765785217285156, 0.3554801642894745, -0.6366270184516907, 0.38253939151763916, 0.24083803594112396, -0.5638768076896667, -0.5845108032226562, 0.1505320966243744, -1.2857438325881958, -0.04454173147678375, 0.7579757571220398, -0.068120077252388, -0.2916855812072754, -0.5419225692749023, -0.3558689057826996, 0.34801846742630005, -0.13262079656124115, 0.832984447479248, 0.411704421043396, -0.38806426525115967, -0.43789732456207275, -0.6661900281906128, 0.44850194454193115, 0.5166590213775635, -0.8170391321182251, -0.17206978797912598, 1.0907502174377441, 0.39135077595710754, 0.31846165657043457, 0.4072742760181427, -0.630483090877533, 0.6715458035469055, -0.22941520810127258, 0.11748474836349487, -0.20451828837394714, -0.35287827253341675, -0.37436729669570923, 0.23123762011528015, -0.3452741801738739, -0.3810354471206665 ]
http://arxiv.org/abs/2403.12413v1
http://arxiv.org/pdf/2403.12413v1
Third-Party Language Model Performance Prediction from Instruction
2024-03-19T03:53:47
2024-03-19T03:53:47
Rahul Nadkarni, Yizhong Wang, Noah A. Smith
cs.CL
cs.CL
Language model-based instruction-following systems have lately shown increasing performance on many benchmark tasks, demonstrating the capability of adapting to a broad variety of instructions. However, such systems are often not designed to be transparent about their limitations; a user may easily prompt a model with an instruction without any idea of whether the responses should be expected to be accurate, or if the system is even capable of performing the task. We propose a third party performance prediction framework, where a separate model is trained to predict the metric resulting from evaluating an instruction-following system on a task while assuming access only to its inputs and outputs at inference time. We perform this analysis with a variety of both open and closed instruction-following models as well as multiple performance predictors, and examine the effect of various factors such as model size, number of training tasks, and prompt format. Our findings indicate that third-party performance prediction is very challenging, and much work remains in developing predictors that can automatically reveal the limitations of modern instruction-following natural language processing systems.
[ -0.09458135068416595, -0.44428297877311707, 0.6488469839096069, 0.20809899270534515, 0.2325262874364853, -0.23275133967399597, -0.1676514893770218, -0.7569373846054077, -0.2900269329547882, 0.7719990015029907, -0.6868773698806763, -0.3383277952671051, -0.6331530213356018, -0.03619438037276268, -0.15809963643550873, 0.6487881541252136, -0.020947033539414406, 0.23584868013858795, -0.33302557468414307, 0.08063904196023941, -0.8343505263328552, -0.4609167277812958, -0.2650085985660553, -0.3546035587787628, 0.1890125423669815, 0.6290156245231628, 0.5562047362327576, 0.7485942840576172, 0.35858434438705444, 0.2600576877593994, 0.18321484327316284, -0.19974860548973083, -0.16570696234703064, 0.09028641134500504, 0.025642599910497665, -0.759856641292572, -0.4343511462211609, -0.049871258437633514, 0.8558386564254761, 0.7990087270736694, 0.009035896509885788, 0.1442086100578308, 0.36131101846694946, 0.683553159236908, -0.8030887246131897, 0.4622272551059723, -0.3747917711734772, 0.07998349517583847, -0.14889924228191376, 0.10889965295791626, -0.7652826309204102, -0.5153185129165649, 0.19763922691345215, -0.3686481714248657, 0.18063828349113464, 0.056557778269052505, 0.3297079801559448, 0.17859631776809692, 0.11541197448968887, -0.1797075718641281, -0.8525781631469727, 0.5947694182395935, -0.7514682412147522, 0.5811704993247986, 0.7482154369354248, 0.6663752198219299, -0.13044725358486176, -0.3532786965370178, -0.3824366629123688, -0.42194321751594543, -0.1439686119556427, 0.06798598170280457, 0.020085066556930542, 0.004313252400606871, 0.3882831335067749, 0.00982685200870037, -0.5471780300140381, 0.22519484162330627, -0.5255438685417175, -0.01763075590133667, 0.33284860849380493, 0.2976829409599304, 0.13340575993061066, 0.2051175832748413, -0.31707820296287537, 0.11595035344362259, -0.5925865769386292, 0.1613156944513321, 0.40432432293891907, 0.5965249538421631, -0.08880728483200073, 0.8286243677139282, -0.3192804157733917, 0.7883939146995544, -0.07465723156929016, 0.0015743159456178546, 0.055173780769109726, -0.014422358013689518, -0.008719509467482567, 0.017838485538959503, 0.7756942510604858, 0.16044364869594574, 0.14313596487045288, -0.10844112187623978, -0.4391125440597534, 0.04005887731909752, -0.020159604027867317, -0.9838722348213196, -0.3855574429035187, -0.11429480463266373, -0.45741668343544006, 0.060360949486494064, 0.10793687403202057, -0.7143533229827881, -0.4339449405670166, -0.1427919864654541, 0.30211782455444336, -0.6229189038276672, 0.04022105410695076, -0.20965513586997986, 0.18258598446846008, -0.15315914154052734, 0.16327659785747528, -0.9999831914901733, 0.7594694495201111, 0.7697506546974182, 1.1119338274002075, -0.2245282381772995, -0.44966644048690796, -0.9889504909515381, 0.20729851722717285, -0.18883754312992096, 0.7459031343460083, -1.008433222770691, -0.37008044123649597, 0.03825412318110466, 0.11877105385065079, -0.33240166306495667, -0.20095884799957275, 0.1286175549030304, -0.6145315766334534, 0.3463287055492401, -0.08002088963985443, -0.9364619255065918, -0.1430785208940506, -0.21263492107391357, -1.0568562746047974, 0.7242589592933655, -0.019901404157280922, -0.6408357620239258, 0.15493427217006683, -0.7282085418701172, -0.33525311946868896, 0.06671740859746933, -0.06861518323421478, -0.15728752315044403, 0.2518591284751892, 0.22047708928585052, 0.44355398416519165, -0.2241431176662445, 0.08558092266321182, -0.41376763582229614, -0.7687368392944336, 0.0636289119720459, -0.4873490035533905, 0.5128940939903259, -0.006995135918259621, -0.23761212825775146, 0.05907220020890236, -0.995769202709198, -0.011438760906457901, -0.27910634875297546, -0.37894630432128906, -0.0896187275648117, 0.35747411847114563, -0.42013439536094666, 0.19497795403003693, 0.4598791301250458, -0.6285948753356934, -0.12005185335874557, -0.4519020617008209, -0.02823464386165142, 0.9878246188163757, -0.21512503921985626, 0.5613471865653992, -0.1303253173828125, 1.0551689863204956, -0.2761978209018707, 0.04777852073311806, -0.4289872646331787, -0.7547272443771362, -0.5730578899383545, 0.12399479746818542, 0.27731913328170776, 0.6490768194198608, -0.5156489610671997, -0.14839516580104828, -0.18976566195487976, -0.4999227523803711, -0.4346865713596344, 0.003591664368286729, 0.5946670770645142, 0.5523656606674194, 0.41903749108314514, -0.1158042773604393, -0.40206852555274963, -0.899054765701294, -0.4856531023979187, -0.5342822074890137, -0.23574082553386688, 0.3275570869445801, 0.38396742939949036, 0.31823933124542236, 0.5263969898223877, -0.7662851214408875, -0.10318584740161896, -0.20996849238872528, 0.15277346968650818, 0.22692923247814178, 0.4331471920013428, -0.060201678425073624, -0.31363019347190857, -0.5729842782020569, 0.10725291073322296, -0.289872944355011, -0.20696179568767548, 0.265254408121109, 0.2580890357494354, 0.4450221061706543, 0.5671603083610535, -0.01682417094707489, 0.39424848556518555, 1.1878453493118286, -0.14660091698169708, 0.5990967154502869, -0.19496041536331177, -0.18130864202976227, -0.6737090349197388, 0.0642491802573204, 0.09768712520599365, 0.12024310231208801, -0.5417338609695435, -0.2671503722667694, 0.24009299278259277, -0.31551864743232727, -0.2792584002017975, 0.670193076133728, -0.4532588720321655, -0.4250189960002899, -0.2534523904323578, -0.21010874211788177, -0.0014701804611831903, 0.5034356117248535, 0.40845897793769836, 1.0645079612731934, 0.48692116141319275, -0.5722222924232483, -0.037526484578847885, -0.06750165671110153, -0.4555160701274872, 0.2371622771024704, -0.7014561295509338, 0.08730871975421906, 0.11637861281633377, 0.14346282184123993, -0.6669073700904846, -0.3371184170246124, 0.3164047300815582, -0.49902939796447754, 0.14000898599624634, -0.33740583062171936, -0.3694039285182953, -0.364937424659729, 0.10556214302778244, 0.1587570160627365, 0.30371028184890747, -0.37679311633110046, 0.706373929977417, -0.041801199316978455, -0.1426762044429779, -0.723637044429779, -0.6915447115898132, -0.30373501777648926, 0.2723797559738159, -0.4973512291908264, 0.2478315383195877, -0.14115804433822632, 0.11008599400520325, 0.06319230049848557, -0.025396307930350304, -0.40460726618766785, 0.21311920881271362, 0.5765175819396973, 0.503958523273468, -0.4045465886592865, 0.2948586940765381, -0.3132278621196747, -0.03729137405753136, 0.28440648317337036, -0.32533860206604004, 0.14677797257900238, -0.2928799092769623, -0.6392173171043396, -0.6601970195770264, 0.24665330350399017, 0.1745918244123459, -0.46384677290916443, 0.838219165802002, 0.46501877903938293, -0.4812772572040558, -0.14282287657260895, -0.4081200659275055, -0.2548666000366211, -0.45742276310920715, 0.5433326363563538, -0.37632688879966736, -0.46954333782196045, 0.35336795449256897, 0.27087435126304626, -0.13867394626140594, 0.1719849854707718, 0.22175540030002594, 0.06726452708244324, 1.380503535270691, 1.0380479097366333, 0.24925026297569275, 0.7047990560531616, 0.12246940284967422, -0.03890669718384743, -0.5992696285247803, -0.4728626310825348, -0.6715916395187378, -0.06296089291572571, -0.8855365514755249, -0.3466047942638397, -0.03732624650001526, 0.09959650039672852, -0.07863204181194305, 0.5259217619895935, -0.19051310420036316, 0.5658473372459412, 0.7457587718963623, -0.08960286527872086, 0.28038927912712097, -0.23221909999847412, -0.12293102592229843, 0.10154096782207489, -0.6546638011932373, -0.6359766721725464, 0.9968217015266418, 0.4993900954723358, 0.7405830025672913, 0.11589236557483673, 0.5577998161315918, 0.027367589995265007, 0.6141654253005981, -0.6537757515907288, 0.5910775661468506, -0.2257612943649292, -0.5893768072128296, -0.18018147349357605, -0.554615318775177, -0.4622168242931366, 0.018849551677703857, 0.033434201031923294, -0.9932676553726196, 0.011720076203346252, 0.10455870628356934, -0.37063220143318176, 0.233648419380188, -0.9738526344299316, 0.7898595333099365, -0.13607831299304962, -0.3689514696598053, 0.11593426018953323, -0.4916156530380249, 0.27005815505981445, 0.015556812286376953, 0.18507620692253113, -0.18805760145187378, -0.27498146891593933, 0.7725974321365356, -0.2818298637866974, 0.9702196717262268, -0.3808252215385437, 0.0449196919798851, 0.20055004954338074, 0.2468835562467575, 0.4018442630767822, -0.16507315635681152, -0.3763721287250519, 0.02882675640285015, 0.048004623502492905, -0.32426542043685913, -0.6661559343338013, 0.7252257466316223, -0.6439225077629089, -0.7651292681694031, -0.30474022030830383, -0.45328399538993835, -0.5985077023506165, 0.4122689664363861, 0.1082729622721672, 0.5228413939476013, -0.17961159348487854, -0.034316692501306534, 0.3961578905582428, 0.03574955090880394, 0.5635663866996765, 0.5161806344985962, -0.21455766260623932, -0.1426582783460617, 1.0923638343811035, 0.13714557886123657, 0.2693884074687958, 0.5125046372413635, 0.38847970962524414, -0.4177961051464081, -0.7046422958374023, -0.4721377193927765, 0.00526889692991972, -0.6175273060798645, -0.059504155069589615, -0.4113849997520447, 0.022922901436686516, -0.24198606610298157, 0.10259824991226196, -0.3772071301937103, -0.4239124059677124, -0.6139030456542969, 0.11834509670734406, -0.06308035552501678, 1.1046698093414307, 0.07481469959020615, 0.5576779842376709, -0.9251721501350403, -0.10217799246311188, 0.20935288071632385, 1.0538203716278076, -0.13102523982524872, -0.5429818034172058, -0.47083139419555664, -0.051561977714300156, -0.35027626156806946, -0.8935349583625793, 0.08055626600980759, 0.241996169090271, 0.45797109603881836, 0.3404771685600281, -0.016040101647377014, 0.3684093952178955, -0.7965649962425232, 0.7270491123199463, 0.24626119434833527, -0.9087581634521484, 0.6137645840644836, -0.046969618648290634, 0.33356255292892456, 0.2870899438858032, 0.3646790385246277, -0.20283262431621552, -0.4705890715122223, -0.4491158723831177, -0.34153103828430176, 1.2525956630706787, 0.025783218443393707, 0.012187476269900799, -0.07085832208395004, -0.08106077462434769, 0.3547111451625824, 0.0766770988702774, -0.5486791729927063, -0.049445416778326035, -0.23443788290023804, -0.044602103531360626, -0.1250644326210022, -0.11553651094436646, 0.30299434065818787, 0.2920381426811218, 0.7102795839309692, -0.25606560707092285, 0.34248051047325134, -0.35335010290145874, 0.08541255444288254, -0.20948688685894012, 0.17285394668579102, 0.6208248138427734, 0.9360834956169128, -0.4123891294002533, -0.30793139338493347, 0.06136663258075714, -0.3518829047679901, -0.07636220753192902, 0.42857858538627625, 0.06565496325492859, 0.03436984494328499, 0.5736595392227173, 0.8914629220962524, 0.09059984236955643, -0.6992816925048828, 0.5478618741035461, -0.10808590799570084, -0.01563793048262596, -0.4192288815975189, 0.36354464292526245, 0.07967328280210495, 0.3716757893562317, 0.1098073199391365, 0.37141627073287964, 0.19603534042835236, -0.3438217043876648, 0.05568118393421173, 0.020184852182865143, -0.8986322283744812, -0.5797792077064514, 0.7096574306488037, 0.07751184701919556, -0.5692620277404785, 0.23397204279899597, 0.08939380943775177, -0.4241436719894409, 0.5766558647155762, 0.6826308965682983, 0.8418802618980408, -0.5704545974731445, 0.16796228289604187, 0.37865138053894043, 0.16813534498214722, -0.3454896807670593, 0.12995018064975739, 0.15127034485340118, -0.39970433712005615, -0.6099078059196472, -0.29453718662261963, -0.5841353535652161, 0.16341175138950348, -0.8775179982185364, 0.3426741063594818, -0.5801297426223755, -0.16891849040985107, 0.005574673414230347, 0.03371337428689003, -0.8026143312454224, 0.20928624272346497, 0.32254210114479065, 1.1256669759750366, -0.763407289981842, 0.7815243005752563, 0.6450780034065247, -0.3503953814506531, -0.47272247076034546, 0.29591506719589233, -0.1102336049079895, -0.7157898545265198, 0.5916041731834412, 0.5666806697845459, -0.3886703848838806, -0.5000425577163696, -0.1862412542104721, -0.8057540059089661, 0.8518598079681396, 0.43180471658706665, -0.7081717848777771, -0.36465880274772644, -0.08710579574108124, 0.4422060549259186, -0.561888575553894, 0.3379475772380829, 0.5082810521125793, 0.21910662949085236, -0.016507279127836227, -0.7296197414398193, 0.1073794960975647, -0.007983341813087463, 0.25089991092681885, 0.044521018862724304, -0.356923907995224, 0.8959912657737732, -0.44954437017440796, -0.31015563011169434, 0.2502380311489105, 0.9078110456466675, 0.044866129755973816, 0.3500068485736847, 0.33933183550834656, 0.06758652627468109, 0.7257565259933472, 0.2469554990530014, 1.1782970428466797, -0.3571636378765106, 0.004243664443492889, 1.694495677947998, -0.24622318148612976, 1.2159836292266846, 0.19863943755626678, -0.14363768696784973, 0.7326961159706116, 0.2733956575393677, 0.14627325534820557, 0.5941871404647827, 0.04064454138278961, -0.19887425005435944, 0.0016718378756195307, -0.11897985637187958, -0.4095763564109802, 0.6322000026702881, 0.3828531503677368, -0.6542531847953796, 0.11664165556430817, -0.3010750710964203, -0.38149505853652954, 0.2898462116718292, -0.19245702028274536, 0.6945346593856812, -0.2682054042816162, -0.9387273788452148, 0.41791990399360657, 0.09123919904232025, 0.24069873988628387, -0.2619704604148865, -0.41535085439682007, -0.010504820384085178, 0.14325593411922455, 0.06933677196502686, -0.8316839933395386, 0.09991814941167831, -0.10932576656341553, -0.24749785661697388, 0.05588529631495476, 0.6598852872848511, -0.21435439586639404, -0.7523928880691528, 0.5093287825584412, 0.6165102124214172, -0.06634753942489624, 0.1395605504512787, -0.44970670342445374, 0.05738603323698044, -0.13958027958869934, -0.2844396233558655, 0.2653501033782959, 0.3385072946548462, 0.07096455991268158, 0.8798323273658752, 0.29257532954216003, 0.2004559487104416, 0.06014632806181908, -0.04799452796578407, 0.6969533562660217, -0.380730539560318, -0.5354986190795898, -0.7380435466766357, 0.1021575778722763, 0.11290725320577621, -0.09640725702047348, 0.37709346413612366, 0.42244085669517517, 0.9987677931785583, 0.09279947727918625, 0.9301810264587402, 0.3060363233089447, 0.5883821249008179, -0.5911597609519958, 0.33506113290786743, -0.30037635564804077, 0.4480082094669342, -0.18582554161548615, -0.8952789306640625, -0.01067806314677, 0.19676163792610168, -0.6057944893836975, 0.16865476965904236, 0.7266517281532288, 0.8008571863174438, -0.01759665086865425, 0.7512047290802002, 0.25611066818237305, 0.16815875470638275, 0.15196266770362854, 0.5287985801696777, 0.7909736037254333, -0.05550582334399223, 0.7464475631713867, -0.6050999760627747, -0.27983996272087097, -0.3360917866230011, -0.9247400164604187, -0.90931236743927, -0.5406111478805542, 0.08091162145137787, -0.23408673703670502, 0.18687394261360168, 0.6112661957740784, 0.6320729851722717, -1.0196669101715088, -0.29988914728164673, -0.23811958730220795, 0.08840804547071457, -0.4191396236419678, -0.17561843991279602, 0.3114910423755646, -0.26658201217651367, -0.7520767450332642, 0.5116159915924072, -0.05892278999090195, 0.03238379582762718, -0.2931312024593353, -0.18041351437568665, 0.0827457532286644, -0.017749566584825516, 0.3945758044719696, 0.3137195110321045, -0.7877028584480286, -0.48650485277175903, 0.14723624289035797, 0.09007658809423447, -0.11275152862071991, 0.6761894822120667, -0.7135099172592163, 0.6073440313339233, 0.3403874933719635, 0.7170044779777527, 0.2712778151035309, 0.036431726068258286, 0.9240846633911133, -0.7960212230682373, -0.34276947379112244, 0.43987974524497986, 0.2288544774055481, 0.3704553246498108, -0.2924831211566925, 0.21400533616542816, -0.11028942465782166, -0.4240550994873047, -0.6599617004394531, 0.2119048833847046, -0.16756226122379303, -0.22579406201839447, 1.0004445314407349, -0.5353382229804993, -0.2752612829208374, -0.014125825837254524, 0.20670168101787567, 0.1877443641424179, -0.7181794047355652, 0.27510005235671997, 0.7403546571731567, -0.4058959186077118, -0.20694372057914734, -1.0852628946304321, 0.2943158447742462, 0.27811047434806824, -0.44257545471191406, 0.4388520121574402, 0.6902674436569214, 0.20625869929790497, 0.13064360618591309, 0.5821518301963806, 0.1271996647119522, 0.3551175892353058, 0.01918085291981697, -0.2271857112646103, -0.2694447934627533, -0.7324557304382324, -0.29362574219703674, 0.2880147695541382, 0.19373469054698944, -0.422597736120224 ]
http://arxiv.org/abs/2403.12408v1
http://arxiv.org/pdf/2403.12408v1
MSLM-S2ST: A Multitask Speech Language Model for Textless Speech-to-Speech Translation with Speaker Style Preservation
2024-03-19T03:35:20
2024-03-19T03:35:20
Yifan Peng, Ilia Kulikov, Yilin Yang, Sravya Popuri, Hui Lu, Changhan Wang, Hongyu Gong
cs.CL
cs.CL, cs.SD, eess.AS
There have been emerging research interest and advances in speech-to-speech translation (S2ST), translating utterances from one language to another. This work proposes Multitask Speech Language Model (MSLM), which is a decoder-only speech language model trained in a multitask setting. Without reliance on text training data, our model is able to support multilingual S2ST with speaker style preserved.
[ 0.202858105301857, -0.6653419137001038, 0.4494432806968689, 0.004135082475841045, -0.5550246238708496, 0.13635262846946716, -0.007358773611485958, -0.1730269342660904, 0.1502583920955658, 0.7760270833969116, -0.8159056901931763, -0.15828628838062286, -0.6564244031906128, 0.0953444316983223, -0.45470887422561646, 1.345301866531372, 0.15226757526397705, 0.31562018394470215, -0.0647183358669281, -0.08643807470798492, -0.46478894352912903, -0.8277645707130432, -0.6799280643463135, -0.14256002008914948, 0.3154485821723938, 0.3227093815803528, 0.3331444263458252, 0.5191254019737244, 0.20465926826000214, 0.1162988469004631, -0.188411146402359, 0.2189934104681015, -0.5393946170806885, 0.3611379861831665, -0.11590804159641266, -0.10407150536775589, -0.6187359094619751, -0.20742714405059814, 0.8409671783447266, 0.4058447778224945, -0.32633864879608154, 0.22142566740512848, 0.1719297170639038, 0.6149634122848511, -0.3657395839691162, 0.1367148756980896, -0.5598157644271851, -0.03490802273154259, -0.39719218015670776, -0.2803146541118622, -0.7536152601242065, -0.1786072999238968, -0.15995390713214874, 0.13934393227100372, -0.0968441441655159, -0.0670328438282013, 0.4865764081478119, 0.41973793506622314, -0.7310490012168884, -0.0032719168812036514, -0.6738179326057434, 0.8733959794044495, -0.7203137874603271, 0.8882450461387634, 0.6772382259368896, 0.3170560896396637, 0.30201876163482666, -0.34758496284484863, -0.42295166850090027, -0.1856803297996521, -0.09338068217039108, 0.15399301052093506, 0.09271671622991562, 0.123555026948452, -0.05499473959207535, -0.07490924000740051, -0.9350680708885193, -0.31522509455680847, -0.4846700429916382, -0.17954021692276, 0.6455597281455994, 0.2984997630119324, 0.18064692616462708, -0.40273991227149963, -0.7131003141403198, 0.4770030081272125, -0.6453401446342468, 0.0242268368601799, 0.07721299678087234, 0.5700919032096863, -0.19201582670211792, 0.7740188837051392, -0.07568523287773132, 0.5951983332633972, -0.6354130506515503, -0.5101268887519836, 0.36917373538017273, -0.7405086755752563, -0.1545044332742691, 0.22176897525787354, 0.40700989961624146, 0.27220457792282104, 0.011201959103345871, -0.3139376938343048, -0.31330299377441406, 0.10594068467617035, 0.12227708101272583, -0.551424503326416, 0.09355396032333374, 0.16558454930782318, -0.7183147072792053, -0.08847444504499435, -0.2911372780799866, -0.32604196667671204, -0.12425469607114792, -0.458092600107193, 0.08028518408536911, -0.4095946252346039, -0.7854536771774292, -0.10406970232725143, -0.12654006481170654, -0.03988906368613243, 0.3453122079372406, -0.7220281958580017, 0.20219582319259644, 0.554110586643219, 1.1086832284927368, -0.5474897027015686, -0.6374367475509644, -0.5550481081008911, 0.24580621719360352, -0.40169480443000793, 0.7592092156410217, -0.2213527411222458, -0.6470275521278381, -0.054193105548620224, 0.22708480060100555, -0.44992920756340027, -0.04368152469396591, 0.42611345648765564, -0.2787822186946869, -0.05193191394209862, -0.12840308248996735, -0.5260471105575562, -0.013910412788391113, 0.22709769010543823, -0.22792372107505798, 1.2622272968292236, 0.13819821178913116, -0.6343497037887573, -0.13070553541183472, -0.8477814197540283, -0.5478643774986267, 0.12066979706287384, 0.22031356394290924, -0.2667795717716217, 0.030361896380782127, -0.4463491141796112, 0.4934045076370239, 0.10493650287389755, 0.3483280837535858, -0.010071351192891598, -0.10931873321533203, 0.17350617051124573, -0.5233612656593323, 0.7653249502182007, 0.6032987236976624, 0.06503371149301529, 0.558549165725708, -0.6851357221603394, -0.0417281799018383, 0.3419659435749054, -0.5912061929702759, -0.05811488255858421, 0.21142275631427765, 0.59771329164505, 0.7724021673202515, 0.4155769348144531, -0.8154916167259216, 0.09585626423358917, -0.23174713551998138, 0.7285827994346619, 0.6179746389389038, -0.36659476161003113, 0.25931400060653687, -0.38683468103408813, 0.41288331151008606, -0.33136600255966187, -0.037325091660022736, -0.4999048113822937, -0.7080888152122498, -0.7193206548690796, -0.1557890623807907, -0.14754673838615417, 0.9415518641471863, -0.8216121792793274, 0.09366720169782639, -0.41364333033561707, -0.32792606949806213, -0.6800819635391235, -0.04252351075410843, 0.6873134970664978, 0.43122613430023193, 0.4471123218536377, 0.19003179669380188, -0.6295631527900696, -1.0605162382125854, -0.20875003933906555, 0.22853761911392212, 0.09765176475048065, -0.12248388677835464, 0.35495510697364807, -0.21841961145401, 0.59991854429245, -0.08348928391933441, -0.36647167801856995, -0.6758064031600952, -0.11770716309547424, -0.2602992653846741, 0.48680785298347473, 0.27654382586479187, -0.5435172319412231, -0.7010605335235596, 0.04938638582825661, -0.7348032593727112, 0.1124149039387703, 0.14114098250865936, 0.06408026069402695, 0.503119707107544, 0.7554844617843628, -0.5363523960113525, 0.652180552482605, 1.0082075595855713, -0.51191645860672, 0.6972741484642029, -0.288899302482605, 0.0965413972735405, -1.4248961210250854, 0.3884754776954651, -0.5745169520378113, -0.7976904511451721, -1.3008311986923218, 0.07042510062456131, 0.318773478269577, -0.5608192682266235, -0.7993396520614624, 0.6196228265762329, -0.48395442962646484, -0.29495373368263245, -0.6485877633094788, 0.16511748731136322, -0.08092617988586426, 0.4549415707588196, 0.38221314549446106, 1.111631989479065, 0.45899975299835205, -0.5616497993469238, 0.4382021427154541, 0.5402980446815491, -0.17990750074386597, 0.7581113576889038, -0.33922502398490906, 0.728258490562439, 0.01574857160449028, 0.08480802923440933, -1.011938452720642, 0.16266246140003204, 0.0046645174734294415, -0.387333482503891, 0.26995810866355896, -0.3083195388317108, -0.7264101505279541, -0.283771276473999, -0.04870741069316864, 0.18771980702877045, -0.013697104528546333, -0.1811911165714264, 0.5517534017562866, 0.3242892920970917, -0.8864765763282776, -0.17227034270763397, -0.8791947960853577, 0.45960524678230286, 0.11126818507909775, -0.7311161160469055, 0.10457857698202133, -0.3768894076347351, 0.19086915254592896, -0.1532963514328003, 0.09171897917985916, -0.11229830980300903, -0.12672410905361176, 0.11609872430562973, 0.5063114762306213, -0.24809163808822632, 0.23694494366645813, 0.031407807022333145, -0.37747809290885925, -0.4110393524169922, -0.08203007280826569, 0.8855509161949158, -0.019583653658628464, -0.3030790686607361, -0.7637537717819214, 1.1914622783660889, 0.655010461807251, -0.5534971952438354, 0.8033051490783691, 0.386605829000473, -0.13819944858551025, 0.2320769876241684, -0.4748310446739197, -0.12708860635757446, -0.39415091276168823, 0.6859639883041382, -0.7256333827972412, -0.8746891617774963, 0.22214412689208984, 0.05219075083732605, 0.024278994649648666, 0.158132866024971, 0.5463029146194458, -0.11452776938676834, 1.2076386213302612, 0.631698727607727, 0.11234388500452042, 0.5656173229217529, 0.2046734094619751, 0.07013481110334396, -0.964521586894989, -0.34105950593948364, -0.5152925848960876, 0.10395146161317825, -0.009171704761683941, -0.3763675391674042, 0.2527952790260315, -0.2748125493526459, -0.27978619933128357, 0.4025181829929352, -0.4243546724319458, 0.18979883193969727, 0.5922641754150391, -0.0005202344618737698, 0.18643803894519806, 0.10479473322629929, 0.048882000148296356, -0.052056971937417984, -0.5126420259475708, -0.5842105746269226, 0.8721551299095154, 0.3499259650707245, 0.2644880414009094, 0.34368643164634705, 0.45059967041015625, 0.21641376614570618, -0.2901705503463745, -0.8280292749404907, 0.43256041407585144, -0.5683702826499939, -0.8098751306533813, -0.534568727016449, -0.31073901057243347, -0.7949267625808716, 0.40625664591789246, 0.0632200837135315, -0.9727330207824707, -0.21854153275489807, 0.17454758286476135, -0.13756713271141052, 0.340629905462265, -0.5560699105262756, 0.9548893570899963, -0.3872913420200348, -0.0005266532534733415, -0.27780628204345703, -0.8299272656440735, 0.21881064772605896, 0.08276424556970596, 0.4311602711677551, -0.2701193690299988, 0.09208188205957413, 0.7942079305648804, -0.29226720333099365, 0.508840024471283, -0.19735245406627655, -0.11141684651374817, -0.007196563761681318, 0.5984599590301514, 0.9257581830024719, -0.4536614716053009, -0.24302420020103455, 0.2267802357673645, 0.2679192125797272, -0.6086558103561401, -0.2364223450422287, 0.5193313360214233, -0.4372614622116089, -0.43024006485939026, -0.30396002531051636, -0.6835823059082031, -0.3708440065383911, 0.3578876554965973, 0.23013398051261902, 0.2512834072113037, -0.17803189158439636, 0.11878970265388489, 0.4423545002937317, 0.2002657949924469, 0.6564406752586365, 0.683861255645752, -0.3055272400379181, -0.3598096966743469, 1.1015344858169556, 0.1408822238445282, 0.6235402822494507, 0.11684294044971466, 0.2518426179885864, -0.6640436053276062, -0.44638147950172424, -0.7895662784576416, 0.13833650946617126, -0.6715547442436218, 0.04695015028119087, -0.9173446297645569, -0.43022438883781433, -0.7415420413017273, -0.03849848359823227, -0.7474049925804138, -0.38200628757476807, -0.2789270579814911, -0.14297108352184296, 0.262800008058548, 1.0545096397399902, 0.07392627745866776, 0.41154932975769043, -0.8067736625671387, 0.44861000776290894, 0.21585693955421448, 0.18962565064430237, -0.3001953065395355, -0.8989861011505127, -0.3188127279281616, 0.09403372555971146, -0.03952712193131447, -1.063923954963684, 0.5196017026901245, 0.3710591197013855, 0.46392637491226196, 0.38336777687072754, -0.13036584854125977, 0.5677099823951721, -0.8456088304519653, 1.004952311515808, 0.6005101799964905, -1.0700087547302246, 0.7852573394775391, -0.38707640767097473, 0.40646135807037354, 0.25585997104644775, -0.22832903265953064, -1.2750871181488037, -0.10008794814348221, -0.28038468956947327, -0.5666103363037109, 1.1578361988067627, 0.3092634975910187, 0.357083261013031, 0.2910996675491333, -0.2731150686740875, 0.2753426730632782, 0.5058205127716064, -0.5647428035736084, -0.350408136844635, -0.9017385840415955, -0.09787081927061081, -0.4346907436847687, -0.671818196773529, -0.141387477517128, -0.19736944139003754, 0.5911548733711243, 0.001017231959849596, 0.5771481990814209, -0.19943663477897644, -0.2332228720188141, 0.15330858528614044, 0.56437087059021, 1.4465219974517822, 0.3160775899887085, -0.14130799472332, 0.4641706347465515, 0.18333472311496735, -0.29942548274993896, 0.2547193765640259, 0.09049350023269653, -0.20767925679683685, 0.13285483419895172, 0.15893998742103577, 1.1819734573364258, 0.2331216186285019, -0.34636467695236206, 0.6443436741828918, 0.249546617269516, -0.16936685144901276, -0.1334010362625122, -0.4500817656517029, 0.4011949300765991, -0.06958650052547455, 0.267547070980072, 0.48694783449172974, 0.05285409465432167, -0.3946221172809601, 0.25652703642845154, 0.229566752910614, -0.549567699432373, -0.3682169020175934, 0.7622175812721252, 0.283926784992218, -0.6566723585128784, 0.220910906791687, -0.3291133642196655, -0.5321852564811707, 0.1594078093767166, 0.8460231423377991, 0.8465616106987, -0.8361483812332153, 0.14723947644233704, 0.1278696358203888, 0.18413956463336945, -0.1567763090133667, 0.6048929691314697, -0.06583459675312042, -0.3600092828273773, -0.12159489095211029, -0.47489383816719055, -0.06206747516989708, 0.0749131590127945, -0.5501903891563416, 0.13393695652484894, -0.19168709218502045, -0.14126957952976227, -0.10138414800167084, -0.4338759481906891, -0.4734596610069275, 0.04257974028587341, 0.19629082083702087, 0.6811468601226807, -0.5968379974365234, 1.60957670211792, 0.4842129945755005, -0.22043341398239136, -0.5876709222793579, -0.4590480625629425, 0.5066247582435608, -0.8089118003845215, 0.6681290864944458, -0.12915639579296112, -0.49213331937789917, 0.17138659954071045, -0.3146238625049591, -1.1455256938934326, 0.7075796723365784, 0.4326191246509552, -0.4917905926704407, -0.16566058993339539, 0.15075752139091492, 0.0808098167181015, -0.30256932973861694, -0.18062712252140045, 0.33919787406921387, 0.2985517978668213, -0.017990099266171455, -1.540228009223938, -0.17653529345989227, -0.4196430444717407, 0.2214350402355194, 0.038833703845739365, -0.5721564888954163, 1.1192744970321655, -0.1280343383550644, -0.33881881833076477, 0.3133900463581085, 0.39090994000434875, 0.09554877132177353, 0.2533116638660431, 0.32967573404312134, 0.085621178150177, 0.5837454795837402, 0.04401271045207977, 0.948143482208252, -0.26772141456604004, 0.5134508013725281, 1.4685086011886597, -0.3536970317363739, 1.2544910907745361, 0.5907943844795227, -0.32933467626571655, 0.05585591495037079, 0.4928642511367798, 0.21957209706306458, 0.8019224405288696, -0.20677201449871063, -0.28211507201194763, -0.2966037690639496, -0.30290406942367554, -0.5765702724456787, 0.7488922476768494, 0.22612063586711884, -0.27245032787323, -0.15877564251422882, 0.5246833562850952, 0.2389223873615265, -0.03597041964530945, -0.1594477891921997, 0.9256497025489807, 0.198038250207901, -0.388458251953125, 0.7249971628189087, 0.08487018197774887, 0.8245830535888672, -0.8131198287010193, 0.11039239913225174, -0.03456035628914833, -0.1676534116268158, -0.1909499615430832, -0.636872410774231, 0.6961564421653748, -0.023402485996484756, -0.3959736227989197, -0.5039387345314026, 0.7488574385643005, -0.8142697811126709, -0.5443262457847595, 0.35332053899765015, 0.5154345035552979, 0.6105179190635681, -0.2446419596672058, -0.780204176902771, 0.08410798758268356, 0.1187673956155777, -0.02086869440972805, 0.2452038824558258, 0.0025489411782473326, 0.1861569732427597, 0.8306155800819397, 0.8512677550315857, 0.20309880375862122, 0.4638524353504181, 0.07597304880619049, 0.44312185049057007, -0.5960950255393982, -0.904757559299469, -0.6650434136390686, 0.631782591342926, 0.12317270785570145, -0.2127964049577713, 0.8331723809242249, 0.7866920828819275, 0.42055460810661316, -0.5036671161651611, 0.989855170249939, 0.19847342371940613, 0.9843059182167053, -0.5462765097618103, 1.0616482496261597, -0.6355392336845398, -0.36448171734809875, -0.15545617043972015, -0.550030529499054, -0.023094190284609795, 0.5736960172653198, 0.09179089963436127, -0.11001172661781311, 0.8267492651939392, 0.7181350588798523, 0.12540291249752045, 0.13967174291610718, 1.0317658185958862, -0.17590129375457764, 0.12412051856517792, 0.28302162885665894, 0.6208226680755615, -0.2652812600135803, 0.5847094058990479, -0.097144715487957, -0.03553728014230728, -0.5322813987731934, -0.5853793621063232, -0.8259978294372559, -0.9659069180488586, -0.1267414689064026, -0.35757976770401, 0.22368934750556946, 0.9308170676231384, 1.1476757526397705, -0.8997268080711365, -0.46228015422821045, 0.22180132567882538, -0.1934230625629425, -0.38814836740493774, -0.14171206951141357, 0.43208593130111694, -0.31557661294937134, -0.5288681387901306, 1.0327584743499756, 0.3482896685600281, 0.20511870086193085, -0.17677196860313416, -0.3631085753440857, -0.33348318934440613, 0.11506449431180954, 1.0887978076934814, 0.02070869877934456, -1.098980188369751, -0.2092686891555786, 0.03874397650361061, -0.2246469259262085, 0.20938259363174438, 0.9101625084877014, -0.10148647427558899, 0.6668615937232971, 0.18060649931430817, 0.2862492501735687, 0.641682505607605, -0.27752137184143066, 0.28111371397972107, -0.9779778122901917, 0.33375877141952515, 0.12204043567180634, 0.3765700161457062, 0.4222220182418823, -0.262708842754364, 0.24418236315250397, 0.41875436902046204, -0.48480790853500366, -0.9547803401947021, 0.4569944739341736, -1.0705169439315796, -0.2946726381778717, 1.3399578332901, -0.21632882952690125, 0.16400624811649323, -0.6254981756210327, -0.6119089722633362, 0.45991936326026917, -0.6312310695648193, 0.24509014189243317, 0.5472211241722107, -0.1062113344669342, -0.6985930800437927, -0.9847640991210938, 0.7178734540939331, 0.21850727498531342, -0.6895745396614075, 0.4329073429107666, -0.007382988929748535, 0.4023110866546631, 0.12151233106851578, 0.8815335035324097, 0.1371636986732483, 0.15103495121002197, 0.14189466834068298, 0.30253568291664124, -0.3583883047103882, -0.4106734097003937, -0.0952056348323822, 0.21674278378486633, -0.01888422481715679, -0.5359997153282166 ]
http://arxiv.org/abs/2403.12407v1
http://arxiv.org/pdf/2403.12407v1
Cross-Lingual Transfer for Natural Language Inference via Multilingual Prompt Translator
2024-03-19T03:35:18
2024-03-19T03:35:18
Xiaoyu Qiu, Yuechen Wang, Jiaxin Shi, Wengang Zhou, Houqiang Li
cs.CL
cs.CL
Based on multilingual pre-trained models, cross-lingual transfer with prompt learning has shown promising effectiveness, where soft prompt learned in a source language is transferred to target languages for downstream tasks, particularly in the low-resource scenario. To efficiently transfer soft prompt, we propose a novel framework, Multilingual Prompt Translator (MPT), where a multilingual prompt translator is introduced to properly process crucial knowledge embedded in prompt by changing language knowledge while retaining task knowledge. Concretely, we first train prompt in source language and employ translator to translate it into target prompt. Besides, we extend an external corpus as auxiliary data, on which an alignment task for predicted answer probability is designed to convert language knowledge, thereby equipping target prompt with multilingual knowledge. In few-shot settings on XNLI, MPT demonstrates superiority over baselines by remarkable improvements. MPT is more prominent compared with vanilla prompting when transferring to languages quite distinct from source language.
[ -0.25420263409614563, -0.5535350441932678, 0.6709180474281311, 0.4920162260532379, -0.14126816391944885, -0.11420060694217682, -0.48945194482803345, -0.320097416639328, -0.042370494455099106, 0.2532481551170349, -0.8684020638465881, -0.20290593802928925, -0.3380856513977051, 0.38677799701690674, 0.08575654029846191, 1.119545340538025, -0.05901792645454407, 0.17239563167095184, 0.13788653910160065, -0.05524642392992973, -0.5779639482498169, -0.4042927324771881, -0.9587688446044922, -0.10972072929143906, 0.8015907406806946, 0.5970559120178223, 0.4299638867378235, 0.1191391795873642, -0.024780653417110443, 0.2607539892196655, 0.24062368273735046, 0.03652770072221756, -0.14795145392417908, -0.19367055594921112, -0.5921832323074341, -0.5463265180587769, -0.03305288776755333, -0.08210476487874985, 0.6703938245773315, 0.8366268873214722, 0.21342134475708008, -0.048730090260505676, 0.15264292061328888, 0.22593586146831512, -0.5489840507507324, 0.3460765480995178, -0.36001744866371155, 0.2089947611093521, -0.17098990082740784, -0.16824695467948914, -0.723168671131134, -0.46515053510665894, 0.08171076327562332, -0.6955923438072205, 0.027982914820313454, 0.011076690629124641, 0.4508281350135803, 0.27075475454330444, -0.7877703905105591, -0.077493816614151, -0.45366910099983215, 0.7761877775192261, -0.48520785570144653, 0.478288859128952, 0.23827992379665375, 0.632982075214386, 0.10338454693555832, -0.5682634711265564, -0.6553162932395935, -0.413097620010376, -0.25369518995285034, 0.15600916743278503, 0.006418510340154171, -0.09519171714782715, 0.0678892433643341, -0.04552881419658661, -0.6734538078308105, 0.09374465048313141, 0.05258230119943619, -0.4606104791164398, 0.45136427879333496, -0.1849711537361145, 0.5378402471542358, -0.3097134828567505, -0.6731589436531067, -0.2006130814552307, -0.5315904021263123, 0.2761097848415375, 0.2367195039987564, 0.7945739030838013, -0.30267632007598877, 0.2883988916873932, -0.17104311287403107, 0.772472083568573, -0.04205990582704544, -0.22365951538085938, 0.2353745698928833, -0.8671314716339111, 0.20297619700431824, 0.37577706575393677, 0.7716434001922607, 0.24806290864944458, 0.3340318202972412, -0.10828305780887604, 0.04266694188117981, -0.3372117280960083, -0.26914182305336, -0.6197496652603149, 0.01791568286716938, -0.16903334856033325, -0.3971269726753235, 0.17960518598556519, -0.1969601958990097, -0.9109808206558228, -0.35270339250564575, -0.25890055298805237, 0.1732843667268753, -0.5032723546028137, -0.2842067778110504, -0.10703667253255844, 0.0798790454864502, 0.2755310833454132, 0.47971147298812866, -0.8469598889350891, -0.09845443814992905, 0.4092772603034973, 0.7966208457946777, -0.3358679711818695, -0.6088994145393372, -1.079711675643921, 0.18597668409347534, -0.16845405101776123, 0.89537513256073, -0.3386237323284149, -0.1761264204978943, 0.08120457082986832, 0.22056341171264648, -0.4755324721336365, 0.05205632746219635, 0.6820115447044373, -0.33519548177719116, 0.6777107119560242, -0.36169102787971497, -0.1438477635383606, -0.22851751744747162, 0.2748543918132782, -0.6373251676559448, 0.70644611120224, 0.18151260912418365, -0.5097121596336365, 0.2793176770210266, -0.470131516456604, -0.8008165955543518, -0.018538212403655052, 0.11936583369970322, 0.35971617698669434, -0.14450553059577942, 0.3831462860107422, 0.2665374279022217, -0.24047257006168365, 0.4030839204788208, -0.16725336015224457, 0.06545744836330414, 0.20723949372768402, -0.778261125087738, 1.0375522375106812, 0.29743692278862, -0.21833737194538116, 0.20074571669101715, -0.646004319190979, -0.11886276304721832, -0.1528310477733612, -0.2653283476829529, -0.2740738093852997, -0.49003416299819946, 0.2296631634235382, 0.5956929922103882, 0.2124512940645218, -0.46368494629859924, 0.2646370530128479, -0.21919701993465424, 0.12158408015966415, 0.5442578792572021, -0.09357156604528427, 0.8276874423027039, -0.10861226916313171, 0.734322190284729, -0.03048226609826088, -0.026470938697457314, -0.41618502140045166, -0.6329729557037354, -0.2596893012523651, -0.29677441716194153, 0.4011145532131195, 1.2146937847137451, -1.4159936904907227, 0.04369065538048744, -0.2788807451725006, -0.11094456166028976, -0.6864444017410278, 0.07439056038856506, 0.43601101636886597, 0.8636949062347412, 0.4843730330467224, 0.18991932272911072, -0.22136440873146057, -0.8874534368515015, -0.4413160979747772, -0.3156668543815613, 0.038901325315237045, 0.13792447745800018, 0.03063294291496277, 0.03958803787827492, 0.7825431227684021, -0.11900810152292252, -0.30979499220848083, -0.7848297953605652, 0.3478914797306061, 0.5493500232696533, 0.6083368062973022, 0.7671727538108826, -0.8085348606109619, -0.8380953669548035, 0.4506251811981201, -0.514445424079895, -0.4968673884868622, -0.6053426861763, -0.2748766541481018, 0.3017054498195648, 0.4345913529396057, -0.7775623202323914, -0.019867729395627975, 0.5703973174095154, -0.45116445422172546, 0.6576442122459412, -0.10115084052085876, 0.5940114855766296, -1.4933221340179443, 0.13288411498069763, -0.07291696220636368, -0.40455886721611023, -0.6579271554946899, -0.13761195540428162, 0.1196351945400238, -0.04082639142870903, -0.8113107681274414, 1.1602330207824707, -0.47117266058921814, 0.09011118859052658, -0.09098415821790695, 0.07906697690486908, 0.04536982253193855, 0.5792601108551025, 0.29267996549606323, 0.9709126353263855, 0.5033565759658813, -0.5102142095565796, 0.4260575771331787, 0.40940338373184204, -0.2377752959728241, 0.9713611602783203, -0.1793551743030548, -0.011907532811164856, -0.07307734340429306, 0.25875794887542725, -1.058074712753296, -0.03034697100520134, 0.4943971335887909, -0.40858668088912964, 0.5385855436325073, -0.6724455952644348, -0.4465853273868561, -0.05473686754703522, 0.012524099089205265, 0.4149075150489807, 0.4336397647857666, -0.670688271522522, 0.6207395792007446, -0.2627347707748413, -0.7724324464797974, -0.6145452260971069, -0.8141329884529114, 0.14544034004211426, -0.1922452747821808, -0.5862377882003784, 0.2746753692626953, -0.1751416027545929, -0.019569065421819687, -0.03716927394270897, 0.20757374167442322, -0.3146189749240875, -0.08114226162433624, -0.49935418367385864, 0.368108332157135, -0.4806632697582245, 0.0868556797504425, 0.2985328733921051, -0.2796052098274231, 0.07819731533527374, -0.4894680976867676, 0.21759575605392456, 0.11890113353729248, -0.40040427446365356, -0.40865907073020935, 0.7631022930145264, 0.35569387674331665, -0.23356477916240692, 0.7863287925720215, 0.9388719201087952, -0.1265089064836502, -0.02126275561749935, -0.2878873944282532, -0.17903243005275726, -0.3490724563598633, 0.23817668855190277, -0.8851315975189209, -0.5043652057647705, 0.5619166493415833, -0.11295522004365921, 0.05455072596669197, 0.25653505325317383, 0.3204799294471741, 0.3421952426433563, 1.2366204261779785, 0.5909152030944824, -0.018974684178829193, 0.6256912350654602, 0.21036340296268463, 0.10767561197280884, -0.3130427598953247, 0.10132545232772827, -0.5470364093780518, -0.18585161864757538, -0.38662824034690857, -0.4443795680999756, 0.20368251204490662, 0.15974345803260803, 0.04033960774540901, 0.3963340222835541, 0.10846589505672455, 0.4065394401550293, 0.8237771987915039, -0.17444203794002533, 0.35936084389686584, 0.004153212532401085, -0.24379928410053253, -0.22605933248996735, -0.8410478830337524, -0.32437363266944885, 0.4415239989757538, -0.007136722560971975, 0.4955194294452667, 0.34933459758758545, 0.4577851891517639, 0.0839846134185791, 0.24600671231746674, -0.7071245908737183, 0.46283653378486633, -0.0721120685338974, -0.48075300455093384, -0.12181055545806885, -0.7395014762878418, -0.7615928649902344, 0.39367514848709106, -0.23119501769542694, -0.6844804286956787, 0.2885496914386749, 0.07073450088500977, -0.3479546308517456, 0.31490615010261536, -1.0344315767288208, 1.2604331970214844, -0.3570796251296997, -0.6036602854728699, 0.06300879269838333, -0.9282576441764832, 0.341344952583313, -0.17592765390872955, 0.37186065316200256, -0.09807560592889786, -0.0521029531955719, 0.39293766021728516, -0.10384570062160492, 0.8736740350723267, -0.34000128507614136, -0.2728724479675293, 0.16875112056732178, 0.16182565689086914, 0.604619562625885, 0.2802346348762512, -0.2265251725912094, 0.028177352622151375, -0.05172538757324219, -0.45626264810562134, -0.8021564483642578, 0.4960261285305023, -0.5028870105743408, -0.47854170203208923, -0.4326480031013489, -0.7602897882461548, -0.3449578881263733, 0.4081602096557617, 0.4868888556957245, 0.2744525372982025, -0.12695136666297913, -0.4167141914367676, 0.4718608260154724, -0.35611650347709656, 0.5050516128540039, 0.7220282554626465, 0.004801307339221239, -0.2879284620285034, 1.0534673929214478, -0.105995312333107, 0.32235491275787354, 0.78548663854599, 0.33058053255081177, -0.687890350818634, -0.4086702764034271, -1.0743482112884521, 0.13625451922416687, -0.9166622161865234, -0.17798461019992828, -0.6531427502632141, 0.07474546879529953, -0.6985218524932861, -0.30444028973579407, -0.2928709089756012, -0.40963229537010193, -0.29222387075424194, -0.025791620835661888, 0.3196004629135132, 0.2120043933391571, -0.22351360321044922, 0.39255040884017944, -1.1989439725875854, 0.3075278103351593, 0.29340118169784546, 0.04457555711269379, -0.5157627463340759, -0.6522272229194641, -0.004926105961203575, 0.048110295087099075, 0.35918644070625305, -1.2345126867294312, 0.5311347246170044, 0.3843294680118561, 0.7558339238166809, 0.24652241170406342, 0.42992669343948364, 0.6147421002388, -0.6624225974082947, 0.7319743633270264, 0.391319215297699, -0.9349169731140137, 0.35703763365745544, -0.16356031596660614, 0.5700408816337585, 0.8051924109458923, 0.495118647813797, -0.8550481796264648, -0.0657549574971199, -0.2681499123573303, -0.6010522842407227, 0.9493993520736694, -0.25245538353919983, 0.1333642452955246, -0.07926138490438461, -0.12663862109184265, 0.5056552290916443, 0.09900423139333725, -0.781308114528656, -0.07148949801921844, -0.1286279410123825, -0.4293992519378662, -0.2697545289993286, 0.1060648187994957, 0.08260887861251831, -0.18832352757453918, 0.5701378583908081, -0.7552617788314819, 0.14399635791778564, 0.18640901148319244, -0.6103348135948181, 0.127107173204422, 0.693085789680481, 0.518230140209198, 0.45145076513290405, 0.12697380781173706, 0.31114059686660767, 0.4577048718929291, -0.11648131906986237, 0.35769692063331604, 0.5161758065223694, -0.1324198991060257, 0.010616719722747803, 0.5587226748466492, 0.9571007490158081, 0.5189148783683777, -0.5497631430625916, 0.6320963501930237, -0.09345891326665878, 0.17523285746574402, 0.05007730796933174, -0.2979709506034851, -0.10100629180669785, 0.29337078332901, 0.33078160881996155, 0.17051078379154205, 0.33965688943862915, -0.5385429859161377, 0.23036085069179535, 0.1988499015569687, -0.47059184312820435, -0.5228705406188965, 0.5984014868736267, 0.3139379024505615, -0.12967215478420258, 0.5629416704177856, -0.5554256439208984, -0.6474967002868652, 0.17215454578399658, 0.6765345931053162, 0.7953214645385742, -0.4074045717716217, 0.44956645369529724, 0.5202546119689941, 0.3020365238189697, 0.03915870562195778, 0.2706916630268097, -0.25853264331817627, -0.5586007237434387, -0.9623149037361145, -0.4124000370502472, -0.32532477378845215, -0.38662394881248474, -0.48285579681396484, 0.261013925075531, 0.0704294741153717, 0.14589378237724304, -0.2941538095474243, -0.20084258913993835, -0.643690824508667, -0.2822437286376953, 0.47283682227134705, 1.0970410108566284, -1.1062017679214478, 0.9510288238525391, 0.9284375905990601, -0.4374857544898987, -0.6860888004302979, -0.21018725633621216, -0.020431214943528175, -0.7727344632148743, 0.6592879295349121, 0.20275795459747314, -0.015333623625338078, 0.2640557885169983, -0.1757839471101761, -0.7852910757064819, 0.563761293888092, 0.9175669550895691, -0.3314650058746338, -0.06862760335206985, 0.006063998211175203, 0.1511092633008957, -0.20350107550621033, 0.4332118034362793, 0.5551929473876953, 0.7710685729980469, 0.26418912410736084, -1.190086007118225, 0.1480879783630371, -0.20173130929470062, -0.24760383367538452, 0.06441284716129303, -0.20440326631069183, 0.8848599791526794, -0.45338401198387146, -0.4054632782936096, 0.0065635195933282375, 0.8306193351745605, 0.255024790763855, 0.31233376264572144, 0.5897737741470337, 0.13249413669109344, 0.7657544016838074, 0.12550479173660278, 1.1693859100341797, -0.26202985644340515, -0.08507294207811356, 1.1903274059295654, -0.48963144421577454, 0.6928504705429077, 0.7155715823173523, 0.09070633351802826, 0.487109899520874, 0.6987422704696655, 0.3783940076828003, 0.7134192585945129, -0.31235188245773315, -0.5034763216972351, -0.3597809672355652, -0.4729660153388977, -0.31809523701667786, 0.09959446638822556, 0.10734202712774277, -0.09692801535129547, -0.3776656687259674, 0.4600001275539398, 0.06222303584218025, -0.024947170168161392, -0.31798413395881653, 0.8189645409584045, 0.06797896325588226, -1.1760127544403076, 0.4466286897659302, -0.21152263879776, 0.730854868888855, -0.8765751123428345, -0.30759891867637634, -0.3407577872276306, 0.21820016205310822, 0.03868227079510689, -0.9392454624176025, 0.15038175880908966, -0.14550742506980896, -0.13782040774822235, -0.7053343057632446, 0.6334805488586426, -0.7762710452079773, -0.47017452120780945, 0.39004209637641907, 0.8720213770866394, 0.3053476810455322, -0.19802740216255188, -0.877213716506958, -0.5036686062812805, 0.1869739145040512, -0.28686726093292236, 0.35842153429985046, 0.6916562914848328, -0.3283553123474121, 0.4462068974971771, 0.8219581842422485, 0.18722879886627197, 0.3480244278907776, 0.2673199474811554, 0.5448053479194641, -0.526080846786499, -0.8703607320785522, -0.6544021368026733, 0.5209800601005554, 0.0005956378881819546, -0.4432642459869385, 0.8871455192565918, 0.19781148433685303, 0.7333886027336121, -0.24294587969779968, 0.8049173355102539, -0.17219612002372742, 0.27671095728874207, -0.8230692744255066, 0.5590343475341797, -0.3740193843841553, -0.1263754665851593, -0.017448987811803818, -0.9312275052070618, -0.13116216659545898, 0.5008881688117981, -0.2817758023738861, -0.10230281203985214, 0.8216201663017273, 0.5742006301879883, -0.2730380892753601, -0.14754435420036316, 0.3779759705066681, -0.15499737858772278, 0.19118843972682953, 0.8639412522315979, 0.8237220644950867, -0.08894742280244827, 0.8065353035926819, -0.37310531735420227, -0.33838003873825073, -0.09636441618204117, -1.0958696603775024, -0.7942510843276978, -0.5778396725654602, -0.3472163677215576, -0.1092129573225975, -0.06042317673563957, 1.0978232622146606, 0.8178976774215698, -1.0022436380386353, -0.11656411737203598, 0.11592979729175568, 0.4207020401954651, -0.5257933139801025, -0.2174447476863861, 0.20757441222667694, -0.7745355367660522, -0.9662252068519592, 0.8520088791847229, -0.10956971347332001, 0.14383359253406525, -0.14825627207756042, -0.14190731942653656, -0.4907941520214081, -0.24688731133937836, 0.6904398798942566, 0.4373991787433624, -0.5666809678077698, -0.21603865921497345, 0.15663973987102509, -0.20298871397972107, -0.10831670463085175, 0.8129880428314209, -0.8192816376686096, 0.3050849139690399, 0.8728144764900208, 0.9445940256118774, 0.11285808682441711, -0.10162252187728882, 0.9714003801345825, -1.0881516933441162, 0.42228400707244873, 0.10398106276988983, 0.47883495688438416, 0.5244170427322388, -0.4495207965373993, 0.400866836309433, 0.3465162515640259, -0.07608892768621445, -0.6441431641578674, 0.38653311133384705, -0.9801032543182373, -0.40849217772483826, 1.264750361442566, -0.3371923863887787, -0.3831513822078705, -0.31317397952079773, -0.49515247344970703, 0.4317503273487091, -0.3779771327972412, 0.09039910137653351, 0.6395959854125977, 0.1803903877735138, -0.6712032556533813, -0.6801836490631104, 0.44800272583961487, 0.4991385340690613, -0.9560984373092651, 0.04785619303584099, 0.4243965744972229, 0.044439367949962616, 0.3077850937843323, 0.6148384213447571, 0.23397694528102875, 0.41352370381355286, -0.1605752557516098, 0.16024081408977509, 0.05644145607948303, -0.3443528711795807, -0.583712100982666, 0.05022883415222168, -0.07187379151582718, -0.14823861420154572 ]
http://arxiv.org/abs/2403.12403v2
http://arxiv.org/pdf/2403.12403v2
Towards Interpretable Hate Speech Detection using Large Language Model-extracted Rationales
2024-03-19T03:22:35
2024-05-08T02:47:36
Ayushi Nirmal, Amrita Bhattacharjee, Paras Sheth, Huan Liu
cs.CL
cs.CL, cs.AI, cs.LG
Although social media platforms are a prominent arena for users to engage in interpersonal discussions and express opinions, the facade and anonymity offered by social media may allow users to spew hate speech and offensive content. Given the massive scale of such platforms, there arises a need to automatically identify and flag instances of hate speech. Although several hate speech detection methods exist, most of these black-box methods are not interpretable or explainable by design. To address the lack of interpretability, in this paper, we propose to use state-of-the-art Large Language Models (LLMs) to extract features in the form of rationales from the input text, to train a base hate speech classifier, thereby enabling faithful interpretability by design. Our framework effectively combines the textual understanding capabilities of LLMs and the discriminative power of state-of-the-art hate speech classifiers to make these classifiers faithfully interpretable. Our comprehensive evaluation on a variety of English language social media hate speech datasets demonstrate: (1) the goodness of the LLM-extracted rationales, and (2) the surprising retention of detector performance even after training to ensure interpretability. All code and data will be made available at https://github.com/AmritaBh/shield.
[ -0.29040291905403137, -0.799742579460144, 0.4461275041103363, 0.11890119314193726, -0.3924773931503296, 0.26687923073768616, -0.32838985323905945, -0.5898247361183167, 0.26559391617774963, 0.6260374188423157, -0.5604034066200256, -0.3473462760448456, -0.8912625908851624, -0.07614488899707794, -0.7219821810722351, 1.0176535844802856, -0.009975766763091087, -0.02399068884551525, 0.25838297605514526, -0.23636478185653687, -0.12735091149806976, -0.4930794835090637, -0.6481649279594421, -0.29176464676856995, 0.6566475033760071, 0.21644452214241028, 0.5977970361709595, 0.6620839834213257, 0.14971333742141724, 0.254160612821579, -0.1655963659286499, 0.06200917437672615, -0.6771407723426819, 0.2729758620262146, -0.3451930582523346, -0.2857408821582794, -0.0973513126373291, 0.06731781363487244, 0.4274914860725403, 0.04592042788863182, 0.06211681291460991, 0.1547008603811264, 0.22654090821743011, 0.06270851939916611, -0.3723706305027008, 0.005656108725816011, -1.076815128326416, -0.07488322257995605, -0.3735677897930145, -0.13175082206726074, -0.5309838652610779, -0.2372993528842926, -0.2521226406097412, -0.32486534118652344, 0.04237980395555496, 0.024360446259379387, 0.609873354434967, 0.047814659774303436, -0.15094658732414246, -0.5051333904266357, -0.6995609402656555, 0.91941899061203, -0.6756259799003601, 0.5205790400505066, 0.28949639201164246, 0.5478280782699585, -0.14564138650894165, -0.3773851990699768, -0.7734952569007874, -0.18289557099342346, 0.07303586602210999, -0.04660089686512947, -0.5262923836708069, -0.16767440736293793, 0.31544625759124756, 0.2448272407054901, -0.42810964584350586, 0.5854537487030029, -0.2879689037799835, -0.3517865836620331, 0.8367817997932434, 0.036715034395456314, 0.41520941257476807, -0.3328544795513153, -0.5420340895652771, 0.4541536569595337, -0.35914281010627747, -0.2295198142528534, 0.5313431620597839, 0.38254693150520325, -0.2652532458305359, 0.4896833300590515, -0.09109252691268921, 0.34389859437942505, 0.07574060559272766, -0.21476933360099792, 0.16149014234542847, 0.2938048243522644, -0.0817127376794815, -0.02081325463950634, 0.708816409111023, 0.33071622252464294, 0.6130532622337341, -0.3383990526199341, -0.1960458755493164, 0.6817448139190674, 0.48267966508865356, -0.896796464920044, -0.008011534810066223, 0.2809152603149414, -0.4571860432624817, -0.6507847309112549, -0.42077431082725525, -1.0238232612609863, -0.9627882242202759, -0.2669222950935364, 0.17202436923980713, -0.32343563437461853, -0.5459867715835571, 0.05698172748088837, -0.23325185477733612, 0.25150787830352783, 0.3382223844528198, -0.578904926776886, 0.07938598841428757, 0.755289614200592, 0.7944943904876709, -0.49320167303085327, -0.03299684822559357, -0.714629054069519, 0.04526923596858978, 0.04099396616220474, 0.6510328650474548, -0.7197825908660889, 0.02817269042134285, 0.24881473183631897, 0.04444931074976921, 0.215211421251297, -0.5086004734039307, 0.833034098148346, -0.7847980856895447, -0.183202862739563, 0.07641253620386124, -0.5548577904701233, -0.18942539393901825, 0.26201802492141724, -0.46805956959724426, 0.5142253041267395, -0.04582519829273224, -0.7221850752830505, 0.2220471054315567, -0.5140894055366516, -0.4233366549015045, 0.38841918110847473, -0.04257866367697716, -0.5302697420120239, 0.08346755057573318, 0.07764549553394318, 0.5947375297546387, -0.266377329826355, 0.32099658250808716, -0.9681841135025024, -0.04203745350241661, 0.5447674989700317, -0.5338040590286255, 0.9755218625068665, 0.6106818318367004, -0.5592861175537109, 0.2441704422235489, -0.7429078817367554, -0.20526164770126343, 0.2823253273963928, -0.001437657279893756, -0.26200559735298157, 0.22253766655921936, 0.4223288893699646, 0.30065906047821045, 0.017695769667625427, -0.8380665183067322, -0.47163259983062744, -0.27159807085990906, 0.4954974055290222, 1.1383962631225586, -0.2297106832265854, 0.15545561909675598, -0.24388836324214935, 0.8644157648086548, -0.10852604359388351, 0.05590406805276871, 0.3832119107246399, -0.26392391324043274, -0.3616757094860077, -0.6473169922828674, -0.28544560074806213, 0.43833690881729126, -0.5968592166900635, 0.2634652554988861, -0.1390160173177719, -0.4400263726711273, -0.3107290267944336, 0.300010621547699, 0.25202590227127075, 0.430381178855896, 0.3680717647075653, 0.09784328192472458, -0.9571746587753296, -0.8866714835166931, -0.514133632183075, -0.21501635015010834, -0.04382862150669098, 0.1470104604959488, 0.4791565537452698, -0.31842923164367676, 0.8885813355445862, -0.2737327516078949, 0.028852691873908043, -0.5869190692901611, 0.028983257710933685, -0.07122684270143509, -0.042555827647447586, 0.31983110308647156, -0.9558092355728149, -0.49331480264663696, -0.09276298433542252, -0.7034502029418945, -0.6982771158218384, -0.03456701338291168, -0.33160150051116943, -0.04493087902665138, 0.5005990862846375, -0.29644301533699036, 0.40806740522384644, 0.5551106333732605, -0.3753378093242645, 0.6893672943115234, 0.798937201499939, -0.03204790875315666, -1.0681157112121582, -0.1086985394358635, 0.29875555634498596, -0.42542126774787903, -0.7400096654891968, 0.019691476598381996, -0.1819625198841095, 0.010166807100176811, -0.5667469501495361, 0.6275573372840881, -0.057323064655065536, 0.201867938041687, -0.5314655303955078, 0.29191404581069946, -0.11164490878582001, 0.2088514268398285, -0.028673063963651657, 0.3405798375606537, 0.19010551273822784, -0.3344007134437561, 0.34500375390052795, 0.1321125626564026, -0.3830040395259857, 0.8552652597427368, -0.4151720702648163, -0.13886594772338867, -0.13601858913898468, 0.21446257829666138, -0.8493257761001587, -0.2577245533466339, 0.5855239629745483, -0.4726325571537018, -0.08015090972185135, -0.5014817714691162, -0.3143406808376312, -0.2706716060638428, -0.255787193775177, 0.25426921248435974, 0.3692898452281952, -0.69261234998703, 0.6387458443641663, 0.8501220941543579, -0.05382495000958443, -0.516935408115387, -0.5378982424736023, -0.01504298485815525, -0.662214457988739, -0.4448981285095215, 0.1999085396528244, -0.0928259864449501, -0.5186958909034729, -0.027338797226548195, 0.04759185016155243, -0.12103812396526337, 0.2547553777694702, 0.5258854031562805, 0.13717028498649597, -0.04718531295657158, 0.11993693560361862, -0.038557905703783035, 0.1531101018190384, 0.38556912541389465, -0.12258048355579376, 0.6284972429275513, 0.009506472386419773, -0.008410181850194931, -0.3785536587238312, 0.2625117301940918, 0.8873645663261414, -0.05742465332150459, 0.696438729763031, 0.7725646495819092, -0.5268441438674927, -0.6135175824165344, -0.5958423018455505, -0.012023868039250374, -0.4428435266017914, 0.3849559724330902, -0.1743580847978592, -1.1904938220977783, 0.5845909714698792, 0.20112645626068115, 0.11383046954870224, 0.3695191442966461, 0.7266680002212524, -0.01055002212524414, 0.9526829123497009, 0.2948075830936432, -0.14311657845973969, 0.5469865202903748, 0.37864750623703003, 0.21510829031467438, -0.5180106163024902, 0.013378690928220749, -0.49013254046440125, -0.01565460115671158, -0.34381622076034546, -0.29587769508361816, 0.09128972142934799, -0.08043095469474792, -0.21448108553886414, 0.22403834760189056, -0.4305647611618042, 0.4832938015460968, -0.20892959833145142, 0.11967536062002182, 0.05955582484602928, 0.4466533660888672, 0.22564180195331573, -0.20064707100391388, -0.2523514926433563, -0.5537102818489075, 0.8671078681945801, 0.8363533020019531, 0.6517090201377869, 0.18503959476947784, 0.3835758566856384, 0.497627317905426, 0.7520440220832825, -1.083742618560791, 0.45735499262809753, -0.29457032680511475, -0.8066998720169067, -0.130879208445549, -0.5165214538574219, -0.7696511149406433, 0.35026103258132935, -0.405261754989624, -0.8556545972824097, -0.1639319211244583, 0.13220945000648499, -0.04396847262978554, 0.5782405734062195, -0.44042107462882996, 0.9092341065406799, -0.2591760456562042, -0.4565463364124298, -0.42000991106033325, -0.05584951117634773, 0.4902915060520172, -0.2546140253543854, 0.6811823844909668, -0.21184810996055603, 0.21526360511779785, 0.9841955900192261, -0.18723516166210175, 1.082503080368042, -0.23834864795207977, -0.26057377457618713, 0.16329185664653778, 0.005488671362400055, 0.3508744537830353, -0.23321868479251862, -0.26200997829437256, 0.39413467049598694, -0.2542630732059479, -0.23855511844158173, -0.47815027832984924, 0.5359836220741272, -0.45713675022125244, -0.4008950889110565, -0.12881188094615936, -0.6433244943618774, -0.03763571009039879, 0.20225879549980164, -0.012717047706246376, 0.3781544268131256, -0.24308255314826965, 0.1789335459470749, 0.6408814787864685, -0.35397055745124817, 0.020330281928181648, 0.4748583734035492, -0.5474626421928406, -0.3828343451023102, 0.9111098647117615, 0.20499290525913239, 0.19097508490085602, 0.10678772628307343, 0.3863193988800049, -0.38633421063423157, -0.7884266376495361, -0.5584251880645752, 0.2610160708427429, -0.678174614906311, -0.098813995718956, -0.8041371703147888, -0.2144060581922531, -0.2896699905395508, -0.29613980650901794, -0.14626544713974, -0.15913131833076477, -0.046252183616161346, 0.02260352298617363, 0.3709946572780609, 0.7900182008743286, -0.18960006535053253, 0.5377258658409119, -0.4370970129966736, 0.5393574833869934, 0.0530855692923069, 0.2699466645717621, -0.001330305472947657, -1.0794121026992798, -0.2179861217737198, 0.11150627583265305, -0.09641909599304199, -1.1572911739349365, 0.38000866770744324, -0.4019116461277008, 0.47164690494537354, 0.4116020202636719, 0.1316220909357071, 0.44574326276779175, -0.43654245138168335, 0.26253998279571533, 0.23239666223526, -0.8662620782852173, 0.4359988272190094, -0.3832893967628479, -0.11193858832120895, 0.3596791625022888, 0.6511651873588562, -0.5019452571868896, -0.6817978620529175, -0.5036084055900574, -0.5936009287834167, 0.5931953191757202, 0.10339684039354324, 0.02709735371172428, -0.011868088506162167, 0.20470348000526428, 0.1000324934720993, 0.07449138909578323, -1.1356902122497559, -0.10616623610258102, -0.21939724683761597, -0.4581620693206787, 0.02888564206659794, -0.6026299595832825, -0.14795419573783875, 0.033617082983255386, 0.850581705570221, 0.10253217816352844, -0.024322979152202606, -0.4357585906982422, -0.45987826585769653, 0.006106877233833075, 0.5081461668014526, 0.34939974546432495, 0.6594633460044861, -0.10134828835725784, 0.222326397895813, 0.08546921610832214, -0.4617968499660492, 0.05506764352321625, 0.152067169547081, -0.24710488319396973, -0.014118267223238945, 0.2639358639717102, 0.6406587958335876, 0.014654120430350304, -0.6522235870361328, 0.6078131794929504, 0.03429189696907997, -0.11113161593675613, -0.6462876200675964, -0.09390144795179367, 0.02791217342019081, 0.3568379282951355, 0.11859739571809769, -0.2432052344083786, 0.10783054679632187, -0.36917877197265625, 0.4410471022129059, 0.6479892730712891, -0.49893811345100403, -0.3068958818912506, 0.6089596748352051, 0.09538423269987106, -0.34841129183769226, 0.07971499860286713, -0.2785898447036743, -0.9042381048202515, 0.33270499110221863, 0.6534397602081299, 0.922134280204773, -0.3013738989830017, 0.5033487677574158, 0.29318633675575256, 0.4163637161254883, 0.37973538041114807, -0.015988951548933983, 0.12648679316043854, -0.9881453514099121, -0.5016362071037292, -1.056447982788086, -0.30765849351882935, 0.715561032295227, -0.567535400390625, 0.2627589702606201, -0.7098666429519653, 0.27406197786331177, 0.5461839437484741, -0.30072006583213806, -0.3510591387748718, 0.045189470052719116, 0.626319408416748, 0.6819861531257629, -1.0870616436004639, 0.6060487031936646, 0.43681520223617554, -0.13328976929187775, -0.5754592418670654, -0.1079147607088089, 0.3033600151538849, -0.9877838492393494, 0.5270734429359436, 0.4199712872505188, -0.45071032643318176, -0.26786646246910095, -0.9064773917198181, -0.28384941816329956, 0.30155128240585327, 0.3488777279853821, -0.44769009947776794, 0.4132850766181946, 0.2549201250076294, 0.558413565158844, -0.5536642074584961, 0.16982530057430267, 0.42646723985671997, 0.2942342162132263, 0.021083936095237732, -0.4746873378753662, 0.3470589518547058, -0.17999213933944702, -0.2410399466753006, 0.05369811877608299, -0.24972417950630188, 0.40560266375541687, 0.39157211780548096, -0.38383498787879944, -0.3447730839252472, 0.551034688949585, 0.18597625195980072, 0.5073513388633728, 0.8833599090576172, 0.4117658734321594, 0.5835403203964233, 0.26648256182670593, 0.7152669429779053, -0.0036790776066482067, 0.09453608840703964, 0.9188300371170044, -0.19054651260375977, 0.8559966683387756, 0.14630012214183807, -0.03061847761273384, 0.5004708766937256, 0.20722080767154694, -0.04696013033390045, 0.10706968605518341, 0.5383591055870056, -0.606441080570221, -0.5388777256011963, -0.4217252731323242, 0.07755936682224274, 0.6372113823890686, 0.6145411729812622, -0.497062623500824, -0.29178085923194885, 0.21491125226020813, 0.38186267018318176, 0.4460170567035675, -0.5253028869628906, 0.41367796063423157, 0.11711215227842331, -0.28966355323791504, 0.640984296798706, 0.14507271349430084, 0.939001202583313, -0.5077361464500427, 0.024834219366312027, 0.2657218277454376, 0.21653325855731964, -0.47027960419654846, -0.7236724495887756, 0.48160985112190247, 0.4491497576236725, -0.1393730640411377, -0.3569703698158264, 0.894498348236084, -0.33921319246292114, -0.3134131133556366, 0.5370430946350098, 0.24212944507598877, 0.24914659559726715, -0.2562183141708374, -0.927520751953125, 0.5578392744064331, 0.2224331945180893, -0.021453632041811943, 0.3144524395465851, 0.24021311104297638, -0.05808349326252937, 0.6834580898284912, 0.6638690829277039, 0.08326578140258789, -0.056361857801675797, 0.09853031486272812, 0.8739319443702698, -0.42254725098609924, -0.39493682980537415, -1.206510066986084, 0.4340612590312958, -0.3420007526874542, -0.08062124997377396, 0.7352845072746277, 0.5226839184761047, 0.7878581881523132, 0.2656250596046448, 1.0524297952651978, -0.12098128348588943, 0.9859364032745361, -0.41454389691352844, 0.7160663604736328, -0.42759060859680176, 0.2199568748474121, -0.41124096512794495, -0.6733318567276001, -0.2925260663032532, 0.7888780236244202, -0.645470142364502, -0.3146142065525055, 0.33999037742614746, 0.9441200494766235, -0.24412141740322113, 0.2443763017654419, 0.3444531559944153, 0.6912384629249573, 0.6337794065475464, 0.1937309354543686, 1.0724279880523682, -0.00022572236775886267, 0.7712530493736267, -0.08229874074459076, -0.4598204791545868, -0.21698592603206635, -0.7272886633872986, -1.0798380374908447, -0.3908144235610962, -0.3748530447483063, -0.9011961817741394, 0.005332943517714739, 0.8738729357719421, 0.40282168984413147, -0.8321765661239624, -0.24082313477993011, 0.16331660747528076, 0.37203940749168396, 0.1368200182914734, -0.29829132556915283, 0.04398699104785919, -0.17315693199634552, -0.6579700112342834, 0.3460516929626465, 0.13589993119239807, -0.28697121143341064, -0.18550732731819153, -0.14979316294193268, -0.16991139948368073, 0.10844075679779053, 0.9083585143089294, 0.44523102045059204, -0.8135737180709839, -0.5290841460227966, -0.3247455358505249, 0.0677795559167862, -0.15603545308113098, 0.5484396815299988, -0.45010650157928467, 0.302975058555603, 0.16350889205932617, 0.903240978717804, 0.43822577595710754, -0.009740415029227734, 0.22342605888843536, -0.25469034910202026, -0.003541090991348028, 0.2984767258167267, 0.31599318981170654, 0.247928649187088, -0.16589684784412384, 0.31463298201560974, 0.2820366322994232, -0.3708762228488922, -1.1018091440200806, 0.6054407358169556, -1.1237316131591797, -0.3053382635116577, 1.5041954517364502, -0.13396954536437988, -0.2289612740278244, -0.510042130947113, -0.09989456087350845, 0.309096097946167, -0.3144993484020233, 0.666504979133606, 0.6899632811546326, 0.2558477818965912, -0.17698319256305695, -0.611628532409668, 0.397799551486969, 0.29985660314559937, -0.6793763637542725, 0.38637176156044006, 0.7698715925216675, 0.39099448919296265, 0.02208065241575241, 0.5568621754646301, -0.13470862805843353, 0.12631960213184357, -0.13614527881145477, 0.12208297103643417, 0.06789994239807129, -0.1554577499628067, -0.4425009787082672, 0.33457472920417786, -0.06634452939033508, 0.02296283468604088 ]
http://arxiv.org/abs/2403.12402v1
http://arxiv.org/pdf/2403.12402v1
An Empirical Study of Speech Language Models for Prompt-Conditioned Speech Synthesis
2024-03-19T03:22:28
2024-03-19T03:22:28
Yifan Peng, Ilia Kulikov, Yilin Yang, Sravya Popuri, Hui Lu, Changhan Wang, Hongyu Gong
cs.CL
cs.CL, cs.SD, eess.AS
Speech language models (LMs) are promising for high-quality speech synthesis through in-context learning. A typical speech LM takes discrete semantic units as content and a short utterance as prompt, and synthesizes speech which preserves the content's semantics but mimics the prompt's style. However, there is no systematic understanding on how the synthesized audio is controlled by the prompt and content. In this work, we conduct an empirical study of the widely used autoregressive (AR) and non-autoregressive (NAR) speech LMs and provide insights into the prompt design and content semantic units. Our analysis reveals that heterogeneous and nonstationary prompts hurt the audio quality in contrast to the previous finding that longer prompts always lead to better synthesis. Moreover, we find that the speaker style of the synthesized audio is also affected by the content in addition to the prompt. We further show that semantic units carry rich acoustic information such as pitch, tempo, volume and speech emphasis, which might be leaked from the content to the synthesized audio.
[ -0.5857473611831665, -1.063726544380188, 0.6129414439201355, 0.2674916982650757, 0.06482075154781342, -0.043564651161432266, -0.2383565604686737, -0.19312584400177002, 0.10014478862285614, 0.5007720589637756, -0.6933098435401917, -0.4460715055465698, -0.07443726807832718, 0.26078447699546814, -0.4569183886051178, 0.8767102956771851, 0.2750101685523987, 0.1515982747077942, -0.12053029239177704, -0.07904529571533203, -0.9303812384605408, -0.6493397355079651, -0.46375519037246704, -0.15562652051448822, 0.49309873580932617, 0.3389737010002136, 0.6743360757827759, 0.5431734323501587, -0.0009261243394576013, 0.28486543893814087, -0.18675273656845093, -0.3085881471633911, -0.19909335672855377, 0.5907778143882751, -0.238040030002594, -0.1140848770737648, -0.3492775559425354, 0.23794758319854736, 0.9217534065246582, 0.9504757523536682, -0.201796293258667, -0.012306569144129753, 0.27109214663505554, 0.3936569094657898, -0.42609867453575134, 0.08469785749912262, -0.6111441254615784, 0.060956165194511414, 0.23072952032089233, -0.4202340841293335, -0.7431591749191284, -0.38795122504234314, 0.19385705888271332, -0.49941423535346985, 0.326526403427124, 0.17176519334316254, 0.46780961751937866, 0.503096878528595, -0.2552821636199951, -0.5417808294296265, -0.9323203563690186, 0.7761824727058411, -0.8969945907592773, 0.5978946089744568, 0.3701678216457367, 0.3533431887626648, -0.4323745369911194, -0.6001250743865967, -0.481974720954895, -0.4978993833065033, -0.1448582410812378, -0.04779094457626343, -0.09906607121229172, 0.19432730972766876, 0.15473367273807526, 0.19498573243618011, -0.6515306234359741, 0.2990656793117523, -0.17649738490581512, -0.498691588640213, 0.5053326487541199, 0.41450923681259155, 0.6097436547279358, -0.3972034156322479, -0.5403497219085693, -0.3310047686100006, -0.6753663420677185, 0.3079662322998047, 0.4345730245113373, 0.685773491859436, -0.1129608005285263, 0.5060263276100159, -0.02719835191965103, 0.9709545969963074, 0.017361445352435112, -0.46866342425346375, 0.15936745703220367, -0.6008673906326294, -0.1506502479314804, 0.5358985066413879, 0.8659585118293762, 0.09901929646730423, -0.1749398410320282, -0.1403721123933792, -0.47244444489479065, -0.08871175348758698, 0.05713614448904991, -0.7425452470779419, -0.04110874980688095, 0.08080153912305832, -0.45473217964172363, 0.10596956312656403, -0.25097113847732544, -0.43419939279556274, -0.04040076956152916, -0.8104330897331238, 0.6003310084342957, -0.5564340949058533, -0.05693725869059563, -0.21952372789382935, -0.16549982130527496, 0.19686053693294525, 0.20382848381996155, -0.8082609176635742, 0.22940729558467865, 0.40845057368278503, 0.6551752090454102, -0.43507692217826843, -0.3502713143825531, -0.6966041326522827, -0.18401652574539185, -0.5716582536697388, 0.6716468334197998, -0.4837716519832611, -0.7940837144851685, -0.12301843613386154, 0.07808732986450195, -0.06943931430578232, -0.44907084107398987, 0.403543084859848, -0.38804563879966736, 0.4296434819698334, -0.2702436149120331, -0.663492739200592, 0.06242210045456886, -0.3507704436779022, -0.7798104286193848, 0.5964422225952148, 0.058278828859329224, -0.1609848141670227, 0.2636162340641022, -0.2715081572532654, -0.44333842396736145, -0.24678196012973785, -0.1938522458076477, 0.020524920895695686, 0.18503527343273163, -0.032977186143398285, 0.29779618978500366, -0.23584549129009247, 0.42812371253967285, -0.00602641049772501, -0.09789372980594635, 0.86872398853302, -0.6273739337921143, 0.39163336157798767, 0.6617499589920044, -0.015844065696001053, 0.23369194567203522, -0.9247286319732666, -0.015099044889211655, -0.22942303121089935, -0.22809424996376038, -0.23912784457206726, -0.13022629916667938, 0.071352019906044, 0.34818559885025024, -0.11857860535383224, -0.4624835252761841, -0.22995777428150177, -0.35694313049316406, 0.6054495573043823, 0.480783611536026, 0.48901650309562683, 0.7730886936187744, -0.32180848717689514, 0.4141724705696106, -0.2215002477169037, -0.04076136648654938, -0.5297021269798279, -0.44395968317985535, -0.3663526177406311, -0.1801435500383377, 0.2682594060897827, 0.3978542685508728, -0.5573031306266785, 0.19136522710323334, 0.2792893350124359, -0.4300335645675659, -0.2944659888744354, -0.2321198582649231, 0.3540109097957611, 0.9142166972160339, 0.3776352107524872, -0.14283554255962372, -0.36349037289619446, -0.8841935396194458, -0.20594535768032074, -0.2969660758972168, -0.20859338343143463, 0.3678693175315857, -0.06893129646778107, 0.06516963243484497, 1.3190561532974243, -0.08175618946552277, -0.04010734707117081, -0.06685269623994827, 0.199176624417305, 0.3836022615432739, 0.695602297782898, 0.5557085275650024, -0.44096776843070984, -0.24044470489025116, -0.5710598826408386, -0.46346330642700195, -0.5135301947593689, -0.23665428161621094, 0.05784739926457405, 0.3102893531322479, 0.7026817798614502, -0.593829870223999, 0.2761342227458954, 0.4444046914577484, -0.3834846019744873, 0.5316418409347534, -0.23323829472064972, 0.21749433875083923, -0.7346151471138, -0.0029496322385966778, -0.16945795714855194, 0.06322512030601501, -0.7902924418449402, -0.39591002464294434, -0.14801125228405, -0.5367501974105835, -0.7599728107452393, 0.5962511301040649, -0.41265448927879333, -0.36202824115753174, -0.40751340985298157, 0.14866165816783905, 0.2387637346982956, 0.4467780590057373, 0.2681195139884949, 1.0309182405471802, 0.2911914885044098, -0.9804143905639648, 0.19304440915584564, 0.10954194515943527, -0.46795493364334106, 0.4183119237422943, -1.0661121606826782, 0.11822155863046646, -0.16582487523555756, 0.22102931141853333, -1.2165820598602295, -0.23773668706417084, -0.03249548003077507, -0.6263132095336914, 0.3982139229774475, -0.012836226262152195, -0.3043413758277893, 0.3691297769546509, 0.26488620042800903, 0.5554572939872742, 0.8293917775154114, -0.3153551518917084, 0.5321717858314514, 0.3035614490509033, -0.478118360042572, -0.10587486624717712, -0.7867493033409119, -0.006731264293193817, -0.22634442150592804, -0.4096028506755829, 0.45200857520103455, -0.2648373246192932, -0.4547279477119446, 0.10963661968708038, 0.08779343217611313, 0.06063678488135338, 0.08172563463449478, 0.3627096712589264, 0.27663010358810425, -0.3165832459926605, 0.23285400867462158, 0.09482492506504059, -0.08453452587127686, 0.31896430253982544, -0.08965674042701721, 0.525168776512146, 0.09155548363924026, -0.43320685625076294, -0.7026907801628113, 0.6014538407325745, 0.4768236577510834, -0.1236158162355423, 0.6289910674095154, 0.30317190289497375, -0.080024853348732, -0.3876529932022095, -0.2914316952228546, -0.5356736779212952, -0.4385869801044464, 0.04954148083925247, -0.39612528681755066, -0.7792372107505798, 0.5978044271469116, 0.34338873624801636, -0.015023062005639076, 0.4493391215801239, 0.8035755753517151, 0.0783899575471878, 1.02744722366333, 0.14112085103988647, 0.17215946316719055, 0.6229619979858398, 0.030792728066444397, -0.04966704174876213, -0.6928702592849731, -0.3377704322338104, -0.7409402132034302, -0.03010079823434353, -0.5917173624038696, -0.14519062638282776, 0.5548251271247864, -0.17625045776367188, -0.24155010282993317, 0.1534147709608078, -0.40229228138923645, 0.20638053119182587, 0.582001268863678, -0.17481441795825958, -0.04990941286087036, -0.04610229656100273, -0.1319229006767273, -0.08229131251573563, -0.8155253529548645, -0.4379332959651947, 0.5902901291847229, 0.40004488825798035, 0.9080473184585571, 0.11415355652570724, 0.5195157527923584, 0.39052775502204895, -0.4401625394821167, -0.8917207717895508, 0.3410884141921997, 0.21107853949069977, -0.4491102695465088, -0.3656124472618103, -0.40276357531547546, -0.935826301574707, 0.18870960175991058, -0.10243961215019226, -0.37817853689193726, 0.4318026006221771, 0.09869527071714401, -0.5110291242599487, -0.1157289445400238, -0.6786670088768005, 0.54449462890625, -0.0025873719714581966, -0.3221275806427002, 0.09644667059183121, -0.846366286277771, 0.04680795222520828, 0.18132373690605164, 0.4593050479888916, -0.22330215573310852, 0.12121199071407318, 0.5688558220863342, -0.48302480578422546, 0.74995356798172, -0.21260081231594086, -0.2239556610584259, 0.5601189136505127, 0.36950966715812683, 0.27347368001937866, 0.18113212287425995, -0.09555300325155258, -0.12439218908548355, -0.059295136481523514, -0.18968968093395233, -0.7052022218704224, 0.7888808250427246, -0.8292701244354248, -0.6680477857589722, -0.2625855505466461, -0.6090075969696045, -0.42264506220817566, -0.11774497479200363, 0.39004775881767273, 1.0498861074447632, -0.4117950201034546, 0.12492997944355011, 0.8845835328102112, -0.5254256725311279, 0.7461321949958801, 0.5601876378059387, -0.03756183013319969, -0.46626099944114685, 0.7557461261749268, 0.1373445689678192, 0.7922428846359253, 0.15668444335460663, 0.2792621850967407, -0.4193805754184723, -0.5260098576545715, -0.643129289150238, 0.017638858407735825, -0.9904287457466125, 0.07041668146848679, -0.5560702085494995, -0.24552951753139496, -0.6856932044029236, 0.09483395516872406, -0.44580090045928955, -0.5817703604698181, -0.5412178039550781, 0.033001985400915146, 0.3725205957889557, 0.658566415309906, -0.1501011699438095, 0.1341014951467514, -0.8419815301895142, 0.17015348374843597, 0.34086304903030396, -0.03992104530334473, -0.013040534220635891, -0.7426566481590271, 0.08557368814945221, 0.15844477713108063, 0.2575364112854004, -1.0063210725784302, 0.5826600193977356, 0.2772957980632782, 0.8381310701370239, 0.02691211737692356, 0.18683530390262604, 0.11266803741455078, -0.706325113773346, 1.2870310544967651, 0.0738694816827774, -0.8734899759292603, 0.5736181139945984, -0.23655493557453156, 0.5935711860656738, 0.36993592977523804, 0.09520090371370316, -0.578384280204773, -0.3658173680305481, -0.362101674079895, -0.9163668155670166, 0.6670215129852295, 0.22473493218421936, 0.2574004828929901, -0.20092779397964478, 0.2255803942680359, 0.31478142738342285, 0.14201608300209045, -0.19485892355442047, -0.4156481921672821, -0.6747056245803833, 0.059047069400548935, -0.1985008716583252, -0.3602481484413147, 0.06206021085381508, 0.027619002386927605, 0.6857507228851318, 0.22697339951992035, 0.24801434576511383, 0.47036847472190857, -0.06257038563489914, 0.13385599851608276, 0.6126660108566284, 0.8784747123718262, 0.4137943387031555, -0.23707155883312225, 0.2558823823928833, -0.07997369021177292, -0.1272112876176834, 0.43942636251449585, -0.24719054996967316, -0.2188330739736557, 0.41703924536705017, 0.45471784472465515, 1.2964458465576172, 0.12956498563289642, -0.43437570333480835, 0.21212826669216156, -0.18569378554821014, 0.04389354586601257, -0.29500845074653625, 0.2462872713804245, -0.20698659121990204, -0.07949291169643402, 0.3705386519432068, -0.1305733472108841, 0.4344896674156189, -0.8046674132347107, 0.12364307790994644, 0.2513205111026764, -0.4636829197406769, -0.38760805130004883, 0.7062596082687378, 0.1222376674413681, -0.5125336647033691, 0.4868077337741852, -0.07460128515958786, -0.1575193554162979, 0.5585324168205261, 0.7302356362342834, 0.754223644733429, -0.5152119398117065, 0.024702640250325203, 0.3632822334766388, -0.06609424203634262, 0.19466575980186462, 0.10177189856767654, -0.26830995082855225, -0.4873385727405548, -0.3469432592391968, -0.6837234497070312, -0.5052892565727234, 0.08101607859134674, -0.784125566482544, 0.047863755375146866, -0.39838358759880066, -0.260977178812027, 0.003828264307230711, -0.5359676480293274, -0.5191205143928528, 0.3441607356071472, 0.10164175182580948, 0.6174049377441406, -0.7959706783294678, 0.7114880681037903, 0.48886269330978394, -0.38155606389045715, -1.2037572860717773, -0.3208485245704651, -0.016042599454522133, -0.4556460976600647, 0.6516854166984558, -0.18252545595169067, -0.2121124267578125, 0.05434858053922653, -0.400887668132782, -1.0017529726028442, 0.6472529768943787, 0.2890850305557251, -0.37162813544273376, -0.016398577019572258, 0.3414310812950134, 0.5309975743293762, -0.49329298734664917, 0.13434569537639618, 0.4567511975765228, 0.2733936607837677, 0.3864578604698181, -1.0820655822753906, -0.044158075004816055, -0.14239902794361115, 0.34674501419067383, -0.03393130004405975, -0.22595931589603424, 1.2233097553253174, 0.0694475844502449, -0.34664061665534973, 0.13088901340961456, 0.7384653687477112, 0.30824777483940125, 0.3443411588668823, 0.45308706164360046, 0.08426707983016968, 0.501297116279602, 0.07589387148618698, 1.0370733737945557, -0.4896791875362396, -0.009547006338834763, 1.1193732023239136, -0.2633472979068756, 0.50691157579422, 0.5944852232933044, 0.08220653235912323, 0.5987124443054199, 0.7424523830413818, 0.3991227149963379, 0.8581627607345581, 0.13190647959709167, -0.26857805252075195, -0.1301112323999405, -0.4475853145122528, -0.626086413860321, 0.32918035984039307, 0.5151078104972839, -0.5148932933807373, -0.025640463456511497, 0.5043472647666931, -0.05389334633946419, 0.057980045676231384, -0.2963985800743103, 1.0816259384155273, 0.19867771863937378, -0.949587881565094, 0.8797390460968018, -0.10161984711885452, 0.21101818978786469, -0.51088947057724, 0.1137453094124794, -0.16317766904830933, -0.3188014030456543, -0.18049484491348267, -0.6560054421424866, 0.23426376283168793, -0.19680005311965942, -0.30732962489128113, -0.3148967921733856, 0.6297461986541748, -0.5785820484161377, -0.077558234333992, -0.049193765968084335, 0.5221331715583801, 0.1242687776684761, 0.13133081793785095, -0.31204408407211304, 0.1986244171857834, -0.28841161727905273, -0.4177955985069275, 0.3728163540363312, 0.5386368036270142, 0.013196492567658424, 0.3931358754634857, 0.8155784010887146, 0.11724159866571426, 0.12657058238983154, 0.2238740473985672, 0.59666907787323, -0.6565290689468384, -0.7113643288612366, -0.8626388311386108, 0.27716144919395447, 0.3823448121547699, -0.11497144401073456, 0.8635968565940857, 0.2665669918060303, 0.5487180352210999, -0.08623367547988892, 0.7037568688392639, 0.2034078985452652, 0.41386154294013977, -1.0593936443328857, 0.6108571887016296, -0.23868520557880402, 0.3153102695941925, -0.2681618928909302, -1.0352213382720947, 0.1518150418996811, 0.2625819146633148, -0.020523540675640106, -0.10805254429578781, 0.5541784167289734, 0.7695829272270203, 0.2642538845539093, 0.16849541664123535, 0.38874778151512146, 0.04362335801124573, 0.3410337269306183, 0.22089239954948425, 1.1325328350067139, -0.03427228704094887, 0.07939402014017105, -0.3115948736667633, 0.005474964622408152, -0.007769455201923847, -0.8491750955581665, -0.6541867256164551, -0.888433039188385, -0.2539371848106384, -0.4165596663951874, -0.14065074920654297, 1.2421612739562988, 0.596399188041687, -0.7884200811386108, -0.35677772760391235, -0.046110399067401886, 0.10116328299045563, 0.16165880858898163, -0.24655702710151672, 0.3577284514904022, -0.5732821226119995, -0.6277107000350952, 0.9344186782836914, 0.1076434999704361, 0.38888734579086304, -0.3679165542125702, -0.14432445168495178, 0.2180306613445282, 0.4127453565597534, 0.6257584691047668, 0.2706088423728943, -0.9188127517700195, -0.22494596242904663, 0.2351575493812561, -0.2617815434932709, 0.07447849959135056, 0.9373711347579956, -0.9960842728614807, 0.4544079005718231, 0.8535187840461731, 0.3187936246395111, 0.017890678718686104, -0.06375447660684586, 0.7296240925788879, -0.7880088090896606, 0.34284234046936035, 0.3568468987941742, 0.4667049050331116, 0.308297336101532, -0.18513399362564087, 0.022769849747419357, 0.1242457702755928, -0.6930261254310608, -0.8658459186553955, 0.3601525127887726, -0.997941255569458, -0.4939444065093994, 1.4492616653442383, 0.05266265943646431, -0.31540146470069885, -0.0008735712035559118, -0.33333298563957214, 0.4240300953388214, -0.7576379179954529, 0.2468307763338089, 0.6061342358589172, -0.34010055661201477, -0.02805711142718792, -0.5721433758735657, 0.7579948902130127, 0.3984236419200897, -0.35313040018081665, -0.09530758112668991, 0.8658318519592285, 0.2796202003955841, 0.05622382089495659, 0.38909104466438293, -0.11203539371490479, 0.3075862526893616, -0.0072328136302530766, 0.0076720076613128185, -0.17325924336910248, -0.39439091086387634, -0.6756899356842041, 0.17917345464229584, 0.22538498044013977, 0.001020680065266788 ]
http://arxiv.org/abs/2403.12393v1
http://arxiv.org/pdf/2403.12393v1
Dr3: Ask Large Language Models Not to Give Off-Topic Answers in Open Domain Multi-Hop Question Answering
2024-03-19T03:00:03
2024-03-19T03:00:03
Yuan Gao, Yiheng Zhu, Yuanbin Cao, Yinzhi Zhou, Zhen Wu, Yujie Chen, Shenglan Wu, Haoyuan Hu, Xinyu Dai
cs.CL
cs.CL
Open Domain Multi-Hop Question Answering (ODMHQA) plays a crucial role in Natural Language Processing (NLP) by aiming to answer complex questions through multi-step reasoning over retrieved information from external knowledge sources. Recently, Large Language Models (LLMs) have demonstrated remarkable performance in solving ODMHQA owing to their capabilities including planning, reasoning, and utilizing tools. However, LLMs may generate off-topic answers when attempting to solve ODMHQA, namely the generated answers are irrelevant to the original questions. This issue of off-topic answers accounts for approximately one-third of incorrect answers, yet remains underexplored despite its significance. To alleviate this issue, we propose the Discriminate->Re-Compose->Re- Solve->Re-Decompose (Dr3) mechanism. Specifically, the Discriminator leverages the intrinsic capabilities of LLMs to judge whether the generated answers are off-topic. In cases where an off-topic answer is detected, the Corrector performs step-wise revisions along the reversed reasoning chain (Re-Compose->Re-Solve->Re-Decompose) until the final answer becomes on-topic. Experimental results on the HotpotQA and 2WikiMultiHopQA datasets demonstrate that our Dr3 mechanism considerably reduces the occurrence of off-topic answers in ODMHQA by nearly 13%, improving the performance in Exact Match (EM) by nearly 3% compared to the baseline method without the Dr3 mechanism.
[ -0.6832166314125061, -1.1269091367721558, 0.7548547387123108, -0.2737090587615967, -0.1590815633535385, 0.013465152122080326, 0.05022522434592247, -0.3095206618309021, -0.14679941534996033, 0.7391995787620544, -0.684613049030304, -0.16432960331439972, -0.4103134870529175, 0.17382609844207764, -0.04168037697672844, 0.8221865892410278, -0.3788638114929199, -0.3206741511821747, -0.31394386291503906, -0.307005912065506, -0.3745720684528351, -0.4203607141971588, -0.7696358561515808, -0.003451647236943245, 0.5184215903282166, 0.5682200193405151, 0.6744412183761597, 0.6944859027862549, 0.4547055661678314, 0.18352580070495605, -0.20615743100643158, 0.3377344310283661, -0.5445690155029297, 0.30741798877716064, -0.1509362906217575, -0.5774206519126892, -0.7189620137214661, -0.03497571870684624, 0.3939339518547058, 0.7921020984649658, -0.3312292695045471, 0.292108416557312, -0.18481555581092834, 0.8663049340248108, -0.7190306186676025, -0.04250061884522438, -0.6714014410972595, -0.0655122920870781, -0.421686589717865, -0.4804963767528534, -0.45851436257362366, -0.283963680267334, 0.0019460923504084349, -0.6045345067977905, 0.43116262555122375, 0.015611100010573864, 0.5481245517730713, 0.4173116087913513, -0.30910828709602356, -0.07491836696863174, -0.806331217288971, 0.6987587213516235, -0.7134054899215698, 0.3032967150211334, 0.5930249094963074, 0.235732302069664, -0.1614341288805008, -0.3991342782974243, -0.7469027042388916, 0.21552123129367828, 0.09910877794027328, 0.06445932388305664, -0.28486472368240356, -0.03449076786637306, 0.3261469900608063, 0.24035954475402832, -0.8462600111961365, 0.1220371425151825, -0.2949764132499695, -0.132480651140213, 0.38692548871040344, 0.20462746918201447, 0.0706719309091568, 0.27549296617507935, -0.200364351272583, 0.10134141892194748, -1.0144442319869995, -0.05892051011323929, 0.2336416244506836, 0.32657358050346375, 0.18597999215126038, 0.7265481352806091, -0.07714813947677612, 0.902562141418457, 0.268783301115036, -0.10478830337524414, 0.20541372895240784, -0.3579811155796051, -0.1129395142197609, -0.12982811033725739, 0.5398173332214355, 0.15081921219825745, 0.20719720423221588, -0.01502066757529974, -0.15342946350574493, -0.33036428689956665, 0.2842255234718323, -0.7410110831260681, 0.07371204346418381, 0.6032531261444092, -0.5223633646965027, 0.02544974349439144, -0.13057765364646912, -0.9626531600952148, -0.2228238433599472, 0.124564528465271, 0.5238951444625854, -0.0984051376581192, -0.3318965435028076, 0.328583300113678, -0.05463341996073723, -0.023090334609150887, 0.47761937975883484, -0.6105024814605713, 0.40583664178848267, 0.656850278377533, 0.7284353971481323, -0.020705323666334152, -0.27331826090812683, -0.9079596996307373, 0.17372730374336243, -0.44773778319358826, 0.5937941074371338, -0.3979097008705139, -0.18282340466976166, 0.010064358823001385, -0.08137521892786026, -0.05818257853388786, -0.6945428848266602, 0.4709039032459259, -1.1816190481185913, 0.5402519106864929, -0.2620956003665924, -0.43486693501472473, -0.23247061669826508, 0.2899474501609802, -0.8665467500686646, 0.8781120777130127, 0.09624279290437698, -0.993013858795166, 0.1517099291086197, -1.0406287908554077, -0.26848113536834717, -0.3048764169216156, 0.013588720001280308, -0.42933356761932373, -0.07480596005916595, 0.3976825177669525, 0.2515583634376526, -0.5118604898452759, 0.16229301691055298, -0.41461196541786194, -0.23974065482616425, 0.06689729541540146, -0.309950590133667, 0.6960901618003845, 0.2306472659111023, -0.4063175320625305, 0.06091097369790077, -0.6203177571296692, -0.0942738726735115, 0.41841813921928406, -0.31573110818862915, -0.5004843473434448, -0.037438105791807175, -0.646353542804718, 0.5045273303985596, -0.043767333030700684, -0.8574150204658508, 0.05616626515984535, -0.3710503578186035, 0.4144931733608246, 0.686281144618988, 0.11850015819072723, 0.4093727171421051, -0.5585697889328003, 0.6577991843223572, 0.2344372719526291, -0.06583260744810104, -0.06400175392627716, -0.9594675302505493, -0.5299822688102722, -0.19702811539173126, 0.0694570317864418, 0.401752233505249, -0.9506277441978455, 0.10307058691978455, -0.22266365587711334, -0.3796439468860626, -0.7020464539527893, -0.1481899619102478, 0.38982975482940674, 0.5834057927131653, 0.8215997219085693, -0.02065255120396614, -0.39416196942329407, -0.6323562264442444, -0.12707947194576263, -0.34771719574928284, 0.10206346213817596, 0.2600891888141632, 0.6150087714195251, 0.04323859140276909, 1.2035011053085327, -0.9650744795799255, -0.27333182096481323, -0.2481590062379837, 0.14783062040805817, 0.22616466879844666, 0.19502867758274078, 0.4351266622543335, -0.9525507688522339, -0.25166040658950806, -0.38541755080223083, -0.439040869474411, -0.08484872430562973, 0.16954730451107025, -0.07470820099115372, 0.39639246463775635, 0.4964207708835602, -1.059598684310913, 0.4663521647453308, 0.3449808657169342, -0.27502524852752686, 0.44769057631492615, -0.21982097625732422, 0.23857712745666504, -0.6715047955513, 0.3251621425151825, -0.2659350335597992, -0.027933334931731224, -0.7745782732963562, 0.2970936596393585, 0.02461906336247921, -0.06645774841308594, -0.37811601161956787, 0.5865713953971863, -0.34779563546180725, 0.09374412149190903, -0.1946427971124649, 0.3857698142528534, 0.3817901313304901, 0.3746984899044037, 0.314643532037735, 0.6138972640037537, 0.29144322872161865, -0.7394323348999023, 0.23667767643928528, 0.5937719941139221, -0.173508420586586, 0.3925231695175171, -0.618882954120636, 0.3081294298171997, -0.3070402145385742, 0.5141134858131409, -1.0248908996582031, 0.10202398896217346, 0.3344433605670929, -0.5336664319038391, 0.25189730525016785, -0.240575909614563, -0.4710627496242523, -0.5664862394332886, -0.3841768801212311, 0.7172420024871826, 0.2163650542497635, -0.6569911241531372, 0.335423082113266, 0.4072625935077667, -0.16383349895477295, -0.6950589418411255, -0.6476128101348877, -0.27259939908981323, -0.29536187648773193, -0.6732974052429199, 0.43164145946502686, -0.23667731881141663, -0.30667397379875183, 0.07054665684700012, -0.2543821334838867, -0.30958324670791626, 0.09092418104410172, -0.251206636428833, 0.20036739110946655, -0.43687334656715393, 0.06266672909259796, -0.14033201336860657, -0.09015380591154099, 0.2171827256679535, -0.16072818636894226, 0.5782273411750793, 0.43484923243522644, -0.4127999544143677, -0.09212182462215424, 0.692609429359436, 0.7813591957092285, -0.5694653391838074, 0.9970096349716187, 0.4980115294456482, -0.29278188943862915, -0.14420883357524872, -0.35322636365890503, -0.3597506582736969, -0.4055386781692505, 0.41375502943992615, -0.6433060765266418, -1.0924115180969238, 0.3791396915912628, 0.25804734230041504, 0.36927154660224915, 0.3976011872291565, 0.6408880949020386, 0.070799320936203, 1.102622389793396, 0.272037535905838, 0.2543497681617737, -0.16624076664447784, 0.06384812295436859, 0.48637545108795166, -0.9125540852546692, -0.20742715895175934, -0.854231595993042, 0.12168706953525543, -0.3935598134994507, -0.7469611763954163, 0.26497817039489746, 0.04973975941538811, -0.3093763291835785, 0.17287467420101166, -0.17369332909584045, 0.1115499809384346, 0.489053875207901, 0.004049318376928568, 0.3833411633968353, -0.32335126399993896, 0.06267991662025452, 0.20822204649448395, -0.7776893973350525, -0.244802325963974, 1.0200443267822266, 0.5091403722763062, 0.7943545579910278, 0.5774034261703491, 0.4877949357032776, 0.13027188181877136, -0.08236168324947357, -0.6094151735305786, 0.5866021513938904, 0.08466359972953796, -0.9213452339172363, -0.4820685386657715, -0.9022607803344727, -0.9315648078918457, 0.385489284992218, 0.14276623725891113, -0.49974900484085083, 0.11712457984685898, 0.19231894612312317, -0.41774940490722656, 0.6591776609420776, -0.31432265043258667, 0.7468100786209106, 0.137045755982399, -0.2936384379863739, -0.10332915186882019, -0.6597705483436584, 0.467245489358902, -0.4605371654033661, 0.45766502618789673, -0.031039120629429817, -0.14507053792476654, 0.8775254487991333, -0.49082884192466736, 0.6957718133926392, -0.40706369280815125, -0.6554005742073059, 0.39881959557533264, 0.25423261523246765, 0.4937087297439575, 0.03507550060749054, -0.13437312841415405, 0.1220320537686348, 0.060702502727508545, -0.3140292167663574, -0.6904522180557251, 0.6724504232406616, -0.679248034954071, -0.933054506778717, -0.31725236773490906, -0.3427419066429138, -0.3407246470451355, 0.1282186508178711, 0.14405228197574615, 0.5363087058067322, 0.08176607638597488, -0.18568763136863708, 0.82893967628479, -0.29072895646095276, 0.2275265008211136, 0.800041675567627, -0.36719977855682373, -0.3157999813556671, 0.579646646976471, -0.019801631569862366, 0.6658032536506653, 0.593201756477356, 0.3470258414745331, -0.4743328094482422, -0.5781251788139343, -0.7892388701438904, 0.3389204144477844, -0.8319472670555115, -0.260229229927063, -0.868638277053833, -0.03391019254922867, -0.4160710871219635, 0.15733222663402557, -0.3052310049533844, -0.5362336039543152, -0.15687072277069092, 0.09420928359031677, 0.32666441798210144, 0.5012670159339905, -0.21704530715942383, -0.18567253649234772, -1.013936161994934, 0.9169419407844543, 0.39205408096313477, 0.3973102569580078, 0.10045204311609268, -0.8552045822143555, -0.08967337012290955, 0.29771631956100464, -0.21829888224601746, -0.7792243957519531, 0.015878209844231606, 0.2998735308647156, 0.592477023601532, 0.19724269211292267, 0.46366265416145325, 0.7416185736656189, -0.6914494037628174, 0.695345938205719, -0.19694051146507263, -0.7942437529563904, 0.586820662021637, -0.24328871071338654, 0.38139382004737854, 0.3030232787132263, 0.7768736481666565, -0.35557907819747925, -0.5135610699653625, -0.32844167947769165, -0.8522655963897705, 1.0451223850250244, 0.2997468411922455, -0.22166499495506287, -0.09869406372308731, 0.3600907325744629, 0.25225743651390076, 0.13612540066242218, -0.5750017762184143, -0.572019636631012, -0.1119811087846756, 0.2765389680862427, 0.11897845566272736, -0.28784966468811035, -0.2752675414085388, 0.07029788196086884, 0.7663439512252808, -0.08153349906206131, 0.37344980239868164, 0.21863524615764618, 0.0673242062330246, -0.5465202927589417, 0.3846451938152313, 0.5461045503616333, 0.6903745532035828, -0.5672768950462341, 0.32157382369041443, -0.2260557860136032, -0.4695607125759125, 0.28885605931282043, -0.012800399214029312, -0.21664680540561676, -0.14218078553676605, 0.41340696811676025, 0.40961113572120667, -0.4444233775138855, -0.6430245637893677, 0.4815000295639038, -0.1944291740655899, -0.3984759747982025, 0.09892105311155319, -0.06970550864934921, -0.13547103106975555, -0.09994292259216309, 0.339270681142807, 0.24449390172958374, 0.07429082691669464, -0.6013619303703308, 0.20473292469978333, 0.24069364368915558, -0.4142521321773529, -0.24191994965076447, 0.640376091003418, 0.11037755757570267, -0.07664547860622406, 0.609035074710846, -0.09173097461462021, -0.5334851145744324, 0.4689401090145111, 0.711832582950592, 0.5907185077667236, -0.3083820343017578, 0.25701361894607544, 0.4291231036186218, 0.26477375626564026, -0.06723387539386749, 0.4451097548007965, 0.1967034637928009, -0.925379753112793, -0.6732472777366638, -0.3649127185344696, -0.3265557885169983, 0.32393598556518555, -0.8935583233833313, 0.10303107649087906, -0.06116597354412079, 0.0005776582402177155, 0.033065054565668106, -0.41136613488197327, -0.24408768117427826, 0.2766340672969818, -0.022582294419407845, 0.8840959072113037, -0.6213316321372986, 0.7389287948608398, 0.6437205076217651, -0.31179988384246826, -0.3702678084373474, 0.38157543540000916, 0.0684780552983284, -0.5070592164993286, 0.6181142926216125, 0.07475659996271133, -0.3169710338115692, 0.14536240696907043, -0.28643471002578735, -0.905997633934021, 0.6041861176490784, 0.23370404541492462, -0.21989333629608154, 0.1569516807794571, 0.2701890766620636, 0.20885702967643738, 0.019679812714457512, 0.3362586200237274, 0.5375353693962097, 0.6088228225708008, 0.17709484696388245, -1.072380542755127, 0.35016655921936035, -0.0482710525393486, -0.4368957579135895, 0.5013673901557922, -0.3742365539073944, 0.9210232496261597, -0.6847160458564758, -0.19022586941719055, 0.10758943855762482, 0.2065969854593277, 0.39954015612602234, 0.09049119800329208, 0.6623565554618835, 0.5974483489990234, 0.5480360388755798, -0.07228883355855942, 0.785224974155426, 0.15319988131523132, 0.2915881872177124, 1.1511377096176147, -0.5474300384521484, 0.9341191053390503, 0.5436425805091858, -0.20764589309692383, 0.2591884434223175, 0.5367329120635986, 0.39185830950737, 0.8340570330619812, 0.3828532099723816, -0.14038845896720886, -0.3508627116680145, 0.13156981766223907, -0.5193081498146057, 0.6764709949493408, 0.1592811644077301, 0.0662631168961525, -0.4100267291069031, -0.04935327544808388, 0.2558349668979645, 0.10316435247659683, -0.23816733062267303, 0.752564013004303, -0.03625807911157608, -0.9127969145774841, 0.8871922492980957, 0.2688564658164978, 0.300099641084671, -0.5982537865638733, -0.2515605092048645, -0.26511093974113464, 0.2461797446012497, -0.1559697389602661, -1.0471056699752808, 0.5800600051879883, 0.04779966548085213, -0.47937867045402527, -0.1682380735874176, 0.20722150802612305, -0.36531952023506165, 0.05147659778594971, 0.4237765371799469, 0.7877992987632751, -0.13273857533931732, -0.2113082855939865, -0.6936785578727722, -0.17162472009658813, -0.018513843417167664, -0.2440239042043686, 0.34615960717201233, 0.7254543900489807, -0.11143379658460617, 0.7598084211349487, 0.6486044526100159, -0.08039914816617966, -0.22420841455459595, 0.0692143663764, 1.044478178024292, -0.39866653084754944, -0.4773619771003723, -0.9499120712280273, 0.30574870109558105, 0.1740029901266098, -0.21702060103416443, 0.7625700235366821, 0.5441005825996399, 0.7601409554481506, -0.07116169482469559, 0.688572108745575, -0.2947518527507782, 0.872890055179596, -0.6089196801185608, 0.5359964370727539, -0.812136173248291, 0.4474024176597595, -0.452333003282547, -0.7735561728477478, -0.48139557242393494, 0.37099844217300415, -0.2128303200006485, 0.15413661301136017, 0.8202022910118103, 0.846076488494873, 0.00959246139973402, 0.07488489896059036, 0.3244291841983795, 0.34613150358200073, 0.5355890989303589, 0.40524229407310486, 0.9881543517112732, -0.25042545795440674, 0.7513747811317444, -0.22732174396514893, -0.27734947204589844, -0.15228015184402466, -0.717258632183075, -0.8633328080177307, -0.5381227135658264, -0.49559158086776733, -0.4908953011035919, -0.07010962069034576, 0.5551925897598267, 0.47273290157318115, -0.8259381651878357, -0.05833303555846214, 0.055548034608364105, 0.16427360475063324, -0.395886093378067, -0.2365381419658661, 0.5614516139030457, -0.08268275111913681, -0.27552565932273865, 0.49728068709373474, 0.347087025642395, -0.30284690856933594, -0.23383694887161255, 0.101744145154953, -0.42177557945251465, 0.08415663242340088, 0.560884416103363, 0.20097313821315765, -0.7127609848976135, -0.3361184000968933, 0.2206355333328247, 0.18290020525455475, 0.2812448740005493, 0.8050974011421204, -0.5820206999778748, 0.3863282799720764, 0.5583093166351318, 0.5536990165710449, 0.26423004269599915, 0.14451013505458832, 0.615096926689148, -0.5688221454620361, -0.24816426634788513, 0.33896610140800476, 0.2844875156879425, 0.15510332584381104, -0.17459219694137573, 0.34742751717567444, 0.17617389559745789, -0.6164103150367737, -0.6889193654060364, 0.43069013953208923, -0.6230833530426025, -0.4742099642753601, 1.1264158487319946, -0.3912128806114197, -0.047469135373830795, -0.7718319296836853, -0.18732507526874542, 0.020945588126778603, -0.2734833061695099, 0.6936047673225403, 0.29435276985168457, -0.16389168798923492, -0.22268594801425934, -0.5939921140670776, 0.48994189500808716, 0.31294146180152893, -0.9150978922843933, 0.409950315952301, 0.3690603971481323, 0.1445431113243103, 0.2696376144886017, 0.840279757976532, -0.258910596370697, 0.33001360297203064, -0.17187903821468353, -0.15037685632705688, -0.06134907901287079, -0.3291603624820709, -0.11928390711545944, 0.4482749104499817, 0.21673575043678284, -0.4025784432888031 ]
http://arxiv.org/abs/2403.12392v1
http://arxiv.org/pdf/2403.12392v1
AraPoemBERT: A Pretrained Language Model for Arabic Poetry Analysis
2024-03-19T02:59:58
2024-03-19T02:59:58
Faisal Qarah
cs.CL
cs.CL, cs.AI
Arabic poetry, with its rich linguistic features and profound cultural significance, presents a unique challenge to the Natural Language Processing (NLP) field. The complexity of its structure and context necessitates advanced computational models for accurate analysis. In this paper, we introduce AraPoemBERT, an Arabic language model pretrained exclusively on Arabic poetry text. To demonstrate the effectiveness of the proposed model, we compared AraPoemBERT with 5 different Arabic language models on various NLP tasks related to Arabic poetry. The new model outperformed all other models and achieved state-of-the-art results in most of the downstream tasks. AraPoemBERT achieved unprecedented accuracy in two out of three novel tasks: poet's gender classification (99.34\% accuracy), and poetry sub-meter classification (97.79\% accuracy). In addition, the model achieved an accuracy score in poems' rhyme classification (97.73\% accuracy) which is almost equivalent to the best score reported in this study. Moreover, the proposed model significantly outperformed previous work and other comparative models in the tasks of poems' sentiment analysis, achieving an accuracy of 78.95\%, and poetry meter classification (99.03\% accuracy), while significantly expanding the scope of these two problems. The dataset used in this study, contains more than 2.09 million verses collected from online sources, each associated with various attributes such as meter, sub-meter, poet, rhyme, and topic. The results demonstrate the effectiveness of the proposed model in understanding and analyzing Arabic poetry, achieving state-of-the-art results in several tasks and outperforming previous works and other language models included in the study. AraPoemBERT model is publicly available on \url{https://huggingface.co/faisalq}.
[ -0.23109160363674164, -0.46977493166923523, 0.13562671840190887, 0.517437756061554, -0.3302662670612335, -0.023480180650949478, -0.14543747901916504, -0.5888519883155823, 0.12326116859912872, 0.623375415802002, -0.1031695157289505, -0.82216876745224, -1.1695152521133423, 0.09956426173448563, -0.6679017543792725, 1.114681363105774, -0.3254566192626953, -0.11280299723148346, 0.1537821739912033, -0.3685106933116913, -0.27855101227760315, -0.5854504108428955, -0.6373904347419739, -0.3337083160877228, 0.28912997245788574, 0.026940489187836647, 0.7834010720252991, 0.14766795933246613, 0.3845503032207489, 0.2944425344467163, -0.16462711989879608, 0.1376192420721054, 0.06850653141736984, 0.11020375043153763, 0.22197391092777252, -0.48318567872047424, -0.6030580401420593, 0.5040014982223511, 0.6245940327644348, 0.6338018178939819, -0.383706271648407, 0.3221793472766876, 0.13623496890068054, 0.9643881320953369, -0.8571321368217468, -0.1037391945719719, -0.5324351191520691, 0.16648967564105988, -0.30591967701911926, -0.053938381373882294, -0.2877519726753235, -0.3499908149242401, 0.22496819496154785, -0.25604721903800964, 0.007072645239531994, -0.08162522315979004, 0.7666321396827698, 0.3948805332183838, -0.3778315484523773, -0.5843448638916016, -0.7040678858757019, 0.6985991597175598, -0.5404419898986816, 0.23389391601085663, 0.48599666357040405, 0.28242725133895874, 0.00340819894336164, -0.9341589212417603, -0.5238005518913269, -0.5675486922264099, 0.11902095377445221, 0.24661171436309814, -0.6380726099014282, -0.27008840441703796, -0.18702968955039978, 0.18336370587348938, -0.511049211025238, -0.2402113825082779, -0.04331311210989952, -0.003531438997015357, 0.43865352869033813, -0.09983593970537186, 0.5348455905914307, -0.22965452075004578, -0.28435930609703064, 0.15712538361549377, -0.2622094750404358, 0.3981497585773468, 0.63295978307724, -0.0382760651409626, -0.2007473111152649, 0.4510544538497925, -0.12179068475961685, 0.8094115853309631, -0.4810836911201477, 0.0019014518475160003, 0.2761361300945282, 0.3447304964065552, 0.07786360383033752, 0.10229882597923279, 0.9390851259231567, 0.09820292890071869, 0.5560182929039001, -0.05956871435046196, -0.24943576753139496, 0.3710883557796478, 0.39605727791786194, -0.669720470905304, -0.6869011521339417, 0.31711095571517944, -0.5279079675674438, -0.36619797348976135, -0.2024374157190323, -0.25256335735321045, -0.20793797075748444, -0.09191763401031494, 0.30570000410079956, -0.5751467943191528, -0.22837568819522858, 0.3238714039325714, 0.05475747957825661, -0.19735604524612427, 0.30859026312828064, -0.4064697325229645, 0.3381746709346771, 0.7015124559402466, 1.239707589149475, -0.1744629591703415, -0.4729021489620209, -0.5542834997177124, -0.2295447587966919, -0.4556340277194977, 0.7856834530830383, -0.8699653744697571, 0.1399562656879425, -0.0027097684796899557, -0.4830279052257538, -0.03439876437187195, -0.3590770363807678, 1.0837044715881348, -0.5291091799736023, -0.03293374180793762, 0.3973684012889862, -0.5596466660499573, -0.2552972435951233, 0.2524457573890686, -0.9318755269050598, 0.8575462698936462, -0.14815206825733185, -1.0666884183883667, -0.11932821571826935, -0.7284623384475708, 0.07581248134374619, -0.028053177520632744, -0.13500063121318817, -0.4187605082988739, 0.04842543229460716, 0.24353864789009094, 0.4071686267852783, -0.3368128836154938, 0.004572748672217131, 0.09356550872325897, -0.36206167936325073, 0.4724453091621399, -0.18366797268390656, 0.9185405969619751, 0.3414838910102844, -0.23241406679153442, -0.08118886500597, -0.8060883283615112, -0.018676113337278366, 0.17944374680519104, -0.1082804799079895, -0.23447160422801971, -0.06763086467981339, 0.3754977583885193, 0.2548695206642151, 0.14920519292354584, -0.5733227729797363, 0.022314289584755898, -0.6549831628799438, 0.43133142590522766, 0.3824213743209839, -0.33792802691459656, 0.3017744719982147, -0.3992898166179657, 1.1613200902938843, -0.23161965608596802, -0.1131434515118599, 0.13446848094463348, -0.5758618712425232, -0.4657130837440491, -0.5796550512313843, 0.7880873084068298, 0.5982198715209961, -0.36073651909828186, 0.6004402041435242, -0.09067349880933762, -1.0007320642471313, -0.8235316872596741, 0.0492682084441185, 0.17687223851680756, 0.36987268924713135, 0.2818702757358551, -0.5540173053741455, -0.40574243664741516, -0.6091679930686951, -0.5817693471908569, -0.12535996735095978, 0.3270106911659241, -0.00010992249008268118, 0.3975525200366974, -0.4274788200855255, 0.8332650661468506, -0.3969084322452545, -0.3303524851799011, -0.598398745059967, 0.7726589441299438, 0.37158429622650146, 0.4573488235473633, 0.7938095927238464, -0.59430992603302, -0.5645480155944824, -0.11698872596025467, -0.46240898966789246, -0.4954841434955597, 0.40664082765579224, -0.33108824491500854, 0.1159101128578186, 0.05169645696878433, -0.667053759098053, 0.53472900390625, 0.8300585746765137, -0.16374194622039795, 0.6790628433227539, 0.033171314746141434, -0.0025504333898425102, -0.8336268663406372, 0.26472318172454834, -0.1474480926990509, -0.18312394618988037, -0.6978808641433716, 0.22804710268974304, -0.11856485158205032, -0.3522305488586426, -0.42516398429870605, 0.5964269042015076, -0.11755693703889847, 0.1800006777048111, -0.806700587272644, -0.08515918254852295, -0.027622591704130173, 0.21707956492900848, 0.08482986688613892, 0.5653538703918457, 0.7638469338417053, -0.3069898784160614, 0.3773548901081085, 0.26249513030052185, -0.551753044128418, 0.0468723364174366, -0.7304854989051819, 0.26252281665802, -0.4119025468826294, 0.42283424735069275, -1.1219463348388672, 0.2639331519603729, 0.2911682426929474, -0.7235302925109863, -0.1646180897951126, -0.32827967405319214, -0.5413422584533691, 0.20224666595458984, -0.07306931167840958, 0.7042257785797119, 0.5836827158927917, -0.2286042720079422, 0.9855464696884155, 0.1718490570783615, -0.35038331151008606, -0.8927391171455383, -0.20435090363025665, 0.035476408898830414, -0.2092626988887787, -0.47526848316192627, 0.08575023710727692, 0.17577491700649261, -0.05897053703665733, -0.06277048587799072, -0.007577066775411367, -0.23442405462265015, 0.31373247504234314, 0.40112242102622986, 0.12221292406320572, 0.22036366164684296, 0.41722995042800903, -0.28844743967056274, -0.4316256642341614, 0.07662953436374664, -0.27946433424949646, 1.0649255514144897, -0.2477705031633377, -0.09472139179706573, -0.7434602379798889, 0.4891512095928192, 0.3540174961090088, -0.866157591342926, 0.9970987439155579, 0.983490526676178, -0.24135535955429077, -0.1269931048154831, -0.26480525732040405, 0.40250325202941895, -0.3723975419998169, 0.24454274773597717, -0.19911272823810577, -0.621275782585144, 0.2834707498550415, -0.27018341422080994, -0.05035693570971489, 0.4311368465423584, 0.38329580426216125, -0.19483155012130737, 1.006047010421753, 0.728238582611084, -0.3663969933986664, 0.2882997989654541, -0.391472727060318, 0.18262456357479095, -0.7643470168113708, 0.14495472609996796, -0.8582062721252441, -0.45059117674827576, -0.6713975667953491, -0.07411698251962662, 0.3679036796092987, 0.3259296715259552, -0.2363712638616562, 0.10196740925312042, -0.42625904083251953, 0.17789454758167267, 0.41329774260520935, -0.12198285758495331, 0.1835392713546753, 0.1512538641691208, -0.1767423152923584, -0.03754991292953491, -0.4597874581813812, -0.9655963778495789, 1.4087095260620117, 0.19457218050956726, 0.44848477840423584, 0.34747540950775146, 0.7302799224853516, 0.5971121191978455, 0.3421514332294464, -0.6064143776893616, 0.323322594165802, -0.34874922037124634, -0.38248172402381897, -0.03211243078112602, -0.20982994139194489, -1.1645475625991821, 0.17086894810199738, -0.34697842597961426, -0.6020081043243408, -0.35727161169052124, 0.22072376310825348, -0.24783633649349213, 0.06396994739770889, -0.40767621994018555, 0.8049129247665405, -0.19917340576648712, 0.11854927241802216, -0.09399016201496124, -0.4137846827507019, 0.0709175243973732, -0.18301931023597717, 0.3568319082260132, -0.3791828155517578, -0.2417333871126175, 0.960113525390625, -0.47136783599853516, 0.4769068956375122, -0.02526966854929924, -0.06256785988807678, 0.34355923533439636, 0.16301199793815613, 0.6504765748977661, -0.20637838542461395, -0.3843272030353546, 0.3583240211009979, -0.013372940942645073, -0.7872893810272217, -0.6815674901008606, 0.43003755807876587, -1.2131969928741455, -0.26085397601127625, -0.7057635188102722, -0.34831902384757996, -0.023267529904842377, -0.05986964330077171, 0.4214071035385132, 0.47410547733306885, 0.02752186357975006, -0.011851596646010876, 0.02154611423611641, -0.16464804112911224, 0.27995142340660095, 0.5312730669975281, -0.4667743146419525, -0.3331843316555023, 0.41284382343292236, 0.09559357911348343, -0.16737531125545502, 0.3202379643917084, 0.23614723980426788, -0.22247713804244995, -0.6622496247291565, -0.27098965644836426, 0.08548467606306076, -0.678525447845459, 0.06072770059108734, -0.9654233455657959, -0.39513933658599854, -0.3077632486820221, 0.11139032244682312, -0.4855096936225891, -0.40697669982910156, 0.018089786171913147, 0.21482433378696442, 0.41329964995384216, 0.38112694025039673, 0.12494499981403351, 0.5855770707130432, -0.9436589479446411, 0.18084242939949036, 0.19968156516551971, 0.14914903044700623, 0.21819990873336792, -0.7380673885345459, -0.08005516231060028, -0.29650530219078064, -0.2922731041908264, -1.0364253520965576, 0.6011570692062378, 0.33679619431495667, 0.1341274082660675, 0.12638665735721588, 0.12252289056777954, 0.29446080327033997, -0.7435618042945862, 0.4922908544540405, 0.14696115255355835, -1.0514219999313354, 0.7888939380645752, -0.06097106263041496, 0.3563511073589325, 0.4377061724662781, 0.710258424282074, -0.6110967397689819, -0.49028801918029785, -0.6012860536575317, -0.9013090133666992, 0.5081945657730103, 0.9009613990783691, 0.15242868661880493, 0.08245152980089188, 0.5939180850982666, 0.23573313653469086, 0.3416495621204376, -0.7908884882926941, -0.3943445086479187, -0.21601220965385437, -0.48941633105278015, -0.3285888135433197, -0.1115279421210289, 0.033583272248506546, -0.39318254590034485, 0.7054458856582642, 0.27582651376724243, 0.27009493112564087, 0.12700948119163513, -0.43065956234931946, 0.10430463403463364, 0.2500922381877899, 0.26366472244262695, 0.7533268332481384, -0.17127129435539246, 0.32669875025749207, -0.055539071559906006, -0.7087604403495789, 0.22246883809566498, 0.2814651131629944, -0.04757988452911377, 0.1046881377696991, 0.8933417797088623, 0.6275139451026917, -0.5232400298118591, -0.9709052443504333, 0.6703804731369019, -0.14146408438682556, 0.2593902051448822, -0.8307620882987976, 0.17364731431007385, 0.01176040805876255, 0.27650195360183716, 0.24715296924114227, 0.36483144760131836, 0.38590723276138306, -0.36850517988204956, 0.03616192191839218, 0.3595421016216278, -0.4276658892631531, -0.21834523975849152, 0.5126311182975769, 0.01241083350032568, -0.5353336334228516, 0.3488733768463135, -0.25229954719543457, -0.7777983546257019, 0.42027178406715393, 0.33299776911735535, 0.8514004349708557, -0.25562435388565063, 0.3981892466545105, 0.11706309765577316, 0.24834077060222626, 0.2612691819667816, 0.4077709913253784, -0.14181222021579742, -0.9338279366493225, -0.4782656729221344, -1.0409057140350342, -0.2813732624053955, 0.0807257667183876, -0.4902894198894501, -0.044294483959674835, -0.5121840238571167, -0.26607704162597656, 0.20234015583992004, 0.16241924464702606, -0.648831844329834, 0.2829350233078003, 0.012775625102221966, 0.700036346912384, -1.033095121383667, 0.8167766332626343, 1.1837174892425537, -0.19556260108947754, -0.7476124167442322, 0.08366400003433228, -0.24383243918418884, -0.7328439354896545, 0.8664989471435547, 0.36262446641921997, -0.4719904959201813, 0.19759050011634827, -0.6365325450897217, -0.6354626417160034, 0.6364247798919678, 0.41930097341537476, -0.38192060589790344, 0.6726089715957642, 0.15321511030197144, 0.6531238555908203, -0.465731680393219, 0.560124397277832, 0.5806536078453064, -0.018270205706357956, 0.04340379685163498, -0.6980786323547363, -0.3332351744174957, -0.8199657201766968, 0.005767628084868193, 0.4043899476528168, -0.5484256744384766, 1.062800645828247, 0.46515023708343506, 0.14503240585327148, 0.3167661428451538, 0.758240282535553, 0.40753600001335144, 0.1320813000202179, 0.5854358673095703, 0.859571099281311, 0.7315431833267212, 0.21302460134029388, 0.9861478209495544, -0.43595069646835327, 0.20517517626285553, 0.9645856022834778, -0.37981459498405457, 1.0565705299377441, -0.0946081355214119, -0.2563856542110443, 0.8309164643287659, 0.31286418437957764, 0.3867732584476471, 0.45174694061279297, 0.19362537562847137, -0.5981215238571167, -0.4656996428966522, -0.34852084517478943, -0.31590035557746887, 0.9104140400886536, -0.13063696026802063, -0.3725811839103699, -0.002696917625144124, 0.10098892450332642, 0.09884606301784515, 0.34761500358581543, -0.2027914673089981, 0.38589537143707275, 0.0028653957415372133, -0.5344240069389343, 0.5913898348808289, 0.4389907419681549, 0.4110787808895111, -0.4755409061908722, -0.09429236501455307, 0.07899753004312515, 0.09014857560396194, -0.10836879163980484, -0.45466771721839905, 0.1897192746400833, 0.4161645174026489, 0.05326669663190842, 0.1336887925863266, 0.8413937091827393, -0.14522212743759155, -0.774415910243988, 0.31228309869766235, 0.47792360186576843, 0.3508404791355133, -0.416436105966568, -0.7056827545166016, 0.10312189906835556, -0.23376508057117462, 0.10032816976308823, -0.0037353967782109976, 0.4356234073638916, 0.116594098508358, 0.7093620896339417, 0.49688467383384705, 0.47786781191825867, 0.06127173453569412, 0.06430353969335556, 0.4500214159488678, -0.6474814414978027, -0.7428363561630249, -0.8722731471061707, 0.3675859272480011, 0.07355819642543793, -0.3682202100753784, 0.4335848093032837, 0.3182085454463959, 0.5306645035743713, 0.1145554631948471, 0.7697603106498718, 0.2215147316455841, 0.641822099685669, -0.5539079308509827, 0.8906181454658508, -0.4880409240722656, 0.12268684804439545, -0.3667403757572174, -1.0741294622421265, -0.18221278488636017, 0.9391920566558838, -0.46980950236320496, 0.062496185302734375, 0.5663167834281921, 0.3198795020580292, 0.09557436406612396, 0.16105733811855316, -0.10096561908721924, 0.0416511669754982, 0.11669810116291046, 0.4782223403453827, 1.233961582183838, -0.4845072329044342, 0.428658664226532, -0.3343575894832611, -0.3498161733150482, -0.07588014006614685, -0.8398802280426025, -0.9480617046356201, -0.5464321374893188, -0.3248007595539093, -0.039900995790958405, 0.012043656781315804, 1.2600256204605103, 0.43136265873908997, -0.6276535987854004, -0.27282819151878357, -0.13766832649707794, -0.2691831588745117, -0.2131572812795639, -0.047066375613212585, 0.7004600167274475, -0.30506348609924316, -0.6496869921684265, -0.2001209855079651, 0.21116486191749573, -0.07117976248264313, 0.16344133019447327, -0.2779938280582428, -0.37660127878189087, 0.05548441410064697, 0.5639081597328186, -0.12442940473556519, -0.690828263759613, -0.02755015343427658, -0.5106362700462341, 0.021718915551900864, 0.054204218089580536, 0.4722978174686432, -0.6935583353042603, 0.430683970451355, 0.19481272995471954, 0.6701154112815857, 0.2927543520927429, 0.09597840160131454, 0.17613179981708527, -0.6968787312507629, 0.40674227476119995, 0.5236573219299316, 0.44983842968940735, 0.229061096906662, 0.07394156605005264, 0.4845503866672516, -0.009129732847213745, -0.4546239972114563, -0.4846993088722229, 0.44902369379997253, -0.7921825647354126, -0.1377687305212021, 0.7612314820289612, -0.352992981672287, 0.03154926747083664, 0.0019268819596618414, -0.46351996064186096, 0.5925067663192749, -0.2653704881668091, 0.9110963344573975, 0.9788990020751953, -0.2606576681137085, -0.3661659061908722, -0.8216196298599243, 0.2919735014438629, 1.0114961862564087, -0.5574839115142822, -0.5166288614273071, 0.14850430190563202, -0.027525324374437332, 0.21428148448467255, 0.614189624786377, 0.1400984525680542, 0.4647030532360077, -0.4060024321079254, 0.3736441731452942, 0.18969322741031647, -0.4630807638168335, -0.3273024260997772, 0.5423478484153748, 0.5622652769088745, -0.27845314145088196 ]
http://arxiv.org/abs/2403.12386v1
http://arxiv.org/pdf/2403.12386v1
Pipelined Biomedical Event Extraction Rivaling Joint Learning
2024-03-19T02:52:58
2024-03-19T02:52:58
Pengchao Wu, Xuefeng Li, Jinghang Gu, Longhua Qian, Guodong Zhou
cs.CL
cs.CL, cs.AI
Biomedical event extraction is an information extraction task to obtain events from biomedical text, whose targets include the type, the trigger, and the respective arguments involved in an event. Traditional biomedical event extraction usually adopts a pipelined approach, which contains trigger identification, argument role recognition, and finally event construction either using specific rules or by machine learning. In this paper, we propose an n-ary relation extraction method based on the BERT pre-training model to construct Binding events, in order to capture the semantic information about an event's context and its participants. The experimental results show that our method achieves promising results on the GE11 and GE13 corpora of the BioNLP shared task with F1 scores of 63.14% and 59.40%, respectively. It demonstrates that by significantly improving theperformance of Binding events, the overall performance of the pipelined event extraction approach or even exceeds those of current joint learning methods.
[ -0.3443599343299866, -0.6604946851730347, 0.49483203887939453, -0.3564232289791107, -0.49732503294944763, -0.16799886524677277, -0.04203210771083832, -0.8071575164794922, 0.604103684425354, 0.20214027166366577, -0.8659343123435974, -0.5942440032958984, -0.7139827609062195, 0.023788204416632652, -0.09949183464050293, 1.4224711656570435, 0.15457026660442352, 0.22231130301952362, -0.33595436811447144, -0.066285140812397, -0.016555363312363625, -0.6962418556213379, -0.494383841753006, -0.36175405979156494, 1.0019257068634033, -0.08917801827192307, 0.33290496468544006, 0.6419153809547424, 0.8695091009140015, 0.15892843902111053, -0.14060398936271667, 0.028336508199572563, -0.34742605686187744, 0.11724767088890076, -0.18597277998924255, -0.23122617602348328, -0.5629222393035889, 0.2745126485824585, 0.672636866569519, 0.8924863934516907, 0.31347301602363586, 0.0992518737912178, 0.17452694475650787, 0.40190017223358154, -0.6785552501678467, 0.44988930225372314, -0.5716480612754822, 0.24736329913139343, -0.4998570680618286, -0.37682613730430603, -0.4286445379257202, -0.10701030492782593, 0.4690115451812744, -0.6179240942001343, 0.3582306206226349, -0.3026038110256195, 1.2721812725067139, -0.018060218542814255, -0.2629581391811371, -0.3475490212440491, -0.1266004890203476, 0.7568904161453247, -0.7040529847145081, 0.6271527409553528, 0.11479482799768448, -0.2971184253692627, -0.4070240259170532, -0.9105432033538818, -0.2971669137477875, 0.006916315760463476, -0.14316092431545258, 0.1973472386598587, -0.03050418198108673, 0.3125413656234741, 0.2960274815559387, -0.052419207990169525, -0.46202412247657776, 0.027327531948685646, -0.47000208497047424, -0.2022552341222763, 0.6290977597236633, -0.24266619980335236, 0.40982410311698914, -0.49400851130485535, -0.4432998299598694, -0.1070549413561821, -0.7132004499435425, -0.08150805532932281, 0.07434031367301941, 0.32912230491638184, 0.08745448291301727, 0.32127392292022705, 0.1825525164604187, 0.6604350209236145, 0.13436442613601685, -0.06019021198153496, 0.34137943387031555, -0.32733094692230225, -0.24802203476428986, 0.2525484263896942, 1.0846670866012573, 0.03547818586230278, 0.031825825572013855, -0.6413487195968628, 0.44151100516319275, -0.03893489018082619, -0.06871196627616882, -0.7883450388908386, -0.18201731145381927, 0.38902202248573303, -0.8904607892036438, -0.15310513973236084, 0.038180720061063766, -1.0955864191055298, 0.02223774418234825, -0.28921183943748474, 0.563010036945343, -0.7417021989822388, -0.1558929979801178, -0.186809241771698, -0.3190315365791321, 0.5990666747093201, 0.16518853604793549, -0.7432134747505188, -0.00020797491015400738, 0.7991827130317688, 0.9026750326156616, -0.5042255520820618, -0.19764013588428497, -1.1770254373550415, 0.33431363105773926, 0.15097862482070923, 0.6835602521896362, -0.606814444065094, -0.29055172204971313, -0.09176723659038544, 0.013969779945909977, -0.13581176102161407, -0.3584425449371338, 0.31857237219810486, -0.8081839680671692, 0.24746429920196533, -0.2873396575450897, -0.9441866874694824, 0.0343560129404068, -0.14195644855499268, -0.46311020851135254, 0.5592630505561829, -0.24614202976226807, -0.8789700269699097, 0.8018690347671509, -0.7372153997421265, -0.5144887566566467, 0.28704917430877686, -0.48086032271385193, -0.3974553942680359, -0.2489064335823059, 0.2896958589553833, 0.695274293422699, 0.1553998440504074, 0.5417925119400024, -0.7128186821937561, 0.19052857160568237, 0.010990320704877377, 0.22807905077934265, 0.9864615797996521, 0.025401640683412552, -0.2161584496498108, 0.16101668775081635, -0.8041883707046509, -0.15946532785892487, -0.23792456090450287, -0.2844782769680023, -0.2373741716146469, 0.19967377185821533, -0.05606362968683243, 0.28553929924964905, 0.21291546523571014, -0.8400277495384216, 0.4172816872596741, -0.7311720848083496, 0.14132466912269592, 0.5785543918609619, 0.24275869131088257, 0.4723829925060272, -0.06978438049554825, 0.29229965806007385, -0.018544888123869896, -0.08660797029733658, -0.019021177664399147, -0.7408272624015808, -0.2542240619659424, -0.42321106791496277, 0.7215432524681091, 0.38125061988830566, -0.746934711933136, 0.7588144540786743, -0.03804056718945503, -0.23416197299957275, -0.45507267117500305, 0.13269753754138947, 0.4382762908935547, 0.6200191378593445, 0.40226006507873535, -0.47402840852737427, -0.8024314045906067, -0.560657799243927, -0.3015788793563843, -0.300383061170578, -0.23006078600883484, 0.025106022134423256, 0.302374929189682, -0.25976088643074036, 1.1837115287780762, -0.4161299169063568, -0.4221051335334778, -0.2781980633735657, 0.6105623841285706, 0.32613319158554077, 0.5598610639572144, 0.5979816913604736, -0.550033450126648, -0.19767047464847565, 0.22835126519203186, -1.0644636154174805, -0.2961968183517456, 0.07711558789014816, -0.37724635004997253, 0.15975479781627655, 0.5665149092674255, -0.429240882396698, 0.745394766330719, 0.4194450378417969, -0.2064988762140274, 0.5098636150360107, -0.14946705102920532, -0.13846832513809204, -0.9918761253356934, 0.1506020426750183, -0.07825984805822372, -0.2669011056423187, -0.6285752654075623, -0.0455084927380085, -0.07930061221122742, 0.0016760394209995866, -0.5103433132171631, 0.428666353225708, -0.5494107007980347, -0.3904568552970886, -0.23450614511966705, 0.0995841771364212, -0.008987137116491795, 0.4293627142906189, 0.5114322900772095, 0.13078421354293823, 0.3258989453315735, -0.6099386811256409, 0.191597118973732, 0.7219359874725342, -0.22710508108139038, -0.036721352487802505, -0.5070147514343262, 0.07130373269319534, -0.21551665663719177, 0.3372536599636078, -0.6258799433708191, -0.21660171449184418, 0.21686500310897827, -0.5154233574867249, 0.3258974552154541, -0.3609354496002197, -0.3305712640285492, 0.054252203553915024, -0.09373489022254944, 0.22835423052310944, 0.5974931716918945, -0.5727249383926392, 0.7442635297775269, 0.6219769716262817, -0.415874183177948, -0.6569497585296631, -0.4449133276939392, -0.15869048237800598, -0.09231908619403839, -0.6128496527671814, 0.5704033374786377, 0.28888875246047974, 0.1948162466287613, 0.15743345022201538, -0.06966979801654816, -0.3501107096672058, -0.2796972990036011, 0.24817661941051483, 0.6305200457572937, -0.22563043236732483, 0.21642029285430908, -0.05086259916424751, -0.2799321711063385, 0.2642362117767334, 0.02234356477856636, 0.37726128101348877, 0.2883570194244385, -0.32870104908943176, -0.7396603226661682, 0.7538840770721436, 0.2719661593437195, -0.27156350016593933, 0.8281816840171814, 0.9409677386283875, -0.5554857850074768, 0.322005033493042, -0.43923142552375793, -0.6110915541648865, -0.38306429982185364, 0.3273569345474243, -0.12027867138385773, -0.6678191423416138, 0.49162399768829346, -0.2846517264842987, 0.0706339180469513, 0.5769219994544983, 0.5324962735176086, -0.4089374244213104, 0.8076799511909485, 0.3062426447868347, -0.21483080089092255, 0.7636796832084656, -0.11798272281885147, 0.010488198138773441, -0.8020336031913757, -0.316333532333374, -0.39880797266960144, -0.3437094986438751, -0.3927772641181946, -0.3052596151828766, 0.5617470741271973, 0.33013734221458435, 0.17183008790016174, 0.4550008475780487, -0.18985357880592346, 0.012831359170377254, 0.7452747225761414, 0.31355762481689453, 0.21891900897026062, -0.14154548943042755, -0.16535018384456635, -0.38297852873802185, -0.9688880443572998, -0.3506348729133606, 1.0849686861038208, 0.06502684950828552, 0.25670382380485535, -0.012726597487926483, 1.2362370491027832, -0.12109871953725815, 0.35130637884140015, -0.556906521320343, 0.3539468050003052, -0.13349060714244843, -0.6540753245353699, -0.2584325671195984, -0.3757131099700928, -1.4156885147094727, -0.043414440006017685, -0.6830652356147766, -1.2906084060668945, 0.5623815059661865, -0.09998635947704315, -0.2491360306739807, 0.3194299042224884, -0.6785627007484436, 0.9698562622070312, -0.015212435275316238, -0.47135674953460693, 0.10166805237531662, -1.1876678466796875, 0.16173101961612701, -0.023208897560834885, 0.3261926770210266, -0.10692396014928818, 0.3400564193725586, 1.0815314054489136, -0.35680878162384033, 0.7626855969429016, -0.1952444463968277, 0.2836451530456543, 0.15134252607822418, -0.18926484882831573, 0.49290862679481506, 0.17381414771080017, -0.11781518906354904, 0.19583529233932495, 0.4625435769557953, -0.31593140959739685, -0.38900062441825867, 0.4067551791667938, -0.6107925176620483, -0.2366228550672531, -0.3155299425125122, -0.4800303280353546, -0.16683296859264374, 0.04592185094952583, 0.3371238708496094, 0.6370410919189453, -0.26911723613739014, 0.1692945808172226, 0.5978587865829468, -0.3764820098876953, 0.649179995059967, 0.2918359935283661, -0.18205556273460388, -0.1872580200433731, 0.7297720313072205, -0.024385502561926842, 0.2676143944263458, 0.5357296466827393, 0.12106886506080627, -0.4135560095310211, -0.3355696499347687, -0.19996288418769836, 0.23933228850364685, -0.38557684421539307, -0.36733686923980713, -1.138432502746582, -0.3934451639652252, -0.6828798055648804, -0.14531831443309784, -0.2160876840353012, -0.17852672934532166, -0.5258758068084717, 0.03476902097463608, 0.2790414094924927, 0.3302479088306427, -0.6343734860420227, 0.02255518175661564, -1.379976511001587, 0.5492625832557678, 0.23096773028373718, -0.0029528148006647825, -0.3544684946537018, -0.05977126955986023, 0.11969703435897827, -0.3577694296836853, -0.3811245858669281, -1.346686840057373, 0.5347752571105957, 0.4712899923324585, 0.7963360548019409, 0.6602937579154968, 0.038213759660720825, 0.6313362717628479, -0.49749720096588135, 0.522925078868866, 0.4566059112548828, -0.9064109325408936, 0.9518890976905823, -0.3327936828136444, 0.044618453830480576, 0.3721461892127991, 0.6432702541351318, -0.16884540021419525, -0.2529348134994507, -1.1566200256347656, -0.8547101020812988, 0.6792317032814026, 0.2306816428899765, -0.5825750827789307, -0.1655055433511734, 0.4953853189945221, 0.21205854415893555, 0.0052132634446024895, -0.6799556016921997, -0.22147363424301147, 0.5006459951400757, -0.22781938314437866, 0.20045314729213715, -0.3413921296596527, -0.11005089432001114, -0.2762693166732788, 0.576801598072052, 0.04636046290397644, 0.437137633562088, 0.5636541843414307, -0.08758096396923065, 0.1656508892774582, 0.11356755346059799, -0.042835962027311325, 0.5016652941703796, -0.7117530107498169, -0.16122253239154816, 0.14840836822986603, -0.39416950941085815, -0.16655780375003815, 0.5062544941902161, 0.19511929154396057, 0.25225716829299927, 0.9988237023353577, 0.44601136445999146, 0.24957193434238434, -0.6833342909812927, 0.7389664649963379, 0.15064574778079987, -0.4349701702594757, 0.23164814710617065, -0.035800155252218246, 0.06657647341489792, 0.39894774556159973, 0.1776559054851532, -0.2590336799621582, 0.42062386870384216, -0.6337050795555115, 0.9152896404266357, 0.461176335811615, -0.6249892115592957, -0.3072800934314728, 0.7958245277404785, 0.260620653629303, -0.126918762922287, 0.4616498649120331, -0.2305021733045578, -0.34710949659347534, 0.6198526620864868, 0.4482816457748413, 0.49619215726852417, -0.02118704281747341, 0.201940655708313, 0.4721265137195587, -0.18144439160823822, 0.5088127255439758, 0.31548964977264404, -0.07744447886943817, -0.9053078293800354, -1.054582953453064, -0.821154773235321, -0.355692982673645, 0.19051386415958405, -1.1205273866653442, 0.4449215829372406, -0.056109264492988586, -0.13622118532657623, 0.6544003486633301, 0.18140219151973724, -0.7205889225006104, 0.014020491391420364, -0.014071816578507423, 0.6034363508224487, -0.7594234347343445, 1.0843287706375122, 0.6154640316963196, -0.39222609996795654, -0.5409762263298035, -0.23694747686386108, 0.04777611419558525, -0.5229946374893188, 1.0353481769561768, -0.05225450173020363, 0.45660555362701416, -0.0406559482216835, -0.2555208206176758, -0.7369590997695923, 0.7623145580291748, 0.47006744146347046, -0.7460311055183411, -0.21376542747020721, -0.24812841415405273, 0.35509711503982544, -0.27486446499824524, 0.08831343799829483, 0.5127355456352234, 0.31924211978912354, 0.30846232175827026, -0.8791381120681763, -0.17614305019378662, -0.030898036435246468, -0.5907615423202515, 0.4574308395385742, -0.007380079012364149, 0.44561898708343506, -0.12439842522144318, -0.37811073660850525, -0.04303552582859993, 0.7084593176841736, 0.4524388015270233, 0.546013593673706, 0.4045146107673645, 0.277347207069397, 0.7560839056968689, -0.053868617862463, 0.946491003036499, -0.17249691486358643, 0.4492458999156952, 1.051235318183899, -0.3394943177700043, 0.8991860747337341, 0.7071980834007263, -0.32417258620262146, 0.5008111000061035, 0.5234262347221375, 0.44747626781463623, 0.7285870313644409, 0.10652542114257812, -0.4431411325931549, -0.3777957856655121, -0.05786386877298355, -0.6189866065979004, 0.4962817430496216, 0.5291199684143066, -0.4273219704627991, -0.4283064007759094, 0.07084384560585022, -0.10737143456935883, -0.2627723813056946, -0.002928917296230793, 1.171515703201294, 0.07694119960069656, -0.3614909052848816, -0.012176701799035072, -0.4492419958114624, 0.4695117473602295, -0.7070446014404297, -0.09885315597057343, 0.4151390790939331, 0.049005404114723206, -0.002189199673011899, -0.43363136053085327, 0.580247163772583, -0.10157762467861176, -0.37947705388069153, 0.03497950732707977, 0.9370100498199463, -0.5658526420593262, -0.36481356620788574, 0.6059888601303101, 0.6707796454429626, 0.3595070540904999, 0.15380047261714935, -0.5732901096343994, 0.16158241033554077, -0.0025474419817328453, 0.011634580790996552, 0.5927427411079407, 0.3873371481895447, 0.27898848056793213, 0.17692291736602783, 0.8520705699920654, 0.4006974399089813, -0.057132281363010406, -0.20485150814056396, 0.7120827436447144, -0.6696181297302246, -0.24950776994228363, -0.8020355105400085, 0.3039642572402954, -0.46192798018455505, -0.3338642120361328, 0.1006363108754158, 0.4324890971183777, 0.5781493186950684, 0.02515583299100399, 0.6990453600883484, -0.14378385245800018, 0.5987536907196045, -0.5848453640937805, 0.5293160676956177, -0.26228463649749756, -0.06694325059652328, -0.48707160353660583, -0.6005809903144836, -0.5577529668807983, 0.7790012955665588, -0.27367347478866577, -0.3095009922981262, 0.7927766442298889, 0.36750343441963196, -0.08506150543689728, 0.26650264859199524, 0.20392774045467377, -0.0511530302464962, 0.42577946186065674, 0.7915376424789429, 0.6433742642402649, -0.5181705951690674, 0.32156628370285034, 0.09048686176538467, -0.6146519184112549, -0.23584751784801483, -1.3354241847991943, -0.9629995822906494, -0.7053971886634827, -0.591378390789032, -0.3593667149543762, 0.3821192681789398, 1.1189920902252197, 0.9856637716293335, -0.9440767168998718, 0.17465782165527344, -0.05041544511914253, 0.0033824562560766935, -0.1873820275068283, -0.23955976963043213, 0.7124849557876587, -0.8456085920333862, -0.7591090202331543, 0.37026047706604004, 0.29452767968177795, -0.20450621843338013, 0.4281240403652191, 0.17400842905044556, -0.6739761829376221, -0.39722704887390137, 0.5929639935493469, 0.44113510847091675, -0.4855738878250122, -0.4599204361438751, -0.39059025049209595, 0.19883185625076294, 0.030684780329465866, 0.5275079607963562, -0.9898085594177246, 0.38817843794822693, 0.5602200031280518, 1.0086289644241333, 0.9444195628166199, -0.27432379126548767, 0.9521239399909973, -0.8840316534042358, 0.3686619997024536, 0.06642793864011765, 0.32950878143310547, -0.23545441031455994, -0.3564256429672241, 0.5492221713066101, 0.4001864492893219, -0.7080032825469971, -0.6311305165290833, 0.18038776516914368, -1.4572643041610718, -0.16826574504375458, 1.0751246213912964, -0.28090643882751465, -0.23670196533203125, -0.21852494776248932, -0.08907198160886765, 0.7273415923118591, -0.12107580155134201, 0.7096750140190125, 0.6093685030937195, -0.535631000995636, 0.09336444735527039, -0.481608510017395, 0.6927079558372498, 0.2700146734714508, -0.8583592176437378, -0.36625444889068604, 0.3096473217010498, 0.08411356806755066, 0.19884859025478363, 0.6066200137138367, -0.2262611985206604, 0.24872982501983643, -0.2959955930709839, 0.3080732822418213, 0.35496631264686584, -0.3063478171825409, 0.13977183401584625, 0.41077205538749695, -0.4811232089996338, -0.4936477541923523 ]
http://arxiv.org/abs/2403.12374v1
http://arxiv.org/pdf/2403.12374v1
Improving Generalizability of Extracting Social Determinants of Health Using Large Language Models through Prompt-tuning
2024-03-19T02:34:33
2024-03-19T02:34:33
Cheng Peng, Zehao Yu, Kaleb E Smith, Wei-Hsuan Lo-Ciganic, Jiang Bian, Yonghui Wu
cs.CL
cs.CL
The progress in natural language processing (NLP) using large language models (LLMs) has greatly improved patient information extraction from clinical narratives. However, most methods based on the fine-tuning strategy have limited transfer learning ability for cross-domain applications. This study proposed a novel approach that employs a soft prompt-based learning architecture, which introduces trainable prompts to guide LLMs toward desired outputs. We examined two types of LLM architectures, including encoder-only GatorTron and decoder-only GatorTronGPT, and evaluated their performance for the extraction of social determinants of health (SDoH) using a cross-institution dataset from the 2022 n2c2 challenge and a cross-disease dataset from the University of Florida (UF) Health. The results show that decoder-only LLMs with prompt tuning achieved better performance in cross-domain applications. GatorTronGPT achieved the best F1 scores for both datasets, outperforming traditional fine-tuned GatorTron by 8.9% and 21.8% in a cross-institution setting, and 5.5% and 14.5% in a cross-disease setting.
[ 0.02940056473016739, -0.8657771348953247, 0.5817270278930664, 0.0553918331861496, -0.2577874958515167, 0.16394463181495667, -0.4955078661441803, -0.4600291848182678, 0.2619573473930359, 0.1857519894838333, -0.5522955656051636, -0.6071901321411133, -0.6910287737846375, 0.4405260384082794, 0.13555483520030975, 1.1218098402023315, 0.2330910861492157, 0.2825635075569153, -0.09076990932226181, -0.12249448895454407, -0.4859195053577423, -0.42367973923683167, -0.9440010786056519, -0.24554505944252014, 0.5683191418647766, 0.4951890707015991, 0.641693115234375, 0.7854135632514954, 0.25473836064338684, 0.1874719113111496, 0.022350724786520004, 0.27379292249679565, -0.24326109886169434, 0.35934892296791077, -0.561030924320221, -0.18245762586593628, -0.2093702256679535, -0.24423880875110626, 0.3490847051143646, 0.7155355215072632, -0.010687783360481262, 0.2911779284477234, 0.3872675597667694, 0.6887717843055725, -0.44371774792671204, 0.39433568716049194, -0.32032114267349243, 0.008833365514874458, -0.13535664975643158, -0.392115980386734, -0.34418320655822754, -0.461465060710907, 0.2531055212020874, -0.5022251605987549, 0.36042529344558716, 0.11354885250329971, 0.7680172920227051, 0.2595834732055664, -0.45501458644866943, -0.5846531391143799, -0.4748464822769165, 0.7232848405838013, -0.39385557174682617, 0.3257358968257904, 0.282822847366333, 0.42518559098243713, -0.14832326769828796, -0.6048597693443298, -0.035635244101285934, -0.02047966979444027, -0.08154613524675369, -0.08238320052623749, -0.23736673593521118, -0.038059528917074203, 0.13190212845802307, 0.11159151047468185, -0.7169827222824097, 0.23836420476436615, -0.29757553339004517, -0.3831992745399475, 0.743394672870636, 0.42337387800216675, 0.5056544542312622, -0.354378342628479, -0.2557687759399414, 0.06630495190620422, -0.6312278509140015, 0.2577550709247589, 0.03294416517019272, 0.7451698184013367, -0.3630315959453583, 0.2774280309677124, -0.19931982457637787, 0.21831727027893066, 0.35157832503318787, -0.005585470236837864, 0.5209193229675293, -0.23451273143291473, -0.10942485183477402, 0.22347068786621094, 0.6963486671447754, 0.21056751906871796, 0.10602253675460815, -0.46657097339630127, -0.12915544211864471, -0.187173530459404, 0.10268740355968475, -0.8787151575088501, -0.12217879295349121, 0.3719748854637146, -0.6578261852264404, -0.11060307919979095, -0.22751344740390778, -1.2015469074249268, -0.5890981554985046, -0.5135179162025452, 0.19278566539287567, -0.47758322954177856, -0.10009877383708954, 0.12672270834445953, 0.09519105404615402, 0.37177976965904236, 0.2925397753715515, -1.2332044839859009, 0.33190828561782837, 0.8405847549438477, 1.1400961875915527, -0.43325042724609375, 0.14473366737365723, -1.0699379444122314, -0.08555616438388824, -0.12072006613016129, 0.6649109721183777, -0.6590888500213623, -0.25025224685668945, 0.3635317385196686, 0.30410581827163696, -0.41844791173934937, -0.6385875940322876, 0.7368355989456177, -0.20867407321929932, 0.06947223097085953, -0.400533527135849, -0.421404093503952, 0.17877328395843506, 0.061628635972738266, -0.6216924786567688, 0.712110161781311, 0.3002933859825134, -0.4260728359222412, 0.29111945629119873, -0.25708630681037903, -0.8122245073318481, 0.3287944197654724, -0.40815556049346924, -0.41471800208091736, 0.2506687641143799, 0.5518479943275452, 0.7370556592941284, -0.5384718179702759, 0.5780205130577087, -0.21068890392780304, -0.33872610330581665, -0.13603723049163818, -0.20692108571529388, 0.7799304127693176, 0.182496577501297, -0.4364391565322876, 0.2666788399219513, -0.8862794041633606, -0.1127830445766449, 0.1847948580980301, -0.35771453380584717, -0.23891852796077728, -0.0017418648349121213, -0.11372669786214828, 0.2888130843639374, 0.009114396758377552, -0.391412615776062, 0.09368091821670532, -0.44108715653419495, 0.4329809844493866, 0.8254261612892151, 0.03724002465605736, 0.5492809414863586, -0.392976850271225, 0.6240906715393066, -0.2114086002111435, 0.15593485534191132, 0.011332283727824688, -0.5596803426742554, -0.24602869153022766, -0.5191776156425476, 0.1961170881986618, 0.646557629108429, -1.0205705165863037, 0.3434596359729767, -0.3210875988006592, -0.21234552562236786, -0.6298457980155945, 0.11885592341423035, 0.30433255434036255, 0.730322003364563, 0.6176031231880188, 0.054986800998449326, -0.3509145677089691, -0.5215253233909607, -0.40777117013931274, 0.1659681648015976, -0.2844262421131134, 0.5506191849708557, 0.3914934992790222, -0.09807633608579636, 0.5676080584526062, -0.2954027056694031, -0.36656442284584045, -0.6935230493545532, -0.06352987885475159, 0.3534349799156189, 0.41334637999534607, 0.4320327043533325, -0.5590353012084961, -0.5061137080192566, 0.08194384723901749, -0.6813606023788452, -0.4009230434894562, -0.02049149014055729, -0.030280860140919685, 0.06555748730897903, 0.3050287961959839, -0.5154117345809937, 0.27205973863601685, 0.36192429065704346, -0.3416460454463959, 0.6366681456565857, -0.13506023585796356, -0.00924178771674633, -0.9973879456520081, 0.11218883097171783, 0.26791930198669434, 0.013471645303070545, -0.7200431227684021, -0.1890111118555069, 0.20172056555747986, -0.19704219698905945, -0.4196484088897705, 0.8018676042556763, -0.49775782227516174, 0.2341679185628891, -0.01941516436636448, -0.0807000920176506, -0.007142723072320223, 0.4856148362159729, -0.04182497784495354, 0.6371335983276367, 0.6572120785713196, -0.6878163814544678, 0.284696489572525, 0.34571972489356995, -0.2613306939601898, 0.6711505055427551, -0.9423364996910095, 0.1604672223329544, -0.3177347779273987, 0.12390682846307755, -0.7617388367652893, -0.3707810044288635, 0.5393573045730591, -0.4745962917804718, 0.3187498152256012, -0.1655907928943634, -0.15446656942367554, -0.08387098461389542, -0.35488492250442505, 0.12152332812547684, 0.4463430345058441, -0.6086232662200928, 0.5703082084655762, 0.19804111123085022, -0.49500420689582825, -0.3060658276081085, -0.45099687576293945, -0.05644138902425766, -0.24190881848335266, -0.5361964702606201, 0.4158606231212616, 0.1180468425154686, -0.03018857166171074, -0.24120862782001495, -0.007010006345808506, 0.17807522416114807, 0.018568966537714005, 0.27102598547935486, 0.45752623677253723, -0.2694035470485687, 0.430539608001709, 0.22088311612606049, -0.2291317582130432, 0.1316821426153183, 0.03472553938627243, 0.6014847159385681, 0.11668118089437485, -0.010262534953653812, -0.4513382911682129, 0.577411949634552, 0.18685099482536316, -0.26748165488243103, 0.6555795669555664, 0.5223519802093506, -0.3221624791622162, -0.4569297730922699, -0.1257675737142563, -0.20409461855888367, -0.4738040566444397, 0.32161763310432434, -0.16746409237384796, -1.0648956298828125, 0.5062015652656555, -0.2563896179199219, 0.018269425258040428, 0.2711966931819916, 0.5984642505645752, 0.3595891296863556, 1.1905999183654785, 0.5563628077507019, -0.25532346963882446, 0.413566529750824, 0.15387612581253052, -0.05577130988240242, -0.8708223700523376, -0.34667572379112244, -0.8819589614868164, -0.17390479147434235, -0.44552701711654663, -0.13136550784111023, 0.43055689334869385, -0.2563118636608124, -0.26492634415626526, -0.06243767961859703, -0.512409508228302, 0.10978690534830093, 0.2191840261220932, 0.4031093716621399, 0.07072027772665024, 0.16131292283535004, -0.13954395055770874, -0.04547586292028427, -0.5050472617149353, -0.35360071063041687, 1.0453052520751953, 0.289361834526062, 0.7458887100219727, 0.21337485313415527, 0.6121640801429749, 0.38160440325737, 0.05414985865354538, -0.7783990502357483, 0.3790627121925354, -0.31561043858528137, -0.23684567213058472, -0.2654555141925812, -0.619063675403595, -1.2152535915374756, 0.2377854734659195, -0.1753481775522232, -0.8484536409378052, 0.3998035192489624, -0.0003924249322153628, -0.6508255004882812, -0.0035152025520801544, -0.4635694622993469, 0.6271794438362122, -0.23394200205802917, -0.4988970160484314, 0.14198428392410278, -0.7568654417991638, -0.012044206261634827, 0.22041581571102142, 0.23063892126083374, -0.34941336512565613, 0.031773146241903305, 0.49370336532592773, -0.12623456120491028, 0.7753448486328125, -0.24588444828987122, -0.0960436686873436, -0.12907977402210236, -0.19048132002353668, 0.600886881351471, 0.3000311553478241, -0.36824721097946167, 0.21360526978969574, -0.24082686007022858, -0.30015450716018677, -0.7171998620033264, 0.5958460569381714, -0.7090715169906616, -0.6000227928161621, -0.32554250955581665, -0.18412458896636963, -0.49427086114883423, -0.0282618198543787, 0.21014800667762756, 0.8617519736289978, -0.1503569334745407, 0.06665226072072983, 0.7612454295158386, -0.5249658226966858, 0.3374400734901428, 0.44799095392227173, 0.1687459945678711, -0.5399655699729919, 0.8681017756462097, 0.01169820036739111, 0.24364039301872253, 0.33512356877326965, 0.5848273634910583, -0.3740924000740051, -0.43483421206474304, -0.7203277945518494, 0.1985720694065094, -0.4444162845611572, -0.321709543466568, -0.7050845623016357, -0.20001956820487976, -0.7930477261543274, -0.21596896648406982, 0.03962251543998718, -0.0208139605820179, -0.690585732460022, -0.03622836619615555, 0.26073360443115234, 0.33080917596817017, -0.14075644314289093, -0.01838950626552105, -0.8822365403175354, 0.49353262782096863, 0.12384901940822601, 0.20152784883975983, 0.09734448790550232, -0.5263271331787109, -0.22848819196224213, -0.1480288952589035, 0.08025943487882614, -0.9353556632995605, 0.5211226344108582, 0.4663639962673187, 0.7193738222122192, 0.30817607045173645, 0.26880863308906555, 0.44913166761398315, -0.5453817248344421, 0.6563200354576111, 0.2033270001411438, -0.7336866855621338, 0.7031094431877136, -0.21302416920661926, 0.466402143239975, 0.8629661202430725, 0.5722479820251465, -0.5396540760993958, 0.02299209125339985, -0.1946079283952713, -0.9282477498054504, 0.6095402240753174, -0.3201926350593567, 0.14687226712703705, -0.3040609359741211, 0.4128621816635132, 0.3914390504360199, -0.04935193806886673, -0.05336201563477516, -0.26223742961883545, -0.06602442264556885, -0.5354803800582886, -0.08012892305850983, -0.19809187948703766, 0.03480873256921768, -0.34493497014045715, 0.561654269695282, -0.519261360168457, 0.18223127722740173, 0.4255978465080261, -0.17811498045921326, -0.1252264827489853, 0.5442273616790771, 0.27254849672317505, 0.36119967699050903, 0.02294073812663555, 0.25520241260528564, -0.02804824896156788, -0.6424720883369446, 0.15653665363788605, 0.26264432072639465, -0.38872215151786804, 0.03607923910021782, 0.3585289418697357, 0.7934209704399109, 0.28899067640304565, -0.5962185263633728, 0.5308707356452942, -0.08779715746641159, -0.127896249294281, 0.2565208673477173, 0.27804267406463623, -0.2356581687927246, 0.40685418248176575, 0.4707374572753906, -0.3200269937515259, 0.342593252658844, -0.4877295196056366, 0.22990791499614716, 0.32031694054603577, -0.5564063787460327, -0.5158596038818359, 0.6948671340942383, 0.3191450536251068, -0.3823438286781311, 0.5738725066184998, -0.07379554957151413, -0.19295825064182281, 0.5983699560165405, 0.7788172960281372, 0.9634631276130676, -0.31657782196998596, 0.6162328720092773, 0.48748305439949036, 0.0713856965303421, -0.0262044295668602, 0.3797197937965393, -0.045186713337898254, -0.4926941692829132, -0.4751379191875458, -0.6314906477928162, -0.3932179808616638, 0.11260872334241867, -0.9194731712341309, 0.20830361545085907, -0.49997714161872864, -0.11789914965629578, 0.12232815474271774, 0.28844234347343445, -0.8320159912109375, 0.09580285102128983, 0.13079048693180084, 0.7665041089057922, -0.7825143337249756, 0.6440608501434326, 0.6555798053741455, -0.24299544095993042, -0.8938586115837097, -0.08518972992897034, 0.157014399766922, -0.8128764629364014, 0.24498969316482544, 0.42636096477508545, 0.07542070746421814, -0.07617563754320145, -0.5906292796134949, -0.6784735321998596, 0.989967942237854, 0.5792145729064941, -0.6851422786712646, -0.17048867046833038, 0.41789767146110535, 0.331694632768631, -0.30331915616989136, 0.15458551049232483, 0.7012662887573242, 0.2970920205116272, 0.12387566268444061, -0.7751092314720154, 0.5004072189331055, -0.2827620804309845, -0.11028743535280228, 0.05346111208200455, -0.6037642955780029, 0.753393828868866, -0.40729713439941406, -0.5908262133598328, 0.019105101004242897, 0.5418885946273804, 0.25607559084892273, 0.4388171136379242, 0.2025490552186966, 0.17501595616340637, 1.037963628768921, 0.0513688325881958, 0.859109103679657, -0.16651864349842072, 0.2850925028324127, 1.053421139717102, -0.5948898792266846, 0.3235168159008026, 0.34967947006225586, -0.033541154116392136, 0.43705055117607117, 0.45726263523101807, 0.08683089166879654, 0.658779501914978, 0.17455416917800903, -0.2607609033584595, -0.2000984251499176, -0.2806396186351776, -0.35497891902923584, 0.2438735067844391, 0.3602144718170166, -0.6049998998641968, -0.372426301240921, 0.06568964570760727, 0.18969188630580902, -0.04964084178209305, -0.4785839021205902, 0.8376041054725647, 0.21913957595825195, -0.4082992672920227, 0.38483673334121704, -0.07827561348676682, 0.7145395874977112, -0.7332009077072144, -0.24836696684360504, -0.26967570185661316, -0.06395794451236725, -0.22157402336597443, -0.47484883666038513, 0.17007459700107574, -0.18969838321208954, -0.13707150518894196, -0.1188436895608902, 1.0158482789993286, -0.2951113283634186, -0.36874425411224365, 0.3004617989063263, 0.6684039831161499, -0.00749377254396677, 0.06798702478408813, -0.6112522482872009, 0.03652727231383324, -0.09961267560720444, -0.3398410975933075, 0.5406053066253662, 0.5144510865211487, -0.10778883099555969, 0.5166993737220764, 0.8139573335647583, 0.31616535782814026, -0.2247835397720337, 0.25494521856307983, 0.7359981536865234, -0.7907076478004456, -0.47190922498703003, -0.9703109860420227, 0.21055938303470612, -0.06789226830005646, -0.551891565322876, 0.6481755375862122, 0.3022976517677307, 0.2341170608997345, 0.09955081343650818, 0.7595856785774231, -0.05491090938448906, 0.613331139087677, -0.4917188286781311, 0.5799273252487183, -0.37243911623954773, -0.10068366676568985, -0.08045902848243713, -0.30848056077957153, -0.34214913845062256, 0.3059477210044861, -0.33797261118888855, -0.21681451797485352, 0.4851558804512024, 0.6465405821800232, 0.2987268567085266, 0.1962653547525406, 0.2365579903125763, -0.08884761482477188, 0.48899710178375244, 0.7282288670539856, 0.4386593699455261, -0.05686017870903015, 0.18737396597862244, -0.00023024660185910761, -0.3617081940174103, -0.22679942846298218, -0.700595498085022, -0.8866462707519531, -0.298733651638031, -0.19250793755054474, -0.4230285584926605, 0.44561827182769775, 1.093154788017273, 0.4378339350223541, -0.8426103591918945, 0.2795262038707733, 0.31711435317993164, 0.17696085572242737, -0.4573320150375366, -0.24532246589660645, 0.699263334274292, -0.5356206893920898, -0.46427273750305176, 0.41530561447143555, 0.2941283881664276, -0.3595231771469116, -0.017857473343610764, -0.028260134160518646, 0.0968490019440651, 0.14523902535438538, 0.6281307935714722, 0.3739789128303528, -0.1990974247455597, -0.4904773235321045, 0.07639037817716599, -0.2779843807220459, 0.17474958300590515, 0.6868058443069458, -0.7808383107185364, 0.024501679465174675, 0.356981486082077, 0.8847647309303284, -0.09058588743209839, 0.09880705177783966, 0.4499865174293518, -0.525252640247345, -0.21253855526447296, 0.24516865611076355, 0.2598154842853546, 0.3573961853981018, -0.7336759567260742, 0.40952691435813904, 0.19649948179721832, -0.5865011811256409, -0.4547725021839142, -0.010180335491895676, -0.8535045981407166, -0.23414857685565948, 1.5317277908325195, 0.025897657498717308, -0.5185773372650146, -0.5232275128364563, -0.16734711825847626, 0.38323646783828735, -0.6796351075172424, 0.7591351866722107, 0.18756906688213348, -0.25526416301727295, -0.07915090024471283, -0.637599766254425, 0.5229707956314087, 0.3014030456542969, -1.0185496807098389, 0.0696864202618599, 0.48714563250541687, 0.46829214692115784, -0.24785293638706207, 0.7367950081825256, -0.20993547141551971, 0.321964293718338, -0.3754916787147522, -0.13783161342144012, -0.05951830372214317, -0.37090378999710083, -0.6754776835441589, 0.3005915880203247, -0.6437466740608215, -0.12454220652580261 ]
http://arxiv.org/abs/2403.12373v3
http://arxiv.org/pdf/2403.12373v3
RankPrompt: Step-by-Step Comparisons Make Language Models Better Reasoners
2024-03-19T02:34:18
2024-03-22T06:18:54
Chi Hu, Yuan Ge, Xiangnan Ma, Hang Cao, Qiang Li, Yonghua Yang, Tong Xiao, Jingbo Zhu
cs.CL
cs.CL
Large Language Models (LLMs) have achieved impressive performance across various reasoning tasks. However, even state-of-the-art LLMs such as ChatGPT are prone to logical errors during their reasoning processes. Existing solutions, such as deploying task-specific verifiers or voting over multiple reasoning paths, either require extensive human annotations or fail in scenarios with inconsistent responses. To address these challenges, we introduce RankPrompt, a new prompting method that enables LLMs to self-rank their responses without additional resources. RankPrompt breaks down the ranking problem into a series of comparisons among diverse responses, leveraging the inherent capabilities of LLMs to generate chains of comparison as contextual exemplars. Our experiments across 11 arithmetic and commonsense reasoning tasks show that RankPrompt significantly enhances the reasoning performance of ChatGPT and GPT-4, with improvements of up to 13%. Moreover, RankPrompt excels in LLM-based automatic evaluations for open-ended tasks, aligning with human judgments 74% of the time in the AlpacaEval dataset. It also exhibits robustness to variations in response order and consistency. Collectively, our results validate RankPrompt as an effective method for eliciting high-quality feedback from language models.
[ -0.27581587433815, -0.5660362839698792, 0.8545125126838684, 0.3339326083660126, -0.19922906160354614, 0.05601413547992706, -0.2025865912437439, -0.04035463184118271, -0.015932781621813774, 0.5005340576171875, -0.3217800557613373, -0.5351336598396301, -0.8126742839813232, 0.13335320353507996, -0.4044244587421417, 0.8954368829727173, 0.22406068444252014, -0.002069576410576701, -0.46956953406333923, -0.10493701696395874, -0.5092982053756714, -0.5564737319946289, -1.04042649269104, -0.41253823041915894, 0.6249414086341858, 0.4856245517730713, 0.8460320234298706, 0.22635842859745026, 0.582826554775238, 0.3856903910636902, 0.17554354667663574, 0.33109545707702637, -0.3745512068271637, 0.4917324483394623, -0.11994805932044983, -0.33732345700263977, -0.563504695892334, 0.22440887987613678, 0.35187044739723206, 0.6564180850982666, -0.1646825671195984, 0.1702805459499359, 0.19082260131835938, 0.5178995728492737, -0.4038182497024536, 0.2618394196033478, -0.5028913021087646, -0.34239697456359863, -0.035793084651231766, -0.40530112385749817, -0.5509909987449646, -0.5966964364051819, -0.25778552889823914, -0.3637259900569916, 0.109370157122612, 0.14228568971157074, 0.5532692074775696, 0.5369240641593933, -0.3064276874065399, -0.1158389076590538, -0.3258988559246063, 0.5145770311355591, -0.8759545683860779, 0.5505455136299133, 0.40395691990852356, 0.36298590898513794, -0.39367616176605225, -0.6213143467903137, -0.6141794919967651, -0.6750087738037109, -0.12933261692523956, 0.0992540568113327, -0.1072009727358818, -0.1366872787475586, 0.38718169927597046, 0.17557717859745026, -0.6895222663879395, 0.07691234350204468, -0.02069360390305519, -0.16908963024616241, 0.3830544352531433, -0.07186481356620789, 0.3016457259654999, -0.21113193035125732, -0.04123265668749809, -0.29245734214782715, -1.00814688205719, 0.19163696467876434, 0.34441766142845154, 0.25423336029052734, 0.22326982021331787, 0.3526920974254608, -0.37358465790748596, 0.8723510503768921, 0.06939265877008438, -0.1355908215045929, 0.05927250161767006, -0.001838677329942584, -0.17292127013206482, -0.04736093431711197, 0.7738038301467896, 0.4264083802700043, 0.21351630985736847, -0.07507143169641495, -0.33245596289634705, -0.013631293550133705, 0.09266931563615799, -0.7679402232170105, -0.5997429490089417, 0.39396363496780396, -0.13302360475063324, -0.2616763114929199, -0.25540393590927124, -0.44724777340888977, -0.5622438788414001, -0.39800089597702026, 0.7240225076675415, -0.26088449358940125, -0.16788876056671143, 0.005419720895588398, 0.09391764551401138, -0.02404577098786831, 0.740311861038208, -0.8668299913406372, 0.23532624542713165, 0.847313642501831, 0.7234154343605042, -0.35342422127723694, -0.35926005244255066, -0.940669596195221, -0.21086792647838593, -0.5394694209098816, 1.1205785274505615, -0.5138346552848816, -0.15457852184772491, -0.2957714796066284, -0.24513334035873413, -0.07656805217266083, -0.9444928765296936, 0.6960604786872864, -0.3626633584499359, 0.33822616934776306, -0.4601539969444275, -0.5062345862388611, 0.2855982184410095, 0.45246702432632446, -0.5181623101234436, 1.2878698110580444, -0.10207261145114899, -0.6493029594421387, 0.37571969628334045, -0.600785493850708, -0.3725023865699768, 0.1725221425294876, -0.19448290765285492, -0.17507655918598175, 0.09156770259141922, 0.5578135251998901, 0.5221740007400513, -0.20214730501174927, 0.13825498521327972, -0.19583140313625336, -0.18014352023601532, 0.13489055633544922, -0.33254948258399963, 0.6920391917228699, 0.14016588032245636, -0.44819921255111694, 0.30771270394325256, -0.38921675086021423, 0.1559181958436966, 0.2795875668525696, -0.3233473598957062, -0.3326078951358795, 0.07726185023784637, -0.639182984828949, 0.2917976975440979, 0.06656599044799805, -0.3773837685585022, 0.3802415132522583, -0.23785005509853363, 0.35719889402389526, 0.8518325686454773, -0.04196380078792572, 0.06351030617952347, -0.2937953472137451, 0.44377845525741577, -0.1727435439825058, 0.18604181706905365, -0.12684859335422516, -0.6681931018829346, -0.985710084438324, -0.16529323160648346, 0.36044272780418396, 0.455586314201355, -0.6723344326019287, 0.44343897700309753, -0.30231747031211853, -0.4490273892879486, -0.5153442025184631, 0.17743566632270813, 0.28884631395339966, 0.552452564239502, 0.42307835817337036, -0.15550096333026886, -0.15076111257076263, -0.5744269490242004, -0.45211273431777954, -0.5587040781974792, -0.2265527993440628, -0.00019751035142689943, 0.24855804443359375, 0.2092278003692627, 0.6988308429718018, -0.39624154567718506, 0.07140529155731201, -0.3075833022594452, 0.35149064660072327, 0.2681153118610382, 0.29348623752593994, 0.11841028928756714, -0.46405360102653503, -0.18602335453033447, -0.28579115867614746, -0.482077419757843, -0.5741168856620789, -0.033242277801036835, -0.23249773681163788, 0.004399369936436415, 0.58439040184021, -0.5738805532455444, 0.03333728015422821, 0.5033217668533325, -0.5677892565727234, 0.5397320985794067, -0.21820485591888428, 0.4974420964717865, -0.6786259412765503, -0.1244688406586647, -0.20425818860530853, -0.6097634434700012, -0.3406204283237457, 0.09055384248495102, -0.015491019003093243, -0.12177729606628418, -0.19585520029067993, 0.6234070062637329, -0.220350444316864, -0.137430801987648, -0.2573186755180359, 0.309009850025177, 0.038467250764369965, 0.3738948702812195, 0.007456830237060785, 0.9072461128234863, 0.4290063679218292, -0.5821700692176819, 0.34687989950180054, 0.16935692727565765, -0.31239038705825806, 0.5903562903404236, -0.6828222274780273, 0.08701850473880768, 0.06121218204498291, 0.32830610871315, -1.260213017463684, -0.1289350837469101, 0.13954336941242218, -0.5784459710121155, 0.05551217868924141, -0.19116993248462677, -0.7106687426567078, -0.2929458022117615, -0.18299047648906708, 0.1575804054737091, 0.6110399961471558, -0.8005635738372803, 0.3288884162902832, 0.10077491402626038, -0.5905040502548218, -0.36928635835647583, -0.20795953273773193, 0.25646522641181946, -0.1395251601934433, -0.3779408037662506, 0.003509456291794777, -0.32141658663749695, -0.35185718536376953, -0.3669358491897583, -0.2652883529663086, 0.17138130962848663, 0.18529334664344788, 0.22560863196849823, 0.1475500762462616, 0.019040575250983238, 0.20360979437828064, -0.06799162179231644, -0.35228919982910156, 0.2445334643125534, -0.30613282322883606, 0.48099085688591003, -0.2132388800382614, -0.8207045793533325, -0.24091050028800964, 0.06998372822999954, 0.6712287664413452, -0.28940245509147644, 0.24061240255832672, 0.24859619140625, -0.0053313253447413445, -0.2834964096546173, -0.7142098546028137, -0.4820297956466675, -0.46464672684669495, -0.08964139223098755, -0.3076581060886383, -0.8907336592674255, 0.19495795667171478, -0.26668357849121094, 0.3049388825893402, 0.2613448202610016, 0.7122765183448792, -0.0912213921546936, 1.329783320426941, 0.13964709639549255, 0.14709937572479248, 0.17395786941051483, 0.14952419698238373, 0.5393570065498352, -0.5151442885398865, -0.22864671051502228, -0.5168728232383728, -0.1596507877111435, -0.37673404812812805, -0.5604826211929321, 0.5711647272109985, 0.1326533854007721, -0.19168761372566223, 0.19771601259708405, -0.45421427488327026, 0.7231773138046265, 0.4695776402950287, -0.04888492450118065, 0.5123368501663208, -0.1705288141965866, -0.404811829328537, -0.059770043939352036, -0.614483654499054, -0.4451150596141815, 0.74640953540802, 0.20375755429267883, 0.5889879465103149, 0.3050878643989563, 0.9809555411338806, 0.4331844449043274, 0.5172054171562195, -0.7904454469680786, 0.7283620238304138, -0.03879109397530556, -0.18906284868717194, -0.45160821080207825, -0.4772968292236328, -0.8246188759803772, 0.4690808653831482, -0.03057209402322769, -0.6252654194831848, -0.14374105632305145, 0.36803025007247925, -0.5367076396942139, -0.0842171162366867, -0.5814714431762695, 0.9073507189750671, -0.30766645073890686, -0.3289773762226105, -0.008577666245400906, -0.3123207688331604, 0.28158295154571533, 0.15138015151023865, 0.26192551851272583, -0.4636700749397278, 0.17197304964065552, 0.6777270436286926, -0.6501444578170776, 0.5922427177429199, -0.1405530869960785, -0.34821632504463196, 0.01262338925153017, 0.4471977949142456, 0.6276413798332214, 0.045406274497509, -0.09501545876264572, -0.11320091038942337, -0.12052526324987411, -0.30773183703422546, -0.9899817705154419, 0.9239112138748169, -0.4004474878311157, -0.8990299105644226, -0.2991417944431305, -0.38174447417259216, -0.4655303359031677, 0.059614505618810654, 0.2070837914943695, 0.5396573543548584, 0.305915504693985, -0.02648358978331089, 0.7222601771354675, -0.038411498069763184, 0.31247031688690186, 0.46062853932380676, -0.4353794753551483, -0.22497637569904327, 0.7874324321746826, -0.0765407606959343, 0.3861847519874573, 0.18482068181037903, 0.34450823068618774, -0.6075210571289062, -0.43820029497146606, -0.5036618709564209, 0.10200522094964981, -1.0019255876541138, -0.3215096592903137, -0.6151824593544006, 0.0021466887556016445, -0.5056024789810181, -0.05381050705909729, -0.3953598737716675, -0.6553206443786621, 0.48847565054893494, -0.1423829197883606, 0.3461199700832367, 0.7695529460906982, -0.02929558977484703, 0.008920474909245968, -0.4296005666255951, 0.4163200855255127, 0.6753795742988586, 0.2441236823797226, -0.034327756613492966, -0.6364021301269531, 0.1806158721446991, -0.4479348659515381, -0.2255002111196518, -0.8405154347419739, 0.3000098466873169, 0.041205570101737976, 0.814673662185669, 0.21812134981155396, 0.15013554692268372, 0.5660268664360046, -0.4736109972000122, 0.8711769580841064, 0.007073169574141502, -0.9177661538124084, 0.757265567779541, -0.3059556484222412, 0.44265714287757874, 0.5537362098693848, 0.3876796066761017, -0.48092785477638245, -0.8653184771537781, -0.6500605940818787, -0.933817446231842, 0.34574857354164124, 0.4094780385494232, -0.10400636494159698, -0.22075290977954865, 0.22019541263580322, 0.09920839965343475, -0.01028660498559475, -0.7644942402839661, -0.17185725271701813, -0.28751906752586365, -0.11099377274513245, -0.00011749470286304131, -0.09774331003427505, -0.039019178599119186, -0.3739381432533264, 0.694982647895813, -0.2816118896007538, 0.23194338381290436, 0.14564023911952972, -0.2757173478603363, 0.12943050265312195, 0.4431522488594055, 0.48085254430770874, 0.8916558623313904, 0.010754047892987728, 0.5893756747245789, 0.3195112347602844, 0.018601978197693825, 0.27133893966674805, 0.03496967628598213, 0.05045256018638611, 0.05322981998324394, 0.5972462892532349, 0.5580840706825256, 0.40850043296813965, -0.4962908625602722, 0.635083794593811, -0.237151637673378, -0.02198421210050583, 0.0184630136936903, 0.33439284563064575, 0.20884966850280762, 0.12753009796142578, 0.3200940191745758, -0.21580085158348083, 0.24464762210845947, -0.37385091185569763, 0.21388988196849823, 0.29997625946998596, -0.07538364082574844, 0.1045297160744667, 0.5502514243125916, 0.3039293885231018, -0.3090091049671173, 0.5594303607940674, -0.3132093846797943, -0.5445638298988342, 0.4213990271091461, 0.4381943643093109, 0.5194247364997864, -0.40808555483818054, 0.3372630178928375, 0.4514046609401703, 0.11851578205823898, -0.4544329345226288, 0.19296211004257202, -0.19676817953586578, -0.5357507467269897, -0.6685406565666199, -0.5910841226577759, -0.6235207319259644, 0.18143917620182037, -0.4639093279838562, 0.1471051573753357, -0.5345614552497864, -0.037258174270391464, 0.05793853476643562, -0.16406680643558502, -0.39045655727386475, 0.1613987386226654, 0.25623369216918945, 0.844025731086731, -0.9234890937805176, 0.7427549362182617, 0.5359356999397278, -0.3639090359210968, -0.940892219543457, 0.20181100070476532, 0.08235924690961838, -0.8075254559516907, 0.7876667976379395, 0.36745527386665344, -0.2272886484861374, 0.24390067160129547, -0.512018620967865, -0.725935161113739, 0.7721073627471924, 0.6502385139465332, -0.44342219829559326, 0.3430916666984558, 0.020711766555905342, 0.40697935223579407, -0.2550758421421051, 0.656086802482605, 0.6749473810195923, 0.6621624827384949, 0.25082603096961975, -0.9478265047073364, 0.21880611777305603, -0.3028276562690735, -0.3462725579738617, 0.23334121704101562, -0.3722614645957947, 0.7332494258880615, -0.30056655406951904, 0.08225215971469879, -0.08945196121931076, 0.5281975269317627, 0.7060043215751648, 0.006310576107352972, 0.7460636496543884, 0.6744457483291626, 0.8981950879096985, -0.271018385887146, 1.0497488975524902, -0.22018083930015564, 0.20810091495513916, 1.1596044301986694, -0.27811869978904724, 1.0340449810028076, 0.22193743288516998, -0.16627395153045654, 0.7069339156150818, 0.6704249978065491, 0.20414218306541443, 0.34721195697784424, 0.24527902901172638, -0.2841726541519165, -0.8661593794822693, 0.021996937692165375, -0.19952541589736938, 0.35123196244239807, 0.12261981517076492, 0.025751324370503426, -0.5422378182411194, -0.1341877281665802, 0.22042223811149597, 0.08522424846887589, -0.21068352460861206, 0.6866952776908875, 0.09619956463575363, -1.0965397357940674, 0.7976066470146179, -0.24294522404670715, 0.45231008529663086, -0.48894041776657104, -0.35738611221313477, -0.5657446980476379, -0.035720035433769226, -0.17138703167438507, -0.8336693644523621, 0.01388255599886179, 0.03360912948846817, 0.06295643746852875, -0.6058383584022522, 0.5905228853225708, -0.3437357544898987, -0.4290006458759308, 0.20754827558994293, 0.6722185015678406, 0.4355579614639282, -0.3096776604652405, -0.8104943633079529, 0.03052348643541336, -0.2498452514410019, -0.2901656925678253, 0.35449299216270447, 0.26772424578666687, -0.33585333824157715, 0.8639578223228455, 0.7665220499038696, 0.096953384578228, -0.13633330166339874, 0.5109013319015503, 0.7012673616409302, -0.44555744528770447, -0.42600852251052856, -0.90666663646698, 0.2856558561325073, -0.2537970542907715, -0.14252667129039764, 0.8106477856636047, 0.3099648356437683, 0.6325439810752869, 0.16655822098255157, 0.6111111044883728, 0.07567772269248962, 0.6318179368972778, -0.6695548295974731, 0.6720649003982544, -0.5173220634460449, 0.41698482632637024, 0.029402753338217735, -0.7652837038040161, -0.37963980436325073, 0.6529814004898071, -0.5948547124862671, 0.11740522086620331, 0.9139161705970764, 0.8676014542579651, 0.058712221682071686, -0.30195191502571106, 0.42862793803215027, 0.20683187246322632, 0.4588814079761505, 0.39165744185447693, 0.9710491895675659, 0.01481780968606472, 0.5071274042129517, 0.08966393768787384, -0.24103586375713348, -0.24943940341472626, -1.097529411315918, -0.8756464719772339, -0.38014814257621765, -0.48843708634376526, -0.3401601314544678, 0.22263599932193756, 1.0608245134353638, 0.7817768454551697, -0.9616442918777466, -0.11336683481931686, -0.05270645022392273, 0.24835121631622314, -0.3028114438056946, -0.19011154770851135, 0.32295891642570496, -0.6986886262893677, -0.6225823760032654, 0.7092500329017639, 0.31506890058517456, -0.23199614882469177, -0.2885023057460785, -0.18895313143730164, 0.15620754659175873, 0.123807393014431, 0.5371761322021484, 0.14415523409843445, -0.9604494571685791, -0.2843894064426422, -0.27759653329849243, -0.08104675263166428, 0.10521913319826126, 0.950928807258606, -1.0058506727218628, 0.22784732282161713, 0.7212877869606018, 0.4294740855693817, -0.0015319448430091143, 0.20520639419555664, 0.5422554612159729, -0.697478175163269, -0.19871510565280914, 0.12206903100013733, 0.46825283765792847, 0.5750077962875366, -0.40635356307029724, 0.47471779584884644, 0.08102796971797943, -0.7031643390655518, -0.6991761922836304, 0.25780245661735535, -0.8278012275695801, -0.24809370934963226, 1.1673716306686401, -0.33742475509643555, 0.05150313675403595, -0.02970985323190689, -0.20073682069778442, -0.05940653756260872, -0.497801810503006, 0.8950737118721008, 0.6566176414489746, -0.4684901237487793, -0.38165283203125, -0.7353405952453613, 0.6808105111122131, 0.7640748023986816, -1.1328624486923218, 0.3390035033226013, 0.4116378724575043, 0.40710127353668213, 0.017930565401911736, 0.8252742290496826, -0.05145411938428879, 0.2625584304332733, -0.27223652601242065, -0.1517018973827362, -0.19524165987968445, -0.47625532746315, -0.2021244764328003, 0.23305898904800415, 0.5493524670600891, 0.18445074558258057 ]
http://arxiv.org/abs/2403.12368v1
http://arxiv.org/pdf/2403.12368v1
Characteristic AI Agents via Large Language Models
2024-03-19T02:25:29
2024-03-19T02:25:29
Xi Wang, Hongliang Dai, Shen Gao, Piji Li
cs.CL
cs.CL, cs.AI
The advancement of Large Language Models (LLMs) has led to significant enhancements in the performance of chatbot systems. Many researchers have dedicated their efforts to the development of bringing characteristics to chatbots. While there have been commercial products for developing role-driven chatbots using LLMs, it is worth noting that academic research in this area remains relatively scarce. Our research focuses on investigating the performance of LLMs in constructing Characteristic AI Agents by simulating real-life individuals across different settings. Current investigations have primarily focused on act on roles with simple profiles. In response to this research gap, we create a benchmark for the characteristic AI agents task, including dataset, techniques, and evaluation metrics. A dataset called ``Character100'' is built for this benchmark, comprising the most-visited people on Wikipedia for language models to role-play. With the constructed dataset, we conduct comprehensive assessment of LLMs across various settings. In addition, we devise a set of automatic metrics for quantitative performance evaluation. The experimental results underscore the potential directions for further improvement in the capabilities of LLMs in constructing characteristic AI agents. The benchmark is available at https://github.com/nuaa-nlp/Character100.
[ -0.21939019858837128, -0.7142576575279236, 0.2946734130382538, 0.2658809721469879, 0.26617977023124695, 0.18349692225456238, -0.3578752279281616, -0.5527521371841431, 0.36125636100769043, 0.7237712740898132, -0.2253253310918808, -0.44005241990089417, -0.3199149966239929, 0.2465110719203949, -0.6016419529914856, 0.654190719127655, 0.2633991837501526, 0.1949811428785324, -0.47146111726760864, -0.13363459706306458, -0.5357983708381653, -0.6604086756706238, -0.8187400698661804, -0.4067811369895935, 0.5096781253814697, 0.2676549553871155, 0.5907217264175415, 0.671208381652832, 0.4425587058067322, 0.45963993668556213, 0.06402523815631866, 0.2794238030910492, -0.6026312112808228, 0.438147634267807, 0.0195506252348423, -0.7202432155609131, -0.6893723011016846, 0.22705921530723572, 0.9306108951568604, 0.31414794921875, 0.09246351569890976, 0.13773085176944733, 0.16638313233852386, 0.358917236328125, -0.06519622355699539, 0.6505207419395447, -0.5534176826477051, -0.20317381620407104, -0.15818051993846893, -0.1792261153459549, -0.4805700182914734, -0.18533910810947418, -0.019244588911533356, -0.45443543791770935, 0.24876074492931366, 0.18880778551101685, 0.7193663120269775, -0.021245663985610008, -0.3307066559791565, -0.2608310580253601, -0.9116312265396118, 0.8888410329818726, -0.7159028649330139, 0.19829359650611877, 0.3157394826412201, 0.5228660702705383, -0.3329756259918213, -0.6085785627365112, -0.4237060546875, -0.8687444925308228, -0.0557313971221447, -0.22164224088191986, -0.06879808008670807, -0.11339307576417923, 0.3720673620700836, 0.23200015723705292, -0.4899308681488037, 0.38789451122283936, -0.07808578014373779, -0.11959787458181381, 0.9382867217063904, 0.504549503326416, 0.2632930874824524, 0.07458408921957016, 0.01050281897187233, -0.43591728806495667, -0.633395791053772, 0.311282217502594, 0.46928101778030396, 0.4599294066429138, -0.31756117939949036, 0.6419511437416077, -0.418674498796463, 0.17542293667793274, -0.22740331292152405, -0.31029391288757324, 0.2856174111366272, 0.0030232828576117754, 0.1625732183456421, -0.08113904297351837, 0.8094468116760254, 0.1079605296254158, 0.6232480406761169, -0.24677704274654388, -0.4666827321052551, -0.1371614933013916, 0.4055521786212921, -0.9054598212242126, -0.0873003676533699, 0.14959093928337097, -0.45034921169281006, -0.4168669879436493, -0.20507249236106873, -0.5214381217956543, -0.6618033051490784, -0.3550066351890564, 0.4827646315097809, -0.5210675001144409, -0.1007997915148735, -0.40847423672676086, 0.008740844205021858, 0.42112940549850464, 0.28565022349357605, -0.6635130643844604, 0.41208645701408386, 0.9426147937774658, 0.6581476926803589, -0.29585108160972595, -0.4656308889389038, -0.5942782163619995, -0.2037583291530609, -0.4586881697177887, 0.6906479597091675, -0.8338609933853149, -0.28463515639305115, 0.1277112066745758, -0.03272544965147972, 0.16445331275463104, -0.7719004154205322, 0.34221720695495605, -0.42510321736335754, -0.11793656647205353, -0.27002081274986267, -0.6305683851242065, 0.029635954648256302, 0.5612621903419495, -0.67476886510849, 0.8602861762046814, 0.18844613432884216, -0.26918840408325195, 0.1820027083158493, -0.6936708092689514, -0.42379599809646606, 0.37178727984428406, -0.3971215486526489, -0.2251395583152771, -0.020286941900849342, -0.10960566252470016, 0.5910500288009644, -0.4221644401550293, 0.03261406347155571, -0.22669774293899536, -0.7085965871810913, 0.8080781698226929, -0.6137672662734985, 0.5453199744224548, -0.04829687252640724, -0.18537785112857819, 0.24681785702705383, -0.6618881821632385, 0.002889742609113455, 0.10503034293651581, -0.27757638692855835, -0.10637465864419937, 0.08582977205514908, -0.04611041024327278, -0.15658487379550934, 0.4286670982837677, -0.3133622705936432, 0.21243329346179962, -0.1659860759973526, 0.2019083946943283, 0.6177329421043396, -0.225473552942276, 0.25420740246772766, -0.4639946222305298, 0.7022066116333008, -0.33601999282836914, 0.10328925400972366, -0.07313177734613419, -0.26629123091697693, -0.7469181418418884, -0.6385844349861145, 0.24745336174964905, 0.43071380257606506, -0.5656886100769043, 0.6895902156829834, -0.21620295941829681, -0.6601108908653259, -0.3616408705711365, 0.3089517056941986, 0.5258068442344666, 0.10844679176807404, 0.11193790286779404, -0.5162327289581299, -0.07480642944574356, -0.8872119188308716, -0.15835954248905182, -0.5172874331474304, -0.21885833144187927, 0.7032386660575867, 0.30340906977653503, -0.19248227775096893, 0.7359475493431091, -0.21614888310432434, -0.29576218128204346, -0.41263991594314575, 0.15059509873390198, 0.05514822527766228, 0.31215623021125793, 0.5922962427139282, -0.5383769869804382, -0.4526970088481903, -0.1931179314851761, -0.8185965418815613, -0.20884084701538086, 0.05484911426901817, -0.00040358977275900543, 0.08897368609905243, 0.5987541079521179, -0.6790765523910522, 0.20467577874660492, 0.5467369556427002, -0.2623630166053772, 0.641224205493927, -0.2795078754425049, 0.35195326805114746, -0.9109845161437988, 0.3588014841079712, 0.09469349682331085, -0.34615492820739746, -0.6611738801002502, 0.036956075578927994, -0.1801358014345169, -0.05269593745470047, -0.37240365147590637, 0.7324231266975403, -0.2926363945007324, -0.36749112606048584, -0.3394176661968231, 0.06412863731384277, -0.2802865505218506, 0.4978177547454834, -0.21552881598472595, 0.9486785531044006, 0.47162574529647827, -0.6970363259315491, 0.6206418871879578, 0.13148577511310577, -0.3894786238670349, 0.6398812532424927, -0.9550819396972656, -0.038502246141433716, 0.0737936869263649, 0.16404548287391663, -0.9852882623672485, -0.3622393012046814, 0.073677197098732, -0.39305251836776733, 0.3180563747882843, 0.025836467742919922, -0.7885183095932007, -0.2012532651424408, -0.17949996888637543, 0.3179672360420227, 0.7397695779800415, -0.10146874189376831, 0.6173558235168457, 0.4873811602592468, -0.19347341358661652, -0.34889936447143555, -0.21026702225208282, 0.1522563397884369, -0.4918884038925171, -0.3208205997943878, 0.2703325152397156, 0.05363935977220535, -0.429364413022995, -0.1567172408103943, 0.27520179748535156, 0.08005380630493164, 0.3232342004776001, 0.4846205711364746, 0.05984056368470192, -0.2598423659801483, 0.163161963224411, -0.30064448714256287, -0.02743370831012726, 0.12364258617162704, 0.5338567495346069, 0.9066065549850464, -0.18425355851650238, -0.22347238659858704, -0.7636174559593201, -0.027999397367239, 0.752116858959198, -0.2658196985721588, 0.7894406914710999, 0.3744068741798401, -0.043283749371767044, -0.44811710715293884, -0.6160357594490051, -0.37149837613105774, -0.4982856810092926, 0.6312846541404724, -0.34888529777526855, -0.8175166845321655, 0.7507926821708679, 0.05587805435061455, 0.20398913323879242, 0.3662793040275574, 0.4002956748008728, -0.2042028307914734, 0.9393782019615173, 0.6770305037498474, -0.39809685945510864, 0.587946355342865, -0.10411334037780762, -0.07202167809009552, -0.671327531337738, -0.19845224916934967, -0.7862504124641418, -0.4961104393005371, -0.8093485236167908, -0.533734142780304, 0.4238053262233734, -0.05503196269273758, -0.5072247385978699, 0.4916961193084717, -0.08118249475955963, 0.31716060638427734, 0.4084027111530304, 0.02754913829267025, 0.18424326181411743, 0.03118991106748581, 0.30908796191215515, 0.12222535163164139, -0.36738407611846924, -0.9486569166183472, 1.0669329166412354, 0.5115220546722412, 0.861772894859314, 0.10881859809160233, 0.5309692025184631, 0.6868555545806885, 0.3052218556404114, -0.653980016708374, 0.9919958114624023, -0.3081704378128052, -0.4813033938407898, -0.7361114025115967, -0.5488480925559998, -0.9444448351860046, 0.01738704927265644, -0.22149401903152466, -0.8246869444847107, -0.3912504315376282, 0.1577199548482895, 0.006743410602211952, -0.1593499630689621, -0.38424885272979736, 0.7615117430686951, -0.41089892387390137, -0.1921558529138565, -0.46661704778671265, -0.3972373306751251, 0.17031733691692352, 0.00663694366812706, -0.23975510895252228, -0.42835959792137146, 0.01599290408194065, 0.5540451407432556, -0.18365254998207092, 1.0024598836898804, -0.22883053123950958, -0.08516440540552139, 0.24209342896938324, 0.21460431814193726, 0.6236395835876465, 0.06574659049510956, -0.3209817707538605, 0.18075904250144958, -0.008116650395095348, -0.28774383664131165, -0.5232658982276917, 0.8140980005264282, -0.9872287511825562, -0.5794394612312317, -0.029207369312644005, -0.6361203193664551, -0.3682209253311157, -0.03827379643917084, -0.3357037603855133, 0.5173760652542114, -0.7425179481506348, 0.4686051607131958, 0.5571145415306091, -0.49696511030197144, 0.5495429635047913, 0.6498481035232544, -0.2289096713066101, 0.14042338728904724, 0.7978070974349976, 0.02803497388958931, 0.18393661081790924, 0.5433832406997681, 0.08522049337625504, -0.2358090579509735, -0.2108013927936554, -0.4369269907474518, 0.32087594270706177, -0.328111469745636, -0.057139407843351364, -0.5054100751876831, -0.5215411186218262, -0.43138912320137024, 0.22177660465240479, -0.5538799166679382, -0.1057087779045105, -0.10478216409683228, 0.40574911236763, 0.40066784620285034, 0.7005302309989929, 0.4286094605922699, 0.31607910990715027, -0.7093943953514099, 0.3649858236312866, 0.41669443249702454, 0.2619687020778656, 0.134377121925354, -0.7005132436752319, -0.18273645639419556, 0.04487203434109688, -0.25703176856040955, -0.32305753231048584, 0.4830339550971985, 0.1410171240568161, 1.0014008283615112, 0.4862949550151825, 0.06227153539657593, 0.44826969504356384, -0.33240798115730286, 0.8040968775749207, -0.256684273481369, -0.8091569542884827, 0.21267643570899963, -0.21708931028842926, 0.049991507083177567, 0.44768011569976807, 0.1721777617931366, -0.600325882434845, -0.6501216292381287, -0.35034605860710144, -0.44852474331855774, 0.721278190612793, 0.45555752515792847, 0.5743143558502197, 0.1321091204881668, 0.3466041684150696, 0.09935254603624344, 0.24810294806957245, -0.33780190348625183, -0.25203949213027954, 0.21402892470359802, -0.2294672280550003, -0.3420782685279846, -0.26743319630622864, -0.13714216649532318, 0.15350553393363953, 0.4954310357570648, -0.1936548948287964, 0.3574613630771637, -0.1885860562324524, 0.037179071456193924, 0.255311518907547, 0.09622468799352646, 0.5404900908470154, 0.6211485862731934, -0.07434442639350891, 0.055685289204120636, 0.1745055764913559, -0.3100837171077728, 0.0365331694483757, -0.03447827324271202, -0.0754588395357132, -0.17254456877708435, 0.7135854959487915, 0.4981439411640167, 0.006505245342850685, -0.9353690147399902, 0.5623974800109863, -0.15281595289707184, 0.20296376943588257, -0.5183602571487427, 0.6392374634742737, 0.10155968368053436, 0.5759245753288269, 0.2871052026748657, -0.39026588201522827, -0.01890999637544155, -0.8565091490745544, 0.19555723667144775, 0.6114261150360107, -0.40582433342933655, -0.404678612947464, 0.26637256145477295, 0.5526984333992004, -0.7882404923439026, 0.846082329750061, -0.22194257378578186, -0.35777586698532104, 1.0753549337387085, 0.30739670991897583, 0.9110822677612305, -0.18291808664798737, 0.2162005603313446, 0.12518669664859772, 0.10445043444633484, -0.14551377296447754, 0.07616058737039566, 0.037739403545856476, -0.8198728561401367, -0.15623626112937927, -0.6114495992660522, -0.48193296790122986, 0.2383873164653778, -0.25594353675842285, 0.30663540959358215, -0.36209043860435486, -0.1224818006157875, -0.12787838280200958, 0.30551013350486755, -0.8507317304611206, 0.05037108436226845, 0.07605788856744766, 0.5566633343696594, -0.7115845680236816, 0.9175665378570557, 0.4591901898384094, -0.2547082006931305, -0.674081027507782, 0.19179919362068176, -0.10080181062221527, -0.9891378283500671, 0.5674690008163452, 0.3196054995059967, -0.07026271522045135, -0.19312193989753723, -0.6083051562309265, -0.5132285952568054, 1.2825413942337036, 0.2874530851840973, -0.5340589880943298, -0.03686530143022537, 0.5362765789031982, 0.9650865197181702, -0.7524071335792542, 0.48708149790763855, 0.43296119570732117, 0.22501860558986664, -0.1594887226819992, -1.0342777967453003, -0.06367936730384827, -0.1452198028564453, 0.08084958791732788, -0.25482994318008423, -1.0312284231185913, 0.5681029558181763, 0.16090042889118195, -0.00443273363634944, 0.44678086042404175, 0.6424440145492554, 0.4298744797706604, 0.26772111654281616, 0.5592843890190125, 0.1099126785993576, 0.6324265599250793, 0.22772470116615295, 0.9123563170433044, -0.578507125377655, 0.03775372356176376, 0.9717811942100525, -0.575240969657898, 0.7726656198501587, 0.06152462959289551, -0.13633602857589722, 0.3819817304611206, 0.07666540145874023, -0.22556710243225098, 0.18248678743839264, 0.4738638699054718, -0.21644993126392365, -0.2926505506038666, -0.3214113414287567, -0.10153583437204361, 0.9520667791366577, 0.09738529473543167, -0.5698210000991821, 0.26962390542030334, -0.33409589529037476, -0.06041109561920166, 0.20456570386886597, -0.16198284924030304, 0.7559471130371094, 0.027647586539387703, -0.5311362743377686, 0.0883822962641716, 0.11925472319126129, 0.4855200946331024, -0.6284357309341431, -0.30955633521080017, -0.5321931838989258, 0.21159526705741882, 0.24140030145645142, -0.6621639132499695, -0.057753052562475204, 0.2307644486427307, -0.013005251064896584, -0.15634103119373322, 0.44624847173690796, -0.2378241866827011, -0.3879026472568512, 0.14995989203453064, 0.5544446706771851, 0.6276816725730896, 0.0013387014623731375, -0.48820960521698, 0.1928144097328186, -0.31445884704589844, -0.23694591224193573, 0.40296682715415955, 0.5077861547470093, -0.39561596512794495, 0.9572955965995789, 0.295158326625824, 0.15755249559879303, -0.3194763660430908, 0.17330601811408997, 0.6426642537117004, -0.8632479310035706, -0.2889646887779236, -0.8075172305107117, 0.2924797236919403, -0.2268281877040863, -0.4627951979637146, 0.7904987335205078, 0.7297496199607849, 0.6038554310798645, -0.041477933526039124, 0.5314489006996155, -0.08783277869224548, 0.46504250168800354, -0.2672874629497528, 1.047190546989441, -0.3598927855491638, 0.3988233804702759, -0.19483187794685364, -1.0741751194000244, 0.030888589099049568, 0.24957570433616638, 0.15550723671913147, 0.3447086215019226, 0.27136605978012085, 1.1276631355285645, 0.16956914961338043, -0.3684861958026886, 0.7605741620063782, 0.19249160587787628, 0.662396252155304, 0.2418534755706787, 0.9446427822113037, -0.2444990575313568, 0.30984827876091003, -0.1114690825343132, -0.16252471506595612, -0.4025218188762665, -0.642010509967804, -1.211626410484314, -0.47454512119293213, -0.30111992359161377, -0.15448583662509918, 0.005218891426920891, 0.9281827211380005, 0.8306522965431213, -0.688359797000885, -0.6159089207649231, 0.21064355969429016, -0.03681906312704086, -0.29590392112731934, -0.2501472532749176, 0.09039410948753357, -0.3289855718612671, -0.9316794872283936, 0.41447603702545166, 0.03624660149216652, -0.1172536313533783, -0.6299809217453003, -0.3379073739051819, 0.27083495259284973, 0.3384980261325836, 0.5419291853904724, 0.3199954926967621, -0.743646502494812, -0.33464720845222473, -0.08913934230804443, -0.6093307733535767, -0.13639305531978607, 0.834358811378479, -0.6130026578903198, 0.21425597369670868, 0.5549420714378357, 0.48468154668807983, 0.3003140687942505, 0.20572495460510254, 0.6542347073554993, -0.6409156918525696, -0.1066460981965065, 0.2412227839231491, 0.0974450409412384, 0.30235061049461365, -0.29668140411376953, 0.5181313753128052, -0.0819312259554863, -0.75224369764328, -0.7539903521537781, -0.0731726661324501, -1.0168105363845825, 0.0622577965259552, 1.3286410570144653, -0.3634885549545288, -0.11276184022426605, 0.15569262206554413, -0.1725565791130066, 0.3189728856086731, -0.6116678714752197, 0.9665756821632385, 0.4844752252101898, -0.4433608055114746, -0.13067761063575745, -0.44643932580947876, 0.4123685657978058, 0.2012929767370224, -0.9895455241203308, 0.22854502499103546, 0.5184648633003235, 0.20627717673778534, 0.07333975285291672, 0.38935986161231995, -0.09366238862276077, -0.05162526294589043, 0.04445948451757431, 0.30897870659828186, -0.09861158579587936, -0.6032646298408508, -0.25519099831581116, 0.2393379807472229, 0.40643206238746643, -0.11131764203310013 ]
http://arxiv.org/abs/2403.12328v1
http://arxiv.org/pdf/2403.12328v1
Methods for Generating Drift in Text Streams
2024-03-18T23:48:33
2024-03-18T23:48:33
Cristiano Mesquita Garcia, Alessandro Lameiras Koerich, Alceu de Souza Britto Jr, Jean Paul Barddal
cs.LG
cs.LG, cs.CL, cs.IR
Systems and individuals produce data continuously. On the Internet, people share their knowledge, sentiments, and opinions, provide reviews about services and products, and so on. Automatically learning from these textual data can provide insights to organizations and institutions, thus preventing financial impacts, for example. To learn from textual data over time, the machine learning system must account for concept drift. Concept drift is a frequent phenomenon in real-world datasets and corresponds to changes in data distribution over time. For instance, a concept drift occurs when sentiments change or a word's meaning is adjusted over time. Although concept drift is frequent in real-world applications, benchmark datasets with labeled drifts are rare in the literature. To bridge this gap, this paper provides four textual drift generation methods to ease the production of datasets with labeled drifts. These methods were applied to Yelp and Airbnb datasets and tested using incremental classifiers respecting the stream mining paradigm to evaluate their ability to recover from the drifts. Results show that all methods have their performance degraded right after the drifts, and the incremental SVM is the fastest to run and recover the previous performance levels regarding accuracy and Macro F1-Score.
[ -0.14825795590877533, -0.7343006134033203, 0.3701370656490326, -0.05804366245865822, -0.4404277205467224, 0.23393039405345917, -0.14343766868114471, -0.14443868398666382, 0.1954660415649414, 0.43087098002433777, -0.8653047680854797, -0.5696012377738953, -0.1981620043516159, -0.06203495338559151, -0.6357210874557495, 1.364075779914856, -0.005264960695058107, -0.22276195883750916, -0.1708146333694458, -0.10062718391418457, -0.4676530659198761, -0.37075120210647583, -0.5061173439025879, -0.23330196738243103, 0.13966475427150726, 0.15109188854694366, 0.38835644721984863, 0.7488740682601929, 0.52264004945755, 0.2148125320672989, 0.08973026275634766, 0.25733643770217896, -0.5364614129066467, 0.4730808138847351, -0.12987153232097626, -0.5625157356262207, 0.0431852713227272, -0.09098875522613525, 0.44430893659591675, 0.16010606288909912, -0.37558358907699585, 0.5093637704849243, -0.15086887776851654, 0.5963690876960754, -0.6962689757347107, 0.030596217140555382, -0.7587560415267944, -0.007720319088548422, -0.4672035276889801, -0.6019721627235413, -0.38806474208831787, -0.6926677823066711, 0.2861335575580597, -0.5222432017326355, 0.5976736545562744, -0.16195133328437805, 0.9672064185142517, 0.474072128534317, -0.12698587775230408, -0.9483973383903503, -0.69890296459198, 0.6711698174476624, -0.822526752948761, 0.03614888712763786, 0.18504364788532257, -0.006124487146735191, 0.11389335244894028, -0.7692309021949768, -0.5850087404251099, 0.03342844545841217, 0.08654404431581497, 0.20986326038837433, 0.3460245132446289, -0.6654267907142639, 0.00900934636592865, 0.10430096089839935, -0.253347784280777, -0.006626328453421593, -0.1270648092031479, 0.017595680430531502, 0.7538574934005737, 0.5436486601829529, 0.12342453002929688, -0.30850476026535034, -0.5537048578262329, -0.307718425989151, -0.707839846611023, 0.01291089877486229, 0.4172111451625824, 0.44373953342437744, 0.05827733874320984, 0.3329835534095764, -0.036909863352775574, 0.4585109353065491, -0.0003537751908879727, -0.4508429169654846, 0.6033890247344971, -0.37842872738838196, 0.14498788118362427, 0.449178546667099, 0.4508912265300751, 0.5875369906425476, -0.05587828531861305, 0.05476130545139313, -0.22446255385875702, 0.2242441177368164, 0.43795016407966614, -0.4721079468727112, -0.30662670731544495, 0.19643549621105194, -0.5705196261405945, -0.5383185744285583, 0.05780728906393051, -0.9994220733642578, -0.3902791738510132, -0.3026418387889862, 0.41102656722068787, -0.4826691150665283, -0.5328118205070496, -0.3916526734828949, -0.6910215020179749, 0.26115089654922485, 0.28854691982269287, -0.6936362385749817, 0.08371834456920624, 0.643764078617096, 0.9863834381103516, -0.2283145934343338, -0.06770510971546173, -0.4267283082008362, 0.050318364053964615, -0.4254678189754486, 0.9950776100158691, -0.3447374999523163, -0.3381403088569641, 0.2782192528247833, -0.3998797833919525, -0.00151271210052073, -0.5118185877799988, 0.5482252240180969, -0.4992389678955078, 0.2792719602584839, -0.03650086745619774, -1.0230093002319336, -0.03374946489930153, -0.06452369689941406, -0.2865557372570038, 1.1243404150009155, -0.02567906677722931, -0.9174299240112305, 0.5593635439872742, -0.755872368812561, -0.5140344500541687, 0.3727438747882843, 0.19902920722961426, -0.5443522930145264, 0.27673977613449097, -0.03531850501894951, 0.4389547109603882, 0.21054498851299286, -0.013617288321256638, -0.1963724046945572, 0.000297947961371392, 0.14018841087818146, -0.13946203887462616, 0.5038838386535645, 0.41921600699424744, -0.39601930975914, -0.2625313699245453, -0.5720728039741516, 0.18749752640724182, 0.10391721874475479, -0.3628595173358917, -0.8113288879394531, 0.6707115769386292, 0.23723742365837097, 0.10018226504325867, -0.10773228853940964, -0.38912639021873474, 0.06501498073339462, -0.22806259989738464, 0.6097483038902283, 1.0202046632766724, 0.5373079180717468, 0.08122458308935165, -0.42256155610084534, 0.44146934151649475, 0.24697168171405792, -0.4341319501399994, -0.752824068069458, -0.296568363904953, -0.7674320340156555, -0.0384993813931942, 0.28916993737220764, 0.4289535880088806, -0.8311147093772888, 0.4095068573951721, -0.5350321531295776, -0.5628897547721863, -0.5381394624710083, 0.22215911746025085, -0.02994176186621189, 0.6190937757492065, 0.32066962122917175, 0.1941828727722168, -0.18056073784828186, -0.16542142629623413, -0.3589325249195099, 0.052908528596162796, -0.10772670060396194, 0.10776720196008682, 0.16794036328792572, -0.3324761390686035, 1.1739509105682373, -0.8713449835777283, -0.23505260050296783, 0.025255151093006134, 0.46537256240844727, -0.21516326069831848, 0.2739368975162506, 0.3750031888484955, -0.8061535954475403, -0.39972665905952454, -0.17284345626831055, -0.7210252285003662, -0.01984303444623947, -0.5470150113105774, -0.04503130912780762, 0.5772247314453125, 0.550014078617096, -0.09856341779232025, 0.24915055930614471, 0.25458163022994995, -0.4403747320175171, 0.2169322967529297, 0.045896582305431366, -0.31644538044929504, -1.1060137748718262, -0.42735087871551514, 0.5632514357566833, -0.3536238968372345, -0.4262893497943878, -0.05010618641972542, -0.11322974413633347, 0.08985430747270584, -0.2755703926086426, 0.3677295446395874, -0.13575921952724457, 0.4158341586589813, -0.1961878538131714, 0.3943733870983124, -0.244787335395813, 0.06248210743069649, 0.24464410543441772, 0.2994881868362427, 0.2679567337036133, -1.0562485456466675, 0.37514063715934753, 0.1453080028295517, -0.40589261054992676, 0.7229727506637573, -0.13946689665317535, 0.1269904375076294, -0.3813614845275879, 0.2593904435634613, -0.999571681022644, -0.11460315436124802, -0.045189399272203445, -0.3934842348098755, 0.23424413800239563, 0.18907946348190308, -0.22191086411476135, -0.19356006383895874, -0.493376761674881, -0.41430070996284485, 0.4323020279407501, -0.5490658283233643, 0.17615936696529388, 0.5677350759506226, -0.21412406861782074, -0.24261151254177094, -0.6448677182197571, 0.04089963436126709, -0.5962298512458801, -0.29982519149780273, 0.2362792193889618, 0.000839209882542491, -0.3357607126235962, 0.25243493914604187, -0.19571553170681, 0.10773403197526932, 0.07059208303689957, 0.11252230405807495, 0.20866432785987854, -0.04872040078043938, 0.7129221558570862, 0.056077759712934494, -0.11029330641031265, 0.15442700684070587, -0.414861261844635, 0.4684315621852875, 0.13927936553955078, 0.18712061643600464, -0.4006682336330414, 0.0772792249917984, 0.16655944287776947, 0.12036515772342682, 0.4941084682941437, 0.7410897612571716, -0.21505846083164215, -0.6936454772949219, -0.46457168459892273, -0.05819370970129967, -0.46748024225234985, 0.028171099722385406, -0.30320629477500916, -0.6020668745040894, 0.2693440020084381, -0.4324369728565216, 0.40113502740859985, 0.6749680638313293, 0.7924807071685791, -0.6279311776161194, 0.43777966499328613, 0.6185052990913391, 0.13443303108215332, 0.5240212678909302, -0.37259963154792786, 0.22478175163269043, -0.5853903889656067, -0.23352614045143127, -0.6245063543319702, -0.3982136845588684, -0.965383768081665, -0.1565505564212799, 0.20228298008441925, -0.24635851383209229, 0.20241114497184753, 0.24707336723804474, -0.5373663306236267, 0.14311394095420837, 0.5996147394180298, -0.02963176928460598, 0.3378220498561859, 0.03679819405078888, -0.18725618720054626, -0.12386011332273483, -0.4757499098777771, -0.514000415802002, 1.1329131126403809, 0.210964173078537, 0.784316897392273, -0.09831223636865616, 0.8896352648735046, 0.8168556690216064, 0.6039010286331177, -0.5779692530632019, 0.15110698342323303, 0.08612887561321259, -0.6360841989517212, -0.3697568476200104, -0.6536014676094055, -0.5610118508338928, 0.06294862926006317, -0.1442061811685562, -0.42387309670448303, 0.07799054682254791, 0.15801531076431274, -0.024673884734511375, 0.10988660156726837, -0.7764636278152466, 0.35883450508117676, -0.08163706213235855, -0.19123859703540802, -0.21102726459503174, -0.46339553594589233, 0.34199830889701843, -0.39389920234680176, 0.3665884733200073, -0.33364400267601013, -0.1941002905368805, 0.6494662165641785, -0.7174215316772461, 0.5143627524375916, -0.42755499482154846, -0.37934577465057373, 0.5685760378837585, -0.15632201731204987, 0.4972299635410309, 0.10694443434476852, 0.01559434738010168, 0.05445774272084236, -0.15073584020137787, -0.1510571986436844, -0.2612834870815277, 0.7494430541992188, -0.7183948159217834, 0.0068262903951108456, -0.2703603506088257, 0.04713580757379532, -0.14109228551387787, -0.07478302717208862, 0.7631909251213074, 0.3695610463619232, -0.0775824561715126, -0.0006443618913181126, 0.7200789451599121, 0.09276344627141953, 1.026516079902649, 0.3485671579837799, -0.08786655962467194, -0.3700859844684601, 1.07860267162323, 0.36033663153648376, 0.10278139263391495, 0.4073917269706726, 0.12898702919483185, -0.43659916520118713, -0.4290652871131897, -0.425790935754776, -0.12617240846157074, -0.5455913543701172, -0.5581973791122437, -0.5837523937225342, -0.06819170713424683, -0.22816187143325806, -0.2789643108844757, -0.23200708627700806, -0.5184125900268555, -0.18661172688007355, -0.3171806335449219, 0.6061322093009949, 0.6467655897140503, 0.034996241331100464, 0.27060067653656006, -0.7682257890701294, 0.35307180881500244, 0.1682640016078949, 0.26628708839416504, 0.076348677277565, -0.12482316046953201, -0.5381856560707092, 0.17924271523952484, -0.45242756605148315, -0.5429793000221252, 0.33886244893074036, 0.3309403955936432, 0.4035291373729706, 0.5209561586380005, 0.27904021739959717, 0.45311859250068665, -0.4961467683315277, 0.8738250136375427, 0.17892061173915863, -1.1043083667755127, 0.8471508026123047, -0.5123714208602905, 0.4220949113368988, 0.4440917670726776, 0.48491334915161133, -0.7324445247650146, -0.49899962544441223, -0.6429305672645569, -1.0536786317825317, 0.7073748707771301, 0.061212729662656784, 0.3912147283554077, -0.05286687985062599, 0.47761693596839905, 0.31838008761405945, 0.4398218095302582, -0.6875289082527161, -0.3279380202293396, -0.5602837204933167, -0.3086954355239868, -0.1094464585185051, 0.014469366520643234, 0.3174923062324524, -0.048803843557834625, 0.8710466027259827, -0.16121576726436615, 0.09904324263334274, 0.13488033413887024, -0.26559674739837646, -0.22390644252300262, -0.08791116625070572, 0.44649598002433777, 0.7390561103820801, -0.1692582219839096, -0.08310355991125107, -0.10623971372842789, -0.7356468439102173, 0.40466898679733276, -0.3040443956851959, -0.7222580313682556, 0.48933547735214233, 0.2684229612350464, 0.5837934613227844, -0.13329626619815826, -0.6575243473052979, 0.2055307924747467, -0.03785962238907814, -0.17369064688682556, -0.45881420373916626, 0.3324880003929138, 0.3321613669395447, -0.3281645178794861, 0.641738772392273, 0.2921375334262848, -0.004396830685436726, -0.5131991505622864, 0.23022155463695526, 0.07263956218957901, -0.30554601550102234, -0.1006794273853302, 0.5130005478858948, 0.3745722770690918, -0.3634395897388458, 0.7534958720207214, -0.18028290569782257, -0.19630514085292816, 0.26441502571105957, 0.4696754813194275, 1.0201079845428467, -0.16748929023742676, 0.5196980834007263, 0.3316572308540344, 0.1490122526884079, -0.1288534700870514, 0.018585065379738808, -0.16230805218219757, -0.8191661238670349, -0.42517971992492676, -0.7275918126106262, -0.30676066875457764, 0.06766735762357712, -0.7419105768203735, 0.36931389570236206, -0.42518797516822815, -0.4243236482143402, 0.29992666840553284, -0.04173075035214424, -0.45914947986602783, 0.19399189949035645, 0.4322640001773834, 0.831786572933197, -0.7442078590393066, 0.5518805980682373, 0.7926657795906067, -0.16485123336315155, -0.34320756793022156, 0.51144939661026, 0.20259998738765717, -0.3026221990585327, 0.36349090933799744, 0.03424711152911186, -0.2042265683412552, 0.13389931619167328, -0.6987815499305725, -0.7336317896842957, 0.7872284054756165, -0.39678332209587097, -0.35957151651382446, 0.11622525006532669, -0.08203119039535522, 0.6595486998558044, -0.42735785245895386, -0.07271605730056763, 0.3859167993068695, 0.2244158685207367, 0.05810360610485077, -0.3501409590244293, -0.10996419191360474, -0.2203252613544464, 0.274515300989151, 0.4827808737754822, -0.7450697422027588, 0.538341760635376, -0.05391409248113632, -0.3040678799152374, -0.3712807893753052, 0.42459747195243835, -0.09615777432918549, 0.6264488697052002, 0.3649442493915558, 0.9755839109420776, 1.0486429929733276, -0.255612850189209, 0.6095809936523438, 0.10096260905265808, 0.512356162071228, 1.0425910949707031, -0.5345475673675537, 1.084380030632019, 0.0020970769692212343, -0.05135662481188774, 0.9436038136482239, 0.646362841129303, -0.1669335812330246, 0.8882070183753967, 0.2921425402164459, -0.15005092322826385, 0.024469248950481415, 0.11057987809181213, -0.3710607886314392, 0.41436511278152466, 0.8021515011787415, -0.11361056566238403, -0.3960062861442566, 0.2694239020347595, 0.2835068702697754, 0.08576367795467377, -0.4140543043613434, 1.2708439826965332, -0.0185233186930418, -0.6692454814910889, 0.4540974199771881, 0.08543827384710312, 0.8248764872550964, -0.544865608215332, 0.3291999399662018, -0.3086446523666382, 0.42800793051719666, -0.2810632884502411, -0.34584155678749084, 0.4221612811088562, 0.18851153552532196, -0.2217559665441513, -0.43231168389320374, 0.6403416991233826, -0.09735233336687088, -0.5816399455070496, -0.16584512591362, 0.34729135036468506, -0.16196857392787933, 0.27951449155807495, -0.4281553328037262, 0.03147902712225914, 0.13765253126621246, -0.21455980837345123, 0.1908724457025528, 0.5068090558052063, 0.050897061824798584, 0.7743140459060669, 0.6083341836929321, -0.04477517679333687, 0.41674065589904785, -0.3552738428115845, 0.7136000394821167, -0.7480992078781128, -0.6657048463821411, -0.8606113791465759, 0.4275202751159668, -0.16906817257404327, -0.5512915849685669, 0.9823386669158936, 0.6105248928070068, 0.9749011397361755, -0.007750319316983223, 1.1077489852905273, -0.0815025046467781, 0.9618581533432007, -0.6948986649513245, 0.5404988527297974, -0.2468726933002472, 0.19568471610546112, -0.3968558609485626, -0.8621662855148315, 0.12776346504688263, 0.5798587799072266, -0.0423058457672596, -0.27076324820518494, 0.7813159227371216, 0.06817790865898132, 0.41962960362434387, 0.25559186935424805, -0.330646812915802, 0.054839856922626495, 0.263301819562912, 0.007651329040527344, 0.9072483777999878, -0.37830600142478943, 0.2948644757270813, -0.18704092502593994, -0.030418219044804573, -0.32891765236854553, -0.8530912399291992, -0.5333985686302185, -0.55350261926651, -0.7665660977363586, -0.3688676953315735, -0.05186661332845688, 0.7325631380081177, 0.6450781226158142, -0.8005746603012085, -0.22504913806915283, -0.15284903347492218, 0.2884293794631958, -0.5071154832839966, -0.4158925712108612, 0.3257081210613251, -0.9719136953353882, -0.5122901797294617, 0.019025903195142746, 0.21561214327812195, -0.10984212160110474, -0.25411614775657654, 0.22749844193458557, -0.25973451137542725, 0.13850876688957214, 0.4224395155906677, -0.09675105661153793, -0.20544148981571198, 0.10607782751321793, -0.13570760190486908, 0.13181553781032562, 0.13031573593616486, 0.859679102897644, -1.0047521591186523, 0.34111785888671875, 0.49963366985321045, 0.35824185609817505, 0.7780210375785828, 0.3092120587825775, 0.27517661452293396, -0.7994439005851746, -0.05860443785786629, 0.24058157205581665, -0.16344967484474182, 0.30626431107521057, -0.47970375418663025, 0.38946232199668884, 0.36512237787246704, -0.36642688512802124, -0.7080681920051575, -0.1449194848537445, -0.3579275608062744, -0.4100727140903473, 0.7555773258209229, -0.06450812518596649, 0.035262737423181534, -0.19462285935878754, 0.33652183413505554, -0.15260913968086243, -0.4918488562107086, 0.9696834087371826, 0.8817351460456848, -0.0767374038696289, 0.17198427021503448, -0.5569372773170471, 0.7811341881752014, -0.2423611581325531, -0.952587902545929, 0.15853753685951233, 0.6765351891517639, 0.40850308537483215, 0.456903338432312, 0.6283318400382996, 0.11084297299385071, -0.19318512082099915, 0.11853843182325363, -0.1589765101671219, 0.4518716335296631, -0.10591395199298859, -0.10509413480758667, 0.2721833884716034, -0.3689062297344208, -0.23481126129627228 ]
http://arxiv.org/abs/2403.15455v1
http://arxiv.org/pdf/2403.15455v1
Improving Sampling Methods for Fine-tuning SentenceBERT in Text Streams
2024-03-18T23:41:52
2024-03-18T23:41:52
Cristiano Mesquita Garcia, Alessandro Lameiras Koerich, Alceu de Souza Britto Jr, Jean Paul Barddal
cs.CL
cs.CL, cs.LG
The proliferation of textual data on the Internet presents a unique opportunity for institutions and companies to monitor public opinion about their services and products. Given the rapid generation of such data, the text stream mining setting, which handles sequentially arriving, potentially infinite text streams, is often more suitable than traditional batch learning. While pre-trained language models are commonly employed for their high-quality text vectorization capabilities in streaming contexts, they face challenges adapting to concept drift - the phenomenon where the data distribution changes over time, adversely affecting model performance. Addressing the issue of concept drift, this study explores the efficacy of seven text sampling methods designed to selectively fine-tune language models, thereby mitigating performance degradation. We precisely assess the impact of these methods on fine-tuning the SBERT model using four different loss functions. Our evaluation, focused on Macro F1-score and elapsed time, employs two text stream datasets and an incremental SVM classifier to benchmark performance. Our findings indicate that Softmax loss and Batch All Triplets loss are particularly effective for text stream classification, demonstrating that larger sample sizes generally correlate with improved macro F1-scores. Notably, our proposed WordPieceToken ratio sampling method significantly enhances performance with the identified loss functions, surpassing baseline results.
[ -0.43239057064056396, -0.6657688021659851, 0.3069038391113281, -0.02755766175687313, -0.6766710877418518, 0.09518139064311981, -0.4568411111831665, -0.08138378709554672, -0.09734588116407394, 0.5167746543884277, -0.6957370042800903, -0.49889665842056274, -0.5360057353973389, 0.16208435595035553, -0.6783483624458313, 1.4342526197433472, 0.020429985597729683, -0.057839639484882355, -0.13208740949630737, -0.09134641289710999, -0.514146089553833, -0.10309486836194992, -0.6395758390426636, -0.3463883399963379, 0.29419219493865967, 0.310691773891449, 0.37075522541999817, 0.5411399602890015, 0.6018528342247009, 0.20090283453464508, -0.3524904251098633, 0.3544859290122986, -0.8724563121795654, 0.19419369101524353, -0.2704499661922455, -0.7200605869293213, -0.016269974410533905, 0.03480251133441925, 0.5280082821846008, 0.2524488568305969, -0.43806809186935425, 0.4596785008907318, 0.15737535059452057, 0.5196263790130615, -0.6639450788497925, -0.10117457807064056, -0.8161609172821045, -0.09371321648359299, -0.47409799695014954, -0.5230713486671448, -0.5690451264381409, -0.37724778056144714, 0.3089410066604614, -0.5172678232192993, 0.5627321004867554, 0.03908782824873924, 0.9991540312767029, 0.5365914106369019, -0.12666469812393188, -0.4837965965270996, -0.6862472891807556, 0.910538911819458, -0.8071708679199219, 0.15330950915813446, 0.30914777517318726, 0.003591635962948203, 0.18196919560432434, -0.5894814729690552, -0.4910789430141449, 0.033236194401979446, 0.13530167937278748, 0.09110052138566971, 0.0428655743598938, -0.12775708734989166, 0.0011093789944425225, 0.22464506328105927, -0.36274659633636475, 0.1307118684053421, -0.4572945237159729, -0.14323200285434723, 0.6989011764526367, 0.14347030222415924, 0.049448974430561066, -0.22835354506969452, -0.40430381894111633, -0.33741694688796997, -0.5461814999580383, 0.1456632912158966, 0.47000744938850403, 0.5932771563529968, 0.1598186492919922, 0.34855887293815613, -0.12320253998041153, 0.7127236127853394, 0.02106143720448017, -0.02492975816130638, 0.3496035635471344, -0.3706902861595154, -0.2592661380767822, 0.030121969059109688, 0.49480140209198, 0.5915525555610657, 0.40545883774757385, 0.15929386019706726, -0.22896242141723633, -0.029731009155511856, 0.5398416519165039, -1.0104032754898071, -0.3148759603500366, 0.17486341297626495, -0.547603964805603, -0.4454057216644287, 0.1966100037097931, -0.858464777469635, -0.24075156450271606, -0.3440540134906769, 0.28936824202537537, -0.6194515824317932, -0.17017395794391632, -0.02168881893157959, -0.5599353313446045, -0.006089931819587946, 0.22755831480026245, -0.7201598882675171, 0.24463023245334625, 0.7611414790153503, 1.0299931764602661, -0.213411346077919, 0.021841544657945633, -0.6288263201713562, -0.1415831744670868, -0.4926813244819641, 1.153897762298584, -0.5521339178085327, -0.3265776038169861, 0.10449124872684479, -0.3459946811199188, -0.2223341315984726, -0.590549886226654, 0.8386391997337341, -0.4670408070087433, 0.23964852094650269, -0.06792319566011429, -0.9468067288398743, -0.022005118429660797, 0.04801085591316223, -0.510145902633667, 1.0770368576049805, -0.07666824012994766, -0.8424440622329712, 0.5328860878944397, -0.3901037275791168, -0.5151293277740479, 0.10656175017356873, 0.14591822028160095, -0.3931669592857361, 0.4525066614151001, 0.2755264341831207, 0.7482360005378723, 0.09722865372896194, -0.15464656054973602, -0.31788212060928345, -0.5366123914718628, 0.10213491320610046, -0.3256227374076843, 0.4488353729248047, 0.45465847849845886, -0.10782304406166077, -0.057851046323776245, -0.6067498326301575, 0.30515506863594055, -0.2557758688926697, -0.2934931814670563, -0.7622628211975098, 0.45357152819633484, 0.4925636351108551, -0.002485147910192609, -0.32544201612472534, -0.3670777976512909, 0.056897033005952835, -0.6124616861343384, 0.7341993451118469, 0.9044511914253235, 0.1942780315876007, 0.2956139147281647, -0.38472238183021545, 0.5132882595062256, 0.012247808277606964, -0.23709475994110107, -0.5657168030738831, -0.23963329195976257, -0.5782572627067566, -0.2965802550315857, 0.5700979828834534, 0.4485761523246765, -0.783973217010498, 0.3399006426334381, -0.6840423941612244, -0.49789971113204956, -0.7359893918037415, 0.273421972990036, 0.11008951812982559, 0.3548290431499481, 0.34224674105644226, -0.03947329521179199, -0.1450541764497757, -0.4295145273208618, -0.4468992054462433, 0.033992234617471695, -0.13791322708129883, 0.10133419930934906, 0.19252872467041016, -0.30736351013183594, 1.188761591911316, -0.7793287038803101, -0.40562382340431213, -0.31903699040412903, 0.592307448387146, -0.06526941061019897, 0.14864341914653778, 0.48528099060058594, -0.8709129095077515, -0.2575743496417999, -0.23934797942638397, 0.011313998140394688, -0.15112173557281494, -0.24223491549491882, 0.12090294808149338, 0.3653620183467865, 0.49529045820236206, -0.25222980976104736, 0.26723775267601013, 0.6005702018737793, -0.3645370900630951, 0.23157097399234772, 0.009309142827987671, 0.02294274792075157, -1.1082786321640015, -0.2077232301235199, 0.35581451654434204, -0.3755400776863098, -0.538700520992279, -0.024664506316184998, -0.012824580073356628, 0.07174814492464066, -0.36826691031455994, 0.44744884967803955, -0.10854659229516983, 0.4899287521839142, -0.5733811259269714, 0.338988721370697, -0.11585045605897903, 0.09755121916532516, -0.16229313611984253, 0.8446175456047058, 0.02278219535946846, -0.9148545265197754, 0.06497083604335785, 0.2645581066608429, -0.43213391304016113, 0.7217383980751038, -0.4810297191143036, -0.06488338112831116, -0.47949740290641785, 0.27869775891304016, -1.1374197006225586, 0.07416239380836487, -0.221981018781662, -0.5320960283279419, 0.46433791518211365, 0.0724424421787262, -0.22293540835380554, -0.22201970219612122, -0.593305766582489, -0.13287542760372162, 0.45523810386657715, -0.2482173889875412, 0.1102980300784111, 0.41175568103790283, -0.31813743710517883, -0.34396642446517944, -0.8626995086669922, -0.10611684620380402, -0.29093512892723083, -0.3803047239780426, 0.5726447105407715, -0.03836642578244209, 0.0065958863124251366, 0.12228371202945709, -0.4313584864139557, -0.17915527522563934, -0.007790797855705023, -0.21688887476921082, -0.0168914757668972, -0.017977995797991753, 0.5428060293197632, 0.15415221452713013, -0.07907651364803314, -0.13380061089992523, -0.35326114296913147, 0.5666725039482117, 0.23067249357700348, 0.20285753905773163, -0.40985631942749023, 0.1003003865480423, 0.24123607575893402, -0.16690118610858917, 0.6819851994514465, 0.9099574685096741, -0.18013827502727509, -0.882098376750946, -0.5268383026123047, -0.23167690634727478, -0.43724602460861206, 0.3166694641113281, -0.13708984851837158, -1.0709428787231445, 0.26633644104003906, -0.12029417604207993, 0.18821771442890167, 0.35977450013160706, 0.4762079417705536, -0.4649873971939087, 0.6332618594169617, 0.7758023738861084, -0.3224702775478363, 0.7184142470359802, -0.3296346068382263, 0.22216369211673737, -0.6740183234214783, 0.3217616379261017, -0.7281080484390259, -0.21499404311180115, -0.8244643211364746, -0.41119077801704407, 0.1444009244441986, 0.011696824803948402, 0.24147316813468933, 0.29430097341537476, -0.3444046676158905, 0.3909066617488861, 0.48503339290618896, 0.12884311378002167, 0.14677315950393677, 0.07084045559167862, -0.11238208413124084, -0.09361392259597778, -0.6411945819854736, -0.5816664695739746, 1.0905861854553223, 0.21076956391334534, 0.6003208756446838, -0.2693321406841278, 0.7188501954078674, 0.48814424872398376, 0.3067066967487335, -0.6426124572753906, 0.37359800934791565, -0.496170312166214, -0.7343004941940308, -0.5206723213195801, -0.6048650741577148, -0.615794837474823, 0.11470459401607513, -0.1426621526479721, -0.5264915823936462, -0.18974797427654266, 0.45825791358947754, -0.42321503162384033, 0.07431471347808838, -0.7099369764328003, 0.8234598636627197, 0.26308882236480713, -0.11831557005643845, -0.5580322742462158, -0.3679901957511902, 0.28226038813591003, -0.150276780128479, 0.24538984894752502, -0.4390625059604645, -0.08150098472833633, 0.5150953531265259, -0.4823269248008728, 0.5364869832992554, -0.09818975627422333, -0.10537067800760269, 0.3587431013584137, -0.309740275144577, 0.49230125546455383, 0.000714355381205678, -0.01641787588596344, 0.01338520459830761, 0.06042134389281273, -0.2753654420375824, -0.5311478972434998, 0.5516248941421509, -0.5380801558494568, -0.05259236320853233, -0.1906459629535675, 0.02532404474914074, -0.15714852511882782, 0.03939765691757202, 0.6363529562950134, 0.5473513603210449, -0.23786133527755737, 0.4621066153049469, 0.9184577465057373, -0.12261835485696793, 0.7688888311386108, 0.17306911945343018, 0.07754729688167572, -0.43404263257980347, 0.9028549790382385, 0.2462552934885025, 0.25527292490005493, 0.6674700975418091, 0.17736560106277466, -0.34957897663116455, -0.6496497392654419, -0.39007872343063354, -0.06471671909093857, -0.40890923142433167, -0.45558351278305054, -0.505030632019043, -0.09371151775121689, -0.22545506060123444, -0.04464690387248993, -0.2598956525325775, -0.2579110562801361, -0.40473392605781555, -0.22811825573444366, 0.4652881622314453, 0.13608521223068237, 0.4338132441043854, 0.6217319369316101, -0.7344828844070435, 0.35498228669166565, -0.001404838520102203, 0.5663261413574219, -0.2002016007900238, -0.5556100010871887, -0.31774666905403137, -0.01406529638916254, -0.3186197578907013, -0.7236316204071045, 0.3147726058959961, 0.5530889630317688, 0.40401318669319153, 0.4017944931983948, 0.1092202216386795, 0.8596945405006409, -0.6504525542259216, 0.7905477285385132, -0.18507149815559387, -1.0636459589004517, 0.6852441430091858, -0.43106046319007874, 0.5003167390823364, 0.7746066451072693, 0.35911884903907776, -0.7509479522705078, -0.5373403429985046, -0.40473228693008423, -0.9163436889648438, 0.7355902791023254, 0.3008938729763031, 0.48096945881843567, 0.04435189068317413, 0.3307555019855499, -0.0030246006790548563, 0.4237207770347595, -0.5195644497871399, -0.14956243336200714, -0.23060958087444305, -0.6549514532089233, -0.43114280700683594, -0.21612119674682617, 0.3730568587779999, -0.09315931051969528, 0.8402448296546936, -0.15154792368412018, 0.008678252808749676, 0.13531208038330078, -0.33230459690093994, -0.10597620159387589, 0.3166932463645935, 0.7213485836982727, 0.5810969471931458, -0.11676622927188873, -0.13580964505672455, 0.16918334364891052, -0.8056120276451111, 0.078494593501091, 0.17431767284870148, -0.7040659785270691, 0.3112441599369049, 0.3654709756374359, 0.8245782256126404, 0.40424832701683044, -0.8238993287086487, 0.41981902718544006, -0.09065187722444534, -0.04419392719864845, -0.029885131865739822, 0.38793420791625977, 0.02098950557410717, -0.14523768424987793, 0.47395363450050354, 0.22931399941444397, 0.21956925094127655, -0.40042558312416077, 0.3018084168434143, 0.27989640831947327, -0.43442070484161377, 0.003058267990127206, 0.5381155610084534, 0.2665337324142456, -0.2038886398077011, 0.5953479409217834, -0.1659643054008484, -0.2354924976825714, 0.2628866732120514, 0.18817049264907837, 0.9320302605628967, -0.31032243371009827, 0.4649389088153839, 0.2111879587173462, 0.43290975689888, -0.39511653780937195, -0.00198729382827878, -0.03291366621851921, -0.7649219632148743, -0.7224316000938416, -0.8566147089004517, -0.17643795907497406, 0.10423395037651062, -0.6577755212783813, 0.43369898200035095, -0.23651117086410522, -0.516651451587677, 0.16697384417057037, 0.1679798662662506, -0.5272758603096008, 0.20207206904888153, 0.2915726602077484, 1.0781900882720947, -0.7719108462333679, 0.6113390326499939, 0.7075792551040649, -0.1757892221212387, -0.5176504850387573, 0.3994094729423523, 0.04614096134901047, -0.18026979267597198, 0.27751412987709045, 0.2627336382865906, -0.1145235076546669, 0.21944524347782135, -0.5036454796791077, -0.7921339869499207, 0.7937188148498535, -0.08875764906406403, -0.598751425743103, 0.08562111854553223, -0.0968405231833458, 0.706404447555542, -0.14982068538665771, 0.21251574158668518, 0.629111647605896, 0.1849016696214676, -0.016425877809524536, -0.7234662771224976, -0.2684440314769745, -0.07848367840051651, 0.5256919264793396, 0.5464122891426086, -0.6149601340293884, 0.5161650776863098, 0.09084782749414444, -0.3163112699985504, -0.13333436846733093, 0.7105216383934021, 0.03164620324969292, 0.36246880888938904, 0.5490995645523071, 0.7031973600387573, 0.8445295095443726, -0.16185887157917023, 0.6863614320755005, -0.07573862373828888, 0.4648273289203644, 0.9533615708351135, -0.265671968460083, 1.2663322687149048, 0.2560427486896515, -0.05108911544084549, 0.4486009478569031, 0.4888019263744354, -0.08639682084321976, 0.7671387791633606, 0.36129775643348694, 0.035835329443216324, 0.034118834882974625, 0.16432805359363556, 0.03052518330514431, 0.4916846752166748, 0.4701479375362396, -0.16281898319721222, -0.23335881531238556, 0.435973197221756, 0.12946489453315735, 0.3615871071815491, -0.5623660087585449, 0.8244295120239258, -0.010402296669781208, -0.7961732149124146, 0.39060723781585693, 0.22415193915367126, 0.9936866164207458, -0.37744152545928955, 0.36717966198921204, -0.2079296112060547, 0.5086636543273926, -0.10426787286996841, -0.446541965007782, 0.4944838583469391, 0.25697481632232666, -0.27164560556411743, -0.4432680010795593, 0.5922091007232666, -0.3775240182876587, -0.6223196387290955, -0.1736755669116974, 0.18232719600200653, -0.1686360388994217, -0.11364082992076874, -0.5181606411933899, 0.1724335104227066, -0.06400354206562042, -0.3183324337005615, -0.036407601088285446, 0.4854254722595215, 0.06143359839916229, 0.7240167856216431, 0.4660765528678894, 0.21877354383468628, 0.16687758266925812, 0.04165398329496384, 0.5831085443496704, -0.6684243083000183, -0.6180496215820312, -0.9160473346710205, 0.3899042308330536, -0.2420908361673355, -0.7186521291732788, 0.8539485931396484, 0.5452731847763062, 1.2719799280166626, -0.06459341198205948, 0.7189372181892395, 0.20812417566776276, 0.9961519241333008, -0.6666335463523865, 0.6285190582275391, -0.30434948205947876, 0.027068134397268295, -0.5736487507820129, -0.7588745951652527, -0.07122506946325302, 0.6000480055809021, -0.1322804093360901, -0.08155916631221771, 0.7336663603782654, 0.4296957850456238, 0.08197715133428574, 0.26784399151802063, -0.11464376002550125, 0.039558324962854385, 0.34440067410469055, 0.11883500218391418, 0.6003798246383667, -0.5408996343612671, 0.6681768298149109, -0.026944143697619438, -0.07410299777984619, -0.47068968415260315, -0.9952289462089539, -0.9122940897941589, -0.6298168301582336, -0.44808268547058105, 0.13038496673107147, 0.1109202578663826, 0.9133522510528564, 0.9747721552848816, -0.8256761431694031, -0.10197999328374863, -0.12486278265714645, -0.06903862953186035, -0.4606144428253174, -0.2887188196182251, 0.0554422028362751, -0.9415755867958069, -0.6537238359451294, 0.006186091806739569, 0.1509150266647339, -0.07977248728275299, -0.06669361144304276, 0.3526863753795624, -0.11205776035785675, 0.25232186913490295, 0.6738190650939941, -0.20572178065776825, -0.5221303105354309, -0.1428041160106659, 0.007613928522914648, 0.007978185079991817, -0.17170841991901398, 0.8527981042861938, -0.7676618099212646, 0.2398289144039154, 0.5832732915878296, 0.6743600964546204, 0.7011351585388184, 0.35704904794692993, 0.4178934097290039, -0.9591927528381348, 0.012784971855580807, 0.3819732367992401, -0.04066073149442673, 0.314492404460907, -0.26275840401649475, 0.2966548502445221, 0.12165176123380661, -0.44106367230415344, -0.9337651133537292, -0.09046180546283722, -0.737125039100647, -0.5527840852737427, 0.9096316695213318, 0.17860065400600433, -0.0680837333202362, 0.09385856986045837, -0.0112775769084692, 0.06611505150794983, -0.33690503239631653, 0.8316389918327332, 1.0818480253219604, 0.19947928190231323, -0.16123604774475098, -0.8245264291763306, 0.8800735473632812, 0.1924954205751419, -0.7241870760917664, 0.17071808874607086, 0.5018323063850403, 0.4097250699996948, 0.11418566852807999, 0.6479493379592896, 0.29976093769073486, -0.07418794184923172, -0.394988477230072, -0.24259375035762787, 0.2252153903245926, -0.3438537120819092, -0.4365563988685608, 0.1806337535381317, -0.32190021872520447, -0.1895127296447754 ]
http://arxiv.org/abs/2403.15454v2
http://arxiv.org/pdf/2403.15454v2
Emotion Detection with Transformers: A Comparative Study
2024-03-18T23:22:50
2024-03-28T21:26:39
Mahdi Rezapour
cs.CL
cs.CL, stat.AP
In this study, we explore the application of transformer-based models for emotion classification on text data. We train and evaluate several pre-trained transformer models, on the Emotion dataset using different variants of transformers. The paper also analyzes some factors that in-fluence the performance of the model, such as the fine-tuning of the transformer layer, the trainability of the layer, and the preprocessing of the text data. Our analysis reveals that commonly applied techniques like removing punctuation and stop words can hinder model performance. This might be because transformers strength lies in understanding contextual relationships within text. Elements like punctuation and stop words can still convey sentiment or emphasis and removing them might disrupt this context.
[ -0.5963025093078613, -0.5732237100601196, 0.4391513466835022, 0.24169130623340607, -0.3430076837539673, 0.03013712167739868, -0.1502823680639267, -0.6097993850708008, -0.056052807718515396, 0.29866161942481995, -0.5470187067985535, -0.323659747838974, -0.7326491475105286, 0.4803881049156189, -0.5855255722999573, 0.8630521893501282, -0.2281818687915802, -0.02054944820702076, -0.13184472918510437, -0.2014504224061966, -0.23241393268108368, -0.642817497253418, -0.676673412322998, -0.6850149631500244, 0.49720677733421326, 0.45030900835990906, 0.7301133871078491, 0.18188171088695526, 0.7921587228775024, 0.40007221698760986, -0.3347122073173523, -0.4429030418395996, -0.3211914002895355, 0.2642943859100342, 0.10458474606275558, -0.6572232842445374, -0.1400531679391861, 0.2468957155942917, 0.0985432043671608, -0.028966808691620827, -0.016513766720891, -0.0824207067489624, -0.16777010262012482, 0.6643567085266113, -0.6784117221832275, 0.28023335337638855, -0.263825923204422, 0.5629976391792297, -0.13324642181396484, -0.1262480467557907, -0.5681810975074768, -0.2788909375667572, 0.41053539514541626, -0.16754727065563202, 0.2722175717353821, 0.21787342429161072, 1.0135926008224487, 0.5971587896347046, -0.5411054491996765, -0.4437031149864197, -0.9009985327720642, 0.8515242338180542, -0.5256922245025635, 0.4685153365135193, 0.20113851130008698, 0.20334798097610474, 0.6145159006118774, -0.7177016139030457, -0.9175532460212708, -0.09416725486516953, -0.5169333815574646, 0.5758797526359558, -0.5154730081558228, 0.08068912476301193, 0.5711374282836914, 0.6539029479026794, -0.43910980224609375, 0.17040304839611053, -0.11758448928594589, 0.06988747417926788, 0.36446240544319153, 0.266293466091156, 0.4327618181705475, -0.5354529619216919, -0.3074803352355957, -0.4382602274417877, -0.31899234652519226, 0.34175196290016174, 0.5715051889419556, -0.11929674446582794, -0.1644420474767685, 0.4640364944934845, 0.003674477571621537, 0.1409679651260376, 0.032336581498384476, 0.20900411903858185, 0.40329012274742126, 0.13404378294944763, -0.41610193252563477, -0.1346626579761505, 0.846321702003479, 0.44305089116096497, 0.8132656216621399, -0.1373319923877716, -0.307263046503067, 0.4691893756389618, 0.4837278723716736, -0.924367368221283, -0.2836180031299591, 0.22504116594791412, -0.7792338728904724, -0.5473527908325195, -0.1769484579563141, -1.0979936122894287, -0.25394004583358765, -0.3012703061103821, 0.32891684770584106, -0.5303869247436523, -0.22192953526973724, 0.07984448224306107, -0.23742656409740448, 0.2514697313308716, -0.08018993586301804, -0.7421556115150452, 0.36656877398490906, 0.37130671739578247, 0.6749087572097778, -0.13706693053245544, -0.029869697988033295, -0.0564226359128952, -0.6601293087005615, -0.02369239553809166, 0.8429867625236511, -0.7849022746086121, -0.5600416660308838, 0.14720189571380615, 0.2137596607208252, -0.348877489566803, -0.5869188904762268, 0.9705510139465332, -0.42426130175590515, 0.5151259899139404, -0.2168535441160202, -0.5171566009521484, -0.31197795271873474, 0.10107409209012985, -1.0404725074768066, 1.1534059047698975, 0.20323537290096283, -0.9811065196990967, 0.26497775316238403, -0.7907662987709045, -0.6098840236663818, -0.27197691798210144, 0.27624765038490295, -0.7596620321273804, 0.3091476559638977, 0.17559927701950073, 0.4674733281135559, -0.11395026743412018, 0.06822837889194489, 0.12654273211956024, -0.5429041385650635, 0.41578835248947144, -0.176085963845253, 0.3373114764690399, 0.3673056364059448, -0.4914816617965698, 0.11291803419589996, -0.6330204606056213, -0.45514294505119324, 0.0820891484618187, -0.04551037400960922, -0.3429662883281708, 0.3218473792076111, 0.439852237701416, 0.38376760482788086, -0.203382670879364, -0.6197764277458191, -0.1585775762796402, -0.3559918701648712, 0.258914053440094, 0.4856407642364502, -0.23067957162857056, 0.29353952407836914, -0.08784925937652588, 0.8986600041389465, 0.34443265199661255, 0.17627838253974915, -0.34133389592170715, -0.2795121669769287, -1.169738531112671, -0.10159721970558167, 0.20226389169692993, 0.7813421487808228, -0.842085063457489, 0.5330967307090759, 0.12606950104236603, -0.5102951526641846, -0.5658429265022278, -0.43756330013275146, 0.3518170714378357, 0.7328035831451416, 0.5766842365264893, -0.18034660816192627, -0.63719642162323, -0.8229387998580933, -0.5395155549049377, -0.036889996379613876, 0.031855423003435135, 0.2156807780265808, 0.4575459659099579, -0.0851692259311676, 0.9677348732948303, -0.6920198798179626, -0.003337496193125844, -0.22257661819458008, 0.5870864391326904, -0.030460763722658157, 0.25800004601478577, 0.7036977410316467, -1.1115314960479736, -0.5084645748138428, -0.15779320895671844, -0.824282169342041, -0.3280600607395172, 0.13485951721668243, 0.2207280546426773, -0.0036817777436226606, 0.5212880373001099, -0.5884019136428833, 0.808840811252594, 0.3948880732059479, -0.41611096262931824, 0.5795717835426331, 0.17479629814624786, 0.4431345760822296, -0.8706515431404114, 0.020720703527331352, 0.44259417057037354, -0.16023167967796326, -1.0294444561004639, -0.30531221628189087, 0.21149909496307373, -0.15107055008411407, -0.6270981431007385, 0.3333022892475128, -0.017411718145012856, 0.36702755093574524, -0.35682588815689087, -0.1905180811882019, 0.19738984107971191, 0.3882341980934143, 0.3496931791305542, 0.5902467966079712, 0.21226385235786438, -0.3506511151790619, 0.3661265969276428, 0.46186113357543945, -0.3715363144874573, 0.8851446509361267, -0.7255691885948181, 0.006466049700975418, -0.33396708965301514, 0.0003725453279912472, -0.9957336783409119, -0.12981735169887543, 0.2173052430152893, -0.24594449996948242, 0.22847020626068115, 0.2217668741941452, -0.37432631850242615, -0.5778627395629883, -0.242437943816185, 0.11859039962291718, 0.7852288484573364, -0.6785025000572205, 0.7609471678733826, -0.12511196732521057, -0.05932061746716499, -0.36974257230758667, -0.6248553395271301, -0.10734817385673523, -0.7180730700492859, -0.39225032925605774, 0.2526989281177521, -0.11919356882572174, -0.2502278685569763, -0.11152742803096771, -0.012720765545964241, -0.13239485025405884, 0.10115336626768112, 0.5918012261390686, 0.1308477222919464, 0.056619081646203995, 0.4041804075241089, -0.013964849524199963, -0.2793859839439392, 0.2763533592224121, 0.6036583781242371, 0.4447503089904785, -0.03334003686904907, -0.15598560869693756, -0.6186712384223938, 0.14694875478744507, 0.5981670618057251, -0.29885706305503845, 0.7665926814079285, 1.1086090803146362, -0.24418604373931885, -0.052163075655698776, -0.4983551800251007, -0.3598267138004303, -0.5242401361465454, 0.24530908465385437, -0.37859755754470825, -0.8795468211174011, 0.5879523754119873, -0.3059009909629822, -0.5286160707473755, 0.5414025783538818, 0.4076925218105316, -0.3337099552154541, 1.0593245029449463, 0.9074928760528564, -0.25805047154426575, 0.779521107673645, 0.12813660502433777, 0.5722505450248718, -0.7762588858604431, -0.203959122300148, -0.8891187310218811, -0.4894334375858307, -0.6038551330566406, 0.2839359641075134, 0.020146893337368965, 0.005687765311449766, -0.14833369851112366, 0.467736154794693, -0.636367917060852, 0.3369377851486206, 0.083149753510952, 0.18439021706581116, 0.16056908667087555, -0.1785404235124588, 0.22036397457122803, -0.3891902565956116, -0.15841712057590485, -0.5149371027946472, 0.5305061936378479, 0.36843031644821167, 0.7339401841163635, -0.24760261178016663, 0.25766822695732117, 0.28871965408325195, 0.55116868019104, -1.054869532585144, 0.22192662954330444, -0.1928444355726242, -0.4071812033653259, 0.025540197268128395, -0.4115504026412964, -0.7089337706565857, 0.14550653100013733, -0.2615576982498169, -0.9012361168861389, 0.2590970993041992, -0.0026360538322478533, -0.137284517288208, 0.28859806060791016, -1.035542368888855, 0.996035099029541, 0.10646318644285202, 0.19931495189666748, 0.050928253680467606, -0.5931568145751953, 0.25743576884269714, -0.23628376424312592, 0.09730943292379379, -0.04451177641749382, 0.37935733795166016, 0.8412885665893555, -0.12969262897968292, 0.6657150387763977, -0.06767314672470093, 0.07124260812997818, 0.26347923278808594, -0.011845624074339867, 0.47650107741355896, -0.3882838785648346, -0.25442788004875183, -0.004531512036919594, -0.33507540822029114, 0.18159209191799164, -0.6811124682426453, 0.22580385208129883, -0.633867084980011, -0.20934484899044037, -0.1629945933818817, -0.4760819375514984, -0.04008986055850983, -0.01969338394701481, 0.6070822477340698, 0.3219195306301117, -0.18638615310192108, 0.2015516459941864, 0.5825849771499634, -0.2948468327522278, 0.8641635179519653, 0.32166212797164917, -0.08411191403865814, -0.1529422551393509, 0.6015557050704956, -0.1138138398528099, -0.02624392695724964, 0.4071289896965027, 0.22399942576885223, -0.23721157014369965, -0.10674717277288437, 0.06254194676876068, -0.053182121366262436, -0.6395403742790222, -0.18977396190166473, -0.8844633102416992, -0.05035888031125069, -0.2268320620059967, -0.19448095560073853, -0.21624533832073212, -0.17059731483459473, -0.44230055809020996, -0.21046195924282074, 0.6296376585960388, 0.7595574855804443, 0.2666899561882019, 0.9184613823890686, -0.6864763498306274, 0.37851375341415405, 0.24206988513469696, 0.6217911243438721, -0.004905416164547205, -0.4280490279197693, -0.2908391058444977, -0.5064380764961243, -0.5640535354614258, -1.047039270401001, 0.6770263314247131, 0.02979338727891445, 0.002730261767283082, 0.6317089200019836, 0.1464429795742035, 0.2853691279888153, -0.3560482859611511, 0.7617170214653015, 0.20790152251720428, -1.4894250631332397, 0.5003246068954468, -0.01589842699468136, 0.29525768756866455, 0.34286147356033325, 0.7243995666503906, -0.7057337760925293, -0.19399552047252655, -0.6571112275123596, -0.5927183032035828, 0.8400539755821228, 0.551166296005249, 0.07227934151887894, 0.1220584288239479, 0.36136460304260254, -0.0926101878285408, 0.2730865776538849, -0.7932732105255127, -0.26828739047050476, -0.35176166892051697, -0.7142108678817749, -0.13107264041900635, -0.38990873098373413, 0.31563839316368103, -0.20084309577941895, 0.2872503399848938, 0.09267950057983398, 0.262565553188324, 0.15190936625003815, -0.25551483035087585, -0.24749048054218292, 0.36460068821907043, 0.34915241599082947, -0.06914481520652771, -0.3176751732826233, 0.1245460957288742, 0.25431138277053833, -0.6027486324310303, 0.09759362787008286, -0.06018780916929245, 0.08855928480625153, 0.21528051793575287, 0.359466016292572, 0.8807111382484436, 0.22690711915493011, -0.47136440873146057, 0.4643201529979706, -0.3599895238876343, -0.043627362698316574, 0.03319835662841797, -0.10116767883300781, 0.04182877019047737, 0.3434089720249176, 0.08207423239946365, 0.2645779848098755, 0.3618377447128296, -0.43726077675819397, 0.14990746974945068, 0.05582652986049652, -0.8583412766456604, -0.6218813061714172, 0.5934455990791321, 0.18004770576953888, -0.5793598890304565, 0.5381803512573242, 0.03092096373438835, -1.170222282409668, 0.8132365942001343, 0.4104883074760437, 0.9858899116516113, -0.6670696139335632, 0.07812585681676865, 0.15957440435886383, 0.29612788558006287, -0.09640625864267349, 0.32276996970176697, -0.0008340885397046804, -0.8691301345825195, -0.33309119939804077, -0.45827290415763855, -0.7387157678604126, 0.10679072141647339, -1.0148675441741943, 0.3996904194355011, -0.06753680109977722, -0.3645190894603729, 0.16300052404403687, -0.2756045162677765, -0.9980762600898743, 0.8273935914039612, 0.12944883108139038, 0.8157855868339539, -1.1911687850952148, 0.599412202835083, 0.5728477239608765, -0.28418973088264465, -0.697995662689209, -0.07738672196865082, -0.04478216916322708, -0.1943645179271698, 0.69309002161026, 0.6333122253417969, -0.10361127555370331, -0.08183590322732925, -0.6035767793655396, -0.2498159259557724, 0.6450634598731995, 0.004649484995752573, -0.41972148418426514, 0.11366698145866394, 0.1991848647594452, 0.9316229820251465, -0.22077986598014832, 0.923987627029419, 0.79738849401474, 0.6089425086975098, -0.08324020355939865, -0.6986425518989563, -0.20199821889400482, -0.431841641664505, -0.20033709704875946, 0.27190595865249634, -0.7027865052223206, 0.978859007358551, 0.44548749923706055, -0.2904525101184845, -0.1330607533454895, 0.4827546775341034, -0.2992018461227417, 0.418911337852478, 0.7801732420921326, 0.673422634601593, 0.3833419680595398, -0.5525321960449219, 1.051930546760559, -0.18870823085308075, 0.7257512807846069, 0.6647986769676208, -0.4281010925769806, 0.6816996932029724, 0.2306935042142868, -0.24559128284454346, 0.751623809337616, 0.5801065564155579, -0.04310926795005798, 0.3666115999221802, 0.06584147363901138, -0.15822136402130127, -0.04508057236671448, -0.20026163756847382, -0.14006860554218292, 0.7458635568618774, 0.35699087381362915, -0.5007898211479187, -0.011678817681968212, 0.33426347374916077, 0.13000884652137756, -0.004366444423794746, 0.04656146466732025, 0.5723934769630432, 0.15012910962104797, -0.43199244141578674, -0.00880663562566042, -0.17104706168174744, 0.863091766834259, -0.18072044849395752, 0.1625324934720993, -0.30734366178512573, 0.15107585489749908, -0.3761773109436035, -0.7423141002655029, 0.5202380418777466, 0.38874557614326477, -0.26969245076179504, -0.31172990798950195, 0.9931171536445618, -0.2799372673034668, -0.2765134572982788, 0.46527379751205444, 0.24782870709896088, 0.06324532628059387, -0.29896098375320435, -0.4105857312679291, 0.14726150035858154, -0.18765747547149658, -0.8104925751686096, -0.10644353181123734, 0.692976176738739, 0.39574354887008667, 0.595993161201477, 0.3169187903404236, -0.3573291301727295, -0.3085474967956543, 0.2767869830131531, 0.7454190254211426, -1.0232082605361938, -0.39024266600608826, -0.9532617330551147, 0.6379998326301575, -0.13467931747436523, -0.19383765757083893, 0.6141244769096375, 0.24905909597873688, 0.45222294330596924, -0.3172251880168915, 0.5659055709838867, 0.041398316621780396, 0.480267733335495, -0.30599358677864075, 0.6593919396400452, -0.344331294298172, -0.2596643269062042, -0.7539887428283691, -0.9021415710449219, -0.36370187997817993, 0.6952775120735168, -0.3547053635120392, 0.10308922082185745, 0.9161879420280457, 0.4002349078655243, 0.03821048140525818, 0.5774312019348145, 0.42753368616104126, 0.09612543135881424, 0.3004120886325836, 0.4058336615562439, 1.1013946533203125, -0.6243026256561279, 0.39875176548957825, -0.4008205235004425, -0.012087700888514519, -0.1786363124847412, -0.9174665212631226, -1.0300132036209106, -0.4445767104625702, -0.3833444118499756, -0.16290241479873657, -0.34503409266471863, 0.39074423909187317, 0.5763918161392212, -0.789867639541626, 0.13952909409999847, 0.12051353603601456, 0.15959136188030243, 0.03425304591655731, -0.31981536746025085, 0.23967838287353516, -0.1786380261182785, -0.8841344118118286, 0.15206293761730194, 0.18241547048091888, 0.1473761945962906, 0.09659375995397568, 0.19933219254016876, 0.05150102078914642, 0.2579993009567261, 0.6759445667266846, -0.053262095898389816, -0.27300241589546204, -0.5049009919166565, 0.1041315570473671, -0.04770830646157265, 0.29676076769828796, 0.9184149503707886, -0.7884424328804016, 0.4150882065296173, 0.5616902709007263, 0.26338884234428406, 0.5513820052146912, 0.2245638072490692, 0.25980743765830994, -0.7839108109474182, 0.41293230652809143, -0.0029100135434418917, 0.5319377779960632, 0.3521793484687805, -0.5410328507423401, 0.46717873215675354, 0.15830788016319275, -0.7406814098358154, -0.5925546288490295, 0.1591922640800476, -0.9106582999229431, 0.10620398819446564, 0.7343746423721313, -0.13456054031848907, -0.1941860020160675, -0.010354960337281227, -0.32075366377830505, 0.5442845821380615, -0.24728453159332275, 0.8217938542366028, 0.868491530418396, -0.19628538191318512, -0.5010241866111755, -0.2198401540517807, 0.5761203169822693, 0.609786331653595, -0.9428675770759583, -0.2793199419975281, 0.09493973106145859, -0.004511924926191568, 0.36736929416656494, 0.14721572399139404, 0.04460296034812927, -0.11174876987934113, -0.08331748098134995, 0.4370398223400116, 0.27033960819244385, -0.19832636415958405, -0.604478657245636, 0.34772181510925293, -0.43928205966949463, 0.001110762357711792 ]
http://arxiv.org/abs/2403.12316v1
http://arxiv.org/pdf/2403.12316v1
OpenEval: Benchmarking Chinese LLMs across Capability, Alignment and Safety
2024-03-18T23:21:37
2024-03-18T23:21:37
Chuang Liu, Linhao Yu, Jiaxuan Li, Renren Jin, Yufei Huang, Ling Shi, Junhui Zhang, Xinmeng Ji, Tingting Cui, Tao Liu, Jinwang Song, Hongying Zan, Sun Li, Deyi Xiong
cs.CL
cs.CL
The rapid development of Chinese large language models (LLMs) poses big challenges for efficient LLM evaluation. While current initiatives have introduced new benchmarks or evaluation platforms for assessing Chinese LLMs, many of these focus primarily on capabilities, usually overlooking potential alignment and safety issues. To address this gap, we introduce OpenEval, an evaluation testbed that benchmarks Chinese LLMs across capability, alignment and safety. For capability assessment, we include 12 benchmark datasets to evaluate Chinese LLMs from 4 sub-dimensions: NLP tasks, disciplinary knowledge, commonsense reasoning and mathematical reasoning. For alignment assessment, OpenEval contains 7 datasets that examines the bias, offensiveness and illegalness in the outputs yielded by Chinese LLMs. To evaluate safety, especially anticipated risks (e.g., power-seeking, self-awareness) of advanced LLMs, we include 6 datasets. In addition to these benchmarks, we have implemented a phased public evaluation and benchmark update strategy to ensure that OpenEval is in line with the development of Chinese LLMs or even able to provide cutting-edge benchmark datasets to guide the development of Chinese LLMs. In our first public evaluation, we have tested a range of Chinese LLMs, spanning from 7B to 72B parameters, including both open-source and proprietary models. Evaluation results indicate that while Chinese LLMs have shown impressive performance in certain tasks, more attention should be directed towards broader aspects such as commonsense reasoning, alignment, and safety.
[ 0.11260028183460236, -0.3260492980480194, 0.20722682774066925, 0.5323450565338135, -0.1295401006937027, -0.14430822432041168, -0.6223822236061096, -0.4527440369129181, -0.4222818613052368, 0.36553633213043213, -0.14205217361450195, -0.7723077535629272, -0.19590020179748535, -0.19804708659648895, -0.12849561870098114, 0.8668569922447205, -0.2801933288574219, 0.3780789077281952, -0.12223554402589798, -0.44189587235450745, -0.34098881483078003, -0.47952163219451904, -0.5582534670829773, -0.1196095198392868, 0.3092968165874481, 0.15182830393314362, 0.8349096775054932, 0.8258057832717896, 1.0380899906158447, 0.18840892612934113, -0.0514548160135746, 0.19357328116893768, -0.5060023069381714, -0.10870484262704849, -0.11369509994983673, -0.1279192864894867, -0.7635916471481323, 0.005916737951338291, 0.9352070689201355, 0.5427731275558472, -0.2948841452598572, 0.2788833677768707, 0.3644505441188812, 0.4873647093772888, -0.7520392537117004, -0.014646346680819988, -0.6482411026954651, 0.052964549511671066, -0.4481552541255951, 0.0965212881565094, -0.23583635687828064, -0.7704744935035706, 0.16691158711910248, -0.46309763193130493, -0.2276884913444519, 0.05849491059780121, 0.7971599698066711, 0.14339269697666168, -0.20033355057239532, -0.002827766351401806, -0.3827769458293915, 0.9340183734893799, -0.8049646019935608, 0.5140956044197083, 0.06569266319274902, 0.5220617651939392, -0.032208334654569626, -0.8883004784584045, -0.23396115005016327, -0.4027720093727112, 0.12413835525512695, 0.17358684539794922, 0.37681281566619873, -0.10139422118663788, 0.1515771597623825, 0.5089187622070312, -0.7011106610298157, 0.4680646061897278, -0.21928556263446808, -0.2967411279678345, 0.9179514646530151, 0.2876686751842499, 0.4654407501220703, 0.01256274152547121, -0.844139814376831, -0.10597445070743561, -1.0878592729568481, 0.17537975311279297, 0.10164956003427505, 0.597283124923706, -0.19046799838542938, 0.5336272716522217, -0.12853220105171204, 0.4047994315624237, -0.47445255517959595, -0.05603929981589317, 0.49640074372291565, -0.6376216411590576, -0.3845363259315491, 0.2512306272983551, 0.9870268702507019, 0.6252622008323669, 0.12242476642131805, -0.013353909365832806, -0.4131137430667877, -0.33017683029174805, 0.2183886021375656, -0.697582483291626, -0.047541361302137375, 0.31003108620643616, -0.7270119190216064, -0.1935276985168457, 0.27694880962371826, -0.6313667297363281, -0.7596837282180786, -0.025995295494794846, 0.3192935287952423, -0.42870786786079407, -0.31939104199409485, 0.09899647533893585, 0.2395811378955841, 0.6754967570304871, 0.24735690653324127, -0.8312061429023743, 0.17881301045417786, 1.02031409740448, 0.9434373378753662, -0.5536335706710815, -0.5084734559059143, -0.6064667105674744, 0.08660808205604553, -0.4927138388156891, 0.42370447516441345, -0.16788707673549652, -0.13740955293178558, 0.45123180747032166, 0.07992639392614365, 0.07299511879682541, -0.5844589471817017, 0.9414504170417786, -0.3300043046474457, -0.05699621140956879, -0.5074846744537354, -0.17655719816684723, -0.05816267058253288, 0.4362844228744507, -0.6063916087150574, 1.0720174312591553, -0.1749410331249237, -0.5873709321022034, 0.4496172368526459, -0.7976112365722656, -0.37308093905448914, 0.2665936350822449, -0.34557655453681946, -0.3168778419494629, -0.18805363774299622, 0.20029979944229126, 0.19305327534675598, -0.5626582503318787, 0.02808210626244545, -0.3829366862773895, -0.3938197195529938, -0.011395188048481941, -0.581376314163208, 0.9219342470169067, 0.18284972012043, -0.22324585914611816, 0.49045097827911377, -0.5428088307380676, 0.21372799575328827, 0.08702301979064941, -0.46219831705093384, -0.3911091983318329, 0.29044249653816223, 0.016530167311429977, 0.11336515843868256, 0.772191047668457, -0.685299813747406, -0.05483202636241913, -0.5056391358375549, 0.24425967037677765, 0.7614096403121948, -0.28523561358451843, 0.029545661062002182, -0.3630031943321228, 0.177238330245018, -0.030911503359675407, 0.4377114474773407, -0.07776820659637451, -0.3142312169075012, -0.5290089249610901, 0.0812283605337143, 0.2104695439338684, 0.6904706954956055, -0.3545527160167694, 0.5486794710159302, -0.29930102825164795, -0.6895588636398315, -0.7897547483444214, 0.2556685507297516, 0.6611284613609314, 0.2827044129371643, 0.4044162333011627, -0.3112861216068268, -0.18061450123786926, -0.735800564289093, -0.29082366824150085, -0.44586238265037537, -0.38489970564842224, -0.0028025784995406866, 0.2635861933231354, 0.22017544507980347, 0.46876001358032227, -0.17235493659973145, -0.5102581977844238, -0.1077055111527443, -0.18031057715415955, 0.09104475378990173, 0.48099154233932495, 0.4342590570449829, -0.6990782022476196, -0.42223069071769714, 0.4609079957008362, -0.9224112629890442, -0.12385598570108414, -0.031170543283224106, -0.1902536153793335, 0.3026163578033447, 0.4217143654823303, -0.24036037921905518, 0.2012564241886139, 0.46332550048828125, -0.029515951871871948, 0.5304611921310425, -0.08661910146474838, 0.11914467066526413, -0.8430132865905762, 0.09420814365148544, -0.03482186421751976, 0.2204253077507019, -0.4746004343032837, 0.35933926701545715, 0.5095303058624268, 0.07487616688013077, -0.9129465818405151, 0.3508186340332031, -0.5761484503746033, -0.3630017042160034, 0.028131484985351562, 0.6464044451713562, -0.24340713024139404, 0.12703825533390045, 0.018090011551976204, 0.7529916763305664, 0.5124551653862, -0.3549979627132416, 0.5725662708282471, 0.20938101410865784, -0.671500027179718, 0.37121981382369995, -0.7782494425773621, 0.056967467069625854, 0.3527976870536804, -0.24696499109268188, -0.9958670139312744, -0.0015178150497376919, 0.06084516644477844, -0.1461530327796936, 0.09624890238046646, 0.23714670538902283, -0.4256782531738281, -0.2218586951494217, -0.7759247422218323, 0.2968018352985382, 0.46735116839408875, -0.7511879801750183, 0.31369683146476746, 0.245934396982193, 0.11511087417602539, -0.9126888513565063, -0.6874097585678101, -0.11529431492090225, -0.25226157903671265, -0.8548853993415833, 0.37214553356170654, 0.03134755790233612, -0.3410675823688507, 0.024206632748246193, -0.07402142882347107, 0.07200474292039871, 0.24709457159042358, 0.049563825130462646, 0.4594026803970337, -0.5492516160011292, 0.08903206884860992, -0.2989254295825958, 0.12421111017465591, 0.17823956906795502, -0.12419982254505157, 0.3049200475215912, -0.48262399435043335, -0.8202739953994751, -0.25033247470855713, -0.27780622243881226, 0.33357566595077515, -0.5163595080375671, 0.6011216044425964, 0.4424624443054199, -0.554392397403717, -0.09118503332138062, -0.40759268403053284, 0.2154056429862976, -0.5287071466445923, 0.5534931421279907, -0.18944476544857025, -0.6080074310302734, 0.4983082413673401, 0.06851007789373398, 0.7770721316337585, 0.39401164650917053, 0.8207921385765076, 0.265851229429245, 0.8123610019683838, 0.38577407598495483, -0.3165404796600342, 0.1444147825241089, 0.323684960603714, 0.038548972457647324, -0.9738355278968811, -0.36023199558258057, -0.43405118584632874, -0.20055244863033295, -0.6161620020866394, -0.584705650806427, 0.40228378772735596, 0.007946822792291641, -0.53241366147995, 0.24204686284065247, -0.4285535514354706, 0.5212175846099854, 0.28725889325141907, -0.02971598505973816, 0.4110502004623413, -0.29562267661094666, -0.22769781947135925, -0.12938529253005981, -0.34003427624702454, -0.8455294966697693, 1.229345440864563, 0.6479955911636353, 0.8878236413002014, 0.2818625569343567, 0.456557959318161, 0.003080537775531411, 0.5805483460426331, -0.575391411781311, 0.6912446618080139, -0.40827444195747375, -0.3710925877094269, -0.46624240279197693, -0.13555839657783508, -0.8569145202636719, 0.39208704233169556, -0.13372722268104553, -0.6482852697372437, -0.365495502948761, -0.24193796515464783, -0.3654033839702606, 0.5156984329223633, -0.3652215003967285, 0.9622869491577148, -0.8725179433822632, -0.46697598695755005, -0.010023694485425949, -0.5459856390953064, 0.666839599609375, -0.15826918184757233, -0.08331957459449768, -0.15489551424980164, -0.38449379801750183, 0.7184315919876099, -0.24465374648571014, 0.6388829946517944, -0.058059170842170715, -0.28285884857177734, 0.1465592086315155, -0.29682862758636475, 0.08209145069122314, -0.07636824250221252, -0.5567715764045715, 0.4519416391849518, -0.03376943990588188, -0.30341920256614685, -0.28224027156829834, 1.0539180040359497, -1.0202592611312866, -0.707220196723938, -0.4200149178504944, -0.3655945062637329, -0.19726267457008362, 0.3755223751068115, -0.010142378509044647, 0.056263864040374756, -0.6109180450439453, 0.3933488428592682, 0.5150320529937744, -0.5189900994300842, 0.580337405204773, 0.642960250377655, -0.3534037172794342, -0.35264870524406433, 0.7963231801986694, 0.23222193121910095, 0.4538010358810425, 0.28719374537467957, 0.1382720023393631, -0.35845792293548584, -0.9850045442581177, -0.48424461483955383, -0.010833490639925003, -0.7904378175735474, -0.11225507408380508, -0.02133180759847164, -0.6923351883888245, -0.4951513707637787, 0.06271146982908249, -0.46676409244537354, -0.023534659296274185, -0.01855599880218506, -0.12703531980514526, -0.10634145140647888, 0.6086004972457886, -0.02866227738559246, -0.048111315816640854, -0.7767894864082336, 0.16775530576705933, 0.012931017205119133, 0.708093523979187, 0.10436825454235077, -0.47195208072662354, -0.3295971155166626, -0.1498536616563797, -0.6453576683998108, -0.5492775440216064, 0.13757792115211487, -0.060419630259275436, 0.9615077376365662, 0.697478175163269, 0.34218713641166687, 0.5265012383460999, -0.4791432023048401, 1.1754820346832275, 0.06041024252772331, -0.9135712385177612, 0.5094109773635864, -0.21112608909606934, 0.09346809983253479, 0.5725497603416443, 0.485542893409729, -0.5367488265037537, -0.11241040378808975, -0.08705085515975952, -0.7436808347702026, 0.5402634143829346, 0.06028144061565399, -0.10942598432302475, 0.07089938223361969, 0.107541024684906, -0.05233532562851906, -0.017511911690235138, -0.8920092582702637, -0.054619405418634415, -0.14325867593288422, -0.04419431462883949, 0.12152764946222305, -0.06237148493528366, -0.2592256963253021, 0.16203002631664276, 0.6351048350334167, -0.10327271372079849, -0.10094387084245682, 0.14728902280330658, 0.10136637091636658, -0.17635084688663483, 0.18154549598693848, 0.5229874849319458, 0.6596528887748718, -0.25195127725601196, -0.1263270080089569, 0.5472426414489746, -0.4943734109401703, -0.1756434440612793, 0.06152842193841934, -0.04852684959769249, -0.3776724338531494, 0.5099796056747437, 0.4944915771484375, -0.0162902120500803, -0.8417849540710449, 0.6714581847190857, 0.010858329012989998, -0.13046325743198395, -0.36710041761398315, -0.010900908149778843, 0.1605965793132782, 0.08583536744117737, 0.25772568583488464, -0.500041663646698, -0.20580008625984192, -0.384273499250412, 0.15107868611812592, 0.5523157715797424, -0.5620737075805664, -0.1624494045972824, 0.7822985053062439, 0.3473758399486542, -0.3253324031829834, 0.6913888454437256, 0.13205644488334656, -0.3496930003166199, 0.5378554463386536, 0.31511494517326355, 1.094967246055603, -0.4675459861755371, -0.21936365962028503, 0.32386574149131775, 0.9617722630500793, -0.04861211031675339, 0.4445659816265106, 0.32610541582107544, -0.6754575371742249, -0.27092891931533813, -0.5430615544319153, -0.7961302995681763, 0.3132495880126953, -0.6533033847808838, 0.6729978322982788, -0.5927660465240479, 0.2531552016735077, -0.4994581341743469, 0.19724617898464203, -0.2968660593032837, 0.010900779627263546, 0.33679133653640747, 1.317419409751892, -0.5475386381149292, 0.8775961995124817, 0.6833975911140442, -0.3520049452781677, -0.7872564792633057, 0.23138514161109924, 0.14165562391281128, -1.1461772918701172, 0.5858123302459717, 0.5162228941917419, -0.0488274022936821, -0.6158016324043274, -0.3379846513271332, -0.7408272624015808, 1.4828161001205444, 0.226045161485672, -0.6193110942840576, 0.17024779319763184, 0.4959234893321991, 0.6670773029327393, -0.39727112650871277, 0.31614798307418823, 0.5375975966453552, 0.6113989353179932, -0.14975912868976593, -1.2084110975265503, 0.2844076454639435, -0.11701876670122147, 0.055199798196554184, 0.10330164432525635, -1.120072603225708, 0.8646485805511475, -0.2650943696498871, -0.4236239492893219, 0.3396977186203003, 0.7750790119171143, 0.3929072916507721, 0.5034711956977844, 0.4697820544242859, 0.41335371136665344, 0.8563389778137207, -0.1727471649646759, 0.8452304601669312, -0.4469270408153534, 0.04589461535215378, 1.0887669324874878, -0.9132794737815857, 1.2229151725769043, 0.22541365027427673, -0.051632218062877655, 0.32774949073791504, 0.685701847076416, -0.13558818399906158, 0.3559929132461548, 0.3062019348144531, -0.19715793430805206, -0.02860541082918644, -0.2712497413158417, -0.5440940856933594, 0.29062849283218384, 0.23976635932922363, -0.2752259373664856, -0.32541990280151367, -0.23317112028598785, -0.16496235132217407, 0.22895550727844238, -0.40479475259780884, 0.5768827795982361, -0.04364463686943054, -0.6585708260536194, 0.5703842639923096, 0.1527077704668045, 0.638698399066925, -0.7937434911727905, 0.15051865577697754, -0.09516351670026779, 0.33644261956214905, -0.3647700846195221, -1.0587596893310547, 0.284028559923172, -0.07817740738391876, 0.4825432002544403, -0.10090216249227524, 0.7487308979034424, -0.4007490277290344, -0.09504420310258865, 0.5675138831138611, 0.33656227588653564, 0.1890125572681427, 0.15375125408172607, -0.5920685529708862, 0.12097179889678955, -0.07883818447589874, -0.24366416037082672, 0.6152400374412537, 0.42251846194267273, -0.37323033809661865, 0.6358767747879028, 0.6545386910438538, 0.30779021978378296, -0.025920825079083443, 0.09648541361093521, 0.8001040816307068, -0.6887040734291077, -0.15838725864887238, -1.0151070356369019, 0.37816426157951355, -0.11940514296293259, -0.5232877731323242, 0.9495878219604492, 0.6869467496871948, 0.875416100025177, 0.22410039603710175, 0.8160211443901062, 0.1568584442138672, 0.2427850067615509, -0.5309474468231201, 0.9204461574554443, -0.49404293298721313, 0.5607544779777527, -0.0653291866183281, -0.8077815771102905, -0.30686289072036743, 0.3411749303340912, -0.41554391384124756, -0.1389266848564148, 0.6157833337783813, 0.7327847480773926, 0.17832647264003754, 0.2205410748720169, 0.4442119002342224, 0.12952476739883423, 0.5421738624572754, 0.8850988745689392, 0.9845121502876282, -0.4068887233734131, 0.7615084052085876, -0.23350417613983154, -0.4252576529979706, 0.0640730932354927, -1.2839128971099854, -0.9874289631843567, -0.22452929615974426, -0.214081272482872, -0.19515183568000793, 0.0163931455463171, 0.9387351274490356, 0.41307201981544495, -0.8500996232032776, -0.5979099273681641, 0.27654165029525757, 0.18782567977905273, -0.4583330750465393, -0.2362411618232727, 0.5739346146583557, -0.4904920160770416, -0.6172239780426025, 0.4313942492008209, 0.4545997977256775, -0.17078490555286407, -0.6371665596961975, -0.14599238336086273, -0.03273285925388336, -0.03222530707716942, 0.47799840569496155, 0.20400601625442505, -0.8038216829299927, -0.4734388589859009, 0.06915111839771271, -0.31971776485443115, 0.015499106608331203, 0.5884817838668823, -0.32186925411224365, 0.27234676480293274, 0.5800593495368958, 0.989186704158783, -0.14240776002407074, 0.04241195693612099, 0.6156604290008545, -0.5431116819381714, -0.20597052574157715, 0.047255635261535645, 0.40225476026535034, 0.4019853174686432, -0.08811607211828232, 0.7084490656852722, -0.13954997062683105, -0.8090652823448181, -0.9580456018447876, -0.09561124444007874, -0.9688035845756531, -0.02835761569440365, 1.037160873413086, -0.5427455902099609, 0.0013558606151491404, 0.041846320033073425, -0.04837244749069214, 0.10182231664657593, -0.08657665550708771, 0.6498872637748718, 0.812934398651123, -0.009648045524954796, 0.18079151213169098, -0.555060088634491, 0.40299251675605774, 0.529333233833313, -0.9419167041778564, 0.5067328214645386, 0.23587600886821747, 0.024653097614645958, 0.26367130875587463, 0.4025002419948578, -0.49447083473205566, 0.469497948884964, -0.2685377597808838, -0.07375072687864304, 0.05031677708029747, -0.16972464323043823, -0.3767407536506653, 0.31500598788261414, 0.24058204889297485, -0.3742012083530426 ]
http://arxiv.org/abs/2403.12297v1
http://arxiv.org/pdf/2403.12297v1
Leveraging Large Language Models to Extract Information on Substance Use Disorder Severity from Clinical Notes: A Zero-shot Learning Approach
2024-03-18T22:39:03
2024-03-18T22:39:03
Maria Mahbub, Gregory M. Dams, Sudarshan Srinivasan, Caitlin Rizy, Ioana Danciu, Jodie Trafton, Kathryn Knight
cs.CL
cs.CL, cs.AI
Substance use disorder (SUD) poses a major concern due to its detrimental effects on health and society. SUD identification and treatment depend on a variety of factors such as severity, co-determinants (e.g., withdrawal symptoms), and social determinants of health. Existing diagnostic coding systems used by American insurance providers, like the International Classification of Diseases (ICD-10), lack granularity for certain diagnoses, but clinicians will add this granularity (as that found within the Diagnostic and Statistical Manual of Mental Disorders classification or DSM-5) as supplemental unstructured text in clinical notes. Traditional natural language processing (NLP) methods face limitations in accurately parsing such diverse clinical language. Large Language Models (LLMs) offer promise in overcoming these challenges by adapting to diverse language patterns. This study investigates the application of LLMs for extracting severity-related information for various SUD diagnoses from clinical notes. We propose a workflow employing zero-shot learning of LLMs with carefully crafted prompts and post-processing techniques. Through experimentation with Flan-T5, an open-source LLM, we demonstrate its superior recall compared to the rule-based approach. Focusing on 11 categories of SUD diagnoses, we show the effectiveness of LLMs in extracting severity information, contributing to improved risk assessment and treatment planning for SUD patients.
[ 0.009205535985529423, -0.7241308689117432, 1.0613890886306763, 0.016450462862849236, -0.12976934015750885, -0.05419742316007614, -0.2853313386440277, -0.5390967130661011, 0.2669489085674286, 0.7704573273658752, -0.01535878051072359, -1.04759681224823, -0.9038394093513489, 0.03229295834898949, -0.23693439364433289, 1.413016676902771, -0.15691618621349335, 0.2289307564496994, 0.0350191630423069, 0.08198992908000946, -0.6080678701400757, -0.5825110077857971, -0.9016638398170471, -0.22100116312503815, 1.0703113079071045, 0.6151441335678101, 0.09326699376106262, 0.2479230761528015, 0.9198887944221497, 0.14859099686145782, 0.03492734581232071, -0.2856747806072235, -0.3900768458843231, 0.19533632695674896, -0.38484063744544983, -0.3400850296020508, -0.7513967752456665, -0.2557024657726288, 0.3318169116973877, 0.80400151014328, -0.20642685890197754, 0.15497682988643646, -0.267997682094574, 0.23147070407867432, -0.6581589579582214, 0.04790283739566803, -0.4232082664966583, 0.047042232006788254, -0.2010938823223114, -0.20406903326511383, -0.42244818806648254, 0.10152824968099594, 0.014616445638239384, -0.3506346046924591, 0.3389968276023865, -0.1921953409910202, 0.6922319531440735, -0.03954341262578964, -0.4816690981388092, -0.4966350793838501, -0.981652021408081, 0.6318480372428894, -0.9226603507995605, 0.06933058798313141, 0.469182550907135, 0.3541053533554077, -0.09054761379957199, -0.41664406657218933, -0.36838123202323914, -0.221542090177536, -0.0010750293731689453, -0.010387074202299118, 0.24635973572731018, 0.15964308381080627, 0.593806266784668, 0.5045234560966492, -0.6158400177955627, 0.384367972612381, -0.6719155311584473, -0.1351737678050995, 0.7086368203163147, 0.5436263680458069, 0.6062225699424744, -0.24798168241977692, -0.4468189477920532, 0.38564589619636536, -0.6928164958953857, 0.0030545182526111603, -0.410286009311676, 0.5262986421585083, -0.2779918909072876, 0.6957047581672668, 0.0698617622256279, 0.49487605690956116, -0.3351081907749176, -0.6169354915618896, 0.16611695289611816, 0.05574570596218109, -0.39470988512039185, 0.21113011240959167, 0.84493088722229, 0.2011631429195404, -0.16277632117271423, -0.2784605026245117, -0.4054807722568512, -0.11845895648002625, 0.35263699293136597, -0.7481346726417542, -0.25309816002845764, 0.3923845887184143, -0.4352930784225464, -0.40201085805892944, -0.33945658802986145, -0.916292667388916, -0.810512125492096, -0.43303367495536804, 0.5310159921646118, -0.6146044135093689, -0.37854573130607605, -0.01775531657040119, -0.09724733233451843, 0.009725917130708694, 0.4827081263065338, -0.8777649998664856, 0.521442174911499, 0.6403346061706543, 1.1282206773757935, -0.43521246314048767, 0.06705508381128311, -0.7551197409629822, 0.4134023189544678, -0.3377818465232849, 0.8210467100143433, -0.3940039873123169, -0.3699398636817932, -0.17161080241203308, -0.027151117101311684, -0.12627539038658142, -0.7336944341659546, 0.7526357769966125, -0.10077963769435883, -0.14778272807598114, -0.1752350628376007, -0.6059349179267883, -0.0677509531378746, 0.12530314922332764, -0.6083541512489319, 0.4954949915409088, 0.4685983657836914, -0.6327146887779236, 0.4674258530139923, -0.7836107611656189, -0.5198755860328674, 0.338032066822052, 0.07306919246912003, -0.30641093850135803, 0.41894322633743286, -0.03242731839418411, 0.5795641541481018, -0.2724301815032959, 0.4435672163963318, -0.46285951137542725, -0.300254225730896, 0.027214013040065765, -0.28027933835983276, 0.7217494249343872, 0.27507349848747253, 0.18558050692081451, 0.1770009547472, -0.8096464276313782, -0.4556502401828766, 0.06071095168590546, -0.3116039037704468, -0.7149906158447266, -0.2636651396751404, 0.27274295687675476, 0.38759443163871765, 0.01877121441066265, -0.7255924940109253, -0.004681425169110298, -0.21424554288387299, 0.041415512561798096, 0.3781241774559021, 0.5796064138412476, 0.15237392485141754, -0.4957859516143799, 0.5636073350906372, 0.4616614580154419, 0.0397210419178009, -0.34470462799072266, -0.22333920001983643, -0.5068668723106384, -0.4928951561450958, 0.27738094329833984, 0.6614589691162109, -0.44779565930366516, 0.39052945375442505, -0.33505526185035706, -0.40382617712020874, -0.27901774644851685, 0.2129371166229248, 0.23553261160850525, 0.7892200946807861, 0.563652753829956, -0.1956770271062851, -0.3557451069355011, -0.43418294191360474, -0.10340315103530884, 0.3254673480987549, -0.13461026549339294, 0.2884758710861206, 0.6377543210983276, -0.06763287633657455, 0.5318013429641724, -0.6373286843299866, -0.8318604230880737, -0.6288447976112366, 0.29949039220809937, 0.12537366151809692, 0.19839930534362793, 0.3896111845970154, -0.18595783412456512, -0.6443945169448853, 0.26293694972991943, -0.7435207366943359, -0.16143105924129486, -0.23420973122119904, 0.17843197286128998, 0.19841235876083374, 0.5429615378379822, -0.35080352425575256, 0.5183656811714172, 0.14536409080028534, -0.35191231966018677, 0.4470748007297516, -0.31939488649368286, -0.29560625553131104, -1.1241915225982666, 0.2021389752626419, 0.301064133644104, -0.2058691680431366, -0.7428737282752991, -0.20828348398208618, -0.024845918640494347, -0.23510020971298218, -0.34068673849105835, 0.4368188679218292, -0.43610867857933044, 0.15920870006084442, -0.15978656709194183, 0.14472967386245728, 0.039280906319618225, 0.16623017191886902, 0.15829609334468842, 0.22649511694908142, 0.6821988821029663, -0.6097030639648438, 0.19072100520133972, -0.3431863784790039, -0.3935001790523529, 0.7876676917076111, -0.4405612647533417, -0.30934834480285645, -0.32971712946891785, -0.05218615382909775, -0.6399332880973816, -0.3402878940105438, 0.16394995152950287, -0.18305394053459167, 0.6305100321769714, -0.24453121423721313, -0.19672317802906036, -0.20560942590236664, -0.07696402817964554, 0.18571524322032928, 0.3030058443546295, 0.044283121824264526, 0.21618172526359558, 0.6077597737312317, -0.48718366026878357, -0.4198566675186157, -0.3859046995639801, 0.325724720954895, -0.47146403789520264, 0.11664775758981705, 0.25319626927375793, 0.11946182698011398, -0.2609710693359375, -0.08229666948318481, -0.0638304278254509, -0.16459690034389496, 0.19080501794815063, 0.17981234192848206, 0.5345353484153748, -0.23688717186450958, 0.48773515224456787, 0.024588169530034065, -0.1173182800412178, 0.10314388573169708, 0.137471541762352, 0.6096603274345398, 0.10206423699855804, -0.1088285967707634, -0.4644216001033783, 0.5924698710441589, 0.6604433655738831, -0.05064861476421356, 0.8005843162536621, 0.4323928654193878, -0.6017321944236755, -0.39969152212142944, -0.2555473744869232, -0.11963009834289551, -0.3160102665424347, 0.18327058851718903, -0.18556801974773407, -0.6727801561355591, 0.5877478718757629, -0.18060608208179474, -0.05350378528237343, 0.2503555715084076, 0.4559670388698578, -0.34116479754447937, 0.8487007021903992, 0.5107829570770264, -0.02851169742643833, 0.27142468094825745, -0.2372930943965912, 0.5620846152305603, -0.9466404914855957, -0.21489012241363525, -0.3295157849788666, -0.08796227723360062, -0.06043560430407524, -0.4865591824054718, 0.6968153119087219, 0.19111430644989014, -0.3267399072647095, -0.060139451175928116, -0.0791642814874649, 0.3369584083557129, 0.039760444313287735, 0.12453959882259369, 0.4555710554122925, 0.08484289795160294, -0.0015734387561678886, -0.29355889558792114, -0.41520124673843384, -0.4784526228904724, 1.2780636548995972, 0.424136221408844, 0.5846911072731018, 0.13999037444591522, 0.8082013726234436, 0.47490552067756653, 0.8607448935508728, -1.1952553987503052, 0.26592740416526794, -0.42934852838516235, -0.3245333433151245, -0.2304151952266693, -0.5822348594665527, -0.9266336560249329, 0.14907535910606384, -0.19506870210170746, -0.8723322749137878, 0.02401242032647133, -0.256941020488739, -0.6267009377479553, 0.41972416639328003, -0.6816757917404175, 0.8768418431282043, -0.31248679757118225, 0.09856969118118286, -0.06612581759691238, -0.3345692753791809, 0.7541137933731079, -0.2706493139266968, 0.5623684525489807, -0.3609241843223572, 0.007800201885402203, 0.644599199295044, -0.5825245380401611, 0.909165620803833, -0.2843245267868042, -0.44535183906555176, 0.06148650497198105, 0.17808440327644348, -0.034902896732091904, 0.15193524956703186, 0.06756509095430374, 0.18216288089752197, 0.22612833976745605, -0.15610277652740479, -0.7831534743309021, 0.8248280882835388, -0.6277303099632263, -0.37684711813926697, -0.4046453833580017, -0.4548153579235077, -0.18838103115558624, 0.47864362597465515, 0.06626497954130173, 0.7134678959846497, -0.24199242889881134, -0.09266462922096252, 0.6595087051391602, -0.43720147013664246, 0.43009641766548157, 0.8130103945732117, -0.35588929057121277, -0.28946736454963684, 1.087726354598999, 0.392127126455307, 0.3265056312084198, 0.42542216181755066, 0.3797018826007843, -0.02578350156545639, -0.7090907096862793, -0.2549588978290558, 0.4813527762889862, -0.5424054265022278, -0.4652910530567169, -0.7777699828147888, -0.4013745188713074, -0.7402387261390686, 0.04570631682872772, -0.12389379739761353, -0.3052257299423218, -0.3084562122821808, -0.16263128817081451, 0.47423747181892395, 0.8219521045684814, 0.022751031443476677, 0.21277663111686707, -0.9540716409683228, 0.6236838698387146, -0.07170230895280838, 0.6686966419219971, 0.27869436144828796, -0.48481160402297974, -0.34152549505233765, -0.11608916521072388, -0.19516250491142273, -0.9794618487358093, 0.6072744131088257, 0.12359574437141418, 0.39866137504577637, 0.6821680665016174, 0.38986098766326904, 0.5848225951194763, -0.2750445008277893, 0.7334716320037842, 0.3251155614852905, -0.8056443929672241, 0.7363184094429016, -0.4447382092475891, -0.0170374047011137, 0.5454904437065125, 0.7511162757873535, -1.0066165924072266, -0.3059135675430298, -0.44532766938209534, -0.8495174050331116, 0.8289626836776733, -0.4115281403064728, -0.06861598044633865, -0.19972093403339386, 0.29349568486213684, 0.11019445210695267, -0.15370163321495056, -0.6475846171379089, -0.055736467242240906, 0.0925021544098854, -0.44680044054985046, -0.20551450550556183, -0.29300111532211304, -0.26046717166900635, -0.3986290693283081, 0.41366100311279297, 0.012958120554685593, 0.0004361434548627585, 0.37543365359306335, -0.31415751576423645, -0.0671839639544487, 0.4129413366317749, 0.5779733657836914, 0.48642754554748535, -0.3046201765537262, 0.20295800268650055, 0.027989307418465614, -0.6612429618835449, 0.020885296165943146, -0.4833170771598816, -0.2868235409259796, -0.0211464986205101, 0.40323278307914734, 0.9775866270065308, -0.012582794763147831, -0.9147430062294006, 0.8180273771286011, 0.08095543831586838, -0.13486307859420776, -0.44426241517066956, 0.15767160058021545, -0.12070751190185547, -0.18179893493652344, -0.1140439435839653, -0.08183179795742035, 0.19440461695194244, -0.6756842732429504, 0.14941437542438507, 0.28904423117637634, -0.6978871822357178, -0.33572643995285034, 0.26414987444877625, -0.07376710325479507, -0.5178177356719971, 0.5143114328384399, -0.036348242312669754, 0.014133227057754993, 0.5647492408752441, 0.8699498176574707, 0.7165626883506775, -0.11264767497777939, 0.6076151728630066, 0.44954076409339905, -0.02619543857872486, 0.06625708937644958, 0.2759612798690796, 0.05578601360321045, -0.505790650844574, -0.3595482110977173, -0.7588285207748413, -0.25428321957588196, 0.5820692777633667, -0.8009029030799866, 0.5913240909576416, -0.9704974293708801, -0.15542759001255035, -0.003671051701530814, -0.19379553198814392, -0.33510884642601013, 0.1869996041059494, 0.4142949879169464, 0.6805064082145691, -0.9256187677383423, 0.5884782075881958, 0.6380919218063354, -0.6516847014427185, -0.7442969679832458, -0.049562063068151474, 0.04059150442481041, -0.2724687457084656, 0.25764545798301697, 0.0956016480922699, 0.1998046338558197, -0.25100040435791016, -0.4692138433456421, -0.8095077872276306, 0.851650595664978, 0.0072724539786577225, -0.4072996973991394, 0.03185642510652542, 0.1887086033821106, 0.9277515411376953, -0.5582239031791687, 0.2640293836593628, 0.7474202513694763, 0.21934251487255096, 0.3272961676120758, -0.9341909289360046, 0.12358717620372772, -0.16635015606880188, -0.2333473116159439, 0.3138713240623474, -0.18241894245147705, 0.7476100921630859, -0.6833255290985107, -0.2170848548412323, -0.2602161765098572, -0.058101046830415726, 0.1322241872549057, 0.49627459049224854, 0.20885953307151794, 0.706864058971405, 0.9947168827056885, 0.32967790961265564, 0.9132788777351379, -0.028203481808304787, 0.2712664008140564, 1.249988317489624, -0.6329103708267212, 1.1196856498718262, 0.22400346398353577, 0.035709574818611145, 0.6711894869804382, 0.2913946509361267, -0.052268221974372864, 0.30429917573928833, 0.2518389821052551, -0.4996250569820404, -0.16371826827526093, -0.23453620076179504, -0.10989877581596375, 0.4094076156616211, 0.9764875769615173, -0.5487028956413269, -0.5527759790420532, 0.1918734312057495, 0.2155655026435852, -0.1199377253651619, -0.4991859793663025, 1.1420040130615234, 0.3088119626045227, -0.47894763946533203, 0.6716926097869873, 0.10748834908008575, 0.4073999524116516, -0.3431902825832367, -0.10206250101327896, -0.13755236566066742, 0.16736093163490295, -0.3274635076522827, -0.5943597555160522, 0.5048148036003113, 0.18392612040042877, -0.3726365268230438, -0.1448071151971817, 0.6056086421012878, -0.5137954354286194, -0.7963719367980957, 0.21008509397506714, 0.30005598068237305, 0.38122376799583435, -0.08550359308719635, -0.32575762271881104, -0.3487762212753296, -0.2546968460083008, 0.12233857065439224, 0.595235288143158, 0.5336254835128784, -0.37732380628585815, 0.6010829210281372, 0.6634007096290588, 0.7489717602729797, -0.1483985036611557, 0.38770097494125366, 0.5086984038352966, -0.8782960176467896, -0.16586561501026154, -0.6926573514938354, 0.3280378580093384, -0.20594260096549988, -0.3277720510959625, 0.32294097542762756, 0.4460105001926422, 0.48880085349082947, -0.060013312846422195, 0.8229882121086121, 0.049708448350429535, 0.9653075337409973, -0.26130735874176025, 0.9042060971260071, -0.6088874340057373, 0.478079617023468, -0.27893194556236267, -0.5214289426803589, -0.7088398337364197, 0.3096851408481598, -0.45586857199668884, -0.14965318143367767, 0.7705185413360596, 0.4972165524959564, 0.06004791706800461, -0.2138470709323883, 0.34104666113853455, 0.4699968695640564, 0.5889573693275452, 0.7473132610321045, 0.4845137596130371, -0.26188138127326965, 0.309173583984375, -0.22217091917991638, -0.18961718678474426, -0.11004655808210373, -0.6267324686050415, -0.8847066760063171, -0.3008098006248474, -0.25002530217170715, -0.14297011494636536, -0.3408808410167694, 0.7927241921424866, 0.2711837589740753, -0.9631279110908508, -0.10639012604951859, 0.09830249845981598, 0.4387408196926117, -0.15163446962833405, -0.3341931402683258, 0.2846637964248657, -0.5643699765205383, -0.339756041765213, 0.15483123064041138, 0.5813755989074707, 0.12432021647691727, -0.22384610772132874, 0.23132136464118958, -0.018901647999882698, -0.25301626324653625, 0.781723141670227, 0.12914294004440308, -0.5172370672225952, 0.07578831911087036, -0.06421130895614624, -0.32689395546913147, 0.09255027770996094, 1.1508809328079224, -0.6114890575408936, 0.26056841015815735, 0.4036080539226532, 0.24083922803401947, 0.2753807604312897, -0.057312414050102234, 0.46921637654304504, -0.22301772236824036, -0.2701798379421234, 0.5168315768241882, 0.11381398141384125, 0.3359338045120239, -0.4563053548336029, 0.024025365710258484, 0.3690659701824188, -0.2360106110572815, -0.9522930979728699, 0.0394657664000988, -0.8783270120620728, -0.4464268982410431, 1.089690089225769, -0.3377753794193268, -0.13902191817760468, -0.7705609798431396, -0.26967254281044006, -0.042043667286634445, -0.3889087736606598, 1.006103515625, 0.5692879557609558, -0.2742415964603424, -0.3755471706390381, -0.8431439995765686, 0.5789358615875244, 0.03284040838479996, -0.7356894612312317, 0.21783338487148285, 0.4006447494029999, 0.7457032203674316, -0.02259025350213051, 0.923346996307373, -0.4235646724700928, 0.11728135496377945, -0.12012047320604324, 0.15580423176288605, 0.14463628828525543, -0.46169736981391907, -0.46548059582710266, 0.32753923535346985, -0.11393292248249054, 0.3466760814189911 ]
http://arxiv.org/abs/2403.12294v1
http://arxiv.org/pdf/2403.12294v1
A Comparative Investigation of Compositional Syntax and Semantics in DALL-E 2
2024-03-18T22:33:51
2024-03-18T22:33:51
Elliot Murphy, Jill de Villiers, Sofia Lucero Morales
cs.CL
cs.CL
In this study we compared how well DALL-E 2 visually represented the meaning of linguistic prompts also given to young children in comprehension tests. Sentences representing fundamental components of grammatical knowledge were selected from assessment tests used with several hundred English-speaking children aged 2-7 years for whom we had collected original item-level data. DALL-E 2 was given these prompts five times to generate 20 cartoons per item, for 9 adult judges to score. Results revealed no conditions in which DALL-E 2-generated images that matched the semantic accuracy of children, even at the youngest age (2 years). DALL-E 2 failed to assign the appropriate roles in reversible forms; it failed on negation despite an easier contrastive prompt than the children received; it often assigned the adjective to the wrong noun; it ignored implicit agents in passives. This work points to a clear absence of compositional sentence representations for DALL-E 2.
[ -0.2131325602531433, -0.7792694568634033, 0.6681533455848694, 0.5008841753005981, -0.07943345606327057, 0.04649613797664642, -0.017556535080075264, -0.43438205122947693, -0.276763916015625, 0.02679784782230854, -0.7182392477989197, -0.14128077030181885, -0.5660213232040405, 0.31991180777549744, -0.3971245586872101, 0.7664057016372681, -0.1597578227519989, -0.1611054390668869, -0.6008532047271729, 0.20657935738563538, -0.49104806780815125, 0.05418681353330612, -0.9295169711112976, -0.1416560262441635, 0.7384989857673645, 0.6009596586227417, 0.30879518389701843, 0.37697985768318176, 0.23607321083545685, 0.2393597662448883, -0.07783050835132599, -0.04142691567540169, -0.35996368527412415, 0.45966315269470215, -0.5562726855278015, -0.5402413010597229, -0.007875526323914528, 0.046120092272758484, 0.47886714339256287, 1.0126546621322632, 0.25725260376930237, -0.2758720815181732, 0.003424321301281452, 1.1890361309051514, -0.6964202523231506, 0.37410280108451843, -0.46399354934692383, -0.002110561588779092, 0.1220383420586586, 0.06720862537622452, -0.779674232006073, -0.02535208873450756, 0.1476850062608719, -0.7413060069084167, -0.16368766129016876, -0.03294816613197327, 1.0204066038131714, 0.193600133061409, -0.8144187927246094, -0.6926581263542175, -0.26237452030181885, 1.0156834125518799, -0.2908906638622284, 0.11590882390737534, 0.5395559072494507, 0.09868898242712021, -0.012235806323587894, -0.8625107407569885, -0.798237144947052, -0.2934606075286865, -0.558477520942688, 0.5859684944152832, -0.33623015880584717, -0.27851828932762146, 0.2953672707080841, -0.21831654012203217, -0.9346978068351746, 0.0833674818277359, -0.4179342985153198, -0.008602410554885864, 0.5694782137870789, 0.34277722239494324, 0.4713077247142792, -0.24977831542491913, -0.6079439520835876, -0.3084542155265808, -0.7135495543479919, 0.19855523109436035, 0.405299574136734, -0.0963471308350563, -0.4015079140663147, 0.9074968695640564, -0.16943174600601196, 0.44476744532585144, 0.33157879114151, -0.18510200083255768, 0.0485277958214283, -0.4882875382900238, 0.05548124015331268, -0.25760146975517273, 0.5071477890014648, 0.9010002613067627, 0.5252184271812439, 0.06134969741106033, -0.4287303686141968, 0.6476513743400574, -0.07973015308380127, -0.5232682228088379, -0.23410451412200928, 0.06010856106877327, -0.30539393424987793, 0.04835296422243118, 0.21730060875415802, -0.6469667553901672, -0.12924595177173615, -0.4362848699092865, 0.09577886015176773, -0.2284623682498932, 0.05564134195446968, -0.11590017378330231, -0.3399387001991272, 0.5572807192802429, 0.3323199152946472, -0.8595073819160461, 0.24528656899929047, 0.5217896699905396, 0.29745471477508545, -0.38890090584754944, -0.3685799539089203, -0.17358969151973724, 0.11068738996982574, -0.6431036591529846, 1.0222432613372803, -0.7700744867324829, -0.4043657183647156, -0.04577142372727394, 0.2546936869621277, -0.3465098440647125, -0.7589921355247498, 0.5069057941436768, -0.48781469464302063, 0.6520683765411377, -0.04004658758640289, -0.5056791305541992, -0.2241286039352417, -0.016158917918801308, -0.47640785574913025, 0.6949554681777954, 0.24977433681488037, -0.6137274503707886, 0.762317955493927, -0.2137678563594818, -0.594389796257019, -0.27456799149513245, -0.28349438309669495, 0.053602807223796844, 0.026034947484731674, 0.1671866476535797, 0.1829572319984436, -0.07164439558982849, -0.0169757641851902, 0.14090071618556976, -0.34567922353744507, 0.2493046075105667, -0.3390829563140869, 0.8172354102134705, 0.15648508071899414, -0.4921117126941681, -0.41041699051856995, -0.4960576295852661, 0.25262540578842163, 0.2639601528644562, -0.11303918808698654, -0.16740906238555908, 0.024889903143048286, 0.033776383846998215, 0.22660699486732483, 0.31148838996887207, -0.45753324031829834, 0.008464639075100422, -0.5071052312850952, 0.2753241956233978, 0.36341869831085205, 0.0838400200009346, 0.5613333582878113, -0.5287296175956726, 0.4336754381656647, 0.13069705665111542, 0.042049214243888855, -0.33193439245224, -0.6825068593025208, -0.8711841702461243, 0.08978823572397232, 0.06592419743537903, 0.6384764313697815, -0.6926944255828857, 0.4615533947944641, -0.1422678381204605, -0.24150539934635162, -0.0038350000977516174, -0.07321929186582565, 0.5979705452919006, 0.009385609067976475, 0.031965773552656174, -0.284212201833725, -0.6258752346038818, -1.2288644313812256, 0.02552935667335987, -0.5954174995422363, 0.19398359954357147, 0.5106431245803833, 0.5744152069091797, -0.17614880204200745, 0.5672445297241211, -0.34325218200683594, -0.053426023572683334, -0.11239639669656754, 0.047702450305223465, -0.06278331577777863, 0.32589030265808105, 0.6561283469200134, -0.6056299209594727, -0.9055919051170349, 0.04870617762207985, -0.6751569509506226, -0.5620607733726501, -0.026477361097931862, 0.057354073971509933, 0.5334777235984802, 0.5175880789756775, -0.7194623351097107, 0.2509405016899109, 0.37611308693885803, -0.9062743782997131, 0.4021502435207367, 0.06407387554645538, 0.13666893541812897, -0.5106024146080017, -0.013400446623563766, -0.44555750489234924, -0.12561705708503723, -0.18133170902729034, 0.1463247835636139, 0.0015143528580665588, 0.09087622910737991, -0.5268124938011169, 0.6744089722633362, -0.4307760000228882, -0.0038946771528571844, -0.27859264612197876, 0.5939416885375977, 0.5993931293487549, 0.1038837730884552, -0.05671600624918938, 1.0446277856826782, 0.5129586458206177, -0.34711554646492004, 0.47738009691238403, -0.10802871733903885, -0.03535061329603195, 0.9859726428985596, -0.7625526189804077, 0.28499457240104675, -0.3499070405960083, 0.07076680660247803, -1.2890173196792603, -0.2491094172000885, 0.24853761494159698, -0.4441016912460327, 0.46496304869651794, 0.23051317036151886, -0.4113825261592865, -0.14673539996147156, -0.4385632276535034, 0.5391839146614075, 0.7913651466369629, -0.27450987696647644, 0.13346245884895325, 0.09663794189691544, -0.44066670536994934, -0.3627510964870453, -0.7258187532424927, 0.018277768045663834, -0.2090025693178177, -0.709033191204071, 0.23827403783798218, -0.014554401859641075, -0.7403502464294434, 0.27669501304626465, -0.2903949022293091, -0.23224882781505585, -0.13047979772090912, 0.22697940468788147, 0.08581755310297012, -0.3703855574131012, 0.018610186874866486, 0.47053641080856323, -0.22522424161434174, 0.34803706407546997, 0.1489015370607376, 0.34097957611083984, 0.16011087596416473, -0.14542880654335022, -0.24699664115905762, 0.48991087079048157, 0.578833818435669, 0.29467275738716125, 0.5173614025115967, 0.0960230603814125, -0.24683846533298492, -0.4674723446369171, -0.2196815460920334, -0.010653195902705193, -0.3766384720802307, 0.11285647004842758, -0.3200639486312866, -0.34926658868789673, 0.2730710208415985, 0.22681856155395508, -0.14908702671527863, 0.6600621938705444, 0.4209233820438385, -0.4905920624732971, 0.8684243559837341, -0.008592554368078709, 0.5520614385604858, 0.15609264373779297, -0.2772776484489441, -0.15412573516368866, -0.9542507529258728, -0.5946673154830933, -0.41172412037849426, -0.3704965114593506, -0.22448661923408508, -0.10466507822275162, 0.031591061502695084, 0.2530853748321533, -0.2645264267921448, 0.29964694380760193, -0.13186778128147125, 0.8104793429374695, 0.22389930486679077, -0.07615499198436737, 0.0845596194267273, -0.09546186774969101, -0.14210546016693115, -0.30259206891059875, -0.4106767177581787, -0.9053579568862915, 0.9123551845550537, -0.005345700308680534, 0.8306803703308105, 0.6571416854858398, 0.4638994634151459, 0.38087499141693115, -0.07187683880329132, -0.7862645983695984, 0.7719171047210693, -0.4850330948829651, -0.33944225311279297, 0.08325200527906418, 0.08672451972961426, -1.3417471647262573, 0.12129456549882889, 0.06886251270771027, -0.5246940851211548, 0.4084016680717468, -0.40202125906944275, -0.11422713845968246, -0.4589097201824188, -1.1709861755371094, 0.6522241830825806, 0.10450668632984161, -0.5239810943603516, -0.16639426350593567, -0.7472840547561646, 0.21662256121635437, 0.019564254209399223, 0.01825522445142269, 0.08008212596178055, -0.47836801409721375, 0.8299627900123596, -0.32283738255500793, 0.9476666450500488, -0.1679801195859909, -0.26377391815185547, 0.596295952796936, 0.2470933496952057, 0.4426393508911133, 0.1337149739265442, 0.3865693211555481, -0.7623910307884216, 0.14425241947174072, -0.5936962366104126, -0.935302734375, 0.9848902821540833, -0.674982488155365, -0.47525554895401, -0.5921760201454163, -0.3682846128940582, 0.021210819482803345, -0.09915805608034134, 0.01889680325984955, 0.6227633953094482, 0.2207992672920227, 0.26403021812438965, 0.2208547592163086, -0.21066275238990784, 0.5982234477996826, 0.46559658646583557, -0.2536584138870239, -0.1984487920999527, 0.6529971957206726, -0.03791644424200058, 0.5835282206535339, 0.2770887613296509, -0.17232435941696167, -0.6509007215499878, 0.04748300090432167, -0.3834913671016693, 0.292826771736145, -1.1258035898208618, 0.009933089837431908, -0.4307147264480591, 0.05078643932938576, -0.07970931380987167, -0.4545325040817261, 0.08597759902477264, -0.5969548225402832, -0.24069085717201233, -0.021637242287397385, -0.043173275887966156, 1.100460171699524, 0.06954021751880646, -0.019840048626065254, -0.3576706349849701, 0.2201859951019287, 0.6056812405586243, -0.11413739621639252, 0.049958787858486176, -0.4950310289859772, 0.03969801217317581, -0.13987089693546295, -0.44414788484573364, -0.9632218480110168, -0.2422417551279068, 0.5572232604026794, 0.5176469683647156, 0.37784543633461, -0.07040352374315262, 0.3916747570037842, -0.2651709318161011, 1.3604846000671387, 0.07105140388011932, -0.7431680560112, 0.8060067892074585, -0.1621512770652771, 0.20543228089809418, 0.3333461582660675, -0.06369587779045105, -0.23668044805526733, -0.313951313495636, -0.7051852941513062, -0.6251895427703857, 0.6287679672241211, 0.305267333984375, 0.37665483355522156, -0.4847983717918396, 0.01285854633897543, 0.2720269560813904, -0.13628217577934265, -0.5186476707458496, -0.5586625933647156, -0.04101674258708954, -0.2566170394420624, 0.2076888233423233, -0.4614289700984955, -0.036644019186496735, -0.29938241839408875, 0.36384785175323486, 0.1280539333820343, 0.24350236356258392, 0.3989059031009674, -0.36654114723205566, -0.12571501731872559, 0.3899776339530945, 0.791157066822052, 0.780835747718811, 0.37745755910873413, 0.639746367931366, -0.06652382016181946, -0.3904041349887848, 0.41706061363220215, -0.2006232589483261, -0.4439224898815155, 0.06460508704185486, 1.0112874507904053, 0.6288679838180542, 0.2741677761077881, -0.9796369671821594, 0.6102770566940308, 0.30237138271331787, -0.1783357709646225, -0.32424497604370117, 0.051914215087890625, 0.008611219935119152, 0.44478872418403625, 0.015869731083512306, -0.34526076912879944, 0.05364691838622093, -0.9034790992736816, 0.296080082654953, 0.22595372796058655, -0.10062252730131149, -0.43843570351600647, 0.46031779050827026, -0.02551986090838909, 0.12400291115045547, 0.3673234283924103, -0.5675963759422302, -0.38086211681365967, 0.7786082625389099, 0.8466538786888123, 0.5984100103378296, 0.15486493706703186, 0.5340431928634644, 0.4002525508403778, 0.4066537916660309, 0.38790345191955566, 0.5627708435058594, 0.13377588987350464, -0.5910653471946716, -0.4210696816444397, -0.1509803980588913, 0.013083875179290771, -0.16420669853687286, -0.4975621700286865, 0.01496516540646553, -0.29933327436447144, -0.0671285092830658, -0.05340654402971268, 0.05826008692383766, -0.7443400025367737, 0.34084686636924744, 0.07483232766389847, 0.5040914416313171, -0.9701588153839111, 0.27734261751174927, 1.1361911296844482, -0.639702320098877, -0.7650732398033142, -0.0063733248971402645, -0.1922234147787094, -0.6828235983848572, 1.422199010848999, 0.10524987429380417, 0.003986753057688475, 0.0811971053481102, -0.5222688317298889, -0.37962377071380615, 0.9686629176139832, -0.04779205098748207, -0.37735414505004883, -0.013392782770097256, 0.05343452841043472, 0.58663409948349, -0.3641084134578705, 0.460818350315094, 0.5501091480255127, 0.7721803784370422, 0.05457103252410889, -0.8373705744743347, -0.0019222921691834927, -0.3713388442993164, -0.16607707738876343, -0.06081531569361687, -0.32087746262550354, 1.0046472549438477, -0.37786760926246643, -0.8725168704986572, 0.24478550255298615, 0.3358832597732544, 0.20340485870838165, 0.8038995265960693, 0.35751980543136597, 0.6490492820739746, 0.2351011484861374, -0.3527759611606598, 1.064479112625122, 0.034878119826316833, 0.3744739294052124, 0.7071272134780884, -0.31711646914482117, 0.6131272912025452, 0.6822364330291748, -0.6358123421669006, 0.7099732160568237, 0.5083611607551575, 0.2360888123512268, 0.974541962146759, -0.0014977765968069434, -0.3433874845504761, 0.024312863126397133, -0.35354405641555786, -0.21167872846126556, -0.05297088250517845, 0.3911474943161011, -0.3812175691127777, -0.21565036475658417, -0.0005078355316072702, 0.000815030827652663, 0.46410369873046875, -0.022743074223399162, 1.1277791261672974, 0.3836824893951416, -0.6055993437767029, 0.7264651656150818, -0.22681008279323578, 0.3086334466934204, -0.19299325346946716, -0.18682165443897247, -0.5817205905914307, -0.2870560884475708, -0.2921670377254486, -1.314401388168335, 0.25841453671455383, -0.01517596747726202, -0.17475625872612, 0.12773124873638153, 0.6149545907974243, -0.44136518239974976, -0.23484350740909576, 0.2717156410217285, 0.7720168232917786, 0.2783459424972534, 0.37230223417282104, -0.5127789974212646, -0.03573104366660118, -0.251848965883255, -0.23771433532238007, -0.2668781280517578, 0.8108800649642944, 0.017990153282880783, 0.37222445011138916, 0.22315260767936707, 0.061347488313913345, 0.25297948718070984, 0.14744162559509277, 0.6593106389045715, -0.39377880096435547, -0.09246931225061417, -0.6615188121795654, 0.7306380271911621, 0.04619354382157326, -0.24473810195922852, 0.5960291028022766, 0.6005890369415283, 1.0119785070419312, -0.4036959707736969, 0.5696829557418823, -0.34073343873023987, 0.23122844099998474, -0.8128146529197693, 0.2973967492580414, -0.7206867933273315, 0.015286574140191078, -0.062142182141542435, -1.300220251083374, -0.1535111516714096, 0.7165443897247314, -0.30032142996788025, 0.12018830329179764, 1.425105333328247, 0.8237949013710022, 0.06873413920402527, -0.1349160224199295, 0.30010148882865906, 0.15673652291297913, -0.03449936583638191, 0.6704334616661072, 1.2809879779815674, -0.4542757272720337, -0.0387062132358551, -0.1905401349067688, 0.02960197813808918, -0.0685165673494339, -0.3424689471721649, -0.9931000471115112, -0.7027045488357544, -0.2097797840833664, -0.19046209752559662, 0.3708692491054535, 0.8170205950737, 0.218571275472641, -0.6968261003494263, 0.25208404660224915, -0.08463720977306366, 0.03836013376712799, -0.1426863670349121, -0.2842644155025482, 0.48112747073173523, -0.47402462363243103, -0.9137036204338074, 0.5990472435951233, 0.06123170256614685, 0.09895821660757065, -0.23310570418834686, -0.20751698315143585, 0.09337765723466873, 0.16652436554431915, 0.9696634411811829, -0.10234604775905609, -1.085803508758545, -0.4990884065628052, 0.18878161907196045, -0.4851253926753998, -0.21026872098445892, 0.46368643641471863, -0.6868677139282227, 0.3917664587497711, 0.7311927676200867, 0.22063091397285461, -0.05039069056510925, 0.0520307756960392, 0.1259070634841919, -0.7290396094322205, 0.25097429752349854, 0.1712101399898529, 0.2403230220079422, 0.2616211473941803, 0.12668560445308685, 0.5020424127578735, 0.6000440716743469, -0.2746068239212036, -0.5373329520225525, 0.5299879312515259, -1.1814444065093994, -0.22021444141864777, 1.2919734716415405, -0.1033809706568718, -0.014858545735478401, -0.28844988346099854, -0.6202110648155212, -0.13520090281963348, -0.4069279730319977, 0.30527007579803467, 0.8033490180969238, 0.08129870891571045, -0.2933802604675293, -0.39164429903030396, 0.11117131263017654, 0.5104900002479553, -0.7200003266334534, -0.24269169569015503, 0.5516785383224487, 0.007329969201236963, 0.010786502622067928, 0.31876757740974426, -0.22627149522304535, 0.38100430369377136, 0.4725024104118347, -0.33586645126342773, 0.2738782465457916, -0.4533425271511078, 0.04173211380839348, -0.06422732770442963, 0.33956268429756165, 0.02564900927245617 ]
http://arxiv.org/abs/2403.12285v1
http://arxiv.org/pdf/2403.12285v1
FinLlama: Financial Sentiment Classification for Algorithmic Trading Applications
2024-03-18T22:11:00
2024-03-18T22:11:00
Thanos Konstantinidis, Giorgos Iacovides, Mingxue Xu, Tony G. Constantinides, Danilo Mandic
cs.CL
cs.CL, cs.LG, q-fin.ST, q-fin.TR
There are multiple sources of financial news online which influence market movements and trader's decisions. This highlights the need for accurate sentiment analysis, in addition to having appropriate algorithmic trading techniques, to arrive at better informed trading decisions. Standard lexicon based sentiment approaches have demonstrated their power in aiding financial decisions. However, they are known to suffer from issues related to context sensitivity and word ordering. Large Language Models (LLMs) can also be used in this context, but they are not finance-specific and tend to require significant computational resources. To facilitate a finance specific LLM framework, we introduce a novel approach based on the Llama 2 7B foundational model, in order to benefit from its generative nature and comprehensive language manipulation. This is achieved by fine-tuning the Llama2 7B model on a small portion of supervised financial sentiment analysis data, so as to jointly handle the complexities of financial lexicon and context, and further equipping it with a neural network based decision mechanism. Such a generator-classifier scheme, referred to as FinLlama, is trained not only to classify the sentiment valence but also quantify its strength, thus offering traders a nuanced insight into financial news articles. Complementing this, the implementation of parameter-efficient fine-tuning through LoRA optimises trainable parameters, thus minimising computational and memory requirements, without sacrificing accuracy. Simulation results demonstrate the ability of the proposed FinLlama to provide a framework for enhanced portfolio management decisions and increased market returns. These results underpin the ability of FinLlama to construct high-return portfolios which exhibit enhanced resilience, even during volatile periods and unpredictable market events.
[ -0.25557175278663635, -0.7141977548599243, 0.16341134905815125, 0.46501433849334717, -0.37972626090049744, 0.3258764147758484, -0.3314104974269867, -0.5444338321685791, 0.41969212889671326, 0.7367684841156006, -0.32718947529792786, -0.8611599206924438, -0.7007133960723877, -0.23154495656490326, -0.4763384461402893, 1.1002848148345947, 0.03383663669228554, 0.22012795507907867, 0.18032962083816528, -0.09231659024953842, -0.2961593568325043, -0.4205320477485657, -1.0330331325531006, -0.3798074424266815, 0.44159626960754395, 0.25718820095062256, 0.6155552864074707, 0.40143367648124695, 0.813849687576294, 0.3684343695640564, -0.13281786441802979, 0.14198236167430878, -0.3455941379070282, -0.0628955215215683, -0.11201667040586472, -0.5957459211349487, -0.6584569215774536, -0.004288115538656712, 0.1725102812051773, 0.5328865051269531, -0.45935821533203125, 0.3163512349128723, -0.06671755015850067, 0.701789915561676, -0.5940527319908142, 0.7251726984977722, -0.6023377776145935, 0.022060921415686607, -0.360331267118454, -0.2926766872406006, -0.33091607689857483, -0.4246131479740143, 0.08351381868124008, -0.3869855999946594, -0.13777397572994232, 0.10307832807302475, 0.6081199049949646, 0.3215917944908142, -0.16958877444267273, -0.457986444234848, -0.42263615131378174, 0.6740813255310059, -0.7646793127059937, 0.09622490406036377, 0.26221731305122375, 0.5328991413116455, -0.1550099104642868, -0.4974789023399353, -0.4576650559902191, 0.17730942368507385, 0.29157754778862, 0.15478259325027466, -0.22483374178409576, 0.10353579372167587, -0.08615919947624207, 0.4799457788467407, -0.1752539873123169, 0.2593461275100708, -0.5572167038917542, 0.05832539498806, 0.6406894326210022, 0.20081833004951477, -0.12102203071117401, -0.18330018222332, -0.6085606813430786, -0.2520085275173187, -0.7098235487937927, 0.2602909803390503, 0.506892204284668, 0.7053093314170837, -0.13653232157230377, 0.137006938457489, -0.1779315173625946, 0.6154479384422302, 0.18917667865753174, -0.5694855451583862, 0.2923499047756195, 0.23567084968090057, -0.4490946829319, 0.36062443256378174, 0.5481343865394592, 0.5068584680557251, 0.10309045761823654, 0.17389246821403503, -0.16023145616054535, 0.31766003370285034, 0.2885163724422455, -0.4696827530860901, 0.021696485579013824, 0.0594782792031765, -0.507658064365387, -0.8821356296539307, 0.1226925328373909, -1.0982158184051514, -0.4297131597995758, -0.17153747379779816, 0.2265191525220871, -0.030773155391216278, -0.076370470225811, 0.4596363306045532, 0.0288152564316988, 0.5000301599502563, 0.31649985909461975, -1.071744441986084, 0.5094624757766724, 0.984309196472168, 0.7836401462554932, 0.15965136885643005, 0.00013382874021772295, -0.5979185700416565, 0.031116263940930367, -0.5404483079910278, 0.9076011180877686, -0.4701152443885803, -0.2270725667476654, -0.049496326595544815, -0.3845299184322357, -0.08044470846652985, -0.5043482184410095, 0.1375826895236969, -0.7440714836120605, 0.09184946864843369, -0.01587652415037155, -0.401859849691391, -0.8168210387229919, 0.17113298177719116, -0.5793538093566895, 0.646343469619751, 0.30499884486198425, -0.6798866391181946, 0.2609708607196808, -0.8702741861343384, -0.36475518345832825, -0.07953732460737228, -0.09593059122562408, -0.3935311734676361, -0.0006010359502397478, -0.07938846945762634, 0.619321882724762, -0.6840158104896545, 0.2220120131969452, -0.4976491332054138, -0.3411252796649933, 0.5988675355911255, -0.2275790423154831, 0.24698717892169952, 0.2671000063419342, -0.6373746395111084, 0.0827423557639122, -0.6588873863220215, -0.21646414697170258, -0.07872102409601212, -0.07496781647205353, -0.550233006477356, 0.0443134680390358, 0.26900336146354675, 0.16068606078624725, 0.3859318196773529, -0.3029940128326416, 0.12103717029094696, -0.9426296949386597, 0.528339147567749, 1.090462327003479, -0.12466911971569061, 0.32564395666122437, -0.29157277941703796, 0.5347365140914917, -0.03139108419418335, 0.20609603822231293, 0.2053467482328415, -0.3457728624343872, -0.9798421263694763, -0.18586210906505585, 0.2579994201660156, 0.7066450119018555, -0.24285224080085754, 0.3826156556606293, -0.15745705366134644, -0.4733387231826782, -0.2828989028930664, 0.7100630402565002, 0.16347233951091766, 0.4122869372367859, 0.2128300815820694, -0.29654571413993835, -0.47292762994766235, -0.9947947859764099, 0.09226514399051666, -0.320794016122818, 0.4456055760383606, -0.12372841686010361, 0.022202545776963234, -0.36447012424468994, 0.6529508829116821, -0.6506129503250122, -0.5009726285934448, -0.35025379061698914, 0.016255144029855728, 0.6952592134475708, 0.18816454708576202, 0.8310021162033081, -0.7035142183303833, -0.011754417791962624, 0.35922521352767944, -0.5508173704147339, -0.08948860317468643, -0.3201090693473816, -0.3283548355102539, 0.26976507902145386, 0.4416007399559021, -0.3366396725177765, 0.48685190081596375, 0.4450289011001587, -0.35143718123435974, -0.14773955941200256, 0.14250266551971436, -0.2637072503566742, -1.295965313911438, 0.05340617150068283, 0.2406502664089203, -0.2381022572517395, -0.36068299412727356, 0.07767156511545181, -0.27069947123527527, 0.35899490118026733, -0.23862934112548828, 0.5446398258209229, 0.18401920795440674, -0.18223825097084045, -0.7199702858924866, -0.03102482669055462, -0.22764940559864044, 0.5092225074768066, -0.01855439879000187, 0.6659310460090637, 0.3356189727783203, -0.37162384390830994, 0.5758503079414368, 0.1878996342420578, -0.36704692244529724, 0.6157315373420715, -0.25698426365852356, -0.11398588120937347, 0.08930344134569168, 0.09896553307771683, -1.0178322792053223, -0.10499552637338638, 0.5705739259719849, -0.2327822893857956, 0.23644378781318665, 0.29191023111343384, -0.30731549859046936, -0.26166823506355286, -0.4755770266056061, 0.060027725994586945, 0.4344865083694458, -0.6887697577476501, 0.7089360356330872, 0.28303617238998413, -0.4156173765659332, -0.7055591344833374, -0.5687447190284729, 0.07015785574913025, -0.5526452660560608, -0.4058927297592163, 0.09651335328817368, -0.11327095329761505, -0.6123346090316772, -0.49121785163879395, -0.10156034678220749, 0.2690180838108063, 0.36476221680641174, 0.6735000610351562, 0.5856831669807434, -0.08777584135532379, 0.11404218524694443, 0.2634470760822296, -0.4749632775783539, 0.10261441022157669, -0.22160111367702484, 0.6338467001914978, -0.539741039276123, 0.027169914916157722, -0.32980862259864807, 0.0406547412276268, 0.5812930464744568, -0.05012732744216919, 0.6785120368003845, 0.4963223338127136, -0.2983505427837372, -0.3846651613712311, -0.6981538534164429, 0.20751085877418518, -0.6016576290130615, 0.12454915046691895, -0.1264125555753708, -0.9268878698348999, 0.6371936798095703, -0.23727744817733765, 0.0708978995680809, 0.6890286803245544, 0.8823404312133789, 0.004608106333762407, 0.6377810835838318, 0.6739522218704224, -0.5427706837654114, 0.40291744470596313, -0.4274478554725647, 0.1838761270046234, -0.4754534363746643, -0.32742074131965637, -0.22123585641384125, -0.5410652160644531, -0.33612632751464844, -0.2755809426307678, 0.10923529416322708, 0.06457832455635071, -0.3626788258552551, 0.1218099445104599, -0.12502989172935486, 0.339306503534317, 0.2572469711303711, 0.03488801792263985, 0.16297966241836548, 0.25344473123550415, -0.10303837060928345, 0.2402210384607315, -0.4332086443901062, -0.5965030193328857, 1.1374574899673462, 0.6237729787826538, 0.8734285831451416, 0.05850992724299431, 0.5360643863677979, 0.6292330622673035, 0.6392889022827148, -0.8935774564743042, 0.5366921424865723, -0.38024240732192993, -0.05737936496734619, 0.16954925656318665, -0.4768059551715851, -0.5321349501609802, -0.08218861371278763, -0.1743229180574417, -0.5630994439125061, 0.38324135541915894, -0.188836932182312, -0.9001531600952148, 0.35073912143707275, -0.27028727531433105, 0.6012704372406006, -0.3085033595561981, -0.2249661684036255, -0.3960864245891571, -0.3714648187160492, 0.3974030017852783, -0.48845145106315613, 0.5439789295196533, -0.3819764256477356, -0.1513257920742035, 0.693509578704834, -0.5622279644012451, 1.0883471965789795, 0.00936118420213461, -0.5349686741828918, 0.16783592104911804, -0.056764427572488785, 0.260043740272522, 0.24044032394886017, -0.14525100588798523, 0.2910025119781494, -0.18524658679962158, -0.21618162095546722, -0.5215187072753906, 0.928544819355011, -0.8493933081626892, -0.4697607159614563, -0.4936577081680298, -0.48664191365242004, -0.33192867040634155, -0.2036484181880951, -0.008910081349313259, 0.07199039310216904, 0.11310815811157227, 0.06005535274744034, 0.2952977120876312, 0.07405960559844971, 0.31809282302856445, 0.38459640741348267, -0.4496114253997803, -0.7256208062171936, 0.9673371315002441, -0.15953652560710907, -0.046934906393289566, 0.3881714940071106, 0.11730607599020004, -0.28575631976127625, -0.5530755519866943, -0.06843145936727524, 0.01953710988163948, -0.9077578186988831, -0.6871689558029175, -0.07344158738851547, -0.15705899894237518, -0.3006432056427002, -0.497224360704422, -0.39202091097831726, -0.406217098236084, -0.45390763878822327, -0.5569983124732971, 0.8855858445167542, 0.6960233449935913, -0.18813644349575043, 0.6829826831817627, -0.5941606760025024, 0.15417593717575073, 0.4444052278995514, 0.5074263215065002, 0.09600331634283066, -0.3390873372554779, -0.3133358359336853, -0.1278401017189026, -0.1555468738079071, -0.7085574269294739, 0.6224461793899536, 0.18659304082393646, 0.30404284596443176, 0.97044438123703, -0.11994669586420059, 0.5940622687339783, 0.34432336688041687, 0.22748123109340668, 0.328831285238266, -0.9282246232032776, 0.6448755860328674, -0.317856103181839, -0.18298229575157166, 0.6125882863998413, 0.003012249479070306, -0.48515981435775757, -0.3184581398963928, -0.30832046270370483, -0.973543643951416, 0.5311564207077026, -0.053295668214559555, 0.07959310710430145, -0.2103201001882553, 0.8224881887435913, 0.2739483714103699, 0.4218975007534027, -0.5032353401184082, -0.04471899941563606, -0.25264304876327515, -0.5570295453071594, -0.28241920471191406, -0.17912247776985168, -0.11634717881679535, -0.15228381752967834, 0.6187970638275146, -0.3549427390098572, -0.13121140003204346, -0.24891187250614166, -0.01875130459666252, -0.20601624250411987, 0.10190225392580032, 0.3638361096382141, 0.6044012308120728, -0.30389872193336487, 0.06827953457832336, 0.3744899034500122, -0.32283666729927063, 0.124702088534832, 0.21146810054779053, -0.06112269312143326, -0.34197214245796204, 0.18175387382507324, 0.7417547702789307, 0.7107560634613037, -0.9475963115692139, 0.3554264307022095, 0.06753688305616379, -0.17182323336601257, -0.4868936240673065, 0.33687758445739746, -0.044140852987766266, 0.9050383567810059, 0.5589696764945984, 0.2684583067893982, 0.21043947339057922, -0.4719330668449402, -0.02249964140355587, 0.24202094972133636, -0.19312287867069244, -0.15336273610591888, 0.5821475386619568, 0.07604525238275528, 0.18846531212329865, 0.39832961559295654, 0.16519294679164886, -0.5154033899307251, 0.6641761064529419, 0.31860509514808655, 0.8723785281181335, -0.21119259297847748, 0.3358074724674225, 0.030716117471456528, 0.0004466925165615976, -0.3505801260471344, 0.5851935744285583, 0.10518443584442139, -0.7936593294143677, -0.24649940431118011, -1.0929005146026611, -0.3770807385444641, -0.1038355827331543, -0.8196597099304199, 0.10892568528652191, -1.1542099714279175, -0.6199997067451477, 0.19904643297195435, 0.16919676959514618, -0.484775573015213, 0.11844907701015472, 0.5369300246238708, 0.8743105530738831, -0.6125456690788269, 0.59280925989151, 0.6799471974372864, -0.2530287206172943, -0.46446168422698975, -0.5010806322097778, 0.07122879475355148, -0.8578112721443176, 0.6935142874717712, 0.30664291977882385, -0.35860806703567505, -0.17633597552776337, -0.4753275215625763, -0.6257337927818298, 1.1803580522537231, 0.37491244077682495, -0.6679896116256714, 0.16480538249015808, 0.15266752243041992, 0.5648763179779053, -0.5898783802986145, -0.21231797337532043, 0.6162156462669373, 0.5589549541473389, 0.3367235064506531, -0.7338873147964478, -0.2814737558364868, -0.5490857362747192, 0.2300136536359787, 0.29522716999053955, -1.0149730443954468, 0.7477567791938782, -0.0004325552436057478, 0.09672420471906662, 0.22554579377174377, 0.7520456910133362, 0.3206205666065216, 0.45094573497772217, 0.5285259485244751, 0.5644070506095886, 0.7727434635162354, -0.19260655343532562, 0.9106701016426086, -0.643936276435852, 0.45945796370506287, 0.633717954158783, -0.3451533913612366, 1.2938342094421387, 0.3249351978302002, -0.2520517110824585, 0.7416976690292358, 0.8907310366630554, -0.029315590858459473, 0.3820103406906128, 0.26956260204315186, -0.3497264087200165, -0.5126472115516663, 0.04770209267735481, -0.31915485858917236, 0.9126554727554321, 0.6425614356994629, -0.5358416438102722, -0.0429142527282238, 0.19303235411643982, 0.05859162285923958, 0.23887065052986145, -0.7112104296684265, 0.6404374241828918, 0.4006485342979431, 0.04028637334704399, 0.19694939255714417, 0.5347721576690674, 0.9487146735191345, -0.7342156767845154, 0.2950904667377472, -0.32557982206344604, 0.4741584360599518, -0.11219597607851028, -0.43909645080566406, 0.31325629353523254, 0.03948444873094559, -0.16013702750205994, -0.21351879835128784, 0.7174846529960632, -0.13998839259147644, -0.9136224389076233, 0.5852362513542175, 0.24379657208919525, -0.22049729526042938, 0.007200589869171381, -0.49462535977363586, -0.05194614827632904, -0.33121201395988464, -0.25071126222610474, 0.3293081521987915, -0.07481875270605087, 0.02816552110016346, 0.6930950880050659, 0.9546703100204468, 0.015062980353832245, -0.3449472188949585, -0.0004756064445246011, 0.834024965763092, -0.9493546485900879, -0.893218457698822, -0.935674250125885, -0.2672606408596039, 0.1530119776725769, -0.13862773776054382, 0.5390633940696716, 0.5692622661590576, 0.512738049030304, 0.090730220079422, 0.5474317073822021, 0.6876111030578613, 0.21872086822986603, -0.7256919741630554, 0.8184751272201538, -0.29322049021720886, 0.5346367359161377, -0.38185247778892517, -0.8123021721839905, -0.4602218568325043, 0.9754515290260315, -0.4827572703361511, -0.24054931104183197, 0.09092678129673004, 0.6532143354415894, 0.1787368357181549, 0.3875328004360199, -0.04746595397591591, 0.1306234449148178, -0.08528554439544678, 0.6659208536148071, 0.5904709100723267, -0.25533178448677063, 0.1943492591381073, -0.13189361989498138, -0.06702452898025513, -0.4002823531627655, -0.5986788868904114, -0.7703209519386292, -0.25414738059043884, -0.2758695185184479, -0.23416019976139069, 0.10314581543207169, 1.351008415222168, 0.3358834981918335, -0.6410364508628845, -0.6762819290161133, 0.194041445851326, 0.14970989525318146, -0.27207472920417786, -0.2281060814857483, 0.3207882046699524, -0.30652445554733276, -0.3675491213798523, 0.35209476947784424, 0.7414111495018005, 0.16619031131267548, -0.5486710071563721, -0.12188693135976791, 0.18434597551822662, 0.29712679982185364, 0.7382729053497314, 0.1653086543083191, -0.47625741362571716, -0.036639101803302765, -0.24737508594989777, 0.111782006919384, 0.04098893702030182, 0.4493306279182434, -0.6038806438446045, 0.09916877001523972, 0.29936251044273376, 0.5687271356582642, 0.2749563753604889, -0.12058573216199875, 0.5808067917823792, -0.28426626324653625, 0.3280196487903595, -0.14061355590820312, 0.4089933931827545, 0.016814738512039185, -0.3785611689090729, 0.34647467732429504, 0.11118009686470032, 0.08371084928512573, -0.5268235802650452, -0.30427348613739014, -1.3800289630889893, -0.2501741647720337, 1.0402336120605469, 0.06312977522611618, -0.5928133130073547, 0.18115916848182678, -0.15738357603549957, -0.1399117112159729, -0.5251500010490417, 1.0736008882522583, 0.5582170486450195, 0.29615628719329834, -0.14199696481227875, -0.47534477710723877, 0.2744523584842682, 0.04547790437936783, -0.7971915006637573, -0.1024458035826683, 0.3289686441421509, 0.1833198219537735, 0.17189572751522064, 0.6666585206985474, 0.04213925451040268, 0.5015542507171631, -0.29827606678009033, -0.0470193549990654, -0.1536235511302948, -0.2513329088687897, -0.3241085410118103, 0.5747295022010803, 0.045258644968271255, 0.07443546503782272 ]
http://arxiv.org/abs/2403.12244v1
http://arxiv.org/pdf/2403.12244v1
Zero-Shot Multi-task Hallucination Detection
2024-03-18T20:50:26
2024-03-18T20:50:26
Patanjali Bhamidipati, Advaith Malladi, Manish Shrivastava, Radhika Mamidi
cs.CL
cs.CL
In recent studies, the extensive utilization of large language models has underscored the importance of robust evaluation methodologies for assessing text generation quality and relevance to specific tasks. This has revealed a prevalent issue known as hallucination, an emergent condition in the model where generated text lacks faithfulness to the source and deviates from the evaluation criteria. In this study, we formally define hallucination and propose a framework for its quantitative detection in a zero-shot setting, leveraging our definition and the assumption that model outputs entail task and sample specific inputs. In detecting hallucinations, our solution achieves an accuracy of 0.78 in a model-aware setting and 0.61 in a model-agnostic setting. Notably, our solution maintains computational efficiency, requiring far less computational resources than other SOTA approaches, aligning with the trend towards lightweight and compressed models.
[ -0.09292163699865341, -1.0723422765731812, 1.0765968561172485, 0.3481179177761078, -0.18773338198661804, -0.36439821124076843, -0.09993797540664673, -0.5567586421966553, 0.36672618985176086, 0.4536322057247162, -0.6207171678543091, -0.4842468202114105, -0.5931788682937622, 0.19647392630577087, -0.6097133755683899, 0.9050071239471436, -0.01597944274544716, -0.038597673177719116, -0.22417274117469788, -0.1810561716556549, -0.7494169473648071, -0.5266836285591125, -0.29319825768470764, -0.2611097991466522, 0.2605975866317749, 0.23669613897800446, 0.49071836471557617, 0.34223034977912903, 0.32487934827804565, 0.21711225807666779, 0.39820632338523865, 0.00965449120849371, -0.44577643275260925, 0.6614289879798889, 0.10283524543046951, -0.14712116122245789, -0.4240172505378723, -0.2737675607204437, 0.4205038547515869, 0.42405441403388977, -0.06773106008768082, 0.28803104162216187, -0.1090141087770462, 0.3138017952442169, -1.0094308853149414, -0.07662063091993332, -0.8213744759559631, 0.23456090688705444, 0.006892435718327761, -0.5347075462341309, -0.5571314096450806, 0.01309162750840187, -0.20112918317317963, -0.40734758973121643, 0.5873385071754456, -0.26597103476524353, 0.8310321569442749, 0.5000925660133362, -0.05238784849643707, -0.4167938232421875, -0.8847346305847168, 0.9140583872795105, -0.7305999398231506, 0.5335782766342163, 0.40204718708992004, 0.30470240116119385, -0.033633213490247726, -0.3198198676109314, -0.949237048625946, -0.35411596298217773, 0.15947125852108002, 0.10437845438718796, -0.16510318219661713, -0.10142701119184494, 0.2726081907749176, 0.2288900762796402, -0.869900107383728, -0.10711096972227097, -0.1134779155254364, -0.2647514045238495, 0.40702009201049805, 0.23228785395622253, 0.3210674226284027, -0.3900148868560791, -0.05580029636621475, 0.14000116288661957, -0.22661714255809784, -0.5105032324790955, 0.38646331429481506, 0.4624960720539093, 0.12550127506256104, 0.7976117730140686, -0.32877495884895325, 0.7346763014793396, -0.06674744188785553, -0.015664448961615562, 0.29479146003723145, -0.4330451488494873, -0.4911786913871765, 0.1284082978963852, 0.8206481337547302, 0.12513674795627594, 0.14567585289478302, -0.3831566572189331, -0.41065719723701477, 0.5367041826248169, 0.643747091293335, -0.9921644330024719, -0.14780384302139282, 0.6030286550521851, -0.4704391658306122, -0.5586987733840942, -0.17524610459804535, -0.7298238277435303, -0.5468040108680725, -0.24680714309215546, 0.8333024978637695, -0.560360848903656, -0.40449264645576477, 0.3835984766483307, -0.09701661020517349, 0.043799497187137604, 0.05405091866850853, -0.8135286569595337, 0.03641994670033455, 0.3346184492111206, 1.0922552347183228, -0.26901721954345703, -0.35361868143081665, -0.5460352897644043, 0.04003950208425522, -0.3410046398639679, 1.2000664472579956, -0.27756375074386597, -0.19732984900474548, -0.1717086136341095, -0.11835736781358719, -0.04433738440275192, -0.4415402412414551, 0.5493066906929016, 0.04949823021888733, 0.11301456391811371, 0.049187544733285904, -0.3595443665981293, -0.20643025636672974, 0.3690740168094635, -0.6402942538261414, 1.0021487474441528, 0.13442812860012054, -0.6016258001327515, 0.5632855296134949, -0.43670961260795593, -0.37086063623428345, 0.1438939869403839, -0.4970155358314514, -0.7437881231307983, 0.5301640629768372, 0.009231985546648502, 0.6738775372505188, -0.042420655488967896, 0.5781465172767639, -0.30353957414627075, -0.8067982196807861, 0.11635313928127289, -0.47414708137512207, 0.6319769024848938, 0.07239577919244766, -0.8200273513793945, 0.48422273993492126, -0.9020752310752869, -0.00492732971906662, 0.19838355481624603, 0.3086717426776886, -0.30933573842048645, -0.1223057210445404, 0.2265627682209015, 0.1284104734659195, -0.09213434159755707, -0.4765872359275818, 0.036810025572776794, -0.2429717779159546, 0.04102211445569992, 0.44141513109207153, 0.12159646302461624, 0.06818847358226776, -0.2767104208469391, 0.45804375410079956, 0.03414632007479668, 0.018067486584186554, -0.2772974669933319, -0.39465752243995667, -0.7461646199226379, -0.3763217031955719, -0.06939961016178131, 0.4090532064437866, -0.776523232460022, 0.6726613640785217, -0.05362625792622566, -0.4337560534477234, -0.39187246561050415, -0.20938871800899506, 0.43490633368492126, 0.333097904920578, 0.3815850615501404, -0.19306997954845428, -0.5439130663871765, -0.6559609770774841, -0.05897050350904465, 0.05634615570306778, -0.20181629061698914, 0.09256476908922195, 0.7648618221282959, -0.2706992030143738, 0.6215899586677551, -0.48962724208831787, -0.6236514449119568, -0.19529274106025696, 0.5844805240631104, 0.08453017473220825, 0.34854626655578613, 0.6949136853218079, -0.4507654905319214, -0.3602154552936554, -0.07472359389066696, -1.2654592990875244, -0.1023683100938797, -0.5597958564758301, 0.08113937079906464, 0.5350999236106873, 0.34440842270851135, -0.6457286477088928, 0.798129141330719, 0.40072259306907654, -0.44935235381126404, 0.9675930142402649, -0.021564390510320663, 0.3747488260269165, -0.9224240183830261, 0.2129175364971161, -0.026693051680922508, -0.047205954790115356, -0.9931071400642395, 0.1413256675004959, -0.07425912469625473, -0.11561786383390427, -0.1896083801984787, 0.2714807987213135, -0.38004258275032043, -0.08223708719015121, -0.5138131976127625, 0.2445286363363266, 0.00556534668430686, 0.43954750895500183, 0.3644911050796509, 0.6361582279205322, 0.637749969959259, -0.5746207237243652, 0.0519203245639801, 0.08974399417638779, -0.26092833280563354, 0.6079896688461304, -0.643150806427002, 0.15530985593795776, -0.373424232006073, -0.07716334611177444, -0.8308805227279663, -0.374016135931015, 0.38496240973472595, -0.7451376914978027, 0.034702517092227936, 0.5295862555503845, -0.4710560142993927, -0.0013087133411318064, -0.5094956755638123, 0.42726999521255493, 0.08988038450479507, -0.13356611132621765, 0.3416690230369568, 0.10500941425561905, 0.2874446511268616, -0.6418898105621338, -0.6672945618629456, -0.053654201328754425, 0.00294767739251256, -0.38295838236808777, 0.2511492073535919, -0.1097865030169487, -0.050479501485824585, -0.02766496129333973, -0.28573423624038696, -0.2797892391681671, 0.08564069122076035, 0.34817561507225037, 0.22323253750801086, -0.1830553561449051, 0.09929671883583069, 0.10341324657201767, 0.023820478469133377, -0.0922638326883316, -0.10958199203014374, 0.8175042271614075, 0.14060641825199127, -0.5151259899139404, -0.6417360901832581, 0.38058599829673767, 0.7734878659248352, 0.12199173122644424, 0.7823290228843689, 0.7842659950256348, -0.8793072700500488, -0.3127770721912384, -0.5495200753211975, -0.5172973275184631, -0.35203009843826294, 0.29094696044921875, -0.6305221319198608, -0.6044662594795227, 0.678007960319519, 0.4764733612537384, -0.3168644309043884, 0.49000313878059387, 0.6795405745506287, 0.31722477078437805, 1.059912919998169, 0.6364201903343201, 0.40966442227363586, 0.20489712059497833, -0.08308542519807816, 0.6204168200492859, -0.515228807926178, -0.37133103609085083, -0.6344992518424988, -0.027731694281101227, -0.23334214091300964, -0.25642579793930054, 0.12742622196674347, 0.04523593559861183, -0.11498858034610748, 0.5695322751998901, -0.9722936153411865, 0.41103148460388184, 0.23075911402702332, 0.13086827099323273, 0.34707406163215637, -0.029161447659134865, 0.058762140572071075, -0.1430080085992813, -0.40343284606933594, -0.5272351503372192, 1.0003560781478882, -0.03259008377790451, 0.35117480158805847, 0.04503636807203293, 0.728127121925354, 0.38972407579421997, -0.004855633247643709, -1.0233168601989746, 0.4792177677154541, 0.08847387880086899, -0.6339412331581116, -0.6782841682434082, -0.4868496358394623, -0.7760670185089111, 0.22572720050811768, -0.4012390077114105, -1.1440699100494385, 0.2305264174938202, -0.1505555808544159, -0.8442478179931641, 0.12001220136880875, -0.41799497604370117, 1.1441694498062134, -0.10916140675544739, -0.46033987402915955, -0.09659732133150101, -0.18781274557113647, 0.7587423920631409, -0.39978402853012085, -0.14363624155521393, -0.3513866662979126, 0.3500683605670929, 0.4421403706073761, -0.08000192046165466, 0.6091997027397156, -0.10892830044031143, -0.07554040104150772, 0.2601994574069977, 0.42546752095222473, 0.24069760739803314, -0.09839904308319092, -0.1607542634010315, 0.3453482687473297, 0.2762254476547241, -0.34079068899154663, -0.6244488954544067, 0.58833247423172, -0.4252214729785919, -0.18576937913894653, -0.6424287557601929, -0.7834853529930115, -0.01582806557416916, 0.30612993240356445, 0.5637603998184204, 0.2593945860862732, -0.1786964237689972, 0.11585711687803268, 0.5042714476585388, -0.34754475951194763, 0.41573113203048706, 0.32529690861701965, -0.5402187705039978, -0.06891611963510513, 1.1589996814727783, 0.22180473804473877, 0.01753443293273449, -0.08059309422969818, -0.1098080724477768, -0.29928261041641235, -0.6044795513153076, -0.572080135345459, 0.09666312485933304, -0.4310067892074585, -0.3273371756076813, -0.8126131296157837, -0.25651654601097107, -0.6996582746505737, -0.15381228923797607, -0.4154071807861328, -0.3138000965118408, -0.5004314184188843, 0.07708103954792023, 0.006396820768713951, 0.5415509343147278, 0.11005686223506927, 0.20624281466007233, -0.6906324625015259, 0.826278030872345, -0.008412187919020653, 0.3273492455482483, 0.1455099731683731, -0.5135075449943542, -0.07263590395450592, -0.12820567190647125, -0.41698139905929565, -1.1714738607406616, 0.6296929717063904, -0.0050775823183357716, 0.5474256873130798, 0.6524712443351746, 0.23530904948711395, 0.7854875922203064, -0.1708172857761383, 0.8305657505989075, 0.35367250442504883, -1.3357422351837158, 0.5441024899482727, -0.19484959542751312, 0.35282841324806213, 0.6878282427787781, 0.39853352308273315, -0.3521994948387146, -0.6137940883636475, -0.3921172022819519, -0.5099794268608093, 0.5901251435279846, 0.5092473030090332, 0.12961581349372864, -0.03953871130943298, 0.23609013855457306, 0.42322757840156555, 0.2902836799621582, -1.056059718132019, 0.14748190343379974, -0.3445849120616913, -0.08004407584667206, 0.23128201067447662, -0.3866523504257202, 0.16692107915878296, -0.13777050375938416, 0.5175826549530029, -0.2369564175605774, 0.5000863075256348, 0.251840204000473, -0.2695136070251465, -0.2916167378425598, 0.17633791267871857, 0.9088717699050903, 0.7794396281242371, -0.43120256066322327, 0.2572418749332428, -0.04821160063147545, -0.4962100088596344, 0.25166043639183044, -0.24373109638690948, -0.5313670039176941, 0.46819832921028137, 0.4133678674697876, 0.7621084451675415, 0.1426209956407547, -0.7330242991447449, 0.7210959792137146, 0.13077732920646667, -0.2612806558609009, -0.3359961211681366, -0.11097799986600876, -0.45715054869651794, 0.10429219901561737, 0.33082908391952515, 0.11872698366641998, 0.5544908046722412, -0.670077919960022, 0.5681192278862, 0.547158420085907, -0.6352689266204834, -0.4499816596508026, 0.7922531366348267, -0.23145653307437897, -0.2692117393016815, 0.5576372742652893, -0.7499806880950928, -0.42663314938545227, 0.49630260467529297, 0.6739053726196289, 1.374303936958313, -0.3500184416770935, 0.5296847820281982, 0.4867195785045624, 0.38840848207473755, -0.18120324611663818, 0.7177561521530151, -0.08216892182826996, -0.9268513321876526, -0.516514241695404, -0.8918905854225159, -0.19826406240463257, 0.5029421448707581, -0.7568798661231995, 0.5192269086837769, -0.1707444190979004, -0.2833108603954315, 0.21422319114208221, -0.32366421818733215, -0.2459285408258438, 0.1023174300789833, 0.14634700119495392, 0.246271550655365, -1.0998425483703613, 0.8706482648849487, 0.19596479833126068, -0.6645197868347168, -0.32581907510757446, 0.4378407299518585, 0.02925015054643154, -0.4424305260181427, 0.2742033898830414, 0.6732229590415955, -0.4187253415584564, -0.1960195153951645, -0.2592032551765442, -0.30924302339553833, 0.9252399206161499, 0.4103570878505707, -0.3264811336994171, 0.0034349923953413963, 0.012669669464230537, 0.5976192355155945, -0.2301931232213974, 0.2289358228445053, 0.6112040281295776, 0.42570996284484863, 0.18065881729125977, -0.8630778193473816, 0.2769666910171509, -0.008226917125284672, -0.1199798509478569, 0.18265657126903534, -0.23379597067832947, 0.8352535963058472, -0.20639649033546448, -0.5386149287223816, 0.12711511552333832, 0.5175432562828064, 0.529590368270874, 0.7645330429077148, 0.32779526710510254, 0.6008604168891907, 0.6290883421897888, 0.027249159291386604, 0.6781017780303955, -0.39223435521125793, 0.39908453822135925, 1.0656425952911377, -0.6021012663841248, 0.8039107322692871, 0.49134016036987305, 0.17977683246135712, 0.2511102855205536, 0.3447679877281189, -0.1394079327583313, 0.4623667299747467, 0.20171482861042023, -0.3569619357585907, -0.32120534777641296, -0.3333352208137512, -0.23177136480808258, 0.6747881770133972, 0.11783198267221451, -0.19034457206726074, -0.19001558423042297, 0.2464703917503357, -0.07581508904695511, 0.14979195594787598, -0.030568458139896393, 0.5249989032745361, -0.15567895770072937, -0.6815201044082642, 0.7307670712471008, -0.12986499071121216, 0.678267776966095, -0.28188642859458923, -0.31667402386665344, -0.04470531642436981, 0.05878717452287674, -0.35096806287765503, -0.3820253908634186, 0.8672052621841431, 0.0716162696480751, -0.23340189456939697, -0.11916185915470123, 0.8606657981872559, -0.22669026255607605, -0.6554616093635559, 0.42700618505477905, 0.7105234861373901, 0.5361664891242981, -0.7530301213264465, -0.2792356312274933, 0.4638836681842804, -0.09761248528957367, -0.11439645290374756, 0.1725142002105713, 0.593891978263855, -0.056872349232435226, 0.2783368229866028, 0.47530925273895264, 0.08601658046245575, -0.023874416947364807, 0.12098459899425507, 0.4575324058532715, -0.622760534286499, -0.18980498611927032, -1.092428207397461, 0.34680312871932983, -0.11519312113523483, -0.3118755519390106, 0.8635743260383606, 0.6262786984443665, 0.7066877484321594, -0.32258841395378113, 0.6977661848068237, -0.08754434436559677, 0.1595209836959839, -0.3411903977394104, 1.053576111793518, -0.7129578590393066, 0.011915338225662708, -0.382287859916687, -1.1067888736724854, -0.7254139184951782, 0.8213603496551514, -0.04455488175153732, -0.1496839076280594, 1.0240269899368286, 0.9194955229759216, -0.0375957190990448, -0.0047399383038282394, 0.9069017171859741, -0.03143150731921196, -0.16292819380760193, 0.42880958318710327, 0.712228536605835, -0.5291088223457336, 0.4667145311832428, -0.2326945811510086, -0.2382252812385559, -0.21860972046852112, -0.8499652743339539, -0.8842241168022156, -0.7588157653808594, -0.4927833676338196, -0.37908777594566345, -0.07639952749013901, 0.5045701861381531, 0.6954145431518555, -1.196631669998169, -0.26120641827583313, -0.30810999870300293, 0.028129931539297104, -0.46612104773521423, -0.3253627419471741, 0.2960071861743927, -0.5201927423477173, -0.6736247539520264, 0.3912588059902191, 0.6314070820808411, 0.02442345581948757, -0.6016213893890381, 0.0011221782770007849, -0.17338398098945618, 0.33851733803749084, 0.7701593637466431, 0.050775740295648575, -0.8294992446899414, -0.40541505813598633, 0.351126492023468, -0.06448110193014145, -0.052558161318302155, 0.8140347599983215, -0.6765263080596924, 0.6310073733329773, 0.5249515771865845, 0.36479872465133667, 0.5913498997688293, -0.24916298687458038, 0.1892794519662857, -0.6330996155738831, 0.2907871603965759, 0.37821242213249207, 0.06390265375375748, 0.19041134417057037, -0.48924243450164795, 0.4555186629295349, 0.458786278963089, -0.49879714846611023, -1.3524391651153564, 0.2154029905796051, -0.9621577262878418, -0.506603479385376, 0.871592104434967, 0.0628160685300827, -0.07591557502746582, -0.24107715487480164, -0.03563021123409271, 0.41502895951271057, -0.13496600091457367, 1.417275071144104, 0.6823530197143555, -0.3782358765602112, -0.1544354110956192, -0.8373895883560181, 0.3381302058696747, 0.4154350161552429, -0.8731445074081421, 0.007023770362138748, 0.6973023414611816, -0.30713507533073425, 0.527069628238678, 0.7913492918014526, 0.055469680577516556, 0.3185366988182068, 0.37435710430145264, 0.521578848361969, 0.12178520858287811, -0.7926766276359558, -0.37666207551956177, 0.528252363204956, -0.2519755959510803, -0.3640328347682953 ]
http://arxiv.org/abs/2403.12242v2
http://arxiv.org/pdf/2403.12242v2
Reference-based Metrics Disprove Themselves in Question Generation
2024-03-18T20:47:10
2024-06-17T15:33:37
Bang Nguyen, Mengxia Yu, Yun Huang, Meng Jiang
cs.CL
cs.CL, cs.AI, cs.LG
Reference-based metrics such as BLEU and BERTScore are widely used to evaluate question generation (QG). In this study, on QG benchmarks such as SQuAD and HotpotQA, we find that using human-written references cannot guarantee the effectiveness of the reference-based metrics. Most QG benchmarks have only one reference; we replicated the annotation process and collect another reference. A good metric was expected to grade a human-validated question no worse than generated questions. However, the results of reference-based metrics on our newly collected reference disproved the metrics themselves. We propose a reference-free metric consisted of multi-dimensional criteria such as naturalness, answerability, and complexity, utilizing large language models. These criteria are not constrained to the syntactic or semantic of a single reference question, and the metric does not require a diverse set of references. Experiments reveal that our metric accurately distinguishes between high-quality questions and flawed ones, and achieves state-of-the-art alignment with human judgment.
[ -0.7640641331672668, -0.7038774490356445, 0.6114400625228882, 0.051762957125902176, -0.18418103456497192, 0.008145230822265148, 0.007760521024465561, -0.4468744695186615, -0.0970098227262497, 0.3512665927410126, -0.6130917072296143, -0.1775510013103485, -0.08459997177124023, 0.3017822504043579, -0.26549032330513, 1.2555569410324097, 0.1091562807559967, -0.05381988734006882, -0.7819520235061646, -0.5611968040466309, -0.232160285115242, -0.6109676957130432, -0.44362780451774597, -0.3377936780452728, 0.6946173310279846, 0.6432719826698303, 0.8419539928436279, 0.2764280140399933, 0.7663368582725525, 0.19662688672542572, 0.014797576703131199, 0.6250757575035095, -0.24331727623939514, 0.07785067707300186, -0.17550179362297058, -0.5229226350784302, -0.28843408823013306, 0.27700555324554443, 0.6280997395515442, 0.6517209410667419, -0.04015347734093666, 0.6590052843093872, -0.13710486888885498, 0.626207172870636, -0.714592456817627, -0.24454890191555023, -0.8095550537109375, -0.17438647150993347, -0.033599212765693665, -0.002795666689053178, -0.15864233672618866, -0.903687596321106, -0.015566954389214516, -0.6059070229530334, 0.9549004435539246, 0.06866717338562012, 1.1741280555725098, 0.390411913394928, -0.3671118915081024, -0.3627045154571533, -0.8362399935722351, 0.5867053270339966, -0.5574634671211243, 0.30597612261772156, 0.45600977540016174, 0.6125960350036621, -0.1255478411912918, -0.5391713976860046, -0.7906578183174133, -0.13167287409305573, -0.09100397676229477, 0.287488728761673, -0.09907685965299606, -0.4523422420024872, 0.4686528146266937, 0.0722106397151947, -0.6321730613708496, -0.2810513377189636, -0.5409188866615295, -0.12531721591949463, 0.6855344176292419, 0.16077394783496857, -0.08567942678928375, -0.39469778537750244, -0.5383675694465637, -0.07650024443864822, -0.8499012589454651, -0.08244676887989044, 0.28248652815818787, 0.041482362896203995, 0.3813437819480896, 0.1794975996017456, -0.34996935725212097, 0.34688788652420044, 0.34245163202285767, 0.15511249005794525, 0.20157259702682495, -0.6757112145423889, 0.12832465767860413, -0.3071844279766083, 0.945094108581543, 0.4495174288749695, 0.4098530113697052, -0.432090699672699, 0.3099968433380127, -0.08012265712022781, 0.37606191635131836, -0.7476211786270142, -0.17540833353996277, 0.3304826021194458, 0.09359648078680038, -0.08475594222545624, 0.2918877601623535, -0.5335659980773926, -0.251174658536911, 0.23108775913715363, 0.20865179598331451, -0.19130827486515045, -0.27443569898605347, -0.35505563020706177, -0.31234070658683777, 0.2857777774333954, 0.35328787565231323, -0.42135483026504517, -0.2188565731048584, 0.3077968657016754, 0.43239134550094604, -0.02058161422610283, -0.3190557062625885, -0.32138317823410034, 0.25930655002593994, -0.364084392786026, 1.2319220304489136, -0.17145884037017822, -0.4498753249645233, -0.06130311265587807, -0.1512862592935562, 0.1418989896774292, -0.9699720144271851, 0.698671281337738, -0.4120669662952423, 0.44571518898010254, -0.7637055516242981, -0.518090546131134, -0.10164599120616913, 0.5197527408599854, -0.4190242290496826, 1.0886547565460205, 0.012049035169184208, -0.6336395740509033, 0.7734299898147583, -0.2508724629878998, 0.05430630221962929, 0.40465047955513, -0.2483891397714615, -0.4938039183616638, 0.024815820157527924, 0.15982414782047272, 0.2896910607814789, -0.8337754011154175, 0.16676677763462067, -0.25129595398902893, -0.21061819791793823, 0.4159085750579834, -0.11270596832036972, 0.42211106419563293, 0.2645086646080017, -0.037935130298137665, -0.20549094676971436, -0.7589896321296692, 0.6570885181427002, 0.06696697324514389, -0.19924677908420563, -0.3215789794921875, 0.0906728059053421, -0.4034605026245117, 0.3068092167377472, 0.1062345877289772, -0.6305621862411499, -0.2887449264526367, 0.19612061977386475, 0.14352500438690186, 0.19860059022903442, 0.3266700506210327, 0.0005862846155650914, -0.6768823862075806, 0.4091598391532898, 0.22702187299728394, -0.12428406625986099, 0.13312585651874542, -0.5762509703636169, -0.6974013447761536, 0.20765182375907898, 0.24111886322498322, 0.4788976311683655, -0.7095485329627991, 0.2402544468641281, -0.0978323295712471, -0.9951164722442627, -0.6715850234031677, 0.2804756462574005, 0.5042965412139893, 0.7613791823387146, 0.5311486721038818, -0.16344040632247925, -0.29262974858283997, -0.988332211971283, -0.12837162613868713, -0.8378234505653381, -0.12393155694007874, 0.4979771077632904, 0.2752041220664978, 0.4012176990509033, 1.0627188682556152, -0.6272607445716858, 0.20805439352989197, 0.03701198473572731, 0.45754146575927734, -0.01151464693248272, 0.49629849195480347, 0.6674333214759827, -0.746442973613739, -0.3131920397281647, -0.4442446231842041, -0.8220570087432861, -0.43563568592071533, -0.13050326704978943, -0.32693058252334595, -0.2639800012111664, 0.4638358950614929, -0.5195815563201904, -0.00825183279812336, 0.16833524405956268, -0.2968560755252838, 0.8285408020019531, -0.09871121495962143, 0.35733237862586975, -1.0334314107894897, 0.27712172269821167, 0.12535735964775085, -0.03482261300086975, -0.4582493305206299, 0.3226490318775177, 0.32130441069602966, -0.006133677437901497, -0.39668792486190796, 0.6527349352836609, -0.16053317487239838, 0.3253273665904999, -0.1240227073431015, 0.47436079382896423, 0.2714676558971405, 0.30992621183395386, -0.17197224497795105, 0.7681021094322205, -0.1451907902956009, -0.6420953869819641, 0.4533308744430542, 0.5671992897987366, -0.23882372677326202, 0.9606795907020569, -0.9089804887771606, 0.5579330921173096, -0.3367340862751007, 0.19740138947963715, -1.219117283821106, 0.007216504774987698, 0.09070795774459839, -0.732193112373352, -0.3562057614326477, -0.10265962779521942, -0.6203579306602478, -0.5095537304878235, -0.09561920166015625, 0.5996955633163452, 0.5098087787628174, -0.34370070695877075, -0.3397972881793976, -0.03295772895216942, -0.09321499615907669, -0.4590739905834198, -0.5499441623687744, -0.3663020730018616, -0.10608185827732086, -0.48054373264312744, 0.023901714012026787, -0.48976075649261475, -0.19975490868091583, 0.0037794511299580336, -0.052470605820417404, -0.481609046459198, -0.08594212681055069, 0.22262603044509888, 0.2595265209674835, -0.4186438024044037, 0.33932849764823914, -0.29565632343292236, 0.15980744361877441, 0.2299850434064865, 0.11683535575866699, 0.06377959996461868, 0.10624050348997116, -0.3245014548301697, -0.0831315740942955, 0.3839546740055084, 0.8275847434997559, -0.454936146736145, 0.37135833501815796, 0.5345067977905273, -0.14830927550792694, -0.12618838250637054, -0.9217319488525391, -0.02654053270816803, -0.4074726402759552, 0.24832366406917572, -0.16846515238285065, -0.6352823376655579, 0.5544745326042175, 0.08983547985553741, 0.2938840687274933, 0.4196622371673584, 0.46599167585372925, -0.2814899682998657, 0.8738623261451721, -0.13231615722179413, 0.22777752578258514, 0.1808713674545288, -0.0031096721068024635, -0.14334388077259064, -0.8065420389175415, -0.16594187915325165, -0.9296532273292542, -0.35345885157585144, -0.5274717807769775, -0.42501646280288696, 0.48416927456855774, 0.4034614861011505, -0.39328664541244507, 0.2520526051521301, -0.4349208474159241, 0.38555410504341125, 0.6247621178627014, -0.04305456578731537, 0.20496900379657745, -0.2789676785469055, -0.24011249840259552, -0.07702556997537613, -0.7154488563537598, -0.5251902937889099, 1.0602703094482422, 0.016740132123231888, 0.3494824469089508, 0.04547172784805298, 0.6513254642486572, 0.0002924242289736867, 0.47599950432777405, -0.4510215222835541, 0.6374942064285278, 0.18643710017204285, -1.2261757850646973, -0.34831538796424866, -0.7252722978591919, -0.7891491651535034, 0.4951871633529663, -0.3659847676753998, -0.39972054958343506, 0.2079026997089386, 0.19088301062583923, -0.6346902847290039, 0.2744239866733551, -0.8009949922561646, 0.5723873972892761, -0.1052192971110344, -0.6433984041213989, 0.03539641946554184, -0.2599849998950958, 0.3721475601196289, -0.10138679295778275, 0.05802128463983536, -0.473861962556839, 0.28771519660949707, 0.7600358724594116, -0.42330870032310486, 0.3736273944377899, -0.26281315088272095, 0.07480130344629288, 0.8860621452331543, 0.008120628073811531, 0.07906713336706161, 0.30398890376091003, -0.2198776751756668, -0.04277390241622925, 0.306018590927124, -0.6279264688491821, -0.752691924571991, 0.42833268642425537, -0.7221498489379883, -0.6433050036430359, -0.28953784704208374, -0.6393662095069885, -0.5570056438446045, 0.07502051442861557, 0.292984277009964, 0.216398224234581, -0.3410404324531555, 0.13158786296844482, 0.18927797675132751, -0.13314226269721985, 0.16581138968467712, 0.7032696604728699, 0.14334821701049805, -0.5726941823959351, 0.5739030241966248, 0.07677194476127625, 0.35893505811691284, 0.020072396844625473, 0.17640900611877441, -0.30008161067962646, -0.38424837589263916, -0.7373752593994141, 0.42280879616737366, -0.3221762776374817, -0.40487176179885864, -0.11312954127788544, -0.270470529794693, -0.35200124979019165, 0.18169376254081726, -0.2511274218559265, -0.4878944456577301, 0.22740618884563446, -0.04344946891069412, 0.12260325998067856, 0.4800776243209839, 0.030182577669620514, 0.011182410642504692, -0.9832125902175903, 0.28905653953552246, 0.6534950137138367, -0.0014551305212080479, 0.009204152040183544, -0.2769384980201721, -0.29922717809677124, 0.27625852823257446, -0.6405249834060669, -0.8326663970947266, -0.21060937643051147, 0.04544759541749954, 0.4614419937133789, 0.36464136838912964, 0.2813572287559509, 0.6237214803695679, -0.4605275094509125, 0.9644841551780701, 0.2196565568447113, -0.5365946888923645, 0.5321370959281921, -0.41050153970718384, 0.6033362150192261, 0.8610852956771851, 0.2829589247703552, -0.5025566220283508, -0.743405818939209, -0.7076827883720398, -0.5313540697097778, 0.29882609844207764, 0.29354536533355713, -0.015154777094721794, -0.2966318130493164, 0.7911928296089172, 0.09011603146791458, 0.29516690969467163, -0.3522396385669708, -0.2512125074863434, -0.1693667769432068, 0.16069094836711884, -0.0018205243395641446, -0.15092650055885315, -0.0649004727602005, -0.2759917676448822, 0.38123443722724915, -0.12115011364221573, 0.1662474274635315, 0.462741494178772, 0.15017089247703552, -0.4610636234283447, 0.4537566304206848, 0.5261027812957764, 0.7574693560600281, -0.4539543688297272, 0.021428313106298447, 0.26016682386398315, -0.3989979028701782, 0.39998528361320496, -0.12201715260744095, -0.5831676721572876, 0.17570990324020386, 0.23635245859622955, 0.32007765769958496, -0.11371151357889175, -0.40944212675094604, 0.11677968502044678, 0.08377756178379059, -0.5937056541442871, -0.3018331229686737, 0.23621432483196259, -0.03629125654697418, 0.02662699669599533, 0.4153405427932739, -0.2033519297838211, -0.3592689037322998, -0.48918861150741577, 0.30519866943359375, 0.4871358275413513, -0.5768430829048157, -0.3792269825935364, 0.865728497505188, 0.2882879674434662, -0.17853659391403198, 0.622434675693512, -0.35042718052864075, -0.28593170642852783, 0.6902139782905579, 0.3412576913833618, 0.7455891370773315, -0.1486843377351761, 0.5815175771713257, 0.7840932011604309, 0.2440728098154068, 0.09179557114839554, 0.418521910905838, -0.010859382338821888, -1.1518266201019287, -0.0461244210600853, -0.2952367663383484, -0.6764792799949646, 0.3124328553676605, -0.7995895147323608, -0.14317096769809723, -0.6423406004905701, -0.4039269685745239, 0.189025416970253, 0.17446887493133545, -0.8095669746398926, 0.5448378324508667, -0.14693152904510498, 0.6861308813095093, -0.5815945863723755, 0.5390009880065918, 1.2125627994537354, -0.8473034501075745, -0.6900613307952881, 0.25076186656951904, -0.16563104093074799, -0.5940287709236145, 0.5848572850227356, -0.21553988754749298, 0.025547487661242485, -0.09949985146522522, -0.5707086324691772, -0.6602353453636169, 0.9726268649101257, 0.15446177124977112, -0.02153679169714451, -0.25349652767181396, 0.2885148525238037, 0.562923789024353, 0.02213357388973236, 0.41114118695259094, 0.42070022225379944, 0.4345584213733673, 0.30261367559432983, -1.0004923343658447, 0.13741636276245117, -0.35962629318237305, -0.437569260597229, 0.37742647528648376, -1.0929418802261353, 0.6356364488601685, -0.37461957335472107, -0.1726011037826538, 0.19854167103767395, 0.5630790591239929, 0.44481998682022095, 0.47266319394111633, 0.5453882217407227, 0.5036467909812927, 0.8019797801971436, -0.18351241946220398, 0.6549920439720154, -0.17212146520614624, 0.27866673469543457, 0.9588272571563721, -0.4168459475040436, 0.8186773657798767, 0.4741678237915039, -0.1993497908115387, 0.6159836053848267, 0.21561367809772491, -0.2568073868751526, 0.3414463400840759, 0.3386928141117096, -0.12555593252182007, -0.4114615023136139, -0.17352241277694702, -0.40162238478660583, 0.4905503988265991, 0.08259853720664978, -0.04097561910748482, -0.4732460677623749, -0.6067861318588257, -0.05070047453045845, 0.28728383779525757, 0.025990398600697517, 0.7621000409126282, -0.10334817320108414, -1.0272711515426636, 0.8205876350402832, -0.2301635891199112, 0.2231544554233551, -0.607444703578949, 0.01841217651963234, -0.5706647634506226, 0.14313526451587677, -0.11434954404830933, -0.5237717032432556, 0.10894820094108582, 0.2031497061252594, -0.34163135290145874, 0.0488421730697155, 0.30366620421409607, -0.3747314214706421, -0.5362954139709473, -0.2753766179084778, 1.2521764039993286, 0.26183679699897766, 0.01777939684689045, -0.5428715944290161, -0.8150387406349182, -0.008228247053921223, 0.08258038014173508, 0.13269226253032684, 0.6231346130371094, 0.04178129881620407, 0.6350425481796265, 0.45180654525756836, 0.23611710965633392, -0.08576276898384094, -0.1501229852437973, 0.42988261580467224, -0.7525317072868347, -0.3364672362804413, -0.42355701327323914, 0.4625011682510376, -0.2075750231742859, -0.7516454458236694, 0.7898866534233093, 0.5015490055084229, 0.8520733714103699, 0.23346713185310364, 0.9814286828041077, 0.07974272966384888, 0.8584908246994019, -0.13830941915512085, 0.7504995465278625, -0.5502496361732483, -0.1099172830581665, -0.5961521863937378, -0.9887169003486633, -0.04977847635746002, 0.3456052541732788, -0.13041149079799652, 0.20531350374221802, 0.8782092332839966, 0.7421217560768127, 0.0633234903216362, -0.033004436641931534, 0.3019166588783264, -0.2624024450778961, 0.31533709168434143, 0.7065128684043884, 1.0743682384490967, -0.546472430229187, 1.021857738494873, -0.12270068377256393, -0.025766538456082344, 0.0677938312292099, -0.6182016134262085, -0.9445736408233643, -0.6218693256378174, -0.5779098272323608, -0.4205876588821411, -0.09801743924617767, 0.634537935256958, 0.6068004369735718, -0.9350968599319458, -0.17137283086776733, 0.1492580622434616, 0.11459589004516602, -0.21686005592346191, -0.18714262545108795, 0.265931099653244, -0.309421181678772, -0.5981151461601257, 0.08975622802972794, -0.2579537630081177, 0.10169225186109543, -0.2827032208442688, 0.12633326649665833, -0.18239134550094604, 0.2990628480911255, 0.24115930497646332, 0.47976425290107727, -0.5816681385040283, -0.8150469660758972, 0.19023750722408295, -0.3496644198894501, -0.03915823996067047, 0.8627848029136658, -0.8337525725364685, 0.2539001703262329, 0.5284761190414429, 0.43840324878692627, 0.18917959928512573, 0.5703168511390686, 0.672603189945221, -0.9508529305458069, 0.008240658789873123, 0.19806678593158722, 0.06589838862419128, 0.30412983894348145, -0.0707731619477272, 0.5282545685768127, 0.4315999448299408, -0.6667332649230957, -0.6711471676826477, 0.38447463512420654, -0.4876062572002411, -0.04073917120695114, 1.0353597402572632, -0.11272181570529938, 0.18790623545646667, -0.011807470582425594, -0.08201712369918823, 0.14530810713768005, -0.23630395531654358, 1.078365445137024, 1.0238957405090332, -0.3284435272216797, 0.022890545427799225, -0.5045698881149292, 0.49446699023246765, 0.710973858833313, -0.7907835245132446, 0.1092626303434372, 0.7454882264137268, 0.24291890859603882, 0.5775110721588135, 0.3975571393966675, -0.14548440277576447, 0.6702736020088196, 0.0372282937169075, 0.0966378003358841, -0.18683651089668274, 0.008124993182718754, 0.40393975377082825, 0.5828156471252441, 0.2790229320526123, -0.36644071340560913 ]
http://arxiv.org/abs/2403.15453v1
http://arxiv.org/pdf/2403.15453v1
Span-Oriented Information Extraction -- A Unifying Perspective on Information Extraction
2024-03-18T20:10:44
2024-03-18T20:10:44
Yifan Ding, Michael Yankoski, Tim Weninger
cs.CL
cs.CL, cs.AI, cs.IR
Information Extraction refers to a collection of tasks within Natural Language Processing (NLP) that identifies sub-sequences within text and their labels. These tasks have been used for many years to link extract relevant information and to link free text to structured data. However, the heterogeneity among information extraction tasks impedes progress in this area. We therefore offer a unifying perspective centered on what we define to be spans in text. We then re-orient these seemingly incongruous tasks into this unified perspective and then re-present the wide assortment of information extraction tasks as variants of the same basic Span-Oriented Information Extraction task.
[ -0.3674663305282593, -0.8031458258628845, 0.06535843759775162, 0.678496778011322, -0.2938384413719177, 0.21401184797286987, 0.020629223436117172, -0.937603235244751, 0.45397499203681946, 0.5081166625022888, -0.6469671726226807, -0.15916074812412262, -0.7010588049888611, 0.26021212339401245, -0.6581713557243347, 1.4351617097854614, 0.02301626093685627, -0.43613189458847046, 0.005057880189269781, 0.13815023005008698, -0.5011717081069946, -0.25309160351753235, -0.45566532015800476, -0.4133722186088562, 0.4472365379333496, 0.29760992527008057, 0.49552690982818604, 0.9552380442619324, 0.6098746657371521, 0.21416786313056946, 0.03539465740323067, -0.040459804236888885, -0.10074157267808914, 0.3244445323944092, -0.37237459421157837, -0.44099172949790955, -0.10515599697828293, 0.2652856707572937, 0.8196765184402466, 1.0576109886169434, 0.12605959177017212, 0.28431105613708496, 0.17430488765239716, 1.0244890451431274, -0.7123609185218811, 0.10556713491678238, -0.5874993205070496, 0.3868483304977417, -0.4276393949985504, -0.4388843774795532, -0.3245970606803894, -0.3974006772041321, 0.5247431993484497, -0.6549916863441467, 0.2387610822916031, -0.08744439482688904, 0.9372237324714661, 0.2002786248922348, -0.27691933512687683, -0.2553671598434448, -0.8766923546791077, 0.8216307759284973, -0.421265572309494, 0.15602581202983856, 0.15686383843421936, 0.059174153953790665, 0.05909323692321777, -0.7511597871780396, -0.21291612088680267, 0.5182890295982361, -0.1336764544248581, 0.20742230117321014, -0.4970201253890991, -0.05038122832775116, 0.1815222054719925, 0.5309064388275146, -0.21333742141723633, 0.17732535302639008, -0.5249298214912415, 0.03900270164012909, 0.7122650146484375, -0.11195029318332672, 0.5661529302597046, -0.38535746932029724, -0.6821863651275635, 0.30682677030563354, -0.6690973043441772, 0.21720346808433533, 0.29270702600479126, 0.5311972498893738, 0.07328290492296219, 0.862105131149292, -0.21731990575790405, 0.7991319298744202, 0.2897070348262787, -0.0388205386698246, 0.1298796683549881, -0.21121197938919067, -0.4896116852760315, 0.171486034989357, 0.5711745619773865, 0.13845404982566833, 0.3271293342113495, -0.547982931137085, -0.001634883345104754, -0.15805011987686157, 0.471057265996933, -0.28719449043273926, -0.1096915528178215, 0.14966803789138794, -0.685563862323761, -0.28969037532806396, 0.6857093572616577, -1.1113057136535645, -0.20863504707813263, -0.42474010586738586, 0.1263166069984436, -0.40956437587738037, -0.2979086637496948, -0.11890774220228195, -0.5138881206512451, 0.3041682243347168, 0.14237265288829803, -0.9718821048736572, 0.2836766839027405, 0.6568282842636108, 0.719726026058197, -0.8002462387084961, -0.31999000906944275, -0.4707081615924835, 0.25637635588645935, 0.0879596620798111, 0.8573635220527649, -0.7394658327102661, -0.20811495184898376, -0.05660960450768471, 0.13883988559246063, -0.4188126027584076, -0.5876102447509766, 0.42886367440223694, -0.5688908696174622, 0.4321443736553192, -0.11591264605522156, -0.8044383525848389, -0.24426484107971191, 0.13739094138145447, -1.0721853971481323, 1.4151606559753418, 0.15759924054145813, -1.1027872562408447, 0.40838101506233215, -0.8509666919708252, -0.44966092705726624, 0.12888510525226593, -0.16785863041877747, 0.04359978064894676, 0.2751913368701935, 0.03940427303314209, 0.3153199553489685, -0.22316214442253113, 0.13264617323875427, 0.2548710107803345, -0.062199003994464874, 0.010350169613957405, -0.1722596138715744, 0.9105362296104431, 0.11649734526872635, -0.26187679171562195, 0.05110577121376991, -0.8130402565002441, 0.1286839097738266, 0.001257949392311275, -0.8580225110054016, -0.7829087376594543, 0.14490686357021332, 0.09967824071645737, 0.3017256557941437, 0.4106045961380005, -0.5729721188545227, 0.5555866956710815, -0.5879371166229248, -0.08485923707485199, 0.5284357666969299, 0.13748091459274292, 0.6223082542419434, -0.15083418786525726, 0.5520958304405212, -0.13108602166175842, -0.07777638733386993, -0.0513203889131546, -0.5264588594436646, -0.4693506062030792, -0.4642365276813507, 0.25324633717536926, 0.829763650894165, -0.5439894199371338, 0.5403916239738464, -0.10462542623281479, -0.24085503816604614, -0.4617024064064026, 0.11539329588413239, 0.3046874403953552, 0.5840159058570862, 0.4861781895160675, -0.5228153467178345, -1.0291720628738403, -0.7715762257575989, -0.7236011028289795, 0.11669814586639404, 0.04665873572230339, -0.5091555714607239, 0.2866721749305725, -0.06873761862516403, 1.3568116426467896, -0.3332269489765167, -0.1609615683555603, -0.5775198340415955, 0.7045609354972839, 0.37201058864593506, 0.381032794713974, 0.23821020126342773, -1.2609792947769165, -0.49425533413887024, 0.048797301948070526, -0.9137085676193237, -0.3854929208755493, -0.08136391639709473, 0.08327624201774597, -0.034055195748806, 0.6184124946594238, -0.3247426152229309, 0.6095137000083923, 0.16894911229610443, -0.29450148344039917, 0.5524414777755737, 0.051096536219120026, -0.17730757594108582, -0.9646046757698059, 0.11971022188663483, 0.1972016543149948, 0.08860966563224792, -0.8135129809379578, -0.015745989978313446, -0.16908137500286102, 0.4660910367965698, -0.10161375999450684, 0.2601209282875061, -0.6642869114875793, -0.43333789706230164, -0.3706448972225189, 0.0920894667506218, 0.19669753313064575, 0.2584713101387024, 0.14351077377796173, 0.28652265667915344, 0.24802428483963013, -0.5548970103263855, 0.38255026936531067, 0.08063050359487534, -0.17763751745224, 0.6235866546630859, -0.3317340314388275, -0.1039065420627594, -0.4729110300540924, -0.121644988656044, -0.8131565451622009, -0.24581500887870789, 0.017764417454600334, -0.1485850065946579, 0.2931011915206909, 0.18135878443717957, -0.3461899757385254, -0.16883474588394165, -0.44102826714515686, 0.2993094027042389, -0.04920528829097748, -0.4602043330669403, 0.34213489294052124, 0.6797195076942444, -0.4442140758037567, -0.8920364379882812, -0.5824094414710999, -0.18433795869350433, -0.44382578134536743, -0.26388269662857056, 0.5180675983428955, 0.4620218276977539, -0.6289581656455994, 0.26673218607902527, -0.5720791220664978, -0.46763044595718384, 0.23645538091659546, 0.33529746532440186, 0.4549623131752014, -0.2351791262626648, 0.3433547019958496, 0.09670330584049225, -0.09096623957157135, -0.047385938465595245, -0.3023131191730499, 0.485265851020813, 0.08978483080863953, -0.2284882813692093, -0.4617795944213867, 1.1007320880889893, 0.09747021645307541, -0.24881471693515778, 0.4343576729297638, 0.3854414224624634, -0.6270844340324402, 0.05216454714536667, -0.33020031452178955, 0.22068563103675842, -0.3341276943683624, 0.46032920479774475, -0.2700658142566681, -0.839597225189209, 0.2337607592344284, -0.24421736598014832, 0.3832998275756836, 1.060555100440979, 0.1416729837656021, -0.40358683466911316, 0.60404372215271, 1.3268650770187378, -0.494594931602478, 0.5955372452735901, 0.1602625995874405, 0.06800446659326553, -0.7781021595001221, -0.5335173010826111, -0.7891664505004883, -0.39059463143348694, -0.24046339094638824, 0.09467791020870209, 0.03239653259515762, 0.5830928087234497, -0.01626347191631794, 0.5863977670669556, -0.614108145236969, 0.4948948621749878, 0.5667480826377869, -0.27112749218940735, 0.6256977915763855, 0.09462185949087143, 0.2426423281431198, -0.20768338441848755, -0.3298269510269165, -0.5384191274642944, 1.0225492715835571, 0.09311752021312714, 0.6739888191223145, 0.018585797399282455, 0.7618800401687622, 0.4908892810344696, 0.3266613781452179, -0.7815520167350769, 0.2217307686805725, -0.1643553078174591, -0.5034663677215576, -0.37209710478782654, -0.1628432422876358, -1.2785241603851318, 0.2405586540699005, -0.3537830412387848, -1.440881609916687, 0.16801011562347412, -0.26483556628227234, -0.050135985016822815, 0.34203147888183594, -0.6364849209785461, 0.7756965160369873, -0.02977912873029709, 0.22454367578029633, 0.18933075666427612, -1.0966171026229858, 0.2438332736492157, -0.2033427655696869, 0.28268373012542725, -0.03931344300508499, 0.1173875629901886, 0.9655570983886719, -0.026169799268245697, 0.7804361581802368, 0.01122117880731821, -0.052110400050878525, 0.22486424446105957, -0.18612144887447357, 0.2977573573589325, -0.506320595741272, -0.0025673401542007923, -0.1614893078804016, 0.19440412521362305, -0.18349908292293549, -0.36841046810150146, 0.025763338431715965, -0.479672908782959, -0.21235254406929016, -0.4086591601371765, -0.8127672672271729, -0.25504910945892334, 0.3513106107711792, 0.4536731541156769, 0.0353025458753109, -0.3982023000717163, -0.011769505217671394, 0.548923134803772, 0.02364567667245865, 0.7795117497444153, -0.04611101746559143, -0.2571859657764435, 0.16367152333259583, 0.5309208631515503, -0.030666589736938477, 0.2738224267959595, 1.0321768522262573, -0.026157451793551445, -0.36585208773612976, -0.22294528782367706, -0.04392845556139946, -0.10026497393846512, -0.7415525913238525, -0.05778367072343826, -0.5914334058761597, -0.42162349820137024, -0.1849682778120041, 0.030121445655822754, -0.27239224314689636, -0.7048273682594299, -0.24108467996120453, -0.1612320989370346, 0.07942603528499603, 0.9072069525718689, -0.1460803896188736, 0.46491923928260803, -0.8381139636039734, 0.47434765100479126, 0.37846076488494873, -0.1275688260793686, -0.41444340348243713, -0.050732482224702835, -0.2759194076061249, -0.3154066205024719, -0.2695236802101135, -1.2754154205322266, 0.4085734188556671, 0.1671018749475479, 0.7290455102920532, 0.43506374955177307, -0.24699871242046356, 0.594502329826355, -0.22830449044704437, 0.6200295686721802, 0.4011034667491913, -0.8870459198951721, 0.6254199743270874, -0.1030752956867218, 0.08729731291532516, 0.6669629812240601, 0.5258685350418091, -0.6003801226615906, -0.2668927013874054, -0.73354172706604, -1.1416666507720947, 0.6598883867263794, -0.10767044126987457, -0.34302276372909546, 0.07297442108392715, 0.25370949506759644, 0.374688982963562, 0.4195851683616638, -0.8764592409133911, -0.23929479718208313, -0.17806902527809143, -0.2240801602602005, 0.30039867758750916, -0.24588070809841156, -0.16957491636276245, -0.13387973606586456, 0.3387185335159302, 0.01626310497522354, 0.3043719530105591, 0.3629330098628998, -0.33333295583724976, -0.08732612431049347, 0.6161497831344604, 0.000746116042137146, 0.5994225740432739, -0.14092300832271576, 0.4159582555294037, -0.2767012417316437, -0.674541175365448, -0.17178918421268463, 0.40920111536979675, -0.10490214824676514, 0.1756390929222107, 0.59303879737854, 0.4645681381225586, 0.0039148349314928055, -0.47104018926620483, 0.4813976287841797, 0.3945311903953552, 0.1713462769985199, -0.058257102966308594, -0.1853899508714676, -0.27027350664138794, 0.37311455607414246, 0.8606064915657043, -0.038983121514320374, 0.37420418858528137, -0.7103237509727478, 0.448727548122406, 0.41604354977607727, -0.5091174244880676, -0.38019290566444397, 0.3654046952724457, -0.12772226333618164, -0.18214963376522064, 0.5300952792167664, 0.21440750360488892, -0.21503125131130219, 0.6820667386054993, 0.7170025706291199, 0.970470130443573, -0.24333561956882477, 0.33377406001091003, 0.11682362109422684, 0.3476375639438629, -0.1943221390247345, 0.1411280632019043, -0.1332532912492752, -0.7542182207107544, -0.6270284652709961, -0.5434749722480774, -0.1880776733160019, -0.015074465423822403, -1.086984634399414, -0.1273462474346161, -0.14613178372383118, 0.22803717851638794, 0.47655975818634033, -0.07718965411186218, -0.3664805591106415, 0.41050708293914795, -0.0161795224994421, 0.930976152420044, -0.9732238054275513, 0.8175427913665771, 0.6846964955329895, -0.4015082120895386, -0.8474202752113342, 0.11097243428230286, 0.19128698110580444, -0.5797127485275269, 0.8154647946357727, 0.30563539266586304, 0.00864778645336628, -0.2587902843952179, -0.6393563747406006, -0.7411326169967651, 0.946618378162384, 0.06706266105175018, -0.10004939138889313, -0.6018959283828735, 0.18289609253406525, 0.3560539782047272, -0.541750431060791, -0.2131560742855072, 0.7163774371147156, 0.6012488007545471, -0.2283008098602295, -0.909485936164856, 0.02942502126097679, -0.5289803147315979, -0.19964782893657684, 0.45107126235961914, 0.07813246548175812, 1.1070783138275146, 0.15873001515865326, -0.4268075227737427, -0.09634443372488022, 0.5458532571792603, -0.16854166984558105, 0.15003782510757446, 0.5309109687805176, 0.39220497012138367, 0.9035800099372864, -0.24776498973369598, 0.9395880103111267, 0.3253282904624939, 0.3566455841064453, 1.2484211921691895, 0.013150293380022049, 0.5480600595474243, 1.0433977842330933, -0.13544532656669617, 0.6246864795684814, 0.49070093035697937, 0.030275749042630196, 0.6258864402770996, -0.004960251972079277, -0.253397673368454, 0.11149495095014572, -0.1301543116569519, -0.30672138929367065, 0.5875986218452454, 0.34821638464927673, -0.48954465985298157, -0.6649260520935059, -0.3135117292404175, -0.014196351170539856, -0.007239659782499075, -0.45531517267227173, 0.9126134514808655, -0.12598110735416412, -0.7692219614982605, -0.10687122493982315, 0.09035419672727585, 0.5693385601043701, -0.5867055058479309, -0.21476483345031738, 0.15209536254405975, -0.22369170188903809, -0.6643676161766052, -0.831517219543457, 0.9108626246452332, 0.11437531560659409, -0.563630223274231, -0.339546799659729, 1.0124940872192383, -0.2798415422439575, 0.03323974087834358, 0.23329083621501923, 0.8629123568534851, 0.26280996203422546, -0.3953796625137329, -0.48226988315582275, -0.29892393946647644, 0.24757766723632812, -0.3901529312133789, 0.2513934373855591, 0.6641438603401184, -0.230573832988739, 0.16894301772117615, 0.4314182698726654, 0.1376846432685852, 0.5113531947135925, -0.24160821735858917, 0.7179023027420044, -1.0606615543365479, -0.32088783383369446, -0.982122540473938, 0.6328550577163696, -0.4439227879047394, -0.4323166310787201, 0.7698042988777161, 0.7077279686927795, 0.5722759962081909, -0.013477299362421036, 1.105867862701416, -0.5588114261627197, 0.5620701313018799, -0.3555096387863159, 0.12482278794050217, -0.3583526015281677, 0.10690422356128693, -0.7704164981842041, -0.9018692374229431, -0.432419091463089, 0.5375677347183228, -0.176058828830719, -0.5560605525970459, 0.7548170685768127, -0.04438379034399986, -0.08823775500059128, 0.4612622857093811, -0.27413809299468994, -0.22238677740097046, -0.12315383553504944, 0.5176699161529541, 0.8772009611129761, -0.09605702757835388, 0.4011469781398773, -0.07404739409685135, -0.372569739818573, 0.02095828764140606, -0.8053090572357178, -0.4330640435218811, -0.7163485288619995, -0.20985470712184906, -0.10430208593606949, -0.307259202003479, 0.7707027792930603, 0.46845197677612305, -0.587091863155365, -0.16850773990154266, -0.4307328164577484, 0.40632832050323486, -0.5910493731498718, -0.41180288791656494, 0.41629883646965027, -0.4322889447212219, -0.8048508167266846, 0.4448237419128418, 0.7273493409156799, -0.11952818930149078, 0.04947829619050026, 0.564581036567688, -0.7267853617668152, -0.16935692727565765, 0.46397337317466736, 0.9075307846069336, -0.34036222100257874, -0.43265393376350403, -0.08713611960411072, -0.1487864851951599, 0.5175259709358215, 0.7729570865631104, -0.475314199924469, 0.3963077962398529, 0.4586750566959381, 0.9479097723960876, 0.5626266598701477, 0.25256192684173584, 0.4707592725753784, -1.227997064590454, 0.22124043107032776, 0.16975468397140503, 0.1969720423221588, 0.144697904586792, -0.1979905217885971, 0.761408269405365, 0.3197888135910034, -0.16609367728233337, -0.5387098789215088, 0.6467865705490112, -1.3752374649047852, -0.25364378094673157, 0.9576314091682434, -0.23564547300338745, -0.06618156284093857, -0.46945810317993164, -0.20193512737751007, 0.5314514636993408, -0.01111648604273796, 0.6698895692825317, 0.7321589589118958, -0.5121604204177856, -0.01757844351232052, -0.3993957042694092, 0.3647497892379761, 0.120859794318676, -1.3588652610778809, -0.34893113374710083, 0.3264290690422058, 0.2609905004501343, 0.6296587586402893, 0.7737581133842468, -0.48769277334213257, -0.17814531922340393, -0.28466692566871643, 0.3018859028816223, 0.5877342820167542, -0.4469909071922302, -0.1503717601299286, 0.7529816031455994, -0.4083784222602844, -0.4266059398651123 ]
http://arxiv.org/abs/2403.12212v1
http://arxiv.org/pdf/2403.12212v1
Evaluating Named Entity Recognition: Comparative Analysis of Mono- and Multilingual Transformer Models on Brazilian Corporate Earnings Call Transcriptions
2024-03-18T19:53:56
2024-03-18T19:53:56
Ramon Abilio, Guilherme Palermo Coelho, Ana Estela Antunes da Silva
cs.CL
cs.CL, cs.AI, cs.LG, 68T50
Named Entity Recognition (NER) is a Natural Language Processing technique for extracting information from textual documents. However, much of the existing research on NER has been centered around English-language documents, leaving a gap in the availability of datasets tailored to the financial domain in Portuguese. This study addresses the need for NER within the financial domain, focusing on Portuguese-language texts extracted from earnings call transcriptions of Brazilian banks. By curating a comprehensive dataset comprising 384 transcriptions and leveraging weak supervision techniques for annotation, we evaluate the performance of monolingual models trained on Portuguese (BERTimbau and PTT5) and multilingual models (mBERT and mT5). Notably, we introduce a novel approach that reframes the token classification task as a text generation problem, enabling fine-tuning and evaluation of T5 models. Following the fine-tuning of the models, we conduct an evaluation on the test dataset, employing performance and error metrics. Our findings reveal that BERT-based models consistently outperform T5-based models. Furthermore, while the multilingual models exhibit comparable macro F1-scores, BERTimbau demonstrates superior performance over PTT5. A manual analysis of sentences generated by PTT5 and mT5 unveils a degree of similarity ranging from 0.89 to 1.0, between the original and generated sentences. However, critical errors emerge as both models exhibit discrepancies, such as alterations to monetary and percentage values, underscoring the importance of accuracy and consistency in the financial domain. Despite these challenges, PTT5 and mT5 achieve impressive macro F1-scores of 98.52% and 98.85%, respectively, with our proposed approach. Furthermore, our study sheds light on notable disparities in memory and time consumption for inference across the models.
[ -0.13785621523857117, -0.6130592226982117, 0.0696597546339035, 0.4414137899875641, -0.25399014353752136, 0.37883567810058594, -0.29787546396255493, -1.0252368450164795, 0.22587363421916962, 0.4581826627254486, -0.12491949647665024, -0.40953096747398376, -0.7849553227424622, 0.518053412437439, -0.532953143119812, 1.332782506942749, 0.11277954280376434, 0.2504143714904785, 0.0856252983212471, -0.20543234050273895, -0.2851017415523529, -0.5577048063278198, -1.12835693359375, -0.15799973905086517, 0.4511699080467224, -0.11543883383274078, 0.4362521767616272, 0.35283195972442627, 0.7200126647949219, 0.33755525946617126, -0.3058626055717468, 0.05382499843835831, -0.28869983553886414, -0.25793036818504333, 0.014626017771661282, -0.31835463643074036, -0.675308883190155, -0.24101640284061432, 0.6655727624893188, 0.6450636982917786, -0.03156239166855812, 0.319265216588974, 0.13304868340492249, 0.3905624449253082, -0.26485493779182434, 0.7095003724098206, -0.5768197774887085, -0.02603074721992016, -0.18004775047302246, -0.07947973906993866, -0.6179344058036804, -0.5339128375053406, 0.6048742532730103, -0.41690313816070557, 0.3410775661468506, 0.10588044673204422, 1.2203923463821411, 0.05891459807753563, -0.5514132380485535, -0.48733147978782654, -0.7834621667861938, 0.7594923377037048, -0.5522001385688782, 0.670889675617218, 0.05872097983956337, 0.19596897065639496, 0.150002583861351, -0.6159597039222717, -0.2240018993616104, -0.1913144886493683, -0.1578935980796814, 0.02056092396378517, -0.6372172832489014, -0.020556729286909103, 0.23083704710006714, 0.17629565298557281, -0.09580675512552261, 0.1432245373725891, -0.7992192506790161, -0.331508994102478, 0.4682418406009674, -0.22624047100543976, -0.08793888241052628, -0.2825545370578766, -0.60120689868927, -0.24900704622268677, -0.7383260726928711, 0.10389463603496552, 0.7125239372253418, 0.6674935817718506, 0.12324262410402298, 0.33781909942626953, 0.29023176431655884, 0.5908521413803101, 0.06452256441116333, -0.4452264606952667, 0.28118523955345154, -0.2105402946472168, -0.4129861295223236, 0.5076774954795837, 0.5528273582458496, 0.06969919800758362, 0.34945499897003174, -0.4271228015422821, -0.4831930994987488, -0.17704470455646515, 0.3112911581993103, -0.7285218238830566, -0.05485635623335838, 0.03273501619696617, -0.4603102505207062, -0.20761431753635406, 0.2840478718280792, -0.6503047347068787, -0.10196452587842941, -0.40736058354377747, 0.4906441271305084, -0.6316155791282654, -0.08302603662014008, -0.16528110206127167, -0.4488338232040405, 0.4327400028705597, 0.24373093247413635, -0.7183248996734619, 0.3385683596134186, 0.7601975798606873, 0.43253418803215027, 0.002491792431101203, -0.1618359237909317, -0.43657228350639343, 0.19089674949645996, -0.23573744297027588, 0.8844916224479675, -0.3694205582141876, -0.41805559396743774, -0.12662269175052643, -0.10057029873132706, -0.3009355366230011, -0.6539897322654724, 0.6662163138389587, -0.5062125325202942, 0.2810696065425873, -0.10780846327543259, -0.5853961110115051, -0.38157230615615845, 0.24931186437606812, -0.8656610250473022, 1.0173289775848389, 0.06108405813574791, -0.8305292725563049, 0.920371413230896, -0.879736065864563, -0.43522071838378906, 0.04513108730316162, -0.09984108060598373, -0.5290835499763489, -0.014881826005876064, 0.22709201276302338, 0.3689883351325989, -0.4361996650695801, 0.3239140808582306, -0.14007362723350525, -0.1715160459280014, 0.49566492438316345, -0.5935842394828796, 0.43345528841018677, -0.18674610555171967, -0.41059958934783936, -0.00016875125584192574, -0.9665014147758484, -0.09792579710483551, 0.09953653812408447, -0.2767276465892792, -0.5828040838241577, 0.10504469275474548, 0.3381168246269226, -0.035978592932224274, 0.29351314902305603, -0.4355301260948181, 0.01065423060208559, -0.4203954041004181, 0.5621212124824524, 0.7243272066116333, -0.10682384669780731, 0.09414207190275192, -0.09549381583929062, 0.3892068862915039, 0.1958611011505127, 0.07101896405220032, -0.10334581881761551, -0.24263609945774078, -0.777897834777832, -0.37975791096687317, 1.0165764093399048, 0.5597010254859924, -0.4407844543457031, 0.0016036874148994684, -0.6096155643463135, -0.494619220495224, -0.6978644132614136, -0.13628961145877838, 0.4737878143787384, 0.46417099237442017, 0.5176354050636292, -0.26958167552948, -0.6464330554008484, -1.2788652181625366, -0.28420016169548035, -0.10809777677059174, 0.07832498103380203, 0.3064699172973633, 0.48979583382606506, -0.1549501121044159, 0.7618421912193298, -0.16137197613716125, -0.20495359599590302, -0.4197785258293152, 0.4967595338821411, 0.3456852436065674, 0.2944127917289734, 0.7788234353065491, -0.9214683771133423, -0.18282119929790497, 0.04123617708683014, -0.4562417268753052, 0.1676238775253296, -0.1408260017633438, 0.25380444526672363, 0.4449247717857361, 0.26652881503105164, -0.06796523928642273, 0.4526917040348053, 0.35820525884628296, -0.2778969705104828, 0.36696216464042664, -0.2668479084968567, 0.07981286942958832, -0.967906653881073, 0.20995301008224487, 0.13606488704681396, -0.3404778838157654, -0.46167442202568054, -0.3905413746833801, 0.0979333221912384, 0.09663762152194977, -0.3554065525531769, 0.5721611976623535, -0.7188367247581482, -0.20612609386444092, -0.04916711151599884, -0.023047246038913727, -0.14271889626979828, 0.4074306786060333, 0.07344149053096771, 0.7004735469818115, 0.4141831398010254, -0.644133448600769, 0.04069174453616142, 0.19027763605117798, -0.4237699806690216, 0.6234539747238159, -0.8075867295265198, 0.06809615343809128, -0.13233019411563873, -0.02988111600279808, -0.9021852016448975, 0.12138237804174423, 0.045700427144765854, -0.2881554663181305, 0.5033013224601746, -0.29559195041656494, -0.5591619610786438, -0.24423789978027344, 0.010450360365211964, 0.1382623314857483, 0.17765289545059204, -0.4475308954715729, 0.8034212589263916, 0.45974549651145935, -0.4247312843799591, -0.7252362370491028, -0.7240525484085083, 0.23523804545402527, -0.4716586470603943, -0.37121474742889404, 0.5752484202384949, 0.3817666471004486, -0.17856614291667938, -0.014733764342963696, -0.23815202713012695, -0.17642125487327576, 0.09050613641738892, 0.1226922869682312, 0.6498626470565796, -0.27102506160736084, 0.09507988393306732, 0.13144926726818085, -0.25292855501174927, -0.02373667061328888, -0.2521035373210907, 0.2714824378490448, -0.1844870150089264, 0.0580793097615242, -0.11967971175909042, 0.10037584602832794, 0.44329413771629333, -0.4379771053791046, 0.9085668921470642, 0.6045562028884888, -0.4071691632270813, -0.004669785965234041, -0.7004268169403076, 0.14546695351600647, -0.403999388217926, 0.01693756878376007, -0.4874650835990906, -0.7597622275352478, 0.6642831563949585, -0.023367127403616905, 0.1653745323419571, 0.759455680847168, 0.40751877427101135, 0.16320626437664032, 0.5974398255348206, 0.97646164894104, -0.021529465913772583, 0.6693528890609741, -0.30486199259757996, 0.45861032605171204, -0.4487118721008301, -0.2941795587539673, -0.5841941833496094, -0.41359323263168335, -0.8320485949516296, -0.1722586303949356, 0.4431602954864502, -0.18620336055755615, 0.04680666700005531, 0.8721175193786621, -0.3225335478782654, 0.4102519154548645, 0.561409056186676, -0.24091453850269318, 0.24236375093460083, -0.12280737608671188, -0.23802544176578522, -0.08324260264635086, -0.48907727003097534, -0.7239761352539062, 1.1604024171829224, 0.3869098126888275, 0.5283775925636292, 0.06437928974628448, 0.8508484959602356, 0.3143351674079895, 0.5838726758956909, -0.5632717609405518, 0.2880595624446869, -0.17302751541137695, -0.5171993970870972, -0.08841419219970703, -0.6238877177238464, -1.0530216693878174, 0.1550348401069641, -0.21426638960838318, -0.6946520209312439, 0.36851078271865845, -0.07019659876823425, -0.5378835797309875, 0.08913369476795197, -0.9657780528068542, 1.071319341659546, -0.40080851316452026, -0.09369099140167236, 0.1250361055135727, -0.5518081784248352, 0.14511476457118988, -0.18749825656414032, 0.34543269872665405, -0.014596023596823215, -0.0198727585375309, 0.9286302924156189, -0.11824464797973633, 0.6614965796470642, 0.019765488803386688, -0.34038522839546204, 0.3171139359474182, -0.17633947730064392, 0.3783619701862335, 0.05179046094417572, -0.24714598059654236, 0.5376924276351929, 0.2910681664943695, -0.254179984331131, -0.33662286400794983, 0.3688930869102478, -0.4433349072933197, -0.038393259048461914, -0.5496522188186646, -0.23526506125926971, -0.029483728110790253, 0.36077240109443665, 0.11087929457426071, 0.4293769598007202, -0.6069601774215698, 0.1431283801794052, 0.263174444437027, -0.19673284888267517, 0.6249575018882751, 0.5769684910774231, -0.13469740748405457, -0.6785552501678467, 0.8769369125366211, 0.3517935276031494, 0.022186648100614548, 0.5977659821510315, -0.2046283334493637, -0.5563887357711792, -0.4212294816970825, -0.40209120512008667, 0.23768973350524902, -0.4594193398952484, -0.39272060990333557, -0.6278212666511536, -0.06767168641090393, -0.6210461258888245, 0.13823197782039642, -0.3974681794643402, -0.4029102325439453, -0.1423380821943283, -0.392325758934021, 0.18087823688983917, 0.5651724934577942, 0.06704197078943253, 0.08334363251924515, -0.9625453352928162, 0.12382294982671738, -0.0777522400021553, 0.27303940057754517, -0.10474377870559692, -0.29515576362609863, -0.2862568199634552, -0.0720147043466568, -0.21032503247261047, -1.1306195259094238, 0.5500752329826355, 0.1119171604514122, 0.4642508924007416, 0.554714024066925, -0.27054864168167114, 0.8735533356666565, -0.3998165428638458, 0.37487679719924927, -0.028548384085297585, -1.1937779188156128, 0.35781624913215637, -0.09754325449466705, -0.18615680932998657, 0.5829066038131714, 0.34589943289756775, -0.5011270046234131, -0.3639248013496399, -1.0400688648223877, -1.0654988288879395, 0.7257623672485352, 0.3399416208267212, -0.0006407555774785578, -0.23342686891555786, 0.13016091287136078, 0.282122939825058, 0.5324797630310059, -0.8622883558273315, -0.1643231362104416, 0.07629070430994034, 0.06125780567526817, -0.019655464217066765, -0.2406635284423828, 0.18860189616680145, -0.09585783630609512, 0.6183741092681885, 0.008796796202659607, 0.45725998282432556, 0.1897728145122528, -0.09855800122022629, 0.13445143401622772, 0.4128873944282532, 0.4641261398792267, 0.6434695720672607, -0.21385237574577332, -0.08973082154989243, 0.38415396213531494, -0.19335706532001495, -0.21257555484771729, 0.5916499495506287, -0.08015841245651245, 0.39971989393234253, 0.3339180648326874, 0.8882613778114319, 0.7202938199043274, -0.8351181149482727, 0.32539334893226624, -0.12387028336524963, 0.008810199797153473, -0.5773971080780029, -0.26223036646842957, -0.07354789972305298, 0.33011001348495483, 0.46763256192207336, 0.0525083988904953, 0.2615456283092499, -0.576979398727417, 0.09811817854642868, 0.22559697926044464, -0.41986939311027527, -0.3364998400211334, 0.6829651594161987, 0.045339442789554596, -0.14227621257305145, 0.7583209276199341, -0.3392806053161621, -0.6372316479682922, 0.7884807586669922, 0.4687970280647278, 1.0019961595535278, -0.1553964614868164, 0.11967696249485016, 0.34751278162002563, 0.4696085751056671, -0.08670589327812195, 0.2358599454164505, -0.016162918880581856, -0.6385208964347839, -0.3215065598487854, -0.8124547004699707, -0.6092756390571594, -0.12530672550201416, -0.7859236001968384, 0.5809072256088257, -0.2592070996761322, -0.44140639901161194, 0.5908791422843933, -0.22531090676784515, -0.8462568521499634, 0.12677055597305298, 0.3089238703250885, 0.7354308366775513, -0.5027312636375427, 0.6271884441375732, 0.7534000873565674, -0.6226910948753357, -0.7730919718742371, -0.25531309843063354, -0.3220398724079132, -0.5851070880889893, 0.8137436509132385, 0.26279208064079285, 0.14967942237854004, -0.12400871515274048, -0.1446971595287323, -0.7555376291275024, 0.9977291822433472, 0.5947907567024231, -0.4742752015590668, -0.327473908662796, 0.2265181839466095, 0.7358030676841736, -0.27737823128700256, 0.4774913489818573, 0.5826486945152283, 0.6239237189292908, 0.12226583063602448, -1.2904702425003052, -0.4149756133556366, -0.18516139686107635, -0.19121526181697845, 0.7365353107452393, -0.7245455980300903, 0.6845560669898987, -0.24492892622947693, -0.2635146975517273, -0.31616872549057007, 0.7706307768821716, -0.004626569803804159, 0.41385960578918457, 0.40130528807640076, 0.4608360230922699, 0.8472143411636353, -0.32229918241500854, 1.0318777561187744, -0.4894827604293823, 0.5050119757652283, 0.9936693906784058, -0.24238847196102142, 0.8917737603187561, 0.439905047416687, -0.25056371092796326, 0.4894459545612335, 0.5261043906211853, -0.39012593030929565, 0.1354796141386032, 0.18274204432964325, -0.07188104838132858, 0.028920549899339676, -0.09145859628915787, -0.17985258996486664, 0.6980084776878357, 0.2449350357055664, -0.7700807452201843, -0.2211463898420334, -0.1077410951256752, 0.1667029708623886, -0.4102973937988281, -0.186355859041214, 0.8754697442054749, 0.17680396139621735, -0.520267128944397, 0.10443054884672165, 0.385406494140625, 0.6073695421218872, -0.5813129544258118, 0.0018313765758648515, -0.07665456831455231, 0.34612104296684265, 0.052412018179893494, -0.24722498655319214, 0.556229293346405, 0.5171555280685425, -0.0580129511654377, -0.6041643619537354, 0.572379469871521, -0.4124002456665039, -0.8768943548202515, 0.3603484630584717, 0.43619051575660706, 0.2719215154647827, 0.002088717184960842, -0.6038863658905029, -0.29732847213745117, -0.1243424043059349, -0.05630902200937271, 0.16154150664806366, 0.663962721824646, -0.0341266468167305, 0.3980865478515625, 0.6353209018707275, 0.043562982231378555, 0.028972942382097244, 0.0822514221072197, 0.48518019914627075, -0.9076429009437561, -0.5325301289558411, -0.9481870532035828, 0.2031928449869156, 0.0010122602107003331, -0.4940144717693329, 0.7297509908676147, 1.0856338739395142, 1.0104410648345947, -0.12763838469982147, 0.47426727414131165, 0.04742029309272766, 0.5207814574241638, -0.3613174855709076, 0.595312774181366, -0.2754304111003876, 0.2478412389755249, -0.5983732342720032, -0.9321762919425964, -0.17206870019435883, 0.4601838290691376, -0.6289132833480835, 0.013481209985911846, 0.5081595778465271, 0.36802396178245544, -0.16499215364456177, 0.13431645929813385, 0.0880763977766037, 0.20224720239639282, 0.20865076780319214, 0.37450480461120605, 0.5087000727653503, -0.760794460773468, 0.8008798956871033, -0.12048014998435974, 0.24703742563724518, -0.14167509973049164, -1.0821551084518433, -0.6577532887458801, -0.3325580358505249, -0.5665183067321777, -0.31559574604034424, 0.01802368462085724, 0.9079458117485046, 0.3123553693294525, -0.8167377710342407, -0.3271922469139099, 0.23443958163261414, 0.12857487797737122, -0.42695003747940063, -0.25593188405036926, 0.40183404088020325, -0.13209763169288635, -1.0523966550827026, 0.22302289307117462, 0.4168787896633148, 0.3180217742919922, 0.024768033996224403, 0.30953800678253174, 0.10658831894397736, 0.205526664853096, 0.608322262763977, 0.0865420401096344, -0.5392773151397705, -0.10537482798099518, 0.09779004007577896, -0.04603372514247894, 0.16592030227184296, 0.7243461608886719, -0.5976755023002625, 0.1947018802165985, 0.2403090000152588, 0.6396631002426147, 0.4787514805793762, 0.03257155045866966, 0.39288270473480225, -0.5820098519325256, 0.04581516608595848, 0.31778794527053833, 0.6214756965637207, 0.31538596749305725, -0.21100777387619019, 0.5853805541992188, 0.18087823688983917, -0.25435754656791687, -0.7710908055305481, -0.34294378757476807, -1.19981849193573, 0.040451835840940475, 0.9134153723716736, -0.06587442010641098, -0.37740153074264526, 0.12879544496536255, -0.29898059368133545, 0.2985836863517761, -0.6287881731987, 0.8267379999160767, 0.8198403716087341, -0.05581666901707649, -0.013060618191957474, -0.5418704748153687, 0.24402526021003723, 0.22231829166412354, -0.6403911709785461, -0.15641139447689056, 0.40500786900520325, 0.2754584848880768, 0.2938203513622284, 0.4075574576854706, -0.20500755310058594, 0.1687961369752884, -0.0372045561671257, 0.17041444778442383, -0.010245501063764095, -0.2893025577068329, -0.1804761290550232, 0.3542606234550476, -0.13741308450698853, -0.06812570244073868 ]
http://arxiv.org/abs/2403.12173v1
http://arxiv.org/pdf/2403.12173v1
TnT-LLM: Text Mining at Scale with Large Language Models
2024-03-18T18:45:28
2024-03-18T18:45:28
Mengting Wan, Tara Safavi, Sujay Kumar Jauhar, Yujin Kim, Scott Counts, Jennifer Neville, Siddharth Suri, Chirag Shah, Ryen W White, Longqi Yang, Reid Andersen, Georg Buscher, Dhruv Joshi, Nagu Rangan
cs.CL
cs.CL, cs.AI, cs.IR
Transforming unstructured text into structured and meaningful forms, organized by useful category labels, is a fundamental step in text mining for downstream analysis and application. However, most existing methods for producing label taxonomies and building text-based label classifiers still rely heavily on domain expertise and manual curation, making the process expensive and time-consuming. This is particularly challenging when the label space is under-specified and large-scale data annotations are unavailable. In this paper, we address these challenges with Large Language Models (LLMs), whose prompt-based interface facilitates the induction and use of large-scale pseudo labels. We propose TnT-LLM, a two-phase framework that employs LLMs to automate the process of end-to-end label generation and assignment with minimal human effort for any given use-case. In the first phase, we introduce a zero-shot, multi-stage reasoning approach which enables LLMs to produce and refine a label taxonomy iteratively. In the second phase, LLMs are used as data labelers that yield training samples so that lightweight supervised classifiers can be reliably built, deployed, and served at scale. We apply TnT-LLM to the analysis of user intent and conversational domain for Bing Copilot (formerly Bing Chat), an open-domain chat-based search engine. Extensive experiments using both human and automatic evaluation metrics demonstrate that TnT-LLM generates more accurate and relevant label taxonomies when compared against state-of-the-art baselines, and achieves a favorable balance between accuracy and efficiency for classification at scale. We also share our practical experiences and insights on the challenges and opportunities of using LLMs for large-scale text mining in real-world applications.
[ 0.08963802456855774, -0.722594141960144, 0.7377908229827881, 0.2251998484134674, -0.1868477761745453, 0.2020241618156433, -0.24538108706474304, -0.18864458799362183, -0.06687162071466446, 0.6595300436019897, -0.4024730324745178, -0.7666217088699341, -0.649269163608551, 0.05194763094186783, -0.46717187762260437, 1.0063024759292603, -0.021121185272932053, -0.31446415185928345, -0.15698611736297607, 0.2636274993419647, -0.3734152019023895, -0.6015856266021729, -0.8972899317741394, -0.42063412070274353, 0.65156090259552, 0.45185959339141846, 0.599361777305603, 0.5808176398277283, 0.025722995400428772, 0.24928733706474304, -0.11790002882480621, 0.39004164934158325, -0.569835364818573, 0.2903584837913513, -0.1451999396085739, -0.39426282048225403, -0.4613204896450043, 0.08657852560281754, 0.5108665227890015, 0.677524209022522, -0.09045358002185822, 0.17649248242378235, 0.023247670382261276, 0.2388785481452942, -0.13508233428001404, 0.27705639600753784, -0.7089320421218872, 0.00013333863171283156, -0.1508437693119049, -0.5205439925193787, -0.7998777627944946, -0.26769164204597473, 0.22602826356887817, -0.4410059154033661, -0.12115470319986343, 0.37399667501449585, 0.42418426275253296, 0.25785669684410095, -0.9329339265823364, -0.47978031635284424, -0.661945104598999, 1.0132825374603271, -0.48616498708724976, 0.22217582166194916, 0.30266425013542175, 0.18197718262672424, -0.5891530513763428, -0.9613355398178101, -0.3175441026687622, -0.12062320113182068, -0.19300898909568787, -0.1209145337343216, -0.054870374500751495, 0.003240961115807295, 0.09044043719768524, 0.1779349446296692, -0.6010786890983582, 0.4943544864654541, -0.12927061319351196, -0.22693432867527008, 0.3501947224140167, 0.20349709689617157, 0.32372862100601196, -0.4036099314689636, -0.3324413001537323, 0.09427467733621597, -0.6402644515037537, -0.08055347949266434, 0.14137165248394012, 0.5337420701980591, 0.17224714159965515, 0.7663479447364807, -0.014595745131373405, 0.6820066571235657, -0.0017051083268597722, -0.3640807569026947, 0.09682870656251907, -0.1098971962928772, -0.22530612349510193, 0.20480072498321533, 1.130348563194275, 0.2351086437702179, 0.1632479578256607, -0.27074870467185974, -0.11521883308887482, -0.4052051901817322, 0.15942612290382385, -1.0317097902297974, -0.11703667789697647, 0.46321409940719604, -0.40252283215522766, -0.43541982769966125, -0.3741838037967682, -0.5786099433898926, -0.6266455054283142, -0.3365514278411865, 0.4313669204711914, -0.18765105307102203, -0.11195152997970581, -0.03352363780140877, 0.09727448225021362, 0.06322013586759567, 0.39629578590393066, -0.7175658941268921, 0.01927144080400467, 0.7225266695022583, 1.0221614837646484, -0.14917123317718506, -0.05990048497915268, -0.6849021911621094, 0.18383833765983582, -0.3757414221763611, 0.8825127482414246, -0.5210854411125183, -0.3172067701816559, -0.04069317504763603, 0.007495560683310032, 0.1523507982492447, -0.5665415525436401, 0.46697571873664856, -0.45378026366233826, 0.3092602789402008, 0.12058353424072266, -0.6396319270133972, 0.08979249000549316, 0.43880096077919006, -0.25847476720809937, 1.4523371458053589, 0.09890957921743393, -0.7231473326683044, 0.29828080534935, -0.3020407259464264, -0.4361431896686554, 0.23505276441574097, -0.031519144773483276, -0.336753785610199, 0.036477673798799515, 0.08614697307348251, 0.8395282626152039, -0.7675967812538147, 0.7997392416000366, -0.04953198879957199, -0.25057849287986755, 0.23323459923267365, -0.21395906805992126, 0.5886449813842773, 0.13724519312381744, -0.1617315709590912, 0.33141037821769714, -0.6469834446907043, 0.023915696889162064, -0.1131419688463211, -0.5012997388839722, -0.39430248737335205, 0.3011126220226288, 0.09542813152074814, 0.4299769997596741, 0.2506077289581299, -0.47739580273628235, 0.4736720323562622, -0.3938688635826111, 0.5934459567070007, 0.6690276861190796, -0.05388730391860008, 0.5007871389389038, -0.08550503849983215, 0.3345901370048523, -0.08336984366178513, 0.026783697307109833, -0.2873069941997528, -0.5268048048019409, -0.5797418355941772, -0.3906785547733307, 0.36200520396232605, 0.6153731942176819, -0.9879279136657715, 0.626656174659729, -0.46910589933395386, -0.6236323714256287, -0.0860273540019989, 0.15310554206371307, 0.1724351942539215, 0.3767484128475189, 0.2513476014137268, -0.08497314155101776, -0.5963296890258789, -0.7414515614509583, -0.0029967923182994127, -0.08682320266962051, -0.4436151683330536, 0.3224823474884033, 0.2751469612121582, -0.44083863496780396, 1.1555062532424927, -0.5514535903930664, -0.4715847671031952, -0.4508216083049774, 0.5275608897209167, 0.32593604922294617, 0.21227288246154785, 0.13498975336551666, -0.7282521724700928, -0.5862053632736206, 0.07307285815477371, -0.7049351334571838, -0.3780059516429901, -0.34534865617752075, -0.09275280684232712, 0.1358802318572998, 0.7875271439552307, -0.4252620339393616, 0.08561761677265167, 0.553879976272583, -0.19233863055706024, 0.3233411908149719, -0.12573739886283875, -0.049616001546382904, -1.2273080348968506, -0.06586194783449173, 0.1865609735250473, -0.42248424887657166, -0.7603535056114197, -0.34034934639930725, -0.11708971858024597, -0.1661078929901123, -0.49330732226371765, 0.7980601191520691, -0.343892365694046, 0.05176424980163574, -0.5076231956481934, 0.3162809908390045, -0.22139917314052582, 0.4569949209690094, 0.20366637408733368, 0.6099816560745239, 0.5265970230102539, -0.5588185787200928, 0.5003153681755066, -0.011727439239621162, -0.2114449292421341, 0.4489808976650238, -0.4913000762462616, 0.0420617051422596, -0.08984506130218506, 0.6979836225509644, -1.0838590860366821, -0.1841423511505127, 0.1748640239238739, -0.3687353730201721, 0.3291509747505188, -0.39285358786582947, -0.9741598963737488, -0.34411218762397766, -0.3823900818824768, 0.2604503333568573, 0.4998837411403656, -0.5630627274513245, 0.8125009536743164, 0.46390703320503235, -0.1752738505601883, -0.2739257514476776, -0.43503475189208984, 0.3740793466567993, -0.22250378131866455, -0.44861936569213867, 0.30101799964904785, -0.0066919708624482155, -0.005986175965517759, -0.123056560754776, -0.08223739266395569, -0.20644041895866394, -0.03627119958400726, 0.3546260893344879, 0.07421950995922089, 0.18087893724441528, 0.3213064670562744, 0.07704071700572968, -0.2535895109176636, 0.04240299016237259, -0.6789147257804871, 0.6947137117385864, 0.21975982189178467, 0.18014566600322723, -0.2795899510383606, 0.08362853527069092, 0.4720703959465027, 0.13670411705970764, 0.832745373249054, 0.6303098797798157, -0.2977553606033325, -0.46241313219070435, -0.3763808310031891, -0.011685637757182121, -0.44842296838760376, 0.29923394322395325, -0.22523173689842224, -1.0478596687316895, 0.07056942582130432, -0.5645533204078674, 0.17238593101501465, 0.30856019258499146, 0.7691326141357422, -0.060836561024188995, 0.9252828359603882, 0.7260803580284119, 0.04166285693645477, 0.09521512687206268, -0.023424450308084488, 0.4613802134990692, -0.7708473801612854, -0.4227568209171295, -0.6202278137207031, -0.3294205963611603, -0.686809778213501, -0.6665247678756714, 0.3754425048828125, -0.20587489008903503, -0.04504252225160599, 0.29488345980644226, -0.5137352347373962, 0.3811592757701874, 0.5369487404823303, 0.0435875803232193, 0.31868401169776917, -0.1304410845041275, 0.1373639553785324, 0.03363557532429695, -0.6443215608596802, -0.6023187637329102, 1.1988420486450195, 0.31294500827789307, 0.678098201751709, -0.040373481810092926, 0.6207165718078613, 0.20279376208782196, 0.6018931269645691, -1.1408611536026, 0.7037248611450195, -0.3479115664958954, -0.6345362067222595, -0.3033897280693054, -0.7277693152427673, -0.9416371583938599, 0.18538884818553925, -0.28874510526657104, -0.7722587585449219, -0.28617778420448303, 0.07569453120231628, -0.11211814731359482, 0.3780776858329773, -0.6427462697029114, 0.6822066307067871, -0.33317163586616516, -0.23417173326015472, 0.13968314230442047, -0.49455490708351135, 0.46476560831069946, -0.5718300342559814, 0.49587175250053406, -0.12936769425868988, -0.11670682579278946, 0.8368909955024719, -0.4631568491458893, 1.0251938104629517, -0.08697450160980225, -0.4137578010559082, 0.4092075526714325, 0.18373647332191467, 0.5321975350379944, 0.011523924767971039, -0.001936736167408526, 0.05552768334746361, -0.08914396166801453, -0.117334745824337, -0.46794894337654114, 0.7293532490730286, -0.6500444412231445, -0.35250920057296753, -0.5603769421577454, -0.6348624229431152, -0.3107684850692749, 0.26774582266807556, 0.10404147952795029, 0.5591508150100708, 0.1898595094680786, 0.4337025284767151, 0.8260361552238464, -0.7333981990814209, 0.23209291696548462, 0.3560824692249298, -0.48566484451293945, -0.223425954580307, 0.9698131084442139, 0.00131649908144027, 0.02755090221762657, 0.8547477722167969, 0.4249918758869171, -0.4146031439304352, -0.5763511657714844, -0.17201067507266998, 0.19491998851299286, -0.5196660757064819, -0.34921780228614807, -0.8223242163658142, -0.11466310918331146, -0.3104623258113861, -0.1647484302520752, -0.21849407255649567, -0.31789109110832214, -0.21054965257644653, 0.062376026064157486, 0.3207813501358032, 0.588185727596283, 0.26047074794769287, 0.486918181180954, -0.7422789931297302, 0.4502866268157959, 0.35086336731910706, 0.335421085357666, -0.012102853506803513, -0.5218071937561035, -0.1683891862630844, -0.14432163536548615, -0.14588940143585205, -0.5166245698928833, 0.43525034189224243, 0.013297941535711288, 0.25962334871292114, -0.08082632720470428, 0.13985960185527802, 0.3679558038711548, -0.5571906566619873, 0.6974278092384338, 0.1680176705121994, -0.8414519429206848, 0.4969017207622528, -0.455720454454422, 0.2712271511554718, 0.2598867416381836, 0.6055927872657776, -0.7279031276702881, -0.443043977022171, -0.31507307291030884, -1.1407252550125122, 0.9591119289398193, 0.22353006899356842, -0.02663293294608593, -0.086264468729496, 0.42813748121261597, 0.15487037599086761, 0.24915960431098938, -0.9616310596466064, -0.3569173514842987, -0.03783741965889931, -0.4933443069458008, -0.11486442387104034, -0.4846417307853699, 0.22481976449489594, 0.02169041521847248, 0.7817786931991577, -0.18597117066383362, -0.07513588666915894, -0.05597107484936714, -0.27348199486732483, 0.15403148531913757, 0.5091432332992554, 0.1588948369026184, 0.5164276361465454, -0.267526775598526, 0.4074757695198059, 0.09920292347669601, -0.37976041436195374, 0.24315688014030457, -0.037777844816446304, -0.17741963267326355, -0.20360597968101501, 0.25808167457580566, 0.36354804039001465, 0.42266321182250977, -0.8999974131584167, 0.4377996027469635, -0.16820818185806274, -0.28520143032073975, -0.08824844658374786, -0.2039075493812561, 0.15469644963741302, 0.0778699591755867, 0.4958835542201996, -0.4371494948863983, 0.1037573516368866, -0.747378945350647, 0.10282796621322632, 0.3468521535396576, -0.18187183141708374, -0.05922189727425575, 0.5367392897605896, 0.25827693939208984, -0.23975549638271332, 0.6173226833343506, -0.38026607036590576, -0.42818883061408997, 0.38499724864959717, 0.3945954442024231, 0.7436572313308716, -0.09384734183549881, 0.3984072804450989, 0.22347532212734222, 0.28308728337287903, -0.25323936343193054, -0.15783679485321045, -0.02927817404270172, -0.5522088408470154, -0.724127471446991, -0.7983393669128418, -0.5297881960868835, 0.16504830121994019, -0.21256448328495026, 0.3897852301597595, -0.48286426067352295, -0.048235032707452774, 0.04626769199967384, -0.016058240085840225, -0.32190757989883423, 0.31791451573371887, 0.24163706600666046, 0.6481798887252808, -0.6741352081298828, 0.9452826976776123, 0.6387502551078796, 0.10307399928569794, -0.7338034510612488, -0.25969821214675903, 0.23431167006492615, -0.6420267820358276, 0.794583797454834, 0.3846602141857147, -0.002669377950951457, 0.07197008281946182, -0.4635431170463562, -0.710256040096283, 1.0741885900497437, -0.03773649409413338, -0.621654212474823, -0.015526785515248775, 0.29218921065330505, 0.6471837162971497, -0.17395402491092682, 0.4872366487979889, 0.48268041014671326, 0.397154301404953, 0.5192243456840515, -0.9833865165710449, 0.15032844245433807, 0.11078198999166489, 0.07933162152767181, 0.44204074144363403, -0.380877286195755, 0.6052761673927307, 0.14925600588321686, -0.06986170262098312, -0.08506608009338379, 0.45602571964263916, 0.26759809255599976, 0.2486286759376526, 0.5474368929862976, 0.4007242023944855, 0.6253985166549683, -0.20153506100177765, 0.7474620342254639, -0.11026708781719208, 0.35402026772499084, 1.0631533861160278, -0.35929423570632935, 0.6388292908668518, 0.2077442854642868, -0.13249199092388153, 0.3151787221431732, 0.6428806781768799, 0.059844695031642914, 0.1356939822435379, 0.34749990701675415, -0.1251901239156723, -0.32626965641975403, -0.2846171259880066, 0.12259023636579514, 0.353558748960495, 0.39073675870895386, -0.13279742002487183, -0.37634000182151794, 0.018480772152543068, 0.30916115641593933, -0.04794272780418396, -0.4029068946838379, 0.7753273844718933, 0.12719477713108063, -0.5404548645019531, 0.34100231528282166, 0.254462331533432, 0.9260309338569641, -0.605408787727356, 0.2329840362071991, -0.06329707056283951, 0.07766695320606232, -0.3060334622859955, -0.8803972601890564, 0.1925175040960312, 0.2298123836517334, -0.0988730862736702, -0.7138026356697083, 0.7134508490562439, -0.4030493497848511, -0.5721901655197144, 0.2549613416194916, 0.30694273114204407, 0.2834034860134125, -0.19337046146392822, -0.4737795889377594, 0.039293691515922546, 0.045859627425670624, -0.39105695486068726, 0.45721060037612915, 0.7456066012382507, -0.20476442575454712, 0.8927109837532043, 0.626917839050293, -0.016784125939011574, -0.037588465958833694, 0.17499041557312012, 0.7629427313804626, -0.7738204002380371, -0.2627938389778137, -0.8046936988830566, 0.3222728371620178, -0.0030897820834070444, 0.020545918494462967, 0.7346044778823853, 0.728140115737915, 0.46798598766326904, 0.24583345651626587, 0.721827507019043, -0.18128512799739838, 0.595508337020874, -0.5820016264915466, 0.3383480906486511, -0.5214099287986755, 0.38467538356781006, -0.13095439970493317, -0.9956169128417969, -0.5552840828895569, 0.21933522820472717, -0.36038094758987427, -0.10259107500314713, 0.7461572289466858, 0.6016212701797485, 0.06774710863828659, -0.27265438437461853, 0.20071624219417572, 0.49817949533462524, 0.7871174216270447, 0.6381391882896423, 0.7062039375305176, -0.18108007311820984, 0.9663320183753967, -0.0012797772651538253, -0.39988091588020325, -0.10115525126457214, -1.043575644493103, -1.1855136156082153, -0.4919171929359436, -0.4083672761917114, -0.08492331951856613, -0.36745238304138184, 0.9243883490562439, 0.6934460997581482, -0.41661378741264343, -0.2711229622364044, 0.011073191650211811, 0.10064291954040527, 0.262227326631546, -0.26661717891693115, 0.3104751706123352, -0.37945249676704407, -0.8066473603248596, 0.3934779465198517, 0.5216705203056335, -0.0631377324461937, -0.1931454837322235, 0.2707400918006897, -0.16649077832698822, 0.01231103390455246, 1.0271484851837158, 0.04822830855846405, -0.5797799229621887, -0.15885202586650848, -0.18171340227127075, -0.09972129762172699, -0.05532576143741608, 0.8244932293891907, -0.9479700922966003, 0.3345361649990082, 0.28077611327171326, 0.5074777603149414, 0.6806106567382812, -0.006004660855978727, 0.3577018976211548, -1.0339735746383667, 0.0695536732673645, 0.08586406707763672, 0.13758356869220734, 0.3613286018371582, -0.34027299284935, 0.3529447019100189, -0.01009228453040123, -0.6085288524627686, -0.8334039449691772, 0.1695842146873474, -1.166925072669983, -0.5788206458091736, 1.402705430984497, 0.20502932369709015, -0.09619343280792236, -0.27592042088508606, -0.4147452712059021, 0.1062607541680336, -0.4231269657611847, 0.5886309146881104, 0.5859447717666626, -0.06034068018198013, -0.1862758994102478, -0.4583275616168976, 0.3256937861442566, -0.16945916414260864, -0.9115273356437683, 0.2502679228782654, 0.4422987997531891, 0.3550393283367157, 0.05320734530687332, 0.6714498400688171, 0.05792732909321785, -0.306906133890152, -0.3495323956012726, 0.00017615361139178276, -0.10039939731359482, -0.3464287221431732, 0.027330880984663963, 0.3409402668476105, 0.08940498530864716, 0.321614146232605 ]
http://arxiv.org/abs/2403.12171v1
http://arxiv.org/pdf/2403.12171v1
EasyJailbreak: A Unified Framework for Jailbreaking Large Language Models
2024-03-18T18:39:53
2024-03-18T18:39:53
Weikang Zhou, Xiao Wang, Limao Xiong, Han Xia, Yingshuang Gu, Mingxu Chai, Fukang Zhu, Caishuang Huang, Shihan Dou, Zhiheng Xi, Rui Zheng, Songyang Gao, Yicheng Zou, Hang Yan, Yifan Le, Ruohui Wang, Lijun Li, Jing Shao, Tao Gui, Qi Zhang, Xuanjing Huang
cs.CL
cs.CL, cs.AI
Jailbreak attacks are crucial for identifying and mitigating the security vulnerabilities of Large Language Models (LLMs). They are designed to bypass safeguards and elicit prohibited outputs. However, due to significant differences among various jailbreak methods, there is no standard implementation framework available for the community, which limits comprehensive security evaluations. This paper introduces EasyJailbreak, a unified framework simplifying the construction and evaluation of jailbreak attacks against LLMs. It builds jailbreak attacks using four components: Selector, Mutator, Constraint, and Evaluator. This modular framework enables researchers to easily construct attacks from combinations of novel and existing components. So far, EasyJailbreak supports 11 distinct jailbreak methods and facilitates the security validation of a broad spectrum of LLMs. Our validation across 10 distinct LLMs reveals a significant vulnerability, with an average breach probability of 60% under various jailbreaking attacks. Notably, even advanced models like GPT-3.5-Turbo and GPT-4 exhibit average Attack Success Rates (ASR) of 57% and 33%, respectively. We have released a wealth of resources for researchers, including a web platform, PyPI published package, screencast video, and experimental outputs.
[ -0.34493115544319153, -0.8831568956375122, 0.6012645363807678, 0.3969971537590027, -0.14289571344852448, 0.20782579481601715, -0.34013181924819946, -0.3647351861000061, 0.16374808549880981, 0.8043249249458313, -0.392841637134552, -0.5036888122558594, -0.6789747476577759, -0.08078337460756302, -0.48310717940330505, 1.0784964561462402, 0.0013212427729740739, -0.13756577670574188, 0.03233661875128746, -0.022840449586510658, -0.656764566898346, -0.5358349084854126, -0.3177633285522461, -0.04653850197792053, 0.2717532515525818, 0.2641005218029022, 0.5208281874656677, 0.3700023889541626, 0.5907008051872253, 0.3231954574584961, -0.3687095046043396, -0.22954846918582916, -0.23229894042015076, 0.2813691198825836, -0.10948828607797623, -0.2924814820289612, -0.32621869444847107, -0.36464276909828186, 0.29089629650115967, 0.45924580097198486, -0.3186754882335663, 0.17469486594200134, -0.029391175135970116, 0.8024828433990479, -0.9035204648971558, 0.07418249547481537, -0.8165958523750305, -0.17938263714313507, -0.526622474193573, 0.42708301544189453, -0.5696534514427185, -0.14812466502189636, -0.420738160610199, -0.15942533314228058, -0.1459449976682663, -0.242479607462883, 0.27493807673454285, 0.129075825214386, -0.5229833126068115, -0.32013097405433655, -0.3265528976917267, 0.6142653226852417, -0.6480733156204224, 0.2243223339319229, 0.16450358927249908, 0.42316728830337524, -0.5672773718833923, -0.5597103238105774, -0.21451567113399506, -0.3166350722312927, 0.13109713792800903, -0.5270835161209106, -0.16061551868915558, 0.14439745247364044, 0.3028254210948944, 0.2200411856174469, -0.5113007426261902, 0.10685936361551285, -0.37270691990852356, -0.09393585473299026, 0.48962244391441345, 0.10891348123550415, 0.680047333240509, -0.41849035024642944, -0.3048943281173706, 0.10984784364700317, -0.9596740007400513, 0.06761730462312698, 0.4465949535369873, 0.2560719847679138, -0.2625933289527893, 0.39194759726524353, -0.08497795462608337, 0.8266505599021912, -0.21946197748184204, -0.34331175684928894, 0.12342023849487305, -0.23734784126281738, -0.21944288909435272, -0.052106499671936035, 0.8602375984191895, 0.042337872087955475, 0.06673390418291092, -0.29940375685691833, -0.07780230045318604, -0.30037054419517517, 0.11388759315013885, -0.9400117993354797, -0.3997649848461151, 0.3338893949985504, -0.28397679328918457, -0.5126832127571106, 0.21583297848701477, -0.815109372138977, -0.7993839979171753, 0.2347763627767563, 0.006603062152862549, -0.3680158257484436, -0.29480984807014465, 0.2473265379667282, -0.042894396930933, 0.2895232141017914, 0.33369919657707214, -0.8709182739257812, 0.40386930108070374, 0.8709350824356079, 0.7355641722679138, -0.050618965178728104, -0.34397655725479126, -0.5265647172927856, 0.3315722346305847, 0.15835066139698029, 0.5587021112442017, -0.2273576855659485, -0.2899455428123474, -0.20526254177093506, -0.09674355387687683, -0.07665791362524033, -0.37488889694213867, 0.5693566799163818, -0.5587697625160217, -0.46301302313804626, 0.200849711894989, -0.5036568641662598, -0.09557738900184631, 0.2408660650253296, -1.0985056161880493, 0.48992541432380676, -0.21470889449119568, -0.8194020390510559, 0.03914058580994606, -0.6184535622596741, -0.5721209049224854, -0.06557773053646088, -0.09865514934062958, -0.5690943598747253, 0.17059196531772614, 0.43580833077430725, 0.40964433550834656, -0.4513280987739563, 0.6488365530967712, -0.6346849799156189, -0.250801682472229, 0.3744894862174988, -0.4576527178287506, 1.174430012702942, 0.4403882920742035, -0.5182263851165771, -0.035976942628622055, -0.7860527634620667, 0.08387936651706696, 0.425723135471344, -0.31231698393821716, -0.4940342605113983, 0.06261378526687622, 0.1822902113199234, -0.0547947883605957, 0.26178088784217834, -0.7574283480644226, 0.6110290288925171, -0.35036423802375793, 0.6268762946128845, 0.7331297397613525, 0.0540291890501976, 0.2591872811317444, 0.30178526043891907, 0.4547020196914673, -0.27852749824523926, 0.3560306429862976, -0.34800776839256287, -0.24505272507667542, -0.2332002967596054, -0.6339757442474365, 0.49507755041122437, 0.4475387632846832, -0.33988630771636963, 0.3340534567832947, -0.06440196186304092, -0.6374511122703552, -0.5020641088485718, 0.7327518463134766, 0.5591723918914795, -0.12298309803009033, 0.16032136976718903, -0.23696327209472656, -0.6282411813735962, -0.8166248202323914, -0.5949301719665527, -0.015682173892855644, -0.04849003255367279, -0.172844797372818, 0.6017993688583374, -0.31428107619285583, 0.666654646396637, -0.5226099491119385, -0.05716003105044365, -0.6828566789627075, -0.14553357660770416, 0.3452100455760956, 0.538031280040741, 0.7157405614852905, -0.5350625514984131, -0.284648597240448, -0.33128148317337036, -0.8480492234230042, 0.01524127647280693, 0.06574899703264236, 0.21351294219493866, -0.11444330960512161, 0.4886718988418579, -0.8234800100326538, 0.3652043342590332, 0.6984829902648926, -0.5307708978652954, 0.6214831471443176, 0.11788135021924973, 0.002418043790385127, -0.9348169565200806, 0.02835419401526451, -0.0676025003194809, -0.2975372076034546, -0.7008826732635498, 0.8469318151473999, 0.2177794873714447, -0.2400435209274292, -0.6691520810127258, 0.4306771457195282, -0.428241103887558, 0.06393352150917053, -0.17846697568893433, -0.22362077236175537, -0.038946378976106644, 0.16057133674621582, -0.5379002690315247, 0.47806742787361145, 0.4597043991088867, -0.042763903737068176, 0.5074387788772583, 0.07616839557886124, -0.6533053517341614, 0.046011097729206085, -0.773375928401947, 0.35076722502708435, 0.19614848494529724, 0.4708169102668762, -0.9242551922798157, -0.48644891381263733, 0.18050643801689148, -0.25112631916999817, 0.25400036573410034, -0.517605721950531, -0.6696497797966003, -0.1809876263141632, -0.5738739967346191, 0.36474746465682983, 0.10600574314594269, -0.7991743087768555, 0.458450049161911, 0.5741041898727417, -0.24236874282360077, -0.5058338046073914, -0.6052525043487549, 0.39599868655204773, -0.2617795169353485, -0.9259532690048218, -0.05965456739068031, -0.16046278178691864, -0.49892833828926086, -0.30242398381233215, -0.03763144090771675, -0.213607519865036, 0.6404472589492798, 0.44209960103034973, 0.3783264756202698, 0.11664696782827377, -0.41977018117904663, 0.054194945842027664, -0.0969783365726471, 0.13083381950855255, 0.015374542213976383, 0.6062825322151184, -0.3037806451320648, -0.5138915777206421, -0.3550453186035156, 0.30583441257476807, 0.8931363224983215, -0.3223346471786499, 0.7162694334983826, 0.09922410547733307, -0.2132883369922638, -0.10055761784315109, -0.6016613841056824, 0.128354012966156, -0.49925827980041504, 0.35853469371795654, -0.6893694400787354, -1.0871303081512451, 0.389413446187973, -0.21357335150241852, 0.10196571797132492, 0.14689889550209045, 0.5539100170135498, 0.16803894937038422, 1.1086877584457397, 0.6031419634819031, -0.4563881754875183, 0.13473093509674072, 0.06383541971445084, 0.24322295188903809, -0.7285072207450867, -0.13418041169643402, -0.6238744258880615, 0.04738779366016388, -0.4700395166873932, -0.0795009508728981, -0.05615442991256714, 0.3752609193325043, -0.24316217005252838, 0.4318428337574005, -0.3538202941417694, 0.9060679078102112, 0.07976904511451721, -0.15009109675884247, 0.45170965790748596, -0.1814216524362564, -0.1309794932603836, 0.07196372747421265, -0.22533299028873444, -0.29838061332702637, 1.3513619899749756, 0.49418702721595764, 1.0494062900543213, 0.5502885580062866, 0.9332530498504639, 0.2998600900173187, 0.3930599093437195, -0.5905196070671082, 0.5534878969192505, -0.029826216399669647, -0.8851104974746704, -0.07830074429512024, -0.4860062301158905, -0.8058081865310669, 0.3913732171058655, 0.05627721920609474, -1.105339765548706, -0.19007360935211182, -0.039442334324121475, -0.24316057562828064, 0.5188792943954468, -0.7212878465652466, 1.0457220077514648, -0.4523981213569641, -0.12214405834674835, -0.030699895694851875, -0.582480788230896, 1.1076871156692505, -0.3380790054798126, 0.6515038013458252, -0.16233879327774048, 0.4057641327381134, 0.5848064422607422, -0.8023034334182739, 0.8455820679664612, -0.3210963308811188, 0.0018373618368059397, 0.2584124803543091, 0.42402344942092896, 0.6596196293830872, 0.337105393409729, 0.08005040884017944, 0.09601084887981415, 0.13066399097442627, -0.33986911177635193, -0.5564305186271667, 0.8670491576194763, -0.6911157965660095, -0.6585328578948975, -0.37241244316101074, -0.25596264004707336, -0.10251584649085999, 0.0183970145881176, -0.07524584978818893, 0.15980932116508484, -0.29505103826522827, 0.22252465784549713, 0.5570687055587769, -0.21802394092082977, 0.3262447118759155, 0.5604369640350342, -0.7374939918518066, -0.49002864956855774, 0.606339156627655, -0.3268764913082123, 0.14420025050640106, -0.028884874656796455, 0.024596940726041794, 0.13363243639469147, -0.6996636986732483, -0.5382886528968811, 0.07170376181602478, -0.6399891972541809, -0.40091243386268616, -0.43188947439193726, -0.2877712845802307, -0.4641186594963074, -0.10163648426532745, -0.592833936214447, -0.47832682728767395, 0.37555134296417236, -0.2831316590309143, 0.3919893503189087, 0.6422893404960632, 0.03159553185105324, 0.3815988600254059, -0.891404926776886, 0.45081964135169983, 0.323235422372818, 0.2178172767162323, 0.012086650356650352, -0.3471640348434448, -0.11023222655057907, -0.29009920358657837, -0.3581177890300751, -0.9825719594955444, 0.1879422664642334, 0.10464148968458176, 0.3471284508705139, 0.2865065932273865, -0.06503011286258698, 0.6059623956680298, -0.5806764960289001, 0.587263822555542, 0.6119850873947144, -1.1444144248962402, 0.8662149310112, -0.3011259138584137, 0.1877758949995041, 0.9822753667831421, -0.09139522165060043, -0.3681100904941559, -0.6687917113304138, -0.49760207533836365, -1.2245550155639648, 0.4816551208496094, 0.16265277564525604, 0.10053607821464539, 0.027440285310149193, 0.3386204242706299, 0.13160744309425354, 0.1730789840221405, -1.0690776109695435, -0.43674591183662415, 0.02254592813551426, -0.023778995499014854, 0.1528300940990448, -0.20500293374061584, -0.2110920250415802, -0.4116019904613495, 0.37664759159088135, 0.29060670733451843, -0.1441754251718521, -0.3359427750110626, -0.5907832384109497, 0.1560858190059662, 0.6448348760604858, 0.28481194376945496, 0.5361696481704712, -0.40775540471076965, 0.10734907537698746, -0.04690249636769295, -0.6017928123474121, 0.5059493780136108, 0.1250903308391571, -0.3735187351703644, -0.09314672648906708, 0.3256886303424835, 0.6741527915000916, 0.27161794900894165, -0.8547344207763672, 0.7467342615127563, -0.3751996159553528, 0.0960477739572525, -0.4330706000328064, 0.23998308181762695, 0.11087848246097565, 0.14343290030956268, 0.21173502504825592, 0.04246554151177406, 0.15689165890216827, -0.6605277061462402, 0.3144690990447998, 0.3004688024520874, -0.306606650352478, -0.2505015432834625, 0.6076565980911255, 0.32150915265083313, -0.10972126573324203, 0.56442791223526, -0.1741066873073578, -0.36996257305145264, 0.655377209186554, 0.7213608622550964, 0.994850754737854, -0.3323521614074707, 0.004026372451335192, 0.023246468976140022, 0.6362553238868713, -0.13960060477256775, -0.0680999830365181, 0.027603209018707275, -0.518974781036377, -0.7068344354629517, -0.8430096507072449, -0.3981165289878845, 0.3253912925720215, -0.606502115726471, 0.23444315791130066, -0.7481302618980408, 0.09642882645130157, -0.014658819884061813, -0.3056069612503052, -0.47720539569854736, -0.09307260811328888, 0.29264068603515625, 1.0409098863601685, -0.7158823013305664, 1.0907806158065796, 0.6149098873138428, -0.22151243686676025, -0.7861341238021851, -0.1584649235010147, 0.6136497855186462, -0.4775678813457489, 0.6763077974319458, 0.36534038186073303, 0.07339922338724136, -0.35241106152534485, -0.6282017827033997, -0.8147066831588745, 0.7845593690872192, 0.5172240138053894, -0.8529852628707886, 0.09581387042999268, 0.04948241263628006, 0.012083903886377811, -0.2860167920589447, 0.12139400094747543, 1.0476701259613037, 0.6251963376998901, -0.1658632606267929, -0.7610375881195068, 0.20096486806869507, -0.3037429749965668, -0.2220703512430191, 0.6018587946891785, -0.41004103422164917, 0.6813955903053284, -0.30501458048820496, 0.20316927134990692, 0.4345051348209381, 0.34089982509613037, 0.683407723903656, 0.2125272899866104, 0.5622838735580444, 0.8173555731773376, 0.5175122618675232, -0.06787223368883133, 1.146055817604065, -0.35513824224472046, 0.3201671242713928, 1.3397371768951416, -0.25907668471336365, 0.8025212287902832, 0.5543662905693054, -0.13997025787830353, 0.29910486936569214, 0.1361403465270996, -0.0836794450879097, 0.6784051656723022, 0.569557785987854, -0.3922722339630127, -0.08158788830041885, 0.46061354875564575, -0.31497541069984436, 0.6398890614509583, 0.3138032853603363, -0.1279577612876892, -0.3343503475189209, 0.3198997378349304, 0.7158663868904114, -0.21591854095458984, -0.4185321033000946, 0.6445475816726685, 0.27714237570762634, -0.36248818039894104, 0.43134790658950806, 0.572192370891571, 0.6920762658119202, -0.7360529899597168, 0.2842443287372589, -0.12030568718910217, 0.20427349209785461, -0.35087186098098755, -0.6268792152404785, 0.19409818947315216, 0.588935375213623, 0.07450572401285172, 0.07800596952438354, 0.9167278409004211, 0.026880888268351555, -0.3017117977142334, 0.6113412976264954, 0.2953706979751587, -0.013502659276127815, -0.3070996105670929, -0.7467086911201477, 0.5900294184684753, 0.26566755771636963, -0.551779568195343, 0.7776167392730713, 0.06532032787799835, 0.2643299400806427, 0.5670251846313477, 0.7755310535430908, 0.1102210059762001, 0.04383547231554985, 0.025922616943717003, 0.9895411133766174, -0.8795400857925415, -0.13580526411533356, -1.2369688749313354, 0.616083025932312, -0.19000595808029175, -0.12764853239059448, 0.8453903198242188, 0.4812847971916199, 0.47522738575935364, 0.07542678713798523, 1.0324840545654297, -0.2153763622045517, 0.24841931462287903, -0.570361316204071, 0.8730428814888, -0.18560223281383514, 0.8108128905296326, -0.5672875642776489, -0.9721080660820007, -0.467995822429657, 0.42127349972724915, -0.341571569442749, -0.35086390376091003, 0.5353200435638428, 0.4797418415546417, -0.1370876431465149, -0.0317852608859539, 0.16119016706943512, 0.4105319380760193, 0.6424652338027954, 0.5745658874511719, 0.8129544854164124, -0.27832871675491333, 0.6520420908927917, -0.12460194528102875, -0.3107215166091919, -0.08214550465345383, -0.8223097324371338, -0.943446695804596, 0.08901204913854599, -0.18636105954647064, -0.38843342661857605, 0.27842992544174194, 0.8661466240882874, 0.35083693265914917, -0.7818911671638489, -0.35334232449531555, -0.04483432695269585, 0.2313254028558731, 0.12376626580953598, -0.25394460558891296, 0.2515064477920532, -0.2656557857990265, -0.1894359141588211, 0.7453129291534424, 0.5288586020469666, -0.4726319909095764, -0.25451532006263733, -0.030907584354281425, 0.023667126893997192, 0.028845062479376793, 0.5253507494926453, 0.5982727408409119, -0.5207492709159851, -0.18787719309329987, -0.546385645866394, -0.22255152463912964, -0.10319701582193375, 0.8117408156394958, -0.5283467769622803, 0.3873237669467926, 0.21979351341724396, 0.8349435329437256, 0.5602743029594421, -0.3626241683959961, 0.36718714237213135, -0.7300563454627991, 0.4737579822540283, -0.10385289788246155, 0.672809898853302, 0.2470371425151825, -0.00797860324382782, 0.39632007479667664, 0.14975479245185852, -0.5078505277633667, -0.9849949479103088, 0.5197635889053345, -0.8170629739761353, -0.648693323135376, 0.9393678307533264, -0.3443564772605896, -0.520964503288269, -0.18152455985546112, -0.09084548056125641, -0.33502158522605896, -0.3863959312438965, 0.753976583480835, 0.7231887578964233, 0.17930148541927338, -0.13474254310131073, -0.6796618103981018, 0.2727591395378113, 0.10568944364786148, -0.8482295274734497, 0.15202488005161285, 0.3915606737136841, 0.6477153897285461, 0.0282884631305933, 0.4691082239151001, -0.46669629216194153, 0.3279285430908203, -0.27193883061408997, 0.35573700070381165, -0.1872195601463318, -0.37601104378700256, -0.47537603974342346, 0.4728768467903137, 0.36071738600730896, 0.28563281893730164 ]
http://arxiv.org/abs/2403.12151v2
http://arxiv.org/pdf/2403.12151v2
Fusing Domain-Specific Content from Large Language Models into Knowledge Graphs for Enhanced Zero Shot Object State Classification
2024-03-18T18:08:44
2024-03-25T18:50:06
Filippos Gouidis, Katerina Papantoniou, Konstantinos Papoutsakis Theodore Patkos, Antonis Argyros, Dimitris Plexousakis
cs.AI
cs.AI, cs.CL, cs.CV, cs.LG
Domain-specific knowledge can significantly contribute to addressing a wide variety of vision tasks. However, the generation of such knowledge entails considerable human labor and time costs. This study investigates the potential of Large Language Models (LLMs) in generating and providing domain-specific information through semantic embeddings. To achieve this, an LLM is integrated into a pipeline that utilizes Knowledge Graphs and pre-trained semantic vectors in the context of the Vision-based Zero-shot Object State Classification task. We thoroughly examine the behavior of the LLM through an extensive ablation study. Our findings reveal that the integration of LLM-based embeddings, in combination with general-purpose pre-trained embeddings, leads to substantial performance improvements. Drawing insights from this ablation study, we conduct a comparative analysis against competing models, thereby highlighting the state-of-the-art performance achieved by the proposed approach.
[ -0.2823924124240875, -0.7659213542938232, 0.652915894985199, -0.706072211265564, -0.39307501912117004, 0.09703554958105087, -0.23507218062877655, -0.6626421213150024, -0.12111001461744308, 0.9353653192520142, -0.0999625101685524, -0.8188298940658569, -0.666498064994812, -0.18490445613861084, -0.673393189907074, 0.7196324467658997, -0.15353606641292572, -0.3089255094528198, -0.4161306321620941, 0.06600026786327362, -0.430325984954834, -0.6198294758796692, -0.21070508658885956, -0.509329080581665, 0.4072440564632416, 0.1772349625825882, 0.5996580719947815, 0.8617109656333923, 0.34090346097946167, 0.2796967327594757, 0.1954813450574875, 0.25053852796554565, -0.46777603030204773, 0.017780374735593796, -0.4052547812461853, -0.31681621074676514, -0.3414933681488037, -0.24428993463516235, 0.5677220821380615, 0.8496310710906982, -0.09442926198244095, 0.019499167799949646, -0.12926435470581055, 0.16344857215881348, -0.8687224984169006, 0.2270047813653946, -0.7990362644195557, 0.09675199538469315, -0.23446732759475708, -0.16533257067203522, -0.5121839046478271, -0.009507324546575546, 0.2883170247077942, -0.5154070258140564, 0.2802487015724182, 0.11701498925685883, 0.9987888932228088, 0.31747114658355713, -0.47705012559890747, -0.10338468104600906, -0.8696399927139282, 0.8802350163459778, -0.6586823463439941, 0.5927534699440002, 0.04015791788697243, 0.028500566259026527, -0.03882347419857979, -0.5177693963050842, -0.6978343725204468, 0.14099609851837158, -0.06005757674574852, -0.15118660032749176, -0.30276232957839966, 0.24420781433582306, 0.21039937436580658, 0.17094603180885315, -0.5275092720985413, 0.345572292804718, -0.2641178071498871, -0.18458177149295807, 0.586054801940918, 0.3345078229904175, 0.38188159465789795, 0.055884186178445816, -0.2692306339740753, -0.05598301813006401, -0.8423155546188354, -0.3078966438770294, 0.17008070647716522, 0.32667312026023865, 0.1228695660829544, 0.9821304082870483, -0.3808741271495819, 1.3606667518615723, -0.23016411066055298, -0.1905488818883896, 0.19535067677497864, -0.13384602963924408, -0.5004910230636597, 0.04866010323166847, 0.5164585709571838, 0.26437222957611084, 0.4633117616176605, -0.3868624269962311, -0.10388337820768356, 0.42294642329216003, 0.3624964654445648, -0.9607629179954529, -0.10335195809602737, 0.2244967371225357, 0.08051180839538574, -0.20612578094005585, -0.2030150145292282, -0.24292005598545074, -0.3407604992389679, -0.5077418684959412, 0.5819822549819946, -0.4613431990146637, -0.3262733817100525, 0.40355968475341797, -0.2095421701669693, 0.3445613980293274, 0.5295346975326538, -0.7047690153121948, -0.07831734418869019, 0.7329720854759216, 0.7280864715576172, -0.21903859078884125, -0.24417495727539062, -0.34995871782302856, 0.6123748421669006, -0.5436269640922546, 0.9444634914398193, -0.7237299084663391, -0.2741430699825287, 0.3817076086997986, -0.08331750333309174, 0.03328229486942291, -0.5858679413795471, -0.1647510975599289, -0.880440890789032, -0.1580837517976761, 0.1691323071718216, -1.0076851844787598, -0.3856104612350464, 0.4294032156467438, -0.19865621626377106, 0.527539074420929, 0.28726160526275635, -0.5605238080024719, 0.5885208249092102, -0.37389323115348816, -0.4508223235607147, 0.34581705927848816, -0.4058060348033905, -0.30550873279571533, 0.0628819465637207, -0.10390057414770126, 0.9625989198684692, -0.24636273086071014, 0.13949054479599, -0.35989493131637573, -0.23286715149879456, 0.152279794216156, 0.05559489503502846, 0.41958773136138916, 0.11737522482872009, -0.06171731278300285, -0.015148337930440903, -0.42489951848983765, -0.08049202710390091, 0.19437803328037262, -0.17788180708885193, -0.4585728049278259, -0.10414188355207443, -0.4340967833995819, 0.18655186891555786, 0.25678083300590515, -0.7875449061393738, 0.28555139899253845, -0.4140268564224243, -0.08934161067008972, 0.461344838142395, 0.03690754994750023, 0.5445982813835144, -0.04116014763712883, 0.32436805963516235, 0.2387888878583908, -0.027387022972106934, -0.3688393235206604, -0.3557142913341522, -0.7972914576530457, -0.2528510093688965, 0.01831934042274952, 0.366598904132843, -0.8856296539306641, 0.4275909662246704, -0.2577623426914215, -0.5114784240722656, -0.17957934737205505, 0.3090551495552063, 0.33419379591941833, 0.7930423617362976, 0.27219250798225403, -0.41864070296287537, -0.22938871383666992, -0.7720156908035278, 0.07627556473016739, 0.09037168323993683, 0.05375772342085838, 0.4384404122829437, 0.38887378573417664, -0.2014111876487732, 1.0506892204284668, -1.1080048084259033, -0.5419122576713562, -0.23642520606517792, -0.10854145884513855, 0.039687350392341614, 0.17267023026943207, 0.5104765295982361, -0.4165912866592407, -0.44905006885528564, 0.28802552819252014, -1.1373021602630615, 0.17164619266986847, 0.18049654364585876, -0.2285182625055313, 0.41837045550346375, 0.3204375207424164, -0.4433634579181671, 0.5896440744400024, 0.47140195965766907, -0.43908625841140747, 0.38306283950805664, -0.13855119049549103, 0.11203030496835709, -0.720142662525177, -0.07960408926010132, 0.10413096100091934, -0.21803168952465057, -1.0213794708251953, 0.07570181041955948, -0.10213583707809448, -0.34614086151123047, -0.8608455061912537, 0.674752950668335, -0.390872597694397, -0.30170655250549316, -0.5909236669540405, 0.2576235830783844, 0.05736761912703514, 0.4724653363227844, 0.5828798413276672, 0.29058006405830383, 0.8323076963424683, -0.7099080681800842, 0.42371565103530884, 0.4015682339668274, -0.5534684062004089, 0.43868082761764526, -0.36866042017936707, 0.07012689858675003, -0.20678725838661194, 0.08926805108785629, -0.7618882656097412, -0.18767932057380676, 0.052588265389204025, -0.30228349566459656, 0.5971012115478516, -0.33532848954200745, -0.4613424241542816, -0.21331457793712616, 0.0860079899430275, 0.3759397566318512, 0.6883931159973145, -0.4286283850669861, 0.6904740929603577, 0.5547788143157959, 0.036618925631046295, -0.6036519408226013, -0.5534046292304993, -0.12796719372272491, 0.007590055465698242, -0.7092443704605103, 0.34828048944473267, 0.29763931035995483, 0.011834274046123028, 0.4486975073814392, 0.10559694468975067, -0.11102821677923203, -0.02056962251663208, 0.24282360076904297, 0.5053244829177856, -0.16484791040420532, 0.25269851088523865, -0.18238723278045654, -0.09113685041666031, -0.2969073951244354, -0.5734342932701111, 0.8241389393806458, 0.24048705399036407, -0.6460902094841003, -0.35703030228614807, 0.26626700162887573, 0.36279550194740295, -0.4305846691131592, 0.97613924741745, 0.5172903537750244, -0.39357560873031616, -0.5097895264625549, -0.5926967859268188, -0.135635107755661, -0.43849658966064453, 0.4983483552932739, -0.24730385839939117, -1.1435573101043701, 0.26047971844673157, -0.28108805418014526, 0.18054665625095367, 0.3103351294994354, 0.6412366628646851, 0.01870102621614933, 0.9311439990997314, 0.8534498810768127, 0.16038642823696136, 0.5880184173583984, -0.6472634077072144, 0.3239409625530243, -0.7996216416358948, -0.3930078446865082, -0.26840099692344666, -0.11440050601959229, -0.02832644432783127, -0.7840534448623657, 0.12086851894855499, 0.06747329980134964, -0.45196768641471863, 0.25176870822906494, -0.39261940121650696, 0.4475964605808258, 0.15029317140579224, 0.05117039382457733, 0.28803589940071106, 0.2587434947490692, -0.010435499250888824, 0.3248465657234192, -0.8285244703292847, -0.3307856023311615, 1.3141454458236694, 0.14136923849582672, 0.8967604041099548, -0.07547295838594437, 0.6617209911346436, 0.1376389116048813, 0.2827617824077606, -0.9869050979614258, 0.6109121441841125, -0.5641283392906189, -0.45445966720581055, -0.5013878345489502, -0.35333001613616943, -0.9563988447189331, 0.29227617383003235, -0.34992244839668274, -0.6860837340354919, -0.03383278101682663, 0.11247452348470688, -0.23907846212387085, 0.6785207390785217, -0.5272292494773865, 0.8544663190841675, -0.21196064352989197, -0.3090556561946869, -0.30350029468536377, -0.04288076236844063, 0.33317965269088745, -0.4338207244873047, 0.07191744446754456, -0.43528929352760315, -0.040446650236845016, 0.5993097424507141, -0.37584659457206726, 0.849348783493042, -0.3829212784767151, -0.2955004870891571, 0.47791916131973267, 0.13446354866027832, 0.3878217041492462, -0.5500377416610718, -0.011078473180532455, 0.5844736695289612, -0.2814563810825348, -0.21391014754772186, -0.5929532051086426, 0.6701916456222534, -0.8305583000183105, -0.7137165665626526, -0.22396530210971832, -0.5291664600372314, -0.31777122616767883, 0.18953152000904083, -0.07721227407455444, 0.6943212747573853, 0.13523957133293152, 0.21863572299480438, 0.6792649030685425, -0.4566018581390381, 0.12815025448799133, 0.8017589449882507, -0.47498583793640137, 0.10477566719055176, 1.0596528053283691, 0.3262629806995392, 0.3971033990383148, 0.43097755312919617, -0.12418712675571442, -0.3286224603652954, -0.7409628033638, -0.4630995988845825, 0.42538967728614807, -0.7925333976745605, -0.4777020812034607, -0.7361617684364319, -0.39259007573127747, -0.5209211707115173, -0.43172362446784973, -0.39513862133026123, -0.0203903466463089, -0.3517805337905884, -0.08641137182712555, 0.43330681324005127, 0.8158115744590759, 0.23316024243831635, 0.3023304343223572, -0.8313353061676025, 0.2822783887386322, 0.3150567412376404, 0.6429639458656311, 0.1930835247039795, -0.546023428440094, -0.5905308723449707, -0.15291419625282288, -0.07137060165405273, -0.6288045048713684, 0.46287110447883606, 0.2939126491546631, 0.6437302231788635, 0.5003699660301208, 0.159465029835701, 0.6762344241142273, -0.6298874616622925, 0.7709285616874695, 0.46093764901161194, -0.8405513763427734, 0.559228241443634, -0.2231854945421219, 0.21074357628822327, -0.09918028861284256, 0.4864221513271332, -0.42782577872276306, -0.5116389393806458, -0.2710161507129669, -0.8742345571517944, 0.8794974088668823, -0.3082481622695923, 0.2989569306373596, -0.11310883611440659, 0.40699365735054016, -0.09615486115217209, 0.15915094316005707, -0.20827840268611908, -0.18925637006759644, -0.06353869289159775, -0.21256554126739502, -0.07678013294935226, -0.094763845205307, -0.14182521402835846, -0.047604382038116455, 0.4953916668891907, -0.2800336480140686, 0.23699218034744263, -0.004713588394224644, -0.4395260512828827, -0.09030672162771225, -0.01766519993543625, 0.32521218061447144, 0.4989739656448364, -0.10455761849880219, 0.07535646855831146, 0.25678932666778564, -0.14607755839824677, 0.16890469193458557, -0.2751353979110718, -0.16934305429458618, -0.2937241792678833, 0.370100736618042, 0.8931726217269897, 0.1275368332862854, -0.7153313755989075, 0.7135052680969238, 0.2804121971130371, -0.3678167164325714, -0.19915500283241272, 0.39421895146369934, -0.07114458084106445, 0.28366097807884216, 0.23261478543281555, -0.22063565254211426, -0.04932878166437149, -0.5576731562614441, 0.34335094690322876, 0.7045630812644958, -0.28924939036369324, -0.2138735055923462, 0.31937360763549805, 0.1929055154323578, 0.13392961025238037, 0.6875265836715698, 0.05564809590578079, -0.517386794090271, 0.37767452001571655, 0.6113424301147461, 0.611428439617157, -0.1691504269838333, 0.28625279664993286, 0.224799245595932, -0.05389454960823059, 0.2684324085712433, 0.048203468322753906, -0.053158972412347794, -1.2818057537078857, -0.8365683555603027, -0.9530842900276184, -0.43257999420166016, -0.11209196597337723, -0.35730740427970886, 0.3820335566997528, -0.4896545708179474, -0.1156671866774559, -0.08352624624967575, -0.09718404710292816, -1.083365797996521, 0.38232266902923584, 0.45030975341796875, 0.7420784831047058, -0.9122650623321533, 0.9859341382980347, 0.7804046273231506, -0.3685366213321686, -0.8346710801124573, -0.41986629366874695, -0.14556719362735748, -1.0168676376342773, 0.8725659847259521, -0.12058763951063156, -0.20476992428302765, 0.1697283685207367, -0.2969394624233246, -0.9315608739852905, 1.1585444211959839, 0.40169867873191833, -0.5146906971931458, 0.03132731467485428, 0.4443492293357849, 0.40174853801727295, -0.5928228497505188, -0.0373174250125885, 0.3889007270336151, 0.15365533530712128, 0.4872126877307892, -0.7245873808860779, 0.015511003322899342, 0.18638797104358673, -0.06896189600229263, 0.3515649437904358, -0.4849376976490021, 0.6880362629890442, -0.18800589442253113, -0.4763171076774597, -0.4576568305492401, 0.5574227571487427, -0.017842303961515427, 0.11084997653961182, 0.45591527223587036, 0.835821270942688, 0.6306357383728027, -0.03362464904785156, 1.0721209049224854, -0.5553834438323975, 0.23800921440124512, 0.7981461882591248, -0.6823223233222961, 1.0614979267120361, 0.18211199343204498, 0.010125282220542431, 0.6133485436439514, 0.19904088973999023, -0.2302338033914566, 0.4579954147338867, 0.17958657443523407, -0.41190460324287415, -0.5207628607749939, -0.5580875277519226, -0.2713187634944916, 0.6640622019767761, 0.4890040457248688, -0.27679216861724854, -0.27037274837493896, 0.17788293957710266, -0.09312404692173004, -0.2843119204044342, -0.4474106431007385, 1.0290167331695557, 0.0075677186250686646, -0.40295228362083435, 0.4790195822715759, -0.09968166053295135, 0.8031153082847595, -0.7191962599754333, 0.01376006007194519, 0.03120516613125801, 0.24802708625793457, -0.440852552652359, -1.0490524768829346, 0.5072572827339172, 0.26105740666389465, 0.009983005933463573, -0.15588684380054474, 0.9955672025680542, -0.6071393489837646, -0.23788784444332123, 0.4769022762775421, 0.48937752842903137, 0.2472349852323532, -0.05339847877621651, -0.21789425611495972, 0.19255678355693817, -0.012299032881855965, -0.1111561506986618, 0.5505913496017456, 0.19871164858341217, 0.20284110307693481, 0.5869317650794983, 0.7970870137214661, 0.2517619729042053, 0.06231370195746422, 0.1687536984682083, 1.0020930767059326, -0.6160129308700562, -0.07982324808835983, -0.6895964741706848, 0.5662907958030701, 0.02658676914870739, 0.1690986603498459, 0.6333995461463928, 0.46928852796554565, 1.064571738243103, -0.18983182311058044, 0.8972404599189758, 0.09122544527053833, 0.32989808917045593, -0.5161921977996826, 0.701579749584198, -0.8315965533256531, 0.07702857255935669, -0.1466466337442398, -1.0202158689498901, -0.6028435230255127, 0.3788270950317383, -0.4326944649219513, -0.22955916821956635, 0.3385823965072632, 0.7042444944381714, 0.0868716686964035, -0.4319465458393097, 0.9898996949195862, 0.038715071976184845, 0.4187610149383545, 0.5569334030151367, 0.8035223484039307, -0.047256238758563995, 0.587875485420227, -0.18708749115467072, -0.07378998398780823, -0.2843327522277832, -0.8564872741699219, -0.8278367519378662, -0.4216705858707428, -0.6266636252403259, 0.028075246140360832, -0.18227441608905792, 0.6486813426017761, 0.8783184289932251, -0.6029043197631836, -0.1280381679534912, 0.2783381938934326, -0.010154839605093002, 0.3798733651638031, -0.17542974650859833, 0.31089749932289124, -0.3252771496772766, -0.6709194183349609, 0.24118293821811676, 0.549261212348938, 0.11735734343528748, -0.37493616342544556, -0.04269913211464882, 0.09025410562753677, 0.17609503865242004, 0.8633567094802856, 0.21377195417881012, -0.6464501619338989, -0.5780274868011475, 0.02348196879029274, 0.08646737784147263, -0.16032984852790833, 0.6509801149368286, -0.885095477104187, 0.5462778806686401, 0.39676743745803833, 0.7678878903388977, 0.6741597652435303, -0.0682169497013092, 0.5462814569473267, -0.8513041138648987, 0.20470069348812103, 0.09733469039201736, 0.5511826276779175, 0.46672648191452026, -0.1500069797039032, 0.35944864153862, 0.13381600379943848, -0.4462589919567108, -0.7189766764640808, 0.39946550130844116, -0.8187869191169739, -0.4638573229312897, 1.1420515775680542, -0.4076305627822876, -0.3428220748901367, -0.19972237944602966, 0.08616582304239273, 0.4830634295940399, -0.10806309431791306, 0.3770788013935089, 0.5022679567337036, -0.36936715245246887, -0.17679589986801147, -0.19807381927967072, 0.16538196802139282, 0.040461812168359756, -0.717010498046875, 0.0033004104625433683, 0.6723483800888062, 0.497938334941864, 0.31445732712745667, 0.4734574854373932, -0.10496754944324493, -0.03665577247738838, 0.14367102086544037, 0.30470919609069824, -0.39729762077331543, -0.4493711590766907, -0.26347899436950684, 0.43500253558158875, 0.19714201986789703, 0.008862311951816082 ]
http://arxiv.org/abs/2403.12145v1
http://arxiv.org/pdf/2403.12145v1
Syn-QA2: Evaluating False Assumptions in Long-tail Questions with Synthetic QA Datasets
2024-03-18T18:01:26
2024-03-18T18:01:26
Ashwin Daswani, Rohan Sawant, Najoung Kim
cs.CL
cs.CL
Sensitivity to false assumptions (or false premises) in information-seeking questions is critical for robust question-answering (QA) systems. Recent work has shown that false assumptions in naturally occurring questions pose challenges to current models, with low performance on both generative QA and simple detection tasks (Kim et al. 2023). However, the focus of existing work on naturally occurring questions leads to a gap in the analysis of model behavior on the long tail of the distribution of possible questions. To this end, we introduce Syn-(QA)$^2$, a set of two synthetically generated QA datasets: one generated using perturbed relations from Wikidata, and the other by perturbing HotpotQA (Yang et al. 2018). Our findings from evaluating a range of large language models are threefold: (1) false assumptions in QA are challenging, echoing the findings of prior work, (2) the binary detection task is challenging even compared to the difficulty of generative QA itself, possibly due to the linguistic structure of the problem, and (3) the detection task is more challenging with long-tail questions compared to naturally occurring questions, highlighting the utility of our synthetic datasets and generation method.
[ -0.27271953225135803, -1.1033128499984741, 0.765102207660675, 0.10348798334598541, -0.05665453523397446, -0.06731051951646805, 0.02927391603589058, -0.6591325402259827, 0.1744656264781952, 0.3355462849140167, -0.7648202776908875, -0.020130231976509094, -0.2570274770259857, 0.31312981247901917, -0.3373432159423828, 0.8433902263641357, 0.046862661838531494, -0.17432183027267456, -0.2581251561641693, -0.2841346561908722, -0.49011361598968506, -0.4576849341392517, -0.5362982749938965, 0.17020732164382935, 0.5132275819778442, 0.13545739650726318, 1.0545343160629272, 0.07297837734222412, 0.28585734963417053, 0.19848108291625977, -0.0507013201713562, 0.05315754562616348, -0.48692381381988525, 0.4407484233379364, -0.3425397574901581, -0.9006181359291077, -0.0014147231122478843, -0.01423362921923399, 0.7560842037200928, 0.5890200734138489, 0.06861986219882965, 0.6072395443916321, -0.27911436557769775, 0.5718879699707031, -0.7370595932006836, -0.041956111788749695, -0.8169938921928406, -0.26205626130104065, -0.3205406069755554, 0.0747620090842247, -0.2967119812965393, -0.2722242772579193, 0.11021222174167633, -0.6539960503578186, 0.3771519660949707, -0.01339787058532238, 0.9432533383369446, 0.2321571409702301, -0.6721976399421692, -0.24453367292881012, -0.9790948033332825, 0.6449897289276123, -0.620433509349823, 0.3431984782218933, 0.39786970615386963, 0.45925188064575195, -0.34825170040130615, -0.7245763540267944, -1.0913307666778564, 0.2201836109161377, 0.06738483905792236, -0.034379344433546066, -0.5431655645370483, -0.19229210913181305, 0.671090304851532, 0.1699281632900238, -0.8304770588874817, 0.01773827336728573, -0.4321152865886688, -0.3142627477645874, 0.6449944376945496, 0.1451813280582428, 0.3130422830581665, -0.3256393074989319, -0.18516282737255096, -0.24500879645347595, -0.6101945638656616, 0.1607794165611267, 0.7212634086608887, 0.12528888881206512, -0.01229971181601286, 0.6478066444396973, -0.1140165701508522, 0.4760800004005432, 0.1465648114681244, 0.17819294333457947, 0.22292454540729523, -0.6848848462104797, 0.11763934046030045, -0.33540332317352295, 0.6817628741264343, 0.24584589898586273, 0.15511785447597504, -0.021251214668154716, -0.31870296597480774, 0.38678139448165894, 0.20095989108085632, -0.4469076097011566, -0.29747286438941956, 0.49186694622039795, -0.2460174262523651, -0.20324404537677765, 0.03496198728680611, -0.8478413224220276, -0.26077014207839966, -0.11292638629674911, 0.666608452796936, 0.060136426240205765, -0.649899423122406, -0.08148693293333054, -0.3150501549243927, 0.5528737306594849, 0.08543921262025833, -0.5039886236190796, 0.5174670815467834, 0.6258143782615662, 0.3699570596218109, -0.05715779587626457, -0.02233065664768219, -0.41987910866737366, -0.2727617025375366, -0.5873863101005554, 0.9038141965866089, -0.4338682293891907, -0.10563113540410995, -0.17971712350845337, 0.13953863084316254, -0.06948517262935638, -0.6426420211791992, 0.4729272425174713, -0.7774892449378967, 0.6283849477767944, -0.6003904938697815, -0.3546353876590729, -0.12412756681442261, 0.3089849054813385, -0.7765467166900635, 1.2520182132720947, 0.5245508551597595, -0.9639410972595215, 0.1870419979095459, -0.3689318597316742, -0.24128559231758118, -0.13846738636493683, -0.09045813977718353, -0.40101897716522217, -0.023732177913188934, -0.03985556960105896, -0.2184121310710907, -0.4305833876132965, 0.21627317368984222, -0.39143529534339905, -0.25739288330078125, 0.4005643427371979, -0.511808454990387, 0.9031503796577454, 0.059784576296806335, -0.4810270071029663, -0.13023820519447327, -0.6581841707229614, 0.3832469880580902, 0.3745659291744232, 0.1494576781988144, -0.5204001069068909, -0.030431734398007393, -0.006946756038814783, 0.5194896459579468, 0.17519232630729675, -0.521151602268219, -0.043776798993349075, -0.6008032560348511, 0.1577608585357666, 0.4968911409378052, 0.2678520679473877, 0.03427336737513542, -0.16373617947101593, 0.7610399723052979, 0.12102966010570526, 0.11580348759889603, 0.138209730386734, -0.6751806139945984, -0.4210871756076813, 0.3954167664051056, 0.26937565207481384, 0.60944002866745, -0.9589487314224243, 0.24961531162261963, 0.0222258772701025, -0.371056467294693, -0.5310599207878113, 0.14380860328674316, 0.45416155457496643, 0.46158862113952637, 0.35570815205574036, -0.06803157180547714, -0.5967935919761658, -1.0872859954833984, -0.42934566736221313, -0.5243995189666748, -0.024924717843532562, 0.18041802942752838, 0.6010681390762329, -0.07651691138744354, 0.9611275792121887, -0.4143635332584381, 0.35164812207221985, -0.14288733899593353, -0.0006764343706890941, 0.21156728267669678, 0.2740379273891449, 0.5884537100791931, -1.122480869293213, -0.4331100881099701, -0.642653226852417, -0.6647108793258667, 0.04070119932293892, 0.026962094008922577, -0.09325803071260452, 0.34704554080963135, 0.1066892072558403, -1.2176471948623657, 0.44015419483184814, 0.5804661512374878, -0.490302711725235, 0.7843564748764038, 0.2433462142944336, -0.0376703180372715, -1.2504509687423706, 0.27209603786468506, 0.016129950061440468, 0.0219732653349638, -0.7537454962730408, 0.24470509588718414, 0.05325881391763687, -0.07540934532880783, -0.30853062868118286, 0.5748783349990845, -0.32036760449409485, -0.19377848505973816, -0.20595215260982513, 0.03111974149942398, 0.12387914955615997, 0.3753216564655304, -0.021617939695715904, 0.7012534141540527, 0.4007897973060608, -0.40336716175079346, 0.4131845235824585, 0.340243399143219, -0.20690740644931793, 0.2746273875236511, -0.8281134366989136, 0.45166879892349243, -0.18874280154705048, 0.4331215023994446, -1.1905288696289062, -0.3538172245025635, 0.4033944606781006, -0.6128635406494141, 0.1292642056941986, -0.12473776936531067, -0.7341988682746887, -0.5188947916030884, -0.36959102749824524, 0.7203525900840759, 0.6267397403717041, -0.44084447622299194, 0.3163164556026459, 0.3481663465499878, -0.14003431797027588, -0.5786080956459045, -0.3162009119987488, -0.02354421280324459, -0.0859944224357605, -0.7491178512573242, -0.051059529185295105, 0.18948355317115784, -0.5745490193367004, 0.11713728308677673, -0.4620484411716461, -0.0699889212846756, 0.2713260054588318, 0.13363783061504364, 0.3043939173221588, -0.46977439522743225, 0.20881080627441406, 0.020870249718427658, -0.047706857323646545, 0.5926328301429749, -0.15551580488681793, 0.3600058853626251, 0.11182539910078049, -0.1796691119670868, -0.5732248425483704, 0.27370789647102356, 0.45199960470199585, -0.2832503318786621, 0.5474159121513367, 0.5423044562339783, -0.5753575563430786, -0.1483868956565857, -0.5515429973602295, -0.57065749168396, -0.4298272132873535, 0.3642518222332001, -0.4334307014942169, -0.554793655872345, 0.49587512016296387, 0.3194616436958313, -0.03245595842599869, 0.816088855266571, 0.4300300180912018, -0.3552529513835907, 1.128125548362732, 0.3325185775756836, 0.1431867629289627, -0.14027360081672668, -0.18279343843460083, 0.4002892076969147, -0.5958418846130371, -0.19973814487457275, -0.6610962152481079, -0.15520811080932617, -0.9646059274673462, -0.534988284111023, 0.47612887620925903, 0.1229507178068161, -0.04564706236124039, 0.29520711302757263, -0.05069908872246742, 0.36699768900871277, 0.5575168132781982, 0.04036201164126396, 0.06086500734090805, -0.24735265970230103, 0.35746195912361145, 0.21325919032096863, -0.7757989764213562, -0.44538038969039917, 1.224496841430664, 0.45978283882141113, 0.5533585548400879, 0.3050578534603119, 0.30183646082878113, 0.10731563717126846, -0.22340774536132812, -0.6904547810554504, 0.3191092908382416, 0.17969544231891632, -1.006385326385498, -0.49738430976867676, -0.48158395290374756, -0.9510371685028076, 0.1214321106672287, -0.3383454978466034, -0.6209322810173035, 0.28297868371009827, 0.2708176076412201, -0.4734826683998108, 0.23750074207782745, -0.6796274185180664, 0.9638360142707825, 0.049046993255615234, -0.410884290933609, -0.19310961663722992, -0.9932239055633545, 0.4542679786682129, -0.12544874846935272, -0.01752234250307083, -0.12064320594072342, 0.2113199532032013, 0.7498125433921814, -0.11928193271160126, 0.7045997381210327, -0.3553728759288788, -0.3024177551269531, 0.8508898615837097, 0.4133378565311432, 0.8900544047355652, 0.17432960867881775, -0.06140148267149925, -0.17185552418231964, 0.6362186074256897, -0.6391072273254395, -0.9533405900001526, 0.3471270203590393, -0.5823139548301697, -0.7512339353561401, -0.5036142468452454, -0.4100239872932434, -0.5069369077682495, 0.1975349485874176, 0.2507893741130829, 0.3748268783092499, 0.04065370559692383, 0.015655869618058205, 0.5772508978843689, -0.33417022228240967, -0.07345335185527802, 0.39555707573890686, -0.0834377184510231, 0.06035466119647026, 0.767162561416626, 0.13566088676452637, 0.48551231622695923, 0.11776016652584076, 0.04625644162297249, -0.6979162096977234, -0.483964204788208, -0.30508750677108765, 0.3426167666912079, -0.4411914646625519, -0.06268811970949173, -0.5638980269432068, -0.13170838356018066, -0.47246164083480835, 0.5627509951591492, -0.27060753107070923, -0.6149535775184631, -0.18317660689353943, -0.12425802648067474, -0.00673520565032959, 0.5207176208496094, 0.12890169024467468, -0.2953738570213318, -0.6322450637817383, 0.8131713271141052, 0.31948480010032654, 0.08991282433271408, -0.24980509281158447, -0.49577027559280396, 0.05118795856833458, 0.3441389501094818, -0.18018269538879395, -0.959979236125946, 0.08583109080791473, -0.07064153254032135, 0.3306349813938141, 0.10459617525339127, 0.4388934373855591, 0.36155593395233154, -0.07310004532337189, 0.929639995098114, -0.09267815947532654, -0.5555899143218994, 0.5720741152763367, -0.36855077743530273, 0.17834869027137756, 0.46423569321632385, 0.7447361946105957, -0.35526666045188904, -0.46199968457221985, -0.9114508628845215, -0.5826783180236816, 0.4461583197116852, 0.3814207911491394, 0.29924631118774414, -0.08976339548826218, 0.4821389317512512, 0.20587486028671265, 0.07268916070461273, -0.39583706855773926, -0.3092770576477051, -0.04427799955010414, -0.06351582705974579, 0.08286844938993454, -0.5649763941764832, -0.08862540870904922, 0.010419530794024467, 0.46907931566238403, -0.3533988893032074, 0.2543702721595764, 0.18770307302474976, 0.05171738192439079, -0.46102267503738403, 0.2593623697757721, 0.28129708766937256, 0.7422741651535034, -0.23908798396587372, 0.12247562408447266, 0.11646900326013565, -0.24996531009674072, 0.13246431946754456, 0.005177824757993221, -0.4709368646144867, 0.0818740501999855, 0.3542536497116089, 0.6601514220237732, -0.18221737444400787, -0.6718931794166565, 0.5504958033561707, 0.12616291642189026, -0.08837949484586716, -0.5316861867904663, -0.0005071060732007027, -0.07765789330005646, 0.09949694573879242, 0.4245171844959259, 0.13150636851787567, 0.35858970880508423, -0.9354100823402405, 0.2614845633506775, 0.5616669654846191, -0.1851591318845749, -0.9263209700584412, 0.5488576292991638, 0.046233296394348145, -0.09076468646526337, 0.8984559774398804, -0.29887324571609497, -0.7153917551040649, 0.8328269124031067, 0.6275052428245544, 0.656817615032196, 0.09015487134456635, 0.32321345806121826, 0.5554203391075134, 0.2993238568305969, 0.035923078656196594, 0.6666898727416992, 0.11077974736690521, -0.8436639308929443, -0.29756927490234375, -0.31313204765319824, -0.30664992332458496, 0.2990666925907135, -0.8128731846809387, 0.13414044678211212, -0.3195294737815857, -0.4513854384422302, 0.1811080276966095, 0.20351137220859528, -0.5887906551361084, 0.2294623851776123, 0.016673976555466652, 0.9177294969558716, -0.8514131903648376, 0.5196450352668762, 0.4610406160354614, -0.3578437268733978, -0.8398545980453491, 0.3431686460971832, 0.10161511600017548, -0.45098525285720825, 0.5342066884040833, 0.0030730171129107475, 0.0942031592130661, -0.1777494102716446, -0.5759912133216858, -1.0040889978408813, 0.8205668926239014, 0.37359583377838135, -0.4005025029182434, -0.36865875124931335, 0.15019774436950684, 0.7569412589073181, 0.24931062757968903, 0.14023740589618683, 0.6350142359733582, 0.5083176493644714, -0.051665253937244415, -1.0303112268447876, 0.24738562107086182, -0.3682548999786377, -0.26639628410339355, 0.32553279399871826, -0.7543938755989075, 0.7091253995895386, -0.5440062880516052, -0.5821295380592346, 0.2664659321308136, 0.4937075078487396, 0.3549838066101074, 0.6671064496040344, 0.668311357498169, 0.3846198618412018, 0.635360062122345, -0.1525549441576004, 1.0632238388061523, -0.1944078952074051, 0.35874706506729126, 1.0925871133804321, -0.4305250644683838, 0.8507043719291687, 0.6519104838371277, -0.5145266056060791, 0.5794827342033386, 0.7248347997665405, -0.05970504507422447, 0.11802119016647339, 0.2612875699996948, -0.04171539843082428, -0.3111502528190613, -0.09879623353481293, -0.3772403299808502, 0.48717400431632996, 0.35445737838745117, 0.09773297607898712, -0.2299482375383377, -0.38372835516929626, -0.3441539406776428, 0.14667432010173798, 0.16969166696071625, 0.6325637698173523, 0.0029406778048723936, -0.723747193813324, 0.5551238656044006, -0.06794839352369308, 0.357205867767334, -0.5122308135032654, -0.19035372138023376, -0.3203730881214142, -0.33491015434265137, -0.2052123248577118, -0.9138548970222473, 0.35772398114204407, -0.0015886477194726467, -0.2887214720249176, 0.37070563435554504, 0.7219319939613342, -0.3526504933834076, -0.3964671492576599, 0.11417482048273087, 0.6150051951408386, 0.1717054396867752, -0.28760048747062683, -0.6637539267539978, -0.15363389253616333, -0.11251553148031235, -0.40963855385780334, 0.11510559916496277, 0.39594560861587524, -0.3891458213329315, 0.6825043559074402, 0.7373025417327881, -0.03143179044127464, 0.06525885313749313, -0.31461101770401, 0.7189494371414185, -0.5661182999610901, -0.3935803174972534, -0.3482402265071869, 0.2713991105556488, 0.11518808454275131, -0.3529331684112549, 0.7345373034477234, 0.5979974865913391, 0.7528818249702454, 0.01374020241200924, 0.7139802575111389, -0.19507278501987457, 0.7584536671638489, -0.5448288917541504, 0.4105849266052246, -0.36418890953063965, 0.17158803343772888, 0.029888084158301353, -1.159686803817749, 0.15202416479587555, 0.07565872371196747, -0.3048560917377472, 0.0735175833106041, 0.6529141068458557, 0.9602733254432678, -0.027493661269545555, -0.0110719483345747, 0.09938597679138184, 0.3730742931365967, 0.12440484017133713, 0.6315643787384033, 0.942882239818573, -0.8306213617324829, 0.34430497884750366, -0.48364731669425964, 0.2861291170120239, 0.03904227167367935, -0.2917402684688568, -0.5542383193969727, -0.787785530090332, -0.33310666680336, -0.8793195486068726, 0.12166246771812439, 0.9533199667930603, 0.347394198179245, -1.1174335479736328, 0.1630614548921585, 0.0676637813448906, 0.20333300530910492, -0.16413015127182007, -0.30365878343582153, 0.5252213478088379, -0.18680556118488312, -0.5912733674049377, 0.36475813388824463, -0.16694709658622742, 0.1802157312631607, -0.39888331294059753, 0.1156654879450798, -0.1723618507385254, 0.13541360199451447, 0.40354570746421814, 0.6844552755355835, -0.6174360513687134, -0.40410149097442627, 0.17248255014419556, -0.1486641764640808, -0.1742158681154251, 0.5661476254463196, -0.8816556334495544, 0.38152697682380676, 0.6089907288551331, 0.5512470602989197, 0.3388075530529022, 0.23553717136383057, 0.7114765644073486, -0.4942246675491333, -0.05731814354658127, 0.5405085682868958, -0.18039065599441528, 0.0852888822555542, -0.45214515924453735, 0.4667852222919464, 0.5072126388549805, -0.110111303627491, -1.2264798879623413, 0.25994089245796204, -0.867140531539917, -0.19308342039585114, 1.2696822881698608, 0.0596863329410553, -0.16776059567928314, -0.24387747049331665, 0.05187540873885155, 0.10193284600973129, 0.011725696735084057, 0.9127997159957886, 0.4689316749572754, -0.03655441105365753, 0.11851577460765839, -0.6141994595527649, 0.6105361580848694, 0.5949525833129883, -0.7424642443656921, 0.054968539625406265, 0.5226926803588867, 0.5453246235847473, 0.20726867020130157, 0.3991818428039551, -0.11579398810863495, 0.7921739816665649, 0.2451629936695099, -0.325936883687973, 0.16514065861701965, -0.3026805818080902, -0.15243591368198395, 0.2691726088523865, 0.07185793668031693, -0.15780343115329742 ]
http://arxiv.org/abs/2403.12027v2
http://arxiv.org/pdf/2403.12027v2
From Pixels to Insights: A Survey on Automatic Chart Understanding in the Era of Large Foundation Models
2024-03-18T17:57:09
2024-03-25T17:39:10
Kung-Hsiang Huang, Hou Pong Chan, Yi R. Fung, Haoyi Qiu, Mingyang Zhou, Shafiq Joty, Shih-Fu Chang, Heng Ji
cs.CL
cs.CL, cs.AI, cs.CV
Data visualization in the form of charts plays a pivotal role in data analysis, offering critical insights and aiding in informed decision-making. Automatic chart understanding has witnessed significant advancements with the rise of large foundation models in recent years. Foundation models, such as large language models, have revolutionized various natural language processing tasks and are increasingly being applied to chart understanding tasks. This survey paper provides a comprehensive overview of the recent developments, challenges, and future directions in chart understanding within the context of these foundation models. We review fundamental building blocks crucial for studying chart understanding tasks. Additionally, we explore various tasks and their evaluation metrics and sources of both charts and textual inputs. Various modeling strategies are then examined, encompassing both classification-based and generation-based approaches, along with tool augmentation techniques that enhance chart understanding performance. Furthermore, we discuss the state-of-the-art performance of each task and discuss how we can improve the performance. Challenges and future directions are addressed, highlighting the importance of several topics, such as domain-specific charts, lack of efforts in developing evaluation metrics, and agent-oriented settings. This survey paper serves as a comprehensive resource for researchers and practitioners in the fields of natural language processing, computer vision, and data analysis, providing valuable insights and directions for future research in chart understanding leveraging large foundation models. The studies mentioned in this paper, along with emerging new research, will be continually updated at: https://github.com/khuangaf/Awesome-Chart-Understanding.
[ -0.4247898459434509, -0.890397310256958, 0.6638021469116211, 0.043099306523799896, -0.24413183331489563, 0.13352109491825104, 0.031351134181022644, -0.7936595678329468, -0.07418855279684067, 0.7339967489242554, -0.6120274662971497, -0.7745034098625183, -0.9849056601524353, -0.10049033910036087, -0.6342769265174866, 0.6274583339691162, -0.1785999834537506, 0.012925341725349426, -0.255342572927475, 0.003455948084592819, -0.5775900483131409, -0.20974300801753998, -0.6375333666801453, -0.15650758147239685, 0.024148903787136078, 0.6313384771347046, 0.7341271638870239, 0.8936088681221008, 0.6488305926322937, 0.38390281796455383, 0.09146186709403992, 0.06922252476215363, -0.746503472328186, 0.15908177196979523, 0.10042613744735718, -0.3374916613101959, -0.5341898798942566, 0.10565097630023956, 0.5485574007034302, 1.0901299715042114, 0.4034721255302429, 0.12679050862789154, -0.1334688365459442, 0.9954228401184082, -0.6795130968093872, 0.8982173800468445, -0.1753171682357788, 0.2650085985660553, 0.05537475273013115, -0.179547518491745, -0.49310630559921265, -0.2908201515674591, 0.5239136815071106, -0.7298343777656555, 0.44755831360816956, -0.12342115491628647, 0.6732609272003174, 0.28268542885780334, -0.8036640286445618, -0.6780986785888672, -0.5982744693756104, 0.5140923857688904, -0.18097977340221405, 0.480733186006546, 0.4422592520713806, 0.8376142978668213, 0.09875425696372986, -1.1447032690048218, -0.11803390830755234, 0.02166157402098179, -0.17325101792812347, 0.0887988954782486, -0.6405876278877258, -0.08870860934257507, -0.0900915116071701, 0.5506811738014221, -0.4068213403224945, 0.18432165682315826, -0.16789036989212036, -0.20964780449867249, 0.8096029758453369, 0.31364065408706665, 0.39215531945228577, -0.32669806480407715, -0.17757639288902283, -0.2884458899497986, -0.42023006081581116, 0.20943626761436462, -0.030010845512151718, 0.16525781154632568, -0.3669079542160034, 0.29818975925445557, -0.2998843193054199, 1.1029255390167236, 0.08061635494232178, 0.24276909232139587, -0.07494291663169861, -0.47321850061416626, -0.331364244222641, -0.2518330514431, 0.5976945161819458, 0.3351466655731201, 0.4219059944152832, -0.37736886739730835, -0.09383465349674225, -0.00785865169018507, 0.2973577380180359, -0.854348361492157, -0.6459403038024902, -0.044648557901382446, -0.48643073439598083, -0.3096398115158081, 0.05980052798986435, -0.837662398815155, -1.0433281660079956, -0.7514147758483887, 0.07314649969339371, -0.4606650471687317, -0.20716366171836853, 0.006501502823084593, -0.1122509017586708, -0.055261727422475815, 0.6968072056770325, -0.6672617793083191, 0.31665459275245667, 0.7517041563987732, 0.8575760126113892, 0.0019012074917554855, -0.05987151339650154, -0.4594217836856842, -0.10342184454202652, -0.6626439094543457, 0.8566398620605469, -0.6392848491668701, -0.28537335991859436, -0.13481265306472778, 0.036457985639572144, -0.14677682518959045, -0.27115538716316223, 0.24881994724273682, -0.5918563604354858, -0.20502670109272003, -0.2847573459148407, -0.7257770299911499, -0.5790481567382812, 0.12392950057983398, -0.8381238579750061, 0.4311155378818512, 0.031092828139662743, -0.3040600121021271, 0.5496252179145813, -0.9047635197639465, -0.3028637170791626, 0.03242270648479462, -0.41769176721572876, -0.3121865391731262, 0.008524160832166672, 0.514960527420044, 0.8476872444152832, -0.37928327918052673, 0.17964968085289001, -0.044945649802684784, -0.20827332139015198, 0.1465383768081665, -0.13503260910511017, 0.6722381711006165, 0.21586184203624725, -0.628860354423523, 0.33421197533607483, -0.68711256980896, -0.048925139009952545, 0.4218025803565979, 0.4230794310569763, 0.23917120695114136, 0.24810606241226196, 0.2296372801065445, -0.011271175928413868, 0.06286309659481049, 0.01717480458319187, -0.08507979661226273, -0.209907665848732, 0.6458315849304199, 0.711887001991272, 0.1461639404296875, 0.6166157722473145, 0.09645342081785202, 0.7991579174995422, -0.1488407403230667, 0.06679791212081909, -0.4533614218235016, -0.5745058059692383, -0.5516530275344849, -0.22294464707374573, 0.1555025279521942, -0.007960246875882149, -0.31489434838294983, 0.5154014229774475, -0.7056751847267151, -0.8398744463920593, -0.13793149590492249, -0.019317835569381714, 0.06272340565919876, 0.5902077555656433, 0.2120790034532547, -0.5884238481521606, -0.35137930512428284, -0.7698094844818115, 0.013452548533678055, -0.006775618996471167, 0.3844563364982605, 0.5229411125183105, 0.523298442363739, -0.20576146245002747, 1.3865907192230225, -0.7118024230003357, -0.17588068544864655, -0.4355405867099762, 0.49057233333587646, -0.11877256631851196, 0.20860986411571503, 1.002832055091858, -1.045287013053894, -0.6495426297187805, 0.09254449605941772, -0.5113037824630737, 0.1325262486934662, -0.13095305860042572, -0.29589974880218506, -0.18919916450977325, 0.442838579416275, -0.27518323063850403, 0.7868372201919556, 0.39321088790893555, -0.8781071305274963, 0.36681053042411804, 0.15287341177463531, 0.2782382071018219, -0.42816632986068726, 0.23401711881160736, 0.1813451647758484, -0.2939162254333496, -0.7012960910797119, 0.07109839469194412, 0.2835763990879059, -0.4036281704902649, 0.23816101253032684, 0.37928977608680725, -0.7031344771385193, -0.33694514632225037, -0.3186635971069336, 0.2330978810787201, 0.10890070348978043, 0.06888530403375626, 0.11472602933645248, 0.6323115229606628, 0.6778092980384827, -0.369444876909256, 0.5724465250968933, 0.39660847187042236, -0.5728791356086731, 0.4532328248023987, -0.3591712415218353, 0.19777867197990417, -0.2737855911254883, 0.4992392659187317, -1.3632172346115112, -0.36876189708709717, 0.39142265915870667, -0.5197888612747192, 0.3386188745498657, -0.4161057770252228, -0.5613149404525757, -0.2930610179901123, -0.07884079217910767, 0.08485617488622665, 0.26632294058799744, -0.48238441348075867, 0.299381822347641, 0.5263459086418152, -0.09307213127613068, -0.44882312417030334, -0.5895932912826538, 0.39270344376564026, 0.027011049911379814, -0.8788763880729675, -0.004370683804154396, 0.1439226120710373, -0.3166429400444031, 0.03237612918019295, -0.22511328756809235, -0.3507611155509949, 0.20047901570796967, 0.3365355432033539, 0.042917054146528244, -0.3158430755138397, 0.2571272552013397, -0.35174277424812317, -0.45318132638931274, 0.16591644287109375, -0.2769487202167511, 0.46604281663894653, -0.15678825974464417, -0.5365192890167236, -0.5558087825775146, 0.03546363487839699, 0.8508723378181458, -0.4394693076610565, 0.4932943284511566, 0.5983006954193115, -0.38862231373786926, 0.008525004610419273, -0.2642437517642975, -0.03993409872055054, -0.409114807844162, 0.6013064384460449, -0.15406209230422974, -0.500408947467804, 0.3606976270675659, -0.085416279733181, 0.1531122773885727, 0.6160611510276794, 0.47215965390205383, -0.15421198308467865, 0.934434175491333, 0.9049520492553711, -0.2291627824306488, 0.4611455202102661, -0.7056215405464172, 0.4556860625743866, -0.15375685691833496, 0.008951129391789436, -0.556073009967804, -0.5938250422477722, -0.06501013040542603, -0.4681498110294342, 0.29452162981033325, -0.08081454783678055, 0.056273143738508224, 0.0943063348531723, -0.4977865517139435, 0.3554039001464844, -0.11936374008655548, -0.014093100093305111, 0.3884240686893463, -0.13826705515384674, 0.481033056974411, -0.038341112434864044, -0.547171413898468, -0.545128583908081, 1.2792927026748657, 0.37212061882019043, 0.4095584750175476, -0.09602875262498856, 0.25096115469932556, 0.2920638918876648, 0.2963050603866577, -1.0415524244308472, 0.3506413400173187, 0.04378486052155495, -0.5800782442092896, -0.5544228553771973, -0.3956805169582367, -1.1811078786849976, 0.29366543889045715, -0.04416883364319801, -0.759951114654541, 0.3517616391181946, 0.21046186983585358, 0.0014343521324917674, 0.21797984838485718, -1.1621285676956177, 1.2464944124221802, -0.3016323149204254, 0.12614667415618896, -0.41898664832115173, -0.6572558879852295, 0.1836954802274704, 0.035527605563402176, 0.39257821440696716, -0.0718291699886322, 0.02271149307489395, 0.7521642446517944, -0.24548721313476562, 0.9049193263053894, -0.36441195011138916, -0.20491205155849457, 0.2071915566921234, 0.02237926982343197, 0.4863770604133606, -0.2679179310798645, -0.05579010397195816, -0.19203145802021027, 0.06153221055865288, -0.5189506411552429, -0.828346312046051, 0.4517313241958618, -0.6937302350997925, -0.09041217714548111, -0.05707067251205444, -0.6359755396842957, -0.42511674761772156, -0.022982891649007797, 0.025732077658176422, 0.6881253123283386, -0.13549603521823883, 0.3275102376937866, 0.14063845574855804, 0.05667818710207939, 0.1711779683828354, 0.22445975244045258, -0.15563271939754486, -0.07198166102170944, 0.9416422247886658, 0.29771697521209717, 0.1736534982919693, 0.20229163765907288, -0.03611878678202629, -0.3569549024105072, -0.8210703730583191, -0.4605979323387146, 0.1725926548242569, -1.129591941833496, 0.0006992889102548361, -0.4346804618835449, 0.0480259470641613, -0.47200465202331543, -0.2515760362148285, -0.17487753927707672, -0.3850034177303314, -0.38695523142814636, -0.21735936403274536, 0.5642927885055542, 1.1834628582000732, 0.051637280732393265, 0.35337033867836, -0.5906816124916077, 0.4885234832763672, 0.20046700537204742, 0.48793575167655945, 0.6057787537574768, -0.1066417470574379, -0.5622130632400513, 0.07475748658180237, -0.3329995274543762, -1.1256945133209229, 0.21209071576595306, -0.04114975407719612, 0.29755547642707825, 0.7000865340232849, -0.10573311895132065, 0.891119122505188, -0.00204238248988986, 0.45042628049850464, 0.18454952538013458, -0.9426702260971069, 0.49899670481681824, -0.33402013778686523, 0.2628457844257355, 0.4492154121398926, 0.31491565704345703, -0.6937174201011658, -0.06168220564723015, -0.520444393157959, -0.7995424270629883, 0.9134741425514221, 0.2714851200580597, -0.25511643290519714, 0.48796987533569336, 0.15505440533161163, 0.31332165002822876, 0.12846042215824127, -0.399732381105423, -0.2820199131965637, -0.21834416687488556, -0.37682044506073, -0.6034595966339111, 0.11963734775781631, -0.014524376019835472, -0.6775864362716675, 0.25916847586631775, -0.2682032287120819, 0.1416444331407547, -0.059718139469623566, -0.6671426296234131, -0.32529217004776, -0.12079960107803345, 0.0050398362800478935, 1.368241310119629, 0.15116439759731293, -0.13696976006031036, -0.23845107853412628, -0.7158156037330627, -0.22497257590293884, 0.24881698191165924, 0.19210371375083923, -0.18904374539852142, 0.6890971064567566, 1.0237618684768677, 0.3722096383571625, -0.7412598133087158, 0.4901319444179535, -0.017451850697398186, -0.03402582183480263, -0.05866267904639244, -0.0476771742105484, 0.15812380611896515, 0.11812183260917664, 0.4353460669517517, 0.00440624263137579, 0.2611989378929138, -0.5388175249099731, 0.029315274208784103, 0.26284247636795044, -0.5095258951187134, -0.21938125789165497, 0.23718851804733276, 0.2236069142818451, 0.06644579023122787, 0.5878104567527771, 0.12627795338630676, -0.3631095290184021, 1.1686556339263916, 0.1558929681777954, 0.7216137647628784, 0.29448065161705017, 0.43690362572669983, 0.0028136137407273054, 0.18211588263511658, 0.5812774896621704, -0.19786494970321655, -0.558143138885498, -0.5112167596817017, -0.34822478890419006, -0.22460535168647766, -0.5806629657745361, 0.0046726311556994915, -0.5421925187110901, -0.00003478617509244941, -0.40616995096206665, -0.07030508667230606, 0.3021372854709625, 0.21394921839237213, -0.9575321078300476, 0.5464569926261902, 0.13845255970954895, 0.7116560935974121, -0.731797993183136, 0.31344732642173767, 0.8521134853363037, -0.2589367926120758, -0.40186169743537903, -0.07741592079401016, 0.35493338108062744, -0.85149747133255, 0.5692741870880127, 0.30033940076828003, -0.23809389770030975, 0.15781283378601074, -0.6650599837303162, -0.7194092869758606, 1.1337616443634033, 0.33774447441101074, -0.13597987592220306, 0.036911334842443466, 0.25537222623825073, 0.5252171158790588, -0.2324095070362091, 0.3714313507080078, 1.0628280639648438, 0.709061324596405, -0.08429000526666641, -0.6516848802566528, -0.10628287494182587, -0.39258313179016113, -0.21711814403533936, 0.18813300132751465, -0.27957940101623535, 0.5834149718284607, -0.025760645046830177, -0.3785680830478668, 0.01798536814749241, 0.4861461818218231, -0.13546818494796753, 0.5674744248390198, 0.6464207172393799, 0.3132435977458954, 0.7266512513160706, -0.26425254344940186, 0.899513304233551, -0.31922879815101624, 0.43823638558387756, 0.6850870847702026, 0.24191614985466003, 0.4553021490573883, 0.10769116878509521, -0.2791481912136078, 0.3602025806903839, 0.9041575193405151, 0.027024369686841965, 0.18972820043563843, 0.026292497292160988, 0.32884490489959717, -0.36334964632987976, 0.2073463648557663, -0.47323963046073914, 0.6171467900276184, 0.616938591003418, -0.4769527018070221, -0.4809410870075226, -0.15370771288871765, -0.33321964740753174, 0.16569484770298004, -0.23587249219417572, 0.6750711798667908, -0.15366443991661072, -0.10709923505783081, 0.43464118242263794, -0.17242133617401123, 0.15408945083618164, -0.6708877086639404, -0.06999906152486801, 0.13837584853172302, -0.13508881628513336, -0.2157415896654129, -0.9640451073646545, 0.23993803560733795, 0.16249550879001617, -0.05116173252463341, -0.5798665285110474, 0.5930472612380981, 0.2582535445690155, -0.3450150787830353, 0.37953272461891174, 0.5962035059928894, 0.08743878453969955, -0.3475602865219116, -0.6068167686462402, 0.11546912789344788, -0.11879782378673553, -0.12171133607625961, 0.07226187735795975, 0.6397860646247864, 0.16951453685760498, 0.799633800983429, 0.3500370979309082, -0.27722564339637756, 0.05242866650223732, 0.05697675794363022, 0.57208251953125, -0.6778383851051331, -0.9937283396720886, -0.5422539710998535, 0.6114019751548767, -0.24405960738658905, -0.16778816282749176, 0.5527607798576355, 0.4924190640449524, 0.4361709654331207, -0.15444917976856232, 0.7374410033226013, 0.08546152710914612, 0.33696162700653076, -0.37868741154670715, 1.2861402034759521, -0.5951163172721863, -0.28126972913742065, -0.5654506683349609, -0.6831525564193726, -0.17870913445949554, 0.41434770822525024, -0.9204984903335571, -0.07000160217285156, 0.5275664329528809, 0.2694738805294037, -0.1541840136051178, 0.5380838513374329, -0.12712959945201874, 0.3647657334804535, 0.4020524024963379, 0.2965121567249298, 0.6438291668891907, -0.11867546290159225, 0.6249741315841675, -0.48722174763679504, -0.3088923394680023, -0.2862558960914612, -0.519921064376831, -0.5260685086250305, -1.0424633026123047, -0.3809562921524048, 0.3165571391582489, -0.15088769793510437, 0.4154287576675415, 0.9370687007904053, -0.806479275226593, -0.4969514310359955, -0.4353258013725281, 0.15416735410690308, -0.0463624969124794, -0.2689528167247772, 0.7489632368087769, -0.38348034024238586, -0.6969695091247559, 0.3469606935977936, 0.32012397050857544, 0.11361509561538696, -0.06304087489843369, -0.03278857842087746, 0.12319859862327576, -0.37181225419044495, 0.592962384223938, 0.30667340755462646, -0.577980637550354, -0.12094573676586151, -0.2277185618877411, 0.052988555282354355, 0.3381204903125763, 0.9525267481803894, -0.8071354031562805, 0.8821905851364136, 0.5489041209220886, 0.9079917073249817, 0.6921724081039429, -0.006787375081330538, 0.6642960906028748, -0.23549680411815643, -0.031182020902633667, 0.30226415395736694, 0.3613097667694092, 0.4045199453830719, -0.4548265039920807, 0.6061941385269165, 0.2248559147119522, -0.15671630203723907, -0.6841742992401123, 0.2510278522968292, -0.8549062013626099, -0.31371593475341797, 0.5246406197547913, 0.03194455802440643, 0.13593219220638275, -0.25573286414146423, -0.3782181143760681, 0.3337324261665344, -0.09649308770895004, 0.7843542098999023, 0.8893491625785828, -0.4954623579978943, -0.18311409652233124, -0.5310276746749878, 0.2702673077583313, 0.30380165576934814, -1.030415415763855, 0.21570919454097748, 0.8814570307731628, -0.21565216779708862, 0.05065168812870979, 0.4877110421657562, -0.01720554381608963, 0.4933629035949707, -0.11356425285339355, -0.3648820221424103, 0.057963162660598755, -0.28405600786209106, -0.3900332450866699, 0.2963598370552063, 0.1475670486688614, -0.12543003261089325 ]
http://arxiv.org/abs/2403.12026v1
http://arxiv.org/pdf/2403.12026v1
FlexCap: Generating Rich, Localized, and Flexible Captions in Images
2024-03-18T17:57:02
2024-03-18T17:57:02
Debidatta Dwibedi, Vidhi Jain, Jonathan Tompson, Andrew Zisserman, Yusuf Aytar
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
We introduce a versatile $\textit{flexible-captioning}$ vision-language model (VLM) capable of generating region-specific descriptions of varying lengths. The model, FlexCap, is trained to produce length-conditioned captions for input bounding boxes, and this allows control over the information density of its output, with descriptions ranging from concise object labels to detailed captions. To achieve this we create large-scale training datasets of image region descriptions of varying length, starting from captioned images. This flexible-captioning capability has several valuable applications. First, FlexCap demonstrates superior performance in dense captioning tasks on the Visual Genome dataset. Second, a visual question answering (VQA) system can be built by employing FlexCap to generate localized descriptions as inputs to a large language model. The resulting system achieves state-of-the-art zero-shot performance on a number of VQA datasets. We also demonstrate a $\textit{localize-then-describe}$ approach with FlexCap can be better at open-ended object detection than a $\textit{describe-then-localize}$ approach with other VLMs. We highlight a novel characteristic of FlexCap, which is its ability to extract diverse visual information through prefix conditioning. Finally, we qualitatively demonstrate FlexCap's broad applicability in tasks such as image labeling, object attribute recognition, and visual dialog. Project webpage: https://flex-cap.github.io .
[ -0.42052486538887024, -0.6089539527893066, 0.4312137961387634, -0.12054315954446793, -0.4515484869480133, 0.19936084747314453, -0.2258417010307312, -0.6068060994148254, 0.18046148121356964, 0.39713814854621887, -0.48935145139694214, -0.25219520926475525, -0.2490069568157196, 0.16061243414878845, -0.33816906809806824, 0.8011568784713745, -0.3137996196746826, -0.05705497786402702, -0.39357656240463257, -0.45949310064315796, -0.5558419227600098, -0.14331358671188354, -0.2580749988555908, 0.113263800740242, 0.5357227325439453, 0.689670205116272, 1.1708428859710693, 0.8716990351676941, 0.6083226203918457, 0.31520047783851624, 0.08364728838205338, 0.13344931602478027, -0.5523337125778198, 0.14108245074748993, 0.07906273752450943, -0.4941502511501312, -0.0788821280002594, -0.10231386870145798, 0.7799042463302612, 0.7558005452156067, -0.0564156137406826, 0.15809790790081024, -0.5487813353538513, 0.5236674547195435, -0.5708374977111816, -0.04204297065734863, -0.6517888903617859, 0.43287748098373413, -0.20892281830310822, -0.21650180220603943, -0.19207213819026947, 0.16285791993141174, 0.19374963641166687, -0.7543902397155762, 0.5950270891189575, 0.3061676025390625, 1.08993399143219, 0.15733802318572998, 0.06904444843530655, 0.39810672402381897, -0.7141039967536926, 0.6374683380126953, -0.3199262022972107, 0.18331046402454376, 0.10728590935468674, 1.0151612758636475, 0.21215136349201202, -0.997289776802063, -0.7557670474052429, 0.08397655934095383, -0.11119138449430466, 0.10048168897628784, -0.06169101595878601, 0.00823395885527134, 0.18471375107765198, 0.7110850214958191, -0.49920153617858887, -0.061786629259586334, -0.5925469398498535, -0.20117001235485077, 0.4313521981239319, 0.294498085975647, 0.5134924650192261, 0.156060129404068, -0.46412667632102966, -0.0755080133676529, -0.7965494990348816, 0.15704338252544403, 0.13648101687431335, 0.21301701664924622, -0.07657040655612946, 0.9307361841201782, -0.44756636023521423, 0.63462895154953, -0.26578593254089355, 0.07907480001449585, 0.22335703670978546, -0.23932214081287384, -0.4378162622451782, -0.2865690588951111, 0.593386709690094, 0.4365435242652893, 0.0673522800207138, -0.3663601577281952, -0.2201927900314331, -0.16797982156276703, 0.18678925931453705, -0.6974666118621826, 0.1066071093082428, 0.20230020582675934, -0.5183705687522888, -0.05402689799666405, 0.2498842477798462, -0.7634438276290894, -0.5216373205184937, -0.3326813578605652, 0.399232417345047, -0.07581649720668793, -0.06381474435329437, 0.5264493823051453, -0.34035754203796387, 0.8183476328849792, 0.19945375621318817, -0.5914086103439331, 0.4320716857910156, 0.15809831023216248, 0.8026484251022339, -0.5163426399230957, -0.49227333068847656, -0.7359873056411743, 0.14236919581890106, -0.060602620244026184, 0.7909266352653503, -0.5154935121536255, 0.01684652827680111, 0.06945254653692245, 0.14842665195465088, 0.26055967807769775, -0.4256379306316376, -0.1103874072432518, -0.28830933570861816, 0.1394057720899582, -0.14025373756885529, -0.18182529509067535, 0.12194250524044037, 0.1285264641046524, -0.7519629001617432, 0.6347073316574097, 0.1212817057967186, -0.8127428889274597, 0.29488927125930786, -0.7040673494338989, -0.5074540376663208, 0.6072949767112732, -0.4275929629802704, -0.6426798105239868, 0.16892372071743011, 0.38109317421913147, 0.4599372446537018, -0.3768846392631531, 0.07505859434604645, -0.1888877898454666, -0.38987359404563904, 0.6855101585388184, -0.24368497729301453, 0.30569222569465637, 0.20576664805412292, -0.40909305214881897, 0.47231560945510864, -0.3148376941680908, -0.19274719059467316, 0.5192554593086243, -0.0802152007818222, 0.3344534933567047, -0.12231558561325073, 0.1254524439573288, -0.5020971894264221, 0.11540919542312622, -0.7360486388206482, 0.1296631246805191, -0.08874887228012085, 0.4801205098628998, 0.40424060821533203, -0.18522393703460693, 0.5187069177627563, -0.17775943875312805, 0.6830381155014038, -0.2795851528644562, 0.6542553901672363, -0.5470797419548035, -0.3357245922088623, -0.8109181523323059, -0.5827072858810425, 0.15902459621429443, 0.48788362741470337, -1.0743260383605957, -0.11030088365077972, -0.1400252878665924, -0.3301478624343872, -0.3063800036907196, -0.04889311268925667, 0.35743770003318787, 0.5898640751838684, 0.4311434328556061, -0.6341699957847595, -0.34046033024787903, -1.0450266599655151, 0.18937373161315918, 0.051110487431287766, -0.043380577117204666, 0.46920081973075867, 0.25498712062835693, -0.19420310854911804, 0.9492121934890747, -0.9376024603843689, -0.20479996502399445, -0.5925507545471191, -0.06331976503133774, 0.15432769060134888, 0.11743666976690292, 0.6649340987205505, -1.0731133222579956, -0.3857593536376953, 0.06210701912641525, -0.3183622658252716, 0.0451149083673954, -0.286213219165802, -0.0915994644165039, 0.051687683910131454, 0.44782397150993347, -0.7186265587806702, 0.6081633567810059, 0.07023026794195175, -0.512465238571167, 0.7814834117889404, -0.1828269511461258, -0.002874111058190465, -0.5291932821273804, 0.27035441994667053, -0.21911045908927917, -0.5850719213485718, -0.5424396395683289, 0.3474147319793701, -0.20617106556892395, -0.35505059361457825, -0.9383459687232971, 0.5540449023246765, -0.5556462407112122, -0.38701167702674866, -0.138006329536438, -0.09653368592262268, 0.0653185322880745, 0.5637087821960449, 0.4625787138938904, 0.648285448551178, 0.9253849983215332, -0.16757023334503174, 0.612427294254303, 0.24649441242218018, -0.4205750524997711, 0.332712858915329, -0.7469395399093628, -0.25284385681152344, -0.4291866719722748, 0.008842742070555687, -1.1509246826171875, -0.5119677782058716, 0.08000291138887405, -0.32819217443466187, 0.40104517340660095, 0.2728428244590759, -0.4275636672973633, -0.7169057726860046, -0.40873056650161743, 0.608099639415741, 0.5086567401885986, -0.4394189715385437, 0.42943909764289856, 0.38636651635169983, -0.002150467364117503, -0.6769394874572754, -0.9498891234397888, 0.0535476878285408, -0.14821292459964752, -0.15821464359760284, 0.10219503939151764, -0.24937447905540466, 0.23810842633247375, 0.03923918679356575, -0.21534788608551025, -0.27060794830322266, -0.016236256808042526, 0.2232407182455063, 0.44960248470306396, -0.2059415876865387, 0.15062366425991058, -0.15350325405597687, 0.18580691516399384, -0.4353444576263428, 0.008822520263493061, 0.3177568316459656, -0.8321229815483093, -0.2557382881641388, -0.18338124454021454, 0.44844359159469604, 0.7464863657951355, -0.4396490752696991, 0.5606207251548767, 0.6496015191078186, -0.2767883837223053, -0.10561517626047134, -0.40338289737701416, -0.21750137209892273, -0.47791048884391785, 0.2784971296787262, -0.21011897921562195, -1.135127067565918, 0.49353089928627014, 0.11360670626163483, -0.14144714176654816, 0.2041233777999878, 0.402476042509079, -0.18943524360656738, 0.4438280761241913, 0.7935106158256531, 0.2769816219806671, 0.5363365411758423, -0.30729779601097107, 0.1525963842868805, -0.561524510383606, -0.329870343208313, 0.014206076972186565, -0.5412814617156982, -0.15458472073078156, -0.7167955040931702, 0.24500656127929688, -0.10952116549015045, -0.2713879942893982, 0.43792489171028137, -0.6910088658332825, 1.007287859916687, 0.48426246643066406, 0.04881875962018967, -0.21359221637248993, 0.20338600873947144, -0.03781410679221153, 0.05415691062808037, -0.8373650908470154, -0.12887266278266907, 0.914124608039856, 0.5177136063575745, 0.6368741393089294, -0.004558438900858164, 0.16571275889873505, 0.39327263832092285, 0.2579348087310791, -0.7921667695045471, 0.6956042051315308, -0.17339512705802917, -0.4370404779911041, -0.5715926289558411, -0.20284077525138855, -1.1443519592285156, 0.0251053087413311, -0.432862788438797, -0.5590524077415466, 0.250832736492157, 0.03173312544822693, -0.48789605498313904, 0.3914635181427002, -0.47254815697669983, 1.095699429512024, -0.3973208963871002, -0.3227599859237671, 0.36967435479164124, -1.0606575012207031, 0.2504189908504486, 0.31731846928596497, -0.1948331594467163, -0.2041257619857788, -0.2290712296962738, 0.1772078275680542, -0.35605281591415405, 1.1016870737075806, -0.1153239980340004, 0.544643759727478, 0.6056388020515442, 0.034757453948259354, -0.16514332592487335, 0.13233724236488342, 0.43540817499160767, 0.013627380132675171, 0.022990796715021133, -0.5038339495658875, -0.30812638998031616, 0.20646865665912628, -0.6601158976554871, -0.4613037109375, -0.26417040824890137, -0.88433837890625, 0.022322043776512146, 0.39510154724121094, 0.1872885823249817, 0.403214693069458, 0.017170719802379608, 0.5217283368110657, 0.746157705783844, -0.8296384215354919, 0.5424252152442932, 0.38781237602233887, -0.285445898771286, -0.6216397881507874, 0.8901186585426331, -0.33429190516471863, 0.19095277786254883, 0.6489185094833374, 0.2529568374156952, -0.204032763838768, -0.3795276880264282, -0.4825500249862671, 0.3700439929962158, -0.7302192449569702, -0.8716533184051514, -0.1514207124710083, -0.2428746521472931, -0.13668473064899445, -0.5374736785888672, -0.3824227750301361, -0.5775121450424194, -0.21556740999221802, -0.2939961552619934, 0.35522985458374023, 0.3279314339160919, 0.1734333485364914, 0.5004702210426331, -0.43493425846099854, 0.808203399181366, 0.622239887714386, 0.5726397037506104, -0.39777809381484985, -0.17365849018096924, -0.038901135325431824, -0.36263307929039, -0.17939259111881256, -0.856658399105072, 0.39014506340026855, 0.41719019412994385, 0.6675089001655579, 0.3146740198135376, 0.13320200145244598, 0.4739433526992798, -0.3939967453479767, 1.0282716751098633, 0.48705774545669556, -0.8959980010986328, 0.5179888010025024, -0.2830575406551361, 0.622814416885376, 0.4509691596031189, 0.13543693721294403, -0.40535616874694824, -0.5221226811408997, -0.3664867579936981, -1.0401067733764648, 0.43240752816200256, 0.2501344084739685, 0.36081641912460327, -0.06873926520347595, 0.5437610149383545, 0.34638625383377075, 0.38120514154434204, -1.0848884582519531, -0.12781402468681335, -0.4251282215118408, -0.16533163189888, 0.2913956046104431, -0.21100357174873352, -0.3305680453777313, -0.33767616748809814, 0.18974503874778748, -0.549732506275177, 0.5428755879402161, 0.5968804359436035, -0.1471244990825653, -0.026823827996850014, 0.09477147459983826, 0.6995056867599487, 0.5861594676971436, 0.008224600926041603, 0.351081520318985, 0.10929898172616959, -0.21811816096305847, -0.3240412175655365, 0.1489180326461792, -0.14507684111595154, -0.05223548412322998, 0.42313599586486816, 1.0909597873687744, -0.29154178500175476, -1.1453667879104614, 0.848537802696228, -0.1394810974597931, -0.16999804973602295, -0.0379997082054615, -0.14302462339401245, -0.2544175684452057, 0.2171030044555664, 0.30801835656166077, -0.05360569432377815, 0.30765897035598755, -0.6662558317184448, 0.1355516016483307, 0.41033434867858887, -0.36810925602912903, -0.09911054372787476, 0.8216036558151245, 0.11016951501369476, 0.15680095553398132, 0.47002628445625305, -0.03845488280057907, -0.5535489320755005, 0.8822775483131409, 0.5375362634658813, 0.7131460309028625, 0.007587631698697805, 0.5592109560966492, 0.1975187063217163, 0.35314005613327026, -0.030797351151704788, 0.40831056237220764, -0.36406034231185913, -0.5601277351379395, -0.3736504316329956, -0.5339889526367188, -0.5497344136238098, 0.04938188195228577, -0.37513747811317444, 0.16385191679000854, -0.37781205773353577, -0.025030113756656647, -0.1577211171388626, -0.4237653613090515, -0.8187386393547058, 0.13418807089328766, 0.595108687877655, 1.0780290365219116, -0.8638277649879456, 0.52076256275177, 0.7224680781364441, -0.4762779772281647, -0.5002861022949219, -0.4816771149635315, -0.4875403940677643, -0.6346340179443359, 0.3237459659576416, 0.598255455493927, -0.029918519780039787, -0.6265808343887329, -1.0811142921447754, -0.650227963924408, 1.379468321800232, 0.5083186030387878, -0.3378834128379822, 0.42443281412124634, 0.5505253076553345, 0.6469034552574158, -0.7390907406806946, -0.10478760302066803, 0.3962845206260681, 0.366300106048584, 0.3700121343135834, -0.785650372505188, 0.10924018919467926, -0.21529166400432587, 0.12194126099348068, -0.09103649854660034, -0.5908289551734924, 0.4709344208240509, -0.5588663816452026, -0.31779688596725464, 0.4400854706764221, 0.8048571348190308, 0.05269775539636612, 0.3684946298599243, 0.41499119997024536, 0.35925450921058655, 0.599162220954895, -0.21735402941703796, 1.2336595058441162, 0.2403533160686493, -0.0078458646312356, 1.2580488920211792, -0.144775390625, 0.844845712184906, 0.6243876218795776, 0.17000877857208252, 0.2801779806613922, 0.4555104970932007, -0.3843401074409485, 0.5768494606018066, 0.3780288100242615, -0.0776648074388504, -0.21558450162410736, -0.26468631625175476, 0.013575764372944832, 0.2886121869087219, 0.2710248529911041, -0.21031002700328827, 0.21367327868938446, 0.30887094140052795, -0.4491517245769501, 0.13933944702148438, -0.45857080817222595, 0.46988460421562195, -0.17322850227355957, -0.529693067073822, 0.38508087396621704, -0.2780517041683197, 0.31959500908851624, -0.5433269739151001, 0.02021627128124237, -0.4496781826019287, -0.030032917857170105, -0.11149633675813675, -1.269676923751831, 0.5086847543716431, -0.03574588894844055, -0.10923659056425095, -0.3038713335990906, 0.7448447942733765, -0.6115984916687012, -0.3345790207386017, -0.20132628083229065, 0.29104286432266235, 0.25500911474227905, 0.15016598999500275, -0.5316362977027893, 0.15130215883255005, -0.17093345522880554, -0.1435748040676117, -0.2084188014268875, 0.376293420791626, -0.031670041382312775, 0.6865187287330627, 0.32861918210983276, 0.018913278356194496, 0.15364506840705872, 0.044453006237745285, 0.8646149635314941, -0.4834507405757904, -0.13362658023834229, -0.3425927758216858, 0.7372348308563232, -0.18338337540626526, 0.04716290533542633, 0.12937137484550476, 0.633450984954834, 0.7395860552787781, -0.6626525521278381, 0.5572564005851746, -0.25981470942497253, 0.008268673904240131, -0.2560957074165344, 0.3984818160533905, -0.6116501688957214, 0.043928809463977814, 0.2792390286922455, -0.9239935874938965, -0.9749375581741333, 0.2988665699958801, -0.0717339888215065, -0.4171540439128876, 0.6763268113136292, 0.5447829365730286, -0.25075244903564453, -0.5503857731819153, 0.4235408306121826, -0.08380254358053207, 0.15322592854499817, 0.5663228034973145, 0.7063031792640686, -0.29448866844177246, 0.9558365941047668, -0.1193140372633934, -0.07926736772060394, -0.03270052373409271, -0.9257075190544128, -0.9174227118492126, -0.5390477776527405, -0.6043437719345093, 0.03581123799085617, -0.3027136027812958, 0.24740564823150635, 0.8009597063064575, -0.6645655035972595, -0.1798895001411438, -0.0814267247915268, 0.15361446142196655, -0.27589917182922363, -0.2462887465953827, 0.23792879283428192, -0.25502103567123413, -0.4612460434436798, 0.16448281705379486, 0.5654496550559998, 0.4074839949607849, -0.1119336262345314, -0.1396445333957672, 0.1868840754032135, 0.17706884443759918, 0.6209707856178284, 0.9027009010314941, -0.7653530836105347, -0.30073344707489014, 0.1761104166507721, 0.08994490653276443, 0.22915302217006683, 0.758271336555481, -0.7484647035598755, 0.8742361664772034, 0.6294610500335693, 0.8829976916313171, 0.5755570530891418, -0.1720111072063446, 0.610014796257019, -0.8749619722366333, 0.22207993268966675, 0.0331922210752964, 0.5954501032829285, 0.6689814329147339, -0.31711459159851074, 0.637959361076355, 0.14586322009563446, -0.36358708143234253, -0.7926092743873596, 0.4979877471923828, -1.4868910312652588, -0.501183807849884, 1.1493706703186035, -0.20185314118862152, -0.47312435507774353, 0.2517029345035553, -0.48563525080680847, 0.09747474640607834, 0.020714346319437027, 0.43840572237968445, 0.1598881632089615, -0.050675611943006516, -0.5481331944465637, -0.3407902121543884, 0.2673071026802063, 0.2648090124130249, -0.9232489466667175, 0.1479736715555191, 0.6220045685768127, 0.22399559617042542, 0.17135417461395264, 0.3730814456939697, -0.24014438688755035, 0.6680171489715576, -0.1957903653383255, 0.32514238357543945, -0.3314970135688782, -0.5447613596916199, -0.08836330473423004, 0.3453769385814667, 0.12259019166231155, -0.5047078728675842 ]
http://arxiv.org/abs/2403.12025v1
http://arxiv.org/pdf/2403.12025v1
A Toolbox for Surfacing Health Equity Harms and Biases in Large Language Models
2024-03-18T17:56:37
2024-03-18T17:56:37
Stephen R. Pfohl, Heather Cole-Lewis, Rory Sayres, Darlene Neal, Mercy Asiedu, Awa Dieng, Nenad Tomasev, Qazi Mamunur Rashid, Shekoofeh Azizi, Negar Rostamzadeh, Liam G. McCoy, Leo Anthony Celi, Yun Liu, Mike Schaekermann, Alanna Walton, Alicia Parrish, Chirag Nagpal, Preeti Singh, Akeiylah Dewitt, Philip Mansfield, Sushant Prakash, Katherine Heller, Alan Karthikesalingam, Christopher Semturs, Joelle Barral, Greg Corrado, Yossi Matias, Jamila Smith-Loud, Ivor Horn, Karan Singhal
cs.CY
cs.CY, cs.CL, cs.LG
Large language models (LLMs) hold immense promise to serve complex health information needs but also have the potential to introduce harm and exacerbate health disparities. Reliably evaluating equity-related model failures is a critical step toward developing systems that promote health equity. In this work, we present resources and methodologies for surfacing biases with potential to precipitate equity-related harms in long-form, LLM-generated answers to medical questions and then conduct an empirical case study with Med-PaLM 2, resulting in the largest human evaluation study in this area to date. Our contributions include a multifactorial framework for human assessment of LLM-generated answers for biases, and EquityMedQA, a collection of seven newly-released datasets comprising both manually-curated and LLM-generated questions enriched for adversarial queries. Both our human assessment framework and dataset design process are grounded in an iterative participatory approach and review of possible biases in Med-PaLM 2 answers to adversarial queries. Through our empirical study, we find that the use of a collection of datasets curated through a variety of methodologies, coupled with a thorough evaluation protocol that leverages multiple assessment rubric designs and diverse rater groups, surfaces biases that may be missed via narrower evaluation approaches. Our experience underscores the importance of using diverse assessment methodologies and involving raters of varying backgrounds and expertise. We emphasize that while our framework can identify specific forms of bias, it is not sufficient to holistically assess whether the deployment of an AI system promotes equitable health outcomes. We hope the broader community leverages and builds on these tools and methods towards realizing a shared goal of LLMs that promote accessible and equitable healthcare for all.
[ -0.1548672467470169, -0.65175861120224, 0.5775724649429321, 0.14856019616127014, 0.16205057501792908, 0.17347636818885803, -0.0038800016045570374, -0.43687209486961365, 0.16795389354228973, 0.37805500626564026, -0.354606956243515, -0.38011807203292847, -0.7981043457984924, -0.2729317247867584, -0.1021314263343811, 1.1594666242599487, -0.005014814902096987, 0.386608749628067, -0.1248161643743515, -0.1647183746099472, -0.4922316074371338, -0.5055054426193237, -0.6256266236305237, -0.2030089944601059, 0.7280502915382385, 0.38714614510536194, 1.0245896577835083, 0.47903311252593994, 0.4723021686077118, 0.18838083744049072, -0.20590423047542572, -0.08576849848031998, -0.48320531845092773, 0.10183483362197876, -0.08270628750324249, -0.5289389491081238, -0.6431807279586792, 0.2251976728439331, 0.40772321820259094, 1.0640147924423218, -0.1270763874053955, 0.49609294533729553, 0.2693435251712799, 0.7308809757232666, -0.9573681354522705, -0.0959557443857193, -0.2841997742652893, 0.4052661657333374, -0.3602585196495056, -0.0482369065284729, -0.09774190932512283, -0.4197337031364441, 0.0804850310087204, -0.32351794838905334, -0.06933201104402542, 0.022643499076366425, 0.5011096000671387, 0.4166291654109955, -0.74688720703125, -0.3847232162952423, -0.34876564145088196, 0.8660047650337219, -0.5805295705795288, 0.24135802686214447, 0.37464067339897156, 0.40434685349464417, -0.3293401598930359, -0.4699237048625946, -0.4331217408180237, -0.011827201582491398, 0.014501544646918774, 0.18394623696804047, -0.17995160818099976, 0.043328605592250824, 0.2589135766029358, 0.2910156846046448, -0.4989595413208008, 0.38655897974967957, -0.3226095139980316, -0.33008596301078796, 0.749824583530426, 0.30184003710746765, 0.4626772403717041, -0.2682946026325226, -0.08572541922330856, -0.1967947781085968, -0.9463992118835449, 0.0952545627951622, 0.566149115562439, 0.04264521598815918, -0.32218077778816223, 0.7308589220046997, 0.33544138073921204, 0.45975568890571594, -0.35029542446136475, -0.21030069887638092, 0.3135431408882141, -0.08427391946315765, -0.26091471314430237, 0.003843240672722459, 0.7026180028915405, 0.7395884394645691, 0.18296660482883453, -0.036541420966386795, -0.07609490305185318, -0.19060824811458588, 0.2201341837644577, -0.6956843137741089, 0.056255463510751724, 0.47132161259651184, -0.595103919506073, -0.19082266092300415, -0.07156148552894592, -1.0757826566696167, -0.9670308232307434, -0.07778412103652954, 0.16434641182422638, 0.10523136705160141, -0.15783344209194183, -0.00041654318920336664, -0.09979084134101868, 0.1645365208387375, 0.30534330010414124, -0.45220574736595154, 0.313592791557312, 0.7563815116882324, 0.6248332262039185, -0.08198235183954239, 0.02400493621826172, -0.41564664244651794, -0.11580349504947662, -0.3285946249961853, 0.33863458037376404, -0.3194177746772766, -0.5526279807090759, 0.08007903397083282, -0.08831837773323059, 0.32603177428245544, -0.7687341570854187, 0.7797865867614746, -0.36392077803611755, 0.06992745399475098, -0.6391076445579529, -0.22191335260868073, 0.04194418340921402, 0.2193104773759842, -0.6558495759963989, 0.5394682288169861, 0.071022629737854, -0.9477289319038391, 0.522441029548645, -0.8294748663902283, -0.5486974120140076, -0.22273999452590942, -0.41197460889816284, -0.5978766083717346, -0.0019693165086209774, 0.4218113422393799, 0.34449586272239685, -0.679972767829895, 0.5211121439933777, -0.5094320178031921, -0.21927854418754578, 0.3709644079208374, -0.8730149269104004, 1.0554306507110596, 0.1011207178235054, -0.45062461495399475, 0.12184698134660721, -0.41310086846351624, -0.08964771777391434, 0.2965206205844879, -0.18808884918689728, -0.1375051587820053, 0.06801837682723999, 0.3033498227596283, 0.17321261763572693, 0.13280685245990753, -0.32274171710014343, -0.10694467276334763, -0.4689335823059082, 0.22321149706840515, 1.0048025846481323, 0.021218035370111465, 0.3518325686454773, -0.4045591354370117, 0.6523006558418274, 0.09675423055887222, 0.6245180368423462, -0.10953531414270401, -0.486873060464859, -0.44402968883514404, -0.2866245210170746, 0.27750810980796814, 0.4351477026939392, -0.26480990648269653, 0.4382477104663849, -0.2839473783969879, -0.3247630000114441, -0.8923087120056152, 0.10217251628637314, 0.47929301857948303, 0.567679226398468, 0.23928605020046234, -0.5083923935890198, -0.2508474588394165, -1.2335736751556396, -0.4772285521030426, -0.09695602208375931, -0.16329090297222137, 0.6749600172042847, 0.5057441592216492, -0.2642207443714142, 0.7922292947769165, -0.4001741409301758, -0.2622038424015045, 0.14318019151687622, 0.04288299009203911, 0.06845343858003616, 0.34376004338264465, 0.396151602268219, -0.6793586611747742, -0.13260620832443237, -0.2606063783168793, -0.6813983917236328, -0.23721790313720703, 0.15582828223705292, -0.17119331657886505, -0.24968108534812927, 0.046818993985652924, -0.2971296012401581, 0.5293700695037842, 0.4811173677444458, -0.19907815754413605, 0.27039188146591187, 0.119558185338974, 0.18378381431102753, -0.989890456199646, 0.23585976660251617, 0.18818823993206024, -0.04626711085438728, -0.2906894087791443, 0.06025918200612068, -0.10090657323598862, -0.09862103313207626, -0.40429726243019104, 0.8285228610038757, -0.4044494926929474, -0.4194362163543701, -0.16948507726192474, -0.1652631014585495, 0.006190502550452948, 0.11194199323654175, -0.4850449562072754, 0.7437199354171753, 0.37142807245254517, -0.18828019499778748, 0.03897003084421158, -0.13731515407562256, -0.24456334114074707, 0.4887082576751709, -0.7227126955986023, 0.14912110567092896, -0.30849549174308777, 0.42922624945640564, -0.8095054626464844, -0.36677286028862, 0.45800551772117615, -0.2954874634742737, 0.2091660052537918, -0.16323237121105194, -0.6324346661567688, -0.47795966267585754, -0.6229175329208374, 0.6068764925003052, 0.37712785601615906, -0.43805959820747375, 0.16648003458976746, 1.1501716375350952, -0.43907639384269714, -0.9803923964500427, -0.5812135338783264, 0.23584654927253723, -0.29033544659614563, -0.5017799139022827, -0.04239235073328018, 0.14273303747177124, -0.5497481822967529, -0.2862679958343506, -0.11926251649856567, -0.03263002261519432, 0.4454239010810852, 0.6092418432235718, 0.34313902258872986, 0.09728552401065826, 0.1430959701538086, 0.2868901491165161, 0.13743726909160614, 0.281925767660141, 0.18215972185134888, 0.3362555503845215, 0.07864011824131012, -0.8635551333427429, -0.12140920013189316, 0.5386366248130798, 0.6261913776397705, -0.1344684213399887, 0.39558619260787964, 0.4763016700744629, -0.5554883480072021, 0.24233898520469666, -0.6188761591911316, -0.15754434466362, -0.35416480898857117, 0.7137439846992493, 0.08872487396001816, -0.9748121500015259, 0.41399669647216797, -0.05037018284201622, 0.39203235507011414, 0.2561589777469635, 0.8492928147315979, -0.09246009588241577, 1.0083060264587402, 0.4348663091659546, -0.4655476212501526, -0.04399845004081726, -0.10108685493469238, 0.2922532558441162, -0.9088888168334961, -0.25872671604156494, -0.3105623722076416, -0.4254860281944275, -0.46523675322532654, -0.7556731104850769, 0.8656705617904663, -0.009437932632863522, -0.4450337290763855, -0.5330912470817566, -0.3578304946422577, 0.2656671106815338, 0.18967081606388092, 0.3289344608783722, 0.07445777952671051, -0.11737596243619919, 0.029610294848680496, -0.2201937735080719, -0.5633741617202759, -0.6405026912689209, 1.5466938018798828, 0.9060620665550232, 0.782526969909668, 0.1397281438112259, 0.4197866916656494, 0.5088207125663757, 0.9186761975288391, -0.7348557114601135, 0.1588057428598404, 0.09880587458610535, -0.7989106774330139, -0.38100799918174744, -0.3947257101535797, -1.1540225744247437, 0.25969046354293823, -0.07164871692657471, -0.6426486372947693, 0.18631786108016968, 0.12377078086137772, -0.38454580307006836, 0.05301506072282791, -0.552466094493866, 0.7952771782875061, -0.5615076422691345, -0.507120668888092, -0.1044832319021225, -0.8225630521774292, 0.4758726954460144, -0.19036324322223663, 0.6345037817955017, -0.24184761941432953, -0.15412238240242004, 0.8199092745780945, -0.3987765908241272, 0.9417895674705505, -0.33614581823349, -0.29616236686706543, 0.09542785584926605, -0.1177525669336319, 0.011260062456130981, 0.20680612325668335, -0.2535731792449951, 0.2752263844013214, -0.31604015827178955, -0.5643393397331238, -0.5512024760246277, 0.650005578994751, -0.9859812259674072, -0.6114687919616699, -0.5216968059539795, -0.5460657477378845, -0.4047059416770935, 0.0508696548640728, -0.21469548344612122, 0.13930831849575043, -0.31826868653297424, -0.37719276547431946, 0.31678506731987, -0.7288457751274109, 0.03770013526082039, 0.3620384931564331, -0.15250302851200104, -0.23391970992088318, 0.5776591897010803, 0.06550322473049164, -0.08431830257177353, -0.06434819847345352, 0.06952402740716934, -0.22866275906562805, -0.3908032774925232, -0.4288138747215271, 0.030894121155142784, -0.7053739428520203, -0.3700959086418152, -0.5709391832351685, -0.13425377011299133, -0.3924664258956909, 0.014285576529800892, -0.17875827848911285, 0.04963028058409691, -0.031188270077109337, -0.14248673617839813, 0.016043955460190773, 0.7482742667198181, -0.05562509596347809, 0.04313117265701294, -0.5899351239204407, 0.28177136182785034, 0.25606900453567505, 0.12580512464046478, 0.2601141333580017, -0.37698230147361755, -0.08558661490678787, 0.22532297670841217, -0.5260019302368164, -1.0028293132781982, 0.30273887515068054, -0.18633559346199036, 0.5907168984413147, 0.26765891909599304, -0.04958590492606163, 0.6987752914428711, -0.5904831886291504, 0.6979464888572693, 0.379820853471756, -0.7063101530075073, 0.5005192756652832, -0.10435546934604645, 0.02610498107969761, 0.6246612668037415, 0.4305018186569214, -0.38968947529792786, -0.2997664213180542, -0.31575796008110046, -1.2309437990188599, 0.2932887673377991, -0.09988132864236832, 0.03214631974697113, -0.1268715262413025, 0.31043630838394165, 0.08490477502346039, 0.20639334619045258, -0.6616568565368652, -0.3463405966758728, 0.08314117789268494, -0.18833397328853607, -0.07046856731176376, -0.3164648413658142, -0.48996034264564514, 0.02949264459311962, 0.3751988410949707, -0.19761084020137787, -0.006872142665088177, 0.21400655806064606, -0.24059642851352692, -0.14971759915351868, 0.6736639142036438, 0.18323880434036255, 0.5618079900741577, -0.0736469030380249, 0.0947503000497818, 0.15205197036266327, -0.38658955693244934, 0.2585224211215973, 0.21747484803199768, 0.12713228166103363, -0.38264232873916626, 0.48193371295928955, 0.41639888286590576, 0.22987104952335358, -0.9742720723152161, 0.8717594146728516, 0.05284324288368225, 0.26882046461105347, -0.16929148137569427, -0.31493598222732544, 0.018578603863716125, 0.06509419530630112, 0.2777647376060486, -0.13766169548034668, 0.5963923931121826, -0.7657181620597839, 0.18882820010185242, 0.48423242568969727, -0.5153404474258423, 0.022638913244009018, 0.4402673840522766, 0.22166414558887482, 0.016896666958928108, 0.5055210590362549, 0.12828393280506134, -0.4280376434326172, 0.6534641981124878, 0.11720588058233261, 0.6388916373252869, -0.14649976789951324, 0.03681831806898117, 0.10762593895196915, 0.4846353530883789, 0.05322790518403053, 0.2187381237745285, 0.245902881026268, -0.5325201749801636, -0.4687035381793976, -0.5807511210441589, -0.37060728669166565, 0.028685150668025017, -0.7429257035255432, -0.02027166076004505, -0.4271155893802643, -0.4848029315471649, -0.009713631123304367, 0.011354159563779831, -0.845151424407959, 0.2070370614528656, 0.31489038467407227, 0.8518330454826355, -1.0362130403518677, 0.3559063971042633, 0.6334362626075745, -0.4320700466632843, -0.7398354411125183, 0.4375399649143219, 0.4028661847114563, -1.1288152933120728, 0.8513266444206238, 0.05535391718149185, 0.10067591816186905, -0.6245585083961487, -0.3917960524559021, -0.49799302220344543, 1.0272445678710938, 0.7005667686462402, -0.6834233999252319, 0.09304745495319366, 0.3500887155532837, 0.5346795320510864, -0.07964815944433212, 0.6607394218444824, 0.604131281375885, 0.6136636137962341, -0.3141908347606659, -1.2789279222488403, 0.19706016778945923, -0.18083937466144562, 0.020193595439195633, -0.06936551630496979, -0.5840892791748047, 0.7454502582550049, -0.4373721480369568, -0.1103142574429512, -0.02939113974571228, 0.34553995728492737, 0.41194647550582886, 0.37973347306251526, 0.43806615471839905, 0.7332203388214111, 0.9327566623687744, 0.04214265197515488, 1.370637059211731, -0.13473336398601532, 0.2731465697288513, 0.8967358469963074, -0.5756774544715881, 0.4840587079524994, 0.5505708456039429, -0.5584073066711426, -0.005839651916176081, 0.5927056670188904, 0.3449239730834961, 0.20464427769184113, 0.9981063008308411, -0.28325679898262024, 0.15024493634700775, -0.5045706033706665, -0.2690735161304474, 0.2322435975074768, 0.37549445033073425, -0.41972845792770386, -0.2551313638687134, 0.051486026495695114, 0.39695242047309875, -0.03985071927309036, -0.37956640124320984, 0.5225297808647156, 0.20469899475574493, -0.47741222381591797, 0.10330169647932053, 0.22878557443618774, 0.7751225829124451, -0.20976291596889496, -0.21818317472934723, -0.23117905855178833, -0.10228993743658066, -0.2570565640926361, -1.0002497434616089, 0.09271902590990067, 0.1027536541223526, -0.24735116958618164, 0.0387515090405941, 0.564423143863678, -0.0700509175658226, -0.5509204864501953, 0.41085976362228394, 0.7755827307701111, 0.25266003608703613, 0.05893890559673309, -1.0258269309997559, 0.37143221497535706, -0.24210476875305176, -0.16585972905158997, 0.6759355664253235, 0.22507184743881226, -0.14942260086536407, 0.5665149688720703, 0.5748719573020935, 0.2607162594795227, -0.08444582670927048, 0.3615606725215912, 0.7492532134056091, -0.35786575078964233, -0.17808997631072998, -0.8845452070236206, 0.34895649552345276, -0.26593878865242004, -0.18866191804409027, 0.644676148891449, 0.7015643119812012, 0.3812532424926758, 0.27829962968826294, 1.034555435180664, 0.13341672718524933, 0.42194685339927673, -0.3027399182319641, 0.9019135236740112, -0.6289973855018616, 0.4978303015232086, -0.28808775544166565, -0.6424050331115723, -0.37189021706581116, 0.5565668344497681, -0.32023850083351135, 0.37542349100112915, 0.22037574648857117, 0.7782148718833923, 0.1599200814962387, -0.24301554262638092, 0.13580895960330963, 0.3642195165157318, 0.44125500321388245, 0.5987224578857422, 0.7661089897155762, -0.44710084795951843, 0.08692756295204163, 0.11275670677423477, -0.6058818697929382, -0.15751038491725922, -0.687361478805542, -0.6811899542808533, -0.19347597658634186, -0.1845514327287674, -0.5318256616592407, 0.5722683072090149, 1.0888779163360596, 0.6658952832221985, -0.5909230709075928, -0.2782308757305145, 0.5125540494918823, 0.371446430683136, 0.3531585931777954, -0.2580084204673767, 0.6161337494850159, 0.03471820801496506, -0.5464909076690674, 0.018498245626688004, 0.4983316659927368, -0.19832979142665863, -0.5573127865791321, -0.037157487124204636, 0.36660173535346985, -0.1316068172454834, 0.4885961413383484, 0.23547793924808502, -0.6781477332115173, -0.1892075538635254, -0.271557480096817, -0.3081786036491394, -0.006806991063058376, 0.7939102649688721, -0.5526335835456848, 0.24437235295772552, -0.009009834378957748, 0.8409949541091919, -0.20242613554000854, -0.3959628939628601, 0.6748966574668884, -0.508671760559082, -0.08901756256818771, 0.5500258803367615, 0.6604814529418945, 0.409839004278183, -0.4133571982383728, 0.31239110231399536, -0.1969054639339447, -0.47403672337532043, -0.9216585159301758, 0.1500651091337204, -0.8336164355278015, -0.30942752957344055, 1.1439125537872314, -0.21780480444431305, -0.14949995279312134, -0.24140556156635284, -0.3691169023513794, 0.20629604160785675, -0.33932432532310486, 0.8929988741874695, 0.6357465386390686, 0.013670718297362328, 0.13631023466587067, -0.6556158065795898, 0.2584887146949768, 0.46175336837768555, -1.0196127891540527, 0.22837264835834503, 0.5636790990829468, 0.38737937808036804, -0.08206809312105179, 0.9067455530166626, -0.6448800563812256, 0.39287227392196655, -0.31712862849235535, 0.19609132409095764, 0.285248726606369, -0.13154835999011993, -0.4379543960094452, 0.1905648410320282, 0.17092512547969818, 0.23753628134727478 ]
http://arxiv.org/abs/2403.12024v2
http://arxiv.org/pdf/2403.12024v2
Enhancing Taiwanese Hokkien Dual Translation by Exploring and Standardizing of Four Writing Systems
2024-03-18T17:56:13
2024-05-14T05:49:00
Bo-Han Lu, Yi-Hsuan Lin, En-Shiun Annie Lee, Richard Tzong-Han Tsai
cs.CL
cs.CL
Machine translation focuses mainly on high-resource languages (HRLs), while low-resource languages (LRLs) like Taiwanese Hokkien are relatively under-explored. The study aims to address this gap by developing a dual translation model between Taiwanese Hokkien and both Traditional Mandarin Chinese and English. We employ a pre-trained LLaMA 2-7B model specialized in Traditional Mandarin Chinese to leverage the orthographic similarities between Taiwanese Hokkien Han and Traditional Mandarin Chinese. Our comprehensive experiments involve translation tasks across various writing systems of Taiwanese Hokkien as well as between Taiwanese Hokkien and other HRLs. We find that the use of a limited monolingual corpus still further improves the model's Taiwanese Hokkien capabilities. We then utilize our translation model to standardize all Taiwanese Hokkien writing systems into Hokkien Han, resulting in further performance improvements. Additionally, we introduce an evaluation method incorporating back-translation and GPT-4 to ensure reliable translation quality assessment even for LRLs. The study contributes to narrowing the resource gap for Taiwanese Hokkien and empirically investigates the advantages and limitations of pre-training and fine-tuning based on LLaMA 2.
[ 0.04926460608839989, -0.733761727809906, 0.24884378910064697, 0.27830836176872253, -0.8441469073295593, 0.4403058886528015, -0.5724571943283081, -0.6943862438201904, 0.1570095419883728, 0.831013023853302, -0.003273364156484604, -0.49382928013801575, -0.5620318055152893, 0.4076058268547058, 0.2963312268257141, 0.8973451852798462, -0.5363948345184326, 0.13073831796646118, 0.5093743205070496, -0.49482059478759766, -0.657677173614502, -0.4544992744922638, -0.6600354909896851, -0.338501900434494, 0.6509098410606384, 0.3648114502429962, 0.7647082805633545, 0.5996308326721191, 0.6759157776832581, 0.1900830864906311, -0.13912761211395264, 0.4477706849575043, -0.6420938372612, -0.09519586712121964, 0.24034041166305542, -0.21576885879039764, -0.8525633215904236, -0.11559479683637619, 0.8599805235862732, 0.4533369243144989, 0.002805916126817465, 0.40312597155570984, 0.5572561621665955, 0.24382534623146057, -0.4451904296875, 0.16931672394275665, -0.3413860499858856, 0.20925898849964142, -0.5024905800819397, -0.02755207195878029, -0.4657454788684845, -0.42214301228523254, -0.08818185329437256, -0.8561137318611145, -0.1931740939617157, -0.005447941366583109, 0.8749372959136963, 0.21847690641880035, -1.0721726417541504, 0.08217525482177734, -0.5526360869407654, 0.8013688921928406, -0.7915406823158264, 0.49333858489990234, 0.06770825386047363, 0.14845633506774902, 0.08329189568758011, -0.6353349685668945, -0.6101996302604675, -0.3258129954338074, -0.4064893126487732, 0.20716619491577148, 0.21014665067195892, 0.24614658951759338, 0.17895276844501495, 0.4566858112812042, -0.7039135694503784, 0.25887203216552734, -0.41775789856910706, -0.13852311670780182, 0.5371496081352234, 0.09399215131998062, 0.41641148924827576, -0.36141514778137207, -0.348201185464859, -0.19339409470558167, -0.553562343120575, 0.10654585808515549, 0.13250409066677094, 0.32403993606567383, -0.27696493268013, 0.5843174457550049, 0.34861016273498535, 0.5031686425209045, 0.0582222044467926, -0.3130725026130676, 0.29339876770973206, -0.7250179052352905, -0.34561458230018616, 0.23982150852680206, 0.8068934679031372, 0.4643787145614624, 0.06755303591489792, -0.023510433733463287, -0.294140100479126, -0.15757890045642853, -0.057730916887521744, -0.6426445841789246, 0.23357930779457092, -0.3014001250267029, -0.5927239656448364, -0.2945207357406616, -0.33418041467666626, -0.5136979222297668, -0.3610759675502777, -0.20005600154399872, 0.3047676682472229, -0.3815838694572449, -0.7402357459068298, 0.08484360575675964, -0.09019850939512253, 0.4131948947906494, 0.1926221400499344, -0.8072298765182495, 0.26917150616645813, 0.41223978996276855, 0.9558534622192383, -0.28284022212028503, -0.6227590441703796, -0.2095913290977478, 0.5147262215614319, -0.544294536113739, 0.4637683629989624, -0.1833249181509018, -0.6557638049125671, -0.21621467173099518, 0.05419209226965904, 0.05644112825393677, -0.5109257698059082, 0.5730550289154053, -0.439866840839386, 0.09409468621015549, -0.34850436449050903, 0.01836324855685234, -0.21719294786453247, 0.07422313839197159, -0.8737118244171143, 1.3486061096191406, 0.3627054989337921, -0.8025674819946289, 0.2243659645318985, -0.5743332505226135, -0.8106639981269836, 0.11008536070585251, 0.12414087355136871, -0.3525138795375824, 0.23859532177448273, 0.015117918141186237, 0.14029091596603394, -0.2901577949523926, 0.3854058086872101, -0.08970525115728378, -0.5945743322372437, -0.30321770906448364, -0.48334789276123047, 1.1022861003875732, 0.1951226443052292, -0.39156052470207214, 0.049474917352199554, -0.30503323674201965, 0.0357351116836071, 0.2892470955848694, -0.8435513377189636, -0.47399720549583435, -0.745451807975769, 0.25226491689682007, 0.004342526663094759, 0.6438093781471252, -0.5661860704421997, 0.25008946657180786, -0.3059288561344147, 0.56235671043396, 0.7015767097473145, -0.3479979634284973, 0.5790866017341614, -0.08578188717365265, 0.44290289282798767, 0.12676052749156952, 0.03466305136680603, 0.03121882677078247, -0.47681766748428345, -0.6494317054748535, 0.071170374751091, 0.43599796295166016, 0.7440335750579834, -0.7177301645278931, 0.2845276892185211, -0.4129972457885742, -0.205582857131958, -1.0002650022506714, 0.275885671377182, 0.5472245216369629, 0.51821368932724, 0.3650645911693573, -0.5230121612548828, -0.6981568336486816, -0.7252777814865112, -0.22511433064937592, -0.2942560017108917, 0.1677737832069397, 0.08939589560031891, -0.005717850290238857, -0.22598904371261597, 0.1838497668504715, -0.04157732427120209, -0.12529005110263824, -0.4250490069389343, -0.01840836927294731, 0.22409769892692566, 0.4132585823535919, 0.397901326417923, -0.6187406778335571, -1.0256484746932983, 0.5061748623847961, -0.8871598839759827, 0.07145757228136063, 0.06744126230478287, -0.4553323984146118, 0.4198351800441742, 0.253871351480484, -0.673426628112793, 0.4942754805088043, 0.8009722232818604, -0.16360461711883545, 0.4840879738330841, -0.518047034740448, 0.32561689615249634, -1.0611679553985596, 0.04616011306643486, -0.4110194444656372, -0.25445497035980225, -0.5755152702331543, 0.20619720220565796, 0.2571345567703247, -0.3024894893169403, -0.25147032737731934, 0.6971290707588196, -0.682824969291687, 0.02204744890332222, -0.2122448980808258, 0.16506370902061462, 0.11786249279975891, 0.4784293472766876, 0.3022478222846985, 0.8506115078926086, -0.023035960271954536, -0.30665379762649536, 0.36650097370147705, 0.07030695676803589, -0.015779439359903336, 0.3338298499584198, -0.694216787815094, 0.3599011301994324, 0.13611119985580444, 0.27407190203666687, -0.7226131558418274, -0.031243255361914635, 0.3382706642150879, -0.0933234766125679, 0.5116389989852905, 0.1471855491399765, -0.4766467809677124, -0.4265303313732147, -0.2795787453651428, 0.5552960634231567, 0.5743354558944702, -0.3248426020145416, 0.519232988357544, 0.42588818073272705, -0.20566977560520172, -0.48330652713775635, -0.7886288166046143, 0.33547642827033997, -0.2654584050178528, -0.664628267288208, 0.5544771552085876, 0.0949694886803627, -0.04022404924035072, -0.017125776037573814, 0.032339178025722504, -0.090836301445961, -0.09171560406684875, -0.20921878516674042, 0.40233850479125977, -0.7610489726066589, -0.018953127786517143, 0.38845953345298767, -0.07362618297338486, -0.3194935917854309, -0.5111237168312073, 0.3310565650463104, -0.26227352023124695, -0.05580801144242287, -0.405380517244339, 0.31705206632614136, 0.4383106529712677, -0.4938031733036041, 0.601494312286377, 0.8024789690971375, -0.33982160687446594, 0.2511804401874542, -0.6623218655586243, -0.08373475074768066, -0.43797340989112854, 0.41510140895843506, -0.6820117831230164, -0.8678221106529236, 0.24908876419067383, 0.051281996071338654, 0.2159990519285202, 0.21599918603897095, 0.5516718029975891, -0.006378043442964554, 0.8825876712799072, 0.8461300134658813, -0.09765852242708206, 0.4217776954174042, -0.08879464119672775, 0.36105450987815857, -0.9022871851921082, 0.1057841032743454, -0.004789063706994057, -0.464952677488327, -1.0006804466247559, -0.5891369581222534, 0.4903223514556885, 0.2657967805862427, -0.29868289828300476, 0.6979023218154907, -0.6831216812133789, 0.47446492314338684, 0.7303569316864014, 0.1818356215953827, 0.6397217512130737, 0.06037013232707977, -0.2983331084251404, -0.06580495834350586, -0.5239084959030151, -0.9542179107666016, 1.1924728155136108, 0.29108357429504395, 0.32980018854141235, 0.07338732481002808, 0.8248609304428101, -0.030775491148233414, 0.27968382835388184, -0.33871880173683167, 0.35658031702041626, -0.5542106032371521, -0.5896397233009338, -0.6822191476821899, -0.3169873356819153, -0.7421810030937195, 0.4054892063140869, 0.1513044238090515, -0.14749771356582642, -0.21526393294334412, 0.29112616181373596, -0.32049334049224854, 0.4747380018234253, -0.8493347764015198, 1.12660551071167, -0.6713571548461914, -0.3532785177230835, -0.39886173605918884, -0.6717991828918457, 0.425927996635437, -0.0766255185008049, -0.012654741294682026, -0.026752501726150513, -0.12869855761528015, 0.5597512125968933, -0.06100357323884964, 0.8201122283935547, -0.06325589120388031, -0.26953059434890747, 0.5418945550918579, 0.12465010583400726, 0.42119163274765015, 0.2239437699317932, -0.21171389520168304, 0.46383988857269287, 0.1442745327949524, -0.5949767231941223, -0.3302789330482483, 0.4296649992465973, -0.9612642526626587, -0.7395333051681519, -0.2568090856075287, -0.5140482783317566, 0.08529078215360641, 0.5786644816398621, 0.37568965554237366, -0.3094823360443115, -0.29069584608078003, -0.23931646347045898, 0.5864510536193848, -0.1668112576007843, 0.2505892813205719, 0.5916982889175415, -0.06634820252656937, -0.5167534947395325, 0.6103236675262451, 0.1747387945652008, 0.2455221265554428, 0.33325764536857605, 0.3320769667625427, -0.2527521550655365, -0.2954263985157013, -0.9173087477684021, 0.5837563276290894, -0.509371280670166, -0.027399452403187752, -0.32361117005348206, -0.2957597076892853, -0.8437989354133606, -0.09539967775344849, -0.18397773802280426, -0.549340546131134, -0.2936267852783203, -0.19502615928649902, -0.02195977233350277, 0.7663800120353699, -0.09761209040880203, 0.31709855794906616, -0.8119902610778809, 0.25235745310783386, 0.2168763130903244, 0.08817677199840546, -0.04245330020785332, -0.8016512989997864, -0.3557875156402588, 0.13893739879131317, -0.6318867206573486, -0.9366054534912109, 0.22446498274803162, -0.11641945689916611, 0.3846696615219116, 0.09573885053396225, -0.24238187074661255, 0.8729018568992615, -0.6969461441040039, 0.6807947754859924, 0.2191181480884552, -1.025817632675171, 0.4797267019748688, -0.3666748106479645, 0.25227877497673035, 0.34521904587745667, 0.0774545669555664, -1.0035171508789062, -0.2823462188243866, -0.3022901117801666, -0.4597219228744507, 0.46701714396476746, 0.04439637064933777, 0.25632569193840027, 0.35003861784935, 0.4922497272491455, 0.1777316927909851, 0.27345892786979675, -1.1024657487869263, 0.18947376310825348, -0.4992212653160095, -0.18143898248672485, -0.3069039285182953, -0.25357335805892944, 0.1811525821685791, -0.15950395166873932, 0.5770197510719299, 0.0036440780386328697, -0.0057578785344958305, -0.006891356315463781, -0.13548174500465393, -0.2733657658100128, 0.28376883268356323, 0.39321231842041016, 0.26194044947624207, -0.08092977851629257, 0.29577964544296265, 0.7557755708694458, -0.684767484664917, 0.28485971689224243, -0.07792975753545761, -0.2546211779117584, 0.21965909004211426, 0.5136984586715698, 0.7820785045623779, 0.051689330488443375, -0.3208746016025543, 0.11764874309301376, 0.23253533244132996, 0.25765177607536316, -0.034978121519088745, -0.2402312308549881, 0.29102271795272827, 0.03693699091672897, -0.35950151085853577, -0.26655855774879456, -0.07143198698759079, -0.4836990237236023, -0.28764909505844116, 0.10020638257265091, -0.3851509094238281, -0.7346559762954712, 0.5904045701026917, 0.3746841847896576, -0.26754382252693176, 0.6728512048721313, -0.3849080502986908, -0.46425122022628784, 0.3905617296695709, 0.9246540069580078, 0.7292461395263672, -0.6309505105018616, 0.1479451209306717, 0.45830339193344116, 0.5930962562561035, -0.14107103645801544, 0.4580354690551758, -0.06954578310251236, -0.5676041841506958, -0.32661178708076477, -0.5464739203453064, -0.2114674597978592, 0.07681474089622498, -0.5584878325462341, 0.7585132718086243, -0.19430002570152283, -0.47032415866851807, -0.5155045986175537, 0.16445550322532654, -0.5876144170761108, -0.16716255247592926, 0.21317821741104126, 0.6221733689308167, -0.5660263895988464, 1.2049241065979004, 0.9747765064239502, -0.5241784453392029, -1.019555926322937, -0.227683886885643, -0.21608832478523254, -0.9400455355644226, 0.7552356719970703, -0.0016214041970670223, -0.20781470835208893, 0.0867510512471199, -0.0012822321150451899, -0.8298453092575073, 1.2631467580795288, 0.5346305966377258, -0.5844595432281494, -0.7790915369987488, 0.4047508239746094, 0.6870440244674683, -0.12737634778022766, 0.06703749299049377, 0.7447336316108704, 0.5910223722457886, -0.4356059432029724, -1.5020110607147217, 0.07313860207796097, -0.08816593140363693, 0.37841859459877014, 0.28473687171936035, -1.0096168518066406, 0.8103970289230347, -0.2590935230255127, -0.29956960678100586, 0.010815931484103203, 0.6017619371414185, 0.2582553029060364, 0.3115110397338867, 0.2977222800254822, 0.5410503149032593, 0.8998230695724487, 0.21131497621536255, 0.6141379475593567, -0.32793450355529785, 0.12345822900533676, 1.0005927085876465, -0.702418863773346, 0.8664495944976807, 0.6191869974136353, -0.06839524209499359, 0.5066044330596924, 0.7224247455596924, 0.2555058002471924, 0.3923054039478302, 0.04668186977505684, -0.35453858971595764, -0.24045433104038239, -0.3593291938304901, -0.34077414870262146, 0.2727692127227783, 0.24648481607437134, -0.16143997013568878, -0.009688847698271275, 0.2493029087781906, 0.14395923912525177, 0.04755197465419769, -0.05349932983517647, 0.6094032526016235, 0.41631993651390076, -0.7067159414291382, 0.9464138150215149, 0.2478039413690567, 0.6487331390380859, -0.3679271936416626, 0.049784742295742035, -0.30331704020500183, 0.10896950215101242, -0.002408422762528062, -0.6695048809051514, 0.29980117082595825, 0.06254804134368896, 0.07073195278644562, -0.5371197462081909, 0.6890183687210083, -0.4848736822605133, -0.4586819112300873, 0.494681715965271, 0.43167582154273987, 0.05436355993151665, 0.3146294951438904, -0.5822826027870178, -0.015162124298512936, 0.08449456095695496, -0.12499178200960159, 0.14986415207386017, 0.7653533816337585, -0.3652209937572479, 0.11431041359901428, 0.30391374230384827, 0.34354621171951294, 0.13511346280574799, -0.11300741881132126, 0.6656074523925781, -0.6081904172897339, -0.5528976917266846, -0.7823551297187805, 0.338723361492157, 0.05101453885436058, -0.4268125593662262, 0.7531929612159729, 0.7739874124526978, 0.9380664229393005, -0.036964353173971176, 0.8963980674743652, 0.2319655418395996, 0.44656917452812195, -0.5494709610939026, 0.6662596464157104, -0.523012638092041, 0.13526472449302673, 0.04093209281563759, -0.7596526741981506, -0.10481943935155869, 0.477695107460022, -0.24957938492298126, -0.22644637525081635, 0.8540502190589905, 0.6757491230964661, -0.2835710644721985, -0.059765662997961044, 0.4128485918045044, 0.13983094692230225, 0.06915844231843948, 0.8710229396820068, 0.7959820032119751, -0.5811094045639038, 0.9284982681274414, -0.45574626326560974, -0.2896448075771332, -0.024571113288402557, -0.755945086479187, -0.9956212043762207, -0.3163951337337494, -0.12976416945457458, -0.47738900780677795, 0.25603345036506653, 0.5415084362030029, 0.5022693276405334, -0.7130325436592102, -0.787534236907959, 0.24280917644500732, 0.16368918120861053, -0.19616244733333588, -0.14305494725704193, 0.48302456736564636, -0.234699547290802, -0.6563142538070679, 0.20512408018112183, 0.5207685232162476, 0.4098801016807556, -0.2132166475057602, -0.19442103803157806, 0.22885161638259888, -0.09591396898031235, 0.6744714379310608, -0.02801717072725296, -0.8818661570549011, -0.04529614746570587, 0.5302881598472595, -0.539002537727356, 0.3610506057739258, 1.0076255798339844, -0.41127675771713257, 0.1930326521396637, 0.46635186672210693, 0.4887326657772064, 0.5177076458930969, -0.2765444815158844, 0.5303546786308289, -0.5325594544410706, 0.33282214403152466, 0.22382299602031708, 0.21028147637844086, 0.37192302942276, -0.5785912275314331, 0.5280902981758118, 0.2042526751756668, -0.5065010786056519, -0.8235728144645691, 0.2855013608932495, -0.5619979500770569, -0.05383753776550293, 1.0910513401031494, -0.18045863509178162, -0.1942097246646881, -0.06575464457273483, -0.4059503674507141, 0.7898730635643005, -0.18863937258720398, 0.5844475626945496, 0.7365255355834961, 0.09768602252006531, -0.00952388159930706, -0.5736807584762573, 0.3838018476963043, 0.4605155885219574, -0.5843008756637573, 0.19726087152957916, 0.19551445543766022, 0.19179140031337738, 0.11990351229906082, 0.9873520135879517, -0.07513941824436188, 0.48162421584129333, -0.08772394806146622, 0.14251737296581268, 0.0905645489692688, 0.03357778862118721, -0.2954999804496765, -0.38215532898902893, 0.29067370295524597, 0.01949610933661461 ]
http://arxiv.org/abs/2403.12017v1
http://arxiv.org/pdf/2403.12017v1
Supervised Fine-Tuning as Inverse Reinforcement Learning
2024-03-18T17:52:57
2024-03-18T17:52:57
Hao Sun
cs.LG
cs.LG, cs.AI, cs.CL
The prevailing approach to aligning Large Language Models (LLMs) typically relies on human or AI feedback and assumes access to specific types of preference datasets. In our work, we question the efficacy of such datasets and explore various scenarios where alignment with expert demonstrations proves more realistic. We build a sequential decision-making framework to formulate the problem of aligning LLMs using demonstration datasets. Drawing insights from inverse reinforcement learning and imitation learning, we introduce various approaches for divergence minimization in the LLM alignment tasks. Our analysis highlights the mass-covering and mode-seeking behaviors of these different approaches. Inclusively, we examine the pros and cons of the classical supervised fine-tuning method, elaborating on scenarios where different methods shine.
[ -0.5531153678894043, -0.9275641441345215, 0.55510014295578, -0.1709635704755783, -0.03015008196234703, -0.07612677663564682, -0.5148352384567261, -0.08210903406143188, -0.01848847232758999, 0.5581096410751343, -0.9497568011283875, -0.40914466977119446, -0.4499166011810303, 0.05248909443616867, -0.2335796356201172, 0.8875254392623901, -0.3466973304748535, 0.07970146834850311, -0.28455716371536255, -0.15709485113620758, -0.5016659498214722, 0.08111099898815155, -0.8359007239341736, -0.3729315400123596, 0.48871883749961853, 0.9885848760604858, 0.9184392094612122, 1.1147780418395996, 0.2681732475757599, 0.35085293650627136, 0.1624564528465271, 0.5982093811035156, -0.6552851796150208, -0.02187301218509674, -0.23905375599861145, -0.5927177667617798, -0.059280525892972946, 0.26939478516578674, 0.630427360534668, 0.734955370426178, -0.0798228532075882, -0.07161440700292587, 0.061156682670116425, 0.7747596502304077, -0.682927668094635, -0.14898917078971863, -0.49174150824546814, 0.07246282696723938, 0.03238144516944885, -0.1234607845544815, -0.205778568983078, -0.3811756670475006, 0.12052180618047714, -0.689136803150177, 0.017521599307656288, 0.3386826515197754, 0.8554784059524536, 0.6076202988624573, -0.47617706656455994, -0.16340434551239014, -0.803726315498352, 1.0747896432876587, -0.6925094127655029, 0.34967753291130066, 0.5450491905212402, 0.3045906722545624, -0.26070016622543335, -0.19573865830898285, -0.5251783728599548, -0.19002126157283783, -0.22372892498970032, 0.07080032676458359, 0.06804131716489792, 0.11053246259689331, 0.29862162470817566, 0.37271276116371155, -0.5449752807617188, 1.001046895980835, -0.03296441584825516, -0.0029959415551275015, 0.7623871564865112, 0.40035101771354675, 0.05438151955604553, 0.4681502878665924, -0.25817635655403137, -0.21344216167926788, -0.9593555927276611, 0.13589416444301605, 0.8103029131889343, 0.5626490712165833, -0.00869174674153328, 0.8627107739448547, -0.48067665100097656, 0.9675282835960388, 0.4538695812225342, -0.13306252658367157, -0.07312888652086258, -0.18758989870548248, -0.3778356909751892, 0.2448122650384903, 0.6897914409637451, 0.42913827300071716, 0.23915737867355347, 0.007281132508069277, -0.28257474303245544, -0.2993452847003937, 0.19562911987304688, -0.5256919264793396, -0.13299134373664856, 0.16268794238567352, -0.27867433428764343, -0.37721338868141174, 0.13173505663871765, -0.5312296748161316, -0.5251466035842896, -1.0851736068725586, 0.5935153961181641, -0.1739848405122757, 0.011380662210285664, 0.2586241364479065, -0.07312479615211487, 0.23991458117961884, 0.3465767502784729, -1.1388890743255615, 0.44108736515045166, 0.8960512280464172, 0.5776546001434326, -0.2124876230955124, -0.263950377702713, -0.6174474954605103, 0.1819605529308319, -0.5742154717445374, 0.5092809796333313, -0.38369861245155334, -0.10110263526439667, 0.15840931236743927, 0.13129708170890808, 0.04692213982343674, -0.6341978311538696, 0.5032398104667664, -0.46903347969055176, 0.3946070969104767, -0.4197002649307251, -0.808347225189209, -0.3045966625213623, 0.18018203973770142, -0.5196896195411682, 0.7768126130104065, -0.075724758207798, -0.6865047216415405, 0.5929277539253235, -0.2811404764652252, -0.32977294921875, -0.32804402709007263, -0.2897203266620636, -0.5942972302436829, -0.019467582926154137, 0.4571390151977539, 0.5153342485427856, 0.05612955242395401, 0.003716316306963563, -0.43803492188453674, -0.5726355314254761, 0.13777954876422882, -0.29922565817832947, 0.5219346284866333, 0.1771334707736969, -0.3499765396118164, 0.3689761459827423, -0.4533785283565521, -0.21058733761310577, -0.0450570248067379, -0.17024865746498108, -0.5704905986785889, 0.28808102011680603, -0.4054831564426422, -0.007169234100729227, 0.2733810842037201, -0.31233564019203186, 0.6683533787727356, -0.6224363446235657, 0.21263357996940613, 1.0432935953140259, -0.09013625234365463, 0.7020493149757385, -0.6176820993423462, 0.5031390190124512, 0.1508171260356903, 0.09775378555059433, 0.11166869103908539, 0.13514189422130585, -0.8157877922058105, -0.3674861192703247, 0.4628814458847046, 0.5053030848503113, -0.43682417273521423, 0.5446036458015442, -0.24344336986541748, -0.0976114496588707, -0.8382666707038879, 0.4211551249027252, 0.46886417269706726, 0.5258563160896301, 0.32707512378692627, 0.05933672934770584, -0.6459930539131165, -1.2881381511688232, -0.2322206199169159, 0.02317497506737709, 0.04319518432021141, 0.318276047706604, 0.11860836297273636, -0.21772071719169617, 0.9977259039878845, -0.49473071098327637, -0.4821726977825165, -0.19466322660446167, 0.004354674834758043, 0.037976354360580444, 0.6688048243522644, 0.35108429193496704, -0.6645197868347168, -0.4676564931869507, 0.22748620808124542, -0.4588644802570343, -0.04749010130763054, -0.2787996828556061, -0.030060015618801117, 0.2901113033294678, 0.8209665417671204, -0.1696486622095108, 0.06302595138549805, 0.6007786989212036, 0.36278557777404785, 0.3594357371330261, -0.23161637783050537, 0.17030999064445496, -0.7996819615364075, -0.2815426290035248, 0.10038676857948303, -0.4692271947860718, -0.4094533324241638, -0.035479336977005005, -0.031085029244422913, 0.5304898023605347, -0.18365252017974854, 0.5359160304069519, -0.49942511320114136, -0.021255197003483772, -0.33255404233932495, 0.3187091648578644, -0.4652339816093445, 0.407621830701828, 0.09632951766252518, 0.8627907037734985, 0.5021174550056458, -0.7049359679222107, 0.2975773215293884, 0.20760253071784973, -0.47071224451065063, 0.5149552226066589, -0.511411190032959, -0.031911451369524, -0.1979702115058899, 0.028697311878204346, -1.0854291915893555, -0.27662622928619385, 0.1500771939754486, -0.04792426899075508, 0.4930329918861389, -0.35609835386276245, -0.5032492876052856, -0.23266340792179108, -0.2621280252933502, 0.12863221764564514, 0.6774845719337463, -0.8050195574760437, 0.3166636526584625, 0.2371492087841034, -0.05857923999428749, -0.9591972827911377, -0.35290685296058655, -0.20866477489471436, -0.5776781439781189, -0.30629071593284607, 0.42734941840171814, 0.07421785593032837, -0.41834741830825806, -0.23871448636054993, -0.02526840940117836, 0.2887360751628876, 0.26950258016586304, 0.36272695660591125, 0.01763434335589409, -0.20292438566684723, 0.13949353992938995, 0.5019038319587708, 0.06110908463597298, -0.380561888217926, -0.23329885303974152, 0.3316502571105957, -0.2154863178730011, -0.6117725372314453, -0.6051051020622253, 0.05473298206925392, 0.09593920409679413, 0.14133904874324799, 0.48102283477783203, 0.33844566345214844, -0.09858681261539459, -0.26231852173805237, -0.5843043327331543, -0.26349467039108276, -0.5116860270500183, 0.27589502930641174, -0.29009127616882324, -0.7442647218704224, 0.3188892602920532, -0.45229002833366394, 0.18499305844306946, 0.20665965974330902, 0.582122802734375, -0.3816035985946655, 1.4055970907211304, 0.8358801007270813, -0.2400616854429245, 0.6219989657402039, -0.22708182036876678, -0.04120007902383804, -0.6896381974220276, 0.0047996873036026955, -0.3774910867214203, -0.6750836372375488, -0.6300669312477112, 0.20532071590423584, 0.21662013232707977, 0.47964757680892944, -0.4277069866657257, 0.4650883078575134, -0.20853212475776672, 0.6853543519973755, 0.5719952583312988, 0.2738945484161377, 0.45297467708587646, -0.2304750233888626, -0.28596779704093933, -0.12611277401447296, -0.6136761903762817, -0.5817700624465942, 0.8502811193466187, 0.2344101518392563, 1.0133968591690063, 0.08579778671264648, 0.6273598670959473, 0.014702658168971539, 0.25297388434410095, -1.0020334720611572, 0.4410971701145172, -0.12096961587667465, -0.27926522493362427, -0.7118582725524902, -0.1728244572877884, -1.012627124786377, 0.21864457428455353, -0.21208330988883972, -0.49619120359420776, -0.09384717792272568, 0.3505684435367584, -0.23303908109664917, 0.13848035037517548, -0.5312201380729675, 0.8030017018318176, -0.31049996614456177, -0.31621500849723816, -0.199199378490448, -0.7738898396492004, 0.528620719909668, 0.05535047501325607, 0.22741088271141052, 0.16146624088287354, -0.1708388328552246, 0.4931480288505554, -0.30887457728385925, 1.0442167520523071, -0.16836607456207275, -0.38447675108909607, -0.2165418565273285, 0.19216254353523254, 0.5744805335998535, 0.09410642087459564, 0.20909836888313293, -0.434500515460968, -0.1278279572725296, -0.2058798223733902, -0.658335268497467, 0.9214571714401245, -0.823379397392273, -0.8446098566055298, 0.12837916612625122, -0.6077799797058105, -0.5224435329437256, 0.19772732257843018, -0.029102275148034096, 0.0383133664727211, -0.2767722010612488, 0.024237265810370445, 0.9543944597244263, -0.05519986152648926, 0.30327942967414856, 0.7211392521858215, -0.3487728536128998, -0.23605185747146606, 0.7913506627082825, -0.08039843291044235, 0.30758580565452576, 0.5929585695266724, 0.29957082867622375, -0.32849910855293274, -0.6767544746398926, -0.4416949450969696, 0.21851365268230438, -0.4880070388317108, -0.055753882974386215, -0.3845582604408264, 0.22565925121307373, -0.2722068428993225, -0.3072608411312103, -0.41957327723503113, -0.3608168065547943, -0.5664655566215515, -0.25307926535606384, 0.2277923822402954, 0.5194794535636902, -0.08572636544704437, 0.4990392327308655, -0.37024441361427307, 0.1287202537059784, 0.5017342567443848, 0.24152499437332153, -0.21222053468227386, -0.5783801674842834, -0.22338320314884186, 0.37005797028541565, -0.3645085394382477, -0.4020542502403259, 0.23211760818958282, 0.12823432683944702, 0.6369376182556152, 0.745389461517334, 0.05107734352350235, 0.9437124133110046, -0.4382060468196869, 0.6995318531990051, -0.16037839651107788, -0.6985151171684265, 0.5053935050964355, -0.2812768220901489, -0.06783922761678696, 0.7703803181648254, 0.8077033758163452, -0.35129037499427795, -0.42983192205429077, -0.39757466316223145, -0.5888043642044067, 0.5566731095314026, -0.3326282501220703, -0.02966134063899517, 0.24154788255691528, 0.25716662406921387, 0.4366755783557892, 0.06775957345962524, -0.24378907680511475, -0.23924967646598816, 0.15201303362846375, -0.46768832206726074, -0.4066294729709625, 0.24900293350219727, -0.5572233200073242, -0.37105393409729004, 0.8321003913879395, -0.38911932706832886, -0.23496463894844055, -0.10128198564052582, -0.21331647038459778, -0.2563082277774811, 0.18668073415756226, 1.1069856882095337, 0.3155636191368103, -0.12147322297096252, 0.044517166912555695, 0.21278230845928192, 0.1014861911535263, 0.1915852427482605, -0.06859631091356277, -0.11707212775945663, -0.38734331727027893, 0.20055925846099854, 1.006771445274353, 0.1520005464553833, -0.6610544323921204, 0.6159921884536743, 0.19929373264312744, -0.4052678644657135, -0.30317920446395874, 0.17807137966156006, 0.0211343914270401, 0.29528510570526123, 0.09577621519565582, -0.03441958874464035, -0.04098093509674072, -0.3435038626194, 0.10376662015914917, 0.8765923380851746, -0.7255961894989014, -0.14425966143608093, 0.4863204061985016, -0.24670223891735077, -0.025111213326454163, 0.8376438617706299, 0.2304021269083023, -0.34560173749923706, 0.6409446001052856, 0.2430160641670227, 0.661191463470459, 0.07314547151327133, 0.05268864333629608, 0.15399426221847534, 0.12733784317970276, -0.46431463956832886, -0.03550565242767334, -0.09936998784542084, -0.8143941760063171, -0.6150869727134705, -0.26140734553337097, -0.46958547830581665, 0.10462076216936111, -0.7633986473083496, 0.667410135269165, -0.18867962062358856, 0.11479457467794418, -0.01896343007683754, -0.04963400214910507, -0.48129358887672424, -0.07095802575349808, -0.1299358606338501, 0.7333815693855286, -1.1481032371520996, 0.8220046162605286, 0.585969090461731, -0.40112563967704773, -0.7253705263137817, -0.0253918319940567, 0.10372470319271088, -0.9679562449455261, 0.8476782441139221, -0.10572832077741623, -0.07001344114542007, 0.20846374332904816, -0.9312857389450073, -0.684406578540802, 1.0073989629745483, 0.28291386365890503, -0.6050121784210205, 0.07532113045454025, -0.19268378615379333, 0.4897513687610626, -0.300006628036499, 0.09285109490156174, 0.6141273975372314, 0.6383139491081238, -0.05002153664827347, -0.9302321672439575, -0.0864017978310585, 0.42244353890419006, -0.0801873728632927, 0.24799607694149017, -0.6537229418754578, 0.46093904972076416, -0.45599278807640076, -0.19063055515289307, 0.34428170323371887, 0.6882160902023315, 0.06984136998653412, -0.08559142798185349, 0.5351500511169434, 0.7505145072937012, 0.47451168298721313, -0.0946500152349472, 0.9234707951545715, 0.12099777907133102, 0.25502195954322815, 1.2961294651031494, -0.256351113319397, 0.7337225079536438, 0.7586763501167297, -0.222385436296463, 0.4193771481513977, 0.8819963335990906, -0.09646765142679214, 0.7810918092727661, 0.4072381854057312, 0.15180060267448425, -0.4490501880645752, -0.06030067428946495, -0.21944567561149597, 0.3653806447982788, 0.28199252486228943, -0.2978385090827942, -0.09471704065799713, 0.06930895894765854, -0.2681249976158142, 0.3387417197227478, -0.3475770354270935, 1.1543161869049072, -0.21865303814411163, -0.8049387335777283, 0.5589521527290344, 0.03436735272407532, 0.7374343872070312, -0.34064966440200806, -0.042188793420791626, -0.3303593099117279, 0.27964502573013306, -0.3157061040401459, -0.7744591236114502, 0.05930652096867561, -0.6129223704338074, -0.1952829658985138, -0.42720159888267517, 0.10544893890619278, -0.7780434489250183, 0.023951979354023933, -0.2621590197086334, 0.27324533462524414, -0.029081860557198524, 0.36134883761405945, -0.4898904263973236, -0.23834294080734253, -0.12983207404613495, -0.19884546101093292, 0.7062289714813232, 0.22256715595722198, -0.25568103790283203, 0.7799078822135925, 0.3973664343357086, 0.05170305445790291, -0.08609887212514877, -0.01775621809065342, 0.6810840368270874, -0.32430097460746765, -0.19454796612262726, -0.9123322367668152, 0.23634293675422668, 0.015285365283489227, -0.13438954949378967, 0.8398892283439636, 0.6986994743347168, 1.1754282712936401, -0.3130429983139038, 0.6405782699584961, 0.3921382427215576, 0.6359961628913879, -0.9200274348258972, 0.2151167243719101, -0.6499335169792175, 0.28234946727752686, -0.12220700830221176, -0.6181044578552246, -0.27769774198532104, 0.5507767796516418, -0.34654125571250916, -0.12235493957996368, 0.37771788239479065, 1.014791488647461, -0.28556331992149353, -0.033285994082689285, 0.2717905044555664, 0.025143316015601158, 0.164958193898201, 0.4256797134876251, 1.1325597763061523, -0.31220394372940063, 0.11781120300292969, -0.3116408884525299, -0.2028200775384903, -0.28831878304481506, -1.0223379135131836, -0.833166778087616, -0.589930534362793, -0.4444054067134857, -0.004660183563828468, -0.088931143283844, 1.132967233657837, 0.6910279393196106, -0.8218541145324707, -0.1769268810749054, -0.24516893923282623, 0.2714688181877136, -0.7886744141578674, -0.22768990695476532, 0.27240094542503357, -0.4614851772785187, -1.0366849899291992, 0.49518507719039917, -0.044948216527700424, 0.4376421868801117, -0.28235116600990295, -0.23042263090610504, -0.00953203346580267, -0.055937863886356354, 0.2190483659505844, 0.5811368227005005, -0.9550771117210388, -0.2688698470592499, -0.1667797863483429, -0.21136000752449036, -0.04335455223917961, 0.8793054223060608, -0.7924147248268127, 0.2631455063819885, 0.43711334466934204, 0.7558643817901611, 0.49037960171699524, 0.42734256386756897, 0.6845819354057312, -0.7934828400611877, -0.044708408415317535, 0.05456026270985603, 0.22267454862594604, 0.10872069001197815, -0.2800823748111725, 0.23286469280719757, -0.2249022275209427, -0.704323947429657, -0.8117384314537048, 0.3767056465148926, -1.0067628622055054, -0.3797939419746399, 1.2598261833190918, 0.12536433339118958, 0.18303266167640686, -0.05798998475074768, -0.48216506838798523, 0.046165984123945236, -0.22761882841587067, 0.7058863639831543, 0.6077888607978821, -0.31044432520866394, -0.15630903840065002, -0.3293117880821228, 0.6970248222351074, 0.5502930879592896, -0.43628424406051636, 0.2589094340801239, 0.594292938709259, 0.3263109624385834, -0.2871510088443756, 0.1662289947271347, 0.07333311438560486, -0.20840808749198914, -0.47959259152412415, -0.21338346600532532, -0.301513135433197, -0.31454282999038696, -0.7209089398384094, -0.18600325286388397, 0.3419806659221649, -0.09952642023563385 ]
http://arxiv.org/abs/2403.12014v1
http://arxiv.org/pdf/2403.12014v1
EnvGen: Generating and Adapting Environments via LLMs for Training Embodied Agents
2024-03-18T17:51:16
2024-03-18T17:51:16
Abhay Zala, Jaemin Cho, Han Lin, Jaehong Yoon, Mohit Bansal
cs.CL
cs.CL, cs.AI, cs.LG
Recent SOTA approaches for embodied learning via interaction directly employ large language models (LLMs) as agents to determine the next steps in an environment. Due to their world knowledge and reasoning capabilities, LLM agents achieve stronger performance than previous smaller agents based on reinforcement learning (RL); however, frequently calling LLMs is slow and expensive. Instead of directly employing LLMs as agents, can we use LLMs' reasoning capabilities to adaptively create training environments to help smaller embodied RL agents learn useful skills that they are weak at? We propose EnvGen, a novel framework to address this question. First, we prompt an LLM to generate training environments that allow agents to quickly learn different tasks in parallel. Concretely, the LLM is given the task description and simulator objectives that the agents should learn and is then asked to generate a set of environment configurations (e.g., different terrains, items given to agents, etc.). Next, we train a small RL agent in a mixture of the original and LLM-generated environments. Then, we enable the LLM to continuously adapt the generated environments to progressively improve the skills that the agent is weak at, by providing feedback to the LLM in the form of the agent's performance. We demonstrate the usefulness of EnvGen with comprehensive experiments in Crafter and Heist environments. We find that a small RL agent trained with EnvGen can outperform SOTA methods, including a GPT-4 agent, and learns long-horizon tasks significantly faster. We show qualitatively how the LLM adapts training environments to help improve RL agents' weaker skills over time. Additionally, EnvGen is substantially more efficient as it only uses a small number of LLM calls (e.g., 4 in total), whereas LLM agents require thousands of LLM calls. Lastly, we present detailed ablation studies for our design choices.
[ -0.2920287847518921, -0.7680512070655823, 0.5134707689285278, 0.20827250182628632, -0.05716124176979065, 0.12773634493350983, -0.30291563272476196, -0.6298887133598328, 0.10914360731840134, 0.4959789216518402, -0.7928682565689087, -0.4425959587097168, -0.16128075122833252, 0.38206449151039124, 0.13112889230251312, 0.5504106283187866, -0.03231853246688843, -0.08926673233509064, -0.6254405379295349, -0.24172250926494598, -0.38541358709335327, -0.17946888506412506, -0.6428670287132263, -0.5866979956626892, 0.3643319308757782, 0.5648375153541565, 0.26629436016082764, 0.6970457434654236, 0.1866295486688614, 0.4550226330757141, 0.12907017767429352, 0.4189094007015228, -0.4704298973083496, 0.5234749913215637, -0.21956396102905273, -0.4930269122123718, -0.29427704215049744, -0.3767641484737396, 0.6268872022628784, 0.09310059994459152, -0.15442612767219543, 0.037874363362789154, 0.12745891511440277, 0.4986320734024048, -0.554638683795929, 0.10864574462175369, -0.52194744348526, 0.32639244198799133, 0.138849139213562, -0.37546706199645996, -0.4367014765739441, 0.06305830925703049, -0.058947671204805374, -0.8792182803153992, 0.2666087746620178, 0.13097164034843445, 0.39194050431251526, 0.6642055511474609, -0.07190928608179092, -0.1716822385787964, -0.7060801982879639, 0.6203421354293823, -0.4939943253993988, 0.5167543888092041, -0.1419665813446045, 0.35778573155403137, -0.36172622442245483, -0.7876062393188477, -0.4434312582015991, -0.3438020348548889, 0.20575958490371704, 0.48726117610931396, 0.22872969508171082, 0.1229555681347847, 0.5043027997016907, -0.19964049756526947, -0.40852445363998413, 0.33280518651008606, -0.3088572025299072, -0.18887344002723694, 0.6024869084358215, 0.42246535420417786, 0.4281446635723114, 0.14238324761390686, -0.5620225071907043, -0.45129328966140747, -1.0081121921539307, 0.09691249579191208, 0.37679633498191833, 0.386056125164032, 0.033852387219667435, 0.4358765780925751, -0.08851896971464157, 0.5947288870811462, -0.10280575603246689, -0.2657475471496582, 0.15850567817687988, 0.12197072058916092, -0.06675592064857483, 0.29186585545539856, 0.41566896438598633, 0.13496755063533783, -0.06800731271505356, -0.15927055478096008, -0.31648439168930054, -0.11294924467802048, 0.5943453311920166, -0.987241268157959, 0.1010814905166626, 0.038283176720142365, -0.3255094885826111, -0.12340689450502396, -0.3359871506690979, -0.7480232119560242, -0.6137427091598511, -0.2904934287071228, 0.45464953780174255, -0.6060599088668823, -0.22956831753253937, 0.12183911353349686, -0.4266646206378937, 0.6769052743911743, 0.4594261646270752, -0.748893678188324, 0.3231504261493683, 0.56805020570755, 0.8507524132728577, 0.0036779697984457016, -0.5907785892486572, -0.5783786177635193, 0.14087729156017303, -0.28383466601371765, 0.8816789984703064, -0.6605507135391235, -0.5472076535224915, 0.011871748603880405, 0.04057011380791664, -0.029604308307170868, -0.6746047139167786, -0.08919432014226913, -0.4550338685512543, -0.25761210918426514, -0.33210548758506775, -0.33490294218063354, 0.0725182518362999, 0.2646195590496063, -0.46994757652282715, 1.0052106380462646, 0.07751598954200745, -0.5203166007995605, 0.36789217591285706, -0.8506194949150085, -0.3967474699020386, 0.1988765150308609, -0.17670641839504242, -0.4817045331001282, 0.04696018993854523, 0.0003475392295513302, 0.29828080534935, -0.20310309529304504, -0.3812394440174103, -0.34339043498039246, -0.41987088322639465, 0.0617264024913311, 0.0633280873298645, 0.34583747386932373, 0.18131713569164276, -0.4257957637310028, 0.30215713381767273, -0.6209281086921692, -0.013664187863469124, 0.30053800344467163, -0.40701165795326233, -0.2956838607788086, 0.19947096705436707, -0.2277902215719223, 0.12050450593233109, 0.09661492705345154, -0.5433834791183472, 0.2258080244064331, -0.6714755296707153, 0.3916678726673126, 0.9290189146995544, 0.10806961357593536, 0.5894632935523987, -0.3972477316856384, 0.6515093445777893, -0.2958926856517792, -0.09617017954587936, 0.025689877569675446, -0.09693888574838638, -1.0261260271072388, -0.3106176555156708, -0.177573099732399, 0.31492874026298523, -1.3336341381072998, 0.15746626257896423, -0.04596833139657974, -0.6744964122772217, -0.25290200114250183, 0.21465103328227997, 0.4850514829158783, 0.1406470686197281, 0.3129630386829376, -0.39815130829811096, -0.749342679977417, -0.5579087734222412, -0.29542243480682373, -0.21662388741970062, 0.01576944999396801, 0.3382369577884674, 0.7656835317611694, -0.27109289169311523, 0.906152606010437, -0.22819088399410248, -0.05299656465649605, -0.2592695355415344, -0.02430422231554985, -0.23084406554698944, 0.45373475551605225, 0.5174146294593811, -0.4804603159427643, -0.30084410309791565, 0.04975553974509239, -0.9944840669631958, 0.04292330890893936, -0.22080354392528534, -0.35326898097991943, -0.036847736686468124, 0.7890174984931946, -0.44947871565818787, 0.22527973353862762, 0.20669955015182495, -0.3711439371109009, 0.40919461846351624, -0.5530587434768677, -0.23646247386932373, -0.8534833788871765, -0.26838213205337524, 0.02302880771458149, -0.3395703434944153, -0.6522762775421143, 0.3022037148475647, -0.13132086396217346, -0.0604439377784729, -0.715041995048523, 0.8639249801635742, -0.5515524744987488, -0.40690290927886963, -0.4269178509712219, -0.019985860213637352, -0.22192269563674927, 0.6298235654830933, 0.36696213483810425, 0.7478468418121338, 0.6847336292266846, -0.7690760493278503, 0.4920414388179779, 0.4227493405342102, -0.09995535761117935, 0.4974169135093689, -0.5993527173995972, 0.5581616759300232, -0.2327956110239029, 0.33595871925354004, -0.42792806029319763, -0.17189043760299683, 0.17411623895168304, -0.20309510827064514, 0.16100473701953888, 0.01980416662991047, -0.4573425352573395, -0.043739814311265945, -0.20919544994831085, 0.10229738801717758, 0.8237552046775818, -0.7587571144104004, 1.1751149892807007, 0.07032952457666397, -0.08672809600830078, -0.3725205063819885, -0.40292081236839294, -0.13318191468715668, -0.466453492641449, -0.5917772650718689, 0.28727400302886963, -0.13540783524513245, -0.36008599400520325, 0.048424966633319855, -0.355095237493515, 0.24172386527061462, 0.3119859993457794, 0.4584912955760956, 0.016429422423243523, -0.21940666437149048, 0.26402026414871216, -0.06220890209078789, -0.09977971762418747, 0.11577293276786804, -0.4900432527065277, 0.34646302461624146, -0.3419375717639923, -0.4548599123954773, 0.40741950273513794, 0.06923740357160568, 0.4556894302368164, -0.18785487115383148, 0.8900278210639954, 0.6863799095153809, -0.4144306182861328, -0.8248047232627869, -0.22349034249782562, -0.3509376049041748, -0.5517142415046692, 0.4126289486885071, -0.47889232635498047, -0.8364445567131042, 0.4612567126750946, -0.23544210195541382, 0.4246947467327118, 0.2605764865875244, 0.857257604598999, -0.09571469575166702, 0.6577206254005432, 0.8234867453575134, 0.45987817645072937, 0.7738427519798279, -0.3828132450580597, -0.20577570796012878, -0.8404871821403503, -0.413582444190979, -0.26470786333084106, -0.3558899462223053, -0.4534858167171478, -0.6983470916748047, 0.5089085698127747, -0.32322826981544495, -0.5007175207138062, 0.23800045251846313, -0.4024650454521179, 0.5657424926757812, 0.6167547106742859, 0.539124608039856, -0.016041092574596405, -0.029214197769761086, -0.010924567468464375, 0.18265315890312195, -0.9043682813644409, -0.5580139756202698, 0.8947756886482239, 0.3739490211009979, 0.9948542714118958, 0.02477841265499592, 0.9992406964302063, 0.21088100969791412, 0.46768078207969666, -0.6237576007843018, 0.666349470615387, 0.2347496896982193, -0.29193419218063354, -0.47134339809417725, -0.2363082468509674, -0.9294991493225098, 0.422161728143692, -0.35713446140289307, -0.45902568101882935, 0.19086207449436188, 0.13704223930835724, -0.33733701705932617, 0.12150437384843826, -0.5240390300750732, 0.7647945284843445, -0.32253390550613403, -0.7964457869529724, -0.2689889073371887, -0.6919408440589905, -0.012924465350806713, 0.002764251548796892, 0.020910628139972687, -0.16385100781917572, -0.17798438668251038, 0.6341730356216431, -0.43581587076187134, 1.063289761543274, -0.45381322503089905, -0.17949844896793365, 0.4869379699230194, 0.006981669459491968, 0.6549519896507263, 0.059534117579460144, 0.028667528182268143, -0.2944760024547577, -0.3440742492675781, -0.3169618248939514, -0.6393994092941284, 0.5517839789390564, -0.9840211272239685, -0.6066102981567383, -0.31544843316078186, -0.5322214365005493, -0.317428320646286, 0.04734497517347336, 0.23460495471954346, 0.37905624508857727, -0.33864766359329224, 0.22275668382644653, 0.9440372586250305, -0.5842776298522949, 0.23691630363464355, 0.7054787874221802, 0.1623692661523819, -0.023028690367937088, 1.0879487991333008, -0.026021642610430717, 0.26945438981056213, 0.12711435556411743, 0.08787406980991364, -0.20765937864780426, -0.3376457393169403, -0.30885130167007446, -0.07247305661439896, -0.9682080745697021, -0.1594662070274353, -0.7334508299827576, -0.32903221249580383, -0.11323687434196472, -0.48080310225486755, -0.41399428248405457, 0.10963383316993713, -0.324310302734375, -0.2163047194480896, 0.4794502258300781, 0.6387456655502319, -0.23053115606307983, 0.11066915094852448, -0.6398112773895264, 0.3139575719833374, 0.6547056436538696, 0.15960702300071716, -0.12876832485198975, -0.5339389443397522, -0.4306902587413788, -0.06489699333906174, -0.317132830619812, -0.6908393502235413, 0.469870924949646, 0.3717593848705292, 0.6502552032470703, -0.1638476699590683, 0.06585469841957092, 0.6056920289993286, -0.6057134866714478, 0.5522505044937134, 0.03768350929021835, -0.6711118221282959, 0.5359610915184021, -0.23969167470932007, 0.17120535671710968, 0.27132517099380493, 0.029689617455005646, -0.40988296270370483, -0.5388473272323608, -0.7861618995666504, -0.9055202603340149, 0.764219343662262, 0.09609892964363098, 0.0979011282324791, 0.17530891299247742, 0.3529520034790039, 0.2904486358165741, -0.06139778345823288, -0.5716627240180969, 0.09584496170282364, -0.3445124328136444, -0.2617906928062439, -0.11657175421714783, -0.04634588211774826, -0.2154833972454071, -0.07490120083093643, 0.7891368269920349, -0.544563353061676, 0.5169433951377869, 0.2516343891620636, -0.33957937359809875, -0.1030416488647461, 0.14145493507385254, 0.3697879910469055, 0.23018012940883636, 0.0034823936875909567, 0.1282256841659546, 0.7444964647293091, -0.12187693268060684, 0.431898832321167, -0.18953345715999603, 0.14680591225624084, -0.3537669777870178, 0.6409844160079956, 0.9747404456138611, 0.1514626145362854, -1.0489771366119385, 0.20923124253749847, -0.17163944244384766, -0.45714452862739563, -0.41713932156562805, 0.6162344217300415, 0.12157473713159561, 0.8159518837928772, -0.06901049613952637, 0.20016539096832275, -0.029379241168498993, -0.5584337711334229, 0.17873238027095795, 0.17518822848796844, -0.3634718656539917, -0.28847435116767883, 0.7086396217346191, 0.4190126061439514, -0.4096205234527588, 0.6127634644508362, -0.13858570158481598, -0.4135423004627228, 0.9888141751289368, 0.7150992751121521, 1.1755521297454834, -0.07708307355642319, 0.1040864810347557, 0.2523300349712372, 0.3960408866405487, -0.25908735394477844, 0.28383785486221313, -0.15336094796657562, -0.9959076046943665, -0.2698311507701874, -0.6544050574302673, -0.6465486884117126, -0.2259133756160736, -0.35666653513908386, 0.11846735328435898, -0.599511444568634, 0.2601434290409088, -0.40853452682495117, -0.2663061022758484, -1.0456651449203491, 0.0377061627805233, 0.32461437582969666, 0.8818369507789612, -1.0452505350112915, 0.4687076508998871, 1.1150476932525635, -0.27856895327568054, -0.5950570702552795, 0.03169282525777817, -0.01761206053197384, -0.9629760384559631, 0.5721737742424011, 0.2386418581008911, -0.28941357135772705, 0.20904530584812164, -0.7561210989952087, -0.7035583257675171, 1.2909915447235107, 0.5533833503723145, -0.3064253628253937, 0.06451068073511124, -0.11107736080884933, 0.7349899411201477, -0.49292027950286865, 0.10180876404047012, 0.6170276999473572, 0.3788605332374573, 0.07592036575078964, -0.4127584397792816, 0.2184668779373169, -0.4350029528141022, 0.19729046523571014, -0.08401831239461899, -0.8908568024635315, 0.47268712520599365, -0.286526620388031, -0.2544131577014923, 0.035573069006204605, 0.781046450138092, 0.5712876319885254, 0.22092686593532562, 0.5763972997665405, 0.43219107389450073, 0.4442439377307892, -0.1676855981349945, 0.9248563647270203, -0.11105620861053467, 0.12841658294200897, 0.7153741717338562, -0.41642656922340393, 0.5237444043159485, 0.2654370069503784, 0.09423022717237473, 0.5442875027656555, 0.6887662410736084, 0.2819148898124695, 0.6556586623191833, 0.4120003581047058, -0.33323150873184204, -0.5801037549972534, -0.02257092483341694, -0.2649039626121521, 0.36823999881744385, 0.43001222610473633, 0.0964454859495163, -0.0879555270075798, 0.5208054780960083, -0.4576318562030792, 0.056231722235679626, -0.16223491728305817, 1.0921120643615723, 0.1292847841978073, -0.536440372467041, 0.35717499256134033, -0.12164416909217834, 0.4731444716453552, -0.6763756275177002, -0.29052358865737915, -0.2034161388874054, 0.2454681545495987, -0.1498449593782425, -0.4378293454647064, 0.18139611184597015, 0.05035414174199104, 0.2737133800983429, -0.6258869767189026, 1.1258450746536255, -0.36677086353302, -0.22113323211669922, 0.2511466145515442, 0.6061857342720032, 0.07467898726463318, 0.26086142659187317, -0.6045730710029602, 0.009759445674717426, -0.2396335005760193, -0.4995923638343811, 0.48764532804489136, 0.6276076436042786, 0.153072789311409, 0.8558182716369629, 0.5139909386634827, -0.08622841536998749, 0.007943178527057171, -0.17444542050361633, 1.0068379640579224, -0.7589637637138367, -0.5096584558486938, -0.750840425491333, 0.44707947969436646, 0.10412230342626572, -0.047051407396793365, 0.6064119935035706, 0.32982346415519714, 0.8521364331245422, -0.1930045783519745, 1.005656361579895, -0.23778727650642395, -0.03660710155963898, -0.9468269944190979, 0.24621888995170593, -0.639610230922699, 0.2010861039161682, -0.004945751745253801, -1.0031675100326538, 0.13473400473594666, 0.7362803220748901, -0.15061065554618835, 0.15890443325042725, 0.6063872575759888, 0.873264729976654, 0.14007769525051117, -0.1657220721244812, 0.36421629786491394, 0.1864912062883377, 0.5264531970024109, 0.5993174910545349, 1.297505497932434, 0.07113704830408096, 0.2747696340084076, 0.02257191389799118, 0.013069456443190575, -0.2497049868106842, -0.6663442850112915, -0.9822144508361816, -0.38290542364120483, -0.2589927613735199, -0.3868304491043091, 0.31594181060791016, 1.2316044569015503, 0.6290255188941956, -0.169039785861969, -0.16873909533023834, -0.33421340584754944, 0.06267716735601425, -0.5575962662696838, -0.13949771225452423, 0.002663402119651437, -0.43020254373550415, -0.6973094940185547, 0.8448610305786133, 0.37283721566200256, 0.033744148910045624, -0.33908650279045105, -0.5586787462234497, 0.3654673993587494, 0.13856050372123718, 0.5395348072052002, 0.5568416714668274, -0.4030221700668335, -0.5726927518844604, 0.016786035150289536, -0.06642135977745056, 0.00005308854451868683, 0.7502944469451904, -0.8787237405776978, 0.6358722448348999, 0.40155598521232605, 0.8092454075813293, 0.7279187440872192, -0.23832719027996063, 0.6197726130485535, -1.0370804071426392, 0.34121859073638916, 0.2660754919052124, 0.43296563625335693, 0.22679969668388367, -0.32498082518577576, 0.6412221193313599, 0.22402577102184296, -0.39219263195991516, -0.610641598701477, 0.24220556020736694, -0.5615354776382446, -0.2937914729118347, 1.333215594291687, -0.07587181776762009, -0.6244326829910278, -0.022692272439599037, -0.2985789179801941, 0.23103764653205872, -0.12629252672195435, 0.6027029752731323, 0.30930501222610474, -0.24660013616085052, -0.1547844409942627, -0.4565066993236542, 0.4117366373538971, 0.23830777406692505, -1.1187729835510254, -0.021470004692673683, 0.4273935854434967, 0.44613105058670044, -0.016394952312111855, 0.7513160109519958, 0.2984309792518616, 0.46070387959480286, 0.4941662549972534, 0.5415385365486145, -0.4018574655056, -0.5011417865753174, -0.04712831228971481, -0.12468037009239197, 0.3074322044849396, -0.06060327962040901 ]
http://arxiv.org/abs/2403.12766v2
http://arxiv.org/pdf/2403.12766v2
NovelQA: Benchmarking Question Answering on Documents Exceeding 200K Tokens
2024-03-18T17:32:32
2024-06-17T13:53:15
Cunxiang Wang, Ruoxi Ning, Boqi Pan, Tonghui Wu, Qipeng Guo, Cheng Deng, Guangsheng Bao, Xiangkun Hu, Zheng Zhang, Qian Wang, Yue Zhang
cs.CL
cs.CL
The rapid advancement of Large Language Models (LLMs) has introduced a new frontier in natural language processing, particularly in understanding and processing long-context information. However, the evaluation of these models' long-context abilities remains a challenge due to the limitations of current benchmarks. To address this gap, we introduce NovelQA, a benchmark specifically designed to test the capabilities of LLMs with extended texts. Constructed from English novels, NovelQA offers a unique blend of complexity, length, and narrative coherence, making it an ideal tool for assessing deep textual understanding in LLMs. This paper presents the design and construction of NovelQA, highlighting its manual annotation, and diverse question types. Our evaluation of Long-context LLMs on NovelQA reveals significant insights into the models' performance, particularly emphasizing the challenges they face with multi-hop reasoning, detail-oriented questions, and extremely long input with an average length more than 200,000 tokens. The results underscore the necessity for further advancements in LLMs to improve their long-context comprehension.
[ -0.4420945644378662, -0.8228719234466553, 0.7554779052734375, 0.06481028348207474, -0.12586894631385803, 0.39711636304855347, -0.08263232558965683, -0.5140933394432068, -0.255658358335495, 0.5285623073577881, -0.5508195757865906, -0.259354829788208, -0.3360995650291443, 0.39810800552368164, -0.41620171070098877, 0.7457435727119446, -0.2703700363636017, -0.10247483849525452, -0.5825293660163879, -0.41488125920295715, -0.37137433886528015, -0.48685336112976074, -0.6877667307853699, -0.09804315865039825, 0.6609939336776733, 0.06408523768186569, 0.7862274050712585, 0.3774648904800415, 0.34677475690841675, 0.30451759696006775, -0.35564759373664856, 0.3211544156074524, -0.3171612620353699, 0.31803837418556213, -0.23837237060070038, -0.5246898531913757, -0.4163021445274353, -0.09849463403224945, 1.0340688228607178, 0.8707720041275024, 0.4091004729270935, 0.205348938703537, 0.025208447128534317, 0.4915328323841095, -0.5507155656814575, -0.19072401523590088, -0.31327521800994873, -0.057236719876527786, -0.2129557877779007, -0.03869711980223656, -0.41490933299064636, -0.32400059700012207, 0.1295497864484787, -0.5884784460067749, 0.10235878080129623, 0.030600273981690407, 0.7087216377258301, 0.21756327152252197, -0.8461471199989319, -0.38406994938850403, -0.43126314878463745, 0.7056056261062622, -0.626056969165802, 0.3582989573478699, 0.18318898975849152, 0.5135624408721924, -0.2736276090145111, -0.9063959717750549, -0.6251866817474365, -0.2919571101665497, 0.07995873689651489, -0.09575877338647842, 0.0351242758333683, 0.045030757784843445, 0.3309873640537262, 0.6003871560096741, -0.848389744758606, 0.19038523733615875, -0.06280258297920227, -0.04418446496129036, 0.55108243227005, 0.38389015197753906, 0.22579030692577362, -0.37519028782844543, -0.6656751036643982, 0.07941041886806488, -0.5958564281463623, 0.4637431204319, 0.2759109437465668, 0.14691050350666046, 0.06975676864385605, 0.41781580448150635, -0.550492525100708, 0.5732174515724182, -0.28000307083129883, 0.1718093454837799, 0.2750599980354309, -0.4730466604232788, -0.14241938292980194, -0.5066185593605042, 0.5160635709762573, 0.2040569931268692, 0.048906754702329636, -0.2557845115661621, -0.3430942893028259, -0.45017680525779724, -0.0158961471170187, -0.853964626789093, 0.2487170696258545, 0.536764919757843, -0.22481496632099152, 0.12623924016952515, -0.302998423576355, -0.583245038986206, -0.5677210688591003, -0.09045236557722092, 0.5431711673736572, -0.2576397955417633, 0.01794719509780407, 0.11606037616729736, -0.39998361468315125, 0.5321152210235596, 0.28616228699684143, -0.6105731725692749, 0.3812769949436188, 0.983474850654602, 0.7562920451164246, -0.4798815846443176, -0.27949661016464233, -0.7018304467201233, -0.03381625562906265, -0.41895538568496704, 0.7846012115478516, -0.38515353202819824, -0.06388576328754425, 0.11013468354940414, -0.00739333825185895, 0.09891531616449356, -0.5035688281059265, 0.9431841373443604, -0.677293598651886, 0.19929349422454834, -0.43166738748550415, -0.7114382386207581, -0.035459764301776886, 0.557917058467865, -0.8100407719612122, 1.2811989784240723, 0.21013177931308746, -0.5977781414985657, 0.25856438279151917, -0.5837913751602173, -0.37264105677604675, 0.5038529634475708, -0.29403257369995117, 0.13075044751167297, 0.06537384539842606, 0.29156363010406494, 0.4974290430545807, -0.6567662358283997, 0.5410913825035095, -0.0418412871658802, -0.6353068351745605, 0.5284386277198792, -0.7334297895431519, 0.662179172039032, 0.21946494281291962, -0.12017488479614258, -0.015542924404144287, -0.7343112826347351, 0.15370820462703705, 0.059540633112192154, -0.556562066078186, -0.3754294812679291, -0.27728456258773804, 0.07679199427366257, 0.010806654579937458, 0.4849162697792053, -0.5069604516029358, 0.15129515528678894, -0.4431583285331726, 0.49284619092941284, 0.49318936467170715, 0.026183046400547028, 0.32779088616371155, -0.6180148720741272, 0.7791674137115479, -0.2798551619052887, 0.006373542360961437, -0.6593793034553528, -0.3282891809940338, -0.7204846739768982, -0.42309147119522095, 0.478344589471817, 0.2917121648788452, -0.8521775007247925, 0.1816442757844925, -0.3773551881313324, -0.37106284499168396, -0.4368750751018524, 0.026345442980527878, 0.3182299733161926, 0.11963172256946564, 0.32510748505592346, -0.2299729883670807, -0.3351941406726837, -0.9570879340171814, -0.6721410751342773, -0.05315002053976059, -0.35416433215141296, 0.3262392282485962, 0.6255435347557068, -0.12405835837125778, 0.93546062707901, -0.2705463469028473, 0.242935448884964, -0.15602874755859375, 0.19807764887809753, 0.23351173102855682, 0.21338026225566864, 0.21445703506469727, -0.8048821687698364, -0.21177075803279877, -0.2526674270629883, -0.6403476595878601, 0.028274916112422943, -0.37879398465156555, 0.07421765476465225, -0.006610711570829153, 0.5382841229438782, -0.744016170501709, 0.12095628678798676, 0.4570765495300293, -0.3913666605949402, 0.6078976988792419, -0.0963558629155159, 0.21886055171489716, -1.0545037984848022, 0.26264891028404236, -0.23736974596977234, -0.3958089351654053, -0.4908251166343689, 0.5534656047821045, 0.263160765171051, -0.0685887336730957, -0.34685373306274414, 1.0142515897750854, -0.5034470558166504, -0.07585768401622772, -0.16119104623794556, 0.2986336052417755, 0.39506444334983826, 0.42865946888923645, -0.19027748703956604, 0.9207111597061157, 0.051166705787181854, -0.33328333497047424, 0.46678024530410767, 0.2037111073732376, -0.7718803882598877, 0.40362119674682617, -0.7421979308128357, 0.185247004032135, -0.05876919999718666, 0.5222563743591309, -1.3356022834777832, -0.06993212550878525, -0.32919442653656006, -0.4798879325389862, 0.018929343670606613, 0.11851780861616135, -0.5865288972854614, -0.3083403706550598, -0.29175448417663574, 0.8687053918838501, 0.22300636768341064, -0.5852948427200317, 0.7010602355003357, 0.07219825685024261, -0.493705153465271, -0.6425860524177551, -0.5707974433898926, 0.5156713724136353, -0.15974289178848267, -0.5436568856239319, 0.3113163411617279, -0.38372936844825745, -0.26029396057128906, -0.35988670587539673, 0.11198829114437103, -0.3133704364299774, 0.18797935545444489, 0.21204368770122528, -0.07267147302627563, -0.3087773025035858, 0.3441765606403351, 0.2717793583869934, 0.08964939415454865, 0.2156158685684204, 0.10369659215211868, 0.48345163464546204, -0.1527189016342163, -0.11300519853830338, -0.2038889229297638, 0.6258293390274048, 0.667217493057251, -0.2622562050819397, 0.3988320231437683, 0.2880018651485443, -0.4455357789993286, -0.5109647512435913, -0.49017590284347534, 0.16607914865016937, -0.5234588384628296, 0.6390386819839478, -0.822239100933075, -0.9785047173500061, 0.48002612590789795, -0.17180977761745453, 0.1723581999540329, 0.4107901155948639, 0.41803839802742004, 0.05789332091808319, 0.598617434501648, 0.3145941197872162, 0.0664873868227005, 0.04538159444928169, 0.031059112399816513, -0.07662243396043777, -0.7864209413528442, -0.17697763442993164, -0.5753747224807739, -0.1042012944817543, -0.32841914892196655, -0.8483693599700928, 0.06378630548715591, -0.07139453291893005, -0.42940396070480347, 0.251985639333725, -0.09217804670333862, 0.6504923701286316, 0.38814353942871094, -0.10100515931844711, 0.6005688309669495, -0.5339770913124084, -0.4464367926120758, 0.0787116065621376, -0.5000508427619934, -0.6930599808692932, 0.9679187536239624, 0.8566588163375854, 0.4148348569869995, 0.1946069598197937, 0.40948840975761414, 0.3612784147262573, 0.029262755066156387, -0.7875261902809143, 0.6288126707077026, 0.0567396804690361, -0.8385505676269531, -0.5118684768676758, -0.38194453716278076, -0.813601016998291, 0.2838999927043915, -0.061028677970170975, -0.36185184121131897, 0.05168890208005905, -0.4318135678768158, -0.6547061204910278, 0.04474618658423424, -0.36977192759513855, 0.8417212963104248, -0.36034655570983887, -0.32751554250717163, 0.12043702602386475, -0.40555593371391296, 0.28492844104766846, -0.22686034440994263, 0.18651454150676727, -0.1395123153924942, -0.5228931903839111, 0.8801468014717102, -0.07515887916088104, 0.5512626767158508, 0.11405083537101746, -0.2855670154094696, 0.16030637919902802, -0.024112584069371223, 0.334450364112854, 0.2630508244037628, -0.3601685166358948, -0.11383852362632751, 0.4514133930206299, -0.586742103099823, -0.5516597032546997, 0.6286647915840149, -0.5482218861579895, -0.583215594291687, -0.5194377899169922, -0.8522596955299377, -0.5839662551879883, 0.254595011472702, 0.011983425356447697, 0.5768386125564575, -0.5522504448890686, 0.48185423016548157, 0.6283050775527954, -0.38466253876686096, 0.4566538333892822, 0.4565446078777313, -0.2641582489013672, -0.40529459714889526, 0.3217334747314453, 0.02384776622056961, 0.30668526887893677, 0.5877810716629028, -0.021482238546013832, -0.5711084604263306, -0.886889636516571, -0.6182613372802734, -0.000577446655370295, -0.8630335330963135, -0.1128394678235054, -0.6466579437255859, -0.301285058259964, -0.3102373778820038, 0.035133544355630875, -0.23929926753044128, -0.3890441954135895, 0.020919069647789, 0.0261361226439476, 0.0763096883893013, 0.7325812578201294, 0.5768126845359802, -0.05299163609743118, -0.6785021424293518, 0.42330390214920044, 0.4686408042907715, 0.3760850727558136, 0.014256239868700504, -0.8166472315788269, -0.23323586583137512, -0.0867428332567215, -0.09527886658906937, -0.5830952525138855, -0.07787784188985825, 0.1657727062702179, 0.5121349692344666, 0.08626857399940491, 0.4654422998428345, 0.4231521785259247, -0.49085095524787903, 0.900378406047821, -0.15954552590847015, -0.8915106654167175, -0.0016206282889470458, -0.5440256595611572, 0.9054384231567383, 0.8742303252220154, 0.5722861886024475, -0.730211079120636, -0.32480132579803467, -0.20140954852104187, -0.7363275289535522, 0.06550084054470062, 0.14607028663158417, 0.38675960898399353, -0.054610494524240494, 0.5876343846321106, 0.314593106508255, 0.12199781835079193, -0.6139392852783203, 0.06797963380813599, 0.39225974678993225, -0.2783471643924713, -0.27750664949417114, -0.3838118016719818, 0.0035835918970406055, -0.19369128346443176, 0.32025501132011414, -0.3082487881183624, -0.0748712569475174, 0.21384268999099731, -0.03255361318588257, 0.17302747070789337, 0.4170481264591217, 0.2968531847000122, 0.7785933613777161, -0.11609464138746262, 0.06482549756765366, 0.46416833996772766, -0.2534855306148529, 0.02989388071000576, 0.27147573232650757, -0.06148221343755722, 0.0185417328029871, 0.5162928700447083, 0.46424147486686707, 0.22163839638233185, -1.1933125257492065, 0.6968833208084106, -0.4083505868911743, -0.27181681990623474, -0.421719491481781, 0.00010243557335343212, 0.4003622829914093, 0.4743058979511261, 0.8213143944740295, -0.3760715425014496, 0.23639163374900818, -0.7916975021362305, 0.34617382287979126, 0.4986288845539093, -0.24899713695049286, 0.06965319812297821, 0.459991455078125, 0.4748707413673401, -0.3648291230201721, 0.24048884212970734, -0.16497494280338287, -0.43740811944007874, 0.6811615824699402, 0.23513558506965637, 0.7360732555389404, 0.09239917993545532, 0.08060681074857712, 0.36172258853912354, 0.25179728865623474, 0.11873146146535873, 0.2564046382904053, -0.2749151885509491, -0.41081956028938293, -0.4734657108783722, -0.701749324798584, -0.7609811425209045, 0.2514443099498749, -0.6343274712562561, 0.12201924622058868, -0.5079860091209412, -0.001751886447891593, 0.12128184735774994, 0.5419487953186035, -0.614562451839447, 0.39403536915779114, 0.07749711722135544, 1.3058289289474487, -0.557750403881073, 0.7289116978645325, 0.4132903516292572, -0.09893883019685745, -0.32418689131736755, 0.1379929929971695, -0.2482229471206665, -0.5513198971748352, 0.30806684494018555, 0.5429872274398804, 0.007152667734771967, -0.19670088589191437, -0.24753637611865997, -0.5947399139404297, 1.1633868217468262, 0.19373124837875366, -0.6482722759246826, -0.2129315584897995, 0.4700726270675659, 0.6201692223548889, -0.3290586471557617, 0.43257731199264526, 0.6919575929641724, 0.2671840190887451, 0.0863686203956604, -0.890030026435852, 0.29642465710639954, -0.3650115430355072, -0.1688580960035324, 0.07625062018632889, -0.6300256252288818, 0.890186607837677, -0.0016337832203134894, -0.25868067145347595, 0.807200014591217, 0.6666252613067627, 0.17281799018383026, 0.5674047470092773, 0.443441778421402, 0.3522225618362427, 1.005006194114685, 0.019846154376864433, 0.7784110903739929, -0.04457366466522217, 0.11018078029155731, 1.4016430377960205, -0.3924122750759125, 1.273252248764038, 0.2870210111141205, -0.23276765644550323, 0.6239179372787476, 0.6661677360534668, 0.25504210591316223, 0.03683384135365486, 0.4859970510005951, -0.5741490125656128, -0.30117785930633545, -0.15802879631519318, -0.42284634709358215, 0.5046422481536865, 0.15133999288082123, -0.2402651607990265, -0.11796654760837555, 0.04515894129872322, -0.23028583824634552, 0.37156808376312256, -0.18638348579406738, 0.6488261222839355, 0.1217983290553093, -0.8492588996887207, 0.6503629684448242, 0.07865989208221436, 0.6447396874427795, -0.49552062153816223, 0.1352090835571289, -0.48148539662361145, 0.09520763903856277, 0.1814906746149063, -0.8840768337249756, 0.01541914138942957, 0.15401776134967804, -0.13258132338523865, -0.018102772533893585, 0.3131706416606903, -0.26774483919143677, -0.32116425037384033, 0.2836732268333435, 0.5597209334373474, 0.11590499430894852, -0.22603240609169006, -0.6448032855987549, 0.11782240867614746, -0.3040030300617218, -0.30898961424827576, 0.2927986681461334, 0.622692346572876, 0.06600434333086014, 0.7271059155464172, 0.4659733176231384, -0.2716495096683502, -0.15093585848808289, -0.08571218699216843, 0.7969633936882019, -0.9975044131278992, -0.535637617111206, -0.5473107099533081, 0.36800310015678406, -0.1413726508617401, -0.7342573404312134, 0.7821372151374817, 0.8462748527526855, 0.620786726474762, 0.3318868577480316, 0.7584831714630127, 0.3725734353065491, 0.6797516942024231, -0.40295419096946716, 0.6456906199455261, -0.7075363993644714, 0.2562626302242279, -0.03330886736512184, -0.7440558671951294, -0.07682471722364426, 0.049668509513139725, -0.2563992738723755, 0.04317256063222885, 0.776985228061676, 0.6004136204719543, 0.2310241460800171, 0.10435677319765091, 0.5162228941917419, 0.07482171058654785, 0.18709629774093628, 1.014062523841858, 1.2176538705825806, -0.7272497415542603, 0.507118821144104, 0.2898493707180023, -0.19291090965270996, 0.07354576140642166, -0.9094074368476868, -1.1562312841415405, -0.6784650683403015, -0.08480208367109299, -0.13252004981040955, 0.12199617922306061, 0.7072442173957825, 0.4161268174648285, -0.6807534098625183, -0.10925302654504776, 0.18990686535835266, -0.008310663513839245, 0.0479305274784565, -0.15179428458213806, 0.302139550447464, -0.21881529688835144, -0.9505681991577148, 0.5483835935592651, 0.17307093739509583, -0.15572188794612885, -0.4929679334163666, -0.15531395375728607, -0.38958925008773804, 0.5021382570266724, 0.5868725180625916, 0.26970627903938293, -0.6110469102859497, -0.18711937963962555, 0.12328935414552689, -0.2733268737792969, -0.062274590134620667, 0.6837679743766785, -0.8378046154975891, 0.4445717930793762, 0.6193804144859314, 1.0387240648269653, 0.3745945692062378, 0.12578371167182922, 0.6366188526153564, -0.5716082453727722, -0.10833729803562164, 0.5063896775245667, 0.20829632878303528, 0.3702610731124878, -0.19867029786109924, 0.2092655450105667, -0.20311345160007477, -0.632391631603241, -0.974941611289978, 0.09890047460794449, -0.903522253036499, -0.6281246542930603, 1.1551071405410767, -0.30139249563217163, -0.13180366158485413, -0.4692671298980713, -0.14034058153629303, -0.008132776245474815, -0.06114131957292557, 0.4169991910457611, 0.8281057476997375, 0.2870519459247589, -0.19478441774845123, -0.7363311648368835, 0.4594120681285858, 0.7224978804588318, -0.8263710737228394, 0.21059714257717133, 0.36272674798965454, 0.22432762384414673, -0.09473511576652527, 0.6593838930130005, 0.04755031317472458, 0.40693870186805725, -0.024901920929551125, -0.3652569353580475, 0.0018276117043569684, -0.32957616448402405, -0.516391932964325, 0.5167745351791382, 0.3165926933288574, -0.038589298725128174 ]