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/2405.14982v1
http://arxiv.org/pdf/2405.14982v1
In-context Time Series Predictor
2024-05-23T18:37:00
2024-05-23T18:37:00
Jiecheng Lu, Yan Sun, Shihao Yang
cs.LG
cs.LG, cs.AI, cs.CL, stat.ML
Recent Transformer-based large language models (LLMs) demonstrate in-context learning ability to perform various functions based solely on the provided context, without updating model parameters. To fully utilize the in-context capabilities in time series forecasting (TSF) problems, unlike previous Transformer-based or LLM-based time series forecasting methods, we reformulate "time series forecasting tasks" as input tokens by constructing a series of (lookback, future) pairs within the tokens. This method aligns more closely with the inherent in-context mechanisms, and is more parameter-efficient without the need of using pre-trained LLM parameters. Furthermore, it addresses issues such as overfitting in existing Transformer-based TSF models, consistently achieving better performance across full-data, few-shot, and zero-shot settings compared to previous architectures.
[ -0.19253437221050262, -0.29484936594963074, 0.4398757517337799, 0.18204213678836823, -0.41189661622047424, 0.23556900024414062, -0.05313283950090408, -0.29780465364456177, 0.10686961561441422, 0.42985332012176514, -0.9318533539772034, -0.06868186593055725, -0.5605068802833557, 0.12184371054172516, -0.583901047706604, 0.8750604391098022, -0.23312602937221527, 0.10115659981966019, -0.09759441018104553, 0.057391513139009476, -0.40206483006477356, -0.5477031469345093, -0.5081567764282227, -0.6490551829338074, 0.3813023567199707, 0.4856007397174835, 0.4537525475025177, 0.5243986248970032, 0.41261395812034607, 0.2505265474319458, 0.04582025483250618, 0.10326889902353287, -0.34421950578689575, 0.3046571910381317, 0.2511483132839203, -0.2968102991580963, -0.2670879662036896, -0.22839945554733276, 0.6926305294036865, 0.6792414784431458, -0.15180383622646332, 0.3618049621582031, 0.10573089867830276, 0.18421302735805511, -0.4128739833831787, 0.3903560936450958, -0.4734635055065155, 0.21480637788772583, -0.07311777025461197, -0.5979238152503967, -0.5166574120521545, -0.05988376587629318, 0.33031588792800903, -0.381522536277771, 0.2544821798801422, 0.20331288874149323, 0.5545162558555603, 0.48552411794662476, -0.6071147322654724, 0.35397687554359436, -1.0867958068847656, 0.9889419078826904, -0.9591398239135742, 0.4129995107650757, 0.06654874980449677, 0.6303452253341675, -0.1266685277223587, -0.8284093737602234, -0.3311340808868408, 0.15616467595100403, -0.2503977119922638, 0.049446795135736465, 0.11998994648456573, -0.2706886827945709, 0.37992042303085327, 0.2036779224872589, -0.24317339062690735, 0.030455920845270157, -0.2535945475101471, 0.14609678089618683, 0.20482796430587769, 0.5281674265861511, -0.2936156094074249, -0.08696509152650833, -0.5594888925552368, 0.09949319809675217, -0.7482165694236755, 0.03184125944972038, -0.19168560206890106, 0.5753667950630188, -0.28037595748901367, 0.416655033826828, -0.03720071166753769, 0.47042596340179443, 0.1119656041264534, -0.4529491662979126, 0.11769638955593109, -0.10868631303310394, -0.5681589245796204, 0.07890431582927704, 0.299699068069458, 0.3305928111076355, 0.011837505735456944, -0.45292574167251587, -0.19531895220279694, -0.36214712262153625, 0.005091882776468992, -1.1076580286026, 0.2636851966381073, 0.16789314150810242, -0.3376114070415497, -0.5678688883781433, 0.07223707437515259, -0.6941642165184021, -0.20152853429317474, -0.5558698773384094, 0.29709160327911377, -0.23182491958141327, 0.056506454944610596, -0.34358230233192444, -0.1364610493183136, 0.5507472157478333, 0.13917088508605957, -0.7554839253425598, 0.4592778980731964, 0.5745772123336792, 0.9725999236106873, -0.3759750723838806, -0.2786123752593994, -0.8140686750411987, 0.49325019121170044, -0.11756711453199387, 0.6451019644737244, -0.5510002970695496, -0.7980596423149109, 0.032366763800382614, 0.22617611289024353, 0.12977419793605804, -0.30514663457870483, 0.19644951820373535, -0.6264020800590515, 0.2722020745277405, -0.29956310987472534, -0.557502031326294, -0.1709021031856537, 0.28544726967811584, -0.5016345977783203, 1.2088927030563354, 0.2814476191997528, -0.5464159846305847, 0.5836036205291748, -0.8382326364517212, -0.5280749201774597, 0.0062441457994282246, 0.15515395998954773, -0.2947272062301636, -0.1879042387008667, 0.6199227571487427, 0.9517732858657837, -0.4316464960575104, 0.6356237530708313, -0.3948354125022888, -0.4219924509525299, -0.006023978814482689, -0.63966965675354, 0.42950788140296936, 0.10907809436321259, -0.37314996123313904, 0.2894250750541687, -0.5655583143234253, -0.20022504031658173, 0.045124601572752, -0.0601331889629364, -0.00970488041639328, 0.29309025406837463, 0.26380935311317444, 0.17782260477542877, 0.016747504472732544, -0.6195250749588013, 0.07182901352643967, -0.6756565570831299, 0.8374975323677063, 0.7942138910293579, 0.00850206520408392, 0.4267457127571106, -0.3969442546367645, 0.7755947709083557, 0.17592547833919525, 0.1685847043991089, -0.6290205121040344, -0.2803775370121002, -0.6173964142799377, -0.14339664578437805, -0.14660130441188812, 0.520617663860321, -0.5969206094741821, 0.2151772677898407, -0.5713547468185425, -0.5662016868591309, 0.4301765561103821, -0.0862395316362381, 0.15374985337257385, 0.8455026745796204, 0.46210068464279175, 0.25947654247283936, -0.7789670825004578, -0.4337831735610962, -0.04522322490811348, 0.21252329647541046, 0.0358998067677021, 0.2936488687992096, 0.429848313331604, -0.12970492243766785, 1.1441912651062012, -0.6337388753890991, -0.01272421795874834, -0.5372752547264099, -0.16641466319561005, 0.45166146755218506, 0.11071423441171646, 0.502501368522644, -0.6342287063598633, -0.5370523929595947, -0.15783724188804626, -0.530785083770752, 0.06463134288787842, 0.13526208698749542, 0.2651996612548828, 0.3072131276130676, 0.9778794646263123, -0.23776249587535858, 0.35661303997039795, 0.5350369811058044, -0.5001600980758667, 0.29648759961128235, 0.12668122351169586, -0.17330743372440338, -1.5177814960479736, 0.06447483599185944, 0.17621247470378876, -0.4567931890487671, -0.6070443987846375, -0.2986450493335724, 0.03010791353881359, -0.38019493222236633, -0.643589198589325, 1.050601601600647, -0.07444773614406586, -0.06550054997205734, -0.08912517875432968, -0.24822762608528137, 0.07375071942806244, 0.4165918529033661, 0.004792942199856043, 0.8218334913253784, 0.4148610830307007, -0.6424154043197632, 0.34311819076538086, -0.01754089631140232, -0.3453625738620758, 0.2644403576850891, -0.6721466779708862, -0.08882460743188858, -0.273009717464447, 0.34500017762184143, -0.862825334072113, -0.12696237862110138, 0.035401832312345505, -0.019160162657499313, 0.5573479533195496, -0.024348121136426926, -0.3038195073604584, -0.4455120861530304, -0.13109341263771057, 0.5317733287811279, 0.3133369982242584, -1.034407377243042, 0.8411561846733093, -0.03191625699400902, 0.03102654591202736, -0.7405449151992798, -0.7688649892807007, -0.1037253811955452, -0.6627668142318726, -0.27139711380004883, 0.6493771076202393, -0.06718205660581589, -0.11123698949813843, -0.21582083404064178, -0.12939448654651642, 0.1792621612548828, 0.13054102659225464, 0.2987782657146454, 0.6740208268165588, -0.24073809385299683, 0.10833790153265, -0.2252555638551712, -0.29849714040756226, -0.1418168544769287, -0.5497847199440002, 0.5523288249969482, -0.10550538450479507, -0.1575728952884674, -0.1431576907634735, 0.2350188046693802, 0.501754879951477, -0.1335826963186264, 0.5901644825935364, 0.49109819531440735, -0.41780799627304077, -0.3681736886501312, -0.4632318317890167, -0.25307798385620117, -0.5463122129440308, 0.5010544657707214, -0.21621988713741302, -0.9853631854057312, 0.4426973760128021, 0.06676841527223587, 0.16817879676818848, 0.41614606976509094, 0.3753642141819, -0.01823202148079872, 0.7373632788658142, 0.5873535871505737, -0.4639403522014618, 0.7114570140838623, -0.3448065221309662, 0.34230953454971313, -0.7979381680488586, -0.3001335561275482, -0.19038833677768707, -0.46721941232681274, -0.24992293119430542, -0.1658352017402649, 0.48142385482788086, -0.32818514108657837, -0.8817119002342224, 0.5485721230506897, -0.30995261669158936, 0.42584511637687683, 0.5582259297370911, 0.006104753818362951, 0.16376981139183044, -0.02685249038040638, 0.2219432294368744, 0.024369997903704643, -0.4836162030696869, -0.2503758668899536, 1.4869978427886963, 0.28857070207595825, 0.7224175333976746, -0.047976214438676834, 0.4506186246871948, 0.303809255361557, 0.6041701436042786, -0.9470721483230591, 0.384998083114624, -0.2922714650630951, -0.3562430441379547, -0.3527446389198303, -0.10762055218219757, -0.5766780376434326, 0.0011304885847494006, 0.07181801646947861, -0.8499241471290588, 0.052199769765138626, 0.056922197341918945, -0.48649775981903076, 0.6348128318786621, -0.5671873092651367, 0.6722053289413452, -0.07728756964206696, -0.04505147412419319, 0.07641496509313583, -0.3780770003795624, 0.034399259835481644, 0.008813478983938694, -0.07426299154758453, -0.04324493929743767, -0.2413879930973053, 0.611941397190094, -0.5024933218955994, 1.0295413732528687, -0.28530701994895935, 0.08282404392957687, 0.15694166719913483, -0.011142856441438198, 0.5344824194908142, 0.08507281541824341, -0.3267764747142792, 0.0571032278239727, 0.2679785490036011, -0.23929645121097565, -0.680506706237793, 0.6460302472114563, -0.6982259750366211, -0.6487321853637695, -0.522445023059845, -0.5719342827796936, -0.5058140158653259, 0.2543051540851593, 0.3217334747314453, 1.1047437191009521, -0.29689493775367737, 0.33548054099082947, 0.22549675405025482, 0.28483662009239197, 1.2112524509429932, 0.31186750531196594, -0.26737990975379944, -0.3853641152381897, 0.5909424424171448, -0.02305525727570057, 0.13237912952899933, 0.8712330460548401, 0.3737567067146301, -0.4628651738166809, -0.2790084481239319, -0.23598216474056244, 0.017273005098104477, -0.7504746317863464, -0.49560385942459106, -0.18427401781082153, -0.20913754403591156, -0.3156708776950836, -0.35356399416923523, -0.040728889405727386, -0.2654384672641754, -0.43292349576950073, -0.16629286110401154, 0.37671998143196106, 0.7189300060272217, 0.6015520095825195, 0.6943494081497192, -0.7469435930252075, 0.10684198141098022, 0.19600200653076172, 0.6182793974876404, 0.1155933290719986, -0.7341708540916443, -0.22581788897514343, -0.23899947106838226, -0.575605034828186, -0.5736650228500366, 0.7633908987045288, 0.315416157245636, 0.29974570870399475, 0.5314388871192932, -0.13582828640937805, 0.8574831485748291, -0.6050747632980347, 0.8980967998504639, 0.013136912137269974, -1.0468018054962158, 0.27343761920928955, -0.39931440353393555, 0.4270990788936615, -0.09700879454612732, 0.13565437495708466, -0.6126238107681274, 0.059990521520376205, -0.40632137656211853, -0.637721598148346, 1.0447258949279785, -0.18027363717556, 0.15016137063503265, 0.027540065348148346, 0.561319887638092, 0.19871118664741516, 0.266677588224411, -0.6185251474380493, -0.3870352506637573, -0.5541967749595642, -0.11169416457414627, -0.7398045063018799, -0.3299855589866638, 0.09402796626091003, -0.36172476410865784, 0.6633800268173218, -0.4127165675163269, 0.35688894987106323, 0.1949048787355423, 0.21946978569030762, -0.39277467131614685, 0.14075303077697754, 0.5137771368026733, 0.6682342886924744, -0.3120620846748352, -0.24908557534217834, 0.6046359539031982, -0.14270062744617462, 0.07432645559310913, 0.17332306504249573, -0.20187832415103912, -0.11447802931070328, 0.29011332988739014, 0.9654696583747864, 0.5091941356658936, -0.5262268781661987, 0.3604642152786255, 0.22486934065818787, -0.004910991992801428, -0.8210588097572327, -0.1469097137451172, -0.03133935108780861, 0.558803915977478, 0.5371753573417664, 0.18152184784412384, 0.012894976884126663, -0.3940017521381378, -0.003670877544209361, 0.4380156695842743, -0.5176194906234741, -0.27932748198509216, 0.7530598640441895, 0.03917267546057701, -0.33690813183784485, 0.34345659613609314, 0.1602783054113388, -0.4414018988609314, 0.7970479726791382, 0.9968664050102234, 1.0206451416015625, -0.2572515308856964, -0.012782411649823189, 0.23996172845363617, -0.1578441709280014, -0.2850545048713684, 0.2936367392539978, 0.0010082268854603171, -0.6556977033615112, -0.6202194690704346, -0.5674243569374084, -0.47508251667022705, 0.34560754895210266, -0.5561438798904419, 0.6635388731956482, -0.47584232687950134, -0.1962250918149948, -0.1111706793308258, -0.013516304083168507, -0.6963108777999878, 0.44696956872940063, 0.20875197649002075, 1.0584570169448853, -0.5239903330802917, 0.9620505571365356, 0.5126916766166687, 0.08815898001194, -0.7391897439956665, 0.14588101208209991, -0.05141986533999443, -0.7163999080657959, 0.6572118997573853, 0.34635278582572937, -0.25130778551101685, 0.08592532575130463, -0.4152900278568268, -1.3257136344909668, 1.551975965499878, 0.3290170133113861, -0.27101701498031616, -0.38837334513664246, 0.20647378265857697, 0.28651493787765503, -0.5692598223686218, 0.2028883695602417, 0.3556658625602722, 0.35093310475349426, 0.2610297203063965, -0.7290321588516235, 0.11460427939891815, -0.18167747557163239, 0.20492692291736603, 0.6042800545692444, -0.6824780106544495, 0.5948994159698486, -0.18986433744430542, -0.07094366103410721, 0.11417440325021744, 0.9286433458328247, -0.27189236879348755, 0.3793630301952362, 0.3801083564758301, 0.1525695025920868, 0.3798880875110626, -0.31860628724098206, 1.0805330276489258, -0.4329317808151245, 0.21968884766101837, 1.2312105894088745, -0.22772590816020966, 0.9623024463653564, 0.7244507670402527, -0.2393997460603714, 0.6029532551765442, 0.4306989908218384, -0.20994633436203003, 0.5662189722061157, -0.25617876648902893, 0.025159258395433426, -0.3781255781650543, 0.020721182227134705, -0.11267925053834915, 0.3949495255947113, 0.41058313846588135, -0.18942707777023315, -0.28368693590164185, 0.01820388436317444, -0.02451339364051819, -0.14505323767662048, -0.4217071533203125, 0.3772364556789398, 0.22364598512649536, -0.7185166478157043, 0.26289302110671997, 0.026862209662795067, 0.8195378184318542, -0.6301107406616211, 0.25860685110092163, -0.0061052278615534306, 0.18703852593898773, -0.14281105995178223, -0.6412203311920166, 0.5708546042442322, -0.180467888712883, -0.13875120878219604, -0.32721441984176636, 0.40214279294013977, -0.1901690512895584, -0.6836069822311401, 0.2935420572757721, 0.2810249328613281, -0.42625901103019714, 0.11282923072576523, -0.20183001458644867, -0.37879830598831177, -0.27255502343177795, -0.4629579782485962, 0.020901408046483994, 0.02355092391371727, -0.03063390590250492, 0.9795576930046082, 0.31807026267051697, -0.046867795288562775, -0.09087200462818146, 0.19407077133655548, 0.5991353988647461, -0.9377867579460144, -0.49914786219596863, -0.9033039212226868, 0.4412268400192261, 0.2559480369091034, -0.25484609603881836, 0.42767661809921265, 0.4055505394935608, 0.5950526595115662, -0.11186235398054123, 0.8563205003738403, 0.22885215282440186, 0.7152246236801147, -0.3197263479232788, 0.2235569804906845, -0.756339967250824, 0.3450636863708496, -0.17108485102653503, -0.9716283082962036, -0.4166848063468933, -0.19331249594688416, -0.479705810546875, 0.21693256497383118, 0.5995494723320007, 0.4217953681945801, -0.20730488002300262, 0.4148235619068146, 0.2703419625759125, -0.0025078204926103354, 0.38084402680397034, 0.3186377286911011, 0.48810601234436035, -0.3540588617324829, 0.6890499591827393, -0.5298978686332703, 0.051266707479953766, -0.14680655300617218, -1.1965752840042114, -1.153361201286316, -0.585824191570282, 0.005397140514105558, -0.2147406041622162, -0.23617754876613617, 1.2445284128189087, 0.646636962890625, -1.0948799848556519, -0.3455469608306885, 0.006845229305326939, -0.2970196008682251, -0.2786945700645447, -0.2337293177843094, 0.4862734079360962, -0.3965981602668762, -0.9213975667953491, 0.5548220872879028, 0.16618868708610535, 0.12877345085144043, -0.3592517077922821, -0.05215201526880264, 0.4781600534915924, 0.044273849576711655, 0.8234542608261108, 0.1175001934170723, -0.8106673955917358, -0.35048380494117737, 0.3744719922542572, 0.3935958743095398, 0.1935073733329773, 0.8218603730201721, -1.019819974899292, 0.20019295811653137, 0.2725667655467987, 0.44049566984176636, 0.7078291177749634, 0.007385606411844492, 0.8276405334472656, -0.7462576031684875, 0.16604581475257874, 0.06121917441487312, 0.8052811026573181, 0.3405829966068268, -0.49379855394363403, 0.22730059921741486, 0.17323549091815948, -0.3922954201698303, -0.6695951223373413, 0.13314925134181976, -0.8907573223114014, -0.0523696206510067, 1.1340126991271973, 0.19797374308109283, 0.03020021691918373, -0.022432783618569374, 0.06363136321306229, 0.38863179087638855, -0.5509676933288574, 0.6170838475227356, 0.4820345342159271, -0.02831057831645012, -0.01589996926486492, -0.3027120530605316, 0.40142855048179626, 0.11231882870197296, -0.5151843428611755, 0.0012641755165532231, -0.13195829093456268, 0.3307952284812927, -0.28109464049339294, 0.17713093757629395, -0.08774014562368393, -0.1047765463590622, -0.5024448037147522, -0.46102210879325867, -0.4323221445083618, -0.4175494611263275, -0.2456531673669815, 0.0936201959848404, -0.0766419991850853, 0.06436658650636673 ]
http://arxiv.org/abs/2405.14974v1
http://arxiv.org/pdf/2405.14974v1
LOVA3: Learning to Visual Question Answering, Asking and Assessment
2024-05-23T18:21:59
2024-05-23T18:21:59
Henry Hengyuan Zhao, Pan Zhou, Difei Gao, Mike Zheng Shou
cs.CV
cs.CV, cs.AI, cs.CL
Question answering, asking, and assessment are three innate human traits crucial for understanding the world and acquiring knowledge. By enhancing these capabilities, humans can more effectively utilize data, leading to better comprehension and learning outcomes. However, current Multimodal Large Language Models (MLLMs) primarily focus on question answering, often neglecting the full potential of questioning and assessment skills. In this study, we introduce LOVA3, an innovative framework named ``Learning tO Visual Question Answering, Asking and Assessment,'' designed to equip MLLMs with these additional capabilities. Our approach involves the creation of two supplementary training tasks GenQA and EvalQA, aiming at fostering the skills of asking and assessing questions in the context of images. To develop the questioning ability, we compile a comprehensive set of multimodal foundational tasks. For assessment, we introduce a new benchmark called EvalQABench, comprising 64,000 training samples (split evenly between positive and negative samples) and 5,000 testing samples. We posit that enhancing MLLMs with the capabilities to answer, ask, and assess questions will improve their multimodal comprehension and lead to better performance. We validate our hypothesis by training an MLLM using the LOVA3 framework and testing it on 10 multimodal benchmarks. The results demonstrate consistent performance improvements, thereby confirming the efficacy of our approach.
[ -0.7026084661483765, -1.176897644996643, 0.4653809666633606, -0.02166145294904709, -0.029937973245978355, 0.010793077759444714, 0.1703907549381256, -0.5417932271957397, -0.16631966829299927, 0.6574561595916748, -0.5477070212364197, -0.27695709466934204, -0.35077276825904846, 0.06012968719005585, -0.22863228619098663, 0.3881506025791168, -0.367067813873291, 0.31063708662986755, -0.5547292828559875, -0.4877205789089203, -0.6445235013961792, -0.07881567627191544, -0.6195732355117798, 0.1782831996679306, 0.7967275977134705, 0.5456653237342834, 0.42297786474227905, 0.14783388376235962, 0.6181317567825317, 0.36474746465682983, 0.20809271931648254, 0.3106420040130615, -0.4002237021923065, 0.20847627520561218, -0.01399819552898407, -0.7634825110435486, -0.2909562885761261, -0.039543379098176956, 0.566041111946106, 0.4473794996738434, -0.012805231846868992, 0.4545947015285492, -0.13217663764953613, 0.7570697665214539, -0.8895146250724792, -0.016139838844537735, -0.5366269946098328, 0.14690756797790527, 0.3281252980232239, -0.41140928864479065, -0.15607595443725586, -0.36974263191223145, 0.09404255449771881, -0.6560322642326355, 0.19473886489868164, -0.12256743758916855, 0.7207760214805603, 0.39984193444252014, -0.5543808937072754, 0.21005810797214508, -0.38170215487480164, 0.46686646342277527, -0.21308207511901855, 0.3665620684623718, 0.4826297163963318, 0.6808744668960571, 0.3120734989643097, -0.7861253619194031, -0.7509348392486572, 0.18784868717193604, 0.426628977060318, 0.2581889033317566, -0.14492076635360718, -0.23873315751552582, 0.4840628206729889, 0.1545134037733078, -0.7625036239624023, -0.10881444811820984, -0.6184836030006409, -0.04680429771542549, 0.4340827465057373, 0.20748022198677063, 0.30867451429367065, -0.3630988299846649, -0.6708372831344604, -0.3225650191307068, -0.664681613445282, 0.5388891100883484, 0.22202236950397491, -0.010319420136511326, 0.03566926345229149, 0.7707459330558777, -0.3062773048877716, 0.7800447344779968, -0.49184784293174744, -0.1823536604642868, 0.2877073585987091, -0.36679521203041077, -0.27093666791915894, -0.5091566443443298, 0.5273134112358093, 0.7321153879165649, 0.1992204338312149, 0.4717654287815094, -0.049495160579681396, -0.04719585180282593, 0.38001567125320435, -0.655921220779419, 0.15740856528282166, 0.2737172245979309, -0.3505212962627411, -0.293843537569046, -0.08429846912622452, -0.9932728409767151, -0.5139195919036865, -0.2932770848274231, 0.7917558550834656, -0.5235170722007751, -0.08049240708351135, 0.0965157151222229, -0.35685470700263977, 0.7298709750175476, 0.802695095539093, -0.765075147151947, 0.17247553169727325, 0.29718291759490967, 0.35678112506866455, -0.12631551921367645, -0.6136149168014526, -0.9921361804008484, -0.02249634638428688, -0.3558398485183716, 0.9338827133178711, -0.4386567175388336, -0.14634069800376892, 0.016250688582658768, 0.0757656991481781, 0.006004180293530226, -0.4874730110168457, -0.03076944500207901, -0.6687482595443726, 0.2950035333633423, -0.47459566593170166, -0.08068893849849701, -0.4838067591190338, 0.788910984992981, -0.8331813216209412, 1.0895092487335205, 0.41170504689216614, -0.5512925386428833, 0.3533705174922943, -0.6943700313568115, -0.0908866599202156, 0.23772522807121277, -0.3744715750217438, -0.14286619424819946, -0.017643751576542854, 0.8084725737571716, 0.586091160774231, -0.329410582780838, -0.25022855401039124, -0.26450154185295105, -0.5093522071838379, 0.3369487226009369, -0.42887768149375916, 0.5951852798461914, -0.024966660887002945, -0.4039483368396759, 0.21163992583751678, -0.7532714009284973, 0.45643487572669983, 0.28469589352607727, -0.3180800676345825, -0.03284492716193199, -0.32478782534599304, 0.03457086905837059, 0.09904567152261734, -0.09238928556442261, -0.39561185240745544, 0.10841825604438782, -0.16084203124046326, 0.23722118139266968, 0.641493022441864, 0.2392689436674118, 0.08223613351583481, -0.22574029862880707, 0.9915651679039001, -0.1400410234928131, 0.46463918685913086, -0.16580043733119965, -0.6679413318634033, -0.8159324526786804, -0.22812111675739288, -0.020605040714144707, 0.6565968990325928, -1.3849914073944092, -0.27777203917503357, -0.16907283663749695, -0.4818955361843109, -0.6024416089057922, 0.5454253554344177, 0.30457884073257446, 0.5457609295845032, 0.5110885500907898, -0.28002452850341797, -0.44050711393356323, -0.7902208566665649, 0.09054740518331528, -0.4231475591659546, 0.07209829241037369, 0.32173874974250793, 0.867071807384491, -0.06473477929830551, 0.6395274996757507, -0.4733459949493408, -0.17090214788913727, -0.3872513771057129, 0.15373662114143372, -0.29070109128952026, 0.12636017799377441, 0.5092116594314575, -1.2623454332351685, -0.2646588683128357, -0.006323678884655237, -0.8707021474838257, 0.3079354763031006, 0.16662859916687012, -0.034477878361940384, 0.012487195432186127, 0.6837549209594727, -0.3333214819431305, 0.4390273094177246, 0.4854738414287567, -0.2992195785045624, 0.40485575795173645, -0.01624971441924572, 0.4811898171901703, -0.8579347729682922, 0.09508723020553589, -0.4221547245979309, -0.3802028298377991, -0.404462069272995, 0.34703710675239563, 0.1867985725402832, -0.3505920469760895, -1.0538874864578247, 0.8346095681190491, -0.23233827948570251, -0.16688409447669983, 0.032522667199373245, 0.2661009132862091, 0.46667608618736267, 0.6978033185005188, -0.20063094794750214, 0.7757828235626221, 0.7528074383735657, -0.4302378296852112, 0.7878954410552979, 0.4355700612068176, -0.7505099773406982, 1.022361397743225, -0.678274393081665, 0.019795306026935577, -0.3987244665622711, -0.03254308924078941, -1.0831220149993896, -0.30788928270339966, -0.07076316326856613, -0.541947603225708, -0.07621414214372635, 0.02103014849126339, -0.4184173345565796, -0.5777350664138794, -0.42229709029197693, 0.288336843252182, 0.47045373916625977, -0.6215730905532837, 1.0007154941558838, 0.10676679760217667, -0.17449511587619781, -0.8014135956764221, -0.6463379859924316, -0.12015605717897415, -0.32924312353134155, -0.6459901928901672, -0.3141663670539856, -0.20663590729236603, -0.14801304042339325, -0.039454393088817596, 0.27931246161460876, -0.1455230712890625, 0.23875582218170166, 0.17657050490379333, 0.4450764060020447, -0.34355345368385315, 0.24637582898139954, -0.48725253343582153, 0.10963728278875351, 0.04635431244969368, 0.18629947304725647, 0.33326682448387146, -0.45510321855545044, -0.6624442338943481, -0.27533814311027527, 0.5440618991851807, 0.622700572013855, -0.7722291946411133, 0.25410428643226624, 1.0252634286880493, -0.1434824913740158, -0.06022007390856743, -0.7889543175697327, 0.10477568954229355, -0.43993306159973145, 0.5072438716888428, -0.4956111013889313, -0.8448015451431274, 0.2883930504322052, 0.2439797818660736, -0.05330699309706688, 0.13869869709014893, 0.5698320269584656, -0.6039767861366272, 1.1270374059677124, 0.6112083196640015, 0.5781259536743164, 0.3300642669200897, -0.42934006452560425, -0.15961280465126038, -1.024971604347229, -0.4306040108203888, -0.10374005138874054, -0.29398226737976074, -0.19619469344615936, -0.9813476800918579, 0.6000284552574158, -0.013397843576967716, -0.170063316822052, -0.03073323704302311, -0.013026906177401543, 0.603201687335968, 0.4958629608154297, 0.13511566817760468, 0.2774975299835205, 0.10370016098022461, 0.0117794806137681, 0.06950199604034424, -0.5061356425285339, -0.3625357747077942, 1.0849424600601196, 0.3733888268470764, 0.8001052141189575, 0.27465128898620605, 0.3512454628944397, -0.131094828248024, 0.2893497943878174, -0.8217846155166626, 0.7487009167671204, 0.31561478972435, -0.7290083169937134, -0.4381658732891083, -0.23325206339359283, -0.7831359505653381, 0.5497555732727051, -0.3289051949977875, -0.6232151985168457, 0.23456475138664246, 0.132663756608963, -0.463577538728714, 0.2744256258010864, -0.7573457956314087, 0.8668338656425476, -0.5749975442886353, -0.598796010017395, 0.02564259245991707, -0.6611733436584473, 0.3343152701854706, 0.07614734768867493, 0.05495894327759743, 0.008847185410559177, -0.22672508656978607, 0.5938541293144226, 0.1272755116224289, 0.7592133283615112, -0.3066863417625427, -0.062283799052238464, 0.5324628949165344, -0.021191760897636414, 0.2754133939743042, 0.20815631747245789, 0.23502978682518005, -0.2513466775417328, 0.2709721624851227, -0.6114084124565125, -1.1157417297363281, 0.42581799626350403, -0.691496729850769, -0.6281041502952576, -0.12332259118556976, -0.3985065817832947, -0.8109510540962219, 0.15246471762657166, -0.1301850527524948, 0.5868963003158569, -0.38521409034729004, 0.4914492666721344, 0.8546238541603088, -0.3497820794582367, 0.14631883800029755, 0.4006751775741577, -0.5370607972145081, -0.6070882081985474, 0.8727307915687561, -0.3321312963962555, 0.6430085301399231, 0.4025236666202545, 0.05233294889330864, -0.3511402904987335, -0.2756240963935852, -0.5262523293495178, 0.12873539328575134, -1.1870503425598145, -0.15677987039089203, -0.665754497051239, 0.011738236993551254, -0.29984524846076965, -0.09430306404829025, -0.1933528333902359, -0.16453810036182404, -0.12252487987279892, -0.12370061874389648, 0.2980104088783264, 0.599112868309021, 0.19307377934455872, -0.03230933099985123, -0.5797414779663086, 0.68636155128479, 1.1500948667526245, 0.271042138338089, -0.14718984067440033, -0.20278435945510864, 0.09206461906433105, 0.005065334960818291, -0.4340458810329437, -0.5690998435020447, 0.051349788904190063, 0.08009360730648041, 0.5340542793273926, 0.2853206992149353, -0.45528143644332886, 0.8682346940040588, -0.4858226776123047, 0.8977590203285217, 0.4155650734901428, -0.6602867841720581, 0.7567289471626282, -0.34710848331451416, 0.4334300756454468, 0.7706817984580994, 0.4992428421974182, -0.36437761783599854, 0.1016877070069313, -0.5263179540634155, -0.48464974761009216, 0.25350961089134216, 0.049275971949100494, 0.19696536660194397, 0.22075390815734863, -0.03512017801403999, 0.03878837078809738, 0.2087964564561844, -0.7694417834281921, 0.10530374944210052, -0.5114542245864868, 0.04721841961145401, -0.1300860345363617, -0.05206632614135742, -0.5204048156738281, -0.45378127694129944, 0.31185898184776306, -0.6734127998352051, 0.24483075737953186, 0.2451592981815338, -0.11835744976997375, 0.04547454044222832, 0.3289843499660492, 0.40132761001586914, 0.7894476652145386, -0.1933041363954544, 0.2190944254398346, 0.46735846996307373, -0.3563879728317261, 0.09345050901174545, -0.07537014782428741, 0.3249126076698303, -0.4269368350505829, 0.6342745423316956, 1.0763797760009766, -0.03371451795101166, -1.2764627933502197, 0.9135725498199463, -0.47597989439964294, -0.6256282925605774, -0.24303051829338074, 0.2701786458492279, 0.17357227206230164, 0.38451167941093445, 0.06646940112113953, -0.04969523474574089, 0.003936619497835636, -0.8012641072273254, 0.007890786975622177, 0.3990688621997833, -0.7094179391860962, 0.10858364403247833, 0.42143791913986206, 0.17935757339000702, 0.09740977734327316, 0.4586779475212097, 0.2715402841567993, -0.4276646673679352, 0.6454675793647766, 0.2579042911529541, 0.3602604269981384, -0.04673286899924278, 0.5496628880500793, 0.3177604675292969, 0.42172735929489136, 0.12810736894607544, 1.0894947052001953, -0.1849747598171234, -0.5387576818466187, -0.17974185943603516, -0.4183695912361145, -0.42241621017456055, 0.27944931387901306, -0.8563303351402283, 0.3149976432323456, -0.2960396707057953, 0.05985571816563606, -0.1294524222612381, -0.1816602498292923, -0.9969045519828796, 0.446634441614151, 0.26016244292259216, 0.8600367903709412, -0.6712921857833862, 0.37668377161026, 0.7730886340141296, -0.6303461194038391, -0.7293188571929932, -0.4402617812156677, -0.0016662204870954156, -1.0867725610733032, 0.8579893112182617, 0.23607560992240906, -0.1003919169306755, -0.05287915840744972, -0.8121157288551331, -0.9314523935317993, 1.2476365566253662, 0.17439094185829163, -0.0001228822220582515, -0.029823921620845795, 0.019003024324774742, 0.5183447003364563, -0.33330652117729187, 0.2656577229499817, 0.25479796528816223, 0.45367440581321716, 0.2874002754688263, -0.49103546142578125, -0.23987403512001038, -0.6024991869926453, 0.0521356537938118, -0.12153618037700653, -0.3162217140197754, 0.6878118515014648, -0.6273312568664551, -0.07688339054584503, 0.2136007398366928, 0.5053285956382751, 0.22426863014698029, -0.08716122061014175, 0.5992304682731628, 0.38542795181274414, 0.6946663856506348, -0.14747436344623566, 1.1960960626602173, 0.40141725540161133, -0.04248880594968796, 1.099085807800293, -0.3561883866786957, 1.2996089458465576, 0.728600025177002, 0.05020427703857422, 0.5747605562210083, 0.46176987886428833, -0.23004493117332458, 0.2328910380601883, 0.10815431922674179, -0.14054659008979797, -0.4381537437438965, -0.04752139747142792, -0.3497237265110016, 0.8153492212295532, 0.2739848792552948, -0.03719610348343849, -0.10358717292547226, 0.5227169394493103, -0.5810613632202148, 0.01693541556596756, -0.2139938771724701, 0.6246740221977234, -0.19021451473236084, -0.7706371545791626, 0.7974914312362671, -0.461105078458786, 0.11449133604764938, -0.734251081943512, -0.22964590787887573, -0.09400685876607895, -0.0052347504533827305, 0.09379462897777557, -1.025420904159546, -0.22530053555965424, -0.013449414633214474, 0.11418800055980682, -0.2596084475517273, 0.37187719345092773, -0.32679250836372375, -0.6370250582695007, 0.16750943660736084, 0.7772046327590942, 0.03283694386482239, 0.0976119264960289, -0.6714442372322083, 0.05171015486121178, -0.18506500124931335, -0.2848966419696808, 0.03542369604110718, 0.3018372058868408, -0.11986688524484634, 0.9864481091499329, 0.5234047174453735, 0.009075396694242954, -0.03714974969625473, 0.3317788243293762, 0.8465538620948792, -0.6011742353439331, -0.3259182870388031, -0.46259555220603943, 0.7226004004478455, -0.04248088225722313, -0.44357752799987793, 0.5368006825447083, 0.273508220911026, 0.6896928548812866, -0.1443442851305008, 0.7671485543251038, 0.0028106344398111105, 0.4057038426399231, -0.8321698307991028, 0.43210723996162415, -1.0956039428710938, -0.1070738285779953, -0.3309307098388672, -0.8657373189926147, -0.29569417238235474, 0.47415584325790405, -0.19367094337940216, -0.03745286539196968, 1.017874002456665, 0.8749881386756897, 0.17568126320838928, 0.04687880352139473, 0.5939458608627319, -0.05521584674715996, 0.3988467752933502, 0.6614621877670288, 1.3804752826690674, -0.6571123003959656, 0.5743177533149719, -0.1527995765209198, -0.13228954374790192, -0.024494268000125885, -0.5528457164764404, -1.190447449684143, -0.8055173754692078, -0.05282129719853401, -0.13511115312576294, -0.14530669152736664, 0.6227388381958008, 0.5018208622932434, -0.28458288311958313, -0.03009251318871975, 0.30614787340164185, -0.06091760843992233, -0.26045867800712585, -0.14128223061561584, 0.2897065281867981, -0.0911007672548294, -0.5531291365623474, 0.35371989011764526, 0.4080502390861511, 0.23131978511810303, -0.6188810467720032, 0.10368921607732773, -0.4201471507549286, -0.09448076784610748, 0.8740518093109131, 0.22405214607715607, -0.7314199805259705, -0.23523634672164917, 0.22686852514743805, 0.00906289555132389, 0.13528859615325928, 0.6638262867927551, -0.913057804107666, 0.8017595410346985, 0.5690743327140808, 0.8632494807243347, 0.4486995339393616, 0.10548197478055954, 0.404386043548584, -0.433405339717865, 0.01750752329826355, 0.279887855052948, 0.41396626830101013, 0.6413422226905823, -0.056232232600450516, 0.5305453538894653, 0.03963514417409897, -0.08854453265666962, -0.7046382427215576, 0.287606418132782, -0.9347264170646667, -0.1715829074382782, 1.2615725994110107, 0.14453129470348358, -0.4384344518184662, -0.1372305303812027, -0.5973507165908813, -0.32336685061454773, 0.24102380871772766, 0.23849642276763916, 0.6380366086959839, -0.16489127278327942, -0.5170387625694275, -1.0374176502227783, 0.2713514566421509, 0.4481107294559479, -1.283111572265625, -0.19825442135334015, 0.46205633878707886, 0.36600860953330994, 0.10121581703424454, 0.6049636602401733, -0.2676081657409668, 0.7681522369384766, -0.22454491257667542, 0.16625943779945374, -0.004441129043698311, -0.4336210787296295, -0.24533823132514954, 0.43487435579299927, 0.04400795325636864, -0.0834408849477768 ]
http://arxiv.org/abs/2405.14962v1
http://arxiv.org/pdf/2405.14962v1
Data Augmentation Method Utilizing Template Sentences for Variable Definition Extraction
2024-05-23T18:14:05
2024-05-23T18:14:05
Kotaro Nagayama, Shota Kato, Manabu Kano
cs.CL
cs.CL
The extraction of variable definitions from scientific and technical papers is essential for understanding these documents. However, the characteristics of variable definitions, such as the length and the words that make up the definition, differ among fields, which leads to differences in the performance of existing extraction methods across fields. Although preparing training data specific to each field can improve the performance of the methods, it is costly to create high-quality training data. To address this challenge, this study proposes a new method that generates new definition sentences from template sentences and variable-definition pairs in the training data. The proposed method has been tested on papers about chemical processes, and the results show that the model trained with the definition sentences generated by the proposed method achieved a higher accuracy of 89.6%, surpassing existing models.
[ -0.24974995851516724, -0.7321972846984863, 0.584768533706665, 0.03120274841785431, -0.41649386286735535, 0.15619808435440063, -0.24563106894493103, -0.32810550928115845, 0.37924715876579285, 0.35832634568214417, -0.49704715609550476, -0.372392863035202, -0.47391775250434875, 0.47599679231643677, -0.2473694533109665, 0.9862216114997864, -0.34041035175323486, 0.03615438938140869, -0.4513885974884033, 0.0485512912273407, -0.5376548171043396, -0.26219072937965393, 0.025825712829828262, -0.17272968590259552, 0.3368529975414276, 0.17796289920806885, 0.3247217833995819, 1.025916337966919, 0.7152501940727234, 0.39198634028434753, -0.1660131961107254, 0.4549402892589569, -0.07457343488931656, 0.2516150176525116, -0.17986363172531128, -0.49434295296669006, -0.4063711166381836, 0.46109744906425476, 0.6156735420227051, 0.5748931169509888, 0.19343632459640503, 0.06204590946435928, -0.05968121439218521, 0.5660120248794556, -0.5448548793792725, 0.5021784901618958, -0.7056742310523987, 0.2838534712791443, -0.09457432478666306, -0.6832228899002075, -0.05562319979071617, -0.4247194230556488, 0.05520740896463394, -0.7451105713844299, 0.7211968302726746, -0.4227142930030823, 1.045681357383728, -0.1875278800725937, -0.2137870043516159, -0.3306524455547333, -0.6378125548362732, 0.4874919652938843, -0.46275052428245544, 0.18442252278327942, 0.06704492121934891, 0.12077608704566956, -0.02184866927564144, -0.9189370274543762, -0.9197907447814941, -0.21448588371276855, -0.15029479563236237, 0.2877625524997711, 0.3376670479774475, 0.06980878114700317, 0.47295644879341125, 0.503799319267273, -0.3028999865055084, -0.19307079911231995, -0.9384980201721191, -0.029773086309432983, 0.6790828704833984, 0.2775764465332031, -0.22149032354354858, -0.3687507212162018, -0.4066202640533447, -0.2674359679222107, -0.3970870077610016, -0.12701109051704407, 0.37485644221305847, 0.49303385615348816, 0.12161862850189209, 1.0540436506271362, -0.21870765089988708, 0.4638652503490448, -0.16179154813289642, -0.19116008281707764, 0.7494134306907654, -0.5706888437271118, -0.4550001621246338, -0.16216261684894562, 0.3853803873062134, 0.2102511078119278, -0.23400799930095673, -0.32568493485450745, -0.28806909918785095, 0.10390418767929077, 0.2377612143754959, -0.7115826606750488, -0.15611134469509125, 0.01617116667330265, -0.36643439531326294, -0.6061885356903076, 0.42524364590644836, -0.7721976637840271, -0.1950264871120453, -0.6397811770439148, 0.3345230221748352, -0.6115000247955322, 0.02329067699611187, -0.1062113344669342, -0.6733245253562927, 0.08932758122682571, 0.13981416821479797, -0.7005614042282104, -0.009068494662642479, 0.6356695294380188, 1.0895214080810547, -0.0056684548035264015, 0.0824560821056366, -0.6461053490638733, 0.05594230070710182, -0.40111008286476135, 0.7332468032836914, -0.6825276017189026, -0.4459114968776703, -0.06715374439954758, -0.1642981469631195, 0.11101891845464706, -0.4793524742126465, 0.36336550116539, -0.261341392993927, 0.5003311634063721, -0.019008485600352287, -0.8579626679420471, -0.004819612018764019, -0.01041756197810173, -0.5292790532112122, 1.0361173152923584, 0.6215230822563171, -0.5781078338623047, 0.5859375, -0.8930619359016418, -0.4198456406593323, 0.4087916612625122, -0.4938903748989105, -0.38906797766685486, 0.4336707293987274, 0.19067418575286865, 0.533275306224823, -0.4399908483028412, 0.2769814133644104, -0.14431850612163544, -0.022241562604904175, 0.4759595990180969, -0.07437268644571304, 0.6305341124534607, 0.22656184434890747, 0.020592741668224335, -0.18278466165065765, -1.079127311706543, 0.29345616698265076, -0.29778972268104553, -0.7228370904922485, -0.24449224770069122, -0.12800514698028564, 0.09878728538751602, 0.35324567556381226, 0.0677340105175972, -0.7036800384521484, 0.36197224259376526, -0.6214130520820618, 0.10177955776453018, 0.7246716022491455, 0.3243594765663147, 0.320054829120636, -0.2519633173942566, 0.47751688957214355, -0.0060555944219231606, -0.20560623705387115, -0.4942830801010132, -0.01843695156276226, -0.7612648606300354, -0.5280327796936035, 0.5256868004798889, 0.34451261162757874, -0.8583561778068542, 1.0427873134613037, -0.39476191997528076, -0.5217013955116272, -0.45152345299720764, 0.31386762857437134, 0.28809598088264465, 0.8717296123504639, 0.5227302312850952, -0.14704841375350952, -0.9189469218254089, -0.8512523174285889, -0.18271537125110626, -0.013831914402544498, -0.27470460534095764, -0.006174328736960888, 0.4995931386947632, -0.09466453641653061, 1.0686824321746826, -0.7986052632331848, -0.15925654768943787, -0.05639750137925148, 0.5448591709136963, 0.317496657371521, 0.3580018877983093, 0.5020241737365723, -0.7970649003982544, -0.5553252100944519, 0.02041308395564556, -0.8481107950210571, -0.23049621284008026, -0.26156920194625854, 0.03869563713669777, 0.1852734237909317, 0.5233549475669861, -0.36451244354248047, 0.4938232898712158, 0.021122479811310768, -0.16197799146175385, 0.5413910746574402, -0.2820771038532257, 0.09059977531433105, -1.3321993350982666, 0.1998242735862732, 0.5482317805290222, -0.12307710945606232, -0.6445697546005249, 0.16142883896827698, 0.07947446405887604, 0.04162955284118652, -0.6180461049079895, 0.22149334847927094, -0.5626311302185059, 0.3326667249202728, -0.2575209140777588, -0.007669406943023205, 0.35594117641448975, 0.03986011818051338, 0.08391378074884415, 0.7752644419670105, 0.5415094494819641, -0.5554445385932922, 0.6703510880470276, 0.3434242904186249, -0.35887402296066284, 0.5764937996864319, -0.3918472230434418, -0.056145403534173965, -0.26616284251213074, 0.052345797419548035, -0.7517619132995605, -0.007317763287574053, 0.002280347514897585, -0.2808421552181244, 0.27402377128601074, 0.2767547369003296, -0.5678980946540833, -0.4144422113895416, -0.2959020137786865, -0.22831423580646515, 0.4264271855354309, -0.23150360584259033, 0.5160825848579407, 0.20986977219581604, -0.1568976789712906, -0.1604919135570526, -0.5573177337646484, -0.0584314689040184, -0.6214973330497742, -0.36345481872558594, 0.6957769989967346, 0.003670991165563464, -0.13766086101531982, -0.25845301151275635, -0.3041630983352661, -0.16517265141010284, -0.10074498504400253, 0.050938207656145096, 0.5862142443656921, -0.16929008066654205, 0.6207494139671326, -0.012288127094507217, 0.044803980737924576, 0.11951708048582077, -0.152288019657135, 0.4975440204143524, 0.26043325662612915, 0.4324013590812683, -0.48578304052352905, 0.4769461154937744, 0.27856677770614624, -0.15345948934555054, 0.7661921977996826, 0.6741113066673279, -0.2383723258972168, 0.10673049837350845, -0.40655094385147095, -0.11571449786424637, -0.5172370672225952, 0.2834693491458893, -0.4441867470741272, -0.25598636269569397, 0.31833890080451965, -0.10366834700107574, -0.13507404923439026, 0.6079006791114807, 0.32185521721839905, -0.2754160165786743, 0.5484737753868103, 0.6991089582443237, 0.1930132657289505, 0.6933111548423767, -0.3396354615688324, 0.20273616909980774, -0.879817008972168, -0.41612616181373596, -0.5769720673561096, -0.0956340879201889, -0.6693824529647827, -0.7129835486412048, 0.5559183359146118, -0.09684913605451584, 0.06723623722791672, 0.35099127888679504, -0.37495046854019165, 0.2700454592704773, 0.39291849732398987, 0.285176545381546, 0.12489919364452362, 0.48004984855651855, -0.20750068128108978, -0.22126902639865875, -0.27257779240608215, -0.435300350189209, 1.2535139322280884, 0.1251486986875534, 0.5106322765350342, -0.12643152475357056, 0.7674809098243713, 0.28804856538772583, 0.16794651746749878, -0.6655063629150391, 0.3241383135318756, -0.16391102969646454, -0.2562902271747589, -0.09581819176673889, -0.46697574853897095, -0.7199561595916748, 0.024390026926994324, -0.7434571981430054, -0.7695051431655884, 0.19408349692821503, -0.0963626429438591, -0.10944519937038422, -0.049968864768743515, -0.4435563087463379, 0.23590007424354553, -0.2511523365974426, -0.3770378530025482, 0.11512985080480576, -0.4995100200176239, 0.1271955668926239, -0.5072911381721497, -0.16769079864025116, 0.09231019765138626, -0.06234145909547806, 0.9269566535949707, -0.6025813221931458, 0.3248485326766968, -0.12090190500020981, -0.059162963181734085, 0.3364015519618988, -0.4450405240058899, 0.5308329463005066, 0.044040780514478683, -0.3282369375228882, -0.126836895942688, -0.09441539645195007, -0.2502143979072571, -0.9199098348617554, 0.23509927093982697, -0.3652556538581848, -0.3985729515552521, -0.3548508584499359, -0.642049252986908, -0.01727149821817875, 0.2904598116874695, 0.2822900116443634, 0.19030341506004333, -0.0756634846329689, 0.3637433350086212, 0.48398929834365845, -0.3092176616191864, 0.36925792694091797, 0.5371373891830444, 0.13884347677230835, -0.5031158924102783, 0.7882976531982422, 0.19313360750675201, 0.06186104565858841, 0.5254887342453003, 0.22299788892269135, -0.38780832290649414, -0.42139631509780884, 0.1703002005815506, -0.04910479858517647, -0.47191861271858215, -0.5041475892066956, -0.6689855456352234, -0.3900674283504486, -0.8008956909179688, -0.06328604370355606, -0.19758695363998413, -0.6893287897109985, -0.30792295932769775, -0.25344595313072205, 0.5385951995849609, 0.32065215706825256, -0.15196697413921356, 0.5127686858177185, -0.8058537244796753, 0.5253027081489563, -0.058864861726760864, 0.16532209515571594, -0.6782581210136414, -0.1666887253522873, -0.3278689980506897, 0.2531769573688507, -0.48903587460517883, -0.9412185549736023, 0.716079831123352, 0.3350108563899994, 0.618125855922699, 0.23137934505939484, -0.24178491532802582, 0.8788647651672363, -0.23170813918113708, 0.6099133491516113, 0.42469581961631775, -0.9551716446876526, 0.9379116296768188, -0.36343270540237427, 0.05116323009133339, 0.4579266309738159, 0.363583505153656, -0.3112691640853882, -0.22032733261585236, -0.9075947403907776, -1.161534070968628, 0.36746299266815186, 0.3621158003807068, 0.1922515630722046, -0.0343807227909565, 0.841319739818573, 0.3465525805950165, 0.43075111508369446, -0.42694467306137085, -0.235951229929924, 0.07227341085672379, -0.27211612462997437, -0.19617746770381927, 0.08438864350318909, -0.17118538916110992, -0.46276623010635376, 0.7172214984893799, -0.17601069808006287, 0.45227763056755066, 0.09495305269956589, -0.09643516689538956, -0.05192304402589798, 0.07840006053447723, 0.3626832962036133, 0.7483086585998535, -0.33012884855270386, -0.03239021822810173, 0.027904128655791283, -0.5048313736915588, 0.23714779317378998, 0.30768296122550964, 0.005944756790995598, 0.19739346206188202, 0.29135993123054504, 0.6341835856437683, -0.5396941304206848, -0.45378023386001587, 0.32501381635665894, -0.00310329906642437, -0.41003167629241943, -0.18655632436275482, 0.4289257824420929, -0.3614993095397949, 0.32055893540382385, 0.45542454719543457, 0.1506516933441162, 0.1629759669303894, -0.5799053311347961, 0.4963342547416687, 0.29391801357269287, -0.10550567507743835, 0.03887201100587845, 0.2832181453704834, -0.0780656635761261, -0.2893340289592743, 0.7220339775085449, -0.015328732319176197, -0.18939821422100067, 0.6781431436538696, 0.6896283626556396, 0.630466103553772, -0.02179710753262043, 0.36192628741264343, 0.305864155292511, -0.08045107871294022, 0.11553540080785751, 0.47645533084869385, -0.005163666792213917, -0.5514229536056519, -0.2243165373802185, -0.5899819135665894, -0.007251064293086529, 0.6485324501991272, -0.873645007610321, 0.5977473258972168, -0.32033273577690125, -0.13251344859600067, 0.5687747001647949, 0.3111712336540222, -0.9595010280609131, 0.3516988158226013, -0.23761340975761414, 0.9146499633789062, -1.2181485891342163, 0.6896995306015015, 0.6229478120803833, -0.7449455261230469, -0.552157461643219, -0.06936028599739075, -0.18095523118972778, -0.15860216319561005, 0.7592059969902039, 0.08210337162017822, 0.3164072036743164, -0.3077688217163086, -0.32888418436050415, -0.8239840269088745, 1.1373144388198853, 0.3108264207839966, -0.3425348997116089, 0.035159509629011154, 0.18007095158100128, 0.763090968132019, -0.641000509262085, 0.10672774910926819, 0.5645361542701721, 0.47908908128738403, -0.06445683538913727, -0.598021924495697, 0.10331369191408157, -0.6072384715080261, 0.3015119433403015, -0.03871389478445053, -0.17901556193828583, 0.7852156758308411, 0.18007312715053558, -0.3128474950790405, -0.028534211218357086, 0.888512134552002, 0.11419351398944855, 0.06411638855934143, 0.19036726653575897, 0.16911587119102478, 0.9906882643699646, -0.036934640258550644, 0.7384660840034485, -0.10391510277986526, 0.4304843544960022, 1.1014050245285034, -0.24361339211463928, 0.5219774842262268, 0.64561527967453, -0.22777704894542694, 0.47859323024749756, 0.5461933016777039, -0.5402613878250122, 0.5845934748649597, 0.27390486001968384, -0.4914315640926361, 0.19102180004119873, 0.027768367901444435, -0.35300567746162415, 0.6567086577415466, 0.6648139953613281, -0.9639910459518433, -0.14917466044425964, 0.11029034852981567, -0.11016794294118881, 0.12050864100456238, -0.08072745054960251, 0.7578411102294922, -0.38694435358047485, -0.7753233313560486, 0.5185819864273071, 0.2930331230163574, 0.3562297224998474, -0.33089447021484375, -0.22240781784057617, -0.11901400983333588, 0.07027756422758102, -0.19483207166194916, -0.5909408926963806, 0.3599546551704407, 0.1587694138288498, -0.15475988388061523, -0.07511670887470245, 0.4517615735530853, -0.4403618276119232, -0.8389182686805725, -0.3344173729419708, 0.5876192450523376, 0.005108536221086979, 0.3219100832939148, -0.4618145525455475, -0.3157675564289093, -0.14652971923351288, 0.058011431246995926, -0.036852918565273285, 0.22288376092910767, 0.1445365846157074, 0.12631380558013916, 0.5562814474105835, 0.45260778069496155, 0.06816492974758148, -0.28597182035446167, 1.1152493953704834, -0.5979195237159729, -0.558220624923706, -0.8024120330810547, 0.6214237809181213, -0.5742878913879395, -0.23373615741729736, 0.48471754789352417, 1.0060521364212036, 0.8383142948150635, -0.26121312379837036, 1.3398354053497314, -0.40921446681022644, 0.38778552412986755, -0.8530086874961853, 0.13370612263679504, -0.10795062780380249, 0.3706851899623871, -0.21094073355197906, -0.9683771729469299, -0.4014776647090912, 0.9599449634552002, -0.05252927914261818, 0.11299456655979156, 0.9624241590499878, 0.826751708984375, -0.24421142041683197, -0.07541569322347641, -0.1892670840024948, 0.08054517954587936, 0.6724274158477783, 0.04623907804489136, 0.2955365478992462, -0.49331575632095337, -0.13153380155563354, -0.39631158113479614, -0.14836576581001282, -0.031174521893262863, -1.0076091289520264, -0.6681105494499207, -0.7912567257881165, -0.5242976546287537, -0.5229008793830872, 0.21123433113098145, 0.9813422560691833, 0.5782278180122375, -0.4763459265232086, -0.0195058211684227, -0.45197686553001404, -0.18961448967456818, -0.4212038815021515, -0.33358234167099, 0.5559208393096924, -0.5467666387557983, -0.7847262024879456, 0.5058615803718567, 0.10595383495092392, 0.16657516360282898, -0.12929445505142212, 0.245338574051857, -0.4696243405342102, 0.16506043076515198, 0.3991459012031555, 0.10298436135053635, -0.2954779863357544, -0.36714503169059753, -0.283513605594635, 0.15289577841758728, 0.4840242862701416, 1.0966973304748535, -0.8702222108840942, 0.7882935404777527, 0.7703824043273926, 0.24976269900798798, 0.6473070383071899, 0.20808349549770355, 0.9549427628517151, -1.299623966217041, 0.08593783527612686, -0.07622278481721878, 0.13086484372615814, 0.3050858974456787, -0.622069776058197, 0.5836310982704163, 0.43957287073135376, -0.027916552498936653, -0.6230813264846802, 0.015580510720610619, -0.8779886364936829, -0.2558457851409912, 0.9815360307693481, -0.152771458029747, -0.23316089808940887, 0.1973910629749298, -0.09264656156301498, 0.9390361905097961, -0.23556722700595856, 1.163059115409851, 0.34814000129699707, -0.4913484454154968, 0.07274723798036575, -0.3219086527824402, 0.46466904878616333, -0.1647932082414627, -0.9417271614074707, -0.05852050334215164, 0.4835605323314667, 0.26435866951942444, 0.337012380361557, 0.23520803451538086, -0.22822023928165436, 0.0634678527712822, -0.015016211196780205, 0.06896227598190308, -0.43850386142730713, -0.20934443175792694, -0.2556769549846649, 0.21414557099342346, -0.44242414832115173, -0.18459287285804749 ]
http://arxiv.org/abs/2406.00020v2
http://arxiv.org/pdf/2406.00020v2
Harmful Speech Detection by Language Models Exhibits Gender-Queer Dialect Bias
2024-05-23T18:07:28
2024-06-21T18:01:06
Rebecca Dorn, Lee Kezar, Fred Morstatter, Kristina Lerman
cs.CL
cs.CL, cs.CY
Content moderation on social media platforms shapes the dynamics of online discourse, influencing whose voices are amplified and whose are suppressed. Recent studies have raised concerns about the fairness of content moderation practices, particularly for aggressively flagging posts from transgender and non-binary individuals as toxic. In this study, we investigate the presence of bias in harmful speech classification of gender-queer dialect online, focusing specifically on the treatment of reclaimed slurs. We introduce a novel dataset, QueerReclaimLex, based on 109 curated templates exemplifying non-derogatory uses of LGBTQ+ slurs. Dataset instances are scored by gender-queer annotators for potential harm depending on additional context about speaker identity. We systematically evaluate the performance of five off-the-shelf language models in assessing the harm of these texts and explore the effectiveness of chain-of-thought prompting to teach large language models (LLMs) to leverage author identity context. We reveal a tendency for these models to inaccurately flag texts authored by gender-queer individuals as harmful. Strikingly, across all LLMs the performance is poorest for texts that show signs of being written by individuals targeted by the featured slur (F1 <= 0.24). We highlight an urgent need for fairness and inclusivity in content moderation systems. By uncovering these biases, this work aims to inform the development of more equitable content moderation practices and contribute to the creation of inclusive online spaces for all users.
[ -0.16606104373931885, -0.7412420511245728, 0.32127493619918823, -0.13280273973941803, -0.1550007164478302, -0.09383223205804825, -0.05868137255311012, -0.49823638796806335, 0.02950246073305607, 0.8691216111183167, -0.5300530195236206, -0.23847801983356476, -0.6261869072914124, 0.13580088317394257, -0.7150223255157471, 1.2040573358535767, 0.507584810256958, 0.17969827353954315, 0.11017509549856186, -0.05071542412042618, -0.7230185866355896, -0.3245192766189575, -0.3777852952480316, 0.038584135472774506, 0.5583358407020569, -0.0716475248336792, 0.7140150666236877, 0.4513310194015503, -0.03786441683769226, 0.23794318735599518, -0.33822041749954224, -0.03130264952778816, -0.78651362657547, 0.42112794518470764, -0.4907492995262146, -0.38954460620880127, -0.34633713960647583, 0.0502457432448864, 0.5295746326446533, 0.5791577100753784, -0.09207182377576828, 0.2768930494785309, 0.11553025245666504, 0.4805658459663391, -0.7006926536560059, -0.30650806427001953, -1.0526456832885742, 0.050350774079561234, -0.41618067026138306, 0.10909522324800491, -0.4046059250831604, -0.46245381236076355, -0.09861747920513153, -0.3611922562122345, 0.26403379440307617, 0.1199706569314003, 0.5559183359146118, -0.008236302994191647, -0.5522658824920654, -0.3647957742214203, -0.7758497595787048, 0.8206609487533569, -0.7262934446334839, 0.7296344637870789, 0.6280746459960938, 0.10188433527946472, 0.0937185287475586, -0.4928222894668579, -0.6187041997909546, 0.154572531580925, -0.013995807617902756, -0.22955267131328583, -0.3855842351913452, -0.12839825451374054, 0.41209807991981506, 0.0918145626783371, -0.5467134118080139, 0.2331693172454834, -0.6255922913551331, -0.3605706989765167, 0.8396264314651489, 0.10471423715353012, 0.2379915565252304, -0.34508657455444336, -0.3500775098800659, 0.2157815396785736, -0.6659048199653625, -0.2543879747390747, 0.8197742700576782, 0.6699082255363464, 0.14563138782978058, 0.37009066343307495, 0.37522652745246887, 0.29617249965667725, 0.113624706864357, 0.003909275401383638, 0.3509848713874817, -0.10111260414123535, -0.1206701248884201, 0.11756021529436111, 0.6367359161376953, 0.4413580596446991, 0.3181910812854767, 0.0007559619261883199, -0.36393511295318604, -0.13601255416870117, 0.4585791528224945, -0.3147401213645935, 0.03544800356030464, -0.047392282634973526, -0.40171846747398376, 0.007014055270701647, -0.0675530880689621, -0.7758418917655945, -1.0824226140975952, -0.02840355411171913, 0.3897992968559265, -0.13552497327327728, -0.6003890037536621, 0.09172987937927246, -0.3157568871974945, -0.09885261952877045, 0.19856484234333038, -0.6789088249206543, 0.1510372906923294, 0.8590498566627502, 0.39563873410224915, -0.09462949633598328, 0.1890937238931656, -0.7560744285583496, -0.02675120159983635, -0.3089566230773926, 0.444439560174942, -0.4735334515571594, -0.2488393932580948, 0.26830366253852844, 0.23052901029586792, 0.11444241553544998, -0.6808894276618958, 1.0096515417099, -0.39891746640205383, 0.2977088689804077, -0.5399602651596069, -0.5148959755897522, -0.16629914939403534, -0.1611165702342987, -0.8545480370521545, 0.7757185101509094, 0.12969423830509186, -0.8625994324684143, 0.5957018136978149, -0.29838117957115173, -0.1716427356004715, 0.3439154624938965, -0.08237065374851227, -0.3864001929759979, -0.02197706326842308, -0.19107425212860107, 0.47693461179733276, -0.11700178682804108, 0.5809416174888611, -0.3246499001979828, -0.3931088149547577, 0.2777850329875946, -0.3709975481033325, 0.8112280964851379, 0.2956768870353699, -0.7085731625556946, 0.30100059509277344, -0.29336681962013245, -0.2001011073589325, -0.03677063807845116, -0.01419877726584673, -0.6500059366226196, 0.1232111006975174, 0.42015132308006287, 0.3139563798904419, -0.3942258954048157, -0.6431379318237305, -0.6655861139297485, -0.3536938428878784, 0.4823227822780609, 0.9997485280036926, -0.4086897671222687, 0.23442742228507996, -0.5744561553001404, 0.4293924570083618, -0.07838626205921173, 0.23341582715511322, 0.06121258810162544, -0.6383504867553711, -0.39565715193748474, -0.2735840976238251, 0.009501676075160503, 0.1944299340248108, -0.6548690795898438, 0.5515776872634888, -0.3052901327610016, -0.3237510025501251, -0.5018936991691589, 0.07447647303342819, 0.43060302734375, 0.3471335470676422, 0.25858360528945923, -0.1836208701133728, -0.46701836585998535, -1.2730530500411987, -0.7050442695617676, -0.44531217217445374, 0.039728760719299316, 0.2733776867389679, 0.32057705521583557, -0.26353156566619873, 0.7062153816223145, -0.08275386691093445, -0.18429504334926605, -0.13079959154129028, 0.07841507345438004, 0.01561433169990778, 0.201477512717247, 0.5675348043441772, -0.9366939663887024, -0.39257103204727173, -0.5140171051025391, -0.17850278317928314, -0.5942884087562561, 0.03563154861330986, -0.09227693825960159, 0.03429105132818222, 0.22096411883831024, -0.11914335191249847, 0.3241940438747406, 0.3875272274017334, -0.7957144379615784, 0.7270150780677795, 0.6167898774147034, 0.13107085227966309, -0.6054120659828186, 0.04708223044872284, 0.21314698457717896, -0.6070078611373901, -0.7916616797447205, 0.10612178593873978, -0.1151537373661995, 0.10369738936424255, -0.7162666320800781, 0.5903330445289612, -0.17835745215415955, 0.296353816986084, -0.20104321837425232, 0.17787224054336548, 0.0744551494717598, 0.07884202152490616, -0.020973121747374535, 0.5663264989852905, 0.19327673316001892, -0.3799048066139221, -0.014924957416951656, 0.2460469901561737, -0.22487835586071014, 0.5605593323707581, -0.2495272010564804, 0.19688183069229126, -0.5137537717819214, 0.15454742312431335, -0.9821427464485168, 0.14748753607273102, 0.5194021463394165, -0.2593417167663574, 0.11521907150745392, -0.021716192364692688, -0.44021421670913696, -0.2462051659822464, -0.5034292340278625, 0.5450873374938965, 0.09713979065418243, -0.3422037959098816, 0.2573471665382385, 0.9726352691650391, -0.26525482535362244, -0.5770710110664368, -0.7956953644752502, 0.022617029026150703, -0.41933777928352356, -0.2450026571750641, 0.07825534790754318, -0.08755999058485031, -0.5009137988090515, -0.15709975361824036, -0.06624092906713486, -0.17415104806423187, 0.2144302874803543, 0.3606196641921997, -0.01886930875480175, 0.20228685438632965, 0.5386896729469299, 0.21741259098052979, 0.3909243941307068, 0.3309842050075531, 0.11959834396839142, 0.5596396923065186, -0.07123137265443802, -0.1586567461490631, -0.11056921631097794, 0.7390323281288147, 0.44228726625442505, 0.0557018518447876, 0.6341762542724609, 0.8639631867408752, -0.563900887966156, -0.38028615713119507, -0.6665182113647461, -0.2471345067024231, -0.4634344279766083, 0.35225632786750793, 0.19663311541080475, -1.2793011665344238, 0.36085689067840576, 0.4228588938713074, 0.226385697722435, 0.36271584033966064, 0.2865649461746216, 0.010944138281047344, 0.8794417381286621, 0.3981916308403015, 0.07397099584341049, 0.49009665846824646, 0.03992908075451851, 0.17973501980304718, -0.5331524610519409, -0.14806051552295685, -0.639248788356781, -0.21791677176952362, -0.7242968678474426, -0.4275527596473694, 0.13032060861587524, -0.33611026406288147, -0.49586859345436096, 0.27714627981185913, -0.5268911719322205, 0.316523015499115, 0.27786239981651306, 0.175114706158638, 0.2102413922548294, 0.05289587751030922, 0.030477801337838173, -0.5910261273384094, -0.4836783707141876, -0.6123025417327881, 0.9171615839004517, 0.7143866419792175, 0.7005189061164856, 0.28602415323257446, 0.2540196478366852, 1.0541572570800781, 0.40656593441963196, -0.666053295135498, 0.4726663827896118, -0.24574045836925507, -1.2344948053359985, -0.0710623487830162, -0.5033227205276489, -0.8214279413223267, 0.24309517443180084, -0.35933369398117065, -0.8723974227905273, 0.35148704051971436, 0.07073502987623215, -0.19931752979755402, 0.7551552057266235, -0.4168488681316376, 0.45236289501190186, -0.20635122060775757, -0.7536149024963379, -0.15401385724544525, -0.4460615813732147, 0.5836476683616638, -0.43174025416374207, 0.7234284281730652, -0.3729473948478699, 0.010567354038357735, 0.7331737875938416, -0.09615373611450195, 1.0000566244125366, -0.17200949788093567, -0.5233024954795837, 0.16157904267311096, 0.3073444068431854, 0.10162080824375153, -0.14048674702644348, -0.561385452747345, 0.4180697798728943, -0.0814368724822998, -0.019332200288772583, 0.004822678864002228, 0.6923923492431641, -0.47798725962638855, -0.6204267144203186, -0.2832997143268585, -0.25984930992126465, -0.11558845639228821, 0.21332702040672302, 0.025706451386213303, 0.2368282824754715, -0.07804113626480103, 0.11024681478738785, 0.7351964712142944, -0.5574923157691956, 0.22049131989479065, 0.3191739618778229, -0.4404536485671997, -0.3576524555683136, 0.8060120940208435, -0.03797105327248573, 0.2054518759250641, -0.056345123797655106, 0.1722189486026764, -0.5632216930389404, -0.24121110141277313, -0.27619102597236633, 0.3289211690425873, -0.7636430263519287, -0.2992449700832367, -0.7123733758926392, -0.1687447875738144, -0.5495935678482056, 0.0637650191783905, -0.31168171763420105, -0.3383220136165619, -0.2992451786994934, -0.06458191573619843, -0.04098154976963997, 0.7194579839706421, -0.03906221687793732, 0.23694494366645813, -0.7625669836997986, 0.10573381185531616, 0.3938595652580261, 0.3254778981208801, -0.08273196220397949, -0.650164783000946, 0.10506252944469452, 0.21524593234062195, -0.3418024778366089, -1.1796625852584839, 0.40169838070869446, 0.3237057626247406, 0.6592944264411926, 0.41310593485832214, 0.2733123302459717, 0.17368461191654205, -0.32113996148109436, 0.9722371101379395, 0.20034286379814148, -1.0531015396118164, 0.3901161551475525, -0.47154539823532104, -0.079536572098732, 0.45340457558631897, 0.46195414662361145, -0.9355378150939941, -0.6095333099365234, -0.29294681549072266, -0.9245352149009705, 0.6296078562736511, 0.1473437398672104, 0.5139806866645813, -0.34476688504219055, 0.2571696937084198, 0.6849460601806641, 0.5953931212425232, -1.2113734483718872, -0.45593178272247314, -0.18100017309188843, 0.07709237933158875, 0.231292724609375, -0.47676700353622437, -0.19514086842536926, -0.24398577213287354, 0.651189386844635, -0.11200054734945297, 0.2968476116657257, -0.06767522543668747, -0.24262353777885437, -0.4345274865627289, 0.5088337063789368, 0.44681480526924133, 0.575939953327179, 0.07911137491464615, 0.19628393650054932, -0.10768385976552963, -0.4164235591888428, 0.01930852420628071, -0.23183204233646393, -0.44761207699775696, 0.11715114116668701, 0.28315913677215576, 0.8934358954429626, 0.10245494544506073, -0.8324285745620728, 0.6277403831481934, -0.1622273474931717, 0.055794376879930496, -0.1573965847492218, 0.1542113721370697, -0.08899077028036118, 0.15580712258815765, 0.4158746302127838, -0.022381680086255074, 0.47620561718940735, -0.5031673312187195, 0.22437931597232819, 0.49679267406463623, -0.703800618648529, -0.34949663281440735, 0.944400429725647, 0.28842949867248535, -0.3156203627586365, 0.30206501483917236, -0.15162484347820282, -0.7000907063484192, 0.1839413195848465, 0.5533100962638855, 1.0657124519348145, -0.20080871880054474, 0.533854603767395, 0.5196300745010376, 0.39162173867225647, 0.26444920897483826, 0.41843467950820923, 0.13724201917648315, -0.7704660296440125, -0.04510683938860893, -0.7087578177452087, 0.10476351529359818, 0.4249603748321533, -0.449503630399704, 0.2664787173271179, -0.6419900059700012, -0.5846880674362183, -0.015285884030163288, -0.26983991265296936, -0.4689186215400696, -0.03204406425356865, 0.7543339729309082, 0.6286415457725525, -1.253377079963684, 0.22266671061515808, 0.5437306761741638, 0.15764975547790527, -0.4169171452522278, 0.10394205152988434, 0.5646072626113892, -0.3302052617073059, 0.4248887598514557, 0.29894301295280457, -0.17042392492294312, -0.2217206060886383, -0.49015650153160095, -0.38233092427253723, 0.4802978038787842, 0.5457695722579956, -0.7039706110954285, 0.22541551291942596, 0.43839046359062195, 0.5842731595039368, -0.15422798693180084, 0.3862862288951874, 0.19534751772880554, 0.3818574845790863, -0.2095113843679428, -1.3113586902618408, 0.2771059572696686, -0.23455928266048431, -0.008159204386174679, 0.18356579542160034, -0.4726914167404175, 1.0179848670959473, 0.1470741629600525, -0.572058379650116, -0.21325869858264923, 0.3373391032218933, 0.13522139191627502, 0.27241766452789307, 0.9839429259300232, 0.2529357671737671, 0.8551362156867981, -0.042623408138751984, 0.5103439092636108, 0.3725436329841614, 0.1562391072511673, 1.0775245428085327, -0.25242161750793457, 0.5691667199134827, 0.23818114399909973, -0.10366564244031906, 0.5098050832748413, 0.47408798336982727, 0.12988732755184174, 0.27661722898483276, 0.39018699526786804, -0.46696192026138306, -0.35474371910095215, -0.6970071792602539, -0.3860057294368744, 0.35302868485450745, 0.6026157736778259, -0.6213970184326172, -0.14816302061080933, 0.21003155410289764, 0.2020931988954544, 0.5611821413040161, -0.39220917224884033, 0.5498040318489075, 0.027454080060124397, -0.45556601881980896, 0.5132518410682678, 0.026756292209029198, 0.9586419463157654, -0.445599228143692, 0.08783669769763947, -0.054295673966407776, -0.09179630875587463, -0.2782030701637268, -0.8814161419868469, 0.3984684944152832, -0.010435134172439575, -0.23672980070114136, -0.3439244329929352, 0.9056013226509094, -0.6253772974014282, -0.31850892305374146, 0.49864205718040466, 0.6195588111877441, 0.03462928533554077, -0.19582119584083557, -0.8349037766456604, 0.26948899030685425, 0.009455801919102669, 0.2697075605392456, 0.18817760050296783, -0.007906705141067505, -0.31076157093048096, 0.7191928029060364, 0.4241795539855957, 0.16299723088741302, 0.2826777398586273, 0.2170628160238266, 0.8289055228233337, -0.49684974551200867, -0.5008861422538757, -0.7051482796669006, 0.5046863555908203, 0.034123558551073074, -0.2849036753177643, 0.7160280346870422, 0.6216441988945007, 0.9221359491348267, 0.15934093296527863, 0.6859081387519836, -0.04308058321475983, 0.6451429724693298, -0.139778733253479, 1.0912747383117676, -0.6476380825042725, 0.4350068271160126, -0.5647510886192322, -0.696286141872406, -0.24171370267868042, 0.3018510043621063, -0.12771403789520264, 0.12233732640743256, 0.28069236874580383, 0.8813442587852478, 0.08029071241617203, 0.355258971452713, 0.39952120184898376, 0.32837405800819397, 0.46031057834625244, 0.08684104681015015, 1.0580543279647827, -0.38277527689933777, 0.23464304208755493, -0.0919032171368599, 0.013336658477783203, -0.06020693853497505, -0.821473240852356, -0.8780490756034851, -0.793064534664154, -0.4133530557155609, -0.5628010034561157, 0.14523223042488098, 1.1146899461746216, 0.6424163579940796, -0.7210474014282227, -0.19975951313972473, 0.4581565260887146, 0.33325913548469543, -0.024801619350910187, -0.3106188178062439, -0.09015069156885147, 0.1332755833864212, -0.8272049427032471, 0.13215188682079315, -0.11444130539894104, -0.4272349774837494, -0.45858532190322876, -0.019775236025452614, -0.3082910180091858, -0.07275214046239853, 0.617271900177002, 0.05783925950527191, -0.7962281107902527, -0.33483195304870605, -0.032530322670936584, -0.13064506649971008, -0.24862521886825562, 0.782719612121582, -0.5240532755851746, 0.6439123749732971, 0.6119591593742371, 0.2244804948568344, 0.09210195392370224, -0.01284454483538866, 0.5285884737968445, -0.9049903750419617, -0.1740478128194809, 0.551629900932312, 0.29385435581207275, 0.5036104917526245, -0.5604724884033203, 0.10671146214008331, 0.5165942311286926, -0.3980564773082733, -1.006710410118103, 0.10604691505432129, -0.4873271882534027, -0.3888861835002899, 1.3742011785507202, -0.013368516229093075, -0.11764825880527496, -0.4799165427684784, -0.3113422989845276, 0.1982925683259964, -0.44450485706329346, 0.8515514731407166, 0.4556114971637726, 0.18627895414829254, -0.1879037767648697, -0.7343347072601318, 0.5871922373771667, 0.2915782332420349, -0.4095812439918518, 0.4353939890861511, 0.8606802821159363, 0.3993869125843048, 0.05751343443989754, 0.4490172564983368, -0.17703749239444733, 0.19419707357883453, -0.28951090574264526, 0.05499428138136864, 0.110675148665905, -0.21171514689922333, -0.4666399359703064, 0.11919315159320831, -0.17909017205238342, 0.24204383790493011 ]
http://arxiv.org/abs/2405.14863v1
http://arxiv.org/pdf/2405.14863v1
A Nurse is Blue and Elephant is Rugby: Cross Domain Alignment in Large Language Models Reveal Human-like Patterns
2024-05-23T17:59:26
2024-05-23T17:59:26
Asaf Yehudai, Taelin Karidi, Gabriel Stanovsky, Ariel Goldstein, Omri Abend
cs.CL
cs.CL, cs.AI, cs.LG
Cross-domain alignment refers to the task of mapping a concept from one domain to another. For example, ``If a \textit{doctor} were a \textit{color}, what color would it be?''. This seemingly peculiar task is designed to investigate how people represent concrete and abstract concepts through their mappings between categories and their reasoning processes over those mappings. In this paper, we adapt this task from cognitive science to evaluate the conceptualization and reasoning abilities of large language models (LLMs) through a behavioral study. We examine several LLMs by prompting them with a cross-domain mapping task and analyzing their responses at both the population and individual levels. Additionally, we assess the models' ability to reason about their predictions by analyzing and categorizing their explanations for these mappings. The results reveal several similarities between humans' and models' mappings and explanations, suggesting that models represent concepts similarly to humans. This similarity is evident not only in the model representation but also in their behavior. Furthermore, the models mostly provide valid explanations and deploy reasoning paths that are similar to those of humans.
[ -0.314059317111969, -0.7430822253227234, 0.742854118347168, 0.19963526725769043, -0.05725483596324921, 0.12982192635536194, -0.376865029335022, -0.7095242142677307, -0.07914730906486511, 0.45105311274528503, -0.5468683838844299, -0.4532715976238251, -0.567690372467041, 0.05862812325358391, -0.26927492022514343, 0.75944584608078, -0.18689113855361938, 0.22999393939971924, -0.30009618401527405, -0.13409334421157837, -0.7998474836349487, -0.5392628908157349, -0.7168629765510559, -0.7784932851791382, 0.46269986033439636, -0.0576133206486702, 0.9704850316047668, 0.6719037890434265, 0.48911988735198975, 0.33373427391052246, 0.10917605459690094, 0.13495661318302155, -0.5234984159469604, -0.05521831288933754, -0.7710216641426086, -0.4852449595928192, -0.4810514748096466, 0.2553110718727112, 0.269566148519516, 1.0604780912399292, 0.04705853387713432, 0.017672188580036163, 0.04372801259160042, 0.33878234028816223, -0.2901967465877533, 0.18750238418579102, -0.5597334504127502, -0.07020967453718185, 0.01959731988608837, -0.2745814621448517, -0.37579163908958435, -0.15755023062229156, 0.4312310516834259, -0.8727341294288635, 0.11978944391012192, 0.4233149588108063, 1.1192268133163452, 0.03532722592353821, -0.7118876576423645, -0.2905438244342804, -0.8280163407325745, 0.9355095028877258, -0.5521573424339294, 0.48597121238708496, 0.41842854022979736, 0.1829499751329422, -0.2671957015991211, -0.30851510167121887, -0.8766584992408752, -0.19489911198616028, -0.3653179705142975, -0.026186194270849228, -0.17747685313224792, -0.03305482119321823, 0.1589851975440979, 0.04516831040382385, -0.7461614012718201, 0.12353290617465973, -0.2671041786670685, -0.1557495892047882, 0.9078614115715027, 0.3015782833099365, 0.8044803142547607, 0.19922499358654022, -0.35134464502334595, 0.06902111321687698, -0.5349894762039185, -0.03096097707748413, 0.06643327325582504, 0.34371867775917053, -0.19255180656909943, 0.7490803599357605, -0.09526637196540833, 0.9758106470108032, 0.11626896262168884, -0.2666226327419281, 0.0346238873898983, -0.33783257007598877, -0.2295197993516922, 0.12587286531925201, 0.46883338689804077, 0.6368324160575867, 0.8480368852615356, -0.27166223526000977, -0.10952148586511612, 0.45883798599243164, 0.4569290578365326, -0.21780550479888916, -0.1657603681087494, 0.18797245621681213, -0.7036080956459045, 0.10639774054288864, -0.2641848921775818, -0.22592587769031525, -0.35175028443336487, -0.8300938606262207, 0.3707561790943146, -0.4896981418132782, -0.4850787818431854, 0.47526654601097107, -0.057374559342861176, 0.3408969044685364, 0.38276517391204834, -1.0481168031692505, 0.3997889757156372, 1.1338218450546265, 0.5046479105949402, -0.472695529460907, -0.5152508616447449, 0.2278297245502472, 0.3027608096599579, -0.37519481778144836, 0.8571928143501282, -0.7915266752243042, -0.25866997241973877, -0.0822659283876419, 0.07336804270744324, -0.25341862440109253, -0.5312230587005615, 0.28781694173812866, -0.5129329562187195, -0.0458856038749218, -0.4536396563053131, -0.6493180394172668, -0.46863898634910583, 0.4636615514755249, -0.4761221706867218, 0.7771288156509399, -0.0025633573532104492, -0.593311071395874, 0.527315080165863, -0.6351943016052246, -0.34820759296417236, -0.05039243400096893, -0.42143696546554565, -0.05219157412648201, -0.05837943032383919, -0.09261512011289597, 0.5674323439598083, -0.5299347639083862, 0.24137546122074127, -0.4295693337917328, -0.14700905978679657, 0.6940026879310608, 0.22814758121967316, 0.9420440196990967, 0.022111674770712852, -0.18260999023914337, -0.04094894230365753, -0.4477955996990204, 0.14614814519882202, 0.40655189752578735, -0.18612729012966156, -0.8427994847297668, 0.095680370926857, -0.35165804624557495, 0.47832486033439636, -0.0013866907684132457, -0.456556111574173, 0.3791229724884033, -0.024472801014780998, 0.5042585730552673, 0.4054344594478607, -0.14480562508106232, 0.5331756472587585, -0.7657085657119751, 0.6080042719841003, 0.0012905874755233526, -0.009163053706288338, 0.21891431510448456, -0.6886605024337769, -0.555827260017395, -0.4087446331977844, 0.34445318579673767, 0.4611154794692993, -0.32941293716430664, 0.22231528162956238, -0.5392782688140869, -0.46624210476875305, -0.6197304725646973, -0.08800327777862549, 0.41268810629844666, 0.4941878616809845, 0.23200778663158417, -0.31776973605155945, -0.4774410128593445, -0.8287826776504517, -0.45722848176956177, -0.2393597513437271, 0.18335597217082977, 0.38410484790802, 0.7543808817863464, -0.3616493046283722, 0.9430269598960876, -0.33684831857681274, 0.06693796068429947, -0.037785377353429794, 0.1707996129989624, -0.09862163662910461, 0.49811163544654846, 0.4756971001625061, -0.6957541704177856, -0.1586400866508484, 0.2505689561367035, -0.873323380947113, -0.09903956949710846, -0.22336597740650177, -0.5343358516693115, 0.09512652456760406, 0.4534521698951721, -0.7261037826538086, 0.45355483889579773, 0.48523539304733276, -0.5401212573051453, 0.560066282749176, -0.05265143886208534, 0.13231463730335236, -0.5618560314178467, 0.09342470020055771, 0.24261854588985443, 0.04010794684290886, -0.6400982141494751, 0.08918493241071701, -0.2282816469669342, 0.04025944322347641, -0.1380123347043991, 0.7400678396224976, -0.6352702975273132, -0.3961034417152405, -0.12531936168670654, 0.29579252004623413, 0.143007293343544, 0.33218562602996826, 0.5428513288497925, 0.36739492416381836, 0.405342161655426, -0.7364729642868042, 0.22176890075206757, 0.2872501015663147, -0.3711185157299042, 0.7247165441513062, -0.5861658453941345, 0.12706203758716583, 0.012589532881975174, 0.28311124444007874, -1.1202237606048584, 0.019494039937853813, 0.047500964254140854, -0.43007534742355347, 0.08102649450302124, -0.07617221772670746, -0.3479604721069336, -0.17181597650051117, 0.18450604379177094, 0.8339595794677734, 0.3144446015357971, -0.2727646231651306, 0.7339354157447815, 0.48346570134162903, -0.1647297441959381, -0.41170743107795715, -0.7864882946014404, -0.12867696583271027, -0.2790907919406891, -0.8289595246315002, 0.475877583026886, 0.08940720558166504, -0.6174667477607727, 0.05162909999489784, -0.016702190041542053, -0.09874355792999268, 0.0766267478466034, 0.1856682002544403, 0.6483352184295654, -0.5923845767974854, 0.06583189964294434, -0.28577595949172974, 0.1544613093137741, 0.2593854069709778, -0.3051435947418213, 0.5161505341529846, 0.25959599018096924, -0.44935622811317444, -0.27352625131607056, 0.29731565713882446, 0.47932732105255127, -0.23562312126159668, 0.6447574496269226, 0.09924030303955078, -0.4657075107097626, -0.2704586088657379, -0.37158310413360596, -0.08918871730566025, -0.39892783761024475, 0.34200960397720337, -0.4791579842567444, -0.7451721429824829, 0.49150243401527405, -0.07704290747642517, 0.02386772446334362, 0.2792750597000122, 0.7103273868560791, -0.2709833085536957, 1.113090991973877, 0.5064602494239807, 0.21021360158920288, 0.007087562698870897, -0.14648646116256714, 0.5152643322944641, -0.9470809698104858, -0.5779244303703308, -0.5242079496383667, -0.5398548245429993, -0.5209316611289978, -0.6040189266204834, -0.08815420418977737, -0.08058609068393707, -0.47260722517967224, 0.268299400806427, -0.6386102437973022, 0.3654255270957947, 0.17907115817070007, -0.15227380394935608, 0.28089314699172974, -0.11286921799182892, -0.1904815286397934, -0.05051662027835846, -0.46745917201042175, -0.7013072371482849, 0.9938281774520874, 0.33000004291534424, 0.8568616509437561, 0.11552097648382187, 0.41246405243873596, 0.22554533183574677, 0.37409234046936035, -1.0141208171844482, 0.6640325784683228, -0.06026775389909744, -0.8460871577262878, -0.4073401689529419, -0.15113280713558197, -1.3103801012039185, 0.5328941941261292, -0.5125042796134949, -0.8725107312202454, 0.2760399281978607, 0.09045218676328659, -0.2881656587123871, 0.10511693358421326, -0.48631954193115234, 0.8320809006690979, -0.5839132070541382, 0.08275720477104187, -0.2793852984905243, -0.38611018657684326, 0.6302326917648315, -0.13835731148719788, 0.21270297467708588, -0.10908057540655136, -0.15024921298027039, 0.6666065454483032, -0.15856188535690308, 0.8212075233459473, 0.1892857551574707, -0.4327501058578491, 0.1419834941625595, 0.3268950879573822, 0.10048358887434006, -0.5180705189704895, -0.09548579901456833, 0.34172558784484863, 0.039457354694604874, -0.5178778171539307, -0.7961203455924988, 0.4365004897117615, -0.8375785946846008, -0.7456138134002686, -0.5065363049507141, -0.7256165742874146, -0.3450591564178467, 0.018678931519389153, -0.10692800581455231, 0.05787014588713646, -0.2915741205215454, -0.37329012155532837, 0.6022107005119324, -0.267354816198349, -0.10953614860773087, 0.7422061562538147, -0.40926867723464966, 0.2365625500679016, 0.8074214458465576, -0.007380386348813772, 0.4331834018230438, 0.4296474754810333, 0.09933649748563766, -0.34176722168922424, -0.6204286813735962, -0.23075369000434875, 0.666187584400177, -0.6723188757896423, 0.13457538187503815, -0.537691056728363, -0.1417127102613449, -0.327786922454834, -0.24803191423416138, 0.05896127223968506, -0.3174291253089905, -0.08658671379089355, 0.01986023411154747, 0.14513441920280457, 0.8539133071899414, 0.33402585983276367, 0.11190871894359589, -0.5661719441413879, 0.3490259647369385, 0.4657166004180908, -0.05467906966805458, 0.3044095039367676, -0.5651193857192993, 0.010541122406721115, 0.13279308378696442, -0.2914694845676422, -0.7753036618232727, 0.17997422814369202, -0.024184733629226685, 0.6947586536407471, 0.4578746259212494, -0.16425465047359467, 0.8077003955841064, -0.5935508608818054, 0.6884027719497681, 0.20638562738895416, -1.0158244371414185, 0.27575260400772095, -0.3319203853607178, -0.01269551832228899, 0.08346644788980484, 0.6911588907241821, -0.6863216161727905, -0.3483413755893707, -0.3715765178203583, -0.4652073383331299, 0.5867146849632263, 0.023853376507759094, -0.0011350312270224094, -0.07128206640481949, 0.4224952757358551, 0.007677428890019655, -0.1419634371995926, -0.45900681614875793, -0.08732949942350388, -0.138349711894989, -0.22381681203842163, -0.01504801120609045, 0.11912600696086884, -0.3941546082496643, -0.28493213653564453, 0.5595701336860657, -0.17992548644542694, 0.4297162592411041, -0.012906341813504696, -0.19480431079864502, -0.2308352291584015, 0.1600591540336609, 0.7539676427841187, 0.871469259262085, 0.15806423127651215, 0.14146439731121063, 0.05476432666182518, -0.15764255821704865, 0.26088249683380127, -0.09096673130989075, 0.13791659474372864, -0.21187736093997955, 0.7978873252868652, 0.6105493307113647, 0.17371907830238342, -0.7142684459686279, 0.431864470243454, -0.0682016909122467, -0.08865179121494293, 0.002349184127524495, 0.1437983214855194, 0.5097259283065796, 0.3637206554412842, 0.016479168087244034, -0.16897077858448029, 0.06312978267669678, -1.0507291555404663, -0.15977005660533905, 0.7121412754058838, -0.014572967775166035, -0.5439003109931946, 0.4552474319934845, 0.1820322424173355, -0.4612961709499359, 0.7519667744636536, 0.002907045651227236, -0.6947874426841736, 0.7538845539093018, 0.7938447594642639, 0.5921061635017395, -0.14672508835792542, 0.143238365650177, 0.11607880145311356, 0.26649290323257446, -0.14126582443714142, 0.3796474039554596, 0.1857706904411316, -1.2866333723068237, -0.6293186545372009, -0.47796881198883057, -0.25728026032447815, 0.09332337230443954, -0.7568107843399048, 0.13479387760162354, -0.21548040211200714, -0.3142874538898468, 0.5842552781105042, -0.18670569360256195, -0.8538722395896912, 0.5635592937469482, 0.35869327187538147, 0.8217365741729736, -1.0481505393981934, 0.8805860877037048, 1.1899311542510986, -0.335197776556015, -1.0050508975982666, 0.11056066304445267, 0.05432293191552162, -1.3077903985977173, 1.132435917854309, -0.14951401948928833, -0.13351328670978546, -0.44795048236846924, -0.3496270179748535, -0.8763773441314697, 0.9908662438392639, 0.3420480489730835, -0.5592644810676575, -0.17460069060325623, 0.34069082140922546, 0.734869122505188, -0.8017861843109131, 0.19887559115886688, 0.9397689700126648, 0.5574437379837036, -0.2029111087322235, -1.2162646055221558, 0.34892451763153076, -0.1068631261587143, 0.2006986439228058, 0.071418896317482, -0.6061577796936035, 0.9556220173835754, -0.3183841109275818, -0.11085209995508194, -0.065531425178051, 0.6067277193069458, 0.5706202387809753, 0.29554277658462524, 0.7387985587120056, 0.42183855175971985, 0.8943371772766113, -0.025273796170949936, 1.1272584199905396, -0.19757385551929474, 0.22210562229156494, 1.0076639652252197, -0.6596811413764954, 0.5394175052642822, 0.4559718072414398, -0.20852351188659668, 0.8275446891784668, 0.49598827958106995, 0.10134696215391159, 0.36370351910591125, 0.5216189026832581, 0.08283012360334396, -0.5575709342956543, -0.18530681729316711, -0.10084233433008194, 0.6506276726722717, 0.4907599091529846, -0.32338234782218933, 0.07381701469421387, -0.20636826753616333, -0.026150064542889595, 0.12331977486610413, -0.4227618873119354, 0.7081881761550903, 0.277127742767334, -0.980487585067749, 0.7433812022209167, -0.09912177175283432, 0.39391961693763733, -0.3677731454372406, -0.15280131995677948, 0.1388547569513321, 0.16078096628189087, -0.26867568492889404, -0.9758971929550171, 0.21135738492012024, -0.21618333458900452, -0.3090156316757202, -0.17914584279060364, 0.4975056052207947, -0.4960050582885742, -0.1558445692062378, 0.553205668926239, 0.46003249287605286, 0.34090152382850647, 0.35886985063552856, -0.9904648065567017, 0.17163494229316711, -0.0639941617846489, -0.007976778782904148, 0.44034069776535034, 0.7185498476028442, -0.6557055711746216, 0.8222556114196777, 0.4949108958244324, 0.3356025516986847, 0.014990972355008125, 0.03370172157883644, 0.5496221780776978, -0.7785847187042236, -0.2850116789340973, -0.8291758894920349, 0.31039896607398987, 0.06290076673030853, -0.4100510776042938, 0.5302232503890991, 0.36223864555358887, 1.0253913402557373, -0.09726332128047943, 0.7920441627502441, 0.20063315331935883, 0.4045526087284088, -0.5717268586158752, 0.4012316167354584, -0.6055741310119629, 0.11061862111091614, -0.21691332757472992, -0.7370182275772095, -0.02591228298842907, 0.8576995134353638, -0.5915108323097229, 0.12543155252933502, 0.9177883267402649, 0.7070003747940063, -0.37943539023399353, 0.19688571989536285, 0.3078469932079315, 0.19678981602191925, 0.020464187487959862, 0.4804302752017975, 1.2081084251403809, 0.11629526317119598, 0.2477959394454956, 0.050185538828372955, -0.13910061120986938, -0.1906876564025879, -0.809229850769043, -1.0436371564865112, -0.45768794417381287, -0.5903893709182739, -0.45208027958869934, 0.043476004153490067, 0.9186816215515137, 0.8958736658096313, -0.8553740382194519, -0.42165204882621765, 0.3489953279495239, 0.050880447030067444, -0.4555127024650574, -0.21478836238384247, 0.35974791646003723, -0.03215321898460388, -0.6392955780029297, 0.051295846700668335, 0.12885117530822754, -0.017906464636325836, -0.29861459136009216, -0.20799508690834045, -0.3334571421146393, 0.553885281085968, 0.6097674369812012, 0.28098636865615845, -1.128497838973999, -0.3944200873374939, -0.05343466252088547, -0.34811654686927795, 0.026194166392087936, 1.1348884105682373, -0.6057912111282349, 0.2353615164756775, 0.33280032873153687, 0.7155373096466064, 0.28858882188796997, 0.06887385249137878, 0.7225809097290039, -0.28022685647010803, -0.09663078188896179, 0.3379667103290558, 0.5901429653167725, 0.4289402663707733, -0.30171817541122437, 0.5694494843482971, 0.08107685297727585, -0.6475732922554016, -0.7489334344863892, 0.2851225733757019, -1.2023122310638428, -0.4546729028224945, 1.1156268119812012, -0.31130486726760864, -0.2729972004890442, -0.3307671546936035, -0.30624067783355713, 0.33056214451789856, -0.2411540150642395, 0.881329357624054, 0.9183939099311829, -0.4458594024181366, 0.16187693178653717, -0.587825357913971, 0.37203389406204224, 0.6348075270652771, -0.7580165863037109, -0.024951312690973282, 0.14514406025409698, 0.5976768136024475, 0.2608111798763275, 0.685383677482605, 0.011610033921897411, 0.28767988085746765, -0.4024078845977783, 0.18430688977241516, 0.31459468603134155, 0.09183792769908905, -0.18367400765419006, -0.33956238627433777, 0.018598129972815514, -0.13384994864463806 ]
http://arxiv.org/abs/2405.14862v1
http://arxiv.org/pdf/2405.14862v1
Bitune: Bidirectional Instruction-Tuning
2024-05-23T17:59:22
2024-05-23T17:59:22
Dawid J. Kopiczko, Tijmen Blankevoort, Yuki M. Asano
cs.CL
cs.CL
We introduce Bitune, a method that improves instruction-tuning of pretrained decoder-only large language models, leading to consistent gains on downstream tasks. Bitune applies both causal and bidirectional attention to the prompt, to obtain a better representation of the query or instruction. We realize this by introducing two sets of parameters, for which we apply parameter-efficient finetuning techniques. These causal and bidirectional features are then combined into a weighted average with trainable coefficients, which is subsequently used to generate new tokens. We demonstrate significant improvements in zero-shot performance on commonsense reasoning, arithmetic, and language understanding tasks, while extensive ablation studies validate the role of each component and demonstrate the method's agnosticism to different PEFT techniques.
[ -0.23832635581493378, -0.8961560726165771, 0.3711537718772888, 0.32117998600006104, -0.42311331629753113, -0.3506268262863159, -0.4056567847728729, -0.1608884036540985, 0.13132122159004211, 0.5848841667175293, -0.5801587700843811, -0.22737888991832733, -0.4666423797607422, 0.03847283497452736, -0.26075485348701477, 1.0119621753692627, 0.2893473207950592, -0.016757499426603317, 0.0025327191688120365, -0.04450777545571327, -0.8038825988769531, -0.16675424575805664, -0.9278731346130371, -0.21429193019866943, 0.734335720539093, 0.8541087508201599, 0.7548378109931946, 0.7522139549255371, 0.5041012167930603, 0.24499593675136566, 0.12908144295215607, 0.018351741135120392, -0.6477221250534058, 0.06314241141080856, -0.46526509523391724, -0.7036962509155273, -0.41468191146850586, 0.0706763043999672, 0.6593142151832581, 0.9558968544006348, -0.1194995865225792, 0.06446269154548645, -0.07506314665079117, 0.7966855764389038, -0.7784208655357361, -0.14755992591381073, -0.5116103887557983, -0.215189129114151, -0.22584933042526245, -0.5550225973129272, -0.44430965185165405, -0.4072147011756897, -0.0165465846657753, -0.6591010689735413, 0.47873684763908386, 0.13939136266708374, 0.7945757508277893, 0.4931252896785736, -0.42496493458747864, 0.07179848104715347, -0.6287295818328857, 1.071507453918457, -0.5765002369880676, 0.5526062250137329, 0.4854878783226013, 0.07585648447275162, -0.007213180419057608, -0.45686545968055725, -0.26451408863067627, -0.0007848201203159988, -0.10722676664590836, 0.10491827130317688, -0.0390339121222496, 0.5408959984779358, 0.3847922086715698, 0.44648608565330505, -0.5397061705589294, 0.2381332367658615, -0.4632003605365753, -0.14548462629318237, 0.743278980255127, -0.07488928735256195, 0.048678793013095856, 0.0014638202264904976, -0.2380927950143814, -0.2305300086736679, -1.0438330173492432, -0.18644405901432037, 0.44844576716423035, 0.21163420379161835, -0.035462718456983566, 0.4285370707511902, -0.29883816838264465, 1.0884648561477661, 0.45555374026298523, 0.09198727458715439, 0.01807989738881588, -0.186112180352211, -0.4096702039241791, 0.6898372769355774, 0.577046275138855, 0.359281450510025, 0.11204086989164352, -0.2736070454120636, -0.039120547473430634, -0.061228469014167786, 0.27739405632019043, -1.126604437828064, -0.5332038998603821, 0.27005916833877563, -0.28552117943763733, -0.5098487138748169, -0.23175787925720215, -0.44747182726860046, -0.1167626827955246, -0.6547768712043762, 0.6253733038902283, -0.6017630696296692, -0.19148196280002594, 0.17698326706886292, -0.2414834350347519, 0.4353879392147064, 0.4508882164955139, -1.023786187171936, -0.07715599238872528, 0.9774543046951294, 0.6605919003486633, 0.1677292138338089, -0.43043598532676697, -1.1099900007247925, 0.12214791029691696, -0.6344172358512878, 0.817470908164978, -0.7569449543952942, -0.07748078554868698, -0.29682278633117676, 0.06348638981580734, -0.20751020312309265, -0.43655550479888916, 0.27588826417922974, -0.6388201117515564, 0.19999951124191284, -0.45374441146850586, -0.473262220621109, -0.39927205443382263, 0.21419772505760193, -0.4679466784000397, 0.8552525639533997, 0.19531789422035217, -0.7437311410903931, 0.28185155987739563, -0.7373139262199402, -0.8113685250282288, 0.13905753195285797, -0.05512530729174614, -0.11626770347356796, 0.58427894115448, 0.10405829548835754, 0.4043765962123871, -0.3938668370246887, 0.4108085334300995, -0.07341911643743515, -0.6804736256599426, 0.019380493089556694, -0.7540225982666016, 0.8545189499855042, 0.09667941182851791, -0.44629567861557007, 0.32000505924224854, -0.6691237092018127, -0.049581944942474365, -0.07861042767763138, -0.10936003923416138, -0.5760758519172668, 0.009939052164554596, -0.26734694838523865, -0.06346788257360458, 0.27879828214645386, -0.5636276602745056, 0.30078452825546265, -0.7996718287467957, 0.3877941370010376, 0.7463173270225525, 0.09577454626560211, 0.42344799637794495, -0.24227973818778992, 0.3277536928653717, 0.21700391173362732, 0.09251325577497482, -0.427746057510376, -0.1791699379682541, -0.981375515460968, -0.08980152755975723, 0.5859593749046326, 0.5607037544250488, -1.0428097248077393, 0.3447154760360718, -0.12323901802301407, -0.2076610028743744, -0.7436383962631226, 0.14252594113349915, 0.46099603176116943, 0.524312436580658, 0.2696869671344757, -0.20122872292995453, -0.27648627758026123, -0.8400833606719971, -0.1277652084827423, 0.005773742217570543, -0.07501108944416046, 0.2541009783744812, 0.04944548010826111, 0.11535052210092545, 0.40245863795280457, -0.5017569065093994, 0.2733263671398163, -0.14854080975055695, 0.5342631340026855, 0.2937350571155548, 0.5632646083831787, 0.3317528963088989, -0.7172319889068604, -0.46776193380355835, 0.003341593546792865, -0.4065926969051361, -0.17799659073352814, -0.3634694814682007, -0.5266873836517334, 0.17857274413108826, 0.6698969006538391, -0.27647915482521057, 0.14947590231895447, 0.3994225859642029, -0.5784284472465515, 0.5414605736732483, -0.27655908465385437, 0.40696319937705994, -1.0190443992614746, 0.024166980758309364, -0.12552373111248016, -0.3892275393009186, -0.5695651173591614, 0.19635190069675446, 0.2957090437412262, -0.10090716183185577, -0.51325523853302, 0.19283930957317352, -0.4254932403564453, 0.10250118374824524, -0.4940773546695709, 0.07699575275182724, 0.0397302508354187, 0.5190278887748718, 0.21687544882297516, 1.0562574863433838, 0.7004324793815613, -0.7033830285072327, 0.6207355260848999, -0.053553685545921326, -0.06341928243637085, 0.8760755062103271, -1.0231702327728271, 0.22839327156543732, -0.2698709964752197, -0.48414862155914307, -0.899761438369751, -0.10367711633443832, 0.13552872836589813, -0.2669445872306824, 0.8024314045906067, -0.28455737233161926, -0.37442097067832947, -0.10427793860435486, -0.4951315224170685, 0.40077120065689087, 0.36341217160224915, -0.4716207981109619, 0.2478751689195633, -0.18789179623126984, -0.26043233275413513, -0.3632230758666992, -0.3372075855731964, -0.13762037456035614, -0.10868161916732788, -0.35328927636146545, 0.34787923097610474, 0.03906577080488205, 0.06170591711997986, -0.14427511394023895, 0.03163669630885124, 0.15457171201705933, 0.19016598165035248, 0.065311498939991, 0.38278016448020935, -0.5435247421264648, 0.30510929226875305, 0.5091434717178345, -0.39477968215942383, -0.10147945582866669, -0.43462109565734863, 0.5126054883003235, -0.06662498414516449, -0.2304079383611679, -0.31584668159484863, 0.300108402967453, 0.4194192588329315, -0.4587666094303131, 0.6981991529464722, 0.6808992028236389, 0.057489946484565735, 0.14869146049022675, -0.6008120775222778, -0.45478352904319763, -0.5156348347663879, 0.26800549030303955, -0.2091335952281952, -0.8907636404037476, -0.1709652990102768, -0.23947757482528687, 0.3500487804412842, 0.20902979373931885, 0.32627880573272705, -0.18247653543949127, 1.0290342569351196, 0.8726510405540466, -0.17436957359313965, 0.7287694215774536, -0.31412273645401, 0.2430906742811203, -0.9815059304237366, 0.20992107689380646, -0.5288962721824646, -0.6335321068763733, -0.6614829897880554, -0.3705902695655823, 0.360449880361557, 0.4530390799045563, -0.5253433585166931, 0.42699339985847473, -0.6039511561393738, 0.6785057783126831, 0.9608162045478821, 0.17992690205574036, 0.022065741941332817, -0.06713979691267014, 0.21504215896129608, 0.1400359570980072, -0.9283550977706909, -0.16314435005187988, 1.112630009651184, -0.09552152454853058, 0.7405323386192322, 0.03405189514160156, 0.7788509130477905, 0.057442259043455124, 0.18245410919189453, -0.8513227105140686, 0.5117936134338379, -0.1807066947221756, -0.668515682220459, -0.46397972106933594, -0.616887092590332, -0.9742307662963867, 0.15222322940826416, -0.12941864132881165, -0.7387266755104065, 0.26832398772239685, 0.4330720007419586, -0.6150871515274048, -0.04649493470788002, -0.8604044914245605, 1.2162147760391235, -0.41749805212020874, -0.8620907068252563, -0.5003137588500977, -0.6473322510719299, 0.12881255149841309, 0.2550845742225647, -0.3102206885814667, -0.07249350845813751, 0.030907772481441498, 0.811943531036377, -0.18939614295959473, 0.80963134765625, -0.24158741533756256, 0.062182795256376266, 0.09498006105422974, 0.25232240557670593, 0.4149816930294037, -0.07144565880298615, -0.09668631106615067, 0.11252908408641815, 0.21779094636440277, -0.6665059328079224, -0.565027117729187, 0.8061962723731995, -0.782203733921051, -0.6890937685966492, -0.22788004577159882, -0.6165385842323303, -0.16204524040222168, 0.40222641825675964, 0.25436273217201233, 0.7417044639587402, -0.006290148012340069, 0.30632463097572327, 1.052504539489746, -0.21299973130226135, 0.4541977643966675, 0.7023456692695618, 0.10468543320894241, -0.2756497263908386, 1.2201473712921143, -0.12988515198230743, 0.2658337354660034, 0.728937566280365, 0.24376800656318665, -0.14115680754184723, -0.3441230058670044, -0.6861899495124817, 0.5029165148735046, -0.237955242395401, -0.4306630492210388, -0.2628926932811737, 0.005965708289295435, -0.27028781175613403, -0.36068278551101685, -0.4568230211734772, -0.4967968165874481, -0.3715783655643463, 0.0855255052447319, 0.40403619408607483, 0.2947036623954773, 0.009757076390087605, 0.5473060011863708, -0.9128563404083252, 0.2823559641838074, 0.3858541250228882, 0.38518014550209045, -0.1175198033452034, -0.620769202709198, -0.28973835706710815, 0.20699888467788696, -0.48394352197647095, -0.9344561696052551, 0.036332715302705765, 0.3595118522644043, 0.24372339248657227, 0.818959653377533, 0.190109521150589, 0.7403591275215149, -0.5238144397735596, 0.6151722073554993, 0.2913901209831238, -0.8833602070808411, 0.9503645896911621, -0.19689008593559265, 0.3694915175437927, 0.6738913655281067, 0.5756312012672424, -0.5066089034080505, -0.12998853623867035, -0.5578522086143494, -0.5692473649978638, 1.118987798690796, 0.0633234903216362, 0.16908706724643707, -0.028807589784264565, 0.287309855222702, -0.0250362828373909, 0.40424472093582153, -0.12328406423330307, -0.19759687781333923, -0.17037354409694672, -0.4046086072921753, -0.2921375632286072, -0.47298896312713623, -0.08542182296514511, -0.4556407332420349, 0.9083387851715088, -0.20652438700199127, 0.29084911942481995, 0.039416614919900894, -0.18271329998970032, -0.31766584515571594, 0.33297762274742126, 0.5061975121498108, 0.6718790531158447, -0.12731346487998962, 0.18339961767196655, -0.08911547809839249, -0.4304196536540985, 0.055158380419015884, 0.4002022445201874, -0.4438837468624115, -0.1905149668455124, 0.354430615901947, 1.0752061605453491, 0.5738710761070251, -0.48489299416542053, 0.539203941822052, 0.06092551723122597, -0.13270631432533264, 0.31332889199256897, 0.39426618814468384, -0.035645678639411926, 0.23360002040863037, -0.19619643688201904, -0.14184291660785675, 0.36555227637290955, -0.5726732611656189, -0.10808312147855759, 0.27878352999687195, -0.49894043803215027, -0.4203836917877197, 0.5451200604438782, 0.5014150738716125, -0.24931785464286804, 1.0097260475158691, -0.267179012298584, -0.4322122037410736, 0.41145333647727966, 0.7621921300888062, 0.9139413237571716, -0.4032963514328003, 0.3111266791820526, 0.2962237000465393, 0.4210764169692993, 0.21202069520950317, 0.43525391817092896, -0.618864119052887, -0.6388970017433167, -0.7085211873054504, -0.7587373852729797, -0.3062325417995453, -0.03585426136851311, -0.7673851251602173, 0.2649424374103546, -0.2637167274951935, 0.16711480915546417, 0.27615460753440857, 0.08269151300191879, -0.49471962451934814, -0.028350744396448135, 0.04847637936472893, 0.855713427066803, -0.9045354723930359, 0.837685227394104, 1.0795918703079224, -0.2744074761867523, -0.8823989033699036, -0.028037941083312035, -0.37289655208587646, -0.6579411625862122, 0.34800511598587036, 0.10433267056941986, 0.058980826288461685, 0.318914532661438, -0.4712274968624115, -0.6914159655570984, 0.8400337100028992, 0.4162020683288574, -1.0406333208084106, -0.049152933061122894, -0.07304351031780243, 0.12055942416191101, 0.22750593721866608, 0.34419548511505127, 0.943264901638031, 0.2512790858745575, 0.37857335805892944, -0.8099303841590881, -0.07479386776685715, -0.12357459962368011, 0.08020715415477753, 0.8444629907608032, -0.7099420428276062, 0.6287044286727905, -0.25705182552337646, 0.014737571589648724, -0.39133912324905396, 0.6752755045890808, 0.018717529252171516, 0.4055713713169098, 0.37895092368125916, 0.5418270230293274, 0.7192463278770447, -0.19062171876430511, 0.8800800442695618, -0.6717391014099121, 0.15908998250961304, 1.1440273523330688, -0.0577177070081234, 0.6707727313041687, 0.5032578110694885, -0.18492358922958374, 0.2525988221168518, 0.4760904610157013, 0.341505765914917, 0.6927067041397095, -0.33344247937202454, -0.276200532913208, -0.47410905361175537, 0.07203291356563568, -0.1806880384683609, 0.36047670245170593, 0.38570407032966614, -0.17658153176307678, -0.2949345111846924, 0.21757638454437256, 0.1121571958065033, -0.23627333343029022, -0.6498587727546692, 0.9851536154747009, 0.03633761778473854, -0.8584861755371094, 0.8622380495071411, 0.1999630182981491, 0.566016674041748, -0.5676174163818359, -0.31583911180496216, -0.30102676153182983, 0.1406874805688858, -0.08634233474731445, -0.5333865880966187, 0.29037055373191833, -0.05591513589024544, -0.10011430084705353, -0.04214940592646599, 0.7908005714416504, -0.6040937900543213, -0.567970335483551, -0.26616159081459045, -0.025800874456763268, 0.24626867473125458, -0.35602492094039917, -0.6516386866569519, 0.06624125689268112, 0.1581207662820816, -0.06696121394634247, 0.0877736434340477, 0.6724621653556824, 0.06527777016162872, 0.17925381660461426, 0.45377853512763977, 0.14438892900943756, -0.037806250154972076, 0.1830202043056488, 0.8217504620552063, -0.8158937692642212, -0.5138955116271973, -0.7950186133384705, 0.2365482896566391, -0.11130508035421371, -0.21309730410575867, 0.7425152659416199, 0.5849785804748535, 0.8630200028419495, 0.13674776256084442, 0.4069760739803314, -0.06797152757644653, 0.2873709797859192, -0.6391461491584778, 0.4413456916809082, -0.5178620219230652, 0.10142355412244797, -0.08372438699007034, -0.9586413502693176, -0.11314921081066132, 0.6281102895736694, -0.7694677114486694, -0.013253720477223396, 0.5997441411018372, 0.9030320048332214, -0.40990760922431946, 0.19882875680923462, 0.5264329314231873, 0.19682559370994568, -0.016015222296118736, 0.722891628742218, 0.603091835975647, -0.44058674573898315, 0.13960161805152893, -0.5490971803665161, -0.4720127582550049, -0.5662040114402771, -0.7880697846412659, -0.9396821856498718, -0.2505359649658203, -0.48771238327026367, 0.07146986573934555, 0.31871575117111206, 0.9122880101203918, 0.8852684497833252, -0.8759663701057434, -0.10816700011491776, -0.2807468771934509, 0.24187497794628143, -0.3774544298648834, -0.25076279044151306, 0.3611656427383423, -0.6490942239761353, -0.5724198818206787, 0.2521641254425049, 0.6036578416824341, -0.23483490943908691, -0.036009110510349274, 0.0415341779589653, -0.049218982458114624, 0.2908686697483063, 0.9048996567726135, 0.1298801600933075, -0.2876931428909302, -0.1797628104686737, -0.08326765894889832, 0.1706211268901825, -0.025251159444451332, 0.9203758239746094, -0.6368846893310547, 0.5145202279090881, 0.3989533483982086, 0.46789199113845825, 0.5227003693580627, 0.18071869015693665, 0.4795065224170685, -0.8038547039031982, 0.4543589949607849, 0.28820866346359253, 0.0794941857457161, 0.2800540328025818, -0.5199652314186096, 0.17062748968601227, 0.17225559055805206, -0.543499767780304, -0.6123244166374207, 0.16331550478935242, -0.7600609064102173, -0.2785828709602356, 0.8572186231613159, 0.04361860826611519, -0.48081842064857483, 0.19030900299549103, -0.30714651942253113, 0.19839195907115936, -0.25850820541381836, 0.5429437160491943, 0.34876278042793274, -0.13678331673145294, -0.3173539936542511, -0.361568421125412, 0.19488270580768585, 0.5505171418190002, -0.6039741039276123, 0.1793026477098465, 0.7473194003105164, 0.29385504126548767, -0.1417696624994278, 0.4897170066833496, -0.0010570642771199346, 0.7598602771759033, 0.04735099896788597, -0.03838469460606575, -0.18559929728507996, -0.8293291330337524, -0.37042754888534546, -0.20166189968585968, 0.39453190565109253, -0.4490562081336975 ]
http://arxiv.org/abs/2405.14839v1
http://arxiv.org/pdf/2405.14839v1
A Textbook Remedy for Domain Shifts: Knowledge Priors for Medical Image Analysis
2024-05-23T17:55:02
2024-05-23T17:55:02
Yue Yang, Mona Gandhi, Yufei Wang, Yifan Wu, Michael S. Yao, Chris Callison-Burch, James C. Gee, Mark Yatskar
cs.CV
cs.CV, cs.CL
While deep networks have achieved broad success in analyzing natural images, when applied to medical scans, they often fail in unexcepted situations. We investigate this challenge and focus on model sensitivity to domain shifts, such as data sampled from different hospitals or data confounded by demographic variables such as sex, race, etc, in the context of chest X-rays and skin lesion images. A key finding we show empirically is that existing visual backbones lack an appropriate prior from the architecture for reliable generalization in these settings. Taking inspiration from medical training, we propose giving deep networks a prior grounded in explicit medical knowledge communicated in natural language. To this end, we introduce Knowledge-enhanced Bottlenecks (KnoBo), a class of concept bottleneck models that incorporates knowledge priors that constrain it to reason with clinically relevant factors found in medical textbooks or PubMed. KnoBo uses retrieval-augmented language models to design an appropriate concept space paired with an automatic training procedure for recognizing the concept. We evaluate different resources of knowledge and recognition architectures on a broad range of domain shifts across 20 datasets. In our comprehensive evaluation with two imaging modalities, KnoBo outperforms fine-tuned models on confounded datasets by 32.4% on average. Finally, evaluations reveal that PubMed is a promising resource for making medical models less sensitive to domain shift, outperforming other resources on both diversity of information and final prediction performance.
[ -0.35776177048683167, -0.3777313232421875, 0.48188674449920654, -0.32053840160369873, -0.223997563123703, -0.20976632833480835, -0.057251278311014175, -0.5158290863037109, -0.4377160370349884, 0.8190358281135559, -0.5859194397926331, -0.2955661714076996, -0.8496756553649902, -0.0365779735147953, 0.014371092431247234, 0.7912515997886658, 0.00424876157194376, 0.15729357302188873, -0.507613480091095, -0.21945911645889282, -0.6045909523963928, -0.2289690226316452, -0.6089138984680176, -0.5838770866394043, 0.12924017012119293, 0.0077032241970300674, 0.930739164352417, 0.4312180280685425, 1.0317206382751465, 0.226182222366333, 0.22699277102947235, 0.4708324074745178, -0.27525192499160767, 0.0724104717373848, -0.34898751974105835, -0.5538386702537537, -0.32837504148483276, -0.3783317506313324, 0.32690104842185974, 1.0221493244171143, 0.12309233844280243, -0.19163012504577637, -0.4704979360103607, 1.068647861480713, -0.5999150276184082, 0.026835693046450615, -0.8924769759178162, 0.14496806263923645, -0.15048615634441376, -0.20472441613674164, -0.07533276081085205, -0.11845844984054565, 0.5823626518249512, -0.9543979167938232, 0.6137359142303467, -0.15241916477680206, 1.103440284729004, 0.8070070743560791, -0.4293036460876465, -0.2840591371059418, -0.5298991203308105, 0.4407898783683777, -0.518435001373291, 0.568880021572113, 0.3152112662792206, 0.3580661416053772, -0.09152239561080933, -0.9405560493469238, -0.3060387670993805, -0.020565807819366455, 0.006378443446010351, -0.054319582879543304, -0.3259701132774353, -0.13323962688446045, 0.3100796639919281, 0.36435842514038086, -0.4383653402328491, 0.13229022920131683, -0.74407559633255, -0.1395166516304016, 0.5740622282028198, 0.28893405199050903, 0.32558679580688477, 0.3988089859485626, -0.36615410447120667, -0.14599722623825073, -1.0226924419403076, -0.0994805172085762, -0.265575110912323, 0.043414972722530365, -0.05939873680472374, 0.28063493967056274, 0.041273098438978195, 0.891210675239563, 0.3995108902454376, 0.07527267187833786, 0.40453040599823, -0.05365529656410217, -0.46618178486824036, -0.2762395441532135, 0.4239374101161957, 0.5815975069999695, 0.47401729226112366, 0.005736281163990498, 0.09788650274276733, 0.1374419629573822, 0.7660595178604126, -0.7949612140655518, -0.7201611995697021, 0.09876305609941483, -0.4475380480289459, -0.21902528405189514, -0.24996277689933777, -0.3604464530944824, -0.7997926473617554, -0.5205908417701721, -0.04538876563310623, -0.46497416496276855, -0.34143462777137756, 0.4435219466686249, -0.15237656235694885, 0.0006642477819696069, 0.287086546421051, -0.4363643527030945, 0.28411757946014404, 0.45264577865600586, 0.7653296589851379, -0.3088594675064087, 0.21261774003505707, 0.1754361391067505, 0.020018117502331734, -0.552056610584259, 0.721557080745697, -0.5955361723899841, -0.5848057270050049, 0.017047684639692307, 0.17253965139389038, -0.2815883159637451, -0.9653822183609009, 0.4481222927570343, -0.6149401068687439, -0.10563910007476807, -0.23223435878753662, -0.6667296290397644, 0.14625270664691925, -0.09212604910135269, -0.6590257883071899, 0.4941945970058441, 0.10305418074131012, -0.6009770631790161, 0.5550355911254883, -0.6034059524536133, -0.7248725295066833, -0.12215493619441986, -0.3035764694213867, -0.7557182312011719, 0.3280504643917084, 0.5483397245407104, 0.5079240798950195, -0.1538936346769333, 0.333137184381485, -0.14597076177597046, 0.1147046685218811, 0.47443705797195435, -0.02801286056637764, 0.7050246596336365, 0.3292005956172943, -0.07232702523469925, -0.28882455825805664, -0.575458824634552, 0.04555147886276245, 0.2023904174566269, 0.1407410353422165, -0.756801426410675, -0.06694189459085464, -0.32222625613212585, 0.23039039969444275, -0.16754183173179626, -0.14999885857105255, 0.45276638865470886, -0.417827844619751, 0.3089725971221924, 0.4308701753616333, 0.1440306156873703, 0.4718751311302185, -0.3518482446670532, 0.3603154420852661, 0.34293851256370544, 0.19346123933792114, 0.16030848026275635, -0.7014135718345642, -0.6392949223518372, -0.16529099643230438, 0.057402972131967545, 0.2985401749610901, -0.9650496244430542, -0.05353303998708725, -0.4754364490509033, -0.1323409080505371, -0.6010431051254272, -0.04878271371126175, 0.3706654906272888, 0.8610424995422363, 0.3931922912597656, -0.5909919142723083, -0.4440026581287384, -0.9004824757575989, -0.2504615783691406, 0.20095814764499664, -0.13198991119861603, 0.559555172920227, 0.3299712538719177, -0.4560508728027344, 0.5045968890190125, -0.892846941947937, -0.2895609140396118, 0.4302622079849243, 0.23147176206111908, 0.21891610324382782, 0.653495728969574, 0.4347579777240753, -1.1304396390914917, -0.33392560482025146, 0.18008728325366974, -0.6627333760261536, -0.046380795538425446, -0.27279284596443176, -0.18460240960121155, -0.05049322918057442, 0.6711620092391968, -0.4967416822910309, 0.39716607332229614, 0.24726852774620056, -0.0575198233127594, 0.36397093534469604, -0.0012383158318698406, 0.008795041590929031, -0.841156005859375, 0.02252027578651905, 0.23137526214122772, -0.13672922551631927, -0.781164824962616, 0.0830988734960556, 0.011206528171896935, -0.0637577623128891, -0.05377314239740372, 0.6107349991798401, -0.6300202012062073, 0.15296603739261627, -0.23712483048439026, -0.38829633593559265, 0.13519105315208435, 0.13708673417568207, 0.523438036441803, 0.6437482237815857, 0.5269274115562439, -0.8254600167274475, -0.16078098118305206, 0.3216051757335663, -0.21272467076778412, 1.0102636814117432, -0.6323212385177612, 0.5468881726264954, 0.053391773253679276, -0.11389898508787155, -0.6298292279243469, -0.043410323560237885, 0.13946497440338135, -0.5507505536079407, 0.917221188545227, -0.45607542991638184, 0.24654391407966614, -0.6204357147216797, 0.11378345638513565, 0.5136067867279053, 0.41890162229537964, -0.24196569621562958, 0.07700406759977341, 0.567367434501648, -0.09843815863132477, -0.6622553467750549, -0.5495120286941528, -0.01921853795647621, -0.023320186883211136, -0.3666123151779175, 0.43954965472221375, -0.026666248217225075, -0.2772909104824066, 0.1697062849998474, -0.3123169541358948, -0.7753545641899109, -0.00326692801900208, 0.3564404845237732, 0.32779279351234436, -0.3944726288318634, 0.5240793228149414, -0.04465359449386597, 0.05756506696343422, 0.08613234013319016, -0.7348800301551819, -0.02584002912044525, 0.10045639425516129, -0.15038736164569855, 0.06014735624194145, 0.029404031112790108, 0.4785632789134979, -0.006630532909184694, 0.14459222555160522, 0.3924413323402405, -0.56998211145401, -0.04646256938576698, -0.4508160650730133, -0.0217574555426836, -0.42779433727264404, 0.5062176585197449, -0.4248873293399811, -0.8720943331718445, 0.2480802983045578, -0.4714564383029938, -0.20678456127643585, 0.5253210663795471, 0.6828001141548157, -0.27450889348983765, 0.44099587202072144, 0.6469870209693909, -0.0008238179143518209, 0.18341246247291565, -0.38560572266578674, 0.023548001423478127, -0.9387133121490479, -0.01855585351586342, -0.29203322529792786, -0.13427141308784485, -0.4501793384552002, -0.6445057988166809, 0.5518112182617188, -0.2057591825723648, -0.15832434594631195, 0.07184385508298874, -0.7917203903198242, 0.34694960713386536, 0.3000653088092804, 0.3738178014755249, 0.1669672131538391, 0.125070258975029, 0.01781134493649006, -0.27692586183547974, -0.8763874173164368, -0.015060214325785637, 1.5679270029067993, 0.27766698598861694, 0.7270700335502625, -0.35086315870285034, 0.2311011403799057, 0.3791700005531311, 0.4469974935054779, -0.594012975692749, -0.11581281572580338, -0.40730512142181396, -0.8693543672561646, -0.42513126134872437, -0.3196616768836975, -1.1837693452835083, 0.04281768947839737, -0.1605837643146515, -0.33780109882354736, 0.882455587387085, 0.3315870463848114, -0.39537540078163147, 0.20012502372264862, -0.4260818362236023, 0.6391580700874329, -0.11896663904190063, -0.45674657821655273, 0.011570851318538189, -0.7453489303588867, 0.47019368410110474, -0.03561622276902199, 0.31367236375808716, -0.04444611072540283, -0.11134997010231018, 0.252492755651474, -0.5950081944465637, 1.0238041877746582, -0.23448549211025238, 0.0646703839302063, 0.22800295054912567, 0.09314929693937302, 0.24726223945617676, -0.04066804423928261, 0.28000760078430176, 0.4316912591457367, -0.08208777010440826, -0.27663519978523254, -0.7193536162376404, 0.44692111015319824, -0.758335530757904, -0.41809552907943726, -0.06329011172056198, -0.6288419961929321, -0.5382858514785767, 0.08363969624042511, 0.5772042274475098, 0.3422258198261261, -0.04298348352313042, -0.0036288578994572163, 0.9389830827713013, -0.015065469779074192, -0.23127681016921997, 0.47905927896499634, 0.38943833112716675, -0.2255673110485077, 0.6897096037864685, 0.27023035287857056, 0.16462108492851257, 0.4057711660861969, 0.19459956884384155, -0.18207383155822754, -0.8944191336631775, -0.4396086633205414, -0.10079145431518555, -0.5999653339385986, -0.4824138879776001, -0.4043087959289551, -0.15773658454418182, -0.37182480096817017, -0.28037142753601074, -0.4099213182926178, -0.41093623638153076, -0.13145077228546143, 0.1826588660478592, 0.2772033214569092, 0.3885190188884735, -0.00017607287736609578, 0.269631028175354, -0.5213712453842163, 0.4622083306312561, 0.23814810812473297, 0.3374171257019043, -0.2730243504047394, -0.5941300988197327, -0.43544694781303406, -0.11481225490570068, -0.19193311035633087, -0.5552963018417358, 0.41888025403022766, 0.3841513395309448, 0.5130548477172852, 0.5445085167884827, 0.09129684418439865, 0.5843204855918884, -0.5048260688781738, 0.3504420518875122, 0.38431087136268616, -0.5667247176170349, 0.41735637187957764, -0.20233745872974396, 0.2944565713405609, 0.6420611143112183, 0.6852720975875854, -0.23778463900089264, -0.18210701644420624, -0.6037895083427429, -0.742238461971283, -0.03311639651656151, 0.05811120942234993, 0.06046890839934349, 0.06616400182247162, 0.6505895256996155, 0.2649122178554535, 0.4397543668746948, -0.3284158408641815, -0.2796196937561035, -0.23167087137699127, -0.03121035359799862, 0.1559842973947525, 0.11936382949352264, -0.37891966104507446, -0.5097397565841675, 0.3777272403240204, -0.33995023369789124, 0.36669865250587463, 0.6449757218360901, -0.3275090754032135, -0.07245197892189026, -0.15004684031009674, 0.5530828833580017, 0.7244980335235596, -0.10090749710798264, 0.21037018299102783, -0.054908085614442825, -0.7984299063682556, 0.03987180441617966, 0.0010179852833971381, -0.04763993248343468, 0.13548435270786285, 0.5850223302841187, 0.7914630770683289, 0.20689712464809418, -0.21272921562194824, 0.48133718967437744, 0.026116399094462395, -0.20954078435897827, 0.029107093811035156, -0.07432227581739426, -0.11446478962898254, 0.1243470087647438, 0.2773844599723816, 0.5983749032020569, 0.5171695351600647, -0.19208265841007233, 0.46450474858283997, 0.3581559956073761, -0.5691511631011963, -0.16995441913604736, 0.5292702317237854, 0.2514738440513611, 0.1710633635520935, 0.6638752818107605, 0.1512729972600937, -0.24902398884296417, 0.8429438471794128, 0.2933691143989563, 0.7555308938026428, -0.30214276909828186, 0.02745330147445202, 0.30123597383499146, 0.3628898859024048, 0.08084385842084885, -0.044200483709573746, 0.05424362048506737, -1.1550549268722534, -0.26277658343315125, 0.04010371118783951, -0.18296079337596893, 0.16283658146858215, -0.6535131931304932, -0.0005574407987296581, -0.4152255058288574, -0.7279850244522095, 0.3584994375705719, -0.15678098797798157, -1.204294204711914, 0.6450088024139404, 0.17264418303966522, 0.699817419052124, -0.7323963642120361, 0.8598933219909668, 0.8342277407646179, -0.20045118033885956, -0.3930811583995819, -0.05274806544184685, -0.057290274649858475, -1.1611087322235107, 0.668850302696228, -0.3160124719142914, 0.11112921684980392, -0.3088796138763428, -0.668189287185669, -0.6462683081626892, 0.7117998600006104, 0.23150859773159027, -0.8257367014884949, -0.03610146418213844, 0.05637924373149872, 0.5769259929656982, -0.4898647665977478, -0.04159365966916084, 0.5568694472312927, 0.17233549058437347, 0.13881804049015045, -0.7635921835899353, 0.25747233629226685, -0.23568160831928253, 0.027985475957393646, 0.06908684223890305, -0.2112925946712494, 0.8228294849395752, -0.6053838133811951, -0.13872143626213074, -0.22056981921195984, 0.08552911132574081, -0.2379642128944397, 0.6469506025314331, 0.3488515317440033, 0.6634548902511597, 1.0821574926376343, -0.1189383938908577, 1.478209137916565, -0.26150473952293396, 0.13626554608345032, 1.16477632522583, -0.32650601863861084, 0.3694097399711609, 0.4615526497364044, -0.4036688804626465, 0.3796131908893585, 0.45761838555336, -0.07604535669088364, 0.795852780342102, 0.2378850281238556, 0.0595962218940258, -0.4222734868526459, 0.08710840344429016, -0.7912813425064087, 0.06763111054897308, 0.6463133692741394, -0.513493001461029, 0.10491526871919632, 0.04129794239997864, -0.053562019020318985, -0.14285220205783844, -0.4669477641582489, 0.7618637084960938, 0.4582468569278717, -0.3184216320514679, 0.9740567803382874, -0.6097937822341919, 0.4094695448875427, -0.5030864477157593, 0.005399753805249929, -0.22462548315525055, 0.2731052339076996, -0.18887712061405182, -0.5658506155014038, 0.36908772587776184, -0.6364966034889221, -0.41971591114997864, 0.2906818091869354, 1.1760607957839966, -0.04506866633892059, -0.7330960035324097, -0.15957553684711456, 0.6043215990066528, 0.07492061704397202, -0.21200595796108246, -0.8137296438217163, -0.0451912060379982, -0.08282813429832458, 0.07280901074409485, 0.28643280267715454, 0.6286060214042664, -0.402904748916626, 0.5877575874328613, 0.5576656460762024, 0.17293483018875122, -0.09499724954366684, 0.046865276992321014, 1.029001235961914, -0.14014650881290436, -0.06610875576734543, -0.4562172591686249, 0.3455221652984619, -0.31196099519729614, -0.5557383894920349, 0.2833508849143982, 0.3347054719924927, 0.8289793133735657, -0.5330999493598938, 0.9252873659133911, 0.3613804876804352, 0.18315277993679047, -0.662746012210846, 0.6534059643745422, -0.5346589088439941, 0.15812894701957703, -0.1767120361328125, -0.21177808940410614, -0.5182717442512512, 0.5556727051734924, -0.6937090158462524, -0.20986180007457733, 0.6358509659767151, 0.6084573268890381, -0.0017038678051903844, -0.2986728250980377, 0.441334068775177, 0.19537004828453064, -0.07933240383863449, 0.7530606985092163, 0.5004900693893433, -0.31227394938468933, -0.01378768589347601, -0.09481468051671982, -0.1398342102766037, -0.28262150287628174, -0.7554013133049011, -0.970170259475708, -0.5622135996818542, -0.788388729095459, -0.2695513665676117, 0.57070392370224, 0.34147369861602783, 1.297441005706787, -0.8496403694152832, 0.19589397311210632, -0.10724519938230515, 0.2651959955692291, -0.38530153036117554, -0.15940356254577637, 0.49640947580337524, -0.50069260597229, -0.33642667531967163, 0.17601151764392853, 0.12551194429397583, 0.028172221034765244, 0.151946559548378, 0.1560216248035431, 0.19074101746082306, 0.009324030950665474, 0.3567098379135132, 0.48245078325271606, -0.3982353210449219, -0.06841013580560684, 0.036799874156713486, -0.05129772424697876, 0.29720339179039, 1.478171467781067, -0.8216174840927124, 0.7362619042396545, 0.026196103543043137, 0.8261812925338745, 0.5505362153053284, -0.18226200342178345, 0.8365890383720398, -0.7581304311752319, 0.22500237822532654, 0.3288780152797699, 0.21922999620437622, 0.4686591327190399, -0.8189698457717896, 0.712451696395874, 0.5028287172317505, -0.40859514474868774, -0.5743104219436646, 0.17935636639595032, -0.6171575784683228, -0.7535197734832764, 0.6882120966911316, -0.2148212492465973, -0.0971081331372261, -0.3505995571613312, 0.025852082297205925, 0.022932512685656548, -0.0590873658657074, 0.8222978711128235, 0.3819635808467865, -0.24279773235321045, -0.1392051726579666, -0.6838719248771667, 0.8689091801643372, 0.33115655183792114, -0.5814319252967834, -0.18209797143936157, 0.45625725388526917, 0.45731714367866516, 0.22416949272155762, 0.683782696723938, -0.31043264269828796, 0.4217514395713806, 0.027025582268834114, 0.19998788833618164, -0.2654545307159424, -0.2370016872882843, -0.3388318121433258, -0.025674238801002502, -0.07047347724437714, -0.27932628989219666 ]
http://arxiv.org/abs/2405.14838v1
http://arxiv.org/pdf/2405.14838v1
From Explicit CoT to Implicit CoT: Learning to Internalize CoT Step by Step
2024-05-23T17:54:14
2024-05-23T17:54:14
Yuntian Deng, Yejin Choi, Stuart Shieber
cs.CL
cs.CL, cs.AI, cs.LG
When leveraging language models for reasoning tasks, generating explicit chain-of-thought (CoT) steps often proves essential for achieving high accuracy in final outputs. In this paper, we investigate if models can be taught to internalize these CoT steps. To this end, we propose a simple yet effective method for internalizing CoT steps: starting with a model trained for explicit CoT reasoning, we gradually remove the intermediate steps and finetune the model. This process allows the model to internalize the intermediate reasoning steps, thus simplifying the reasoning process while maintaining high performance. Our approach enables a GPT-2 Small model to solve 9-by-9 multiplication with up to 99% accuracy, whereas standard training cannot solve beyond 4-by-4 multiplication. Furthermore, our method proves effective on larger language models, such as Mistral 7B, achieving over 50% accuracy on GSM8K without producing any intermediate steps.
[ -0.2702612280845642, -0.679506242275238, 0.9192798733711243, 0.0509965755045414, -0.37646210193634033, 0.10139366239309311, -0.5318977236747742, -0.5289731621742249, -0.7733196020126343, 0.43649691343307495, -0.34970709681510925, -0.36207640171051025, -0.6770374774932861, -0.11171157658100128, -0.335511714220047, 0.9755567908287048, -0.589558482170105, 0.2539854943752289, 0.17506706714630127, 0.16017061471939087, -0.23525510728359222, -0.6320841908454895, -0.8786591291427612, -0.4158860146999359, 0.3371284008026123, 0.4211136996746063, 0.512908399105072, 0.32614898681640625, 0.1083771362900734, 0.2497914433479309, -0.3474483788013458, 0.5171647071838379, -0.5898047089576721, -0.11899644881486893, -0.25342923402786255, -0.612172544002533, -0.3440498411655426, -0.0632837638258934, 0.5642831921577454, 0.5033043026924133, 0.019110089167952538, 0.073580801486969, 0.1526244431734085, 0.6273834705352783, -0.5279165506362915, 0.4361329674720764, -0.7434030175209045, -0.21185941994190216, 0.37374231219291687, 0.08186805993318558, -0.7614080309867859, -0.418570876121521, -0.06649702787399292, -0.39653968811035156, 0.3270079791545868, -0.2570344805717468, 0.43300747871398926, 0.013961562886834145, -0.6044614315032959, -0.5773204565048218, -1.0177656412124634, 0.3974795937538147, -0.559630811214447, 0.33274519443511963, 0.43652069568634033, 0.23009181022644043, -0.10132011771202087, -0.7944372296333313, -0.487130731344223, -0.595912754535675, -0.25800180435180664, -0.23322060704231262, 0.2001221477985382, 0.3205043077468872, 0.40361639857292175, 0.2171734869480133, -0.23383061587810516, -0.4248475432395935, -0.6501548886299133, 0.2267034351825714, 0.6229634284973145, -0.13581319153308868, 0.28827863931655884, 0.3180612623691559, -0.42098209261894226, -0.021292151883244514, -0.9524049162864685, 0.071696937084198, 0.18330173194408417, 0.46181756258010864, -0.14448116719722748, 0.6493573784828186, -0.11486531049013138, 0.359113872051239, 0.5619896054267883, 0.061142098158597946, -0.14750471711158752, -0.39325276017189026, -0.2286568284034729, 0.16587506234645844, 0.2893396317958832, -0.43881985545158386, 0.34664198756217957, -0.29109880328178406, -0.5421523451805115, 0.11331718415021896, 0.5466582179069519, -0.6260331869125366, -0.2621265947818756, 0.26201948523521423, 0.00046165785170160234, -0.16309869289398193, -0.01399068720638752, -0.13200989365577698, -0.16255034506320953, -0.731711208820343, 0.6190934777259827, -0.5509175062179565, -0.20695531368255615, -0.0511845126748085, 0.2651037573814392, 0.29814934730529785, 0.5305317640304565, -0.7749847769737244, 0.7511370182037354, 0.7902114987373352, 0.7973048090934753, 0.27984610199928284, -0.07550603151321411, -0.6023935675621033, 0.3354964554309845, -0.790691077709198, 0.6628322005271912, -0.544342577457428, -0.40853047370910645, -0.23636825382709503, -0.14263196289539337, -0.1418384313583374, -0.1031043604016304, 0.3931364417076111, -0.2439020425081253, -0.04338008910417557, -0.3321981132030487, -0.5915042161941528, -0.12641166150569916, 0.27334797382354736, -0.2991081178188324, 1.0585721731185913, 0.11106418818235397, -0.37390682101249695, 0.07149557024240494, -0.6220241189002991, -0.06072467938065529, -0.36454522609710693, -0.2978378236293793, -0.040107086300849915, 0.45053261518478394, 0.4732975959777832, 0.27726948261260986, -0.10377861559391022, 0.05883466824889183, -0.03404134884476662, -0.638276219367981, -0.16416367888450623, -0.21132101118564606, 0.6380093097686768, 0.039032500237226486, -0.7500704526901245, 0.19807089865207672, -0.4241834282875061, 0.2262895554304123, 0.03111366741359234, 0.06286267191171646, -0.18441267311573029, -0.32656624913215637, -0.5425041913986206, 0.4232683777809143, -0.02623004838824272, -0.3430958688259125, 0.4637954533100128, -0.5575570464134216, -0.014593870379030704, 0.9946246147155762, -0.09778329730033875, 0.8441200256347656, 0.00036679295590147376, 0.29050323367118835, 0.11923809349536896, 0.2692708373069763, 0.046920690685510635, -0.6205407977104187, -0.9089624285697937, -0.19412222504615784, 0.24821965396404266, 0.10721007734537125, -0.7827226519584656, -0.013770448043942451, 0.01279291883111, -0.5522679686546326, -0.3676513731479645, 0.2951907515525818, 0.7329273819923401, 0.40303871035575867, 0.4285750389099121, -0.09210205078125, -0.20045404136180878, -0.49746033549308777, -0.23745456337928772, -0.13369040191173553, 0.15798452496528625, -0.031151827424764633, 0.4836962819099426, -0.13675980269908905, 0.4693225920200348, -0.4362037181854248, -0.10280575603246689, -0.3760572075843811, 0.5571308732032776, 0.014918196015059948, 0.691365122795105, 0.2132255882024765, -0.6943621039390564, -0.627552330493927, 0.4265221655368805, -0.7310409545898438, 0.1211545318365097, -0.07732833176851273, -0.43172526359558105, 0.3345224857330322, 0.5522075295448303, -0.6135918498039246, 0.7662227153778076, 0.12732136249542236, -0.4258994162082672, 0.5830594897270203, -0.48256081342697144, 0.03834476321935654, -0.6978992223739624, -0.16405266523361206, -0.053126078099012375, -0.3731664717197418, -0.6744188070297241, 0.44821417331695557, 0.3045302629470825, 0.010637238621711731, -0.4695371687412262, 0.6176373958587646, -0.9262962937355042, -0.011631237342953682, -0.4177705645561218, -0.05555431544780731, -0.14051227271556854, 0.7257704734802246, 0.1504826545715332, 0.9315569400787354, 0.2754279375076294, -0.6885400414466858, 0.032468847930431366, 0.038661882281303406, -0.1231137067079544, -0.054940082132816315, -0.6633565425872803, 0.58299720287323, -0.3680780827999115, 0.5603874921798706, -0.885863184928894, 0.1379029005765915, 0.23245468735694885, -0.24246415495872498, 0.4044496417045593, -0.5950505137443542, -0.45193907618522644, -0.12865401804447174, -0.17967289686203003, 0.568526029586792, 0.6783610582351685, -0.8036267161369324, 0.837854266166687, 0.020503824576735497, -0.10130684077739716, -0.5620225071907043, -0.2789745330810547, -0.317672997713089, 0.22424089908599854, -0.38310956954956055, 0.2766738831996918, 0.047054506838321686, -0.17273733019828796, -0.050632886588573456, -0.30302688479423523, -0.12464787811040878, -0.27492934465408325, 0.17743821442127228, 0.19370828568935394, -0.19099025428295135, 0.20760013163089752, 0.13851748406887054, -0.1891903579235077, 0.0579889677464962, -0.5409602522850037, 0.6196045875549316, -0.5464276075363159, -0.32567816972732544, -0.21147006750106812, 0.3773288428783417, 0.31894651055336, -0.18564730882644653, 0.7442233562469482, 0.6773765683174133, -0.621170163154602, -0.5209441184997559, -0.38324669003486633, -0.1259177178144455, -0.4577158987522125, 0.03454219922423363, -0.8031148910522461, -0.3236539959907532, 0.4519973695278168, -0.2493126392364502, 0.04099857062101364, 0.3153366446495056, 0.5636978149414062, 0.03888929262757301, 1.471498727798462, 0.8831027150154114, 0.44546717405319214, 0.3198172152042389, -0.7697148323059082, 0.48336321115493774, -1.1683732271194458, -0.3210900127887726, -0.381179541349411, 0.10417066514492035, -0.4737943112850189, -0.7747218012809753, 0.4101852774620056, 0.41123199462890625, -0.5739029049873352, 0.35851404070854187, -0.45541056990623474, 0.7901593446731567, 0.42493048310279846, 0.5993276238441467, 0.2936263382434845, -0.1728747934103012, -0.43391332030296326, 0.4839678406715393, -0.6076822876930237, -0.6454911828041077, 1.202879786491394, 0.25760939717292786, 0.8006897568702698, 0.0748455598950386, 0.8003085255622864, -0.008392902091145515, 0.6175715327262878, -0.4665577709674835, 0.3900604248046875, -0.15931810438632965, -0.2971601188182831, -0.26684659719467163, -0.4388022720813751, -0.3367566764354706, 0.37008577585220337, 0.06985586136579514, -0.850035548210144, 0.27071377635002136, 0.23328964412212372, -0.07220287621021271, 0.4509873390197754, -1.072754979133606, 0.5006111860275269, -0.21405896544456482, -0.6043810248374939, -0.3300977647304535, -0.4411810636520386, 0.7199970483779907, 0.12670989334583282, 0.09100693464279175, -0.04412071406841278, -0.05711578205227852, 0.11600953340530396, -0.7368635535240173, 0.9812115430831909, -0.18853294849395752, -0.39112383127212524, 0.5494781136512756, 0.2872399389743805, 0.983525276184082, 0.07200556993484497, 0.06086680293083191, -0.18248558044433594, -0.09290281683206558, -0.5996445417404175, -0.9598867893218994, 0.7153111696243286, -0.7982394695281982, -0.6023382544517517, -0.49625787138938904, -0.3086882531642914, -0.4173412322998047, -0.06966683268547058, 0.12007307261228561, 0.624075710773468, 0.045044202357530594, -0.3334802985191345, 0.6896119713783264, 0.36770278215408325, 0.23207028210163116, 0.11572778970003128, -0.2998654842376709, -0.38524332642555237, 0.5908136367797852, 0.09422162920236588, 0.5869147181510925, 0.11655115336179733, 0.2921544015407562, -0.6293157935142517, -0.3193471431732178, -0.38418683409690857, 0.300386518239975, -1.0885636806488037, 0.010119984857738018, -0.6364563703536987, -0.44300180673599243, -0.35429224371910095, -0.32574328780174255, -0.5974155068397522, -0.4841536283493042, 0.14438150823116302, -0.2048892080783844, 0.05598454922437668, 1.116674780845642, 0.07683984190225601, 0.3602714240550995, -0.4484463036060333, 0.6831008195877075, 0.4520028531551361, 0.45627227425575256, 0.22344011068344116, -0.4373960793018341, -0.18794947862625122, 0.4636751413345337, -0.31742435693740845, -0.6550227999687195, 0.17997346818447113, 0.020024636760354042, 0.5110809803009033, 0.10614216327667236, -0.012512542307376862, 1.0805606842041016, -0.5553873181343079, 0.6917688846588135, 0.15422192215919495, -1.3709779977798462, 0.6235094666481018, -0.09948430955410004, 0.31036025285720825, 0.44107893109321594, 0.4788694679737091, -0.019232403486967087, -0.48349708318710327, -0.8758070468902588, -0.8411142826080322, 0.5350623726844788, 0.4585304260253906, 0.015505914576351643, 0.04700009897351265, 0.4438041150569916, 0.23784495890140533, -0.049169838428497314, -0.754315197467804, 0.12753935158252716, 0.10368909686803818, -0.27819550037384033, -0.049003567546606064, -0.21096085011959076, -0.12105544656515121, -0.6056593656539917, 0.9828352928161621, -0.3899175226688385, 0.45589298009872437, 0.43915364146232605, -0.482257217168808, -0.13353389501571655, 0.10369975864887238, 0.665067732334137, 0.9918450713157654, -0.1591915488243103, 0.3533806800842285, 0.31696486473083496, -0.4213654100894928, 0.37897956371307373, -0.42457708716392517, -0.03015158139169216, -0.09273794293403625, 0.29296156764030457, 0.576404869556427, 0.3740910291671753, -0.4466208517551422, 0.5100230574607849, -0.15983764827251434, -0.019829435274004936, -0.40089166164398193, 0.16126257181167603, -0.014908626675605774, 0.24098093807697296, 0.11657622456550598, 0.1275518238544464, 0.007694851141422987, -0.7686102390289307, 0.2189408838748932, 0.1479950100183487, -0.48290541768074036, -0.3235315680503845, 0.5054263472557068, 0.19310782849788666, 0.05120323598384857, 0.5301553606987, -0.14189304411411285, -0.5695825815200806, 0.66060471534729, 0.847473680973053, 1.1973134279251099, -0.10121726989746094, 0.1416623592376709, 0.5141998529434204, 0.4749614894390106, -0.4832506775856018, 0.18439361453056335, -0.4366438686847687, -0.5642359256744385, -0.5531116127967834, -0.22802071273326874, -0.5444937944412231, -0.19964680075645447, -0.4582403302192688, 0.4309632480144501, -0.6782791018486023, 0.1200992614030838, -0.13293208181858063, 0.06878652423620224, -0.6833035945892334, 0.4544505774974823, 0.3900051414966583, 0.781607449054718, -0.6134201288223267, 1.0633987188339233, 0.44435834884643555, -0.5848713517189026, -1.1024831533432007, 0.1106748953461647, -0.22163201868534088, -0.6461614966392517, 0.5214517116546631, 0.22311335802078247, -0.5099667310714722, -0.22327744960784912, -0.8200172185897827, -0.8193065524101257, 0.9253329038619995, 0.3603130877017975, -0.5001457929611206, -0.19493575394153595, -0.1210889220237732, 0.5543951392173767, -0.7213642597198486, 0.6610997319221497, 0.4711008369922638, 0.17981956899166107, 0.24297215044498444, -0.8081681728363037, 0.2280357927083969, -0.22482983767986298, 0.09666930139064789, 0.20978742837905884, -0.4949329197406769, 1.0089446306228638, -0.5821265578269958, -0.06330712884664536, -0.1222500428557396, 0.735541045665741, 0.31392788887023926, 0.2764444053173065, 0.5352915525436401, 0.1562918722629547, 0.85001140832901, 0.05511944741010666, 1.102994441986084, -0.17207615077495575, 0.3114628791809082, 1.5955275297164917, -0.22955168783664703, 0.8329800367355347, 0.25183314085006714, 0.08903820067644119, 0.593055248260498, 0.2959632873535156, 0.6805775165557861, 0.4142889082431793, 0.09050416201353073, -0.47022315859794617, -0.24390588700771332, 0.4279533922672272, -0.3040074408054352, 0.33890780806541443, 0.49095016717910767, -0.3250819444656372, -0.20753984153270721, -0.15552560985088348, 0.10667699575424194, 0.2033294290304184, -0.6254104375839233, 1.0035357475280762, 0.2544820308685303, -0.6228605508804321, 0.8243313431739807, -0.1097702607512474, 0.2468791902065277, -0.699532151222229, -0.27988311648368835, -0.12707124650478363, 0.32189950346946716, -0.06497520208358765, -0.6614829301834106, 0.39553549885749817, 0.3256324827671051, 0.022643329575657845, -0.23227553069591522, 0.656687319278717, -0.6711970567703247, -0.8434146046638489, 0.2994842827320099, 0.37043339014053345, -0.01237515453249216, -0.2144477516412735, -0.38393983244895935, -0.16016040742397308, -0.06457317620515823, -0.1573643982410431, 0.18051573634147644, 0.5926414728164673, -0.4124288856983185, 0.7835707664489746, 0.6725379228591919, 0.1652328222990036, 0.3090757727622986, 0.05089780315756798, 1.0964784622192383, -0.8041840195655823, -0.5430493950843811, -0.694296658039093, 0.6673657894134521, -0.2672274112701416, -0.19136802852153778, 0.20997744798660278, 0.39592495560646057, 1.019625186920166, -0.1887170523405075, 0.7732030749320984, 0.14658214151859283, -0.006067272275686264, -0.7359308004379272, 0.4072587490081787, -0.1736132800579071, 0.4029868245124817, -0.15804457664489746, -0.8388151526451111, 0.0746215432882309, 0.6232866048812866, -0.4495832920074463, 0.07425478100776672, 1.1359796524047852, 0.6935523748397827, -0.26607346534729004, 0.19317422807216644, 0.30754104256629944, 0.3786160349845886, 0.418634295463562, 0.5801032781600952, 0.7223011255264282, -0.6276261806488037, 0.35555151104927063, -0.7585048079490662, -0.3149401843547821, 0.21364812552928925, -0.7468713521957397, -0.924090564250946, -0.5408613085746765, -0.2247137874364853, -0.3749676048755646, 0.39898931980133057, 1.2675676345825195, 0.7498590350151062, -0.7247413992881775, -0.24240121245384216, -0.5487073063850403, 0.27588310837745667, -0.4737147092819214, -0.13458652794361115, 0.40416473150253296, -0.8437651991844177, -0.6654398441314697, 0.31874585151672363, 0.06622136384248734, 0.09615081548690796, -0.02851150929927826, -0.08413884788751602, -0.26339659094810486, 0.4165210425853729, 0.8132951259613037, -0.05907959118485451, -0.8802328705787659, -0.4827217757701874, -0.35846665501594543, -0.1638791263103485, -0.003242172533646226, 1.1704747676849365, -0.9669714570045471, 0.4310813248157501, 0.3614523410797119, 0.15038125216960907, 0.9993951320648193, 0.19901885092258453, 0.9989572167396545, -0.8076731562614441, 0.40578919649124146, 0.21938519179821014, 0.3173644244670868, 0.06322533637285233, -0.7134509086608887, 0.8797038793563843, -0.20839428901672363, -0.3053125739097595, -0.8625304102897644, 0.10513544082641602, -0.9348053932189941, -0.34381821751594543, 1.1846954822540283, -0.1970343291759491, -0.5548987984657288, 0.020830649882555008, -0.6416841149330139, 0.3810020089149475, -0.20802059769630432, 0.7117990851402283, 0.3853239417076111, -0.2792697846889496, -0.2638702392578125, -0.2452685832977295, 0.7504826784133911, 0.03475498408079147, -0.7668439745903015, 0.17537382245063782, 0.10241137444972992, 0.3160051107406616, -0.1744924634695053, 0.8079549074172974, -0.3888385593891144, 0.379300981760025, 0.3265744149684906, -0.034919753670692444, -0.11324002593755722, -0.547784149646759, -0.177514910697937, 0.12945440411567688, 0.11311828345060349, 0.0010171170579269528 ]
http://arxiv.org/abs/2405.14831v1
http://arxiv.org/pdf/2405.14831v1
HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models
2024-05-23T17:47:55
2024-05-23T17:47:55
Bernal Jiménez Gutiérrez, Yiheng Shu, Yu Gu, Michihiro Yasunaga, Yu Su
cs.CL
cs.CL, cs.AI
In order to thrive in hostile and ever-changing natural environments, mammalian brains evolved to store large amounts of knowledge about the world and continually integrate new information while avoiding catastrophic forgetting. Despite the impressive accomplishments, large language models (LLMs), even with retrieval-augmented generation (RAG), still struggle to efficiently and effectively integrate a large amount of new experiences after pre-training. In this work, we introduce HippoRAG, a novel retrieval framework inspired by the hippocampal indexing theory of human long-term memory to enable deeper and more efficient knowledge integration over new experiences. HippoRAG synergistically orchestrates LLMs, knowledge graphs, and the Personalized PageRank algorithm to mimic the different roles of neocortex and hippocampus in human memory. We compare HippoRAG with existing RAG methods on multi-hop question answering and show that our method outperforms the state-of-the-art methods remarkably, by up to 20%. Single-step retrieval with HippoRAG achieves comparable or better performance than iterative retrieval like IRCoT while being 10-30 times cheaper and 6-13 times faster, and integrating HippoRAG into IRCoT brings further substantial gains. Finally, we show that our method can tackle new types of scenarios that are out of reach of existing methods. Code and data are available at https://github.com/OSU-NLP-Group/HippoRAG.
[ -0.1373000293970108, -1.1610184907913208, 0.6435046195983887, 0.20129139721393585, -0.06843061000108719, 0.3517672121524811, -0.29316246509552, -0.6879730224609375, 0.43126413226127625, 0.4182347357273102, -0.1263277232646942, -0.4223342537879944, -0.2827463150024414, -0.38988998532295227, 0.027069494128227234, 0.8060088753700256, -0.041113756597042084, -0.0633620172739029, -0.400160014629364, -0.280361145734787, -0.2540726065635681, -0.6634740233421326, -0.27169159054756165, -0.6081892848014832, 0.8269632458686829, 0.12379220128059387, 0.31785932183265686, 0.4551428556442261, 0.43121203780174255, 0.12675517797470093, -0.28070691227912903, 0.27598562836647034, -0.6066772937774658, 0.30102822184562683, -0.3089313507080078, -0.3791823983192444, -0.33914217352867126, -0.29910165071487427, 0.7139328122138977, 0.869053304195404, -0.2783817648887634, 0.10626760870218277, -0.02807183749973774, 0.5995321869850159, -0.9311186671257019, -0.21208234131336212, -0.6419343948364258, 0.011000788770616055, -0.158969447016716, -0.5537216663360596, -0.44212716817855835, -0.13086462020874023, 0.24695752561092377, -0.5157493352890015, -0.02485661394894123, 0.18967118859291077, 0.5855758786201477, 0.13798511028289795, -0.10346248000860214, -0.1213589683175087, -0.7312083840370178, 0.8194149136543274, -0.5204183459281921, 0.4254428744316101, 0.5419433116912842, 0.09780620783567429, -0.4741505980491638, -0.6060121655464172, -0.35259193181991577, -0.29376742243766785, 0.1301015168428421, -0.17159517109394073, 0.1081567332148552, 0.057580895721912384, 0.06292938441038132, 0.13553005456924438, -0.7102009654045105, -0.0005133586819283664, -0.19461651146411896, -0.2768775522708893, 0.15696407854557037, 0.09072163701057434, 0.04636326804757118, -0.11382930725812912, -0.6934514045715332, 0.16100071370601654, -0.3889249265193939, 0.025158431380987167, 0.06482113897800446, 0.1286115050315857, 0.4986603558063507, 0.3580576479434967, -0.20017792284488678, 0.5984774231910706, -0.25858238339424133, -0.3282599151134491, 0.47039470076560974, -0.01630236580967903, 0.09924273937940598, -0.15246979892253876, 0.7897517085075378, 0.10096237063407898, -0.12881743907928467, -0.5438092350959778, -0.11591324955224991, -0.16078127920627594, 0.22408470511436462, -0.7975167036056519, -0.3090653717517853, 0.25696903467178345, -0.5181830525398254, -0.01689530722796917, -0.37442606687545776, -1.0255085229873657, -0.4714513421058655, 0.12017706781625748, 0.9455009698867798, -0.8805260062217712, -0.10291215777397156, 0.4325309991836548, -0.43167662620544434, 0.4346204996109009, 0.3012846112251282, -0.5805758833885193, 0.39033883810043335, 0.8028411865234375, 0.8292124271392822, -0.40729641914367676, -0.5666515231132507, -0.6861370801925659, 0.2074534147977829, -0.3219500780105591, 0.849193274974823, -0.7326284050941467, -0.21508270502090454, -0.12489763647317886, -0.16905473172664642, 0.032345518469810486, -0.6850848197937012, 0.28416967391967773, -0.7651904821395874, 0.16940005123615265, -0.28736454248428345, -0.6208049654960632, -0.012555726803839207, 0.22633999586105347, -0.3297463059425354, 0.980343222618103, -0.037979211658239365, -0.8840040564537048, 0.14523695409297943, -0.550298810005188, -0.3354083299636841, 0.4038064777851105, -0.07567641884088516, -0.24953629076480865, -0.04755124822258949, -0.22659172117710114, 0.20568808913230896, -0.38408395648002625, 0.2402919977903366, -0.4232622981071472, -0.4517207145690918, 0.01731587015092373, -0.024855155497789383, 0.6807504296302795, 0.02491133287549019, -0.13268311321735382, -0.16624942421913147, -0.677590012550354, 0.0915120467543602, 0.26210200786590576, -0.4487626254558563, -0.9528273940086365, -0.1555715650320053, -0.18333373963832855, -0.002471976215019822, 0.6844402551651001, -0.7547604441642761, 0.2520356774330139, 0.06682412326335907, 0.48046261072158813, 0.4921276569366455, 0.30629831552505493, 0.47605976462364197, -0.34174802899360657, 0.3819511830806732, 0.06159597635269165, 0.052197448909282684, -0.51223224401474, -0.4362049698829651, -0.3796505331993103, -0.19532588124275208, 0.18090663850307465, 0.42687714099884033, -0.5312836766242981, 0.41441771388053894, -0.1816275715827942, -0.5053386092185974, -0.4483644366264343, 0.24437187612056732, 0.1490730494260788, 0.6320186853408813, 0.6385630965232849, -0.4915631413459778, -0.40650931000709534, -0.6923867464065552, -0.08164059370756149, -0.18996869027614594, 0.04187643527984619, 0.492084801197052, 0.392045259475708, -0.5848168730735779, 0.7536411881446838, -0.5681329965591431, -0.07063275575637817, 0.062052834779024124, 0.29577285051345825, 0.19454653561115265, 0.407371461391449, 0.44921112060546875, -0.5359630584716797, -0.06795983016490936, -0.15296779572963715, -0.3540821969509125, 0.1494169384241104, -0.06357745081186295, -0.48091572523117065, 0.06834924221038818, 0.3385586440563202, -1.090383768081665, 0.17331399023532867, 0.35747072100639343, -0.4932059943675995, 0.74784916639328, -0.514006495475769, 0.03854283690452576, -0.985363245010376, 0.4153878688812256, -0.36025822162628174, -0.1818445771932602, -0.4867550730705261, -0.0013766199117526412, 0.30210599303245544, -0.08216773718595505, -0.10907463729381561, 0.7045724987983704, -0.3313906490802765, 0.04601268097758293, -0.4087469279766083, 0.24007660150527954, 0.23623868823051453, 0.47209393978118896, -0.12172485142946243, 0.6062237024307251, 0.5433011054992676, -0.6789567470550537, 0.20426075160503387, 0.3440842032432556, -0.4707212746143341, 0.11675713211297989, -0.5234255194664001, 0.19773387908935547, -0.4268205165863037, 0.5101564526557922, -1.0399158000946045, 0.05071256309747696, 0.04344085603952408, -0.406508207321167, 0.3847227096557617, 0.025923563167452812, -0.38569310307502747, -0.331061989068985, -0.16594566404819489, 0.5044994950294495, 0.7354221940040588, -0.648221492767334, 0.6836404800415039, 0.547237753868103, -0.2007087916135788, -0.8474693298339844, -0.3682524561882019, 0.14362852275371552, -0.3250258266925812, -0.2137131541967392, 0.5691182613372803, -0.2558281421661377, 0.005243457388132811, -0.07071185857057571, -0.22077536582946777, -0.08275119960308075, -0.04620742425322533, -0.11214030534029007, 0.2880849540233612, -0.10925491899251938, 0.6484900712966919, -0.3584739863872528, 0.0770326629281044, 0.03858783468604088, -0.4272851049900055, 0.9991687536239624, 0.003173715667799115, -0.01220722310245037, -0.1208946630358696, 0.5009046792984009, 0.6268633008003235, -0.5937814712524414, 0.7289641499519348, 0.8275365233421326, -0.30619990825653076, -0.42624056339263916, -0.6080843210220337, -0.24439232051372528, -0.4235024154186249, 0.5848357677459717, -0.26068851351737976, -0.8930281400680542, 0.4733140170574188, -0.35769298672676086, 0.03361662104725838, 0.06268680095672607, 0.38415196537971497, -0.22050298750400543, 0.39918848872184753, 0.6446476578712463, -0.16930349171161652, 0.5807854533195496, -0.12581025063991547, 0.19523820281028748, -1.1994997262954712, -0.3409249186515808, -0.4664388597011566, -0.3891994059085846, -0.5519837737083435, -0.9315627813339233, 0.09021176397800446, 0.2510438859462738, -0.08999022841453552, 0.25511395931243896, -0.3457299470901489, 0.4816115200519562, 0.4949086010456085, 0.18767796456813812, 0.14969657361507416, -0.21065686643123627, -0.2673790752887726, 0.153567835688591, -0.7488563060760498, -0.14994826912879944, 0.9795492887496948, 0.4585520327091217, 1.0644266605377197, -0.2600037157535553, 0.933836817741394, 0.0652516782283783, -0.0037108848337084055, -1.015934944152832, 0.5847923755645752, -0.01171103399246931, -0.5606634616851807, -0.32663577795028687, -0.5266308784484863, -1.2395299673080444, 0.361798495054245, -0.2436937540769577, -0.9725103974342346, 0.2186962515115738, 0.05495859682559967, -0.6021642684936523, 0.4178171157836914, -0.567018985748291, 0.6492987871170044, -0.46464428305625916, -0.722651481628418, -0.5093581080436707, -0.650431752204895, 0.12992757558822632, 0.055471260100603104, -0.07223530113697052, -0.15557056665420532, -0.42825302481651306, 0.8608098030090332, 0.07714205235242844, 0.5049037337303162, -0.2593396306037903, 0.014911993406713009, 0.33091917634010315, 0.0829668864607811, 0.32127368450164795, -0.009322511963546276, -0.11799675226211548, 0.18589210510253906, 0.055711738765239716, -0.5678722262382507, -0.3942350447177887, 0.9373331069946289, -0.7673854231834412, -0.5070754289627075, -0.41948944330215454, -0.7462206482887268, -0.45279717445373535, 0.3891147971153259, -0.1416790783405304, 0.2768137753009796, -0.24206897616386414, 0.48940911889076233, 0.9840441942214966, -0.5998977422714233, 0.3329075872898102, 0.516645610332489, -0.5112380981445312, -0.5462056994438171, 0.7898631691932678, -0.018085243180394173, 0.1442733108997345, 0.667930006980896, 0.49624332785606384, -0.020343830808997154, -0.4866194725036621, 0.1681482046842575, 0.677443265914917, -0.4439657926559448, -0.27624720335006714, -1.0658468008041382, -0.09258779138326645, -0.3263545036315918, 0.11723598837852478, -0.3198050260543823, -0.39466631412506104, 0.038728851824998856, 0.2108212411403656, 0.41902583837509155, 0.3782447576522827, -0.12846943736076355, -0.06531920284032822, -0.7160773873329163, 0.6731358170509338, 0.3454747796058655, 0.6005482077598572, -0.06300235539674759, -0.47713392972946167, -0.3138837516307831, -0.07965200394392014, -0.3057438135147095, -0.7756168246269226, 0.4105145037174225, 0.24413296580314636, 0.684066653251648, 0.09319386631250381, -0.07263551652431488, 0.845091700553894, -0.804838240146637, 0.4115917384624481, 0.05090612173080444, -0.40686509013175964, 0.26130515336990356, -0.25246211886405945, 0.526270866394043, 0.4524027407169342, 0.6532914042472839, -0.6939519047737122, -0.015996795147657394, -0.5427627563476562, -1.0701898336410522, 0.2293282300233841, -0.3829769790172577, 0.10316982120275497, -0.17505361139774323, 0.5500965714454651, 0.3225880265235901, 0.16405364871025085, -0.06763001531362534, 0.007570923306047916, 0.1928597241640091, 0.3082730174064636, -0.3129366338253021, -0.3261708617210388, -0.0557778924703598, -0.28724533319473267, 0.5772414207458496, -0.14133810997009277, 0.47884446382522583, 0.2443394511938095, 0.1262974739074707, -0.1718238890171051, 0.2208554744720459, 0.18811962008476257, 0.7803115248680115, -0.5437984466552734, 0.08464302122592926, 0.07375882565975189, -0.4258638918399811, -0.10711986571550369, 0.16885240375995636, -0.053171396255493164, 0.22780287265777588, 0.07319100946187973, 0.4616785943508148, 0.1490660309791565, -0.8988621830940247, 0.31095585227012634, -0.02583339624106884, -0.008296511135995388, -0.4039630889892578, 0.0618009977042675, 0.4505270719528198, 0.2792750597000122, 0.6187485456466675, 0.004545337520539761, 0.17203117907047272, -0.7379066944122314, 0.4625810384750366, 0.6891864538192749, -0.14072394371032715, -0.14040672779083252, 0.3920126259326935, -0.09308411180973053, -0.6065574288368225, 0.46191924810409546, -0.0705905631184578, -0.32728686928749084, 0.10314610600471497, 0.7744469046592712, 0.7091189622879028, -0.3359999358654022, 0.29778555035591125, 0.4538877606391907, -0.08129390329122543, -0.0403665192425251, 0.23611178994178772, -0.2792999744415283, -0.6632505059242249, -0.5099197626113892, -1.090820550918579, -0.32677075266838074, 0.3476182818412781, -0.48179706931114197, 0.04176439344882965, -0.44982603192329407, -0.3026775121688843, -0.06478067487478256, 0.17184452712535858, -0.40766292810440063, -0.10420960187911987, 0.24118821322917938, 1.0397828817367554, -0.4892136752605438, 1.037192702293396, 0.7016493082046509, 0.10980596393346786, -0.17967140674591064, 0.20630377531051636, -0.5591469407081604, -0.7038407921791077, 0.2971457540988922, 0.1538405567407608, -0.1678265482187271, -0.18013456463813782, -0.5007074475288391, -0.9704756736755371, 1.1585280895233154, 0.1052948608994484, -0.4323136508464813, -0.5163024067878723, -0.3548981845378876, 0.7456235289573669, -0.28211021423339844, -0.023641042411327362, 0.6505917906761169, 0.048366397619247437, 0.24201686680316925, -0.7360197901725769, -0.29081040620803833, -0.17408782243728638, -0.08151554316282272, 0.5869830250740051, -0.865700900554657, 0.7111395001411438, -0.42500948905944824, 0.08289901912212372, 0.10223809629678726, 0.4660922884941101, 0.45415663719177246, 0.22006992995738983, 0.26926347613334656, 0.690635621547699, 0.9125707745552063, 0.20472712814807892, 0.8453609347343445, -0.25207433104515076, 0.1675727218389511, 1.4401434659957886, -0.08023017644882202, 1.1711550951004028, 0.8626708984375, 0.09020411223173141, 0.7404228448867798, 0.12323687970638275, 0.3878515362739563, 0.572791337966919, 0.050949811935424805, -0.17743127048015594, -0.445850670337677, -0.22822263836860657, -0.16715162992477417, 0.5727155804634094, 0.4975722134113312, -0.1939544826745987, -0.22436858713626862, 0.040844615548849106, -0.07384535670280457, 0.056384969502687454, -0.05773642659187317, 0.7297325134277344, 0.2023269087076187, -0.569037675857544, 0.7515303492546082, -0.3267509341239929, 0.7337056994438171, -0.7680373787879944, -0.19282856583595276, -0.03924928233027458, 0.2740182876586914, 0.20898281037807465, -0.6628832817077637, -0.02723945491015911, -0.334729939699173, 0.13332630693912506, -0.2418157160282135, 0.649620532989502, -0.6705667972564697, -0.005733121186494827, 0.5177929997444153, 0.4948924779891968, -0.07526607811450958, 0.15825852751731873, -0.6661801934242249, -0.029238764196634293, -0.243535116314888, -0.397838830947876, 0.4817013144493103, 0.5071505904197693, 0.13965177536010742, 0.8359988331794739, 0.4532660245895386, 0.2704008221626282, -0.030857082456350327, -0.2220357060432434, 0.7528671622276306, -0.9231773614883423, -0.5065065026283264, -0.5487763285636902, 0.1949908584356308, -0.03308345377445221, -0.1319284290075302, 0.5832473635673523, 0.6146096587181091, 0.5544624328613281, 0.02309427224099636, 0.6287644505500793, -0.15672865509986877, 0.7704744935035706, -0.07842056453227997, 0.6293885707855225, -0.47704023122787476, -0.08403057605028152, -0.14207836985588074, -0.881040632724762, -0.137990802526474, 0.5409901738166809, -0.4144010841846466, -0.12233170121908188, 0.8193783760070801, 0.6361276507377625, 0.034148264676332474, -0.3506663143634796, 0.5786831974983215, 0.39045873284339905, 0.41774576902389526, 0.9233077764511108, 0.7867875695228577, -0.3113628923892975, 0.5329891443252563, -0.3209424316883087, -0.3476259708404541, -0.22469346225261688, -0.6087160706520081, -0.7488571405410767, -0.5974692106246948, -0.14750376343727112, -0.28140848875045776, 0.13281838595867157, 0.9255490899085999, 0.46820494532585144, -0.42341718077659607, -0.2169421911239624, 0.17381323873996735, -0.16433550417423248, -0.021706748753786087, -0.20264022052288055, 0.20931747555732727, -0.7082164287567139, -0.35398757457733154, 0.48667097091674805, 0.5548652410507202, -0.1427960842847824, -0.2511085569858551, -0.00545021565631032, -0.5834643840789795, 0.06370573490858078, 0.5453794002532959, 0.44131943583488464, -0.40525588393211365, -0.22413356602191925, 0.24075911939144135, -0.15388061106204987, 0.34825488924980164, 0.7909215092658997, -1.081653118133545, 0.6160224676132202, 0.7863271236419678, 0.9526534080505371, 0.6220948100090027, 0.08591622114181519, 0.32008153200149536, -0.050690993666648865, 0.1493569165468216, 0.663515031337738, 0.38819143176078796, 0.38145098090171814, -0.26787951588630676, 0.11008381098508835, 0.011606195010244846, -0.9339690804481506, -0.5757036805152893, 0.1764736920595169, -0.8700342774391174, -0.4345369040966034, 1.2425436973571777, 0.021642375737428665, -0.6746777892112732, -0.045174941420555115, -0.12436848878860474, -0.010118127800524235, -0.3001587986946106, 1.153550386428833, 0.5415053367614746, -0.21426288783550262, -0.05493137240409851, -0.46558964252471924, 0.39656922221183777, 0.5772475004196167, -0.7097086906433105, 0.2703452408313751, 0.6602143049240112, 0.3973175287246704, 0.4833671450614929, 0.6152825355529785, -0.23869088292121887, 0.388835608959198, 0.023105688393115997, 0.019762072712183, 0.2595176100730896, -0.5856226682662964, -0.16757231950759888, 0.35511577129364014, 0.24146513640880585, -0.07016408443450928 ]
http://arxiv.org/abs/2405.20347v1
http://arxiv.org/pdf/2405.20347v1
Small Language Models for Application Interactions: A Case Study
2024-05-23T17:33:32
2024-05-23T17:33:32
Beibin Li, Yi Zhang, Sébastien Bubeck, Jeevan Pathuri, Ishai Menache
cs.CL
cs.CL, cs.AI, cs.LG
We study the efficacy of Small Language Models (SLMs) in facilitating application usage through natural language interactions. Our focus here is on a particular internal application used in Microsoft for cloud supply chain fulfilment. Our experiments show that small models can outperform much larger ones in terms of both accuracy and running time, even when fine-tuned on small datasets. Alongside these results, we also highlight SLM-based system design considerations.
[ -0.24408094584941864, -0.6301131248474121, 0.6724417209625244, 0.008107234723865986, -0.16395536065101624, -0.06172681227326393, -0.4238913059234619, -0.8882727026939392, 0.0370735302567482, 0.5201077461242676, -0.6336864829063416, -0.18509164452552795, 0.146399587392807, 0.06716766208410263, -0.544601559638977, 0.7052255272865295, -0.011836839839816093, -0.04806539788842201, -0.47475412487983704, -0.11809729784727097, -0.7425052523612976, -0.7574976682662964, -0.9813647270202637, -0.7083501219749451, 0.3528415858745575, 0.7094504833221436, 1.2890368700027466, 0.46435728669166565, 0.8036524057388306, 0.32474321126937866, -0.14948713779449463, 0.010759192518889904, -0.2754559814929962, -0.02788802981376648, -0.3082900643348694, -0.615096926689148, -0.1812896579504013, -0.15755201876163483, 0.3640598654747009, 0.6883713603019714, -0.6647032499313354, 0.33170682191848755, 0.12368189543485641, 0.7128252983093262, -0.4962632358074188, -0.08782268315553665, -0.6460089683532715, 0.0931444987654686, -0.0036591042298823595, 0.3451210558414459, -0.43821442127227783, -0.1463364213705063, 0.2828451097011566, -0.2907727062702179, 0.35601726174354553, 0.3710640072822571, 0.775539219379425, -0.11201683431863785, -0.24806343019008636, -0.8754235506057739, -1.0791045427322388, 1.0514070987701416, -1.1650702953338623, 0.15254651010036469, 0.5959970951080322, 0.3386828601360321, -0.2506791949272156, -0.9146662354469299, -0.4620538055896759, -0.42981916666030884, -0.7144272327423096, -0.4817065894603729, -0.47465869784355164, 0.21958981454372406, 0.18261538445949554, 0.5437176823616028, -0.44170862436294556, 0.27096298336982727, -0.5355691909790039, 0.22251269221305847, 0.6711347103118896, 0.7344201803207397, 0.431105375289917, 0.001725394744426012, -0.22368232905864716, 0.3780926465988159, -0.6296371817588806, 0.13473109900951385, -0.010604573413729668, 0.8245010375976562, -0.2044014036655426, 0.6523213982582092, 0.051108118146657944, 1.1284801959991455, -0.263379842042923, 0.04365452006459236, -0.4139908254146576, -0.5745139122009277, -0.7685774564743042, 0.027089470997452736, 0.6522067189216614, 0.12669074535369873, 0.007795429788529873, -0.1826540231704712, -0.3908509314060211, 0.21485215425491333, 0.7017737030982971, -0.6358323097229004, -0.15585365891456604, 0.2504937946796417, -0.5483512878417969, -0.33090317249298096, 0.01887998729944229, -0.6222633719444275, -0.49922114610671997, -0.5653756260871887, 0.33523377776145935, -0.05701623857021332, 0.08641881495714188, -0.023236004635691643, 0.11105089634656906, 0.06338141113519669, 0.10247872024774551, -0.8044558763504028, 1.0508490800857544, 0.7867105603218079, 1.1036865711212158, -0.28228560090065, -0.17197853326797485, -0.5901988744735718, 0.33989620208740234, -0.4136001467704773, 0.4878848195075989, -0.4130592346191406, -0.2645050287246704, 0.19571472704410553, 0.037203945219516754, -0.01648079790174961, -0.941314160823822, 0.29166895151138306, -0.3564261794090271, -0.07662546634674072, -0.15117181837558746, -0.6042127013206482, 0.09529148042201996, 0.13479934632778168, -0.5826594233512878, 0.8145978450775146, -0.0052413418889045715, -0.2907197177410126, 0.1690872311592102, -0.7377368211746216, -0.5728752017021179, 0.27999553084373474, -0.19113001227378845, -0.24686706066131592, 0.6814952492713928, -0.39476504921913147, 0.3778053820133209, -0.3702586591243744, -0.13615721464157104, -0.3671965003013611, -0.41445866227149963, 0.14428728818893433, 0.2400793731212616, 0.3579373061656952, 0.4104687571525574, -0.1043444573879242, 0.061651330441236496, -0.5468703508377075, 0.1993623524904251, 0.1220882385969162, 0.031858135014772415, -0.5922299027442932, 0.12094839662313461, 0.10039874911308289, 0.41757383942604065, 0.10456568747758865, -0.2515084445476532, 0.2944195866584778, -0.5234388113021851, 0.7784935832023621, 0.2675650417804718, -0.04586813598871231, 0.8292394876480103, -0.288929283618927, 0.8529314994812012, -0.06425122171640396, 0.2972075939178467, 0.0955616906285286, -0.5357957482337952, -0.8265941739082336, 0.01845022290945053, 0.24287885427474976, 0.19818450510501862, -0.8190410733222961, -0.22358721494674683, 0.1548791080713272, -0.5288633108139038, -0.38418900966644287, 0.6195688843727112, 0.09814051538705826, 0.16569821536540985, -0.04064156115055084, -0.18689027428627014, -0.6051369905471802, -1.1819491386413574, -0.33750513195991516, -0.2783496081829071, -0.026138942688703537, 0.5201225876808167, 0.3475439250469208, -0.5167174339294434, 1.4599050283432007, -0.5226023197174072, -0.45787563920021057, -0.4231550991535187, 0.1757325530052185, 0.25368326902389526, 0.29950234293937683, 0.6844902634620667, -0.6341351270675659, -0.6363971829414368, 0.2278083860874176, -0.593416690826416, -0.0028463236521929502, -0.0923122838139534, -0.04730577394366264, 0.3844964802265167, 0.13178618252277374, -0.644967257976532, 0.677412211894989, 0.5606722831726074, -0.2965272068977356, 0.2345999926328659, -0.5949345827102661, -0.31426334381103516, -0.7742927074432373, -0.2339792102575302, 0.24430403113365173, -0.386113703250885, -1.1117312908172607, 0.06559675931930542, 0.12868691980838776, -0.4623069167137146, -0.8836352229118347, 0.4912460148334503, -0.5911353230476379, -0.3988915979862213, -0.5080700516700745, 0.24112534523010254, 0.012461967766284943, -0.0055792550556361675, 0.20635056495666504, 0.8904041051864624, 0.12451113760471344, -0.8050202131271362, 0.10860428959131241, 0.06673558801412582, -0.3740675151348114, 0.6469849348068237, -0.8680022954940796, 0.12480185180902481, 0.013889593072235584, -0.35145097970962524, -0.8088506460189819, 0.01697630062699318, -0.20479758083820343, 0.25308284163475037, -0.10647006332874298, -0.14844080805778503, -0.8377188444137573, -0.7226256132125854, -0.05253036692738533, -0.15218377113342285, 0.42037859559059143, -0.5246265530586243, 0.5330080389976501, 0.397047221660614, -0.054437123239040375, 0.38512349128723145, -1.062493920326233, 0.18258939683437347, -0.33486154675483704, -0.7329220771789551, 0.046284452080726624, -0.26830407977104187, -0.5679636001586914, -0.1868819147348404, 0.15075252950191498, -0.4005107581615448, 0.16687814891338348, 0.37205401062965393, 0.160987988114357, -0.2875252962112427, 0.15126994252204895, -0.4750903844833374, 0.1449999213218689, -0.12273415178060532, 0.1547672152519226, 0.34680798649787903, -0.582063615322113, -0.20477394759655, -0.5167977213859558, 0.608728289604187, 0.6207122206687927, 0.3604971170425415, 1.1109099388122559, 0.09543080627918243, -0.7870064377784729, -0.2187989205121994, -0.2363407164812088, -0.38490697741508484, -0.5993340611457825, -0.15690171718597412, -0.2993640601634979, -0.5674306154251099, 0.5148671865463257, 0.2996043562889099, -0.1971571445465088, 0.17851801216602325, 0.4636814296245575, -0.2692756950855255, 1.1182547807693481, 1.0916630029678345, -0.16985833644866943, 0.5095569491386414, -0.16806282103061676, 0.5705022811889648, -0.5266587138175964, -0.0021946313790977, -0.5815047025680542, -0.3340928554534912, -0.245832622051239, -0.10575873404741287, -0.00963614508509636, 0.66279137134552, -0.160434752702713, 0.6068729162216187, -0.31495770812034607, 0.38725215196609497, 0.22287438809871674, -0.36113032698631287, 0.3601486086845398, 0.04148062318563461, -0.003955969586968422, -0.33282750844955444, -1.1242482662200928, -0.9794371724128723, 0.1583097279071808, 0.5034708380699158, 1.0987106561660767, 0.40462034940719604, 0.3997088670730591, 0.5767810940742493, 0.5720415115356445, -0.7215657830238342, 0.4563434422016144, -0.24558785557746887, -0.39719608426094055, 0.04265217483043671, -0.26615816354751587, -1.129710078239441, 0.1189332902431488, -0.03634067624807358, -1.1251420974731445, 0.16953936219215393, 0.41626420617103577, -0.43324559926986694, 0.06222154200077057, -1.4099303483963013, 0.9741561412811279, -0.44168198108673096, -0.37323352694511414, -0.04058361053466797, -0.23904572427272797, 0.11772845685482025, 0.18535451591014862, 0.553522527217865, 0.24985651671886444, -0.1872836947441101, 0.4381965100765228, -1.00301992893219, 1.0097988843917847, 0.09308688342571259, -0.2268650233745575, 0.42293110489845276, 0.16988669335842133, 0.8748571276664734, -0.22248129546642303, -0.13667818903923035, 0.08002002537250519, 0.247754767537117, -0.21600234508514404, -0.576187789440155, 1.0198503732681274, -0.42537519335746765, -0.2816798686981201, -0.5627695918083191, -0.40990903973579407, -0.2952425479888916, 0.1968923807144165, -0.15840765833854675, 0.07355061173439026, -0.05123570188879967, 0.2688881456851959, 0.054018519818782806, 0.10615817457437515, 0.7650164365768433, 0.9385064840316772, -0.5017362236976624, -0.06300465762615204, 0.6125580668449402, 0.2764814496040344, 0.5475183129310608, -0.08375008404254913, 0.41162464022636414, -0.12390200048685074, -0.2995327413082123, -0.39792370796203613, 0.1379723846912384, -0.5975428223609924, -0.2951350212097168, -0.3458367884159088, -0.13999545574188232, -0.06958916038274765, -0.35285478830337524, -0.4306190013885498, -0.1222158670425415, -0.46857258677482605, 0.08354701846837997, 0.46863892674446106, 1.3422647714614868, 0.37318935990333557, 0.8938808441162109, -0.8280776143074036, 0.12514296174049377, 0.2784334719181061, 0.6075119972229004, 0.20720817148685455, -0.04239272326231003, -0.661208987236023, 0.3438465893268585, -0.2211504876613617, -0.9532437324523926, 0.5085678696632385, 0.2621753215789795, 0.5824766159057617, 0.28269898891448975, -0.09914862364530563, 0.8168843388557434, -0.48094335198402405, 1.3021323680877686, 0.14789457619190216, -1.0365147590637207, 0.5735916495323181, -0.2016376405954361, 0.43609389662742615, 0.4043255150318146, 0.14989590644836426, -0.6508410573005676, -0.3106360137462616, -0.7811669707298279, -0.8190270066261292, 1.0241472721099854, 0.5169320106506348, -0.12271694839000702, 0.097227081656456, 0.4323694109916687, -0.13115225732326508, 0.7301074862480164, -0.42481371760368347, -0.4896363914012909, 0.5828500390052795, -0.2621282637119293, -0.3754459023475647, -0.39992523193359375, 0.029596757143735886, -0.19624365866184235, 0.7456504106521606, -0.17358803749084473, 0.0845380648970604, -0.2924286425113678, -0.13581351935863495, -0.21753761172294617, 0.18939146399497986, 0.8730587363243103, 0.8719834089279175, 0.03985576331615448, 0.2801873981952667, 0.29366910457611084, -0.3883347511291504, -0.13700243830680847, -0.445780485868454, -0.2802959382534027, 0.1798797845840454, -0.0848597064614296, 0.6514257788658142, 0.23813951015472412, -0.7898064851760864, 0.27975994348526, -0.3699253797531128, 0.3950163424015045, -0.28311535716056824, -0.12579669058322906, 0.2790893316268921, 0.19287936389446259, 0.15158121287822723, -0.204396054148674, 0.1580779254436493, -0.7064225077629089, 0.0988169014453888, 0.6544211506843567, -0.5206795334815979, -0.08956944197416306, 0.3250356912612915, -0.08509600162506104, -0.8920800685882568, 0.4177856743335724, -0.0020489159505814314, -0.39282336831092834, 0.6751177906990051, 0.8366491198539734, 0.6884732246398926, -0.003049793653190136, 0.18569819629192352, -0.20302651822566986, 0.7591406106948853, -0.30408981442451477, 0.30161044001579285, 0.06417565792798996, -0.392302542924881, 0.013553915545344353, -0.46206584572792053, -0.7118079662322998, 0.28602156043052673, -0.7064475417137146, 0.38390564918518066, -0.27544376254081726, -0.3749038875102997, 0.03709468990564346, 0.2562088966369629, -0.9242629408836365, 0.1969134360551834, 0.12114472687244415, 0.8638779520988464, -0.8657525777816772, 0.9302260279655457, 1.0499138832092285, -0.35647180676460266, -0.6850007176399231, -0.5504921674728394, -0.04600326716899872, -0.30681130290031433, 0.4535663425922394, -0.1278456151485443, -0.17520685493946075, -0.4866936206817627, -0.3092970848083496, -0.7922842502593994, 0.9325950145721436, 0.3791554868221283, -0.7671849727630615, 0.3740079998970032, 0.6530803442001343, 0.9870327115058899, -0.8817709684371948, 0.07331535965204239, 0.8326835036277771, 0.09265900403261185, -0.2055383324623108, -0.8080969452857971, -0.18410451710224152, -0.19290176033973694, 0.7498816251754761, 0.19181932508945465, -0.5961025953292847, 0.7302942872047424, 0.09264053404331207, -0.14050956070423126, 0.30891838669776917, 0.6670044660568237, 0.1361299753189087, 0.6243764758110046, 0.4534594714641571, 0.21544931828975677, 0.8517178893089294, 0.15984296798706055, 1.2961900234222412, -0.37422680854797363, 0.5842245817184448, 1.508366584777832, -0.6591803431510925, 1.1354122161865234, 1.0069804191589355, -0.30270916223526, 0.5133023858070374, 0.5398633480072021, 0.330662339925766, 0.4396804869174957, 0.30764317512512207, -0.1495511531829834, 0.12098836153745651, -0.25550225377082825, -0.15154345333576202, -0.11126889288425446, 0.4910717308521271, -0.3452308475971222, 0.008852328173816204, 0.17156800627708435, -0.2433323860168457, 0.137719064950943, -0.572763979434967, 0.8244670629501343, 0.43703216314315796, -0.20293088257312775, 0.33362457156181335, 0.16320890188217163, 0.41467586159706116, -0.5408132672309875, 0.09168198704719543, -0.032503314316272736, 0.4902664124965668, -0.38294708728790283, -0.7065801620483398, 0.7747536897659302, 0.03030768409371376, -0.5381773710250854, -0.21873976290225983, 1.0900604724884033, -0.5239324569702148, -0.6088378429412842, 0.19304797053337097, 0.23432214558124542, -0.12337242811918259, 0.07735255360603333, -0.5565529465675354, 0.4231991171836853, -0.5325865745544434, -0.012534093111753464, 0.478885293006897, 0.08567894995212555, -0.1405850648880005, 0.8233428597450256, 0.4001713693141937, 0.15545424818992615, 0.21424849331378937, 0.027251731604337692, 0.38262102007865906, -0.5736690759658813, -0.8972733616828918, -0.8747401833534241, 0.35189783573150635, -0.2942478358745575, 0.23515969514846802, 1.1377383470535278, 0.7128801345825195, 0.5664137601852417, -0.33743008971214294, 0.4999903440475464, 0.16659781336784363, 0.3966594934463501, -0.21853800117969513, 0.5833808183670044, -0.47230198979377747, 0.6450183391571045, -0.21657654643058777, -0.5656754374504089, 0.05356709286570549, 0.6697216033935547, -0.3948599100112915, -0.036352191120386124, 0.6003677845001221, 0.6459882259368896, -0.2585752010345459, 0.5927082896232605, 0.34666091203689575, 0.17943456768989563, 0.20242060720920563, 0.5136748552322388, 0.8495230674743652, -0.5075330138206482, 0.16470955312252045, -0.6876357197761536, 0.2282707393169403, -0.27385619282722473, -1.1830695867538452, -0.8429253697395325, -0.24579176306724548, -0.3956596851348877, -0.37883031368255615, -0.06709747761487961, 1.0933796167373657, 0.9527850151062012, -0.9533493518829346, -0.8772547245025635, -0.24345092475414276, 0.24502798914909363, -0.44081196188926697, -0.24347302317619324, -0.281586229801178, -0.27312955260276794, -0.3879825174808502, 0.3497692942619324, 0.23257216811180115, 0.25292208790779114, -0.42068615555763245, -0.273218035697937, -0.18751516938209534, 0.31700974702835083, 0.8132991790771484, 0.3346540331840515, -0.5613312721252441, -0.20758795738220215, -0.2607845366001129, -0.3072933852672577, -0.15798582136631012, 1.2993290424346924, -0.7201087474822998, 0.25393205881118774, 0.28812605142593384, 0.4908629357814789, 0.4973887801170349, -0.11924146115779877, 0.7406429648399353, -0.9349772334098816, 0.28721559047698975, -0.005201159045100212, 0.35863983631134033, 0.38459834456443787, -0.654238224029541, 0.5439611077308655, -0.017782727256417274, -0.4236859083175659, -1.0853387117385864, 0.2576134204864502, -0.734868586063385, -0.08830336481332779, 1.232048749923706, 0.2268199920654297, -0.23508283495903015, -0.005704123061150312, -0.249380961060524, -0.45612338185310364, -0.24270868301391602, 0.43089404702186584, 0.8409253358840942, -0.24052970111370087, -0.16494719684123993, -0.8825856447219849, 0.6456368565559387, 0.23324495553970337, -0.9442102313041687, -0.021015416830778122, 0.2925964295864105, 0.10700806975364685, 0.1682787984609604, 0.4863685965538025, 0.47790029644966125, -0.09519001841545105, -0.44130924344062805, -0.36093658208847046, 0.18694746494293213, -0.30365121364593506, -0.7360396385192871, 0.23320668935775757, 0.37625062465667725, 0.017709633335471153 ]
http://arxiv.org/abs/2405.14808v1
http://arxiv.org/pdf/2405.14808v1
Implicit Personalization in Language Models: A Systematic Study
2024-05-23T17:18:46
2024-05-23T17:18:46
Zhijing Jin, Nils Heil, Jiarui Liu, Shehzaad Dhuliawala, Yahang Qi, Bernhard Schölkopf, Rada Mihalcea, Mrinmaya Sachan
cs.CL
cs.CL, cs.AI, cs.CY, cs.HC, cs.LG
Implicit Personalization (IP) is a phenomenon of language models inferring a user's background from the implicit cues in the input prompts and tailoring the response based on this inference. While previous work has touched upon various instances of this problem, there lacks a unified framework to study this behavior. This work systematically studies IP through a rigorous mathematical formulation, a multi-perspective moral reasoning framework, and a set of case studies. Our theoretical foundation for IP relies on a structural causal model and introduces a novel method, indirect intervention, to estimate the causal effect of a mediator variable that cannot be directly intervened upon. Beyond the technical approach, we also introduce a set of moral reasoning principles based on three schools of moral philosophy to study when IP may or may not be ethically appropriate. Equipped with both mathematical and ethical insights, we present three diverse case studies illustrating the varied nature of the IP problem and offer recommendations for future research. Our code and data are at https://github.com/jiarui-liu/IP.
[ -0.19974827766418457, -0.930683970451355, 0.8343692421913147, 0.5022090077400208, 0.11864485591650009, -0.09990517795085907, 0.10749828815460205, -0.382066547870636, -0.24629290401935577, 0.3890243172645569, -0.5011749267578125, -0.3746303617954254, -0.47802549600601196, -0.003810037625953555, -0.18540029227733612, 1.2206801176071167, 0.044745512306690216, 0.20641116797924042, 0.031054366379976273, -0.25562962889671326, -0.6572038531303406, -0.5098277926445007, -1.1288950443267822, -0.0921611413359642, 0.660918116569519, 0.41350874304771423, 0.2424239218235016, 0.7752634286880493, 0.38231202960014343, 0.3623183071613312, -0.1681412160396576, -0.3618954122066498, -0.6373704671859741, 0.3041938841342926, -0.5040280222892761, -0.4394585192203522, -0.09932007640600204, 0.21105767786502838, 0.7707085013389587, 0.7920689582824707, 0.18456952273845673, 0.223318412899971, 0.015062636695802212, 0.6868254542350769, -0.7484998106956482, -0.029386896640062332, -0.3523928225040436, 0.15527068078517914, -0.06654662638902664, -0.06197226047515869, -0.47077512741088867, -0.6602860689163208, 0.404331237077713, -0.5069553256034851, 0.0832396000623703, 0.2193463146686554, 0.5109630227088928, 0.12205098569393158, -0.6699610948562622, -0.18240413069725037, -1.1363476514816284, 0.8376615643501282, -0.36773303151130676, 0.043387770652770996, 0.5586100816726685, 0.017501717433333397, 0.07426553219556808, -0.6651697158813477, -0.4767303466796875, -0.28212541341781616, -0.22786596417427063, 0.05927077308297157, -0.27602118253707886, 0.21598544716835022, 0.3978550434112549, 0.12557746469974518, -0.10664644092321396, -0.004217811860144138, -0.3770247995853424, 0.10229653865098953, 0.446010559797287, 0.14451207220554352, 0.780975341796875, 0.13681186735630035, -0.2929137051105499, 0.23276980221271515, -0.9377337098121643, 0.5843654274940491, 0.8758911490440369, 0.006993574555963278, -0.27670323848724365, 0.6074401140213013, -0.10477114468812943, 0.494618684053421, 0.4262400269508362, 0.06327389180660248, -0.07106943428516388, -0.34372422099113464, 0.03310825675725937, 0.41531166434288025, 0.6789575219154358, 0.1187957152724266, 0.5730175375938416, 0.19488093256950378, 0.1059524342417717, -0.33946293592453003, 0.12740857899188995, -0.8011979460716248, 0.10345147550106049, 0.4178946614265442, -0.4700184762477875, -0.49653035402297974, 0.21556447446346283, -0.2586061358451843, -0.3457252085208893, -0.39313963055610657, -0.07442386448383331, -0.3517644703388214, -0.23046645522117615, -0.11542753130197525, -0.09695464372634888, 0.0833493322134018, 0.1838112622499466, -0.7464984655380249, 0.28087878227233887, 0.6403598189353943, 0.7601646780967712, 0.003970046062022448, -0.4437733292579651, -0.650651752948761, 0.6601018309593201, -0.25243279337882996, 0.658094048500061, -0.8809319734573364, -0.5044999718666077, 0.09419121593236923, -0.0899428203701973, 0.06443873792886734, -0.046980760991573334, 0.6767827272415161, -0.3918384611606598, 0.590364933013916, -0.39960989356040955, -0.3552682399749756, -0.2756039798259735, -0.10517941415309906, -0.471596896648407, 0.5315237641334534, -0.3655361533164978, -0.96207195520401, 0.27142152190208435, -0.9839656949043274, -0.3575224280357361, 0.03254440426826477, -0.13866600394248962, -0.28887149691581726, 0.38050898909568787, -0.2244059145450592, 0.33109408617019653, -0.2750576138496399, 0.697516143321991, -0.5726098418235779, -0.5381706357002258, 0.28096872568130493, -0.43127042055130005, 0.9261735677719116, 0.06105663999915123, -0.5109452605247498, 0.24801714718341827, -0.6896468997001648, -0.09290914982557297, 0.2645520269870758, -0.040138475596904755, -0.8051213622093201, 0.33145812153816223, -0.12604011595249176, 0.1492101103067398, 0.21736587584018707, -0.6316620111465454, 0.011887503787875175, -0.49122974276542664, 0.23240652680397034, 1.2355996370315552, -0.0033084324095398188, 0.5608924627304077, -0.16994626820087433, 0.20743337273597717, 0.016300180926918983, 0.2687102258205414, -0.2961285710334778, -0.5051018595695496, -0.4893004894256592, -0.40221738815307617, 0.047910597175359726, 0.5887112021446228, -0.22297702729701996, 0.06084376573562622, -0.10957236588001251, 0.2915324866771698, -0.22987833619117737, -0.17119593918323517, 0.8228688836097717, 0.6129617691040039, 0.11210323870182037, -0.060575611889362335, -0.18286177515983582, -1.2332878112792969, -0.5667769312858582, -0.5398882627487183, -0.06637360155582428, 0.8123779892921448, 0.45255357027053833, 0.08405431360006332, 1.0645860433578491, -0.5735940933227539, -0.3020046055316925, -0.01545440312474966, 0.4820316433906555, 0.10734596103429794, 0.7647226452827454, 0.5104939341545105, -0.9504231810569763, -0.7289381623268127, 0.07370895892381668, -0.8775531649589539, -0.4502589702606201, -0.14317774772644043, -0.0516945980489254, -0.31406477093696594, 0.5108970999717712, -0.0727524682879448, 0.5139579176902771, 0.4525114893913269, -0.6058796048164368, 0.40965965390205383, -0.23226900398731232, 0.14070285856723785, -1.0246793031692505, 0.2819252014160156, 0.138462632894516, 0.11449626833200455, -0.8576781153678894, -0.05000855773687363, -0.2583709955215454, -0.07504547387361526, -0.6936829686164856, 0.9881571531295776, -0.2582395672798157, 0.21516093611717224, -0.33444857597351074, -0.23070035874843597, -0.09839888662099838, 0.6017739176750183, -0.08155173063278198, 0.9248400926589966, 0.39321771264076233, -0.5012728571891785, 0.10945888608694077, 0.036927323788404465, 0.16282321512699127, 0.9870214462280273, -1.1326299905776978, 0.4016014635562897, -0.5392457246780396, 0.14689385890960693, -0.8961047530174255, -0.23174946010112762, 0.7301896810531616, -0.21007351577281952, -0.018671078607439995, -0.5863443613052368, -0.2826497554779053, 0.27538400888442993, -0.46627670526504517, 0.7721007466316223, 0.2542073428630829, -0.534269392490387, 0.6795564889907837, 0.23396722972393036, -0.5330967307090759, -0.6683861613273621, -0.30283525586128235, -0.033784572035074234, -0.42925143241882324, -0.5682612657546997, 0.5524423122406006, -0.4322243332862854, -0.6118678450584412, 0.2637206017971039, 0.11257986724376678, -0.4244740903377533, 0.23607544600963593, 0.3099218010902405, -0.05164635181427002, -0.17235006392002106, -0.03762759640812874, 0.46303287148475647, -0.30177807807922363, 0.2476784884929657, -0.24537862837314606, 0.25064975023269653, -0.5288899540901184, -0.5464111566543579, -0.6932264566421509, 0.8680853247642517, 0.21262143552303314, -0.2238621711730957, 0.8262205719947815, 0.3020206391811371, -0.3492472469806671, 0.08368618041276932, -0.5494356155395508, 0.08062545210123062, -0.500679612159729, 0.09362883120775223, -0.473708838224411, -0.7364764213562012, 0.5127741694450378, -0.25119146704673767, -0.2636236250400543, 0.09060007333755493, 0.322713702917099, -0.2741757333278656, 1.4839493036270142, 0.9849568009376526, 0.0428900383412838, 0.6826356649398804, 0.04364735633134842, 0.18454596400260925, -1.0576421022415161, -0.35561150312423706, -0.4900175929069519, -0.16046524047851562, -0.7758792638778687, 0.24631890654563904, 0.30233630537986755, 0.2565724849700928, -0.7129372358322144, -0.24974916875362396, -0.30514082312583923, 0.7567241787910461, 0.7250076532363892, 0.06989142298698425, 0.384024441242218, -0.15006978809833527, -0.4017212688922882, -0.06805843859910965, -0.2966933846473694, -0.5637896656990051, 0.8170153498649597, 0.2589746415615082, 0.6177815198898315, 0.45631763339042664, 0.37548020482063293, 0.3826161026954651, 0.4618516266345978, -0.5019043684005737, 0.4257965087890625, 0.019076675176620483, -0.8031076192855835, -0.24094505608081818, -0.2064865082502365, -1.043550729751587, 0.12234659492969513, 0.006151452660560608, -1.1589027643203735, 0.47481945157051086, 0.3023178279399872, -0.18524537980556488, 0.05623000115156174, -0.8966355919837952, 0.6197699308395386, -0.40040549635887146, -0.9891709089279175, -0.14570358395576477, -0.6389493942260742, 0.493264377117157, -0.2566586136817932, 0.020545167848467827, -0.25540292263031006, -0.038015253841876984, 0.2965990900993347, -0.19762663543224335, 1.2482298612594604, -0.24039147794246674, 0.0851878896355629, -0.08942680805921555, 0.10416688770055771, 0.7045393586158752, 0.42237743735313416, 0.10153696686029434, 0.28486761450767517, -0.16926148533821106, -0.3227919638156891, -0.5593486428260803, 0.9442769885063171, -0.7251591682434082, -1.0185388326644897, -0.6744561195373535, -0.41153717041015625, -0.1219864934682846, 0.5583276152610779, 0.024532202631235123, 0.16893136501312256, -0.42946141958236694, 0.2916785776615143, 0.8806905746459961, -0.6171974539756775, 0.356540709733963, 0.7703691124916077, -0.06890513002872467, -0.2824477255344391, 0.8880505561828613, -0.2147490680217743, -0.044863421469926834, 0.3025716245174408, 0.74455326795578, -0.1864021122455597, -0.42731520533561707, -0.2486058473587036, 0.33059170842170715, -0.7675734758377075, 0.3016906678676605, -0.6886753439903259, -0.06583871692419052, -0.009954972192645073, -0.382367342710495, -0.21503125131130219, 0.0712023675441742, -0.30060428380966187, 0.08529196679592133, 0.03961799666285515, 0.8176626563072205, -0.03142564371228218, 0.3472967743873596, -0.3658353388309479, 0.1954336315393448, 0.40676242113113403, 0.6118051409721375, -0.2718929350376129, -0.18656733632087708, 0.14382271468639374, 0.1692771166563034, -0.09507099539041519, -0.7789641618728638, 0.09378911554813385, 0.12274045497179031, 0.6455335021018982, 0.6390210390090942, -0.053625933825969696, 0.5829216837882996, -1.003788709640503, 0.5683098435401917, 0.18112461268901825, -1.3325265645980835, 0.7157744765281677, -0.49646052718162537, 0.08839740604162216, 0.5088215470314026, 0.6350187659263611, -0.6412625908851624, -0.345104455947876, -0.5832234621047974, -0.8278608322143555, 0.8384075164794922, 0.3923485279083252, 0.5534542202949524, 0.19434842467308044, 0.5670788288116455, -0.08300714939832687, 0.3070695102214813, -1.0160812139511108, -0.5341253876686096, -0.11882045120000839, -0.2624383866786957, 0.28030359745025635, -0.4740777909755707, -0.40351900458335876, -0.10868008434772491, 0.542646050453186, -0.1660861223936081, 0.2648150324821472, 0.042604394257068634, 0.00024053400557022542, -0.06973118335008621, 0.05608921870589256, 0.8010760545730591, 0.6812785267829895, -0.10990852862596512, 0.019694359973073006, -0.10131540149450302, -0.22307392954826355, 0.36847618222236633, 0.06957938522100449, -0.47095760703086853, -0.2853403091430664, 0.17696864902973175, 0.8252889513969421, 0.15046463906764984, -0.28270262479782104, 0.7440429329872131, -0.38116881251335144, 0.2025631219148636, -0.49866583943367004, -0.06047438457608223, -0.2965638339519501, 0.18929697573184967, 0.20210742950439453, 0.014327052049338818, 0.395248144865036, -0.3744542598724365, -0.12471289187669754, 0.46198898553848267, -0.5151920914649963, -0.7043364644050598, 0.9568408727645874, 0.3770575523376465, -0.4721083641052246, 0.4865235388278961, 0.19202765822410583, -0.2198120802640915, 0.5938358306884766, 0.5910536050796509, 1.3115761280059814, -0.43259865045547485, 0.37569236755371094, 0.20871366560459137, 0.12641480565071106, 0.21542508900165558, -0.05692412331700325, -0.09601805359125137, -0.992864727973938, -0.570741593837738, -0.09605218470096588, -0.4861471354961395, 0.17106392979621887, -0.4780491888523102, 0.17075058817863464, -0.6494935154914856, -0.018216904252767563, 0.04024941846728325, -0.4514387547969818, -0.5023475289344788, 0.03618067502975464, 0.016151627525687218, 0.2291705459356308, -0.7931185364723206, 0.7091168761253357, 0.726126492023468, -0.5193593502044678, -0.3407517075538635, 0.45609182119369507, 0.1448068916797638, -0.8347296118736267, 1.268857717514038, 0.038152191787958145, -0.5705317258834839, 0.021391432732343674, -0.7384161353111267, -0.9430509805679321, 0.6618168950080872, 0.5480181574821472, -0.029502710327506065, 0.1370912790298462, 0.16890700161457062, 0.5961114764213562, -0.4105832576751709, 0.288592666387558, 0.1293775886297226, 0.4519125521183014, -0.1312505602836609, -0.3041364252567291, 0.12705405056476593, -0.5145429968833923, 0.4267244338989258, -0.0954241082072258, -0.6767708659172058, 0.5556327104568481, -0.2608197033405304, -0.22080449759960175, -0.14512266218662262, 0.4289483428001404, 0.3289088308811188, 0.2904965579509735, 0.3591112196445465, -0.120577871799469, 0.5083522200584412, -0.011374139226973057, 1.3014496564865112, -0.6224291920661926, 0.08162269741296768, 1.1615418195724487, -0.4267566502094269, 0.20947034657001495, 0.583419919013977, 0.22293922305107117, 0.5533711314201355, 0.36953020095825195, 0.21986673772335052, 0.6467642188072205, 0.18279001116752625, -0.5416536331176758, 0.2509707510471344, -0.7232971787452698, -0.26850688457489014, 0.3166780471801758, 0.22526825964450836, -0.45684128999710083, 0.25389328598976135, -0.09727396816015244, 0.3340965211391449, -0.040815506130456924, -0.004887685179710388, 0.8603190779685974, -0.06535565108060837, -0.5180385708808899, -0.037675779312849045, 0.4032110869884491, 0.2854878008365631, -0.6675897836685181, -0.3797256350517273, -0.46350687742233276, -0.0008760414202697575, -0.005801045801490545, -0.6932472586631775, 0.2693026661872864, 0.14051365852355957, -0.23805376887321472, -0.6965493559837341, 0.6605516076087952, -0.1868564784526825, -0.43617191910743713, 0.19739361107349396, 0.4623757302761078, -0.18907037377357483, 0.15747196972370148, -0.8279924988746643, -0.1490408331155777, -0.11223192512989044, -0.2983929514884949, 0.17634734511375427, 0.4781230092048645, -0.24206173419952393, 0.8299474716186523, 1.059218406677246, 0.1199539452791214, -0.21578828990459442, 0.061230678111314774, 0.666628897190094, -0.6764360070228577, -0.5281867384910583, -1.0917428731918335, 0.6869152188301086, -0.1869215965270996, -0.4928286373615265, 0.5917081832885742, 0.35156160593032837, 0.8529473543167114, -0.022198738530278206, 0.8939642906188965, 0.13211867213249207, 0.08242063224315643, -0.5143952965736389, 0.46189194917678833, -0.38623887300491333, 0.5050956606864929, -0.47965946793556213, -0.8408435583114624, -0.2783167362213135, 0.5133216977119446, -0.4763775169849396, 0.15826566517353058, 0.7599257230758667, 0.34332290291786194, -0.025520561262965202, -0.05295770242810249, 0.3261766731739044, 0.24823887646198273, 0.40396299958229065, 0.12356805801391602, 1.1487005949020386, 0.05185984820127487, 0.18422086536884308, -0.39182284474372864, -0.25994399189949036, 0.09171320497989655, -1.147579312324524, -0.7966108322143555, -0.6474594473838806, -0.29725173115730286, -0.19245615601539612, 0.34775882959365845, 0.7707667946815491, 0.6973183751106262, -0.7995631098747253, -0.3253103792667389, -0.3184417188167572, 0.5201935172080994, -0.12518177926540375, -0.2613010108470917, 0.36030063033103943, -0.04548349231481552, -1.1682289838790894, 0.22584395110607147, 0.4596867859363556, 0.1434905081987381, -0.2355649769306183, 0.12305223941802979, -0.18566925823688507, 0.3113294541835785, 0.7095575928688049, 0.3719162940979004, -0.6284428238868713, -0.5124719142913818, -0.14354565739631653, 0.12506258487701416, 0.15892329812049866, 1.1311687231063843, -0.41130542755126953, 0.5456081628799438, 0.3114660680294037, 0.6164005398750305, 0.2771727740764618, 0.12778951227664948, 0.9987653493881226, -0.7800174355506897, 0.3312673568725586, 0.23847754299640656, 0.36527374386787415, 0.024419086053967476, -0.7714203000068665, 0.40766504406929016, 0.3576447069644928, -0.2304050624370575, -0.8381198644638062, 0.5474509596824646, -0.4464209973812103, -0.34549564123153687, 1.1869451999664307, -0.3100159764289856, -0.042617205530405045, -0.3441944718360901, -0.3665982782840729, -0.16068044304847717, -0.5748199224472046, 0.7328304052352905, 0.6907714605331421, -0.2883480191230774, 0.05460890009999275, -0.4873690903186798, 0.4750441908836365, 0.3798007369041443, -0.843816339969635, -0.31515198945999146, 0.5294686555862427, 0.4760916829109192, -0.03629523515701294, 0.7230391502380371, 0.06657528132200241, 0.045450590550899506, -0.39211732149124146, -0.02951807901263237, -0.10583429783582687, -0.4489954113960266, -0.49041908979415894, 0.1730233132839203, -0.09342258423566818, 0.013847174122929573 ]
http://arxiv.org/abs/2405.14804v1
http://arxiv.org/pdf/2405.14804v1
Can LLMs Solve longer Math Word Problems Better?
2024-05-23T17:13:50
2024-05-23T17:13:50
Xin Xu, Tong Xiao, Zitong Chao, Zhenya Huang, Can Yang, Yang Wang
cs.CL
cs.CL
Math Word Problems (MWPs) are crucial for evaluating the capability of Large Language Models (LLMs), with current research primarily focusing on questions with concise contexts. However, as real-world math problems often involve complex circumstances, LLMs' ability to solve long MWPs is vital for their applications in these scenarios, yet remains under-explored. This study pioneers the exploration of Context Length Generalizability (CoLeG), the ability of LLMs to solve long MWPs. We introduce Extended Grade-School Math (E-GSM), a collection of MWPs with lengthy narratives. Two novel metrics are proposed to assess the efficacy and resilience of LLMs in solving these problems. Our examination of existing zero-shot prompting techniques and both proprietary and open-source LLMs reveals a general deficiency in CoLeG. To alleviate these challenges, we propose distinct approaches for different categories of LLMs. For proprietary LLMs, a new instructional prompt is proposed to mitigate the influence of long context. For open-source LLMs, a new data augmentation task is developed to improve CoLeG. Our comprehensive results demonstrate the effectiveness of our proposed methods, showing not only improved performance on E-GSM but also generalizability across several other MWP benchmarks. Our findings pave the way for future research in employing LLMs for complex, real-world applications, offering practical solutions to current limitations and opening avenues for further exploration of model generalizability and training methodologies.
[ -0.2782823443412781, -1.080496907234192, 0.9791430830955505, 0.43234220147132874, -0.3213104009628296, 0.28839945793151855, -0.629472553730011, -0.4868505895137787, 0.033505529165267944, 0.016480760648846626, -0.6213663816452026, -0.6242687106132507, -0.712040364742279, 0.21143071353435516, -0.17070595920085907, 0.630588173866272, -0.4118788540363312, 0.01277276873588562, -0.7197818756103516, -0.25058457255363464, -0.5915795564651489, -0.7003749012947083, -0.5479370951652527, -0.3355022370815277, 0.5648565888404846, 0.32923606038093567, 0.6956193447113037, 0.4622839391231537, 0.7842334508895874, 0.21205607056617737, -0.205339714884758, 0.24310177564620972, -0.4747203290462494, 0.12611280381679535, 0.137655109167099, -0.4831945598125458, -0.4995582699775696, 0.040402162820100784, 0.6081768274307251, 1.121647596359253, -0.1578739434480667, 0.18083493411540985, 0.019294695928692818, 0.8334373831748962, -0.42176172137260437, 0.13470576703548431, -0.39678242802619934, 0.27846163511276245, -0.02141278237104416, -0.2450161725282669, -0.27169543504714966, -0.18847668170928955, 0.2747648060321808, -0.7942572236061096, -0.11568575352430344, 0.025260960683226585, 0.6383243799209595, 0.0421212837100029, -0.47414329648017883, -0.7726521492004395, -0.8874500393867493, 1.1172055006027222, -0.613981306552887, 0.3870474398136139, 0.20222610235214233, 0.33656740188598633, -0.39038971066474915, -0.500748336315155, -0.2233951836824417, -0.3110714554786682, 0.18687587976455688, 0.2701050341129303, -0.2699821889400482, 0.1492297202348709, 0.5259131193161011, 0.22700896859169006, -0.5078670382499695, 0.23383817076683044, -0.40472733974456787, -0.16592766344547272, 0.3876791000366211, 0.43451938033103943, 0.37866318225860596, 0.038723837584257126, -0.29814523458480835, 0.2620517909526825, -0.9208305478096008, 0.2926108241081238, 0.255058228969574, 0.07160531729459763, -0.19572728872299194, 0.5627673864364624, -0.04913705959916115, 0.8878804445266724, -0.6309821009635925, -0.35166478157043457, -0.015275286510586739, 0.023038364946842194, -0.27041095495224, -0.2872590720653534, 0.24750050902366638, 0.36198076605796814, 0.5154365301132202, -0.2103339284658432, -0.04314520210027695, 0.04091883450746536, -0.22370582818984985, -0.7026187777519226, 0.317758172750473, 0.07251297682523727, -0.11667138338088989, 0.07609707862138748, -0.26645535230636597, -0.35193899273872375, 0.020840417593717575, -0.6486735939979553, 0.30419400334358215, -0.44505774974823, 0.1971454620361328, 0.340259313583374, 0.00012391051859594882, 0.17823055386543274, 0.2722565829753876, -0.6260308623313904, 0.12494772672653198, 0.952511191368103, 1.1357643604278564, -0.22995799779891968, -0.13695277273654938, -0.4806305468082428, 0.1878884881734848, -0.5469471216201782, 0.5025717616081238, -0.651375412940979, -0.709646999835968, 0.06839077174663544, -0.14419691264629364, 0.0075010317377746105, -0.6179248690605164, 0.7226129174232483, -0.39849263429641724, 0.371000736951828, -0.2035299390554428, -0.8061944246292114, 0.22564758360385895, 0.5461989045143127, -0.3203529417514801, 0.8173713088035583, 0.14542430639266968, -0.37948212027549744, 0.019543852657079697, -0.6155359745025635, -0.17073452472686768, 0.1362518072128296, -0.2478594034910202, -0.2875419855117798, 0.5840032696723938, 0.27511265873908997, 0.3926220238208771, -0.3840954601764679, 0.3794265389442444, -0.35387730598449707, -0.5701375603675842, -0.0680776834487915, -0.5157400965690613, 0.47495174407958984, 0.12808826565742493, 0.06430116295814514, -0.11885713040828705, -0.6065845489501953, 0.32998132705688477, 0.3160076141357422, -0.4693675935268402, -0.4684099555015564, 0.0839722752571106, -0.4511248469352722, 0.02491743303835392, 0.23796077072620392, -0.6045120358467102, 0.26297080516815186, -0.35857275128364563, 0.4745761454105377, 0.7795169949531555, -0.40477386116981506, 0.506163477897644, -0.3891717195510864, 0.739791989326477, -0.30401942133903503, -0.06550886482000351, -0.5623679757118225, -0.3622976541519165, -0.7518817186355591, -0.31136786937713623, 0.25131481885910034, 0.5358784198760986, -0.6848753690719604, 0.15748125314712524, -0.6013370752334595, -0.17548412084579468, 0.1433815062046051, 0.1315823197364807, 0.40812379121780396, 0.6620620489120483, 0.4744414687156677, -0.07685337215662003, -0.36575424671173096, -0.8090715408325195, -0.6075841188430786, 0.17662625014781952, -0.48161083459854126, 0.5105772614479065, 0.2793777585029602, -0.2702471613883972, 1.305771827697754, -0.7653380036354065, -0.3549196422100067, -0.11136562377214432, 0.08758721500635147, 0.18533220887184143, -0.02130659855902195, 0.4555610120296478, -0.29679998755455017, -0.41344335675239563, -0.4382704794406891, -0.7966300845146179, -0.36041849851608276, 0.05250389873981476, 0.17632395029067993, 0.17115990817546844, 0.39632755517959595, -0.3628230392932892, 0.372080534696579, 0.6047346591949463, -0.21711458265781403, 0.684198796749115, -0.37802058458328247, -0.36545222997665405, -0.9148597121238708, -0.34766846895217896, 0.26377418637275696, -0.22048595547676086, -0.5940918922424316, 0.13491734862327576, 0.24897092580795288, -0.45820268988609314, -0.4287036061286926, 0.5972433686256409, -0.6997626423835754, -0.1850437968969345, -0.31758278608322144, 0.2959310710430145, -0.07168552279472351, 0.3377878963947296, -0.18931138515472412, 0.8063490986824036, 0.3788846433162689, -0.5833039283752441, 0.5088793635368347, -0.22709277272224426, -0.3131881058216095, 0.5950887203216553, -0.7143375277519226, 0.14403270184993744, -0.3525456190109253, 0.488256573677063, -0.767008364200592, -0.12808282673358917, -0.14903447031974792, -0.39271196722984314, 0.13089539110660553, -0.018457923084497452, -0.48334938287734985, -0.5921151638031006, -0.3300129175186157, 0.4584721326828003, 0.6521340608596802, -0.6714668869972229, 0.39624345302581787, -0.09710879623889923, -0.36281818151474, -0.4227267801761627, -0.4985073506832123, 0.3178742527961731, -0.36026135087013245, -0.8905329704284668, 0.36900594830513, -0.3493109345436096, -0.3745540380477905, -0.1890305131673813, -0.28924575448036194, -0.02322877198457718, 0.12652230262756348, -0.019983038306236267, 0.4162670075893402, -0.10641158372163773, 0.37798812985420227, 0.07460697740316391, -0.18870466947555542, 0.24138201773166656, -0.06564230471849442, 0.5929610133171082, -0.22507940232753754, -0.44735750555992126, 0.0332452617585659, 0.40853795409202576, 0.19656707346439362, 0.061213795095682144, 0.3371891379356384, 0.3368132412433624, -0.43977248668670654, -0.39118149876594543, -0.4081319570541382, 0.044703882187604904, -0.551798403263092, 0.346825510263443, -0.3175221085548401, -1.4022865295410156, 0.4969155490398407, -0.4964098334312439, 0.08905383944511414, 0.012124487198889256, 0.18356700241565704, -0.12552517652511597, 1.0139729976654053, 0.6917884945869446, -0.04634721204638481, 0.3490180969238281, -0.10404098778963089, 0.2971220910549164, -1.0117006301879883, -0.30185389518737793, -0.06184159219264984, -0.3331642746925354, -0.1937149316072464, -0.48633909225463867, 0.5739378333091736, 0.29027101397514343, 0.07458387315273285, 0.023030323907732964, -0.3613768517971039, 0.8727871179580688, -0.06107890605926514, -0.18754836916923523, 0.3384135365486145, 0.23577740788459778, -0.316867470741272, -0.38497018814086914, -0.41026610136032104, -0.39870741963386536, 0.990919291973114, 0.4481816291809082, 0.7242323756217957, 0.21623529493808746, 0.6113945841789246, 0.028580447658896446, 0.38621240854263306, -1.262149453163147, 0.5995798110961914, 0.02108985371887684, -0.3789192736148834, -0.44361206889152527, -0.5280241370201111, -1.0485472679138184, 0.19507303833961487, 0.11752617359161377, -0.6852849721908569, -0.3173362910747528, -0.11713353544473648, -0.23938775062561035, 0.24962842464447021, -0.6001453399658203, 0.18598222732543945, -0.36560893058776855, -0.25959569215774536, 0.09041960537433624, -0.3026704788208008, 0.3470616936683655, -0.1615421026945114, 0.6527647376060486, -0.51133793592453, -0.3779309093952179, 0.6654279828071594, -0.5681146383285522, 0.5148898363113403, 0.032094430178403854, -0.5197243690490723, 0.36592692136764526, 0.003114754566922784, 0.5217800140380859, 0.038516514003276825, 0.17536821961402893, 0.1574191004037857, -0.24538755416870117, -0.477893590927124, -0.8724608421325684, 0.9844850897789001, -0.4346821904182434, -0.9052097797393799, -0.3991536498069763, -0.7725880146026611, -0.5169986486434937, 0.033709943294525146, 0.02904125675559044, 0.6449047327041626, 0.02444896288216114, 0.39580386877059937, 0.5960595011711121, -0.2181367576122284, 0.8987478613853455, 0.6017515063285828, -0.3157726228237152, -0.3869873285293579, 0.9636256694793701, 0.4066057801246643, 0.27745354175567627, 0.03912637382745743, 0.4867464005947113, -0.22002200782299042, -0.44214901328086853, -0.43222615122795105, 0.12007047981023788, -0.6930479407310486, -0.18349449336528778, -0.2994745373725891, -0.2791377604007721, -0.0873369500041008, -0.5855205655097961, 0.04174978658556938, -0.4695229232311249, -0.3499317765235901, -0.05579081550240517, 0.28868094086647034, 0.33420246839523315, -0.08486014604568481, 0.29537448287010193, -0.823092520236969, 0.3249801993370056, 0.481414258480072, 0.5494540929794312, -0.03485708683729172, -0.6240572333335876, -0.10561108589172363, 0.027631735429167747, -0.3398626446723938, -0.6272345781326294, 0.3250373303890228, 0.25608471035957336, 0.28109726309776306, 0.21842139959335327, -0.18209552764892578, 1.0307426452636719, -0.7835953831672668, 0.7953662276268005, 0.5159892439842224, -1.0512092113494873, 0.24641099572181702, -0.541756272315979, 0.44086867570877075, 0.10022928565740585, 0.5182836055755615, -0.6836053133010864, -0.1321384161710739, -0.2780013382434845, -1.024810791015625, 0.40879586338996887, 0.25561007857322693, 0.5210282206535339, -0.07488560676574707, 0.6740024089813232, -0.16908925771713257, -0.05693399906158447, -0.4186825752258301, -0.2496747076511383, 0.13265632092952728, -0.17741452157497406, -0.15367454290390015, -0.381668359041214, -0.1367083638906479, -0.3803161382675171, 0.19921623170375824, -0.16729450225830078, 0.198432058095932, 0.17071662843227386, -0.15671025216579437, 0.0634685680270195, 0.7341861724853516, 0.9495914578437805, 1.0785261392593384, -0.10519220679998398, 0.029215160757303238, 0.5806589722633362, -0.4632808268070221, 0.29644984006881714, -0.11619450896978378, 0.040430277585983276, 0.05280512943863869, 0.38497665524482727, 0.45138993859291077, 0.21594950556755066, -0.8430330157279968, 0.5832577347755432, -0.03960273414850235, -0.3883321285247803, -0.7061560153961182, -0.06279116123914719, 0.2998795211315155, -0.11866990476846695, 0.7138237357139587, -0.5693678259849548, -0.05242922157049179, -0.6160995960235596, -0.10445114225149155, 0.6863829493522644, -0.3299788534641266, -0.17667244374752045, 0.35285866260528564, 0.12837202847003937, -0.678058385848999, 0.36532101035118103, -0.03808867186307907, -0.44056999683380127, 1.0812084674835205, 0.9478411078453064, 0.4497365951538086, 0.00035150142502970994, 0.0584038607776165, 0.16658353805541992, 0.15110938251018524, -0.1163930743932724, 0.16473014652729034, 0.004512165207415819, -0.5470793843269348, -0.6001685261726379, -0.48704755306243896, -0.6250191330909729, 0.27907776832580566, -0.5889222621917725, 0.328898549079895, -0.7259923219680786, -0.13207118213176727, -0.4130699932575226, 0.09754148870706558, -0.5534518957138062, 0.3515518605709076, 0.2984357178211212, 0.790398120880127, -0.42173469066619873, 0.5166886448860168, 0.5253406763076782, 0.35462823510169983, -0.8246847987174988, -0.21856887638568878, 0.009577786549925804, -0.8422855138778687, 0.5635766386985779, 0.4422030448913574, -0.2098572850227356, 0.04643140360713005, -0.6454440951347351, -0.7846657037734985, 1.377651333808899, 0.33359286189079285, -0.899992048740387, -0.19901405274868011, 0.4848354160785675, 0.6425538659095764, -0.33646294474601746, 0.3117218017578125, 0.4834724962711334, 0.32350730895996094, 0.25390902161598206, -0.7820040583610535, -0.12260155379772186, 0.10611487179994583, 0.21998915076255798, 0.40053969621658325, -0.7014887928962708, 0.6321786642074585, -0.30406633019447327, -0.2784336805343628, 0.12797321379184723, 0.6863316297531128, 0.4965931475162506, 0.6908951997756958, 0.2774870693683624, 0.8293659687042236, 0.7223087549209595, -0.20146983861923218, 0.9165767431259155, -0.25040724873542786, 0.5977209806442261, 1.1494662761688232, -0.1348261833190918, 0.5547448396682739, 0.33940765261650085, -0.2135898768901825, 0.41020095348358154, 0.4258662760257721, 0.048893239349126816, 0.07054441422224045, 0.7846022844314575, -0.5194481015205383, -0.27960166335105896, -0.016633329913020134, -0.5879330039024353, 0.2435178905725479, 0.5881819128990173, -0.21939538419246674, -0.5632410645484924, 0.1500062495470047, 0.3238523602485657, 0.12980103492736816, -0.5130794644355774, 0.29742899537086487, 0.5018484592437744, -0.28476837277412415, 0.47839418053627014, 0.34375622868537903, 1.0446083545684814, -0.716098964214325, 0.19236218929290771, -0.3456880748271942, -0.09402868896722794, -0.16868601739406586, -0.5164408683776855, 0.2970506250858307, 0.15188533067703247, -0.04961781948804855, -0.1823856681585312, 0.7647355198860168, -0.39736923575401306, -0.6873759627342224, 0.2668173015117645, 0.6220014691352844, -0.06440936774015427, 0.2158619910478592, -0.39099010825157166, 0.06210264191031456, -0.41421422362327576, -0.10647184401750565, 0.42206504940986633, 0.2872007489204407, -0.12191823124885559, 0.9867071509361267, 0.7942039370536804, 0.0005455492646433413, 0.12784996628761292, -0.02388121746480465, 0.8882907032966614, -0.782497763633728, -0.17354221642017365, -1.1535732746124268, 0.06306444108486176, -0.050823599100112915, -0.1820688098669052, 0.9399247765541077, 0.6723424196243286, 0.8496236801147461, 0.06703606247901917, 0.5641464591026306, 0.4850848317146301, 0.3866923749446869, -0.527691662311554, 0.2556326687335968, -0.5217452049255371, 0.46506181359291077, -0.09443918615579605, -1.1021853685379028, -0.562148928642273, 0.30334994196891785, -0.5834961533546448, -0.11100105196237564, 0.7764140367507935, 0.2795184552669525, -0.0735974833369255, -0.08886824548244476, 0.6588532328605652, -0.4389728605747223, 0.5178208947181702, 0.8598212003707886, 0.9989585280418396, -0.09027066081762314, 0.7518924474716187, -0.0554228238761425, -0.2056894600391388, -0.08496156334877014, -0.987442135810852, -1.043670654296875, -0.04001127555966377, -0.07078349590301514, 0.05404704809188843, -0.027892792597413063, 0.845547080039978, 0.3025978207588196, -0.2187398374080658, -0.07724389433860779, -0.03185483440756798, 0.2067604959011078, 0.3730385899543762, -0.26227959990501404, 0.1970258355140686, -0.4775853753089905, -0.717786431312561, 0.505364716053009, 0.4282580018043518, 0.29840755462646484, -0.03904082626104355, -0.03844018280506134, 0.49578240513801575, 0.5527002811431885, 1.0205625295639038, 0.30901071429252625, -0.6851581931114197, -0.4650285840034485, 0.22067178785800934, -0.018219586461782455, 0.06390304118394852, 1.1067370176315308, -0.6261892914772034, 0.39230120182037354, 0.32590174674987793, 0.6079902052879333, 0.16057045757770538, 0.13987098634243011, 0.31587111949920654, -0.8016764521598816, 0.10977295786142349, 0.2931584119796753, 0.44845396280288696, 0.16682760417461395, -0.2431795597076416, 0.45911484956741333, 0.3108617663383484, -0.4147799611091614, -0.7552934885025024, 0.5821357369422913, -0.7653570771217346, -0.31938496232032776, 1.43747079372406, -0.36373284459114075, -0.21812786161899567, 0.14352655410766602, 0.0013550006551668048, -0.18323031067848206, -0.19334115087985992, 0.6711556911468506, 1.1589395999908447, -0.15406498312950134, 0.0623476542532444, -0.4300920069217682, 0.19285409152507782, 0.6702655553817749, -0.8744605183601379, -0.2122541218996048, 0.5979338884353638, 0.420488178730011, 0.06930460780858994, 0.5612069368362427, -0.15696629881858826, -0.09970377385616302, -0.51622474193573, -0.468193382024765, -0.5078136324882507, -0.43714702129364014, -0.53495854139328, 0.12390576303005219, -0.13430561125278473, 0.15757037699222565 ]
http://arxiv.org/abs/2405.14782v2
http://arxiv.org/pdf/2405.14782v2
Lessons from the Trenches on Reproducible Evaluation of Language Models
2024-05-23T16:50:49
2024-05-29T17:15:53
Stella Biderman, Hailey Schoelkopf, Lintang Sutawika, Leo Gao, Jonathan Tow, Baber Abbasi, Alham Fikri Aji, Pawan Sasanka Ammanamanchi, Sidney Black, Jordan Clive, Anthony DiPofi, Julen Etxaniz, Benjamin Fattori, Jessica Zosa Forde, Charles Foster, Jeffrey Hsu, Mimansa Jaiswal, Wilson Y. Lee, Haonan Li, Charles Lovering, Niklas Muennighoff, Ellie Pavlick, Jason Phang, Aviya Skowron, Samson Tan, Xiangru Tang, Kevin A. Wang, Genta Indra Winata, François Yvon, Andy Zou
cs.CL
cs.CL
Effective evaluation of language models remains an open challenge in NLP. Researchers and engineers face methodological issues such as the sensitivity of models to evaluation setup, difficulty of proper comparisons across methods, and the lack of reproducibility and transparency. In this paper we draw on three years of experience in evaluating large language models to provide guidance and lessons for researchers. First, we provide an overview of common challenges faced in language model evaluation. Second, we delineate best practices for addressing or lessening the impact of these challenges on research. Third, we present the Language Model Evaluation Harness (lm-eval): an open source library for independent, reproducible, and extensible evaluation of language models that seeks to address these issues. We describe the features of the library as well as case studies in which the library has been used to alleviate these methodological concerns.
[ -0.22191385924816132, -0.7598046660423279, 0.5019345283508301, 0.519426703453064, 0.20556554198265076, 0.12656372785568237, -0.3632737696170807, -0.47446924448013306, -0.34351345896720886, 0.5457456111907959, -0.25821563601493835, -0.29586777091026306, -0.431561142206192, 0.08978491276502609, -0.5664724707603455, 0.9366363883018494, -0.41974687576293945, 0.07773559540510178, -0.156781867146492, -0.3266216218471527, -0.43285873532295227, -0.6872587203979492, -0.5286234617233276, -0.46302327513694763, 0.4401448965072632, 0.041473813354969025, 0.7095641493797302, 0.43282705545425415, 0.6453657746315002, 0.21706555783748627, -0.2576110064983368, -0.21114632487297058, -0.4916260540485382, 0.26774388551712036, -0.29859352111816406, -0.11964679509401321, -0.17138352990150452, 0.07497508823871613, 0.7584390044212341, 0.9211331009864807, -0.32922762632369995, 0.1899273693561554, 0.14398732781410217, 0.66897052526474, -0.7788280248641968, 0.20905126631259918, -0.4306936264038086, 0.005081270355731249, -0.07000967115163803, -0.0651707872748375, -0.7040384411811829, -0.40438729524612427, 0.1910947859287262, -0.31599941849708557, 0.09397775679826736, -0.10336978733539581, 0.7865389585494995, -0.06857402622699738, -0.2237733006477356, -0.39379456639289856, -0.9401538372039795, 0.966962456703186, -0.853537917137146, 0.5658330321311951, 0.4602111876010895, 0.5762887597084045, -0.13272903859615326, -0.8748583793640137, -0.20901651680469513, -0.42796897888183594, 0.10637380927801132, -0.20835532248020172, -0.33343034982681274, -0.2578614354133606, 0.12666171789169312, 0.3540753722190857, -0.5599210858345032, 0.299434095621109, -0.5336575508117676, -0.023769399151206017, 0.67181396484375, 0.027861937880516052, 0.22701449692249298, -0.08453565090894699, -0.18240079283714294, -0.09471198916435242, -0.7069965600967407, -0.22621528804302216, 0.554430365562439, 0.3283834159374237, -0.010968508198857307, 0.5776349306106567, -0.11310970783233643, 0.5905289649963379, -0.5135478973388672, 0.11807931959629059, 0.4849013388156891, -0.1732434779405594, -0.06267332285642624, -0.5589442849159241, 0.6004606485366821, 0.18052220344543457, 0.18692992627620697, -0.4376707375049591, -0.6271817684173584, -0.22240373492240906, 0.47687357664108276, -0.427348792552948, -0.1951148360967636, 0.3258892893791199, -0.5675076842308044, -0.3226621150970459, -0.3241628408432007, -0.7699882984161377, -0.3559325933456421, -0.16302497684955597, 0.5941347479820251, -0.26122355461120605, -0.5660423636436462, 0.10527446866035461, -0.27119189500808716, 0.22308585047721863, 0.24638719856739044, -0.7457956075668335, 0.5623346567153931, 0.9553472995758057, 0.9482778906822205, -0.15885134041309357, -0.42443856596946716, -0.3837542235851288, -0.40761813521385193, -0.2963480055332184, 0.5021873712539673, -0.31019070744514465, -0.35472267866134644, 0.21287976205348969, 0.01777438446879387, -0.06567586958408356, -0.542741596698761, 0.7777745723724365, -0.40874871611595154, 0.23157013952732086, 0.14099591970443726, -0.7231309413909912, 0.004124701488763094, 0.06629382818937302, -0.6776198744773865, 0.9979332089424133, 0.42851266264915466, -0.8874626159667969, -0.17882737517356873, -0.6734831929206848, 0.022254005074501038, 0.0719609335064888, -0.07570227980613708, -0.38095077872276306, 0.36880502104759216, -0.05662890151143074, 0.186817929148674, -0.174691841006279, 0.37545689940452576, -0.21750546991825104, -0.09198212623596191, 0.15264490246772766, -0.3887994587421417, 1.072285771369934, 0.3193950057029724, -0.23254650831222534, 0.23684170842170715, -0.8278413414955139, 0.11132405698299408, 0.25759389996528625, -0.1027350202202797, -0.5062185525894165, 0.09821544587612152, 0.2809966206550598, -0.01889985427260399, -0.059860099107027054, -0.3435349464416504, 0.1207863837480545, -0.47217315435409546, 0.46695494651794434, 0.6963207125663757, -0.2583034932613373, 0.3849112093448639, -0.2508062720298767, 0.7750735282897949, -0.6179941296577454, 0.2535223066806793, -0.3211641013622284, -0.36580631136894226, -0.5657697916030884, 0.10968486964702606, 0.4911295175552368, 0.31989431381225586, -0.6127102971076965, 0.14412634074687958, 0.03097110241651535, -0.9120814204216003, -0.7649767994880676, 0.10902411490678787, 0.33283308148384094, 0.5376898646354675, 0.2551780939102173, -0.3133563995361328, -0.5206230282783508, -1.0756969451904297, -0.2920498549938202, -0.21241889894008636, -0.14466501772403717, 0.2130025327205658, 0.8653948903083801, -0.02369673177599907, 0.8746659755706787, -0.24694660305976868, 0.19077493250370026, -0.22432537376880646, 0.5338127017021179, 0.034210704267024994, 0.5952321290969849, 0.4197635352611542, -0.6027961373329163, -0.10604593902826309, 0.0644306093454361, -0.8333374857902527, -0.34266671538352966, 0.18606115877628326, 0.05999279022216797, 0.17606201767921448, 0.5227271914482117, -0.3938327431678772, 0.16520999372005463, 0.7972993850708008, -0.17792171239852905, 0.9651154279708862, -0.04287275671958923, 0.08785737305879593, -0.505532443523407, 0.3692007064819336, -0.08095864951610565, -0.17240625619888306, -0.6805556416511536, 0.602362334728241, 0.24433206021785736, -0.26681044697761536, -0.5441620349884033, 0.7162648439407349, -0.3572479486465454, -0.09020131081342697, -0.19711944460868835, 0.2702789604663849, 0.21793001890182495, -0.0777064636349678, 0.1515268087387085, 0.5791482925415039, 0.3186034858226776, -0.29752317070961, 0.2554944157600403, 0.04917927831411362, -0.8252112865447998, 0.22457018494606018, -0.9111828207969666, 0.4312800467014313, 0.11888954043388367, -0.0026151644997298717, -0.4873645305633545, 0.22156323492527008, 0.17615772783756256, -0.23530425131320953, 0.4097530245780945, -0.22428517043590546, -0.35446053743362427, -0.2947176694869995, -0.40779387950897217, 0.32227545976638794, 0.42391330003738403, -0.38083991408348083, 0.31124347448349, 0.46032628417015076, -0.4370972812175751, -0.8025928735733032, -0.4489186108112335, 0.012512747198343277, -0.1804063469171524, -0.6101782917976379, 0.023338153958320618, -0.14497984945774078, -0.6601300239562988, 0.11104872077703476, 0.013945694081485271, -0.2567422389984131, 0.4601890742778778, 0.03270360827445984, 0.0028208757285028696, -0.38082757592201233, 0.21090304851531982, -0.4227655231952667, -0.03038184717297554, 0.17181344330310822, 0.18277139961719513, 0.3471634089946747, -0.24694618582725525, -0.5799657106399536, 0.02765653468668461, 0.479792982339859, 0.15075060725212097, -0.24770161509513855, 0.6832062602043152, 0.3326447606086731, -0.38216668367385864, -0.43220803141593933, -0.6024113893508911, -0.0880739688873291, -0.38874760270118713, 0.5987324118614197, -0.17146512866020203, -0.8540276885032654, 0.43491092324256897, -0.13139405846595764, 0.2793193757534027, 0.43316569924354553, 0.49347037076950073, 0.018077747896313667, 0.7633390426635742, 0.9607328176498413, 0.11518668383359909, 0.20748166739940643, -0.0660991370677948, 0.2036265879869461, -0.9206697940826416, -0.15376107394695282, -1.0673801898956299, 0.17909668385982513, -0.20204003155231476, -0.4921821355819702, 0.08370483666658401, 0.4968617260456085, -0.10750669986009598, 0.2600935399532318, -0.2694157660007477, 0.49595701694488525, 0.227211594581604, -0.2124790996313095, 0.4267134666442871, -0.23361611366271973, -0.011655543930828571, -0.14057594537734985, -0.8960679769515991, -0.861363410949707, 1.0086230039596558, 0.8701072931289673, 0.9079703092575073, -0.01794898323714733, 0.523685097694397, 0.20152771472930908, 0.5899165868759155, -0.6941083073616028, 0.24019472301006317, 0.26321783661842346, -0.6196011304855347, -0.36066576838493347, -0.5402427315711975, -0.9670220017433167, 0.38124045729637146, -0.13020774722099304, -0.8521289825439453, -0.07198074460029602, 0.014830595813691616, 0.02935643680393696, 0.12146134674549103, -0.7489468455314636, 1.0354154109954834, -0.2993399202823639, -0.27549684047698975, 0.07623749226331711, -0.43029138445854187, 0.5485048294067383, -0.1673993021249771, 0.6565073132514954, 0.05170172452926636, 0.23400439321994781, 0.6057042479515076, -0.39111948013305664, 0.5930103063583374, 0.039480093866586685, -0.35464170575141907, 0.183096781373024, 0.19849972426891327, 0.44457903504371643, -0.35498976707458496, -0.34592047333717346, 0.2290676236152649, 0.07726026326417923, -0.27428147196769714, -0.6671769022941589, 0.808347225189209, -0.6403570771217346, -0.6569932103157043, -0.26109737157821655, -0.4575011134147644, -0.1771828681230545, -0.002375560812652111, -0.0363309271633625, 0.46639472246170044, -0.4275319278240204, 0.28973907232284546, 0.39412760734558105, -0.7447906136512756, 0.4073072373867035, 0.5184955596923828, -0.8793680667877197, -0.2616537809371948, 0.636867344379425, 0.19249719381332397, 0.5492908358573914, -0.025793766602873802, 0.30664700269699097, -0.12834961712360382, -0.6337642669677734, -0.5558852553367615, 0.08439882844686508, -0.9382551312446594, 0.02595597878098488, -0.5779076814651489, -0.32466402649879456, -0.33712121844291687, -0.05879464000463486, -0.6637527942657471, -0.5717304348945618, 0.03678026422858238, -0.06545541435480118, 0.10704530030488968, 0.9810248017311096, -0.05703507736325264, 0.05068253353238106, -0.6803866028785706, 0.14789988100528717, -0.034810349345207214, 0.6185265183448792, 0.18592804670333862, -0.5243836045265198, -0.489689439535141, -0.149106964468956, -0.2390187382698059, -0.8440040349960327, 0.52509605884552, -0.027394456788897514, 0.7071850895881653, -0.10566201061010361, 0.04623741656541824, 0.27991753816604614, -0.614981472492218, 0.8823073506355286, -0.08169040083885193, -1.0489822626113892, 0.5635330677032471, -0.2775738835334778, 0.16058629751205444, 0.36762815713882446, 0.49509280920028687, -0.4079297184944153, -0.45267537236213684, -0.5475738048553467, -1.131455659866333, 0.4212270975112915, 0.40045660734176636, 0.04197497293353081, 0.13379032909870148, 0.03756232187151909, 0.3782462775707245, 0.22397403419017792, -0.9318172335624695, -0.10530553758144379, -0.06977495551109314, 0.08312369883060455, -0.15701544284820557, -0.35417670011520386, -0.254352867603302, 0.027507390826940536, 0.6637958884239197, 0.1820644587278366, -0.18719330430030823, 0.07121460884809494, -0.37760892510414124, -0.02857695333659649, 0.5072721838951111, 0.6101267337799072, 1.2263154983520508, -0.40699487924575806, 0.12568606436252594, 0.052914269268512726, -0.018963107839226723, -0.015916870906949043, 0.0587104968726635, -0.25338053703308105, 0.3366171419620514, 0.6409851312637329, 0.6504458785057068, 0.4081152081489563, -0.8236050605773926, 0.5975255370140076, -0.010830995626747608, -0.061113905161619186, -0.33202043175697327, -0.4025510251522064, 0.25692570209503174, 0.1322111040353775, 0.3510677218437195, -0.22095336019992828, 0.1805027723312378, -0.4389338493347168, 0.18038414418697357, 0.2922782599925995, -0.27605658769607544, -0.21862798929214478, 0.2744993567466736, 0.21087917685508728, -0.6165726184844971, 0.4412994682788849, 0.01230546273291111, -0.3962404727935791, 0.4434446096420288, 0.5740724205970764, 0.862623393535614, -0.4454732835292816, 0.22935162484645844, 0.13091035187244415, 0.6838787794113159, -0.38392478227615356, 0.05790618434548378, 0.2776658833026886, -0.5650286078453064, -0.6223446726799011, -0.7230315804481506, -0.6939197182655334, 0.4379980266094208, -0.7642359137535095, 0.3716820478439331, -0.13264337182044983, 0.0635838657617569, 0.09103379398584366, -0.3312778174877167, -0.6010069847106934, -0.21732449531555176, -0.04182837903499603, 1.1786261796951294, -1.0180273056030273, 0.6210440993309021, 0.42007359862327576, -0.46876266598701477, -0.6812191605567932, -0.6039613485336304, -0.06806770712137222, -0.4867073893547058, 0.7324810028076172, 0.003974794875830412, -0.08580871671438217, -0.24439282715320587, -0.5193459987640381, -0.43738028407096863, 0.5927029848098755, 0.45916104316711426, -0.6515305042266846, 0.24995404481887817, -0.09405788034200668, 0.7110557556152344, -0.39948052167892456, 0.49416905641555786, 0.4457075595855713, 0.3846870958805084, -0.47957178950309753, -1.3827961683273315, -0.259909451007843, -0.3908706605434418, 0.01631784625351429, 0.012895070016384125, -0.20361396670341492, 0.8605630397796631, 0.06381630152463913, -0.2262810468673706, 0.26478371024131775, 0.4045710563659668, 0.3139052987098694, 0.47879770398139954, 0.36907345056533813, 0.3924314081668854, 0.5065613389015198, 0.009174727834761143, 1.2614071369171143, -0.10641655325889587, 0.6579126119613647, 1.4000773429870605, -0.3960956037044525, 1.0607562065124512, 0.6021231412887573, -0.3377782106399536, 0.3743743598461151, 0.3307570815086365, 0.05887187272310257, 0.28425830602645874, 0.6589930653572083, -0.12870411574840546, 0.13545145094394684, -0.16766345500946045, -0.5895590782165527, 0.26580923795700073, 0.12441544234752655, -0.6073662638664246, -0.48082947731018066, 0.11099446564912796, -0.06946566700935364, 0.28667786717414856, -0.23190635442733765, 0.5051562190055847, 0.10788276791572571, -0.3144446313381195, 0.5974969267845154, 0.0668134018778801, 0.41142159700393677, -0.5631702542304993, -0.311305969953537, -0.08511164784431458, 0.05202891677618027, -0.11797628551721573, -0.6531473398208618, 0.5378424525260925, 0.2704905867576599, -0.04544644057750702, -0.3696190118789673, 0.8425283432006836, -0.29130133986473083, -0.4120882451534271, 0.5378108024597168, 0.7696000337600708, 0.3142351806163788, -0.026537472382187843, -0.6115207672119141, 0.5574080944061279, -0.3673144578933716, -0.620861291885376, 0.4333098232746124, 0.36188849806785583, 0.053040191531181335, 0.970385730266571, 0.3767954111099243, 0.24641776084899902, -0.08360115438699722, 0.3932020664215088, 0.7007753849029541, -0.7164315581321716, -0.013431541621685028, -0.7829142212867737, 0.5864980220794678, 0.10928463190793991, -0.26432543992996216, 0.7876087427139282, 0.5467155575752258, 0.8554868102073669, -0.251038134098053, 0.8975991606712341, 0.03273773565888405, 0.6220174431800842, -0.4653075933456421, 0.7266829013824463, -0.26507875323295593, 0.48010554909706116, -0.3441225290298462, -0.8696341514587402, -0.3056311011314392, 0.7256097197532654, -0.06856578588485718, 0.11168509721755981, 0.6982003450393677, 0.6863849759101868, 0.027219558134675026, 0.03002532571554184, 0.2675657570362091, 0.26589104533195496, 0.34115809202194214, 0.09161398559808731, 1.3118400573730469, -0.3789862096309662, 0.2520218789577484, -0.4826553761959076, -0.2546914219856262, -0.10741110146045685, -1.292534589767456, -0.5707976222038269, -0.5959147214889526, -0.3907948434352875, -0.43326419591903687, 0.28203216195106506, 0.8501967787742615, 0.5447218418121338, -0.746623158454895, -0.5798174738883972, 0.07374715805053711, 0.39003533124923706, -0.27962031960487366, -0.2815931737422943, 0.35147103667259216, -0.3405560851097107, -0.5909539461135864, 0.6830821633338928, 0.3257756531238556, -0.25182443857192993, -0.6829547882080078, 0.0295072253793478, -0.2155056744813919, -0.14973437786102295, 0.6597040891647339, 0.42894959449768066, -0.6414445638656616, -0.568740725517273, -0.13285738229751587, -0.029460277408361435, -0.19130201637744904, 0.8854408264160156, -0.6633340716362, 0.535351574420929, 0.3329726755619049, 0.7866703271865845, 0.24509942531585693, -0.23343077301979065, 1.0269055366516113, -0.7010435461997986, -0.06000131741166115, 0.4720480442047119, 0.3688357174396515, 0.6133324503898621, 0.20869551599025726, 0.9359976649284363, -0.07314697653055191, -0.8346484899520874, -1.3520342111587524, 0.09164544194936752, -0.6767683029174805, -0.35656529664993286, 1.1176931858062744, -0.6293395161628723, 0.033484991639852524, -0.3287612795829773, -0.0706465020775795, 0.00020282805780880153, 0.1950346827507019, 0.8454047441482544, 1.1065900325775146, -0.04329647496342659, -0.4801032543182373, -1.075032353401184, 0.3744218349456787, 0.27449584007263184, -0.6392035484313965, 0.2730378210544586, 0.35215288400650024, 0.3210521340370178, 0.08118530362844467, 0.37440991401672363, -0.27076274156570435, -0.023741018027067184, 0.22300243377685547, 0.26902514696121216, -0.02775369957089424, -0.256099671125412, -0.7557757496833801, 0.22937485575675964, 0.499056339263916, 0.39637547731399536 ]
http://arxiv.org/abs/2405.14779v1
http://arxiv.org/pdf/2405.14779v1
Smart Bilingual Focused Crawling of Parallel Documents
2024-05-23T16:45:59
2024-05-23T16:45:59
Cristian García-Romero, Miquel Esplà-Gomis, Felipe Sánchez-Martínez
cs.CL
cs.CL, cs.LG
Crawling parallel texts $\unicode{x2014}$texts that are mutual translations$\unicode{x2014}$ from the Internet is usually done following a brute-force approach: documents are massively downloaded in an unguided process, and only a fraction of them end up leading to actual parallel content. In this work we propose a smart crawling method that guides the crawl towards finding parallel content more rapidly. Our approach builds on two different models: one that infers the language of a document from its URL, and another that infers whether a pair of URLs link to parallel documents. We evaluate both models in isolation and their integration into a crawling tool. The results demonstrate the individual effectiveness of both models and highlight that their combination enables the early discovery of parallel content during crawling, leading to a reduction in the amount of downloaded documents deemed useless, and yielding a greater quantity of parallel documents compared to conventional crawling approaches.
[ -0.58697110414505, -0.5306185483932495, 0.6962558627128601, 0.6373649835586548, -0.42142289876937866, 0.28407344222068787, -0.19433851540088654, -0.5721966028213501, 0.6468154191970825, 0.42629894614219666, -0.5644146800041199, -0.49162518978118896, -0.540657639503479, 0.4059954583644867, -0.8422616720199585, 0.868629515171051, -0.026793915778398514, 0.1080138310790062, -0.3716707229614258, -0.2938368022441864, -0.09443407505750656, -0.30984222888946533, -0.18176794052124023, -0.05454155430197716, 0.7431593537330627, 0.33318662643432617, 0.9052499532699585, 1.0338455438613892, 0.8789939284324646, 0.4181947708129883, -0.011803441680967808, 0.10503337532281876, -0.3915805220603943, 0.06530822813510895, -0.7993535995483398, -0.5255603194236755, -0.27384111285209656, -0.08312402665615082, 0.6654310822486877, 0.787478506565094, 0.12237013876438141, 0.16375266015529633, -0.0497908741235733, 0.7314595580101013, -0.38314712047576904, -0.01855379343032837, -0.5112478137016296, -0.07690012454986572, -0.7510566115379333, -0.30071914196014404, -0.22901833057403564, -0.1487058401107788, 0.015443441458046436, -0.5320764780044556, 0.5485786199569702, 0.17651963233947754, 0.7768443822860718, -0.1306886523962021, -0.4657129645347595, -0.3698998689651489, -0.4334876835346222, 1.0295321941375732, -0.36306461691856384, 0.674524188041687, 0.2906375229358673, 0.20838822424411774, 0.0039134579710662365, -1.0394654273986816, -0.741269052028656, 0.07721270620822906, 0.019765708595514297, 0.05152496322989464, 0.06664345413446426, -0.35341858863830566, 0.20444324612617493, 0.40208134055137634, -0.6915819048881531, 0.035753414034843445, -0.32540616393089294, -0.16513298451900482, 0.6822888255119324, 0.27405640482902527, 0.7721878886222839, -0.34027084708213806, -0.5827476978302002, -0.28756141662597656, -0.5622676610946655, -0.1146676167845726, 0.7250781059265137, 0.4436247944831848, -0.06869515776634216, 0.5732784867286682, -0.25114044547080994, 0.4437767565250397, -0.1013021469116211, -0.3493795692920685, 0.361391544342041, -0.6102033853530884, 0.3801528215408325, -0.0960666760802269, 0.8380629420280457, 0.46112704277038574, 0.4812857508659363, -0.44074854254722595, -0.4392569065093994, -0.1471090018749237, 0.33522310853004456, -0.6252197623252869, 0.05699358507990837, 0.1456650048494339, -0.5811389684677124, 0.02057345025241375, 0.15842294692993164, -0.6944506168365479, -0.22249867022037506, -0.33695510029792786, 0.13122305274009705, -0.4792488217353821, -0.11021991819143295, 0.08301717787981033, -0.394175261259079, -0.1308802217245102, 0.13683301210403442, -0.6844471096992493, 0.4192556142807007, 0.8539815545082092, 1.1008155345916748, -0.22081682085990906, -0.7335402369499207, -0.5132467150688171, 0.3546742796897888, 0.008408443070948124, 1.0906139612197876, -0.4451824128627777, -0.5510358214378357, -0.06208239495754242, 0.3616024851799011, -0.2779929041862488, -0.5648476481437683, 0.8277712464332581, -0.8095018863677979, -0.09887926280498505, -0.4032422602176666, -0.2464580088853836, -0.5492731928825378, 0.3626919388771057, -1.061159610748291, 0.7627337574958801, 0.12110338360071182, -1.1921416521072388, -0.15307869017124176, -0.37715795636177063, -0.7904084920883179, 0.09746509045362473, 0.037157852202653885, 0.0075075458735227585, 0.012172650545835495, 0.1877681016921997, 0.10681474953889847, -0.5158625245094299, 0.12017068266868591, -0.4006699323654175, -0.33478352427482605, -0.10340669751167297, 0.07338278740644455, 0.9486865401268005, 0.051217641681432724, -0.2898194491863251, -0.16967232525348663, -0.45264407992362976, -0.3399105370044708, 0.5387972593307495, -0.3122321665287018, -0.6392657160758972, 0.36536699533462524, 0.205267071723938, 0.05475463718175888, 0.686364471912384, -0.6903441548347473, 0.264773964881897, -0.27126967906951904, -0.0776720941066742, 0.5325871109962463, -0.2526974678039551, 0.37923404574394226, -0.5600062012672424, 0.44029495120048523, -0.08196458220481873, 0.03784438967704773, -0.4075959026813507, -0.62110435962677, -0.6043432354927063, -0.22637303173542023, 0.34334197640419006, 0.5945904850959778, -0.4958338141441345, -0.02300766482949257, -0.5711119174957275, -0.5085368156433105, -0.5169652700424194, 0.38149142265319824, 0.5845924019813538, 0.5251569747924805, 0.5170717239379883, -0.5241386890411377, -0.4521319568157196, -0.6394749879837036, -0.7049368023872375, 0.00617486797273159, 0.14814326167106628, 0.3685041069984436, 0.3293793499469757, -0.4940248727798462, 0.6725197434425354, -0.23133614659309387, -0.397691011428833, -0.3496038317680359, 0.28229060769081116, 0.18942791223526, 0.42474812269210815, 0.7679359912872314, -1.405091404914856, -1.0426615476608276, 0.10285023599863052, -0.7006414532661438, -0.10957563668489456, 0.08745891600847244, 0.06524647772312164, 0.08992162346839905, 0.5008768439292908, -0.5654498934745789, 0.180257186293602, 0.45043033361434937, 0.08414078503847122, 0.47116023302078247, -0.25853490829467773, 0.026832852512598038, -0.7592462301254272, 0.04667346552014351, 0.12443269789218903, -0.3639451563358307, -0.3346996605396271, 0.8311883211135864, 0.3797796964645386, 0.14610832929611206, -0.5213487148284912, 0.5594249963760376, -0.5183722376823425, 0.04607589915394783, -0.27516210079193115, 0.16639631986618042, -0.02431383915245533, 0.27726057171821594, -0.1836257129907608, 0.765217125415802, 0.41324180364608765, -0.15171197056770325, 0.3547942340373993, 0.1408698409795761, 0.019931089133024216, 0.12547406554222107, -0.5677400231361389, 0.3467296361923218, -0.1529523879289627, 0.4134402275085449, -0.5352147817611694, -0.1962747871875763, -0.029398104175925255, -0.36885154247283936, 0.15530042350292206, -0.308962345123291, -1.0334309339523315, -0.4251132011413574, -0.587392270565033, 0.7346938252449036, 0.3599562644958496, -0.5778236985206604, 0.5188297629356384, 0.4909583330154419, -0.5652616620063782, -0.2392691969871521, -0.4861285984516144, 0.2258259803056717, 0.027909474447369576, -0.9175851345062256, 0.4720302224159241, -0.11681806296110153, -0.34209010004997253, 0.07302487641572952, -0.010051615536212921, -0.18051132559776306, -0.2126556783914566, 0.027616098523139954, 0.01297532208263874, -0.14823400974273682, -0.40036338567733765, 0.05210041627287865, -0.2140505015850067, -0.054201897233724594, -0.45301637053489685, 0.8303871750831604, -0.18960967659950256, -0.4426492154598236, -0.3414139151573181, 0.980497419834137, 0.8517690300941467, -0.5594736933708191, 0.7052593231201172, 0.6675707101821899, -0.2504553496837616, 0.07764612883329391, -0.6170307397842407, 0.12123626470565796, -0.5285199284553528, 0.0705878958106041, -0.3418520987033844, -0.4957580864429474, 0.7359558343887329, -0.1398889422416687, -0.2545514404773712, 0.5412776470184326, 0.5057474970817566, -0.1503312885761261, 1.4340062141418457, 0.9403470158576965, -0.09930167347192764, 0.11785820126533508, -0.26065415143966675, 0.43263664841651917, -0.5229489803314209, -0.6085165739059448, -0.8254765272140503, -0.3599259853363037, -0.8776740431785583, -0.45532914996147156, 0.20684947073459625, 0.14750994741916656, 0.20352138578891754, 0.6364952921867371, -0.12080221623182297, 0.4164418578147888, 0.9553248286247253, 0.2182113230228424, 0.5235742330551147, -0.016253070905804634, -0.5445178151130676, -0.12462203949689865, -0.5085877180099487, -0.24984781444072723, 1.0482726097106934, -0.050928860902786255, 0.2569129467010498, 0.01610574871301651, 0.9076698422431946, 0.15231016278266907, -0.07160893082618713, -0.7139771580696106, 0.7909603714942932, -0.4555530846118927, -0.5463190078735352, -0.04829791188240051, -0.31711554527282715, -0.9922299385070801, 0.04987913742661476, 0.16387991607189178, -0.5119326114654541, 0.05371762439608574, -0.2971436679363251, 0.2224409580230713, 0.5267345309257507, -0.5936529040336609, 0.5622158050537109, -0.3716735541820526, -0.3727809190750122, -0.6982068419456482, -0.682156503200531, 0.08418287336826324, -0.6186860799789429, 0.6111009120941162, -0.09199049323797226, -0.3390812873840332, 0.5438521504402161, -0.586916983127594, 0.2955314815044403, -0.0017943879356607795, 0.09600867331027985, 0.2652193307876587, 0.2702564001083374, 0.7559133768081665, -0.08435239642858505, -0.09952542930841446, 0.36477622389793396, -0.17004315555095673, -0.8034846782684326, -0.4230544865131378, 0.9167243242263794, -0.4178639352321625, -0.7464280724525452, -0.23626714944839478, -1.0006828308105469, 0.08454786986112595, 0.8872866630554199, 0.047371406108140945, 0.26054057478904724, 0.1722252517938614, 0.09488880634307861, 0.5787731409072876, -0.011129355058073997, 0.6436609625816345, 0.6190708875656128, -0.15604844689369202, -0.08328977972269058, 1.2478821277618408, 0.24011683464050293, -0.3149492144584656, 0.587225615978241, 0.1493542641401291, -0.4029655158519745, -0.9203389286994934, -0.2723517417907715, 0.532998263835907, -0.4533844292163849, -0.018421713262796402, -1.1162208318710327, 0.09810762852430344, -0.6733627319335938, -0.3199491500854492, -0.4038808047771454, -0.27762600779533386, -0.14831122756004333, 0.22723761200904846, 0.11153190582990646, 0.5195062756538391, -0.2545255422592163, 0.05752817913889885, -1.3754152059555054, 0.7499549388885498, 0.13308225572109222, 0.2584439516067505, -0.106905996799469, -0.04569371044635773, -0.3819192945957184, -0.017603347077965736, -0.11604053527116776, -1.0375306606292725, 0.5294466018676758, -0.12384798377752304, 0.47691845893859863, 0.5482828617095947, 0.23758481442928314, 0.4943520128726959, -0.6792952418327332, 0.37192302942276, 0.16798554360866547, -0.7088099122047424, 0.25070950388908386, -0.9890868067741394, 0.21390804648399353, 0.5577786564826965, 1.0275853872299194, -0.2673156261444092, -0.359737753868103, -0.3607840836048126, -1.0540015697479248, 0.427904337644577, 0.07129146158695221, 0.16012531518936157, -0.12843501567840576, -0.26436948776245117, 0.2743591368198395, 0.04675878956913948, -0.3565361797809601, 0.11905302107334137, -0.10085194557905197, -0.0834876149892807, 0.01235827337950468, -0.15904861688613892, -0.031596578657627106, -0.3799722492694855, 0.32734283804893494, -0.12978558242321014, -0.11131292581558228, 0.06857846677303314, -0.5401890873908997, -0.0826273262500763, -0.19957534968852997, 0.06387219578027725, 0.5728465914726257, -0.3091878294944763, 0.1055772602558136, -0.13519634306430817, -0.6659103035926819, -0.11928790807723999, 0.31492942571640015, -0.18222059309482574, 0.2862006723880768, 0.265904039144516, 0.17669261991977692, 0.25481128692626953, -1.0234851837158203, 0.7934756875038147, 0.011564955115318298, 0.013119148090481758, -0.025846023112535477, -0.1563987135887146, 0.28498008847236633, 0.5047397613525391, 0.40248754620552063, 0.09008530527353287, 0.31978049874305725, -0.435322642326355, 0.09386556595563889, 0.18584343791007996, -0.06515982747077942, -0.46082016825675964, 0.6376503109931946, 0.2965167164802551, -0.6261955499649048, 0.7532085180282593, -0.32377901673316956, -0.8391106128692627, 0.5877487659454346, 0.5650768876075745, 1.0503919124603271, 0.13517972826957703, 0.09260525554418564, 0.18226505815982819, 0.2605424225330353, -0.2734706997871399, 0.3649953603744507, -0.36459681391716003, -0.30913829803466797, -0.3441225588321686, -0.7609784603118896, -0.4465992748737335, -0.5035726428031921, -0.7569513320922852, 0.3277214467525482, -0.18297044932842255, 0.24421468377113342, -0.1023501455783844, 0.07464747130870819, -0.7090480327606201, 0.17885693907737732, 0.027934296056628227, 1.2651337385177612, -0.5417532324790955, 0.7796788811683655, 0.8787965178489685, -0.41738757491111755, -0.4386351704597473, 0.4062260091304779, -0.029150351881980896, -0.7768847346305847, 0.395029753446579, 0.22801515460014343, -0.19822297990322113, 0.2186417430639267, -0.3741700053215027, -0.8986989855766296, 0.8195275068283081, 0.2913314998149872, -0.6065438985824585, -0.3700422942638397, 0.3740876317024231, 0.4379238486289978, 0.1658189296722412, 0.13500338792800903, 0.18287156522274017, 0.619683027267456, -0.39484795928001404, -1.0425584316253662, 0.22305184602737427, -0.5036801099777222, -0.20785796642303467, 0.2571050226688385, -0.8896614909172058, 0.965903103351593, -0.2777811288833618, -0.32618841528892517, 0.3151692748069763, 0.5703551769256592, 0.11934053897857666, 0.6136951446533203, 0.6257705092430115, 0.8377640247344971, 0.5712752342224121, 0.20517775416374207, 1.2025789022445679, -0.6189746856689453, 0.3441191017627716, 0.7544859051704407, -0.21536578238010406, 0.9153324365615845, 0.6746284365653992, -0.14758040010929108, 0.743766725063324, 0.35963213443756104, 0.07364025712013245, 0.5621206760406494, -0.20573048293590546, -0.34585556387901306, -0.11437036842107773, -0.45097798109054565, -0.36394643783569336, 0.39072534441947937, 0.15186196565628052, -0.10532674938440323, -0.653567910194397, -0.013421631418168545, 0.19597910344600677, 0.39600253105163574, -0.2351931780576706, 0.5083773136138916, 0.0006769330357201397, -0.8467485904693604, 0.2648526728153229, 0.37170255184173584, 0.54132479429245, -0.45919880270957947, 0.29914188385009766, -0.4501098096370697, 0.18153323233127594, -0.16712574660778046, -0.6767812371253967, 0.38783004879951477, 0.29718396067619324, -0.6576356887817383, -0.5712265968322754, 0.7227205038070679, -0.14322973787784576, -0.37784382700920105, 0.84203040599823, 0.5016739964485168, 0.1953732967376709, -0.436443030834198, -0.5649422407150269, -0.04718344286084175, -0.08318822830915451, -0.2385464906692505, 0.6208149194717407, 0.4198054373264313, -0.3780496418476105, 0.5199510455131531, 1.0296043157577515, -0.07200125604867935, 0.3939017951488495, -0.19961358606815338, 1.0751675367355347, -0.8032850027084351, -0.7386569380760193, -0.6070498824119568, 0.3246096968650818, 0.12819108366966248, 0.2302553653717041, 1.168074369430542, 0.7720316648483276, 1.2599371671676636, 0.10642344504594803, 0.7415890097618103, 0.10275351256132126, 0.6762317419052124, -0.0948939248919487, 0.774759829044342, -0.8411800265312195, -0.12209443002939224, -0.20696771144866943, -0.8941419720649719, -0.09466871619224548, -0.08678758889436722, 0.055053673684597015, -0.403719037771225, 0.9489270448684692, 0.7800682187080383, -0.5368236303329468, -0.0050738356076180935, -0.09066067636013031, -0.08001293241977692, -0.055153436958789825, 0.29104718565940857, 0.6168293356895447, -0.24446840584278107, 0.7653751373291016, -0.5828940868377686, -0.1295500099658966, -0.34120801091194153, -0.8280526995658875, -0.6247446537017822, -0.4291008412837982, 0.052834928035736084, -0.2659660577774048, 0.12172380834817886, 0.32788607478141785, 0.47434520721435547, -0.6244456171989441, -0.23592916131019592, -0.3351583778858185, 0.27047455310821533, 0.09269306063652039, -0.12491973489522934, 0.12682001292705536, -0.4650524854660034, -1.1520506143569946, 0.6229259371757507, 0.5514962077140808, -0.02909795008599758, -0.24547478556632996, -0.1594754457473755, -0.49275729060173035, 0.22117264568805695, 0.13311068713665009, 0.4907272160053253, -0.2684558033943176, 0.3569180369377136, 0.26407772302627563, -0.24447818100452423, -0.07685071974992752, 1.0095021724700928, -0.8449201583862305, 0.5660840272903442, 1.2264305353164673, 0.6301389932632446, 0.5319902300834656, -0.057085491716861725, 0.43050605058670044, -0.3176076412200928, 0.44832614064216614, 0.24112872779369354, 0.4613701403141022, 0.2975231409072876, -0.023606933653354645, 0.22700679302215576, 0.7428786754608154, -0.2365456074476242, -0.9623249769210815, -0.022995760664343834, -1.0108623504638672, -0.34200921654701233, 0.9558225870132446, -0.39535945653915405, -0.34281018376350403, -0.0931292250752449, 0.05978928133845329, 0.23422472178936005, -0.042453616857528687, 0.7020425796508789, 0.29148179292678833, 0.29167553782463074, 0.3706860840320587, -0.369877427816391, -0.1865902692079544, 0.5918703675270081, -0.36575886607170105, -0.6115767955780029, 0.03274986520409584, 0.0687585100531578, 0.41443368792533875, 0.40810778737068176, -0.17840926349163055, 0.328612357378006, 0.11696778982877731, -0.23156124353408813, 0.04403575882315636, -0.7662692666053772, 0.10183496028184891, 0.4652298390865326, -0.5210506319999695, -0.18402992188930511 ]
http://arxiv.org/abs/2405.14769v1
http://arxiv.org/pdf/2405.14769v1
Pragmatic Feature Preferences: Learning Reward-Relevant Preferences from Human Input
2024-05-23T16:36:16
2024-05-23T16:36:16
Andi Peng, Yuying Sun, Tianmin Shu, David Abel
cs.LG
cs.LG, cs.CL
Humans use social context to specify preferences over behaviors, i.e. their reward functions. Yet, algorithms for inferring reward models from preference data do not take this social learning view into account. Inspired by pragmatic human communication, we study how to extract fine-grained data regarding why an example is preferred that is useful for learning more accurate reward models. We propose to enrich binary preference queries to ask both (1) which features of a given example are preferable in addition to (2) comparisons between examples themselves. We derive an approach for learning from these feature-level preferences, both for cases where users specify which features are reward-relevant, and when users do not. We evaluate our approach on linear bandit settings in both vision- and language-based domains. Results support the efficiency of our approach in quickly converging to accurate rewards with fewer comparisons vs. example-only labels. Finally, we validate the real-world applicability with a behavioral experiment on a mushroom foraging task. Our findings suggest that incorporating pragmatic feature preferences is a promising approach for more efficient user-aligned reward learning.
[ -0.41012123227119446, -0.6003637313842773, 0.4568849205970764, -0.05004939064383507, -0.2573355436325073, -0.08351299911737442, -0.5498406887054443, -0.4781394600868225, 0.689568817615509, 0.47415804862976074, -0.4449447691440582, -0.561171293258667, -0.5840688943862915, -0.20875585079193115, 0.02122635580599308, 1.133878231048584, 0.15948863327503204, -0.22923672199249268, -0.3371966779232025, -0.1625988632440567, -0.4367469549179077, -0.9260725378990173, -0.6059707403182983, -0.3458694517612457, 1.1435084342956543, 0.6088509559631348, 0.6033279299736023, 0.5000513792037964, 0.3353172242641449, 0.2415580302476883, -0.05223406106233597, 0.33536750078201294, -0.629425048828125, 0.009938379749655724, -0.4766252040863037, -0.6020988821983337, 0.1860622763633728, 0.2287103235721588, -0.022093916311860085, 0.5518582463264465, -0.11617626249790192, 0.10002843290567398, 0.08506899327039719, 0.4729557931423187, -0.6973079442977905, 0.4832852780818939, -0.6341069340705872, 0.05500571429729462, -0.17806574702262878, -0.24994324147701263, -0.16491760313510895, -0.6675493121147156, 0.44225603342056274, -0.5752259492874146, 0.27046191692352295, -0.24180574715137482, 1.0358330011367798, 0.050453364849090576, -0.18160052597522736, -0.5004810690879822, -0.34598737955093384, 0.8866337537765503, -0.30322369933128357, -0.05748123303055763, 0.7924161553382874, 0.44858935475349426, 0.018061554059386253, -0.6100366115570068, -0.2859979569911957, -0.19966822862625122, -0.5954762697219849, -0.20707273483276367, 0.27205905318260193, 0.07456634938716888, 0.035188592970371246, 0.04512565955519676, -0.26400893926620483, -0.05710680037736893, -0.203586608171463, -0.32680270075798035, 0.8133693337440491, -0.0325259231030941, -0.08839375525712967, -0.45240890979766846, -0.34636837244033813, -0.48524755239486694, -0.5759868025779724, 0.8861744403839111, 0.5421609878540039, 0.3763698935508728, 0.05025802552700043, 0.46070611476898193, -0.17406031489372253, 0.8611221313476562, 0.08273246139287949, -0.08516782522201538, 0.34164905548095703, -0.039968010038137436, 0.26801422238349915, -0.02903505228459835, 0.40785476565361023, 0.48290762305259705, 0.3482937514781952, -0.1978442668914795, -0.3054899573326111, 0.30588212609291077, 0.4757077395915985, -0.6157334446907043, -0.4525587856769562, 0.06507907062768936, -0.4076431393623352, -0.5944421291351318, 0.3137733042240143, -0.5243918895721436, -0.5041845440864563, -0.2764653265476227, 0.40240374207496643, -0.3268885314464569, -0.15777264535427094, 0.15423166751861572, -0.5810405611991882, 0.3415278494358063, 0.3555125892162323, -1.25157630443573, -0.05936097353696823, 1.0335538387298584, 0.6595537066459656, -0.11632733792066574, -0.3647967576980591, -0.6017354130744934, -0.0902690589427948, -0.12421616911888123, 1.0567989349365234, -1.028265118598938, -0.3758160471916199, -0.1800706535577774, 0.1798473447561264, 0.09655889868736267, -0.8035560250282288, 0.557265043258667, -0.2664913535118103, 0.13805922865867615, -0.7306057810783386, -0.29651033878326416, -0.29424843192100525, 0.254475861787796, -0.3420286476612091, 0.6507564187049866, 0.2908666729927063, -0.6224027276039124, 1.007187008857727, -0.7145540118217468, -0.5427641272544861, 0.2108641415834427, -0.36934593319892883, -0.30652058124542236, 0.2864524722099304, -0.12574754655361176, 0.5625746250152588, 0.275684654712677, 0.5150264501571655, -0.5275679230690002, -0.5602893233299255, 0.4471667408943176, -0.12760812044143677, 0.48100778460502625, 0.22698761522769928, -0.26011544466018677, 0.29732340574264526, -0.23878730833530426, -0.07081108540296555, 0.27181559801101685, -0.21996399760246277, -0.5559167265892029, 0.5348557233810425, -0.19763930141925812, -0.09431881457567215, 0.37469616532325745, -0.41906899213790894, 0.035354021936655045, -0.3829735815525055, 0.6897050142288208, 1.0425132513046265, -0.011028565466403961, 0.38025161623954773, -0.5070503950119019, 0.15229080617427826, 0.015255973674356937, 0.2372928112745285, 0.14305688440799713, -0.38260069489479065, -0.33922305703163147, -0.4629703760147095, 0.4612583816051483, 0.2892454266548157, -0.5655056238174438, 0.5847063660621643, 0.06081326678395271, -0.3974163830280304, -0.4202660024166107, 0.1114327535033226, 0.32850199937820435, 0.40139973163604736, 0.1440926492214203, -0.7634993195533752, -0.21026626229286194, -1.118369460105896, -0.4651373326778412, -0.33295294642448425, -0.36154624819755554, 1.0064764022827148, 0.23731602728366852, 0.04615176096558571, 1.097303032875061, -0.8192735314369202, 0.008318610489368439, -0.2539007365703583, 0.21566057205200195, 0.16119317710399628, 0.16856980323791504, 0.6645417809486389, -1.2539024353027344, -0.21702086925506592, 0.009155284613370895, -0.524196207523346, 0.2526662051677704, 0.08741437643766403, -0.24695880711078644, -0.1864238679409027, -0.3218260705471039, -0.3842427134513855, 0.5185030698776245, 0.14355619251728058, -0.3971812427043915, 0.047659724950790405, -0.1337762326002121, 0.196734219789505, -0.5304117798805237, -0.0160024706274271, 0.3664427399635315, -0.3339824378490448, -0.37298059463500977, -0.17137500643730164, 0.022029083222150803, 0.053397051990032196, -0.4994605481624603, 0.5804612636566162, 0.1259119212627411, -0.367702454328537, -0.10360895097255707, -0.04716278612613678, 0.043443288654088974, 0.6524598598480225, 0.6938688158988953, 0.5459364056587219, 0.37680184841156006, -0.633414626121521, 0.32058170437812805, 0.25747352838516235, -0.292495459318161, 0.5361447334289551, -0.6055329442024231, 0.10173748433589935, -0.303393691778183, -0.05095334351062775, -0.8646841049194336, -0.5164988040924072, 0.32186055183410645, -0.7735657095909119, 0.16268350183963776, -0.32604169845581055, -0.20069186389446259, -0.05146355181932449, -0.5926279425621033, -0.05168010666966438, 0.6541818380355835, -0.7226398587226868, 0.16545824706554413, 0.6464515328407288, -0.13259756565093994, -0.5496975183486938, -0.3120914697647095, -0.2378624826669693, -0.5571402907371521, -0.4022287428379059, 0.296810120344162, 0.22094619274139404, -0.14233310520648956, -0.14011085033416748, -0.1486831158399582, 0.05989837273955345, 0.43042442202568054, 0.3266333341598511, 0.17344234883785248, 0.18835143744945526, 0.08597234636545181, -0.2361631542444229, -0.14343228936195374, -0.21518225967884064, -0.20835824310779572, 0.43834900856018066, -0.16932454705238342, -0.12313497811555862, 0.09424097090959549, 0.28075122833251953, 0.023914184421300888, -0.3742600679397583, 0.5399088263511658, 0.5805988311767578, -0.14121676981449127, -0.16673216223716736, -0.2811219394207001, -0.6054587364196777, -0.5048328042030334, 0.19977712631225586, -0.1735396832227707, -1.1211421489715576, 0.26046422123908997, 0.04972486197948456, 0.20200736820697784, 0.028344906866550446, 0.3268490731716156, -0.455078125, 0.8888651132583618, 0.5615243315696716, 0.11909770220518112, 0.8788883090019226, -0.08761869370937347, 0.1388477385044098, -0.4819645285606384, -0.5087995529174805, -0.5711228847503662, -0.7062289714813232, -0.5915982723236084, -0.22901873290538788, 0.31996333599090576, -0.08656822890043259, -0.06567694991827011, 0.4564170837402344, -0.7610873579978943, 0.39605098962783813, 0.6256716847419739, 0.47840195894241333, -0.28133293986320496, 0.2769029140472412, 0.15898855030536652, -0.17140232026576996, -0.533123254776001, -0.5151848196983337, 0.704343318939209, 0.16295947134494781, 0.8590660691261292, -0.03894789144396782, 0.8675611615180969, 0.36769166588783264, 0.27767208218574524, -0.8558737635612488, 0.33093562722206116, -0.3650668263435364, -0.5309668183326721, -0.34543102979660034, -0.3980543613433838, -1.1367149353027344, 0.19279654324054718, -0.2966708540916443, -0.853966474533081, 0.5526068210601807, 0.36833977699279785, -0.35360386967658997, -0.1065513864159584, -1.1799192428588867, 1.1006677150726318, -0.7184083461761475, -0.6041058897972107, -0.14635856449604034, -0.7829796671867371, 0.006169424392282963, 0.3190782070159912, -0.04506528005003929, -0.23559094965457916, -0.06189388781785965, 0.6138479113578796, -0.17174780368804932, 1.0425130128860474, -0.5313628315925598, 0.48510539531707764, 0.15287639200687408, -0.01209007203578949, 0.3694658577442169, 0.26888468861579895, 0.05369190126657486, 0.146952286362648, -0.12959697842597961, -0.5573990345001221, -0.7327589988708496, 0.6082407236099243, -0.7748933434486389, -0.6663785576820374, -0.31350985169410706, -0.20177830755710602, -0.22974582016468048, -0.07162795215845108, -0.005103813484311104, 0.25816941261291504, 0.050463780760765076, 0.34763815999031067, 0.8544194102287292, -0.24749748408794403, 0.19498753547668457, 0.23060117661952972, 0.04223672300577164, -0.023091858252882957, 1.2447421550750732, -0.010078657418489456, 0.10602730512619019, 0.5223159193992615, 0.41191792488098145, -0.45525264739990234, -0.3740929961204529, -0.3253058195114136, 0.1753547340631485, -0.5956981778144836, -0.011213625781238079, -0.5449413061141968, 0.07934509962797165, -0.05135034769773483, -0.6566997170448303, -0.10083319246768951, -0.308121919631958, -0.26564764976501465, -0.10349465906620026, 0.5906406044960022, 0.6235150098800659, 0.09803229570388794, 0.11067422479391098, -0.4818897843360901, 0.30366355180740356, 0.7230418920516968, 0.43895411491394043, -0.24515600502490997, -0.29058241844177246, -0.11740253865718842, 0.16980840265750885, -0.2853512465953827, -0.7630201578140259, 0.5417314767837524, 0.093558169901371, 0.9147956371307373, 0.3899742662906647, 0.05239859223365784, 0.490130215883255, 0.03046908602118492, 0.7161422371864319, 0.13883723318576813, -0.5473516583442688, 0.7253350615501404, -0.08981228619813919, -0.23711620271205902, 0.8148419260978699, 0.6362042427062988, -0.5299248099327087, 0.16640222072601318, -0.7403726577758789, -0.8157681226730347, 0.8144089579582214, -0.0868917927145958, 0.07886357605457306, -0.07291513681411743, 0.6162849068641663, 0.28224390745162964, 0.5521159768104553, -0.5350020527839661, -0.06949160248041153, -0.6184435486793518, -0.2598106861114502, -0.45800936222076416, -0.1717950999736786, -0.27831247448921204, -0.17227385938167572, 0.0886973887681961, -0.2788746654987335, 0.14200341701507568, 0.03294758126139641, -0.14440980553627014, 0.2482629418373108, 0.2240247130393982, 0.27962997555732727, 0.8507323861122131, -0.45186737179756165, 0.22286315262317657, -0.10535865277051926, -0.2735522389411926, 0.08117648214101791, -0.026602623984217644, -0.1865488439798355, -0.11915018409490585, -0.10050734877586365, 0.8760879039764404, 0.44607001543045044, -0.7956675291061401, 0.7477073073387146, -0.24064379930496216, -0.22116665542125702, -0.04203291982412338, 0.5108749270439148, 0.28240054845809937, 0.17346200346946716, 0.10478240251541138, 0.0686948299407959, 0.30936259031295776, -0.8238970637321472, 0.31286266446113586, 0.7391546368598938, -0.5607463717460632, -0.1650906652212143, 0.0505269356071949, 0.3161856234073639, -0.4698837101459503, 0.3240574896335602, -0.2720794081687927, -0.5501123070716858, 0.5496265292167664, 0.1197889968752861, 0.757700502872467, 0.1148761436343193, 0.5443984270095825, 0.26010701060295105, 0.004953064955770969, -0.0481734536588192, 0.11847835034132004, -0.5757101774215698, -0.7185074687004089, -0.0590781532227993, -0.7522154450416565, -0.4681941568851471, -0.40121427178382874, -0.7156956195831299, 0.5181506276130676, -0.5080922245979309, -0.17386583983898163, 0.3054492175579071, -0.02856213040649891, -0.6545501947402954, -0.04440877214074135, 0.12610159814357758, 0.5837048292160034, -0.7888733148574829, 0.7507433295249939, 1.0133885145187378, -0.3034948706626892, -0.6026705503463745, -0.2243010401725769, -0.12676778435707092, -1.0828125476837158, 0.47973307967185974, 0.06832634657621384, 0.034689925611019135, -0.4705645442008972, -0.7772138714790344, -0.4300585687160492, 1.0674771070480347, 0.22311237454414368, -0.3696286678314209, -0.054368700832128525, -0.3136349320411682, 0.33659350872039795, -0.5311936140060425, 0.3357427418231964, 0.6693652272224426, 0.4942483901977539, 0.4268396198749542, -0.5738442540168762, -0.3414115011692047, 0.03394709900021553, 0.12430261820554733, 0.34890344738960266, -0.7986053228378296, 0.6176193356513977, -0.2843592166900635, -0.006121364422142506, -0.5645154118537903, 0.4071464240550995, 0.47150781750679016, 0.500124454498291, 0.6965272426605225, 0.1641223430633545, 0.7595812678337097, -0.07983052730560303, 1.0460999011993408, 0.06342733651399612, 0.42015576362609863, 0.7245973348617554, -0.29989713430404663, 0.87007075548172, 0.45675432682037354, -0.2817856967449188, 0.5492949485778809, 1.2485798597335815, 0.22220441699028015, 0.8461958169937134, 0.139849454164505, -0.11391838639974594, -0.4912906885147095, -0.1840945929288864, -0.0822637528181076, 0.4856564402580261, 0.5246921181678772, -0.24587763845920563, -0.2176700234413147, -0.34031209349632263, -0.28091397881507874, 0.0852108895778656, -0.31992852687835693, 1.0304585695266724, -0.1860411912202835, -0.7966252565383911, 0.49398213624954224, -0.017311902716755867, 1.0335603952407837, -0.867168128490448, -0.308292955160141, -0.23324033617973328, -0.03322332724928856, -0.4209592938423157, -0.9555056095123291, 0.19670763611793518, 0.08407886326313019, -0.1227097436785698, -0.1238684430718422, 0.8295861482620239, -0.34059208631515503, -0.0868048220872879, -0.023042336106300354, 0.0779075026512146, 0.31081947684288025, 0.007257295772433281, -0.7776066660881042, -0.1513579934835434, 0.23217225074768066, -0.06314586102962494, 0.7249278426170349, 0.30513060092926025, -0.12760981917381287, 0.45383983850479126, 0.685655415058136, 0.18316882848739624, -0.33130452036857605, -0.34786075353622437, 0.8501645922660828, -0.821678102016449, -0.6978540420532227, -0.7201159596443176, 0.48211443424224854, -0.2994937598705292, -0.23052699863910675, 0.6182461977005005, 0.4294929504394531, 1.0809777975082397, 0.12581326067447662, 0.8430627584457397, -0.18590709567070007, 0.45905691385269165, -0.38023605942726135, 0.32511064410209656, -0.4643494486808777, 0.2387743443250656, 0.0277219470590353, -0.7390711307525635, 0.17361193895339966, 1.0446096658706665, -0.6343570351600647, 0.07794076204299927, 0.3937055766582489, 0.8617017269134521, 0.007773555815219879, -0.0421815887093544, 0.3936409056186676, -0.34761616587638855, 0.054523974657058716, 0.7772772908210754, 0.9271426200866699, 0.46416226029396057, 0.18594926595687866, -0.44146209955215454, -0.44943225383758545, -0.5192967653274536, -0.8043892979621887, -0.7825106978416443, -0.5323394536972046, -0.006170412991195917, -0.26077941060066223, 0.17980776727199554, 1.129459261894226, 0.9812411069869995, -0.6553112864494324, -0.3277798295021057, 0.29685261845588684, 0.6323118209838867, -0.2701025903224945, -0.23309579491615295, 0.12496258318424225, -0.39037245512008667, -0.4135253131389618, -0.034903787076473236, 0.4217165410518646, -0.2278733104467392, -0.27024224400520325, -0.24951833486557007, 0.06128838285803795, -0.022372785955667496, 0.4468892216682434, 0.46204087138175964, -0.6522607803344727, -0.555667519569397, 0.04986639693379402, 0.09255096316337585, 0.24425441026687622, 1.1708009243011475, -0.9514134526252747, 0.5200498104095459, 0.4637071192264557, 0.6174715757369995, 0.6842474937438965, 0.23134620487689972, 0.32237508893013, -0.6926547884941101, 0.3119173049926758, 0.33747103810310364, 0.1416991800069809, 0.3746449053287506, -0.5713452696800232, 0.23295891284942627, 0.41273877024650574, -0.45963796973228455, -0.6280284523963928, 0.29819729924201965, -0.8443303108215332, -0.4082457423210144, 1.1328216791152954, -0.4300600588321686, -0.6665155291557312, -0.1481657773256302, -0.2707382142543793, -0.29835984110832214, -0.6425679326057434, 0.7406280636787415, 0.5504672527313232, -0.31156042218208313, -0.13173627853393555, -0.31152793765068054, 0.7322754263877869, 0.2262546867132187, -0.6291270852088928, 0.16638585925102234, 0.5409798622131348, 0.38081297278404236, -0.01801331713795662, 0.4712788462638855, -0.08133228868246078, 0.5316420793533325, -0.1852475255727768, 0.05833552032709122, -0.05755149945616722, -0.46091121435165405, -0.3728579580783844, 0.27889394760131836, 0.5822619199752808, -0.1550598293542862 ]
http://arxiv.org/abs/2405.14768v1
http://arxiv.org/pdf/2405.14768v1
WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models
2024-05-23T16:35:52
2024-05-23T16:35:52
Peng Wang, Zexi Li, Ningyu Zhang, Ziwen Xu, Yunzhi Yao, Yong Jiang, Pengjun Xie, Fei Huang, Huajun Chen
cs.CL
cs.CL, cs.AI, cs.CV, cs.IR, cs.LG
Large language models (LLMs) need knowledge updates to meet the ever-growing world facts and correct the hallucinated responses, facilitating the methods of lifelong model editing. Where the updated knowledge resides in memories is a fundamental question for model editing. In this paper, we find that editing either long-term memory (direct model parameters) or working memory (non-parametric knowledge of neural network activations/representations by retrieval) will result in an impossible triangle -- reliability, generalization, and locality can not be realized together in the lifelong editing settings. For long-term memory, directly editing the parameters will cause conflicts with irrelevant pretrained knowledge or previous edits (poor reliability and locality). For working memory, retrieval-based activations can hardly make the model understand the edits and generalize (poor generalization). Therefore, we propose WISE to bridge the gap between memories. In WISE, we design a dual parametric memory scheme, which consists of the main memory for the pretrained knowledge and a side memory for the edited knowledge. We only edit the knowledge in the side memory and train a router to decide which memory to go through when given a query. For continual editing, we devise a knowledge-sharding mechanism where different sets of edits reside in distinct subspaces of parameters, and are subsequently merged into a shared memory without conflicts. Extensive experiments show that WISE can outperform previous model editing methods and overcome the impossible triangle under lifelong model editing of question answering, hallucination, and out-of-distribution settings across trending LLM architectures, e.g., GPT, LLaMA, and Mistral. Code will be released at https://github.com/zjunlp/EasyEdit.
[ -0.07095687836408615, -1.0780974626541138, 0.7441226243972778, 0.01924968510866165, -0.18957139551639557, -0.1544644832611084, -0.4009494185447693, -0.41838985681533813, 0.11361883580684662, 0.6773063540458679, -0.2433360368013382, -0.34408020973205566, -0.303149551153183, -0.21573367714881897, -0.2545124888420105, 0.841711163520813, -0.0748758539557457, 0.10554518550634384, -0.38750579953193665, -0.5226331353187561, -0.6663176417350769, -0.5781086683273315, -0.9164384007453918, -0.23305270075798035, 0.5831084251403809, 0.1472485065460205, 0.9822216629981995, 0.6995232701301575, 0.3123936355113983, 0.31776317954063416, -0.3614273965358734, 0.24472233653068542, -0.6582044959068298, 0.2016383707523346, -0.2955581545829773, -0.39709851145744324, -0.8807398676872253, -0.28617802262306213, 0.6055513024330139, 0.5835050344467163, -0.18267694115638733, -0.08405947685241699, 0.15219664573669434, 0.880479633808136, -0.4153009057044983, -0.10056203603744507, -0.8825774192810059, -0.15400776267051697, -0.1788320243358612, -0.11214368045330048, -0.1884617805480957, -0.23991398513317108, -0.13094325363636017, -0.5143496990203857, 0.03160502761602402, -0.03846973180770874, 0.43308308720588684, 0.36310461163520813, -0.2506551742553711, -0.12297747284173965, -0.6816806197166443, 0.5841686725616455, -0.7819634675979614, 0.6539548635482788, 0.30175626277923584, 0.05444912984967232, -0.24576812982559204, -0.560543417930603, -0.46777498722076416, -0.13835668563842773, 0.3217453360557556, -0.09816109389066696, -0.05239243060350418, 0.2616531252861023, 0.17107604444026947, 0.2617945969104767, -0.28050655126571655, -0.08110293745994568, -0.48185205459594727, -0.21527275443077087, 0.629569411277771, 0.16070258617401123, 0.2856556177139282, -0.07971405237913132, -0.24585530161857605, 0.3026793897151947, -0.8599343299865723, -0.1612413078546524, 0.301429808139801, -0.007836682721972466, 0.3338558077812195, 0.5769364237785339, -0.2625402510166168, 1.0917049646377563, 0.19959065318107605, -0.08218617737293243, -0.023973366245627403, -0.24130472540855408, -0.2671305239200592, -0.12412639707326889, 0.7642718553543091, 0.5200937986373901, 0.31456032395362854, -0.42204487323760986, -0.38964515924453735, -0.540856122970581, 0.20934472978115082, -0.5039544701576233, -0.35981881618499756, 0.14079709351062775, -0.2569894790649414, -0.13032476603984833, -0.3769359886646271, -0.5828003287315369, -0.3940395712852478, -0.34480568766593933, 0.6457074284553528, -0.6018047332763672, -0.09531547129154205, 0.4718184173107147, -0.00013837490405421704, -0.20047616958618164, 0.2920514643192291, -0.7258632779121399, 0.001690961653366685, 0.6495737433433533, 0.7174651026725769, 0.10716528445482254, -0.565962016582489, -0.28839534521102905, 0.5065555572509766, -0.30479374527931213, 0.7011427879333496, -0.6683632135391235, -0.25270411372184753, -0.26595979928970337, -0.35830047726631165, 0.013048366643488407, -0.5527785420417786, 0.15024450421333313, -1.0511726140975952, 0.11453129351139069, -0.37192434072494507, -0.6834998726844788, -0.12500928342342377, 0.20646405220031738, -0.7267612814903259, 0.9934367537498474, -0.10494276136159897, -0.8099883794784546, 0.07172361761331558, -0.501750648021698, -0.28599822521209717, -0.22586442530155182, 0.1220100149512291, -0.3018483817577362, 0.13467639684677124, 0.15790432691574097, 0.29981037974357605, -0.03702480345964432, 0.8261439800262451, -0.45573747158050537, -0.3086143732070923, 0.30626142024993896, -0.33739331364631653, 0.6878620386123657, -0.03403819724917412, 0.12042135000228882, 0.2732663154602051, -0.7522777318954468, -0.05377931147813797, -0.012870585545897484, -0.46277302503585815, -0.5535483360290527, -0.10653970390558243, -0.31778112053871155, 0.28216779232025146, 0.6718829870223999, -0.3574961721897125, 0.46267810463905334, -0.22491610050201416, 0.6412745714187622, 0.9383823871612549, 0.3321109414100647, 0.5409095287322998, -0.5676631927490234, 0.30123862624168396, 0.08670780062675476, 0.2987000048160553, 0.30044251680374146, -0.44877734780311584, -0.930334746837616, 0.23917271196842194, 0.24524031579494476, 0.5226128101348877, -0.7960448861122131, 0.09803278744220734, -0.33722150325775146, -0.3577457070350647, -0.3549603223800659, 0.49182257056236267, 0.35035011172294617, 0.5740191340446472, 0.5266730189323425, -0.016520103439688683, -0.6076516509056091, -0.8403385877609253, -0.6656026840209961, -0.17155756056308746, 0.10949438065290451, 0.11914084106683731, 0.3240874707698822, -0.21615764498710632, 0.8763843774795532, -0.38855618238449097, -0.047896482050418854, -0.20604804158210754, -0.21466408669948578, -0.011661093682050705, 0.36348703503608704, 0.0867336168885231, -0.5929323434829712, -0.26577937602996826, -0.35238194465637207, -0.6996417045593262, 0.12269654124975204, -0.2847428321838379, -0.25102493166923523, 0.03900738060474396, 0.7647891640663147, -0.7954831719398499, 0.2315531224012375, 0.28784048557281494, -0.14278756082057953, 0.6153995394706726, -0.49672019481658936, 0.06769604235887527, -1.009304165840149, -0.14541028439998627, -0.28443676233291626, -0.17757995426654816, -0.6441799998283386, 0.19950860738754272, 0.322000116109848, 0.0163173396140337, -0.34406545758247375, 0.6796079874038696, -0.5218784809112549, 0.18614381551742554, -0.1815066635608673, 0.2147824764251709, -0.08733828365802765, 0.6654748916625977, -0.16906145215034485, 0.6592037677764893, 0.49982118606567383, -0.6481650471687317, 0.4770311713218689, 0.2028009444475174, -0.27362900972366333, 0.5427618026733398, -0.5536859035491943, 0.48945680260658264, -0.2197321653366089, 0.2030802071094513, -0.591848611831665, 0.04363444074988365, 0.213588148355484, -0.2433158904314041, 0.17576450109481812, -0.022241732105612755, -0.5514752268791199, -0.05429701507091522, -0.3032805025577545, 0.5809020400047302, 0.15056505799293518, -0.4243519902229309, 0.6710574626922607, 0.38146349787712097, -0.1861410290002823, -0.5125985741615295, -0.7436215281486511, 0.4856771230697632, -0.2211838811635971, -0.9253090620040894, 0.38289880752563477, -0.29637548327445984, -0.4011651575565338, 0.21342125535011292, -0.18202757835388184, -0.2166794240474701, -0.23042431473731995, -0.06314001977443695, 0.23886001110076904, -0.15104344487190247, 0.44204583764076233, 0.1668960601091385, -0.21730419993400574, -0.06029374152421951, -0.38165736198425293, 0.40434950590133667, -0.15299031138420105, -0.32803767919540405, -0.3026423454284668, 0.23335057497024536, 0.6326559782028198, -0.4128025472164154, 0.787022590637207, 0.18759869039058685, -0.44793251156806946, -0.08002246916294098, -0.920346200466156, -0.022784031927585602, -0.462216317653656, 0.5382449626922607, -0.49009671807289124, -1.0571471452713013, 0.58013916015625, 0.07862038910388947, 0.1839289665222168, 0.3368467688560486, 0.2703695297241211, -0.031219566240906715, 0.6284717321395874, 0.6733614206314087, -0.16229601204395294, 0.31636565923690796, -0.036832429468631744, 0.35692107677459717, -1.1821413040161133, -0.09187168627977371, 0.019306929782032967, -0.4894142746925354, -0.1828937530517578, -0.580075740814209, 0.3502483665943146, 0.47527334094047546, -0.33036771416664124, 0.061176709830760956, -0.22589422762393951, 0.6446565985679626, 0.43289098143577576, 0.393151193857193, 0.6415325999259949, -0.32000190019607544, -0.004470349755138159, -0.06527760624885559, -0.7871541380882263, -0.2281569093465805, 1.3274171352386475, 0.12889166176319122, 0.6814908981323242, 0.08614654839038849, 0.7748074531555176, -0.04467826336622238, 0.04638996720314026, -0.4889610707759857, 0.8596624732017517, -0.01459234207868576, -0.538844645023346, -0.3942684531211853, -0.3999820947647095, -0.5051922798156738, 0.058880921453237534, -0.009736217558383942, -0.6058752536773682, 0.08663657307624817, 0.3835720419883728, -0.5426422953605652, 0.9003707766532898, -0.43301406502723694, 0.6985102295875549, -0.43006083369255066, -0.5222788453102112, -0.5257697105407715, -0.5604772567749023, 0.5118600726127625, -0.17867998778820038, 0.16642023622989655, 0.39108195900917053, -0.2308749556541443, 0.9026654362678528, -0.4556792378425598, 0.7174003720283508, -0.1644926816225052, 0.054546892642974854, 0.25990307331085205, 0.3591642379760742, 0.6395926475524902, 0.2876494824886322, -0.24051553010940552, 0.06028314679861069, -0.05542944371700287, -0.30230438709259033, -0.7470766305923462, 0.7146469354629517, -0.5538285970687866, -0.9006586670875549, -0.2180815190076828, -0.9510740041732788, -0.6316313147544861, 0.21275201439857483, -0.04957287758588791, 0.410489559173584, -0.12727484107017517, 0.1428120881319046, 0.9469060897827148, -0.25453072786331177, 0.19212523102760315, 0.3754015564918518, -0.5186537504196167, -0.42515137791633606, 0.8401675820350647, 0.3487694263458252, 0.4683546721935272, 0.29544153809547424, 0.2515122592449188, -0.07628705352544785, -0.8464470505714417, -0.23089033365249634, 0.3287561237812042, -0.772537887096405, -0.13866399228572845, -0.7951037287712097, -0.48313629627227783, -0.2513740062713623, -0.20471084117889404, -0.37961071729660034, -0.4093489944934845, -0.1514623463153839, -0.11606265604496002, 0.5847494006156921, 0.8019000291824341, -0.5343323945999146, 0.12171199917793274, -0.707332193851471, 0.6014378666877747, 0.6341185569763184, 0.4191397726535797, 0.29301875829696655, -0.516374945640564, -0.2371080219745636, 0.26690980792045593, -0.03939666226506233, -0.8788886666297913, 0.11108123511075974, 0.08410061150789261, 0.32886892557144165, 0.2610475718975067, -0.15337616205215454, 1.0560799837112427, -0.4539467692375183, 0.4848705232143402, -0.01915280893445015, -0.898801326751709, 0.2134505957365036, -0.47843316197395325, 0.35829076170921326, 0.7667285203933716, -0.013037300668656826, -0.9732204675674438, -0.509308934211731, -0.5616306662559509, -0.6512534022331238, 0.3198169767856598, -0.421524316072464, 0.08309390395879745, 0.03990297019481659, 0.6711040139198303, 0.05268419161438942, 0.16662412881851196, -0.6782424449920654, -0.0024641624186187983, -0.04594026133418083, 0.024561496451497078, 0.17337337136268616, -0.555142879486084, 0.06354646384716034, -0.6180384159088135, 0.7967894077301025, 0.28208228945732117, 0.11260880529880524, 0.09177499264478683, -0.24582616984844208, -0.08527131378650665, 0.3837398886680603, 0.4777106046676636, 1.0830557346343994, -0.22661349177360535, 0.019987449049949646, 0.4952339231967926, -0.2670027017593384, -0.12347009032964706, -0.28539952635765076, -0.35431721806526184, -0.23608948290348053, 0.17959825694561005, 0.7312674522399902, 0.5204746127128601, -0.3849826455116272, 0.1850045919418335, -0.02342963218688965, -0.16110141575336456, -0.09626282006502151, 0.18007072806358337, 0.6785754561424255, 0.2880157232284546, 0.03997747600078583, 0.34696897864341736, -0.183121457695961, -0.4023052752017975, 0.24149014055728912, 0.4582425653934479, -0.30051490664482117, -0.16651399433612823, 0.622883677482605, 0.03405873849987984, -0.5022657513618469, 0.8299415707588196, -0.3924276530742645, -0.5744832158088684, 0.14189507067203522, 0.5321525931358337, 0.6346906423568726, -0.17699231207370758, -0.006131545640528202, 0.35765740275382996, 0.30708712339401245, -0.20155519247055054, 0.19412238895893097, 0.05143992602825165, -0.7650380730628967, -0.37651756405830383, -0.4729343056678772, -0.22831451892852783, 0.3559708893299103, -0.5490553975105286, 0.0871662124991417, -0.6231015920639038, 0.08312173187732697, -0.5803627967834473, -0.17719115316867828, -0.49778300523757935, 0.12204456329345703, -0.25668859481811523, 0.8844668865203857, -0.44443076848983765, 1.1921401023864746, 0.3369821608066559, -0.2004234790802002, -0.7514019012451172, -0.042425431311130524, 0.04444991797208786, -0.9025507569313049, 0.24509842693805695, -0.1080588772892952, -0.0972365066409111, 0.07008569687604904, -0.5043020844459534, -0.8427672386169434, 1.008895754814148, 0.3137396574020386, -0.8079365491867065, -0.3992367684841156, 0.06824831664562225, 0.42750123143196106, 0.1000264585018158, -0.2388383001089096, 0.5501726269721985, 0.5984922647476196, 0.09156797081232071, -0.7008142471313477, -0.01593746617436409, -0.1428748220205307, -0.07321488112211227, 0.2892323136329651, -0.7807215452194214, 0.9529094099998474, -0.39518705010414124, -0.07917963713407516, 0.23658783733844757, 0.7963107228279114, 0.2560311257839203, 0.04983679950237274, 0.3821530342102051, 1.0408718585968018, 0.9084799885749817, 0.2652488648891449, 0.6381999254226685, -0.5262827277183533, 0.1238088309764862, 1.340889811515808, -0.1282593011856079, 0.9120962023735046, 0.6242043375968933, 0.006908576004207134, 0.30584871768951416, 0.37676241993904114, 0.22117267549037933, 0.3864699602127075, 0.041358429938554764, -0.36343511939048767, -0.37395378947257996, 0.372715562582016, -0.4377201199531555, 0.2717917859554291, 0.1925712525844574, 0.06387083232402802, -0.17738354206085205, 0.0016576602356508374, 0.3748515248298645, -0.0817185714840889, -0.3745366632938385, 0.7356384992599487, 0.1918153464794159, -0.6261811852455139, 0.44429370760917664, 0.21525335311889648, 0.8082633018493652, -0.6579768657684326, 0.19531314074993134, -0.23582570254802704, 0.07981585711240768, -0.11796551942825317, -0.8082248568534851, 0.5638097524642944, 0.0171400997787714, -0.10833130776882172, -0.3774562180042267, 0.7645503282546997, -0.6152533292770386, -0.5730332732200623, 0.3025549352169037, 0.6134824156761169, -0.13316334784030914, -0.36398419737815857, -0.9100372195243835, 0.03734733909368515, 0.1320696622133255, -0.2815934121608734, 0.4292433559894562, 0.5709137916564941, 0.014958563260734081, 0.7789230346679688, 0.6376522183418274, 0.3502303659915924, 0.16088418662548065, -0.10935988277196884, 0.8044745326042175, -0.957142174243927, -0.4834066331386566, -0.9595188498497009, 0.47240278124809265, 0.0534454807639122, -0.34905481338500977, 0.5932436585426331, 0.5122693777084351, 0.6809831261634827, 0.15214143693447113, 0.6099523901939392, 0.05040017515420914, 0.20921343564987183, -0.7083755135536194, 1.0464842319488525, -0.5033804178237915, 0.2534543573856354, -0.038930222392082214, -0.9706900715827942, -0.31345075368881226, 0.3882790207862854, -0.6383870244026184, 0.05616958811879158, 0.7885810732841492, 1.0243806838989258, -0.1266518533229828, 0.08001210540533066, 0.2476666271686554, 0.6157428026199341, 0.24869340658187866, 1.0728200674057007, 0.7710399031639099, -0.2651485800743103, 0.4660711884498596, -0.35271361470222473, 0.014906490221619606, 0.06917556375265121, -0.7675837278366089, -0.8443405628204346, -0.6792848110198975, -0.15630362927913666, -0.21080701053142548, 0.4484419524669647, 0.504460871219635, 0.248649463057518, -0.33883020281791687, -0.1377859264612198, -0.12947840988636017, 0.29925015568733215, -0.08703317493200302, -0.15477557480335236, 0.491950660943985, -0.08268599212169647, -0.20017009973526, 0.5253766179084778, 0.5145784020423889, -0.24042779207229614, -0.3072766661643982, -0.12125565856695175, -0.3640722632408142, 0.10534118860960007, 0.3523585796356201, 0.29779937863349915, -0.5410839319229126, -0.4607451558113098, -0.054023828357458115, -0.0804930180311203, 0.19371578097343445, 0.665077269077301, -0.7184970378875732, 0.5232115387916565, 0.4548616409301758, 0.7998406887054443, 0.21943645179271698, -0.23140949010849, 0.5056931972503662, -0.2620784640312195, -0.005804206244647503, 0.21647189557552338, 0.443938285112381, 0.4355778396129608, -0.31290990114212036, 0.013035139068961143, 0.17522284388542175, -0.7375693321228027, -0.6000247001647949, 0.18851666152477264, -0.9354645013809204, -0.3259759843349457, 1.095036506652832, 0.23878365755081177, -0.36109012365341187, -0.1576562523841858, -0.21720784902572632, 0.3265397250652313, -0.09662796556949615, 0.953296959400177, 0.8351296782493591, -0.13179288804531097, -0.07635873556137085, -0.6463472843170166, 0.34037378430366516, 0.45996883511543274, -0.5340183973312378, 0.2782957851886749, 0.7115500569343567, 0.5120734572410583, -0.27845606207847595, 0.7097480297088623, -0.11969082057476044, 0.3889477550983429, -0.14225782454013824, -0.0386156290769577, -0.5471498966217041, -0.5192292332649231, -0.41482895612716675, 0.1287114918231964, 0.12592515349388123, 0.21324913203716278 ]
http://arxiv.org/abs/2405.14767v2
http://arxiv.org/pdf/2405.14767v2
FinRobot: An Open-Source AI Agent Platform for Financial Applications using Large Language Models
2024-05-23T16:35:20
2024-05-27T12:43:42
Hongyang Yang, Boyu Zhang, Neng Wang, Cheng Guo, Xiaoli Zhang, Likun Lin, Junlin Wang, Tianyu Zhou, Mao Guan, Runjia Zhang, Christina Dan Wang
q-fin.ST
q-fin.ST, cs.CL, cs.LG, q-fin.TR
As financial institutions and professionals increasingly incorporate Large Language Models (LLMs) into their workflows, substantial barriers, including proprietary data and specialized knowledge, persist between the finance sector and the AI community. These challenges impede the AI community's ability to enhance financial tasks effectively. Acknowledging financial analysis's critical role, we aim to devise financial-specialized LLM-based toolchains and democratize access to them through open-source initiatives, promoting wider AI adoption in financial decision-making. In this paper, we introduce FinRobot, a novel open-source AI agent platform supporting multiple financially specialized AI agents, each powered by LLM. Specifically, the platform consists of four major layers: 1) the Financial AI Agents layer that formulates Financial Chain-of-Thought (CoT) by breaking sophisticated financial problems down into logical sequences; 2) the Financial LLM Algorithms layer dynamically configures appropriate model application strategies for specific tasks; 3) the LLMOps and DataOps layer produces accurate models by applying training/fine-tuning techniques and using task-relevant data; 4) the Multi-source LLM Foundation Models layer that integrates various LLMs and enables the above layers to access them directly. Finally, FinRobot provides hands-on for both professional-grade analysts and laypersons to utilize powerful AI techniques for advanced financial analysis. We open-source FinRobot at \url{https://github.com/AI4Finance-Foundation/FinRobot}.
[ -0.1179845854640007, -0.7779995799064636, 0.3819834291934967, 0.2628282308578491, -0.05398137494921684, 0.6475924849510193, -0.26860785484313965, -0.6853907108306885, 0.0734538808465004, 0.8974466919898987, -0.21168097853660583, -0.7215551137924194, -0.3862643837928772, -0.16441960632801056, -0.18245939910411835, 1.0388214588165283, -0.019912488758563995, 0.14436395466327667, -0.1838819831609726, 0.028259506449103355, -0.16751332581043243, -0.3093281090259552, -1.0443886518478394, -0.42987024784088135, 0.35822510719299316, 0.39945289492607117, 0.7942920327186584, 0.464325875043869, 0.7845068573951721, 0.500500500202179, 0.5525087714195251, -0.183465376496315, -0.08006784319877625, -0.034463319927453995, -0.3500185012817383, -0.5705865621566772, -0.8381124138832092, 0.12796780467033386, 0.21819289028644562, 0.22661080956459045, -0.23559264838695526, 0.24862392246723175, -0.27500689029693604, 0.7223387360572815, -0.5309200882911682, 0.6936371326446533, -0.49052274227142334, -0.2812957465648651, -0.24797800183296204, 0.0695883259177208, -0.38506537675857544, -0.21433863043785095, 0.09956596791744232, -0.5801936984062195, -0.07927894592285156, -0.07012807577848434, 0.4535752236843109, 0.38347628712654114, -0.15391969680786133, -0.2534138858318329, -0.8116189241409302, 0.5249927043914795, -0.59127277135849, 0.31414175033569336, 0.3706775903701782, 0.7697649598121643, 0.10178506374359131, -0.644004762172699, -0.37222886085510254, -0.3837319016456604, 0.17069923877716064, 0.02469305321574211, -0.4464806318283081, 0.0442575104534626, -0.2085200548171997, 0.0597689114511013, -0.224600687623024, 0.32971325516700745, -0.4712243676185608, -0.21381902694702148, 0.6098107695579529, 0.03166978433728218, -0.03579365462064743, 0.3823646605014801, -0.6379606127738953, -0.27874043583869934, -0.27490997314453125, 0.07787898927927017, 0.6669891476631165, 0.5563883185386658, -0.2415233701467514, 0.44665050506591797, -0.00410069664940238, 0.5675013065338135, -0.2126280814409256, -0.3844519853591919, 0.3948623836040497, 0.07141882926225662, -0.2487361580133438, 0.2451552450656891, 0.8445008993148804, 0.017689649015665054, 0.2971976697444916, 0.022147759795188904, -0.513416588306427, -0.3578806519508362, 0.2941133379936218, -0.13550631701946259, -0.02278941310942173, 0.621386706829071, -0.2612401247024536, -0.5060501098632812, 0.15127550065517426, -0.8701443076133728, -0.5269255638122559, -0.23201946914196014, 0.29647719860076904, -0.2330169677734375, -0.07774081081151962, 0.17551545798778534, -0.3594832718372345, 0.40524861216545105, 0.405082643032074, -0.6636714339256287, 0.5204378366470337, 1.1000287532806396, 0.7502862811088562, 0.18279293179512024, -0.29665613174438477, -0.7758524417877197, 0.4250339865684509, -0.19490128755569458, 0.8624671101570129, -0.58315509557724, -0.04096679762005806, -0.16915826499462128, -0.28544744849205017, 0.027776330709457397, -0.3571931719779968, 0.10828664153814316, -0.5316052436828613, -0.1824871450662613, 0.4434851109981537, -0.33832383155822754, -0.2620212733745575, 0.2428160458803177, -0.8641697764396667, 0.5820474028587341, 0.4008353352546692, -0.4864825904369354, 0.05486973747611046, -0.9986141920089722, -0.32515496015548706, 0.3883272707462311, -0.23344072699546814, -0.2529512345790863, -0.3609659671783447, 0.035600773990154266, 0.38672468066215515, -0.7935910224914551, 0.3370217978954315, -0.4255165159702301, -0.31636205315589905, 0.41109585762023926, -0.35537657141685486, 0.5383874177932739, 0.07143641263246536, -0.5802838802337646, 0.6531637907028198, -0.6728578209877014, -0.3965700566768646, 0.29840514063835144, 0.19105371832847595, -0.3659568130970001, -0.03492176905274391, 0.22812983393669128, -0.0163659006357193, 0.6560786366462708, -0.5568339228630066, 0.14606866240501404, -0.4250901937484741, 0.7858297228813171, 1.138549566268921, -0.49187174439430237, 0.28034329414367676, -0.4043318033218384, 0.7078102231025696, -0.35797056555747986, 0.3052932918071747, 0.007890330627560616, -0.21554149687290192, -0.27446621656417847, -0.6520150899887085, 0.22012104094028473, 0.807762622833252, -0.5327357649803162, 0.4848627746105194, 0.0418015792965889, -0.8317654132843018, -0.5802003145217896, 0.22592613101005554, 0.06935594230890274, 0.3803972899913788, 0.11832462251186371, 0.08257090300321579, -0.19915178418159485, -1.0879271030426025, -0.0032050840090960264, -0.3449348509311676, -0.1008746400475502, 0.24118542671203613, 0.5371193885803223, -0.322503000497818, 0.7803699374198914, -0.5044945478439331, -0.5653952360153198, -0.4310818016529083, -0.054475829005241394, 0.2913857102394104, 0.4522342085838318, 0.8427558541297913, -0.8171235918998718, -0.1533733755350113, 0.47990623116493225, -0.4029291570186615, 0.08250977843999863, -0.339441180229187, -0.21279661357402802, 0.2241334617137909, 0.4425491392612457, -0.6301264762878418, 0.30651798844337463, 0.5217733979225159, -0.3785649538040161, 0.3575931191444397, -0.3286362290382385, -0.262055903673172, -0.8998256921768188, 0.43372541666030884, -0.005027046427130699, -0.24883206188678741, -0.30547288060188293, 0.24761845171451569, -0.26175323128700256, -0.10658613592386246, -0.14267732203006744, 0.9187625050544739, 0.1352805644273758, -0.4157547950744629, -0.3951224386692047, 0.45994430780410767, -0.03396269679069519, 0.400619238615036, -0.12418092042207718, 0.797515332698822, 0.6236171722412109, -0.0777587965130806, 0.7413152456283569, 0.1377478390932083, -0.050958313047885895, 0.38869738578796387, -0.810767650604248, 0.10781801491975784, 0.19549866020679474, 0.24711087346076965, -0.8131044507026672, -0.2610236406326294, 0.6757160425186157, -0.18176522850990295, -0.09095025062561035, 0.20055663585662842, -0.44925132393836975, -0.37627556920051575, -0.3469378352165222, 0.28568965196609497, 0.12931615114212036, -0.3140767216682434, 1.0107866525650024, 0.5144238471984863, -0.5294370651245117, -0.8400115966796875, -0.399215430021286, 0.1093442440032959, -0.028268082067370415, -0.5933067798614502, 0.13136982917785645, 0.08105470985174179, -0.7318676114082336, 0.11964422464370728, -0.07368320226669312, -0.0087759830057621, 0.25156328082084656, 0.21872460842132568, 0.6729698777198792, -0.15939900279045105, 0.13993212580680847, -0.012747248634696007, -0.3466148376464844, 0.06048824265599251, -0.5238409638404846, 0.6163203120231628, -0.4464341104030609, -0.34285902976989746, -0.38198989629745483, 0.006148424465209246, 0.8725938200950623, -0.7015565633773804, 0.7162268757820129, 0.5154886841773987, -0.162856325507164, -0.3056192994117737, -0.5188788175582886, 0.2788821756839752, -0.5358652472496033, 0.06403061002492905, -0.31820228695869446, -1.0290523767471313, 0.8272811770439148, -0.07421093434095383, 0.34727248549461365, 0.6908133625984192, 0.6606013178825378, 0.15344619750976562, 0.48535215854644775, 0.762039065361023, -0.44223251938819885, 0.5262371897697449, -0.1847754269838333, 0.03325442224740982, -0.23522397875785828, -0.4236430823802948, -0.6262614130973816, -0.27652257680892944, -0.3521368205547333, -0.5341677069664001, 0.23717854917049408, -0.08610403537750244, -0.4053471088409424, 0.124612957239151, -0.20952509343624115, 0.4495890140533447, 0.6661632657051086, -0.0318254791200161, 0.1696138083934784, -0.14726048707962036, 0.03628169372677803, 0.7280940413475037, -0.42090269923210144, -0.5611346960067749, 1.089359164237976, 0.6380090117454529, 0.8207632899284363, -0.12279871106147766, 0.49527204036712646, 0.6954760551452637, 0.34447333216667175, -0.7562863230705261, 0.40371254086494446, -0.18827280402183533, -0.4130566716194153, -0.5086317658424377, -0.46848735213279724, -0.7163335680961609, -0.10114119201898575, 0.005729402415454388, -0.4953785240650177, 0.05056697130203247, -0.17435191571712494, -0.46617281436920166, 0.42582210898399353, -0.20848175883293152, 0.8846952319145203, -0.4805503785610199, -0.21017372608184814, -0.3986406922340393, -0.5531360507011414, 0.30204853415489197, -0.5823615193367004, 0.5059289336204529, -0.30179035663604736, -0.3575935363769531, 0.43138912320137024, -0.6876147985458374, 0.949587881565094, -0.13602003455162048, -0.43320271372795105, 0.6702369451522827, -0.11102248728275299, 0.6158319115638733, 0.07544593513011932, -0.23167936503887177, 0.42674779891967773, -0.25182563066482544, -0.5342749357223511, -0.5251819491386414, 0.5539586544036865, -0.7949641346931458, -0.4999822974205017, -0.4015011191368103, -0.5941502451896667, -0.10664907842874527, 0.2978529930114746, -0.5088381171226501, 0.021645348519086838, -0.11958138644695282, 0.02979191020131111, -0.14116570353507996, -0.24871528148651123, 0.2996000051498413, 0.4578341841697693, -0.21611151099205017, -0.6315931677818298, 0.7881645560264587, -0.404285192489624, 0.09152370691299438, 0.38283392786979675, 0.2530227601528168, -0.19185495376586914, -0.3784984350204468, -0.3717228174209595, 0.2824253737926483, -0.6391966938972473, -0.3691002130508423, -0.22738516330718994, -0.13995420932769775, -0.6261988282203674, -0.48402267694473267, -0.42225122451782227, -0.2947128117084503, 0.02505509741604328, -0.32963716983795166, 0.8992758989334106, 0.7109104990959167, -0.308001309633255, 0.27798497676849365, -0.9360949993133545, 0.28625407814979553, 0.16535288095474243, 0.6354654431343079, 0.043011344969272614, 0.10535015165805817, -0.31879594922065735, -0.09926293045282364, 0.2166908234357834, -0.44123101234436035, 0.24418768286705017, -0.07213550060987473, 0.6518827676773071, 0.6925130486488342, 0.011191862635314465, 0.3119795322418213, -0.016076894477009773, 0.324074387550354, 0.07723528891801834, -1.0546748638153076, 0.43668973445892334, -0.527975857257843, 0.14660143852233887, 0.5473534464836121, 0.250719279050827, -0.3693767786026001, -0.7246003150939941, -0.3827497959136963, -0.8834713697433472, 0.7800633311271667, 0.03431403636932373, -0.11450815945863724, 0.18228353559970856, 0.3787344992160797, 0.5220850110054016, 0.5715110301971436, -0.4149114787578583, 0.049707118421792984, -0.18983548879623413, -0.21137821674346924, -0.2622028589248657, 0.28707703948020935, -0.2305857390165329, 0.04870779067277908, 0.5937783122062683, -0.37879204750061035, -0.05734989419579506, -0.018150843679904938, 0.27624547481536865, -0.16293016076087952, -0.006835226435214281, 0.5091913938522339, 0.7458695769309998, -0.3136540949344635, -0.09250609576702118, -0.3190429210662842, -0.46773561835289, -0.04307405650615692, 0.48401591181755066, -0.08330496400594711, -0.30673474073410034, 0.6169145107269287, 0.6080606579780579, 0.26246997714042664, -1.321502923965454, 0.34394949674606323, 0.15829981863498688, -0.19487881660461426, -0.7766667604446411, 0.2118602842092514, -0.049245402216911316, 0.97789067029953, 0.58094322681427, 0.38861700892448425, -0.05174119397997856, -0.6437878608703613, 0.31924816966056824, 0.2824067771434784, -0.3579956293106079, -0.10682827234268188, 0.7843214273452759, 0.3798198103904724, -0.34700632095336914, 0.7697241902351379, 0.21135380864143372, -0.46301084756851196, 0.9127553105354309, 0.2548618018627167, 1.141932725906372, -0.024095145985484123, 0.4810556471347809, -0.21272967755794525, 0.30009299516677856, -0.1630357950925827, 0.35968855023384094, -0.09464498609304428, -0.6664307117462158, -0.5261525511741638, -0.6506711840629578, -0.7108082175254822, -0.14980705082416534, -0.44572633504867554, 0.21835078299045563, -0.900425910949707, -0.24756889045238495, 0.0952162817120552, -0.17848744988441467, -0.4547995924949646, -0.21739289164543152, 0.2763581871986389, 1.080399990081787, -0.3505091071128845, 0.6671557426452637, 0.6561246514320374, -0.46563997864723206, -0.3514719605445862, -0.24905367195606232, -0.0030583501793444157, -0.8319051265716553, 0.5002927184104919, 0.03117922693490982, -0.5036905407905579, -0.13919241726398468, -0.6294320225715637, -0.7541182041168213, 1.1293858289718628, 0.5537353157997131, -0.6360195279121399, -0.13089768588542938, 0.3231791853904724, 0.5150051116943359, -0.6084488034248352, -0.026384789496660233, 0.4292725622653961, 0.8432803750038147, 0.2237042784690857, -0.8461211919784546, -0.18682442605495453, -0.24936778843402863, -0.5783768892288208, 0.3698467016220093, -0.9944371581077576, 0.902225911617279, -0.23701637983322144, 0.337952196598053, 0.07704527676105499, 0.494985967874527, 0.3267197012901306, 0.7053494453430176, 0.552649974822998, 0.07890424132347107, 0.793576180934906, 0.11132505536079407, 0.9921647906303406, -0.6285319328308105, 0.1321191042661667, 0.9516711831092834, -0.507542610168457, 0.862974226474762, 0.11664462834596634, -0.041819363832473755, 0.5508453845977783, 0.3397988975048065, -0.43601199984550476, 0.005566991865634918, 0.08788041770458221, -0.18614009022712708, -0.38791903853416443, -0.036642953753471375, -0.034705668687820435, 0.9031313061714172, 0.2326163351535797, -0.23237572610378265, 0.039452873170375824, 0.24257974326610565, -0.19298489391803741, 0.10738097876310349, -0.5252678990364075, 0.45284709334373474, 0.046706825494766235, -0.13329799473285675, -0.21155378222465515, 0.26347795128822327, 0.27311450242996216, -0.9888829588890076, -0.09297915548086166, -0.044439371675252914, 0.24837149679660797, 0.10735568404197693, -0.6458616852760315, 0.2484268695116043, 0.1021229699254036, 0.14565248787403107, -0.25592610239982605, 0.8668302893638611, -0.037162598222494125, -0.6726087927818298, 0.6272598505020142, 0.5433244705200195, 0.07990775257349014, -0.18701928853988647, -0.7805472016334534, -0.03961148113012314, -0.3659377098083496, -0.15297625958919525, 0.1883508712053299, 0.44050300121307373, -0.28804242610931396, 0.9186328053474426, 0.9160478711128235, -0.006692072842270136, -0.5062766075134277, 0.03254477307200432, 0.8500203490257263, -0.9328485727310181, -0.5591601729393005, -0.8772798180580139, 0.27116817235946655, 0.06682168692350388, -0.19264519214630127, 0.5054288506507874, 0.7173175811767578, 0.8705648183822632, -0.058691829442977905, 0.7109104990959167, 0.22705891728401184, 0.09398935735225677, -0.3497580885887146, 0.7612784504890442, -0.40387997031211853, 0.29561078548431396, -0.4627690613269806, -0.7523608207702637, -0.3040425777435303, 0.4017511308193207, -0.29828086495399475, -0.11214148253202438, 0.12849941849708557, 0.2493589222431183, 0.23832277953624725, 0.0765380784869194, 0.11485138535499573, 0.06786047667264938, 0.1706714779138565, 0.25504204630851746, 0.4976649582386017, 0.08385318517684937, 0.5939819812774658, -0.16611725091934204, -0.1861959993839264, -0.3238658308982849, -0.47190237045288086, -0.8234527111053467, -0.29957303404808044, -0.23285891115665436, 0.03978259116411209, -0.05379996821284294, 1.0689873695373535, 0.21100397408008575, -0.5986633896827698, -0.7124415040016174, 0.19551590085029602, 0.3101591467857361, -0.46126630902290344, -0.18492169678211212, 0.3413914144039154, -0.15960267186164856, -0.6838558316230774, 0.6313480138778687, 0.6338662505149841, -0.05386855825781822, -0.6558246612548828, 0.00325224781408906, 0.06271945685148239, 0.25322866439819336, 0.529462993144989, 0.21352382004261017, -0.3823457956314087, -0.21448788046836853, -0.015185505151748657, -0.04030492529273033, -0.03716030716896057, 0.9367331266403198, -0.5025976896286011, 0.20990291237831116, 0.40138888359069824, 0.7582744359970093, 0.12195616960525513, 0.10421667993068695, 0.7531273365020752, -0.1278531700372696, 0.36451420187950134, 0.2738502025604248, 0.15698902308940887, -0.24187879264354706, -0.4470842778682709, 0.692762017250061, 0.08464272320270538, -0.2866862714290619, -0.6019216775894165, -0.18188539147377014, -1.0252777338027954, -0.6442737579345703, 0.5915422439575195, -0.06156367436051369, -0.5713726282119751, 0.009322629310190678, -0.20348607003688812, 0.05607224628329277, -0.7549591064453125, 0.4443630576133728, 0.4820755124092102, -0.11582200229167938, 0.029844708740711212, -0.6328639984130859, 0.15952926874160767, -0.22077301144599915, -0.758776068687439, 0.14979128539562225, 0.45786184072494507, 0.046212565153837204, 0.2708827257156372, 0.6644007563591003, 0.01688987948000431, 0.3044172525405884, 0.32975584268569946, 0.3587130010128021, -0.597632884979248, -0.5167897343635559, -0.19648198783397675, 0.3501664996147156, -0.061617396771907806, 0.06603482365608215 ]
http://arxiv.org/abs/2405.14766v1
http://arxiv.org/pdf/2405.14766v1
Evaluating Large Language Models for Public Health Classification and Extraction Tasks
2024-05-23T16:33:18
2024-05-23T16:33:18
Joshua Harris, Timothy Laurence, Leo Loman, Fan Grayson, Toby Nonnenmacher, Harry Long, Loes WalsGriffith, Amy Douglas, Holly Fountain, Stelios Georgiou, Jo Hardstaff, Kathryn Hopkins, Y-Ling Chi, Galena Kuyumdzhieva, Lesley Larkin, Samuel Collins, Hamish Mohammed, Thomas Finnie, Luke Hounsome, Steven Riley
cs.CL
cs.CL, cs.LG, 68T50
Advances in Large Language Models (LLMs) have led to significant interest in their potential to support human experts across a range of domains, including public health. In this work we present automated evaluations of LLMs for public health tasks involving the classification and extraction of free text. We combine six externally annotated datasets with seven new internally annotated datasets to evaluate LLMs for processing text related to: health burden, epidemiological risk factors, and public health interventions. We initially evaluate five open-weight LLMs (7-70 billion parameters) across all tasks using zero-shot in-context learning. We find that Llama-3-70B-Instruct is the highest performing model, achieving the best results on 15/17 tasks (using micro-F1 scores). We see significant variation across tasks with all open-weight LLMs scoring below 60% micro-F1 on some challenging tasks, such as Contact Classification, while all LLMs achieve greater than 80% micro-F1 on others, such as GI Illness Classification. For a subset of 12 tasks, we also evaluate GPT-4 and find comparable results to Llama-3-70B-Instruct, which scores equally or outperforms GPT-4 on 6 of the 12 tasks. Overall, based on these initial results we find promising signs that LLMs may be useful tools for public health experts to extract information from a wide variety of free text sources, and support public health surveillance, research, and interventions.
[ 0.12841571867465973, -0.619760274887085, 0.9487603902816772, 0.07621670514345169, -0.11320628225803375, -0.24076931178569794, -0.5596874356269836, -0.6560594439506531, 0.1554223597049713, 0.5348172187805176, -0.0252215676009655, -0.8523476123809814, -1.0965036153793335, 0.5363136529922485, -0.4920419752597809, 1.1874823570251465, -0.04193707928061485, 0.09549195319414139, -0.25138235092163086, 0.3022887408733368, -0.32380345463752747, -0.5448395609855652, -0.4533495306968689, -0.3364180624485016, 0.8031336665153503, 0.6226197481155396, 0.47179603576660156, 0.5918748378753662, 0.6993493437767029, 0.20110401511192322, -0.23191066086292267, 0.08470790088176727, -0.4811483323574066, -0.05320684239268303, -0.443704217672348, -0.07760617882013321, -0.44286048412323, 0.20099720358848572, 0.4168209433555603, 0.4866856038570404, 0.020289765670895576, 0.5672872066497803, 0.03212467208504677, 0.4314142167568207, -0.5417386293411255, 0.38762426376342773, -0.5413005352020264, -0.23100538551807404, -0.19436801970005035, -0.12826569378376007, -0.38049155473709106, -0.12437357008457184, 0.4667910039424896, -0.4293938875198364, -0.3756435513496399, -0.17310775816440582, 0.6347394585609436, 0.2499527484178543, -0.7951933145523071, -0.44336065649986267, -0.4469735324382782, 0.7928420305252075, -0.6849644184112549, 0.2309977114200592, 0.5643537044525146, 0.12960141897201538, -0.2530101537704468, -0.651057243347168, -0.3008447587490082, -0.30669182538986206, 0.007170875556766987, 0.05958917364478111, -0.4503798484802246, 0.15713149309158325, 0.23649248480796814, 0.31960922479629517, -0.4743914008140564, 0.37205907702445984, -0.3849853575229645, -0.08613058179616928, 0.8969031572341919, 0.13154710829257965, 0.40718987584114075, -0.6363318562507629, -0.1629548817873001, 0.17546290159225464, -0.6866426467895508, -0.01218828372657299, -0.13651196658611298, 0.4108729362487793, -0.31057652831077576, 0.5682620406150818, -0.307305246591568, 0.47558632493019104, -0.3246006667613983, -0.6585162878036499, 0.37637603282928467, -0.1488104611635208, -0.4075676500797272, -0.18936315178871155, 0.8230359554290771, 0.40549880266189575, 0.21194811165332794, -0.24599480628967285, -0.24283258616924286, -0.49922728538513184, 0.21145938336849213, -0.8203238844871521, -0.2928076982498169, 0.1806226372718811, -0.6818581819534302, -0.27639245986938477, -0.054056499153375626, -0.9379708170890808, -0.5882708430290222, -0.4851871132850647, 0.4347743093967438, -0.16342461109161377, -0.2047921121120453, 0.15185587108135223, 0.10834608972072601, -0.19585683941841125, 0.5164124965667725, -0.5891861319541931, 0.4110797047615051, 0.8348181247711182, 0.9398127794265747, -0.5565996766090393, 0.1577441543340683, -0.5840842723846436, 0.05428484082221985, -0.0931553989648819, 0.7853782176971436, -0.5880433320999146, -0.28537991642951965, -0.07369228452444077, 0.16091389954090118, -0.23103976249694824, -0.7809206247329712, 0.766218364238739, -0.17694319784641266, 0.03901170566678047, -0.37863650918006897, -0.5151252150535583, -0.2195570170879364, 0.2163744568824768, -0.6235617995262146, 0.8215402364730835, 0.020493431016802788, -0.86725252866745, 0.267346054315567, -0.6637029051780701, -0.605516791343689, 0.2850695252418518, -0.12584233283996582, -0.2916960120201111, 0.030149340629577637, 0.48385336995124817, 0.8021460175514221, -0.7703022360801697, 0.33446159958839417, -0.3226073086261749, -0.22880250215530396, 0.24822334945201874, -0.3591534197330475, 0.8185109496116638, 0.016282757744193077, -0.3357451260089874, 0.5068677663803101, -0.6788682341575623, -0.12111971527338028, 0.18128421902656555, -0.6822107434272766, -0.39059755206108093, 0.24389824271202087, 0.24067413806915283, 0.14545372128486633, 0.1516125351190567, -0.6339985728263855, 0.13352437317371368, -0.4567670226097107, 0.5246458649635315, 0.6040430665016174, 0.4158441722393036, -0.039415501058101654, -0.41256192326545715, 0.34809499979019165, -0.3943263590335846, 0.21939978003501892, -0.01266148965805769, -0.8718250393867493, -0.2243163287639618, -0.6996379494667053, 0.22359181940555573, 0.7763175368309021, -0.5724195837974548, 0.6299118399620056, -0.6635754704475403, -0.5847507119178772, -0.3751019835472107, 0.15255041420459747, 0.3557646572589874, 0.4743727743625641, 0.4838479459285736, -0.12116190791130066, -0.31613415479660034, -0.7543278932571411, -0.06096649914979935, -0.06623361259698868, -0.2815644145011902, 0.3028411269187927, 0.8684138059616089, -0.32239124178886414, 0.7509083151817322, -0.5646981596946716, -0.21506395936012268, -0.2516540288925171, 0.30763596296310425, 0.1108260452747345, 0.13830672204494476, 0.3620980679988861, -0.6137298941612244, -0.31720131635665894, 0.2470199465751648, -0.6498486995697021, -0.42606884241104126, 0.4079027473926544, 0.1996535062789917, -0.07701905071735382, -0.02374226041138172, -0.4703824520111084, 0.41793009638786316, 0.601419985294342, 0.0538635328412056, 0.529029130935669, -0.08774374425411224, 0.025654751807451248, -0.8475971817970276, 0.3384395241737366, 0.35550642013549805, -0.23592504858970642, -0.7375434041023254, 0.04380521923303604, 0.053315795958042145, -0.05457134544849396, -0.5512552261352539, 0.7623701095581055, -0.23445498943328857, 0.03977172076702118, -0.27718812227249146, -0.04319749027490616, -0.21580974757671356, 0.10834718495607376, 0.040254294872283936, 0.4909675121307373, 0.32783687114715576, -0.3781280517578125, 0.3881513178348541, -0.09554947912693024, -0.6806373596191406, 0.08494527637958527, -0.555348813533783, 0.16484999656677246, -0.13403774797916412, 0.24477273225784302, -0.7456509470939636, -0.5710253715515137, 0.3619379997253418, -0.12258069962263107, -0.07857407629489899, 0.03101770393550396, -0.825882077217102, -0.45204779505729675, -0.19775313138961792, 0.0517837218940258, 0.31379538774490356, -0.2951434254646301, 0.1467738002538681, 0.8142234683036804, -0.37004515528678894, -0.24213570356369019, -0.5088867545127869, 0.03433714434504509, -0.2825652062892914, -0.2172536849975586, -0.020334729924798012, 0.08602964878082275, -0.4848954677581787, -0.01418936625123024, -0.09715104103088379, -0.1631091833114624, 0.35593071579933167, 0.36655765771865845, 0.12101610749959946, 0.08646414428949356, 0.3061658442020416, 0.028071384876966476, 0.12029166519641876, 0.046749457716941833, -0.09530123323202133, 0.1467212587594986, 0.11731898784637451, -0.39325642585754395, -0.5024517178535461, 0.30918100476264954, 0.6621472835540771, -0.3808675706386566, 0.5426400899887085, 0.28346604108810425, -0.7267290353775024, 0.22162097692489624, -0.44029155373573303, 0.18964488804340363, -0.3043951094150543, 0.5068899393081665, 0.028967637568712234, -0.8194735646247864, 0.1176084578037262, 0.02939387783408165, 0.15905418992042542, 0.446956992149353, 0.6965754628181458, 0.15324507653713226, 0.8601345419883728, 0.3828422427177429, -0.4326508939266205, 0.12511032819747925, -0.05969272181391716, -0.06231621280312538, -0.5413866639137268, -0.31763312220573425, -0.5494784712791443, 0.003376549109816551, -0.35990357398986816, -0.6715999245643616, 0.7370425462722778, -0.05145677179098129, -0.19605492055416107, 0.10740377008914948, -0.5283619165420532, 0.2994866371154785, 0.22432801127433777, 0.4238482713699341, 0.38855838775634766, -0.10168439149856567, 0.12968091666698456, 0.1573689579963684, -0.41123124957084656, -0.75119549036026, 1.3369524478912354, 0.668296754360199, 0.5957012176513672, 0.08341968804597855, 0.7262201905250549, 0.3257048428058624, 0.9646105766296387, -0.992929220199585, 0.5323684215545654, -0.5595322251319885, -0.47790786623954773, -0.47753462195396423, -0.4682251214981079, -1.0076278448104858, 0.20151494443416595, -0.4020772874355316, -1.135319709777832, -0.15416738390922546, -0.1491859406232834, -0.40393373370170593, 0.17829273641109467, -0.5319825410842896, 0.5612174272537231, -0.5173946022987366, -0.006001039873808622, -0.27084434032440186, -0.4823213219642639, 0.37162449955940247, -0.32414886355400085, 0.5662253499031067, -0.5895636677742004, -0.15613985061645508, 0.8292763233184814, -0.033348146826028824, 0.9156830310821533, -0.0006893250974826515, -0.47143682837486267, 0.10204630345106125, -0.32384172081947327, 0.15473338961601257, 0.06880728155374527, -0.4669828712940216, 0.3384550213813782, 0.1541861742734909, -0.1235676184296608, -0.3404638171195984, 0.5258893370628357, -0.6815540790557861, -0.6428942084312439, -0.28127872943878174, -0.4400442838668823, -0.026447787880897522, 0.4346684515476227, 0.018897920846939087, 0.501994252204895, -0.16443634033203125, 0.18458832800388336, 0.3171131908893585, -0.5005730390548706, 0.15124700963497162, 0.5489016175270081, -0.2175218164920807, -0.6356511116027832, 0.8875083327293396, 0.1855209320783615, 0.10931183397769928, 0.7816632390022278, 0.6514424681663513, -0.21183514595031738, -0.6867392659187317, -0.23216047883033752, 0.15448203682899475, -0.7042531371116638, -0.44283056259155273, -0.6101871132850647, -0.27390503883361816, -0.6361417770385742, 0.3399656116962433, 0.15226858854293823, -0.03631224110722542, -0.4104612469673157, -0.20566073060035706, 0.44090473651885986, 1.2612119913101196, -0.007018329109996557, 0.11563829332590103, -1.0291625261306763, 0.25770264863967896, 0.19029991328716278, 0.15290920436382294, 0.20042474567890167, -0.2968718111515045, -0.37036028504371643, -0.12039851397275925, -0.2383306920528412, -1.2999006509780884, 0.46022066473960876, 0.04500441625714302, 0.7544711828231812, 0.5031546950340271, -0.002236669883131981, 0.5276499390602112, -0.46943044662475586, 0.7236263751983643, 0.07828138768672943, -0.8847407102584839, 0.3853992521762848, -0.387348473072052, 0.28657883405685425, 0.48596447706222534, 0.7218745350837708, -0.60235995054245, -0.3359143137931824, -0.03433527424931526, -0.787936270236969, 0.6030163764953613, 0.061416201293468475, -0.2700470983982086, -0.36599352955818176, 0.24525956809520721, 0.16415072977542877, 0.06984376907348633, -0.6646493673324585, 0.033250533044338226, 0.24799147248268127, -0.368360310792923, -0.04597633704543114, -0.40715378522872925, -0.1876237988471985, -0.4003872275352478, 0.3821622431278229, -0.036971792578697205, 0.048676300793886185, 0.3877353370189667, -0.2482222616672516, -0.1788780689239502, 0.6388125419616699, 0.5160074830055237, 0.6086779832839966, -0.1435980498790741, 0.27574050426483154, 0.25209710001945496, -0.3855435252189636, 0.1021258533000946, 0.22839203476905823, -0.024061519652605057, -0.24830274283885956, 0.8269416093826294, 0.4788161516189575, 0.6812335848808289, -0.9986514449119568, 0.6315912008285522, 0.1297566294670105, -0.14894011616706848, 0.0053792679682374, -0.0989549532532692, -0.05411209538578987, 0.12422109395265579, 0.40569064021110535, -0.5250445604324341, 0.3437899053096771, -0.3820928633213043, 0.3009994626045227, 0.29419830441474915, -0.07011530548334122, -0.37122079730033875, 0.3619721829891205, 0.38984590768814087, -0.12728628516197205, 0.4003147482872009, -0.22919929027557373, -0.33071383833885193, 0.5057746171951294, 0.4453793168067932, 0.663553774356842, -0.2533475160598755, 0.02402087114751339, 0.4015440046787262, 0.3389853835105896, -0.17108388245105743, 0.2128472626209259, 0.20227856934070587, -0.43266087770462036, -0.8746318221092224, -0.7245787382125854, -0.44092053174972534, 0.6269440054893494, -0.6783080697059631, 0.24933592975139618, -0.21539977192878723, -0.12194129824638367, 0.19239428639411926, 0.12402978539466858, -0.6520946621894836, 0.28469061851501465, 0.4656866192817688, 1.0133918523788452, -0.9689973592758179, 0.8465262651443481, 0.7938270568847656, -0.2574598491191864, -0.764472246170044, 0.39897558093070984, 0.28923219442367554, -0.6117779016494751, 0.7432904243469238, 0.4727398753166199, 0.1136174201965332, -0.23664332926273346, -0.4796256422996521, -1.1338855028152466, 0.9002018570899963, 0.3226516842842102, -0.6436331272125244, -0.23049050569534302, 0.17626847326755524, 0.5054928660392761, -0.33298370242118835, 0.4282876253128052, 0.5440515279769897, 0.6819432973861694, -0.23568259179592133, -1.434954285621643, 0.2175622284412384, -0.0845833271741867, -0.18775193393230438, 0.010313691571354866, -0.33361902832984924, 0.7518211007118225, -0.0922929048538208, -0.3658561110496521, 0.2039480209350586, 0.48720309138298035, 0.09031343460083008, 0.3063214123249054, 0.5594729781150818, 0.4185912311077118, 0.9810664057731628, 0.18573543429374695, 0.9751726984977722, -0.16167433559894562, 0.28709879517555237, 1.0566061735153198, -0.4826604723930359, 1.009721279144287, 0.021699270233511925, -0.1491299718618393, 0.34584152698516846, 0.5555310249328613, 0.09626005589962006, 0.3403470814228058, 0.357575923204422, -0.2150111198425293, -0.0708877220749855, -0.2295031100511551, -0.016233354806900024, 0.6030873656272888, 0.5758384466171265, -0.5214750170707703, -0.41107603907585144, 0.3279261291027069, 0.15498840808868408, -0.011593061499297619, -0.49950674176216125, 0.7901367545127869, 0.10932309925556183, -0.5339290499687195, 0.3200313150882721, 0.15492622554302216, 0.5374315977096558, -0.3178914189338684, -0.1842079907655716, 0.34300827980041504, -0.11482607573270798, -0.3877214789390564, -0.9555618762969971, 0.31974878907203674, 0.3357278108596802, -0.2490086555480957, -0.20093002915382385, 0.8942583203315735, -0.34616395831108093, -0.4805299639701843, 0.5166072249412537, 0.398769348859787, 0.5200516581535339, -0.1930888146162033, -0.4448149800300598, 0.04083752632141113, -0.16720493137836456, -0.3552228808403015, 0.2786635458469391, 0.25691601634025574, -0.21174943447113037, 0.5886088013648987, 0.5897767543792725, 0.486827552318573, -0.25412246584892273, 0.008138716220855713, 0.6547989249229431, -0.47515830397605896, -0.1262991577386856, -0.892347514629364, 0.19660738110542297, -0.03431981801986694, -0.18988238275051117, 0.6387016773223877, 0.585222601890564, 0.6558240652084351, 0.095741406083107, 0.9473950862884521, 0.06354275345802307, 0.8004685044288635, -0.459654301404953, 0.7612971067428589, -0.5539565682411194, 0.04653562977910042, -0.2265070527791977, -0.34008923172950745, -0.32272425293922424, 0.3077046871185303, -0.8509309887886047, -0.4482685923576355, 0.6286004185676575, 0.3585122525691986, 0.2689865827560425, 0.0009347829618491232, 0.26358678936958313, 0.08884404599666595, 0.5301522016525269, 0.5567982792854309, 0.554236114025116, 0.16275812685489655, 0.2561660706996918, -0.20793360471725464, -0.5066037178039551, -0.1861400306224823, -1.0231568813323975, -0.8573905229568481, -0.40440985560417175, -0.06968369334936142, 0.0682736411690712, 0.21386396884918213, 1.3577216863632202, 0.8044589161872864, -0.750097930431366, -0.08223173767328262, 0.39912110567092896, 0.02612675540149212, -0.14056934416294098, -0.24858911335468292, 0.39993205666542053, 0.04264027625322342, -0.6381149888038635, 0.5578914880752563, 0.35744428634643555, -0.18377438187599182, -0.07036472111940384, 0.34131407737731934, -0.19729545712471008, -0.19993335008621216, 0.9128584861755371, 0.23524333536624908, -0.9676648378372192, -0.4226681590080261, -0.30623936653137207, -0.23835337162017822, -0.03790222108364105, 0.6492078304290771, -0.5092041492462158, 0.21903838217258453, 0.3479343056678772, 0.7992509007453918, 0.07261399924755096, -0.061694614589214325, 0.33999302983283997, -0.5159466862678528, -0.1319848895072937, 0.29342925548553467, 0.37668395042419434, 0.331148624420166, -0.4104599058628082, 0.4426913857460022, 0.05683920159935951, -0.6622816920280457, -0.772619366645813, -0.015616078861057758, -0.8148223757743835, -0.3072965741157532, 1.5798133611679077, -0.2804505228996277, -0.2573027014732361, -0.24788087606430054, -0.15562918782234192, 0.386953204870224, -0.5062591433525085, 0.6490106582641602, 0.638300895690918, -0.20727410912513733, 0.00966187845915556, -0.875507116317749, 0.3072401285171509, -0.04656783491373062, -1.2953996658325195, 0.14280608296394348, 0.2052026093006134, 0.5271485447883606, 0.04979057237505913, 0.932281494140625, -0.16671091318130493, 0.03385980799794197, -0.6790062785148621, 0.11454276740550995, 0.12196044623851776, -0.3755906820297241, -0.4278644025325775, 0.07978581637144089, 0.026835838332772255, 0.1277041882276535 ]
http://arxiv.org/abs/2405.14917v1
http://arxiv.org/pdf/2405.14917v1
SliM-LLM: Salience-Driven Mixed-Precision Quantization for Large Language Models
2024-05-23T16:21:48
2024-05-23T16:21:48
Wei Huang, Haotong Qin, Yangdong Liu, Yawei Li, Xianglong Liu, Luca Benini, Michele Magno, Xiaojuan Qi
cs.LG
cs.LG, cs.CL
Large language models (LLMs) achieve remarkable performance in natural language understanding but require substantial computation and memory resources. Post-training quantization (PTQ) is a powerful compression technique extensively investigated in LLMs. However, existing PTQ methods are still not ideal in terms of accuracy and efficiency, especially with below 4 bit-widths. Standard PTQ methods using group-wise quantization suffer difficulties in quantizing LLMs accurately to such low-bit, but advanced methods remaining high-precision weights element-wisely are hard to realize their theoretical hardware efficiency. This paper presents a Salience-Driven Mixed-Precision Quantization scheme for LLMs, namely SliM-LLM. The scheme exploits the salience distribution of weights to determine optimal bit-width and quantizers for accurate LLM quantization, while aligning bit-width partition to groups for compact memory usage and fast integer inference. Specifically, the proposed SliM-LLM mainly relies on two novel techniques: (1) Salience-Determined Bit Allocation utilizes the clustering characteristics of salience distribution to allocate the bit-widths of each group, increasing the accuracy of quantized LLMs and maintaining the inference efficiency; (2) Salience-Weighted Quantizer Calibration optimizes the parameters of the quantizer by considering the element-wise salience within the group, balancing the maintenance of salient information and minimization of errors. Comprehensive experiments show that SliM-LLM significantly improves the accuracy of LLMs at ultra-low bits, e.g., 2-bit LLaMA-7B achieves a 5.5-times memory-saving than original model on NVIDIA A800 GPUs, and 48% decrease of perplexity compared to the state-of-the-art gradient-free PTQ method. Moreover, SliM-LLM+, which is integrated from the extension of SliM-LLM with gradient-based quantizers, further reduces perplexity by 35.1%.
[ -0.2267109453678131, -0.5531874895095825, 0.6969351768493652, 0.0241087656468153, -0.6396987438201904, 0.0861850380897522, -0.4464430510997772, -0.03710118681192398, 0.3177896738052368, 0.16405242681503296, -0.5000630617141724, -0.5035874247550964, -0.49660229682922363, -0.004159775096923113, 0.002439188538119197, 0.8340247273445129, 0.12067320942878723, 0.17303460836410522, -0.11342307180166245, -0.06824418157339096, -0.07382382452487946, -0.6009722352027893, -0.26971718668937683, -0.006948591209948063, 0.5370693206787109, 0.2378769814968109, 0.906300961971283, 0.793534517288208, 0.5271410942077637, 0.22756776213645935, -0.416399747133255, 0.1839921474456787, -0.6105625629425049, 0.04792502894997597, 0.11294655501842499, -0.690653920173645, -0.7236583232879639, -0.15956152975559235, 0.7338206768035889, 0.6393374800682068, -0.29712018370628357, 0.12630479037761688, -0.20705392956733704, 0.7137880325317383, -1.023735523223877, -0.07398364692926407, -0.5127122402191162, 0.18165060877799988, -0.48329782485961914, -0.08210049569606781, -0.0744570717215538, -0.5643792152404785, -0.20560747385025024, -0.6277487277984619, 0.14016340672969818, 0.10039474815130234, 0.6154674291610718, 0.6477131843566895, -0.21967105567455292, 0.022033212706446648, -0.42344197630882263, 1.2176249027252197, -1.0279473066329956, 0.659975528717041, 0.1046936884522438, -0.02955871820449829, 0.04827744513750076, -0.36299580335617065, -0.46525809168815613, 0.06422877311706543, -0.023803070187568665, 0.2614244818687439, 0.0762166678905487, 0.3341319262981415, 0.312333345413208, 0.7498963475227356, -0.6028714776039124, 0.19361679255962372, -0.33372387290000916, -0.191133514046669, 0.6106844544410706, 0.11220463365316391, -0.1789836585521698, -0.2309451848268509, -0.23517681658267975, 0.05424055829644203, -0.7611171007156372, -0.24740701913833618, 0.4612714648246765, 0.1748662292957306, -0.15435180068016052, 0.6298698782920837, -0.2597031593322754, 0.6225929856300354, 0.20606820285320282, -0.7561293244361877, 0.10044892132282257, -0.27072232961654663, -0.3805050849914551, 0.19258959591388702, 0.9201644659042358, 0.19868849217891693, 0.21588632464408875, 0.0007599738892167807, -0.4690159857273102, 0.014423897489905357, -0.2252824753522873, -1.0943603515625, -0.29608601331710815, 0.33321136236190796, -0.456687331199646, -0.0004170518077444285, -0.13316799700260162, -0.7030150294303894, -0.29598984122276306, -0.24926155805587769, 0.34014633297920227, -0.6794140934944153, -0.027101019397377968, 0.31455284357070923, 0.07134230434894562, 0.084201879799366, 0.5175658464431763, -1.017211675643921, 0.3972715139389038, 0.7348450422286987, 0.8550628423690796, -0.34737494587898254, 0.24118687212467194, -0.5947489738464355, 0.3470211625099182, -0.004992201924324036, 0.5129695534706116, -0.34194228053092957, -0.2962771952152252, -0.4684957265853882, -0.4926159977912903, 0.15639585256576538, -0.7028970122337341, 0.4704245626926422, -0.30586743354797363, 0.22825224697589874, -0.1211283728480339, -0.5652305483818054, 0.018437808379530907, 0.06210961565375328, -0.5172739028930664, 1.0748331546783447, 0.20289012789726257, -0.840343177318573, 0.26210471987724304, -0.3245018720626831, -0.2043977826833725, 0.1742096245288849, 0.019278056919574738, -0.4806533753871918, 0.6804676651954651, 0.20776748657226562, 0.4114058315753937, -0.34337055683135986, 0.2060006558895111, -0.37341198325157166, -0.8199750185012817, 0.36256855726242065, -0.4468052387237549, 0.5171900391578674, 0.2363176792860031, 0.03403022512793541, 0.19234305620193481, -0.6232452988624573, 0.20296448469161987, 0.008337731473147869, -0.2256375253200531, -0.41840213537216187, -0.2275398224592209, -0.30365127325057983, -0.03412606194615364, 0.5161635875701904, -0.3396395444869995, 0.1518545299768448, -0.4832947254180908, 0.3424522280693054, 0.8665351867675781, -0.2064773142337799, 0.4274848699569702, -0.16831393539905548, 0.41056621074676514, -0.21245171129703522, 0.3715391755104065, 0.01726219430565834, -0.26809245347976685, -0.6886071562767029, -0.9148818850517273, 0.48621541261672974, 0.6485604047775269, -0.3558799922466278, 0.6295603513717651, -0.3229489326477051, -0.022367795929312706, -0.49480003118515015, -0.00901896320283413, 0.342166006565094, 0.1681213080883026, 0.1928965300321579, -0.5136801600456238, -0.26810479164123535, -0.8733540177345276, -0.05909743905067444, -0.2299034148454666, -0.40944188833236694, 0.26632970571517944, 0.14796078205108643, -0.052999597042798996, 0.6929032802581787, -0.6906845569610596, 0.12618610262870789, 0.12305670231580734, -0.12903989851474762, 0.3978865146636963, 0.26129764318466187, 0.23797959089279175, -0.520745575428009, -0.3391600251197815, -0.21460486948490143, -0.3705693781375885, -0.4235418736934662, 0.2226259559392929, -0.04420122131705284, 0.08496600389480591, -0.051101457327604294, -0.8152280449867249, 0.30762600898742676, 0.5292993783950806, -0.03851272165775299, 0.8052611947059631, 0.09463806450366974, 0.1090782880783081, -0.9418857097625732, -0.0765739232301712, 0.04653095453977585, -0.49471357464790344, -0.39494454860687256, 0.06919047981500626, 0.23060542345046997, 0.1546519249677658, -0.5628196597099304, 0.45828309655189514, -0.43906357884407043, -0.1561853140592575, -0.2534159719944, 0.10270347446203232, 0.02148207649588585, 0.5050560832023621, -0.06416186690330505, 0.9337807297706604, 0.43806779384613037, -0.4674723744392395, 0.5175706148147583, -0.1204477921128273, 0.10017453134059906, 0.9750872850418091, -0.5505353212356567, 0.04768020659685135, -0.12362655252218246, -0.1497296541929245, -0.6457171440124512, -0.20116069912910461, 0.2508210837841034, -0.22407396137714386, 0.363017737865448, -0.05036276951432228, -0.8722357749938965, -0.16565948724746704, -0.6095354557037354, 0.5684013962745667, 0.8140544295310974, -0.2411259412765503, 0.5352774858474731, 0.16750511527061462, -0.32464003562927246, -0.3973264694213867, -0.7733520865440369, -0.2397104650735855, -0.521095335483551, -0.5505425930023193, 0.3546179533004761, -0.27481719851493835, -0.44073283672332764, -0.19506804645061493, -0.3763568103313446, -0.011070005595684052, 0.03870809078216553, 0.11725761741399765, 0.23070800304412842, -0.08712153881788254, 0.14852207899093628, 0.07924286276102066, -0.07448452711105347, -0.13303862512111664, -0.3891311585903168, 0.6378911733627319, -0.26201802492141724, -0.31879377365112305, -0.48265013098716736, 0.22318752110004425, 0.2701084613800049, -0.15325425565242767, 0.6789013147354126, 0.6148029565811157, -0.22489874064922333, -0.03120063804090023, -0.609890878200531, -0.5045086741447449, -0.5008352398872375, 0.39207422733306885, -0.2238643765449524, -1.221358299255371, 0.3956484794616699, -0.3211717903614044, -0.040691036731004715, 0.08326245099306107, 0.7429972887039185, -0.03166642412543297, 0.7999324798583984, 0.5774516463279724, -0.007774228695780039, 0.41734886169433594, 0.05633832514286041, 0.3083026111125946, -0.7260940670967102, -0.03276767581701279, -0.10135135054588318, -0.4708831012248993, -0.3527308702468872, -0.6472059488296509, 0.578140139579773, 0.41539859771728516, -0.2732151448726654, -0.23859255015850067, -0.46546316146850586, 0.418651282787323, 0.6080479025840759, 0.20094306766986847, 0.4401022791862488, 0.16881701350212097, -0.12688839435577393, -0.34480908513069153, -0.6005994081497192, -0.23063193261623383, 0.9047728180885315, 0.18571753799915314, 1.0481762886047363, 0.21917323768138885, 0.731248140335083, 0.03420853987336159, 0.273556649684906, -1.1141949892044067, 0.7008892893791199, -0.28571945428848267, -0.01892189122736454, -0.17861564457416534, -0.850119411945343, -0.40350955724716187, 0.3202880024909973, -0.11609426885843277, -0.746486246585846, -0.08655546605587006, 0.24702110886573792, -0.582485556602478, 0.44486621022224426, -0.6872079372406006, 0.4852917194366455, -0.42319443821907043, -0.5087031722068787, -0.17628608644008636, -0.6504075527191162, 0.7739455103874207, -0.22845220565795898, 0.08294826745986938, -0.23250560462474823, -0.3991732597351074, 0.6381640434265137, -0.6182345151901245, 0.5872675180435181, 0.12379825115203857, -0.33122071623802185, -0.029182858765125275, 0.09986523538827896, 0.5938220024108887, 0.17523235082626343, -0.17939424514770508, 0.15915317833423615, -0.12946465611457825, -0.49780961871147156, -0.6296878457069397, 0.6275345087051392, -0.6216534376144409, -0.6430560946464539, -0.3572770953178406, -1.0469666719436646, -0.21723982691764832, 0.10538826137781143, -0.034143682569265366, 0.07201837748289108, 0.2522442936897278, -0.010064027272164822, 1.091809630393982, -0.20084476470947266, 0.4038535952568054, 0.5513585805892944, -0.007571586407721043, -0.7856729626655579, 0.7715256214141846, -0.1603163480758667, 0.4944723844528198, 0.5185337066650391, 0.21411237120628357, -0.23748724162578583, -0.6848676204681396, -0.26333364844322205, 0.6204510927200317, -0.25111061334609985, -0.39543667435646057, -0.36937201023101807, -0.0034775668755173683, -0.2455660104751587, -0.03244351968169212, -0.6706031560897827, -0.6867381930351257, -0.33511149883270264, 0.08051909506320953, 0.5588316321372986, 0.1495472639799118, -0.10572981089353561, 0.8346133232116699, -0.6935354471206665, 0.23716683685779572, 0.2772536873817444, 0.4675769805908203, -0.2817422151565552, -0.5304592847824097, -0.26662781834602356, 0.006742642726749182, -0.27423426508903503, -0.906545102596283, 0.5608961582183838, 0.10056506842374802, 0.05674419552087784, 0.6516790390014648, -0.0688512995839119, 0.8889930844306946, -0.27501657605171204, 0.6354432702064514, 0.38863328099250793, -1.0356417894363403, 0.3002155125141144, -0.13432271778583527, 0.3441590368747711, 0.39791786670684814, 0.21472975611686707, -0.42711448669433594, -0.2543739378452301, -0.4475824236869812, -0.8009632229804993, 0.5464572906494141, 0.07137587666511536, -0.19958186149597168, 0.38575980067253113, 0.5086091160774231, 0.11788694560527802, 0.675071656703949, -0.6438422203063965, -0.48738566040992737, 0.01951685920357704, -0.48125699162483215, 0.24109873175621033, -0.35024863481521606, -0.13514603674411774, -0.1314610242843628, 0.5731625556945801, -0.3288857042789459, 0.1558077186346054, -0.08773542940616608, -0.0310773067176342, -0.16808108985424042, 0.408824622631073, 0.31009507179260254, 0.5636532306671143, -0.44744426012039185, 0.2802233397960663, 0.25658363103866577, -0.5251441597938538, 0.18891817331314087, 0.38255050778388977, -0.3422100841999054, -0.09704189002513885, -0.0920686274766922, 0.7946318984031677, 0.2162405401468277, -0.858195424079895, 0.4137132167816162, 0.020626084879040718, -0.1304926574230194, 0.13434118032455444, 0.1379069685935974, -0.011150902137160301, 0.23445014655590057, 0.4049530625343323, -0.15369825065135956, 0.16568829119205475, -0.24800848960876465, -0.01507529802620411, 0.715201735496521, -0.03308507055044174, -0.40649619698524475, 0.5763540267944336, -0.21080926060676575, 0.08414607495069504, 0.4916965067386627, -0.45652252435684204, -0.49111998081207275, 0.10026688128709793, 0.3991939127445221, 0.5942471027374268, -0.35136616230010986, 0.059869181364774704, 0.1015639379620552, 0.1715707629919052, -0.17802707850933075, 0.5456518530845642, -0.10259081423282623, -0.5174955725669861, -0.744719922542572, -0.8452258706092834, -0.5412093997001648, 0.03740749508142471, -0.4594949185848236, 0.09072303771972656, -0.5724297165870667, -0.14513884484767914, -0.46602049469947815, 0.28701886534690857, -0.35617387294769287, 0.17179100215435028, 0.30571213364601135, 0.5160573124885559, -0.5893979668617249, 0.6169605851173401, 0.49627581238746643, 0.20851558446884155, -0.7898504734039307, 0.011628251522779465, -0.00857409369200468, -0.671654224395752, 0.3253456652164459, -0.0379377044737339, 0.1787012219429016, 0.08469328284263611, -0.5974276661872864, -1.0780725479125977, 1.1524543762207031, 0.7045300602912903, -0.8450435996055603, 0.1674385368824005, 0.20299497246742249, 0.229005366563797, 0.21200788021087646, 0.4135168790817261, 0.4839157164096832, 0.4142068326473236, 0.4733997583389282, -1.0434037446975708, 0.2716984152793884, 0.032979585230350494, -0.012394456192851067, 0.5141192674636841, -1.055382490158081, 1.093941569328308, -0.32134512066841125, -0.2791835367679596, 0.17250923812389374, 0.9281045794487, 1.0700751543045044, 0.06910600513219833, 0.367870032787323, 0.9288293719291687, 1.1268422603607178, -0.21930663287639618, 0.7737061381340027, -0.3538016378879547, 0.3055065870285034, 0.6479296684265137, -0.34307602047920227, 0.4750851094722748, 0.768168568611145, -0.5128556489944458, 0.1486804187297821, 0.6570101380348206, 0.1293618083000183, 0.49402984976768494, 0.5668300986289978, -0.6143190860748291, -0.21215461194515228, -0.26388615369796753, -0.25869664549827576, -0.06561559438705444, 0.4927467703819275, -0.02168506197631359, -0.04966406524181366, -0.2472621649503708, 0.14694702625274658, -0.3422982692718506, -0.5929452776908875, 0.4984710216522217, 0.3227219879627228, -0.21817532181739807, 0.6472095251083374, 0.29329198598861694, 1.1910537481307983, -0.7011657953262329, 0.18051934242248535, -0.38359999656677246, 0.11418147385120392, -0.27292439341545105, -0.5570135116577148, 0.07417215406894684, -0.04641270637512207, -0.23952434957027435, -0.1753804087638855, 0.6474587917327881, -0.4472726881504059, -0.5565541386604309, -0.2866707444190979, 0.5721265077590942, 0.31850960850715637, -0.2992803752422333, -0.5864682197570801, 0.2522009015083313, -0.0887729674577713, -0.20122551918029785, 0.38760676980018616, 0.7182307243347168, 0.011056873947381973, 0.6014989018440247, 0.5427113771438599, 0.4733485281467438, 0.21736714243888855, 0.038672804832458496, 0.91975337266922, -0.7069210410118103, -0.5700197219848633, -1.0107877254486084, 0.22059747576713562, 0.09868257492780685, 0.020192865282297134, 0.8747352361679077, 0.767061710357666, 0.5381643176078796, 0.07321667671203613, 0.6261841058731079, 0.15145628154277802, 0.19352880120277405, -0.718356192111969, 0.16828641295433044, -0.6228876709938049, 0.3590109348297119, -0.09773799031972885, -0.9764782786369324, -0.516828715801239, 0.6011219024658203, -0.27670401334762573, 0.16429546475410461, 0.6467815637588501, 0.7983832359313965, -0.22202886641025543, -0.16228193044662476, 0.34685638546943665, 0.2316247820854187, -0.039157066494226456, 0.9213883876800537, 0.6526488065719604, -0.148830845952034, 0.29785895347595215, -0.40079888701438904, -0.2988228499889374, -0.15781517326831818, -0.7567043900489807, -0.8055152297019958, 0.14028173685073853, -0.40480369329452515, -0.11059993505477905, 0.20902666449546814, 0.7613860964775085, 0.8611147999763489, -0.6932578086853027, -0.07418842613697052, 0.1101691722869873, 0.19331789016723633, 0.043595850467681885, -0.3279593884944916, 0.4790235161781311, -0.04510869085788727, -0.8009952306747437, 0.08122309297323227, 0.5240463018417358, 0.22957324981689453, -0.39866217970848083, -0.2171909660100937, 0.21490031480789185, 0.020351771265268326, 0.44976234436035156, -0.005946115590631962, -0.6989699602127075, 0.04613770544528961, 0.04505567625164986, -0.07742324471473694, 0.1771295666694641, 0.7741143107414246, -0.8022258281707764, -0.09116596728563309, 0.3494586646556854, 0.3410903811454773, 0.45657995343208313, 0.24276454746723175, 0.33914753794670105, -1.031282901763916, 0.45516374707221985, 0.3963058590888977, 0.30228984355926514, 0.5439922213554382, -0.5219821929931641, 0.32973670959472656, 0.5711640119552612, -0.44948405027389526, -0.8150570392608643, 0.20633359253406525, -1.0431890487670898, -0.16403761506080627, 1.1059417724609375, 0.011304758489131927, -0.4772754907608032, 0.44163569808006287, -0.11216428130865097, 0.2728751599788666, -0.6308407187461853, 0.6800799369812012, 0.37577784061431885, -0.14619383215904236, -0.5355920195579529, -0.375006765127182, 0.3850823938846588, 0.6123901009559631, -0.709555447101593, -0.0424087718129158, 0.658282458782196, 0.214907705783844, -0.10953696817159653, 0.4607754945755005, -0.031904663890600204, 0.0506100058555603, -0.40212148427963257, 0.18778271973133087, -0.05658649280667305, 0.035906869918107986, -0.25126728415489197, 0.160663440823555, -0.1321272999048233, 0.13104864954948425 ]
http://arxiv.org/abs/2405.14734v1
http://arxiv.org/pdf/2405.14734v1
SimPO: Simple Preference Optimization with a Reference-Free Reward
2024-05-23T16:01:46
2024-05-23T16:01:46
Yu Meng, Mengzhou Xia, Danqi Chen
cs.CL
cs.CL, cs.LG
Direct Preference Optimization (DPO) is a widely used offline preference optimization algorithm that reparameterizes reward functions in reinforcement learning from human feedback (RLHF) to enhance simplicity and training stability. In this work, we propose SimPO, a simpler yet more effective approach. The effectiveness of SimPO is attributed to a key design: using the average log probability of a sequence as the implicit reward. This reward formulation better aligns with model generation and eliminates the need for a reference model, making it more compute and memory efficient. Additionally, we introduce a target reward margin to the Bradley-Terry objective to encourage a larger margin between the winning and losing responses, further enhancing the algorithm's performance. We compare SimPO to DPO and its latest variants across various state-of-the-art training setups, including both base and instruction-tuned models like Mistral and Llama3. We evaluated on extensive instruction-following benchmarks, including AlpacaEval 2, MT-Bench, and the recent challenging Arena-Hard benchmark. Our results demonstrate that SimPO consistently and significantly outperforms existing approaches without substantially increasing response length. Specifically, SimPO outperforms DPO by up to 6.4 points on AlpacaEval 2 and by up to 7.5 points on Arena-Hard. Our top-performing model, built on Llama3-8B-Instruct, achieves a remarkable 44.7 length-controlled win rate on AlpacaEval 2 -- surpassing Claude 3 Opus on the leaderboard, and a 33.8 win rate on Arena-Hard -- making it the strongest 8B open-source model.
[ -0.29185810685157776, -0.029230520129203796, 0.5577152371406555, 0.3304263651371002, -0.5792075991630554, -0.2126760631799698, -0.29446926712989807, -0.30809274315834045, 0.09294324368238449, 0.18137551844120026, -0.7898547649383545, 0.023202044889330864, -0.6021615266799927, 0.2071082890033722, 0.45501944422721863, 0.8485143184661865, -0.1991351693868637, 0.12419543415307999, -0.4080326557159424, 0.12783829867839813, -0.22141309082508087, -0.37286603450775146, -0.5662804245948792, -0.6627659797668457, 0.4819943308830261, 0.7360705137252808, 0.5856972336769104, 0.9183709025382996, 0.41749492287635803, 0.22088700532913208, -0.12343940138816833, 0.5119535326957703, -0.7985832095146179, -0.15739503502845764, 0.13923002779483795, -0.5484505891799927, -0.4148152470588684, 0.12136731296777725, 0.09391801059246063, 0.14497771859169006, -0.4212299585342407, -0.08151973783969879, 0.054740846157073975, 1.0292956829071045, -0.8558095097541809, 0.2520439028739929, -0.5380658507347107, 0.2222404032945633, 0.16713297367095947, -0.7463803291320801, -0.532813310623169, -0.659033477306366, -0.01889396272599697, -0.943840742111206, -0.1676906943321228, 0.10667448490858078, 0.7066887021064758, 0.5982169508934021, -0.359063059091568, -0.38117286562919617, -0.7331470847129822, 0.944358766078949, -0.24480172991752625, 0.2725337743759155, 0.3008517026901245, 0.4430670142173767, -0.3547983169555664, -0.3070802688598633, -0.1618051379919052, -0.5554132461547852, 0.1937151700258255, 0.3814207911491394, 0.02081955596804619, 0.1756986528635025, 0.1415136456489563, 0.17133335769176483, -0.09678986668586731, -0.10544642060995102, -0.06272929161787033, 0.14902333915233612, 0.6677355766296387, 0.047393493354320526, -0.2990497648715973, -0.22374886274337769, -0.8178457021713257, -0.4075911343097687, -0.5846194624900818, 0.6177355647087097, 0.5465916395187378, 0.08591382950544357, 0.10874669253826141, 0.20441259443759918, -0.519005537033081, 0.593761682510376, 0.36326864361763, -0.5942949652671814, 0.042421676218509674, 0.25186794996261597, -0.0648685097694397, 0.19563283026218414, 0.6744770407676697, 0.4950764775276184, 0.2303248643875122, -0.1505672186613083, -0.027548898011446, -0.21456366777420044, 0.18129907548427582, -0.7502962350845337, 0.12555795907974243, 0.2384473830461502, -0.4744871258735657, -0.7597434520721436, 0.20641492307186127, -0.5899748802185059, -0.266630619764328, -0.5991538763046265, 0.2388765513896942, -0.5412290096282959, 0.06261945515871048, 0.09646755456924438, -0.19748555123806, 0.1828608512878418, 0.6299542188644409, -1.1073839664459229, 0.5960132479667664, 0.8081380724906921, 0.6367361545562744, -0.3991992771625519, -0.2307824194431305, -0.7173184752464294, 0.31565409898757935, -0.3197861909866333, 0.7118578553199768, -0.5878137946128845, -0.5903497934341431, -0.25377529859542847, -0.45256492495536804, 0.2640061676502228, -0.6601741909980774, 0.8734838962554932, -0.2934950590133667, -0.2088944911956787, -0.5092794299125671, -0.6386836767196655, 0.11927464604377747, 0.21747246384620667, -0.5962108373641968, 1.0025436878204346, -0.33169758319854736, -0.5738608241081238, 0.3522971570491791, -0.6193616390228271, 0.20347346365451813, -0.2129031866788864, -0.16348226368427277, -0.25624826550483704, 0.2640264332294464, 0.07983759790658951, 0.04110517352819443, -0.4643266201019287, 0.06681473553180695, -0.612303614616394, -0.9088723659515381, 0.05024086311459541, -0.148715078830719, 0.528099000453949, 0.17964768409729004, -0.421739399433136, 0.08893687278032303, -0.7534341812133789, 0.3212445378303528, 0.4393206834793091, -0.2806673049926758, -0.48189982771873474, 0.24306505918502808, -0.4892202317714691, 0.19794832170009613, 0.04876498505473137, -0.5188746452331543, 0.6160078644752502, -0.0933636873960495, -0.06182442978024483, 0.9397906064987183, -0.24511532485485077, 0.4333118200302124, -0.3419604003429413, 0.440640389919281, -0.2037239968776703, 0.7676960825920105, 0.3503476679325104, -0.3675769865512848, -0.4830501079559326, -0.4988482594490051, 0.3818504214286804, 0.4988727271556854, -0.5750946998596191, 0.2657793462276459, -0.24507953226566315, -0.4219861328601837, -0.3119368255138397, 0.25192081928253174, 0.24418875575065613, 0.49086281657218933, 0.2327907234430313, -0.11339740455150604, -0.34993186593055725, -0.9145757555961609, -0.08051644265651703, -0.31718918681144714, 0.057053785771131516, 0.7675772905349731, 0.07217860221862793, 0.029638221487402916, 0.9775324463844299, -1.0113047361373901, -0.23528268933296204, -0.21746984124183655, 0.044220875948667526, 0.08907067775726318, 0.12268538028001785, 0.6932103633880615, -0.8244648575782776, -0.41586774587631226, -0.18892894685268402, -0.5495728850364685, -0.14981524646282196, 0.25712546706199646, -0.30047595500946045, -0.19634687900543213, 0.01275439653545618, -0.4807046055793762, 0.23532812297344208, 0.32056379318237305, 0.14419756829738617, 0.31214115023612976, -0.25083255767822266, 0.32021379470825195, -0.6216864585876465, 0.10288791358470917, -0.45250222086906433, -0.11318541318178177, -0.4178348481655121, -0.1372726708650589, 0.188185915350914, -0.22644385695457458, -0.6268588304519653, 0.4857674837112427, -0.08493909239768982, 0.0008031196775846183, -0.4559268653392792, -0.2515715956687927, -0.17274856567382812, 0.8115517497062683, 0.33933237195014954, 0.37278932332992554, 0.057667169719934464, -0.7804428339004517, 0.49082574248313904, 0.08457738161087036, -0.028094902634620667, 0.22931337356567383, -0.6904516220092773, 0.3718698024749756, -0.14043371379375458, 0.41698887944221497, -0.7505772709846497, -0.1481183022260666, 0.4272531270980835, -0.2731534540653229, 0.12235409766435623, -0.19997812807559967, -0.19366596639156342, -0.23389068245887756, -0.8645479679107666, 0.49368366599082947, 0.5110755562782288, -0.7189044952392578, 0.1872117966413498, -0.08863327652215958, 0.1740877330303192, -0.9493486881256104, 0.01406543143093586, -0.522555410861969, 0.01945166289806366, -0.37723979353904724, 0.36637118458747864, -0.38547229766845703, -0.13574711978435516, -0.3156825006008148, -0.3468177318572998, 0.04393036291003227, 0.1695498526096344, 0.42112788558006287, 0.24923212826251984, 0.38110271096229553, 0.08121810108423233, 0.029780937358736992, -0.4381782114505768, -0.2720440924167633, 0.10089312493801117, 0.5706664323806763, -0.06506966799497604, -0.18065553903579712, -0.3383106589317322, 0.30437812209129333, 0.2842240631580353, 0.21297933161258698, 0.2818480134010315, 0.0355018712580204, -0.02204860933125019, -0.40385258197784424, -0.19139039516448975, -0.13006260991096497, -0.4566895067691803, -0.1223706305027008, -0.5817779898643494, -0.4075115919113159, -0.006420585326850414, -0.5137349963188171, 0.012275632470846176, 0.13303881883621216, 0.4062616527080536, 0.050636377185583115, 0.988159716129303, 0.6045197248458862, 0.1148030236363411, 0.5736615657806396, -0.20120331645011902, -0.32853662967681885, -0.5704068541526794, -0.44804301857948303, -0.34901365637779236, -0.33059370517730713, -0.5115544199943542, -0.35223981738090515, 0.18049801886081696, 0.18853922188282013, -0.051623616367578506, 0.10797297209501266, -0.3845747709274292, 0.4536116421222687, 0.6984812021255493, 0.36691489815711975, 0.4748327136039734, -0.032201044261455536, -0.3195984959602356, -0.2656773626804352, -0.7338042259216309, -0.2048601359128952, 1.1059901714324951, 0.2529078423976898, 1.052294135093689, -0.09065347164869308, 1.185401439666748, 0.39117178320884705, 0.2466956526041031, -1.0500140190124512, 0.37529927492141724, 0.061399608850479126, -0.33307528495788574, -0.17074277997016907, -0.46589064598083496, -0.6805390119552612, 0.2798821032047272, -0.13069963455200195, -0.3971668481826782, 0.4455075263977051, 0.5608828067779541, -0.4664013385772705, 0.15806379914283752, -0.5117159485816956, 0.4965028762817383, -0.47809353470802307, -0.5706795454025269, -0.17760848999023438, -0.4692515730857849, 0.5347024202346802, 0.1995779126882553, -0.13589467108249664, -0.35606247186660767, -0.4598383903503418, 0.3545937240123749, -0.6286865472793579, 0.21691007912158966, -0.12746186554431915, 0.1301308125257492, 0.14380787312984467, -0.0001595596258994192, 0.6074085235595703, 0.18343870341777802, -0.2445969581604004, 0.052321407943964005, -0.1952509731054306, -0.3633805215358734, -0.7114078402519226, 0.8799460530281067, -1.2245479822158813, -0.48988550901412964, -0.7523773908615112, -0.3201982378959656, -0.2959236204624176, -0.07439097762107849, 0.24882853031158447, 0.09789440780878067, -0.30142924189567566, 0.18731336295604706, 0.6615581512451172, -0.015915852040052414, 0.3952817916870117, 0.44568225741386414, -0.04621689394116402, -0.7408838272094727, 0.5374003052711487, -0.2666129767894745, 0.2497456818819046, 0.5759775638580322, 0.5770823955535889, -0.31405535340309143, -0.07970326393842697, -0.5187286734580994, 0.19640985131263733, -0.42569485306739807, -0.2329493910074234, -0.2723753750324249, 0.21617981791496277, -0.18122060596942902, -0.13260573148727417, -0.713951051235199, -0.40244823694229126, 0.12690964341163635, 0.18799889087677002, 0.14025750756263733, 0.6507924199104309, -0.24183416366577148, 0.2336743026971817, -0.28343573212623596, 0.4130868911743164, 0.8343216180801392, 0.5208061933517456, -0.1722899079322815, -0.2574557065963745, 0.2321637123823166, 0.0027582510374486446, -0.3391418159008026, -1.0055540800094604, 0.10830280929803848, -0.03810267150402069, 0.506107747554779, 0.5411460995674133, 0.34261763095855713, 0.7982533574104309, -0.5252472162246704, 0.20293055474758148, 0.3150014579296112, -0.7909082174301147, 0.787853479385376, -0.20387139916419983, 0.15674714744091034, 0.9126203060150146, 0.7250974178314209, -0.2062976062297821, 0.4570747911930084, -0.6982250213623047, -0.46169254183769226, 1.2727147340774536, 0.3070867359638214, -0.3328222632408142, 0.23286285996437073, 0.626735270023346, 0.2729208171367645, 0.5195155143737793, -0.6907879114151001, -0.4835175573825836, -0.27421656250953674, 0.1943793147802353, 0.13084478676319122, -0.46714311838150024, -0.3683626055717468, -0.10278814285993576, 0.8053116798400879, -0.19552701711654663, 0.4000741243362427, 0.1626550853252411, 0.1854272484779358, -0.36410394310951233, 0.11110569536685944, 0.6925331354141235, 0.5815439820289612, -0.8922741413116455, -0.16028669476509094, 0.11876942217350006, -0.1825008988380432, 0.47176969051361084, -0.0947064682841301, -0.4256085455417633, 0.010528848506510258, -0.07745099812746048, 0.9404355883598328, 0.4054446220397949, -0.5778816938400269, 0.6522756218910217, -0.3609079122543335, -0.2733173668384552, -0.07658237963914871, 0.2185288965702057, -0.18871836364269257, -0.16842561960220337, 0.3748520314693451, 0.16869458556175232, 0.38319501280784607, -0.603298544883728, 0.1299062967300415, 0.25644275546073914, -0.6269610524177551, -0.01948385499417782, 0.4537196159362793, 0.4964199662208557, -0.13587789237499237, 0.03897915780544281, -0.22412820160388947, -0.275114506483078, 0.6302649974822998, 0.5282357335090637, 0.7299849390983582, -0.36019665002822876, 0.33450114727020264, 0.4069201350212097, 0.016654808074235916, -0.44024598598480225, 0.16731570661067963, -0.3771756589412689, -0.4384826421737671, -0.1899310052394867, -0.4942649304866791, -0.8910616636276245, -0.020223800092935562, -0.8458765149116516, 0.6948738694190979, -0.7666888236999512, 0.010471558198332787, -0.08805935829877853, 0.2775496244430542, -0.49266669154167175, 0.10145635157823563, 0.36653271317481995, 0.9705407619476318, -0.6839182376861572, 0.863903284072876, 0.8167446851730347, -0.07585712522268295, -0.6952641606330872, -0.03684419393539429, 0.21804462373256683, -0.9296531081199646, 0.803600013256073, 0.03717838227748871, -0.45343899726867676, -0.2687259912490845, -0.46754154562950134, -0.8875206112861633, 1.3279571533203125, 0.7190026640892029, -0.5646727085113525, 0.07089389860630035, 0.052029434591531754, 0.1736588180065155, -0.40688556432724, 0.5993726253509521, 0.343858540058136, 0.2556939721107483, 0.5673723220825195, -0.6602025032043457, -0.10134478658437729, -0.06438662111759186, 0.15274551510810852, 0.11737744510173798, -1.2175986766815186, 0.566741943359375, -0.14704835414886475, 0.2655257284641266, 0.03160629794001579, 0.5528622269630432, 0.7157454490661621, 0.26188740134239197, 0.7341909408569336, 0.5974522233009338, 0.5550720691680908, -0.14522522687911987, 1.3852183818817139, -0.18433701992034912, 0.3968696892261505, 0.9184519052505493, -0.2710234522819519, 0.8632042407989502, 0.5966203212738037, -0.12946933507919312, 0.45752063393592834, 0.7248543500900269, 0.5314427018165588, 0.9954139590263367, 0.18539689481258392, -0.11718593537807465, -0.5190441608428955, -0.32475370168685913, -0.39527207612991333, 0.5341513752937317, -0.3855140209197998, -0.06547702848911285, -0.07343390583992004, -0.4153299331665039, 0.05605349317193031, -0.09795445948839188, -0.3751382827758789, 0.7374873757362366, 0.08851905912160873, -0.8755505084991455, 0.48972392082214355, -0.03862221911549568, 0.5526601672172546, -1.1517071723937988, -0.09887003153562546, -0.5244707465171814, 0.5513623952865601, -0.038109470158815384, -0.08110527694225311, -0.2812875807285309, -0.09124310314655304, -0.08016456663608551, -0.14908328652381897, 0.5956125259399414, -0.21688714623451233, -0.20137560367584229, 0.41524678468704224, 0.23922093212604523, -0.1671314388513565, 0.046928770840168, -0.8574979901313782, 0.32783791422843933, 0.1308148354291916, -0.30257323384284973, 0.3732832968235016, 0.20325787365436554, 0.12248975783586502, 0.8174710273742676, 0.4988456964492798, 0.06575479358434677, -0.21831557154655457, -0.13593897223472595, 0.6853798627853394, -0.649692177772522, -0.6800989508628845, -0.8113760948181152, 0.11445986479520798, -0.3480195105075836, -0.4966197609901428, 0.43541768193244934, 0.6265727877616882, 0.552248477935791, -0.20310094952583313, 0.4817264974117279, 0.04424874112010002, 0.19581884145736694, -0.3678704500198364, -0.15810087323188782, -0.8353484272956848, 0.13159137964248657, -0.38017338514328003, -1.0406367778778076, 0.07204890996217728, 0.3459663689136505, -0.11471325904130936, -0.12548598647117615, 0.5598300695419312, 0.3834496736526489, -0.1492704600095749, -0.1973406821489334, 0.4230785667896271, -0.4506289064884186, -0.0015793060883879662, 0.9040128588676453, 0.8894563913345337, -0.35630902647972107, 0.9653846621513367, -0.721901535987854, -0.6340699791908264, -0.6534078121185303, -1.1339225769042969, -0.62548828125, -0.009254241362214088, -0.08926213532686234, 0.03512989729642868, 0.22515849769115448, 1.3579645156860352, 0.8068358898162842, -0.6596943736076355, -0.49620121717453003, 0.2785082757472992, 0.17509421706199646, -0.4956806004047394, -0.1327182650566101, 0.15479005873203278, -0.27515482902526855, -0.9996550679206848, 0.3449552655220032, 0.46114200353622437, -0.013352581299841404, 0.25617626309394836, -0.598071813583374, -0.1277507096529007, 0.3404610753059387, 0.504828929901123, 0.4114203155040741, -0.7282777428627014, -0.32094937562942505, 0.1873871088027954, -0.19356225430965424, 0.026753317564725876, 1.0020999908447266, -0.606890082359314, 0.6245153546333313, 0.5972678661346436, 0.5137171149253845, 0.671412467956543, 0.48539111018180847, 0.7240455150604248, -0.6399272680282593, 0.539367139339447, 0.1461513638496399, 0.36743029952049255, 0.009771321900188923, -0.3602917194366455, 0.8140164613723755, 0.45635950565338135, -0.35547542572021484, -0.5731825828552246, 0.24236340820789337, -1.414613962173462, -0.23226547241210938, 1.313302755355835, 0.033485446125268936, -0.2731172442436218, 0.4122779071331024, -0.5283089280128479, 0.07921379059553146, -0.7048074007034302, 1.0617595911026, 0.4908580183982849, -0.6682515740394592, 0.0806090235710144, -0.2860141694545746, 1.107796549797058, 0.6913439035415649, -0.7563259601593018, -0.09652252495288849, 0.35493049025535583, 0.3017657995223999, 0.025050194934010506, 0.8658483028411865, 0.05692075937986374, 0.6131955981254578, -0.03545482084155083, 0.23089413344860077, -0.5856274366378784, -0.3589917719364166, -0.3262209892272949, 0.3815186619758606, 0.3436061441898346, -0.4916701018810272 ]
http://arxiv.org/abs/2405.14722v1
http://arxiv.org/pdf/2405.14722v1
CAPE: Context-Adaptive Positional Encoding for Length Extrapolation
2024-05-23T15:51:24
2024-05-23T15:51:24
Chuanyang Zheng, Yihang Gao, Han Shi, Minbin Huang, Jingyao Li, Jing Xiong, Xiaozhe Ren, Michael Ng, Xin Jiang, Zhenguo Li, Yu Li
cs.CL
cs.CL
Positional encoding plays a crucial role in transformers, significantly impacting model performance and length generalization. Prior research has introduced absolute positional encoding (APE) and relative positional encoding (RPE) to distinguish token positions in given sequences. However, both APE and RPE remain fixed after model training regardless of input data, limiting their adaptability and flexibility. Hence, we expect that the desired positional encoding should be context-adaptive and can be dynamically adjusted with the given attention. In this paper, we propose a Context-Adaptive Positional Encoding (CAPE) method, which dynamically and semantically adjusts based on input context and learned fixed priors. Experimental validation on real-world datasets (Arxiv, Books3, and CHE) demonstrates that CAPE enhances model performances in terms of trained length and length generalization, where the improvements are statistically significant. The model visualization suggests that our model can keep both local and anti-local information. Finally, we successfully train the model on sequence length 128 and achieve better performance at evaluation sequence length 8192, compared with other static positional encoding methods, revealing the benefit of the adaptive positional encoding method.
[ -0.40250444412231445, -0.5741103887557983, 0.3113577365875244, 0.2567445635795593, -0.4000145196914673, -0.025078659877181053, -0.327983021736145, -0.5428560376167297, 0.4200543165206909, 0.09180504083633423, -0.40532568097114563, -0.12928317487239838, -0.8332631587982178, 0.1604432612657547, -0.27295780181884766, 0.5780465602874756, -0.10698701441287994, -0.15949369966983795, 0.07324012368917465, -0.24919195473194122, -0.8488690257072449, -0.7855122089385986, -0.29119130969047546, 0.12250437587499619, 0.3955288231372833, 0.4645318388938904, 1.021871566772461, 0.8483839631080627, 0.4204097092151642, 0.27652010321617126, -0.12223648279905319, 0.3159097135066986, -0.277213454246521, 0.10878095775842667, -0.2616713345050812, -0.3939650356769562, -0.6437901258468628, -0.3576548993587494, 0.9168491959571838, 0.5999464392662048, -0.18387523293495178, 0.16794976592063904, -0.05293533578515053, 0.6967347264289856, -0.7800085544586182, -0.08587533235549927, -0.7821435332298279, 0.12819528579711914, 0.13462984561920166, -0.44868847727775574, -0.49286651611328125, 0.135551318526268, 0.16023923456668854, -0.8571944832801819, 0.47347721457481384, -0.10831364244222641, 0.9080886244773865, 0.21057549118995667, -0.4830980598926544, 0.013751190155744553, -0.7382028102874756, 0.8298436999320984, -0.646004855632782, 0.7654424905776978, 0.3336254358291626, 0.4851917028427124, -0.04683394357562065, -0.6039682626724243, -0.6077095866203308, 0.0056533291935920715, -0.24916334450244904, 0.2060556858778, 0.0378623902797699, -0.2788563072681427, 0.34793150424957275, 0.21308083832263947, -0.2995522916316986, 0.04181902855634689, -0.4219626784324646, -0.17987903952598572, 0.7535905241966248, -0.023007165640592575, 0.12018831074237823, -0.05167052149772644, -0.6268443465232849, -0.4595130383968353, -0.6285803318023682, 0.16827699542045593, 0.27853479981422424, 0.26438912749290466, -0.5235804319381714, 0.35541462898254395, -0.12102069705724716, 0.867012619972229, 0.2781241536140442, 0.1181497648358345, 0.44826561212539673, 0.21333612501621246, -0.04141578823328018, 0.2121632993221283, 0.3161184787750244, 0.4050385057926178, -0.050428055226802826, 0.05914721637964249, -0.18597745895385742, -0.2053573727607727, 0.5465323328971863, -0.4848020076751709, -0.039238955825567245, -0.04294830933213234, -0.32750964164733887, 0.0565749853849411, 0.2529882788658142, -0.7830101251602173, -0.23085317015647888, -0.48710986971855164, 0.4393273591995239, -0.40487390756607056, 0.03607628494501114, -0.06625860184431076, -0.08128726482391357, 0.3569371700286865, 0.08455119282007217, -1.3391451835632324, -0.03880883380770683, 0.3859001398086548, 0.9351873993873596, -0.26284852623939514, -0.44189155101776123, -0.5647285580635071, 0.4511340260505676, -0.3576427698135376, 0.6768358945846558, -0.6319375038146973, -0.48172706365585327, 0.06332892924547195, 0.22732795774936676, -0.16470485925674438, -0.34893664717674255, 0.45117881894111633, -0.9069639444351196, -0.019874854013323784, -0.3971896767616272, -0.38891851902008057, -0.3511052429676056, 0.11401404440402985, -0.645761251449585, 0.8413271307945251, 0.3623235523700714, -0.40792766213417053, 0.6225695610046387, -0.9115014672279358, -0.61917644739151, -0.1791536509990692, -0.04748949408531189, -0.3047892451286316, 0.3167939782142639, 0.809542715549469, 0.37148749828338623, 0.029421236366033554, 0.07049916684627533, -0.007821481674909592, -0.6800194382667542, 0.2654833495616913, -0.7284083962440491, 0.1833840012550354, 0.07266474515199661, -0.21283021569252014, 0.4438036382198334, -0.8991117477416992, -0.1360688954591751, 0.02887994796037674, -0.26592764258384705, 0.020244643092155457, 0.10829604417085648, -0.21024107933044434, 0.13721606135368347, 0.15610353648662567, -0.3810410499572754, 0.35818812251091003, -0.5259612798690796, 0.3690810203552246, 0.770880937576294, -0.046754494309425354, 0.7178318500518799, -0.019474007189273834, 0.6109911203384399, -0.12882591784000397, 0.19048133492469788, -0.34003713726997375, -0.24640528857707977, -0.6463900208473206, -0.10328049957752228, 0.5335691571235657, 0.468306303024292, -0.7173474431037903, 0.5131190419197083, -0.47171005606651306, -0.3945252299308777, 0.01634787954390049, -0.4192565977573395, -0.06169573962688446, 0.6553933620452881, 0.8643955588340759, -0.5351590514183044, -0.5899331569671631, -0.693866491317749, -0.18273910880088806, 0.11172594130039215, -0.3387134373188019, 0.25034084916114807, 0.1754569411277771, -0.2178446352481842, 1.192833662033081, -0.682603120803833, -0.13441382348537445, -0.0838228240609169, 0.14775680005550385, 0.3632706105709076, 0.4749511480331421, 0.6631703972816467, -0.9511035084724426, -0.2602386474609375, -0.20218074321746826, -0.6470186710357666, -0.08255861699581146, -0.27528902888298035, -0.06931234896183014, -0.011586026288568974, 0.17010557651519775, -0.20385558903217316, 0.6349808573722839, 0.653389036655426, -0.32223403453826904, 0.5308288931846619, -0.5532007813453674, 0.13070136308670044, -0.8573507070541382, -0.06415244191884995, -0.2376077026128769, -0.3694027066230774, -0.533208966255188, 0.06212347745895386, 0.278173565864563, -0.29929712414741516, -0.5901455879211426, 0.34950488805770874, -0.5862285494804382, -0.41836732625961304, -0.6071166396141052, 0.015461583621799946, 0.13596542179584503, 0.7524958848953247, 0.5240872502326965, 0.9230527877807617, 0.5431113839149475, -0.8640673160552979, 0.39565402269363403, 0.474042683839798, -0.37051862478256226, 0.33192089200019836, -0.54642653465271, 0.2527698576450348, 0.06940446048974991, 0.5454555749893188, -0.7092347145080566, -0.2675088942050934, 0.0911114364862442, -0.2936573028564453, 0.4741314649581909, -0.24424609541893005, 0.010023729875683784, -0.2579389214515686, -0.07294215261936188, 0.7375046610832214, 0.4184093177318573, -0.7411340475082397, 0.8192318677902222, 0.23970112204551697, -0.11334244161844254, -0.8835843205451965, -0.625556230545044, -0.006845137104392052, -0.2057412564754486, -0.491068959236145, 0.8772467374801636, 0.1297730952501297, 0.3918963670730591, -0.5188152194023132, -0.4072429835796356, -0.13230262696743011, -0.2141338735818863, 0.2380383461713791, 0.1801963895559311, -0.18314418196678162, -0.09835461527109146, 0.25448107719421387, -0.2792007625102997, -0.11909490823745728, -0.1367974579334259, 0.6941121220588684, -0.044341083616018295, -0.24025218188762665, -0.4043709337711334, 0.3580663800239563, 0.49311256408691406, -0.0803089588880539, 0.8230032324790955, 0.6639091372489929, -0.2769838273525238, -0.20383870601654053, -0.2370915561914444, -0.25737622380256653, -0.5567362904548645, 0.5009297132492065, -0.4441806375980377, -0.6059570908546448, 0.6937717199325562, -0.046711429953575134, -0.18934501707553864, 0.3183284401893616, 0.36061471700668335, -0.06648606806993484, 0.9433467984199524, 0.9888390302658081, 0.14347118139266968, 0.6045395731925964, -0.38715213537216187, 0.16983547806739807, -1.0335205793380737, -0.11922767013311386, 0.05206352472305298, -0.6947171688079834, -0.11732608824968338, -0.45965009927749634, 0.44757822155952454, 0.37806037068367004, -0.3558008670806885, 0.7484806776046753, -0.6471336483955383, 0.5123209357261658, 0.4043377935886383, 0.29106467962265015, -0.2135012447834015, -0.043479904532432556, -0.06533296406269073, -0.14551368355751038, -0.8713110089302063, -0.37433138489723206, 0.8070749640464783, 0.41665685176849365, 0.5090935826301575, 0.17646116018295288, -0.019359929487109184, 0.7642303109169006, 0.05889035761356354, -0.6893601417541504, 0.40454667806625366, 0.046167921274900436, -0.1264318972826004, -0.3757816553115845, -0.14224863052368164, -0.6786776185035706, 0.13542380928993225, -0.14135074615478516, -0.6927492022514343, 0.8485580682754517, 0.524755597114563, -0.5494612455368042, 0.31927016377449036, -0.4555608034133911, 0.7300968170166016, -0.3694379925727844, -0.19939696788787842, -0.06745383143424988, -0.8746673464775085, -0.2044413834810257, -0.18959541618824005, 0.07220012694597244, 0.023880228400230408, -0.05708189308643341, 0.8630226254463196, -0.6499891877174377, 0.7243327498435974, -0.3271656930446625, -0.2930713891983032, 0.31693169474601746, 0.06489019095897675, 0.6377689242362976, 0.12910592555999756, -0.16054679453372955, 0.5544854998588562, 0.04427675902843475, -0.5743147134780884, -0.7231811881065369, 0.40614575147628784, -0.8135502338409424, -0.5547505617141724, -0.3199772834777832, -0.8629898428916931, -0.45428237318992615, -0.045373640954494476, 0.6581091284751892, 0.4935283660888672, 0.05664575472474098, 0.16487658023834229, 0.164128839969635, -0.4358910918235779, 0.6889490485191345, 0.3397473096847534, 0.13381923735141754, -0.39878809452056885, 0.6608322262763977, -0.02829006128013134, 0.2303859144449234, 0.6793227791786194, 0.13005444407463074, -0.5453042387962341, -0.44329917430877686, -0.6943231225013733, -0.20567430555820465, -0.9724084734916687, -0.37680670619010925, -0.26332610845565796, -0.001645230338908732, -0.3275466561317444, -0.6185625791549683, -0.3816556930541992, -0.6285192370414734, -0.0642334520816803, -0.07360503077507019, 0.49747079610824585, 0.46446192264556885, -0.3909795582294464, 0.8617941737174988, -0.9671237468719482, 0.4264528155326843, 0.33931782841682434, 0.38950079679489136, 0.05579806864261627, -1.053955078125, -0.28260159492492676, 0.2202199548482895, -0.20363405346870422, -0.9036301970481873, 0.5269215106964111, 0.32831186056137085, 0.25517845153808594, 0.2401466965675354, -0.0012674443423748016, 0.8898146152496338, -0.7861371636390686, 1.0473847389221191, 0.19990737736225128, -1.1139156818389893, 0.3631708323955536, -0.19563251733779907, 0.33232882618904114, 0.3524024188518524, 0.25812986493110657, -0.5747566223144531, 0.5425595045089722, -0.23625752329826355, -1.2228000164031982, 0.7898673415184021, 0.15298029780387878, 0.37499645352363586, -0.01422713790088892, 0.5816576480865479, 0.17913506925106049, -0.14081187546253204, -0.42848721146583557, 0.007601005956530571, -0.5334814190864563, -0.035148922353982925, 0.19438304007053375, -0.4598233997821808, -0.017899340018630028, -0.2732402980327606, 0.8391435146331787, -0.33278733491897583, 0.7606562376022339, 0.37529876828193665, -0.5252386331558228, 0.03905141353607178, 0.03311014547944069, 0.9330173134803772, 1.1271929740905762, -0.09823694825172424, -0.17897163331508636, 0.7247368693351746, -0.5652563571929932, 0.2527925670146942, -0.06828644871711731, 0.11895537376403809, 0.06849311292171478, 0.3808373510837555, 0.9430035948753357, 0.2105303853750229, -0.44789788126945496, 0.740303099155426, 0.1143173798918724, 0.2657760679721832, -0.4709273874759674, 0.02944883331656456, -0.3559034466743469, 0.12412133067846298, 0.5604034662246704, 0.2712610065937042, -0.1548837423324585, -0.30972081422805786, 0.45454421639442444, -0.06773752719163895, -0.6409985423088074, -0.39475899934768677, 0.8374071717262268, 0.17928087711334229, -0.3576430678367615, 0.44921231269836426, 0.29180970788002014, -0.5818341970443726, 0.6581980586051941, 0.7007681727409363, 0.5210294127464294, -0.38125625252723694, -0.14447414875030518, 0.3099921643733978, -0.10395660251379013, 0.029468383640050888, 0.14271655678749084, -0.3598240613937378, -0.8604683876037598, -0.6298922300338745, -0.6665685176849365, -0.4113287925720215, -0.02531767264008522, -0.8309312462806702, 0.4665551781654358, -0.3621632754802704, -0.10988559573888779, -0.3735557794570923, -0.6872007250785828, -0.572187066078186, 0.5652375817298889, 0.1963670700788498, 1.1640585660934448, -0.6246341466903687, 0.8137620687484741, 0.5805627703666687, -0.08083757758140564, -0.8076071739196777, 0.07664443552494049, -0.4261365532875061, -0.7655349373817444, 0.4574812650680542, 0.2791764736175537, -0.3087069094181061, -0.15946927666664124, -0.31754136085510254, -1.1725363731384277, 1.1349421739578247, 0.3054139018058777, -0.8830060958862305, -0.051110800355672836, 0.447202205657959, 0.3671141564846039, -0.4199221432209015, 0.21221031248569489, 0.3036169707775116, 0.2653675079345703, 0.033626485615968704, -0.7543684840202332, -0.023064952343702316, -0.14393439888954163, 0.20739956200122833, 0.028949987143278122, -0.5663461089134216, 0.3498588502407074, 0.017886994406580925, -0.011461080983281136, 0.2467086762189865, 1.1240133047103882, 0.19970548152923584, -0.0477910190820694, 0.6272168159484863, 0.21085283160209656, 0.5300028324127197, -0.07755905389785767, 1.0621074438095093, -0.5995562076568604, 0.4206419885158539, 1.2196427583694458, -0.3509249985218048, 0.7567705512046814, 0.22970859706401825, -0.01737639680504799, 0.6812766194343567, 0.5523566007614136, -0.08867527544498444, 0.7091590166091919, -0.06514036655426025, -0.07358020544052124, -0.1297260969877243, 0.34795212745666504, -0.6759285926818848, 0.6187360882759094, 0.45476239919662476, -0.6729249954223633, 0.1852036416530609, 0.2877993881702423, -0.3383757770061493, 0.2051500529050827, -0.3956208825111389, 0.3515506088733673, -0.13093458116054535, -0.48231059312820435, 0.9095821380615234, 0.2499738335609436, 0.7023890018463135, -0.7724144458770752, -0.12933216989040375, 0.0006369925104081631, 0.16549552977085114, -0.07329436391592026, -0.5181871652603149, 0.5001545548439026, -0.07490132749080658, -0.457294225692749, -0.14703722298145294, 0.6732854247093201, -0.10128185153007507, -0.3725273609161377, 0.20242656767368317, -0.08322088420391083, 0.018993549048900604, -0.08562470972537994, -0.5580025911331177, 0.14472785592079163, -0.27574339509010315, -0.26851147413253784, 0.11979611963033676, 0.04184569790959358, -0.40998491644859314, 0.318268746137619, 0.7539820075035095, -0.1644880771636963, 0.09791559725999832, 0.08609192073345184, 0.587343156337738, -0.8462474942207336, -0.8935270309448242, -0.7336479425430298, 0.4033133387565613, -0.07671000808477402, -0.29962843656539917, 0.43502768874168396, 0.40938788652420044, 0.8251575231552124, -0.33945319056510925, 0.35478782653808594, -0.07745353877544403, 0.28682926297187805, -0.4228213429450989, 0.6483728289604187, -0.2557539641857147, 0.30752328038215637, -0.16091324388980865, -1.3058773279190063, -0.4483393430709839, 0.8089693188667297, -0.5108636021614075, 0.1207534521818161, 0.4381011128425598, 0.5363261699676514, -0.41408172249794006, 0.12122613191604614, 0.285921573638916, 0.09215446561574936, 0.19266971945762634, 0.5059859156608582, 0.7402780652046204, -0.6682838201522827, 0.3116043210029602, -0.2646370530128479, -0.20874984562397003, -0.13187210261821747, -1.1979649066925049, -0.3907683491706848, -0.4389180839061737, -0.1705760359764099, -0.0812034085392952, -0.009434795938432217, 0.7430534958839417, 1.1234453916549683, -0.9174889326095581, 0.0595509335398674, 0.017716187983751297, -0.31328195333480835, -0.7635300159454346, -0.20570650696754456, 0.7753912806510925, 0.046812742948532104, -0.627439558506012, 1.0978238582611084, 0.2398325800895691, -0.10830242931842804, 0.30880674719810486, -0.14570094645023346, -0.17572863399982452, 0.18404456973075867, 0.7929661870002747, 0.5089734196662903, -0.5247567892074585, -0.7907994389533997, -0.24002374708652496, 0.37707215547561646, 0.4468485713005066, 0.8494359254837036, -0.9496536254882812, 0.3599889576435089, 0.5886421203613281, 0.4409707486629486, 0.39928045868873596, 0.4345000386238098, 0.9877109527587891, -1.2503031492233276, 0.4874504804611206, 0.07118423283100128, 0.6608312726020813, 0.406572550535202, -0.6704224348068237, 0.5781346559524536, 0.10981442779302597, -0.4525785446166992, -0.6867159008979797, 0.4112308919429779, -1.1087777614593506, -0.33135369420051575, 0.9424524307250977, -0.2516689598560333, -0.09354878962039948, 0.11917978525161743, -0.2584877908229828, 0.5469178557395935, -0.19409097731113434, 0.8305420875549316, 0.33788228034973145, -0.15269197523593903, 0.04078397527337074, -0.15272685885429382, 0.34922313690185547, 0.556637704372406, -0.24773980677127838, -0.03448805585503578, 0.2158128023147583, 0.21741200983524323, 0.42893290519714355, 0.0263734869658947, -0.06282299011945724, 0.5105912685394287, -0.23283308744430542, -0.048436664044857025, -0.29224294424057007, -0.5568689107894897, -0.5597445964813232, 0.22106780111789703, -0.2605774700641632, -0.3233834207057953 ]
http://arxiv.org/abs/2405.14696v2
http://arxiv.org/pdf/2405.14696v2
A Declarative System for Optimizing AI Workloads
2024-05-23T15:31:18
2024-05-29T15:27:07
Chunwei Liu, Matthew Russo, Michael Cafarella, Lei Cao, Peter Baille Chen, Zui Chen, Michael Franklin, Tim Kraska, Samuel Madden, Gerardo Vitagliano
cs.CL
cs.CL, cs.AI, cs.DB, H.2.3; I.2.5
A long-standing goal of data management systems has been to build systems which can compute quantitative insights over large corpora of unstructured data in a cost-effective manner. Until recently, it was difficult and expensive to extract facts from company documents, data from scientific papers, or metrics from image and video corpora. Today's models can accomplish these tasks with high accuracy. However, a programmer who wants to answer a substantive AI-powered query must orchestrate large numbers of models, prompts, and data operations. For even a single query, the programmer has to make a vast number of decisions such as the choice of model, the right inference method, the most cost-effective inference hardware, the ideal prompt design, and so on. The optimal set of decisions can change as the query changes and as the rapidly-evolving technical landscape shifts. In this paper we present Palimpzest, a system that enables anyone to process AI-powered analytical queries simply by defining them in a declarative language. The system uses its cost optimization framework to implement the query plan with the best trade-offs between runtime, financial cost, and output data quality. We describe the workload of AI-powered analytics tasks, the optimization methods that Palimpzest uses, and the prototype system itself. We evaluate Palimpzest on tasks in Legal Discovery, Real Estate Search, and Medical Schema Matching. We show that even our simple prototype offers a range of appealing plans, including one that is 3.3x faster and 2.9x cheaper than the baseline method, while also offering better data quality. With parallelism enabled, Palimpzest can produce plans with up to a 90.3x speedup at 9.1x lower cost relative to a single-threaded GPT-4 baseline, while obtaining an F1-score within 83.5% of the baseline. These require no additional work by the user.
[ -0.1575225591659546, -0.405752956867218, 0.5939224362373352, 0.3939579129219055, -0.3460533916950226, 0.11143086850643158, -0.05825027823448181, -0.2348637729883194, 0.2606687843799591, 0.4640499949455261, -0.5148194432258606, -0.5210914015769958, -0.20778797566890717, 0.02969074249267578, -0.4183614253997803, 0.8762049674987793, 0.14412960410118103, 0.015678536146879196, -0.3641131520271301, -0.20390503108501434, -0.31521546840667725, -0.3141610324382782, -0.662387490272522, -0.011125168763101101, 0.03095124661922455, 0.2778950035572052, 0.9232813715934753, 0.8395684957504272, 0.8322703242301941, 0.34957462549209595, 0.2958238124847412, 0.2828756272792816, -0.35664528608322144, 0.6463157534599304, -0.15407155454158783, -0.6415265202522278, -0.2856746315956116, -0.10032592713832855, 0.3394568860530853, 0.7034346461296082, -0.48301705718040466, 0.3354260325431824, -0.27419811487197876, 0.8151230812072754, -0.6719503402709961, 0.6557582020759583, -0.4799993634223938, 0.04770262911915779, -0.27843818068504333, -0.22468110918998718, -0.21441295742988586, -0.5413612723350525, -0.013240826316177845, -0.7954557538032532, 0.09213124960660934, 0.28460222482681274, 0.5944514274597168, 0.9291719794273376, 0.05697530508041382, -0.24545793235301971, -0.7732536196708679, 0.5607179403305054, -0.47183024883270264, 0.28320348262786865, 0.384098619222641, 0.4935764968395233, 0.09178991615772247, -0.7540165185928345, -0.23240748047828674, -0.3406146168708801, -0.16744239628314972, 0.19442299008369446, -0.4290381669998169, 0.16341835260391235, 0.3288109600543976, 0.3036001920700073, -0.9103038907051086, 0.07383213937282562, -0.5875091552734375, -0.01851479336619377, 0.6669000387191772, 0.6930155754089355, 0.14359870553016663, 0.10631047934293747, -0.14862117171287537, 0.08240193873643875, -0.6278220415115356, -0.28763261437416077, 0.162536159157753, 0.1492052972316742, 0.19815026223659515, 0.6170732975006104, -0.5435495972633362, 0.7132686376571655, -0.0922735258936882, 0.09088072925806046, -0.15480005741119385, -0.2633947432041168, -0.32284754514694214, 0.11041605472564697, 0.6814963221549988, 0.20040182769298553, 0.004609991330653429, -0.37778282165527344, -0.29966121912002563, 0.2281760424375534, 0.4168013334274292, -1.0352344512939453, -0.5481261610984802, 0.26518794894218445, -0.3563169240951538, -0.2742391526699066, -0.06331503391265869, -0.8807790279388428, -0.36693865060806274, -0.5406177043914795, 0.18880483508110046, -0.6178745031356812, 0.07315627485513687, -0.1233290508389473, -0.06481216102838516, 0.16714103519916534, 0.3590705096721649, -0.7337896227836609, 0.40192869305610657, 0.7708417177200317, 1.020618200302124, -0.1700506955385208, -0.04943552240729332, -0.6943243145942688, -0.04917372390627861, -0.6959574222564697, 0.6986498832702637, -0.5664821863174438, -0.3781740963459015, -0.35111042857170105, -0.457544207572937, -0.03632885217666626, -0.5460733771324158, 0.42519447207450867, -0.7696569561958313, 0.10182642191648483, -0.23287193477153778, -0.5120623707771301, 0.037600450217723846, 0.2509409487247467, -0.7300147414207458, 0.8692755699157715, -0.06279696524143219, -0.4994945824146271, 0.42011645436286926, -0.979055643081665, -0.42734670639038086, 0.44708991050720215, -0.2422545999288559, -0.19027327001094818, 0.19581516087055206, 0.2003541886806488, 0.051280613988637924, -0.6749652028083801, 0.3091229200363159, 0.18134981393814087, -0.3679397702217102, -0.1895294040441513, -0.403251051902771, 0.7558619976043701, 0.3298671543598175, -0.4339156746864319, 0.025727132335305214, -0.8969520926475525, -0.04329213872551918, 0.1601831614971161, -0.6181004643440247, -0.18483982980251312, 0.3016532361507416, -0.41157516837120056, -0.32673439383506775, 0.3264826834201813, -0.39023008942604065, 0.12634989619255066, -0.47721901535987854, 0.45232877135276794, 0.7153579592704773, -0.32591429352760315, 0.3870406746864319, -0.17407631874084473, 0.7882551550865173, -0.5489370822906494, 0.23571620881557465, -0.21279282867908478, -0.2953666150569916, -0.5831421613693237, -0.5137969255447388, 0.15351524949073792, 0.6856058835983276, -0.5540457963943481, 0.3309573829174042, -0.2982002794742584, -0.5875148177146912, -0.8465980291366577, -0.12172089517116547, 0.13492262363433838, 0.5775430798530579, 0.4419172406196594, -0.02274296246469021, -0.2822478711605072, -1.0236817598342896, -0.2103271484375, -0.3704339265823364, -0.07268745452165604, 0.225070059299469, 0.19778846204280853, 0.20835921168327332, 0.832628071308136, -0.8588321208953857, 0.0849493220448494, 0.03795255348086357, 0.37174397706985474, 0.28506332635879517, 0.2905580997467041, 0.13498538732528687, -0.9536170363426208, -0.4849209487438202, -0.012653960846364498, -0.72176593542099, -0.3657236695289612, -0.26163241267204285, -0.1439736783504486, 0.015976563096046448, 0.33614131808280945, -1.0093324184417725, 0.4293956458568573, 0.035305023193359375, -0.11175931990146637, 0.7221922278404236, -0.32635927200317383, -0.03737398609519005, -0.6921087503433228, 0.3105120062828064, -0.25018781423568726, -0.10147422552108765, -0.46967944502830505, 0.11349944770336151, -0.07547193765640259, -0.4635566174983978, -0.022348299622535706, 0.1862611621618271, -0.36084067821502686, -0.21815606951713562, -0.19895105063915253, -0.08425425738096237, 0.10517002642154694, 0.511893093585968, -0.27179914712905884, 1.1402876377105713, 0.5852298140525818, -0.46297308802604675, 0.817469596862793, 0.3740611970424652, -0.2304682582616806, 0.9105247855186462, -0.7188354730606079, 0.07853943854570389, -0.3227553963661194, 0.044509921222925186, -0.743230938911438, -0.22655142843723297, 0.1296325922012329, -0.29673126339912415, 0.11023274809122086, -0.046596135944128036, -0.6982682943344116, -0.2136085033416748, -0.23415927588939667, 0.18527814745903015, 0.46152442693710327, -0.6943812370300293, 0.5620118975639343, 0.2484302520751953, -0.28597110509872437, -0.39850372076034546, -0.5680573582649231, 0.3814365267753601, -0.17537668347358704, -0.5807929039001465, 0.3668271005153656, 0.10454258322715759, -0.44018134474754333, 0.23574459552764893, -0.2922515571117401, -0.05127178132534027, -0.10167745500802994, 0.23795154690742493, 0.38574638962745667, -0.1431153118610382, 0.2527179718017578, 0.19628304243087769, -0.28706955909729004, 0.13038578629493713, -0.41690123081207275, 0.5645923018455505, -0.24374139308929443, -0.6216346025466919, -0.506619930267334, 0.3213637173175812, 0.9670253992080688, -0.6549230813980103, 0.512338399887085, 0.35977551341056824, -0.21492204070091248, -0.2118178904056549, -0.4637831747531891, -0.04762309789657593, -0.45686423778533936, 0.2815344035625458, -0.3469949960708618, -0.30945897102355957, 0.3380340039730072, -0.08182606101036072, 0.2812373638153076, 0.5731923580169678, 0.5429508090019226, 0.02724902331829071, 1.1428645849227905, 0.27355116605758667, -0.22589242458343506, 0.15764625370502472, -0.2550806403160095, 0.21844658255577087, -0.27920520305633545, -0.42120981216430664, -0.5786089301109314, -0.3654734194278717, -0.7310107350349426, -0.2431674301624298, 0.716641902923584, -0.2781435549259186, -0.520114541053772, 0.2597390115261078, -0.8349830508232117, 0.4958588480949402, 0.967705249786377, -0.02405896782875061, 0.4494025707244873, -0.24135078489780426, 0.4298117458820343, 0.0762638971209526, -0.58962482213974, -0.2583804726600647, 1.0036073923110962, -0.17985403537750244, 0.8666331171989441, 0.08783791214227676, 0.5791544318199158, 0.4349629282951355, 0.080357626080513, -0.6257212162017822, 0.6458829045295715, -0.18762195110321045, -0.5377375483512878, -0.35354912281036377, -0.4682694375514984, -0.9304569959640503, 0.439749151468277, 0.22808179259300232, -0.4902333617210388, 0.3739461302757263, -0.019299844279885292, -0.4743816554546356, 0.18202413618564606, -0.5756340026855469, 0.6414898037910461, -0.44510331749916077, -0.41700953245162964, -0.5559558272361755, -0.6835805773735046, 0.15274307131767273, -0.20665669441223145, -0.16317464411258698, -0.2613883912563324, -0.31937354803085327, 0.6905044317245483, -0.6983316540718079, 0.5727220177650452, -0.17026716470718384, 0.4824669659137726, 0.12822668254375458, 0.3092378079891205, 0.5082769393920898, -0.019217059016227722, -0.36376142501831055, -0.0953868106007576, 0.25645339488983154, -0.4474610984325409, -0.5986440777778625, 0.5283836126327515, -0.3756271302700043, -0.7973277568817139, -0.4482945203781128, -0.6360024809837341, -0.06129530444741249, 0.23251944780349731, 0.04186481609940529, 0.28056666254997253, -0.26068469882011414, 0.13775981962680817, 0.27535000443458557, -0.05577661469578743, 0.28850463032722473, 0.33901476860046387, 0.26551347970962524, -0.17041434347629547, 1.0190125703811646, 0.017383964732289314, -0.010290023870766163, 0.33034953474998474, 0.2730414569377899, -0.25611746311187744, -0.4649334251880646, -0.5106959342956543, 0.11486918479204178, -0.3902183175086975, -0.6327416896820068, -0.3049521744251251, 0.02113933674991131, -0.12102369219064713, -0.11785959452390671, -0.39886534214019775, -0.5012259483337402, -0.23495939373970032, -0.004320667125284672, 0.22061030566692352, 0.3644544184207916, -0.3006923794746399, 0.16826671361923218, -0.5564452409744263, 0.15573012828826904, 0.26960358023643494, 0.14867836236953735, -0.29435208439826965, 0.040232498198747635, -0.19070953130722046, -0.229070246219635, -0.3428940176963806, -0.8213785290718079, 0.7132859230041504, 0.23090499639511108, 0.43267208337783813, 0.5010964870452881, 0.21523475646972656, 0.49648037552833557, -0.3069743812084198, 0.5173214077949524, -0.10744620114564896, -0.7770952582359314, 0.6887666583061218, -0.06904212385416031, 0.1394004225730896, 0.9632797241210938, 0.5368764400482178, -0.22219964861869812, -0.07142263650894165, -0.4326649010181427, -0.6474284529685974, 0.9049612283706665, 0.28235286474227905, -0.030543705448508263, 0.1421264111995697, 0.34848111867904663, 0.10371889919042587, 0.6076467633247375, 0.0652812272310257, 0.031288087368011475, -0.16718177497386932, -0.20251192152500153, 0.2926298975944519, 0.24596068263053894, -0.25794509053230286, -0.2938300371170044, 0.44473057985305786, -0.18769314885139465, 0.02980159781873226, 0.002110546687617898, 0.019654760137200356, 0.24188365042209625, -0.06785191595554352, 0.09088647365570068, 0.8726969957351685, -0.24461275339126587, 0.15288227796554565, -0.052348848432302475, -0.4027724862098694, -0.06306815892457962, 0.5532643795013428, -0.3041052520275116, 0.06138591095805168, 0.1357811987400055, 0.8152881860733032, -0.19732575118541718, -0.994848370552063, 0.2547135651111603, 0.21962592005729675, 0.004570928402245045, 0.00973313208669424, 0.09337663650512695, -0.08490283042192459, 0.48869502544403076, 0.2153896987438202, 0.07368502765893936, 0.51926189661026, -0.3668559193611145, -0.06455009430646896, 0.5336334109306335, 0.18708428740501404, -0.2680530250072479, 0.7747566103935242, 0.02463844045996666, -0.4546077251434326, 1.1099671125411987, -0.26070186495780945, -0.4336782693862915, 0.7575309872627258, 0.1379585862159729, 0.7660906314849854, -0.4278310239315033, 0.3459988832473755, 0.0706755742430687, 0.3567635416984558, -0.09945829212665558, 0.21618236601352692, -0.4979337751865387, -0.33832383155822754, -0.3008597791194916, -0.7788588404655457, -0.6828956604003906, -0.17986507713794708, -0.50370854139328, 0.11028187721967697, -0.556057870388031, 0.02934092842042446, 0.230979323387146, 0.07030532509088516, -0.643944263458252, 0.07970219105482101, -0.17228077352046967, 0.8011530041694641, -0.4201809763908386, 0.3422166109085083, 0.4464173913002014, -0.6513046622276306, -0.3594881594181061, -0.26492127776145935, 0.02004276029765606, -1.0841659307479858, 0.610818088054657, -0.04074827954173088, 0.02107987180352211, -0.01594039425253868, -0.4729192852973938, -0.7857875227928162, 1.1160833835601807, 0.613592803478241, -0.37993770837783813, -0.287692129611969, 0.22708620131015778, 0.6834477186203003, -0.14300036430358887, 0.054759521037340164, 0.9811457991600037, 0.6021192669868469, 0.11861585825681686, -0.6702209115028381, 0.12860891222953796, -0.010085835121572018, -0.19222965836524963, 0.44114556908607483, -0.5344796180725098, 0.7487668991088867, -0.10857303440570831, -0.26480960845947266, -0.03724108636379242, 0.3092306852340698, 0.07767951488494873, 0.49440041184425354, 0.33772629499435425, 0.7114903330802917, 1.0408920049667358, 0.06571123749017715, 0.9622442126274109, -0.526531457901001, 0.08458001166582108, 0.8280404806137085, -0.246709406375885, 0.6083247065544128, 0.2455834597349167, -0.5341404676437378, 0.2790592312812805, 0.6302762627601624, -0.37487250566482544, 0.523213803768158, 0.4032542407512665, -0.41885054111480713, -0.17561575770378113, -0.10025013983249664, -0.024722304195165634, 0.6273525357246399, 0.36080819368362427, -0.09729382395744324, -0.41201287508010864, -0.12313035130500793, -0.017837975174188614, -0.12056787312030792, -0.04617103934288025, 0.8569932579994202, -0.13755197823047638, -0.7293313145637512, 0.3331005871295929, -0.08729780465364456, 0.22325436770915985, -0.412566602230072, 0.1279085874557495, -0.5525326728820801, 0.03451824560761452, -0.17860744893550873, -0.5924323797225952, 0.5978122353553772, -0.0028222447726875544, 0.0851115956902504, -0.10960632562637329, 0.4984836280345917, -0.07307535409927368, -0.6142057776451111, -0.15417486429214478, 0.5602731704711914, 0.41674673557281494, -0.43495723605155945, -0.7201099991798401, 0.08656194806098938, -0.1568685621023178, -0.21159611642360687, 0.10539716482162476, 0.2376307100057602, -0.1469462662935257, 0.6668718457221985, 0.7234036326408386, 0.331447571516037, -0.1394573152065277, -0.14025427401065826, 1.0323582887649536, -0.40165621042251587, -0.5863605737686157, -0.8346248865127563, 0.1386478990316391, -0.27432766556739807, 0.02027401700615883, 0.3535509407520294, 0.8208412528038025, 0.30898573994636536, 0.43370938301086426, 0.6413116455078125, -0.06026172265410423, 0.15133881568908691, -0.3044819235801697, 0.5087464451789856, -0.5684080123901367, 0.32235923409461975, 0.3601781725883484, -0.994274377822876, -0.30859407782554626, 0.2820516526699066, -0.4647531807422638, -0.2943245768547058, 0.4173066318035126, 0.9210041761398315, -0.02296893671154976, 0.27249762415885925, 0.14180834591388702, -0.017696795985102654, 0.5008945465087891, 0.2755085527896881, 0.5435002446174622, 0.06263463944196701, 0.7029199600219727, -0.21844998002052307, -0.5032580494880676, -0.17903314530849457, -0.28263717889785767, -0.4147414267063141, -0.6294280886650085, -0.18346567451953888, -0.014494587667286396, 0.41708841919898987, 0.6520981192588806, 0.7405428290367126, -0.5470756888389587, -0.19125893712043762, -0.3365517556667328, -0.08558926731348038, -0.1372668445110321, -0.20397567749023438, 0.7970049977302551, -0.8070368766784668, -0.7442524433135986, 0.6254242658615112, 0.5597952604293823, -0.5609574913978577, -0.32024437189102173, 0.1451243758201599, 0.11367204785346985, 0.26496800780296326, 0.44738271832466125, 0.4442514181137085, -0.2075774222612381, 0.20410282909870148, 0.1454544961452484, -0.023520417511463165, 0.16105671226978302, 0.801789402961731, -0.6353049278259277, 0.5382642149925232, 0.6196361780166626, 1.059322476387024, 0.8947543501853943, 0.3288278877735138, 0.426777184009552, -0.3561042845249176, -0.08181791007518768, 0.5937068462371826, 0.1283111423254013, 0.2077411413192749, -0.6006723642349243, 0.7260439395904541, 0.28462502360343933, -0.6712071299552917, -0.7384617924690247, -0.060183264315128326, -0.6494678258895874, -0.38496366143226624, 0.6340614557266235, 0.25739333033561707, -0.18210512399673462, 0.06944301724433899, -0.16149325668811798, 0.018835950642824173, -0.5115271806716919, 0.8562222719192505, 0.3630606234073639, -0.8221103549003601, 0.15215322375297546, -0.5478957891464233, 0.5181984901428223, 0.6587263941764832, -1.0042444467544556, 0.12036895751953125, 0.8153486251831055, -0.15897734463214874, 0.2717445194721222, 0.5339351892471313, -0.08082996308803558, 0.14309318363666534, 0.24363094568252563, -0.14928573369979858, -0.23237860202789307, -0.2525741457939148, -0.09440469741821289, 0.48711955547332764, -0.18345429003238678, -0.7244911789894104 ]
http://arxiv.org/abs/2405.14660v1
http://arxiv.org/pdf/2405.14660v1
Implicit In-context Learning
2024-05-23T14:57:52
2024-05-23T14:57:52
Zhuowei Li, Zihao Xu, Ligong Han, Yunhe Gao, Song Wen, Di Liu, Hao Wang, Dimitris N. Metaxas
cs.LG
cs.LG, cs.AI, cs.CL
In-context Learning (ICL) empowers large language models (LLMs) to adapt to unseen tasks during inference by prefixing a few demonstration examples prior to test queries. Despite its versatility, ICL incurs substantial computational and memory overheads compared to zero-shot learning and is susceptible to the selection and order of demonstration examples. In this work, we introduce Implicit In-context Learning (I2CL), an innovative paradigm that addresses the challenges associated with traditional ICL by absorbing demonstration examples within the activation space. I2CL first generates a condensed vector representation, namely a context vector, from the demonstration examples. It then integrates the context vector during inference by injecting a linear combination of the context vector and query activations into the model's residual streams. Empirical evaluation on nine real-world tasks across three model architectures demonstrates that I2CL achieves few-shot performance with zero-shot cost and exhibits robustness against the variation of demonstration examples. Furthermore, I2CL facilitates a novel representation of "task-ids", enhancing task similarity detection and enabling effective transfer learning. We provide a comprehensive analysis of I2CL, offering deeper insights into its mechanisms and broader implications for ICL. The source code is available at: https://github.com/LzVv123456/I2CL.
[ -0.09561023861169815, -0.6173427104949951, 0.6220311522483826, 0.31497615575790405, -0.15398848056793213, 0.06871763616800308, -0.16338832676410675, -0.5543212294578552, -0.8425681591033936, 0.12210565060377121, -0.5668280124664307, -0.5341158509254456, -0.4608318507671356, -0.15035602450370789, -0.5526769161224365, 1.0228188037872314, -0.0753803700208664, 0.15781456232070923, -0.5805511474609375, -0.17280763387680054, -0.3004508316516876, -0.30236586928367615, -0.7081777453422546, -0.4316744804382324, 0.16529454290866852, 0.8223668336868286, -0.18534226715564728, 0.44081640243530273, -0.062479086220264435, 0.04914199188351631, 0.17771373689174652, 0.15557891130447388, -0.7344439029693604, 0.11497785151004791, -0.2623175382614136, -0.42502373456954956, 0.1738927811384201, -0.04455815255641937, 0.6641140580177307, 0.7193356156349182, 0.32168468832969666, 0.26135140657424927, 0.5274791717529297, 0.411044716835022, -0.8841779232025146, 0.36603978276252747, -0.8708450794219971, -0.16961272060871124, -0.015429960563778877, -0.013975802809000015, -0.5907912850379944, 0.08529482036828995, 0.3515922725200653, -0.48446983098983765, -0.03143860399723053, -0.00024596022558398545, 0.4227507412433624, 0.3381599187850952, -0.5572105646133423, -0.49043506383895874, -0.7349216938018799, 0.5934760570526123, -0.4238172471523285, 0.263911634683609, 0.16184955835342407, 0.2399994283914566, -0.09246930480003357, -0.8505669832229614, -0.5563929080963135, -0.2779116928577423, -0.2720996141433716, -0.003232075134292245, -0.18605148792266846, -0.11817333102226257, 0.32014381885528564, -0.29081401228904724, -0.5068743228912354, 0.2250988781452179, -0.38634032011032104, 0.19056032598018646, 0.16856977343559265, -0.024288568645715714, 0.21220964193344116, 0.21584725379943848, -0.8351481556892395, 0.08359022438526154, -1.1563360691070557, 0.3231711983680725, -0.13567060232162476, 0.33327600359916687, -0.274076908826828, 0.1246374174952507, -0.23639127612113953, 0.3758186101913452, 0.1828928291797638, -0.06558366864919662, -0.03118027001619339, -0.04622405022382736, -0.09460286051034927, 0.47090741991996765, 0.2891453802585602, -0.04289013519883156, -0.11728957295417786, -0.1796966791152954, 0.015768952667713165, -0.12438992410898209, 0.02959960699081421, -0.9627858400344849, 0.05241488665342331, 0.1435602754354477, 0.005165968555957079, 0.07958288490772247, 0.007582643069326878, -0.21695832908153534, -0.18432001769542694, -0.41072702407836914, 0.5411548018455505, -0.5631502866744995, -0.08293212205171585, -0.12770333886146545, 0.035905830562114716, 0.4045759439468384, 0.3755824863910675, -0.6592324376106262, 0.5690082907676697, 0.9606391191482544, 0.6790372133255005, -0.4563104808330536, -0.21524029970169067, -0.8226189017295837, 0.4653021991252899, -0.21036680042743683, 0.753981351852417, -0.38979578018188477, -0.3499072790145874, 0.14488178491592407, -0.11954033374786377, 0.045034363865852356, -0.5553860068321228, 0.21495525538921356, -0.46971288323402405, 0.03832414746284485, -0.11578822135925293, -0.6293743252754211, -0.34279999136924744, 0.32028505206108093, -0.1799485683441162, 1.2838867902755737, 0.08226758986711502, -0.40962085127830505, 0.42176884412765503, -0.7101936340332031, -0.451418936252594, 0.27998894453048706, -0.37905704975128174, -0.20213788747787476, 0.1267649531364441, -0.20202554762363434, 0.5412790775299072, -0.24207332730293274, 0.06537967920303345, -0.28605735301971436, -0.815161943435669, 0.0027067570481449366, -0.1270642876625061, 0.7112907767295837, 0.006591386161744595, -0.8521170616149902, 0.14992719888687134, -0.5566883683204651, -0.03191959112882614, -0.12183508276939392, -0.1828482449054718, -0.5038273334503174, -0.09761752188205719, -0.08494412899017334, 0.4670330584049225, -0.046320971101522446, -0.4272063970565796, 0.20212937891483307, -0.48503583669662476, 0.2643367350101471, 0.6735454797744751, -0.1898108273744583, 0.7668221592903137, 0.11145099252462387, 0.18843555450439453, 0.18843790888786316, 0.013393286615610123, -0.21926680207252502, -0.16490238904953003, -0.74464350938797, -0.3994962275028229, 0.09474945068359375, 0.47673341631889343, -0.7694621682167053, -0.11973831057548523, -0.36749064922332764, -0.1511271595954895, -0.19066521525382996, 0.23621398210525513, 0.7850397825241089, 0.8880285024642944, 0.32880595326423645, 0.14755213260650635, -0.2068195343017578, -0.8624579906463623, -0.2138320803642273, -0.2745424807071686, 0.068755604326725, 0.4516565501689911, 0.6547768712043762, -0.08568920195102692, 0.8839972615242004, -0.1365577131509781, -0.3451515734195709, -0.33841946721076965, 0.26801180839538574, -0.09277614951133728, 0.6403403282165527, 0.48287445306777954, -0.6949586868286133, -0.8604992628097534, -0.059939973056316376, -0.7526640892028809, -0.12248720228672028, -0.07422696053981781, -0.10930773615837097, 0.2705874443054199, 0.9716163277626038, -0.17200936377048492, 0.41708847880363464, 0.4042445123195648, -0.32995593547821045, 0.19451294839382172, -0.31098243594169617, -0.2872668504714966, -0.72369384765625, 0.017808228731155396, -0.08696642518043518, -0.28970569372177124, -0.5623454451560974, 0.03143690153956413, 0.5008261203765869, 0.12343963235616684, -0.9605674743652344, 1.022996425628662, -0.5118752121925354, -0.2788577675819397, -0.3613561689853668, 0.010698395781219006, -0.1279325932264328, 0.6389282941818237, -0.17155541479587555, 1.0251878499984741, 0.5552613139152527, -0.7128097414970398, -0.34152132272720337, 0.12705571949481964, -0.4029240906238556, 0.4389837384223938, -0.3330552577972412, 0.2986922562122345, -0.43660208582878113, 0.43906456232070923, -1.3031177520751953, -0.04393358528614044, 0.40712544322013855, -0.05357949808239937, 0.5059230923652649, -0.28419020771980286, -0.4887480139732361, 0.24314819276332855, -0.12392857670783997, 0.7123211026191711, 0.683849573135376, -0.9305304288864136, 0.4415794610977173, -0.0045767892152071, 0.12247838079929352, -0.6263633370399475, -0.5830540657043457, -0.04969969391822815, -0.20738720893859863, -0.14019709825515747, 0.6572085618972778, -0.21095328032970428, -0.32287314534187317, 0.21221138536930084, -0.10760042071342468, -0.08931014686822891, 0.2796894907951355, 0.5561647415161133, 0.05111012980341911, -0.11129263043403625, 0.3669189214706421, 0.4394921064376831, -0.18492010235786438, -0.1564093977212906, -0.5807791948318481, 0.24329911172389984, -0.20668405294418335, -0.5365727543830872, -0.4359756410121918, 0.5232799649238586, 0.47242647409439087, -0.006094915792346001, 0.4940054714679718, 0.37718549370765686, -0.36613932251930237, -0.6853736042976379, -0.3008827865123749, -0.276923805475235, -0.41522273421287537, 0.3488606810569763, -0.4695378839969635, -0.9550073146820068, 0.05503465607762337, -0.6596972346305847, 0.004619786981493235, 0.12633511424064636, 0.3921170234680176, -0.30578890442848206, 0.9715069532394409, 0.6796857714653015, 0.21895506978034973, 0.52921462059021, -0.4138035476207733, 0.08519119769334793, -1.0123629570007324, -0.36262914538383484, -0.22730323672294617, -0.27750957012176514, 0.021725445985794067, -0.592759370803833, 0.676672101020813, 0.33306586742401123, -0.47998297214508057, -0.043858837336301804, -0.11286082863807678, 0.6110365986824036, 0.507595956325531, 0.2273985594511032, 0.21435017883777618, 0.07308761775493622, -0.17663106322288513, 0.07224678248167038, -0.6152980327606201, -0.4404776692390442, 0.8952057957649231, 0.04988214001059532, 0.36621564626693726, 0.13931971788406372, 0.405959814786911, 0.41257208585739136, 0.5627962946891785, -0.7223225831985474, 0.5423066020011902, -0.16741162538528442, -0.4850205183029175, -0.034255802631378174, 0.21732282638549805, -0.6854375004768372, 0.3273433446884155, -0.13665257394313812, -0.69168621301651, 0.09007136523723602, 0.21579159796237946, -0.2911345958709717, 0.012899196706712246, -0.5201935768127441, 0.7084556221961975, -0.4384770691394806, -0.9430111646652222, -0.3361824154853821, -0.7120400071144104, 0.4395016133785248, 0.1677112728357315, 0.0888424962759018, -0.18122176826000214, -0.28595924377441406, 0.11604280024766922, -0.017759643495082855, 1.0256447792053223, -0.25233301520347595, 0.0810294896364212, 0.18385615944862366, 0.21360643208026886, 0.6797481775283813, 0.17784544825553894, -0.11683215200901031, 0.025041386485099792, -0.3320055902004242, -0.377401202917099, -0.6630373001098633, 0.913655161857605, -0.43909701704978943, -0.4797777533531189, -0.356914758682251, -0.562417209148407, -0.3647521734237671, 0.02942519634962082, 0.1183444932103157, 0.615510106086731, -0.14461903274059296, 0.2359674721956253, 0.8745677471160889, -0.11288321018218994, 0.5324547290802002, 0.6099905371665955, 0.06653401255607605, 0.15432369709014893, 0.6943948864936829, -0.030516143888235092, 0.3473900258541107, 0.39179015159606934, 0.03742646053433418, -0.39846888184547424, -0.6559796929359436, -0.5421813130378723, 0.15798278152942657, -1.0954375267028809, 0.040743518620729446, -0.7671315670013428, 0.03317948058247566, -0.06130458787083626, -0.28548818826675415, -0.20826104283332825, -0.12857812643051147, -0.5310524106025696, -0.10392308980226517, 0.05124356597661972, 0.6879170536994934, 0.14243559539318085, 0.2559218108654022, -0.26675379276275635, 0.08408316224813461, 0.41988590359687805, 0.23944884538650513, 0.10514312982559204, -0.4682825803756714, -0.12392057478427887, -0.12792974710464478, -0.07968470454216003, -0.49359363317489624, 0.17814791202545166, 0.4374766945838928, 0.5564157962799072, 0.3273247480392456, 0.0800432488322258, 0.7596544027328491, -0.6126077175140381, 0.7472694516181946, -0.07861530035734177, -1.0325459241867065, 0.2697405517101288, -0.04107891395688057, 0.33562010526657104, 0.6832258701324463, 0.6043066382408142, -0.2195354849100113, -0.17245672643184662, -0.45152077078819275, -0.9195318222045898, 0.780925989151001, -0.15263481438159943, 0.19924919307231903, 0.12789739668369293, 0.6401128768920898, 0.342215895652771, 0.028235210105776787, -0.6996209025382996, -0.2295055091381073, 0.14608296751976013, -0.3167407512664795, 0.09688106179237366, -0.4913954734802246, -0.08857652544975281, -0.42031750082969666, 0.7792534828186035, -0.5852348804473877, 0.12538394331932068, 0.2541375756263733, -0.6385163068771362, 0.24165137112140656, 0.08890249580144882, 0.7902308106422424, 0.648698091506958, 0.02329096570611, 0.4080348312854767, 0.4516051113605499, 0.13278941810131073, 0.20283283293247223, -0.14754228293895721, -0.2713681161403656, -0.19799256324768066, 0.30422133207321167, 0.9249869585037231, 0.7252723574638367, -0.9446255564689636, 0.7128722667694092, -0.0998615249991417, -0.16187366843223572, -0.5282744765281677, 0.03316928818821907, 0.01115601696074009, 0.5549929738044739, 0.4949551820755005, -0.11052387207746506, 0.39591875672340393, -0.7169077396392822, 0.3707103133201599, 0.5435532927513123, -0.9241750240325928, -0.3324531316757202, 0.7110183238983154, -0.008322326466441154, -0.042010191828012466, 0.5263564586639404, -0.32115480303764343, -0.4125971496105194, 0.45950454473495483, 0.9603337049484253, 0.9157114028930664, 0.2672322392463684, 0.0016856563743203878, 0.3409987688064575, -0.09052551537752151, -0.03099287860095501, 0.13018782436847687, -0.4963771104812622, -0.3474390506744385, -0.3134872019290924, -0.22614353895187378, -0.2853814363479614, -0.074099600315094, -0.29615524411201477, 0.3458804488182068, -0.49900469183921814, 0.45495209097862244, -0.4280071258544922, -0.306483656167984, -0.6092700362205505, -0.11171404272317886, 0.5027709603309631, 0.8339072465896606, -0.7131764888763428, 1.1970032453536987, 0.5507557392120361, -0.10230211913585663, -0.48922669887542725, 0.2198953628540039, 0.07670041173696518, -0.7178049087524414, 1.3008630275726318, 0.3520980477333069, -0.3479098677635193, 0.24700920283794403, -0.7807133197784424, -0.821234941482544, 1.2482346296310425, 0.6238337755203247, -0.22518260776996613, 0.11176607012748718, 0.09823581576347351, 0.32451334595680237, -0.688539445400238, 0.26026350259780884, 0.3490403890609741, 0.19904746115207672, 0.2187163531780243, -0.45433828234672546, 0.23895154893398285, -0.021929988637566566, -0.008534335531294346, -0.16350489854812622, -0.5196179151535034, 0.8330495357513428, -0.17955711483955383, -0.440433144569397, 0.02081518992781639, 0.6646689772605896, 0.4497467279434204, 0.4565192759037018, 0.5599419474601746, 0.1948849856853485, 0.4583033323287964, -0.09694576263427734, 1.2133831977844238, -0.21751326322555542, 0.017902083694934845, 1.3626960515975952, -0.46506521105766296, 0.8748816251754761, 0.5881407260894775, 0.27302438020706177, 0.6838961839675903, 0.3280016779899597, 0.4615704119205475, 0.7482089996337891, 0.19240421056747437, -0.6650072932243347, -0.20838060975074768, -0.4438675045967102, -0.0736645832657814, 0.4424729645252228, 0.6915434002876282, -0.16039685904979706, -0.4923882484436035, 0.2911989390850067, 0.08851955831050873, 0.05461878329515457, -0.20476111769676208, 0.962515115737915, 0.06164713203907013, -0.6410045027732849, 0.5235854983329773, -0.3510007858276367, 0.5580632090568542, -0.6170473098754883, -0.562042236328125, -0.10809721052646637, 0.32682424783706665, -0.018414385616779327, -0.45427143573760986, 0.09127936512231827, -0.1773945391178131, -0.1782756894826889, -0.49459531903266907, 0.6408449411392212, -0.5830318927764893, -0.16681811213493347, 0.5351284742355347, 0.315136581659317, -0.016840673983097076, -0.1246194988489151, -0.5865124464035034, 0.03137196600437164, -0.25397706031799316, 0.04089202359318733, 0.6774237155914307, 0.3192981779575348, -0.3428066372871399, 0.5913394689559937, 0.5413954257965088, -0.34718507528305054, 0.05985574051737785, -0.2867031395435333, 0.7615944743156433, -0.20406848192214966, -0.4241805374622345, -0.8769144415855408, 0.7664581537246704, 0.025760091841220856, -0.21320714056491852, 0.6568558812141418, 0.660852313041687, 1.1084418296813965, -0.10060933977365494, 0.8910436630249023, 0.10286630690097809, 0.3642365634441376, -0.4618193209171295, 0.4305066764354706, -0.7157092690467834, 0.2951233386993408, 0.1108323261141777, -0.47979408502578735, -0.35479217767715454, 0.2414190024137497, -0.2216784805059433, -0.5142728090286255, 0.6291724443435669, 0.5928884148597717, -0.33364948630332947, -0.41947469115257263, 0.2841874361038208, 0.17165058851242065, 0.46916070580482483, 0.5806962251663208, 0.8569357395172119, -0.4240014851093292, 0.4070349931716919, -0.331622451543808, -0.10662176460027695, -0.3607475757598877, -1.0531725883483887, -0.7242108583450317, -0.7744655013084412, -0.3517395257949829, -0.2174270898103714, 0.2216767966747284, 1.2786130905151367, 0.961157500743866, -0.6581624746322632, -0.40305137634277344, -0.18124334514141083, 0.16838349401950836, -0.34766000509262085, -0.19248464703559875, 0.4035331904888153, -0.5425727367401123, -0.929366409778595, 0.7316760420799255, 0.492194801568985, 0.012294196523725986, -0.057487744837999344, -0.12554597854614258, -0.29300418496131897, -0.17775225639343262, 0.9452938437461853, 0.4287258982658386, -0.8069716095924377, -0.2990988790988922, -0.2978834807872772, -0.2564884126186371, -0.05110364779829979, 0.8441093564033508, -1.1556991338729858, 0.3976503312587738, 0.38386261463165283, 0.8647061586380005, 0.7925117611885071, -0.0941571593284607, 0.3930410146713257, -0.9424612522125244, 0.5886503458023071, 0.1734352558851242, 0.08291886746883392, 0.05511661618947983, -0.4027332067489624, 0.5005663633346558, 0.11579162627458572, -0.054511383175849915, -0.9074215292930603, 0.22835493087768555, -0.8326718807220459, -0.6474183797836304, 1.2674119472503662, -0.18072688579559326, -0.22829794883728027, -0.1599421501159668, -0.229179248213768, 0.1326165795326233, -0.3407629728317261, 0.5339513421058655, 0.23931413888931274, -0.3615275025367737, -0.08669981360435486, -0.7390613555908203, 0.6694822907447815, 0.3648519814014435, -0.6660836338996887, -0.08531468361616135, 0.3424789309501648, 0.37927713990211487, -0.3114628195762634, 0.432891845703125, 0.04308269917964935, 0.1824183166027069, -0.40678563714027405, -0.07131323218345642, -0.2078281044960022, -0.4762045443058014, -0.5085718035697937, 0.3769010603427887, 0.053634896874427795, -0.03813144937157631 ]
http://arxiv.org/abs/2405.14654v1
http://arxiv.org/pdf/2405.14654v1
Efficient Medical Question Answering with Knowledge-Augmented Question Generation
2024-05-23T14:53:52
2024-05-23T14:53:52
Julien Khlaut, Corentin Dancette, Elodie Ferreres, Alaedine Bennani, Paul Hérent, Pierre Manceron
cs.CL
cs.CL, cs.AI
In the expanding field of language model applications, medical knowledge representation remains a significant challenge due to the specialized nature of the domain. Large language models, such as GPT-4, obtain reasonable scores on medical question answering tasks, but smaller models are far behind. In this work, we introduce a method to improve the proficiency of a small language model in the medical domain by employing a two-fold approach. We first fine-tune the model on a corpus of medical textbooks. Then, we use GPT-4 to generate questions similar to the downstream task, prompted with textbook knowledge, and use them to fine-tune the model. Additionally, we introduce ECN-QA, a novel medical question answering dataset containing ``progressive questions'' composed of related sequential questions. We show the benefits of our training strategy on this dataset. The study's findings highlight the potential of small language models in the medical domain when appropriately fine-tuned. The code and weights are available at https://github.com/raidium-med/MQG.
[ -0.31855371594429016, -1.008298635482788, 0.8990827798843384, -0.5716736912727356, -0.22329911589622498, -0.025709034875035286, -0.10692230612039566, -0.43180474638938904, 0.0718262642621994, 0.5120508670806885, -0.4978010952472687, -0.3834337890148163, -0.424277663230896, 0.20361587405204773, -0.0038051786832511425, 1.0044851303100586, 0.03425251692533493, 0.5145679116249084, -0.3735330402851105, -0.26795223355293274, -0.41537728905677795, -0.48194950819015503, -0.9936938881874084, -0.31097841262817383, 0.6072064638137817, 0.46080684661865234, 0.5700353384017944, 0.6380941271781921, 0.4554375410079956, 0.15964266657829285, -0.025247450917959213, 0.29635295271873474, -0.1942051500082016, 0.15083514153957367, -0.0905088484287262, -0.5837175846099854, -0.4297557771205902, -0.24988704919815063, 0.5381659269332886, 0.969143271446228, -0.16199418902397156, 0.10385347902774811, -0.16602247953414917, 0.6768555045127869, -0.0999390184879303, -0.061213310807943344, -0.38976600766181946, -0.2621971368789673, -0.0598180890083313, -0.17198200523853302, -0.14770333468914032, -0.3387010395526886, 0.2289114147424698, -0.660232663154602, 0.3571436107158661, 0.004966077394783497, 0.7666603326797485, 0.25962910056114197, -0.501738965511322, -0.4249158501625061, -0.6148951053619385, 0.4513498842716217, -0.7464451789855957, 0.3599781095981598, 0.4377409815788269, 0.30627137422561646, 0.1930251568555832, -0.9560664892196655, -0.5684121251106262, -0.124502032995224, 0.021590430289506912, 0.15588316321372986, 0.11590689420700073, 0.13384824991226196, 0.29972541332244873, 0.41662395000457764, -0.7460330724716187, -0.02646362967789173, -0.4974258244037628, 0.04035286232829094, 0.29412180185317993, 0.2412734031677246, 0.5619920492172241, -0.04430398344993591, -0.11228779703378677, 0.1336030811071396, -0.8718513250350952, -0.06090959161520004, 0.07840986549854279, -0.01122103538364172, 0.2642565667629242, 0.6945621371269226, -0.20463760197162628, 0.9511066675186157, 0.1593211442232132, -0.0663328617811203, 0.1921878457069397, -0.482476145029068, -0.03398056700825691, -0.3371730446815491, 0.32311946153640747, 0.37471044063568115, 0.05345100536942482, 0.05960315465927124, -0.11188995838165283, -0.05621444433927536, 0.3878522217273712, -0.8247420787811279, -0.4889303147792816, 0.504420280456543, -0.29536348581314087, -0.21460621058940887, -0.31405341625213623, -0.5817694067955017, -0.2956904172897339, -0.2984769940376282, 0.5055153965950012, -0.5771669149398804, -0.1854434758424759, 0.21377910673618317, 0.04234444350004196, 0.2079148292541504, 0.3828217387199402, -0.8823431730270386, 0.31527289748191833, 0.5699297785758972, 0.4801414906978607, 0.17498132586479187, 0.18820682168006897, -0.5520457029342651, 0.05878674238920212, -0.3575277030467987, 0.8567810654640198, -0.5383742451667786, -0.2867720425128937, -0.022105654701590538, -0.032032910734415054, -0.10844322293996811, -0.7590712904930115, 0.32272621989250183, -0.7623956799507141, 0.391112357378006, -0.29577356576919556, -0.904812753200531, -0.10821615159511566, 0.5293737649917603, -0.46400028467178345, 0.7867917418479919, 0.2689726948738098, -0.7284220457077026, 0.08512663096189499, -0.5809497833251953, -0.3329640030860901, 0.17872311174869537, -0.31478771567344666, -0.394488126039505, 0.030959295108914375, 0.5452799797058105, 0.19534730911254883, -0.23094742000102997, 0.013430535793304443, -0.002367687178775668, 0.11354558169841766, 0.16271346807479858, -0.15511159598827362, 0.32971346378326416, 0.05961144343018532, 0.1158519983291626, -0.156581312417984, -0.6846978664398193, 0.26967287063598633, 0.06394805014133453, -0.365112841129303, -0.5306690335273743, -0.20826415717601776, -0.47344353795051575, 0.15012137591838837, 0.3671259880065918, -0.5847947001457214, 0.42500802874565125, -0.7227134108543396, 0.3221191167831421, 0.21739564836025238, 0.5921790599822998, 0.4630069136619568, -0.5767420530319214, 0.75474613904953, 0.027696508914232254, 0.21082884073257446, -0.08498682081699371, -0.8596109747886658, -0.5608845949172974, -0.07701003551483154, 0.6145777106285095, 0.551205039024353, -1.3586353063583374, -0.14128407835960388, -0.16943593323230743, -0.4252401888370514, -0.7239462733268738, 0.07252746820449829, 0.2722000181674957, 0.9086486101150513, 0.5974140167236328, -0.1208127811551094, -0.2396104335784912, -0.690617561340332, -0.3035712242126465, -0.3118548095226288, -0.23769664764404297, 0.5944063663482666, 0.3824225962162018, -0.2342812865972519, 0.6052103042602539, -0.7980559468269348, -0.05298493057489395, -0.1902167946100235, 0.20199429988861084, 0.05915255472064018, 0.447927862405777, 0.3468910753726959, -0.9017998576164246, -0.505752444267273, 0.026928013190627098, -0.525485634803772, -0.08643030375242233, -0.005901317577809095, -0.11432819813489914, -0.06435076892375946, 0.5082647204399109, -0.5003209114074707, -0.030143361538648605, 0.5236297845840454, -0.3451599180698395, 0.4824945628643036, -0.4457497298717499, 0.33075255155563354, -1.1843239068984985, 0.09730547666549683, -0.2917149066925049, -0.378238707780838, -1.0016343593597412, 0.22339382767677307, 0.3273824155330658, -0.18680113554000854, -0.4247027635574341, 0.660601019859314, -0.33006542921066284, 0.4475393295288086, -0.3553897440433502, 0.14926905930042267, 0.13526879251003265, 0.38600581884384155, -0.018243657425045967, 0.6367669701576233, 0.31546515226364136, -0.5326499342918396, 0.1626824587583542, 0.38241997361183167, -0.09864410012960434, 0.49998289346694946, -0.7201017141342163, 0.41396480798721313, -0.1811068058013916, -0.1729428768157959, -0.7877241373062134, -0.4391595125198364, 0.04191311076283455, -0.5061389803886414, 0.5933116674423218, -0.2991638779640198, -0.4880927503108978, -0.5407587885856628, -0.12716388702392578, 0.6856439709663391, 0.7149330377578735, -0.31380072236061096, 0.43999576568603516, 0.3600890338420868, -0.6247410178184509, -0.2925504446029663, -0.4576551020145416, -0.30279016494750977, 0.07680640369653702, -0.6520065665245056, 0.22906871140003204, -0.13751955330371857, -0.0035216889809817076, -0.021130068227648735, -0.10621852427721024, -0.2651613652706146, -0.19714437425136566, -0.2250901609659195, 0.11641909182071686, -0.31352874636650085, 0.5375750064849854, 0.4609850347042084, 0.05865940824151039, -0.056576333940029144, -0.48093119263648987, 0.44923877716064453, 0.0129149304702878, -0.26002031564712524, -0.06944269686937332, 0.46533629298210144, 0.38314157724380493, -0.28446221351623535, 0.5482923984527588, 0.2108800709247589, -0.615315318107605, 0.05799908563494682, -0.46029746532440186, -0.5635213255882263, -0.40131253004074097, 0.46691858768463135, -0.35161304473876953, -1.0052999258041382, 0.4223691523075104, -0.14830483496189117, 0.04734969139099121, 0.5404266715049744, 0.942257821559906, -0.2487742155790329, 1.1708639860153198, 0.5332474708557129, 0.4379483461380005, 0.15972210466861725, -0.09215400367975235, -0.12448105216026306, -0.8086035847663879, -0.08821388334035873, -0.27609583735466003, -0.000017079439203371294, -0.3065374195575714, -0.5625222325325012, 0.8235993385314941, 0.12041784077882767, -0.12793773412704468, -0.04026143252849579, -0.46678081154823303, 0.30757418274879456, 0.49050235748291016, 0.5278816819190979, 0.438001811504364, -0.2549646496772766, -0.20046977698802948, 0.1613335758447647, -0.9869886636734009, -0.4243842363357544, 1.3313432931900024, 0.3757404088973999, 0.5542661547660828, 0.03713047131896019, 0.6767418384552002, -0.13786627352237701, 0.4889049232006073, -0.5871583819389343, 0.21282021701335907, -0.17879074811935425, -0.7754746079444885, -0.4306381046772003, -0.5830599069595337, -0.9418880343437195, 0.02432275004684925, -0.1221599131822586, -0.22909018397331238, 0.07748990505933762, 0.3822483420372009, -0.8895432949066162, 0.11819368600845337, -0.7569848895072937, 0.8653901219367981, -0.12245859950780869, -0.10153147578239441, 0.06475615501403809, -0.7034425139427185, 0.2647037208080292, -0.24378187954425812, 0.2039288729429245, 0.11853091418743134, -0.2462807297706604, 0.7325296998023987, -0.6898508667945862, 0.6225916147232056, -0.3296375572681427, -0.11803264170885086, 0.4957934021949768, -0.11318986862897873, 0.4569030702114105, 0.39127981662750244, 0.12358095496892929, -0.17772597074508667, 0.3732045590877533, -0.5676575899124146, -0.7598863840103149, 0.44037601351737976, -0.619500458240509, -0.6070874333381653, -0.17392513155937195, -0.5952849388122559, -0.6260390281677246, 0.2410089522600174, 0.29364633560180664, 0.6405202746391296, -0.06302428990602493, -0.1361054629087448, 0.7892637252807617, -0.38708600401878357, -0.11670824140310287, 0.5119474530220032, -0.16919809579849243, -0.46190714836120605, 0.5498244762420654, 0.271369069814682, 0.516020655632019, 0.43221744894981384, 0.20787999033927917, -0.4869060814380646, -0.5450494289398193, -0.7763911485671997, 0.4757959246635437, -0.6557245254516602, -0.30408552289009094, -0.7913706302642822, -0.21803788840770721, -0.36099210381507874, 0.20502974092960358, -0.19153693318367004, -0.5118890404701233, -0.21960148215293884, 0.06294676661491394, 0.47507768869400024, 0.6666263341903687, 0.2717030346393585, 0.08269114047288895, -0.9618305563926697, 0.5358680486679077, 0.713655948638916, 0.31658244132995605, -0.3667190968990326, -0.6271912455558777, -0.3384556770324707, 0.17957888543605804, -0.1733410656452179, -0.9510409235954285, 0.1870575100183487, 0.23917415738105774, 0.28393468260765076, 0.08245454728603363, 0.041009869426488876, 0.31605803966522217, -0.9455254673957825, 0.7704573273658752, 0.1008206233382225, -0.36335471272468567, 0.6222401261329651, -0.45826372504234314, 0.3842748701572418, 0.6429451107978821, 0.4027249217033386, -0.36639246344566345, -0.584819495677948, -0.7525102496147156, -0.6891192197799683, 0.1582092046737671, 0.15128177404403687, 0.16550546884536743, -0.14958272874355316, 0.6943174004554749, 0.14363117516040802, 0.2521262466907501, -0.27547091245651245, -0.1400751769542694, -0.03308923542499542, -0.5183650851249695, 0.08392488956451416, -0.2842796742916107, -0.3047902286052704, -0.34359869360923767, 0.6388179659843445, -0.38142937421798706, 0.29456502199172974, 0.39365965127944946, -0.060860637575387955, -0.010966718196868896, 0.31150543689727783, 0.5843365788459778, 0.5987645387649536, -0.01077183149755001, 0.0641956552863121, 0.2844700217247009, -0.7780476808547974, 0.14990156888961792, 0.22321061789989471, -0.3049132227897644, -0.04204470291733742, 0.018198352307081223, 0.30337512493133545, -0.12592363357543945, -0.6740939021110535, 0.557377815246582, -0.13886293768882751, -0.29228320717811584, -0.08077201247215271, -0.020005930215120316, 0.24454046785831451, 0.20276068150997162, 0.16191250085830688, 0.035884395241737366, 0.1632964164018631, -0.35376420617103577, 0.4276603162288666, 0.16982519626617432, -0.24057766795158386, -0.17869038879871368, 0.8165324926376343, 0.19057528674602509, -0.091091088950634, 0.5219418406486511, -0.10552983731031418, -0.41927483677864075, 0.5655898451805115, 0.41903021931648254, 0.33353281021118164, -0.2146274745464325, 0.1478542536497116, 0.40786537528038025, 0.2104462832212448, -0.17882344126701355, 0.770419716835022, 0.2960001528263092, -0.687075138092041, -0.5768974423408508, -0.42810770869255066, -0.6282712817192078, 0.06046081334352493, -0.5323843955993652, 0.13328930735588074, -0.30074602365493774, -0.25729548931121826, 0.01345911342650652, -0.001156048383563757, -0.7502214908599854, 0.4568937420845032, -0.036760322749614716, 0.7953782081604004, -0.4358995854854584, 1.0221977233886719, 1.0065982341766357, -0.5465561747550964, -0.9108349680900574, 0.06192178279161453, -0.47016170620918274, -0.6998888254165649, 0.1955854296684265, -0.1422034651041031, 0.3682542145252228, 0.34100255370140076, -0.39870649576187134, -0.5577629208564758, 0.9751574397087097, 0.15936610102653503, -0.5842186808586121, -0.17390227317810059, 0.11079426854848862, 0.7693065404891968, -0.292864590883255, 0.047076430171728134, 0.5320878028869629, 0.19467930495738983, -0.21835902333259583, -0.7559624314308167, 0.06915577501058578, -0.2629419267177582, -0.19196248054504395, 0.17719285190105438, -0.3000994026660919, 0.815584123134613, -0.4805409908294678, -0.003172355704009533, 0.4165417551994324, 0.4167279899120331, 0.36269134283065796, 0.3468680679798126, 0.44241392612457275, 0.48529672622680664, 1.0508662462234497, -0.15986785292625427, 1.278748631477356, -0.5724051594734192, 0.42370983958244324, 0.856704831123352, -0.008395715616643429, 0.7846495509147644, 0.44954511523246765, -0.0030985400080680847, 0.4616676867008209, 0.652265191078186, 0.20308087766170502, 0.49635833501815796, 0.06759941577911377, -0.4401320219039917, -0.3096272945404053, 0.22103062272071838, -0.4554443061351776, 0.012586821801960468, 0.38778620958328247, -0.3785276412963867, -0.008113237097859383, 0.33303022384643555, -0.09804999083280563, 0.051090266555547714, -0.5427328944206238, 1.0088133811950684, 0.2636357545852661, -0.6546075344085693, 0.6436924934387207, -0.07833810150623322, 0.19465455412864685, -0.450363427400589, -0.10923561453819275, -0.2721599042415619, 0.016009895130991936, 0.0849166139960289, -0.6012945175170898, 0.10072281211614609, -0.04025426134467125, -0.33897966146469116, 0.13276544213294983, 0.7502476572990417, -0.8351568579673767, -0.6197202205657959, -0.2963015139102936, 0.9365858435630798, 0.08083110302686691, -0.11154565960168839, -0.6034246683120728, -0.5715793371200562, -0.16475076973438263, -0.19879962503910065, 0.17905621230602264, 0.6712124943733215, 0.0016081645153462887, 0.6242104768753052, 0.5741792917251587, 0.2453819364309311, 0.024210764095187187, 0.21269914507865906, 0.9560126662254333, -0.49811220169067383, -0.4919252395629883, -0.5098955631256104, 0.4574529230594635, 0.03736529126763344, -0.2208215296268463, 0.3651182949542999, 0.41967254877090454, 0.5517359972000122, -0.3168259263038635, 0.6974876523017883, 0.07375966012477875, 1.0688014030456543, -0.6403687000274658, 0.8042455911636353, -0.7104614973068237, 0.2899188697338104, -0.036030419170856476, -0.4261617660522461, -0.4805692732334137, 0.18826180696487427, -0.41051265597343445, 0.21182763576507568, 0.8265724778175354, 0.8296549916267395, 0.059632256627082825, -0.04165450483560562, 0.5278722047805786, 0.3094731867313385, 0.17597515881061554, 0.6347319483757019, 0.6558176875114441, -0.5233928561210632, 0.4787044823169708, -0.266056627035141, -0.28998544812202454, -0.01830831728875637, -0.31377169489860535, -0.8307684063911438, -0.44408151507377625, -0.40382081270217896, -0.5132158994674683, 0.17907267808914185, 0.7361772060394287, 0.536302924156189, -0.7303355932235718, 0.47361546754837036, -0.05236584693193436, -0.08180542290210724, -0.3270505368709564, -0.13172756135463715, 0.5898873209953308, -0.4470270872116089, -0.5964475870132446, 0.21939225494861603, 0.0346694216132164, 0.12023595720529556, 0.02070860005915165, 0.05147618427872658, -0.03430310636758804, 0.17439348995685577, 0.5446099638938904, 0.32603639364242554, -0.3019745647907257, -0.4187995195388794, 0.32967114448547363, -0.18701624870300293, 0.13049399852752686, 0.9114127159118652, -0.7456878423690796, 0.5230862498283386, 0.34396249055862427, 0.9205838441848755, 0.39589208364486694, 0.2760296165943146, 0.5979650616645813, -0.8421944379806519, -0.3221127986907959, 0.5640669465065002, 0.26362118124961853, 0.419156551361084, -0.48398226499557495, 0.40658122301101685, 0.2556569576263428, -0.7362201809883118, -0.5379170775413513, 0.26035723090171814, -0.8167614340782166, -0.3407677412033081, 1.2836428880691528, -0.05473503842949867, -0.02405843883752823, -0.40532952547073364, -0.38724735379219055, 0.22514581680297852, 0.014947968535125256, 0.6765620112419128, 0.4839032292366028, -0.37701350450515747, -0.23242215812206268, -0.8437116742134094, 0.7301905751228333, 0.5316089987754822, -0.9444856643676758, -0.2121923267841339, 0.30706721544265747, 0.5883625745773315, -0.07959533482789993, 0.9117494225502014, -0.40296268463134766, 0.5783767104148865, -0.10844728350639343, -0.004519741050899029, 0.03413312882184982, -0.13398593664169312, -0.2824530601501465, 0.27417895197868347, 0.26572152972221375, -0.1885836273431778 ]
http://arxiv.org/abs/2405.14646v1
http://arxiv.org/pdf/2405.14646v1
Unveiling the Achilles' Heel of NLG Evaluators: A Unified Adversarial Framework Driven by Large Language Models
2024-05-23T14:48:15
2024-05-23T14:48:15
Yiming Chen, Chen Zhang, Danqing Luo, Luis Fernando D'Haro, Robby T. Tan, Haizhou Li
cs.CL
cs.CL
The automatic evaluation of natural language generation (NLG) systems presents a long-lasting challenge. Recent studies have highlighted various neural metrics that align well with human evaluations. Yet, the robustness of these evaluators against adversarial perturbations remains largely under-explored due to the unique challenges in obtaining adversarial data for different NLG evaluation tasks. To address the problem, we introduce AdvEval, a novel black-box adversarial framework against NLG evaluators. AdvEval is specially tailored to generate data that yield strong disagreements between human and victim evaluators. Specifically, inspired by the recent success of large language models (LLMs) in text generation and evaluation, we adopt strong LLMs as both the data generator and gold evaluator. Adversarial data are automatically optimized with feedback from the gold and victim evaluator. We conduct experiments on 12 victim evaluators and 11 NLG datasets, spanning tasks including dialogue, summarization, and question evaluation. The results show that AdvEval can lead to significant performance degradation of various victim metrics, thereby validating its efficacy.
[ -0.4107152223587036, -0.9949743747711182, 0.26949286460876465, -0.1393623799085617, -0.09654970467090607, 0.13601572811603546, -0.21757489442825317, -0.24484065175056458, -0.27049916982650757, 0.5095357298851013, -0.3634619414806366, -0.33504775166511536, -0.6492282152175903, 0.16584111750125885, -0.47283604741096497, 1.4298006296157837, 0.22176216542720795, -0.10938692092895508, -0.1836114227771759, -0.36563175916671753, -0.5177547931671143, -0.5997068285942078, -0.9277870059013367, -0.5340884327888489, 0.322990357875824, -0.15190556645393372, 1.0322898626327515, 0.3615283668041229, 0.3816325068473816, 0.31541797518730164, -0.118376225233078, 0.27611425518989563, -0.5011523365974426, 0.3285902142524719, -0.018038040027022362, -0.4251039922237396, -0.33938807249069214, 0.0374470129609108, 0.29697707295417786, 0.35344234108924866, -0.20872274041175842, 0.019508397206664085, 0.02264392375946045, 0.6884374618530273, -0.7735448479652405, -0.3129221498966217, -0.991269588470459, 0.12067127227783203, -0.06006377562880516, -0.19851627945899963, -0.3965523838996887, -0.5563756227493286, 0.15275467932224274, -0.3649486005306244, 0.472201406955719, -0.2326633334159851, 0.765807032585144, 0.6099029779434204, -0.26038670539855957, -0.5192738175392151, -0.6913845539093018, 0.5608828067779541, -0.5765594840049744, -0.1989838182926178, 0.09643737971782684, 0.33692601323127747, -0.3697834312915802, -0.3858630955219269, -0.4538964629173279, -0.4161338210105896, 0.05016303434967995, 0.05658593401312828, -0.7611803412437439, -0.06753914058208466, 0.021793890744447708, 0.3881851136684418, -0.8857319355010986, 0.12796922028064728, -0.280836284160614, -0.1158350259065628, 0.7359216213226318, 0.25732913613319397, 0.31142109632492065, -0.29885372519493103, -0.5574000477790833, -0.2842939794063568, -0.6783038377761841, 0.028865033760666847, 0.7384502291679382, 0.297528475522995, 0.47218650579452515, 0.25022801756858826, 0.2927357852458954, 0.8200273513793945, 0.012170747853815556, 0.1460014432668686, 0.03160804510116577, -0.053499795496463776, -0.32628437876701355, 0.30240628123283386, 1.2744531631469727, 0.2633206248283386, 0.2572506368160248, -0.2846914529800415, -0.36068496108055115, 0.6174908876419067, 1.0234986543655396, -0.5439977645874023, -0.3959087133407593, 0.18389752507209778, 0.01569967344403267, -0.9799848794937134, -0.0724790021777153, -0.9196852445602417, -0.7604926228523254, 0.15538865327835083, 0.5256879925727844, -0.3367730975151062, 0.021192966029047966, 0.1361543834209442, -0.007958780974149704, -0.03961028531193733, 0.1347380429506302, -0.4531673789024353, 0.40348687767982483, 0.6692032814025879, 0.4077405035495758, -0.1288948804140091, -0.23861302435398102, -0.8733344674110413, -0.36484581232070923, -0.5232647657394409, 0.794734537601471, -0.31358468532562256, -0.23538519442081451, 0.00543466629460454, -0.22330811619758606, 0.12085725367069244, -0.6414494514465332, 0.8783106207847595, -0.4306734502315521, 0.3007656931877136, 0.1406773328781128, -0.05570710822939873, -0.1399947702884674, 0.32917627692222595, -0.6836090087890625, 1.0084811449050903, -0.050717778503894806, -0.8281402587890625, 0.3929869532585144, -0.6040207743644714, -0.5624118447303772, 0.23352715373039246, -0.22707639634609222, -0.7365387082099915, 0.18294158577919006, 0.3940974771976471, 0.38790184259414673, -0.7223047018051147, 0.40667226910591125, -0.30829086899757385, -0.38743922114372253, 0.2582074999809265, -0.9342816472053528, 0.9169458150863647, 0.14527931809425354, -0.4395088255405426, 0.020942168310284615, -0.9665459394454956, -0.07026521116495132, 0.4665672183036804, -0.4018922746181488, -0.44751060009002686, -0.17199943959712982, -0.1800418496131897, 0.012528175488114357, -0.17687185108661652, -0.539088249206543, 0.1740095317363739, -0.6316604018211365, 0.20406724512577057, 0.9247626662254333, 0.004655906930565834, 0.11673904955387115, -0.1720924973487854, 0.9073343873023987, -0.4092700481414795, -0.07523929327726364, -0.1286739557981491, -0.22801384329795837, -0.5339756608009338, 0.09730582684278488, 0.40286919474601746, 0.4597765803337097, -0.9333854913711548, 0.5063661336898804, -0.20307189226150513, -0.6537710428237915, -0.794887125492096, 0.3008982539176941, 0.7649534344673157, 0.38166266679763794, 0.18024596571922302, -0.07437563687562943, -0.41539743542671204, -0.7555547952651978, -0.286790132522583, -0.47249120473861694, -0.1691194623708725, 0.27589625120162964, 0.4777062237262726, -0.20287972688674927, 0.7942706942558289, -0.3342459797859192, -0.06899812817573547, -0.23815949261188507, 0.3871275782585144, -0.1552518904209137, 0.10641269385814667, 0.6412448287010193, -0.7257474064826965, 0.0033093190286308527, -0.12642787396907806, -0.7962218523025513, -0.21420428156852722, -0.25660794973373413, -0.040545910596847534, 0.1583426594734192, 0.06713201105594635, -0.3539274334907532, 0.3261833190917969, 0.7255228757858276, -0.569807767868042, 0.8311989307403564, -0.08947871625423431, 0.0014333565486595035, -0.7989336252212524, 0.13581326603889465, 0.023385480046272278, -0.09983420372009277, -0.5901361107826233, 0.1013278067111969, -0.11739815771579742, -0.21961432695388794, -0.4190079867839813, 0.5441021919250488, 0.004144652746617794, 0.263525128364563, -0.19071103632450104, 0.4014788269996643, 0.27119889855384827, 0.3335250914096832, -0.36383867263793945, 0.5869864821434021, 0.3693045973777771, -0.6965168118476868, 0.9614887237548828, 0.33638420701026917, -0.22769486904144287, 0.6705633401870728, -0.9544876217842102, 0.29267069697380066, -0.06059303507208824, 0.1830436736345291, -0.9246123433113098, 0.03523597866296768, 0.12879762053489685, -0.6993072628974915, 0.40085533261299133, -0.2053980678319931, -0.3559333384037018, -0.5307736992835999, -0.44391930103302, 0.17051410675048828, 0.18664699792861938, -0.7448958158493042, 0.3063293993473053, 0.3326762616634369, -0.15651240944862366, -0.8925259113311768, -0.821766197681427, 0.5367071628570557, -0.5073705911636353, -0.6575608849525452, -0.03556767851114273, -0.0034819492138922215, -0.3373749554157257, 0.028641359880566597, 0.10302359610795975, 0.19822806119918823, 0.38763704895973206, 0.11857198178768158, 0.180056631565094, -0.17971527576446533, 0.20713700354099274, -0.36646994948387146, -0.2591187059879303, 0.3292194604873657, -0.2284241020679474, 0.28906747698783875, -0.3823024332523346, -0.3942796587944031, 0.20730842649936676, 0.055921707302331924, 0.646216630935669, -0.3702319264411926, 0.5159287452697754, 0.7165393233299255, -0.2624240517616272, -0.47212138772010803, -0.47601091861724854, 0.11823048442602158, -0.4219883978366852, 0.5280774831771851, -0.23558148741722107, -0.5142607092857361, 0.2622748017311096, 0.21267220377922058, 0.16634328663349152, 0.41664162278175354, 0.5331103205680847, 0.43913114070892334, 1.108447790145874, 0.15334682166576385, -0.1576654613018036, -0.052746329456567764, -0.3038528263568878, 0.1359814703464508, -0.8117615580558777, 0.08705426007509232, -0.3507221043109894, -0.23172539472579956, -0.28110432624816895, -0.0054391310550272465, 0.3424797058105469, 0.1759166121482849, -0.06030949950218201, 0.4479496479034424, -0.694203794002533, 0.2519274353981018, 0.18723855912685394, -0.1308160424232483, 0.11187924444675446, -0.013383876532316208, -0.28623053431510925, -0.05200255662202835, -0.8868339657783508, -0.7542288303375244, 1.1851747035980225, 0.4108670949935913, 0.8212896585464478, 0.10033464431762695, 0.4962829351425171, 0.45611587166786194, 0.3982143998146057, -0.7923720479011536, 0.404604434967041, -0.2882789075374603, -0.3868696689605713, -0.24316547811031342, -0.6364088654518127, -1.1969395875930786, 0.5434969067573547, -0.21188320219516754, -0.5747715830802917, 0.03806935250759125, 0.13311995565891266, -0.6428809762001038, 0.39416441321372986, -0.5939009785652161, 1.014460563659668, -0.3781242370605469, -0.33572855591773987, 0.23493634164333344, -0.2598307430744171, 0.5000579953193665, -0.2495054453611374, 0.14738261699676514, 0.16045495867729187, 0.23781181871891022, 0.7597251534461975, -0.44703149795532227, 0.6021841168403625, -0.22238567471504211, -0.29850900173187256, 0.5060633420944214, 0.4673541784286499, 0.6773689389228821, 0.05575874075293541, -0.21329277753829956, -0.19368278980255127, -0.5579427480697632, -0.23276717960834503, -0.7458416819572449, 0.7264345288276672, -0.45173966884613037, -0.4247080087661743, -0.4631062150001526, -0.18032577633857727, -0.2860792577266693, -0.2005016952753067, 0.46991828083992004, 0.598602294921875, -0.6221383810043335, 0.45468592643737793, 0.5305020213127136, -0.43901050090789795, 0.43797367811203003, 0.3509175479412079, 0.19140644371509552, -0.6200039386749268, 1.0101597309112549, -0.3088970184326172, 0.2301200032234192, -0.2655662000179291, 0.28213199973106384, -0.241644024848938, -0.5403969287872314, -0.7898679375648499, -0.13524451851844788, -0.5455261468887329, -0.44680604338645935, -0.59831702709198, -0.22531834244728088, -0.15688155591487885, -0.23868893086910248, -0.6174156069755554, -0.139384925365448, -0.020029164850711823, -0.13944999873638153, 0.24868382513523102, 1.0458858013153076, 0.18519549071788788, -0.012281997129321098, -0.6625776886940002, 0.27000996470451355, 0.6184746026992798, 0.07639186829328537, 0.02444806508719921, -0.5690433979034424, -0.12400548160076141, 0.039935994893312454, -0.5008926391601562, -0.7060564756393433, 0.38706737756729126, 0.024563513696193695, 0.44546249508857727, 0.36554327607154846, 0.3327553868293762, 0.4714156687259674, -0.38580945134162903, 0.940781831741333, 0.2832386791706085, -0.6416788697242737, 0.5682867169380188, -0.2922547161579132, 0.21590754389762878, 0.5283576846122742, 0.01717827469110489, -0.36925163865089417, -0.6691927313804626, -0.950476348400116, -1.0574532747268677, 0.6226648092269897, 0.46587517857551575, -0.0806780457496643, 0.019885875284671783, 0.13661815226078033, 0.06250923126935959, 0.22915761172771454, -0.714850127696991, -0.2909224033355713, -0.19054242968559265, -0.05924588441848755, -0.23049183189868927, -0.1311522275209427, -0.3913196325302124, 0.29115501046180725, 0.486600786447525, -0.1323825716972351, -0.12560904026031494, 0.10603872686624527, -0.11923234909772873, -0.25050902366638184, 0.4441964328289032, 0.2970755994319916, 0.47749629616737366, 0.05107573792338371, 0.09335628151893616, 0.23131506145000458, -0.2625603973865509, 0.3852914571762085, 0.32315704226493835, -0.2692404091358185, -0.013074507005512714, 0.6502280831336975, 0.9356412291526794, 0.10772477835416794, -0.7263343930244446, 0.820637583732605, -0.49511945247650146, -0.37153303623199463, -0.2867816388607025, 0.10338795185089111, -0.28748854994773865, 0.02841254323720932, 0.5000429749488831, 0.2818172872066498, 0.011384828016161919, -0.2675289809703827, 0.38248464465141296, 0.5666984915733337, -0.5536947250366211, -0.20212510228157043, 0.7272642850875854, 0.22794854640960693, -0.38852250576019287, 0.1359885334968567, -0.4067680537700653, -0.7805413007736206, 0.5885667204856873, 0.3454132378101349, 1.1197044849395752, -0.32787299156188965, 0.3178602457046509, 0.1169898509979248, 0.372036337852478, 0.060138292610645294, -0.20383967459201813, 0.1840304732322693, -0.489170640707016, -0.26863712072372437, -0.8328232765197754, -0.17955408990383148, 0.6095849871635437, -0.7560610175132751, 0.052160777151584625, -0.3171054720878601, -0.1242133229970932, 0.08500973135232925, 0.009500074200332165, -0.6255584955215454, 0.369632363319397, 0.17499852180480957, 0.3067975640296936, -0.7832068800926208, 0.2835318148136139, 0.8016116619110107, -0.10043186694383621, -0.33618611097335815, 0.13963919878005981, 0.21100515127182007, -0.6035915017127991, 0.4935010075569153, -0.0954134464263916, -0.318203866481781, -0.4577156901359558, -0.16238653659820557, -0.3364270329475403, 0.6884081959724426, 0.554438591003418, -0.21010443568229675, 0.025051355361938477, -0.14800067245960236, 0.8617327809333801, -0.2492109090089798, 0.168237566947937, 0.652968168258667, 0.40209007263183594, -0.0033735528122633696, -0.7632995843887329, 0.14625152945518494, -0.5072924494743347, -0.0757715031504631, 0.23640625178813934, -0.5319982767105103, 0.5360217094421387, -0.13684432208538055, -0.1856076419353485, -0.12979818880558014, 0.21853449940681458, 0.12711983919143677, -0.04060665890574455, 0.7068203687667847, 0.6704344153404236, 0.6292800903320312, -0.12173119932413101, 1.2868973016738892, -0.07180537283420563, 0.08515731990337372, 0.9998324513435364, 0.07551518082618713, 0.5409501194953918, -0.08499635010957718, -0.2201610952615738, 0.17602351307868958, 0.18523086607456207, -0.2971535921096802, 0.16552959382534027, 0.45770880579948425, -0.11974462121725082, -0.09178965538740158, 0.08708056807518005, -0.1300346553325653, 0.7512013912200928, 0.2280784696340561, -0.25127482414245605, -0.26142117381095886, 0.04953812062740326, 0.12129512429237366, 0.3540925085544586, -0.06316672265529633, 0.8710644841194153, -0.11201170086860657, -0.7674343585968018, 1.1740270853042603, -0.038294170051813126, 0.5579444766044617, -0.6349380612373352, 0.02487945556640625, 0.20386408269405365, 0.42660897970199585, -0.10011104494333267, -0.5411523580551147, 0.2873348295688629, 0.42832517623901367, 0.28200140595436096, -0.03651653602719307, 0.7444692850112915, -0.30743011832237244, -0.4036909341812134, 0.5523393750190735, 0.13966546952724457, -0.09361463785171509, -0.29842960834503174, -0.8316266536712646, -0.04235725477337837, 0.12165727466344833, -0.6254549026489258, 0.30778440833091736, 0.47049978375434875, 0.264249712228775, 0.6241689920425415, 0.6707477569580078, 0.4879666566848755, -0.131047785282135, 0.08462585508823395, 0.8798829913139343, -0.516312837600708, -0.27718397974967957, -1.0777745246887207, 0.518172562122345, 0.01976664364337921, -0.5676649212837219, 0.6984098553657532, 0.3913995921611786, 0.6195544004440308, 0.4332180619239807, 0.9929448962211609, 0.21436965465545654, 0.42551153898239136, -0.33628442883491516, 0.855801522731781, -0.5976414084434509, 0.29632338881492615, -0.47114866971969604, -0.7098180055618286, -0.16420878469944, 0.470020055770874, -0.12142335623502731, -0.06931731849908829, 0.5723580121994019, 0.5840404033660889, 0.21306383609771729, -0.04707111790776253, 0.40520185232162476, 0.2049548178911209, 0.6449391841888428, 0.745062530040741, 0.7666124701499939, -0.7007248997688293, 1.2488389015197754, 0.025234052911400795, -0.22701746225357056, -0.15982989966869354, -0.7104495763778687, -1.0568921566009521, -0.20483259856700897, -0.21759432554244995, -0.5685437321662903, 0.2932938039302826, 0.7151553630828857, 0.3966349959373474, -0.7319377064704895, 0.07649226486682892, -0.06291741132736206, -0.08992169052362442, -0.007645744364708662, -0.25273987650871277, 0.46955448389053345, -0.2684813141822815, -0.6003158092498779, 0.742800772190094, 0.1693127304315567, -0.09072275459766388, -0.6780142784118652, -0.1572907567024231, 0.1438007354736328, 0.09136988967657089, 0.2899594306945801, 0.22299443185329437, -0.8110645413398743, -0.12945450842380524, -0.5594714879989624, -0.26557496190071106, -0.14497850835323334, 0.8941230773925781, -0.9078530669212341, 0.7314803004264832, 0.13841581344604492, 1.0838940143585205, -0.04627104848623276, 0.22823113203048706, 1.0502538681030273, -0.9619086384773254, 0.04527433589100838, 0.5728484392166138, 0.19067083299160004, 0.47313377261161804, -0.5329462289810181, 0.4729013442993164, 0.013582727871835232, -0.5148427486419678, -1.1091982126235962, 0.07248196750879288, -0.212111696600914, -0.3639105558395386, 1.1624335050582886, -0.2695733308792114, -0.19623206555843353, -0.0016611083410680294, -0.12664927542209625, 0.025508007034659386, -0.4078293740749359, 0.938422679901123, 0.7844363451004028, 0.13364417850971222, 0.3190615773200989, -0.541957437992096, 0.7583935260772705, 0.4595205783843994, -0.5550165176391602, 0.420962929725647, 0.348574161529541, -0.11763068288564682, 0.3598400950431824, 0.1813514232635498, -0.12168005108833313, 0.3366791009902954, 0.3075108230113983, 0.014977632090449333, -0.31927546858787537, -0.37206095457077026, -0.7497548460960388, 0.39361295104026794, -0.1787898987531662, -0.01609872467815876 ]
http://arxiv.org/abs/2405.14622v3
http://arxiv.org/pdf/2405.14622v3
Calibrated Self-Rewarding Vision Language Models
2024-05-23T14:30:33
2024-05-31T16:37:53
Yiyang Zhou, Zhiyuan Fan, Dongjie Cheng, Sihan Yang, Zhaorun Chen, Chenhang Cui, Xiyao Wang, Yun Li, Linjun Zhang, Huaxiu Yao
cs.LG
cs.LG, cs.CL, cs.CV
Large Vision-Language Models (LVLMs) have made substantial progress by integrating pre-trained large language models (LLMs) and vision models through instruction tuning. Despite these advancements, LVLMs often exhibit the hallucination phenomenon, where generated text responses appear linguistically plausible but contradict the input image, indicating a misalignment between image and text pairs. This misalignment arises because the model tends to prioritize textual information over visual input, even when both the language model and visual representations are of high quality. Existing methods leverage additional models or human annotations to curate preference data and enhance modality alignment through preference optimization. These approaches may not effectively reflect the target LVLM's preferences, making the curated preferences easily distinguishable. Our work addresses these challenges by proposing the Calibrated Self-Rewarding (CSR) approach, which enables the model to self-improve by iteratively generating candidate responses, evaluating the reward for each response, and curating preference data for fine-tuning. In the reward modeling, we employ a step-wise strategy and incorporate visual constraints into the self-rewarding process to place greater emphasis on visual input. Empirical results demonstrate that CSR enhances performance and reduces hallucinations across ten benchmarks and tasks, achieving substantial improvements over existing methods by 7.62%. Our empirical results are further supported by rigorous theoretical analysis, under mild assumptions, verifying the effectiveness of introducing visual constraints into the self-rewarding paradigm. Additionally, CSR shows compatibility with different vision-language models and the ability to incrementally improve performance through iterative fine-tuning. Our data and code are available at https://github.com/YiyangZhou/CSR.
[ -0.20101793110370636, -0.31521177291870117, 0.5621068477630615, 0.1555822491645813, -0.2804253101348877, -0.22433142364025116, -0.34612447023391724, -0.39200785756111145, 0.35998204350471497, 0.8246207237243652, -0.5014967918395996, -0.23106878995895386, -0.4439009130001068, 0.06635602563619614, -0.063031405210495, 0.8877255916595459, 0.09430897235870361, 0.3135937452316284, -0.2851674258708954, -0.0902492105960846, -0.8453656435012817, -0.6694215536117554, -0.28959065675735474, -0.35987284779548645, 0.7707303762435913, 0.2886684834957123, 0.5777140259742737, 0.9399492740631104, 0.6758018136024475, 0.27509498596191406, 0.19600437581539154, 0.20042316615581512, -0.6506536602973938, 0.10208341479301453, -0.31916406750679016, -0.1914844661951065, -0.09390642493963242, -0.13537898659706116, 0.12423597276210785, 0.2632175087928772, -0.3151201009750366, 0.13990984857082367, 0.3323221206665039, 0.960598349571228, -0.915730893611908, 0.12974901497364044, -0.6125677824020386, 0.1563752144575119, -0.008197315968573093, -0.6970921158790588, -0.342655211687088, -0.31641027331352234, 0.12244066596031189, -0.5282653570175171, 0.16045987606048584, 0.014435476623475552, 0.6643517017364502, 0.7126692533493042, -0.06908930093050003, -0.3041064739227295, -0.5538090467453003, 0.7766989469528198, -0.601397693157196, 0.5036282539367676, 0.5304732322692871, 0.2819408178329468, 0.14299459755420685, -0.3755321204662323, -0.3441801369190216, -0.27903804183006287, -0.1549379825592041, 0.1671496033668518, 0.21174132823944092, -0.06477511674165726, 0.11786962300539017, 0.38452574610710144, -0.6629379987716675, 0.1239781305193901, -0.4462912678718567, -0.21009229123592377, 0.6092304587364197, 0.3668249845504761, 0.037883732467889786, -0.2723081409931183, -0.35813191533088684, -0.5606010556221008, -0.4307538866996765, 0.350739985704422, 0.2595801055431366, 0.45627763867378235, 0.10290461033582687, 0.7296711206436157, -0.41220852732658386, 0.9519473314285278, 0.3443179726600647, -0.0811321958899498, 0.39095133543014526, -0.25729238986968994, -0.2820075452327728, 0.16404977440834045, 0.5891355276107788, 0.7090418934822083, 0.2905672788619995, -0.10636541992425919, -0.43497079610824585, 0.3078780770301819, 0.5103501081466675, -0.8012679219245911, -0.4328663945198059, 0.09999348223209381, -0.5581412315368652, -0.6311672925949097, -0.13723701238632202, -0.707118570804596, -0.6699488759040833, -0.6150664687156677, 0.6912832260131836, -0.27608567476272583, -0.10173734277486801, 0.37481072545051575, 0.01403078343719244, 0.3043974041938782, 0.4628225564956665, -1.2218245267868042, -0.08627969026565552, 0.45774680376052856, 0.6523127555847168, -0.6101169586181641, -0.2855067849159241, -0.639083981513977, 0.03627672791481018, -0.3036338984966278, 0.7349340319633484, -0.4649936854839325, -0.2847265899181366, 0.03593803197145462, 0.05337841436266899, 0.12759147584438324, -0.684733510017395, 0.3581189513206482, -0.35440143942832947, 0.15303419530391693, -0.5412015318870544, -0.3372407853603363, -0.043264154344797134, 0.3672819137573242, -0.6321471929550171, 0.9107828140258789, -0.005669767502695322, -0.5795438885688782, 0.4462752044200897, -0.40756353735923767, -0.1415637582540512, 0.33646178245544434, -0.5845205783843994, -0.2250680774450302, 0.2765507698059082, 0.33681225776672363, 0.4803902208805084, -0.0024078486021608114, 0.31061357259750366, -0.16037866473197937, -0.4596783518791199, 0.1375100165605545, -0.3205941617488861, 0.44913414120674133, 0.26933255791664124, -0.5223010778427124, 0.37503325939178467, -0.6357542872428894, 0.1237252801656723, 0.18205446004867554, -0.10668608546257019, -0.36714741587638855, 0.185601606965065, 0.10092785954475403, 0.22508788108825684, 0.4157981872558594, -0.30658212304115295, 0.19688859581947327, -0.5227460861206055, 0.18949386477470398, 1.0573011636734009, -0.4024806320667267, 0.45240870118141174, -0.24153460562229156, 0.3225114941596985, 0.02792341262102127, 0.2778623104095459, -0.16912733018398285, 0.034549590200185776, -0.9107298851013184, -0.1835130751132965, -0.07668779790401459, 0.5733417868614197, -0.7945545315742493, 0.490116149187088, -0.19501623511314392, -0.31768736243247986, -0.53861004114151, 0.19930453598499298, 0.33449769020080566, 0.5100248456001282, 0.5422016382217407, -0.4059400260448456, -0.3614540100097656, -1.0122828483581543, -0.07419123500585556, 0.013557656668126583, 0.11687847971916199, 0.4298148453235626, 0.2772909700870514, -0.11641980707645416, 0.7451011538505554, -0.5298120975494385, -0.8223227858543396, 0.03290454298257828, -0.03451380506157875, 0.04444501921534538, 0.5101284980773926, 0.3030482530593872, -0.6986479759216309, -0.32807430624961853, 0.08356600254774094, -0.7769652009010315, -0.058736227452754974, -0.0777561217546463, 0.1098746508359909, 0.37474676966667175, 0.36378607153892517, 0.02468240261077881, 0.7263578176498413, 0.594495415687561, -0.337424099445343, 0.5779721140861511, -0.34098705649375916, 0.4211445748806, -0.6847753524780273, -0.06289009004831314, -0.03218599781394005, -0.2953220009803772, -0.3969706594944, 0.015004709362983704, 0.1762901097536087, 0.17506788671016693, -0.3751244843006134, 0.4645707309246063, -0.3326590359210968, 0.12647680938243866, -0.6380983591079712, -0.0694349855184555, -0.09189161658287048, 0.5823206901550293, 0.4473726451396942, 0.7464643716812134, 0.5200057625770569, -0.5670204758644104, 0.3868602514266968, 0.16862241923809052, -0.44068455696105957, 0.5903923511505127, -0.6831199526786804, 0.023295078426599503, -0.2326638400554657, -0.1354956477880478, -0.8771213293075562, -0.23375970125198364, 0.29923245310783386, -0.2822646200656891, 0.11421746015548706, 0.22214317321777344, -0.2234514206647873, -0.27238181233406067, -0.301128625869751, 0.7195909023284912, 0.28623437881469727, -0.8912356495857239, 0.6180515885353088, 0.1671019047498703, 0.27466002106666565, -0.7030665874481201, -0.7433533668518066, 0.13545309007167816, -0.18549193441867828, -0.37598344683647156, 0.46855878829956055, -0.3390216529369354, 0.15821866691112518, -0.15601688623428345, -0.010848402976989746, 0.3498954176902771, -0.26028409600257874, 0.3459407091140747, 0.3769384026527405, -0.05085025355219841, 0.10790467262268066, -0.3452925980091095, -0.18032728135585785, -0.0955449640750885, -0.14566858112812042, 0.7259503602981567, -0.28693687915802, -0.3751555383205414, -0.492008239030838, 0.12216845154762268, 0.2715584933757782, -0.42935073375701904, 0.47182533144950867, 0.5357677340507507, -0.2106407880783081, -0.04846440255641937, -0.9820394515991211, -0.49516382813453674, -0.5552401542663574, 0.3060767352581024, -0.5252618789672852, -1.0317327976226807, 0.21839609742164612, 0.27286022901535034, -0.15130895376205444, 0.19647882878780365, 0.7746344208717346, 0.000978462165221572, 1.1205146312713623, 0.7147367596626282, 0.042916253209114075, 0.5860310196876526, -0.06855413317680359, 0.2269604504108429, -0.7714359164237976, -0.45893892645835876, -0.25276851654052734, -0.2748100459575653, -0.4585230052471161, -0.38931605219841003, 0.2576022744178772, -0.22485043108463287, -0.16401340067386627, 0.22461074590682983, -1.186416745185852, 0.599373996257782, 0.624280571937561, 0.23462730646133423, 0.1487616002559662, 0.20184507966041565, -0.09810999780893326, -0.4130105972290039, -0.4869161546230316, -0.3772662878036499, 0.7834610939025879, 0.11932644993066788, 1.2235740423202515, -0.23643758893013, 0.7438374757766724, 0.305611252784729, 0.02718876302242279, -0.7183352708816528, 0.5037750005722046, -0.22644813358783722, -0.2794824540615082, -0.4707399904727936, -0.33062228560447693, -0.744083821773529, 0.24366271495819092, -0.3292399048805237, -1.0335198640823364, 0.4827623963356018, 0.48475950956344604, -0.401081919670105, 0.02310592494904995, -0.4164235591888428, 1.105698823928833, -0.7084019780158997, -0.6902846097946167, -0.20909371972084045, -0.61165851354599, 0.2262302041053772, -0.020661914721131325, -0.08947193622589111, 0.03614949807524681, 0.2878314256668091, 0.42761728167533875, -0.12718011438846588, 0.7550408840179443, 0.04031543433666229, -0.13641169667243958, -0.193204864859581, 0.25124332308769226, 0.5374845266342163, -0.1490020602941513, -0.10105133801698685, 0.1432693600654602, 0.23411692678928375, -0.17836590111255646, -0.6540551781654358, 0.8721932172775269, -0.6739596128463745, -0.7183600664138794, -0.6684597730636597, -0.6927686333656311, 0.053867027163505554, 0.05070292204618454, 0.3786827623844147, 0.33875054121017456, -0.00855050329118967, 0.251789391040802, 0.5811300277709961, -0.37143924832344055, 0.3276106119155884, 0.30887386202812195, -0.5855614542961121, -0.617117702960968, 1.1395546197891235, -0.04557301849126816, 0.28436627984046936, 0.2792067229747772, 0.1838829070329666, -0.4660953879356384, -0.21425174176692963, -0.3792084753513336, 0.17697188258171082, -0.7383394837379456, -0.13075563311576843, -0.45837467908859253, -0.28880903124809265, -0.5186284184455872, -0.4651632308959961, -0.5497113466262817, -0.13929547369480133, -0.4018400013446808, 0.18254391849040985, 0.12006470561027527, 0.5508042573928833, -0.1703081578016281, 0.1642650067806244, -0.29365667700767517, 0.3356095254421234, 0.4329633414745331, 0.5047245621681213, 0.08236318081617355, -0.5799601674079895, -0.35320115089416504, 0.030875300988554955, -0.2977871298789978, -0.6887041926383972, 0.713856041431427, -0.1853341907262802, 0.44395390152931213, 0.4229482412338257, 0.027916913852095604, 1.0634664297103882, -0.421474426984787, 0.7969024777412415, 0.5052977204322815, -0.765018880367279, 0.6896884441375732, -0.04101322218775749, 0.3672228157520294, 0.7655534744262695, -0.06216813623905182, -0.4295543134212494, -0.16335150599479675, -0.06467738747596741, -0.6809356808662415, 0.5341160297393799, 0.05913654714822769, 0.177533358335495, 0.09526374936103821, 0.40777525305747986, 0.023833829909563065, 0.056765127927064896, -1.2372980117797852, -0.20619356632232666, -0.7010931968688965, -0.302433043718338, -0.24392810463905334, -0.23566995561122894, -0.19957047700881958, -0.4665290415287018, 0.6545970439910889, -0.32775571942329407, 0.07647751271724701, 0.4034007787704468, -0.10415291786193848, -0.19147491455078125, 0.03317561000585556, 0.68668133020401, 0.6230834722518921, -0.22494933009147644, 0.2865942120552063, 0.010028383694589138, -0.18850700557231903, 0.15379159152507782, -0.13326133787631989, -0.250883549451828, -0.32777002453804016, -0.1869710087776184, 0.9228641390800476, -0.04725147783756256, -0.6746701598167419, 0.6629981398582458, -0.15827001631259918, -0.1903465837240219, -0.3116939961910248, 0.25375035405158997, -0.19158796966075897, 0.27268916368484497, 0.29908332228660583, -0.11159967631101608, 0.3735424876213074, -0.279420405626297, 0.0027966960333287716, 0.7705864906311035, -0.7219634056091309, 0.048140496015548706, 0.8077207803726196, -0.09261810034513474, -0.3869386613368988, 0.42159196734428406, -0.04724879935383797, -0.48253315687179565, 0.3532995581626892, 0.6851785182952881, 0.8467104434967041, -0.2508084177970886, 0.3059031069278717, 0.5397682785987854, 0.39851996302604675, -0.26954707503318787, 0.13498403131961823, -0.1649208813905716, -0.7203357815742493, -0.25848254561424255, -0.7141381502151489, -0.16655674576759338, 0.2570461630821228, -0.6155956387519836, 0.4281657040119171, -0.10331311821937561, -0.11316488683223724, -0.07634269446134567, -0.33918464183807373, -0.7340700030326843, 0.3833359181880951, 0.24682343006134033, 0.4769119918346405, -0.6493614912033081, 0.8069425225257874, 0.4318358302116394, -0.45872583985328674, -0.7662205696105957, -0.15571455657482147, -0.17218643426895142, -0.9139305353164673, 0.8266096115112305, 0.4604821801185608, -0.42627260088920593, -0.0385623462498188, -0.6046285033226013, -0.843279242515564, 1.0332509279251099, 0.21124126017093658, -0.7539150714874268, 0.029265528544783592, 0.41118407249450684, 0.48723408579826355, -0.5476340651512146, 0.020093005150556564, 0.2703932821750641, 0.29379868507385254, 0.30210843682289124, -0.8006040453910828, 0.12038496136665344, -0.1865968406200409, 0.34862786531448364, 0.1092328131198883, -0.5169756412506104, 0.40810325741767883, -0.2745315432548523, -0.03283876180648804, 0.07654464989900589, 0.6210216879844666, 0.48644962906837463, 0.3624245822429657, 0.6753796339035034, 0.48928117752075195, 0.46326419711112976, 0.01706312783062458, 0.7017338871955872, -0.49140262603759766, 0.329345703125, 1.1921051740646362, -0.3083069920539856, 0.8508785963058472, 0.8829683065414429, 0.30301377177238464, 0.3929557800292969, 0.6032986640930176, -0.21744920313358307, 0.884604275226593, 0.22542807459831238, 0.05910108983516693, -0.6210905313491821, -0.25622987747192383, -0.4871727228164673, 0.6143456697463989, 0.018785515800118446, -0.47012075781822205, 0.07418250292539597, 0.17079800367355347, -0.6337722539901733, 0.18548370897769928, -0.26878246665000916, 0.6593737006187439, -0.013941613957285881, -0.947437584400177, 0.6096624135971069, -0.2077852338552475, 0.8082719445228577, -0.4874117076396942, -0.09055926650762558, -0.048219747841358185, 0.25641751289367676, -0.24416010081768036, -0.6932045817375183, 0.06658923625946045, -0.13092590868473053, -0.17419347167015076, -0.34826064109802246, 0.743886411190033, -0.516475260257721, -0.6237450838088989, 0.2853430509567261, 0.28961312770843506, 0.07552357017993927, -0.11114796251058578, -0.5615890026092529, 0.24811889231204987, 0.1063595861196518, -0.22085313498973846, 0.30176854133605957, 0.10992050170898438, 0.07751525193452835, 0.6807074546813965, 0.5851656198501587, 0.09589608013629913, -0.11797115951776505, 0.23604226112365723, 0.7175508141517639, -0.8001424074172974, -0.6425660848617554, -1.0074665546417236, 0.4867161512374878, -0.026018835604190826, -0.180352583527565, 0.5838450789451599, 0.6934079527854919, 0.852618396282196, -0.32916685938835144, 0.32508385181427, 0.2388496696949005, 0.14176636934280396, -0.5108397006988525, 0.5675724744796753, -0.9581915140151978, 0.26501235365867615, -0.34172889590263367, -0.911511242389679, -0.3852352201938629, 1.0142993927001953, -0.3124629855155945, 0.059197258204221725, 0.5158215165138245, 1.1055476665496826, 0.07288455963134766, -0.3002716898918152, 0.6425608396530151, -0.14840534329414368, 0.06467707455158234, 0.5756134986877441, 0.9072797298431396, -0.16525331139564514, 0.4009428024291992, -0.526677668094635, -0.2502920925617218, -0.35300877690315247, -0.9601350426673889, -0.8236106634140015, -0.7884753942489624, -0.33323580026626587, -0.48030540347099304, 0.07714678347110748, 0.9375157952308655, 0.8067888021469116, -0.7222453951835632, -0.4894058108329773, -0.061676956713199615, -0.2104477882385254, -0.19378460943698883, -0.23412324488162994, 0.28315359354019165, -0.4380549490451813, -0.4600975811481476, 0.1427975594997406, 0.6343795657157898, 0.13097630441188812, -0.5679052472114563, -0.3878818452358246, 0.2255670726299286, 0.1090996265411377, 0.6637171506881714, 0.1428561955690384, -1.2041006088256836, -0.5021471381187439, 0.43814119696617126, -0.37303391098976135, 0.3112192749977112, 0.6233071088790894, -0.9922529458999634, 0.8043039441108704, 0.28948017954826355, 0.5641795992851257, 0.6865798830986023, 0.02921091578900814, 0.35578832030296326, -0.2670029103755951, -0.06214291229844093, 0.08614479005336761, 0.23913009464740753, 0.5278300046920776, -0.614648163318634, 0.6168016791343689, -0.039481110870838165, -0.7960315346717834, -0.8564353585243225, 0.21457810699939728, -1.3783750534057617, -0.1994500607252121, 1.1377006769180298, 0.43915826082229614, -0.21216852962970734, 0.3445923924446106, -0.5412765145301819, 0.08044249564409256, -0.11393512040376663, 1.3982676267623901, 0.7014443278312683, -0.09543244540691376, -0.31893470883369446, -0.30009421706199646, 0.6014754176139832, 0.765185534954071, -0.7010502815246582, 0.17151258885860443, 0.7026351690292358, 0.18533968925476074, 0.1063239574432373, 0.6685346961021423, -0.1035352572798729, 0.468532532453537, -0.5385456085205078, 0.37201040983200073, 0.01031132135540247, -0.3654407858848572, -0.6114537119865417, 0.08115475624799728, 0.05104732885956764, -0.17634905874729156 ]
http://arxiv.org/abs/2405.14604v1
http://arxiv.org/pdf/2405.14604v1
A Watermark for Low-entropy and Unbiased Generation in Large Language Models
2024-05-23T14:17:29
2024-05-23T14:17:29
Minjia Mao, Dongjun Wei, Zeyu Chen, Xiao Fang, Michael Chau
cs.CL
cs.CL
Recent advancements in large language models (LLMs) have highlighted the risk of misuse, raising concerns about accurately detecting LLM-generated content. A viable solution for the detection problem is to inject imperceptible identifiers into LLMs, known as watermarks. Previous work demonstrates that unbiased watermarks ensure unforgeability and preserve text quality by maintaining the expectation of the LLM output probability distribution. However, previous unbiased watermarking methods are impractical for local deployment because they rely on accesses to white-box LLMs and input prompts during detection. Moreover, these methods fail to provide statistical guarantees for the type II error of watermark detection. This study proposes the Sampling One Then Accepting (STA-1) method, an unbiased watermark that does not require access to LLMs nor prompts during detection and has statistical guarantees for the type II error. Moreover, we propose a novel tradeoff between watermark strength and text quality in unbiased watermarks. We show that in low-entropy scenarios, unbiased watermarks face a tradeoff between watermark strength and the risk of unsatisfactory outputs. Experimental results on low-entropy and high-entropy datasets demonstrate that STA-1 achieves text quality and watermark strength comparable to existing unbiased watermarks, with a low risk of unsatisfactory outputs. Implementation codes for this study are available online.
[ -0.07471273839473724, -0.5717902183532715, 0.5898465514183044, 0.23179036378860474, -0.8018961548805237, 0.07001867145299911, -0.18409180641174316, -0.3291165232658386, 0.2585398554801941, 0.5537346005439758, -0.16374966502189636, -0.43521368503570557, -0.8774888515472412, -0.16646727919578552, -0.46472927927970886, 0.7067476511001587, -0.14009594917297363, -0.0437711738049984, -0.37434181571006775, -0.18914854526519775, -0.0047965156845748425, -0.604389488697052, -0.6525607705116272, -0.4280562996864319, 0.2861851155757904, 0.328116774559021, 0.6358904242515564, 0.6784936189651489, 0.49601924419403076, 0.15189029276371002, -0.14353196322917938, 0.3175337612628937, -0.32465171813964844, 0.2353789210319519, -0.0895424336194992, -0.37653928995132446, -0.09669346362352371, -0.02726391889154911, 0.6913655996322632, 0.32139793038368225, 0.037572551518678665, 0.3572368323802948, 0.2827056050300598, 0.558283269405365, -0.8248984217643738, -0.001703329966403544, -0.7906663417816162, -0.00672901002690196, -0.6528857350349426, -0.4430319666862488, -0.515674889087677, -0.3850732743740082, -0.25096482038497925, -0.30510830879211426, -0.11874596774578094, 0.161706805229187, 0.9874331951141357, 0.3791533410549164, -0.1588905155658722, -0.19724948704242706, -0.6953691840171814, 0.909132719039917, -1.0951253175735474, -0.024758178740739822, 0.6377679705619812, 0.019973719492554665, -0.3931145966053009, -0.42572927474975586, -0.6568203568458557, 0.12485167384147644, 0.3032352328300476, 0.11879188567399979, -0.44281136989593506, -0.3397502601146698, -0.043097782880067825, 0.2816094756126404, -0.2811168134212494, 0.23434020578861237, -0.11138235032558441, -0.10001576691865921, 0.56573086977005, -0.062227435410022736, 0.2113237828016281, 0.17680928111076355, -0.41766074299812317, -0.2618587911128998, -0.9677565693855286, 0.10363124310970306, 0.7105869054794312, 0.4137813448905945, -0.19347137212753296, 0.5200701951980591, -0.026877962052822113, 0.37469255924224854, -0.172084242105484, -0.17014257609844208, 0.06995387375354767, -0.1197323352098465, -0.16208843886852264, 0.05310223996639252, 1.0363707542419434, 0.036321815103292465, 0.4127826988697052, -0.035631630569696426, -0.4322301745414734, -0.14297044277191162, -0.06907143443822861, -0.7437952160835266, -0.02701311744749546, 0.0556703545153141, -0.48904138803482056, -0.44198930263519287, 0.15793433785438538, -0.8450303673744202, -0.4837416410446167, 0.003430992364883423, 0.538587212562561, -0.16345034539699554, -0.28744053840637207, 0.06891044229269028, -0.275476336479187, -0.30048438906669617, 0.11300691962242126, -0.7016005516052246, 0.032708194106817245, 0.27184370160102844, 0.6842955946922302, -0.4508066773414612, -0.055248506367206573, -0.4667971730232239, 0.19280865788459778, -0.46266236901283264, 1.010616421699524, -0.7153325080871582, -0.16292314231395721, 0.15954986214637756, -0.3228875398635864, 0.4102766811847687, -0.702813446521759, 0.2713070809841156, -0.6259998679161072, -0.0232837051153183, -0.10322681814432144, -0.7242870926856995, 0.089719258248806, -0.2170872539281845, -0.6317728757858276, 1.1221288442611694, 0.23386327922344208, -0.9245852828025818, 0.563866376876831, -0.2649136483669281, -0.4666425585746765, -0.009175396524369717, -0.11565878242254257, -0.65708327293396, 0.2465142160654068, 0.0010593878105282784, 0.22643983364105225, -0.332337349653244, 0.1927109956741333, -0.573092520236969, -0.29518646001815796, 0.4527483880519867, -0.8005236387252808, 0.47691580653190613, 0.0654725432395935, -0.35476061701774597, -0.09050901234149933, -0.8128718733787537, 0.38310936093330383, 0.3514116704463959, -0.6588443517684937, -0.6623018383979797, 0.07001877576112747, 0.06136362999677658, -0.07797873020172119, 0.45661237835884094, -0.46181580424308777, -0.022390227764844894, -0.04706577956676483, 0.19016827642917633, 0.8894146084785461, 0.18430407345294952, 0.3478444814682007, -0.2554219365119934, 0.4563051462173462, 0.3982029855251312, 0.012811240740120411, 0.17037126421928406, -0.5826500654220581, -0.6666496992111206, -0.5625887513160706, 0.4650903046131134, 0.4581771492958069, -1.0389342308044434, 0.5531899929046631, -0.2020019143819809, -0.6051346063613892, -0.480406790971756, 0.55643230676651, 0.5460384488105774, 0.05722818896174431, 0.31297653913497925, -0.21783162653446198, -0.3823471665382385, -0.932629406452179, -0.4585684835910797, -0.2001233994960785, -0.25276467204093933, 0.07891982793807983, 0.3602369725704193, -0.05372016876935959, 0.9986115097999573, -0.38254159688949585, -0.1873428374528885, -0.23159348964691162, 0.45913758873939514, 0.2025696188211441, 0.5432472229003906, 0.32387804985046387, -0.4203402101993561, -0.36816492676734924, -0.2853965759277344, -0.6451054811477661, -0.3737615644931793, 0.06923770159482956, -0.11159049719572067, 0.18793722987174988, 0.2588197886943817, -0.3502717614173889, 0.5999107956886292, 0.7477494478225708, -0.36519280076026917, 0.133154034614563, -0.37296828627586365, 0.12996892631053925, -1.0179972648620605, -0.04788580909371376, 0.11329308897256851, -0.1321655809879303, -0.5414988398551941, -0.16304688155651093, 0.06961394101381302, 0.16051152348518372, -0.37017664313316345, 0.7348806858062744, -0.16182708740234375, 0.06313273310661316, -0.5254396796226501, -0.1423041969537735, 0.05614978075027466, 0.2444884479045868, -0.00007883306534495205, 0.8557658195495605, 0.2946033775806427, -0.4844565987586975, -0.037798456847667694, -0.03513434901833534, -0.5606445670127869, 0.4409911334514618, -0.6869176626205444, 0.24066612124443054, -0.3908501863479614, 0.005247519351541996, -0.9390740394592285, 0.08186311274766922, 0.20313216745853424, -0.260149210691452, 0.43231523036956787, -0.12868377566337585, -0.8288170099258423, 0.02345210313796997, -0.33261770009994507, 0.3611205816268921, 0.55078125, -0.5819382667541504, 0.04862038791179657, 0.4076223373413086, -0.2013903558254242, -0.3748224675655365, -0.8445268869400024, 0.015329972840845585, -0.24838045239448547, -0.46901822090148926, 0.18903718888759613, -0.003311175387352705, -0.2865223288536072, -0.026185128837823868, -0.16804632544517517, -0.24200990796089172, 0.12879309058189392, 0.3188537061214447, 0.2546444833278656, -0.09106499701738358, -0.1226402297616005, 0.22863206267356873, -0.23111455142498016, -0.25922757387161255, -0.2503998279571533, 0.2851121723651886, 0.3383490741252899, -0.537549614906311, -0.4379064440727234, 0.4247247874736786, 0.5160606503486633, -0.12711961567401886, 0.5147663354873657, 0.20672607421875, -0.6731750965118408, -0.47664809226989746, -0.4018198847770691, -0.18269389867782593, -0.46744808554649353, 0.043885525315999985, 0.053098153322935104, -0.6937448382377625, 0.3507295250892639, 0.19043324887752533, 0.10032503306865692, 0.3346690237522125, 0.41277819871902466, -0.2114373743534088, 0.6880751848220825, 0.37762215733528137, -0.185263529419899, 0.561708390712738, 0.181203693151474, 0.39494776725769043, -0.6284079551696777, 0.07907464355230331, -0.7851302623748779, -0.29422828555107117, -0.25236645340919495, -0.5152266621589661, 0.20705531537532806, 0.3396773338317871, -0.2315664142370224, 0.3166673183441162, -0.5065011978149414, 0.3616936504840851, 1.0394444465637207, 0.09451323747634888, 0.37296774983406067, 0.5111832618713379, 0.020054899156093597, -0.284730464220047, -0.393216997385025, -0.8141356110572815, 1.0507365465164185, 0.29109811782836914, 1.1366806030273438, 0.13941802084445953, 0.7791420221328735, 0.5545706748962402, 0.514900803565979, -0.2997564673423767, 0.30586299300193787, -0.31442785263061523, -0.6613206267356873, -0.4587317109107971, -0.5070937871932983, -0.7591286301612854, 0.10325515270233154, -0.23732048273086548, -0.8274151086807251, 0.26896700263023376, 0.23733267188072205, -0.24845467507839203, 0.5630916953086853, -0.4458363950252533, 0.6048767566680908, -0.13765372335910797, -0.5483812689781189, 0.0528983511030674, 0.005080129951238632, 0.16016802191734314, -0.34009677171707153, 0.20551396906375885, -0.24604369699954987, 0.08327578008174896, 0.8111807107925415, -0.3038650155067444, 0.7008197903633118, -0.45855119824409485, -0.4873647689819336, 0.512518584728241, 0.24611054360866547, 0.9482839703559875, 0.007694132160395384, -0.182350754737854, 0.27543216943740845, -0.049692146480083466, -0.32807615399360657, -0.22081123292446136, 0.47246283292770386, -0.5755701065063477, -0.4326998293399811, -0.40999653935432434, -0.25670987367630005, -0.27427050471305847, 0.18879909813404083, 0.6801667213439941, 0.2625919282436371, 0.23938697576522827, 0.1721295565366745, 0.634324312210083, -0.3496510684490204, 0.5194690823554993, 0.5500274300575256, 0.15496474504470825, -0.45829513669013977, 0.9905152916908264, 0.28977346420288086, 0.2811613976955414, 0.2740733325481415, 0.2737324833869934, -0.35752782225608826, -0.923738420009613, -0.4713298976421356, -0.14142964780330658, -0.7773126363754272, -0.4670545756816864, -0.27933406829833984, -0.20182083547115326, -0.03427252545952797, -0.07553800940513611, -0.580980658531189, -0.12387987226247787, -0.4109475314617157, 0.09049058705568314, 0.2996044158935547, 0.5965494513511658, -0.06902927905321121, 0.2822131812572479, -0.5701043605804443, 0.270346999168396, 0.35039666295051575, 0.4773271381855011, -0.057958878576755524, -0.7895492315292358, -0.07894466072320938, 0.2557985484600067, -0.23661938309669495, -0.5615947842597961, 0.2036941945552826, 0.05579059198498726, 0.35396406054496765, 0.7119826078414917, 0.2835228741168976, 0.4382703900337219, -0.3399418890476227, 0.7351449728012085, 0.25399506092071533, -0.9053305983543396, 0.5100106596946716, -0.1899009793996811, 0.19961975514888763, 0.7197757959365845, -0.053933463990688324, -0.14968056976795197, -0.847450315952301, -0.44358694553375244, -0.9039117693901062, 0.3731040060520172, 0.1984724998474121, 0.3353596329689026, -0.14563913643360138, 0.1699213683605194, 0.2509133517742157, 0.28400951623916626, -0.7654041647911072, -0.27163490653038025, -0.1866437941789627, -0.3125223219394684, 0.1591867208480835, -0.6080579161643982, 0.06781166791915894, 0.23744267225265503, 1.0561671257019043, -0.12893372774124146, 0.17586272954940796, 0.16903693974018097, 0.016774816438555717, -0.3665827810764313, 0.4733685553073883, 0.616961658000946, 0.4160630404949188, -0.16602633893489838, 0.5658034086227417, -0.042558301240205765, -0.3127690255641937, 0.42726901173591614, -0.24348440766334534, -0.6505360007286072, 0.20254074037075043, 0.448773592710495, 0.5988308191299438, 0.1849823296070099, -0.659765899181366, 0.6165992617607117, 0.029490383341908455, 0.043073125183582306, -0.16834312677383423, -0.04082784429192543, 0.0842081755399704, 0.09493870288133621, 0.6171517968177795, -0.10727676004171371, -0.15740425884723663, -0.2546427249908447, 0.18268761038780212, 0.7281900644302368, -0.27746158838272095, -0.21819673478603363, 0.7472853064537048, -0.01478671282529831, -0.12970666587352753, 0.18847647309303284, -0.42774757742881775, -0.13256575167179108, 0.5621832013130188, 0.7357146739959717, 0.7300188541412354, -0.1295938640832901, 0.063584104180336, 0.3094853162765503, 0.4830247163772583, -0.31190192699432373, 0.48157012462615967, 0.2791074514389038, -0.9254462122917175, 0.027924230322241783, -0.7971169948577881, -0.4509306252002716, 0.40868833661079407, -0.5067926049232483, -0.029645264148712158, -0.549380898475647, -0.265745609998703, -0.011405998840928078, -0.3419458270072937, -0.5015947222709656, 0.16048672795295715, 0.36798080801963806, 0.863934338092804, -0.749424397945404, 0.8289083242416382, 0.5230252742767334, -0.09669958800077438, -0.5054337382316589, 0.01506217010319233, -0.045517563819885254, -0.8406002521514893, 0.3103330135345459, -0.11674535274505615, -0.09784916043281555, -0.14019815623760223, -0.7135185599327087, -0.9474901556968689, 0.8018784523010254, 0.6457653641700745, -0.47944584488868713, 0.4692322015762329, 0.43759459257125854, 0.3824845552444458, -0.23554684221744537, -0.08190614730119705, 0.30268099904060364, 0.6495323777198792, -0.206549733877182, -0.47075092792510986, 0.38362428545951843, -0.27774015069007874, 0.21563012897968292, 0.0492548942565918, -0.6287072896957397, 0.5973441004753113, -0.059385526925325394, -0.4742264747619629, 0.14286763966083527, 0.5583202838897705, 0.453965425491333, 0.273877888917923, 0.4327564537525177, 0.5911716222763062, 0.7510532140731812, -0.1808883398771286, 0.9174085259437561, -0.3142138719558716, 0.3456447124481201, 1.1790772676467896, -0.42979079484939575, 1.055004358291626, 0.8822264075279236, -0.4336870014667511, 0.20730140805244446, 0.530073881149292, -0.17855903506278992, 0.7933294773101807, 0.5088563561439514, -0.44726991653442383, -0.4076886475086212, -0.39111700654029846, -0.30848273634910583, 0.1995030790567398, -0.018371563404798508, -0.43096643686294556, -0.17572256922721863, -0.22353136539459229, 0.25231873989105225, 0.01831910014152527, -0.153544619679451, 0.6695778369903564, 0.23060694336891174, -0.5705273747444153, 0.4548637270927429, 0.19698812067508698, 0.9741150140762329, -0.6060929894447327, 0.1638820320367813, -0.44263947010040283, 0.2115841507911682, -0.15392906963825226, -0.843000054359436, 0.03709077835083008, 0.13503551483154297, -0.2674623131752014, -0.1820261925458908, 0.7532130479812622, -0.5590053796768188, -0.5288970470428467, 0.361817866563797, 0.3216453194618225, 0.12175167351961136, -0.1314142793416977, -0.08807011693716049, 0.07906682044267654, -0.0588412843644619, -0.45049893856048584, 0.45589113235473633, 0.40671348571777344, -0.004276329651474953, 0.5979238748550415, 0.8185673356056213, 0.29937928915023804, 0.06342986971139908, 0.11627267301082611, 0.45387715101242065, -0.41869696974754333, -0.4013983905315399, -1.0339038372039795, 0.30014052987098694, -0.07760800421237946, -0.3549095690250397, 0.6668623089790344, 0.48219987750053406, 0.527355968952179, -0.12771986424922943, 1.1953316926956177, 0.13873107731342316, 0.08375037461519241, -0.5271944403648376, 0.8482218384742737, -0.6161982417106628, 0.1370103657245636, -0.22200340032577515, -0.7768122553825378, -0.24703094363212585, 0.33236029744148254, 0.11258436739444733, -0.202589213848114, 0.5792402625083923, 0.791272759437561, -0.014681358821690083, -0.12334790825843811, 0.3746322989463806, -0.2403610646724701, 0.24222321808338165, 0.5182763934135437, 0.6834436058998108, -0.45282959938049316, 0.391018271446228, -0.20499736070632935, -0.31781163811683655, -0.06342629343271255, -0.9692107439041138, -0.8478971123695374, -0.5141631364822388, -0.47980305552482605, -0.6651026010513306, -0.04494236409664154, 0.8914198875427246, 0.6515833139419556, -1.0825210809707642, 0.16014552116394043, 0.16249962151050568, 0.24538542330265045, -0.1888071596622467, -0.2072405368089676, 0.342868447303772, -0.07682910561561584, -0.6262733340263367, 0.35732927918434143, 0.4731428027153015, 0.5397680401802063, -0.27159062027931213, -0.14089623093605042, 0.13959719240665436, 0.5695328116416931, 0.2304215282201767, 0.202695831656456, -0.3583921790122986, -0.5003800988197327, -0.4092378318309784, -0.31864503026008606, 0.05877995863556862, 0.6141161322593689, -0.22772420942783356, 0.17695318162441254, 0.5363022685050964, 0.6671555638313293, 0.22619600594043732, -0.08170749247074127, 0.24463775753974915, -0.9167511463165283, 0.21465688943862915, -0.095313161611557, 0.6091826558113098, 0.4204505383968353, -0.28062260150909424, 0.3572266101837158, 0.2828614115715027, -0.19711044430732727, -1.0015918016433716, -0.004114706069231033, -0.6471428275108337, -0.07121846079826355, 1.4462026357650757, -0.3663696050643921, -0.17042341828346252, -0.08809665590524673, 0.16038168966770172, 0.08082259446382523, -0.525976300239563, 0.9862707257270813, 0.9485583305358887, 0.4901447594165802, 0.01982695609331131, -0.45359715819358826, 0.4950914978981018, 0.2382914125919342, -1.1080925464630127, 0.23124030232429504, 0.03786562383174896, 0.45768308639526367, 0.16915357112884521, 0.5694707036018372, -0.17153367400169373, 0.06199216842651367, 0.06072201952338219, 0.3404698073863983, 0.03157731890678406, -0.062274619936943054, -0.17578846216201782, 0.1528456062078476, 0.16335827112197876, -0.1929684430360794 ]
http://arxiv.org/abs/2405.14601v1
http://arxiv.org/pdf/2405.14601v1
A FAIR and Free Prompt-based Research Assistant
2024-05-23T14:16:46
2024-05-23T14:16:46
Mahsa Shamsabadi, Jennifer D'Souza
cs.CL
cs.CL, cs.AI
This demo will present the Research Assistant (RA) tool developed to assist with six main types of research tasks defined as standardized instruction templates, instantiated with user input, applied finally as prompts to well-known--for their sophisticated natural language processing abilities--AI tools, such as ChatGPT (https://chat.openai.com/) and Gemini (https://gemini.google.com/app). The six research tasks addressed by RA are: creating FAIR research comparisons, ideating research topics, drafting grant applications, writing scientific blogs, aiding preliminary peer reviews, and formulating enhanced literature search queries. RA's reliance on generative AI tools like ChatGPT or Gemini means the same research task assistance can be offered in any scientific discipline. We demonstrate its versatility by sharing RA outputs in Computer Science, Virology, and Climate Science, where the output with the RA tool assistance mirrored that from a domain expert who performed the same research task.
[ -0.14646722376346588, -0.7866405844688416, 0.5677719712257385, 0.45165902376174927, 0.07695508003234863, -0.017020585015416145, 0.018805328756570816, -0.3665587902069092, 0.3408656716346741, 0.18097005784511566, -0.6018186211585999, -0.20638303458690643, -0.5073341727256775, 0.4076990783214569, -0.39716947078704834, 1.1291041374206543, 0.1472768932580948, 0.2266288697719574, -0.3748267590999603, -0.13380537927150726, -0.7197601795196533, 0.026907529681921005, -1.0109785795211792, -0.31814098358154297, 0.8063700795173645, 0.8214401602745056, 0.8475173115730286, 0.11407992243766785, 0.894756555557251, 0.2727285623550415, 0.23786719143390656, -0.04347124323248863, -0.13864082098007202, 0.4340916574001312, -0.34102946519851685, -0.49030449986457825, -0.5789680480957031, 0.42936888337135315, -0.08090312033891678, 0.48316895961761475, -0.13639332354068756, 0.24543221294879913, 0.16398005187511444, 0.6852112412452698, -0.6636546850204468, 0.1954960972070694, -0.22946284711360931, -0.14061768352985382, -0.27345898747444153, -0.1967378556728363, -0.3820163905620575, -0.5602114200592041, 0.010892624966800213, -1.1785974502563477, 0.5262381434440613, 0.031943246722221375, 0.528693437576294, 0.3562000095844269, -0.04205363243818283, -0.484701007604599, -0.5509086847305298, 0.8197649717330933, -0.3879924714565277, -0.18651029467582703, 0.3045777380466461, 0.7366420030593872, -0.2491719275712967, -0.7458030581474304, -0.7824125289916992, -0.29698696732521057, -0.050147365778684616, 0.21755461394786835, -0.45345208048820496, 0.23988351225852966, 0.16492705047130585, 0.34979087114334106, -0.631132185459137, -0.35968804359436035, -0.3266374468803406, -0.14682388305664062, 0.42100876569747925, 0.0933443009853363, 0.5785977840423584, -0.13674534857273102, 0.12491704523563385, -0.374003142118454, -0.4032730162143707, 0.164850115776062, 0.1611582338809967, 0.4208372235298157, -0.1997920572757721, 0.8655246496200562, -0.1982509195804596, 0.6110023856163025, -0.0018772336188703775, 0.08366570621728897, 0.21855607628822327, -0.32770347595214844, -0.24579651653766632, -0.17831896245479584, 0.7209166288375854, 0.08401855081319809, 0.058803487569093704, -0.13739345967769623, -0.04850350320339203, 0.3322569727897644, 0.05301905795931816, -0.4482291042804718, -0.3074204921722412, 0.08216515183448792, -0.5050920248031616, -0.2267436534166336, -0.09278693795204163, -0.7314140200614929, -0.5855275988578796, -0.09237746894359589, 0.7383302450180054, -0.2522360384464264, -0.18775109946727753, 0.2033461034297943, -0.6595261693000793, 0.29441124200820923, 0.5214536190032959, -0.37884148955345154, 0.48134756088256836, 0.4419727027416229, 0.9865037798881531, -0.21078334748744965, 0.010564553551375866, -0.6425575017929077, -0.2635343372821808, 0.06579574197530746, 0.6940352916717529, -0.9731054306030273, -0.90852290391922, -0.3188672661781311, -0.23076726496219635, -0.23237933218479156, -0.24820615351200104, 0.5443347692489624, -0.38043421506881714, 0.8621811866760254, -0.33727145195007324, -0.042748212814331055, -0.24006354808807373, 0.12059219926595688, -0.7519128322601318, 1.1257489919662476, 0.165352463722229, -1.0290740728378296, 0.04411356896162033, -1.5481209754943848, -0.25013771653175354, 0.09204757213592529, -0.358151912689209, -0.04666340351104736, -0.25227466225624084, 0.33944404125213623, 0.19228680431842804, -0.4728069305419922, 0.15119904279708862, -0.21533727645874023, -0.15721328556537628, 0.3283471465110779, -0.39488524198532104, 0.9446715116500854, 0.4942798316478729, -0.49177297949790955, 0.6389658451080322, -0.8107541799545288, -0.27846670150756836, 0.05438860505819321, 0.044605791568756104, -0.18784213066101074, -0.3988202214241028, 0.3686056137084961, -0.2069307416677475, 0.23089349269866943, -0.6524091958999634, 0.45626139640808105, -0.042426176369190216, 0.09619048982858658, 0.6283202171325684, -0.13234741985797882, 0.4181281626224518, -0.4470598101615906, 0.916600227355957, -0.1986478865146637, 0.1443849503993988, 0.06289071589708328, -1.0595693588256836, -0.7273724675178528, -0.3783729076385498, 0.34470558166503906, 0.8520554900169373, -0.9083828926086426, 0.1423531025648117, 0.15734072029590607, -0.43953290581703186, -0.8805593848228455, -0.18177370727062225, 0.24228587746620178, 0.6235020160675049, 0.25824108719825745, -0.18403896689414978, -0.4860013723373413, -0.8211409449577332, -0.29609784483909607, 0.33219093084335327, -0.06302311271429062, 0.05051591992378235, 0.47552603483200073, -0.042071785777807236, 1.274670124053955, -0.381977915763855, -0.41098615527153015, -0.38346800208091736, 0.6934686899185181, 0.16335853934288025, 0.36893540620803833, 0.5292364954948425, -0.8179223537445068, -0.5060353875160217, -0.0216920617967844, -0.7164306044578552, -0.2583863437175751, 0.19588005542755127, 0.08412721008062363, -0.11004175245761871, 0.24326056241989136, -0.7106117010116577, 0.5579177737236023, 0.4603544771671295, -0.6698378324508667, 0.3020451068878174, -0.2515017092227936, 0.5175750851631165, -1.1063035726547241, 0.6570446491241455, -0.09827985614538193, -0.14363250136375427, -0.5780067443847656, 0.07857103645801544, -0.33615657687187195, -0.5036318302154541, -0.14711196720600128, 0.9561982154846191, -0.37324345111846924, -0.1323879510164261, -0.768671989440918, 0.03527911752462387, -0.06801190227270126, 0.0056632026098668575, -0.16474232077598572, 1.3227168321609497, 0.5386466383934021, -0.3816571533679962, 0.017167823389172554, 0.23746028542518616, -0.0688006803393364, 0.1652158796787262, -0.9428877234458923, 0.4737056791782379, -0.4222172796726227, 0.12679624557495117, -0.7593799829483032, -0.16680751740932465, 0.7749179005622864, -0.9226233959197998, -0.2478751540184021, 0.30015382170677185, -0.2327248901128769, -0.04177219420671463, -0.35562026500701904, 0.5006353259086609, 0.5591663122177124, -0.17531244456768036, 0.8069591522216797, 0.12354356795549393, -0.5010340213775635, -1.055334448814392, -0.2517443895339966, -0.05599404126405716, -0.07363206148147583, -0.4627845287322998, 0.20424066483974457, -0.3924310505390167, -0.6385230422019958, 0.3431403338909149, 0.2778942286968231, -0.2506766617298126, 0.017326369881629944, 0.5020028948783875, 0.3213595747947693, -0.03247595578432083, -0.3729267418384552, -0.02165238931775093, -0.18255825340747833, -0.11056983470916748, 0.30410513281822205, 0.31979605555534363, -0.05501589551568031, -0.3577400743961334, -0.49785786867141724, 0.510199248790741, 0.606241762638092, -0.1783619076013565, 0.29139599204063416, 0.6420865654945374, -0.31681180000305176, 0.18403398990631104, -0.31604456901550293, -0.11578218638896942, -0.5037353038787842, -0.1758682280778885, -0.368569552898407, -0.8242905735969543, 0.5591424703598022, 0.5864633917808533, 0.46351563930511475, 0.5186053514480591, 0.2436884492635727, 0.2833106815814972, 0.906950056552887, 0.8535678386688232, -0.15149043500423431, 0.4079020321369171, -0.09110096096992493, 0.19538137316703796, -0.38279086351394653, -0.2566643953323364, -1.0468432903289795, -0.3482982814311981, -0.11404842883348465, -0.7040877342224121, 0.3813914358615875, -0.20744620263576508, -0.13143056631088257, -0.07483871281147003, -0.8472550511360168, 0.2543809413909912, 1.075320839881897, -0.09740880131721497, 0.23670072853565216, -0.18789148330688477, 0.2755688428878784, 0.03487040475010872, -0.6393491625785828, -0.4663599729537964, 0.9643497467041016, 0.10075397044420242, 0.9402815699577332, -0.23132358491420746, 0.5342801809310913, 0.8665210604667664, 0.42084622383117676, -0.7142561078071594, 0.6319111585617065, 0.13015055656433105, -0.5533703565597534, -0.2357005923986435, -0.22351379692554474, -1.0634238719940186, -0.1123541072010994, -0.13605783879756927, -0.43948274850845337, 0.3118366301059723, 0.4258421063423157, -0.31216537952423096, -0.05068376287817955, -0.5843638181686401, 0.693328857421875, 0.14048196375370026, -0.06245710700750351, -0.502720057964325, -0.48817840218544006, 0.11006753891706467, 0.5810893177986145, 0.296007364988327, -0.2604660093784332, 0.312341570854187, 0.903652548789978, 0.1685144454240799, 0.8036186695098877, -0.6372618675231934, 0.5991284847259521, 0.3429354727268219, 0.23804691433906555, 0.30602434277534485, 0.047111812978982925, -0.041716039180755615, -0.3539564311504364, -0.019149720668792725, -0.40188777446746826, -0.46343937516212463, 0.5581392645835876, -0.8033592700958252, -0.6055999994277954, -0.7890880703926086, -0.9112983345985413, 0.020721109583973885, 0.10609446465969086, 0.1314782351255417, 0.16162849962711334, -0.308197021484375, 0.06590201705694199, 0.6862252950668335, -0.360819548368454, 0.16143587231636047, 0.46512889862060547, -0.19716888666152954, -0.09430883824825287, 0.8893470168113708, -0.48008856177330017, -0.17052419483661652, 0.605026125907898, 0.293703556060791, -0.16413673758506775, -0.38534030318260193, -0.17200174927711487, -0.13600297272205353, -0.6001538634300232, -0.40086397528648376, -0.77724689245224, -0.0434877872467041, -0.8062773942947388, -0.26451393961906433, -0.005856103729456663, -0.7971609234809875, -0.2670931816101074, -0.05721108987927437, 0.8166733384132385, 0.795720100402832, -0.29083240032196045, 0.4198935627937317, -0.4509558379650116, 0.5660223960876465, 0.2505529820919037, -0.05317138135433197, -0.26863521337509155, -0.04363643750548363, 0.11189905554056168, -0.11866359412670135, -0.4013017416000366, -0.677467942237854, 0.34924954175949097, 0.1073567122220993, 0.4983574450016022, 0.2539602816104889, -0.13580197095870972, 0.29363176226615906, -0.20136785507202148, 0.9781743288040161, 0.3316706717014313, -0.717982292175293, 0.6196198463439941, -0.35606253147125244, 0.09852178394794464, 0.5426612496376038, 0.28445538878440857, -0.6228309869766235, -0.4294329285621643, -0.4799739420413971, -0.674863338470459, 0.5715611577033997, 0.26816606521606445, -0.2187557965517044, -0.04801175370812416, 0.11533568799495697, 0.5202950239181519, 0.015747468918561935, -0.6913970112800598, -0.1448856145143509, -0.5167418122291565, -0.28447994589805603, 0.13281559944152832, 0.051166974008083344, -0.40214017033576965, 0.050836339592933655, 0.7067797780036926, -0.21974541246891022, 0.41631245613098145, 0.5187111496925354, 0.06787817180156708, 0.11372078210115433, 0.6356163024902344, 0.45825672149658203, 0.5177155137062073, -0.2982562482357025, -0.18617881834506989, -0.29016393423080444, -0.4552193880081177, -0.047219280153512955, 0.5009681582450867, -0.35428157448768616, 0.1704937070608139, -0.1411108672618866, 0.5217408537864685, -0.18013924360275269, -0.698756217956543, 0.4445078670978546, -0.5944306254386902, -0.2527279853820801, -0.20480726659297943, 0.46786201000213623, -0.1499026119709015, -0.0009132119012065232, 0.38874581456184387, 0.2912169098854065, 0.672177255153656, -0.387520968914032, -0.03411006182432175, 0.4851049482822418, -0.13630910217761993, -0.3655850291252136, 1.0267117023468018, 0.3974602520465851, -0.49045902490615845, 0.5995551347732544, -0.18244662880897522, 0.1610729843378067, 0.5325607657432556, 0.2542676031589508, 0.9568923115730286, -0.04070837423205376, 0.4520619511604309, 0.03877617418766022, -0.04160540550947189, -0.14541472494602203, 0.7637429237365723, 0.044534288346767426, -0.4884050190448761, -0.31195175647735596, -0.35148176550865173, -0.7463396191596985, 0.0023446157574653625, -0.697802722454071, 0.1703510731458664, -0.3207096755504608, -0.10403186082839966, 0.38703539967536926, -0.14263880252838135, -0.9045210480690002, -0.004301493521779776, -0.48820000886917114, 1.2479016780853271, -0.6915280222892761, 0.7470096349716187, 0.8759956955909729, -0.5722392201423645, -0.5915382504463196, -0.45163920521736145, 0.16729465126991272, -0.6889753341674805, 0.5150509476661682, 0.1363467127084732, -0.3949347138404846, -0.2863331139087677, -0.6108609437942505, -0.5023413300514221, 1.0938774347305298, 0.32277995347976685, -0.2554444372653961, -0.41411399841308594, -0.16899214684963226, 0.252089262008667, -0.1837027221918106, 0.6206932663917542, 0.20087982714176178, 0.6116986870765686, -0.08233378082513809, -1.090368628501892, -0.16590365767478943, -0.6759101152420044, -0.41886913776397705, -0.18189509212970734, -0.2652146518230438, 0.7851974964141846, -0.12475035339593887, -0.10137992352247238, 0.4785074293613434, 0.7965682148933411, 0.309771329164505, 0.7310160994529724, 0.4895331859588623, 0.2873428165912628, 0.7955701947212219, -0.04018610715866089, 0.9187688231468201, -0.35167035460472107, -0.07039099186658859, 0.9051361680030823, -0.2439410537481308, 0.3610181212425232, 0.584257960319519, 0.11672838032245636, 0.43916264176368713, 0.32227519154548645, 0.16113317012786865, 0.5027191042900085, -0.16529147326946259, -0.6367001533508301, 0.2726587653160095, -0.3365168869495392, -0.4266456663608551, 0.09627500176429749, 0.4999862611293793, 0.003090551821514964, -0.2563784718513489, 0.39528924226760864, 0.0005968628684058785, 0.24207089841365814, -0.24858839809894562, 0.47230324149131775, 0.04930173605680466, -0.7842830419540405, -0.35153499245643616, 0.1929434984922409, 0.8523874878883362, -0.9899578094482422, -0.26645970344543457, -0.2512127757072449, 0.06506544351577759, -0.14437241852283478, -0.8359165191650391, 0.36257511377334595, 0.11056317389011383, -0.4820624887943268, -0.35981664061546326, 0.86094069480896, -0.0009050338994711637, -0.26154178380966187, -0.04945087060332298, 0.7130036354064941, 0.26495131850242615, 0.030509188771247864, -0.8630140423774719, -0.001627109246328473, -0.0586840994656086, -0.2768769860267639, 0.16149349510669708, 0.2110951840877533, -0.07061024755239487, 0.9323424100875854, 0.5096946954727173, 0.16849492490291595, -0.01419279258698225, 0.17935803532600403, 0.6539995074272156, -0.7793105840682983, -0.3941971957683563, -0.18541204929351807, 0.26597654819488525, -0.016798481345176697, -0.45219311118125916, 0.6518202424049377, 0.5660042762756348, 0.45491060614585876, -0.22548694908618927, 1.1154028177261353, -0.6711800694465637, 0.9225963950157166, -0.19178402423858643, 0.4362908899784088, -0.20751702785491943, -0.1758999079465866, -0.019631974399089813, -0.6189069151878357, -0.25250545144081116, 0.6455994844436646, -0.14142131805419922, -0.0001700921857263893, 0.5322040915489197, 0.8940635919570923, -0.15864145755767822, 0.14242251217365265, 0.014615506865084171, -0.3497544825077057, 0.6491854190826416, 0.05053485184907913, 0.6486287713050842, 0.0134430518373847, 0.512467086315155, -0.07725285738706589, -0.4373866021633148, 0.0174176674336195, -0.5982857346534729, -0.8481251001358032, -0.39609768986701965, -0.0741252675652504, -0.42883390188217163, 0.4918901026248932, 1.159617304801941, 0.4049597382545471, -0.7530623078346252, -0.2922784090042114, -0.14533403515815735, -0.09357094019651413, -0.27827751636505127, -0.3913070559501648, 0.422210156917572, -0.43573257327079773, -0.8281112313270569, 0.5635361671447754, 0.1414499431848526, -0.14570434391498566, -0.07062002271413803, -0.0034950750414282084, 0.10940954834222794, -0.08153142035007477, 0.24851486086845398, 0.698383092880249, -0.45802196860313416, -0.19947555661201477, 0.3195239305496216, -0.09412466734647751, 0.10590919852256775, 1.154691457748413, -0.9042983055114746, 0.46306678652763367, 0.572105348110199, 0.8013346791267395, 0.027430571615695953, -0.14983397722244263, 0.8851247429847717, -0.5332522988319397, 0.32595768570899963, 0.4467909634113312, 0.30432912707328796, 0.47290870547294617, -0.42506662011146545, 0.5516948103904724, 0.03299862518906593, -0.7311474680900574, -0.5362194180488586, -0.06230170652270317, -1.3656758069992065, -0.32668429613113403, 0.9033063054084778, 0.007097355555742979, 0.004729623440653086, -0.2340218722820282, -0.7288252711296082, 0.3265104293823242, -0.9825108051300049, 1.0647130012512207, 0.4616166353225708, -0.5898867249488831, -0.1874540150165558, -0.6391772031784058, 0.7487632632255554, 0.43832531571388245, -0.9247059226036072, -0.07701155543327332, 0.43129968643188477, 0.3712724447250366, 0.1421859711408615, 1.2078689336776733, -0.08369752019643784, 0.6052751541137695, -0.138865664601326, 0.34341633319854736, -0.15863068401813507, -0.37633106112480164, -0.16007792949676514, 0.075007364153862, 0.4411576986312866, -0.47318199276924133 ]
http://arxiv.org/abs/2405.14594v1
http://arxiv.org/pdf/2405.14594v1
Data Augmentation Techniques for Process Extraction from Scientific Publications
2024-05-23T14:09:02
2024-05-23T14:09:02
Yuni Susanti
cs.CL
cs.CL, cs.IR
We present data augmentation techniques for process extraction tasks in scientific publications. We cast the process extraction task as a sequence labeling task where we identify all the entities in a sentence and label them according to their process-specific roles. The proposed method attempts to create meaningful augmented sentences by utilizing (1) process-specific information from the original sentence, (2) role label similarity, and (3) sentence similarity. We demonstrate that the proposed methods substantially improve the performance of the process extraction model trained on chemistry domain datasets, up to 12.3 points improvement in performance accuracy (F-score). The proposed methods could potentially reduce overfitting as well, especially when training on small datasets or in a low-resource setting such as in chemistry and other scientific domains.
[ -0.10476090013980865, -0.6869141459465027, 0.7199410796165466, -0.04862792044878006, -0.06772858649492264, 0.22365766763687134, -0.1293075978755951, -0.7482910752296448, 0.2884873151779175, 0.8279815316200256, -0.5494444966316223, -0.23489220440387726, -0.5029774308204651, 0.4834117591381073, -0.07234835624694824, 1.0197478532791138, -0.20640955865383148, 0.19916865229606628, -0.516730785369873, 0.41487857699394226, -0.26944512128829956, -0.3948547840118408, -0.21077273786067963, -0.3621295392513275, 0.3492797911167145, 0.5209243893623352, 0.49187612533569336, 0.8813542127609253, 0.648600161075592, 0.30857324600219727, -0.06621264666318893, 0.44104456901550293, -0.12293979525566101, 0.4506599009037018, -0.3245928883552551, -0.3227047026157379, -0.49571725726127625, 0.33964043855667114, 0.6081969738006592, 1.0908621549606323, 0.3527468740940094, 0.2908424139022827, -0.012594969011843204, 0.6012158393859863, -0.6053370237350464, 0.4500986635684967, -0.39619606733322144, 0.14507907629013062, -0.13686132431030273, -0.4234965443611145, -0.4004214406013489, -0.25290924310684204, 0.21956844627857208, -0.9018038511276245, 0.5248040556907654, 0.16367745399475098, 0.6994580030441284, 0.07013320177793503, -0.19042986631393433, -0.34613487124443054, -0.7827936410903931, 0.7565298676490784, -0.5140671133995056, 0.26477867364883423, 0.13026751577854156, -0.034530721604824066, -0.22418738901615143, -1.0334981679916382, -0.5238266587257385, -0.3274235725402832, -0.24288253486156464, 0.08597223460674286, 0.09713350236415863, 0.1769127994775772, 0.7257073521614075, 0.5707470774650574, -0.5377981662750244, -0.30243775248527527, -0.7656028270721436, -0.22910857200622559, 0.7345283031463623, -0.020788753405213356, 0.15102618932724, -0.107460618019104, -0.276014119386673, -0.11620936542749405, -0.4497678577899933, -0.2616614103317261, 0.3743203580379486, 0.4711281657218933, 0.7743555903434753, 1.1005359888076782, -0.3712271749973297, 0.6054471135139465, -0.086479552090168, 0.21575245261192322, 0.5856075882911682, -0.4234827756881714, -0.3832418620586395, 0.5322283506393433, 0.34891635179519653, 0.01856205053627491, 0.08343210071325302, -0.4468241035938263, -0.061458948999643326, 0.06393614411354065, 0.3833731710910797, -0.9053745865821838, -0.38716253638267517, 0.12021619081497192, -0.2835714519023895, -0.07582435756921768, 0.37021276354789734, -0.7646024823188782, -0.4083946645259857, -0.5519761443138123, 0.3535294532775879, -0.3998517692089081, 0.08898366242647171, -0.2593628764152527, -0.7232573628425598, -0.11506684869527817, 0.18448126316070557, -0.7372668385505676, 0.46867796778678894, 0.748360276222229, 1.0101559162139893, -0.4774133861064911, 0.12799717485904694, -0.8082544803619385, 0.20189329981803894, -0.1220957487821579, 0.7036031484603882, -1.0610958337783813, -0.5319840908050537, -0.3072878420352936, 0.27980589866638184, -0.050745006650686264, -0.7787351608276367, 0.6800866723060608, -0.7438327074050903, 0.0382569283246994, -0.3038265109062195, -0.9264230132102966, -0.07842058688402176, -0.024657368659973145, -0.8787126541137695, 1.130028486251831, 0.22052107751369476, -0.3868616819381714, 0.39530283212661743, -0.9847288727760315, -0.5770471096038818, 0.017193472012877464, 0.2723824381828308, -0.23728321492671967, 0.09167838841676712, 0.3204842805862427, 0.37936946749687195, -0.1389860212802887, -0.07928662747144699, -0.36069637537002563, 0.036781277507543564, 0.5074820518493652, -0.032171882688999176, 0.6001134514808655, 0.3718208074569702, 0.08218202739953995, 0.094600148499012, -1.0932108163833618, 0.1753709465265274, -0.4501262903213501, -0.33646950125694275, -0.3900885581970215, -0.2780537009239197, -0.018744582310318947, 0.14370205998420715, 0.10664656013250351, -0.8842644095420837, 0.6176301836967468, -0.562039315700531, 0.283242791891098, 0.36965885758399963, 0.5923951268196106, 0.675845742225647, -0.13521932065486908, 0.5839337110519409, -0.07333977520465851, -0.17746436595916748, -0.3730830252170563, -0.5030750632286072, -0.5714705586433411, -0.552850067615509, 0.5195954442024231, 0.7192786931991577, -0.8334693312644958, 0.6517570614814758, -0.3080805540084839, -0.5601215958595276, -0.5838316679000854, 0.3018481433391571, 0.10655727982521057, 0.8419919610023499, 0.597136914730072, -0.48324766755104065, -0.8427118062973022, -0.7621025443077087, -0.47759637236595154, 0.07309907674789429, -0.02611597813665867, -0.10136052221059799, 0.5067703127861023, -0.01966063864529133, 1.100644588470459, -0.9451793432235718, -0.10160993039608002, 0.17352153360843658, 0.5066190361976624, 0.29171276092529297, 0.5920931696891785, -0.02104618214070797, -0.8889176249504089, -0.3858521580696106, 0.014597523957490921, -0.6767783761024475, -0.3643997013568878, -0.12607893347740173, -0.018637312576174736, 0.28034743666648865, 0.6240774393081665, -0.7032110095024109, 0.2787865400314331, -0.14623180031776428, -0.1577305942773819, 0.5273346304893494, -0.2326832264661789, 0.5720745921134949, -0.8016887307167053, 0.2619278132915497, 0.3799629211425781, -0.2168094515800476, -0.9536570310592651, -0.1785746067762375, -0.15945662558078766, -0.21063286066055298, -0.5239726901054382, 0.3473585247993469, -0.8461739420890808, -0.1328882873058319, -0.41112029552459717, -0.2074170708656311, 0.315155565738678, 0.1661999672651291, 0.3913613259792328, 0.8298290967941284, 0.47830963134765625, -0.4140152633190155, 0.410629540681839, 0.21523208916187286, -0.5116777420043945, 0.15559759736061096, -0.3286672532558441, 0.16039182245731354, -0.18102611601352692, 0.11131716519594193, -1.2048667669296265, -0.24721430242061615, 0.4069463610649109, -0.2108764499425888, 0.472018301486969, -0.02861734852194786, -0.7108596563339233, -0.20574168860912323, -0.22377413511276245, -0.016486193984746933, 0.41391026973724365, -0.264819473028183, 0.4357340633869171, 0.25550463795661926, -0.42469552159309387, -0.3335466682910919, -0.7931687831878662, -0.15388573706150055, -0.45175209641456604, -0.4402100443840027, 0.8149348497390747, 0.08660939335823059, -0.0661967322230339, 0.02677038125693798, -0.28640320897102356, -0.34485408663749695, -0.0856502577662468, 0.22410133481025696, 0.422213613986969, 0.035603445023298264, 0.2361801266670227, 0.09877422451972961, -0.12757229804992676, 0.045364633202552795, -0.1073298379778862, 0.13059227168560028, 0.33008283376693726, 0.09974227845668793, -0.37167805433273315, 0.5268123149871826, 0.31154993176460266, -0.013564408756792545, 0.5903230309486389, 0.7295752167701721, -0.3843492865562439, 0.1934225857257843, -0.27009108662605286, -0.4824545085430145, -0.48178261518478394, 0.18321263790130615, -0.31608593463897705, -0.6365489363670349, 0.4741883873939514, -0.4123302698135376, -0.11321096867322922, 0.4565979838371277, 0.13169576227664948, -0.20210932195186615, 0.8724040389060974, 0.44480979442596436, 0.2444312572479248, 0.5380180478096008, -0.2176007777452469, 0.42187535762786865, -0.937714159488678, -0.2518581449985504, -0.551402747631073, -0.13193275034427643, -0.3086864650249481, -0.683903694152832, 0.4627702534198761, 0.43405652046203613, 0.09539978951215744, 0.45754650235176086, -0.7473062872886658, 0.2739850580692291, 0.5127509832382202, 0.08158335834741592, 0.5289930701255798, 0.35179945826530457, 0.38290539383888245, -0.3060978949069977, -0.5178197622299194, -0.5842177271842957, 0.9890273213386536, 0.09508489072322845, 0.5064609050750732, -0.108265221118927, 0.710159420967102, 0.6785003542900085, 0.26509591937065125, -0.7421397566795349, 0.42504531145095825, 0.06233708932995796, -0.5484020709991455, -0.30172401666641235, -0.2638757526874542, -0.8095462918281555, 0.08734522014856339, -0.4694950580596924, -0.8855851888656616, 0.3257291615009308, -0.019076621159911156, -0.3249034583568573, -0.34139886498451233, -0.9375238418579102, 0.7454359531402588, -0.09625706821680069, -0.3905279040336609, 0.0750192403793335, -0.7041143774986267, 0.176921084523201, -0.12321226298809052, 0.010395839810371399, 0.13974370062351227, -0.14317907392978668, 0.9640769958496094, -0.7281757593154907, 0.6855616569519043, -0.19789817929267883, 0.05879148095846176, 0.4706518054008484, -0.4218941628932953, 0.5940645337104797, -0.19109567999839783, -0.40058696269989014, -0.10308263450860977, 0.17648214101791382, -0.154458150267601, -0.9304215908050537, 0.5701555609703064, -0.21927064657211304, -0.6228001117706299, -0.7057211399078369, -0.5234306454658508, -0.252959668636322, 0.20928065478801727, 0.021353840827941895, 0.0013376300921663642, 0.015231399796903133, -0.08157079666852951, 0.5619414448738098, 0.12325715273618698, 0.5033751726150513, 0.26012375950813293, 0.22462968528270721, -0.5723327994346619, 0.8063051104545593, 0.2585117518901825, 0.19259798526763916, 0.45306193828582764, -0.175112783908844, -0.49878638982772827, -0.3414478003978729, -0.2791651487350464, -0.13972415030002594, -0.7007856369018555, -0.30081912875175476, -0.7532942891120911, -0.04052317142486572, -1.026153802871704, 0.06915926933288574, -0.09749773889780045, -0.961637020111084, -0.6072731018066406, -0.14689908921718597, 0.6762758493423462, 0.22537340223789215, -0.18921779096126556, 0.45301344990730286, -1.138803482055664, 0.36453676223754883, -0.06750171631574631, -0.0902516320347786, -0.3855837881565094, -0.37007033824920654, -0.27868396043777466, -0.01859113574028015, -0.3806988000869751, -1.123128890991211, 0.5631846189498901, 0.6059005260467529, 0.803342878818512, 0.11455461382865906, 0.016673246398568153, 0.9232967495918274, -0.6122329831123352, 0.9453948140144348, 0.024457044899463654, -0.9021536111831665, 0.7926996946334839, 0.01315678097307682, -0.08016332238912582, 0.49064525961875916, 0.7560588717460632, -0.0926610603928566, 0.01701604202389717, -0.6564581394195557, -1.1633692979812622, 0.6706095933914185, 0.3214638829231262, -0.2097364217042923, -0.05278164893388748, 0.7654017210006714, 0.26978135108947754, 0.28843051195144653, -0.30602604150772095, -0.27410927414894104, 0.13944227993488312, -0.1822381615638733, 0.030126037076115608, 0.02279643714427948, -0.07271099835634232, -0.40516865253448486, 1.0574421882629395, -0.09825997799634933, 0.14467167854309082, 0.7136688828468323, -0.39059337973594666, -0.10378614813089371, 0.2827844023704529, 0.3527688682079315, 0.5452407598495483, -0.3120378255844116, 0.03502846881747246, -0.0072788395918905735, -0.5536631345748901, 0.0613328292965889, 0.5441861748695374, 0.10405358672142029, 0.03622513264417648, 0.4882889986038208, 0.5617672204971313, -0.25667428970336914, -0.7213142514228821, 0.03954659402370453, 0.5334303379058838, 0.013284788466989994, 0.05583130940794945, 0.4130833148956299, -0.3087227940559387, 0.6201484799385071, 0.5698779821395874, 0.16748586297035217, 0.8893743753433228, -0.8755955100059509, 0.4925704002380371, 0.1685580462217331, -0.28093448281288147, -0.051200732588768005, 0.4194384813308716, -0.1585427224636078, -0.17937597632408142, 0.3826972246170044, -0.2007446140050888, -0.30555805563926697, 0.4828559160232544, 0.6819378733634949, 0.5576534867286682, -0.2533407509326935, 0.3676622211933136, 0.4311639964580536, -0.10609769821166992, -0.2880076467990875, 0.29252180457115173, -0.20709769427776337, -0.4910893440246582, -0.741096019744873, -0.5479974150657654, -0.35458067059516907, -0.030096156522631645, -0.7326465249061584, 0.12170396000146866, -0.20338530838489532, -0.31369084119796753, 0.8057435750961304, 0.3779630959033966, -0.3789767920970917, 0.20781102776527405, -0.06766416877508163, 0.704782247543335, -1.0979068279266357, 0.7368964552879333, 0.8714806437492371, -0.5478543043136597, -0.1394050121307373, -0.4414360225200653, -0.18173591792583466, -0.16761739552021027, 0.8810945749282837, 0.08831378817558289, 0.1427639126777649, -0.05302516743540764, -0.39496996998786926, -0.9325774312019348, 0.9390754699707031, 0.2896557152271271, -0.46243950724601746, 0.11079184710979462, 0.22323650121688843, 0.7249675989151001, -0.6033924221992493, 0.13933010399341583, 0.8207826018333435, 0.6129246354103088, 0.3096984028816223, -0.6201096177101135, 0.3420048654079437, -0.4966067969799042, 0.0006443005404435098, 0.05648970976471901, 0.06758962571620941, 0.4490461051464081, 0.021734291687607765, -0.27273884415626526, 0.18633615970611572, 0.8664329051971436, 0.42081376910209656, 0.46633437275886536, 0.4300258457660675, 0.3169923424720764, 1.0939949750900269, -0.028009919449687004, 0.8100547790527344, 0.06967122107744217, 0.18143559992313385, 1.1663157939910889, -0.556857705116272, 0.5016069412231445, 0.652114748954773, -0.05195925012230873, 0.3963385224342346, 0.8038551211357117, -0.3800226151943207, 0.7455167770385742, 0.21279606223106384, -0.31200796365737915, -0.13010729849338531, -0.242306649684906, -0.16481682658195496, 0.045200418680906296, 0.6175671219825745, -0.7688725590705872, -0.03260678052902222, 0.34427523612976074, -0.1014094352722168, -0.06352788209915161, -0.23592114448547363, 0.7770676612854004, -0.06343643367290497, -0.8662152886390686, 0.3021184206008911, -0.16678625345230103, 0.19739164412021637, -0.127517431974411, -0.5670710206031799, 0.4573825001716614, 0.08795249462127686, -0.41306477785110474, -0.9873372316360474, 0.5385345816612244, 0.009369212202727795, -0.5471136569976807, -0.3785386085510254, 0.9613344073295593, -0.5934938192367554, -0.6719330549240112, -0.20110243558883667, 0.28406086564064026, 0.4733113944530487, -0.14092673361301422, -0.551749050617218, -0.04785729572176933, -0.016723155975341797, -0.23901861906051636, -0.055066630244255066, 0.20751789212226868, -0.21895736455917358, 0.24042315781116486, 0.8425572514533997, 0.3318682610988617, 0.05404329299926758, -0.12949047982692719, 0.8383429646492004, -0.6609066724777222, -0.24319180846214294, -0.6684632301330566, 0.547422468662262, -0.6660895943641663, -0.11065063625574112, 0.6914637684822083, 0.8913881182670593, 0.6671319007873535, -0.37851330637931824, 0.9694442749023438, -0.08674666285514832, 0.5149044990539551, -0.7172713875770569, 0.1323258876800537, -0.14444158971309662, 0.34116947650909424, -0.34449103474617004, -1.2373242378234863, -0.49577024579048157, 0.6187896132469177, -0.4203701913356781, -0.1343393474817276, 0.7624718546867371, 0.9148930311203003, -0.1450394093990326, 0.2415965348482132, -0.23226843774318695, 0.053558893501758575, 0.4030078947544098, -0.05297541618347168, 0.44002512097358704, -0.5436927080154419, 0.05606145039200783, -0.37886476516723633, -0.19869276881217957, -0.06122365593910217, -0.9566614627838135, -0.5404166579246521, -0.5800170302391052, -0.879633367061615, -0.42282721400260925, 0.12663468718528748, 0.9271138906478882, 0.7695136070251465, -0.8606163859367371, 0.2074931114912033, -0.23762720823287964, -0.1635352224111557, -0.5008578300476074, -0.3469778895378113, 0.4663982391357422, -0.497662216424942, -0.7852898240089417, 0.7667677402496338, 0.11840808391571045, -0.09591305255889893, 0.09978330880403519, 0.28851526975631714, -0.4550464451313019, -0.16315360367298126, 0.49899911880493164, 0.42811229825019836, -0.3804756999015808, -0.34468361735343933, 0.07234340161085129, 0.4770350456237793, 0.3089461028575897, 1.0171549320220947, -0.7188908457756042, 0.6936509609222412, 0.9068225622177124, 0.45064541697502136, 0.8962936401367188, 0.41631489992141724, 0.637866199016571, -1.089133381843567, -0.007735819090157747, 0.21561473608016968, 0.11142770946025848, 0.4433874189853668, -0.7815757393836975, 0.772055983543396, 0.29888632893562317, -0.5359581708908081, -0.7710999846458435, -0.02697993628680706, -1.3511093854904175, -0.3247906565666199, 1.047483205795288, -0.1708752065896988, -0.4106725752353668, -0.19734901189804077, -0.30195701122283936, 0.79803866147995, -0.521584689617157, 0.6633157730102539, 0.6653459072113037, -0.721608579158783, 0.012295819818973541, -0.46096381545066833, 0.6359671950340271, 0.03321194276213646, -0.8830119371414185, 0.06913017481565475, 0.7192732691764832, 0.2037222683429718, 0.667830228805542, 0.2060951441526413, -0.15705054998397827, 0.005021171644330025, -0.18962982296943665, 0.15541860461235046, -0.2122294008731842, -0.28964266180992126, -0.1619112491607666, 0.2961532771587372, -0.38186556100845337, -0.2643849849700928 ]
http://arxiv.org/abs/2405.14591v1
http://arxiv.org/pdf/2405.14591v1
Base of RoPE Bounds Context Length
2024-05-23T14:03:31
2024-05-23T14:03:31
Xin Men, Mingyu Xu, Bingning Wang, Qingyu Zhang, Hongyu Lin, Xianpei Han, Weipeng Chen
cs.CL
cs.CL
Position embedding is a core component of current Large Language Models (LLMs). Rotary position embedding (RoPE), a technique that encodes the position information with a rotation matrix, has been the de facto choice for position embedding in many LLMs, such as the Llama series. RoPE has been further utilized to extend long context capability, which is roughly based on adjusting the \textit{base} parameter of RoPE to mitigate out-of-distribution (OOD) problems in position embedding. However, in this paper, we find that LLMs may obtain a superficial long-context ability based on the OOD theory. We revisit the role of RoPE in LLMs and propose a novel property of long-term decay, we derive that the \textit{base of RoPE bounds context length}: there is an absolute lower bound for the base value to obtain certain context length capability. Our work reveals the relationship between context length and RoPE base both theoretically and empirically, which may shed light on future long context training.
[ -0.37739598751068115, -0.8919355869293213, 0.5732957720756531, -0.00838492251932621, -0.5078614354133606, -0.05553531274199486, -0.37456902861595154, -0.5849733352661133, 0.3735645115375519, 0.4924056828022003, -0.12375392019748688, -0.46323099732398987, -0.5691325068473816, -0.21057896316051483, -0.45305928587913513, 0.9036551117897034, -0.11367201805114746, -0.3632659912109375, -0.24529674649238586, -0.6980219483375549, -0.6288292407989502, -0.8532870411872864, -0.11243293434381485, -0.31304651498794556, 0.5561931729316711, 0.4131774604320526, 0.761729896068573, 0.7991812229156494, 0.3428348898887634, 0.13753139972686768, -0.2441079467535019, -0.23097634315490723, -0.5317125916481018, 0.316356360912323, -0.14054657518863678, -0.6278300285339355, -0.6200066208839417, -0.1698586642742157, 0.8090169429779053, 1.0020191669464111, -0.17841221392154694, -0.15783478319644928, -0.1370394378900528, 0.9005641341209412, -0.592110812664032, -0.29187241196632385, -0.39451977610588074, 0.02880246751010418, -0.5091955065727234, -0.24753087759017944, -0.3806847333908081, 0.1360391229391098, 0.21444344520568848, -0.1732645332813263, 0.03894142806529999, 0.07300940901041031, 0.7249220013618469, 0.1830889880657196, -0.8029573559761047, -0.42981240153312683, -0.5223564505577087, 0.9603057503700256, -0.7022292017936707, 0.5438327789306641, 0.5535142421722412, 0.2835446298122406, -0.19141288101673126, -0.3148537278175354, -0.38137292861938477, -0.3663850426673889, 0.0831892192363739, -0.2346583604812622, 0.4494898021221161, 0.136223703622818, 0.28910309076309204, 0.3474096655845642, -0.13426299393177032, 0.2671251595020294, -0.4641754925251007, 0.3282161056995392, 0.6134498119354248, -0.032825592905282974, 0.3403500020503998, -0.07707131654024124, -0.44941583275794983, -0.01958453841507435, -1.2128554582595825, 0.28069326281547546, 0.25893527269363403, 0.02339751273393631, -0.19012345373630524, 0.9388943314552307, 0.039045047014951706, 0.8848865628242493, 0.08483535796403885, -0.4808257818222046, 0.12009996175765991, 0.1783062368631363, -0.11499080806970596, 0.43786394596099854, 0.21065649390220642, 0.40646418929100037, 0.3174569606781006, -0.08961450308561325, -0.22699612379074097, -0.21805691719055176, 0.15504878759384155, -0.532878577709198, 0.4194600284099579, 0.03226643428206444, -0.31011679768562317, -0.05346629023551941, 0.3289047181606293, -0.19309554994106293, -0.22110585868358612, -0.17934992909431458, 0.04560590535402298, -0.4815720319747925, -0.11642545461654663, 0.36995264887809753, -0.21942521631717682, 0.41497093439102173, 0.06422832608222961, -0.9105506539344788, 0.16061139106750488, 0.7367885708808899, 0.9246909618377686, -0.3450876772403717, -0.20357103645801544, -0.5945649743080139, 0.4630090594291687, -0.3241800367832184, 0.2548759877681732, -0.49841636419296265, -0.470919132232666, 0.23944978415966034, 0.006150135770440102, 0.28921249508857727, -0.2494010478258133, 0.27672892808914185, -0.8764463663101196, -0.09388283640146255, 0.022308191284537315, -0.5032494068145752, -0.20601364970207214, 0.015778936445713043, -0.559168815612793, 0.9454050064086914, 0.24159201979637146, -0.6153658032417297, 0.3208814263343811, -0.27015063166618347, -0.5903471112251282, -0.3099064528942108, -0.16388030350208282, -0.24172617495059967, 0.40023431181907654, -0.10989495366811752, 0.3398139476776123, -0.20953863859176636, 0.174094095826149, -0.5206655263900757, -0.5705901384353638, 0.40433570742607117, -0.2836364209651947, 0.6564902067184448, -0.09835811704397202, -0.2825062870979309, -0.33828818798065186, -0.4842756390571594, -0.07503476738929749, -0.1036561131477356, -0.637791097164154, -0.7532645463943481, 0.27748870849609375, -0.26385924220085144, 0.11828812211751938, 0.15135729312896729, -0.3593396544456482, 0.4487136900424957, -0.6178904175758362, 0.6896857023239136, 0.7248943448066711, -0.0070607615634799, 0.716054379940033, -0.2230800986289978, 0.5341067910194397, -0.15183182060718536, -0.198686882853508, -0.27008000016212463, -0.4469304084777832, -0.7454640865325928, -0.0784178152680397, 0.25448915362358093, 0.33246996998786926, -0.3870808780193329, 0.6873177886009216, -0.45511454343795776, -0.13719989359378815, 0.11682763695716858, 0.1298879235982895, 0.17937767505645752, 0.3354235291481018, 0.4671704173088074, -0.43733835220336914, -0.46397116780281067, -0.8115546703338623, 0.10566391795873642, 0.003453170880675316, -0.10276781767606735, 0.0806259959936142, 0.4930257797241211, -0.26872408390045166, 1.38494074344635, -0.4789530038833618, -0.3590136468410492, -0.1778227537870407, -0.33134323358535767, 0.65646892786026, 0.5004276037216187, 0.640473484992981, -0.7159239053726196, -0.3929276466369629, -0.02305324748158455, -0.8229247331619263, 0.177063450217247, -0.058913473039865494, -0.0927763357758522, 0.34189480543136597, 0.44893738627433777, -0.6532723307609558, 0.6559589505195618, 0.7931998372077942, -0.22861547768115997, 0.30207958817481995, -0.27757877111434937, -0.4157850742340088, -0.7014008164405823, -0.10735983401536942, -0.2130996733903885, -0.3045318126678467, -0.44265204668045044, 0.06848900020122528, 0.24276293814182281, 0.06794363260269165, -0.3612768352031708, 0.5150241255760193, -0.6249334216117859, -0.22364524006843567, -0.3680044114589691, 0.4393359124660492, -0.11683163046836853, 0.4409165382385254, 0.02779010310769081, 0.5209882259368896, 0.483183354139328, -0.929699718952179, 0.08540757745504379, 0.16351597011089325, -0.27553388476371765, 0.7583087682723999, -0.8103179335594177, 0.20214927196502686, -0.1817273199558258, 0.6404502391815186, -0.9569559097290039, -0.12718024849891663, -0.012340818531811237, -0.2620728313922882, 0.5390973091125488, -0.48877426981925964, 0.07103057950735092, -0.3287142515182495, -0.6518547534942627, 0.7741571068763733, 0.6053065061569214, -0.46580666303634644, 0.15564630925655365, 0.41391521692276, 0.13818509876728058, -1.1515971422195435, -0.9203174710273743, 0.09956289082765579, -0.562448263168335, -0.862269937992096, 0.803562343120575, 0.01042221114039421, -0.2913469970226288, -0.13336141407489777, -0.38964614272117615, -0.01568104512989521, -0.08115722239017487, 0.2795705497264862, -0.14906668663024902, -0.541720449924469, 0.3952278792858124, 0.21011564135551453, -0.08024395257234573, 0.0628272145986557, -0.3273983299732208, 0.6194286346435547, -0.2154940813779831, -0.5592831373214722, 0.13759228587150574, 0.3707484006881714, 0.6449808478355408, -0.11070061475038528, 0.7567082047462463, 0.008845857344567776, -0.2676262855529785, -0.33641716837882996, -0.4159153699874878, 0.15388421714305878, -0.5901614427566528, 0.25348106026649475, -0.24337349832057953, -0.8517662882804871, 0.468869686126709, 0.09587889164686203, -0.2652931809425354, 0.38891518115997314, 0.18438991904258728, -0.2969622313976288, 0.776145875453949, 0.8186330795288086, -0.134144127368927, 0.6504291892051697, -0.5632289052009583, 0.21325884759426117, -1.264037013053894, 0.1301817148923874, -0.24980853497982025, -0.4924698770046234, -0.47802144289016724, -0.6191040873527527, 0.4123299717903137, 0.9584860801696777, -0.49910038709640503, 0.35350924730300903, -0.1909087747335434, 0.4343414306640625, 0.39548876881599426, 0.005647224839776754, 0.08455618470907211, -0.1199689656496048, -0.21898698806762695, -0.04509158805012703, -0.6420887112617493, -0.5061364769935608, 0.836408793926239, 0.5134657025337219, 0.9665182828903198, 0.30559179186820984, 0.6089377403259277, 0.3490157723426819, 0.29279953241348267, -1.012642502784729, 0.2877052128314972, 0.14347931742668152, -0.4681718349456787, -0.5554957389831543, 0.18705175817012787, -1.0805087089538574, -0.0894438624382019, 0.2936544716358185, -0.7528191208839417, 0.1673165112733841, 0.06189941614866257, 0.025659609586000443, 0.34582698345184326, -0.1955840289592743, 0.405865877866745, -0.4903563857078552, -0.26053586602211, -0.18363413214683533, -0.7995504140853882, 0.14252428710460663, 0.20150192081928253, 0.13955307006835938, -0.13155891001224518, -0.29781216382980347, 0.7971116900444031, -0.5763037204742432, 0.9333609938621521, -0.1474163979291916, -0.46076083183288574, 0.508208155632019, -0.028433071449398994, 0.734486997127533, 0.2718663513660431, -0.08101329952478409, 0.16636763513088226, -0.3580727279186249, -0.4274914562702179, -0.5811781883239746, 0.8043411374092102, -0.6103283166885376, -0.8655084371566772, -0.44245225191116333, -0.10884977877140045, -0.2047937512397766, 0.09560420364141464, 0.19561921060085297, 0.5209951400756836, -0.09356334060430527, 0.7568404078483582, 0.6182036399841309, -0.34135702252388, 0.82481449842453, 0.14494863152503967, -0.21983833611011505, -0.4682445824146271, 0.472196102142334, 0.3415856957435608, 0.345442533493042, 0.3632311522960663, 0.1949242800474167, -0.39487123489379883, -0.5207230448722839, -0.5187215209007263, 0.43785980343818665, -1.0566866397857666, -0.2581873834133148, -0.15123194456100464, -0.18533705174922943, 0.17975029349327087, -0.8447978496551514, -0.30253729224205017, -0.5611674785614014, -0.023267267271876335, -0.35475656390190125, 0.439266562461853, 0.9020147919654846, 0.08358169347047806, 0.3703998029232025, -0.7493022084236145, 0.08764132112264633, 0.2066413015127182, 0.4126274287700653, 0.14364111423492432, -0.4994543492794037, -0.5043947696685791, 0.30396419763565063, -0.31320473551750183, -0.9680848717689514, 0.2937108874320984, 0.29033154249191284, 0.6653029918670654, 0.5437092781066895, 0.13253723084926605, 0.6700024008750916, -0.6491093039512634, 0.9562746286392212, 0.39479461312294006, -1.061592698097229, 0.40574321150779724, -0.4890816807746887, 0.26786237955093384, 0.12256920337677002, 0.40330350399017334, -0.8395275473594666, -0.21987396478652954, -0.47356313467025757, -1.1295835971832275, 0.4783490002155304, 0.04817423224449158, 0.5619244575500488, -0.3195628821849823, 0.43312200903892517, -0.05582659691572189, 0.1108064204454422, -0.631868302822113, -0.2460559457540512, -0.15818153321743011, 0.05202583223581314, -0.09743919223546982, -0.560746431350708, -0.19629593193531036, -0.17725247144699097, 0.1807006448507309, -0.21977859735488892, 0.5331111550331116, 0.1840590089559555, -0.5637285113334656, -0.17860528826713562, 0.07308296859264374, 1.0033496618270874, 1.2116974592208862, -0.2601042091846466, 0.3085547983646393, 0.691609263420105, -0.3274879455566406, 0.4082942306995392, -0.6846914887428284, 0.061229407787323, -0.006310358177870512, 0.6710854768753052, 0.5610727071762085, 0.3362610936164856, -0.510886013507843, 0.4865925908088684, 0.6072215437889099, 0.2498897910118103, -0.6647836565971375, 0.12560346722602844, 0.21399083733558655, -0.032715123146772385, 0.8144282698631287, -0.1636761873960495, -0.21149848401546478, -0.557911217212677, 0.3424539268016815, 0.32706543803215027, -0.6261729001998901, -0.40382206439971924, 0.4634738564491272, 0.17364412546157837, -0.7268157005310059, 0.49694082140922546, 0.2597992718219757, -0.4713188707828522, 0.7595399022102356, 0.6750237345695496, 0.39512428641319275, -0.26567432284355164, -0.07237225770950317, 0.26345881819725037, -0.042495544999837875, 0.03294031694531441, -0.11940009146928787, -0.02566055953502655, -0.7065261602401733, -0.45804521441459656, -0.5618460774421692, -0.10100897401571274, -0.13279308378696442, -0.7299467921257019, 0.4123871624469757, -0.37615716457366943, -0.14531731605529785, -0.6399582624435425, -0.24719224870204926, -0.32993730902671814, 0.16594788432121277, 0.15312933921813965, 0.757416307926178, -0.09477976709604263, 1.2227529287338257, 0.441152960062027, -0.11293623596429825, -0.2233506739139557, -0.06059833616018295, -0.2755449712276459, -0.6317311525344849, 1.1491241455078125, 0.6127684116363525, -0.5914367437362671, -0.289542555809021, -0.45440107583999634, -1.154530644416809, 1.3298308849334717, 0.2592368423938751, -0.4121286869049072, -0.12508705258369446, 0.2984316945075989, 0.607890784740448, -0.515359103679657, -0.058641593903303146, 0.13292460143566132, 0.2134360522031784, -0.23411370813846588, -0.9003830552101135, 0.04262905940413475, 0.2400256246328354, 0.3632674515247345, 0.2827259600162506, -0.6492953300476074, 0.9095808863639832, -0.1667034924030304, -0.1726163625717163, -0.058441370725631714, 0.7559241056442261, 0.3052813410758972, 0.05742810294032097, 0.541800320148468, 0.4028320908546448, 0.5587064027786255, 0.3093257248401642, 1.2253940105438232, -0.4662548899650574, 0.6500456929206848, 0.8698221445083618, -0.1396876871585846, 1.0956896543502808, 0.6749871373176575, -0.0768645778298378, 0.8123790621757507, 0.3530561327934265, 0.6324387788772583, 0.6108790040016174, 0.5712342858314514, -0.13451412320137024, -0.0766267329454422, 0.10583870857954025, -0.850458562374115, 0.40639206767082214, 0.6322197914123535, -0.556424081325531, -0.06260883063077927, 0.020847994834184647, 0.21485762298107147, -0.022888856008648872, -0.15509676933288574, 0.10885118693113327, 0.45197150111198425, -0.5305914282798767, 1.1161813735961914, 0.2804783880710602, 0.8999210596084595, -0.7036464810371399, -0.04210629686713219, -0.27397748827934265, 0.32892873883247375, 0.0680508241057396, -0.9594526886940002, 0.40741756558418274, -0.3889477849006653, 0.011543589644134045, -0.3502764105796814, 0.576388418674469, -0.2918827533721924, 0.010397670790553093, 0.5232723951339722, 0.16984570026397705, -0.28348931670188904, 0.21086983382701874, -0.27510377764701843, 0.05719307065010071, -0.44364410638809204, -0.7145395278930664, 0.29307326674461365, 0.5261756181716919, -0.287565678358078, 0.7710716724395752, 0.39771077036857605, -0.3337404727935791, 0.03892047330737114, -0.447331964969635, 0.9037072658538818, -0.9762064218521118, -0.47819820046424866, -0.9556670188903809, 0.5361724495887756, -0.05159517750144005, -0.5352970361709595, 0.624552845954895, 0.21847698092460632, 0.8366640210151672, -0.22434814274311066, 0.4653574228286743, -0.3511418402194977, -0.03629510477185249, -0.7830860614776611, 0.5550631284713745, -0.4764879643917084, 0.3104040026664734, -0.1259632259607315, -1.06535804271698, -0.34245139360427856, 0.9466829299926758, -0.4502578377723694, 0.07364337146282196, 0.8548312783241272, 0.5204092860221863, -0.20530767738819122, -0.49658817052841187, 0.45085224509239197, 0.003918319474905729, 0.4051815867424011, 0.6545321941375732, 1.032883882522583, -0.3202624022960663, 0.1878788322210312, -0.23745134472846985, 0.11455260962247849, -0.7084057331085205, -1.0665764808654785, -1.041569471359253, -0.5980600714683533, 0.03195742517709732, -0.3491266071796417, 0.085298091173172, 0.860062301158905, 0.9639737010002136, -0.6785743236541748, -0.5632622241973877, -0.10867632925510406, 0.31923604011535645, -0.17556872963905334, -0.1913524568080902, 0.4666615426540375, -0.06406247615814209, -0.406355619430542, 0.6862896084785461, 0.4257561266422272, 0.04772072285413742, -0.3051808476448059, -0.5620311498641968, -0.4402190148830414, -0.02873978763818741, 0.9073300361633301, 0.3344530463218689, -0.7329115271568298, -0.8540217876434326, 0.025811240077018738, -0.1828259378671646, 0.4015640318393707, 0.8462052345275879, -0.6919521689414978, 0.02520304173231125, 0.6178067922592163, 0.48832419514656067, 0.6163150668144226, 0.0888044536113739, 0.9528468251228333, -1.1877167224884033, 0.5156435966491699, 0.23226182162761688, 0.458266019821167, 0.25437143445014954, -0.36184632778167725, 0.7379584908485413, 0.151291161775589, -0.30646541714668274, -0.8296124339103699, 0.5315710306167603, -1.1548336744308472, -0.20326653122901917, 1.3889081478118896, -0.22018635272979736, -0.2798951268196106, -0.1484355479478836, -0.3779701292514801, 0.09727546572685242, -0.12741932272911072, 0.545476496219635, 0.7248091697692871, -0.10663487762212753, -0.0648997500538826, -0.5278069972991943, 0.4119502604007721, 0.3347969651222229, -0.23052331805229187, -0.1745995581150055, 0.1988622099161148, 0.3466455340385437, 0.34002840518951416, 0.3810608386993408, 0.27474379539489746, 0.1019924208521843, -0.32665079832077026, -0.2373611330986023, -0.092064268887043, -0.4410203695297241, -0.2511593997478485, 0.292936772108078, 0.3469371497631073, 0.06211875006556511 ]
http://arxiv.org/abs/2405.14577v1
http://arxiv.org/pdf/2405.14577v1
Representation noising effectively prevents harmful fine-tuning on LLMs
2024-05-23T13:51:55
2024-05-23T13:51:55
Domenic Rosati, Jan Wehner, Kai Williams, Łukasz Bartoszcze, David Atanasov, Robie Gonzales, Subhabrata Majumdar, Carsten Maple, Hassan Sajjad, Frank Rudzicz
cs.CL
cs.CL, cs.LG
Releasing open-source large language models (LLMs) presents a dual-use risk since bad actors can easily fine-tune these models for harmful purposes. Even without the open release of weights, weight stealing and fine-tuning APIs make closed models vulnerable to harmful fine-tuning attacks (HFAs). While safety measures like preventing jailbreaks and improving safety guardrails are important, such measures can easily be reversed through fine-tuning. In this work, we propose Representation Noising (RepNoise), a defence mechanism that is effective even when attackers have access to the weights and the defender no longer has any control. RepNoise works by removing information about harmful representations such that it is difficult to recover them during fine-tuning. Importantly, our defence is also able to generalize across different subsets of harm that have not been seen during the defence process. Our method does not degrade the general capability of LLMs and retains the ability to train the model on harmless tasks. We provide empirical evidence that the effectiveness of our defence lies in its "depth": the degree to which information about harmful representations is removed across all layers of the LLM.
[ -0.3503744602203369, -0.3363822400569916, 0.17744021117687225, -0.14469501376152039, -0.44420790672302246, -0.003933700267225504, -0.39138221740722656, -0.4842154383659363, 0.0695309266448021, 0.9719802737236023, -0.2560475170612335, -0.6859743595123291, -0.676345705986023, -0.034288208931684494, -0.36690494418144226, 0.980811357498169, -0.08031504601240158, 0.010427333414554596, -0.15097948908805847, -0.37030094861984253, -0.47575029730796814, -0.6639924049377441, -0.7895344495773315, -0.2718042731285095, 0.7234985828399658, 0.4080379903316498, 0.5215039849281311, 0.6369436383247375, 0.5398777723312378, 0.2729202210903168, 0.02189107984304428, -0.055777426809072495, -0.865411102771759, 0.5291850566864014, -0.2887609601020813, -0.7646434903144836, -0.2971836030483246, 0.01324990764260292, 0.7071608304977417, 0.43660596013069153, -0.003949304111301899, -0.01803634501993656, 0.03269955515861511, 0.7744864821434021, -0.9640016555786133, -0.1219564899802208, -0.9946441650390625, -0.00530375586822629, -0.2094772607088089, -0.05292756110429764, -0.6900388598442078, -0.0026201927103102207, -0.4859488308429718, -0.6563263535499573, -0.0795779600739479, -0.15947923064231873, 0.9016557335853577, 0.5279710292816162, -0.15629255771636963, 0.208140566945076, -0.6495206952095032, 0.8577983379364014, -0.8914621472358704, 0.1608021855354309, 0.38185426592826843, 0.37373751401901245, -0.28274452686309814, -0.22159402072429657, -0.12895002961158752, -0.4639594852924347, -0.08739624917507172, -0.12980543076992035, -0.454917848110199, 0.3030361533164978, 0.5350925922393799, 0.05204348638653755, -0.26022008061408997, 0.447216272354126, -0.2947652339935303, -0.5485889315605164, 0.6486870646476746, -0.09024273604154587, 0.5868686437606812, -0.08735670894384384, -0.38655105233192444, -0.1882079839706421, -1.1779273748397827, -0.2768573760986328, 0.6007694005966187, 0.48098501563072205, -0.1170421615242958, 0.6953725218772888, -0.07137192785739899, 0.42494380474090576, 0.04618401452898979, 0.10371054708957672, -0.05120186135172844, 0.05804002657532692, -0.2808276116847992, 0.11995470523834229, 0.7601610422134399, 0.4312967360019684, 0.5185407996177673, -0.46768054366111755, -0.4499223232269287, 0.318303644657135, 0.5634925961494446, -0.8191461563110352, 0.05308637395501137, 0.10451813787221909, -0.1934102475643158, -0.45570406317710876, 0.010360528714954853, -0.6784916520118713, -0.7224397659301758, -0.033451274037361145, 0.45693057775497437, -0.48956552147865295, -0.46046286821365356, 0.22218790650367737, -0.1875011920928955, 0.17240014672279358, 0.12253511697053909, -0.8471757173538208, 0.46438848972320557, 0.8502421379089355, 0.674475908279419, 0.0861244797706604, 0.011839753948152065, -0.7351740002632141, 0.37662458419799805, -0.5689717531204224, 0.4867021441459656, -0.384182333946228, -0.3573703169822693, -0.17495892941951752, -0.018191877752542496, 0.2544804811477661, -0.7983832359313965, 0.5243365168571472, -0.5305279493331909, -0.1906990259885788, -0.21616406738758087, -0.3666749894618988, 0.0959855169057846, 0.35343605279922485, -0.8336858749389648, 0.5453661680221558, 0.050884444266557693, -0.7034256458282471, 0.33831092715263367, -0.236028254032135, -0.4638371467590332, -0.28721755743026733, -0.28560692071914673, -0.6660722494125366, 0.37498486042022705, 0.12420135736465454, 0.3436518907546997, 0.16511499881744385, -0.002581261331215501, -0.5479027628898621, -0.382307231426239, -0.12711201608181, -0.2007649838924408, 0.5291683673858643, 0.26357677578926086, -0.2754662036895752, 0.37185385823249817, -0.5675808787345886, -0.1989457905292511, 0.16633747518062592, -0.17915977537631989, -0.7113708257675171, -0.2373349964618683, -0.5413379073143005, 0.101024329662323, 0.3058170676231384, -0.8151467442512512, 0.348222017288208, -0.7562755942344666, 0.4895528554916382, 0.9427675604820251, 0.14353208243846893, 0.7651697397232056, -0.35058292746543884, 0.5631716847419739, -0.08582010865211487, 0.06844080239534378, -0.04933999478816986, -0.27079030871391296, -0.4632109999656677, -0.3593285381793976, 0.393489271402359, 0.25283369421958923, -0.8315908312797546, 0.11708086729049683, -0.11185533553361893, -0.4758106768131256, -0.5523026585578918, 0.15607815980911255, 0.6650965809822083, 0.23719920217990875, 0.21620047092437744, -0.17955368757247925, -0.6646246910095215, -1.0310828685760498, -0.6425004005432129, -0.13452500104904175, 0.016975749284029007, 0.06462322175502777, 0.43415001034736633, -0.14146791398525238, 0.45009860396385193, -0.2076234221458435, -0.23387642204761505, -0.03439164534211159, 0.15590578317642212, -0.14387039840221405, 0.5926317572593689, 0.775795042514801, -0.48215043544769287, -0.29259994626045227, 0.029371848329901695, -0.8340389132499695, -0.2278890460729599, -0.20671041309833527, -0.17528940737247467, 0.32581642270088196, 0.5229410529136658, -0.7285882234573364, 0.5211085677146912, 0.350288063287735, -0.12916775047779083, 0.6428742408752441, -0.1564214527606964, -0.17705535888671875, -0.7445840835571289, 0.050693873316049576, -0.09132690727710724, -0.4164202809333801, -0.4991350769996643, 0.5827974677085876, 0.1384855955839157, -0.39175137877464294, -0.4306432902812958, 0.6907919049263, -0.34089213609695435, 0.1150413528084755, -0.2922702431678772, 0.07536563277244568, 0.10270702838897705, 0.3275201916694641, -0.19146102666854858, 0.6671648025512695, 0.5293391346931458, -0.5392009019851685, -0.10861904174089432, -0.17124834656715393, -0.24665187299251556, 0.4831484258174896, -0.7048598527908325, 0.11799084395170212, -0.12907348573207855, -0.2614549696445465, -0.9475865364074707, -0.08543354272842407, 0.5763872265815735, -0.389320969581604, 0.7120000123977661, -0.4848547875881195, -0.36533957719802856, -0.18909043073654175, -0.47752121090888977, 0.20193414390087128, 0.2974631190299988, -0.3944254517555237, 0.4091232717037201, 0.4445361793041229, 0.11578930914402008, -0.8662300705909729, -0.9961535930633545, 0.30373403429985046, -0.394203782081604, -0.544188380241394, 0.3838040232658386, 0.11525829881429672, -0.3018271028995514, 0.07969335466623306, -0.5849603414535522, 0.17376786470413208, 0.45523613691329956, 0.33213484287261963, 0.004123235587030649, -0.0732182115316391, 0.19788363575935364, -0.00938014592975378, -0.3581605553627014, 0.1885293424129486, -0.2052025943994522, 0.47640785574913025, 0.22637295722961426, -0.7113097310066223, -0.502617597579956, 0.2770281136035919, 0.7365114688873291, -0.21446345746517181, 0.8370286226272583, 0.31823375821113586, -0.37819185853004456, -0.24565881490707397, -0.4602143466472626, -0.39807555079460144, -0.4855912923812866, 0.40210890769958496, -0.17159922420978546, -1.1560547351837158, 0.46381980180740356, -0.10183164477348328, 0.18768875300884247, 0.30124354362487793, 0.30611997842788696, 0.05324864387512207, 0.912121593952179, 0.644788384437561, -0.37357017397880554, 0.6942800283432007, -0.2442854940891266, 0.17514492571353912, -0.7622031569480896, -0.08300016075372696, -0.5459806323051453, -0.531254768371582, -0.5570144653320312, -0.09407078474760056, 0.14317190647125244, 0.48856186866760254, -0.35629531741142273, 0.5941779017448425, -0.6697709560394287, 0.5007421374320984, 0.33629971742630005, 0.19778645038604736, 0.16137151420116425, 0.2724774479866028, -0.11354148387908936, -0.10725366324186325, -0.33389273285865784, -0.6165983080863953, 1.2784532308578491, 0.4135204553604126, 0.9818945527076721, 0.2517628073692322, 1.2457603216171265, 0.21731111407279968, 0.2528701424598694, -0.7841333150863647, 0.6463976502418518, -0.1762169450521469, -0.5175328254699707, -0.3896106779575348, -0.7806782126426697, -1.057243824005127, 0.26870590448379517, -0.18231432139873505, -0.7750130295753479, 0.2455737292766571, 0.1821761429309845, -0.3247573673725128, 0.6925734281539917, -0.7026692628860474, 0.7317261695861816, -0.092086561024189, -0.43712282180786133, -0.4303237795829773, -0.26418647170066833, 0.3931903839111328, 0.13505905866622925, 0.17302264273166656, -0.07889237254858017, -0.1650332808494568, 0.8275467157363892, -0.08871868997812271, 1.2378227710723877, -0.4569203853607178, -0.3344491422176361, 0.22769393026828766, 0.5483695864677429, 0.6349112391471863, 0.0748789981007576, -0.14727739989757538, 0.22493577003479004, 0.01265980489552021, -0.47737929224967957, -0.8260750770568848, 0.7616689801216125, -0.8001527190208435, -1.064234972000122, -0.2746438682079315, -0.4149329960346222, 0.059036049991846085, 0.5914766788482666, 0.108070008456707, 0.16505981981754303, -0.28646358847618103, 0.18898524343967438, 0.7551867365837097, -0.2930952310562134, 0.305585116147995, 0.6855190992355347, -0.1964125782251358, -0.6254189014434814, 0.9757919907569885, 0.29667380452156067, 0.5411642789840698, 0.23808932304382324, 0.129254549741745, -0.034434154629707336, -0.7269190549850464, -0.042407505214214325, 0.3038792312145233, -0.4561298191547394, -0.4945314824581146, -0.30846893787384033, -0.1408008486032486, -0.43549177050590515, 0.09687507897615433, -0.4159446060657501, -0.7417435050010681, -0.045305896550416946, -0.18864479660987854, 0.208505317568779, 0.925391435623169, -0.49778124690055847, 0.2818445563316345, -0.3675472140312195, 0.4247640371322632, 0.23502704501152039, 0.4635402262210846, 0.002616734243929386, -0.5717073678970337, -0.25740304589271545, 0.14242231845855713, -0.4208483397960663, -0.6059013605117798, 0.26146796345710754, -0.07899200171232224, 0.6673202514648438, 0.5101562142372131, 0.32582607865333557, 0.3714454472064972, -0.40665924549102783, 0.42315229773521423, 0.24995626509189606, -0.6848609447479248, 0.3127339482307434, -0.3752184808254242, 0.171404168009758, 0.49225103855133057, 0.2021511048078537, -0.6154547333717346, -0.496577650308609, -0.4601254165172577, -0.8355631828308105, 0.5713256597518921, -0.009346410632133484, 0.3542861342430115, -0.14617213606834412, 0.6105750799179077, -0.11411256343126297, 0.36890852451324463, -0.712415874004364, -0.02150609716773033, -0.2742503583431244, 0.1585463434457779, 0.044857192784547806, -0.4150697886943817, -0.36492833495140076, -0.1975480616092682, 0.6186239123344421, 0.13272687792778015, 0.06297179311513901, 0.10490583628416061, -0.14044155180454254, -0.3408019542694092, 0.4397919178009033, 0.5911304950714111, 0.1199963241815567, -0.20383356511592865, 0.3856908977031708, -0.07916269451379776, -0.2634955644607544, 0.38078057765960693, -0.31725814938545227, -0.28886592388153076, -0.3624601662158966, 0.6436127424240112, 0.6427561640739441, 0.46302348375320435, -0.5169472098350525, 0.4164200723171234, -0.0013523271773010492, -0.2506452798843384, 0.060793060809373856, 0.27071288228034973, 0.014767239801585674, -0.07576213032007217, -0.093488909304142, 0.5014785528182983, -0.24382330477237701, -0.5026941895484924, 0.4822463393211365, 0.6450596451759338, -0.529351532459259, -0.2825733423233032, 0.4636608362197876, -0.0774705708026886, -0.24199527502059937, 0.23111629486083984, -0.26413410902023315, -0.3251417875289917, 0.6193884015083313, 0.5365650653839111, 0.795184314250946, -0.34005582332611084, 0.16007834672927856, 0.4564431309700012, 0.7212973237037659, -0.1718704253435135, 0.11856088042259216, 0.22480285167694092, -0.7450401782989502, -0.491110235452652, -0.40348660945892334, -0.22454802691936493, 0.3027922511100769, -0.7943716049194336, -0.01729162596166134, -1.0208457708358765, -0.23761413991451263, -0.38445138931274414, -0.13222293555736542, -0.23483937978744507, -0.23174794018268585, 0.34764784574508667, 0.9185462594032288, -0.6762639284133911, 0.6773451566696167, 0.4485752284526825, -0.5497618317604065, -0.5033774971961975, -0.05146109685301781, -0.023104360327124596, -0.7191840410232544, 0.4816770851612091, 0.18006442487239838, -0.16952534019947052, -0.24918608367443085, -0.8638975024223328, -0.8601154685020447, 0.6017399430274963, 1.2652872800827026, -0.7674803137779236, 0.08821403980255127, 0.3009576201438904, 0.5313451886177063, -0.1328350454568863, -0.26050087809562683, 0.4409102499485016, 0.5970747470855713, -0.1448553204536438, -0.5928664207458496, 0.30284997820854187, -0.09034869819879532, -0.1977345198392868, 0.34625181555747986, -0.6384721398353577, 0.8603928685188293, -0.25789645314216614, -0.6988617777824402, 0.21758684515953064, 0.3127783536911011, 0.07179857790470123, -0.09995359182357788, 0.414736270904541, 1.0171658992767334, 0.8600807785987854, -0.06978895515203476, 1.1071257591247559, -0.22416895627975464, 0.08622940629720688, 1.3716869354248047, -0.3040340542793274, 0.8251350522041321, 0.49127691984176636, 0.18397000432014465, 0.40617167949676514, 0.2297506034374237, -0.019564496353268623, 0.770343542098999, 0.5338510870933533, -0.08962959051132202, -0.4025510251522064, -0.14188729226589203, -0.2884575426578522, 0.2569952607154846, 0.19530744850635529, -0.1891104280948639, -0.5790264010429382, 0.01707358844578266, 0.2439441829919815, 0.49335992336273193, -0.4126630425453186, 0.9943605065345764, 0.40058770775794983, -0.328794926404953, 1.0055210590362549, -0.0789625272154808, 0.5878272652626038, -0.5828658938407898, -0.0467381589114666, -0.10920711606740952, 0.10378574579954147, -0.29149144887924194, -0.6058303117752075, 0.5898972749710083, -0.20974388718605042, -0.16400884091854095, -0.0938149020075798, 0.8946014046669006, -0.2997632622718811, -0.2115240842103958, 0.8177666664123535, 0.1487579196691513, -0.19786418974399567, -0.485563725233078, -0.6630937457084656, 0.23353691399097443, -0.16718660295009613, -0.022095588967204094, 0.7003045678138733, 0.6139256954193115, -0.18280555307865143, 0.7967585921287537, 0.4368218779563904, 0.33705905079841614, -0.03568829968571663, 0.19553442299365997, 1.1614031791687012, -0.5131072998046875, -0.13995647430419922, -1.169025182723999, 0.36123839020729065, -0.19949199259281158, 0.17382775247097015, 0.951468288898468, 0.41485607624053955, 0.9215893149375916, 0.1726362407207489, 0.7929861545562744, 0.3837904930114746, 0.14373737573623657, -0.4179903566837311, 1.09326171875, -0.5376590490341187, 0.38065457344055176, -0.29689911007881165, -0.4836815893650055, -0.4678049683570862, 0.36453941464424133, -0.6547001600265503, -0.30457618832588196, 0.3563250005245209, 0.9961662888526917, -0.06265415251255035, -0.30202245712280273, 0.6277242302894592, 0.45356738567352295, 0.3903788924217224, 0.49990731477737427, 0.7299727201461792, -0.39374300837516785, 0.6659423112869263, -0.32804322242736816, -0.16790926456451416, 0.025552738457918167, -0.8441537618637085, -1.2979625463485718, -0.14487487077713013, -0.102103091776371, -0.4244157671928406, 0.22801557183265686, 0.5003993511199951, 0.8422152996063232, -0.9491117000579834, -0.16450199484825134, 0.04705103859305382, 0.3602662980556488, -0.20851314067840576, -0.15267524123191833, 0.057508233934640884, -0.5440785884857178, -0.027385437861084938, 0.5082180500030518, 0.32823699712753296, -0.024026278406381607, -0.4875407814979553, -0.07443799078464508, -0.05495995283126831, -0.009763887152075768, 0.4006496071815491, 0.48422035574913025, -0.6900124549865723, -0.5411641597747803, -0.4152943789958954, -0.16362915933132172, 0.19110871851444244, 0.7984528541564941, -0.6288687586784363, 0.5024538040161133, 0.3774312138557434, 0.8091554641723633, 0.20602089166641235, -0.26502811908721924, 0.7523730993270874, -1.0330489873886108, 0.5095837116241455, 0.1917894184589386, 0.4504598379135132, 0.3968394696712494, -0.624261200428009, 0.4952183663845062, 0.04927333816885948, -0.25590142607688904, -0.9904116988182068, 0.4202835261821747, -0.46638134121894836, -0.4308752119541168, 0.8789228200912476, -0.28355222940444946, -0.5494551062583923, 0.02346179634332657, -0.3356610834598541, 0.29318496584892273, -0.7070484757423401, 1.0091804265975952, 0.5670369267463684, 0.4137614071369171, -0.13926850259304047, -0.417925626039505, 0.5539906620979309, 0.3734931945800781, -0.4872380793094635, 0.45750609040260315, 0.17464882135391235, 0.4113563299179077, 0.21661841869354248, 0.2889319360256195, -0.3935557007789612, 0.009509383700788021, -0.09309626370668411, 0.16135776042938232, -0.42788165807724, -0.4377862811088562, -0.5919181704521179, 0.27790504693984985, 0.22184988856315613, -0.0710049420595169 ]
http://arxiv.org/abs/2405.14555v4
http://arxiv.org/pdf/2405.14555v4
Subtle Biases Need Subtler Measures: Dual Metrics for Evaluating Representative and Affinity Bias in Large Language Models
2024-05-23T13:35:34
2024-06-03T16:43:16
Abhishek Kumar, Sarfaroz Yunusov, Ali Emami
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG
Research on Large Language Models (LLMs) has often neglected subtle biases that, although less apparent, can significantly influence the models' outputs toward particular social narratives. This study addresses two such biases within LLMs: representative bias, which denotes a tendency of LLMs to generate outputs that mirror the experiences of certain identity groups, and affinity bias, reflecting the models' evaluative preferences for specific narratives or viewpoints. We introduce two novel metrics to measure these biases: the Representative Bias Score (RBS) and the Affinity Bias Score (ABS), and present the Creativity-Oriented Generation Suite (CoGS), a collection of open-ended tasks such as short story writing and poetry composition, designed with customized rubrics to detect these subtle biases. Our analysis uncovers marked representative biases in prominent LLMs, with a preference for identities associated with being white, straight, and men. Furthermore, our investigation of affinity bias reveals distinctive evaluative patterns within each model, akin to `bias fingerprints'. This trend is also seen in human evaluators, highlighting a complex interplay between human and machine bias perceptions.
[ -0.6144852638244629, -0.4153203070163727, 0.5635231733322144, 0.05867679417133331, -0.16649781167507172, 0.386588454246521, -0.5272464156150818, -0.4272451400756836, 0.3223375976085663, 0.40709930658340454, -0.5717694163322449, -0.47293511033058167, -0.4794548749923706, -0.12266319990158081, -0.2146688550710678, 1.0695061683654785, -0.04573657363653183, 0.14113624393939972, -0.23094618320465088, -0.39837539196014404, -0.34712710976600647, -0.12119371443986893, -0.31986507773399353, -0.43647444248199463, 1.0596250295639038, 0.2695663869380951, 0.6739057302474976, 0.45374879240989685, 0.39042845368385315, 0.10497808456420898, 0.085683174431324, 0.10650883615016937, -0.44211333990097046, 0.10557279735803604, -0.4073929786682129, -0.4385600984096527, -0.3020019233226776, 0.4382314682006836, 0.618463397026062, 0.8058825731277466, 0.5847828984260559, 0.763169527053833, 0.3038022220134735, 0.818641722202301, -0.7021161317825317, -0.12238264083862305, -0.5017674565315247, 0.028827432543039322, -0.4194638729095459, 0.07205916941165924, -0.2289806753396988, -0.520786702632904, 0.2261812686920166, 0.020226823166012764, 0.46128779649734497, 0.19465197622776031, 0.6243253350257874, 0.04677077382802963, -0.45387667417526245, -0.36101868748664856, -0.6092215776443481, 1.1403276920318604, -0.5854508280754089, 0.07547906786203384, -0.14677757024765015, 0.23994366824626923, 0.17322227358818054, -0.3953668475151062, -0.3463132381439209, -0.2782384753227234, 0.03519895672798157, -0.00282673561014235, -0.08386281877756119, -0.26283538341522217, 0.2912599444389343, 0.39086052775382996, -0.4709397256374359, 0.3713853061199188, -0.06518707424402237, -0.22598321735858917, 1.0139480829238892, 0.3304242193698883, 0.2842126488685608, 0.013948171399533749, -0.2708907127380371, 0.03583143651485443, -0.887877345085144, 0.23358294367790222, 1.0109527111053467, 0.34946170449256897, -0.34667491912841797, 0.6102798581123352, -0.072308748960495, 0.524341881275177, 0.14789056777954102, 0.023084647953510284, 0.10013886541128159, -0.2672105133533478, 0.2994074821472168, 0.04813627526164055, 0.9658005833625793, 0.2774432897567749, 0.46869418025016785, -0.13606320321559906, -0.298308789730072, 0.30018147826194763, 0.1677824705839157, -0.5520418286323547, 0.022261185571551323, 0.13961289823055267, -0.5748172402381897, -0.3826271891593933, 0.26290571689605713, -0.917330265045166, -0.7832570672035217, -0.3219434916973114, 0.1501968502998352, 0.09885630756616592, -0.3250446319580078, -0.29018276929855347, -0.5098218321800232, 0.27972185611724854, 0.06201644241809845, -0.7816234230995178, 0.16736026108264923, 0.8263483643531799, 0.6048187613487244, -0.5265451073646545, -0.144502192735672, -0.46852266788482666, -0.07793573290109634, -0.42762452363967896, 0.6370154023170471, -0.7329378724098206, -0.05730981379747391, -0.020755434408783913, -0.43689340353012085, 0.30061590671539307, -0.5447996258735657, 0.5266551375389099, -0.21067486703395844, 0.23479335010051727, -0.6613187193870544, -0.39703068137168884, 0.05796376243233681, -0.004929645918309689, -0.7102680206298828, 0.9000471830368042, 0.31957703828811646, -0.9799311757087708, 0.664930522441864, -0.3893434703350067, -0.13477350771427155, -0.04237359017133713, -0.6409810185432434, -0.39911726117134094, 0.5454098582267761, -0.014648842625319958, 0.38957610726356506, -0.6294994950294495, 0.45087507367134094, -0.5586360096931458, -0.5058557391166687, 0.5555214285850525, -0.325121134519577, 0.6332060694694519, 0.10206222534179688, -0.6169751882553101, 0.2708704173564911, -0.7347249984741211, -0.09900917857885361, 0.17264486849308014, -0.2106713056564331, -0.38539180159568787, -0.04717132821679115, -0.17566098272800446, 0.058556124567985535, 0.4203563630580902, -0.4114348292350769, -0.030883198603987694, -0.16799615323543549, 0.04531775787472725, 0.9065538644790649, -0.12412940710783005, 0.7530942559242249, -0.5312293767929077, 0.5757278203964233, -0.02714039757847786, -0.14958979189395905, 0.05911274999380112, -0.3631548583507538, -0.740933358669281, -0.29750683903694153, 0.13558562099933624, -0.02212122268974781, -0.3203992247581482, 0.7196305990219116, -0.25736650824546814, -0.7813289761543274, -0.7241495251655579, 0.3214821517467499, 0.35769152641296387, 0.13262686133384705, -0.08387868851423264, -0.5920369029045105, -0.2845512330532074, -1.0968542098999023, -1.1550339460372925, -0.008569051511585712, -0.340236634016037, 0.5550923347473145, 0.3737941384315491, -0.12606129050254822, 1.1101714372634888, -0.3154512643814087, -0.26578289270401, -0.5616235136985779, 0.27382296323776245, 0.15719085931777954, 0.03154516965150833, 0.6227794885635376, -0.4392988979816437, -0.5801754593849182, -0.27585458755493164, -0.33140161633491516, -0.7287331223487854, -0.09559265524148941, 0.05991821736097336, -0.006001447327435017, -0.06531622260808945, -0.32941189408302307, 0.22810125350952148, 0.661229133605957, -0.598589301109314, 0.8353047966957092, 0.5111678242683411, -0.20835624635219574, -0.6145066618919373, 0.09463876485824585, 0.37321579456329346, 0.1480255126953125, -0.2671082615852356, -0.034843429923057556, -0.055117443203926086, 0.369881272315979, -0.3228352665901184, 0.9599801898002625, -0.7889595031738281, -0.27410343289375305, -0.04052688553929329, 0.25488969683647156, 0.32037147879600525, 0.26459425687789917, -0.1251281499862671, 0.5097828507423401, 0.23968124389648438, -0.23114581406116486, 0.41771209239959717, -0.2671339213848114, -0.5817812085151672, 0.41120645403862, -0.40517377853393555, 0.4498167634010315, -0.15800423920154572, 0.056376006454229355, -1.1275231838226318, -0.1806967854499817, 0.043850596994161606, -0.3913101851940155, 0.32039567828178406, 0.17865322530269623, -0.2614969313144684, -0.4099339246749878, -0.7446866631507874, 0.3260433077812195, 0.5525916814804077, -0.3999221622943878, 0.5326454639434814, 0.3504343032836914, -0.20162703096866608, -0.5902593731880188, -0.6500839591026306, -0.12593156099319458, -0.5808758735656738, -0.5987875461578369, 0.057334013283252716, 0.11071952432394028, -0.6652669906616211, -0.0710168182849884, -0.07855673134326935, 0.17406117916107178, -0.0797552838921547, 0.25340375304222107, 0.09475516527891159, -0.14069445431232452, -0.12474020570516586, 0.09521565586328506, 0.05933479964733124, 0.18628522753715515, -0.07059077173471451, 0.7025987505912781, -0.09909169375896454, -0.5029088854789734, -0.1307392418384552, 0.17213894426822662, 0.5151238441467285, -0.3266828954219818, 0.5393226146697998, 0.9068205952644348, 0.11779291927814484, -0.4644293189048767, -0.949476420879364, -0.3635551333427429, -0.4080977141857147, 0.3405712842941284, -0.12984922528266907, -1.013351559638977, 0.773410975933075, 0.11108250170946121, -0.04344753548502922, 0.429813027381897, 0.7616332173347473, 0.24157200753688812, 1.0375242233276367, 0.37605831027030945, -0.2790338397026062, 0.4790983498096466, -0.02661789022386074, 0.4911836087703705, -1.1880826950073242, 0.018253089860081673, -0.5400691032409668, -0.7505918741226196, -0.4567021429538727, -0.2345760613679886, 0.27810409665107727, -0.19520936906337738, -0.24168947339057922, -0.15030981600284576, -0.6079055666923523, 0.35931089520454407, 0.6032569408416748, -0.14701953530311584, -0.01949205994606018, -0.1229906901717186, -0.2873741388320923, -0.3625209927558899, -0.49855300784111023, -0.9776613712310791, 1.253275990486145, 0.6234558820724487, 0.8614886403083801, -0.1653672605752945, 0.7290002703666687, 0.17524033784866333, 0.5945156812667847, -0.7081717252731323, 0.5829254984855652, -0.009506240487098694, -0.61739182472229, -0.3063124716281891, -0.38322144746780396, -0.6842801570892334, 0.12429637461900711, 0.06296356767416, -0.7907995581626892, 0.1838977038860321, 0.10990998893976212, -0.34252727031707764, 0.24804691970348358, -0.5531533360481262, 0.8652183413505554, -0.36328014731407166, -0.8368416428565979, 0.0026915185153484344, -0.43840959668159485, 0.5611196756362915, -0.12312247604131699, 0.1271241158246994, -0.36318862438201904, -0.056311700493097305, 0.7191426753997803, 0.08826792985200882, 0.937218964099884, -0.16241173446178436, -0.14121541380882263, 0.40705984830856323, 0.2940930724143982, 0.47237929701805115, -0.06336650252342224, -0.22331516444683075, 0.2962871789932251, -0.4062473773956299, -0.15532267093658447, -0.3659486770629883, 0.6981248259544373, -0.6176037788391113, -0.5500916838645935, -0.33199986815452576, -0.6465680599212646, -0.10781824588775635, 0.04781777039170265, 0.3345089852809906, 0.0814228281378746, -0.3979862630367279, 0.0540023073554039, 0.37915247678756714, -0.4702751338481903, 0.1860491782426834, 0.42751345038414, -0.1124076098203659, -0.026815004646778107, 0.7582418918609619, 0.28198620676994324, 0.44049352407455444, -0.00995483249425888, 0.5209565162658691, -0.2571280598640442, -0.40790119767189026, -0.29273635149002075, 0.4576110541820526, -0.34085312485694885, -0.025767160579562187, -0.4447762072086334, -0.10614708811044693, -0.36697614192962646, -0.20349560678005219, -0.3197683095932007, -0.22039401531219482, -0.33628907799720764, 0.01384972594678402, -0.10793320834636688, 0.5977895259857178, 0.10105334967374802, 0.07234471291303635, -0.4541461169719696, 0.3415907323360443, 0.3292219042778015, 0.3223345875740051, 0.24852660298347473, -0.6021476984024048, -0.2522985339164734, 0.007110606878995895, -0.43937674164772034, -0.7934756875038147, 0.33572202920913696, -0.015169357880949974, 0.3642376959323883, 0.7756233811378479, -0.045932576060295105, 0.21785429120063782, -0.3833326995372772, 1.0389487743377686, 0.16435562074184418, -0.8529987931251526, 0.2626120150089264, -0.46864205598831177, 0.35706377029418945, 0.5360585451126099, 0.11858008056879044, -0.5202080607414246, -0.8433265686035156, -0.5249248147010803, -0.5228815078735352, 0.5702939629554749, -0.2158987820148468, 0.355042040348053, -0.056457825005054474, 0.1828874796628952, 0.44375404715538025, 0.3839735686779022, -0.8053463697433472, -0.14364919066429138, 0.3308543264865875, -0.394971638917923, 0.16283299028873444, -0.5531449913978577, -0.2035813182592392, -0.0730559229850769, 0.3851223289966583, -0.20172302424907684, -0.026301605626940727, -0.04755537584424019, 0.192024827003479, -0.37154823541641235, 0.4052508771419525, 0.2241600900888443, 0.6033534407615662, -0.05757374316453934, 0.40805456042289734, -0.045213066041469574, -0.3732568323612213, 0.09730102866888046, -0.37712565064430237, -0.28123170137405396, 0.09837817400693893, 0.4582105576992035, 0.7329262495040894, -0.20716804265975952, -0.6341038942337036, 0.6565279960632324, 0.1341361403465271, 0.2331027388572693, -0.31399407982826233, 0.3756406307220459, 0.21126297116279602, 0.2610304355621338, 0.22554710507392883, 0.02196752466261387, 0.10705098509788513, -0.7341839671134949, -0.27915582060813904, 0.7840529680252075, -0.674609363079071, -0.5944316387176514, 0.47424039244651794, 0.16791914403438568, -0.264151006937027, 0.2224946916103363, -0.36398836970329285, -0.42246752977371216, 0.64767986536026, 0.2576446533203125, 1.2818641662597656, -0.21515053510665894, 0.1594022512435913, 0.14227956533432007, 0.3091985285282135, 0.045530758798122406, 0.1494872272014618, 0.02192085050046444, -0.8375179767608643, -0.11565762758255005, -0.8074142932891846, -0.16381914913654327, 0.11078336834907532, -0.7022686004638672, 0.5036962032318115, -0.24693076312541962, -0.21250927448272705, 0.1124047338962555, 0.002268893178552389, -0.9249110817909241, -0.04301265999674797, 0.4062332808971405, 0.7098891139030457, -1.0187103748321533, 0.4192081093788147, 0.6221967339515686, -0.11677676439285278, -0.726590096950531, 0.052214425057172775, 0.19364216923713684, -0.6399064660072327, 0.6854283809661865, 0.29847535490989685, 0.03001140058040619, -0.3057226538658142, -0.40781307220458984, -0.6371157765388489, 0.8478834629058838, 0.4175560772418976, -0.7429037094116211, -0.03851849585771561, 0.479278564453125, 0.6280711889266968, -0.6698386669158936, 0.3168617784976959, 1.0059010982513428, 0.5933213829994202, -0.34814637899398804, -0.7525503635406494, 0.035445790737867355, 0.11117356270551682, -0.0006645333487540483, 0.12319125235080719, -0.9347805976867676, 0.732810378074646, -0.2627578675746918, -0.18218232691287994, -0.10403206199407578, 0.3032275438308716, 0.5116493701934814, 0.5282289385795593, 0.26682397723197937, 0.47266918420791626, 0.5320149660110474, -0.2666967213153839, 1.05726158618927, -0.23803219199180603, 0.13314825296401978, 1.023787021636963, -0.6540016531944275, 0.2663221061229706, 0.7164896726608276, -0.16195514798164368, 0.488722562789917, 0.4704165756702423, -0.0002928289759438485, 0.3978041112422943, 0.638589084148407, -0.45898833870887756, -0.01926407217979431, -0.37469422817230225, -0.04625954106450081, 0.449970006942749, 0.22922179102897644, -0.6124224662780762, 0.019764065742492676, -0.2973179519176483, 0.05052372068166733, 0.19668559730052948, -0.2511163055896759, 0.7991103529930115, 0.34856685996055603, -0.7229065895080566, -0.031846802681684494, -0.119996078312397, 0.6925382018089294, -0.5374454259872437, 0.22857792675495148, -0.22594451904296875, 0.13090601563453674, -0.3078993260860443, -0.9476562142372131, 0.09360554069280624, 0.10303615033626556, -0.27625295519828796, -0.08946754038333893, 0.784949541091919, -0.5382423996925354, -0.49483534693717957, 0.36772286891937256, 0.6037600636482239, -0.018982160836458206, -0.198232963681221, -0.48299968242645264, 0.34441155195236206, 0.0843089297413826, -0.5192086100578308, 0.332825630903244, 0.47647973895072937, -0.16734768450260162, 0.355450302362442, 0.4115596115589142, 0.5780653357505798, 0.15260133147239685, 0.4868520498275757, 0.696330189704895, -0.6129242181777954, -0.3582635819911957, -1.0562313795089722, 0.5346679091453552, -0.15176457166671753, -0.2517620921134949, 0.9879293441772461, 0.7308461666107178, 0.6954215168952942, -0.02147931046783924, 0.9987404942512512, 0.19875749945640564, 0.7334877252578735, -0.1475147306919098, 0.7351632714271545, -0.359713613986969, 0.35973942279815674, -0.4063069522380829, -1.377663254737854, 0.009194186888635159, 0.3391592800617218, -0.6195212006568909, 0.22186359763145447, 0.42853668332099915, 0.6987711787223816, 0.022131409496068954, -0.2339249551296234, 0.08770181238651276, -0.014610149897634983, 0.3663063943386078, 0.44454866647720337, 1.1742738485336304, 0.011586728505790234, -0.11083966493606567, -0.007551661692559719, -0.39072051644325256, -0.24992875754833221, -0.8100743293762207, -1.1231399774551392, -0.1598115861415863, -0.3409811854362488, -0.24547813832759857, -0.37386754155158997, 0.7817754745483398, 0.31539425253868103, -0.6102530360221863, -0.35970011353492737, 0.2194952517747879, 0.3701421916484833, 0.005842776037752628, -0.33207225799560547, 0.2443343698978424, -0.3226366639137268, -0.7289576530456543, -0.11319068819284439, 0.5505343079566956, -0.1662573367357254, -0.8378121256828308, -0.13070763647556305, 0.48025423288345337, 0.34154212474823, 0.28009024262428284, -0.12801209092140198, -0.8909971714019775, -0.4776151180267334, -0.13662533462047577, -0.2932051420211792, -0.017612144351005554, 0.9988520741462708, -0.5305633544921875, 0.5161378979682922, 0.5742647051811218, 0.25645560026168823, 0.11735458672046661, -0.012935529462993145, 0.48610562086105347, -0.9634032845497131, 0.18829943239688873, 0.5405391454696655, 0.2730322778224945, 0.4024870693683624, -0.26336342096328735, 0.3606298565864563, 0.06767699122428894, -0.4724075198173523, -0.962460458278656, 0.4527661204338074, -0.8381785154342651, -0.051052290946245193, 1.3424646854400635, 0.06692883372306824, -0.15856331586837769, 0.13503336906433105, -0.21876682341098785, 0.18641620874404907, -0.2900235652923584, 1.0288809537887573, 0.8701473474502563, -0.13336080312728882, 0.010799355804920197, -0.4362353980541229, 0.5141512155532837, 0.3279418349266052, -0.40739893913269043, 0.10052450746297836, 0.5388486385345459, 0.2242087572813034, 0.3975893557071686, 0.4053645730018616, -0.2889080345630646, 0.04947248846292496, -0.09041878581047058, 0.2543064057826996, 0.12744824588298798, -0.14334405958652496, -0.33253562450408936, 0.07813259214162827, 0.2828996479511261, 0.31079593300819397 ]
http://arxiv.org/abs/2405.14535v1
http://arxiv.org/pdf/2405.14535v1
Exploring Alignment in Shared Cross-lingual Spaces
2024-05-23T13:20:24
2024-05-23T13:20:24
Basel Mousi, Nadir Durrani, Fahim Dalvi, Majd Hawasly, Ahmed Abdelali
cs.CL
cs.CL, cs.AI
Despite their remarkable ability to capture linguistic nuances across diverse languages, questions persist regarding the degree of alignment between languages in multilingual embeddings. Drawing inspiration from research on high-dimensional representations in neural language models, we employ clustering to uncover latent concepts within multilingual models. Our analysis focuses on quantifying the \textit{alignment} and \textit{overlap} of these concepts across various languages within the latent space. To this end, we introduce two metrics \CA{} and \CO{} aimed at quantifying these aspects, enabling a deeper exploration of multilingual embeddings. Our study encompasses three multilingual models (\texttt{mT5}, \texttt{mBERT}, and \texttt{XLM-R}) and three downstream tasks (Machine Translation, Named Entity Recognition, and Sentiment Analysis). Key findings from our analysis include: i) deeper layers in the network demonstrate increased cross-lingual \textit{alignment} due to the presence of language-agnostic concepts, ii) fine-tuning of the models enhances \textit{alignment} within the latent space, and iii) such task-specific calibration helps in explaining the emergence of zero-shot capabilities in the models.\footnote{The code is available at \url{https://github.com/baselmousi/multilingual-latent-concepts}}
[ -0.33846667408943176, -0.7015417218208313, 0.43254607915878296, 0.16762675344944, 0.041698794811964035, 0.51669842004776, -0.18432848155498505, -0.39777418971061707, 0.5067367553710938, 0.030441608279943466, -0.3221067786216736, -0.593756377696991, -0.4002264440059662, -0.2490680068731308, -0.14715108275413513, 0.795224666595459, -0.3463079035282135, 0.15855635702610016, -0.26599550247192383, -0.4402676522731781, -0.7163885235786438, -0.426839679479599, -0.3253230154514313, -0.24625781178474426, 0.9661734104156494, 0.2591013014316559, 0.6987009048461914, 0.6243147850036621, 0.6188930869102478, 0.20951248705387115, 0.017220670357346535, 0.03574971854686737, -0.38987353444099426, -0.043311186134815216, -0.20944228768348694, -0.5097455978393555, -0.5807015299797058, -0.048235613852739334, 0.7571936845779419, 1.049745798110962, -0.06514903903007507, -0.056877315044403076, 0.013456161133944988, 0.14546692371368408, -0.6092795133590698, -0.04963591694831848, -0.5228995084762573, 0.24944539368152618, -0.2395191639661789, -0.07947319746017456, -0.06503482162952423, -0.10871525853872299, 0.21412774920463562, -0.7171510457992554, 0.13239923119544983, 0.019159749150276184, 1.0276482105255127, 0.3311654329299927, -0.4247341752052307, -0.10395488142967224, -0.4415059983730316, 0.9932806491851807, -0.4665258824825287, 0.5991347432136536, -0.02268729917705059, 0.15833435952663422, 0.20572227239608765, -0.2975273132324219, -0.6613137722015381, 0.3718471825122833, -0.24071016907691956, 0.18585416674613953, -0.2519287168979645, -0.3047143518924713, -0.15292881429195404, 0.4700961410999298, -0.8736903667449951, 0.39595210552215576, -0.06108805537223816, -0.29062795639038086, 0.49336257576942444, 0.004563745576888323, 0.6240981221199036, 0.044803086668252945, -0.3994700610637665, -0.1391564905643463, -0.7932947874069214, -0.017294205725193024, 0.4756636619567871, 0.509549081325531, -0.5852605700492859, 0.681198000907898, 0.2703200876712799, 0.6436717510223389, 0.13907873630523682, 0.27622851729393005, 0.2941170930862427, -0.6544162631034851, 0.10834420472383499, 0.28402766585350037, 0.7558055520057678, 0.2171853929758072, 0.10436684638261795, -0.3726913630962372, 0.1607896387577057, 0.19658565521240234, 0.18305906653404236, -0.3938155174255371, -0.02383345365524292, 0.10927937924861908, -0.13311615586280823, -0.14912763237953186, 0.14246352016925812, -0.3659074008464813, -0.1664440929889679, -0.4062618315219879, 0.2854727506637573, -0.27155977487564087, -0.5405750870704651, 0.04572398588061333, 0.04709507152438164, 0.31411248445510864, 0.0807047113776207, -0.7944676280021667, 0.1032276451587677, 0.9655730128288269, 0.9751172661781311, -0.4784834086894989, -0.6323257684707642, -0.20393356680870056, 0.24950537085533142, -0.6714644432067871, 0.6248785257339478, -0.7112410068511963, -0.06734045594930649, -0.03370334953069687, 0.21148334443569183, -0.3894957900047302, -0.28552114963531494, 0.14320799708366394, -0.5671502947807312, 0.29013535380363464, -0.5127191543579102, -0.6526932120323181, -0.2537567913532257, 0.46368274092674255, -0.7454902529716492, 0.9765740633010864, -0.2615553140640259, -0.8589528799057007, 0.3891957700252533, -0.6030499935150146, -0.1946336030960083, -0.15177884697914124, -0.5873753428459167, -0.25562232732772827, 0.26160287857055664, 0.07302220165729523, 0.5606868267059326, -0.1772027164697647, 0.36732345819473267, -0.3558019995689392, -0.22650642693042755, 0.3614538908004761, -0.22328773140907288, 0.6099787950515747, 0.2018452286720276, -0.2687152624130249, 0.002557402476668358, -0.4756965637207031, 0.013297095894813538, -0.01105690561234951, 0.19307056069374084, -0.5890102386474609, -0.2825947403907776, -0.10276524722576141, 0.2742949426174164, 0.6327740550041199, -0.5790875554084778, 0.042196765542030334, -0.3442186117172241, 0.226536363363266, 0.4037938117980957, -0.0945155993103981, 0.7299938201904297, -0.160152867436409, 0.5172621607780457, 0.3965902328491211, -0.27622729539871216, -0.16929766535758972, -0.29558366537094116, -0.5760868787765503, -0.002664262894541025, 0.49008795619010925, 0.5771955847740173, -0.4586763083934784, 0.5517378449440002, -0.6847354769706726, -0.5151603817939758, -0.6036714315414429, 0.03165024146437645, 0.5118135809898376, 0.2227555811405182, 0.31329843401908875, -0.415043443441391, -0.15126433968544006, -0.9803768396377563, -0.000460623181425035, 0.05894717946648598, 0.4490937888622284, 0.22280918061733246, 0.41426408290863037, -0.1648343801498413, 0.8693828582763672, -0.5383710861206055, -0.07415231317281723, 0.12439561635255814, 0.2880653738975525, -0.01025569811463356, 0.6808610558509827, 0.634441077709198, -0.8470800518989563, -0.816008448600769, 0.7050568461418152, -0.9419935941696167, -0.04202951863408089, 0.05791144445538521, -0.17819559574127197, 0.17120301723480225, 0.549425482749939, -0.25667083263397217, 0.22328265011310577, 0.8830090165138245, -0.2864297926425934, 0.1679803729057312, -0.07011514902114868, 0.2545369565486908, -1.3516067266464233, 0.2934320569038391, -0.14848780632019043, 0.01414776872843504, -0.5837427377700806, 0.21722599864006042, -0.00020357411995064467, -0.07338029891252518, -0.41719135642051697, 0.6406295895576477, -0.6644963026046753, -0.40152621269226074, -0.08640296757221222, 0.4096966087818146, 0.19087237119674683, 0.43721118569374084, 0.33874744176864624, 0.8166682124137878, 0.6126937866210938, -0.3284247815608978, 0.03355161100625992, 0.18256863951683044, -0.23784565925598145, 0.7606667876243591, -0.7494533061981201, 0.08925826102495193, 0.2556663155555725, -0.08533242344856262, -1.003138780593872, -0.019761620089411736, 0.04338640347123146, -0.5816426873207092, 0.4398139417171478, 0.05446097254753113, -0.45699429512023926, 0.07935900241136551, -0.053786471486091614, 0.9713910818099976, -0.06456907093524933, -0.3085237145423889, 0.3859950006008148, 0.6406239867210388, -0.21058544516563416, -1.0338020324707031, -0.785581111907959, 0.04027555137872696, -0.3560499846935272, -0.6323437690734863, 0.5744694471359253, 0.009898718446493149, -0.22900202870368958, 0.18694663047790527, -0.07070963829755783, -0.18426914513111115, -0.01692844368517399, 0.0481681190431118, 0.11893880367279053, -0.46322035789489746, 0.0781332403421402, 0.17515942454338074, -0.1286565214395523, -0.3642834722995758, -0.5607083439826965, 0.701855480670929, -0.29688793420791626, -0.6735129356384277, -0.21019111573696136, 0.46249881386756897, 0.32885655760765076, -0.3297904133796692, 0.7760291695594788, 0.8860238790512085, -0.5386031866073608, 0.35325339436531067, -0.4934987425804138, 0.10459420084953308, -0.3499281704425812, 0.23946784436702728, -0.48671725392341614, -1.2077480554580688, 0.9926501512527466, 0.28104907274246216, -0.0155674759298563, 0.5332573056221008, 0.5695180892944336, -0.04339691624045372, 0.8976854681968689, 0.9021307229995728, -0.06860478967428207, 0.23609283566474915, -0.255999356508255, 0.5085047483444214, -0.7848478555679321, -0.1573483943939209, -0.45009663701057434, -0.4316069185733795, -0.7209523916244507, -0.8798837065696716, 0.2171991616487503, 0.22108177840709686, 0.019322924315929413, 0.5448941588401794, -0.2282213270664215, 0.5668919086456299, 0.12880492210388184, -0.42477285861968994, 0.08637040108442307, 0.1595563441514969, -0.48269158601760864, -0.44668689370155334, -0.7695890069007874, -0.3681223392486572, 0.7533994913101196, 0.3289584219455719, 0.5503606200218201, 0.35765546560287476, 0.6868339776992798, -0.028892677277326584, -0.11218048632144928, -0.7388857007026672, 0.13609328866004944, -0.38216403126716614, -0.6625922918319702, -0.2709783613681793, -0.38834571838378906, -1.122107982635498, 0.27573707699775696, -0.09132730960845947, -0.7627754807472229, 0.4580095410346985, -0.0165785513818264, -0.4846937358379364, 0.2816920876502991, -0.5291664004325867, 1.1833164691925049, -0.47433769702911377, -0.5581884980201721, -0.4134284555912018, -0.6139294505119324, 0.06251015514135361, -0.3034946918487549, 0.1422850638628006, 0.04044048488140106, -0.16225455701351166, 0.5698881149291992, -0.13150988519191742, 0.9540311098098755, 0.06125607341527939, -0.6333601474761963, 0.2032518833875656, 0.08685104548931122, -0.10874941200017929, -0.25461843609809875, 0.1260359287261963, 0.5775722861289978, 0.2512453496456146, -0.6154491305351257, -0.5748468041419983, 1.0398566722869873, -0.8678271174430847, -0.10187879204750061, -0.4103314280509949, -0.8279885649681091, -0.16721969842910767, 0.3030444383621216, 0.0840432420372963, 0.2330186516046524, -0.5667702555656433, 0.21222476661205292, 0.6170668005943298, -0.4675096571445465, 0.303494393825531, 0.4484017491340637, -0.3314075767993927, -0.2448781430721283, 1.2213512659072876, 0.2610158324241638, 0.3042842149734497, 0.9336811900138855, -0.02444462664425373, -0.4800601899623871, -0.20615331828594208, -0.36946743726730347, 0.3778674304485321, -0.5411525368690491, -0.08135637640953064, -0.7924808263778687, -0.0158595759421587, -0.6235595941543579, -0.30004677176475525, -0.4095378518104553, -0.5971766710281372, -0.20060713589191437, -0.10306084901094437, -0.09358465671539307, 0.5998432636260986, -0.31327810883522034, 0.5969640612602234, -0.9174880981445312, -0.11000925302505493, 0.01573566533625126, 0.32127633690834045, 0.07575096935033798, -0.23889820277690887, -0.5647441148757935, 0.12485324591398239, -0.24857409298419952, -0.6347031593322754, 0.3080351948738098, 0.14946867525577545, 0.6616232395172119, 0.5222069025039673, -0.45147398114204407, 0.9151489734649658, -0.45126405358314514, 0.808769166469574, 0.38166120648384094, -1.001136302947998, 0.14017736911773682, -0.48388671875, 0.394732803106308, 0.5551354289054871, 0.5380075573921204, -0.8958613276481628, -0.12806980311870575, -0.5475242733955383, -0.6191964745521545, 0.38957199454307556, 0.01445988193154335, 0.1166398897767067, 0.039104923605918884, 0.23335891962051392, 0.1346263587474823, 0.23933196067810059, -0.7406714558601379, -0.13045713305473328, 0.03324694558978081, -0.39878392219543457, -0.3419874310493469, 0.10303272306919098, -0.22702185809612274, -0.10044863075017929, 0.40298640727996826, -0.34277501702308655, 0.29070866107940674, -0.22087323665618896, -0.3260527551174164, -0.18796510994434357, 0.07281281054019928, 0.6143532991409302, 0.572106659412384, 0.1277439147233963, 0.3079887926578522, 0.06880699098110199, -0.1606721729040146, 0.09808271378278732, 0.09512273967266083, 0.040160391479730606, -0.05563006177544594, 0.44855785369873047, 0.7885316014289856, 0.4060197174549103, -0.26797035336494446, 0.5708284378051758, -0.056048743426799774, 0.05519723892211914, -0.17717336118221283, -0.20306074619293213, 0.3207973539829254, 0.23202842473983765, -0.14637838304042816, -0.030678803101181984, -0.13600799441337585, -0.42311471700668335, 0.24185247719287872, 0.6065971851348877, -0.6829149723052979, -0.7199525237083435, 0.3988223969936371, -0.06177108734846115, -0.002512885257601738, 0.25853052735328674, -0.08201413601636887, -0.5581904649734497, 0.5711204409599304, 0.4072939455509186, 0.7171384692192078, -0.16535204648971558, 0.21727944910526276, 0.3785612881183624, 0.15680214762687683, 0.17250017821788788, 0.16979268193244934, 0.03559736907482147, -1.1658215522766113, -0.697285532951355, -0.661653459072113, -0.14172035455703735, -0.19662992656230927, -0.7066214084625244, 0.2541349232196808, 0.010538763366639614, -0.02593657188117504, 0.13731451332569122, 0.06435184180736542, -0.5712779760360718, 0.011421271599829197, 0.2551068663597107, 0.5999411344528198, -1.1620166301727295, 0.8544672727584839, 0.9057372808456421, -0.33825987577438354, -0.9063254594802856, -0.011393113061785698, 0.19768856465816498, -0.8736353516578674, 0.6095510721206665, 0.15328435599803925, -0.1830621063709259, -0.039479050785303116, -0.2806423306465149, -1.122528314590454, 1.065675139427185, 0.23652195930480957, -0.60696941614151, 0.015024309977889061, 0.43858855962753296, 0.7409829497337341, -0.6703343987464905, 0.020739564672112465, 0.3068392872810364, 0.4074345529079437, 0.04422254115343094, -0.9981064796447754, -0.21091516315937042, -0.3388577699661255, -0.1697111427783966, 0.41298630833625793, -0.5353670120239258, 0.8809149265289307, 0.0037530784029513597, -0.25504499673843384, -0.039306510239839554, 0.5906844735145569, 0.07833737134933472, 0.32579365372657776, 0.4163885712623596, 1.013121247291565, 0.7580885887145996, -0.13842393457889557, 0.8169646263122559, -0.5051159858703613, 0.3520885705947876, 1.1720086336135864, -0.37991875410079956, 0.844719648361206, 0.6715632081031799, 0.010783171281218529, 0.5412027835845947, 0.6819772720336914, 0.05533750355243683, 0.41679123044013977, -0.06137804687023163, 0.04683438688516617, -0.15230144560337067, -0.5160128474235535, -0.39611026644706726, 0.5487804412841797, 0.48908731341362, 0.026940081268548965, -0.13015230000019073, -0.24936076998710632, 0.0026405812241137028, 0.1444922536611557, -0.03203696012496948, 0.7281396985054016, 0.23229554295539856, -0.7828487753868103, 0.38734960556030273, -0.187208890914917, 0.6471464037895203, -0.3643025755882263, 0.12532052397727966, -0.0646941065788269, 0.11022354662418365, -0.1698082983493805, -0.8229852318763733, 0.5089743733406067, -0.17930661141872406, -0.1418171375989914, -0.25857070088386536, 0.467804491519928, -0.8828322291374207, -0.35297685861587524, 0.6313191652297974, 1.0169087648391724, 0.321694552898407, 0.27849850058555603, -0.8834879398345947, 0.09338666498661041, -0.09187927842140198, 0.3720703423023224, 0.27415403723716736, 0.5658801198005676, -0.2720700204372406, 0.048505086451768875, 0.46677905321121216, 0.17248371243476868, 0.16350170969963074, 0.37659648060798645, 0.43377169966697693, -0.4776654541492462, -0.5228046774864197, -0.7876884937286377, 0.4208115041255951, 0.004355267621576786, -0.24912148714065552, 0.7992062568664551, 0.7458269000053406, 1.1790357828140259, 0.19587434828281403, 0.49401596188545227, -0.1713002622127533, 0.383933424949646, -0.3419778645038605, 0.608130931854248, -1.062389612197876, 0.0036198964808136225, -0.41859856247901917, -1.0379499197006226, -0.4361620545387268, 0.6782180070877075, -0.43095341324806213, -0.20826061069965363, 0.7375432252883911, 0.812066376209259, -0.45351672172546387, -0.20313896238803864, 0.29877969622612, -0.05576220899820328, 0.14798705279827118, 0.4160923957824707, 0.9582307934761047, -0.39330124855041504, 0.19472914934158325, -0.23085390031337738, 0.017587989568710327, 0.0662958100438118, -0.8911962509155273, -0.6494604349136353, -0.7016676068305969, -0.48547863960266113, 0.008133575320243835, -0.27800944447517395, 0.5582643151283264, 0.644679069519043, -1.002937912940979, -0.5467638373374939, -0.059714801609516144, 0.09951402992010117, -0.19294314086437225, -0.2369469553232193, 0.3843855559825897, -0.31696075201034546, -0.8130707144737244, 0.21358270943164825, 0.37188079953193665, 0.21894831955432892, -0.3914340138435364, -0.1515478640794754, -0.5535914301872253, -0.17081491649150848, 0.3411429524421692, 0.13939926028251648, -0.7124590277671814, -0.2563808560371399, 0.515861988067627, -0.186421200633049, 0.11750435084104538, 0.9052297472953796, -0.1655275672674179, 0.3917114734649658, 0.5887172222137451, 0.9076874256134033, 0.2164658010005951, -0.10462337732315063, 0.8791024684906006, -1.1226874589920044, 0.17851124703884125, 0.0824773907661438, 0.4328899681568146, 0.5749815702438354, -0.26739659905433655, 0.5397844314575195, 0.10995557904243469, -0.43799909949302673, -0.8027263879776001, 0.32128700613975525, -0.9916636943817139, -0.2630152702331543, 0.7224617600440979, -0.32618725299835205, -0.09528223425149918, 0.09604920446872711, 0.2211962640285492, 0.5440936088562012, -0.06280834227800369, 0.5765584111213684, 1.0457700490951538, 0.008042638190090656, -0.0989106073975563, -0.35635870695114136, 0.09029296040534973, 0.7904837131500244, -0.6543980836868286, -0.205408975481987, 0.4388050436973572, 0.10572636872529984, 0.9070327877998352, 0.24146048724651337, -0.2916850447654724, 0.05203690379858017, -0.20737387239933014, 0.1655558943748474, 0.48756399750709534, -0.46722716093063354, -0.5712075233459473, -0.013524635694921017, -0.1125650629401207, -0.07814200222492218 ]
http://arxiv.org/abs/2405.14522v1
http://arxiv.org/pdf/2405.14522v1
Explaining Black-box Model Predictions via Two-level Nested Feature Attributions with Consistency Property
2024-05-23T13:03:26
2024-05-23T13:03:26
Yuya Yoshikawa, Masanari Kimura, Ryotaro Shimizu, Yuki Saito
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV, stat.ML
Techniques that explain the predictions of black-box machine learning models are crucial to make the models transparent, thereby increasing trust in AI systems. The input features to the models often have a nested structure that consists of high- and low-level features, and each high-level feature is decomposed into multiple low-level features. For such inputs, both high-level feature attributions (HiFAs) and low-level feature attributions (LoFAs) are important for better understanding the model's decision. In this paper, we propose a model-agnostic local explanation method that effectively exploits the nested structure of the input to estimate the two-level feature attributions simultaneously. A key idea of the proposed method is to introduce the consistency property that should exist between the HiFAs and LoFAs, thereby bridging the separate optimization problems for estimating them. Thanks to this consistency property, the proposed method can produce HiFAs and LoFAs that are both faithful to the black-box models and consistent with each other, using a smaller number of queries to the models. In experiments on image classification in multiple instance learning and text classification using language models, we demonstrate that the HiFAs and LoFAs estimated by the proposed method are accurate, faithful to the behaviors of the black-box models, and provide consistent explanations.
[ -0.13524848222732544, -0.9774482846260071, 0.6710329651832581, -0.1409110724925995, -0.14840273559093475, -0.043369174003601074, -0.07138564437627792, -0.6326571106910706, -0.06444855034351349, 0.46837618947029114, -0.36964309215545654, -0.35664355754852295, -0.5049663186073303, -0.1842208355665207, -0.3083227276802063, 0.8260064125061035, -0.3581910729408264, -0.4105701744556427, -0.4696541726589203, -0.19870524108409882, -0.49941885471343994, -0.38945481181144714, -0.5600601434707642, -0.5343403220176697, 0.5089319944381714, 0.1815905123949051, 0.9741657376289368, 0.8931882977485657, 0.17088837921619415, 0.2263677567243576, -0.11880314350128174, 0.19882814586162567, -0.3326391875743866, 0.08241769671440125, -0.1954805999994278, -0.7218785881996155, -0.36977091431617737, -0.08687125891447067, 0.6446278095245361, 0.35357972979545593, -0.05597745627164841, 0.13208898901939392, 0.20292632281780243, 0.09777125716209412, -0.9359045028686523, 0.19963136315345764, -0.8318623304367065, 0.1058630421757698, 0.21337279677391052, -0.032020773738622665, -0.4608933627605438, -0.23745054006576538, 0.033313605934381485, -0.6022201180458069, 0.4094279408454895, -0.19243066012859344, 1.243179440498352, 0.3932795226573944, -0.41415324807167053, 0.17625154554843903, -0.8099665641784668, 0.9883196949958801, -0.7715355157852173, 0.25482621788978577, 0.5538735389709473, 0.5508867502212524, 0.0789223164319992, -0.16903285682201385, -0.6117808222770691, -0.09297367930412292, -0.47166043519973755, 0.04853853955864906, -0.22959940135478973, -0.29065653681755066, -0.11100640147924423, 0.2570894956588745, -0.19645655155181885, 0.47617778182029724, -0.11435579508543015, -0.3031459152698517, 0.5989612936973572, -0.11115577816963196, -0.2548561096191406, -0.2427600771188736, -0.48131829500198364, 0.14413899183273315, -0.7745888829231262, 0.26947930455207825, 0.19871391355991364, 0.33404457569122314, -0.42460811138153076, 0.5282077193260193, 0.1664508581161499, 0.4426611661911011, 0.1631266474723816, -0.40897852182388306, 0.2376847118139267, -0.5513646602630615, -0.16100484132766724, 0.04256252944469452, 0.7686563730239868, 0.10918194055557251, 0.13211368024349213, -0.36595937609672546, -0.19913740456104279, 0.5182886123657227, 0.3033601641654968, -0.6747692823410034, 0.23363922536373138, 0.3696461617946625, -0.564847469329834, -0.6896522045135498, -0.016384897753596306, -0.7525271773338318, -0.38834714889526367, -0.11947065591812134, 0.6321800351142883, 0.1493503600358963, -0.3260919153690338, 0.02091255970299244, 0.08950071781873703, -0.016106873750686646, 0.41830626130104065, -0.7959679961204529, 0.3098198175430298, 0.6378253698348999, 0.8488323092460632, -0.16096967458724976, -0.38056978583335876, -0.6477088928222656, 0.4923766553401947, -0.2880036532878876, 0.7474396824836731, -0.600943922996521, 0.06629685312509537, 0.08671507984399796, 0.006661917548626661, 0.08131197839975357, -0.5201230645179749, 0.03645990043878555, -0.12074947357177734, 0.22245098650455475, 0.09784848242998123, -0.2612728774547577, -0.2649523615837097, 0.382097989320755, -0.4097267985343933, 1.1493932008743286, -0.04047800227999687, -0.6191938519477844, 0.46041935682296753, -0.7126868367195129, -0.3926784098148346, -0.37051063776016235, -0.3863510489463806, -1.1192045211791992, 0.1821356862783432, 0.42725104093551636, 0.6126576662063599, -0.03976360335946083, 0.27862975001335144, -0.7151342034339905, -0.37489476799964905, 0.13430412113666534, -0.391163170337677, 0.9023503661155701, 0.0009025742765516043, -0.6582832932472229, 0.1426537185907364, -0.7191495895385742, -0.18497537076473236, 0.36762478947639465, -0.08238505572080612, -0.12850645184516907, 0.21056678891181946, -0.654211699962616, 0.08383043110370636, 0.5341159105300903, -0.5461763143539429, 0.21688519418239594, -0.18889784812927246, 0.509926438331604, 0.6266378164291382, 0.17541205883026123, 0.5241742730140686, -0.2577782869338989, 0.5444517135620117, 0.524399995803833, 0.13257402181625366, -0.34990400075912476, -0.5871552228927612, -0.343606561422348, -0.3494536876678467, 0.044654738157987595, 0.4178955554962158, -0.09523677825927734, 0.5266560912132263, 0.0015523284673690796, -0.22191542387008667, -0.6554791331291199, 0.1292036920785904, 0.5114330649375916, 0.571252167224884, 0.4271955192089081, -0.14955943822860718, -0.26179057359695435, -1.0251951217651367, 0.021795740351080894, -0.24675732851028442, -0.011691632680594921, 0.3678561747074127, 0.5951915383338928, -0.3887018859386444, 0.8599833250045776, -0.45165130496025085, -0.2527830898761749, 0.21947357058525085, 0.45820173621177673, -0.04525602236390114, 0.5020534992218018, 0.6352052688598633, -0.6088401079177856, -0.296933114528656, 0.23282891511917114, -0.7472286820411682, 0.22040057182312012, -0.05235619470477104, -0.1900748908519745, 0.1784629374742508, 0.2332996129989624, -0.4787852168083191, 0.8072454929351807, 0.3762902617454529, -0.26209428906440735, 0.6088548302650452, -0.2624260187149048, 0.042687736451625824, -1.0749925374984741, -0.292733371257782, 0.27237093448638916, -0.29327499866485596, -0.3317459225654602, 0.12161918729543686, 0.03774040564894676, -0.018424371257424355, -0.01586848311126232, 0.7053840160369873, -0.4511933922767639, -0.3980858325958252, -0.07603943347930908, 0.015939893200993538, 0.45340362191200256, 0.6074389815330505, 0.023661118000745773, 0.5139558911323547, 0.8801535964012146, -0.1442052125930786, 0.2936815023422241, 0.33703169226646423, -0.0980037972331047, 0.42203739285469055, -0.6270925402641296, 0.2229420393705368, -0.1115882620215416, 0.13071885704994202, -1.0591729879379272, -0.026880571618676186, 0.1417544186115265, -0.55448979139328, 0.05509493499994278, -0.4548965096473694, -0.48263269662857056, -0.13481226563453674, -0.06486796587705612, 0.4080238342285156, 0.5470812320709229, -0.6871022582054138, 0.8274530172348022, 0.14236043393611908, 0.08345843106508255, -0.7935607433319092, -0.7225643992424011, -0.27068597078323364, -0.4074837267398834, -0.6238101720809937, 0.4110284149646759, 0.0807148665189743, -0.057604268193244934, 0.2253899723291397, -0.29015061259269714, -0.40190383791923523, 0.3735940456390381, 0.43314430117607117, 0.41421768069267273, -0.5848610997200012, -0.19861668348312378, -0.08070527017116547, 0.08493220806121826, 0.028488874435424805, -0.20278824865818024, -0.03957582265138626, -0.21789801120758057, -0.32135045528411865, -0.5199493765830994, 0.2863197326660156, 0.4477670192718506, -0.5176343321800232, 0.9462890625, 0.6790938377380371, -0.8079313635826111, -0.3625619113445282, -0.337090402841568, -0.37745562195777893, -0.4015957713127136, 0.1885737031698227, -0.5789461731910706, -0.7469232082366943, 1.0513763427734375, 0.3490464389324188, 0.10773803293704987, 0.4195578694343567, 0.6052742600440979, -0.061745304614305496, 1.3331273794174194, 0.8146460652351379, 0.009489397518336773, 0.327858567237854, -0.2776325047016144, 0.32236573100090027, -0.3651967942714691, -0.3735083341598511, -0.8354076743125916, -0.22068697214126587, -0.23068447411060333, -0.15501372516155243, 0.2906099855899811, 0.37037143111228943, -0.2690448462963104, 0.24640397727489471, -0.4422644078731537, 0.4720768630504608, 0.5647238492965698, 0.33874183893203735, 0.2910401225090027, 0.39325428009033203, 0.005225772503763437, 0.22131524980068207, -0.5697171688079834, -0.3584989309310913, 0.8140621185302734, 0.6688992381095886, 0.8015849590301514, 0.135885551571846, 0.8451629281044006, 0.21648932993412018, 0.12878593802452087, -0.8500018119812012, 0.1324509084224701, -0.12644092738628387, -0.62814861536026, -0.44697004556655884, -0.4722042977809906, -1.0273957252502441, 0.13779303431510925, -0.4994180500507355, -1.1892260313034058, 0.4619992971420288, 0.5097706913948059, -0.3620130121707916, 0.13601696491241455, -0.729667067527771, 1.2642617225646973, -0.07252607494592667, -0.5064396858215332, -0.3273954689502716, -0.4430932104587555, 0.37554556131362915, -0.20184960961341858, 0.11469991505146027, 0.06569946557283401, 0.13912975788116455, 0.483888179063797, -0.34476611018180847, 0.830356776714325, -0.2672426998615265, -0.30261144042015076, 0.18738707900047302, 0.18536311388015747, 0.676204264163971, 0.07807003706693649, -0.06066110357642174, 0.28903213143348694, -0.12284666299819946, -0.5161600708961487, -1.0333794355392456, 0.499443918466568, -0.8855153322219849, -0.45374515652656555, -0.01554668415337801, -0.48951685428619385, -0.11426553875207901, 0.3181682527065277, 0.09495892375707626, 0.7315844893455505, 0.45493724942207336, 0.2676141560077667, 0.5403802394866943, 0.2320351004600525, 0.010610011406242847, 0.17785832285881042, 0.025043508037924767, -0.030358649790287018, 0.8630911111831665, -0.039140984416007996, 0.28255540132522583, 0.39711493253707886, 0.46308860182762146, -0.4087607264518738, -0.8763038516044617, -0.36477553844451904, 0.24903671443462372, -0.6399387121200562, -0.23778747022151947, -0.23984554409980774, -0.1917084902524948, -0.37367919087409973, -0.4961564838886261, -0.4291173219680786, -0.19608952105045319, -0.22957518696784973, -0.06961061805486679, -0.0008552614017389715, 0.77598637342453, 0.2814106047153473, 0.2829441428184509, -0.49481120705604553, 0.8200924396514893, 0.24058732390403748, 0.45241624116897583, 0.12150812894105911, -0.6284318566322327, -0.5983371138572693, 0.3238423466682434, -0.3342910408973694, -0.9466465711593628, -0.09276045858860016, 0.18682365119457245, 0.751691460609436, 0.5762415528297424, -0.15385772287845612, 0.7243218421936035, -0.26718878746032715, 0.648160457611084, 0.22306931018829346, -0.8622100353240967, 0.7110342979431152, -0.21583439409732819, 0.08152344077825546, 0.21624362468719482, 0.23260611295700073, 0.20468400418758392, -0.7089161276817322, -0.8584129214286804, -0.41151565313339233, 0.6755269765853882, 0.18346185982227325, -0.2448606640100479, 0.33722883462905884, 0.45775106549263, 0.2343650758266449, 0.16619697213172913, -0.9972046613693237, -0.3266257345676422, -0.5345931649208069, -0.47008615732192993, -0.02447594702243805, -0.18195466697216034, -0.41363999247550964, -0.017378807067871094, 0.6801893711090088, -0.2839321494102478, 0.38202014565467834, -0.14372611045837402, -0.04721314460039139, -0.45079079270362854, 0.30493199825286865, 0.49410614371299744, 1.0125528573989868, -0.49653270840644836, 0.40230122208595276, -0.24191159009933472, -0.16755260527133942, 0.3623470366001129, 0.25738897919654846, -0.47148701548576355, -0.06172138825058937, 0.48218709230422974, 0.8013860583305359, 0.12143778800964355, -0.05594388768076897, 0.5566304922103882, 0.32285594940185547, -0.2907838523387909, -0.0255727656185627, 0.1063384860754013, -0.025997383520007133, 0.539928138256073, 0.2335958331823349, 0.26712262630462646, -0.03712797909975052, -0.7567924857139587, 0.19109955430030823, 0.6830403804779053, -0.2797754406929016, -0.17670424282550812, 0.8172063827514648, -0.2078482061624527, -0.043997228145599365, 0.22606290876865387, 0.0012116034049540758, -0.5486325025558472, 0.7689816951751709, 0.6050295829772949, 0.9602054953575134, -0.010209412313997746, 0.4343116581439972, 0.3110595643520355, 0.23277099430561066, -0.23313318192958832, -0.19974422454833984, -0.07472299784421921, -1.082222580909729, -0.39898306131362915, -0.6447035670280457, -0.4269646406173706, 0.27555495500564575, -0.8722513318061829, 0.16958357393741608, -0.3555217683315277, -0.002080876613035798, 0.5974779725074768, 0.0046441154554486275, -0.46025171875953674, 0.19097717106342316, 0.2546411454677582, 0.5391321182250977, -0.8771717548370361, 0.7937883138656616, 0.624636173248291, -0.42136019468307495, -0.8163397908210754, -0.06267613917589188, -0.03534366562962532, -0.9756258726119995, 0.19790612161159515, 0.13507802784442902, -0.22365064918994904, -0.24636703729629517, -0.6287985444068909, -0.6937984228134155, 0.965512752532959, 0.57823246717453, -0.2518991529941559, -0.23647478222846985, -0.06586790829896927, 0.26016733050346375, -0.8322834968566895, -0.0007251708302646875, 0.4307664632797241, 0.5101182460784912, 0.04107137769460678, -0.8455058336257935, 0.2057022899389267, -0.11294546723365784, -0.13118866086006165, 0.07650016248226166, -0.11160705983638763, 0.5874956846237183, -0.5140640735626221, -0.09072931110858917, -0.13622644543647766, 0.7819962501525879, 0.5884690880775452, 0.397991806268692, 0.718049168586731, 0.4579048156738281, 0.6789848208427429, -0.03319357708096504, 0.8418970108032227, 0.05050757899880409, 0.6379927396774292, 1.048570156097412, 0.004991177469491959, 0.9031456112861633, 0.20153026282787323, -0.1953214854001999, 0.87239009141922, 0.6200743913650513, -0.407674640417099, 0.4509257376194, -0.16643162071704865, 0.020695040002465248, -0.23340308666229248, 0.025330642238259315, -0.11450088024139404, 0.5005444884300232, 0.09511203318834305, -0.34112635254859924, -0.28260886669158936, -0.0674423798918724, 0.011250327341258526, 0.07332518696784973, -0.4074900448322296, 0.6924089193344116, -0.1567329466342926, -0.6360185146331787, 1.0123517513275146, -0.06845199316740036, 0.476948618888855, -0.5379294753074646, -0.16949205100536346, -0.1453835517168045, 0.29138222336769104, -0.288099080324173, -0.6774507164955139, 0.2069557011127472, -0.11623427271842957, -0.6394500732421875, 0.04032417759299278, 0.7229307889938354, -0.7604424357414246, -0.5939368009567261, 0.19608506560325623, 0.2481827586889267, 0.08561227470636368, -0.10142875462770462, -0.8436169028282166, -0.0037318714894354343, -0.09558598697185516, -0.0486966110765934, 0.03446667641401291, 0.4326118230819702, -0.3276982307434082, 0.5968741178512573, 0.35605841875076294, 0.21897758543491364, 0.10196149349212646, -0.020436767488718033, 0.364871084690094, -0.44943103194236755, -0.7659780979156494, -0.6278197169303894, 0.7352267503738403, 0.06001473590731621, 0.05148245021700859, 0.5540958642959595, 0.4228007197380066, 0.7070504426956177, 0.18312257528305054, 0.8484622240066528, 0.331900030374527, 0.3453829884529114, -0.56639164686203, 0.31410518288612366, -0.9363991618156433, 0.135812908411026, -0.06221600994467735, -1.014340877532959, -0.07706406712532043, 0.7707058191299438, -0.15119686722755432, 0.17520858347415924, 0.6896491050720215, 0.7720580101013184, -0.4860498011112213, -0.2362690418958664, 0.19654662907123566, 0.6021799445152283, 0.20372994244098663, 0.426734060049057, 0.5073895454406738, -0.28303366899490356, 0.46441224217414856, -0.45303115248680115, -0.34311652183532715, -0.28272026777267456, -1.0023635625839233, -0.8290661573410034, -0.3998333513736725, -0.6251559257507324, -0.5453256368637085, -0.018765278160572052, 0.1981714963912964, 1.0513631105422974, -0.947930634021759, -0.04297001659870148, 0.03405081480741501, 0.43572527170181274, -0.6303308010101318, -0.28608348965644836, 0.4651027023792267, -0.06925910711288452, -0.43784064054489136, 0.21254774928092957, 0.22585144639015198, 0.2086631953716278, -0.6076121926307678, -0.228989377617836, -0.04674834758043289, 0.06171216443181038, 0.30337584018707275, 0.24544832110404968, -1.0339901447296143, -0.4769509732723236, -0.3648258447647095, -0.08912055939435959, 0.3887793719768524, 0.5613426566123962, -0.7632996439933777, 0.26855677366256714, 0.15335126221179962, 0.5388197898864746, 0.7191080451011658, 0.2598329782485962, 0.6095350980758667, -0.8854674100875854, 0.22600777447223663, -0.07998668402433395, 0.4915696382522583, 0.35578614473342896, -0.7129306197166443, 0.3325498402118683, 0.16183388233184814, -0.3399800956249237, -0.998651921749115, 0.34540221095085144, -1.110105037689209, -0.36336052417755127, 0.7722013592720032, -0.4829239547252655, -0.25836116075515747, -0.05033913254737854, 0.27475327253341675, 0.35144469141960144, -0.28001669049263, 0.8910805583000183, 0.5257255434989929, 0.014624517410993576, -0.5976344347000122, -0.439899742603302, 0.39814022183418274, 0.3983418345451355, -0.8130017518997192, 0.1888599395751953, 0.4767003357410431, 0.1036510020494461, 0.4879956841468811, 0.22688573598861694, -0.09919769316911697, 0.2715960741043091, 0.11802484840154648, -0.2020861953496933, -0.3778393268585205, -0.7615514993667603, -0.24589428305625916, 0.23754237592220306, -0.06694678962230682, -0.24732698500156403 ]
http://arxiv.org/abs/2405.14521v1
http://arxiv.org/pdf/2405.14521v1
Synthetic Data Generation for Intersectional Fairness by Leveraging Hierarchical Group Structure
2024-05-23T13:03:23
2024-05-23T13:03:23
Gaurav Maheshwari, Aurélien Bellet, Pascal Denis, Mikaela Keller
cs.LG
cs.LG, cs.CL
In this paper, we introduce a data augmentation approach specifically tailored to enhance intersectional fairness in classification tasks. Our method capitalizes on the hierarchical structure inherent to intersectionality, by viewing groups as intersections of their parent categories. This perspective allows us to augment data for smaller groups by learning a transformation function that combines data from these parent groups. Our empirical analysis, conducted on four diverse datasets including both text and images, reveals that classifiers trained with this data augmentation approach achieve superior intersectional fairness and are more robust to ``leveling down'' when compared to methods optimizing traditional group fairness metrics.
[ -0.46626582741737366, -0.6294344663619995, 0.5616750121116638, -0.01873880811035633, 0.16690731048583984, 0.46915993094444275, 0.30168449878692627, -0.7542939186096191, 0.11934254318475723, 0.35228949785232544, -0.507039487361908, -0.25666841864585876, -0.5486139059066772, 0.030882997438311577, -0.5069589614868164, 0.9712671637535095, 0.33631518483161926, 0.2144770473241806, -0.4084826111793518, -0.19560883939266205, -0.388060063123703, -0.7361235022544861, -0.57710862159729, -0.3223491907119751, 0.37751084566116333, 0.5738924741744995, 1.0205020904541016, 1.0864983797073364, 0.315630704164505, 0.4364810585975647, 0.19705788791179657, 0.15965703129768372, -0.580963671207428, -0.3854931592941284, -0.38900911808013916, -0.5667592287063599, -0.4414210319519043, -0.024720922112464905, 0.7151703834533691, 1.5104906558990479, -0.13961488008499146, -0.09846744686365128, 0.008108529262244701, 0.6460427641868591, -0.7142323851585388, -0.06894683092832565, -0.9565110802650452, 0.5280851721763611, -0.36470532417297363, -0.5242517590522766, -0.08267620950937271, -0.7465510368347168, -0.1891973465681076, -0.8212446570396423, 0.6768794059753418, 0.5057722926139832, 0.5431252121925354, 0.2926764488220215, -0.5128387808799744, 0.22342929244041443, -0.6307686567306519, 0.7541706562042236, -0.20777961611747742, 0.10088043659925461, 0.2949143052101135, 0.7261977195739746, -0.2696642279624939, -0.7588239312171936, -0.9792218208312988, 0.3871883749961853, -0.3782206177711487, 0.19134235382080078, -0.017670033499598503, 0.3307287096977234, 0.3341856002807617, 0.7914407253265381, -0.390569269657135, 0.23263050615787506, -0.802317202091217, 0.14090706408023834, 0.8913710117340088, 0.4540920853614807, 0.49589022994041443, -0.24225729703903198, -0.3128117024898529, -0.07439684867858887, -0.6760926246643066, 0.3318181335926056, 0.7089588642120361, 0.4445164203643799, 0.07283221185207367, 0.5888194441795349, -0.5029052495956421, 0.5736504197120667, 0.46684229373931885, 0.19418051838874817, 0.7045555114746094, -0.558750569820404, -0.10134649276733398, 0.34967276453971863, 0.4562402069568634, 0.8842254877090454, 0.07860540598630905, -0.41815871000289917, -0.3283587694168091, 0.23755043745040894, 0.2878284752368927, -0.5955801606178284, -0.23067203164100647, 0.09241688996553421, -0.4810522198677063, -0.5583246350288391, 0.3510863184928894, -0.8070139288902283, -0.34962743520736694, -0.6554121971130371, 0.3546397387981415, 0.009283916093409061, 0.009609846398234367, 0.13809269666671753, -0.27834153175354004, 0.15465542674064636, 0.2272527515888214, -1.061811923980713, 0.5425170660018921, 0.8190122246742249, 0.5617142915725708, -0.3777196705341339, -0.10204245150089264, -0.7828711271286011, 0.3268473744392395, -0.2758505642414093, 0.7027866244316101, -0.7707610726356506, -0.28719276189804077, -0.19164058566093445, 0.0722883865237236, -0.07731031626462936, -0.7707831263542175, 0.3260681629180908, -0.2132078856229782, 0.39776143431663513, -0.0035789296962320805, -0.30480918288230896, -0.17228206992149353, 0.11427755653858185, -0.6922266483306885, 0.8802819848060608, 0.41458287835121155, -0.713136613368988, 1.0748991966247559, -0.6787453293800354, -0.5878497958183289, 0.37939053773880005, -0.5700879693031311, -0.5692049264907837, 0.13660895824432373, 0.5593932867050171, 0.16120792925357819, 0.29564228653907776, 0.30513066053390503, -0.3823621869087219, -0.41126778721809387, -0.04921439290046692, 0.04621227830648422, 0.6150192618370056, 0.025617223232984543, -0.1954358071088791, 0.22468067705631256, -0.8180034756660461, -0.010113958269357681, -0.0543622262775898, -0.0275772325694561, -0.3627277910709381, 0.14358501136302948, 0.10648646950721741, 0.3956807851791382, -0.09017879515886307, -0.7694450616836548, -0.12087297439575195, -0.6118144392967224, -0.04004952684044838, 1.1827993392944336, -0.17939141392707825, 0.6720004081726074, -0.7405553460121155, 0.37037062644958496, 0.07294505834579468, 0.42208582162857056, 0.3992491364479065, -0.4778245985507965, -0.6106072664260864, -0.24096737802028656, 0.4322049021720886, 0.4136451780796051, -1.14885413646698, 0.7810779809951782, -0.5351672768592834, -0.00816505029797554, -0.7240103483200073, -0.22915157675743103, 0.049858950078487396, 0.559516191482544, 0.45932844281196594, -0.4751400649547577, -0.7653825879096985, -1.0309569835662842, -0.08209338039159775, 0.06034991890192032, -0.051389459520578384, 0.21576926112174988, 0.2635364830493927, -0.08812684565782547, 1.213079810142517, -0.22912532091140747, -0.18319165706634521, -0.0907370075583458, 0.07061267644166946, 0.08430568128824234, 0.7859582901000977, 0.6042019724845886, -1.1367372274398804, -0.24470046162605286, 0.2882368862628937, -0.5287594795227051, -0.4133286476135254, 0.01386004127562046, -0.18324565887451172, -0.08531960099935532, 0.48994240164756775, 0.2263028919696808, 0.7382490038871765, 0.3378233313560486, -0.366115003824234, 0.19322320818901062, 0.26010653376579285, 0.5439107418060303, -0.9386976361274719, -0.14500266313552856, -0.23720668256282806, -0.5416366457939148, -0.748980700969696, 0.05592259392142296, -0.40026867389678955, 0.21081356704235077, -0.4254949986934662, 0.34261512756347656, 0.05597620829939842, -0.48015767335891724, -0.5069180130958557, -0.07119101285934448, -0.22818216681480408, 0.4226597249507904, -0.06668847054243088, 0.6215967535972595, 0.41022950410842896, -0.6190236806869507, 0.16216817498207092, 0.2532642185688019, -0.24602895975112915, 1.0430798530578613, -0.5953795313835144, -0.12204216420650482, -0.5233436226844788, 0.22849620878696442, -0.8415942192077637, -0.49207189679145813, 0.21468482911586761, -0.5016171336174011, -0.29879751801490784, -0.32330071926116943, -0.6736573576927185, -0.23030979931354523, -0.32888084650039673, 1.1527448892593384, 0.6173064708709717, -1.0124726295471191, 0.5330707430839539, 0.7713584899902344, -0.21206307411193848, -0.20939315855503082, -0.8810096979141235, -0.15769892930984497, -0.5694056749343872, -0.8525559902191162, 0.852638304233551, 0.21167230606079102, -0.284030556678772, -0.04490251466631889, 0.21670447289943695, -0.09147444367408752, -0.254032164812088, 0.36447495222091675, 0.19391535222530365, 0.25719207525253296, 0.11164207756519318, 0.38696515560150146, -0.17335179448127747, -0.07850725203752518, 0.1410004198551178, 0.4907257556915283, 0.29390114545822144, -0.3386966288089752, -0.24679160118103027, 0.5156877636909485, 0.050917573273181915, 0.1041409820318222, 0.417020708322525, 0.5608127117156982, -0.6950666904449463, -0.07017715275287628, -0.32667985558509827, -0.13264484703540802, -0.594930112361908, 0.15266291797161102, -0.36802437901496887, -1.072481632232666, 0.5536805391311646, 0.24949000775814056, 0.08318445086479187, 0.3774834871292114, 0.33968207240104675, 0.27860134840011597, 1.5725146532058716, 0.5629143118858337, 0.15393027663230896, 0.4677307605743408, 0.13287073373794556, 0.26542428135871887, -0.6295881867408752, -0.5085605382919312, -0.46569302678108215, -0.6317154169082642, -0.9968063831329346, -0.46720123291015625, 0.7413765788078308, -0.0034447554498910904, -0.20907923579216003, -0.11708039790391922, -0.7576117515563965, 0.54190593957901, 0.6421076655387878, 0.3196522295475006, 0.62751305103302, 0.387806236743927, 0.4086814820766449, -0.2948460876941681, -0.7509588003158569, -0.1366751492023468, 1.139724850654602, 0.2715253233909607, 0.511975884437561, -0.05557113513350487, 0.7414646744728088, 0.2926871180534363, 0.2807801365852356, -0.5928643345832825, 0.5290966033935547, -0.2762974202632904, -0.39287856221199036, -0.056199751794338226, -0.9881336092948914, -1.247231364250183, 0.4230504631996155, -0.46749553084373474, -0.7481694221496582, 0.6297293305397034, 0.09549479186534882, -0.26005446910858154, 0.4011951982975006, -0.48077625036239624, 0.5222645401954651, -0.1060979813337326, -0.12157054990530014, -0.28143858909606934, -0.5954098701477051, 0.5700748562812805, -0.2601114809513092, 0.39897844195365906, 0.10148583352565765, 0.046550389379262924, 0.7106292843818665, -0.7453427910804749, 0.44838398694992065, -0.1892170011997223, 0.26305893063545227, -0.04735441505908966, -0.3305109441280365, 0.17360006272792816, -0.15943798422813416, 0.09278624504804611, 0.1932520866394043, -0.42926928400993347, -0.5445206165313721, -0.7589294910430908, 0.518290638923645, -0.37849438190460205, -0.3051178455352783, -0.2993313670158386, -0.9359722137451172, -0.319261372089386, -0.10127424448728561, 0.0014253270346671343, 0.16179387271404266, 0.31152668595314026, 0.0774163082242012, 0.03233000263571739, -0.048221405595541, 0.2882617115974426, 0.1722724586725235, -0.4016914963722229, -0.4996998608112335, 0.8758583068847656, -0.00964259821921587, 0.5042062401771545, 0.025954801589250565, -0.0403401255607605, -0.45387235283851624, -0.6360754370689392, -0.3576279878616333, -0.34313416481018066, -0.3395549952983856, -0.03214116767048836, -0.628971517086029, -0.39212891459465027, -0.48132097721099854, -0.3538423180580139, 0.03964652121067047, -1.0650055408477783, 0.3867740333080292, -0.3598756492137909, 0.244362011551857, 0.724329948425293, -0.5555258393287659, 0.5883718729019165, -0.3015952408313751, 0.5868653655052185, 0.40836936235427856, 0.23010225594043732, -0.12292183190584183, -0.25104275345802307, 0.13478782773017883, 0.19456544518470764, -0.3462745249271393, -0.28060802817344666, 0.07236061990261078, -0.16369889676570892, 0.5642556548118591, 0.18218505382537842, 0.03271026536822319, 0.8906757235527039, -0.5616275668144226, 0.45671406388282776, 0.5119886994361877, -0.793096661567688, 0.4162026345729828, -0.2441132366657257, -0.2718879282474518, 0.6281076073646545, 0.06769907474517822, -0.15807750821113586, -0.4657295346260071, -0.7616007924079895, -1.0782285928726196, 0.8297383785247803, 0.7225490808486938, -0.12712515890598297, 0.2636549770832062, 0.19162194430828094, 0.20910011231899261, 0.3269626498222351, -0.9084975719451904, -0.19209828972816467, -0.12186098843812943, -0.5196447968482971, 0.42678704857826233, 0.4524688124656677, -0.2057057023048401, -0.6468636989593506, 0.16796688735485077, -0.15392063558101654, -0.0690581426024437, -0.008364265784621239, 0.3115159571170807, -0.22100196778774261, 0.03932897001504898, 0.002113976515829563, 0.7349375486373901, 0.005196280311793089, -0.014246641658246517, 0.19536611437797546, -0.1898987889289856, 0.08000601828098297, 0.5629390478134155, -0.2646881341934204, -0.31996163725852966, 0.1281346082687378, 0.44177961349487305, -0.3780166506767273, -0.42793020606040955, 0.3640556037425995, 0.05666448175907135, -0.2850339710712433, 0.015372944064438343, 0.33251282572746277, -0.7987999320030212, 0.27047109603881836, 0.6463973522186279, 0.0238749161362648, 0.7887405157089233, -0.7980854511260986, 0.5982970595359802, 0.4739798605442047, -0.19203011691570282, 0.08673631399869919, 0.6515254378318787, 0.07878345251083374, -0.06863249093294144, 0.1159672811627388, -0.35275229811668396, -0.6763505935668945, 0.5737358331680298, 0.39903995394706726, 0.4904087483882904, -0.24862471222877502, 0.09622365236282349, 0.3444933593273163, 0.20128591358661652, 0.22282327711582184, 0.029918881133198738, 0.01335294358432293, -0.6708259582519531, -0.39671456813812256, -0.5938761830329895, -0.3121388554573059, 0.006004687864333391, -0.5567899346351624, -0.0007686757016927004, -0.44877076148986816, -0.023874854668974876, -0.02045009844005108, -0.2677745521068573, -0.4539773762226105, 0.599599301815033, 0.0023660599254071712, 0.17068445682525635, -0.8063554763793945, 0.02667582593858242, 0.5361542105674744, -0.2465786337852478, -0.3902963697910309, 0.06110212951898575, -0.2993035614490509, -0.9462502598762512, 0.44261837005615234, 0.40123116970062256, 0.051889434456825256, -0.1271487921476364, -0.6340151429176331, -0.4459582567214966, 0.8963111639022827, -0.02981475368142128, -0.36921945214271545, -0.11299755424261093, 0.9165481925010681, 0.39743706583976746, -0.5843064188957214, 0.03538280352950096, 0.6346038579940796, 0.46409985423088074, 0.23895040154457092, -1.0459829568862915, 0.21608585119247437, -0.33775439858436584, 0.35300159454345703, 0.1045413464307785, -0.16781768202781677, 0.8019688129425049, 0.005217765923589468, -0.41167691349983215, -0.09782713651657104, 0.41272327303886414, 0.6107712984085083, 0.605951189994812, 1.0767751932144165, 0.7971200942993164, 0.5983977913856506, -0.5299617648124695, 0.9813414216041565, 0.1215319111943245, -0.03633612021803856, 0.8943219184875488, 0.01720123551785946, 0.11439445614814758, 0.5054506063461304, -0.2798100709915161, 0.35334983468055725, 0.5371019840240479, 0.11185020953416824, 0.5184414386749268, 0.4799569547176361, -0.2038719803094864, -0.33441540598869324, -0.4652198553085327, -0.4453652799129486, 0.3690902590751648, 0.313014954328537, -0.14217880368232727, -0.24131722748279572, 0.04459865018725395, -0.3206842243671417, 0.3963128328323364, -0.8669146299362183, 0.7351722717285156, -0.18072262406349182, -0.3525082468986511, 0.16649813950061798, 0.08061719685792923, 0.7300146818161011, 0.1233552098274231, -0.41240835189819336, -0.016004065051674843, 0.15449723601341248, -0.647115170955658, -1.0829576253890991, 0.35220640897750854, -0.2974623143672943, -0.2131708413362503, -0.006496883928775787, 0.49666085839271545, -0.5874554514884949, -0.716938853263855, 0.15179960429668427, 0.32941269874572754, -0.050732553005218506, 0.1802571415901184, -0.5516754388809204, -0.13362514972686768, -0.15027855336666107, 0.5158401131629944, 0.024706944823265076, 0.46542537212371826, -0.2769213020801544, 0.4309825599193573, 0.9204246997833252, 0.07588575035333633, 0.4110443592071533, 0.20475131273269653, 0.9641183614730835, -0.7034887075424194, -0.775307297706604, -0.5609339475631714, 0.8626118302345276, -0.6320509314537048, 0.03329337760806084, 0.48036956787109375, 0.7871032953262329, 1.1506381034851074, 0.3275618851184845, 0.9208167791366577, -0.20801003277301788, 0.7178455591201782, -0.7091575860977173, 0.4504860043525696, -0.6806538105010986, 0.04650874808430672, -0.3382960557937622, -0.7906081676483154, -0.41586488485336304, 0.5964331030845642, -0.5177964568138123, 0.5666257739067078, 0.30508124828338623, 0.8751774430274963, -0.48686206340789795, 0.19301916658878326, 0.08574880659580231, -0.233136385679245, 0.43163391947746277, 0.7802067995071411, 1.0619573593139648, -0.5874764919281006, 0.32074636220932007, -0.359424889087677, -0.47637319564819336, -0.09819184988737106, -0.36776718497276306, -0.826755702495575, -0.368474543094635, -0.1932186335325241, -0.2401738166809082, 0.22373762726783752, 0.5215181708335876, 1.047755479812622, -0.7742684483528137, 0.05879727005958557, -0.44270387291908264, 0.27346205711364746, 0.26505351066589355, -0.47447025775909424, 0.19188101589679718, -0.454761266708374, -1.065455436706543, 0.18843911588191986, 0.07814662158489227, 0.17556032538414001, 0.08709513396024704, -0.08690901100635529, 0.19235359132289886, -0.11691077798604965, 0.5724965929985046, 0.013229402713477612, -0.14938615262508392, -0.44512292742729187, -0.6054201126098633, 0.13932590186595917, 0.2894817590713501, 0.7354723215103149, -1.0118602514266968, 0.372381329536438, 0.3409636616706848, 0.7158123850822449, 0.21985957026481628, 0.7041621208190918, 0.7520752549171448, -0.8930971622467041, 0.21074418723583221, 0.32569172978401184, 0.26953524351119995, 0.4686095118522644, -0.47268545627593994, 0.8198325037956238, 0.3411976397037506, -0.5300213098526001, -0.9002480506896973, 0.31529608368873596, -0.912284255027771, 0.08258242905139923, 0.7610925436019897, 0.5255671143531799, -0.1090557724237442, -0.4481583833694458, -0.08724828064441681, 0.16023248434066772, -0.2708963453769684, 1.0618329048156738, 0.036204993724823, -0.4021463990211487, 0.06601247191429138, -0.17095379531383514, 0.5427542924880981, 0.4066220819950104, -1.408489465713501, -0.3669928312301636, 0.7908315658569336, -0.08614659309387207, 0.2402096390724182, 0.6329522728919983, -0.49662184715270996, 0.4831751883029938, -0.21215438842773438, -0.07752733677625656, 0.1035098284482956, -0.3310609757900238, -0.1296183466911316, 0.27296435832977295, -0.6176654696464539, -0.4557530879974365 ]
http://arxiv.org/abs/2405.14507v1
http://arxiv.org/pdf/2405.14507v1
Unchosen Experts Can Contribute Too: Unleashing MoE Models' Power by Self-Contrast
2024-05-23T12:45:29
2024-05-23T12:45:29
Chufan Shi, Cheng Yang, Xinyu Zhu, Jiahao Wang, Taiqiang Wu, Siheng Li, Deng Cai, Yujiu Yang, Yu Meng
cs.CL
cs.CL, cs.LG
Mixture-of-Experts (MoE) has emerged as a prominent architecture for scaling model size while maintaining computational efficiency. In MoE, each token in the input sequence activates a different subset of experts determined by a routing mechanism. However, the unchosen experts in MoE models do not contribute to the output, potentially leading to underutilization of the model's capacity. In this work, we first conduct exploratory studies to demonstrate that increasing the number of activated experts does not necessarily improve and can even degrade the output quality. Then, we show that output distributions from an MoE model using different routing strategies substantially differ, indicating that different experts do not always act synergistically. Motivated by these findings, we propose Self-Contrast Mixture-of-Experts (SCMoE), a training-free strategy that utilizes unchosen experts in a self-contrast manner during inference. In SCMoE, the next-token probabilities are determined by contrasting the outputs from strong and weak activation using the same MoE model. Our method is conceptually simple and computationally lightweight, as it incurs minimal latency compared to greedy decoding. Experiments on several benchmarks (GSM8K, StrategyQA, MBPP and HumanEval) demonstrate that SCMoE can consistently enhance Mixtral 8x7B's reasoning capability across various domains. For example, it improves the accuracy on GSM8K from 61.79 to 66.94. Moreover, combining SCMoE with self-consistency yields additional gains, increasing major@20 accuracy from 75.59 to 78.31.
[ -0.5554593205451965, -0.15491609275341034, 0.4723701477050781, 0.3068538308143616, -0.5420511960983276, 0.05704621598124504, -0.30392780900001526, -0.4170370101928711, 0.4095976948738098, 0.6029961705207825, -0.22675637900829315, -0.017026610672473907, -0.7636585235595703, 0.14730830490589142, -0.18528687953948975, 0.8131295442581177, 0.3237549662590027, 0.15045280754566193, -0.2596420645713806, -0.13950574398040771, -0.4114933907985687, -0.1033487319946289, -0.43961748480796814, -0.4472917914390564, 0.2169191688299179, 0.4025275707244873, 0.35785651206970215, 0.6385859251022339, 0.2638174891471863, 0.38108861446380615, 0.0757862851023674, 0.36609771847724915, -0.5086597204208374, 0.36377906799316406, -0.5218807458877563, -0.36666229367256165, -0.352385938167572, -0.20423740148544312, 0.15040309727191925, 0.5026598572731018, -0.32861217856407166, -0.16956833004951477, 0.2176217883825302, 0.6378629207611084, -0.8933994770050049, -0.029084235429763794, -0.9875653386116028, -0.26986145973205566, -0.13249804079532623, -0.420706182718277, -0.5473471879959106, 0.43380701541900635, 0.040997691452503204, -0.5374880433082581, 0.2443321794271469, 0.04561425372958183, 0.35013896226882935, 0.6509861350059509, -0.7210556864738464, -0.20289203524589539, -0.5466755628585815, 0.880183756351471, -1.1615039110183716, 0.0702376440167427, 0.23193359375, 0.18420690298080444, -0.2634979486465454, -0.24293671548366547, -0.29281410574913025, 0.20673823356628418, 0.04071834683418274, 0.6246102452278137, -0.15441635251045227, 0.12226837128400803, -0.24406391382217407, 0.35474416613578796, -0.003091915277764201, 0.2839874029159546, -0.7678805589675903, -0.13166402280330658, 1.074133038520813, 0.17964912950992584, -0.14140048623085022, -0.2765587568283081, -0.4895823001861572, 0.08731807768344879, -0.36745908856391907, -0.18526163697242737, 0.29600465297698975, -0.06689270585775375, 0.2844647169113159, 0.29431474208831787, -0.4259084165096283, 0.39853471517562866, 0.6277937889099121, 0.028443828225135803, 0.073801189661026, -0.08071072399616241, -0.18811053037643433, 0.16436901688575745, 1.0251762866973877, 0.38794395327568054, -0.042975980788469315, -0.3070581257343292, -0.33067476749420166, -0.17656680941581726, 0.4864331781864166, -0.767795979976654, -0.7002776861190796, 0.09792950004339218, -0.43209174275398254, -0.32684755325317383, 0.18339566886425018, -0.9360456466674805, -0.4210485517978668, -0.06609676778316498, 0.696901261806488, -0.24304239451885223, -0.5604627728462219, 0.19903722405433655, -0.2653522491455078, -0.18206654489040375, 0.2712309956550598, -1.0936492681503296, 0.2355847805738449, 0.27867361903190613, 0.47288307547569275, -0.2657816708087921, -0.21627205610275269, -0.12531961500644684, 0.24952642619609833, -0.5474982857704163, 0.8822832107543945, -0.4103032052516937, -0.7998530864715576, -0.5388251543045044, -0.5467875599861145, -0.22034519910812378, -0.704486608505249, 0.33167147636413574, -0.43104732036590576, 0.06074013188481331, -0.27519288659095764, -0.6799052357673645, -0.19326166808605194, -0.3391694128513336, -0.2602774202823639, 1.091598629951477, -0.06787904351949692, -0.7703544497489929, 0.21489675343036652, -0.5979965925216675, -0.3722265362739563, -0.18487660586833954, -0.4824795722961426, -0.10919362306594849, 0.7136509418487549, 0.3698364198207855, 0.6719914674758911, -0.11608576774597168, 0.09461656212806702, -0.415292352437973, -0.2978268563747406, 0.27941298484802246, -0.535286545753479, 0.7722797393798828, 0.3798789083957672, -0.4683944284915924, 0.013250963762402534, -1.020891785621643, 0.06746382266283035, -0.008757616393268108, -0.34402838349342346, -0.5973175764083862, -0.0015186700038611889, -0.49256473779678345, 0.3599725067615509, 0.06686951220035553, -0.5254368782043457, 0.23963101208209991, -0.15274500846862793, 0.5098069310188293, 1.1403539180755615, 0.16778549551963806, 0.6863654851913452, -0.16241507232189178, 0.1759791374206543, 0.40958648920059204, 0.059017110615968704, -0.1781938076019287, -0.5319017767906189, -0.8579221367835999, -0.5317675471305847, 0.540686845779419, 0.232879638671875, -0.7888393998146057, 0.46595585346221924, -0.34406206011772156, -0.5880188941955566, -0.9476253390312195, 0.5228597521781921, 0.3046260178089142, 0.6850148439407349, 0.48224902153015137, -0.4447126090526581, -0.23027533292770386, -1.1006015539169312, -0.2875487506389618, 0.13355745375156403, -0.1962769627571106, 0.08345697075128555, 0.28553512692451477, 0.050665318965911865, 0.8125274181365967, -0.29460448026657104, -0.17035922408103943, -0.04174774885177612, 0.4175567924976349, -0.01702730543911457, 0.644916832447052, 0.42199885845184326, -0.5331060290336609, -0.5663483738899231, 0.0019963013473898172, -0.811260998249054, -0.369727224111557, -0.11334577202796936, -0.26385024189949036, -0.13023363053798676, 0.477355420589447, -0.39648446440696716, 0.34484928846359253, 0.46340492367744446, -0.15781280398368835, 0.3800720274448395, -0.5205000042915344, 0.28447213768959045, -0.9342616200447083, -0.4571360945701599, -0.10940426588058472, 0.09124407172203064, -0.5213907957077026, 0.13281847536563873, 0.03780480474233627, 0.2020954042673111, -0.13810767233371735, 0.4855737090110779, -0.528688907623291, -0.11635714769363403, -0.39285722374916077, -0.09600015729665756, 0.035426065325737, 0.6626070141792297, -0.20187078416347504, 0.8724150061607361, 0.6454862952232361, -0.673617959022522, 0.045233361423015594, -0.13393634557724, -0.26554104685783386, 0.5725744962692261, -0.6763646602630615, 0.14454036951065063, 0.10646775364875793, 0.03467680886387825, -1.0461293458938599, -0.18254727125167847, 0.14211435616016388, -0.5049657225608826, 0.3584327697753906, -0.05156474560499191, -0.4178900718688965, -0.22335511445999146, -0.22733238339424133, 0.44303396344184875, 0.7792153358459473, -0.3634077310562134, 1.1641671657562256, 0.03545388579368591, -0.021655607968568802, -0.4034503996372223, -0.8617684841156006, -0.11712442338466644, -0.16068978607654572, -0.7384034991264343, 0.18695156276226044, -0.14666679501533508, -0.10205550491809845, 0.07982659339904785, -0.49224361777305603, -0.08224557340145111, 0.12188002467155457, 0.28502747416496277, -0.10416878759860992, -0.20304107666015625, 0.05076851323246956, 0.5578054189682007, -0.22355227172374725, 0.1703217327594757, -0.27541065216064453, 0.20272821187973022, 0.15186749398708344, -0.5857127904891968, -0.5647416710853577, 0.6533931493759155, 0.5243174433708191, -0.339216411113739, 0.5022346377372742, 0.43655478954315186, 0.25046107172966003, -0.20126847922801971, -0.793964147567749, -0.388947457075119, -0.5221814513206482, 0.12936756014823914, -0.3715992569923401, -0.46480971574783325, 0.680176854133606, -0.16648834943771362, 0.19666174054145813, 0.6825360655784607, 0.4089403450489044, -0.2628064751625061, 1.1950486898422241, 0.40059179067611694, 0.21625477075576782, 0.2883923351764679, -0.2641630470752716, 0.20853044092655182, -0.9880778193473816, -0.3067711293697357, -0.2803230583667755, -0.3701511323451996, -0.4488484859466553, -0.2849067747592926, 0.45522192120552063, 0.23999735713005066, -0.10494386404752731, 0.00767049053683877, -0.5670605897903442, 0.41080793738365173, 0.7902704477310181, 0.28057435154914856, 0.3174441158771515, 0.23106786608695984, -0.08951504528522491, 0.09780171513557434, -1.3040169477462769, -0.050255537033081055, 1.330458402633667, 0.0037248360458761454, 1.0027024745941162, -0.17909759283065796, 0.9777661561965942, 0.46592432260513306, 0.23893482983112335, -0.42452290654182434, 0.6561903953552246, -0.1361762136220932, -0.6447144746780396, -0.2568502724170685, -0.5642239451408386, -0.728329062461853, 0.6348426342010498, -0.3745953440666199, -0.4371955394744873, 0.7187812924385071, 0.40193971991539, -0.34995579719543457, 0.48953887820243835, -0.683575451374054, 0.3246482312679291, -0.19054943323135376, -0.41632553935050964, -0.4875466823577881, -0.6143043637275696, 0.2247544825077057, -0.13672588765621185, 0.1883833408355713, -0.0472981333732605, 0.09588588029146194, 0.9346556067466736, -0.42051437497138977, 0.8559220433235168, 0.04771775007247925, -0.07115226984024048, 0.4045117199420929, 0.32212600111961365, 0.31705859303474426, -0.2741716802120209, -0.24224117398262024, 0.4737401008605957, -0.4541285037994385, -0.9809786677360535, -0.8205751180648804, 0.6859270930290222, -0.9346336126327515, -0.8551903963088989, -0.12464851886034012, -0.53193598985672, -0.19625619053840637, 0.4804091155529022, 0.6136893033981323, 0.5216062664985657, 0.37236660718917847, 0.41994741559028625, 0.781751811504364, 0.47172147035598755, 0.32399553060531616, 0.4206346273422241, 0.17709395289421082, -0.6059184670448303, 0.9405587315559387, 0.2927512526512146, 0.4979065954685211, -0.03876739740371704, 0.27669569849967957, -0.2159905731678009, -0.6976692080497742, -0.6404507756233215, 0.05610651895403862, -0.786281168460846, -0.2352409064769745, -0.6133601665496826, 0.07772891968488693, -0.33203062415122986, -0.39257460832595825, -0.6871019601821899, -0.47050076723098755, -0.17519822716712952, -0.046508997678756714, 0.13314561545848846, 0.8145620822906494, -0.30880045890808105, 0.633057177066803, -0.4568789303302765, -0.048462748527526855, 0.6240198016166687, 0.04643520340323448, 0.4245448410511017, -0.6170497536659241, -0.323911190032959, 0.13932833075523376, -0.4798353910446167, -0.9108640551567078, 0.03616015613079071, -0.08006253838539124, 0.8876639008522034, 0.99495929479599, 0.31586953997612, 0.7111874222755432, -0.10751664638519287, 0.6020836234092712, 0.42264652252197266, -1.0121511220932007, 0.1994616538286209, -0.3905521333217621, -0.04802953451871872, 0.5133953094482422, 0.132951557636261, 0.24954275786876678, -0.544579029083252, -0.88388991355896, -0.7393265962600708, 0.44722315669059753, 0.3293372690677643, 0.14064158499240875, 0.04078303277492523, 0.18575984239578247, 0.23158778250217438, 0.5014095902442932, -0.3370288610458374, -0.14614756405353546, -0.5493557453155518, -0.2264549881219864, 0.07935157418251038, -0.3458293378353119, -0.27002453804016113, -0.19731834530830383, 0.6009576320648193, 0.10540568083524704, 0.2965458035469055, 0.31750407814979553, 0.08250994235277176, -0.09903116524219513, 0.35294651985168457, 0.3589847683906555, 0.8555390238761902, -0.12955737113952637, 0.2621753513813019, 0.2264014184474945, 0.04304046556353569, 0.04233293607831001, -0.2306094467639923, -0.1946815848350525, -0.10184527933597565, 0.5636611580848694, 0.6524361968040466, 0.6036505103111267, -0.2058078795671463, 0.34154263138771057, 0.4460063874721527, -0.5508967041969299, 0.33690693974494934, 0.5266872048377991, 0.03154539689421654, 0.2925451397895813, 0.7223855257034302, 0.42165279388427734, 0.25823599100112915, -0.3293271064758301, -0.11087562888860703, 0.22347600758075714, -0.012636201456189156, -0.16907180845737457, 0.7306180596351624, 0.6522445678710938, -0.1044873371720314, 0.5207913517951965, -0.17068585753440857, -0.3650805354118347, 0.6975966691970825, 0.4664551615715027, 0.49030742049217224, -0.5494219660758972, -0.07304439693689346, -0.07315347343683243, 0.10571401566267014, -0.18787144124507904, -0.08165214210748672, -0.26921558380126953, -0.6510478258132935, -0.2933565378189087, 0.005193383898586035, -0.08378610759973526, -0.30297574400901794, -1.0647863149642944, -0.14482465386390686, -0.33419349789619446, -0.061859071254730225, -0.06768607348203659, -0.05125594511628151, -0.6067786812782288, 0.20775727927684784, -0.3817991018295288, 0.7712348103523254, -0.9318407773971558, 0.5607351660728455, 0.6014069318771362, -0.2494492381811142, -0.6137378811836243, -0.12341807782649994, -0.34256765246391296, -0.9017531275749207, 0.4304862320423126, -0.06314372271299362, -0.20897513628005981, 0.07623426616191864, -0.6078416705131531, -0.41863977909088135, 1.1466832160949707, -0.018094416707754135, -0.4326576292514801, 0.08578569442033768, -0.35777145624160767, 0.4481754004955292, -0.54323810338974, 0.5033942461013794, -0.03263217955827713, 0.2477102130651474, 0.08077071607112885, -0.7877252697944641, -0.03265701234340668, -0.13265326619148254, -0.024958869442343712, 0.1834341436624527, -0.9425266981124878, 1.0305256843566895, -0.24928034842014313, 0.07589731365442276, -0.209030881524086, 1.1152360439300537, 0.14339721202850342, 0.33919185400009155, 0.7538325786590576, 0.42732545733451843, 0.5819652080535889, 0.47211092710494995, 0.7276934385299683, -0.3401454985141754, 0.3411366939544678, 1.0147743225097656, 0.00301183364354074, 0.6825858354568481, 0.5408621430397034, 0.0013035793090239167, 0.6204854249954224, 0.4999437928199768, 0.0006806761375628412, 0.75008624792099, -0.2056853175163269, -0.14581750333309174, -1.0605037212371826, 0.38128700852394104, -0.4448395073413849, 0.38222140073776245, 0.2853514850139618, -0.3654363453388214, -0.4272819459438324, -0.08355545997619629, -0.07539842277765274, 0.1386956423521042, -0.5246097445487976, 0.6375847458839417, 0.09754820913076401, -0.5066300630569458, 0.3381763994693756, -0.22533820569515228, 0.7679182887077332, -0.5718646049499512, 0.10462908446788788, -0.40874412655830383, 0.05115813389420509, -0.2649613320827484, -0.6604896187782288, -0.1101946085691452, -0.46145039796829224, -0.3043729364871979, 0.12374235689640045, 0.6520801782608032, -0.3584021329879761, -0.5085981488227844, 0.3968718647956848, 0.6189020872116089, 0.26286235451698303, -0.05061929672956467, -0.6226076483726501, -0.2796264886856079, 0.10620845854282379, -0.2744544446468353, 0.6002994775772095, 0.760301947593689, 0.03730121627449989, 1.0354520082473755, 0.5907085537910461, 0.07861127704381943, 0.3533726632595062, -0.432343065738678, 1.054815411567688, -0.331560879945755, -0.692706823348999, -0.6760478019714355, 0.5189064145088196, -0.3451835811138153, -0.30372825264930725, 0.9723504781723022, 0.21510523557662964, 0.8785008192062378, -0.1736285537481308, 0.7061727046966553, 0.2635768949985504, 0.17154590785503387, -0.5808587074279785, 0.4795219898223877, -0.883725643157959, 0.29067280888557434, 0.005693963263183832, -0.37560907006263733, 0.29611071944236755, 0.5768743753433228, -0.2879602909088135, 0.18745259940624237, 0.3513144552707672, 0.6792158484458923, -0.40358635783195496, -0.23526115715503693, 0.44164028763771057, 0.38770943880081177, 0.12947526574134827, 0.38477662205696106, 0.5051884055137634, -0.17107583582401276, 0.5386812686920166, -0.4351637661457062, -0.2809413969516754, -0.6284127831459045, -0.8199031949043274, -1.1688846349716187, -0.3450121283531189, -0.23589135706424713, -0.13117410242557526, 0.08918295055627823, 0.7845218181610107, 1.0130040645599365, -0.6161531805992126, 0.040126651525497437, 0.0770287960767746, 0.10378085821866989, -0.413772851228714, -0.16489030420780182, 0.22939541935920715, -0.1165446937084198, -0.4937237501144409, 0.4931686818599701, 0.45012080669403076, -0.17975333333015442, -0.3990926742553711, -0.01977635733783245, 0.24546052515506744, 0.5463928580284119, 0.3822805881500244, 0.131279855966568, -0.762361466884613, 0.08132762461900711, -0.18247029185295105, 0.11902646720409393, 0.10603713244199753, 0.9589633345603943, -0.614692747592926, 0.6878620982170105, 0.5409555435180664, 0.6518054008483887, 0.18519887328147888, 0.23167076706886292, 0.5085651278495789, -0.30803120136260986, -0.04756547510623932, -0.002211265731602907, 0.5268515348434448, 0.02522609755396843, -0.5668783783912659, 0.34457552433013916, 0.3191172778606415, -0.7982038855552673, -0.582108199596405, 0.09103495627641678, -1.0484291315078735, -0.5191237330436707, 1.0187283754348755, -0.13599784672260284, -0.15804120898246765, -0.164117693901062, -0.1881158947944641, -0.013572052121162415, -0.8038254380226135, 1.116400122642517, 0.7868494987487793, -0.4468033015727997, -0.10981937497854233, -0.4537859261035919, 0.02942928671836853, 0.8831015825271606, -0.369978666305542, -0.15074728429317474, 0.18808472156524658, 0.6433971524238586, 0.17799317836761475, 0.8548848032951355, 0.16721917688846588, 0.12144400924444199, 0.3190097510814667, 0.05170659348368645, -0.5900393128395081, -0.3247442841529846, -0.2274743765592575, 0.004161807242780924, -0.16670523583889008, -0.25500065088272095 ]
http://arxiv.org/abs/2405.14505v1
http://arxiv.org/pdf/2405.14505v1
Explainable automatic industrial carbon footprint estimation from bank transaction classification using natural language processing
2024-05-23T12:43:06
2024-05-23T12:43:06
Jaime González-González, Silvia García-Méndez, Francisco de Arriba-Pérez, Francisco J. González-Castaño, Óscar Barba-Seara
cs.CL
cs.CL, cs.AI, cs.CE, cs.LG
Concerns about the effect of greenhouse gases have motivated the development of certification protocols to quantify the industrial carbon footprint (CF). These protocols are manual, work-intensive, and expensive. All of the above have led to a shift towards automatic data-driven approaches to estimate the CF, including Machine Learning (ML) solutions. Unfortunately, the decision-making processes involved in these solutions lack transparency from the end user's point of view, who must blindly trust their outcomes compared to intelligible traditional manual approaches. In this research, manual and automatic methodologies for CF estimation were reviewed, taking into account their transparency limitations. This analysis led to the proposal of a new explainable ML solution for automatic CF calculations through bank transaction classification. Consideration should be given to the fact that no previous research has considered the explainability of bank transaction classification for this purpose. For classification, different ML models have been employed based on their promising performance in the literature, such as Support Vector Machine, Random Forest, and Recursive Neural Networks. The results obtained were in the 90 % range for accuracy, precision, and recall evaluation metrics. From their decision paths, the proposed solution estimates the CO2 emissions associated with bank transactions. The explainability methodology is based on an agnostic evaluation of the influence of the input terms extracted from the descriptions of transactions using locally interpretable models. The explainability terms were automatically validated using a similarity metric over the descriptions of the target categories. Conclusively, the explanation performance is satisfactory in terms of the proximity of the explanations to the associated activity sector descriptions.
[ -0.5049585103988647, -0.6827207803726196, 0.6473401188850403, -0.13110628724098206, -0.1578424870967865, 0.08191583305597305, 0.09988683462142944, -0.9627920389175415, -0.07598159462213516, 0.6818734407424927, -0.2970740795135498, -0.4365312159061432, -0.5703882575035095, -0.07635322213172913, -0.4815472960472107, 0.9919552206993103, -0.18708312511444092, 0.007937092334032059, -0.17140275239944458, -0.016824867576360703, -0.31217268109321594, -0.37949663400650024, -0.9076117277145386, -0.22914528846740723, 0.2539258897304535, -0.047007232904434204, 0.6089082360267639, 0.6309555172920227, 0.38210731744766235, 0.38760486245155334, -0.1491745561361313, 0.08661209046840668, 0.11278510093688965, -0.6707624793052673, -0.06399832665920258, -0.1954897940158844, -0.2566559910774231, -0.04916055127978325, 0.5121302008628845, 0.9394010305404663, -0.08418312668800354, 0.24063219130039215, 0.28358444571495056, 0.7241637110710144, -0.6843883991241455, 0.4491056501865387, -0.5062212347984314, 0.12564195692539215, 0.46536824107170105, -0.07929230481386185, -0.3692759871482849, -0.2547592520713806, 0.2537645399570465, -0.1727074533700943, 0.6239592432975769, 0.23126734793186188, 0.7258808612823486, 0.24107006192207336, -0.33033379912376404, -0.8624812364578247, -0.9778408408164978, 0.6818310022354126, -0.6504673361778259, 0.4160363972187042, 0.20873118937015533, 0.5112501382827759, 0.13251258432865143, -0.4987243711948395, -0.41928383708000183, -0.2695491313934326, -0.769797146320343, 0.07479839026927948, -0.2866925001144409, 0.31388184428215027, 0.16445383429527283, 0.32820138335227966, -0.47375789284706116, 0.15170921385288239, -0.27831968665122986, -0.6628060340881348, 0.6245546340942383, 0.10523253679275513, -0.26253101229667664, -0.04306329786777496, -0.5011775493621826, -0.024055592715740204, 0.016228418797254562, 0.3398706614971161, 0.5536727905273438, 0.24131132662296295, -0.25991758704185486, 0.08621197938919067, -0.14271089434623718, 0.8994898796081543, -0.02571863681077957, -0.08653681725263596, -0.2128855288028717, -0.4024251103401184, -0.6290239691734314, 0.25783026218414307, 0.5402316451072693, 0.09387220442295074, -0.34692737460136414, -0.32541072368621826, -0.1008562445640564, -0.014449210837483406, 0.0858544334769249, -0.6862510442733765, -0.22952356934547424, 0.3147734999656677, -0.3730607330799103, -0.39179086685180664, 0.4831062853336334, -0.8402199745178223, -0.29044675827026367, -0.45684805512428284, 0.1445499211549759, 0.18383148312568665, -0.2226167619228363, 0.06575977057218552, -0.25881507992744446, 0.22999145090579987, 0.4849463999271393, -0.7563786506652832, 0.2791176438331604, 0.6106006503105164, 0.8520146012306213, 0.06911970674991608, 0.40241020917892456, -0.1588374525308609, 0.23085840046405792, -0.17311574518680573, 0.7270125150680542, -0.39488378167152405, -0.35806804895401, -0.24639803171157837, 0.1956363022327423, -0.023916900157928467, -0.43418869376182556, 0.3282206952571869, -0.39778798818588257, 0.28700539469718933, 0.05807717144489288, -0.37416747212409973, -0.8140688538551331, 0.32129326462745667, -0.6808916926383972, 0.7070344090461731, 0.2938303053379059, -0.7678062319755554, 0.4832233488559723, -0.6967929601669312, -0.26157334446907043, 0.04910819232463837, 0.11683827638626099, -0.7362844944000244, -0.11854669451713562, -0.06778734177350998, 0.5851740837097168, -0.2119370400905609, 0.5157608389854431, -0.29387959837913513, -0.2080553025007248, 0.18837162852287292, -0.7538362145423889, 1.1642931699752808, 0.37622106075286865, -0.524852454662323, 0.1629715859889984, -0.9256743788719177, -0.04008922725915909, -0.3985442519187927, -0.19938404858112335, 0.09335067123174667, -0.19545909762382507, -0.04122871160507202, -0.060687217861413956, 0.3021111488342285, -0.4842512011528015, -0.41141387820243835, -0.36976107954978943, 0.41977202892303467, 0.7038639187812805, 0.14981591701507568, 0.23632356524467468, -0.20134860277175903, 0.4393899142742157, -0.10076169669628143, 0.35485199093818665, -0.011938189156353474, -0.3087170422077179, -0.6246168613433838, -0.30878451466560364, 0.20810642838478088, 0.5068857073783875, 0.12755151093006134, 0.6734448075294495, -0.010710366070270538, -0.7813861966133118, -0.01438186876475811, 0.11367745697498322, 0.18846257030963898, 0.7944968938827515, 0.1575489044189453, -0.505196213722229, -0.504205048084259, -1.0236581563949585, -0.23501892387866974, -0.4560776352882385, -0.10546571761369705, 0.430564820766449, 0.46147724986076355, -0.39386850595474243, 1.004152774810791, -0.46437814831733704, -0.04491901770234108, 0.2226848304271698, 0.5165226459503174, 0.252279669046402, 0.5671991109848022, 0.4282796382904053, -0.9040856957435608, -0.3808784484863281, 0.26359137892723083, -0.3636211156845093, 0.26476630568504333, -0.6621523499488831, -0.17543217539787292, 0.4506121277809143, 0.4795374572277069, -0.21985599398612976, 0.7519559264183044, 0.5071995258331299, -0.3774312734603882, 0.5675647258758545, -0.559785008430481, 0.0011965865269303322, -0.4048769474029541, 0.4666769802570343, 0.1285807490348816, -0.3823604881763458, -0.4392577111721039, -0.14984355866909027, -0.09687936305999756, -0.03560343384742737, -0.1751812994480133, 0.41908887028694153, -0.28549104928970337, -0.4266287386417389, -0.3071364760398865, -0.2602287828922272, 0.44326457381248474, 0.7305970788002014, 0.08925861865282059, 0.23571330308914185, 0.37788498401641846, -0.844900906085968, 0.1629810780286789, -0.05364201217889786, -0.2526286542415619, 0.18315930664539337, -0.3272522985935211, 0.15227003395557404, 0.00811976008117199, 0.5224433541297913, -1.302018404006958, 0.006224055774509907, 0.4935588836669922, -0.4452439546585083, 0.35428014397621155, -0.24962784349918365, -0.31465065479278564, -0.34567680954933167, 0.19694583117961884, -0.03253159672021866, 0.4085792303085327, -0.5948232412338257, 0.9822977781295776, -0.03917459398508072, 0.37123143672943115, -0.2337360382080078, -0.8141859173774719, 0.02599884197115898, -0.5092003345489502, -0.4037555158138275, 0.03609627112746239, -0.24783433973789215, -0.2352815717458725, -0.1604759395122528, -0.5868434309959412, -0.3962048888206482, 0.6224997639656067, 0.21766939759254456, 0.21674591302871704, 0.193034365773201, -0.13227708637714386, -0.28957197070121765, -0.3497312366962433, 0.6380258202552795, -0.35818085074424744, 0.16813427209854126, -0.0898304358124733, -0.013290254399180412, -0.7205697894096375, 0.0951746255159378, 0.6371046304702759, -0.04871321842074394, 0.9744771122932434, 0.5953693389892578, -0.5138604640960693, 0.09242942929267883, -0.39654091000556946, 0.11684195697307587, -0.5086349248886108, -0.023775272071361542, 0.09415855258703232, -0.4768497347831726, 0.8084871768951416, -0.19863957166671753, 0.23815612494945526, 0.6774787902832031, 0.24394914507865906, -0.14855657517910004, 0.8777101635932922, 0.6081750392913818, 0.3031246066093445, 0.28642112016677856, -0.3635082244873047, 0.6243209838867188, -0.3725242018699646, -0.551812469959259, -0.8690779209136963, 0.01077942457050085, -0.7234506011009216, -0.29423120617866516, 0.21059861779212952, 0.2653094530105591, -0.34957802295684814, 0.36152422428131104, -0.5761551260948181, 0.25676384568214417, 0.18808546662330627, 0.06246575340628624, 0.3208889961242676, -0.07423679530620575, 0.028701411560177803, 0.5324912667274475, -0.4946080446243286, -0.5282999873161316, 0.4740762412548065, 0.37428179383277893, 0.17963607609272003, 0.05474139377474785, 0.5314330458641052, 0.5558918714523315, 0.5214589834213257, -0.589523196220398, 0.22909846901893616, 0.05792519822716713, -0.7695952653884888, -0.3685091435909271, -0.4090328514575958, -0.8975350856781006, 0.11769682168960571, -0.08316902816295624, -0.677888035774231, 0.16301369667053223, 0.4694761335849762, -0.4644629657268524, 0.42796146869659424, -0.9027203321456909, 0.9121336340904236, -0.5550142526626587, -0.45361465215682983, -0.12837383151054382, -0.5330541133880615, 0.33002200722694397, -0.25427672266960144, 0.5989817380905151, 0.16044403612613678, 0.06125476211309433, 0.8115038275718689, -0.6925610303878784, 1.0416096448898315, -0.5963060855865479, -0.3609004020690918, 0.47558316588401794, -0.06654955446720123, 0.7653613686561584, -0.18308250606060028, -0.17460407316684723, 0.659589409828186, 0.023364122956991196, -0.41428399085998535, -0.67476886510849, 0.36710450053215027, -0.2102501094341278, -0.3842833936214447, -0.47388583421707153, -0.18791641294956207, -0.2617111802101135, 0.19369223713874817, 0.1287795752286911, -0.015405073761940002, -0.08730335533618927, -0.0808814987540245, 0.31593888998031616, -0.3159721791744232, 0.6193122863769531, 0.6616019606590271, 0.0392473004758358, -0.21568310260772705, 0.6156381964683533, 0.18850155174732208, 0.17090097069740295, 0.42221733927726746, 0.48989203572273254, -0.3771255612373352, -0.7478726506233215, -0.39659228920936584, -0.14805328845977783, -0.7055145502090454, -0.11481710523366928, -0.6579420566558838, -0.10613257437944412, -0.3571167588233948, -0.623405933380127, -0.04664212092757225, -0.3628230392932892, -0.21090267598628998, -0.5095688700675964, 0.21177545189857483, 0.6346411108970642, -0.14214755594730377, 0.5280666947364807, -0.7579994201660156, 0.20635239779949188, 0.047439802438020706, 0.6797541975975037, 0.2121639847755432, -0.2164558470249176, -0.7362661361694336, 0.17180834710597992, -0.1410067230463028, -0.8080584406852722, 0.41850873827934265, -0.19883577525615692, 0.5463889241218567, 0.8295721411705017, 0.03511931747198105, 0.6466646790504456, 0.26004260778427124, 0.5764356255531311, 0.37973085045814514, -1.1883931159973145, 0.3006661534309387, -0.13129650056362152, 0.08615157008171082, 0.470459908246994, 0.3771314024925232, -0.329542875289917, -0.452105313539505, -0.8433132171630859, -1.031593680381775, 0.6953714489936829, 0.2713204026222229, -0.2684948742389679, 0.3070468604564667, 0.3206978738307953, 0.5443403124809265, 0.13650056719779968, -0.7088871002197266, -0.1749284714460373, -0.15255233645439148, 0.09851386398077011, -0.11264421045780182, 0.13530893623828888, 0.006969822105020285, -0.36434081196784973, 0.9034685492515564, -0.10671725869178772, 0.33337244391441345, 0.1631333976984024, 0.07679903507232666, -0.04205251857638359, 0.056229934096336365, 0.46349087357521057, 0.9381603002548218, -0.4490174353122711, -0.03181951120495796, 0.2613813281059265, -0.3344871997833252, -0.13768044114112854, -0.06811780482530594, -0.26034191250801086, 0.05688939616084099, 0.44074416160583496, 0.7270487546920776, -0.16863933205604553, -0.5711641907691956, 0.043372444808483124, -0.07328283786773682, -0.47086939215660095, -0.9707530736923218, 0.10919497907161713, 0.06388229131698608, 0.06827439367771149, 0.07579895853996277, 0.769342839717865, 0.6025691628456116, -0.44337767362594604, -0.028178511187434196, 0.4269965887069702, -0.7451838254928589, 0.06669482588768005, 0.7514334917068481, 0.26471376419067383, -0.03361358493566513, 0.5684216618537903, -0.11865564435720444, -0.5691697597503662, 1.1975922584533691, 0.07552247494459152, 1.1061891317367554, 0.21924711763858795, 0.16722680628299713, 0.7337722182273865, 0.4234716594219208, 0.10332603007555008, -0.36216557025909424, -0.4123663604259491, -0.5527433753013611, -0.23756572604179382, -0.6767327785491943, -0.5044360756874084, 0.23598414659500122, -0.9353145956993103, 0.2169238179922104, -0.9803060293197632, 0.19461378455162048, 0.15854692459106445, 0.08308207988739014, -0.872839093208313, 0.4988722503185272, 0.2524828016757965, 0.7078971266746521, -0.9894534945487976, 0.4711765646934509, 0.1558300405740738, -0.1652834117412567, -0.760115385055542, -0.12435949593782425, -0.08825074136257172, -0.8171740174293518, 0.26422688364982605, 0.5363633036613464, -0.35564857721328735, -0.2294774353504181, -0.40462636947631836, -0.6611729860305786, 1.0665866136550903, 0.31082481145858765, -0.8324876427650452, 0.26847320795059204, 0.2374485284090042, 0.6318650245666504, -0.20209269225597382, 0.2942675054073334, 0.6620447635650635, 0.9665656685829163, 0.07471585273742676, -0.4963022768497467, 0.021362030878663063, 0.05473758652806282, -0.28783291578292847, 0.2718108296394348, -0.6573322415351868, 0.06567195802927017, -0.10609319806098938, -0.24284586310386658, -0.1933594048023224, 0.4889824688434601, -0.15637698769569397, 0.8453550338745117, 0.9133069515228271, 0.4085867404937744, 1.0922518968582153, 0.015213250182569027, 1.0446523427963257, -0.2521582841873169, 0.4475626051425934, 0.7735292315483093, 0.03139841556549072, 0.3996039927005768, 0.3089029788970947, -0.2966977059841156, 0.775060772895813, 0.8835604190826416, -0.27119770646095276, 0.16425754129886627, 0.4592667818069458, -0.24271996319293976, -0.08956804126501083, -0.02083466947078705, 0.16006432473659515, 0.5398510098457336, 0.26622462272644043, -0.6294657588005066, -0.05542686954140663, -0.15734967589378357, -0.16367603838443756, -0.004847608972340822, -0.40958988666534424, 0.8193234801292419, -0.28928259015083313, -0.5079565048217773, 0.30058321356773376, 0.2664116322994232, 0.5278552174568176, -0.702889621257782, -0.11555303633213043, -0.07635270059108734, -0.031901657581329346, -0.581509530544281, -0.395744264125824, 0.8045758008956909, 0.1137881800532341, -0.2353331595659256, -0.7185430526733398, 0.3985024094581604, -0.12198265641927719, -0.7993724346160889, 0.303810179233551, 0.028598768636584282, 0.22913527488708496, -0.10632722824811935, -0.6187583208084106, -0.19826120138168335, 0.39762645959854126, 0.08288181573152542, 0.058652885258197784, 0.28003543615341187, -0.25829368829727173, 0.3884517252445221, 0.6668605208396912, -0.36993008852005005, -0.234529048204422, -0.39630696177482605, 0.38871556520462036, -0.7047635912895203, -0.8230661749839783, -0.7138247489929199, 0.47806400060653687, 0.033010710030794144, 0.2234106957912445, 0.5629182457923889, 0.8916711807250977, 0.8534061312675476, 0.03160537779331207, 1.0538817644119263, -0.043906256556510925, 0.25543439388275146, -0.6334534287452698, 0.552905261516571, -0.22711797058582306, 0.6301591396331787, -0.03578891232609749, -0.9103500247001648, -0.0937606617808342, 0.6696913242340088, -0.21089455485343933, 0.27958786487579346, 0.6874660849571228, 0.6217387318611145, 0.0404612235724926, 0.24028761684894562, 0.11116985231637955, 0.28480997681617737, 0.23572643101215363, 0.17121991515159607, 0.21627755463123322, -0.1720045804977417, 0.7298247814178467, -0.580740749835968, -0.04204493761062622, -0.26154381036758423, -1.1936380863189697, -0.40903425216674805, -0.3193846642971039, -0.7841280102729797, -0.4343571364879608, -0.4915330708026886, 0.4287886321544647, 0.7300274968147278, -1.0173543691635132, -0.250818133354187, -0.6571060419082642, 0.25791609287261963, -0.5540564060211182, -0.24960774183273315, 0.7091271877288818, 0.11350259184837341, -0.6362140774726868, 0.010900667868554592, 0.07756654173135757, 0.2257108837366104, -0.40056684613227844, -0.18993878364562988, 0.17313425242900848, 0.06912855803966522, 0.1675378531217575, 0.36278221011161804, -0.6050522923469543, -0.36614474654197693, -0.32806092500686646, 0.255309522151947, 0.07220236212015152, 0.8261733055114746, -0.6899176239967346, 0.47014597058296204, 0.49040085077285767, 0.540177047252655, 0.6132044792175293, -0.025766147300601006, 0.40430980920791626, -0.47073492407798767, 0.012531952001154423, 0.17468386888504028, 0.34183377027511597, 0.37719327211380005, -1.022800326347351, 0.526107132434845, 0.24233083426952362, -0.3558553159236908, -0.46267279982566833, -0.022208893671631813, -1.2121808528900146, -0.5189357399940491, 0.5861910581588745, -0.2654115557670593, -0.3442617952823639, -0.5270853638648987, -0.1227177083492279, 0.35115671157836914, -0.15271665155887604, 0.8727152943611145, 0.83018559217453, -0.535399854183197, 0.14718902111053467, -0.37400156259536743, 0.19709345698356628, 0.1980513334274292, -0.7006661295890808, 0.43700671195983887, 0.6807788610458374, 0.1914239227771759, 0.2497376799583435, 0.378242552280426, -0.05958266928792, 0.08033135533332825, 0.08681522309780121, 0.09192027896642685, -0.3245891034603119, -0.1494898945093155, -0.4044072926044464, 0.05220450088381767, -0.09852276742458344, 0.011349685490131378 ]
http://arxiv.org/abs/2405.14490v1
http://arxiv.org/pdf/2405.14490v1
Impact of Non-Standard Unicode Characters on Security and Comprehension in Large Language Models
2024-05-23T12:24:38
2024-05-23T12:24:38
Johan S Daniel, Anand Pal
cs.CL
cs.CL
The advancement of large language models has significantly improved natural language processing. However, challenges such as jailbreaks (prompt injections that cause an LLM to follow instructions contrary to its intended use), hallucinations (generating incorrect or misleading information), and comprehension errors remain prevalent. In this report, we present a comparative analysis of the performance of fifteen distinct models, with each model undergoing a standardized test comprising 38 queries across three key metrics: jailbreaks, hallucinations, and comprehension errors. The models are assessed based on the total occurrences of jailbreaks, hallucinations, and comprehension errors. Our work exposes these models' inherent vulnerabilities and challenges the notion of human-level language comprehension of these models. We have empirically analysed the impact of non-standard Unicode characters on LLMs and their safeguarding mechanisms on the best-performing LLMs, including GPT-4, Gemini 1.5 Pro, LlaMA-3-70B, and Claude 3 Opus. By incorporating alphanumeric symbols from Unicode outside the standard Latin block and variants of characters in other languages, we observed a reduction in the efficacy of guardrails implemented through Reinforcement Learning Human Feedback (RLHF). Consequently, these models exhibit heightened vulnerability to content policy breaches and prompt leakage. Our study also suggests a need to incorporate non-standard Unicode text in LLM training data to enhance the capabilities of these models.
[ -0.2401287853717804, -0.829992413520813, 0.5097336769104004, 0.08993404358625412, -0.2073005735874176, 0.11902442574501038, -0.15360379219055176, -0.827526330947876, 0.043515000492334366, 0.8527852296829224, -0.4107595682144165, -0.5247659087181091, -0.5590626001358032, 0.631393551826477, -0.2072543054819107, 0.6725942492485046, -0.07239682227373123, -0.01908157952129841, 0.09642987698316574, -0.08326464891433716, -0.743026852607727, -1.0960952043533325, -0.34140270948410034, -0.018371662124991417, 0.3907017707824707, 0.0686710998415947, 0.7415850162506104, 0.27033329010009766, 0.6757425665855408, 0.2190021425485611, -0.08165466785430908, 0.1305220127105713, -0.48120617866516113, 0.13858966529369354, -0.18292292952537537, -0.4506775140762329, -0.2627902030944824, -0.1183265969157219, 0.5504341125488281, 0.41573837399482727, -0.04948905482888222, -0.2706521153450012, -0.023690855130553246, 0.6414380669593811, -0.5108915567398071, 0.13151249289512634, -0.7388120889663696, -0.09566948562860489, -0.18382175266742706, -0.08438637852668762, -0.6881871223449707, -0.28516462445259094, -0.12060539424419403, -0.5383641123771667, -0.13124704360961914, 0.36193838715553284, 0.7509442567825317, 0.11942160874605179, -0.41791313886642456, -0.45773252844810486, -0.4547210931777954, 0.6728845238685608, -0.6284372806549072, 0.6000277996063232, 0.4509706199169159, 0.11235050112009048, -0.2721060812473297, -0.3921041190624237, -0.18127025663852692, -0.5830376148223877, -0.042391665279865265, -0.11802411079406738, -0.28390392661094666, 0.3280071020126343, 0.4049387574195862, 0.0979435071349144, -0.6726447939872742, 0.6300578117370605, -0.432000070810318, -0.3516472280025482, 0.7193213701248169, 0.2695651948451996, 0.6449418663978577, -0.31810206174850464, -0.18086791038513184, -0.2643907070159912, -1.019923448562622, 0.043051984161138535, 0.6281983852386475, 0.4486629068851471, 0.003957861103117466, 0.5121551752090454, -0.03388649597764015, 0.48963597416877747, -0.3863171339035034, -0.11891793459653854, -0.0567980632185936, -0.1327293962240219, -0.1888677328824997, -0.13776125013828278, 0.8139265179634094, 0.28412529826164246, 0.5579559803009033, -0.5471316576004028, -0.3618745803833008, -0.10234455019235611, 0.3059222996234894, -0.8298662304878235, -0.032729558646678925, 0.03773494437336922, -0.480773389339447, -0.1544950008392334, 0.15616808831691742, -0.6676209568977356, -0.6848737597465515, -0.05985156446695328, 0.34600114822387695, -0.7145732641220093, -0.1570134460926056, -0.03221593052148819, -0.12204558402299881, 0.2109479010105133, 0.26937925815582275, -0.9687665700912476, 0.23194168508052826, 0.6925127506256104, 0.8592248558998108, -0.27475476264953613, -0.15759722888469696, -0.26379063725471497, -0.19765837490558624, -0.3552401065826416, 0.5754173994064331, -0.42469289898872375, -0.7279016375541687, 0.05801321566104889, -0.026094911620020866, -0.36893877387046814, -0.5400736331939697, 0.459160715341568, -0.5756419897079468, -0.3507428765296936, -0.3550221920013428, -0.5634160041809082, -0.15680332481861115, 0.22884982824325562, -0.836817741394043, 0.45608219504356384, 0.08359869569540024, -0.7222920060157776, 0.18965643644332886, -0.38661718368530273, -0.5222000479698181, 0.10798265039920807, -0.09787869453430176, -0.29604169726371765, 0.24797077476978302, 0.30774515867233276, 0.23661646246910095, -0.035900939255952835, 0.07690910249948502, -0.3692658543586731, -0.6613565683364868, 0.6441648602485657, -0.585482120513916, 0.6189438700675964, 0.28588518500328064, -0.1251499354839325, 0.013165396638214588, -0.515132486820221, -0.08950173854827881, 0.15061353147029877, -0.09438456594944, -0.3689306676387787, -0.1590857356786728, 0.1852080374956131, 0.10198277235031128, 0.04195228964090347, -0.3534916043281555, 0.14904528856277466, -0.4388527274131775, 0.6016388535499573, 0.7644354701042175, 0.23929239809513092, 0.27816706895828247, -0.26701998710632324, 0.7307745218276978, -0.03688207268714905, 0.297384649515152, -0.2423194944858551, -0.5245506763458252, -0.3241954743862152, -0.1742047816514969, 0.25669747591018677, 0.550534725189209, -0.6663645505905151, 0.06523273140192032, -0.02284233644604683, -0.4034487307071686, -0.34946751594543457, 0.09077361226081848, 0.38119634985923767, 0.16939480602741241, 0.22601743042469025, -0.2754669189453125, -0.49300050735473633, -0.8238264918327332, -0.48386600613594055, -0.575484573841095, 0.09417795389890671, 0.3272010385990143, 0.7204561233520508, -0.2793615758419037, 0.6287841200828552, -0.09440264850854874, -0.19574527442455292, -0.4979320764541626, -0.09055490046739578, -0.07092208415269852, 0.2907410264015198, 0.4241906702518463, -0.4113880693912506, -0.18873289227485657, -0.2243250161409378, -0.703722357749939, 0.027348773553967476, -0.09380954504013062, 0.18512535095214844, 0.5490236878395081, 0.41849008202552795, -0.418605774641037, 0.3693592846393585, 0.4728577733039856, -0.39476513862609863, 0.8288042545318604, -0.23403720557689667, 0.2194432020187378, -0.8022579550743103, 0.05488919839262962, 0.017020246013998985, 0.01811455562710762, -0.7574304938316345, 0.41209280490875244, 0.4567684829235077, -0.17628203332424164, -0.5955079197883606, 0.5471834540367126, -0.4792165458202362, -0.11761094629764557, 0.06028047204017639, 0.06416736543178558, 0.07234446704387665, 0.26588675379753113, 0.13508881628513336, 1.0470962524414062, 0.30014029145240784, -0.4016733765602112, 0.08813155442476273, 0.14949430525302887, -0.6430469751358032, 0.4050896167755127, -0.6843931078910828, 0.2352430373430252, -0.043501224368810654, 0.17059403657913208, -0.6440860629081726, -0.23928925395011902, 0.04990772530436516, -0.4199448823928833, 0.3237534165382385, -0.17979775369167328, -0.7913792729377747, -0.19183488190174103, -0.32968223094940186, 0.010011807084083557, 0.5360965132713318, -0.3321244716644287, 0.11122506856918335, 0.2713033854961395, 0.033490728586912155, -0.46483975648880005, -0.7624945044517517, 0.5222464799880981, -0.4369441866874695, -0.8239138722419739, -0.02089671976864338, 0.06626532971858978, -0.4873864948749542, -0.35227400064468384, 0.020070629194378853, 0.07310929149389267, 0.6601550579071045, 0.23368245363235474, 0.3828240931034088, -0.09375544637441635, -0.015791436657309532, -0.11865928769111633, 0.22165140509605408, 0.13128544390201569, 0.046750668436288834, 0.4872923195362091, -0.18824981153011322, -0.38046756386756897, -0.47091367840766907, 0.2963608205318451, 0.5154343843460083, -0.34290948510169983, 1.0720371007919312, 0.12054962664842606, -0.27344828844070435, -0.11023591458797455, -0.5099232792854309, -0.4243124723434448, -0.4484713077545166, 0.42905622720718384, -0.4667320251464844, -0.9979484677314758, 0.7371997833251953, 0.4636920392513275, -0.004955958109349012, 0.2798062860965729, 0.2648642659187317, 0.07901929318904877, 1.0987128019332886, 0.5077233910560608, -0.16415154933929443, 0.48191380500793457, -0.026209073141217232, 0.18484607338905334, -0.7891576886177063, -0.34770718216896057, -0.5737188458442688, -0.008303611539304256, -0.844810426235199, -0.22238363325595856, 0.04863624647259712, 0.1695045679807663, -0.05481056496500969, 0.3934318423271179, -0.05769486352801323, 0.4166509509086609, 0.1996350735425949, -0.06508855521678925, 0.47849172353744507, 0.0018781450344249606, -0.1562214493751526, -0.06913183629512787, -0.3770706057548523, -0.7595475912094116, 1.2465572357177734, 0.5718762874603271, 1.1564102172851562, 0.26219436526298523, 0.7802282571792603, 0.29317978024482727, 0.19542552530765533, -0.585151731967926, 0.48901239037513733, -0.06924229115247726, -0.6696276664733887, -0.09769801050424576, -0.6137027144432068, -1.0371596813201904, 0.3498787581920624, -0.11388920992612839, -1.1710598468780518, 0.09010240435600281, -0.24507026374340057, -0.2790519893169403, 0.34752359986305237, -0.740837037563324, 0.7321732044219971, -0.2817952334880829, -0.07670120894908905, 0.05100027844309807, -0.3619992136955261, 0.6230748891830444, -0.16107191145420074, 0.30900320410728455, -0.02805592305958271, 0.0719023048877716, 0.6705230474472046, -0.22023120522499084, 0.7637834548950195, -0.10230452567338943, -0.192601278424263, 0.1523696780204773, 0.2387728989124298, 0.8022350072860718, 0.29532966017723083, -0.20325569808483124, 0.34306642413139343, 0.05926267430186272, -0.1759432703256607, -0.43247702717781067, 0.6104443669319153, -1.0458046197891235, -0.8045327663421631, -0.38549676537513733, -0.6454000473022461, -0.3383274972438812, 0.00009318281809100881, 0.36086106300354004, 0.3506663739681244, -0.31112945079803467, 0.18848708271980286, 0.8392056822776794, -0.4415678083896637, 0.4090985655784607, 0.5654821395874023, -0.3533948063850403, -0.41946372389793396, 0.771112322807312, 0.33897390961647034, 0.37816956639289856, 0.19863609969615936, -0.13704785704612732, -0.4868328869342804, -0.8519624471664429, -0.5051992535591125, 0.3013899028301239, -0.7057933807373047, -0.06071915104985237, -0.6881937384605408, -0.3798534870147705, -0.6636215448379517, 0.005028003826737404, 0.014539319090545177, -0.295104444026947, -0.46570613980293274, -0.19069088995456696, 0.31471189856529236, 0.7107861042022705, 0.15927785634994507, 0.2477799504995346, -0.8057152628898621, 0.07199881225824356, -0.04520122706890106, 0.3147827386856079, -0.007881526835262775, -0.6831200122833252, -0.27555158734321594, -0.01740988902747631, -0.2870559096336365, -1.242453694343567, 0.4291989803314209, -0.047537270933389664, 0.5944291949272156, 0.4070219099521637, 0.1466037631034851, 0.5983479022979736, -0.24342384934425354, 0.7425652146339417, -0.049374405294656754, -0.8693806529045105, 0.3350852131843567, -0.3122015595436096, 0.128105029463768, 0.5732027888298035, 0.0640038549900055, -0.8889983892440796, -0.7351289987564087, -0.3593671917915344, -0.708253026008606, 0.7870013117790222, 0.47581812739372253, 0.1040521115064621, -0.1145143210887909, 0.3455720841884613, 0.11952105909585953, -0.06787317991256714, -0.7414140701293945, 0.026021994650363922, -0.08345069736242294, 0.03247788920998573, -0.09247635304927826, -0.1899428516626358, 0.34787437319755554, 0.21320098638534546, 0.48783430457115173, 0.07763821631669998, 0.026195669546723366, 0.06878612190485, -0.7196366786956787, 0.1351127028465271, 0.4854212701320648, 0.6925617456436157, 0.5519456267356873, -0.15576986968517303, 0.020399026572704315, 0.23703578114509583, -0.5824846625328064, 0.07758396863937378, -0.07520683854818344, -0.18864527344703674, -0.173936665058136, 0.5089625120162964, 0.8996730446815491, -0.07814853638410568, -0.8182204365730286, 0.09782866388559341, -0.33293211460113525, -0.028938299044966698, -0.14444617927074432, 0.24153293669223785, -0.16660082340240479, 0.07930704206228256, 0.2916359603404999, -0.1920483559370041, 0.08463331311941147, -0.6720089912414551, 0.11571373790502548, 0.4677025079727173, -0.43203550577163696, -0.37671589851379395, 0.5784585475921631, 0.14074206352233887, -0.30788862705230713, 0.8111979961395264, -0.014539243653416634, -0.45739418268203735, 0.814915657043457, 0.6986784934997559, 0.7969328761100769, -0.11714588105678558, 0.25912216305732727, 0.18264853954315186, 0.9410269856452942, -0.11350725591182709, 0.20624251663684845, 0.17935238778591156, -0.5291522741317749, -0.2649633586406708, -0.6114888191223145, -0.5926351547241211, 0.24342569708824158, -0.6073608994483948, 0.07315929979085922, -0.637267529964447, -0.1704809069633484, -0.49365654587745667, 0.2040259689092636, -0.539537787437439, 0.02532443404197693, 0.37681490182876587, 1.0536460876464844, -0.8738310933113098, 0.7055860161781311, 0.4752740263938904, -0.5870237946510315, -0.7796019911766052, 0.03614766150712967, -0.10002727061510086, -0.7936869859695435, 0.4793570637702942, 0.5685126185417175, 0.3115277886390686, -0.1571502685546875, -0.08308187872171402, -0.7293816208839417, 0.7699269652366638, 0.39365100860595703, -0.8236775994300842, -0.08316099643707275, 0.6118378043174744, 0.5875961184501648, -0.11919084936380386, 0.4314741790294647, 0.8129318356513977, 0.4627973139286041, -0.20928636193275452, -0.8446836471557617, 0.20550882816314697, -0.055159877985715866, 0.2871817350387573, 0.24705861508846283, -0.5594344735145569, 0.6778301000595093, -0.2540804445743561, -0.3300170302391052, 0.2802732586860657, 0.49470284581184387, 0.5407990217208862, 0.03812382370233536, 0.28803887963294983, 0.5620355606079102, 0.7986074686050415, -0.17196545004844666, 1.1536294221878052, -0.24259105324745178, 0.031011288985610008, 0.7655082941055298, -0.4136398434638977, 0.82177734375, 0.4320695400238037, -0.02882774919271469, 0.43816885352134705, 0.8394551277160645, -0.04420279711484909, 0.3936063051223755, 0.40339282155036926, 0.026864688843488693, -0.114516481757164, 0.08096184581518173, -0.33631470799446106, 0.27480360865592957, 0.449068158864975, -0.25685054063796997, -0.14845648407936096, 0.24564741551876068, 0.14535260200500488, -0.15548287332057953, -0.35745564103126526, 0.8193017244338989, 0.30679288506507874, -0.7493554353713989, 0.5406377911567688, 0.3333449065685272, 0.5809541940689087, -0.4246232807636261, 0.3376324474811554, -0.6369816064834595, 0.05812245234847069, -0.13995018601417542, -0.7027566432952881, 0.33759430050849915, 0.4216941297054291, 0.19989840686321259, -0.16990414261817932, 0.5941823720932007, -0.016289662569761276, -0.3862883150577545, 0.3128580152988434, 0.1584368348121643, 0.2380446195602417, -0.4319489300251007, -0.6100158095359802, 0.3413921296596527, -0.23470847308635712, -0.2256634682416916, 0.5277093052864075, 0.2747771143913269, -0.36677315831184387, 0.6365540623664856, 0.6120816469192505, -0.0320027656853199, 0.21717534959316254, 0.19425305724143982, 0.5385671854019165, -0.7284622192382812, -0.5623233914375305, -1.073673963546753, 0.2520017921924591, -0.0038228267803788185, -0.09312587976455688, 0.9675098061561584, 0.3922017216682434, 0.515300989151001, 0.15073846280574799, 0.837242841720581, 0.3257427215576172, -0.11362261325120926, -0.6652873754501343, 1.037941813468933, -0.3433295786380768, 0.5293281078338623, -0.2692966163158417, -0.9232212901115417, -0.202418714761734, 0.2488328516483307, -0.38386595249176025, 0.05813818797469139, 0.6972164511680603, 0.7946857810020447, 0.29716095328330994, 0.06019515544176102, 0.6977389454841614, 0.19005072116851807, 0.5308263897895813, 0.5815681219100952, 0.9784762263298035, -0.39243370294570923, 0.6098067164421082, 0.05658595263957977, 0.04005805775523186, -0.43650129437446594, -0.44716235995292664, -1.2127692699432373, -0.28012409806251526, -0.143416628241539, -0.37321752309799194, 0.27502304315567017, 0.6133100390434265, 0.4411981701850891, -0.7144596576690674, -0.16871309280395508, -0.1385459303855896, 0.4438827633857727, 0.18089038133621216, -0.18789799511432648, 0.15364955365657806, -0.45280754566192627, -0.44752657413482666, 0.45804068446159363, 0.3560905456542969, 0.16649027168750763, -0.41048964858055115, -0.2386699765920639, 0.28886598348617554, 0.50457763671875, 0.47114041447639465, 0.2107667326927185, -0.8594053387641907, -0.17263463139533997, 0.3255632817745209, -0.29501450061798096, -0.055085618048906326, 0.5810090899467468, -0.5510267019271851, 0.2122693806886673, 0.43013498187065125, 0.4616968333721161, 0.13032317161560059, -0.17483945190906525, 0.4216759502887726, -0.4812433421611786, -0.05742722004652023, 0.18046027421951294, 0.5625032782554626, 0.3715118169784546, -0.38567298650741577, 0.21571752429008484, 0.21868808567523956, -0.49106746912002563, -0.9609965085983276, 0.400563508272171, -0.5505883693695068, -0.42870742082595825, 1.329067587852478, -0.2350294142961502, -0.356876403093338, -0.24336744844913483, -0.08194590359926224, -0.05086713656783104, -0.4566247761249542, 0.8609174489974976, 0.7544138431549072, 0.1654956340789795, -0.2915661633014679, -0.5392577052116394, 0.3091208040714264, 0.21076950430870056, -0.9595174789428711, 0.1905113011598587, 0.39618757367134094, 0.24322544038295746, -0.3046732246875763, 0.2791827917098999, -0.3228876292705536, 0.14919543266296387, -0.1110590398311615, -0.08709415048360825, -0.17494967579841614, -0.3106533885002136, -0.4795975983142853, 0.12194246798753738, 0.24218827486038208, 0.25982967019081116 ]
http://arxiv.org/abs/2405.14488v1
http://arxiv.org/pdf/2405.14488v1
MoGU: A Framework for Enhancing Safety of Open-Sourced LLMs While Preserving Their Usability
2024-05-23T12:19:59
2024-05-23T12:19:59
Yanrui Du, Sendong Zhao, Danyang Zhao, Ming Ma, Yuhan Chen, Liangyu Huo, Qing Yang, Dongliang Xu, Bing Qin
cs.CL
cs.CL
Large Language Models (LLMs) are increasingly deployed in various applications. As their usage grows, concerns regarding their safety are rising, especially in maintaining harmless responses when faced with malicious instructions. Many defense strategies have been developed to enhance the safety of LLMs. However, our research finds that existing defense strategies lead LLMs to predominantly adopt a rejection-oriented stance, thereby diminishing the usability of their responses to benign instructions. To solve this problem, we introduce the MoGU framework, designed to enhance LLMs' safety while preserving their usability. Our MoGU framework transforms the base LLM into two variants: the usable LLM and the safe LLM, and further employs dynamic routing to balance their contribution. When encountering malicious instructions, the router will assign a higher weight to the safe LLM to ensure that responses are harmless. Conversely, for benign instructions, the router prioritizes the usable LLM, facilitating usable and helpful responses. On various open-sourced LLMs, we compare multiple defense strategies to verify the superiority of our MoGU framework. Besides, our analysis provides key insights into the effectiveness of MoGU and verifies that our designed routing mechanism can effectively balance the contribution of each variant by assigning weights. Our work released the safer Llama2, Vicuna, Falcon, Dolphin, and Baichuan2.
[ -0.06682924181222916, -0.8906059861183167, 0.406563401222229, 0.11180148273706436, -0.40992745757102966, 0.06209954619407654, -0.23430918157100677, -0.3689515292644501, -0.07477043569087982, 0.6588565111160278, -0.21022184193134308, -0.6251901984214783, -0.459455281496048, -0.17384184896945953, -0.16557982563972473, 0.9452330470085144, 0.23469185829162598, -0.036055225878953934, -0.37255316972732544, -0.3584854006767273, -0.32579872012138367, -0.4621520936489105, -0.7959283590316772, -0.3723737895488739, 0.685915470123291, 0.28446853160858154, 0.7733833193778992, 0.8209983706474304, 0.7426549792289734, 0.28751567006111145, -0.1477201282978058, -0.03690124303102493, -0.42869850993156433, 0.3276710510253906, -0.2685600817203522, -0.5891964435577393, -0.8971372246742249, -0.27215075492858887, 0.45950618386268616, 0.4140540361404419, -0.49806156754493713, -0.15976862609386444, 0.09951364248991013, 0.5996413230895996, -0.6486312747001648, -0.2198483794927597, -0.7772887945175171, 0.10403721779584885, -0.5660654306411743, -0.3379703760147095, -0.5531889796257019, -0.45795851945877075, 0.0269307903945446, -0.5463796854019165, -0.35775232315063477, -0.05318562313914299, 0.5864546895027161, 0.11808858066797256, -0.6263934373855591, -0.20378683507442474, -0.535248339176178, 0.6496566534042358, -0.8121511936187744, 0.11562289297580719, 0.2021164745092392, 0.41625750064849854, -0.730821967124939, -0.3517546057701111, -0.30246198177337646, -0.45903894305229187, 0.17041197419166565, 0.09169309586286545, -0.4761204719543457, 0.188510924577713, 0.13352355360984802, 0.26829931139945984, -0.7282620668411255, 0.3761084973812103, 0.024798516184091568, -0.3924037218093872, 0.38231605291366577, 0.08438992500305176, 0.586555004119873, 0.01765536516904831, -0.6581935882568359, 0.00537477433681488, -1.204520583152771, -0.0234313253313303, 0.6261073350906372, 0.19252672791481018, -0.03878549113869667, 0.5914116501808167, -0.22559374570846558, 0.5802775025367737, -0.129958376288414, -0.6105708479881287, 0.22923643887043, 0.030293473973870277, -0.16142632067203522, -0.06790953874588013, 0.9098080396652222, 0.3443952202796936, 0.06190358102321625, -0.19954077899456024, -0.2228097915649414, 0.08921082317829132, 0.627606213092804, -0.6834253072738647, -0.10275786370038986, 0.01561897061765194, -0.6908050179481506, -0.6880240440368652, 0.035921696573495865, -0.8730793595314026, -0.690902829170227, 0.21799124777317047, 0.4407442808151245, -0.5295016765594482, -0.4465080201625824, 0.20083226263523102, 0.10233116894960403, 0.13149620592594147, 0.4191933870315552, -0.7624760270118713, 0.28598451614379883, 0.8219935297966003, 0.6282101273536682, -0.38152968883514404, 0.036611057817935944, -0.9686034321784973, 0.6397266387939453, -0.08752806484699249, 0.5574422478675842, -0.43081173300743103, -0.6937660574913025, 0.05154074355959892, -0.12503544986248016, 0.19277095794677734, -0.5155976414680481, 0.7599107027053833, -0.605736494064331, -0.041244618594646454, -0.1374315619468689, -0.21560263633728027, -0.3362754285335541, 0.35688456892967224, -0.5332693457603455, 0.520666241645813, -0.06811219453811646, -0.7284531593322754, -0.038192588835954666, -0.6750960946083069, -0.8649751543998718, -0.11076036840677261, -0.024181753396987915, -0.3052786588668823, 0.2293759435415268, -0.1301162987947464, 0.17657721042633057, -0.2714881896972656, -0.1408155858516693, -0.5473807454109192, -0.20433826744556427, 0.25324109196662903, -0.5101738572120667, 0.961883544921875, 0.4286280870437622, -0.33390456438064575, 0.3099955916404724, -0.9267758131027222, 0.018108271062374115, 0.2124488204717636, -0.7996498346328735, -0.7265517711639404, 0.23174433410167694, -0.5587248206138611, -0.0804988443851471, 0.13561557233333588, -0.5288682579994202, 0.16003906726837158, -0.23510289192199707, 0.3644023835659027, 1.0868154764175415, -0.20231510698795319, 0.5062652230262756, -0.14388900995254517, 0.5630323886871338, -0.09700632095336914, 0.3112350106239319, -0.13590659201145172, -0.4518660604953766, -0.7756659388542175, -0.20758023858070374, 0.02861364372074604, 0.7190200090408325, -0.6467766165733337, 0.3216990828514099, -0.1605561524629593, -0.4110642373561859, -0.012880365364253521, 0.27174055576324463, 0.5727088451385498, 0.5798524618148804, 0.0759819969534874, -0.22802825272083282, -0.4056868255138397, -0.7234002351760864, -0.05789998546242714, -0.5806032419204712, -0.11142301559448242, 0.15342319011688232, -0.03503673896193504, -0.40955448150634766, 0.4623284339904785, -0.444968581199646, -0.07886266708374023, -0.11508955806493759, -0.08161251246929169, -0.14014728367328644, 0.544140100479126, 0.7453855276107788, -0.5771599411964417, -0.12692514061927795, 0.05297486111521721, -0.8553534746170044, -0.3048297166824341, 0.21753334999084473, -0.5934433341026306, 0.18363520503044128, 0.3509150743484497, -0.5226853489875793, 0.2125074416399002, 0.5907944440841675, -0.29183655977249146, 0.32222992181777954, -0.017518477514386177, 0.0371725931763649, -1.1112273931503296, -0.09412790089845657, -0.053375620394945145, -0.26956039667129517, -0.5207670331001282, 0.5940741300582886, -0.026871100068092346, -0.07299425452947617, -0.568055272102356, 0.4249087870121002, -0.09372393786907196, 0.14926302433013916, -0.3282269239425659, -0.07172982394695282, -0.0688774511218071, 0.20615588128566742, -0.3288944959640503, 0.7273182272911072, 0.6049911379814148, -0.7299336791038513, 0.5194446444511414, -0.07481305301189423, -0.17296136915683746, 0.8310337066650391, -0.8161265254020691, 0.3236444592475891, 0.18956923484802246, 0.13464386761188507, -0.7769040465354919, -0.2220049351453781, 0.5969371199607849, -0.2149716317653656, 0.28335410356521606, -0.4630216956138611, -0.43829479813575745, -0.3193545937538147, -0.42267027497291565, 0.12493138760328293, 0.6512593030929565, -0.5194178819656372, 0.6936959624290466, 0.5279011130332947, -0.05581040307879448, -0.5909104943275452, -0.6663185358047485, 0.08728758990764618, -0.6370579600334167, -0.7795482277870178, 0.1854778677225113, -0.4169664978981018, -0.4438565969467163, -0.06378168612718582, -0.18254689872264862, 0.04727780446410179, 0.5854662656784058, 0.4854906499385834, 0.33249473571777344, -0.30435189604759216, -0.13116638362407684, -0.03043493814766407, -0.3959159255027771, 0.18277834355831146, -0.514035165309906, 0.4153865873813629, -0.028380749747157097, -0.6907715201377869, -0.20671764016151428, 0.2286582887172699, 0.6641520857810974, -0.26267239451408386, 0.6298248171806335, 0.5221815705299377, -0.20432281494140625, -0.013482384383678436, -0.36695438623428345, 0.12339798361063004, -0.6044145226478577, 0.03388909623026848, -0.31385254859924316, -1.076486587524414, 0.26003435254096985, -0.11870650202035904, 0.34212878346443176, 0.10167177021503448, 0.4766525626182556, -0.17101828753948212, 0.8694847226142883, 0.7249076962471008, -0.12396980077028275, 0.44589704275131226, 0.22125785052776337, 0.1505645513534546, -0.73929363489151, -0.46413081884384155, -0.5581076145172119, -0.17249983549118042, -0.4115962088108063, -0.2761128842830658, 0.46968141198158264, 0.08410347253084183, -0.011979063041508198, 0.39027833938598633, -0.26366713643074036, 0.4652223289012909, 0.5332962274551392, 0.014413471333682537, 0.3337034583091736, 0.238132044672966, -0.40253889560699463, 0.1035706028342247, -0.3842177093029022, -0.679872453212738, 1.0045676231384277, 0.5057507753372192, 1.4155503511428833, 0.686507523059845, 0.6042525768280029, 0.37124714255332947, 0.1548869013786316, -0.697815477848053, 1.0873901844024658, -0.11992140859365463, -0.3144324719905853, -0.15794388949871063, -0.7256618738174438, -0.9972460865974426, 0.4463207721710205, -0.14687246084213257, -0.6355815529823303, -0.36132752895355225, 0.26563048362731934, -0.3560963273048401, 0.5673571825027466, -0.4510382115840912, 0.45245102047920227, -0.5417007207870483, -0.433076411485672, -0.29656511545181274, -0.39626696705818176, 0.5998721122741699, 0.06962127983570099, -0.048873934894800186, -0.27267032861709595, -0.2641028165817261, 0.45108336210250854, -0.39989519119262695, 0.6846659779548645, -0.06542495638132095, -0.5915623307228088, 0.25708791613578796, 0.441587895154953, 0.6284396052360535, 0.22206805646419525, -0.4186963140964508, 0.17246297001838684, -0.48270314931869507, -0.3864196836948395, -0.4935174584388733, 0.9774805307388306, -0.47105884552001953, -1.0431922674179077, -0.23464684188365936, -0.4389593005180359, -0.055290836840867996, 0.4286005198955536, 0.1344059556722641, 0.39807596802711487, -0.21994145214557648, 0.4394894242286682, 1.0995608568191528, -0.39473628997802734, 0.5011080503463745, 0.7631626725196838, -0.21212531626224518, -0.5121656060218811, 0.7802172899246216, -0.17028343677520752, 0.5238774418830872, 0.3959629237651825, 0.34686005115509033, -0.11890232563018799, -0.9558185935020447, -0.6478472948074341, -0.1911284476518631, -0.5483429431915283, -0.3277178108692169, -0.5730897784233093, -0.11618225276470184, -0.22472582757472992, -0.024130908772349358, -0.19031478464603424, -0.3544425964355469, -0.02592279575765133, -0.22244231402873993, 0.3332667350769043, 0.47670117020606995, -0.048066396266222, 0.18769703805446625, -0.760570228099823, 0.2335629016160965, 0.3984386622905731, 0.48194876313209534, 0.03270174562931061, -0.38063812255859375, -0.001132531906478107, 0.08076929301023483, -0.36178824305534363, -0.6705368161201477, -0.005723482929170132, -0.214248389005661, 0.8441580533981323, 0.7283598184585571, 0.29401805996894836, 0.45277222990989685, -0.6312577724456787, 0.6371570825576782, 0.39075106382369995, -0.6302986145019531, 0.8209819197654724, -0.6800878047943115, 0.10157185047864914, 0.3149547278881073, 0.05231579765677452, -0.19510683417320251, -0.345140665769577, -0.28215429186820984, -0.6777941584587097, 0.30065467953681946, 0.27115315198898315, 0.4450434148311615, -0.12386232614517212, 0.22476829588413239, 0.28103160858154297, 0.1778726577758789, -0.8024519681930542, -0.2734503149986267, -0.07541046291589737, 0.12191563099622726, 0.40570759773254395, -0.5072832107543945, -0.5343035459518433, 0.1840261071920395, 0.5455839037895203, -0.0032534776255488396, 0.2946247160434723, -0.3552151918411255, -0.13587252795696259, -0.23430752754211426, 0.35783395171165466, 0.7250611782073975, 0.40410372614860535, -0.10929570347070694, 0.5529712438583374, 0.1625010371208191, -0.5539055466651917, 0.4941583275794983, -0.2685500383377075, -0.5263901948928833, -0.27645552158355713, 0.2655290961265564, 0.5519262552261353, 0.1083376556634903, -0.6741450428962708, 0.33297908306121826, -0.03958470746874809, 0.05372035130858421, -0.07268218696117401, 0.7422884702682495, -0.056435078382492065, 0.051582518965005875, 0.15724456310272217, 0.1883082389831543, -0.10555262118577957, -0.5958433747291565, 0.0897710844874382, 0.5791065692901611, -0.17519819736480713, -0.275829941034317, 0.6204989552497864, 0.6320494413375854, -0.4593481421470642, 0.17728018760681152, -0.21019819378852844, -0.3495759069919586, 0.4933914840221405, 0.8132896423339844, 0.8989783525466919, -0.21584495902061462, 0.14600171148777008, 0.0923193022608757, 0.46191462874412537, 0.04595930874347687, 0.10227441042661667, 0.30440476536750793, -0.4290821850299835, 0.13263358175754547, -0.5189306139945984, -0.33145228028297424, 0.2492847740650177, -0.4586682915687561, 0.062112096697092056, -0.8814586400985718, -0.21135051548480988, -0.617940366268158, -0.3212185204029083, -0.032205864787101746, -0.10673017054796219, 0.27261844277381897, 0.9915051460266113, -0.32665327191352844, 0.9074807167053223, 0.9526515007019043, -0.18448807299137115, -0.5105565786361694, 0.2955698072910309, 0.5735991597175598, -0.5934948921203613, 0.17448832094669342, -0.0051950374618172646, -0.5303664207458496, -0.3114413619041443, -0.24602004885673523, -0.8816408514976501, 1.1107980012893677, 0.5011184811592102, -0.4228091537952423, 0.27975985407829285, 0.04239199310541153, 0.32267481088638306, -0.1278405338525772, -0.2190515100955963, -0.0482952781021595, 0.3159187138080597, 0.14208118617534637, -0.6202638745307922, 0.34243035316467285, -0.23182380199432373, 0.10380811989307404, 0.2337261587381363, -0.8787535429000854, 0.6176126003265381, -0.3441377878189087, -0.1776096522808075, 0.39836353063583374, 0.6636695265769958, 0.4728098213672638, 0.33005887269973755, 0.6150646805763245, 0.7491278052330017, 0.9129915833473206, -0.11739625781774521, 1.051430344581604, 0.12474071979522705, -0.30683058500289917, 0.8937618136405945, -0.45085594058036804, 0.8585185408592224, 0.2927839756011963, -0.043884728103876114, 0.6608304977416992, 0.3041248917579651, 0.17057035863399506, 0.7665108442306519, 0.37832891941070557, -0.51004958152771, -0.15895254909992218, -0.07731729000806808, -0.5327314734458923, 0.3313533663749695, 0.11476815491914749, -0.09217294305562973, -0.21104221045970917, 0.11799938231706619, 0.47065678238868713, 0.03101268969476223, -0.34051504731178284, 0.5437254309654236, 0.16758939623832703, -0.41851723194122314, 0.3282819092273712, 0.28428053855895996, 0.8355388045310974, -0.900255024433136, 0.1737358719110489, -0.41882339119911194, 0.22670985758304596, -0.15393199026584625, -0.7138729095458984, 0.2359936684370041, 0.2241814285516739, -0.25776976346969604, -0.002579385181888938, 1.0329097509384155, -0.12187279015779495, -0.19674119353294373, 0.4410880506038666, 0.07829564809799194, -0.08090776950120926, 0.30351951718330383, -0.6296291947364807, 0.4684963524341583, -0.019487328827381134, -0.2540992498397827, 0.7882286906242371, 0.5503429174423218, -0.12170517444610596, 1.1229941844940186, 0.9065858125686646, -0.03179033100605011, 0.1316615492105484, 0.07507863640785217, 0.8761821985244751, -0.4048161506652832, -0.45750293135643005, -1.0298140048980713, 0.4949195086956024, -0.11238231509923935, 0.056269384920597076, 1.0110599994659424, 0.3402419984340668, 0.6314550042152405, 0.029491612687706947, 0.7799531817436218, -0.0976238027215004, 0.10043107718229294, -0.76839679479599, 0.8959319591522217, -0.5527926087379456, 0.7216930985450745, -0.3185596168041229, -0.9105124473571777, -0.22177861630916595, 0.5550650954246521, 0.1573830395936966, -0.13037775456905365, 0.3402160406112671, 0.9367270469665527, -0.09475619345903397, -0.2159285694360733, 0.39270251989364624, 0.07939768582582474, 0.56397944688797, 0.7368451356887817, 0.9117992520332336, -0.07831243425607681, 0.9919415712356567, -0.12199749797582626, -0.26459458470344543, -0.4062548577785492, -1.3312499523162842, -1.0840824842453003, 0.18212826550006866, -0.3109174072742462, -0.5481750965118408, 0.3423611521720886, 0.6394171118736267, 0.8139130473136902, -0.6076185703277588, -0.20521223545074463, 0.0008974398369900882, 0.3852895200252533, -0.05291777104139328, -0.15712706744670868, -0.14060276746749878, -0.048879481852054596, -0.3555496335029602, 0.6583652496337891, 0.658987283706665, 0.23692472279071808, -0.21824045479297638, -0.48211008310317993, 0.029730312526226044, 0.26135018467903137, 0.7001034617424011, 0.3896681070327759, -0.8621867299079895, -0.49490469694137573, -0.04923626407980919, -0.5576543211936951, -0.10667132586240768, 0.6445388793945312, -0.44775909185409546, 0.33002907037734985, 0.6149216890335083, 0.7800083160400391, -0.3411068618297577, -0.1254023313522339, 0.7847715020179749, -0.3993476331233978, 0.13431552052497864, -0.09678484499454498, 0.5310013890266418, 0.24268850684165955, -0.47154974937438965, 0.8324471712112427, 0.2966512441635132, -0.23945604264736176, -0.8783823847770691, 0.46659091114997864, -1.2061570882797241, -0.1267949342727661, 1.4683529138565063, -0.5011069178581238, -0.14567933976650238, 0.07134310901165009, -0.28468021750450134, 0.014677906408905983, -0.3974953293800354, 0.6765207648277283, 0.47629302740097046, 0.1940261870622635, -0.07939028739929199, -0.49573034048080444, 0.22713281214237213, 0.34276482462882996, -0.9816808700561523, -0.026375632733106613, 0.5008083581924438, 0.48659539222717285, 0.0759185329079628, 0.47975221276283264, -0.3689568042755127, 0.2829456329345703, -0.18984557688236237, -0.1878148466348648, -0.43628036975860596, -0.39757096767425537, -0.16495786607265472, 0.18394623696804047, 0.13548335433006287, -0.3863121569156647 ]
http://arxiv.org/abs/2405.14486v1
http://arxiv.org/pdf/2405.14486v1
RefChecker: Reference-based Fine-grained Hallucination Checker and Benchmark for Large Language Models
2024-05-23T12:18:11
2024-05-23T12:18:11
Xiangkun Hu, Dongyu Ru, Lin Qiu, Qipeng Guo, Tianhang Zhang, Yang Xu, Yun Luo, Pengfei Liu, Yue Zhang, Zheng Zhang
cs.CL
cs.CL
Large Language Models (LLMs) have shown impressive capabilities but also a concerning tendency to hallucinate. This paper presents RefChecker, a framework that introduces claim-triplets to represent claims in LLM responses, aiming to detect fine-grained hallucinations. In RefChecker, an extractor generates claim-triplets from a response, which are then evaluated by a checker against a reference. We delineate three task settings: Zero, Noisy and Accurate Context, to reflect various real-world use cases. We curated a benchmark spanning various NLP tasks and annotated 11k claim-triplets from 2.1k responses by seven LLMs. RefChecker supports both proprietary and open-source models as the extractor and checker. Experiments demonstrate that claim-triplets enable superior hallucination detection, compared to other granularities such as response, sentence and sub-sentence level claims. RefChecker outperforms prior methods by 6.8 to 26.1 points on our benchmark and the checking results of RefChecker are strongly aligned with human judgments. This work is open sourced at https://github.com/amazon-science/RefChecker
[ -0.29670363664627075, -0.49457868933677673, 0.703616201877594, 0.1432109773159027, 0.09682085365056992, -0.31623274087905884, -0.22443851828575134, -0.8822081685066223, 0.2028786689043045, 0.7569602131843567, -0.2518763840198517, -0.2994983196258545, -0.38544347882270813, 0.4485798180103302, -0.5569833517074585, 0.8301792740821838, -0.12859642505645752, -0.07772797346115112, -0.27016428112983704, 0.17184503376483917, -0.5177789926528931, -0.3355872631072998, -0.5996648669242859, -0.6871344447135925, 0.5512464642524719, 0.3232945501804352, 0.5564265847206116, 0.12415774166584015, 0.5004051923751831, 0.26370418071746826, 0.0714397206902504, 0.3584076464176178, -0.3002989888191223, 0.1693827360868454, -0.37028753757476807, -0.5365763306617737, -0.39670878648757935, -0.17699353396892548, 0.27543875575065613, 0.2982231676578522, -0.10075745731592178, 0.2780020534992218, 0.005901929456740618, 0.6865583658218384, -0.9746706485748291, 0.14369098842144012, -0.9706963300704956, 0.09027077257633209, -0.16090302169322968, -0.21651646494865417, -0.5744407773017883, -0.6185266375541687, -0.060713279992341995, -0.08871114253997803, 0.5602925419807434, 0.10183998942375183, 0.9282581210136414, 0.5597941875457764, -0.20901785790920258, -0.21220026910305023, -0.6726958155632019, 0.5525774955749512, -0.63905930519104, 0.5540609955787659, 0.7600568532943726, 0.5025316476821899, -0.20268286764621735, -0.7619457840919495, -0.8727259635925293, -0.40556463599205017, -0.29512733221054077, -0.27693766355514526, -0.3187718093395233, -0.035320624709129333, 0.44832929968833923, 0.7124908566474915, -0.541486382484436, -0.001426777453161776, -0.19086521863937378, -0.5392988920211792, 0.4497884213924408, 0.00756832817569375, 0.05193066596984863, -0.1973903924226761, -0.15349717438220978, -0.016734417527914047, -0.6632519960403442, -0.34158602356910706, 0.24278226494789124, 0.24411219358444214, 0.13871625065803528, 0.6712183952331543, -0.48991894721984863, 0.8095578551292419, 0.14444580674171448, 0.026944736018776894, 0.435688316822052, -0.23503082990646362, -0.3458603322505951, 0.2085130214691162, 0.7009230852127075, 0.2738227844238281, 0.3368152678012848, -0.5402130484580994, -0.45145168900489807, 0.08217956870794296, 0.37618160247802734, -0.9094054102897644, -0.4164064824581146, 0.3693908154964447, -0.31511715054512024, -0.3264060616493225, 0.11580897867679596, -0.9512187242507935, -0.8047417998313904, -0.24186651408672333, 0.31019270420074463, -0.3029318153858185, -0.2323380559682846, 0.6355026364326477, 0.18084369599819183, 0.22201161086559296, 0.07316989451646805, -0.7788550853729248, 0.340909868478775, 0.697930634021759, 0.6582324504852295, -0.2776361405849457, -0.41628700494766235, -1.0086277723312378, 0.04010045528411865, -0.22298847138881683, 1.2565139532089233, -0.3213866353034973, 0.07526936382055283, 0.27963921427726746, 0.22439709305763245, 0.3022381067276001, -1.0580449104309082, 0.9122905135154724, -0.42498883605003357, -0.1620320826768875, -0.2933500409126282, -0.2476622462272644, -0.2583076059818268, 0.3805391788482666, -0.8820147514343262, 1.2053436040878296, -0.03824874013662338, -0.6577946543693542, 0.3643415868282318, -0.23817260563373566, -0.36045703291893005, 0.16263562440872192, -0.3243548274040222, -0.3402615189552307, 0.36001160740852356, 0.05017544701695442, 0.481802374124527, -0.44503745436668396, 0.3785129487514496, -0.38643282651901245, -0.5183518528938293, 0.27408653497695923, -0.24343600869178772, 0.467762291431427, 0.034534186124801636, -0.5602390766143799, 0.18818622827529907, -1.0559126138687134, 0.03438746556639671, 0.03742657229304314, -0.16530586779117584, -0.19779737293720245, -0.021907461807131767, 0.12239937484264374, 0.09084612131118774, 0.1133291944861412, -0.5988364815711975, 0.07993174344301224, -0.1589459627866745, 0.1637880653142929, 0.5597754716873169, -0.29171857237815857, -0.35277336835861206, -0.5267097353935242, 0.19726170599460602, -0.11405956000089645, -0.41351136565208435, -0.04127698764204979, 0.025865374132990837, -1.046583652496338, -0.30676835775375366, 0.2720000147819519, 0.3582720160484314, -0.5875132083892822, 0.9264315366744995, -0.23009882867336273, -0.2456812858581543, -0.593027651309967, 0.04093147814273834, 0.2638259530067444, 0.33177363872528076, 0.5027644038200378, 0.12329738587141037, -0.6678970456123352, -1.1951192617416382, -0.28538137674331665, -0.25229188799858093, -0.5410671234130859, 0.09965100884437561, 0.5857622623443604, -0.5846655964851379, 0.8031787276268005, -0.6167508959770203, -0.5381863713264465, 0.18183858692646027, 0.3513168394565582, -0.04822274670004845, 0.16791555285453796, 0.2754167318344116, -0.2949376702308655, -0.18852314352989197, -0.03639991208910942, -0.7697725296020508, -0.520988941192627, -0.15374185144901276, 0.18255141377449036, 0.36887088418006897, 0.6512724757194519, -0.5208658576011658, 0.2508341372013092, 0.5692588686943054, -0.3443354666233063, 0.9215468168258667, -0.045665133744478226, 0.01663512922823429, -0.9582676291465759, 0.21830153465270996, -0.25643742084503174, -0.47499746084213257, -0.2672792077064514, 0.1522940695285797, 0.07630891352891922, 0.43584948778152466, -0.07476035505533218, 0.3242858350276947, -0.2773933708667755, -0.0882953628897667, -0.5528695583343506, 0.26568323373794556, -0.14096561074256897, 0.1867835372686386, 0.1416587084531784, 0.7061675190925598, 0.3230106830596924, -0.4750266373157501, 0.5516026020050049, 0.0024756051134318113, -0.5454573035240173, 0.6481655836105347, -0.6835665702819824, 0.4679401218891144, 0.22833141684532166, 0.3731926679611206, -0.9577665328979492, -0.2305375039577484, 0.1111668199300766, -0.21584656834602356, -0.07716075330972672, 0.3110329806804657, -0.9281595945358276, -0.509783148765564, -0.4005991518497467, 0.27185720205307007, -0.05110006034374237, -0.9871141314506531, 0.7074949741363525, 0.23587319254875183, 0.13800573348999023, -0.46213847398757935, -0.8228659629821777, 0.16785480082035065, 0.0886196494102478, -0.4046611189842224, 0.35667988657951355, -0.0862656906247139, -0.27697449922561646, -0.11379790306091309, -0.5639908313751221, 0.01912999525666237, -0.1871231645345688, 0.3701733648777008, 0.1531045138835907, -0.14828889071941376, 0.12003134936094284, -0.3557218909263611, -0.30913791060447693, 0.20184026658535004, -0.12305085361003876, 0.7836623787879944, -0.6831861138343811, -0.3869358003139496, -0.4132670760154724, 0.03657341003417969, 0.6109952926635742, 0.04469442367553711, 0.3004942238330841, 0.7244620323181152, -0.7488694787025452, -0.19342201948165894, -1.2568086385726929, -0.4544757604598999, -0.4449913799762726, 0.2639833092689514, -0.6645218133926392, -0.9477760791778564, 0.5172907114028931, 0.07228070497512817, 0.016825998201966286, 0.3831457197666168, 0.6931313276290894, 0.3287142813205719, 0.5648865699768066, 0.44018933176994324, 0.013613393530249596, -0.02771044336259365, 0.22425933182239532, 0.4241059422492981, -0.824734628200531, -0.2573494613170624, -0.7763285040855408, -0.21181511878967285, -0.4687868356704712, -0.5271463990211487, -0.2838551700115204, 0.09121949970722198, -0.09858537465333939, 0.3064897358417511, -0.6034051775932312, 0.8623090982437134, 0.20020881295204163, -0.05245935544371605, 0.7459225058555603, -0.0442587286233902, -0.09662652760744095, -0.06285805255174637, 0.06187957897782326, -0.6871541738510132, 0.8463009595870972, 0.2892879843711853, 0.6880000233650208, 0.13360595703125, 0.7129173278808594, 0.26131191849708557, 0.3950788974761963, -0.9588956236839294, 0.7425158619880676, 0.12799179553985596, -0.5922115445137024, -0.002546735340729356, -0.3899496793746948, -0.7616097331047058, 0.3366435468196869, -0.2637006640434265, -1.0232183933258057, 0.2134076952934265, 0.11640523374080658, -0.5774322152137756, 0.42026638984680176, -0.3614654242992401, 0.5136857032775879, -0.02579628862440586, -0.45948415994644165, -0.22746284306049347, -0.1828421801328659, 0.6997237801551819, -0.3190721273422241, -0.21766050159931183, -0.19017651677131653, 0.2502247393131256, 0.6050688624382019, -0.22750099003314972, 0.8226398229598999, 0.21465887129306793, -0.47474393248558044, 0.025579476729035378, 0.494927316904068, 0.8070370554924011, 0.11153056472539902, -0.08634691685438156, 0.38458096981048584, 0.21026144921779633, 0.06174244359135628, -0.26211822032928467, 0.932713508605957, -0.4153018593788147, -0.539513349533081, -0.6575623750686646, -0.6376731991767883, -0.35060662031173706, 0.4554308354854584, -0.03255728259682655, -0.05830991640686989, -0.13454827666282654, 0.42694613337516785, 0.6282558441162109, -0.19701090455055237, 0.14757223427295685, 0.9010957479476929, -0.65714430809021, -0.3465099036693573, 0.799954891204834, -0.42420944571495056, 0.11025824397802353, 0.18738314509391785, 0.2152767777442932, -0.0515790618956089, -0.48219427466392517, 0.1799326390028, 0.36861562728881836, -0.5305206179618835, -0.4371030628681183, -0.7282329201698303, -0.24794058501720428, -0.3527379035949707, 0.05531180277466774, -0.5922224521636963, 0.01638738624751568, 0.20695029199123383, -0.1517278552055359, 0.1991584599018097, 0.6358654499053955, -0.1922399401664734, -0.021559691056609154, -0.5140407085418701, 0.9050266742706299, 0.5935615301132202, 0.6843860745429993, -0.17295396327972412, -0.28647640347480774, 0.03622816503047943, -0.15360350906848907, -0.3507344722747803, -0.5033912062644958, 0.1105976328253746, -0.3302587866783142, 0.3360621929168701, 0.5436319708824158, 0.09127737581729889, 0.8741483092308044, -0.49981895089149475, 0.7052152156829834, 0.05592253431677818, -0.8711069226264954, 0.157855823636055, 0.09060157090425491, 0.22858917713165283, 0.9255030155181885, 0.04027169570326805, -0.6098533868789673, -0.4097890853881836, -0.30001309514045715, -0.5716524124145508, 0.6609494090080261, 0.12573398649692535, -0.2833428978919983, -0.10846643149852753, 0.2945807874202728, 0.3084377944469452, 0.02721344865858555, -0.8429049253463745, -0.029208175837993622, 0.17787951231002808, 0.09214597195386887, 0.04142359644174576, -0.5122027397155762, -0.1897752732038498, -0.04230479896068573, 0.5801337957382202, -0.23416739702224731, 0.15430031716823578, 0.26753634214401245, -0.11543511599302292, -0.30562567710876465, 0.22874660789966583, 0.6267214417457581, 0.41556134819984436, -0.6308537125587463, 0.6193931698799133, 0.12429268658161163, -0.5456513166427612, -0.06978856772184372, 0.23687447607517242, -0.11876506358385086, 0.17380855977535248, 0.29589471220970154, 0.4209054708480835, 0.23851782083511353, -0.7315642833709717, 0.29788121581077576, -0.27482616901397705, -0.18783199787139893, -0.4694933593273163, -0.15310491621494293, 0.012891799211502075, 0.24894118309020996, 0.08510776609182358, 0.14330796897411346, 0.36880168318748474, -0.357782244682312, 0.4658558666706085, 0.35986414551734924, -0.2577682435512543, -0.32010796666145325, 0.6568620204925537, 0.10191114246845245, -0.4527527987957001, 0.6247153282165527, -0.22962215542793274, -0.36050480604171753, 0.23833294212818146, 0.7645284533500671, 1.3536092042922974, -0.1370907574892044, 0.00650063157081604, 0.3989247977733612, 0.5465731024742126, -0.4180638790130615, 0.247079998254776, -0.03957584500312805, -0.8838071227073669, -0.31328481435775757, -0.6504270434379578, -0.3460216224193573, 0.874220609664917, -0.7393144369125366, 0.4338247776031494, -0.12526333332061768, -0.08038728684186935, 0.19514214992523193, -0.06652799248695374, -0.7048335075378418, -0.29150331020355225, 0.366021066904068, 0.7746984958648682, -0.7358627915382385, 0.8475930690765381, 0.3158493936061859, -0.2734743356704712, -0.33178025484085083, 0.6222257018089294, 0.2238035500049591, -0.7583798766136169, 0.7577406167984009, 0.5671379566192627, -0.7602199912071228, -0.27013465762138367, -0.5080682635307312, -0.617723822593689, 0.7751085758209229, 0.5051397681236267, -0.777275562286377, 0.01532270759344101, 0.14522936940193176, 0.44519251585006714, -0.13086223602294922, 0.1202843114733696, 0.9072922468185425, 0.4968055188655853, 0.19000133872032166, -0.9794222712516785, 0.39228126406669617, -0.05427159368991852, -0.0996909961104393, 0.1303541213274002, -0.4093815088272095, 0.5068871378898621, -0.21364335715770721, -0.15040554106235504, 0.1614616960287094, 0.7133305668830872, 0.7966968417167664, 0.18624389171600342, 0.6234437227249146, 0.627040684223175, 0.9334450364112854, -0.09656631201505661, 0.9392309784889221, -0.3708072602748871, 0.329404354095459, 1.7147786617279053, -0.6158397197723389, 1.085323452949524, 0.6284956336021423, -0.13133475184440613, 0.44537094235420227, 0.3672053813934326, -0.3053390383720398, 0.2725070118904114, 0.5505604147911072, -0.24301022291183472, -0.2789463400840759, -0.13883475959300995, -0.40305274724960327, 0.26657745242118835, 0.2259197235107422, -0.11927158385515213, -0.26687413454055786, -0.30085092782974243, -0.06577637791633606, -0.08557365089654922, 0.12398187816143036, 0.5652593374252319, 0.04188663512468338, -0.8647820353507996, 0.887596070766449, -0.2416285276412964, 0.7354612946510315, -0.36496278643608093, -0.21346771717071533, -0.10773047059774399, 0.6892396807670593, -0.43472543358802795, -0.640822172164917, 0.39514660835266113, -0.0023825776297599077, -0.15219806134700775, 0.07021228224039078, 0.6074309349060059, -0.5066004991531372, -0.27931585907936096, 0.4023281931877136, 0.08245168626308441, 0.33715128898620605, -0.3760288655757904, -0.42204105854034424, 0.29553529620170593, -0.00694003701210022, -0.12589511275291443, -0.048902448266744614, 0.3829202353954315, 0.05593082681298256, 0.6329277157783508, 0.48519614338874817, 0.1373671144247055, -0.2370598316192627, 0.27919459342956543, 0.5949891805648804, -0.660573422908783, 0.08973408490419388, -0.8629583716392517, 0.16176638007164001, -0.1001095399260521, -0.14441314339637756, 0.6779853701591492, 0.8676862716674805, 0.9528820514678955, -0.11556984484195709, 0.5845127105712891, 0.0870928019285202, 0.3410542905330658, -0.4481441080570221, 0.5127413272857666, -0.436759889125824, 0.2699108421802521, -0.18090112507343292, -0.9750233292579651, -0.6077145338058472, 0.839550256729126, -0.260201096534729, -0.1863602250814438, 1.1598663330078125, 1.05400812625885, 0.023041680455207825, 0.15675118565559387, 0.36032941937446594, 0.4086955487728119, 0.4680190086364746, 0.6216145753860474, 0.7375288605690002, -0.4280301034450531, 0.4765370190143585, -0.20903123915195465, -0.13869045674800873, -0.4297519624233246, -1.0148450136184692, -1.161719560623169, -0.47662532329559326, -0.449969619512558, -0.7486253380775452, -0.3782980740070343, 0.8057463765144348, 0.39254337549209595, -1.2025352716445923, -0.19461432099342346, -0.09212439507246017, 0.025439249351620674, -0.31166213750839233, -0.2545410692691803, 0.28981319069862366, -0.4827401041984558, -0.5762349963188171, 0.3153981566429138, 0.21081247925758362, -0.1870332956314087, -0.4542100727558136, 0.12532608211040497, -0.0598665215075016, 0.11456272751092911, 0.6811444759368896, 0.25104403495788574, -1.1518735885620117, -0.5751280188560486, -0.15558794140815735, -0.26259201765060425, -0.025145919993519783, 0.9260666370391846, -0.8710442185401917, 0.5363410115242004, 0.43352261185646057, 0.6942870020866394, 0.6328058838844299, -0.3786757290363312, 0.348070353269577, -0.4700508117675781, 0.08236447721719742, 0.130319744348526, 0.5370678901672363, 0.21510747075080872, -0.26424869894981384, 0.7348272800445557, 0.13785098493099213, -0.5996881127357483, -1.1892424821853638, 0.18603666126728058, -1.0838743448257446, -0.14101944863796234, 1.2947837114334106, 0.2949163615703583, -0.07809313386678696, -0.17074190080165863, -0.24080269038677216, -0.02571007050573826, -0.23151224851608276, 1.447503924369812, 1.0071965456008911, 0.06362284719944, 0.19904129207134247, -0.7463040351867676, 0.6334928870201111, 0.4307415783405304, -0.9714954495429993, 0.7304554581642151, 0.6584122180938721, 0.24393843114376068, 0.639000654220581, 0.44452399015426636, -0.28954020142555237, 0.17640259861946106, -0.1555292308330536, 0.5965157151222229, -0.01945328712463379, -0.3483600318431854, -0.4295402765274048, 0.17142215371131897, -0.07988223433494568, -0.18154314160346985 ]
http://arxiv.org/abs/2405.14470v1
http://arxiv.org/pdf/2405.14470v1
Which Information Matters? Dissecting Human-written Multi-document Summaries with Partial Information Decomposition
2024-05-23T11:56:54
2024-05-23T11:56:54
Laura Mascarell, Yan L'Homme, Majed El Helou
cs.CL
cs.CL
Understanding the nature of high-quality summaries is crucial to further improve the performance of multi-document summarization. We propose an approach to characterize human-written summaries using partial information decomposition, which decomposes the mutual information provided by all source documents into union, redundancy, synergy, and unique information. Our empirical analysis on different MDS datasets shows that there is a direct dependency between the number of sources and their contribution to the summary.
[ -0.43889620900154114, -0.4423774480819702, 0.4700191617012024, 0.05270787701010704, -0.14609307050704956, 0.2635704576969147, 0.011656861752271652, -0.21720458567142487, 0.6540393829345703, 0.29898691177368164, -0.4480096995830536, -0.12309841811656952, -0.6910231113433838, 0.3209820091724396, -0.33381757140159607, 0.9795669913291931, 0.0922282263636589, 0.04966409504413605, -0.5210042595863342, -0.30156654119491577, 0.05184554681181908, -0.7378548383712769, -0.3052833676338196, -0.2816734313964844, 0.754690408706665, 0.39323514699935913, 0.46268460154533386, 0.8161647319793701, 0.7206878066062927, 0.3233010172843933, -0.3733985722064972, 0.19385066628456116, -0.48263320326805115, 0.16299013793468475, -0.3303062617778778, -0.6643329858779907, -0.46804556250572205, 0.27069178223609924, 0.8821607232093811, 0.9295042157173157, -0.13606393337249756, 0.3054710030555725, 0.2203933745622635, 0.9002072215080261, -0.6730021238327026, 0.26489534974098206, 0.09505390375852585, 0.0533580482006073, -0.44404760003089905, -0.5231927037239075, -0.2948237657546997, -0.23155619204044342, 0.16877225041389465, -0.5215519070625305, 0.636235773563385, -0.17999330163002014, 0.6416652798652649, 0.1050984114408493, -0.8172702789306641, -0.23036451637744904, -0.9408196210861206, 0.6511711478233337, -0.31215700507164, 0.08964788168668747, 0.4425409436225891, 0.18952803313732147, 0.09850992262363434, -0.6372531652450562, -0.44490206241607666, 0.40676259994506836, -0.466815710067749, 0.41042134165763855, -0.13934071362018585, 0.23285958170890808, 0.10314612090587616, 0.7622858285903931, -0.238973006606102, -0.24071073532104492, -0.8002027273178101, -0.4569826126098633, 0.6194466948509216, 0.3114622235298157, 0.3975895643234253, -0.18886472284793854, -0.06052614003419876, -0.21007408201694489, -0.5376394987106323, -0.16643546521663666, 0.5406822562217712, -0.10482792556285858, -0.1636764258146286, 0.7503709197044373, -0.31301310658454895, 0.6133771538734436, -0.0037589510902762413, -0.5337242484092712, 0.21570459008216858, -1.0274379253387451, -0.2098529189825058, 0.10012602806091309, 0.6232476234436035, 0.4946228265762329, -0.4793725907802582, -0.11863060295581818, 0.058630138635635376, -0.024387210607528687, 0.06574085354804993, -0.5421422123908997, -0.26727545261383057, 0.10489357262849808, -0.7823596000671387, -0.17249760031700134, 0.400424987077713, -0.6407573819160461, -0.7751137614250183, -0.8743966817855835, 0.013622753322124481, -0.13781172037124634, -0.471303790807724, -0.24622337520122528, -0.9621661305427551, -0.06981519609689713, 0.5726636052131653, -0.7413569688796997, 0.18829400837421417, 0.2288699597120285, 0.7503892779350281, -0.040451981127262115, -0.5049787759780884, -0.2550128102302551, 0.4863865077495575, -0.14708663523197174, 0.9051135778427124, -0.18020793795585632, -0.21589653193950653, -0.27982595562934875, -0.2067718356847763, -0.02335616573691368, -0.6398899555206299, 0.4864843189716339, -0.21003808081150055, 0.4004565477371216, -0.9608352184295654, -0.5044269561767578, -0.2463592290878296, -0.1548873782157898, -1.1016104221343994, 0.4882536828517914, 0.2406795620918274, -1.4262759685516357, 0.3940322995185852, -0.7924579977989197, -0.8499456644058228, -0.4178462326526642, -0.0683470219373703, -0.18936240673065186, 0.4402679204940796, 0.04368402063846588, 0.5683618187904358, -0.23099763691425323, 0.18407811224460602, -0.04901106655597687, -0.22085602581501007, 0.26853930950164795, -0.256994366645813, 0.5206840634346008, 0.4008792042732239, 0.1715908646583557, 0.11459830403327942, -0.8427482843399048, -0.6689100861549377, 0.19001971185207367, -0.7557984590530396, -0.2952236235141754, 0.332705020904541, -0.08192040026187897, 0.11563068628311157, 0.3386085033416748, -0.1812567263841629, 0.026329752057790756, -0.023991389200091362, 0.3461863696575165, 0.6479234099388123, 0.40239691734313965, 0.7550142407417297, -0.7061654925346375, 0.632175087928772, 0.3436185121536255, 0.07577992230653763, -0.46643728017807007, -0.20667818188667297, -0.6429454684257507, -0.40138283371925354, 0.49279382824897766, 0.3199761211872101, -0.5282529592514038, 0.306095689535141, -0.08499399572610855, -0.14726509153842926, -0.6498163342475891, -0.1045663133263588, 0.29359757900238037, 0.656844437122345, 0.17165227234363556, -0.20035387575626373, -0.9296079874038696, -1.1815696954727173, -0.30181238055229187, -0.08265316486358643, -0.157509446144104, -0.25583022832870483, 0.19329309463500977, -0.0558687224984169, 0.8779667615890503, -0.6462820172309875, -0.09922811388969421, -0.7094210386276245, 0.41498011350631714, -0.024652596563100815, -0.08995849639177322, 0.5623079538345337, -0.8259527683258057, -0.06987810879945755, -0.39171186089515686, -0.8163266181945801, -0.08623408526182175, -0.19100640714168549, -0.2254713773727417, -0.0894399955868721, 0.19308112561702728, -0.4512632489204407, 0.5545053482055664, 0.2861377000808716, -0.37598878145217896, 0.37774211168289185, -0.5960439443588257, 0.40178704261779785, -1.1581499576568604, 0.2657880187034607, 0.09979967027902603, -0.13125735521316528, -0.4993540346622467, -0.08064000308513641, 0.05201219394803047, 0.09264670312404633, -0.005552159622311592, 0.24482309818267822, -0.7238010764122009, -0.3245897889137268, -0.149888813495636, 0.16450949013233185, 0.2693737745285034, 0.35194599628448486, -0.0921117514371872, 0.5401788353919983, 0.18866367638111115, -0.5867699980735779, 0.4246787130832672, 0.2981901466846466, -0.23083852231502533, 0.7440105676651001, -0.34659287333488464, -0.17842882871627808, -0.719346821308136, 0.41282930970191956, -1.0059711933135986, -0.6494253277778625, -0.0017754696309566498, -0.42478305101394653, 0.3761131465435028, -0.12712234258651733, -0.7584508657455444, -0.03738494962453842, -0.6414369940757751, -0.03198664262890816, 0.027054695412516594, -0.2381983995437622, 0.8449913859367371, 1.0444430112838745, -0.48717913031578064, -0.523177981376648, -0.6016091704368591, 0.18532592058181763, -0.12815482914447784, -0.5088106989860535, 0.18481582403182983, -0.13535581529140472, -0.674458920955658, 0.015516349114477634, -0.3091426193714142, -0.2719711661338806, 0.08919151872396469, 0.4399872124195099, 0.06878563016653061, 0.11329115927219391, 0.0211164727807045, 0.4192770719528198, -0.14394626021385193, 0.0013259185943752527, 0.26031264662742615, 0.38502681255340576, 0.3438705503940582, -0.0315704420208931, -0.7289773225784302, 0.941804051399231, 0.8409742116928101, -0.2433079332113266, 0.889514148235321, 0.31811171770095825, -0.2840014100074768, 0.19576521217823029, -0.3651788830757141, 0.14471770823001862, -0.3491858243942261, 0.2194899469614029, -0.2968668043613434, -0.20666854083538055, 0.6388303637504578, 0.1753987967967987, 0.07077533006668091, 0.7532373666763306, 0.38077259063720703, -0.49113729596138, 0.8029754161834717, 0.7315325736999512, -0.3881758749485016, 0.5831542015075684, -0.32946011424064636, -0.1562006026506424, -0.7008998990058899, -0.4280468821525574, -0.5661284327507019, -0.32075533270835876, 0.13644833862781525, 0.06280342489480972, 0.36028897762298584, 0.19857318699359894, 0.15192772448062897, 0.13646994531154633, -0.3592216670513153, 0.7646667957305908, 0.7047305703163147, 0.22287149727344513, 0.5623201727867126, -0.003373746993020177, 0.12702833116054535, 0.19849969446659088, -0.6166726350784302, -0.37312284111976624, 1.1360944509506226, 0.16842149198055267, 0.7693583965301514, 0.43255355954170227, 0.6720715165138245, 0.5292277336120605, -0.01768854819238186, -0.37952739000320435, 0.3027336597442627, 0.21383795142173767, -0.48950624465942383, -0.11404312402009964, -0.8078802227973938, -1.0819228887557983, 0.29788681864738464, -0.12337098270654678, -0.2566767930984497, 0.15691505372524261, 0.08042523264884949, -0.23588666319847107, 0.15203382074832916, -1.221116304397583, 0.33723071217536926, 0.10114836692810059, 0.23684413731098175, -0.4780395030975342, -0.7993417978286743, 0.38632822036743164, 0.06254447251558304, 0.2904733121395111, 0.04490385949611664, -0.041196029633283615, 1.3269734382629395, -0.41071370244026184, 0.6898799538612366, -0.09261182695627213, 0.05572037771344185, 0.33720821142196655, 0.09868738800287247, 0.16092373430728912, 0.12693926692008972, 0.10523124039173126, 0.15234807133674622, 0.14274121820926666, -0.5390661358833313, -0.541412353515625, 0.42326971888542175, -0.8783249258995056, -0.3667892515659332, -0.5590541362762451, -0.4248722791671753, 0.1917492300271988, 0.2551807761192322, 0.6058467030525208, 0.6414526700973511, -0.04896465316414833, -0.12342901527881622, 0.441768616437912, 0.13399194180965424, 0.4015510678291321, 0.30888015031814575, 0.21125732362270355, -0.5721157193183899, 0.6364144086837769, 0.5854699015617371, 0.15551990270614624, 0.576705813407898, 0.039194341748952866, -0.4152996242046356, -0.5954310894012451, -0.16859544813632965, 0.546669602394104, -0.9340552687644958, -0.11505001038312912, -0.5187696814537048, -0.14087386429309845, -0.3570583164691925, -0.15968498587608337, -0.06171752139925957, -0.5428866744041443, -0.6139044761657715, -0.3805006742477417, -0.17528648674488068, 1.186094880104065, -0.21987533569335938, 0.03612089902162552, -0.8885337114334106, 0.9253804087638855, 0.26638081669807434, 0.18725605309009552, -0.1578523963689804, -0.2501324713230133, -0.3279912769794464, 0.029322991147637367, -0.22865620255470276, -1.2055147886276245, -0.09500566869974136, -0.051717206835746765, 0.8134366869926453, 0.4589758515357971, 0.30588725209236145, 0.5519545078277588, 0.19906973838806152, 0.5990305542945862, 0.504662811756134, -0.9009535312652588, 0.6553303599357605, -0.3962012231349945, 0.38059836626052856, 0.6074177026748657, 0.19187627732753754, -0.48074033856391907, -0.2650997042655945, -0.7538580298423767, -0.7581664323806763, 0.9760639667510986, 0.3171026110649109, -0.49102941155433655, 0.2519567012786865, 0.2193547934293747, -0.020245030522346497, 0.15122531354427338, -0.19875207543373108, -0.4397924244403839, 0.0112034035846591, -0.2614831030368805, -0.14273756742477417, -0.5858372449874878, -0.5066410899162292, -0.165757417678833, 0.18020068109035492, 0.24665196239948273, 0.24644166231155396, 0.40618056058883667, -0.2890673875808716, -0.08533606678247452, 0.14546681940555573, 0.7703589797019958, 1.1656852960586548, -0.3265175223350525, 0.44881385564804077, -0.05117199569940567, -0.6150208115577698, 0.46031951904296875, -0.1988164186477661, 0.13735739886760712, 0.1122947409749031, 0.7634365558624268, 0.42830386757850647, -0.18231196701526642, -0.2740463614463806, 0.5308720469474792, -0.44118714332580566, -0.06060168519616127, 0.046054642647504807, 0.08711661398410797, 0.10617538541555405, 0.020792579278349876, 0.5139332413673401, 0.6207879781723022, 0.27476945519447327, -0.8055947422981262, 0.09590239077806473, -0.30050212144851685, 0.13356226682662964, -0.6147928833961487, 0.3750319182872772, 0.5365575551986694, 0.13415543735027313, 0.42882490158081055, -0.20573560893535614, -0.16173867881298065, 0.5246659517288208, 0.08334681391716003, 0.5468430519104004, -0.29518136382102966, 0.29686376452445984, 0.3522864282131195, 0.151326984167099, -0.2747948169708252, 0.20663264393806458, -0.28061097860336304, -0.3529452085494995, -0.6125484704971313, -0.20517177879810333, -0.5689892172813416, -0.10169737040996552, -0.9036309719085693, 0.022997930645942688, -0.40006107091903687, -0.1583956778049469, 0.4535897970199585, -0.07174918055534363, -0.4712629020214081, 0.12758851051330566, -0.0902748554944992, 0.7061610221862793, -0.7827135324478149, 0.43694618344306946, 0.47659963369369507, -0.6502721905708313, -0.36553263664245605, -0.039695464074611664, 0.2926367521286011, -0.14030908048152924, 0.5161817669868469, -0.26974916458129883, -0.142924502491951, -0.27222833037376404, -0.15215176343917847, -0.9469609260559082, 1.1493395566940308, 0.8221346139907837, -0.25612297654151917, -0.23299768567085266, -0.2358625829219818, 0.196602463722229, 0.0947483703494072, 0.37097546458244324, 0.6719750165939331, 0.5438322424888611, 0.06877027451992035, -0.9115595817565918, -0.1653342843055725, -0.34882888197898865, -0.26544898748397827, 0.42536285519599915, -0.6297119855880737, 0.7308250069618225, -0.37025895714759827, -0.7879202961921692, -0.47683167457580566, 0.4058435261249542, -0.21450722217559814, 0.31195881962776184, 0.14295652508735657, 0.43713074922561646, 1.1454702615737915, -0.08025291562080383, 1.22971510887146, -0.0261510219424963, 0.18954341113567352, 1.1609848737716675, 0.12263278663158417, 0.45022380352020264, 0.23028025031089783, -0.43456822633743286, 0.06304267048835754, 0.5609204173088074, 0.38482341170310974, 0.41089969873428345, 0.11626604199409485, -0.20684213936328888, 0.25643330812454224, 0.05518374964594841, -0.4408620297908783, 0.5081520676612854, 0.2010604739189148, -0.5071767568588257, -0.33277130126953125, -0.28058579564094543, 0.12988024950027466, -0.22750896215438843, -0.16235917806625366, 1.16379714012146, -0.3534305691719055, -0.6852815747261047, 0.3004654049873352, 0.21203863620758057, 0.325300395488739, -0.641753077507019, -0.023544378578662872, -0.5194443464279175, -0.009114283137023449, -0.5558953285217285, -0.895661473274231, 0.6003094911575317, -0.1346864551305771, -0.8415884375572205, -0.23438309133052826, 0.628691554069519, -0.3246850371360779, -0.11354637891054153, 0.10936367511749268, 0.2895459532737732, -0.029311547055840492, -0.28892114758491516, -0.09330436587333679, -0.03305885195732117, 0.059820860624313354, -0.1946486532688141, 0.5599589943885803, 0.45246946811676025, 0.37893491983413696, 0.5157561898231506, 0.7419319748878479, 0.19956612586975098, -0.1486796885728836, -0.019603855907917023, 0.9146164655685425, -0.9499343633651733, -0.7316357493400574, -0.8476696014404297, 0.6266885995864868, -0.6246080994606018, -0.3241860270500183, 0.9337829351425171, 0.9497676491737366, 0.456932008266449, 0.05421360582113266, 1.1538774967193604, 0.15921521186828613, 0.7257695198059082, -0.48275187611579895, 0.9955496191978455, -0.15325886011123657, 0.21315225958824158, -0.27072674036026, -0.8207427859306335, -0.26325342059135437, 0.3399599492549896, 0.11609826236963272, -0.44065526127815247, 0.606545090675354, 0.3085255026817322, -0.030131235718727112, -0.14386507868766785, 0.04301423951983452, 0.020929209887981415, 0.10116859525442123, 0.23923605680465698, 0.981354832649231, -0.1599607616662979, 0.44986310601234436, -0.14732308685779572, -0.4608926773071289, -0.29303568601608276, -0.4416571259498596, -0.740649938583374, -1.1239553689956665, -0.5248762369155884, -0.2549785077571869, -0.5087119936943054, 0.43041756749153137, 0.7524014711380005, -0.430921345949173, -0.1394883394241333, 0.23849667608737946, 0.4737681448459625, -0.043785642832517624, -0.24015115201473236, 0.5274466276168823, -0.007121004164218903, -0.36355048418045044, 0.36167123913764954, 0.6879558563232422, 0.4135764241218567, -0.1473424732685089, -0.06409013271331787, 0.08506777882575989, 0.34149718284606934, 0.6492226719856262, 0.15824085474014282, -0.44561129808425903, 0.351270467042923, -0.3807618319988251, -0.1666620373725891, 0.2681881785392761, 1.2024428844451904, -0.3471965491771698, 0.6452104449272156, 0.9513593912124634, 0.3316345810890198, 0.4766077399253845, 0.21057964861392975, 0.7008534669876099, -0.9715210199356079, 0.1502346694469452, -0.07806152105331421, 0.7149335145950317, 0.17256218194961548, -0.5177552700042725, 0.48897236585617065, 0.3814241290092468, -0.4134710431098938, -0.6300969123840332, 0.1468898057937622, -1.1453543901443481, -0.4468882083892822, 0.9718422293663025, -0.16102124750614166, -0.26425406336784363, -0.37127813696861267, -0.525673508644104, 0.33121973276138306, -0.40976637601852417, 0.6186622977256775, 0.8783180117607117, -0.3450039029121399, -0.20259639620780945, 0.0322389230132103, 0.29819849133491516, -0.33019888401031494, -1.1150226593017578, 0.16805464029312134, 0.8610735535621643, 0.27761250734329224, 0.36763235926628113, 0.9287061095237732, -0.13525989651679993, -0.021260233595967293, 0.24355636537075043, -0.018674040213227272, -0.1550203263759613, -0.5276061296463013, -0.2616913318634033, 0.5105286240577698, -0.22696705162525177, -0.27207300066947937 ]
http://arxiv.org/abs/2405.14446v2
http://arxiv.org/pdf/2405.14446v2
Worldwide Federated Training of Language Models
2024-05-23T11:25:19
2024-05-27T10:59:22
Alex Iacob, Lorenzo Sani, Bill Marino, Preslav Aleksandrov, William F. Shen, Nicholas Donald Lane
cs.LG
cs.LG, cs.AI, cs.CL, cs.DC, I.2.7
The reliance of language model training on massive amounts of computation and vast datasets scraped from potentially low-quality, copyrighted, or sensitive data has come into question practically, legally, and ethically. Federated learning provides a plausible alternative by enabling previously untapped data to be voluntarily gathered from collaborating organizations. However, when scaled globally, federated learning requires collaboration across heterogeneous legal, security, and privacy regimes while accounting for the inherent locality of language data; this further exacerbates the established challenge of federated statistical heterogeneity. We propose a Worldwide Federated Language Model Training~(WorldLM) system based on federations of federations, where each federation has the autonomy to account for factors such as its industry, operating jurisdiction, or competitive environment. WorldLM enables such autonomy in the presence of statistical heterogeneity via partial model localization by allowing sub-federations to attentively aggregate key layers from their constituents. Furthermore, it can adaptively share information across federations via residual layer embeddings. Evaluations of language modeling on naturally heterogeneous datasets show that WorldLM outperforms standard federations by up to $1.91\times$, approaches the personalized performance of fully local models, and maintains these advantages under privacy-enhancing techniques.
[ -0.03955283388495445, -0.695925772190094, 0.3010638654232025, 0.451138436794281, 0.22534003853797913, 0.2183159589767456, -0.23682640492916107, -0.6656280755996704, -0.17020845413208008, 0.4517592787742615, -0.4671463072299957, -0.38296544551849365, -0.14652229845523834, 0.0887293890118599, -0.15758945047855377, 0.8713929653167725, 0.14845089614391327, 0.34222182631492615, -0.38736245036125183, -0.43329334259033203, 0.10819213837385178, -0.8933743834495544, -0.164530947804451, -0.43275704979896545, 0.36893385648727417, 0.3943614065647125, 0.76316899061203, 0.6617596745491028, 0.5171202421188354, 0.3139497637748718, 0.13773930072784424, -0.08002417534589767, -0.6422074437141418, 0.1350017935037613, -0.28387054800987244, -0.48216426372528076, -0.4237840175628662, 0.24585364758968353, 0.8582426905632019, 0.9712851047515869, -0.4569913446903229, 0.17814841866493225, -0.1456579566001892, 0.41935715079307556, -0.5466548204421997, 0.3895227611064911, -0.5090062618255615, 0.44671279191970825, 0.04209063574671745, 0.17237237095832825, -0.41826725006103516, -0.45622140169143677, 0.32605984807014465, -0.5546326637268066, 0.3674546778202057, 0.22110123932361603, 0.6634122729301453, -0.009039320051670074, -0.24676166474819183, 0.18135786056518555, -0.8856863379478455, 0.771729052066803, -0.4536101222038269, 0.7105532288551331, 0.4789298474788666, 0.43778321146965027, 0.13340379297733307, -0.6508909463882446, -0.21408696472644806, 0.012671367265284061, -0.058756642043590546, -0.16510403156280518, -0.3416263461112976, -0.13495291769504547, -0.018913067877292633, 0.5500027537345886, -0.46822088956832886, 0.38432151079177856, -0.16851453483104706, -0.4297029376029968, 0.7518669962882996, 0.14746278524398804, 0.2271837741136551, 0.3682939410209656, -0.40478941798210144, 0.06793613731861115, -0.7137047052383423, -0.02040296047925949, 0.5096592903137207, 0.8135635852813721, -0.4808064103126526, 0.1554260551929474, -0.6296155452728271, 0.6396520733833313, -0.1751164197921753, -0.31672370433807373, 0.4213680922985077, -0.10885585099458694, -0.4332510828971863, -0.2743683159351349, 0.9028923511505127, -0.14540442824363708, -0.0741434097290039, -0.7112917900085449, -0.3552258014678955, -0.2664819657802582, -0.060816727578639984, -0.5253897905349731, -0.03293800354003906, 0.24372519552707672, -0.245668426156044, -0.4396059811115265, 0.08787467330694199, -0.6117038130760193, -0.2008461356163025, -0.6161479353904724, 0.2703065574169159, -0.022276809439063072, -0.3533368408679962, -0.0868389755487442, 0.22081388533115387, -0.054997146129608154, -0.07976734638214111, -1.2610230445861816, 0.40874114632606506, 0.8368710875511169, 0.8698847889900208, 0.09763328731060028, -0.5344041585922241, -0.7179445624351501, 0.07503820210695267, -0.06814330816268921, 0.5009521245956421, -0.6193621754646301, -0.04261079430580139, 0.3561449646949768, 0.2136038839817047, -0.04087835177779198, -0.32125818729400635, 0.05994031950831413, -0.6684974431991577, 0.6856817603111267, -0.198823019862175, -0.6218717098236084, 0.06876563280820847, 0.3001314699649811, -0.6461420655250549, 0.6559069156646729, 0.16733554005622864, -0.8144305944442749, 0.2880769670009613, -0.5729556679725647, -0.23476895689964294, 0.0956408753991127, -0.14038613438606262, -0.5527144074440002, -0.02763625979423523, 0.23124364018440247, 0.7198745012283325, -0.372167706489563, 0.6625120043754578, -0.5938577651977539, -0.37443801760673523, -0.032439038157463074, -0.5107149481773376, 1.229258418083191, 0.1903543472290039, -0.23093704879283905, -0.019716361537575722, -0.8169454336166382, 0.040441203862428665, 0.21480415761470795, -0.4997284412384033, -0.4615356922149658, -0.34524598717689514, -0.005453135352581739, 0.18123015761375427, 0.22953546047210693, -0.8221756815910339, -0.000749472645111382, -0.5073051452636719, 0.26776739954948425, 0.8061290383338928, -0.14082413911819458, 0.7824355363845825, -0.3124898374080658, 0.524537980556488, -0.2591870427131653, 0.5193421840667725, 0.3237679898738861, -0.29045262932777405, -0.49968281388282776, -0.3626551032066345, 0.2766493856906891, 0.4820442497730255, -0.5021480321884155, 0.21361203491687775, -0.5950648188591003, -0.44384387135505676, -0.30063921213150024, 0.024247808381915092, 0.45277339220046997, 0.24853955209255219, 0.050549641251564026, 0.052824802696704865, -0.5530744194984436, -0.8781031370162964, 0.045613449066877365, -0.09556681662797928, -0.08867162466049194, 0.1688859760761261, 0.4321131706237793, -0.09671997278928757, 1.1750577688217163, -0.1576276421546936, -0.32002919912338257, -0.093344546854496, -0.11976712942123413, -0.20390978455543518, 0.4009174704551697, 0.23063088953495026, -0.9580156207084656, -0.674842357635498, 0.287364661693573, -0.9554197788238525, 0.026617955416440964, 0.18865929543972015, -0.08926616609096527, 0.3823683261871338, 0.18110954761505127, -0.10128474980592728, -0.02531302161514759, 1.050328016281128, -0.2821013629436493, 0.42710399627685547, -0.3072088360786438, -0.30767422914505005, -0.9372950792312622, 0.2640807330608368, -0.35199645161628723, -0.38550445437431335, -0.7784864902496338, 0.45847824215888977, 0.04087400808930397, -0.2186620682477951, -0.39997825026512146, 0.5813744068145752, -0.5491204261779785, -0.3515101671218872, 0.08776020258665085, -0.010142908431589603, -0.15522313117980957, 0.53825443983078, 0.04017338156700134, 0.6344426870346069, 0.8246713280677795, -0.29569894075393677, 0.5592071413993835, 0.40886780619621277, -0.2473365068435669, 0.6064057946205139, -0.094815194606781, 0.108882375061512, 0.09819629788398743, 0.3241238296031952, -0.1727171391248703, -0.5368324518203735, -0.012531055137515068, -0.14490073919296265, -0.004938526079058647, -0.06911014765501022, -0.4317668676376343, -0.04774409905076027, 0.1333608329296112, 0.016980020329356194, 0.439952552318573, -0.8777206540107727, 0.46919354796409607, 0.6774738430976868, 0.08191081881523132, -0.9083274006843567, -0.8474377989768982, -0.10777110606431961, -0.08492902666330338, -0.6353986859321594, -0.021741969510912895, 0.20683957636356354, -0.3568626344203949, -0.0738968625664711, 0.02381453663110733, -0.33947232365608215, 0.3058204650878906, 0.38904502987861633, 0.06548811495304108, -0.3242752254009247, 0.1619279384613037, -0.18231110274791718, -0.018832745030522346, 0.09051360934972763, -0.5118635296821594, 0.49226948618888855, -0.3258202075958252, -0.44007402658462524, -0.2920876443386078, 0.4217376112937927, 0.4336743950843811, -0.41451749205589294, 1.1289358139038086, 0.36768653988838196, -0.5668342709541321, -0.45581933856010437, -0.4929637014865875, -0.08273815363645554, -0.48437169194221497, 0.09227224439382553, -0.06345611810684204, -1.1631029844284058, 0.6484441757202148, 0.1299738734960556, 0.2991487979888916, -0.022207938134670258, 0.6212978959083557, 0.17935200035572052, 0.7730099558830261, 1.2345691919326782, -0.4755704700946808, 0.49935054779052734, -0.12258418649435043, 0.28760847449302673, -0.23442906141281128, -0.4814404249191284, -0.3655342161655426, -0.028474386781454086, -0.5298874974250793, -0.4061347544193268, 0.13161630928516388, -0.24108588695526123, -0.4754776060581207, 0.00559809897094965, -0.11219354718923569, 0.7538255453109741, 0.477478563785553, 0.03510913625359535, 0.5147790312767029, 0.5452716946601868, -0.5179851651191711, 0.1053989976644516, -0.8599087595939636, -0.3321754038333893, 1.020250678062439, 0.5251146554946899, 0.8011837601661682, 0.2766202390193939, 0.8020755052566528, 0.14717884361743927, 0.6547826528549194, -0.32832399010658264, 0.26130473613739014, -0.06240769475698471, -0.8069816827774048, -0.46181735396385193, -0.742718517780304, -0.5865762233734131, 0.4588821828365326, -0.1558254212141037, -0.8593501448631287, 0.3430229127407074, 0.08790752291679382, -0.3080565333366394, 0.6403080821037292, -0.4955119490623474, 0.655660092830658, 0.09678342938423157, -0.6397250890731812, 0.12792496383190155, -0.7962733507156372, 0.4208414852619171, -0.2977115213871002, 0.5383366942405701, -0.10626811534166336, 0.2567121684551239, 0.5123550295829773, -0.4198669195175171, 1.0580685138702393, -0.38087019324302673, -0.27176570892333984, -0.12247913330793381, -0.049988579005002975, 0.3717391788959503, 0.12005719542503357, -0.17300157248973846, 0.31346720457077026, -0.285240113735199, -0.4482212960720062, -0.33668479323387146, 0.7964965105056763, -0.7994321584701538, -0.39548012614250183, -0.35704517364501953, -0.6486606001853943, -0.7075622081756592, 0.11881493777036667, 0.022252963855862617, 0.473682701587677, -0.5675861239433289, 0.24383151531219482, 0.5381337404251099, 0.05910743027925491, 0.3777763247489929, 0.8700266480445862, -0.2125825434923172, -0.19261953234672546, 1.106160044670105, -0.1403379738330841, 0.5790075063705444, 0.5023547410964966, 0.24786509573459625, -0.3190847933292389, -0.1016865074634552, -0.18418368697166443, 0.2296726107597351, -0.7921532988548279, -0.2643962800502777, -0.7080146074295044, -0.2194645255804062, -0.2842903435230255, -0.19022464752197266, -0.4342174530029297, -0.331234872341156, -0.041058216243982315, -0.22741463780403137, 0.23156368732452393, 0.5562416315078735, -0.5328887701034546, 0.1664857268333435, -0.749019980430603, -0.24403856694698334, 0.3891713619232178, 0.8296086192131042, -0.0043579405173659325, -0.3259274363517761, -0.54203861951828, 0.3007780909538269, 0.1544625163078308, -0.28759726881980896, 0.3098401129245758, 0.3387830853462219, 0.6244753003120422, 0.20072364807128906, 0.0009692436433397233, 0.4777076244354248, -0.6524033546447754, 0.5700907707214355, 0.015067926608026028, -0.8832194209098816, 0.05377331003546715, -0.34957900643348694, 0.07425839453935623, 0.3312593698501587, 0.5153716206550598, -0.7861560583114624, -0.9314749836921692, -0.6840521097183228, -0.3416178822517395, 0.9616793990135193, 0.07474584132432938, 0.3720778822898865, 0.45282846689224243, 0.10915359854698181, 0.23027127981185913, -0.008315177634358406, -0.9896432757377625, -0.12511925399303436, -0.07123420387506485, -0.24276915192604065, 0.057525038719177246, 0.18780431151390076, -0.5060016512870789, -0.15314513444900513, 0.8128834366798401, -0.2632761299610138, 0.28930023312568665, -0.013829788193106651, -0.05284783989191055, -0.256655752658844, 0.28241634368896484, 0.0927714928984642, 0.6937224268913269, -0.08317937701940536, 0.027465468272566795, -0.03637318313121796, -0.3471549153327942, 0.43080464005470276, 0.21232254803180695, -0.2126924991607666, -0.16289593279361725, 0.461832731962204, 0.8323872685432434, 0.12144368141889572, -0.6391462683677673, 0.5930786728858948, -0.2636112570762634, -0.32361167669296265, -0.044016845524311066, 0.06197047606110573, 0.20352767407894135, 0.33397600054740906, 0.19689132273197174, 0.0195951946079731, -0.26141953468322754, -0.39288827776908875, 0.2863404154777527, 0.4331197738647461, -0.3981808125972748, -0.466526061296463, 0.6061460971832275, 0.18748608231544495, -0.18903030455112457, 0.4649849832057953, 0.013064331375062466, -0.5919501185417175, 0.27488455176353455, 0.7864897847175598, 0.47829505801200867, -0.4893578886985779, 0.5235865712165833, 0.17386451363563538, 0.2625427842140198, -0.364826500415802, 0.12951001524925232, -0.053282227367162704, -0.7951167225837708, -0.1352851539850235, -0.7581634521484375, -0.660585880279541, 0.12122845649719238, -0.6424118876457214, -0.23404142260551453, -0.6712826490402222, 0.25632601976394653, -0.2754529118537903, -0.00989980436861515, -0.6786298155784607, 0.3117268979549408, 0.3098955452442169, 0.6593623161315918, -1.1908785104751587, 0.9378373026847839, 0.4900500774383545, -0.37852156162261963, -0.8395844101905823, 0.003038472030311823, 0.0993044525384903, -0.7176679372787476, 0.4400002062320709, 0.07452534884214401, 0.1425473541021347, -0.10306324064731598, -0.6678512692451477, -0.9860512018203735, 1.0226589441299438, 0.5657056570053101, -0.4956400692462921, -0.061377670615911484, 0.5510061383247375, 0.7889922857284546, -0.4633824825286865, -0.40836435556411743, 0.523802638053894, -0.037984997034072876, -0.3250858187675476, -0.9089312553405762, -0.008211461827158928, -0.051277149468660355, -0.08923494070768356, -0.08540065586566925, -0.8260209560394287, 0.9363533854484558, 0.010669738054275513, -0.3390122354030609, -0.2724834978580475, 0.5657735466957092, -0.0735233798623085, -0.01135196816176176, 0.4379866123199463, 0.27458521723747253, 1.1546844244003296, 0.005030719563364983, 0.9125261902809143, -0.17106492817401886, 0.7789861559867859, 1.2325857877731323, -0.5212971568107605, 0.8192996382713318, 0.18511657416820526, -0.13576453924179077, 0.3323352336883545, 0.305876761674881, 0.02280944213271141, 0.6315945386886597, -0.11188331246376038, -0.49652740359306335, -0.24319297075271606, -0.046458471566438675, -0.16265486180782318, 0.5440650582313538, 0.11682336777448654, -0.28914716839790344, -0.38775935769081116, 0.41073843836784363, -0.14962950348854065, 0.22958658635616302, 0.13900859653949738, 0.6800491213798523, -0.07633057981729507, -0.2885182201862335, 0.5345633029937744, 0.15170469880104065, 0.5583412051200867, -0.613893985748291, 0.31883591413497925, -0.646004319190979, 0.14840736985206604, -0.20064489543437958, -0.25239139795303345, 0.35506629943847656, 0.29832667112350464, -0.1911812573671341, -0.4585495889186859, 0.330768883228302, -0.5874612927436829, -0.47794774174690247, 0.3814550042152405, 0.601572573184967, -0.0446268655359745, 0.1582118421792984, -0.5828555822372437, 0.03699424862861633, -0.026325911283493042, -0.17925108969211578, 0.5629816055297852, 0.450185090303421, -0.1490720510482788, 0.8758074045181274, 0.6562427282333374, -0.06681593507528305, 0.05752338096499443, 0.12960749864578247, 0.7983623147010803, -0.1330578625202179, -0.8891084790229797, -0.5985342264175415, 0.21024233102798462, -0.15444956719875336, -0.11286861449480057, 0.8245123028755188, 0.5340946912765503, 1.0006338357925415, 0.10451463609933853, 0.8414636254310608, -0.12687554955482483, 0.43494167923927307, -0.4649674594402313, 1.0595508813858032, -0.6535669565200806, 0.26134827733039856, 0.10125651210546494, -0.8290705680847168, -0.5161588788032532, 0.5186144113540649, -0.2523737847805023, -0.3833933174610138, 0.49924972653388977, 0.7452618479728699, -0.481977641582489, 0.5171178579330444, 0.4241437315940857, 0.11550067365169525, 0.4295428991317749, 0.3168015778064728, 0.48528358340263367, -0.2069394439458847, 0.20486946403980255, -0.7315875291824341, -0.14896003901958466, -0.05821811780333519, -0.6506514549255371, -0.7876420021057129, -0.6655606031417847, -0.17261581122875214, 0.023789167404174805, -0.0290103517472744, 1.050437092781067, 0.8075358271598816, -0.9558029174804688, -0.26799091696739197, -0.0010551506420597434, 0.03741146996617317, -0.10579703748226166, -0.20286314189434052, 0.2487134337425232, -0.2015123814344406, -0.5907362699508667, 0.5266059041023254, 0.10634966939687729, 0.13649524748325348, -0.7301945090293884, -0.11409708112478256, -0.2169511318206787, -0.1512313038110733, 0.34279677271842957, 0.34522712230682373, -0.6393633484840393, -0.35819581151008606, -0.19628672301769257, -0.43015187978744507, 0.014688072726130486, 0.6922423839569092, -0.6019594669342041, 0.43079251050949097, 0.19013938307762146, 0.7729198336601257, -0.027062101289629936, -0.1417410522699356, 0.800624668598175, -1.304984211921692, 0.6877714395523071, 0.2718488872051239, 0.25633561611175537, 0.6821706891059875, -0.5116460919380188, 0.5447613596916199, 0.2813778519630432, -0.5989512205123901, -1.0288811922073364, -0.106376513838768, -0.3230579197406769, -0.152100071310997, 0.9156918525695801, -0.6424849629402161, -0.3128930926322937, -0.21842902898788452, 0.40950584411621094, 0.12871558964252472, -0.178472101688385, 0.5550604462623596, 0.581609308719635, 0.2440626174211502, 0.22047366201877594, -0.45780694484710693, 0.4406176805496216, 0.14217551052570343, -0.9446150660514832, 0.5284147262573242, 0.6895666122436523, 0.5781012773513794, 0.143455371260643, 0.7197927832603455, 0.021881021559238434, -0.009289775975048542, 0.18151231110095978, -0.0351078063249588, -0.12062764912843704, -0.3900051414966583, -0.757578432559967, 0.33977144956588745, -0.36188191175460815, 0.09382458031177521 ]
http://arxiv.org/abs/2405.14445v1
http://arxiv.org/pdf/2405.14445v1
Exploring the use of a Large Language Model for data extraction in systematic reviews: a rapid feasibility study
2024-05-23T11:24:23
2024-05-23T11:24:23
Lena Schmidt, Kaitlyn Hair, Sergio Graziozi, Fiona Campbell, Claudia Kapp, Alireza Khanteymoori, Dawn Craig, Mark Engelbert, James Thomas
cs.CL
cs.CL, cs.AI
This paper describes a rapid feasibility study of using GPT-4, a large language model (LLM), to (semi)automate data extraction in systematic reviews. Despite the recent surge of interest in LLMs there is still a lack of understanding of how to design LLM-based automation tools and how to robustly evaluate their performance. During the 2023 Evidence Synthesis Hackathon we conducted two feasibility studies. Firstly, to automatically extract study characteristics from human clinical, animal, and social science domain studies. We used two studies from each category for prompt-development; and ten for evaluation. Secondly, we used the LLM to predict Participants, Interventions, Controls and Outcomes (PICOs) labelled within 100 abstracts in the EBM-NLP dataset. Overall, results indicated an accuracy of around 80%, with some variability between domains (82% for human clinical, 80% for animal, and 72% for studies of human social sciences). Causal inference methods and study design were the data extraction items with the most errors. In the PICO study, participants and intervention/control showed high accuracy (>80%), outcomes were more challenging. Evaluation was done manually; scoring methods such as BLEU and ROUGE showed limited value. We observed variability in the LLMs predictions and changes in response quality. This paper presents a template for future evaluations of LLMs in the context of data extraction for systematic review automation. Our results show that there might be value in using LLMs, for example as second or third reviewers. However, caution is advised when integrating models such as GPT-4 into tools. Further research on stability and reliability in practical settings is warranted for each type of data that is processed by the LLM.
[ -0.28123795986175537, -0.8037189245223999, 0.8242638111114502, 0.18311990797519684, -0.287951797246933, -0.09489750117063522, -0.39626115560531616, -0.5247540473937988, 0.13359525799751282, 0.4955417215824127, -0.2648841440677643, -0.594422459602356, -0.6850770115852356, 0.5937391519546509, -0.696129322052002, 0.9313421249389648, -0.291579008102417, 0.4277770221233368, 0.37692245841026306, 0.18040496110916138, -0.38874393701553345, -0.3712080121040344, -0.33297866582870483, -0.14863340556621552, 0.6374857425689697, 0.4195569157600403, 0.5000081062316895, 0.5461483001708984, 0.8686012625694275, 0.29407650232315063, 0.22569270431995392, -0.2365584671497345, -0.269370973110199, 0.05005620792508125, -0.09775634855031967, -0.29422029852867126, -0.6139255166053772, 0.3076404631137848, 0.63779616355896, 0.628835141658783, -0.307129830121994, -0.02807827666401863, 0.09164982289075851, 0.31864112615585327, -0.160658061504364, 0.30855900049209595, -0.5888602137565613, -0.00004864438233198598, -0.11902596056461334, -0.11115283519029617, -0.18847215175628662, -0.6036543250083923, 0.46408963203430176, -0.42081549763679504, 0.1330403834581375, 0.15564054250717163, 0.935637354850769, -0.04552897810935974, -0.3721030652523041, -0.6412768363952637, -0.8234912157058716, 0.8373529314994812, -0.9581900238990784, 0.16265356540679932, 0.28955569863319397, 0.41063714027404785, -0.38204777240753174, -0.8518640995025635, -0.6532740592956543, -0.3689330220222473, 0.018284421414136887, 0.12754733860492706, 0.21444712579250336, 0.11900582164525986, 0.4103154242038727, 0.4904429614543915, -0.34859851002693176, 0.0584932304918766, -0.434120237827301, -0.35262808203697205, 0.679057240486145, 0.3047902286052704, 0.42938944697380066, -0.3552769720554352, -0.28260886669158936, 0.2043653130531311, -0.7514041066169739, -0.0390273816883564, 0.02855953387916088, 0.12363497167825699, 0.16465121507644653, 0.8683622479438782, -0.1292356252670288, 0.4022615849971771, -0.26657959818840027, -0.3659570813179016, 0.20500069856643677, -0.694556474685669, -0.27604901790618896, -0.3152809739112854, 1.096276044845581, 0.20415624976158142, 0.0025647685397416353, -0.11686587333679199, -0.536946713924408, -0.026618678122758865, 0.1896454244852066, -0.8114956021308899, -0.25063154101371765, 0.4035220444202423, -0.5369243025779724, -0.469973623752594, -0.027692627161741257, -0.7888694405555725, -0.16751143336296082, -0.34334906935691833, 0.3775985538959503, -0.2614649534225464, -0.34003475308418274, 0.32867997884750366, -0.08040403574705124, 0.5045759081840515, 0.5466492772102356, -0.607171893119812, 0.4738476276397705, 0.4411699175834656, 0.8255218267440796, -0.6327797174453735, -0.2115294337272644, -0.1922958791255951, 0.0022894993890076876, -0.5111948251724243, 0.6933653354644775, -0.26255282759666443, -0.49262896180152893, -0.019898444414138794, 0.23391695320606232, 0.05009160190820694, -0.3682728409767151, 0.6203056573867798, -0.5382171869277954, 0.34528252482414246, -0.1764083206653595, -0.5116957426071167, 0.008534622378647327, 0.3571462333202362, -0.9485139846801758, 0.5637312531471252, 0.06702174246311188, -0.6850115656852722, 0.516913890838623, -0.6086283326148987, -0.4377383291721344, 0.04646862670779228, -0.28969255089759827, -0.46772632002830505, -0.03462764620780945, 0.24793510138988495, 0.3200313448905945, -0.6826238632202148, 0.716741681098938, -0.512768566608429, -0.2235701084136963, 0.35058146715164185, -0.25214099884033203, 0.7062321901321411, 0.24150854349136353, -0.5192222595214844, 0.028400572016835213, -0.454079806804657, -0.09465432912111282, 0.19793766736984253, -0.47822433710098267, 0.006632660049945116, -0.09135308861732483, -0.0018600616604089737, 0.4416934847831726, -0.02424338459968567, -0.5683164596557617, 0.29326552152633667, -0.2677355110645294, 0.3232124149799347, 0.623930811882019, 0.2769683301448822, 0.39651691913604736, -0.09152483195066452, 0.7595540881156921, -0.4651664197444916, 0.313627690076828, 0.0978391245007515, -0.39220088720321655, -0.4888545274734497, -0.35732609033584595, 0.7745901942253113, 0.22182153165340424, -0.7444068789482117, 0.4668828845024109, -0.14234471321105957, -0.1452544927597046, -0.2643599510192871, 0.13369528949260712, 0.13584202527999878, 0.3992128074169159, 0.04938681051135063, -0.5837772488594055, -0.5365468859672546, -0.9423317909240723, -0.07914064824581146, -0.26672127842903137, -0.06868267059326172, 0.16005156934261322, 0.7272523045539856, -0.3403974175453186, 1.0126601457595825, -0.3953857719898224, -0.23399174213409424, -0.6036020517349243, 0.21960745751857758, 0.24185258150100708, 0.14493149518966675, -0.072034552693367, -0.6314797401428223, -0.17567384243011475, -0.034307487308979034, -0.9830638766288757, -0.2949681878089905, 0.06146558001637459, -0.09780596941709518, 0.036746151745319366, 0.29724135994911194, -0.7305722832679749, 0.40633562207221985, 0.3681564927101135, 0.2977815866470337, 0.6584990620613098, 0.1305588334798813, 0.1778527796268463, -0.8184698820114136, 0.28779464960098267, 0.15909872949123383, 0.02230696566402912, -0.5582171678543091, -0.2569124698638916, 0.11654537171125412, -0.01512252725660801, -0.28892552852630615, 0.5169219374656677, -0.6719628572463989, -0.09231626242399216, -0.18837577104568481, 0.1024879664182663, -0.10741268843412399, 0.07655022293329239, 0.31182724237442017, 0.4944920241832733, 0.31457820534706116, -0.4413714110851288, 0.11394531279802322, 0.17899955809116364, -0.45999884605407715, 0.039237380027770996, -0.8733867406845093, 0.03518093749880791, 0.23292185366153717, 0.4323200285434723, -0.879946768283844, -0.622686505317688, 0.250885546207428, -0.3020203411579132, 0.40632784366607666, -0.15863436460494995, -0.5075696706771851, -0.5932024121284485, -0.3955187201499939, 0.07412026822566986, 0.46102091670036316, -0.08573406934738159, 0.43216434121131897, 0.8215734958648682, -0.8302457928657532, -0.2731923758983612, -0.20993737876415253, 0.3653758466243744, -0.3027474582195282, -0.3885570168495178, -0.11749615520238876, 0.02871731109917164, -0.38260042667388916, -0.3354591727256775, -0.008162195794284344, 0.007398148067295551, -0.017337437719106674, 0.003354868618771434, 0.5687636733055115, 0.11604958772659302, 0.07300042361021042, -0.008301599882543087, -0.01034452859312296, 0.4464395046234131, 0.1544457972049713, 0.2875942289829254, 0.04089944809675217, -0.31908485293388367, -0.4616605341434479, 0.22916243970394135, 0.47461646795272827, 0.08317502588033676, -0.08804874867200851, 0.3742189407348633, -0.33992335200309753, -0.15379557013511658, -0.6863958239555359, -0.5390636324882507, -0.3639221489429474, 0.4511663317680359, -0.21552637219429016, -0.6482675671577454, 0.24429956078529358, -0.3195754587650299, 0.29099979996681213, 0.47380948066711426, 0.7166634798049927, -0.10501638799905777, 1.0490498542785645, 0.7325399518013, -0.09531783312559128, 0.38205721974372864, -0.15496696531772614, 0.15252701938152313, -0.7812967300415039, -0.08592842519283295, -0.5170765519142151, -0.026411915197968483, -0.47726956009864807, -0.3657008409500122, 0.5898553729057312, -0.08105593174695969, 0.15788863599300385, -0.05076848715543747, -0.15831516683101654, 0.1307704746723175, -0.010126370936632156, 0.07372202724218369, 0.4892946779727936, 0.0038178404793143272, 0.044861990958452225, -0.09023711830377579, -0.5763522982597351, -0.7691056132316589, 1.6079561710357666, 0.6025413274765015, 0.7736168503761292, -0.12110350281000137, 0.7153775095939636, 0.17212092876434326, 0.8379579782485962, -0.8430893421173096, 0.533578634262085, 0.46208077669143677, -0.8144446015357971, -0.4851243793964386, -0.34465569257736206, -0.9773906469345093, 0.34691762924194336, -0.11860694736242294, -0.32666483521461487, -0.014144309796392918, -0.184452086687088, -0.27461379766464233, -0.21467076241970062, -0.6079725623130798, 0.3886987268924713, -0.49171707034111023, -0.28647109866142273, 0.044610850512981415, -0.859656810760498, 0.7304295301437378, -0.4467089772224426, 0.42122703790664673, -0.1462852954864502, -0.12165237218141556, 0.9058290719985962, -0.42639100551605225, 0.7279244661331177, -0.02232428267598152, -0.2236776053905487, 0.2738313674926758, 0.12502194941043854, 0.6537656784057617, 0.30555418133735657, -0.09130403399467468, 0.2951063811779022, -0.1913885474205017, -0.13629686832427979, -0.5045703649520874, 0.5120955109596252, -0.5834836363792419, -0.6861030459403992, -0.6029520034790039, -0.5280576348304749, -0.2915859818458557, 0.4002296030521393, -0.08618848770856857, 0.26253756880760193, -0.31899547576904297, -0.13641752302646637, 0.4329066574573517, -0.14522525668144226, 0.3260444700717926, 0.709499180316925, -0.44211307168006897, -0.5339364409446716, 0.5574204325675964, -0.0021554208360612392, 0.28571274876594543, -0.14232096076011658, 0.39748406410217285, -0.35901713371276855, -0.9813717603683472, -0.39190226793289185, 0.3694520592689514, -0.505832850933075, 0.081617072224617, -0.7911834120750427, -0.12266021966934204, -0.2994183897972107, 0.27116280794143677, -0.150436669588089, -0.2723221480846405, 0.10544953495264053, -0.11441566795110703, 0.08395399153232574, 1.1610093116760254, -0.0030543392058461905, -0.014922354370355606, -0.6253194808959961, 0.4293913245201111, 0.06895972043275833, 0.03132203221321106, -0.21218347549438477, -0.44207093119621277, -0.2036145031452179, -0.2605038583278656, -0.10807334631681442, -0.8690595030784607, 0.7112368941307068, -0.1284889429807663, 0.5357236266136169, 0.06426416337490082, -0.19205303490161896, 0.5965825915336609, -0.47832605242729187, 0.713670015335083, 0.24373990297317505, -0.6957709789276123, 0.5027924180030823, -0.5202005505561829, 0.06520117074251175, 0.6334323883056641, 0.6643032431602478, -0.1703469455242157, -0.4338356554508209, -0.46716272830963135, -0.9228588938713074, 0.6866593360900879, 0.18165422976016998, -0.3565659523010254, 0.1185566782951355, 0.323557585477829, 0.5235631465911865, 0.2997913956642151, -0.664257824420929, 0.19536669552326202, 0.4004019498825073, 0.06260798871517181, -0.1311662495136261, -0.2940158545970917, -0.4576186239719391, -0.27834823727607727, 0.44449958205223083, -0.179239422082901, 0.2542741000652313, 0.4046678841114044, -0.202772319316864, -0.0825272873044014, 0.28921031951904297, 0.1708395630121231, 0.9227222204208374, -0.2852104604244232, -0.10239436477422714, 0.04947690665721893, -0.6165117025375366, 0.06124238669872284, 0.18426083028316498, -0.18062520027160645, 0.04300351068377495, 0.47344210743904114, 0.01832066848874092, 0.1119682714343071, -0.48396390676498413, 0.5307574272155762, -0.3516176640987396, -0.27327775955200195, -0.3560751974582672, -0.3052298426628113, -0.140144944190979, -0.04225987195968628, 0.2820412218570709, -0.27637606859207153, 0.5421789288520813, -0.4545060992240906, 0.3452160954475403, 0.4794764816761017, -0.16076892614364624, -0.42379456758499146, 0.31158849596977234, 0.29050615429878235, 0.07540679723024368, 0.4590151011943817, -0.04244551435112953, -0.29082173109054565, 0.5628193616867065, 0.3373926281929016, 0.8691121935844421, -0.020975260064005852, 0.09771332889795303, 0.33449801802635193, 0.3143133223056793, -0.4163369834423065, 0.47258472442626953, 0.22514338791370392, -0.46861493587493896, -0.5875091552734375, -0.6054291129112244, -0.635836660861969, 0.14757491648197174, -0.5159087181091309, 0.510015070438385, -0.44185176491737366, -0.3169451653957367, 0.006268097087740898, 0.12511350214481354, -0.6366660594940186, 0.0333208329975605, -0.1386890858411789, 0.5799956321716309, -0.8486642241477966, 0.9343359470367432, 0.3137072026729584, -0.48647400736808777, -1.1811579465866089, 0.0064033749513328075, 0.3696085512638092, -0.624169111251831, 0.4459150731563568, -0.015389936044812202, -0.06075858697295189, -0.1741250604391098, -0.6766049265861511, -0.8575388193130493, 1.2205818891525269, -0.029095418751239777, -0.8522031307220459, -0.1343083679676056, -0.04323381930589676, 0.608536958694458, -0.3904801309108734, 0.4719310700893402, 0.8209554553031921, 0.5389962792396545, 0.009377245791256428, -1.0779259204864502, 0.1903400421142578, -0.1371338814496994, -0.14106062054634094, -0.003008391009643674, -0.22847172617912292, 0.8024433851242065, -0.24398966133594513, -0.23150211572647095, 0.27249622344970703, 0.26865455508232117, 0.29094743728637695, 0.21583321690559387, 0.22621339559555054, 0.20642133057117462, 0.6398575305938721, -0.14026890695095062, 1.2203863859176636, -0.2650737166404724, 0.40538927912712097, 0.7846533060073853, -0.7729324698448181, 0.6164016723632812, 0.6385582089424133, -0.299733430147171, 0.3209063410758972, 0.6570879817008972, 0.17144852876663208, 0.3349843919277191, 0.2884541451931, -0.025107640773057938, 0.04559380188584328, 0.08556679636240005, -0.32959073781967163, 0.16662105917930603, 0.4176483452320099, -0.6128880381584167, 0.0038957749493420124, -0.29104605317115784, 0.021486401557922363, -0.5512502789497375, -0.12066533416509628, 0.9190354943275452, 0.22650966048240662, -0.7460383176803589, 0.48333463072776794, -0.054708484560251236, 0.3828611671924591, -0.8436974287033081, -0.24218815565109253, -0.11644667387008667, 0.0026236495468765497, -0.23534956574440002, -0.704961359500885, 0.026069996878504753, -0.040452826768159866, 0.10485789179801941, -0.09578904509544373, 0.7313769459724426, -0.2421005517244339, -0.6128449440002441, 0.24331870675086975, 0.8217309713363647, 0.3893336057662964, 0.21253778040409088, -0.6900131702423096, 0.39139553904533386, 0.03767969831824303, -0.6353566646575928, 0.4650019109249115, 0.5244466662406921, -0.3089205324649811, 0.5120664238929749, 0.8994796276092529, 0.6615117788314819, -0.18471655249595642, 0.2774989902973175, 1.0130938291549683, -0.8964810371398926, -0.08118008077144623, -0.8689572215080261, 0.3247331976890564, -0.14218176901340485, -0.1932336837053299, 0.896312415599823, 0.4266449511051178, 0.3756759464740753, 0.021495003253221512, 1.1513025760650635, -0.20240989327430725, 0.3888312876224518, -0.5728568434715271, 0.42958781123161316, -0.2410314381122589, 0.42662474513053894, -0.5330011248588562, -0.8948295712471008, -0.42587339878082275, 0.287698358297348, -0.5686841011047363, 0.0010518392082303762, 1.1061720848083496, 0.800950825214386, 0.3148103356361389, 0.1909422129392624, 0.14687480032444, 0.3409798741340637, 0.7230245471000671, 0.30286526679992676, 0.8796594142913818, -0.2761680483818054, 0.34829387068748474, -0.09244596213102341, -0.5293620824813843, 0.05805419757962227, -0.7328502535820007, -0.6907714009284973, -0.19775572419166565, -0.04954705759882927, -0.5146154761314392, 0.11589211225509644, 0.7574275732040405, 0.4715949594974518, -0.6400334239006042, -0.39703238010406494, 0.0547603964805603, 0.05260714888572693, 0.08928658068180084, -0.22661522030830383, 0.35349416732788086, -0.21531595289707184, -0.5961167216300964, 0.2276545763015747, 0.4426444470882416, -0.14259493350982666, -0.3929462432861328, -0.1234334409236908, -0.17764823138713837, -0.19001120328903198, 0.4694777727127075, 0.27838265895843506, -0.7630946636199951, -0.0486268624663353, 0.0750359520316124, -0.2505719065666199, -0.06304696947336197, 1.0258947610855103, -0.46286848187446594, 0.5360538363456726, 0.3128502070903778, 0.4111696481704712, 0.48311811685562134, 0.08373504877090454, 1.0302075147628784, 0.08464573323726654, -0.2685868740081787, 0.5306846499443054, 0.5493760704994202, 0.14720898866653442, -0.09651198238134384, 0.638809859752655, 0.20363663136959076, -0.8811478614807129, -0.7341088652610779, 0.10636208206415176, -0.9049482345581055, 0.01515909843146801, 1.5842187404632568, -0.040754251182079315, -0.31766626238822937, -0.5837610363960266, -0.4240734875202179, -0.040593016892671585, -0.4389195442199707, 1.044966697692871, 0.8194430470466614, -0.3540796637535095, 0.06796389073133469, -0.9278027415275574, 0.4978884756565094, 0.15328307449817657, -0.9715792536735535, -0.05152545124292374, 0.6358875036239624, 0.5366970300674438, -0.11172579973936081, 0.9284479022026062, -0.7706663608551025, 0.2860061526298523, -0.33290669322013855, 0.40612393617630005, 0.3733173906803131, -0.24777139723300934, -0.6795727610588074, 0.10538916289806366, 0.3118319511413574, 0.2981995940208435 ]
http://arxiv.org/abs/2405.14437v1
http://arxiv.org/pdf/2405.14437v1
Combining Denoising Autoencoders with Contrastive Learning to fine-tune Transformer Models
2024-05-23T11:08:35
2024-05-23T11:08:35
Alejo Lopez-Avila, Víctor Suárez-Paniagua
cs.CL
cs.CL, I.2.7
Recently, using large pretrained Transformer models for transfer learning tasks has evolved to the point where they have become one of the flagship trends in the Natural Language Processing (NLP) community, giving rise to various outlooks such as prompt-based, adapters or combinations with unsupervised approaches, among many others. This work proposes a 3 Phase technique to adjust a base model for a classification task. First, we adapt the model's signal to the data distribution by performing further training with a Denoising Autoencoder (DAE). Second, we adjust the representation space of the output to the corresponding classes by clustering through a Contrastive Learning (CL) method. In addition, we introduce a new data augmentation approach for Supervised Contrastive Learning to correct the unbalanced datasets. Third, we apply fine-tuning to delimit the predefined categories. These different phases provide relevant and complementary knowledge to the model to learn the final task. We supply extensive experimental results on several datasets to demonstrate these claims. Moreover, we include an ablation study and compare the proposed method against other ways of combining these techniques.
[ -0.5813990831375122, -0.41537022590637207, -0.12340199202299118, -0.067989282310009, -0.3307397663593292, -0.009667803533375263, -0.24466292560100555, -0.40714672207832336, -0.16792188584804535, 0.6702904105186462, -0.37252092361450195, -0.31346696615219116, -0.9097532629966736, 0.2552686929702759, -0.5154997110366821, 0.9964322447776794, -0.05880604311823845, -0.07315859943628311, 0.19144698977470398, -0.09262995421886444, -0.8370126485824585, -0.3557395339012146, -0.8222604990005493, -0.648354709148407, 0.14570169150829315, 0.4505469799041748, 0.558678925037384, 0.5714421272277832, 0.6036264300346375, 0.3286744952201843, -0.09799163788557053, 0.11496682465076447, -0.3965504467487335, 0.021997932344675064, -0.46707066893577576, -0.6614986658096313, -0.18804161250591278, -0.08508230000734329, 0.39071017503738403, 1.0136830806732178, -0.09523419290781021, -0.2146930694580078, 0.5450595617294312, 0.7491617798805237, -0.6500084400177002, 0.23016130924224854, -0.7799034118652344, 0.12337318062782288, 0.47853514552116394, -0.2195882797241211, -0.3982551395893097, -0.07547098398208618, 0.216319739818573, -0.3478328585624695, 0.7352522611618042, -0.18089458346366882, 0.7403841614723206, 0.6695451736450195, -0.49890580773353577, -0.16997334361076355, -0.9589950442314148, 0.8843977451324463, -0.6266818046569824, 0.31204017996788025, 0.16976559162139893, 0.11290697008371353, 0.2013106793165207, -0.7093251943588257, -0.6257094144821167, 0.07862334698438644, -0.5916834473609924, 0.11465716361999512, -0.3332025706768036, 0.04573047533631325, 0.05763077735900879, 0.7547345161437988, -0.3639523983001709, 0.3511504530906677, -0.4124365746974945, 0.12138666957616806, 0.32422786951065063, 0.08633046597242355, 0.05196504294872284, -0.05731114000082016, -0.3167250156402588, -0.3624975085258484, -0.22174832224845886, -0.21413327753543854, -0.02663089707493782, 0.4834401607513428, -0.24651800096035004, 0.4120342433452606, -0.25685563683509827, 0.7870675325393677, 0.7100130319595337, 0.3030065596103668, 0.39973771572113037, -0.3104466199874878, -0.3979673683643341, -0.17001654207706451, 0.4917108118534088, 0.5786893367767334, 0.1955806016921997, -0.06258916854858398, -0.33386871218681335, 0.2818862795829773, 0.6172885298728943, -0.839072048664093, -0.5459439754486084, 0.07715122401714325, -0.5055325031280518, -0.5469043254852295, -0.1473643034696579, -0.7626999616622925, -0.3477770984172821, -0.8444061875343323, 0.5555795431137085, -0.256788045167923, -0.07227801531553268, 0.3014511466026306, 0.1231587827205658, 0.18071605265140533, 0.1835111528635025, -1.2224717140197754, 0.6115057468414307, 0.33004459738731384, 0.5818787813186646, -0.44738438725471497, -0.2528083622455597, -0.2514900863170624, 0.01721482165157795, -0.15562745928764343, 0.6284853219985962, -0.488765150308609, -0.3098237216472626, -0.009331243112683296, 0.25264614820480347, -0.24197261035442352, -0.7251780033111572, 0.4637416899204254, -0.48591288924217224, 0.2578302323818207, 0.10580519586801529, -0.4388691782951355, -0.40911006927490234, 0.2698189318180084, -0.7682583332061768, 0.9681885242462158, 0.4051368236541748, -0.7274219989776611, 0.2772178053855896, -0.6648902297019958, -0.5752786993980408, -0.11120490729808807, 0.27788570523262024, -0.3648849427700043, 0.0847153291106224, 0.5554599165916443, 0.6391377449035645, -0.12647412717342377, 0.1440788209438324, 0.18864575028419495, -0.2574724853038788, -0.08955815434455872, -0.3278503119945526, 0.49294355511665344, 0.29191169142723083, -0.568768322467804, 0.12169370800256729, -0.8397504687309265, -0.46230241656303406, -0.04681389033794403, -0.19796067476272583, -0.2883278727531433, -0.22084227204322815, -0.12228690832853317, 0.22833015024662018, 0.0864061787724495, -0.24522851407527924, 0.11164266616106033, -0.6733928322792053, 0.27327755093574524, 0.38243743777275085, 0.09211764484643936, 0.8494812250137329, -0.4826042056083679, 0.19781708717346191, 0.3681095242500305, 0.1751103699207306, -0.2282247543334961, 0.016857774928212166, -1.351065993309021, 0.08080081641674042, 0.3820308446884155, 0.6362386345863342, -0.8755407929420471, 0.9502635598182678, -0.22995436191558838, -0.43438249826431274, -0.5872986912727356, 0.14161688089370728, 0.006548760458827019, 0.8198854327201843, 0.964593231678009, -0.2888781428337097, -0.6980909109115601, -0.7693434357643127, 0.012536738999187946, 0.27325439453125, -0.23330020904541016, -0.014867272228002548, 0.43242087960243225, -0.4904271364212036, 0.7592484354972839, -0.6095622777938843, -0.6491667032241821, -0.2435244619846344, 0.49875408411026, 0.25847136974334717, 0.863572895526886, 0.422482430934906, -0.8514920473098755, -0.48777467012405396, 0.1339908391237259, -0.4487806260585785, -0.14492781460285187, -0.08281080424785614, 0.13117392361164093, 0.008418885059654713, 0.695353090763092, -0.06625943630933762, 0.225870743393898, 0.6565934419631958, -0.11875211447477341, 0.040455322712659836, -0.2669373154640198, 0.230056032538414, -1.1710551977157593, -0.17454956471920013, 0.08437523245811462, -0.1766337752342224, -0.9756354093551636, -0.08137726783752441, 0.010915346443653107, 0.10361456125974655, -0.2593073546886444, 0.4101676046848297, -0.3465137183666229, 0.3078227937221527, -0.812781035900116, -0.06931746006011963, 0.10815373808145523, 0.5559436678886414, 0.11896590143442154, 0.41460803151130676, 0.6884045600891113, -0.8346681594848633, 0.18687355518341064, 0.4367418885231018, 0.05863639712333679, 0.6010188460350037, -0.5385231971740723, 0.11950671672821045, -0.36046016216278076, 0.18381020426750183, -1.097792625427246, 0.11708533018827438, 0.24944430589675903, -0.1414380520582199, 0.46471142768859863, -0.186947301030159, -0.1790691763162613, -0.24571286141872406, 0.005902657750993967, 0.40911972522735596, 0.6745253205299377, -0.7762110233306885, 0.8868511319160461, 0.12681131064891815, -0.174108624458313, -0.40702420473098755, -0.6450335383415222, -0.20757907629013062, -0.33666685223579407, -0.14697661995887756, 0.7900739908218384, 0.020265264436602592, 0.12109135091304779, 0.030729446560144424, -0.08035723119974136, -0.20225894451141357, 0.19403086602687836, 0.12917056679725647, 0.37780219316482544, 0.022743837907910347, -0.1859503537416458, 0.12494447082281113, -0.2653472423553467, -0.14114858210086823, -0.16896194219589233, 0.5899685621261597, 0.0004328357463236898, -0.13655568659305573, -0.36249542236328125, 0.07402467727661133, 0.2516130805015564, -0.1373925358057022, 0.6091626286506653, 0.8593162894248962, -0.43394914269447327, -0.30962347984313965, -0.5899088382720947, -0.46967554092407227, -0.5149220824241638, 0.17712977528572083, -0.19738495349884033, -0.9448621273040771, 0.29846441745758057, -0.19458939135074615, 0.18413923680782318, 0.5979422926902771, 0.5209992527961731, -0.0010588724398985505, 0.8982470035552979, 0.932916522026062, -0.2249976545572281, 0.5988004803657532, -0.4056795537471771, 0.22815844416618347, -0.796754777431488, -0.14838828146457672, -0.6215606331825256, -0.4968748688697815, -0.5546888113021851, -0.4902576804161072, 0.08436396718025208, 0.2249080240726471, -0.12366000562906265, 0.5579365491867065, -0.6577290296554565, 0.4524477422237396, 0.3279323875904083, 0.26188525557518005, 0.2655544579029083, 0.10097920149564743, 0.14778868854045868, 0.03910597413778305, -0.5301329493522644, -0.13322466611862183, 0.9305173754692078, 0.19521789252758026, 0.5902596116065979, -0.1936986744403839, 0.5301605463027954, 0.34614408016204834, 0.3727639317512512, -0.7191265225410461, 0.15149323642253876, -0.748826801776886, -0.08132022619247437, -0.30211302638053894, -0.21821939945220947, -1.1862843036651611, 0.4719649851322174, -0.4635114371776581, -0.27446672320365906, 0.6433894038200378, 0.2437109798192978, -0.2406609058380127, 0.1754787564277649, -0.5564653277397156, 0.6260194182395935, 0.1046113446354866, 0.006986929569393396, -0.23259450495243073, -0.7475517392158508, 0.16952316462993622, -0.08032020926475525, 0.2070237547159195, 0.10348064452409744, 0.23640404641628265, 0.6150805354118347, -0.03779253736138344, 1.1081207990646362, -0.19668562710285187, -0.18261246383190155, -0.02435772493481636, 0.018591614440083504, 0.5781112909317017, -0.44924163818359375, -0.0509612001478672, -0.03738061338663101, -0.2096027135848999, -0.2835288345813751, -0.7356407046318054, 0.49112218618392944, -0.7035289406776428, -0.23823422193527222, -0.023707138374447823, -0.5971723198890686, -0.33376896381378174, 0.10708047449588776, 0.2458880990743637, 0.3728753328323364, -0.07658162713050842, 0.23919567465782166, 0.6010333299636841, 0.12579551339149475, 0.41573265194892883, 0.5052456259727478, 0.18869847059249878, -0.35325175523757935, 0.8878306150436401, -0.29337140917778015, 0.2627861201763153, 0.5498568415641785, 0.109601691365242, -0.17919723689556122, -0.8620849251747131, 0.07687954604625702, 0.14755649864673615, -0.8805115818977356, -0.25672537088394165, -0.7324484586715698, -0.3149537146091461, -0.4201015532016754, -0.4011058807373047, -0.3079904615879059, -0.12831954658031464, -0.6637182831764221, -0.012326535768806934, 0.03828410431742668, 0.616906464099884, 0.013645702041685581, 0.7160963416099548, -0.8714073300361633, 0.7509631514549255, 0.4175431728363037, 0.31875699758529663, -0.11985307186841965, -0.9831990003585815, -0.20043842494487762, -0.004562218673527241, -0.1952628344297409, -0.5442259311676025, 0.6211889386177063, 0.1473744809627533, 0.544264018535614, 0.07437717169523239, 0.1820218563079834, 0.4652695953845978, -0.3619135916233063, 0.5782051086425781, 0.3812819719314575, -0.9281741380691528, 0.5575880408287048, -0.012746977619826794, 0.2175138145685196, 0.8213186860084534, 0.375349760055542, -0.3645871579647064, -0.22219699621200562, -0.5836986899375916, -0.8571909070014954, 0.6243849396705627, 0.22903110086917877, 0.1520487666130066, 0.055393654853105545, 0.40716296434402466, 0.2592095732688904, 0.033537719398736954, -0.8051574230194092, -0.47491732239723206, -0.45118317008018494, -0.46102479100227356, -0.2622602581977844, -0.1625751554965973, -0.009009088389575481, -0.38927367329597473, 0.6256628036499023, -0.28794512152671814, -0.0657677873969078, 0.1127956435084343, -0.4005942940711975, -0.013533570803701878, 0.44595253467559814, 0.29057130217552185, 0.29844343662261963, -0.16222380101680756, 0.2502051889896393, 0.4735746383666992, -0.41980236768722534, 0.1816934496164322, 0.31392160058021545, -0.13258123397827148, -0.0562174990773201, 0.09147360175848007, 1.0455248355865479, 0.3252662420272827, -0.09017110615968704, 0.4405246675014496, -0.0073931519873440266, -0.512826681137085, 0.11328255385160446, 0.22656181454658508, -0.29794397950172424, 0.2340884953737259, 0.2590230107307434, 0.38013508915901184, 0.4337426722049713, -0.12012991309165955, 0.24349190294742584, 0.18694855272769928, -0.5958573222160339, -0.2764209508895874, 0.5164200663566589, 0.4639987349510193, -0.09650105237960815, 0.3793901205062866, 0.08414337038993835, -0.4722193479537964, 0.46211057901382446, 0.6866798400878906, 0.9281399250030518, -0.5362849235534668, 0.09245021641254425, 0.5345215201377869, 0.3963029682636261, -0.3002645969390869, -0.09401578456163406, 0.06673417240381241, -0.9948919415473938, -0.5758363008499146, -0.6616464257240295, -0.36195436120033264, 0.3376174569129944, -0.8022549748420715, 0.4368959069252014, -0.09828117489814758, 0.2020454704761505, 0.016564441844820976, -0.16184420883655548, -0.8428170680999756, 0.6348339915275574, 0.11198775470256805, 0.5274927616119385, -1.2211947441101074, 0.7331850528717041, 0.4476337432861328, -0.03441016748547554, -0.600062906742096, -0.03365403786301613, -0.5138275623321533, -0.4981823265552521, 0.6179033517837524, 0.05548720434308052, -0.10332434624433517, 0.3802478611469269, -0.29264089465141296, -0.7351395487785339, 0.8791888356208801, 0.08650702238082886, -0.7393818497657776, 0.00031225461862049997, 0.14412091672420502, 0.5878862738609314, -0.4812014400959015, 0.09268070757389069, 0.8970013856887817, 0.3882465958595276, 0.24503417313098907, -0.8086236715316772, 0.004722184967249632, -0.20985047519207, 0.03076985850930214, 0.16729922592639923, -0.1496250331401825, 0.74481201171875, 0.09130612760782242, -0.1458638310432434, -0.25180783867836, 0.6564422845840454, -0.13868160545825958, -0.13670866191387177, 1.0192406177520752, 0.4679976999759674, 0.5309791564941406, -0.012797975912690163, 0.7759280204772949, -0.36414453387260437, 0.42495760321617126, 1.1590690612792969, -0.14593461155891418, 0.5740357041358948, 0.3630656898021698, -0.15358522534370422, 0.5090590715408325, 0.23418766260147095, -0.43633484840393066, 0.6739879250526428, 0.032536644488573074, -0.09644710272550583, -0.1017267107963562, -0.03176179155707359, -0.19166740775108337, 0.4341065585613251, 0.35940539836883545, -0.41129305958747864, -0.4596736431121826, 0.3680279850959778, -0.38678330183029175, 0.19508600234985352, -0.36686673760414124, 0.9927822351455688, -0.07499590516090393, -0.715640127658844, 0.7345802783966064, 0.04767902195453644, 0.9683950543403625, -0.19070647656917572, -0.24373622238636017, -0.22496244311332703, 0.21924254298210144, -0.34994664788246155, -0.5883960127830505, 0.5157668590545654, -0.3148559629917145, -0.3269023597240448, -0.2977110743522644, 0.7945939898490906, -0.6062156558036804, -0.3699275255203247, 0.26985499262809753, 0.2821638286113739, -0.16991381347179413, 0.01801207661628723, -0.6467661261558533, -0.24016425013542175, 0.12125103175640106, 0.02637004479765892, 0.21779108047485352, 0.19648392498493195, 0.20166665315628052, 0.3868355453014374, 0.5834278464317322, -0.029069365933537483, -0.01918386109173298, 0.4285259246826172, 0.9678975343704224, -0.5274585485458374, -0.42063629627227783, -0.7255051136016846, 0.4949392080307007, 0.08428869396448135, 0.04754072055220604, 0.4077920615673065, 0.3265347182750702, 0.781312882900238, -0.2554846405982971, 0.8062562942504883, 0.035742033272981644, 0.6834448575973511, -0.6347090005874634, 0.14420266449451447, -0.3476397395133972, 0.33942747116088867, -0.11338938772678375, -1.0089858770370483, -0.5569012761116028, 0.4973842203617096, -0.08530881255865097, 0.06459113210439682, 0.7745445966720581, 0.6707846522331238, -0.20873546600341797, 0.08305423706769943, 0.315287709236145, 0.19937558472156525, 0.18537282943725586, 0.33818086981773376, 0.7251428961753845, -0.6342412829399109, 0.5041690468788147, -0.7812538146972656, -0.1725034862756729, -0.18763698637485504, -0.8058462738990784, -1.0944451093673706, -0.6014387011528015, -0.5054708123207092, -0.07575853914022446, -0.17205524444580078, 0.6424583196640015, 0.6202834248542786, -1.0526933670043945, -0.0789661556482315, -0.40062665939331055, -0.19067580997943878, -0.3393803536891937, -0.2497110366821289, 0.3832385838031769, -0.7094793915748596, -1.003056287765503, 0.41837403178215027, -0.08702149242162704, 0.41459330916404724, 0.12197617441415787, 0.25788867473602295, 0.045167285948991776, -0.21555690467357635, 0.6288702487945557, -0.026408547535538673, -0.47968658804893494, -0.184867262840271, -0.15833716094493866, 0.036349933594465256, 0.2768602967262268, 0.7953348159790039, -0.8669462203979492, 0.23798881471157074, 0.40158510208129883, 0.6718231439590454, 0.6224913001060486, 0.25446510314941406, 0.5842301249504089, -0.783906102180481, 0.04338362440466881, 0.15337757766246796, 0.38393327593803406, 0.5221889615058899, -0.3955874443054199, 0.559074342250824, -0.009957957081496716, -0.5266572833061218, -0.43727773427963257, 0.1563437432050705, -1.0291152000427246, -0.43629321455955505, 0.9710357785224915, 0.22340266406536102, 0.15284404158592224, -0.47012820839881897, -0.2563208043575287, 0.5203713178634644, 0.007254511117935181, 0.8362499475479126, 0.4393235146999359, -0.04097466915845871, -0.29622790217399597, -0.17513157427310944, 0.5571614503860474, 0.575361430644989, -0.969882071018219, 0.17870771884918213, 0.3698135018348694, 0.31664302945137024, 0.2488105446100235, 0.18756937980651855, 0.10167393088340759, -0.009397424757480621, -0.2622098922729492, 0.2183241993188858, 0.1027492880821228, -0.3011251389980316, -0.9137129187583923, 0.23377206921577454, -0.07789865136146545, -0.2404639571905136 ]
http://arxiv.org/abs/2405.14431v1
http://arxiv.org/pdf/2405.14431v1
RaFe: Ranking Feedback Improves Query Rewriting for RAG
2024-05-23T11:00:19
2024-05-23T11:00:19
Shengyu Mao, Yong Jiang, Boli Chen, Xiao Li, Peng Wang, Xinyu Wang, Pengjun Xie, Fei Huang, Huajun Chen, Ningyu Zhang
cs.CL
cs.CL, cs.AI, cs.IR
As Large Language Models (LLMs) and Retrieval Augmentation Generation (RAG) techniques have evolved, query rewriting has been widely incorporated into the RAG system for downstream tasks like open-domain QA. Many works have attempted to utilize small models with reinforcement learning rather than costly LLMs to improve query rewriting. However, current methods require annotations (e.g., labeled relevant documents or downstream answers) or predesigned rewards for feedback, which lack generalization, and fail to utilize signals tailored for query rewriting. In this paper, we propose ours, a framework for training query rewriting models free of annotations. By leveraging a publicly available reranker, ours~provides feedback aligned well with the rewriting objectives. Experimental results demonstrate that ours~can obtain better performance than baselines.
[ -0.15431398153305054, -0.3501136898994446, 0.4545367658138275, 0.11971791833639145, -0.17547690868377686, -0.028125165030360222, -0.17761282622814178, -0.1966496855020523, 0.6453274488449097, 0.8935340046882629, -0.6370834112167358, -0.5417361855506897, -0.3228955864906311, 0.11771111190319061, -0.23507800698280334, 1.6091772317886353, 0.252349853515625, 0.12464367598295212, -0.4362884759902954, -0.21886514127254486, -0.2710922658443451, -0.5564842224121094, -1.0808110237121582, -0.15348605811595917, 1.1843317747116089, 0.29198986291885376, 0.5313692092895508, 0.2297924906015396, 0.4670138657093048, 0.3362802267074585, 0.027078907936811447, 0.5945355296134949, -0.8931912779808044, 0.6962217092514038, -0.4622124135494232, -0.8807287812232971, -0.5634434819221497, 0.2558973431587219, 0.7278969287872314, 0.710286021232605, -0.30280083417892456, 0.3776244819164276, -0.043817102909088135, 1.0152783393859863, -0.7275309562683105, -0.045186590403318405, -0.8435442447662354, -0.2557973861694336, 0.03612861782312393, -0.4427439570426941, -0.7660559415817261, -0.8073123693466187, -0.03730680048465729, -0.8729064464569092, 0.47650885581970215, 0.5136985182762146, 0.7917292714118958, 0.6784232258796692, -0.3551819622516632, -0.2046569287776947, -0.5959287881851196, 0.6694965362548828, -0.4070090055465698, 0.47263050079345703, 0.503989577293396, 0.6333274841308594, -0.3912292718887329, -0.8687999844551086, -0.10771100223064423, -0.5898051261901855, -0.19753515720367432, 0.20506176352500916, 0.21954040229320526, -0.03967874124646187, 0.13948200643062592, 0.435176283121109, -0.1205768808722496, -0.05369299650192261, -0.41022664308547974, 0.10908640176057816, 0.785484254360199, 0.13481199741363525, -0.2870756983757019, 0.023045634850859642, -0.18067969381809235, 0.06802592426538467, -0.7488952875137329, 0.1841515451669693, 0.18157139420509338, 0.3122497498989105, 0.5075451135635376, 0.40128836035728455, -0.4715978801250458, 0.7113779783248901, 0.17019888758659363, 0.13778088986873627, 0.05468546226620674, 0.0035584219731390476, -0.10074571520090103, -0.4304646849632263, 0.192633718252182, 0.3568766415119171, 0.12373025715351105, -0.6130263209342957, -0.45089712738990784, -0.4602349102497101, 0.7773233652114868, -0.8478949666023254, -0.1628943681716919, 0.03072374500334263, -0.4743998348712921, -0.5495455265045166, 0.11925514042377472, -0.412801593542099, -0.5401396155357361, -0.3416580557823181, 0.4256703853607178, -0.06496872007846832, -0.054074570536613464, -0.24601370096206665, -0.28487518429756165, 0.2889525592327118, 0.6453579664230347, -0.8503544330596924, 0.299014151096344, 0.9090288877487183, 0.42816397547721863, -0.09266576915979385, -0.18037576973438263, -1.1084086894989014, 0.22924457490444183, -0.4800053834915161, 1.0633885860443115, -0.7611264586448669, -0.3527238667011261, -0.11248482018709183, 0.2784971296787262, -0.13702312111854553, -0.6609506011009216, 0.5749351382255554, -1.041141390800476, 0.2636725604534149, -0.16756343841552734, -0.691135048866272, -0.057162169367074966, 0.3275592029094696, -0.6663113832473755, 0.9717947840690613, 0.21635757386684418, -0.611536979675293, 0.46144092082977295, -0.4002978205680847, -0.07444571703672409, 0.10979855805635452, 0.04685655236244202, -0.5145654678344727, 0.4789265990257263, 0.4382641315460205, -0.03038298338651657, -0.2018907070159912, 0.024497555568814278, -0.13330943882465363, -0.5774591565132141, 0.13330155611038208, -0.013924150727689266, 0.25219905376434326, 0.06709706038236618, -0.12981128692626953, 0.6398517489433289, -0.5878723859786987, 0.3473598062992096, -0.0746234580874443, -0.6946334838867188, -0.39230242371559143, -0.07932358980178833, -0.22132563591003418, -0.24075312912464142, -0.09583763778209686, -0.4027881622314453, 0.5192743539810181, -0.6398609280586243, 0.04473895952105522, 0.709872841835022, 0.3420664668083191, 0.5625950694084167, -0.6289568543434143, 0.8358768820762634, -0.5063201189041138, 0.040468327701091766, 0.16923744976520538, -0.4979960322380066, -0.9255026578903198, -0.23204416036605835, 0.7369226217269897, 0.1851527988910675, -0.8442661166191101, -0.27580589056015015, -0.3807741403579712, -0.5468779802322388, -0.971216082572937, 0.16324833035469055, 0.5986813902854919, 0.14807572960853577, 0.3516409993171692, -0.2633342742919922, -0.44219401478767395, -0.6374823451042175, -0.47129616141319275, -0.1593656986951828, -0.19060924649238586, 0.43801790475845337, 0.14668460190296173, -0.07436253130435944, 0.726901650428772, -0.5573181509971619, -0.48774951696395874, -0.3059285283088684, 0.15654180943965912, 0.023438194766640663, 0.2811996638774872, 0.2039065957069397, -0.6393983960151672, -0.31880414485931396, -0.35804328322410583, -0.30252107977867126, -0.23180989921092987, 0.1264534294605255, -0.49005988240242004, 0.31777411699295044, 0.6772707104682922, -0.11651189625263214, 0.36079856753349304, 0.26757845282554626, -0.021161004900932312, 0.3396534025669098, -0.17249563336372375, 0.33042284846305847, -0.8799740076065063, -0.07764765620231628, -0.22469112277030945, -0.4201257526874542, -0.09899545460939407, 0.2772822678089142, 0.0021229705307632685, -0.14295558631420135, -0.21298450231552124, 0.5261319279670715, -0.37944817543029785, -0.11690761148929596, -0.5530194044113159, 0.1674223393201828, 0.10459709912538528, 0.703441321849823, 0.07886171340942383, 0.7902258038520813, -0.25039517879486084, -0.6175298690795898, 0.17980515956878662, 0.2689746916294098, 0.06324502825737, 0.6635411977767944, -0.7060779333114624, 0.2254423350095749, -0.3319337069988251, 0.6529761552810669, -0.8370888829231262, -0.39786776900291443, 0.03376751393079758, -0.6813945174217224, 0.3520335555076599, -0.6885599493980408, -0.03528854250907898, -0.12136533111333847, -0.6964788436889648, 0.16863778233528137, 0.39657989144325256, -0.6852049231529236, 0.3324234187602997, 0.3304794728755951, -0.011919485405087471, -0.55089271068573, -0.24177351593971252, -0.1893065720796585, 0.08313977718353271, -0.4391915798187256, 0.37643054127693176, 0.12655578553676605, 0.11407613754272461, 0.04911264777183533, 0.0020583432633429766, -0.23527708649635315, 0.08884476125240326, 0.4348967373371124, -0.10028217732906342, -0.16613472998142242, 0.49441617727279663, 0.0014604106545448303, -0.29862409830093384, 0.061279717832803726, -0.4725624620914459, 0.13755327463150024, 0.051510877907276154, -0.38108938932418823, -0.3068046569824219, 0.1903804987668991, 0.4550299346446991, -0.6499503254890442, 0.7668259739875793, 0.5270704627037048, 0.06476957350969315, -0.6717561483383179, -0.4689789116382599, -0.36709725856781006, -0.43226125836372375, 0.18623122572898865, -0.15124556422233582, -1.2184474468231201, 0.07727519422769547, -0.24213415384292603, 0.17268206179141998, 0.35683444142341614, 0.5319086313247681, -0.04497265815734863, 0.969913899898529, 0.8203865885734558, 0.02195727825164795, 0.4626736342906952, -0.19856685400009155, 0.07465542107820511, -0.9957268834114075, -0.22715672850608826, -0.6672472953796387, -0.4198925793170929, -0.7719583511352539, -0.46273311972618103, 0.39246314764022827, 0.17155370116233826, -0.2117544561624527, -0.16671155393123627, -0.7202825546264648, 0.6016746759414673, 0.9003960490226746, 0.08374056965112686, 0.20920205116271973, 0.01660289615392685, -0.05401544272899628, -0.19046345353126526, -0.5862024426460266, -0.2532600164413452, 1.3378022909164429, 0.11229836195707321, 0.8534085750579834, 0.2771831154823303, 0.9389322400093079, 0.1185503676533699, 0.9403737783432007, -0.5830029249191284, 0.25708773732185364, -0.06947504729032516, -0.6389341950416565, -0.334334135055542, -0.43379437923431396, -0.9743446707725525, 0.4441797733306885, -0.22427479922771454, -0.3434138894081116, -0.02132466807961464, 0.2943321764469147, -0.34468913078308105, 0.12514163553714752, -0.5446404814720154, 0.5114762187004089, 0.08473916351795197, -0.5962762236595154, -0.12187696248292923, -0.34602317214012146, 0.2471972107887268, 0.21387846767902374, -0.03685392439365387, 0.0221781674772501, -0.09655346721410751, 0.7025370001792908, -0.7331234216690063, 0.8250740766525269, -0.3979063928127289, 0.11017709970474243, 0.21243785321712494, -0.12005547434091568, 0.47275564074516296, 0.41200706362724304, -0.23226159811019897, -0.7065852880477905, -0.1730756163597107, -0.31351417303085327, -0.8785600066184998, 0.701583206653595, -0.4850628972053528, -0.8396114706993103, -0.2559979557991028, -0.3890240490436554, -0.5682684779167175, -0.02935715951025486, 0.07305633276700974, 0.3244801163673401, 0.13618740439414978, 0.35642391443252563, 0.6245050430297852, -0.05905265361070633, -0.1624419391155243, 0.7399119734764099, -0.6991235613822937, -0.7353971600532532, 0.9252998232841492, -0.05988014489412308, 0.0075820619240403175, 0.3890584409236908, -0.08345457911491394, -0.3367035686969757, -0.5182453393936157, -0.3754342794418335, 0.4645758271217346, -0.5433838367462158, -0.4156486690044403, -0.44934508204460144, -0.2887403666973114, -0.5621560215950012, -0.08394094556570053, -0.27522480487823486, -0.7158290147781372, 0.30332151055336, -0.13514089584350586, 0.495575487613678, 0.9441030025482178, 0.11366124451160431, 0.1816132664680481, -0.6883568167686462, 0.2171388417482376, 0.462306410074234, 0.6835286021232605, 0.2393423616886139, -0.5757153034210205, -0.3799503445625305, -0.16537222266197205, -0.35259878635406494, -0.6050227284431458, 0.24786275625228882, 0.2828516662120819, 0.6710364818572998, -0.104972705245018, 0.3130352199077606, 0.4254218637943268, -0.533247172832489, 0.6819331049919128, -0.5115426182746887, -0.42604848742485046, 0.6605841517448425, -0.26013731956481934, 0.12357152253389359, 0.8629887104034424, 0.5306657552719116, -0.42471590638160706, -0.6670231223106384, -0.41463884711265564, -0.8869777321815491, 0.5820725560188293, 0.07556561380624771, -0.10314133018255234, -0.08958318829536438, 0.7359958291053772, -0.05263936147093773, 0.47215837240219116, -0.5178151726722717, -0.020530283451080322, 0.028764909133315086, 0.07711787521839142, 0.06591906398534775, -0.5956394076347351, -0.0434098057448864, -0.32986071705818176, 0.9338592886924744, -0.03078046813607216, 0.15048770606517792, 0.22793127596378326, -0.14141342043876648, -0.18521031737327576, 0.21326890587806702, 0.38191652297973633, 0.46679261326789856, -0.4418874979019165, -0.269924521446228, 0.0689810961484909, -0.16759143769741058, 0.06128322333097458, -0.10530120134353638, -0.27382153272628784, 0.08555537462234497, 0.1890716701745987, 0.47369495034217834, 0.5130809545516968, -0.21605753898620605, 0.40338054299354553, -0.3263266980648041, -0.29116585850715637, -0.1736305207014084, 0.29411208629608154, 0.1861308366060257, 0.2416275143623352, 0.15959198772907257, -0.3131820857524872, 0.18568868935108185, -0.06443411111831665, 0.34910064935684204, 0.3314156234264374, -0.6189282536506653, 0.0225419532507658, 0.9302787780761719, 0.44050270318984985, -0.305229514837265, 0.6609264016151428, -0.2988337278366089, -0.48410600423812866, 0.17603667080402374, 0.4340485632419586, 0.7121431231498718, -0.25216418504714966, 0.35655996203422546, 0.4629892110824585, 0.2418576180934906, 0.02113637700676918, 0.1110059842467308, -0.23083336651325226, -0.11056193709373474, -0.5310314297676086, -0.9707151055335999, -0.8127071261405945, -0.16357259452342987, -0.7777028679847717, 0.06620485335588455, -0.5823523998260498, -0.09826919436454773, 0.05784986913204193, 0.0936490073800087, -0.33338361978530884, 0.32892775535583496, -0.3340475261211395, 0.7860506772994995, -0.25837406516075134, 0.6676318049430847, 0.962560772895813, -0.9994631409645081, -0.9298511147499084, -0.004704730119556189, -0.22871173918247223, -0.574836254119873, 0.8196972608566284, 0.2749985158443451, -0.3846885859966278, 0.09735564887523651, -0.5591105818748474, -0.8397504091262817, 0.9139418005943298, 0.3343469798564911, -0.056366678327322006, -0.13176585733890533, -0.12510377168655396, 0.7142374515533447, -0.4381811320781708, 0.4315165877342224, 0.18559299409389496, 0.18028777837753296, 0.09415572881698608, -0.8425402641296387, -0.13651292026042938, -0.33732786774635315, 0.1376989632844925, 0.3317505419254303, -0.5904936194419861, 0.502092182636261, -0.12244387716054916, 0.11499984562397003, 0.268905371427536, 0.840351402759552, 0.14740151166915894, 0.42483440041542053, 0.35736340284347534, 0.7933162450790405, 0.7356671094894409, 0.0234628114849329, 1.378892421722412, -0.003291636472567916, 0.2383081167936325, 1.4614746570587158, -0.17313994467258453, 1.2085448503494263, 0.15152966976165771, -0.0626167356967926, 0.6687174439430237, 0.47784993052482605, 0.2844478487968445, 0.5652663111686707, 0.7069938778877258, -0.09557772427797318, -0.3629000186920166, -0.3267120122909546, -0.3772365152835846, 0.4001212418079376, 0.09387005865573883, -0.42891639471054077, -0.3246798515319824, -0.2035679668188095, -0.055249910801649094, 0.3316940665245056, -0.4442219138145447, 0.9376921057701111, 0.005464671645313501, -1.0238473415374756, 0.7948603630065918, 0.08179551362991333, 0.6052924990653992, -0.4649631977081299, -0.23998183012008667, -0.6170837879180908, 0.28772473335266113, -0.3992786705493927, -0.2590041160583496, 0.4090343415737152, -0.022111017256975174, -0.4616207778453827, -0.1405937820672989, 0.4554908573627472, -0.3545822203159332, -0.2836286127567291, 0.11841079592704773, 0.28451424837112427, 0.24701979756355286, -0.3835887908935547, -0.45105358958244324, -0.23010188341140747, 0.0857103168964386, -0.36054137349128723, 0.4155717194080353, 0.4284394681453705, -0.3332887887954712, 0.6710024476051331, 0.769209623336792, -0.08158459514379501, 0.14608234167099, 0.418727308511734, 1.0098779201507568, -0.6143426895141602, -0.5101786851882935, -0.026534628123044968, 0.3439244329929352, -0.3437345623970032, -0.18941305577754974, 0.8422475457191467, 0.4237413704395294, 0.955878496170044, 0.029392065480351448, 0.44384825229644775, 0.4997972846031189, 1.1880606412887573, -0.3207184970378876, 0.9413056969642639, -0.7981225848197937, 0.40576285123825073, 0.14225035905838013, -1.08528470993042, -0.35496407747268677, 0.2997203767299652, -0.5960875749588013, 0.15466561913490295, 0.4827197194099426, 0.9538724422454834, 0.21032537519931793, -0.025193754583597183, 0.17063239216804504, -0.051572784781455994, 0.3720966577529907, 0.2652103006839752, 0.7755909562110901, -0.172836571931839, 0.5394838452339172, -0.053322382271289825, -0.22474417090415955, -0.44060027599334717, -0.48267728090286255, -0.8240551948547363, -0.36017751693725586, -0.2706603705883026, -0.558673620223999, 0.47197842597961426, 0.7952651381492615, 0.6699122786521912, -0.8224436640739441, 0.005396466236561537, 0.21363332867622375, 0.31346073746681213, -0.09920952469110489, -0.18789458274841309, 0.3498297333717346, -1.0094341039657593, -0.5787330269813538, 0.4202252924442291, 0.21163377165794373, -0.5262377262115479, -0.028138574212789536, -0.11350730806589127, -0.17934337258338928, 0.1572839617729187, 0.346970796585083, 0.23949667811393738, -0.665596067905426, -0.19672392308712006, -0.04046659916639328, -0.1168937236070633, -0.12441986799240112, 0.9018147587776184, -1.0686631202697754, 0.36995023488998413, 0.40479469299316406, 1.0238229036331177, 0.406154066324234, 0.3226974904537201, 0.6585074067115784, -0.9436051845550537, -0.11791396886110306, 0.32589486241340637, 0.007981664501130581, 0.3250773251056671, -0.21835605800151825, 0.8519736528396606, 0.050093598663806915, -0.9535227417945862, -0.7609810829162598, 0.25964856147766113, -0.5995121598243713, -0.07318665087223053, 1.0328543186187744, -0.18574413657188416, -0.40805870294570923, 0.06526613235473633, -0.3233214318752289, 0.042956214398145676, -0.313848078250885, 0.7359936833381653, 0.20369018614292145, -0.040859658271074295, -0.003244098275899887, -0.4234738349914551, 0.7902557849884033, 0.6162838339805603, -0.6369035840034485, 0.03448694944381714, 0.6138860583305359, 0.30941474437713623, -0.0662086084485054, 0.9250997304916382, -0.12241913378238678, 0.478314071893692, -0.1988099217414856, -0.1996384561061859, -0.3130228519439697, -0.3298383951187134, -0.2339240163564682, 0.3834778070449829, 0.6323099136352539, -0.21196213364601135 ]
http://arxiv.org/abs/2405.14428v1
http://arxiv.org/pdf/2405.14428v1
Mitigating Quantization Errors Due to Activation Spikes in GLU-Based LLMs
2024-05-23T10:54:14
2024-05-23T10:54:14
Jaewoo Yang, Hayun Kim, Younghoon Kim
cs.CL
cs.CL, cs.LG
Modern large language models (LLMs) have established state-of-the-art performance through architectural improvements, but still require significant computational cost for inference. In an effort to reduce the inference cost, post-training quantization (PTQ) has become a popular approach, quantizing weights and activations to lower precision, such as INT8. In this paper, we reveal the challenges of activation quantization in GLU variants, which are widely used in feed-forward network (FFN) of modern LLMs, such as LLaMA family. The problem is that severe local quantization errors, caused by excessive magnitudes of activation in GLU variants, significantly degrade the performance of the quantized LLM. We denote these activations as activation spikes. Our further observations provide a systematic pattern of activation spikes: 1) The activation spikes occur in the FFN of specific layers, particularly in the early and late layers, 2) The activation spikes are dedicated to a couple of tokens, rather than being shared across a sequence. Based on our observations, we propose two empirical methods, Quantization-free Module (QFeM) and Quantization-free Prefix (QFeP), to isolate the activation spikes during quantization. Our extensive experiments validate the effectiveness of the proposed methods for the activation quantization, especially with coarse-grained scheme, of latest LLMs with GLU variants, including LLaMA-2/3, Mistral, Mixtral, SOLAR, and Gemma. In particular, our methods enhance the current alleviation techniques (e.g., SmoothQuant) that fail to control the activation spikes. Code is available at https://github.com/onnoo/activation-spikes.
[ 0.10924148559570312, -0.7855529189109802, 0.2568702697753906, 0.5025362372398376, -0.2752196192741394, 0.2142956554889679, 0.03465842828154564, -0.3803502917289734, 0.15197902917861938, 0.2464730441570282, -0.18846796452999115, -0.3927467167377472, -0.6489880084991455, 0.02577814646065235, -0.3276117444038391, 0.5493276119232178, -0.39267289638519287, 0.08121003210544586, -0.308619886636734, -0.2584879696369171, 0.024353312328457832, -0.7115278244018555, -1.0188705921173096, -0.4873056411743164, 0.512937605381012, -0.12320584058761597, 0.5351462364196777, 0.5633684396743774, 0.2688468396663666, 0.1924644410610199, -0.47519397735595703, 0.12569813430309296, -0.5143038034439087, 0.026881814002990723, 0.5583310723304749, -0.6227715611457825, -0.6812579035758972, -0.32280927896499634, 0.875328004360199, 0.5931897759437561, -0.08337919414043427, 0.0010050339624285698, 0.3047856390476227, 0.5743507146835327, -0.9478259682655334, 0.010063624940812588, -0.568848729133606, 0.2712828516960144, -0.19288593530654907, -0.46180686354637146, -0.4154851734638214, -0.2929447889328003, -0.326312780380249, -0.6179768443107605, 0.10805670917034149, -0.2599020004272461, 0.7763298749923706, 0.35017913579940796, -0.3715232014656067, 0.18716630339622498, -0.7484000325202942, 0.7902771830558777, -1.0037273168563843, 0.05726645514369011, 0.43330490589141846, -0.04087015986442566, -0.46476808190345764, -0.6528226733207703, -0.043550342321395874, -0.21684451401233673, -0.1590813547372818, -0.02590673789381981, -0.21421191096305847, 0.19244138896465302, 0.4964185059070587, 0.4294755160808563, -0.3819392919540405, 0.28824007511138916, 0.013911874033510685, -0.12755121290683746, 0.25460085272789, 0.19640538096427917, 0.016001058742403984, 0.1976768970489502, -0.5847201943397522, 0.19767975807189941, -1.3029396533966064, 0.4507386088371277, 0.6351413130760193, -0.1227593719959259, -0.12004150450229645, 0.37915855646133423, -0.4450524151325226, 0.3617542088031769, 0.23322522640228271, 0.23668015003204346, 0.4523506462574005, -0.36080992221832275, -0.4450766146183014, -0.021952319890260696, 0.9031074047088623, -0.1101546511054039, 0.1853099912405014, -0.17127421498298645, -0.37389394640922546, -0.10770945250988007, -0.03918424993753433, -0.9976515173912048, -0.03380934149026871, 0.6487837433815002, -0.15481199324131012, -0.484598845243454, -0.31855806708335876, -0.3994099497795105, -0.2869662642478943, 0.1506231129169464, 0.7806662917137146, -0.30459877848625183, -0.3626980185508728, 0.13649237155914307, 0.1346054971218109, 0.25775665044784546, 0.15701191127300262, -1.1322205066680908, 0.15660427510738373, 0.4420866072177887, 0.7966384887695312, 0.02301063947379589, -0.21399809420108795, -0.6960410475730896, 0.15413959324359894, -0.33497846126556396, 0.6488988995552063, -0.24505123496055603, -0.17981456220149994, 0.09460556507110596, -0.08768552541732788, -0.1319124549627304, -0.6608476638793945, 0.3546697795391083, -0.6185413002967834, -0.24572281539440155, -0.13075019419193268, -0.46131011843681335, -0.05220925062894821, 0.014120582491159439, -0.8595067262649536, 1.176055669784546, -0.020989345386624336, -0.7750344276428223, 0.20058003067970276, -0.45608240365982056, -0.3018164038658142, 0.16610990464687347, -0.09923931956291199, -0.5754473209381104, 0.3738565742969513, 0.37849822640419006, 0.34739574790000916, -0.060966067016124725, 0.2829053997993469, -0.14070773124694824, -0.7536965012550354, 0.18526096642017365, -0.48589587211608887, 0.7793644070625305, -0.2154262363910675, -0.6958172917366028, 0.4264468550682068, -0.8195335268974304, 0.1103372573852539, 0.23556943237781525, -0.31017908453941345, -0.1905294507741928, 0.22393208742141724, -0.40129730105400085, -0.08310157060623169, -0.032817840576171875, -0.033407967537641525, 0.24103522300720215, -0.52480149269104, 0.5608482956886292, 0.6502891778945923, 0.2519642412662506, 0.48881298303604126, -0.245253324508667, 0.6498283743858337, 0.5082796812057495, 0.2718436121940613, -0.2904827892780304, -0.6109957695007324, -0.6228963732719421, -0.37605273723602295, 0.31427326798439026, 0.4236229956150055, -0.8082462549209595, 0.4363894760608673, -0.24009403586387634, -0.25069954991340637, -0.49233075976371765, 0.25035861134529114, 0.305721253156662, 0.348795622587204, 0.2762887477874756, -0.13674961030483246, -0.11827021092176437, -0.6103373169898987, -0.13219811022281647, 0.18124084174633026, -0.16087323427200317, -0.07865161448717117, 0.2152988165616989, -0.17016933858394623, 1.0373867750167847, 0.028916241601109505, 0.08033077418804169, 0.15319636464118958, 0.3576357662677765, 0.1494947373867035, 0.5804515480995178, 0.323813259601593, -0.5962220430374146, -0.18063488602638245, -0.058384787291288376, -0.35014215111732483, -0.3542099893093109, -0.25409233570098877, -0.03737968951463699, 0.04153278097510338, 0.38285884261131287, -0.5931981801986694, 0.5821528434753418, 0.45195186138153076, 0.020744070410728455, 0.7538947463035583, 0.014108625240623951, 0.1260255128145218, -0.6278188228607178, 0.24117988348007202, 0.046105120331048965, -0.3535325825214386, -0.9371748566627502, -0.08118780702352524, 0.2670760452747345, 0.2581235468387604, -0.8380467891693115, 0.45544418692588806, -0.26703178882598877, -0.06676854938268661, -0.19138066470623016, -0.24695135653018951, 0.3014439344406128, 0.9448525905609131, -0.3688945472240448, 0.924142599105835, 0.5014535188674927, -0.4753818213939667, 0.2484818547964096, -0.10435032099485397, -0.3770458698272705, -0.047472771257162094, -0.772377610206604, -0.007312967907637358, -0.13799194991588593, 0.29499489068984985, -0.8696956634521484, 0.08566851913928986, 0.6510872840881348, -0.1367538720369339, 0.2495797723531723, -0.3902115821838379, -0.4910879135131836, 0.04055212065577507, -0.8151034116744995, 0.8750348091125488, 0.3237464725971222, -0.4989522695541382, 0.3285403847694397, -0.13248904049396515, 0.22330474853515625, -0.828654408454895, -0.356057733297348, -0.13886357843875885, -0.5337302088737488, -0.6092276573181152, 0.3120936155319214, -0.0693606361746788, -0.05749983713030815, -0.11874262988567352, -0.20622001588344574, 0.21215038001537323, 0.5101401805877686, 0.29020974040031433, -0.045845359563827515, -0.3585526943206787, -0.0007786899222992361, 0.20533229410648346, -0.18581785261631012, 0.1204264834523201, -0.28194960951805115, 0.7093079686164856, -0.05289345234632492, -0.3339889645576477, -0.2984797954559326, 0.33709588646888733, 0.4647350609302521, -0.3532838523387909, 0.640800416469574, 0.8128036856651306, -0.47867724299430847, -0.13902580738067627, -0.24613933265209198, -0.10390560328960419, -0.4961104094982147, 0.2038336843252182, -0.22525839507579803, -1.012869954109192, 0.8073707222938538, -0.34239518642425537, -0.17507386207580566, 0.19473187625408173, 0.7152760624885559, 0.02129155397415161, 0.9289969205856323, 0.1024952083826065, 0.048958081752061844, 0.5800957083702087, -0.4799763560295105, 0.23027484118938446, -1.1753454208374023, 0.12922179698944092, -0.19588766992092133, -0.46857622265815735, -0.1970985382795334, -0.49603983759880066, 0.3641960620880127, 0.6167701482772827, -0.0977165549993515, 0.10019851475954056, -0.1025160476565361, 0.43035247921943665, 0.3992929458618164, -0.04400942847132683, 0.2234584242105484, 0.4529768228530884, -0.12243333458900452, 0.25878626108169556, -0.6486846804618835, -0.18380112946033478, 1.0568327903747559, 0.4358573257923126, 0.6812755465507507, -0.13436606526374817, 0.5497824549674988, 0.31961122155189514, 0.1959831863641739, -0.885281503200531, 0.3396749198436737, 0.08268923312425613, -0.09647367149591446, -0.17813260853290558, -0.6354448199272156, -1.105840802192688, 0.34645071625709534, -0.19379755854606628, -0.9176673889160156, 0.37188634276390076, 0.35928094387054443, -0.5741234421730042, 0.29890531301498413, -0.6195558905601501, 0.8654894828796387, -0.1238899827003479, -0.505788266658783, -0.0659935474395752, -0.38639312982559204, 0.3695223033428192, -0.17480456829071045, 0.03678584471344948, -0.17721232771873474, -0.08952872455120087, 0.5438313484191895, -0.3474012017250061, 1.007731318473816, -0.03228989988565445, -0.5406873226165771, 0.4283168315887451, -0.1576375812292099, 1.0417938232421875, -0.018385836854577065, 0.07961132377386093, 0.3722095191478729, -0.33055543899536133, -0.5436035990715027, -0.5797353982925415, 0.6120911836624146, -0.7416061758995056, -0.573259174823761, 0.029843976721167564, -0.28329533338546753, -0.31052467226982117, -0.2585199177265167, 0.4920537769794464, 0.723147451877594, 0.26454609632492065, 0.03804294392466545, 0.41662800312042236, -0.038864195346832275, 0.5324147343635559, 0.013429864309728146, -0.23786745965480804, -0.675063967704773, 0.9238480925559998, 0.1386924684047699, 0.6274537444114685, 0.24002207815647125, 0.1599041074514389, -0.06335455179214478, -0.9202156066894531, -0.3675449788570404, 0.2015150636434555, -0.6539067029953003, -0.3206038773059845, -0.49172553420066833, -0.24355705082416534, -0.3424823582172394, 0.11488017439842224, -0.04175673797726631, -0.4500598907470703, -0.5566836595535278, -0.17996595799922943, 0.2968367636203766, 0.14569684863090515, 0.18136903643608093, 0.7912296652793884, -0.7930126786231995, 0.21312996745109558, 0.17292174696922302, 0.27557435631752014, 0.17674115300178528, -0.4646323323249817, -0.6559656858444214, 0.08819253742694855, -0.3780238926410675, -0.9300386309623718, 0.21713955700397491, 0.2925599217414856, 0.3289461135864258, 0.5860828161239624, -0.20575816929340363, 0.6400201916694641, -0.4094036817550659, 0.7284830212593079, 0.12769155204296112, -0.9522882699966431, 0.34701433777809143, -0.36378213763237, 0.1689106971025467, 0.05377691611647606, 0.4698732793331146, -0.3154737949371338, -0.5408329963684082, -0.48805636167526245, -1.343252420425415, 0.3802461624145508, 0.23500120639801025, 0.14761778712272644, 0.015759669244289398, 0.5212735533714294, -0.001944380928762257, 0.42838507890701294, -0.9127722978591919, -0.34349024295806885, 0.08117503672838211, 0.10710787028074265, 0.31926360726356506, -0.5414705276489258, -0.12406332790851593, -0.09030692279338837, 0.5592763423919678, -0.363162100315094, 0.2102731317281723, 0.1616562157869339, -0.129160538315773, -0.5806036591529846, 0.18356341123580933, 0.6715739369392395, 0.6505499482154846, -0.11492268741130829, 0.047401636838912964, 0.12373781949281693, -0.46244391798973083, 0.35338807106018066, -0.218595489859581, -0.4255582392215729, -0.13012021780014038, 0.21912246942520142, 1.1401256322860718, 0.3857525587081909, -0.32454851269721985, 0.4107823669910431, 0.20403696596622467, -0.10269026458263397, -0.19259275496006012, 0.18089787662029266, -0.05808747559785843, 0.2908370792865753, 0.6085003614425659, -0.12543323636054993, -0.08729803562164307, -0.06061773747205734, -0.06586624681949615, 0.5982022881507874, -0.09086523950099945, -0.48317158222198486, 0.6081042289733887, 0.21025259792804718, -0.11037526279687881, 0.18243348598480225, -0.3950617015361786, -0.4226500988006592, 0.6951332688331604, 0.6632912158966064, 1.1520289182662964, -0.14319705963134766, 0.24233190715312958, 0.19449482858181, 0.20843973755836487, -0.06269607692956924, 0.11872155964374542, -0.091619573533535, -0.8032961487770081, -1.0943559408187866, -0.7050495743751526, -0.20201849937438965, 0.39588671922683716, -0.39427241683006287, 0.2626281678676605, -0.5707348585128784, -0.38848263025283813, -0.36653369665145874, -0.12507255375385284, -0.24035999178886414, -0.09640565514564514, 0.3266303837299347, 0.6690914630889893, -0.9203399419784546, 1.045535922050476, 0.5465137362480164, 0.08600138127803802, -0.5974962115287781, -0.0002359253994654864, -0.2940272390842438, -0.72030109167099, 0.581514835357666, 0.08382757753133774, 0.05139826983213425, 0.35365304350852966, -0.38902029395103455, -0.8376821279525757, 1.149074912071228, 0.3169580101966858, -0.5140302181243896, -0.045608360320329666, 0.3998551368713379, 0.26105108857154846, -0.09462416172027588, 0.4263227880001068, 0.631052553653717, 0.33338987827301025, 0.15836969017982483, -0.4636487662792206, 0.11256474256515503, -0.15756632387638092, 0.03532325476408005, 0.5092763304710388, -0.5022709965705872, 0.7767902612686157, 0.10794857889413834, -0.33807963132858276, 0.16301102936267853, 0.5238522887229919, 0.19774776697158813, 0.040879398584365845, 0.40260571241378784, 0.7446072101593018, 0.5778793096542358, -0.10594500601291656, 0.7865900993347168, -0.24881917238235474, 0.46154364943504333, 0.7417146563529968, -0.26885786652565, 0.7564418911933899, 0.7810632586479187, -0.3277909457683563, 0.1175946593284607, 0.5639440417289734, -0.12944884598255157, 0.330571711063385, 0.5359604954719543, -0.6642245054244995, -0.18894700706005096, 0.034124162048101425, -0.3411474823951721, -0.027200423181056976, 0.5297890305519104, 0.04386899992823601, -0.20601774752140045, -0.0497330017387867, 0.140370711684227, -0.5687307715415955, -0.4722227156162262, 0.4768950939178467, 0.16944873332977295, -0.1209486797451973, 0.9563789367675781, -0.14056891202926636, 0.7656142711639404, -0.72797691822052, 0.19267645478248596, -0.5927321910858154, -0.09838950634002686, -0.3640826344490051, -0.14853237569332123, 0.16169074177742004, -0.15984000265598297, -0.004428924061357975, -0.06426350772380829, 0.6107678413391113, -0.37937480211257935, -0.277322381734848, 0.35567620396614075, 0.2700015902519226, -0.12298882007598877, -0.35154277086257935, -0.3020002543926239, 0.2653084099292755, -0.11746849864721298, -0.6288185715675354, 0.6248526573181152, 0.2929879128932953, -0.24344442784786224, 0.43211036920547485, 0.7339907288551331, 0.30841735005378723, 0.514921247959137, 0.11189842969179153, 0.8722413778305054, -0.5143289566040039, -0.288640558719635, -0.8987339735031128, 0.6919808387756348, 0.2607612609863281, -0.1350758969783783, 0.37693318724632263, 0.3353039622306824, 0.48247283697128296, -0.035740651190280914, 0.33371394872665405, 0.38366422057151794, -0.3725507855415344, -0.8295435309410095, 0.6369903087615967, -0.6705644726753235, 0.44639986753463745, 0.1285078376531601, -1.0350643396377563, -0.416519433259964, 0.18533915281295776, -0.18541213870048523, -0.15057192742824554, 0.5803050398826599, 0.8095724582672119, 0.21680761873722076, -0.26328161358833313, 0.4395180344581604, 0.3100379705429077, 0.4567319452762604, 0.7662010192871094, 0.9511831402778625, -0.6260214447975159, 0.5261566042900085, -0.2132992297410965, -0.245562344789505, -0.45385733246803284, -0.9436830282211304, -0.5079819560050964, -0.2251303791999817, -0.6519875526428223, -0.2864280641078949, -0.002776622772216797, 0.8121991753578186, 0.3958265483379364, -0.8415406942367554, -0.14098821580410004, 0.012139162048697472, 0.14027433097362518, -0.42148828506469727, -0.18563014268875122, 0.45434629917144775, -0.7312334179878235, -0.7066242694854736, 0.4836013615131378, 0.4592575132846832, 0.2971056401729584, -0.08426212519407272, -0.043420638889074326, 0.036870382726192474, -0.036134470254182816, 0.5077188611030579, 0.3903031349182129, -0.6189541816711426, -0.23162323236465454, -0.15745563805103302, -0.1957588940858841, 0.4925573170185089, 1.0238701105117798, -0.9685409069061279, -0.04266054555773735, 0.44488397240638733, 0.6762193441390991, 0.3130861222743988, 0.09470482170581818, 0.33136722445487976, -1.1014312505722046, 0.2991061508655548, 0.16313287615776062, 0.5251208543777466, 0.13996243476867676, -0.34332555532455444, 0.3179871141910553, 0.44958019256591797, -0.548652708530426, -0.8612403273582458, 0.16515496373176575, -0.9474542140960693, 0.1743793487548828, 1.2413989305496216, -0.29821473360061646, -0.4831456243991852, 0.1196727603673935, 0.10262278467416763, 0.1131579726934433, -0.11194168776273727, 0.6698781251907349, 0.5751065611839294, 0.04471307620406151, -0.07575348764657974, -0.5899397730827332, 0.7815580368041992, 0.7135916352272034, -0.7159587740898132, 0.19352640211582184, 0.22140328586101532, 0.026485029608011246, 0.10067211836576462, 0.5156953930854797, -0.14734159409999847, 0.31151115894317627, -0.2288513034582138, 0.096520334482193, -0.03921392932534218, -0.1602734625339508, -0.8081043362617493, 0.23220959305763245, 0.08357884734869003, -0.3719044327735901 ]
http://arxiv.org/abs/2405.14394v1
http://arxiv.org/pdf/2405.14394v1
Instruction Tuning With Loss Over Instructions
2024-05-23T10:12:03
2024-05-23T10:12:03
Zhengyan Shi, Adam X. Yang, Bin Wu, Laurence Aitchison, Emine Yilmaz, Aldo Lipani
cs.CL
cs.CL, cs.AI
Instruction tuning plays a crucial role in shaping the outputs of language models (LMs) to desired styles. In this work, we propose a simple yet effective method, Instruction Modelling (IM), which trains LMs by applying a loss function to the instruction and prompt part rather than solely to the output part. Through experiments across 21 diverse benchmarks, we show that, in many scenarios, IM can effectively improve the LM performance on both NLP tasks (e.g., MMLU, TruthfulQA, and HumanEval) and open-ended generation benchmarks (e.g., MT-Bench and AlpacaEval). Remarkably, in the most advantageous case, IM boosts model performance on AlpacaEval 1.0 by over 100%. We identify two key factors influencing the effectiveness of IM: (1) The ratio between instruction length and output length in the training data; and (2) The number of training examples. We observe that IM is especially beneficial when trained on datasets with lengthy instructions paired with brief outputs, or under the Superficial Alignment Hypothesis (SAH) where a small amount of training examples are used for instruction tuning. Further analysis substantiates our hypothesis that the improvement can be attributed to reduced overfitting to instruction tuning datasets. Our work provides practical guidance for instruction tuning LMs, especially in low-resource scenarios.
[ -0.3048660457134247, -0.6495834589004517, 0.299535870552063, -0.006972876377403736, -0.2484486997127533, -0.2868049442768097, -0.5452909469604492, -0.01763865351676941, -0.2086929976940155, 0.6122307777404785, -0.864431619644165, -0.5001789331436157, -0.611652672290802, -0.2791755795478821, -0.4506227672100067, 0.9111468195915222, -0.026618316769599915, 0.2843520939350128, -0.2015170007944107, -0.13334369659423828, -0.595452070236206, -0.2735685706138611, -0.8761047720909119, -0.4945802092552185, 0.49211981892585754, 0.5760770440101624, 0.5919836163520813, 1.172624111175537, 0.1512022167444229, 0.18642041087150574, 0.022999271750450134, 0.46450838446617126, -0.6629194021224976, -0.08748191595077515, 0.08427809178829193, -0.6641438603401184, -0.08318337053060532, 0.10650365799665451, 0.6291323900222778, 0.7307408452033997, -0.5656024813652039, 0.19201146066188812, 0.2738214433193207, 0.8861680626869202, -0.7913492321968079, 0.21160902082920074, -0.7180813550949097, 0.026151370257139206, -0.19151324033737183, -0.6438765525817871, -0.7752307057380676, -0.3282427191734314, -0.15116098523139954, -0.34600546956062317, 0.2624267339706421, 0.14071005582809448, 0.7671974897384644, 0.5791229605674744, -0.2068263292312622, -0.39303091168403625, -0.7649521827697754, 0.9394822716712952, -1.080074429512024, 0.51360023021698, 0.4226251542568207, 0.19469965994358063, -0.11679910868406296, -0.15721657872200012, -0.22700612246990204, -0.19269904494285583, -0.14924980700016022, 0.09056318551301956, 0.019399622455239296, 0.20060674846172333, 0.3896580636501312, 0.3335776627063751, -0.33406755328178406, 0.4479243755340576, -0.4142773151397705, -0.008034531958401203, 0.4280446767807007, 0.19105543196201324, 0.19553007185459137, 0.17786149680614471, -0.08439308404922485, -0.265659898519516, -1.0459216833114624, 0.14963094890117645, 0.6915860176086426, 0.4911078214645386, -0.08793118596076965, 0.5125927329063416, -0.01909767836332321, 1.0465362071990967, 0.03037853166460991, -0.3283567428588867, -0.15983422100543976, -0.09351396560668945, 0.014813331887125969, 0.2940663993358612, 0.462653785943985, 0.52244633436203, 0.3143666684627533, -0.11770863831043243, -0.3072658181190491, -0.13879536092281342, 0.3646877110004425, -1.0521942377090454, -0.08530524373054504, -0.3003958463668823, -0.38052141666412354, 0.050315871834754944, -0.14472106099128723, -0.45348095893859863, -0.2543991804122925, -0.6077356934547424, 0.4483189582824707, -0.7077244520187378, 0.1944345384836197, 0.3497444689273834, 0.03486121445894241, 0.4378123879432678, 0.09270060062408447, -1.2761777639389038, 0.5174784660339355, 0.8084526658058167, 0.7980676293373108, -0.020051250234246254, -0.10066688060760498, -0.8608441352844238, 0.009531818330287933, -0.4830000400543213, 0.44954410195350647, -0.5645296573638916, -0.4077501595020294, 0.16322438418865204, -0.11160961538553238, -0.4916113317012787, -0.360408216714859, 0.4914546012878418, -0.3338879644870758, 0.44637271761894226, -0.041972797363996506, -0.9753397107124329, -0.16424746811389923, -0.11366419494152069, -0.6241461038589478, 0.8822766542434692, -0.005363590084016323, -0.38485801219940186, 0.2182384431362152, -0.6083216667175293, -0.6530123353004456, -0.35677018761634827, 0.009539212100207806, -0.4185904860496521, 0.35722681879997253, 0.2297501266002655, 0.32551833987236023, -0.3899560570716858, -0.29189354181289673, 0.05750037729740143, -0.7416346073150635, 0.14911620318889618, -0.653301477432251, 0.4435279965400696, -0.0939726009964943, -0.46361976861953735, -0.1139049232006073, -0.8449537754058838, 0.37606313824653625, -0.14673687517642975, -0.4942944049835205, -0.45377323031425476, 0.21543996036052704, -0.43708503246307373, -0.1382707953453064, -0.1671716421842575, -0.4952040910720825, 0.34682026505470276, -0.781606137752533, 0.4738628566265106, 0.5776166915893555, -0.06331666558980942, 0.5067344903945923, -0.3196770250797272, 0.656147301197052, -0.33922457695007324, 0.12883101403713226, -0.41443926095962524, -0.4138711392879486, -1.0359305143356323, -0.047947194427251816, 0.567653238773346, 0.5018989443778992, -0.6632090210914612, 0.30028897523880005, -0.03466150164604187, -0.3494805693626404, -1.1308338642120361, 0.14513082802295685, 0.702793538570404, 0.6200233697891235, 0.45842209458351135, -0.2247520387172699, -0.3437034487724304, -0.8105660080909729, -0.2381380945444107, 0.013195712119340897, -0.09922369569540024, 0.35955601930618286, -0.042136795818805695, 0.05041186511516571, 0.5695393085479736, -0.5186337232589722, -0.07652537524700165, -0.19638679921627045, 0.3084721863269806, 0.27623382210731506, 0.4941538870334625, 0.4327751696109772, -0.39239680767059326, -0.37006428837776184, -0.080415740609169, -0.15654657781124115, -0.281868040561676, -0.27701520919799805, -0.20147888362407684, 0.536615252494812, 0.5445281863212585, -0.4589007794857025, 0.5528737902641296, 0.4766367971897125, -0.04882095381617546, 0.3523114323616028, -0.31737884879112244, 0.28848958015441895, -0.8005722165107727, -0.26370781660079956, 0.026545094326138496, -0.07215756177902222, -0.4269064962863922, -0.017899127677083015, 0.282612144947052, -0.06933411955833435, -0.40374457836151123, 0.42926040291786194, -0.45795121788978577, 0.0456746369600296, -0.41532057523727417, -0.11122068762779236, 0.17062580585479736, 0.7523133754730225, -0.12466847151517868, 0.9304317235946655, 0.34024757146835327, -0.6649451851844788, 0.02980990894138813, -0.009923678822815418, -0.6132679581642151, 0.1155472844839096, -0.8188859224319458, 0.0828879103064537, -0.23149427771568298, -0.06227242574095726, -0.7023735642433167, 0.08911173045635223, 0.3543858230113983, -0.12897145748138428, 0.872179388999939, -0.3150795102119446, -0.35074880719184875, -0.20324771106243134, -0.32205575704574585, -0.019515343010425568, 0.7226769328117371, -0.5207721590995789, 0.4709206819534302, -0.06969699263572693, 0.043682318180799484, -0.6324588656425476, -0.5774418115615845, -0.31970444321632385, -0.30813607573509216, -0.3223540186882019, 0.628762423992157, -0.1572881042957306, 0.12197289615869522, -0.043963752686977386, -0.25587937235832214, 0.1128155067563057, 0.1678665578365326, 0.2333739548921585, 0.0475783534348011, -0.5156861543655396, 0.3493192195892334, 0.2842564582824707, -0.08934672176837921, 0.002285407856106758, -0.0930071696639061, 0.7226711511611938, 0.021091820672154427, -0.530959963798523, -0.5266748070716858, 0.43304768204689026, 0.31449222564697266, -0.36183449625968933, 1.2014074325561523, 0.5701144933700562, -0.12634681165218353, -0.7548182606697083, -0.40679797530174255, -0.35438162088394165, -0.4462151825428009, 0.50140380859375, -0.15034858882427216, -0.46173524856567383, 0.29966217279434204, -0.01626734621822834, 0.2925577461719513, 0.1806730479001999, 0.33733922243118286, -0.08513028174638748, 1.2726372480392456, 0.9536289572715759, -0.01676173321902752, 0.7358437776565552, -0.4415948987007141, 0.22477596998214722, -0.8487415313720703, -0.19415771961212158, -0.6230829954147339, -0.3447456359863281, -0.46414241194725037, -0.34056103229522705, 0.29833516478538513, 0.29660412669181824, -0.1737271249294281, 0.3267607092857361, -0.44022634625434875, 0.7502333521842957, 0.8900026082992554, 0.32361021637916565, -0.08126000314950943, -0.051281705498695374, 0.23783253133296967, -0.1675463765859604, -1.119795560836792, -0.6105327010154724, 0.940926730632782, 0.2721472382545471, 1.1565202474594116, -0.03894166648387909, 0.7472428679466248, 0.14330053329467773, 0.23495320975780487, -0.9501883387565613, 0.3807685971260071, -0.49529731273651123, -0.15129804611206055, -0.4382188022136688, -0.5812507271766663, -0.7133998274803162, -0.10055944323539734, -0.13663823902606964, -0.4020690321922302, -0.16154518723487854, 0.6076172590255737, -0.37524935603141785, 0.23445844650268555, -0.9853326678276062, 0.9686047434806824, -0.34201687574386597, -0.243573859333992, -0.33242887258529663, -0.48055794835090637, 0.24594999849796295, 0.1870812028646469, -0.054651856422424316, -0.019726388156414032, -0.020521465688943863, 0.7168390154838562, -0.6254710555076599, 0.9210554361343384, -0.0777476578950882, -0.15138857066631317, 0.21582229435443878, -0.0621737502515316, 0.30820363759994507, -0.26297077536582947, -0.27624160051345825, -0.09682738780975342, -0.17380543053150177, -0.28759896755218506, -0.9775000810623169, 0.8317342400550842, -0.7859652042388916, -0.6940851211547852, 0.11144301295280457, -0.5999628305435181, -0.17677977681159973, -0.017436562106013298, 0.36941903829574585, 0.9156871438026428, 0.07581041753292084, 0.3256131410598755, 0.9344357252120972, -0.29286059737205505, 0.3896215260028839, 0.6566145420074463, 0.23607896268367767, -0.00674064178019762, 0.8988296389579773, 0.3278099000453949, 0.4957803189754486, 0.5089994072914124, 0.3724803924560547, -0.36093735694885254, -0.37278351187705994, -0.8828020691871643, 0.13324332237243652, -0.8348797559738159, -0.3364042639732361, -0.24519680440425873, -0.30839136242866516, -0.10126958042383194, 0.0658903419971466, -0.4758172333240509, -0.5109432935714722, -0.3042641878128052, 0.12685279548168182, 0.3931726813316345, 0.408719539642334, 0.26907479763031006, 0.8067073822021484, -0.6597685217857361, -0.06453192234039307, 0.17488993704319, 0.5559840202331543, 0.12533140182495117, -0.8433046936988831, -0.49605387449264526, 0.37576591968536377, -0.36628711223602295, -0.8644397854804993, 0.25251469016075134, 0.8215592503547668, 0.6001977324485779, 0.4731915593147278, 0.06714808195829391, 0.8421393632888794, -0.9270954132080078, 0.4499042332172394, -0.03618844598531723, -0.935763418674469, 0.5240485668182373, 0.07500435411930084, 0.4538857936859131, 0.3823973834514618, 0.5171293020248413, -0.4341091215610504, -0.25395286083221436, -0.2677080035209656, -0.7593433260917664, 0.9821125268936157, 0.014384250156581402, 0.3910476863384247, 0.02712813951075077, 0.4412235617637634, 0.24711349606513977, 0.1618778109550476, -0.527309238910675, -0.38015517592430115, -0.167691171169281, -0.4626712501049042, 0.010692132636904716, -0.28955206274986267, -0.2347235232591629, -0.08677184581756592, 1.2017608880996704, -0.11855728924274445, 0.0881287157535553, -0.32743507623672485, -0.0015685436083003879, -0.3807035982608795, 0.30233776569366455, 0.7573343515396118, 0.5940491557121277, -0.1917594075202942, 0.026790471747517586, 0.025588877499103546, 0.042598482221364975, -0.04256302863359451, 0.06796813011169434, -0.3912498354911804, 0.09977457672357559, 0.5629205703735352, 1.2218174934387207, 0.5056543350219727, -0.4936930537223816, 0.28653883934020996, -0.13211019337177277, 0.09420861303806305, 0.1627054065465927, 0.5455197095870972, 0.10398904234170914, -0.05913904309272766, 0.06666901707649231, 0.11757578700780869, 0.11603797227144241, -0.5347700715065002, 0.06840045005083084, 0.37171655893325806, -0.31389880180358887, -0.03326692432165146, 0.596062421798706, 0.08072857558727264, -0.5456554889678955, 0.6288068294525146, -0.10525991767644882, -0.3889150023460388, 0.6675429940223694, 0.7674005031585693, 0.6141499876976013, -0.29235154390335083, 0.17007875442504883, 0.4149976968765259, 0.43177005648612976, -0.1423487663269043, -0.10083015263080597, -0.17084357142448425, -0.3541204035282135, -0.663757860660553, -0.7301574349403381, -0.3784601092338562, 0.19565138220787048, -0.9356200098991394, 0.34172412753105164, -0.19210441410541534, 0.07333451509475708, 0.17005735635757446, -0.16379861533641815, -0.5183873772621155, 0.09900254011154175, 0.18461494147777557, 0.9523154497146606, -0.8127727508544922, 0.6809946298599243, 0.3716545104980469, -0.12654657661914825, -0.8803271055221558, -0.08006124198436737, -0.21881313621997833, -0.986649215221405, 0.2644248306751251, 0.3678099811077118, -0.2546840310096741, -0.02776295877993107, -0.5155590176582336, -0.7837697863578796, 0.7476367950439453, 0.6221831440925598, -0.905221164226532, -0.012023888528347015, 0.10965413600206375, 0.5160579085350037, -0.4387366473674774, 0.12142327427864075, 0.5852990746498108, 0.11609585583209991, 0.11197676509618759, -0.6037782430648804, -0.22292406857013702, -0.11519097536802292, 0.10388592630624771, 0.6132458448410034, -0.508965253829956, 0.7224782705307007, -0.2516215741634369, -0.37872985005378723, 0.24138902127742767, 0.5902047753334045, -0.07395630329847336, 0.2126760482788086, 0.4222322106361389, 0.5251787900924683, 0.4277585446834564, -0.28079041838645935, 1.1707706451416016, -0.5998741984367371, 0.09965778142213821, 1.2305303812026978, 0.07746405154466629, 0.6760704517364502, 0.33745846152305603, 0.11931440234184265, 0.3396322429180145, 0.5630775094032288, 0.1510801911354065, 0.7468441724777222, 0.4050021171569824, 0.026501407846808434, -0.23875118792057037, -0.12127292156219482, -0.39757615327835083, 0.43335145711898804, 0.33962541818618774, -0.3999132812023163, -0.08589331060647964, 0.12265939265489578, 0.17154879868030548, 0.45315128564834595, -0.5230481624603271, 0.6909130811691284, -0.001293621608056128, -0.7859062552452087, 0.9060158729553223, 0.27400699257850647, 0.4637385904788971, -0.7907288670539856, -0.3196620047092438, -0.3365764617919922, 0.2649131119251251, -0.0420774482190609, -0.449012815952301, 0.23668622970581055, -0.08754102140665054, -0.3928629457950592, -0.3532458543777466, 0.4004935622215271, -0.9172720909118652, -0.5836564898490906, 0.012568452395498753, 0.16784065961837769, -0.012134959921240807, 0.305696576833725, -0.6148593425750732, 0.18033085763454437, 0.015976520255208015, -0.31180447340011597, 0.21053317189216614, 0.34633323550224304, 0.0510115772485733, 0.7854399681091309, 0.23991738259792328, 0.19393301010131836, 0.2160634845495224, 0.30169054865837097, 0.7787594795227051, -0.44729718565940857, -0.27705660462379456, -0.9269874095916748, 0.32194089889526367, -0.009889612905681133, -0.45783117413520813, 0.7364429235458374, 0.4205143451690674, 0.9151812791824341, -0.20005539059638977, 0.3317990005016327, 0.22350327670574188, 0.5804318189620972, -1.1013622283935547, 0.5447298884391785, -0.5522263050079346, 0.38325709104537964, 0.12241179496049881, -0.8323788642883301, 0.05399487540125847, 0.4737170934677124, -0.2366294264793396, 0.056141436100006104, 0.3498764932155609, 1.0052919387817383, -0.12098782509565353, -0.024691306054592133, 0.33736175298690796, -0.015604632906615734, 0.09475976973772049, 0.5358110070228577, 0.7000362277030945, -0.5721800327301025, 0.42171213030815125, -0.6101576089859009, -0.15483392775058746, -0.17766351997852325, -0.8086548447608948, -1.0106923580169678, -0.3320392966270447, -0.35145118832588196, 0.004382550250738859, 0.3264254927635193, 0.9055755734443665, 0.9711663126945496, -0.7665095329284668, -0.2299197018146515, 0.15501172840595245, 0.08999910205602646, -0.48388671875, -0.17943793535232544, 0.41054773330688477, -0.45430195331573486, -0.7757666707038879, 0.632382869720459, 0.07436968386173248, 0.014481906779110432, -0.06881028413772583, -0.3088417649269104, -0.08692281693220139, 0.3173607885837555, 0.5090376734733582, 0.22278694808483124, -0.7042285203933716, -0.2330625355243683, 0.04915574565529823, -0.04266822710633278, -0.1768629252910614, 0.8120198845863342, -0.640198290348053, 0.4678242802619934, 0.09619054198265076, 0.7150270342826843, 0.4861687421798706, 0.07117543369531631, 0.7270770072937012, -1.2314989566802979, 0.11953847855329514, 0.16882021725177765, 0.3871319890022278, 0.43715032935142517, -0.2957431972026825, 0.5336225628852844, -0.3552418649196625, -0.53355473279953, -0.8732187747955322, 0.16348086297512054, -0.6201610565185547, -0.16194744408130646, 0.9215533137321472, -0.11881935596466064, -0.30119165778160095, 0.6115023493766785, -0.27727288007736206, 0.4465390145778656, -0.3994789123535156, 0.9977841377258301, 0.6114827394485474, -0.05805685743689537, -0.3302868902683258, -0.6007182002067566, 0.6468715667724609, 0.6472568511962891, -0.5753341317176819, 0.13089124858379364, 0.48624879121780396, -0.06301721185445786, -0.021139929071068764, 0.06248884275555611, 0.24938535690307617, 0.39517199993133545, -0.24232041835784912, 0.041985634714365005, -0.3347405195236206, -0.4580042064189911, -0.24590586125850677, -0.12282081693410873, 0.08887305110692978, -0.4450371563434601 ]
http://arxiv.org/abs/2405.14391v2
http://arxiv.org/pdf/2405.14391v2
Explainable Few-shot Knowledge Tracing
2024-05-23T10:07:21
2024-05-26T03:43:33
Haoxuan Li, Jifan Yu, Yuanxin Ouyang, Zhuang Liu, Wenge Rong, Juanzi Li, Zhang Xiong
cs.AI
cs.AI, cs.CL, cs.CY
Knowledge tracing (KT), aiming to mine students' mastery of knowledge by their exercise records and predict their performance on future test questions, is a critical task in educational assessment. While researchers achieved tremendous success with the rapid development of deep learning techniques, current knowledge tracing tasks fall into the cracks from real-world teaching scenarios. Relying heavily on extensive student data and solely predicting numerical performances differs from the settings where teachers assess students' knowledge state from limited practices and provide explanatory feedback. To fill this gap, we explore a new task formulation: Explainable Few-shot Knowledge Tracing. By leveraging the powerful reasoning and generation abilities of large language models (LLMs), we then propose a cognition-guided framework that can track the student knowledge from a few student records while providing natural language explanations. Experimental results from three widely used datasets show that LLMs can perform comparable or superior to competitive deep knowledge tracing methods. We also discuss potential directions and call for future improvements in relevant topics.
[ -0.3478771150112152, -0.8724172115325928, 0.8803783059120178, -0.36181560158729553, -0.03532244637608528, 0.24658305943012238, -0.2177298665046692, -0.2996333837509155, -0.19271668791770935, 0.5926982760429382, -0.7728520631790161, -0.5454865097999573, -0.4352348744869232, -0.4003658592700958, -0.5107985138893127, 0.9328322410583496, -0.05678355321288109, -0.049512363970279694, -0.34852802753448486, 0.011505174450576305, -0.7582096457481384, -0.2382914423942566, -0.5377354025840759, -0.7293084263801575, 0.40804269909858704, 0.7682219743728638, 0.2409280687570572, 0.45379528403282166, 0.4288676679134369, 0.16783717274665833, 0.1839069128036499, 0.06928718835115433, -0.6681000590324402, -0.0010308952769264579, -0.149051696062088, -0.6933097243309021, -0.3243425190448761, -0.2410329133272171, 0.7218915224075317, 0.9169374704360962, 0.12425848096609116, 0.27246618270874023, 0.20409922301769257, 0.6524138450622559, -0.5854587554931641, 0.18582035601139069, -0.37155598402023315, -0.04370925948023796, -0.1774701476097107, -0.17659993469715118, -0.3781433701515198, -0.42234864830970764, 0.48915597796440125, -0.6980197429656982, 0.23979979753494263, -0.19580841064453125, 0.5363287925720215, 0.11814463138580322, -0.5223004817962646, -0.22952167689800262, -0.7967453002929688, 0.7298726439476013, -0.4692635238170624, 0.1711793690919876, 0.623806893825531, 0.8451159596443176, 0.014699885621666908, -0.7252744436264038, -0.42217397689819336, -0.01990405097603798, -0.005312422290444374, 0.3175238072872162, 0.1368080973625183, -0.10130777955055237, 0.35164177417755127, 0.16050246357917786, -0.39536646008491516, 0.17772887647151947, -0.39626842737197876, -0.13559184968471527, 0.7083454728126526, 0.4350791573524475, 0.16895583271980286, -0.06420518457889557, -0.40850120782852173, 0.14929434657096863, -0.7993679046630859, 0.16126307845115662, 0.10960592329502106, 0.46032029390335083, -0.1845264583826065, 0.5494807362556458, -0.24186348915100098, 0.9047099351882935, -0.3240032494068146, -0.3152145743370056, -0.4088955819606781, -0.174515500664711, -0.10927262157201767, 0.1787458211183548, 0.5050777792930603, 0.30346086621284485, 0.3798544108867645, -0.23753680288791656, 0.05843062698841095, 0.1985638439655304, 0.03975442424416542, -1.0447803735733032, -0.5202039480209351, -0.17315571010112762, -0.13629847764968872, -0.07000285387039185, -0.34735435247421265, -1.007190227508545, -0.6864275932312012, -0.3451143503189087, 0.604555606842041, -0.6320350170135498, -0.24273167550563812, 0.0995834469795227, 0.033787716180086136, 0.23297789692878723, 0.588187038898468, -0.858993411064148, 0.29270997643470764, 0.7690476775169373, 0.659702479839325, -0.20173874497413635, -0.20987766981124878, -0.2536138892173767, 0.23886661231517792, -0.36795464158058167, 0.7885718941688538, -0.6190400719642639, -0.011821724474430084, -0.08467750251293182, -0.3207125663757324, -0.007020157761871815, -0.2678861618041992, 0.10276325047016144, -0.4172431230545044, 0.22145435214042664, -0.5383965373039246, -1.1198076009750366, -0.5600341558456421, 0.47945353388786316, -0.34830570220947266, 0.9992858171463013, 0.06632750481367111, -0.6495000123977661, 0.4766525328159332, -0.5307971239089966, -0.14362864196300507, 0.2086896449327469, -0.16983364522457123, -0.06616160273551941, -0.11153008788824081, 0.14225170016288757, 0.6323270797729492, -0.3354872465133667, 0.12465708702802658, -0.20971986651420593, -0.5516924262046814, 0.10481631010770798, -0.3334754705429077, 0.7619175314903259, -0.07891903817653656, -0.2559162378311157, -0.40446707606315613, -0.8930097222328186, 0.08562328666448593, 0.10132158547639847, -0.34234818816185, -0.3941328823566437, -0.06294214725494385, -0.6073001623153687, 0.03700103238224983, -0.017838967964053154, -0.3137093782424927, 0.3033832311630249, -0.31085026264190674, 0.1772196888923645, 0.6946544647216797, 0.16761615872383118, 0.568484365940094, -0.2344546914100647, 0.9639019966125488, -0.1520499736070633, -0.20030154287815094, -0.5376922488212585, -0.45018139481544495, -0.5734037756919861, -0.1386243849992752, 0.16025730967521667, 0.3287123143672943, -0.5177405476570129, -0.47046196460723877, -0.36611998081207275, -0.5453633069992065, -0.5040097832679749, 0.4465641677379608, 0.33197715878486633, 0.897222638130188, 0.24542313814163208, -0.04646695405244827, -0.41818803548812866, -0.5418432950973511, -0.6261053681373596, -0.15554969012737274, 0.05899633839726448, 0.4326050281524658, 0.57801753282547, 0.1965312957763672, 0.9958372116088867, -0.61617511510849, -0.3138335347175598, -0.5008439421653748, 0.05334296077489853, 0.001691094134002924, 0.3903963267803192, 0.32186469435691833, -0.341817170381546, -0.3608608841896057, 0.011033175513148308, -0.7625218629837036, 0.2061224728822708, -0.30027535557746887, -0.4447658360004425, -0.23271401226520538, 0.4632825255393982, -0.3943796455860138, 0.29379498958587646, 0.12657183408737183, -0.45265212655067444, 0.4698122441768646, 0.17161519825458527, -0.09848026931285858, -0.697859525680542, -0.10476214438676834, -0.08562198281288147, -0.18389731645584106, -0.2991448938846588, 0.05251630023121834, -0.1611408293247223, -0.00023214987595565617, -0.3724057078361511, 0.754169762134552, -0.31334903836250305, -0.16317610442638397, -0.20497563481330872, 0.424223393201828, 0.04004594311118126, 0.37172362208366394, -0.19541656970977783, 0.31668901443481445, 0.8546929955482483, -0.6703418493270874, 0.37633195519447327, 0.031966038048267365, -0.47049230337142944, 0.7044127583503723, -0.21473801136016846, 0.19882655143737793, -0.19206063449382782, 0.2604934871196747, -1.2245349884033203, -0.3148704469203949, -0.3041731119155884, -0.6887108087539673, 0.16589544713497162, -0.6700977087020874, -0.3080223798751831, -0.4435195326805115, -0.05371415615081787, 0.2585281431674957, 0.7154308557510376, -0.5876702070236206, 0.7346864342689514, 0.004595709964632988, 0.1662629097700119, -0.46444156765937805, -0.6949923634529114, -0.24655941128730774, -0.462470144033432, -0.6471086144447327, 0.015568366274237633, -0.0044618938118219376, -0.22810158133506775, -0.004444541409611702, -0.31817150115966797, -0.48221349716186523, 0.40443357825279236, 0.3695570230484009, 0.3704666495323181, -0.6126285195350647, 0.43276268243789673, -0.2429462969303131, -0.11860319972038269, 0.3393227458000183, -0.3125593960285187, 0.2446671426296234, 0.029670225456357002, -0.3063355088233948, -0.3959232568740845, 0.07806260138750076, 0.4220491349697113, 0.06097692251205444, 0.5193018913269043, 0.6755609512329102, -0.5096529722213745, -0.5558817982673645, -0.4913647472858429, -0.4517749547958374, -0.4018632173538208, 0.22018775343894958, -0.4326546788215637, -0.8001446723937988, 0.5179300308227539, -0.31427156925201416, 0.14099766314029694, 0.3749944865703583, 0.4543974995613098, -0.38346344232559204, 1.011467456817627, 0.7854161858558655, 0.018719607964158058, 0.17648416757583618, -0.5259259343147278, 0.17720289528369904, -0.5003044009208679, -0.38666266202926636, -0.29600828886032104, -0.4195445477962494, -0.38994836807250977, -0.16089677810668945, 0.1630917191505432, 0.3283191919326782, -0.21657754480838776, 0.04708538576960564, -0.3250902593135834, 0.8953306674957275, 0.6314021348953247, 0.05266977846622467, 0.31693586707115173, -0.1660861223936081, -0.20617002248764038, -0.04557240754365921, -0.8774003386497498, -0.5414184331893921, 1.3236488103866577, 0.20717738568782806, 0.8633701205253601, -0.054588768631219864, 0.9217403531074524, -0.16647610068321228, 0.3923507332801819, -1.0673165321350098, 0.572716474533081, -0.05766355246305466, -1.0087162256240845, -0.3667431175708771, -0.19824591279029846, -0.6562620401382446, 0.22783732414245605, -0.1440858393907547, -0.7700391411781311, -0.5249292850494385, 0.4555164575576782, -0.6719775199890137, 0.3634868860244751, -0.8585672974586487, 0.8472141027450562, -0.20920003950595856, -0.7263628840446472, -0.16661323606967926, -0.4559725522994995, 0.7555536031723022, 0.027799751609563828, 0.20431259274482727, -0.12867328524589539, 0.21403108537197113, 1.081932783126831, -0.441677987575531, 1.084267497062683, -0.4717024564743042, 0.17280049622058868, 0.704538881778717, 0.3515341281890869, 0.48354634642601013, -0.18279388546943665, 0.008968007750809193, -0.45551538467407227, 0.1072096899151802, -0.4524594247341156, -0.7153406143188477, 0.7527561187744141, -0.3088335394859314, -0.5119141936302185, -0.05363278463482857, -0.5702111721038818, -0.39699801802635193, 0.15593811869621277, 0.20757727324962616, 0.3090254068374634, -0.0389341339468956, 0.03609760105609894, 0.7299990653991699, -0.011234222911298275, 0.4773596525192261, 0.692516028881073, -0.15807273983955383, 0.2226337045431137, 1.1198588609695435, 0.5011304020881653, 0.10655108094215393, 0.2107267677783966, 0.5338022112846375, -0.3238459527492523, -0.5097262859344482, -0.37974852323532104, 0.24100519716739655, -0.919559895992279, -0.1626499891281128, -0.40146368741989136, 0.17497794330120087, -0.2460712492465973, -0.5629495978355408, -0.43039366602897644, -0.43465396761894226, -0.21601901948451996, -0.3441261649131775, 0.3695363402366638, 0.8580123782157898, 0.1547621339559555, 0.5617190003395081, -0.4199346601963043, 0.523819088935852, 0.8189600706100464, 0.3469042479991913, 0.280254989862442, -0.5942678451538086, -0.29005926847457886, -0.05934286117553711, -0.3198082745075226, -0.8686625957489014, 0.13171160221099854, 0.07064312696456909, 0.41945400834083557, 0.3958427906036377, 0.04231875389814377, 0.951079785823822, -0.15364840626716614, 0.9113829135894775, 0.20940819382667542, -0.8326774835586548, 0.7280611395835876, -0.29104194045066833, 0.401879221200943, 0.5140392780303955, 0.2705432176589966, -0.1962861269712448, -0.3558214008808136, -0.7130604386329651, -0.759567379951477, 0.749346137046814, -0.20593179762363434, 0.006995094940066338, 0.21702562272548676, 0.3248152732849121, 0.26107969880104065, -0.2745495140552521, -0.4052988588809967, -0.03768298774957657, -0.12275427579879761, -0.1956416517496109, -0.05342255160212517, -0.3132511079311371, -0.20602525770664215, -0.23715339601039886, 0.6024813652038574, -0.37615665793418884, 0.10782719403505325, -0.0389309823513031, -0.3787519931793213, 0.06351258605718613, 0.32645493745803833, 0.48592013120651245, 0.9639772772789001, -0.029314963147044182, 0.4447307884693146, 0.41197648644447327, -0.34825611114501953, -0.08138337731361389, -0.08987884223461151, -0.19418321549892426, -0.12391672283411026, 0.6342246532440186, 0.6159964203834534, 0.20104506611824036, -0.6565382480621338, 0.6648339629173279, 0.31428462266921997, -0.23153312504291534, -0.44919025897979736, 0.1815759539604187, 0.45297491550445557, 0.3320181667804718, 0.44987818598747253, -0.3005061149597168, 0.09804891049861908, -0.4183832108974457, 0.14845718443393707, 0.3070068657398224, -0.5657137632369995, -0.5317205190658569, 0.542317807674408, 0.08413132280111313, 0.043976087123155594, 0.5910149812698364, 0.05873342603445053, -0.5536107420921326, 0.8732447028160095, 0.5480597019195557, 0.595845639705658, -0.0017176179680973291, 0.2733336389064789, 0.6021842360496521, 0.2954115867614746, -0.3083387613296509, 0.23997880518436432, -0.3507448434829712, -0.3996463716030121, -0.5935623645782471, -0.3215760588645935, -0.4547981917858124, 0.05219218507409096, -0.8055922985076904, 0.20335406064987183, -0.5323799848556519, 0.0705508217215538, 0.3528286814689636, 0.06656277179718018, -1.0706520080566406, 0.47613805532455444, 0.39549189805984497, 0.661067008972168, -1.0580430030822754, 0.7482326030731201, 0.5373682379722595, -0.313273549079895, -1.0223674774169922, -0.25195783376693726, 0.22320081293582916, -1.284742832183838, 0.826054036617279, 0.1106276586651802, -0.06694591790437698, 0.029949422925710678, -0.6106842756271362, -0.45629701018333435, 1.1672111749649048, 0.5602626800537109, -0.4307146370410919, -0.13562273979187012, 0.020082244649529457, 0.48899826407432556, -0.2061166614294052, 0.27284687757492065, 0.8795965313911438, 0.5139319896697998, 0.1147092804312706, -0.42439618706703186, 0.005995815619826317, 0.30165839195251465, -0.4641323387622833, 0.10544739663600922, -0.4153422713279724, 0.4375259280204773, -0.6859835386276245, -0.06814900040626526, -0.31121861934661865, 0.5298872590065002, 0.19607006013393402, 0.7648670673370361, 0.03154793754220009, 0.6344686150550842, 0.969526469707489, -0.13756845891475677, 1.2196582555770874, 0.18235349655151367, 0.2478230744600296, 1.4353835582733154, 0.09915617853403091, 0.697913408279419, 0.49693334102630615, -0.23321017622947693, 0.573975682258606, 0.4431915283203125, 0.10075569897890091, 0.27767714858055115, 0.3917171061038971, -0.30501237511634827, -0.7467738389968872, -0.0629667192697525, -0.11033036559820175, 0.7051118612289429, 0.3743029236793518, -0.4068998098373413, -0.3632195293903351, 0.07182320207357407, 0.024741867557168007, -0.01214541681110859, -0.536796510219574, 0.692357063293457, 0.03589453175663948, -0.9104064702987671, 0.6686455607414246, -0.518031656742096, 0.3992023169994354, -0.5350500345230103, -0.2989467680454254, -0.45739927887916565, 0.20395489037036896, -0.35281556844711304, -0.8962215781211853, -0.05812220275402069, 0.14411726593971252, -0.06940293312072754, -0.2340259552001953, 0.6784064769744873, -0.4088742434978485, -0.49007469415664673, 0.12191319465637207, 0.6181185841560364, 0.36150825023651123, 0.02782554365694523, -0.4178740978240967, -0.3055325746536255, 0.0623040646314621, -0.2614983022212982, 0.3020698130130768, 0.5204301476478577, -0.05665862560272217, 0.9987085461616516, 0.34384316205978394, -0.07201672345399857, 0.4542572796344757, -0.08257673680782318, 0.5089216828346252, -0.7743768095970154, -0.3404664397239685, -0.9410285353660583, 0.5214357972145081, 0.2220817357301712, -0.3605722188949585, 0.7653889060020447, 0.5629777908325195, 0.5667416453361511, 0.11360923945903778, 0.909171998500824, 0.21471033990383148, 0.7634584903717041, -0.5368732213973999, 0.5757529735565186, -0.3025709390640259, 0.321614146232605, -0.22993819415569305, -0.5118088722229004, -0.17472192645072937, 0.4407770037651062, -0.27477583289146423, -0.1538219153881073, 0.7197981476783752, 0.45804473757743835, -0.1304645538330078, -0.025426657870411873, 0.34897714853286743, 0.3193546533584595, 0.3548779785633087, 0.932370126247406, 0.9440987706184387, -0.32386502623558044, 0.8312612175941467, -0.5201191902160645, -0.07170470803976059, -0.19354122877120972, -0.8252804279327393, -1.0200011730194092, -0.34546542167663574, -0.7163254022598267, -0.1835177093744278, -0.028920574113726616, 0.18472133576869965, 0.8233066201210022, -0.5498051047325134, -0.0862434059381485, -0.19220836460590363, 0.3737533986568451, -0.17721645534038544, -0.2786608338356018, 0.5421709418296814, -0.17545510828495026, -0.4567417800426483, 0.5137383937835693, -0.12555046379566193, 0.22911584377288818, -0.2136239856481552, -0.06889577209949493, 0.125383198261261, -0.07964813709259033, 0.586171567440033, 0.48205453157424927, -0.7658390402793884, -0.30943071842193604, 0.09228752553462982, 0.08817543089389801, -0.31928420066833496, 0.8985989689826965, -1.1339915990829468, 0.7943995594978333, 0.5427016019821167, 0.725430428981781, 0.8298293352127075, -0.1547899842262268, 0.3123632073402405, -0.6070225238800049, -0.23346154391765594, 0.38219815492630005, 0.07580927759408951, 0.3220502436161041, -0.18326279520988464, 0.5922121405601501, 0.16032832860946655, -0.33989134430885315, -0.9428949952125549, -0.030238119885325432, -1.0352011919021606, -0.22620083391666412, 0.97764652967453, -0.47675907611846924, 0.05573538690805435, -0.0809430330991745, 0.032808661460876465, 0.19246350228786469, -0.07250964641571045, 0.6706470847129822, 0.9717614054679871, -0.3216525912284851, -0.21028666198253632, -0.9917494058609009, 0.4604542553424835, 0.47530806064605713, -0.7314826846122742, 0.1730795055627823, 0.6142627596855164, 0.5138938426971436, -0.13390915095806122, 0.7175211310386658, 0.047559820115566254, 0.3261263966560364, 0.05465167388319969, -0.31510674953460693, -0.13064336776733398, -0.3374743163585663, -0.15024563670158386, 0.5187932848930359, 0.04271305724978447, -0.32262319326400757 ]
http://arxiv.org/abs/2405.14388v1
http://arxiv.org/pdf/2405.14388v1
Evaluation of the Programming Skills of Large Language Models
2024-05-23T10:04:36
2024-05-23T10:04:36
Luc Bryan Heitz, Joun Chamas, Christopher Scherb
cs.SE
cs.SE, cs.CL, cs.CR
The advent of Large Language Models (LLM) has revolutionized the efficiency and speed with which tasks are completed, marking a significant leap in productivity through technological innovation. As these chatbots tackle increasingly complex tasks, the challenge of assessing the quality of their outputs has become paramount. This paper critically examines the output quality of two leading LLMs, OpenAI's ChatGPT and Google's Gemini AI, by comparing the quality of programming code generated in both their free versions. Through the lens of a real-world example coupled with a systematic dataset, we investigate the code quality produced by these LLMs. Given their notable proficiency in code generation, this aspect of chatbot capability presents a particularly compelling area for analysis. Furthermore, the complexity of programming code often escalates to levels where its verification becomes a formidable task, underscoring the importance of our study. This research aims to shed light on the efficacy and reliability of LLMs in generating high-quality programming code, an endeavor that has significant implications for the field of software development and beyond.
[ -0.10543882846832275, -0.4789149761199951, 0.40957239270210266, 0.25111210346221924, 0.1503419429063797, 0.16686388850212097, -0.3835617005825043, -0.43662214279174805, -0.1296890825033188, 0.5287796258926392, -0.24715100228786469, -0.6388683915138245, -0.7850425839424133, -0.07283996790647507, -0.6814156174659729, 1.0674817562103271, 0.11757072061300278, -0.09661359339952469, -0.491942822933197, 0.1939098984003067, -0.35451459884643555, -0.5239216089248657, -0.575657844543457, -0.35401949286460876, 0.17526231706142426, 0.2759259045124054, 0.9885899424552917, 0.3354188799858093, 0.7952753901481628, 0.33264756202697754, 0.044313911348581314, 0.07064748555421829, -0.9099244475364685, 0.07454543560743332, 0.11889831721782684, -0.533191442489624, -0.40685510635375977, 0.07829230278730392, 0.46479424834251404, 0.43238306045532227, 0.007645764388144016, 0.3736584782600403, 0.1863858848810196, 0.5908112525939941, -0.23812486231327057, 0.4457817077636719, -0.7545931935310364, -0.2787155508995056, 0.011002819053828716, -0.1018657311797142, -0.40170714259147644, -0.6666942834854126, -0.3228756785392761, -0.25545167922973633, -0.11015976220369339, -0.022452371194958687, 0.9571129679679871, 0.3601800799369812, -0.2020435482263565, -0.8018454313278198, -0.913533091545105, 0.7453230619430542, -0.928976833820343, -0.002768418285995722, 0.09256153553724289, 0.359790176153183, -0.44120141863822937, -0.6261888742446899, -0.6119011044502258, -0.7505083680152893, 0.19225724041461945, 0.22224512696266174, -0.06940997391939163, -0.2637203633785248, 0.2373713105916977, 0.690282940864563, -0.5721856951713562, 0.43665164709091187, -0.5721156001091003, -0.10879570990800858, 0.7213863134384155, 0.12387768924236298, 0.623027503490448, -0.17217347025871277, 0.24266023933887482, -0.09276948124170303, -0.9324488639831543, 0.22221718728542328, 0.7786392569541931, 0.13061657547950745, -0.14892949163913727, 0.9027709364891052, -0.09826810657978058, 0.4299284517765045, -0.524821937084198, -0.45044317841529846, 0.011305819265544415, -0.2994726300239563, -0.2010193020105362, -0.5086743235588074, 1.0079429149627686, 0.30275651812553406, 0.5752357840538025, -0.1339271068572998, -0.34693726897239685, 0.18097056448459625, 0.321527898311615, -0.6927469968795776, -0.18253210186958313, 0.48241615295410156, -0.5790877342224121, -0.24240757524967194, 0.1451902687549591, -0.24966977536678314, -0.31893059611320496, -0.13042502105236053, 0.3626862168312073, -0.28682926297187805, -0.3851780891418457, -0.02712181769311428, 0.009115492925047874, 0.2489367425441742, 0.13521531224250793, -0.6562017202377319, -0.13137398660182953, 1.2043510675430298, 0.7569933533668518, -0.15772846341133118, -0.2056068480014801, -0.5401689410209656, -0.39432111382484436, -0.7238062620162964, 0.3361833691596985, -0.41853517293930054, -0.4097718894481659, 0.07165057212114334, -0.5102335810661316, 0.26861757040023804, -0.6823786497116089, 0.37220141291618347, -0.4750099778175354, 0.07793513685464859, 0.27511337399482727, -0.5590608716011047, 0.18940369784832, 0.2140437811613083, -0.3004585802555084, 1.0166890621185303, 0.40342849493026733, -0.45887836813926697, 0.3417019546031952, -0.5296043753623962, -0.13355016708374023, 0.18484283983707428, -0.37233003973960876, -0.3311593532562256, 0.17315949499607086, -0.024832511320710182, 0.6291951537132263, -0.4477686285972595, 0.28148025274276733, -0.2782508134841919, -0.5324040055274963, 0.7825198173522949, -0.44203728437423706, 0.5034657716751099, 0.07692186534404755, -0.07140009105205536, 0.22405417263507843, -0.825466513633728, 0.2598065435886383, 0.21709294617176056, -0.7388431429862976, 0.09823938459157944, 0.021059108898043633, -0.32279688119888306, 0.4151057302951813, 0.20406119525432587, -0.5172228813171387, 0.09098230302333832, -0.5404448509216309, 0.5547116994857788, 0.6001293063163757, -0.1865164041519165, 0.0899432897567749, -0.1921447217464447, 0.5427623391151428, -0.37820249795913696, 0.3518577516078949, -0.2396131008863449, -0.7347965836524963, -0.8659728765487671, -0.25376632809638977, 0.3841245472431183, 0.3769569396972656, -0.6846501231193542, 0.42880764603614807, -0.4491468369960785, -0.8944907188415527, -0.6826093792915344, 0.4427492916584015, 0.6423812508583069, 0.040012456476688385, -0.08193974941968918, -0.45255351066589355, -0.11318863928318024, -0.7325966954231262, -0.15094950795173645, -0.3326878249645233, -0.45746397972106934, 0.47952911257743835, 0.5648200511932373, -0.36425474286079407, 0.7463341355323792, -0.25125938653945923, 0.14647634327411652, -0.37331128120422363, 0.00743112713098526, 0.5905551314353943, 0.4947962462902069, 0.522729218006134, -0.219868466258049, -0.307056725025177, 0.010837881825864315, -0.8620662093162537, -0.13176396489143372, -0.18423748016357422, -0.2017737179994583, 0.19430674612522125, 0.3596218526363373, -0.4472559094429016, 0.18609455227851868, 1.0559611320495605, -0.18254564702510834, 0.8132653832435608, -0.31806111335754395, 0.2996361553668976, -0.7733510732650757, 0.2199598103761673, -0.2535671591758728, -0.04190611466765404, -0.42568597197532654, 0.2531307339668274, 0.030222387984395027, -0.3556739389896393, -0.3384110927581787, 0.28152990341186523, -0.3807101547718048, -0.5947059988975525, -0.20958101749420166, 0.2775748670101166, -0.37945467233657837, 0.3576290011405945, -0.30218586325645447, 0.9870352149009705, 0.40677541494369507, -0.46691733598709106, 0.5757098197937012, 0.02948344312608242, -0.8448524475097656, 0.17944848537445068, -0.9276953935623169, 0.2955887019634247, 0.05783385410904884, -0.07388486713171005, -1.3456891775131226, -0.39369359612464905, -0.001458329032175243, -0.9320248961448669, 0.1309574991464615, -0.24913491308689117, -0.7144970893859863, -0.7467572093009949, -0.08742410689592361, -0.10938750952482224, 1.0021231174468994, -0.35213834047317505, 0.0711410865187645, 0.12766310572624207, -0.15924568474292755, -0.5839236974716187, -0.6021804809570312, 0.11049500852823257, 0.22136296331882477, -0.7945348024368286, -0.1683560311794281, 0.10198897868394852, -0.35118958353996277, -0.12734869122505188, -0.14166496694087982, 0.15417997539043427, 0.3289392590522766, 0.5999045968055725, 0.47133612632751465, -0.3551727831363678, -0.21908800303936005, -0.17454585433006287, -0.3523588180541992, 0.1815466582775116, -0.13369308412075043, 0.7485596537590027, -0.009025792591273785, -0.8576441407203674, -0.39544764161109924, -0.04236329346895218, 0.7875986099243164, -0.2776075303554535, 0.9049607515335083, 0.4875209629535675, 0.040174104273319244, -0.13687537610530853, -0.4615879952907562, 0.17354707419872284, -0.4743216633796692, 0.405803918838501, -0.10809201747179031, -0.9418936371803284, 0.462881475687027, 0.09221228212118149, 0.37101271748542786, 0.4510471522808075, 0.6720641851425171, 0.026738127693533897, 0.9238777160644531, 0.50557941198349, -0.11974965035915375, 0.3473861515522003, -0.2288588583469391, 0.46465739607810974, -0.6048601865768433, -0.3638140857219696, -0.8433089852333069, 0.0359637513756752, -0.5588720440864563, -0.5667160749435425, 0.41576480865478516, 0.23953282833099365, -0.5087854266166687, 0.1825050562620163, -0.5665546655654907, 0.5530115962028503, 0.8292521238327026, -0.07103178650140762, 0.39370328187942505, -0.13175667822360992, 0.18584056198596954, 0.23945359885692596, -0.5591508150100708, -0.9724138975143433, 1.3301124572753906, 0.4772646725177765, 0.8187893629074097, 0.14390544593334198, 0.6117076277732849, 0.40318068861961365, 0.5276997685432434, -0.6884728074073792, 0.528595507144928, -0.09570153802633286, -0.3927447497844696, -0.3098362982273102, -0.7086047530174255, -0.8457764983177185, -0.003273693611845374, -0.18396414816379547, -0.6227580904960632, -0.5618644952774048, 0.1862712949514389, -0.21413640677928925, 0.15822184085845947, -0.6299229860305786, 0.811884343624115, -0.4139474034309387, -0.22776083648204803, -0.36605194211006165, -0.3090982735157013, 0.5698294043540955, 0.005557653959840536, 0.13718774914741516, -0.29974862933158875, 0.07108225673437119, 0.5879126191139221, -0.3005664050579071, 0.6246605515480042, 0.06112660840153694, -0.42588409781455994, 0.48848894238471985, 0.3702104687690735, 0.3294198513031006, 0.08925829082727432, -0.1955682933330536, 0.3343956768512726, -0.17321547865867615, -0.3682064116001129, -0.40724149346351624, 0.9035765528678894, -1.081513524055481, -0.4804159998893738, 0.048408787697553635, -0.3404724597930908, -0.09504733234643936, 0.011693860404193401, 0.009820418432354927, 0.44083264470100403, -0.13411137461662292, 0.19675025343894958, 0.3298923075199127, -0.9598684906959534, 0.3658997416496277, 0.20146678388118744, -0.4351849853992462, -0.31693142652511597, 0.9478162527084351, -0.028680210933089256, 0.5884040594100952, 0.11799299716949463, -0.17386436462402344, -0.0057448274455964565, -0.6405462026596069, -0.5738686323165894, 0.24655403196811676, -0.7780293226242065, -0.17089414596557617, -0.3079376816749573, -0.6021590828895569, -0.3833748698234558, -0.19736912846565247, -0.5739116668701172, -0.2907352149486542, -0.021725628525018692, 0.33382731676101685, 0.09901853650808334, 1.0603569746017456, 0.30876392126083374, 0.08167706429958344, -1.0348303318023682, 0.2069370001554489, 0.21280808746814728, 0.4048297107219696, 0.11309802532196045, -0.30882754921913147, -0.29121118783950806, 0.035034649074077606, -0.4227766692638397, -0.47603553533554077, 0.2978866994380951, -0.15285058319568634, 0.699093222618103, 0.3452436029911041, -0.3626774847507477, 0.2774811089038849, 0.04777267947793007, 1.2873517274856567, 0.33925825357437134, -0.9582682847976685, 0.4806971251964569, -0.39772939682006836, 0.2209533452987671, 0.03161687031388283, 0.30117067694664, -0.6592299342155457, -0.7241629362106323, -0.5729148983955383, -0.6773761510848999, 0.5349149107933044, 0.628670334815979, 0.4248161017894745, -0.0038802598137408495, 0.32416775822639465, 0.23726332187652588, 0.3143632709980011, -0.5741662979125977, -0.07002168148756027, -0.21366991102695465, -0.15042395889759064, -0.17644120752811432, -0.34328269958496094, 0.2644718587398529, 0.22487671673297882, 0.5518239140510559, -0.036469392478466034, 0.4082484543323517, -0.272732675075531, -0.02441488206386566, 0.19283287227153778, 0.3431602418422699, 0.47851279377937317, 0.8765185475349426, 0.057368744164705276, -0.2671978175640106, -0.29859867691993713, -0.26350730657577515, -0.11851219087839127, -0.5869763493537903, 0.0022681073751300573, -0.17575989663600922, 0.689845621585846, 0.49110931158065796, -0.24035052955150604, -0.9778749346733093, 0.643149197101593, 0.19356600940227509, -0.01949257031083107, -0.15085555613040924, 0.6545907258987427, 0.18506398797035217, 0.13580314815044403, 0.25576576590538025, 0.03787703067064285, -0.2322050780057907, -0.785784900188446, -0.20314069092273712, 0.4100153148174286, -0.08156634122133255, -0.18906378746032715, 0.48803430795669556, 0.46175217628479004, -0.4265151619911194, 1.194264531135559, -0.13641557097434998, -0.3963261544704437, 0.8800703883171082, 0.48384952545166016, 0.5447158217430115, 0.15981541574001312, -0.0074324458837509155, 0.4987013041973114, 0.4169420301914215, 0.03574661538004875, 0.24170970916748047, 0.12933249771595, -0.6493180990219116, -0.8261861801147461, -0.6518407464027405, -0.6474522352218628, 0.013278127647936344, -0.3616153597831726, 0.029181063175201416, -0.38890013098716736, -0.09847978502511978, -0.3142094314098358, -0.11206738650798798, -0.6732384562492371, 0.006551739294081926, 0.3776647448539734, 0.7153855562210083, -0.6174691319465637, 0.5608403086662292, 0.4426872134208679, -0.4574420154094696, -0.7575930953025818, -0.10724448412656784, -0.22726799547672272, -1.0566059350967407, 0.7895799875259399, 0.11431240290403366, -0.04452013224363327, -0.23074916005134583, -0.6206740140914917, -0.7818199396133423, 0.8369282484054565, 0.39641714096069336, -0.6120940446853638, 0.07668647915124893, 0.39934608340263367, 0.7426983714103699, -0.21747902035713196, 0.6159814596176147, 0.5133604407310486, 0.3019222915172577, 0.09487979114055634, -1.3137394189834595, -0.21235904097557068, -0.27251437306404114, 0.27519869804382324, 0.16663606464862823, -0.6213665008544922, 0.628034234046936, -0.374756395816803, -0.1829242706298828, 0.2796782851219177, 0.6829912066459656, 0.24188601970672607, 0.100529246032238, -0.025449145585298538, 0.1438448131084442, 0.7271994948387146, -0.33755040168762207, 1.1309864521026611, -0.572813093662262, 0.3382696509361267, 0.8220164179801941, -0.17648877203464508, 0.9918729066848755, 0.11550144851207733, -0.4395911991596222, 0.3783110976219177, 0.2681798040866852, -0.20212695002555847, 0.00824218150228262, 0.6511564254760742, 0.21535982191562653, -0.19151915609836578, 0.27325573563575745, -0.13752998411655426, 0.4934047758579254, 0.3545534610748291, -0.47596505284309387, 0.16564109921455383, -0.06488848477602005, 0.12148773670196533, 0.043598975986242294, -0.3354228138923645, 0.8055410981178284, 0.0066449916921556, -1.0168460607528687, 0.6705206632614136, -0.018080275505781174, 0.8709201812744141, -0.42545124888420105, 0.1134386733174324, -0.31278228759765625, 0.318162202835083, -0.31834885478019714, -1.1574259996414185, 0.43466001749038696, 0.3334941864013672, 0.19189171493053436, -0.06837975978851318, 0.5158518552780151, 0.0672532394528389, -0.3633396327495575, 0.1301833838224411, 0.70879727602005, 0.5744892358779907, -0.03133378550410271, -0.559447705745697, 0.2744942903518677, 0.032285213470458984, -0.14380085468292236, 0.22468911111354828, 0.32080313563346863, 0.30473122000694275, 1.0194246768951416, 0.8579845428466797, 0.20120538771152496, 0.16346263885498047, 0.00953120831400156, 0.7810536026954651, -0.4155929386615753, -0.03066144697368145, -0.921977162361145, 0.39309021830558777, -0.0689953938126564, -0.4834767282009125, 0.9078216552734375, 0.6209169030189514, 0.9981139302253723, -0.1655779629945755, 0.7401872277259827, -0.2274995893239975, 0.22884400188922882, -0.5354889035224915, 0.7927204966545105, -0.28054913878440857, 0.3977624773979187, -0.2653116285800934, -0.9642540812492371, -0.21847891807556152, 0.3802940845489502, -0.2983090877532959, 0.1564112901687622, 0.4206202030181885, 0.9961276650428772, 0.02356341853737831, -0.2835004925727844, 0.6481404900550842, 0.15567468106746674, 0.5896316766738892, 0.820449948310852, 1.2039906978607178, -0.36733779311180115, 0.8915141224861145, 0.05667639151215553, -0.263251930475235, -0.2403959035873413, -0.7507238984107971, -0.9982093572616577, -0.42474302649497986, -0.36288756132125854, -0.6575016379356384, -0.11550669372081757, 0.8391844630241394, 0.5018266439437866, -0.5281713604927063, -0.25229790806770325, 0.05578158423304558, 0.010952110402286053, -0.2396136075258255, -0.16494856774806976, 0.21720995008945465, -0.40035733580589294, -0.7196570038795471, 0.10901632159948349, 0.3865141272544861, -0.031392425298690796, -0.507136344909668, -0.3590116500854492, 0.5903685688972473, 0.20553958415985107, 0.6979546546936035, 0.05988303944468498, -0.715070366859436, -0.1189316138625145, -0.06225578859448433, -0.47557753324508667, 0.028967799618840218, 0.7769584655761719, -0.4846213161945343, 0.07169074565172195, 0.7505760192871094, 0.6286345720291138, 0.18536260724067688, -0.12158484756946564, 0.436166912317276, -0.3588617146015167, -0.33100584149360657, 0.10936165601015091, 0.35599276423454285, 0.3471112847328186, -0.04939823970198631, 0.579226016998291, -0.24948875606060028, -1.0184212923049927, -0.7463074922561646, 0.047357942909002304, -0.7800159454345703, -0.12502425909042358, 1.4239495992660522, -0.5699672102928162, -0.1302299201488495, 0.10253090411424637, -0.3599051833152771, 0.2107580155134201, -0.34985703229904175, 0.9157745242118835, 0.7630553841590881, -0.11977212131023407, 0.09065549075603485, -0.7681632041931152, 0.17526279389858246, 0.18522357940673828, -0.8803008198738098, 0.10959931463003159, 0.5573146343231201, 0.3402916491031647, 0.254462331533432, 0.5353319048881531, -0.35380563139915466, 0.34984084963798523, 0.24480688571929932, 0.3518853187561035, -0.2215915471315384, -0.17515647411346436, -0.07524184882640839, 0.37716642022132874, 0.661434531211853, 0.09359955042600632 ]
http://arxiv.org/abs/2405.14385v1
http://arxiv.org/pdf/2405.14385v1
Emotion Identification for French in Written Texts: Considering their Modes of Expression as a Step Towards Text Complexity Analysis
2024-05-23T10:02:13
2024-05-23T10:02:13
Aline Étienne, Delphine Battistelli, Gwénolé Lecorvé
cs.CL
cs.CL, cs.AI
The objective of this paper is to predict (A) whether a sentence in a written text expresses an emotion, (B) the mode(s) in which it is expressed, (C) whether it is basic or complex, and (D) its emotional category. One of our major contributions, through a dataset and a model, is to integrate the fact that an emotion can be expressed in different modes: from a direct mode, essentially lexicalized, to a more indirect mode, where emotions will only be suggested, a mode that NLP approaches generally don't take into account. Another originality is that the scope is on written texts, as opposed usual work focusing on conversational (often multi-modal) data. In this context, modes of expression are seen as a factor towards the automatic analysis of complexity in texts. Experiments on French texts show acceptable results compared to the human annotators' agreement, and outperforming results compared to using a large language model with in-context learning (i.e. no fine-tuning).
[ -0.16344736516475677, -0.8509416580200195, 0.6972924470901489, 0.6131154298782349, -0.23053397238254547, -0.017527300864458084, -0.40765655040740967, -0.6194741129875183, 0.09703025221824646, 0.36057281494140625, -0.37908613681793213, -0.46651437878608704, -0.9635940790176392, 0.5287249088287354, -0.5676050782203674, 0.7818690538406372, -0.49832993745803833, -0.025397758930921555, -0.21194428205490112, -0.15952585637569427, -0.08785907179117203, -0.8065335154533386, -0.6614346504211426, -0.20602843165397644, 0.7044021487236023, 0.2276318073272705, 0.2762255370616913, 0.13621118664741516, 0.5606368780136108, 0.44397392868995667, -0.03525802493095398, 0.06498610228300095, -0.37290987372398376, 0.3032820522785187, 0.2049284130334854, -0.3419695198535919, -0.42151883244514465, 0.13055406510829926, 0.4276154637336731, 0.3147667944431305, 0.21499530971050262, -0.31344643235206604, 0.13525570929050446, 1.1796867847442627, -0.5859391689300537, 0.5216131210327148, -0.17610858380794525, 0.3340710997581482, 0.001963819842785597, -0.35531938076019287, -0.5176624655723572, -0.26977774500846863, 0.4735134243965149, -0.0772581472992897, -0.0578790120780468, 0.0250242929905653, 0.82201087474823, 0.01173376850783825, -0.8947879672050476, -0.7378218770027161, -0.7290168404579163, 0.6250060796737671, -0.3444052040576935, 0.22406524419784546, 0.09988599270582199, -0.09851563721895218, 0.14720381796360016, -0.4960241913795471, -0.7340185046195984, -0.17447113990783691, -0.21290789544582367, 0.4560769498348236, -0.311496376991272, 0.2672281861305237, 0.4649962782859802, 0.4886970818042755, -0.5403004288673401, -0.18412788212299347, -0.3036966919898987, 0.04905778914690018, 0.8494535684585571, 0.10510421544313431, 0.5949068069458008, -0.39243894815444946, -0.36961638927459717, 0.1022699624300003, -0.21433612704277039, 0.3520161807537079, 0.49917247891426086, 0.10885556042194366, -0.4561603367328644, 0.7146666049957275, -0.22682586312294006, 0.48801755905151367, -0.22000473737716675, 0.14127536118030548, 0.3079714775085449, -0.0713110938668251, -0.3554614782333374, 0.03950759023427963, 1.0872875452041626, 0.6355463862419128, 0.5144789814949036, -0.024738255888223648, -0.6458092927932739, 0.15396550297737122, 0.1936597377061844, -0.6864875555038452, -0.11415847390890121, 0.2932112514972687, -0.5319404602050781, -0.2816806435585022, 0.1692793369293213, -1.071824073791504, -0.40821778774261475, -0.382639616727829, 0.5742706060409546, -0.3503619134426117, -0.15209397673606873, 0.11304106563329697, -0.1550542265176773, 0.1312166154384613, 0.4694578945636749, -0.9023957848548889, 0.5015458464622498, 0.36742329597473145, 0.7835546731948853, -0.15217286348342896, -0.031751397997140884, -0.13813064992427826, -0.41280704736709595, -0.15080858767032623, 0.6040337085723877, -0.6938300728797913, -0.6365317702293396, 0.16847717761993408, 0.219709113240242, -0.4221208691596985, 0.048626385629177094, 0.9631906151771545, -0.2237839251756668, 0.5800589323043823, -0.43827590346336365, -0.5369601249694824, -0.38965994119644165, 0.014567567966878414, -0.9488746523857117, 1.3020654916763306, 0.27266359329223633, -0.654285728931427, 0.05280696228146553, -0.7616196870803833, -0.4943450689315796, -0.06189965456724167, -0.10924909263849258, -0.17902693152427673, 0.5054095983505249, -0.06242140755057335, 0.5595217943191528, -0.5219332575798035, 0.005244712345302105, 0.12780404090881348, -0.06124500185251236, 0.3927322030067444, -0.35131916403770447, 0.41287681460380554, 0.045033521950244904, -0.5983728766441345, 0.13702522218227386, -0.5866590142250061, -0.1271916925907135, 0.09326272457838058, -0.3183090388774872, -0.4087553918361664, 0.270429790019989, 0.5018333792686462, 0.23223520815372467, 0.3423543870449066, -0.7076880931854248, 0.2745074927806854, -0.4761161208152771, 0.2766093313694, 0.6400170922279358, 0.18569056689739227, 0.5889652967453003, -0.145863875746727, 0.6645523905754089, -0.13408467173576355, -0.09432864934206009, -0.07687334716320038, -0.616866946220398, -0.7657344937324524, -0.09792590886354446, 0.2794986367225647, 0.8283663392066956, -0.23488828539848328, 0.5225091576576233, 0.029977502301335335, -0.3667682409286499, -0.15360738337039948, -0.04459341987967491, 0.48383575677871704, 0.6421656012535095, 0.1999834179878235, -0.30782076716423035, -0.37001603841781616, -0.849480926990509, -0.33732011914253235, -0.19524745643138885, 0.19525428116321564, 0.5195519328117371, 0.4736306369304657, -0.2558824121952057, 0.6788923740386963, -0.371660977602005, 0.06736767292022705, -0.3742501735687256, 0.546760618686676, -0.26911279559135437, 0.4474152624607086, 0.6316068768501282, -1.2477054595947266, -0.6952932476997375, 0.17655205726623535, -0.8538803458213806, -0.2870422601699829, -0.20201298594474792, 0.04020988196134567, 0.4063197076320648, 0.4852493405342102, -0.3888600468635559, 0.4895404279232025, 0.602541446685791, -0.34485924243927, 0.2426041066646576, -0.15289521217346191, 0.5392308831214905, -0.7353585958480835, -0.1450212299823761, 0.5516830682754517, 0.027222098782658577, -0.7638706564903259, -0.3554602563381195, 0.17183208465576172, -0.14182505011558533, -0.24546770751476288, 0.7182885408401489, -0.25471875071525574, 0.5868905186653137, -0.0841030478477478, 0.17232133448123932, 0.20047146081924438, 0.4208292067050934, 0.3924548625946045, 0.30653151869773865, 0.4844764769077301, -0.36680638790130615, 0.21847878396511078, -0.1262550950050354, -0.26932263374328613, 0.4953280985355377, -0.5533561110496521, -0.050517309457063675, -0.5119659900665283, 0.08044975250959396, -1.19273841381073, -0.4990452826023102, 0.3828819692134857, -0.2877657115459442, 0.4053195118904114, 0.10294845700263977, -0.19158653914928436, -0.058129314333200455, 0.016044655814766884, 0.39585772156715393, 0.43129920959472656, -0.034914929419755936, 1.1071761846542358, 0.0991382822394371, -0.2851180136203766, -0.45848751068115234, -0.5473164319992065, 0.15554594993591309, -0.34495121240615845, -0.5493122339248657, 0.23595397174358368, -0.12042141705751419, -0.4164719581604004, -0.1131107285618782, -0.10440227389335632, -0.2487950623035431, 0.1278478354215622, 0.64979088306427, 0.06392741203308105, -0.05558181554079056, 0.5000584125518799, 0.39022424817085266, 0.03237806633114815, 0.29246893525123596, 0.43766549229621887, 0.21570372581481934, -0.4033810794353485, -0.0298748929053545, -0.39264115691185, 0.8431591987609863, 0.5782932639122009, -0.3045203983783722, 0.5673768520355225, 0.6295349597930908, -0.6410708427429199, -0.1401585042476654, -0.3779536783695221, 0.1609518975019455, -0.41659852862358093, 0.27350831031799316, -0.5291891098022461, -0.8129974603652954, 0.4980849325656891, -0.21247322857379913, -0.41286519169807434, 0.8706886768341064, 0.6287218928337097, -0.23382535576820374, 0.9945141673088074, 0.8929618000984192, -0.04504590854048729, 0.35639065504074097, -0.04785604774951935, 0.34347644448280334, -0.5826836228370667, -0.28339627385139465, -0.7575717568397522, -0.4006541073322296, -0.7899248003959656, -0.12754838168621063, 0.1824934184551239, 0.2421308159828186, 0.04572344943881035, -0.012533120810985565, -0.5474997162818909, 0.4814728796482086, 0.14362646639347076, 0.15692968666553497, -0.10655058175325394, -0.23486588895320892, 0.1477992832660675, -0.10797637701034546, -0.41733014583587646, -0.8675957918167114, 0.8855272531509399, 0.3825629949569702, 0.36442533135414124, 0.28900402784347534, 0.8692659139633179, 0.19137470424175262, 0.5412553548812866, -1.1562600135803223, 0.44689619541168213, -0.1894311010837555, -0.34994685649871826, -0.22829453647136688, -0.32991087436676025, -0.7364976406097412, -0.04896748811006546, -0.5426452159881592, -1.2372262477874756, 0.4364989101886749, -0.0335984081029892, -0.06569255143404007, 0.05453234910964966, -0.9525356888771057, 1.2083837985992432, -0.2300151288509369, -0.14207230508327484, 0.18820467591285706, -0.6517101526260376, 0.28989875316619873, -0.15611234307289124, 0.2800902724266052, -0.12100869417190552, -0.18185371160507202, 0.8645093441009521, -0.231195330619812, 0.8748301267623901, 0.014870124869048595, -0.09687836468219757, 0.4184185266494751, 0.22261247038841248, 0.4165813624858856, 0.01229434460401535, -0.2927120327949524, -0.1444496214389801, -0.02713409811258316, -0.23518888652324677, -0.7472876906394958, 0.5720434188842773, -0.6550269722938538, -0.39683279395103455, -0.44796350598335266, -0.4077328145503998, -0.0995102971792221, 0.006940630730241537, 0.4805386960506439, 0.8187851309776306, -0.36011621356010437, 0.2072608917951584, 0.6481808423995972, -0.15888454020023346, 0.6340386271476746, 0.16176624596118927, 0.009976575151085854, 0.1196824312210083, 0.8761632442474365, -0.05596081539988518, 0.16688935458660126, 0.7020679712295532, 0.515998899936676, -0.24463403224945068, -0.20785410702228546, -0.3082767426967621, -0.13852277398109436, -0.8788179159164429, 0.09360051900148392, -0.9238852858543396, -0.043308012187480927, 0.0013265066081658006, -0.5263551473617554, -0.20863637328147888, -0.351791650056839, -0.481117308139801, -0.028241341933608055, 0.49186497926712036, 0.8074544668197632, 0.18836121261119843, 0.26148730516433716, -1.0044808387756348, 0.15988455712795258, 0.23263520002365112, 0.2167394608259201, -0.30751386284828186, -0.26863953471183777, -0.08477387577295303, -0.3011001944541931, -0.05085795745253563, -1.2708203792572021, 0.592467725276947, 0.3855780363082886, 0.027189796790480614, 0.37479135394096375, 0.18101775646209717, -0.07569243758916855, -0.3293716013431549, 0.8633078336715698, 0.11910875141620636, -1.31559157371521, 0.4326503574848175, -0.3390662968158722, 0.15106293559074402, 0.3859599232673645, 0.7995348572731018, -0.6727909445762634, -0.27961066365242004, -0.5095943808555603, -0.8474839925765991, 0.3383069634437561, 0.15888333320617676, 0.4035351574420929, -0.23430119454860687, 0.6778692007064819, -0.21017277240753174, 0.2238360345363617, -1.0452710390090942, -0.3016137182712555, 0.005767452996224165, -0.8375706076622009, -0.3031529486179352, -0.5535325407981873, -0.2182035893201828, -0.0776376947760582, 0.18168924748897552, -0.05018039420247078, 0.636337161064148, 0.566173255443573, -0.1501920074224472, -0.4357651472091675, 0.3123840093612671, 0.7594561576843262, 0.4402402341365814, -0.3124462068080902, 0.20376749336719513, -0.04502517729997635, -0.36059850454330444, 0.1930001676082611, -0.043418098241090775, 0.15329045057296753, -0.05804256722331047, 0.6815536022186279, 0.8465293049812317, 0.17020390927791595, -0.6720920205116272, 0.799636721611023, -0.12799866497516632, -0.3439096510410309, 0.034851863980293274, -0.036352284252643585, -0.1084088459610939, 0.40383943915367126, 0.19664226472377777, 0.09843727201223373, 0.43701568245887756, -0.5273430943489075, 0.03522873297333717, 0.26575660705566406, -0.9613283276557922, -0.3469063937664032, 0.43467995524406433, 0.3715227246284485, -0.4706675708293915, 0.25223401188850403, -0.4170074164867401, -0.9994195103645325, 0.7598737478256226, 0.23078784346580505, 1.3785487413406372, -0.23426975309848785, 0.10843592137098312, 0.42772918939590454, 0.4953962564468384, -0.050267294049263, 0.7288489937782288, 0.18309468030929565, -0.6984207630157471, -0.37324464321136475, -0.718546450138092, -0.39882102608680725, -0.2216855138540268, -0.6917470097541809, 0.07528584450483322, -0.19033730030059814, 0.031090183183550835, 0.06659451127052307, -0.18294355273246765, -0.6690033674240112, 0.7791242003440857, 0.1851862370967865, 0.7498229146003723, -1.2735289335250854, 0.6858084201812744, 0.5732956528663635, -0.24156272411346436, -0.7331075072288513, -0.039568524807691574, 0.286878764629364, -0.11827217042446136, 0.9778944849967957, 0.39365044236183167, -0.4383963644504547, -0.03888404741883278, -0.5486505627632141, -0.3259194493293762, 0.5242101550102234, -0.2594144344329834, -0.6474183797836304, 0.17982928454875946, -0.1679956316947937, 0.833876371383667, -0.6711336374282837, 0.2776239514350891, 0.20394466817378998, 0.5816158652305603, -0.2835298180580139, -0.646162211894989, 0.09688282757997513, -0.5115399956703186, -0.17015022039413452, 0.41002923250198364, -0.482939749956131, 0.9953632354736328, 0.18007051944732666, -0.4432414770126343, -0.19643284380435944, 0.7023467421531677, -0.7875008583068848, 0.19660234451293945, 0.6116341352462769, 0.23913733661174774, 0.6882054209709167, -0.46216657757759094, 1.1993244886398315, -0.48650386929512024, 0.2883693277835846, 0.6568368673324585, -0.11214747279882431, 0.7949408888816833, 0.23274707794189453, -0.03502151370048523, 0.7148360013961792, 0.6274715065956116, 0.3073309361934662, 0.031170401722192764, 0.25466689467430115, -0.5877344608306885, -0.14612755179405212, 0.16360385715961456, -0.07415905594825745, 0.5928705334663391, 0.5445891618728638, -0.4878993332386017, 0.15532487630844116, 0.12472378462553024, -0.03229334577918053, 0.30748146772384644, -0.2524740993976593, 0.6577562093734741, -0.06359407305717468, -0.3364647328853607, 0.18120430409908295, 0.15400567650794983, 0.3052886724472046, -0.4725906252861023, 0.03169633448123932, -0.002891194075345993, -0.2871657609939575, -0.34890973567962646, -0.7662993669509888, 0.23318475484848022, 0.055531833320856094, -0.37450188398361206, -0.21760404109954834, 0.693303644657135, -0.5673629641532898, -0.5023283958435059, 0.21474185585975647, 0.49581804871559143, 0.014819526113569736, -0.3077057898044586, -0.6257886290550232, 0.1604519486427307, -0.05379648879170418, -0.7216510772705078, 0.13130587339401245, 0.922008216381073, 0.0633731335401535, 0.37464800477027893, -0.0005726637318730354, -0.3016960322856903, -0.2818537950515747, -0.04075796529650688, 0.657799243927002, -0.745281457901001, -0.06568173319101334, -0.9485586881637573, 0.823959231376648, 0.04039241746068001, -0.4497719705104828, 0.5097293257713318, 0.5107793807983398, 0.18760105967521667, -0.09641844779253006, 0.9343459010124207, -0.27768078446388245, 0.18942146003246307, -0.5621078610420227, 0.4399474859237671, -0.7522306442260742, -0.11786340177059174, -0.8783632516860962, -0.8382682800292969, -0.3324829041957855, 0.77549809217453, -0.3003915846347809, 0.0005336316535249352, 0.9736320972442627, 0.5189192891120911, 0.11612696200609207, 0.197865292429924, 0.11394278705120087, 0.10671978443861008, 0.054006144404411316, 0.6112014055252075, 0.7200364470481873, -0.4473113715648651, -0.026472201570868492, -0.5041821599006653, -0.5089311599731445, -0.19801297783851624, -1.2451525926589966, -0.693673849105835, -1.0861499309539795, -0.5966805219650269, -0.5452283024787903, -0.2832125127315521, 0.8112749457359314, -0.11818350106477737, -0.5355731248855591, -0.2167423814535141, 0.0038702248129993677, 0.2003549486398697, 0.04564591869711876, -0.20237062871456146, 0.37543216347694397, -0.292888343334198, -1.1614500284194946, 0.1270175576210022, 0.6367549300193787, 0.186628058552742, -0.06216321885585785, -0.004511475097388029, -0.060839831829071045, 0.6383585929870605, 0.9102845788002014, 0.2936510443687439, -0.5655384659767151, -0.6543656587600708, -0.10541671514511108, -0.3967165946960449, -0.022028744220733643, 0.8137057423591614, -0.21005025506019592, 0.8841615915298462, 0.5749737024307251, 0.33183449506759644, 0.3602682948112488, -0.11465106904506683, 0.6603030562400818, -0.5153316855430603, 0.20505592226982117, 0.29797762632369995, 0.4048076272010803, 0.06736026704311371, -0.42995327711105347, 0.3657594919204712, 0.12909112870693207, -0.6117146015167236, -0.6792269945144653, 0.3028528094291687, -1.5356049537658691, -0.05788514390587807, 1.1217029094696045, -0.1515154242515564, -0.24528835713863373, 0.11950376629829407, -0.5538068413734436, 0.15339845418930054, -0.32449519634246826, 0.6246424317359924, 0.9676588177680969, -0.21340332925319672, -0.23857897520065308, -0.6459206938743591, 0.9844851493835449, 0.2604171931743622, -0.8094534277915955, 0.03772691637277603, 0.5762559771537781, -0.3529500663280487, 0.08562882989645004, 0.6189765334129333, 0.06430862098932266, 0.025810111314058304, -0.06557181477546692, 0.23899997770786285, 0.6076356768608093, -0.36831358075141907, -0.3689296841621399, 0.3779444694519043, -0.1351441591978073, 0.3445911109447479 ]
http://arxiv.org/abs/2405.14383v1
http://arxiv.org/pdf/2405.14383v1
Perception of Knowledge Boundary for Large Language Models through Semi-open-ended Question Answering
2024-05-23T10:00:14
2024-05-23T10:00:14
Zhihua Wen, Zhiliang Tian, Zexin Jian, Zhen Huang, Pei Ke, Yifu Gao, Minlie Huang, Dongsheng Li
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are widely used for knowledge-seeking yet suffer from hallucinations. The knowledge boundary (KB) of an LLM limits its factual understanding, beyond which it may begin to hallucinate. Investigating the perception of LLMs' KB is crucial for detecting hallucinations and LLMs' reliable generation. Current studies perceive LLMs' KB on questions with a concrete answer (close-ended questions) while paying limited attention to semi-open-ended questions (SoeQ) that correspond to many potential answers. Some researchers achieve it by judging whether the question is answerable or not. However, this paradigm is unsuitable for SoeQ, which are usually partially answerable, containing both answerable and ambiguous (unanswerable) answers. Ambiguous answers are essential for knowledge-seeking, but they may go beyond the KB of LLMs. In this paper, we perceive the LLMs' KB with SoeQ by discovering more ambiguous answers. First, we apply an LLM-based approach to construct SoeQ and obtain answers from a target LLM. Unfortunately, the output probabilities of mainstream black-box LLMs are inaccessible to sample for low-probability ambiguous answers. Therefore, we apply an open-sourced auxiliary model to explore ambiguous answers for the target LLM. We calculate the nearest semantic representation for existing answers to estimate their probabilities, with which we reduce the generation probability of high-probability answers to achieve a more effective generation. Finally, we compare the results from the RAG-based evaluation and LLM self-evaluation to categorize four types of ambiguous answers that are beyond the KB of the target LLM. Following our method, we construct a dataset to perceive the KB for GPT-4. We find that GPT-4 performs poorly on SoeQ and is often unaware of its KB. Besides, our auxiliary model, LLaMA-2-13B, is effective in discovering more ambiguous answers.
[ -0.5788236260414124, -0.9247846603393555, 1.09428071975708, 0.011495248414576054, -0.15536756813526154, 0.000688475847709924, -0.3405824899673462, -0.6949183940887451, -0.00853806734085083, 0.5798946022987366, -0.7321581840515137, -0.4970347285270691, -0.5708754658699036, 0.11557206511497498, -0.15165206789970398, 0.7491079568862915, -0.08918808400630951, -0.18147990107536316, -0.41688862442970276, 0.049229126423597336, -0.5311473608016968, -0.5540485978126526, -0.3889947831630707, -0.3003740906715393, 0.3417225778102875, 0.20566868782043457, 0.5567446947097778, 0.3262421190738678, 0.32839009165763855, 0.19394166767597198, -0.23331768810749054, 0.10778120905160904, -0.6509789228439331, -0.07471443712711334, -0.33337339758872986, -0.5751148462295532, -0.11500117927789688, -0.2208951860666275, 0.5920316576957703, 0.9301512241363525, -0.02530934289097786, 0.2305581271648407, 0.030332433059811592, 0.4725480377674103, -0.5325400233268738, 0.022740310057997704, -0.7660531401634216, 0.22899998724460602, -0.28442633152008057, -0.23867428302764893, -0.358059287071228, -0.1471686065196991, 0.24168041348457336, -0.5425119400024414, 0.04812775179743767, -0.010354853235185146, 0.6938295364379883, 0.2560293674468994, -0.5041384100914001, -0.3481144905090332, -0.9106606245040894, 0.7676317691802979, -0.615351140499115, 0.6979048848152161, 0.24152016639709473, 0.31921684741973877, -0.44971519708633423, -0.5031081438064575, -0.6977635025978088, -0.1336735188961029, 0.013942052610218525, 0.23614326119422913, -0.2587265372276306, 0.09459720551967621, 0.32131943106651306, 0.2512575387954712, -0.6552644371986389, 0.08846000581979752, -0.3629308342933655, -0.4881700575351715, 0.49045422673225403, 0.18277235329151154, 0.09347723424434662, -0.27458658814430237, -0.5526940822601318, 0.2461090087890625, -0.7300007939338684, 0.07816758751869202, 0.38486436009407043, -0.0005638956208713353, 0.13058412075042725, 0.7590224742889404, -0.15576758980751038, 0.996380090713501, 0.06313349306583405, -0.1419975906610489, 0.1467273086309433, -0.06940917670726776, -0.08684132248163223, -0.0963371992111206, 0.5932332277297974, 0.33444780111312866, 0.1594906449317932, -0.2449062168598175, -0.22792549431324005, -0.01872980035841465, 0.20239926874637604, -0.43486160039901733, 0.07423534244298935, 0.19086533784866333, -0.4055369794368744, 0.057508714497089386, -0.13273702561855316, -0.8382203578948975, -0.4651622772216797, -0.23715263605117798, 0.5528038144111633, -0.3243502378463745, -0.26953139901161194, 0.2022586166858673, 0.015376405790448189, 0.3716180622577667, 0.4412890076637268, -0.48122677206993103, 0.2609066963195801, 0.4188421964645386, 0.5882558226585388, -0.23225724697113037, -0.13831262290477753, -0.35861286520957947, 0.2123951017856598, -0.33409878611564636, 0.7939919233322144, -0.6499235033988953, -0.22953379154205322, -0.15100905299186707, -0.12223554402589798, 0.1041114553809166, -0.7720869779586792, 0.4120863378047943, -0.9001977443695068, 0.16267511248588562, -0.29878664016723633, -0.5975615978240967, -0.33173680305480957, 0.2974962592124939, -0.5726672410964966, 0.9379832148551941, 0.15496942400932312, -0.7731748819351196, 0.11412274092435837, -0.49077796936035156, -0.22443747520446777, 0.015777749940752983, -0.4930257797241211, -0.027863437309861183, 0.2640289068222046, 0.09377020597457886, 0.43660295009613037, -0.41769838333129883, 0.3336111307144165, -0.23681215941905975, -0.21048596501350403, 0.3970372676849365, -0.25872549414634705, 0.45682868361473083, 0.24688249826431274, -0.2796432673931122, -0.013056793250143528, -0.7713693976402283, 0.0041173845529556274, 0.13633915781974792, -0.2041226178407669, -0.43974700570106506, -0.22497983276844025, -0.37983110547065735, 0.37842485308647156, 0.48158544301986694, -0.6811670064926147, -0.06837479025125504, -0.41596904397010803, 0.14299000799655914, 1.0458154678344727, 0.23760762810707092, 0.29613229632377625, -0.21868883073329926, 0.6229504942893982, 0.16041474044322968, 0.12271366268396378, 0.33536383509635925, -0.6703404188156128, -0.5445094108581543, 0.17633332312107086, 0.058338627219200134, 0.3742322027683258, -0.8165578842163086, 0.3360195457935333, 0.07270477712154388, -0.4600561261177063, -0.518680989742279, 0.04037899523973465, 0.2320767194032669, 0.6608821749687195, 0.37022319436073303, 0.050745535641908646, -0.5027461647987366, -1.0731054544448853, -0.30723750591278076, -0.1560012549161911, -0.1328222006559372, 0.5619011521339417, 0.4610106348991394, -0.12328501790761948, 0.9266183376312256, -0.8044561147689819, -0.20946954190731049, -0.11922028660774231, -0.17940716445446014, 0.3875657021999359, 0.016602514311671257, 0.05843906104564667, -0.9729345440864563, -0.20279745757579803, -0.022841641679406166, -0.9785820245742798, -0.11027450114488602, 0.014396227896213531, -0.053429022431373596, 0.07312888652086258, 0.3348051607608795, -0.6280279159545898, 0.33955416083335876, 0.5117412805557251, -0.270903080701828, 0.6247715950012207, -0.012039550580084324, -0.09638901799917221, -0.8530086278915405, -0.024674415588378906, -0.0957757979631424, -0.036797456443309784, -0.7913941740989685, 0.12777598202228546, 0.0332922525703907, 0.18837668001651764, -0.4241872727870941, 0.7202128171920776, -0.5426062345504761, -0.33458298444747925, -0.18553777039051056, 0.26560842990875244, -0.12023144960403442, 0.5554381608963013, 0.3080810010433197, 0.5830065011978149, 0.5383282899856567, -0.5474793314933777, 0.3373122811317444, 0.17035910487174988, -0.4835579991340637, 0.22536760568618774, -0.4175185263156891, 0.308377742767334, -0.3522548973560333, 0.07172707468271255, -0.9093366265296936, -0.10636783391237259, 0.19449906051158905, -0.4173542559146881, 0.13833792507648468, 0.06641418486833572, -0.3664839565753937, -0.4083665907382965, -0.03423464298248291, 0.6269716620445251, 0.49135708808898926, -0.5285409688949585, 0.685167133808136, 0.45072025060653687, -0.21222852170467377, -0.673955500125885, -0.5024286508560181, -0.14274466037750244, -0.1529957503080368, -0.6727948784828186, 0.14438779652118683, -0.08236826956272125, -0.291939914226532, 0.025916920974850655, -0.4571402072906494, 0.19109266996383667, -0.06024669110774994, 0.17285265028476715, 0.35363152623176575, -0.07995685935020447, 0.16425643861293793, 0.0032266511116176844, 0.025124968960881233, 0.29648327827453613, -0.49855899810791016, 0.7386850714683533, -0.1667303591966629, -0.4210664629936218, 0.2500937283039093, 0.23293179273605347, 0.32939329743385315, -0.3379015028476715, 0.6092619895935059, 0.3003310263156891, -0.7480444312095642, -0.14447584748268127, -0.7339498400688171, -0.34089335799217224, -0.43747958540916443, 0.384124755859375, -0.7374930381774902, -1.255100131034851, 1.0212070941925049, -0.006241886876523495, -0.27240297198295593, 0.5177250504493713, 0.8517608046531677, -0.0684770718216896, 0.9034693241119385, 0.46759873628616333, 0.35419583320617676, -0.07736571878194809, -0.16263113915920258, 0.3381001055240631, -0.9674559235572815, -0.665375292301178, -0.2830485701560974, -0.1795022189617157, -0.5521004796028137, -0.4519709646701813, 0.7236136794090271, 0.21405674517154694, 0.04662911966443062, -0.07321936637163162, -0.41884860396385193, 0.37461864948272705, 0.4747004806995392, 0.33331099152565, 0.45786869525909424, -0.3302786946296692, -0.23453326523303986, 0.019974125549197197, -0.6544649004936218, -0.4310283064842224, 1.1189044713974, 0.5522081851959229, 0.919749915599823, 0.18689657747745514, 0.6379038095474243, 0.10232502222061157, 0.051953185349702835, -0.6059644222259521, 0.7199392914772034, 0.27499842643737793, -0.8797077536582947, -0.6178109645843506, -0.6062352657318115, -0.8048524856567383, 0.14628759026527405, -0.17280492186546326, -1.0265460014343262, 0.21101094782352448, -0.17947493493556976, -0.426812082529068, 0.3492337167263031, -0.42839452624320984, 0.8426545858383179, -0.15908773243427277, -0.3985746502876282, 0.15426313877105713, -0.7540682554244995, 0.638491690158844, -0.4192454218864441, 0.23676051199436188, 0.03259000927209854, -0.030071120709180832, 0.9103273153305054, -0.19630500674247742, 0.760105550289154, -0.26555201411247253, -0.4844990670681, 0.44034385681152344, 0.0553453229367733, 0.6637934446334839, 0.040839459747076035, 0.04563228040933609, 0.2553112804889679, -0.11389093846082687, -0.28404733538627625, -0.8370780348777771, 0.6669107675552368, -0.8538913130760193, -0.9632142186164856, -0.340469092130661, -0.6966676712036133, -0.3757934868335724, 0.3121287524700165, 0.434963196516037, 0.18870344758033752, 0.12038298696279526, -0.2671078145503998, 0.9055014252662659, -0.48329225182533264, -0.051706552505493164, 0.48396414518356323, -0.5095548629760742, 0.059684690088033676, 0.6263478398323059, 0.34294939041137695, 0.31432753801345825, 0.3765302300453186, 0.29077374935150146, -0.6677399277687073, -0.7679548263549805, -0.39030730724334717, 0.30801311135292053, -0.8124555349349976, -0.11893773078918457, -0.7963827848434448, -0.5189900398254395, -0.2598053514957428, 0.17630091309547424, -0.07289323955774307, -0.1883765310049057, -0.14201873540878296, -0.2586424648761749, 0.24143612384796143, 0.7833811640739441, -0.09120262414216995, 0.0011471298057585955, -0.6128365397453308, 0.5127579569816589, 0.3683280646800995, 0.533065676689148, 0.035515036433935165, -0.6546509861946106, -0.07620389759540558, 0.12641242146492004, -0.12071232497692108, -1.303625226020813, -0.06683272868394852, -0.29616281390190125, 0.7018359899520874, 0.33527126908302307, 0.3949734568595886, 0.526512622833252, -0.5216134190559387, 0.5946964621543884, 0.03906147554516792, -0.710690438747406, 0.45999813079833984, -0.31674331426620483, 0.168895423412323, 0.2436491847038269, 0.5554094314575195, -0.39517685770988464, -0.7598795890808105, -0.6350177526473999, -0.5553120374679565, 0.6401673555374146, 0.17227180302143097, -0.06670825183391571, 0.06385590136051178, 0.4393497109413147, 0.30404090881347656, 0.16911070048809052, -0.9377840161323547, -0.30438846349716187, 0.02636033296585083, 0.07658632844686508, -0.03086293488740921, -0.23624451458454132, -0.13827161490917206, -0.07987146079540253, 0.5045451521873474, -0.02861141599714756, 0.44042736291885376, 0.25037580728530884, 0.005451530683785677, -0.3117635250091553, 0.449218213558197, 0.5148837566375732, 0.7345850467681885, -0.43016505241394043, 0.3804256021976471, 0.38796213269233704, -0.27539145946502686, 0.19946426153182983, 0.19353210926055908, -0.2483445256948471, -0.1960839182138443, 0.3790283799171448, 0.8071811199188232, -0.3259658217430115, -0.7527283430099487, 0.4897913336753845, 0.12351194024085999, -0.24227789044380188, -0.4403500258922577, -0.0040640500374138355, 0.19280500710010529, 0.4234454333782196, 0.46439358592033386, 0.01209814939647913, 0.3225060999393463, -0.7401190400123596, 0.18765155971050262, 0.5726509094238281, -0.3608648180961609, -0.22011412680149078, 0.6403689980506897, -0.1882244497537613, -0.16905201971530914, 0.4307246208190918, -0.1877526342868805, -0.7793861627578735, 0.4951976537704468, 0.6870068907737732, 0.537369430065155, -0.2178354561328888, 0.05269840732216835, 0.08723519742488861, 0.46866917610168457, 0.30923694372177124, 0.5461261868476868, 0.04126235842704773, -1.0113117694854736, -0.556682288646698, -0.796349287033081, -0.26327863335609436, 0.5523688197135925, -0.7419213056564331, 0.14665953814983368, -0.24363145232200623, -0.056857481598854065, -0.08348274976015091, -0.16791608929634094, -0.6150768399238586, 0.33897069096565247, 0.12879277765750885, 0.9906445741653442, -0.9213313460350037, 0.5655681490898132, 0.7884180545806885, -0.15295784175395966, -0.8504114747047424, 0.17373867332935333, -0.26475194096565247, -0.9525271058082581, 0.47413286566734314, 0.05554528161883354, 0.0020174516830593348, 0.07423330098390579, -0.39667069911956787, -0.7708032727241516, 0.8590346574783325, 0.31058600544929504, -0.6146502494812012, -0.19807234406471252, 0.4215530455112457, 0.5744057297706604, -0.15503619611263275, 0.20594610273838043, 0.6328333616256714, 0.6405821442604065, 0.2743418514728546, -0.8027061223983765, 0.2709842920303345, -0.010400441475212574, -0.19500227272510529, 0.4954960346221924, -0.6600996851921082, 0.6590144038200378, -0.4197736978530884, -0.14071635901927948, -0.15064963698387146, 0.5942573547363281, 0.5606895089149475, 0.49932563304901123, 0.5597091913223267, 0.5494665503501892, 0.7327814698219299, -0.044137969613075256, 0.7855672836303711, 0.01576710119843483, 0.26474273204803467, 1.0703697204589844, -0.32206830382347107, 0.7606860995292664, 0.6975526809692383, -0.20004498958587646, 0.3149195909500122, 0.8434160947799683, 0.11836176365613937, 0.6192237138748169, 0.6050087213516235, -0.2558751106262207, -0.4348873496055603, -0.10591750591993332, -0.4412546157836914, 0.45362362265586853, 0.33029457926750183, -0.06285391747951508, -0.30202716588974, 0.29232096672058105, -0.20720446109771729, 0.20742318034172058, -0.28779029846191406, 0.8397521376609802, 0.2149008959531784, -0.6320974230766296, 0.5523873567581177, 0.041520945727825165, 0.28075411915779114, -0.5374646186828613, -0.1729070097208023, -0.16528171300888062, -0.1379307359457016, -0.29732993245124817, -1.227858066558838, 0.277235209941864, 0.07889692485332489, -0.2664605379104614, 0.1771668791770935, 1.0060292482376099, -0.4066805839538574, -0.42213892936706543, 0.5233061909675598, 0.7695446610450745, 0.4006187319755554, -0.1618361622095108, -0.3562769591808319, -0.01042445283383131, 0.21572507917881012, -0.35897156596183777, 0.30037832260131836, 0.7404065132141113, -0.20324648916721344, 0.7586695551872253, 0.5910095572471619, 0.10434224456548691, 0.3837493658065796, -0.22396941483020782, 1.082129955291748, -0.5318006277084351, -0.4895552694797516, -0.8094124794006348, 0.30469152331352234, 0.19437117874622345, -0.06326934695243835, 0.6572574377059937, 0.6291940808296204, 0.9555413126945496, -0.05864168331027031, 0.9875361919403076, -0.034270208328962326, 0.6271573901176453, -0.7526916265487671, 0.36562350392341614, -0.6884783506393433, 0.5197116732597351, -0.2907872200012207, -1.16505765914917, -0.21321958303451538, 0.5067270398139954, -0.6549350619316101, 0.13586845993995667, 0.5781239867210388, 0.7536081671714783, -0.02727654203772545, 0.15766336023807526, 0.6146669387817383, 0.5759807825088501, 0.05239631608128548, 0.9314467310905457, 1.3896222114562988, -0.09179217368364334, 0.624098002910614, -0.17055955529212952, -0.4851934015750885, 0.04045247659087181, -0.6193763613700867, -0.9664486646652222, -0.6482120156288147, 0.1015845388174057, -0.3397701680660248, -0.02728891186416149, 0.5848709940910339, 0.2965739965438843, -0.6426726579666138, -0.1100473627448082, -0.00776145001873374, 0.19273826479911804, 0.021721528843045235, -0.2742503881454468, 0.4477521777153015, -0.04707302898168564, -0.4275757670402527, 0.22460736334323883, 0.2558880150318146, 0.006770611274987459, -0.36896052956581116, -0.18789973855018616, -0.15684977173805237, -0.0057642520405352116, 0.4727678894996643, 0.09002294391393661, -0.8551560640335083, -0.5116831660270691, 0.40028712153434753, 0.1847929209470749, -0.048221323639154434, 0.45706796646118164, -0.6972017884254456, 0.4496723711490631, 0.22487953305244446, 0.7504992485046387, 0.7046075463294983, -0.11860232800245285, 0.5492656826972961, -0.6360405683517456, -0.15703216195106506, 0.40230053663253784, 0.1887011080980301, 0.031632985919713974, -0.5782739520072937, 0.4516980051994324, 0.19279541075229645, -0.4586153030395508, -0.792594850063324, 0.5158286094665527, -0.932509183883667, -0.356475293636322, 1.2803280353546143, 0.04808756709098816, -0.13176146149635315, -0.25382936000823975, -0.18728066980838776, 0.191471666097641, -0.20402070879936218, 0.6772903800010681, 0.8717020750045776, -0.38139107823371887, -0.2614758014678955, -0.6545278429985046, 0.32586655020713806, 0.40638047456741333, -0.7673895955085754, 0.025380708277225494, 0.44418907165527344, 0.17865493893623352, 0.26302868127822876, 0.6680808663368225, -0.047593019902706146, 0.21533535420894623, -0.2311592847108841, 0.08670870214700699, 0.0021889703348279, -0.5372515320777893, -0.16496756672859192, 0.2519093155860901, 0.24991847574710846, -0.07547251135110855 ]
http://arxiv.org/abs/2405.14379v1
http://arxiv.org/pdf/2405.14379v1
Can Large Language Models Create New Knowledge for Spatial Reasoning Tasks?
2024-05-23T09:54:54
2024-05-23T09:54:54
Thomas Greatrix, Roger Whitaker, Liam Turner, Walter Colombo
cs.CL
cs.CL, cs.AI
The potential for Large Language Models (LLMs) to generate new information offers a potential step change for research and innovation. This is challenging to assert as it can be difficult to determine what an LLM has previously seen during training, making "newness" difficult to substantiate. In this paper we observe that LLMs are able to perform sophisticated reasoning on problems with a spatial dimension, that they are unlikely to have previously directly encountered. While not perfect, this points to a significant level of understanding that state-of-the-art LLMs can now achieve, supporting the proposition that LLMs are able to yield significant emergent properties. In particular, Claude 3 is found to perform well in this regard.
[ -0.5145891308784485, -0.8920801281929016, 1.5096461772918701, 0.1772312968969345, 0.1680757999420166, -0.10875509679317474, -0.4672554135322571, -0.8612807989120483, 0.09044203162193298, 0.6510610580444336, -0.1349276453256607, -0.4289625287055969, -0.8641528487205505, -0.03940671309828758, -0.6060555577278137, 0.24171923100948334, -0.22828689217567444, -0.09671510756015778, -0.16015128791332245, -0.011701328679919243, -0.3841884434223175, -0.5962755680084229, -0.6957317590713501, -0.5384540557861328, 0.7605713605880737, 0.42581185698509216, 0.8266435265541077, 0.46755287051200867, 0.4921815097332001, 0.33499741554260254, -0.33700698614120483, 0.34798455238342285, -0.3095042109489441, 0.2211233377456665, -0.23226799070835114, -0.5714840888977051, -0.36310166120529175, -0.019826961681246758, 0.932272732257843, 1.0703433752059937, 0.18292756378650665, -0.41897016763687134, -0.12187211960554123, 0.7047373652458191, -0.2488395869731903, 0.2739676237106323, -0.957579493522644, 0.10527695715427399, -0.01535265427082777, -0.2362053394317627, -0.34669622778892517, -0.18393760919570923, 0.3750556409358978, -0.7395296692848206, 0.03108370117843151, 0.016665715724229813, 0.890548050403595, -0.053253721445798874, -0.5353959798812866, -0.21037708222866058, -1.1780720949172974, 0.608390212059021, -0.6272093653678894, 0.4384731650352478, 0.19340810179710388, 0.5964528322219849, -0.3611879050731659, -0.564548909664154, -0.7279748320579529, -0.16922986507415771, 0.18399931490421295, -0.29550620913505554, -0.2152157723903656, -0.5182319283485413, 0.5197510123252869, -0.0058367447927594185, -0.11676961183547974, 0.3696054518222809, -0.40258553624153137, 0.014048486016690731, 0.6930629014968872, 0.18529494106769562, 0.22475987672805786, -0.1906033158302307, -0.2863820493221283, 0.07178019732236862, -1.013623833656311, 0.062492672353982925, 0.20252566039562225, 0.30025574564933777, 0.00807404424995184, 0.6621890068054199, -0.12725381553173065, 0.5897289514541626, -0.22794105112552643, -0.12681958079338074, 0.22319982945919037, -0.021004650741815567, 0.047044992446899414, -0.25136539340019226, 0.607554018497467, 0.13286615908145905, 0.4803053140640259, 0.08920067548751831, -0.3605283796787262, -0.3253979980945587, -0.038520339876413345, -0.37930968403816223, -0.4132351279258728, 0.21141092479228973, -0.15965202450752258, 0.021437006071209908, 0.13718870282173157, -0.34191736578941345, -0.7587798833847046, -0.6396104097366333, 0.23809625208377838, -0.6188181042671204, -0.6129410266876221, 0.4250957667827606, -0.030623193830251694, 0.576964259147644, 0.9625643491744995, -0.9195946455001831, 0.11477731913328171, 0.9049824476242065, 0.6504822969436646, -0.12035365402698517, -0.5342509150505066, -0.2563799023628235, 0.1749507039785385, -0.5994791984558105, 1.0578559637069702, -0.6758112907409668, -0.1746421456336975, 0.09411198645830154, 0.12026210874319077, 0.09855670481920242, -0.7392707467079163, 0.1280643492937088, -0.6839156746864319, -0.16073256731033325, -0.6437482833862305, -0.28786343336105347, -0.2779388725757599, 0.4598517119884491, -0.7417932152748108, 0.9774338603019714, 0.2598835825920105, -0.6263732314109802, 0.49523046612739563, -0.4350321888923645, -0.4471484422683716, 0.2747895121574402, -0.2533145546913147, -0.16548855602741241, 0.26358962059020996, 0.3792095482349396, 0.4307871460914612, -0.25541409850120544, 0.22529947757720947, -0.5963315367698669, -0.1698971688747406, 0.6322499513626099, -0.16003192961215973, 0.6136012077331543, 0.2490600198507309, -0.25939705967903137, -0.022549010813236237, -0.6476872563362122, 0.0697278305888176, 0.282611221075058, -0.4898228645324707, -0.22307603061199188, 0.13665634393692017, -0.34733107686042786, 0.24579156935214996, 0.4496234059333801, -0.609469473361969, 0.3576209247112274, -0.2543914020061493, 0.4843154549598694, 0.5250317454338074, -0.05957164242863655, 0.6899204850196838, -0.17106413841247559, 0.41931939125061035, 0.08669113367795944, -0.11786425858736038, -0.06045440956950188, -0.5930750370025635, -0.9263091683387756, -0.21960964798927307, 0.01613033376634121, 0.4239853322505951, -0.8403810858726501, 0.1059814915060997, -0.3337060809135437, -0.4909161329269409, 0.06786920130252838, 0.21964393556118011, -0.16616463661193848, 0.10421264916658401, 0.030916478484869003, 0.20568598806858063, -0.7267718315124512, -0.7373853325843811, -0.12748482823371887, 0.11867637187242508, -0.03763357922434807, 0.6121420860290527, 0.7006787657737732, -0.24161729216575623, 0.842067301273346, -0.5836271047592163, 0.10951883345842361, -0.5443475842475891, 0.004848712123930454, 0.20792816579341888, 0.17174804210662842, 0.5799167156219482, -0.5940876007080078, -0.2206040918827057, 0.30979466438293457, -1.063951015472412, -0.05990856513381004, 0.18932810425758362, -0.07039880007505417, 0.1004657968878746, 0.7958319187164307, -0.7843657732009888, 0.008957202546298504, 0.44104671478271484, -0.28686627745628357, 0.499385803937912, -0.598054826259613, -0.028202150017023087, -0.8082210421562195, -0.358271986246109, 0.10142534971237183, -0.09075374901294708, -0.5424427390098572, 0.035978011786937714, 0.014792157337069511, -0.22987931966781616, -0.6107200980186462, 0.7475574612617493, -0.6641457080841064, -0.37523046135902405, -0.3523954153060913, 0.564321756362915, -0.03676842898130417, 0.10818581283092499, 0.2565535008907318, 0.3149521052837372, 0.7838743925094604, -0.6905778646469116, 0.4024527966976166, 0.07324426621198654, -0.8258162140846252, 0.15502022206783295, -0.5099221467971802, -0.05550311505794525, -0.32394710183143616, 0.15694357454776764, -0.886234700679779, -0.49066680669784546, -0.16753210127353668, -0.3817627429962158, 0.15029318630695343, -0.1261892318725586, -0.8855095505714417, -0.7408020496368408, 0.24384252727031708, 0.3609768748283386, 0.3129173517227173, -0.6749444007873535, 0.4514455795288086, 0.6235682368278503, -0.21674102544784546, 0.03443864360451698, -0.7213664054870605, 0.07180371135473251, -0.38321197032928467, -0.7861070036888123, -0.3398607075214386, 0.26514124870300293, -0.5349730849266052, -0.16994331777095795, 0.2681211829185486, -0.25925445556640625, 0.16730165481567383, -0.06976411491632462, 0.0730542540550232, -0.11698839068412781, 0.10654730349779129, -0.33077406883239746, -0.14465615153312683, 0.5215809941291809, -0.6986304521560669, 0.39675450325012207, -0.14633411169052124, -0.5327373147010803, -0.10747230798006058, 0.2912059426307678, 0.9084849953651428, -0.3609107732772827, 0.6143627762794495, 0.5058730840682983, -0.5794365406036377, -0.3191414475440979, -0.5477213263511658, -0.08364848047494888, -0.45264938473701477, 0.5050492882728577, -0.4281570613384247, -1.2905561923980713, 0.595720112323761, -0.3010120391845703, -0.17941030859947205, 0.336947500705719, 0.5545028448104858, -0.32127439975738525, 0.9898926615715027, 0.595579206943512, 0.4458363354206085, 0.3786514699459076, -0.3721264600753784, 0.6204751133918762, -0.9220632910728455, -0.6465651988983154, -0.4911819100379944, -0.30727648735046387, -0.5828993320465088, -0.8128147721290588, 0.6192942261695862, 0.01752636767923832, -0.2511236071586609, 0.1512649804353714, -0.1256016194820404, 0.5353642106056213, 0.5136858224868774, -0.015249869786202908, 0.07054848223924637, 0.1512516885995865, -0.10387131571769714, -0.18382570147514343, -0.8541214466094971, -0.6226103901863098, 0.9640466570854187, 0.4912753403186798, 0.9124267101287842, 0.4084688127040863, 0.3937143087387085, -0.18895745277404785, 0.1590770184993744, -0.6342108249664307, 0.8216384649276733, 0.07304288446903229, -0.4394058585166931, -0.5350980758666992, -0.5430870652198792, -1.2784298658370972, 0.31078943610191345, -0.4759361743927002, -0.8705025911331177, 0.08226797729730606, 0.011440522037446499, -0.2650185525417328, 0.7141734957695007, -0.5969642400741577, 0.5015614628791809, -0.559510350227356, -0.49874061346054077, -0.02812741883099079, -0.21545489132404327, 0.5267284512519836, -0.2408071756362915, 0.4167170524597168, -0.4004472494125366, 0.17536090314388275, 0.5097905397415161, -0.24965578317642212, 0.7016845941543579, -0.3343248963356018, -0.6856346130371094, 0.608343243598938, 0.460110604763031, 0.5044042468070984, 0.14867421984672546, 0.14116138219833374, 0.057066407054662704, -0.26443764567375183, -0.3690773844718933, -0.9037553071975708, 0.9437872171401978, -0.7616466879844666, -0.794186532497406, -0.2080746591091156, -1.0124592781066895, -0.3247681260108948, 0.2051977515220642, 0.009790077805519104, 0.37262779474258423, 0.09737611562013626, 0.1364767998456955, 1.1043081283569336, -0.40798935294151306, 0.310689777135849, 0.8157563805580139, -0.5186419486999512, -0.12638111412525177, 0.7319468259811401, 0.2054653763771057, 0.07142225652933121, 0.6242409348487854, 0.19436076283454895, -0.4522927701473236, -0.7407503128051758, 0.07601211965084076, 0.36625149846076965, -0.717286229133606, 0.06722883880138397, -0.6021946668624878, -0.3574886918067932, -0.18655088543891907, -0.27729398012161255, -0.36560800671577454, -0.6255773305892944, 0.12801869213581085, -0.1311764121055603, 0.1886855661869049, 1.364400029182434, -0.1777370423078537, 0.011852063238620758, -0.8539636731147766, -0.11256382614374161, 0.4334448575973511, 0.17202028632164001, 0.007293659262359142, -0.5647815465927124, -0.45591995120048523, 0.01651124283671379, -0.19637447595596313, -0.7063133120536804, 0.35439613461494446, -0.5273737907409668, 0.606777012348175, 0.4961321949958801, -0.3648569583892822, 0.2871633470058441, -0.6847060322761536, 0.7976659536361694, 0.11057234555482864, -0.7044157385826111, 0.668415367603302, -0.8797367215156555, 0.5070616602897644, -0.15965880453586578, 0.3876328468322754, -0.037595249712467194, -0.41246235370635986, -0.6110063195228577, -0.7444664239883423, 0.21216784417629242, -0.05287930369377136, 0.13532216846942902, -0.1220012977719307, 0.4482477903366089, -0.07405436038970947, 0.10915733128786087, -0.9057014584541321, 0.140506312251091, 0.2531246840953827, 0.40072521567344666, -0.12874117493629456, -0.6462174654006958, -0.12899045646190643, -0.621674656867981, 0.4084491729736328, 0.06211608275771141, 0.3309426009654999, 0.1599622219800949, 0.21579721570014954, 0.03097211755812168, 0.4761369228363037, 0.7210757732391357, 1.0160071849822998, 0.1318310648202896, 0.5565245151519775, 0.36910176277160645, 0.057788148522377014, 0.23148483037948608, -0.038700610399246216, -0.07882426679134369, -0.25217965245246887, 0.6867374181747437, 0.6836730241775513, 0.3188471794128418, -0.6842098236083984, 0.5450962781906128, 0.22142013907432556, -0.8262140154838562, -0.5458277463912964, 0.016709519550204277, 0.2604493498802185, 0.5998967289924622, 0.13665063679218292, 0.021019430831074715, -0.29558879137039185, -0.5340794324874878, -0.0012964700581505895, 0.486792653799057, -0.1795019656419754, -0.34257495403289795, 0.6439608931541443, 0.1744544953107834, -0.07403523474931717, 0.6683343052864075, -0.445909321308136, -0.5735079646110535, 0.41919684410095215, 0.6063174605369568, 0.5054106116294861, -0.028586452826857567, 0.07917873561382294, 0.5008383989334106, 0.5392225980758667, 0.022343311458826065, 0.4805515706539154, 0.2131119668483734, -1.3291465044021606, -0.6221643686294556, -0.45382383465766907, -0.37695708870887756, 0.36269769072532654, -0.3768678605556488, 0.08044788241386414, -0.5374745726585388, -0.04696626216173172, -0.21865923702716827, -0.16322273015975952, -0.627815306186676, -0.027333049103617668, 0.3235819935798645, 0.9834063053131104, -0.9492811560630798, 0.7786504626274109, 1.0073201656341553, 0.03511175885796547, -0.9740018844604492, -0.21354658901691437, -0.13613800704479218, -0.8063227534294128, 1.0223811864852905, -0.041715629398822784, -0.03184840828180313, -0.31304797530174255, -0.786785900592804, -1.2404366731643677, 0.9672796130180359, 0.557102620601654, -0.6932662129402161, -0.07911785691976547, 0.32539841532707214, 0.5808534026145935, -0.4826933741569519, -0.06390659511089325, 0.5579465627670288, 0.777323842048645, 0.24832235276699066, -0.757858157157898, -0.07037001103162766, -0.11791398376226425, 0.1114039272069931, 0.302448034286499, -0.48451241850852966, 1.123253345489502, -0.8286315202713013, -0.06390076875686646, -0.09514354914426804, 0.7180495858192444, 0.4062318503856659, 0.006393323186784983, 0.44709452986717224, 0.7212095260620117, 1.056877613067627, -0.43156135082244873, 1.2076679468154907, -0.28830233216285706, 0.15236836671829224, 1.1206008195877075, -0.6099368333816528, 0.9875315427780151, 0.3032926023006439, -0.09591664373874664, 0.7392867803573608, 0.4019208550453186, -0.011123104952275753, 0.15097491443157196, 0.38150423765182495, -0.3682323396205902, -0.7058206796646118, 0.17314109206199646, -0.13088856637477875, 0.7077597975730896, 0.6040859818458557, -0.1312597095966339, -0.25804248452186584, 0.019535589963197708, 0.10091114789247513, 0.27814725041389465, -0.26183438301086426, 0.5612444281578064, 0.17891675233840942, -0.6738860011100769, 0.5011036992073059, -0.07926888763904572, 0.008449344895780087, -0.5934617519378662, -0.12467511743307114, -0.014851328916847706, 0.2674541175365448, -0.1935783475637436, -1.21905517578125, 0.22780059278011322, -0.2707699239253998, -0.30012431740760803, -0.4310036897659302, 0.664795458316803, -0.33906039595603943, -0.45983320474624634, 0.3646772801876068, 0.8909748196601868, 0.2780167758464813, -0.04258041828870773, -0.22778339684009552, 0.3352307379245758, -0.04145747795701027, 0.029668744653463364, 0.1983586698770523, 1.2397364377975464, -0.06098173186182976, 1.009796380996704, 0.4922255575656891, 0.41214942932128906, 0.0771147683262825, 0.08575969934463501, 0.831716001033783, -0.8084686994552612, -0.31939393281936646, -0.5982775688171387, 0.19030562043190002, -0.04532575234770775, 0.03817262127995491, 0.8839408755302429, 0.588485062122345, 0.7378507256507874, -0.061555832624435425, 0.9948233366012573, 0.10131675004959106, 0.46900105476379395, -0.8939600586891174, 0.4024048447608948, -0.3459559977054596, 0.7014837861061096, -0.11150352656841278, -0.982253909111023, -0.21891707181930542, 0.7772195339202881, -0.7592010498046875, 0.12260796874761581, 1.108959674835205, 0.7252946496009827, -0.01265503279864788, -0.053176771849393845, 0.5293706655502319, 0.6512026786804199, 0.5788993835449219, 0.9573136568069458, 1.391086220741272, 0.050458602607250214, 0.41197669506073, 0.1630389243364334, -0.20980559289455414, 0.19097217917442322, -0.8612637519836426, -0.9868634343147278, -0.6349193453788757, -0.08861727267503738, -0.28859850764274597, -0.20083440840244293, 0.414472758769989, 0.8455688953399658, -0.500565767288208, -0.12456117570400238, -0.3351448178291321, 0.14484021067619324, 0.14056351780891418, -0.25336191058158875, 0.06708753108978271, -0.2852324843406677, -0.7270843982696533, 0.5965940952301025, 0.34420785307884216, 0.3961322009563446, -0.4899495542049408, -0.10311679542064667, -0.020955350250005722, 0.03987684100866318, 0.9579023718833923, 0.1828387975692749, -0.7347093224525452, -0.5876910090446472, -0.19284017384052277, 0.010978443548083305, -0.006473137065768242, 1.0640512704849243, -0.7204576134681702, 0.14665868878364563, 0.38587692379951477, 0.6125451922416687, 0.6868225932121277, -0.4714456796646118, 0.7083041071891785, -0.5254403352737427, 0.22015711665153503, -0.012780020013451576, 0.9438586831092834, 0.6211462616920471, -0.12596043944358826, 0.3144174814224243, 0.24394463002681732, -0.622374415397644, -0.37323224544525146, 0.6236099600791931, -0.7620894908905029, -0.3045986592769623, 1.6382203102111816, 0.08924597501754761, -0.24338343739509583, -0.005715376231819391, -0.18800242245197296, -0.3366333842277527, -0.03183521330356598, 0.5873488187789917, 0.8493462204933167, -0.30376750230789185, -0.37559133768081665, -0.7363916039466858, 0.20213523507118225, 0.2374182939529419, -0.949237585067749, 0.16514404118061066, 0.5833886861801147, 0.433956116437912, 0.26790109276771545, 0.7372880578041077, -0.19680967926979065, 0.06478476524353027, -0.060685060918331146, -0.20008306205272675, -0.09217753261327744, -0.7095333933830261, -0.027496563270688057, 0.23333539068698883, 0.4964672923088074, 0.41676104068756104 ]
http://arxiv.org/abs/2405.14908v1
http://arxiv.org/pdf/2405.14908v1
Data Mixing Made Efficient: A Bivariate Scaling Law for Language Model Pretraining
2024-05-23T09:44:02
2024-05-23T09:44:02
Ce Ge, Zhijian Ma, Daoyuan Chen, Yaliang Li, Bolin Ding
cs.LG
cs.LG, cs.AI, cs.CL
Large language models exhibit exceptional generalization capabilities, primarily attributed to the utilization of diversely sourced data. However, conventional practices in integrating this diverse data heavily rely on heuristic schemes, lacking theoretical guidance. This research tackles these limitations by investigating strategies based on low-cost proxies for data mixtures, with the aim of streamlining data curation to enhance training efficiency. Specifically, we propose a unified scaling law, termed BiMix, which accurately models the bivariate scaling behaviors of both data quantity and mixing proportions. We conduct systematic experiments and provide empirical evidence for the predictive power and fundamental principles of BiMix. Notably, our findings reveal that entropy-driven training-free data mixtures can achieve comparable or even better performance than more resource-intensive methods. We hope that our quantitative insights can shed light on further judicious research and development in cost-effective language modeling.
[ -0.23032280802726746, -0.38138777017593384, 0.3121444880962372, 0.6225066184997559, -0.2634373903274536, 0.11553000658750534, -0.3274378478527069, -0.20121072232723236, -0.1946103423833847, 0.5124735236167908, -0.1852561980485916, -0.08384163677692413, -0.665147602558136, -0.3179470896720886, -0.46037089824676514, 0.8550123572349548, -0.01300279051065445, 0.3445603549480438, -0.2656477093696594, -0.20657162368297577, -0.30475687980651855, -0.5684837102890015, -0.11508078128099442, -0.5094912052154541, 0.6444915533065796, 0.5137283802032471, 0.9456458687782288, 1.0086857080459595, 0.3441925048828125, 0.220379039645195, 0.0028237346559762955, -0.08677773177623749, -0.6961321234703064, 0.042891230434179306, -0.16862544417381287, -0.7297480702400208, -0.3571496605873108, 0.30824458599090576, 0.7626398205757141, 1.4018564224243164, -0.525999128818512, 0.0946139246225357, 0.36452817916870117, 0.6204732060432434, -1.0191526412963867, 0.0025381590239703655, -0.6421807408332825, -0.04866532236337662, -0.3491586744785309, -0.021015679463744164, -0.4032863676548004, -0.19694948196411133, -0.11141548305749893, -0.6154260039329529, 0.24404895305633545, 0.20675882697105408, 0.6946685314178467, 0.11686117947101593, -0.2667938470840454, -0.07162033021450043, -1.0255900621414185, 0.959639310836792, -0.6614111661911011, 0.6571019291877747, 0.45486980676651, 0.25418516993522644, -0.03199475258588791, -0.6483972668647766, -0.6337825059890747, 0.1909857541322708, 0.09139720350503922, -0.10388194024562836, -0.40539830923080444, -0.046000588685274124, 0.08481603860855103, 0.5016599297523499, -0.5901267528533936, 0.1513538807630539, -0.4245974123477936, 0.027572399005293846, 0.41382163763046265, 0.2362496703863144, 0.3538202941417694, 0.6270648241043091, 0.009212501347064972, -0.3718482255935669, -0.5529177188873291, -0.06403835117816925, 0.6208356618881226, 0.7237038612365723, -0.3704393208026886, 0.6329609155654907, -0.21488724648952484, 0.4636210799217224, -0.017439357936382294, 0.10121932625770569, 0.22554200887680054, -0.79410320520401, -0.23415809869766235, -0.20102371275424957, 0.6879380941390991, 0.23246662318706512, 0.36630621552467346, -0.5740790963172913, -0.2488962560892105, 0.013726047240197659, 0.23985810577869415, -1.0803098678588867, -0.4739743173122406, 0.053521204739809036, -0.38341420888900757, -0.16732802987098694, -0.17005474865436554, -0.7622447609901428, -0.2685702443122864, -0.6788144707679749, 0.4218365252017975, -0.31079399585723877, -0.5246087312698364, 0.35340768098831177, -0.1659686118364334, 0.06958307325839996, 0.070454902946949, -1.2255662679672241, 0.42936474084854126, 0.744179368019104, 0.7239252924919128, 0.1342313289642334, -0.24137842655181885, -0.7821147441864014, -0.08714011311531067, -0.5320675373077393, 0.5122354030609131, -0.6926699280738831, -0.5368332266807556, -0.10585858672857285, -0.4169800877571106, 0.08445359021425247, -0.7939764261245728, -0.03541295975446701, -0.4170798659324646, 0.07491717487573624, -0.2661270201206207, -0.3908269703388214, 0.23590342700481415, -0.25073176622390747, -0.6150602102279663, 1.031362771987915, 0.5121234059333801, -0.7761955261230469, 0.7872748970985413, -0.2045755535364151, -0.5373753905296326, 0.07513011246919632, -0.014688557013869286, -0.45167139172554016, 0.28901949524879456, -0.07853654026985168, 0.3091960847377777, -0.7181804180145264, 0.2900902330875397, -0.6311296820640564, -0.2138632833957672, -0.010807116515934467, -0.25644737482070923, 0.9985285401344299, 0.5217316746711731, -0.12853817641735077, -0.0912969633936882, -0.8753595948219299, -0.01263196300715208, -0.02217201143503189, -0.4834991991519928, -0.7250741124153137, -0.09101174026727676, 0.09233325719833374, -0.010344302281737328, -0.06453125178813934, -0.3323659598827362, 0.14143775403499603, -0.09360736608505249, -0.0905168429017067, 0.3978271186351776, -0.3919430375099182, 1.0446335077285767, -0.11743175238370895, 0.32013753056526184, 0.22341233491897583, 0.2535303831100464, 0.19573155045509338, -0.35535889863967896, -0.6335915923118591, -0.5325860381126404, 0.5070251822471619, 0.5398203730583191, -0.5704254508018494, 0.4255458116531372, -0.28007158637046814, -0.6828580498695374, -0.6105454564094543, 0.7192510962486267, 0.3583724796772003, 0.24270550906658173, 0.4515601396560669, -0.29620590806007385, -0.640802264213562, -0.8094574213027954, -0.37054288387298584, -0.007957328110933304, -0.3836696147918701, -0.18537992238998413, 0.15332238376140594, -0.3135206401348114, 0.9238582849502563, -0.10609353333711624, 0.34490302205085754, -0.36217930912971497, 0.6959378123283386, 0.1901501715183258, 0.7372455596923828, 0.6649250984191895, -0.5674132704734802, -0.7298393249511719, 0.05027637258172035, -0.5764424800872803, -0.29140934348106384, 0.03450074419379234, -0.3255990147590637, -0.33170026540756226, 0.37949180603027344, -0.23425506055355072, 0.30347657203674316, 0.5184900164604187, -0.25034958124160767, 0.2662672996520996, -0.494782418012619, -0.2139178067445755, -0.8573575019836426, -0.04070441052317619, 0.06882026791572571, -0.10470642894506454, -1.0237246751785278, -0.07981986552476883, 0.38154834508895874, 0.12882691621780396, -0.2132118046283722, 0.30439290404319763, -0.5318241715431213, 0.11337921768426895, -0.37149491906166077, -0.3994843065738678, -0.06641938537359238, 0.3251948058605194, -0.15365871787071228, 0.7790569067001343, 0.688818097114563, -0.7538424730300903, 0.16908130049705505, -0.2648636996746063, -0.2982410490512848, 0.6415619254112244, -0.6116529107093811, -0.09807779639959335, -0.20955941081047058, -0.05662129446864128, -0.9083025455474854, 0.10855799168348312, -0.13141001760959625, -0.1325799971818924, 0.42844223976135254, -0.21829460561275482, -0.8076680302619934, -0.046697501093149185, -0.17725200951099396, 0.5407808423042297, 0.6439697742462158, -0.5995672941207886, 0.6689754724502563, 0.3578987717628479, -0.21176151931285858, -0.3513639569282532, -0.7620226144790649, -0.06041381508111954, -0.2865169942378998, -0.4665782153606415, 0.06634832173585892, -0.36700916290283203, -0.5419238805770874, -0.2260971963405609, -0.05556277558207512, -0.2517279386520386, 0.21868854761123657, -0.059002507477998734, 0.45915424823760986, -0.21613286435604095, -0.19973470270633698, -0.01078890822827816, 0.11813660711050034, 0.08231009542942047, -0.32032015919685364, 0.6180992126464844, 0.15537627041339874, 0.030128614977002144, -0.17854449152946472, 0.5620971918106079, 0.5867890119552612, -0.032015129923820496, 0.8486686944961548, 0.5978648066520691, -0.2759283781051636, -0.15836618840694427, -0.35770171880722046, -0.045821838080883026, -0.44233939051628113, 0.2029394507408142, -0.2039819359779358, -0.546306848526001, 0.505247175693512, 0.0008636731072328985, 0.31585273146629333, 0.01799807883799076, 0.6567348837852478, -0.07285867631435394, 1.216711163520813, 0.6888574361801147, -0.16504612565040588, 0.6638076305389404, -0.15411385893821716, 0.32663533091545105, -0.4167860150337219, -0.014271927997469902, -0.8163851499557495, -0.3519379794597626, -0.7471105456352234, -0.6727818250656128, 0.08284308761358261, 0.3153139650821686, -0.383543998003006, 0.22064119577407837, 0.026549018919467926, 0.5572643280029297, 0.7946364879608154, -0.24166657030582428, 0.07594411820173264, 0.26047971844673157, -0.25424543023109436, 0.12002125382423401, -0.7741362452507019, -0.105058953166008, 1.4594337940216064, 0.1490074098110199, 1.089864730834961, 0.10281878709793091, 0.5419689416885376, -0.021474724635481834, 0.5345129370689392, -0.4242371618747711, 0.18603341281414032, -0.23026277124881744, -0.6083836555480957, -0.30250075459480286, -0.9199894666671753, -0.9882199168205261, 0.511242687702179, -0.45768263936042786, -0.5054818391799927, 0.5811022520065308, 0.2269476354122162, -0.22134822607040405, 0.42071494460105896, -0.8793216347694397, 0.48960062861442566, -0.22690746188163757, -0.6842043995857239, -0.16451771557331085, -0.6414811015129089, 0.18664687871932983, -0.2848207354545593, 0.49207237362861633, -0.037950482219457626, 0.08648175001144409, 0.6533281207084656, -0.8523574471473694, 0.6064929962158203, -0.29203134775161743, -0.08275428414344788, 0.14161725342273712, 0.004592066630721092, 0.3950915038585663, -0.24495342373847961, 0.18701037764549255, 0.24630634486675262, -0.02896040678024292, -0.8951101899147034, -0.640960693359375, 0.229941263794899, -0.9160958528518677, -0.10004712641239166, 0.07663983851671219, -0.8202576637268066, -0.6483611464500427, 0.14052940905094147, 0.3510417342185974, 0.15709292888641357, 0.16274911165237427, 0.5758384466171265, 0.7462942600250244, 0.12290582805871964, 0.17048248648643494, 0.607184112071991, -0.3010025918483734, -0.4575064480304718, 1.0872094631195068, 0.22277359664440155, 0.36098843812942505, 0.32679203152656555, 0.3675082325935364, -0.056007035076618195, -0.4687395989894867, -0.23849910497665405, 0.23365704715251923, -0.2634468078613281, -0.010457088239490986, -0.5860714912414551, 0.10170049220323563, -0.636675238609314, -0.08855874091386795, -0.6883763670921326, -0.32002148032188416, -0.054037220776081085, -0.08301245421171188, -0.016726674512028694, 0.34039968252182007, -0.4269990026950836, 0.6599088311195374, -0.6182597279548645, 0.20361122488975525, 0.5355746746063232, 0.5195130109786987, -0.07604105770587921, -0.37172314524650574, -0.5261648893356323, 0.24993805587291718, -0.09043259918689728, -0.4488065838813782, 0.26345348358154297, 0.03764130547642708, 0.7085012793540955, 0.5777454972267151, -0.12009509652853012, 0.5947669744491577, -0.3539997637271881, 0.3892527222633362, 0.6670817732810974, -0.8349456787109375, 0.1630505919456482, -0.19840887188911438, 0.15048867464065552, 0.612339198589325, 0.28779399394989014, -0.3736409842967987, -0.4800148904323578, -0.4379581809043884, -1.0108217000961304, 0.5686621069908142, 0.3203808665275574, 0.2919345200061798, 0.4578951597213745, 0.20886409282684326, 0.25678643584251404, 0.2957088351249695, -0.4792156219482422, -0.31341108679771423, -0.35920450091362, -0.36784693598747253, -0.3037374019622803, -0.12038564682006836, -0.1020580306649208, -0.59676593542099, 0.48691168427467346, 0.10453963279724121, -0.040489476174116135, -0.4837809205055237, -0.12652550637722015, -0.12378809601068497, 0.24626515805721283, 0.39321714639663696, 0.4488846957683563, -0.2778822183609009, 0.3337024748325348, -0.12996205687522888, -0.679085373878479, 0.31551483273506165, 0.16450637578964233, -0.09158738702535629, -0.1369047611951828, 0.1770879030227661, 0.8538401126861572, 0.1463100165128708, -0.6624355912208557, 0.35756129026412964, -0.2561972439289093, -0.5753726363182068, 0.3607482612133026, 0.267151802778244, 0.21675047278404236, 0.28101304173469543, 0.2321515828371048, -0.10418395698070526, 0.10616403818130493, -0.635250985622406, 0.0313367061316967, 0.31253769993782043, -0.065984807908535, -0.4626348614692688, 0.7661639451980591, 0.0035368080716580153, 0.040931664407253265, 0.7829435467720032, -0.06471935659646988, 0.02451796643435955, 0.27422329783439636, 0.45128345489501953, 0.5205297470092773, -0.5195854306221008, 0.0165414996445179, 0.09890387207269669, 0.3534519076347351, -0.3013971447944641, 0.373928964138031, -0.334359347820282, -0.8026813864707947, -0.1109318807721138, -0.5763799548149109, -0.4883054792881012, 0.05647102743387222, -0.6720084547996521, 0.1193416565656662, -0.5838526487350464, -0.057083144783973694, 0.10095347464084625, -0.10114786773920059, -1.0037877559661865, 0.2605879604816437, 0.2866987884044647, 0.7565061450004578, -0.9951606392860413, 0.7933021783828735, 0.5445155501365662, -0.4213293790817261, -0.9081006646156311, -0.1944810450077057, -0.01199917308986187, -0.7061631083488464, 0.5145267248153687, -0.19414830207824707, 0.08481418341398239, -0.2097897082567215, -0.7290291786193848, -0.7275673151016235, 0.6766483187675476, 0.6839852929115295, -0.5722795724868774, -0.11738954484462738, 0.5548899173736572, 0.41530418395996094, -0.4538726806640625, 0.08856988698244095, 0.7029205560684204, 0.4874628484249115, 0.30169424414634705, -0.6444311141967773, -0.2488100826740265, -0.5668209195137024, 0.047561489045619965, 0.07555043697357178, -0.21803870797157288, 1.147042155265808, 0.01582922786474228, -0.18586143851280212, -0.3066876530647278, 0.7178378105163574, 0.032686516642570496, 0.42184096574783325, 0.6561287641525269, 0.7237086296081543, 0.9780152440071106, 0.11540039628744125, 1.0296862125396729, -0.4325126111507416, 0.16920754313468933, 1.2463698387145996, -0.5314165353775024, 0.6156802773475647, 0.5210465788841248, -0.5527520179748535, 0.38693416118621826, 0.5186262726783752, 0.2355189174413681, 0.6752524971961975, 0.29825401306152344, -0.3037041127681732, -0.41320541501045227, 0.04519585147500038, -0.14199165999889374, 0.2428014725446701, 0.17182783782482147, -0.1976144015789032, -0.30764803290367126, 0.05477891489863396, 0.23534663021564484, -0.09031584858894348, -0.17734411358833313, 0.8094469308853149, -0.18579348921775818, -0.45673805475234985, 0.5869507193565369, -0.15096978843212128, 0.6061354279518127, -0.6021133065223694, 0.37898337841033936, -0.5012484788894653, 0.08510850369930267, 0.08986913412809372, -0.49164897203445435, 0.17622193694114685, 0.05674658343195915, -0.31078413128852844, -0.2677077353000641, 0.22373858094215393, -0.7401891946792603, -0.5358227491378784, 0.3200649321079254, 0.6133537292480469, 0.062402743846178055, -0.11689762771129608, -0.28845903277397156, -0.0680151879787445, -0.19686128199100494, -0.08551161736249924, 0.6481070518493652, 0.589146077632904, 0.10095938295125961, 0.3761545717716217, 0.7051162123680115, 0.41222909092903137, 0.3148547112941742, 0.20315192639827728, 0.9236076474189758, -0.23608694970607758, -0.6489304304122925, -0.6481452584266663, 0.5443468689918518, -0.19088473916053772, 0.05433026701211929, 0.470197468996048, 0.9182342290878296, 0.8052173852920532, 0.24399155378341675, 0.9467741847038269, 0.38355377316474915, 0.41176676750183105, -0.22852468490600586, 0.5869157910346985, -0.7094323635101318, 0.11603210121393204, -0.013340947218239307, -0.9648545384407043, -0.2892075479030609, 0.3072873651981354, -0.15680909156799316, 0.16073481738567352, 0.34678134322166443, 0.8442211747169495, -0.42678314447402954, 0.16250298917293549, 0.4402901828289032, 0.023447105661034584, 0.2399200201034546, 0.09887555241584778, 0.3732006847858429, -0.04502243176102638, 0.4124644696712494, -0.39388900995254517, -0.5309571027755737, -0.4154393970966339, -0.5173601508140564, -0.6976928114891052, -0.5920388698577881, -0.25019514560699463, -0.19164708256721497, -0.16463440656661987, 0.8766266703605652, 1.0750648975372314, -0.6832794547080994, -0.57942134141922, -0.26807767152786255, -0.09109482914209366, -0.3573535978794098, -0.16913263499736786, -0.17500443756580353, -0.5896235108375549, -0.6644425392150879, 0.19986535608768463, 0.3048524558544159, 0.16752827167510986, -0.1992948204278946, -0.20694229006767273, -0.1149376928806305, 0.6772095561027527, 0.5813782215118408, 0.2477826476097107, -0.07764074951410294, 0.16388572752475739, -0.26972365379333496, -0.3472309410572052, 0.08641719073057175, 1.2425838708877563, -0.2927262485027313, 0.6998759508132935, 0.7013499140739441, 0.6908320188522339, 0.3476582169532776, -0.2022559493780136, 0.7539463043212891, -0.8075206875801086, 0.16317491233348846, -0.05685477331280708, 0.4545169174671173, 0.36971160769462585, -0.19910980761051178, 0.47491127252578735, 0.33618953824043274, -0.3222828209400177, -0.9299516081809998, -0.10207563638687134, -0.8528584241867065, -0.2982475757598877, 0.97900390625, -0.04758477956056595, -0.23494896292686462, -0.13529454171657562, 0.20949582755565643, 0.48582786321640015, -0.20548781752586365, 0.5668704509735107, 0.7130753993988037, -0.015807192772626877, -0.11119561642408371, -0.5268303155899048, 0.17473547160625458, 0.5408656001091003, -0.790789008140564, 0.5134186744689941, 0.4046838581562042, 0.3458992540836334, -0.00443284772336483, 0.4090633988380432, -0.01394796371459961, 0.06153016537427902, 0.36822137236595154, 0.19811616837978363, 0.2656782865524292, -0.2113289088010788, -0.16070568561553955, 0.07972549647092819, -0.0704551637172699, 0.04300732910633087 ]
http://arxiv.org/abs/2405.14366v1
http://arxiv.org/pdf/2405.14366v1
MiniCache: KV Cache Compression in Depth Dimension for Large Language Models
2024-05-23T09:43:52
2024-05-23T09:43:52
Akide Liu, Jing Liu, Zizheng Pan, Yefei He, Gholamreza Haffari, Bohan Zhuang
cs.CL
cs.CL, cs.AI, cs.LG
A critical approach for efficiently deploying computationally demanding large language models (LLMs) is Key-Value (KV) caching. The KV cache stores key-value states of previously generated tokens, significantly reducing the need for repetitive computations and thereby lowering latency in autoregressive generation. However, the size of the KV cache grows linearly with sequence length, posing challenges for applications requiring long context input and extensive sequence generation. In this paper, we present a simple yet effective approach, called MiniCache, to compress the KV cache across layers from a novel depth perspective, significantly reducing the memory footprint for LLM inference. Our approach is based on the observation that KV cache states exhibit high similarity between the adjacent layers in the middle-to-deep portion of LLMs. To facilitate merging, we propose disentangling the states into the magnitude and direction components, interpolating the directions of the state vectors while preserving their lengths unchanged. Furthermore, we introduce a token retention strategy to keep highly distinct state pairs unmerged, thus preserving the information with minimal additional storage overhead. Our MiniCache is training-free and general, complementing existing KV cache compression strategies, such as quantization and sparsity. We conduct a comprehensive evaluation of MiniCache utilizing various models including LLaMA-2, LLaMA-3, Phi-3, Mistral, and Mixtral across multiple benchmarks, demonstrating its exceptional performance in achieving superior compression ratios and high throughput. On the ShareGPT dataset, LLaMA-2-7B with 4-bit MiniCache achieves a remarkable compression ratio of up to 5.02x, enhances inference throughput by approximately 5x, and reduces the memory footprint by 41% compared to the FP16 full cache baseline, all while maintaining near-lossless performance.
[ -0.3673633337020874, -0.4996323883533478, 0.4569273293018341, 0.09601026773452759, -0.4948064982891083, 0.2097175270318985, -0.22920076549053192, -0.46970829367637634, 0.40862199664115906, 0.19725582003593445, -0.5566678047180176, -0.5684398412704468, -0.5746630430221558, -0.38293060660362244, -0.5012457966804504, 0.37813621759414673, 0.1294066309928894, -0.30810239911079407, -0.2612927258014679, 0.07214589416980743, -0.38854342699050903, -0.28676608204841614, -0.6623220443725586, -0.16592937707901, 0.3757144510746002, 0.6503015756607056, 0.5490531921386719, 0.7705972790718079, 0.15155483782291412, 0.3022574484348297, -0.2172105461359024, 0.3024774491786957, -0.6490261554718018, 0.3064466416835785, 0.2317420393228531, -0.41927582025527954, -0.36613860726356506, -0.3019472658634186, 0.5167552828788757, 0.4072447121143341, -0.2957846224308014, 0.16694122552871704, -0.010106513276696205, 0.652873158454895, -0.9242711663246155, 0.3010384440422058, -0.6224746108055115, 0.01779840514063835, -0.19019266963005066, 0.04214779660105705, -0.3910072445869446, -0.26078784465789795, 0.005775631871074438, -0.35031241178512573, 0.36936476826667786, -0.13323432207107544, 0.6473734974861145, 0.5438564419746399, -0.3110538721084595, 0.003407132113352418, -0.6166130900382996, 0.5896210670471191, -0.6740166544914246, 0.3289789855480194, 0.2784632444381714, 0.32693955302238464, -0.15653403103351593, -0.8110995888710022, -0.8061130046844482, 0.057157497853040695, 0.02180812507867813, 0.01477562915533781, -0.08145426213741302, 0.09090191125869751, 0.109909288585186, 0.7187800407409668, -0.4566918909549713, 0.37819093465805054, -0.19661659002304077, -0.4261731803417206, 0.3278040885925293, 0.40598177909851074, 0.21660472452640533, -0.014048700220882893, -0.17503958940505981, -0.6066362261772156, -1.121512770652771, 0.2671433985233307, 0.35056960582733154, 0.4252927303314209, -0.17421133816242218, 0.24262069165706635, -0.46598467230796814, 0.3219394087791443, -0.18769106268882751, -0.17441105842590332, -0.10052242130041122, -0.4607900381088257, -0.2712329626083374, 0.19236253201961517, 0.5965874195098877, 0.1604369431734085, -0.2533283531665802, 0.055244721472263336, 0.006842671427875757, 0.2800323963165283, 0.06857259571552277, -1.1802101135253906, -0.5805176496505737, 0.08829814940690994, -0.4065413177013397, -0.46251216530799866, -0.12029444426298141, -0.9442459940910339, -0.43089473247528076, -0.1280074119567871, 0.2487633228302002, 0.03977047652006149, -0.053364597260951996, 0.27715951204299927, 0.20438942313194275, 0.22795264422893524, 0.4190615713596344, -0.9656374454498291, 0.6636099815368652, 0.5158724784851074, 1.0040411949157715, -0.13484741747379303, 0.08584563434123993, -0.5352027416229248, 0.10972011089324951, -0.17910926043987274, 0.5462040901184082, -0.39911431074142456, -0.5864818096160889, -0.023471422493457794, -0.10790105164051056, 0.49262699484825134, -0.4794147312641144, 0.313336044549942, -0.6491305828094482, -0.4554803967475891, -0.6873832941055298, -0.23147551715373993, 0.08367467671632767, 0.11066389083862305, -1.0360510349273682, 1.2486162185668945, -0.1988467276096344, -0.5524743795394897, 0.24645143747329712, -0.16086366772651672, -0.41033199429512024, -0.20708055794239044, -0.24860690534114838, -0.3584407567977905, 0.36806583404541016, 0.49889469146728516, 0.25650110840797424, -0.6193510890007019, -0.23551952838897705, -0.279506117105484, -0.41735461354255676, -0.18473859131336212, -0.3377537727355957, 0.6052118539810181, 0.020946349948644638, -0.27226144075393677, -0.12046795338392258, -0.5630026459693909, 0.0488351434469223, 0.17071622610092163, -0.49790847301483154, -0.29827243089675903, -0.1540616899728775, -0.17207881808280945, 0.43920332193374634, 0.33310505747795105, -0.56031334400177, 0.6026747822761536, -0.40284186601638794, 0.47111889719963074, 0.8018789291381836, -0.0432320237159729, 0.6116568446159363, 0.040122244507074356, 0.33760887384414673, 0.30867698788642883, 0.14461030066013336, -0.03537363559007645, -0.26700374484062195, -1.2012338638305664, -0.37607643008232117, 0.481792688369751, 0.29797226190567017, -0.6538020968437195, 0.22596469521522522, -0.7019326686859131, -0.5699111819267273, -0.7564840316772461, 0.1594148576259613, 0.36741119623184204, 0.4166581928730011, 0.40594103932380676, -0.4180043041706085, -0.3535974323749542, -1.0139455795288086, 0.10062314569950104, -0.22116659581661224, 0.18880437314510345, 0.34856128692626953, 0.3537156283855438, -0.15763846039772034, 0.8532285690307617, -0.5580999851226807, -0.13476084172725677, 0.013660523109138012, 0.16546599566936493, 0.0805661752820015, 0.5318533182144165, 0.08306948840618134, -0.4095174968242645, -0.4141869843006134, -0.23454712331295013, -0.13910774886608124, -0.18802540004253387, 0.19204871356487274, -0.07504811137914658, 0.20786111056804657, 0.44632333517074585, -0.9216880798339844, 0.6833061575889587, 0.6767348051071167, 0.06716267764568329, 0.2962392568588257, -0.21009540557861328, 0.002734082518145442, -0.8708773255348206, 0.0065936315804719925, -0.6404314637184143, -0.34010469913482666, -0.3980882465839386, 0.06425777822732925, 0.22575753927230835, -0.01967765763401985, -0.4932903051376343, 0.5936892032623291, -0.5319884419441223, -0.21197879314422607, -0.41082268953323364, -0.035107970237731934, 0.0278355460613966, 0.34405335783958435, -0.1736002117395401, 0.8305760025978088, 0.3020226061344147, -0.5879688262939453, 0.22555457055568695, 0.034315913915634155, -0.48085346817970276, -0.13964033126831055, -0.47531643509864807, 0.5336910486221313, 0.13239918649196625, 0.6924572587013245, -1.1161975860595703, 0.11194098740816116, -0.1568627953529358, -0.14658348262310028, 0.45097118616104126, -0.2794443964958191, -1.1102256774902344, -0.23773592710494995, -0.4567689001560211, 0.7392697334289551, 0.6640015244483948, -0.7381170392036438, 0.5470054149627686, 0.3427533507347107, -0.010877984575927258, -0.7526326179504395, -0.9085034728050232, 0.17996029555797577, -0.05572302266955376, -0.668799102306366, 0.6503654718399048, -0.129336416721344, 0.16686740517616272, -0.04885295033454895, -0.5288258194923401, 0.11258284747600555, -0.19079965353012085, 0.3500213623046875, 0.03749781474471092, -0.1795760989189148, 0.16378672420978546, 0.5501564741134644, -0.27571868896484375, -0.255359023809433, -0.38681790232658386, 0.8938330411911011, -0.4520057141780853, -0.34270957112312317, -0.2758626937866211, 0.3570529520511627, 0.4856175184249878, 0.06015975400805473, 0.7691287398338318, 0.3782427906990051, -0.4402492046356201, -0.3929789960384369, -0.5260355472564697, -0.4151769280433655, -0.5168362259864807, -0.05908800661563873, -0.5050521492958069, -1.1197706460952759, 0.890881359577179, -0.2759567201137543, -0.11021187156438828, 0.3984474241733551, 0.8124867677688599, 0.049109652638435364, 0.6878044009208679, 0.57079017162323, -0.4932588040828705, 0.09783004224300385, -0.6983555555343628, 0.3995395302772522, -0.5050345063209534, -0.07142142206430435, -0.4174913763999939, -0.6307892799377441, -0.4323655366897583, -0.7714740633964539, 0.281885027885437, 0.11034215241670609, -0.10972505807876587, 0.1861521154642105, -0.28605106472969055, 0.7425078749656677, 0.2929643988609314, 0.16247311234474182, 0.39111995697021484, -0.03688953444361687, -0.4531448185443878, -0.0641704574227333, -0.6775411367416382, -0.10861865431070328, 0.6658720374107361, 0.20466600358486176, 0.8510878682136536, 0.3399517238140106, 0.8250144720077515, 0.11689067631959915, -0.07007052004337311, -0.8215311765670776, 0.6369576454162598, -0.07585752755403519, -0.36118972301483154, -0.25257205963134766, -0.23429353535175323, -0.781248927116394, 0.36389872431755066, 0.10553566366434097, -0.7038382291793823, 0.2970272898674011, 0.27277514338493347, -0.4614690840244293, 0.2995973825454712, -0.31874850392341614, 0.5695902705192566, 0.06978879868984222, -0.31802013516426086, -0.48150262236595154, -0.8122597932815552, 0.45186999440193176, 0.0791352167725563, -0.09854776412248611, 0.12560604512691498, -0.3478303849697113, 0.4323810935020447, -0.8259819746017456, 1.0377676486968994, -0.16509588062763214, -0.14161744713783264, 0.17106911540031433, 0.44090208411216736, 0.7861610054969788, 0.08186808228492737, 0.2893403470516205, 0.20652717351913452, 0.07318344712257385, -0.4131358563899994, -0.6602490544319153, 1.0858982801437378, -0.7250182628631592, -0.480218768119812, -0.132477268576622, -0.5280771255493164, -0.18872489035129547, 0.2061508744955063, 0.22445271909236908, 0.3096719980239868, 0.03626461327075958, 0.14433936774730682, 0.8950203657150269, -0.24105195701122284, 0.4763248562812805, 0.31075748801231384, -0.05787471681833267, -0.09465314447879791, 0.8030226826667786, 0.0547945536673069, 0.24949650466442108, 0.5587814450263977, 0.32536596059799194, -0.34958213567733765, -0.4863458573818207, -0.3299338221549988, 0.2642628252506256, -0.9603477716445923, -0.48685234785079956, -0.6166335344314575, -0.3073868453502655, -0.29398471117019653, -0.1350499540567398, -0.854519784450531, -0.603477418422699, -0.14066803455352783, -0.11361861228942871, 0.35548797249794006, 0.35956746339797974, -0.18334819376468658, 0.6305647492408752, -0.7314459085464478, 0.15451160073280334, 0.34722498059272766, 0.08058415353298187, 0.32608962059020996, -0.35327520966529846, -0.3197575807571411, -0.15272662043571472, -0.09442134946584702, -0.5524248480796814, 0.3789421021938324, 0.13325946033000946, 0.10604163259267807, 0.3550575375556946, 0.15327751636505127, 1.1098930835723877, -0.3370848000049591, 0.8378610610961914, -0.028948476538062096, -1.1052824258804321, 0.36075037717819214, 0.006762064062058926, 0.40602561831474304, 0.835141658782959, 0.007017324212938547, -0.444715678691864, -0.14714975655078888, -0.6327463388442993, -1.093207597732544, 0.343612402677536, -0.01918545365333557, 0.15871278941631317, 0.06208955869078636, 0.2880566120147705, 0.13723744451999664, 0.16188691556453705, -0.5334659218788147, -0.22749562561511993, 0.07449433207511902, -0.25934600830078125, 0.1447809338569641, -0.3646145761013031, 0.00017325527733191848, -0.40201297402381897, 0.3712146580219269, -0.09190154075622559, 0.40678855776786804, -0.04389989376068115, -0.2793061435222626, 0.10945162177085876, -0.02112457901239395, 0.5535953640937805, 0.22254498302936554, -0.03833799436688423, 0.6477864980697632, 0.3001675605773926, -0.58009272813797, 0.2860194146633148, -0.20376236736774445, 0.11987059563398361, -0.13886113464832306, 0.13130496442317963, 0.4513031244277954, 0.38695862889289856, -0.4737928509712219, 0.6339149475097656, -0.30174773931503296, 0.10626205056905746, -0.047584135085344315, -0.05148664489388466, 0.29832834005355835, 0.23282743990421295, -0.08724083751440048, -0.30331218242645264, 0.19784416258335114, -0.2972332835197449, -0.05070743337273598, 0.21516449749469757, -0.035503651946783066, -0.2656610906124115, 0.30762162804603577, 0.09692742675542831, 0.3286489248275757, 0.9083590507507324, 0.06301965564489365, -0.4342426657676697, 0.43919894099235535, 0.3646792769432068, 0.7493224143981934, -0.19785185158252716, -0.32461827993392944, 0.29736948013305664, 0.5183647274971008, -0.07431265711784363, 0.19294849038124084, -0.6253235936164856, -0.5865679979324341, -0.48380476236343384, -0.576790452003479, -0.1290813833475113, 0.34066450595855713, -0.4816480875015259, 0.15872356295585632, -0.5159596800804138, 0.11441495269536972, -0.37773722410202026, 0.35950952768325806, -0.853126049041748, -0.0058612399734556675, 0.0011028517037630081, 1.1749939918518066, -0.9327619671821594, 1.304885745048523, -0.09008804708719254, -0.3002036511898041, -0.6859719753265381, -0.14087961614131927, 0.3609718382358551, -0.8445456027984619, 0.7197204232215881, 0.1804617941379547, -0.4289698004722595, -0.13244988024234772, -0.4519409239292145, -0.988077700138092, 1.2979214191436768, 0.4461666941642761, -0.6212822198867798, -0.06394222378730774, 0.2071681171655655, 0.4131159782409668, -0.2644824683666229, -0.1681315302848816, 0.8072478175163269, 0.3444907069206238, 0.28027501702308655, -0.7006412148475647, 0.3518279790878296, -0.2591668665409088, 0.28809094429016113, 0.3768766522407532, -0.6335507035255432, 0.7091236114501953, 0.037123486399650574, -0.35485732555389404, 0.27378255128860474, 0.7212231755256653, 0.2683800160884857, -0.2001415193080902, 0.5927414298057556, 1.057755947113037, 0.7790654301643372, 0.04062069579958916, 0.9373125433921814, -0.3065008819103241, 0.2158397138118744, 1.0927186012268066, 0.007127224467694759, 0.92568039894104, 0.6428331732749939, -0.000984341953881085, 0.4840579330921173, 0.7626166343688965, 0.4761698842048645, 0.8792746067047119, 0.35982978343963623, -0.4361533522605896, -0.22143037617206573, 0.04450495168566704, -0.3716159462928772, 0.3392126262187958, 0.4384297728538513, -0.20815153419971466, -0.19998687505722046, -0.45739179849624634, 0.0484752431511879, -0.5569765567779541, -0.09957045316696167, 0.5773131847381592, 0.22767557203769684, -0.33342742919921875, 0.461325079202652, 0.058052945882081985, 0.3836425840854645, -0.3742304742336273, 0.015481875278055668, -0.371123731136322, 0.11683661490678787, -0.04604653641581535, -0.43710917234420776, 0.07597629725933075, -0.18340900540351868, -0.34634941816329956, -0.23159798979759216, 0.8371108174324036, -0.4768391251564026, -0.09061464667320251, 0.22892890870571136, 0.2370373159646988, 0.12490858137607574, 0.14356651902198792, -0.35611093044281006, 0.5024677515029907, -0.41329097747802734, -0.22147007286548615, 0.5401399731636047, 0.23678259551525116, 0.03260398656129837, 0.4928300678730011, 0.7236036062240601, 0.3528398275375366, 0.34502488374710083, 0.116111621260643, 1.237085223197937, -0.47980883717536926, -0.7141637802124023, -0.9093620181083679, 0.5316460132598877, -0.0735892578959465, -0.005663351155817509, 0.4602779746055603, 0.5542610883712769, 0.7503041625022888, 0.08345834165811539, 0.499182790517807, 0.1965010166168213, -0.009964200668036938, -0.7167810201644897, 0.6540985107421875, -0.5630141496658325, 0.321162611246109, -0.04717691242694855, -0.8294392824172974, -0.11191714555025101, 0.44627073407173157, -0.03801542520523071, 0.0002673313720151782, 0.6513983011245728, 0.9479668140411377, -0.27998265624046326, -0.15357306599617004, 0.18287786841392517, 0.2312278151512146, 0.6225247979164124, 0.7368531227111816, 0.7276349663734436, -0.44370847940444946, 0.4991588294506073, -0.40851274132728577, -0.10304339975118637, -0.4236397445201874, -1.0421556234359741, -0.5671325325965881, -0.642395555973053, -0.02000655047595501, -0.27011632919311523, -0.36186733841896057, 0.5920030474662781, 0.930370032787323, -0.501107394695282, -0.15204650163650513, -0.12452206015586853, -0.15181128680706024, 0.08058473467826843, -0.18406036496162415, 0.5962402820587158, -0.09252377599477768, -0.5001628398895264, 0.522316038608551, 0.545732855796814, 0.041608210653066635, -0.5568000078201294, -0.09619154036045074, 0.18531587719917297, 0.23101896047592163, 0.5775799751281738, 0.3103027641773224, -0.9084919095039368, -0.28458213806152344, -0.2732541561126709, -0.24155977368354797, -0.0634075328707695, 1.0713059902191162, -0.8785761594772339, 0.6278210282325745, 0.6744138598442078, 0.943494439125061, 1.1874642372131348, -0.404574990272522, 0.28060591220855713, -0.8875905871391296, 0.36591413617134094, 0.12413933128118515, 0.49678826332092285, 0.175916850566864, -0.26467424631118774, 0.2701224088668823, 0.06391502171754837, -0.47418421506881714, -0.8882715106010437, 0.31463852524757385, -1.2384141683578491, -0.21087497472763062, 0.8630821704864502, 0.03215748071670532, -0.19444939494132996, 0.22263510525226593, 0.007966728881001472, 0.34955787658691406, -0.4111059308052063, 0.8659237027168274, 0.8122979998588562, 0.040775150060653687, -0.34565046429634094, -0.48185357451438904, 0.661124587059021, 0.37579813599586487, -0.6825917959213257, 0.18461163341999054, 0.3397122323513031, 0.07767629623413086, -0.04399511218070984, 0.6650658845901489, -0.15940889716148376, 0.1726173311471939, 0.19139385223388672, -0.08404906839132309, -0.07217042148113251, -0.5888120532035828, -0.3720254600048065, -0.01111587043851614, -0.04503287002444267, -0.08523061871528625 ]
http://arxiv.org/abs/2405.14365v1
http://arxiv.org/pdf/2405.14365v1
JiuZhang3.0: Efficiently Improving Mathematical Reasoning by Training Small Data Synthesis Models
2024-05-23T09:43:19
2024-05-23T09:43:19
Kun Zhou, Beichen Zhang, Jiapeng Wang, Zhipeng Chen, Wayne Xin Zhao, Jing Sha, Zhichao Sheng, Shijin Wang, Ji-Rong Wen
cs.CL
cs.CL, cs.AI
Mathematical reasoning is an important capability of large language models~(LLMs) for real-world applications. To enhance this capability, existing work either collects large-scale math-related texts for pre-training, or relies on stronger LLMs (\eg GPT-4) to synthesize massive math problems. Both types of work generally lead to large costs in training or synthesis. To reduce the cost, based on open-source available texts, we propose an efficient way that trains a small LLM for math problem synthesis, to efficiently generate sufficient high-quality pre-training data. To achieve it, we create a dataset using GPT-4 to distill its data synthesis capability into the small LLM. Concretely, we craft a set of prompts based on human education stages to guide GPT-4, to synthesize problems covering diverse math knowledge and difficulty levels. Besides, we adopt the gradient-based influence estimation method to select the most valuable math-related texts. The both are fed into GPT-4 for creating the knowledge distillation dataset to train the small LLM. We leverage it to synthesize 6 million math problems for pre-training our JiuZhang3.0 model, which only needs to invoke GPT-4 API 9.3k times and pre-train on 4.6B data. Experimental results have shown that JiuZhang3.0 achieves state-of-the-art performance on several mathematical reasoning datasets, under both natural language reasoning and tool manipulation settings. Our code and data will be publicly released in \url{https://github.com/RUCAIBox/JiuZhang3.0}.
[ -0.37415075302124023, -0.7178253531455994, 0.6301272511482239, 0.21399737894535065, -0.1881980150938034, -0.10538957267999649, -0.23932109773159027, -0.11055365949869156, -0.11770498007535934, 0.26010775566101074, -0.6148440837860107, -0.38688433170318604, -0.14830702543258667, -0.14031068980693817, -0.1010436937212944, 1.1689938306808472, -0.20313124358654022, 0.3282216191291809, -0.3025982081890106, 0.21649092435836792, -0.24178054928779602, -0.3189868628978729, -0.5551901459693909, -0.5057604908943176, 0.3041900396347046, 0.5134769082069397, 0.6756181120872498, 0.29048728942871094, 0.44644060730934143, 0.19551338255405426, 0.23232680559158325, 0.02808302827179432, -0.5812733173370361, -0.0038091198075562716, -0.04377519339323044, -0.7911233901977539, -0.46345463395118713, 0.1041073277592659, 0.4384581446647644, 0.599007248878479, -0.409566193819046, 0.21643204987049103, 0.022728273645043373, 0.9493019580841064, -0.44128888845443726, 0.4906660318374634, -0.709382176399231, 0.18291562795639038, -0.6179365515708923, 0.15203621983528137, -0.2932245433330536, -0.7832435369491577, -0.0269271619617939, -0.950117826461792, 0.11477821320295334, -0.09617109596729279, 0.6609805822372437, 0.3121771812438965, -0.01014573872089386, -0.21474023163318634, -0.41760650277137756, 0.853847324848175, -0.8192369341850281, 0.010321483947336674, 0.4915940761566162, 0.7166287302970886, -0.33861446380615234, -0.8671912550926208, -0.596294641494751, 0.2860255539417267, 0.008436616510152817, 0.2727929353713989, -0.039298735558986664, -0.25498315691947937, 0.6877444386482239, 0.4081653952598572, -0.5167723894119263, -0.44659727811813354, -0.46975305676460266, -0.17871995270252228, 0.5383556485176086, 0.3283093273639679, 0.14868587255477905, -0.2779563069343567, 0.011000552214682102, 0.06235542520880699, -0.8874285221099854, -0.16775502264499664, 0.5634453892707825, 0.08789584040641785, 0.04521442949771881, 0.4662822484970093, -0.15527816116809845, 0.5847922563552856, -0.011270309798419476, -0.3261326551437378, 0.1991186887025833, -0.2705219089984894, -0.09382380545139313, -0.16543684899806976, 0.7439299821853638, -0.05212065577507019, 0.2883559763431549, 0.32742464542388916, -0.1767139881849289, 0.1923423856496811, 0.10573258250951767, -1.2061102390289307, -0.6344329118728638, -0.17783097922801971, -0.1761578470468521, -0.514671266078949, -0.18490785360336304, -0.6566634774208069, -0.25707024335861206, -0.47782209515571594, 0.6085348725318909, -0.6253639459609985, -0.08481323719024658, 0.19340389966964722, 0.22377265989780426, -0.003988655284047127, 0.534895658493042, -0.8906638026237488, 0.28052008152008057, 0.5173987746238708, 0.7182693481445312, 0.054459333419799805, 0.012207728810608387, -0.5504157543182373, 0.14082898199558258, -0.47742000222206116, 0.5537688136100769, -0.3695189356803894, -0.18889588117599487, -0.3672977685928345, -0.4487050175666809, 0.06642331182956696, -0.3998340964317322, 0.5846049785614014, -0.3787720799446106, 0.5638603568077087, -0.05207088217139244, -0.5127662420272827, -0.31073471903800964, 0.153191938996315, -0.6037412881851196, 0.8964770436286926, 0.36488062143325806, -0.9256982207298279, -0.02628355100750923, -0.9763338565826416, -0.4239310324192047, 0.12454106658697128, -0.28696730732917786, -0.7005717754364014, 0.03906090557575226, 0.5838411450386047, 0.2431209236383438, -0.643208920955658, 0.30991119146347046, -0.3263654410839081, -0.5767278671264648, 0.18978404998779297, -0.35554033517837524, 0.8175129890441895, 0.47023335099220276, -0.22724495828151703, -0.05046990513801575, -0.5789873003959656, 0.3094082772731781, 0.359005868434906, 0.09131597727537155, -0.3336101770401001, -0.09853755682706833, -0.48100486397743225, -0.015312783420085907, 0.20676089823246002, -0.17793935537338257, 0.3355558216571808, -0.6701317429542542, 0.3578093647956848, 0.7390296459197998, 0.1072554811835289, 0.444644033908844, -0.2653653919696808, 0.7492727637290955, 0.18986347317695618, 0.16083365678787231, -0.04540374502539635, -0.6150782704353333, -0.5396108627319336, -0.17405521869659424, 0.6722567081451416, 0.2868442237377167, -1.2862303256988525, 0.03517957776784897, -0.23288366198539734, -0.6628496050834656, -0.41238272190093994, 0.11250582337379456, 0.13648764789104462, 0.5296679735183716, 0.2768114507198334, 0.18556685745716095, -0.4201502799987793, -0.8223547339439392, -0.44160300493240356, 0.2537354528903961, -0.3403532803058624, -0.09129641950130463, 0.5400896668434143, 0.017372433096170425, 0.9185441732406616, -0.9433931112289429, -0.5096534490585327, -0.3221966624259949, 0.11759426444768906, 0.6254163980484009, 0.40192848443984985, 0.55038982629776, -0.5706450343132019, -0.9902994632720947, -0.0652778297662735, -0.7103503346443176, -0.12214906513690948, 0.03588806837797165, -0.3984207808971405, 0.1064862310886383, 0.1805272400379181, -0.5502992272377014, 0.5726491212844849, 0.39640012383461, 0.07397136092185974, 0.3022959530353546, 0.1125088557600975, -0.08209343254566193, -1.117565393447876, -0.032131634652614594, -0.03360041230916977, -0.07786545157432556, -0.5396953225135803, -0.05029130354523659, 0.06531277298927307, -0.3674475848674774, -0.20374687016010284, 0.31423959136009216, -0.40119674801826477, 0.03686020150780678, 0.007621339056640863, 0.18069766461849213, -0.16297373175621033, 0.7683619856834412, -0.2384314388036728, 0.8396676182746887, 0.6140236258506775, -0.4417673349380493, 0.3130424916744232, 0.23064017295837402, -0.6934837698936462, 0.5241141319274902, -0.6215308904647827, 0.12139765918254852, 0.16481831669807434, 0.3457198143005371, -0.5909149646759033, -0.48664993047714233, 0.6686179041862488, -0.4393295645713806, 0.029536034911870956, -0.5338578820228577, -0.6900181174278259, -0.29373985528945923, -0.36893388628959656, 0.40509033203125, 0.9253422617912292, -0.6405968070030212, 0.7802472114562988, 0.3892933428287506, -0.4203914999961853, -0.19478774070739746, -0.6231086254119873, -0.37142157554626465, -0.34899622201919556, -0.60332852602005, 0.09940733760595322, -0.3435971140861511, -0.11756658554077148, -0.016313308849930763, -0.20088420808315277, -0.19940708577632904, -0.03780629113316536, 0.043588969856500626, 0.37735414505004883, 0.06082884222269058, 0.10320964455604553, 0.4686996042728424, -0.453186571598053, 0.271555095911026, -0.4550703465938568, 0.26518023014068604, -0.25681886076927185, -0.3127155005931854, -0.21604785323143005, -0.10757028311491013, 0.18001961708068848, -0.10788586735725403, 0.45353463292121887, 0.6902912855148315, -0.5167754888534546, -0.44594305753707886, -0.04218742623925209, -0.16573596000671387, -0.49930059909820557, 0.06642976403236389, -0.6127195358276367, -0.5692880749702454, 0.19366301596164703, -0.17097152769565582, 0.1937631219625473, 0.36290547251701355, 0.6994889378547668, 0.13713154196739197, 1.2032229900360107, -0.11596830189228058, 0.11932334303855896, 0.30098679661750793, -0.2496134638786316, 0.29003027081489563, -0.6069709062576294, 0.12969937920570374, -0.21148483455181122, -0.24399909377098083, -0.45508867502212524, -0.5656815767288208, 0.7529348134994507, -0.031148413196206093, -0.03981870040297508, 0.07319501787424088, -0.48519495129585266, 0.8702939748764038, 0.3402809500694275, 0.14965148270130157, 0.24486002326011658, 0.2856537699699402, -0.13294637203216553, -0.42946526408195496, -0.6830903887748718, -0.2271268665790558, 1.2792823314666748, 0.10210195183753967, 0.9679747223854065, 0.22664497792720795, 0.7674803137779236, -0.13163289427757263, 0.5440157651901245, -0.7515656352043152, 0.663322389125824, 0.1861746609210968, -0.6681041121482849, -0.19678635895252228, -1.0963977575302124, -0.779513418674469, 0.4076482355594635, -0.16959063708782196, -0.2542378604412079, -0.5272552967071533, 0.29959097504615784, -0.16199913620948792, 0.27712205052375793, -0.8702043294906616, 0.7087135314941406, -0.09203056246042252, -0.6193408370018005, -0.28417107462882996, -0.5231463313102722, 0.723163366317749, -0.4167253077030182, 0.36094170808792114, -0.1280457079410553, 0.3329538106918335, 0.6117465496063232, -0.6382754445075989, 0.6110329627990723, -0.5207456946372986, -0.27346071600914, 0.5625916123390198, 0.30493035912513733, 0.45657315850257874, 0.3945530354976654, -0.09375954419374466, 0.2031942754983902, -0.025428645312786102, -0.4697721004486084, -0.9158956408500671, 0.7867881059646606, -0.6804502606391907, -0.599549412727356, -0.4965200126171112, -0.6622698903083801, -0.45671170949935913, 0.3178226053714752, 0.21499304473400116, 0.5609036087989807, 0.2126350849866867, 0.07811706513166428, 0.5867531299591064, 0.17972400784492493, 0.17667153477668762, 0.18805037438869476, -0.5232048630714417, -0.6476200222969055, 1.1645216941833496, 0.17313459515571594, 0.07481465488672256, 0.21155962347984314, 0.5404736399650574, -0.19516755640506744, -0.4166707396507263, -0.4136507213115692, 0.17776989936828613, -0.7562870979309082, -0.5843071341514587, -0.13646790385246277, -0.27937301993370056, -0.15552090108394623, -0.014781901612877846, -0.3392050266265869, -0.7761662006378174, -0.031718041747808456, 0.20619693398475647, 0.4471176266670227, 0.6663929224014282, -0.26108789443969727, 0.20972537994384766, -0.6667752265930176, 0.5478441715240479, 0.3375113606452942, 0.5352118611335754, -0.06641974300146103, -0.5284573435783386, -0.5038469433784485, 0.38413822650909424, -0.4731694161891937, -0.5328579545021057, 0.2746398448944092, -0.07881157100200653, 0.26476824283599854, 0.22680199146270752, 0.12007404118776321, 0.6624914407730103, -0.5147612690925598, 0.5736754536628723, 0.32873809337615967, -1.2220251560211182, 0.6019256711006165, -0.499028742313385, 0.39254245162010193, 0.38634344935417175, 0.4269656240940094, 0.10200387984514236, -0.10497031360864639, -0.6664757132530212, -0.3450281620025635, 0.8983238935470581, 0.717885434627533, -0.2565433382987976, 0.1839732676744461, 0.4268595576286316, 0.3099648058414459, 0.1989632099866867, -0.7854533791542053, -0.0792296975851059, -0.3423321545124054, -0.5474283695220947, 0.27729952335357666, 0.06454137712717056, -0.1549869030714035, -0.6165269017219543, 0.9918719530105591, -0.37324243783950806, 0.20110338926315308, -0.3142600655555725, -0.05624127760529518, -0.03248054161667824, 0.059073153883218765, 0.5019732117652893, 0.7369387745857239, 0.05555238202214241, -0.04893943667411804, 0.25621849298477173, -0.6065047383308411, 0.12586168944835663, 0.2132829874753952, -0.31517183780670166, -0.011717017740011215, -0.16165277361869812, 0.53354811668396, 0.06659726798534393, -0.2913282811641693, 0.4813596308231354, -0.24072770774364471, -0.597087025642395, -0.5581274032592773, 0.3074752986431122, 0.23915895819664001, -0.02047714963555336, 0.11736864596605301, 0.16301369667053223, 0.13467596471309662, -0.20446912944316864, -0.16425658762454987, 0.08297466486692429, 0.15114596486091614, -0.430564284324646, 0.5673044323921204, 0.20372048020362854, 0.21653255820274353, 0.6017313003540039, -0.363869845867157, -0.4587191343307495, 0.09368208795785904, 0.47075942158699036, 0.4972705543041229, -0.16680464148521423, 0.12466449290513992, 0.7114579081535339, 0.05636558681726456, -0.14747457206249237, 0.2740691006183624, -0.0014482628321275115, -0.48400306701660156, -0.604335606098175, -0.3550136685371399, -0.588533341884613, 0.09185554832220078, -0.6872537732124329, 0.5133571028709412, -0.5819208025932312, -0.01782635599374771, -0.20108482241630554, 0.13620497286319733, -0.5655073523521423, 0.10036612302064896, -0.16826818883419037, 0.37130120396614075, -0.4345095753669739, 0.8503526449203491, 0.6193878650665283, -0.3620156943798065, -0.9527287483215332, -0.04125255346298218, -0.00797552801668644, -0.7009347081184387, 0.3816474676132202, 0.1664401888847351, -0.11705224215984344, 0.2607056796550751, -0.885855495929718, -0.705987811088562, 0.9728905558586121, 0.4781423807144165, -0.5396530628204346, 0.015194692648947239, 0.08256229758262634, 0.4338320791721344, -0.16129067540168762, 0.15896224975585938, 0.4282287359237671, 0.5656675696372986, 0.2604064643383026, -0.4967275559902191, 0.028622912243008614, -0.3673744201660156, 0.07147499918937683, 0.5553470253944397, -0.4041937589645386, 0.7611593008041382, -0.3511393964290619, -0.22072921693325043, 0.15877887606620789, 0.7780668139457703, 0.5122057199478149, 0.2909700572490692, 0.49673470854759216, 0.6715441942214966, 0.7372617721557617, -0.3547077178955078, 0.8643368482589722, -0.07502755522727966, 0.3846952021121979, 1.1279844045639038, -0.2687097191810608, 0.5264065265655518, 0.43312013149261475, -0.4096904397010803, 0.7044702172279358, 0.37013521790504456, 0.03060035966336727, 0.5673940777778625, 0.5560846328735352, -0.22970490157604218, -0.3633139133453369, 0.5339527726173401, -0.5771389603614807, 0.20755930244922638, 0.6045478582382202, 0.2342003732919693, -0.17578326165676117, -0.10674665123224258, 0.24142275750637054, 0.04659178853034973, -0.04904535412788391, 0.5128415822982788, 0.19431020319461823, -0.5780606269836426, 0.5636609792709351, -0.08021767437458038, 0.29567980766296387, -0.8955458998680115, -0.24637173116207123, -0.3301199674606323, 0.4023853838443756, -0.2592047154903412, -0.6689356565475464, 0.2063930183649063, 0.03223147988319397, 0.04349604994058609, 0.004957829602062702, 0.6143096685409546, -0.43710124492645264, -0.6183182001113892, -0.4334331154823303, 0.4523434042930603, 0.21465827524662018, -0.1342150717973709, -0.6289235949516296, 0.034277476370334625, 0.27669256925582886, -0.3420250713825226, 0.4456765651702881, 0.8353574872016907, -0.05363313853740692, 0.5805202126502991, 0.9655110239982605, 0.1547665148973465, -0.30944883823394775, 0.1864696592092514, 0.9899561405181885, -0.5965902209281921, -0.642979085445404, -0.6152403950691223, 0.349414587020874, -0.14503107964992523, -0.017466789111495018, 0.7941492795944214, 0.3833593726158142, 0.7343188524246216, -0.25870481133461, 0.9890811443328857, -0.06251346319913864, 0.7244930863380432, -0.6871100664138794, 0.659355878829956, -0.4301445186138153, 0.43574199080467224, -0.3904528021812439, -0.9806505441665649, -0.35352823138237, 1.0949301719665527, -0.47169941663742065, 0.08169633895158768, 0.7558251023292542, 0.5777790546417236, -0.14884209632873535, 0.3571741282939911, 0.20634427666664124, 0.15048149228096008, 0.5049246549606323, 0.8407833576202393, 0.9523631930351257, -0.61407470703125, 0.7964991927146912, -0.31131085753440857, -0.2993374764919281, 0.013160880655050278, -0.891291618347168, -1.1765379905700684, -0.2856815457344055, -0.3405301570892334, -0.264463871717453, -0.3910520076751709, 0.8074070811271667, 0.37766167521476746, -0.4878472685813904, -0.055935088545084, -0.37270310521125793, 0.20577409863471985, -0.10068189352750778, -0.31461095809936523, 0.21333934366703033, -0.31964200735092163, -0.6852986216545105, 0.25329819321632385, -0.000217346430872567, 0.044681861996650696, -0.2079000324010849, -0.07764829695224762, 0.24132800102233887, 0.03017459250986576, 0.5142389535903931, -0.01546718180179596, -0.3599267899990082, -0.04660017415881157, -0.20319418609142303, 0.027489284053444862, 0.048148248344659805, 0.767440140247345, -0.6879295110702515, 0.35028454661369324, 0.43212124705314636, 0.5570820569992065, 0.8062185645103455, -0.13434454798698425, 0.5990744829177856, -0.4551889896392822, 0.09231657534837723, 0.13777053356170654, 0.42685049772262573, 0.3192189335823059, -0.12573528289794922, 0.9852644205093384, 0.4241609275341034, -0.42730477452278137, -0.6942611336708069, 0.3111707270145416, -0.647861659526825, -0.1107996478676796, 0.8352066278457642, -0.12773403525352478, -0.15579847991466522, 0.21532754600048065, -0.4569530785083771, -0.09008780121803284, -0.33223387598991394, 0.7354393005371094, 0.7057706117630005, -0.20546984672546387, 0.0747956931591034, -0.6262749433517456, 0.5572104454040527, 0.45139190554618835, -1.1338618993759155, 0.0008881142712198198, 0.5990476608276367, 0.35075056552886963, -0.006893274839967489, 0.5165122151374817, -0.487978994846344, 0.41947075724601746, 0.20657502114772797, -0.04237823560833931, -0.32134830951690674, -0.2481716275215149, 0.10517439246177673, 0.017697324976325035, -0.14393241703510284, 0.19135290384292603 ]
http://arxiv.org/abs/2405.14314v2
http://arxiv.org/pdf/2405.14314v2
Towards Efficient LLM Grounding for Embodied Multi-Agent Collaboration
2024-05-23T08:33:19
2024-05-26T02:31:15
Yang Zhang, Shixin Yang, Chenjia Bai, Fei Wu, Xiu Li, Zhen Wang, Xuelong Li
cs.AI
cs.AI, cs.CL, cs.LG, cs.MA, cs.RO
Grounding the reasoning ability of large language models (LLMs) for embodied tasks is challenging due to the complexity of the physical world. Especially, LLM planning for multi-agent collaboration requires communication of agents or credit assignment as the feedback to re-adjust the proposed plans and achieve effective coordination. However, existing methods that overly rely on physical verification or self-reflection suffer from excessive and inefficient querying of LLMs. In this paper, we propose a novel framework for multi-agent collaboration that introduces Reinforced Advantage feedback (ReAd) for efficient self-refinement of plans. Specifically, we perform critic regression to learn a sequential advantage function from LLM-planned data, and then treat the LLM planner as an optimizer to generate actions that maximize the advantage function. It endows the LLM with the foresight to discern whether the action contributes to accomplishing the final task. We provide theoretical analysis by extending advantage-weighted regression in reinforcement learning to multi-agent systems. Experiments on Overcooked-AI and a difficult variant of RoCoBench show that ReAd surpasses baselines in success rate, and also significantly decreases the interaction steps of agents and query rounds of LLMs, demonstrating its high efficiency for grounding LLMs. More results are given at https://read-llm.github.io/.
[ -0.3187221884727478, -0.49495670199394226, 0.6413282752037048, 0.3089435398578644, 0.0060708471573889256, 0.1127796471118927, -0.4509221911430359, -0.24969176948070526, 0.4306129217147827, 0.6315407752990723, -0.7352049946784973, -0.5387059450149536, -0.24048267304897308, 0.1450660228729248, 0.22399766743183136, 0.7474784851074219, -0.26445674896240234, 0.08894102275371552, -0.36306285858154297, -0.3758922219276428, -0.4733095169067383, -0.5399506092071533, -0.3935060501098633, -0.8255956172943115, 0.4871378242969513, 0.5203196406364441, 0.42948076128959656, 0.3879258334636688, 0.2205260843038559, 0.4679722785949707, 0.1358790397644043, 0.8222938179969788, -0.6176420450210571, 0.3636115491390228, -0.334353506565094, -0.42472782731056213, -0.7091808319091797, -0.12879887223243713, 0.5662611722946167, 0.46516183018684387, -0.2588929533958435, -0.22595781087875366, 0.2689442038536072, 0.6225220561027527, -0.8791856169700623, 0.3150133192539215, -0.34544751048088074, -0.041827067732810974, 0.5336627960205078, -0.4280606508255005, -0.8056795597076416, 0.0361911915242672, -0.30002275109291077, -0.7341797351837158, -0.054664067924022675, -0.05680666118860245, 0.4663722515106201, 0.548486590385437, -0.2517023980617523, -0.0529189258813858, -0.560939371585846, 0.6855759024620056, -0.3894655406475067, 0.3266548812389374, 0.3200102150440216, 0.15286390483379364, -0.35442399978637695, -0.4857863783836365, -0.558914303779602, -0.4480125606060028, -0.0650724545121193, 0.44808605313301086, -0.028545942157506943, 0.4548938572406769, 0.05195293575525284, -0.05428895354270935, -0.10814914852380753, 0.04883712902665138, 0.07822003215551376, 0.04594142362475395, 0.7422662973403931, 0.06503576040267944, 0.08793125301599503, 0.11375366896390915, -0.6344730854034424, -0.2594517767429352, -0.5668864250183105, -0.10758916288614273, 0.11259448528289795, 0.41891998052597046, -0.03786046430468559, 0.6392141580581665, -0.35560211539268494, 0.21421803534030914, 0.2631682753562927, -0.07230507582426071, 0.3631070852279663, -0.2260589897632599, -0.1316879838705063, -0.11112053692340851, 0.4464942216873169, 0.3481876850128174, 0.08457653969526291, -0.5260739326477051, -0.3585894703865051, -0.11347054690122604, 0.523845374584198, -0.5323227047920227, 0.1510332226753235, 0.20023362338542938, -0.21463976800441742, -0.046864308416843414, -0.05204054340720177, -0.3714836835861206, -0.4275733232498169, -0.48131367564201355, 0.5220504403114319, -0.23860512673854828, -0.442900151014328, 0.23871228098869324, -0.10763119906187057, 0.32848113775253296, 0.6145413517951965, -0.7070381045341492, 0.5314391255378723, 0.7513046264648438, 0.6855648756027222, 0.09940634667873383, -0.6940144300460815, -0.5665603876113892, 0.3924272060394287, -0.35052967071533203, 0.812345564365387, -0.07392752915620804, -0.31990286707878113, -0.08165653795003891, -0.03319351375102997, -0.052694011479616165, -0.3613671362400055, 0.4511061906814575, -0.27764856815338135, -0.3153889775276184, -0.48084717988967896, -0.43268659710884094, -0.13307245075702667, 0.5854735970497131, -0.6796189546585083, 0.8826550841331482, -0.11974286288022995, -0.6026299595832825, 0.41177332401275635, -0.40079250931739807, -0.34518611431121826, -0.06671006232500076, -0.410406231880188, -0.35301825404167175, -0.004891108255833387, 0.33930858969688416, 0.4624992311000824, -0.1505187749862671, 0.2942618727684021, -0.5486859679222107, -0.3578161597251892, 0.01829984039068222, -0.039292942732572556, 0.2860236167907715, 0.06372147798538208, -0.7751806974411011, 0.6128489375114441, -0.5056282877922058, 0.4041774272918701, -0.07932056486606598, -0.28293460607528687, -0.25946810841560364, 0.15432041883468628, -0.42083585262298584, 0.14681220054626465, 0.04279206693172455, -0.09941572695970535, 0.5365031957626343, -0.16125957667827606, -0.03915676847100258, 0.8558913469314575, -0.20296208560466766, 0.6627698540687561, -0.6341584920883179, 0.4697484076023102, -0.551932692527771, -0.006740655284374952, -0.13142509758472443, 0.058972496539354324, -0.7766782641410828, -0.5636178255081177, -0.28924718499183655, 0.34354883432388306, -1.027464747428894, 0.5051324367523193, -0.18961483240127563, -0.48661187291145325, -0.4490039646625519, 0.15204861760139465, 0.7033758759498596, 0.1566856950521469, 0.4850342571735382, -0.04970213398337364, -0.2989380657672882, -0.5905746221542358, -0.08275553584098816, -0.3212565779685974, 0.2925845980644226, 0.48128530383110046, 0.37450847029685974, -0.16782955825328827, 0.8561584949493408, -0.34334126114845276, -0.27377748489379883, -0.6100231409072876, 0.215244859457016, 0.04794079810380936, 0.5556302070617676, 0.38078269362449646, -0.5839727520942688, -0.2625676691532135, -0.11357295513153076, -0.83875572681427, -0.22767677903175354, -0.2861391305923462, -0.39596793055534363, 0.010637530125677586, 0.4848186671733856, -0.7689541578292847, 0.2603837847709656, 0.35017451643943787, -0.41393691301345825, 0.6070789694786072, -0.42910051345825195, 0.20747846364974976, -0.8772652745246887, 0.05473029613494873, -0.2381114661693573, -0.33042338490486145, -0.4914916455745697, 0.33063817024230957, -0.013662632554769516, 0.2646621763706207, -0.11435145884752274, 0.5431672930717468, -0.9651566743850708, -0.21440625190734863, -0.5121119022369385, 0.11531854420900345, 0.0606146901845932, 0.8588380217552185, 0.27040013670921326, 0.6149696111679077, 0.3352217674255371, -0.6105527281761169, 0.27610543370246887, 0.1438034623861313, 0.19858583807945251, 0.5267648696899414, -0.5848641395568848, 0.41186025738716125, -0.11853717267513275, 0.6676819920539856, -0.8457724452018738, 0.06561668962240219, 0.28935861587524414, -0.507114052772522, 0.28569167852401733, -0.006755149457603693, -0.3067149221897125, -0.10811002552509308, -0.5491988062858582, 0.2560051381587982, -0.11426408588886261, -0.8945671916007996, 1.1376979351043701, 0.2921178340911865, 0.2441651076078415, -1.103692650794983, -0.6347805261611938, -0.14186044037342072, -0.002966089639812708, -0.7634475827217102, 0.36319467425346375, 0.022152921184897423, -0.34831514954566956, 0.05532253533601761, -0.1688022017478943, 0.12158820033073425, 0.15786176919937134, 0.49247387051582336, -0.1296616494655609, 0.11382497847080231, 0.3378486633300781, -0.042666248977184296, -0.24229329824447632, -0.01356694009155035, -0.3062056303024292, 0.5047810673713684, -0.2795690894126892, -0.5044646859169006, -0.1403600424528122, 0.42490270733833313, 0.525452733039856, -0.15160861611366272, 0.810043215751648, 0.3949761986732483, -0.2581116557121277, -0.688549816608429, -0.7423014640808105, -0.46381112933158875, -0.46858692169189453, 0.175864577293396, -0.580211341381073, -0.7411438226699829, 0.5190345644950867, -0.29381436109542847, 0.07383255660533905, 0.23257456719875336, 0.6090799570083618, 0.2745957672595978, 0.7601232528686523, 0.7307071685791016, 0.0003291188913863152, 0.27131497859954834, -0.571963906288147, -0.2553824186325073, -0.8128014802932739, -0.4678303003311157, -0.464468389749527, -0.1848268061876297, -0.22378955781459808, -0.6337131857872009, 0.31115734577178955, 0.10910962522029877, -0.18729855120182037, 0.09818287193775177, -0.33424288034439087, 0.3182140588760376, 0.587826669216156, 0.32826754450798035, 0.32130196690559387, -0.24749135971069336, -0.534844696521759, 0.1269502192735672, -0.6197452545166016, -0.34530380368232727, 0.7303745150566101, 0.13591834902763367, 1.0741201639175415, 0.15975655615329742, 0.8379785418510437, 0.2682175040245056, 0.34456780552864075, -0.675868809223175, 0.5448429584503174, 0.33020034432411194, -0.37811797857284546, -0.4574485719203949, -0.39303112030029297, -0.7863431572914124, 0.7610045075416565, -0.42128169536590576, -0.4094366729259491, 0.18517795205116272, 0.14927837252616882, -0.04945406690239906, 0.3695296347141266, -0.652039647102356, 0.5278077125549316, -0.35570353269577026, -0.958566427230835, -0.6277117133140564, -0.547799825668335, 0.04029706120491028, 0.4078558683395386, 0.17547103762626648, 0.019566167145967484, -0.04231959953904152, 0.2904331684112549, -0.48681432008743286, 1.0401586294174194, -0.2677328288555145, -0.11414308100938797, 0.3536086976528168, -0.05660049244761467, 0.8375958204269409, 0.16707101464271545, -0.25207576155662537, -0.28871017694473267, -0.5404950380325317, -0.26035574078559875, -0.7742984294891357, 0.533759355545044, -0.9555405974388123, -0.5523809194564819, -0.24244940280914307, -0.443901002407074, -0.3088377118110657, 0.20997528731822968, -0.02396782673895359, 0.36276668310165405, -0.14261610805988312, 0.19449898600578308, 0.16097860038280487, -0.025710906833410263, 0.32141005992889404, 0.7857968807220459, -0.010332567617297173, -0.6186332106590271, 0.5186879634857178, 0.029658522456884384, 0.24797013401985168, 0.5063967108726501, 0.0783277228474617, -0.3563746213912964, -0.3932509124279022, -0.21537216007709503, 0.3641529381275177, -0.8150492906570435, -0.24037960171699524, -0.6922748684883118, 0.05027763918042183, -0.3825387954711914, -0.46853214502334595, -0.6217066645622253, -0.08848469704389572, -0.0912647619843483, -0.447600781917572, -0.06936202198266983, 0.7208400368690491, -0.4688059091567993, 0.19125138223171234, -0.4199923276901245, 0.23123490810394287, 0.16166488826274872, 0.27904215455055237, 0.17038194835186005, 0.038615476340055466, -0.24871057271957397, -0.11482752114534378, -0.4538798928260803, -0.84248286485672, 0.3966866433620453, -0.0902741327881813, 0.9765665531158447, 0.19445917010307312, 0.42170068621635437, 0.6968413591384888, -0.21007215976715088, 0.3645133972167969, 0.16170014441013336, -0.9118609428405762, 0.21141944825649261, -0.14365048706531525, 0.0999145582318306, 0.6278886795043945, 0.13046056032180786, -0.22712232172489166, -0.4250849783420563, -0.6151627898216248, -1.0095831155776978, 0.6497063040733337, 0.118010014295578, -0.04771623760461807, -0.05975596606731415, 0.4327825903892517, -0.08676707744598389, 0.19793155789375305, -0.8446455597877502, -0.17177653312683105, 0.005911907181143761, 0.23516745865345, -0.07480368763208389, -0.3279407024383545, -0.2293175458908081, -0.19362591207027435, 0.5882296562194824, -0.6698704361915588, 0.23998752236366272, 0.5989101529121399, -0.14183752238750458, -0.15767601132392883, 0.3976002335548401, 0.562006413936615, 0.4491631090641022, -0.0690910592675209, 0.41610652208328247, 0.5324681997299194, -0.032913267612457275, 0.35273677110671997, -0.1362874060869217, 0.2952750325202942, -0.3560841977596283, 0.7938278317451477, 0.680103063583374, 0.22938215732574463, -0.45017895102500916, 0.5182549357414246, -0.05488308146595955, -0.41582053899765015, -0.3200415074825287, -0.03153621405363083, -0.09407494962215424, 0.6587079167366028, 0.3454050123691559, -0.08468734472990036, 0.1336577832698822, -0.4374340772628784, 0.3827831745147705, 0.41680991649627686, -0.3934667110443115, -0.2406633496284485, 0.2432895302772522, 0.3921673595905304, 0.0880221277475357, 0.4643558859825134, -0.2276344895362854, -0.7006880640983582, 0.665794849395752, 0.6187574863433838, 0.9713727235794067, -0.19592846930027008, 0.1966061294078827, 0.37393829226493835, 0.3597663342952728, -0.2302878201007843, 0.25019243359565735, -0.3708150386810303, -0.9614024758338928, -0.5778436064720154, -0.04355285316705704, -0.6034804582595825, -0.2262391895055771, -0.5181914567947388, 0.3155357241630554, -0.3227338492870331, -0.19695693254470825, -0.5112767219543457, 0.27239373326301575, -0.34992408752441406, 0.10936865955591202, -0.03645132854580879, 0.5459811687469482, -0.6629881262779236, 0.5717228055000305, 0.7669786214828491, -0.40321120619773865, -1.16327702999115, -0.199774831533432, 0.07177406549453735, -0.7683910727500916, 0.5880294442176819, 0.3953041732311249, -0.866194486618042, -0.12935149669647217, -0.5762094855308533, -0.7172486186027527, 1.2692561149597168, 0.5703651309013367, -0.44138628244400024, -0.21958032250404358, -0.39067551493644714, 0.5459019541740417, -0.4640284478664398, 0.7477610111236572, 0.15020404756069183, 0.48654186725616455, 0.27709636092185974, -0.844278872013092, 0.3437321186065674, -0.30922776460647583, -0.4788273274898529, 0.027601445093750954, -1.102242112159729, 0.7374333143234253, -0.6220825910568237, -0.14435569941997528, -0.1052456945180893, 0.6843870878219604, 0.5044783353805542, 0.3940608501434326, 0.6491743326187134, 0.660006582736969, 0.7297992706298828, 0.14288398623466492, 0.9751029014587402, -0.1853426992893219, 0.45282211899757385, 1.2087249755859375, -0.3935682773590088, 0.6368414759635925, 0.34405675530433655, 0.25067147612571716, 0.36255842447280884, 0.0017794386949390173, 0.19503994286060333, 0.5477826595306396, 0.45041510462760925, -0.1678898185491562, -0.4660501480102539, -0.17286477982997894, -0.31908342242240906, 0.4702460467815399, 0.18872182071208954, -0.11728082597255707, -0.23247899115085602, -0.11116825044155121, 0.15109696984291077, 0.33398303389549255, -0.1310523897409439, 1.0083941221237183, 0.11577723920345306, -0.9182830452919006, 0.5244527459144592, -0.10415193438529968, 0.5986135601997375, -0.4660060405731201, -0.26383230090141296, -0.19847455620765686, 0.5703765749931335, -0.2748681306838989, -0.530495285987854, 0.17108796536922455, -0.3070884346961975, -0.10731671005487442, -0.35320767760276794, 0.7357392907142639, -0.4201231598854065, 0.18994304537773132, 0.9551084041595459, 0.6654199361801147, -0.17779333889484406, -0.13417480885982513, -0.46216312050819397, 0.06304027140140533, -0.28701674938201904, -0.3055574595928192, 0.016796113923192024, 0.4835616946220398, -0.0279100239276886, 0.9883936047554016, 0.44015806913375854, 0.10755361616611481, -0.2586289048194885, 0.20599406957626343, 1.1654462814331055, -0.6675764918327332, -0.7538871765136719, -0.8376783728599548, 0.5087475180625916, -0.12153974175453186, -0.01701389066874981, 0.6105892062187195, 0.35598576068878174, 0.5928447246551514, 0.21848584711551666, 0.6404443979263306, 0.20695534348487854, 0.13368219137191772, -0.6982740163803101, 0.592957079410553, -0.7091055512428284, 0.2764284312725067, -0.3538314700126648, -0.6622657179832458, -0.14306463301181793, 0.6037744879722595, -0.20207257568836212, 0.21170981228351593, 0.7330981492996216, 0.5630270838737488, 0.2583810091018677, -0.2464946061372757, 0.2794439494609833, -0.04720721393823624, 0.5723463892936707, 0.5977401733398438, 0.9657003283500671, 0.10755506157875061, 0.3337574601173401, -0.20601095259189606, -0.47178781032562256, -0.192695751786232, -0.8998481035232544, -0.965847909450531, -0.4788132905960083, -0.06889284402132034, -0.42064380645751953, 0.31473878026008606, 1.2839683294296265, 1.0118300914764404, -0.3628729283809662, -0.3422555923461914, -0.2117651253938675, 0.22140343487262726, -0.47022920846939087, -0.14801926910877228, 0.34156960248947144, -0.644668459892273, -0.4203702211380005, 0.569116473197937, 0.1646464318037033, -0.264502614736557, -0.18504278361797333, -0.5502768754959106, -0.18175946176052094, 0.032162413001060486, 0.46674200892448425, 0.23364336788654327, -0.6478243470191956, -0.18497127294540405, 0.013584611006081104, -0.32984107732772827, -0.056527093052864075, 0.8790469169616699, -0.7669428586959839, 0.5658832788467407, 0.3438422679901123, 0.7875726819038391, 0.6300438642501831, 0.2763982117176056, 0.7875664830207825, -0.7842097282409668, 0.2573446035385132, 0.20278288424015045, 0.40990597009658813, 0.19361430406570435, -0.5002527832984924, 0.825596034526825, 0.13812334835529327, -0.6545714139938354, -0.5429383516311646, -0.09662611037492752, -1.043700933456421, -0.2294781357049942, 1.2973532676696777, -0.27385929226875305, -0.1931064873933792, 0.1245269626379013, -0.48626765608787537, 0.4507824182510376, -0.5386489629745483, 0.7306545972824097, 0.5488808751106262, -0.17682969570159912, -0.29380232095718384, -0.026363352313637733, 0.4240361154079437, 0.6804409027099609, -1.0184518098831177, 0.09823240339756012, 0.6567732691764832, -0.007101499941200018, 0.2110813409090042, 1.0618189573287964, 0.23225298523902893, 0.2686139643192291, 0.13209304213523865, 0.5541471838951111, -0.46020835638046265, -0.7435176968574524, -0.15637093782424927, 0.17538365721702576, 0.2708747684955597, -0.15936759114265442 ]
http://arxiv.org/abs/2405.14312v1
http://arxiv.org/pdf/2405.14312v1
Improving Gloss-free Sign Language Translation by Reducing Representation Density
2024-05-23T08:32:58
2024-05-23T08:32:58
Jinhui Ye, Xing Wang, Wenxiang Jiao, Junwei Liang, Hui Xiong
cs.CV
cs.CV, cs.CL, cs.MM
Gloss-free sign language translation (SLT) aims to develop well-performing SLT systems with no requirement for the costly gloss annotations, but currently still lags behind gloss-based approaches significantly. In this paper, we identify a representation density problem that could be a bottleneck in restricting the performance of gloss-free SLT. Specifically, the representation density problem describes that the visual representations of semantically distinct sign gestures tend to be closely packed together in feature space, which makes gloss-free methods struggle with distinguishing different sign gestures and suffer from a sharp performance drop. To address the representation density problem, we introduce a simple but effective contrastive learning strategy, namely SignCL, which encourages gloss-free models to learn more discriminative feature representation in a self-supervised manner. Our experiments demonstrate that the proposed SignCL can significantly reduce the representation density and improve performance across various translation frameworks. Specifically, SignCL achieves a significant improvement in BLEU score for the Sign Language Transformer and GFSLT-VLP on the CSL-Daily dataset by 39% and 46%, respectively, without any increase of model parameters. Compared to Sign2GPT, a state-of-the-art method based on large-scale pre-trained vision and language models, SignCL achieves better performance with only 35% of its parameters. Implementation and Checkpoints are available at https://github.com/JinhuiYE/SignCL.
[ -0.36363649368286133, 0.06834585964679718, 0.4987383782863617, 0.34580695629119873, -0.7918021082878113, 0.015248707495629787, -0.1719191074371338, -0.7553091645240784, 0.33107611536979675, 0.6258253455162048, -0.2962031364440918, -0.700803816318512, -0.9478909969329834, -0.19133572280406952, -0.29377099871635437, 1.0318080186843872, -0.2060379683971405, 0.09501374512910843, 0.045776668936014175, -0.3796598017215729, -0.146037757396698, -0.2281142920255661, -0.7873315215110779, -0.34697023034095764, 0.07808069884777069, 0.1904074102640152, 0.8478714227676392, 0.3832089304924011, 0.4554780423641205, 0.10478820651769638, -0.15290066599845886, 0.1013251319527626, -0.5673800706863403, 0.13062679767608643, 0.39273801445961, -0.0875634178519249, -0.32991358637809753, -0.046048350632190704, 0.6153079867362976, 0.7707780003547668, -0.015622211620211601, -0.1569247841835022, 0.012862865813076496, 0.7459744215011597, -0.45778194069862366, 0.2575836181640625, -0.3983529508113861, -0.022290008142590523, -0.19856029748916626, 0.4110317528247833, -0.3666680157184601, -0.11420552432537079, -0.06177552416920662, -0.8383888006210327, 0.44762277603149414, 0.20702466368675232, 0.6638118624687195, 0.43485498428344727, -0.48252224922180176, -0.28081318736076355, -0.665368378162384, 0.6379583477973938, -0.6470016837120056, 0.7944341897964478, 0.41818568110466003, 0.173175647854805, 0.23066633939743042, -0.09833516925573349, -0.2378619760274887, -0.41575559973716736, -0.16501717269420624, 0.29691892862319946, 0.08355855196714401, 0.128022238612175, 0.28375765681266785, 0.2977120280265808, -0.8852198719978333, 0.03789231926202774, -0.4083860218524933, -0.4312782287597656, 0.6993392705917358, -0.1475035548210144, 0.03751305490732193, 0.14115889370441437, -0.6893496513366699, -0.47316908836364746, -0.6580044031143188, -0.0625942274928093, -0.10906969010829926, 0.42934319376945496, -0.31647783517837524, 0.17881251871585846, 0.0626043751835823, 0.4909965395927429, -0.03953593596816063, 0.2441992312669754, 0.4254540801048279, -0.20217633247375488, 0.056525737047195435, 0.04737171158194542, 0.666253924369812, 0.31281042098999023, 0.24045054614543915, 0.10877973586320877, -0.5901513695716858, -0.12182629108428955, -0.26182347536087036, -0.7858037352561951, -0.45346683263778687, 0.06197755038738251, -0.20877563953399658, 0.274183988571167, 0.20564764738082886, -0.4304773211479187, -0.700600266456604, -0.03585955873131752, 0.2787920832633972, -0.4863579273223877, -0.540055513381958, 0.1642434448003769, 0.03221119940280914, 0.1800917536020279, 0.6104070544242859, -0.9337336421012878, 0.5170364379882812, 0.28368157148361206, 0.9714035987854004, -0.5862865447998047, 0.2992144525051117, -0.4156586527824402, 0.3233630359172821, -0.44752225279808044, 0.3407130241394043, -0.10417800396680832, -0.6168453693389893, -0.21592068672180176, -0.3981441557407379, -0.13483202457427979, -0.6509104371070862, 0.3256113827228546, -0.3474051356315613, -0.05620616674423218, -0.20313945412635803, -0.5293235778808594, -0.022151699289679527, -0.1013953685760498, -0.922174870967865, 0.8656637668609619, 0.10946372151374817, -0.2502433657646179, 0.3851070702075958, -0.5325632691383362, -0.5872344374656677, 0.3535548448562622, -0.09723421186208725, -0.564048171043396, 0.3729802668094635, 0.3016464114189148, 0.3285394012928009, -0.0036219037137925625, -0.17985086143016815, 0.07215255498886108, -0.43898358941078186, -0.03859557583928108, 0.05361013859510422, 0.5968146324157715, 0.37087810039520264, -0.49818822741508484, 0.10050230473279953, -0.613088071346283, -0.12236147373914719, 0.17631959915161133, 0.05726209282875061, -0.6977991461753845, -0.315824419260025, 0.08385330438613892, 0.29680201411247253, 0.4102496802806854, -0.398711621761322, -0.052310798317193985, -0.4712260961532593, -0.1476423293352127, 0.44128844141960144, -0.0734875500202179, 0.563377857208252, 0.23982958495616913, 0.36700519919395447, 0.3546980023384094, 0.29317963123321533, 0.26474136114120483, -0.6992300152778625, -0.8939692378044128, -0.21263083815574646, 0.016748731955885887, 0.3797752261161804, -0.6731042265892029, 0.038394466042518616, -0.11784682422876358, -0.2760704457759857, -0.6579750776290894, 0.5236557126045227, 0.7986583113670349, 0.1394558548927307, 0.7565950751304626, -0.7279632687568665, -0.07023998349905014, -0.7221890091896057, -0.08332836627960205, -0.15946616232395172, 0.08318191021680832, -0.1438496857881546, 0.434317946434021, 0.250930517911911, 0.32225701212882996, -0.5721946954727173, -0.6002943515777588, -0.21288764476776123, 0.06423531472682953, 0.10355032980442047, 0.5771453380584717, 0.4303135871887207, -1.080651044845581, -0.7406038641929626, 0.14414604008197784, -0.31388092041015625, -0.16413867473602295, -0.1504494994878769, 0.24389587342739105, 0.35427165031433105, 0.52336186170578, -0.4830353260040283, 0.494381844997406, 0.8372024893760681, -0.5572599172592163, 0.4597941040992737, -0.2560648024082184, -0.05969005078077316, -0.504751443862915, 0.0217468049377203, 0.0450233519077301, -0.31533128023147583, -0.8908817172050476, 0.05821695551276207, 0.28101563453674316, -0.3879551589488983, -0.6520068645477295, 0.6834040284156799, -0.750514030456543, -0.1940954327583313, -0.19005592167377472, 0.56512051820755, -0.05794667452573776, 0.39674243330955505, 0.15978902578353882, 0.7933405041694641, 0.418912798166275, -0.6123441457748413, -0.25905171036720276, 0.2845044732093811, -0.1488061398267746, 0.4291698634624481, -0.5873470306396484, -0.06479677557945251, 0.011351536959409714, -0.09067609161138535, -1.1590262651443481, 0.21136532723903656, 0.3816733658313751, -0.12650054693222046, 0.5805901885032654, 0.048749517649412155, -0.26617491245269775, -0.17630738019943237, -0.12693925201892853, 0.3658837378025055, 0.7029680609703064, -0.5097678303718567, 0.26186320185661316, -0.0753350555896759, 0.23740185797214508, -0.2921581268310547, -0.8427330255508423, -0.17424841225147247, 0.07739236205816269, -0.5348600149154663, 0.34390026330947876, -0.1558540314435959, -0.012717822566628456, -0.21761156618595123, -0.4800255596637726, 0.22847189009189606, 0.008824802935123444, 0.0747009739279747, -0.20609867572784424, 0.06420762836933136, 0.2408369481563568, 0.03507765382528305, -0.4370829164981842, -0.2569238245487213, -0.3797065317630768, 0.43747103214263916, -0.2314140647649765, -0.5449030995368958, -0.4936049282550812, 0.30737626552581787, 0.4477224051952362, -0.2848343551158905, 0.6073782444000244, 0.6567074656486511, 0.05560538172721863, -0.3544921576976776, -0.25585225224494934, -0.18254287540912628, -0.4506637454032898, 0.13806426525115967, -0.3314129412174225, -0.9328862428665161, 0.6692109704017639, -0.00519547238945961, -0.044465940445661545, 0.3444000780582428, 0.21184435486793518, -0.05422617495059967, 0.9888480305671692, 0.5511853694915771, 0.33948808908462524, 0.6245524287223816, -0.2514079809188843, 0.08183731138706207, -0.7696020007133484, -0.10090967267751694, -0.007705153431743383, -0.17800122499465942, -0.3178822994232178, -0.7307945489883423, 0.4204084575176239, 0.26700359582901, -0.023069830611348152, 0.6219083070755005, -0.637649416923523, 0.18721628189086914, 0.24137616157531738, 0.11814277619123459, 0.4028385579586029, 0.017397496849298477, -0.26394397020339966, -0.1719965785741806, -0.37287473678588867, -0.18074829876422882, 0.7575204968452454, 0.09595741331577301, 0.43602052330970764, 0.28073251247406006, 1.0899865627288818, 0.23025444149971008, 0.26854076981544495, -0.23528870940208435, 0.7465676665306091, -0.6169611811637878, -0.32811427116394043, -0.24542848765850067, -0.5617612600326538, -0.8726294040679932, 0.6855860352516174, -0.28231754899024963, -0.3267977237701416, 0.3024890422821045, 0.387154221534729, 0.22139523923397064, 0.21099966764450073, -0.7871617078781128, 0.9439290165901184, -0.5773655772209167, -0.1018652394413948, -0.24316217005252838, -0.728584885597229, 0.28659436106681824, -0.03535795211791992, 0.26670730113983154, -0.25819131731987, -0.12880608439445496, 0.5327479243278503, -0.4623176157474518, 0.9016175270080566, -0.5605411529541016, -0.5576103925704956, 0.15607231855392456, 0.3612480163574219, 0.5841155648231506, -0.27994105219841003, -0.10599260032176971, 0.1525554358959198, -0.1808507889509201, -0.6762000918388367, -0.741334080696106, 0.46385595202445984, -0.6771796941757202, -0.4956994950771332, -0.3119930326938629, -0.5182569622993469, -0.11106017231941223, 0.18313348293304443, 0.23077121376991272, 0.021062767133116722, -0.26883724331855774, -0.3789066970348358, 0.7435917258262634, 0.12237999588251114, 0.3411354124546051, 0.29388925433158875, -0.3958769738674164, -0.3632306456565857, 1.1912260055541992, 0.01656499318778515, 0.7666659951210022, 0.23807393014431, 0.24589170515537262, -0.47152724862098694, -0.9871999621391296, -0.2837212085723877, 0.6261559128761292, -0.8434240818023682, 0.04650061950087547, -0.048897601664066315, 0.15774448215961456, -0.43356820940971375, -0.1627826690673828, -0.4090692400932312, -0.8318554162979126, -0.22905592620372772, 0.06686148047447205, 0.2433699518442154, 0.5644225478172302, -0.06234327703714371, 0.6207852959632874, -0.25521960854530334, 0.35266822576522827, 0.09871106594800949, 0.3831036388874054, -0.08634419739246368, -0.36234164237976074, -0.2801533043384552, -0.1343698352575302, -0.22375573217868805, -0.7638359069824219, 0.28051719069480896, 0.42303597927093506, 0.36520954966545105, 0.5319386124610901, 0.21741953492164612, 0.6352816820144653, -0.043178725987672806, 0.7359498739242554, 0.6404829621315002, -1.021477222442627, 0.5674043893814087, -0.07259032875299454, 0.6056479811668396, 0.593744695186615, 0.29630380868911743, -0.5732946991920471, -0.7463843822479248, -0.5085867047309875, -0.9638199210166931, 0.29804056882858276, 0.4434792101383209, -0.043962955474853516, 0.00511624151840806, 0.23111186921596527, 0.0649193674325943, 0.25278013944625854, -0.9164272546768188, -0.25237295031547546, -0.5212631225585938, -0.22501370310783386, -0.3567163944244385, 0.05977867543697357, 0.06378667056560516, -0.2093529850244522, 0.6580686569213867, -0.12038034200668335, -0.017110833898186684, 0.2417292296886444, -0.5238888263702393, -0.0019805273041129112, 0.11272510141134262, 0.9622965455055237, 0.2521587610244751, 0.007649258244782686, 0.3998866379261017, 0.17086324095726013, -0.6162417531013489, 0.041588012129068375, -0.04111455753445625, -0.569169819355011, 0.0807882621884346, 0.28144770860671997, 0.9582025408744812, 0.22362414002418518, -0.4954531192779541, 0.6302944421768188, 0.2894113063812256, -0.2863931357860565, -0.04275348782539368, 0.11541744321584702, -0.009285283274948597, 0.10634339600801468, 0.3892282247543335, -0.0010845320066437125, -0.09234805405139923, 0.08852862566709518, 0.17969468235969543, 0.4222278296947479, -0.7310011386871338, -0.19461867213249207, 0.7659916281700134, 0.23183366656303406, -0.03294150531291962, 0.5031540989875793, -0.43376684188842773, -0.5006198883056641, 0.2954295575618744, 0.7599855661392212, 0.7424496412277222, -0.5070276856422424, 0.40428683161735535, 0.3636437654495239, 0.3183925449848175, -0.2582911550998688, 0.2805781662464142, -0.3013882339000702, -0.4823962152004242, -0.2788645327091217, -0.44568148255348206, -0.5094225406646729, -0.33706921339035034, -0.37586215138435364, 0.07839705049991608, -0.634300708770752, 0.0032241791486740112, -0.6151912212371826, 0.0923326388001442, -0.3998180031776428, 0.22248999774456024, 0.38059738278388977, 0.5248130559921265, -1.0480215549468994, 0.777449905872345, 0.43467625975608826, -0.5827434659004211, -0.36807700991630554, -0.25053638219833374, -0.08510123193264008, -0.7410286068916321, 0.6232888102531433, 0.17188620567321777, -0.37620383501052856, 0.16404320299625397, -0.5275468826293945, -0.8702016472816467, 0.9759124517440796, 0.5165261626243591, -0.6711582541465759, 0.2916789948940277, 0.36505112051963806, 0.7325518727302551, -0.4884628653526306, -0.17813384532928467, 0.3489294648170471, 0.7012772560119629, 0.17659269273281097, -0.7646945714950562, 0.5299714207649231, -0.027028925716876984, 0.2630322575569153, 0.5048360824584961, -0.5672318339347839, 0.48637041449546814, -0.25035014748573303, -0.6110243201255798, -0.03839217126369476, 0.8519359827041626, 0.3583522439002991, 0.36350980401039124, 0.5749146938323975, 0.5676140785217285, 0.9168146848678589, -0.1507112830877304, 0.8077849745750427, -0.22243376076221466, 0.4100184440612793, 0.6864533424377441, -0.30783507227897644, 0.7527822256088257, 0.7141963243484497, 0.045765895396471024, 0.3488936126232147, 0.19847285747528076, -0.1375121772289276, 0.4880039691925049, 0.32221078872680664, -0.34751757979393005, -0.5452070236206055, 0.18439236283302307, -0.24441784620285034, 0.052333176136016846, 0.5262421369552612, -0.21845901012420654, -0.4462429881095886, 0.2814779579639435, -0.08063440769910812, 0.44583314657211304, -0.31311148405075073, 0.47435688972473145, 0.35913488268852234, -0.2233753800392151, 0.9923795461654663, -0.4896204471588135, 0.5843366384506226, -0.7105064988136292, -0.029518824070692062, -0.3080024719238281, -0.009949461556971073, -0.22903794050216675, -0.6848419904708862, 0.22305062413215637, -0.5664229393005371, 0.056162115186452866, -0.5992766618728638, 0.579274594783783, -0.7338280081748962, -0.36102086305618286, 0.6205649971961975, 0.45510804653167725, 0.5728129148483276, 0.05803246796131134, -0.7990136742591858, 0.23798002302646637, -0.10598690807819366, -0.023178258910775185, 0.3231959342956543, 0.12130380421876907, -0.3658505976200104, 0.6039221286773682, 0.5586745738983154, 0.2692389488220215, 0.06266370415687561, 0.22690720856189728, 0.5503088235855103, -0.6175054907798767, -0.4685634970664978, -0.3377353847026825, 0.3966037929058075, -0.1214437186717987, -0.4142347574234009, 0.6154797673225403, 0.47632431983947754, 0.7479314208030701, -0.20476838946342468, 0.38890349864959717, 0.022234931588172913, 0.06567014008760452, -0.6079586744308472, 0.828203558921814, -0.5996756553649902, 0.2192961424589157, -0.3068380355834961, -0.8875219821929932, -0.9789817929267883, 0.7009056210517883, -0.33811047673225403, 0.06375714391469955, 0.6965512037277222, 0.6531563401222229, -0.05354920029640198, -0.33606696128845215, 0.7987318634986877, 0.06728564202785492, 0.4097510874271393, 0.8263819813728333, 0.3321218192577362, -0.7143444418907166, 0.8741531372070312, -0.10751208662986755, 0.028868665918707848, -0.3113274574279785, -0.8186908960342407, -0.6976282596588135, -0.7908813953399658, -0.6633751392364502, -0.2649797797203064, 0.17513319849967957, 0.48225969076156616, 0.6841654181480408, -0.8963416814804077, -0.4197264611721039, -0.11210831254720688, 0.20306873321533203, -0.7430650591850281, -0.13508599996566772, 0.6413394212722778, -0.35026997327804565, -0.3510071337223053, 0.514460563659668, 0.11222787201404572, 0.40205052495002747, -0.09883562475442886, -0.5949695110321045, 0.10160660743713379, -0.40071240067481995, 0.5592976808547974, 0.6242272257804871, -0.7073071002960205, -0.4481135904788971, -0.18414190411567688, -0.1753804236650467, 0.1968035101890564, 0.833789050579071, -0.5344771146774292, 0.5077143311500549, 0.24271760880947113, 0.18719811737537384, 1.1680198907852173, 0.06623237580060959, 0.25040534138679504, -1.0046696662902832, 0.19368518888950348, 0.11324089765548706, 0.11318609863519669, 0.6522688269615173, -0.15815815329551697, 0.39041221141815186, 0.2532311677932739, -0.1581679880619049, -0.33772775530815125, 0.6822007894515991, -1.4160653352737427, -0.2420303374528885, 0.976481020450592, 0.1483248472213745, -0.1165178120136261, -0.30883732438087463, -0.14460238814353943, 0.14202480018138885, -0.48467880487442017, 0.4044671952724457, 0.2953494191169739, -0.4562242925167084, -0.5999847650527954, -0.389728307723999, 0.7532660365104675, 0.6426156163215637, -0.21253839135169983, 0.3169872760772705, 0.4497716426849365, 0.14904451370239258, 0.46483114361763, 0.8061515092849731, -0.23013952374458313, 0.32834017276763916, -0.15700596570968628, 0.4136355519294739, -0.2092255800962448, -0.14397922158241272, -0.5073345899581909, 0.2410677969455719, 0.27360764145851135, 0.028654903173446655 ]
http://arxiv.org/abs/2405.14277v1
http://arxiv.org/pdf/2405.14277v1
Improving Language Models Trained with Translated Data via Continual Pre-Training and Dictionary Learning Analysis
2024-05-23T07:53:04
2024-05-23T07:53:04
Sabri Boughorbel, MD Rizwan Parvez, Majd Hawasly
cs.CL
cs.CL
Training LLMs in low resources languages usually utilizes data augmentation with machine translation (MT) from English language. However, translation brings a number of challenges: there are large costs attached to translating and curating huge amounts of content with high-end machine translation solutions, the translated content carries over cultural biases, and if the translation is not faithful and accurate, the quality of the data degrades causing issues in the trained model. In this work we investigate the role of translation and synthetic data in training language models. We translate TinyStories, a dataset of 2.2M short stories for 3-4 year old children, from English to Arabic using the free NLLB-3B MT model. We train a number of story generation models of sizes 1M-33M parameters using this data. We identify a number of quality and task-specific issues in the resulting models. To rectify these issues, we further pre-train the models with a small dataset of synthesized high-quality stories, representing 1\% of the original training data, using a capable LLM in Arabic. We show using GPT-4 as a judge and dictionary learning analysis from mechanistic interpretability that the suggested approach is a practical means to resolve some of the translation pitfalls. We illustrate the improvement through case studies of linguistic issues and cultural bias.
[ -0.14373961091041565, -0.605963408946991, 0.48910221457481384, 0.11702127009630203, -0.4117850959300995, 0.131557896733284, -0.3008708357810974, -0.5289397835731506, 0.071632981300354, 0.5062053799629211, -0.5835379362106323, -0.3098612129688263, -0.580428421497345, 0.2352495640516281, -0.425507515668869, 1.1173511743545532, -0.5414610505104065, 0.2117994874715805, -0.10317432135343552, -0.25700366497039795, -0.5533285737037659, -0.6423149108886719, -0.624895453453064, -0.19089393317699432, 0.2452850639820099, 0.4928564429283142, 0.787265956401825, 0.682829737663269, 0.2704838514328003, 0.20550769567489624, 0.17724381387233734, 0.413119375705719, -0.5599572658538818, 0.04116194322705269, -0.02452898398041725, -0.5107850432395935, -0.30924421548843384, 0.25546994805336, 0.5821124911308289, 0.8730120062828064, 0.020836148411035538, 0.17274747788906097, 0.36570724844932556, 0.6357693076133728, -0.20085468888282776, 0.19719016551971436, -0.570141613483429, 0.19806402921676636, -0.3485371470451355, -0.03946581110358238, -0.17417407035827637, -0.31333792209625244, 0.09062875062227249, -0.6036983132362366, 0.40892285108566284, 0.03683393821120262, 0.768007218837738, 0.2246866524219513, -0.44249317049980164, -0.6020928621292114, -0.6294093728065491, 1.054305076599121, -0.8176204562187195, 0.43515560030937195, 0.5145889520645142, 0.13555504381656647, -0.23347312211990356, -0.593644917011261, -0.695796012878418, -0.24278534948825836, -0.24172343313694, -0.022488994523882866, -0.002041596919298172, -0.35544389486312866, 0.12537088990211487, 0.257938951253891, -0.5568938851356506, 0.06931803375482559, -0.3317650556564331, -0.29004842042922974, 0.5327781438827515, 0.3370228409767151, 0.30091625452041626, -0.2583223283290863, -0.048518240451812744, -0.21353475749492645, -0.9610021710395813, -0.03878502920269966, 0.4607454836368561, 0.2807605564594269, -0.20879939198493958, 0.40052223205566406, -0.19315944612026215, 0.6199117302894592, -0.04570924490690231, -0.17956946790218353, 0.40242800116539, -0.6988199353218079, 0.12337873876094818, -0.09473012387752533, 0.679119348526001, 0.3277369439601898, 0.5070472359657288, -0.26954230666160583, -0.4248374104499817, -0.14785189926624298, 0.195928156375885, -0.8332158923149109, -0.06102683022618294, 0.15593868494033813, -0.45514917373657227, -0.43172016739845276, -0.4728552997112274, -0.5571205019950867, -0.1354132890701294, -0.3827708959579468, 0.2222764939069748, -0.5368276238441467, -0.1361997276544571, -0.01526143029332161, 0.3820660710334778, -0.05010242760181427, 0.24039651453495026, -1.0175105333328247, 0.20676864683628082, 0.27265802025794983, 0.9086451530456543, -0.3318274915218353, -0.2522132992744446, -0.43918362259864807, 0.1791865974664688, -0.6700868606567383, 0.5785108208656311, -0.20199435949325562, -0.47540730237960815, 0.023834271356463432, -0.07441385835409164, -0.07984313368797302, -0.8053904175758362, 0.5334731936454773, -0.37609216570854187, 0.3084122836589813, -0.030699528753757477, -0.29181987047195435, 0.06379105150699615, 0.46598851680755615, -0.6796783208847046, 0.8930855989456177, 0.3537669777870178, -0.43568864464759827, 0.41450923681259155, -0.44573938846588135, -0.47772669792175293, 0.03745788708329201, -0.01950901746749878, -0.33531734347343445, 0.3741348087787628, 0.6036646962165833, 0.41129806637763977, -0.2698756754398346, 0.30207738280296326, 0.012006200850009918, -0.18778029084205627, 0.1734514832496643, -0.6324122548103333, 0.4163949489593506, 0.46545112133026123, -0.052914198487997055, -0.1250848025083542, -0.7297235131263733, 0.011558882892131805, 0.18097393214702606, -0.3538876473903656, -0.22239026427268982, 0.07177126407623291, 0.09401153773069382, 0.47018370032310486, 0.3591884970664978, -0.2904095947742462, 0.28710177540779114, -0.6624568104743958, 0.3249785006046295, 0.5416350960731506, 0.009107631631195545, 0.5191803574562073, -0.3241366147994995, 0.6578140258789062, 0.37957578897476196, 0.22143958508968353, -0.010143009014427662, -0.37046971917152405, -0.6975550651550293, 0.04525173455476761, 0.4569619297981262, 0.3620118498802185, -1.333980679512024, -0.01956433616578579, -0.6329022645950317, -0.2457234263420105, -0.7074425220489502, 0.4913580119609833, 0.1950206756591797, 0.5079656839370728, 0.5572134256362915, -0.41286036372184753, -0.49317505955696106, -0.7220823764801025, -0.26355838775634766, -0.09847145527601242, -0.20432956516742706, 0.009723961353302002, 0.39331918954849243, -0.47566336393356323, 0.9613191485404968, 0.020223557949066162, -0.316848486661911, -0.4546140134334564, 0.22586606442928314, 0.3999221920967102, 0.6638697385787964, 0.6022371053695679, -0.637435257434845, -0.6935506463050842, 0.08490250259637833, -0.6158890128135681, -0.21789178252220154, -0.32969164848327637, 0.011927656829357147, 0.4586450755596161, 0.31619134545326233, -0.644961416721344, 0.3051121234893799, 0.729383647441864, -0.030914921313524246, 0.5969717502593994, -0.24855560064315796, 0.048847947269678116, -1.1910645961761475, -0.21879731118679047, -0.21868391335010529, -0.3152935206890106, -0.7223550081253052, -0.03853868320584297, 0.07268572598695755, -0.046759672462940216, -0.5221630930900574, 0.7043924927711487, -0.3909156322479248, 0.13129448890686035, -0.24567009508609772, 0.020750563591718674, -0.06535109132528305, 0.2450670599937439, 0.08042638748884201, 0.8796818852424622, 0.12036864459514618, -0.4557631015777588, 0.34861382842063904, 0.2098044455051422, -0.45154595375061035, 0.43523386120796204, -0.3962880074977875, 0.20803508162498474, 0.18449881672859192, -0.008648715913295746, -0.6644672751426697, -0.1895931363105774, 0.3517974615097046, -0.5012261867523193, 0.44496411085128784, -0.17901360988616943, -0.92446368932724, -0.29838332533836365, -0.19779598712921143, 0.2701835632324219, 0.4300837218761444, -0.6137570142745972, 0.5289671421051025, -0.0027797750663012266, -0.3037673532962799, -0.41609326004981995, -0.5723981261253357, 0.10237781703472137, -0.2444995939731598, -0.5625194907188416, 0.17189626395702362, -0.10527040809392929, -0.07654200494289398, 0.19096685945987701, -0.40255314111709595, -0.22143062949180603, 0.1007319763302803, -0.21023279428482056, 0.20785439014434814, -0.18072780966758728, 0.0870303139090538, 0.14196844398975372, -0.16553880274295807, 0.060001522302627563, -0.3962312638759613, 0.5571215748786926, -0.11077193170785904, 0.03010512888431549, -0.1147402971982956, 0.20006927847862244, 0.3540673553943634, -0.07462572306394577, 1.0690609216690063, 0.5803394317626953, -0.2556993365287781, -0.282042533159256, -0.4535138010978699, -0.0506240651011467, -0.457304447889328, 0.3472920060157776, -0.6000458598136902, -0.6087871789932251, 0.4782346785068512, 0.028849627822637558, -0.09352981299161911, 0.4881976246833801, 0.5101925730705261, -0.4730679392814636, 1.275941014289856, 0.573914647102356, -0.2512870132923126, 0.4171048700809479, -0.2734018862247467, 0.16021715104579926, -0.5377888679504395, 0.04808581620454788, -0.23513981699943542, -0.2666422128677368, -0.6293554306030273, -0.3269897699356079, 0.40928226709365845, 0.35249757766723633, 0.0903308093547821, 0.3067208528518677, -0.049133822321891785, 0.511394739151001, 0.299331396818161, -0.048055071383714676, 0.3069939613342285, 0.2572081387042999, -0.15099000930786133, -0.2658000886440277, -0.81089848279953, -0.6915180087089539, 1.3300700187683105, 0.31810441613197327, 0.6145073175430298, 0.2108984738588333, 0.8611549139022827, -0.013213610276579857, 0.6122298240661621, -0.7587946057319641, 0.2512008547782898, -0.18116827309131622, -0.4826122224330902, -0.10916348546743393, -0.738167405128479, -0.9052894711494446, 0.2387925535440445, -0.19715061783790588, -0.43975168466567993, 0.018839452415704727, 0.1982751339673996, -0.1821146309375763, 0.04203931242227554, -0.8036008477210999, 0.8903568983078003, -0.5713585019111633, -0.37387335300445557, -0.26089873909950256, -0.49984297156333923, 0.2399730533361435, -0.7222076654434204, 0.3919975161552429, 0.17502279579639435, 0.07123550772666931, 0.8023937344551086, -0.533540666103363, 0.6889815330505371, -0.09241877496242523, -0.19698598980903625, 0.13967137038707733, 0.30419260263442993, 0.6068122386932373, -0.010787789709866047, -0.011906551197171211, 0.32609114050865173, 0.37245818972587585, -0.6294519901275635, -0.6612833738327026, 0.4973274767398834, -0.8590964674949646, -0.6102456450462341, -0.37861183285713196, -0.9021310806274414, -0.6114376187324524, 0.1451205462217331, 0.22131124138832092, 0.1834677755832672, 0.08936557918787003, 0.18758676946163177, 0.37354618310928345, -0.1993720680475235, 0.3340376615524292, 0.7334172129631042, -0.16241726279258728, -0.27219358086586, 0.9111695885658264, 0.30844372510910034, 0.4207591414451599, -0.11575407534837723, 0.0712999626994133, -0.3260563611984253, -0.9327713251113892, -0.6018092036247253, 0.29906561970710754, -0.5488295555114746, -0.15025952458381653, -0.2703097462654114, -0.1019112765789032, -0.43037909269332886, -0.01432795263826847, -0.3767963647842407, -0.38534021377563477, -0.34067201614379883, -0.10801880806684494, 0.011317145079374313, 0.6057757139205933, -0.13854193687438965, 0.5986742377281189, -1.1236674785614014, 0.3072395324707031, -0.0643426775932312, 0.16391050815582275, -0.16091835498809814, -0.7969128489494324, -0.730894148349762, 0.3025471866130829, -0.4183056056499481, -0.7442131042480469, 0.8109813928604126, 0.1380215883255005, 0.46181297302246094, 0.22905825078487396, -0.3012644648551941, 0.7907976508140564, -0.8085399270057678, 0.7227815389633179, 0.030761543661355972, -0.8727586269378662, 0.4912289083003998, -0.2512108385562897, 0.14579173922538757, 0.4760288596153259, 0.5098942518234253, -0.6436643600463867, -0.19165927171707153, -0.6116748452186584, -0.6577601432800293, 0.7643935084342957, 0.2781325876712799, 0.40280166268348694, 0.03222643584012985, 0.36910349130630493, 0.1596250981092453, 0.2889513373374939, -0.7057626247406006, 0.10074159502983093, -0.27017566561698914, -0.5183576345443726, -0.3357662260532379, -0.3384346067905426, 0.0909683033823967, -0.3461785614490509, 0.7999813556671143, -0.1364717036485672, -0.14359991252422333, -0.27217379212379456, -0.5515690445899963, -0.053096938878297806, 0.11907689273357391, 0.335455983877182, 0.596684455871582, -0.18085657060146332, -0.1126224547624588, 0.24937376379966736, -0.6150513887405396, 0.3507753908634186, 0.13596247136592865, -0.11351703107357025, 0.0157431922852993, 0.5565171837806702, 0.6543382406234741, -0.07432407140731812, -0.6529473662376404, 0.42078500986099243, 0.031779929995536804, 0.08541139215230942, -0.22479680180549622, -0.07711073756217957, -0.030801206827163696, 0.11544682830572128, 0.20321378111839294, -0.16516241431236267, -0.08872780203819275, -0.6142992377281189, 0.10646560043096542, 0.17205317318439484, -0.13891203701496124, -0.409664124250412, 0.45808765292167664, 0.1756344884634018, 0.07410144060850143, 0.8949094414710999, -0.20387409627437592, -0.4878234267234802, 0.39326199889183044, 0.6236807107925415, 0.5101320147514343, -0.398121178150177, 0.23979981243610382, 0.14186353981494904, 0.6323525309562683, -0.18618759512901306, 0.11255813390016556, -0.0069540515542030334, -1.033866286277771, -0.6042008996009827, -0.7729644179344177, -0.3169698119163513, 0.2739875614643097, -0.5472308397293091, 0.07299536466598511, -0.04025447741150856, 0.17900416254997253, -0.5256962180137634, 0.21600790321826935, -0.8752323985099792, 0.30146732926368713, 0.06935858726501465, 0.7332350015640259, -0.9363884329795837, 1.2819103002548218, 0.4503369629383087, -0.5927748680114746, -0.8038994073867798, 0.06783658266067505, -0.23372995853424072, -0.734877347946167, 0.9665358662605286, 0.05966595932841301, 0.08970225602388382, 0.27902892231941223, -0.5388473272323608, -0.8396179676055908, 0.6772381663322449, 0.3268105685710907, -0.6119576692581177, -0.014275566674768925, 0.6468023061752319, 0.8051948547363281, -0.28876593708992004, -0.10696469992399216, 0.9062905311584473, 0.23073570430278778, -0.11275669932365417, -0.8158419132232666, -0.2379327416419983, -0.18237541615962982, 0.11534548550844193, 0.001331169856712222, -0.046502046287059784, 0.6941027045249939, 0.020073041319847107, -0.2529125213623047, 0.2839816212654114, 0.5494347214698792, 0.16568341851234436, 0.16987477242946625, 0.34075412154197693, 0.48903748393058777, 0.5772397518157959, -0.17105799913406372, 1.2194854021072388, -0.27216973900794983, 0.33533400297164917, 1.144980549812317, -0.2400275021791458, 0.7193259000778198, 0.7011611461639404, -0.15198495984077454, 0.23180612921714783, 0.8384211659431458, 0.10148335248231888, 0.7546593546867371, 0.17453894019126892, -0.19819970428943634, -0.05490516498684883, 0.004646343644708395, -0.3164968490600586, 0.1731516271829605, 0.6245751976966858, -0.22959540784358978, -0.23922573029994965, 0.35194405913352966, 0.10387811809778214, -0.06814315915107727, -0.2192697823047638, 0.6520911455154419, 0.10185553133487701, -0.358603298664093, 0.8153191804885864, 0.07160315662622452, 0.5656357407569885, -0.6038638949394226, 0.02622057870030403, -0.6755479574203491, 0.12701548635959625, -0.06312216073274612, -0.4750818908214569, 0.38488298654556274, 0.17708036303520203, -0.20991195738315582, -0.4853023886680603, 0.39148953557014465, -0.5898270606994629, -0.6514344811439514, 0.020020857453346252, 0.765733540058136, 0.26200002431869507, -0.014245333150029182, -0.6863552331924438, 0.08177261799573898, -0.022945893928408623, -0.24567709863185883, 0.30526289343833923, 0.5114505290985107, -0.26837030053138733, 0.5437657833099365, 0.7463467121124268, 0.6018540263175964, 0.04956253618001938, -0.011833755299448967, 0.6867190599441528, -0.47212374210357666, -0.37559235095977783, -0.772770345211029, 0.29879871010780334, 0.07083997875452042, -0.05243458226323128, 0.7562549114227295, 0.4577719569206238, 1.160900592803955, -0.19755905866622925, 0.6889896392822266, 0.1915254145860672, 0.6217598915100098, -0.7793009877204895, 0.8438391089439392, -0.5492217540740967, 0.3212134540081024, 0.07758472859859467, -1.0470622777938843, -0.1337396502494812, 0.6708036661148071, -0.5185087323188782, -0.0381133109331131, 0.8459972739219666, 0.7002393007278442, -0.19661356508731842, -0.19221945106983185, 0.3428400158882141, 0.4408808946609497, 0.48639410734176636, 0.5932234525680542, 0.9801153540611267, -0.5260176062583923, 0.5722357034683228, -0.3281024396419525, 0.06272213160991669, 0.023228995501995087, -0.6991479992866516, -0.7620804309844971, -0.4583745300769806, -0.08811274915933609, -0.3145540654659271, -0.0663294568657875, 0.8577836155891418, 0.5804530382156372, -1.0576789379119873, -0.22779658436775208, -0.022849349305033684, -0.03935398533940315, -0.12071165442466736, -0.17993547022342682, 0.3602558374404907, -0.645472526550293, -0.8310333490371704, 0.598698079586029, -0.2119373083114624, 0.2348814606666565, -0.1274355947971344, -0.23879145085811615, 0.18171261250972748, 0.0633191168308258, 0.646327018737793, 0.03347568213939667, -0.4818512201309204, -0.4180249571800232, -0.2833252251148224, -0.18050293624401093, -0.042367056012153625, 0.667110800743103, -0.8409833908081055, 0.5531259775161743, 0.06482379138469696, 0.8227437138557434, 0.5948700904846191, -0.21280542016029358, 0.6463778614997864, -1.0358253717422485, 0.3510580360889435, 0.2073623239994049, 0.40844014286994934, 0.4383338689804077, -0.2268066704273224, 0.6922000646591187, 0.35799968242645264, -0.2129134088754654, -0.817681610584259, 0.14635853469371796, -0.37434396147727966, -0.14367017149925232, 0.9740722179412842, -0.16377593576908112, -0.15566785633563995, -0.024486476555466652, -0.18001078069210052, 0.3034198582172394, 0.16679558157920837, 0.8046353459358215, 1.132656455039978, 0.10381411015987396, -0.12726709246635437, -0.9919095039367676, 0.5868792533874512, 0.5148261785507202, -0.7817971110343933, -0.17265933752059937, 0.5731541514396667, 0.32608434557914734, 0.006137121934443712, 0.41890430450439453, -0.19857679307460785, 0.1485557109117508, -0.2015329748392105, -0.035017114132642746, -0.03876407444477081, -0.35041144490242004, -0.3978663682937622, -0.19807158410549164, 0.04087420180439949, -0.09341979026794434 ]
http://arxiv.org/abs/2405.14259v3
http://arxiv.org/pdf/2405.14259v3
Let's Fuse Step by Step: A Generative Fusion Decoding Algorithm with LLMs for Multi-modal Text Recognition
2024-05-23T07:39:42
2024-06-02T16:30:00
Chan-Jan Hsu, Yi-Chang Chen, Feng-Ting Liao, Pei-Chen Ho, Yu-Hsiang Wang, Po-Chun Hsu, Da-shan Shiu
cs.CL
cs.CL, cs.AI
We introduce "Generative Fusion Decoding" (GFD), a novel shallow fusion framework, utilized to integrate Large Language Models (LLMs) into multi-modal text recognition systems such as automatic speech recognition (ASR) and optical character recognition (OCR). We derive the formulas necessary to enable GFD to operate across mismatched token spaces of different models by mapping text token space to byte token space, enabling seamless fusion during the decoding process. The framework is plug-and-play, compatible with various auto-regressive models, and does not require re-training for feature alignment, thus overcoming limitations of previous fusion techniques. We highlight three main advantages of GFD: First, by simplifying the complexity of aligning different model sample spaces, GFD allows LLMs to correct errors in tandem with the recognition model, reducing computation latencies. Second, the in-context learning ability of LLMs is fully capitalized by GFD, increasing robustness in long-form speech recognition and instruction aware speech recognition. Third, GFD enables fusing recognition models deficient in Chinese text recognition with LLMs extensively trained on Chinese. Our evaluation demonstrates that GFD significantly improves performance in ASR and OCR tasks, with ASR reaching state-of-the-art in the NTUML2021 benchmark. GFD provides a significant step forward in model integration, offering a unified solution that could be widely applicable to leveraging existing pre-trained models through step by step fusion.
[ -0.09666058421134949, -0.39525705575942993, 0.46126338839530945, 0.07614380866289139, -0.4669027030467987, 0.2261122614145279, 0.08430863916873932, -0.5746473073959351, -0.2443636804819107, 0.5191885232925415, -0.6578643321990967, -0.6226876974105835, -0.545045793056488, 0.26342085003852844, -0.6733417510986328, 0.6393698453903198, 0.01698722317814827, 0.3755943775177002, -0.3794029951095581, 0.11469998210668564, -0.3793465495109558, -0.33959245681762695, -0.33769655227661133, -0.4703986942768097, 0.2873326539993286, 0.31387826800346375, 0.5909119248390198, 0.7362057566642761, 0.5875383615493774, 0.38132983446121216, -0.035004209727048874, 0.20851276814937592, -0.23568211495876312, 0.036381933838129044, 0.19850200414657593, -0.23086267709732056, -0.19369012117385864, -0.18168357014656067, 0.7351155877113342, 0.7483026385307312, 0.03066156432032585, -0.4341934621334076, 0.12209209054708481, 0.3934924602508545, -0.4273624122142792, 0.011243443004786968, -0.47970446944236755, 0.025401199236512184, -0.08047811686992645, -0.1732989251613617, -0.3528018891811371, -0.320109486579895, 0.054337285459041595, -0.33545541763305664, 0.34688329696655273, 0.06759050488471985, 0.5875547528266907, 0.27633073925971985, -0.7375858426094055, -0.22800086438655853, -0.8177152872085571, 0.6983884572982788, -0.46029606461524963, 0.9652889370918274, 0.2770291268825531, 0.3043566942214966, -0.28802919387817383, -0.6842620372772217, -0.8851603865623474, -0.052361201494932175, -0.1772994101047516, 0.1037667766213417, 0.06891757994890213, 0.31864219903945923, 0.11232072114944458, 0.8958876729011536, -0.6954376101493835, 0.1895413100719452, -0.3812771141529083, -0.4073110520839691, 0.6230488419532776, 0.09607840329408646, 0.3955516517162323, -0.1988760083913803, -0.791907548904419, -0.32623326778411865, -0.5930270552635193, -0.10286515206098557, -0.14257051050662994, 0.4545430839061737, -0.4656834304332733, 0.457918643951416, 0.033939216285943985, 0.8982033729553223, 0.06357449293136597, -0.407313734292984, 0.15091048181056976, -0.8075220584869385, -0.49694716930389404, 0.22551044821739197, 0.9767479300498962, 0.0016870839754119515, -0.3555169999599457, -0.3062238395214081, -0.1605207771062851, 0.28074944019317627, -0.18892638385295868, -0.5292041897773743, 0.013324791565537453, 0.20095044374465942, -0.4723120331764221, -0.0623079352080822, 0.05435139685869217, -0.6704806089401245, -0.6438035368919373, -0.1990550309419632, 0.5221781730651855, -0.6383508443832397, -0.13777196407318115, 0.48006948828697205, -0.2491164356470108, 0.5553445816040039, 0.3125881254673004, -0.9484549164772034, 0.16472561657428741, 0.7302629947662354, 0.8221455812454224, -0.22116529941558838, -0.4033953547477722, -0.4658394753932953, 0.25126487016677856, -0.13934274017810822, 0.6945299506187439, -0.4851531982421875, -0.9073818325996399, 0.021330470219254494, -0.25407058000564575, -0.166589617729187, -0.32709968090057373, 0.6619642972946167, -0.4301469624042511, 0.3950745761394501, -0.29455238580703735, -0.5300671458244324, -0.18393002450466156, 0.05991465598344803, -0.8498340249061584, 0.7383750081062317, 0.060116641223430634, -0.6778927445411682, 0.3081915080547333, -0.46517616510391235, -0.757207989692688, 0.09826673567295074, -0.32127270102500916, -0.25989070534706116, 0.0667102113366127, 0.39340153336524963, 0.4955351650714874, -0.5756778120994568, -0.18205632269382477, -0.15612846612930298, -0.32075226306915283, -0.05128656327724457, -0.6753992438316345, 0.9303556680679321, 0.20859958231449127, -0.058371953666210175, 0.4320394694805145, -0.80130535364151, -0.25055697560310364, -0.025898588821291924, -0.49258044362068176, -0.2782377302646637, -0.06322605907917023, 0.22158753871917725, 0.13271790742874146, 0.1670837253332138, -0.5837673544883728, 0.34028083086013794, -0.6176643371582031, 0.4115651249885559, 0.556229829788208, -0.12488119304180145, 0.6966040134429932, -0.14687210321426392, 0.2839611768722534, 0.10403712838888168, 0.010883755050599575, -0.5956962704658508, -0.2451777309179306, -0.7910684943199158, -0.4217679798603058, 0.38759949803352356, 0.7181439995765686, -1.1324419975280762, 0.8167646527290344, -0.352165549993515, -0.563270628452301, -0.597386360168457, 0.27339601516723633, 0.3910285532474518, 0.5302571654319763, 0.266043484210968, -0.36657971143722534, -0.48021200299263, -0.5789706110954285, 0.21416735649108887, -0.21093164384365082, -0.07405455410480499, -0.015720997005701065, 0.21376219391822815, -0.40659961104393005, 0.7992682456970215, -0.26717251539230347, -0.7509551048278809, -0.38508471846580505, 0.04654785618185997, 0.09309171885251999, 0.5998885631561279, 0.1398870050907135, -1.0858750343322754, -0.3525554835796356, 0.3856760859489441, -0.7463424205780029, 0.31276509165763855, -0.16872482001781464, 0.022223593667149544, 0.12472239136695862, 0.7059571146965027, -0.5664299726486206, 0.08756081759929657, 0.7931520938873291, -0.48298805952072144, 0.230976864695549, -0.21696622669696808, 0.4049322307109833, -1.3332051038742065, -0.13951261341571808, -0.12820109724998474, -0.204111248254776, -0.8137145042419434, 0.14428728818893433, 0.05373165383934975, -0.33145245909690857, -0.44920048117637634, 0.29600250720977783, -0.6076034307479858, -0.18661367893218994, -0.15863633155822754, -0.0001799157471396029, -0.02773040160536766, 0.17365092039108276, 0.08230965584516525, 0.8374635577201843, 0.6988365054130554, -0.5055468082427979, 0.5016546845436096, 0.3026983141899109, -0.32350704073905945, 0.5569833517074585, -0.40508508682250977, 0.13784727454185486, -0.18355023860931396, 0.31003350019454956, -1.3239619731903076, -0.3020981550216675, 0.13526539504528046, -0.1990969479084015, 0.39382654428482056, 0.2713233232498169, -0.5328958034515381, -0.2923196852207184, -0.238960400223732, 0.7039734721183777, 0.5007175803184509, -0.8483585715293884, 1.3691399097442627, 0.20136116445064545, 0.08144163340330124, -0.21916770935058594, -0.7040407657623291, -0.08432581275701523, 0.1262829601764679, -0.9412159323692322, 0.8767262101173401, -0.1485593318939209, 0.2096950113773346, -0.09449231624603271, -0.057906560599803925, -0.1383371353149414, -0.06386487185955048, 0.24650655686855316, 0.3208544850349426, -0.15565848350524902, -0.027687866240739822, 0.13713137805461884, -0.35374516248703003, -0.4040473997592926, -0.10509634763002396, 0.8161270022392273, -0.015560053288936615, -0.674964964389801, -0.4541519582271576, 0.5925066471099854, 0.7134155631065369, -0.4056159555912018, 0.4176390469074249, 0.8555814027786255, -0.4283701777458191, -0.01139803510159254, -0.5274048447608948, -0.1225166842341423, -0.5500209927558899, 0.25174805521965027, -0.27362143993377686, -1.0724818706512451, 0.40505725145339966, 0.029733901843428612, 0.1094612330198288, 0.5007719993591309, 0.38793811202049255, -0.04790288954973221, 0.9343141913414001, 0.9930909872055054, -0.48340925574302673, 0.443740576505661, -0.017047666013240814, 0.2620809078216553, -0.6462891101837158, -0.5013875961303711, -0.5377776622772217, -0.19905270636081696, -0.20946857333183289, -0.6681394577026367, 0.5178363919258118, 0.20841899514198303, 0.2105693370103836, 0.10068273544311523, -0.5362321734428406, 0.6609798669815063, 0.37699806690216064, 0.14880408346652985, 0.5809237360954285, -0.036442358046770096, 0.0338108167052269, 0.05874740332365036, -0.6337109208106995, 0.16498368978500366, 0.7500505447387695, 0.16294072568416595, 0.9843989610671997, 0.0036857356317341328, 0.9859968423843384, 0.2993014454841614, 0.06104344129562378, -0.9080663323402405, 0.6406753659248352, -0.3585989475250244, 0.0022927301470190287, -0.21578019857406616, -0.28620123863220215, -0.725854754447937, 0.38862645626068115, -0.34122759103775024, -0.3650735020637512, 0.2691477835178375, 0.21572554111480713, -0.3246563673019409, 0.22860750555992126, -0.7094671726226807, 0.6329273581504822, -0.28868621587753296, 0.1414349526166916, -0.17040741443634033, -0.5973506569862366, 0.7399245500564575, 0.12210004031658173, 0.13041190803050995, 0.28184258937835693, -0.025496138259768486, 0.475308358669281, -0.11961235851049423, 0.6726163625717163, 0.14271560311317444, -0.39367541670799255, -0.06528062373399734, -0.21798460185527802, 0.39554277062416077, -0.4328160881996155, 0.036899127066135406, 0.26688718795776367, -0.11910688877105713, 0.02481013722717762, -0.5207645893096924, 0.7609142661094666, -0.4934527277946472, -0.41506466269493103, -0.5078120827674866, -0.5178271532058716, -0.08773212879896164, 0.22975827753543854, 0.36601826548576355, 0.47316041588783264, -0.21646207571029663, 0.20627394318580627, 0.8637378811836243, 0.0039911880157887936, 0.5408754348754883, 0.18966065347194672, -0.2995325028896332, -0.6264352798461914, 1.1434682607650757, -0.29419007897377014, 0.3553078770637512, 0.6210947036743164, -0.013334459625184536, -0.43401333689689636, -0.33753323554992676, -0.6118648648262024, 0.10252771526575089, -0.8350359201431274, -0.34874653816223145, -0.596645176410675, -0.4705498218536377, -0.5245943069458008, -0.36004751920700073, -0.13149219751358032, 0.09325111657381058, -0.5017651319503784, 0.05257565528154373, 0.17492802441120148, 0.4079422056674957, 0.10543359816074371, 0.3060464560985565, -0.9880409836769104, 0.7543560266494751, 0.4538874626159668, 0.20156283676624298, -0.09891383349895477, -0.2382814735174179, -0.0887923464179039, -0.23302055895328522, -0.06022985652089119, -0.9803824424743652, 0.2140762209892273, 0.3693046271800995, 0.4104510545730591, 0.4735149145126343, -0.05268478021025658, 0.7842763662338257, -0.545932948589325, 0.8832746744155884, 0.4890934228897095, -1.1337043046951294, 0.30737069249153137, -0.17845730483531952, 0.5357822775840759, 0.2814393937587738, 0.30248117446899414, -0.5708215236663818, -0.07457588613033295, -0.10930125415325165, -0.7315693497657776, 0.7403238415718079, -0.1753263622522354, 0.04110540449619293, 0.218476802110672, 0.09854944050312042, 0.04206796735525131, -0.04012710228562355, -0.705033540725708, -0.24012312293052673, -0.1471266895532608, -0.4436887800693512, -0.18764172494411469, -0.26664265990257263, -0.1194402351975441, -0.30654025077819824, 0.3324923813343048, -0.2062281221151352, 0.42976269125938416, 0.09121821820735931, -0.1833886206150055, 0.021511990576982498, 0.30268314480781555, 0.5892680883407593, -0.10948346555233002, 0.18745362758636475, 0.17598485946655273, 0.18949046730995178, -0.33703774213790894, 0.12772150337696075, 0.41873347759246826, 0.013799520209431648, -0.07789536565542221, 0.5181494355201721, 0.7051311135292053, 0.4860161244869232, -0.5567471981048584, 0.49179837107658386, -0.06602153182029724, -0.32599061727523804, 0.054372966289520264, 0.18760903179645538, -0.006010915152728558, 0.4219515025615692, 0.5371896028518677, 0.10737462341785431, 0.2695389986038208, -0.5036033987998962, 0.1669905185699463, 0.6805592179298401, -0.3876163959503174, -0.19767503440380096, 0.5194656252861023, 0.3083101212978363, -0.2816929221153259, 0.5260199904441833, 0.11318179965019226, -0.6819210648536682, 0.24039949476718903, 0.8419871926307678, 1.033379077911377, -0.47092998027801514, 0.11531896144151688, 0.19606167078018188, 0.14348509907722473, -0.16200898587703705, 0.39551907777786255, -0.3696971833705902, -0.8011411428451538, -0.343258798122406, -0.9055646657943726, -0.3430267572402954, -0.05027145519852638, -0.4331703186035156, 0.270063191652298, -0.5428330898284912, 0.20562568306922913, -0.15445742011070251, -0.3661816418170929, -0.5524900555610657, 0.21944458782672882, 0.16198104619979858, 0.915000319480896, -0.9612541198730469, 0.813470721244812, 0.09355735033750534, -0.2546834647655487, -0.6311079263687134, -0.011994628235697746, 0.2278185337781906, -0.7556833624839783, 0.2599339783191681, 0.24301666021347046, -0.2606751322746277, 0.22601990401744843, -0.34192532300949097, -0.9194496273994446, 1.2688307762145996, 0.3453741669654846, -0.36802539229393005, -0.16624894738197327, 0.11657074093818665, 0.20762281119823456, -0.33620667457580566, -0.19678768515586853, 0.6887714266777039, 0.29438892006874084, 0.5685600638389587, -0.9939142465591431, 0.07456707209348679, -0.15957780182361603, 0.11626966297626495, 0.2095954418182373, -0.26329559087753296, 0.83516925573349, -0.29703205823898315, -0.6624518632888794, 0.2062748372554779, 0.9519702792167664, 0.09423723071813583, -0.11582336574792862, 0.4629904627799988, 0.3777572214603424, 0.5730796456336975, -0.2532697021961212, 1.1853960752487183, -0.2619093358516693, 0.012905478477478027, 0.6246993541717529, -0.24553999304771423, 1.0533337593078613, 0.35598132014274597, -0.17930811643600464, 0.4666975140571594, 0.36343809962272644, -0.13040682673454285, 0.8316667079925537, -0.309739351272583, -0.6584009528160095, -0.4744528532028198, -0.1366293728351593, -0.5705150365829468, 0.4551900327205658, 0.3147924244403839, -0.3155234456062317, -0.46827200055122375, 0.30734169483184814, -0.3995603621006012, 0.08608897030353546, -0.40638935565948486, 0.9998059868812561, 0.13044597208499908, -0.3061673939228058, 0.5037755966186523, 0.23329193890094757, 1.116594672203064, -0.9029179215431213, -0.09264715015888214, 0.08875284343957901, 0.15680840611457825, -0.3820849657058716, -0.6209850907325745, 0.1384439617395401, -0.34698814153671265, -0.4592772126197815, -0.3539075553417206, 1.0351223945617676, -0.8842375874519348, -0.5709577202796936, 0.2386738806962967, 0.2329152524471283, -0.16400717198848724, 0.13373737037181854, -0.5359926223754883, 0.6331287026405334, 0.13394595682621002, 0.4077201783657074, 0.4642450511455536, -0.0018730968004092574, 0.28160014748573303, 0.5814636945724487, 0.9811172485351562, -0.25277477502822876, 0.020113898441195488, 0.11359302699565887, 0.9195585250854492, -0.6565719246864319, -0.5970758199691772, -0.8546715378761292, 0.6554393172264099, 0.15857720375061035, -0.08088691532611847, 0.7963761687278748, 0.3262650668621063, 0.797697901725769, -0.09255818277597427, 0.766577959060669, 0.05816672742366791, 0.1868995577096939, -0.8989250659942627, 0.7039945125579834, -0.7162995338439941, 0.19559215009212494, -0.2934654951095581, -0.81805819272995, -0.5919681787490845, 0.6586077213287354, 0.11960122734308243, 0.06685427576303482, 0.530481219291687, 0.7838121652603149, -0.04167070984840393, 0.1562715619802475, 0.42603349685668945, -0.12786008417606354, 0.558388352394104, 0.5366426706314087, 0.48935815691947937, -0.6458737850189209, 0.5216720700263977, -0.07028251141309738, -0.17799963057041168, -0.15239985287189484, -0.6892333030700684, -0.7569563984870911, -0.8219302892684937, -0.016240635886788368, -0.3215252757072449, -0.3104763329029083, 0.860103189945221, 0.476422518491745, -0.6564264297485352, -0.2122887670993805, -0.021777233108878136, 0.3726091682910919, -0.22344566881656647, -0.20817556977272034, 0.3377549946308136, -0.20082183182239532, -0.7983619570732117, 0.7194698452949524, 0.5587131977081299, 0.33411261439323425, -0.44463005661964417, -0.2534356713294983, -0.14711476862430573, -0.14127115905284882, 0.7493110299110413, 0.4707406163215637, -0.8873192667961121, -0.14263896644115448, -0.03953603655099869, -0.377381294965744, -0.11173790693283081, 0.7332475185394287, -0.7490821480751038, 0.534360945224762, 0.6666867136955261, 0.8933007717132568, 0.1912127435207367, -0.0790553018450737, 0.7527967095375061, -0.6633572578430176, 0.13740481436252594, 0.04641653597354889, 0.3794727027416229, 0.5333710312843323, -0.21973134577274323, 0.0998772457242012, 0.253237247467041, -0.2645310163497925, -0.900897741317749, 0.43206652998924255, -1.3297348022460938, 0.01753169484436512, 0.9528900980949402, 0.13208812475204468, -0.148530974984169, -0.06661740690469742, -0.37360942363739014, -0.00782881397753954, -0.20909900963306427, 0.5336056351661682, 0.3611278533935547, -0.09695944935083389, -0.3995201587677002, 0.46396055817604065, 0.7075856328010559, 0.14394444227218628, -0.7364945411682129, 0.08744846284389496, 0.7628629803657532, 0.04415722191333771, 0.368775874376297, 0.8227673768997192, -0.05175323411822319, 0.4786669611930847, 0.2770480811595917, -0.13342243432998657, -0.2793200612068176, -0.44677433371543884, -0.6964136362075806, 0.3107355833053589, -0.22073650360107422, -0.1588020771741867 ]
http://arxiv.org/abs/2405.14247v1
http://arxiv.org/pdf/2405.14247v1
Text-Based Correlation Matrix in Multi-Asset Allocation
2024-05-23T07:25:51
2024-05-23T07:25:51
Yasuhiro Nakayama, Tomochika Sawaki, Issei Furuya, Shunsuke Tamura
cs.CL
cs.CL
The purpose of this study is to estimate the correlation structure between multiple assets using financial text analysis. In recent years, as the background of elevating inflation in the global economy and monetary policy tightening by central banks, the correlation structure between assets, especially interest rate sensitivity and inflation sensitivity, has changed dramatically, increasing the impact on the performance of investors' portfolios. Therefore, the importance of estimating a robust correlation structure in portfolio management has increased. On the other hand, the correlation coefficient using only the historical price data observed in the financial market is accompanied by a certain degree of time lag, and also has the aspect that prediction errors can occur due to the nonstationarity of financial time series data, and that the interpretability from the viewpoint of fundamentals is a little poor when a phase change occurs. In this study, we performed natural language processing on news text and central bank text to verify the prediction accuracy of future correlation coefficient changes. As a result, it was suggested that this method is useful in comparison with the prediction from ordinary time series data.
[ -0.10515662282705307, -1.0361864566802979, 0.12350281327962875, 0.42578125, -0.08162833005189896, 0.22688764333724976, -0.02970791421830654, -0.5653895735740662, 0.4822435975074768, 0.28798747062683105, -0.1736234724521637, -0.33279770612716675, -0.5456811785697937, -0.10001523792743683, -0.35046079754829407, 1.2932077646255493, -0.040214527398347855, -0.0844152644276619, -0.16487915813922882, -0.060840487480163574, -0.49462270736694336, -0.5529319047927856, -0.3989405632019043, -0.23454582691192627, 0.22552186250686646, 0.1796981245279312, 0.7650039196014404, 0.5500695705413818, 1.0247828960418701, 0.3052486777305603, -0.18154855072498322, 0.09212016314268112, -0.12093666940927505, 0.01248094905167818, 0.04196798428893089, -0.3435207009315491, -0.7980695962905884, -0.14235037565231323, 0.8041471242904663, 0.3827025890350342, -0.003334479173645377, 0.24646709859371185, 0.03805136680603027, 0.8628713488578796, -0.7312589287757874, 0.38083821535110474, -0.41022059321403503, -0.10791099816560745, -0.3776688575744629, -0.5878621339797974, -0.31710466742515564, -0.19927941262722015, 0.732608437538147, -0.5166042447090149, 0.3664078116416931, 0.14194364845752716, 0.9646946787834167, 0.06586244702339172, -0.44077038764953613, -0.5855039358139038, -0.7408645153045654, 1.1437355279922485, -0.4314885139465332, 0.1830429881811142, 0.4916576147079468, 0.2747667729854584, -0.007996958680450916, -0.34501808881759644, -0.30191725492477417, 0.11230184882879257, -0.24055205285549164, 0.13214755058288574, 0.0723876804113388, -0.44843539595603943, -0.20524238049983978, 0.5239999294281006, -0.3820981979370117, -0.3582952916622162, -0.35398542881011963, -0.30456599593162537, 0.39797478914260864, 0.09504307061433792, 0.08104358613491058, -0.1804140955209732, -0.9253438711166382, -0.3293280601501465, -0.08558060228824615, 0.03287258744239807, 0.45562607049942017, 0.4866501986980438, -0.6209874749183655, 0.5220546722412109, 0.26518693566322327, 0.33798032999038696, 0.1398213654756546, -0.6396113038063049, 0.35418909788131714, -0.641242504119873, -0.1340002864599228, 0.2644607424736023, 0.5131108164787292, 0.3937411606311798, 0.07983331382274628, -0.0004891548305749893, 0.302396684885025, 0.06281416118144989, 0.04868892580270767, -0.5063516497612, -0.08448846638202667, 0.09018340706825256, -0.6984925270080566, -0.3921203911304474, 0.09480908513069153, -1.3367356061935425, 0.048743851482868195, -0.2688554525375366, 0.19021855294704437, -0.4624457359313965, -0.09028416126966476, 0.09444860368967056, -0.1460440307855606, 0.3493601977825165, 0.08084874600172043, -0.8643592596054077, 0.3505585193634033, 0.43742209672927856, 0.9583899974822998, -0.22128455340862274, 0.04005781561136246, -0.26631784439086914, 0.6596072316169739, -0.04903246834874153, 1.1534721851348877, -0.48507845401763916, -0.5793346762657166, -0.02939913608133793, -0.4299592673778534, -0.3597581088542938, -0.08632899075746536, 0.5892539620399475, -0.5637364983558655, 0.3365493416786194, -0.08338159322738647, -0.23987989127635956, -0.09010586887598038, 0.34093159437179565, -0.8793050050735474, 0.8527620434761047, -0.03525606170296669, -1.2904969453811646, 0.30980604887008667, -0.794417679309845, -0.35757720470428467, -0.636237621307373, 0.3314082622528076, -1.2112443447113037, -0.5290469527244568, 0.7027251720428467, 0.12450233101844788, -0.4610418975353241, 0.39494428038597107, -0.5763688683509827, -0.04194879159331322, 0.7266347408294678, -0.4915187656879425, 0.3062961995601654, 0.28885605931282043, -0.06167474761605263, -0.1374332308769226, -1.1175341606140137, -0.12142820656299591, -0.3027612566947937, -0.052046999335289, -0.42191147804260254, 0.3621068596839905, 0.25196805596351624, -0.14764797687530518, 0.5740751624107361, -0.12324611097574234, 0.13559699058532715, -0.19900162518024445, 0.03797592595219612, 0.7699158787727356, 0.22846005856990814, 0.5558306574821472, -0.5252798795700073, 0.4863376021385193, 0.3791036307811737, 0.14008675515651703, -0.2027376890182495, -0.3241364657878876, -0.5360077619552612, -0.44953152537345886, 0.19240371882915497, 0.7036254405975342, -0.015341393649578094, 0.3531883656978607, -0.14151552319526672, -0.361199289560318, 0.07347878068685532, -0.021052230149507523, 0.2765929400920868, 0.7128060460090637, 0.6339972615242004, -0.16895270347595215, -0.7883660197257996, -0.8816738724708557, -0.2086930274963379, -0.3428659439086914, 0.4246937036514282, 0.0023062562104314566, 0.170452281832695, -0.14599652588367462, 1.051123857498169, -0.8187171816825867, -0.516649067401886, 0.12318934500217438, 0.5666688084602356, 0.2209567278623581, 0.3652585744857788, 0.6988469362258911, -0.7159596085548401, -0.5526780486106873, 0.08170562237501144, -0.38845089077949524, -0.12743791937828064, -0.2844187617301941, -0.2415182739496231, 0.1345140039920807, 0.3764194846153259, 0.008660150691866875, 0.5420470237731934, 0.5969752073287964, -0.2821377217769623, 0.3896619379520416, -0.2853761315345764, 0.05014127865433693, -1.337020754814148, 0.4223212003707886, 0.2183016538619995, 0.14607596397399902, -0.4934554100036621, -0.45901453495025635, 0.03137243911623955, 0.12183476239442825, -0.019800180569291115, 0.4604737162590027, -0.3568025827407837, -0.15918710827827454, -0.046265505254268646, 0.1713339388370514, -0.014140435494482517, 0.4055233299732208, -0.23532408475875854, 0.9607077836990356, 0.39134231209754944, -0.47374260425567627, -0.20800477266311646, 0.40055787563323975, -0.29391971230506897, 0.6633580327033997, -0.3178860545158386, -0.13416919112205505, -0.2504615783691406, 0.20652525126934052, -0.9715809226036072, 0.22629468142986298, 0.029842117801308632, -0.34958308935165405, 0.3467727601528168, 0.4384939670562744, -0.19960638880729675, -0.1499507874250412, -0.49458685517311096, 0.36355677247047424, -0.4199523329734802, -0.26305752992630005, 0.4665350914001465, 0.3634299039840698, -0.031464964151382446, -1.0334386825561523, -0.6916251182556152, -0.10754851251840591, -0.3853284418582916, -0.7000886797904968, 0.368472158908844, -0.44521433115005493, -0.4094671607017517, 0.05092182755470276, -0.04940704628825188, -0.48735272884368896, 0.2616236209869385, -0.009693179279565811, 0.7302908897399902, -0.2565630078315735, 0.14853216707706451, -0.1438824087381363, -0.44862884283065796, -0.18960757553577423, 0.05908181518316269, 0.26876315474510193, -0.18814407289028168, 0.06730438768863678, -0.4674714207649231, 0.18406027555465698, 0.40376016497612, -0.4083103537559509, 0.9120367765426636, 0.609842836856842, 0.0371411070227623, 0.29969698190689087, -0.3599401116371155, 0.3802429735660553, -0.42824339866638184, 0.1903078705072403, -0.143573597073555, -0.6169761419296265, 0.9516311883926392, 0.32087019085884094, -0.12116236984729767, 0.698307454586029, 0.773492693901062, 0.3363076150417328, 0.598205029964447, 0.5986350774765015, -0.36860665678977966, 0.7114057540893555, -0.12745387852191925, 0.3251824676990509, -0.7425412535667419, -0.3829643726348877, -0.7620269060134888, -0.46705329418182373, -0.6224545836448669, -0.15546272695064545, 0.2892470359802246, 0.0565410740673542, -0.09782145917415619, 0.19220532476902008, -0.2990429103374481, 0.15679942071437836, 0.20821049809455872, -0.19292302429676056, 0.45508408546447754, 0.048336293548345566, -0.34398096799850464, -0.05868047848343849, -0.017109444364905357, -0.46173959970474243, 1.3745652437210083, 0.3534090220928192, 0.9147055745124817, 0.26318034529685974, 0.15139232575893402, 0.39275476336479187, 0.4033147692680359, -0.35844865441322327, -0.09943892061710358, -0.06456106901168823, -0.735351026058197, -0.04194142296910286, -0.23137211799621582, -0.8644564747810364, 0.11369776725769043, -0.4450063705444336, -0.6164982914924622, 0.5466486215591431, 0.08297524601221085, -0.38950279355049133, 0.23840975761413574, -0.7893280982971191, 0.4391688406467438, 0.022486303001642227, -0.21907256543636322, -0.17898350954055786, -0.480148583650589, 0.3755500316619873, -0.32323482632637024, 0.36074766516685486, -0.22252288460731506, -0.15059596300125122, 0.5954806804656982, -0.2146722674369812, 0.5736254453659058, 0.3429011404514313, -0.0728740319609642, 0.48035162687301636, -0.24587345123291016, 0.35395780205726624, 0.19822539389133453, -0.43466487526893616, -0.001472302246838808, 0.23917244374752045, -0.6436108350753784, -0.29601430892944336, 0.703414797782898, -1.123806118965149, -0.10203460603952408, -0.6984466910362244, -0.8557407259941101, -0.1462889164686203, 0.025610776618123055, -0.17002485692501068, 0.39926987886428833, -0.357479989528656, 0.3002811670303345, 0.07344178855419159, -0.21806024014949799, 0.7798488736152649, 0.5848058462142944, -0.03715306520462036, -0.7975593209266663, 0.5100037455558777, -0.02025523968040943, 0.16242022812366486, 0.9536885023117065, 0.4220871329307556, -0.286422461271286, -0.23135261237621307, 0.16408281028270721, 0.04272402450442314, -0.29504910111427307, -0.34996724128723145, -0.5390770435333252, 0.0220062043517828, -0.6073125600814819, -0.3188226521015167, -0.1777602881193161, -0.2226133644580841, -0.615753173828125, -0.035893913358449936, 0.43283867835998535, 0.3266701400279999, -0.19805163145065308, 0.6421870589256287, -0.6610044240951538, 0.26414892077445984, 0.10019248723983765, 0.3839122951030731, 0.1260550171136856, 0.00502919452264905, -0.722405195236206, -0.009051205590367317, -0.8041975498199463, -0.8489611148834229, 0.6773820519447327, 0.24988362193107605, 0.21845117211341858, 0.6567701697349548, -0.12594878673553467, 1.1021782159805298, -0.14314775168895721, 0.4893748462200165, 0.07068908214569092, -0.8261808156967163, 0.20408549904823303, -0.4766485393047333, 0.22033971548080444, 0.3827928304672241, -0.19272764027118683, -0.33977651596069336, -0.46952903270721436, -0.5777297616004944, -0.6390381455421448, 0.7685068845748901, 0.2638302743434906, -0.20790959894657135, -0.06238684803247452, 0.2884249985218048, -0.06386226415634155, 0.23664069175720215, -0.5760245323181152, -0.6295179724693298, -0.1876927614212036, -0.13642928004264832, -0.0011241409229114652, -0.39627933502197266, 0.1661740094423294, 0.03523838520050049, 0.5401632785797119, -0.14917097985744476, 0.47150614857673645, 0.33019793033599854, 0.0859675481915474, -0.6418136358261108, 0.2812733054161072, 0.8345191478729248, 0.914941668510437, -0.6825799942016602, 0.05981461703777313, 0.15622729063034058, -0.465998113155365, -0.10041466355323792, 0.12438465654850006, 0.10782279074192047, -0.09582092612981796, 0.37589314579963684, 0.5462291836738586, 0.4566074013710022, -0.4532812833786011, 0.4237632155418396, -0.1342121958732605, -0.0728650689125061, -0.5846529603004456, -0.40678542852401733, -0.22285865247249603, 0.21667928993701935, 0.5448891520500183, 0.42476990818977356, -0.00183311034925282, -0.47731465101242065, 0.4334619641304016, 0.38591548800468445, -0.21002228558063507, -0.47249045968055725, 0.7415217757225037, -0.21537290513515472, 0.15523330867290497, 0.06508979201316833, 0.3427833616733551, -0.36653438210487366, 0.6379280090332031, 0.7264561653137207, 0.7929922342300415, -0.3333180844783783, 0.26266852021217346, 0.3951658010482788, 0.1220322698354721, -0.048447269946336746, 0.17955371737480164, 0.22675581276416779, -0.6903409957885742, -0.6347991824150085, -0.5893006324768066, -0.3550930321216583, 0.11916376650333405, -0.6279590129852295, 0.5261218547821045, -0.507856547832489, -0.38960886001586914, 0.20276500284671783, 0.427911639213562, -0.3657214045524597, 0.05618567019701004, -0.012933101505041122, 0.4455749988555908, -0.8204959630966187, 0.7512561678886414, 0.4736311733722687, -0.2773999273777008, -0.3518161475658417, -0.027902204543352127, 0.05831489339470863, -0.6301773190498352, 0.5859860181808472, -0.07474633306264877, 0.2758571207523346, -0.4835275411605835, -0.31489789485931396, -1.3596761226654053, 1.101705551147461, 0.16868509352207184, -0.00610483530908823, -0.0728200227022171, 0.018998658284544945, 0.5690135359764099, -0.2793232500553131, 0.3321883976459503, 0.11148392409086227, 0.6573863625526428, 0.11033083498477936, -0.7230504751205444, -0.5437125563621521, -0.11506383866071701, -0.15636564791202545, 0.717586100101471, -1.0370606184005737, 1.2923150062561035, 0.22405804693698883, -0.19253145158290863, 0.19310013949871063, 0.9300538897514343, 0.0528329573571682, 0.5119411945343018, 0.21908897161483765, 0.56290602684021, 0.6516653895378113, 0.28011593222618103, 0.9373342394828796, -0.7069489359855652, 0.7034822106361389, 0.9675912261009216, -0.12321063131093979, 0.9312450289726257, 0.5321890711784363, -0.4241326153278351, 0.9547869563102722, 0.21745873987674713, -0.17750342190265656, 0.4757709503173828, -0.41605690121650696, -0.14540992677211761, 0.011316448450088501, -0.07750150561332703, -0.37034106254577637, 0.46883952617645264, 0.37113291025161743, -0.4531366527080536, -0.4247084856033325, -0.4415580630302429, 0.12493792176246643, 0.2159346342086792, -0.1420874297618866, 0.44091466069221497, 0.06552733480930328, -0.44909319281578064, -0.051569126546382904, 0.20991183817386627, 0.6284241080284119, -0.6099190711975098, 0.3492560088634491, 0.24700535833835602, 0.5611708760261536, -0.008498095907270908, -0.35453030467033386, 0.5758959650993347, -0.18885383009910583, -0.464974582195282, -0.248235285282135, 0.7903464436531067, -0.3292502462863922, -0.7812449336051941, 0.26330482959747314, 0.3951742351055145, -0.45825546979904175, 0.5298018455505371, -0.5305464863777161, -0.3203130066394806, -0.07294374704360962, -0.08590380102396011, 0.2111939638853073, 0.3810052275657654, -0.10974817723035812, 0.4818006753921509, 1.0852091312408447, -0.03963179886341095, 0.015279828570783138, -0.48761993646621704, 0.4505722224712372, -0.7803044319152832, -0.7774918079376221, -0.8609418869018555, 0.18357501924037933, -0.019281448796391487, -0.4940016567707062, 0.5683600902557373, 0.7288517951965332, 0.28719887137413025, 0.23879574239253998, 0.38705724477767944, 0.2976648211479187, 0.8314421772956848, -0.3201723098754883, 0.430436909198761, -0.2264821082353592, 0.2756447494029999, -0.558646023273468, -0.9114120602607727, -0.5562298893928528, 0.6643272638320923, -0.5265451073646545, -0.3136884570121765, 0.9579862356185913, 0.570403516292572, 0.15488237142562866, 0.316814661026001, -0.1344176083803177, 0.035595040768384933, 0.37799710035324097, 0.19903962314128876, 0.06599068641662598, -0.45634347200393677, 0.6143755316734314, -0.23643729090690613, 0.15254774689674377, -0.45218607783317566, -1.0944225788116455, -0.8139120936393738, -0.4398311376571655, -0.28468406200408936, -0.2924902141094208, -0.19201725721359253, 0.640694260597229, 0.1482888013124466, -0.913025438785553, -0.561475396156311, 0.21962103247642517, 0.23715922236442566, -0.25775599479675293, -0.2749791443347931, 0.9328234195709229, -0.34621551632881165, -0.5913844108581543, 0.06649017333984375, 0.3733481168746948, 0.26752641797065735, -0.2860109508037567, 0.0998811200261116, -0.6286231875419617, 0.17907224595546722, 0.44056597352027893, 0.1886785626411438, -0.0881427526473999, -0.3648541569709778, 0.07755590230226517, -0.17727644741535187, 0.3074185252189636, 0.9235997200012207, -0.5615957379341125, 0.5451273918151855, 0.6905148029327393, 0.3710777759552002, 0.44653189182281494, 0.29393237829208374, 0.5289281010627747, -0.7100964784622192, 0.37543562054634094, -0.3669251501560211, 0.19858182966709137, 0.19046273827552795, -0.34923139214515686, 0.07787928730249405, 0.23034211993217468, -0.8269068598747253, -0.34708160161972046, -0.3660189211368561, -1.2730753421783447, 0.004766548052430153, 0.8024609684944153, 0.2483646273612976, -0.48521220684051514, -0.24097035825252533, -0.11560987681150436, 0.3765469491481781, -0.7465940117835999, 0.9656293988227844, 0.9684398770332336, -0.0506943054497242, 0.03025916777551174, -0.5192295908927917, 0.14864280819892883, 0.39468204975128174, -0.6010090708732605, -0.13411954045295715, 0.08157364279031754, -0.11763910949230194, 0.4919373095035553, 0.43494755029678345, -0.3291567862033844, 0.0009053333778865635, -0.19760213792324066, -0.20333638787269592, 0.2896425426006317, 0.08834764361381531, 0.09754382073879242, 0.2991066873073578, -0.21426701545715332, -0.26258718967437744 ]
http://arxiv.org/abs/2406.00019v1
http://arxiv.org/pdf/2406.00019v1
EHR-SeqSQL : A Sequential Text-to-SQL Dataset For Interactively Exploring Electronic Health Records
2024-05-23T07:14:21
2024-05-23T07:14:21
Jaehee Ryu, Seonhee Cho, Gyubok Lee, Edward Choi
cs.CL
cs.CL, cs.AI, cs.DB, cs.IR
In this paper, we introduce EHR-SeqSQL, a novel sequential text-to-SQL dataset for Electronic Health Record (EHR) databases. EHR-SeqSQL is designed to address critical yet underexplored aspects in text-to-SQL parsing: interactivity, compositionality, and efficiency. To the best of our knowledge, EHR-SeqSQL is not only the largest but also the first medical text-to-SQL dataset benchmark to include sequential and contextual questions. We provide a data split and the new test set designed to assess compositional generalization ability. Our experiments demonstrate the superiority of a multi-turn approach over a single-turn approach in learning compositionality. Additionally, our dataset integrates specially crafted tokens into SQL queries to improve execution efficiency. With EHR-SeqSQL, we aim to bridge the gap between practical needs and academic research in the text-to-SQL domain.
[ -0.09537583589553833, -1.0511164665222168, 0.8313705325126648, 0.050712645053863525, -0.44787588715553284, -0.015651250258088112, 0.04100053384900093, -0.21295581758022308, 0.40916362404823303, 0.49827703833580017, -0.5057455897331238, -0.7828167080879211, -0.23821806907653809, 0.1793561428785324, -0.28117620944976807, 1.041382074356079, 0.2669900059700012, 0.04902234673500061, -0.45518958568573, -0.5056029558181763, -0.32460078597068787, -0.8077912330627441, -0.4035907983779907, -0.1263829618692398, 0.5997924208641052, 0.3655290901660919, 0.46689751744270325, 0.8018969893455505, 0.5950158834457397, 0.16081896424293518, 0.16374598443508148, 0.08926354348659515, -0.3414258360862732, 0.6933556795120239, -0.22625060379505157, -0.35434794425964355, -0.35269808769226074, -0.960462212562561, 0.6187253594398499, 0.8343765139579773, -0.48580580949783325, 0.16283205151557922, -0.32594749331474304, 1.1011103391647339, -0.5460347533226013, -0.02776525728404522, -0.4128458797931671, 0.19317303597927094, -0.5229135751724243, -0.23525986075401306, -0.5437310338020325, -0.22412852942943573, 0.20191141963005066, -0.4040674567222595, -0.1375628411769867, 0.16966336965560913, 0.44462698698043823, 0.3555314540863037, -0.9591829180717468, -0.0288726594299078, -0.6800809502601624, 0.3937360644340515, -0.37301182746887207, 0.6966404914855957, 0.05722711980342865, 0.3356497287750244, 0.21826691925525665, -0.9625983834266663, -0.3987641930580139, 0.3558766841888428, -0.229282408952713, 0.09968604147434235, 0.2621239125728607, -0.027978016063570976, 0.19532909989356995, 0.4687483608722687, -0.8059645891189575, -0.24084891378879547, -0.08108048886060715, 0.3039126992225647, 0.6931684613227844, 0.544301450252533, 0.5945818424224854, -0.1848619133234024, -0.20411419868469238, 0.02965305931866169, -0.4802711308002472, 0.025175122544169426, -0.3067876994609833, 0.18866822123527527, -0.016036400571465492, 0.7272310853004456, -0.35982903838157654, 0.6100078225135803, 0.1674765944480896, 0.36618027091026306, 0.6564699411392212, -0.3860301673412323, -0.3131283223628998, 0.2523038387298584, 0.8539941310882568, 0.2816002368927002, -0.4280889332294464, -0.10319247841835022, -0.15675070881843567, -0.028679797425866127, 0.3549518883228302, -0.705633819103241, -0.3143857717514038, 0.8067173361778259, -0.5231961011886597, -0.06626211851835251, 0.08424215018749237, -0.8046067953109741, -0.31958624720573425, -0.5729233622550964, 0.47321179509162903, -0.47920170426368713, 0.017046138644218445, 0.11936423927545547, 0.06470915675163269, 0.37144187092781067, 0.1406693458557129, -0.9707571268081665, 0.7998225688934326, 1.0081537961959839, 0.5836111307144165, -0.6968459486961365, -0.03644518181681633, -0.38013237714767456, 0.15502811968326569, -0.04253300651907921, 0.7204528450965881, -0.4741891622543335, -0.57047438621521, -0.12215272337198257, 0.13357946276664734, -0.26911047101020813, -0.6435890793800354, 0.5588116645812988, -0.5709337592124939, 0.24493128061294556, -0.46605122089385986, -0.7519538998603821, 0.22597330808639526, 0.28092747926712036, -0.8326800465583801, 1.03516685962677, -0.09339985996484756, -0.7334946990013123, 0.3795648515224457, -0.5206406116485596, -0.8965756297111511, 0.19178809225559235, -0.7787668704986572, -0.7006293535232544, -0.010220365598797798, 0.24421906471252441, 0.2916775643825531, -0.2663097083568573, 0.3950647711753845, -0.02163868211209774, -0.17012982070446014, 0.19593030214309692, 0.2665797770023346, 0.6517385244369507, 0.2257261425256729, -0.11749207228422165, 0.06998969614505768, -0.7681813836097717, 0.3438033163547516, 0.1484016478061676, -0.3432982265949249, -0.43893924355506897, 0.32721593976020813, 0.05023098737001419, 0.11407928168773651, 0.22897882759571075, -0.2726278305053711, -0.18269585072994232, -0.3298790156841278, 0.16366071999073029, 0.2661608159542084, 0.4007679224014282, 0.27786147594451904, -0.6303297877311707, 0.21180012822151184, 0.20622555911540985, 0.15114746987819672, -0.6055436134338379, -0.20508930087089539, -0.5687893033027649, -0.13788051903247833, 0.2980343997478485, 0.6886075735092163, -0.43716803193092346, 0.8298977017402649, -0.4211777150630951, -0.26204439997673035, -0.3846491873264313, -0.48828554153442383, 0.19830352067947388, 0.5613569617271423, 0.6984745264053345, -0.45283666253089905, -0.5109909772872925, -0.8843607306480408, -0.44902533292770386, 0.0351412333548069, -0.12656037509441376, 0.49682340025901794, 0.399131178855896, -0.15578524768352509, 0.5963539481163025, -0.5408168435096741, -0.2478385716676712, 0.024337075650691986, -0.06640893220901489, 0.17544572055339813, 0.5049343705177307, 0.049056798219680786, -0.7732694149017334, -0.7399064302444458, 0.18882215023040771, -0.9343131184577942, 0.1435917615890503, 0.08858822286128998, -0.23077097535133362, -0.05506391078233719, 0.3016929626464844, -0.347979873418808, -0.017339013516902924, 0.17755043506622314, -0.49522942304611206, 0.1773853451013565, -0.04591202363371849, 0.48893991112709045, -0.948875904083252, 0.3309362232685089, -0.26859354972839355, -0.17091111838817596, -0.7725324630737305, -0.0039467900060117245, 0.12437734007835388, -0.04834653437137604, -0.2923508286476135, 0.15858273208141327, -0.2993769645690918, -0.02597818709909916, 0.43819716572761536, -0.39254555106163025, 0.16670601069927216, 0.23512613773345947, 0.05292201787233353, 0.40656355023384094, 0.3421647846698761, -0.3154106140136719, 0.09525343775749207, 0.74088054895401, -0.1096419245004654, 1.0100406408309937, -0.8436815738677979, 0.4204643666744232, -0.32791027426719666, 0.038833919912576675, -0.7136979103088379, -0.43533390760421753, -0.05860864371061325, -0.1943201869726181, 0.24057598412036896, -0.06135733798146248, -0.19991041719913483, -0.15368255972862244, -0.32324111461639404, 0.5229771137237549, 0.5303462147712708, -0.26948481798171997, 0.7579509615898132, 0.6007182002067566, -0.3613702356815338, -0.4195081293582916, -0.8075323104858398, -0.169343963265419, -0.1380889117717743, -0.6057947278022766, 0.7703189849853516, 0.029389185830950737, -0.18917670845985413, -0.009950493462383747, -0.056019142270088196, -0.46322396397590637, -0.33767780661582947, 0.1053549125790596, 0.2551889419555664, -0.2400738000869751, 0.4181870222091675, 0.3255992829799652, 0.18745866417884827, 0.3418605625629425, -0.07526285946369171, 0.3520705997943878, 0.059502728283405304, -0.6446642279624939, -0.3285633623600006, 0.8184289336204529, 0.3332590162754059, -0.32688456773757935, 0.5050492882728577, -0.21150000393390656, -0.561299204826355, -0.034475892782211304, -0.5112236142158508, -0.09862398356199265, -0.3856019675731659, 0.33915063738822937, -0.2930994927883148, -0.8234148025512695, 0.2869226932525635, -0.04396522417664528, 0.11756443977355957, 0.4642185866832733, 0.4788280725479126, -0.15316620469093323, 0.7933436632156372, -0.03887297958135605, 0.3091907799243927, 0.2583087980747223, 0.097885362803936, -0.2035621553659439, -0.6992707252502441, -0.7404119968414307, -0.5707647800445557, -0.09143733978271484, -0.43183714151382446, -0.39937278628349304, 0.6059697866439819, -0.5481497645378113, -0.5997939705848694, -0.12000136077404022, -0.5017454624176025, 0.622585117816925, -0.033742859959602356, 0.7048525810241699, 0.6347326040267944, -0.17142103612422943, -0.24240288138389587, -0.21371939778327942, -0.23201633989810944, -0.23779642581939697, 1.1470696926116943, -0.003540365258231759, 0.5742208957672119, 0.3239961564540863, 0.968876838684082, 0.22982890903949738, -0.13991419970989227, -0.718313992023468, 0.2845032215118408, -0.3179430365562439, -0.5438498854637146, -0.4842473268508911, -0.2337404042482376, -1.0546672344207764, 0.4493902027606964, -0.2177136391401291, -0.34146085381507874, 0.14450624585151672, 0.2598189115524292, -0.41865605115890503, -0.09751308709383011, -0.5399871468544006, 1.0242918729782104, -0.5598767995834351, -0.5692145824432373, 0.2258473038673401, -1.1422277688980103, 0.11202430725097656, -0.14058098196983337, 0.22757495939731598, 0.05101805180311203, -0.2577005922794342, 0.5925657749176025, -0.664543867111206, 0.3144933879375458, 0.03199511021375656, 0.38596490025520325, 0.09740310907363892, -0.100131094455719, 0.41069111227989197, -0.053629640489816666, -0.05307371914386749, -0.23532450199127197, 0.331124871969223, -0.3249858021736145, -0.5930626392364502, 0.5573641657829285, -0.4876865744590759, -0.21836692094802856, -0.5963740348815918, 0.2655072808265686, -0.48084211349487305, 0.43470528721809387, 0.08888735622167587, 0.4661467969417572, -0.6417930126190186, 0.3769816756248474, 0.9924811720848083, -0.16766448318958282, -0.12658479809761047, 0.382262259721756, -0.18533848226070404, -0.4229489862918854, 0.5761464238166809, -0.015254240483045578, 0.06315655261278152, 0.7643442153930664, 0.15424159169197083, -0.6673946976661682, -0.3319193124771118, -0.5789265036582947, 0.1268952488899231, -0.4832749366760254, -0.05190674588084221, -1.0410066843032837, -0.11500263959169388, -0.1041683703660965, 0.12310521304607391, -0.14028331637382507, -0.32982727885246277, -0.41796940565109253, -0.16162259876728058, 0.21221674978733063, 0.5721179842948914, 0.3830015957355499, -0.12047917395830154, -0.9683142900466919, 0.4494694173336029, 0.45350322127342224, 0.37421101331710815, -0.2310621738433838, -0.22000539302825928, 0.08234325796365738, -0.44613760709762573, -0.28659147024154663, -1.172290563583374, 0.044342171400785446, 0.4788736402988434, 0.48824045062065125, 0.16564175486564636, 0.1673024296760559, 0.44112083315849304, -1.0256972312927246, 0.7818965911865234, 0.129376620054245, -0.9093267321586609, 0.6869707703590393, -0.4949386715888977, 0.24697868525981903, 1.131408929824829, 0.4826313257217407, -0.6880276203155518, 0.20583464205265045, -0.6661771535873413, -1.1825358867645264, 0.17959283292293549, -0.04783553257584572, -0.19710023701190948, -0.1708013266324997, 0.20057110488414764, 0.2559780776500702, 0.32507768273353577, -0.22971756756305695, -0.6263260841369629, -0.164443701505661, -0.5844442844390869, 0.09899365156888962, -0.2955795228481293, -0.06571821868419647, -0.3485282063484192, 0.22191734611988068, -0.02281811647117138, 0.340989351272583, 0.47467583417892456, -0.12812013924121857, 0.006391298957169056, 0.8456239104270935, -0.01486358605325222, 0.5177565813064575, -0.1102268323302269, 0.28175294399261475, 0.18086768686771393, -0.3835870325565338, 0.2827560305595398, 0.24801041185855865, -0.19671092927455902, -0.07347606867551804, -0.06629139930009842, 0.6062034964561462, 0.0859842374920845, -0.7338787913322449, 0.7282783389091492, -0.06255808472633362, -0.14749300479888916, -0.24062933027744293, -0.2395326793193817, 0.2199418842792511, -0.17184841632843018, 0.32385867834091187, -0.34531646966934204, 0.7635558247566223, -0.3498592972755432, 0.6320292949676514, 0.05379203334450722, -0.3823305368423462, -0.2514258027076721, 0.8193733096122742, 0.25489532947540283, -0.0832359716296196, 0.5569671988487244, 0.2476101964712143, -0.13629886507987976, 0.49726131558418274, 0.3935490548610687, 0.48349663615226746, -0.4937061071395874, 0.03389379009604454, 0.3556193709373474, -0.06235982105135918, -0.30581134557724, 1.0347299575805664, 0.13882586359977722, -0.4861542284488678, -0.32582584023475647, -0.13246282935142517, -0.6013318300247192, -0.08842729032039642, -1.0285552740097046, 0.2948451638221741, -0.336209774017334, -0.16325704753398895, 0.08952278643846512, -0.3252454698085785, -0.7613601088523865, 0.35625311732292175, -0.3891601264476776, 0.4985795021057129, -0.7822763323783875, 0.47137171030044556, 0.9033211469650269, -0.22886541485786438, -0.6131234169006348, -0.22242118418216705, 0.14283566176891327, -0.35460755228996277, 0.11359678208827972, 0.07264168560504913, 0.4804948568344116, 0.16593457758426666, -0.1621144562959671, -0.36381855607032776, 1.126070499420166, 0.01833547092974186, -0.6565062403678894, -0.0159101951867342, 0.4181777834892273, 0.5651520490646362, -0.13236713409423828, 0.12128286808729172, 0.8719378113746643, 0.28691595792770386, -0.01712636463344097, -0.6936076283454895, 0.3162256181240082, -0.35813337564468384, -0.1490061730146408, 0.5867469906806946, -0.574667751789093, 0.8899878263473511, -0.23123672604560852, -0.28552550077438354, -0.1639220267534256, 0.4297749996185303, 0.216544508934021, 0.6570979356765747, 0.3064385950565338, 0.7487151026725769, 0.8805415630340576, -0.19019098579883575, 0.889033317565918, -0.017292823642492294, 0.3403996527194977, 1.460852861404419, -0.7195034623146057, 0.973807156085968, 0.5637236833572388, -0.5072751641273499, 0.6201844215393066, 0.4334656596183777, 0.16926755011081696, 0.6252975463867188, 0.21419480443000793, -0.5910967588424683, -0.13368947803974152, -0.1628212034702301, -0.7180005311965942, -0.017737239599227905, 0.5168833136558533, -0.47901713848114014, 0.16865743696689606, -0.20357966423034668, -0.232728973031044, 0.19380901753902435, 0.17844241857528687, 1.1576216220855713, 0.09907211363315582, -0.3768662214279175, -0.02215004153549671, -0.3955541253089905, 0.24627390503883362, -0.38774573802948, -0.03505049645900726, -0.00007721807196503505, -0.20178894698619843, -0.38061320781707764, -0.7349721789360046, 0.3868795335292816, -0.4060834050178528, -0.03366447240114212, 0.20548245310783386, 0.8352895379066467, -0.4131324887275696, -0.10681770741939545, -0.14304332435131073, 0.8440057635307312, -0.002655602991580963, 0.060401350259780884, -0.5482941269874573, 0.0549699030816555, -0.33180299401283264, -0.066922128200531, 0.22021810710430145, 0.7980378866195679, 0.21840180456638336, 0.09885150194168091, 0.49932438135147095, -0.03607537969946861, -0.07598141580820084, 0.09128317981958389, 0.8288438320159912, -0.9851189255714417, -0.7871756553649902, -0.6947499513626099, 0.70122891664505, -0.2499196082353592, -0.14010202884674072, 0.27209046483039856, 0.9979373812675476, 0.6829788088798523, -0.19330419600009918, 0.980377197265625, -0.17517751455307007, 0.9928228259086609, -0.5306606292724609, 0.4775847792625427, -0.4065681993961334, 0.11252229660749435, 0.039418745785951614, -0.35912013053894043, -0.4592460095882416, 0.36340317130088806, -0.006204909645020962, 0.041959382593631744, 1.1291766166687012, 0.3251477777957916, 0.19757890701293945, 0.2581309378147125, 0.3131825625896454, -0.04534153267741203, 0.17175766825675964, 0.5329394340515137, 0.7527537941932678, -0.579509437084198, -0.03401939198374748, -0.2596506178379059, -0.07754526287317276, -0.23270297050476074, -0.795065701007843, -0.6568881869316101, -0.5316893458366394, -0.2666887044906616, -0.35557761788368225, 0.41495832800865173, 1.2574448585510254, 0.30508121848106384, -1.0581295490264893, -0.030688637867569923, -0.028087204322218895, -0.1892821043729782, -0.20850752294063568, -0.19477848708629608, 0.5515397787094116, -0.10614223778247833, -0.19446639716625214, 0.2576824724674225, 0.2425646185874939, 0.10045390576124191, 0.2398364543914795, 0.29638671875, -0.10669498145580292, -0.02975606918334961, 0.6879559755325317, 0.5714324712753296, -0.2557014226913452, 0.07538150250911713, 0.26206734776496887, -0.2475670725107193, 0.5315649509429932, 1.094045639038086, -0.545988142490387, 0.474035382270813, 0.6577187180519104, 0.9479160308837891, 0.6059743165969849, 0.3678470849990845, 0.26392078399658203, -0.7646127939224243, -0.4079050123691559, 0.5422322750091553, 0.21925444900989532, 0.32504910230636597, -0.6916669011116028, 0.41609957814216614, -0.00022748902847524732, -0.7678114771842957, -0.40410229563713074, -0.02601741813123226, -1.1562811136245728, 0.07374293357133865, 0.9960349202156067, 0.296196311712265, -0.12298567593097687, -0.5474516153335571, -0.1515922248363495, 0.05753330513834953, -0.5791255831718445, 0.4301677644252777, 0.2484697550535202, -0.6170003414154053, 0.061905402690172195, -0.40075066685676575, 0.4324563145637512, 0.4620259404182434, -1.5573790073394775, -0.15618716180324554, 0.7375796437263489, 0.30855295062065125, -0.41050028800964355, 1.1744723320007324, -0.5055539608001709, 0.23992575705051422, -0.3383399546146393, -0.2736947536468506, 0.3410448133945465, -0.223623126745224, -0.4975912570953369, 0.2059144675731659, 0.012888290919363499, -0.1725604087114334 ]
http://arxiv.org/abs/2405.14233v1
http://arxiv.org/pdf/2405.14233v1
Language processing in humans and computers
2024-05-23T07:08:57
2024-05-23T07:08:57
Dusko Pavlovic
cs.CL
cs.CL, cs.LG, cs.LO, 68T07, 68T50, I.2.7; I.2.6; H.3.1; H.3.3
Machine-learned language models have transformed everyday life: they steer us when we study, drive, manage money. They have the potential to transform our civilization. But they hallucinate. Their realities are virtual. This note provides a high-level overview of language models and outlines a low-level model of learning machines. It turns out that, after they become capable of recognizing hallucinations and dreaming safely, as humans tend to be, the language-learning machines proceed to generate broader systems of false beliefs and self-confirming theories, as humans tend to do.
[ -0.3836291432380676, -1.043544054031372, 0.6755337119102478, -0.13029612600803375, 0.1934243142604828, 0.2047313153743744, -0.16517159342765808, -0.9637282490730286, -0.06474245339632034, 0.8478283286094666, -0.5012727379798889, -0.0010329863289371133, -0.5010032057762146, 0.1317288726568222, -0.6000816822052002, 0.5872370004653931, 0.36115559935569763, 0.08354366570711136, 0.036102861166000366, 0.2776884436607361, -0.27068960666656494, -1.0381832122802734, -0.7732947468757629, -0.5945210456848145, 0.11491192132234573, 0.12311917543411255, 1.0088775157928467, 0.5672078132629395, 0.3509667217731476, 0.44196778535842896, 0.12400917708873749, -0.08315779268741608, -0.29702574014663696, 0.3560374081134796, -0.17245091497898102, -0.6648977398872375, -0.23896990716457367, 0.15615394711494446, 0.21096907556056976, 1.1919078826904297, -0.09671356528997421, -0.06068863347172737, 0.05456322431564331, 0.828637421131134, -0.32550570368766785, 0.21390846371650696, -0.6624436974525452, 0.2530358135700226, 0.2007192224264145, -0.13460110127925873, -0.5924042463302612, -0.5068385601043701, 0.1260879933834076, -0.3214283287525177, 0.5373216867446899, 0.029318159446120262, 0.6885595321655273, 0.2676616609096527, -0.18446215987205505, -0.4017640948295593, -1.1970539093017578, 0.7549399733543396, -0.3041765093803406, 0.6996849179267883, 0.6637396216392517, 0.41788050532341003, -0.2818303108215332, -0.6767963171005249, -0.6023988127708435, -0.49098441004753113, -0.15721005201339722, -0.34214282035827637, -0.1113273948431015, 0.30669480562210083, 0.5305602550506592, 0.19081473350524902, -0.5706090331077576, 0.03329870477318764, -0.7959755063056946, -0.4771629571914673, 0.5653819441795349, 0.3346194922924042, 0.6985868811607361, -0.09603899717330933, 0.12556889653205872, -0.1659221649169922, -0.3769870698451996, -0.11234872043132782, 0.12800446152687073, 0.19672885537147522, 0.32827651500701904, 0.3756430447101593, -0.17284099757671356, 0.935079038143158, -0.25204986333847046, -0.25245603919029236, 0.10451614111661911, 0.2597772479057312, -0.6711820363998413, 0.11448410153388977, 0.5183629989624023, 0.18638530373573303, 0.6704068779945374, -0.262484073638916, -0.24781256914138794, 0.6693626642227173, 0.6495060920715332, -0.5203946232795715, -0.3367695212364197, -0.025581400841474533, -0.5919232964515686, -0.3289114236831665, -0.1093517318367958, -0.588097095489502, -0.6777089834213257, -0.7005656957626343, 0.3373259902000427, -0.32276859879493713, -0.2203228622674942, 0.4368020296096802, -0.04268908500671387, 0.007760671433061361, 0.416943222284317, -1.0680662393569946, 0.7953637838363647, 0.6583244800567627, 0.5378285646438599, -0.04914713650941849, -0.34294337034225464, -0.04412063583731651, -0.1664339303970337, -0.3124745786190033, 0.8836967349052429, -0.5554845333099365, -0.5512263774871826, -0.011791547760367393, 0.07926399260759354, -0.1203102171421051, -0.9089266657829285, 0.41440343856811523, -0.25020045042037964, 0.35563477873802185, -0.17217686772346497, -0.32341304421424866, -0.4061817526817322, 0.14290562272071838, -0.7073588371276855, 0.8708323836326599, 0.06497804075479507, -0.41101694107055664, 0.09546825289726257, -0.9684228897094727, -0.5295879244804382, 0.09123248606920242, -0.08129212260246277, -0.19757069647312164, 0.36853447556495667, -0.05727789178490639, 0.5111726522445679, -0.252886563539505, 0.12653055787086487, 0.05140852928161621, -0.34866541624069214, 0.5410560369491577, -0.44870615005493164, 0.8488861322402954, 0.6292387247085571, -0.2751469612121582, 0.16384543478488922, -0.8344073295593262, -0.2028687447309494, 0.09761326760053635, -0.36047250032424927, -0.2567203938961029, 0.38965651392936707, 0.11551965773105621, 0.4090113043785095, 0.06104734539985657, -0.4789671301841736, 0.16139593720436096, -0.5812888145446777, 0.6317023038864136, 0.5566707849502563, -0.18480172753334045, 0.3756727874279022, -0.44146522879600525, 0.4955781102180481, 0.10888195037841797, 0.08917133510112762, 0.00975903682410717, -0.5425878167152405, -0.9665582180023193, 0.1717955619096756, -0.28568702936172485, 0.6516326665878296, -0.4656485617160797, 0.19429194927215576, -0.05078885704278946, -0.24359987676143646, -0.7652919292449951, 0.02359967865049839, -0.011218416504561901, 0.32141849398612976, 0.31261494755744934, -0.11534996330738068, -0.8907959461212158, -0.8236274719238281, -0.39785367250442505, -0.32475295662879944, -0.21854804456233978, -0.03607002645730972, 0.39062756299972534, -0.5853053331375122, 0.5831332802772522, -0.5527055859565735, 0.08478736132383347, -0.4777998924255371, 0.22345580160617828, -0.06295157968997955, 0.3194228410720825, 0.27672407031059265, -0.9453476667404175, -0.26812222599983215, 0.07531924545764923, -0.9263471364974976, 0.09652020782232285, -0.4452291429042816, 0.15421132743358612, 0.4435633718967438, 0.6363260746002197, -0.3927671015262604, 0.5318918228149414, 0.2683108448982239, -0.6292335987091064, 0.2707805633544922, -0.37431642413139343, 0.12817838788032532, -0.8357821106910706, -0.22419443726539612, -0.17788280546665192, -0.41747310757637024, -0.7904062867164612, -0.2337638884782791, -0.27352797985076904, -0.20281167328357697, -0.21525444090366364, 0.3764953017234802, -0.434636652469635, -0.39768821001052856, -0.6117663383483887, 0.12083442509174347, -0.2503322660923004, 0.2161346971988678, 0.2492693066596985, 0.3736455738544464, 0.7260260581970215, -0.7623459696769714, 0.23273351788520813, -0.2630191743373871, -0.4254046678543091, 0.24046054482460022, -0.29641786217689514, 0.2678925693035126, -0.39891862869262695, -0.2749084532260895, -0.6822944283485413, -0.4688965082168579, 0.1112089455127716, -0.6010399460792542, 0.034651778638362885, 0.491588830947876, -0.5563504099845886, -0.23540610074996948, 0.175233393907547, 0.06732189655303955, 0.7116337418556213, -0.14310608804225922, 0.5751535892486572, 0.7327889204025269, 0.04706054925918579, -0.07599958032369614, -0.8305822610855103, 0.3254345953464508, 0.04508909583091736, -0.33666762709617615, 0.14486518502235413, -0.20257295668125153, -0.8841730952262878, -0.03230831027030945, 0.1907912641763687, -0.27234503626823425, 0.4743106961250305, 0.7020300030708313, 0.35296863317489624, -0.1380234956741333, 0.23642294108867645, -0.13098806142807007, -0.07920307666063309, 0.260737806558609, -0.28295227885246277, 0.7923158407211304, -0.11057962477207184, -0.1462569683790207, -0.4341229498386383, 0.40425652265548706, 0.7949367761611938, 0.26909559965133667, 0.8479132652282715, 0.2545175552368164, -0.8280307650566101, -0.06110125035047531, -0.5168813467025757, -0.25489041209220886, -0.4499901235103607, 0.45966026186943054, -0.6114644408226013, -1.0316402912139893, 0.24725297093391418, 0.1287567913532257, -0.20382238924503326, 0.5209516286849976, 0.740968644618988, -0.14711473882198334, 1.1787527799606323, 0.9707404971122742, -0.1395542323589325, 0.4324841797351837, 0.06523018330335617, 0.23963549733161926, -0.3154277503490448, -0.23317068815231323, -0.5978307127952576, -0.06621687859296799, -0.7885276675224304, -0.16173842549324036, 0.25000229477882385, 0.13477960228919983, -0.16188567876815796, 0.39492908120155334, -0.7181736826896667, 0.7330809235572815, 0.40037161111831665, -0.18157964944839478, 0.2556596100330353, 0.14923293888568878, -0.08643575757741928, -0.04326208680868149, -0.26561880111694336, -0.8461573719978333, 0.9334197640419006, 0.4145640432834625, 0.7413830161094666, -0.3259192705154419, 0.6241822242736816, 0.5931858420372009, 0.40705499053001404, -0.6695177555084229, 0.633546769618988, 0.09808310866355896, -0.7121171951293945, -0.29609328508377075, -0.18643996119499207, -1.1043212413787842, 0.29675963521003723, -0.28903600573539734, -1.0972648859024048, -0.013901440426707268, 0.007188799791038036, -0.09142372012138367, 0.4297315180301666, -0.6193970441818237, 0.6014539003372192, -0.25902050733566284, 0.07306663691997528, -0.6095405220985413, -0.4057154953479767, 0.348342627286911, 0.01887330412864685, 0.5655126571655273, -0.01777002401649952, 0.3218193054199219, 0.6740757822990417, -0.10316541790962219, 1.0149080753326416, -0.04310997575521469, -0.07873490452766418, 0.23578795790672302, 0.5541436076164246, -0.061433013528585434, -0.3876836895942688, -0.3033754527568817, 0.04557844251394272, -0.08320759981870651, -0.23188689351081848, -0.41828277707099915, 0.4624733626842499, -0.9474075436592102, -0.5987818241119385, -0.4666720926761627, -0.5930083394050598, 0.1020229384303093, 0.05814057216048241, 0.1881309598684311, -0.012667479924857616, -0.5038763880729675, -0.20302709937095642, 0.4457669258117676, -0.18356715142726898, 0.3989875912666321, 0.4434882700443268, -0.7027801871299744, -0.047133561223745346, 0.8593953847885132, 0.11699267476797104, 0.33725211024284363, 0.44709864258766174, 0.08448421210050583, -0.025759432464838028, -0.24899685382843018, -0.12856616079807281, 0.19720229506492615, -1.0219796895980835, 0.38833633065223694, -0.9429028630256653, -0.43786153197288513, -0.6411958932876587, -0.16930517554283142, -0.15596824884414673, -0.5156750082969666, -0.36263152956962585, -0.3040725886821747, -0.13119664788246155, 1.322697639465332, -0.19854721426963806, 0.1646733582019806, -0.7207556366920471, 0.5774000883102417, 0.4890613853931427, -0.036555539816617966, -0.09888352453708649, -0.4054768979549408, -0.3207014203071594, 0.09970378875732422, -0.46632885932922363, -0.760482668876648, 0.6999889612197876, 0.09490174055099487, 0.5145373940467834, 0.2919342517852783, -0.26207831501960754, 0.48428091406822205, -0.4280717670917511, 0.7676264047622681, 0.018300175666809082, -1.0842318534851074, 0.5482103824615479, 0.16951018571853638, 0.07286962121725082, 0.2147056609392166, 0.5174418687820435, -0.954188883304596, -0.24189886450767517, -0.5610489845275879, -0.25769802927970886, 0.5713688135147095, 0.09727051109075546, 0.12811723351478577, -0.11391817778348923, 0.40916913747787476, 0.2575888931751251, 0.004658443853259087, -0.9160561561584473, -0.29263022541999817, -0.26492321491241455, 0.07970421016216278, -0.10978800058364868, -0.19535508751869202, 0.345098078250885, -0.608715295791626, 0.22688712179660797, 0.005212292540818453, 0.4764242470264435, -0.0007378712762147188, -0.21314342319965363, -0.4237556457519531, 0.2446289360523224, 0.5917267203330994, 0.5693809390068054, 0.019012194126844406, 0.3673880398273468, 0.07914312183856964, -0.500605046749115, 0.2133781760931015, -0.3952697515487671, -0.0023439722135663033, -0.08664225786924362, 0.29064735770225525, 0.8429504036903381, 0.07372234761714935, -0.7839518785476685, -0.07178863883018494, -0.2731454074382782, -0.19045929610729218, -0.49193617701530457, 0.5045325756072998, 0.18357427418231964, 0.11489297449588776, 0.2500551640987396, 0.4670792818069458, 0.3290576636791229, -1.1823145151138306, -0.06828982383012772, 0.18811233341693878, -0.444009393453598, -0.7057452201843262, 0.7379424571990967, -0.1350797712802887, -1.0272990465164185, 0.6591919660568237, -0.09379790723323822, -0.7666664123535156, 0.3578287959098816, 0.9096879959106445, 1.245241403579712, -0.4007013142108917, 0.2254285365343094, 0.4203360080718994, 0.31978148221969604, -0.32929062843322754, 0.48490646481513977, -0.30226045846939087, -1.0620173215866089, -0.2997351288795471, -1.0409457683563232, -0.41764259338378906, 0.22637495398521423, -0.5798330307006836, 0.19802603125572205, -0.3840741515159607, -0.11482614278793335, 0.38813579082489014, -0.22266019880771637, -0.6412098407745361, 0.5137125253677368, 0.6115627884864807, 0.47309839725494385, -0.9167701601982117, 1.2251737117767334, 0.8112949132919312, -0.3445156514644623, -0.25518909096717834, 0.029877260327339172, -0.14342497289180756, -0.6728702187538147, 1.0030189752578735, 0.3088352680206299, -0.36919108033180237, -0.03522737696766853, -0.873119592666626, -0.7012814283370972, 0.4015895128250122, 0.40388697385787964, -0.3717421889305115, -0.29082369804382324, 0.521134078502655, 0.8054187297821045, -0.4526946544647217, 0.04638088494539261, 0.7604629993438721, 0.32655957341194153, -0.2522014379501343, -1.006765365600586, -0.16186416149139404, -0.18242210149765015, -0.041695572435855865, 0.1827860325574875, 0.08386971801519394, 1.1276378631591797, -0.23419390618801117, -0.5587306618690491, -0.22991885244846344, 0.4660470187664032, -0.03765092045068741, 0.0698724091053009, 0.4773617386817932, 0.1778947114944458, 0.759581983089447, 0.08523120731115341, 0.9916328191757202, -0.23606260120868683, 0.1491737961769104, 0.760365903377533, -0.14982560276985168, 0.7487679123878479, 0.3774236738681793, -0.3647783398628235, 0.7993127703666687, 0.41909098625183105, 0.351684033870697, 0.04609101638197899, 0.23610912263393402, -0.08527204394340515, -0.5981299877166748, 0.08714097738265991, 0.10445967316627502, 0.47091081738471985, 0.8504820466041565, -0.5634605288505554, 0.14894592761993408, 0.4340920150279999, -0.14672131836414337, 0.37838467955589294, -0.1191898062825203, 0.9949570298194885, 0.21796585619449615, -0.8086733818054199, 0.7413888573646545, 0.0554162822663784, 0.4514297544956207, -0.1096813976764679, -0.20383547246456146, 0.2805854380130768, 0.3192818760871887, -0.21640054881572723, -0.5708848237991333, 0.7749344706535339, -0.04052669554948807, -0.272478312253952, -0.49750205874443054, 0.950867772102356, -0.0873703882098198, -0.5051664113998413, 0.5293328166007996, 0.48893553018569946, 0.5288370847702026, -0.17179831862449646, -0.6312280297279358, 0.16378790140151978, 0.17545172572135925, -0.1703532338142395, 0.44420093297958374, 0.14614218473434448, -0.3444848656654358, 0.9244075417518616, 0.47955548763275146, 0.37913522124290466, 0.3107750713825226, 0.07227181643247604, 0.6362745761871338, -1.2117607593536377, -0.3375179171562195, -1.046104073524475, 0.17813672125339508, 0.12371505796909332, 0.0937097892165184, 0.5212541222572327, 0.4898199439048767, 1.123732328414917, -0.26698899269104004, 0.9904406666755676, -0.029422441497445107, 0.5743908882141113, -0.2941325306892395, 0.8984367847442627, -0.3945249915122986, 0.09718574583530426, -0.09188481420278549, -0.8759167194366455, -0.4565012753009796, 0.9015551805496216, -0.2771707773208618, -0.23475120961666107, 0.7036141157150269, 0.6189611554145813, 0.21091215312480927, 0.21504788100719452, 0.8634325861930847, 0.3616899251937866, 0.28031474351882935, 0.2719815969467163, 0.8284044861793518, -0.3380610942840576, 0.15494215488433838, -0.4109609127044678, 0.15706363320350647, -0.13112442195415497, -0.33323371410369873, -0.9450016617774963, -0.9128402471542358, -0.2696740925312042, -0.29309818148612976, -0.03781219571828842, 1.0792170763015747, 0.7379745244979858, -0.9634034633636475, -0.7247463464736938, -0.30884140729904175, 0.0946994498372078, -0.2079286426305771, -0.27282795310020447, -0.039395201951265335, -0.6207769513130188, -0.923810601234436, 0.44178372621536255, 0.4444532096385956, 0.2635755240917206, -0.6864043474197388, -0.10915009677410126, 0.09351997077465057, 0.08838536590337753, 0.7569389939308167, 0.33373507857322693, -0.9537827372550964, -0.29171210527420044, 0.1852869838476181, -0.2888750433921814, 0.19677986204624176, 0.9390171766281128, -1.1493457555770874, 0.6370790004730225, 0.5196822285652161, 0.22908301651477814, 0.3296205699443817, -0.3630690574645996, 0.5856893062591553, -0.04819568991661072, 0.2904253304004669, 0.34591802954673767, 0.3327999711036682, 0.46802231669425964, -0.40384361147880554, 0.44618645310401917, 0.3985879421234131, -0.7014990448951721, -0.865650475025177, 0.35533463954925537, -0.49041885137557983, -0.5645588040351868, 0.6592485904693604, 0.25226208567619324, -0.48183223605155945, -0.47254544496536255, -0.4624302089214325, 0.3461553752422333, 0.07741021364927292, 1.1742939949035645, 0.5765074491500854, -0.4534359872341156, -0.12321609258651733, -0.8593737483024597, 0.8247043490409851, 0.09958821535110474, -0.9522892832756042, 0.041018545627593994, 0.41426199674606323, 0.19308826327323914, 0.3663041889667511, 0.5019482374191284, -0.04577396810054779, 0.1581009477376938, 0.09200774878263474, 0.32388168573379517, 0.40913063287734985, -0.3665754497051239, -0.3073081374168396, 0.34748780727386475, 0.2252982258796692, -0.01446517463773489 ]
http://arxiv.org/abs/2405.14231v1
http://arxiv.org/pdf/2405.14231v1
From Role-Play to Drama-Interaction: An LLM Solution
2024-05-23T07:03:56
2024-05-23T07:03:56
Weiqi Wu, Hongqiu Wu, Lai Jiang, Xingyuan Liu, Jiale Hong, Hai Zhao, Min Zhang
cs.CL
cs.CL
Drama is a form of storytelling inspired by human creativity, proceeding with a predefined storyline, carrying emotions and thoughts. This paper introduces \emph{LLM-based interactive drama}, which endows traditional drama with an unprecedented immersion, where a person is allowed to walk into it and interact with the characters and scenes. We define this new artistic genre by 6 essential elements-plot, character, thought, diction, spectacle and interaction-and study the entire pipeline to forge a backbone \emph{drama LLM} to drive the playing process, which is challenged by limited drama resources, uncontrollable narrative development, and complicated instruction following. We propose \emph{Narrative Chain} to offer finer control over the narrative progression during interaction with players; \emph{Auto-Drama} to synthesize drama scripts given arbitrary stories; \emph{Sparse Instruction Tuning} to allow the model to follow sophisticated instructions. We manually craft 3 scripts, \emph{Detective Conan}, \emph{Harry Potter}, \emph{Romeo and Juliet}, and design a 5-dimension principle to evaluate the drama LLM comprehensively.
[ -0.297212153673172, -0.823564350605011, 0.6875143051147461, 0.5060092210769653, -0.05676697567105293, 0.7519556283950806, 0.07779529690742493, -0.5046567916870117, 0.7279191613197327, 0.8452311158180237, -0.8939903378486633, -0.2996255159378052, -0.20805935561656952, -0.0925600454211235, -0.0318310521543026, 0.9313294887542725, -0.2684799134731293, -0.09263938665390015, -0.2949644923210144, -0.014148830436170101, -0.35474684834480286, -0.18732872605323792, -0.5023088455200195, -0.2722699046134949, 0.9204118847846985, 0.3182626962661743, 0.5108355283737183, 0.8088321089744568, 0.6145181059837341, 0.47125980257987976, 0.1973813772201538, 0.5233812928199768, -0.8029542565345764, 0.35476306080818176, -0.12522083520889282, -0.6212524175643921, -0.6710660457611084, 0.4014964997768402, 0.3981325030326843, 0.37773552536964417, -0.006551436614245176, 0.11362850666046143, 0.0782678946852684, 0.48823031783103943, -0.4512396454811096, 0.018122028559446335, 0.052178263664245605, 0.4082641005516052, -0.10200173407793045, -0.5307360887527466, -0.3318999111652374, -0.2742350101470947, -0.12037820369005203, -0.9811561703681946, -0.2560790479183197, 0.2417922466993332, 0.5087241530418396, 0.006470819469541311, -0.5006644129753113, -0.31764423847198486, -1.2799980640411377, 0.4488818347454071, -0.4559394419193268, -0.4201594293117523, 0.19154764711856842, 0.41331055760383606, -0.09990032762289047, -0.7374200820922852, -0.26700595021247864, -0.45648694038391113, 0.1162576898932457, 0.5376522541046143, 0.23821169137954712, 0.3867014944553375, 0.219826340675354, 0.5907512903213501, -0.29870307445526123, 0.12022020667791367, -0.10591048002243042, 0.11586134135723114, 0.8280905485153198, 0.8368391990661621, 0.6222911477088928, 0.07465559989213943, -0.6653304696083069, 0.42454755306243896, -0.5648582577705383, 0.34793582558631897, 0.6379047632217407, -0.2993600070476532, -0.2686028480529785, 0.6084792613983154, 0.04507782682776451, 0.18610073626041412, 0.40633031725883484, -0.3587087094783783, -0.5257344245910645, 0.0622502826154232, -0.2909267544746399, -0.014844905585050583, 0.7096635103225708, 0.6332131624221802, 0.08415520936250687, -0.040411707013845444, 0.05379564315080643, 0.09254124760627747, 0.4705716371536255, -0.5463137030601501, -0.2576434314250946, 0.08054222911596298, -0.2027462273836136, -0.7145770192146301, -0.03641384840011597, -0.5202053189277649, -0.8067255616188049, -0.2940167784690857, 0.8187186121940613, -0.3592115640640259, 0.012298829853534698, -0.1964126080274582, 0.010592822916805744, 0.2577591836452484, 0.44243746995925903, -1.0322984457015991, 0.5003757476806641, 0.34257471561431885, 0.6731434464454651, -0.4639730751514435, -0.30856412649154663, -0.42811205983161926, 0.6255377531051636, -0.47913217544555664, 0.8008133172988892, -0.21750371158123016, -0.3298090696334839, -0.13470691442489624, -0.14342345297336578, 0.07521706819534302, -0.260852187871933, 0.1322367638349533, -0.22809530794620514, 0.33338358998298645, 0.14647042751312256, -0.5623892545700073, -0.10519174486398697, 0.40577247738838196, -1.009322166442871, 0.6092216968536377, -0.06796804070472717, -0.4060269296169281, 0.15171723067760468, -0.6717264652252197, -0.36321333050727844, 0.31644967198371887, -0.12038414180278778, 0.153692364692688, 0.23438139259815216, -0.04532894492149353, -0.1988539695739746, -0.2406686246395111, 0.27650442719459534, -0.1246388703584671, -0.8150663375854492, 0.4246043264865875, -0.46999987959861755, 0.23798102140426636, -0.020084939897060394, -0.07748671621084213, 0.27079200744628906, -0.7369427680969238, -0.13636595010757446, -0.09126759320497513, -0.39206627011299133, 0.025364598259329796, 0.10795389860868454, -0.0897291973233223, 0.28381383419036865, 0.3583509027957916, -0.21663442254066467, 0.33127349615097046, -0.4073188006877899, 0.11542277038097382, 0.6772276163101196, 0.1221875324845314, 0.6467640399932861, -0.826870322227478, 0.9687976241111755, -0.2478361874818802, 0.28686922788619995, -0.44416093826293945, -0.10150280594825745, -1.0232230424880981, -0.3594813346862793, 0.026496505364775658, 0.6456850171089172, -0.610438883304596, 0.07923921942710876, 0.3048189580440521, -0.10764370113611221, -0.7004309296607971, -0.06641469150781631, 0.08896077424287796, 0.12045667320489883, 0.10285422950983047, -0.4008503556251526, -0.7306715846061707, -0.5336890816688538, -0.09867055714130402, -0.3027263581752777, -0.05866769701242447, 0.4281758666038513, -0.13673530519008636, 0.13610441982746124, 0.8987560868263245, -0.31822702288627625, -0.38674890995025635, -0.694942057132721, 0.18345555663108826, 0.1991046667098999, 0.38504087924957275, 0.013987760059535503, -0.40590280294418335, -0.6308268308639526, 0.08152623474597931, -1.0713915824890137, -0.3324366509914398, -0.343850314617157, -0.05269907787442207, 0.13890062272548676, 0.5949686169624329, -0.6026816368103027, 0.5644423365592957, 0.28530576825141907, -0.19227071106433868, 0.5667155981063843, -0.43896785378456116, 0.4341340959072113, -0.7925054430961609, -0.009859216399490833, -0.40755802392959595, -0.14111235737800598, -0.6623047590255737, 0.23728732764720917, -0.4641066789627075, -0.0500960573554039, -0.51703280210495, 0.5394799113273621, -0.5194197297096252, 0.05168157443404198, -0.4223679304122925, 0.45658984780311584, 0.1438441276550293, 0.8007952570915222, 0.010164999403059483, -0.03319631144404411, 0.5533967018127441, -0.5206615924835205, 0.9015849828720093, 0.08645999431610107, -0.2621684968471527, 0.5778369903564453, -0.18829746544361115, 0.12161903083324432, 0.07456191629171371, 0.10871991515159607, -0.9372206926345825, -0.40609702467918396, 0.4245505630970001, 0.05751516669988632, 0.34311649203300476, -0.28951188921928406, -0.44610801339149475, -0.16963455080986023, -0.23397764563560486, 0.2669652998447418, 0.4387631118297577, -0.09411468356847763, 0.9169059991836548, 0.35211002826690674, -0.26365599036216736, -0.35735654830932617, -0.5168648958206177, 0.31072887778282166, -0.7088389992713928, -0.7066975831985474, 0.531151294708252, -0.5532025098800659, -0.24744784832000732, -0.2558766305446625, -0.044594358652830124, -0.2719114124774933, -0.13427679240703583, 0.28251081705093384, 0.17029662430286407, -0.20495373010635376, -0.28658756613731384, 0.1973581612110138, -0.1693778783082962, 0.046500008553266525, 0.30483174324035645, 0.35808491706848145, 0.20721009373664856, -0.4461148977279663, -0.5642932653427124, 0.5914684534072876, 0.7606364488601685, 0.07923474907875061, 0.06135491281747818, 0.5310609936714172, 0.14390642940998077, -0.12511752545833588, -0.26842883229255676, 0.110126793384552, -0.5328748226165771, -0.008146887645125389, -0.15826673805713654, -0.8826770186424255, 0.7802318930625916, -0.5022764205932617, -0.02419239655137062, 0.11766870319843292, 0.435143381357193, -0.6054619550704956, 0.8258228898048401, 0.7640262246131897, 0.25994861125946045, 0.34878700971603394, -0.10989644378423691, 0.022425755858421326, -0.7934859395027161, -0.39061224460601807, 0.41006189584732056, -0.9218316674232483, -0.7305072546005249, -0.34225302934646606, 0.463470458984375, 0.30597469210624695, -0.2041679173707962, 0.06628113985061646, 0.13394460082054138, 0.667866051197052, 0.1980568915605545, 0.002750244690105319, 0.6092044711112976, -0.522445023059845, -0.5163366794586182, -0.1694193184375763, -0.6824657320976257, -0.4766084551811218, 0.5614122748374939, 0.5960448980331421, 1.1664494276046753, 0.6294623017311096, 0.9640156030654907, 0.33334171772003174, 0.26286011934280396, -0.8843116760253906, 0.7957521080970764, 0.13139913976192474, -0.400574266910553, -0.542630672454834, -0.027122193947434425, -0.7654409408569336, 0.07901705801486969, -0.5189000368118286, -0.9974038004875183, -0.03768612816929817, -0.010486639104783535, -0.5390050411224365, 0.2815372049808502, -0.2908655107021332, 0.6061925292015076, -0.3291870057582855, -0.8953572511672974, -0.15027016401290894, -0.6545330286026001, 0.7652475833892822, 0.15726202726364136, 0.2345736175775528, 0.025804806500673294, 0.005761411972343922, 0.1489710509777069, -0.34322303533554077, 1.0493055582046509, 0.2770425081253052, -0.23853851854801178, 0.7095977663993835, 0.8879265189170837, 0.39715299010276794, 0.19382423162460327, 0.36106958985328674, -0.5173923373222351, -0.18993689119815826, 0.017713667824864388, -0.7165238857269287, 0.6501176953315735, -0.47747233510017395, -0.9039262533187866, -0.5373085141181946, -1.044927954673767, -0.05267760530114174, -0.08363939821720123, 0.03033287078142166, 0.4415777921676636, -0.7897205948829651, -0.019387777894735336, 0.674549400806427, -0.1821547895669937, 0.9030502438545227, 0.6023609042167664, -0.6756311058998108, -0.508438766002655, 0.6437878608703613, -0.050793539732694626, 0.2552518844604492, 0.571517288684845, 0.11473210155963898, -0.21652448177337646, -0.18856365978717804, -0.45444580912590027, 0.0034910705871880054, -0.29391592741012573, 0.07906191796064377, -0.5343846082687378, -0.4598633944988251, 0.24773009121418, -0.30678319931030273, -0.07985083013772964, -0.1947142332792282, -0.45048314332962036, -0.3452316224575043, 0.24856771528720856, 0.9633215069770813, -0.378397136926651, 0.46892431378364563, -0.6353489756584167, 0.3305133581161499, 0.4228663444519043, 0.5047346353530884, -0.18870656192302704, -0.38035574555397034, -0.49249011278152466, -0.4735576808452606, -0.7042587399482727, -0.828048825263977, 0.41288793087005615, 0.11889762431383133, 0.642657458782196, 0.7544258236885071, -0.1192709431052208, 0.5023443698883057, -0.7450701594352722, 0.8627594113349915, 0.1692979335784912, -0.7914091348648071, 0.34751662611961365, -0.6236688494682312, 0.10688027739524841, 0.25529783964157104, 0.315440833568573, -0.6734249591827393, -0.5213648080825806, -0.7290049195289612, -0.7915677428245544, 0.7678745985031128, 0.2139677256345749, 0.1232018768787384, 0.1590002477169037, 0.21728801727294922, 0.0963529497385025, 0.5121241807937622, -0.971725583076477, -0.05746394023299217, 0.06360901892185211, -0.04056333005428314, -0.023214606568217278, -0.14521606266498566, -0.1998801827430725, -0.0195098128169775, 0.18055009841918945, 0.10553554445505142, 0.0633164495229721, -0.0758894681930542, -0.08625984191894531, -0.5892639756202698, -0.02852698229253292, 0.3935146629810333, 0.5633576512336731, -0.18821321427822113, 0.18298842012882233, -0.005220321472734213, -0.3939533233642578, 0.3156454563140869, -0.352408230304718, 0.16266131401062012, -0.4080359637737274, 0.4571872353553772, 0.7369436025619507, 0.39042797684669495, -0.561672031879425, 0.23991207778453827, 0.30980339646339417, -0.22183144092559814, -0.25855472683906555, 0.48339805006980896, 0.250002920627594, 0.7616258859634399, 0.19650773704051971, -0.16982145607471466, 0.12085126340389252, -0.9979491233825684, 0.3880433738231659, 0.02610320784151554, -0.7234660983085632, -0.07831629365682602, 0.5114380717277527, 0.3862052261829376, -0.6306347250938416, 0.1164591908454895, -0.016688810661435127, 0.006395190954208374, 0.624734103679657, 0.7266747951507568, 0.8635368943214417, -0.3780510723590851, 0.7208881974220276, -0.1633692979812622, 0.29841348528862, 0.016788307577371597, 0.2822895050048828, 0.30017226934432983, -0.48424240946769714, -0.8816956877708435, -0.4585639536380768, -0.5729766488075256, 0.44129759073257446, -0.43058130145072937, 0.4425002336502075, -0.6356548070907593, 0.3392127454280853, -0.5355364084243774, 0.1360408067703247, 0.014552525244653225, 0.0448601134121418, 0.31807348132133484, 0.6946162581443787, -0.6871354579925537, 0.48685380816459656, 0.42336729168891907, -0.5153321027755737, -0.43420353531837463, 0.10202656686306, 0.09803865104913712, -0.2477540820837021, 0.23794153332710266, 0.060489166527986526, -0.04552453011274338, 0.34901970624923706, -0.5878504514694214, -0.6429013013839722, 1.420034408569336, 0.15125836431980133, -0.30517446994781494, -0.031118471175432205, 0.07362987846136093, 0.7931663393974304, -1.1025868654251099, 0.3023744821548462, 0.4442492723464966, 0.3283194601535797, 0.567306637763977, -0.5105628371238708, -0.273773193359375, -0.26076725125312805, -0.1252712905406952, 0.11866400390863419, -0.8595013618469238, 0.6853147149085999, -0.267639696598053, -0.18012207746505737, 0.6850878000259399, 0.7208083868026733, 0.45511364936828613, 0.5707850456237793, 0.2230263501405716, 0.20963144302368164, 0.33031168580055237, 0.0925382599234581, 0.7547869682312012, -0.19898943603038788, 0.07985122501850128, 1.1213070154190063, -0.5056055188179016, 0.20493929088115692, 0.298939973115921, -0.0021208145190030336, 0.7645949721336365, 0.8169697523117065, 0.01606411673128605, 0.5539112091064453, 0.8333398699760437, -0.6067626476287842, -0.4218885898590088, -0.2256321758031845, 0.27267345786094666, 0.5251929759979248, 0.3600127696990967, -0.17442548274993896, -0.12408196181058884, -0.15415580570697784, -0.259685754776001, 0.3935668468475342, -0.5166898369789124, 0.897477924823761, 0.19909100234508514, -0.34058666229248047, -0.22282977402210236, -0.16566862165927887, 0.25087645649909973, -0.8132537603378296, -0.3438819348812103, -0.3808700442314148, -0.44582149386405945, -0.035615261644124985, -0.734354555606842, -0.028246449306607246, -0.16551215946674347, 0.00878371112048626, -0.057911958545446396, 0.7680432200431824, -0.7199615836143494, -0.3346205949783325, 0.13360653817653656, 0.8020093441009521, 0.3966060280799866, 0.3137330114841461, -0.3248555064201355, -0.041438642889261246, -0.24372032284736633, -0.09150365740060806, 0.43870145082473755, 0.9079813361167908, -0.10794125497341156, 0.6410395503044128, 0.2032177746295929, -0.09085500240325928, -0.31619882583618164, 0.14274488389492035, 0.6512239575386047, -0.8062165379524231, -0.8116599321365356, -0.7003591060638428, 0.940659761428833, 0.07063838839530945, -0.09341634809970856, 0.2587865889072418, 0.38929426670074463, 0.0651894137263298, -0.09531896561384201, 0.6911818981170654, -0.11490215361118317, 0.007666928227990866, -0.6557788848876953, 0.6687467098236084, -0.27810409665107727, 0.4640395939350128, -0.39428243041038513, -0.9947085380554199, -0.06905745714902878, 0.36501768231391907, 0.15336154401302338, 0.09207733720541, 0.8537492752075195, 0.3572405278682709, -0.18703988194465637, -0.19581419229507446, 0.8066039681434631, 0.25998011231422424, -0.11468052864074707, 0.5100446939468384, 1.3812488317489624, -0.023553477600216866, 0.4798274636268616, 0.20760858058929443, -0.4958273768424988, -0.437335342168808, -1.222170352935791, -0.9843456149101257, -0.21063640713691711, -0.2886057496070862, -0.21244798600673676, -0.16408464312553406, 0.7985967993736267, 0.28183192014694214, -0.1075291633605957, -0.8497267961502075, -0.06718903034925461, 0.2412949651479721, -0.5244705080986023, -0.2417578101158142, -0.05863626301288605, -0.15487010776996613, -0.8135747313499451, 0.7266138792037964, 0.653235673904419, 0.029807543382048607, -0.8252692222595215, -0.054985012859106064, -0.21090669929981232, 0.643352210521698, 0.6969181895256042, 0.24262955784797668, -0.5378285050392151, -0.08546193689107895, 0.044607631862163544, -0.14690212905406952, 0.11263996362686157, 1.0183608531951904, -0.5509437322616577, 0.4610816240310669, 0.26279833912849426, 0.08584515005350113, 0.8274387121200562, -0.0915488749742508, 0.9598150849342346, -0.5998373031616211, -0.182792067527771, 0.15801209211349487, -0.12437025457620621, -0.05509765446186066, -0.7007848620414734, 0.4472997188568115, 0.43561193346977234, -0.31696099042892456, -0.3063898980617523, 0.668515145778656, -1.3232868909835815, -0.011305754072964191, 0.9044502973556519, -0.26828980445861816, -0.14207255840301514, -0.022123165428638458, -0.468116819858551, 0.2789788246154785, -0.220407634973526, 0.7931492328643799, 0.786785900592804, -0.740889310836792, -0.590221107006073, -0.5240340828895569, 0.6897371411323547, -0.22525806725025177, -0.7918292284011841, -0.2751350700855255, 0.5820382833480835, 0.0019408244406804442, 0.1024220809340477, 0.51545250415802, -0.30846115946769714, 0.007062960881739855, -0.24368734657764435, 0.3357444703578949, -0.19869396090507507, -0.7705886960029602, -0.07145325094461441, 0.37156784534454346, -0.21307910978794098, 0.04827331751585007 ]
http://arxiv.org/abs/2405.14230v1
http://arxiv.org/pdf/2405.14230v1
Boosting Medical Image-based Cancer Detection via Text-guided Supervision from Reports
2024-05-23T07:03:38
2024-05-23T07:03:38
Guangyu Guo, Jiawen Yao, Yingda Xia, Tony C. W. Mok, Zhilin Zheng, Junwei Han, Le Lu, Dingwen Zhang, Jian Zhou, Ling Zhang
cs.CV
cs.CV, cs.AI, cs.CL
The absence of adequately sufficient expert-level tumor annotations hinders the effectiveness of supervised learning based opportunistic cancer screening on medical imaging. Clinical reports (that are rich in descriptive textual details) can offer a "free lunch'' supervision information and provide tumor location as a type of weak label to cope with screening tasks, thus saving human labeling workloads, if properly leveraged. However, predicting cancer only using such weak labels can be very changeling since tumors are usually presented in small anatomical regions compared to the whole 3D medical scans. Weakly semi-supervised learning (WSSL) utilizes a limited set of voxel-level tumor annotations and incorporates alongside a substantial number of medical images that have only off-the-shelf clinical reports, which may strike a good balance between minimizing expert annotation workload and optimizing screening efficacy. In this paper, we propose a novel text-guided learning method to achieve highly accurate cancer detection results. Through integrating diagnostic and tumor location text prompts into the text encoder of a vision-language model (VLM), optimization of weakly supervised learning can be effectively performed in the latent space of VLM, thereby enhancing the stability of training. Our approach can leverage clinical knowledge by large-scale pre-trained VLM to enhance generalization ability, and produce reliable pseudo tumor masks to improve cancer detection. Our extensive quantitative experimental results on a large-scale cancer dataset, including 1,651 unique patients, validate that our approach can reduce human annotation efforts by at least 70% while maintaining comparable cancer detection accuracy to competing fully supervised methods (AUC value 0.961 versus 0.966).
[ 0.06235010549426079, -0.5807280540466309, 0.8559653162956238, -0.15151908993721008, -0.6158649325370789, -0.3397674560546875, -0.03161689266562462, -0.5949543714523315, 0.266530305147171, 0.7240027189254761, -0.2975989878177643, -1.0228532552719116, -0.7344184517860413, 0.07368224859237671, -0.265941321849823, 1.2966660261154175, 0.21671971678733826, 0.1990872025489807, -0.4087499976158142, -0.1368093192577362, -0.05792916566133499, -0.06020905822515488, -0.7606936693191528, -0.033886365592479706, 0.6773741841316223, 0.3522515892982483, 0.5401601791381836, 0.9216500520706177, 0.6261446475982666, 0.22179722785949707, -0.3046230971813202, 0.5724336504936218, -0.36010733246803284, 0.06753703951835632, 0.0926266759634018, -0.622204065322876, -0.09232863038778305, -0.2464580535888672, 0.011596087366342545, 0.6384129524230957, -0.011065847240388393, -0.23326116800308228, 0.0793883427977562, 0.3764490783214569, -0.6986490488052368, 0.1382175087928772, -0.3832125961780548, 0.24975983798503876, -0.3383517861366272, -0.4153420627117157, -0.34907183051109314, -0.5095030665397644, 0.24870043992996216, -0.5492716431617737, 0.22085359692573547, -0.2950242757797241, 0.7856708765029907, 0.4703117311000824, -0.5313873887062073, -0.4553210139274597, -0.483982115983963, 0.7140940427780151, -0.6118937730789185, -0.1737516075372696, 0.7689930200576782, 0.3867351710796356, 0.06047801673412323, -0.885769784450531, 0.27141985297203064, -0.11426670104265213, -0.3783453106880188, 0.44301077723503113, 0.09939248114824295, 0.30795231461524963, 0.2271653264760971, 0.43178024888038635, -0.38801997900009155, 0.2626764178276062, -0.3763555884361267, -0.6351631283760071, 0.5091098546981812, 0.15150049328804016, 0.2286900281906128, -0.04540271684527397, -0.4194188416004181, 0.08526669442653656, -0.5461621880531311, 0.005305746104568243, -0.3275488317012787, 0.2928507924079895, -0.10129440575838089, 0.42233675718307495, -0.23475702106952667, 0.8833739161491394, 0.0020814635790884495, -0.44252675771713257, 0.30032485723495483, -0.4964643120765686, -0.022031040862202644, 0.3072245419025421, 0.967049241065979, 0.30352523922920227, -0.11432060599327087, 0.20949074625968933, -0.06541716307401657, 0.20516487956047058, 0.17922163009643555, -0.8983558416366577, -0.4686376452445984, 0.0180862657725811, -0.7232131958007812, -0.7123439908027649, -0.03498890623450279, -0.8825706839561462, -0.6992990970611572, 0.2906210720539093, 0.46039706468582153, -0.07897108048200607, 0.32237303256988525, 0.17436321079730988, 0.06988773494958878, -0.42534443736076355, 0.2303263247013092, -0.6599809527397156, -0.165533646941185, 0.05983002111315727, 0.9007961750030518, 0.1757693737745285, 0.251097172498703, -1.1112205982208252, 0.2330707311630249, -0.30978938937187195, 0.8887916803359985, -0.6332026720046997, -0.4712398946285248, 0.13841421902179718, 0.2617950737476349, 0.0759897381067276, -0.3859109580516815, 0.8209463357925415, 0.012474529445171356, 0.5613400936126709, -0.13323312997817993, -0.2753220498561859, -0.07545946538448334, 0.231505885720253, -0.4416484236717224, 0.9237698316574097, 0.12324399501085281, -0.7236840128898621, 0.6012843251228333, -0.3204680383205414, -0.5834059119224548, 0.23806880414485931, -0.33551642298698425, -0.9061802625656128, -0.1236947774887085, 0.7301846146583557, 0.7806903123855591, -0.0476592555642128, 0.097060926258564, -0.2133825123310089, -0.5386870503425598, -0.3062282204627991, -0.1343035101890564, 0.5486662983894348, 0.08654049783945084, -0.5024243593215942, 0.13741378486156464, -0.6094502806663513, -0.09197863936424255, 0.27703386545181274, -0.0683189406991005, -0.6463702917098999, 0.14305028319358826, -0.4434472918510437, 0.09616933763027191, 0.3355279862880707, -0.6575868129730225, 0.08672970533370972, -0.68038409948349, -0.23045462369918823, 0.39604640007019043, 0.2399986982345581, 0.18289384245872498, -0.2274908572435379, 0.38272303342819214, 0.1384413093328476, 0.4407802224159241, -0.3148740828037262, -0.906455397605896, -0.280830442905426, -0.5662127733230591, 0.1874995231628418, 0.5819503664970398, -1.066004753112793, 0.335275262594223, 0.2006700187921524, -0.5715222954750061, -0.4327522814273834, 0.22822508215904236, 0.5823331475257874, 0.9448039531707764, 0.6152899861335754, -0.25669559836387634, -0.6360201239585876, -0.9668815732002258, -0.22480136156082153, -0.07176733762025833, -0.25208643078804016, 0.4407538175582886, -0.013773496262729168, -0.1755620241165161, 0.5756017565727234, -1.0240877866744995, -0.9929091930389404, -0.18734793365001678, 0.11471474915742874, 0.43469035625457764, 0.06563612073659897, 0.44275879859924316, -0.9777060747146606, -0.5545440316200256, 0.15654124319553375, -1.0313787460327148, -0.5811086297035217, -0.1659712791442871, 0.16783732175827026, -0.12826602160930634, 0.577789306640625, -0.05696142092347145, 0.9275745749473572, 0.39062970876693726, -0.24547351896762848, 0.017397617921233177, -0.5816417932510376, 0.21353138983249664, -0.952735960483551, -0.24274088442325592, 0.5625590085983276, -0.4716404378414154, -0.34925174713134766, -0.5919687747955322, 0.09034370630979538, 0.12847556173801422, -0.23679250478744507, 0.165690615773201, -0.3789820373058319, 0.16057392954826355, -0.40430793166160583, -0.14525486528873444, 0.09165863692760468, 0.2954891622066498, 0.3829825222492218, 0.3517933189868927, 0.5804354548454285, -0.6123850345611572, -0.07034803926944733, 0.12057708948850632, -0.3159511089324951, 0.36037880182266235, -0.45983368158340454, -0.09488708525896072, -0.22229307889938354, 0.24863217771053314, -0.8133330345153809, -0.27883559465408325, 0.10802531987428665, -0.30001962184906006, 0.2036656141281128, -0.39641857147216797, -0.42976856231689453, -0.5945167541503906, -0.20051367580890656, 0.21500840783119202, 0.6534335613250732, -0.5564243197441101, 0.33740147948265076, 0.5301671028137207, 0.06355082243680954, -0.3871711492538452, -1.0346357822418213, -0.18726015090942383, -0.018494291231036186, -0.29771363735198975, 0.28892725706100464, 0.3103734254837036, 0.2085123360157013, 0.001079108682461083, -0.01660357229411602, -0.16553400456905365, -0.05412198230624199, 0.31124556064605713, 0.3767073154449463, -0.05866820365190506, 0.07548241317272186, 0.14757539331912994, -0.24970334768295288, -0.17561805248260498, -0.3798366189002991, -0.18340662121772766, 0.18270368874073029, -0.43360427021980286, -0.4986812472343445, 0.09397145360708237, 0.4233274459838867, -0.1782262772321701, 0.6443385481834412, 0.8005842566490173, -0.5893316864967346, -0.20191583037376404, -0.1684778779745102, -0.401780903339386, -0.4204394221305847, 0.43003013730049133, 0.233938068151474, -0.9386544823646545, 0.20038965344429016, -0.19072742760181427, 0.0216479804366827, 0.5260821580886841, 0.7056256532669067, -0.3410547971725464, 1.3186590671539307, 0.5249616503715515, 0.02641337178647518, 0.33334338665008545, -0.025633709505200386, 0.10686323046684265, -0.36770138144493103, -0.5611269474029541, -0.4355945885181427, -0.17113427817821503, -0.3806823790073395, -0.543765127658844, 0.8122055530548096, -0.42922335863113403, 0.3418963551521301, 0.10092990845441818, -1.1630849838256836, 0.5244923830032349, 0.21707943081855774, 0.573035717010498, 0.1511978954076767, -0.06801148504018784, -0.1694408804178238, -0.355348140001297, -0.7572910189628601, -0.26658329367637634, 1.3497827053070068, 0.03519592806696892, 0.6031667590141296, -0.21987919509410858, 0.6758796572685242, 0.4331543445587158, 0.2079520970582962, -0.46073782444000244, 0.33039578795433044, -0.7230987548828125, -0.39893096685409546, -0.1275758594274521, -0.4901043474674225, -0.7259436249732971, 0.15347187221050262, -0.36790990829467773, -0.5738280415534973, 0.09429594874382019, 0.27903303503990173, -0.48346686363220215, 0.4240511357784271, -0.7893688678741455, 0.8278548717498779, -0.3849228620529175, -0.5567526817321777, 0.3640023469924927, -0.7653083205223083, 0.19375799596309662, -0.022238725796341896, 0.4260973334312439, 0.1764514148235321, -0.07612814754247665, 0.5435656309127808, -0.5631493926048279, 1.0171841382980347, -0.6364448666572571, 0.014958745799958706, 0.27972084283828735, -0.22962234914302826, 0.6258963942527771, -0.0005480562103912234, 0.2635595202445984, -0.1336584985256195, -0.024967581033706665, -0.6088973879814148, -0.10088253766298294, 0.5028588175773621, -0.2073928862810135, -0.03332925960421562, -0.23642803728580475, -0.36957603693008423, -0.346069872379303, 0.27761921286582947, 0.6210589408874512, 0.46657806634902954, 0.1707148402929306, 0.30929601192474365, 0.9810503721237183, -0.5099117159843445, -0.03023875504732132, 0.1770251989364624, -0.10946159809827805, -0.2178562730550766, 1.0070658922195435, -0.030821284279227257, -0.16891609132289886, 0.6112249493598938, 0.4951985478401184, -0.3949921429157257, -0.7515367865562439, -0.05940834432840347, -0.030156651511788368, -0.4986402094364166, -0.32516998052597046, -0.7622957229614258, 0.16616305708885193, -0.06840483099222183, -0.2694704532623291, -0.44959425926208496, 0.18336327373981476, -0.3659323751926422, 0.06580448150634766, 0.36036762595176697, 0.4902469515800476, -0.07070975005626678, 0.3393503725528717, -0.5052329897880554, 0.32004114985466003, 0.19643333554267883, 0.1366586536169052, -0.5043458938598633, -0.6022308468818665, -0.5244924426078796, -0.009049809537827969, 0.06010805442929268, -0.6450920701026917, 0.30297616124153137, 0.14214551448822021, 0.38890302181243896, 0.6202055215835571, 0.35168230533599854, 0.5116527080535889, 0.10805158317089081, 0.6263052821159363, 0.22054898738861084, -0.3707939386367798, 0.9258853793144226, -0.4178768992424011, 0.5542218089103699, 0.7675486207008362, 0.2076544463634491, -0.05481419339776039, -0.5355403423309326, -0.2915104329586029, -0.7465459704399109, 0.7632862329483032, 0.16654863953590393, -0.25263458490371704, -0.007316295988857746, 0.22322116792201996, 0.07970426976680756, -0.09704781323671341, -0.6454657912254333, -0.2067645639181137, -0.15421722829341888, -0.726824939250946, -0.18093548715114594, -0.31138288974761963, -0.24679715931415558, -0.2085244506597519, 0.6858298182487488, -0.425281286239624, 0.24493610858917236, 0.4875147342681885, -0.009334603324532509, 0.12516842782497406, -0.1306581348180771, 0.5839011073112488, 0.014780908823013306, -0.421233594417572, 0.32444292306900024, 0.19620241224765778, -0.7675696015357971, -0.27541711926460266, 0.0383976511657238, -0.0044603506103158, 0.25767430663108826, 0.592852771282196, 0.4795040190219879, 0.23127740621566772, -0.5659011006355286, 0.8633783459663391, -0.20959675312042236, -0.49676042795181274, 0.19977320730686188, -0.021586434915661812, 0.01694510690867901, 0.07076266407966614, 0.5480295419692993, 0.28882578015327454, 0.417350172996521, -0.04497786983847618, 0.44360777735710144, 0.2700771987438202, -1.0736290216445923, 0.08658839017152786, 0.7154009342193604, 0.07065004110336304, 0.3675982356071472, 0.09590156376361847, -0.026066826656460762, -0.43876975774765015, 0.7628759145736694, 0.42957237362861633, 0.3172409236431122, -0.039397500455379486, 0.2599695324897766, 0.3433244824409485, 0.48317697644233704, -0.22448863089084625, 0.035704925656318665, -0.04346825182437897, -0.24450838565826416, -0.35829365253448486, -0.17748843133449554, -0.2847192883491516, 0.12801161408424377, -0.44708508253097534, 0.3501718044281006, -0.5728985071182251, -0.245119109749794, 0.12918442487716675, 0.02400766685605049, -0.12133440375328064, 0.7872475385665894, 0.2799784541130066, 0.5797827243804932, -0.8766058683395386, 0.6550310254096985, 0.770763635635376, -0.15447843074798584, -0.6742314100265503, 0.044857051223516464, 0.22943544387817383, -0.5761233568191528, 0.21043148636817932, 0.6147380471229553, 0.010722530074417591, -0.3571016490459442, -0.5798136591911316, -0.25764286518096924, 1.1023019552230835, 0.2593570351600647, -0.4005892276763916, 0.14590118825435638, -0.24199068546295166, 0.7506176233291626, -0.3816097378730774, 0.3322303295135498, -0.06362710893154144, 0.15460330247879028, 0.46964117884635925, -0.5475757122039795, -0.023764338344335556, -0.06833842396736145, -0.17893478274345398, 0.36726072430610657, -0.22799642384052277, 0.3444652855396271, -0.2710554897785187, -0.12671351432800293, 0.006344066001474857, 0.33070892095565796, -0.006322053726762533, 0.9257532358169556, 0.5057904720306396, 0.4604915678501129, 0.7149654626846313, -0.12045285850763321, 1.1852983236312866, 0.03146713972091675, 0.362002432346344, 0.6600469946861267, 0.04827108979225159, 0.2044856995344162, 0.36727532744407654, -0.0019904703367501497, 0.4318230450153351, 0.8030130863189697, -0.09220971912145615, 0.9020553231239319, -0.22336141765117645, -0.24008095264434814, -0.5622343420982361, -0.4669603705406189, -0.3295753300189972, 0.20539836585521698, 0.5126129984855652, -0.8494561910629272, -0.34169915318489075, 0.2737073302268982, -0.06552550196647644, 0.20835572481155396, -0.49049267172813416, 0.7416478991508484, 0.10864511132240295, -0.3482569456100464, 0.47850146889686584, -0.18308962881565094, 1.0425723791122437, -0.696377694606781, 0.05225188285112381, -0.21193715929985046, 0.34423619508743286, -0.6374427080154419, -0.6492779850959778, 0.305781751871109, 0.14216850697994232, 0.10248441994190216, 0.08893771469593048, 1.1048918962478638, -0.4301426112651825, -0.6180029511451721, 0.3085249960422516, 0.25967738032341003, 0.20092082023620605, 0.08492090553045273, -0.48639804124832153, -0.20285898447036743, 0.30862733721733093, 0.05250900983810425, 0.4460403621196747, 0.3567443788051605, -0.02612179145216942, 0.31566405296325684, 0.6637142300605774, 0.09917695075273514, -0.5829713940620422, -0.24560154974460602, 0.7061748504638672, -0.18457408249378204, -0.6012359857559204, -0.6219925284385681, 0.2769611179828644, -0.3381863236427307, -0.28414738178253174, 0.5442951321601868, 0.462350457906723, 0.5348484516143799, 0.08095565438270569, 0.5562788844108582, 0.19426831603050232, 0.6404250264167786, -0.5580716729164124, 0.8584064841270447, -0.9462442994117737, 0.3098199963569641, -0.36953845620155334, -0.3245941698551178, -0.612804651260376, 0.5377830862998962, -0.6534724235534668, 0.22005832195281982, 0.6563471555709839, 0.8219134211540222, -0.08595805615186691, -0.14403489232063293, 0.5137154459953308, 0.17131385207176208, -0.04422593489289284, 0.67703777551651, 0.27718526124954224, -0.25530171394348145, 0.7425916790962219, -0.397286593914032, -0.4871215522289276, -0.4736233055591583, -0.6053722500801086, -1.0929620265960693, -0.45431217551231384, -0.5566741824150085, -0.2683526873588562, -0.03268328681588173, 0.31584468483924866, 0.9442612528800964, -0.6412895321846008, 0.4706195890903473, 0.10267636179924011, 0.0931287407875061, -0.051008328795433044, -0.1494014859199524, 0.621916651725769, -0.08989503979682922, -0.5228554010391235, 0.5600095391273499, 0.6708932518959045, -0.07008243352174759, 0.17887304723262787, 0.07442254573106766, -0.35388413071632385, -0.3664221167564392, 0.33545157313346863, 0.41810691356658936, -0.07672613114118576, 0.23192837834358215, -0.20042265951633453, -0.5038933157920837, -0.0515112467110157, 0.48716363310813904, -1.0008476972579956, 0.8831024169921875, 0.05569950491189957, 0.6913249492645264, 0.6041199564933777, -0.06925111263990402, 0.14014533162117004, -0.9165785908699036, 0.3362424969673157, 0.4736422896385193, 0.04969758167862892, 0.44196856021881104, -0.9718961715698242, 0.45395147800445557, 0.5127822756767273, -0.4576255977153778, -0.7962239980697632, 0.09514541178941727, -0.8643299341201782, -0.4275687038898468, 0.9919909834861755, -0.18456010520458221, -0.5660603046417236, -0.42877456545829773, -0.28426796197891235, 0.2665649652481079, -0.44270387291908264, 0.6240975260734558, -0.09767124801874161, -0.2481861114501953, -0.23840105533599854, -0.29333916306495667, 0.715334951877594, 0.6328275203704834, -0.7056839466094971, -0.5752123594284058, 0.44283193349838257, 0.13763809204101562, -0.029701611027121544, 0.7897840142250061, -0.34296542406082153, 0.5935946702957153, -0.20636217296123505, -0.10393699258565903, -0.3217169940471649, -0.05710654705762863, -0.13085323572158813, 0.27014800906181335, -0.17355069518089294, -0.5844801664352417 ]
http://arxiv.org/abs/2405.14225v1
http://arxiv.org/pdf/2405.14225v1
ReactXT: Understanding Molecular "Reaction-ship" via Reaction-Contextualized Molecule-Text Pretraining
2024-05-23T06:55:59
2024-05-23T06:55:59
Zhiyuan Liu, Yaorui Shi, An Zhang, Sihang Li, Enzhi Zhang, Xiang Wang, Kenji Kawaguchi, Tat-Seng Chua
q-bio.QM
q-bio.QM, cs.CL, cs.MM
Molecule-text modeling, which aims to facilitate molecule-relevant tasks with a textual interface and textual knowledge, is an emerging research direction. Beyond single molecules, studying reaction-text modeling holds promise for helping the synthesis of new materials and drugs. However, previous works mostly neglect reaction-text modeling: they primarily focus on modeling individual molecule-text pairs or learning chemical reactions without texts in context. Additionally, one key task of reaction-text modeling -- experimental procedure prediction -- is less explored due to the absence of an open-source dataset. The task is to predict step-by-step actions of conducting chemical experiments and is crucial to automating chemical synthesis. To resolve the challenges above, we propose a new pretraining method, ReactXT, for reaction-text modeling, and a new dataset, OpenExp, for experimental procedure prediction. Specifically, ReactXT features three types of input contexts to incrementally pretrain LMs. Each of the three input contexts corresponds to a pretraining task to improve the text-based understanding of either reactions or single molecules. ReactXT demonstrates consistent improvements in experimental procedure prediction and molecule captioning and offers competitive results in retrosynthesis. Our code is available at https://github.com/syr-cn/ReactXT.
[ -0.27643823623657227, -0.5714944005012512, 0.7820475697517395, 0.16471125185489655, -0.18472431600093842, 0.11413412541151047, -0.16330471634864807, -0.16346034407615662, 0.04859704151749611, 0.4350268840789795, -0.786089301109314, -0.5465497970581055, -0.21126466989517212, 0.2942432463169098, -0.2421649992465973, 1.0974938869476318, -0.501940906047821, 0.2581038475036621, -0.5437358617782593, 0.05998968333005905, -0.2892320156097412, -0.24995136260986328, -0.4875641465187073, -0.3155245780944824, 0.6517676711082458, 0.46217668056488037, 0.1603788286447525, 0.4631902873516083, 0.5499284863471985, 0.2825537323951721, 0.002287135925143957, -0.4415209889411926, -0.3654203414916992, 0.22588637471199036, -0.2399548441171646, -0.5897557735443115, -0.5244280099868774, 0.21672500669956207, 0.295000821352005, 0.5689284205436707, -0.03930659219622612, -0.061684079468250275, -0.3069149851799011, 0.55058354139328, -0.729447603225708, 0.09035427868366241, -0.3019042909145355, 0.35965991020202637, 0.010380825959146023, -0.26405659317970276, -0.581561803817749, -0.10015954077243805, 0.36182093620300293, -0.8959922194480896, 0.2732953429222107, 0.07385005801916122, 0.2873016595840454, 0.04588138312101364, -0.5973097681999207, -0.022981220856308937, -0.5668150782585144, 0.3813360631465912, -0.5369961857795715, 0.3459663987159729, -0.26105424761772156, 0.5016036033630371, -0.373623251914978, -1.0990275144577026, -0.552997887134552, -0.31631430983543396, -0.02802409417927265, 0.5062645673751831, 0.1911621242761612, 0.20758450031280518, 0.008253635838627815, 0.38128119707107544, -0.8725501894950867, -0.17987504601478577, -0.13257651031017303, -0.06724071502685547, 0.26605871319770813, 0.12719839811325073, 0.2552888095378876, 0.10057001560926437, -0.955990731716156, -0.3835359215736389, -0.6777589321136475, -0.34130534529685974, -0.15950991213321686, 0.6826359629631042, -0.22588512301445007, 0.6259233355522156, -0.29244035482406616, 0.48737430572509766, -0.30461257696151733, 0.5999780893325806, 0.24656234681606293, -0.5060728788375854, -0.34618058800697327, 0.37810295820236206, 0.8365495800971985, 0.07529262453317642, 0.08739188313484192, 0.05791448801755905, -0.0704205110669136, 0.16258089244365692, 0.2986772358417511, -1.1146260499954224, -0.3217427730560303, 0.5212432742118835, -0.3495253622531891, -0.2787942588329315, -0.11026577651500702, -1.0034217834472656, -0.32837894558906555, -0.3732449412345886, 0.7866987586021423, -0.15615643560886383, -0.1564653217792511, 0.07944657653570175, -0.5444498658180237, -0.2297123223543167, 0.4750349521636963, -0.3668338656425476, 0.3953738808631897, 0.3311249315738678, 0.765661358833313, -0.5689476728439331, -0.23424886167049408, -0.6516092419624329, -0.04602576419711113, -0.12262619286775589, 0.7387763261795044, -0.47508004307746887, -0.5139573812484741, -0.1965106725692749, 0.0005850515444763005, 0.15420521795749664, -0.3368769586086273, 0.19287794828414917, -0.4634014964103699, 0.2052551954984665, 0.012852413579821587, -0.6955071091651917, 0.11720868200063705, 0.056953418999910355, -0.6458113789558411, 0.5949001312255859, 0.10007645189762115, -0.5200917720794678, 0.2010125070810318, -0.8849518299102783, -0.4728972017765045, -0.1505662202835083, -0.16234645247459412, -0.2795829772949219, 0.18969562649726868, -0.048089634627103806, 0.38591378927230835, -0.05022807419300079, -0.11033280193805695, -0.48759904503822327, -0.12192042917013168, 0.21705566346645355, 0.19340097904205322, 0.45850110054016113, 0.33035239577293396, -0.3109067678451538, 0.41827836632728577, -1.020691990852356, 0.01213244441896677, -0.15176130831241608, -0.31602320075035095, -0.19442589581012726, -0.222349151968956, 0.22554531693458557, 0.38111308217048645, -0.024211019277572632, -0.5835955739021301, 0.25636026263237, -0.45910608768463135, 0.27628272771835327, 0.6937548518180847, 0.022167522460222244, 0.6075945496559143, 0.3283287584781647, 0.5587601661682129, 0.27811840176582336, -0.06343012303113937, -0.660161018371582, -0.43149906396865845, -0.41784846782684326, 0.27331870794296265, 0.20936819911003113, 0.33867812156677246, -0.743896484375, -0.2567395567893982, -0.06278491765260696, -0.45696166157722473, 0.3618028461933136, -0.2648620307445526, 0.5698909759521484, 0.6989953517913818, 0.7007825374603271, -0.26992660760879517, -0.885445773601532, -0.45628881454467773, -0.45799344778060913, -0.12934575974941254, 0.027699774131178856, 0.045980844646692276, 0.7786628603935242, -0.3446911871433258, 0.898699164390564, -0.7759553790092468, -0.27271661162376404, -0.07984203845262527, 0.6380894780158997, 0.0806979387998581, 0.6520779132843018, 0.06822091341018677, -0.9449642300605774, -0.5599720478057861, 0.1927674263715744, -0.27630990743637085, 0.10481145977973938, 0.10985558480024338, -0.32041043043136597, 0.2562582492828369, 0.9617558717727661, -0.5391141176223755, 0.43930742144584656, 0.37001654505729675, -0.34966903924942017, 0.46300867199897766, -0.11085902154445648, 0.026973454281687737, -1.2467578649520874, 0.16685090959072113, 0.09224899858236313, -0.15882135927677155, -0.7021860480308533, -0.026695331558585167, 0.16383211314678192, -0.3814547657966614, -0.9393150210380554, 0.8448907136917114, -0.37116238474845886, -0.08775067329406738, -0.22001735866069794, 0.01908978819847107, -0.14864394068717957, 0.3988017141819, 0.8034263849258423, 0.725832998752594, 0.14122600853443146, -0.5117623805999756, 0.02011183090507984, 0.3812180459499359, -0.11685875803232193, 0.2709515392780304, -0.5788806676864624, 0.10820852965116501, -0.035566240549087524, 0.4780782163143158, -1.2765268087387085, -0.49411702156066895, 0.14694002270698547, -0.5915979146957397, 0.36210373044013977, 0.0011779050109907985, 0.05914224684238434, -0.41090065240859985, -0.20258945226669312, 0.4996086359024048, 0.289065957069397, -0.3233235776424408, 0.816493809223175, 0.04591485857963562, -0.11029770225286484, -0.5985420346260071, -0.5694921016693115, -0.2711186110973358, -0.02362985908985138, 0.06084219366312027, 0.5743009448051453, -0.406562864780426, 0.0994785726070404, -0.1634823977947235, -0.5108363628387451, -0.3287656605243683, -0.21419240534305573, 0.2811698615550995, 0.35570651292800903, -0.06215696409344673, 0.16192704439163208, -0.13485971093177795, -0.22584494948387146, 0.1672240048646927, -0.24444374442100525, 0.2641310691833496, 0.15867701172828674, 0.3162786662578583, -0.10661705583333969, 0.2005770057439804, 0.5264074206352234, -0.04141815006732941, 0.49222490191459656, 0.3177831768989563, -0.10442447662353516, -0.37718018889427185, 0.07467710971832275, -0.5880183577537537, -0.4257296323776245, 0.3684837222099304, -0.2904275357723236, -0.6884177923202515, 0.24185021221637726, -0.44181135296821594, -0.20106644928455353, 0.1302209198474884, 0.482234925031662, -0.19752460718154907, 0.8235489726066589, 0.7413914799690247, 0.3990572690963745, 0.3001478910446167, 0.1590050756931305, 0.02011505886912346, -0.6375626921653748, -0.11177004128694534, -0.6311543583869934, -0.2018674910068512, -0.4341195523738861, -0.6255864500999451, 0.5351094007492065, -0.3922422230243683, -0.5410963296890259, 0.6520820260047913, -0.3648119568824768, 0.4191225469112396, 0.2467854917049408, 0.05852141231298447, 0.1581796258687973, 0.15893010795116425, -0.36339887976646423, 0.13492810726165771, -0.5837392210960388, -0.09457932412624359, 1.4777307510375977, 0.022583387792110443, 0.9903091788291931, -0.3351130187511444, 0.7270926237106323, 0.08297969400882721, 0.4804375469684601, -0.6292949318885803, 0.6559686064720154, 0.06692579388618469, -0.7099842429161072, -0.027537301182746887, -0.690352737903595, -0.9552010297775269, 0.010685866698622704, -0.2637835443019867, -0.4255374073982239, 0.03130393102765083, 0.35368964076042175, -0.42914915084838867, -0.2138739377260208, -0.7815232872962952, 1.179653286933899, 0.03772233799099922, -0.43863362073898315, 0.03221546486020088, -1.1359530687332153, 0.24428676068782806, -0.05829577520489693, 0.2316150814294815, 0.22134695947170258, -0.18516069650650024, 0.5290281772613525, -0.5433083772659302, 0.649010956287384, 0.05576194450259209, -0.17499829828739166, 0.14199206233024597, 0.23756827414035797, 0.32832708954811096, -0.0013343465980142355, 0.3561496138572693, -0.27957603335380554, -0.008826244622468948, -0.051624469459056854, -0.6598517298698425, 0.6488234400749207, -0.4879246652126312, -0.2997185289859772, -0.42639949917793274, -0.31512629985809326, -0.26242074370384216, 0.4399186968803406, 0.5122568607330322, 0.3791508674621582, -0.3726648986339569, -0.08354459702968597, 0.7199407815933228, -0.2964906096458435, 0.4421962797641754, 0.7335774302482605, -0.4515927731990814, -0.5266907811164856, 0.8641985654830933, -0.21350747346878052, 0.3576582074165344, 1.071584701538086, 0.02620381861925125, -0.4255838692188263, -0.21250930428504944, -0.03980795294046402, -0.0057004643604159355, -0.7850270867347717, -0.18270640075206757, -0.3461018204689026, 0.1918325126171112, -0.21887405216693878, -0.11690202355384827, -0.7336379885673523, -0.5466567873954773, -0.19850067794322968, -0.09950331598520279, 0.05317263677716255, 0.40454018115997314, -0.00953553058207035, 0.17111513018608093, -0.8409203886985779, 0.5420237183570862, 0.31789329648017883, 0.44409361481666565, -0.3207516074180603, -0.023453211411833763, -0.1920575350522995, -0.09868736565113068, -0.23068606853485107, -0.9256023168563843, 0.1994117945432663, -0.001922327559441328, 0.1992693394422531, 0.010989034548401833, 0.07853198796510696, 0.4001050293445587, -0.8261838555335999, 0.6231392621994019, 0.29680436849594116, -0.8849006295204163, 1.072717547416687, -0.34114426374435425, 0.44174885749816895, 0.40195533633232117, 0.7720054388046265, -0.3933195173740387, -0.16068077087402344, -0.38080543279647827, -0.9583324790000916, 0.8119283318519592, 0.38603225350379944, -0.18906225264072418, -0.1123746931552887, 0.3705461919307709, 0.1885373890399933, 0.4347377419471741, -0.8981427550315857, -0.3716081976890564, -0.14323300123214722, -0.2964927852153778, -0.3955588638782501, 0.18352998793125153, -0.14438961446285248, -0.26452410221099854, 0.7462778091430664, -0.2135159820318222, 0.5006517767906189, 0.349989652633667, -0.12174438685178757, -0.19032815098762512, 0.2334679663181305, 0.7376867532730103, 0.42902693152427673, -0.6441512703895569, 0.29098474979400635, -0.20299716293811798, -0.6723514199256897, 0.5924781560897827, 0.16323082149028778, 0.3556409180164337, 0.015417061746120453, 0.12132717669010162, 0.6419220566749573, 0.27612295746803284, -0.8002666234970093, 0.447936087846756, -0.2634951174259186, -0.20585015416145325, -0.04741659387946129, 0.1166897565126419, -0.011416209861636162, 0.15319092571735382, 0.07407683879137039, 0.31302502751350403, 0.36071088910102844, -0.5626322031021118, 0.1921389400959015, 0.12803377211093903, -0.6491878032684326, -0.2880342900753021, 1.033556342124939, 0.46952909231185913, 0.05528973415493965, 0.30424222350120544, 0.15822578966617584, -0.14532192051410675, 0.7477753162384033, 0.5935720801353455, 0.964572012424469, -0.5757946372032166, 0.1494048684835434, 0.5504905581474304, -0.18804988265037537, -0.10217844694852829, 0.38621243834495544, -0.1759159117937088, -0.4870641529560089, -0.2440340220928192, -0.38049423694610596, -0.425391286611557, 0.05299626290798187, -0.5196877121925354, 0.4668453633785248, -0.2815439701080322, -0.057060644030570984, 0.0719980001449585, -0.2816401720046997, -0.3481023609638214, 0.5176149606704712, 0.19292806088924408, 1.1900131702423096, -0.7071803212165833, 0.5131126046180725, 0.9574376940727234, -0.2890990674495697, -0.3863913416862488, -0.1018267348408699, 0.07919333875179291, -0.20357419550418854, 0.8829794526100159, 0.41223713755607605, 0.0901627466082573, 0.21532297134399414, -0.5709630250930786, -0.6583282947540283, 0.7998590469360352, 0.22843313217163086, -0.5682841539382935, 0.06905661523342133, 0.1982765793800354, 0.46844467520713806, -0.3393215537071228, 0.5092639327049255, 0.3935653567314148, 0.4316073954105377, 0.08169978857040405, -0.5215691924095154, 0.23179253935813904, -0.30948320031166077, 0.09102566540241241, 0.17601460218429565, -0.3044199049472809, 1.0371185541152954, -0.1929863542318344, -0.178421750664711, 0.1314324587583542, 0.6042733788490295, 0.35892432928085327, 0.39514437317848206, 0.1811557114124298, 0.6455872058868408, 0.12229011952877045, -0.17396414279937744, 1.0103569030761719, -0.0001545668492326513, 0.3564684987068176, 1.3428431749343872, -0.37695568799972534, 1.1531678438186646, 0.5839804410934448, -0.39637506008148193, 0.5730416178703308, 0.571887731552124, 0.34290653467178345, 0.6773393154144287, 0.3141918182373047, -0.36298996210098267, -0.1011795625090599, 0.4027506411075592, -0.34268954396247864, 0.20221289992332458, 0.25239241123199463, -0.26576316356658936, -0.2927105724811554, 0.27324676513671875, 0.009046236053109169, -0.06699080765247345, -0.3948132395744324, 0.6540984511375427, -0.0026183954905718565, -0.9259868264198303, 0.35875391960144043, -0.2335459291934967, 0.16616381704807281, -0.6998040676116943, -0.33533504605293274, -0.2321849763393402, 0.33549007773399353, 0.08031707257032394, -0.8024284839630127, -0.0359485000371933, -0.3960025906562805, -0.08500261604785919, -0.2389671355485916, 0.6241469979286194, -0.49698469042778015, 0.0012829864863306284, 0.253505140542984, 0.3298220932483673, -0.01563376933336258, -0.27332979440689087, -0.4058779180049896, 0.1174359917640686, -0.030941927805542946, -0.5643728375434875, 0.4100980758666992, 0.2070438265800476, 0.12578710913658142, 0.4809582829475403, 0.46851813793182373, -0.46573564410209656, -0.23676460981369019, -0.22362522780895233, 0.9013929963111877, -0.7435621619224548, -0.4733239412307739, -0.774954080581665, 0.7106214165687561, 0.14651532471179962, -0.25910916924476624, 0.6122308373451233, 0.7273882627487183, 0.8973373174667358, -0.7460821866989136, 0.7791553139686584, 0.18409204483032227, 0.3393808901309967, -0.5905422568321228, 0.5388199090957642, -0.6563067436218262, -0.17118869721889496, -0.4773705303668976, -1.0017060041427612, -0.2637663781642914, 0.38581380248069763, 0.10424499958753586, 0.17815522849559784, 1.0863738059997559, 0.639625608921051, -0.15651094913482666, 0.21382445096969604, -0.21074029803276062, 0.4698556065559387, 0.2891257703304291, 0.6529669165611267, 0.7873473167419434, -0.45313963294029236, 0.40625709295272827, -0.1903412640094757, -0.04975977540016174, -0.2790635824203491, -1.2149217128753662, -0.9195329546928406, -0.645937979221344, -0.37540751695632935, -0.26670169830322266, -0.12983427941799164, 0.8844360709190369, 0.7077053189277649, -0.7453008890151978, -0.5422382950782776, -1.0766133069992065, -0.04781913012266159, -0.009546534158289433, -0.231687992811203, 0.03377675265073776, -0.5187550783157349, -0.6670351028442383, 0.6203943490982056, 0.3899398744106293, 0.528252124786377, 0.13035553693771362, -0.028580643236637115, -0.2768060266971588, 0.04744889587163925, 0.6188222169876099, 0.5596083402633667, -0.35155677795410156, 0.21469078958034515, -0.011711878702044487, 0.1207793802022934, 0.21547628939151764, 0.9904711246490479, -1.092047095298767, 0.8373039960861206, 0.6338411569595337, 0.35381320118904114, 0.8922412991523743, -0.15058821439743042, 0.9674450159072876, -0.915584921836853, 0.08826650679111481, 0.11953913420438766, 0.04074551537632942, -0.03310665115714073, -0.3001418113708496, 0.7003015875816345, 0.305576890707016, -0.4743202328681946, -0.820195734500885, 0.05917849764227867, -1.045436143875122, -0.7435975670814514, 0.7236728072166443, -0.07699741423130035, -0.5417555570602417, 0.29708319902420044, -0.36224645376205444, 0.5439693331718445, -0.4672916531562805, 0.3810674548149109, 0.4836667478084564, -0.252332866191864, -0.14392144978046417, -0.5378701090812683, 0.87140953540802, 0.5267525315284729, -1.2048888206481934, 0.19458122551441193, 0.5589510798454285, -0.015601042658090591, 0.3120771646499634, 0.5200210213661194, 0.012549380771815777, 0.45060423016548157, -0.10559248179197311, 0.19313816726207733, 0.04172777757048607, -0.6437947750091553, -0.05843786895275116, 0.02685602195560932, -0.5236470699310303, -0.01852327212691307 ]
http://arxiv.org/abs/2406.00018v1
http://arxiv.org/pdf/2406.00018v1
Large Language Models' Detection of Political Orientation in Newspapers
2024-05-23T06:18:03
2024-05-23T06:18:03
Alessio Buscemi, Daniele Proverbio
cs.CL
cs.CL, cs.IR
Democratic opinion-forming may be manipulated if newspapers' alignment to political or economical orientation is ambiguous. Various methods have been developed to better understand newspapers' positioning. Recently, the advent of Large Language Models (LLM), and particularly the pre-trained LLM chatbots like ChatGPT or Gemini, hold disruptive potential to assist researchers and citizens alike. However, little is know on whether LLM assessment is trustworthy: do single LLM agrees with experts' assessment, and do different LLMs answer consistently with one another? In this paper, we address specifically the second challenge. We compare how four widely employed LLMs rate the positioning of newspapers, and compare if their answers align with one another. We observe that this is not the case. Over a woldwide dataset, articles in newspapers are positioned strikingly differently by single LLMs, hinting to inconsistent training or excessive randomness in the algorithms. We thus raise a warning when deciding which tools to use, and we call for better training and algorithm development, to cover such significant gap in a highly sensitive matter for democracy and societies worldwide. We also call for community engagement in benchmark evaluation, through our open initiative navai.pro.
[ -0.2595982849597931, -0.6474288702011108, 0.8576456308364868, 0.14454129338264465, -0.23685093224048615, 0.28032419085502625, -0.47443050146102905, -0.323741614818573, 0.2567507326602936, 0.3095799684524536, -0.3503539562225342, -0.2995736598968506, -0.9775979518890381, -0.012984352186322212, -0.39711347222328186, 0.7800427079200745, 0.07088994234800339, 0.33801451325416565, -0.1423853039741516, -0.2561987042427063, -0.02738947980105877, -0.6991233229637146, -0.5219352841377258, -0.4039945602416992, 0.41116008162498474, 0.18387146294116974, 0.8190411925315857, 0.35156330466270447, 0.5763442516326904, 0.323621541261673, -0.18984317779541016, 0.04836384579539299, -0.5624314546585083, -0.027081137523055077, -0.1947343945503235, -0.5506761074066162, -0.19608618319034576, 0.37274113297462463, 0.43577563762664795, 0.5558832883834839, -0.033151932060718536, 0.25995755195617676, 0.061464790254831314, 0.9380373954772949, -0.48460277915000916, 0.0959918275475502, -0.7730959057807922, -0.11461906135082245, -0.2537674307823181, 0.02615627646446228, -0.3612591624259949, -0.5366781949996948, 0.19636735320091248, -0.14387664198875427, -0.016185065731406212, -0.15085014700889587, 0.9131865501403809, -0.00749913789331913, -0.7689061760902405, -0.4717668294906616, -0.6839208006858826, 0.7331258058547974, -0.7068849802017212, 0.27541154623031616, 0.09689364582300186, 0.2338075190782547, -0.34027358889579773, -0.20633579790592194, -0.6994443535804749, -0.06518734991550446, 0.3259344696998596, 0.3101448118686676, 0.011162719689309597, -0.1779930293560028, -0.008811073377728462, 0.20013684034347534, -0.3819873332977295, 0.3030531406402588, -0.15828540921211243, -0.12186985462903976, 0.5900639891624451, -0.026158204302191734, -0.10548427700996399, -0.4898862838745117, -0.32571572065353394, -0.09422194212675095, -0.6917996406555176, 0.06908977031707764, 0.9721125364303589, 0.3521849513053894, -0.1041073352098465, 0.8238427042961121, -0.10643570125102997, 0.5825232267379761, 0.39034348726272583, -0.1780991107225418, 0.25354278087615967, -0.18331222236156464, -0.1310248225927353, 0.0008368233684450388, 1.0033971071243286, 0.5362281799316406, 0.2979765236377716, 0.2590419352054596, -0.3446492552757263, 0.18132135272026062, 0.17562325298786163, -0.45476341247558594, 0.046261776238679886, 0.2787667512893677, -0.45546022057533264, -0.4407843053340912, 0.4057452380657196, -0.5836561322212219, -0.8454436659812927, -0.3193250596523285, 0.20613569021224976, 0.12606610357761383, -0.3866473138332367, 0.204141303896904, 0.11534760892391205, 0.38810282945632935, 0.5310662984848022, -0.8073982000350952, -0.11775260418653488, 1.2321901321411133, 0.7458436489105225, -0.19437932968139648, 0.09249124675989151, -0.31260615587234497, -0.1554756909608841, -0.44739624857902527, 0.7557530403137207, -0.586660623550415, -0.11574523895978928, 0.3202289640903473, -0.056132011115550995, 0.10121647268533707, -0.5025761723518372, 0.43064117431640625, -0.5857959389686584, 0.6845765113830566, -0.3396155834197998, -0.6010228395462036, -0.06158198043704033, 0.6372460722923279, -0.7324011921882629, 1.0367026329040527, 0.21021726727485657, -0.8533934354782104, 0.5019747614860535, -0.24624621868133545, 0.007314738817512989, -0.46532177925109863, -0.39722195267677307, -0.4064173996448517, 0.16555346548557281, 0.3538336455821991, 0.33830952644348145, -0.027705810964107513, 0.49278831481933594, -0.3670818507671356, -0.0864267349243164, 0.5168555378913879, -0.5626229643821716, 0.9232349395751953, -0.030517948791384697, -0.3171892464160919, 0.21036329865455627, -0.5279596447944641, -0.3384149968624115, -0.13137602806091309, -0.42201077938079834, -0.25615233182907104, 0.031139567494392395, 0.11326618492603302, 0.32765305042266846, 0.38740840554237366, -0.6009434461593628, 0.38815581798553467, -0.40968331694602966, 0.3631950318813324, 0.9584716558456421, -0.16661067306995392, 0.5090144276618958, -0.3891732096672058, 0.5657902359962463, 0.05963893234729767, 0.22724321484565735, 0.20038536190986633, -0.4664689302444458, -0.6366340517997742, 0.06455057114362717, 0.37936893105506897, 0.5721765160560608, -0.43257859349250793, 0.42456552386283875, -0.2987469732761383, -0.5260634422302246, -0.5094852447509766, 0.015837162733078003, 0.119545578956604, 0.2989352345466614, -0.21940657496452332, -0.2996700704097748, -0.43854865431785583, -0.8247021436691284, -0.380742609500885, -0.49021586775779724, 0.07122612744569778, 0.08028731495141983, 0.3603961765766144, -0.024987375363707542, 0.8624398708343506, 0.034056443721055984, -0.006617595907300711, -0.12061920017004013, 0.11968926340341568, 0.4459289014339447, -0.09772936254739761, 0.319650799036026, -0.9861811399459839, -0.4677477478981018, -0.0932600200176239, -0.47344139218330383, -0.16251277923583984, -0.16751517355442047, 0.32780784368515015, 0.6064930558204651, 0.4361061155796051, -0.6902726888656616, 0.19607700407505035, 0.9930880069732666, -0.14558668434619904, 0.4307560622692108, -0.01914226822555065, 0.31463947892189026, -1.1087868213653564, -0.20539629459381104, 0.11006671190261841, -0.4222964942455292, -0.5250908136367798, -0.14537963271141052, 0.033872537314891815, 0.17148001492023468, -0.5507171750068665, 0.49927350878715515, -0.4746049642562866, -0.08736882358789444, -0.36311131715774536, 0.4800998568534851, -0.09298980981111526, -0.020075049251317978, 0.03177999332547188, 0.6149172782897949, 0.2952287197113037, -0.05539381504058838, 0.31756067276000977, 0.0066102035343647, -0.8725180625915527, 0.49778681993484497, -0.33407726883888245, 0.3646376430988312, -0.2962080240249634, 0.2907731831073761, -1.268871784210205, -0.21326513588428497, 0.21854077279567719, -0.43830546736717224, 0.09851726144552231, -0.09234501421451569, -0.5835630893707275, -0.2602250277996063, -0.29395946860313416, 0.0715908631682396, 0.2648361325263977, -0.40523242950439453, 0.4120079576969147, 0.6407673954963684, -0.20005330443382263, -0.8983113765716553, -0.41726335883140564, 0.16359193623065948, -0.2565767467021942, -0.6074033975601196, -0.18986326456069946, 0.332133024930954, -0.526676595211029, -0.0721093937754631, -0.3254147171974182, 0.037114497274160385, 0.006559721194207668, 0.26179420948028564, 0.12673410773277283, -0.29610899090766907, 0.1448957473039627, -0.46814045310020447, -0.15911173820495605, 0.07815194875001907, 0.004610889591276646, 0.6844987869262695, -0.1227690652012825, -0.540232241153717, -0.44932475686073303, 0.2073058784008026, 0.8682622313499451, -0.2448902726173401, 0.6996354460716248, 0.41985374689102173, -0.07757967710494995, 0.1714707911014557, -0.8343133330345154, -0.03055242821574211, -0.4690842628479004, 0.42349478602409363, 0.015466006472706795, -0.9257345199584961, 0.4885573089122772, -0.03586871922016144, 0.07023577392101288, 0.3647344410419464, 0.9060834050178528, -0.02102595381438732, 1.0113661289215088, 0.6983141899108887, -0.5535219311714172, 0.47743430733680725, 0.16926322877407074, 0.433799684047699, -0.30182668566703796, -0.2730603814125061, -0.8066100478172302, -0.35075250267982483, -0.6848952770233154, -0.2881045341491699, 0.41065841913223267, -0.22018980979919434, -0.2007751315832138, -0.06143093481659889, -0.5315059423446655, 0.5350723266601562, 0.17227891087532043, -0.12879057228565216, 0.3249508738517761, -0.03764171153306961, 0.45619165897369385, -0.07190754264593124, -0.47823575139045715, -0.8581485152244568, 0.9507399201393127, 0.40509453415870667, 0.8745190501213074, -0.01562982238829136, 0.6175763607025146, -0.027503184974193573, 0.6223287582397461, -0.8792937994003296, 0.411081999540329, -0.09986428171396255, -0.730204164981842, -0.3099704086780548, -0.2978692650794983, -0.7780452966690063, 0.22850683331489563, -0.33198800683021545, -0.5977202653884888, 0.1741274744272232, -0.2381201535463333, -0.07272162288427353, 0.46586155891418457, -0.41700151562690735, 0.5560094714164734, -0.32779449224472046, -0.03651631250977516, -0.06398988515138626, -0.47722750902175903, 0.20187832415103912, -0.11206460744142532, 0.49077126383781433, -0.31696340441703796, -0.15421907603740692, 0.640282392501831, -0.017170902341604233, 0.7998957633972168, -0.20012784004211426, -0.4398428201675415, 0.12534472346305847, -0.2082500010728836, 0.28656721115112305, 0.017340581864118576, -0.34580639004707336, 0.16417624056339264, -0.07762417197227478, -0.2060960829257965, -0.47529101371765137, 0.6290499567985535, -0.9948867559432983, -0.9388969540596008, -0.569030225276947, -0.5666319727897644, -0.16300572454929352, 0.12780678272247314, 0.3241865038871765, 0.21464323997497559, -0.2847263813018799, 0.4237958788871765, 0.5510206818580627, 0.1362948715686798, 0.25572332739830017, 0.2829298675060272, -0.47979840636253357, -0.15945512056350708, 0.3343421518802643, 0.2185831516981125, 0.21199271082878113, 0.42797189950942993, 0.3090416491031647, -0.35159578919410706, -0.4834921061992645, -0.29336491227149963, 0.09213525056838989, -0.650739312171936, -0.08304465562105179, -0.3888818919658661, -0.00975728128105402, -0.34615465998649597, -0.20137085020542145, -0.6092892289161682, -0.4882800877094269, -0.06671499460935593, 0.01410539448261261, 0.17777319252490997, 0.7421802878379822, 0.1141572818160057, 0.3934067189693451, -0.47251272201538086, 0.19729268550872803, 0.1303524225950241, 0.23816260695457458, -0.35604387521743774, -0.4273475110530853, -0.03481851890683174, 0.17675979435443878, -0.28834015130996704, -1.0937694311141968, 0.0753624439239502, -0.28268375992774963, 0.4812343716621399, 0.5830236077308655, 0.016941960901021957, 0.24892762303352356, -0.4386199116706848, 0.8785632252693176, 0.08823559433221817, -0.7374517321586609, 0.2248101532459259, -0.553882896900177, 0.11691052466630936, 0.7722890973091125, 0.6645073890686035, -0.5129130482673645, -0.7911715507507324, -0.5037612915039062, -0.5651581287384033, 0.3437228500843048, -0.1732277274131775, 0.42085763812065125, -0.07890935242176056, 0.42038092017173767, 0.18089185655117035, 0.2920345664024353, -0.9462366700172424, 0.021528128534555435, -0.09486697614192963, -0.27902981638908386, -0.15647532045841217, -0.2826979160308838, -0.2915004789829254, -0.01896662451326847, 0.4738309979438782, 0.0016734976088628173, 0.10788256675004959, 0.19701890647411346, 0.13231642544269562, -0.32370075583457947, 0.41372957825660706, 0.47419023513793945, 1.050700068473816, -0.15531006455421448, 0.11552022397518158, -0.344996839761734, -0.33663102984428406, 0.37654176354408264, -0.2922500967979431, -0.18243525922298431, 0.1923844963312149, 0.2513236999511719, 0.4247535467147827, -0.07294946163892746, -0.3211931586265564, 0.9077333807945251, -0.022680215537548065, -0.22886598110198975, -0.45417097210884094, -0.11372167617082596, 0.34542733430862427, 0.30970409512519836, 0.24435999989509583, -0.08868039399385452, -0.22060289978981018, -0.934004545211792, -0.13693246245384216, 0.8192104697227478, -0.3630240559577942, -0.1927189826965332, 0.3913593590259552, 0.24580280482769012, -0.5496269464492798, 0.4812941253185272, -0.06235526502132416, -0.8361032605171204, 0.6645426750183105, 0.2642366886138916, 0.680546224117279, -0.2928254306316376, 0.35328173637390137, -0.03473665937781334, 0.5244497656822205, -0.30104249715805054, 0.2558479309082031, 0.42802894115448, -0.8843594193458557, -0.41384556889533997, -0.19854089617729187, -0.6186875104904175, 0.22034680843353271, -0.6660693287849426, 0.35606297850608826, -0.467041939496994, -0.40757250785827637, 0.036644574254751205, 0.41905608773231506, -0.4044167399406433, -0.1256350874900818, 0.3232699930667877, 0.8903538584709167, -1.046366810798645, 0.7457598447799683, 0.6987142562866211, 0.21726468205451965, -0.4515152871608734, 0.23675474524497986, 0.405526340007782, -0.6686767339706421, 0.36105844378471375, 0.3788323700428009, -0.16051560640335083, -0.54798823595047, -0.7503817677497864, -0.5128944516181946, 0.6623170375823975, 0.37738168239593506, -0.8190036416053772, 0.0423893928527832, 0.2722993791103363, 0.487541139125824, -0.4122871160507202, 0.3099404275417328, 0.32257944345474243, 0.6541478633880615, -0.3148235082626343, -1.0143309831619263, -0.25146520137786865, 0.16114197671413422, -0.2032044380903244, 0.34697839617729187, -1.028586745262146, 0.9181941151618958, 0.04016341269016266, -0.21497909724712372, 0.03343873843550682, 0.519589364528656, 0.020414188504219055, 0.36734044551849365, 0.6221305727958679, 0.28879445791244507, 0.870668888092041, -0.09829682111740112, 1.0484397411346436, -0.26192453503608704, 0.4768863618373871, 0.7995593547821045, -0.3884199857711792, 0.8648926615715027, 0.6177670359611511, 0.027676252648234367, 0.3989945650100708, 0.6132461428642273, 0.005305406171828508, 0.48397183418273926, 0.14650467038154602, -0.25780171155929565, -0.17253725230693817, 0.14542533457279205, -0.16432437300682068, 0.6788279414176941, 0.4098697900772095, -0.0967954620718956, -0.29562366008758545, -0.036944787949323654, 0.23895709216594696, 0.476295530796051, -0.3023953139781952, 0.5287976861000061, 0.055440738797187805, -0.6884526610374451, 0.09629485011100769, 0.11327061802148819, 0.7375226020812988, -0.3938119113445282, 0.3853103816509247, -0.22192895412445068, 0.06017718464136124, -0.23955608904361725, -1.087231993675232, 0.18290461599826813, -0.06393115222454071, -0.17226450145244598, -0.20822979509830475, 0.5768516063690186, -0.31017836928367615, -0.4175354838371277, 0.12581497430801392, 0.8201441764831543, -0.04035016894340515, -0.029330691322684288, -0.6503548622131348, 0.33179259300231934, -0.04760242626070976, -0.6031935214996338, 0.35690513253211975, 0.6056368350982666, -0.12506017088890076, 0.48526981472969055, 0.5215462446212769, 0.07232131063938141, -0.15772122144699097, 0.004970235284417868, 0.7593603134155273, -0.33894082903862, -0.3802289664745331, -0.8962985277175903, 0.05238337442278862, -0.09193336963653564, -0.3615686297416687, 0.8315407633781433, 0.5664681792259216, 0.9096842408180237, 0.0817895457148552, 0.6495325565338135, 0.1092875674366951, 0.4195271134376526, -0.6006209850311279, 0.769356906414032, -0.2643979787826538, 0.06131570041179657, -0.1834142655134201, -1.1390643119812012, -0.3191564083099365, 0.7324418425559998, -0.6503075957298279, 0.044951144605875015, 0.47960901260375977, 0.9066972732543945, -0.07062770426273346, -0.00424550985917449, -0.0036814550403505564, 0.13552631437778473, 0.39511439204216003, 0.5131999254226685, 1.2014646530151367, -0.04000062495470047, 0.3582310378551483, -0.22236374020576477, -0.15745705366134644, -0.13343553245067596, -1.118963599205017, -0.9452275633811951, -0.5843406319618225, -0.28867286443710327, -0.4741765856742859, 0.025816427543759346, 0.8329899311065674, 0.6753852367401123, -0.4741400480270386, -0.3845560550689697, 0.332560658454895, 0.15874116122722626, 0.0779077559709549, -0.17576833069324493, 0.4849961996078491, 0.0026010042056441307, -0.8991037011146545, -0.005202630069106817, 0.27037519216537476, -0.20404037833213806, -0.6427331566810608, 0.22663769125938416, -0.21685044467449188, 0.1625729650259018, 0.43902626633644104, 0.1938522458076477, -0.8349190950393677, -0.7177965641021729, 0.002256335224956274, -0.48240604996681213, 0.3908487558364868, 0.9386203289031982, -0.5883476734161377, 0.3550434410572052, 0.5634799599647522, 0.5998216271400452, 0.2863523066043854, 0.1730518639087677, 0.25020837783813477, -0.5165772438049316, 0.37146252393722534, 0.2635812759399414, 0.10698947310447693, 0.630867600440979, -0.3222530484199524, 0.31010475754737854, -0.10010586678981781, -0.7330605387687683, -0.7054789662361145, 0.1854323148727417, -1.1522963047027588, -0.13323824107646942, 1.3776192665100098, 0.17370140552520752, -0.34131020307540894, -0.04788399115204811, -0.18491709232330322, 0.07888258993625641, -0.3275345265865326, 0.9965181350708008, 1.0334525108337402, -0.004405476152896881, -0.202065110206604, -0.7668446898460388, 0.1865074634552002, 0.2559748589992523, -0.576513409614563, -0.0021036292891949415, 0.4171850383281708, 0.3250870406627655, 0.2695585787296295, 0.8164864778518677, -0.2947160303592682, 0.03737936168909073, -0.3003876805305481, -0.28875213861465454, 0.155723437666893, -0.29865169525146484, -0.6226875185966492, 0.1331527978181839, 0.08428220450878143, 0.04732593148946762 ]
http://arxiv.org/abs/2405.14213v1
http://arxiv.org/pdf/2405.14213v1
From Text to Pixel: Advancing Long-Context Understanding in MLLMs
2024-05-23T06:17:23
2024-05-23T06:17:23
Yujie Lu, Xiujun Li, Tsu-Jui Fu, Miguel Eckstein, William Yang Wang
cs.CV
cs.CV, cs.CL
The rapid progress in Multimodal Large Language Models (MLLMs) has significantly advanced their ability to process and understand complex visual and textual information. However, the integration of multiple images and extensive textual contexts remains a challenge due to the inherent limitation of the models' capacity to handle long input sequences efficiently. In this paper, we introduce SEEKER, a multimodal large language model designed to tackle this issue. SEEKER aims to optimize the compact encoding of long text by compressing the text sequence into the visual pixel space via images, enabling the model to handle long text within a fixed token-length budget efficiently. Our empirical experiments on six long-context multimodal tasks demonstrate that SEEKER can leverage fewer image tokens to convey the same amount of textual information compared with the OCR-based approach, and is more efficient in understanding long-form multimodal input and generating long-form textual output, outperforming all existing proprietary and open-source MLLMs by large margins.
[ -0.3978608250617981, -0.7476373314857483, 0.9264653921127319, 0.13303512334823608, -0.20727217197418213, -0.17027941346168518, -0.47758930921554565, -0.4850272536277771, 0.06763622909784317, 0.3371005654335022, -0.5682592988014221, -0.3834082782268524, -0.8789093494415283, -0.023860106244683266, -0.5419453382492065, 0.6964208483695984, -0.12584523856639862, -0.35296866297721863, 0.05396398901939392, -0.13795426487922668, -0.567359209060669, -0.6081651449203491, -0.4404957592487335, 0.16139847040176392, 0.9932010769844055, 0.12025944888591766, 0.8136543035507202, 0.4157451391220093, 0.6028216481208801, 0.29918232560157776, 0.03782326728105545, 0.32384273409843445, -0.6189161539077759, 0.2408338189125061, -0.3727491796016693, -0.12382450699806213, -0.17142976820468903, -0.30059921741485596, 0.9880049228668213, 0.4544416666030884, 0.06504268199205399, 0.1832742542028427, -0.020006893202662468, 0.5551905035972595, -0.8907497525215149, -0.0005347367841750383, -0.3779377341270447, 0.02337368205189705, -0.28857871890068054, -0.3895677924156189, -0.8314148783683777, 0.2077576071023941, 0.035557109862565994, -0.48520779609680176, 0.15923553705215454, 0.06612823903560638, 0.5892210602760315, 0.1145021840929985, -0.8776528835296631, -0.37952178716659546, -0.5334343910217285, 1.048137903213501, -0.1830199509859085, 0.5762273669242859, 0.4091842472553253, 0.5154318809509277, -0.22924543917179108, -0.9401721358299255, -0.7324838042259216, 0.23163823783397675, -0.15012076497077942, -0.11232096701860428, -0.05581198260188103, -0.04468943178653717, 0.08568311482667923, 0.06379038840532303, -0.5956044793128967, -0.008894288912415504, -0.31304898858070374, -0.19003191590309143, 0.49852094054222107, 0.06818922609090805, 0.3160563111305237, -0.4191091060638428, -0.6787907481193542, -0.12876668572425842, -0.35699114203453064, 0.07181250303983688, -0.2870407998561859, 0.44332176446914673, -0.04786597564816475, 0.78838050365448, 0.11924637109041214, 0.7680431008338928, -0.2957094609737396, -0.06864653527736664, -0.009534759446978569, -0.577847421169281, -0.20185978710651398, -0.08607789129018784, 0.6380852460861206, 0.67408686876297, -0.14669284224510193, -0.04979546740651131, -0.3376716077327728, -0.05312860384583473, 0.1810332089662552, -1.1160379648208618, 0.30797088146209717, 0.27934494614601135, -0.8363307118415833, 0.26494118571281433, -0.09259139746427536, -1.1231622695922852, -0.6112978458404541, -0.26901209354400635, 0.49999353289604187, -0.35877248644828796, -0.16328755021095276, 0.2806631028652191, -0.2675076127052307, 0.39182960987091064, 0.527216911315918, -0.777845025062561, -0.22273646295070648, 0.5727941393852234, 1.1262352466583252, -0.06669563055038452, -0.45673608779907227, -0.9991058111190796, 0.198179230093956, -0.33520424365997314, 0.6195438504219055, -0.6327997446060181, -0.4815566837787628, 0.26046404242515564, 0.015947967767715454, -0.13461026549339294, -0.035258714109659195, 0.5844376683235168, -0.750382661819458, 0.21672050654888153, -0.047942835837602615, -0.39371734857559204, -0.10764992237091064, 0.40167349576950073, -0.7530436515808105, 0.897247314453125, 0.04967355728149414, -0.486554354429245, 0.489732563495636, -0.8570736646652222, -0.2001114785671234, 0.10515861213207245, -0.18937790393829346, -0.12325941026210785, 0.3262588679790497, 0.5558112263679504, 0.7889875769615173, -0.15004530549049377, 0.39034363627433777, -0.15174145996570587, -0.7103714346885681, 0.34495270252227783, -0.5160210132598877, 0.31242889165878296, 0.3508230745792389, -0.1961575150489807, 0.31003230810165405, -0.4257253110408783, 0.05283771827816963, 0.1628579944372177, -0.5587789416313171, -0.15474483370780945, 0.2592799961566925, 0.6716717481613159, 0.22768379747867584, 0.2700027823448181, -0.49502885341644287, 0.27051591873168945, 0.07461240887641907, 0.5211198925971985, 0.7358676195144653, -0.4300510585308075, 0.6165370345115662, -0.03185971453785896, 0.3200724124908447, -0.09151504933834076, 0.15471792221069336, -0.9972677230834961, -0.3316434919834137, -0.6379715800285339, -0.6349418759346008, 0.07023400068283081, 0.03151702508330345, -1.0849007368087769, 0.249312624335289, -0.7144647836685181, -0.15953336656093597, -0.4608411192893982, 0.07486005127429962, 0.18167644739151, 0.177276149392128, 0.4568593204021454, -0.1647842973470688, -0.3219441771507263, -0.6652610301971436, -0.1815793812274933, 0.2704550623893738, 0.011415463872253895, 0.4263814389705658, 0.6324329376220703, -0.7484133839607239, 1.036794900894165, -0.5586527585983276, -0.3650299906730652, -0.29897210001945496, 0.14332394301891327, 0.2884063720703125, 0.3267506957054138, 0.620821475982666, -1.1649738550186157, -0.48466771841049194, 0.12726891040802002, -0.558095395565033, 0.505952775478363, -0.27263355255126953, -0.22742488980293274, 0.3553195595741272, 0.5740681886672974, -0.8088896870613098, 0.767436146736145, 0.6871953010559082, -0.8361733555793762, 0.2741037905216217, -0.22850647568702698, 0.24975092709064484, -1.074772834777832, 0.2742227017879486, 0.09044096618890762, -0.538341760635376, -0.5905765891075134, 0.600020706653595, 0.5300940275192261, -0.44666486978530884, -0.5080991387367249, 0.9245315790176392, -0.48015254735946655, -0.033427923917770386, -0.39876487851142883, 0.32374444603919983, 0.33132511377334595, 0.36026161909103394, 0.25723952054977417, 0.9248284101486206, 0.5173941850662231, -0.40246373414993286, 0.5303950905799866, 0.24122647941112518, -0.7172690033912659, 0.5428303480148315, -0.37527498602867126, 0.12484467029571533, -0.6376522183418274, 0.5444583296775818, -0.9714677333831787, -0.4356669485569, -0.04029599577188492, -0.4054659307003021, 0.4176948666572571, -0.2097359448671341, -0.7437954545021057, -0.344744473695755, -0.29532966017723083, 0.8744148015975952, 0.35341864824295044, -0.9144687056541443, 0.8068994879722595, -0.010347828269004822, -0.05080089718103409, -0.6767048835754395, -0.6181095838546753, 0.5567998886108398, 0.030964339151978493, -0.5232633948326111, 0.3184487223625183, -0.032194819301366806, 0.13220162689685822, -0.2471376657485962, 0.3769224286079407, -0.08782899379730225, -0.18529149889945984, 0.0502762608230114, 0.1822933405637741, -0.2202116698026657, 0.7189737558364868, -0.16450822353363037, -0.12928332388401031, -0.16642822325229645, -0.14843350648880005, 0.8644907474517822, -0.0367005318403244, -0.4290328323841095, -0.400145560503006, 0.9066265225410461, 0.7270162105560303, -0.41075655817985535, 0.9773587584495544, 0.8487042784690857, -0.28155654668807983, -0.1748552769422531, -0.38509002327919006, 0.1086355671286583, -0.4663802683353424, 0.8578530550003052, -0.5576868057250977, -0.7138267755508423, 0.16584257781505585, -0.01737828738987446, 0.03502878546714783, 0.33827707171440125, 0.3907507658004761, -0.17306679487228394, 1.0277984142303467, 0.9173434376716614, 0.04764599725604057, 0.48256075382232666, -0.13102929294109344, 0.28714635968208313, -0.8829878568649292, -0.3908746838569641, -0.38494572043418884, -0.3956390619277954, -0.17194679379463196, -1.012197732925415, 0.22796998918056488, -0.09092526137828827, -0.17382028698921204, 0.13855989277362823, -0.45474517345428467, 0.5685738921165466, 0.4430682063102722, 0.3398541808128357, 0.07521963864564896, 0.011711101047694683, 0.2506150007247925, -0.07123731076717377, -0.46612146496772766, -0.45057570934295654, 0.9771966338157654, 0.5119714736938477, 0.7803625464439392, 0.4466949999332428, 0.37115591764450073, 0.10623239725828171, 0.18841108679771423, -1.1100727319717407, 0.5431740880012512, -0.15833835303783417, -0.6865829825401306, -0.2077590376138687, -0.2287251055240631, -0.9908050298690796, 0.42540937662124634, -0.25496408343315125, -0.7551386952400208, 0.22230079770088196, -0.1930381953716278, -0.19294840097427368, 0.3640827238559723, -0.7198895215988159, 0.8505892157554626, -0.28667041659355164, -0.5554438829421997, -0.19200627505779266, -0.5721938610076904, 0.09944935142993927, -0.2815690338611603, 0.427252858877182, 0.05094136670231819, -0.3481100797653198, 0.46575790643692017, -0.08089161664247513, 0.7521993517875671, -0.18286843597888947, -0.2759874761104584, 0.15289805829524994, 0.029763419181108475, 0.37917160987854004, -0.22412361204624176, -0.2142234891653061, -0.14699885249137878, 0.08310023695230484, -0.7058383822441101, -0.6046470403671265, 0.5571469664573669, -0.43100443482398987, -0.17603330314159393, -0.3327822983264923, -0.6424708366394043, 0.07421299070119858, 0.3111621141433716, 0.1447879523038864, 0.7867729067802429, -0.0021723012905567884, 0.47182247042655945, 0.4443799555301666, -0.5941874384880066, 0.905570924282074, -0.1085745096206665, -0.8468500375747681, -0.3266001045703888, 0.6440669298171997, -0.29145848751068115, 0.06662505120038986, 0.40137574076652527, -0.09201490879058838, -0.7367694973945618, -0.318874716758728, -0.6275879740715027, 0.1587790697813034, -1.0173213481903076, -0.19302521646022797, -0.5237960815429688, -0.0672900453209877, -0.2256823033094406, -0.38060465455055237, -0.1760253608226776, 0.14818060398101807, -0.3438647985458374, 0.3155706524848938, 0.16088153421878815, 0.5698010325431824, 0.48528623580932617, 0.5162255167961121, -1.0134048461914062, 0.4290819466114044, 0.2388346642255783, 0.6004435420036316, 0.1599016636610031, -0.5550445318222046, -0.3464581072330475, 0.16684070229530334, -0.04721314460039139, -0.6722708344459534, 0.4657520353794098, 0.42591625452041626, 0.14993233978748322, 0.5137667059898376, -0.14780309796333313, 1.1518248319625854, -0.6190698146820068, 0.9276220798492432, 0.6148785948753357, -1.0368727445602417, 0.5681598782539368, -0.41987329721450806, 0.6347796320915222, 0.23933377861976624, 0.2134208083152771, -0.7978271842002869, 0.294575959444046, 0.21240955591201782, -0.729119062423706, 0.4993683397769928, 0.04630088433623314, 0.5547627210617065, -0.08350707590579987, 0.2753496766090393, 0.07564468681812286, 0.0948692113161087, -1.0485529899597168, 0.2977277338504791, -0.13079644739627838, -0.4342513382434845, -0.5796690583229065, -0.5689621567726135, -0.106270432472229, -0.12842851877212524, 0.1262301653623581, -0.45369866490364075, 0.37360379099845886, 0.3028339147567749, -0.53990238904953, 0.17398996651172638, 0.34664469957351685, 0.6127516627311707, 0.6365073919296265, -0.12921617925167084, 0.32701098918914795, -0.26323258876800537, -0.3725228011608124, -0.13001912832260132, -0.036502353847026825, 0.30276763439178467, 0.11055786162614822, 0.5730993151664734, 0.7691501379013062, 0.08891592174768448, -1.0354032516479492, 0.8959487080574036, -0.1623408943414688, -0.15381398797035217, -0.07693271338939667, -0.32734981179237366, -0.18616947531700134, 0.3796679377555847, 0.6605952382087708, -0.0509561225771904, 0.11140456050634384, -0.8257284164428711, 0.1668342649936676, 0.5823020935058594, -0.31821489334106445, -0.06747093796730042, 0.44149184226989746, 0.28561165928840637, -0.29766255617141724, 0.7441762685775757, 0.11902660131454468, -0.46066805720329285, 0.30825573205947876, 0.7485856413841248, 0.4881049394607544, 0.20729532837867737, 0.1457577645778656, 0.28342121839523315, 0.0038036631885915995, -0.00996523816138506, 0.07916227728128433, -0.302542507648468, -0.34793075919151306, -0.7423701286315918, -0.750407338142395, 0.058606382459402084, -0.24809184670448303, -0.3832610845565796, 0.31133395433425903, -0.1502687633037567, -0.4279598295688629, -0.11152739822864532, -0.19134317338466644, -0.6720253229141235, 0.10210419446229935, 0.3672831356525421, 0.9651070237159729, -0.31587252020835876, 0.701846182346344, 0.35648205876350403, -0.04592930153012276, -0.40258508920669556, -0.1563461869955063, -0.1898553967475891, -0.7952299118041992, 0.8718478083610535, 0.8409645557403564, -0.242950901389122, -0.0741601213812828, -0.5411601066589355, -0.8397591710090637, 1.0179243087768555, 0.01922544836997986, -0.6550498604774475, -0.10090113431215286, 0.08966609835624695, 0.32821956276893616, -0.19001911580562592, 0.2280474454164505, 0.11797884851694107, 0.523220956325531, 0.23265142738819122, -0.9602541923522949, -0.03178177401423454, -0.26653194427490234, 0.14912953972816467, 0.6381370425224304, -0.3033468723297119, 0.71415776014328, -0.2741234004497528, -0.4968832731246948, 0.47784870862960815, 0.42814919352531433, -0.05449177697300911, 0.49828723073005676, 0.3499186038970947, 0.2774737477302551, 0.5570945143699646, -0.06494127959012985, 1.1006687879562378, 0.0755191445350647, 0.5091448426246643, 0.9883660078048706, -0.2607858180999756, 1.2504616975784302, 0.7505248188972473, 0.1065187007188797, 0.4229634702205658, 0.5398078560829163, 0.08807391673326492, 0.4893202781677246, -0.014608439989387989, -0.5113851428031921, -0.22448591887950897, -0.11050943285226822, -0.287543922662735, 0.5957501530647278, 0.3657781481742859, -0.5872951149940491, -0.3030787706375122, 0.4304578900337219, -0.24107077717781067, 0.22896839678287506, -0.5970679521560669, 0.6143879294395447, -0.11687655001878738, -0.7646135687828064, 0.48834869265556335, 0.1489090919494629, 0.9460319876670837, -0.5402352809906006, 0.07481047511100769, 0.15904444456100464, 0.40482765436172485, -0.07550612837076187, -1.0697253942489624, 0.17604440450668335, 0.032882243394851685, -0.1935020387172699, -0.5458385944366455, 0.7233765125274658, -0.48014670610427856, -0.6139730215072632, 0.4078886806964874, 0.30608299374580383, 0.01591576263308525, -0.3567892611026764, -0.383345365524292, 0.3617134094238281, -0.2656315863132477, -0.1674816757440567, 0.25035518407821655, 0.4139270484447479, 0.18049101531505585, 0.6905816197395325, 0.6376424431800842, -0.2183225303888321, 0.17545770108699799, -0.12665198743343353, 0.7733055353164673, -0.9079775214195251, -0.35581454634666443, -1.1092277765274048, 0.7640994191169739, -0.13147129118442535, -0.10933859646320343, 0.5450542569160461, 0.5614781975746155, 0.3275153338909149, -0.16402293741703033, 0.39861050248146057, 0.05561642348766327, 0.1424919068813324, -0.7217086553573608, 0.8045727014541626, -0.8618898987770081, -0.23247851431369781, -0.08476211875677109, -0.9150818586349487, -0.534776508808136, 0.5072460770606995, -0.12062711268663406, -0.0825553685426712, 0.5568636059761047, 0.5979627966880798, -0.22433294355869293, -0.328840970993042, 0.41162991523742676, -0.19982366263866425, 0.5040445923805237, 0.7569326758384705, 1.0653064250946045, -0.4921562969684601, 0.5735641717910767, 0.27414005994796753, -0.15081439912319183, -0.27817657589912415, -1.0190448760986328, -1.0171668529510498, -0.8282919526100159, 0.2791295051574707, -0.13720479607582092, -0.21848036348819733, 0.8391844034194946, 0.9318125247955322, -0.125626340508461, -0.07434677332639694, 0.24684354662895203, -0.06685338169336319, 0.3292609453201294, -0.2000875324010849, 0.5177857875823975, -0.4079062342643738, -0.9165335893630981, 0.2745456099510193, 0.3834727704524994, 0.11828945577144623, -0.15706515312194824, -0.14876648783683777, -0.2860212028026581, 0.07413826882839203, 1.2290703058242798, -0.0541297048330307, -0.751642644405365, -0.3469008803367615, 0.11223125457763672, -0.19826902449131012, 0.1258537620306015, 0.7404253482818604, -0.8272131681442261, 0.849449872970581, 0.13182392716407776, 0.7477573156356812, 0.5347837805747986, -0.1415652334690094, 0.47758719325065613, -0.7470005750656128, 0.42113497853279114, 0.07511425763368607, 0.51775062084198, 0.2588101923465729, -0.23880456387996674, 0.23472578823566437, -0.32261088490486145, -0.42802897095680237, -0.9152527451515198, 0.35753026604652405, -1.163361668586731, -0.710348904132843, 1.2088040113449097, -0.0006477792048826814, -0.2571617364883423, 0.17509891092777252, -0.6302939057350159, -0.06606382131576538, -0.2015122026205063, 0.5688557624816895, 0.7195082306861877, 0.3307912051677704, -0.4645317494869232, -0.4486997723579407, 0.09933767467737198, 0.3053762912750244, -0.6770198941230774, 0.1109478771686554, 0.7116378545761108, -0.2875213027000427, 0.3265672028064728, 0.605360209941864, 0.030482377856969833, 0.24521766602993011, -0.17490947246551514, -0.17279769480228424, 0.19211214780807495, -0.4660227298736572, -0.36631274223327637, 0.33669817447662354, -0.010783396661281586, -0.2614883780479431 ]
http://arxiv.org/abs/2405.14212v1
http://arxiv.org/pdf/2405.14212v1
Federated Domain-Specific Knowledge Transfer on Large Language Models Using Synthetic Data
2024-05-23T06:14:35
2024-05-23T06:14:35
Haoran Li, Xinyuan Zhao, Dadi Guo, Hanlin Gu, Ziqian Zeng, Yuxing Han, Yangqiu Song, Lixin Fan, Qiang Yang
cs.CR
cs.CR, cs.CL
As large language models (LLMs) demonstrate unparalleled performance and generalization ability, LLMs are widely used and integrated into various applications. When it comes to sensitive domains, as commonly described in federated learning scenarios, directly using external LLMs on private data is strictly prohibited by stringent data security and privacy regulations. For local clients, the utilization of LLMs to improve the domain-specific small language models (SLMs), characterized by limited computational resources and domain-specific data, has attracted considerable research attention. By observing that LLMs can empower domain-specific SLMs, existing methods predominantly concentrate on leveraging the public data or LLMs to generate more data to transfer knowledge from LLMs to SLMs. However, due to the discrepancies between LLMs' generated data and clients' domain-specific data, these methods cannot yield substantial improvements in the domain-specific tasks. In this paper, we introduce a Federated Domain-specific Knowledge Transfer (FDKT) framework, which enables domain-specific knowledge transfer from LLMs to SLMs while preserving clients' data privacy. The core insight is to leverage LLMs to augment data based on domain-specific few-shot demonstrations, which are synthesized from private domain data using differential privacy. Such synthetic samples share similar data distribution with clients' private data and allow the server LLM to generate particular knowledge to improve clients' SLMs. The extensive experimental results demonstrate that the proposed FDKT framework consistently and greatly improves SLMs' task performance by around 5\% with a privacy budget of less than 10, compared to local training on private data.
[ -0.23951244354248047, -0.7195637226104736, 0.6355500221252441, 0.2675279378890991, -0.050387654453516006, 0.3500581979751587, -0.49131104350090027, -0.6222116947174072, -0.022512953728437424, 0.6674811244010925, -0.5354511737823486, -0.7807019352912903, -0.32931235432624817, 0.09329848736524582, -0.3578859567642212, 0.971166729927063, -0.17886538803577423, -0.1421196311712265, -0.447954386472702, -0.03518969193100929, -0.04545760899782181, -0.6153309345245361, -0.23765268921852112, -0.3977150022983551, 0.29800230264663696, 0.3830949664115906, 0.5279675126075745, 0.5384425520896912, 0.5875751972198486, 0.2644091546535492, 0.1655876338481903, 0.28441259264945984, -0.7852301597595215, 0.0065398793667554855, -0.44425442814826965, -0.5792554020881653, -0.6093576550483704, -0.07994034141302109, 0.7633865475654602, 0.7522459626197815, -0.0003123696951661259, 0.1311844289302826, -0.060037314891815186, 0.6435671448707581, -0.5136423110961914, 0.5507462620735168, -0.6629614233970642, 0.26090601086616516, -0.2654336094856262, 0.051802970468997955, -0.4152902662754059, -0.4241096079349518, 0.32193148136138916, -0.5844603180885315, 0.32862338423728943, -0.06038378179073334, 0.38350197672843933, 0.02786499448120594, -0.24423207342624664, 0.18774786591529846, -0.9173890948295593, 0.6847032308578491, -0.6070055365562439, 0.49335169792175293, 0.495495468378067, 0.3455860912799835, -0.13804954290390015, -0.8620216250419617, -0.5422913432121277, 0.0023472378961741924, -0.37964004278182983, -0.2955823838710785, -0.2899531424045563, 0.035209208726882935, 0.25578054785728455, 0.44314390420913696, -0.4592389166355133, 0.2502213716506958, -0.1749241054058075, -0.25613319873809814, 0.8869404196739197, 0.2742554843425751, -0.16049879789352417, 0.2845584750175476, -0.660451352596283, -0.01652451418340206, -0.9643339514732361, 0.07531451433897018, 0.2569682002067566, 0.5723598003387451, -0.2249038964509964, 0.35486915707588196, -0.6155003309249878, 0.592127799987793, 0.2738650143146515, -0.4047432243824005, 0.2789750397205353, -0.41846054792404175, -0.35527321696281433, -0.19119291007518768, 0.4863276481628418, 0.1010814979672432, 0.008582605980336666, -0.5841360688209534, -0.37455135583877563, -0.20541676878929138, -0.03698882833123207, -0.8411604166030884, -0.1448144018650055, 0.09641150385141373, -0.2646966278553009, -0.2914177477359772, -0.02092691697180271, -0.8347640037536621, -0.43227073550224304, -0.4126410186290741, 0.3187372386455536, -0.20470866560935974, -0.34076443314552307, -0.027014147490262985, 0.31207460165023804, 0.021073127165436745, 0.41556477546691895, -0.8058843016624451, 0.5601442456245422, 0.9532181620597839, 0.855190634727478, -0.5593593120574951, -0.18726560473442078, -0.6626455783843994, 0.33281344175338745, -0.01178719662129879, 0.5817685127258301, -0.43537598848342896, -0.2623029351234436, 0.3333369195461273, 0.2378067523241043, -0.06330089271068573, -0.4708711504936218, 0.043188899755477905, -0.75444495677948, 0.03358400985598564, -0.1611683964729309, -0.8093583583831787, -0.03335898369550705, 0.2069142907857895, -0.43608441948890686, 0.4390118420124054, 0.14786700904369354, -0.6241248846054077, 0.10532266646623611, -0.6039568185806274, -0.5970298647880554, 0.2713109850883484, -0.2561456859111786, -0.36465784907341003, -0.0929860770702362, 0.12732695043087006, 0.8305903673171997, -0.22706331312656403, 0.17384850978851318, -0.4539887011051178, -0.2680695950984955, 0.35953694581985474, -0.04039037972688675, 0.6266714334487915, 0.12934114038944244, -0.39448031783103943, -0.04050256311893463, -0.723490834236145, 0.0395108163356781, 0.1911597102880478, -0.2780184745788574, -0.4445885121822357, -0.5070984959602356, -0.326448529958725, 0.11536111682653427, 0.32241585850715637, -0.6287791132926941, 0.26087555289268494, -0.6443678736686707, 0.14860393106937408, 0.9454301595687866, 0.0019387592328712344, 0.989256739616394, -0.6020007729530334, 0.6686421632766724, 0.05240481346845627, 0.09869993478059769, 0.1839599907398224, -0.3451298475265503, -0.3601433038711548, -0.47318920493125916, 0.23766914010047913, 0.27693289518356323, -1.0750181674957275, 0.11569101363420486, -0.5580285787582397, -0.4165334105491638, -0.33120694756507874, 0.30606329441070557, 0.34501612186431885, 0.4256953001022339, 0.12078540772199631, -0.2692762613296509, -0.21488700807094574, -0.7758254408836365, -0.09656189382076263, 0.18952396512031555, -0.04078010097146034, 0.5042832493782043, 0.35425522923469543, -0.2571784555912018, 0.9892056584358215, -0.5400170683860779, -0.7779533863067627, -0.16581018269062042, -0.1642126888036728, -0.011449948884546757, 0.47313347458839417, 0.6603590250015259, -0.6797035336494446, -0.6974648833274841, 0.11840471625328064, -0.5145464539527893, -0.0020869204308837652, 0.044784460216760635, -0.14867031574249268, 0.43749672174453735, 0.004651973489671946, -0.6490848660469055, 0.315593957901001, 0.7942054867744446, -0.3154126703739166, 0.5585342049598694, -0.07449626177549362, -0.04875526949763298, -0.8364619612693787, 0.0031957419123500586, -0.32158780097961426, -0.5546509027481079, -0.803219199180603, 0.13808368146419525, -0.0789627805352211, -0.09055940061807632, -0.5915775895118713, 0.8279202580451965, -0.3689662218093872, -0.28654301166534424, -0.3446483910083771, 0.15015916526317596, -0.1520112007856369, 0.620306134223938, 0.07725551724433899, 0.7844964861869812, 0.648990273475647, -0.48083990812301636, 0.5281651616096497, 0.47813504934310913, -0.1990845948457718, 0.5873457789421082, -0.11682144552469254, 0.46660423278808594, 0.2998383641242981, 0.2079613357782364, -0.5008686780929565, -0.32446029782295227, 0.2211446613073349, -0.09610942006111145, 0.2832692563533783, -0.19052357971668243, -0.65103679895401, -0.0167244840413332, -0.19046828150749207, 0.19830068945884705, 0.5416809916496277, -0.7793691754341125, 0.5502133965492249, 0.4347052276134491, -0.21612437069416046, -0.6162424087524414, -0.9211698174476624, -0.12320171296596527, -0.09383700788021088, -0.8748149275779724, 0.5478577017784119, -0.06920362263917923, -0.27402982115745544, 0.0868830606341362, -0.16740263998508453, -0.27951717376708984, -0.04912814125418663, 0.42401546239852905, 0.020678697153925896, -0.3054085671901703, 0.10349802672863007, 0.14413903653621674, 0.08363689482212067, 0.1806228756904602, -0.5109451413154602, 0.30481553077697754, -0.1577579230070114, -0.3119294345378876, -0.4194079637527466, 0.30322495102882385, 0.3034549951553345, -0.11084213852882385, 1.0897036790847778, 0.5330935120582581, -0.38212651014328003, -0.8090295791625977, -0.5205609798431396, -0.506931483745575, -0.5385046601295471, -0.08871287852525711, -0.39744648337364197, -1.368812084197998, 0.6076172590255737, -0.3205156624317169, 0.12093318998813629, -0.026017826050519943, 0.6148393154144287, 0.1724519431591034, 0.7091443538665771, 0.8787784576416016, -0.13197553157806396, 0.4903196096420288, -0.3118806481361389, 0.1883678138256073, -0.4541165232658386, -0.10293173044919968, -0.15070942044258118, -0.29468727111816406, -0.44101613759994507, -0.5385326743125916, 0.12000299990177155, -0.3279505968093872, -0.08079497516155243, 0.18508027493953705, -0.1429651975631714, 0.4793785810470581, 0.39951831102371216, 0.2845427989959717, 0.6816725134849548, 0.38651543855667114, -0.21644142270088196, 0.014290605671703815, -0.730297327041626, -0.21536333858966827, 1.1627897024154663, 0.41523587703704834, 0.8592495918273926, 0.24646520614624023, 0.8388261795043945, 0.5559371113777161, 0.5704299807548523, -0.4860886037349701, 0.7411943674087524, -0.316234290599823, -0.3874378502368927, -0.18607403337955475, -0.742367684841156, -0.6167909502983093, 0.0029681266751140356, -0.12109876424074173, -0.6979074478149414, 0.36950474977493286, 0.002652264665812254, -0.3227939307689667, 0.38209035992622375, -0.5330178141593933, 0.5622365474700928, 0.0025265009608119726, -0.7429553866386414, -0.06324416399002075, -0.5225812196731567, 0.5646666884422302, -0.49066999554634094, 0.20924992859363556, -0.009492024779319763, 0.21930599212646484, 0.6673564314842224, -0.4420217275619507, 1.1091629266738892, -0.486572265625, -0.28855353593826294, 0.03136693686246872, 0.3666526973247528, 0.8281496167182922, 0.23820702731609344, 0.05407485365867615, 0.3581603765487671, -0.17225076258182526, -0.18865254521369934, -0.713431715965271, 1.007238745689392, -0.7258831858634949, -0.7635030746459961, -0.17855551838874817, -0.7513964176177979, -0.5528489947319031, 0.2123471349477768, -0.25508913397789, 0.1315969079732895, -0.008242446929216385, 0.3019368052482605, 0.5322237014770508, -0.029662109911441803, 0.1148378774523735, 1.0506702661514282, -0.28374120593070984, -0.2220006287097931, 0.8105398416519165, 0.02511180005967617, 0.4983718991279602, 0.3288637697696686, 0.017361663281917572, -0.47224748134613037, -0.6173371076583862, -0.04014477878808975, 0.43444812297821045, -0.7898763418197632, -0.6009775400161743, -0.5093379616737366, -0.3212265372276306, -0.5324255228042603, -0.2911517322063446, -0.5064812898635864, -0.5530998706817627, -0.23318986594676971, -0.33524975180625916, 0.6035251617431641, 0.43731576204299927, -0.312200129032135, 0.3185409903526306, -0.9186540842056274, 0.12244243174791336, 0.3116127848625183, 0.5577685832977295, -0.11466251313686371, -0.4427605867385864, -0.27833008766174316, 0.26190993189811707, 0.05345730483531952, -0.39758798480033875, 0.4403943121433258, 0.21453918516635895, 0.4796619713306427, 0.27281785011291504, 0.5055544376373291, 0.5277109146118164, -0.3426364064216614, 0.6406359672546387, -0.09725106507539749, -0.876861572265625, 0.2378978431224823, -0.32117241621017456, -0.07405202835798264, 0.35965868830680847, 0.2524906098842621, -0.20244981348514557, -0.6339609622955322, -0.6970301866531372, -0.5401570200920105, 1.0392423868179321, 0.35976940393447876, 0.1556430608034134, 0.5448275804519653, 0.522441029548645, 0.38372644782066345, 0.30723175406455994, -0.5479410290718079, -0.2670135200023651, 0.20396924018859863, -0.06701727956533432, 0.07188870012760162, 0.20167164504528046, -0.4777818024158478, -0.10552509874105453, 0.6716839671134949, -0.28520068526268005, 0.4458850026130676, 0.12019941210746765, -0.15627014636993408, -0.2855154275894165, 0.18513061106204987, 0.5363771319389343, 0.6341637372970581, 0.018182776868343353, 0.3156757354736328, 0.22670909762382507, -0.3681226372718811, 0.2755098342895508, 0.4889948070049286, -0.3149482309818268, -0.12211289256811142, 0.1045384407043457, 0.5811995267868042, 0.08991389721632004, -0.5903354287147522, 0.6174257397651672, -0.05805015563964844, -0.36676138639450073, -0.21483224630355835, 0.2640131711959839, 0.03347399830818176, 0.682622492313385, 0.15307530760765076, -0.052296824753284454, -0.2910884916782379, -0.22559061646461487, 0.4259374141693115, 0.33103734254837036, 0.13405394554138184, -0.6122022271156311, 0.5238630175590515, 0.27816200256347656, -0.11957135796546936, 0.3418169915676117, -0.07033062726259232, -0.35849955677986145, 0.2617996037006378, 0.6351802349090576, 0.7130167484283447, -0.3190667927265167, 0.4022640585899353, -0.17866919934749603, -0.023894591256976128, -0.09042317420244217, 0.1417410671710968, -0.3756621181964874, -0.938957691192627, -0.36109694838523865, -0.6459903717041016, -0.49159932136535645, 0.27503159642219543, -0.5071037411689758, -0.06317537277936935, -0.6652547121047974, -0.06656508147716522, -0.20348022878170013, 0.3223855197429657, -0.9428123235702515, -0.18288059532642365, 0.10521405935287476, 0.8208445310592651, -0.7462259531021118, 1.208594799041748, 0.5457051992416382, -0.21181629598140717, -0.7067343592643738, -0.1485477238893509, -0.029211286455392838, -0.8313983082771301, 0.8289029598236084, -0.2715950310230255, -0.0558752715587616, 0.03934426233172417, -0.4423331618309021, -0.7141139507293701, 1.243869423866272, 0.5381912589073181, -0.7355697751045227, -0.020102031528949738, 0.8275996446609497, 0.7487918138504028, -0.612817645072937, -0.6599898338317871, 0.5153639316558838, 0.3997481167316437, 0.04178778827190399, -0.930289626121521, 0.4105561673641205, 0.24777427315711975, -0.12652580440044403, -0.14064854383468628, -0.6435966491699219, 0.6347917914390564, -0.14867593348026276, -0.3080888092517853, -0.09765661507844925, 0.7030906677246094, 0.11699257791042328, 0.5215734839439392, 0.33926013112068176, 0.2627198398113251, 0.8276817798614502, 0.10883147269487381, 0.9114698171615601, -0.3085139989852905, 0.5192546844482422, 1.1821907758712769, -0.7727699875831604, 0.6656250953674316, 0.3988141119480133, -0.16729852557182312, 0.12195514142513275, 0.05971406772732735, 0.024020515382289886, 0.7545788884162903, 0.03549664095044136, -0.5515044927597046, -0.06812174618244171, -0.1505197137594223, -0.31067410111427307, 0.4488944709300995, 0.3134148418903351, -0.5298728346824646, -0.20369967818260193, 0.23575446009635925, 0.0010546604171395302, 0.06508505344390869, -0.09512163698673248, 1.0046783685684204, 0.2840617597103119, -0.2619784474372864, 0.5453267693519592, 0.21291787922382355, 0.5479446649551392, -0.6338142156600952, 0.12666459381580353, -0.47111421823501587, 0.5822231769561768, -0.29637548327445984, -0.6713374257087708, 0.51552814245224, 0.18752124905586243, -0.15551507472991943, -0.6823961138725281, 1.070330262184143, -0.6869742274284363, -0.13565044105052948, 0.3080848753452301, 0.7323443293571472, -0.02663561701774597, -0.06696212291717529, -0.5395216941833496, -0.07171785086393356, -0.04160837084054947, -0.1690954566001892, 0.8125370740890503, 0.41265445947647095, 0.0767461508512497, 0.5214253067970276, 0.8753816485404968, 0.2909761667251587, -0.01515250001102686, 0.006134749855846167, 1.1505223512649536, -0.2753443717956543, -0.6410415172576904, -0.5359546542167664, 0.16076631844043732, -0.03313017636537552, 0.20236097276210785, 0.8693055510520935, 0.2538888156414032, 1.115749478340149, -0.26421648263931274, 0.7811974287033081, 0.13796456158161163, 0.6441202163696289, -0.5407348871231079, 0.9889914393424988, -0.2761244475841522, 0.38941025733947754, 0.035996779799461365, -0.7618498802185059, -0.3441774547100067, 0.5421696901321411, -0.5125411152839661, -0.33280694484710693, 0.38409918546676636, 0.9058002829551697, -0.17792044579982758, 0.2299763709306717, 0.45990487933158875, 0.38661542534828186, 0.4616736173629761, 0.486102432012558, 0.6946948170661926, -0.11502260714769363, 0.2946048676967621, -0.8232088685035706, -0.03636762127280235, -0.11561837792396545, -0.6987968683242798, -1.0014152526855469, -0.5573340058326721, -0.47394222021102905, -0.10906854271888733, 0.16697834432125092, 0.8841269016265869, 0.8268906474113464, -0.8273323178291321, -0.0013534458121284842, -0.03747832030057907, 0.24582985043525696, -0.14759722352027893, -0.33142831921577454, 0.3877870440483093, -0.038770321756601334, -0.5417168736457825, 0.5352217555046082, 0.018992876634001732, 0.13944290578365326, -0.40167510509490967, -0.05490821227431297, 0.09245777130126953, -0.2291068136692047, 0.6010552644729614, 0.15563993155956268, -0.5413183569908142, -0.47502401471138, 0.05221594125032425, -0.06883798539638519, -0.12071896344423294, 1.0204789638519287, -0.8278385400772095, 0.2206796407699585, 0.4121569097042084, 0.9511180520057678, 0.4813153147697449, 0.08273480087518692, 0.619708240032196, -1.3413076400756836, 0.27234983444213867, 0.35010096430778503, 0.13484375178813934, 0.28048697113990784, -0.6688879728317261, 0.37725692987442017, 0.44717398285865784, -0.5644211769104004, -0.9319573640823364, 0.000593240896705538, -0.7795870304107666, -0.060383763164281845, 1.282086730003357, -0.71941077709198, -0.2163843959569931, -0.09666397422552109, 0.2574383318424225, -0.015997175127267838, -0.4881261885166168, 0.7664651870727539, 0.3504543900489807, -0.06794716417789459, -0.04435030370950699, -0.28338322043418884, 0.8551573753356934, 0.05181913450360298, -0.9647761583328247, 0.4152470529079437, 0.4878581464290619, 0.5223520398139954, -0.10367575287818909, 0.6088844537734985, -0.04040173441171646, -0.0016278917901217937, -0.27808046340942383, -0.34578612446784973, -0.43142247200012207, -0.4357396960258484, -0.4004038870334625, 0.361008882522583, -0.31621596217155457, -0.06193475052714348 ]
http://arxiv.org/abs/2405.14211v1
http://arxiv.org/pdf/2405.14211v1
ChronosLex: Time-aware Incremental Training for Temporal Generalization of Legal Classification Tasks
2024-05-23T06:09:16
2024-05-23T06:09:16
T. Y. S. S Santosh, Tuan-Quang Vuong, Matthias Grabmair
cs.CL
cs.CL
This study investigates the challenges posed by the dynamic nature of legal multi-label text classification tasks, where legal concepts evolve over time. Existing models often overlook the temporal dimension in their training process, leading to suboptimal performance of those models over time, as they treat training data as a single homogeneous block. To address this, we introduce ChronosLex, an incremental training paradigm that trains models on chronological splits, preserving the temporal order of the data. However, this incremental approach raises concerns about overfitting to recent data, prompting an assessment of mitigation strategies using continual learning and temporal invariant methods. Our experimental results over six legal multi-label text classification datasets reveal that continual learning methods prove effective in preventing overfitting thereby enhancing temporal generalizability, while temporal invariant methods struggle to capture these dynamics of temporal shifts.
[ 0.07928472757339478, -0.5133240222930908, 0.5818814635276794, 0.12360472977161407, -0.4207809269428253, 0.4378148913383484, 0.12829101085662842, -0.7681400179862976, -0.296802818775177, 0.2121126651763916, -0.6134438514709473, -0.3925912380218506, -0.7634604573249817, -0.10024388879537582, -0.47185245156288147, 1.099265456199646, -0.17724555730819702, 0.07476550340652466, 0.07506193965673447, -0.6484517455101013, -0.28444305062294006, -0.9176353812217712, -0.836428165435791, -0.5386186242103577, 0.5948846340179443, 0.11902592331171036, 0.48231831192970276, 0.8810264468193054, -0.07404625415802002, 0.25232213735580444, -0.03194405138492584, -0.44627565145492554, -0.05118294060230255, 0.3309110105037689, -0.3120788335800171, -0.42413267493247986, -0.30193111300468445, 0.177062526345253, 0.9945473670959473, 0.6557425856590271, -0.5160484313964844, 0.1197461485862732, -0.10189023613929749, 0.6104003190994263, -0.8632994294166565, 0.08677351474761963, -0.4566775858402252, 0.7225678563117981, -0.152119442820549, -0.5946441292762756, -0.17027191817760468, -0.6190991997718811, 0.23939663171768188, -0.7781345844268799, 0.38190487027168274, -0.0771811231970787, 0.6259342432022095, 0.4049476981163025, -0.7761227488517761, -0.49428650736808777, -0.8306518793106079, 0.7057119607925415, -0.4347993731498718, 0.75753253698349, 0.1912953406572342, 0.5195430517196655, 0.2809241712093353, -0.9172595739364624, -0.4032127559185028, -0.38483142852783203, 0.1797756403684616, 0.2775585651397705, 0.15929055213928223, -0.13529382646083832, 0.4980732202529907, -0.017033513635396957, -0.6623471975326538, 0.2527717351913452, -0.03193854168057442, -0.23884403705596924, 0.26901915669441223, 0.35695144534111023, 0.2648165822029114, 0.4010533094406128, -0.36267757415771484, -0.067886583507061, -0.35381078720092773, 0.3561372756958008, 0.3932901620864868, 0.0343647263944149, -0.13247911632061005, 0.2933928668498993, -0.07670184969902039, 0.43634507060050964, 0.1263047754764557, -0.21750862896442413, 0.2851632535457611, -0.3984702229499817, -0.261648565530777, 0.6945319771766663, 0.5271444916725159, -0.2719641327857971, 0.08185745775699615, -0.2771506905555725, 0.11875712126493454, 0.17095676064491272, 0.24021659791469574, -0.8710952401161194, -0.019996831193566322, 0.4372117817401886, -0.04286547377705574, -0.30676206946372986, -0.06332996487617493, -0.566504716873169, -0.32023993134498596, -0.9196332097053528, 0.04457958787679672, -0.4711434245109558, 0.16625581681728363, 0.05920245498418808, -0.257653146982193, -0.03271213546395302, 0.5691798329353333, -0.6833312511444092, 0.16523464024066925, 0.7327655553817749, 0.5952116847038269, 0.26288923621177673, -0.3734361529350281, -0.9773530960083008, 0.4302661120891571, -0.5278326272964478, 0.54630047082901, -0.7857152819633484, -0.3964638113975525, -0.07298985123634338, 0.36177000403404236, -0.22917544841766357, -0.16835705935955048, 0.22059988975524902, -0.8206617832183838, 0.2944514751434326, 0.2055477797985077, -0.48725971579551697, 0.08218144625425339, 0.5014066696166992, -0.17836695909500122, 0.702477216720581, 0.1581164300441742, -0.570913553237915, 1.1025025844573975, -0.2880118489265442, -0.3936447501182556, 0.24433690309524536, -0.30477604269981384, -0.935584306716919, -0.3095569908618927, -0.08227971941232681, 0.18052777647972107, 0.06674877554178238, 0.47124624252319336, -0.3522662818431854, 0.1225760281085968, 0.2412186563014984, -0.24143020808696747, 0.8132519125938416, 0.3842083215713501, -0.3295324444770813, 0.060822635889053345, -0.8497099280357361, 0.07148652523756027, -0.1566501408815384, -0.7954325675964355, -0.4832266867160797, 0.28560346364974976, -0.2333982288837433, 0.43588536977767944, 0.054044317454099655, -0.788417637348175, 0.35247448086738586, -0.08036444336175919, 0.6298459768295288, 0.8716639280319214, 0.10008816421031952, 0.5785956382751465, -0.4138686954975128, 0.5496008396148682, 0.033552512526512146, 0.5837332010269165, -0.19339291751384735, -0.03513229265809059, -0.5106755495071411, -0.03390917554497719, 0.37348461151123047, 0.8593378067016602, -0.6898643970489502, 0.031034065410494804, -0.6345372796058655, -0.5472592711448669, 0.235556498169899, 0.22772341966629028, 0.3312549889087677, 0.12652772665023804, 0.32980775833129883, -0.23445084691047668, -0.1457463800907135, -0.3855089545249939, -0.2437150478363037, 0.2016225904226303, 0.23446036875247955, 0.11654012650251389, 0.6695951223373413, -0.42059311270713806, 0.6367520093917847, -0.09965426474809647, -0.09498704969882965, 0.20164652168750763, 0.7551424503326416, -0.24941951036453247, 0.5348461270332336, 0.6639790534973145, -0.8047003746032715, -0.44469061493873596, 0.5167692303657532, -0.7982583045959473, 0.11170259118080139, -0.6829984188079834, 0.398271381855011, 0.5134236812591553, 0.8017957210540771, 0.044186219573020935, 0.2817070782184601, 0.21756742894649506, -0.4874054789543152, 0.5251213908195496, -0.4089297354221344, 0.35675546526908875, -0.6429591178894043, -0.19235457479953766, -0.09285314381122589, -0.40919244289398193, -0.37504643201828003, -0.13109564781188965, 0.4571264982223511, -0.3083641231060028, -0.6225001811981201, 0.5880818367004395, -0.5895815491676331, 0.08748038113117218, -0.17753607034683228, -0.10121852904558182, -0.30940505862236023, 0.499721884727478, 0.06044400483369827, 0.3628859221935272, 0.4527810215950012, -1.0685160160064697, 0.27044662833213806, -0.16343483328819275, -0.15652558207511902, 0.9872852563858032, -0.32181859016418457, 0.303960382938385, -0.265950083732605, 0.2554019093513489, -0.2919006943702698, 0.010358317755162716, 0.42469528317451477, -0.2764587104320526, 0.7047917246818542, -0.5400950312614441, -0.5121163129806519, -0.40461981296539307, -0.2963721454143524, 0.6678681969642639, 0.0852384939789772, -0.5306581258773804, 0.8315107822418213, 0.046675942838191986, 0.03744538128376007, -0.7707882523536682, -0.6421675682067871, -0.02844083681702614, -0.41463419795036316, -0.08048035949468613, 0.223805770277977, -0.0982319787144661, -0.021524857729673386, 0.10280879586935043, -0.5440044403076172, -0.31977590918540955, -0.03994815796613693, 0.36132967472076416, -0.2134043127298355, 0.20560069382190704, 0.39973941445350647, 0.18935735523700714, -0.2567301094532013, -0.03647903725504875, -0.8411312103271484, 0.3871605694293976, 0.35228830575942993, -0.1709350049495697, -0.6343461871147156, 0.22261019051074982, 0.5801166892051697, -0.055743634700775146, 0.4065737724304199, 0.3075368404388428, -0.18968120217323303, -0.4038316011428833, -0.523215651512146, 0.21464188396930695, -0.4307367205619812, 0.11361467093229294, -0.1925538331270218, -1.1124658584594727, 0.222734734416008, -0.09194011986255646, 0.3279827833175659, 0.3669317960739136, 0.27514249086380005, -0.13235308229923248, 0.6598992943763733, 0.7422351241111755, -0.08381882309913635, 1.0367029905319214, -0.14084988832473755, -0.42814454436302185, -0.44010114669799805, -0.3488876521587372, -0.6301651000976562, -0.0956302285194397, -0.43014925718307495, -0.0534566231071949, 0.2637912929058075, -0.08702576160430908, -0.6653862595558167, 0.3876366913318634, -0.47029775381088257, 0.4213109016418457, 0.418900728225708, 0.20870725810527802, 0.24958236515522003, 0.21425548195838928, 0.04889781028032303, 0.041223712265491486, -0.8297992944717407, 0.10826384276151657, 0.9797702431678772, 0.204001322388649, 0.5305697321891785, -0.10508482158184052, 0.4692133367061615, 0.6123469471931458, 0.1786416918039322, -0.5340816378593445, 0.22037333250045776, -0.2781062424182892, -0.529533326625824, -0.3670211136341095, -0.704203724861145, -1.2935129404067993, -0.026815157383680344, -0.27004486322402954, -0.5682409405708313, 0.629694938659668, 0.3129819929599762, -0.3590962588787079, 0.32342728972435, -0.1606607884168625, 0.7112837433815002, -0.6477053165435791, -0.5629174113273621, -0.587112307548523, -0.7433797121047974, 0.001631330931559205, -0.4646857976913452, 0.4362860321998596, -0.09443467855453491, -0.02443697676062584, 0.7568641304969788, -0.676846444606781, 1.0168602466583252, -0.11271464079618454, -0.0658869668841362, 0.2660520076751709, 0.16860440373420715, 0.5502914786338806, 0.1190335601568222, 0.43293148279190063, -0.005574802402406931, 0.4734468162059784, -0.5659124255180359, -0.5912573933601379, 0.42191827297210693, -0.5824781656265259, -0.009544065222144127, -1.1176482439041138, -0.4598429501056671, -0.04559538513422012, 0.04673049971461296, 0.18816301226615906, 0.7334411144256592, -0.02669251151382923, 0.1093478724360466, 0.6282777786254883, -0.21904176473617554, 0.4951208829879761, 0.7683855295181274, 0.16061514616012573, -0.691557765007019, 0.8015899062156677, 0.5045182704925537, 0.243438720703125, 0.4787784218788147, 0.28184792399406433, -0.27976953983306885, -0.45320969820022583, 0.020160868763923645, 0.22945398092269897, -0.8023337125778198, 0.13088412582874298, -0.7794061303138733, -0.12842793762683868, -0.4954383969306946, -0.24861405789852142, -0.232870414853096, -0.6882061958312988, -0.061322979629039764, 0.20527036488056183, 0.34532439708709717, 0.3983058035373688, -0.12167393416166306, 0.4370170831680298, -1.0669664144515991, 0.229888454079628, 0.68809974193573, 0.3706120252609253, -0.4304489493370056, -0.6446112394332886, -0.287432461977005, -0.22698411345481873, -0.31071895360946655, -0.5650911927223206, 0.08602182567119598, 0.211138516664505, 0.7471749186515808, 0.37264105677604675, -0.18991811573505402, 0.47575467824935913, -0.6321409344673157, 0.5642890334129333, 0.28105759620666504, -0.8373154401779175, 0.653511106967926, -0.31723296642303467, 0.46997830271720886, 0.3261007070541382, 0.5162124037742615, -0.7830524444580078, -0.3231646716594696, -0.608037531375885, -0.9105990529060364, 0.734214723110199, 0.10610739141702652, 0.05338670313358307, 0.3431817889213562, 0.6855373382568359, 0.13067065179347992, 0.3442055284976959, -0.6972951889038086, 0.1862681657075882, -0.32228225469589233, 0.21486946940422058, -0.07471679896116257, -0.33239853382110596, -0.13967956602573395, -0.2868231534957886, 0.6263130903244019, 0.10397566109895706, -0.0893104076385498, 0.1856096237897873, -0.3546297550201416, 0.1012822836637497, 0.6784529089927673, 0.8112661838531494, 0.7249763607978821, -0.07034523040056229, -0.01624741405248642, 0.2939181327819824, -0.7237933874130249, 0.5146833062171936, 0.22908827662467957, -0.05152786150574684, -0.17688067257404327, 0.5025377869606018, 0.5794939994812012, 0.2831350266933441, -0.26262912154197693, -0.04536287859082222, 0.06874597817659378, -0.511058509349823, -0.693022608757019, 0.09849750995635986, -0.5465623736381531, 0.5462095141410828, 0.2616528272628784, 0.043299078941345215, -0.0833420678973198, -0.821319580078125, 0.2699713706970215, 0.09792894124984741, -0.6943750381469727, -0.12452428042888641, 0.9033755660057068, -0.2735145390033722, -0.14007218182086945, 0.47658461332321167, -0.20058241486549377, -0.533947229385376, 0.8321091532707214, 0.03993288055062294, 0.9010773301124573, -0.43723544478416443, 0.09031970053911209, 0.5741118788719177, 0.3789357542991638, -0.4176367521286011, 0.008043317124247551, -0.6704520583152771, -0.4720965325832367, -0.1573842465877533, -0.37547826766967773, -0.32511770725250244, -0.27180764079093933, -0.4288904666900635, -0.10763458907604218, -0.7636761665344238, -0.45013463497161865, -0.10626079887151718, -0.34695884585380554, -0.5375170707702637, 0.34993410110473633, -0.08629187196493149, 0.6261420845985413, -0.5004985928535461, 1.0984549522399902, 0.513573169708252, -0.22275114059448242, -0.23744088411331177, -0.15597856044769287, 0.380215048789978, -0.20089475810527802, 0.9177101254463196, -0.10308200865983963, -0.27082526683807373, -0.030742043629288673, -0.6936854124069214, -0.42576441168785095, 1.2813401222229004, 0.10212036222219467, -0.8972011804580688, 0.006322676315903664, 0.24110129475593567, 0.5080798268318176, -0.032296113669872284, -0.39876309037208557, 0.4440464377403259, 0.3307614326477051, 0.10965459048748016, -0.7693755626678467, -0.2694410979747772, -0.3095341920852661, -0.13779722154140472, 0.4146213233470917, -0.3030570447444916, 0.7573058009147644, 0.052122510969638824, -0.6088525056838989, -0.17398083209991455, 0.24273596704006195, 0.2069949209690094, 0.8106239438056946, 0.6309899091720581, 0.8123053312301636, 0.8201857805252075, -0.2999345362186432, 1.2185046672821045, -0.23149001598358154, 0.40384647250175476, 1.5834659337997437, -0.20245717465877533, 0.2571541666984558, 0.2078620195388794, -0.08075249940156937, 0.26214393973350525, 0.7057424783706665, -0.32028794288635254, 0.38899141550064087, 0.08583357185125351, -0.2685421109199524, -0.5006536245346069, 0.10315553843975067, -0.5509293079376221, -0.16090625524520874, 0.32577475905418396, -0.1917666643857956, -0.5117313265800476, 0.39636141061782837, 0.09842980653047562, 0.06544291973114014, -0.4619304835796356, 0.7193110585212708, -0.04106682538986206, -0.2250952124595642, 0.14992457628250122, -0.2490251064300537, 0.45062652230262756, -0.9762046933174133, 0.007896439172327518, -0.12063048779964447, 0.46226683259010315, -0.03006271831691265, -0.7026901841163635, 0.1447000652551651, -0.35179969668388367, -0.024113621562719345, -0.33217355608940125, 0.07886136323213577, -0.30814072489738464, -0.4851454794406891, 0.523945152759552, -0.050107743591070175, -0.10534598678350449, 0.04830231890082359, -0.8357527256011963, -0.14377082884311676, -0.4342150390148163, 0.027906326577067375, 0.27611804008483887, 0.7977520823478699, -0.32810449600219727, 0.9575408101081848, 0.5407654047012329, -0.1056668609380722, 0.39159706234931946, 0.015867361798882484, 0.594974935054779, -0.7180442214012146, -0.821492075920105, -0.7457962036132812, 0.41102853417396545, -0.006179968360811472, -0.334011971950531, 0.6694352030754089, 0.6497579216957092, 0.8801642656326294, 0.14159247279167175, 0.5756774544715881, 0.15282148122787476, 0.39669761061668396, -0.9916468262672424, 0.5736594200134277, -0.6579623818397522, 0.2273975908756256, -0.025461215525865555, -0.7374699711799622, -0.289553165435791, 0.05052574723958969, -0.35304588079452515, -0.024410733953118324, 0.8840478658676147, 0.18171823024749756, -0.09718933701515198, -0.0575965978205204, 0.16124659776687622, -0.017119361087679863, 0.40338462591171265, 0.718567967414856, 0.9776443839073181, -0.16283375024795532, 0.534981369972229, -0.5176393389701843, -0.02233912982046604, 0.22507129609584808, -0.8635964393615723, -0.775758683681488, -0.5286740064620972, -0.776678204536438, -0.41855815052986145, 0.4661554992198944, 0.6916483640670776, 0.7692421674728394, -0.91927170753479, -0.21887081861495972, -0.16790492832660675, -0.22520774602890015, -0.34177640080451965, -0.15807032585144043, 0.3321549892425537, -0.6988676190376282, -0.5370863080024719, 0.23173609375953674, 0.23662415146827698, 0.43798643350601196, 0.27073419094085693, 0.056796737015247345, -0.1799977570772171, -0.2700428366661072, 0.8266449570655823, 0.858092188835144, -0.1585431694984436, -0.3117399215698242, -0.43304380774497986, -0.0746084451675415, 0.21946373581886292, 1.392418622970581, -0.6871249079704285, 0.7409653067588806, 0.4023762345314026, 0.5055487155914307, 0.9343722462654114, -0.014267112128436565, 0.30180907249450684, -0.6550559401512146, 0.5654551386833191, 0.2285996973514557, 0.33810749650001526, -0.14920607209205627, -0.4342647194862366, 0.7141245603561401, 0.459964781999588, -0.7219764590263367, -0.38497546315193176, 0.27112439274787903, -0.934133768081665, -0.8950097560882568, 0.691550076007843, 0.043337851762771606, 0.026786580681800842, -0.5992174744606018, 0.17398998141288757, 0.3854028582572937, -0.3625190854072571, 0.8333621621131897, 0.6611680388450623, 0.014619972556829453, -0.2753284275531769, -0.9744741320610046, 0.4859555959701538, 0.015702253207564354, -0.7976191639900208, 0.033230677247047424, 0.7666602730751038, 0.5374975800514221, 0.4555889368057251, 0.6186915636062622, -0.3621557652950287, 0.5390949845314026, 0.06298201531171799, -0.1216573491692543, -0.13251535594463348, -0.6552526354789734, -0.562303364276886, 0.34765034914016724, -0.4359739422798157, -0.04176784306764603 ]
http://arxiv.org/abs/2405.14205v1
http://arxiv.org/pdf/2405.14205v1
Agent Planning with World Knowledge Model
2024-05-23T06:03:19
2024-05-23T06:03:19
Shuofei Qiao, Runnan Fang, Ningyu Zhang, Yuqi Zhu, Xiang Chen, Shumin Deng, Yong Jiang, Pengjun Xie, Fei Huang, Huajun Chen
cs.CL
cs.CL, cs.AI, cs.CV, cs.LG, cs.MA
Recent endeavors towards directly using large language models (LLMs) as agent models to execute interactive planning tasks have shown commendable results. Despite their achievements, however, they still struggle with brainless trial-and-error in global planning and generating hallucinatory actions in local planning due to their poor understanding of the ''real'' physical world. Imitating humans' mental world knowledge model which provides global prior knowledge before the task and maintains local dynamic knowledge during the task, in this paper, we introduce parametric World Knowledge Model (WKM) to facilitate agent planning. Concretely, we steer the agent model to self-synthesize knowledge from both expert and sampled trajectories. Then we develop WKM, providing prior task knowledge to guide the global planning and dynamic state knowledge to assist the local planning. Experimental results on three complex real-world simulated datasets with three state-of-the-art open-source LLMs, Mistral-7B, Gemma-7B, and Llama-3-8B, demonstrate that our method can achieve superior performance compared to various strong baselines. Besides, we analyze to illustrate that our WKM can effectively alleviate the blind trial-and-error and hallucinatory action issues, providing strong support for the agent's understanding of the world. Other interesting findings include: 1) our instance-level task knowledge can generalize better to unseen tasks, 2) weak WKM can guide strong agent model planning, and 3) unified WKM training has promising potential for further development. Code will be available at https://github.com/zjunlp/WKM.
[ -0.41724449396133423, -0.6627233624458313, 0.8891832828521729, -0.100051149725914, 0.08068884164094925, -0.17637093365192413, -0.09613432735204697, -0.6504576206207275, 0.20299802720546722, 0.7216081619262695, -0.6512181758880615, -0.6382046341896057, -0.26754385232925415, -0.2591789960861206, 0.11574278771877289, 0.5321497321128845, -0.15403880178928375, -0.04383597895503044, -0.1064976379275322, -0.1087694764137268, -0.23339557647705078, -0.32464736700057983, -0.5197606682777405, -0.6754364967346191, 0.5937526226043701, 0.4762780964374542, 0.8006716966629028, 0.3048628866672516, 0.2025904357433319, 0.274999737739563, -0.06125315651297569, 0.5239890813827515, -0.12489815056324005, 0.26104292273521423, -0.3270415961742401, -0.1106468141078949, -0.7475508451461792, -0.11020871996879578, 0.09496859461069107, 0.5767217874526978, -0.2322644740343094, 0.12006867676973343, -0.1038847491145134, 0.38059574365615845, -0.5656300187110901, 0.5034019947052002, -0.714965283870697, 0.35052570700645447, 0.5526455640792847, -0.04114952310919762, -0.0009522534674033523, 0.17760998010635376, 0.269695520401001, -0.8138009905815125, 0.24965614080429077, -0.03979180008172989, 0.32520976662635803, 0.3387959599494934, -0.4950297772884369, -0.06516870856285095, -1.0786104202270508, 0.4045097827911377, -0.7042521238327026, 0.3090120553970337, 0.5434668064117432, 0.6345293521881104, -0.6578156352043152, -0.4880469739437103, -0.649747908115387, -0.38397419452667236, 0.16268478333950043, 0.12641870975494385, 0.1283925175666809, 0.29804909229278564, 0.34404420852661133, -0.22657541930675507, -0.4648391604423523, 0.04395464435219765, -0.23683801293373108, -0.37420666217803955, 0.7030720710754395, 0.4425298869609833, -0.10042113065719604, -0.03564172238111496, -0.5673743486404419, -0.05146144703030586, -0.6336786150932312, 0.21482466161251068, 0.1879594773054123, 0.34402430057525635, -0.06923618167638779, 0.4057527780532837, -0.8100247979164124, 0.7806021571159363, -0.268535315990448, -0.4151487946510315, -0.2982856333255768, -0.06606587767601013, -0.22008147835731506, -0.31698518991470337, 0.49983566999435425, 0.29815542697906494, 0.19221681356430054, -0.4415638744831085, -0.4042545258998871, 0.03154877945780754, 0.2770874500274658, -0.5586535334587097, 0.02550087310373783, 0.21501168608665466, -0.21294532716274261, 0.042638637125492096, -0.2536022961139679, -0.6334053874015808, -0.584795355796814, -0.5645768642425537, 0.5320299863815308, -0.35805049538612366, -0.3273603916168213, 0.2845015227794647, -0.0219861026853323, 0.2190702110528946, 0.4515956938266754, -0.5012642741203308, 0.3042328357696533, 0.35879477858543396, 0.47132644057273865, 0.23758503794670105, -0.8514178395271301, -0.2532810866832733, 0.7498834133148193, -0.3977014124393463, 1.0818268060684204, -0.20071083307266235, -0.1889910101890564, 0.1444905698299408, -0.20596247911453247, 0.22934198379516602, -0.3180544078350067, 0.20332220196723938, -0.47698044776916504, -0.2602309286594391, -0.5592053532600403, -0.21415860950946808, -0.39110076427459717, 0.6443874835968018, -0.5466508865356445, 0.7572818994522095, 0.027674168348312378, -0.39585041999816895, 0.5347669124603271, -0.5513662695884705, -0.15410374104976654, 0.02822069451212883, -0.07714547961950302, 0.09088084846735, -0.11503511667251587, 0.2537878751754761, 0.7810973525047302, -0.29925569891929626, 0.4636451005935669, -0.2875916063785553, -0.35108304023742676, -0.08672209084033966, 0.006945745088160038, 0.3877054452896118, 0.22263872623443604, -0.3716685175895691, 0.24050341546535492, -0.7798345685005188, 0.04830560460686684, 0.254209041595459, -0.09391673654317856, -0.12543605268001556, 0.2822864055633545, -0.22686240077018738, 0.5584288239479065, 0.24845494329929352, -0.38455644249916077, 0.3847079277038574, -0.17662200331687927, 0.16755802929401398, 0.619938313961029, 0.2911338806152344, 0.5864603519439697, -0.502183198928833, 0.6651001572608948, -0.28592339158058167, 0.3843819499015808, 0.5055755376815796, -0.5285782217979431, -0.6465317606925964, 0.24132400751113892, -0.08771625906229019, 0.325840026140213, -1.0606306791305542, 0.27101579308509827, -0.2027754783630371, -0.7045540809631348, 0.28398603200912476, -0.03619229421019554, 0.14990074932575226, 0.38718876242637634, 0.26089829206466675, 0.08537986874580383, -0.30771878361701965, -0.6351280212402344, -0.07946041971445084, -0.3045734167098999, -0.00716500636190176, 0.044680412858724594, 0.4267069101333618, -0.22274620831012726, 0.9628334641456604, -0.523802638053894, -0.47877824306488037, -0.5798346400260925, -0.060482073575258255, -0.27021345496177673, 0.06376833468675613, 0.22741584479808807, -0.6842548847198486, -0.27219992876052856, -0.10459931939840317, -0.8132421970367432, 0.1631740778684616, -0.10414139181375504, -0.6729806661605835, -0.1726197749376297, 0.2215566486120224, -0.914253294467926, 0.5562353134155273, 0.3370792865753174, -0.6102265119552612, 0.5524459481239319, -0.5154752135276794, -0.10336988419294357, -0.9806104302406311, -0.16953232884407043, 0.03904152289032936, -0.1652519851922989, -0.7340575456619263, 0.36056438088417053, 0.030815135687589645, -0.09991106390953064, -0.5562558174133301, 0.7813630104064941, -0.6320074200630188, -0.17573988437652588, -0.416766494512558, 0.1346365213394165, -0.19694338738918304, 0.9727903008460999, 0.2082238346338272, 0.48029622435569763, 0.4660916328430176, -0.8204281330108643, 0.48177218437194824, 0.3077268600463867, -0.18939103186130524, 0.21380393207073212, -0.1760200709104538, 0.11713306605815887, -0.020115535706281662, 0.2661379873752594, -0.38525116443634033, -0.2836209833621979, 0.3172857463359833, -0.18058940768241882, 0.058220624923706055, -0.15354037284851074, -0.5179499983787537, -0.3798089027404785, -0.021968364715576172, 0.037327155470848083, 0.46437567472457886, -0.25050175189971924, 0.8471773266792297, 0.592615008354187, 0.07407785207033157, -0.3575814664363861, -0.39277124404907227, 0.043766796588897705, -0.07070468366146088, -0.5443212985992432, 0.3711033761501312, -0.029791560024023056, -0.3592076301574707, -0.06461646407842636, -0.2512206733226776, -0.2110954076051712, -0.2948168218135834, 0.2549155354499817, -0.1004907563328743, 0.21597422659397125, -0.05689917504787445, -0.07540228217840195, -0.2611018717288971, 0.13387469947338104, -0.41772451996803284, 0.528988242149353, 0.26909342408180237, -0.36302560567855835, -0.18205292522907257, 0.1906873732805252, 0.7169390320777893, -0.23528124392032623, 0.6984018087387085, 0.2236582338809967, -0.6335245370864868, -0.4849875867366791, -0.5079712867736816, -0.12416433542966843, -0.396286278963089, 0.3278285264968872, -0.442110151052475, -0.3436032235622406, 0.6319884657859802, -0.2686263620853424, 0.1210750937461853, 0.1694132536649704, 0.5319378972053528, 0.0794881209731102, 0.8691772222518921, 0.8470872044563293, 0.06872132420539856, 0.27597811818122864, -0.5971761345863342, -0.01953364722430706, -0.5949434041976929, -0.397585928440094, -0.09502100199460983, -0.5271822810173035, -0.1324678361415863, -0.7166540026664734, 0.4009042978286743, -0.14856424927711487, -0.17388184368610382, 0.22977924346923828, -0.22769294679164886, 0.3043966293334961, 0.4693075716495514, 0.2742064297199249, 0.26731163263320923, 0.04954665154218674, -0.35860374569892883, 0.2287621647119522, -0.6338894963264465, -0.6155873537063599, 1.0845428705215454, -0.03150630742311478, 0.6669066548347473, -0.27655619382858276, 0.6431052088737488, 0.24944578111171722, -0.13230858743190765, -0.4874209463596344, 0.9371770024299622, 0.5538485050201416, -0.3678898811340332, -0.6618919372558594, -0.23329424858093262, -0.8645623922348022, 0.3896338939666748, -0.22003811597824097, -0.5540849566459656, 0.2748321294784546, 0.23125426471233368, -0.31851139664649963, 0.574102520942688, -0.5443053245544434, 0.7138566970825195, -0.13522623479366302, -0.21953321993350983, -0.3492535948753357, -0.47836488485336304, 0.12052767723798752, 0.020344145596027374, 0.1448051929473877, -0.6331926584243774, -0.25642159581184387, 0.5552406311035156, -0.4059799313545227, 0.7135491371154785, -0.8008825778961182, -0.12917695939540863, 0.566952645778656, 0.19789688289165497, 1.0314671993255615, -0.012340804561972618, -0.11995481699705124, -0.018095869570970535, -0.2482350766658783, -0.47656938433647156, -0.6498981714248657, 0.6083289980888367, -0.6430057883262634, -0.6388224959373474, -0.2146463543176651, -1.1740400791168213, -0.56572425365448, -0.04116930440068245, 0.031925808638334274, 0.32577335834503174, -0.32023513317108154, -0.4028048515319824, 0.37349873781204224, 0.03205745294690132, 0.49122849106788635, 0.9013742208480835, -0.19375215470790863, -0.05421792343258858, 0.6943944096565247, 0.3463441729545593, 0.1300571709871292, 0.3692387640476227, 0.2209300398826599, -0.1317633092403412, -0.6911771893501282, -0.3009277880191803, 0.08688589185476303, -0.6613599061965942, -0.3008636236190796, -0.6079731583595276, -0.26813486218452454, -0.4333079755306244, -0.13138800859451294, -0.19263625144958496, -0.39543622732162476, 0.5264160633087158, -0.15246251225471497, 0.2798559367656708, 1.015122652053833, -0.15658098459243774, 0.09862497448921204, -0.4557369351387024, 0.46074867248535156, 0.5122483968734741, 0.011703180149197578, 0.14531879127025604, -0.0554271824657917, -0.5309531688690186, 0.24122315645217896, -0.5024408102035522, -1.1004639863967896, 0.5865433216094971, -0.08247844874858856, 0.9146561026573181, 0.3757321238517761, 0.48168179392814636, 0.6795933842658997, -0.4689953625202179, 0.5458263754844666, -0.3762005865573883, -0.3852697014808655, 0.5446917414665222, -0.5144942402839661, 0.46860337257385254, 0.33675357699394226, 0.39726522564888, -0.44134312868118286, -0.8356606960296631, -0.6437548398971558, -0.6482250690460205, 0.6709135174751282, 0.20900455117225647, -0.09435849636793137, 0.3863408863544464, 0.3868434727191925, 0.1862921267747879, 0.18562616407871246, -0.7769147157669067, -0.031127607449889183, 0.08016166090965271, 0.0780167207121849, -0.18911045789718628, -0.31968897581100464, -0.14082589745521545, -0.4654582440853119, 0.6586292386054993, -0.23318053781986237, 0.5492525696754456, 0.21790046989917755, -0.24146918952465057, -0.20325833559036255, 0.09282427281141281, 0.6469623446464539, 1.1367294788360596, -0.07006122916936874, 0.27521371841430664, 0.407118558883667, -0.38909921050071716, 0.3518245816230774, 0.20107829570770264, -0.23078583180904388, -0.4899996221065521, 0.2752563953399658, 0.3307647407054901, 0.13183051347732544, -0.7144642472267151, 0.09527360647916794, -0.031285982578992844, -0.33504194021224976, -0.2928660809993744, 0.20235072076320648, 0.2163793295621872, 0.6636237502098083, 0.33938926458358765, 0.05069875344634056, 0.08660704642534256, -0.2903801500797272, -0.2428853064775467, 0.27128866314888, -0.17337411642074585, -0.31605279445648193, 0.521259069442749, -0.020932713523507118, -0.33042576909065247, 0.12110356241464615, -0.6329264640808105, -0.5969605445861816, 0.7634533047676086, 0.5600755214691162, 0.6715823411941528, -0.20219871401786804, 0.344613254070282, 0.09777172654867172, 0.3706604242324829, 0.030134515836834908, 0.6534132957458496, -0.29542386531829834, -0.8182648420333862, -0.19765324890613556, -0.5612943768501282, -0.44339412450790405, 0.10200187563896179, -0.1849406510591507, 0.12365228682756424, -0.4726576507091522, 0.07600613683462143, -0.6493215560913086, 0.23925115168094635, -0.8772704005241394, 0.18793527781963348, -0.06566159427165985, 0.8582276701927185, -0.7579678297042847, 0.9790711402893066, 1.0599099397659302, -0.2605303227901459, -0.8493037819862366, 0.49446308612823486, -0.13290993869304657, -0.8483707904815674, 0.345357209444046, 0.0180152989923954, -0.15313167870044708, -0.12243176251649857, -0.3311185836791992, -1.0505083799362183, 1.3475712537765503, 0.3286578357219696, -0.26857030391693115, -0.39315927028656006, 0.28086620569229126, 0.5310729146003723, -0.2144506573677063, -0.20230689644813538, 0.2818290591239929, 0.42984238266944885, 0.24853447079658508, -0.5785409808158875, 0.17820213735103607, 0.04665699973702431, 0.035221975296735764, 0.367782860994339, -0.6528697609901428, 0.5443583726882935, -0.24324798583984375, 0.13380277156829834, -0.09518620371818542, 0.9090592265129089, 0.24660435318946838, 0.4196541905403137, 0.6162484884262085, 0.5003120303153992, 0.5962101221084595, 0.3591635525226593, 0.6707355380058289, -0.5662041902542114, 0.03370881453156471, 0.7330769896507263, -0.3288138806819916, 0.8501513600349426, 0.14441493153572083, -0.14436626434326172, 0.357374370098114, 0.5557222366333008, 0.3731939196586609, 0.7664635181427002, -0.17802825570106506, -0.35366174578666687, -0.49972084164619446, 0.1415608525276184, -0.12032715231180191, 0.6185893416404724, 0.11265136301517487, 0.3537575900554657, -0.42747625708580017, 0.2912483215332031, -0.14653779566287994, -0.05866243690252304, -0.4050140082836151, 0.6191450953483582, -0.06621581315994263, -0.7701287269592285, 0.40006428956985474, 0.1626894325017929, 0.3772168457508087, -0.7694411277770996, -0.11400268971920013, -0.3221122920513153, 0.14328888058662415, 0.10243412852287292, -0.47444337606430054, 0.285819411277771, -0.2017209678888321, -0.10895248502492905, -0.26665258407592773, 1.0392152070999146, -0.39434510469436646, -0.3309476971626282, 0.5313425064086914, 0.676493227481842, 0.0848681852221489, -0.4468269944190979, -0.4494515061378479, -0.5116147994995117, -0.14794856309890747, -0.2879144251346588, 0.5095406770706177, 0.6348681449890137, -0.28466519713401794, 0.9439716935157776, 0.4513055384159088, 0.33218321204185486, 0.08639983087778091, -0.27389276027679443, 0.7920877933502197, -0.8587837815284729, -0.6739155054092407, -0.40257033705711365, 0.26572948694229126, 0.06584373861551285, 0.040937382727861404, 0.5725939869880676, 0.3667675852775574, 0.7023217678070068, -0.0020615579560399055, 0.41660457849502563, 0.04574841260910034, 0.22177670896053314, -0.6317732930183411, 0.7850139141082764, -0.5706859230995178, 0.04761766269803047, -0.15236419439315796, -1.000778079032898, 0.012149226851761341, 0.4260346591472626, -0.4332503080368042, -0.08063682913780212, 0.5189484357833862, 0.7358995079994202, 0.10842711478471756, -0.23729433119297028, 0.8194246888160706, 0.07233160734176636, 0.22592765092849731, 0.867705762386322, 1.0040088891983032, 0.060441672801971436, 0.597997784614563, -0.6653361320495605, -0.17505043745040894, 0.08566699177026749, -0.5926554203033447, -0.9927493333816528, -0.6761481761932373, 0.12181994318962097, 0.05016932263970375, 0.1541861891746521, 1.0011584758758545, 0.8432700037956238, -0.2756441533565521, -0.35808083415031433, -0.17319999635219574, 0.14444252848625183, -0.3425756096839905, -0.09051474928855896, 0.15940257906913757, -0.3011168837547302, -0.48528310656547546, 0.5579174160957336, 0.039597321301698685, 0.18050053715705872, -0.5196323990821838, -0.5126913189888, -0.08117975294589996, -0.009732984937727451, 0.4693622887134552, 0.2796616852283478, -0.8254179954528809, -0.06127071753144264, -0.16041766107082367, -0.0831100344657898, -0.21209992468357086, 0.8773669004440308, -1.0819631814956665, 0.23479048907756805, 0.19921447336673737, 0.028472160920500755, 0.5575647354125977, -0.33113130927085876, 0.7121118903160095, -0.517423152923584, 0.6607322692871094, 0.19565562903881073, 0.45899698138237, -0.08439493924379349, -0.6365082859992981, 0.49977371096611023, 0.07889895141124725, -0.7245859503746033, -0.3981727957725525, 0.1551499366760254, -0.6996130347251892, -0.306715726852417, 1.126857042312622, 0.005603749770671129, -0.17318063974380493, -0.15140429139137268, -0.34197455644607544, 0.3356489837169647, -0.2997455894947052, 0.8711685538291931, 0.4741179943084717, -0.45370978116989136, 0.020643027499318123, -0.6574424505233765, 0.6083807349205017, -0.07320186495780945, -0.8810647130012512, 0.08940628916025162, 0.6625339388847351, 0.12128199636936188, -0.14478152990341187, 0.8621454238891602, 0.4336315989494324, 0.24531912803649902, 0.27417564392089844, 0.5287601351737976, -0.4390864670276642, -0.7789087891578674, 0.13946552574634552, 0.26482006907463074, 0.29223158955574036, -0.011609810404479504 ]
http://arxiv.org/abs/2405.14191v3
http://arxiv.org/pdf/2405.14191v3
S-Eval: Automatic and Adaptive Test Generation for Benchmarking Safety Evaluation of Large Language Models
2024-05-23T05:34:31
2024-05-28T11:31:31
Xiaohan Yuan, Jinfeng Li, Dongxia Wang, Yuefeng Chen, Xiaofeng Mao, Longtao Huang, Hui Xue, Wenhai Wang, Kui Ren, Jingyi Wang
cs.CR
cs.CR, cs.CL
Large Language Models have gained considerable attention for their revolutionary capabilities. However, there is also growing concern on their safety implications, making a comprehensive safety evaluation for LLMs urgently needed before model deployment. In this work, we propose S-Eval, a new comprehensive, multi-dimensional and open-ended safety evaluation benchmark. At the core of S-Eval is a novel LLM-based automatic test prompt generation and selection framework, which trains an expert testing LLM Mt combined with a range of test selection strategies to automatically construct a high-quality test suite for the safety evaluation. The key to the automation of this process is a novel expert safety-critique LLM Mc able to quantify the riskiness score of an LLM's response, and additionally produce risk tags and explanations. Besides, the generation process is also guided by a carefully designed risk taxonomy with four different levels, covering comprehensive and multi-dimensional safety risks of concern. Based on these, we systematically construct a new and large-scale safety evaluation benchmark for LLMs consisting of 220,000 evaluation prompts, including 20,000 base risk prompts (10,000 in Chinese and 10,000 in English) and 200,000 corresponding attack prompts derived from 10 popular adversarial instruction attacks against LLMs. Moreover, considering the rapid evolution of LLMs and accompanied safety threats, S-Eval can be flexibly configured and adapted to include new risks, attacks and models. S-Eval is extensively evaluated on 20 popular and representative LLMs. The results confirm that S-Eval can better reflect and inform the safety risks of LLMs compared to existing benchmarks. We also explore the impacts of parameter scales, language environments, and decoding parameters on the evaluation, providing a systematic methodology for evaluating the safety of LLMs.
[ -0.2624778747558594, -0.9156163930892944, 0.5723385214805603, 0.21766279637813568, 0.07036518305540085, 0.21021604537963867, -0.2415471374988556, -0.21165063977241516, -0.260877788066864, 0.4580270051956177, -0.40640661120414734, -0.6080596446990967, -0.4881078898906708, 0.2828650176525116, -0.4009290933609009, 1.0675302743911743, -0.20068909227848053, 0.03269768878817558, -0.20118416845798492, 0.16712327301502228, -0.10287263244390488, -0.4006492793560028, -0.7829137444496155, 0.3552192151546478, 0.6112954020500183, 0.08105579763650894, 0.38923320174217224, 0.6061503887176514, 0.4901125431060791, 0.3417593240737915, -0.07721324265003204, 0.11605122685432434, -0.15071383118629456, 0.327178031206131, -0.033590566366910934, -0.22494502365589142, -0.6434119343757629, -0.27807506918907166, 0.8250011205673218, 0.3715852200984955, -0.18676453828811646, 0.28904879093170166, 0.2649489641189575, 0.5500720143318176, -0.8428705930709839, -0.00480200070887804, -0.6949530243873596, -0.048285968601703644, 0.02840312384068966, -0.21728746592998505, -0.6655417680740356, -0.7686681151390076, -0.18398797512054443, -0.07566462457180023, -0.29964932799339294, 0.25248971581459045, 0.569522500038147, 0.3068087697029114, -0.6767178773880005, -0.15889842808246613, -0.3101731240749359, 0.7330548763275146, -0.5848459005355835, 0.39580869674682617, -0.00433778902515769, 0.8313865065574646, -0.2515033185482025, -0.48746392130851746, -0.2563476860523224, -0.6698822975158691, 0.2998197376728058, 0.02729647047817707, -0.21269842982292175, -0.08573094010353088, 0.23934203386306763, -0.06028786674141884, -0.7525742650032043, 0.2588743567466736, -0.19986023008823395, -0.12383519858121872, 1.0956878662109375, 0.48060721158981323, 0.4109936058521271, -0.022575166076421738, -0.7045756578445435, -0.19228124618530273, -1.1374566555023193, -0.13455171883106232, 0.49594882130622864, 0.24022413790225983, -0.019715862348675728, 0.20083512365818024, -0.1895471215248108, 0.49228861927986145, -0.28530749678611755, -0.16370166838169098, 0.3857071101665497, -0.2666158378124237, -0.19414234161376953, 0.07540781050920486, 1.0692942142486572, 0.7400963306427002, 0.1957237273454666, 0.13080339133739471, -0.42991307377815247, -0.09962399303913116, 0.34599384665489197, -0.7175427079200745, 0.14938291907310486, 0.036300260573625565, -0.251512736082077, -0.6512148976325989, -0.27479854226112366, -0.9506122469902039, -0.5506044030189514, -0.043414127081632614, 0.41706714034080505, -0.42480987310409546, -0.1528378427028656, 0.07945512235164642, 0.3754718005657196, 0.14384295046329498, 0.2902873754501343, -0.43547168374061584, 0.16077208518981934, 0.4752563238143921, 0.45916569232940674, -0.41581451892852783, -0.5289814472198486, -0.7757493257522583, -0.01381915807723999, -0.49139294028282166, 0.9553862810134888, -0.23107829689979553, -0.3550645411014557, 0.16676369309425354, -0.04467492550611496, -0.22602680325508118, -0.32829320430755615, 0.405476450920105, -0.41012728214263916, -0.13022290170192719, -0.025317147374153137, -0.47971072793006897, 0.06033026799559593, 0.46225810050964355, -0.41920965909957886, 1.1919233798980713, -0.007224475499242544, -0.606482982635498, 0.14857369661331177, -0.4738275110721588, -0.3571382462978363, 0.022634999826550484, -0.3118899166584015, -0.3950156271457672, -0.18793614208698273, 0.09778351336717606, 0.4382994771003723, -0.5653761625289917, 0.32061314582824707, -0.3584919273853302, -0.16911335289478302, 0.47597047686576843, -0.7456914186477661, 0.5801898837089539, 0.22031794488430023, -0.31537631154060364, 0.4717644155025482, -0.8203979730606079, 0.3291114866733551, 0.061077240854501724, -0.40401896834373474, -0.008532146923244, 0.0008216099231503904, 0.06777772307395935, 0.2322535216808319, 0.4281258285045624, -0.2887657582759857, -0.1502760499715805, -0.20014788210391998, 0.12503209710121155, 0.9224311709403992, 0.15973201394081116, 0.0068226102739572525, -0.18915268778800964, 0.7854440808296204, -0.36486363410949707, 0.4908928871154785, -0.3673379123210907, -0.05613139644265175, -0.6653490662574768, -0.18509624898433685, 0.14557965099811554, 0.7211104035377502, -0.6242256760597229, 0.9946408271789551, -0.2825070023536682, -0.6853389739990234, -0.3182032108306885, 0.030506959185004234, 0.7639038562774658, 0.2863742709159851, 0.15518806874752045, 0.10594993084669113, -0.3424827754497528, -0.9108753800392151, -0.306119829416275, -0.28623396158218384, -0.11395449191331863, 0.2636518180370331, 0.43316495418548584, -0.2909793257713318, 0.45600271224975586, -0.5225692987442017, 0.2105356603860855, -0.44759902358055115, -0.20088399946689606, -0.20448057353496552, 0.2505286633968353, 0.6262648701667786, -0.18254467844963074, -0.6123534440994263, -0.041017260402441025, -0.6459723114967346, -0.29707595705986023, -0.05760493502020836, -0.2145964652299881, 0.40868449211120605, 0.6322270631790161, -0.2933724820613861, 0.17124849557876587, 0.5572836995124817, -0.2047174572944641, 0.9346224665641785, -0.23498503863811493, 0.18609650433063507, -1.1518993377685547, 0.00028272540657781065, 0.02529234066605568, 0.05412549152970314, -0.5451056957244873, 0.3672774136066437, 0.4859900176525116, 0.03802638128399849, -0.9150727987289429, 0.5706035494804382, -0.09171755611896515, -0.08430707454681396, -0.1280263066291809, 0.30214783549308777, -0.017469650134444237, 0.1625528335571289, -0.2282344549894333, 0.8410547971725464, 0.6493812799453735, -0.5874046683311462, 0.2820073962211609, -0.04138965159654617, -0.4797755181789398, 0.5976371765136719, -0.5164478421211243, 0.12093375623226166, 0.20583966374397278, 0.18357649445533752, -0.8170377016067505, -0.024339070543646812, -0.03840905427932739, -0.06146137788891792, 0.20137853920459747, 0.1234055757522583, -0.47691619396209717, -0.20046882331371307, -0.543025016784668, 0.2817661762237549, 0.5297055244445801, -0.4567885994911194, 0.5907824039459229, 0.292034775018692, -0.48075729608535767, -0.4639904201030731, -0.341974139213562, 0.2653108239173889, -0.34718990325927734, -0.7302510142326355, -0.1849694401025772, -0.4914771020412445, -0.24262535572052002, -0.33095812797546387, -0.10963061451911926, 0.1327551156282425, 0.40776053071022034, 0.1908155232667923, 0.4589880406856537, -0.16837139427661896, -0.11291685700416565, 0.11379210650920868, -0.3402019143104553, 0.22605501115322113, 0.3407151401042938, 0.47139817476272583, -0.4939185380935669, -0.5754874348640442, -0.24741649627685547, 0.2897945046424866, 0.43312498927116394, -0.227672278881073, 0.24445569515228271, 0.22896429896354675, -0.25053369998931885, -0.4544507563114166, -0.47478002309799194, -0.01639449968934059, -0.5582861304283142, 0.5689461827278137, -0.2625240683555603, -0.527293860912323, 0.17477506399154663, -0.22637370228767395, 0.14321275055408478, 0.31696629524230957, 0.4848003685474396, 0.12028209120035172, 1.1439603567123413, 0.1998542696237564, -0.08225221186876297, 0.10620144754648209, 0.10775157809257507, 0.13085110485553741, -0.7598223686218262, -0.1534094214439392, -0.5739344954490662, 0.1767871379852295, -0.4259825348854065, -0.3149126172065735, 0.6930171847343445, -0.1831437647342682, -0.5875256657600403, 0.30021169781684875, -0.21105560660362244, 0.5279309749603271, 0.17904075980186462, -0.12728722393512726, 0.11230696737766266, -0.22450047731399536, -0.28042739629745483, 0.08277050405740738, -0.2753480076789856, -0.8603787422180176, 1.1937878131866455, 0.45596548914909363, 0.9078584313392639, -0.006114208605140448, 0.7366943359375, 0.22252649068832397, 0.48146122694015503, -0.4947408437728882, 0.9545285105705261, -0.06703855097293854, -0.2647280991077423, -0.2233262062072754, -0.38940030336380005, -0.8448455929756165, 0.24200718104839325, -0.19251196086406708, -0.7554333806037903, -0.5790987014770508, -0.08601582050323486, -0.6421509385108948, 0.20053017139434814, -0.5190412402153015, 0.7481826543807983, -0.9072296619415283, -0.18728700280189514, -0.002784004667773843, -0.47182586789131165, 0.5623566508293152, -0.41212302446365356, 0.35590776801109314, -0.29611366987228394, -0.12865257263183594, 0.5020155310630798, -0.07260797917842865, 0.6528698205947876, 0.06596849858760834, -0.34399476647377014, -0.009979315102100372, 0.3773971498012543, 0.6668302416801453, -0.077505923807621, -0.4204883873462677, 0.10604382306337357, 0.01766110584139824, 0.057319704443216324, -0.5874629020690918, 0.8791102170944214, -0.5336030721664429, -0.7381359338760376, -0.47649675607681274, -0.4318434000015259, -0.26080527901649475, 0.23631690442562103, -0.11250729858875275, 0.16424933075904846, -0.3039478659629822, 0.1343870759010315, 0.496195524930954, -0.748755156993866, 0.39835667610168457, 0.7827950716018677, -0.2802714407444, -0.6323004364967346, 0.9006018042564392, -0.14333969354629517, 0.42787760496139526, 0.02714010328054428, 0.15217112004756927, -0.4561024606227875, -0.6530387997627258, -0.6758942604064941, -0.16513539850711823, -0.8749415278434753, -0.39045843482017517, -0.552180826663971, -0.5818824768066406, -0.15934161841869354, -0.37391528487205505, -0.39873960614204407, 0.07038043439388275, 0.08696521818637848, -0.25915637612342834, 0.2872440218925476, 0.6200128197669983, 0.2921202778816223, 0.025915570557117462, -0.8239471316337585, -0.020739680156111717, 0.10997813194990158, 0.28566646575927734, -0.14593416452407837, -0.25210312008857727, -0.11303076893091202, -0.2867072522640228, -0.374244749546051, -0.7261372804641724, 0.2954567074775696, 0.007307864725589752, 0.7886245846748352, 0.44426748156547546, 0.39524906873703003, 0.33893588185310364, -0.9015387296676636, 1.006277322769165, 0.24872688949108124, -0.8440638184547424, 0.6374092102050781, -0.24120363593101501, -0.24654968082904816, 0.4968024492263794, 0.14788372814655304, -0.3959521949291229, -0.4090449810028076, -0.572376549243927, -1.1189937591552734, 0.41462090611457825, -0.05099473521113396, 0.015020872466266155, -0.24262015521526337, -0.06869472563266754, 0.3020111918449402, 0.058482442051172256, -0.5313943028450012, -0.2506484091281891, 0.20963874459266663, -0.27804186940193176, -0.15135200321674347, -0.30306476354599, -0.3312128186225891, 0.22867368161678314, 0.5750296711921692, -0.24339552223682404, -0.05173372104763985, -0.34156909584999084, -0.10573136061429977, -0.09148655831813812, 0.4815463125705719, 0.5278112292289734, 0.32238033413887024, -0.09202691167593002, 0.32375890016555786, 0.8074524998664856, -0.12714044749736786, 0.37220868468284607, 0.17857517302036285, -0.17771469056606293, -0.33556824922561646, 0.39210084080696106, 0.7755774259567261, 0.508777379989624, -1.0926591157913208, 0.6088554859161377, -0.06936867535114288, -0.21504728496074677, -0.3779427707195282, 0.5203464031219482, -0.0027319269720464945, 0.1909734159708023, 0.28128597140312195, -0.005607031751424074, 0.0611921064555645, -0.22710873186588287, 0.3843271732330322, 0.3285194933414459, -0.07826386392116547, -0.12324513494968414, 0.6213803887367249, 0.34067076444625854, -0.3738189935684204, -0.011537661775946617, -0.16419075429439545, -0.40177738666534424, 0.7131759524345398, 0.4293593764305115, 1.1391420364379883, -0.5858047604560852, 0.12295110523700714, 0.30232366919517517, 0.4480063319206238, -0.014609861187636852, 0.41727253794670105, 0.40063637495040894, -0.39053651690483093, -0.13027645647525787, -0.7531062960624695, -0.4869154989719391, 0.3206741511821747, -0.5875145196914673, 0.27360546588897705, -0.6262307167053223, 0.06840814650058746, -0.2707175612449646, -0.07791323959827423, -0.6004580855369568, 0.25519445538520813, 0.11987961083650589, 1.0995681285858154, -0.8867886662483215, 0.5079441666603088, 0.5633137822151184, -0.18277832865715027, -0.7243248224258423, 0.17527714371681213, 0.14379361271858215, -0.8798494338989258, 0.5838768482208252, 0.3454950749874115, -0.20446394383907318, -0.23321616649627686, 0.011731186881661415, -0.9326379299163818, 1.1929436922073364, 0.6631863117218018, -0.7074699401855469, 0.37962067127227783, 0.35061001777648926, 0.5057764649391174, -0.5059413909912109, 0.536838710308075, 0.6602936387062073, 0.48737236857414246, -0.2646542191505432, -0.918105959892273, 0.500621497631073, -0.30983394384384155, 0.28262901306152344, -0.05705295875668526, -0.6913527846336365, 0.6840908527374268, -0.09124112129211426, -0.18860593438148499, 0.2096928358078003, 0.1390412151813507, 0.8262140154838562, 0.44926995038986206, 0.7075092196464539, 0.21215781569480896, 0.535854697227478, 0.03470563888549805, 1.1120927333831787, -0.7139587998390198, 0.06938918679952621, 1.010012149810791, -0.745179295539856, 1.1690459251403809, 0.27740272879600525, -0.33490830659866333, 0.24134404957294464, 0.6766470670700073, 0.03913953900337219, 0.348016619682312, 0.5274219512939453, -0.415283203125, -0.27863195538520813, 0.047946155071258545, -0.40031424164772034, 0.13659875094890594, 0.2574102580547333, -0.463205486536026, -0.45709869265556335, -0.033440593630075455, -0.08649590611457825, -0.02844640426337719, -0.09271101653575897, 0.6828875541687012, 0.018637679517269135, -0.4975501596927643, 0.5541887879371643, -0.13076737523078918, 0.4416716992855072, -0.626555323600769, 0.23440875113010406, -0.18687887489795685, 0.14847198128700256, 0.0647149458527565, -0.8618764877319336, -0.05062418058514595, 0.3231027126312256, 0.4575978219509125, -0.21091358363628387, 0.6625704765319824, -0.3007836937904358, -0.595651388168335, 0.4881642460823059, 0.40674811601638794, 0.26032260060310364, 0.1034252792596817, -0.7326741218566895, 0.37359103560447693, -0.08887775242328644, -0.5214709639549255, 0.5475830435752869, 0.28341400623321533, -0.15836657583713531, 0.8839015364646912, 0.6643406748771667, 0.11331596970558167, 0.06176770478487015, 0.15397688746452332, 0.8474058508872986, -0.662784993648529, -0.45505037903785706, -0.8572107553482056, 0.7009463310241699, 0.017517877742648125, -0.26992711424827576, 0.7780254483222961, 0.5342553853988647, 0.5244369506835938, -0.11544572561979294, 1.2048401832580566, 0.25502389669418335, 0.17591768503189087, -0.6028238534927368, 0.9400596618652344, -0.5072438716888428, 0.5510156750679016, -0.3158039450645447, -0.7524378895759583, -0.3486930727958679, 0.3524514436721802, -0.2553618550300598, 0.13953562080860138, 0.7985224723815918, 1.026474118232727, 0.3070933222770691, -0.11489659547805786, 0.47775229811668396, 0.08313470333814621, 0.4844697117805481, 0.6662679314613342, 1.1373835802078247, -0.45978397130966187, 0.7476086020469666, 0.009750429540872574, -0.24497374892234802, -0.41661232709884644, -1.236130952835083, -0.8136273622512817, -0.43137213587760925, -0.5236936807632446, -0.37448760867118835, 0.23528505861759186, 1.0897051095962524, 0.343172550201416, -0.7008606195449829, -0.08861323446035385, 0.07310634851455688, -0.0010152168106287718, -0.23976105451583862, -0.2027614861726761, 0.6223787665367126, -0.4806223511695862, -0.5896642208099365, 0.8653098344802856, 0.5372781157493591, 0.03220381587743759, -0.43404027819633484, -0.3286762237548828, 0.2812751531600952, 0.23829473555088043, 0.559572696685791, -0.013447876088321209, -0.6460776329040527, -0.5959509611129761, -0.03164593502879143, -0.21088865399360657, -0.34269383549690247, 0.3555929958820343, -0.14674390852451324, 0.2064746618270874, 0.34537747502326965, 0.8534715175628662, -0.07041170448064804, -0.4158109128475189, 0.6107561588287354, -0.7054440975189209, -0.21502147614955902, 0.056748129427433014, 0.5425023436546326, 0.26940563321113586, -0.35730916261672974, 0.4220687448978424, -0.21276605129241943, -0.5717008709907532, -1.2104898691177368, 0.2736130654811859, -0.8518185615539551, -0.03897435590624809, 1.5908939838409424, -0.3437647223472595, -0.2736448347568512, 0.052096422761678696, -0.36255931854248047, 0.07924751937389374, -0.28712257742881775, 1.0537526607513428, 0.40777289867401123, -0.05495854467153549, -0.11821569502353668, -0.5600571036338806, 0.47390294075012207, 0.2616862952709198, -1.2131586074829102, 0.32202741503715515, 0.3250925540924072, 0.552347719669342, -0.10227356851100922, 0.2653266191482544, -0.027241133153438568, 0.37364622950553894, -0.018946455791592598, 0.14393052458763123, -0.19113510847091675, -0.36468130350112915, -0.40061354637145996, 0.08784139156341553, 0.13021321594715118, -0.08373066037893295 ]
http://arxiv.org/abs/2405.14189v1
http://arxiv.org/pdf/2405.14189v1
Semantic-guided Prompt Organization for Universal Goal Hijacking against LLMs
2024-05-23T05:31:41
2024-05-23T05:31:41
Yihao Huang, Chong Wang, Xiaojun Jia, Qing Guo, Felix Juefei-Xu, Jian Zhang, Geguang Pu, Yang Liu
cs.CL
cs.CL, cs.CV
With the rising popularity of Large Language Models (LLMs), assessing their trustworthiness through security tasks has gained critical importance. Regarding the new task of universal goal hijacking, previous efforts have concentrated solely on optimization algorithms, overlooking the crucial role of the prompt. To fill this gap, we propose a universal goal hijacking method called POUGH that incorporates semantic-guided prompt processing strategies. Specifically, the method starts with a sampling strategy to select representative prompts from a candidate pool, followed by a ranking strategy that prioritizes the prompts. Once the prompts are organized sequentially, the method employs an iterative optimization algorithm to generate the universal fixed suffix for the prompts. Experiments conducted on four popular LLMs and ten types of target responses verified the effectiveness of our method.
[ -0.14795780181884766, -1.0662846565246582, 0.9298865795135498, 0.15181928873062134, -0.30355527997016907, -0.003973448183387518, 0.1549428552389145, -0.22325198352336884, 0.14519821107387543, 0.863209068775177, -0.9259523153305054, -1.0161347389221191, -0.6037582159042358, 0.12879036366939545, -0.08463530242443085, 1.0104931592941284, 0.25456002354621887, -0.14644458889961243, -0.029685351997613907, 0.27144894003868103, -0.902653694152832, -0.5108506083488464, -0.6979483962059021, 0.07678630203008652, 0.6191200017929077, 0.6944562196731567, 0.745497465133667, 0.7659033536911011, 0.6843594908714294, 0.25158795714378357, -0.25547555088996887, 0.12986022233963013, -0.44447559118270874, 0.3996780812740326, -0.29227444529533386, -0.28672555088996887, -0.48355671763420105, 0.14207512140274048, 0.5798903107643127, 0.6538739800453186, -0.12834987044334412, 0.1305379420518875, 0.17865176498889923, 0.2574586570262909, -0.7997865080833435, -0.1529528796672821, -1.0293059349060059, -0.017089655622839928, -0.09090336412191391, -0.47150883078575134, -0.3824199140071869, -0.38063979148864746, 0.23610880970954895, -0.7760245203971863, -0.047901030629873276, 0.5038355588912964, 0.7211320996284485, 0.13476429879665375, -0.029014386236667633, -0.37463873624801636, -0.3385339379310608, 0.9803130626678467, -0.4057213366031647, -0.07525046169757843, 0.3177553713321686, 0.22338037192821503, -0.7726853489875793, -0.38808345794677734, -0.16221114993095398, -0.3182019293308258, 0.20298181474208832, -0.029113028198480606, -0.13286513090133667, 0.45546141266822815, 0.33672627806663513, -0.14223384857177734, -0.6679511070251465, 0.17251107096672058, -0.06522412598133087, -0.7103980183601379, 0.42990201711654663, 0.26162171363830566, 0.5116419196128845, -0.22333259880542755, -0.8865603804588318, -0.12022288888692856, -0.673002302646637, 0.32636481523513794, 0.3395164906978607, 0.5731148719787598, 0.4373430907726288, 0.6596826910972595, -0.5381371378898621, 0.8392241597175598, 0.09678656607866287, -0.3207934498786926, -0.20566514134407043, -0.28651171922683716, -0.1646249145269394, 0.4147498905658722, 0.5133466720581055, 0.5958293080329895, 0.27115917205810547, -0.1961032599210739, -0.2298249751329422, 0.14992724359035492, 0.2558140754699707, -0.7016707062721252, 0.29534199833869934, 0.36337897181510925, -0.3234836757183075, -0.3516271412372589, 0.34206852316856384, -0.9580170512199402, -0.3947463929653168, -0.22553645074367523, 0.5431955456733704, -0.5234894752502441, 0.1741604208946228, 0.42301297187805176, -0.31106460094451904, 0.34247562289237976, 0.4191012680530548, -0.4773034453392029, 0.12725462019443512, 0.9555187225341797, 0.792820155620575, -0.10712379217147827, -0.5019122958183289, -1.4651826620101929, 0.31938785314559937, -0.21060609817504883, 0.6760686635971069, -0.9678744077682495, -0.6797003746032715, 0.23612363636493683, -0.23623062670230865, 0.08380327373743057, -0.18228061497211456, 0.7070978283882141, -0.6684224009513855, 0.28551092743873596, -0.4395500719547272, -0.5910527110099792, 0.0025735243689268827, 0.4645613431930542, -0.3800431489944458, 0.8158079385757446, -0.24433965981006622, -0.6242820024490356, 0.29811596870422363, -0.6295375227928162, -0.2344742715358734, 0.1615184098482132, -0.025901589542627335, -0.13499942421913147, 0.17396745085716248, 0.2216179221868515, 0.6127357482910156, -0.4318736493587494, 0.2712809145450592, -0.15744446218013763, -0.44573473930358887, -0.11918584257364273, -0.012435469776391983, 0.9266526103019714, 0.19327367842197418, -0.29115942120552063, 0.4429519474506378, -0.6538875699043274, -0.06044969707727432, 0.09615400433540344, -0.2533216178417206, -0.5786300301551819, -0.17860664427280426, -0.5190706849098206, -0.09183282405138016, 0.6108065843582153, -0.8280552625656128, 0.25549477338790894, -0.4191686809062958, -0.01525656133890152, 0.9714255332946777, 0.4513271749019623, 0.5511064529418945, -0.2005029171705246, 0.4532913863658905, -0.11702381074428558, 0.6442808508872986, -0.32220256328582764, -0.8566020131111145, -0.09832565486431122, -0.5026183724403381, -0.15350276231765747, 0.667981743812561, -0.460619181394577, 0.720358669757843, 0.12809133529663086, -0.31427308917045593, -0.4271392822265625, 0.1597035676240921, 0.42020881175994873, 0.7243740558624268, 0.35930848121643066, 0.043806109577417374, -0.18172310292720795, -0.8006688356399536, -0.5786416530609131, -0.2719547748565674, -0.32220807671546936, -0.27418142557144165, 0.2973819673061371, -0.2217932641506195, 1.068649411201477, -0.6455109715461731, -0.586312472820282, 0.12851817905902863, 0.1676301509141922, 0.3289836347103119, 0.3664115071296692, 0.42154809832572937, -0.8039429187774658, -0.34070608019828796, -0.45369216799736023, -0.5237894654273987, -0.17911137640476227, -0.06834027171134949, -0.5607297420501709, -0.09888079017400742, 0.5756665468215942, -0.6691465973854065, 0.5855169296264648, 0.14365290105342865, -0.6183063387870789, 0.7864155173301697, -0.06300723552703857, 0.16755864024162292, -0.9518892168998718, -0.20178504288196564, -0.3933820426464081, 0.07324563711881638, -0.6544325947761536, 0.26354727149009705, -0.16608504951000214, -0.2224792242050171, -0.4936089515686035, 0.6434515118598938, -0.6872926354408264, 0.19262000918388367, -0.07667386531829834, 0.42053085565567017, -0.11279299855232239, 0.397065669298172, -0.23556330800056458, 0.3462297022342682, 0.9835832715034485, -0.773212730884552, 0.6356629133224487, 0.3410086929798126, -0.24743710458278656, 0.8747178316116333, -0.7876507639884949, 0.18323032557964325, -0.3431742489337921, -0.06505301594734192, -1.4766716957092285, -0.2951657772064209, 0.4056365489959717, -0.529818058013916, 0.10282830148935318, 0.028241397812962532, -0.4019852578639984, -0.18413248658180237, -0.7239056825637817, 0.11740679293870926, 0.48907792568206787, -0.5208219885826111, 0.6396900415420532, 0.17494092881679535, 0.15706807374954224, -0.5638855695724487, -0.2822822630405426, 0.0724678784608841, -0.3871217370033264, -0.597156822681427, 0.36420750617980957, -0.11360076069831848, -0.3910136818885803, -0.029963059350848198, -0.2748880982398987, 0.40540674328804016, 0.4321258068084717, 0.3168335258960724, 0.5213150978088379, -0.01131198275834322, -0.1849333792924881, -0.14932914078235626, -0.3709704875946045, 0.0032051794696599245, -0.7048999667167664, 0.3877614438533783, 0.1987065225839615, -0.49332648515701294, -0.5586051344871521, 0.5777817368507385, 0.5334740877151489, -0.44103512167930603, 0.7799345254898071, 0.36406147480010986, -0.3667662441730499, -0.34652137756347656, -0.5423393845558167, -0.3608005940914154, -0.5249820947647095, 0.19006353616714478, -0.5076143145561218, -1.1137927770614624, 0.4231876730918884, -0.1055554449558258, 0.4300890862941742, 0.09909236431121826, 0.2683038115501404, 0.05958636477589607, 1.073852300643921, 0.6516295671463013, -0.27443239092826843, 0.5768837928771973, 0.26781147718429565, 0.10809638351202011, -0.5090102553367615, -0.08631492406129837, -0.8366644978523254, -0.12318232655525208, -0.3519231975078583, -0.27102530002593994, 0.6845015287399292, 0.3696543872356415, -0.24658945202827454, 0.4497336149215698, -0.8783107399940491, 0.6258036494255066, 0.6432042717933655, -0.14031490683555603, 0.37250134348869324, 0.3428473472595215, -0.5293529629707336, 0.12594003975391388, -0.4976847469806671, -0.661329984664917, 0.8116748929023743, 0.13483919203281403, 0.7401561141014099, 0.04711860045790672, 0.9493697881698608, 0.3309589624404907, -0.11261794716119766, -0.7084852457046509, 1.0304183959960938, 0.28969019651412964, -0.42494136095046997, -0.7476931810379028, -0.37399840354919434, -1.2573601007461548, 0.2420734316110611, -0.005080960225313902, -1.365118145942688, -0.13688813149929047, -0.05376843735575676, -0.5258275866508484, 0.27768275141716003, -0.3779938817024231, 0.7449783682823181, -0.0681287944316864, -0.21150259673595428, -0.12733504176139832, -0.7886595726013184, 0.16679562628269196, 0.14890742301940918, 0.14727874100208282, -0.5389960408210754, -0.3630337417125702, 0.7369927763938904, -0.40699562430381775, 0.8033429980278015, -0.5725529789924622, -0.21639834344387054, 0.45303452014923096, 0.30489882826805115, 0.838711678981781, -0.02181769162416458, -0.2670852243900299, 0.12099804729223251, -0.05414588749408722, -0.499124675989151, -0.560025691986084, 0.5944978594779968, -0.3823317587375641, -0.9968329668045044, -0.31657952070236206, -0.21814867854118347, -0.4436112642288208, 0.2880605161190033, 0.4547801613807678, 0.5571204423904419, -0.2952025532722473, 0.026621300727128983, 0.5959149599075317, -0.13734784722328186, 0.4557395875453949, 0.5885127782821655, -0.1608378142118454, -0.29152846336364746, 0.7106485962867737, -0.10795249789953232, 0.32171106338500977, 0.7357492446899414, 0.44996681809425354, -0.261138379573822, -0.5895398259162903, -0.23751699924468994, 0.2125251740217209, -0.615159273147583, -0.29252249002456665, -0.3931082487106323, 0.11141704767942429, -0.4698473811149597, -0.4490968883037567, 0.034305233508348465, 0.007663275580853224, -0.2003045231103897, -0.05805365741252899, 0.2636929452419281, 0.49601516127586365, 0.2097497433423996, 0.45562291145324707, -0.8744714856147766, 0.3353860378265381, 0.3180514872074127, 0.209553524851799, -0.07178876549005508, -0.3811505436897278, 0.17534664273262024, -0.09876569360494614, -0.07352260500192642, -1.1487759351730347, -0.028072413057088852, -0.03234216943383217, 0.867184579372406, 0.4625912308692932, 0.448650598526001, 0.43830281496047974, -0.48446324467658997, 0.8159710764884949, 0.3387717604637146, -0.832268238067627, 0.9560638070106506, -0.3865654766559601, 0.34933343529701233, 0.6018847823143005, 0.4624633491039276, -0.49925196170806885, -0.538956344127655, -0.3778338134288788, -0.7917464971542358, 0.5997145771980286, 0.14653845131397247, 0.042315416038036346, -0.12157168984413147, 0.42911162972450256, 0.006442151963710785, 0.3024856448173523, -0.0019472410203889012, -0.07805880159139633, 0.15026943385601044, -0.1276879608631134, 0.22971686720848083, -0.4932834506034851, -0.17435628175735474, 0.26150932908058167, 0.5364379286766052, -0.2480456531047821, 0.09843676537275314, 0.4176446497440338, 0.05107459798455238, 0.012985415756702423, 0.3648010194301605, 0.1324365735054016, 0.34197357296943665, -0.2008192390203476, -0.044115081429481506, -0.13082705438137054, -0.5970531702041626, 0.21222227811813354, -0.1940484493970871, -0.5300857424736023, -0.03383007273077965, 0.3945595324039459, 0.539382815361023, 0.2181750386953354, -0.6050159335136414, 0.500643253326416, -0.032075077295303345, -0.2613326609134674, 0.12703387439250946, 0.4775424301624298, -0.3694634437561035, 0.09882248193025589, 0.5239329934120178, -0.20099759101867676, 0.1594410091638565, -0.6194085478782654, 0.24329246580600739, 0.6976318955421448, -0.2288253754377365, -0.28638339042663574, 0.5402096509933472, 0.08440139144659042, -0.5690073370933533, 0.4303434491157532, -0.15628524124622345, -0.567596435546875, 0.35547906160354614, 0.3746075928211212, 1.1162080764770508, -0.5491464138031006, 0.35535645484924316, 0.4575484097003937, 0.4491691291332245, -0.10500828921794891, 0.38789260387420654, -0.2219114750623703, -0.6892113089561462, -0.19017179310321808, -0.943385660648346, -0.5929961800575256, -0.06706240773200989, -0.625440239906311, 0.3163036108016968, -0.6000369191169739, -0.19245277345180511, -0.11287571489810944, -0.02997651882469654, -0.5460278987884521, 0.05706669017672539, -0.0593072772026062, 0.9165081977844238, -0.35383468866348267, 0.5010861158370972, 0.825205385684967, -0.3147345781326294, -0.6702369451522827, 0.2224499136209488, 0.36283332109451294, -0.976580798625946, 0.3661729693412781, 0.31294870376586914, -0.4394682049751282, 0.09508459270000458, -0.8680717945098877, -0.9014497995376587, 0.8016607165336609, 0.2816745638847351, -0.5558886528015137, -0.3837548792362213, 0.23600126802921295, 0.060337815433740616, -0.3673217296600342, -0.2868257761001587, 0.6279693841934204, 0.7848284244537354, 0.3432317078113556, -0.5934855341911316, 0.26923906803131104, 0.16503854095935822, -0.013605996035039425, 0.09319616109132767, -0.343740850687027, 0.6596538424491882, -0.18222978711128235, -0.38907915353775024, 0.22650869190692902, 0.4992123246192932, 0.4520173966884613, 0.12271605432033539, 0.7484140992164612, 0.16017811000347137, 1.1355153322219849, -0.06148238107562065, 0.8805446028709412, -0.15593120455741882, 0.015619315207004547, 0.8841601610183716, -0.4796777069568634, 0.6281605362892151, 0.5343865752220154, 0.13046301901340485, 0.24857215583324432, 0.4091775417327881, 0.07104916125535965, 0.47814369201660156, 0.3389691412448883, -0.15302197635173798, -0.3898167014122009, -0.32482728362083435, 0.03955923020839691, 0.5030445456504822, 0.345645934343338, 0.22479397058486938, -0.5094897747039795, 0.2044501155614853, 0.23259802162647247, 0.0867619439959526, -0.49257948994636536, 0.9715218544006348, -0.03392629697918892, -0.981839656829834, 0.4960387349128723, 0.05251463130116463, 0.7426360249519348, -0.9829562902450562, 0.06314929574728012, -0.03152477741241455, 0.05211314931511879, -0.02576253190636635, -0.6014411449432373, 0.10519011318683624, 0.08633102476596832, -0.16864198446273804, -0.24489155411720276, 0.9705218076705933, -0.36965274810791016, -0.11088750511407852, 0.5518835186958313, 0.3208959698677063, 0.15555354952812195, -0.6090545058250427, -0.5297790169715881, 0.09236150234937668, -0.013084673322737217, -0.296319842338562, 0.4215031862258911, 0.609015703201294, -0.26760950684547424, 0.4037284553050995, 0.7889770865440369, 0.1869872808456421, -0.029934346675872803, -0.2034163624048233, 0.7092292308807373, -0.7647805213928223, -0.8408048152923584, -1.0789108276367188, 0.4201270639896393, -0.2281341552734375, -0.21337836980819702, 1.1854774951934814, 0.22757302224636078, 0.6541094183921814, 0.12654440104961395, 0.5378071069717407, 0.28974229097366333, 0.5149343609809875, -0.7356876730918884, 0.3499464690685272, -0.5612639784812927, 0.2602538764476776, -0.41086918115615845, -1.1596013307571411, -0.44476598501205444, 0.2898896336555481, -0.342538058757782, -0.3626774549484253, 0.5573864579200745, 1.0696073770523071, 0.3635503947734833, 0.2379329949617386, 0.6182522177696228, 0.049685269594192505, 0.42714402079582214, 0.48143476247787476, 0.9479499459266663, 0.08497187495231628, 0.6015770435333252, 0.07833172380924225, -0.5499659180641174, -0.4486020505428314, -1.0561600923538208, -1.0010161399841309, -0.37038394808769226, -0.25051334500312805, -0.332364022731781, 0.20080427825450897, 1.0504145622253418, 0.6032971143722534, -0.8362170457839966, -0.08183103054761887, 0.022531740367412567, 0.39012858271598816, -0.15836161375045776, -0.19547292590141296, 0.3721686899662018, -0.7179362177848816, -0.41170570254325867, 0.5566822290420532, 0.48528674244880676, -0.20229464769363403, -0.18241563439369202, 0.03313145786523819, -0.08743476867675781, 0.27645811438560486, 0.4500969350337982, 0.02203097939491272, -0.7310468554496765, -0.4084949791431427, 0.23069776594638824, -0.2213944047689438, -0.27764078974723816, 0.8860394358634949, -0.45551320910453796, 0.31615909934043884, 0.5612434148788452, 0.7805479168891907, -0.1691598892211914, 0.29730623960494995, 0.41089680790901184, -0.8500849604606628, 0.001759697450324893, 0.19559860229492188, 0.3093571364879608, 0.14721065759658813, -0.5768546462059021, 0.23532593250274658, 0.3634847104549408, -0.432295024394989, -0.7542705535888672, 0.26032137870788574, -0.7854281663894653, -0.549298107624054, 1.2447408437728882, -0.09234892576932907, -0.6796908974647522, -0.2383458912372589, -0.623237133026123, -0.022757580503821373, -0.7082956433296204, 0.5409029126167297, 0.7500882744789124, 0.13583365082740784, 0.5723487138748169, -0.252249538898468, 0.6140925288200378, 0.34076693654060364, -0.5152549147605896, 0.03833991289138794, 0.7534233331680298, 0.07523185759782791, 0.44344380497932434, 0.636481523513794, -0.107256218791008, 0.1897539645433426, -0.05503226816654205, -0.2722635865211487, -0.17233429849147797, -0.796712338924408, -0.32505345344543457, 0.5865437388420105, -0.18157519400119781, -0.5987573862075806 ]
http://arxiv.org/abs/2405.14179v2
http://arxiv.org/pdf/2405.14179v2
UzMorphAnalyser: A Morphological Analysis Model for the Uzbek Language Using Inflectional Endings
2024-05-23T05:06:55
2024-06-12T09:16:46
Ulugbek Salaev
cs.CL
cs.CL
As Uzbek language is agglutinative, has many morphological features which words formed by combining root and affixes. Affixes play an important role in the morphological analysis of words, by adding additional meanings and grammatical functions to words. Inflectional endings are utilized to express various morphological features within the language. This feature introduces numerous possibilities for word endings, thereby significantly expanding the word vocabulary and exacerbating issues related to data sparsity in statistical models. This paper present modeling of the morphological analysis of Uzbek words, including stemming, lemmatizing, and the extraction of morphological information while considering morpho-phonetic exceptions. Main steps of the model involve developing a complete set of word-ending with assigned morphological information, and additional datasets for morphological analysis. The proposed model was evaluated using a curated test set comprising 5.3K words. Through manual verification of stemming, lemmatizing, and morphological feature corrections carried out by linguistic specialists, it obtained a word-level accuracy of over 91%. The developed tool based on the proposed model is available as a web-based application and an open-source Python library.
[ -0.2094670832157135, -0.8467773795127869, 0.06438238173723221, 0.2659279704093933, -0.7885959148406982, -0.07060801237821579, 0.026032811030745506, -0.23411902785301208, -0.08366642147302628, 0.48943084478378296, -0.8530597686767578, -0.4651010036468506, -0.3934018313884735, 0.3103017210960388, -0.46914178133010864, 0.60128253698349, 0.12536892294883728, 0.5575090646743774, 0.10830717533826828, -0.1325521469116211, -0.20696794986724854, -0.5991441607475281, 0.02477688528597355, -0.577548086643219, -0.14550714194774628, 0.26162269711494446, 0.859967052936554, 0.9083316922187805, 0.3233286440372467, 0.2769778370857239, -0.19643430411815643, -0.19719994068145752, 0.10284384340047836, 0.5185234546661377, 0.07202158868312836, -0.18611477315425873, 0.05496310070157051, -0.2126532793045044, 0.4284461736679077, 0.7467488050460815, -0.4881518483161926, -0.0073884702287614346, -0.17198075354099274, 0.4108371138572693, -0.17474545538425446, -0.23271702229976654, -0.5542047619819641, 0.08278930932283401, -0.6267898678779602, -0.1111859381198883, -0.17561617493629456, -0.1602495163679123, -0.051378048956394196, 0.008595773950219154, 0.103236123919487, -0.2537684142589569, 0.8330402374267578, 0.0845814123749733, -0.11661721765995026, -0.4679105877876282, -0.33979693055152893, 0.6131507754325867, -1.0344749689102173, 0.8019747734069824, 0.05050855875015259, 0.163598895072937, -0.9874427914619446, -0.4170771539211273, -0.6518796682357788, -0.42213448882102966, 0.04767598956823349, 0.08837529271841049, -0.2830222249031067, 0.26585653424263, -0.2615894079208374, 0.4774641990661621, -0.7773340344429016, -0.09282936900854111, -0.28869298100471497, -0.0938124731183052, 0.31768113374710083, 0.49472811818122864, 0.9285563826560974, -0.6166906356811523, -0.2341964840888977, 0.10308332741260529, -0.4808949828147888, 0.2641592025756836, 0.8366094827651978, 0.6677322387695312, 0.18434087932109833, 1.1987627744674683, -0.4346201419830322, 0.7926774621009827, -0.012664509937167168, -0.22019562125205994, 0.13274222612380981, -0.3688059449195862, -0.315354585647583, -0.43110597133636475, 0.8243653178215027, 0.049598921090364456, 0.3041404187679291, -0.3317232131958008, -0.14770643413066864, -0.18469475209712982, 0.13096989691257477, -0.6244802474975586, -0.4108562767505646, 0.36581650376319885, -0.4831545650959015, -0.06874450296163559, 0.14216898381710052, -0.9101585149765015, -0.18166998028755188, -0.09036406874656677, 0.314500093460083, -1.0730777978897095, -0.3169626295566559, 0.3815213739871979, -0.26187849044799805, 0.10290855169296265, 0.0645575076341629, -0.9584596753120422, 0.5358095169067383, 0.45564186573028564, 1.086643099784851, -0.35093364119529724, -0.2705637514591217, -0.15835058689117432, -0.1833290308713913, 0.027944155037403107, 0.9674960970878601, -0.7833159565925598, -0.6434243321418762, 0.13778409361839294, 0.08749417215585709, -0.09570404887199402, -0.2589128315448761, 0.5061529874801636, -0.28495728969573975, 0.028664395213127136, 0.684057354927063, -0.753399670124054, -0.3784235715866089, -0.10986223816871643, -0.39530447125434875, 1.1051360368728638, 0.40779441595077515, -0.4446277320384979, 0.2525629699230194, -0.6650895476341248, -0.209163099527359, 0.446088969707489, -0.0018771564355120063, -0.2723831832408905, 0.39377787709236145, -0.003223907668143511, 0.3681717813014984, -0.14865149557590485, 0.009351522661745548, 0.11331801116466522, -0.05772607773542404, 0.26425597071647644, -0.05091845989227295, 1.1628494262695312, 0.07938183099031448, -0.031465187668800354, 0.29963821172714233, -0.8973203301429749, 0.3247964680194855, -0.09154713898897171, -0.506080150604248, -0.5150173306465149, 0.006441768258810043, 0.3664100170135498, 0.004832777660340071, -0.078178271651268, -0.7001200914382935, 0.5608961582183838, -0.5471146702766418, 0.11967059969902039, 0.5578505396842957, 0.07092422991991043, 0.2426316738128662, 0.3587859869003296, 0.641516923904419, -0.10909842699766159, 0.4954105615615845, -0.06264538317918777, -0.8398816585540771, -0.5764064788818359, -0.9031749963760376, 0.41615259647369385, 0.3070303797721863, -0.5340031385421753, 0.4897124469280243, -0.025998223572969437, -0.676089346408844, -0.24733678996562958, 0.02850572019815445, 0.21749281883239746, 0.2629489600658417, 0.15882548689842224, -0.07755882292985916, -0.6041144728660583, -0.7731851935386658, -0.38455620408058167, -0.05553869158029556, -0.31803449988365173, -0.45768481492996216, 0.6834760904312134, -0.3185861110687256, 0.9147226810455322, -0.3690292239189148, -0.4805411696434021, -0.6229372620582581, 0.2628348171710968, 0.5888628959655762, 0.25302159786224365, 0.4093504846096039, -0.6797356605529785, -0.5557663440704346, 0.1457049697637558, -0.10975689440965652, -0.33318406343460083, 0.2414907068014145, 0.014800325967371464, 0.20720776915550232, 0.0032467294950038195, -0.8724558353424072, 0.5582732558250427, 0.5286232233047485, -0.7039604783058167, 0.7270344495773315, -0.294232577085495, 0.24053436517715454, -0.9133110642433167, -0.25814005732536316, 0.10004664212465286, 0.12181872129440308, -1.099162220954895, 0.41408777236938477, 0.005508421920239925, 0.17240557074546814, -0.37606149911880493, 0.475488543510437, -0.5183514356613159, 0.10280600190162659, -0.2767408788204193, -0.12401188910007477, -0.27667397260665894, 0.3599214255809784, -0.12405600398778915, 0.8625958561897278, 0.3284224271774292, -0.5695413947105408, 0.8862603306770325, 0.39950886368751526, -0.24571119248867035, 0.0034591893199831247, -0.4997156858444214, -0.09656593203544617, 0.18122966587543488, -0.45028868317604065, -1.231661319732666, -0.5359843969345093, 0.6792832016944885, -0.84677654504776, 0.07469292730093002, -0.6049354672431946, -0.7129946947097778, -0.3100365996360779, -0.5191279649734497, 0.16779160499572754, 0.4294488728046417, -0.4075356125831604, 0.8055292367935181, 0.48338782787323, -0.22863160073757172, -0.0926959440112114, -0.46008923649787903, -0.041414983570575714, -0.34700635075569153, -0.6516961455345154, 0.053263310343027115, 0.1444280445575714, -0.5136496424674988, -0.01358603686094284, 0.11584653705358505, -0.6582035422325134, -0.07820752263069153, 0.1983867883682251, 0.47528165578842163, 0.12881475687026978, 0.1573127955198288, 0.19020606577396393, -0.01667521707713604, -0.21350590884685516, -0.23704251646995544, 0.976270854473114, 0.14750848710536957, -0.2139802724123001, -0.4899723529815674, 0.2730819582939148, 0.6003880500793457, -0.0370882973074913, 0.7012564539909363, 0.16437548398971558, -0.6156085133552551, 0.21468695998191833, -0.2907140851020813, 0.23713289201259613, -0.38319429755210876, 0.3523966670036316, -0.5466991066932678, -0.23438820242881775, 0.8284894824028015, 0.029894234612584114, -0.07119494676589966, 0.6952453255653381, 0.8088149428367615, -0.11137589812278748, 1.1299052238464355, 0.8077706694602966, 0.08053646236658096, 0.4094669818878174, -0.043440237641334534, 0.14482508599758148, -0.7778017520904541, -0.6909685730934143, -0.7042087316513062, 0.6357766389846802, -0.4396013915538788, -0.20479102432727814, 0.17324121296405792, -0.005745698697865009, 0.3888903856277466, 0.5019142627716064, -0.40787240862846375, 0.19607368111610413, 0.24784789979457855, -0.41191166639328003, 0.29326966404914856, 0.3452351689338684, -0.36299026012420654, -0.3606722950935364, -0.19613191485404968, -0.4982426166534424, 0.6943244338035583, 0.12390481680631638, 0.8970218896865845, 0.2815258800983429, 0.11072730273008347, 0.7149019241333008, -0.2834751009941101, -1.1171954870224, 0.2807447016239166, -0.14991870522499084, -0.3235306739807129, -0.743983268737793, -0.08149842172861099, -0.5985310673713684, 0.6168511509895325, -0.10507474094629288, -1.1093677282333374, -0.012477296404540539, -0.17198117077350616, -0.009869729168713093, 0.08406208455562592, -0.21950368583202362, 0.6576862335205078, 0.019301097840070724, 0.1653316169977188, -0.12311356514692307, -0.27389952540397644, 0.3081264793872833, 0.1115385890007019, -0.005394104868173599, -0.2502959966659546, 0.040923669934272766, 0.683836817741394, -0.7124600410461426, 0.29649147391319275, -0.04465274140238762, 0.17723888158798218, 0.16695670783519745, 0.09946458041667938, 0.17742739617824554, -0.2504744827747345, -0.18404804170131683, 0.4434910714626312, 0.12440062314271927, -0.16029982268810272, -0.6528087854385376, 0.34184515476226807, -0.4755614399909973, -0.33535802364349365, -0.6131870150566101, -0.44555675983428955, -0.03779315948486328, 0.12929289042949677, 0.3825119435787201, 0.7889019846916199, -0.19357053935527802, -0.23707932233810425, 0.4109346568584442, 0.1448650360107422, 0.1734423041343689, 0.3485713601112366, -0.28141316771507263, -0.42932888865470886, 0.6101539731025696, 0.28236421942710876, -0.10782711952924728, -0.2306785136461258, 0.47672757506370544, -0.558920681476593, -1.1068423986434937, -1.0331069231033325, 0.3037390410900116, -0.6197470426559448, -0.2582535147666931, -0.6178739666938782, -0.30460238456726074, -0.6171903610229492, 0.28208521008491516, -0.177696093916893, -0.6116823554039001, -0.12334670126438141, 0.22266116738319397, 0.6878882050514221, 0.8993969559669495, 0.027439342811703682, 0.6178176999092102, -0.9078711271286011, 0.3403235077857971, -0.19280460476875305, 0.14365626871585846, -0.3071691393852234, -0.9046798944473267, -0.25842347741127014, 0.10144693404436111, -0.24894355237483978, -1.1654210090637207, 0.7865913510322571, 0.27194899320602417, 0.7808640599250793, 0.6270697116851807, -0.21272136270999908, 0.9580718874931335, -0.5396044254302979, 0.7663131356239319, 0.18339505791664124, -1.0802897214889526, 0.4266136884689331, -0.5035858154296875, 0.15291035175323486, 0.34169015288352966, 0.32744312286376953, -0.7765290141105652, -0.8107789158821106, -0.10530926287174225, -0.9269585013389587, 0.5283257961273193, 0.33493271470069885, 0.2769518792629242, -0.17215190827846527, 0.661104679107666, 0.5337608456611633, 0.017318693920969963, -0.35696497559547424, -0.22673359513282776, -0.27444133162498474, -0.363582968711853, 0.6533511281013489, -0.5804116129875183, 0.38888171315193176, -0.6525430679321289, 0.7996597290039062, 0.028597785159945488, -0.03326664865016937, -0.10111254453659058, -0.4655807614326477, 0.067753367125988, 0.3101363778114319, 0.6876223087310791, 0.4376257359981537, 0.002740514697507024, -0.24977023899555206, 0.06981618702411652, -0.9125717878341675, 0.26456812024116516, -0.13400807976722717, -0.2123999148607254, 0.26858893036842346, 0.3101451098918915, 0.10379596799612045, -0.11172071844339371, -0.7106967568397522, 0.4013942778110504, -0.13696859776973724, 0.11319319903850555, -0.40839463472366333, 0.014799746684730053, -0.17469611763954163, 0.1562560796737671, 0.7856718897819519, -0.34143534302711487, 0.7973060011863708, -0.5866231322288513, 0.1495344489812851, 0.5785267949104309, -0.2295609712600708, -0.5789862871170044, -0.0731775239109993, -0.062069348990917206, -0.48594608902931213, 0.8467361927032471, 0.01805894635617733, -0.9611220359802246, 0.43097448348999023, 0.6006194949150085, 0.5984349250793457, -0.8532130122184753, 0.2512461841106415, 0.20954543352127075, -0.0026865846011787653, 0.1585228443145752, 0.44084417819976807, -0.04516270384192467, -0.4598084092140198, -0.12283975630998611, -0.8354573845863342, -0.22591349482536316, 0.15852327644824982, -0.6457315683364868, 0.2717185914516449, -0.23008641600608826, -0.15407857298851013, -0.05542060732841492, -0.002559182234108448, 0.08891306817531586, 0.3741998076438904, -0.40903759002685547, 0.927623450756073, -0.8870947957038879, 0.7988316416740417, 0.6026076078414917, -0.3833112418651581, -0.37856772541999817, 0.1628875434398651, 0.11386312544345856, -0.6468432545661926, 0.689044713973999, 0.09563495963811874, -0.5755898356437683, -0.13951091468334198, -0.18903110921382904, -0.8162676692008972, 0.427775502204895, 0.11672084778547287, 0.03218569979071617, 0.02311604656279087, 0.41257548332214355, 0.7537564635276794, -0.3221035301685333, 0.25219646096229553, 0.6224460601806641, 0.5731247067451477, 0.2757370173931122, -0.5712860226631165, -0.09051872044801712, -0.3672644793987274, 0.08674906939268112, 0.39426425099372864, -0.09672302007675171, 1.1058999300003052, -0.017602290958166122, -0.6855685114860535, 0.7465831637382507, 0.7134669423103333, -0.19862741231918335, -0.5063151717185974, 0.2417328655719757, 0.07768388837575912, 0.3495854139328003, -0.07747065275907516, 0.6689391136169434, -0.15852463245391846, 0.43491578102111816, 0.5273488759994507, 0.1788579225540161, 0.6537310481071472, 0.7717068195343018, -0.2808801829814911, 0.34043648838996887, 0.8476547598838806, -0.29730919003486633, 0.7802037596702576, 0.3205033242702484, -0.23398520052433014, -0.1912013739347458, -0.15363499522209167, -0.06979557126760483, 0.9164573550224304, 0.3811684250831604, 0.15503233671188354, -0.3416971266269684, 0.10629834234714508, -0.019357308745384216, 0.06728863716125488, -0.22912314534187317, 0.5174960494041443, -0.2881280779838562, -0.09858241677284241, 0.16333246231079102, 0.2494928389787674, 0.5648142099380493, -0.828666627407074, -0.33121258020401, -0.16425155103206635, 0.20872966945171356, -0.23169901967048645, -0.8413033485412598, 0.4946492612361908, 0.03452466055750847, 0.016435004770755768, 0.37352973222732544, 0.43916213512420654, -0.4180355370044708, -0.7173337936401367, 0.4432740807533264, 0.33008381724357605, 0.30801650881767273, 0.1268516331911087, -0.40318503975868225, 0.08457563817501068, -0.2020314335823059, -0.5600541234016418, 0.20014770328998566, 0.25880417227745056, -0.16493187844753265, 1.0618258714675903, 0.7251179814338684, 0.46133533120155334, 0.2961421310901642, 0.34038978815078735, 0.9113572835922241, -0.6313621401786804, -0.40741249918937683, -1.1190961599349976, 0.7195206880569458, -0.0917612761259079, -0.24679769575595856, 0.9031570553779602, 0.43596193194389343, 0.5178803205490112, -0.17903965711593628, 0.6222583055496216, 0.024300651624798775, 0.3103136718273163, -0.6358106732368469, 0.9572358131408691, -0.5586643815040588, -0.39586079120635986, -0.21904149651527405, -0.6038357019424438, -0.5468167662620544, 0.80983567237854, 0.3173452615737915, -0.22512571513652802, 0.3992377519607544, 0.32649263739585876, -0.05048257112503052, -0.06869865953922272, 0.7274101972579956, 0.14339511096477509, 0.21014879643917084, -0.2222878634929657, 0.7883753776550293, -0.2528257668018341, 0.2594853937625885, -0.16128025949001312, -0.3426298499107361, -0.3770546317100525, -0.41764596104621887, -1.1386622190475464, -0.841314971446991, 0.2636565864086151, -0.0902421846985817, 0.1857312172651291, 1.0924991369247437, 0.14917296171188354, -0.6650160551071167, -0.3930281698703766, 0.0916551798582077, -0.03398623317480087, 0.0028498386964201927, -0.20432232320308685, 0.3083745539188385, -0.21848632395267487, -0.6053658127784729, 0.268535852432251, 0.5299744606018066, 0.3107343316078186, -0.3740628957748413, 0.05237901955842972, -0.18939435482025146, 0.2937681972980499, 0.23459699749946594, 0.13947345316410065, -0.9787411689758301, -0.3114924132823944, 0.20999020338058472, -0.0029459400102496147, 0.19856779277324677, 0.8245744705200195, -0.4249478876590729, 0.401338666677475, 0.452592670917511, -0.03417060896754265, -0.01646103337407112, 0.017593590542674065, 0.6127439737319946, -0.028036989271640778, 0.2848869264125824, -0.14476309716701508, 0.6219038963317871, 0.39169880747795105, -0.45969119668006897, 0.29471275210380554, 0.1849185675382614, -0.062565878033638, -0.777023196220398, 0.4031418561935425, -0.582477867603302, -0.11581543833017349, 0.8603171110153198, -0.3273453414440155, -0.46598976850509644, -0.7031782865524292, -0.247499018907547, 0.5441041588783264, -0.34023532271385193, 0.9597259759902954, 0.8652305603027344, -0.48311612010002136, -0.11499486118555069, -0.06783954799175262, 0.3958359658718109, -0.2591472864151001, -0.5369202494621277, 0.2930930554866791, 0.37699607014656067, 0.58873051404953, 0.13519492745399475, 0.45593464374542236, -0.23047807812690735, 0.4627561867237091, 0.06216730177402496, 0.29536160826683044, -0.24821814894676208, -0.35124796628952026, -0.6193409562110901, -0.08251992613077164, 0.030931586399674416, -0.2525523006916046 ]
http://arxiv.org/abs/2405.14170v1
http://arxiv.org/pdf/2405.14170v1
Large Language Models-guided Dynamic Adaptation for Temporal Knowledge Graph Reasoning
2024-05-23T04:54:37
2024-05-23T04:54:37
Jiapu Wang, Kai Sun, Linhao Luo, Wei Wei, Yongli Hu, Alan Wee-Chung Liew, Shirui Pan, Baocai Yin
cs.AI
cs.AI, cs.CL
Temporal Knowledge Graph Reasoning (TKGR) is the process of utilizing temporal information to capture complex relations within a Temporal Knowledge Graph (TKG) to infer new knowledge. Conventional methods in TKGR typically depend on deep learning algorithms or temporal logical rules. However, deep learning-based TKGRs often lack interpretability, whereas rule-based TKGRs struggle to effectively learn temporal rules that capture temporal patterns. Recently, Large Language Models (LLMs) have demonstrated extensive knowledge and remarkable proficiency in temporal reasoning. Consequently, the employment of LLMs for Temporal Knowledge Graph Reasoning (TKGR) has sparked increasing interest among researchers. Nonetheless, LLMs are known to function as black boxes, making it challenging to comprehend their reasoning process. Additionally, due to the resource-intensive nature of fine-tuning, promptly updating LLMs to integrate evolving knowledge within TKGs for reasoning is impractical. To address these challenges, in this paper, we propose a Large Language Models-guided Dynamic Adaptation (LLM-DA) method for reasoning on TKGs. Specifically, LLM-DA harnesses the capabilities of LLMs to analyze historical data and extract temporal logical rules. These rules unveil temporal patterns and facilitate interpretable reasoning. To account for the evolving nature of TKGs, a dynamic adaptation strategy is proposed to update the LLM-generated rules with the latest events. This ensures that the extracted rules always incorporate the most recent knowledge and better generalize to the predictions on future events. Experimental results show that without the need of fine-tuning, LLM-DA significantly improves the accuracy of reasoning over several common datasets, providing a robust framework for TKGR tasks.
[ 0.14560137689113617, -1.06620454788208, 0.898790717124939, 0.046229176223278046, -0.4344427287578583, 0.5406734943389893, -0.3519197702407837, -0.4186793863773346, -0.36261820793151855, 0.47357311844825745, -0.6145666241645813, -0.7996148467063904, -0.4718007743358612, -0.08786368370056152, 0.13346631824970245, 0.6055481433868408, -0.4016910791397095, -0.37160420417785645, 0.09112787246704102, 0.06407930701971054, -0.5592525601387024, -0.141239196062088, -0.7486352920532227, -0.6403417587280273, 0.437168151140213, 0.29373881220817566, 0.49201130867004395, 0.7766148447990417, 0.013936849310994148, 0.23076461255550385, -0.32071784138679504, 0.5025834441184998, -0.4755946099758148, 0.36594316363334656, -0.3293907344341278, -0.34770774841308594, -0.6344506144523621, -0.4077039659023285, 0.6556931734085083, 0.6484212875366211, -0.19104139506816864, 0.09479159861803055, -0.1165904775261879, 0.3072209656238556, -0.47458019852638245, 0.7602807879447937, -0.7589947581291199, 0.2921905219554901, -0.07047057896852493, -0.5166749954223633, -0.5157143473625183, -0.45053088665008545, 0.13683728873729706, -0.8464983701705933, -0.27237293124198914, 0.0007711299695074558, 0.6288445591926575, 0.4304064214229584, -0.6829749941825867, -0.09273238480091095, -0.7713518738746643, 0.7750317454338074, -1.0260977745056152, 0.5701084136962891, 0.08683734387159348, 0.6388521194458008, -0.5382986068725586, -0.8313819766044617, -0.6247566342353821, -0.3786599636077881, 0.036906227469444275, -0.10124453902244568, -0.017579535022377968, 0.054014723747968674, 0.47023865580558777, -0.2146645188331604, -0.3169558048248291, 0.27333030104637146, 0.09274398535490036, -0.008260988630354404, 0.490103155374527, 0.3740796148777008, 0.09524602442979813, -0.1151307001709938, 0.0330185741186142, 0.03736118599772453, -0.5240100026130676, -0.09953261911869049, 0.07869035005569458, 0.13881069421768188, -0.2897084355354309, 0.3597092628479004, -0.2849525809288025, 0.9138380885124207, 0.36099058389663696, -0.6277146935462952, 0.16692306101322174, -0.24226674437522888, -0.16802369058132172, 0.11170592904090881, 0.5650121569633484, 0.49724438786506653, 0.5616837739944458, -0.41541588306427, -0.03757490590214729, -0.17646504938602448, -0.03100099042057991, -0.7220343351364136, -0.13976900279521942, 0.05105888471007347, -0.524921178817749, -0.456712543964386, -0.5359529852867126, -0.9946292638778687, -0.4985194802284241, -0.4077821969985962, 0.47790905833244324, -0.41421520709991455, -0.3210345208644867, 0.25115662813186646, -0.037360068410634995, 0.24183490872383118, 0.7635520100593567, -0.6213120818138123, -0.06068442389369011, 0.6483619809150696, 0.6518641710281372, -0.012714001350104809, -0.1250365823507309, -0.7191692590713501, 0.7626731991767883, -0.3463938236236572, 0.723724365234375, -0.7870739698410034, -0.14910873770713806, -0.09662345796823502, 0.1716446727514267, -0.06634408235549927, -0.3091081976890564, 0.3673707842826843, -0.8334789872169495, -0.03623402491211891, -0.15091882646083832, -0.5824707746505737, -0.3765488862991333, 0.3834896981716156, -0.18029308319091797, 0.7298927903175354, 0.15422113239765167, -0.4417671859264374, 0.59443598985672, -0.674217939376831, -0.3762061893939972, 0.27285051345825195, -0.009037376381456852, -0.3582373261451721, -0.18168659508228302, 0.4316781461238861, 0.4585297405719757, -0.08522574603557587, 0.5542387366294861, -0.8656466007232666, -0.004529847763478756, 0.03345928341150284, -0.13256271183490753, 0.7463671565055847, 0.350652277469635, -0.2404470294713974, 0.032544780522584915, -0.7594501376152039, 0.10916808247566223, 0.1857258677482605, -0.4533858299255371, -0.09254004806280136, 0.45008689165115356, -0.4420744478702545, 0.10512541979551315, 0.1359928399324417, -0.35310599207878113, 0.7555908560752869, -0.2050608992576599, 0.6798478960990906, 0.9073917865753174, 0.3225131332874298, 0.4077780842781067, -0.20597510039806366, 0.4183195233345032, -0.007264537736773491, 0.08102454245090485, -0.06877898424863815, -0.21663707494735718, -0.48959729075431824, 0.08383636921644211, 0.28509819507598877, 0.6441222429275513, -1.0443203449249268, 0.4940252900123596, -0.593309223651886, -0.37444254755973816, -0.03679783269762993, 0.09357450157403946, -0.07257052510976791, 0.7274394035339355, 0.2138349860906601, 0.21459956467151642, -0.47162488102912903, -0.3651610314846039, -0.20624633133411407, -0.3966715335845947, 0.1624765843153, 0.5081364512443542, 0.4616762101650238, -0.2581952214241028, 0.5919796228408813, -0.6189237833023071, 0.055734675377607346, -0.19042357802391052, 0.13781510293483734, 0.28132396936416626, 0.09346990287303925, 0.6157767176628113, -0.5038387179374695, -0.5254331827163696, 0.32013973593711853, -0.8451040983200073, -0.5994173884391785, -0.25259265303611755, -0.09983301162719727, 0.2028413563966751, 0.7843285799026489, -0.460842102766037, 0.23529398441314697, 0.5157814025878906, -0.6936785578727722, 0.5853153467178345, -0.2081003338098526, 0.015609870664775372, -0.9912565350532532, -0.19956539571285248, -0.2782593071460724, -0.3986596465110779, -0.41788268089294434, -0.0716271921992302, 0.0765518993139267, 0.023385509848594666, -0.07506746053695679, 1.1050149202346802, -0.4233611822128296, 0.15898339450359344, -0.2934536039829254, -0.07177498191595078, 0.0172530859708786, 0.44641274213790894, -0.11987818777561188, 0.32428303360939026, 0.5520435571670532, -0.6970313191413879, 0.74509197473526, 0.16158080101013184, -0.5081647038459778, 0.19879662990570068, -0.26063087582588196, 0.23086142539978027, -0.08684277534484863, 0.424988329410553, -0.5484198331832886, -0.1486968696117401, 0.2970055341720581, -0.1889847218990326, 0.6079634428024292, -0.5825093984603882, -0.6693834662437439, -0.3209359049797058, 0.15689881145954132, 0.3806828558444977, 0.5111250281333923, -0.7353920936584473, 1.2246164083480835, 0.1513439565896988, -0.20180287957191467, -0.47255048155784607, -0.5686282515525818, 0.23501169681549072, -0.20902281999588013, -0.6781402230262756, 0.29169929027557373, -0.04405118525028229, -0.3809533417224884, 0.2949296832084656, -0.2990138530731201, 0.18945202231407166, 0.18608185648918152, -0.0637899711728096, 0.0010021404596045613, -0.3013264238834381, 0.22919881343841553, 0.15049615502357483, -0.022772004827857018, -0.056387823075056076, -0.6852960586547852, 0.44909003376960754, 0.21679750084877014, -0.313564658164978, -0.26135796308517456, -0.08649447560310364, 0.7876489162445068, -0.12655258178710938, 0.8725093007087708, 0.5723569989204407, -0.24021124839782715, -0.4858926236629486, -0.6987159848213196, -0.07982667535543442, -0.4829213321208954, 0.4519727826118469, -0.44771772623062134, -0.9374393820762634, 0.5983851552009583, -0.4325654208660126, -0.025210369378328323, 0.264482706785202, 0.7073313593864441, -0.166305810213089, 0.9190846085548401, 0.27681872248649597, 0.13851647078990936, 0.7000604867935181, 0.01794770359992981, 0.19793234765529633, -0.5836263298988342, -0.5616706013679504, -0.1462981104850769, -0.2981421649456024, -0.6525432467460632, -0.3839399516582489, 0.3589629828929901, 0.13082298636436462, -0.46854186058044434, -0.2350303679704666, -0.16808481514453888, 0.3280777931213379, 0.1402866542339325, 0.24010132253170013, 0.3101995587348938, -0.0439087450504303, -0.26511186361312866, 0.18005125224590302, -0.6819964647293091, -0.2792145311832428, 0.9455185532569885, 0.30204907059669495, 0.9083775281906128, 0.22464537620544434, 0.18554645776748657, 0.4420904517173767, 0.024362511932849884, -0.8332769870758057, 0.6687401533126831, -0.2746635973453522, -0.13749246299266815, -0.30311229825019836, -0.7439045906066895, -0.8413421511650085, -0.04052872955799103, -0.3131502568721771, -0.8554348349571228, 0.1349608302116394, 0.1717715859413147, -0.23347005248069763, 0.7100354433059692, -0.7660573124885559, 0.7763983011245728, -0.42401471734046936, -0.26657214760780334, -0.20617161691188812, -0.2992188632488251, 0.19640903174877167, -0.3701634705066681, 0.14234429597854614, -0.292692631483078, -0.09480439126491547, 0.5803444385528564, -0.2175084501504898, 0.9201995134353638, -0.43490150570869446, -0.02504716068506241, 0.19698818027973175, 0.3852074444293976, 1.073165774345398, -0.18749725818634033, -0.1834869384765625, 0.06536414474248886, 0.12261532247066498, -0.41122734546661377, -0.8156599998474121, 0.581537127494812, -0.7450793385505676, -0.853626549243927, -0.2604295015335083, -0.9740083813667297, -0.2690061628818512, 0.2580287754535675, -0.48715904355049133, 0.30612292885780334, 0.10936813801527023, 0.1804061383008957, 0.48547932505607605, -0.5011814832687378, 0.40193673968315125, 0.7403333187103271, -0.3375917375087738, -0.3113901615142822, 0.48612791299819946, 0.23669371008872986, 0.3155321478843689, 0.6692035794258118, 0.5882846713066101, -0.3823067247867584, -0.9510384798049927, -0.3481522798538208, 0.4386206269264221, -0.7184849381446838, -0.049584195017814636, -0.7678808569908142, -0.1681223064661026, -0.5247676372528076, -0.05993718281388283, 0.14750728011131287, -0.4521544575691223, -0.1708497405052185, 0.03476927429437637, 0.6752851009368896, 0.47368955612182617, 0.14608663320541382, 0.20358338952064514, -0.8686231970787048, 0.3374177813529968, 0.5585808157920837, 0.3962266743183136, 0.173995241522789, -0.757455587387085, 0.003236501943320036, -0.2218884378671646, -0.26361092925071716, -0.8225913643836975, 0.2036425620317459, 0.12841083109378815, 0.7689126133918762, 0.33716481924057007, 0.06898897886276245, 0.7598440051078796, -0.6621974110603333, 0.5184474587440491, -0.2043124884366989, -0.7715793251991272, 0.44429340958595276, -0.8503700494766235, 0.5821546316146851, -0.10373443365097046, -0.08735766261816025, -0.6001606583595276, -0.11422908306121826, -0.39630210399627686, -0.4950588643550873, 0.7752053141593933, -0.1655893623828888, -0.2017909288406372, 0.308764785528183, 0.7245038151741028, -0.007195309270173311, 0.08949081599712372, -0.5030252933502197, 0.16258418560028076, -0.14712144434452057, -0.36746472120285034, 0.06508427858352661, -0.32757219672203064, 0.03813197836279869, -0.2641826272010803, 0.42843231558799744, -0.35492902994155884, 0.13816829025745392, -0.40754008293151855, -0.031996358186006546, -0.3478447496891022, 0.41034647822380066, 0.4618721604347229, 0.9247626066207886, -0.3512919247150421, 0.05256516858935356, 0.676409125328064, -0.27794694900512695, 0.10240903496742249, 0.2784455716609955, -0.21793119609355927, -0.3203584551811218, 0.6433427333831787, 0.920017659664154, 0.019755695015192032, -0.5475545525550842, 0.2631934881210327, 0.16207154095172882, -0.2261003702878952, -0.2835921347141266, 0.24684025347232819, 0.20725275576114655, 0.8435590267181396, 0.3450169563293457, -0.29036521911621094, -0.6382483243942261, -0.5911362171173096, -0.10988973826169968, 0.24596451222896576, 0.09378374367952347, -0.27345582842826843, 0.5746670961380005, -0.010823950171470642, -0.32136964797973633, 0.5135003328323364, -0.2755974531173706, -0.6325445175170898, 0.5115863084793091, 0.4889453947544098, 0.8160093426704407, -0.25505003333091736, -0.012234300374984741, 0.32538801431655884, 0.12731705605983734, -0.0675170049071312, 0.24290086328983307, -0.02836008183658123, -0.7626810073852539, -0.9585584998130798, -0.7209699153900146, -0.2743169665336609, 0.38077598810195923, -0.05842946469783783, 0.40750566124916077, -0.49683183431625366, 0.01701098307967186, 0.022929098457098007, 0.06453581899404526, -0.5266903042793274, 0.037494491785764694, 0.26415762305259705, 1.0355154275894165, -0.7452459335327148, 0.9708032011985779, 0.5659781694412231, 0.11646978557109833, -0.7381435632705688, 0.12513947486877441, 0.13153894245624542, -0.8612691760063171, 0.8188771605491638, -0.4947374761104584, 0.10115247964859009, -0.045274075120687485, -0.5713015198707581, -0.9601350426673889, 1.297899842262268, 0.5898211002349854, -0.7489387392997742, -0.2824193835258484, -0.12255452573299408, 0.5856662392616272, -0.2932579219341278, -0.10033538192510605, 0.5031816959381104, 0.774049699306488, 0.46620288491249084, -0.9703519940376282, 0.1799779087305069, 0.10219790041446686, -0.30742180347442627, 0.48772427439689636, -0.600391685962677, 0.5708182454109192, -0.3542974889278412, -0.12451618909835815, -0.2058783322572708, 0.4676254391670227, 0.4604593813419342, 0.3593083620071411, 0.6786248087882996, 0.5922380685806274, 0.8898913860321045, -0.15914757549762726, 0.9484707117080688, -0.08505633473396301, 0.13563546538352966, 1.1531529426574707, -0.28897374868392944, 0.40214917063713074, 0.16758015751838684, -0.0408870168030262, 0.6654963493347168, 0.6293144226074219, -0.3300066292285919, 0.6167652010917664, 0.10321708768606186, -0.26955047249794006, -0.621825098991394, -0.22488851845264435, -0.2496281862258911, 0.38786834478378296, 0.5531729459762573, -0.304487019777298, -0.45679810643196106, -0.11682525277137756, 0.19041945040225983, -0.23948664963245392, -0.5068140029907227, 0.7749810218811035, 0.10094062983989716, -0.5759833455085754, 0.47760406136512756, -0.06612448394298553, 0.1425890177488327, -0.6596642732620239, -0.24100780487060547, 0.061495956033468246, 0.36357536911964417, -0.13457541167736053, -0.9186878800392151, 0.12004145979881287, 0.010231511667370796, -0.0952669084072113, -0.3018978238105774, 0.8391013741493225, -0.33523911237716675, -0.5437586903572083, 0.4880581498146057, 0.5321757793426514, -0.13993550837039948, 0.3648258149623871, -0.7549993991851807, 0.06647811084985733, 0.1289994865655899, -0.25830668210983276, 0.2535739243030548, 1.0465213060379028, -0.3005225360393524, 1.0005571842193604, 0.6486814022064209, 0.4545809030532837, 0.07241521030664444, 0.21398097276687622, 0.9342228174209595, -0.752137303352356, -0.5730092525482178, -0.9413382411003113, 0.21695150434970856, 0.09862062335014343, 0.3393654525279999, 0.4668084979057312, 0.10663680732250214, 0.6351091265678406, 0.1876189112663269, 0.7883817553520203, -0.00422846432775259, 0.4395526349544525, -0.8174145221710205, 0.5958876013755798, -0.7100659608840942, 0.36049649119377136, -0.09842781722545624, -0.745449423789978, -0.2962190508842468, 0.2803057134151459, -0.7278413772583008, 0.19122371077537537, 0.5957443714141846, 0.7142006754875183, -0.2148674875497818, -0.17899993062019348, 0.31404897570610046, 0.7956902384757996, 0.6415175795555115, 0.8879583477973938, 0.9111015200614929, 0.16489450633525848, 0.8247728943824768, 0.11839179694652557, -0.19954916834831238, -0.2051817774772644, -1.4884309768676758, -1.039325475692749, -0.3013821244239807, -0.5272452235221863, -0.5099697709083557, 0.38493114709854126, 1.0032919645309448, 0.6073474884033203, -0.6990600228309631, 0.10412618517875671, 0.1632583737373352, 0.2077648788690567, -0.1518181413412094, -0.23042398691177368, 0.6237697005271912, -0.1171932965517044, -0.5219459533691406, 0.47722452878952026, 0.24487599730491638, 0.16386757791042328, 0.10442502051591873, -0.12499810010194778, -0.1505579799413681, -0.1994830220937729, 0.6230465173721313, 0.26533833146095276, -0.686794102191925, -0.6733348965644836, -0.24885950982570648, 0.30227285623550415, 0.027605507522821426, 0.5916436910629272, -0.715711236000061, 0.7141519784927368, 0.7339085340499878, 0.687381386756897, 0.9350276589393616, -0.32101839780807495, 0.5382565855979919, -0.45329058170318604, 0.07493851333856583, 0.20492447912693024, 0.2925325632095337, 0.1873282790184021, -0.26027533411979675, 0.35543712973594666, 0.4216119050979614, -0.6348114013671875, -0.9113001823425293, 0.3437705636024475, -1.097725510597229, -0.5061097145080566, 1.5250602960586548, -0.042410265654325485, -0.33125364780426025, -0.37134554982185364, 0.08110533654689789, 0.6233174800872803, -0.3934641182422638, 1.0193028450012207, 0.8176929354667664, -0.1416313797235489, -0.5837572813034058, -0.6579721570014954, 0.3315877616405487, -0.09482965618371964, -0.8382977843284607, 0.21461546421051025, 0.32423409819602966, 0.5416624546051025, -0.23644842207431793, 0.27716565132141113, -0.06551128625869751, 0.16607992351055145, -0.12772402167320251, -0.2220579981803894, -0.5526462197303772, -0.06093476340174675, -0.12060801684856415, 0.1597440242767334, 0.12126482278108597, 0.16523581743240356 ]
http://arxiv.org/abs/2405.14161v1
http://arxiv.org/pdf/2405.14161v1
Self-Taught Recognizer: Toward Unsupervised Adaptation for Speech Foundation Models
2024-05-23T04:27:11
2024-05-23T04:27:11
Yuchen Hu, Chen Chen, Chao-Han Huck Yang, Chengwei Qin, Pin-Yu Chen, Eng Siong Chng, Chao Zhang
cs.CL
cs.CL, cs.AI, cs.LG, cs.SD, eess.AS
We propose an unsupervised adaptation framework, Self-TAught Recognizer (STAR), which leverages unlabeled data to enhance the robustness of automatic speech recognition (ASR) systems in diverse target domains, such as noise and accents. STAR is developed for prevalent speech foundation models based on Transformer-related architecture with auto-regressive decoding (e.g., Whisper, Canary). Specifically, we propose a novel indicator that empirically integrates step-wise information during decoding to assess the token-level quality of pseudo labels without ground truth, thereby guiding model updates for effective unsupervised adaptation. Experimental results show that STAR achieves an average of 13.5% relative reduction in word error rate across 14 target domains, and it sometimes even approaches the upper-bound performance of supervised adaptation. Surprisingly, we also observe that STAR prevents the adapted model from the common catastrophic forgetting problem without recalling source-domain data. Furthermore, STAR exhibits high data efficiency that only requires less than one-hour unlabeled data, and seamless generality to alternative large speech models and speech translation tasks. Our code aims to open source to the research communities.
[ -0.004330533090978861, -0.2013905942440033, -0.05317045748233795, 0.16645130515098572, -0.006591801531612873, 0.21172118186950684, -0.1879982352256775, -0.2771241068840027, 0.04039240628480911, 0.4709005355834961, -0.21592140197753906, -0.3380204439163208, -0.6494418978691101, -0.09996690601110458, -0.7285127639770508, 0.7446503043174744, 0.3059600293636322, 0.07725388556718826, -0.00018659901979845017, -0.06487695127725601, -0.35644978284835815, -0.509618878364563, -0.4153233468532562, -0.28950411081314087, -0.19388380646705627, 0.573047935962677, 0.23366184532642365, 0.6295233368873596, 0.31635618209838867, 0.32395175099372864, 0.2687569558620453, -0.23291490972042084, -0.3602479100227356, -0.14185731112957, -0.37361961603164673, -0.1904306709766388, -0.3610217273235321, -0.16203898191452026, 0.6761681437492371, 0.9044816493988037, -0.245081827044487, 0.2262800633907318, 0.3726450800895691, 0.8009361028671265, -0.6804519891738892, 0.40367743372917175, -0.6655024290084839, -0.09846287220716476, -0.11516771465539932, 0.046713512390851974, -0.2648885250091553, 0.09337805211544037, 0.20168720185756683, -0.549755871295929, 0.4534544348716736, -0.28516530990600586, 0.10627033561468124, 0.5708337426185608, -0.18695805966854095, -0.3661174774169922, -0.9897122383117676, 0.44630593061447144, -0.40083086490631104, 0.9451501965522766, 0.3402797281742096, 0.4824889004230499, -0.21120664477348328, -0.7842463850975037, -0.47529110312461853, 0.11664433032274246, 0.14730186760425568, 0.2521286606788635, -0.8555912375450134, -0.01889674924314022, -0.22861336171627045, 0.5640121698379517, -0.5675226449966431, 0.09666155278682709, -0.33099159598350525, -0.6056814789772034, 0.4470943212509155, -0.31790459156036377, -0.09760532528162003, -0.04205384850502014, -0.15498696267604828, -0.2653803527355194, -0.38001927733421326, 0.36694371700286865, -0.07042725384235382, 0.4656737148761749, -0.10902820527553558, 0.14654554426670074, -0.3108440637588501, 0.47374483942985535, 0.435544490814209, 0.011384895071387291, 0.3043571412563324, -0.05663880705833435, -0.1805780529975891, 0.3284675180912018, 0.727992832660675, 0.12755149602890015, 0.2537865936756134, -0.29222995042800903, -0.4214558005332947, 0.3364907503128052, -0.01178355049341917, -0.6313631534576416, -0.9497864842414856, -0.18557359278202057, -0.4077024757862091, -0.06391666829586029, -0.11626140773296356, -0.7671888470649719, -0.3461155891418457, -0.14047929644584656, 0.7117874026298523, -0.1278402954339981, -0.30416613817214966, 0.30858394503593445, 0.08557220548391342, 0.015310133807361126, 0.14853543043136597, -0.6762767434120178, 0.5663052201271057, 0.18379035592079163, 0.48740488290786743, -0.22492918372154236, -0.30756375193595886, -0.6580731868743896, 0.0011139956768602133, -0.33929336071014404, 0.7220008373260498, -0.3395184874534607, -0.6517395973205566, -0.2802329361438751, -0.04824334383010864, -0.31974175572395325, -0.5039770603179932, 0.5084078907966614, -0.3101435899734497, 0.07960116863250732, -0.15590792894363403, -0.6457926630973816, -0.1577456295490265, -0.35762202739715576, -0.39563682675361633, 0.9253025650978088, 0.14044509828090668, -0.24148547649383545, 0.2440493106842041, -0.8014695048332214, -0.34129297733306885, -0.011666655540466309, -0.12811550498008728, -0.35096463561058044, 0.27218538522720337, 0.4313848912715912, 0.4458634853363037, -0.13629327714443207, 0.20691461861133575, -0.12270689010620117, -0.22866946458816528, 0.2675979435443878, -0.5376023054122925, 0.5224539041519165, 0.29802727699279785, -0.3587283790111542, 0.1345343291759491, -1.0886942148208618, -0.20313043892383575, 0.07964184880256653, -0.2256016731262207, -0.2361786663532257, 0.001281379023566842, 0.19223695993423462, -0.04101947695016861, 0.0539134256541729, -0.5969886183738708, -0.05725976452231407, -0.25721555948257446, 0.5109977126121521, 0.655605673789978, -0.07251067459583282, 0.4668223559856415, -0.059622641652822495, 0.185040682554245, 0.22718068957328796, -0.00697174109518528, -0.17669953405857086, -0.09135149419307709, -1.2586594820022583, -0.29341328144073486, 0.5345771312713623, 0.36841991543769836, -0.4640021324157715, 0.6810461282730103, -0.19720208644866943, -0.4620262086391449, -0.5847601890563965, 0.31932559609413147, 0.6045840382575989, 0.7912960648536682, 0.7012168169021606, -0.3721296191215515, -0.6389048099517822, -0.5175872445106506, -0.25446420907974243, -0.19820038974285126, -0.04709303751587868, 0.05522098392248154, 0.4213447868824005, -0.5143187642097473, 1.060201644897461, -0.24238792061805725, -0.6648086309432983, -0.011913631111383438, 0.07694603502750397, 0.0295102596282959, 0.6569206714630127, 0.5240532755851746, -0.5615228414535522, -0.33977991342544556, -0.23965011537075043, -0.47806301712989807, -0.020333483815193176, -0.045218586921691895, 0.2441970705986023, 0.047951385378837585, 0.5275936126708984, -0.11766139417886734, 0.47179606556892395, 0.6292234063148499, -0.44608020782470703, 0.3462439775466919, -0.28726717829704285, 0.025345345959067345, -0.8768495917320251, 0.022677820175886154, -0.11428050696849823, -0.1642061322927475, -0.9090826511383057, -0.5492446422576904, 0.21757349371910095, -0.3052498698234558, -0.10318237543106079, 0.480018675327301, -0.5883451104164124, -0.4067688584327698, -0.4310121536254883, -0.2391490936279297, -0.28909942507743835, 0.26708394289016724, 0.280769020318985, 1.084993839263916, 0.9676297307014465, -0.8910430669784546, -0.043937500566244125, 0.3441165089607239, -0.21343353390693665, 0.4319888651371002, -0.6181210279464722, 0.27942007780075073, 0.016922157257795334, 0.15887947380542755, -0.9098222255706787, -0.11747536063194275, 0.28053775429725647, -0.6177696585655212, 0.4004126489162445, -0.25071048736572266, -0.002019151346758008, -0.48030778765678406, 0.2483142763376236, 0.15808169543743134, 0.673649251461029, -0.9564095735549927, 0.6728461384773254, 0.556450605392456, 0.043260782957077026, -0.5428475141525269, -0.48797687888145447, 0.07455216348171234, 0.026500120759010315, -0.09472917765378952, 0.2934652864933014, -0.1613868772983551, 0.21189941465854645, 0.03684794157743454, -0.5470993518829346, -0.2021571844816208, 0.09951237589120865, 0.27431920170783997, -0.15997979044914246, -0.45748016238212585, 0.033291637897491455, -0.07701170444488525, -0.31735020875930786, 0.143840029835701, -0.6679350137710571, 0.013297426514327526, -0.4602230489253998, -0.36010023951530457, -0.49040529131889343, -0.007938574999570847, 0.5967888236045837, -0.2924952507019043, 0.0721222534775734, 0.527045488357544, -0.5121790766716003, -0.3646976053714752, -0.49466562271118164, -0.24256420135498047, -0.5305719971656799, 0.323180615901947, -0.4953191578388214, -0.8491893410682678, 0.5024178624153137, -0.14833718538284302, -0.24791628122329712, 0.4887279272079468, 0.27724963426589966, -0.08876438438892365, 0.4200880825519562, 0.8612101078033447, -0.4245223104953766, 0.25893792510032654, -0.20693042874336243, 0.02976851351559162, -0.6993135809898376, -0.1085568219423294, -0.43903636932373047, -0.020653970539569855, -0.21075917780399323, -0.5582031607627869, 0.32637467980384827, 0.20991216599941254, -0.006996395997703075, 0.4376921057701111, -0.6917763948440552, 0.37011387944221497, 0.4451330900192261, -0.03458196297287941, 0.19199398159980774, -0.12777864933013916, 0.15482763946056366, -0.06736375391483307, -0.7998265624046326, -0.09719099849462509, 1.2695825099945068, 0.37508606910705566, 0.8084098100662231, -0.02914700098335743, 0.5071101188659668, 0.7456763982772827, 0.10500229895114899, -0.6898070573806763, 0.26590999960899353, -0.4240902066230774, -0.3649221658706665, -0.3086065948009491, -0.3477381467819214, -0.8226786851882935, 0.041557107120752335, -0.23352466523647308, -0.507483959197998, 0.6482006907463074, 0.5611268281936646, -0.367313027381897, 0.16076552867889404, -0.4672972857952118, 0.8405406475067139, -0.2146001160144806, 0.2944073975086212, -0.06883831322193146, -0.46661868691444397, 0.03514983505010605, -0.5411076545715332, 0.20877157151699066, 0.03472030535340309, 0.39756348729133606, 1.1477121114730835, -0.04918742552399635, 1.0970091819763184, -0.5907792448997498, 0.25831010937690735, 0.4733368158340454, 0.12638677656650543, 0.3769921064376831, -0.3554363548755646, 0.07402805984020233, 0.4423014223575592, 0.06868135184049606, -0.19263674318790436, -0.6126607656478882, 0.4893141984939575, -0.9963334798812866, -0.40600502490997314, -0.3843967616558075, -0.4450203776359558, -0.44599300622940063, 0.23501747846603394, 0.20496535301208496, 0.46924203634262085, -0.5125073790550232, 0.3943381607532501, 0.671833872795105, 0.1672167032957077, 0.434355765581131, 0.9146589636802673, -0.013490737415850163, -0.5222520232200623, 1.1146348714828491, 0.09296491742134094, 0.03817958012223244, 0.2822524607181549, 0.49668049812316895, -0.5961846709251404, -0.8543936014175415, -0.49839144945144653, 0.008405102416872978, -0.9106401801109314, -0.2870239019393921, -0.7361878156661987, -0.402321994304657, -0.670596182346344, -0.12436895072460175, -0.8826976418495178, -0.47175315022468567, -0.5620682835578918, 0.03329538181424141, 0.45705682039260864, 0.7055205702781677, -0.4916059970855713, 0.6087525486946106, -0.514158308506012, 0.2286740392446518, 0.43684741854667664, 0.2356564849615097, -0.2793620228767395, -1.078925609588623, -0.17887313663959503, -0.04032817855477333, 0.12085442245006561, -0.6075042486190796, 0.3996976912021637, 0.7797970175743103, 0.7950204014778137, 0.5301966071128845, 0.4004516005516052, 0.6118009686470032, -0.4130849838256836, 0.41108614206314087, 0.28358596563339233, -1.200514793395996, 0.5332972407341003, -0.11374034732580185, 0.13937349617481232, 0.4839431345462799, 0.20393283665180206, -0.32474660873413086, -0.037017665803432465, -0.4024827480316162, -0.2216828167438507, 0.4353407919406891, 0.05526913329958916, 0.08771573007106781, 0.18902446329593658, 0.31615108251571655, 0.17778104543685913, -0.03928757831454277, -0.4647234380245209, -0.43593737483024597, -0.9958323240280151, -0.21950216591358185, -0.6054483652114868, -0.25612056255340576, -0.0056982808746397495, -0.33393099904060364, 0.5860044360160828, -0.38641953468322754, 0.3696309030056, 0.26077890396118164, -0.5334450006484985, -0.10890668630599976, 0.3307119905948639, 0.38072386384010315, 0.2795005738735199, -0.13090559840202332, 0.28687840700149536, 0.19402165710926056, -0.6483992338180542, 0.2046678364276886, 0.3715272843837738, -0.06809469312429428, -0.11775447428226471, 0.2145497053861618, 0.728909432888031, 0.6409437656402588, -0.20378103852272034, 0.5896148085594177, -0.014407656155526638, -0.1004657968878746, -0.3452439606189728, 0.2638856768608093, -0.16256947815418243, 0.29279306530952454, 0.5914239287376404, 0.33990269899368286, 0.32287073135375977, -0.2591852843761444, 0.5828452110290527, 0.25585439801216125, -0.6679744720458984, -0.5935159921646118, 0.7509998083114624, 0.4751772880554199, -0.3350728154182434, 0.36583107709884644, -0.07712803035974503, -0.5650019645690918, 0.23752591013908386, 0.8837934136390686, 0.9431818127632141, -0.7213103771209717, -0.007786183152347803, 0.2829057276248932, 0.12398711591959, -0.1164894625544548, -0.021405385807156563, -0.30380937457084656, -0.955095648765564, 0.031957365572452545, -0.7135697603225708, -0.23186878859996796, 0.22839239239692688, -0.7823600769042969, 0.04396027326583862, -0.4469398856163025, 0.1090235710144043, 0.0701151043176651, -0.28039810061454773, -0.5567188262939453, 0.4109049439430237, 0.030768677592277527, 0.7623830437660217, -1.0505259037017822, 1.119935154914856, 0.5380771160125732, 0.01597667671740055, -0.5772116184234619, -0.06461875140666962, 0.23723821341991425, -0.886444628238678, 0.41039127111434937, 0.06288664788007736, -0.5794699788093567, 0.4759243428707123, 0.030578453093767166, -1.084104061126709, 1.007326364517212, 0.2994629442691803, -0.6348167061805725, 0.2563246190547943, 0.07140248268842697, 0.4727349877357483, -0.5711014866828918, -0.15104132890701294, 0.6315761804580688, -0.014565967954695225, 0.24167941510677338, -1.1131316423416138, -0.22029495239257812, -0.196395605802536, -0.18629400432109833, -0.1394357830286026, -0.2614021599292755, 0.40648001432418823, -0.3214062452316284, -0.15641315281391144, -0.13957343995571136, 1.0791102647781372, -0.13920336961746216, 0.37356218695640564, 0.6446307897567749, 0.16655616462230682, 0.873711347579956, 0.15259906649589539, 0.4350633919239044, -0.44530850648880005, 0.29271039366722107, 1.0448026657104492, 0.06681016087532043, 0.7655661702156067, 0.17065207660198212, -0.1884864866733551, 0.2977105975151062, 0.327844500541687, -0.07185427099466324, 0.7596679329872131, -0.17775924503803253, -0.11305463314056396, -0.3687262237071991, 0.07192113995552063, -0.4804024398326874, 0.9552916288375854, 0.48990732431411743, -0.3150199055671692, -0.1954444795846939, 0.22044327855110168, -0.33683136105537415, 0.17318813502788544, -0.4378368556499481, 0.7138569951057434, 0.1253633052110672, -0.144418403506279, 0.6875247955322266, -0.24790234863758087, 0.6493639945983887, -0.4666827321052551, 0.18765795230865479, -0.09259607642889023, 0.5535522103309631, -0.14634981751441956, -0.5551707148551941, 0.31286290287971497, -0.02573714591562748, -0.4497709274291992, -0.13480958342552185, 0.9834599494934082, -0.40334105491638184, -0.6141009330749512, 0.3470309376716614, 0.4926377236843109, 0.29323944449424744, -0.13451893627643585, -0.8564407825469971, 0.2024463564157486, -0.02188916876912117, -0.0015082694590091705, 0.21649247407913208, 0.20086543262004852, 0.035536929965019226, 0.7230550050735474, 0.8508041501045227, -0.19441697001457214, 0.023338083177804947, 0.05903499573469162, 0.8423123955726624, -0.4614710509777069, -0.5984197854995728, -0.31092119216918945, 0.3518507778644562, 0.35976889729499817, -0.20845365524291992, 0.7828428149223328, 0.5380862355232239, 0.8331528306007385, -0.2395332306623459, 0.6991511583328247, 0.2524460256099701, 0.6625673770904541, -0.38165581226348877, 0.9452434778213501, -0.27788591384887695, 0.25293436646461487, -0.31854408979415894, -0.6061804890632629, -0.25356075167655945, 0.7903518080711365, -0.17517153918743134, 0.006724012549966574, 0.31464582681655884, 0.8206942677497864, -0.28315645456314087, 0.019561195746064186, 0.5724706649780273, 0.1228196769952774, 0.13066214323043823, 0.40828412771224976, 0.6750953793525696, -0.6205119490623474, 0.5624973177909851, -0.32281365990638733, -0.4628911316394806, -0.06293308734893799, -0.6322838068008423, -1.0214745998382568, -0.8188462257385254, -0.6802711486816406, -0.14196635782718658, 0.20409102737903595, 0.8022894263267517, 0.9209002256393433, -1.174656629562378, -0.33771806955337524, -0.1793203502893448, -0.30109792947769165, -0.255342036485672, -0.13366159796714783, 0.5725435018539429, -0.012458889745175838, -0.3520640730857849, 1.0676467418670654, 0.12989500164985657, 0.23100997507572174, -0.0548105351626873, -0.36232367157936096, 0.40060925483703613, -0.026183106005191803, 0.3189747631549835, 0.8187263607978821, -0.7324017286300659, -0.36381039023399353, 0.025005612522363663, 0.24397851526737213, 0.1563216596841812, 0.6442266702651978, -0.9093809723854065, 0.8398851752281189, -0.10005278140306473, 0.7858816385269165, 0.46621644496917725, -0.018495582044124603, 0.35176903009414673, -0.45936182141304016, -0.02129376120865345, 0.0986306369304657, 0.3077597916126251, 0.5559024810791016, -0.3843684494495392, 0.24878434836864471, 0.520212709903717, -0.5016446709632874, -0.8175698518753052, 0.09313066303730011, -0.7939297556877136, -0.07093345373868942, 0.9412822127342224, -0.19018450379371643, -0.08407074958086014, -0.29126718640327454, 0.28475549817085266, 0.27866849303245544, -0.43665003776550293, 0.820939302444458, 0.19904734194278717, -0.3481118381023407, -0.3540266752243042, 0.020099401473999023, 0.6707516312599182, 0.16291502118110657, -0.5944782495498657, 0.39015644788742065, 0.5747819542884827, 0.7758380174636841, 0.12367167323827744, 0.8742124438285828, 0.11162977665662766, 0.4892984926700592, 0.16117875277996063, 0.27127113938331604, -0.34157928824424744, -0.6852768659591675, -0.8151814937591553, -0.16662104427814484, 0.06844055652618408, -0.41313597559928894 ]
http://arxiv.org/abs/2405.14159v2
http://arxiv.org/pdf/2405.14159v2
Super Tiny Language Models
2024-05-23T04:12:49
2024-06-26T08:41:06
Dylan Hillier, Leon Guertler, Cheston Tan, Palaash Agrawal, Chen Ruirui, Bobby Cheng
cs.CL
cs.CL, cs.AI, I.2.7
The rapid advancement of large language models (LLMs) has led to significant improvements in natural language processing but also poses challenges due to their high computational and energy demands. This paper introduces a series of research efforts focused on Super Tiny Language Models (STLMs), which aim to deliver high performance with significantly reduced parameter counts. We explore innovative techniques such as byte-level tokenization with a pooling mechanism, weight tying, and efficient training strategies. These methods aim to significantly reduce reduce the parameter count compared to traditional models -- in future works, we aim to build on these in a way that maintains and improves upon the performance of base transformer models. This series of papers will explore into various subproblems, including tokenizer-free models, self-play based training, and alternative training objectives. We will target models with 10M, 50M, and 100M parameters. Our ultimate goal is to make high-performance language models more accessible and practical for a wide range of applications.
[ -0.43021637201309204, -0.49726104736328125, 0.2983378469944, -0.06699894368648529, -0.34761232137680054, 0.0240411888808012, -0.2240077704191208, -0.4696611762046814, 0.14683350920677185, 0.6491260528564453, -0.38201504945755005, -0.03312161937355995, -0.5724689960479736, -0.013826936483383179, -0.45118412375450134, 0.8682437539100647, 0.3691856563091278, 0.24152547121047974, -0.029953422024846077, -0.20738904178142548, -0.22026650607585907, -0.7374038696289062, -0.8197119832038879, -0.17911869287490845, 0.49740102887153625, 0.5647688508033752, 0.8864148855209351, 0.9479684233665466, 0.6083602905273438, 0.21383999288082123, -0.5500608682632446, -0.05410223826766014, -0.5286138653755188, -0.041314348578453064, 0.017177648842334747, -0.5918720960617065, -0.38262325525283813, -0.23748956620693207, 0.8737713694572449, 0.7034286260604858, -0.05960430949926376, 0.4853414297103882, -0.12407182157039642, 0.40714237093925476, -0.11848723888397217, 0.10383661091327667, -0.5660997629165649, -0.08924578875303268, -0.3257151246070862, 0.24339410662651062, -0.6219979524612427, -0.1363585740327835, -0.20838478207588196, -0.1113518550992012, 0.5378015041351318, 0.387652188539505, 0.7120224237442017, 0.1085423082113266, -0.26088112592697144, -0.06206510588526726, -0.9122464060783386, 0.9879105687141418, -1.1433990001678467, 0.5997080206871033, 0.16475741565227509, 0.14716985821723938, -0.06383208930492401, -0.7540181279182434, -0.5011996626853943, -0.3509473204612732, -0.2789539694786072, -0.43459513783454895, -0.24974499642848969, 0.06171836331486702, 0.26889297366142273, 0.3335844874382019, -0.4929170310497284, 0.3670915365219116, -0.2830175459384918, -0.0025903021451085806, 0.6412684917449951, 0.5278049111366272, 0.11263123899698257, -0.16067375242710114, 0.07164780795574188, 0.2953784763813019, -0.9174919724464417, -0.20058570802211761, 0.1329398900270462, 0.6443319320678711, -0.1525546908378601, 0.37414711713790894, 0.044354889541864395, 0.5769730806350708, -0.1419186294078827, -0.09247264266014099, -0.39373618364334106, -0.6937501430511475, -0.24425068497657776, -0.39340847730636597, 0.7187924981117249, -0.10363117605447769, 0.08724120259284973, -0.2611905336380005, -0.2407645434141159, -0.134805828332901, -0.07403410971164703, -0.8788353800773621, -0.22113803029060364, -0.13897041976451874, -0.7939790487289429, -0.3829677402973175, -0.4240332245826721, -0.4413549602031708, -0.3449627161026001, -0.474357008934021, 0.19985665380954742, -0.5374892950057983, -0.2913057208061218, -0.05977890267968178, 0.10595576465129852, 0.15667128562927246, 0.1345742791891098, -1.367229700088501, 0.5951361060142517, 0.6324109435081482, 0.7718198299407959, -0.060409948229789734, -0.1047467291355133, -0.3314279019832611, 0.12161259353160858, -0.45575541257858276, 0.5823740363121033, -0.7930182218551636, -0.579156756401062, -0.2589333653450012, -0.1721433699131012, -0.21651417016983032, -0.6122825145721436, 0.41253355145454407, -0.553061842918396, 0.05901053920388222, -0.04571877047419548, -0.6181487441062927, 0.19851264357566833, -0.16976298391819, -0.6641813516616821, 1.304985761642456, 0.09463532269001007, -0.5459355115890503, -0.0042108818888664246, -0.6279930472373962, -0.4763341546058655, 0.19337716698646545, 0.06680050492286682, -0.1653677523136139, 0.8257271647453308, -0.08664824068546295, 0.39242202043533325, -0.5736552476882935, 0.11803556233644485, 0.13836047053337097, -0.5431543588638306, -0.06473230570554733, -0.3912988007068634, 0.5193747878074646, 0.214243084192276, -0.016483964398503304, 0.425080806016922, -0.7532691359519958, -0.13115788996219635, 0.32205745577812195, -0.41548046469688416, -0.3822372853755951, -0.1231766864657402, 0.17599564790725708, 0.2656530737876892, 0.18255415558815002, -0.42709797620773315, 0.311702698469162, -0.6390933990478516, 0.6658333539962769, 0.47790685296058655, -0.2108772099018097, 0.5779072046279907, 0.022207049652934074, 0.3620494604110718, -0.1344260424375534, 0.46877896785736084, -0.21514581143856049, -0.4107893407344818, -1.1806696653366089, -0.3482431173324585, 0.7658306956291199, 0.09910331666469574, -0.7079344987869263, 0.3291475176811218, -0.4227089285850525, -0.7234119176864624, -0.7226895093917847, 0.22753821313381195, 0.41388019919395447, 0.18388043344020844, 0.32210487127304077, 0.07581514120101929, -0.6757884621620178, -0.9303265810012817, -0.3108755946159363, -0.1692747175693512, -0.13355067372322083, 0.17008158564567566, 0.5740729570388794, -0.1603500097990036, 1.0755212306976318, -0.1892242282629013, -0.06345118582248688, -0.9046008586883545, 0.05555076152086258, 0.15023867785930634, 0.524716317653656, 0.5254496932029724, -0.700775146484375, -0.4914969801902771, -0.12076812237501144, -0.3114834427833557, 0.1884208470582962, 0.2555387318134308, 0.36034801602363586, 0.3508712947368622, 0.6633151173591614, -0.8604792356491089, 0.2793249487876892, 0.5335774421691895, -0.16911138594150543, 0.6216670274734497, -0.3024781048297882, -0.406715452671051, -0.7940674424171448, -0.12528929114341736, -0.08237139880657196, -0.31089988350868225, -1.053339958190918, 0.36368852853775024, 0.06045875325798988, -0.11533299088478088, -0.8111399412155151, 0.72543865442276, -0.4724861979484558, 0.013744796626269817, -0.37783586978912354, -0.1060175746679306, -0.2179601490497589, 0.40405505895614624, 0.002013817895203829, 0.7695713043212891, 0.47758573293685913, -0.6159273982048035, 0.23557955026626587, -0.12527917325496674, -0.013962185010313988, 0.06297464668750763, -0.7935556769371033, 0.10698331147432327, -0.12490011751651764, 0.1758105605840683, -0.976226806640625, 0.02309507131576538, -0.17991985380649567, -0.19699762761592865, 0.4934048652648926, -0.260428249835968, -0.8852319121360779, -0.5697728395462036, -0.36496683955192566, 0.26949694752693176, 0.6166406869888306, -0.36430099606513977, 0.5553419589996338, 0.4898037910461426, -0.38709309697151184, 0.04569796845316887, -0.6959809064865112, 0.2506372630596161, -0.32548806071281433, -0.38022616505622864, 0.1668311506509781, -0.1538466066122055, 0.02789432927966118, -0.07781265676021576, -0.015012568794190884, 0.22217434644699097, 0.02036793902516365, -0.04108496755361557, 0.3752899169921875, -0.459907203912735, 0.268520325422287, -0.22018025815486908, -0.42021146416664124, -0.3465038537979126, -0.37427666783332825, 0.6999072432518005, -0.5224087238311768, -0.0019214451313018799, -0.33501264452934265, 0.4085541069507599, 0.5428182482719421, -0.06187235563993454, 1.102345585823059, 0.4842168390750885, -0.5564045310020447, -0.047728199511766434, -0.6003820300102234, -0.23122788965702057, -0.4854987859725952, 0.3196302652359009, -0.47431519627571106, -1.3308976888656616, 0.5305187702178955, 0.1499607264995575, 0.10485415160655975, 0.3712431490421295, 0.6426233649253845, -0.024633733555674553, 1.2527769804000854, 1.0112611055374146, -0.017847366631031036, 0.6255582571029663, -0.23757439851760864, 0.46973344683647156, -0.7273440957069397, 0.10918782651424408, -0.656314492225647, -0.13476639986038208, -0.4369150996208191, -0.7304807305335999, -0.033004771918058395, 0.30060631036758423, -0.2512137293815613, 0.6758235692977905, -0.357474148273468, 0.6680141091346741, 0.5590643882751465, -0.46128877997398376, 0.3215504288673401, -0.20700742304325104, -0.3828178644180298, -0.29088759422302246, -1.1114904880523682, -0.7822617292404175, 0.8338152766227722, 0.6223005652427673, 0.7803245186805725, 0.01375157106667757, 0.4568966031074524, 0.2264975905418396, 0.496724396944046, -0.8558928370475769, 0.8766101598739624, -0.5029486417770386, -0.6415339708328247, -0.6319619417190552, -0.5091114044189453, -0.6745662689208984, 0.5107787847518921, -0.03591495752334595, -0.7887656688690186, -0.1387331634759903, 0.21853294968605042, -0.49059709906578064, 0.5002564191818237, -0.71095210313797, 0.8525925278663635, -0.12369371950626373, -0.1759723275899887, -0.10361137986183167, -0.6689983010292053, 0.29365575313568115, -0.014828024432063103, 0.2979426980018616, -0.022948233410716057, -0.1776820570230484, 0.8363527059555054, -0.5921154618263245, 0.7686182856559753, -0.1649036407470703, -0.09677387773990631, 0.2921817898750305, 0.21561792492866516, 0.8071777820587158, -0.22367683053016663, -0.16254517436027527, 0.35282638669013977, 0.03247538581490517, -0.4006742835044861, -0.3758646249771118, 0.6692569255828857, -0.5021111369132996, -0.5241420865058899, 0.07899363338947296, -0.629468560218811, -0.27014797925949097, 0.3731740713119507, 0.2614017128944397, 0.3267083168029785, -0.005717940162867308, 0.4455086290836334, 0.7448489665985107, 0.04854432865977287, 0.7986558079719543, 0.6206948161125183, -0.31550800800323486, -0.1255026012659073, 1.1181674003601074, 0.5093508362770081, 0.21760541200637817, 0.281834214925766, 0.3722624182701111, -0.47578880190849304, -0.9546518921852112, -0.5286751389503479, 0.5728028416633606, -0.36777475476264954, -0.127147376537323, -0.5901083946228027, -0.32552677392959595, -0.7168614864349365, 0.08121303468942642, -0.6930919289588928, -0.624925971031189, -0.31655022501945496, -0.2598396837711334, 0.09440385550260544, 0.7880815267562866, 0.08360837399959564, 0.7808995842933655, -0.9984184503555298, 0.27169156074523926, 0.3335830867290497, 0.47544533014297485, 0.21009856462478638, -0.8143619894981384, -0.6761518120765686, -0.3426448404788971, 0.04595470800995827, -0.3210577666759491, 0.43507063388824463, 0.09530795365571976, 0.526424765586853, 0.18206317722797394, -0.12410732358694077, 0.6332860589027405, -0.774842381477356, 0.9655300974845886, 0.3079354465007782, -1.033710241317749, 0.47371041774749756, -0.24281080067157745, 0.06264110654592514, 0.3238826394081116, 0.09791673719882965, -0.577738344669342, -0.4413914978504181, -0.9174730777740479, -0.8434754014015198, 0.7919331192970276, 0.19171136617660522, 0.3662484586238861, 0.1164490357041359, 0.19412364065647125, 0.10125009715557098, 0.260532021522522, -0.5354524850845337, -0.3961184322834015, 0.1689814180135727, -0.45264312624931335, -0.09111828356981277, -0.59317547082901, 0.11902250349521637, -0.3154299557209015, 0.7290340065956116, -0.2601245641708374, 0.13689295947551727, -0.34972456097602844, -0.14556115865707397, -0.21650391817092896, 0.32674136757850647, 0.7121614217758179, 0.2844002842903137, 0.06588519364595413, 0.29300639033317566, 0.6001847386360168, -0.4009884297847748, 0.3028688430786133, -0.263114333152771, -0.2636326551437378, 0.10170532763004303, 0.357349693775177, 0.8773976564407349, 0.601590633392334, -0.6241827607154846, 0.39772382378578186, -0.21866782009601593, 0.09783507138490677, 0.10030379891395569, 0.20389717817306519, 0.5310030579566956, 0.029875967651605606, 0.28426817059516907, 0.10613474249839783, -0.09000305831432343, -0.28288760781288147, 0.08023349940776825, 0.33587646484375, -0.5832319855690002, -0.44443559646606445, 0.63788902759552, 0.22682738304138184, -0.6493179798126221, 0.1831662952899933, -0.12130791693925858, -0.17020069062709808, 0.5008622407913208, 0.7243666052818298, 0.4757941663265228, -0.2893999516963959, 0.05093910172581673, -0.14006073772907257, 0.5910180807113647, -0.3047747313976288, 0.037268660962581635, 0.056465473026037216, -0.5455165505409241, -0.309465229511261, -0.8156377077102661, -0.45503759384155273, 0.34101611375808716, -0.43547359108924866, 0.19220934808254242, -0.5167518854141235, -0.21145306527614594, -0.07685552537441254, 0.16701176762580872, -0.5976610779762268, 0.23747707903385162, 0.26804596185684204, 1.2703323364257812, -0.7394187450408936, 1.1025713682174683, 0.5847553014755249, -0.25884974002838135, -0.7987188696861267, -0.2694733738899231, -0.22829341888427734, -0.5620471835136414, 0.6505902409553528, -0.07191181182861328, -0.1472368985414505, 0.35968273878097534, -0.5648511648178101, -1.1258372068405151, 0.7369012832641602, 0.5472118854522705, -0.5268331170082092, -0.35018545389175415, 0.3414827883243561, 0.7951024174690247, -0.42592519521713257, 0.3084490895271301, 0.9903364181518555, 0.3196171522140503, 0.11210763454437256, -0.8785640001296997, -0.04347634315490723, -0.13489069044589996, 0.6944898962974548, 0.1351974606513977, -1.0560269355773926, 0.9663398265838623, -0.11752218753099442, -0.28810831904411316, 0.30777424573898315, 0.8090065717697144, 0.3519428074359894, -0.058783646672964096, 0.37551867961883545, 0.47439879179000854, 0.5533018708229065, -0.028051862493157387, 0.8117840886116028, -0.3929498493671417, 0.5140479207038879, 0.9773701429367065, -0.34839028120040894, 1.0126514434814453, 0.6272660493850708, -0.31598901748657227, 0.2526298761367798, 0.4023542106151581, 0.16046255826950073, 0.20353975892066956, 0.36017367243766785, -0.07148223370313644, -0.3331342339515686, -0.3524559736251831, -0.2768365144729614, 0.1458354890346527, 0.48008885979652405, -0.22810833156108856, -0.018774596974253654, 0.14446978271007538, -0.01697656698524952, -0.17776887118816376, -0.49062347412109375, 0.6237591505050659, 0.1755484789609909, -0.1101626306772232, 0.3925667405128479, 0.3348129987716675, 0.9027658104896545, -0.6476119756698608, 0.3225727081298828, -0.5278563499450684, 0.1168794110417366, -0.020153146237134933, -0.2498592585325241, 0.36007362604141235, 0.2910999059677124, -0.31339699029922485, -0.34125521779060364, 1.1206510066986084, -0.18224027752876282, -0.7680469751358032, 0.25188469886779785, 0.5216925144195557, 0.21167579293251038, 0.21956801414489746, -0.5495482087135315, 0.18965886533260345, -0.29769188165664673, -0.5095707178115845, 0.4310501515865326, 0.408359169960022, -0.09566977620124817, 0.7911891937255859, 0.6404006481170654, 0.4439837336540222, 0.36105090379714966, 0.2773189842700958, 0.8112897872924805, -1.0329527854919434, -0.6288073658943176, -0.8331776857376099, 0.3548940420150757, 0.07715467363595963, -0.03152851387858391, 0.8632761836051941, 0.678952157497406, 0.6005195379257202, -0.31105202436447144, 0.7457970976829529, 0.1254979372024536, 0.768219530582428, -0.313359797000885, 0.6670960783958435, -0.3547167479991913, 0.3573485016822815, 0.09297852963209152, -0.6392652988433838, -0.5941575169563293, 0.32049810886383057, -0.22871963679790497, 0.03201032057404518, 0.3916730582714081, 0.8573427200317383, 0.0093668382614851, 0.14124974608421326, 0.7124057412147522, 0.22164180874824524, 0.4056791663169861, 0.4639582633972168, 0.9140475988388062, -0.6841755509376526, 0.8293368220329285, -0.10666767507791519, 0.050816621631383896, -0.7451937794685364, -0.7093887329101562, -0.8549743890762329, -0.0908326730132103, -0.17081333696842194, 0.13396501541137695, -0.20774205029010773, 0.7650260329246521, 1.0904399156570435, -1.080374836921692, -0.30186134576797485, -0.15633000433444977, 0.29623672366142273, -0.06047821044921875, -0.25492435693740845, 0.2050601691007614, -0.27618521451950073, -0.6885481476783752, 0.5600462555885315, 0.4908798635005951, 0.3190062642097473, -0.45843127369880676, -0.16443568468093872, -0.05830790475010872, 0.5419501066207886, 0.7260376811027527, 0.23254308104515076, -0.7045962810516357, -0.4109092950820923, 0.07452291995286942, -0.4332580864429474, -0.15694019198417664, 1.0397382974624634, -0.7724619507789612, -0.20631186664104462, 0.4732804596424103, 0.3727642297744751, 0.3264518976211548, -0.1056111603975296, 0.19555653631687164, -0.9775890707969666, 0.13318632543087006, 0.28597742319107056, 0.36195722222328186, 0.3397006690502167, -0.1336755007505417, 0.5190402269363403, 0.44991010427474976, -0.2604549527168274, -1.1456879377365112, 0.26398181915283203, -0.38368552923202515, -0.24920453131198883, 0.8834631443023682, 0.07308410853147507, -0.15344519913196564, -0.15403567254543304, -0.24580118060112, 0.29066798090934753, -0.034944020211696625, 0.3923855423927307, 0.6296554207801819, -0.44485825300216675, -0.420897513628006, -0.4449005424976349, 0.3895564675331116, 0.521304726600647, -0.5693231821060181, 0.49381667375564575, 0.1686912626028061, 0.1883213371038437, 0.27646854519844055, 0.7235251665115356, 0.030758989974856377, -0.19103248417377472, 0.299043744802475, -0.04971475154161453, -0.126159206032753, -0.7429705262184143, -0.5442344546318054, 0.4537079930305481, 0.13954542577266693, 0.007752244360744953 ]
http://arxiv.org/abs/2405.14150v1
http://arxiv.org/pdf/2405.14150v1
jp-evalb: Robust Alignment-based PARSEVAL Measures
2024-05-23T03:54:25
2024-05-23T03:54:25
Jungyeul Park, Junrui Wang, Eunkyul Leah Jo, Angela Yoonseo Park
cs.CL
cs.CL
We introduce an evaluation system designed to compute PARSEVAL measures, offering a viable alternative to \texttt{evalb} commonly used for constituency parsing evaluation. The widely used \texttt{evalb} script has traditionally been employed for evaluating the accuracy of constituency parsing results, albeit with the requirement for consistent tokenization and sentence boundaries. In contrast, our approach, named \texttt{jp-evalb}, is founded on an alignment method. This method aligns sentences and words when discrepancies arise. It aims to overcome several known issues associated with \texttt{evalb} by utilizing the `jointly preprocessed (JP)' alignment-based method. We introduce a more flexible and adaptive framework, ultimately contributing to a more accurate assessment of constituency parsing performance.
[ -0.26434585452079773, -0.8120133876800537, 0.5874961614608765, 0.24437226355075836, -0.17989519238471985, 0.4297446310520172, -0.07393723726272583, 0.05637136101722717, 0.5644491314888, 0.3578375577926636, -0.21871908009052277, -0.3250651955604553, -0.39495331048965454, 0.1565939486026764, -0.37756800651550293, 0.5979421138763428, 0.012301269918680191, 0.5310991406440735, -0.3273138999938965, -0.41839250922203064, -0.26877596974372864, -0.16140657663345337, -0.2715483605861664, -0.1248435229063034, 0.38632744550704956, 0.3559613823890686, 0.6864007711410522, 0.7909949421882629, 0.826328694820404, 0.3948151171207428, 0.023551659658551216, -0.07318858802318573, -0.26573115587234497, 0.2367234081029892, -0.3686267137527466, -0.4965852200984955, -0.7228872776031494, -0.18136480450630188, 0.9513581395149231, 0.8653695583343506, -0.47352439165115356, 0.1736132949590683, 0.16783922910690308, 0.7719549536705017, -1.0453671216964722, -0.12219085544347763, -0.6542364954948425, -0.04591149836778641, -0.45750921964645386, -0.4038059115409851, -0.5459703207015991, -0.5334280729293823, -0.41039764881134033, -0.23532786965370178, -0.0830390527844429, 0.3870146572589874, 1.1501317024230957, 0.13946013152599335, -0.16805975139141083, -0.03306535631418228, -0.03295197710394859, 0.7086601853370667, -0.5681988000869751, 0.6341672539710999, 0.19518838822841644, 0.46508756279945374, -0.09864147007465363, -0.6787201762199402, -0.29749032855033875, -0.16338001191616058, -0.26013311743736267, 0.19653992354869843, 0.07574231177568436, 0.32272255420684814, 0.06022121012210846, 0.4131075441837311, -0.8047533631324768, 0.0016348600620403886, 0.19165144860744476, -0.1673351675271988, 0.3408268392086029, 0.4435180723667145, 0.3268687129020691, -0.558813750743866, -0.9417482018470764, -0.1906212419271469, -0.5271949768066406, 0.222684845328331, 0.6037582755088806, 0.39747029542922974, 0.09054377675056458, 0.6752110123634338, -0.1160738542675972, 0.8435237407684326, 0.265838086605072, 0.04891453683376312, 0.07033757120370865, -0.5725981593132019, -0.40426763892173767, 0.33823278546333313, 0.9502694010734558, 0.28105077147483826, -0.1781013458967209, 0.16403065621852875, -0.4773408770561218, 0.21399684250354767, 0.43451106548309326, -0.5064013004302979, -0.2765601575374603, -0.09930269420146942, -0.5668847560882568, -0.26946336030960083, 0.3204047679901123, -1.2763280868530273, -0.25628334283828735, -0.4367060661315918, 0.5079984068870544, -0.517560601234436, -0.14205360412597656, -0.20180872082710266, -0.12640561163425446, 0.3191426992416382, 0.23412899672985077, -0.8476465940475464, 0.38862156867980957, 1.0569761991500854, 0.6185126900672913, 0.020953895524144173, -0.42502325773239136, -0.9542452692985535, -0.26463499665260315, -0.34488752484321594, 1.0064082145690918, -1.1391892433166504, -0.2187766581773758, -0.28452232480049133, -0.1273520141839981, -0.4182758033275604, -0.4019886553287506, 0.5216585993766785, -0.29468777775764465, 0.3758733570575714, -0.5934375524520874, -0.8789383172988892, 0.36018380522727966, 0.3603599965572357, -0.32603150606155396, 0.8011701703071594, 0.7993115186691284, -0.7514503598213196, 0.6469737887382507, -0.6368964910507202, -0.1301129162311554, 0.28774169087409973, -0.13718126714229584, -0.5346935987472534, 0.26557207107543945, 0.3908126950263977, 0.09463272988796234, 0.016381023451685905, 0.5812801122665405, -0.4762348532676697, -0.5965010523796082, 0.08601295202970505, -0.5895081162452698, 0.9450603127479553, 0.39328533411026, -0.33858272433280945, 0.2548810839653015, -0.8074496984481812, 0.5241451859474182, -0.11692764610052109, -0.1652950495481491, -0.5432447791099548, -0.0399988628923893, -0.09747400134801865, -0.49460911750793457, 0.27238374948501587, -0.4564134478569031, 0.13507388532161713, -0.4834215044975281, -0.19159862399101257, 0.85445237159729, -0.17934398353099823, 0.43390917778015137, -0.11768513917922974, 0.9181502461433411, -0.27994459867477417, 0.06934899091720581, -0.5062832236289978, -0.13007700443267822, -0.6108129024505615, -0.45589157938957214, 0.9357958436012268, 0.5047486424446106, -0.48839500546455383, 1.1697964668273926, -0.3981797993183136, -0.559924840927124, -0.731413722038269, -0.1597379446029663, 0.605448842048645, 0.7818230390548706, 0.3659839332103729, -0.46643972396850586, -0.587909996509552, -1.030826449394226, -0.7297760248184204, -0.5889105796813965, 0.2696177363395691, -0.23841707408428192, 0.08264272660017014, 0.13371267914772034, 0.8959944844245911, -0.19153067469596863, 0.1898832470178604, -0.34345269203186035, 0.2153012454509735, -0.09535254538059235, 0.48655879497528076, 0.39041492342948914, -0.5272391438484192, -0.5764144659042358, 0.06999561190605164, -0.419846773147583, -0.8513103723526001, -0.393658310174942, -0.384086936712265, -0.06937848776578903, 0.05616716295480728, -0.18704918026924133, 0.3381058871746063, 0.5287832617759705, -0.8217484354972839, 0.36555051803588867, 0.43481889367103577, 0.7403295040130615, -1.2208902835845947, 0.11449248343706131, -0.034531399607658386, -0.7895699143409729, -0.3079613149166107, 0.3985148072242737, 0.5987424850463867, 0.015145798213779926, -0.39769425988197327, 0.278687059879303, -0.3795357644557953, -0.4143126606941223, 0.06610049307346344, 0.03655221313238144, 0.6056234240531921, -0.0296916626393795, -0.2871708571910858, 1.0205520391464233, 0.32120048999786377, 0.02617853507399559, 0.3984951972961426, 0.2994115948677063, -0.49247634410858154, 1.3214874267578125, -0.2186705470085144, -0.11968415230512619, 0.1243678629398346, 0.006110850255936384, -1.043330192565918, -0.204213947057724, 0.30461716651916504, -0.3424874246120453, 0.7203744649887085, 0.035865072160959244, -0.11562491208314896, -0.08977162837982178, -0.4474218487739563, 0.10242623090744019, 0.2721714377403259, -0.6851710677146912, 0.33433178067207336, 0.2617180347442627, -0.3990538716316223, -0.6825466156005859, -0.5427859425544739, 0.24137279391288757, -0.5296663641929626, -0.4280362129211426, 0.16184121370315552, 0.5225242376327515, -0.3334784209728241, 0.302897572517395, -0.08583345264196396, -0.03834715485572815, 0.11336879432201385, -0.2253728210926056, 0.30206161737442017, -0.7376893162727356, -0.32111236453056335, 0.12063737213611603, -0.07247114926576614, -0.03741597384214401, 0.30670756101608276, 0.6514466404914856, -0.5251466035842896, -0.9309826493263245, -0.43491798639297485, 0.5221512913703918, 0.46065443754196167, -0.2137390375137329, 0.6465165615081787, 0.48210033774375916, -0.2590356469154358, 0.20514677464962006, -0.7282136678695679, 0.12149780243635178, -0.5050865411758423, 0.35535603761672974, -0.277473121881485, -0.6910555958747864, 0.5147470831871033, -0.09102405607700348, -0.3144378364086151, 0.4301113486289978, 0.32389551401138306, -0.12680788338184357, 0.9176148176193237, -0.03202369064092636, 0.10386230796575546, 0.3686377704143524, 0.608998715877533, 0.42371878027915955, -1.1160070896148682, -0.20940755307674408, -0.9274364709854126, -0.6744223833084106, -0.2789396643638611, -0.03349470719695091, 0.179321750998497, 0.4549233317375183, -0.33144310116767883, 0.7276102900505066, -0.6124864220619202, 0.5626766681671143, 0.2914268374443054, -0.2906881272792816, 0.035357940942049026, -0.10746175050735474, -0.12768259644508362, -0.3964464068412781, -0.4299713969230652, -0.623340368270874, 0.7846031785011292, 0.26264891028404236, 0.9362964034080505, -0.06981958448886871, 1.0109437704086304, 0.12180230021476746, 0.30408257246017456, -0.6432986855506897, 0.7205591201782227, 0.14807666838169098, -0.2090958058834076, -0.25896593928337097, -0.7130383253097534, -0.9319825172424316, 0.4710322916507721, 0.18055017292499542, -1.112205982208252, 0.1540033519268036, 0.060860972851514816, -0.3570846617221832, 0.40705278515815735, -1.071340560913086, 1.0618464946746826, -0.6608964204788208, -0.37367528676986694, 0.23624923825263977, -0.5619039535522461, 0.21752940118312836, 0.06450509279966354, -0.13706786930561066, -0.15938396751880646, -0.021770378574728966, 0.5906310677528381, -0.43674802780151367, 0.34253358840942383, -0.5228915810585022, 0.3365953266620636, 0.32912778854370117, 0.1763380914926529, 0.2694416642189026, 0.018417514860630035, -0.11490198969841003, -0.02055744268000126, 0.31683269143104553, -0.3708317279815674, -0.6415977478027344, 0.8458559513092041, -0.20560809969902039, -0.6134786605834961, -0.5309004187583923, -0.1988220065832138, -0.32231906056404114, 0.19192473590373993, 0.08422867208719254, 0.40958666801452637, -0.4051837623119354, 0.6268123388290405, 0.07688113301992416, -0.08611223101615906, 0.411928653717041, 0.3304409682750702, -0.4645320177078247, -0.6790903210639954, 0.8146790266036987, -0.1031837910413742, 0.16418425738811493, 0.6350165605545044, 0.37923890352249146, -0.7835211157798767, -0.030913930386304855, -0.5131698250770569, -0.36548957228660583, -0.5585819482803345, -0.6734915375709534, -0.42406708002090454, -0.033251337707042694, -0.4924728274345398, -0.4831351041793823, -0.6474618315696716, -0.26988330483436584, -0.007797082420438528, 0.02909562923014164, -0.2041454166173935, 0.27674347162246704, 0.07850898057222366, 0.15693873167037964, -0.9658986330032349, 0.1937338262796402, -0.10233420133590698, 0.6011747717857361, -0.6862562894821167, -0.2688702940940857, 0.0921049565076828, -0.04758718982338905, -0.6022731065750122, -1.1923576593399048, 0.2616342306137085, 0.22751736640930176, 0.5783666968345642, 0.42052456736564636, -0.011836262419819832, 1.309935212135315, -0.4988710284233093, 1.1733354330062866, 0.5337761640548706, -1.3967934846878052, 0.8040927648544312, -0.1479705274105072, 0.14918017387390137, 1.216354250907898, -0.15828916430473328, -0.22410070896148682, -0.269781231880188, -0.7855454087257385, -0.6824887990951538, 0.5006358027458191, 0.21967315673828125, -0.014322832226753235, -0.18395377695560455, 0.05910208076238632, 0.2250135987997055, 0.337035596370697, -0.47854095697402954, 0.20390358567237854, -0.18952085077762604, -0.5191888213157654, 0.4143233299255371, -0.03400333598256111, -0.0893840566277504, -0.4655994772911072, 0.46344906091690063, -0.17085832357406616, 0.369202584028244, 0.08494710922241211, 0.06055021286010742, -0.48591452836990356, 0.704515814781189, 0.4311436116695404, 0.8350793719291687, -0.16194777190685272, 0.17167261242866516, 0.08544506132602692, -0.042431339621543884, 0.39167144894599915, 0.08175975829362869, 0.02721690572798252, 0.10110203176736832, 0.4211536943912506, 0.8053030371665955, 0.44115787744522095, -0.4656497836112976, 0.8761525750160217, 0.02068280056118965, -0.12588070333003998, -0.01669497974216938, 0.15537676215171814, -0.08990039676427841, 0.12587378919124603, -0.12824410200119019, 0.41969913244247437, 0.24274739623069763, -0.341448038816452, 0.4918544888496399, 0.6075762510299683, -0.3868871331214905, -0.17707650363445282, 0.6652794480323792, 0.18106132745742798, -0.6453272700309753, 0.3559311628341675, -0.2891143262386322, -0.503226637840271, 0.5577965974807739, 0.7316648960113525, 0.8195816278457642, -0.7459767460823059, 0.12192364782094955, 0.08251608908176422, 0.28452032804489136, -0.007873068563640118, 0.4119322597980499, -0.029161352664232254, -0.5144252181053162, -0.33214476704597473, -1.021369218826294, -0.4937435984611511, 0.126925989985466, -1.2945611476898193, 0.4289449155330658, -0.2581113278865814, -0.134879007935524, -0.3296037018299103, -0.19455277919769287, -0.5642431378364563, 0.03635650873184204, -0.028989678248763084, 0.8819592595100403, -0.9805656671524048, 0.4815642535686493, 0.9546743631362915, 0.023133881390094757, -0.9264189004898071, 0.17073582112789154, -0.009850351139903069, -0.8727519512176514, -0.07978764176368713, 0.3429473638534546, 0.1465366929769516, -0.2717052102088928, -0.016321726143360138, -0.7224897742271423, 0.8615755438804626, 0.7998444437980652, -0.945216178894043, 0.24597348272800446, 0.15803056955337524, 0.5349480509757996, -0.2507396340370178, 0.32150211930274963, 0.7826635837554932, 0.8158998489379883, -0.34803831577301025, -0.8305540084838867, -0.14727352559566498, -0.1372181624174118, -0.0005788640701211989, 0.7725221514701843, -0.6789036989212036, 0.308480829000473, 0.4666617810726166, -0.11809409409761429, 0.06124335527420044, 0.44217368960380554, 0.2461884319782257, 0.5904214978218079, 0.6007850766181946, 1.06334388256073, 0.8853370547294617, -0.48930075764656067, 0.9873632788658142, -0.28321850299835205, 0.6691802740097046, 1.182105541229248, -0.7313591241836548, 0.826745331287384, 0.7597282528877258, -0.5838367938995361, 0.4233348071575165, 0.35077759623527527, 0.07015450298786163, 0.600400447845459, 0.06347240507602692, -0.15794411301612854, -0.2692703604698181, 0.0005431860918179154, -0.3558447062969208, 0.8333266973495483, 0.43999484181404114, -0.4023778736591339, -0.4490814507007599, -0.39867261052131653, -0.1405046135187149, 0.5256819725036621, -0.17408457398414612, 0.6437239050865173, 0.026447635143995285, -0.8939381241798401, 0.28487128019332886, -0.23022149503231049, 0.25446274876594543, -0.6726391911506653, -0.05613090842962265, -0.07401912659406662, 0.10045108944177628, -0.14689010381698608, -1.0790311098098755, 0.6869276762008667, 0.12239209562540054, 0.34214892983436584, -0.4748586118221283, 0.8380255103111267, -0.3358824849128723, -0.6761389374732971, 0.20399850606918335, 0.5515335202217102, -0.15739977359771729, 0.2255672663450241, -0.8530616760253906, 0.3260640799999237, 0.13437603414058685, -0.6329634785652161, 0.522211492061615, 0.22591546177864075, 0.3525926470756531, 0.05261782184243202, 0.3110848665237427, 0.30097097158432007, -0.07813283801078796, 0.22523553669452667, 0.7257689833641052, -0.5080944299697876, -0.5828972458839417, -1.0219537019729614, 0.8103793859481812, -0.4231797158718109, -0.3730466663837433, 0.5582177639007568, 0.686599612236023, 0.7149912714958191, 0.2127334326505661, 0.4707925021648407, -0.26073017716407776, 0.5020837783813477, -0.6877344846725464, 0.625592052936554, -0.6344471573829651, 0.22823141515254974, -0.4390895962715149, -1.4753574132919312, -0.3168732821941376, 0.7955603003501892, -0.05330361798405647, 0.006617969833314419, 1.0668416023254395, 0.803560733795166, -0.4326856732368469, 0.18239428102970123, 0.59641033411026, -0.33079826831817627, 0.29948553442955017, 0.42730849981307983, 0.9389095902442932, -0.309335321187973, 0.02588398940861225, -0.17721357941627502, -0.19398663938045502, -0.16033996641635895, -0.9168305397033691, -0.6008505821228027, -0.5885921716690063, -0.337997704744339, -0.2639046907424927, 0.188404381275177, 1.0674694776535034, 0.4134235382080078, -0.9251474738121033, 0.2566166818141937, -0.19154393672943115, -0.2798977196216583, -0.11369872838258743, -0.3975118398666382, 0.3641088604927063, -0.620395839214325, -0.6728149056434631, 0.8630596399307251, 0.6890162229537964, -0.4536289572715759, -0.06611490249633789, 0.08807935565710068, -0.05015534162521362, 0.044664863497018814, 0.023111863061785698, 0.010154460556805134, -0.8393239974975586, -0.7865496873855591, -0.20353873074054718, -0.2513446509838104, 0.45457327365875244, 0.6210343241691589, -0.6532657146453857, 0.7149922847747803, 0.6842537522315979, 1.0553405284881592, -0.29127418994903564, 0.7626890540122986, 0.42872536182403564, -0.9622347354888916, -0.021965282037854195, 0.4073847830295563, 0.8658129572868347, 0.49940839409828186, -0.49404090642929077, 0.43135973811149597, 0.11378900706768036, -0.7085894346237183, -1.0245684385299683, 0.05786503106355667, -1.070823073387146, 0.18114733695983887, 0.9705936908721924, -0.39333704113960266, -0.29162901639938354, 0.3609650433063507, -0.28604796528816223, 0.1670064777135849, -0.36343273520469666, 0.5202914476394653, 0.8032249212265015, -0.1840885728597641, -0.3187384605407715, 0.1322190910577774, -0.14345520734786987, 0.8254324197769165, -0.8405076861381531, -0.16060297191143036, 0.3746545910835266, 0.12968327105045319, 0.2569001019001007, 0.5505592823028564, -0.3880051076412201, 0.19496768712997437, 0.21912965178489685, -0.2172582596540451, 0.126606747508049, -0.3355798125267029, -0.45195460319519043, 0.48977693915367126, -0.09250567853450775, -0.25608396530151367 ]
http://arxiv.org/abs/2405.14141v2
http://arxiv.org/pdf/2405.14141v2
ViHateT5: Enhancing Hate Speech Detection in Vietnamese With A Unified Text-to-Text Transformer Model
2024-05-23T03:31:50
2024-06-04T09:51:41
Luan Thanh Nguyen
cs.CL
cs.CL
Recent advancements in hate speech detection (HSD) in Vietnamese have made significant progress, primarily attributed to the emergence of transformer-based pre-trained language models, particularly those built on the BERT architecture. However, the necessity for specialized fine-tuned models has resulted in the complexity and fragmentation of developing a multitasking HSD system. Moreover, most current methodologies focus on fine-tuning general pre-trained models, primarily trained on formal textual datasets like Wikipedia, which may not accurately capture human behavior on online platforms. In this research, we introduce ViHateT5, a T5-based model pre-trained on our proposed large-scale domain-specific dataset named VOZ-HSD. By harnessing the power of a text-to-text architecture, ViHateT5 can tackle multiple tasks using a unified model and achieve state-of-the-art performance across all standard HSD benchmarks in Vietnamese. Our experiments also underscore the significance of label distribution in pre-training data on model efficacy. We provide our experimental materials for research purposes, including the VOZ-HSD dataset, pre-trained checkpoint, the unified HSD-multitask ViHateT5 model, and related source code on GitHub publicly.
[ -0.2606700360774994, -0.6323232650756836, 0.22581152617931366, 0.07345014065504074, -0.3750908672809601, -0.018846405670046806, -0.06593446433544159, -0.42246538400650024, -0.069730244576931, 0.7875179052352905, -0.4457855522632599, -0.7500029802322388, -0.7566784024238586, -0.0877782329916954, -0.5684454441070557, 1.1050148010253906, 0.3293079435825348, -0.04439990222454071, 0.27614712715148926, -0.23308397829532623, -0.3876945674419403, -0.7104175686836243, -0.16166505217552185, -0.06901758909225464, 0.6923531889915466, 0.5248498916625977, 0.3303918242454529, 0.6670323610305786, 0.5761692523956299, 0.22210827469825745, 0.07401926815509796, -0.09358242899179459, -0.7333580851554871, 0.15546686947345734, -0.1408786028623581, -0.20384454727172852, -0.31490084528923035, -0.26393866539001465, 0.2641453742980957, 0.01396955456584692, -0.057415127754211426, 0.27376729249954224, -0.0333016999065876, 0.056291453540325165, -0.6903889179229736, -0.055987775325775146, -0.7561332583427429, -0.18604452908039093, -0.5715338587760925, 0.21826717257499695, -0.2904590666294098, -0.1860743910074234, 0.3058817684650421, -0.5110129117965698, 0.33725231885910034, -0.4159885346889496, 0.7860454320907593, 0.4233812987804413, -0.45602378249168396, 0.026202844455838203, -0.9300140142440796, 0.7187572121620178, -0.5832746624946594, 0.5156615972518921, 0.085869200527668, 0.44368189573287964, 0.37800121307373047, -0.6395835280418396, -0.7498719692230225, -0.05411238595843315, 0.381412148475647, 0.2633146643638611, -0.4925878643989563, 0.18456049263477325, 0.26958638429641724, 0.36198413372039795, -0.545330286026001, 0.2775048017501831, -0.5997123718261719, -0.41212591528892517, 0.48452475666999817, -0.05913877487182617, 0.32071906328201294, -0.4540051817893982, -0.6147578358650208, -0.08552982658147812, -0.19707965850830078, -0.21081189811229706, 0.22410431504249573, 0.5471891760826111, -0.06893228739500046, 0.4515247046947479, -0.17728544771671295, 0.405965119600296, -0.21711286902427673, -0.2062000036239624, 0.30201300978660583, -0.15985198318958282, -0.3279596269130707, -0.10277986526489258, 0.666709840297699, 0.22117121517658234, 0.5943130254745483, 0.05876128748059273, -0.1951548308134079, 0.668412446975708, 0.793988049030304, -0.9327420592308044, -0.330281138420105, 0.269687682390213, -0.4176308214664459, -0.6117143630981445, -0.04858136177062988, -0.8192117810249329, -0.5340101718902588, -0.3392992615699768, 0.7930847406387329, -0.5557035803794861, -0.5243921279907227, -0.13137982785701752, -0.4312659502029419, 0.17430950701236725, 0.25004759430885315, -0.3959639370441437, 0.11687470972537994, 0.3745731711387634, 0.5639401078224182, -0.7701306939125061, -0.39363011717796326, -0.7598769664764404, 0.12651142477989197, 0.13998615741729736, 0.7622408866882324, -0.6283191442489624, -0.5045342445373535, 0.4079670011997223, -0.15766875445842743, 0.2357538640499115, -0.6646531224250793, 1.1629499197006226, -0.48999258875846863, 0.18047891557216644, -0.0619434230029583, -0.5553007125854492, -0.15512427687644958, 0.1489502191543579, -0.5426701903343201, 1.0675199031829834, 0.26428842544555664, -0.7609621286392212, 0.2995355725288391, -0.66004478931427, -0.484226793050766, 0.22723835706710815, 0.05425513908267021, -0.8849706649780273, -0.12111472338438034, 0.22127144038677216, 0.4729602038860321, -0.13602150976657867, 0.08293797820806503, -0.4783600866794586, -0.1446409821510315, -0.33428987860679626, -0.44456785917282104, 1.0087463855743408, 0.33813774585723877, -0.6176472306251526, 0.7145893573760986, -0.8373731374740601, -0.32192671298980713, 0.15657339990139008, -0.107192762196064, -0.42644354701042175, -0.14738619327545166, 0.6780657768249512, 0.23059989511966705, 0.030749939382076263, -0.7395429611206055, -0.18722696602344513, 0.05549293011426926, 0.05344608798623085, 0.9636237025260925, -0.2715521454811096, -0.010609027929604053, -0.21611644327640533, 0.6594985723495483, 0.4487079679965973, 0.4016551673412323, -0.29638439416885376, -0.5491528511047363, -0.7137343287467957, -0.4150603413581848, -0.08678287267684937, 0.6884800791740417, -0.8719977736473083, 0.14630495011806488, -0.20757050812244415, -0.7431424260139465, -0.6081746220588684, -0.06379923969507217, 0.4233836829662323, 0.5203498005867004, 0.8000246286392212, -0.015648124739527702, -0.8615846037864685, -0.8539367318153381, -0.316963255405426, -0.029309188947081566, -0.10137771815061569, -0.00433642091229558, 0.5147087574005127, -0.5964722633361816, 0.8603854775428772, -0.4493309557437897, -0.6087846755981445, -0.1652357578277588, 0.13575294613838196, -0.32967641949653625, 0.09715134650468826, 0.6677618622779846, -0.9955286979675293, -0.5757143497467041, -0.09450142830610275, -0.5397900938987732, -0.3756119906902313, 0.3529609441757202, -0.0004290438664611429, -0.0331995002925396, 0.47419267892837524, -0.07998233288526535, 0.49284249544143677, 0.5698155164718628, -0.32505175471305847, 0.7924519777297974, 0.14106400310993195, 0.06457638740539551, -1.236392855644226, -0.32599058747291565, 0.10458827763795853, -0.36638596653938293, -0.9109124541282654, -0.03883633017539978, -0.09343069791793823, -0.264123797416687, -0.6729626059532166, 0.30848821997642517, -0.05398166924715042, 0.20058633387088776, -0.5100279450416565, -0.1659923642873764, -0.41882485151290894, 0.48457133769989014, 0.13608334958553314, 0.6777293682098389, 0.3741037845611572, -0.8531537055969238, 0.3717958629131317, -0.01542622409760952, -0.09202160686254501, 1.0093492269515991, -0.6162700653076172, -0.06556537002325058, -0.017301883548498154, -0.012363049201667309, -0.8243120312690735, -0.21709826588630676, 0.11114747077226639, -0.5735063552856445, -0.3359975814819336, -0.25985729694366455, -0.07548351585865021, -0.5897129774093628, -0.40453073382377625, 0.4640486240386963, 0.5646904706954956, -0.7172470688819885, 0.6128553152084351, 0.858192503452301, 0.2020627111196518, -0.33361735939979553, -0.364811509847641, -0.05433591455221176, -0.5697909593582153, -0.41862499713897705, 0.5214105248451233, -0.07692509889602661, -0.08768925815820694, -0.29449859261512756, 0.12669968605041504, -0.3329485356807709, -0.08352340012788773, 0.36774885654449463, 0.050666265189647675, -0.3573604226112366, 0.16770119965076447, -0.13058292865753174, 0.02416106127202511, 0.03477946296334267, -0.5620800256729126, 0.3467416763305664, -0.028293857350945473, -0.07931510359048843, -0.5524985790252686, 0.27717676758766174, 0.984275758266449, -0.3842557668685913, 0.3844519853591919, 1.0718659162521362, -0.4288714826107025, -0.2809295356273651, -0.6322344541549683, -0.030025335028767586, -0.42480984330177307, 0.36183419823646545, -0.29813724756240845, -1.1090635061264038, 0.2328650802373886, 0.09618107974529266, 0.14339269697666168, 0.5084790587425232, 0.7059013247489929, -0.20723611116409302, 0.7338210344314575, 0.9308550953865051, -0.2791273295879364, 0.7801290154457092, 0.25619232654571533, -0.08914302289485931, -0.3178651034832001, 0.15211491286754608, -0.6729725003242493, 0.15688297152519226, -0.8668457269668579, -0.7147079706192017, 0.5790337324142456, -0.4861776828765869, -0.46750757098197937, 0.408016562461853, -0.6886115074157715, 0.26382970809936523, 0.5688877701759338, -0.13573992252349854, 0.29069069027900696, 0.2467746138572693, 0.17135009169578552, -0.4404769837856293, -0.31596168875694275, -0.34529852867126465, 1.1910297870635986, 0.19885973632335663, 0.4032432436943054, 0.10968343168497086, 0.4279681146144867, 0.705280065536499, 0.22610631585121155, -0.5905316472053528, 0.23968125879764557, -0.3246208429336548, -0.49880895018577576, -0.4625472128391266, -0.14161911606788635, -1.0012567043304443, 0.5002236366271973, 0.014927721582353115, -0.5079501271247864, 0.038720451295375824, 0.20450787246227264, -0.19452190399169922, 0.47303906083106995, -0.7790989875793457, 0.9899857640266418, 0.004512278363108635, -0.19298990070819855, -0.24357931315898895, -0.4303591549396515, 0.5312204360961914, -0.07817600667476654, 0.31406787037849426, -0.10774723440408707, 0.33692818880081177, 0.892139196395874, -0.49669820070266724, 0.9794660806655884, -0.3754115104675293, -0.38396474719047546, 0.33095380663871765, -0.29604777693748474, 0.24380072951316833, -0.2831357717514038, -0.01996942050755024, 0.3794513940811157, -0.10900122672319412, -0.5705128312110901, -0.2068447768688202, 0.358381986618042, -0.8803219199180603, -0.39800792932510376, -0.21213777363300323, -0.182913139462471, -0.06080608069896698, 0.43915125727653503, 0.5185558199882507, 0.14065252244472504, -0.5140435099601746, 0.05424188822507858, 0.9150938987731934, -0.23601122200489044, 0.1268775463104248, 0.47236889600753784, -0.47668489813804626, -0.2763282358646393, 1.2782553434371948, 0.0925142839550972, 0.12205386161804199, 0.42152926325798035, 0.22545425593852997, -0.04286324232816696, -0.20954930782318115, -0.42579135298728943, 0.08245059102773666, -0.3368411660194397, -0.14983604848384857, -0.9077798128128052, -0.29548031091690063, -0.6110879182815552, 0.095382921397686, -0.6007587909698486, 0.008384267799556255, 0.10767205059528351, -0.05243726447224617, 0.4745563566684723, 0.8249806761741638, -0.12619297206401825, 0.6181599497795105, -0.6081520915031433, 0.9819501042366028, 0.6159030199050903, 0.2762916386127472, -0.2584432363510132, -0.8348871469497681, -0.3038504421710968, 0.13986094295978546, -0.4502697288990021, -1.081664800643921, 0.29153376817703247, -0.29951611161231995, 0.11474575847387314, 0.5172038674354553, 0.33768370747566223, 0.43613556027412415, -0.3673156499862671, 0.5877385139465332, -0.11767715960741043, -0.9623517990112305, 0.8041844964027405, -0.8251966834068298, 0.3418443202972412, 0.14962895214557648, 0.3580981194972992, -0.6646583080291748, -0.4581812918186188, -0.6597016453742981, -0.49975457787513733, 0.61747145652771, 0.47632327675819397, 0.10902885347604752, 0.4332074522972107, -0.2153894454240799, 0.07079711556434631, 0.21398642659187317, -0.9103245735168457, -0.2955528497695923, -0.6914548873901367, -0.11740309000015259, 0.1588696837425232, -0.3951055705547333, 0.20219284296035767, -0.4710533320903778, 0.5991519093513489, 0.050773970782756805, 0.2536809742450714, -0.10172050446271896, -0.2908436059951782, 0.2519986033439636, 0.2541806995868683, 0.6770452260971069, 0.3064637780189514, -0.09234047681093216, -0.01510823704302311, 0.09238509088754654, -0.8738002777099609, 0.02073061466217041, 0.07707735151052475, -0.22037170827388763, 0.3384627401828766, 0.31843262910842896, 0.9214915633201599, -0.07784397155046463, -0.5213804841041565, 0.7413755059242249, -0.08448557555675507, -0.11575999855995178, -0.3978232145309448, 0.0923473909497261, -0.1330297291278839, 0.08792511373758316, 0.28641217947006226, -0.18048018217086792, 0.1738719940185547, -0.15721231698989868, 0.40325093269348145, 0.09651350975036621, -0.8000456690788269, -0.5097863674163818, 0.8425664305686951, 0.35907256603240967, -0.6215777397155762, 0.56277996301651, 0.031322166323661804, -0.8985656499862671, 0.5137434005737305, 0.3104430139064789, 0.8370662331581116, -0.918092668056488, 0.5032820701599121, 0.37070372700691223, 0.5152586698532104, 0.43065720796585083, 0.23152457177639008, -0.13157208263874054, -0.8450712561607361, -0.12581641972064972, -0.6475821137428284, -0.24601134657859802, 0.544344961643219, -0.7440236806869507, 0.4967498183250427, -0.11432184278964996, 0.01822466216981411, 0.049439407885074615, -0.3383393883705139, -0.6435965299606323, 0.4951533377170563, 0.3907970190048218, 0.4495896100997925, -0.7984679937362671, 0.9904489517211914, 0.49749454855918884, -0.3526904284954071, -0.45541077852249146, 0.1249389797449112, 0.2644825577735901, -0.6990627646446228, 0.2790413498878479, 0.2538054287433624, -0.3293520212173462, 0.08223465830087662, -0.5531841516494751, -0.4427582919597626, 0.4777873754501343, 0.3576856255531311, -0.44659411907196045, 0.12758736312389374, 0.41879719495773315, 0.6740436553955078, -0.0861433744430542, 0.1958754062652588, 0.6088443398475647, 0.4727208614349365, -0.19464384019374847, -0.9054021239280701, -0.36651620268821716, -0.21518705785274506, 0.037672948092222214, -0.017615798860788345, -0.6497899293899536, 0.7836909890174866, -0.2166767120361328, -0.08732941001653671, -0.5229195356369019, 1.0325015783309937, 0.1030179113149643, 0.12340377271175385, 0.6626502871513367, 0.48501473665237427, 0.8392065167427063, 0.20407558977603912, 0.9377344846725464, 0.13410893082618713, 0.13548289239406586, 1.0824629068374634, -0.1175580844283104, 0.8082478046417236, 0.07826213538646698, -0.08927206695079803, 0.40951642394065857, 0.2794587016105652, -0.1291968673467636, 0.3103954792022705, 0.18366289138793945, -0.3969203233718872, -0.33636474609375, -0.3993718922138214, -0.45729541778564453, 0.7721715569496155, 0.333833247423172, 0.06350966542959213, -0.23811474442481995, 0.5710048675537109, 0.0330207385122776, 0.2598949670791626, -0.11709122359752655, 0.6522679328918457, -0.04812181740999222, -0.40326908230781555, 0.5019643902778625, 0.1998492330312729, 1.1170573234558105, -0.4090674817562103, 0.09373077005147934, -0.11745560169219971, 0.3644976317882538, 0.024608345702290535, -0.47867196798324585, 0.3602372407913208, 0.34345877170562744, -0.3552550673484802, -0.298557311296463, 0.7268238067626953, -0.4934740960597992, -0.32288265228271484, 0.5417909026145935, 0.320234090089798, -0.027237050235271454, -0.5831714272499084, -0.5733678936958313, 0.3747696578502655, 0.07250610738992691, 0.08288230746984482, 0.09654147177934647, 0.511127233505249, -0.28541868925094604, 0.37114280462265015, 0.4869336485862732, -0.1814463585615158, 0.20623430609703064, 0.3573567569255829, 0.7688345313072205, -0.731045126914978, -0.6541905999183655, -0.7972449660301208, 0.40005117654800415, -0.09691189974546432, -0.6432993412017822, 0.8031041026115417, 0.6010755896568298, 1.1860082149505615, -0.15630632638931274, 1.1733877658843994, 0.3325793743133545, 1.0435949563980103, -0.12011723965406418, 0.7335888743400574, -0.49379080533981323, -0.11835412681102753, -0.6539061665534973, -0.6941781044006348, -0.12555402517318726, 0.4869289994239807, 0.0024078134447336197, 0.023173583671450615, 0.5358240008354187, 0.6065937280654907, -0.18931348621845245, 0.09695839136838913, 0.5908651947975159, 0.6028138399124146, 0.7882325649261475, 0.23613624274730682, 0.6168085932731628, -0.5925527215003967, 0.8204418420791626, -0.19208920001983643, 0.023827724158763885, -0.32570624351501465, -0.33968275785446167, -0.8847326040267944, -0.9112961888313293, -0.32398971915245056, -0.2718331217765808, 0.22155457735061646, 0.4561046361923218, 0.7530094981193542, -0.8044379353523254, -0.4273957312107086, 0.15894372761249542, 0.30960631370544434, 0.023732099682092667, -0.2634665369987488, 0.17596599459648132, -0.20995953679084778, -0.8375877141952515, 0.21328239142894745, 0.30681174993515015, -0.04680997133255005, -0.07335830479860306, 0.1672055721282959, -0.13581620156764984, 0.0002217777946498245, 1.0189887285232544, 0.1937035322189331, -0.7454402446746826, -0.24848322570323944, -0.11615585535764694, -0.2947961390018463, 0.11918307840824127, 0.8586728572845459, -0.9237009286880493, 0.44417497515678406, 0.268899530172348, 0.7826833724975586, 0.5391225814819336, -0.036910075694322586, 0.5927768349647522, -0.49217844009399414, 0.09146939963102341, 0.22284629940986633, -0.07655185461044312, 0.2028491348028183, -0.017825372517108917, 0.30774518847465515, 0.450450599193573, -0.2921481132507324, -0.898723840713501, 0.23286451399326324, -0.9008024334907532, -0.25240784883499146, 1.082616925239563, 0.2688106298446655, -0.2399698942899704, -0.5676308870315552, -0.4084092676639557, 0.48719123005867004, -0.4246419370174408, 0.7908176183700562, 0.5928378105163574, 0.3353356122970581, -0.09589427709579468, -0.4370039701461792, 0.7720059752464294, 0.40912115573883057, -1.0894906520843506, 0.18874013423919678, 0.5202425122261047, 0.13047710061073303, -0.0376618392765522, 0.6772599220275879, 0.16973038017749786, 0.4856047034263611, -0.11181190609931946, 0.3164936304092407, 0.26798155903816223, -0.4474680423736572, -0.1354004144668579, 0.4521748423576355, -0.41933953762054443, -0.3281930088996887 ]
http://arxiv.org/abs/2405.15818v1
http://arxiv.org/pdf/2405.15818v1
DuanzAI: Slang-Enhanced LLM with Prompt for Humor Understanding
2024-05-23T03:13:50
2024-05-23T03:13:50
Yesian Rohn
cs.CL
cs.CL
Language's complexity is evident in the rich tapestry of slang expressions, often laden with humor and cultural nuances. This linguistic phenomenon has become increasingly prevalent, especially in digital communication. However, existing AI models, including ChatGPT-3.5, face challenges in comprehending these nuances, particularly in Chinese slang. In this study, we present DuanzAI, an innovative approach enhancing Large Language Models (LLMs) with deep Chinese slang comprehension. Leveraging curated datasets and advanced techniques, DuanzAI bridges the gap between human expression and AI comprehension, enabling contextually relevant responses. Our experiments contrast LLMs' performance with a custom Punchline Entity Recognition (PER) system, integrating phonetic matching and pinyin2hanzi techniques. Applying these insights, we developed ChatDAI, an advanced chatbot and released our code at \url{https://github.com/YesianRohn/DuanzAI}.
[ 0.036302655935287476, -1.0160828828811646, 0.5027778744697571, 0.8173116445541382, -0.5394241213798523, 0.32666367292404175, -0.23239712417125702, -0.33359238505363464, 0.4569370746612549, 0.34678542613983154, -0.5476275086402893, -0.5323864221572876, -0.27845343947410583, 0.01894327811896801, -0.23564717173576355, 1.0142393112182617, 0.36833107471466064, -0.04077994078397751, 0.0931984931230545, 0.20945324003696442, -0.8498803973197937, -0.3536553382873535, -1.076456069946289, -0.36435753107070923, 0.7432909607887268, 0.41410133242607117, 0.8358137607574463, 0.24448062479496002, 0.42098841071128845, 0.34279271960258484, -0.05362545698881149, 0.30706658959388733, -0.6651473045349121, 0.08191805332899094, 0.28267979621887207, -0.662121057510376, -0.49765053391456604, -0.4405743479728699, 0.32979822158813477, 0.8434940576553345, -0.18601250648498535, -0.337679922580719, -0.20666472613811493, 0.5262751579284668, -0.32648777961730957, 0.030246524140238762, -0.8302777409553528, 0.10285914689302444, -0.23997853696346283, -0.38081246614456177, -0.06844469159841537, -0.24864956736564636, -0.15744946897029877, -0.5412954688072205, -0.1953958421945572, -0.1976475864648819, 0.8588548302650452, 0.6742830276489258, -0.2975377142429352, -0.2214113473892212, -0.3737873136997223, 0.3990861475467682, -0.8112889528274536, -0.0520629957318306, 0.18210797011852264, 0.526252806186676, -0.3591543436050415, -0.876862645149231, -0.8293449282646179, -0.29520922899246216, -0.15038052201271057, 0.33803316950798035, -0.11187442392110825, -0.08887943625450134, 0.1233564019203186, 0.5023643970489502, -0.686294674873352, 0.37561798095703125, -0.28798672556877136, 0.13721618056297302, 0.7425644397735596, 0.38920044898986816, 0.5766584277153015, -0.31600692868232727, -0.49832883477211, 0.23586620390415192, -0.7654848694801331, 0.01421273872256279, 0.6003887057304382, 0.19058857858181, -0.2526733875274658, 0.1670631319284439, -0.06932350993156433, 0.40038353204727173, -0.132064551115036, -0.017622893676161766, 0.41378626227378845, -0.30945679545402527, -0.40662768483161926, 0.05153898894786835, 0.792692244052887, 0.16885320842266083, 0.639018714427948, -0.1625026911497116, -0.10156862437725067, -0.2847110331058502, 0.24913477897644043, -0.6380089521408081, -0.4094866216182709, 0.45496559143066406, -0.14136941730976105, -0.564070463180542, 0.08791261166334152, -0.5785604119300842, -0.666816771030426, 0.044356588274240494, 0.15501244366168976, -0.5810489058494568, -0.26119470596313477, 0.19529910385608673, -0.4526653289794922, 0.483879953622818, 0.36022061109542847, -0.9131612777709961, -0.18885527551174164, 0.9883884787559509, 1.2638764381408691, -0.03802094981074333, -0.241912379860878, -0.4595956802368164, 0.05559153854846954, -0.3179793357849121, 0.7964133620262146, -0.6636435985565186, -0.4606116712093353, -0.04468498378992081, -0.30500108003616333, -0.019910652190446854, -0.4228593111038208, 0.7083269953727722, -0.6749657988548279, -0.047477878630161285, 0.001965469913557172, -0.3580257296562195, -0.3391004204750061, 0.18473565578460693, -0.6111758351325989, 0.839713990688324, 0.19736066460609436, -0.6904328465461731, -0.0892619714140892, -0.9154858589172363, -0.5976008772850037, 0.6469882130622864, 0.0345621258020401, 0.14335119724273682, 0.22427496314048767, 0.26719555258750916, 0.18121828138828278, -0.010642512701451778, 0.5972685813903809, -0.23990240693092346, -0.685160756111145, 0.5226300358772278, -0.7170835137367249, 1.058237075805664, 0.49400636553764343, -0.1002369374036789, 0.16324353218078613, -0.5208718776702881, 0.03149179741740227, 0.3216833770275116, -0.18974672257900238, -0.25891438126564026, -0.29361703991889954, 0.01106908917427063, -0.11172837764024734, 0.4812275767326355, -0.2085917592048645, 0.2055215984582901, -0.803745687007904, 0.7090484499931335, 0.6841323971748352, -0.3413539230823517, -0.1325436681509018, -0.21359531581401825, 0.3886112868785858, 0.05623220279812813, -0.011355040594935417, -0.4036709666252136, -0.5015727877616882, -0.9560225605964661, -0.1904534101486206, 0.44946587085723877, 0.8781147003173828, -0.8622653484344482, 0.6154355406761169, -0.5991286039352417, -0.4551696479320526, -0.735686719417572, 0.3657803237438202, 0.03763554245233536, 0.39839571714401245, 0.1490609496831894, -0.3852959871292114, -0.4720842242240906, -0.8327565789222717, -0.2717514932155609, -0.11925726383924484, -0.5007461309432983, 0.3924430310726166, 0.29925867915153503, -0.4438372552394867, 0.8370887041091919, -0.4002169072628021, -0.272221177816391, -0.6679892539978027, 0.13628175854682922, 0.5054590106010437, 0.13144409656524658, 0.7300066947937012, -0.969856321811676, -0.44025319814682007, 0.040711719542741776, -0.6172023415565491, -0.5107579827308655, -0.17633597552776337, -0.1637965440750122, 0.018598932772874832, 0.2628959119319916, -0.48136264085769653, 0.3401182293891907, 0.4887646436691284, -0.24717405438423157, 0.27676841616630554, -0.13553234934806824, 0.16370835900306702, -1.1263872385025024, 0.0585925318300724, -0.23037868738174438, -0.21103118360042572, -0.9091868996620178, 0.17065073549747467, -0.41492652893066406, -0.028466731309890747, -0.534112811088562, 0.5991747975349426, 0.041309937834739685, -0.1413348764181137, -0.6098335981369019, 0.5060446858406067, -0.03268064931035042, 0.5563758015632629, -0.041855838149785995, 1.0531647205352783, 0.6505828499794006, -0.6176204681396484, 0.7087487578392029, 0.14345170557498932, -0.3117043077945709, 0.37704986333847046, -1.2258846759796143, 0.37509885430336, -0.06857296824455261, 0.32264000177383423, -1.2895214557647705, -0.6302320957183838, 0.34749341011047363, -0.6609475612640381, 0.16761507093906403, -0.09831035882234573, -0.6294034123420715, -0.2583759129047394, -0.3813607692718506, 0.32617318630218506, 0.6041028499603271, -0.9343902468681335, 0.4995727241039276, 0.42024171352386475, -0.29345786571502686, -0.6162195801734924, -0.7262274026870728, 0.5847235918045044, -0.4368557035923004, -0.8778809905052185, 0.3130618631839752, -0.12811678647994995, -0.38687101006507874, -0.5570774078369141, 0.30136552453041077, -0.3277914226055145, 0.43130114674568176, 0.23566539585590363, 0.21167528629302979, -0.268480509519577, 0.32028669118881226, 0.11371102184057236, -0.015154574066400528, 0.0017651718808338046, 0.006073995493352413, 1.021346092224121, -0.1924659162759781, -0.002104109385982156, -0.682033121585846, 0.32536330819129944, 0.16977153718471527, 0.1315702646970749, 0.3904682397842407, 0.9294065833091736, -0.05317286029458046, 0.08039941638708115, -0.448422908782959, 0.1881098598241806, -0.5860458612442017, 0.2956831455230713, -0.5538960695266724, -0.9241858124732971, 0.38111960887908936, -0.06781885027885437, -0.03495751693844795, 0.29532456398010254, 0.35494449734687805, -0.10259038209915161, 0.9135400056838989, 0.5766779780387878, -0.27944037318229675, 0.3856840431690216, 0.08245351165533066, 0.36399197578430176, -0.5619357824325562, -0.05649540200829506, -0.3341304063796997, -0.5506472587585449, -0.6553821563720703, -0.44761961698532104, 0.22185911238193512, -0.04148542881011963, -0.22277767956256866, 0.14811468124389648, -0.10580173879861832, 0.6822556257247925, 0.48043549060821533, 0.056693896651268005, 0.33071374893188477, 0.035814858973026276, 0.283488929271698, 0.16687771677970886, -0.5771584510803223, -0.4442882537841797, 0.3882042169570923, 0.5185611248016357, 0.7382410764694214, 0.36673930287361145, 0.5507693290710449, 0.27336204051971436, 0.20364266633987427, -1.021797776222229, 0.5450487732887268, -0.582309365272522, -0.08279496431350708, -0.18362337350845337, -0.6438742280006409, -0.920894980430603, 0.16691915690898895, 0.196376770734787, -0.7297645211219788, -0.20412099361419678, 0.01246792171150446, -0.6811891198158264, 0.008707943372428417, -0.7277912497520447, 0.6091845035552979, -0.645560622215271, -0.08878755569458008, -0.2355809211730957, -0.5438012480735779, 0.521440863609314, 0.07463818788528442, 0.25889232754707336, -0.1604921668767929, -0.3064975142478943, 0.448983758687973, -0.31578943133354187, 1.0738595724105835, 0.0600745864212513, -0.42131155729293823, 0.1264689862728119, -0.04412725940346718, 0.15092463791370392, 0.3606981933116913, -0.04332540184259415, 0.690987765789032, -0.3055691719055176, -0.4045379161834717, -0.8255589008331299, 1.0003682374954224, -0.6064344644546509, -0.9121115207672119, 0.004106624983251095, -0.6946811676025391, -0.0655432641506195, -0.025371190160512924, 0.027168048545718193, 0.13676074147224426, -0.08488395065069199, 0.06016746908426285, 0.2850528657436371, -0.4273903965950012, 0.43904435634613037, 0.18792709708213806, -0.04470105096697807, -0.2615286707878113, 0.7024258971214294, -0.37215709686279297, -0.13429193198680878, 0.2831725478172302, 0.3135795295238495, -0.3519632816314697, -0.26526063680648804, -0.471138060092926, 0.3177899122238159, -0.7703146934509277, -0.1740155965089798, -0.8145934343338013, -0.41370487213134766, -0.6331650018692017, -0.13910838961601257, -0.025208473205566406, -0.41266676783561707, -0.2272084504365921, 0.0743623599410057, 0.6627483367919922, 0.7696323394775391, 0.01783088408410549, 0.671645998954773, -0.7333016991615295, 0.20819170773029327, 0.3624255955219269, 0.3303203582763672, -0.06795673072338104, -0.8907208442687988, 0.2312624454498291, 0.23801234364509583, -0.10791061818599701, -0.7115175724029541, 0.7654553055763245, 0.40939199924468994, 0.3024672269821167, 0.514512300491333, -0.0730590894818306, 1.1091827154159546, -0.36818772554397583, 0.9025474190711975, 0.028186408802866936, -0.9978501796722412, 0.7869580984115601, -0.2663792073726654, 0.2517557144165039, 0.4926520586013794, 0.4314125180244446, -0.6965487003326416, -0.24752189218997955, -0.3251931667327881, -0.9161062240600586, 0.31884557008743286, 0.15069837868213654, 0.9964591860771179, -0.14907510578632355, 0.5773457884788513, 0.1743161827325821, 0.2340947687625885, -0.6953806281089783, -0.1515417993068695, -0.3669830858707428, -0.4254631996154785, 0.17253857851028442, -0.21614214777946472, 0.12881259620189667, -0.1547248214483261, 0.38479116559028625, -0.2183394432067871, 0.1254957765340805, -0.07632039487361908, -0.14107170701026917, 0.29251304268836975, 0.20607751607894897, 0.5482493042945862, 0.4380130171775818, 0.1210799366235733, -0.020535411313176155, 0.2801358103752136, -0.5850592255592346, -0.41898173093795776, -0.021300287917256355, -0.035347528755664825, 0.1390594244003296, 0.2521796226501465, 1.159379482269287, 0.28048330545425415, -1.0319312810897827, 0.45347410440444946, -0.16707001626491547, 0.18995210528373718, -0.7947147488594055, 0.643947184085846, -0.055272772908210754, 0.25104400515556335, 0.35511744022369385, -0.4598010182380676, 0.3560861051082611, -0.814525842666626, 0.03590352460741997, 0.4139600098133087, -0.3613213002681732, -0.19820727407932281, 0.5477967858314514, 0.3904476761817932, -0.442094087600708, 0.6943544745445251, -0.057672660797834396, -0.6090945601463318, 0.5994199514389038, 0.509609580039978, 0.8355459570884705, -0.08537595719099045, 0.3423135280609131, 0.46091705560684204, -0.09638145565986633, 0.26969611644744873, 0.12489938735961914, -0.1584145575761795, -0.6261304020881653, -0.3669736981391907, -0.5932453274726868, -0.14432255923748016, 0.33282408118247986, -0.06200089678168297, 0.5416216850280762, -0.43680915236473083, 0.064769446849823, 0.03995625302195549, 0.06521784514188766, -0.5483731627464294, -0.10831034183502197, 0.27642396092414856, 0.9245800971984863, -0.3183504343032837, 0.8655461072921753, 0.40592923760414124, -0.48896199464797974, -0.5131518840789795, 0.30551907420158386, -0.287224680185318, -1.2282277345657349, 0.9054199457168579, 0.5812693238258362, -0.22901403903961182, 0.14560744166374207, -0.8465135097503662, -0.6009417772293091, 0.9500778913497925, 0.1325463056564331, -0.5390872955322266, -0.031495507806539536, 0.026660757139325142, 0.751666784286499, -0.5229675769805908, 0.6664841175079346, 0.9236635565757751, 0.5999440550804138, 0.5241304039955139, -0.8959531188011169, -0.15023159980773926, -0.42477285861968994, 0.08033885061740875, -0.23626387119293213, -0.6596614718437195, 0.7920165657997131, -0.6425814628601074, -0.5969139933586121, 0.46802932024002075, 0.7851009368896484, 0.1020435020327568, 0.42682236433029175, 0.553494393825531, 0.3737068772315979, 0.8540732860565186, -0.09679384529590607, 1.0845967531204224, -0.19815078377723694, -0.050553206354379654, 1.1807773113250732, -0.29266247153282166, 0.7432146668434143, 0.2665771543979645, 0.016850696876645088, 0.8562717437744141, 0.5844728946685791, -0.17444759607315063, 0.19621071219444275, 0.3137018382549286, -0.21444013714790344, -0.34588250517845154, -0.475424587726593, -0.25406312942504883, 0.8761736750602722, 0.5751697421073914, -0.1563122570514679, -0.1277795135974884, -0.16804879903793335, 0.2126624882221222, 0.08079411834478378, -0.19880294799804688, 0.9908531308174133, 0.09348300099372864, -0.5496537685394287, 0.7927519679069519, -0.10089275240898132, 1.1047276258468628, -0.49698933959007263, -0.11939334124326706, -0.6210806369781494, -0.2381722629070282, -0.15371859073638916, -0.9415892362594604, 0.32213905453681946, 0.2555655539035797, 0.4321073591709137, 0.3450959026813507, 0.6651014089584351, -0.5000890493392944, -0.35421136021614075, 0.17442156374454498, 0.3961380124092102, 0.5016965866088867, -0.002443974604830146, -0.5924303531646729, 0.09118639677762985, -0.255036324262619, 0.0978337824344635, 0.007990727201104164, 0.5473089814186096, 0.24528814852237701, 0.8124335408210754, 0.6502513289451599, 0.006469062063843012, -0.3310527801513672, 0.6550900936126709, 0.8752720355987549, -0.7705878019332886, -0.587192177772522, -0.9784910678863525, 0.27964308857917786, -0.4791278839111328, -0.31498983502388, 0.7680670619010925, 0.1418340802192688, 0.5404277443885803, -0.07359371334314346, 0.8258368968963623, -0.02964639663696289, 0.16104887425899506, -0.6435591578483582, 0.8088238835334778, -0.6630119681358337, 0.44187456369400024, 0.037889476865530014, -0.38805630803108215, -0.33369699120521545, 0.67843097448349, -0.2736842930316925, 0.22231991589069366, 0.27080225944519043, 0.7837518453598022, 0.18593014776706696, -0.017516421154141426, 0.5643271803855896, 0.34456661343574524, 0.1831735074520111, 0.8455947041511536, 1.0221446752548218, -0.32772669196128845, 0.6616966128349304, -0.09963943809270859, -0.15177461504936218, -0.30417248606681824, -0.795626163482666, -1.1660300493240356, -0.3125709295272827, -0.24137943983078003, -0.006817180663347244, 0.04594756290316582, 0.8601067066192627, 0.3923216760158539, -0.6109341979026794, -0.058642350137233734, -0.02365841530263424, 0.2502860724925995, 0.059655655175447464, -0.3105508089065552, 0.14701426029205322, -0.8407042026519775, -1.0259461402893066, 0.4811444878578186, 0.4237288236618042, 0.0409928634762764, -0.29173341393470764, 0.12656080722808838, 0.18564598262310028, 0.4276241064071655, 0.709545910358429, 0.03176223859190941, -0.7798736691474915, -0.23963411152362823, -0.1466352939605713, 0.10559377074241638, 0.11292964220046997, 0.8993131518363953, -0.821379542350769, 0.08336656540632248, 0.5462535619735718, 0.669844925403595, -0.21838998794555664, 0.2081749141216278, 0.39869266748428345, -0.9020516872406006, 0.2629861533641815, 0.08563897758722305, 0.3492550551891327, 0.6292182207107544, -0.69125896692276, 0.5922188758850098, 0.19984760880470276, -0.24945223331451416, -0.7381222248077393, 0.3453819751739502, -0.9487470388412476, -0.3588560223579407, 1.2358132600784302, -0.09953071177005768, -0.5969966053962708, -0.279123455286026, -0.46603119373321533, 0.16122300922870636, -0.3534368872642517, 1.2484819889068604, 0.3882386088371277, 0.1706668734550476, -0.32384878396987915, -0.6401787996292114, 0.37825894355773926, 0.3945798873901367, -0.9250997304916382, 0.08202631026506424, 0.3632846474647522, 0.06179540976881981, 0.11430934816598892, 0.6885571479797363, 0.03280167281627655, 0.49077367782592773, -0.17542724311351776, -0.33538633584976196, -0.0738033801317215, -0.2450963854789734, -0.4400472640991211, 0.021375445649027824, -0.2316664755344391, 0.041899606585502625 ]
http://arxiv.org/abs/2405.14129v1
http://arxiv.org/pdf/2405.14129v1
AlignGPT: Multi-modal Large Language Models with Adaptive Alignment Capability
2024-05-23T03:07:56
2024-05-23T03:07:56
Fei Zhao, Taotian Pang, Chunhui Li, Zhen Wu, Junjie Guo, Shangyu Xing, Xinyu Dai
cs.CL
cs.CL, cs.AI, cs.CV
Multimodal Large Language Models (MLLMs) are widely regarded as crucial in the exploration of Artificial General Intelligence (AGI). The core of MLLMs lies in their capability to achieve cross-modal alignment. To attain this goal, current MLLMs typically follow a two-phase training paradigm: the pre-training phase and the instruction-tuning phase. Despite their success, there are shortcomings in the modeling of alignment capabilities within these models. Firstly, during the pre-training phase, the model usually assumes that all image-text pairs are uniformly aligned, but in fact the degree of alignment between different image-text pairs is inconsistent. Secondly, the instructions currently used for finetuning incorporate a variety of tasks, different tasks's instructions usually require different levels of alignment capabilities, but previous MLLMs overlook these differentiated alignment needs. To tackle these issues, we propose a new multimodal large language model AlignGPT. In the pre-training stage, instead of treating all image-text pairs equally, we assign different levels of alignment capabilities to different image-text pairs. Then, in the instruction-tuning phase, we adaptively combine these different levels of alignment capabilities to meet the dynamic alignment needs of different instructions. Extensive experimental results show that our model achieves competitive performance on 12 benchmarks.
[ -0.30136504769325256, -0.7237201929092407, 0.45664700865745544, 0.16996832191944122, -0.2717669904232025, 0.1115800142288208, -0.48703083395957947, -0.38989970088005066, -0.23532000184059143, 0.0731915831565857, -0.7007805109024048, -0.19532591104507446, -0.8333731293678284, -0.06093521788716316, -0.22613488137722015, 1.1387919187545776, -0.3059188425540924, 0.20810861885547638, -0.048875823616981506, -0.39557716250419617, -0.7885270118713379, -0.18058764934539795, -0.4461548626422882, -0.17112205922603607, 0.4191713035106659, 0.2626689672470093, 1.0330629348754883, 0.7700150609016418, 0.654358983039856, 0.3630734086036682, 0.33490127325057983, 0.24944770336151123, -0.25375163555145264, 0.023030340671539307, -0.18907712399959564, -0.05149655044078827, -0.663288414478302, -0.039967991411685944, 0.9948256015777588, 0.4223698079586029, -0.22160843014717102, 0.03417345881462097, 0.2313871532678604, 0.346666544675827, -0.5073003172874451, 0.05166284367442131, -0.7375816106796265, -0.23071075975894928, -0.009466246701776981, 0.022340349853038788, -0.30060869455337524, -0.06779724359512329, 0.14938881993293762, -0.8317420482635498, -0.0031855080742388964, 0.1603371798992157, 0.9227612018585205, 0.45034483075141907, -0.4025048017501831, -0.3862113952636719, -0.6422154307365417, 0.8467869758605957, -0.7802764177322388, 0.692145586013794, 0.03993982821702957, 0.324172705411911, 0.15102219581604004, -0.5631254315376282, -0.8076266050338745, -0.31068453192710876, -0.0855792760848999, -0.015144424512982368, -0.10270176082849503, -0.05217882990837097, 0.15550385415554047, 0.08215763419866562, -0.9118805527687073, 0.31501305103302, 0.021045628935098648, -0.0649280995130539, 0.4311055541038513, 0.15356190502643585, 0.45661643147468567, 0.11942104995250702, -0.6836814880371094, -0.07183443009853363, -0.3380461037158966, 0.008307546377182007, 0.18571554124355316, 0.39734920859336853, -0.25787922739982605, 0.6481960415840149, 0.15388017892837524, 0.8993598222732544, 0.47355917096138, -0.3391261100769043, 0.178299218416214, -0.5282312631607056, -0.33450067043304443, 0.0745343565940857, 0.8817940950393677, 0.2554439902305603, 0.14598263800144196, -0.05269549787044525, -0.27638015151023865, -0.031802091747522354, 0.4042861759662628, -0.6759409308433533, -0.17189794778823853, 0.09562107920646667, -0.2918475866317749, -0.05007554218173027, -0.1370730847120285, -0.6784071326255798, -0.3958379924297333, -0.6750010251998901, 0.8607681393623352, -0.7331474423408508, -0.13064488768577576, 0.0173463337123394, 0.28405076265335083, 0.448413223028183, 0.41866418719291687, -1.1667397022247314, -0.03227728232741356, 0.7286551594734192, 0.8073552250862122, -0.16649018228054047, -0.7957707047462463, -0.47365716099739075, 0.3085291385650635, -0.06519890576601028, 0.5920707583427429, -0.9563457369804382, 0.009827230125665665, -0.07147045433521271, 0.13574594259262085, -0.5199868679046631, -0.11545935273170471, 0.3803430199623108, -0.5382536053657532, 0.4814509451389313, -0.10153123736381531, -0.4446384012699127, -0.16316568851470947, 0.423483669757843, -0.39891839027404785, 0.7538158893585205, 0.19052541255950928, -0.6976547241210938, 0.2841450870037079, -0.5936093926429749, -0.4968067705631256, -0.06906191259622574, -0.2594400644302368, -0.579133927822113, -0.050122857093811035, 0.38781672716140747, 0.4088495373725891, -0.263529509305954, 0.4003160297870636, -0.25558507442474365, -0.336809366941452, 0.1059577465057373, -0.5751922726631165, 0.6034289598464966, 0.0882929265499115, -0.549119770526886, 0.5809908509254456, -0.6584354639053345, 0.18332993984222412, -0.03984486311674118, -0.2916527986526489, -0.028234893456101418, 0.052998922765254974, 0.10857661068439484, 0.3151017129421234, 0.45980823040008545, -0.23106126487255096, 0.5688884258270264, -0.03679810091853142, 0.5221409797668457, 0.8270683884620667, -0.5240957736968994, 0.8163082599639893, -0.3541797399520874, 0.5614311695098877, -0.03407072648406029, 0.2552545964717865, -0.19158338010311127, -0.3264060616493225, -0.70131516456604, -0.44501373171806335, 0.4026589095592499, 0.8169839978218079, -0.7435756921768188, 0.5051600933074951, -0.5818166136741638, -0.49652498960494995, -0.7061275839805603, 0.2294546216726303, 0.5497170686721802, 0.43702006340026855, 0.5002848505973816, -0.3241916596889496, -0.38962486386299133, -0.7875112891197205, -0.02055750973522663, 0.1394837498664856, 0.06681888550519943, 0.1674596667289734, 0.27528589963912964, -0.33358505368232727, 0.6353908777236938, -0.15096323192119598, -0.318162739276886, 0.015777669847011566, 0.204459547996521, -0.1259506344795227, 0.6995875835418701, 0.496288925409317, -0.8779578804969788, -0.590188205242157, 0.47024834156036377, -0.5867980718612671, 0.0469801165163517, -0.20828720927238464, -0.0788787379860878, 0.17101770639419556, 0.36308911442756653, -0.698031485080719, -0.09185757488012314, 0.9728574156761169, -0.3616333603858948, 0.5384318828582764, -0.3317616879940033, 0.2519795596599579, -1.247415542602539, 0.1195855587720871, 0.03920745104551315, -0.3072201907634735, -0.6093506217002869, 0.21064819395542145, 0.37259289622306824, -0.20972397923469543, -0.2388843148946762, 0.3879626393318176, -0.7054515480995178, -0.012587767094373703, -0.37782496213912964, 0.08335955440998077, 0.03173847123980522, 0.5547761917114258, -0.10987862199544907, 0.9097719788551331, 0.7562770247459412, -0.3350125551223755, 0.4942018687725067, 0.21807539463043213, -0.3851749002933502, 0.8124421834945679, -0.5522937178611755, 0.11935190856456757, -0.2412160485982895, 0.1396772712469101, -0.988328754901886, -0.33367064595222473, 0.29242122173309326, -0.17878146469593048, 0.7697643637657166, -0.034422002732753754, -0.11247794330120087, -0.04395122826099396, 0.03810332342982292, 0.7056512832641602, 0.41592296957969666, -0.35353559255599976, 1.0710654258728027, 0.15295597910881042, -0.3645414412021637, -0.870510458946228, -0.31893885135650635, -0.008084678091108799, -0.31639209389686584, -0.6927536725997925, 0.35304489731788635, -0.09405630081892014, 0.1946456879377365, 0.1396971493959427, -0.01060069352388382, -0.0032040798105299473, -0.19284096360206604, 0.1627688854932785, 0.37126344442367554, -0.4770602881908417, 0.06397202610969543, -0.20326103270053864, -0.009420346468687057, -0.4423561096191406, -0.5132870674133301, 0.784326434135437, -0.19656167924404144, -0.6700656414031982, -0.4799748361110687, 0.42645201086997986, 0.8564922213554382, -0.7658924460411072, 0.846977710723877, 1.0875788927078247, -0.2069898545742035, 0.1810053288936615, -0.5994670391082764, 0.2694869935512543, -0.453591525554657, 0.7116397023200989, -0.2536871135234833, -0.9337244629859924, 0.4431980848312378, 0.10645512491464615, 0.17015451192855835, 0.28289803862571716, 0.6219067573547363, -0.19350549578666687, 1.3757151365280151, 0.6389978528022766, -0.13096550107002258, 0.7174193859100342, 0.3209105134010315, 0.26989346742630005, -1.0286579132080078, -0.09854019433259964, -0.37719354033470154, -0.6045554280281067, -0.5387977957725525, -0.4112003743648529, 0.3185339868068695, 0.19613321125507355, -0.6096689105033875, 0.2685404419898987, -0.4651477634906769, 0.45513075590133667, 0.5375202894210815, 0.14173217117786407, -0.010201412253081799, -0.06572437286376953, 0.08317745476961136, 0.047371190041303635, -0.7044433355331421, -0.46519455313682556, 0.8304019570350647, 0.2810216248035431, 0.9806256890296936, 0.2468421757221222, 0.19095008075237274, -0.0954059511423111, 0.26865634322166443, -0.6070466041564941, 0.3602268397808075, -0.5063948035240173, -0.37157776951789856, -0.5314009189605713, -0.2460915744304657, -0.7733698487281799, 0.22124214470386505, -0.49935200810432434, -0.6816144585609436, -0.006032887380570173, 0.27178260684013367, -0.3802430331707001, 0.28064852952957153, -0.9182211756706238, 1.3092641830444336, -0.6452929377555847, -0.3794530928134918, 0.11486675590276718, -0.8706826567649841, 0.2669112980365753, -0.26075124740600586, 0.22152164578437805, -0.13419951498508453, -0.017593374475836754, 0.32690855860710144, 0.06934066116809845, 0.9347561597824097, -0.14736899733543396, -0.28776001930236816, 0.06783007830381393, -0.026776162907481194, 0.7235312461853027, -0.26630815863609314, 0.16152939200401306, -0.1652044951915741, 0.0003070615348406136, -0.4265083372592926, -0.670203447341919, 0.7278043031692505, -0.8090121746063232, -0.6672816276550293, -0.16929182410240173, -0.993781328201294, -0.26106810569763184, 0.3457091748714447, 0.22259756922721863, 0.4874367415904999, -0.1397956758737564, 0.13049711287021637, 0.48521822690963745, 0.05496860295534134, 0.5335096716880798, 0.3268246352672577, -0.13358251750469208, -0.5056205987930298, 1.0333207845687866, -0.03409447893500328, 0.47835400700569153, 0.3147691488265991, 0.0180815439671278, -0.358757883310318, -0.5968507528305054, -0.7455799579620361, 0.022661099210381508, -0.5768195390701294, -0.12016510218381882, -0.4462273418903351, -0.07139797508716583, -0.5573714971542358, -0.1937420666217804, -0.33256298303604126, -0.1292683333158493, -0.31058382987976074, 0.42324116826057434, -0.06391286849975586, 0.5270566344261169, 0.17263109982013702, 0.470896452665329, -1.0055713653564453, 0.2718784511089325, 0.5663018226623535, 0.5066735744476318, -0.047625377774238586, -0.6776590347290039, -0.198018416762352, 0.28407666087150574, -0.3860611617565155, -0.7374387979507446, 0.15221652388572693, 0.494021475315094, 0.4884440004825592, 0.3648013472557068, -0.3960764408111572, 0.9782760739326477, -0.8678907155990601, 0.6397188305854797, 0.349273145198822, -1.02793288230896, 0.1538713425397873, -0.5292699337005615, 0.6230960488319397, 0.3687092661857605, 0.44738397002220154, -0.5546153783798218, -0.12036058306694031, -0.22930121421813965, -0.5823571681976318, 0.626230776309967, -0.06848147511482239, 0.11999323964118958, 0.32473865151405334, 0.12505456805229187, 0.16112741827964783, 0.1590140014886856, -0.9169894456863403, 0.24357783794403076, -0.31447723507881165, -0.7497004866600037, -0.27633851766586304, -0.14683084189891815, -0.33376413583755493, -0.22880513966083527, 0.7709618806838989, -0.36030492186546326, 0.17974314093589783, -0.09129606932401657, -0.26185211539268494, -0.19028279185295105, 0.3899470269680023, 1.0261770486831665, 0.7586613893508911, 0.10465899854898453, 0.15766112506389618, 0.0718311071395874, -0.47884902358055115, 0.3468349277973175, 0.48999932408332825, -0.0350789949297905, -0.4606557786464691, 0.45832133293151855, 1.1906890869140625, 0.3369065523147583, -0.5492161512374878, 0.5904406905174255, 0.00018646326498128474, -0.17786486446857452, -0.020816218107938766, 0.07406128197908401, 0.09666836261749268, 0.6729755401611328, 0.15048731863498688, 0.2292030155658722, -0.4522702991962433, -0.47349560260772705, 0.117402583360672, 0.8337396383285522, -0.42077329754829407, -0.30295810103416443, 0.7750679850578308, 0.023622414097189903, -0.3096288740634918, 0.6749783158302307, -0.10165005922317505, -0.6293703317642212, 0.3010239601135254, 0.7639434337615967, 0.7253674268722534, -0.5028277635574341, 0.058718644082546234, 0.13754728436470032, 0.3912819027900696, -0.12197411805391312, 0.051540717482566833, 0.23233771324157715, -0.870494544506073, -0.6676117777824402, -0.7890585064888, -0.03184190392494202, -0.0008387108682654798, -0.3706895411014557, 0.28069260716438293, -0.25447583198547363, -0.028149880468845367, 0.10505345463752747, -0.41879332065582275, -0.6951761841773987, 0.1798008531332016, 0.17734850943088531, 0.5268142223358154, -0.821890652179718, 0.9516399502754211, 0.9179665446281433, -0.2054659128189087, -1.0014739036560059, 0.036531317979097366, -0.04535899683833122, -0.923326849937439, 0.4194154441356659, 0.19530315697193146, 0.017471112310886383, 0.2204936146736145, -0.4711606800556183, -1.0592068433761597, 1.1766067743301392, 0.49578872323036194, -0.698433518409729, -0.3875328302383423, 0.15995030105113983, 0.34041354060173035, -0.5948329567909241, -0.05803333595395088, 0.3126419484615326, 0.6291975975036621, 0.05205390229821205, -1.3345509767532349, -0.018664197996258736, -0.17575620114803314, -0.13538606464862823, 0.45666664838790894, -0.6741601228713989, 1.0447918176651, -0.14178968966007233, -0.27375736832618713, 0.10956770926713943, 0.5440353751182556, -0.02796659618616104, 0.0651848167181015, 0.6100540161132812, 0.8542271852493286, 0.619709312915802, -0.16117796301841736, 0.8416813015937805, -0.21969783306121826, 0.3320273160934448, 1.3079925775527954, -0.39516952633857727, 0.7780635952949524, 0.3582743704319, 0.07939166575670242, 0.2815245985984802, 0.3604072332382202, -0.17184671759605408, 0.5173810124397278, -0.30360743403434753, -0.24570685625076294, -0.42636948823928833, 0.09254390746355057, -0.46886780858039856, 0.7280702590942383, 0.05406900495290756, -0.34644177556037903, -0.1574925184249878, 0.16443830728530884, -0.3053169548511505, -0.07124725729227066, -0.4270882308483124, 0.8212007284164429, -0.35253190994262695, -0.8432595133781433, 0.643072783946991, -0.07748432457447052, 0.622613787651062, -0.7893134951591492, 0.03752099350094795, 0.20063219964504242, 0.16935469210147858, -0.10668926686048508, -0.8120242953300476, 0.045045286417007446, -0.14926376938819885, -0.24669168889522552, -0.028341831639409065, 0.6205044388771057, -0.8332587480545044, -0.5295442342758179, -0.056228529661893845, 0.41522452235221863, -0.3681993782520294, 0.07879605144262314, -0.802937924861908, 0.21574334800243378, 0.05094946175813675, -0.06813760101795197, 0.5520063042640686, 0.4517836570739746, -0.13473106920719147, 0.6052464246749878, 0.5702942609786987, -0.21228986978530884, 0.3679175078868866, -0.024697845801711082, 0.8241504430770874, -0.4146827459335327, -0.32215753197669983, -0.9937207102775574, 0.732137143611908, 0.10633476823568344, -0.2643110156059265, 0.5742682218551636, 0.30297914147377014, 0.7795056104660034, -0.11530222743749619, 0.6816545724868774, -0.15501101315021515, 0.04198417812585831, -0.7933308482170105, 0.5812318921089172, -0.6865671873092651, -0.08970072865486145, -0.17986458539962769, -1.2496323585510254, -0.3062826991081238, 0.5517151355743408, -0.1287776678800583, 0.24533362686634064, 0.5943791270256042, 0.7151491641998291, -0.40437087416648865, 0.013560584746301174, 0.23281708359718323, 0.13417914509773254, 0.2994993329048157, 0.6652923822402954, 0.8374572992324829, -0.3650590181350708, 0.570512592792511, -0.03280041366815567, -0.23682467639446259, -0.029563328251242638, -1.0717923641204834, -0.7356669306755066, -0.7656080722808838, -0.12873829901218414, 0.005008567124605179, 0.014642813242971897, 0.9305914640426636, 0.753749430179596, -0.7126615643501282, 0.07950662821531296, 0.17243102192878723, -0.29066476225852966, -0.2945278584957123, -0.14698603749275208, 0.3892163932323456, -0.4102635383605957, -0.8644765615463257, 0.3279879689216614, 0.3214243948459625, 0.30027416348457336, -0.18137218058109283, -0.1491960883140564, -0.4293712377548218, -0.2080329954624176, 0.4837242364883423, 0.269212931394577, -0.7645851373672485, -0.6610718965530396, -0.037166938185691833, -0.30665260553359985, 0.15395373106002808, 0.7720032334327698, -0.30345460772514343, 0.474984735250473, 0.2001822292804718, 0.914014995098114, 0.1070064902305603, 0.28652486205101013, 0.6218252778053284, -0.8111467957496643, 0.2156711369752884, 0.08038411289453506, 0.38536709547042847, 0.3675616383552551, -0.24993008375167847, 0.16552786529064178, -0.15088312327861786, -0.9184339642524719, -0.5025606751441956, 0.3741796016693115, -1.209594964981079, -0.2350963056087494, 0.9947211742401123, -0.03246772289276123, -0.07946823537349701, 0.2427913397550583, -0.4947695732116699, 0.46480029821395874, -0.05702546238899231, 0.6384559869766235, 0.8669689893722534, -0.0787961557507515, -0.32649022340774536, -0.46217042207717896, 0.35459670424461365, 0.565759539604187, -0.5776607394218445, 0.08090097457170486, 0.6262171268463135, 0.2549840211868286, 0.28526341915130615, 0.30341774225234985, 0.06961426883935928, 0.2724488079547882, -0.1997811645269394, 0.016254518181085587, -0.14066487550735474, -0.36686620116233826, -0.46650195121765137, 0.26797521114349365, 0.15229851007461548, -0.19106513261795044 ]
http://arxiv.org/abs/2405.14125v2
http://arxiv.org/pdf/2405.14125v2
ALI-Agent: Assessing LLMs' Alignment with Human Values via Agent-based Evaluation
2024-05-23T02:57:42
2024-05-24T06:38:49
Jingnan Zheng, Han Wang, An Zhang, Tai D. Nguyen, Jun Sun, Tat-Seng Chua
cs.AI
cs.AI, cs.CL
Large Language Models (LLMs) can elicit unintended and even harmful content when misaligned with human values, posing severe risks to users and society. To mitigate these risks, current evaluation benchmarks predominantly employ expert-designed contextual scenarios to assess how well LLMs align with human values. However, the labor-intensive nature of these benchmarks limits their test scope, hindering their ability to generalize to the extensive variety of open-world use cases and identify rare but crucial long-tail risks. Additionally, these static tests fail to adapt to the rapid evolution of LLMs, making it hard to evaluate timely alignment issues. To address these challenges, we propose ALI-Agent, an evaluation framework that leverages the autonomous abilities of LLM-powered agents to conduct in-depth and adaptive alignment assessments. ALI-Agent operates through two principal stages: Emulation and Refinement. During the Emulation stage, ALI-Agent automates the generation of realistic test scenarios. In the Refinement stage, it iteratively refines the scenarios to probe long-tail risks. Specifically, ALI-Agent incorporates a memory module to guide test scenario generation, a tool-using module to reduce human labor in tasks such as evaluating feedback from target LLMs, and an action module to refine tests. Extensive experiments across three aspects of human values--stereotypes, morality, and legality--demonstrate that ALI-Agent, as a general evaluation framework, effectively identifies model misalignment. Systematic analysis also validates that the generated test scenarios represent meaningful use cases, as well as integrate enhanced measures to probe long-tail risks. Our code is available at https://github.com/SophieZheng998/ALI-Agent.git
[ -0.1767641007900238, -0.5288682579994202, 0.4517979323863983, -0.028795715421438217, 0.07917235046625137, 0.3916531801223755, -0.11136779189109802, -0.5563273429870605, 0.09359968453645706, 0.4735901951789856, -0.5520204305648804, -0.3548312187194824, -0.17669892311096191, -0.06747189909219742, -0.2592155933380127, 0.821868360042572, -0.2475784569978714, -0.09788014739751816, -0.1477929800748825, -0.3715580105781555, -0.48201850056648254, -0.13951478898525238, -0.5504069328308105, -0.3675535023212433, 0.41515102982521057, 0.40363574028015137, 1.0277869701385498, 0.7130809426307678, 0.5304285287857056, 0.3257378339767456, 0.2190466821193695, 0.13952168822288513, -0.21485535800457, 0.22578425705432892, -0.37098705768585205, -0.20784568786621094, -0.8085600137710571, 0.12231617420911789, 0.616734504699707, 0.5486729741096497, -0.21368004381656647, 0.44445401430130005, 0.022949669510126114, 0.7514837384223938, -0.8072425127029419, -0.17464600503444672, -0.57143235206604, -0.13015128672122955, -0.02570085972547531, -0.024482756853103638, -0.30324190855026245, -0.33321839570999146, 0.036745261400938034, -0.32625681161880493, -0.35158684849739075, 0.2102746069431305, 1.1237682104110718, 0.6255379319190979, -0.7420396208763123, -0.06704153120517731, -0.5694118738174438, 0.8710955381393433, -0.5945147275924683, 0.34443989396095276, 0.1850622445344925, 0.5555024743080139, -0.3989843726158142, -0.35054269433021545, -0.6211845874786377, -0.350873738527298, 0.21225020289421082, 0.11498257517814636, -0.1442466527223587, 0.1556001454591751, 0.07858480513095856, -0.06462439894676208, -0.5706121325492859, 0.3319634199142456, -0.00557841919362545, -0.32249557971954346, 1.0780303478240967, 0.40377628803253174, 0.3585127890110016, -0.002766029443591833, -0.5361073613166809, -0.21324898302555084, -0.7129608988761902, 0.36980175971984863, 0.5535526871681213, 0.2957874536514282, 0.1286279261112213, 0.6174132823944092, 0.03477449342608452, 0.6023262143135071, 0.3236957788467407, -0.2397148162126541, 0.37753280997276306, -0.28248435258865356, -0.2027965486049652, 0.18371857702732086, 0.6961723566055298, 0.7304090261459351, 0.31074878573417664, -0.10000373423099518, -0.3890661895275116, -0.07445545494556427, 0.4743695855140686, -0.721279501914978, 0.5223653316497803, 0.522624135017395, -0.3111487627029419, -0.2174680233001709, 0.04098949208855629, -0.7688630819320679, -0.7588116526603699, -0.3467503488063812, 0.49030449986457825, -0.23913462460041046, -0.00002894501631089952, 0.11706901341676712, 0.21706044673919678, 0.5884406566619873, 0.3332611322402954, -0.5121764540672302, 0.2722243368625641, 0.746547281742096, 0.6177788972854614, -0.27771273255348206, -0.5476751923561096, -0.7578527331352234, 0.16885441541671753, -0.37592819333076477, 0.8080559968948364, -0.3421647548675537, -0.008419087156653404, -0.03896629810333252, 0.03889745846390724, -0.013395506888628006, -0.5655232667922974, 0.6030761003494263, -0.5444097518920898, -0.13755060732364655, -0.12898100912570953, -0.6179763674736023, -0.06217046454548836, 0.4451662302017212, -0.701172411441803, 1.025589108467102, 0.1926824450492859, -0.41388973593711853, 0.3061709702014923, -0.7732516527175903, -0.3017684519290924, -0.06916099786758423, -0.2213638722896576, -0.5158973932266235, -0.2568545341491699, 0.03338778391480446, 0.33482080698013306, -0.5255546569824219, 0.21220286190509796, -0.20767223834991455, -0.6503429412841797, 0.3755534887313843, -0.3506767153739929, 0.731086790561676, 0.17707490921020508, -0.5476852655410767, 0.3865453898906708, -0.6666911840438843, 0.19711776077747345, 0.03480948880314827, -0.1107265055179596, -0.1654888242483139, 0.14380384981632233, -0.095713309943676, 0.26405924558639526, 0.35987740755081177, -0.34012505412101746, 0.2293073534965515, -0.5141096115112305, 0.07365331053733826, 0.953413188457489, -0.0367114394903183, 0.5580593943595886, -0.7428311109542847, 0.9283521175384521, -0.11541500687599182, 0.18229790031909943, 0.05631435289978981, -0.1585574746131897, -0.6166197061538696, -0.25472816824913025, 0.2428969144821167, 0.7433385848999023, -0.37284746766090393, 0.9168573617935181, -0.42166078090667725, -0.628033459186554, -0.8488295078277588, 0.3771795630455017, 0.30258163809776306, 0.2825285792350769, 0.11049974709749222, -0.5014569163322449, -0.2696385681629181, -0.9106131196022034, -0.37810689210891724, -0.48811304569244385, -0.07552853226661682, -0.009844111278653145, 0.5953564643859863, -0.587914228439331, 1.1370185613632202, -0.12127752602100372, -0.21988804638385773, 0.017667530104517937, 0.03282538056373596, -0.08367718011140823, 0.33931002020835876, 0.35182633996009827, -0.4476044476032257, -0.3712809383869171, 0.15087711811065674, -0.4475818872451782, -0.42097896337509155, -0.34184855222702026, -0.1930491179227829, 0.2817349433898926, 0.2669772207736969, -0.5852213501930237, 0.5257891416549683, 0.49853280186653137, -0.46876001358032227, 0.6375713348388672, 0.031556807458400726, 0.2107934057712555, -1.0549101829528809, 0.16556861996650696, -0.19672803580760956, -0.37479984760284424, -0.36456355452537537, 0.08810011297464371, 0.1063954085111618, 0.13077300786972046, -0.5133612751960754, 0.9171266555786133, -0.46470847725868225, -0.3838576376438141, -0.3748084306716919, 0.2232031673192978, 0.27885183691978455, 0.17774823307991028, -0.3930039703845978, 0.9568700790405273, 0.07057172805070877, -0.256996750831604, 0.460113525390625, -0.0195930115878582, -0.3931170403957367, 0.7925962805747986, -0.4166872799396515, 0.22779403626918793, 0.021595655009150505, 0.13194820284843445, -0.7411168813705444, -0.10396098345518112, 0.2525014579296112, -0.26749852299690247, 0.09821712970733643, 0.008410296402871609, -0.48883989453315735, -0.013653069734573364, -0.5304088592529297, 0.4336467683315277, 0.46681344509124756, -0.3097257912158966, 0.8597442507743835, 0.4298993647098541, -0.05194380506873131, -0.9740819931030273, -0.2039288729429245, 0.09660866111516953, -0.5304873585700989, -0.7991910576820374, 0.21264708042144775, -0.20797719061374664, -0.6018810272216797, -0.004992192145437002, -0.16217513382434845, -0.010220239870250225, 0.45004478096961975, 0.47045576572418213, 0.13549070060253143, 0.015227360650897026, 0.36755603551864624, 0.05746405944228172, -0.06453998386859894, 0.08020313084125519, -0.027430826798081398, 0.28232401609420776, -0.46239081025123596, -0.7167335748672485, -0.4276794195175171, 0.1572459638118744, 0.7487338185310364, -0.3709200620651245, 0.4796684980392456, 0.5194395780563354, -0.45658260583877563, -0.22783660888671875, -0.5792304277420044, 0.06257998943328857, -0.46508392691612244, 0.5267164707183838, -0.23276564478874207, -0.512664258480072, 0.6430548429489136, -0.2670130431652069, 0.18782708048820496, 0.32551735639572144, 0.7334245443344116, -0.25817957520484924, 0.963127076625824, 0.39440733194351196, -0.16064845025539398, 0.32540348172187805, 0.05798128619790077, 0.01646541617810726, -0.8146750926971436, 0.04603371024131775, -0.2920967638492584, -0.43161076307296753, -0.357099324464798, -0.5140593647956848, 0.3085562586784363, -0.11086046695709229, -0.6890590190887451, 0.20481424033641815, -0.2791340947151184, 0.7094423770904541, 0.06936775147914886, -0.1532081961631775, 0.31849783658981323, -0.3519379198551178, -0.020710062235593796, 0.12833738327026367, -0.08314935117959976, -1.073925495147705, 1.164361834526062, 0.6316074728965759, 0.8314831256866455, 0.23233895003795624, 0.5695658922195435, 0.5678241848945618, 0.5583134293556213, -0.9660392999649048, 0.4555446207523346, 0.5245605111122131, -0.7031940221786499, -0.49417415261268616, -0.10292457044124603, -1.2381806373596191, 0.24680544435977936, -0.08210732787847519, -0.8787574172019958, 0.005297986324876547, -0.06393376737833023, -0.5618800520896912, 0.032837875187397, -0.6635603904724121, 0.9676233530044556, -0.809087336063385, -0.6113362312316895, -0.015845423564314842, -0.7927448153495789, 0.13499781489372253, -0.3181220293045044, 0.17226548492908478, -0.43741318583488464, -0.3748229742050171, 0.582233190536499, -0.41261187195777893, 0.8345915079116821, -0.03749595209956169, -0.3369410037994385, 0.31772884726524353, 0.17325733602046967, 0.511775553226471, -0.1496439129114151, -0.38038134574890137, -0.12333627790212631, 0.1855235993862152, -0.4660954475402832, -0.7635299563407898, 0.48186779022216797, -0.9398289322853088, -0.6487930417060852, -0.6223445534706116, -0.6793389916419983, -0.2798215448856354, 0.16997380554676056, -0.3543526530265808, -0.18056051433086395, -0.45839670300483704, -0.2319330871105194, 0.14147572219371796, -0.19266824424266815, 0.1477653980255127, 0.6949674487113953, -0.34538596868515015, -0.2352409064769745, 0.6944666504859924, -0.06316950917243958, 0.37413570284843445, 0.09349378198385239, 0.10636187344789505, -0.2502152919769287, -0.36776694655418396, -0.5238543152809143, 0.06439719349145889, -0.6827889084815979, -0.3972242474555969, -0.021967384964227676, -0.1014343723654747, -0.20952588319778442, -0.3609108626842499, -0.5854527950286865, -0.025545544922351837, -0.063250333070755, -0.1264886111021042, 0.11980268359184265, 0.496449738740921, 0.16372230648994446, 0.31896376609802246, -0.7738487124443054, -0.05770443007349968, 0.23457521200180054, 0.24468503892421722, -0.04198014363646507, -0.4843314290046692, -0.36411306262016296, 0.08631619811058044, -0.6497271060943604, -0.9472320079803467, 0.4115573465824127, 0.07879196107387543, 0.5124084949493408, 0.5804205536842346, 0.22983714938163757, 0.7828684449195862, -0.4377836585044861, 0.5084662437438965, -0.15850529074668884, -1.23870050907135, 0.296897828578949, -0.17941336333751678, 0.0019251605262979865, 0.9589308500289917, 0.1579742580652237, -0.4120068848133087, -0.1730487048625946, -0.30546945333480835, -0.7521155476570129, 0.42382991313934326, 0.23049992322921753, -0.19703221321105957, 0.32713571190834045, 0.4512752890586853, -0.03791070729494095, 0.10265129804611206, -0.6519442796707153, 0.00228104367852211, 0.0650724545121193, -0.48899251222610474, -0.04080487787723541, 0.15693460404872894, -0.3335060179233551, -0.07745464146137238, 0.5702993869781494, -0.3830871284008026, 0.022839514538645744, 0.16259832680225372, -0.39552485942840576, -0.4179740846157074, 0.5058961510658264, 0.4781486988067627, 0.7139678001403809, -0.4780969023704529, -0.02688431367278099, 0.3177674114704132, -0.24058224260807037, 0.7182286381721497, 0.3287350833415985, 0.029807904735207558, -0.5113158822059631, 0.46245285868644714, 0.4203134775161743, -0.05584268271923065, -1.2563302516937256, 0.8387354016304016, -0.044849757105112076, 0.23208311200141907, -0.614263117313385, 0.014163724146783352, 0.14394153654575348, 0.4888651669025421, 0.25592002272605896, -0.2187911570072174, 0.07243883609771729, -0.6689387559890747, 0.2769317924976349, 0.46530768275260925, -0.47229260206222534, -0.3658119738101959, 0.37831974029541016, 0.32608649134635925, -0.49982401728630066, 0.450710654258728, -0.45750442147254944, -0.498683899641037, 0.9366618394851685, 0.3437589406967163, 1.0344767570495605, -0.3896711766719818, 0.018620088696479797, -0.008800921961665154, 0.541023850440979, 0.0937587320804596, 0.18749861419200897, 0.23476926982402802, -1.0111663341522217, -0.38776931166648865, -0.46745121479034424, -0.6021182537078857, -0.19211702048778534, -0.5920596718788147, 0.29146140813827515, -0.34423911571502686, -0.35870349407196045, -0.28291499614715576, 0.43212851881980896, -0.6691815257072449, 0.015538248233497143, 0.09399212151765823, 0.7043647766113281, -0.7929169535636902, 0.7931162714958191, 0.8692263960838318, -0.3606444299221039, -0.7741605639457703, 0.2902235686779022, 0.3410058617591858, -0.9086443185806274, 0.5455818176269531, 0.49375367164611816, -0.34013235569000244, -0.31122446060180664, -0.24865995347499847, -0.762790322303772, 1.5261924266815186, 0.6969229578971863, -0.5867906212806702, 0.05126045644283295, 0.30123740434646606, 0.663940966129303, -0.6367518901824951, 0.5599642395973206, 0.758804440498352, 0.6831565499305725, -0.19977562129497528, -1.0465469360351562, 0.18549494445323944, -0.2530445158481598, -0.2576411962509155, 0.2530326247215271, -0.8405412435531616, 0.5473524928092957, -0.18334780633449554, -0.276930034160614, 0.1335533857345581, 0.4294812083244324, 0.34219592809677124, 0.5210832357406616, 0.7856451869010925, 0.555546224117279, 0.933998703956604, 0.277902752161026, 0.9135434627532959, -0.41808053851127625, 0.2721337378025055, 1.1294004917144775, -1.0568245649337769, 0.8468369245529175, 0.47107213735580444, -0.06024889647960663, 0.6351658701896667, 0.6149520874023438, 0.05867093428969383, 0.05531148239970207, 0.5312566161155701, -0.165669783949852, -0.2655412554740906, -0.31829923391342163, -0.056427016854286194, 0.7372648119926453, 0.15496675670146942, -0.08451881259679794, -0.0274770837277174, -0.3414340019226074, -0.05110153555870056, 0.20672233402729034, -0.1298462301492691, 0.5003858804702759, -0.0884975716471672, -0.723084032535553, 0.4043700098991394, -0.020396605134010315, 0.3405802547931671, -0.48406678438186646, 0.07556453347206116, -0.17595311999320984, 0.31994393467903137, -0.14837785065174103, -0.6868343949317932, 0.3018280863761902, 0.025455884635448456, 0.16157281398773193, -0.11821865290403366, 0.5664991736412048, -0.233306884765625, -0.3372219204902649, 0.6389399766921997, 0.6626973748207092, 0.0639573261141777, -0.059158146381378174, -0.8624516129493713, 0.138388991355896, -0.23034849762916565, -0.33653977513313293, 0.44068071246147156, 0.26947709918022156, -0.36041995882987976, 0.9084454774856567, 0.3179531693458557, 0.010758433490991592, -0.2992551624774933, -0.019068973138928413, 0.627345860004425, -0.8940612077713013, -0.07412146776914597, -0.9228634834289551, 0.6237429976463318, 0.07830224931240082, -0.2351592481136322, 0.5191028714179993, 0.506186842918396, 0.6213840246200562, 0.3708875775337219, 0.5300245881080627, 0.28928542137145996, 0.2326391488313675, -0.34014827013015747, 0.8459854125976562, -0.8176397681236267, 0.4267532527446747, -0.36845988035202026, -0.8409174084663391, -0.1806119978427887, 0.4538089334964752, -0.1759462058544159, 0.06927710771560669, 0.5391740202903748, 0.8553317785263062, 0.2525711953639984, -0.4634260833263397, 0.3356386423110962, 0.024739643558859825, 0.43558692932128906, 0.7169538736343384, 1.2424030303955078, -0.484470009803772, 0.388651043176651, 0.06645219027996063, -0.22720971703529358, -0.19177702069282532, -1.119725227355957, -0.9043925404548645, -0.522685170173645, -0.30372557044029236, -0.2662299573421478, 0.1784835159778595, 1.485453724861145, 0.5264711380004883, -0.5569619536399841, -0.5898360013961792, 0.3416718542575836, 0.3257068991661072, -0.311837762594223, -0.24228565394878387, 0.4786655604839325, -0.1220741868019104, -0.6970232725143433, 0.29945242404937744, 0.301345556974411, 0.004419462755322456, -0.3904816210269928, -0.34220626950263977, -0.12483333796262741, 0.2972370982170105, 0.30599716305732727, 0.23192369937896729, -0.7518554329872131, -0.5662966966629028, -0.09811881929636002, -0.256931871175766, 0.11038166284561157, 0.3547159731388092, -0.6306861042976379, 0.5198168754577637, 0.15967977046966553, 1.0575406551361084, -0.19429533183574677, 0.3896384537220001, 0.6956751942634583, -0.4797928035259247, -0.018955130130052567, 0.44759178161621094, 0.42548084259033203, 0.21326844394207, -0.441354900598526, 0.5462128520011902, -0.25233355164527893, -0.8666362762451172, -0.9059653282165527, 0.23245611786842346, -1.1800113916397095, 0.02705894410610199, 1.0562890768051147, -0.18304064869880676, -0.26941558718681335, -0.05921482294797897, -0.21817664802074432, 0.24270418286323547, -0.4868662655353546, 0.9518067240715027, 0.7138199210166931, -0.06911861896514893, 0.14576008915901184, -0.46051540970802307, 0.22196556627750397, 0.5544793009757996, -1.0052008628845215, 0.015409659594297409, 0.46145886182785034, 0.29448336362838745, 0.16871781647205353, 0.38015511631965637, 0.1222008764743805, 0.3280709385871887, -0.4004005491733551, 0.5187727808952332, 0.056674737483263016, -0.09303177893161774, -0.5921422839164734, -0.10017171502113342, 0.4239077568054199, -0.07760442793369293 ]
http://arxiv.org/abs/2405.14117v1
http://arxiv.org/pdf/2405.14117v1
Knowledge Localization: Mission Not Accomplished? Enter Query Localization!
2024-05-23T02:44:12
2024-05-23T02:44:12
Yuheng Chen, Pengfei Cao, Yubo Chen, Kang Liu, Jun Zhao
cs.CL
cs.CL, cs.AI
Large language models (LLMs) store extensive factual knowledge, but the mechanisms behind how they store and express this knowledge remain unclear. The Knowledge Neuron (KN) thesis is a prominent theory for explaining these mechanisms. This theory is based on the knowledge localization (KL) assumption, which suggests that a fact can be localized to a few knowledge storage units, namely knowledge neurons. However, this assumption may be overly strong regarding knowledge storage and neglects knowledge expression mechanisms. Thus, we re-examine the KL assumption and confirm the existence of facts that do not adhere to it from both statistical and knowledge modification perspectives. Furthermore, we propose the Query Localization (QL) assumption. (1) Query-KN Mapping: The localization results are associated with the query rather than the fact. (2) Dynamic KN Selection: The attention module contributes to the selection of KNs for answering a query. Based on this, we further propose the Consistency-Aware KN modification method, which improves the performance of knowledge modification. We conduct 39 sets of experiments, along with additional visualization experiments, to rigorously validate our conclusions.
[ -0.1281414031982422, -0.7585563659667969, 0.7553630471229553, 0.050240784883499146, 0.12041459232568741, 0.064364954829216, -0.40477314591407776, -0.37635916471481323, 0.31283169984817505, 0.26915493607521057, -0.10966982692480087, -0.5380001664161682, -0.41498664021492004, -0.07714762538671494, -0.26368844509124756, 0.6450141668319702, 0.05471290275454521, 0.05928368493914604, -0.6583049893379211, -0.205069437623024, -0.3832104802131653, -0.6118943691253662, -0.5773952007293701, -0.4737175703048706, 0.667596697807312, 0.27073222398757935, 0.6669043898582458, 0.5621622800827026, 0.35847005248069763, 0.2634313702583313, -0.4955711364746094, 0.10897289961576462, -0.432033896446228, 0.2512034475803375, -0.015585629269480705, -1.090307593345642, -0.21411648392677307, -0.38707178831100464, 0.6860151886940002, 1.0685299634933472, -0.1114121824502945, -0.15951038897037506, -0.3248506784439087, 0.7899983525276184, -0.5870650410652161, 0.14015395939350128, -0.767839789390564, 0.059009287506341934, 0.206918865442276, 0.09435653686523438, -0.279520183801651, -0.507146954536438, 0.39800897240638733, -0.7044238448143005, 0.439453125, -0.0332515574991703, 0.7993141412734985, 0.25255686044692993, -0.6582697033882141, 0.08642850816249847, -0.765308141708374, 0.7403215765953064, -0.8354411721229553, 0.4778030514717102, 0.643235445022583, 0.23382392525672913, -0.364013671875, -0.4008425176143646, -0.5982714891433716, -0.37814953923225403, -0.27066168189048767, 0.08426399528980255, 0.09895786643028259, 0.10561323165893555, 0.6183501482009888, 0.11100934445858002, -0.2452886402606964, -0.13482116162776947, -0.24484148621559143, -0.4290536344051361, 0.37971699237823486, -0.04561978578567505, 0.28990983963012695, -0.1265990436077118, -0.25229454040527344, 0.06065235286951065, -0.7843783497810364, 0.11386102437973022, 0.14368057250976562, 0.13623201847076416, -0.015907403081655502, 0.6458558440208435, -0.6411170959472656, 0.8568878769874573, -0.042225152254104614, -0.2827770411968231, 0.044432055205106735, -0.2512717843055725, -0.038310643285512924, 0.2943771779537201, 0.7182812690734863, 0.31572800874710083, 0.1860264241695404, -0.532724916934967, -0.13755156099796295, 0.055327221751213074, 0.30864807963371277, -0.4146060049533844, -0.16590435802936554, 0.22992362082004547, -0.34990495443344116, -0.24352815747261047, -0.3579552173614502, -0.3408794701099396, -0.46248897910118103, -0.2491389662027359, 0.42180246114730835, -0.31282997131347656, -0.23972474038600922, 0.06704245507717133, -0.1811205893754959, 0.14558260142803192, 0.19334806501865387, -1.0139333009719849, 0.19484806060791016, 0.401210218667984, 0.5620937943458557, -0.26772716641426086, -0.3344959020614624, 0.2965797781944275, 0.43651285767555237, -0.7593395113945007, 0.7724061608314514, -0.38322901725769043, -0.2294260859489441, 0.09626271575689316, -0.05026913806796074, -0.18512317538261414, -0.6964178681373596, 0.24131463468074799, -1.0845458507537842, -0.1360883265733719, -1.061811089515686, -0.678605318069458, -0.37249884009361267, 0.40521204471588135, -0.4641554653644562, 0.8200147151947021, 0.03282534331083298, -0.6696099042892456, 0.39279240369796753, -0.5695635676383972, -0.6026831865310669, -0.41211119294166565, -0.12090878188610077, 0.01581103727221489, 0.33568304777145386, 0.01748061552643776, 0.1472848355770111, 0.008165454491972923, 0.36953139305114746, -0.25945836305618286, -0.34474873542785645, 0.43392449617385864, -0.10640500485897064, 0.42662864923477173, -0.07554624229669571, -0.3109495937824249, -0.044641245156526566, -0.4955040216445923, -0.1198653131723404, 0.06888572871685028, -0.6548569202423096, -0.3436115086078644, 0.23059885203838348, -0.6158660054206848, 0.00014813766756560653, 0.5463373064994812, -0.6949344873428345, 0.5316144824028015, -0.5672959089279175, 0.20704202353954315, 0.42354437708854675, 0.008419369347393513, 0.9144155979156494, -0.08617465198040009, 0.2808149755001068, 0.2096470296382904, 0.07944976538419724, 0.25856688618659973, -0.40453192591667175, -0.9595619440078735, 0.3904273808002472, 0.40721070766448975, 0.3127555251121521, -0.766843318939209, -0.12471174448728561, -0.3836999535560608, -0.31383758783340454, -0.20776401460170746, -0.2085724025964737, 0.11370513588190079, 0.660048246383667, 0.25319167971611023, 0.18424049019813538, -0.40686145424842834, -1.1999080181121826, -0.48712196946144104, -0.2139585167169571, 0.24887512624263763, 0.22707900404930115, 0.3438546359539032, 0.13807527720928192, 1.0901336669921875, -0.5592596530914307, -0.1491679847240448, -0.047089967876672745, -0.0065484545193612576, 0.21522089838981628, 0.3703312277793884, 0.4942108392715454, -0.7701345682144165, -0.3381655514240265, 0.21733403205871582, -1.145249605178833, 0.1829686015844345, -0.04563942179083824, 0.10456476360559464, 0.3322513699531555, 0.6427739858627319, -1.0248603820800781, 0.5582275390625, 0.10228520631790161, 0.026514725759625435, 0.5058438181877136, -0.49220648407936096, 0.255167156457901, -0.7476204037666321, -0.22547882795333862, -0.3457939624786377, -0.026480646803975105, -0.6609950661659241, -0.06283474713563919, 0.3220546841621399, -0.04036126285791397, -0.11731326580047607, 0.5188160538673401, -0.5407246351242065, -0.38849908113479614, -0.4333901107311249, 0.3318253457546234, -0.11370212584733963, 0.5481327772140503, -0.07411431521177292, 0.520062267780304, 0.7249769568443298, -0.7713372111320496, 0.32222700119018555, 0.2714739143848419, -0.5289451479911804, 0.10659150779247284, -0.6377448439598083, -0.050261251628398895, -0.16889435052871704, 0.14293020963668823, -0.9390047788619995, -0.3606465458869934, 0.1693691462278366, -0.5909597873687744, 0.3102124333381653, -0.3417417109012604, -0.7219363451004028, -0.06858997046947479, 0.11397187411785126, 0.4540354013442993, 0.6459009647369385, -0.4304291009902954, 0.6184262633323669, 0.3434637486934662, 0.15175588428974152, -0.5363261103630066, -0.7463576793670654, 0.00483220349997282, 0.10486816614866257, -0.5458922982215881, 0.25068992376327515, 0.09191106259822845, -0.2555985152721405, 0.14894011616706848, -0.5571346879005432, -0.04579450562596321, 0.11238174140453339, 0.031087223440408707, -0.025955338031053543, -0.2521347403526306, 0.5122881531715393, 0.1444876790046692, 0.09583793580532074, 0.26135486364364624, -0.24252866208553314, 0.3021235466003418, 0.2809567451477051, -0.5093757510185242, -0.4296601712703705, 0.05373251810669899, 0.5773810744285583, -0.3045520782470703, 0.8287678360939026, 0.37679287791252136, -0.4757547974586487, -0.018275700509548187, -0.6452816128730774, -0.41242608428001404, -0.47433945536613464, 0.47711917757987976, -0.22912664711475372, -0.8836754560470581, 0.7048930525779724, -0.2666720151901245, -0.20441009104251862, 0.317866712808609, 0.029540618881583214, -0.25242283940315247, 1.017703890800476, 0.4208226501941681, 0.010596627369523048, 0.2658681273460388, -0.20768772065639496, 0.5298565030097961, -1.141324758529663, -0.33282703161239624, -0.4469953179359436, -0.6043166518211365, -0.4359549582004547, -0.1338222324848175, 0.44559040665626526, 0.46693649888038635, -0.16111350059509277, 0.07197698950767517, -0.28690770268440247, 0.5420676469802856, 0.48999038338661194, 0.058126263320446014, -0.03659604489803314, 0.16463753581047058, -0.27583548426628113, -0.1801653355360031, -1.2805231809616089, -0.11913923174142838, 1.0941481590270996, -0.07948856800794601, 0.4857341945171356, 0.143754780292511, 0.49783721566200256, 0.16317257285118103, 0.15376712381839752, -0.9044005870819092, 0.882689356803894, 0.11506005376577377, -0.5658876895904541, -0.2883380949497223, -0.5665115118026733, -0.9623914957046509, 0.2271699756383896, -0.22841259837150574, -0.8934112191200256, 0.26217636466026306, 0.06865222752094269, -0.2786383032798767, 0.49112600088119507, -0.8013216257095337, 0.7520451545715332, -0.2594861388206482, -0.20569376647472382, -0.3500722348690033, -0.4861600697040558, 0.08726415783166885, -0.012048227712512016, 0.10720021277666092, 0.05096658691763878, -0.056086376309394836, 0.7704638242721558, -0.19132378697395325, 0.9442472457885742, -0.47946950793266296, -0.13124877214431763, 0.21579831838607788, 0.30348697304725647, 0.7422757744789124, -0.03414143994450569, -0.1635192334651947, -0.05939997360110283, -0.13672688603401184, -0.5019834637641907, -1.1199462413787842, 0.9088983535766602, -0.5938839912414551, -0.9195808172225952, -0.24988704919815063, -0.8813661932945251, -0.4026910364627838, 0.2899479568004608, 0.00243517872877419, 0.4474923610687256, 0.17162320017814636, 0.2253568470478058, 0.9016294479370117, -0.2931080162525177, 0.3185313045978546, 0.577161967754364, -0.38153913617134094, -0.2087617963552475, 1.0057265758514404, 0.5494705438613892, 0.23100222647190094, 0.3838352560997009, 0.17002469301223755, -0.2900148630142212, -0.8662111163139343, -0.026347054168581963, 0.3359432518482208, -0.9533506035804749, 0.15455827116966248, -0.619953453540802, 0.05687853693962097, -0.501091718673706, -0.06587248295545578, -0.37767452001571655, -0.4488036334514618, -0.08337565511465073, -0.07123396545648575, 0.33681026101112366, 0.7669194340705872, -0.08587444573640823, 0.3220733404159546, -0.5178869366645813, 0.39284104108810425, 0.2761061489582062, 0.2072240710258484, 0.3328809142112732, -0.4508022964000702, -0.6041886806488037, 0.3160477578639984, 0.11258432269096375, -0.8692224025726318, 0.1344453990459442, -0.1578536182641983, 0.6855642795562744, 0.10297204554080963, 0.17167730629444122, 0.4065884053707123, -0.2630486786365509, 0.8988053202629089, -0.029501674696803093, -0.5255535244941711, 0.5366918444633484, -0.37075117230415344, 0.5392687916755676, 0.2134331315755844, 0.37452468276023865, -0.4727470576763153, -0.2528647184371948, -0.5978100299835205, -0.7788572907447815, 0.5942308902740479, -0.08555292338132858, 0.17225702106952667, -0.20872439444065094, 0.8370468616485596, -0.23952966928482056, 0.31645411252975464, -0.4203498959541321, -0.634375274181366, 0.07318219542503357, 0.11345912516117096, 0.13656920194625854, -0.40929147601127625, -0.18021678924560547, -0.4452235698699951, 0.7795283794403076, -0.05842453986406326, 0.43027013540267944, 0.5508907437324524, -0.04172416031360626, 0.027695002034306526, 0.11696597933769226, 0.8039948344230652, 0.979194164276123, -0.16889061033725739, 0.04038958624005318, 0.22105081379413605, -0.21012742817401886, -0.006733793765306473, -0.1657913327217102, -0.637351930141449, 0.16186121106147766, 0.23345205187797546, 0.839415967464447, 0.34105420112609863, -0.18176235258579254, 0.3645389676094055, 0.09574363380670547, -0.15705162286758423, -0.19881965219974518, 0.07746591418981552, 0.3815261721611023, 0.3939651548862457, 0.15121817588806152, 0.4518091678619385, -0.1735924929380417, -0.3530087471008301, -0.0819486528635025, 0.5750328302383423, -0.46130621433258057, -0.29798567295074463, 0.6865584850311279, -0.2725299596786499, -0.20842602849006653, 0.5745587944984436, -0.2008279412984848, -0.7063407897949219, 0.778755247592926, 0.5364283323287964, 0.5364395380020142, -0.008609908632934093, 0.26171401143074036, 0.5882895588874817, 0.3779689371585846, -0.21105149388313293, 0.23422083258628845, -0.1579848676919937, -1.052944302558899, -0.4660460352897644, -0.378329873085022, -0.11238563060760498, 0.02904578670859337, -0.5377625226974487, -0.29894495010375977, -0.3294050693511963, -0.32718709111213684, -0.08732971549034119, -0.23855198919773102, -0.40471187233924866, 0.2136116474866867, -0.29859599471092224, 0.8722439408302307, -0.4434535503387451, 0.9764977693557739, 0.8028681874275208, -0.21751348674297333, -0.6984956860542297, 0.10954231023788452, -0.43340829014778137, -0.624540388584137, 0.9666840434074402, -0.33609747886657715, 0.2637263834476471, -0.042594801634550095, -0.7728442549705505, -1.1086266040802002, 0.9263244867324829, 0.39729636907577515, -0.448351114988327, 0.11082582920789719, 0.2896866798400879, 0.5252934098243713, -0.1185963898897171, -0.1548810750246048, 0.2309388816356659, 0.5732741355895996, -0.16621433198451996, -0.6665303707122803, 0.019074570387601852, 0.15172040462493896, -0.04022553563117981, 0.2195199877023697, -0.5805923342704773, 0.5438025593757629, -0.5271902084350586, 0.03536828234791756, -0.0011711129918694496, 0.5002651214599609, -0.06030627340078354, 0.13835181295871735, 0.1197059229016304, 0.7730138301849365, 0.7810538411140442, -0.21144603192806244, 1.433816909790039, -0.2159363329410553, 0.31711646914482117, 1.2810181379318237, -0.33212268352508545, 0.8127931952476501, 0.63313889503479, -0.17822012305259705, 0.17752130329608917, 0.5648689866065979, -0.08111276477575302, 0.7166271805763245, 0.22769935429096222, -0.42158281803131104, -0.386476993560791, -0.2482750564813614, -0.31026458740234375, 0.3420778810977936, 0.15476451814174652, -0.3087038993835449, -0.1290608048439026, -0.1906905621290207, -0.05448334664106369, -0.1194375678896904, -0.29450491070747375, 0.8130042552947998, -0.045782703906297684, -0.7261232137680054, 0.8829258680343628, -0.09319368749856949, 0.26312047243118286, -0.7701072692871094, -0.021493181586265564, -0.3341735601425171, -0.0967521220445633, -0.3195399045944214, -0.6066120266914368, 0.254282146692276, -0.453151673078537, -0.5830754637718201, -0.020705927163362503, 1.1431834697723389, -0.32486292719841003, -0.06822440028190613, 0.2261933833360672, 0.556790828704834, 0.17040131986141205, -0.16375631093978882, -0.3728509843349457, -0.06705140322446823, 0.1813075840473175, -0.31793102622032166, 0.5745328664779663, 0.607349157333374, -0.017898766323924065, 0.8331149220466614, 0.8381737470626831, 0.3275389075279236, 0.1476585865020752, 0.012007368728518486, 0.7462565302848816, -0.5765392780303955, -0.1117657944560051, -0.5802178978919983, 0.27524998784065247, -0.062017884105443954, 0.013331538066267967, 0.8750129342079163, 0.5640186071395874, 0.7047808766365051, -0.2540844976902008, 0.9034228324890137, 0.0003070527745876461, 0.20421047508716583, -0.3579850494861603, 1.1195093393325806, -0.6934661269187927, 0.31527820229530334, 0.20833563804626465, -0.9122132062911987, -0.25361958146095276, 0.5532914400100708, -0.7313491702079773, 0.03399305418133736, 0.8576954007148743, 0.8785591125488281, 0.03711783140897751, -0.05408035218715668, 0.6104696393013, 0.7622953653335571, -0.06664927303791046, 0.15789154171943665, 0.9332255721092224, -0.5639572143554688, 0.38806092739105225, -0.4205133318901062, 0.15800593793392181, 0.051191434264183044, -0.709968090057373, -0.7190523147583008, -0.48648205399513245, -0.46391430497169495, -0.3915298581123352, 0.06321164965629578, 0.33274737000465393, 0.6572248339653015, -0.5330407023429871, -0.1629217565059662, -0.1407897025346756, 0.525492250919342, -0.10656272619962692, -0.1971287876367569, 0.47174155712127686, -0.6087905764579773, -0.15400035679340363, 0.7448164224624634, 0.19076351821422577, -0.01924976147711277, 0.023005681112408638, 0.12795017659664154, -0.35209915041923523, -0.14220592379570007, 0.5855374336242676, 0.3686460554599762, -0.6993110179901123, -0.3566460609436035, 0.27664482593536377, 0.01219871174544096, 0.2123052477836609, 0.5574572682380676, -1.0075634717941284, 0.6299867033958435, 0.5236510634422302, 0.8258219361305237, 0.3824659287929535, -0.5026769042015076, 0.5822540521621704, -0.6612721085548401, -0.14107568562030792, -0.08923021703958511, 0.43478506803512573, 0.37935498356819153, -0.24088796973228455, 0.3276020288467407, 0.4022658169269562, -0.7364874482154846, -0.6537001729011536, 0.4142555892467499, -1.01679527759552, -0.24007995426654816, 1.1646931171417236, -0.12462221831083298, -0.545074999332428, -0.04089190065860748, -0.1302335411310196, 0.4218546450138092, -0.24150313436985016, 0.9674285650253296, 0.785582959651947, -0.1239859014749527, 0.17534580826759338, -0.9264905452728271, 0.6202424764633179, 0.6094340682029724, -0.5482931733131409, -0.06613122671842575, 0.4080086052417755, 0.4597606360912323, 0.4152672588825226, 0.3779451847076416, -0.06165803223848343, 0.22962243854999542, -0.049404922872781754, 0.15393899381160736, 0.13683955371379852, -0.007126535288989544, -0.12088466435670853, 0.18916888535022736, 0.11448413878679276, -0.14508846402168274 ]
http://arxiv.org/abs/2405.17459v1
http://arxiv.org/pdf/2405.17459v1
Integrating Medical Imaging and Clinical Reports Using Multimodal Deep Learning for Advanced Disease Analysis
2024-05-23T02:22:10
2024-05-23T02:22:10
Ziyan Yao, Fei Lin, Sheng Chai, Weijie He, Lu Dai, Xinghui Fei
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
In this paper, an innovative multi-modal deep learning model is proposed to deeply integrate heterogeneous information from medical images and clinical reports. First, for medical images, convolutional neural networks were used to extract high-dimensional features and capture key visual information such as focal details, texture and spatial distribution. Secondly, for clinical report text, a two-way long and short-term memory network combined with an attention mechanism is used for deep semantic understanding, and key statements related to the disease are accurately captured. The two features interact and integrate effectively through the designed multi-modal fusion layer to realize the joint representation learning of image and text. In the empirical study, we selected a large medical image database covering a variety of diseases, combined with corresponding clinical reports for model training and validation. The proposed multimodal deep learning model demonstrated substantial superiority in the realms of disease classification, lesion localization, and clinical description generation, as evidenced by the experimental results.
[ -0.08813626319169998, -0.8025578260421753, 0.7152040600776672, 0.11648081243038177, -0.568985104560852, -0.23256632685661316, -0.16499872505664825, -0.9388508796691895, 0.3324047029018402, 0.4469597339630127, -0.1796555370092392, -0.5067911744117737, -0.7647473812103271, -0.14817985892295837, 0.0845087468624115, 0.8293625712394714, 0.023340502753853798, 0.8754171133041382, -0.29491057991981506, -0.37900683283805847, -0.7380613088607788, -0.2930915355682373, -0.2963712811470032, -0.17740707099437714, 0.5884165167808533, 0.06311501562595367, 0.8303508758544922, 0.5088038444519043, 1.1098506450653076, 0.32382529973983765, 0.4109445810317993, 0.4665129482746124, 0.15295347571372986, 0.1888715624809265, 0.09174086898565292, -0.11937925219535828, -0.6159468293190002, 0.07897994667291641, 0.5569185018539429, 0.7224401831626892, 0.2525261342525482, -0.34245163202285767, -0.2866981029510498, 0.3189747929573059, -0.4684252142906189, 0.30436626076698303, 0.0008668135851621628, 0.5177489519119263, -0.06928353011608124, -0.6424932479858398, -0.2837640345096588, -0.19191406667232513, 0.3530687391757965, -0.5714022517204285, 0.0048820930533111095, -0.42843353748321533, 0.6640592217445374, 0.16247674822807312, -0.8425265550613403, -0.5382576584815979, -0.5884147882461548, 0.5169021487236023, -0.6309077739715576, 0.4460907280445099, 0.1805359125137329, 0.7364818453788757, 0.3423241078853607, -0.989591658115387, -0.27887842059135437, -0.5043476819992065, -0.32652947306632996, 0.41583362221717834, 0.07857038825750351, 0.05737783759832382, -0.1842411756515503, 0.44311457872390747, -0.5691256523132324, 0.24730263650417328, -0.5367850661277771, -0.179904967546463, 0.697593092918396, 0.6502397060394287, 0.5385825634002686, -0.12178929150104523, -0.7663657069206238, 0.06659191846847534, -0.23075996339321136, -0.09042099863290787, -0.6514615416526794, 0.23345233500003815, -0.3141830265522003, 0.49930447340011597, -0.04050249606370926, 0.49637460708618164, -0.11005166172981262, -0.5477637648582458, 0.6608701348304749, -0.6193277835845947, -0.41461947560310364, 0.10200867056846619, 0.8537198305130005, 0.6112261414527893, -0.5430118441581726, -0.058411672711372375, -0.021173758432269096, 0.15288586914539337, 0.16670234501361847, -0.8877970576286316, -0.10384581238031387, 0.2552087903022766, -1.1693047285079956, -0.3431660234928131, -0.33972737193107605, -0.8947232365608215, -0.7606114745140076, -0.43524232506752014, 0.3638721704483032, -0.7128819227218628, -0.4529916048049927, 0.2726958394050598, 0.09522172808647156, -0.13200081884860992, 0.6291466355323792, -0.5507872700691223, 0.023515503853559494, 0.2416733056306839, 0.6432067155838013, 0.02965501695871353, -0.09192627668380737, -0.6525001525878906, 0.36752381920814514, -0.079701729118824, 0.5457268953323364, -0.7746598124504089, -0.29982516169548035, 0.07587170600891113, 0.15312214195728302, -0.2830049991607666, -0.2873094975948334, 0.21349148452281952, -0.6098124980926514, 0.23982931673526764, 0.05178481340408325, -0.2788514792919159, -0.4523632228374481, 0.44068655371665955, -0.9182285070419312, 0.273775190114975, 0.08782932907342911, -0.4042784571647644, 0.42715689539909363, -0.5319681763648987, -0.641707718372345, 0.3255167007446289, -0.5158424377441406, -0.516381561756134, 0.21159331500530243, 0.2174638956785202, 0.8602246642112732, -0.46581563353538513, 0.6235278844833374, -0.22063717246055603, 0.0958242267370224, 0.43220189213752747, -0.4199143052101135, 0.48764684796333313, 0.37624338269233704, -0.08499976992607117, 0.15887878835201263, -0.7384980916976929, -0.08229777961969376, 0.15925480425357819, -0.39109957218170166, -0.21721944212913513, -0.29470741748809814, 0.20916129648685455, 0.24255339801311493, 0.226241797208786, -0.5694583058357239, 0.2601855993270874, -0.10123027861118317, 0.0919848158955574, 0.11228129267692566, 0.07091616094112396, 0.2930656671524048, -0.3076706528663635, 0.4447607100009918, 0.4680551290512085, 0.44563737511634827, -0.44633257389068604, -0.47142237424850464, -0.24542565643787384, -0.4919867217540741, 0.3601498603820801, 0.5944799780845642, -0.545459508895874, 0.05128118023276329, -0.2759518027305603, -0.25563687086105347, -0.6669124960899353, -0.33897021412849426, 0.3440680205821991, 0.5704719424247742, 0.4389178454875946, -0.37572768330574036, -0.43300125002861023, -0.9603486657142639, 0.3126735985279083, 0.4044521749019623, 0.13179391622543335, 0.5976533889770508, 0.35610082745552063, -0.6672337055206299, 0.23795275390148163, -0.42515453696250916, -0.7357214093208313, -0.2071245312690735, 0.30524390935897827, 0.08213462680578232, 0.577708899974823, 0.6624478101730347, -1.007599115371704, -0.5287328362464905, 0.614853024482727, -1.1017968654632568, 0.4718671441078186, -0.2987009584903717, 0.4105762541294098, -0.038242705166339874, 0.4338926374912262, -0.47652432322502136, 0.5394634008407593, 0.3345707952976227, -0.2709444761276245, 0.18384477496147156, -0.6999281048774719, 0.49087581038475037, -1.1701290607452393, 0.12415260076522827, 0.30089694261550903, -0.294076144695282, -0.3291678726673126, 0.07203898578882217, 0.2563612163066864, -0.4068046808242798, -0.15093126893043518, 0.19129152595996857, -0.48746877908706665, 0.29566967487335205, 0.002319696359336376, -0.337080717086792, 0.2517886459827423, 0.13870301842689514, 0.13792675733566284, 0.09194853156805038, 0.7205628156661987, -0.3308010995388031, 0.6044608354568481, 0.10095327347517014, -0.26892122626304626, 0.42606526613235474, -0.32317841053009033, -0.012480400502681732, -0.4884275794029236, 0.26419103145599365, -0.9052932262420654, -0.625048816204071, 0.255357027053833, -0.40057608485221863, 0.7850767374038696, 0.0920129343867302, -0.2866455018520355, -0.22370491921901703, -0.21462765336036682, 0.5950157046318054, 0.08361014723777771, -0.16495281457901, 0.8225714564323425, 0.41895395517349243, 0.0017131154891103506, -0.2967742085456848, -1.0637967586517334, 0.12554726004600525, 0.046459972858428955, -0.6361513733863831, 0.46281957626342773, 0.041802551597356796, 0.02076653204858303, 0.20777319371700287, 0.5247728824615479, -0.5735841393470764, -0.16927537322044373, 0.21796205639839172, 0.39436081051826477, -0.5385094285011292, 0.45174893736839294, -0.0019359085708856583, -0.13458791375160217, -0.1190471202135086, 0.3367627263069153, 0.2676187753677368, -0.04573174938559532, -0.5213029980659485, -0.851630449295044, 1.0027090311050415, 0.9532146453857422, -0.4354979395866394, 0.4627281427383423, 0.7147346138954163, -0.5342527031898499, 0.44209179282188416, -0.5333419442176819, -0.08545148372650146, -0.31450045108795166, 0.7526898980140686, -0.17027784883975983, -0.5178117752075195, 0.3755904734134674, -0.3955066502094269, -0.33166036009788513, 0.5720467567443848, 0.5347451567649841, -0.24970784783363342, 1.2910847663879395, 0.6214589476585388, 0.13888171315193176, -0.00855577178299427, -0.23437801003456116, 0.14344896376132965, -0.6753993034362793, -1.0023458003997803, -0.11246359348297119, -0.3275633454322815, -0.20017601549625397, -0.5570260882377625, 0.7299320697784424, -0.06771918386220932, 0.05643905699253082, -0.4232095777988434, -0.6741476655006409, 0.23922482132911682, 0.011467513628304005, 0.7708675265312195, 0.23660770058631897, -0.11885164678096771, -0.10582895576953888, -0.32628577947616577, -0.5911369323730469, -0.025161145254969597, 1.237922191619873, 0.662199079990387, 0.8216508626937866, 0.08859720826148987, 0.399519681930542, 0.49214857816696167, 0.3578244745731354, -0.9370020627975464, 0.07611077278852463, -0.5388338565826416, -0.38322335481643677, -0.047064408659935, -0.0037890623789280653, -0.8502569198608398, 0.2521112561225891, -0.3540985584259033, -0.18687193095684052, 0.5106461048126221, -0.11124954372644424, -0.8346346020698547, 0.13271158933639526, -0.7160125374794006, 0.772568941116333, -0.6060526371002197, -0.06744745373725891, -0.413067489862442, -0.9447914958000183, 0.44566234946250916, 0.21755334734916687, 0.35243237018585205, 0.08044803887605667, -0.20137736201286316, 0.5073124766349792, -0.1496952623128891, 1.0656015872955322, -0.09361864626407623, 0.1675024777650833, -0.2991153597831726, -0.03493327647447586, 0.09328670054674149, 0.38464125990867615, 0.35980719327926636, -0.03632599115371704, -0.10488447546958923, -0.2211492359638214, -0.3877694606781006, 0.6316952109336853, -0.6235843896865845, -0.09380541741847992, -0.5027145147323608, -0.9572070240974426, -0.2396506518125534, 0.08321703970432281, 0.04853666573762894, 0.9702223539352417, -0.23748372495174408, 0.25927993655204773, 0.645332396030426, -0.240143284201622, 0.41616007685661316, 0.31231197714805603, 0.030588287860155106, -0.7263527512550354, 1.0016486644744873, 0.07293643802404404, 0.0755409374833107, 0.46296828985214233, 0.28714659810066223, 0.017267940565943718, -0.720795750617981, -0.5662735104560852, 0.1260731816291809, -0.7648507356643677, -0.47302109003067017, -0.7055901885032654, -0.3252728581428528, -0.38938793540000916, -0.08691781759262085, -0.31492987275123596, 0.13146710395812988, -0.4211938977241516, 0.41117924451828003, 0.2078368067741394, 0.6558982729911804, 0.058915793895721436, 0.062262289226055145, -1.1655433177947998, 0.3634852170944214, 0.22068022191524506, 0.20643790066242218, 0.18523967266082764, -0.10287496447563171, -0.4743347465991974, -0.09301461279392242, -0.3200226426124573, -0.8331630229949951, 0.4668447971343994, 0.27732139825820923, 0.5771406292915344, 0.6122459173202515, -0.3241172134876251, 0.49582168459892273, -0.2103291153907776, 0.529794454574585, 0.9268735647201538, -0.3819384276866913, 0.6188474297523499, -0.12898080050945282, 0.3892350494861603, 0.37593600153923035, 0.5549535155296326, -0.3783250153064728, 0.1261603683233261, -0.2360437512397766, -0.4845418632030487, 0.3350079357624054, -0.4322328269481659, 0.1089014783501625, 0.009272178635001183, 0.13581430912017822, 0.3897362947463989, -0.08334553986787796, -0.6607465744018555, -0.10035231709480286, -0.21365700662136078, -0.25752362608909607, 0.09536709636449814, -0.3530600070953369, -0.5238317847251892, -0.7590289115905762, 0.04810944199562073, -0.3620030879974365, 0.42269080877304077, 0.4277303218841553, -0.38655346632003784, 0.05822605639696121, 0.15065106749534607, 0.7906041145324707, 0.406942754983902, -0.12446343898773193, 0.3202616572380066, -0.11533854156732559, -0.579510509967804, -0.20353788137435913, 0.35393133759498596, 0.5067471861839294, 0.06104917824268341, 0.7436127662658691, 0.8193578124046326, 0.12959611415863037, -0.5106205344200134, 0.8415994048118591, -0.09729980677366257, -0.366070419549942, -0.04762484133243561, -0.33139893412590027, 0.11844160407781601, 0.6294012665748596, 0.3259614408016205, 0.46275556087493896, 0.5616680383682251, -0.5546213388442993, 0.3866330087184906, 0.4800317585468292, -0.8141803741455078, -0.36222854256629944, 0.5777676701545715, 0.3622705042362213, 0.260497123003006, 0.7127858400344849, 0.2929324209690094, -0.22629311680793762, 0.7148770689964294, 0.5245503783226013, 0.3985775411128998, -0.3603877127170563, 0.3192778527736664, 0.12361934036016464, 0.04789464920759201, 0.2785370349884033, 0.3524969518184662, 0.08262627571821213, -0.3558877408504486, -0.5945927500724792, -0.1711227148771286, 0.176200270652771, 0.42721596360206604, -0.45765143632888794, 0.15024931728839874, -0.4802500605583191, -0.21650053560733795, 0.48040592670440674, -0.06203743442893028, -0.5173093676567078, 0.7083924412727356, 0.41333308815956116, 0.6685145497322083, -0.7743772864341736, 0.8615447878837585, 0.5666719079017639, -0.7962787747383118, -0.4695676565170288, -0.20194950699806213, -0.09367629140615463, -0.886909008026123, 0.8571851253509521, 0.42803460359573364, 0.32966282963752747, -0.4709798991680145, -0.4294300675392151, -0.49791035056114197, 1.0520442724227905, 0.26827573776245117, -0.41999104619026184, 0.06427126377820969, 0.2859829366207123, 0.5035386085510254, -0.8002762794494629, 0.27270519733428955, 0.14672304689884186, 0.4429127275943756, 0.346489816904068, -1.0727325677871704, 0.27147141098976135, -0.4669729471206665, -0.1474326103925705, 0.05345131456851959, -0.5989301800727844, 1.0005543231964111, -0.5071664452552795, 0.00987846590578556, -0.03339635953307152, 0.37248075008392334, -0.2684835195541382, 0.6408735513687134, 0.24639664590358734, 0.673758864402771, 0.6391242146492004, 0.17163854837417603, 1.2193214893341064, -0.04683830216526985, 0.21850919723510742, 0.7632222771644592, -0.1458987593650818, 0.2079860121011734, 0.18537576496601105, 0.15369528532028198, 0.2914603352546692, 0.5621305704116821, -0.08231829851865768, 0.8384459614753723, -0.23509462177753448, -0.6464635133743286, -0.46217185258865356, -0.3454534411430359, -1.1610537767410278, 0.500126302242279, 0.4492320120334625, -0.8883310556411743, -0.4929274022579193, 0.7717843651771545, -0.35229334235191345, -0.2840006351470947, -0.3114358186721802, 0.8739399909973145, -0.052112314850091934, -0.1586112231016159, 0.5697453022003174, -0.21428945660591125, 0.5613960027694702, -0.5752236247062683, -0.2943825423717499, 0.06155579164624214, 0.3734842538833618, -0.31186729669570923, -0.6894176602363586, 0.33325135707855225, -0.7492130398750305, -0.36409932374954224, 0.22231638431549072, 0.6800373196601868, -0.5761932730674744, -0.5963967442512512, 0.2277337908744812, 0.31813639402389526, -0.10507103055715561, 0.18452191352844238, -0.5807225704193115, 0.17880460619926453, -0.20227372646331787, 0.04102403298020363, 0.5815874338150024, 0.6172685623168945, -0.007857566699385643, 0.396084189414978, 0.5115511417388916, -0.13470686972141266, -0.34190136194229126, 0.02011628821492195, 1.1415635347366333, -0.4481815695762634, -0.31536656618118286, -0.5838497877120972, 0.6677802205085754, -0.2860596776008606, -0.32170361280441284, 0.22638718783855438, 0.6577306389808655, 0.09126999974250793, -0.2260136604309082, 0.7586007118225098, 0.05007794871926308, 0.16994395852088928, -0.5622938275337219, 0.8783794641494751, -0.8483085632324219, -0.10940482467412949, 0.24325823783874512, -0.017509885132312775, -0.7050262093544006, 0.16155968606472015, -0.0509396567940712, -0.09753913432359695, 0.9043301343917847, 0.3855355381965637, -0.3806348443031311, -0.0046377661637961864, 0.3369186818599701, 0.10384451597929001, 0.2297789752483368, 0.655383825302124, 0.5196357369422913, -0.3490614891052246, 0.30057191848754883, -0.3815007507801056, -0.564390242099762, -0.6039913892745972, -0.49803513288497925, -0.7497725486755371, -0.6256858110427856, -0.41184118390083313, -0.4823678731918335, -0.20851314067840576, 0.472402960062027, 0.9824728965759277, -0.6363268494606018, 0.3422304391860962, 0.4058551490306854, -0.2875615358352661, -0.18458867073059082, -0.15865415334701538, 0.7905656695365906, -0.37713485956192017, -0.4780537188053131, 0.3413670063018799, 0.48827221989631653, -0.025075042620301247, -0.1562192738056183, -0.08406772464513779, -0.3039725124835968, -0.5452090501785278, 0.7763596177101135, 0.08695822209119797, -0.5218232870101929, 0.24244818091392517, -0.09527010470628738, -0.6079519391059875, 0.3315771520137787, 1.1149333715438843, -0.9026689529418945, 0.9373635649681091, 0.23839718103408813, 0.8037002086639404, 0.37595856189727783, -0.5883026719093323, 0.39305445551872253, -0.14684079587459564, 0.44353535771369934, 0.7419596910476685, 0.2525184452533722, 0.08584940433502197, -0.7191889882087708, 0.04421885311603546, 0.29801034927368164, -0.2698352336883545, -0.6773843169212341, 0.02656681090593338, -1.4460121393203735, -0.6248836517333984, 0.7148826122283936, -0.1763509064912796, -0.12764014303684235, -0.13564404845237732, -0.21459321677684784, 0.26509004831314087, -0.12456914037466049, 0.6209167838096619, 0.0169755220413208, -0.4658256769180298, -0.4308375120162964, -0.5923061966896057, 0.3949620723724365, 0.1510464996099472, -0.8291618824005127, -0.5796036720275879, 0.6445218324661255, 0.23780304193496704, 0.3166021406650543, 0.6621579527854919, -0.5951879620552063, 0.8514317870140076, -0.1378040611743927, -0.05883241444826126, -0.482466459274292, -0.2930528521537781, -0.23480039834976196, 0.6053491234779358, -0.4284488558769226, -0.4517807364463806 ]
http://arxiv.org/abs/2405.14105v2
http://arxiv.org/pdf/2405.14105v2
Distributed Speculative Inference of Large Language Models
2024-05-23T02:14:17
2024-06-28T15:34:26
Nadav Timor, Jonathan Mamou, Daniel Korat, Moshe Berchansky, Oren Pereg, Moshe Wasserblat, Tomer Galanti, Michal Gordon, David Harel
cs.DC
cs.DC, cs.AI, cs.CL, cs.LG
Accelerating the inference of large language models (LLMs) is an important challenge in artificial intelligence. This paper introduces distributed speculative inference (DSI), a novel distributed inference algorithm that is provably faster than speculative inference (SI) [leviathan2023fast, chen2023accelerating, miao2023specinfer] and traditional autoregressive inference (non-SI). Like other SI algorithms, DSI works on frozen LLMs, requiring no training or architectural modifications, and it preserves the target distribution. Prior studies on SI have demonstrated empirical speedups (compared to non-SI) but require a fast and accurate drafter LLM. In practice, off-the-shelf LLMs often do not have matching drafters that are sufficiently fast and accurate. We show a gap: SI gets slower than non-SI when using slower or less accurate drafters. We close this gap by proving that DSI is faster than both SI and non-SI given any drafters. By orchestrating multiple instances of the target and drafters, DSI is not only faster than SI but also supports LLMs that cannot be accelerated with SI. Our simulations show speedups of off-the-shelf LLMs in realistic settings: DSI is 1.29-1.92x faster than SI.
[ -0.26804301142692566, -0.7622519731521606, 0.9927116632461548, 0.4584369659423828, 0.1407620906829834, 0.42132368683815, -0.2069782316684723, -0.48461827635765076, 0.5230097770690918, 0.3672419488430023, -0.9498133063316345, -0.2468656301498413, -0.8068629503250122, 0.014665283262729645, -0.4468623101711273, 0.4189158082008362, 0.11282572150230408, -0.1391264945268631, -0.2206096351146698, 0.1556190550327301, 0.36357900500297546, -0.04147528111934662, -0.6395664811134338, -0.11122587323188782, 0.540826141834259, 0.33349233865737915, 0.7123103141784668, 0.8632059097290039, 0.23155666887760162, 0.42523306608200073, -0.12206491827964783, 0.3605670630931854, -0.5888361930847168, 0.34916388988494873, 0.16235555708408356, -0.6631317138671875, -0.6104193329811096, 0.04677091911435127, 0.6761464476585388, 0.813978374004364, 0.005763689987361431, 0.072284996509552, -0.5864925980567932, 0.8252580761909485, -1.025442123413086, -0.19264283776283264, -0.6719651818275452, -0.059140123426914215, -0.5660371780395508, -0.09330761432647705, -0.7286121845245361, -0.43152835965156555, 0.06172826513648033, -0.800362765789032, 0.2963361442089081, 0.09023693203926086, 0.39451536536216736, 0.4785979688167572, -0.30718815326690674, -0.16149277985095978, -0.9489706754684448, 0.8965847492218018, -0.816136360168457, 0.5136575102806091, -0.017639845609664917, 0.3120501637458801, -0.37876129150390625, -0.8106550574302673, -0.8019322156906128, -0.1002652496099472, 0.29901403188705444, 0.20643559098243713, 0.16020013391971588, 0.12899944186210632, 0.4410553276538849, 0.09917338192462921, -0.49412456154823303, 0.5566126108169556, -0.1298108845949173, 0.07774417847394943, 0.9970611333847046, 0.15010623633861542, -0.04227060452103615, 0.3566896617412567, -0.2030600756406784, 0.06953000277280807, -0.5356072187423706, -0.49019289016723633, 0.5522608757019043, -0.016379712149500847, -0.1610763818025589, 0.36628520488739014, -0.26392337679862976, 0.6709820628166199, 0.31213459372520447, -0.3019534945487976, 0.34324783086776733, 0.000608362490311265, -0.023500382900238037, -0.048761721700429916, 0.7663025856018066, 0.30244898796081543, 0.19735121726989746, -0.33287057280540466, -0.22124862670898438, 0.1925334483385086, -0.2757892310619354, -0.755416214466095, -0.025815775617957115, 0.5020413398742676, -0.24960839748382568, -0.06071173772215843, -0.06191837415099144, -1.1443378925323486, -0.5533451437950134, -0.04806876182556152, 0.015963202342391014, -0.05903934687376022, -0.5214700698852539, 0.02129838429391384, -0.3994137644767761, 0.04652436077594757, 0.32392650842666626, -1.1812406778335571, 0.4441477656364441, 0.9071236252784729, 0.828225314617157, -0.41592225432395935, -0.5778128504753113, -0.4750182032585144, 0.23574766516685486, -0.8591180443763733, 1.1656352281570435, -0.7061872482299805, -0.24420413374900818, -0.5465217232704163, -0.2880444824695587, -0.3960258960723877, -0.20345810055732727, 0.5243145823478699, -0.8744515776634216, -0.04694904386997223, 0.005037322174757719, -0.9620581269264221, 0.1739497035741806, -0.2205207496881485, -0.5394459962844849, 0.7906861901283264, -0.2312147468328476, -0.9704084396362305, 0.5435807108879089, -0.4324827790260315, -0.30894771218299866, 0.02929505705833435, -0.36149486899375916, -0.2199866771697998, 0.18310672044754028, 0.31219327449798584, 0.5214019417762756, -0.3829888105392456, 0.5295076370239258, -0.9006083011627197, -1.0788757801055908, -0.08999970555305481, -0.6036333441734314, 0.6807865500450134, 0.40638089179992676, -0.3816704750061035, -0.015186531469225883, -0.5148438811302185, 0.18153245747089386, 0.08349885046482086, 0.004346752073615789, -0.19377954304218292, 0.31019681692123413, -0.2617162764072418, -0.28231632709503174, -0.04416029900312424, -0.661768913269043, 0.33298540115356445, -0.5739448666572571, 0.32140788435935974, 0.851530909538269, -0.14183169603347778, 0.6889190673828125, -0.12132333964109421, 0.37059521675109863, -0.09474346041679382, 0.06986593455076218, 0.07679483294487, -0.43091100454330444, -0.5119876861572266, -0.8643823862075806, 0.2461959272623062, 0.484282910823822, -0.9380089640617371, 0.2450813353061676, -0.43929439783096313, -0.7786585092544556, -0.5282889008522034, -0.41681191325187683, -0.04940076544880867, -0.13912568986415863, -0.17785625159740448, 0.45258384943008423, -0.5696073770523071, -0.7429466843605042, -0.3198368549346924, -0.2085031121969223, 0.0005527939065359533, 0.43082475662231445, 0.21253418922424316, -0.42713505029678345, 0.7229482531547546, -0.6430807113647461, 0.7421769499778748, -0.28424763679504395, 0.33401715755462646, 0.35512253642082214, 0.2642556130886078, 0.5872350931167603, -0.6609230637550354, -0.5347238779067993, -0.2585223913192749, -0.7858951091766357, -0.24853414297103882, -0.25920727849006653, -0.057247310876846313, 0.3265564739704132, 0.5539199709892273, -0.7332594990730286, 0.14444676041603088, 0.7393113970756531, -0.19058039784431458, 0.562747061252594, -0.3046547472476959, 0.44680216908454895, -1.1001214981079102, -0.25166836380958557, 0.005422653630375862, 0.02636541612446308, -0.573864758014679, 0.07055644690990448, 0.14119301736354828, -0.06830795109272003, -0.31559357047080994, 0.6975593566894531, -0.5359334945678711, -0.3663698136806488, -0.4402602016925812, 0.382053405046463, -0.13623157143592834, 0.08064750581979752, 0.025529466569423676, 1.2769964933395386, 1.1202665567398071, -0.8158048987388611, 0.24279910326004028, -0.26120123267173767, -0.19851799309253693, 0.12031252682209015, -0.543397068977356, 0.23896194994449615, -0.3002736568450928, 0.5290389060974121, -0.6484749913215637, -0.020759444683790207, -0.07818812876939774, -0.19552643597126007, 0.2253253310918808, 0.1234925389289856, -0.44996848702430725, -0.6897939443588257, -0.11306003481149673, 0.5397400259971619, 0.32548317313194275, -0.7225252389907837, 0.6215842962265015, 0.413057416677475, 0.21074646711349487, -0.7721940279006958, -0.6136935353279114, 0.13096709549427032, -0.15354414284229279, -0.6822608113288879, 0.3212815225124359, -0.30800026655197144, -0.694748044013977, -0.10393723100423813, -0.06997568905353546, -0.2784810960292816, 0.3225632309913635, 0.1680591106414795, 0.10078730434179306, -0.3569350838661194, -0.023373538628220558, 0.35390663146972656, -0.3544553518295288, -0.19019657373428345, -0.43274161219596863, 0.15468859672546387, 0.021216532215476036, -0.7135488986968994, -0.6365448236465454, 0.46417486667633057, 0.9899812936782837, 0.22255991399288177, 0.8600999712944031, 0.2573889195919037, -0.19578886032104492, -0.6262651681900024, -0.9196249842643738, -0.24292024970054626, -0.4934466779232025, 0.24219733476638794, -0.6198650598526001, -0.7780561447143555, 0.4017294943332672, -0.5032196044921875, 0.07080113887786865, 0.5321004986763, 0.380779504776001, 0.24495403468608856, 1.1318119764328003, 0.6789630055427551, -0.41531798243522644, 0.23497559130191803, -0.18793736398220062, 0.2044021487236023, -0.3898685574531555, 0.22490744292736053, -0.5188953280448914, -0.25903308391571045, -0.9396060109138489, -0.6425948739051819, 0.07749618589878082, -0.036300431936979294, 0.1072821244597435, 0.23621229827404022, -0.08053093403577805, 0.7288406491279602, 0.5084811449050903, -0.08464446663856506, 0.2976037263870239, -0.27919110655784607, -0.20986692607402802, 0.0836910828948021, -0.8207095861434937, -0.15327200293540955, 0.8406981229782104, 0.3646187484264374, 0.852327287197113, -0.0805816575884819, 0.7479044198989868, 0.41869279742240906, 0.23262552917003632, -0.6014057993888855, 0.7743269801139832, -0.3216194212436676, -0.6635347008705139, -0.18244405090808868, -0.6013866066932678, -0.3890121281147003, 0.15652675926685333, -0.17220236361026764, -0.6719221472740173, 0.3480760157108307, -0.14552950859069824, -0.24096772074699402, 0.5112571716308594, -1.0362180471420288, 0.2945176661014557, 0.07180502265691757, -0.3696916103363037, -0.6994537711143494, -0.27477383613586426, 0.6056665778160095, -0.3413470983505249, 0.04233543574810028, -0.43678775429725647, -0.046618085354566574, 0.5527572631835938, -0.30913832783699036, 0.7162758708000183, -0.35874179005622864, 0.15712721645832062, 0.22382736206054688, -0.053150348365306854, 0.6649043560028076, 0.1699652373790741, -0.8879209160804749, 0.23320601880550385, 0.10738525539636612, -0.6463736891746521, -0.8908911347389221, 0.9286883473396301, -0.6977911591529846, -0.7885782122612, -0.4266415536403656, -0.6848694682121277, -0.2875351905822754, 0.047460395842790604, -0.010535422712564468, 0.31896767020225525, -0.14763793349266052, -0.40289506316185, 0.46899816393852234, -0.03832796588540077, 0.5615505576133728, 0.7128769159317017, 0.35095176100730896, -0.24019524455070496, 0.6460021138191223, 0.1718837469816208, 0.41987335681915283, 0.263519287109375, 0.1507292091846466, -0.2566508650779724, -0.8848778605461121, -0.7137873768806458, 0.4580676555633545, -0.44879642128944397, 0.29708409309387207, -0.8615652918815613, -0.30509793758392334, -0.4469546973705292, -0.29898688197135925, -0.5995839834213257, -0.4939827024936676, -0.029018722474575043, -0.06751605868339539, 0.5571616888046265, 0.8599322438240051, -0.11221466213464737, 0.27762213349342346, -0.6185112595558167, 0.18766693770885468, -0.0012296063359826803, 0.381300151348114, 0.14514310657978058, -0.4923369288444519, -0.05220990255475044, 0.053974591195583344, 0.26913610100746155, -0.5175881385803223, 0.16118024289608002, 0.22479607164859772, 0.7937147617340088, 0.7745663523674011, 0.45074987411499023, 1.163698673248291, -0.6544790863990784, 0.6021947860717773, -0.1500922292470932, -0.8316214680671692, 0.18711629509925842, -0.2230338305234909, 0.31771132349967957, 0.5343716144561768, 0.4257190227508545, -0.43008875846862793, -0.7552391290664673, -0.5041499733924866, -0.6550167202949524, 0.7468171119689941, -0.15818758308887482, 0.018014082685112953, -0.38779208064079285, 0.5773751139640808, 0.31031036376953125, 0.11998089402914047, -0.13997085392475128, -0.4335907995700836, 0.4228358268737793, -0.05896502360701561, -0.2948836386203766, -0.5136784911155701, 0.2643055021762848, -0.06432187557220459, 0.8239622116088867, -0.3157173991203308, 0.2867739498615265, 0.2826565206050873, 0.14018559455871582, -0.301093190908432, 0.05062338337302208, 0.584855318069458, 0.7505109906196594, -0.13497255742549896, 0.2518611550331116, 0.2253774255514145, -0.2820647656917572, 0.06828700006008148, 0.2299177497625351, -0.40051934123039246, -0.19756479561328888, 0.4613001048564911, 0.9802680015563965, -0.037029165774583817, -0.6713722348213196, 0.2742019593715668, -0.3969292640686035, -0.35858654975891113, -0.14182870090007782, 0.08237385004758835, 0.06771569699048996, 0.7794415354728699, 0.3625089228153229, 0.3775530159473419, 0.08200522512197495, -0.17912667989730835, 0.5111010074615479, 0.4673751890659332, 0.00022285239538177848, -0.3332069218158722, 0.6804537177085876, 0.2175074964761734, -0.27499711513519287, 0.5401368141174316, -0.4081271290779114, -0.14579521119594574, 0.6321164965629578, 0.6452537775039673, 1.0369802713394165, -0.009761985391378403, 0.35605210065841675, 0.2163405865430832, -0.005318520590662956, -0.4333750605583191, 0.13196830451488495, -0.1506211906671524, -0.8028851747512817, -0.7757765650749207, -0.5335882306098938, -0.6159006953239441, -0.23835571110248566, -0.27194252610206604, -0.05095113441348076, -0.48024460673332214, 0.07378307729959488, 0.016974367201328278, 0.155475452542305, -0.19328144192695618, -0.022795870900154114, 0.2779020369052887, 1.1650434732437134, -1.0672986507415771, 0.8008311986923218, 0.36112645268440247, 0.45167791843414307, -0.6428877711296082, 0.6932064890861511, 0.12395891547203064, -0.7017830610275269, 0.5966399908065796, 0.1695641130208969, -0.32369738817214966, 0.4146454632282257, -0.28707051277160645, -1.168648362159729, 1.089937686920166, 0.39415088295936584, -0.8117542266845703, 0.13408750295639038, -0.2071608006954193, 0.5586695075035095, -0.2783293128013611, 0.9019066691398621, 0.6645440459251404, 0.40385550260543823, 0.45847299695014954, -0.6323614120483398, -0.014133107848465443, -0.07904217392206192, -0.05902532860636711, 0.2127261459827423, -0.7288162708282471, 0.6202341318130493, -0.6219240427017212, -0.3119407296180725, 0.249114990234375, 0.9930881857872009, 0.628963828086853, 0.5781152248382568, 0.8146941661834717, 0.5474675893783569, 1.1229743957519531, 0.056694526225328445, 0.960131049156189, -0.4173804819583893, 0.0075240712612867355, 0.8207913637161255, -0.8286810517311096, 0.7707026600837708, 0.47037163376808167, -0.10903539508581161, 0.4621415138244629, 0.8440427780151367, 0.18986409902572632, 0.40952762961387634, 0.12006182223558426, -0.6824097633361816, -0.2333858460187912, -0.07449193298816681, -0.05018504709005356, 0.24170082807540894, 0.279215008020401, 0.01537060085684061, -0.13773734867572784, -0.09279222041368484, -0.24144133925437927, 0.2224102020263672, -0.1307799369096756, 0.6241051554679871, -0.0625220537185669, -0.7799881100654602, 0.5707889199256897, 0.046269360929727554, 0.8017110824584961, -0.5190534591674805, 0.3289870023727417, -0.16773621737957, 0.4523584544658661, -0.01871333085000515, -0.5743672847747803, 0.5186923146247864, -0.0771220400929451, -0.2481728196144104, -0.19658248126506805, 0.4749335050582886, -0.1013825386762619, -0.7033137083053589, 0.6554664969444275, 0.6764448285102844, 0.2556082010269165, 0.14915458858013153, -0.6113227009773254, 0.19727842509746552, -0.18091712892055511, -0.5752749443054199, 0.11651965230703354, 0.7903082966804504, -0.21459302306175232, 1.0041334629058838, 0.5789145827293396, 0.29889804124832153, 0.01776694692671299, 0.3820192813873291, 0.9933826923370361, -0.4977208375930786, -0.4289315640926361, -0.9885757565498352, 0.06309881806373596, -0.10952385514974594, 0.05844892933964729, 0.8040404319763184, 0.34550270438194275, 0.4981369078159332, 0.018096821382641792, 0.6055919528007507, -0.04863061383366585, 0.6028806567192078, -0.4249545931816101, 0.7719900012016296, -0.5032954812049866, 0.38397544622421265, -0.1176016554236412, -0.6204795837402344, -0.16582512855529785, 0.06015675514936447, -0.5682125687599182, 0.028316447511315346, 0.8155010342597961, 0.9913195967674255, -0.046693939715623856, 0.17062154412269592, 0.4521016776561737, 0.3981412947177887, 0.10383766144514084, 0.22172978520393372, 0.5918909907341003, -0.3673696219921112, 0.08629874140024185, -0.34735041856765747, -0.4132157564163208, 0.2988695204257965, -0.922839343547821, -0.9677119851112366, -0.20432797074317932, -0.26686549186706543, -0.048544757068157196, 0.41151463985443115, 0.8751697540283203, 1.0862728357315063, -0.8747233748435974, -0.25997015833854675, -0.445581316947937, 0.3686428666114807, -0.5350714325904846, -0.22729548811912537, 0.11598324030637741, -0.08184706419706345, -1.132772445678711, 1.0891708135604858, 0.24731162190437317, -0.18283085525035858, -0.319553017616272, -0.07045267522335052, -0.29332470893859863, 0.37187790870666504, 0.16013933718204498, -0.019643640145659447, -0.7330578565597534, -0.012803950347006321, 0.06868618726730347, -0.041185591369867325, -0.4195486903190613, 0.7490963339805603, -0.7878221869468689, 0.2709408700466156, 0.6953338384628296, 0.9189119338989258, 0.6987704634666443, 0.054457902908325195, 0.7745348215103149, -0.510236382484436, 0.6219874024391174, 0.18835851550102234, 0.08237655460834503, -0.08090396970510483, -0.5889285802841187, 0.06413690000772476, 0.7743678092956543, -0.7078461050987244, -0.8177892565727234, 0.34642294049263, -0.46792036294937134, -0.4121169149875641, 0.9990163445472717, -0.04784347116947174, -0.5488073229789734, 0.07277678698301315, 0.29516464471817017, 0.16448940336704254, -0.5622758865356445, 0.724330484867096, 0.24354098737239838, 0.05130644142627716, -0.2795927822589874, -0.5240615606307983, 0.2917729914188385, 0.3090749979019165, -0.7363494634628296, 0.3235623836517334, 0.1895493119955063, 0.04923552647233009, -0.006519787013530731, 0.9133610129356384, 0.342422753572464, -0.040697526186704636, 0.6172497272491455, -0.02976139262318611, 0.03117554448544979, -0.5215398073196411, -0.10777121782302856, -0.07385651767253876, 0.019068457186222076, 0.022307641804218292 ]
http://arxiv.org/abs/2405.14093v1
http://arxiv.org/pdf/2405.14093v1
A Survey on Vision-Language-Action Models for Embodied AI
2024-05-23T01:43:54
2024-05-23T01:43:54
Yueen Ma, Zixing Song, Yuzheng Zhuang, Jianye Hao, Irwin King
cs.RO
cs.RO, cs.CL, cs.CV
Deep learning has demonstrated remarkable success across many domains, including computer vision, natural language processing, and reinforcement learning. Representative artificial neural networks in these fields span convolutional neural networks, Transformers, and deep Q-networks. Built upon unimodal neural networks, numerous multi-modal models have been introduced to address a range of tasks such as visual question answering, image captioning, and speech recognition. The rise of instruction-following robotic policies in embodied AI has spurred the development of a novel category of multi-modal models known as vision-language-action models (VLAs). Their multi-modality capability has become a foundational element in robot learning. Various methods have been proposed to enhance traits such as versatility, dexterity, and generalizability. Some models focus on refining specific components through pretraining. Others aim to develop control policies adept at predicting low-level actions. Certain VLAs serve as high-level task planners capable of decomposing long-horizon tasks into executable subtasks. Over the past few years, a myriad of VLAs have emerged, reflecting the rapid advancement of embodied AI. Therefore, it is imperative to capture the evolving landscape through a comprehensive survey.
[ -0.14188581705093384, -0.9204966425895691, 0.5811784863471985, -0.07435660064220428, 0.07114894688129425, 0.008747033774852753, -0.005540675483644009, -0.5421333312988281, 0.26414936780929565, 0.7189631462097168, -0.594076931476593, -0.3288195729255676, -0.5882300138473511, -0.13513588905334473, -0.4279744029045105, 0.5742737054824829, 0.06351840496063232, 0.15492066740989685, -0.05267268046736717, -0.3342120349407196, -0.7052940130233765, -0.4888596832752228, -0.3419860005378723, -0.3925510048866272, 0.5246670842170715, -0.026806384325027466, 0.6624796390533447, 0.16054250299930573, 0.34126749634742737, 0.44154658913612366, 0.01616726443171501, 0.43585073947906494, -0.006423009093850851, 0.07892956584692001, 0.012989004142582417, -0.35174044966697693, -0.7061973214149475, -0.06380625814199448, 0.6933214664459229, 0.9321190118789673, -0.06032169610261917, 0.04527219757437706, -0.03178175166249275, 0.3805749714374542, -0.8907189965248108, 0.2628052234649658, -0.24002932012081146, 0.3745558261871338, 0.22292020916938782, 0.18711267411708832, -0.2410510927438736, 0.18869119882583618, 0.186091348528862, -0.5989231467247009, -0.1469639390707016, -0.17569449543952942, 0.5198277831077576, 0.4690578579902649, -0.4831605851650238, -0.14254386723041534, -1.0593465566635132, 0.7250869274139404, -0.6087982058525085, 0.5569857954978943, 0.2828086018562317, 0.21256141364574432, 0.12254801392555237, -0.782658040523529, -0.7567575573921204, -0.5349940061569214, -0.09806104004383087, 0.39718934893608093, -0.34786179661750793, 0.49890950322151184, 0.23157918453216553, 0.23513799905776978, -0.5592654347419739, 0.24138608574867249, -0.4427754580974579, 0.08888015151023865, 0.7281219959259033, 0.5321098566055298, 0.455417662858963, -0.10631239414215088, -0.4000268280506134, -0.4225040376186371, -0.4446124732494354, 0.28961727023124695, 0.14021365344524384, 0.10675433278083801, -0.1739547848701477, 0.9293224811553955, -0.2815350592136383, 0.8135725259780884, -0.32813718914985657, 0.09788109362125397, 0.05322359874844551, -0.6158272624015808, -0.5154180526733398, -0.4028598666191101, 0.79266756772995, 0.17867247760295868, 0.039548445492982864, -0.13396331667900085, -0.4074503481388092, 0.10096380859613419, 0.7411361336708069, -0.36254388093948364, -0.04430491849780083, 0.07391070574522018, -0.5013646483421326, -0.10686537623405457, 0.04912779852747917, -0.6040151119232178, -0.5418452620506287, -0.7604383826255798, 0.6709536910057068, -0.3004172742366791, -0.3038090169429779, 0.2535370886325836, 0.007490635849535465, 0.7171196937561035, 0.3838689923286438, -0.7055948972702026, 0.2807188630104065, 0.6250238418579102, 0.5934171676635742, -0.012583439238369465, -0.5745576620101929, -0.391000896692276, -0.028437303379178047, -0.5181349515914917, 0.42570608854293823, -0.7843920588493347, -0.36304527521133423, 0.3443301320075989, -0.024422839283943176, -0.3134833574295044, -0.2729451358318329, 0.13983920216560364, -0.4339340925216675, 0.0690743699669838, -0.03699452802538872, -0.3492415249347687, -0.7010725736618042, 0.49825429916381836, -0.7877548336982727, 0.7221534848213196, 0.02690422534942627, -0.1303413361310959, 0.4065679609775543, -0.9578004479408264, -0.640191376209259, -0.05187707394361496, -0.4041011929512024, -0.2759557366371155, 0.32099127769470215, 0.19350311160087585, 0.7268906235694885, -0.25542503595352173, 0.2741418182849884, -0.1291542798280716, -0.2443922460079193, 0.1691858321428299, -0.5897026658058167, 0.6476272344589233, 0.016442762687802315, -0.5045429468154907, 0.6596511006355286, -0.45905184745788574, -0.10371871292591095, -0.05280283838510513, -0.02015780285000801, -0.14087854325771332, 0.25306087732315063, 0.031399454921483994, 0.14929260313510895, 0.23717869818210602, -0.18954156339168549, 0.38828712701797485, -0.381460040807724, 0.2871626317501068, 0.6958673000335693, -0.33064574003219604, 0.49672582745552063, -0.07191473245620728, 0.668308436870575, 0.0262347012758255, 0.4674513041973114, -0.28495097160339355, -0.36500513553619385, -1.0090341567993164, -0.2023826688528061, -0.16512708365917206, 0.5523846745491028, -0.9862506985664368, 0.46071332693099976, -0.16584078967571259, -0.541397750377655, -0.45345720648765564, 0.0206157173961401, 0.6673101782798767, 0.06862880289554596, 0.31691774725914, -0.4233922064304352, -0.17164766788482666, -0.7925093173980713, 0.020478082820773125, -0.35963761806488037, 0.12773753702640533, 0.5915624499320984, 0.6870527863502502, -0.5038203001022339, 0.5995320677757263, -0.3696689009666443, -0.14864972233772278, -0.5517281293869019, 0.41488558053970337, -0.125138521194458, 0.2137330025434494, 0.8335390686988831, -1.0810822248458862, 0.08478683978319168, 0.02594509720802307, -0.912273645401001, 0.39703232049942017, -0.2613271474838257, 0.18549805879592896, 0.05132931098341942, 0.31952768564224243, -0.7714405059814453, 0.6469552516937256, 0.5531233549118042, -0.28290054202079773, 0.418291300535202, -0.37740224599838257, 0.18468117713928223, -1.039804220199585, 0.24852368235588074, -0.1239975318312645, 0.02658875659108162, -0.7682837247848511, 0.5189828276634216, -0.28140169382095337, -0.12648315727710724, -0.4854673445224762, 0.6195201277732849, -0.5016410946846008, -0.5490030646324158, -0.37470370531082153, -0.2533676326274872, -0.32093343138694763, 0.7499484419822693, 0.47766706347465515, 0.5686659812927246, 0.9371607303619385, -0.9954537153244019, 0.5154377222061157, 0.283122181892395, -0.0666506215929985, 0.1944427192211151, -0.8813158273696899, 0.011000562459230423, -0.2211696207523346, 0.03937802091240883, -0.8473451733589172, -0.406564861536026, 0.4093386232852936, -0.2888416647911072, 0.15779145061969757, -0.035868704319000244, -0.31454941630363464, -0.3643907904624939, -0.15468156337738037, 0.5880492329597473, 0.4732939898967743, -0.30114471912384033, 1.2123136520385742, 0.34873589873313904, 0.19383569061756134, -0.7086197733879089, -0.4899255037307739, 0.04464695602655411, 0.033010609447956085, -0.1514069139957428, 0.11584451794624329, -0.17213225364685059, -0.11932060122489929, -0.19277238845825195, 0.12032842636108398, -0.24393844604492188, 0.2605136036872864, 0.37969523668289185, 0.3186432421207428, -0.1256401538848877, -0.0891270786523819, -0.11015348136425018, 0.051158782094717026, 0.09376275539398193, 0.000001893576381917228, 0.613244891166687, -0.19074511528015137, -0.6523110270500183, -0.4490881562232971, 0.4474238157272339, 0.9769036173820496, -0.687408983707428, 0.4855647683143616, 0.6211183071136475, -0.3559001684188843, -0.09788572043180466, -0.07256266474723816, -0.2804360091686249, -0.3915247619152069, 0.6376307010650635, -0.04844934865832329, -0.6994015574455261, 0.22484345734119415, -0.16979023814201355, 0.32455235719680786, 0.15935274958610535, 0.6066834926605225, -0.26886001229286194, 0.9494367837905884, 0.9153280258178711, -0.004400979727506638, 0.8089891672134399, -0.5900741219520569, 0.13657116889953613, -0.7611191272735596, -0.35341155529022217, -0.19771933555603027, -0.4835161566734314, -0.5398324131965637, -0.5448595285415649, 0.37246572971343994, -0.32906967401504517, -0.25677594542503357, 0.6117791533470154, -0.2462311089038849, 0.1751815527677536, 0.6017863154411316, 0.07553429901599884, -0.22554880380630493, -0.20755931735038757, 0.17797181010246277, 0.3557778596878052, -0.4538632035255432, -0.5671359300613403, 1.0447231531143188, 0.11917110532522202, 0.7317395806312561, 0.12925876677036285, 0.44860291481018066, 0.3787439167499542, -0.013084118254482746, -0.8903049826622009, 0.7321860790252686, -0.3895752727985382, -0.5533218383789062, -0.5071811676025391, -0.03209590166807175, -0.9219974279403687, 0.2779221534729004, -0.34225550293922424, -0.624765157699585, 0.22906802594661713, 0.34201717376708984, -0.45434004068374634, 0.43071699142456055, -0.34294530749320984, 0.9831959009170532, -0.5900552272796631, -0.1647769957780838, -0.4582841098308563, -0.7758639454841614, 0.295377254486084, 0.37676969170570374, -0.17901475727558136, 0.0704900398850441, -0.12240274250507355, 0.3366520404815674, 0.1452016979455948, 1.2627958059310913, -0.17564460635185242, -0.025558656081557274, 0.337259441614151, -0.03482119366526604, 0.31597399711608887, -0.22483086585998535, 0.3534914255142212, 0.21702870726585388, -0.20135407149791718, -0.2696220874786377, -0.5504951477050781, 0.026198390871286392, -0.7899206280708313, -0.28352048993110657, -0.4153802990913391, -0.2862698435783386, -0.23677624762058258, 0.032487448304891586, -0.018229864537715912, 0.6153948307037354, -0.4580806791782379, 0.2631286680698395, 0.7535056471824646, -0.33531856536865234, 0.7771525979042053, 0.5928411483764648, -0.16422723233699799, -0.32641497254371643, 0.8607251644134521, -0.07125954329967499, 0.16200029850006104, 0.6546290516853333, -0.09843593835830688, -0.14724108576774597, -0.4873007535934448, -0.502122700214386, -0.0754941925406456, -0.3956252634525299, 0.00036022113636136055, -0.6431961059570312, -0.4698830246925354, -0.2969861924648285, -0.1150239035487175, -0.5376595258712769, 0.005826343782246113, -0.32749873399734497, -0.13327041268348694, 0.029942838475108147, 1.0160424709320068, 0.16239309310913086, 0.3426341414451599, -0.6753504872322083, 0.8431938290596008, 0.7290470004081726, 0.03711048886179924, 0.014447049237787724, -0.270071417093277, 0.01638346165418625, 0.21060730516910553, -0.23133820295333862, -0.8055183291435242, 0.3948708176612854, 0.3829595446586609, 0.6522238850593567, 0.3927879333496094, -0.024480096995830536, 0.601622998714447, -0.4097554385662079, 1.0922507047653198, 0.3317856788635254, -0.596987783908844, 0.535801351070404, -0.22647279500961304, 0.08484099060297012, 0.1211056113243103, 0.42206767201423645, -0.49099239706993103, -0.11609596759080887, -0.4504588544368744, -0.8076478838920593, 0.544524610042572, 0.15953712165355682, 0.6861682534217834, 0.20923684537410736, 0.11553580313920975, 0.09256542474031448, 0.4494888186454773, -0.8274500370025635, -0.12424235045909882, -0.25360602140426636, -0.18979789316654205, -0.08421193063259125, 0.07232153415679932, -0.07117383927106857, -0.3275465965270996, 0.31548982858657837, -0.4427835941314697, 0.32231855392456055, -0.07349815964698792, -0.27222713828086853, 0.4168982207775116, 0.25190648436546326, 0.9403900504112244, 0.5147367715835571, 0.3230559825897217, -0.035612329840660095, 0.06390247493982315, -0.4481482207775116, 0.04345063120126724, -0.045925676822662354, -0.24431055784225464, -0.24459199607372284, 0.5941582918167114, 1.1295747756958008, 0.3263140916824341, -0.9469117522239685, 0.6272501349449158, 0.060494422912597656, -0.021967852488160133, -0.6805337071418762, 0.4256254732608795, -0.3422682583332062, 0.5588037967681885, 0.14651969075202942, 0.19297829270362854, 0.3418821096420288, -0.9158222675323486, -0.04846431687474251, 0.44361773133277893, -0.6849883794784546, -0.6230906248092651, 0.6232855916023254, 0.12033957988023758, -0.2568967342376709, 0.707108199596405, 0.04207415506243706, -0.43979018926620483, 0.7129420042037964, 0.1463136523962021, 1.2058544158935547, 0.004753515589982271, 0.36435389518737793, 0.31054744124412537, 0.3241358697414398, 0.0759478360414505, 0.44744983315467834, -0.37314578890800476, -0.7409218549728394, -0.2743847668170929, -0.5925862193107605, -0.3263865113258362, 0.1170574426651001, -0.4619699716567993, -0.0210577379912138, -0.3295016288757324, -0.08829110115766525, -0.05870278179645538, -0.3668859601020813, -0.8517664074897766, 0.3583816587924957, 0.4323311746120453, 0.42085370421409607, -0.936123788356781, 0.6909753084182739, 1.0702102184295654, -0.8899199366569519, -0.46789810061454773, -0.006434422452002764, -0.2074844241142273, -0.8339419364929199, 0.6721600890159607, 0.05922699719667435, -0.3578172028064728, -0.3037653863430023, -0.7850063443183899, -0.6193637251853943, 1.0930801630020142, 0.33759191632270813, -0.3507988452911377, -0.3359173834323883, 0.14585331082344055, 0.6284546256065369, -0.22091074287891388, 0.26898011565208435, 0.3349784016609192, 0.3857881426811218, -0.0786445289850235, -0.8587806820869446, -0.42423588037490845, -0.2140151411294937, -0.04669199883937836, 0.08571232855319977, -0.724490225315094, 0.8191394805908203, -0.1697673499584198, 0.08478196710348129, 0.3526090383529663, 0.7990682125091553, 0.16814517974853516, 0.3753935396671295, 0.45479100942611694, 0.4025970697402954, 0.37856778502464294, 0.039029866456985474, 1.018649935722351, -0.08403181284666061, -0.10564184188842773, 0.8848095536231995, -0.355318546295166, 0.9198623299598694, 0.3269653022289276, -0.005125545896589756, 0.23550808429718018, 0.3388053774833679, 0.04753348231315613, 0.37504589557647705, -0.08513443917036057, -0.2221081703901291, -0.6499502062797546, -0.08606541901826859, -0.027856092900037766, 1.0393502712249756, 0.300545334815979, -0.27570420503616333, 0.04842677339911461, 0.4479842483997345, -0.23935113847255707, -0.0323658362030983, -0.4420784115791321, 0.9930458068847656, -0.14301908016204834, -0.7841216325759888, -0.0795491635799408, -0.23893459141254425, 0.6063424944877625, -0.7701144218444824, -0.46182841062545776, -0.26481443643569946, 0.0550839826464653, 0.22667011618614197, -0.9185785055160522, 0.03124367818236351, -0.013537132181227207, -0.11749699711799622, -0.46776774525642395, 0.5824763774871826, -0.2822225093841553, -0.4026471972465515, 0.389649897813797, 0.5150373578071594, 0.18863607943058014, 0.025992562994360924, -0.7116348147392273, -0.04646218568086624, -0.4164465069770813, -0.19904208183288574, 0.15380144119262695, 0.11929081380367279, -0.1730320304632187, 0.7736279368400574, 0.3316348195075989, -0.26053500175476074, 0.30364859104156494, -0.015109261497855186, 0.8317471146583557, -0.8276426196098328, -0.2731386125087738, -0.47957444190979004, 0.8541921973228455, -0.008082431741058826, -0.49695926904678345, 0.31812331080436707, 0.3320038318634033, 0.7964614033699036, -0.3091753423213959, 0.5219616293907166, -0.21440578997135162, -0.27380889654159546, -0.7124125361442566, 0.6891965866088867, -0.9658772945404053, -0.3465754985809326, -0.3973558843135834, -0.7208834886550903, -0.12512743473052979, 0.5769624710083008, 0.017435673624277115, 0.4066973030567169, 0.22936758399009705, 0.5493139028549194, -0.15775790810585022, -0.26068922877311707, 0.7027949094772339, -0.10760264843702316, 0.20775622129440308, 0.45023277401924133, 0.9772663712501526, -0.5183302760124207, 0.16265363991260529, -0.060866162180900574, 0.12513703107833862, -0.29451197385787964, -0.650489091873169, -0.7297883629798889, -0.9485812187194824, -0.32967931032180786, 0.3969399631023407, 0.06813150644302368, 0.8459625840187073, 0.9911417961120605, -0.7011522054672241, -0.23822128772735596, -0.18370585143566132, -0.06964807212352753, -0.5519081354141235, -0.08001317083835602, 0.13953830301761627, -0.2870192527770996, -0.869613528251648, 0.7396914958953857, 0.23969416320323944, 0.11418687552213669, -0.47882598638534546, -0.30502840876579285, -0.04532526060938835, 0.025550033897161484, 0.9985532164573669, 0.6291438341140747, -1.083967685699463, -0.291000634431839, 0.2940239906311035, -0.0541529655456543, -0.2239634096622467, 0.8310028314590454, -0.7072372436523438, 0.5489553809165955, 0.4977801442146301, 0.653837263584137, 0.2659631669521332, -0.32759907841682434, 0.6675616502761841, -0.5844268798828125, 0.14050385355949402, 0.4704502522945404, 0.5491818785667419, -0.09680788218975067, 0.14076469838619232, 0.5964913368225098, 0.004260899033397436, -0.2387453019618988, -0.6238694787025452, 0.3886634409427643, -1.2076759338378906, -0.3939547538757324, 0.8676853179931641, -0.02301088720560074, -0.24273577332496643, 0.24867618083953857, -0.42148613929748535, 0.25621187686920166, 0.1503220796585083, 0.5292724967002869, 0.31149256229400635, -0.30652323365211487, -0.45150795578956604, -0.6659762859344482, 0.2833641469478607, 0.21974125504493713, -0.9446624517440796, 0.2413392961025238, 0.8648200631141663, -0.22932898998260498, 0.2185766100883484, 0.2271212637424469, 0.09826470911502838, 0.592154860496521, -0.11647389084100723, 0.33126023411750793, 0.04063626006245613, -0.9846242070198059, -0.30873870849609375, 0.2325695902109146, -0.004075334873050451, -0.3342441916465759 ]
http://arxiv.org/abs/2405.14092v2
http://arxiv.org/pdf/2405.14092v2
Large Language Models Can Self-Correct with Minimal Effort
2024-05-23T01:43:45
2024-06-23T18:30:26
Zhenyu Wu, Qingkai Zeng, Zhihan Zhang, Zhaoxuan Tan, Chao Shen, Meng Jiang
cs.CL
cs.CL
Intrinsic self-correct was a method that instructed large language models (LLMs) to verify and correct their responses without external feedback. Unfortunately, the study concluded that the LLMs could not self-correct reasoning yet. We find that a simple yet effective verification method can unleash inherent capabilities of the LLMs. That is to mask a key condition in the question, add the current response to construct a verification question, and predict the condition to verify the response. The condition can be an entity in an open-domain question or a numeric value in a math question, which requires minimal effort (via prompting) to identify. We propose an iterative verify-then-correct framework to progressively identify and correct (probably) false responses, named ProCo. We conduct experiments on three reasoning tasks. On average, ProCo, with GPT-3.5-Turbo as the backend LLM, yields $+6.8$ exact match on four open-domain question answering datasets, $+14.1$ accuracy on three arithmetic reasoning datasets, and $+9.6$ accuracy on a commonsense reasoning dataset, compared to Self-Correct.
[ -0.1207808405160904, -0.9132979512214661, 0.6920239925384521, 0.1104973778128624, 0.12940825521945953, 0.11690710484981537, -0.3948659598827362, -0.34476524591445923, -0.1163676306605339, 0.5174612998962402, -0.5201675295829773, -0.27460235357284546, -0.31990715861320496, 0.3511914312839508, -0.4243077337741852, 0.6843566298484802, -0.12910081446170807, -0.0628727450966835, -0.4479353725910187, -0.15054580569267273, -0.20958895981311798, -0.3411266803741455, -0.6782503724098206, -0.2415236532688141, 0.31011098623275757, 0.5760992765426636, 0.4003274142742157, 0.4521511495113373, 0.4740089774131775, 0.40788111090660095, -0.07948645949363708, 0.6060873866081238, -0.3478300869464874, -0.13203148543834686, -0.3619507849216461, -0.40869027376174927, -0.4596492052078247, -0.1930028647184372, 0.4469701051712036, 0.4619444012641907, 0.033294789493083954, 0.3671528995037079, 0.09654559195041656, 0.6060056090354919, -0.5894860625267029, -0.014488652348518372, -0.7383186221122742, -0.3480645418167114, -0.06536485254764557, -0.05498436093330383, -0.5764377117156982, -0.2743023931980133, -0.23477311432361603, -0.43148913979530334, 0.2554592788219452, 0.2322034239768982, 0.6873037815093994, 0.4574533998966217, -0.47554445266723633, -0.38417619466781616, -0.8318131566047668, 0.5247696042060852, -0.7070241570472717, 0.24675829708576202, 0.5612137913703918, 0.32367831468582153, -0.16896915435791016, -0.5952094197273254, -0.8745196461677551, -0.4131423830986023, -0.19316112995147705, -0.0070542399771511555, -0.1996806561946869, 0.015162178315222263, 0.42118942737579346, 0.4377624988555908, -0.5553174614906311, 0.05825585871934891, -0.2990929186344147, -0.5552006363868713, 0.5915502905845642, 0.1535513997077942, 0.25804999470710754, 0.05820155516266823, 0.0638720840215683, 0.10274817049503326, -1.094233512878418, 0.2271304428577423, 0.2479952573776245, 0.207223579287529, 0.23893515765666962, 0.8187225461006165, -0.2724361717700958, 0.7190929651260376, 0.34788721799850464, -0.23952369391918182, -0.13855794072151184, -0.3954218029975891, -0.1385250687599182, -0.0075397249311208725, 0.709071934223175, -0.11063635349273682, 0.28759580850601196, 0.004449114669114351, -0.45676901936531067, 0.12969176471233368, 0.34162527322769165, -0.6108967661857605, -0.14895910024642944, 0.48298972845077515, 0.07018021494150162, 0.05527191236615181, -0.22872915863990784, -0.1643887758255005, -0.1458328515291214, -0.3517782390117645, 0.8205787539482117, -0.26143887639045715, -0.06623358279466629, 0.18967388570308685, 0.5141270160675049, -0.053300440311431885, 0.4753235876560211, -0.5174689888954163, 0.224023699760437, 0.7340874075889587, 0.6612439155578613, 0.31247928738594055, -0.12010090798139572, -0.7789942622184753, -0.12698782980442047, -0.7238258123397827, 0.8494296073913574, -0.26005828380584717, -0.0025223041884601116, -0.03807495906949043, 0.13946838676929474, 0.11181823164224625, -0.48409783840179443, 0.6015404462814331, -0.7391919493675232, 0.11149315536022186, -0.5234951972961426, -0.7100987434387207, -0.030880823731422424, 0.5633915662765503, -0.48832860589027405, 0.9137109518051147, 0.03363841772079468, -0.7475629448890686, -0.10502634942531586, -0.5123422145843506, -0.3036278486251831, 0.0841459408402443, -0.12264427542686462, -0.45729368925094604, 0.03135025501251221, 0.2064862996339798, 0.2657410502433777, -0.350848525762558, 0.2895888686180115, -0.37783804535865784, -0.2939614951610565, 0.32739022374153137, -0.08454195410013199, 0.7406451106071472, 0.14400939643383026, -0.5683351159095764, 0.047231998294591904, -0.8828648924827576, 0.3192635774612427, 0.19729530811309814, -0.1549026519060135, -0.25246578454971313, -0.156661257147789, -0.8141331672668457, 0.12899456918239594, 0.13101203739643097, -0.6912400126457214, 0.3121930658817291, -0.4024065434932709, 0.5575360059738159, 0.9745126366615295, -0.2746165990829468, 0.4501529037952423, -0.16725389659404755, 0.48119938373565674, -0.13356724381446838, 0.12064971774816513, -0.18543557822704315, -0.362108439207077, -0.9416539669036865, -0.34651848673820496, 0.5446559190750122, 0.6615951061248779, -0.8721571564674377, 0.5039937496185303, -0.06185701861977577, -0.4562516212463379, -0.47677528858184814, 0.21277494728565216, 0.485159695148468, 0.899965763092041, 0.4112793207168579, 0.10306119173765182, -0.45285922288894653, -0.7425214648246765, -0.29435768723487854, -0.4449616074562073, -0.002365994732826948, 0.17076165974140167, 0.727501630783081, -0.14722703397274017, 0.8813242316246033, -0.353813499212265, -0.21792303025722504, 0.11876234412193298, 0.2270267754793167, 0.20652392506599426, 0.2892459034919739, 0.19658677279949188, -0.3183082938194275, -0.4519656300544739, -0.04221797734498978, -0.6837671995162964, -0.35963931679725647, -0.05325688049197197, 0.001832611975260079, 0.09739646315574646, 0.465751588344574, -0.513900876045227, 0.31510424613952637, 0.4025740623474121, -0.21153704822063446, 0.7155933976173401, -0.42012032866477966, 0.2766171395778656, -0.32417577505111694, 0.15674640238285065, -0.15794439613819122, -0.42713239789009094, -0.48850804567337036, 0.014941442757844925, 0.528404712677002, 0.04184795171022415, -0.17863446474075317, 0.8467487692832947, -0.5185138583183289, 0.08722863346338272, -0.41106560826301575, 0.025018207728862762, -0.1117108091711998, 0.2990693747997284, -0.12226501852273941, 0.947663426399231, 0.6663851737976074, -0.9897557497024536, 0.3288731873035431, 0.01395702175796032, -0.4751588702201843, 0.7212715148925781, -0.986472487449646, 0.48140791058540344, -0.39827656745910645, 0.29721304774284363, -1.207157015800476, -0.2732490599155426, 0.1677514910697937, -0.4619791507720947, 0.01813327707350254, -0.1242160052061081, -0.571215033531189, -0.6942772269248962, 0.002736040623858571, 0.4565103054046631, 0.4153800308704376, -0.7099749445915222, 0.849413275718689, -0.07129363715648651, -0.0040266988798975945, -0.7712135314941406, -0.32885676622390747, -0.08191365003585815, 0.1865934282541275, -0.6702131032943726, 0.14115828275680542, -0.38172096014022827, -0.38907390832901, -0.11419358849525452, -0.2577126622200012, -0.10837936401367188, 0.11819498986005783, 0.03283857926726341, 0.22054214775562286, -0.021104665473103523, 0.27823254466056824, -0.13951997458934784, -0.19925934076309204, -0.0393679216504097, -0.34298157691955566, 0.2648891806602478, -0.3568042814731598, -0.5667814612388611, -0.43368518352508545, 0.18393868207931519, 0.518054723739624, -0.39731892943382263, 0.33171552419662476, 0.25557079911231995, -0.5426574945449829, -0.22381392121315002, -0.7213330268859863, -0.4814874529838562, -0.49644097685813904, -0.036060038954019547, -0.6942694783210754, -1.1245874166488647, 0.5664070248603821, 0.09456382691860199, 0.12869955599308014, 0.5781745314598083, 0.626101553440094, -0.2506939172744751, 1.2137011289596558, 0.37194061279296875, 0.4855780303478241, -0.054749950766563416, -0.21535798907279968, 0.4925011396408081, -0.7409576177597046, -0.4106190502643585, -0.7958470582962036, -0.058862511068582535, -0.23581917583942413, -0.37800633907318115, 0.4951481223106384, 0.10105159133672714, -0.39708560705184937, 0.4246145188808441, -0.384225070476532, 0.6429731249809265, 0.5411425828933716, 0.20653320848941803, 0.42991968989372253, -0.33621811866760254, -0.2899329662322998, -0.05085475742816925, -0.5491708517074585, -0.5522457361221313, 0.8420397639274597, 0.2632031738758087, 0.8777597546577454, 0.23692932724952698, 0.6140609979629517, 0.21541135013103485, 0.5909212827682495, -0.791447103023529, 0.6611077785491943, -0.05607375130057335, -0.8152111172676086, -0.2638322412967682, -0.6202723979949951, -0.7193481922149658, -0.044078826904296875, -0.04015228524804115, -0.5439267754554749, 0.08474025875329971, 0.6314467787742615, -0.709541380405426, 0.08081331849098206, -0.5810544490814209, 0.5982120037078857, -0.5583311319351196, -0.592769205570221, -0.06381261348724365, -0.5321123600006104, 0.5616382360458374, -0.24051178991794586, 0.3944201171398163, -0.19777090847492218, 0.01311712246388197, 0.40713363885879517, -0.6639314293861389, 0.9084852337837219, -0.049596358090639114, -0.4916924834251404, 0.5996113419532776, 0.6840323805809021, 0.884572446346283, 0.07520090788602829, 0.10239098221063614, 0.00842859223484993, -0.13660642504692078, -0.3580142855644226, -0.8981994390487671, 0.5195825695991516, -0.5130949020385742, -0.8486660122871399, -0.3914560079574585, -0.018849961459636688, -0.3143894672393799, 0.33242228627204895, 0.17420482635498047, 0.43216460943222046, 0.06630915403366089, 0.17584845423698425, 0.9210983514785767, -0.03435708209872246, 0.28181368112564087, 0.9586082100868225, -0.03509598225355148, -0.48699846863746643, 0.5755159854888916, 0.3005222976207733, 0.17689253389835358, 0.4434131979942322, 0.5164679884910583, -0.6389692425727844, -0.28330203890800476, -0.5473864674568176, 0.41834184527397156, -0.8093398809432983, -0.4859084486961365, -0.8051896095275879, 0.01850891299545765, -0.4986926019191742, 0.12099434435367584, -0.7415012121200562, -0.28149616718292236, -0.0020672508981078863, 0.08890400826931, 0.08190923184156418, 0.6888824105262756, -0.44408750534057617, 0.21835611760616302, -0.7363539934158325, 0.38722673058509827, 0.7224249839782715, 0.286327600479126, -0.14883284270763397, -0.874729573726654, 0.0921442061662674, 0.24386274814605713, -0.03591931611299515, -0.7080574631690979, 0.03991134837269783, 0.3104853332042694, 0.6077128648757935, 0.3124895393848419, 0.2808879315853119, 0.7492210865020752, -0.5487335920333862, 0.7232025265693665, 0.19682753086090088, -1.3654029369354248, 0.7486780285835266, 0.03954425826668739, 0.2369183599948883, 0.4585159122943878, 0.5012609958648682, -0.41447553038597107, -0.2763991951942444, -0.6971886157989502, -0.5393720269203186, 0.3269486725330353, 0.20259793102741241, 0.08349030464887619, -0.1661011278629303, 0.5824812054634094, -0.10288893431425095, -0.06202522665262222, -0.7210558652877808, -0.030784139409661293, -0.10261384397745132, -0.17228229343891144, 0.08126423507928848, -0.4333895146846771, -0.364237904548645, -0.19285038113594055, 0.8832851648330688, -0.662943422794342, 0.3003160059452057, 0.5357164740562439, -0.285595566034317, -0.10724387317895889, 0.2691722810268402, 0.7288470268249512, 0.8234818577766418, 0.0033283422235399485, 0.5729969143867493, 0.23678702116012573, 0.1728140115737915, 0.49264827370643616, -0.4841793477535248, -0.03349350765347481, -0.1698560267686844, 0.5443890690803528, 0.29941117763519287, -0.020097270607948303, -0.682537317276001, 0.7474047541618347, -0.2074531614780426, -0.2210148423910141, -0.2625481188297272, 0.026005366817116737, -0.03492790460586548, 0.16063857078552246, 0.2508033215999603, -0.0710420310497284, -0.06991656124591827, -0.584656834602356, 0.2864648103713989, 0.38485443592071533, -0.08152105659246445, -0.38559582829475403, 0.6744077205657959, 0.12158088386058807, -0.3688131272792816, 0.7398098111152649, -0.41401317715644836, -0.7045530080795288, 0.4946022927761078, 0.6072902083396912, 0.6226231455802917, -0.3221800923347473, 0.29896074533462524, 0.8842742443084717, 0.4960167109966278, -0.5305736660957336, 0.34438174962997437, -0.15902668237686157, -0.8670126795768738, -0.8583895564079285, -0.23288844525814056, -0.5258480906486511, 0.03822711855173111, -0.3091804087162018, 0.15325607359409332, -0.7288643717765808, -0.11249176412820816, -0.006171091925352812, -0.1191272959113121, -0.71116703748703, 0.4857218861579895, -0.03656803071498871, 0.8075061440467834, -0.7424505352973938, 0.6250393986701965, 0.5787131786346436, -0.3081069588661194, -1.027019739151001, -0.2432873398065567, 0.1170082837343216, -1.1931512355804443, 0.8263282179832458, 0.1850619614124298, -0.5232641100883484, -0.0002906601584982127, -1.041639804840088, -0.8437872529029846, 0.6127409934997559, 0.4428335130214691, -0.9481257796287537, 0.2930264174938202, -0.15644989907741547, 0.691519021987915, -0.18883414566516876, 0.5370436906814575, 0.28075480461120605, 0.4609938859939575, 0.4450322389602661, -0.9967804551124573, 0.16213126480579376, -0.07943588495254517, -0.24144606292247772, -0.041845012456178665, -0.6843140721321106, 0.6901881098747253, -0.6077318787574768, -0.2524917721748352, -0.053266603499650955, 0.8470856547355652, 0.18720126152038574, 0.06886465847492218, 0.7294911742210388, 0.6150534152984619, 1.2153338193893433, -0.24920052289962769, 0.9441480040550232, -0.32327544689178467, 0.4287711977958679, 1.201438307762146, -0.3708708882331848, 0.6077465415000916, 0.19607895612716675, -0.18906138837337494, 0.39144256711006165, 0.6657320261001587, 0.28130072355270386, 0.3275744616985321, 0.3329881727695465, -0.22388963401317596, -0.7458524703979492, -0.04633587598800659, -0.20764869451522827, 0.5752571225166321, 0.1228514164686203, 0.030773891136050224, 0.01457520667463541, -0.16788499057292938, 0.14904960989952087, 0.14590327441692352, -0.21822606027126312, 0.7251260876655579, -0.09957697242498398, -0.9428774118423462, 0.8203273415565491, 0.14300565421581268, 0.5479013323783875, -0.5351386070251465, 0.1395438313484192, -0.5637684464454651, 0.35926681756973267, -0.21081897616386414, -0.6947271823883057, 0.3965105414390564, -0.005758633837103844, -0.10131824016571045, -0.14364710450172424, 0.7005994915962219, -0.431026816368103, -0.41067811846733093, 0.015270437113940716, 0.4320543706417084, -0.02871500328183174, -0.35851436853408813, -0.653978168964386, 0.022752240300178528, -0.06590757519006729, 0.05159234255552292, -0.16645409166812897, 0.4907104969024658, -0.10504171252250671, 1.019658088684082, 0.6058133840560913, -0.025883451104164124, -0.15758611261844635, 0.08301512897014618, 0.5894191861152649, -0.43973931670188904, -0.38281798362731934, -0.921343982219696, 0.5208808779716492, -0.14208348095417023, -0.05140020698308945, 0.7309501767158508, 0.3293517827987671, 0.8402659296989441, -0.03805060684680939, 0.6531333923339844, -0.0542442724108696, 0.4894563853740692, -0.564934492111206, 0.054750289767980576, -0.7062444686889648, 0.344402015209198, 0.053697872906923294, -0.674640953540802, -0.3897465169429779, 0.8532363176345825, -0.32598739862442017, -0.03837978094816208, 0.9466346502304077, 1.1551260948181152, 0.188308984041214, -0.11596690863370895, 0.2972576320171356, 0.4607810080051422, 0.4189184606075287, 0.5186341404914856, 1.0403681993484497, -0.42267417907714844, 0.5124107599258423, -0.290936678647995, -0.4278123676776886, -0.06884243339300156, -0.9953963756561279, -0.9311943054199219, -0.4111694097518921, -0.7099935412406921, -0.7930941581726074, -0.05649653077125549, 0.9017134308815002, 0.7050526738166809, -0.8455937504768372, 0.07169050723314285, -0.04145031422376633, 0.31509339809417725, -0.4961305558681488, -0.14692430198192596, 0.24668554961681366, -0.339223176240921, -0.6322572827339172, 0.4651893675327301, 0.4030405879020691, 0.08754826337099075, -0.39928385615348816, -0.02344350516796112, 0.08230439573526382, 0.3138847351074219, 0.5805739164352417, 0.46975699067115784, -0.8431615233421326, -0.6184973120689392, 0.30137762427330017, -0.15192407369613647, 0.015110377222299576, 1.125680685043335, -0.465121328830719, 0.5195616483688354, 0.5112254023551941, 0.744402289390564, 0.1763083040714264, -0.0803147405385971, 0.39100801944732666, -0.7122357487678528, -0.3636513650417328, 0.28818807005882263, 0.3664349615573883, 0.3671905994415283, -0.5762494802474976, 0.5407761931419373, 0.34299951791763306, -0.6574288010597229, -0.7911271452903748, 0.3028916120529175, -0.7626082301139832, -0.1440126597881317, 1.268810749053955, -0.39283108711242676, -0.4351928234100342, -0.21827730536460876, -0.2130361944437027, -0.052297841757535934, -0.02741498313844204, 0.938479483127594, 0.6662049293518066, -0.13957016170024872, -0.24219317734241486, -0.08174397051334381, 0.32088300585746765, 0.5238155722618103, -0.906893789768219, 0.21700917184352875, 0.44867223501205444, 0.5740514993667603, 0.24267295002937317, 0.9381260275840759, -0.17475026845932007, 0.26191750168800354, -0.1281648874282837, -0.041627492755651474, -0.1340590864419937, -0.5797644257545471, -0.07407034188508987, 0.16663675010204315, 0.11576242744922638, 0.0854116827249527 ]
http://arxiv.org/abs/2405.14905v1
http://arxiv.org/pdf/2405.14905v1
Structural Entities Extraction and Patient Indications Incorporation for Chest X-ray Report Generation
2024-05-23T01:29:47
2024-05-23T01:29:47
Kang Liu, Zhuoqi Ma, Xiaolu Kang, Zhusi Zhong, Zhicheng Jiao, Grayson Baird, Harrison Bai, Qiguang Miao
eess.IV
eess.IV, cs.AI, cs.CL
The automated generation of imaging reports proves invaluable in alleviating the workload of radiologists. A clinically applicable reports generation algorithm should demonstrate its effectiveness in producing reports that accurately describe radiology findings and attend to patient-specific indications. In this paper, we introduce a novel method, \textbf{S}tructural \textbf{E}ntities extraction and patient indications \textbf{I}ncorporation (SEI) for chest X-ray report generation. Specifically, we employ a structural entities extraction (SEE) approach to eliminate presentation-style vocabulary in reports and improve the quality of factual entity sequences. This reduces the noise in the following cross-modal alignment module by aligning X-ray images with factual entity sequences in reports, thereby enhancing the precision of cross-modal alignment and further aiding the model in gradient-free retrieval of similar historical cases. Subsequently, we propose a cross-modal fusion network to integrate information from X-ray images, similar historical cases, and patient-specific indications. This process allows the text decoder to attend to discriminative features of X-ray images, assimilate historical diagnostic information from similar cases, and understand the examination intention of patients. This, in turn, assists in triggering the text decoder to produce high-quality reports. Experiments conducted on MIMIC-CXR validate the superiority of SEI over state-of-the-art approaches on both natural language generation and clinical efficacy metrics.
[ -0.14900586009025574, -0.4657020568847656, 0.6775577068328857, -0.023586314171552658, -0.3374824523925781, -0.07639524340629578, 0.2738061249256134, -0.5511757135391235, 0.4344050884246826, 0.48928213119506836, -0.3843191862106323, -0.6966910362243652, -0.43827763199806213, 0.03152603283524513, -0.5111624002456665, 0.8128432035446167, -0.09407420456409454, 0.06577026098966599, -0.10114196687936783, -0.08177923411130905, -0.4440671503543854, -0.39708825945854187, -0.4590029716491699, -0.01876336708664894, 0.332991361618042, 0.079740010201931, 0.6364414095878601, 0.899799644947052, 0.49117356538772583, 0.24824528396129608, 0.17790846526622772, 0.2449961006641388, -0.2093852311372757, 0.18788525462150574, -0.10937579721212387, -0.28737422823905945, -0.49169448018074036, -0.22376137971878052, 0.7841284871101379, 0.37208765745162964, -0.09446115046739578, -0.049452830106019974, -0.31399381160736084, 0.40587857365608215, -0.6875224709510803, -0.08008136600255966, -0.2248886078596115, 0.2549789249897003, -0.43443435430526733, -0.8587182760238647, -0.5954573154449463, -0.2916129231452942, 0.4442489743232727, -0.3365120589733124, 0.3357633054256439, 0.08604171127080917, 0.9939508438110352, -0.11572220176458359, -0.41459783911705017, -0.550628125667572, -0.5910544991493225, 0.49856507778167725, -0.41696345806121826, 0.6698633432388306, -0.0966772511601448, 0.4134942293167114, 0.1245495155453682, -1.0346895456314087, 0.09542792290449142, -0.016869403421878815, -0.4100269377231598, 0.2873377203941345, -0.5375434756278992, -0.07605348527431488, 0.007922040298581123, 0.4629252851009369, -0.9806327819824219, 0.11090484261512756, -0.6567286252975464, -0.37625646591186523, 0.7427961826324463, 0.18879832327365875, 0.631201446056366, -0.5946688652038574, -0.6340992450714111, -0.028383860364556313, -1.0198798179626465, -0.31497377157211304, -0.2309519201517105, 0.1852729618549347, -0.21241939067840576, 0.43939223885536194, -0.36073341965675354, 0.27915358543395996, 0.2842409610748291, -0.20214492082595825, 0.5347102880477905, -0.2184225469827652, -0.4119321405887604, 0.7289575338363647, 0.5569992065429688, 0.172940194606781, -0.5713326930999756, -0.23876839876174927, -0.07776015251874924, 0.13847170770168304, 0.3656318187713623, -0.7447202205657959, 0.027571246027946472, 0.2831983268260956, -0.9387996792793274, -0.6262018084526062, 0.07636342197656631, -0.5262859463691711, -0.06984875351190567, -0.12276361137628555, 0.3959118723869324, -0.4103976786136627, -0.2595219910144806, -0.04368932172656059, -0.2852606475353241, 0.09261929988861084, 0.021440112963318825, -0.30802273750305176, 0.42447248101234436, 0.4077494442462921, 0.6016598343849182, -0.012601397931575775, 0.15931278467178345, -0.9679217338562012, 0.4983269274234772, -0.15076501667499542, 1.0082894563674927, -0.5296052694320679, -0.5511366724967957, 0.11880207061767578, 0.11674431711435318, -0.04169948399066925, -0.5857729315757751, 0.6805160641670227, -0.32143720984458923, 0.33101069927215576, 0.02620219811797142, -0.41285258531570435, -0.24956969916820526, 0.18917593359947205, -0.8225384950637817, 0.886901319026947, 0.3787587583065033, -0.5504843592643738, 0.34099844098091125, -0.4041721820831299, -0.5808030962944031, 0.15023529529571533, -0.5472158193588257, -0.4165559411048889, 0.42904624342918396, 0.34719544649124146, 0.5483502745628357, -0.36127227544784546, 0.16184565424919128, 0.3615833818912506, 0.09490691870450974, 0.3853168487548828, -0.16113631427288055, 0.6453351974487305, 0.2772473096847534, -0.4373353123664856, 0.09786389023065567, -0.7663348913192749, 0.23349398374557495, 0.16346925497055054, -0.02564288303256035, -0.42525413632392883, -0.09600309282541275, -0.07772981375455856, 0.202508807182312, -0.21100588142871857, -0.4808898866176605, -0.21128934621810913, -0.32101529836654663, 0.12842686474323273, 0.4250037670135498, 0.4484202265739441, 0.07953433692455292, -0.5348714590072632, 0.7364129424095154, 0.2342556118965149, 0.011968128383159637, -0.3611268997192383, -0.2611134648323059, -0.27964258193969727, -0.42181044816970825, 0.1983942836523056, 0.43555110692977905, -0.7021603584289551, 0.16990919411182404, -0.40844276547431946, -0.6155842542648315, -0.2261761873960495, -0.2119958996772766, 0.6737577319145203, 0.7373326420783997, 0.3201771080493927, -0.3949206471443176, -0.900242805480957, -0.9063859581947327, 0.09360606223344803, -0.050031889230012894, -0.06155221909284592, 0.4449850618839264, 0.09364187717437744, -0.266998827457428, 0.38377508521080017, -0.5851426124572754, -0.3314894735813141, -0.3629191219806671, 0.18712516129016876, -0.0011697564041242003, 0.3369092345237732, 0.5001751184463501, -0.8315303921699524, -0.49213314056396484, 0.16373324394226074, -0.9401043057441711, -0.14814017713069916, -0.4899176061153412, -0.41359028220176697, 0.33010005950927734, 0.6393970251083374, -0.2779696583747864, 0.6364876627922058, 0.3964258134365082, 0.13945676386356354, 0.3473917245864868, -0.15423652529716492, 0.34036967158317566, -1.189201831817627, 0.11531416326761246, 0.366050660610199, -0.4511567950248718, -0.7344502806663513, 0.13184083998203278, 0.015510381199419498, -0.2633368968963623, -0.5145478248596191, 0.25879648327827454, -0.8835659623146057, 0.1798112988471985, 0.0641985759139061, 0.5457513332366943, 0.20691485702991486, 0.0675932839512825, 0.49878519773483276, 0.19261251389980316, 0.47229859232902527, -0.5010652542114258, -0.1299590766429901, 0.33291974663734436, -0.1342991143465042, 0.6424499750137329, -0.7140464186668396, 0.11285647749900818, -0.07266412675380707, 0.22223524749279022, -0.6160544753074646, -0.0919034481048584, 0.37684035301208496, -0.26348838210105896, 0.842667818069458, 0.08475859463214874, -0.04553747922182083, -0.3192066252231598, -0.2403591275215149, 0.39306458830833435, 0.2368525117635727, -0.4282003939151764, 0.8916263580322266, 0.3513846695423126, -0.2873396873474121, -0.2627667784690857, -0.7989856600761414, 0.07481107115745544, -0.0024252936709672213, -0.6740093231201172, 0.751707136631012, 0.18962696194648743, -0.0421493723988533, 0.23231419920921326, -0.287427693605423, -0.210982546210289, -0.11075720936059952, 0.39612218737602234, 0.5495271682739258, -0.5667548179626465, -0.1677612066268921, 0.4375509023666382, -0.26782941818237305, 0.07342177629470825, -0.04363167658448219, 0.3361492156982422, -0.03888531029224396, -0.36065539717674255, -0.6456397771835327, 0.7621471285820007, 0.2970259487628937, -0.12782898545265198, 0.16705967485904694, 0.35638558864593506, -0.7134788036346436, -0.02252247929573059, -0.6801502108573914, 0.0324149914085865, -0.35258710384368896, 0.4128219783306122, -0.4830802083015442, -0.5376835465431213, 0.25993120670318604, -0.1102602481842041, -0.11873354762792587, 0.5612472295761108, 0.5138971209526062, 0.07190064340829849, 1.1116108894348145, 0.241120845079422, 0.25671303272247314, 0.07039064913988113, -0.22139160335063934, 0.3166452646255493, -1.120282530784607, -0.47305500507354736, -0.6484087705612183, -0.12593777477741241, -0.4771532714366913, -0.22033539414405823, 0.4721425771713257, -0.400303453207016, 0.4719410240650177, 0.3301630914211273, -0.7867878675460815, 0.1619642674922943, 0.02582714706659317, 0.4574951231479645, 0.24231581389904022, 0.1371123492717743, 0.24235175549983978, -0.19850941002368927, -0.6704173684120178, -0.3225242793560028, 0.9627443552017212, 0.17605260014533997, 0.4698196053504944, 0.13927732408046722, 1.0816481113433838, 0.3781636357307434, 0.374020516872406, -0.5414412021636963, 0.33010005950927734, -0.2685130834579468, -0.5085927248001099, 0.09807708859443665, -0.1700042337179184, -0.9125488996505737, -0.045647114515304565, -0.08460243046283722, -0.6949206590652466, 0.6183092594146729, -0.15606342256069183, -0.6609819531440735, -0.2123381346464157, -0.5457386374473572, 0.5698097348213196, -0.36193016171455383, -0.05258724093437195, -0.17870958149433136, -0.6244205236434937, 0.1899518519639969, -0.00827830657362938, -0.014412310905754566, 0.2890646755695343, -0.008675924502313137, 0.45412930846214294, -0.460469126701355, 0.7892036437988281, -0.0482039712369442, 0.028560562059283257, 0.2903470993041992, 0.17486572265625, 0.39799195528030396, 0.11468125879764557, -0.009108128026127815, 0.17962698638439178, 0.1806432604789734, -0.05479740351438522, -0.6200882792472839, 0.5312013030052185, -0.4797595739364624, -0.5593976974487305, -0.39332494139671326, -0.4241543710231781, 0.14589248597621918, 0.2691779136657715, 0.5732787251472473, 1.111314058303833, -0.5040467381477356, 0.2503018081188202, 0.5054595470428467, -0.12267730385065079, 0.02259192243218422, 0.2415195107460022, 0.03851669281721115, -0.5231134295463562, 0.9251384735107422, 0.2661892771720886, 0.15453645586967468, 0.8594313263893127, 0.22126904129981995, -0.29362767934799194, -0.6132722496986389, -0.3527727723121643, 0.4079650044441223, -0.6684989929199219, -0.43258795142173767, -0.6337812542915344, -0.46051475405693054, -0.5055830478668213, -0.5551102161407471, -0.12892092764377594, -0.3333059847354889, -0.17102482914924622, 0.010587064549326897, -0.23890407383441925, 0.34325623512268066, -0.04564119130373001, 0.1344490945339203, -1.170708179473877, 0.18802209198474884, -0.20928660035133362, -0.321916788816452, -0.18099355697631836, -0.2609865069389343, -0.336398720741272, -0.1391994059085846, -0.2302805334329605, -0.9562694430351257, 0.5384080410003662, 0.23494642972946167, 0.915754497051239, 0.6105396151542664, 0.09636109322309494, 0.7371557950973511, -0.22699852287769318, 0.49882933497428894, 0.37715595960617065, -1.026097297668457, 0.9857282042503357, -0.022038139402866364, 0.06664147228002548, 0.2665155529975891, 0.5357168316841125, -0.4037540853023529, -0.343013197183609, -0.8456304669380188, -0.676686704158783, 0.5118223428726196, 0.175917387008667, -0.29653486609458923, -0.28915321826934814, 0.49060359597206116, 0.034814804792404175, -0.15271268784999847, -0.4043099880218506, -0.15963520109653473, -0.1534339338541031, -0.17812347412109375, 0.44577768445014954, -0.3713902533054352, -0.5285415649414062, 0.20750953257083893, 0.8407509922981262, -0.2844192385673523, 0.40698495507240295, 0.7690755128860474, -0.5052579641342163, -0.10183966904878616, 0.23191826045513153, 0.6702565550804138, 0.7155072689056396, 0.0028213472105562687, 0.20284773409366608, 0.028878789395093918, -0.3991006314754486, -0.01909228414297104, 0.06163971126079559, -0.17631873488426208, 0.2735599875450134, 0.31464269757270813, 0.49085524678230286, 0.40991032123565674, -0.4148455262184143, 0.476297527551651, -0.2613665461540222, -0.1865009367465973, -0.26571938395500183, -0.009256123565137386, -0.2794572710990906, 0.49048537015914917, 0.240497887134552, 0.1968996673822403, 0.5589454174041748, -0.4676640033721924, 0.39817526936531067, 0.18182320892810822, -0.6830280423164368, -0.4368782937526703, 0.3809131681919098, 0.10040417313575745, -0.012697161175310612, 0.6941092610359192, 0.0689823180437088, -0.3347284495830536, 0.4944741725921631, 0.8717221021652222, 1.036205530166626, -0.36299222707748413, 0.47086191177368164, 0.3895934224128723, 0.13728322088718414, 0.2661268413066864, 0.20975984632968903, -0.047527458518743515, -0.44527608156204224, -0.254363477230072, -0.09722600132226944, 0.014012563042342663, -0.3495329022407532, -1.072899580001831, 0.48298996686935425, -0.4875393509864807, 0.1086261197924614, 0.11099198460578918, -0.03080824948847294, -0.3461187183856964, 0.5042640566825867, 0.35212427377700806, 0.9099498391151428, -0.8137930035591125, 0.6456013917922974, 0.46346426010131836, -0.5583997368812561, -1.0965429544448853, -0.1091248020529747, 0.3795214295387268, -0.7722519040107727, 0.6409934759140015, 0.2450350672006607, 0.024732431396842003, -0.284376323223114, 0.03466999903321266, -0.8930922150611877, 1.4208813905715942, 0.06019073352217674, -0.34921878576278687, -0.18013404309749603, -0.033310145139694214, 0.30551019310951233, -0.8598182797431946, 0.20192621648311615, 0.40655678510665894, 0.23168835043907166, 0.14092287421226501, -0.5372283458709717, 0.886216938495636, -0.379903644323349, 0.11328060179948807, 0.2514069080352783, -0.4564327895641327, 0.26856985688209534, -0.14479897916316986, -0.6092668175697327, 0.24381934106349945, 0.6997280716896057, 0.2598528265953064, 0.445530503988266, 0.4639071524143219, 0.5002263188362122, 0.9302700757980347, -0.021122585982084274, 1.312687873840332, -0.2324555218219757, -0.13982492685317993, 1.0234761238098145, -0.38128381967544556, 0.5121963024139404, 0.289938360452652, 0.31576669216156006, 0.8724910020828247, 0.5268478989601135, -0.17837285995483398, 0.4512489140033722, -0.261430561542511, -0.1108613833785057, -0.13858619332313538, -0.3510604202747345, -0.6977593898773193, 0.5062946081161499, 0.3314782977104187, -0.7354279160499573, -0.10346360504627228, -0.03204749897122383, 0.13703462481498718, -0.4131696820259094, -0.007838970050215721, 0.6643455624580383, -0.0035450186114758253, -0.45018428564071655, 0.3930535316467285, -0.383522093296051, -0.041103895753622055, -0.7504187822341919, -0.03164789825677872, 0.09578932821750641, 0.06027482822537422, -0.6765954494476318, -0.27169039845466614, 0.6675196290016174, -0.392010360956192, -0.2619610130786896, -0.008793076500296593, 0.7000505924224854, -0.15964668989181519, -0.3552049696445465, -0.07174388319253922, 0.4244379699230194, 0.12821178138256073, 0.1033981665968895, -0.3529456853866577, 0.35157808661460876, 0.10022123903036118, -0.023698393255472183, 0.18055835366249084, 0.5069884061813354, -0.23292659223079681, 0.1643858253955841, 0.5888150930404663, 0.28154316544532776, -0.23830552399158478, 0.1538236141204834, 0.9822677969932556, -0.4391651451587677, -0.4574946463108063, -0.3156234920024872, 0.7514622211456299, -0.270515501499176, -0.2656467854976654, 0.5581570267677307, 0.946912944316864, 0.5388403534889221, 0.1470256745815277, 0.7239894270896912, -0.16466590762138367, 0.29425618052482605, -0.7369974255561829, 0.49729952216148376, -0.7215709686279297, 0.24728021025657654, -0.4554397463798523, -0.6288387179374695, -0.6133540868759155, 0.21432682871818542, -0.03976251557469368, -0.17315444350242615, 1.1834365129470825, 0.8352485299110413, 0.058462295681238174, 0.20134079456329346, 0.26477378606796265, 0.39678043127059937, 0.4238866865634918, 0.27879878878593445, 0.46967801451683044, -0.7290196418762207, 0.7866400480270386, -0.38040974736213684, -0.37150630354881287, -0.33379262685775757, -0.6803557872772217, -0.3962634205818176, -0.4177666902542114, -0.9167385697364807, -0.6009292602539062, -0.028654426336288452, 0.5377887487411499, 0.9856621026992798, -0.6407685279846191, 0.03663451597094536, 0.31960630416870117, -0.06348227709531784, -0.4380144774913788, -0.20534314215183258, 0.6611071228981018, -0.07783176004886627, -0.4891880452632904, 0.5542294979095459, 0.8032327890396118, -0.047186002135276794, -0.1804358810186386, -0.08693008124828339, -0.03972829505801201, 0.04292437434196472, 0.5634186267852783, 0.39930519461631775, -0.5517114400863647, -0.28518712520599365, 0.2553339898586273, -0.14934797585010529, 0.3843383193016052, 1.098183274269104, -0.6461940407752991, 0.584383487701416, 0.4679346978664398, 0.5850380063056946, 0.6964855194091797, -0.18252474069595337, 0.5090378522872925, -0.6191389560699463, 0.004277748521417379, 0.1894272118806839, 0.4194144904613495, 0.057086069136857986, -0.8714284300804138, 0.4465843737125397, 0.16426506638526917, -0.40359872579574585, -0.9446046948432922, 0.04446595907211304, -1.3478761911392212, -0.02469404973089695, 0.6745765209197998, -0.17950133979320526, -0.6483621597290039, -0.1578914374113083, -0.1538086235523224, 0.18561913073062897, -0.3417450487613678, 0.6128767728805542, -0.06305859237909317, -0.5418976545333862, -0.27860376238822937, 0.034506045281887054, 0.0060889991000294685, 0.2267216444015503, -0.9307435154914856, -0.4726349711418152, 0.5664687752723694, 0.10541091114282608, 0.499411016702652, 0.6451476812362671, -0.67136549949646, 0.7969249486923218, 0.10131444782018661, -0.05228690057992935, -0.03457172214984894, -0.1636740267276764, -0.13172365725040436, 0.44650527834892273, -0.37127310037612915, -0.25856074690818787 ]
http://arxiv.org/abs/2406.00017v2
http://arxiv.org/pdf/2406.00017v2
PTA: Enhancing Multimodal Sentiment Analysis through Pipelined Prediction and Translation-based Alignment
2024-05-23T01:16:45
2024-06-13T13:26:56
Shezheng Song, Shasha Li, Shan Zhao, Chengyu Wang, Xiaopeng Li, Jie Yu, Qian Wan, Jun Ma, Tianwei Yan, Wentao Ma, Xiaoguang Mao
cs.CL
cs.CL, cs.AI, cs.MM
Multimodal aspect-based sentiment analysis (MABSA) aims to understand opinions in a granular manner, advancing human-computer interaction and other fields. Traditionally, MABSA methods use a joint prediction approach to identify aspects and sentiments simultaneously. However, we argue that joint models are not always superior. Our analysis shows that joint models struggle to align relevant text tokens with image patches, leading to misalignment and ineffective image utilization. In contrast, a pipeline framework first identifies aspects through MATE (Multimodal Aspect Term Extraction) and then aligns these aspects with image patches for sentiment classification (MASC: Multimodal Aspect-Oriented Sentiment Classification). This method is better suited for multimodal scenarios where effective image use is crucial. We present three key observations: (a) MATE and MASC have different feature requirements, with MATE focusing on token-level features and MASC on sequence-level features; (b) the aspect identified by MATE is crucial for effective image utilization; and (c) images play a trivial role in previous MABSA methods due to high noise. Based on these observations, we propose a pipeline framework that first predicts the aspect and then uses translation-based alignment (TBA) to enhance multimodal semantic consistency for better image utilization. Our method achieves state-of-the-art (SOTA) performance on widely used MABSA datasets Twitter-15 and Twitter-17. This demonstrates the effectiveness of the pipeline approach and its potential to provide valuable insights for future MABSA research. For reproducibility, the code and checkpoint will be released.
[ -0.46828991174697876, -0.5381714105606079, 0.5099935531616211, 0.3210958242416382, -0.6851531267166138, 0.24408775568008423, 0.3760475516319275, -0.3130352199077606, 0.6327935457229614, 0.34035438299179077, -0.71951824426651, -0.5002110004425049, -0.9151454567909241, 0.03564336895942688, -0.216400608420372, 0.7546300292015076, 0.011961012147367, 0.14047843217849731, -0.19487923383712769, -0.6659944653511047, -0.6370877623558044, -0.22707347571849823, -0.4709928631782532, 0.06631960719823837, 0.7242546677589417, 0.2796870172023773, 0.6853829026222229, 0.4340950846672058, 0.8285243511199951, 0.26454368233680725, 0.05533329024910927, 0.462232768535614, -0.12150765210390091, 0.34979358315467834, -0.08731803297996521, -0.11756603419780731, -0.7050217390060425, -0.006807161960750818, 0.3569473922252655, 0.36799341440200806, 0.03654535487294197, 0.21416133642196655, -0.12792982161045074, 0.6264911890029907, -0.6472627520561218, 0.4138743281364441, -0.5916595458984375, 0.06455247104167938, -0.3764934241771698, -0.09062299132347107, -0.32296010851860046, -0.10896467417478561, 0.10973469167947769, -0.2795654833316803, -0.30661430954933167, -0.06363344937562943, 0.8959905505180359, 0.18323060870170593, -0.7265810966491699, -0.008720353245735168, -0.334590882062912, 0.9670836329460144, -0.7354743480682373, 0.4085014760494232, -0.031652312725782394, 0.3209265470504761, -0.027333540841937065, -0.530891478061676, -0.7689325213432312, 0.4159766435623169, 0.10650308430194855, 0.36598628759384155, -0.032935116440057755, 0.09516651183366776, -0.09600143134593964, 0.29750123620033264, -0.30954161286354065, -0.08661385625600815, -0.3120596706867218, -0.39385169744491577, 0.2515166699886322, 0.14247407019138336, 0.14489921927452087, -0.4932316541671753, -0.5829504728317261, -0.12389656901359558, -0.477063924074173, 0.2945319712162018, 0.16932718455791473, 0.3306102454662323, -0.20403680205345154, 0.7865041494369507, -0.10646948963403702, 0.5067936778068542, 0.12588858604431152, -0.5666184425354004, 0.5323268175125122, -0.38153812289237976, -0.16466765105724335, -0.23444969952106476, 1.0904288291931152, 0.6595312356948853, -0.40998077392578125, 0.08551815152168274, -0.14871807396411896, 0.3915756344795227, 0.26644566655158997, -0.5606340765953064, 0.0825105682015419, 0.4740022122859955, -0.6179922223091125, -0.29427236318588257, 0.25353145599365234, -1.1840670108795166, -0.5762709975242615, -0.3311087191104889, 0.5884518027305603, -0.38960129022598267, -0.1604657769203186, -0.2610577344894409, -0.06811900436878204, 0.1633988618850708, 0.22896696627140045, -0.4836135506629944, -0.4113553464412689, 0.7726120948791504, 1.0812606811523438, 0.0023923388216644526, -0.15422844886779785, -0.5885173082351685, 0.11096593737602234, -0.27684730291366577, 0.9994262456893921, -0.7533668279647827, -0.24488164484500885, 0.16615048050880432, 0.1458037793636322, 0.04012688994407654, -0.15492555499076843, 0.35534560680389404, -0.14063161611557007, 0.46023687720298767, -0.23968271911144257, -0.04848635569214821, -0.38024285435676575, 0.335326611995697, -0.6256933808326721, 0.7387233972549438, 0.0971287339925766, -0.82430499792099, 0.7252020239830017, -0.6999871134757996, -0.20586849749088287, -0.6622453331947327, 0.2028706967830658, -0.6910343766212463, 0.1730373352766037, 0.634230375289917, 0.6368005871772766, -0.06542269885540009, 0.3350995182991028, -0.5785371661186218, 0.12708960473537445, 0.476004421710968, -0.09865017980337143, 0.3198279142379761, 0.6847505569458008, -0.13697539269924164, 0.3432934582233429, -0.4621877372264862, -0.28771069645881653, -0.3170560300350189, 0.21303682029247284, 0.001997319282963872, 0.19341452419757843, -0.2138288915157318, 0.522431492805481, 0.2115756720304489, -0.7536542415618896, 0.2091549187898636, -0.20420138537883759, 0.2639199197292328, 0.9185299873352051, -0.11524085700511932, 0.5223146080970764, -0.17251832783222198, 0.5773429870605469, 0.6247374415397644, 0.5157658457756042, -0.4586555063724518, -0.6601080894470215, -0.5833560228347778, -0.719415009021759, 0.2791115939617157, 0.13911835849285126, -0.9948509335517883, 0.059193555265665054, -0.32554173469543457, -0.40197569131851196, -0.9000723958015442, 0.16610747575759888, 0.3707072138786316, 0.44887080788612366, 0.1939397156238556, -1.093888282775879, -0.8315216302871704, -0.8540412783622742, 0.0760945975780487, -0.298147052526474, 0.35697904229164124, -0.17339928448200226, -0.0026465067639946938, -0.38627493381500244, 1.0725010633468628, -0.15091124176979065, -0.6552562117576599, -0.3052891492843628, 0.3158324658870697, 0.13931530714035034, 0.3242068886756897, 0.5325549244880676, -0.6365606188774109, -0.2993219792842865, 0.08016148954629898, -0.7334367036819458, -0.2360628992319107, 0.07341638952493668, -0.19686828553676605, 0.3429245352745056, 0.06660651415586472, -0.4848690927028656, 0.24842247366905212, 1.001848578453064, -0.3038989007472992, 0.24083669483661652, 0.36081361770629883, 0.38188180327415466, -1.588866114616394, -0.1511870175600052, 0.39164695143699646, -0.372802734375, -0.37585607171058655, 0.018548138439655304, -0.09323809295892715, -0.24876831471920013, -0.496622771024704, 0.34741678833961487, -0.24612312018871307, -0.09804826974868774, -0.38255128264427185, 0.006706834305077791, 0.14390169084072113, 0.33584898710250854, -0.0997639000415802, 0.7316429615020752, 0.5547665357589722, 0.011981886811554432, 0.21239374577999115, 0.0560903437435627, -0.017425335943698883, 0.7942841053009033, -0.1733066737651825, 0.18978112936019897, -0.2290739119052887, 0.3687008023262024, -1.1108742952346802, -0.15078377723693848, 0.4696638584136963, -0.4232259690761566, 0.3176531195640564, -0.19132572412490845, -0.34681904315948486, -0.052809953689575195, -0.5781501531600952, 0.2961603105068207, 0.32073065638542175, -0.262296587228775, 1.1595830917358398, 0.7575676441192627, -0.13413159549236298, -0.8378247618675232, -0.2940680682659149, 0.11626291275024414, -0.42446863651275635, -0.7051458358764648, 0.05426374822854996, 0.4044027626514435, -0.019791290163993835, -0.21501114964485168, -0.1584528386592865, -0.17419728636741638, -0.3569742441177368, 0.6247740983963013, 0.3975653648376465, -0.11666273325681686, -0.12541107833385468, 0.15773378312587738, -0.19939327239990234, -0.1562792807817459, -0.20402659475803375, 0.5078823566436768, -0.051177624613046646, -0.24808204174041748, -0.750770092010498, 0.3443109691143036, 0.8904793858528137, -0.22896011173725128, 0.7711552381515503, 0.9728227853775024, 0.04798661917448044, 0.5589549541473389, -0.77544766664505, 0.08897864073514938, -0.38376444578170776, 0.2001158893108368, -0.3742913603782654, -0.4324522018432617, 0.5936284065246582, -0.09546323865652084, 0.19955378770828247, 0.3947976231575012, 0.4054393768310547, -0.5203390717506409, 1.2399598360061646, 0.8119847178459167, -0.110069639980793, 0.7066390514373779, -0.28550055623054504, 0.4173232913017273, -0.9683771729469299, -0.4454535245895386, -0.3515107333660126, -0.5999714136123657, -0.4783576428890228, -0.5464973449707031, 0.40788260102272034, -0.2477770745754242, 0.16240517795085907, 0.2809686064720154, -0.18327482044696808, 0.029055306687951088, 0.38488999009132385, 0.11999406665563583, 0.17228183150291443, 0.1127670407295227, -0.08862683922052383, -0.17041876912117004, -0.36391136050224304, -0.5630292296409607, 1.0836559534072876, 0.5943707823753357, 0.6326887607574463, 0.10166807472705841, 0.4885350167751312, 0.1767154037952423, 0.20373821258544922, -0.8736580014228821, 0.5311856865882874, -0.34437936544418335, -0.4033644199371338, 0.22878946363925934, -0.27812305092811584, -0.6565613746643066, 0.31201115250587463, -0.35595718026161194, -0.6915216445922852, 0.36488810181617737, 0.1433408111333847, 0.028858430683612823, 0.41248080134391785, -0.9803555011749268, 0.8527969717979431, 0.20834846794605255, -0.3319213390350342, -0.2607857882976532, -0.8711792230606079, 0.2663215100765228, -0.06459933519363403, 0.3678816556930542, -0.35234761238098145, -0.1280430108308792, 0.6025387644767761, -0.2565676271915436, 0.9582868814468384, -0.35095569491386414, -0.02532065659761429, 0.24690791964530945, 0.07577019184827805, 0.2702372670173645, -0.04577566310763359, 0.041310787200927734, 0.2484736293554306, 0.3809131681919098, -0.6228206753730774, -0.5734578371047974, 0.5018764138221741, -0.5865324139595032, -0.44756805896759033, -0.6178436875343323, -0.695366382598877, -0.5336846709251404, -0.1327546089887619, -0.11765401810407639, 0.6292692422866821, 0.2113349735736847, 0.1601983904838562, 0.2083204835653305, 0.03601231426000595, 0.5710415840148926, 0.10616748780012131, -0.4252606928348541, -0.6426059007644653, 1.069587230682373, -0.06820249557495117, 0.15918399393558502, 0.3267297148704529, 0.09220949560403824, -0.4406479001045227, -0.525492250919342, -0.4491686224937439, 0.14019498229026794, -0.5839753746986389, -0.5120424628257751, -0.5924323797225952, 0.19346031546592712, -0.5365453362464905, 0.03157047927379608, -0.4671746492385864, -0.4624251425266266, 0.023556474596261978, 0.16565106809139252, 0.12283065915107727, 0.46043333411216736, 0.03622467443346977, 0.5297682285308838, -0.9457798004150391, 0.3166867196559906, 0.19755984842777252, 0.15821847319602966, -0.3815575838088989, -0.27349618077278137, 0.03437131270766258, 0.2463195025920868, -0.695720374584198, -0.9291598200798035, 0.4617018401622772, 0.17713358998298645, 0.14793872833251953, 0.6737277507781982, -0.19482262432575226, 1.0386542081832886, -0.029357070103287697, 0.9489979147911072, 0.5933175683021545, -0.8510374426841736, 0.49304842948913574, -0.19677381217479706, 0.27387213706970215, 0.42685508728027344, 0.2027166783809662, -0.39995139837265015, -0.6250036954879761, -0.37532854080200195, -0.5882540941238403, 0.5287261009216309, 0.031623441725969315, 0.22494865953922272, 0.010480480268597603, -0.09053142368793488, 0.42854180932044983, 0.3257421553134918, -0.6473041772842407, 0.08814901858568192, -0.521060049533844, -0.6739214062690735, 0.14805729687213898, -0.2915242910385132, -0.14969836175441742, -0.11242113262414932, 0.6597704291343689, -0.387639582157135, 0.3167937994003296, 0.052089955657720566, 0.000024416543965344317, 0.011143609881401062, 0.19611532986164093, 0.3509921133518219, 0.927484393119812, -0.2979254424571991, 0.020972687751054764, -0.18507230281829834, -0.45527762174606323, 0.05376942455768585, -0.13921622931957245, 0.09934420883655548, 0.042685750871896744, 0.15444758534431458, 0.7215770483016968, -0.23759984970092773, -0.6049013733863831, 0.4991629719734192, -0.016042621806263924, 0.16510002315044403, 0.18314476311206818, -0.39842841029167175, -0.22699205577373505, 0.3740461468696594, 0.28629687428474426, 0.5472474694252014, -0.0980282798409462, -0.923581063747406, 0.028853198513388634, 0.5794888138771057, -0.9438097476959229, -0.5671682357788086, 0.25999388098716736, 0.3099854290485382, 0.22867906093597412, 0.1793081909418106, -0.188332661986351, -0.3829929530620575, 0.2603301703929901, 0.16580554842948914, 0.8747062087059021, -0.0931430533528328, 0.4625188708305359, -0.005220355466008186, 0.09053763002157211, 0.2340313196182251, 0.3438562750816345, 0.32488951086997986, -0.5241266489028931, -0.8564519882202148, -0.7453076839447021, -0.257091760635376, -0.4786827564239502, -0.3053949177265167, 0.271028608083725, -0.3769252598285675, -0.5848382711410522, -0.04792732745409012, -0.22410184144973755, -0.32852205634117126, 0.20843245089054108, -0.07834133505821228, 0.439086377620697, -0.8217833638191223, 0.890067994594574, 0.8245750665664673, -0.5459867119789124, -0.7326099276542664, -0.06831053644418716, 0.32430389523506165, -0.6672618389129639, 0.4814756214618683, 0.22781482338905334, 0.015959111973643303, -0.45550915598869324, -0.28583353757858276, -0.5357429385185242, 1.031717300415039, 0.39922794699668884, -0.03542410954833031, 0.20668664574623108, 0.06264965981245041, 0.38530439138412476, -0.6554254293441772, 0.21287058293819427, 0.22364991903305054, 0.3106459379196167, 0.48752152919769287, -1.0041537284851074, -0.18994228541851044, -0.05334581807255745, -0.045628324151039124, 0.4538019299507141, -0.7003427743911743, 0.5183759331703186, -0.047082945704460144, -0.09661086648702621, 0.15552105009555817, 0.8032605051994324, 0.028542637825012207, 0.6184288263320923, 0.48046720027923584, 0.7740642428398132, 0.22101205587387085, -0.43463942408561707, 0.8429353833198547, -0.09134187549352646, 0.3096972703933716, 0.6296665668487549, -0.25743812322616577, 0.8467193841934204, 0.98775714635849, -0.25734400749206543, 0.7393186688423157, 0.544086217880249, 0.40018323063850403, 0.7426770329475403, -0.6593791246414185, -0.14268149435520172, -0.12075316905975342, -0.6218640804290771, -0.2867514193058014, 0.7562094330787659, 0.17759184539318085, -0.3595646023750305, -0.06612342596054077, 0.24928885698318481, -0.008346609771251678, -0.15838567912578583, -0.2503495216369629, 1.003097653388977, 0.058458440005779266, -0.5099696516990662, -0.13610593974590302, -0.15629765391349792, 0.7152465581893921, -0.5900471210479736, 0.12993930280208588, -0.36081379652023315, 0.07894497364759445, -0.19516584277153015, -0.9329379796981812, 0.6023035049438477, -0.09596997499465942, -0.14101910591125488, -0.14901448786258698, 0.516074538230896, -0.15187789499759674, -0.6426173448562622, -0.06161721795797348, 0.4778638184070587, -0.1953052431344986, -0.01084901113063097, -0.7334097027778625, 0.1897125244140625, -0.04057861119508743, 0.316776305437088, 0.601885199546814, 0.5515397191047668, 0.10159026086330414, 0.6822964549064636, 0.6623074412345886, 0.04189801216125488, 0.1062404215335846, 0.00647703418508172, 0.7493979334831238, -0.3756694495677948, -0.29287853837013245, -0.659636378288269, 0.7586609721183777, -0.20779840648174286, -0.1037047952413559, 0.47342726588249207, 0.3004239499568939, 0.437009334564209, -0.050665732473134995, 0.27453407645225525, -0.38413017988204956, 0.2675432860851288, -0.7522727847099304, 0.27149346470832825, -0.6436007022857666, 0.11430537700653076, -0.647904098033905, -1.1129642724990845, -0.30438482761383057, 0.26807209849357605, -0.11188831180334091, -0.29339486360549927, 0.9252288341522217, 1.0015465021133423, -0.2570604681968689, -0.11202796548604965, 0.12614917755126953, -0.08726174384355545, 0.4679540693759918, 0.23256532847881317, 0.8591672778129578, -0.5398292541503906, 0.7048574686050415, -0.6060181260108948, -0.053555313497781754, 0.14471030235290527, -0.9910204410552979, -0.6268044710159302, -0.942748486995697, -0.4087478518486023, -0.42505863308906555, 0.0807357057929039, 0.8593060970306396, 0.8580013513565063, -0.8571305274963379, -0.10351154208183289, 0.43418535590171814, 0.05956370383501053, -0.3798665404319763, -0.22816847264766693, 0.22920958697795868, -0.5875213146209717, -0.9406958818435669, -0.08812865614891052, 0.6929485201835632, -0.0424877293407917, -0.30210641026496887, 0.16055674850940704, -0.28924763202667236, -0.035525720566511154, 0.7697880268096924, -0.02428998053073883, -1.0337064266204834, -0.38880839943885803, -0.02857285737991333, 0.041046466678380966, 0.3260236382484436, 0.8215789198875427, -0.7550114393234253, 0.9408146739006042, 0.6493220329284668, 0.5024150609970093, 0.03275305777788162, 0.2571410834789276, 0.7968189120292664, -0.8361536860466003, 0.5312864780426025, 0.020031290128827095, 0.6806522607803345, 0.393528014421463, 0.1211404874920845, 0.41888970136642456, 0.2059708535671234, -0.22506050765514374, -0.6204716563224792, 0.12323795258998871, -1.571421504020691, -0.08203151077032089, 0.8164159655570984, -0.22178685665130615, -0.3335116505622864, -0.03794793039560318, -0.6099672913551331, 0.17794160544872284, -0.6778979897499084, 1.0557845830917358, 0.7093216776847839, 0.1440485417842865, -0.40138933062553406, -0.22189630568027496, 0.05317669361829758, 0.6098015308380127, -0.5592775940895081, -0.4071154296398163, 0.6064717173576355, -0.19634246826171875, 0.28838035464286804, 0.35714465379714966, -0.408488005399704, 0.13733667135238647, -0.351103812456131, -0.18385618925094604, 0.04220499470829964, -0.29902204871177673, -0.05382639169692993, 0.4016476571559906, 0.020168133080005646, -0.5535909533500671 ]
http://arxiv.org/abs/2405.14075v1
http://arxiv.org/pdf/2405.14075v1
$T^2$ of Thoughts: Temperature Tree Elicits Reasoning in Large Language Models
2024-05-23T00:40:43
2024-05-23T00:40:43
Chengkun Cai, Xu Zhao, Yucheng Du, Haoliang Liu, Lei Li
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) have emerged as powerful tools in artificial intelligence, especially in complex decision-making scenarios, but their static problem-solving strategies often limit their adaptability to dynamic environments. We explore the enhancement of reasoning capabilities in LLMs through Temperature Tree ($T^2$) prompting via Particle Swarm Optimization, termed as $T^2$ of Thoughts ($T^2oT$). The primary focus is on enhancing decision-making processes by dynamically adjusting search parameters, especially temperature, to improve accuracy without increasing computational demands. We empirically validate that our hybrid $T^2oT$ approach yields enhancements in, single-solution accuracy, multi-solution generation and text generation quality. Our findings suggest that while dynamic search depth adjustments based on temperature can yield mixed results, a fixed search depth, when coupled with adaptive capabilities of $T^2oT$, provides a more reliable and versatile problem-solving strategy. This work highlights the potential for future explorations in optimizing algorithmic interactions with foundational language models, particularly illustrated by our development for the Game of 24 and Creative Writing tasks.
[ -0.12450403720140457, -0.8860592842102051, 0.9203377962112427, 0.13229171931743622, -0.5342290997505188, 0.7529237866401672, -0.38093873858451843, -0.32782667875289917, 0.033692870289087296, 0.06351848691701889, -0.48815882205963135, -0.3120036721229553, -0.3474252223968506, -0.051040347665548325, 0.09388808906078339, 0.47630995512008667, -0.10177832096815109, -0.4692080318927765, -0.14764338731765747, 0.30604156851768494, -0.2548149824142456, -0.3723423182964325, -0.8791975975036621, -0.44977328181266785, 0.3475237786769867, 0.5305144190788269, 0.9300393462181091, 0.3675577640533447, 0.35290127992630005, 0.26780280470848083, -0.09920525550842285, 0.3167194724082947, -0.5632154941558838, 0.6023966073989868, -0.5257487893104553, -0.44494664669036865, -0.22186726331710815, -0.32302325963974, 0.6428167223930359, 0.3347872197628021, -0.03792639076709747, -0.06938176602125168, -0.21992453932762146, 0.7258396744728088, -0.5118706822395325, 0.2264062762260437, -0.9911587238311768, 0.14895154535770416, -0.05253244563937187, -0.39593666791915894, -0.2599770128726959, -0.198916494846344, 0.2544410824775696, -0.4624914824962616, 0.008824854157865047, -0.008668079040944576, 0.5039042830467224, 0.4590812921524048, -0.3521707355976105, -0.21596582233905792, -0.9745567440986633, 0.9298449754714966, -0.8138647079467773, 0.40395358204841614, 0.10404609143733978, 0.07378080487251282, -0.3160557746887207, -0.33527839183807373, -0.6392442584037781, 0.019413694739341736, 0.2921079099178314, 0.20706255733966827, -0.37022268772125244, -0.05990669131278992, 0.17170819640159607, 0.0369173139333725, -0.33133891224861145, 0.09164364635944366, -0.08922088891267776, -0.047056008130311966, 0.6986790299415588, 0.2329787164926529, 0.27675190567970276, -0.062143418937921524, 0.32268834114074707, -0.10602658987045288, -0.060592230409383774, 0.35156112909317017, 0.14094758033752441, 0.1475302129983902, 0.23103514313697815, 0.4506884813308716, -0.02796334959566593, 0.4651023745536804, 0.02732245996594429, -0.20201312005519867, 0.005282977130264044, -0.3728099763393402, -0.03371115028858185, -0.15876075625419617, 0.6830503940582275, 0.4550093114376068, 0.18278421461582184, -0.33826619386672974, -0.15981170535087585, 0.2002537101507187, 0.14683859050273895, -0.8268206715583801, -0.5576861500740051, 0.4588949382305145, -0.1793104112148285, -0.5287522673606873, -0.15221774578094482, -0.9516094923019409, -0.25323066115379333, -0.1338789165019989, 0.14015786349773407, -0.4642980098724365, -0.6956966519355774, 0.28526008129119873, -0.5151365995407104, -0.038757819682359695, 0.3369174301624298, -0.883925199508667, 0.21685773134231567, 0.7044884562492371, 0.6896202564239502, -0.11894110590219498, -0.005794513504952192, 0.10722801834344864, 0.2712182402610779, -0.7164677977561951, 0.9060441255569458, -1.1350102424621582, -0.5783578753471375, -0.368865042924881, -0.5839446783065796, -0.05610504001379013, -0.33759668469429016, 0.3111754357814789, -0.4852832555770874, 0.3424185812473297, -0.3416476547718048, -0.26519516110420227, -0.009955222718417645, 0.15705518424510956, -0.3273724317550659, 1.3310285806655884, -0.009405598044395447, -0.7152565717697144, 0.08384531736373901, -0.810198187828064, -0.5235908627510071, 0.16774886846542358, -0.17433872818946838, -0.36708831787109375, 0.2670062184333801, 0.291511207818985, 0.1720324456691742, -0.3754369020462036, 0.10631673783063889, -0.29468849301338196, -0.09625105559825897, 0.19097280502319336, 0.06135519593954086, 0.5246800780296326, 0.26084208488464355, -0.48884114623069763, 0.2963237166404724, -0.3561045229434967, 0.404144287109375, 0.6098299026489258, -0.32798054814338684, -0.3211650550365448, 0.42112767696380615, -0.6192989945411682, -0.01839643530547619, 0.3661338686943054, -0.37701648473739624, 0.3968167006969452, -0.45123448967933655, 0.8152350783348083, 0.5972121953964233, 0.13262319564819336, 0.5812307000160217, -0.22629240155220032, 0.6918110847473145, -0.16870646178722382, -0.171964630484581, 0.15699130296707153, -0.5074491500854492, -0.5388692021369934, 0.12380095571279526, -0.11846450716257095, 0.8886857628822327, -0.9672743082046509, 0.20180223882198334, 0.09131811559200287, -0.8616476655006409, -0.18926465511322021, 0.05662089213728905, 0.2875571846961975, 0.5359954237937927, 0.13882653415203094, 0.3647433817386627, -0.5335169434547424, -0.5976625680923462, -0.17801889777183533, -0.31232041120529175, 0.10637159645557404, 0.4870680868625641, 0.20982342958450317, -0.08471828699111938, 0.8567696213722229, -0.5300624966621399, 0.4801846742630005, -0.2952815890312195, -0.12152623385190964, 0.2914668023586273, 0.27662193775177, 0.6081282496452332, -0.5786674618721008, -0.29167744517326355, 0.034487467259168625, -0.7083877325057983, -0.1267598271369934, -0.027718426659703255, -0.4131544530391693, 0.31283053755760193, 0.4753219485282898, -0.7868975400924683, 0.09983199834823608, 0.39451175928115845, -0.3937831223011017, 0.4125532805919647, -0.1746423989534378, 0.045236147940158844, -1.118180513381958, -0.14012257754802704, -0.0027915011160075665, 0.08265217393636703, -0.6208329796791077, 0.29244017601013184, 0.023929573595523834, -0.32551297545433044, -0.3055476248264313, 0.49255630373954773, -0.35538601875305176, 0.0705147311091423, -0.5181934237480164, 0.15908165276050568, 0.10557591170072556, 0.22662070393562317, 0.1489226073026657, 0.8536393046379089, 0.7002816796302795, -0.6784416437149048, 0.7831000685691833, 0.030557524412870407, -0.0819891169667244, 0.12815852463245392, -0.5180976986885071, 0.6198225617408752, -0.21413582563400269, 0.3504571318626404, -0.9061448574066162, -0.11179644614458084, 0.19749532639980316, -0.33258113265037537, -0.08931085467338562, 0.4180002808570862, -0.868476390838623, -0.690956175327301, -0.41105738282203674, 0.5508770942687988, 0.6114661693572998, -0.3501589298248291, 0.66953444480896, 0.2812665104866028, -0.18325553834438324, -0.04123559221625328, -0.395943284034729, 0.15894827246665955, -0.23544934391975403, -0.6370782256126404, 0.42325955629348755, -0.22687961161136627, -0.6285526156425476, 0.02555585652589798, -0.20521025359630585, 0.21169278025627136, 0.3348633944988251, -0.17797431349754333, 0.12985731661319733, -0.2347354143857956, 0.40995147824287415, 0.42188867926597595, 0.11797583848237991, 0.2353137880563736, -0.5844174027442932, 0.7521629929542542, -0.26163315773010254, 0.1252478063106537, -0.3107093870639801, 0.2968975901603699, 0.5484304428100586, -0.3359091579914093, 0.4514595568180084, 0.20823685824871063, -0.5718122720718384, -0.4096429646015167, -0.3089402914047241, -0.3332987427711487, -0.5361739993095398, 0.3667255640029907, -0.7320084571838379, -0.9570959210395813, 0.5105054378509521, -0.17787998914718628, 0.1530320793390274, 0.5231466889381409, 0.6221523880958557, -0.3360089659690857, 1.1058781147003174, 0.3340577781200409, 0.2567393183708191, 0.5210108160972595, 0.11510251462459564, 0.5007486939430237, -0.715980589389801, -0.5638964176177979, -0.4957673251628876, -0.4695015251636505, -0.6289501786231995, -0.5579530000686646, 0.5107214450836182, 0.1520761102437973, -0.310820072889328, 0.011645955964922905, -0.8657379746437073, 0.8060317039489746, 0.6597549319267273, 0.5445007085800171, -0.11719325184822083, -0.11614195257425308, -0.20365360379219055, -0.08263441175222397, -0.8729568123817444, -0.38541239500045776, 0.7552869319915771, 0.3435099720954895, 0.4428368806838989, 0.2502062916755676, 0.4691172242164612, -0.047225382179021835, -0.35952579975128174, -0.8096061944961548, 0.7137823700904846, -0.14007532596588135, -0.3889055848121643, -0.6346628069877625, -0.34043970704078674, -0.8824130892753601, 0.23686696588993073, -0.2959531545639038, -0.8165474534034729, -0.2796504497528076, 0.0671832263469696, -0.5483168363571167, 0.6409996151924133, -0.5275952816009521, 0.5517165064811707, -0.5743792653083801, -0.3730772137641907, -0.6293435096740723, -0.3487585783004761, 0.1674627810716629, -0.35334861278533936, 0.12287518382072449, -0.24963270127773285, -0.339263379573822, 0.8111600279808044, -0.2810401916503906, 0.581741213798523, -0.031231936067342758, -0.1321335881948471, 0.4143195152282715, 0.5586374998092651, 0.6737332940101624, -0.006466568913310766, -0.6327218413352966, -0.23361794650554657, 0.1700584590435028, -0.6055445671081543, -0.6479655504226685, 0.673508882522583, -0.8061097264289856, -1.1297427415847778, -0.5203589200973511, -0.9210833311080933, -0.4968804717063904, 0.3516145646572113, -0.07727609574794769, 0.04309798777103424, 0.06138869374990463, 0.0742560401558876, 0.6722054481506348, -0.46993404626846313, 0.6748059988021851, 0.31619709730148315, -0.3620087206363678, -0.2105550915002823, 0.7661557197570801, -0.19294165074825287, 0.19681726396083832, 0.47154560685157776, 0.8068108558654785, -0.14403092861175537, -0.6776793003082275, -0.2892392575740814, 0.16145780682563782, -0.5366384983062744, -0.1798531711101532, -0.6429990530014038, -0.07979602366685867, -0.4748395085334778, -0.2899017632007599, -0.06474310159683228, -0.5275629162788391, -0.5297009944915771, -0.2068297415971756, 0.675216019153595, 0.584611177444458, 0.06905455142259598, 0.16635046899318695, -0.6779141426086426, 0.22953833639621735, 0.25915324687957764, 0.1931176334619522, 0.16351068019866943, -0.36390823125839233, 0.03718644753098488, 0.013878973200917244, -0.212387815117836, -0.8542205095291138, 0.14954820275306702, 0.15118791162967682, 0.4547143280506134, 0.11048977822065353, 0.1525224894285202, 0.45688462257385254, -0.38232672214508057, 0.8156959414482117, 0.013043051585555077, -1.1251404285430908, 0.9614097476005554, -0.6072890758514404, 0.8581193089485168, 0.33142200112342834, 0.11986743658781052, -0.2879672944545746, -0.5377328395843506, -0.7278627157211304, -0.6014612913131714, 0.6024345755577087, 0.1565946489572525, 0.2597567141056061, 0.10982968658208847, 0.5800864100456238, -0.009222709573805332, 0.25894996523857117, -0.1883622109889984, 0.19592450559139252, -0.27069005370140076, -0.011244628578424454, 0.08466760069131851, -0.2997512221336365, 0.11839619278907776, -0.5825297832489014, 0.6520530581474304, -0.028246227651834488, 0.3283085227012634, -0.09095794707536697, 0.6453492045402527, -0.5943055748939514, 0.14302882552146912, 0.6511695981025696, 0.8338136076927185, -0.21111823618412018, 0.4139919877052307, 0.3695621192455292, -0.04173238202929497, -0.1547432839870453, -0.2365720123052597, -0.1634555160999298, -0.16236205399036407, 0.2651319205760956, 0.7379101514816284, -0.009231830947101116, -0.6013548374176025, -0.12874837219715118, 0.16927336156368256, -0.2663739323616028, -0.07393182069063187, 0.38541534543037415, 0.31656184792518616, 0.5734769105911255, 0.3030655086040497, 0.12712565064430237, -0.1078554019331932, -0.799124002456665, -0.01783401146531105, 0.6760441660881042, 0.1721280813217163, -0.33068233728408813, 0.6049285531044006, 0.2257152944803238, -0.6959659457206726, 0.670761227607727, -0.2413555085659027, -1.110725998878479, 0.7012805342674255, 0.7016091346740723, 0.6772342920303345, -0.3067851662635803, 0.19491200149059296, 0.31758031249046326, 0.33286619186401367, -0.03970218822360039, 0.7762676477432251, -0.047807373106479645, -0.8610495924949646, -0.26768025755882263, -0.44761836528778076, -0.5927489399909973, 0.007048257160931826, -0.07401333004236221, 0.06884454190731049, -1.0813910961151123, -0.1675998568534851, 0.01047825813293457, 0.09763162583112717, -0.49980562925338745, 0.24404878914356232, 0.2516610324382782, 0.7389017343521118, -0.5514228940010071, 0.9258416295051575, 0.6353751420974731, -0.0032215004321187735, -0.9243564605712891, 0.15313009917736053, -0.00021462011500261724, -0.8145136833190918, 0.38064494729042053, -0.24563996493816376, -0.5166232585906982, 0.009302124381065369, -0.5824874043464661, -1.0310560464859009, 0.9320366978645325, 0.35044217109680176, -0.7682945132255554, -0.17609034478664398, 0.1239645704627037, 0.8110260963439941, -0.31136348843574524, 0.036255333572626114, 0.7154362797737122, 0.42847728729248047, 0.4214303195476532, -0.9628276228904724, 0.16432084143161774, -0.3815004229545593, 0.06225124001502991, 0.4876299798488617, -0.8920024037361145, 0.6213804483413696, -0.46988269686698914, -0.18945035338401794, -0.18180376291275024, 0.6642870903015137, 0.4780454933643341, 0.4591323733329773, 0.46512529253959656, 0.45313745737075806, 1.082385540008545, -0.0442647710442543, 0.9402928352355957, -0.3327980637550354, 0.05035679042339325, 0.8407583832740784, -0.34110596776008606, 0.8939483761787415, 0.4487547278404236, -0.18521632254123688, 0.536680281162262, 0.9572773575782776, 0.027592670172452927, 0.596854567527771, 0.3266230821609497, -0.31304192543029785, -0.4948251247406006, -0.25335705280303955, -0.17537912726402283, 0.0881853774189949, 0.6282303333282471, -0.02410442754626274, 0.005214091390371323, -0.019569525495171547, 0.1890697479248047, 0.385585218667984, -0.2703332304954529, 0.7054587602615356, 0.1340268850326538, -0.8211591839790344, 0.26832908391952515, -0.004343010950833559, 0.503856360912323, -0.032296597957611084, 0.20597025752067566, -0.031685952097177505, 0.15668293833732605, -0.2747991979122162, -1.1559733152389526, 0.3441031575202942, -0.019163819029927254, -0.22430647909641266, -0.4118194282054901, 0.6816786527633667, -0.14580921828746796, -0.9269641041755676, 0.1773301661014557, 0.4631512761116028, 0.12377968430519104, -0.09397295862436295, -0.8545846343040466, 0.4085308611392975, 0.04839972034096718, -0.13830827176570892, -0.10164859890937805, 0.7415928244590759, -0.031641535460948944, 0.6063807010650635, 0.5282489657402039, 0.10937629640102386, -0.24051736295223236, -0.11080238223075867, 0.9714621305465698, -0.6739343404769897, -0.5216895937919617, -1.0271196365356445, -0.0025443462654948235, 0.1223796159029007, -0.014221806079149246, 0.4599444270133972, 0.5580184459686279, 0.6736413836479187, 0.16805973649024963, 1.0045965909957886, 0.10820377618074417, 0.6211670637130737, -0.5835806727409363, 0.20851585268974304, -0.48688504099845886, 0.26181331276893616, -0.1999548226594925, -1.1256581544876099, -0.2766043543815613, 0.3800337314605713, -0.6887800693511963, 0.009480324573814869, 0.983741044998169, 0.48929086327552795, -0.009736530482769012, 0.25729385018348694, 0.1164821907877922, 0.10314059257507324, 0.5399918556213379, 0.9138647317886353, 0.749613344669342, 0.009899623692035675, 0.41144993901252747, -0.35678887367248535, -0.3594089448451996, -0.043325766921043396, -0.8801807761192322, -1.155333161354065, -0.503260612487793, -0.3853152394294739, -0.4983222484588623, 0.07624347507953644, 1.1834139823913574, 0.41441646218299866, -0.6257497668266296, -0.15652713179588318, -0.1641824096441269, -0.05401178449392319, -0.015828343108296394, -0.18631069362163544, 0.3414415419101715, -0.3228950500488281, -0.5307245254516602, 0.6266467571258545, 0.3189980387687683, 0.06893721222877502, -0.11443223804235458, -0.0587628111243248, 0.020322265103459358, 0.5718565583229065, 0.6442340612411499, 0.12663698196411133, -0.8431304097175598, -0.23378315567970276, 0.21724089980125427, -0.0035189231857657433, 0.10658540576696396, 0.8023627400398254, -0.5922254920005798, 0.6363757848739624, 0.6574323177337646, 0.700882077217102, 0.5399218797683716, -0.004940410144627094, 0.5389746427536011, -0.22604213654994965, 0.16920199990272522, 0.5950171947479248, 0.11409226804971695, 0.18865825235843658, -0.4894741177558899, 0.28239819407463074, 0.22030897438526154, -0.4231503903865814, -0.5908089280128479, 0.3674004077911377, -0.9728357791900635, -0.8039040565490723, 1.3463904857635498, 0.41032519936561584, -0.30192500352859497, 0.296926349401474, -0.35768967866897583, 0.3131973445415497, -0.7917872667312622, 1.058893084526062, 0.8698492646217346, -0.5223945379257202, -0.6094933748245239, -0.22188805043697357, 0.4680098593235016, 0.7353441119194031, -0.9574326872825623, -0.04425547644495964, 0.28693458437919617, 0.004683186300098896, 0.06665244698524475, 0.37748757004737854, 0.2447286993265152, 0.1030789390206337, -0.0718950554728508, -0.4189441502094269, -0.0686267539858818, -0.14506648480892181, 0.07298213988542557, 0.16374161839485168, 0.3783113956451416, 0.0775928944349289 ]
http://arxiv.org/abs/2406.00016v1
http://arxiv.org/pdf/2406.00016v1
Exploration of Attention Mechanism-Enhanced Deep Learning Models in the Mining of Medical Textual Data
2024-05-23T00:20:14
2024-05-23T00:20:14
Lingxi Xiao, Muqing Li, Yinqiu Feng, Meiqi Wang, Ziyi Zhu, Zexi Chen
cs.CL
cs.CL
The research explores the utilization of a deep learning model employing an attention mechanism in medical text mining. It targets the challenge of analyzing unstructured text information within medical data. This research seeks to enhance the model's capability to identify essential medical information by incorporating deep learning and attention mechanisms. This paper reviews the basic principles and typical model architecture of attention mechanisms and shows the effectiveness of their application in the tasks of disease prediction, drug side effect monitoring, and entity relationship extraction. Aiming at the particularity of medical texts, an adaptive attention model integrating domain knowledge is proposed, and its ability to understand medical terms and process complex contexts is optimized. The experiment verifies the model's effectiveness in improving task accuracy and robustness, especially when dealing with long text. The future research path of enhancing model interpretation, realizing cross-domain knowledge transfer, and adapting to low-resource scenarios is discussed in the research outlook, which provides a new perspective and method support for intelligent medical information processing and clinical decision assistance. Finally, cross-domain knowledge transfer and adaptation strategies for low-resource scenarios, providing theoretical basis and technical reference for promoting the development of intelligent medical information processing and clinical decision support systems.
[ 0.09894803911447525, -0.8372093439102173, 0.9691997170448303, -0.1538156419992447, -0.280508816242218, -0.37798047065734863, -0.30010709166526794, -0.46626800298690796, 0.09959980100393295, 0.6860030889511108, -0.670319139957428, -0.5268996357917786, -0.6683559417724609, -0.005996525753289461, -0.14913201332092285, 1.2576836347579956, -0.12925982475280762, 0.4136950969696045, -0.32265982031822205, -0.14324969053268433, -0.58931964635849, -0.5057499408721924, -0.6346606016159058, -0.49951407313346863, 0.5489131212234497, 0.10224149376153946, 0.46272119879722595, 0.5461898446083069, 1.1610304117202759, 0.18063507974147797, 0.060654085129499435, -0.05937260389328003, -0.3843294084072113, 0.23153847455978394, -0.3833724856376648, -0.6223425269126892, -0.652379035949707, -0.24231649935245514, 0.29802635312080383, 0.7774955630302429, 0.07676687836647034, 0.10897550731897354, 0.22793950140476227, 0.8059819936752319, -0.5150012969970703, 0.12091153860092163, -0.402010977268219, 0.3728882372379303, -0.08341090381145477, -0.49731504917144775, -0.21982140839099884, 0.10235980898141861, 0.49406611919403076, -0.5334131121635437, 0.3299632668495178, -0.11934453994035721, 0.5055217742919922, 0.7950838804244995, -0.2577378749847412, -0.40701189637184143, -0.5309731960296631, 0.6925995945930481, -0.6948488354682922, 0.28719180822372437, 0.34721091389656067, 0.23331980407238007, -0.10133298486471176, -1.0481789112091064, -0.06607955694198608, -0.26111090183258057, -0.21956387162208557, 0.27662423253059387, 0.13559654355049133, 0.2708265781402588, 0.2442459911108017, 0.5619472861289978, -0.31412485241889954, 0.09476058930158615, -0.4609668254852295, 0.16642135381698608, 0.40400123596191406, 0.434127539396286, 0.36727479100227356, -0.06365883350372314, -0.5177209377288818, 0.37337327003479004, -0.5254622101783752, -0.011361007578670979, -0.5294083952903748, 0.22425459325313568, -0.3408031463623047, 0.48938050866127014, -0.3100658357143402, 0.6583374738693237, 0.14945979416370392, 0.25883397459983826, 0.19102434813976288, -0.4429335594177246, -0.6102026104927063, 0.03437294811010361, 0.655164897441864, 0.43737319111824036, -0.059822943061590195, -0.11158152669668198, 0.044508468359708786, -0.06129724159836769, 0.47615569829940796, -0.867897093296051, -0.32072678208351135, 0.4292784333229065, -0.9973925352096558, -0.438815712928772, -0.5458155274391174, -0.9365238547325134, -0.6247339844703674, -0.42698389291763306, 0.24355028569698334, -0.5507553815841675, -0.1540769785642624, 0.40712472796440125, 0.22291125357151031, -0.15891161561012268, 0.22540754079818726, -0.7781197428703308, 0.30213943123817444, 0.5859588384628296, 0.8382498621940613, -0.4866066873073578, 0.0003341928531881422, -0.35681137442588806, 0.19045856595039368, 0.05288367718458176, 0.7001760601997375, -0.7286231517791748, -0.04146643355488777, -0.09198354929685593, 0.08894079923629761, -0.4041689336299896, -0.37645694613456726, 0.8755104541778564, -0.37304428219795227, 0.2126486450433731, -0.08887187391519547, -0.7395381927490234, -0.3786879777908325, 0.2575950026512146, -0.809370219707489, 0.5252393484115601, 0.0774058848619461, -0.9125178456306458, 0.2699993848800659, -1.0982093811035156, -0.6206537485122681, 0.07517364621162415, 0.02443305402994156, -0.48878225684165955, 0.3730406165122986, 0.3637469708919525, 0.8009603023529053, -0.5852152705192566, 0.3676826059818268, -0.43100705742836, -0.13848842680454254, 0.4013270437717438, -0.21464818716049194, 0.7822237014770508, 0.21794500946998596, -0.20354579389095306, 0.2421512007713318, -0.6571608185768127, -0.12192168831825256, 0.2087954580783844, -0.3095705807209015, -0.536902904510498, 0.04270221292972565, -0.06642267853021622, 0.20807619392871857, 0.10697241127490997, -0.11769799143075943, 0.10406719893217087, -0.7310317158699036, 0.4409118592739105, 0.23727627098560333, 0.44778791069984436, 0.468332439661026, -0.013169338926672935, 0.3393145501613617, 0.05278845876455307, 0.40330755710601807, -0.19282183051109314, -0.21587789058685303, -0.5761775970458984, 0.009900780394673347, 0.5442653894424438, 0.45909354090690613, -0.3738281726837158, 0.15517127513885498, -0.07639028877019882, 0.04209103435277939, -0.8375781178474426, -0.023911403492093086, 0.3358609974384308, 0.6511795520782471, 0.5267261862754822, -0.2909694314002991, -0.538535475730896, -0.6928843855857849, -0.3550031781196594, 0.31173357367515564, 0.07928495854139328, 0.4705117642879486, 0.3764388859272003, -0.5740094780921936, 0.3019755780696869, -0.5220085382461548, -0.5096839070320129, -0.2702319920063019, -0.14603672921657562, 0.31661882996559143, 0.3818051815032959, 0.581848680973053, -1.0003812313079834, -0.34237900376319885, 0.17341063916683197, -0.9806379675865173, 0.188909113407135, -0.04628350958228111, -0.04604102298617363, -0.06010874733328819, 0.5600151419639587, -0.599254310131073, 0.30539265275001526, 0.249112069606781, -0.22472240030765533, -0.0515197217464447, -0.1571686714887619, 0.20226408541202545, -0.990546464920044, 0.24497848749160767, 0.24240678548812866, -0.034722838550806046, -0.9970533847808838, 0.3552689850330353, 0.13518697023391724, -0.059823594987392426, -0.27563464641571045, 0.657498300075531, -0.46619874238967896, 0.26267188787460327, -0.5123440623283386, 0.021884888410568237, -0.005174244754016399, 0.4514600932598114, 0.059286948293447495, 0.026372244581580162, 0.6713196039199829, -0.7096412777900696, 0.4623706340789795, 0.05463468283414841, -0.07989322394132614, 0.686777651309967, -0.4534739851951599, -0.010168476961553097, -0.12889672815799713, -0.2131701409816742, -0.8645597100257874, -0.3894878923892975, 0.46846750378608704, -0.6341646313667297, 0.5777953267097473, -0.03561367839574814, -0.10415491461753845, -0.5020790100097656, -0.23385410010814667, 0.24980689585208893, 0.25570622086524963, -0.2387821227312088, 0.5875072479248047, 0.5148358941078186, -0.33124494552612305, -0.4069344401359558, -0.6129078269004822, 0.08871472626924515, -0.21561433374881744, -0.2308052033185959, 0.43596598505973816, 0.02749624103307724, -0.17726610600948334, 0.22201089560985565, 0.10270515084266663, -0.18506678938865662, 0.16722902655601501, 0.15338553488254547, 0.297453910112381, -0.1813378483057022, 0.6300826668739319, 0.26871368288993835, -0.09840859472751617, 0.288859099149704, -0.1603378802537918, 0.2624870240688324, 0.44165778160095215, -0.0005501083796843886, -0.5384344458580017, 0.4099588096141815, 0.5294507145881653, -0.35168886184692383, 0.5201878547668457, 0.5396357178688049, -0.8169145584106445, 0.12899327278137207, -0.4204840064048767, -0.463249534368515, -0.34514570236206055, 0.6496675610542297, -0.20464055240154266, -0.5997605919837952, 0.3190123438835144, -0.318768709897995, -0.21536080539226532, 0.6688147187232971, 0.8609482049942017, -0.030176790431141853, 1.0486125946044922, 0.8614392280578613, -0.11727222800254822, 0.20521476864814758, 0.005638474598526955, 0.007160823326557875, -1.0924891233444214, -0.27383890748023987, -0.2500911355018616, -0.37656259536743164, -0.24676023423671722, -0.40777531266212463, 0.32610636949539185, -0.22650963068008423, -0.1005859300494194, -0.14271560311317444, -0.750430166721344, -0.02408921718597412, 0.3607526123523712, 0.5600576996803284, 0.2744778096675873, 0.07457578927278519, -0.11410204321146011, -0.17086735367774963, -0.6562678217887878, -0.07582781463861465, 1.395992636680603, 0.6432807445526123, 0.8174973130226135, -0.43030068278312683, 0.4055579602718353, 0.28971683979034424, 0.3357318341732025, -0.8160136342048645, 0.14529098570346832, -0.21256455779075623, -0.6187933683395386, -0.31472527980804443, -0.13996867835521698, -0.7546031475067139, -0.13678213953971863, -0.3885383903980255, -0.4300675392150879, 0.32128316164016724, -0.008026963099837303, -0.7317076325416565, -0.00791835319250822, -0.8291452527046204, 0.8144851922988892, -0.4140571355819702, -0.40159177780151367, -0.28116554021835327, -0.7731641530990601, 0.09916310757398605, -0.17383992671966553, 0.04162611812353134, 0.08476866781711578, -0.179270401597023, 0.6765734553337097, 0.1223011165857315, 1.0783051252365112, -0.2203999161720276, 0.055993080139160156, 0.05583547055721283, -0.2607133090496063, 0.5644031167030334, 0.1257195919752121, -0.015625976026058197, 0.03494318574666977, -0.3257240355014801, -0.17374786734580994, -0.4962407648563385, 0.73853600025177, -0.5008212924003601, -0.600847065448761, -0.13998886942863464, -0.7025666832923889, -0.14213302731513977, 0.41557958722114563, 0.2045830488204956, 0.0715443566441536, -0.16202910244464874, 0.25881361961364746, 0.7618787884712219, -0.11674272269010544, 0.3057515621185303, 0.4624131917953491, 0.18192437291145325, -0.27004340291023254, 0.5122267603874207, 0.007092995103448629, -0.010703958570957184, 0.7103599309921265, 0.06981552392244339, -0.09172022342681885, -0.9355617761611938, -0.3719119429588318, 0.08081324398517609, -0.5112223625183105, -0.34182050824165344, -1.1089673042297363, -0.30090779066085815, -0.4193229079246521, 0.23853352665901184, -0.09947194904088974, -0.05936896428465843, -0.5594241619110107, -0.19762398302555084, 0.5176553130149841, 0.4758378267288208, 0.4047972857952118, 0.12540610134601593, -0.8092931509017944, 0.4635169506072998, 0.06533659994602203, 0.42007845640182495, 0.12161346524953842, -0.2940944731235504, -0.5907171964645386, -0.14255096018314362, -0.1918419897556305, -0.9342635273933411, 0.31210681796073914, -0.014710548333823681, 0.6876971125602722, 0.37745168805122375, 0.04024014621973038, 0.23783749341964722, -0.4254741966724396, 0.28070834279060364, 0.12053805589675903, -0.5808495879173279, 0.7487565279006958, -0.26586151123046875, 0.12380845099687576, 0.46237629652023315, 0.4506326913833618, -0.30371418595314026, -0.19094358384609222, -0.3907923400402069, -0.6352823972702026, 0.6778416633605957, 0.09895738214254379, -0.11892383545637131, 0.382720410823822, 0.7574313282966614, 0.2074870765209198, 0.10989827662706375, -0.7627696394920349, -0.12707701325416565, 0.12023692578077316, -0.7100446820259094, 0.06642662733793259, -0.27932074666023254, -0.22804415225982666, -0.12630696594715118, 0.42704126238822937, -0.3443651497364044, 0.31472301483154297, 0.668743908405304, -0.19648556411266327, -0.2791326344013214, 0.2043798267841339, 0.4971083402633667, 0.4946322441101074, -0.17851164937019348, -0.16004034876823425, 0.3035016655921936, -0.725376307964325, -0.21799065172672272, 0.434589147567749, -0.10683445632457733, -0.26853612065315247, 0.355056494474411, 0.9048385620117188, 0.18375898897647858, -0.5021783709526062, 0.3574668765068054, -0.09353512525558472, 0.03361498937010765, -0.03825795277953148, 0.13038191199302673, 0.1098974347114563, 0.48112019896507263, 0.33135271072387695, 0.11008740216493607, 0.8543421626091003, -0.40649619698524475, 0.25178587436676025, 0.3659835457801819, -0.9214288592338562, -0.16146701574325562, 0.800269603729248, 0.3022627532482147, -0.2129577100276947, 0.1870521456003189, 0.38443389534950256, -0.1638716161251068, 0.6436285972595215, 0.3687558174133301, 0.6270354390144348, -0.5080188512802124, -0.12680193781852722, 0.12887299060821533, 0.08308866620063782, 0.028713596984744072, 0.18670497834682465, -0.012807314284145832, -0.2876669764518738, -0.5486897230148315, -0.34061720967292786, -0.13365928828716278, 0.38968539237976074, -0.5682625770568848, 0.2965278923511505, -0.24519477784633636, -0.2933841943740845, 0.42716410756111145, 0.09432197362184525, -0.707075297832489, 0.7118443846702576, 0.06646421551704407, 0.644768476486206, -0.5760498046875, 0.7807351350784302, 0.8206356763839722, -0.20686115324497223, -0.1396288126707077, 0.06432274729013443, -0.07504106312990189, -0.8992245197296143, 0.5038182735443115, 0.13930092751979828, 0.3210812509059906, -0.21922260522842407, -0.4121716618537903, -0.728065013885498, 0.7706471681594849, 0.10858374089002609, -0.7692580819129944, -0.2508280277252197, 0.016046933829784393, 0.8208710551261902, -0.575119137763977, -0.03888450190424919, 0.527660071849823, 0.2973985970020294, -0.2715880572795868, -0.5010929703712463, 0.4967750012874603, -0.3596111834049225, -0.2337953895330429, 0.17366398870944977, -0.45565280318260193, 0.8320940136909485, -0.5369240641593933, -0.07642149925231934, 0.058089252561330795, 0.3718210458755493, -0.004677535966038704, 0.6027052402496338, 0.10551272332668304, 0.5423797369003296, 0.62213134765625, 0.11391519755125046, 1.1281988620758057, -0.36509600281715393, 0.4401571750640869, 0.9342384338378906, -0.5521356463432312, 0.3661837577819824, 0.4243029057979584, -0.08520392328500748, 0.3672456443309784, 0.6162261962890625, -0.1335482895374298, 0.8169146180152893, -0.10661765187978745, -0.18785512447357178, -0.16346780955791473, -0.1590520292520523, -0.49420681595802307, 0.0863584354519844, 0.6668276190757751, -1.0741859674453735, 0.13997195661067963, 0.485456258058548, -0.2304157316684723, -0.12543819844722748, -0.579926073551178, 1.0922338962554932, 0.25749579071998596, -0.669965386390686, 0.30336177349090576, -0.14584232866764069, 0.25382018089294434, -0.2249339073896408, -0.19838322699069977, 0.05717587471008301, 0.6215345859527588, -0.25212347507476807, -0.7429903149604797, 0.013165153563022614, -0.22082991898059845, -0.6361342668533325, 0.3460651636123657, 1.2661687135696411, -0.27417802810668945, -0.6506795287132263, 0.5528979301452637, 0.39305442571640015, -0.15299130976200104, -0.14300884306430817, -0.9862589240074158, -0.14044958353042603, 0.19841448962688446, -0.27321240305900574, 0.394375741481781, 0.745834231376648, 0.030497169122099876, 0.5319938063621521, 0.6150178909301758, 0.23338519036769867, -0.31628507375717163, 0.2087179273366928, 0.8696061372756958, -0.9726940989494324, -0.44487765431404114, -1.044729232788086, 0.3381745517253876, -0.361106276512146, -0.06812221556901932, 0.3743878901004791, 0.314557284116745, 0.3563728332519531, -0.15182536840438843, 0.8902238607406616, 0.4354195296764374, 0.8400736451148987, -0.6911160349845886, 0.8660096526145935, -0.5403291583061218, 0.028636623173952103, -0.035207007080316544, -0.469794899225235, -0.5575465559959412, 0.29085779190063477, -0.23473858833312988, 0.13721637427806854, 0.9483993053436279, 0.17440195381641388, -0.06977886706590652, 0.026660170406103134, 0.0818503201007843, 0.4547143578529358, -0.01974169909954071, 0.9592862129211426, 0.29420801997184753, -0.5561344623565674, 0.2466576099395752, -0.2184339165687561, -0.32584741711616516, -0.5971555709838867, -0.49368977546691895, -1.170418620109558, -0.3844442069530487, -0.2346874177455902, -0.17352063953876495, 0.26278558373451233, 0.6053465604782104, 0.6620189547538757, -0.7266777157783508, 0.42695561051368713, -0.053763248026371, 0.06044093146920204, -0.3095356225967407, -0.20421233773231506, 0.763130247592926, -0.5321641564369202, -0.5964317321777344, 0.10394573956727982, 0.5758525729179382, -0.019987165927886963, 0.0154737439006567, 0.051644548773765564, -0.14085949957370758, -0.12761521339416504, 0.554961621761322, 0.07418595254421234, -0.38160133361816406, 0.24908146262168884, 0.28341853618621826, -0.2315315157175064, 0.12882539629936218, 1.0829492807388306, -0.7625372409820557, 0.447165846824646, 0.2940118908882141, 0.7999960780143738, 0.3738475441932678, -0.2481534779071808, 0.575957179069519, -0.32580476999282837, 0.0805511325597763, 0.3840077221393585, 0.3503605127334595, 0.2973349392414093, -0.9993860721588135, 0.6087512969970703, 0.023111935704946518, -0.546884298324585, -0.6869845986366272, -0.10946675390005112, -0.8413283824920654, -0.474627286195755, 0.9221624135971069, -0.03711024299263954, -0.4477623999118805, -0.28322654962539673, -0.3160196542739868, 0.48954156041145325, -0.225989431142807, 0.9292721748352051, 0.4007806181907654, -0.2376684844493866, -0.21145260334014893, -0.8526750206947327, 0.7366170883178711, 0.3737323582172394, -0.9263728260993958, 0.23648016154766083, 0.04167405143380165, 0.1750420331954956, 0.15736731886863708, 0.5991811752319336, -0.4032713770866394, 0.4779249131679535, -0.5055599808692932, 0.004647817928344011, 0.13317131996154785, -0.17694532871246338, -0.5076147317886353, 0.2292279601097107, -0.29601502418518066, -0.11513447761535645 ]
http://arxiv.org/abs/2405.14061v1
http://arxiv.org/pdf/2405.14061v1
Meanings and Feelings of Large Language Models: Observability of Latent States in Generative AI
2024-05-22T23:18:58
2024-05-22T23:18:58
Tian Yu Liu, Stefano Soatto, Matteo Marchi, Pratik Chaudhari, Paulo Tabuada
cs.AI
cs.AI, cs.CL, cs.LG
We tackle the question of whether Large Language Models (LLMs), viewed as dynamical systems with state evolving in the embedding space of symbolic tokens, are observable. That is, whether there exist multiple 'mental' state trajectories that yield the same sequence of generated tokens, or sequences that belong to the same Nerode equivalence class ('meaning'). If not observable, mental state trajectories ('experiences') evoked by an input ('perception') or by feedback from the model's own state ('thoughts') could remain self-contained and evolve unbeknown to the user while being potentially accessible to the model provider. Such "self-contained experiences evoked by perception or thought" are akin to what the American Psychological Association (APA) defines as 'feelings'. Beyond the lexical curiosity, we show that current LLMs implemented by autoregressive Transformers cannot have 'feelings' according to this definition: The set of state trajectories indistinguishable from the tokenized output is a singleton. But if there are 'system prompts' not visible to the user, then the set of indistinguishable trajectories becomes non-trivial, and there can be multiple state trajectories that yield the same verbalized output. We prove these claims analytically, and show examples of modifications to standard LLMs that engender such 'feelings.' Our analysis sheds light on possible designs that would enable a model to perform non-trivial computation that is not visible to the user, as well as on controls that the provider of services using the model could take to prevent unintended behavior.
[ -0.31910860538482666, -0.7265340089797974, 0.9202362895011902, 0.2077879011631012, -0.2431393712759018, 0.06720571964979172, -0.2818092703819275, -0.5291585326194763, 0.45712020993232727, 0.33179527521133423, -0.5891544222831726, -0.2181982398033142, -0.5295053124427795, 0.07246261090040207, -0.8231494426727295, 0.8949063420295715, -0.15831564366817474, -0.407507061958313, -0.2074846625328064, -0.13352447748184204, -0.050033800303936005, -0.6579664349555969, -0.4273243248462677, -0.36977776885032654, 0.48301687836647034, -0.07353978604078293, 0.8466652631759644, 0.3019803464412689, 0.3468945622444153, 0.28101781010627747, -0.19255474209785461, -0.2566335201263428, -0.42128536105155945, 0.39707133173942566, -0.054130543023347855, -0.7296347618103027, -0.4231734871864319, -0.020457198843359947, 0.6669707298278809, 0.7473931312561035, -0.12018314749002457, -0.16733615100383759, 0.0666109248995781, 0.6689736843109131, -0.5633531212806702, 0.3886839747428894, -0.46866554021835327, 0.3641839921474457, -0.045988261699676514, 0.016429703682661057, -0.3982241153717041, -0.2790665328502655, 0.014620346017181873, -0.19534911215305328, -0.11927645653486252, -0.023434985429048538, 0.7016369104385376, 0.5136032104492188, -0.5134830474853516, -0.37943774461746216, -0.9547914266586304, 0.7280071973800659, -0.7609699964523315, 0.5102324485778809, 0.06236764043569565, -0.00588644715026021, -0.07725764065980911, -0.44159266352653503, -1.0385234355926514, -0.5704354643821716, -0.07482197880744934, 0.20470835268497467, -0.5426181554794312, 0.23536105453968048, 0.5436615347862244, 0.6492677927017212, -0.5069074034690857, 0.2749881148338318, 0.026639439165592194, 0.07077708840370178, 0.5241153836250305, 0.4430043697357178, 0.4017370343208313, -0.16275067627429962, -0.3391968905925751, 0.07208152115345001, -0.7816686630249023, 0.16362379491329193, 0.41918230056762695, 0.0269558597356081, -0.4628807604312897, 0.7066054344177246, 0.020527679473161697, 0.542161762714386, 0.04153174161911011, 0.1207394003868103, 0.23310750722885132, 0.11571148782968521, -0.40926194190979004, -0.1907520592212677, 0.9318198561668396, -0.12217872589826584, 0.2489311695098877, -0.2710787057876587, -0.4762570261955261, 0.41775408387184143, 0.3651624023914337, -0.5100324153900146, -0.2335306853055954, 0.3043852746486664, -0.5450742244720459, -0.1530531793832779, 0.11892890185117722, -0.32177820801734924, -0.4333079755306244, -0.3513084053993225, 0.3234294652938843, -0.1853996366262436, -0.4323502480983734, 0.023540914058685303, 0.16062815487384796, 0.17583584785461426, 0.23290418088436127, -1.0331779718399048, 0.3122578561306, 0.7084956169128418, 0.7403202652931213, -0.3203648030757904, -0.3867642879486084, 0.08766405284404755, -0.09355497360229492, -0.5712776780128479, 0.5454927086830139, -0.4746650755405426, -0.5667930841445923, 0.06562481075525284, 0.09586026519536972, 0.014685800299048424, -0.3257305324077606, -0.19844727218151093, -0.6654117703437805, 0.025047942996025085, -0.23545505106449127, -0.5937471389770508, 0.07968880981206894, 0.13237698376178741, -0.5707318782806396, 0.7048391699790955, -0.1715995967388153, -0.5118126273155212, 0.1541205644607544, -0.7861136794090271, -0.5504595637321472, -0.0607791468501091, -0.41739732027053833, 0.09651868045330048, 0.7367089986801147, -0.576399564743042, 0.5335844159126282, -0.07730426639318466, 0.2268684208393097, -0.37107789516448975, -0.22225458920001984, 0.582716703414917, -0.5026699900627136, 0.641711950302124, 0.28591668605804443, -0.5235345363616943, 0.08192064613103867, -0.5871818661689758, -0.11809694766998291, 0.19833751022815704, -0.425126850605011, -0.22108900547027588, 0.24941489100456238, -0.17831262946128845, 0.268232524394989, 0.42209288477897644, -0.6174232363700867, 0.5055103898048401, -0.6264209747314453, 0.5119123458862305, 1.0318098068237305, -0.18106625974178314, 0.5107966661453247, 0.05575549229979515, 0.6861584186553955, 0.22264905273914337, 0.14756272733211517, -0.2536504864692688, -0.48809799551963806, -1.012387990951538, -0.04436403885483742, -0.3153201937675476, 0.21073618531227112, -0.6233078241348267, 0.37365251779556274, -0.03945514187216759, -0.41906577348709106, -0.1909748762845993, -0.26080578565597534, 0.22371630370616913, 0.2894633412361145, -0.10232667624950409, -0.101621612906456, -0.2584192454814911, -0.9684181213378906, -0.2907828688621521, -0.3993348479270935, 0.13292860984802246, 0.30579450726509094, 0.5096541047096252, -0.26399365067481995, 0.8145828247070312, -0.7565529346466064, 0.10664620995521545, 0.04336471110582352, 0.16574442386627197, 0.35544171929359436, 0.23324929177761078, 0.41389161348342896, -0.6078380942344666, -0.12923933565616608, -0.030927490442991257, -1.1677942276000977, 0.03274976462125778, -0.053440239280462265, 0.30110061168670654, 0.36907488107681274, 0.46588224172592163, -0.709463357925415, 0.5906684398651123, 0.7037715911865234, -0.4514629542827606, 0.4387553930282593, -0.2823391556739807, -0.027782399207353592, -0.9337883591651917, 0.08773329854011536, -0.33013373613357544, -0.025607723742723465, -0.5566926002502441, 0.1730809360742569, -0.030822571367025375, -0.1337001770734787, -0.502091646194458, 0.7403575778007507, -0.3958137035369873, -0.43858516216278076, -0.6286112666130066, -0.0887133851647377, -0.12310459464788437, 0.30872321128845215, 0.0021922020241618156, 0.7449143528938293, 0.7268662452697754, -0.874497652053833, 0.6483189463615417, 0.1381448656320572, -0.42059966921806335, 0.4696626663208008, -0.6214370727539062, 0.2502236068248749, -0.3435039222240448, 0.17903216183185577, -0.7869926691055298, 0.025153005495667458, 0.31575438380241394, -0.44648563861846924, 0.043674200773239136, 0.1822718381881714, -0.6102428436279297, -0.13972415030002594, 0.2027721405029297, 0.44508326053619385, 0.6278942823410034, -0.4498407542705536, 0.6173694729804993, 0.2914685606956482, -0.02763579785823822, -0.38566556572914124, -0.861362636089325, 0.2323956936597824, -0.10183946788311005, -0.2507885694503784, -0.18508754670619965, -0.17270348966121674, -0.4846401512622833, 0.15948908030986786, 0.2635972499847412, 0.1487686038017273, 0.3690367341041565, 0.7806050777435303, 0.24695415794849396, -0.01852109469473362, 0.5370973348617554, 0.01669337786734104, -0.14244811236858368, 0.42641904950141907, -0.43578675389289856, 0.6672221422195435, -0.22211968898773193, -0.7899328470230103, -0.3226131498813629, 0.40223997831344604, 0.8149531483650208, -0.2457568496465683, 0.7277830243110657, 0.4711569547653198, -0.6691113710403442, -0.1667492836713791, -0.10872762650251389, -0.08438892662525177, -0.4401266276836395, 0.18721091747283936, -0.6128577589988708, -1.070029616355896, 0.6540260910987854, 0.15774327516555786, -0.008683313615620136, 0.4752722680568695, 0.7921571731567383, -0.24629774689674377, 1.0999854803085327, 0.668343186378479, -0.19545379281044006, 0.34501078724861145, -0.28903698921203613, 0.5372752547264099, -0.9637871980667114, -0.2706722319126129, -0.5042563676834106, -0.35131675004959106, -0.8647712469100952, -0.051132287830114365, 0.383838027715683, -0.1852077841758728, -0.37847790122032166, -0.10104610025882721, -0.20761728286743164, 0.19897818565368652, 0.39881375432014465, -0.1748991161584854, 0.19156499207019806, -0.1454411745071411, -0.1164359301328659, -0.06269374489784241, -0.4159660339355469, -0.5863262414932251, 0.7700787782669067, 0.15907375514507294, 1.19331955909729, 0.4741441607475281, 0.6418311595916748, 0.451454222202301, 0.18250353634357452, -1.1327056884765625, 0.6425880193710327, -0.15357469022274017, -0.5780653357505798, -0.28873521089553833, -0.20721298456192017, -1.011682152748108, -0.039448827505111694, -0.35107186436653137, -1.252718210220337, 0.40517309308052063, 0.35810795426368713, -0.2455083280801773, 0.5039253830909729, -0.47610554099082947, 0.6275671720504761, -0.224788635969162, -0.19285260140895844, -0.304878830909729, -0.31699103116989136, 0.48752471804618835, -0.1750904768705368, 0.0907781720161438, -0.05806754529476166, -0.00572730740532279, 0.5249442458152771, -0.4080621004104614, 0.8786888122558594, -0.12766937911510468, -0.41949009895324707, 0.1470257192850113, 0.31228184700012207, 0.4807262420654297, -0.3047963082790375, 0.10282035171985626, 0.0774814710021019, -0.08004774153232574, -0.26218098402023315, -0.8625598549842834, 0.870938241481781, -0.9332098364830017, -0.6832553744316101, -0.5349076390266418, -0.3989618718624115, -0.0771215409040451, 0.30609411001205444, 0.0791875422000885, 0.3823918402194977, -0.3030337393283844, -0.00530965393409133, 0.627052366733551, -0.3667948544025421, 0.49855664372444153, 0.46420320868492126, -0.5709496736526489, 0.23725782334804535, 0.889973521232605, -0.053219206631183624, 0.41696256399154663, 0.39594417810440063, 0.1968744546175003, -0.47342318296432495, -0.26478952169418335, -0.27235865592956543, 0.22063645720481873, -0.750885009765625, 0.2501281797885895, -0.6372519731521606, -0.08877737820148468, -0.13311657309532166, 0.011076726950705051, -0.41196098923683167, -0.18854409456253052, -0.4369381368160248, -0.08720863610506058, 0.2206333428621292, 1.2982033491134644, -0.07209723442792892, 0.3572295308113098, -0.5882121324539185, 0.3441998362541199, 0.37280938029289246, 0.49542972445487976, 0.2415398359298706, -0.4335068464279175, -0.2734812796115875, 0.036128684878349304, 0.03406079486012459, -0.8842450380325317, 0.40567857027053833, -0.18217051029205322, 0.1907455027103424, 0.8669336438179016, -0.013877985067665577, 0.4761172831058502, -0.4404970407485962, 1.0053086280822754, 0.2556527853012085, -1.2047253847122192, 0.41085895895957947, -0.2958981394767761, 0.24862007796764374, -0.10186457633972168, 0.2858721911907196, -0.6770078539848328, -0.41620543599128723, -0.6962460875511169, -0.5225166082382202, 0.5935207605361938, -0.18614760041236877, 0.5595149397850037, -0.27849018573760986, 0.4433486759662628, 0.011530494317412376, 0.5031610131263733, -0.6207481026649475, -0.43225932121276855, -0.24277980625629425, -0.19604864716529846, -0.3883437514305115, -0.3216080963611603, 0.05607592687010765, 0.17122283577919006, 0.37996020913124084, -0.05098859593272209, 0.5903245806694031, -0.16420221328735352, 0.04126531630754471, -0.21838346123695374, 0.30450865626335144, 0.5136843323707581, 0.5639863610267639, -0.038474638015031815, 0.4445587992668152, -0.18609753251075745, -0.2662643790245056, 0.3810492753982544, -0.31430700421333313, -0.30097851157188416, -0.1465306580066681, 0.19805794954299927, 1.0365562438964844, 0.07916251569986343, -0.5375790596008301, 0.5631861090660095, -0.09434989094734192, 0.15668286383152008, -0.6688316464424133, 0.07249409705400467, 0.06963350623846054, 0.37743064761161804, 0.162821963429451, 0.023618435487151146, 0.05738015100359917, -0.9514287114143372, -0.17136158049106598, 0.6440767049789429, -0.6380197405815125, -0.7928817868232727, 0.7618544101715088, -0.22019647061824799, -0.5015130043029785, 0.6645049452781677, -0.2037276029586792, -0.4845120310783386, 0.4502682387828827, 0.42019087076187134, 1.0478547811508179, -0.20633865892887115, -0.03033023327589035, -0.070892333984375, 0.33237364888191223, 0.04026784002780914, 0.4021971523761749, 0.03852197527885437, -1.0512906312942505, -0.27909955382347107, -0.5248210430145264, -0.4308464527130127, 0.20031093060970306, -0.8145946264266968, -0.07469262927770615, -0.5141922235488892, -0.23852093517780304, 0.021752040833234787, -0.4575223922729492, -0.8395921587944031, 0.35648679733276367, 0.30651310086250305, 0.6046984195709229, -1.1286619901657104, 0.6815323233604431, 0.8519313931465149, -0.302051305770874, -0.8666915893554688, 0.03762602061033249, -0.06867516785860062, -0.8916025161743164, 0.7136954069137573, -0.14957518875598907, -0.131450816988945, 0.037565331906080246, -0.5664767026901245, -0.901362955570221, 0.7567666172981262, 0.2618221938610077, -0.4138573706150055, -0.059365447610616684, 0.1476290076971054, 0.7062411904335022, -0.19081458449363708, 0.2259432077407837, 0.33397531509399414, 0.4660983979701996, -0.13309508562088013, -0.7809932231903076, -0.06738132238388062, -0.11496317386627197, -0.061995215713977814, 0.2779074013233185, -0.7171815633773804, 1.094992756843567, -0.20245110988616943, -0.4155689775943756, 0.10249114781618118, 0.695741593837738, -0.021710211411118507, 0.09312227368354797, 0.45094484090805054, 0.7198581695556641, 0.5330930352210999, -0.12243366241455078, 1.227918028831482, -0.3658015727996826, 0.34833794832229614, 0.8219777941703796, -0.3179316520690918, 0.741240382194519, 0.5485449433326721, -0.4910602867603302, 0.5138914585113525, 0.3285630941390991, 0.23413342237472534, 0.2650822699069977, 0.2835109233856201, -0.39119434356689453, -0.31907573342323303, -0.19085563719272614, -0.09899923950433731, 0.7978994250297546, 0.39574530720710754, -0.4453575909137726, 0.017162803560495377, 0.138118714094162, -0.022155527025461197, -0.10532122850418091, -0.14334245026111603, 0.7292864918708801, 0.38291028141975403, -0.564405620098114, 0.4041631519794464, -0.14314016699790955, 0.44526585936546326, -0.5307137966156006, 0.05230078846216202, -0.35944685339927673, 0.08893576264381409, -0.33720630407333374, -0.9166175723075867, 0.3131849467754364, 0.1679367870092392, -0.37615659832954407, -0.25559118390083313, 0.41673073172569275, 0.04556644335389137, -0.31286200881004333, 0.23728187382221222, 0.8610764741897583, 0.5960685014724731, -0.07846586406230927, -0.46500152349472046, 0.3085622489452362, -0.09465989470481873, -0.3373824656009674, 0.38347312808036804, 0.41345804929733276, -0.0008995570824481547, 0.84175705909729, 0.44028139114379883, 0.3441559076309204, 0.11276530474424362, 0.09210464358329773, 0.7882177233695984, -0.8319648504257202, -0.5080811977386475, -1.0029754638671875, 0.2765948474407196, 0.508905827999115, -0.10029850155115128, 0.5815754532814026, 0.36421236395835876, 0.787176251411438, -0.08411464840173721, 0.9641834497451782, -0.04000096768140793, 0.269569993019104, -0.5549471974372864, 0.7428442239761353, -0.6240467429161072, 0.20394259691238403, -0.30033671855926514, -0.9418336749076843, 0.04593517631292343, 0.666293740272522, -0.4050656855106354, 0.02518053539097309, 0.6807025671005249, 0.4501984417438507, 0.1294284462928772, 0.06621575355529785, 0.6217199563980103, 0.6126672625541687, 0.39984551072120667, 0.5510867238044739, 1.3938642740249634, 0.02804330177605152, -0.0854552686214447, 0.1790953278541565, -0.18626025319099426, 0.017992576584219933, -0.7348074316978455, -0.548008382320404, -0.8489368557929993, -0.16525842249393463, -0.2464534044265747, -0.050695378333330154, 0.7028400897979736, 0.3537629246711731, -0.5587233304977417, -0.24815356731414795, -0.13178302347660065, 0.09162238985300064, 0.22173258662223816, -0.2654775381088257, 0.34306931495666504, -0.15560932457447052, -0.8150253295898438, 0.27199557423591614, 0.4810884892940521, 0.3976479172706604, -0.8767428994178772, -0.003067795652896166, 0.23301012814044952, 0.051515351980924606, 0.7267852425575256, 0.5365854501724243, -0.9893379807472229, -0.5649374723434448, 0.00833361316472292, -0.027278205379843712, -0.03812634199857712, 0.656090259552002, -0.9222349524497986, 0.499254047870636, 0.2641509473323822, 0.46407458186149597, 0.35972243547439575, -0.2592790126800537, 0.36046433448791504, -0.37764066457748413, 0.1378280222415924, 0.10559330880641937, 0.5733888149261475, 0.13559043407440186, -0.24836759269237518, 0.04662911221385002, 0.1758069097995758, -0.4152440130710602, -0.5861338376998901, 0.7324255704879761, -0.8437821269035339, -0.040663547813892365, 1.1765151023864746, -0.3353700637817383, -0.1892949789762497, 0.23016878962516785, 0.29232436418533325, 0.19497846066951752, -0.2591225206851959, 0.8738552927970886, 0.5903944373130798, -0.5051735043525696, -0.031405672430992126, -0.39384496212005615, 0.2961694598197937, 0.397992879152298, -0.7442115545272827, 0.008947400376200676, 0.6433855295181274, 0.07015261054039001, 0.18005502223968506, 0.6647239327430725, -0.009131823666393757, -0.08311692625284195, -0.14629718661308289, 0.22451405227184296, 0.0675576701760292, -0.21170209348201752, -0.6280394792556763, 0.035987596958875656, 0.33202651143074036, -0.15544778108596802 ]
http://arxiv.org/abs/2405.14057v1
http://arxiv.org/pdf/2405.14057v1
Your Large Language Models Are Leaving Fingerprints
2024-05-22T23:02:42
2024-05-22T23:02:42
Hope McGovern, Rickard Stureborg, Yoshi Suhara, Dimitris Alikaniotis
cs.CL
cs.CL, cs.AI
It has been shown that finetuned transformers and other supervised detectors effectively distinguish between human and machine-generated text in some situations arXiv:2305.13242, but we find that even simple classifiers on top of n-gram and part-of-speech features can achieve very robust performance on both in- and out-of-domain data. To understand how this is possible, we analyze machine-generated output text in five datasets, finding that LLMs possess unique fingerprints that manifest as slight differences in the frequency of certain lexical and morphosyntactic features. We show how to visualize such fingerprints, describe how they can be used to detect machine-generated text and find that they are even robust across textual domains. We find that fingerprints are often persistent across models in the same model family (e.g. llama-13b vs. llama-65b) and that models fine-tuned for chat are easier to detect than standard language models, indicating that LLM fingerprints may be directly induced by the training data.
[ -0.39989522099494934, -0.6967722177505493, 0.6176933646202087, -0.31524261832237244, -0.2730090618133545, 0.45310789346694946, 0.06855560094118118, -0.8918840289115906, -0.061118051409721375, 0.9327788949012756, -0.25795719027519226, -0.44527667760849, -0.7818965315818787, 0.13220135867595673, -0.8635013103485107, 1.0494494438171387, 0.3089272081851959, -0.038707416504621506, -0.2916056513786316, -0.014174378477036953, 0.08119464665651321, -0.9526495337486267, -0.5560951232910156, -0.4712553918361664, 0.32686683535575867, 0.16780832409858704, 0.5896215438842773, 1.0560652017593384, 0.3504618704319, 0.19392062723636627, -0.31616270542144775, 0.3480440080165863, -0.40605905652046204, 0.2181728035211563, 0.0646725445985794, -0.5107802748680115, -0.1870192289352417, 0.01113883312791586, 0.6847691535949707, 0.6440677642822266, 0.3746269643306732, 0.22399483621120453, 0.2615199387073517, 0.5459091663360596, -0.49041399359703064, 0.1271234005689621, -0.7894330024719238, -0.2605288624763489, -0.7879343032836914, -0.2332049459218979, -0.8114480972290039, 0.043717142194509506, -0.1796158105134964, -0.20813408493995667, 0.4473803639411926, -0.037050504237413406, 1.0562069416046143, 0.15631484985351562, -0.5809616446495056, -0.3598771095275879, -0.9144513010978699, 0.6731988787651062, -0.5515740513801575, 0.3994000554084778, 0.4885750114917755, 0.2093290090560913, -0.26336410641670227, -0.6466178297996521, -0.6231753826141357, -0.44827502965927124, -0.003695447463542223, -0.10952278226613998, -0.06292581558227539, -0.05202604830265045, 0.42679983377456665, 0.37446078658103943, -0.33394932746887207, 0.4388693869113922, -0.13671235740184784, -0.7075397968292236, 0.6730185747146606, 0.26873353123664856, 0.4910232722759247, 0.17903108894824982, -0.20438168942928314, -0.2846865653991699, -1.0330743789672852, 0.13941964507102966, 0.45845890045166016, 0.3988846242427826, -0.18325336277484894, 0.5799098014831543, -0.0068253763020038605, 0.7264082431793213, 0.045391786843538284, -0.3975253403186798, -0.084490567445755, -0.25133636593818665, 0.11934901028871536, -0.27332621812820435, 0.8574532270431519, 0.1441974639892578, 0.5891510248184204, -0.21331886947155, -0.37091806530952454, 0.0014375337632372975, -0.07864797860383987, -0.7284427881240845, -0.2642275094985962, -0.07594802975654602, -0.6273725628852844, -0.3733033835887909, -0.022236891090869904, -0.5003454089164734, -0.8001473546028137, -0.2240908294916153, 0.2084505259990692, -0.09452977031469345, -0.1470232754945755, -0.10925059020519257, -0.24507838487625122, 0.12535516917705536, 0.127131387591362, -1.2937754392623901, 0.4807279407978058, 0.7934439778327942, 0.6997396349906921, -0.2857314646244049, -0.12760692834854126, -0.799433708190918, 0.03839237242937088, -0.39945188164711, 0.7072046995162964, -0.7557662725448608, -0.24281656742095947, 0.09316171705722809, -0.03735136613249779, -0.043838754296302795, -0.8577762246131897, 0.41650381684303284, -0.5605250597000122, 0.06560587882995605, -0.03220369294285774, -0.7612279653549194, 0.06376571208238602, -0.17361518740653992, -0.8454182744026184, 1.1616610288619995, -0.0896536335349083, -0.8672241568565369, 0.49167680740356445, -0.2786475718021393, -0.509852409362793, 0.11977668851613998, -0.23134271800518036, -0.6010634303092957, 0.2667427062988281, 0.09150204807519913, 0.8022090196609497, -0.25404515862464905, 0.1639794260263443, -0.5597329139709473, -0.5914442539215088, 0.45900240540504456, -0.4023958444595337, 0.8376549482345581, 0.25664693117141724, -0.4179295003414154, -0.12820042669773102, -1.0714436769485474, -0.2129122018814087, 0.01851773075759411, -0.628017008304596, -0.257726788520813, 0.2660321295261383, 0.24631622433662415, 0.0886591449379921, 0.3916584551334381, -0.6640626788139343, 0.05728275328874588, -0.2271004170179367, 0.4698463976383209, 0.5129258036613464, -0.07801282405853271, 0.2999947667121887, -0.3269188702106476, 0.45616433024406433, 0.2652129828929901, -0.1359948366880417, -0.4251682758331299, -0.7398070693016052, -0.8753891587257385, -0.4533686339855194, 0.28666284680366516, 0.45460283756256104, -0.5421297550201416, 0.47540560364723206, -0.2284170687198639, -0.5503624677658081, -0.3530355393886566, 0.21059662103652954, 0.4990518093109131, 0.23432834446430206, -0.05616762116551399, -0.5006890296936035, -0.457919716835022, -1.1069046258926392, -0.4528375267982483, -0.2066357135772705, -0.23676498234272003, 0.13571064174175262, 0.5065784454345703, -0.18530426919460297, 0.9635422825813293, -0.17160199582576752, 0.12240395694971085, -0.17892737686634064, 0.021662399172782898, 0.08485336601734161, 0.2643064856529236, 0.5225315690040588, -0.7087590098381042, -0.6127312779426575, 0.2992503046989441, -0.6302423477172852, -0.27614155411720276, -0.273060142993927, 0.16796594858169556, 0.3942856788635254, 0.7474638819694519, -0.46613824367523193, 0.33496159315109253, 0.6665813326835632, -0.32007235288619995, 0.3123916685581207, 0.11278412491083145, -0.05315345898270607, -1.013150930404663, 0.2000601589679718, 0.07606635987758636, -0.5726100206375122, -0.7209555506706238, 0.14925919473171234, 0.10433008521795273, -0.1059226244688034, -0.24222742021083832, 0.8213316202163696, -0.37188974022865295, -0.20092284679412842, -0.38586151599884033, 0.040244199335575104, 0.09927462041378021, 0.3816916346549988, -0.09029442071914673, 0.9771026968955994, 0.3899572193622589, -0.6790516376495361, -0.00361857027746737, 0.07676974684000015, -0.5763358473777771, 0.10316299647092819, -0.2754664421081543, 0.3333320617675781, 0.03919046372175217, 0.17860817909240723, -1.1159894466400146, -0.2404959797859192, 0.0776335597038269, -0.5875930190086365, 0.4571535587310791, -0.2094801515340805, -0.8765559196472168, -0.16201528906822205, -0.20411761105060577, -0.028596753254532814, 0.526918351650238, -0.6973717212677002, 0.5960296392440796, 0.6484608054161072, 0.05359094589948654, -0.46815383434295654, -0.6777373552322388, 0.2110193371772766, -0.18595609068870544, -0.5417007803916931, 0.2423081398010254, 0.20036368072032928, -0.26340898871421814, -0.4717350900173187, 0.13261711597442627, -0.36975711584091187, 0.6110556721687317, 0.5852853655815125, 0.13586241006851196, -0.21499082446098328, 0.07109265774488449, 0.07476117461919785, -0.07040619850158691, 0.079660564661026, -0.0181292537599802, 0.6247404217720032, 0.061648134142160416, -0.37093183398246765, -0.5252457857131958, 0.31112003326416016, 1.1070032119750977, -0.3210410177707672, 0.6962361335754395, 0.5802927613258362, -0.3942149877548218, -0.06817198544740677, -0.5560891628265381, -0.4777083694934845, -0.47526150941848755, 0.26889386773109436, -0.5498985648155212, -1.1576188802719116, 0.887974202632904, 0.10580208152532578, 0.036638300865888596, 0.4199395775794983, 0.7215909957885742, -0.20608049631118774, 1.3685282468795776, 1.0267994403839111, -0.21096263825893402, 0.5113281011581421, 0.3601909875869751, 0.42177003622055054, -0.6161142587661743, -0.0033891629427671432, -0.7446710467338562, 0.10953204333782196, -1.0579860210418701, -0.033211179077625275, 0.06929630041122437, 0.18668894469738007, -0.09837008267641068, 0.3952091634273529, -0.5401387214660645, 0.6964802742004395, 0.7968779802322388, 0.0904456079006195, 0.39465245604515076, -0.004700038116425276, -0.2637940049171448, -0.13267184793949127, -0.44273850321769714, -1.2196693420410156, 1.1995103359222412, 0.5698296427726746, 0.44608962535858154, -0.09798242151737213, 0.909928023815155, 0.430370032787323, 0.47304174304008484, -0.5415989756584167, 0.675804078578949, -0.5232944488525391, -0.9153512120246887, 0.09688819944858551, -0.28107231855392456, -0.8589804768562317, 0.12508462369441986, -0.3182743489742279, -0.9137590527534485, -0.1020742803812027, 0.2667994201183319, -0.16034330427646637, 0.48542916774749756, -0.6940134167671204, 0.70448237657547, -0.018682172521948814, -0.3135397434234619, 0.11970463395118713, -0.5110606551170349, 0.48846471309661865, -0.34968075156211853, -0.04328569397330284, -0.313072144985199, 0.2686100900173187, 0.7116871476173401, -0.28064191341400146, 1.2788065671920776, -0.06906387954950333, -0.3943444788455963, 0.3832243084907532, 0.2747035622596741, 0.30621638894081116, -0.30545035004615784, -0.10812930017709732, 0.2956528067588806, 0.08093788474798203, -0.16723233461380005, -0.0875752791762352, 0.49232247471809387, -0.5206670761108398, -0.576233446598053, -0.026251977309584618, -0.3112889230251312, -0.12585434317588806, 0.2429598867893219, 0.4963119924068451, 0.49640777707099915, 0.000045252982090460137, 0.22879371047019958, 0.656299352645874, -0.2618645429611206, 0.4614080488681793, 0.3532613515853882, -0.2945622205734253, 0.08898798376321793, 1.0079309940338135, -0.03683830797672272, 0.21881002187728882, 0.6084316372871399, 0.2747648060321808, -0.2340250462293625, -0.5935126543045044, -0.7407680153846741, 0.217549130320549, -0.8344017863273621, -0.00896017998456955, -0.6339477300643921, -0.2787899971008301, -0.22191576659679413, 0.152468740940094, -0.18577536940574646, -0.3972400426864624, -0.4411366283893585, 0.10832292586565018, 0.29090505838394165, 0.8553112149238586, 0.16048479080200195, 0.40157797932624817, -1.0821824073791504, 0.23099777102470398, 0.2881072759628296, 0.1804259866476059, 0.0025275445077568293, -0.7096719741821289, -0.3418272137641907, 0.09388458728790283, -0.4150168299674988, -0.6430994868278503, 0.3188246786594391, 0.2670542001724243, 0.3699439465999603, 0.6164510250091553, -0.1934330314397812, 0.2533106803894043, -0.4346948564052582, 0.8874741196632385, -0.16469164192676544, -1.2145910263061523, 0.1365990936756134, -0.5970286726951599, 0.1956818848848343, 0.3096177577972412, 0.21754400432109833, -0.5870265960693359, -0.8870719075202942, -0.3333489000797272, -0.35569652915000916, 0.4774976372718811, 0.050191592425107956, 0.4360561966896057, -0.192493736743927, 0.3282598555088043, 0.19766579568386078, 0.10728822648525238, -0.991244375705719, -0.1260015070438385, 0.06938906759023666, -0.33530205488204956, 0.10763745754957199, -0.4515507221221924, -0.052744947373867035, 0.08495447039604187, 0.21864132583141327, -0.18909813463687897, 0.14994457364082336, -0.22917293012142181, -0.019441623240709305, 0.0665193721652031, 0.03703276813030243, 0.8499512672424316, 0.24270100891590118, 0.039251770824193954, 0.323713481426239, -0.10946294665336609, -0.612669050693512, 0.0008400773513130844, -0.25196677446365356, -0.13473239541053772, 0.08805619925260544, 0.7171087861061096, 0.5626113414764404, -0.06819793581962585, -0.8103750944137573, 0.6010814905166626, 0.055985014885663986, -0.09630125015974045, -0.03366107493638992, 0.1967288851737976, 0.19243034720420837, 0.08327347040176392, 0.42376935482025146, 0.04587806761264801, 0.10589119046926498, -0.5456956624984741, 0.27889731526374817, 0.5145193338394165, -0.17109346389770508, -0.5027775168418884, 0.8302729725837708, 0.3301398754119873, -0.29742252826690674, 0.5883575081825256, -0.07246634364128113, -0.7619951367378235, 0.6703431606292725, 0.4468274414539337, 0.8953798413276672, -0.035197239369153976, -0.13517791032791138, 0.2222210168838501, 0.3732435703277588, 0.011488700285553932, 0.005672555882483721, -0.27128779888153076, -0.9529001712799072, -0.5024385452270508, -0.6550206542015076, -0.5209731459617615, 0.3034873306751251, -0.7080496549606323, 0.22975359857082367, -0.47512105107307434, -0.19782420992851257, 0.4360206127166748, -0.07794231176376343, -0.651090681552887, 0.044183000922203064, 0.6386673450469971, 0.5501008033752441, -1.180641531944275, 1.0006155967712402, 0.3753000795841217, -0.0326068252325058, -0.5286362767219543, 0.006707958877086639, 0.19294621050357819, -0.9388089179992676, 0.8686820268630981, 0.6065265536308289, -0.4302828907966614, -0.18357908725738525, -0.7145854830741882, -0.7773305773735046, 0.49786606431007385, 0.47055795788764954, -0.7842356562614441, 0.28005456924438477, 0.3222668766975403, 0.826085090637207, -0.2086847871541977, 0.044083427637815475, 0.623748242855072, 0.36584171652793884, -0.3825337886810303, -1.1117198467254639, -0.1250305324792862, -0.3218684494495392, -0.05012941360473633, 0.352492094039917, -0.36307787895202637, 0.9737405776977539, -0.053519926965236664, -0.6566175818443298, 0.2937948405742645, 0.37069031596183777, 0.258691668510437, 0.43250513076782227, 0.2862265706062317, 0.3249645531177521, 0.7732738256454468, -0.16920258104801178, 1.1363859176635742, -0.6020344495773315, 0.07484947144985199, 0.964364767074585, -0.5825017690658569, 0.9720250368118286, 0.45238178968429565, 0.007347446400672197, 0.4028976559638977, 0.713126540184021, -0.19903594255447388, 0.2584509253501892, 0.2589322626590729, -0.37596595287323, -0.4718284010887146, -0.13068482279777527, -0.014499347656965256, 0.8013452291488647, 0.39746278524398804, -0.5233640670776367, 0.13800936937332153, 0.09362301975488663, 0.004634300246834755, 0.36883410811424255, 0.05266393721103668, 0.7767334580421448, -0.04674940183758736, -0.6480178236961365, 0.6019049882888794, 0.09845227003097534, 0.8163549304008484, -0.3306626081466675, -0.05265242978930473, -0.32112443447113037, 0.23982863128185272, -0.21983671188354492, -0.7523044943809509, 0.19877378642559052, 0.0686398595571518, -0.4570824205875397, -0.3426922559738159, 0.7179375290870667, -0.33557483553886414, -0.26091450452804565, 0.18563275039196014, 0.6191295981407166, 0.3642553687095642, -0.022676721215248108, -0.31919628381729126, 0.2687336802482605, 0.12606889009475708, -0.21160539984703064, 0.386616587638855, 0.3631296157836914, -0.4226625859737396, 0.802897572517395, 0.799102246761322, -0.13064637780189514, 0.2132387012243271, 0.1267455518245697, 0.6786920428276062, -0.5946471691131592, -0.08048279583454132, -1.1257882118225098, 0.1612616330385208, -0.0995849072933197, -0.39346063137054443, 0.826126754283905, 0.6724230051040649, 0.9034544825553894, -0.27320846915245056, 0.707643985748291, 0.3653184473514557, 0.7892557978630066, -0.6490148901939392, 0.890087902545929, -0.3443094491958618, 0.27900373935699463, -0.02434147335588932, -0.8818707466125488, -0.36329931020736694, 0.5671447515487671, 0.1655099093914032, 0.0025005594361573458, 0.4921565353870392, 0.9285823702812195, 0.04523830860853195, -0.1338641494512558, 0.5077775716781616, -0.10467468202114105, 0.601818859577179, 0.42649006843566895, 0.9946772456169128, -0.3655520975589752, 0.31510040163993835, -0.1154252141714096, -0.01045079156756401, -0.3874260187149048, -0.8553831577301025, -1.2474581003189087, -0.9319581985473633, -0.32227978110313416, -0.2072669267654419, -0.3730798661708832, 0.3638196885585785, 0.9695548415184021, -0.6429001688957214, -0.29052734375, -0.01114658359438181, -0.10907779633998871, -0.031796470284461975, -0.21961313486099243, 0.1497315913438797, -0.04705024138092995, -0.8420140743255615, 0.441606342792511, 0.25387728214263916, 0.4489731192588806, -0.3654195964336395, 0.23065567016601562, 0.3107438087463379, 0.18592578172683716, 0.562104344367981, 0.3361053466796875, -0.8648636937141418, -0.424444317817688, 0.026184851303696632, -0.608371913433075, -0.041504617780447006, 0.8653810024261475, -0.6247628331184387, 0.4647423028945923, 0.35196465253829956, 0.7384021282196045, 0.5634399056434631, -0.3387435972690582, 0.5664107203483582, -0.8492543697357178, 0.17011301219463348, 0.1529284417629242, 0.36453983187675476, 0.49752238392829895, -0.30472269654273987, 0.3582623600959778, 0.03427973762154579, -0.4620751142501831, -1.0348316431045532, 0.42992421984672546, -0.8164030313491821, -0.0907990112900734, 0.9744109511375427, -0.06302126497030258, -0.09089604020118713, -0.3848731815814972, -0.012517495080828667, 0.14685046672821045, -0.11171169579029083, 0.8921518325805664, 0.9155391454696655, -0.039728645235300064, -0.09095147252082825, -0.5301329493522644, 0.6436034440994263, 0.46010130643844604, -0.9059391617774963, 0.4044250249862671, 0.3429586589336395, 0.31499961018562317, 0.3526259660720825, 0.500311553478241, -0.1485527902841568, 0.2133033722639084, 0.06777079403400421, 0.14721722900867462, 0.002329514129087329, -0.31671082973480225, -0.33810052275657654, 0.03115200623869896, 0.3188319504261017, -0.2366073578596115 ]
http://arxiv.org/abs/2405.14055v1
http://arxiv.org/pdf/2405.14055v1
How Many Bytes Can You Take Out Of Brain-To-Text Decoding?
2024-05-22T22:57:04
2024-05-22T22:57:04
Richard Antonello, Nihita Sarma, Jerry Tang, Jiaru Song, Alexander Huth
cs.CL
cs.CL, cs.AI, cs.ET
Brain-computer interfaces have promising medical and scientific applications for aiding speech and studying the brain. In this work, we propose an information-based evaluation metric for brain-to-text decoders. Using this metric, we examine two methods to augment existing state-of-the-art continuous text decoders. We show that these methods, in concert, can improve brain decoding performance by upwards of 40% when compared to a baseline model. We further examine the informatic properties of brain-to-text decoders and show empirically that they have Zipfian power law dynamics. Finally, we provide an estimate for the idealized performance of an fMRI-based text decoder. We compare this idealized model to our current model, and use our information-based metric to quantify the main sources of decoding error. We conclude that a practical brain-to-text decoder is likely possible given further algorithmic improvements.
[ -0.26333552598953247, -0.5678900480270386, 0.7228394150733948, 0.4940074682235718, -0.5030269026756287, -0.28068292140960693, -0.4613175690174103, -0.6356701254844666, 0.15903879702091217, 0.16972219944000244, -0.326144814491272, -0.25814053416252136, -0.7422516942024231, 0.1654571294784546, -0.41370949149131775, 0.9098371863365173, 0.3710593283176422, 0.2994130551815033, -0.6109384298324585, 0.16859517991542816, -0.7070490717887878, -0.5986103415489197, -0.5242841243743896, -0.28419041633605957, 0.6539839506149292, 0.03197285532951355, 0.4178783595561981, 0.6268353462219238, 0.7124026417732239, 0.13088564574718475, -0.22656476497650146, 0.07228272408246994, -0.19376526772975922, -0.32854560017585754, -0.06154996156692505, -0.5410265326499939, -0.6214399337768555, -0.3916390538215637, 0.5448928475379944, 0.7463256120681763, -0.17881663143634796, -0.10585077852010727, 0.055382139980793, 0.8135713338851929, -0.827695906162262, 0.1918606013059616, -0.14046423137187958, -0.03463352099061012, -0.11288899928331375, -0.5991677641868591, -0.8095166683197021, -0.5268159508705139, -0.061704836785793304, -0.3386254608631134, -0.3643152117729187, 0.002710039261728525, 0.5578580498695374, 0.2999809682369232, -0.29509156942367554, -0.3599708676338196, -0.49409082531929016, 0.5588219165802002, -0.6913976073265076, 0.6817386150360107, 0.48659026622772217, 0.2454318106174469, -0.158506840467453, -0.7929659485816956, -0.5023252367973328, 0.042400557547807693, -0.18668441474437714, 0.31937697529792786, -0.3793752193450928, 0.2588540315628052, 0.307468056678772, 0.20714356005191803, -0.4340516924858093, -0.07380913943052292, -0.3729528486728668, 0.005913366097956896, 0.452730268239975, 0.28345441818237305, 0.5104086399078369, -0.06388179957866669, 0.12919797003269196, -0.19798904657363892, -0.3278457522392273, 0.09870250523090363, 0.16377118229866028, -0.35452598333358765, -0.008220944553613663, 0.4263836741447449, -0.036053676158189774, 0.753666877746582, 0.07301213592290878, -0.0816090777516365, 0.22479642927646637, -0.4333246648311615, 0.03463349491357803, 0.19275987148284912, 0.4893169403076172, 0.5655091404914856, 0.17607523500919342, -0.9014282822608948, -0.062076386064291, -0.027583574876189232, 0.48725375533103943, -1.0600898265838623, -0.41584092378616333, 0.32967284321784973, -0.8303252458572388, 0.04986364021897316, -0.11618082970380783, -0.6517009735107422, -0.3776826858520508, -0.087284155189991, 0.6489245295524597, -1.053855299949646, -0.34235265851020813, 0.56648850440979, -0.8421372175216675, 0.15638653934001923, 0.12135643512010574, -0.8929240107536316, 0.4608652591705322, 0.46512743830680847, 0.9024927616119385, -0.19334404170513153, -0.07348459213972092, -0.07266431301832199, 0.01498829759657383, -0.2413068413734436, 1.227721095085144, -0.2565852701663971, -0.18363487720489502, -0.3512769043445587, -0.22315801680088043, -0.02352445013821125, -0.4824087619781494, 0.6244139671325684, -0.6941350698471069, -0.18095269799232483, -0.4092448055744171, -0.6512147188186646, -0.23669706284999847, -0.3368496000766754, -0.7725326418876648, 0.2480052262544632, -0.13623268902301788, -0.9117798805236816, 0.21174435317516327, -0.972210168838501, -0.703615665435791, 0.1097293272614479, 0.04581224173307419, -0.05728159844875336, 0.37348872423171997, -0.009575541131198406, 0.2748412489891052, -0.385505735874176, 0.1950647234916687, -0.2217452973127365, -0.8670021891593933, 0.7115572690963745, -0.7738988995552063, 0.994584321975708, 0.2887752652168274, -0.10840268433094025, -0.283343106508255, -1.0443207025527954, 0.29705074429512024, -0.19533002376556396, -0.6612556576728821, -0.4607574939727783, 0.4635598361492157, 0.033529289066791534, -0.28290534019470215, 0.3722776472568512, -0.7245820164680481, -0.22142469882965088, -0.31598666310310364, 0.5591397285461426, 0.19818271696567535, -0.04168395325541496, 0.17188484966754913, -0.3192724883556366, -0.09730643033981323, 0.11161789298057556, -0.12372904270887375, -0.3937707841396332, -0.2790139615535736, -0.6095812320709229, -0.518156886100769, 0.7664585113525391, 0.6426582932472229, -0.5331913828849792, 0.956344485282898, -0.6864904165267944, -0.4213068187236786, -0.6133665442466736, -0.6539906859397888, 0.09187661856412888, 0.3802400529384613, 0.424702525138855, -0.32576778531074524, -0.5094016790390015, -0.7822686433792114, -0.5137484669685364, -0.013658511452376842, -0.666309118270874, -0.028900127857923508, 0.07316330820322037, 0.029770568013191223, 0.9020909070968628, -0.2830294370651245, 0.08225475996732712, 0.3531019985675812, 0.19782276451587677, 0.2203177660703659, 0.43209394812583923, 0.29379481077194214, -0.49989986419677734, 0.1846523880958557, 0.1703014224767685, -1.0072157382965088, 0.0457952655851841, 0.0004999263910576701, 0.2189786434173584, 0.07566138356924057, 0.22890163958072662, -0.49268800020217896, 0.5553054213523865, 0.26163485646247864, -0.5015864372253418, 0.3803103566169739, -0.5390143990516663, 0.5721129775047302, -0.6797192096710205, 0.302799791097641, -0.03371090814471245, 0.07880771160125732, -0.6220163106918335, -0.176866814494133, 0.567405104637146, 0.36183616518974304, -0.08765588700771332, 0.052433282136917114, -0.5295653343200684, -0.00888050440698862, -0.4433290660381317, 0.001950648962520063, -0.09004092216491699, 0.5197168588638306, 0.11231739819049835, 0.8948838114738464, 0.3883666396141052, -0.7683497667312622, 0.14615555107593536, 0.139876127243042, -0.6295516490936279, 0.7491663098335266, -0.5601764917373657, 0.3713902235031128, -0.5382067561149597, 0.2614298462867737, -0.9304766654968262, -0.2464636266231537, -0.23123641312122345, -0.7036295533180237, 0.16630683839321136, 0.2740081250667572, -0.643156111240387, -0.06373069435358047, -0.2209358513355255, 0.5946875810623169, 0.8135638236999512, -0.744591236114502, 0.4921916127204895, 0.4959809184074402, 0.011776258237659931, -0.4969341456890106, -1.0883816480636597, 0.5450978875160217, 0.04330667853355408, -0.7153348326683044, 0.49047234654426575, -0.44290876388549805, -0.029997212812304497, 0.16838926076889038, 0.03868461400270462, -0.3481191098690033, -0.0816933661699295, 0.24219490587711334, -0.04878704249858856, -0.009243560023605824, 0.2245476096868515, 0.42842668294906616, 0.04376545175909996, 0.40884026885032654, -0.5349540710449219, 0.20813141763210297, -0.14501899480819702, 0.019500408321619034, -0.3932000994682312, 0.3962874114513397, 0.3947804570198059, -0.11000427603721619, 0.6550249457359314, 0.3486262559890747, -0.6118590831756592, 0.3938528895378113, -0.48356541991233826, -0.17596988379955292, -0.45398497581481934, 0.541637659072876, -0.501688539981842, -0.5171809792518616, 0.21185816824436188, -0.19556616246700287, -0.17588301002979279, 0.15930162370204926, 0.26033124327659607, -0.3885645866394043, 1.106716275215149, 0.8435781598091125, 0.48826277256011963, 0.43678122758865356, 0.09339471906423569, 0.21398866176605225, -0.9526849985122681, -0.5758068561553955, -0.4163266122341156, -0.30550500750541687, -0.1630767434835434, -0.05603475868701935, 0.6405645608901978, 0.14978234469890594, 0.07899434864521027, 0.4730507433414459, -0.609394907951355, 0.3401060402393341, 0.10102900862693787, 0.694547176361084, 0.27774760127067566, 0.28494128584861755, 0.009767591953277588, -0.18056067824363708, -0.9215905666351318, -0.2611628770828247, 0.9033628106117249, 0.36710125207901, 0.7625735998153687, 0.038346774876117706, 0.08102160692214966, 0.31441736221313477, 0.3092193305492401, -0.892849862575531, 0.5788295865058899, -0.3607284426689148, -0.18172581493854523, -0.13047689199447632, -0.5345883965492249, -0.7180226445198059, -0.12581579387187958, -0.16545429825782776, -0.899983286857605, 0.3980938494205475, 0.017008045688271523, -0.282794326543808, 0.18027068674564362, -0.8714209794998169, 0.47200900316238403, -0.02005682699382305, -0.1798396110534668, -0.6071285009384155, -0.43576580286026, 0.15649579465389252, -0.21940936148166656, 0.10601188987493515, 0.4054205119609833, -0.30122077465057373, 0.9935686588287354, -0.06481467187404633, 0.5138188600540161, -0.014217113144695759, 0.15904703736305237, 0.03708816319704056, -0.41064968705177307, -0.08166996389627457, -0.15650571882724762, -0.3813744783401489, 0.7664580941200256, 0.4812033474445343, -0.24768610298633575, -0.8734456300735474, 0.46036389470100403, -0.561682939529419, -0.1064457967877388, -0.11916327476501465, -0.8592981100082397, -0.0928504541516304, 0.13327892124652863, 0.5307921767234802, 0.6243036389350891, -0.22699707746505737, 0.5023276805877686, 0.922368049621582, -0.08463969826698303, 0.6671961545944214, 0.3297238051891327, 0.36689549684524536, -0.7112242579460144, 0.8963966965675354, 0.34357187151908875, -0.08105367422103882, 0.7939229011535645, -0.034778792411088943, -0.335930734872818, -0.8040290474891663, -0.31089943647384644, 0.23124679923057556, -0.6709871292114258, -0.19637349247932434, -0.9012981653213501, -0.20336206257343292, -0.02329493872821331, 0.17241354286670685, -0.029624052345752716, -0.40830671787261963, -0.15926487743854523, 0.11847742646932602, 0.5126295685768127, 0.2954375743865967, -0.23759153485298157, 0.534729540348053, -0.6469511389732361, 0.17260301113128662, -0.05708659812808037, 0.7055724859237671, -0.05461135134100914, -0.4509405493736267, -0.6361646056175232, 0.09601427614688873, 0.028626874089241028, -1.1120223999023438, 0.10867442935705185, -0.08427125960588455, 0.13157899677753448, 0.1529817283153534, 0.1438809335231781, 0.7657302021980286, -0.5904386639595032, 0.576774001121521, 0.4238782823085785, -0.906348466873169, 0.29921191930770874, 0.09749865531921387, 0.4942299425601959, 0.37904271483421326, 0.12501421570777893, -0.34249645471572876, -0.12224229425191879, -0.29498913884162903, -0.5040489435195923, 0.5600247383117676, 0.10454683750867844, 0.016575030982494354, -0.01700405776500702, 0.5428085923194885, -0.06768523901700974, 0.05513473227620125, -0.27821943163871765, -0.10426171123981476, -0.17008525133132935, -0.6172674894332886, 0.24907070398330688, -0.21780258417129517, 0.06709007918834686, -0.3444055914878845, 0.17966671288013458, -0.076967254281044, 0.8872852325439453, 0.2942996919155121, -0.051869455724954605, 0.20655013620853424, 0.3380235433578491, 0.4723609983921051, 0.563269853591919, -0.39362412691116333, 0.18736012279987335, 0.3274189829826355, -0.9049705266952515, 0.0316498763859272, 0.026828767731785774, -0.06501606106758118, 0.11387952417135239, -0.0009567683446221054, 0.8660168647766113, -0.015196084976196289, -0.7358201146125793, 0.50934898853302, -0.501978874206543, -0.15078648924827576, -0.35166069865226746, 0.057500794529914856, 0.16162598133087158, 0.04573023319244385, 0.3679485023021698, 0.5513462424278259, 0.5366250872612, -0.1702992022037506, 0.23004215955734253, 0.3708864152431488, -0.4724518358707428, -0.41223159432411194, 0.42513027787208557, 0.14642010629177094, -0.6043930649757385, 0.3503378927707672, 0.1875748336315155, 0.119474858045578, 0.5503136515617371, 0.5993828773498535, 0.8327445983886719, 0.008001538924872875, -0.39669281244277954, 0.3384246826171875, 0.42651933431625366, -0.10265544056892395, 0.24602824449539185, -0.29680749773979187, -0.45765653252601624, -0.5602483153343201, -0.28421518206596375, -0.15225832164287567, 0.20343846082687378, -0.7373025417327881, 0.2811813950538635, -0.2846493721008301, -0.5162160992622375, 0.23573976755142212, -0.2118598222732544, -0.44216108322143555, 0.4205138683319092, -0.27750450372695923, 1.2428970336914062, 0.01921861805021763, 0.9620841145515442, 0.638019323348999, -0.19030511379241943, -0.35511866211891174, 0.23677153885364532, -0.6185447573661804, -0.1514984369277954, 0.3035527765750885, 0.2615489661693573, -0.3966532349586487, 0.24126043915748596, -0.457472562789917, -0.5029699802398682, 1.0150259733200073, 0.5327849388122559, -0.49098435044288635, -0.14247381687164307, -0.3196699619293213, 0.5354827046394348, -0.2251635491847992, 1.0837024450302124, 0.7482810616493225, 0.5952293872833252, -0.47996363043785095, -0.6871967315673828, -0.007630604784935713, -0.49241524934768677, 0.1283794641494751, 0.026173194870352745, -0.37851402163505554, 0.3147079348564148, -0.16317540407180786, -0.65555340051651, 0.08008437603712082, 0.8255671262741089, -0.11496371030807495, 0.33614739775657654, 0.49681204557418823, 0.11153295636177063, 0.6957871913909912, -0.021873531863093376, 1.1498006582260132, -0.5815108418464661, -0.04188896343111992, 0.5334427356719971, 0.38892310857772827, 1.0309982299804688, 0.5904507637023926, -0.05395680293440819, 0.454304575920105, 0.352800190448761, 0.13869193196296692, 0.7486220598220825, 0.12766173481941223, -0.3399827480316162, 0.04477526620030403, 0.12812723219394684, -0.06226356327533722, 0.08518712967634201, 0.6363707780838013, -0.17844104766845703, -0.03509611636400223, 0.31757432222366333, -0.19103235006332397, 0.1285679042339325, -0.14417019486427307, 0.804589569568634, 0.014748826622962952, -0.7352554202079773, 0.7417231798171997, 0.24904586374759674, 0.9512338042259216, -0.5090143084526062, -0.12092471867799759, 0.04634632170200348, 0.14729510247707367, -0.346929132938385, -0.7466923594474792, 0.3874756693840027, 0.20060662925243378, -0.5106545686721802, 0.15454451739788055, 0.7386269569396973, -0.42684924602508545, -0.1207699403166771, 0.23105542361736298, -0.025920886546373367, 0.6094528436660767, -0.061535775661468506, -0.14254112541675568, 0.1995505392551422, -0.2513997554779053, 0.0511295311152935, 0.3082696199417114, 0.2584275007247925, 0.20112480223178864, 0.3699846863746643, 0.3381790220737457, 0.12169201672077179, -0.08088800311088562, -0.20293886959552765, 0.6276776790618896, -0.8469774723052979, -0.43017199635505676, -0.8170775771141052, 0.456109881401062, -0.23311418294906616, -0.046225156635046005, 0.3964381217956543, 0.4474271535873413, 0.4886557459831238, -0.09836839139461517, 0.8859356045722961, -0.2685883641242981, 0.2137596607208252, -0.673430860042572, 0.9939730167388916, -0.3594491183757782, 0.1659734696149826, 0.19201958179473877, -0.7125236988067627, 0.03172694519162178, 0.46464207768440247, -0.02203950472176075, -0.04081323742866516, 1.189900517463684, 0.6668131947517395, -0.015947537496685982, 0.5126099586486816, 0.4954651892185211, 0.05122785270214081, -0.0004123341932427138, 0.8274001479148865, 0.6639907360076904, -0.6904315948486328, 0.6986106634140015, 0.09932595491409302, -0.8174248933792114, -0.039545975625514984, -0.8505551218986511, -0.5969461798667908, -0.5482494235038757, -0.38768529891967773, -0.41416850686073303, 0.4276731312274933, 0.37590113282203674, 0.7399696707725525, -0.2377774566411972, -0.3732534945011139, -0.14432618021965027, -0.11865182220935822, -0.5926480293273926, -0.1370690017938614, 0.14874167740345, -0.32706180214881897, -0.6202305555343628, 0.5330221652984619, 0.49734702706336975, -0.26836955547332764, 0.009200332686305046, -0.03944236412644386, 0.2846754491329193, 0.5638666152954102, 0.8371763229370117, 0.14728094637393951, -0.35630977153778076, -0.2512633204460144, 0.07060103863477707, -0.28928861021995544, 0.33582359552383423, 0.8640725612640381, -0.9329479336738586, 0.37667185068130493, 0.7483806610107422, 0.8670199513435364, 0.5812970399856567, -0.16927751898765564, 0.5627188682556152, -0.3493807017803192, -0.0489543080329895, 0.07972031086683273, -0.029654327780008316, 0.2092577964067459, -0.6978415250778198, 0.15998022258281708, 0.004089138004928827, -0.5067922472953796, -0.6422324776649475, -0.08594605326652527, -1.0951815843582153, -0.31744974851608276, 0.9239199757575989, -0.24188612401485443, -0.7028869390487671, -0.03495239093899727, -0.13357539474964142, 0.193838968873024, -0.2856682538986206, 0.7907751202583313, 0.8389169573783875, -0.34515661001205444, -0.2328508198261261, -0.4998110234737396, 0.33661824464797974, 0.47338294982910156, -1.0543500185012817, 0.022030221298336983, 0.5464228987693787, 0.3810260593891144, 0.38984814286231995, 0.7490881085395813, -0.3962777853012085, 0.6415632367134094, 0.31269145011901855, 0.19528593122959137, -0.08759281039237976, -0.35471153259277344, -0.5669835805892944, 0.14931967854499817, -0.3506440818309784, -0.2520870864391327 ]
http://arxiv.org/abs/2406.00015v1
http://arxiv.org/pdf/2406.00015v1
Use of natural language processing to extract and classify papillary thyroid cancer features from surgical pathology reports
2024-05-22T22:27:12
2024-05-22T22:27:12
Ricardo Loor-Torres, Yuqi Wu, Esteban Cabezas, Mariana Borras, David Toro-Tobon, Mayra Duran, Misk Al Zahidy, Maria Mateo Chavez, Cristian Soto Jacome, Jungwei W. Fan, Naykky M. Singh Ospina, Yonghui Wu, Juan P. Brito
cs.CL
cs.CL
Background We aim to use Natural Language Processing (NLP) to automate the extraction and classification of thyroid cancer risk factors from pathology reports. Methods We analyzed 1,410 surgical pathology reports from adult papillary thyroid cancer patients at Mayo Clinic, Rochester, MN, from 2010 to 2019. Structured and non-structured reports were used to create a consensus-based ground truth dictionary and categorized them into modified recurrence risk levels. Non-structured reports were narrative, while structured reports followed standardized formats. We then developed ThyroPath, a rule-based NLP pipeline, to extract and classify thyroid cancer features into risk categories. Training involved 225 reports (150 structured, 75 unstructured), with testing on 170 reports (120 structured, 50 unstructured) for evaluation. The pipeline's performance was assessed using both strict and lenient criteria for accuracy, precision, recall, and F1-score. Results In extraction tasks, ThyroPath achieved overall strict F-1 scores of 93% for structured reports and 90 for unstructured reports, covering 18 thyroid cancer pathology features. In classification tasks, ThyroPath-extracted information demonstrated an overall accuracy of 93% in categorizing reports based on their corresponding guideline-based risk of recurrence: 76.9% for high-risk, 86.8% for intermediate risk, and 100% for both low and very low-risk cases. However, ThyroPath achieved 100% accuracy across all thyroid cancer risk categories with human-extracted pathology information. Conclusions ThyroPath shows promise in automating the extraction and risk recurrence classification of thyroid pathology reports at large scale. It offers a solution to laborious manual reviews and advancing virtual registries. However, it requires further validation before implementation.
[ -0.17833763360977173, -0.6046168804168701, 0.7860020399093628, -0.11630574613809586, -0.4613032639026642, 0.19544237852096558, -0.14999759197235107, -0.8101553916931152, 0.17420899868011475, 0.5891370177268982, -0.5089491009712219, -0.7136976718902588, -0.7165027260780334, 0.13120120763778687, -0.37361106276512146, 1.0510814189910889, 0.24162495136260986, 0.21760375797748566, 0.25455430150032043, 0.27594324946403503, -0.11984957754611969, -0.09863032400608063, -0.7992000579833984, -0.06069449335336685, 0.7026617527008057, 0.5280707478523254, 0.4294303059577942, 1.1211364269256592, 0.6221757531166077, 0.2572784721851349, 0.13554887473583221, 0.17692919075489044, -0.005400080233812332, 0.2222287356853485, -0.18509835004806519, -0.11947496235370636, -0.3946274518966675, 0.3322734534740448, 0.48430195450782776, 0.6141782402992249, -0.4636346995830536, 0.23312532901763916, 0.13413676619529724, 0.36324936151504517, -0.24990728497505188, -0.05885282903909683, -0.4795229434967041, 0.17640383541584015, -0.5694214701652527, -0.49498772621154785, -0.2268950194120407, -0.6947138905525208, 0.48042410612106323, -0.6430494785308838, 0.31832125782966614, -0.0026450997684150934, 0.5289403796195984, -0.1257108747959137, -0.5113380551338196, -0.3060283064842224, -0.6443803310394287, 0.7043896317481995, -0.4900660514831543, 0.28981339931488037, 0.542360782623291, 0.45416828989982605, -0.13655340671539307, -1.0071890354156494, -0.3165190517902374, -0.0005514145013876259, -0.07658077776432037, 0.029614368453621864, -0.1570582240819931, -0.014090992510318756, 0.2537723779678345, 0.7956284880638123, -0.5881426930427551, 0.28262609243392944, -0.7834389209747314, -0.4854513108730316, 0.5072655081748962, 0.253862202167511, 0.4421141445636749, -0.35633954405784607, -0.08266406506299973, -0.21712626516819, -0.1961313784122467, -0.04989662021398544, 0.08338375389575958, 0.41981804370880127, 0.19794920086860657, 0.4021340310573578, -0.34982696175575256, 0.5783891081809998, 0.13030759990215302, -0.36839354038238525, 0.251065194606781, 0.024423690512776375, -0.31961148977279663, 0.31133824586868286, 0.8999146819114685, 0.20668740570545197, -0.1149299293756485, -0.38237208127975464, 0.6742393970489502, -0.12667842209339142, 0.5973721742630005, -0.4657222628593445, -0.05699406564235687, 0.4185187816619873, -0.6074615716934204, -0.5747829079627991, 0.027164041996002197, -1.1879836320877075, -0.555046021938324, -0.01578930765390396, 0.20873701572418213, -0.36028531193733215, -0.5101167559623718, 0.19370310008525848, -0.23241007328033447, 0.21967259049415588, 0.4848118722438812, -0.3743794560432434, 0.8334891200065613, 0.6780885457992554, 0.7602137327194214, -0.3326760530471802, -0.16598209738731384, -0.8978414535522461, 0.1920761913061142, 0.08551591634750366, 0.9556881785392761, -0.42382222414016724, -0.3654301166534424, -0.1731993407011032, 0.22307825088500977, -0.2822858989238739, -0.5101887583732605, 0.929039716720581, 0.10517925769090652, 0.6113715767860413, 0.0853637084364891, -0.28040096163749695, -0.3528042733669281, 0.0642302930355072, -0.6692377328872681, 0.7579140067100525, 0.26067620515823364, -0.5537930727005005, 0.46069657802581787, -0.2851501405239105, -0.6528546810150146, 0.23978263139724731, 0.1526397317647934, -0.24003048241138458, 0.06530740857124329, -0.08404088765382767, 0.3190089166164398, -0.6743276715278625, 0.2927211821079254, 0.09166454523801804, 0.19720280170440674, -0.05795716866850853, -0.31280219554901123, 0.6456934213638306, 0.20183315873146057, -0.5200000405311584, 0.04660535231232643, -0.8394370675086975, 0.541700541973114, -0.29610902070999146, -0.16498230397701263, -0.04257781431078911, -0.12608061730861664, -0.003013023640960455, 0.4960205852985382, -0.3659123480319977, -0.818234920501709, -0.19019237160682678, -0.6490470767021179, 0.06944413483142853, 0.36240354180336, 0.30392417311668396, 0.1555894911289215, -0.4638694226741791, 0.46503400802612305, -0.30209457874298096, 0.17479054629802704, 0.4489057958126068, -0.831142246723175, -0.20403307676315308, -0.16547051072120667, 0.36797991394996643, 0.4970274269580841, -0.1632770299911499, 0.3786652386188507, 0.04007253795862198, -0.7162845134735107, -0.21767771244049072, -0.24518835544586182, 0.5535167455673218, 1.2813305854797363, 0.33642175793647766, -0.4942917227745056, -0.5467672944068909, -0.7868754863739014, -0.23248915374279022, -0.2051098495721817, -0.1988796442747116, -0.07755621522665024, -0.06225750595331192, 0.1625211387872696, 0.3178022801876068, -0.724403440952301, -0.687663197517395, -0.1869114190340042, 0.5043344497680664, 0.26755791902542114, 0.5306161046028137, -0.07015974819660187, -0.6433722376823425, -0.7134351134300232, 0.4854902923107147, -0.38463059067726135, -0.3219212293624878, 0.20246540009975433, -0.21217362582683563, 0.2856907844543457, 0.272626131772995, -0.7286092638969421, 0.8033384680747986, 0.31155648827552795, -0.1525357961654663, 0.3911460041999817, -0.07426674664020538, 0.5146735906600952, -0.9471967220306396, 0.3112903833389282, 0.24925777316093445, -0.3766409754753113, -0.5812806487083435, -0.2114749699831009, -0.20418088138103485, -0.0621652714908123, -0.1773155778646469, 0.30491918325424194, -0.16863058507442474, 0.1019752100110054, 0.03452940657734871, -0.16260431706905365, -0.02843053638935089, 0.2776024639606476, 0.4699491858482361, 0.13090753555297852, 0.22466394305229187, -0.6809363961219788, 0.13600708544254303, -0.1076158806681633, -0.22658470273017883, 0.6068037152290344, -0.27800890803337097, -0.07390724867582321, 0.36927860975265503, -0.06772759556770325, -0.6586260199546814, -0.7366200685501099, 0.27689114212989807, -0.6508216261863708, 0.33574047684669495, -0.34654179215431213, -0.5137749314308167, -0.4397726058959961, -0.24236434698104858, -0.28898587822914124, 0.5511196851730347, 0.11375647038221359, 0.6415449380874634, 0.471885085105896, -0.5187498331069946, -0.06903144717216492, -0.7075808048248291, -0.16937655210494995, -0.4015219509601593, -0.45935800671577454, 0.47630539536476135, 0.1299717277288437, -0.10328778624534607, -0.009271852672100067, -0.3193347454071045, -0.4202214181423187, 0.015041536651551723, 0.3544190227985382, -0.008169269189238548, -0.014868509955704212, 0.14596408605575562, -0.05785409361124039, -0.11395209282636642, -0.03952864184975624, -0.01050336193293333, 0.6367325782775879, -0.04314182698726654, -0.21687090396881104, -0.90054851770401, 0.34886738657951355, 0.6686461567878723, -0.1188785582780838, 0.4585641026496887, 0.7407448291778564, -0.6996263861656189, 0.23756127059459686, -0.8327967524528503, -0.14573049545288086, -0.3127695322036743, 0.17974871397018433, 0.11733511090278625, -0.780265748500824, 0.637566089630127, -0.05231846123933792, 0.1799980103969574, 1.1035104990005493, 0.5079743266105652, -0.4975424110889435, 0.8908740282058716, 0.40406864881515503, 0.2610090672969818, -0.0006341695552691817, 0.17546646296977997, -0.0905681923031807, -0.7763875722885132, -0.3646283745765686, -0.7146319150924683, -0.26703739166259766, -0.723279595375061, -0.42946991324424744, 0.7199085354804993, -0.4638235867023468, -0.167093887925148, 0.09664270281791687, -0.8105508089065552, 0.1917763203382492, 0.44907906651496887, 0.36671319603919983, 0.3041919767856598, 0.39231204986572266, 0.18538227677345276, -0.2771924138069153, -0.5116384625434875, -0.16506245732307434, 1.3441822528839111, 0.4977479577064514, 0.11113548278808594, 0.2582189738750458, 0.7241763472557068, 0.27461960911750793, 0.44715872406959534, -0.7381910085678101, 0.17928695678710938, -0.6044588088989258, -0.777162492275238, -0.47475412487983704, -0.6081676483154297, -0.8092334866523743, -0.08618400990962982, -0.1733100563287735, -0.9098982810974121, 0.1330047845840454, -0.09172014147043228, -0.705807626247406, 0.5099508762359619, -0.5643078088760376, 0.6452269554138184, -0.31816190481185913, -0.3281661868095398, -0.10073751956224442, -0.5897166132926941, 0.4071260094642639, -0.15416257083415985, 0.34674862027168274, 0.0896550863981247, 0.1076335683465004, 0.6627157926559448, -0.6746125817298889, 0.8289373517036438, 0.0500948503613472, 0.17484478652477264, 0.0045148348435759544, 0.2363167554140091, 0.20849746465682983, 0.23553815484046936, -0.39993005990982056, -0.15571315586566925, 0.2346954196691513, 0.06604955345392227, -0.16753250360488892, 0.6356667280197144, -0.37772902846336365, -0.3590162992477417, -1.0817103385925293, -0.2522931694984436, -0.5410836338996887, 0.48563915491104126, 0.5036306381225586, 0.5762190818786621, -0.1074228584766388, 0.24064630270004272, 0.6980084180831909, -0.025533713400363922, 0.21417894959449768, 0.28855249285697937, 0.23506949841976166, -0.7365683317184448, 0.584000289440155, -0.11619963496923447, 0.2226913422346115, 0.20188117027282715, 0.5766452550888062, -0.22796285152435303, -0.7210237383842468, -0.11451137065887451, 0.10503514111042023, -0.3647642433643341, -0.5118173956871033, -0.8041453957557678, -0.4479028880596161, -0.5555994510650635, 0.22367820143699646, -0.21284569799900055, -0.4102221727371216, -0.21710613369941711, -0.01177722867578268, 0.44849395751953125, 0.3897032141685486, -0.2590862810611725, 0.41879674792289734, -0.8620217442512512, 0.3209189474582672, 0.21772801876068115, 0.6762248873710632, -0.25308260321617126, -0.5370566248893738, 0.0895596444606781, -0.24178992211818695, -0.13952551782131195, -0.7561460733413696, 0.7377235889434814, 0.4742114543914795, 0.6380411982536316, 0.03871334716677666, 0.04218907654285431, 1.0273784399032593, -0.20553624629974365, 0.4598047733306885, 0.3689780831336975, -0.5190193057060242, 0.7140285968780518, -0.4289606213569641, 0.4741716980934143, 0.8146815299987793, 0.5510433912277222, -0.6304709911346436, -0.34425169229507446, -0.8523852825164795, -0.4281960725784302, 1.1549867391586304, 0.28162023425102234, -0.47248977422714233, -0.07374976575374603, 0.3812355399131775, 0.15780477225780487, 0.20108242332935333, -0.49588578939437866, 0.07066380232572556, -0.055920470505952835, -0.24687448143959045, -0.017354033887386322, -0.33514443039894104, -0.5655027031898499, -0.40380027890205383, 0.44751879572868347, -0.08366352319717407, 0.26697012782096863, 0.6579226851463318, -0.08511178195476532, -0.6368759870529175, 0.3537445068359375, 0.47722893953323364, 0.6244956851005554, -0.6282250881195068, 0.14901764690876007, 0.019383490085601807, -0.9696919322013855, -0.39668112993240356, 0.424037367105484, 0.4315393567085266, -0.1263638287782669, 0.6672797799110413, -0.12661036849021912, 0.1450922042131424, -0.43415021896362305, 0.1326940804719925, -0.3651718199253082, -0.47393783926963806, -0.1894649714231491, -0.14028602838516235, -0.21944619715213776, 0.008749499917030334, 0.5407606363296509, 0.16641953587532043, 0.57156902551651, -0.7579461336135864, 0.258527547121048, 0.013496489264070988, -0.6133049130439758, -0.20803202688694, 0.05143158137798309, 0.029292862862348557, 0.042057253420352936, 0.7345139384269714, -0.1469746232032776, -0.3905090391635895, 0.515644371509552, 0.32612138986587524, 1.0062686204910278, -0.3708655834197998, 0.5224000811576843, 0.7065779566764832, 0.32627400755882263, -0.04242497310042381, 0.3874776065349579, 0.35315701365470886, 0.030058052390813828, -0.45779114961624146, -1.0203760862350464, -0.1887403130531311, 0.32722100615501404, -0.6051906943321228, 0.0900828093290329, -0.9903324246406555, -0.3526133596897125, 0.471866250038147, 0.14218230545520782, -0.279928058385849, 0.5663334131240845, 0.07545856386423111, 0.7285630702972412, -0.3847123086452484, 0.47411611676216125, 0.6648733615875244, -0.10962343961000443, -0.8679420351982117, 0.016194265335798264, 0.6011067628860474, -0.2623494863510132, 0.5367906093597412, 0.09108655899763107, -0.15160894393920898, -0.14749778807163239, -0.06877662986516953, -0.9180304408073425, 1.0457794666290283, 0.08868782967329025, -0.24609538912773132, -0.13336189091205597, 0.10766420513391495, 0.7601047158241272, -0.41169196367263794, -0.045897237956523895, 0.31736457347869873, 0.28219637274742126, 0.28153571486473083, -1.5012719631195068, 0.000507625809404999, -0.18598739802837372, -0.49841219186782837, 0.4164182245731354, -0.17749424278736115, 0.5416974425315857, 0.29958316683769226, -0.5380070805549622, 0.22022143006324768, -0.2167162001132965, 0.09210150688886642, 0.6944467425346375, 0.3248119652271271, 0.7239026427268982, 0.701671302318573, -0.3233121633529663, 1.3278298377990723, 0.12624624371528625, -0.20166254043579102, 0.8724738955497742, -0.07808995991945267, 0.7256826162338257, 0.35227182507514954, -0.257772833108902, 0.7167652249336243, 0.6516705751419067, 0.35661351680755615, 0.40565258264541626, -0.08757469803094864, -0.05381700024008751, -0.41519638895988464, -0.09953414648771286, -0.3992312252521515, 0.42279815673828125, 0.5599912405014038, -0.4847257137298584, -0.2928667962551117, -0.15894001722335815, -0.006732566747814417, -0.0367874801158905, -0.349971204996109, 0.9407683610916138, -0.20017683506011963, -0.7618898153305054, 0.26415279507637024, -0.15211395919322968, 0.31658127903938293, -0.7278043031692505, -0.13281552493572235, 0.025561995804309845, 0.00893391203135252, -0.6440276503562927, -1.0750166177749634, 0.8362219333648682, 0.13164660334587097, -0.25046613812446594, -0.13842818140983582, 0.8004506230354309, 0.06944983452558517, -0.7446688413619995, -0.26850783824920654, 0.37379035353660583, -0.02478635683655739, -0.2409389466047287, -0.2776414155960083, 0.05551253259181976, 0.09035845100879669, 0.2350948005914688, 0.46986767649650574, 0.3374892473220825, -0.11584151536226273, 0.5501741170883179, 0.8690439462661743, 0.4302503168582916, -0.1575106829404831, -0.07210368663072586, 0.7903504967689514, -0.6358612179756165, -0.31489843130111694, -0.35488325357437134, 0.6046743392944336, -0.47209465503692627, -0.6302717328071594, 0.47641000151634216, 0.48278123140335083, 0.5695061087608337, 0.05764543637633324, 0.3143555223941803, -0.3820013701915741, 1.041323184967041, -0.5178350210189819, 0.7009099125862122, -0.35719209909439087, 0.4260633885860443, -0.3730749785900116, -0.5001204013824463, -0.6905630230903625, 0.280661016702652, -0.5207129120826721, -0.08318672329187393, 0.9679294228553772, 0.22149913012981415, -0.16637761890888214, 0.00989180151373148, -0.09889198839664459, 0.120948925614357, 0.013062166050076485, 0.35027197003364563, 0.26543623208999634, -0.35263097286224365, 0.6125648021697998, -0.8017216920852661, -0.34610074758529663, 0.004951094277203083, -0.6848950982093811, -0.48982739448547363, -0.6218588352203369, -0.6096804141998291, -0.3558511435985565, 0.0769217237830162, 0.5535482168197632, 0.8956538438796997, -0.6927070021629333, -0.23887912929058075, 0.04708583280444145, 0.1573243886232376, -0.3102400600910187, -0.2603118419647217, 0.34883615374565125, -0.1360354721546173, -0.46638789772987366, 0.35324135422706604, 0.5330783128738403, -0.29178136587142944, 0.2512228786945343, 0.25337737798690796, -0.4679972231388092, -0.7843580842018127, 0.5033988952636719, 0.6401639580726624, -0.6772382259368896, -0.08215393871068954, 0.09014412015676498, 0.01968764327466488, -0.028711311519145966, 0.6639907956123352, -0.6492639780044556, 0.7345947027206421, 0.36625027656555176, 0.3125576078891754, 0.46908512711524963, -0.24336610734462738, 0.7169776558876038, -0.5207279324531555, -0.38045936822891235, 0.5146331787109375, -0.10235194861888885, 0.07728588581085205, -0.6787614226341248, 0.5772225856781006, 0.38209155201911926, -0.3967024087905884, -0.9755339026451111, 0.10161084681749344, -1.2181665897369385, -0.04456762596964836, 0.8038243055343628, 0.15934263169765472, -0.35506731271743774, -0.375732958316803, -0.15447647869586945, 0.3822675943374634, -0.2555055022239685, 0.7465969920158386, 0.43188369274139404, -0.67513507604599, -0.7056425213813782, -0.5773318409919739, 1.0219753980636597, -0.08422545343637466, -0.9758856296539307, -0.18562284111976624, 0.4954341650009155, 0.6259045004844666, 0.2878558039665222, 0.3880790174007416, -0.8059008121490479, 0.946983814239502, -0.45412400364875793, -0.26102814078330994, 0.07751256227493286, 0.12207859754562378, -0.28309863805770874, 0.2899002730846405, -0.003760453313589096, 0.32789427042007446 ]
http://arxiv.org/abs/2405.14039v1
http://arxiv.org/pdf/2405.14039v1
Trajectory Volatility for Out-of-Distribution Detection in Mathematical Reasoning
2024-05-22T22:22:25
2024-05-22T22:22:25
Yiming Wang, Pei Zhang, Baosong Yang, Derek F. Wong, Zhuosheng Zhang, Rui Wang
cs.CL
cs.CL, cs.AI, cs.LG
Real-world data deviating from the independent and identically distributed (i.i.d.) assumption of in-distribution training data poses security threats to deep networks, thus advancing out-of-distribution (OOD) detection algorithms. Detection methods in generative language models (GLMs) mainly focus on uncertainty estimation and embedding distance measurement, with the latter proven to be most effective in traditional linguistic tasks like summarization and translation. However, another complex generative scenario mathematical reasoning poses significant challenges to embedding-based methods due to its high-density feature of output spaces, but this feature causes larger discrepancies in the embedding shift trajectory between different samples in latent spaces. Hence, we propose a trajectory-based method TV score, which uses trajectory volatility for OOD detection in mathematical reasoning. Experiments show that our method outperforms all traditional algorithms on GLMs under mathematical reasoning scenarios and can be extended to more applications with high-density features in output spaces, such as multiple-choice questions.
[ -0.2543608248233795, -0.9397350549697876, 0.6956642270088196, -0.11488310247659683, -0.36885881423950195, 0.04015013203024864, 0.18325014412403107, 0.041339389979839325, -0.05788637697696686, 0.6001203656196594, -0.6299653053283691, -0.6814256906509399, -0.5203895568847656, -0.6394255757331848, -0.40211978554725647, 0.6046373844146729, -0.18645243346691132, -0.12765662372112274, -0.41026511788368225, -0.302207350730896, -0.6166290044784546, -0.5004608631134033, -0.1625005006790161, -0.07349143177270889, -0.072254978120327, 0.07922975718975067, 0.7358593940734863, 0.5815155506134033, 0.761116087436676, 0.1853543370962143, 0.04633193463087082, 0.3051236867904663, -0.39350926876068115, 0.5704909563064575, -0.004060438368469477, -0.5247199535369873, 0.05988152697682381, -0.36439183354377747, 0.5856851935386658, 0.5083599090576172, -0.3805599510669708, -0.07014811038970947, -0.26071301102638245, 0.6042811274528503, -0.7561928033828735, -0.029131455346941948, -0.292160302400589, 0.2094065248966217, -0.33330827951431274, -0.44061896204948425, -0.3862144947052002, -0.588720977306366, 0.03162674978375435, -0.46517905592918396, 0.07692382484674454, -0.052457232028245926, 0.6338412165641785, 0.3876456320285797, -0.4537295997142792, -0.5336316823959351, -1.13113534450531, 0.8241966366767883, -0.41995012760162354, 0.39650464057922363, 0.5062720775604248, 0.7215936779975891, -0.428598552942276, -0.2141527682542801, -0.3072934150695801, -0.2492295205593109, 0.4194931089878082, 0.1280071884393692, -0.14499376714229584, -0.35403531789779663, 0.25741299986839294, 0.1992041915655136, -0.6457134485244751, 0.06514038890600204, 0.12388644367456436, 0.06114537641406059, 0.735649049282074, 0.32534924149513245, 0.056080665439367294, -0.007621845696121454, 0.03135165572166443, -0.2694140672683716, -0.7733505964279175, 0.1105038970708847, 0.9854902029037476, 0.16851261258125305, -0.124723419547081, 0.8273064494132996, 0.1089576780796051, 0.44265666604042053, -0.19444261491298676, 0.1490454375743866, 0.16623830795288086, -0.4203774631023407, -0.016357850283384323, 0.011510839685797691, 0.6503729224205017, 0.22668813169002533, 0.06341338902711868, 0.18655309081077576, 0.019134361296892166, -0.10745671391487122, 0.014492405578494072, -0.7567658424377441, -0.23992356657981873, 0.05070088431239128, -0.2901715040206909, -0.07114142924547195, 0.16785217821598053, -1.1833604574203491, -0.6281443238258362, 0.1249118372797966, 0.29904744029045105, -0.6985473036766052, -0.29486414790153503, 0.35546427965164185, -0.07299742102622986, 0.09672412276268005, 0.44905802607536316, -0.7915548086166382, -0.05583629757165909, 0.5023952126502991, 1.0351117849349976, -0.04650997370481491, 0.16229777038097382, -0.930998682975769, -0.11098989099264145, -0.5314681529998779, 0.6286584734916687, -0.5898596048355103, -0.5170813798904419, 0.2270013839006424, -0.5536090731620789, 0.2222941368818283, -0.3967495262622833, 0.34642860293388367, -0.5403516292572021, 0.25043123960494995, -0.17655599117279053, -0.7478898763656616, -0.24636223912239075, 0.08951658010482788, -0.30247172713279724, 1.255922555923462, 0.2870255410671234, -0.5267648696899414, 0.6713996529579163, -0.8028332591056824, -0.36119604110717773, 0.06707620620727539, -0.2676263451576233, -0.84132319688797, 0.09209170192480087, 0.4526746869087219, 0.28513652086257935, -0.04323989897966385, 0.1800210028886795, -0.5885262489318848, -0.4081796407699585, 0.2780693769454956, -0.9925457239151001, 0.9343120455741882, 0.044394899159669876, -0.4311099946498871, -0.03856518492102623, -0.7349705696105957, -0.16801974177360535, 0.09978582710027695, -0.13011468946933746, -0.5150076746940613, 0.35036471486091614, -0.481399267911911, 0.0901678130030632, -0.11764717847108841, -0.33284279704093933, 0.38180088996887207, -0.6028928160667419, 0.3316168785095215, 0.6649566888809204, 0.24229967594146729, 0.6000243425369263, -0.0373249426484108, 0.760836660861969, 0.222858726978302, 0.21281787753105164, -0.015026241540908813, -0.8903558254241943, -0.27380993962287903, -0.3722165524959564, -0.12291428446769714, 0.6625733971595764, -0.8327093124389648, 0.802717924118042, -0.30711662769317627, -0.3818989396095276, -0.24407297372817993, -0.02927306480705738, 0.031246725469827652, 0.35011541843414307, 0.2654694616794586, 0.058356452733278275, -0.26686960458755493, -0.022839203476905823, -0.14409871399402618, -0.07349835336208344, 0.1813025027513504, 0.004917290527373552, 0.7072978019714355, -0.08123594522476196, 1.0797593593597412, -0.7164751291275024, -0.28800514340400696, -0.12493970990180969, 0.13648028671741486, 0.15037377178668976, 0.23307928442955017, 0.6708287596702576, -0.7758129835128784, -0.3858011066913605, 0.08596069365739822, -0.8537536859512329, 0.20670118927955627, -0.07899542897939682, -0.22296680510044098, -0.04108036682009697, 0.5627314448356628, -0.5879175662994385, 1.235964059829712, 0.2890213131904602, -0.4706035256385803, 0.26355984807014465, -0.5320015549659729, 0.18658003211021423, -0.9681205153465271, -0.44470298290252686, 0.14817510545253754, -0.24080969393253326, -0.36201006174087524, -0.15462550520896912, -0.34262633323669434, 0.12942980229854584, -0.41496434807777405, 0.24895411729812622, 0.008703931234776974, -0.31184256076812744, 0.12724848091602325, 0.28995200991630554, -0.058145634829998016, 0.060488540679216385, -0.23937757313251495, 0.7679649591445923, 0.7331098914146423, -0.7109814882278442, 0.7859088182449341, 0.2306867390871048, -0.7359570264816284, 0.6651924848556519, -0.24329181015491486, -0.10254918783903122, -0.4398287534713745, 0.11656375229358673, -1.3000094890594482, 0.05642697960138321, 0.5961396098136902, -0.45697498321533203, -0.1702568084001541, -0.22100025415420532, -0.6176665425300598, -0.23965342342853546, -0.2380058616399765, 0.4719364643096924, 0.5810822248458862, -0.5643161535263062, 0.5331174731254578, 0.20370908081531525, 0.36443209648132324, -0.5221130847930908, -0.7284195423126221, -0.4920983910560608, -0.5394103527069092, -0.5455403923988342, 0.006957705598324537, -0.0844162106513977, -0.4779897928237915, 0.17781566083431244, 0.1613551825284958, -0.10859206318855286, 0.08235576003789902, 0.2518949508666992, 0.01435836497694254, -0.25754597783088684, 0.29445064067840576, 0.307221919298172, 0.02012612484395504, 0.24448160827159882, -0.3539365828037262, 0.6199167966842651, 0.21448831260204315, -0.9756990075111389, -0.15665796399116516, 0.5943316221237183, 0.5720898509025574, -0.11985325813293457, 0.6669861674308777, 0.5686608552932739, -0.38056281208992004, -0.3955695927143097, 0.06967562437057495, -0.03846566751599312, -0.4234987199306488, 0.5117043852806091, -0.23584920167922974, -0.2952183187007904, 0.6396414637565613, -0.01924651861190796, -0.016678903251886368, 0.46941718459129333, 0.7486429810523987, -0.21457968652248383, 1.2916654348373413, 0.16910633444786072, 0.2086998075246811, 0.6589661836624146, -0.6468804478645325, 0.5052308440208435, -0.46767154335975647, -0.18328168988227844, -0.2904931306838989, -0.10104354470968246, -0.33859696984291077, -0.45809492468833923, 0.47706013917922974, 0.14846786856651306, -0.27244555950164795, 0.12364242970943451, -0.46945443749427795, 0.3650205731391907, 0.5645313262939453, 0.04940006881952286, 0.11733922362327576, 0.03666708990931511, -0.020187534391880035, -0.16408854722976685, -0.3512718379497528, -0.00540839834138751, 1.0991967916488647, 0.08416876941919327, 0.5828295946121216, 0.5856737494468689, 0.5723052620887756, 0.46815112233161926, 0.0975860059261322, -0.7321392893791199, 0.35203465819358826, -0.16937853395938873, -0.3261597156524658, -0.7554363012313843, -0.5941538214683533, -0.9587438702583313, 0.21586385369300842, 0.07171416282653809, -0.7957746982574463, 0.324720561504364, 0.07610253244638443, -0.5190111994743347, 0.45369386672973633, -0.32393398880958557, 0.6859472393989563, -0.16595235466957092, 0.012279716320335865, -0.04637995362281799, -0.3260200023651123, 0.1878436952829361, 0.09917318820953369, 0.30810537934303284, -0.2108529955148697, 0.3188640773296356, 0.32711753249168396, -0.7170288562774658, 0.5523146390914917, -0.3607441186904907, -0.14765223860740662, 0.7088934779167175, 0.21311219036579132, 0.720342755317688, 0.4193281829357147, -0.12170497328042984, 0.11165842413902283, -0.21977289021015167, -0.05101636052131653, -0.7908808588981628, 0.4527282118797302, -0.6537638306617737, -0.22490637004375458, -0.6139562129974365, -0.6460345387458801, -0.12022595852613449, -0.0878738984465599, 0.8523203730583191, 0.490493506193161, 0.2733956277370453, 0.3134665787220001, 0.6833580732345581, -0.044278375804424286, 0.5568798184394836, -0.00017634150572121143, -0.4815695285797119, -0.425527423620224, 0.9106959104537964, 0.24671399593353271, 0.27648594975471497, 0.594091534614563, 0.571550190448761, -0.777885377407074, -0.4009649157524109, -0.598236083984375, -0.11855198442935944, -1.0729581117630005, -0.11768496781587601, -0.2058958262205124, -0.14175015687942505, -0.2966378629207611, -0.254854679107666, -0.3595346510410309, -0.010152284987270832, -0.5059154629707336, -0.0923515036702156, 0.6875722408294678, 0.5103188157081604, -0.034087955951690674, 0.21700331568717957, -0.4454828202724457, 0.13853423297405243, 0.18605780601501465, 0.14755471050739288, -0.36453336477279663, -0.8737980127334595, -0.1652849167585373, 0.32532817125320435, -0.5162704586982727, -0.7412203550338745, 0.6516682505607605, 0.0654265284538269, 0.4341694414615631, 0.4573831558227539, 0.08202514052391052, 0.7233034372329712, -0.19479608535766602, 0.7928625345230103, 0.23611128330230713, -0.9556397795677185, 0.6762701869010925, -0.2702959477901459, 0.08019600063562393, 0.12076439708471298, 0.2233116179704666, 0.026178918778896332, -0.20860831439495087, -0.33313947916030884, -0.49523764848709106, 0.3832661211490631, 0.27648332715034485, 0.10845465213060379, 0.09309038519859314, 0.29268595576286316, 0.2111392319202423, 0.2997629642486572, -0.2592398524284363, -0.35520151257514954, -0.2882518470287323, -0.2995721101760864, -0.10415932536125183, 0.11385805904865265, 0.004500575829297304, -0.3284223675727844, 0.28449124097824097, -0.203934907913208, 0.36770591139793396, -0.04928639903664589, 0.09052213281393051, -0.33974987268447876, -0.10078418254852295, 0.8986384272575378, 0.6148685216903687, -0.29692959785461426, -0.09669224172830582, -0.09483414143323898, -0.6742764711380005, 0.4007072150707245, 0.02904629521071911, -0.261916846036911, 0.23678964376449585, 0.24010680615901947, 0.8959168791770935, -0.12744854390621185, -0.6488672494888306, 0.8817844390869141, 0.03788022696971893, -0.2963784635066986, -0.6358373165130615, -0.17008058726787567, -0.28228721022605896, 0.2949173152446747, 0.2262430489063263, 0.4069959223270416, 0.1751914918422699, -0.40225544571876526, 0.17435915768146515, 0.43952009081840515, -0.511235773563385, -0.3244931995868683, 0.6654789447784424, -0.36409857869148254, -0.3537360727787018, 0.730300784111023, -0.6233087182044983, -0.11648224294185638, 0.6539149284362793, 0.13432393968105316, 0.9666546583175659, -0.28422811627388, 0.5349081754684448, -0.16642704606056213, 0.1303514689207077, -0.22017993032932281, 0.556499719619751, 0.18892024457454681, -0.849780797958374, -0.5907970070838928, -0.2284589260816574, -0.23923657834529877, 0.03909755125641823, -0.6374359726905823, 0.4758908450603485, -0.43426135182380676, -0.14457568526268005, -0.0816284716129303, -0.3243933916091919, -0.6387219429016113, -0.015126192942261696, -0.016682974994182587, 0.20443449914455414, -0.7979896068572998, 0.7331904172897339, 0.33490610122680664, -0.38890984654426575, -0.35251861810684204, 0.15522105991840363, -0.14094272255897522, -0.6574784517288208, 0.7237390279769897, 0.027626067399978638, -0.09949936717748642, -0.1449338048696518, -0.2942952811717987, -1.0415374040603638, 0.9512389898300171, 0.82981938123703, -0.48537030816078186, 0.09661798179149628, 0.2684588134288788, 0.3641999363899231, -0.233013316988945, 0.23111309111118317, 0.32323697209358215, 0.14382921159267426, 0.5122920274734497, -0.2700313329696655, -0.415650874376297, 0.29687848687171936, -0.030546439811587334, 0.7247216105461121, -0.06222684308886528, 1.0772600173950195, -0.32073092460632324, -0.07326875627040863, -0.10477835685014725, 0.5679466128349304, 0.2720883786678314, 0.5289178490638733, 0.35530900955200195, 0.6119197607040405, 0.8049067258834839, -0.26121583580970764, 1.1097899675369263, 0.16953732073307037, 0.6832027435302734, 0.7580686211585999, -0.40913233160972595, 0.8242534399032593, 0.3276096284389496, -0.3492715656757355, 0.6461772322654724, 0.38509365916252136, 0.16447655856609344, 1.0348305702209473, 0.38321593403816223, -0.1756463199853897, -0.3925262689590454, 0.2734222710132599, -0.35580259561538696, 0.4362576901912689, 0.7267566919326782, -0.1475023776292801, -0.39450910687446594, 0.43783336877822876, -0.11507086455821991, 0.20032182335853577, -0.15606999397277832, 0.3854387700557709, 0.008933628909289837, -0.3573017716407776, 0.42754900455474854, -0.23106952011585236, 0.17944321036338806, -0.44850748777389526, -0.38338834047317505, -0.1706065684556961, 0.4343922734260559, 0.14039506018161774, -1.0004197359085083, 0.5370475649833679, -0.39730367064476013, -0.02176009491086006, -0.01962396316230297, 0.1855592578649521, -0.2563778758049011, -0.5660162568092346, 0.1917581856250763, 0.32859179377555847, 0.04601406306028366, -0.221720889210701, -0.4438466429710388, -0.023911811411380768, -0.30560368299484253, -0.20620989799499512, 0.22490888833999634, 0.8628939390182495, -0.22448915243148804, 0.8615782260894775, 0.7727675437927246, 0.056427303701639175, 0.48211848735809326, 0.13853147625923157, 0.5775566101074219, -0.25830984115600586, -0.9143852591514587, -1.1220942735671997, 0.4607571065425873, -0.08993934839963913, -0.7044951915740967, 0.8460623621940613, 0.27282559871673584, 0.6535234451293945, -0.06578446924686432, 0.8228892087936401, 0.20108668506145477, 0.2535947263240814, -0.6930617690086365, 0.12012632191181183, -0.44812890887260437, 0.3471800684928894, -0.10028716176748276, -0.8500464558601379, -0.5896584391593933, 0.6836155652999878, -0.7181946635246277, 0.02930689975619316, 0.74300217628479, 0.45750823616981506, 0.052525829523801804, -0.07267393171787262, 0.5833967924118042, -0.2672736346721649, 0.7899174094200134, 0.5618009567260742, 0.91877681016922, -0.5538983941078186, 0.7419581413269043, -0.2441699057817459, 0.09778857231140137, -0.5946982502937317, -0.963158369064331, -0.9543890953063965, -0.4994250237941742, -0.5750724673271179, -0.575019359588623, 0.019123418256640434, 0.7041386961936951, 0.6402513980865479, -0.8838793039321899, 0.09561505168676376, -0.7643862366676331, 0.23349200189113617, -0.8036397099494934, -0.2876526713371277, 0.5163731575012207, 0.18219684064388275, -0.4938029944896698, 0.35814741253852844, 0.66324383020401, 0.08817259967327118, -0.6721495389938354, -0.14716510474681854, -0.04061579331755638, 0.1721838116645813, 0.3800595998764038, 0.10566970705986023, -0.685950517654419, -0.5829779505729675, -0.03313451260328293, 0.07508756965398788, 0.16828753054141998, 0.6593298316001892, -0.49400594830513, 0.6089888215065002, 0.7191613912582397, 0.5232451558113098, 0.23257845640182495, -0.028134513646364212, 0.31754395365715027, -0.9756158590316772, 0.2618066668510437, 0.42004093527793884, 0.3758831024169922, 0.14917688071727753, -0.6804919838905334, 0.20314902067184448, 0.5896149277687073, -0.5422528982162476, -0.9733155369758606, 0.42441433668136597, -0.572493314743042, 0.029483798891305923, 1.1591335535049438, -0.24986135959625244, -0.03160426765680313, -0.2580766975879669, -0.012157796882092953, 0.03461626544594765, -0.5945571064949036, 0.5935055017471313, 0.6195166110992432, 0.0008194862166419625, -0.18578460812568665, -0.6705004572868347, 0.31710538268089294, 0.023095184937119484, -0.9310994744300842, -0.18292562663555145, 0.1937320977449417, -0.13186043500900269, 0.33708280324935913, 0.24785679578781128, 0.08260595053434372, 0.26893389225006104, 0.19054646790027618, -0.3990371525287628, 0.07747788727283478, -0.3128384053707123, -0.32187992334365845, 0.380038857460022, -0.3661171495914459, -0.7882188558578491 ]
http://arxiv.org/abs/2405.14030v1
http://arxiv.org/pdf/2405.14030v1
Refining Skewed Perceptions in Vision-Language Models through Visual Representations
2024-05-22T22:03:11
2024-05-22T22:03:11
Haocheng Dai, Sarang Joshi
cs.CV
cs.CV, cs.CL
Large vision-language models (VLMs), such as CLIP, have become foundational, demonstrating remarkable success across a variety of downstream tasks. Despite their advantages, these models, akin to other foundational systems, inherit biases from the disproportionate distribution of real-world data, leading to misconceptions about the actual environment. Prevalent datasets like ImageNet are often riddled with non-causal, spurious correlations that can diminish VLM performance in scenarios where these contextual elements are absent. This study presents an investigation into how a simple linear probe can effectively distill task-specific core features from CLIP's embedding for downstream applications. Our analysis reveals that the CLIP text representations are often tainted by spurious correlations, inherited in the biased pre-training dataset. Empirical evidence suggests that relying on visual representations from CLIP, as opposed to text embedding, is more practical to refine the skewed perceptions in VLMs, emphasizing the superior utility of visual representations in overcoming embedded biases. Our codes will be available here.
[ -0.45488426089286804, -0.4608357846736908, 0.6268764734268188, 0.20661550760269165, -0.5348581671714783, 0.11150439083576202, -0.1633894145488739, -0.3752930760383606, 0.3857981562614441, 0.5971022248268127, -0.4131146967411041, -0.3552815914154053, -0.708274781703949, -0.2264726758003235, -0.5596449375152588, 0.9032958745956421, 0.01964411325752735, 0.2938963770866394, -0.45917508006095886, -0.3759709596633911, -0.512877345085144, -0.714377760887146, -0.019681379199028015, -0.285077840089798, 0.43188440799713135, 0.13659605383872986, 0.6735461354255676, 0.702276885509491, 0.3590371310710907, 0.09205957502126694, 0.003358348272740841, -0.03899601846933365, -0.8529659509658813, 0.07720055431127548, -0.33821457624435425, -0.5815479159355164, 0.131465345621109, 0.03984120115637779, 0.5104156732559204, 0.6467340588569641, 0.1936255842447281, 0.2692764699459076, 0.3847549855709076, 0.5652991533279419, -0.9872353672981262, 0.1744566261768341, -0.7703746557235718, 0.1324671506881714, -0.24648863077163696, -0.20034092664718628, -0.5195527672767639, -0.004107281100004911, 0.6591478586196899, -0.6583771705627441, 0.3605222702026367, 0.12253442406654358, 1.0586249828338623, 0.35247448086738586, -0.3739348351955414, -0.21449501812458038, -0.7722921371459961, 0.9349544644355774, -0.5377321839332581, 0.25512903928756714, 0.12076128274202347, 0.20596376061439514, 0.2926740348339081, -0.6402868628501892, -0.2943592071533203, -0.07316301763057709, -0.015805894508957863, 0.1374204307794571, -0.030015435069799423, -0.2144625335931778, 0.34712183475494385, 0.13100665807724, -0.1431693434715271, -0.09054386615753174, -0.5006470084190369, -0.20118501782417297, 0.3578515648841858, 0.15789000689983368, 0.1702376902103424, -0.1266745626926422, -0.6582806706428528, -0.5449386239051819, -0.8382241129875183, 0.11650429666042328, 0.08931618928909302, 0.2044057548046112, 0.0038909316062927246, 0.5975028276443481, 0.08856094628572464, 0.5075303912162781, 0.18041054904460907, 0.031419701874256134, 0.3828545808792114, -0.1203312948346138, -0.2243252843618393, -0.09197600185871124, 0.5740729570388794, 0.6612697243690491, 0.3522912561893463, 0.051703184843063354, -0.16050976514816284, 0.21657750010490417, 0.5769941210746765, -0.5686913132667542, -0.37713125348091125, -0.08228198438882828, -0.40145811438560486, -0.46599048376083374, 0.11851553618907928, -0.9092382788658142, -0.4850844144821167, -0.4802226722240448, 0.5560166835784912, -0.45215362310409546, -0.08544349670410156, -0.12100741267204285, -0.5545880198478699, 0.2567583918571472, 0.4873552620410919, -0.5643498301506042, -0.04283200204372406, 0.46442878246307373, 0.876274585723877, -0.3402568995952606, -0.26318269968032837, -0.4449273347854614, 0.07703355699777603, -0.3209908604621887, 0.6915165185928345, -0.6527769565582275, -0.3612743616104126, 0.18819227814674377, -0.055963240563869476, 0.14779874682426453, -0.6364188194274902, 0.22431859374046326, -0.2843260169029236, -0.16743043065071106, -0.6889804601669312, -0.21732251346111298, -0.15672998130321503, 0.1627461165189743, -0.7342802882194519, 1.0895700454711914, -0.12112559378147125, -0.8353853225708008, 0.7649498581886292, -0.07853881269693375, -0.2644335925579071, -0.13310129940509796, -0.5602413415908813, -0.30335748195648193, 0.363473117351532, 0.671562910079956, 0.43665754795074463, -0.061401043087244034, 0.13822083175182343, -0.5952070355415344, -0.382576584815979, 0.001137089915573597, -0.460898756980896, 0.5020840764045715, -0.13983049988746643, -0.5027555823326111, -0.05156497657299042, -0.512596070766449, -0.08033094555139542, 0.05750980228185654, 0.21111686527729034, -1.0363295078277588, 0.2781302034854889, 0.0973125621676445, 0.14864349365234375, 0.06732404977083206, -0.4206741154193878, 0.10215780884027481, -0.17257952690124512, 0.21777373552322388, 0.9276298880577087, -0.13573889434337616, 0.6497544050216675, -0.015039317309856415, 0.31644052267074585, 0.5308719873428345, 0.3079691231250763, -0.27651259303092957, -0.4156273901462555, -0.8858092427253723, -0.20813602209091187, -0.14344556629657745, 0.35025110840797424, -1.1475919485092163, -0.2834925353527069, -0.42195847630500793, -0.26875004172325134, -0.3551636338233948, 0.23935090005397797, 0.40011388063430786, 0.5914351940155029, 0.34409743547439575, -0.3918597400188446, -0.4283123016357422, -1.1480309963226318, -0.30802667140960693, 0.02525671012699604, 0.08617706596851349, 0.4383513927459717, 0.5167996287345886, -0.10733014345169067, 1.2068085670471191, -0.6836294531822205, -0.2391374707221985, -0.21698029339313507, 0.14404138922691345, -0.038000110536813736, 0.30244988203048706, 0.8757193088531494, -0.8645274043083191, -0.4457826316356659, -0.2602817416191101, -0.7639893293380737, -0.10504172742366791, -0.22507797181606293, -0.32854554057121277, -0.27884766459465027, 0.4431845247745514, -0.10644340515136719, 0.9004788398742676, 0.6074571013450623, -0.31231576204299927, 0.7168179154396057, 0.011696741916239262, -0.08456739783287048, -0.6201714277267456, -0.020213240757584572, 0.18077349662780762, -0.3884350657463074, -0.4154641032218933, -0.00107008486520499, 0.12132531404495239, -0.09984511137008667, -0.5421304106712341, 0.2600795328617096, -0.6943153738975525, -0.2469988316297531, -0.19267538189888, 0.2243647277355194, 0.39994561672210693, 0.4577685594558716, 0.2379770576953888, 0.9316847324371338, 0.700146496295929, -0.668403148651123, -0.008836645632982254, 0.23507975041866302, -0.3289499878883362, 0.6094899773597717, -0.7176828384399414, -0.19222025573253632, -0.4192931652069092, 0.08237618207931519, -0.6297770738601685, 0.08073583245277405, 0.05198530852794647, -0.042781371623277664, 0.13592267036437988, -0.29013845324516296, -0.09725523740053177, -0.2553865909576416, -0.47341716289520264, 0.49636349081993103, 0.579163670539856, -0.788099467754364, 0.4816436469554901, 0.38396409153938293, 0.2886987328529358, -0.8050021529197693, -0.9425942301750183, -0.14446933567523956, -0.14543095231056213, -0.3589119613170624, 0.24759750068187714, 0.4144417941570282, -0.15304796397686005, 0.006814441177994013, -0.31449759006500244, -0.0906454548239708, -0.24594175815582275, 0.4987989068031311, 0.5277301073074341, -0.3423808813095093, 0.020652346312999725, -0.06828382611274719, 0.24893492460250854, 0.043157853186130524, -0.36828821897506714, 0.42797014117240906, 0.0055885412730276585, -0.6714030504226685, -0.00072603760054335, 0.29834240674972534, 0.8623238205909729, -0.2178959846496582, 0.6490628719329834, 0.46733736991882324, -0.025368988513946533, -0.5234344005584717, -0.504961371421814, -0.12515215575695038, -0.45126038789749146, 0.43568041920661926, -0.060144662857055664, -0.8288566470146179, 0.5198692679405212, -0.16624167561531067, -0.11982602626085281, 0.25324946641921997, 0.30624890327453613, -0.2809772789478302, 0.8371086716651917, 0.7858406901359558, -0.06831415742635727, 0.8144290447235107, -0.3647858202457428, 0.2562587261199951, -1.070643424987793, -0.2509317696094513, -0.09467796236276627, -0.2696842849254608, -0.1633870005607605, -0.7336251139640808, 0.5040745139122009, 0.17098625004291534, 0.055703304708004, 0.3000990152359009, -0.45079195499420166, 0.3348568379878998, 0.5224388837814331, 0.36955520510673523, -0.03950509801506996, 0.2224765568971634, -0.4772160053253174, -0.3203924894332886, -0.6040374040603638, -0.5597764849662781, 1.1249103546142578, 0.34167957305908203, 1.0398280620574951, -0.4035728871822357, 0.38526514172554016, 0.3114137649536133, 0.23691146075725555, -0.6937421560287476, 0.33608487248420715, -0.2542443573474884, -0.352976530790329, -0.036432407796382904, -0.07948978990316391, -0.4720880091190338, 0.503879189491272, -0.2046084851026535, -0.8882989287376404, 0.7209826111793518, 0.5798866152763367, -0.03421253710985184, 0.36430612206459045, -0.7986170053482056, 0.715528130531311, -0.24180027842521667, -0.6200883388519287, -0.08374951034784317, -0.3262920081615448, 0.4234524667263031, 0.14704911410808563, 0.017065634950995445, 0.018938777968287468, 0.13904084265232086, 0.47947725653648376, -0.6141073107719421, 1.1027135848999023, -0.23175546526908875, 0.011333132162690163, 0.40677767992019653, 0.06831533461809158, 0.5002868175506592, 0.02729382924735546, 0.16475015878677368, 0.3298119008541107, 0.09720341116189957, -0.40757137537002563, -0.8663226366043091, 0.5141396522521973, -0.5474567413330078, -0.5278019309043884, -0.29033154249191284, -0.20103470981121063, -0.38331225514411926, 0.08804315328598022, 0.4276270866394043, 0.8166017532348633, -0.13970130681991577, 0.2899262011051178, 0.6974985003471375, -0.2974545359611511, 0.21958796679973602, 0.025580385699868202, -0.5487400889396667, -0.0838705450296402, 0.8793174028396606, -0.036607056856155396, 0.4654616713523865, 0.25449690222740173, 0.055432260036468506, -0.12261607497930527, -0.4434700906276703, -0.3634265661239624, 0.03169214352965355, -0.8775697946548462, -0.031972404569387436, -0.36226144433021545, -0.04149949178099632, -0.17412583529949188, -0.2423611879348755, -0.6404222249984741, -0.07873716950416565, -0.4521327614784241, -0.04737621545791626, 0.28631383180618286, 0.8648555874824524, 0.20927651226520538, 0.43492376804351807, -0.5406917333602905, 0.20428280532360077, 0.2540852725505829, 0.30370110273361206, 0.31848499178886414, -0.282674640417099, -0.40162456035614014, 0.3151549696922302, -0.26946017146110535, -0.8071459531784058, 0.5102400183677673, 0.24103562533855438, 0.5869480967521667, 0.6955747008323669, -0.007703077048063278, 1.1104596853256226, -0.6424639225006104, 1.0664466619491577, 0.2665720283985138, -1.0911781787872314, 0.5710440278053284, -0.1200847402215004, 0.20916296541690826, 0.5338233709335327, 0.35644248127937317, -0.2505216598510742, -0.506750762462616, -0.14862824976444244, -0.9793125987052917, 0.502510666847229, 0.12137731909751892, 0.0969616025686264, 0.061003200709819794, 0.12990978360176086, 0.1276930719614029, 0.19070367515087128, -0.5950176119804382, -0.24011178314685822, -0.7723835706710815, -0.1181458830833435, 0.023930853232741356, -0.39101022481918335, 0.012201052159070969, -0.2693178057670593, 0.17924973368644714, -0.14226919412612915, 0.26790738105773926, 0.5831577777862549, -0.5865529179573059, 0.4596785604953766, -0.14288653433322906, 0.5743899345397949, 0.7421677708625793, -0.04244576022028923, 0.3986145555973053, 0.03797873109579086, -0.9420886039733887, -0.09252025187015533, -0.6865582466125488, -0.4270614981651306, 0.3103637397289276, 0.48294517397880554, 1.1004037857055664, 0.40961897373199463, -0.7756664752960205, 0.9151002168655396, 0.21808959543704987, 0.11723598837852478, -0.10126323252916336, -0.1886606067419052, -0.2559806704521179, 0.10031503438949585, 0.6364455819129944, 0.308269202709198, 0.1711532026529312, -0.6203127503395081, 0.270943820476532, 0.4756372272968292, -0.6534515023231506, -0.3359449803829193, 0.4119313955307007, 0.0797070637345314, 0.3268066942691803, 0.3793971538543701, 0.32851454615592957, -0.8537991642951965, 0.44323015213012695, 0.37592753767967224, 0.6817411184310913, 0.27734100818634033, 0.3080517053604126, 0.20052972435951233, 0.423271119594574, -0.33889466524124146, -0.04735487326979637, -0.05525299161672592, -0.6950265169143677, -0.39288556575775146, -0.4773409366607666, -0.26073500514030457, -0.1066608801484108, -1.0570019483566284, 0.29883795976638794, -0.5797613859176636, -0.45315736532211304, -0.38164398074150085, -0.8679461479187012, -0.9429008364677429, 0.12439224869012833, 0.2765350639820099, 0.7550368309020996, -0.9627923965454102, 0.6512096524238586, 0.682336688041687, -0.431946337223053, -0.6952915191650391, 0.1457979828119278, -0.02157782018184662, -0.960343062877655, 1.0572421550750732, 0.061424169689416885, -0.26535648107528687, -0.5408121943473816, -0.8656472563743591, -0.9299817085266113, 0.8521250486373901, 0.42031386494636536, -0.5898356437683105, -0.1401349902153015, 0.18381737172603607, 0.4689248204231262, -0.4187472462654114, 0.28287026286125183, 0.16037368774414062, 0.005152195692062378, 0.054291244596242905, -0.8489496111869812, 0.09563259035348892, -0.0601879321038723, 0.431475967168808, -0.08529524505138397, -0.5086395740509033, 0.9300815463066101, -0.057669661939144135, -0.3429003655910492, -0.4476507306098938, 0.5126163363456726, -0.027216169983148575, 0.2391633838415146, 0.3948933482170105, 0.3402961194515228, 0.40070727467536926, -0.09791094809770584, 0.9807915091514587, -0.06375321000814438, 0.333462119102478, 1.196695327758789, -0.3312602639198303, 0.9980689287185669, 1.0838018655776978, 0.07083798199892044, 0.6351165175437927, 0.026836354285478592, -0.10089889913797379, 0.8334616422653198, 0.007252185605466366, 0.08217183500528336, -0.3365105390548706, -0.037024300545454025, -0.17127321660518646, 0.5708250999450684, 0.413859486579895, -0.6174994707107544, -0.3221285343170166, 0.371116042137146, -0.40555211901664734, 0.09449291974306107, -0.35159698128700256, 0.42240872979164124, 0.14209914207458496, -0.43485039472579956, 0.4481034278869629, -0.573768675327301, 0.9519898891448975, -0.4482644498348236, -0.1851726770401001, -0.014646532945334911, 0.16280171275138855, -0.08487354218959808, -0.8827612996101379, 0.4637344777584076, -0.056423742324113846, -0.3385067284107208, -0.533043622970581, 0.7685847282409668, -0.1128590777516365, -0.3680006265640259, 0.30907243490219116, 0.2961881756782532, -0.03855558857321739, -0.20716622471809387, -0.4205603301525116, 0.4514566957950592, 0.19883915781974792, -0.008716912008821964, 0.23054416477680206, 0.31343990564346313, -0.22637470066547394, 0.8913242816925049, 0.49102964997291565, 0.2888122498989105, 0.38586747646331787, -0.03705349564552307, 1.036557674407959, -0.5300012826919556, -0.5296196937561035, -0.8427432775497437, 0.5675169229507446, -0.3387686312198639, -0.3338310420513153, 0.8445377349853516, 0.44453856348991394, 0.8625066876411438, -0.511311411857605, 0.8199564814567566, 0.1825362741947174, 0.2971374988555908, -0.6370899677276611, 0.7533599138259888, -0.4799876809120178, 0.26719897985458374, -0.574858546257019, -0.7941317558288574, 0.07665422558784485, 0.7252665162086487, -0.4732746183872223, -0.28607484698295593, 0.7534690499305725, 0.4408552050590515, -0.27822476625442505, -0.09613215178251266, 0.3512829542160034, 0.13253498077392578, 0.23800988495349884, 0.4722054898738861, 0.8982537388801575, -0.35420867800712585, 0.603064239025116, -0.31573250889778137, -0.139707550406456, -0.32389700412750244, -1.0120925903320312, -1.129571795463562, -0.5905364155769348, -0.26724621653556824, -0.10666313022375107, 0.027005044743418694, 0.4986879527568817, 0.8870906233787537, -0.6834955215454102, -0.000699403346516192, 0.06526840478181839, 0.02313205599784851, -0.07096078991889954, -0.26538485288619995, 0.13794218003749847, -0.07519053667783737, -0.46030890941619873, 0.007808215916156769, 0.4483788013458252, 0.05887596681714058, -0.6367588043212891, 0.22557196021080017, 0.19042281806468964, -0.06629907339811325, 0.7594348192214966, 0.21403709053993225, -0.8428289294242859, -0.4651678800582886, 0.063443623483181, -0.1678050458431244, 0.16505838930606842, 1.0741773843765259, -1.1155644655227661, 0.510635256767273, 0.4817097783088684, 0.4935770332813263, 0.5805230140686035, 0.03802041336894035, 1.0009278059005737, -0.7185015082359314, 0.45972806215286255, 0.19830112159252167, 0.3976164162158966, 0.3622302711009979, -0.3433043658733368, 0.10852512717247009, 0.3823920488357544, -0.017459169030189514, -0.8880703449249268, 0.2176627516746521, -1.1175402402877808, -0.2239888459444046, 1.109018325805664, -0.2020581215620041, -0.4577229917049408, -0.028099408373236656, -0.3727153539657593, -0.08700981736183167, -0.2870350778102875, 0.438689649105072, 0.6385111212730408, 0.1322297304868698, -0.28974997997283936, -0.4758510887622833, 0.39076364040374756, 0.4507209360599518, -0.2581096887588501, 0.012892821803689003, 0.4319906234741211, 0.3969632089138031, 0.23811346292495728, 0.17582428455352783, -0.17783942818641663, -0.025203336030244827, 0.30934345722198486, -0.07582313567399979, -0.05403513088822365, -0.1585838496685028, -0.1481730341911316, 0.0865069255232811, -0.15677744150161743, -0.2734052240848541 ]
http://arxiv.org/abs/2405.14012v1
http://arxiv.org/pdf/2405.14012v1
Prompt-Time Ontology-Driven Symbolic Knowledge Capture with Large Language Models
2024-05-22T21:40:34
2024-05-22T21:40:34
Tolga Çöplü, Arto Bendiken, Andrii Skomorokhov, Eduard Bateiko, Stephen Cobb
cs.AI
cs.AI, cs.CL, I.2.7
In applications such as personal assistants, large language models (LLMs) must consider the user's personal information and preferences. However, LLMs lack the inherent ability to learn from user interactions. This paper explores capturing personal information from user prompts using ontology and knowledge-graph approaches. We use a subset of the KNOW ontology, which models personal information, to train the language model on these concepts. We then evaluate the success of knowledge capture using a specially constructed dataset. Our code and datasets are publicly available at https://github.com/HaltiaAI/paper-PTODSKC
[ -0.3457845449447632, -0.6820914149284363, 1.1415653228759766, -0.07699859887361526, 0.27427828311920166, 0.06872285157442093, 0.07819196581840515, -0.1357244849205017, 0.27831390500068665, 0.6108313798904419, -0.7331539392471313, -0.5388695001602173, -0.5188723802566528, 0.4126070737838745, -0.2952922582626343, 0.46351826190948486, 0.023539843037724495, -0.34721872210502625, 0.001104764174669981, 0.1336435079574585, -0.4043692350387573, -0.7131327986717224, -0.7372777462005615, -0.23642972111701965, 0.7564452886581421, 0.5289461612701416, 0.42115142941474915, 0.5172288417816162, -0.06746841222047806, 0.26912835240364075, 0.07654214650392532, 0.2137875258922577, -0.21249355375766754, 0.32879841327667236, -0.08496332913637161, -0.45146429538726807, -0.1651402711868286, 0.08280562609434128, 0.631788969039917, 0.6988427639007568, -0.03973006457090378, 0.23407146334648132, 0.027317481115460396, 0.0359094999730587, -0.4512742757797241, 0.4623309373855591, -0.2011284977197647, 0.2848101258277893, -0.3727339208126068, -0.4055243134498596, -0.5753519535064697, -0.558384895324707, 0.020716343075037003, -0.9177725315093994, -0.23497408628463745, 0.21586769819259644, 0.5976023077964783, 0.13977056741714478, -0.5948761701583862, -0.2527729272842407, -0.648722231388092, 0.6971683502197266, -0.7844574451446533, 0.2151859849691391, 0.6893227100372314, 0.8302978277206421, -0.2296934723854065, -0.8558488488197327, -0.9163693189620972, -0.39645254611968994, -0.12847614288330078, -0.12166661769151688, -0.2006375640630722, -0.0649847686290741, 0.5354797840118408, -0.22089336812496185, -0.3052964210510254, 0.12347687780857086, -0.10250796377658844, -0.2275456041097641, 0.4853557348251343, 0.6275789141654968, 0.2797563076019287, -0.4869767427444458, -0.35468152165412903, -0.16008737683296204, -0.6188615560531616, 0.22812631726264954, 0.25280606746673584, 0.42791321873664856, -0.06318747997283936, 0.8010181784629822, -0.28245389461517334, 0.9504302144050598, 0.13299086689949036, -0.37814489006996155, 0.025718476623296738, -0.4418357312679291, 0.13246101140975952, -0.01961357705295086, 0.8784780502319336, 0.14452654123306274, 0.388202041387558, -0.38005080819129944, -0.1933096945285797, -0.13716846704483032, -0.13453227281570435, -0.5899299383163452, 0.0034908156376332045, 0.3058706521987915, -0.10989498347043991, -0.20060747861862183, -0.026548828929662704, -0.5311260223388672, -0.6315184831619263, -0.4334564805030823, 0.01986662857234478, -0.3225649297237396, 0.19614505767822266, -0.15409691631793976, -0.24599149823188782, 0.1399250626564026, 0.6179923415184021, -0.7624752521514893, 0.22902756929397583, 0.4410616159439087, 0.919816255569458, 0.03109860047698021, -0.32086265087127686, -0.7971103191375732, 0.49606260657310486, -0.03893650323152542, 0.7479799389839172, -0.5697420239448547, -0.3244728744029999, 0.15666751563549042, -0.17537811398506165, 0.00846103299409151, -0.22507344186306, 0.08610571920871735, -0.7526633739471436, 0.47678735852241516, -0.6821981072425842, -0.7633754014968872, -0.04571322724223137, 0.41749483346939087, -0.5858647227287292, 0.768937885761261, 0.4534895122051239, -0.6746095418930054, 0.2811153531074524, -0.5708709359169006, -0.2467583566904068, 0.3429158926010132, -0.3343319296836853, 0.15155011415481567, -0.35238373279571533, -0.023662235587835312, 0.9094826579093933, -0.3723708689212799, 0.21477997303009033, -0.5438166856765747, 0.003750099102035165, 0.5872946381568909, 0.030687063932418823, 0.8843802809715271, 0.4203207194805145, 0.14118698239326477, -0.05970509722828865, -0.7755559086799622, -0.1815018355846405, 0.39475953578948975, -0.3932412564754486, -0.44106054306030273, -0.21468599140644073, -0.2679324150085449, 0.6199979782104492, 0.5310063362121582, -0.7653950452804565, 0.5500632524490356, 0.023762179538607597, 0.6103626489639282, 0.7984366416931152, 0.08235166221857071, 0.23243311047554016, -0.16415460407733917, 0.6487587690353394, -0.19269031286239624, -0.0247428547590971, -0.2436905950307846, -0.40461820363998413, -0.265686959028244, 0.050549156963825226, 0.21076206862926483, 0.5883262157440186, -0.9231746196746826, 0.6491124033927917, -0.13693729043006897, -0.21867720782756805, 0.03549013286828995, 0.38706615567207336, 0.3935200273990631, 0.8404093980789185, 0.1184915155172348, -0.244706928730011, -0.4025067687034607, -0.2687312662601471, -0.049809131771326065, -0.44499465823173523, -0.37704765796661377, 0.7223142981529236, 0.17750422656536102, -0.24758034944534302, 1.4928803443908691, -0.9044652581214905, -0.6517522931098938, -0.47396597266197205, 0.2040625810623169, 0.07984700798988342, -0.009869437664747238, 0.5963336229324341, -0.48115047812461853, -0.33144834637641907, -0.1505889594554901, -1.1354931592941284, -0.533368706703186, -0.05420752614736557, 0.021242521703243256, -0.010196798481047153, 0.4357175827026367, -0.7469732165336609, 0.19445589184761047, 0.44653600454330444, -0.8593165278434753, 0.4425621032714844, -0.15381170809268951, 0.1478249579668045, -1.4095934629440308, 0.2904488444328308, 0.09218470007181168, -0.5372462868690491, -0.6942786574363708, -0.4889499843120575, -0.11583515256643295, -0.2909049391746521, -0.5228909850120544, 1.1753097772598267, -0.33383357524871826, -0.14264145493507385, -0.20674163103103638, 0.5938418507575989, -0.15511038899421692, 0.5872481465339661, 0.08445501327514648, 0.5152572393417358, 0.04982404410839081, -0.7875959873199463, 0.4762369692325592, 0.6945894956588745, -0.16615022718906403, 0.5456677675247192, -0.4698311388492584, 0.3450401723384857, 0.060912616550922394, 0.0856957957148552, -1.025745153427124, -0.7193286418914795, 0.4469219744205475, -0.4569430351257324, 0.19963453710079193, 0.0896199494600296, -0.7943889498710632, -0.37012234330177307, -0.17103619873523712, 0.01795140653848648, 0.5219943523406982, -0.5329978466033936, 0.965097963809967, 0.6452718377113342, -0.3238854706287384, -0.32427865266799927, -0.5074396133422852, 0.20695696771144867, -0.09017534554004669, -0.5296257138252258, 0.08286464214324951, 0.20139449834823608, -0.16050344705581665, -0.09747806936502457, 0.3306262791156769, 0.011228346265852451, 0.0360606424510479, 0.2382938265800476, 0.11350639909505844, 0.24185149371623993, 0.33727607131004333, 0.03698739409446716, -0.2264130413532257, 0.20183053612709045, -0.24619024991989136, 0.8144521117210388, 0.30019432306289673, -0.36064741015434265, -0.8775858879089355, 0.3428228795528412, 0.33300483226776123, 0.1340237706899643, 0.5755588412284851, 0.1870299130678177, -0.21606485545635223, 0.07492032647132874, -0.5398324131965637, -0.35178783535957336, -0.4639962911605835, 0.08338663727045059, -0.3075975179672241, -0.8562138080596924, 0.5712876319885254, -0.17193472385406494, 0.2116214781999588, 0.17633309960365295, 0.40309593081474304, -0.2761777639389038, 1.1826317310333252, 0.6272204518318176, -0.029197173193097115, 0.7089142203330994, -0.014041928574442863, -0.0896599143743515, -0.5127128958702087, -0.3744037449359894, -0.6734834313392639, -0.1734035313129425, -0.03757642209529877, 0.04761449992656708, 0.32803890109062195, -0.23656688630580902, -0.5056350231170654, 0.3456573486328125, 0.0019657921511679888, -0.05624748021364212, 0.7711958885192871, 0.09538333863019943, 0.5176872611045837, -0.019190538674592972, 0.12642525136470795, 0.04024504870176315, -0.802678108215332, -0.6787353157997131, 0.8458580374717712, 0.17264598608016968, 1.0932921171188354, -0.01057950034737587, 0.5178068280220032, 0.40980714559555054, -0.12645965814590454, -0.6304028630256653, 0.8345727920532227, -0.1219545230269432, -0.29546013474464417, -0.5012240409851074, -0.6722443103790283, -1.0680391788482666, -0.40205058455467224, 0.030391255393624306, -0.8611854314804077, 0.14346037805080414, 0.6279624104499817, -0.6550842523574829, 0.12013794481754303, -0.7289314270019531, 0.7784480452537537, -0.24672041833400726, 0.02668122574687004, 0.0821758359670639, -0.9041629433631897, 0.2606732249259949, -0.27494293451309204, -0.11368605494499207, -0.22703994810581207, 0.008491257205605507, 0.9929987788200378, -0.5382473468780518, 1.508398175239563, -0.4292582869529724, 0.022714830935001373, 0.25350630283355713, 0.2573588192462921, 0.6362063884735107, -0.18682819604873657, 0.29443952441215515, 0.06973370164632797, 0.06911296397447586, -0.2072729766368866, -0.8716862797737122, 0.3808460831642151, -0.7524645328521729, -0.455355703830719, -0.34977415204048157, -0.5238593220710754, -0.3560326099395752, 0.18981271982192993, 0.23148734867572784, 0.3207756280899048, -0.0367557555437088, -0.2529444694519043, 0.4927503764629364, -0.09921272844076157, 0.24353861808776855, 0.5972108244895935, -0.41671717166900635, -0.05879655107855797, 0.6162292957305908, 0.4360659122467041, 0.16501086950302124, 0.47245678305625916, 0.45010465383529663, -0.5605872869491577, 0.2480960488319397, -0.3395496606826782, 0.48232296109199524, -0.882192075252533, -0.269083708524704, -0.8531656265258789, -0.02530050091445446, -0.7249322533607483, -0.13366493582725525, 0.03889087960124016, -0.5749478936195374, -0.43665948510169983, 0.11688563227653503, 0.7089850902557373, 0.8412160277366638, 0.21900902688503265, 0.6579396724700928, -1.1294242143630981, 0.20790094137191772, 0.6114132404327393, -0.14369262754917145, -0.050615955144166946, -0.5921746492385864, 0.12071523070335388, -0.23510442674160004, -0.04296635091304779, -1.0747036933898926, 0.39587974548339844, 0.0711173489689827, 0.7103615403175354, 0.5462861657142639, 0.20485438406467438, 0.2918159067630768, -0.10426972061395645, 0.8471434712409973, 0.2882789671421051, -0.9445502758026123, 0.7680447101593018, -0.11257299780845642, 0.6685028076171875, 0.4483746886253357, 0.6688354015350342, -0.9773244857788086, -0.26629653573036194, -0.39285025000572205, -0.3446506857872009, 0.8801696300506592, -0.174597829580307, -0.0601314976811409, 0.061455514281988144, 0.40462177991867065, 0.018666844815015793, 0.2380468100309372, -0.3776681125164032, 0.06225019693374634, 0.030323199927806854, -0.6028332114219666, -0.02746494859457016, -0.30714258551597595, -0.13484816253185272, 0.18343155086040497, 0.1769949048757553, -0.31194788217544556, 0.17129415273666382, -0.060669973492622375, -0.041664108633995056, 0.29838132858276367, 0.03694847971200943, 0.12561006844043732, 0.447115421295166, 0.07970813661813736, 0.29278624057769775, 0.22390201687812805, -0.37135228514671326, 0.24412041902542114, -0.03141101822257042, -0.3739296793937683, -0.19590802490711212, 0.3315318822860718, 0.4935227036476135, 0.21330463886260986, -0.8758915662765503, 0.5416723489761353, -0.23162899911403656, 0.27233031392097473, -0.5205691456794739, 0.12532658874988556, -0.13955342769622803, 0.28395548462867737, -0.04720126464962959, -0.32095494866371155, -0.007897777482867241, -0.3202725946903229, -0.04708222672343254, 0.18196557462215424, -0.32423633337020874, -0.7376363277435303, 0.5370388031005859, 0.1235220804810524, -0.35626786947250366, 0.7277331352233887, -0.18290366232395172, -0.3861923813819885, 0.1868247389793396, 0.5456746220588684, 0.6810894012451172, -0.5474480986595154, 0.2032446265220642, 0.23980897665023804, -0.2769642472267151, 0.1734192669391632, 0.42544785141944885, -0.5273430943489075, -0.7048685550689697, -0.4482992887496948, -0.28992384672164917, -0.5933908820152283, -0.2898639440536499, -0.2562289834022522, 0.5523127317428589, -0.5309261679649353, -0.4002664089202881, -0.18841734528541565, -0.09232340008020401, -0.754909873008728, -0.09705063700675964, 0.014624440111219883, 1.0125229358673096, -1.0271320343017578, 0.7692039608955383, 0.5095884799957275, -0.4595869779586792, -1.1905289888381958, -0.29180270433425903, 0.16785234212875366, -0.8858266472816467, 1.076446533203125, -0.10238777846097946, -0.148831307888031, 0.03108886629343033, -0.5131485462188721, -0.7433599233627319, 1.238684058189392, 0.6524904370307922, -0.36771950125694275, -0.5713241100311279, 0.17686280608177185, 0.25327014923095703, -0.3847568929195404, 0.0579354502260685, 0.7495585083961487, 0.5569935441017151, 0.3310084342956543, -0.7566527724266052, 0.10741405934095383, -0.04773297160863876, 0.01938541792333126, 0.012921351939439774, -0.4233664870262146, 0.8659431338310242, -0.26290443539619446, -0.42692628502845764, -0.09265652298927307, 0.495044082403183, 0.4195355474948883, 0.266217440366745, 0.48752275109291077, 0.37035730481147766, 0.9685761332511902, 0.05879618227481842, 1.3789429664611816, -0.3910093307495117, 0.1634424477815628, 1.0606327056884766, -0.5515151619911194, 0.6896924376487732, 0.4140339195728302, -0.044185709208250046, 0.2904370129108429, 0.5871586799621582, 0.22999800741672516, 0.4032706022262573, -0.31081607937812805, -0.29136011004447937, -0.4035989046096802, -0.4329964816570282, -0.17361611127853394, 0.43461406230926514, 0.40003740787506104, -0.329522967338562, -0.2661344110965729, 0.2742447257041931, 0.21064752340316772, -0.18703703582286835, -0.11617633700370789, 0.999973714351654, 0.2853267192840576, -0.777923047542572, 0.1316213607788086, -0.20405922830104828, 0.19800713658332825, -1.0273916721343994, -0.09124398976564407, -0.1591297686100006, -0.013599609024822712, -0.03218997269868851, -1.0255829095840454, -0.046744585037231445, 0.08691343665122986, 0.026386087760329247, -0.4155083894729614, 0.7869083881378174, -0.2275838851928711, -0.1312071681022644, 0.315801739692688, 0.5704378485679626, 0.3750443458557129, 0.02834518440067768, -0.14985334873199463, -0.23000532388687134, -0.2971596419811249, -0.34420138597488403, 0.30480363965034485, 0.3561590909957886, -0.1744590699672699, 0.8316493034362793, 0.5089603066444397, 0.059998493641614914, 0.10760825127363205, 0.06848805397748947, 0.908966064453125, -0.8655340075492859, -0.7553153038024902, -0.7224061489105225, 0.11092926561832428, -0.1675238311290741, -0.457990437746048, 0.95405113697052, 0.16874834895133972, 0.6655962467193604, -0.13824774324893951, 0.8876773118972778, -0.17376774549484253, 0.84560227394104, -0.7427220344543457, 0.5548649430274963, -0.2986403703689575, 0.13474354147911072, -0.0664491355419159, -0.6198842525482178, -0.2842444181442261, 0.24534174799919128, -0.5025080442428589, 0.17223894596099854, 0.23544031381607056, 0.6437661647796631, 0.09119759500026703, -0.1826811283826828, 0.39806315302848816, 0.1794717013835907, 0.41248199343681335, 0.7392728328704834, 1.1284250020980835, 0.2433365136384964, 0.42826181650161743, -0.0781562328338623, -0.4771368205547333, -0.381525456905365, -0.8566786646842957, -0.9916585087776184, -0.8127127885818481, -0.10894609987735748, -0.47957468032836914, -0.17549987137317657, 1.103954553604126, 0.6243618726730347, -0.6355999708175659, -0.21658025681972504, 0.1643555611371994, -0.11947434395551682, 0.07756658643484116, -0.14992965757846832, 0.2600822448730469, -0.49803808331489563, -0.583821177482605, 0.24427376687526703, 0.12742437422275543, 0.3251006007194519, -0.4902667999267578, -0.1297903209924698, 0.003034432651475072, 0.052003394812345505, 0.7307060956954956, 0.667224645614624, -0.5848357677459717, -0.2550574541091919, 0.28886136412620544, -0.28047335147857666, 0.012567023746669292, 1.0936204195022583, -1.0246014595031738, 0.5475217700004578, 0.7736406326293945, 0.5457672476768494, 0.40182843804359436, 0.21133825182914734, 0.5701075792312622, -1.0734100341796875, -0.16283182799816132, 0.058632202446460724, 0.5410928130149841, 0.30343014001846313, -0.6109282970428467, 0.25117170810699463, 0.2528400123119354, -0.3387190103530884, -0.5024040937423706, 0.26919472217559814, -1.1076738834381104, -0.16146056354045868, 1.2571372985839844, -0.40553486347198486, -0.3709012269973755, -0.5405905246734619, -0.41206300258636475, 0.32872897386550903, -0.497513085603714, 0.7690828442573547, 0.5898473858833313, -0.22348077595233917, 0.08842542767524719, -0.2948559522628784, 0.2315698266029358, -0.020426582545042038, -1.0570687055587769, 0.12475110590457916, 0.494099885225296, 0.2186414897441864, 0.35154852271080017, 0.9704830646514893, 0.12929905951023102, 0.2663264572620392, -0.15608154237270355, 0.12720225751399994, -0.4368433952331543, -0.48679229617118835, -0.3779536187648773, 0.37018170952796936, 0.29774367809295654, 0.014681544154882431 ]
http://arxiv.org/abs/2405.14006v1
http://arxiv.org/pdf/2405.14006v1
Evaluating Large Language Models with Human Feedback: Establishing a Swedish Benchmark
2024-05-22T21:22:51
2024-05-22T21:22:51
Birger Moell
cs.CL
cs.CL, cs.AI
In the rapidly evolving field of artificial intelligence, large language models (LLMs) have demonstrated significant capabilities across numerous applications. However, the performance of these models in languages with fewer resources, such as Swedish, remains under-explored. This study introduces a comprehensive human benchmark to assess the efficacy of prominent LLMs in understanding and generating Swedish language texts using forced choice ranking. We employ a modified version of the ChatbotArena benchmark, incorporating human feedback to evaluate eleven different models, including GPT-4, GPT-3.5, various Claude and Llama models, and bespoke models like Dolphin-2.9-llama3b-8b-flashback and BeagleCatMunin. These models were chosen based on their performance on LMSYS chatbot arena and the Scandeval benchmarks. We release the chatbotarena.se benchmark as a tool to improve our understanding of language model performance in Swedish with the hopes that it will be widely used. We aim to create a leaderboard once sufficient data has been collected and analysed.
[ -0.28902602195739746, -0.5257964134216309, 0.4494273066520691, 0.24256454408168793, -0.5282236337661743, 0.2530241012573242, -0.7240719199180603, -0.5155230760574341, -0.07588993012905121, 0.5721181631088257, -0.33114808797836304, -0.570969820022583, -0.5356173515319824, 0.39124155044555664, -0.11269094049930573, 0.5831460356712341, 0.02111273631453514, 0.475532203912735, -0.29094380140304565, -0.2189510315656662, -0.6000375151634216, -0.7970726490020752, -0.49479272961616516, -0.5715555548667908, 0.6924594044685364, 0.1800360083580017, 0.7063618898391724, 0.500594437122345, 0.4898858368396759, 0.3681236505508423, -0.34274497628211975, 0.14774145185947418, -0.5913885235786438, 0.3474119007587433, -0.34802350401878357, -0.5495041012763977, -0.23380699753761292, -0.003900210140272975, 0.6947529911994934, 0.6379322409629822, -0.10667617619037628, 0.22067606449127197, 0.2318476140499115, 0.48752105236053467, -0.22246184945106506, 0.1771160513162613, -0.6619940996170044, -0.28120940923690796, -0.2934698760509491, 0.16332320868968964, -0.5624241828918457, -0.46738195419311523, 0.096565380692482, -0.16696009039878845, -0.02130391262471676, 0.22261759638786316, 0.6800564527511597, 0.11540193110704422, -0.3333713412284851, -0.31505608558654785, -0.7180572748184204, 0.8667703866958618, -0.6399330496788025, 0.3621212840080261, 0.4159756004810333, 0.44860097765922546, -0.23826953768730164, -0.4031391739845276, -0.2993069291114807, -0.6050657629966736, 0.22307300567626953, -0.08841677755117416, -0.16713184118270874, -0.10958152264356613, 0.0675949901342392, -0.04870111122727394, -0.34854841232299805, 0.4967445135116577, -0.38190099596977234, -0.17346414923667908, 0.934978187084198, 0.19054138660430908, 0.05638975277543068, -0.26931193470954895, -0.11982670426368713, -0.26929017901420593, -0.6699789762496948, -0.18492048978805542, 0.6021441221237183, 0.5557469725608826, 0.04323393106460571, 0.6596720218658447, -0.025517867878079414, 0.5487685799598694, -0.280673623085022, 0.024949857965111732, 0.365117609500885, -0.14950186014175415, 0.006163871847093105, -0.2691839039325714, 0.8511995673179626, 0.4154282212257385, 0.34504541754722595, -0.19239118695259094, -0.5951639413833618, 0.16984203457832336, 0.23510201275348663, -0.631974458694458, -0.03185426443815231, 0.07129792124032974, -0.6455846428871155, -0.31136777997016907, -0.3316405713558197, -0.6533151268959045, -0.7025230526924133, -0.19532977044582367, 0.34198853373527527, -0.2321794182062149, -0.3825896382331848, 0.03438457101583481, 0.015226654708385468, 0.2172267884016037, 0.4681955873966217, -0.7550718784332275, 0.27340707182884216, 0.660597562789917, 0.7579547166824341, -0.6279153227806091, -0.3398846387863159, -0.17436997592449188, -0.29259106516838074, -0.5545061230659485, 1.0330661535263062, -0.44554659724235535, -0.6573648452758789, 0.20464561879634857, -0.3332974910736084, 0.15616410970687866, -0.9116835594177246, 0.6548217535018921, -0.57893306016922, 0.2055089920759201, -0.19150462746620178, -0.7670565247535706, -0.00439526466652751, 0.1782180368900299, -0.6770135164260864, 1.0977340936660767, -0.058352794498205185, -0.41171348094940186, 0.15872226655483246, -0.5962209701538086, -0.3558013141155243, 0.3809209167957306, -0.24012190103530884, -0.1391122043132782, 0.12654033303260803, 0.05369814857840538, 0.529487133026123, -0.5715504288673401, 0.5143296122550964, -0.37183693051338196, -0.3333907425403595, 0.44391438364982605, -0.5917841196060181, 0.6167192459106445, 0.10467109084129333, -0.21435882151126862, 0.34254005551338196, -0.6358563303947449, 0.08914950489997864, 0.1811351180076599, -0.6350714564323425, -0.3184153735637665, 0.025573119521141052, 0.3767005503177643, 0.32729649543762207, 0.2137264907360077, -0.4684363603591919, 0.22379498183727264, -0.284801721572876, 0.44484183192253113, 0.899451494216919, -0.11172321438789368, 0.07569929212331772, -0.3525463044643402, 0.6038349866867065, -0.39178404211997986, 0.06841565668582916, 0.22754855453968048, -0.5425843000411987, -0.6814226508140564, -0.29716718196868896, 0.6418381333351135, 0.3780365288257599, -0.6614087820053101, 0.45743703842163086, -0.37177416682243347, -0.6720518469810486, -0.8927214741706848, 0.3424774408340454, 0.4657106101512909, -0.13726097345352173, 0.01707462966442108, -0.39988359808921814, -0.5774238109588623, -1.118148684501648, -0.4552735984325409, -0.2376507967710495, -0.37633955478668213, 0.5606671571731567, 0.4807201325893402, -0.18337076902389526, 0.7957741022109985, -0.1487221121788025, -0.09503322839736938, -0.4677864611148834, 0.1366317868232727, 0.37306103110313416, 0.11189419031143188, 0.44724851846694946, -0.5316269397735596, -0.2963961660861969, -0.11101705580949783, -0.44761526584625244, -0.09112704545259476, 0.23459473252296448, -0.03160585090517998, 0.3993085026741028, 0.25899526476860046, -0.5519900321960449, 0.11760931462049484, 0.7334588170051575, -0.30213913321495056, 0.5285833477973938, -0.3173220455646515, 0.08179761469364166, -1.053497076034546, 0.31952521204948425, -0.1737251579761505, -0.2422581911087036, -0.39892318844795227, -0.21625129878520966, 0.013373829424381256, 0.05760569125413895, -0.6654838919639587, 0.8931856155395508, -0.3404604494571686, -0.3419204652309418, -0.14440809190273285, 0.35223835706710815, -0.5092331767082214, 0.5422834157943726, 0.05288314446806908, 0.8026761412620544, 0.08215835690498352, -0.5409034490585327, 0.3270602524280548, 0.2788946330547333, -0.8796546459197998, 0.26335418224334717, -0.7579281330108643, 0.40421897172927856, -0.06438978016376495, 0.16063722968101501, -1.2663497924804688, -0.2849874794483185, 0.007126424927264452, -0.42883309721946716, -0.07817792892456055, -0.06142498925328255, -0.8036160469055176, -0.4198291301727295, -0.16929961740970612, 0.09320954233407974, 0.6877434849739075, -0.41720083355903625, 0.6035349369049072, 0.5730866193771362, -0.28725913166999817, -0.2375662475824356, -0.36106958985328674, 0.3293210566043854, 0.04806575924158096, -0.4228816032409668, 0.028912672773003578, -0.29229986667633057, -0.5038025379180908, -0.25261563062667847, 0.23688766360282898, 0.10792665183544159, 0.2581893801689148, 0.28199145197868347, 0.5627155900001526, -0.06337853521108627, 0.18869735300540924, -0.12185432016849518, -0.00469724927097559, 0.06212400272488594, 0.2422563135623932, 0.8894373178482056, -0.2205098569393158, -0.264011412858963, -0.37948110699653625, 0.0829005241394043, 0.8252164125442505, -0.14467506110668182, 0.6182202696800232, 0.11711382120847702, -0.17590832710266113, -0.11767426133155823, -0.6899121999740601, -0.19687442481517792, -0.44242024421691895, 0.42664989829063416, -0.265653520822525, -0.9319838285446167, 0.646746814250946, -0.13603952527046204, 0.2786388695240021, 0.5620148777961731, 0.9003623127937317, -0.017456863075494766, 1.314265489578247, 0.3155776858329773, -0.21070998907089233, 0.33125635981559753, 0.060664936900138855, -0.19383130967617035, -0.5638623833656311, -0.3051493465900421, -0.7324772477149963, -0.28095757961273193, -0.6139214634895325, -0.44944167137145996, 0.07216482609510422, -0.11236125975847244, -0.1368812918663025, 0.2580621838569641, -0.25480496883392334, 0.5672361850738525, 0.417018860578537, -0.06622554361820221, 0.3098091185092926, -0.0269942507147789, -0.44197165966033936, -0.019381077960133553, -0.7345026731491089, -0.739530086517334, 1.1724826097488403, 0.39814305305480957, 0.7521902918815613, 0.19881783425807953, 0.5388324856758118, 0.530015230178833, 0.6766168475151062, -0.6790615916252136, 0.7073823809623718, -0.09119168668985367, -0.7386369705200195, -0.4117683470249176, -0.35996732115745544, -1.1202986240386963, 0.6084460020065308, -0.20646394789218903, -0.5716118216514587, -0.27410197257995605, -0.043488793075084686, -0.15749992430210114, 0.013440754264593124, -0.6645716428756714, 0.5350022912025452, -0.4104635715484619, -0.4718506634235382, -0.43071669340133667, -0.45656484365463257, 0.10504843294620514, -0.06756529211997986, 0.2643808126449585, -0.31880879402160645, -0.2393244504928589, 0.9220725297927856, -0.14219318330287933, 1.0884798765182495, -0.10169660300016403, -0.34881362318992615, 0.08881825953722, 0.015073820948600769, 0.5076282024383545, -0.14222753047943115, -0.363197386264801, 0.41199859976768494, -0.24153774976730347, -0.32176023721694946, -0.3745824992656708, 0.6583853363990784, -0.9588958621025085, -0.48725056648254395, -0.19482670724391937, -0.28614795207977295, -0.40223923325538635, 0.37813037633895874, 0.15552957355976105, 0.26494133472442627, -0.3830714225769043, 0.32383957505226135, 0.4082522988319397, -0.19526927173137665, 0.37956106662750244, 0.6273106932640076, -0.6164625287055969, -0.6468679308891296, 0.5567642450332642, 0.10654856264591217, 0.023433128371834755, 0.15222357213497162, 0.10189111530780792, -0.5970189571380615, -0.6252718567848206, -0.5571115016937256, 0.40791094303131104, -0.6887510418891907, -0.09734553843736649, -0.39624330401420593, -0.15540623664855957, -0.22345829010009766, 0.051602017134428024, -0.6023197770118713, -0.14091919362545013, -0.08713653683662415, 0.009597758762538433, 0.08398042619228363, 1.1727207899093628, 0.34188902378082275, 0.02080903761088848, -0.7846910357475281, -0.05664686858654022, 0.27037549018859863, 0.6779742240905762, 0.18541640043258667, -0.43735837936401367, 0.0002808012650348246, -0.043124306946992874, 0.10561038553714752, -0.6097781658172607, 0.2588534355163574, -0.24659790098667145, 0.8797671794891357, 0.1544465869665146, -0.035089608281850815, 0.1992972046136856, -0.4157709777355194, 0.8499099016189575, -0.002565619768574834, -0.8642731308937073, 0.36296823620796204, -0.5848000645637512, 0.49884232878685, 0.5753301978111267, 0.14214035868644714, -0.725189208984375, -0.42712166905403137, -0.5158583521842957, -0.780386209487915, 0.6431906223297119, 0.3317333459854126, 0.2879120111465454, -0.016334934160113335, 0.1500801295042038, 0.333038330078125, 0.2562884986400604, -0.4775661826133728, -0.1029244139790535, 0.3656991720199585, 0.01051210705190897, -0.31533923745155334, -0.40791597962379456, 0.09148886799812317, -0.12833082675933838, 0.649075984954834, 0.056802209466695786, 0.04370858892798424, -0.1967719942331314, -0.32927823066711426, 0.06555923819541931, 0.31890857219696045, 0.811321496963501, 0.7530415654182434, -0.18649600446224213, -0.047203294932842255, 0.3894486129283905, -0.4035998284816742, 0.11895840615034103, -0.127483069896698, -0.05395542457699776, 0.16945910453796387, 0.5785606503486633, 0.90673828125, 0.3604988157749176, -1.0143406391143799, 0.3799029290676117, -0.37033528089523315, -0.29116174578666687, -0.1023801863193512, 0.08957183361053467, 0.3041880428791046, 0.2798782289028168, 0.331973671913147, -0.008640650659799576, -0.3114021420478821, -0.18210779130458832, -0.008219745010137558, 0.18674136698246002, -0.28049033880233765, -0.3400563895702362, 0.4723745584487915, 0.6550386548042297, -0.6571650505065918, 0.6390592455863953, 0.003623933531343937, -0.5004553198814392, 0.4371076822280884, 0.4194332957267761, 0.8040621876716614, -0.33740925788879395, 0.21481597423553467, 0.39748233556747437, 0.22775453329086304, -0.37934568524360657, 0.3618076741695404, -0.03475579246878624, -0.6971449851989746, -0.4291200339794159, -0.5799618363380432, -0.6150119304656982, 0.28031468391418457, -0.5571238398551941, 0.28698110580444336, -0.3277705907821655, -0.3376002311706543, 0.08548002690076828, 0.18901042640209198, -0.7332227230072021, -0.19575291872024536, 0.20277944207191467, 1.01090407371521, -0.7682175040245056, 0.7885221242904663, 0.7206918001174927, -0.1586817055940628, -0.5877252221107483, -0.18479175865650177, -0.1107885092496872, -0.8807827830314636, 0.5312026143074036, 0.1575184315443039, -0.283195436000824, -0.12704861164093018, -0.6459335684776306, -0.8342079520225525, 0.813520073890686, 0.42639097571372986, -0.8182916045188904, 0.2667939066886902, -0.04129844158887863, 0.905657947063446, -0.3418010175228119, 0.3403964936733246, 0.5481325387954712, 0.46792998909950256, 0.03605986014008522, -1.0276830196380615, -0.12863515317440033, -0.39569082856178284, 0.4077036678791046, 0.08161471784114838, -0.7071168422698975, 0.49905386567115784, -0.034331467002630234, -0.2574772238731384, 0.2672816216945648, 0.6488404870033264, 0.24614979326725006, -0.24019159376621246, 0.6084379553794861, 0.08238791674375534, 0.92579185962677, 0.2369687408208847, 1.205688714981079, -0.20944707095623016, 0.2291463166475296, 1.0797897577285767, -0.6557217240333557, 1.3250970840454102, 0.33755823969841003, -0.35459044575691223, 0.2705497741699219, 0.6292692422866821, -0.0125043373554945, 0.44261470437049866, 0.5207896828651428, 0.01747574843466282, -0.5052396059036255, -0.14042556285858154, -0.1201198548078537, 0.6838547587394714, 0.20199935138225555, -0.341525673866272, -0.13202181458473206, 0.10568410903215408, 0.13729575276374817, 0.028540559113025665, -0.21288497745990753, 0.8424255847930908, -0.16448432207107544, -1.0190949440002441, 0.8133729696273804, 0.01930488646030426, 0.8074902892112732, -0.4854089319705963, 0.12871511280536652, -0.4090441167354584, 0.26891204714775085, 0.27146920561790466, -0.87259441614151, -0.11416954547166824, 0.27883827686309814, -0.04804974049329758, -0.24510428309440613, 0.682640790939331, -0.4685417413711548, -0.3685932457447052, 0.42177972197532654, 0.5174616575241089, 0.34226152300834656, 0.17651551961898804, -0.5781539082527161, 0.4451058804988861, 0.0225682333111763, -0.34674063324928284, 0.37714114785194397, -0.11391966044902802, -0.22780631482601166, 0.9215946793556213, 0.6147145628929138, 0.011351966299116611, -0.30661138892173767, 0.3271075189113617, 0.7832819819450378, -0.5053672790527344, -0.41118988394737244, -0.9114746451377869, 0.11905277520418167, -0.2872900366783142, -0.6686055064201355, 0.7684168815612793, 0.6315600872039795, 0.659710705280304, -0.09036505967378616, 0.9279423952102661, 0.2100105732679367, 0.7398607730865479, -0.27670958638191223, 1.0979851484298706, -0.30004680156707764, 0.30180448293685913, -0.042383670806884766, -1.0783426761627197, -0.276857852935791, 0.29510676860809326, -0.38616737723350525, 0.10417807102203369, 0.3718210756778717, 0.6924209594726562, 0.3400891125202179, -0.07466289401054382, 0.501250147819519, 0.42185544967651367, 0.24628108739852905, 0.2067696899175644, 1.1373835802078247, 0.0000347868881362956, 0.5840985774993896, 0.07952214777469635, -0.11584188044071198, -0.4709775745868683, -0.8018704056739807, -1.2321810722351074, -0.6510798335075378, -0.09080576151609421, -0.3785325288772583, 0.2881109416484833, 1.1538087129592896, 0.601850688457489, -0.7050579786300659, -0.4510345160961151, 0.427035391330719, 0.09658324718475342, -0.06211639940738678, -0.13663847744464874, 0.3495153784751892, -0.09544157236814499, -0.6927003264427185, 0.37130311131477356, 0.1706584393978119, -0.010421082377433777, -0.561335563659668, -0.21424758434295654, -0.03440345451235771, 0.3399984538555145, 0.6643907427787781, 0.05180436745285988, -0.9191805720329285, -0.24855607748031616, 0.003104432485997677, -0.4334743618965149, -0.10423634201288223, 0.6869180202484131, -0.7364844679832458, 0.27326858043670654, 0.5975263118743896, 0.5840754508972168, 0.26345905661582947, -0.13837830722332, 0.6900053024291992, -0.533161997795105, -0.11569961160421371, 0.4271114766597748, 0.1822930872440338, 0.54048752784729, 0.05953904986381531, 0.4914015829563141, 0.004289306700229645, -0.562163770198822, -0.9002907872200012, -0.020617539063096046, -0.6740641593933105, -0.38287121057510376, 1.542879343032837, 0.10763495415449142, -0.4378500282764435, -0.19387389719486237, -0.4677406847476959, -0.05798722058534622, -0.587861955165863, 0.892707347869873, 1.040769100189209, -0.028991246595978737, 0.1070004254579544, -0.48760512471199036, 0.3895711600780487, 0.4338347911834717, -0.7848029732704163, 0.4038596749305725, 0.5049991011619568, 0.31883925199508667, -0.09546025097370148, 0.6205787658691406, -0.05031681805849075, 0.19051438570022583, -0.09250900149345398, 0.30105388164520264, 0.11496832966804504, -0.10724781453609467, -0.5920034646987915, 0.0318334735929966, 0.3103204071521759, -0.07658328860998154 ]
http://arxiv.org/abs/2405.13984v1
http://arxiv.org/pdf/2405.13984v1
Feedback-aligned Mixed LLMs for Machine Language-Molecule Translation
2024-05-22T20:40:53
2024-05-22T20:40:53
Dimitris Gkoumas, Maria Liakata
cs.CL
cs.CL, cs.MM
The intersection of chemistry and Artificial Intelligence (AI) is an active area of research focused on accelerating scientific discovery. While using large language models (LLMs) with scientific modalities has shown potential, there are significant challenges to address, such as improving training efficiency and dealing with the out-of-distribution problem. Focussing on the task of automated language-molecule translation, we are the first to use state-of-the art (SOTA) human-centric optimisation algorithms in the cross-modal setting, successfully aligning cross-language-molecule modals. We empirically show that we can augment the capabilities of scientific LLMs without the need for extensive data or large models. We conduct experiments using only 10% of the available data to mitigate memorisation effects associated with training large models on extensive datasets. We achieve significant performance gains, surpassing the best benchmark model trained on extensive in-distribution data by a large margin and reach new SOTA levels. Additionally we are the first to propose employing non-linear fusion for mixing cross-modal LLMs which further boosts performance gains without increasing training costs or data needs. Finally, we introduce a fine-grained, domain-agnostic evaluation method to assess hallucination in LLMs and promote responsible use.
[ -0.24927477538585663, -0.6846023797988892, 0.5480891466140747, 0.14833872020244598, -0.21504615247249603, 0.41365620493888855, -0.5154945850372314, -0.4621150493621826, 0.31684574484825134, 0.39432844519615173, -0.6766951680183411, -0.5121456980705261, -0.45705848932266235, 0.43032339215278625, -0.2326134890317917, 1.0446099042892456, -0.3674575090408325, 0.6979097127914429, -0.4844611585140228, -0.14218071103096008, -0.07573624700307846, -0.29775094985961914, -0.19746431708335876, -0.5204373002052307, 0.5199622511863708, 0.32321810722351074, 0.6182708740234375, 0.5880263447761536, 0.6942537426948547, 0.25753211975097656, -0.08252020180225372, 0.5000708103179932, -0.6271451115608215, 0.18837326765060425, -0.3015173375606537, -0.41481977701187134, -0.7026768326759338, 0.10122749954462051, 0.5970137715339661, 0.784160315990448, -0.03681059554219246, -0.060460902750492096, -0.1590920239686966, 0.6024699211120605, -0.4541985094547272, -0.09029265493154526, -0.5173401236534119, 0.161507710814476, 0.024841396138072014, -0.33168870210647583, -0.28916364908218384, -0.0757569894194603, 0.1304771602153778, -0.5726858973503113, -0.062875896692276, 0.20236794650554657, 0.49019747972488403, 0.5044468641281128, -0.36432287096977234, -0.3125757575035095, -0.7511516809463501, 0.9390666484832764, -0.6974968910217285, 0.5903223752975464, -0.11601198464632034, 0.33349815011024475, -0.5173541307449341, -0.45805102586746216, -0.8078836798667908, -0.448355495929718, 0.10770472139120102, 0.2736148536205292, 0.15926764905452728, 0.24127213656902313, -0.22733929753303528, 0.37302830815315247, -0.6766762733459473, 0.0024426353629678488, -0.35401105880737305, -0.3653041422367096, 0.8211565613746643, 0.16398712992668152, 0.2939685881137848, 0.1287100613117218, -0.5821712017059326, -0.0426490381360054, -0.6189025044441223, -0.4505213797092438, 0.04787278175354004, 0.4673633575439453, 0.026009902358055115, 0.9831109046936035, 0.016980353742837906, 0.48519155383110046, 0.20247341692447662, -0.04970239847898483, 0.17836332321166992, -0.9228726029396057, -0.23764383792877197, 0.24633756279945374, 0.9556847810745239, 0.3246362507343292, -0.020210668444633484, -0.3451530933380127, -0.4803291857242584, 0.20205749571323395, 0.038101375102996826, -0.9175081253051758, -0.031497493386268616, 0.23893064260482788, -0.0069976807571947575, -0.06843588501214981, -0.2792372703552246, -0.7726344466209412, -0.4172270596027374, -0.3587302267551422, 0.6170889735221863, -0.23447036743164062, 0.056959863752126694, -0.013036370277404785, -0.009296122938394547, -0.1691596508026123, 0.3951954245567322, -0.9344649314880371, 0.2544543147087097, 0.4764922559261322, 0.6026500463485718, -0.5777612328529358, -0.3048376441001892, -0.5032426118850708, 0.32760611176490784, -0.2358289510011673, 0.5746183395385742, -0.6285870671272278, -0.2864718735218048, -0.37820151448249817, -0.24033388495445251, 0.04422565549612045, -0.9523324966430664, 0.2567930519580841, -0.46561768651008606, 0.3361209034919739, -0.08529919385910034, -0.6395524144172668, -0.02617032825946808, 0.11278871446847916, -0.28044772148132324, 0.999205470085144, 0.29492756724357605, -0.19774669408798218, 0.4152710735797882, -0.4657084345817566, -0.37767234444618225, -0.07205371558666229, -0.4327809512615204, -0.4521360993385315, 0.03989054635167122, 0.18210650980472565, 0.1903427690267563, -0.44924044609069824, 0.28498438000679016, -0.37050458788871765, -0.1952357143163681, 0.5504668354988098, -0.2108333706855774, 0.2704669237136841, 0.22264738380908966, -0.5329294800758362, 0.6782255172729492, -0.7465466260910034, -0.05040553957223892, -0.36634552478790283, -0.4168766438961029, -0.028553709387779236, -0.3247015178203583, 0.38857510685920715, 0.34092599153518677, 0.3432687222957611, -0.4972585439682007, 0.36869871616363525, -0.1971309632062912, 0.5091825127601624, 0.6413866281509399, -0.11261896789073944, 0.72004634141922, -0.17581932246685028, 0.47363078594207764, 0.13523225486278534, -0.015419852919876575, 0.2761818766593933, -0.29742345213890076, -0.6937150955200195, -0.6598676443099976, 0.25573205947875977, 0.5551097393035889, -0.6276178956031799, 0.7579727172851562, -0.1454249620437622, -0.3664041757583618, -0.8056674599647522, 0.6375638842582703, 0.2557078003883362, 0.36742255091667175, 0.5670894384384155, -0.5060832500457764, -0.42181792855262756, -0.8503341674804688, -0.09595254808664322, 0.06270553916692734, -0.05145898461341858, 0.45962095260620117, 0.38128694891929626, -0.8743592500686646, 0.7923524379730225, 0.029743539169430733, -0.43762141466140747, -0.3530748784542084, -0.04405679181218147, 0.004473178647458553, 0.3831668198108673, 0.06340332329273224, -0.6526265740394592, -0.41002357006073, 0.29999086260795593, -0.7784340977668762, -0.32704806327819824, -0.2708464562892914, -0.4064808785915375, 0.44373804330825806, 0.4362645745277405, -0.8679801225662231, 0.07583674043416977, 0.5627228617668152, -0.16166643798351288, 0.005439441651105881, -0.046945031732320786, 0.10175751894712448, -1.0741790533065796, 0.1164560317993164, -0.08703140169382095, -0.36846908926963806, -0.640683114528656, -0.13753096759319305, 0.05850301310420036, 0.02412707544863224, -0.6804208159446716, 0.5402980446815491, -0.4848124384880066, -0.10790886729955673, -0.3959607183933258, 0.46243080496788025, -0.07762351632118225, 0.4329212009906769, 0.09435191750526428, 0.8208183646202087, 0.3490254580974579, -0.4335136413574219, 0.3398509919643402, 0.014053276740014553, 0.07159081846475601, 0.5076516270637512, -0.4226948320865631, 0.13800454139709473, 0.021323110908269882, 0.4206063151359558, -0.8142509460449219, -0.3346829116344452, 0.4939002990722656, -0.35248276591300964, 0.39121565222740173, 0.4512915015220642, -0.32716456055641174, -0.005595813505351543, -0.255831778049469, 0.6020781397819519, 0.34762129187583923, -0.27942216396331787, 0.801009476184845, 0.438436359167099, 0.10115499049425125, -0.36658740043640137, -0.6859011650085449, 0.002392715308815241, -0.08295003324747086, -0.6221199631690979, 0.3998897969722748, -0.2018771767616272, -0.1661601960659027, -0.0072938306257128716, -0.4551616609096527, 0.06851371377706528, -0.16646187007427216, -0.026168646290898323, 0.31462621688842773, -0.12328549474477768, -0.19008943438529968, 0.08074851334095001, -0.12411332875490189, -0.08692790567874908, -0.4434735178947449, 0.5338269472122192, -0.1391792744398117, -0.28600284457206726, -0.5816710591316223, 0.37161874771118164, 0.8885864615440369, -0.030929354950785637, 0.6593291163444519, 0.6054211258888245, -0.2543843984603882, -0.2481461614370346, -0.16574636101722717, -0.43848884105682373, -0.48089104890823364, 0.5296428203582764, -0.03292344883084297, -0.9264626502990723, 0.5051075220108032, -0.01206266414374113, -0.23966939747333527, 0.15454216301441193, 0.9060704112052917, -0.06481142342090607, 1.049808144569397, 0.47737982869148254, -0.10220310091972351, 0.359801322221756, -0.01617026887834072, 0.6702090501785278, -0.6386685967445374, -0.4012226462364197, -0.12719818949699402, -0.5876114368438721, -0.4825413227081299, -0.6719134449958801, 0.6310645937919617, 0.20259368419647217, 0.11000137776136398, 0.22538301348686218, -0.4575485289096832, 0.31812939047813416, 0.3685412108898163, 0.13821682333946228, 0.3798585832118988, 0.06578747183084488, 0.007337668910622597, 0.013305079191923141, -0.7041653990745544, -0.2429179847240448, 1.1784405708312988, 0.1733243614435196, 1.0995458364486694, 0.03981415927410126, 0.7847509980201721, 0.1089259684085846, 0.33076363801956177, -0.9759439826011658, 0.7298627495765686, 0.22832971811294556, -0.5031768679618835, -0.3025158643722534, -0.8077287077903748, -0.8212146759033203, 0.15881572663784027, -0.2438846081495285, -0.31474578380584717, -0.033264558762311935, 0.13444706797599792, -0.1363295316696167, 0.04386179894208908, -0.5008321404457092, 0.7707108855247498, -0.5577505230903625, -0.5413854122161865, -0.32784903049468994, -0.7806519269943237, 0.25494712591171265, -0.20045509934425354, 0.11185739189386368, 0.036478351801633835, -0.22041086852550507, 0.37062832713127136, -0.559831440448761, 0.48255112767219543, 0.11759544163942337, -0.30153483152389526, 0.11013885587453842, 0.03154658153653145, 0.4761824607849121, -0.10467599332332611, 0.26181352138519287, 0.14949138462543488, -0.043630536645650864, -0.435236394405365, -0.8180666565895081, 0.8042750358581543, -0.8690492510795593, -0.5687982439994812, -0.37150099873542786, -1.049947738647461, -0.1439400166273117, 0.3057333528995514, 0.08196747303009033, -0.2234557867050171, 0.17528478801250458, 0.060877472162246704, 0.5745857954025269, -0.007046757265925407, 0.10891301184892654, 0.5184186697006226, -0.5260288119316101, -0.8366352915763855, 1.1689720153808594, -0.031038928776979446, 0.6822366714477539, 0.5103882551193237, 0.06322041898965836, -0.30939561128616333, -0.6063244938850403, -0.885918140411377, 0.3481825888156891, -0.546741783618927, -0.04439576715230942, -0.5298048853874207, -0.13886068761348724, -0.4413434565067291, -0.21242956817150116, -0.6348413825035095, -0.6029388308525085, -0.36144495010375977, 0.10117091238498688, 0.2963733375072479, 0.5347840189933777, -0.008634460158646107, -0.022981097921729088, -0.8903570771217346, 0.3915313184261322, 0.021221371367573738, 0.06161188334226608, -0.41631466150283813, -0.3571304976940155, -0.3742257058620453, 0.09335615485906601, -0.1808268129825592, -0.7941285967826843, 0.42927443981170654, 0.1931985765695572, 0.5404649376869202, 0.16306884586811066, -0.18424536287784576, 0.6866682171821594, -0.25145402550697327, 0.6634932160377502, 0.12213863432407379, -0.9205289483070374, 0.3570178151130676, -0.3608907461166382, 0.01531862560659647, 0.7326781749725342, 0.24436260759830475, -0.4379653334617615, -0.4612979292869568, -0.179565891623497, -1.1143993139266968, 0.500722348690033, 0.23492148518562317, -0.22972112894058228, 0.3088083565235138, 0.24333150684833527, 0.1604567915201187, 0.5544517636299133, -0.7088607549667358, -0.32491999864578247, -0.0689687430858612, -0.5877192616462708, -0.1447904109954834, 0.38845229148864746, -0.266156405210495, -0.4704958200454712, 0.9645187258720398, -0.10237481445074081, 0.0028414216358214617, 0.1864534318447113, -0.3196646571159363, -0.5081949234008789, 0.25873762369155884, 0.8913422226905823, 0.4750573933124542, -0.27814167737960815, 0.13735614717006683, 0.028888529166579247, -0.49631357192993164, 0.41169512271881104, 0.09518784284591675, -0.3814340829849243, -0.14252765476703644, -0.004504990763962269, 0.5789243578910828, 0.10314425081014633, -1.0647332668304443, 0.30017581582069397, 0.22292855381965637, -0.07660192251205444, 0.1870959997177124, 0.1186286211013794, -0.03138230741024017, 0.44353583455085754, 0.19231057167053223, 0.2750432789325714, 0.07663127034902573, -0.7331357598304749, 0.32009753584861755, 0.6634492874145508, -0.39244988560676575, -0.35750558972358704, 0.6795318722724915, 0.17863982915878296, -0.2947585880756378, 0.42636778950691223, -0.026693934574723244, -0.5355349183082581, 0.20436891913414001, 0.622573733329773, 1.0116814374923706, -0.15663732588291168, -0.08008269220590591, -0.10591911524534225, 0.2785096764564514, 0.10308997333049774, 0.37691405415534973, -0.2726007103919983, -0.5953449010848999, -0.15296272933483124, -0.6204210519790649, -0.5840489268302917, -0.07651657611131668, -0.5162343978881836, 0.2569074332714081, -0.4539330005645752, 0.009898284450173378, -0.26415160298347473, 0.04090409725904465, -0.2650628983974457, -0.007589887827634811, 0.11728642135858536, 0.7542175054550171, -0.8822128176689148, 0.935746431350708, 0.6731467843055725, -0.3660334348678589, -0.5057123303413391, -0.05605141073465347, 0.12082617729902267, -0.6775696873664856, 0.5267557501792908, 0.04478020220994949, -0.3923603594303131, -0.07316131144762039, -0.3912707269191742, -0.9920816421508789, 1.0163477659225464, 0.33778172731399536, -0.6470257639884949, 0.25252243876457214, 0.47267237305641174, 0.7810872197151184, -0.44996947050094604, 0.1700131893157959, 0.7500283122062683, 0.6173521876335144, 0.25461530685424805, -1.0441166162490845, 0.06658024340867996, -0.3451438546180725, -0.19967766106128693, 0.26857709884643555, -0.6373464465141296, 0.6650234460830688, 0.0019650824833661318, -0.11613453179597855, 0.09418968856334686, 0.8055601716041565, 0.48547685146331787, 0.4266863763332367, 0.18874087929725647, 0.648363471031189, 0.7197065949440002, 0.06728240847587585, 0.8460848331451416, -0.33773234486579895, 0.1495501846075058, 0.8528124094009399, -0.6492612957954407, 0.7888886332511902, 1.1515226364135742, -0.22546839714050293, 0.05064217001199722, 0.6744028925895691, 0.08571570366621017, 0.7348260879516602, 0.3880738615989685, -0.41259971261024475, -0.21664603054523468, -0.4132424294948578, -0.33169475197792053, 0.18717315793037415, 0.41725948452949524, -0.2870424687862396, 0.0065223658457398415, -0.02051452174782753, -0.11350814253091812, 0.1575523018836975, -0.17979805171489716, 0.6756882071495056, 0.11331615597009659, -0.7144584655761719, 0.835489809513092, -0.07728103548288345, 0.7048326730728149, -0.4819280207157135, 0.06604661792516708, -0.31751856207847595, 0.4092654585838318, -0.2731970250606537, -0.5059443116188049, 0.09230875223875046, -0.23744498193264008, -0.1814238578081131, -0.19057966768741608, 0.23091264069080353, -1.0529545545578003, -0.6021450757980347, 0.3978385329246521, 0.33163726329803467, 0.1671038269996643, 0.31483760476112366, -0.45528918504714966, 0.16024956107139587, 0.12013567239046097, -0.150081604719162, 0.4316609799861908, 0.3325914144515991, -0.15483324229717255, 0.5981760621070862, 0.5267537832260132, 0.16800381243228912, 0.17859524488449097, -0.008164798840880394, 1.0666019916534424, -0.6948205232620239, -0.10155652463436127, -0.8810791969299316, 0.35670599341392517, 0.2837144136428833, -0.1752624660730362, 0.872799813747406, 0.8106651306152344, 0.9680808782577515, 0.09903808683156967, 0.7541567087173462, 0.33015501499176025, 0.15111073851585388, -0.6713802218437195, 0.48433956503868103, -0.6918586492538452, 0.4230906367301941, -0.024708878248929977, -1.1422803401947021, -0.437652051448822, 0.49994325637817383, 0.02171412482857704, 0.07496576756238937, 0.6860017776489258, 1.2344592809677124, -0.038120582699775696, -0.0013421995099633932, 0.12089094519615173, 0.23200950026512146, 0.4063590168952942, 0.6890537738800049, 0.8659524917602539, -0.37933748960494995, 0.37380385398864746, -0.24693478643894196, -0.10335060954093933, -0.45459216833114624, -0.5210632681846619, -0.8624923825263977, -0.22247985005378723, -0.28539007902145386, -0.4100024998188019, -0.005113685503602028, 1.3558218479156494, 0.6616021394729614, -1.0613386631011963, -0.4401606023311615, -0.3346681594848633, -0.04459560662508011, 0.009202386252582073, -0.18117454648017883, 0.09166880697011948, -0.1866978257894516, -0.8599313497543335, 0.8927271962165833, 0.7249909043312073, 0.2807706296443939, -0.6757314205169678, -0.4571570158004761, -0.1621263027191162, 0.17572680115699768, 0.3820410370826721, 0.22976720333099365, -0.9466306567192078, -0.023305539041757584, 0.3412359952926636, -0.4079975485801697, 0.20163655281066895, 0.733749270439148, -0.6195999979972839, 0.4993997812271118, 0.6762584447860718, 0.8898352980613708, 0.5260319113731384, -0.10731633752584457, 0.8874782919883728, -0.5607693195343018, 0.11760266125202179, 0.4813099503517151, 0.10114443302154541, 0.38904839754104614, -0.39542174339294434, 0.3508795201778412, 0.29864898324012756, -0.6554493308067322, -0.9863841533660889, 0.05007055029273033, -1.2895383834838867, -0.18227514624595642, 1.0251281261444092, 0.28507116436958313, -0.4990370571613312, 0.16826751828193665, -0.20041772723197937, 0.43793439865112305, -0.649816632270813, 0.884641170501709, 0.5505984425544739, -0.44006139039993286, 0.05834123119711876, -0.2178025245666504, 0.4643819034099579, 1.0040708780288696, -0.8028963804244995, 0.011539891362190247, 0.7268446683883667, -0.0824439600110054, 0.22682340443134308, 0.2850208282470703, -0.07776212692260742, 0.2288830280303955, -0.24853232502937317, 0.19486556947231293, 0.04127059504389763, -0.5466984510421753, -0.39517608284950256, -0.18423232436180115, -0.18818485736846924, 0.016034899279475212 ]
http://arxiv.org/abs/2405.13974v1
http://arxiv.org/pdf/2405.13974v1
CIVICS: Building a Dataset for Examining Culturally-Informed Values in Large Language Models
2024-05-22T20:19:10
2024-05-22T20:19:10
Giada Pistilli, Alina Leidinger, Yacine Jernite, Atoosa Kasirzadeh, Alexandra Sasha Luccioni, Margaret Mitchell
cs.CL
cs.CL, cs.AI
This paper introduces the "CIVICS: Culturally-Informed & Values-Inclusive Corpus for Societal impacts" dataset, designed to evaluate the social and cultural variation of Large Language Models (LLMs) across multiple languages and value-sensitive topics. We create a hand-crafted, multilingual dataset of value-laden prompts which address specific socially sensitive topics, including LGBTQI rights, social welfare, immigration, disability rights, and surrogacy. CIVICS is designed to generate responses showing LLMs' encoded and implicit values. Through our dynamic annotation processes, tailored prompt design, and experiments, we investigate how open-weight LLMs respond to value-sensitive issues, exploring their behavior across diverse linguistic and cultural contexts. Using two experimental set-ups based on log-probabilities and long-form responses, we show social and cultural variability across different LLMs. Specifically, experiments involving long-form responses demonstrate that refusals are triggered disparately across models, but consistently and more frequently in English or translated statements. Moreover, specific topics and sources lead to more pronounced differences across model answers, particularly on immigration, LGBTQI rights, and social welfare. As shown by our experiments, the CIVICS dataset aims to serve as a tool for future research, promoting reproducibility and transparency across broader linguistic settings, and furthering the development of AI technologies that respect and reflect global cultural diversities and value pluralism. The CIVICS dataset and tools will be made available upon publication under open licenses; an anonymized version is currently available at https://huggingface.co/CIVICS-dataset.
[ -0.10759934782981873, -0.46820172667503357, 0.31983697414398193, 0.195423886179924, 0.013266641646623611, 0.10731599479913712, -0.6975314617156982, -0.32597774267196655, 0.29266878962516785, 0.4673571288585663, -0.4850764572620392, -0.5526906847953796, -0.6095342636108398, 0.17232348024845123, -0.0754496157169342, 0.9234892129898071, 0.38450467586517334, 0.33233579993247986, -0.0729338675737381, -0.3642423748970032, -0.2638435959815979, -0.6560572981834412, -0.10971950739622116, 0.36983194947242737, 0.7810823917388916, 0.6018737554550171, 0.7829023599624634, 0.45014268159866333, 0.316383957862854, 0.17848382890224457, -0.4866504669189453, -0.14896415174007416, -0.6887807846069336, 0.1357126384973526, -0.30811551213264465, -0.4891681373119354, -0.23762963712215424, -0.0023983174469321966, 0.7010260224342346, 0.6736384034156799, 0.3428049385547638, 0.7029077410697937, 0.034452665597200394, 0.6204556226730347, -0.8208330273628235, 0.36174091696739197, -0.6838676929473877, -0.1345934420824051, -0.4675690531730652, 0.11450424790382385, -0.20869380235671997, -0.7425075769424438, -0.2732560336589813, -0.308510422706604, -0.12499242275953293, -0.30327871441841125, 0.19379200041294098, 0.1766810268163681, -0.8719492554664612, -0.39715394377708435, -0.523623526096344, 0.8911502361297607, -0.3921458423137665, 0.6185083389282227, 0.38935092091560364, 0.12156990170478821, -0.17737673223018646, -0.43030497431755066, -0.5899366140365601, -0.05580103397369385, 0.10033685714006424, 0.17025113105773926, 0.09328396618366241, -0.24843545258045197, 0.339724063873291, 0.34149158000946045, -0.4491061270236969, 0.2589742839336395, -0.7896578311920166, -0.1956770271062851, 0.750309407711029, 0.34484222531318665, 0.20065416395664215, -0.48973366618156433, 0.08713405579328537, -0.17031365633010864, -0.9486191272735596, 0.8454217314720154, 0.7365532517433167, 0.7836366295814514, -0.29865762591362, 0.9638124108314514, -0.3193259537220001, 0.4279327392578125, -0.27193358540534973, 0.1421854943037033, 0.3722493350505829, -0.34995710849761963, 0.1910407543182373, -0.008996966294944286, 0.48435381054878235, 0.36525967717170715, 0.48357677459716797, 0.21529626846313477, -0.02419418841600418, 0.1792035698890686, -0.07708880305290222, -0.8251466751098633, 0.4434732496738434, 0.30251333117485046, -0.6525754928588867, -0.39617329835891724, -0.0017485455609858036, -0.9048451781272888, -0.6080557107925415, -0.6037342548370361, -0.22532504796981812, 0.07621704787015915, -0.36758124828338623, 0.039498720318078995, 0.040421005338430405, 0.2951072156429291, 0.18527640402317047, -1.1028540134429932, 0.047449205070734024, 0.7439691424369812, 0.6378165483474731, -0.0797615721821785, -0.14929787814617157, -0.6932932138442993, -0.056774940341711044, -0.30454739928245544, 0.4884502589702606, -1.0755572319030762, -0.6313066482543945, 0.20718736946582794, 0.2690393328666687, 0.3314521610736847, -0.46634605526924133, 0.6083634495735168, -0.4235466718673706, -0.13599246740341187, -0.9484949707984924, -0.2230069786310196, 0.09112051129341125, 0.22978144884109497, -0.7822372913360596, 0.9912530779838562, 0.0778663381934166, -0.7205528020858765, 0.5795243978500366, -0.7415813207626343, -0.3319990634918213, 0.3184035122394562, -0.5131745934486389, 0.042254913598299026, 0.23856832087039948, -0.1755836009979248, 0.3600609600543976, -0.0768333226442337, 0.47599470615386963, -0.7868745923042297, -0.16238680481910706, 0.2611403465270996, -0.6461828351020813, 1.0577235221862793, 0.23795528709888458, -0.18489359319210052, 0.4772146940231323, -0.6916540265083313, -0.20387504994869232, 0.2489299327135086, -0.43739622831344604, -0.2315632402896881, 0.0691411942243576, 0.2552337348461151, 0.28137609362602234, 0.3209155797958374, -0.6737320423126221, 0.13661712408065796, -0.05867050960659981, 0.41870853304862976, 0.9508016109466553, -0.4169796109199524, 0.2821154296398163, -0.1803409606218338, 0.6403205990791321, -0.21768547594547272, 0.30825743079185486, -0.0043079000897705555, -0.4641282260417938, -0.1754581779241562, -0.2747524082660675, 0.020613335072994232, 0.5840609073638916, -0.2547284960746765, 0.3501599431037903, -0.3373350501060486, -0.4013289511203766, -0.5857973098754883, -0.10774301737546921, -0.14318841695785522, 0.26130756735801697, 0.10599830746650696, -0.057385124266147614, -0.35564395785331726, -0.8546196222305298, -0.2997305393218994, -0.5384061336517334, -0.010258653201162815, 0.4686816930770874, 0.6255368590354919, 0.04384448751807213, 1.0194004774093628, -0.35614126920700073, 0.13258208334445953, -0.043656542897224426, -0.1355716735124588, 0.09311637282371521, 0.13143736124038696, 0.4714336395263672, -0.7606260180473328, -0.2440267950296402, -0.19311323761940002, -0.39775922894477844, -0.15555736422538757, 0.24728216230869293, -0.025228459388017654, 0.18741640448570251, 0.16166432201862335, -0.18772383034229279, 0.6116580367088318, 0.7395252585411072, -0.5251578688621521, 0.8378112316131592, 0.1106574758887291, 0.4462968707084656, -1.150255560874939, 0.1780790090560913, -0.15309828519821167, 0.13439510762691498, -0.4078470468521118, -0.2170696258544922, 0.08907198905944824, -0.15087243914604187, -0.7642479538917542, 0.8129367828369141, -0.09050467610359192, -0.2568705379962921, 0.05237864330410957, -0.12251110374927521, -0.1710895448923111, -0.00819535180926323, 0.2749856114387512, 0.8385274410247803, 0.37692534923553467, -0.3330903947353363, 0.508557140827179, 0.5479980111122131, -0.2868287265300751, 0.7372660040855408, -0.5222058892250061, -0.1022850051522255, -0.47310999035835266, 0.3124535381793976, -0.6157389283180237, -0.26442238688468933, 0.3640471398830414, -0.449554443359375, -0.4123608469963074, -0.42484092712402344, -0.5938076376914978, -0.2755439281463623, -0.27416136860847473, 0.6758337616920471, 0.24007678031921387, -0.415289968252182, 0.2253991961479187, 0.7428751587867737, -0.6824564337730408, -0.41854962706565857, -0.5447208285331726, 0.18472570180892944, -0.40721824765205383, -0.7005533576011658, -0.21039871871471405, -0.47173869609832764, -0.463945597410202, -0.11649928241968155, 0.40059566497802734, -0.10967075824737549, 0.278917521238327, 0.18112407624721527, 0.15557748079299927, -0.01141202449798584, 0.5264747142791748, 0.2385278344154358, 0.0057884459383785725, 0.1283644139766693, -0.1832706332206726, 0.46494242548942566, -0.5582523941993713, -0.5929717421531677, 0.021674014627933502, 0.6577507257461548, 0.8268519043922424, -0.54413241147995, 0.7453473806381226, 0.5549700260162354, -0.5035057663917542, 0.38976967334747314, -0.28444865345954895, -0.061572350561618805, -0.4261224567890167, 0.24951405823230743, -0.2383621782064438, -1.3622950315475464, 0.8630611896514893, 0.2542727291584015, 0.21374621987342834, 0.47980183362960815, 0.8580732345581055, 0.16082540154457092, 0.8956285119056702, 0.38246479630470276, -0.23502783477306366, 0.41855916380882263, 0.068946473300457, 0.09568274766206741, -0.5943726301193237, -0.32436898350715637, -0.9045915603637695, -0.17924588918685913, -0.9874492883682251, -0.31178179383277893, 0.35477346181869507, -0.2743232846260071, -0.35390231013298035, -0.2990204989910126, -0.3222315013408661, 0.3343275487422943, 0.4239625930786133, -0.23045092821121216, 0.36133047938346863, -0.23282937705516815, 0.30098727345466614, -0.2049301266670227, -0.37429505586624146, -0.8587878942489624, 1.1964504718780518, 0.26748278737068176, 0.7438296675682068, 0.33188989758491516, 0.2851828932762146, 0.38563117384910583, 0.38825979828834534, -0.7631071209907532, 0.2955561876296997, -0.18575356900691986, -0.7535360455513, -0.49220535159111023, -0.4621899425983429, -1.072371006011963, 0.09298890084028244, -0.3233890235424042, -0.7619684338569641, 0.2708093822002411, -0.0014080303953960538, -0.4123815596103668, 0.29852283000946045, -0.22271789610385895, 0.709456741809845, -0.46877381205558777, -0.3809407353401184, -0.26334092020988464, -0.6140588521957397, 0.20980554819107056, -0.15763777494430542, 0.6177775859832764, -0.3236730396747589, 0.22907187044620514, 0.4478953182697296, -0.24717845022678375, 1.0638246536254883, -0.1137833520770073, -0.24453739821910858, 0.2748206853866577, -0.05955398082733154, 0.17938508093357086, 0.4240420460700989, -0.4877825677394867, 0.36835193634033203, 0.26433441042900085, -0.5216837525367737, -0.19664019346237183, 0.6211302280426025, -0.678419291973114, -0.4271644651889801, -0.21584290266036987, -0.6211012601852417, 0.08670545369386673, 0.15888024866580963, 0.03338729217648506, 0.4498637914657593, -0.3917926549911499, 0.2691943049430847, 0.5568131804466248, -0.5796851515769958, 0.17356133460998535, 0.4339113235473633, -0.18931469321250916, -0.3099813461303711, 0.6256344318389893, 0.3719451129436493, 0.15990470349788666, -0.09231770783662796, 0.33898019790649414, -0.5000010132789612, -0.1350851207971573, -0.605444073677063, 0.11278870701789856, -0.6652595400810242, 0.11094116419553757, -0.4387212097644806, 0.009052795358002186, -0.8095353841781616, -0.32667264342308044, -0.3277084529399872, -0.3178316354751587, -0.33035677671432495, -0.2989465892314911, 0.5878596901893616, 0.938955545425415, -0.1931389421224594, -0.279628723859787, -0.8922048211097717, 0.07005013525485992, 0.0822761282324791, 0.656746506690979, -0.23945073783397675, -0.35186389088630676, 0.01806049421429634, 0.42401590943336487, 0.1868932694196701, -0.8511002063751221, 0.1172291561961174, -0.25253140926361084, 0.5422304272651672, 0.14403055608272552, 0.35936805605888367, 0.3919401168823242, -0.25740015506744385, 1.115013837814331, -0.26357319951057434, -0.8832711577415466, 0.5757809281349182, -0.5398555397987366, 0.2966829538345337, 0.7527172565460205, 0.21104930341243744, -1.0024627447128296, -0.3467756509780884, -0.38607585430145264, -0.913774311542511, 0.45287036895751953, 0.07546775788068771, 0.4407212436199188, -0.27182090282440186, 0.20264911651611328, 0.47615087032318115, 0.22714143991470337, -0.7604733109474182, -0.06652899831533432, -0.230261892080307, -0.41013023257255554, 0.025879669934511185, -0.29023659229278564, -0.02265726774930954, -0.1807703822851181, 0.4256845712661743, -0.34856584668159485, -0.23955687880516052, 0.05248546600341797, -0.1493423581123352, -0.040787991136312485, 0.6072666645050049, 0.5723579525947571, 0.5279308557510376, 0.08861496299505234, 0.028131555765867233, 0.3257862329483032, -0.31000757217407227, 0.08313508331775665, -0.10780778527259827, -0.08089733868837357, -0.3469092845916748, -0.001485685002990067, 0.596421480178833, -0.20379914343357086, -0.6428691744804382, 0.5317434072494507, -0.3699554204940796, 0.05172006040811539, -0.5069999694824219, -0.3682889938354492, 0.09036558121442795, 0.18723823130130768, 0.0961499884724617, -0.3645249605178833, 0.15537551045417786, -0.5795676708221436, -0.055728133767843246, 0.5401058197021484, -0.46474942564964294, -0.45351341366767883, 0.46322882175445557, 0.38569146394729614, -0.2857157289981842, 0.6449461579322815, -0.16746562719345093, -0.4842414855957031, 0.608910322189331, 0.1357058584690094, 0.5984070301055908, -0.13268344104290009, 0.28807324171066284, 0.3330523669719696, 0.3074183166027069, 0.15424789488315582, 0.6251625418663025, -0.04187936335802078, -0.6138630509376526, -0.2827194035053253, -0.4998105764389038, -0.4409230053424835, 0.031500402837991714, -0.8486681580543518, 0.3367023468017578, -0.34294506907463074, -0.14433103799819946, -0.43863537907600403, 0.06806519627571106, -0.8742979168891907, 0.09958026558160782, 0.25868991017341614, 0.9624944925308228, -1.3299317359924316, 0.31544730067253113, 0.5838611721992493, -0.35978496074676514, -0.5128341913223267, -0.07072935998439789, 0.4265383780002594, -0.6268743872642517, 0.6378030180931091, 0.19725698232650757, -0.23344478011131287, -0.1296069473028183, -0.5245475769042969, -0.9810340404510498, 0.8016612529754639, 0.4127645790576935, -0.30235394835472107, 0.5450366139411926, 0.6645104885101318, 0.4146462380886078, -0.32412225008010864, 0.340281218290329, 0.5933334827423096, 0.8156204223632812, -0.07333728671073914, -0.747355043888092, 0.02314206212759018, -0.37987327575683594, -0.17910680174827576, -0.05433328449726105, -0.9749507904052734, 0.4009898900985718, -0.21502842009067535, 0.0021203099749982357, 0.0053841243498027325, 0.5451496243476868, 0.4170020818710327, 0.2998696565628052, 0.5978638529777527, 0.12052793800830841, 1.0164518356323242, 0.000852527969982475, 0.8552919030189514, -0.28236934542655945, 0.04934157431125641, 0.808485746383667, -0.43268144130706787, 0.6786522269248962, 0.26232871413230896, -0.12933558225631714, 0.2441098839044571, 0.9242334961891174, 0.14554406702518463, 0.04872145503759384, 0.5493919849395752, -0.358024001121521, -0.03874347731471062, -0.7311697602272034, -0.46252700686454773, 0.6625231504440308, 0.4672624468803406, -0.08326008915901184, 0.010460994206368923, -0.17618416249752045, 0.027865095064044, -0.013163604773581028, -0.36709830164909363, 0.6111010313034058, -0.13850779831409454, -0.4187938868999481, -0.011364797130227089, -0.23561672866344452, 0.5633618831634521, -0.5755859017372131, 0.18103688955307007, -0.18389463424682617, -0.4223308563232422, -0.3706776797771454, -1.1603869199752808, 0.41749894618988037, 0.33516204357147217, -0.4961695969104767, -0.2139112502336502, 0.40687447786331177, -0.45233649015426636, -0.7084397077560425, 0.2954271137714386, 0.37443992495536804, 0.2797450125217438, 0.08525514602661133, -0.4338369369506836, 0.5085172057151794, -0.08857537060976028, -0.29298681020736694, 0.21918687224388123, 0.42397797107696533, -0.5740249156951904, 0.48379552364349365, 0.8567606210708618, 0.24970227479934692, 0.0005265164654701948, 0.4916881322860718, 0.7013819217681885, -0.6404774785041809, -0.5874826908111572, -0.5878570079803467, 0.9421868920326233, -0.04381046071648598, -0.45129862427711487, 0.38086840510368347, 0.6487090587615967, 1.0414360761642456, 0.3063035309314728, 1.1197477579116821, -0.026874281466007233, 0.36737728118896484, -0.26072975993156433, 0.6200924515724182, -0.4988013505935669, 0.17547358572483063, -0.21169763803482056, -0.6882064342498779, -0.22540460526943207, 0.28555846214294434, -0.43587353825569153, 0.2359851896762848, 0.08683232963085175, 0.7346799373626709, 0.32802659273147583, 0.203963041305542, 0.24250644445419312, 0.12388172745704651, 0.5674543976783752, 0.1118803322315216, 0.985923171043396, 0.27559810876846313, 0.4011940658092499, 0.03227100148797035, -0.3969172537326813, -0.0302437711507082, -0.8840832114219666, -0.48606547713279724, -0.6812000274658203, -0.06949563324451447, -0.27809274196624756, -0.0742119774222374, 1.2530384063720703, 0.4032573997974396, -0.7693355083465576, -0.2733023762702942, 0.4997539520263672, 0.09451732039451599, 0.36931493878364563, -0.24682959914207458, 0.20013093948364258, -0.10465123504400253, -0.7679452896118164, 0.12203619629144669, 0.348098486661911, -0.06552281230688095, -0.3751068413257599, 0.03870392218232155, 0.2823200225830078, 0.054821837693452835, 0.6805379390716553, 0.3171170949935913, -0.7169097661972046, -0.7046392560005188, 0.18823246657848358, -0.09341204911470413, -0.07822668552398682, 0.8020640015602112, -0.44768956303596497, 0.41337329149246216, 0.5841403007507324, 0.5137503147125244, -0.03655639663338661, -0.17436303198337555, 0.4130702316761017, -0.31842464208602905, 0.06773955374956131, 0.3266253173351288, 0.5355820059776306, 0.4318070113658905, -0.7007001638412476, 0.19810882210731506, 0.18646597862243652, -0.567994236946106, -0.585129976272583, 0.6861240863800049, -0.794826090335846, -0.1928110271692276, 1.41139554977417, 0.06483235955238342, -0.028302980586886406, -0.20767173171043396, -0.17192207276821136, 0.19146977365016937, -0.5284194946289062, 0.904886782169342, 0.7163759469985962, 0.27578026056289673, 0.01933451183140278, -0.4146643877029419, 0.1633632779121399, 0.31203147768974304, -0.8626956939697266, 0.5820960998535156, 0.8249933123588562, 0.2929486930370331, -0.2227424681186676, 0.60973060131073, -0.46442481875419617, 0.19468294084072113, -0.49666836857795715, 0.22576498985290527, 0.1581427901983261, -0.14480538666248322, -0.8245983123779297, -0.023731781169772148, 0.15634991228580475, 0.27132007479667664 ]