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
sequencelengths
768
768
http://arxiv.org/abs/2402.11457v2
http://arxiv.org/pdf/2402.11457v2
When Do LLMs Need Retrieval Augmentation? Mitigating LLMs' Overconfidence Helps Retrieval Augmentation
2024-02-18T04:57:19
2024-06-11T08:08:47
Shiyu Ni, Keping Bi, Jiafeng Guo, Xueqi Cheng
cs.CL
cs.CL
Large Language Models (LLMs) have been found to have difficulty knowing they do not possess certain knowledge and tend to provide specious answers in such cases. Retrieval Augmentation (RA) has been extensively studied to mitigate LLMs' hallucinations. However, due to the extra overhead and unassured quality of retrieval, it may not be optimal to conduct RA all the time. A straightforward idea is to only conduct retrieval when LLMs are uncertain about a question. This motivates us to enhance the LLMs' ability to perceive their knowledge boundaries to help RA. In this paper, we first quantitatively measure LLMs' such ability and confirm their overconfidence. Then, we study how LLMs' certainty about a question correlates with their dependence on external retrieved information. We propose several methods to enhance LLMs' perception of knowledge boundaries and show that they are effective in reducing overconfidence. Additionally, equipped with these methods, LLMs can achieve comparable or even better performance of RA with much fewer retrieval calls.
[ -0.703252375125885, -0.6896535754203796, 0.9315469264984131, 0.0002182631433242932, -0.10909412801265717, 0.21657045185565948, -0.2398795783519745, -0.8405879735946655, 0.08374778181314468, 0.4016389548778534, -0.43075522780418396, -0.16419249773025513, -0.6233059167861938, 0.11965780705213547, -0.15164567530155182, 0.5892122983932495, 0.1339421272277832, 0.09334365278482437, -0.7124643325805664, 0.0532829724252224, -0.5009132623672485, -0.5055896043777466, -0.5665197968482971, -0.5821607112884521, 0.34553927183151245, 0.4185768961906433, 0.8457911610603333, 0.3584367334842682, 0.6531912684440613, 0.31656065583229065, -0.2851826250553131, 0.5843920111656189, -0.5223751068115234, 0.3355664014816284, -0.26309898495674133, -0.9673406481742859, -0.0957525297999382, -0.23444589972496033, 0.58303302526474, 0.8620375394821167, -0.13597235083580017, -0.11028856784105301, 0.054773468524217606, 0.7985000610351562, -1.113812804222107, -0.039516936987638474, -0.7317935228347778, 0.049915947020053864, -0.06498027592897415, -0.3894873857498169, -0.2004610002040863, -0.4550151228904724, 0.25520461797714233, -0.6171461343765259, -0.10346360504627228, 0.2653704583644867, 0.6229047179222107, 0.4793406128883362, -0.5116661190986633, -0.126198872923851, -0.8734425902366638, 0.7610321044921875, -0.49087581038475037, 0.6626802682876587, 0.8126304745674133, 0.20916901528835297, -0.2996889650821686, -0.5216091871261597, -0.36138421297073364, -0.5243934392929077, -0.1790565699338913, 0.0686289370059967, -0.1310632824897766, 0.21088191866874695, 0.5201830267906189, 0.5575854182243347, -0.21859432756900787, 0.012717261910438538, -0.4374961256980896, -0.29725363850593567, 0.49484410881996155, 0.10773705691099167, 0.00936359167098999, -0.05073649808764458, -0.4561273455619812, 0.09224370121955872, -0.8003404140472412, -0.05933477729558945, 0.2666034996509552, -0.1660832017660141, 0.5394703149795532, 0.9065666198730469, -0.21565529704093933, 0.548899233341217, 0.09387718886137009, -0.0036390821915119886, 0.20733974874019623, -0.21787254512310028, -0.0006012420053593814, 0.10703857988119125, 0.25575023889541626, 0.24793361127376556, 0.28015264868736267, -0.17825232446193695, -0.4287050664424896, -0.03830322250723839, 0.4325184226036072, -0.7908557057380676, 0.10393187403678894, 0.3196709454059601, -0.12259340286254883, 0.11955723166465759, 0.03909721598029137, -0.3469959795475006, -0.6493421196937561, -0.36449718475341797, 0.8216367363929749, -0.596823513507843, -0.20937256515026093, 0.17101868987083435, -0.28532645106315613, 0.13406966626644135, 0.49330785870552063, -0.6196030378341675, 0.3276858627796173, 0.655501663684845, 0.6952059268951416, -0.16622720658779144, -0.0031720648985356092, -0.5387548804283142, 0.14539270102977753, -0.5748732686042786, 0.736077070236206, -0.6352207064628601, -0.5469199419021606, -0.08763159811496735, -0.22292137145996094, 0.0440032072365284, -0.7284344434738159, 0.5757026076316833, -0.841422975063324, 0.2324339747428894, -0.6947009563446045, -0.8947680592536926, -0.31118831038475037, 0.3408959209918976, -0.48358508944511414, 1.025774598121643, 0.019530050456523895, -0.7174781560897827, 0.247909814119339, -0.3063587546348572, -0.5065416693687439, 0.07175993919372559, -0.2515886723995209, -0.07076838612556458, 0.4060463607311249, 0.38143259286880493, 0.09965021908283234, -0.03812622278928757, -0.15609019994735718, -0.22582286596298218, -0.5046513080596924, 0.6535229086875916, -0.3904452323913574, 0.34599241614341736, 0.2099391669034958, 0.10670582205057144, -0.2704354524612427, -0.48730626702308655, 0.17582111060619354, -0.30389392375946045, -0.21810106933116913, -0.7152727246284485, 0.030810603871941566, -0.6311507821083069, -0.0713106021285057, 0.514390766620636, -0.6535218358039856, 0.017328647896647453, -0.7744719386100769, 0.045386798679828644, 0.6391782164573669, 0.26371893286705017, 0.4657737910747528, -0.6678457260131836, 0.48648199439048767, -0.10156798362731934, 0.12651494145393372, 0.13231779634952545, -0.34444567561149597, -0.8101913332939148, -0.02096223272383213, -0.004968933295458555, 0.5895082950592041, -0.8604389429092407, 0.33445805311203003, 0.017862984910607338, -0.4783739447593689, -0.6283787488937378, 0.3110063970088959, 0.2597302794456482, 0.4286491572856903, 0.6552501916885376, -0.1642390787601471, -0.8155505061149597, -0.6867839694023132, -0.08452847599983215, -0.1582430899143219, -0.038655687123537064, 0.49481630325317383, 0.3665902316570282, -0.09040086716413498, 0.9125036001205444, -0.6925586462020874, -0.4770820438861847, -0.20322081446647644, -0.07135692238807678, -0.00024684271193109453, 0.34760215878486633, 0.22092391550540924, -0.9454990029335022, -0.04736442491412163, 0.013099664822220802, -0.7386040091514587, 0.012209230102598667, -0.04064659774303436, -0.027482951059937477, 0.272673100233078, 0.6567049622535706, -0.8913927674293518, 0.25955167412757874, 0.18247760832309723, 0.14114290475845337, 0.41466081142425537, -0.5263797640800476, 0.11989912390708923, -0.7100347876548767, -0.08416737616062164, -0.14195604622364044, -0.1954752802848816, -0.34282824397087097, 0.19014766812324524, 0.04182891175150871, 0.3671641945838928, -0.20636826753616333, 0.5186915397644043, -0.7081459164619446, -0.20347853004932404, -0.4315716028213501, 0.4791121184825897, 0.18404246866703033, -0.018358467146754265, -0.053120385855436325, 0.875911295413971, 0.555953860282898, -0.7421008944511414, 0.36778926849365234, 0.24147634208202362, -0.40068042278289795, 0.6648749113082886, -0.42476701736450195, 0.1344473958015442, -0.44569265842437744, 0.15565459430217743, -1.1849819421768188, -0.14867277443408966, 0.1100626066327095, -0.6539730429649353, 0.4408201575279236, -0.010179471224546432, -0.23851674795150757, -0.41377055644989014, -0.4895471930503845, 0.3021292984485626, 0.4611704647541046, -0.4940628409385681, 0.6589795351028442, 0.2651723623275757, -0.02486775442957878, -0.8163883686065674, -0.8290318250656128, 0.11423896253108978, -0.055757660418748856, -0.47633159160614014, 0.41570737957954407, -0.29097530245780945, -0.4093499481678009, -0.023880640044808388, -0.40202197432518005, 0.10650964081287384, 0.0925651341676712, 0.149940624833107, 0.26041465997695923, -0.13566534221172333, 0.5632691979408264, -0.08598947525024414, -0.07144726812839508, 0.28983771800994873, -0.19230476021766663, 0.46687760949134827, 0.06984780728816986, -0.6810541152954102, -0.026370041072368622, 0.07374155521392822, 0.27983734011650085, -0.3541531264781952, 0.8210256099700928, 0.5380077362060547, -0.556288480758667, 0.01894407533109188, -1.2266926765441895, -0.6001743078231812, -0.508395791053772, 0.31399571895599365, -0.33089718222618103, -0.9260546565055847, 0.6486319303512573, 0.011883515864610672, -0.3602958023548126, 0.27281466126441956, 0.3401166796684265, -0.10445723682641983, 0.9808701276779175, 0.4395284354686737, -0.06113964691758156, 0.46630287170410156, -0.06359457224607468, -0.03171958029270172, -1.0902339220046997, -0.4766729474067688, -0.49167677760124207, -0.1500135064125061, -0.5950501561164856, -0.46422070264816284, 0.5437098145484924, 0.1087835282087326, 0.06391792744398117, -0.09895115345716476, -0.34086132049560547, 0.622334897518158, 0.4374052584171295, 0.6037503480911255, 0.5322653651237488, -0.05588425323367119, 0.013667835853993893, -0.2660282850265503, -0.48335400223731995, -0.034992314875125885, 0.9902492165565491, 0.30918532609939575, 1.0704913139343262, 0.0926978811621666, 0.5112038850784302, 0.1571328490972519, 0.019699901342391968, -0.8691174387931824, 0.5691426396369934, 0.20543259382247925, -0.7420459389686584, -0.40623506903648376, -0.6700731515884399, -0.8576493859291077, 0.2118963599205017, -0.45003852248191833, -0.735027015209198, 0.35154104232788086, 0.04095643013715744, -0.58253413438797, 0.05687110871076584, -0.5127997994422913, 0.13748550415039062, -0.21659670770168304, -0.4712379276752472, -0.39507827162742615, -0.5765601396560669, 0.39025741815567017, -0.17381905019283295, 0.0011595492251217365, 0.22384513914585114, -0.41481122374534607, 0.3923685848712921, -0.40871554613113403, 0.7168623208999634, -0.023103229701519012, -0.17876292765140533, 0.3044235110282898, 0.11221607029438019, 0.8602554798126221, -0.014719050377607346, -0.2235817313194275, -0.33647435903549194, -0.08456245809793472, -0.03249020129442215, -1.002984881401062, 0.7081145644187927, -0.6194486021995544, -1.0140784978866577, -0.3547317385673523, -0.53629070520401, -0.45075708627700806, -0.008304738439619541, 0.29598093032836914, 0.21842361986637115, 0.11024773865938187, 0.3239191472530365, 0.9999802112579346, -0.12062811106443405, 0.04686222970485687, 0.4675542116165161, -0.3939918875694275, -0.3387385904788971, 0.7104776501655579, 0.4939032196998596, 0.4031815528869629, 0.4173106849193573, 0.1520882099866867, -0.7257227301597595, -0.7071472406387329, -0.017003344371914864, 0.24932032823562622, -0.8564803600311279, -0.36447906494140625, -0.7167887091636658, -0.5388445258140564, -0.3463251292705536, 0.18488192558288574, -0.18916133046150208, -0.4969049394130707, -0.2797771692276001, -0.40242573618888855, 0.7577334046363831, 0.628566563129425, -0.28617697954177856, 0.17047157883644104, -0.7805884480476379, 0.23100635409355164, 0.3722499907016754, 0.24325421452522278, 0.04948200285434723, -0.7917329668998718, -0.25407493114471436, 0.17533569037914276, -0.14193041622638702, -0.7474819421768188, 0.2577808201313019, 0.20916996896266937, 0.852844774723053, 0.3269880712032318, 0.41402333974838257, 0.8545006513595581, -0.09693657606840134, 0.44153109192848206, -0.2746208608150482, -0.852375864982605, 0.529269278049469, 0.0680936649441719, 0.0711962878704071, 0.40303274989128113, 0.58531653881073, -0.26231709122657776, -0.6377968192100525, -0.3675621449947357, -0.97084641456604, 0.3454234302043915, 0.2116335928440094, 0.27227747440338135, -0.02527593821287155, 0.6263561248779297, -0.19323508441448212, 0.38855281472206116, -0.44216063618659973, -0.1458066999912262, 0.1341855376958847, 0.22389252483844757, 0.0028376271948218346, -0.5039128065109253, -0.23232252895832062, -0.20002608001232147, 0.6076078414916992, -0.026619544252753258, 0.026454081758856773, 0.542230486869812, -0.224775031208992, -0.5104137063026428, 0.29428014159202576, 0.6529265642166138, 0.8351736664772034, -0.4325837790966034, 0.28445106744766235, 0.6480662822723389, -0.4429837465286255, -0.040270641446113586, 0.09272931516170502, -0.01549054216593504, -0.3045274019241333, 0.27526310086250305, 0.6636954545974731, -0.025139911100268364, -0.5961816906929016, 0.44111010432243347, 0.28566405177116394, 0.11716587096452713, -0.44628772139549255, 0.18185000121593475, 0.004748018924146891, 0.5868082642555237, 0.6974824070930481, 0.1093413457274437, 0.29600417613983154, -0.5472148060798645, 0.30684855580329895, 0.8169907927513123, -0.30731087923049927, 0.15564265847206116, 0.37718382477760315, -0.2209702581167221, -0.11838845908641815, 0.5274755954742432, -0.19458045065402985, -0.6246906518936157, 0.36101430654525757, 0.6538470387458801, 0.4611177146434784, -0.3157435953617096, -0.07163327187299728, 0.2803669571876526, 0.550885021686554, -0.29238182306289673, 0.30167409777641296, 0.06326540559530258, -0.8800642490386963, -0.719542384147644, -0.3014530837535858, -0.5136287808418274, 0.04287169501185417, -0.7949425578117371, -0.0007528553251177073, -0.413501113653183, -0.3597666025161743, -0.48873171210289, 0.1998511701822281, -0.3205757439136505, 0.34019315242767334, 0.02890213020145893, 0.9431186318397522, -0.4504922330379486, 0.5882236361503601, 0.5173132419586182, -0.4405937194824219, -0.4865949749946594, -0.02422618865966797, -0.19223353266716003, -1.0515624284744263, 0.5683826208114624, 0.08991038799285889, -0.24970950186252594, 0.06058696657419205, -0.5106503367424011, -0.8331128358840942, 0.8575165867805481, 0.3119865655899048, -0.4939624071121216, -0.01339012011885643, 0.06678204238414764, 0.6545498371124268, -0.12432897090911865, 0.5449764728546143, 0.5290334224700928, 0.6644527912139893, 0.5283547043800354, -0.7020137310028076, 0.2040063440799713, 0.13139168918132782, -0.07282272726297379, 0.243732288479805, -0.4289535582065582, 0.7487446069717407, -0.6808410286903381, -0.11974728852510452, 0.10055247694253922, 0.6710730195045471, 0.33844104409217834, 0.24192802608013153, 0.5257458090782166, 0.4254034459590912, 1.00310218334198, -0.037410806864500046, 1.020941138267517, -0.11869759857654572, 0.08117552846670151, 1.134818434715271, -0.21813401579856873, 1.0562561750411987, 0.6911993622779846, -0.1267300397157669, 0.2104562371969223, 0.5306144952774048, 0.052812863141298294, 0.37800467014312744, 0.2674718499183655, -0.32834556698799133, -0.6610682606697083, -0.5171114802360535, -0.6375722289085388, 0.2981593906879425, 0.7615705132484436, -0.17552891373634338, -0.12012700736522675, 0.21031758189201355, -0.08747981488704681, 0.19533276557922363, -0.2977418303489685, 0.8115316033363342, 0.3130999505519867, -0.7028083205223083, 0.6654403209686279, -0.3679477572441101, 0.5538782477378845, -0.5957590937614441, 0.06091877073049545, -0.37008053064346313, 0.2003633677959442, -0.507095217704773, -1.1038275957107544, 0.25411146879196167, -0.5215038657188416, -0.07019201666116714, 0.2016163468360901, 0.9322364330291748, -0.5335996150970459, -0.49926361441612244, 0.5481126308441162, 0.7734594941139221, 0.10930393636226654, -0.5476118922233582, -0.3915776014328003, 0.03475736826658249, -0.10221637040376663, -0.27611982822418213, 0.20953509211540222, 0.6929327845573425, 0.007762795314192772, 1.2140552997589111, 0.6605327129364014, 0.45459097623825073, -0.03995133936405182, 0.056788764894008636, 1.0300313234329224, -0.46828243136405945, -0.003580742049962282, -0.9962185025215149, 0.2609630823135376, -0.13132219016551971, 0.04685894772410393, 0.9301961064338684, 0.5209074020385742, 0.7069613337516785, 0.2443581074476242, 0.7366446852684021, 0.19517549872398376, 0.5930854678153992, -0.7695573568344116, 0.47193363308906555, -0.8537750244140625, 0.6007106304168701, -0.08476487547159195, -0.991054117679596, -0.24429409205913544, 0.6629770994186401, -0.5689040422439575, 0.32315048575401306, 0.5228325724601746, 1.1198731660842896, 0.1152227446436882, -0.016588084399700165, 0.5737818479537964, 0.2937706410884857, 0.06623586267232895, 0.5500043034553528, 1.2755610942840576, -0.3074195086956024, 0.763314425945282, -0.24545063078403473, 0.04350166395306587, -0.2968657314777374, -0.652292013168335, -0.8205363154411316, -0.38939565420150757, -0.1182788833975792, -0.39295804500579834, 0.2605595290660858, 1.0952095985412598, 0.4436400830745697, -0.5686540007591248, -0.010360153391957283, 0.1563623547554016, 0.413534939289093, 0.0997157171368599, -0.22954201698303223, 0.06987504661083221, -0.6500588655471802, -0.48214319348335266, 0.4853563904762268, 0.17061038315296173, 0.39562445878982544, -0.41432347893714905, 0.02312287501990795, -0.17515680193901062, 0.18797491490840912, 0.4607580006122589, 0.15754318237304688, -0.5909825563430786, -0.5474683046340942, 0.28716179728507996, -0.18479450047016144, 0.27142947912216187, 0.4668331444263458, -0.8081733584403992, 0.4423375725746155, 0.5773445963859558, 0.7852078676223755, 0.4218907952308655, 0.2994697391986847, 0.6745190024375916, -0.9399986863136292, -0.09021208435297012, 0.23542222380638123, 0.3285262882709503, 0.4959714710712433, -0.6822260022163391, 0.4436401426792145, 0.12934021651744843, -0.614938497543335, -0.8396293520927429, 0.23515604436397552, -0.6917726397514343, -0.22045233845710754, 1.209614872932434, 0.0698317289352417, -0.02869928441941738, -0.25552093982696533, -0.49225232005119324, 0.0705803856253624, -0.39521512389183044, 0.8368688821792603, 0.8167666792869568, -0.0742693692445755, -0.3362080454826355, -0.5248315930366516, 0.6133505702018738, 0.5671293139457703, -0.7453520894050598, -0.04830840602517128, 0.32914990186691284, 0.06756310164928436, 0.43894335627555847, 0.41164371371269226, 0.10467122495174408, 0.14396710693836212, -0.2234230786561966, -0.17270055413246155, -0.07735996693372726, -0.2075602263212204, -0.1263294368982315, 0.02546318806707859, 0.5033220052719116, -0.18305198848247528 ]
http://arxiv.org/abs/2402.11456v2
http://arxiv.org/pdf/2402.11456v2
FactPICO: Factuality Evaluation for Plain Language Summarization of Medical Evidence
2024-02-18T04:45:01
2024-06-05T01:27:00
Sebastian Antony Joseph, Lily Chen, Jan Trienes, Hannah Louisa Göke, Monika Coers, Wei Xu, Byron C Wallace, Junyi Jessy Li
cs.CL
cs.CL
Plain language summarization with LLMs can be useful for improving textual accessibility of technical content. But how factual are these summaries in a high-stakes domain like medicine? This paper presents FactPICO, a factuality benchmark for plain language summarization of medical texts describing randomized controlled trials (RCTs), which are the basis of evidence-based medicine and can directly inform patient treatment. FactPICO consists of 345 plain language summaries of RCT abstracts generated from three LLMs (i.e., GPT-4, Llama-2, and Alpaca), with fine-grained evaluation and natural language rationales from experts. We assess the factuality of critical elements of RCTs in those summaries: Populations, Interventions, Comparators, Outcomes (PICO), as well as the reported findings concerning these. We also evaluate the correctness of the extra information (e.g., explanations) added by LLMs. Using FactPICO, we benchmark a range of existing factuality metrics, including the newly devised ones based on LLMs. We find that plain language summarization of medical evidence is still challenging, especially when balancing between simplicity and factuality, and that existing metrics correlate poorly with expert judgments on the instance level.
[ 0.019449176266789436, -0.4729483723640442, 0.904605507850647, 0.4044114351272583, -0.4534546136856079, -0.19614185392856598, -0.4481295645236969, -0.36359819769859314, 0.2804255485534668, 0.32342445850372314, -0.11737699061632156, -0.7750484943389893, -0.9064760804176331, 0.3372124135494232, -0.1489076465368271, 1.6269724369049072, -0.09293067455291748, 0.318142831325531, -0.329780638217926, -0.5145537257194519, -0.16633859276771545, -0.3261151611804962, -0.129235178232193, 0.017269600182771683, 0.5689324140548706, 0.38405364751815796, 0.6277264356613159, 0.6740657687187195, 0.800624668598175, 0.3209063410758972, -0.08608539402484894, 0.21722714602947235, -0.3891615569591522, 0.061437152326107025, -0.2254372090101242, -0.676843523979187, -0.45594334602355957, 0.16600632667541504, 0.3524252772331238, 0.5996050834655762, -0.2615285813808441, 0.019259393215179443, -0.2246263027191162, 0.7170894742012024, -0.6421334743499756, 0.22511954605579376, -0.5497957468032837, 0.09518853574991226, -0.06699980050325394, -0.3526116609573364, -0.2601569890975952, -0.9562218189239502, 0.19630299508571625, -0.7223671674728394, 0.5365246534347534, 0.33263128995895386, 0.8629574775695801, 0.30330073833465576, -0.47490304708480835, -0.6371001601219177, -0.40460720658302307, 0.5375491380691528, -0.8422738313674927, 0.10276944190263748, -0.040002789348363876, 0.3231287896633148, -0.2776436507701874, -0.7237828969955444, -0.44628775119781494, -0.4166576862335205, -0.37749025225639343, 0.4195042848587036, 0.08668296784162521, 0.10057836025953293, 0.39546167850494385, 0.5157672166824341, -0.4828296899795532, -0.12346892058849335, -0.4144331216812134, -0.5301358699798584, 0.4746485650539398, -0.004653083626180887, 0.3972871005535126, -0.1486528217792511, -0.45088544487953186, 0.22139911353588104, -0.7935029864311218, -0.09764297306537628, -0.12374838441610336, 0.031952451914548874, -0.513847827911377, 0.7895569801330566, -0.19644318521022797, 0.23209261894226074, -0.11379294842481613, -0.7381470799446106, 0.1562008112668991, -0.5400503873825073, -0.024122508242726326, 0.16671599447727203, 0.7854056358337402, 0.7787283062934875, 0.024514080956578255, -0.10900525748729706, 0.039881426841020584, -0.14812710881233215, -0.060251105576753616, -0.7782119512557983, -0.15750223398208618, 0.49296748638153076, -0.4668186902999878, -0.32563701272010803, -0.06638843566179276, -0.3725535273551941, -0.39187008142471313, -0.028337731957435608, 0.08386216312646866, -0.41441768407821655, 0.02254643104970455, 0.06496225297451019, -0.2603917419910431, -0.08789178729057312, 0.7339692711830139, -0.4713452160358429, 0.5104376673698425, 0.5667847394943237, 0.9378225803375244, -0.40755632519721985, -0.1737240105867386, -0.46478790044784546, 0.037260036915540695, -0.41307497024536133, 1.1968700885772705, 0.0009530198876745999, -0.28448885679244995, -0.09557005017995834, -0.09858796000480652, -0.18700551986694336, -0.49410396814346313, 1.0638564825057983, -0.2241319715976715, 0.3539322316646576, -0.4418400824069977, -0.7476434707641602, -0.08754213154315948, 0.4217905104160309, -0.5433543920516968, 0.6132183074951172, -0.26425901055336, -0.8365969061851501, 0.7674399614334106, -0.45812782645225525, -0.7068681120872498, -0.042871929705142975, -0.46571534872055054, -0.5023419857025146, 0.2448638528585434, 0.0655592530965805, 0.29661017656326294, -0.4166533648967743, 0.6348477005958557, -0.19817456603050232, -0.2850654721260071, 0.44296127557754517, -0.29582077264785767, 0.4376656711101532, 0.2961358428001404, -0.21116407215595245, 0.04477265104651451, -0.6888887286186218, -0.3111266791820526, -0.10268542915582657, -0.5891961455345154, -0.3066004514694214, 0.17640843987464905, -0.03710490092635155, 0.3282868564128876, 0.1597372591495514, -0.5280190110206604, 0.05516168475151062, -0.3722345530986786, -0.05264383181929588, 0.281463086605072, 0.2344868779182434, -0.11994718760251999, -0.5444051623344421, 0.0937606543302536, -0.1648247241973877, 0.20509058237075806, 0.035422515124082565, -0.7121174931526184, -0.45177161693573, -0.8143590092658997, 0.4510158598423004, 0.48331570625305176, -0.6471089720726013, 0.4686957895755768, -0.45457231998443604, -0.12314750999212265, -0.234429270029068, -0.13150042295455933, 0.5987027287483215, 0.8686094880104065, 0.21841003000736237, -0.25760963559150696, -0.39041292667388916, -1.0457370281219482, -0.42937740683555603, -0.20799018442630768, -0.14387674629688263, 0.13162456452846527, 0.7221523523330688, 0.2560465931892395, 0.6856171488761902, -0.5670984387397766, -0.2672305107116699, -0.21615800261497498, 0.5244389772415161, 0.2697192132472992, 0.0435781329870224, 0.5107712745666504, -0.5862981677055359, -0.15190385282039642, -0.014767740853130817, -0.8786419630050659, -0.20135603845119476, -0.12164606153964996, 0.2683073580265045, 0.09711074829101562, 0.19741347432136536, -0.620238721370697, 0.38880759477615356, 0.34909531474113464, 0.0067728240974247456, 0.47719091176986694, -0.5679019093513489, 0.6130734086036682, -0.6576457023620605, 0.24614369869232178, 0.052303023636341095, -0.1256335824728012, -0.4999088644981384, -0.11636112630367279, 0.04890761524438858, 0.19419826567173004, -0.4755954444408417, 0.329235702753067, -0.30745041370391846, -0.004481625743210316, -0.23914262652397156, 0.3679848313331604, -0.02178964950144291, 0.2527823746204376, 0.09010230749845505, 0.713050365447998, 0.13689741492271423, -0.4340319037437439, 0.11422692239284515, 0.13479025661945343, -0.3979005813598633, 0.588728666305542, -0.7217647433280945, -0.3187218904495239, -0.016448264941573143, 0.3918311893939972, -0.8199237585067749, -0.3679644465446472, 0.051440052688121796, -0.43221741914749146, 0.0738958865404129, -0.4246164560317993, -0.4004135727882385, -0.08652737736701965, -0.6840554475784302, 0.1910567432641983, 0.2180020958185196, -0.150615856051445, 0.17880208790302277, 0.3769831657409668, -0.3414386510848999, -0.6399864554405212, -0.34824854135513306, 0.4555947184562683, 0.1530674248933792, -0.37474924325942993, 0.1261415034532547, 0.024862101301550865, -0.38349649310112, -0.02913602441549301, -0.2974936068058014, -0.06626655906438828, -0.030929988250136375, 0.06553355604410172, 0.2999482750892639, -0.2191365659236908, 0.1359470933675766, 0.30490103363990784, 0.10262120515108109, 0.34798580408096313, 0.367141455411911, 0.059835124760866165, -0.020368503406643867, -0.4091874063014984, -0.26186153292655945, 0.11362454295158386, 0.499679297208786, 0.184950590133667, 0.37552347779273987, -0.004562987480312586, -0.3574117422103882, 0.148685023188591, -0.5823184847831726, 0.0008825397817417979, -0.30587249994277954, 0.09291104972362518, -0.19354861974716187, -0.6925499439239502, 0.40966638922691345, -0.20724591612815857, 0.19079512357711792, 0.6412338018417358, 0.6705135703086853, -0.29462307691574097, 0.6592905521392822, 0.15415780246257782, 0.19832423329353333, -0.18999716639518738, 0.02067752368748188, 0.049762994050979614, -0.45511946082115173, -0.37657228112220764, -0.41792747378349304, 0.039008595049381256, -0.7475596070289612, -0.5772542953491211, 0.6652049422264099, -0.3444971442222595, 0.36691734194755554, 0.017324384301900864, -0.13583634793758392, 0.4396952986717224, 0.2847316563129425, 0.25930163264274597, 0.8275877237319946, -0.16325391829013824, -0.16019567847251892, -0.17340441048145294, -0.8253687620162964, -0.6011274456977844, 1.2544090747833252, 0.22188185155391693, 0.44081079959869385, 0.07642393559217453, 0.5804365277290344, 0.47462451457977295, 0.8424821496009827, -0.9911234974861145, 0.45290958881378174, -0.0572507306933403, -0.8741865754127502, -0.011729146353900433, -0.4162709712982178, -0.5565172433853149, 0.2421666979789734, -0.6507798433303833, -0.22812765836715698, 0.16224288940429688, 0.1386227160692215, -0.4333730936050415, 0.09171929955482483, -0.6723727583885193, 0.32030075788497925, -0.3159383535385132, -0.20833228528499603, -0.25040534138679504, -0.7496798634529114, 0.8184360861778259, 0.06992685049772263, 0.49542415142059326, -0.2968737781047821, -0.4140481948852539, 0.7533890604972839, -0.7860413193702698, 0.603061318397522, 0.14823153614997864, 0.004332404583692551, 0.01624753326177597, -0.187843456864357, 0.36810705065727234, 0.503692626953125, 0.19293586909770966, 0.22758230566978455, 0.06851989775896072, -0.5480690598487854, -0.7299819588661194, 0.7709438800811768, -0.37722674012184143, -0.519056499004364, -0.8930305242538452, -0.49843695759773254, -0.24701659381389618, 0.17429623007774353, 0.32244768738746643, 0.516346275806427, -0.6565316319465637, -0.0895448625087738, 0.7702226042747498, -0.0930001512169838, -0.032389771193265915, 0.7475345134735107, 0.31375402212142944, -0.61227947473526, 0.6639465689659119, 0.1012130156159401, -0.02480754442512989, 0.5524012446403503, 0.36214596033096313, -0.1692558079957962, -1.1196303367614746, -0.38474440574645996, 0.3917028307914734, -0.6309830546379089, -0.06587589532136917, -0.5691116452217102, -0.01146052684634924, -0.29426202178001404, 0.04334859177470207, -0.3474685847759247, -0.7377576231956482, 0.43298906087875366, -0.20711806416511536, 0.39296916127204895, 0.7427230477333069, -0.09965668618679047, -0.018532073125243187, -0.5955110788345337, 0.6880601644515991, 0.0574699267745018, 0.38155925273895264, -0.5721099972724915, -0.453002393245697, -0.293200820684433, -0.26111456751823425, -0.011071992106735706, -0.5862569212913513, 0.04192808270454407, -0.01681290939450264, 0.4961435794830322, 0.6338759064674377, 0.330310583114624, 0.37464773654937744, -0.4919758439064026, 0.4815636873245239, 0.4561486542224884, -0.5718402862548828, 0.643598735332489, -0.4211803078651428, -0.05887963995337486, 0.8588910698890686, 0.5105350613594055, -0.3963305652141571, -0.5172990560531616, -0.6378911137580872, -0.785639762878418, 0.6064035892486572, 0.47603487968444824, -0.46308523416519165, -0.049423638731241226, 0.2784551978111267, 0.28775280714035034, 0.3445914387702942, -0.31836435198783875, -0.46029651165008545, -0.08124314248561859, -0.3990745544433594, 0.14264553785324097, -0.40732529759407043, -1.0155216455459595, 0.02708273008465767, 0.44331127405166626, -0.13787949085235596, 0.02170378901064396, 0.48141178488731384, -0.261561781167984, 0.10876545310020447, 0.470280259847641, 1.059814691543579, 0.902919590473175, -0.6624799370765686, 0.38805294036865234, 0.2525244653224945, -0.8506685495376587, -0.027757102623581886, 0.22692108154296875, -0.23179753124713898, 0.17393963038921356, 1.0240402221679688, 0.3775770366191864, 0.5167649984359741, -0.7260120511054993, 0.709478497505188, -0.36481332778930664, -0.22853241860866547, 0.07155077159404755, 0.12906083464622498, -0.2513708770275116, -0.18960456550121307, 0.36455902457237244, 0.38603439927101135, 0.5372609496116638, -0.5702387690544128, 0.26999202370643616, 0.08989298343658447, -0.2533356547355652, -0.30770888924598694, 0.41127264499664307, 0.4859633445739746, 0.1635187715291977, -0.08186522126197815, 0.08428383618593216, -0.05762531980872154, 0.7290445566177368, 0.25851696729660034, 0.6775840520858765, 0.3183479309082031, 0.1385749876499176, 0.4317874312400818, 0.4354618489742279, -0.2662711441516876, 0.21630257368087769, 0.11312109977006912, -0.45304369926452637, -0.6100252270698547, 0.13565900921821594, -0.9182130098342896, 0.16908882558345795, -0.4151129424571991, 0.2168283313512802, -0.6179787516593933, -0.04795338958501816, 0.01857716031372547, 0.025945689529180527, -0.22644338011741638, 0.4366461932659149, -0.3039790093898773, 0.9602354764938354, -0.9773378968238831, 0.5571497082710266, 0.6711981296539307, -0.33423325419425964, -0.42352864146232605, 0.14665330946445465, 0.2048099935054779, -0.8702516555786133, 0.2803329527378082, -0.14801503717899323, -0.3067421615123749, -0.6943584084510803, -0.7095075845718384, -0.709153413772583, 1.0877913236618042, 0.2642286717891693, -0.3527697026729584, 0.18843598663806915, -0.01785021275281906, 0.7178057432174683, -0.23967920243740082, 0.48542705178260803, 0.4141489565372467, 0.5168678760528564, 0.14106592535972595, -0.7017253637313843, 0.35113024711608887, -0.09437797963619232, -0.37440043687820435, -0.24065591394901276, -0.5769057869911194, 0.2469819039106369, -0.5526307821273804, -0.24428972601890564, -0.04261782765388489, 0.6441448926925659, 0.5236397385597229, 0.7949488162994385, 0.29784271121025085, 0.39565789699554443, 0.6840975880622864, -0.4466092884540558, 1.1644139289855957, -0.5510818958282471, 0.2737925052642822, 1.0226740837097168, -0.27581822872161865, 0.3663381040096283, 0.5648643970489502, -0.4122677743434906, 0.16200338304042816, 0.36779549717903137, 0.3384971618652344, 0.45598646998405457, 0.014525909908115864, -0.19427576661109924, 0.028531529009342194, -0.11874841153621674, -0.39046916365623474, -0.01229668129235506, 0.29810553789138794, -0.09453602135181427, -0.32158684730529785, -0.3203297257423401, 0.5417885184288025, 0.2718753218650818, -0.04045270010828972, 0.6636107563972473, 0.12433557957410812, -0.6596212983131409, 0.4841749966144562, 0.008399922400712967, 0.4886566400527954, -0.7946532964706421, -0.09927018731832504, -0.5488232970237732, -0.19546456634998322, -0.4640929400920868, -0.7583531141281128, 0.2276187390089035, 0.3342140018939972, -0.222372904419899, 0.40479615330696106, 0.4014902710914612, -0.0648103728890419, -0.5491930842399597, -0.07078202813863754, 0.35255905985832214, 0.2850005030632019, 0.34437817335128784, -0.5386075973510742, -0.030488397926092148, -0.352863073348999, -0.21931879222393036, 0.18194645643234253, 0.6890119910240173, -0.17163284122943878, 0.6646286249160767, 0.7050304412841797, 0.5805678963661194, -0.33976003527641296, 0.2309819757938385, 0.772365391254425, -0.6020628809928894, -0.08412287384271622, -0.6199726462364197, 0.13265152275562286, -0.39389652013778687, -0.6684545278549194, 0.8952245116233826, 0.9268202185630798, 0.24227090179920197, -0.05708110332489014, 0.8699485659599304, -0.06810257583856583, 0.47547727823257446, -0.8735812902450562, 0.8178309798240662, -0.24912481009960175, 0.335157573223114, -0.08782894164323807, -0.4592758119106293, -0.5380877256393433, 0.11930191516876221, -0.5205649733543396, -0.1261371374130249, 1.0328047275543213, 0.4932478666305542, 0.012995533645153046, -0.1831223964691162, 0.19445455074310303, 0.6058984994888306, 0.018843159079551697, 0.0860196053981781, 0.6204065680503845, -0.48191753029823303, 0.5687577724456787, -0.18803052604198456, -0.540167510509491, -0.5406768321990967, -1.0199615955352783, -0.6854800581932068, -0.07479202747344971, -0.45418214797973633, -0.21545031666755676, 0.3818684220314026, 1.0313595533370972, 0.5386351943016052, -1.0299837589263916, -0.10739822685718536, 0.16582320630550385, 0.597180962562561, -0.2995588183403015, -0.18827906250953674, 0.582976758480072, -0.22754569351673126, -0.491066575050354, 0.3387489318847656, 0.6153194904327393, -0.1413870006799698, 0.3096381425857544, 0.02574857696890831, -0.20762114226818085, 0.22111856937408447, 0.5399208068847656, 0.3833961486816406, -0.5504957437515259, -0.22789624333381653, -0.1692851483821869, -0.3371717631816864, 0.3141718804836273, 1.112294316291809, -0.38242220878601074, 0.37290552258491516, 0.6136529445648193, 0.1176949068903923, 0.33396732807159424, 0.06930617243051529, 0.5231153964996338, -0.5397143959999084, 0.0018499260768294334, 0.14571480453014374, 0.5255334973335266, 0.23214547336101532, -0.14961270987987518, 0.4420410692691803, 0.5618830323219299, -0.29629844427108765, -0.5668876767158508, -0.03315333276987076, -1.2195740938186646, -0.16556912660598755, 0.9550594091415405, -0.24848119914531708, -0.29286056756973267, -0.5304372906684875, -0.2761409282684326, 0.2431793212890625, -0.4914890229701996, 1.1273804903030396, 0.5059377551078796, -0.2662774622440338, 0.1614808738231659, -0.6554881930351257, 0.7683519124984741, 0.14467957615852356, -0.8629484176635742, -0.09870217740535736, 0.5939276218414307, 0.5493802428245544, 0.1451747566461563, 0.9340085387229919, -0.3477274775505066, 0.47861677408218384, -0.1738174855709076, 0.2620912492275238, 0.08065041899681091, -0.21212808787822723, -0.2242719978094101, -0.003414890728890896, 0.12402410060167313, 0.05820998176932335 ]
http://arxiv.org/abs/2402.11455v1
http://arxiv.org/pdf/2402.11455v1
LoRA-Flow: Dynamic LoRA Fusion for Large Language Models in Generative Tasks
2024-02-18T04:41:25
2024-02-18T04:41:25
Hanqing Wang, Bowen Ping, Shuo Wang, Xu Han, Yun Chen, Zhiyuan Liu, Maosong Sun
cs.CL
cs.CL
LoRA employs lightweight modules to customize large language models (LLMs) for each downstream task or domain, where different learned additional modules represent diverse skills. Combining existing LoRAs to address new tasks can enhance the reusability of learned LoRAs, particularly beneficial for tasks with limited annotated data. Most prior works on LoRA combination primarily rely on task-level weights for each involved LoRA, making different examples and tokens share the same LoRA weights. However, in generative tasks, different tokens may necessitate diverse skills to manage. Taking the Chinese math task as an example, understanding the problem description may depend more on the Chinese LoRA, while the calculation part may rely more on the math LoRA. To this end, we propose LoRA-Flow, which utilizes dynamic weights to adjust the impact of different LoRAs. The weights at each step are determined by a fusion gate with extremely few parameters, which can be learned with only 200 training examples. Experiments across six generative tasks demonstrate that our method consistently outperforms baselines with task-level fusion weights. This underscores the necessity of introducing dynamic fusion weights for LoRA combination.
[ -0.1588032841682434, -0.8563210964202881, 0.40352874994277954, 0.13780750334262848, -0.34196794033050537, 0.4165050983428955, -0.14919798076152802, -0.5467117428779602, 0.47925227880477905, 0.6589499711990356, -0.6905415058135986, -0.39971569180488586, -0.653348445892334, -0.13376808166503906, -0.7233796119689941, 0.9048520922660828, -0.355317622423172, -0.25944143533706665, -0.06734072417020798, -0.3110229969024658, -0.3787823021411896, -0.033267758786678314, -0.45312151312828064, -0.7703558206558228, 1.098900318145752, 0.28539323806762695, 0.6822858452796936, 0.6030246615409851, 0.5721580386161804, 0.4659688472747803, -0.17028340697288513, 0.2476753294467926, -0.390245258808136, 0.3203153610229492, -0.08591018617153168, -0.5088420510292053, -0.513149619102478, -0.3134019672870636, 0.8189328908920288, 0.93489009141922, -0.33775871992111206, 0.0728609636425972, 0.08581199496984482, 0.5808588266372681, -0.6548619270324707, -0.00920160673558712, -0.6812910437583923, 0.22446751594543457, -0.42990007996559143, -0.011655258014798164, -0.03397552669048309, -0.16081920266151428, -0.001925955293700099, -0.6403505206108093, -0.22934824228286743, -0.285782128572464, 0.7211923003196716, 0.6685724854469299, -0.41618356108665466, -0.007889343425631523, -0.8395451307296753, 0.6948072910308838, -0.6050346493721008, -0.002186165191233158, -0.02638617530465126, 0.5908130407333374, 0.0443376749753952, -0.702756941318512, -0.5693567991256714, 0.07209961116313934, 0.2757702171802521, 0.004009324591606855, -0.17664603888988495, -0.0500069297850132, 0.27406930923461914, 0.358951598405838, -0.23575401306152344, 0.46853411197662354, -0.34638524055480957, 0.10858163982629776, 0.6452897787094116, 0.3517153561115265, 0.39574843645095825, 0.06183822825551033, -0.32804033160209656, -0.10565071552991867, -0.8703604936599731, -0.1899729073047638, 0.423137366771698, 0.4794155955314636, -0.4166959524154663, 0.665607750415802, -0.45117560029029846, 1.012277364730835, 0.038066960871219635, -0.4416556656360626, 0.49536702036857605, -0.29844844341278076, -0.2694005072116852, -0.017966095358133316, 0.8705551028251648, -0.43246737122535706, -0.0094416793435812, 0.02529330365359783, -0.30890601873397827, -0.010639945976436138, 0.023815521970391273, -0.5559563040733337, 0.08246046304702759, 0.02824198454618454, -0.21511434018611908, -0.5329006910324097, -0.09960777312517166, -0.6659905910491943, -0.7199073433876038, -0.29133865237236023, 0.7579719424247742, -0.2460092306137085, -0.16184265911579132, 0.01911180652678013, -0.10509990155696869, 0.3171781897544861, 0.5710839629173279, -0.8802241086959839, 0.21549676358699799, 0.609287440776825, 0.7162651419639587, -0.40583834052085876, -0.5714446902275085, -0.9522848725318909, 0.14262805879116058, 0.09274360537528992, 0.9380287528038025, -0.5226650834083557, -0.07471989095211029, 0.12538199126720428, -0.36340653896331787, -0.07416196912527084, -0.7140954732894897, 0.2266121208667755, -0.49103954434394836, 0.07701993733644485, -0.3428039848804474, -0.3784686326980591, -0.07901092618703842, -0.04347469285130501, -0.913432240486145, 0.782715380191803, 0.4109566807746887, -0.6738527417182922, 0.15751518309116364, -0.7397385835647583, -0.804228663444519, 0.4590483605861664, -0.44296276569366455, -0.2870219349861145, 0.016424566507339478, -0.14007852971553802, 0.29093310236930847, -0.2982252538204193, -0.03291155397891998, -0.18690447509288788, -0.49497362971305847, 0.17760545015335083, -0.2682916522026062, 0.831802248954773, 0.14798256754875183, -0.4018188416957855, 0.3367982506752014, -0.8095915913581848, -0.06616859883069992, 0.26478731632232666, -0.7254987955093384, -0.15301916003227234, 0.046015772968530655, -0.1826384961605072, 0.014865153469145298, 0.35261738300323486, -0.2740783989429474, 0.2451697736978531, -0.41548317670822144, 0.3621106743812561, 0.6741340756416321, -0.28506678342819214, 0.25710901618003845, -0.30457210540771484, 0.5728484988212585, -0.10190223902463913, -0.16757094860076904, 0.012372002005577087, -0.49373817443847656, -1.056471824645996, -0.3600134253501892, 0.25677573680877686, 0.598012387752533, -1.1941781044006348, 0.506008505821228, -0.19261549413204193, -0.6195430755615234, -0.42972007393836975, 0.7342644929885864, 0.2793128192424774, 0.3335016071796417, 0.08804275095462799, -0.08845106512308121, -0.4391142725944519, -0.6238979697227478, -0.0431385338306427, -0.012340775690972805, 0.17011716961860657, -0.1766544133424759, 0.5560296177864075, -0.12480410188436508, 0.8035727143287659, -0.7321341633796692, -0.4859539270401001, -0.6432257294654846, 0.38522347807884216, 0.31224092841148376, 0.36699697375297546, 0.4076903462409973, -0.7240921854972839, -0.4266575276851654, 0.13200151920318604, -0.7063695788383484, -0.25959035754203796, -0.09653683751821518, -0.2821519076824188, -0.012358148582279682, 0.39409640431404114, -0.6087718605995178, 0.07796116918325424, 0.9784205555915833, -0.40804538130760193, 0.2744602859020233, -0.29378795623779297, -0.33826693892478943, -1.2512614727020264, 0.006019089370965958, -0.15903916954994202, -0.16989946365356445, -0.6470490097999573, 0.3691105246543884, -0.1540772169828415, -0.12839196622371674, -0.7918415665626526, 0.7101842164993286, -0.3036011755466461, -0.10458584129810333, -0.5511729121208191, 0.3198910653591156, -0.11924045532941818, 0.5061560273170471, -0.053385261446237564, 0.42437395453453064, 0.6884340047836304, -0.5716599225997925, 1.008292555809021, 0.023518769070506096, -0.6970766186714172, 0.597423791885376, -0.5561572909355164, 0.061270128935575485, -0.043920278549194336, 0.23238009214401245, -0.7231736183166504, -0.4107096493244171, 0.1101929247379303, -0.002351106144487858, 0.07186605781316757, 0.17360703647136688, -0.6020395159721375, -0.3027317225933075, -0.081533282995224, 0.5154620409011841, 0.8188989162445068, -0.529668390750885, 1.1100329160690308, 0.3023165762424469, 0.059046030044555664, -0.5816713571548462, -0.810651957988739, -0.059238251298666, -0.3574090301990509, -0.5359139442443848, 0.5756462216377258, 0.05157269164919853, -0.31657302379608154, 0.20811402797698975, 0.12310244143009186, -0.08685161918401718, 0.23114027082920074, 0.3449716866016388, 0.2803121507167816, -0.05424811318516731, 0.05463189259171486, 0.11260516941547394, -0.1655048280954361, -0.2498561143875122, -0.09257753193378448, 0.8595227599143982, 0.21757826209068298, -0.7744931578636169, -0.4468352794647217, 0.26775163412094116, 0.625742495059967, -0.33098021149635315, 1.042803168296814, 0.8849953413009644, -0.5430249571800232, -0.376627117395401, -0.44073769450187683, 0.22503241896629333, -0.5532385110855103, 0.43460723757743835, -0.39365631341934204, -0.9113816022872925, 0.7218548059463501, 0.14230263233184814, 0.3008631467819214, 0.5375875234603882, 0.702358603477478, -0.2303924858570099, 0.6748446822166443, 0.620682954788208, -0.24612218141555786, 0.7895832061767578, -0.3107471764087677, 0.1564967930316925, -0.6480962038040161, -0.24937774240970612, -0.379427969455719, -0.746065080165863, -0.3475440442562103, -0.6587935090065002, 0.4943367838859558, -0.09090380370616913, -0.21424776315689087, 0.2849132716655731, -0.012896893545985222, 0.42407745122909546, 0.5449758768081665, -0.006602752488106489, 0.4959603548049927, 0.18639534711837769, 0.1231059730052948, 0.5014894604682922, -0.6890350580215454, 0.010407013818621635, 0.6734274625778198, 0.15014812350273132, 1.1829023361206055, 0.2574407160282135, 0.8205177187919617, 0.18782714009284973, 0.2768480181694031, -0.8826276659965515, 0.8693526983261108, -0.5494983792304993, -0.24532486498355865, -0.43001678586006165, -0.6035917401313782, -1.108124852180481, 0.34448549151420593, -0.3676256835460663, -0.5613930225372314, -0.3230402171611786, 0.23980340361595154, -0.6546646952629089, 0.5898783206939697, -0.43944525718688965, 0.4529047906398773, -0.29652366042137146, -0.07264599949121475, -0.4527013599872589, -0.2200566828250885, 0.5213293433189392, -0.42613843083381653, -0.005164403468370438, -0.21925988793373108, -0.187003955245018, 0.7468442320823669, -0.6636398434638977, 1.052803874015808, 0.029593780636787415, -0.5827186107635498, 0.3787345290184021, -0.1256708949804306, 0.6202815175056458, -0.5026677250862122, 0.0877496525645256, -0.018412381410598755, -0.3363220691680908, -0.27325302362442017, -0.7765657901763916, 0.9053860306739807, -0.7578160762786865, -0.626096785068512, -0.24406838417053223, -0.7152480483055115, -0.1546499878168106, 0.18627753853797913, 0.14626511931419373, 0.345661461353302, 0.1509578675031662, 0.22322671115398407, 0.6767240166664124, -0.2558503746986389, 0.3722292482852936, 0.3805144131183624, -0.18999649584293365, -0.3639301061630249, 0.9913110136985779, 0.08094321936368942, 0.5363978147506714, 0.6507283449172974, 0.27498486638069153, 0.05513159930706024, -0.41603079438209534, -0.46731266379356384, 0.4117051959037781, -0.7999938130378723, -0.30649247765541077, -0.4791569411754608, -0.4572686553001404, -0.0793987363576889, -0.13730314373970032, -0.4172779321670532, -0.2687336802482605, -0.19407851994037628, 0.1797046661376953, 0.5092074275016785, 0.6963397860527039, 0.18209633231163025, 0.3454250693321228, -0.8102973103523254, 0.5032275915145874, 0.7716448307037354, 0.37412944436073303, 0.07148455083370209, -0.5228570699691772, -0.28835657238960266, -0.16515658795833588, -0.2017246037721634, -0.7399463653564453, 0.14952410757541656, 0.18728753924369812, 0.47694340348243713, 0.5374547839164734, -0.09581591933965683, 0.7151193022727966, -0.4095175266265869, 0.6309062242507935, 0.45424315333366394, -1.0473341941833496, 0.48043516278266907, -0.4130299389362335, 0.6029840111732483, 0.2372998744249344, -0.033741939812898636, -0.5645790100097656, -0.265402615070343, -0.2470782995223999, -0.7388350367546082, 0.43509641289711, 0.16783735156059265, 0.31177085638046265, 0.4856697618961334, 0.2540906071662903, 0.021017558872699738, 0.08109734207391739, -0.6305323243141174, -0.21578525006771088, 0.18366526067256927, -0.5890911221504211, 0.09985256940126419, 0.12856000661849976, -0.23580223321914673, -0.17013521492481232, 0.3605751693248749, -0.24165762960910797, 0.11626597493886948, -0.41177940368652344, 0.06590859591960907, -0.26541444659233093, 0.02805657498538494, 0.4551592469215393, 0.48377224802970886, 0.1880768984556198, 0.12199614942073822, 0.5454145669937134, -0.38978826999664307, 0.05861019715666771, 0.16232483088970184, -0.2704150676727295, -0.2044638991355896, 0.6479738354682922, 1.01079261302948, 0.2825187146663666, -1.0924537181854248, 0.19163651764392853, 0.28457242250442505, -0.2930406332015991, -0.24958685040473938, 0.5727834701538086, 0.2445794939994812, 0.4392237663269043, 0.2443527728319168, -0.13811303675174713, -0.3017766773700714, -0.6665794849395752, -0.1445954442024231, 0.6022909283638, -0.13615509867668152, -0.3145197629928589, 0.398483544588089, 0.4898746907711029, -0.16610324382781982, 0.46337488293647766, -0.004766345489770174, -0.3826875686645508, 0.41493552923202515, 0.4475942850112915, 0.8280360102653503, -0.19852329790592194, 0.1543164998292923, 0.032388731837272644, -0.1544332504272461, -0.11914617568254471, 0.4087584316730499, 0.001199368853121996, -0.9072191715240479, -0.8502627015113831, -0.6452632546424866, -0.40921974182128906, 0.1682843118906021, -0.3164796531200409, 0.4327230751514435, -0.3530248999595642, -0.05658292770385742, -0.12569692730903625, -0.08019359409809113, -0.5830293297767639, 0.03954000025987625, 0.44473594427108765, 0.8174358606338501, -0.805233895778656, 0.9966313242912292, 0.8256703019142151, -0.3294256329536438, -0.6588755249977112, -0.14197272062301636, 0.06166161224246025, -0.9483854174613953, 0.8773807883262634, -0.2982538044452667, -0.4591354429721832, -0.11393345892429352, -0.25900235772132874, -1.2757418155670166, 1.2607979774475098, 0.41331830620765686, -0.36893129348754883, -0.2952483296394348, 0.26995715498924255, 0.38458460569381714, -0.31438666582107544, -0.4609525799751282, 0.3109937608242035, 0.3627986013889313, 0.5773202180862427, -1.0030052661895752, -0.06545541435480118, -0.13996249437332153, -0.17144030332565308, 0.3752278983592987, -0.7733150720596313, 0.9620146751403809, -0.28599318861961365, -0.1696401983499527, 0.2646923363208771, 0.7545880675315857, 0.41098713874816895, -0.08646860718727112, 0.9076697826385498, 0.6975446939468384, 0.8674269914627075, -0.19529466331005096, 0.8085294365882874, -0.08035018295049667, 0.026594366878271103, 1.148820161819458, -0.5286662578582764, 0.9902395009994507, 0.3464318513870239, -0.14006903767585754, 0.8107755184173584, 0.17348015308380127, 0.08552463352680206, 0.3945121765136719, 0.36572524905204773, -0.5428973436355591, -0.19005563855171204, -0.2247493714094162, -0.26621177792549133, 0.7444356679916382, 0.214479461312294, -0.05466426536440849, -0.22811079025268555, 0.14779901504516602, 0.07923755049705505, -0.2001887857913971, -0.3458777964115143, 0.539587140083313, 0.0820985957980156, -0.7408523559570312, 0.49554917216300964, -0.005491375457495451, 0.853998601436615, -0.9834417104721069, 0.11324639618396759, -0.2648601233959198, 0.2431771457195282, -0.3206210136413574, -0.8098978400230408, 0.15837185084819794, 0.29610487818717957, 0.1280127316713333, -0.26925167441368103, 0.7034682035446167, -0.5006453990936279, -0.6188652515411377, 0.13473905622959137, 0.7496851086616516, -0.10614284127950668, 0.05760709568858147, -0.5014135837554932, 0.4881996214389801, 0.009281151928007603, -0.11148267984390259, 0.4895811378955841, 0.30663353204727173, 0.209189310669899, 0.980658233165741, 0.436047226190567, 0.31474003195762634, 0.015255930833518505, 0.4840910732746124, 1.0387649536132812, -0.7248237133026123, -0.3385111689567566, -0.7834937572479248, 0.5255995988845825, 0.027022838592529297, -0.1351538598537445, 0.5346971154212952, 0.10187828540802002, 0.546681821346283, 0.16075706481933594, 0.7681177258491516, -0.24652794003486633, 0.36282607913017273, -0.7897183895111084, 0.6462916731834412, -0.7984048128128052, 0.17861343920230865, -0.25595623254776, -1.078490138053894, -0.18844448029994965, 0.44318097829818726, 0.08795707672834396, 0.14133320748806, 0.693084180355072, 0.33333921432495117, 0.055585771799087524, -0.4171145260334015, 0.2925143837928772, 0.061026256531476974, 0.29643115401268005, 0.8648437261581421, 0.8214907050132751, -0.2171008139848709, 0.6153736114501953, -0.1186855360865593, -0.03602033108472824, -0.15482334792613983, -0.9801733493804932, -0.7483171820640564, -0.6511620283126831, -0.7208078503608704, -0.2695905566215515, -0.24454131722450256, 0.9516634345054626, 0.7317301034927368, -0.46884721517562866, -0.3534068763256073, 0.19072997570037842, 0.23279674351215363, -0.39633792638778687, -0.1445097029209137, 0.2203959822654724, -0.26933789253234863, -1.0420798063278198, 0.4464417099952698, 0.2640068829059601, 0.20550201833248138, -0.7329102158546448, -0.13466615974903107, 0.14089486002922058, 0.020121747627854347, 0.643660306930542, 0.3007931113243103, -0.6880272030830383, -0.02308453805744648, -0.2783668041229248, -0.051306385546922684, -0.15558123588562012, 0.8083474040031433, -0.9792680144309998, 0.07331611961126328, 0.830093264579773, 0.756020724773407, 0.27595847845077515, -0.1895090639591217, 0.45848220586776733, -0.5636922717094421, 0.10577797144651413, -0.12974746525287628, 0.6069837212562561, 0.20959743857383728, 0.03755804896354675, 0.32413846254348755, 0.3019736111164093, -0.03408125042915344, -0.7666013240814209, 0.47551488876342773, -1.2663862705230713, -0.2365330010652542, 1.2497764825820923, 0.015317978337407112, -0.10001567751169205, 0.17162509262561798, -0.03239653259515762, 0.1997869312763214, -0.11817358434200287, 0.6240320205688477, 0.4896336495876312, -0.1934376209974289, -0.13364964723587036, -0.27774983644485474, 0.24179981648921967, 0.3863109350204468, -1.10467529296875, -0.12013077735900879, 0.21230177581310272, 0.12921041250228882, 0.18455246090888977, 0.4439811110496521, 0.19887498021125793, -0.009270927868783474, -0.17566652595996857, -0.08554583787918091, 0.0016178300138562918, -0.13231806457042694, -0.19012945890426636, 0.27980417013168335, 0.1719053089618683, 0.01818583905696869 ]
http://arxiv.org/abs/2402.11453v3
http://arxiv.org/pdf/2402.11453v3
MatPlotAgent: Method and Evaluation for LLM-Based Agentic Scientific Data Visualization
2024-02-18T04:28:28
2024-03-19T14:44:22
Zhiyu Yang, Zihan Zhou, Shuo Wang, Xin Cong, Xu Han, Yukun Yan, Zhenghao Liu, Zhixing Tan, Pengyuan Liu, Dong Yu, Zhiyuan Liu, Xiaodong Shi, Maosong Sun
cs.CL
cs.CL
Scientific data visualization plays a crucial role in research by enabling the direct display of complex information and assisting researchers in identifying implicit patterns. Despite its importance, the use of Large Language Models (LLMs) for scientific data visualization remains rather unexplored. In this study, we introduce MatPlotAgent, an efficient model-agnostic LLM agent framework designed to automate scientific data visualization tasks. Leveraging the capabilities of both code LLMs and multi-modal LLMs, MatPlotAgent consists of three core modules: query understanding, code generation with iterative debugging, and a visual feedback mechanism for error correction. To address the lack of benchmarks in this field, we present MatPlotBench, a high-quality benchmark consisting of 100 human-verified test cases. Additionally, we introduce a scoring approach that utilizes GPT-4V for automatic evaluation. Experimental results demonstrate that MatPlotAgent can improve the performance of various LLMs, including both commercial and open-source models. Furthermore, the proposed evaluation method shows a strong correlation with human-annotated scores.
[ -0.16844595968723297, -0.4107150435447693, 0.6965998411178589, 0.43171215057373047, -0.45154887437820435, 0.42712539434432983, -0.3490399420261383, -0.16144995391368866, 0.20793810486793518, 0.21356777846813202, -0.2617441415786743, -1.0043493509292603, -0.420475035905838, 0.23036529123783112, -0.2860758602619171, 0.747458815574646, -0.216278076171875, 0.2691999673843384, -0.7152134776115417, -0.08159536123275757, -0.2680715322494507, -0.24470195174217224, -0.5208154916763306, -0.3549172282218933, 0.2934635877609253, 0.22859753668308258, 0.6914460062980652, 0.8617241382598877, 0.747603178024292, 0.34097903966903687, 0.32430487871170044, 0.30330273509025574, -0.535909116268158, 0.3433394730091095, -0.013175991363823414, -0.4520352780818939, -0.47190016508102417, 0.2607860863208771, 0.5141451358795166, 0.5652551054954529, -0.12374961376190186, 0.24842147529125214, -0.26135602593421936, 0.26374343037605286, -0.30298104882240295, 0.9013316631317139, -0.31881970167160034, 0.11582712084054947, 0.07282854616641998, -0.3307231068611145, -0.49773457646369934, -0.3356814980506897, -0.16744542121887207, -0.9608915448188782, 0.09322980046272278, 0.11706029623746872, 0.2902512550354004, 0.7057814002037048, -0.39507153630256653, -0.038621023297309875, -0.26621222496032715, 0.8318197131156921, -0.5864245295524597, 0.04530530422925949, 0.38576772809028625, 0.6409721374511719, -0.2280253767967224, -0.9639988541603088, -0.45288193225860596, -0.7600101232528687, -0.06279441714286804, 0.3250214457511902, -0.06976020336151123, -0.0009269178262911737, 0.2397671788930893, -0.13599132001399994, -0.696545422077179, -0.017974229529500008, -0.13793928921222687, -0.2998111844062805, 0.891031801700592, 0.39096230268478394, 0.35129693150520325, -0.15389440953731537, -0.3668910264968872, -0.4190187156200409, -0.5369277000427246, -0.17972081899642944, 0.15608304738998413, 0.14080810546875, -0.03901505097746849, 0.7228435277938843, -0.024802712723612785, 0.473527193069458, -0.5459084510803223, -0.0071763331070542336, 0.3878144323825836, -0.20379403233528137, 0.08993751555681229, 0.039532359689474106, 0.8559404015541077, 0.6008728742599487, 0.09593448042869568, -0.12744128704071045, -0.21895597875118256, 0.20877480506896973, 0.1045423299074173, -1.0807690620422363, -0.3488770127296448, 0.3215331435203552, -0.32262784242630005, -0.4156198501586914, 0.04157014191150665, -0.8398943543434143, -0.855762779712677, -0.36262333393096924, 0.2742425501346588, -0.3438276946544647, -0.28565675020217896, -0.08091402053833008, -0.15614433586597443, -0.08030668646097183, 0.8351545929908752, -0.2779858112335205, 0.21356841921806335, 0.9316879510879517, 1.1541132926940918, -0.5878691673278809, -0.4859495759010315, -0.5364269018173218, 0.1678074449300766, -0.498576283454895, 0.6550851464271545, -0.8417282700538635, -0.6362124681472778, -0.4102783203125, 0.03097917139530182, -0.10413247346878052, -0.2915703058242798, 0.5526971817016602, -0.1966748833656311, -0.19392791390419006, -0.2562766671180725, -0.658987820148468, -0.2675180435180664, 0.13086824119091034, -0.7693583965301514, 0.8374634385108948, -0.04427335411310196, -0.6691882610321045, 0.35891422629356384, -1.1420536041259766, -0.1372629702091217, 0.38963189721107483, -0.5416089296340942, -0.4677138030529022, -0.241606205701828, 0.10187074542045593, 0.640062689781189, -0.27324989438056946, 0.42167502641677856, -0.3260439336299896, -0.4659883379936218, 0.31154897809028625, -0.31776583194732666, 0.3636195957660675, 0.21258628368377686, -0.45099008083343506, 0.5289267897605896, -0.8971852660179138, -0.14189326763153076, 0.4092661440372467, -0.11397399008274078, -0.20158825814723969, 0.14705803990364075, 0.13118377327919006, -0.08604735881090164, 0.0296173058450222, -0.6518728733062744, 0.5671319365501404, 0.187094047665596, 0.6251766085624695, 0.6335620880126953, -0.17164824903011322, 0.27651503682136536, -0.16991524398326874, 0.7359870672225952, -0.3874875009059906, 0.004993606824427843, -0.2395000159740448, -0.5650373697280884, -0.41432511806488037, -0.8521153330802917, 0.288725346326828, 0.27097445726394653, -0.6731516122817993, 0.012792135588824749, -0.47622519731521606, -0.686249315738678, -0.43515321612358093, -0.13253971934318542, 0.07113516330718994, 0.5082077980041504, 0.32142436504364014, 0.029815122485160828, -0.3189084827899933, -0.6276939511299133, 0.1825222671031952, -0.14463458955287933, -0.07476363331079483, 0.3230232298374176, 0.7942379713058472, -0.4413854777812958, 0.9650174379348755, -0.5858431458473206, -0.02405630052089691, -0.1486199051141739, 0.48860546946525574, 0.06204739212989807, 0.38081422448158264, 0.5004708766937256, -0.5904432535171509, -0.3864755928516388, 0.17462927103042603, -0.758220911026001, -0.47078827023506165, -0.08627431839704514, -0.05112525448203087, 0.05879920721054077, 0.5118421316146851, -0.8677253723144531, 0.48204296827316284, 0.3741826117038727, -0.3623064160346985, 0.60561203956604, -0.33713382482528687, 0.2845381796360016, -0.562944233417511, 0.26408568024635315, -0.1303069144487381, -0.43845415115356445, -0.6333857774734497, -0.07955839484930038, 0.180830180644989, -0.24036255478858948, -0.232302725315094, 0.542955219745636, -0.2948322594165802, -0.24516233801841736, -0.33927106857299805, 0.10043174028396606, 0.17593933641910553, 0.11016158759593964, 0.12701529264450073, 0.9395872950553894, 0.36950504779815674, 0.05309813469648361, 0.5957185626029968, 0.17493972182273865, -0.06317400187253952, 0.2730597257614136, -0.6800183653831482, 0.06232907250523567, -0.2791454792022705, 0.48471537232398987, -1.0962892770767212, -0.3319033980369568, 0.20208953320980072, -0.16720929741859436, 0.14620062708854675, -0.1844450980424881, -0.5951506495475769, -0.10651499032974243, -0.5539826154708862, 0.35580307245254517, 0.2551842927932739, -0.6378980278968811, 0.8027946352958679, 0.10504593700170517, -0.18621943891048431, -0.5352790355682373, -0.5177563428878784, 0.23708845674991608, -0.21888914704322815, -0.6352131366729736, 0.22017057240009308, -0.3142591714859009, -0.37664708495140076, -0.15390558540821075, -0.1637163907289505, 0.3515032231807709, 0.21623271703720093, 0.7043517231941223, 0.31752920150756836, 0.06759767234325409, 0.25462886691093445, -0.1875360757112503, -0.2757005989551544, 0.2211250513792038, 0.10027145594358444, 0.6345930695533752, -0.44630375504493713, -0.669692873954773, -0.1993759125471115, -0.02040066383779049, 0.5877349972724915, -0.28621506690979004, 0.27964264154434204, 0.5945131182670593, -0.02376396209001541, -0.5024383068084717, -0.41100144386291504, -0.0812339335680008, -0.4183831810951233, 0.39491498470306396, -0.28844767808914185, -0.53572678565979, 0.5173072218894958, -0.3404941260814667, -0.29358309507369995, 0.32751843333244324, 0.6246053576469421, 0.13627512753009796, 1.1211854219436646, 0.30130818486213684, 0.20725464820861816, 0.013414430432021618, -0.415474534034729, -0.10066378861665726, -0.3777099549770355, -0.2958343029022217, -0.2936142385005951, 0.0902608260512352, -0.3432233929634094, -0.8295853734016418, 0.3647056221961975, -0.18256177008152008, -0.10562340170145035, -0.05142856016755104, -0.6537048816680908, 0.566071093082428, 0.2365906536579132, -0.3889823257923126, 0.4340704679489136, -0.22401338815689087, -0.1344340741634369, 0.08257030695676804, -0.47294458746910095, -0.7132416367530823, 1.3048086166381836, 0.4609377682209015, 0.888676643371582, -0.09181627631187439, 0.6462154984474182, 0.5230799913406372, 0.5983103513717651, -0.6256170868873596, 0.7485077977180481, 0.2413831204175949, -0.02249656617641449, -0.3171554207801819, -0.4908544421195984, -0.9008626937866211, 0.7294155955314636, -0.051283761858940125, -0.43375682830810547, 0.13455207645893097, -0.06342221051454544, -0.06895380467176437, 0.0037937816232442856, -0.796991229057312, 0.9523202776908875, -0.5019128918647766, -0.45016804337501526, -0.13115280866622925, -0.550548255443573, 0.2321866899728775, -0.3035038709640503, 0.2891148030757904, -0.4551256597042084, -0.37650930881500244, 0.6914055347442627, -0.4852161407470703, 0.7658066749572754, -0.3717699646949768, 0.18768806755542755, -0.05251901224255562, 0.2632056772708893, 0.5623849034309387, 0.3867083191871643, -0.13246086239814758, 0.20547641813755035, 0.17259016633033752, -0.2245943397283554, -0.4962315559387207, 0.8242635130882263, -0.8248843550682068, -0.46443524956703186, -0.6983888149261475, -0.8387165665626526, 0.09979227185249329, 0.07921862602233887, -0.3882283866405487, 0.0031462095212191343, -0.09167955070734024, -0.055130258202552795, 0.11211129277944565, -0.23975084722042084, 0.5416921377182007, 0.6080606579780579, -0.6431330442428589, -0.33486875891685486, 1.0198639631271362, -0.08714200556278229, -0.04544784128665924, -0.19831308722496033, 0.20454168319702148, -0.23110748827457428, -0.719437301158905, -0.4036143720149994, 0.31441041827201843, -0.8472788333892822, -0.3339986205101013, -0.4871129095554352, 0.07696103304624557, -0.037181928753852844, -0.06369034945964813, -0.2776530086994171, -0.5686489939689636, -0.206356480717659, -0.2026403844356537, 0.5921010971069336, 0.7934717535972595, -0.027568269520998, 0.14889204502105713, -0.23132102191448212, 0.13975799083709717, 0.14917771518230438, 0.30614280700683594, -0.24344906210899353, 0.16353364288806915, -0.02042083628475666, -0.1543385535478592, 0.04642404243350029, -0.6464758515357971, 0.6138033866882324, 0.2272389978170395, 0.7182703018188477, 0.2702808678150177, -0.08683890104293823, 0.3755815625190735, -0.5109796524047852, 0.710824191570282, -0.014528514817357063, -0.9403923153877258, 0.4972965121269226, -0.3201069235801697, -0.009458055719733238, 0.506496787071228, 0.2979237735271454, -0.1367070972919464, -0.3142763376235962, -0.21334928274154663, -0.8567122220993042, 0.5794697999954224, 0.16948750615119934, -0.356334388256073, 0.20274320244789124, 0.20001031458377838, 0.401572048664093, 0.46791335940361023, -0.5915622711181641, -0.0993528887629509, -0.8019284009933472, -0.3325464427471161, -0.42966172099113464, 0.16113197803497314, -0.5034475326538086, -0.2631596624851227, 0.46863579750061035, -0.5164387822151184, 0.06732377409934998, 0.20959506928920746, -0.5018494725227356, -0.02501174435019493, -0.016555732116103172, 0.7636846303939819, 0.986787736415863, -0.5216245055198669, 0.28324389457702637, -0.055409856140613556, -0.6178978085517883, 0.15478162467479706, 0.6312218904495239, -0.04909486696124077, 0.03557387366890907, 0.5015788078308105, 0.7582587003707886, -0.16138407588005066, -0.9396688342094421, 0.8628373146057129, -0.2468932569026947, -0.11527971923351288, -0.24273045361042023, -0.06590623408555984, 0.12463343888521194, 0.4151468575000763, 0.44221898913383484, -0.16881532967090607, 0.22125932574272156, -0.02274741791188717, 0.04022106155753136, 0.6272475123405457, 0.05994848906993866, -0.222114697098732, 0.8097670078277588, 0.03020709939301014, 0.019461020827293396, 0.17643135786056519, -0.23348969221115112, -0.42781203985214233, 0.7117835879325867, 0.24986238777637482, 0.4966546893119812, -0.2960350215435028, 0.5987152457237244, -0.07259240001440048, 0.29554638266563416, 0.04519108682870865, 0.2743985652923584, -0.10064173489809036, -0.3154168426990509, -0.7330229878425598, -0.5628699660301208, -0.7650392055511475, -0.21047230064868927, -0.21105211973190308, 0.16725456714630127, -0.4124912917613983, -0.16919828951358795, 0.24872039258480072, 0.1270308643579483, -0.43820860981941223, -0.14137035608291626, 0.17589008808135986, 0.7449480295181274, -0.878900408744812, 0.8537096977233887, 0.7786789536476135, -0.6546896696090698, -0.39796510338783264, -0.45555198192596436, 0.06396521627902985, -0.8890684247016907, 0.9219362735748291, 0.3033348321914673, -0.038393862545490265, -0.12612128257751465, -0.7107061147689819, -0.752670407295227, 1.4743430614471436, 0.5156518220901489, -0.4221765100955963, 0.5427150130271912, 0.5569263100624084, 0.8080156445503235, -0.6937662363052368, 0.7259442806243896, 0.506445586681366, 0.9008218050003052, 0.11581975966691971, -0.5549852848052979, 0.2764800190925598, -0.48581209778785706, 0.027392931282520294, -0.19309847056865692, -0.5292121767997742, 0.7945193648338318, 0.03614872694015503, -0.08433130383491516, -0.20822711288928986, 0.38020339608192444, 0.3876895308494568, 0.4484652280807495, 0.46331217885017395, 0.3409283757209778, 0.8398260474205017, -0.26547518372535706, 0.972854733467102, -0.44996780157089233, 0.5066231489181519, 0.8841090798377991, -0.6813642382621765, 0.474932998418808, 0.45415833592414856, -0.10473046451807022, 0.18656913936138153, 0.5008832812309265, -0.6610777378082275, 0.4279729127883911, 0.5084140300750732, 0.00918490719050169, -0.22499963641166687, -0.19110426306724548, -0.2812041640281677, 0.39198043942451477, 0.29230451583862305, -0.24024489521980286, -0.23463504016399384, 0.24095574021339417, 0.1088721826672554, -0.051448751240968704, -0.2393546998500824, 0.39569100737571716, -0.049048010259866714, -0.25347453355789185, 0.5655751824378967, -0.159922257065773, 0.2540692687034607, -0.45658332109451294, -0.41114264726638794, -0.1747640073299408, -0.08731674402952194, -0.29196861386299133, -0.6234261989593506, -0.045168813318014145, -0.13808131217956543, 0.24733088910579681, -0.040757916867733, 0.6550450921058655, -0.35646024346351624, -0.535627007484436, 0.3556481897830963, 0.5099976062774658, 0.33728325366973877, 0.03928152099251747, -0.6624792218208313, 0.48049455881118774, -0.22695913910865784, -0.4104921817779541, 0.0582023486495018, 0.01953393965959549, -0.3094971179962158, 1.0012004375457764, 0.8568949699401855, 0.19482384622097015, 0.028458375483751297, 0.4887947142124176, 0.8983963131904602, -0.4839487671852112, -0.18301545083522797, -0.7697792649269104, 0.5272648930549622, -0.3234342634677887, 0.2693111300468445, 0.7759923338890076, 0.7130396366119385, 0.163713276386261, -0.08899310976266861, 0.9019734263420105, 0.3493107557296753, 0.3499871790409088, -0.20690040290355682, 0.8491566777229309, -0.30939340591430664, 0.516291081905365, -0.15637733042240143, -0.9724448919296265, -0.7045297622680664, 0.603061854839325, -0.4623830318450928, -0.014547589235007763, 0.6429112553596497, 0.7880796790122986, -0.016060303896665573, 0.11039767414331436, 0.28510135412216187, 0.4056756794452667, 0.6748178601264954, -0.015285906381905079, 1.1201517581939697, 0.30592840909957886, 0.38851234316825867, -0.21744316816329956, -0.47239211201667786, -0.26140204071998596, -1.1056609153747559, -1.0516818761825562, -0.2579053044319153, -0.39437443017959595, -0.09160981327295303, 0.06512697041034698, 1.0812742710113525, 0.5252443552017212, -0.6049107313156128, -0.26612588763237, -0.04205654561519623, -0.06508543342351913, 0.08863186836242676, -0.1998743861913681, 0.7950146794319153, -0.23414088785648346, -0.5761107206344604, 0.6369529962539673, 0.37317991256713867, -0.04075110703706741, -0.4710191488265991, -0.20376378297805786, 0.19200552999973297, 0.04237803816795349, 0.4273686408996582, -0.04297192022204399, -0.6483867168426514, -0.04403798282146454, -0.29668357968330383, -0.03635719045996666, 0.1774127185344696, 0.5781840085983276, -0.6458664536476135, 0.5832008719444275, 0.36990493535995483, 0.5357933640480042, 0.8509584069252014, 0.1614743173122406, 0.35829970240592957, -0.4700262248516083, 0.13769331574440002, 0.4099882245063782, 0.5816951394081116, 0.5041223168373108, -0.1610451638698578, 0.934311032295227, 0.1494113653898239, -0.7774618268013, -1.0621798038482666, -0.20775406062602997, -1.3052321672439575, -0.2644605338573456, 1.1812838315963745, -0.26722005009651184, -0.2765950560569763, 0.17394888401031494, -0.4462660253047943, 0.002369785448536277, -0.5703338980674744, 0.6078291535377502, 0.42136138677597046, -0.3724900186061859, -0.0357678048312664, -0.7825287580490112, 0.44620102643966675, 0.21572449803352356, -1.0782767534255981, 0.05471530556678772, 0.5340670347213745, 0.2595399022102356, 0.21750019490718842, 0.14700597524642944, 0.05254610627889633, 0.1115560233592987, -0.09989121556282043, 0.477448970079422, -0.7518061399459839, -0.010485083796083927, -0.48269179463386536, 0.2602418065071106, 0.04267054423689842, 0.12643566727638245 ]
http://arxiv.org/abs/2402.11452v1
http://arxiv.org/pdf/2402.11452v1
AutoPRM: Automating Procedural Supervision for Multi-Step Reasoning via Controllable Question Decomposition
2024-02-18T04:28:16
2024-02-18T04:28:16
Zhaorun Chen, Zhuokai Zhao, Zhihong Zhu, Ruiqi Zhang, Xiang Li, Bhiksha Raj, Huaxiu Yao
cs.CL
cs.CL
Recent advancements in large language models (LLMs) have shown promise in multi-step reasoning tasks, yet their reliance on extensive manual labeling to provide procedural feedback remains a significant impediment. To address this challenge, in this paper, we propose a novel self-supervised framework AutoPRM that efficiently enhances the fine-tuning of LLMs for intricate reasoning challenges. Specifically, AutoPRM first decomposes complex problems into more manageable subquestions with a controllable granularity switch, then sequentially apply reinforcement learning to iteratively improve the subquestion solver. Additionally, we propose context-guided-decoding to avoid reward tampering and guide the subquestion solver towards the solution of the holistic problem. Extensive experiments show that AutoPRM significantly improves performance on mathematical and commonsense reasoning tasks over SOTA. More encouragingly, AutoPRM can be easily integrated with other orthogonal reasoning pipelines.
[ -0.4438437819480896, -0.9372440576553345, 0.5591080784797668, 0.49961915612220764, 0.11465976387262344, 0.0800565630197525, -0.19473275542259216, 0.12183310836553574, -0.06056910380721092, 0.8040216565132141, -0.7290853261947632, -0.44043397903442383, -0.5219981074333191, 0.17851267755031586, -0.17725935578346252, 0.7366726994514465, -0.3213063180446625, -0.05302341654896736, -0.3130299150943756, 0.09887532144784927, -0.06231975182890892, -0.570837676525116, -0.8665913939476013, -0.4322124719619751, 0.350902795791626, 0.4085219204425812, 0.523465633392334, 0.9855096936225891, 0.3667076528072357, 0.40964779257774353, 0.04196206480264664, 0.6891310811042786, -0.17699207365512848, 0.3666640818119049, -0.5765599608421326, -0.2317146211862564, -0.421940416097641, -0.12871861457824707, 0.4031433165073395, 0.5666308999061584, -0.45446741580963135, 0.010112146846950054, -0.022695869207382202, 0.2521229684352875, -0.6356131434440613, 0.649575412273407, -0.38093313574790955, 0.010490619577467442, 0.2069438397884369, -0.5428178310394287, -0.340029239654541, -0.07707291841506958, -0.17195972800254822, -0.6362999677658081, 0.15157674252986908, 0.0878058522939682, 0.4038985073566437, 0.9392729997634888, -0.3666011393070221, -0.4281821548938751, -0.6201410293579102, 0.8086445331573486, -0.46329814195632935, 0.042296767234802246, 0.2720296382904053, 0.27998027205467224, -0.38279667496681213, -0.5739547610282898, -0.3416137397289276, -0.004743173718452454, -0.13338793814182281, 0.07083240896463394, 0.04149915277957916, 0.31266865134239197, 0.15695524215698242, 0.43642041087150574, -0.5277411937713623, 0.008512216620147228, 0.08838257938623428, -0.3808649778366089, 0.7194902300834656, 0.5131238698959351, 0.2184891402721405, -0.1577151119709015, -0.37371402978897095, -0.24640542268753052, -0.3624041974544525, 0.06567835807800293, 0.09984425455331802, 0.26397693157196045, 0.4022964835166931, 0.29999294877052307, -0.34312188625335693, 0.8159931302070618, 0.22575338184833527, -0.11556408554315567, -0.0802396610379219, -0.4123842418193817, -0.27871668338775635, -0.17197461426258087, 0.8242538571357727, -0.07626782357692719, 0.25338464975357056, 0.12576696276664734, -0.2005179226398468, -0.18959492444992065, 0.17972905933856964, -0.7388609647750854, -0.5550134778022766, 0.19898998737335205, -0.2046375572681427, -0.035580892115831375, -0.18038496375083923, -0.32903215289115906, -0.04011893272399902, -0.6441985964775085, 0.22824744880199432, -0.3537391722202301, -0.1987655907869339, 0.4618774652481079, 0.246059849858284, 0.3072325885295868, 0.668946385383606, -0.8425313830375671, 0.37564998865127563, 0.7959096431732178, 0.38525450229644775, -0.27115511894226074, -0.4300738573074341, -0.7746309638023376, 0.3283921480178833, -0.5100000500679016, 0.6762831807136536, -0.6144150495529175, -0.29257526993751526, -0.19168850779533386, 0.19185341894626617, -0.22506411373615265, -0.7005212903022766, 0.10272220522165298, -0.3585675358772278, 0.16248659789562225, -0.052117154002189636, -0.6026884317398071, -0.015931444242596626, 0.5943677425384521, -0.23044508695602417, 1.0328038930892944, 0.059035126119852066, -0.14223498106002808, 0.14931301772594452, -0.5521649122238159, -0.42286837100982666, 0.08805610984563828, -0.2146136611700058, -0.3175687789916992, -0.23923128843307495, 0.5041012763977051, 0.4211403727531433, -0.03186555579304695, 0.5685608983039856, -0.24307560920715332, -0.05207790434360504, -0.11292754858732224, -0.17518197000026703, 0.6793493628501892, 0.30262818932533264, -0.49033790826797485, 0.35694780945777893, -0.4849305748939514, 0.19924233853816986, -0.10014157742261887, -0.15107466280460358, -0.14468780159950256, -0.09064216166734695, -0.40559813380241394, 0.43420806527137756, 0.3012089431285858, -0.18549565970897675, 0.42946743965148926, -0.24065420031547546, 0.42645275592803955, 0.6821436285972595, 0.20813386142253876, 0.5949788689613342, -0.12657621502876282, 0.7573888301849365, 0.14977946877479553, 0.33655044436454773, -0.4124991297721863, -0.09493821859359741, -1.0305979251861572, -0.4215575158596039, 0.11758270859718323, 0.7001057267189026, -0.7860962748527527, 0.5205244421958923, 0.38992008566856384, -0.10269206017255783, -0.38012975454330444, 0.3183758556842804, 0.6732403039932251, 0.5421379804611206, 0.7981880307197571, -0.04206332936882973, -0.16971969604492188, -0.8554324507713318, -0.42294397950172424, -0.022924480959773064, -0.00873288419097662, 0.42850399017333984, 0.5133129954338074, -0.3866584599018097, 0.7697610259056091, -0.5593988299369812, -0.7795843482017517, -0.16645674407482147, 0.6194335222244263, -0.03769851103425026, 0.8835077285766602, -0.054234087467193604, -0.4854416847229004, -0.3896655738353729, -0.35847488045692444, -0.6616116166114807, -0.41083019971847534, -0.5328012704849243, -0.14541050791740417, 0.07418137788772583, 1.004549264907837, -0.5496351718902588, 0.30489450693130493, 0.008245689794421196, -0.22484786808490753, 0.4632747173309326, -0.6137080788612366, -0.008832697756588459, -0.6368361115455627, -0.39747685194015503, -0.03615977242588997, -0.40987369418144226, -0.09265328198671341, 0.12499246001243591, 0.20015747845172882, 0.07611465454101562, -0.21123917400836945, 0.5135961771011353, -0.6305732131004333, 0.17379574477672577, -0.34659579396247864, -0.13378626108169556, 0.033259835094213486, 0.7210593223571777, 0.3323228657245636, 0.553700864315033, 0.6687779426574707, -0.7016098499298096, 0.4896864891052246, 0.32173141837120056, -0.0015629964182153344, 0.44488033652305603, -0.6508036851882935, 0.04325719550251961, -0.16668929159641266, 0.44936057925224304, -0.9407234191894531, -0.2700863778591156, 0.29588863253593445, -0.2797203063964844, 0.3329344093799591, -0.29582104086875916, -0.653476893901825, -0.046326056122779846, 0.050218287855386734, 0.5425337553024292, 0.2635546624660492, -0.4862250089645386, 0.8464155793190002, 0.3405556082725525, -0.40179702639579773, -0.41890066862106323, -0.6415691375732422, 0.07606242597103119, 0.09307236224412918, -0.22214840352535248, 0.2579818069934845, -0.2503546476364136, -0.31028106808662415, -0.06863340735435486, -0.14280785620212555, -0.19382743537425995, -0.06631302833557129, 0.10789711028337479, -0.08109299093484879, 0.19588159024715424, 0.07380461692810059, 0.4696177542209625, -0.4652167856693268, 0.5007755160331726, -0.46598321199417114, 0.36063817143440247, -0.2836146950721741, -0.5880976915359497, -0.28629443049430847, 0.36160987615585327, 0.23617975413799286, -0.4813821017742157, 0.25634774565696716, 0.3702922761440277, -0.098915234208107, -0.8619650602340698, -0.42802080512046814, -0.21492289006710052, -0.5263906717300415, 0.024310244247317314, -0.5297512412071228, -1.0706679821014404, 0.3581361174583435, -0.23139667510986328, 0.027392324060201645, 0.1640397012233734, 0.7582648396492004, -0.1276230365037918, 1.2914273738861084, 0.16500002145767212, 0.10608559101819992, 0.20442147552967072, -0.4599754512310028, 0.03342314437031746, -0.5665580034255981, -0.5119533538818359, -0.13545577228069305, 0.013030988164246082, -0.2953420877456665, -0.9006661772727966, 0.3894308805465698, 0.01422844547778368, -0.25883451104164124, 0.14019402861595154, -0.7377461791038513, 0.5757068395614624, 0.535542368888855, -0.02052481099963188, 0.43298327922821045, -0.45860975980758667, -0.1727844923734665, 0.11252698302268982, -0.8843623995780945, -0.21338056027889252, 0.6202116012573242, 0.2958625853061676, 1.072638750076294, -0.307110071182251, 0.8492382168769836, 0.34578514099121094, 0.09386899322271347, -0.8438181281089783, 0.6660817861557007, 0.0518825389444828, -0.541506290435791, -0.5873150825500488, -0.5731372237205505, -0.7404240369796753, 0.4703584611415863, 0.3497072458267212, -0.17145702242851257, 0.1474553346633911, 0.49536532163619995, -0.5549560785293579, -0.008013879880309105, -0.42532598972320557, 0.8118525147438049, -0.3022882044315338, -0.3752206265926361, -0.1610572189092636, -0.6561237573623657, 0.3022477328777313, 0.2436480075120926, 0.36392366886138916, -0.1796969175338745, -0.04432637244462967, 0.3644273579120636, -0.8927635550498962, 0.8514417409896851, -0.3159262537956238, -0.3407565653324127, 0.3676844537258148, 0.5615524649620056, 0.4470716416835785, 0.46610400080680847, 0.4507925510406494, -0.19748422503471375, 0.1754211038351059, -0.4536662697792053, -0.81770259141922, 0.7226054668426514, -0.39292147755622864, -0.8229292631149292, -0.5942534804344177, -0.9365323185920715, -0.24478796124458313, 0.24308381974697113, -0.06911032646894455, 0.5911223888397217, 0.28390809893608093, -0.03568070009350777, 1.1582512855529785, -0.12606538832187653, 0.40372762084007263, 0.576691210269928, -0.27447056770324707, -0.33552151918411255, 0.7576266527175903, -0.12937834858894348, 0.1578553169965744, 0.378558874130249, 0.11354886740446091, -0.5791681408882141, -0.5552023649215698, -0.35087472200393677, 0.18762224912643433, -0.7300708293914795, -0.27541396021842957, -0.7939815521240234, -0.10017964243888855, -0.41445857286453247, -0.014438264071941376, -0.5045390725135803, -0.236627459526062, -0.2434978187084198, 0.004770217463374138, 0.08956313133239746, 0.45382556319236755, -0.2876172363758087, 0.12365473061800003, -0.4125266671180725, 0.728394091129303, 0.6594385504722595, 0.26663321256637573, -0.31799280643463135, -0.5556353330612183, 0.09116875380277634, -0.16441500186920166, 0.06381053477525711, -0.34703439474105835, 0.5252342224121094, 0.10508778691291809, 0.5240432024002075, 0.148855522274971, 0.3598830997943878, 0.7853617668151855, -0.4449097514152527, 0.4173416197299957, -0.1472998708486557, -1.0312001705169678, 0.6851386427879333, -0.48270362615585327, 0.5670119524002075, 0.6389308571815491, 0.34659960865974426, -0.15168960392475128, -0.6182428002357483, -0.5148955583572388, -0.8747918009757996, 0.7259962558746338, -0.11689484119415283, -0.1370481252670288, -0.30531591176986694, 0.37606969475746155, -0.0015988113591447473, -0.03683887794613838, -0.46765217185020447, -0.13762778043746948, -0.32914015650749207, -0.16360680758953094, 0.07235326617956161, -0.208650603890419, -0.22601354122161865, -0.522076427936554, 0.6664645075798035, -0.4360668957233429, -0.06419672816991806, 0.5172149538993835, -0.4133807122707367, -0.09197250753641129, 0.1789446324110031, 0.3211364448070526, 0.6044232249259949, 0.11894435435533524, 0.33283084630966187, 0.15383028984069824, 0.07575201988220215, 0.1561509221792221, 0.08614472299814224, -0.12962907552719116, -0.20579949021339417, 0.30122700333595276, 0.42728763818740845, 0.24424892663955688, -0.7074220776557922, 0.35241392254829407, -0.07952919602394104, -0.5381563305854797, -0.4815484881401062, 0.4050479233264923, -0.0606347993016243, 0.3490920662879944, 0.3478180468082428, -0.1816108673810959, 0.2243068665266037, -0.34519490599632263, 0.3780103325843811, 0.3079630434513092, -0.25457748770713806, 0.049325816333293915, 0.6541697382926941, 0.025624675676226616, -0.2828512191772461, 0.5258280038833618, -0.49548619985580444, -0.577998161315918, 0.7010505199432373, 0.3531220257282257, 0.6196640729904175, -0.31468671560287476, 0.33287709951400757, 0.3106395900249481, 0.23063601553440094, -0.26431283354759216, 0.3409353196620941, -0.4781729280948639, -0.5478448271751404, -0.8976590037345886, -0.5251006484031677, -0.7325495481491089, 0.18126201629638672, -0.8243576288223267, -0.14933530986309052, -0.760353147983551, 0.38716140389442444, -0.3025742173194885, -0.2783297896385193, -0.25953617691993713, 0.49208107590675354, -0.053165651857852936, 0.7325529456138611, -0.5346761345863342, 0.8835602402687073, 0.5363581776618958, -0.2679663598537445, -0.931664764881134, -0.1822422742843628, -0.14162109792232513, -0.6800209283828735, 0.717230498790741, -0.08281391113996506, -0.5408269762992859, 0.22246195375919342, -0.6151036024093628, -0.7805028557777405, 0.6760340929031372, 0.17789970338344574, -0.3795236051082611, 0.016431381925940514, 0.3100641369819641, 0.578701376914978, -0.3670700788497925, 0.30918681621551514, 0.6792277693748474, 0.5025011301040649, 0.2009028196334839, -0.9606453776359558, -0.008960065431892872, -0.17604482173919678, -0.06714417785406113, 0.24162283539772034, -0.8131341338157654, 0.7957353591918945, -0.0345313586294651, 0.13636282086372375, -0.1315835416316986, 0.6842677593231201, 0.4311303198337555, 0.23510167002677917, 0.6501656174659729, 0.6080247759819031, 0.4986954927444458, -0.10002244263887405, 0.6894180178642273, -0.4823591411113739, 0.46622928977012634, 1.4418656826019287, -0.024082999676465988, 0.262710839509964, 0.3652472496032715, 0.06071905791759491, 0.4737115204334259, 0.6928349733352661, 0.036722730845212936, 0.5087408423423767, 0.44661256670951843, -0.03513075038790703, -0.8785786628723145, -0.0337691605091095, -0.125070258975029, 0.6112247109413147, 0.5552398562431335, -0.20987153053283691, -0.48540225625038147, 0.07497197389602661, -0.13753706216812134, 0.3494197428226471, -0.46455034613609314, 0.8412522077560425, 0.07578369230031967, -1.009514331817627, 0.7141539454460144, -0.09121273458003998, 0.4125087261199951, -0.6090198755264282, -0.20459884405136108, -0.4010472595691681, 0.36587849259376526, -0.24841047823429108, -0.63868647813797, 0.5016990900039673, -0.2690961956977844, 0.00807788223028183, -0.9934065937995911, 0.7434477210044861, -0.7465143799781799, -0.2541657090187073, 0.29429709911346436, 0.554836630821228, 0.0851311981678009, -0.32386812567710876, -0.9480689167976379, -0.1998324990272522, -0.2137582004070282, -0.3553658425807953, 0.2722296118736267, 0.7543517351150513, -0.19036392867565155, 1.1645822525024414, 0.5205808877944946, -0.09671112895011902, 0.1249576285481453, 0.13395340740680695, 1.0062239170074463, -0.7893348336219788, -0.5659318566322327, -0.7908565402030945, 0.19220466911792755, 0.09400571137666702, -0.1972818523645401, 0.873030424118042, 0.5825430750846863, 0.9900100827217102, -0.08130468428134918, 0.7375142574310303, 0.13105474412441254, 0.6335771679878235, -0.4754822850227356, 0.2950448989868164, -0.41236674785614014, 0.2857142984867096, 0.016793236136436462, -0.5778865814208984, -0.36666569113731384, 0.7896651029586792, -0.4066033661365509, -0.026874573901295662, 0.598724901676178, 0.7990957498550415, -0.03400284796953201, -0.37401244044303894, 0.07286606729030609, 0.03828500211238861, 0.38378629088401794, 0.5985784530639648, 0.9721186757087708, 0.13060487806797028, 0.6556023955345154, -0.47420617938041687, -0.26375675201416016, -0.0855456218123436, -0.8074314594268799, -1.0164024829864502, -0.30265340209007263, -0.5738756060600281, -0.12590213119983673, -0.21389536559581757, 0.9076675772666931, 0.8460230231285095, -1.0162055492401123, -0.16554580628871918, -0.540590763092041, 0.11087395995855331, -0.24781538546085358, -0.31601500511169434, 0.2186821550130844, -0.9662890434265137, -0.747376561164856, 0.6855936646461487, 0.6716593503952026, -0.3870980143547058, -0.5584962368011475, -0.05710073560476303, -0.10150350630283356, 0.029996812343597412, 0.4385095536708832, 0.3614276945590973, -0.7749676704406738, 0.0898890346288681, 0.0428919680416584, -0.16620370745658875, -0.01572454534471035, 1.0141205787658691, -0.7294777631759644, 0.5752261281013489, 0.43062663078308105, 0.7404389977455139, 0.8643403649330139, 0.30612125992774963, 0.5538831353187561, -0.5866432785987854, -0.05413836985826492, 0.7157893180847168, 0.2831440269947052, -0.03687656298279762, -0.37857070565223694, 0.4633820056915283, 0.11649239808320999, -0.701144814491272, -0.5869180560112, 0.4192068576812744, -0.864158570766449, -0.542553722858429, 1.2393808364868164, -0.3768045902252197, -0.23585225641727448, -0.44306182861328125, -0.23010049760341644, 0.08031485229730606, -0.30143195390701294, 0.8443390727043152, 0.48839184641838074, -0.6249724626541138, -0.5351182222366333, -0.1435508280992508, 0.8004956245422363, 0.8839690089225769, -0.940653920173645, 0.1725594699382782, 0.6696227192878723, 0.2970684766769409, -0.06969508528709412, 0.6372883915901184, -0.18857695162296295, 0.17192059755325317, -0.2960246205329895, -0.08370531350374222, -0.6775872111320496, -0.6361565589904785, -0.29857853055000305, 0.3242676258087158, -0.18068227171897888, -0.07845732569694519 ]
http://arxiv.org/abs/2402.11451v2
http://arxiv.org/pdf/2402.11451v2
SciAgent: Tool-augmented Language Models for Scientific Reasoning
2024-02-18T04:19:44
2024-02-21T03:04:49
Yubo Ma, Zhibin Gou, Junheng Hao, Ruochen Xu, Shuohang Wang, Liangming Pan, Yujiu Yang, Yixin Cao, Aixin Sun, Hany Awadalla, Weizhu Chen
cs.CL
cs.CL, cs.AI
Scientific reasoning poses an excessive challenge for even the most advanced Large Language Models (LLMs). To make this task more practical and solvable for LLMs, we introduce a new task setting named tool-augmented scientific reasoning. This setting supplements LLMs with scalable toolsets, and shifts the focus from pursuing an omniscient problem solver to a proficient tool-user. To facilitate the research of such setting, we construct a tool-augmented training corpus named MathFunc which encompasses over 30,000 samples and roughly 6,000 tools. Building on MathFunc, we develop SciAgent to retrieve, understand and, if necessary, use tools for scientific problem solving. Additionally, we craft a benchmark, SciToolBench, spanning five scientific domains to evaluate LLMs' abilities with tool assistance. Extensive experiments on SciToolBench confirm the effectiveness of SciAgent. Notably, SciAgent-Mistral-7B surpasses other LLMs with the same size by more than 13% in absolute accuracy. Furthermore, SciAgent-DeepMath-7B shows much superior performance than ChatGPT.
[ -0.06503203511238098, -0.6179046630859375, 0.530437171459198, 0.6276573538780212, -0.1538790762424469, 0.566957414150238, -0.3242991864681244, -0.4225791394710541, 0.07639031857252121, 0.29755493998527527, -0.34042465686798096, -0.30075207352638245, -0.6121338605880737, 0.4664883315563202, -0.33934783935546875, 0.7643762230873108, 0.049564387649297714, 0.4614742696285248, -0.6096561551094055, 0.05506621673703194, -0.290701299905777, -0.3696058392524719, -0.5544668436050415, -0.4691373109817505, 0.623221755027771, 0.3862445652484894, 0.6718031764030457, 0.6114994883537292, 0.8772026896476746, 0.3968316316604614, -0.09797246754169464, 0.18691106140613556, -0.34313637018203735, 0.20659102499485016, -0.40083619952201843, -0.6202487349510193, -0.5086355805397034, 0.0038960566744208336, 0.32854363322257996, 0.9674999117851257, 0.0883389413356781, 0.0132205905392766, -0.3853927552700043, 0.04012086242437363, -0.4208149015903473, 0.23506882786750793, -0.6112125515937805, -0.09050042927265167, -0.1456717550754547, 0.0008961212006397545, -0.48263439536094666, -0.19532759487628937, 0.010466807521879673, -0.9346693754196167, 0.42446476221084595, 0.13737690448760986, 0.32660993933677673, 0.4883386194705963, -0.29698804020881653, -0.020881084725260735, -0.5587034821510315, 0.8118355870246887, -0.5722832679748535, 0.608622670173645, 0.33262771368026733, 0.2219819873571396, -0.5354008078575134, -0.8759338855743408, -0.515963613986969, -0.4924980700016022, 0.18733762204647064, -0.005215160083025694, -0.10310051590204239, -0.11188281327486038, 0.7242041230201721, 0.06156420707702637, -0.5704032182693481, 0.04208528622984886, -0.6469704508781433, -0.2915266752243042, 0.599833607673645, 0.027670271694660187, 0.056723885238170624, 0.06346110999584198, -0.03536049649119377, -0.09661635011434555, -0.7340660095214844, -0.29988446831703186, -0.1882607489824295, 0.03447416424751282, 0.40697088837623596, 0.8010519742965698, 0.10632095485925674, 0.5915207862854004, -0.10752099007368088, -0.2485521286725998, 0.19004349410533905, -0.0953386053442955, -0.1774894893169403, 0.36179932951927185, 0.5695286393165588, -0.028305718675255775, 0.1532454788684845, 0.05407169088721275, -0.07215553522109985, 0.04521680623292923, 0.1292714774608612, -0.95743328332901, -0.5602686405181885, 0.09541740268468857, 0.21911285817623138, -0.37520238757133484, -0.28262656927108765, -0.21382305026054382, -0.7275987863540649, -0.20913217961788177, 0.19044122099876404, -0.5518101453781128, -0.20278964936733246, 0.09362872689962387, -0.18695275485515594, -0.2319604903459549, 0.7406841516494751, -0.43191200494766235, 0.1973646879196167, 0.7845211029052734, 1.018822431564331, -0.15122193098068237, -0.37896981835365295, -0.7575956583023071, 0.09357092529535294, -0.3567016124725342, 1.0716453790664673, -0.7620474696159363, -0.726824164390564, -0.6061570048332214, 0.05770034343004227, 0.29954755306243896, -0.346233993768692, 0.44415685534477234, -0.32529664039611816, 0.13487310707569122, -0.4344877302646637, -0.43660441040992737, -0.0994388535618782, 0.03579099848866463, -0.728471577167511, 1.2526973485946655, 0.10302972793579102, -0.6656734347343445, 0.3525841534137726, -0.9064513444900513, -0.4042980670928955, 0.5385318398475647, -0.09777943789958954, -0.13267451524734497, 0.09909608960151672, 0.16518175601959229, 0.3064848482608795, -0.4190405011177063, 0.3562772870063782, -0.5841320753097534, -0.44015470147132874, 0.3588532507419586, -0.3905661106109619, 0.5578173398971558, 0.3555951416492462, -0.0918443575501442, 0.17552803456783295, -0.6560216546058655, -0.10342270135879517, 0.17385752499103546, -0.03200855106115341, -0.33977797627449036, -0.014601891860365868, 0.05567752942442894, 0.1347302794456482, 0.3103228211402893, -0.965839147567749, 0.3416557013988495, -0.5745037198066711, 0.7120092511177063, 0.538642168045044, -0.3901774287223816, 0.22708366811275482, 0.07021471112966537, 0.4233323633670807, -0.20376725494861603, -0.16092544794082642, -0.062211450189352036, -0.3476247787475586, -0.5799177289009094, -0.36259976029396057, 0.3798939287662506, 0.45780614018440247, -0.740933895111084, 0.16530698537826538, -0.19372497498989105, -0.7757534384727478, -0.44902893900871277, 0.026277925819158554, 0.14267297089099884, 0.5253507494926453, 0.2660689651966095, 0.1756017953157425, -0.528282642364502, -0.6528083086013794, -0.2865215837955475, 0.04494382068514824, -0.17573438584804535, 0.16470079123973846, 0.797836184501648, 0.09244580566883087, 1.016507863998413, -0.5799422264099121, 0.17591673135757446, -0.21445341408252716, 0.11115437746047974, 0.26210618019104004, 0.27720341086387634, 0.311073899269104, -0.8906318545341492, -0.3507220447063446, 0.30920907855033875, -0.675649106502533, -0.47390618920326233, 0.11457286030054092, 0.26399460434913635, 0.048395365476608276, 0.671030580997467, -0.638818085193634, 0.23083366453647614, 0.2932087182998657, -0.38958054780960083, 0.8101242184638977, -0.2744864821434021, 0.09029050916433334, -0.8456524610519409, 0.34119701385498047, -0.0031038771849125624, -0.2612968981266022, -0.6435815095901489, -0.1280876100063324, 0.10827060788869858, -0.2713862955570221, -0.6069313883781433, 0.7678162455558777, -0.24081486463546753, -0.12185823172330856, -0.5255970358848572, 0.19789230823516846, 0.11533786356449127, 0.00033842941047623754, 0.15154998004436493, 1.2144256830215454, 0.38123729825019836, -0.08457232266664505, 0.6833210587501526, 0.11231652647256851, -0.14524328708648682, 0.5307364463806152, -1.1335159540176392, 0.0429103821516037, -0.053418587893247604, 0.3704493045806885, -0.5235984921455383, -0.3768962621688843, -0.057175423949956894, -0.38195446133613586, 0.04513505846261978, 0.11423955857753754, -0.680425763130188, -0.4402674436569214, -0.005365128628909588, 0.35394087433815, 0.3127277195453644, -0.5744460821151733, 0.7034940123558044, -0.02025364711880684, -0.41957253217697144, -0.771670937538147, -0.41569986939430237, 0.08217661827802658, -0.10464926809072495, -0.5649489164352417, 0.15290136635303497, -0.25853922963142395, -0.38416820764541626, 0.025982944294810295, -0.42465171217918396, 0.08578607439994812, 0.0917426273226738, 0.34338584542274475, 0.25783637166023254, -0.09079752117395401, 0.35767629742622375, 0.13392050564289093, -0.15436355769634247, 0.3090161979198456, -0.031067879870533943, 0.34845662117004395, -0.5030380487442017, -0.6175157427787781, 0.4381129741668701, 0.3249768912792206, 0.5535248517990112, -0.3626181185245514, 0.3982805907726288, 0.6006514430046082, -0.3550538420677185, -0.02366252802312374, -0.6509472727775574, -0.24064497649669647, -0.5236301422119141, 0.7140660881996155, -0.5648549795150757, -1.065569281578064, 0.39219674468040466, -0.4327344596385956, 0.24201145768165588, 0.33337071537971497, 0.6167927384376526, -0.06594520062208176, 1.3559504747390747, 0.37848472595214844, 0.23583275079727173, 0.09905730932950974, -0.06182607635855675, 0.1932329386472702, -0.5882627367973328, -0.41867920756340027, -0.5256677269935608, -0.00030067827901802957, -0.02524661459028721, -0.5490201711654663, 0.5618968605995178, 0.14592790603637695, -0.4162982702255249, 0.4607382118701935, -0.6902373433113098, 0.8601760268211365, 0.40072932839393616, -0.19609437882900238, 0.39121830463409424, -0.02693670243024826, -0.3605886995792389, 0.0305020734667778, -0.8449341058731079, -0.40266549587249756, 0.8306542038917542, 0.21865108609199524, 0.7223299741744995, -0.13530796766281128, 0.36885106563568115, 0.08837299048900604, 0.5826298594474792, -0.7312976717948914, 0.7038721442222595, 0.006797194480895996, -0.5780068635940552, -0.17349658906459808, -0.3216279447078705, -0.815046489238739, 0.45961615443229675, -0.03995997831225395, -0.5170743465423584, -0.05779382959008217, 0.10124224424362183, -0.13884693384170532, 0.05902368575334549, -0.7993141412734985, 0.7814518213272095, -0.39720022678375244, -0.49600735306739807, -0.1866980791091919, -0.566517174243927, 0.2751292884349823, -0.21970397233963013, 0.32329827547073364, -0.2964933216571808, 0.019114764407277107, 0.6329472064971924, -0.5697748064994812, 0.715484619140625, 0.038029007613658905, 0.006611959543079138, -0.014904756098985672, 0.2785113453865051, 0.4615333676338196, 0.16913731396198273, -0.06395090371370316, 0.025020113214850426, 0.33851924538612366, -0.4305642247200012, -0.7596178650856018, 0.9998621344566345, -0.6403159499168396, -0.9518104195594788, -0.8403463959693909, -1.0214861631393433, -0.17944233119487762, 0.35525551438331604, 0.02863537147641182, 0.2829362750053406, -0.1104954183101654, 0.3135099709033966, 0.78810054063797, 0.0401187464594841, 0.22941602766513824, 0.5364283323287964, -0.2678077816963196, -0.28000608086586, 0.9154121279716492, -0.10360826551914215, 0.2997378408908844, 0.1119949147105217, 0.376278281211853, -0.27168747782707214, -0.3114062547683716, -0.31259411573410034, 0.3324609100818634, -0.7845737338066101, -0.35283172130584717, -0.6342794895172119, -0.27288347482681274, -0.2849591076374054, -0.3175041079521179, -0.203457772731781, -0.5226031541824341, -0.2042635828256607, 0.03538885340094566, 0.9311991333961487, 0.5079582333564758, -0.1184530258178711, 0.21019364893436432, -0.61698979139328, -0.05943630263209343, 0.0869036316871643, 0.15937288105487823, -0.47153913974761963, -0.3933764398097992, -0.16478274762630463, 0.12737472355365753, -0.1099427118897438, -0.6801820397377014, 0.39674773812294006, 0.10768580436706543, 0.42339465022087097, 0.1470164954662323, -0.2471928745508194, 0.6146853566169739, -0.6234093904495239, 0.6098441481590271, 0.14363567531108856, -0.7670443654060364, 0.6074249744415283, -0.263654887676239, 0.3706648349761963, 0.20298492908477783, 0.5082165598869324, -0.37816980481147766, -0.40777868032455444, -0.6912655234336853, -0.47292909026145935, 0.4255079925060272, 0.1233801543712616, -0.28485724329948425, 0.06675887107849121, 0.19019709527492523, 0.06129451468586922, 0.1624676138162613, -0.4143378436565399, 0.27013590931892395, -0.5830959677696228, -0.12239120900630951, -0.12112338095903397, 0.2179693877696991, -0.31524163484573364, -0.4421161115169525, 0.6711550951004028, -0.3144226372241974, 0.0388985201716423, 0.18283773958683014, -0.2009112536907196, -0.09595900774002075, 0.29101184010505676, 0.7289557456970215, 0.6971532702445984, -0.12956471741199493, 0.3551255762577057, 0.5102745890617371, -0.8363070487976074, 0.01063525304198265, 0.5009297728538513, 0.2565775513648987, -0.06335137784481049, 0.43563732504844666, 0.5021799802780151, 0.1660594791173935, -1.0643125772476196, 0.2514030635356903, 0.22222603857517242, -0.3296024203300476, -0.19634123146533966, 0.27172666788101196, 0.3608979284763336, 0.2782558500766754, 0.35724031925201416, 0.07922423630952835, 0.10902781039476395, -0.11064163595438004, 0.04595860838890076, 0.43441325426101685, -0.22486037015914917, -0.14363804459571838, 0.6095266938209534, 0.09497937560081482, -0.3701292872428894, 0.36618369817733765, -0.16619417071342468, -0.6463819742202759, 0.6772484183311462, 0.7813570499420166, 0.3806970715522766, -0.34600043296813965, 0.06410913169384003, 0.02462543360888958, 0.2561139464378357, -0.12812985479831696, 0.4410184919834137, 0.1980888396501541, -0.4918556809425354, -1.0115703344345093, -0.5263126492500305, -0.650266706943512, 0.0695667564868927, -0.12451066821813583, 0.2652810513973236, -0.40523067116737366, -0.02100016549229622, 0.3889111578464508, 0.17158876359462738, -0.5001111030578613, -0.06443623453378677, -0.4573209583759308, 1.198011040687561, -0.7688044309616089, 0.8112257122993469, 0.9708400368690491, -0.2073114812374115, -0.7562214136123657, -0.8898112177848816, 0.16707143187522888, -0.7511522769927979, 0.83797287940979, -0.06121940538287163, -0.20553061366081238, 0.08304452151060104, -0.8866351842880249, -0.9037224054336548, 1.1199723482131958, 0.44529208540916443, -0.6299243569374084, 0.2110794633626938, 0.07237313687801361, 0.5841770172119141, -0.25843673944473267, 0.42141833901405334, 0.6245977282524109, 0.6205432415008545, 0.6878812909126282, -1.0824695825576782, 0.05254986882209778, -0.5290023684501648, -0.3545423448085785, 0.23252300918102264, -0.3544244170188904, 0.6405233144760132, -0.4093649089336395, 0.15700897574424744, -0.1001141294836998, 0.67236328125, 0.8889619708061218, 0.32661569118499756, 0.42524200677871704, 0.3156746029853821, 0.6422141790390015, -0.23698614537715912, 0.7142149806022644, 0.02389349974691868, 0.013129295781254768, 0.9560105800628662, -0.5699336528778076, 0.5288634300231934, 0.5491644740104675, -0.18175378441810608, 0.33237069845199585, 0.5220678448677063, -0.4064297378063202, 0.09426764398813248, 0.30858156085014343, -0.4917308986186981, -0.5731082558631897, -0.48430827260017395, -0.4158540964126587, 0.3452107906341553, 0.7165455222129822, -0.008281524293124676, -0.32714495062828064, 0.2961026132106781, 0.23304270207881927, 0.031144071370363235, -0.2619856595993042, 0.2522144913673401, 0.22152580320835114, -0.328498899936676, 0.3686636984348297, -0.06096789985895157, 0.3334568440914154, -0.6524597406387329, -0.2989674508571625, 0.049255624413490295, 0.1669052243232727, -0.329973429441452, -0.8129034638404846, 0.02058057300746441, 0.059513505548238754, -0.035848572850227356, -0.004256153013557196, 0.9895378947257996, -0.45320752263069153, -0.8335126042366028, -0.39852818846702576, 0.4965296983718872, 0.4294700622558594, -0.04720224812626839, -0.6052626967430115, 0.23160985112190247, -0.26485955715179443, -0.1876361221075058, 0.21333996951580048, 0.44608402252197266, -0.34714680910110474, 0.9762136936187744, 1.0153409242630005, 0.26729530096054077, -0.17181739211082458, 0.1868061125278473, 1.0233948230743408, -0.4565833508968353, -0.20680782198905945, -0.5610419511795044, 0.18549726903438568, -0.4107506573200226, -0.17418324947357178, 0.8798701167106628, 0.4750564992427826, 0.6325334310531616, -0.07102663069963455, 0.8197768926620483, -0.12666338682174683, 0.5339126586914062, -0.1307811737060547, 0.49239858984947205, -0.34232714772224426, 0.3288826048374176, -0.17087383568286896, -0.8964353203773499, -0.4916330873966217, 0.8321118354797363, -0.4376866817474365, 0.15095922350883484, 0.7947292923927307, 0.7649757862091064, -0.26609039306640625, 0.27191588282585144, 0.17350980639457703, 0.25594568252563477, 0.5810767412185669, 0.5105254650115967, 0.8520579934120178, 0.049101125448942184, 0.5055156350135803, -0.21305949985980988, -0.2719191014766693, -0.11609049886465073, -1.1544924974441528, -1.0456938743591309, -0.2470962107181549, -0.2715223729610443, -0.19902870059013367, -0.06008128821849823, 1.126328706741333, 0.5550506711006165, -0.5999557971954346, -0.11937311291694641, -0.1960245966911316, 0.010807419195771217, -0.20395740866661072, -0.23987361788749695, 0.3702843487262726, -0.18814006447792053, -0.6009758710861206, 0.7840942740440369, 0.3583320677280426, -0.10719843953847885, -0.5784457325935364, -0.023110566660761833, -0.03956850245594978, 0.029494913294911385, 0.7485109567642212, 0.3657144010066986, -0.7769176363945007, -0.42026957869529724, 0.503476619720459, 0.16876760125160217, -0.23739686608314514, 0.9901465177536011, -0.9596850872039795, 0.4157584011554718, 0.38351041078567505, 0.5822791457176208, 0.5545543432235718, -0.3062417209148407, 0.5146281719207764, -0.7576693296432495, 0.14350023865699768, 0.5054934024810791, 0.4355092942714691, 0.3524147868156433, -0.23297710716724396, 0.7091556787490845, 0.31393173336982727, -0.6071114540100098, -1.1541857719421387, 0.08889002352952957, -1.0230916738510132, -0.3414216637611389, 1.178195595741272, 0.011159677058458328, -0.19823655486106873, -0.20909598469734192, -0.4204273223876953, 0.07703392207622528, -0.46521058678627014, 0.46950244903564453, 0.7759080529212952, -0.21590815484523773, -0.24188488721847534, -0.46553823351860046, 0.37193766236305237, 0.5270234942436218, -0.893896758556366, 0.027567755430936813, 0.5286827683448792, 0.4686466455459595, 0.4144582748413086, 0.19135607779026031, -0.04897331818938255, 0.6069828271865845, 0.025246761739253998, 0.13521745800971985, -0.7478427886962891, -0.4326925277709961, 0.0006512239924632013, 0.004238673485815525, 0.09074899554252625, 0.6069232821464539 ]
http://arxiv.org/abs/2402.11447v1
http://arxiv.org/pdf/2402.11447v1
In-Context Example Ordering Guided by Label Distributions
2024-02-18T04:08:10
2024-02-18T04:08:10
Zhichao Xu, Daniel Cohen, Bei Wang, Vivek Srikumar
cs.CL
cs.CL
By allowing models to predict without task-specific training, in-context learning (ICL) with pretrained LLMs has enormous potential in NLP. However, a number of problems persist in ICL. In particular, its performance is sensitive to the choice and order of in-context examples. Given the same set of in-context examples with different orderings, model performance may vary between near random to near state-of-the-art. In this work, we formulate in-context example ordering as an optimization problem. We examine three problem settings that differ in the assumptions they make about what is known about the task. Inspired by the idea of learning from label proportions, we propose two principles for in-context example ordering guided by model's probability predictions. We apply our proposed principles to thirteen text classification datasets and nine different autoregressive LLMs with 700M to 13B parameters. We demonstrate that our approach outperforms the baselines by improving the classification accuracy, reducing model miscalibration, and also by selecting better in-context examples.
[ -0.27905046939849854, -0.33915621042251587, 0.6379777789115906, 0.3581938147544861, -0.38853076100349426, -0.37901899218559265, 0.02122078649699688, -0.47396695613861084, -0.27425891160964966, 0.5504702925682068, -0.40126529335975647, -0.533913791179657, -0.6217644214630127, 0.2212439626455307, -0.41808420419692993, 1.247109293937683, 0.10389479249715805, 0.23473583161830902, -0.5521901249885559, -0.2612227201461792, -0.3085768520832062, -0.7963929176330566, -0.6761535406112671, -0.36660653352737427, 0.39140066504478455, 0.4379129707813263, 0.4224625527858734, 0.8599622249603271, 0.4158303439617157, 0.2981618344783783, -0.07809681445360184, 0.18713746964931488, -0.2842232584953308, 0.11640690267086029, 0.05826283618807793, -0.5929049849510193, -0.08548225462436676, 0.28463318943977356, 0.35583218932151794, 0.7002975344657898, -0.28845053911209106, 0.03518189117312431, 0.1128951907157898, 0.37626227736473083, -0.6724675893783569, -0.001585611724294722, -0.5799347758293152, 0.16778965294361115, 0.2515304684638977, -0.3323865532875061, -0.8385502696037292, -0.19841159880161285, 0.5503352284431458, -0.4781584143638611, 0.058472562581300735, 0.49964001774787903, 0.449616014957428, 0.3308123052120209, -0.3943576514720917, -0.5036532878875732, -0.4646793305873871, 0.9417435526847839, -0.8421394228935242, 0.287298321723938, 0.4054323732852936, 0.20253044366836548, -0.34654444456100464, -0.8708846569061279, -0.21730783581733704, 0.17175783216953278, -0.2950715124607086, 0.07917185127735138, 0.001805915031582117, 0.09718168526887894, 0.316119909286499, -0.042266495525836945, -0.5916422605514526, 0.4918980300426483, 0.02243999019265175, 0.25533387064933777, 0.3931829035282135, -0.012113112956285477, 0.07435483485460281, 0.010589489713311195, -0.4938242733478546, -0.35229161381721497, -0.7225378751754761, 0.15325696766376495, 0.12620671093463898, 0.2732340097427368, -0.10771621018648148, 0.47505274415016174, -0.1383213847875595, 1.0851937532424927, 0.19835320115089417, -0.37872329354286194, 0.24158206582069397, -0.05516340956091881, -0.444707989692688, 0.3544689416885376, 0.6251955628395081, 0.37605494260787964, -0.03903135657310486, -0.15970568358898163, -0.31513485312461853, -0.2778971791267395, 0.24982653558254242, -0.8192464709281921, -0.13670246303081512, 0.175361767411232, -0.28463035821914673, -0.3047329783439636, -0.04617684334516525, -0.4515756666660309, -0.1129421666264534, -0.44493168592453003, 0.5841108560562134, -0.2737497091293335, 0.4172860085964203, 0.16897113621234894, 0.1853860467672348, -0.027217227965593338, 0.29387685656547546, -1.007550835609436, 0.25045472383499146, 0.6473861932754517, 0.5088746547698975, -0.3255407214164734, -0.08475549519062042, -0.41294875741004944, 0.27112773060798645, -0.29512906074523926, 0.6456831693649292, -0.3417821526527405, -0.21810483932495117, -0.07712427526712418, -0.3595721423625946, 0.011364270001649857, -0.45667827129364014, 0.6337817311286926, -0.47726625204086304, 0.5664232969284058, -0.017384978011250496, -0.8910224437713623, -0.2658807039260864, -0.09675488620996475, -0.17531134188175201, 0.8816666007041931, -0.23783688247203827, -0.8332358002662659, 0.6573291420936584, -0.36923640966415405, -0.35388869047164917, 0.004283626563847065, -0.35998862981796265, -0.39487481117248535, 0.20985181629657745, 0.29028019309043884, 0.941593587398529, -0.08819051831960678, 0.24621236324310303, -0.2294449806213379, -0.31377118825912476, 0.21742235124111176, -0.37261873483657837, 0.8796477913856506, 0.29243794083595276, -0.34768053889274597, -0.06722893565893173, -0.5732887983322144, 0.13589492440223694, -0.19580310583114624, -0.2646603286266327, -0.8288547396659851, 0.3887903392314911, -0.20605964958667755, 0.31655752658843994, -0.0597120076417923, -0.24142193794250488, 0.011682434938848019, -0.7873654961585999, 0.25091516971588135, 0.6650562882423401, 0.27566203474998474, 0.906731903553009, -0.2432633936405182, 0.2825024127960205, -0.06374015659093857, 0.320926696062088, 0.1957017034292221, -0.520745038986206, -0.7217063307762146, -0.16670989990234375, 0.1209336668252945, 0.5203989148139954, -0.4939489960670471, 0.398190975189209, -0.07861924916505814, -0.3110334277153015, -0.11859800666570663, 0.026358895003795624, 0.5749726891517639, 0.8651469349861145, 0.42732030153274536, -0.08658244460821152, -0.2507285475730896, -0.9229592680931091, -0.13372986018657684, -0.2667716145515442, -0.10713626444339752, 0.4229060411453247, 0.08513868600130081, -0.06000297889113426, 0.9112118482589722, -0.6006830334663391, 0.0015228638658300042, -0.10468272119760513, 0.21887405216693878, 0.4868100583553314, 0.3860592544078827, 0.646062970161438, -1.1842888593673706, -0.5134574174880981, -0.126640185713768, -0.6595807671546936, -0.2835312485694885, 0.03903595730662346, -0.33191803097724915, 0.24467918276786804, 0.8576269149780273, -0.20481249690055847, 0.28045520186424255, 0.36857473850250244, 0.043547019362449646, 0.19830702245235443, -0.43495702743530273, -0.4400164484977722, -1.210495948791504, -0.7312361598014832, 0.17963430285453796, -0.17745092511177063, -0.6469289064407349, -0.1476055383682251, 0.14084206521511078, 0.13154877722263336, -0.4497435688972473, 0.5022655129432678, -0.41285666823387146, -0.09622371941804886, -0.10672546923160553, -0.037988778203725815, 0.011308005079627037, 0.36613214015960693, 0.1945478618144989, 0.47664257884025574, 0.38944199681282043, -0.8732799291610718, -0.305842787027359, 0.16038164496421814, -0.8126641511917114, 0.43027254939079285, -0.44398507475852966, -0.1112452819943428, -0.3221355974674225, 0.24855971336364746, -1.0904515981674194, 0.04291091486811638, 0.06437429785728455, -0.187967449426651, 0.59471595287323, -0.07037046551704407, -0.6442173719406128, -0.09984773397445679, 0.1266057938337326, 0.4194176495075226, 0.5019956231117249, -0.7548047304153442, 0.3180091977119446, 0.26146939396858215, 0.0233047716319561, -0.8552829027175903, -0.3591688573360443, -0.3611888885498047, -0.6419631242752075, -0.010179257951676846, 0.7312262654304504, -0.4925994575023651, -0.3000926077365875, -0.36808937788009644, -0.177912175655365, 0.0024614515714347363, 0.09369094669818878, 0.17222119867801666, -0.02072831243276596, -0.020223179832100868, 0.2537602186203003, 0.20701102912425995, 0.06445471942424774, -0.03689458966255188, -0.4526820778846741, 0.1555611938238144, 0.13271135091781616, -0.053067028522491455, -0.10422581434249878, 0.23842041194438934, 0.20574721693992615, 0.14067140221595764, 0.5163057446479797, 0.21581099927425385, -0.19076886773109436, -0.6834462285041809, -0.468254953622818, -0.09440896660089493, -0.5582787394523621, 0.3289443850517273, -0.22777879238128662, -0.47702503204345703, 0.001344463904388249, 0.13954003155231476, 0.36190590262413025, -0.05493941158056259, 0.5087205767631531, -0.7298346757888794, 1.008102297782898, 0.8780627846717834, -0.11167463660240173, 0.7128633856773376, -0.23271968960762024, 0.1345963180065155, -0.5501853823661804, -0.02486712485551834, -0.3330751061439514, -0.20270749926567078, -0.6312943696975708, -0.3276800513267517, 0.5363259315490723, 0.22951260209083557, -0.35353884100914, 0.3856286108493805, -0.7099147439002991, 0.799687385559082, 0.5973318219184875, 0.36960160732269287, 0.1873164027929306, 0.3831859529018402, -0.42062443494796753, -0.024587741121649742, -1.0894410610198975, -0.3579282760620117, 0.7616345286369324, -0.02679213508963585, 0.6419758796691895, 0.06410643458366394, 0.9450289607048035, 0.08977525681257248, 0.7191281318664551, -0.660092294216156, 0.458076149225235, -0.42438337206840515, -0.5007144212722778, -0.3212943375110626, -0.18668457865715027, -1.0201512575149536, 0.5471965074539185, -0.09677061438560486, -0.9005478024482727, 0.28985103964805603, 0.0991159975528717, -0.22596439719200134, -0.130166158080101, -0.8903358578681946, 0.6311983466148376, -0.3155648112297058, 0.15105539560317993, 0.23430202901363373, -0.8806488513946533, 0.18839260935783386, -0.01611528918147087, 0.44510024785995483, 0.06846777349710464, -0.16854524612426758, 0.6599597334861755, -0.3997962772846222, 0.814570426940918, 0.04217947646975517, 0.01772582158446312, 0.3172350823879242, 0.029789907857775688, 0.457916796207428, -0.08820121735334396, -0.2273675948381424, -0.3425058126449585, -0.14071236550807953, -0.09640619903802872, -0.7941421866416931, 0.48758578300476074, -0.8549846410751343, -0.5248141288757324, -0.30818891525268555, -0.5485687851905823, -0.42546024918556213, -0.10729342699050903, 0.9642912149429321, 0.7122179269790649, 0.40954849123954773, 0.3064478039741516, 0.6215659976005554, -0.17388631403446198, 0.94004887342453, 0.3813207447528839, -0.00750353466719389, -0.40658363699913025, 0.7691085338592529, 0.3070177733898163, 0.44074106216430664, 0.9658315777778625, 0.3040933907032013, -0.516790509223938, -0.9255117177963257, -0.17486073076725006, 0.16930608451366425, -1.156630277633667, -0.3307173252105713, -0.7463850378990173, 0.11659889668226242, -0.1960476040840149, -0.5193768739700317, 0.06570356339216232, -0.16358019411563873, -0.6441087126731873, -0.10267023742198944, 0.06295859813690186, 0.5860258936882019, 0.3846331238746643, 0.6048712730407715, -0.34737974405288696, 0.06321169435977936, 0.18580809235572815, 0.1132655218243599, 0.05595563352108002, -0.6710730195045471, -0.18004226684570312, -0.2506110668182373, -0.2699868977069855, -0.7890467643737793, 0.6670626997947693, 0.19695013761520386, 0.8522816896438599, 0.4637436866760254, 0.37706878781318665, 0.7448351383209229, -0.7296220660209656, 0.2412135899066925, 0.2086144983768463, -0.6341606378555298, 0.5154003500938416, -0.22897738218307495, 0.10091707110404968, 0.5894954800605774, 0.7280578017234802, -0.1993059515953064, -0.46820878982543945, -0.7204957008361816, -1.0633543729782104, 0.6932722330093384, 0.3175564408302307, -0.045908112078905106, -0.1287688910961151, 0.60191410779953, 0.1905928999185562, 0.25316935777664185, -1.1541459560394287, -0.46452006697654724, 0.019433097913861275, -0.3853878974914551, -0.5312510132789612, -0.24184942245483398, 0.07221844792366028, -0.3833458721637726, 0.6691097617149353, -0.17360904812812805, 0.15306346118450165, 0.2157592922449112, -0.3011246919631958, 0.33277183771133423, -0.08732066303491592, 0.6986750364303589, 0.7233660221099854, -0.3695153594017029, 0.07473193854093552, 0.14815092086791992, -0.13214056193828583, 0.3847399652004242, -0.10511529445648193, -0.28191113471984863, -0.04142145812511444, 0.2397766262292862, 0.6122243404388428, 0.3769817650318146, -0.4368855953216553, 0.48659801483154297, 0.05326840281486511, -0.03429744765162468, -0.30196934938430786, 0.02311614528298378, -0.03981746360659599, 0.3339560329914093, 0.5522559881210327, -0.2334902137517929, 0.40487274527549744, -0.1324784755706787, 0.32067370414733887, 0.3989827334880829, -0.27219125628471375, 0.17874757945537567, 0.38641810417175293, -0.2599542737007141, -0.4566033184528351, 0.44041794538497925, -0.19892039895057678, -0.2820723354816437, 0.772866427898407, 0.7088255286216736, 0.7073893547058105, 0.03455890342593193, 0.20062999427318573, 0.1936800330877304, 0.1283755600452423, -0.3763827979564667, -0.17866967618465424, -0.2048826962709427, -0.8667885065078735, -0.2896784842014313, -0.8332781195640564, -0.51519775390625, -0.10144095122814178, -0.745879590511322, 0.3457821309566498, -0.3339409828186035, -0.18543556332588196, 0.20740295946598053, -0.13871616125106812, -0.4230910837650299, 0.5671733617782593, 0.0737384781241417, 0.5376892685890198, -0.6888017654418945, 0.8171873688697815, 0.5034822225570679, 0.009002366103231907, -0.650001049041748, 0.04917570576071739, -0.23301471769809723, -0.546446681022644, 0.8951600193977356, 0.26524975895881653, 0.13330703973770142, 0.18214356899261475, -0.7651222944259644, -1.067082166671753, 1.0575989484786987, 0.29208698868751526, -0.23437154293060303, -0.08258621394634247, -0.3008888363838196, 0.519869863986969, -0.8299726843833923, 0.2827080190181732, -0.12273018807172775, -0.061627719551324844, -0.027609890326857567, -0.5395146608352661, -0.2507084310054779, 0.23575685918331146, 0.317792683839798, 0.022884879261255264, -0.4464707672595978, 0.5741475820541382, -0.15748704969882965, -0.0669415146112442, -0.03053359128534794, 0.6955586075782776, 0.4246988594532013, 0.34753960371017456, 0.6483883261680603, 0.34065720438957214, 0.4632164537906647, 0.08854267746210098, 1.281028151512146, 0.07539457082748413, 0.24950647354125977, 1.3929028511047363, -0.014716628938913345, 0.8397815823554993, 0.5128563642501831, -0.19216424226760864, 0.46025559306144714, 1.2457071542739868, 0.14069764316082, 0.86885005235672, 0.22187308967113495, -0.02532774768769741, -0.06811925768852234, -0.055785659700632095, -0.09929542988538742, 0.4361104667186737, 0.5027145743370056, -0.6037033200263977, -0.28769585490226746, 0.11245429515838623, -0.2142942249774933, -0.11296345293521881, -0.1893196403980255, 0.9259179830551147, 0.22900107502937317, -0.5450359582901001, 0.6551659107208252, -0.1383967250585556, 0.7534796595573425, -0.32380208373069763, 0.0003521063772495836, -0.24546119570732117, 0.02889322116971016, 0.02654404379427433, -0.41219374537467957, -0.09020056575536728, -0.4499130845069885, -0.465763121843338, -0.6783139705657959, 0.22416631877422333, -0.27864697575569153, -0.6592913866043091, 0.3564414381980896, 0.27170759439468384, 0.3554070293903351, 0.264586478471756, -0.7170500159263611, -0.4484395682811737, -0.05317707359790802, -0.4619021713733673, 0.6943290829658508, 0.49013784527778625, -0.1803782731294632, 0.7670419216156006, 0.3424254357814789, -0.2322285771369934, 0.16700120270252228, -0.22527892887592316, 0.31977716088294983, -0.18762196600437164, -0.6395794749259949, -0.9251859188079834, 0.18058861792087555, -0.06694652885198593, -0.2903655767440796, 0.6441053152084351, 0.40422526001930237, 1.059491753578186, -0.029830146580934525, 0.30247852206230164, 0.28133687376976013, 0.29375702142715454, -0.6100441217422485, 0.4509691894054413, -0.7375777959823608, 0.2573609948158264, -0.5315211415290833, -1.0276507139205933, -0.551581621170044, 0.7769848704338074, -0.35297253727912903, -0.004096252378076315, 0.6592983603477478, 0.6108503341674805, -0.05814306065440178, -0.10047980397939682, 0.49903830885887146, -0.030009184032678604, 0.10789632797241211, 0.39598527550697327, 0.4788344204425812, -0.3316121995449066, 0.5009796023368835, -0.747071385383606, -0.1087580993771553, -0.24588239192962646, -1.15106201171875, -0.7613061666488647, -0.7338560223579407, -0.3095047175884247, -0.18069912493228912, -0.10233590751886368, 1.1111016273498535, 0.918901801109314, -0.5360355377197266, -0.5122278332710266, -0.148478701710701, 0.35754796862602234, -0.21646741032600403, -0.18153399229049683, 0.34967339038848877, -0.5274956226348877, -0.8999066948890686, 0.38087841868400574, 0.21336707472801208, 0.5200796723365784, 0.4499189853668213, 0.17429883778095245, -0.28517836332321167, -0.05531006678938866, 0.858544647693634, 0.07957155257463455, -0.8574084639549255, -0.129185289144516, -0.22736887633800507, -0.2334446758031845, 0.0829380452632904, 0.5908910632133484, -0.6236271262168884, 0.31941014528274536, 0.4786016047000885, 0.6129189729690552, 0.5964428782463074, 0.1571281999349594, 0.5796189904212952, -0.9813981652259827, 0.17908746004104614, 0.39717933535575867, 0.33048591017723083, 0.08008518069982529, -0.4540787637233734, 0.6088938117027283, -0.09927868843078613, -0.5848709940910339, -0.937309205532074, 0.2802966237068176, -0.9366002082824707, -0.5503005385398865, 1.1536463499069214, -0.15533430874347687, -0.013726183213293552, -0.026290690526366234, 0.10271629691123962, 0.07072111964225769, -0.2751287817955017, 0.6387906074523926, 0.7652437090873718, -0.5993800759315491, -0.09715060889720917, -0.6650736331939697, 0.6929078102111816, 0.7093850374221802, -0.5287908911705017, -0.18443085253238678, 0.369219034910202, 0.13672025501728058, 0.05332370847463608, 0.5448869466781616, 0.16246601939201355, -0.13626913726329803, -0.5628477931022644, -0.19492724537849426, 0.4261218011379242, -0.4743015468120575, -0.2567020654678345, 0.24549762904644012, -0.08534637838602066, -0.03948919102549553 ]
http://arxiv.org/abs/2402.11443v1
http://arxiv.org/pdf/2402.11443v1
Benchmark Self-Evolving: A Multi-Agent Framework for Dynamic LLM Evaluation
2024-02-18T03:40:06
2024-02-18T03:40:06
Siyuan Wang, Zhuohan Long, Zhihao Fan, Zhongyu Wei, Xuanjing Huang
cs.CL
cs.CL
This paper presents a benchmark self-evolving framework to dynamically evaluate rapidly advancing Large Language Models (LLMs), aiming for a more accurate assessment of their capabilities and limitations. We utilize a multi-agent system to manipulate the context or question of original instances, reframing new evolving instances with high confidence that dynamically extend existing benchmarks. Towards a more scalable, robust and fine-grained evaluation, we implement six reframing operations to construct evolving instances testing LLMs against diverse queries, data noise and probing their problem-solving sub-abilities. With this framework, we extend benchmark datasets of four tasks. Experimental results show a general performance decline in most LLMs against their original results. This decline under our scalable and robust evaluations, alongside our fine-grained evaluation, more accurately reflect models' capabilities. Besides, our framework widens performance discrepancies both between different models and within the same model across various tasks, facilitating more informed model selection for specific tasks (Code and data are available at https://github.com/NanshineLoong/Self-Evolving-Benchmark).
[ -0.2231922298669815, -0.9278096556663513, 0.6131433844566345, 0.23089303076267242, 0.0185487512499094, 0.4559929072856903, -0.4552820920944214, -0.47857263684272766, -0.09575334936380386, 0.36489173769950867, -0.652532696723938, -0.28593024611473083, -0.4982420802116394, 0.16531933844089508, -0.5612446665763855, 0.5690038204193115, -0.015539406798779964, -0.055353179574012756, -0.37676647305488586, -0.4034324288368225, -0.4930892586708069, -0.18667614459991455, -0.44805940985679626, -0.4563887417316437, 0.15772897005081177, 0.42817777395248413, 0.5376702547073364, 0.8166966438293457, 0.4465366005897522, 0.465410977602005, 0.08494873344898224, 0.2622793912887573, -0.5392518639564514, 0.6007874608039856, -0.36706113815307617, -0.29068613052368164, -0.5187796354293823, -0.11790622770786285, 0.7730200290679932, 0.387423574924469, -0.2837790548801422, 0.4945005178451538, -0.027752846479415894, 0.2725561857223511, -0.6187810301780701, 0.27924779057502747, -0.8858835697174072, -0.15782535076141357, -0.10225893557071686, 0.05606295168399811, -0.18158644437789917, -0.10309344530105591, 0.08023254573345184, -0.35474640130996704, 0.07071872055530548, -0.09726370871067047, 0.5160481929779053, 0.4560052454471588, -0.21491967141628265, -0.20049729943275452, -0.5658342838287354, 0.8013892769813538, -0.6640104055404663, 0.4088127315044403, -0.17656750977039337, 0.7296783924102783, -0.2698248326778412, -1.0804375410079956, -0.35373246669769287, -0.6254529356956482, 0.43124625086784363, 0.022695103660225868, -0.20768825709819794, -0.34914129972457886, 0.008828291669487953, 0.3537689745426178, -0.2852429747581482, 0.3984321057796478, 0.0007673115469515324, 0.06500391662120819, 0.6710535287857056, 0.3981587290763855, 0.15779073536396027, 0.15128354728221893, -0.44334277510643005, -0.18912747502326965, -0.45146071910858154, -0.15759477019309998, 0.2566157579421997, 0.46680524945259094, -0.07968978583812714, 0.23960989713668823, -0.35396647453308105, 0.33644989132881165, 0.16822077333927155, -0.08828295767307281, 0.5469380021095276, -0.45610588788986206, -0.1501009166240692, -0.32379618287086487, 0.7772518992424011, 0.18485841155052185, 0.16928631067276, -0.21080511808395386, -0.4529969394207001, -0.14820513129234314, 0.4431438744068146, -0.8020386695861816, -0.05341797694563866, 0.1061675176024437, -0.42650601267814636, -0.4509367346763611, -0.3296118676662445, -0.9856191873550415, -0.5300434827804565, -0.034579094499349594, 0.37238049507141113, -0.2641529142856598, -0.3880208134651184, 0.15991033613681793, 0.2026270627975464, 0.10589569061994553, 0.33941033482551575, -0.6907106041908264, 0.3989439308643341, 0.5723042488098145, 0.5362011790275574, -0.43314892053604126, -0.6479759812355042, -0.5053839087486267, 0.0062795947305858135, -0.2251586765050888, 0.9478010535240173, -0.6108652949333191, -0.2627306878566742, -0.060001131147146225, 0.14936289191246033, 0.022530056536197662, -0.8090803623199463, 0.5060605406761169, -0.4574176073074341, -0.11248304694890976, -0.056969497352838516, -0.43503373861312866, 0.017343832179903984, 0.29220616817474365, -0.6158533692359924, 1.337488055229187, 0.30343446135520935, -0.25249266624450684, 0.2671806216239929, -0.7438710927963257, -0.19321654736995697, 0.29606884717941284, -0.3285778760910034, -0.46971824765205383, 0.25456053018569946, 0.219321608543396, 0.3915148079395294, -0.6656802892684937, 0.2679711580276489, -0.7454245686531067, -0.1713513284921646, 0.34901759028434753, -0.463296502828598, 0.40605634450912476, 0.29336613416671753, -0.4930163621902466, 0.31927746534347534, -0.9576584696769714, 0.31170621514320374, 0.29516860842704773, -0.2780531644821167, 0.022411460056900978, 0.215945303440094, -0.12107665091753006, 0.19322682917118073, 0.6591384410858154, -0.33930104970932007, 0.4104554057121277, -0.02083030343055725, 0.4393548369407654, 0.7592892646789551, -0.0629071295261383, 0.12273331731557846, -0.40338343381881714, 0.643872082233429, -0.08603857457637787, 0.262358695268631, -0.1754988729953766, -0.14070042967796326, -0.7715075016021729, -0.17708858847618103, 0.134032741189003, 0.3006017208099365, -0.5658183097839355, 0.2803918123245239, -0.41113054752349854, -0.6443678140640259, -0.5279310345649719, 0.36643555760383606, 0.32550880312919617, 0.16535289585590363, 0.5433035492897034, -0.2950221300125122, -0.29968148469924927, -1.0111770629882812, -0.25401192903518677, -0.31385278701782227, 0.17926202714443207, 0.26332199573516846, 0.46107831597328186, -0.620029628276825, 0.6937019228935242, -0.19880026578903198, 0.11944963783025742, -0.24086858332157135, 0.21938221156597137, 0.001212049857713282, 0.3474504351615906, 0.6164329648017883, -0.28485405445098877, -0.289316326379776, 0.05000494420528412, -0.7062849402427673, -0.6160331964492798, -0.1994251310825348, 0.16714394092559814, -0.01879723183810711, 0.5165842771530151, -0.2874593436717987, -0.0038630811031907797, 0.6597751379013062, -0.17642639577388763, 0.81707763671875, -0.2827613055706024, 0.08452863991260529, -0.953478217124939, -0.13824240863323212, -0.16210874915122986, -0.3164130449295044, -0.4350146949291229, 0.4898812770843506, 0.19181998074054718, 0.21990874409675598, -0.1661001443862915, 0.7359134554862976, -0.7899240851402283, -0.3318771421909332, -0.5340004563331604, 0.22500616312026978, -0.14006485044956207, 0.22149640321731567, -0.3912962079048157, 0.9439037442207336, 0.7162928581237793, -0.5518829822540283, 0.5983232855796814, -0.14823973178863525, -0.5997403860092163, 0.39944905042648315, -0.4304514229297638, 0.2738145887851715, 0.14576642215251923, -0.2556855380535126, -0.7694183588027954, 0.13254788517951965, -0.10895658284425735, -0.039585258811712265, 0.23636788129806519, -0.027233367785811424, -0.6678866147994995, -0.33806467056274414, -0.20357288420200348, 0.466742604970932, 0.2539588510990143, -0.5329199433326721, 0.6515201926231384, 0.26806071400642395, -0.13640576601028442, -0.45793625712394714, -0.534112811088562, 0.1177889034152031, -0.2565169334411621, -0.5198200941085815, 0.31620046496391296, -0.3093525767326355, -0.3156387209892273, -0.07114256173372269, -0.2750358283519745, -0.034745194017887115, 0.3370085656642914, 0.029145430773496628, -0.23121394217014313, -0.3187945783138275, 0.24672912061214447, 0.028039103373885155, 0.06020589917898178, 0.11177365481853485, -0.09629900008440018, 0.6733231544494629, -0.4772050976753235, -0.47793182730674744, -0.21290706098079681, -0.06994489580392838, 0.8983988761901855, -0.39070990681648254, 0.4240168631076813, 0.5717002153396606, -0.1289874017238617, -0.5985174179077148, -0.8155667781829834, -0.17204248905181885, -0.5346141457557678, 0.6649668216705322, -0.6935720443725586, -0.8507664203643799, 0.8011431097984314, -0.5053406953811646, -0.01848403736948967, 0.423957884311676, 0.768284261226654, 0.2985335886478424, 0.6661243438720703, 0.6096628904342651, 0.075144924223423, 0.5658838152885437, -0.09631895273923874, -0.21672698855400085, -0.8451480269432068, -0.12256792932748795, -0.3467485308647156, -0.08744709938764572, -0.7778949737548828, -0.6876006722450256, 0.10823488235473633, 0.10530904680490494, -0.15196505188941956, 0.4056590795516968, -0.3698621392250061, 0.34405356645584106, -0.012278169393539429, -0.1573864370584488, 0.3009738028049469, -0.21854041516780853, -0.25693050026893616, 0.1801602989435196, -0.5343114137649536, -0.594352126121521, 1.2136656045913696, 0.5736960768699646, 0.8552790284156799, 0.29133689403533936, 0.4802199602127075, 0.5401923656463623, 0.5401095151901245, -0.4401376247406006, 0.6957572102546692, 0.020474154502153397, -0.48641079664230347, -0.39761075377464294, -0.4497219920158386, -1.0701608657836914, 0.6182774305343628, -0.24667391180992126, -0.6775637865066528, 0.16977021098136902, -0.2473306953907013, -0.31786924600601196, 0.14542457461357117, -0.5125604271888733, 0.8685444593429565, -0.6435821652412415, -0.5485429167747498, -0.3814369738101959, -0.1929522305727005, 0.20698809623718262, -0.5299063920974731, 0.18573786318302155, -0.5321927666664124, -0.43236440420150757, 0.3800136148929596, -0.19594033062458038, 0.5872023105621338, -0.014789290726184845, -0.2495908886194229, 0.305014431476593, 0.12046103179454803, 0.43909722566604614, 0.10084859281778336, -0.6056204438209534, 0.0726238489151001, 0.12027906626462936, -0.2777857780456543, -0.7905606627464294, 0.741887092590332, -0.7105997204780579, -0.7040191292762756, -0.29114222526550293, -0.4992629885673523, -0.27296262979507446, 0.3119337558746338, -0.46330222487449646, 0.40786340832710266, -0.31010428071022034, 0.303723007440567, 0.10338608920574188, -0.09894858300685883, 0.42040836811065674, 1.0569911003112793, -0.40781164169311523, -0.2991970181465149, 0.5554246306419373, 0.09396672993898392, 0.25538477301597595, 0.02663494274020195, 0.3539574146270752, -0.4382663369178772, -0.9850170612335205, -0.3784133195877075, 0.08044014126062393, -0.7232356071472168, -0.16113141179084778, -0.3521621525287628, 0.03527745604515076, -0.48289206624031067, 0.2398039698600769, -0.7045769095420837, -0.04555612429976463, -0.06547689437866211, 0.0694466233253479, 0.1360202431678772, 0.8662669062614441, 0.036716341972351074, 0.2979206144809723, -0.5344579219818115, 0.018113188445568085, 0.3741390109062195, 0.4855789840221405, 0.03413695842027664, -0.7492111921310425, -0.3100678026676178, -0.15884582698345184, -0.3671211004257202, -0.8257575035095215, 0.31003960967063904, 0.1466868668794632, 0.9949174523353577, 0.2720302641391754, 0.07520914822816849, 0.781658947467804, -0.5615451335906982, 0.49312886595726013, -0.1953086256980896, -0.9323225617408752, 0.19621695578098297, -0.3852526843547821, 0.5453221797943115, 0.8307005167007446, -0.12074122577905655, -0.1745544672012329, -0.2902996838092804, -0.5029756426811218, -0.6120273470878601, 0.4774617850780487, 0.08239659667015076, 0.1568925827741623, 0.0730934739112854, 0.7029238939285278, 0.12248596549034119, 0.26997265219688416, -0.8446901440620422, -0.2892166078090668, -0.04329774156212807, -0.02504674904048443, -0.06990278512239456, -0.3077198565006256, -0.0002338086487725377, -0.15561850368976593, 0.4620485305786133, -0.49188733100891113, 0.21203914284706116, -0.11322607845067978, -0.19700878858566284, -0.06502816081047058, 0.35706040263175964, 0.5674789547920227, 0.8681920766830444, -0.13378922641277313, 0.079217828810215, 0.6778093576431274, -0.10465484112501144, 0.2287115454673767, 0.24657997488975525, 0.17783966660499573, -0.3530692160129547, 0.4775365889072418, 0.7259125113487244, 0.5302119851112366, -0.8368203639984131, 0.38840922713279724, -0.203360453248024, 0.07023409754037857, -0.23857301473617554, 0.22278696298599243, 0.061619602143764496, 0.5989710092544556, 0.3601086735725403, -0.3154236376285553, 0.07305433601140976, -0.7777240872383118, 0.3929064869880676, 0.4259288012981415, -0.05946457013487816, -0.3033195734024048, 0.386106938123703, 0.17227570712566376, -0.40770596265792847, 0.2192901372909546, -0.43426787853240967, -0.30650025606155396, 0.5873704552650452, 0.6711551547050476, 1.1100965738296509, -0.5026300549507141, 0.12615667283535004, 0.06327080726623535, 0.41743969917297363, -0.1216653510928154, 0.11907017976045609, -0.14408385753631592, -0.8006483316421509, -0.3069773316383362, -0.7049365043640137, -0.5070295929908752, 0.4082825779914856, -0.5313760042190552, 0.18564356863498688, -0.33393776416778564, -0.25738024711608887, -0.07710519433021545, 0.26797226071357727, -0.4361247420310974, 0.0929310992360115, -0.08022243529558182, 0.8828549981117249, -0.33469998836517334, 1.1184463500976562, 0.8213603496551514, -0.10683760046958923, -0.3060467839241028, 0.1546291559934616, -0.12437725812196732, -0.9670860767364502, 0.5010965466499329, 0.21309152245521545, -0.48940062522888184, -0.15249985456466675, -0.37879830598831177, -1.2574917078018188, 1.2195566892623901, 0.5247747302055359, -0.6250615119934082, 0.26679912209510803, 0.08119376748800278, 0.8644025325775146, -0.775689423084259, 0.5575716495513916, 0.5464497208595276, 0.4321085214614868, -0.1288420855998993, -0.9248980283737183, 0.10665812343358994, -0.2776143550872803, 0.015118395909667015, 0.019794171676039696, -0.9732738137245178, 0.911224365234375, 0.03844079002737999, -0.3603300154209137, 0.24378377199172974, 0.6558243632316589, 0.1953788697719574, 0.1490039974451065, 0.6638380289077759, 0.4234105944633484, 0.718688428401947, 0.024155791848897934, 0.8384734988212585, -0.7543846368789673, 0.3726021945476532, 1.3302758932113647, -0.6024273633956909, 0.8383389711380005, 0.11362503468990326, -0.026194972917437553, 0.7468050122261047, 0.39765000343322754, -0.27907130122184753, 0.285902738571167, 0.4750573933124542, -0.19345587491989136, -0.4052916169166565, 0.1823340356349945, -0.25702622532844543, 0.7695915699005127, 0.223860502243042, -0.14925041794776917, -0.41228336095809937, -0.3048536777496338, -0.15356963872909546, 0.22927290201187134, -0.0578489787876606, 0.6370294690132141, -0.15515746176242828, -0.681881844997406, 0.5486934781074524, 0.2841530740261078, 0.5864419937133789, -0.5521302223205566, 0.2539401054382324, -0.22210991382598877, 0.3722594976425171, 0.11940110474824905, -0.5233933329582214, 0.09522093087434769, -0.13137947022914886, -0.019460512325167656, -0.26951122283935547, 0.675820529460907, -0.35888004302978516, -0.4298754036426544, 0.7142773866653442, 0.8334749341011047, 0.1681683212518692, 0.1747545748949051, -1.1893600225448608, 0.5167500972747803, -0.2163567990064621, -0.31940731406211853, 0.3347863554954529, 0.5220363140106201, -0.1283479630947113, 1.1437110900878906, 0.49024808406829834, 0.022810664027929306, 0.17020924389362335, 0.25577613711357117, 0.8013092279434204, -0.5931103229522705, -0.19562876224517822, -0.9496546387672424, 0.11709963530302048, -0.18458320200443268, -0.34764307737350464, 0.8496898412704468, 0.5017120838165283, 0.5613608360290527, 0.10077164322137833, 0.5508502125740051, 0.34984710812568665, 0.39523956179618835, -0.3128148913383484, 0.7022314071655273, -0.6869143843650818, 0.4401475191116333, -0.16591021418571472, -1.0143656730651855, 0.09223387390375137, 0.4987300932407379, -0.3010844886302948, 0.4322948157787323, 0.6309438943862915, 0.6950122714042664, 0.11913108825683594, -0.2833150327205658, 0.46405455470085144, 0.438152015209198, 0.4193485677242279, 0.24484898149967194, 0.977633535861969, -0.32051196694374084, 0.3107653558254242, -0.007467908784747124, -0.27926358580589294, -0.1461327075958252, -1.0865542888641357, -0.7977458238601685, -0.4545764625072479, -0.6210756897926331, -0.06880345195531845, 0.16061778366565704, 0.8558444976806641, 0.9222351908683777, -0.6328999400138855, -0.5926162004470825, 0.04338288679718971, 0.012108649127185345, -0.30858704447746277, -0.21787188947200775, 0.024771803990006447, -0.6958456039428711, -0.7876524925231934, 0.9348207712173462, 0.33868202567100525, 0.020985564216971397, -0.7106227874755859, -0.10325271636247635, -0.11107508838176727, 0.2438548505306244, 0.607775092124939, 0.2609308958053589, -0.6633672118186951, -0.3760232925415039, -0.20017597079277039, 0.00165352423209697, 0.050042569637298584, 0.5112447142601013, -0.7084846496582031, 0.6277646422386169, 0.13572794198989868, 0.8595223426818848, 0.6278712749481201, -0.05250372365117073, 0.4913448393344879, -0.454633504152298, -0.1601550579071045, 0.015945110470056534, 0.35707375407218933, 0.3266174793243408, -0.019375823438167572, 0.524897575378418, 0.1346401870250702, -0.7422382831573486, -1.1432511806488037, 0.27563220262527466, -0.8466004729270935, -0.3395775258541107, 1.098096251487732, -0.04330893233418465, -0.06887838244438171, -0.06940903514623642, 0.31257399916648865, 0.0835983082652092, -0.38035666942596436, 0.872207760810852, 0.7025579214096069, -0.2595106065273285, -0.3707142472267151, -0.497949481010437, 0.36484864354133606, 0.5035028457641602, -1.1577630043029785, 0.30855512619018555, 0.3571907877922058, 0.5622045397758484, 0.19835056364536285, 0.41110172867774963, -0.03552784025669098, 0.06135520339012146, -0.07526805996894836, 0.19133903086185455, -0.18902066349983215, -0.3182547688484192, -0.579069197177887, 0.37995314598083496, 0.3417212665081024, -0.020753031596541405 ]
http://arxiv.org/abs/2402.11442v3
http://arxiv.org/pdf/2402.11442v3
Can LLMs Reason with Rules? Logic Scaffolding for Stress-Testing and Improving LLMs
2024-02-18T03:38:51
2024-06-21T02:36:55
Siyuan Wang, Zhongyu Wei, Yejin Choi, Xiang Ren
cs.CL
cs.CL
Large language models (LLMs) have achieved impressive human-like performance across various reasoning tasks. However, their mastery of underlying inferential rules still falls short of human capabilities. To investigate this, we propose a logic scaffolding inferential rule generation framework, to construct an inferential rule base, ULogic, comprising both primitive and compositional rules across five domains. Our analysis of GPT-series models over a rule subset reveals significant gaps in LLMs' logic understanding compared to human performance, especially in compositional and structural complex rules with certain bias patterns. We further distill these rules into a smaller-scale inference engine for flexible rule generation and enhancing downstream reasoning. Through a multi-judger evaluation, our inference engine proves effective in generating accurate, complex and abstract conclusions and premises, and improve various commonsense reasoning tasks. Overall, our work sheds light on LLMs' limitations in grasping inferential rule and suggests ways to enhance their logical reasoning abilities~\footnote{Code and data are available at \url{https://github.com/SiyuanWangw/ULogic}.}.
[ -0.11515241861343384, -0.6425600051879883, 0.9175878167152405, 0.04548845440149307, -0.4199882745742798, -0.15608200430870056, -0.1235342025756836, -0.37097984552383423, -0.3215453624725342, 0.7238118648529053, -0.6480174660682678, -0.28240272402763367, -0.3688584864139557, 0.11650753021240234, -0.18838529288768768, 0.9627308249473572, 0.11238060891628265, -0.05292702838778496, -0.6874569654464722, 0.04431324452161789, -0.37485697865486145, -0.5192263722419739, -0.20144566893577576, -0.8215106129646301, 0.1008395403623581, 0.6734806299209595, 0.46310314536094666, 0.6361366510391235, 0.3640609383583069, 0.2512143552303314, -0.13927146792411804, 0.5769287347793579, -0.2218906134366989, 0.2858196198940277, -0.297559529542923, -0.47532135248184204, -0.43544521927833557, -0.12026655673980713, 0.37976565957069397, 0.603976309299469, -0.34682366251945496, 0.05228051915764809, 0.15060627460479736, 0.5656640529632568, -0.4154032766819, 0.1322382390499115, -0.8364068865776062, -0.20367924869060516, -0.270832359790802, -0.1275668740272522, -0.5255762934684753, -0.21493719518184662, -0.22086156904697418, -0.4614909887313843, -0.028328685089945793, 0.20587968826293945, 0.9778146147727966, 0.4960820972919464, -0.691040575504303, -0.2029760181903839, -0.42473235726356506, 0.5367720723152161, -1.025983452796936, 0.4430009126663208, 0.18739743530750275, 0.2952127456665039, -0.4755290746688843, -0.767491340637207, -0.3780965805053711, -0.29309576749801636, -0.18191654980182648, -0.027102062478661537, -0.14293751120567322, 0.25280699133872986, 0.656606912612915, 0.18798545002937317, -0.44684967398643494, -0.007917724549770355, -0.24523739516735077, -0.040485866367816925, 0.7484782934188843, 0.2267530858516693, 0.12503379583358765, -0.20367799699306488, -0.38714858889579773, 0.14870135486125946, -1.1276488304138184, 0.024689259007573128, 0.27221864461898804, 0.31515371799468994, 0.2347598671913147, 0.6285618543624878, -0.37761780619621277, 0.5379778742790222, 0.14940299093723297, -0.38603582978248596, 0.06844327598810196, -0.04103495180606842, -0.5748440623283386, 0.02214285358786583, 0.37708431482315063, 0.48904404044151306, 0.40155690908432007, -0.16080236434936523, -0.22818809747695923, 0.28507524728775024, 0.10284952819347382, -0.9562394618988037, -0.19231097400188446, 0.019741350784897804, -0.40098512172698975, -0.04307088628411293, -0.010370470583438873, -0.6063655614852905, -0.6185663342475891, -0.4214962124824524, 0.17569272220134735, -0.5074371695518494, -0.12882189452648163, 0.47136446833610535, -0.0456230528652668, 0.27724117040634155, 0.27971121668815613, -0.7636997699737549, 0.5677750706672668, 0.5414759516716003, 0.44248878955841064, 0.03168020024895668, -0.1377791464328766, -0.6087855100631714, 0.23182347416877747, -0.12925270199775696, 1.0500845909118652, -0.5053107738494873, -0.23955883085727692, -0.12321097403764725, -0.3486085534095764, -0.07539402693510056, -0.726001501083374, 0.8294419646263123, -0.367323637008667, -0.04751553386449814, -0.22872185707092285, -0.9258403778076172, -0.16741196811199188, 0.064977265894413, -0.3174063563346863, 1.0314799547195435, -0.006490160245448351, -0.5474852323532104, 0.4267880320549011, -0.6735273599624634, -0.6098487973213196, 0.16789428889751434, -0.3967972993850708, -0.058977801352739334, 0.17545366287231445, 0.11538862437009811, 0.4677741825580597, -0.648682713508606, 0.3325400650501251, -0.4995937645435333, -0.26534825563430786, 0.24728965759277344, -0.1510700136423111, 0.7077343463897705, 0.28456681966781616, -0.5511180758476257, 0.19326205551624298, -0.6517451405525208, 0.17947962880134583, 0.10299871116876602, -0.4212728440761566, -0.10804317891597748, 0.3814590871334076, -0.1325579136610031, 0.4294242560863495, -0.3238321840763092, -0.3497826159000397, 0.3118559420108795, -0.11443021148443222, 0.4594680964946747, 0.9805342555046082, -0.05311683565378189, 0.2556415796279907, -0.3952605724334717, 0.33458462357521057, -0.007173929829150438, -0.04095154628157616, -0.04431948438286781, -0.4386294186115265, -0.779640257358551, -0.46959447860717773, 0.048924993723630905, 0.5545801520347595, -0.4316924214363098, 0.3952260911464691, -0.2364627718925476, -0.2650704085826874, -0.20686709880828857, 0.42302563786506653, 0.2916159927845001, 0.538016676902771, 0.25594091415405273, -0.1418842226266861, -0.5822543501853943, -0.6980708241462708, -0.4214041829109192, -0.19868819415569305, -0.18856455385684967, 0.1392374038696289, 0.6300147175788879, -0.2224608063697815, 0.8424308896064758, -0.3830220103263855, -0.16308893263339996, -0.4338326156139374, -0.15757372975349426, 0.3199376165866852, 0.21765486896038055, 0.3884430229663849, -0.4750879406929016, -0.050492338836193085, -0.15795835852622986, -0.8666648268699646, -0.42744261026382446, -0.04098857194185257, -0.18944816291332245, 0.14708462357521057, 0.8925278186798096, -0.81135094165802, 0.3851855397224426, 0.1335071325302124, -0.7666831016540527, 0.7180982232093811, -0.02635967917740345, -0.23651720583438873, -0.6431300044059753, -0.32440727949142456, -0.06976921856403351, -0.3809751570224762, -0.4727284610271454, 0.08191098272800446, -0.11576265096664429, 0.21182656288146973, -0.2504986822605133, 0.5008962750434875, -0.3440493941307068, 0.06485620141029358, -0.3121982216835022, 0.12868952751159668, 0.06946700811386108, 0.4359295070171356, -0.17984946072101593, 0.34788474440574646, 0.5644263625144958, -0.6569092869758606, 0.366592139005661, -0.04708294942975044, -0.5105722546577454, 0.8170265555381775, -0.7572741508483887, 0.033843111246824265, -0.0397082082927227, 0.4756537973880768, -0.9053205847740173, -0.5134550333023071, 0.16729862987995148, 0.06287048757076263, 0.05458381772041321, -0.27064454555511475, -0.8680512309074402, -0.2394292801618576, -0.013888722285628319, 0.2207559496164322, 0.7203563451766968, -0.6029729247093201, 0.9028032422065735, 0.1539200246334076, 0.10105101764202118, -0.21566428244113922, -0.5960925817489624, -0.034851327538490295, -0.5224987268447876, -0.7873348593711853, 0.15063583850860596, -0.2715722620487213, -0.8362721800804138, 0.08628233522176743, -0.32246696949005127, -0.007020183373242617, 0.22051160037517548, 0.5593222379684448, 0.09795226156711578, -0.21648603677749634, 0.25035715103149414, 0.03567292168736458, 0.24213023483753204, 0.3052133321762085, -0.5261655449867249, 0.2873917520046234, -0.5164304375648499, -0.6434969305992126, -0.13015151023864746, 0.31607145071029663, 0.5985117554664612, -0.11940819770097733, 0.08139324188232422, 0.014738999307155609, -0.4567142724990845, -0.6249345541000366, -0.5980985164642334, -0.3811419904232025, -0.49003979563713074, -0.07870073616504669, -0.6031748652458191, -0.8804188370704651, 0.3105520009994507, -0.360093355178833, -0.03289125859737396, 0.526435136795044, 0.5200328230857849, -0.1743108332157135, 0.824302613735199, 0.5150697231292725, 0.282098650932312, 0.00529307359829545, 0.0827576294541359, 0.09400675445795059, -0.5966525673866272, -0.13210850954055786, -0.12923474609851837, -0.07497908174991608, -0.4529530704021454, -0.275771826505661, 0.30053603649139404, 0.21168959140777588, -0.4032351076602936, -0.10386087745428085, -0.22533488273620605, 0.8038702607154846, 0.49997636675834656, 0.22255262732505798, 0.4078742265701294, -0.0960599035024643, -0.5947529077529907, 0.19006851315498352, -0.592062771320343, -0.5648350715637207, 0.8307746052742004, 0.1268376111984253, 0.8279474973678589, 0.19378414750099182, 0.5121757984161377, 0.4237157702445984, 0.43282550573349, -0.6288982033729553, 0.715592086315155, -0.009137994609773159, -0.8305765390396118, -0.1739884465932846, -0.46346238255500793, -0.5790131092071533, 0.5012708902359009, -0.13885369896888733, -0.8022505640983582, -0.06483113765716553, 0.18421214818954468, -0.34312549233436584, 0.5216986536979675, -0.5615434646606445, 0.7537679076194763, -0.47164323925971985, -0.338578462600708, -0.16994012892246246, -0.5954814553260803, 0.6551511287689209, 0.171669140458107, 0.19591984152793884, -0.4944850206375122, 0.3079087436199188, 0.4492062032222748, -0.5893998146057129, 1.1277436017990112, -0.08053747564554214, -0.1598605066537857, 0.4480389654636383, 0.2289663851261139, 0.4628137946128845, 0.08694847673177719, -0.15466547012329102, -0.24853353202342987, -0.2044932097196579, -0.565818190574646, -0.686665415763855, 0.42347878217697144, -0.38316771388053894, -0.763647198677063, -0.3914449214935303, -0.6276354193687439, -0.38147208094596863, 0.26057666540145874, 0.1490662544965744, 0.23049432039260864, 0.06909279525279999, 0.11273844540119171, 0.7011054158210754, 0.5047821998596191, 0.26162976026535034, 0.2582225501537323, -0.05506448447704315, -0.17516875267028809, 0.47849392890930176, -0.04757362976670265, 0.14628705382347107, -0.058809794485569, 0.2738635838031769, -0.34855011105537415, -0.5942405462265015, -0.4323318302631378, 0.3003832697868347, -1.0366932153701782, -0.2635234594345093, -0.11085009574890137, -0.06328548491001129, -0.3473532199859619, -0.11628083139657974, 0.02011566422879696, -0.3710097670555115, 0.047414787113666534, -0.25562387704849243, 0.512183427810669, 0.9449467062950134, 0.02062789537012577, 0.19690275192260742, -0.4616750478744507, 0.10836175829172134, 0.506117045879364, 0.3569982647895813, -0.16767503321170807, -0.6389200091362, 0.004197129048407078, -0.19953781366348267, -0.2937122881412506, -0.7311437129974365, -0.17600569128990173, 0.25237929821014404, 0.7327303290367126, 0.6800334453582764, 0.10072691738605499, 0.6163280010223389, -0.5657933354377747, 0.49772581458091736, 0.05786461755633354, -1.069911003112793, 0.467433363199234, -0.5299614667892456, -0.027621157467365265, 0.49156761169433594, -0.023107601329684258, -0.45521461963653564, -0.25281232595443726, -0.8229935169219971, -0.8956634402275085, 0.3797747492790222, 0.16361907124519348, -0.1595498025417328, 0.13752105832099915, 0.6268096566200256, 0.02170536108314991, 0.15837666392326355, -0.7054112553596497, 0.07312457263469696, -0.162568598985672, -0.1927817016839981, 0.11120740324258804, -0.12616389989852905, -0.338511198759079, -0.3138389587402344, 0.635744571685791, -0.4892711639404297, -0.016839997842907906, 0.20875997841358185, -0.25917407870292664, -0.007650017272680998, 0.3497702479362488, 0.5913457870483398, 0.7013968229293823, -0.2599155902862549, 0.4244171380996704, 0.45853719115257263, -0.013119052164256573, 0.24162791669368744, 0.31507936120033264, -0.14684909582138062, -0.38037869334220886, 0.5192092657089233, 0.6611184477806091, 0.03242030367255211, -0.985395610332489, 0.2895360589027405, 0.10022584348917007, -0.503566324710846, -0.18207186460494995, 0.29355815052986145, 0.1734922081232071, 0.5486354231834412, 0.23409883677959442, -0.10140318423509598, 0.028199149295687675, -0.5464891195297241, 0.4847917854785919, 0.28044238686561584, -0.16463983058929443, -0.1815757304430008, 0.7434267401695251, 0.19729503989219666, 0.18673546612262726, 0.5352973937988281, -0.29300713539123535, -0.5618297457695007, 0.411674827337265, 0.7324386239051819, 0.7393642067909241, 0.04967549070715904, 0.047839172184467316, -0.2028130143880844, 0.42671167850494385, -0.21170231699943542, 0.3891630470752716, -0.15105053782463074, -0.765802800655365, -0.4718267023563385, -0.36278724670410156, -0.5575171113014221, 0.05361303314566612, -0.300628125667572, -0.004666567780077457, -0.614288330078125, 0.09792999923229218, -0.16560091078281403, -0.051995813846588135, -0.5405067801475525, 0.40852487087249756, 0.35050445795059204, 1.0085148811340332, -0.8946669697761536, 0.7222803235054016, 0.8460512757301331, -0.40882059931755066, -0.7117540836334229, 0.029950691387057304, 0.30881986021995544, -0.6534026861190796, 0.6956068873405457, 0.2695058286190033, -0.5213286280632019, -0.4138697385787964, -0.7573743462562561, -0.5785545706748962, 1.007813811302185, 0.6162436008453369, -0.19249749183654785, -0.01731959357857704, 0.1633864790201187, 0.42178529500961304, -0.6672402620315552, 0.3062891364097595, 0.821704089641571, 0.6178397536277771, 0.15226703882217407, -0.5107816457748413, 0.5044869184494019, -0.46415841579437256, -0.341347336769104, 0.021459970623254776, -0.7516640424728394, 0.7420560717582703, -0.48869025707244873, -0.16964340209960938, -0.0929858535528183, 0.7477086186408997, 0.5504603981971741, 0.40496107935905457, 0.8549593091011047, 0.7957194447517395, 1.1541770696640015, -0.14302514493465424, 1.0641725063323975, -0.00023011845769360662, -0.03249550983309746, 1.3004320859909058, -0.6548756957054138, 0.6313400864601135, 0.43363627791404724, 0.10286728292703629, 0.9056901335716248, 0.7898603677749634, 0.01850905828177929, 0.20931971073150635, 0.6850932836532593, -0.30372142791748047, -0.7839874029159546, -0.35321956872940063, 0.011180761270225048, 0.4969923794269562, 0.41553640365600586, -0.1383853405714035, -0.23450012505054474, -0.359173983335495, 0.34084418416023254, 0.0586845837533474, -0.2360362857580185, 0.4709060788154602, 0.17127317190170288, -0.5495221614837646, 0.5868850946426392, -0.09372995793819427, 0.3998410403728485, -0.5232689380645752, -0.03418398275971413, -0.31523633003234863, 0.5172480940818787, -0.2958402931690216, -0.7657703757286072, -0.03972287476062775, 0.04012579470872879, -0.06052546575665474, -0.21882463991641998, 0.9638233780860901, -0.18377730250358582, -0.4303748309612274, 0.39485231041908264, 0.6923208832740784, 0.1896340399980545, -0.11432350426912308, -0.3579961955547333, -0.3135983943939209, -0.10058825463056564, -0.36096513271331787, 0.1352836638689041, 0.7648760080337524, -0.4444705843925476, 0.7901648879051208, 0.7016990184783936, 0.02732541784644127, -0.048253998160362244, 0.18130668997764587, 1.0214643478393555, -0.698535680770874, -0.21866025030612946, -1.063367247581482, 0.6568589210510254, -0.16951237618923187, -0.3864796757698059, 0.6447520852088928, 0.4446587562561035, 0.6874547004699707, 0.11359886080026627, 0.9481337666511536, 0.03841102868318558, 0.12566162645816803, -0.7318425178527832, 0.34276512265205383, -0.6888502240180969, 0.11521026492118835, -0.07799029350280762, -0.5675249099731445, -0.5937869548797607, 0.3689481317996979, 0.000019808223441941664, -0.027522103860974312, 0.7609215378761292, 0.6575919389724731, -0.17582543194293976, 0.05742878094315529, 0.32938888669013977, 0.2691972851753235, 0.45362961292266846, 0.6314893364906311, 0.9992674589157104, -0.042679980397224426, 0.7037680745124817, 0.02260121889412403, -0.2579016089439392, -0.3109729588031769, -1.1437937021255493, -1.1124725341796875, -0.2645602822303772, -0.024491434916853905, -0.42852121591567993, 0.03762604668736458, 1.0422791242599487, 0.7410057187080383, -0.5529240369796753, -0.477449506521225, -0.1726439893245697, 0.36565065383911133, -0.3387942910194397, -0.18942877650260925, 0.22676227986812592, -0.4873514175415039, -0.19284415245056152, 0.628198504447937, 0.16714699566364288, -0.016645045951008797, 0.24305398762226105, -0.2544986605644226, -0.09673082828521729, 0.5588933229446411, 0.6776961088180542, 0.1862560510635376, -0.7630714774131775, -0.385654479265213, 0.002991969231516123, 0.07789117097854614, -0.04026862978935242, 1.0848122835159302, -0.5950635075569153, 0.08996816724538803, 0.4070913791656494, 0.5383120179176331, 0.3298499882221222, -0.011452308855950832, 0.3250662684440613, -0.5642497539520264, -0.06186937168240547, 0.034284379333257675, 0.814923882484436, 0.2268238663673401, -0.22720737755298615, 0.7278779745101929, 0.46299299597740173, -0.6712214350700378, -0.8286244869232178, 0.6209311485290527, -0.8457132577896118, -0.3404884338378906, 1.3796755075454712, -0.021219726651906967, -0.13856393098831177, -0.012358508072793484, -0.1670253872871399, 0.04429072514176369, -0.40684938430786133, 0.6872870922088623, 0.7323904633522034, -0.6863731741905212, -0.043307334184646606, -0.46181413531303406, 0.7119489312171936, 0.48900744318962097, -1.1917475461959839, 0.38566532731056213, 0.6451377272605896, 0.3640938401222229, -0.07499689608812332, 0.5280343294143677, 0.09768889844417572, 0.24300381541252136, -0.13378477096557617, -0.009269249625504017, 0.0015429717022925615, -0.4073431193828583, -0.07886666059494019, 0.01044336799532175, 0.1359323412179947, 0.22862976789474487 ]
http://arxiv.org/abs/2402.11441v1
http://arxiv.org/pdf/2402.11441v1
InfuserKI: Enhancing Large Language Models with Knowledge Graphs via Infuser-Guided Knowledge Integration
2024-02-18T03:36:26
2024-02-18T03:36:26
Fali Wang, Runxue Bao, Suhang Wang, Wenchao Yu, Yanchi Liu, Wei Cheng, Haifeng Chen
cs.CL
cs.CL, cs.AI, cs.LG
Though Large Language Models (LLMs) have shown remarkable open-generation capabilities across diverse domains, they struggle with knowledge-intensive tasks. To alleviate this issue, knowledge integration methods have been proposed to enhance LLMs with domain-specific knowledge graphs using external modules. However, they suffer from data inefficiency as they require both known and unknown knowledge for fine-tuning. Thus, we study a novel problem of integrating unknown knowledge into LLMs efficiently without unnecessary overlap of known knowledge. Injecting new knowledge poses the risk of forgetting previously acquired knowledge. To tackle this, we propose a novel Infuser-Guided Knowledge Integration (InfuserKI) framework that utilizes transformer internal states to determine whether to enhance the original LLM output with additional information, thereby effectively mitigating knowledge forgetting. Evaluations on the UMLS-2.5k and MetaQA domain knowledge graphs demonstrate that InfuserKI can effectively acquire new knowledge and outperform state-of-the-art baselines by 9% and 6%, respectively, in reducing knowledge forgetting.
[ -0.2449035942554474, -0.528388261795044, 0.670322060585022, -0.1557963490486145, -0.061847005039453506, 0.4526054561138153, -0.18263019621372223, -0.18915660679340363, -0.06351738423109055, 0.6748703718185425, -0.3181471824645996, -0.2332579493522644, -0.5808133482933044, -0.31802430748939514, -0.36245131492614746, 0.8533788919448853, -0.3112817108631134, 0.14272694289684296, -0.7079662680625916, 0.1613667607307434, -0.4667651951313019, -0.22488103806972504, -0.5544989109039307, -0.9002349972724915, 0.01656731590628624, 0.7638490200042725, 0.5025124549865723, -0.07364138960838318, 0.3185870945453644, 0.2338588386774063, -0.12415452301502228, 0.7437934875488281, -0.7805551290512085, -0.037871986627578735, -0.18767821788787842, -0.5267188549041748, -0.17359143495559692, -0.4431549310684204, 0.9995806217193604, 0.7963941097259521, -0.06255543231964111, 0.08128707855939865, 0.46347397565841675, 0.72504723072052, -0.7135946750640869, 0.22125253081321716, -0.6718894839286804, -0.0020842552185058594, -0.3106386363506317, -0.11002500355243683, -0.5379222631454468, -0.34025803208351135, 0.14581431448459625, -0.5172664523124695, -0.24253806471824646, -0.0317365787923336, 0.6530523300170898, 0.28488844633102417, -0.3423430025577545, -0.19224236905574799, -0.9028802514076233, 0.5425607562065125, -0.8644506335258484, 0.601474404335022, 0.3757080137729645, 0.3527713418006897, -0.6081899404525757, -0.673707902431488, -0.857669472694397, 0.0012127126101404428, -0.2736310064792633, 0.07093595713376999, -0.24649310111999512, -0.10471239686012268, 0.1759186089038849, 0.3046618103981018, -0.3507629632949829, 0.09723574668169022, -0.04529659450054169, -0.022478077560663223, 0.20319221913814545, 0.19371190667152405, 0.28070640563964844, 0.03105773963034153, -0.23671558499336243, 0.20971842110157013, -0.9671850204467773, -0.007339040748775005, 0.39130857586860657, 0.11476317048072815, 0.015032460913062096, 0.5598285794258118, -0.2260308563709259, 0.6919224262237549, -0.009718515910208225, -0.3058135211467743, 0.13387562334537506, -0.1984153538942337, -0.14630910754203796, -0.004010229371488094, 0.6417905688285828, -0.014030632562935352, 0.3017204999923706, -0.49660569429397583, 0.053303733468055725, -0.43005508184432983, 0.018783273175358772, -0.8973190784454346, -0.3305375874042511, 0.11742734163999557, -0.12977741658687592, -0.09316416829824448, 0.08913912624120712, -0.7317843437194824, -0.5809270739555359, 0.013004911132156849, 0.5360236167907715, -0.7605493664741516, -0.404984712600708, 0.0052779484540224075, -0.3610643148422241, 0.17700065672397614, 0.15614382922649384, -0.7589353322982788, 0.438079833984375, 0.5460923314094543, 0.6917180418968201, -0.13777129352092743, -0.33061838150024414, -0.21528670191764832, 0.6678363084793091, -0.1882125735282898, 0.7354467511177063, -0.559444785118103, -0.3526774048805237, 0.116207554936409, -0.11269155144691467, 0.0703393965959549, -0.5459067821502686, 0.1247837245464325, -0.7807064056396484, 0.07427696883678436, -0.10894687473773956, -1.0774205923080444, -0.27031928300857544, 0.18709209561347961, -0.4747808277606964, 1.1265528202056885, 0.5444899797439575, -0.6480303406715393, 0.38914355635643005, -0.749258279800415, -0.4462585747241974, 0.31594353914260864, 0.0840882733464241, -0.3117468059062958, -0.027559958398342133, 0.1994129866361618, 0.2719578146934509, -0.4754955470561981, 0.2553882598876953, -0.36689698696136475, -0.34401702880859375, 0.5001461505889893, -0.26950299739837646, 0.6190479397773743, -0.031537048518657684, 0.03937394917011261, 0.023932354524731636, -0.6688297986984253, 0.044973842799663544, 0.1297016143798828, -0.24357295036315918, -0.5203784704208374, -0.1513400375843048, -0.3540830910205841, 0.0013353466056287289, 0.3021182417869568, -0.6498183012008667, 0.2862611413002014, -0.5717788338661194, 0.431551069021225, 0.6581231951713562, 0.39306649565696716, 0.8363727331161499, -0.16650059819221497, 0.2411496937274933, 0.2614768147468567, 0.3202778995037079, -0.14202463626861572, -0.6108139157295227, -1.0138652324676514, -0.06097492203116417, 0.16566826403141022, 0.294072687625885, -1.1231435537338257, 0.34888967871665955, -0.43070679903030396, -0.6567009091377258, -0.4109109044075012, 0.33892884850502014, 0.19520840048789978, 0.7697141170501709, 0.3963312804698944, -0.05555110424757004, -0.21637140214443207, -0.6822065114974976, -0.3260388970375061, 0.03154643252491951, 0.042032673954963684, 0.11787993460893631, 0.5199933052062988, -0.3774138391017914, 1.1144226789474487, -0.7682287693023682, -0.4374184310436249, -0.31215593218803406, -0.3592739403247833, 0.40244150161743164, 0.39068952202796936, 0.12604659795761108, -0.5164308547973633, -0.7315364480018616, 0.36362341046333313, -0.7111549377441406, 0.21426787972450256, 0.11579520255327225, -0.34443026781082153, 0.05907585471868515, 0.4848547577857971, -0.656585156917572, 0.2275397926568985, 0.4645111858844757, -0.3358006179332733, 0.21891780197620392, -0.30863896012306213, -0.10902831703424454, -1.1719560623168945, -0.10101138055324554, -0.32238641381263733, -0.1576141119003296, -0.8449566960334778, -0.07642070949077606, 0.5814109444618225, -0.13294203579425812, -0.3501812815666199, 0.8283513188362122, -0.36312854290008545, 0.4260543882846832, -0.2758183777332306, 0.20691022276878357, -0.013405263423919678, 0.5975243449211121, -0.43225499987602234, 0.5025521516799927, 0.5439419150352478, -0.6090632081031799, 0.26314687728881836, 0.3117433488368988, -0.5123786926269531, 0.5242127776145935, -0.086231529712677, 0.2738105356693268, -0.23974953591823578, 0.12095406651496887, -0.8823983073234558, -0.3139854073524475, 0.4033750295639038, -0.17478300631046295, 0.7009912133216858, -0.29339590668678284, -0.8072675466537476, -0.345376580953598, -0.003728423733264208, 0.4488908648490906, 0.549167275428772, -0.8377998471260071, 0.9598821401596069, 0.5628378391265869, 0.23287606239318848, -0.5691784620285034, -0.6568959951400757, -0.0000628018460702151, -0.23301000893115997, -0.5549384355545044, 0.38676005601882935, 0.013065590523183346, -0.09819156676530838, 0.37078872323036194, 0.058957621455192566, -0.11533606797456741, -0.29327765107154846, 0.12503133714199066, 0.12515507638454437, 0.11210338771343231, 0.4796803593635559, 0.3762410879135132, -0.10420005023479462, -0.16812866926193237, -0.8604443073272705, 0.5533920526504517, 0.15638750791549683, -0.6198087334632874, -0.3167075216770172, 0.38728728890419006, 0.6022760272026062, -0.20397929847240448, 0.981850266456604, 0.2545304000377655, -0.5687822103500366, -0.5531948208808899, -0.6511088609695435, -0.15729238092899323, -0.48520228266716003, 0.36132916808128357, -0.35891327261924744, -0.9240109324455261, 0.3969058692455292, -0.49417418241500854, -0.09614135324954987, 0.3760545253753662, 0.36600765585899353, -0.3006177842617035, 0.7060956954956055, 0.8209607601165771, -0.2434581220149994, 0.5034377574920654, -0.4410480260848999, 0.5005849599838257, -0.9420801997184753, -0.30809444189071655, -0.09612488746643066, -0.24202623963356018, -0.24735768139362335, -0.44345149397850037, 0.5014052987098694, 0.06252136081457138, -0.26940202713012695, 0.2216852456331253, -0.2427651584148407, 0.6310935616493225, 0.3748317062854767, 0.2709607779979706, 0.5025179386138916, -0.17470867931842804, -0.0309519711881876, 0.16551609337329865, -1.106162428855896, -0.08460164815187454, 1.2216362953186035, 0.30263984203338623, 0.8385226726531982, 0.18013866245746613, 0.589627206325531, -0.02345474250614643, 0.4719070494174957, -0.691376268863678, 0.27200061082839966, -0.15871483087539673, -0.2238733023405075, -0.5128539800643921, -0.4758079946041107, -0.6256669759750366, 0.03803468495607376, -0.09793665260076523, -0.5931226015090942, 0.04133853316307068, 0.3011610209941864, -0.27127525210380554, 0.6319684386253357, -0.7692040205001831, 0.6473050713539124, -0.07977808266878128, 0.0450221449136734, -0.17465384304523468, -0.23638471961021423, 0.47197315096855164, -0.39311617612838745, 0.3221113681793213, 0.06961781531572342, 0.11475442349910736, 0.5791603922843933, -0.41174596548080444, 0.9444592595100403, -0.25012895464897156, -0.08764257282018661, 0.3430996239185333, -0.021580329164862633, 0.9067419767379761, 0.039827968925237656, 0.07352378219366074, 0.2623599171638489, -0.3056066930294037, -0.20737165212631226, -1.0370502471923828, 0.7465419769287109, -0.5908510088920593, -0.4046113193035126, 0.08004095405340195, -0.7568925023078918, -0.5085057020187378, 0.2955258786678314, 0.2938520014286041, 0.39582598209381104, -0.1825684756040573, 0.019601808860898018, 1.0211341381072998, -0.08690184354782104, 0.1901032030582428, 0.5311375856399536, -0.27977633476257324, -0.5868639945983887, 1.1534761190414429, 0.3518712520599365, 0.4995615482330322, 0.6385082006454468, 0.3068525195121765, -0.08427198231220245, -0.4736127257347107, -0.46859011054039, 0.4457128643989563, -0.928758442401886, -0.5740888714790344, -0.606149435043335, -0.33183205127716064, -0.3081529140472412, 0.09296377003192902, -0.22075530886650085, -0.3066950738430023, -0.19850462675094604, 0.056298382580280304, 0.5201340913772583, 0.9271035194396973, 0.48698511719703674, 0.4548753798007965, -0.6918122172355652, 0.03115927241742611, 0.3100005090236664, 0.655184268951416, 0.19233448803424835, -0.6658556461334229, -0.6838069558143616, -0.12291663885116577, -0.3089941442012787, -0.9914458990097046, 0.10544097423553467, 0.209551140666008, 0.7682042717933655, 0.5489758253097534, -0.10730352997779846, 0.7665863037109375, -0.4853503108024597, 0.49225544929504395, 0.14263242483139038, -0.9608884453773499, 0.346659392118454, 0.010786868631839752, 0.6315039992332458, 0.24662664532661438, 0.2976914644241333, -0.6162254810333252, -0.7034804821014404, -0.586435079574585, -0.7388680577278137, 0.44106030464172363, -0.03417091816663742, 0.11972647160291672, 0.24766384065151215, 0.4198700189590454, 0.12531931698322296, 0.045837633311748505, -0.3881034553050995, -0.27159613370895386, 0.048295069485902786, -0.22493599355220795, 0.006712669041007757, -0.3944903016090393, -0.1036098450422287, -0.38164064288139343, 0.8858059048652649, -0.2585429549217224, 0.11195327341556549, -0.14576929807662964, -0.4497371315956116, -0.2188270092010498, 0.00871302094310522, 0.20038969814777374, 0.44426867365837097, 0.2340017557144165, 0.2089157998561859, 0.7330165505409241, -0.38085758686065674, -0.030094776302576065, -0.1526678502559662, -0.358593225479126, -0.2100248783826828, 0.26598283648490906, 0.6897572875022888, 0.5575240254402161, -0.46792522072792053, 0.30438709259033203, 0.09146282076835632, 0.02414378896355629, -0.41345229744911194, 0.08321064710617065, 0.4031299352645874, 0.4080617427825928, 0.22691982984542847, 0.10698305815458298, -0.07814871519804001, -0.30156275629997253, 0.1375419646501541, 0.614653468132019, -0.5099808573722839, 0.05201549082994461, 0.22880686819553375, -0.05325663834810257, -0.26463043689727783, 0.7054246068000793, -0.11949144303798676, -0.45392197370529175, 0.04292447492480278, 0.8034504055976868, 0.7932285666465759, -0.3303549289703369, -0.12075292319059372, 0.338317334651947, 0.3084893226623535, -0.0011927782325074077, 0.1245158389210701, -0.013256050646305084, -1.0294166803359985, -0.3383398950099945, -0.517089307308197, -0.3969174921512604, -0.03703617677092552, -0.14516469836235046, 0.39697569608688354, -0.10437659174203873, -0.04397473856806755, -0.47866904735565186, -0.30311357975006104, -0.6568595767021179, -0.18114306032657623, -0.20690979063510895, 1.0279269218444824, -0.6858056783676147, 1.2083687782287598, 0.2221783846616745, -0.4006892740726471, -0.7592265605926514, 0.10714184492826462, -0.23028045892715454, -0.6195580363273621, 0.327720046043396, -0.22621172666549683, -0.1501230150461197, 0.20280492305755615, -0.36643505096435547, -1.1731635332107544, 1.1752930879592896, 0.5611416697502136, -0.1360599547624588, 0.06597338616847992, 0.40636855363845825, 0.2424243688583374, -0.27994683384895325, 0.1728202849626541, 0.8016288876533508, 0.6068845391273499, 0.18140335381031036, -0.6787738800048828, -0.011234425008296967, -0.2195914387702942, -0.060149095952510834, 0.7486667633056641, -0.5022269487380981, 0.5815311074256897, -0.21256938576698303, -0.23213200271129608, -0.23892523348331451, 0.8122618794441223, -0.1967531144618988, -0.12149299681186676, 0.40499475598335266, 0.655947744846344, 1.0283491611480713, 0.035770002752542496, 0.794371485710144, -0.23180927336215973, 0.16839301586151123, 1.1556823253631592, 0.06540527939796448, 0.7065852284431458, 0.6249855160713196, -0.12722787261009216, 0.7008206248283386, 0.06836643069982529, 0.03512296825647354, 0.4439094662666321, 0.0673169195652008, -0.427647203207016, -0.07874765992164612, -0.02644006907939911, -0.17155608534812927, 0.2766343355178833, 0.5223779678344727, -0.18680809438228607, -0.119864821434021, 0.11752743273973465, 0.1623723804950714, -0.10198594629764557, -0.05570990964770317, 0.9380884170532227, 0.16035255789756775, -0.6638342142105103, 0.4264700710773468, -0.30395257472991943, 0.42862245440483093, -1.0203827619552612, -0.22878780961036682, -0.1866387128829956, 0.3813953101634979, -0.32056891918182373, -0.9650769233703613, 0.21883133053779602, -0.15331201255321503, -0.2462577372789383, -0.2046348601579666, 0.8591510057449341, -0.8377522826194763, -0.4462338089942932, 0.3338022232055664, 0.4226100742816925, -0.1107802763581276, -0.16212274134159088, -0.10180056840181351, -0.24671368300914764, -0.06160719320178032, 0.013067161664366722, 0.4497459828853607, 0.5001564621925354, -0.017065882682800293, 0.8589925169944763, 0.5557923316955566, 0.020319556817412376, -0.023602010682225227, 0.14857323467731476, 1.0580775737762451, -0.26565319299697876, -0.4009225070476532, -0.9201896786689758, 0.6306139230728149, -0.316815048456192, -0.21495598554611206, 0.960054337978363, 0.5485938191413879, 0.9921851754188538, -0.05846382677555084, 0.8124127984046936, 0.1633048802614212, 0.3005255460739136, -0.5519919991493225, 1.1707632541656494, -0.5193696618080139, 0.012664739042520523, -0.2818772494792938, -0.7089465856552124, -0.3356722891330719, 0.04624592140316963, -0.12069134414196014, -0.2236616164445877, 0.7643204927444458, 0.8489739894866943, 0.044958386570215225, -0.08280009776353836, 0.42957672476768494, 0.17226432263851166, 0.49108967185020447, 0.6936715841293335, 0.8789992332458496, -0.31211212277412415, 0.58896803855896, -0.424355149269104, -0.4978315234184265, 0.005505386274307966, -0.7172795534133911, -0.8787297606468201, -0.7666317224502563, -0.07395297288894653, -0.1995728611946106, -0.34476298093795776, 0.6891998052597046, 0.46241965889930725, -0.7260832190513611, -0.36406850814819336, 0.08554164320230484, 0.44928303360939026, -0.3491950035095215, -0.16611845791339874, 0.24972780048847198, -0.5039785504341125, -0.6168988347053528, 0.5950742363929749, 0.41171252727508545, -0.007497130893170834, -0.39900171756744385, -0.18893855810165405, 0.06259790062904358, 0.012217785231769085, 0.5860251784324646, 0.0778600424528122, -0.5169855952262878, -0.2121618539094925, -0.13441497087478638, 0.2573009431362152, -0.01263176929205656, 1.0082776546478271, -0.8349727392196655, 0.6579532623291016, 0.44240012764930725, 0.5425935387611389, 0.6945486664772034, -0.5012030601501465, 0.6324942708015442, -0.6167816519737244, -0.060995474457740784, 0.11811649054288864, 0.5859172344207764, 0.3621756136417389, -0.4818554222583771, 0.19869783520698547, 0.1403461992740631, -0.44354912638664246, -0.7572401762008667, 0.4334465265274048, -0.4805859923362732, -0.3040841817855835, 1.0251233577728271, 0.041211917996406555, -0.05873112753033638, -0.3117506802082062, -0.05907932668924332, 0.4677561819553375, -0.19584664702415466, 0.5681726932525635, 0.6320651173591614, -0.17125794291496277, -0.06238315999507904, -0.28134554624557495, 0.7065579295158386, -0.0324711948633194, -0.8835268616676331, 0.0489233024418354, -0.008888915181159973, 0.24583853781223297, 0.049255937337875366, 0.48949334025382996, -0.10870296508073807, -0.14686109125614166, -0.07570153474807739, 0.03934231400489807, -0.22379153966903687, -0.39495792984962463, -0.17677007615566254, 0.2719070017337799, 0.1729668825864792, 0.16675181686878204 ]
http://arxiv.org/abs/2402.11436v2
http://arxiv.org/pdf/2402.11436v2
Pride and Prejudice: LLM Amplifies Self-Bias in Self-Refinement
2024-02-18T03:10:39
2024-06-18T04:41:07
Wenda Xu, Guanglei Zhu, Xuandong Zhao, Liangming Pan, Lei Li, William Yang Wang
cs.CL
cs.CL, cs.AI
Recent studies show that large language models (LLMs) improve their performance through self-feedback on certain tasks while degrade on others. We discovered that such a contrary is due to LLM's bias in evaluating their own output. In this paper, we formally define LLM's self-bias - the tendency to favor its own generation - using two statistics. We analyze six LLMs (GPT-4, GPT-3.5, Gemini, LLaMA2, Mixtral and DeepSeek) on translation, constrained text generation, and mathematical reasoning tasks. We find that self-bias is prevalent in all examined LLMs across multiple languages and tasks. Our analysis reveals that while the self-refine pipeline improves the fluency and understandability of model outputs, it further amplifies self-bias. To mitigate such biases, we discover that larger model size and external feedback with accurate assessment can significantly reduce bias in the self-refine pipeline, leading to actual performance improvement in downstream tasks. The code and data are released at https://github.com/xu1998hz/llm_self_bias.
[ -0.3532123267650604, -0.38793879747390747, 0.601704478263855, 0.4760608375072479, 0.026469409465789795, -0.18540452420711517, -0.07137060165405273, -0.16771653294563293, 0.2537941038608551, 0.6364517211914062, -0.6579421162605286, -0.07157135754823685, -0.5391588807106018, 0.31059277057647705, -0.3652050495147705, 1.2187505960464478, 0.02930249087512493, 0.5956370830535889, -0.3676001727581024, 0.03915791213512421, -0.5881555080413818, -0.6622781753540039, -0.030946403741836548, -0.5538658499717712, 0.5903708934783936, 0.2703707218170166, 0.490987092256546, 0.704745352268219, 0.3881152272224426, 0.2768784761428833, 0.19760683178901672, -0.07127122581005096, -0.7662778496742249, 0.8432390689849854, -0.5834100842475891, -0.30728891491889954, -0.2306794673204422, 0.06858941912651062, 0.5165798664093018, 0.10262686014175415, 0.38451340794563293, 0.3540149927139282, 0.5263028144836426, 0.9150806069374084, -0.648189902305603, 0.08999183028936386, -0.5301895141601562, -0.12590910494327545, -0.3692445456981659, 0.20845060050487518, -0.14748112857341766, -0.0722215324640274, -0.1612616777420044, -0.12670442461967468, 0.6295114159584045, -0.17895016074180603, 0.6081742644309998, 0.5550407767295837, -0.4583187997341156, -0.46911633014678955, -0.5928310751914978, 0.9299704432487488, -0.48925507068634033, 0.19456766545772552, 0.05703090876340866, -0.05860728397965431, -0.10933319479227066, -0.4657054841518402, -0.42068564891815186, -0.13675516843795776, -0.06048924848437309, 0.293495237827301, 0.1661461740732193, 0.07205864042043686, 0.30412864685058594, 0.7203266620635986, -0.4417476952075958, 0.1958393156528473, -0.35982003808021545, -0.13407428562641144, 0.8568304777145386, 0.10693386197090149, -0.02035205438733101, -0.484505295753479, -0.28462257981300354, 0.030496278777718544, -0.833787202835083, -0.3910026252269745, 0.4763362407684326, 0.11692403256893158, 0.3358670473098755, 0.7518330216407776, -0.12650679051876068, 0.140091672539711, 0.32487913966178894, 0.03435336798429489, 0.07466673851013184, -0.2582350969314575, -0.2447437047958374, -0.07142872363328934, 0.777165412902832, 0.13270732760429382, 0.5278973579406738, 0.10719215869903564, -0.2986115515232086, 0.15798154473304749, 0.3451986312866211, -0.7269274592399597, -0.2627880871295929, 0.09386983513832092, -0.3276909589767456, -0.07541922479867935, -0.36386802792549133, -0.6400002241134644, -0.6512506008148193, -0.13021479547023773, 0.4749811291694641, -0.011402411386370659, 0.10449714213609695, -0.1593037247657776, -0.12111040204763412, 0.055844806134700775, 0.2813877761363983, -1.0114389657974243, -0.2692897915840149, 0.6046638488769531, 0.4861387610435486, -0.4834991693496704, -0.2798464894294739, -0.2702895998954773, 0.1886286586523056, -0.354199081659317, 0.7168351411819458, -0.0849853903055191, -0.5888869762420654, -0.03694579750299454, -0.25857216119766235, 0.06611158698797226, -0.5538383722305298, 0.7787818908691406, -0.11168446391820908, 0.3266928195953369, -0.6141785383224487, -0.4028487503528595, 0.18220201134681702, 0.09108369052410126, -0.6281237006187439, 1.045148253440857, -0.22339986264705658, -0.7935276031494141, 0.4396025538444519, -0.25479045510292053, -0.45331481099128723, -0.2913009226322174, -0.6424076557159424, -0.4132951498031616, 0.4126339554786682, 0.39661869406700134, 0.4924693703651428, -0.54304438829422, 0.28029629588127136, -0.5618199706077576, -0.24869078397750854, 0.1957038789987564, -0.4644099771976471, 0.43367302417755127, 0.4785507917404175, -0.5747758746147156, -0.0724995955824852, -0.43509340286254883, -0.26419439911842346, 0.2282649576663971, -0.24069850146770477, -0.24258582293987274, -0.06675324589014053, -0.5883308053016663, 0.43373605608940125, 0.4832218289375305, -0.4462769329547882, 0.20272745192050934, -0.29395169019699097, 0.11295079439878464, 1.0710214376449585, -0.16540983319282532, 0.4447673559188843, -0.4402037262916565, 0.445689857006073, -0.1266033798456192, 0.08735297620296478, -0.18346112966537476, -0.3704703152179718, -1.1137527227401733, -0.1987062394618988, 0.09391559660434723, 0.06769423186779022, -0.405573308467865, -0.08412685990333557, -0.08819367736577988, -0.29951149225234985, -0.6151828765869141, 0.5239603519439697, 0.5662634372711182, 0.41038429737091064, 0.28178170323371887, -0.49688810110092163, -0.5135877728462219, -1.243363857269287, -0.7434350252151489, -0.2978767454624176, -0.023370783776044846, 0.24510352313518524, 0.33736926317214966, -0.26552310585975647, 1.0210314989089966, -0.29297247529029846, -0.5573156476020813, -0.2707754075527191, 0.16248589754104614, 0.268277108669281, 0.4314252436161041, 0.2745392918586731, -0.11183974146842957, -0.41809767484664917, -0.5319731831550598, -0.7831612825393677, -0.702877938747406, -0.1585933268070221, -0.22960518300533295, 0.2043130248785019, 0.29354262351989746, -0.4240807592868805, 0.27727487683296204, 0.5828532576560974, -0.4096831977367401, 0.8518627285957336, 0.09038610756397247, -0.050819382071495056, -0.672563910484314, -0.48939478397369385, 0.13419237732887268, -0.06442264467477798, -0.21543453633785248, 0.11100038141012192, 0.045583367347717285, 0.32908761501312256, -0.06435469537973404, 0.6286392211914062, -0.6596844792366028, -0.16536404192447662, -0.4117201566696167, 0.32250937819480896, 0.27441057562828064, 0.2193627506494522, -0.19428123533725739, 0.9325606822967529, 0.4088803231716156, -0.52388995885849, 0.04972328990697861, 0.09121501445770264, -0.04546753317117691, 0.384907990694046, -0.39430129528045654, 0.14393234252929688, -0.11445029824972153, 0.027914199978113174, -1.2343859672546387, -0.052334461361169815, 0.0117582306265831, -0.4277724027633667, 0.30228447914123535, -0.13481923937797546, -0.2748469412326813, -0.4705218970775604, -0.30329152941703796, 0.20374299585819244, 0.4944058060646057, -0.8286131620407104, 0.631262481212616, 0.2946174144744873, -0.2273801565170288, -0.8083344101905823, -1.1002154350280762, -0.21710114181041718, -0.19337905943393707, -0.6472079157829285, 0.23070834577083588, -0.17248034477233887, -0.5228700041770935, -0.44512075185775757, -0.4019027054309845, 0.15142874419689178, -0.2713046669960022, 0.4073430895805359, 0.030833322554826736, 0.057576969265937805, 0.3333663046360016, 0.003246536012738943, 0.19150838255882263, 0.49962252378463745, -0.11897267401218414, 0.4090944826602936, 0.13668671250343323, -0.42149972915649414, 0.014284900389611721, 0.10690204054117203, 0.3535768985748291, 0.08458523452281952, 0.2565351724624634, 0.3521249294281006, 0.34329745173454285, -0.4530378580093384, -1.0051171779632568, -0.48152345418930054, -0.485740602016449, 0.2828828990459442, -0.633472204208374, -1.095502257347107, 0.37271395325660706, 0.10287962108850479, 0.04970592260360718, 0.8538477420806885, 0.8654341697692871, -0.1277124285697937, 1.045226812362671, 0.4887722134590149, -0.1675453931093216, 0.3118462860584259, -0.1107293963432312, 0.09979952126741409, -0.844866156578064, 0.08803406357765198, -0.5983878374099731, -0.3210955262184143, -0.7672531604766846, -0.43387094140052795, 0.06313472986221313, -0.06403493881225586, -0.3044179379940033, -0.09881466627120972, -0.5950155258178711, 0.3843114972114563, 0.7172425985336304, -0.2828432619571686, 0.3512127101421356, -0.10755493491888046, -0.5129290223121643, -0.5368724465370178, -0.7386387586593628, -0.4713495373725891, 1.2881864309310913, 0.5617435574531555, 1.2951385974884033, 0.04849052429199219, 0.9005122184753418, 0.43482041358947754, 0.4461883306503296, -0.33223775029182434, 0.4564986824989319, -0.14225801825523376, -1.0690209865570068, -0.09672980010509491, -0.47196581959724426, -0.7536807656288147, 0.39404359459877014, 0.11195053905248642, -0.3400629162788391, 0.4296938478946686, 0.41627126932144165, 0.03366217017173767, -0.02878250926733017, -0.7326806783676147, 0.7819053530693054, -0.5393339991569519, -0.9813705682754517, -0.4426547586917877, -0.13243688642978668, 0.6883208751678467, -0.18265989422798157, 0.16262364387512207, -0.2876364588737488, 0.21743349730968475, 0.5324112772941589, -0.1551200896501541, 0.9862617254257202, 0.03161826729774475, -0.4195379316806793, 0.2827799618244171, 0.5203618407249451, 0.5993725657463074, 0.2627279758453369, -0.1804874688386917, 0.24365301430225372, -0.36436039209365845, -0.24355989694595337, -0.4418792724609375, 1.0405299663543701, -0.8430944681167603, -1.2197136878967285, -0.6904625296592712, -0.38590341806411743, -0.1894129514694214, -0.09912938624620438, 0.33836302161216736, 0.018260715529322624, -0.17882251739501953, -0.09877033531665802, 0.3925599157810211, -0.1719624549150467, 0.47154298424720764, 0.5175043940544128, -0.5762855410575867, -0.3200410008430481, 0.5293906331062317, 0.24619197845458984, 0.3250094950199127, -0.07617735117673874, 0.16924649477005005, -0.6101866364479065, -0.30883872509002686, -0.31343987584114075, 0.5643507838249207, -0.9153878688812256, -0.0946367159485817, -0.5459170937538147, -0.11640720814466476, -0.8632498979568481, 0.10386885702610016, -0.5937677025794983, -0.7113790512084961, -0.25084781646728516, -0.0806858018040657, -0.02569049969315529, 1.1415719985961914, -0.2528918385505676, 0.2700478434562683, -0.22338993847370148, 0.12452099472284317, 0.7908163666725159, 0.15528132021427155, -0.1378612220287323, -0.9257984161376953, -0.30154484510421753, -0.3094522953033447, -0.7836647629737854, -0.8726218342781067, 0.48040643334388733, -0.04955017566680908, 0.48824450373649597, 0.47427889704704285, 0.04993162676692009, 0.5856932997703552, -0.3017274737358093, 0.9238570332527161, 0.052981480956077576, -0.9714981913566589, 0.28101029992103577, -0.19156451523303986, 0.5402237772941589, 0.33441656827926636, 0.15365149080753326, -0.26760658621788025, -0.6944002509117126, -0.529664158821106, -0.6486992835998535, 0.4798309803009033, 0.2655961811542511, 0.17919707298278809, -0.2435738742351532, 0.2814826965332031, 0.12734216451644897, 0.25631293654441833, -1.2730035781860352, -0.3300401568412781, -0.284471720457077, 0.043131642043590546, -0.07301318645477295, -0.7812671065330505, -0.03764911741018295, 0.023730292916297913, 0.9351157546043396, -0.21573388576507568, 0.2919347882270813, 0.5881059765815735, -0.22080481052398682, -0.07853933423757553, 0.29729366302490234, 0.23538152873516083, 0.6028068661689758, 0.12439439445734024, 0.25346097350120544, 0.2615446448326111, -0.31091031432151794, 0.09696292132139206, -0.06328718364238739, -0.18151448667049408, 0.16286994516849518, 0.18146352469921112, 0.4727307856082916, -0.37110427021980286, -0.4013487994670868, 0.4100578725337982, 0.008778023533523083, 0.12276684492826462, -0.37896305322647095, 0.2445027083158493, -0.19981765747070312, 0.3524797558784485, 0.5139864087104797, -0.20706945657730103, 0.35116106271743774, -0.3990800082683563, 0.11268607527017593, 0.583591103553772, -0.3279930055141449, -0.07649201899766922, 0.8201633095741272, 0.24412769079208374, 0.08423669636249542, 0.3123888373374939, -0.16512995958328247, -0.4454271197319031, 0.32052376866340637, 0.651016116142273, 1.1268495321273804, -0.535842776298523, 0.06790447235107422, 0.4600328505039215, 0.4803805649280548, -0.0375494658946991, 0.1445750743150711, -0.008236057125031948, -0.7752867937088013, -0.8017879128456116, -0.7287859916687012, -0.07868191599845886, 0.1482204794883728, -0.23643387854099274, 0.2532706558704376, -0.28809651732444763, -0.3309766352176666, -0.488508015871048, -0.09866094589233398, -0.4856398105621338, 0.3335907757282257, 0.15691275894641876, 0.544987142086029, -0.5635555386543274, 0.8152311444282532, 0.3480396568775177, -0.307391881942749, -0.5386139154434204, 0.17774273455142975, 0.0925862267613411, -0.9255784749984741, 0.8908360600471497, 0.20714938640594482, -0.07284125685691833, -0.22619955241680145, -0.24540749192237854, -1.101636290550232, 0.7722307443618774, 0.5162445306777954, -0.8893231749534607, -0.03391718119382858, 0.33128219842910767, 0.5375794172286987, -0.4219520092010498, 0.4477017819881439, 0.5738388299942017, 0.3983832597732544, -0.13894318044185638, -0.9521067142486572, -0.07818178832530975, -0.015965064987540245, 0.07134406268596649, -0.003958734218031168, -0.8416821360588074, 0.8566358685493469, -0.22766850888729095, -0.06644462049007416, -0.10416601598262787, 0.8252372741699219, 0.3826923072338104, 0.07893574982881546, 0.274814248085022, 0.5473655462265015, 0.4210071861743927, -0.21270591020584106, 0.9477330446243286, -0.38769182562828064, 0.2622882127761841, 1.2933778762817383, -0.29619744420051575, 0.29723286628723145, 0.5981044173240662, -0.024601371958851814, 0.5145397186279297, 0.3734673857688904, -0.05917556956410408, 0.2972578704357147, 0.3483068346977234, -0.11274404078722, -0.32324227690696716, 0.07032007724046707, -0.35660383105278015, 0.3050611615180969, 0.20221148431301117, -0.8632903695106506, -0.05513666570186615, -0.1353355348110199, 0.1250186413526535, 0.1286701261997223, -0.4418700635433197, 0.6261534094810486, 0.20380531251430511, -1.002032995223999, 0.4415176808834076, -0.055550508201122284, 0.7026646137237549, -0.46271514892578125, 0.2811567485332489, -0.6087775230407715, 0.4188688397407532, -0.17844250798225403, -0.755021870136261, 0.22291330993175507, 0.02161950245499611, -0.3094082772731781, -0.4526587426662445, 0.8690623641014099, -0.30001941323280334, -0.22953839600086212, 0.5287841558456421, 0.673181414604187, 0.1273108869791031, -0.2851128578186035, -0.8495275974273682, 0.1137731745839119, 0.3966045379638672, -0.3759307265281677, 0.37595057487487793, 0.5313759446144104, 0.05534632131457329, 0.8502861857414246, 0.24863150715827942, 0.10645652562379837, 0.32995057106018066, 0.14545899629592896, 0.7297881841659546, -0.7107998728752136, -0.2837057411670685, -1.0484517812728882, 0.3146756589412689, -0.009318480268120766, -0.35846999287605286, 1.3970905542373657, 0.7004159688949585, 0.8546966314315796, -0.24554140865802765, 0.8767592310905457, 0.1782674342393875, 0.6469894051551819, -0.3070090115070343, 0.48522132635116577, -0.5014306902885437, 0.4452982246875763, -0.3544453978538513, -1.0217171907424927, 0.09417390823364258, 0.5440102815628052, -0.6147639155387878, 0.44373026490211487, 0.6194057464599609, 0.8594265580177307, 0.31273290514945984, -0.18037593364715576, 0.33711808919906616, 0.6330423355102539, 0.1951979249715805, 0.18453370034694672, 0.9875297546386719, -0.04950323328375816, 0.6403480768203735, -0.18552452325820923, -0.1035722866654396, -0.13585823774337769, -0.7498807311058044, -1.0400264263153076, -0.31051105260849, -0.323171466588974, -0.5710015892982483, 0.19550278782844543, 0.5917789340019226, 0.6631370186805725, -0.6708495020866394, -0.6106592416763306, -0.161695659160614, 0.25938040018081665, 0.0942753255367279, -0.21705269813537598, 0.0053450437262654305, -0.8818771243095398, -0.8339251279830933, 0.33372876048088074, 0.237396702170372, -0.03054565005004406, -0.8309459090232849, -0.19496621191501617, 0.09054839611053467, 0.30586254596710205, 0.36182495951652527, 0.060715388506650925, -0.7631834149360657, -0.035558801144361496, -0.13662658631801605, -0.28273144364356995, 0.18986184895038605, 0.8350637555122375, -0.8766395449638367, 0.636739194393158, 0.5800290703773499, 0.32141727209091187, 0.7415003776550293, 0.019180281087756157, 0.8086502552032471, -0.761496901512146, -0.31102871894836426, 0.11622066795825958, 0.5084240436553955, 0.3715173900127411, -0.4930833578109741, 0.6688810586929321, 0.35622289776802063, -1.0932729244232178, -0.5419319868087769, 0.44290292263031006, -0.23157109320163727, -0.41330111026763916, 1.143694519996643, 0.13409365713596344, -0.2257862091064453, 0.029616650193929672, -0.1910373717546463, 0.1509399265050888, -0.43676304817199707, 1.1190675497055054, 0.8949214816093445, -0.41237661242485046, -0.08504628390073776, -0.33259260654449463, 0.6520220041275024, 1.0109708309173584, -0.2642287313938141, 0.19186703860759735, 0.7272550463676453, 0.2514871060848236, 0.3238953649997711, 0.4139798581600189, -0.18702909350395203, -0.04936547577381134, -0.30897217988967896, 0.429186075925827, 0.32523447275161743, -0.36139926314353943, -0.5189475417137146, 0.16212421655654907, 0.3375067114830017, 0.16796359419822693 ]
http://arxiv.org/abs/2402.11432v2
http://arxiv.org/pdf/2402.11432v2
Can Deception Detection Go Deeper? Dataset, Evaluation, and Benchmark for Deception Reasoning
2024-02-18T02:52:54
2024-06-17T02:57:09
Kang Chen, Zheng Lian, Haiyang Sun, Bin Liu, Jianhua Tao
cs.CL
cs.CL
Deception detection has attracted increasing attention due to its importance in real-world scenarios. Its main goal is to detect deceptive behaviors from multimodal clues such as gestures, facial expressions, prosody, etc. However, these bases are usually subjective and related to personal habits. Therefore, we extend deception detection to deception reasoning, further providing objective evidence to support subjective judgment. Specifically, we provide potential lies and basic facts and then analyze why this sentence may be a lie by combining factual inconsistencies and intent behind them. Compared with deception detection, this task is more applicable to real-world scenarios. For example, in interrogation, the police should judge whether a person is lying based on solid evidence. This paper presents our initial attempts at this task, including constructing a dataset and defining evaluation metrics. Meanwhile, this task can serve as a benchmark for evaluating the complex reasoning capability of large language models. Code and data will be made publicly available.
[ -0.5000682473182678, -0.6274308562278748, 0.7869343161582947, 0.10608300566673279, -0.12589135766029358, -0.004345227964222431, -0.22540488839149475, -0.5866660475730896, -0.3639725148677826, 0.6265223026275635, -0.6828399300575256, -0.49298328161239624, -0.36514443159103394, -0.11825492233037949, -0.26574939489364624, 0.6719434857368469, 0.14746084809303284, 0.2268439084291458, -0.4388108253479004, -0.21817395091056824, -0.5476492643356323, -0.5307514667510986, -0.3559388816356659, -0.3637281656265259, 0.13111063838005066, 0.6032490730285645, 0.44358983635902405, 0.31993162631988525, 0.49885863065719604, 0.29796427488327026, 0.41912463307380676, 0.2281169593334198, -0.48310285806655884, 0.16646036505699158, -0.22657544910907745, -0.6400975584983826, -0.02197246439754963, 0.1527814120054245, 0.2744545042514801, 0.7282401323318481, 0.13734062016010284, 0.17652527987957, -0.4123704433441162, 0.4505918025970459, -0.6925966739654541, 0.15136761963367462, -0.15415766835212708, -0.04675234481692314, -0.10139212757349014, 0.13137823343276978, -0.4623187780380249, -0.42221367359161377, 0.19150137901306152, -0.3548734784126282, 0.3004815876483917, -0.009313177317380905, 0.7670379281044006, 0.1908423900604248, -0.5728854537010193, -0.4018374979496002, -0.8710901737213135, 0.7156511545181274, -0.4940919876098633, 0.46682313084602356, 0.312385231256485, 0.49277767539024353, 0.16216695308685303, -0.7335020303726196, -0.5959850549697876, -0.7990090847015381, -0.19951100647449493, 0.10407514870166779, -0.2073662132024765, -0.08628373593091965, 0.5782483816146851, 0.4196013808250427, -0.6104069352149963, -0.1922542005777359, 0.025307701900601387, -0.33778315782546997, 0.6609436869621277, 0.270450621843338, 0.13035815954208374, 0.13078252971172333, -0.25506407022476196, -0.36706453561782837, -0.33127617835998535, 0.18713654577732086, 0.637985110282898, 0.0424659363925457, -0.18847964704036713, 0.49688613414764404, -0.5204849243164062, 0.33290842175483704, 0.15008185803890228, -0.039749860763549805, 0.44288215041160583, -0.4626135230064392, -0.13143953680992126, 0.05008057877421379, 0.3273184597492218, 0.44482120871543884, 0.35688361525535583, 0.04059981554746628, -0.2090909332036972, 0.7934867739677429, 0.19322118163108826, -0.7824506163597107, -0.3539283275604248, 0.16152991354465485, -0.7619720697402954, -0.38844820857048035, 0.29302269220352173, -0.5697819590568542, -0.74659264087677, -0.4939120411872864, 0.1978030651807785, -0.457841157913208, -0.5357033610343933, 0.5066930651664734, -0.1860945075750351, 0.40232616662979126, 0.286795973777771, -0.10575472563505173, 0.5776874423027039, 0.9126176238059998, 0.45186150074005127, -0.03918737173080444, -0.09391415119171143, -0.5568349957466125, -0.21385802328586578, -0.28192266821861267, 0.6700994372367859, -0.7077522277832031, -0.037398386746644974, -0.003620404051616788, 0.09663593769073486, 0.2787599265575409, -0.5298108458518982, 1.2101296186447144, -0.2482253760099411, 0.37111419439315796, -0.24429069459438324, -0.5479098558425903, -0.3665073812007904, 0.5321524739265442, -0.7044084668159485, 0.7217950820922852, 0.06721602380275726, -0.39200302958488464, 0.34657540917396545, -0.6099914908409119, -0.6841990947723389, 0.0652727410197258, -0.1208295151591301, -0.6133992075920105, 0.21735495328903198, 0.2361212521791458, 0.3906218707561493, -0.5140494704246521, 0.4302951395511627, -0.4015325903892517, -0.48348164558410645, 0.8134673237800598, -0.8004847168922424, 0.8595712780952454, 0.25344762206077576, -0.47209811210632324, -0.3126471936702728, -0.6645873785018921, 0.021608829498291016, -0.004096546210348606, -0.1097971573472023, -0.3205578327178955, -0.22982636094093323, -0.029611453413963318, -0.09569834917783737, 0.10012632608413696, -0.7323601245880127, 0.19387800991535187, -0.20662611722946167, -0.08342450112104416, 0.3951154053211212, 0.04468917101621628, 0.22776199877262115, -0.1850876808166504, 0.4576128125190735, 0.205518439412117, 0.4144480228424072, -0.146511048078537, -0.337382972240448, -0.8202773332595825, -0.2631917893886566, 0.5281025767326355, 0.5281656384468079, -0.5863919854164124, 0.5745478272438049, -0.311910480260849, -0.34885430335998535, -0.5053337812423706, -0.3845963478088379, 0.7027750611305237, 0.5104855298995972, 0.2506486177444458, -0.14469729363918304, -0.5013368725776672, -1.0635721683502197, -0.552239716053009, -0.061768945306539536, -0.23064389824867249, 0.0954359695315361, 0.7904089689254761, -0.01601356826722622, 0.6781132221221924, -0.7737340927124023, -0.39568740129470825, -0.020173989236354828, 0.26549914479255676, 0.21501189470291138, 0.4991276264190674, 0.44619354605674744, -1.1238571405410767, -0.20758017897605896, -0.21777495741844177, -0.7587908506393433, -0.182125985622406, -0.21308258175849915, 0.13637249171733856, -0.1478220373392105, 0.41521453857421875, -0.5249155759811401, 0.42826229333877563, 0.2642412781715393, -0.6268326044082642, 0.7998307347297668, 0.2319452464580536, 0.362872838973999, -0.39727234840393066, -0.05011473968625069, 0.07902763038873672, -0.24783922731876373, -0.862499475479126, -0.013325031846761703, -0.056125491857528687, -0.009697947651147842, -0.27344346046447754, 0.4051814079284668, -0.4280550479888916, -0.10111399739980698, -0.07324975728988647, -0.19574713706970215, 0.07528132945299149, 0.3855498433113098, 0.14822247624397278, 0.3138006031513214, 0.7232961654663086, -0.531303882598877, 0.651552140712738, -0.024474114179611206, -0.8355671763420105, 1.1413015127182007, -0.4930986166000366, -0.024269163608551025, -0.1478482484817505, 0.36449170112609863, -0.9791035652160645, -0.44537267088890076, 0.5434961318969727, -0.7023637890815735, 0.04512259364128113, -0.17158403992652893, -0.3873841166496277, -0.14859485626220703, -0.40238815546035767, 0.2704898715019226, 0.282854288816452, -0.5425852537155151, 0.7210018634796143, 0.11658508330583572, 0.40909308195114136, -0.6467941999435425, -0.81021648645401, 0.20202329754829407, -0.13388235867023468, -0.623799204826355, 0.19578346610069275, -0.051445938646793365, -0.5052774548530579, -0.002913141855970025, -0.18527868390083313, 0.0028703762218356133, 0.052848901599645615, 0.31769901514053345, -0.03153836354613304, -0.13146592676639557, 0.2250450700521469, -0.25630614161491394, -0.24266661703586578, 0.3212503492832184, 0.017190510407090187, 0.44739821553230286, -0.5508933067321777, -0.6794763207435608, -0.7062070369720459, 0.35065537691116333, 0.4273853600025177, -0.23576824367046356, 0.34396594762802124, 0.7527649998664856, -0.4770045280456543, -0.07068125158548355, -0.8122118711471558, -0.4120401442050934, -0.45261240005493164, 0.10049499571323395, -0.7195194363594055, -0.5613932013511658, 0.40806469321250916, -0.3978046476840973, -0.31087127327919006, -0.009146329946815968, 0.3579101264476776, -0.03074859268963337, 1.204615592956543, 0.3538011610507965, 0.11371399462223053, 0.16429519653320312, -0.22945056855678558, 0.31929144263267517, -0.5627431273460388, -0.33841681480407715, -0.3714725077152252, -0.2817651033401489, -0.6726247668266296, -0.33486172556877136, 0.25529199838638306, -0.2286214828491211, -0.10741691291332245, 0.007315364666283131, -0.394618421792984, 0.6007072925567627, 0.43151628971099854, 0.40483561158180237, 0.2869158387184143, -0.1966167390346527, 0.2713199257850647, 0.027880359441041946, -0.10292510688304901, -0.4615636467933655, 0.9092786312103271, 0.4407908618450165, 0.6692612171173096, 0.15454022586345673, 0.25012314319610596, 0.5045570135116577, 0.3288000524044037, -0.8418781757354736, 0.7615995407104492, -0.07423648983240128, -0.7053414583206177, -0.23126888275146484, -0.3151527941226959, -0.7381059527397156, 0.23880897462368011, 0.01253539975732565, -0.29963552951812744, 0.4316141605377197, -0.21232952177524567, -0.0013861703919246793, -0.16784845292568207, -0.7754940986633301, 0.8370289206504822, -0.4661325514316559, -0.31422728300094604, -0.2203972041606903, -0.8315868973731995, 0.7199394106864929, 0.362862229347229, 0.0992952510714531, -0.32248738408088684, -0.1354358047246933, 0.5810235738754272, -0.03337159752845764, 0.9181976914405823, -0.5864830613136292, -0.11192747205495834, 0.11605499684810638, 0.11847779899835587, 0.3615800440311432, 0.18644210696220398, 0.025750411674380302, 0.07152263075113297, -0.1794167459011078, -0.22798636555671692, -0.8781922459602356, 0.5013986229896545, -0.2677101194858551, -0.3259166181087494, -0.37160512804985046, -0.34827426075935364, -0.5746264457702637, 0.0951874628663063, 0.09871284663677216, 0.5438453555107117, -0.33600369095802307, 0.42672306299209595, 0.9598366618156433, 0.03713228181004524, -0.024722890928387642, 0.6181098818778992, -0.0406368151307106, -0.11052634567022324, 0.8337101936340332, -0.3075394630432129, -0.03712886571884155, 0.37679702043533325, 0.5881567001342773, -0.5720896124839783, -0.48249632120132446, -0.029896780848503113, 0.26979413628578186, -0.8545927405357361, -0.2255629003047943, -0.11170797049999237, 0.173745796084404, -0.31682828068733215, 0.11171913146972656, -0.18206332623958588, -0.1632930040359497, 0.034549012780189514, -0.031498417258262634, 0.026511628180742264, 0.42130792140960693, -0.08778491616249084, 0.19568297266960144, -0.3803325295448303, 0.7103211283683777, 0.38725990056991577, 0.3585183918476105, -0.2567223310470581, -0.3441905677318573, 0.05482443422079086, 0.2955065369606018, 0.1386541873216629, -0.7078749537467957, 0.07375822961330414, -0.09236384183168411, 0.407478392124176, 0.4781031012535095, 0.2223152369260788, 0.4934800863265991, 0.0197434164583683, 0.6066862344741821, 0.1474648267030716, -0.9755104780197144, 0.4607986807823181, -0.10581397265195847, 0.17910827696323395, 0.679446280002594, 0.4660254716873169, -0.5170552134513855, -0.06118720397353172, -0.5982016324996948, -0.04810565337538719, 0.5973720550537109, 0.2713702619075775, 0.08124972879886627, 0.4958351254463196, 0.3186396062374115, 0.216449573636055, 0.3612034320831299, -0.6676003336906433, -0.2238892763853073, -0.05568934604525566, -0.3486638367176056, -0.038726743310689926, -0.015267743729054928, -0.42998644709587097, -0.367524653673172, 0.3207516372203827, -0.4040374159812927, 0.38525301218032837, 0.037737783044576645, -0.19310617446899414, 0.22102656960487366, 0.10498251765966415, 0.5304532647132874, 0.6212399005889893, -0.03738422691822052, 0.24428336322307587, 0.0317242331802845, -0.49980300664901733, 0.13768136501312256, 0.03334394469857216, -0.07571449875831604, -0.15956903994083405, 0.7369456887245178, 0.6889467835426331, -0.02947346866130829, -0.8819278478622437, 1.0197428464889526, -0.31703275442123413, -0.36103981733322144, -0.402329683303833, 0.09078668057918549, -0.08169029653072357, 0.4643068313598633, 0.26253825426101685, 0.11059219390153885, 0.4980778098106384, -0.893742024898529, 0.2670833468437195, 0.49074238538742065, -0.3918974697589874, -0.20881199836730957, 0.0571465864777565, 0.16616907715797424, -0.12468472868204117, 0.677341103553772, -0.20575517416000366, -0.8664781451225281, 0.5900929570198059, 0.26336532831192017, 0.7439531683921814, -0.3323754668235779, 0.31329086422920227, -0.09870724380016327, 0.4284156560897827, -0.08513758331537247, 0.5541451573371887, -0.2390516698360443, -0.9061794877052307, -0.3112719655036926, -0.2653995752334595, -0.39444389939308167, 0.4428517520427704, -0.6873218417167664, 0.1914498209953308, -0.33196738362312317, 0.06987453252077103, 0.06823526322841644, 0.19898700714111328, -0.6352170705795288, 0.6251324415206909, 0.3864738345146179, 0.7305383086204529, -0.9317325353622437, 0.4929523766040802, 0.2530454695224762, -0.23714421689510345, -0.14592190086841583, 0.1976357102394104, -0.03298217058181763, -0.7630898356437683, 0.5188082456588745, 0.520270586013794, -0.42403459548950195, -0.39687874913215637, -1.0939359664916992, -0.37101927399635315, 0.6130186915397644, 0.40040159225463867, -0.5709661245346069, 0.2599031925201416, 0.29366207122802734, 0.8345633745193481, -0.67559415102005, 0.08892224729061127, 1.0013227462768555, 0.9400319457054138, 0.0733482837677002, -0.4726891815662384, 0.2892221212387085, -0.07948512583971024, -0.24754230678081512, -0.0323571115732193, -0.5132619142532349, 0.8081761002540588, 0.01329744327813387, -0.32800474762916565, -0.04105692356824875, 0.4922657608985901, 0.024845125153660774, 0.5036842823028564, 0.7514572739601135, 0.6158674955368042, 0.8735512495040894, -0.38158291578292847, 1.0723999738693237, 0.18130135536193848, 0.0699167475104332, 1.1849188804626465, -0.4916369318962097, 0.40092307329177856, 0.0265444815158844, -0.08854088187217712, 0.7524850964546204, 0.4124015271663666, -0.35366058349609375, 0.6183575391769409, 0.33654502034187317, -0.28687989711761475, -0.5744670629501343, -0.3233402669429779, -0.18943734467029572, 0.7180508375167847, 0.798814058303833, -0.08131984621286392, 0.01097218506038189, 0.33883652091026306, -0.07541505992412567, 0.06615869700908661, -0.2787654399871826, 0.5830880999565125, -0.2502864897251129, -0.7060149908065796, 0.40747037529945374, -0.03226974606513977, 0.4497312009334564, -0.2804013192653656, -0.22997047007083893, 0.0031475231517106295, 0.5285939574241638, -0.39426207542419434, -1.2119184732437134, 0.07188541442155838, -0.21844162046909332, 0.17192719876766205, -0.18681758642196655, 1.0898771286010742, -0.27577322721481323, -0.17934435606002808, 0.04697278514504433, 0.36869487166404724, 0.19685503840446472, -0.524264931678772, -0.832991898059845, 0.18417033553123474, -0.07616749405860901, -0.25177422165870667, -0.08670765906572342, 0.3424438238143921, 0.0025973638985306025, 0.7957977652549744, 0.9177563190460205, -0.2585437297821045, -0.17960232496261597, 0.48246634006500244, 0.7873634099960327, -0.4878448247909546, -0.4054826498031616, -0.671127438545227, 0.4858291745185852, -0.5417795777320862, -0.2822885513305664, 0.8387405276298523, 0.7154418230056763, 0.8757256865501404, -0.1652592271566391, 0.8741000890731812, -0.03540082648396492, 0.6134767532348633, -0.5554196238517761, 0.12099474668502808, -0.2513592541217804, 0.04706607386469841, 0.10559654235839844, -0.698771595954895, -0.34236380457878113, 0.6517313122749329, -0.3607081472873688, -0.0168082807213068, 0.6887863278388977, 0.6628117561340332, -0.3063724637031555, 0.34404492378234863, 0.2809787392616272, 0.09460972249507904, 0.35986608266830444, 0.5675636529922485, 1.2182749509811401, -0.5920983552932739, 0.5702489018440247, -0.2953028380870819, -0.2801719307899475, -0.40881475806236267, -0.7806767821311951, -0.9589770436286926, -0.47394028306007385, -0.3284308612346649, -0.33970290422439575, -0.22835402190685272, 0.32584863901138306, 0.6373611092567444, -0.7496221661567688, -0.10196434706449509, -0.12979137897491455, 0.10033465921878815, -0.4434072971343994, -0.2970198392868042, 0.09932836890220642, 0.1319134533405304, -0.5890102982521057, 0.5075544118881226, 0.07152830809354782, -0.021624045446515083, -0.614317774772644, -0.13027970492839813, -0.14621256291866302, 0.11788433790206909, 0.5603749752044678, 0.0630810484290123, -0.5535947680473328, -0.3771459758281708, -0.04326878488063812, 0.08592557162046432, 0.10203211009502411, 1.133607029914856, -0.835318922996521, 0.37259963154792786, 0.5066923499107361, 0.4539203643798828, 0.7858763337135315, 0.09431370347738266, 0.32786253094673157, -0.858822762966156, -0.09449544548988342, 0.6972697377204895, 0.07087920606136322, 0.37451857328414917, -0.3832171559333801, 0.711714506149292, 0.2468446046113968, -0.2963307201862335, -1.1271746158599854, 0.5558151006698608, -0.8840342164039612, -0.42598825693130493, 0.8632510304450989, -0.08282700926065445, -0.20880718529224396, -0.5234277248382568, -0.2573529779911041, 0.008405093103647232, -0.26465538144111633, 0.5339577198028564, 0.7831538319587708, -0.42328914999961853, -0.11951965093612671, -0.200726717710495, 0.5911431312561035, 0.11761493980884552, -1.1317435503005981, 0.3378584384918213, 0.6768489480018616, 0.28704941272735596, 0.48776859045028687, 0.33829936385154724, 0.08401348441839218, 0.5481496453285217, 0.21200419962406158, -0.27792397141456604, -0.07780642062425613, -0.45474955439567566, -0.48926231265068054, 0.23196059465408325, -0.45820900797843933, -0.15324710309505463 ]
http://arxiv.org/abs/2402.11430v1
http://arxiv.org/pdf/2402.11430v1
EventRL: Enhancing Event Extraction with Outcome Supervision for Large Language Models
2024-02-18T02:41:06
2024-02-18T02:41:06
Jun Gao, Huan Zhao, Wei Wang, Changlong Yu, Ruifeng Xu
cs.CL
cs.CL
In this study, we present EventRL, a reinforcement learning approach developed to enhance event extraction for large language models (LLMs). EventRL utilizes outcome supervision with specific reward functions to tackle prevalent challenges in LLMs, such as instruction following and hallucination, manifested as the mismatch of event structure and the generation of undefined event types. We evaluate EventRL against existing methods like Few-Shot Prompting (FSP) (based on GPT4) and Supervised Fine-Tuning (SFT) across various LLMs, including GPT-4, LLaMa, and CodeLLaMa models. Our findings show that EventRL significantly outperforms these conventional approaches by improving the performance in identifying and structuring events, particularly in handling novel event types. The study emphasizes the critical role of reward function selection and demonstrates the benefits of incorporating code data for better event extraction. While increasing model size leads to higher accuracy, maintaining the ability to generalize is essential to avoid overfitting.
[ -0.08985072374343872, -0.7993544340133667, 0.5595342516899109, 0.1367175132036209, -0.111516572535038, 0.10462407767772675, -0.5452783703804016, -0.43176737427711487, -0.035435061901807785, 0.3348267674446106, -0.456265926361084, -0.5178900361061096, -0.5462170243263245, -0.04209303855895996, -0.2991884648799896, 1.3669328689575195, -0.1784987896680832, -0.08117911964654922, 0.01665329560637474, 0.3485797941684723, -0.18973608314990997, -0.6524617671966553, -1.3168398141860962, -0.480629026889801, 0.8001838326454163, 0.43600237369537354, 0.15118750929832458, 0.38074755668640137, 0.48579856753349304, 0.19844499230384827, -0.21162854135036469, 0.4806284010410309, -0.6807959079742432, 0.08288345485925674, -0.1001514419913292, -0.3144834339618683, -0.3869084417819977, -0.3056914508342743, 0.5443530678749084, 0.26322370767593384, -0.5059801340103149, 0.02466876432299614, 0.09183400124311447, 0.42508694529533386, -0.7030274271965027, 0.4279835820198059, -0.5359846949577332, 0.2945714294910431, -0.16807027161121368, -0.5545411705970764, -0.7790340781211853, -0.3277910053730011, -0.09370289742946625, -0.4704630374908447, 0.04668648540973663, 0.03357437998056412, 0.6378945708274841, 0.24107585847377777, -0.3755144774913788, -0.4125564992427826, -0.7949028611183167, 0.8215256333351135, -0.7020430564880371, 0.24804793298244476, 0.36068278551101685, 0.37393420934677124, -0.3664024770259857, -0.6940302848815918, -0.4286252558231354, -0.3020332455635071, -0.007890176959335804, 0.049839578568935394, 0.044867996126413345, 0.20741543173789978, 0.40717095136642456, -0.057145118713378906, -0.5840542316436768, 0.4361151158809662, -0.29300978779792786, -0.002944251289591193, 0.746751070022583, 0.4156401753425598, 0.16977716982364655, -0.11665765196084976, -0.17924481630325317, -0.18524911999702454, -0.9572761058807373, 0.2610577940940857, 0.2737126052379608, 0.4624972343444824, -0.015116479247808456, 0.4361128509044647, -0.1920447051525116, 0.4660768210887909, -0.06295787543058395, -0.015427185222506523, 0.06174590438604355, -0.21993565559387207, -0.18731403350830078, 0.34661945700645447, 0.6142364144325256, -0.025392800569534302, 0.34181898832321167, -0.2066914141178131, -0.3061026930809021, -0.3265295922756195, 0.24191002547740936, -0.8007915019989014, -0.34593260288238525, 0.2208629697561264, -0.48066258430480957, -0.6102622151374817, 0.08273087441921234, -0.8098316192626953, -0.38021084666252136, -0.2257738709449768, 0.33821338415145874, -0.39616453647613525, -0.23153777420520782, 0.08944781869649887, -0.04627423360943794, 0.5045242309570312, 0.5983858704566956, -0.9725369215011597, 0.20587846636772156, 0.922237753868103, 0.6148890256881714, -0.8193493485450745, -0.1773744523525238, -1.3699747323989868, 0.12098008394241333, -0.40013259649276733, 0.6071358919143677, -0.5525326728820801, -0.24403606355190277, 0.0669264942407608, -0.052401650696992874, -0.006680611986666918, -0.4768277704715729, 0.5279935002326965, -0.8152783513069153, -0.034229911863803864, 0.08941329270601273, -0.6408863663673401, 0.06609033048152924, 0.11271966248750687, -0.5017760396003723, 1.080283761024475, -0.0756152868270874, -0.3437671363353729, 0.3879091143608093, -0.6987119317054749, -0.5631421804428101, 0.18824425339698792, -0.41210436820983887, -0.5368849039077759, 0.20008544623851776, 0.3194347023963928, 0.5048658847808838, 0.1523149013519287, 0.42796215415000916, -0.23238518834114075, -0.20737583935260773, 0.3917621076107025, -0.4097437560558319, 0.2524448037147522, 0.1850106418132782, -0.3434145152568817, 0.4836680591106415, -0.8153021335601807, 0.01025297213345766, 0.04346686601638794, -0.5941824913024902, -0.16689112782478333, 0.34382468461990356, 0.19927869737148285, 0.3392813801765442, 0.22428740561008453, -0.3507232367992401, 0.3377874791622162, -0.455739289522171, 0.1053958311676979, 0.8476144075393677, 0.28205907344818115, 0.2309482991695404, -0.09123494476079941, 0.7308714985847473, 0.0016521284123882651, 0.14711758494377136, -0.22296439111232758, -0.21743294596672058, -0.6032730937004089, -0.27800634503364563, 0.25426000356674194, 0.42312535643577576, -0.938820481300354, 0.2860155999660492, 0.09770683199167252, -0.04484863951802254, -0.2134195864200592, 0.06549317389726639, 0.6257963180541992, 0.23041759431362152, 0.24227720499038696, -0.04451476037502289, -0.9177019596099854, -0.4034384489059448, 0.03756239637732506, -0.17596182227134705, 0.13569201529026031, -0.026635777205228806, 0.3840535283088684, 0.024049535393714905, 0.7522278428077698, -0.3834117352962494, -0.2976391315460205, -0.6695606112480164, 0.35482436418533325, 0.21185646951198578, 0.35589346289634705, 0.1908065676689148, -0.6922588348388672, -0.2799297571182251, 0.4650355875492096, -0.6665394306182861, -0.007474953308701515, -0.28415367007255554, 0.18519191443920135, 0.6867456436157227, 0.5776859521865845, -0.3298778831958771, 0.5107448697090149, 0.4112658202648163, -0.44878292083740234, 0.7357891201972961, -0.15631979703903198, 0.14548924565315247, -0.667711079120636, -0.02536522038280964, -0.17397458851337433, -0.4502360224723816, -0.5632650852203369, -0.013952216133475304, 0.0810266062617302, 0.23017126321792603, -0.6279634833335876, 0.6066466569900513, -0.2334083467721939, -0.3865111768245697, -0.46595510840415955, 0.059193190187215805, -0.25147363543510437, 0.5641883611679077, 0.40645894408226013, 0.5677980184555054, 0.17108476161956787, -0.6593140363693237, 0.37562811374664307, 0.2812320590019226, -0.4179646968841553, 0.0022634679917246103, -0.4975295066833496, 0.0181717649102211, 0.14264872670173645, 0.11496610939502716, -0.610711932182312, -0.1653870791196823, -0.016975868493318558, -0.5108504891395569, 0.38622385263442993, -0.15386754274368286, -0.3933027386665344, -0.005437844432890415, -0.27121615409851074, -0.051176153123378754, 0.623916745185852, -0.7818131446838379, 0.3791281282901764, 0.11655402183532715, -0.34893345832824707, -0.5146849751472473, -0.3628281056880951, -0.12049967050552368, -0.2392711043357849, 0.0904514268040657, 0.05989408865571022, 0.11073436588048935, -0.17980749905109406, 0.02806093916296959, -0.1500336229801178, 0.027595963329076767, 0.1319468915462494, 0.09481614083051682, 0.2893424928188324, -0.14035958051681519, 0.22882604598999023, -0.06302456557750702, -0.041601356118917465, -0.05399632826447487, -0.06127329170703888, 0.5786210894584656, -0.029722994193434715, -0.5672567486763, -0.4847322404384613, 0.21476778388023376, 0.023891672492027283, -0.24755509197711945, 0.633966326713562, 0.8403428792953491, -0.2609756886959076, -0.5103058218955994, -0.3826175332069397, -0.3554432988166809, -0.4526183009147644, 0.6003608107566833, -0.33517900109291077, -1.2864799499511719, 0.3245537281036377, 0.07420191913843155, 0.03840776905417442, 0.17953889071941376, 0.6225789189338684, -0.07708888500928879, 1.2984323501586914, 0.5982047915458679, -0.13276927173137665, 0.9081017374992371, 0.0443694069981575, 0.04340321198105812, -0.899293839931488, -0.3312879204750061, -0.379440575838089, -0.12245941907167435, -0.3323494791984558, -0.39447757601737976, 0.22465349733829498, 0.3302440643310547, -0.1994924545288086, 0.11212588101625443, -0.23384058475494385, 0.45584556460380554, 0.40058526396751404, -0.13303007185459137, 0.47717684507369995, -0.1478414535522461, 0.22199484705924988, -0.13114234805107117, -0.820113480091095, -0.4260527789592743, 0.9995661973953247, 0.2687552273273468, 0.9175621271133423, 0.07818873226642609, 1.0672129392623901, 0.3316909968852997, 0.2026900351047516, -0.6286452412605286, 0.35563763976097107, 0.015811165794730186, -0.13099439442157745, -0.6212797164916992, -0.5638687014579773, -1.0310717821121216, 0.24181394279003143, -0.06850394606590271, -1.1333824396133423, 0.06596434861421585, 0.17419110238552094, -0.35939979553222656, 0.11741383373737335, -0.39526164531707764, 0.8324660062789917, -0.27984607219696045, -0.21813802421092987, -0.32840704917907715, -0.2621372938156128, 0.3818677067756653, -0.06355680525302887, 0.3757580816745758, 0.06806692481040955, 0.08258106559515, 0.749591052532196, -0.08960258960723877, 0.9434201717376709, -0.014735923148691654, -0.21757006645202637, 0.1173044815659523, 0.31293460726737976, 1.1246565580368042, 0.19376610219478607, 0.0054907179437577724, -0.4133661985397339, 0.04972570762038231, 0.08531320840120316, -0.754123330116272, 0.5423670411109924, -0.623854398727417, -0.21071340143680573, -0.1856878101825714, -0.334452360868454, -0.12388092279434204, -0.2678297162055969, -0.015828317031264305, 0.6365377306938171, -0.23675891757011414, 0.14460083842277527, 0.8417811393737793, -0.44120821356773376, 0.6495397090911865, 0.7423688769340515, -0.540003776550293, -0.28460484743118286, 1.128978967666626, -0.38561031222343445, 0.1926366686820984, 0.555324375629425, 0.03903380036354065, -0.2187419980764389, -0.6686591506004333, -0.20868688821792603, -0.0715608149766922, -0.6572374701499939, -0.29703289270401, -0.723960816860199, -0.29443955421447754, -0.39905717968940735, -0.25116488337516785, -0.44189372658729553, -0.4490542709827423, -0.447426438331604, -0.3671044409275055, 0.4359768033027649, 0.7625442743301392, -0.19016118347644806, 0.3207162022590637, -0.7468834519386292, 0.19970369338989258, 0.0482512041926384, 0.11008143424987793, 0.05318579077720642, -0.6331073641777039, -0.33092573285102844, -0.5999796390533447, -0.3198520243167877, -0.7280473709106445, 0.6275517344474792, 0.3780721127986908, 0.7527225613594055, 0.3854234516620636, 0.032042134553194046, 0.6007328033447266, -0.6792658567428589, 0.7167018055915833, 0.2712567150592804, -0.9478775262832642, 0.8220227956771851, -0.27670443058013916, 0.13636350631713867, 0.21098646521568298, 0.19469912350177765, -0.7804287075996399, -0.6548970341682434, -0.8846067786216736, -0.9033973217010498, 1.0718367099761963, 0.02243002876639366, -0.290755033493042, -0.1460782140493393, 0.17612820863723755, 0.03616299852728844, 0.22567355632781982, -0.9231392741203308, 0.13798047602176666, 0.36126279830932617, -0.4173276722431183, -0.261718213558197, -0.21966552734375, 0.026692574843764305, -0.049695633351802826, 0.7244952917098999, -0.2604008913040161, 0.07620283216238022, 0.04134850576519966, -0.2905970513820648, -0.17619046568870544, 0.3582111597061157, 0.6793251037597656, 0.6479418277740479, -0.031019777059555054, 0.10156168043613434, 0.46158885955810547, -0.02352803573012352, -0.13712191581726074, -0.015262353233993053, 0.15302111208438873, -0.19475410878658295, 0.8290736675262451, 1.0168315172195435, 0.636289119720459, -1.0554882287979126, 0.4224233329296112, 0.07161739468574524, -0.16515754163265228, -0.2898337244987488, 0.3676249384880066, -0.1634812206029892, 0.7328682541847229, 0.36851465702056885, -0.7523689270019531, 0.27849841117858887, -0.4114527106285095, 0.646952211856842, 0.2608441412448883, -0.5396413207054138, -0.3563561737537384, 0.5200438499450684, 0.05227336660027504, -0.27924516797065735, 0.49191904067993164, -0.47136616706848145, -0.5722016096115112, 0.8765131235122681, 0.6709157824516296, 0.6759582161903381, -0.15880389511585236, 0.4406122863292694, 0.37425267696380615, 0.26588207483291626, -0.158537358045578, 0.2806656062602997, -0.05111662298440933, -0.601944625377655, -1.00836980342865, -0.9207248687744141, -0.5899651646614075, 0.2419942319393158, -0.7346147298812866, 0.26248255372047424, -0.19757433235645294, 0.3526122570037842, -0.1822529435157776, -0.02661302499473095, -0.3891080915927887, -0.13548749685287476, 0.397203654050827, 0.7517666220664978, -0.7297608256340027, 1.0367850065231323, 0.5845590233802795, -0.48189541697502136, -0.9605124592781067, -0.3429741859436035, 0.15267623960971832, -0.5602359771728516, 1.1567107439041138, -0.1695978045463562, 0.1700376719236374, 0.1309397667646408, -0.3336518108844757, -0.7556131482124329, 0.8060650825500488, 0.012791939079761505, -0.6260608434677124, -0.09622444957494736, -0.1373445838689804, 0.6021672487258911, -0.4649609327316284, 0.28869014978408813, 0.698161244392395, 0.2816828787326813, 0.29703500866889954, -0.8288304209709167, -0.04128875210881233, 0.24561578035354614, 0.10340384393930435, 0.38879871368408203, -0.15683916211128235, 0.5849888324737549, -0.22532591223716736, -0.04409589245915413, -0.10997331887483597, 0.6486868858337402, 0.5758168697357178, 0.20029354095458984, 0.22019371390342712, 0.17060363292694092, 0.6778926849365234, -0.029345544055104256, 1.026119351387024, 0.3441297113895416, 0.559088945388794, 1.410962700843811, -0.5066875219345093, 1.0252095460891724, 0.5336578488349915, -0.13760723173618317, 0.23734985291957855, 0.6905057430267334, 0.22976051270961761, 0.8284907937049866, 0.28996604681015015, -0.1510086953639984, -0.4567570984363556, 0.17112790048122406, -0.190236434340477, 0.3765510618686676, 0.44098231196403503, -0.07110100239515305, -0.42526930570602417, 0.30662035942077637, -0.1526799499988556, -0.13190780580043793, -0.3509853482246399, 1.1965198516845703, 0.18288654088974, -0.6367696523666382, 0.2392578125, -0.05818966403603554, 0.5833731889724731, -0.6965813040733337, -0.279483437538147, -0.17473377287387848, 0.3238179683685303, -0.15547555685043335, -0.6748121976852417, 0.38101157546043396, 0.14718841016292572, 0.11961148679256439, -0.22266417741775513, 0.705167829990387, -0.6309547424316406, -0.12201657891273499, 0.464836984872818, 0.2986597716808319, 0.17633062601089478, 0.14172659814357758, -0.5116372108459473, 0.5055355429649353, 0.082711361348629, -0.6789492964744568, 0.5762699246406555, 0.6589949727058411, -0.16824856400489807, 0.5917909145355225, 0.6425268650054932, 0.39110541343688965, 0.052692752331495285, 0.2275603860616684, 0.6068509221076965, -0.6815992593765259, -0.522055983543396, -1.0405694246292114, 0.42742669582366943, -0.29039230942726135, -0.29335132241249084, 0.386452317237854, 0.5374966263771057, 0.8670554161071777, 0.0014610328944399953, 0.7230024337768555, -0.09468457102775574, 0.2959239184856415, -0.8744166493415833, 0.3233930766582489, -0.4615185856819153, 0.21126119792461395, -0.18156008422374725, -0.6223767399787903, -0.29226770997047424, 0.6034768223762512, -0.43895062804222107, -0.24616596102714539, 0.708977460861206, 0.6689908504486084, 0.1285201460123062, 0.047417543828487396, 0.5240925550460815, -0.07472804188728333, 0.7011173963546753, 0.7367534041404724, 1.1980665922164917, 0.02279384806752205, 0.5884407758712769, 0.2782765328884125, -0.24548844993114471, -0.6236499547958374, -1.0100122690200806, -0.8083671927452087, -0.5903613567352295, -0.47501182556152344, -0.021530045196413994, 0.5201675891876221, 1.1646448373794556, 0.5892772674560547, -1.090334177017212, -0.23587599396705627, -0.018263226374983788, 0.30458617210388184, -0.36917707324028015, -0.2330217957496643, 0.33183616399765015, -1.08046555519104, -0.640021026134491, 0.5479249954223633, 0.2618643045425415, -0.2550625205039978, 0.15466026961803436, -0.33991333842277527, -0.04444264993071556, -0.19602617621421814, 0.8196872472763062, 0.4510899782180786, -0.5649251937866211, -0.5124712586402893, -0.408570259809494, -0.11384637653827667, -0.0920068770647049, 0.7399206161499023, -0.5288224220275879, -0.04593773931264877, 0.26865535974502563, 0.9237928986549377, 0.9502981305122375, -0.318148672580719, 0.6070088148117065, -1.0535460710525513, 0.10959792882204056, 0.15005268156528473, 0.2496238350868225, -0.09456077963113785, -0.48629334568977356, 0.7027375102043152, -0.16705872118473053, -0.6232059597969055, -0.9862270355224609, 0.36965903639793396, -0.9188897013664246, -0.2576034963130951, 1.462372064590454, 0.032905105501413345, -0.15852588415145874, 0.09263066947460175, -0.25996172428131104, 0.3082033097743988, -0.4447963833808899, 0.7393541932106018, 0.6876791715621948, -0.5110900402069092, -0.5053301453590393, -0.8411412239074707, 0.8893517255783081, 0.22874456644058228, -1.1988937854766846, 0.2723124027252197, 0.5145274996757507, 0.06422387063503265, -0.2657806873321533, 0.6511725783348083, -0.15424147248268127, 0.4377003610134125, -0.5549167990684509, 0.42074519395828247, -0.04290361702442169, -0.5046870708465576, -0.7070388197898865, 0.11938031017780304, 0.23509059846401215, -0.08876190334558487 ]
http://arxiv.org/abs/2402.11422v1
http://arxiv.org/pdf/2402.11422v1
Mitigating Catastrophic Forgetting in Multi-domain Chinese Spelling Correction by Multi-stage Knowledge Transfer Framework
2024-02-18T01:46:46
2024-02-18T01:46:46
Peng Xing, Yinghui Li, Shirong Ma, Xinnian Liang, Haojing Huang, Yangning Li, Hai-Tao Zheng, Wenhao Jiang, Ying Shen
cs.CL
cs.CL
Chinese Spelling Correction (CSC) aims to detect and correct spelling errors in given sentences. Recently, multi-domain CSC has gradually attracted the attention of researchers because it is more practicable. In this paper, we focus on the key flaw of the CSC model when adapting to multi-domain scenarios: the tendency to forget previously acquired knowledge upon learning new domain-specific knowledge (i.e., catastrophic forgetting). To address this, we propose a novel model-agnostic Multi-stage Knowledge Transfer (MKT) framework, which utilizes a continuously evolving teacher model for knowledge transfer in each domain, rather than focusing solely on new domain knowledge. It deserves to be mentioned that we are the first to apply continual learning methods to the multi-domain CSC task. Experiments prove the effectiveness of our proposed method, and further analyses demonstrate the importance of overcoming catastrophic forgetting for improving the model performance.
[ 0.2090897113084793, -0.5497124791145325, 0.4966032803058624, 0.21573993563652039, 0.24753674864768982, 0.46548888087272644, -0.08426038175821304, -0.12372392416000366, -0.21508024632930756, 0.18167270720005035, -0.805609405040741, -0.42871978878974915, -0.5311137437820435, -0.00607430562376976, -0.17752091586589813, 0.6733120083808899, -0.22782056033611298, -0.09534688293933868, -0.10488134622573853, -0.10916886478662491, -0.7568142414093018, -0.6716122627258301, -1.2642663717269897, -0.2564334571361542, 0.7115718722343445, 0.6477628350257874, 0.3627954125404358, 0.23003476858139038, 0.21849170327186584, 0.16875609755516052, -0.07424887269735336, 0.6044558882713318, -0.502432107925415, -0.1850893348455429, -0.29939553141593933, -0.35263705253601074, -0.4164954423904419, -0.19848217070102692, 0.9578646421432495, 0.8376091122627258, -0.42455700039863586, -0.19032983481884003, 0.4281381666660309, 0.7168479561805725, -0.8060570359230042, 0.04677015542984009, -0.8906712532043457, 0.23910894989967346, 0.012553418055176735, -0.23868092894554138, -0.8017669916152954, -0.23080039024353027, 0.22418813407421112, -0.906798779964447, 0.4707357883453369, -0.11266074329614639, 0.6301258206367493, -0.11352960765361786, -0.47881707549095154, -0.3843446671962738, -1.0025800466537476, 0.7564806342124939, -0.5760775804519653, 0.3460827171802521, 0.35131582617759705, 0.35365939140319824, -0.21233077347278595, -0.6336013078689575, -0.6710119843482971, -0.22483627498149872, 0.3413124084472656, 0.40871328115463257, 0.33085060119628906, 0.07317617535591125, 0.0192765761166811, 0.12751106917858124, -0.5590679049491882, -0.10000749677419662, -0.281217098236084, -0.4601879417896271, 0.06481950730085373, 0.1682298630475998, 0.40009552240371704, 0.11851272732019424, -0.33418846130371094, 0.1504361480474472, -0.7355768084526062, 0.0032799665350466967, -0.004139285534620285, 0.471231073141098, 0.30088409781455994, -0.03342524915933609, -0.05073772743344307, 0.30922931432724, 0.05699754133820534, -0.22038701176643372, 0.0029019881039857864, -0.2568907141685486, 0.12197770923376083, 0.0481102429330349, 0.09894568473100662, -0.07491665333509445, 0.2488853484392166, -0.2569950222969055, 0.004069908056408167, -0.07638338953256607, 0.5525874495506287, -0.28754547238349915, -0.5560758113861084, -0.008957522921264172, -0.2029923051595688, -0.11298037320375443, -0.04981732740998268, -0.2958010733127594, -0.3128739297389984, -0.199945330619812, 0.748774528503418, -0.6506062150001526, -0.1746651828289032, -0.013091321103274822, 0.11897944658994675, -0.13494598865509033, 0.4320933520793915, -0.9096834063529968, 0.06928249448537827, 0.5242968797683716, 1.0222134590148926, -0.13860319554805756, -0.989310622215271, -0.11285022646188736, 0.39856627583503723, -0.4745881259441376, 1.0170114040374756, -0.22948309779167175, -0.3583660125732422, 0.17515313625335693, 0.21460622549057007, -0.7803357243537903, -0.5496044754981995, 0.5256850719451904, -0.36406296491622925, 0.13293243944644928, -0.6047822833061218, -0.4961094260215759, -0.3780841529369354, 0.3948635458946228, -0.477740615606308, 1.01999831199646, 0.0876106470823288, -0.5376489758491516, 0.4020921587944031, -0.4134228527545929, -0.5830370783805847, -0.07551280409097672, 0.6790135502815247, -0.5802679657936096, -0.20836055278778076, 0.1153179332613945, 0.40979182720184326, 0.14173321425914764, 0.2651212513446808, -0.3672007620334625, -0.36538225412368774, 0.3147611916065216, -0.5270573496818542, 0.5473683476448059, -0.06804269552230835, -0.20372062921524048, -0.1016940250992775, -0.9266334176063538, -0.04585711285471916, -0.014722815714776516, -0.3900115191936493, -0.5140089392662048, 0.17527900636196136, -0.24992692470550537, 0.6483187079429626, 0.07096263766288757, -0.2517407238483429, 0.303192675113678, -0.1614411175251007, 0.5130079388618469, 1.0922828912734985, 0.07238088548183441, 0.4992833137512207, -0.5999684929847717, 0.2720657289028168, 0.4443071782588959, 0.513171911239624, -0.34885790944099426, -0.25378918647766113, -1.0912266969680786, 0.1287863403558731, 0.31902259588241577, 0.6403730511665344, -1.1567045450210571, -0.10039720684289932, -0.14355477690696716, -0.5200070142745972, -0.2791106700897217, -0.13207823038101196, 0.2794681191444397, 0.6226380467414856, 0.46035122871398926, -0.34262070059776306, -0.3708304464817047, -0.39288559556007385, -0.3638356029987335, -0.18882060050964355, 0.3257647752761841, 0.12966765463352203, 0.4826025068759918, -0.14915108680725098, 0.4394051432609558, -0.4730646014213562, -0.7067610621452332, -0.02747718058526516, 0.1790875941514969, -0.2733820974826813, 0.5087935328483582, 0.3731125593185425, -0.6074672937393188, -0.571734607219696, 0.04131157323718071, -0.5447154641151428, 0.19294226169586182, -0.5708545446395874, -0.36609822511672974, 0.5119303464889526, 0.12152513116598129, -0.32964634895324707, 0.40904700756073, 0.36266592144966125, -0.22498719394207, 1.2126672267913818, -0.5056987404823303, 0.5000251531600952, -1.0330677032470703, 0.02945169061422348, -0.17696820199489594, 0.022790301591157913, -0.9222158789634705, -0.01512464601546526, 0.5781282782554626, 0.2074642926454544, -0.4540137052536011, 0.2652706503868103, -0.46781641244888306, 0.4433339536190033, -0.38685524463653564, 0.17822088301181793, -0.0805986076593399, 0.7286314964294434, -0.18233264982700348, 0.7517894506454468, 0.4759265184402466, -0.9308000206947327, 0.02107553370296955, 0.22663037478923798, 0.136439248919487, 0.8463072180747986, 0.1607237011194229, 0.12853382527828217, 0.12004052847623825, 0.3542432487010956, -0.9223579168319702, 0.12503398954868317, 0.3317718505859375, -0.5517747402191162, 0.17999805510044098, 0.06793718039989471, -0.5833572149276733, -0.8318725824356079, -0.035528574138879776, 0.24341343343257904, 0.0743279680609703, -0.7215999364852905, 0.553764283657074, -0.1195840835571289, -0.11577878147363663, -0.6328603625297546, -0.6263294816017151, 0.1258363276720047, -0.01643511839210987, -0.46715548634529114, 0.5083862543106079, -0.41309309005737305, 0.6203855276107788, -0.00770154781639576, -0.30226242542266846, -0.48196250200271606, 0.0843433290719986, 0.038548681885004044, 0.3533889651298523, -0.1574409157037735, 0.07923562079668045, 0.22284647822380066, -0.029660996049642563, -0.16261453926563263, -0.7319344878196716, 0.0929611548781395, 0.3922128975391388, -0.3754209876060486, -0.2733110785484314, 0.21627171337604523, 0.66292804479599, 0.012570937164127827, 0.9566521048545837, 0.35480576753616333, -0.732355535030365, -0.5836935043334961, -0.6964680552482605, -0.04605443775653839, -0.40274953842163086, 0.4077572226524353, -0.2748698890209198, -0.7846606373786926, 0.8726291060447693, -0.5041002035140991, -0.062250468879938126, 0.5363467931747437, 0.22352764010429382, 0.14986781775951385, 0.7684972882270813, 0.9965238571166992, -0.1343897581100464, 0.1378621757030487, -0.06353186070919037, 0.4038063585758209, -0.871655285358429, -0.15230587124824524, -0.27358683943748474, 0.05170470103621483, -0.0015975716523826122, -0.24361896514892578, 0.256256103515625, 0.0952453687787056, -0.37770071625709534, 0.404524028301239, -0.3622684180736542, 0.2962101101875305, 0.5350454449653625, 0.21004913747310638, 0.4294544756412506, -0.080044224858284, -0.5892349481582642, -0.1381336897611618, -0.9319382309913635, 0.018441494554281235, 0.9062669277191162, -0.10523422807455063, 0.11943110078573227, -0.03308224305510521, 0.29648715257644653, 0.10020801424980164, 0.15153484046459198, -0.4190237522125244, 0.2437840849161148, -0.42860954999923706, -0.5286890864372253, -0.15220040082931519, -0.36967045068740845, -0.5084790587425232, 0.32078036665916443, -0.16929899156093597, -0.5044340491294861, 0.16452659666538239, 0.36709824204444885, -0.654460608959198, 0.79204261302948, -0.46884429454803467, 0.8205677270889282, -0.05150597169995308, -0.22481581568717957, -0.401086688041687, -0.4205361604690552, 0.4524294435977936, -0.6407626867294312, 0.402715802192688, 0.1354215145111084, 0.4387247562408447, 0.5370316505432129, -0.40649738907814026, 0.7973656058311462, -0.16268673539161682, -0.06779701262712479, 0.36268967390060425, 0.13437774777412415, 0.474739670753479, -0.36711183190345764, -0.09616711735725403, 0.060114335268735886, -0.0665285736322403, -0.41375479102134705, -0.45635101199150085, 0.7027645707130432, -0.5855157375335693, -0.16793765127658844, -0.5412673950195312, -0.5278701782226562, -0.2745550870895386, 0.2554490268230438, 0.20354151725769043, 0.20320522785186768, -0.3975352346897125, -0.3984512686729431, 0.712777316570282, -0.42508912086486816, 0.29611751437187195, 0.7890278100967407, 0.14237932860851288, -0.335312157869339, 1.2313802242279053, 0.705507755279541, 0.6081569790840149, 0.24387456476688385, 0.11214696615934372, 0.07087858766317368, -0.528693675994873, -0.42813658714294434, 0.13109521567821503, -0.9298074841499329, -0.2222587913274765, -0.7300177812576294, -0.5677827000617981, -0.6584534645080566, -0.3677198886871338, -0.47709760069847107, -0.23766855895519257, -0.38397225737571716, 0.14099347591400146, 0.13078272342681885, 0.5535747408866882, -0.3751819133758545, 0.43596214056015015, -0.7411646842956543, 0.31807440519332886, 0.19507980346679688, 0.40323567390441895, 0.6006786227226257, -0.8205609917640686, -0.6102021336555481, 0.10987430810928345, -0.7626838684082031, -0.5167900323867798, 0.5082005858421326, 0.5332337021827698, 0.5662610530853271, 0.2686030864715576, 0.013796764425933361, 1.1030348539352417, -0.8146515488624573, 0.8894031643867493, 0.13901874423027039, -0.9610249996185303, 0.3595496416091919, -0.15188626945018768, 0.5495039820671082, 0.39440497756004333, 0.30559030175209045, -1.4108446836471558, -0.39135003089904785, -0.5230801701545715, -1.0109199285507202, 0.8362757563591003, -0.12150277197360992, -0.08761601150035858, 0.09201139211654663, 0.7009745836257935, 0.25311020016670227, 0.003840642049908638, -0.6664942502975464, -0.4349619448184967, -0.06035922095179558, 0.026660632342100143, 0.09943687170743942, -0.4877575933933258, 0.3417286276817322, -0.2125895619392395, 1.2755721807479858, -0.1511637568473816, 0.10197360813617706, 0.12757113575935364, -0.4486377239227295, -0.17480477690696716, 0.19646960496902466, 0.8459888696670532, 0.6637030243873596, 0.33196789026260376, -0.01909775473177433, 0.6728634834289551, -0.8943974375724792, 0.08257056027650833, -0.05523652583360672, -0.19437988102436066, -0.2676495313644409, 0.286850243806839, 0.4902918338775635, 0.744584321975708, -0.06881281733512878, 0.38822412490844727, 0.18814711272716522, -0.5524886250495911, -0.5592243075370789, -0.2968592643737793, 0.17981839179992676, 0.03389253094792366, 0.6361831426620483, 0.6473638415336609, 0.10806682705879211, -0.23065802454948425, 0.3835045397281647, 0.03554283827543259, -0.4098719656467438, -0.3251306414604187, 0.680778980255127, -0.19564807415008545, 0.075050488114357, 0.7339908480644226, -0.13287299871444702, -1.0013121366500854, 0.5719015598297119, 0.6588075757026672, 0.8514859676361084, -0.9444947838783264, 0.468531996011734, 0.6083875894546509, 0.39720815420150757, -0.6701493263244629, -0.11255689710378647, 0.25600942969322205, -0.6844751834869385, -0.45345428586006165, -0.28230229020118713, -0.4885939359664917, -0.16346675157546997, -0.39301133155822754, 0.33969414234161377, -0.5678884983062744, 0.20392188429832458, -0.30194517970085144, -0.16543731093406677, -0.40301454067230225, 0.15273815393447876, 0.2685125768184662, 0.5366330146789551, -0.8058318495750427, 1.102060317993164, 0.2666110098361969, -0.28396153450012207, -1.2692983150482178, 0.040034350007772446, 0.2806903123855591, -0.8205767869949341, 0.2880377173423767, 0.08355814963579178, -0.15254069864749908, 0.10590355098247528, -0.3040810227394104, -0.8703800439834595, 1.2446821928024292, -0.07491113245487213, -0.5063811540603638, -0.13392646610736847, 0.3485162854194641, 0.3387318551540375, -0.1714780330657959, -0.007235162425786257, 0.4346470832824707, 0.45120713114738464, 0.4660678803920746, -1.0670998096466064, -0.16072697937488556, 0.07605597376823425, 0.030759040266275406, -0.1363700032234192, -0.7908502221107483, 1.000946283340454, -0.38305068016052246, -0.3875083923339844, 0.22569358348846436, 0.6293637156486511, 0.14713850617408752, 0.46011629700660706, 0.4274560809135437, 0.5639575719833374, 1.0311802625656128, 0.026134593412280083, 0.3623884320259094, -0.18083696067333221, 0.5826449394226074, 0.8995879888534546, -0.3394913077354431, 0.7517067193984985, -0.0202424805611372, -0.1795721799135208, 0.5543496608734131, 0.6880987286567688, 0.0939849391579628, 0.48071199655532837, 0.07926731556653976, -0.4021073281764984, -0.3174361288547516, 0.27800649404525757, -0.2620622515678406, 0.08204177021980286, 0.26261216402053833, 0.053439266979694366, -0.10602430254220963, 0.5505234003067017, 0.17697052657604218, 0.18663005530834198, -0.5604188442230225, 0.5694015622138977, 0.21280589699745178, -0.570283830165863, 0.6417625546455383, 0.018196487799286842, 0.8568313717842102, -0.5885518193244934, -0.12189766019582748, -0.18180163204669952, 0.5559449195861816, -0.09436148405075073, -0.3054284155368805, 0.32974138855934143, -0.4276486337184906, -0.4790211617946625, 0.016735123470425606, 0.8181679844856262, -0.718253493309021, -0.6199591755867004, 0.3351685106754303, 0.13745775818824768, -0.22382119297981262, -0.4813780188560486, -0.9521699547767639, -0.17134791612625122, -0.03571202605962753, 0.23378944396972656, 0.2664310932159424, 0.6759881973266602, -0.1750510185956955, 0.8421559929847717, 0.6147840023040771, 0.07073661684989929, 0.32636138796806335, 0.1970643401145935, 0.5630481243133545, -0.7066752314567566, -0.5943485498428345, -0.6436524987220764, 0.4946802854537964, 0.3370265066623688, -0.08715853840112686, 0.7332208752632141, 0.273052841424942, 0.8055505752563477, -0.2572442889213562, 0.9964479207992554, 0.3148558437824249, 0.6768748760223389, -0.28949397802352905, 1.079480767250061, -0.4586702585220337, -0.019489582628011703, -0.5971351861953735, -0.7545018196105957, -0.71788489818573, 0.44893378019332886, -0.12278501689434052, -0.005200950428843498, 1.309630036354065, 0.691908597946167, 0.19585837423801422, 0.08174788951873779, 0.5647222995758057, 0.3190211057662964, 0.18867599964141846, 1.1282644271850586, 0.7034562826156616, -0.7355167865753174, 0.6705225110054016, -0.40171828866004944, -0.1942470371723175, -0.09006614238023758, -0.6433818340301514, -0.6400943994522095, -0.9393047094345093, -0.4892757534980774, -0.5167276263237, 0.49588659405708313, 0.5064536333084106, 0.4560643434524536, -0.8583276867866516, 0.1447264552116394, 0.09964428842067719, 0.12767045199871063, -0.9141918420791626, -0.1443106234073639, 0.6049630641937256, -0.4636837840080261, -0.5343082547187805, 0.18837116658687592, 0.3277474343776703, -0.07834028452634811, -0.07741548866033554, 0.033291637897491455, -0.4522057771682739, 0.0590851791203022, 0.7895559668540955, 0.41905149817466736, -0.6071950793266296, -0.6962950229644775, 0.15469305217266083, -0.04796939715743065, 0.09574615210294724, 0.8592237830162048, -0.6140674948692322, 0.3860630691051483, -0.12756694853305817, 0.5723863840103149, -0.09447886794805527, -0.42034512758255005, 0.3306805491447449, -0.4826096296310425, -0.16791747510433197, -0.16533122956752777, 0.12192722409963608, 0.4636397361755371, -0.6535715460777283, 0.1444232314825058, 0.8042934536933899, -0.8512540459632874, -0.4409523010253906, -0.13487571477890015, -0.831369936466217, -0.40450388193130493, 0.975443422794342, -0.2606967091560364, -0.1866225004196167, -0.2836894094944, -0.32333722710609436, 0.43024691939353943, 0.033202286809682846, 1.093385100364685, 1.0107003450393677, 0.3437955975532532, -0.018299613147974014, -0.5942296981811523, 0.35723716020584106, 0.4035080671310425, -0.3418186902999878, 0.3502287268638611, 0.3732931613922119, 0.5573671460151672, -0.10744347423315048, 0.7870043516159058, -0.15523643791675568, 0.4821375608444214, 0.0033379034139215946, 0.3570968508720398, 0.20142751932144165, -0.6924697160720825, -0.19219620525836945, 0.2459840029478073, 0.13925117254257202, 0.04182848706841469 ]
http://arxiv.org/abs/2402.11420v1
http://arxiv.org/pdf/2402.11420v1
Rethinking the Roles of Large Language Models in Chinese Grammatical Error Correction
2024-02-18T01:40:34
2024-02-18T01:40:34
Yinghui Li, Shang Qin, Jingheng Ye, Shirong Ma, Yangning Li, Libo Qin, Xuming Hu, Wenhao Jiang, Hai-Tao Zheng, Philip S. Yu
cs.CL
cs.CL
Recently, Large Language Models (LLMs) have been widely studied by researchers for their roles in various downstream NLP tasks. As a fundamental task in the NLP field, Chinese Grammatical Error Correction (CGEC) aims to correct all potential grammatical errors in the input sentences. Previous studies have shown that LLMs' performance as correctors on CGEC remains unsatisfactory due to its challenging task focus. To promote the CGEC field to better adapt to the era of LLMs, we rethink the roles of LLMs in the CGEC task so that they can be better utilized and explored in CGEC. Considering the rich grammatical knowledge stored in LLMs and their powerful semantic understanding capabilities, we utilize LLMs as explainers to provide explanation information for the CGEC small models during error correction to enhance performance. We also use LLMs as evaluators to bring more reasonable CGEC evaluations, thus alleviating the troubles caused by the subjectivity of the CGEC task. In particular, our work is also an active exploration of how LLMs and small models better collaborate in downstream tasks. Extensive experiments and detailed analyses on widely used datasets verify the effectiveness of our thinking intuition and the proposed methods.
[ 0.11220141500234604, -0.5967832803726196, 0.74674391746521, 0.1228034645318985, -0.01061122864484787, -0.25451716780662537, -0.63359135389328, -0.4280827045440674, 0.00699563417583704, 0.41498714685440063, -0.6157121658325195, -0.2770262360572815, -0.5230183005332947, 0.31671297550201416, -0.2036103755235672, 0.8308600783348083, -0.08571422100067139, 0.36410149931907654, -0.24197830259799957, 0.13969284296035767, -0.5928658246994019, -0.3938809931278229, -1.0036648511886597, -0.39026886224746704, 0.9322184920310974, 0.418728232383728, 0.7934626936912537, 0.5451181530952454, 0.3475697934627533, 0.3510568141937256, -0.3328089714050293, 0.414896696805954, -0.5719980597496033, -0.14428450167179108, -0.226005420088768, -0.8293733596801758, -0.7585635185241699, -0.2782852351665497, 0.8363398313522339, 0.9633318781852722, -0.26284027099609375, -0.07192444801330566, 0.43230241537094116, 0.5177805423736572, -0.5856532454490662, 0.295652836561203, -0.6416783332824707, 0.14888136088848114, -0.1409403532743454, -0.03407413884997368, -0.6306037306785583, -0.12464991956949234, -0.14119768142700195, -0.6015819907188416, 0.40460309386253357, -0.06893790513277054, 0.6133410930633545, 0.14910009503364563, -0.2634294927120209, -0.1279834359884262, -0.7901475429534912, 0.676978349685669, -1.093676209449768, 0.04109525308012962, -0.02576329931616783, 0.07849477976560593, -0.5766599774360657, -0.5366520285606384, -0.5078002214431763, -0.2826419174671173, -0.24578778445720673, 0.06894704699516296, 0.04495353624224663, 0.38333961367607117, 0.34310173988342285, 0.600219190120697, -0.22879905998706818, 0.46456217765808105, -0.17773883044719696, -0.2572649121284485, 0.6270207762718201, 0.3918359875679016, 0.36095330119132996, 0.02806985378265381, 0.05950344353914261, 0.18935254216194153, -0.8462330102920532, 0.07291670888662338, -0.03642844408750534, 0.4553123116493225, 0.004149045329540968, 0.5485953688621521, -0.14089997112751007, 0.7188233137130737, 0.10800354182720184, -0.08643659204244614, -0.11919062584638596, -0.28341642022132874, -0.4922041594982147, 0.07008105516433716, 0.4561549127101898, 0.307782918214798, 0.16272176802158356, 0.08697021007537842, -0.4185314178466797, -0.1291629523038864, 0.34824955463409424, -0.5058267116546631, 0.032948993146419525, -0.08428128808736801, -0.5795823931694031, -0.12505684792995453, 0.20683880150318146, -0.5371145009994507, -0.4713502824306488, -0.621407151222229, 0.3080230951309204, 0.08807176351547241, -0.17028792202472687, 0.1692163646221161, 0.22069348394870758, 0.14264927804470062, 0.6773678660392761, -1.1424744129180908, 0.2938085198402405, 0.9185346961021423, 0.7133306860923767, 0.009022913873195648, -0.6035842299461365, -0.5186294913291931, 0.12027852982282639, -0.5882298350334167, 0.5667694211006165, -0.09011673927307129, -0.31860220432281494, 0.29185232520103455, 0.3563920557498932, -0.35378673672676086, -0.4850645065307617, 0.4920769929885864, -0.33675336837768555, 0.006829000543802977, -0.5882734656333923, -0.6149770021438599, -0.3820822238922119, 0.2530026137828827, -0.7423287034034729, 0.7607077360153198, -0.12957227230072021, -0.6075838208198547, 0.11244945228099823, -0.5295062065124512, -0.20929411053657532, 0.04375692829489708, 0.04886370897293091, -0.20892280340194702, 0.37573686242103577, 0.29916611313819885, 0.6527655124664307, -0.3605101704597473, 0.287345290184021, -0.26061582565307617, -0.5398226976394653, 0.2846467196941376, -0.33621180057525635, 0.7258195877075195, -0.00949085596948862, -0.3320694863796234, 0.3305599093437195, -0.3060151934623718, -0.012672779150307178, 0.1652190238237381, -0.41225337982177734, -0.24361594021320343, 0.22696489095687866, -0.35685232281684875, 0.03177390620112419, 0.018226182088255882, -0.30217480659484863, 0.15111975371837616, -0.5057198405265808, 0.39940211176872253, 0.9188874363899231, -0.2990732192993164, 0.4870467483997345, -0.3346281051635742, 0.4665328860282898, -0.39784249663352966, 0.19396613538265228, -0.15220578014850616, -0.17984093725681305, -1.1082837581634521, 0.0779309868812561, 0.3138149380683899, 0.4713226854801178, -0.7452182769775391, 0.18439942598342896, -0.17976100742816925, -0.5101571083068848, -0.4090399146080017, 0.26992297172546387, 0.23111198842525482, 0.3403845727443695, 0.07796797901391983, 0.044450096786022186, -0.4872268736362457, -0.5953218936920166, -0.3393666446208954, -0.44736039638519287, 0.0008611453231424093, 0.22175516188144684, 0.3417152762413025, -0.10527815669775009, 0.5864772200584412, -0.3720860779285431, -0.27156150341033936, -0.589427649974823, -0.27817973494529724, 0.2602439224720001, 0.3025597929954529, 0.45279183983802795, -0.49688956141471863, -0.21329928934574127, 0.008403447456657887, -0.7390486598014832, -0.4778459072113037, -0.3098035156726837, -0.15881042182445526, 0.42761191725730896, 0.7112255096435547, -0.6790509819984436, 0.21294043958187103, 0.7248795032501221, -0.35048961639404297, 0.8180443644523621, -0.26553335785865784, 0.10042190551757812, -0.5741153955459595, -0.17932891845703125, -0.07379315048456192, -0.015132862143218517, -0.6575126647949219, 0.22150646150112152, 0.06591535359621048, 0.2629539668560028, -0.39142972230911255, 0.28486353158950806, -0.6907539963722229, -0.1821945458650589, -0.39749985933303833, 0.35501420497894287, -0.055679261684417725, 0.2718309760093689, -0.26845717430114746, 0.47610950469970703, 0.4568902254104614, -0.6642997860908508, 0.4808003604412079, -0.0717674046754837, -0.08224878460168839, 0.1784611940383911, -0.5131165385246277, 0.03609881177544594, -0.15037944912910461, 0.3260536789894104, -0.9949029088020325, -0.10706675797700882, 0.3457867503166199, -0.3619813024997711, 0.31784868240356445, -0.09077869355678558, -0.7646521329879761, -0.26405754685401917, -0.18117475509643555, 0.25619858503341675, 0.18341080844402313, -0.8197946548461914, 0.8086957931518555, 0.09148762375116348, -0.0740538015961647, -0.46624675393104553, -0.7823731303215027, 0.17662398517131805, -0.08898547291755676, -1.0368168354034424, 0.34332501888275146, 0.1398182511329651, -0.4801161289215088, -0.05002859979867935, -0.03225460648536682, 0.40850281715393066, 0.2815952003002167, 0.15121009945869446, 0.5478492975234985, -0.5838485360145569, 0.37463289499282837, -0.26203009486198425, 0.10073062777519226, 0.24054215848445892, -0.22457709908485413, 0.2965962886810303, 0.017439402639865875, -0.44220322370529175, -0.33511123061180115, 0.10423263162374496, 0.25502827763557434, 0.047330886125564575, 0.7984181642532349, 0.19351232051849365, -0.4897286593914032, -0.30038347840309143, -0.6422635912895203, -0.08307346701622009, -0.4524722993373871, 0.5194685459136963, -0.08972954750061035, -0.962027370929718, 0.5567107200622559, 0.13310815393924713, 0.1759158819913864, 0.7115269303321838, 0.612940788269043, -0.07450507581233978, 0.7521674036979675, 0.7434494495391846, -0.24311292171478271, 0.36600518226623535, 0.03767174854874611, 0.3168160915374756, -0.7617319226264954, -0.14242984354496002, -0.490063339471817, -0.16899597644805908, -0.6048117280006409, -0.48783454298973083, -0.01591734029352665, 0.08993598818778992, -0.20796464383602142, -0.010557384230196476, -0.04654546454548836, 0.39030417799949646, 0.1373385339975357, 0.0016548809362575412, 0.23448534309864044, -0.14248575270175934, 0.035824965685606, -0.05776446685194969, -0.8963990211486816, -0.5368581414222717, 0.6606873273849487, 0.5014602541923523, 1.0215131044387817, 0.015107635408639908, 0.39484238624572754, -0.05055222660303116, 0.28173497319221497, -0.9717020392417908, 0.6314616799354553, -0.4584449827671051, -0.3436329960823059, -0.25180065631866455, -0.2504442632198334, -0.6592338681221008, 0.6027960181236267, -0.23254789412021637, -0.43365684151649475, -0.11039237678050995, 0.38051944971084595, -0.43753135204315186, 0.5953595638275146, -0.7181370258331299, 1.0227447748184204, -0.30154165625572205, -0.4480302929878235, -0.2889251410961151, -0.4204990565776825, 0.4332566261291504, 0.2570312023162842, 0.2821572422981262, 0.2198026031255722, -0.05442308634519577, 0.5979142785072327, -0.5004279613494873, 1.0943231582641602, -0.22437046468257904, -0.47568485140800476, 0.35802191495895386, 0.01803264021873474, 0.6201668977737427, -0.1562933325767517, -0.061560239642858505, 0.15802514553070068, -0.33491212129592896, -0.19554609060287476, -0.5732591152191162, 0.754215657711029, -0.5354675054550171, -0.9441859126091003, -0.3524784445762634, -0.4253462851047516, -0.03559839725494385, -0.06904744356870651, -0.03258006274700165, -0.020998943597078323, -0.24327869713306427, 0.1545647531747818, 0.43243762850761414, -0.08737357705831528, 0.5440888404846191, 0.5129200220108032, -0.21342900395393372, 0.06697623431682587, 0.38998115062713623, 0.13572514057159424, 0.48662319779396057, 0.3398032784461975, 0.17220713198184967, 0.0994541123509407, -0.738126814365387, -0.36783188581466675, 0.4802192747592926, -0.9013310670852661, 0.07361889630556107, -0.4926879107952118, -0.2968262732028961, -0.3638250529766083, -0.18681511282920837, -0.24239301681518555, 0.007314932532608509, -0.5796353220939636, -0.17006711661815643, 0.0514090359210968, 0.7540014386177063, -0.10457499325275421, 0.541840672492981, -0.9661561250686646, -0.013217649422585964, 0.12422327697277069, 0.09535638242959976, 0.396858274936676, -0.6516813635826111, -0.47456735372543335, 0.1492737978696823, -0.10890747606754303, -0.6197549104690552, 0.25606822967529297, -0.04861844331026077, 0.7396627068519592, 0.2321949452161789, -0.5510618090629578, 0.8502863645553589, -0.5654801726341248, 1.0561341047286987, -0.049561165273189545, -1.149622917175293, 0.3253801763057709, -0.27738961577415466, 0.11651955544948578, 0.09159333258867264, -0.20686575770378113, -1.0468997955322266, -0.23623721301555634, -0.3980709910392761, -0.7638306617736816, 0.8698311448097229, 0.057604361325502396, -0.03093293122947216, 0.24181018769741058, 0.6702065467834473, -0.10022739320993423, -0.15934793651103973, -0.9100943803787231, 0.018807021901011467, 0.19832444190979004, -0.08922918885946274, -0.259174644947052, -0.6624342799186707, 0.010453280061483383, 0.04117145389318466, 0.9175112843513489, -0.3359365165233612, 0.16329683363437653, 0.29144495725631714, -0.17616021633148193, -0.3963927924633026, 0.32999253273010254, 0.589723527431488, 0.7196066975593567, 0.37344613671302795, 0.09199512749910355, 0.5611083507537842, -0.23834823071956635, -0.1927175223827362, -0.11757607012987137, -0.1053757295012474, 0.0608268640935421, 0.7612965106964111, 0.7522305250167847, 0.19007238745689392, -0.4957568645477295, 0.3501463532447815, 0.07763717323541641, 0.04872856289148331, -0.5525475740432739, 0.13120412826538086, 0.4409354627132416, 0.25253939628601074, 0.1958814412355423, -0.04866931214928627, -0.07966504245996475, -0.580460786819458, -0.09861063212156296, 0.3951709270477295, -0.1327546089887619, -0.23602552711963654, 0.3738535940647125, 0.15222737193107605, -0.11083189398050308, 0.5382449626922607, 0.02464265748858452, -0.745328426361084, 0.9075417518615723, 0.5091000199317932, 0.7561233639717102, -0.3946523070335388, -0.03125187009572983, 0.4433611333370209, 0.5255579352378845, -0.6332475543022156, -0.14418406784534454, 0.4876467287540436, -0.780775249004364, -0.8646497130393982, -0.12148375809192657, -0.28347599506378174, 0.05606544017791748, -0.43381160497665405, 0.5508105158805847, -0.4466116726398468, 0.2072276622056961, -0.09150911867618561, -0.16216334700584412, -0.2573089599609375, 0.2119886577129364, 0.5373883843421936, 0.7183175683021545, -0.7678752541542053, 0.5974376797676086, 0.477483868598938, -0.03470927104353905, -1.197130799293518, 0.15881192684173584, 0.31584632396698, -0.7292001247406006, 0.6976406574249268, 0.07473418861627579, -0.2791026830673218, -0.42108216881752014, -0.6224370002746582, -0.6809061765670776, 1.1457781791687012, 0.26268529891967773, -0.9428703188896179, -0.2281278818845749, 0.03142981231212616, 0.7288049459457397, -0.5543778538703918, 0.038757387548685074, 0.5039991140365601, 0.48158854246139526, 0.02939748764038086, -0.93963623046875, 0.28290724754333496, -0.009574935771524906, 0.2373342216014862, 0.06048467010259628, -0.8029982447624207, 1.112547755241394, -0.4397382438182831, -0.15437810122966766, 0.35225337743759155, 0.6740790009498596, 0.15748989582061768, 0.2098602056503296, 0.6742447018623352, 0.2228144258260727, 0.6444783806800842, -0.17513501644134521, 1.048864722251892, 0.432460755109787, 0.4047028124332428, 1.113059639930725, -0.2537825107574463, 0.6599501371383667, 0.5672487616539001, -0.27130040526390076, 0.3458004593849182, 0.7714495658874512, -0.31038087606430054, -0.006689185742288828, 0.5026450157165527, -0.13493527472019196, -0.3840935528278351, 0.050184331834316254, -0.08413723856210709, 0.4374900162220001, 0.38226252794265747, -0.5136558413505554, -0.12752507627010345, -0.244193434715271, 0.24696041643619537, 0.2302381992340088, -0.9323925971984863, 0.5976651310920715, 0.17913112044334412, -0.7561172246932983, 0.4364362061023712, 0.23786452412605286, 0.8161713480949402, -0.43113186955451965, -0.07943785190582275, -0.23612025380134583, 0.557309627532959, -0.5044409036636353, -0.6393659114837646, 0.25943201780319214, -0.03622393310070038, -0.20488131046295166, 0.009893340058624744, 0.9089637398719788, -0.49833279848098755, -0.44909313321113586, 0.5228367447853088, 0.2973380386829376, -0.008705236949026585, -0.19539916515350342, -0.5390772819519043, 0.09488135576248169, 0.2643270492553711, 0.04470840096473694, 0.18375445902347565, 0.4769743084907532, -0.12549595534801483, 0.5573572516441345, 0.459460973739624, 0.33044975996017456, 0.05769384652376175, 0.3525629937648773, 0.6616058349609375, -0.8804488182067871, -0.37280142307281494, -1.1256386041641235, 0.48967182636260986, 0.16038541495800018, 0.02528097666800022, 0.8054347038269043, 0.19883453845977783, 1.0163124799728394, -0.31529244780540466, 0.6308860182762146, -0.036082345992326736, 0.3863220512866974, -0.9350942373275757, 0.6978520154953003, -0.5832700133323669, 0.5157073736190796, -0.22056788206100464, -0.7925187349319458, -0.4466438293457031, 0.4363328218460083, -0.1661994606256485, 0.13499805331230164, 0.866820752620697, 0.9491686820983887, 0.33845949172973633, 0.2879493236541748, 0.30949118733406067, 0.5200108289718628, 0.4737916886806488, 0.7546208500862122, 1.118028163909912, -0.42353135347366333, 0.4492235481739044, -0.23633746802806854, -0.0064352136105299, -0.36564144492149353, -0.858466625213623, -0.922482430934906, -0.22560346126556396, -0.246982604265213, -0.2904358506202698, 0.049552273005247116, 1.102369785308838, 0.20470157265663147, -0.6898816823959351, -0.4546723961830139, 0.029075145721435547, 0.23450526595115662, -0.43874478340148926, -0.2082451581954956, 0.320791095495224, -0.49603742361068726, -0.8186582326889038, 0.20106059312820435, 0.11754672974348068, -0.011702211573719978, -0.1402161568403244, -0.11569499969482422, -0.15298698842525482, -0.2289630025625229, 0.6728643178939819, 0.02843429334461689, -1.0936139822006226, -0.464083194732666, 0.09033388644456863, -0.24105478823184967, -0.04127661883831024, 1.193113088607788, -0.3600112497806549, 0.10501141846179962, 0.49771252274513245, 0.740790843963623, 0.035466283559799194, -0.25180384516716003, 0.6926092505455017, -0.30435943603515625, -0.027895433828234673, 0.02036413736641407, 0.7303513288497925, 0.5968313813209534, -0.6013762354850769, 0.5677720308303833, 0.28951296210289, -0.6787058711051941, -0.6381818056106567, -0.164174884557724, -0.9937635064125061, -0.2357696145772934, 1.3452298641204834, -0.4341699481010437, -0.3570844233036041, 0.16673380136489868, -0.556121826171875, 0.2907651364803314, -0.05622251704335213, 0.6415353417396545, 1.0422168970108032, 0.017791731283068657, -0.22152197360992432, -0.5648741722106934, 0.44614118337631226, 0.71184903383255, -0.7183454632759094, 0.5339245796203613, 0.65082186460495, 0.30882713198661804, -0.0211380273103714, 0.42897915840148926, -0.15633322298526764, 0.3701092302799225, -0.0880042165517807, 0.054475389420986176, 0.1369321495294571, -0.20709878206253052, -0.6312798857688904, -0.17521359026432037, 0.46661362051963806, 0.03318530321121216 ]
http://arxiv.org/abs/2402.11417v1
http://arxiv.org/pdf/2402.11417v1
LoRETTA: Low-Rank Economic Tensor-Train Adaptation for Ultra-Low-Parameter Fine-Tuning of Large Language Models
2024-02-18T01:20:00
2024-02-18T01:20:00
Yifan Yang, Jiajun Zhou, Ngai Wong, Zheng Zhang
cs.CL
cs.CL, cs.AI, cs.LG
Various parameter-efficient fine-tuning (PEFT) techniques have been proposed to enable computationally efficient fine-tuning while maintaining model performance. However, existing PEFT methods are still limited by the growing number of trainable parameters with the rapid deployment of Large Language Models (LLMs). To address this challenge, we present LoRETTA, an ultra-parameter-efficient framework that significantly reduces trainable parameters through tensor-train decomposition. Specifically, we propose two methods, named {LoRETTA}$_{adp}$ and {LoRETTA}$_{rep}$. The former employs tensorized adapters, offering a high-performance yet lightweight approach for the fine-tuning of LLMs. The latter emphasizes fine-tuning via weight parameterization with a set of small tensor factors. LoRETTA achieves comparable or better performance than most widely used PEFT methods with up to $100\times$ fewer parameters on the LLaMA-2-7B models. Furthermore, empirical results demonstrate that the proposed method effectively improves training efficiency, enjoys better multi-task learning performance, and enhances the anti-overfitting capability. Plug-and-play codes built upon the Huggingface framework and PEFT library will be released.
[ -0.3670739531517029, -0.6290498375892639, 0.3489540219306946, 0.31470414996147156, -0.4818630814552307, -0.16091544926166534, -0.49599283933639526, -0.12591317296028137, -0.0954323410987854, 0.5653724670410156, -0.3893283009529114, -0.5354769229888916, -0.4777336120605469, -0.2370106428861618, -0.20588111877441406, 0.8562866449356079, -0.05538615211844444, 0.02686137892305851, 0.24027983844280243, -0.1738942265510559, -0.192220076918602, -0.18527889251708984, -0.9693650603294373, -0.017039421945810318, 0.6928442120552063, 0.4051268994808197, 0.4319170117378235, 0.9744035005569458, 0.3136416971683502, 0.2721463441848755, -0.04776709899306297, 0.341896653175354, -0.6991495490074158, 0.02789534442126751, 0.027938103303313255, -0.5680514574050903, -0.7552752494812012, 0.008774974383413792, 0.9873251914978027, 0.6954874992370605, -0.25570523738861084, 0.5357581377029419, 0.10370790213346481, 0.8433471322059631, -0.8431829810142517, 0.11424406617879868, -0.8536072969436646, -0.0037149921990931034, -0.07229699194431305, -0.176963210105896, -0.31368255615234375, 0.04234625771641731, -0.3575746715068817, -0.8190111517906189, 0.07090777903795242, 0.28833067417144775, 0.6472650766372681, 0.37213513255119324, -0.3097614049911499, 0.3846755921840668, -0.5451541543006897, 1.027030110359192, -0.5198246836662292, 0.5417717695236206, 0.25828036665916443, -0.023017844185233116, -0.28766751289367676, -0.6061147451400757, -0.26138296723365784, -0.08868429809808731, 0.17292344570159912, 0.02341059409081936, -0.22908732295036316, 0.2426055669784546, 0.08394689857959747, 0.27386459708213806, -0.3402252197265625, 0.4647875428199768, -0.24583031237125397, 0.10592763125896454, 0.35171425342559814, 0.225406214594841, 0.010122423991560936, 0.057603366672992706, -0.3958703577518463, -0.16701829433441162, -0.9206216335296631, 0.07437445223331451, 0.5849131941795349, 0.6164663434028625, -0.25066468119621277, 0.20336227118968964, -0.43843647837638855, 0.7139859199523926, 0.14158901572227478, 0.13017408549785614, -0.13972799479961395, 0.18804143369197845, -0.5978747606277466, -0.07980634272098541, 0.6428507566452026, 0.1978655308485031, 0.03878159448504448, -0.3381405472755432, -0.16875919699668884, -0.3065841794013977, 0.037239111959934235, -1.012190818786621, -0.14536570012569427, 0.10377117991447449, -0.8867101669311523, -0.5969557166099548, -0.3524068295955658, -0.652104377746582, -0.5030238628387451, -0.36653009057044983, 0.5150919556617737, -0.1409723311662674, -0.26836785674095154, 0.295129656791687, 0.09614188969135284, 0.4171404540538788, 0.4243790805339813, -1.2114897966384888, 0.39307093620300293, 0.6827307343482971, 0.739167332649231, 0.009084767661988735, -0.45643049478530884, -1.0453767776489258, 0.03275652229785919, -0.44243302941322327, 0.5790445804595947, -0.42383018136024475, -0.08878787606954575, -0.18617792427539825, 0.19600504636764526, -0.3661987781524658, -0.519263744354248, 0.7157255411148071, -0.49670282006263733, 0.07629961520433426, -0.2104429304599762, -0.07745897024869919, -0.14247040450572968, 0.05291537567973137, -0.3385685086250305, 1.1046359539031982, 0.51291823387146, -0.4412457048892975, 0.4205630123615265, -0.7964611649513245, -0.19685956835746765, -0.3114550709724426, 0.4496372640132904, -0.4855264127254486, 0.3572661876678467, 0.1446676105260849, 0.7157719135284424, -0.6738684773445129, -0.11913250386714935, -0.6318982243537903, -0.5873556137084961, -0.04740991070866585, -0.45702317357063293, 0.7007505893707275, 0.35353654623031616, -0.18515050411224365, 0.10873173922300339, -1.1611299514770508, -0.02135240100324154, 0.14438225328922272, -0.48966312408447266, -0.32180821895599365, -0.1647295355796814, 0.40910789370536804, 0.0800776258111, 0.1055149957537651, -0.4109419584274292, 0.25546082854270935, -0.3512918949127197, 0.4588117003440857, 0.8650955557823181, -0.4611169397830963, 0.5736792683601379, -0.38284024596214294, 0.4572021961212158, -0.02635093778371811, 0.22788384556770325, 0.10252449661493301, 0.04608163237571716, -1.1323649883270264, -0.6346803307533264, 0.7944257855415344, 0.1627017706632614, -0.2776845395565033, 0.18924102187156677, -0.061991795897483826, -0.5509616732597351, -0.6855018734931946, 0.1819310039281845, 0.3419151306152344, 0.6140086054801941, 0.5871079564094543, -0.1343655288219452, -0.5226158499717712, -0.820620596408844, -0.25323083996772766, -0.30641406774520874, -0.23063552379608154, 0.2421153038740158, 0.202569380402565, 0.15968893468379974, 0.40957286953926086, -0.4163919985294342, -0.424581915140152, -0.009478665888309479, 0.15189583599567413, 0.17810912430286407, 0.7418051362037659, 0.9517509341239929, -0.2861063480377197, -0.5299957990646362, 0.047964759171009064, -0.2551385462284088, -0.010318652726709843, 0.011338092386722565, -0.5055146217346191, 0.2341977059841156, 0.3450801968574524, -0.4604171812534332, -0.09697980433702469, 0.5915563106536865, -0.40040987730026245, 0.13135655224323273, -0.4187016189098358, 0.03467562422156334, -1.0469551086425781, 0.16760613024234772, -0.0028661401011049747, -0.4110383689403534, -0.3851158022880554, 0.08108382672071457, 0.1384902000427246, -0.07659263163805008, -0.29944169521331787, 0.45952746272087097, -0.3621583878993988, 0.022996075451374054, -0.10275710374116898, -0.3756207823753357, 0.05587159842252731, 0.6037696003913879, -0.09776371717453003, 0.7665090560913086, 0.5977742671966553, -0.42998453974723816, 0.2036624401807785, 0.22529470920562744, -0.215022474527359, 0.6708527207374573, -0.57307368516922, 0.10150021314620972, -0.2661449909210205, -0.010804484598338604, -0.8073618412017822, 0.07374396175146103, 0.13541091978549957, -0.07870136201381683, 0.5485973954200745, -0.9318774938583374, -0.29631176590919495, 0.31311172246932983, -0.5942780375480652, 0.06656652688980103, 0.8377723097801208, -0.7653660774230957, 0.5188498497009277, 0.30967438220977783, -0.20355740189552307, -0.6044555306434631, -0.4045455753803253, 0.011837519705295563, -0.6358212232589722, -0.3947402238845825, 0.48772352933883667, 0.015201699919998646, 0.04178725928068161, -0.2725829482078552, 0.10593123733997345, 0.05014222487807274, 0.47358080744743347, -0.18565572798252106, 0.17231979966163635, -0.6066325902938843, 0.0705581083893776, 0.24436302483081818, -0.3421318829059601, -0.2517904043197632, -0.5666010975837708, 0.49351996183395386, -0.12734653055667877, 0.0356210395693779, -0.13960790634155273, 0.2109469622373581, 0.9453993439674377, -0.32928088307380676, 1.0460803508758545, 1.094652533531189, -0.23092970252037048, -0.4418308734893799, -0.4570658206939697, 0.08181605488061905, -0.47888171672821045, 0.5645303130149841, -0.3319084048271179, -0.656608521938324, 0.5596267580986023, -0.3481358587741852, 0.08401601761579514, 0.46025311946868896, 0.6965847015380859, -0.015366284176707268, 1.1894381046295166, 0.7591138482093811, -0.1879855841398239, 0.7215912342071533, -0.2740509808063507, -0.14602749049663544, -1.1638085842132568, 0.11766726523637772, -0.6513605117797852, -0.4926142394542694, -0.6407790184020996, -0.2726771831512451, 0.2919127643108368, 0.10178835690021515, -0.546176552772522, 0.2714811861515045, -0.407609760761261, 0.4701249599456787, 0.5104110240936279, -0.0062722074799239635, 0.2583254873752594, 0.04727154225111008, 0.08047778159379959, 0.10923464596271515, -0.8033819198608398, -0.1896691471338272, 1.2861814498901367, 0.4474845826625824, 0.7617698907852173, 0.16564758121967316, 0.4386833608150482, 0.19769740104675293, 0.18681477010250092, -0.8347787261009216, 0.27122217416763306, -0.6278932094573975, -0.21247638761997223, -0.3587068021297455, -0.5416213870048523, -0.8624756336212158, 0.46653231978416443, -0.6082153916358948, -0.7293651103973389, 0.29379063844680786, 0.19508226215839386, -0.5548995137214661, 0.32628417015075684, -0.8041773438453674, 0.7846862077713013, 0.03865658491849899, -0.7047638893127441, -0.3039901852607727, -0.22261016070842743, 0.17879343032836914, -0.17217420041561127, 0.0433538444340229, -0.5971160531044006, -0.05099071189761162, 0.7932558059692383, -0.4463599622249603, 0.5142862796783447, -0.5128583908081055, 0.027771981433033943, -0.1922161728143692, 0.10961861163377762, 0.8712515830993652, 0.09087663888931274, -0.29023194313049316, -0.0719309076666832, 0.20881643891334534, -0.5912971496582031, -0.47061482071876526, 0.9729282259941101, -1.0394694805145264, -0.2062479704618454, 0.1479848176240921, -0.6654163002967834, -0.49460238218307495, 0.19153478741645813, -0.05017029866576195, 0.5721188187599182, -0.1414736658334732, 0.3651760220527649, 0.5703955292701721, -0.08665481954813004, 0.4457174837589264, 0.6390081644058228, 0.11571737378835678, -0.3106634318828583, 0.9317421317100525, 0.22085903584957123, -0.0730806514620781, 0.293621689081192, 0.27979469299316406, -0.3851519525051117, -1.018271565437317, -0.7506042718887329, 0.2623394727706909, -0.44028306007385254, -0.29993492364883423, -0.4163365066051483, 0.21665868163108826, -0.09540358930826187, -0.2554546892642975, -0.839779257774353, -0.6379374861717224, -0.38464686274528503, 0.30196502804756165, 0.5518729090690613, 0.3751027584075928, 0.12293995171785355, 0.5694705843925476, -0.5210835337638855, 0.254051148891449, 0.3607187569141388, 0.7653477191925049, -0.0668792724609375, -0.7494995594024658, -0.5160479545593262, -0.09519121050834656, -0.02608070895075798, -0.18405629694461823, 0.16119523346424103, 0.31835106015205383, 0.294598251581192, 0.1789841204881668, 0.34831345081329346, 0.8519366979598999, -0.2589091956615448, 0.3532152771949768, 0.07069875299930573, -0.8148710131645203, -0.13348570466041565, -0.7940904498100281, -0.08961699157953262, 0.5513216853141785, -0.10160071402788162, -0.34582093358039856, -0.026042727753520012, -0.3619338572025299, -0.9138455390930176, 0.9740617275238037, 0.03214115649461746, 0.3927508592605591, 0.468453049659729, 0.47332191467285156, 0.0563972145318985, 0.05576273053884506, -0.24262657761573792, -0.13564033806324005, 0.0968620553612709, -0.3873426616191864, 0.07171008735895157, -0.360164999961853, -0.11614234745502472, -0.38969871401786804, 0.9236426949501038, -0.47355854511260986, 0.19617736339569092, -0.19447118043899536, -0.25053900480270386, -0.4412539601325989, 0.16997632384300232, 0.5257030725479126, 0.41041818261146545, -0.40712517499923706, 0.07486893981695175, 0.496946781873703, -0.3801484704017639, 0.12299639731645584, 0.40440645813941956, -0.0059272246435284615, -0.4610362648963928, -0.186625137925148, 0.7261531949043274, 0.24744813144207, -0.2637518048286438, 0.2639417052268982, -0.37710264325141907, -0.3016970157623291, -0.13874781131744385, 0.3459832966327667, 0.12037941813468933, 0.464805006980896, 0.1465616077184677, 0.21803371608257294, -0.02067621238529682, -0.22226861119270325, -0.21586091816425323, 0.44508469104766846, -0.5756812691688538, -0.29724904894828796, 1.0167441368103027, 0.2970716953277588, 0.008224028162658215, 0.42922672629356384, 0.07443657517433167, 0.07829410582780838, 0.4682261645793915, 0.569583535194397, 0.800952672958374, 0.0006085768109187484, 0.12596511840820312, 0.15835176408290863, 0.1990973800420761, -0.08428873866796494, 0.21755345165729523, 0.029930317774415016, -0.5707798600196838, -0.422905832529068, -0.8561902046203613, -0.27108508348464966, 0.4130571484565735, -0.5161045789718628, 0.5951769351959229, -0.6840324997901917, -0.05089542269706726, 0.05314747616648674, 0.16070590913295746, -0.5949169397354126, 0.09083791077136993, 0.21872086822986603, 0.7455571889877319, -0.7588931322097778, 0.8317411541938782, 0.8246014714241028, -0.1662769615650177, -0.6584030985832214, -0.17541877925395966, -0.369501531124115, -1.0415393114089966, 0.23091283440589905, -0.3084813952445984, -0.25319382548332214, 0.5879494547843933, -0.24641354382038116, -0.8762387037277222, 1.045577049255371, 1.0513978004455566, -0.18262092769145966, 0.05965521186590195, -0.04264668747782707, 0.23877334594726562, -0.2124384641647339, 0.41701802611351013, 0.6772488951683044, 0.47879308462142944, -0.17347946763038635, -0.8946754932403564, 0.07958973199129105, -0.18715360760688782, 0.12651658058166504, 0.3899419903755188, -1.2734196186065674, 0.869887113571167, 0.16223005950450897, 0.3086218535900116, 0.17179074883460999, 0.413984090089798, -0.003599755931645632, -0.04271934926509857, 0.6171938180923462, 0.38026851415634155, 0.7525237798690796, 0.03920792415738106, 0.62122642993927, -0.4892210066318512, 0.7187739610671997, 0.4706364870071411, -0.03185836970806122, 0.759838342666626, 0.5634361505508423, -0.5000382661819458, 0.28437748551368713, 0.5430536270141602, -0.002080632373690605, 0.4411108195781708, 0.23709431290626526, -0.04386186599731445, -0.5363131165504456, -0.25658920407295227, -0.3071994483470917, 0.8108329772949219, 0.19666096568107605, -0.5452360510826111, -0.2550521790981293, -0.34104952216148376, 0.34125998616218567, -0.2833845019340515, -0.5618929266929626, 0.47791093587875366, -0.01871500536799431, -0.3702428936958313, 1.0995385646820068, 0.5456915497779846, 0.608792781829834, -0.5764789581298828, 0.05503254383802414, -0.15362389385700226, 0.43527108430862427, -0.1427055448293686, 0.016128063201904297, 0.12261052429676056, -0.04481496661901474, -0.21086089313030243, -0.29765236377716064, 0.7753649353981018, -0.5349931716918945, -0.4548099935054779, 0.06995826214551926, 0.49809131026268005, -0.15695996582508087, -0.17040838301181793, -0.7559545040130615, -0.13840079307556152, -0.37731656432151794, -0.6193960905075073, 0.833885908126831, 0.12884096801280975, 0.11099641770124435, 0.37177491188049316, 0.8633209466934204, 0.11374359577894211, -0.2534470856189728, -0.08131540566682816, 0.926266610622406, -0.31083545088768005, -0.4956992566585541, -0.7512491345405579, 0.5655210614204407, 0.28005796670913696, -0.4952758252620697, 0.22947834432125092, 0.5629990696907043, 0.49561619758605957, -0.03941458836197853, 0.6778064370155334, 0.1735812872648239, 0.3356875479221344, -0.8579906225204468, 1.1088380813598633, -0.9237704277038574, 0.24678894877433777, -0.22895820438861847, -0.9840195775032043, -0.47975507378578186, 0.670841634273529, -0.10881394892930984, 0.08515118807554245, 0.43766796588897705, 0.6792207956314087, -0.49777737259864807, -0.27312523126602173, 0.6347218751907349, 0.14847727119922638, -0.06248084083199501, 0.4568403661251068, 0.7161156535148621, -0.5571617484092712, 0.5083582401275635, -0.17591047286987305, -0.11370720714330673, -0.3479064702987671, -0.9200910925865173, -0.9739404320716858, -0.4115264415740967, -0.2537094056606293, -0.30084800720214844, 0.09060131758451462, 1.3150262832641602, 1.093479871749878, -0.6797792911529541, -0.12390149384737015, -0.020693572238087654, 0.04651959612965584, -0.1545322686433792, -0.12059804797172546, 0.6778321266174316, -0.3607392907142639, -0.9588168859481812, 0.511253833770752, 0.2851313352584839, -0.09042413532733917, -0.18508850038051605, -0.04853018373250961, 0.3296530246734619, 0.04672582074999809, 0.5307720303535461, 0.10089247673749924, -0.2169485241174698, -0.40081021189689636, 0.09792917966842651, 0.25397756695747375, 0.1038663312792778, 0.6999146938323975, -0.6177836656570435, 0.28265079855918884, 0.4032053053379059, 0.471604585647583, 0.6795132160186768, -0.09145881980657578, 0.650287926197052, -0.6281399726867676, 0.4916684627532959, -0.0283423513174057, 0.5261965394020081, 0.07720952481031418, -0.445820152759552, 0.34151387214660645, 0.27183613181114197, -0.4173484742641449, -0.9933209419250488, 0.07017942517995834, -0.848812997341156, -0.026601046323776245, 1.0072414875030518, -0.1376221776008606, -0.3917123079299927, -0.1993662714958191, -0.24810762703418732, 0.28063151240348816, -0.41139471530914307, 0.9333785176277161, 0.38471779227256775, 0.014955636113882065, -0.32325321435928345, -0.5019907355308533, 0.49936744570732117, 0.6421542167663574, -0.5033178329467773, 0.4364335238933563, -0.02158263511955738, 0.4220442473888397, -0.5381810665130615, 0.5885269641876221, -0.04949688911437988, 0.236589714884758, 0.05769719183444977, 0.02070169523358345, -0.6412745714187622, -0.10960401594638824, -0.3645118474960327, 0.13515351712703705, 0.6744065284729004, -0.29858848452568054 ]
http://arxiv.org/abs/2402.11414v1
http://arxiv.org/pdf/2402.11414v1
Fine-grained and Explainable Factuality Evaluation for Multimodal Summarization
2024-02-18T01:03:25
2024-02-18T01:03:25
Liqiang Jing, Jingxuan Zuo, Yue Zhang
cs.CL
cs.CL
Multimodal summarization aims to generate a concise summary based on the input text and image. However, the existing methods potentially suffer from unfactual output. To evaluate the factuality of multimodal summarization models, we propose two fine-grained and explainable evaluation frameworks (FALLACIOUS) for different application scenarios, i.e. reference-based factuality evaluation framework and reference-free factuality evaluation framework. Notably, the reference-free factuality evaluation framework doesn't need ground truth and hence it has a wider application scenario. To evaluate the effectiveness of the proposed frameworks, we compute the correlation between our frameworks and the other metrics. The experimental results show the effectiveness of our proposed method. We will release our code and dataset via github.
[ -0.35691019892692566, -0.6590359807014465, 0.56782466173172, 0.27758145332336426, -0.3662688136100769, -0.11479036509990692, -0.17951923608779907, -0.29461801052093506, 0.22709132730960846, 0.12357134371995926, -0.44298243522644043, -0.43132197856903076, -0.5780336260795593, -0.10114531219005585, -0.5105251669883728, 1.3204433917999268, -0.09880945831537247, -0.13365820050239563, -0.8080135583877563, -0.6005418300628662, -0.5618554949760437, -0.12000247836112976, -0.11713817715644836, -0.33147311210632324, 0.38534167408943176, 0.5979665517807007, 0.8014030456542969, 0.3578341007232666, 0.8143672943115234, 0.3494679033756256, 0.04784878343343735, 0.359803169965744, -0.5215829610824585, -0.15851590037345886, -0.4941733479499817, -0.2194087654352188, -0.4770796000957489, -0.014325122348964214, 0.4511283338069916, 0.5291097164154053, -0.1820129156112671, 0.37615013122558594, -0.031730540096759796, 0.7223673462867737, -0.8656756281852722, 0.2487073838710785, -0.3012990653514862, 0.005957578308880329, 0.17484867572784424, -0.3000595271587372, -0.39973706007003784, -0.5589876770973206, 0.07034400850534439, -0.47639358043670654, 0.3405620753765106, -0.011024454608559608, 0.7053941488265991, 0.028484797105193138, -0.5826722979545593, -0.4479718506336212, -0.7344587445259094, 0.6686669588088989, -0.851505696773529, 0.368622750043869, 0.035587068647146225, 0.591301679611206, 0.2738460302352905, -0.9337975978851318, -0.6537867188453674, -0.40057826042175293, -0.35854828357696533, 0.45500752329826355, -0.2192433625459671, 0.014918778091669083, 0.02051839977502823, 0.6675023436546326, -0.6598320007324219, -0.24340985715389252, -0.16353771090507507, -0.2967253625392914, 0.3874361515045166, 0.2707546055316925, 0.18228541314601898, -0.3366274833679199, -0.5782249569892883, 0.13268952071666718, -0.2648541033267975, 0.1331956535577774, 0.051856476813554764, 0.2480781376361847, -0.6988595128059387, 0.6658646464347839, -0.39738884568214417, 0.30414053797721863, 0.137201726436615, -0.5035666823387146, 0.3379232585430145, -0.9375056624412537, -0.14700792729854584, 0.014961855486035347, 0.5532205700874329, 1.1286916732788086, -0.05755563825368881, -0.3439856469631195, -0.10715028643608093, 0.19364798069000244, 0.052507370710372925, -0.9683282375335693, 0.03488316386938095, 0.32182446122169495, -0.9074501395225525, -0.42275533080101013, 0.06325049698352814, -1.0042850971221924, -0.33806782960891724, -0.18444891273975372, 0.3200545608997345, -0.4714150130748749, -0.3572947382926941, -0.1062123030424118, -0.4041944146156311, -0.09791824966669083, 0.5744153261184692, -0.8678069114685059, 0.10094770044088364, 0.22913937270641327, 0.9304224848747253, -0.3424261808395386, -0.1421593278646469, -0.399749755859375, 0.16901259124279022, -0.08959323167800903, 0.8841008543968201, -0.40054523944854736, -0.36418667435646057, -0.03400754928588867, -0.11895312368869781, -0.2021665722131729, -0.40830081701278687, 0.7397460341453552, -0.36723601818084717, 0.13209214806556702, -0.21430395543575287, -0.310982882976532, -0.5831544399261475, 0.4649829864501953, -0.6642380356788635, 0.5563386082649231, -0.1079665794968605, -0.9224762916564941, 0.38012123107910156, -0.7326246500015259, -0.4030108153820038, -0.2569962739944458, 0.11123798042535782, -0.3419797420501709, 0.2593493163585663, 0.1432093232870102, 0.5941140651702881, -0.22778530418872833, 0.5583344101905823, -0.5219563841819763, -0.288914293050766, 0.39986199140548706, -0.8047921657562256, 0.263617604970932, 0.36636680364608765, -0.13468031585216522, 0.20610842108726501, -0.9630107283592224, -0.13148950040340424, -0.11530231684446335, -0.35940203070640564, -0.11634085327386856, 0.18138863146305084, 0.26801612973213196, 0.2046504020690918, 0.28726398944854736, -0.2940843105316162, -0.07531110942363739, -0.2987479567527771, 0.06271679699420929, 0.36971017718315125, 0.06691160053014755, 0.35634902119636536, -0.48122256994247437, 0.3813919425010681, 0.26176217198371887, 0.017488842830061913, -0.5092383027076721, -0.08205065131187439, -0.5315262675285339, -0.4228649139404297, 0.3466562330722809, 0.46788471937179565, -0.9600669145584106, -0.165342316031456, -0.4346851408481598, -0.5103082060813904, 0.16465386748313904, -0.06511221826076508, 0.7154136896133423, 0.8051275014877319, 0.25743064284324646, -0.43898361921310425, -0.43469756841659546, -1.084311604499817, -0.20050546526908875, -0.21136796474456787, 0.09697378426790237, 0.11234841495752335, 0.7003142237663269, -0.23831072449684143, 1.0333876609802246, -0.39006829261779785, -0.0945897027850151, -0.24998119473457336, 0.5249349474906921, 0.1809256374835968, 0.5199373960494995, 0.7455381155014038, -0.9392099976539612, 0.0316927470266819, -0.04503590241074562, -0.93010413646698, -0.012832727283239365, -0.30879291892051697, 0.37109658122062683, 0.24644604325294495, 0.15061090886592865, -0.6810033917427063, 0.49328261613845825, 0.42721885442733765, -0.35105887055397034, 0.745180070400238, -0.25335693359375, 0.670671284198761, -1.06161630153656, 0.27462655305862427, 0.15781764686107635, -0.39028483629226685, -0.47329339385032654, 0.14727331697940826, 0.056977204978466034, -0.11004731804132462, -0.3773769736289978, 0.31834039092063904, -0.11840929090976715, -0.09872741997241974, -0.12036996334791183, 0.43973755836486816, 0.2821817398071289, 0.42791324853897095, -0.180199533700943, 0.6752141714096069, 0.036714617162942886, -0.6281762719154358, 0.4862784445285797, 0.05569011718034744, -0.29901695251464844, 0.6810669302940369, -0.6525946259498596, -0.43215617537498474, -0.30943793058395386, 0.40036845207214355, -1.1625133752822876, -0.47515395283699036, 0.15035994350910187, -0.5612865686416626, 0.16023221611976624, 0.023494821041822433, -0.33819156885147095, -0.04786437377333641, -0.8220416903495789, 0.34156879782676697, -0.0974733904004097, -0.418003648519516, 0.5733864307403564, 0.0803167074918747, -0.11429733037948608, -0.5283636450767517, -0.7006199955940247, -0.04936475679278374, -0.29260584712028503, -0.6613756418228149, 0.3647269308567047, -0.34487250447273254, -0.4088262617588043, 0.07020656764507294, -0.2608811855316162, -0.1490054577589035, -0.0694069042801857, 0.2816203832626343, 0.2868150770664215, -0.35874229669570923, 0.08616819232702255, 0.10675807297229767, -0.12032832205295563, 0.06434827297925949, 0.34525275230407715, 0.02439608797430992, -0.3875110447406769, -0.3945157527923584, -0.5256184935569763, 0.3347076177597046, 0.8697497248649597, -0.1279347538948059, 0.5003126263618469, 0.7630839347839355, -0.2570960223674774, 0.37842217087745667, -0.4574317932128906, 0.08676717430353165, -0.3411501348018646, 0.4963493347167969, -0.21236170828342438, -0.4618336260318756, 0.6996080875396729, -0.3003130257129669, 0.09861255437135696, 0.5394217371940613, 0.7070134878158569, -0.1130710169672966, 0.7852759957313538, 0.5740419626235962, 0.38807982206344604, 0.16258209943771362, -0.05883604660630226, 0.13725483417510986, -0.4036198854446411, -0.4361483156681061, -0.28501835465431213, 0.034117311239242554, -0.49009230732917786, -0.16039106249809265, 0.37868958711624146, 0.054778508841991425, 0.4222189486026764, -0.07189702987670898, 0.0265429075807333, 0.4155687987804413, 0.3359827697277069, 0.013587030582129955, 0.49394044280052185, -0.02454500086605549, -0.32985919713974, -0.014943135902285576, -0.42945966124534607, -0.5612077713012695, 0.970191478729248, 0.32017138600349426, 0.6426005959510803, 0.39698007702827454, 0.18433211743831635, 0.6236439347267151, 0.11873464286327362, -0.6711084246635437, 0.21840444207191467, -0.04054590314626694, -0.756938099861145, -0.07919709384441376, -0.3645183742046356, -0.3770979940891266, 0.42486807703971863, -0.5791124105453491, -0.6246604323387146, 0.25710129737854004, 0.40692824125289917, -0.4600904583930969, 0.028362393379211426, -1.1155585050582886, 0.8461508750915527, 0.05288108438253403, -0.37148016691207886, -0.4765353798866272, -0.7411273717880249, 0.7993513345718384, -0.0014562152791768312, 0.4940217137336731, -0.02855215035378933, 0.20222750306129456, 0.5908454656600952, -0.4003768861293793, 0.7375551462173462, -0.11968835443258286, -0.02672370709478855, 0.2175649106502533, 0.06735692918300629, 0.18338222801685333, 0.5069839358329773, 0.04076846316456795, 0.18533945083618164, 0.3525916039943695, -0.2108072191476822, -0.9898474216461182, 0.6787540912628174, -0.3417814373970032, -0.14332418143749237, -0.4087684452533722, -0.6598415374755859, -0.27622151374816895, 0.28231164813041687, 0.17958025634288788, 1.0464588403701782, -0.4403553009033203, 0.16619855165481567, 0.4937170147895813, -0.042922355234622955, 0.8492534756660461, 0.5222930312156677, -0.3276503086090088, -0.6508601307868958, 1.03207528591156, -0.03161806985735893, 0.1865527480840683, 0.38839563727378845, 0.08700910955667496, -0.33056706190109253, -0.4676324725151062, -0.6694319844245911, -0.01811596378684044, -0.7215118408203125, -0.19786065816879272, -0.26754850149154663, 0.17363965511322021, -0.32876577973365784, -0.22423504292964935, -0.445046991109848, -0.7573097944259644, 0.091654933989048, 0.044464193284511566, -0.0036109453067183495, 0.5380627512931824, -0.1812678426504135, 0.24726279079914093, -0.9009609222412109, 0.7173175811767578, 0.24899154901504517, 0.494546502828598, -0.06855372339487076, -0.4118914008140564, -0.44448891282081604, 0.2788952887058258, -0.5509642958641052, -0.5600173473358154, -0.07861599326133728, 0.1676289141178131, 0.35676446557044983, 0.8691582679748535, 0.06189809739589691, 0.6401997804641724, -0.41866737604141235, 0.8056535124778748, 0.606543779373169, -0.9223712682723999, 0.4201827943325043, -0.36912861466407776, 0.38609597086906433, 0.7693161368370056, 0.06799416244029999, -0.23302532732486725, -0.0703572928905487, -0.4172208309173584, -0.7081249356269836, 0.7874272465705872, 0.4987610876560211, -0.08197856694459915, 0.31012681126594543, 0.11421801894903183, 0.35618916153907776, 0.36455005407333374, -0.6700695157051086, -0.5081070065498352, -0.4816541373729706, -0.24851848185062408, -0.2193290740251541, -0.6500977873802185, -0.2700692117214203, -0.028035178780555725, 0.6250033974647522, -0.14928653836250305, 0.17875215411186218, 0.11360623687505722, -0.32701078057289124, 0.09370709210634232, 0.45707160234451294, 0.995812714099884, 1.097732424736023, -0.6768187880516052, 0.3275468647480011, 0.059523504227399826, -0.47358325123786926, -0.040267277508974075, 0.1503099650144577, -0.18530899286270142, 0.32842305302619934, 0.7508979439735413, 0.6266935467720032, 0.39257916808128357, -0.690016508102417, 0.7773585915565491, -0.28542959690093994, -0.17022085189819336, -0.05549503490328789, -0.08689484000205994, 0.010271507315337658, 0.259124755859375, 0.15225258469581604, 0.615898072719574, 0.5514968037605286, -0.6391720771789551, 0.033910512924194336, 0.2938649654388428, -0.16095604002475739, -0.41058939695358276, 0.5492701530456543, 0.4237173795700073, 0.25092583894729614, 0.02245159074664116, -0.1635250598192215, -0.06150669604539871, 0.444144070148468, 0.6085144281387329, 0.5965627431869507, 0.07135402411222458, 0.48421987891197205, 0.15425939857959747, 0.2922378182411194, 0.28573888540267944, -0.009294621646404266, -0.22472725808620453, -0.6310451626777649, -0.48036614060401917, -0.31198957562446594, -0.5984746813774109, -0.006223282311111689, -0.7604133486747742, 0.14334793388843536, -0.1412225365638733, -0.05381178855895996, 0.32779964804649353, -0.17917309701442719, -0.024923386052250862, 0.4861639142036438, 0.07245351374149323, 0.7200421094894409, -0.8340592384338379, 0.2252194732427597, 0.8567859530448914, -0.5453445911407471, -0.2708103358745575, 0.11877884715795517, 0.1985531747341156, -0.4239051640033722, 0.34477415680885315, 0.22751370072364807, -0.49155551195144653, -0.5655208826065063, -0.2849697172641754, -0.726555347442627, 1.1068789958953857, 0.5990164279937744, -0.15357476472854614, 0.011999056674540043, -0.0076988209038972855, 0.21612690389156342, -0.22910821437835693, 0.5467844009399414, 0.361420214176178, 0.5659967660903931, 0.2613969147205353, -0.8267106413841248, 0.03859872743487358, -0.41797077655792236, 0.05933564528822899, -0.1818201243877411, -0.664206862449646, 0.3891797959804535, -0.3262230157852173, -0.3310103118419647, -0.1410510092973709, 0.8162257075309753, 0.06970454752445221, 0.973498523235321, 0.2813299000263214, 0.6032810211181641, 0.6087267398834229, 0.0737437978386879, 0.9242411851882935, -0.2331574261188507, 0.6413125991821289, 1.1195476055145264, -0.07007583975791931, 0.36670854687690735, 0.4732181429862976, -0.04931933060288429, 0.4795481264591217, 0.40881869196891785, 0.09722572565078735, 0.6629793047904968, -0.4122081696987152, -0.06863659620285034, -0.05165216326713562, -0.15730449557304382, -0.33799025416374207, 0.6337764859199524, 0.11292722076177597, -0.2309444099664688, -0.764340341091156, 0.01817583292722702, 0.15792953968048096, 0.14645354449748993, -0.29148370027542114, 0.5294474363327026, -0.09000691026449203, -0.517113983631134, 0.6109732389450073, 0.3688019812107086, 0.494065523147583, -0.4899754822254181, -0.18720008432865143, -0.25136470794677734, 0.2742902338504791, -0.5109450221061707, -0.4658099114894867, 0.48474791646003723, 0.17936012148857117, -0.6794273257255554, 0.052779778838157654, 0.6433463096618652, -0.1434750258922577, -0.31727173924446106, -0.15559661388397217, 0.33577296137809753, 0.10037172585725784, 0.24291670322418213, -0.5020443797111511, -0.12592564523220062, -0.05575516074895859, -0.14671245217323303, 0.10645892471075058, 0.44347071647644043, -0.10438111424446106, 0.651877224445343, 0.4471200406551361, -0.24137750267982483, -0.22972038388252258, 0.058444999158382416, 0.7857574224472046, -0.28200584650039673, -0.37499290704727173, -0.9710710048675537, 0.7072817087173462, -0.1467948853969574, -0.3277520537376404, 0.9248079061508179, 0.8566776514053345, 0.3492658734321594, -0.3047862648963928, 0.6086717844009399, -0.25647929310798645, 0.4307219982147217, -0.8513175249099731, 0.7268965244293213, -0.5734502077102661, 0.11122464388608932, -0.5678414702415466, -0.7686782479286194, -0.34487298130989075, 0.28271448612213135, -0.06307277083396912, 0.06278771162033081, 1.1433674097061157, 0.6394513845443726, -0.33427467942237854, 0.2635531723499298, 0.26462361216545105, 0.14789171516895294, -0.1046982854604721, 0.12473408877849579, 0.653115451335907, -0.3122078478336334, 0.4947499930858612, -0.2757241129875183, -0.4384157657623291, -0.39653897285461426, -1.0623536109924316, -0.8543233275413513, -0.5363302826881409, -0.4128222167491913, -0.21627765893936157, -0.12360373884439468, 0.6774983406066895, 0.6430244445800781, -0.8373550772666931, 0.06174658238887787, 0.16800615191459656, 0.3642851710319519, -0.12642960250377655, -0.24754181504249573, 0.40495195984840393, -0.1322840303182602, -0.555916965007782, 0.23234713077545166, 0.400202214717865, 0.0641324445605278, -0.023450657725334167, 0.03126000240445137, -0.20559664070606232, 0.3338122069835663, 0.8220037221908569, 0.0810333788394928, -0.5725461840629578, -0.31988412141799927, -0.46832072734832764, 0.14564847946166992, 0.03462710604071617, 0.6874772310256958, -0.5003447532653809, 0.637347400188446, 0.3325352072715759, 0.3547731041908264, 0.29573097825050354, 0.34106919169425964, 0.35477736592292786, -0.6918469071388245, 0.2509876787662506, -0.3332025706768036, 0.35641375184059143, 0.22581782937049866, -0.36148813366889954, 0.33098241686820984, 0.4075683653354645, -0.2513262927532196, -0.6980864405632019, 0.15466812252998352, -1.1933647394180298, -0.18266315758228302, 0.89040607213974, -0.3458079397678375, -0.031578730791807175, 0.027182888239622116, -0.13344122469425201, 0.2732263505458832, -0.37681883573532104, 0.8045097589492798, 0.7670813798904419, -0.19939301908016205, 0.11387225985527039, -0.46243318915367126, 0.17635183036327362, 0.21061022579669952, -0.7831329703330994, -0.03481416776776314, 0.8515651822090149, 0.2791490852832794, 0.4576338529586792, 0.4932916462421417, -0.20916858315467834, 0.5037585496902466, 0.05986080318689346, 0.15465550124645233, -0.37121155858039856, -0.36530402302742004, -0.3381939232349396, 0.36839592456817627, -0.2517816126346588, -0.31352540850639343 ]
http://arxiv.org/abs/2402.11411v1
http://arxiv.org/pdf/2402.11411v1
Aligning Modalities in Vision Large Language Models via Preference Fine-tuning
2024-02-18T00:56:16
2024-02-18T00:56:16
Yiyang Zhou, Chenhang Cui, Rafael Rafailov, Chelsea Finn, Huaxiu Yao
cs.LG
cs.LG, cs.CL, cs.CV
Instruction-following Vision Large Language Models (VLLMs) have achieved significant progress recently on a variety of tasks. These approaches merge strong pre-trained vision models and large language models (LLMs). Since these components are trained separately, the learned representations need to be aligned with joint training on additional image-language pairs. This procedure is not perfect and can cause the model to hallucinate - provide answers that do not accurately reflect the image, even when the core LLM is highly factual and the vision backbone has sufficiently complete representations. In this work, we frame the hallucination problem as an alignment issue, tackle it with preference tuning. Specifically, we propose POVID to generate feedback data with AI models. We use ground-truth instructions as the preferred response and a two-stage approach to generate dispreferred data. First, we prompt GPT-4V to inject plausible hallucinations into the correct answer. Second, we distort the image to trigger the inherent hallucination behavior of the VLLM. This is an automated approach, which does not rely on human data generation or require a perfect expert, which makes it easily scalable. Finally, both of these generation strategies are integrated into an RLHF pipeline via Direct Preference Optimization. In experiments across broad benchmarks, we show that we can not only reduce hallucinations, but improve model performance across standard benchmarks, outperforming prior approaches. Our data and code are available at https://github.com/YiyangZhou/POVID.
[ -0.5094271898269653, -0.6817984580993652, 0.6612510681152344, -0.2376728057861328, -0.38171759247779846, -0.5485196709632874, -0.5276198387145996, -0.3986656665802002, 0.193524569272995, 0.6845251321792603, -0.4541768729686737, -0.4947555959224701, -0.4324018359184265, -0.09855450689792633, 0.0346393883228302, 0.9475321173667908, 0.0011388342827558517, 0.25570961833000183, -0.2835003137588501, -0.1996338665485382, -0.6744265556335449, -0.5136039853096008, -0.272673100233078, -0.2956189811229706, 0.4130243957042694, 0.3126164972782135, 1.0834040641784668, 0.7976582050323486, 0.7431877255439758, 0.287290096282959, 0.301570326089859, 0.6190683841705322, -0.4643697738647461, 0.1658916473388672, -0.2684124708175659, -0.11774350702762604, -0.5337960124015808, -0.20850926637649536, 0.42258456349372864, 0.5093070864677429, -0.19321215152740479, -0.0006593433790840209, -0.045659009367227554, 0.6343895792961121, -0.6641517877578735, -0.12223798036575317, -0.6798732280731201, 0.2022314816713333, 0.05121980980038643, -0.44716814160346985, -0.38115939497947693, -0.32751452922821045, 0.2754969000816345, -0.611729085445404, 0.19567778706550598, 0.15790477395057678, 0.9734755158424377, 0.851135790348053, -0.03555015102028847, -0.0020316941663622856, -0.788337767124176, 0.745211660861969, -0.6219472885131836, 0.40801766514778137, 0.5051671266555786, 0.21727073192596436, -0.120670847594738, -0.24192138016223907, -0.5905385613441467, -0.1978151947259903, -0.07042168825864792, 0.030931392684578896, 0.2581459879875183, 0.16036297380924225, 0.21455056965351105, 0.34881287813186646, -0.7091898322105408, 0.2025238573551178, -0.23383797705173492, -0.34210407733917236, 0.6056773066520691, 0.31082162261009216, 0.040824465453624725, -0.03844277188181877, -0.1793939471244812, -0.25404974818229675, -0.41965028643608093, -0.17767372727394104, 0.4123985171318054, 0.2534755766391754, 0.15458787977695465, 0.8222272992134094, 0.0100612947717309, 1.0689301490783691, 0.7577382326126099, -0.03275363892316818, 0.4887179136276245, -0.05070866271853447, -0.42278459668159485, 0.3085468113422394, 0.5984737277030945, 0.7831553220748901, 0.16332660615444183, -0.12209860980510712, -0.33706244826316833, 0.3964386582374573, 0.7246782183647156, -0.7132821679115295, -0.30597108602523804, 0.33582884073257446, -0.30323249101638794, -0.3251799941062927, 0.14190395176410675, -0.7575627565383911, -0.7666776180267334, -0.7918152213096619, 0.7365262508392334, -0.375057578086853, -0.26664063334465027, 0.5392377972602844, 0.18323968350887299, 0.6483281254768372, 0.4286307096481323, -1.1698660850524902, 0.01010827161371708, 0.6348074674606323, 0.5540816187858582, -0.4095563590526581, -0.3894179165363312, -0.9246973991394043, -0.032386913895606995, -0.4819185733795166, 0.6546664237976074, -0.6867454648017883, -0.0759991928935051, 0.03866678848862648, 0.12991581857204437, 0.13472731411457062, -0.799781322479248, 0.3332577049732208, -0.2703772187232971, 0.3772609233856201, -0.2534140646457672, -0.42926713824272156, -0.008460531011223793, 0.23309122025966644, -0.4670032560825348, 0.8561919331550598, -0.044682398438453674, -0.7380541563034058, 0.3559500277042389, -0.2878499925136566, -0.3181712031364441, -0.0864076018333435, -0.6454454660415649, -0.55140221118927, 0.3275837302207947, 0.4862302243709564, 0.43841123580932617, -0.07994130998849869, 0.4456040859222412, -0.18733428418636322, -0.451355516910553, 0.03273080661892891, -0.2591419219970703, 0.31253716349601746, 0.18635542690753937, -0.7297464609146118, 0.5603986978530884, -0.6249213814735413, -0.1898096799850464, 0.06369015574455261, 0.17545080184936523, -0.24345998466014862, 0.1861591935157776, -0.03799653798341751, -0.07242604345083237, 0.2551855146884918, -0.1655682772397995, 0.33573606610298157, -0.48803362250328064, 0.242629274725914, 0.9820542931556702, -0.2808435261249542, 0.65627121925354, -0.3595671057701111, 0.28455060720443726, 0.08881494402885437, 0.3694309592247009, 0.1535658836364746, -0.25172168016433716, -0.8209514617919922, -0.09107626229524612, -0.17225094139575958, 0.3194848597049713, -0.6180694699287415, 0.6251017451286316, -0.14129570126533508, -0.12016499042510986, -0.7322601675987244, 0.024576840922236443, 0.18238218128681183, 0.6929695010185242, 0.442262202501297, -0.34861063957214355, -0.5745094418525696, -1.0222468376159668, 0.2725929319858551, -0.11153915524482727, 0.029028888791799545, 0.38718393445014954, 0.07676709443330765, -0.35105302929878235, 0.704680323600769, -0.6358131170272827, -0.5455676317214966, 0.14464519917964935, -0.197363018989563, 0.01518931519240141, 0.43736696243286133, 0.4383687674999237, -0.9416188597679138, -0.10357452929019928, 0.3013785481452942, -0.7711753249168396, -0.007557069417089224, 0.013972814194858074, -0.410102903842926, 0.44403067231178284, 0.3789966106414795, -0.3949342668056488, 0.29753851890563965, 0.5006187558174133, -0.21504336595535278, 0.5346254706382751, -0.22530657052993774, 0.31991827487945557, -1.0789434909820557, -0.0571136474609375, -0.052512433379888535, -0.20974382758140564, -0.48147502541542053, 0.08263342082500458, -0.15837900340557098, 0.1340571790933609, -0.4357379972934723, 0.34587809443473816, -0.40968799591064453, -0.040049657225608826, -0.3540061116218567, 0.09641250967979431, -0.02402271330356598, 0.5573287606239319, 0.5764245986938477, 0.6253229975700378, 0.7520678639411926, -0.4540780484676361, 0.5070117115974426, 0.21745680272579193, -0.23610307276248932, 0.538101851940155, -0.49894261360168457, 0.31580525636672974, -0.2857094705104828, -0.1644584685564041, -0.8241844177246094, -0.5884005427360535, 0.47937700152397156, -0.3224306106567383, 0.38152003288269043, 0.1117488369345665, -0.06406953930854797, -0.1440611332654953, -0.334970086812973, 0.4715973734855652, 0.6125533580780029, -0.6849446892738342, 0.69476318359375, 0.4552655816078186, 0.3254297971725464, -0.6754888296127319, -0.528676450252533, -0.10896918177604675, -0.2904170751571655, -0.5149518251419067, 0.40851786732673645, -0.14946810901165009, -0.26304373145103455, 0.04804638773202896, -0.21596182882785797, 0.15230050683021545, -0.2897135019302368, 0.42460736632347107, 0.6231834292411804, -0.38677969574928284, 0.11347850412130356, -0.2978787422180176, 0.04940950870513916, -0.2366090714931488, -0.5693315267562866, 0.6813607811927795, -0.30057305097579956, -0.40174612402915955, -0.4626407027244568, 0.15318943560123444, 0.7690783143043518, -0.37896233797073364, 0.4921528697013855, 0.6536077260971069, -0.3863525986671448, -0.07092226296663284, -0.7467285394668579, -0.43596240878105164, -0.4611085057258606, 0.3758494555950165, -0.27944818139076233, -0.9011563062667847, 0.26509541273117065, 0.2944430708885193, 0.00947573035955429, 0.25200480222702026, 0.816124439239502, 0.0700218677520752, 1.158747911453247, 0.5758126378059387, -0.09758763015270233, 0.5232806205749512, -0.058922067284584045, 0.3057302236557007, -0.6631619334220886, -0.29937639832496643, -0.14569509029388428, -0.44580063223838806, -0.3335479199886322, -0.4702588617801666, 0.31691840291023254, -0.08031319081783295, -0.2476716935634613, 0.10701297968626022, -1.0120421648025513, 0.6242258548736572, 0.4220432639122009, 0.3082410991191864, 0.054000578820705414, 0.26592347025871277, 0.1137094497680664, -0.1892528384923935, -0.4254218339920044, -0.49968287348747253, 0.920882523059845, 0.1646548956632614, 1.0807850360870361, -0.08960229903459549, 0.572887122631073, 0.011445456184446812, -0.14979000389575958, -0.9159366488456726, 0.42958205938339233, -0.26215386390686035, -0.203619122505188, -0.4128723740577698, -0.14304879307746887, -0.5826212167739868, 0.08628498017787933, -0.3397315740585327, -0.7068936824798584, 0.1975017935037613, 0.40791165828704834, -0.6463543176651001, 0.1551058143377304, -0.6479747295379639, 0.9304807782173157, -0.4702063202857971, -0.7842978835105896, -0.098686084151268, -0.7125522494316101, 0.31216445565223694, 0.055932629853487015, -0.2836625576019287, 0.1921246349811554, 0.21957750618457794, 0.35433506965637207, -0.36122286319732666, 0.7276079058647156, -0.15931160748004913, -0.25422438979148865, 0.0028963966760784388, -0.07612191885709763, 0.5581154227256775, 0.03246523439884186, 0.0738869309425354, 0.0002230918762506917, -0.21598300337791443, -0.1597805917263031, -0.5842509865760803, 0.8656359314918518, -0.9761770963668823, -0.8888009190559387, -0.39725735783576965, -0.6223552227020264, -0.2797647714614868, -0.055442556738853455, 0.5310487151145935, 0.5103862881660461, 0.09736140817403793, 0.021447351202368736, 0.9282231330871582, -0.2716977298259735, 0.0530976876616478, 0.1693212389945984, -0.5656747221946716, -0.4187288284301758, 1.0353718996047974, -0.10454360395669937, 0.2629733085632324, 0.39643722772598267, 0.13832764327526093, -0.30028459429740906, -0.6011821031570435, -0.494932621717453, 0.2620212435722351, -0.45734041929244995, -0.10659737139940262, -0.42508822679519653, -0.2172502726316452, -0.5089055299758911, -0.34850236773490906, -0.4789176881313324, 0.051185958087444305, -0.41861215233802795, -0.08551158756017685, 0.2968754172325134, 0.42225003242492676, 0.038553692400455475, -0.05605515465140343, -0.3832763433456421, 0.5763842463493347, 0.4070700705051422, 0.38236451148986816, -0.20523272454738617, -0.649291455745697, -0.15656355023384094, 0.013271241448819637, -0.2125243842601776, -0.6350528001785278, 0.3248077630996704, 0.06863126903772354, 0.2951200008392334, 0.6195588111877441, 0.19207720458507538, 1.1483726501464844, -0.5161909461021423, 0.8144919872283936, 0.26095062494277954, -0.774692714214325, 0.6927579045295715, -0.14722827076911926, 0.11856845766305923, 0.6065143346786499, 0.20809288322925568, -0.317748486995697, -0.42125794291496277, -0.1667221486568451, -0.6919535994529724, 0.6864866614341736, -0.02483215741813183, 0.03542942926287651, 0.11555354297161102, 0.3941066265106201, 0.3246585726737976, 0.1354190558195114, -0.4002620279788971, -0.029356013983488083, -0.5745607614517212, -0.2767021954059601, -0.06107145920395851, -0.026230767369270325, -0.2705725133419037, -0.4841046929359436, 0.5702547430992126, -0.20944806933403015, 0.14692239463329315, 0.3668615520000458, -0.07812004536390305, -0.3822964131832123, -0.0946873128414154, 0.8668093085289001, 0.6981391310691833, -0.35117149353027344, 0.3436286151409149, -0.18863949179649353, -0.4816320538520813, 0.14804969727993011, -0.18731828033924103, -0.23549224436283112, -0.16714546084403992, 0.0911097526550293, 1.1782817840576172, -0.2963584065437317, -0.6611368656158447, 0.5149103999137878, -0.13114604353904724, -0.38383302092552185, -0.26296624541282654, 0.2876524329185486, -0.25772610306739807, 0.39986684918403625, 0.15264946222305298, 0.2402743101119995, -0.05309493839740753, -0.27513253688812256, 0.16441534459590912, 0.6182246804237366, -0.44930750131607056, -0.340162068605423, 0.7674031853675842, 0.10783680528402328, -0.30548903346061707, 0.6719058752059937, -0.037356581538915634, -0.42455679178237915, 0.4162309765815735, 0.39092060923576355, 0.9602248072624207, -0.2177753895521164, 0.32519084215164185, 0.4133520722389221, 0.21939662098884583, -0.3196578025817871, 0.10746735334396362, 0.07444529980421066, -0.9794050455093384, -0.47318506240844727, -0.7663941979408264, -0.2444344311952591, 0.4800148904323578, -0.7041172981262207, 0.5274873971939087, -0.38415682315826416, -0.1481979489326477, -0.032033856958150864, -0.2567480504512787, -0.5184556841850281, 0.15161266922950745, 0.4715282917022705, 0.23351873457431793, -0.7828000783920288, 0.9836809635162354, 0.7729935050010681, -0.4063866138458252, -0.9512522220611572, 0.28342410922050476, 0.005056335125118494, -0.763987123966217, 0.3490864932537079, 0.23223035037517548, -0.34467464685440063, -0.07611053436994553, -0.6275801658630371, -0.5191263556480408, 0.784153401851654, 0.6435807347297668, -0.906856894493103, -0.01864342950284481, -0.09828273206949234, 0.4994623064994812, -0.5360242128372192, -0.1186712458729744, 0.47353556752204895, 0.5401033759117126, 0.24125300347805023, -0.854888379573822, 0.04174909368157387, -0.1791951209306717, -0.03321150317788124, 0.37029072642326355, -0.46749335527420044, 0.4976002871990204, -0.40691831707954407, -0.06807544827461243, -0.019117793068289757, 0.5539201498031616, 0.05113721638917923, 0.1707853376865387, 0.5726626515388489, 0.6868890523910522, 0.7555850744247437, 0.051756296306848526, 0.7543279528617859, -0.2764451503753662, 0.1284560263156891, 1.3429092168807983, -0.5178428888320923, 0.7687869668006897, 0.9449753761291504, 0.14571218192577362, -0.008395540527999401, 0.717559278011322, -0.14194045960903168, 0.8030112981796265, 0.02292507514357567, 0.04260878264904022, -0.5456410050392151, -0.22040528059005737, -0.5897277593612671, 0.5011194348335266, 0.03168182075023651, -0.27801159024238586, 0.18094933032989502, 0.17898966372013092, -0.3776478171348572, 0.2005934715270996, -0.32756558060646057, 0.8639055490493774, -0.267390638589859, -1.0431578159332275, 0.8977193236351013, -0.32164138555526733, 0.6374345421791077, -0.4601128101348877, -0.10636518150568008, -0.33814024925231934, 0.32247868180274963, -0.4474021792411804, -0.5703434348106384, 0.3622753620147705, -0.11367689073085785, -0.3122251033782959, 0.018005691468715668, 0.3619595170021057, -0.6883872747421265, -0.38131898641586304, 0.1032494306564331, 0.07146336138248444, 0.12772248685359955, -0.07021037489175797, -0.2225092500448227, 0.3538009226322174, 0.28952813148498535, 0.0019374756375327706, 0.34688982367515564, 0.20392870903015137, -0.10660139471292496, 0.10576852411031723, 0.37898123264312744, 0.21048247814178467, 0.029144100844860077, 0.2745078206062317, 0.8352336287498474, -0.451278418302536, -0.10664568841457367, -0.994507908821106, 0.36958637833595276, 0.07177466154098511, -0.347771018743515, 0.47469305992126465, 0.4293140769004822, 0.940086841583252, -0.23743639886379242, 0.5791765451431274, 0.07804641127586365, -0.10315791517496109, -0.7468904256820679, 0.4772765338420868, -0.7582979798316956, 0.17381978034973145, -0.29614707827568054, -1.2684553861618042, -0.4924788177013397, 0.937786877155304, -0.42367222905158997, -0.2934887409210205, 0.6321418881416321, 1.2709710597991943, -0.13121843338012695, -0.20319387316703796, 0.47794875502586365, 0.208095520734787, 0.16071996092796326, 0.694424033164978, 0.8562659025192261, -0.18508104979991913, 0.2922300696372986, -0.19118954241275787, -0.2661327123641968, -0.35633835196495056, -0.7512239813804626, -0.77732253074646, -0.7577930092811584, -0.43861886858940125, -0.3845926523208618, 0.07114437222480774, 1.1322505474090576, 0.6971648335456848, -0.8077767491340637, -0.1200263574719429, -0.13187621533870697, -0.11841276288032532, -0.23788508772850037, -0.17719049751758575, 0.45913127064704895, -0.42137670516967773, -0.7959692478179932, 0.08876587450504303, 0.5530921816825867, 0.08416615426540375, -0.47086507081985474, -0.5215198993682861, 0.16302622854709625, -0.11093298345804214, 0.46757185459136963, -0.007322253193706274, -1.108359932899475, -0.5853924751281738, 0.33185485005378723, -0.11358658224344254, 0.3609161972999573, 0.7253853678703308, -0.6299486756324768, 0.765343189239502, 0.3556191325187683, 0.7915574908256531, 0.3639755845069885, 0.1440858244895935, 0.6187558770179749, -0.32379379868507385, 0.21332380175590515, 0.29130473732948303, 0.18149015307426453, 0.48270246386528015, -0.5349911451339722, 0.32595422863960266, -0.044377490878105164, -0.7049216032028198, -0.8501594066619873, 0.19149909913539886, -1.147194504737854, -0.263050377368927, 1.1772643327713013, 0.40730300545692444, -0.33556872606277466, 0.21160374581813812, -0.7269142866134644, 0.09073533862829208, -0.21379482746124268, 0.9965433478355408, 0.7346470952033997, -0.12830369174480438, -0.10384968668222427, -0.26944097876548767, 0.7117360234260559, 0.6240293979644775, -0.4402126669883728, 0.16011446714401245, 0.8983619809150696, -0.021167008206248283, 0.21548783779144287, 0.48053503036499023, -0.14361031353473663, 0.3210030794143677, -0.3380771279335022, 0.11641792953014374, -0.05772515386343002, -0.61838299036026, -0.5283998847007751, 0.13726606965065002, 0.19323818385601044, -0.43427029252052307 ]
http://arxiv.org/abs/2402.11409v2
http://arxiv.org/pdf/2402.11409v2
Multi-dimensional Evaluation of Empathetic Dialog Responses
2024-02-18T00:32:33
2024-04-16T16:34:02
Zhichao Xu, Jiepu Jiang
cs.CL
cs.CL
Empathy is critical for effective and satisfactory conversational communication. Prior efforts to measure conversational empathy mostly focus on expressed communicative intents -- that is, the way empathy is expressed. Yet, these works ignore the fact that conversation is also a collaboration involving both speakers and listeners. In contrast, we propose a multi-dimensional empathy evaluation framework to measure both expressed intents from the speaker's perspective and perceived empathy from the listener's perspective. We apply our proposed framework to analyze our internal customer-service dialogue. We find the two dimensions (expressed intent types and perceived empathy) are inter-connected, and perceived empathy has a high correlation with dialogue satisfaction levels. To reduce the annotation cost, we explore different options to automatically measure conversational empathy: prompting LLMs and training language model-based classifiers. Our experiments show that prompting methods with even popular models like GPT-4 and Flan family models perform relatively poorly on both public and our internal datasets. In contrast, instruction-finetuned classifiers based on Flan-T5 family models outperform prior works and competitive baselines. We conduct a detailed ablation study to give more insights into instruction finetuning method's strong performance.
[ -0.6787383556365967, -0.887847363948822, 0.6465608477592468, 0.18870019912719727, -0.033922240138053894, -0.20564162731170654, -0.12724435329437256, -0.2991301417350769, 0.1345691978931427, 0.3025137484073639, -0.5147698521614075, -0.34904688596725464, -0.6047835350036621, 0.2780441641807556, 0.03889015316963196, 0.6675814986228943, 0.04912331700325012, 0.4103047549724579, -0.21814070641994476, -0.24627237021923065, -0.22667370736598969, -0.5615536570549011, -0.9580952525138855, -0.44709494709968567, 0.578947901725769, 0.6997373700141907, 0.30994102358818054, 0.2289099544286728, 0.42076772451400757, 0.37828025221824646, -0.03161979839205742, 0.2603589594364166, -0.23174962401390076, -0.06113569810986519, 0.3996695876121521, -0.1567530781030655, -0.7037501335144043, 0.19633285701274872, 0.19104927778244019, 0.6396756768226624, -0.25838735699653625, 0.15838059782981873, 0.25918522477149963, 0.430372029542923, -0.32320430874824524, -0.055194757878780365, -0.13820712268352509, 0.3256215453147888, 0.6285310983657837, -0.33238381147384644, -0.39876192808151245, -0.44324395060539246, 0.43525275588035583, -0.2887050211429596, 0.10949762910604477, -0.04577619209885597, 0.29910531640052795, 0.07685568183660507, -0.5184578895568848, -0.44360363483428955, -0.5413076877593994, 0.7360871434211731, -0.5573346614837646, 0.33221355080604553, 0.5606780648231506, 0.1295529454946518, 0.35927820205688477, -0.29296597838401794, -0.4153796136379242, -0.3517271876335144, -0.08015602082014084, 0.5012470483779907, -0.26700544357299805, 0.36847248673439026, 0.43737831711769104, 0.4766659736633301, -0.3271273374557495, 0.1551768034696579, -0.04231540486216545, 0.1560429334640503, 0.4902949035167694, 0.4730294942855835, 0.2670917510986328, -0.01514996588230133, -0.4379420280456543, -0.10207504779100418, 0.0667002722620964, 0.27485939860343933, 0.49791568517684937, 0.23595041036605835, -0.603147029876709, 0.6133635640144348, 0.12515144050121307, 0.452160120010376, 0.3473368287086487, 0.06356289237737656, 0.09506623446941376, -0.09903109073638916, -0.27239179611206055, 0.08090164512395859, 0.6182375550270081, 1.0351251363754272, 0.5236684679985046, 0.12675417959690094, 0.1944609135389328, 0.10017583519220352, 0.40375426411628723, -0.978744387626648, 0.00651458278298378, 0.491216242313385, -0.7276613116264343, -0.18688014149665833, -0.08567776530981064, -1.1080354452133179, -0.46202075481414795, -0.5151908993721008, 0.04429629445075989, -0.3882817327976227, -0.3762974143028259, -0.08748874068260193, -0.26101651787757874, 0.2396099716424942, 0.2684425711631775, -0.8789798617362976, 0.3812645673751831, 0.6167109608650208, 0.9498673677444458, 0.1718248575925827, -0.351648211479187, -0.6181701421737671, -0.13006405532360077, -0.02686353214085102, 0.9217182397842407, -0.830641508102417, -0.5250861048698425, 0.0752275288105011, -0.25828924775123596, -0.10318273305892944, -0.3392298221588135, 0.6093396544456482, 0.18411299586296082, 0.20872187614440918, -0.28781917691230774, -0.6637156009674072, -0.13145262002944946, 0.6115986108779907, -0.28338971734046936, 0.4275531470775604, 0.4346984922885895, -0.6583466529846191, 0.3152395188808441, -0.8926531672477722, -0.22516725957393646, -0.2871086895465851, 0.012222588993608952, -0.3582834005355835, 0.3317941129207611, 0.31017884612083435, 0.6160988211631775, -0.21187157928943634, -0.220195010304451, -0.5175580382347107, -0.28204259276390076, 0.2746918499469757, -0.5659780502319336, 0.40558865666389465, 0.1293950229883194, -0.11607079207897186, 0.09302151203155518, -0.5697583556175232, -0.012760267592966557, -0.06090625002980232, -0.17878887057304382, -0.3110820949077606, -0.42389431595802307, -0.12975728511810303, 0.23527777194976807, -0.007041726727038622, -0.7432531714439392, 0.16268381476402283, -0.5684318542480469, 0.19493146240711212, 0.7269859313964844, 0.26832523941993713, 0.5977484583854675, -0.3013063967227936, 0.6924093961715698, 0.2204103171825409, 0.5876402258872986, -0.3707144558429718, -0.4744771420955658, -0.6981059312820435, -0.5104290843009949, -0.4986305236816406, 0.42275381088256836, -0.09855885803699493, 0.4999280273914337, 0.017525823786854744, -0.5379646420478821, -0.6479384303092957, -0.1859642118215561, 0.5614832043647766, 0.4207628071308136, 0.33556926250457764, -0.43469008803367615, -0.1999419927597046, -0.9354321956634521, -0.40250730514526367, 0.01352617796510458, -0.02541678585112095, 0.7219228744506836, -0.07482802867889404, -0.20454423129558563, 0.5666184425354004, -0.3032234013080597, -0.35177284479141235, -0.2579774558544159, 0.29769617319107056, -0.08973579108715057, 0.24721871316432953, 0.4681491553783417, -0.44636744260787964, -0.735852837562561, 0.23872631788253784, -0.5614241361618042, -0.12683752179145813, -0.11722570657730103, 0.10616280138492584, 0.3108954429626465, 0.12917344272136688, -0.509710967540741, 0.6029817461967468, 0.6455349326133728, -0.4816162884235382, 0.04578879475593567, -0.2497469037771225, 0.714061439037323, -0.9843432307243347, -0.1723555028438568, 0.16794314980506897, 0.37044110894203186, -0.9325062036514282, -0.6111321449279785, -0.10875917226076126, 0.01662818342447281, -0.40555939078330994, 0.682257890701294, -0.17218713462352753, -0.1547108143568039, 0.07069939374923706, 0.248470738530159, 0.11111551523208618, 0.586017906665802, -0.010133896954357624, 0.4525260329246521, 0.4125709533691406, -0.45677638053894043, 0.5418325662612915, 0.597119152545929, -0.09521272778511047, 1.1075626611709595, -0.5322693586349487, 0.1991720348596573, -0.013265092857182026, 0.20635195076465607, -0.9690502882003784, -0.20491254329681396, 0.4639867842197418, -0.5070359110832214, 0.060069408267736435, -0.11038810014724731, -0.11523770540952682, -0.28908365964889526, -0.2635361850261688, 0.3011709749698639, 0.39336976408958435, -0.7218871712684631, 0.9218579530715942, -0.0007442199857905507, -0.30430442094802856, -0.17453619837760925, -0.7165619134902954, -0.05390884354710579, -0.48553037643432617, -0.6554292440414429, -0.3269042372703552, -0.3483690619468689, -0.4651753604412079, -0.5532293319702148, 0.12534360587596893, -0.21528899669647217, -0.1004863828420639, 0.3578226566314697, -0.06800206005573273, 0.010649111121892929, -0.1201343685388565, 0.1784757673740387, -0.353786438703537, 0.34385040402412415, 0.38308924436569214, 0.6080331206321716, -0.24405346810817719, -0.642272412776947, -1.0768386125564575, 0.543826699256897, 0.5795674920082092, -0.15164396166801453, 0.5612896680831909, 0.7036401033401489, -0.018973464146256447, 0.21832674741744995, -0.6953786611557007, -0.5406800508499146, -0.3733132481575012, 0.03358572721481323, -0.4143294394016266, -0.6691148281097412, 0.5481221079826355, -0.0914125144481659, 0.05670837685465813, -0.24040056765079498, 0.5790473222732544, 0.17570284008979797, 1.4959657192230225, 0.19679370522499084, 0.07353003323078156, 0.4544770419597626, -0.18775251507759094, 0.8022698760032654, -1.025646448135376, -0.2406495064496994, -0.4555746614933014, -0.17374813556671143, -0.3667328655719757, 0.012946387752890587, 0.30966997146606445, -0.24757975339889526, -0.34330102801322937, -0.07177700102329254, -0.4708070755004883, 0.14831948280334473, 0.34698331356048584, 0.24446678161621094, 0.11840087920427322, 0.00370592693798244, 0.0176041591912508, -0.12065904587507248, -0.4378470778465271, -0.6279478073120117, 0.7955577373504639, 0.6904689073562622, 0.48901674151420593, 0.08065466582775116, 0.7587358951568604, -0.11199788004159927, 0.689173698425293, -1.0228664875030518, 0.31203997135162354, 0.03648819029331207, -0.17775820195674896, -0.3431762158870697, -0.48316675424575806, -0.7942785024642944, 0.28629356622695923, 0.06762398779392242, -0.8898033499717712, 0.07370827347040176, 0.26574283838272095, -0.5687599182128906, 0.14651688933372498, -1.2149474620819092, 0.8142032623291016, -0.34123629331588745, -0.21626660227775574, -0.23271189630031586, -0.3984914720058441, 0.09787704795598984, 0.044758390635252, 0.30367276072502136, -0.14004015922546387, 0.2132212072610855, 0.22034549713134766, -0.17858508229255676, 0.9521418213844299, -0.42207613587379456, -0.22292263805866241, 0.05915147066116333, 0.21510694921016693, 0.20356084406375885, 0.05657988414168358, -0.16810911893844604, 0.2976149320602417, -0.02244485355913639, -0.1780497282743454, -0.8186243176460266, 0.5898339152336121, -0.6282752156257629, -0.351462721824646, -0.20582665503025055, -0.4280601441860199, -0.39089760184288025, -0.11086741834878922, 0.1430739313364029, 0.5642576813697815, -0.46390390396118164, 0.1033136397600174, 0.3877750635147095, -0.46139416098594666, 0.16786931455135345, 0.3125937581062317, 0.06824454665184021, -0.3650813400745392, 0.6526651978492737, -0.24474725127220154, 0.489544153213501, 0.16983383893966675, 0.6020189523696899, -0.13278573751449585, -0.029108254238963127, -0.2739696204662323, 0.14180292189121246, -0.6597732901573181, -0.1643414944410324, -0.8095499873161316, 0.06998781114816666, -0.47440817952156067, -0.5498185753822327, -0.25480788946151733, -0.011280275881290436, -0.33310648798942566, -0.2426777184009552, 0.41192230582237244, 0.8265916109085083, -0.2478121817111969, 0.2835671305656433, -0.9665094017982483, 0.1640642136335373, 0.24453473091125488, 0.5682429075241089, 0.2659034729003906, -0.4435783326625824, -0.0909157246351242, 0.31162726879119873, -0.33890172839164734, -0.5538407564163208, 0.49332261085510254, 0.040692392736673355, 0.3694462776184082, 0.7839979529380798, -0.03119865618646145, 0.7583608627319336, -0.3004874587059021, 0.8855717182159424, 0.4373108744621277, -1.0013014078140259, 0.33787408471107483, -0.3050541877746582, 0.19554901123046875, 0.3132782578468323, 0.24349825084209442, -0.5229036808013916, -0.4341573715209961, -0.7417401075363159, -0.6454968452453613, 0.756289541721344, -0.02910781465470791, 0.47521644830703735, -0.2741409242153168, 0.20373669266700745, 0.11192470043897629, -0.11375820636749268, -0.2076157033443451, -0.25593483448028564, -0.24552050232887268, -0.3801881968975067, -0.19374960660934448, -0.47640252113342285, -0.4050000309944153, -0.16218264400959015, 0.033612191677093506, -0.16063393652439117, 0.5327842831611633, 0.25212493538856506, 0.3626728355884552, -0.45763707160949707, 0.1555459201335907, 0.6469177603721619, 0.3234420418739319, -0.10980599373579025, -0.10477667301893234, 0.45007026195526123, -0.1861768215894699, -0.20025873184204102, -0.13461895287036896, 0.7339971661567688, -0.2880805432796478, 0.44160205125808716, 0.6329478025436401, 0.2325582057237625, -0.4137762188911438, 0.8341579437255859, -0.42546895146369934, -0.27770015597343445, -0.3715366721153259, -0.10407647490501404, -0.04590132459998131, 0.5658901929855347, -0.25989094376564026, -0.15032003819942474, 0.31101375818252563, -0.27009090781211853, 0.07373650372028351, 0.2830023467540741, -0.5226918458938599, -0.24723833799362183, 0.06002633646130562, 0.4101962149143219, -0.5999378561973572, 0.8062980771064758, 0.32462459802627563, -0.5230599641799927, 0.5250194668769836, 0.2839924395084381, 0.9524325728416443, -0.6111990809440613, 0.25653085112571716, 0.392408162355423, -0.023195018991827965, 0.2613447606563568, 0.2685720920562744, -0.2748609483242035, -0.7613189816474915, 0.16636526584625244, -0.26502132415771484, -0.6106552481651306, -0.16181787848472595, -1.2181674242019653, -0.08898693323135376, -0.37629958987236023, -0.18881720304489136, -0.030127570033073425, -0.12693792581558228, -0.8753034472465515, 0.10632283240556717, -0.04844000190496445, 0.7498550415039062, -0.8848907947540283, 0.20781762897968292, 0.42284178733825684, -0.43667829036712646, -0.6717751622200012, 0.0304315984249115, 0.16082850098609924, -0.8767409920692444, 0.6009021401405334, 0.5466312766075134, -0.3557773530483246, 0.025100192055106163, -0.30398109555244446, -0.3561290204524994, 0.9875112771987915, 0.08481619507074356, -0.31930097937583923, 0.25069546699523926, 0.2239096611738205, 0.6736088395118713, -0.6865573525428772, 0.6792109608650208, 0.7326549887657166, 0.7343329787254333, -0.0972650796175003, -0.7859176397323608, -0.2604404091835022, -0.1828991025686264, -0.12396770715713501, 0.03751249611377716, -0.8272374868392944, 0.4225831627845764, -0.16740387678146362, -0.052726175636053085, 0.24623431265354156, 0.0600777268409729, 0.1934320330619812, 0.6631840467453003, 0.5493525862693787, 0.46257591247558594, 0.39631718397140503, -0.05054587498307228, 1.2163153886795044, -0.3653135299682617, 0.14007583260536194, 0.8364364504814148, -0.38427358865737915, 0.701344907283783, 0.7377042174339294, 0.11510896682739258, 0.09320062398910522, 0.5222002267837524, 0.06878215819597244, 0.09366850554943085, -0.014656401239335537, -0.30571913719177246, -0.11913906037807465, -0.44437557458877563, -0.08658519387245178, 0.6047469973564148, 0.4625994563102722, -0.4590708613395691, -0.010289313271641731, 0.2401854246854782, 0.03706422820687294, 0.046504709869623184, -0.12781743705272675, 1.0890673398971558, 0.3158705234527588, -0.6164511442184448, 0.33146464824676514, -0.4062570333480835, 0.2948181629180908, -0.23537138104438782, -0.2309686839580536, -0.5109527111053467, 0.21660730242729187, -0.3294711112976074, -0.824619710445404, 0.19555002450942993, 0.22971627116203308, 0.12026592344045639, -0.5196565985679626, 0.12180449813604355, -0.4062693417072296, -0.09568175673484802, 0.6683956384658813, 0.35524266958236694, 0.3260802924633026, 0.08335459232330322, -0.7594914436340332, 0.3227884769439697, -0.14831531047821045, -0.7194809913635254, 0.2529187500476837, 0.626916766166687, 0.4745766222476959, 0.6242163181304932, 0.4638907313346863, -0.18057404458522797, -0.19501444697380066, 0.7441613078117371, 0.7153855562210083, -0.3731362223625183, -0.181703582406044, -0.597721517086029, 0.7249363660812378, -0.1663287878036499, -0.45702096819877625, 0.7280263900756836, 0.21531836688518524, 0.686040997505188, 0.0251450352370739, 0.6867983937263489, 0.31693214178085327, 0.6544365882873535, -0.4659040570259094, 0.25986993312835693, -0.5328763127326965, 0.017666669562458992, -0.3524235785007477, -0.968235969543457, -0.40859267115592957, 0.8983051180839539, -0.4722595512866974, 0.4467718005180359, 0.6452434659004211, 0.7297775745391846, -0.047480735927820206, 0.3970162272453308, 0.6803013682365417, 0.1644686460494995, 0.35367199778556824, 0.374210923910141, 1.2015674114227295, -0.016158703714609146, 0.1523389369249344, -0.3643084466457367, -0.4881613850593567, -0.2968369424343109, -0.7147925496101379, -1.1030973196029663, -0.5205655694007874, -0.08647043257951736, -0.2735117971897125, -0.3497430980205536, 1.1266522407531738, 0.34356316924095154, -0.4247528612613678, -0.26113131642341614, 0.08998226374387741, -0.34703221917152405, -0.07101336121559143, -0.23967576026916504, 0.2715269923210144, -0.29303887486457825, -0.8957834243774414, 0.19608649611473083, 0.48787736892700195, 0.17977198958396912, -0.2006802260875702, -0.32255861163139343, 0.26364049315452576, 0.1523328274488449, 0.7922162413597107, -0.17651133239269257, -0.7404434680938721, -0.5381574630737305, 0.04261260852217674, 0.12883444130420685, 0.23722092807292938, 0.9666262865066528, 0.007739422842860222, 0.6257845163345337, 0.12103457748889923, 0.5102986097335815, 0.049438100308179855, 0.3136356770992279, 0.6042647957801819, -0.3920881152153015, 0.049193598330020905, 0.2790932059288025, 0.26915743947029114, 0.3568001389503479, -0.5980669856071472, 0.23455703258514404, -0.3781213164329529, -0.7757681608200073, -0.7016733288764954, 0.47596868872642517, -0.9288889765739441, 0.05997786298394203, 1.1908270120620728, -0.39390483498573303, 0.1561034619808197, -0.16067147254943848, -0.5705439448356628, 0.24358654022216797, -0.6872244477272034, 0.8128665089607239, 0.5866889953613281, -0.7297295928001404, -0.45222365856170654, -0.3608574867248535, 0.37855133414268494, 0.21542297303676605, -0.7668598294258118, 0.22014188766479492, 0.6866740584373474, -0.10225462913513184, 0.07751794159412384, 0.488477885723114, 0.08169442415237427, 0.05401094630360603, 0.07929501682519913, 0.10289737582206726, 0.09156002849340439, -0.28721731901168823, -0.6479045748710632, -0.05517341196537018, 0.0277099646627903, 0.08387824147939682 ]
http://arxiv.org/abs/2402.11406v2
http://arxiv.org/pdf/2402.11406v2
Don't Go To Extremes: Revealing the Excessive Sensitivity and Calibration Limitations of LLMs in Implicit Hate Speech Detection
2024-02-18T00:04:40
2024-02-26T16:43:37
Min Zhang, Jianfeng He, Taoran Ji, Chang-Tien Lu
cs.CL
cs.CL
The fairness and trustworthiness of Large Language Models (LLMs) are receiving increasing attention. Implicit hate speech, which employs indirect language to convey hateful intentions, occupies a significant portion of practice. However, the extent to which LLMs effectively address this issue remains insufficiently examined. This paper delves into the capability of LLMs to detect implicit hate speech (Classification Task) and express confidence in their responses (Calibration Task). Our evaluation meticulously considers various prompt patterns and mainstream uncertainty estimation methods. Our findings highlight that LLMs exhibit two extremes: (1) LLMs display excessive sensitivity towards groups or topics that may cause fairness issues, resulting in misclassifying benign statements as hate speech. (2) LLMs' confidence scores for each method excessively concentrate on a fixed range, remaining unchanged regardless of the dataset's complexity. Consequently, the calibration performance is heavily reliant on primary classification accuracy. These discoveries unveil new limitations of LLMs, underscoring the need for caution when optimizing models to ensure they do not veer towards extremes. This serves as a reminder to carefully consider sensitivity and confidence in the pursuit of model fairness.
[ -0.4550139605998993, -0.6736879348754883, 0.7093462347984314, -0.1352033019065857, 0.04948431998491287, -0.07197736203670502, -0.22541044652462006, -0.5039011240005493, -0.5402892231941223, 0.4588346481323242, -0.5203183889389038, -0.5652704834938049, -1.0333304405212402, -0.06209731474518776, -0.4177303612232208, 1.2227752208709717, 0.173244908452034, 0.11923667043447495, 0.015916883945465088, -0.24536144733428955, -0.03716357424855232, -0.49602770805358887, -0.5393304228782654, -0.18560193479061127, 0.545905590057373, 0.43131718039512634, 0.9180516004562378, 0.4740765392780304, 0.2098405510187149, 0.21659857034683228, -0.07501223683357239, 0.011401363648474216, -0.8224970698356628, 0.43375563621520996, -0.14985382556915283, -0.7061038613319397, -0.16709628701210022, 0.149538055062294, 0.6136308908462524, 0.4314146935939789, 0.1255735456943512, 0.19716022908687592, 0.04855184629559517, 0.44873109459877014, -0.8204145431518555, -0.265625923871994, -0.83839350938797, -0.04449545592069626, -0.2912154495716095, 0.019425472244620323, -0.39281895756721497, -0.33334892988204956, -0.004172608256340027, -0.2628622055053711, 0.1164683997631073, 0.19271887838840485, 0.2074917107820511, 0.427386611700058, -0.4877103567123413, -0.3582829535007477, -0.7967576384544373, 1.1226098537445068, -0.4815906584262848, 0.21805588901042938, 0.4657714366912842, 0.20299988985061646, -0.11841035634279251, -0.2270120531320572, -0.6403483748435974, -0.4161006510257721, 0.38633105158805847, -0.13310497999191284, -0.5629293918609619, 0.214121013879776, 0.5127283930778503, 0.22467456758022308, -0.3836189806461334, 0.633647620677948, -0.15138228237628937, -0.32914265990257263, 0.6392924785614014, 0.32038408517837524, -0.025452392175793648, 0.02099374681711197, -0.38928335905075073, 0.007809788454324007, -0.6460698246955872, 0.14535951614379883, 0.7056610584259033, 0.4043098986148834, 0.11812157928943634, 0.6704493761062622, 0.07877945899963379, 0.5655989050865173, -0.020705461502075195, -0.09594370424747467, -0.07878153026103973, 0.30047398805618286, -0.2023933231830597, -0.02607979252934456, 0.6195249557495117, 0.7077811360359192, 0.36994510889053345, -0.1314672976732254, -0.2820989787578583, 0.4144832193851471, 0.2796001434326172, -0.533302903175354, 0.2137444168329239, 0.18097932636737823, -0.02193400450050831, -0.4428955316543579, -0.5623922348022461, -0.7315493822097778, -0.8175514936447144, -0.27724456787109375, 0.35145992040634155, -0.27142059803009033, -0.12763458490371704, -0.28610530495643616, 0.01947230100631714, 0.21611520648002625, 0.28199291229248047, -0.42397549748420715, 0.45757856965065, 0.6536709070205688, 0.6342597603797913, -0.3976067900657654, 0.07566684484481812, -0.5854718089103699, 0.007275775074958801, -0.3069423735141754, 0.42547354102134705, -0.6090079545974731, -0.45791420340538025, -0.04455969110131264, -0.30161550641059875, 0.15491683781147003, -0.4175971448421478, 1.008862018585205, -0.46549469232559204, -0.19431693851947784, -0.1577526330947876, -0.48760372400283813, -0.39957231283187866, 0.17655916512012482, -0.29421576857566833, 0.9129006266593933, 0.07747791707515717, -0.5890468955039978, 0.1822066605091095, -0.2024591863155365, -0.18848736584186554, 0.02172981947660446, -0.3122520446777344, -0.31174641847610474, 0.27947476506233215, -0.1278209686279297, 0.3800690174102783, -0.3359551429748535, 0.2781427204608917, -0.7081403732299805, -0.4238477647304535, 0.3705918788909912, -0.7391713261604309, 0.6653520464897156, 0.2223537564277649, -0.6985380053520203, -0.03491930291056633, -0.5397809147834778, -0.08925537019968033, -0.08212561905384064, 0.042025379836559296, -0.38566824793815613, 0.03263414651155472, 0.19249343872070312, 0.37586700916290283, 0.014173462986946106, -0.6281877756118774, -0.5886964201927185, -0.2999945878982544, 0.20937664806842804, 1.4532538652420044, -0.5071710348129272, 0.36841532588005066, -0.7686541676521301, 0.6927157640457153, -0.06706477701663971, 0.18056218326091766, 0.48762863874435425, -0.5478523969650269, -0.7156246304512024, 0.0066152396611869335, -0.3023211658000946, 0.6399030089378357, -0.2471866011619568, 0.3908328115940094, -0.2102433294057846, -0.6039818525314331, -0.23765929043293, 0.11814824491739273, 0.4810810387134552, 0.7359079718589783, 0.2395900934934616, 0.05694239214062691, -0.5215365290641785, -0.9491549730300903, -0.5655180811882019, -0.23784975707530975, 0.08196619153022766, 0.5652993321418762, 0.5110980272293091, 0.05154397711157799, 0.8317676782608032, -0.14899814128875732, -0.141962930560112, 0.07790178805589676, 0.058261215686798096, -0.042754627764225006, 0.32108744978904724, 0.543743371963501, -1.1297804117202759, -0.4521123170852661, -0.43339306116104126, -0.2328685075044632, -0.23859742283821106, 0.3999941647052765, -0.027855701744556427, 0.37382498383522034, 0.35495173931121826, -0.03961474075913429, 0.6052122116088867, 0.6534925699234009, -0.10694172233343124, 0.44308778643608093, 0.3696906864643097, 0.10055632144212723, -0.5273876190185547, -0.09080000966787338, 0.25984033942222595, -0.38209912180900574, -0.7401844263076782, -0.04403676465153694, -0.17766274511814117, 0.3187617361545563, -0.5526776909828186, 0.4718572795391083, 0.05830688029527664, 0.227789044380188, -0.3787272870540619, 0.11706787347793579, -0.35226160287857056, 0.2241916060447693, -0.003433721140027046, 0.5643762350082397, 0.507808268070221, -0.7148007154464722, 0.43011942505836487, -0.26132920384407043, -0.20856894552707672, 1.0577300786972046, -0.18521268665790558, 0.18612657487392426, -0.35329484939575195, 0.12421522289514542, -1.3130532503128052, -0.09393095970153809, 0.4637413024902344, -0.4977348744869232, 0.15771473944187164, -0.14988477528095245, -0.20946528017520905, -0.3611200749874115, -0.5822803378105164, 0.3534526824951172, 0.644706666469574, -0.3087330758571625, 0.7393380403518677, 0.6160342693328857, -0.060603510588407516, -0.9841310977935791, -0.8810039758682251, -0.032052118331193924, -0.48852306604385376, -0.4465691149234772, 0.14588624238967896, -0.34559008479118347, -0.539924681186676, -0.3696284294128418, -0.3581456243991852, -0.06023937836289406, 0.054297130554914474, 0.8315515518188477, 0.11488322913646698, 0.12970158457756042, 0.03889761492609978, -0.03601228445768356, 0.10223495960235596, 0.32998308539390564, -0.0035021090880036354, 0.3253268599510193, -0.09483472257852554, -0.30800315737724304, -0.09142766147851944, 0.45220524072647095, 0.5978258848190308, 0.5299245119094849, 0.4986136257648468, 0.6245875954627991, -0.5422914624214172, -0.22085919976234436, -0.9543154835700989, -0.031998880207538605, -0.48952627182006836, 0.42817172408103943, -0.294526606798172, -1.115648627281189, 0.5196676254272461, 0.17903360724449158, 0.08689089119434357, 0.4243444800376892, 0.5336799621582031, 0.0434674434363842, 1.1862493753433228, 0.6749805212020874, -0.20620429515838623, 0.24388523399829865, 0.3469514846801758, 0.18864035606384277, -0.8146377205848694, -0.22591686248779297, -0.8760632276535034, -0.2068554311990738, -0.8029282689094543, -0.4222641587257385, 0.5334559082984924, -0.3678356409072876, -0.5209752321243286, -0.2053450644016266, -0.4006909728050232, 0.521610677242279, 0.2851997911930084, 0.37501031160354614, 0.22471462190151215, 0.09926047176122665, 0.1577741503715515, -0.5229454636573792, -0.3985687494277954, -0.5681341290473938, 1.3258275985717773, 0.5334468483924866, 0.9264063835144043, 0.13578230142593384, 0.21851232647895813, 0.38200893998146057, 0.5985099077224731, -1.0381543636322021, 0.6491252183914185, -0.23026786744594574, -0.8752003908157349, -0.3334902822971344, -0.4984707534313202, -0.40553513169288635, -0.017389796674251556, 0.10819561779499054, -0.7496235370635986, 0.18278785049915314, 0.07742174714803696, -0.4032731056213379, 0.5456812977790833, -0.3090168237686157, 0.2824135422706604, -0.2193244844675064, -0.4784121811389923, -0.04395827651023865, -0.6873299479484558, 0.40643787384033203, -0.27750810980796814, 0.6032997369766235, -0.4995250403881073, -0.51572585105896, 0.8602011203765869, 0.02083609811961651, 1.0417951345443726, -0.15334078669548035, -0.39099782705307007, 0.12543757259845734, 0.3073963224887848, 0.5722630023956299, -0.19809620082378387, -0.42512235045433044, 0.14699988067150116, -0.4569658637046814, -0.3319872319698334, -0.18953634798526764, 0.8697678446769714, -0.6603842973709106, -0.6959462761878967, -0.5467958450317383, -0.7862221598625183, -0.4671356678009033, 0.04428964480757713, 0.4593523144721985, 0.003859681775793433, -0.2032848298549652, -0.07725861668586731, 0.9014491438865662, -0.21122139692306519, 0.18681129813194275, 0.5806256532669067, 0.005981228780001402, -0.1784966140985489, 0.6303690075874329, 0.3976415693759918, 0.5044651031494141, 0.008630077354609966, 0.07530365884304047, -0.5201870203018188, -0.7151544094085693, -0.22589853405952454, -0.02645469829440117, -0.9654051661491394, -0.1587579846382141, -0.6752938628196716, -0.11948851495981216, -0.6783186197280884, -0.2699143886566162, -0.17709988355636597, -0.26257970929145813, -0.21761469542980194, -0.10927088558673859, 0.5580062866210938, 0.7402107119560242, -0.42384234070777893, 0.2776269316673279, -0.21886582672595978, 0.28200358152389526, 0.35091039538383484, 0.1893317699432373, -0.2918799817562103, -1.196549415588379, 0.2854347229003906, 0.1527368426322937, -0.1378820687532425, -0.8898844122886658, 0.3364700675010681, -0.015306814573705196, 0.5861161351203918, 0.3176898956298828, 0.46064993739128113, 0.5009410977363586, -0.27533066272735596, 0.6341994404792786, 0.06865536421537399, -0.8674075603485107, 0.371081680059433, -0.3002548813819885, -0.09819850325584412, 0.5310953855514526, 1.0016803741455078, -0.4089317321777344, -0.7433208227157593, -0.4099747836589813, -0.8213552832603455, 0.8739989995956421, -0.055948857218027115, 0.44036799669265747, 0.1776115596294403, 0.30274397134780884, 0.14870218932628632, 0.1689666509628296, -1.0278584957122803, -0.7297623753547668, 0.0711807832121849, -0.057241957634687424, -0.30344152450561523, -0.6048538684844971, -0.5982125997543335, -0.17557671666145325, 0.6051484942436218, 0.005746225826442242, -0.018456120043992996, -0.03533446043729782, -0.17624333500862122, -0.38200169801712036, 0.3512078821659088, 0.6131316423416138, 0.5408627390861511, -0.17126305401325226, 0.2922629714012146, 0.40013715624809265, -0.54146409034729, 0.28261369466781616, 0.0767122432589531, -0.15143239498138428, -0.12823861837387085, -0.11178775876760483, 0.6748012900352478, 0.04954337701201439, -0.7525442242622375, 0.7641429901123047, 0.043626587837934494, -0.07670833170413971, -0.5240788459777832, 0.23177199065685272, -0.384635865688324, 0.17526954412460327, 0.38342127203941345, 0.16464924812316895, 0.3499538004398346, -0.22339409589767456, 0.07082017511129379, 0.5833517909049988, -0.545553982257843, 0.06360725313425064, 0.6178232431411743, -0.05010272562503815, -0.11339742690324783, 0.4742513597011566, -0.026659617200493813, -0.6123958230018616, 0.5367113947868347, 0.5731047987937927, 0.689283549785614, -0.5395258665084839, 0.12498915195465088, 0.2170570194721222, 0.48748672008514404, 0.22898946702480316, 0.13628032803535461, -0.062332723289728165, -0.7983829975128174, -0.28258442878723145, -0.6170474886894226, -0.7218518853187561, 0.27706849575042725, -0.7160900831222534, 0.11489178240299225, -0.6522261500358582, -0.2954407334327698, -0.031186837702989578, -0.0873621478676796, -0.5289759635925293, 0.25975584983825684, 0.7063474655151367, 0.7436048984527588, -1.0633713006973267, 0.30043545365333557, 0.2742829918861389, 0.23322948813438416, -0.5062546133995056, -0.1901613175868988, 0.48232805728912354, -1.1853582859039307, 0.5354136824607849, 0.3719152808189392, -0.46791359782218933, -0.02276425249874592, -0.9463441371917725, -0.456213116645813, 0.550960898399353, 0.5685142278671265, -0.6178099513053894, 0.0025690505281090736, 0.35288554430007935, 0.3363622725009918, -0.30590981245040894, 0.4480455219745636, 0.7481096982955933, 0.688300371170044, 0.2427360713481903, -0.8411901593208313, 0.21483126282691956, 0.0799664631485939, 0.07978799194097519, -0.17641396820545197, -0.4805116653442383, 0.8796107769012451, -0.190349280834198, -0.1513938307762146, 0.019547924399375916, 0.236822247505188, 0.26541590690612793, 0.3963109254837036, 0.6706749200820923, 0.5269268751144409, 0.6997452974319458, -0.09719745069742203, 1.0642998218536377, 0.14085417985916138, -0.017260782420635223, 1.116808295249939, -0.31087151169776917, 0.5209531784057617, 0.35212674736976624, -0.17657315731048584, 0.2004835158586502, 0.5453994870185852, 0.19818416237831116, 0.18636468052864075, 0.44167613983154297, -0.789146900177002, -0.5345471501350403, -0.5112698674201965, -0.35784056782722473, 0.33297762274742126, 0.7317042946815491, -0.3373759686946869, -0.3134349286556244, 0.25563740730285645, 0.3395922780036926, 0.2127140313386917, -0.6634110808372498, 0.39085525274276733, 0.218150332570076, -0.433316707611084, 0.46626147627830505, 0.10353485494852066, 1.1117730140686035, -0.36691752076148987, 0.33685502409935, 0.21180123090744019, 0.017674623057246208, -0.3118641674518585, -0.9106450080871582, 0.2219119817018509, 0.20432434976100922, -0.09260890632867813, -0.13243651390075684, 0.5835463404655457, -0.08579584956169128, -0.1782933920621872, 0.4009380340576172, 0.22444862127304077, 0.26686203479766846, -0.3541673421859741, -0.8540683388710022, 0.2505424916744232, 0.07052849233150482, -0.41130656003952026, 0.33708518743515015, 0.3176422715187073, 0.0786176398396492, 0.7014651894569397, 0.6051158905029297, 0.07642365247011185, 0.3297852873802185, -0.14182454347610474, 0.8389343619346619, -0.4562733471393585, -0.13697943091392517, -1.0468772649765015, 0.30677247047424316, 0.07134705036878586, -0.3258218467235565, 0.708250105381012, 0.3955872058868408, 0.8563255071640015, 0.39845263957977295, 0.8492154479026794, 0.11677344143390656, 0.7101718187332153, -0.25510430335998535, 0.3535917401313782, -0.31699278950691223, 0.17874668538570404, -0.1861559897661209, -0.7503123879432678, -0.5693961977958679, 0.5676113963127136, -0.8125169277191162, 0.3530707061290741, 0.3452991545200348, 1.0864156484603882, 0.24929092824459076, 0.11767713725566864, 0.570125162601471, 0.4862717092037201, 0.2942769229412079, 0.7073416709899902, 0.8988980650901794, -0.2086070328950882, 0.7367419600486755, -0.45150256156921387, -0.5167754292488098, -0.19976398348808289, -0.8873470425605774, -0.5788841843605042, -0.24123308062553406, -0.22192706167697906, -0.6891184449195862, -0.004288797732442617, 0.7484611868858337, 0.6777026057243347, -0.7923460602760315, -0.1580958366394043, -0.028712671250104904, 0.23879066109657288, 0.2428787499666214, -0.26256901025772095, -0.09420125931501389, -0.12019287049770355, -1.0812034606933594, 0.1735438108444214, 0.20433205366134644, 0.2061004787683487, -0.1765492558479309, -0.18211793899536133, 0.006699782330542803, 0.12051616609096527, 0.37716397643089294, 0.3541199266910553, -0.747052013874054, -0.2775823175907135, -0.18882735073566437, -0.3795638084411621, -0.07208474725484848, 0.4277971684932709, -0.5936638116836548, 0.3820086121559143, 0.14292465150356293, 0.44964221119880676, 0.1764323115348816, -0.20674030482769012, 0.39272522926330566, -0.5235640406608582, 0.16187334060668945, 0.8114566802978516, 0.02569601871073246, 0.19334755837917328, -0.507401168346405, 0.2858172059059143, 0.1550530195236206, -0.6850558519363403, -1.1928895711898804, 0.43367108702659607, -0.876004695892334, -0.12458816915750504, 1.2391259670257568, -0.07286800444126129, -0.25957125425338745, -0.43047451972961426, -0.12921079993247986, 0.08151781558990479, -0.5204459428787231, 0.3719039857387543, 0.6842212677001953, -0.24527333676815033, 0.011164503172039986, -0.719169557094574, 0.5562487840652466, 0.6665627956390381, -0.13233675062656403, 0.22729678452014923, 0.684670090675354, 0.39034414291381836, 0.06650988757610321, 0.5486553311347961, -0.11619465798139572, 0.2895410358905792, -0.12424322217702866, -0.24382035434246063, -0.010771714150905609, -0.13619334995746613, -0.7099949717521667, 0.1799437701702118, 0.15005381405353546, 0.11840768158435822 ]
http://arxiv.org/abs/2402.11399v2
http://arxiv.org/pdf/2402.11399v2
k-SemStamp: A Clustering-Based Semantic Watermark for Detection of Machine-Generated Text
2024-02-17T22:50:38
2024-06-08T04:24:27
Abe Bohan Hou, Jingyu Zhang, Yichen Wang, Daniel Khashabi, Tianxing He
cs.CL
cs.CL, cs.CR, cs.CY, cs.LG
Recent watermarked generation algorithms inject detectable signatures during language generation to facilitate post-hoc detection. While token-level watermarks are vulnerable to paraphrase attacks, SemStamp (Hou et al., 2023) applies watermark on the semantic representation of sentences and demonstrates promising robustness. SemStamp employs locality-sensitive hashing (LSH) to partition the semantic space with arbitrary hyperplanes, which results in a suboptimal tradeoff between robustness and speed. We propose k-SemStamp, a simple yet effective enhancement of SemStamp, utilizing k-means clustering as an alternative of LSH to partition the embedding space with awareness of inherent semantic structure. Experimental results indicate that k-SemStamp saliently improves its robustness and sampling efficiency while preserving the generation quality, advancing a more effective tool for machine-generated text detection.
[ -0.4153083264827728, -0.7837385535240173, 0.7013354897499084, 0.038780175149440765, -0.7785269618034363, 0.06163087114691734, 0.06279689073562622, -0.30268412828445435, 0.42789214849472046, 0.7189934253692627, -0.46198755502700806, -0.6506333947181702, -0.9518507719039917, 0.04736308380961418, -0.6505174040794373, 0.8404121994972229, 0.23290680348873138, -0.42228904366493225, -0.3587094247341156, -0.14302478730678558, -0.29953932762145996, -0.557881236076355, -0.2692861258983612, 0.01456053089350462, 0.4344533383846283, 0.3021452724933624, 0.5409249067306519, 0.8439729809761047, 0.5969166159629822, 0.2976749539375305, -0.14866746962070465, 0.20001369714736938, -0.0545678474009037, 0.7790359258651733, -0.10019629448652267, -0.1292281448841095, 0.07569622993469238, -0.30145543813705444, 0.7502052187919617, 0.3549588918685913, 0.2832319736480713, 0.048594120889902115, 0.09573766589164734, 0.6764391660690308, -1.1636559963226318, -0.03115701861679554, -0.9980489611625671, -0.10910455137491226, -0.5037932991981506, -0.4184728264808655, -0.29766058921813965, -0.06583818048238754, -0.19007812440395355, -0.29206374287605286, 0.10364939272403717, -0.024687079712748528, 0.9427294135093689, 0.5946097373962402, -0.3693240284919739, -0.34424763917922974, -0.33192744851112366, 0.7484602928161621, -0.7858197689056396, 0.22583125531673431, 0.42799198627471924, 0.3569554388523102, -0.25014498829841614, -0.8488782644271851, -0.5494481325149536, 0.293988436460495, 0.0209304541349411, 0.011813001707196236, -0.04179847612977028, -0.2978873550891876, 0.24987077713012695, 0.18963727355003357, -0.47418734431266785, -0.17232078313827515, 0.13259688019752502, -0.5121288895606995, 0.29660192131996155, 0.10321301221847534, 0.5769307613372803, -0.33103635907173157, -0.5070555210113525, -0.14680582284927368, -0.6699093580245972, -0.17985185980796814, 0.2399737387895584, 0.4308379292488098, 0.27286496758461, 0.5013094544410706, -0.5779517292976379, 0.5359587073326111, -0.24812158942222595, 0.004063706379383802, 0.04495217651128769, -0.15844760835170746, -0.08723100274801254, 0.09236854314804077, 0.6589323878288269, 0.4878588020801544, -0.1631433069705963, -0.08615168184041977, -0.03752830997109413, 0.5347037315368652, 0.05499818176031113, -1.0910781621932983, -0.014289065264165401, 0.07297217100858688, -0.37887272238731384, -0.5502681732177734, 0.2610878646373749, -0.8371543288230896, -0.6089085936546326, -0.17718857526779175, 0.6284985542297363, -0.2568078339099884, -0.061184875667095184, 0.12025996297597885, -0.5401524305343628, 0.1756437122821808, -0.06489744037389755, -0.7573502063751221, 0.33205828070640564, 0.808259129524231, 0.6558961272239685, -0.5584119558334351, -0.22860682010650635, -0.713832437992096, 0.5164734125137329, -0.19499191641807556, 1.3461828231811523, -0.7525898218154907, -0.3465055227279663, -0.05000942200422287, 0.08354279398918152, 0.2029983401298523, -0.7095891237258911, 0.4175594747066498, -0.593032956123352, 0.16352739930152893, -0.45643970370292664, -0.7311782240867615, 0.24785085022449493, 0.20393431186676025, -0.5600206851959229, 1.1792709827423096, 0.09081471711397171, -1.0622957944869995, 0.8265771865844727, -0.5277302265167236, -0.485034704208374, 0.24295887351036072, -0.13616631925106049, -0.7444944977760315, -0.08990603685379028, 0.4233553409576416, 0.6086286902427673, 0.1370447874069214, 0.14784234762191772, -0.45623278617858887, -0.229725182056427, 0.21487411856651306, -0.13572846353054047, 0.47265833616256714, 0.24942390620708466, -0.43238863348960876, 0.0550951212644577, -0.8488677740097046, 0.49344614148139954, 0.1764916628599167, -0.44305408000946045, -0.6698919534683228, -0.09980759769678116, 0.12044018507003784, 0.3454766571521759, 0.4006480872631073, -0.5623962879180908, -0.37988632917404175, -0.25042009353637695, 0.45356109738349915, 0.7861006259918213, 0.4868696928024292, 0.36606618762016296, -0.19194826483726501, 0.2877233326435089, 0.2789573073387146, -0.07141435146331787, -0.2564709484577179, -0.4932536482810974, -0.7893568873405457, -0.42821428179740906, 0.5369522571563721, 0.32996249198913574, -0.9068597555160522, 0.6828576326370239, -0.2148822546005249, -0.611677885055542, -0.2658190131187439, 0.03981053829193115, 0.10724586993455887, 0.2714945375919342, 0.45419952273368835, -0.14773701131343842, -0.44851917028427124, -0.9547899961471558, -0.8173046708106995, 0.13735578954219818, -0.06482946127653122, 0.06378386169672012, 0.676064670085907, -0.24971845746040344, 0.8381614089012146, -0.6181820631027222, 0.03178398311138153, 0.09054945409297943, 0.17246262729167938, -0.3344114124774933, 0.5089151859283447, 0.4258030652999878, -0.7210719585418701, -0.8315483927726746, -0.1304301768541336, -0.4435688853263855, -0.6520067453384399, 0.16540056467056274, -0.3004305362701416, 0.24411384761333466, 0.788074791431427, -0.4919820725917816, 0.5269885659217834, 0.3797879219055176, -0.8164966702461243, 0.3494846522808075, -0.04857514053583145, 0.40854525566101074, -1.2609668970108032, 0.0679749920964241, -0.6250779628753662, -0.48896491527557373, -0.3956476151943207, 0.2962343096733093, 0.18850421905517578, -0.3922642171382904, -0.27895116806030273, 0.31846264004707336, -0.14722636342048645, -0.20299217104911804, -0.8141055107116699, 0.09520788490772247, 0.0839991420507431, 0.2671898603439331, -0.011342030018568039, 0.5271531343460083, 0.30238258838653564, -0.5528516173362732, -0.08807706832885742, -0.1359655261039734, -0.1896807849407196, 0.9847022891044617, -0.5151463150978088, 0.27363717555999756, -0.15525585412979126, 0.14239627122879028, -0.7257123589515686, -0.07130725681781769, 0.03674303740262985, -0.5827071666717529, 0.0390097014605999, 0.010881580412387848, -0.663993239402771, 0.08493857085704803, -0.5550485253334045, 0.026930207386612892, 0.4587291181087494, -0.4278055429458618, 0.2888532876968384, 0.4206141531467438, -0.3378430902957916, -0.18747079372406006, -0.458379864692688, 0.31147903203964233, -0.4589937627315521, -0.5458005666732788, 0.6262201070785522, -0.023463768884539604, -0.00778844952583313, 0.15138475596904755, -0.12401048839092255, -0.24358628690242767, 0.2606649100780487, 0.32936978340148926, -0.14532379806041718, 0.019651412963867188, -0.038427576422691345, 0.4320029020309448, -0.7472900748252869, -0.23733912408351898, -0.1940412074327469, 0.7050941586494446, 0.03706296160817146, -0.4063698947429657, -0.45973435044288635, 0.7755590677261353, 0.6829574704170227, -0.19639064371585846, 0.5482525825500488, 0.6833080649375916, -0.6332240700721741, -0.3374461531639099, -0.28776270151138306, -0.38381287455558777, -0.45234790444374084, 0.09082891792058945, -0.19753240048885345, -1.2338225841522217, 0.2264932245016098, -0.2910520136356354, -0.117286317050457, 0.6940692067146301, 0.4646056890487671, -0.1594686061143875, 0.942386269569397, 0.5002896189689636, -0.24096864461898804, 0.561604917049408, 0.25463518500328064, 0.19828546047210693, -0.48382920026779175, 0.10892920196056366, -0.9717913269996643, -0.1729845255613327, -0.4954039454460144, -0.444994181394577, 0.09075316786766052, 0.12072531133890152, -0.2834564745426178, 0.5629766583442688, -0.7336439490318298, 0.5847060680389404, 0.869543731212616, 0.07917112857103348, 0.2216538041830063, 0.18524189293384552, 0.06661146134138107, -0.3837648630142212, -0.4599994122982025, -0.5540505647659302, 0.7675849199295044, -0.22156010568141937, 0.08797555416822433, -0.18804283440113068, 1.0016201734542847, 0.7302336096763611, -0.2503518760204315, -0.277791291475296, 0.6728760004043579, 0.10083401948213577, -0.4659026563167572, -0.3871232569217682, -0.24149376153945923, -1.066420316696167, 0.31876140832901, -0.31371060013771057, -0.5518701076507568, -0.19235222041606903, -0.2178158313035965, 0.03592052310705185, 0.15813957154750824, -0.6248204708099365, 0.8070995807647705, 0.41189107298851013, -0.11149699985980988, -0.23204120993614197, -0.5226532220840454, -0.30559930205345154, -0.17550261318683624, 0.2116377353668213, -0.3347831070423126, -0.3328741788864136, 0.7988833785057068, -0.983955979347229, 0.6020786762237549, -0.45556458830833435, 0.0782625824213028, 0.5291401743888855, 0.25869160890579224, 0.708656907081604, -0.3023229241371155, 0.22977884113788605, -0.04226566478610039, 0.21973128616809845, -0.6386786103248596, -0.6148721575737, 0.707145094871521, -0.2252110242843628, -0.3217329978942871, -0.21256761252880096, -0.30683237314224243, -0.07996869832277298, 0.51132732629776, 0.28466206789016724, 0.0998014360666275, 0.2490631639957428, 0.4024737477302551, 0.28758564591407776, -0.18776646256446838, 0.5313334465026855, 0.3856193423271179, 0.06147386133670807, -0.7078221440315247, 1.083151936531067, 0.013555103912949562, 0.23302032053470612, 0.3609485626220703, 0.34257638454437256, -0.3298080265522003, -0.4339388310909271, -0.2856366038322449, -0.056949399411678314, -0.9004659652709961, -0.4031122326850891, -0.8231658935546875, -0.1428908258676529, -0.38852134346961975, -0.46767038106918335, -0.20188643038272858, -0.5921127796173096, 0.13129064440727234, -0.00676394160836935, 0.4367186427116394, 0.2981993556022644, -0.05190292000770569, 0.4103220999240875, -0.6254090070724487, 0.3620067834854126, 0.4817728102207184, 0.17072226107120514, -0.34404096007347107, -0.4284214377403259, -0.07753682136535645, -0.23546531796455383, -0.331630140542984, -0.6346412897109985, 0.12719841301441193, 0.04369265213608742, 0.15163084864616394, 0.4287863075733185, 0.2943482995033264, 0.5884259343147278, -0.505837619304657, 1.0355063676834106, -0.028134537860751152, -1.1150096654891968, 0.8566615581512451, -0.3856050968170166, 0.5710844397544861, 0.6522681713104248, -0.10984236001968384, -0.5691646337509155, -0.8248414397239685, -0.7894445657730103, -0.8334610462188721, 0.28313523530960083, 0.43182113766670227, 0.16461694240570068, -0.29431435465812683, 0.0625670850276947, 0.06723398715257645, 0.23803773522377014, -0.7368802428245544, -0.07585706561803818, -0.03321651369333267, -0.280617892742157, 0.3087390661239624, -0.5569419860839844, 0.2683436870574951, 0.10236270725727081, 0.8158854246139526, 0.01840292103588581, 0.23761233687400818, 0.14512303471565247, -0.09798171371221542, 0.18604645133018494, 0.4498043656349182, 0.49790531396865845, 0.019108081236481667, 0.1694084256887436, 0.7515877485275269, 0.20391830801963806, -0.5315850377082825, 0.09910890460014343, -0.14357011020183563, -0.501823902130127, 0.30014318227767944, 0.5348950028419495, 0.2301197499036789, 0.20214468240737915, -0.5392853021621704, 0.6154721975326538, 0.25573569536209106, -0.15272878110408783, 0.25843408703804016, 0.08479095250368118, 0.1855829656124115, 0.1840846985578537, 0.1401427537202835, -0.10774651169776917, 0.37364017963409424, -0.062185946851968765, 0.39148464798927307, 0.379265159368515, -0.5167738199234009, -0.10476038604974747, 0.7210922837257385, 0.046768903732299805, -0.27247342467308044, 0.013220672495663166, -0.18109281361103058, -0.7030076384544373, 0.6342226266860962, 0.652863621711731, 0.8902189135551453, -0.26880642771720886, 0.09495851397514343, 0.3154575228691101, 0.2827395498752594, 0.11859080940485, 0.45837143063545227, -0.5822764039039612, -0.6451197266578674, -0.13323849439620972, -0.6483490467071533, -0.20289434492588043, 0.10437462478876114, -0.37315309047698975, 0.2560533583164215, -0.45528852939605713, -0.26875928044319153, 0.12811483442783356, -0.10778316855430603, -0.17669932544231415, 0.23248273134231567, -0.0024631123524159193, 0.5220866799354553, -0.9327480792999268, 0.470567524433136, 0.6162953972816467, 0.05395312234759331, -0.2090151011943817, -0.03497552499175072, -0.15126723051071167, -0.6011877059936523, 0.12691138684749603, 0.4745250940322876, -0.05686763674020767, -0.05169260874390602, -0.679268479347229, -0.8224924206733704, 1.0410914421081543, 0.1286591738462448, -0.04371483996510506, 0.6096521019935608, 0.6127164363861084, 0.33760371804237366, -0.00566397700458765, -0.5967950820922852, 0.4516350328922272, 0.5171302556991577, -0.2194717973470688, -0.31454890966415405, 0.4883933365345001, -0.36167842149734497, 0.18670757114887238, 0.6947034597396851, -0.3070894479751587, 0.3152500092983246, 0.3063691556453705, -0.4251156747341156, 0.09883283078670502, 0.5272902846336365, 0.5627098083496094, 0.5710625648498535, 0.6652937531471252, 0.8455958962440491, 0.6696887016296387, -0.06375105679035187, 0.6259710192680359, -0.4442073702812195, 0.11443394422531128, 1.001301646232605, -0.23075562715530396, 1.0392088890075684, 0.8698307871818542, -0.19701765477657318, 0.5318899750709534, 0.38990554213523865, 0.07823590189218521, 0.8324542045593262, 0.19798585772514343, -0.5649734139442444, -0.385385662317276, -0.38038966059684753, -0.4720533788204193, 0.19786293804645538, 0.2758772373199463, -0.45292505621910095, -0.40147045254707336, -0.18369321525096893, 0.24781829118728638, 0.3536664545536041, -0.15679523348808289, 0.8622304201126099, 0.054810211062431335, -0.44397109746932983, 0.08902982622385025, 0.19145914912223816, 0.6560385227203369, -0.39534953236579895, 0.1038116067647934, 0.11570443958044052, -0.07316164672374725, -0.15291844308376312, -0.557303786277771, 0.5490555763244629, -0.0014442949322983623, -0.210149347782135, -0.19684523344039917, 1.4947510957717896, -0.32128340005874634, -0.3414376974105835, 0.027012240141630173, 0.33463889360427856, 0.3060373365879059, -0.5457279682159424, -0.5724348425865173, 0.040030304342508316, -0.2611147463321686, -0.12057015299797058, 0.3314584791660309, 0.7388554811477661, -0.09251806139945984, 0.3836843967437744, 0.8550204634666443, -0.13926814496517181, 0.05110158026218414, 0.0899273008108139, 0.6704831123352051, -0.7494974732398987, -0.7805259823799133, -1.058962345123291, 0.3512686789035797, -0.44249340891838074, -0.0797186866402626, 0.8404693603515625, 0.5578303337097168, 0.6000490784645081, -0.13445155322551727, 0.877642035484314, -0.05226367339491844, 0.47827136516571045, -0.5250158309936523, 0.8517614603042603, -0.30963024497032166, -0.1526719629764557, -0.7321383953094482, -0.9545636773109436, -0.5489740371704102, 0.21944020688533783, -0.13894377648830414, -0.1102624386548996, 0.8135777711868286, 0.8954179883003235, 0.20263923704624176, -0.0818709135055542, 0.6287670731544495, -0.3617285192012787, 0.25660204887390137, 0.2610938251018524, 1.0134958028793335, -0.4691378176212311, 0.528457760810852, -0.2604471445083618, -0.04454633593559265, -0.17197518050670624, -0.9790248870849609, -0.8812471628189087, -0.8543722629547119, -0.47998136281967163, -0.30522048473358154, -0.24729716777801514, 0.45249834656715393, 0.5993687510490417, -0.8141373991966248, 0.3985380530357361, -0.23616047203540802, 0.07556086778640747, -0.021574873477220535, -0.2853640615940094, 0.7230238318443298, -0.5387105345726013, -0.4094139337539673, 0.19772961735725403, 0.70473712682724, 0.3482986092567444, 0.07042430341243744, 0.1324489712715149, 0.15001632273197174, 0.2456468641757965, 0.734150767326355, -0.12132004648447037, -0.2956027090549469, -0.32743850350379944, -0.1529635190963745, -0.21496011316776276, -0.2840661406517029, 0.7818244695663452, -0.5735100507736206, 0.24151572585105896, 0.6109346151351929, 0.8612907528877258, 0.49611735343933105, -0.09086831659078598, 0.06861505657434464, -0.7304365634918213, 0.1895989626646042, -0.05913768336176872, 0.3611382842063904, 0.3323015868663788, -0.31117716431617737, 0.3402036428451538, 0.5875368118286133, -0.5780301690101624, -0.9176309704780579, 0.11218127608299255, -0.6799161434173584, -0.5484177470207214, 1.107048749923706, 0.033309098333120346, -0.4307345747947693, -0.2731838822364807, -0.3025192618370056, 0.014895006082952023, -0.31976765394210815, 0.8337565064430237, 0.7545840740203857, 0.46227920055389404, 0.23203225433826447, -0.3452344238758087, 0.5703414678573608, 0.5249005556106567, -1.2074108123779297, 0.03677539899945259, 0.3997138440608978, 0.2909284234046936, 0.0743618905544281, 0.7218268513679504, -0.347401887178421, 0.30366379022598267, 0.2692924439907074, 0.00922639574855566, 0.25313839316368103, -0.23183830082416534, 0.023023856803774834, 0.24663124978542328, -0.09247928857803345, -0.475104957818985 ]
http://arxiv.org/abs/2402.11398v2
http://arxiv.org/pdf/2402.11398v2
Reasoning before Comparison: LLM-Enhanced Semantic Similarity Metrics for Domain Specialized Text Analysis
2024-02-17T22:46:44
2024-02-20T22:23:42
Shaochen Xu, Zihao Wu, Huaqin Zhao, Peng Shu, Zhengliang Liu, Wenxiong Liao, Sheng Li, Andrea Sikora, Tianming Liu, Xiang Li
cs.CL
cs.CL, cs.AI
In this study, we leverage LLM to enhance the semantic analysis and develop similarity metrics for texts, addressing the limitations of traditional unsupervised NLP metrics like ROUGE and BLEU. We develop a framework where LLMs such as GPT-4 are employed for zero-shot text identification and label generation for radiology reports, where the labels are then used as measurements for text similarity. By testing the proposed framework on the MIMIC data, we find that GPT-4 generated labels can significantly improve the semantic similarity assessment, with scores more closely aligned with clinical ground truth than traditional NLP metrics. Our work demonstrates the possibility of conducting semantic analysis of the text data using semi-quantitative reasoning results by the LLMs for highly specialized domains. While the framework is implemented for radiology report similarity analysis, its concept can be extended to other specialized domains as well.
[ -0.10906802117824554, -0.5379303097724915, 1.1116347312927246, -0.10881227254867554, -0.2996332049369812, 0.18957076966762543, 0.0716792419552803, -0.6923546195030212, 0.2494332492351532, 0.6922367811203003, -0.4328329265117645, -0.9281967878341675, -0.5665197372436523, 0.4380720853805542, -0.3335203230381012, 0.9398857951164246, -0.0553816594183445, 0.16616089642047882, -0.4801790714263916, -0.29804787039756775, -0.2016598880290985, -0.42746785283088684, -0.5862470865249634, -0.5739486813545227, 0.5608903765678406, 0.09953109920024872, 0.8038613200187683, 0.5193451046943665, 0.8761299252510071, 0.3125951290130615, 0.18823419511318207, 0.1666746288537979, -0.2955668568611145, -0.022484203800559044, -0.3076157867908478, -0.20397324860095978, -0.799473762512207, 0.09547096490859985, 0.5064866542816162, 0.6508194804191589, 0.23587912321090698, -0.009357609786093235, -0.07182919979095459, 0.5405116081237793, -0.3991040289402008, -0.06029612943530083, -0.6230539083480835, 0.18625596165657043, -0.17721877992153168, -0.7535776495933533, -0.267245352268219, -0.37850359082221985, 0.2615937888622284, -0.8150321841239929, 0.30600079894065857, 0.010733300819993019, 1.1904351711273193, 0.20377877354621887, -0.5096677541732788, -0.453688383102417, -0.475079745054245, 0.8295190334320068, -0.8425191044807434, 0.2400832176208496, 0.05620643496513367, 0.16771730780601501, 0.02211013436317444, -1.1742480993270874, -0.7115220427513123, -0.2877049446105957, -0.224578395485878, 0.46916839480400085, -0.4823203682899475, 0.06205315887928009, 0.349569171667099, 0.2776815891265869, -0.9788023233413696, 0.05987038090825081, -0.06401142477989197, -0.4152938425540924, 0.458958238363266, 0.3484399914741516, 0.3440031111240387, -0.12803612649440765, -0.7253462076187134, 0.04594242200255394, -0.7086172103881836, -0.7246871590614319, 0.13005922734737396, -0.11487806588411331, 0.2571152150630951, 0.5090870261192322, -0.45005202293395996, 0.7196200489997864, -0.25108128786087036, -0.40238699316978455, 0.796782374382019, -0.34197553992271423, -0.4857517182826996, 0.10304346680641174, 0.853888213634491, 0.8631259799003601, 0.29697397351264954, -0.22994185984134674, -0.12925422191619873, 0.3046371340751648, 0.21214868128299713, -0.7793326377868652, -0.08384419232606888, 0.1008390486240387, -0.6815146803855896, -0.37009570002555847, -0.08225960284471512, -0.5017455816268921, -0.27496781945228577, -0.4284359812736511, 0.6063192486763, -0.335835337638855, -0.16428086161613464, 0.42800208926200867, -0.23654426634311676, 0.5143077969551086, 0.40876901149749756, -0.5130548477172852, 0.5395326614379883, 0.7766926884651184, 0.9053410887718201, -0.6659185886383057, -0.10926397144794464, -0.18323826789855957, 0.37052014470100403, -0.31866514682769775, 1.1509144306182861, -0.559208869934082, -0.44426658749580383, -0.21235375106334686, -0.12792670726776123, 0.08238762617111206, -0.7118477821350098, 0.6264142990112305, -0.49764975905418396, 0.250639945268631, 0.04353165999054909, -0.7392812967300415, -0.1374419629573822, 0.6986480951309204, -0.44939714670181274, 1.0870225429534912, 0.270734041929245, -1.0303404331207275, 0.6457241773605347, -0.29272833466529846, -0.33121514320373535, 0.2433193475008011, -0.45278698205947876, -0.6017495393753052, -0.1464674025774002, 0.04017362743616104, 0.4696700870990753, -0.446912556886673, -0.011389687657356262, -0.32167181372642517, -0.2620813846588135, 0.2709883749485016, -0.16731001436710358, 0.483750581741333, 0.20641224086284637, -0.11955245584249496, 0.3198436498641968, -0.6570674180984497, 0.4565674364566803, -0.04178178310394287, 0.08626455068588257, -0.5141323804855347, -0.3981815576553345, -0.1744426041841507, 0.14864009618759155, 0.2643279433250427, -0.6716203689575195, 0.0005818027420900762, -0.42486095428466797, -0.009217435494065285, 0.37024950981140137, 0.134687602519989, 0.36460572481155396, -0.7201230525970459, 0.6370187401771545, -0.19326381385326385, 0.024827225133776665, 0.03482437506318092, -0.6940951347351074, -0.49116310477256775, -0.3798654079437256, 0.35958266258239746, 0.6889966726303101, -0.5441680550575256, 0.26660966873168945, -0.46355271339416504, -0.4564579725265503, -0.3722788393497467, -0.21539148688316345, 0.4742734432220459, 0.9266841411590576, 0.4704821705818176, -0.48397839069366455, -0.4549768567085266, -1.0699312686920166, -0.4243738651275635, -0.0358816534280777, -0.29493066668510437, 0.3226044178009033, 0.33489978313446045, -0.3704874813556671, 0.7175836563110352, -0.8361050486564636, -0.5641508102416992, -0.18452665209770203, 0.08975863456726074, 0.17635878920555115, 0.08027014881372452, 0.5987266898155212, -0.5610950589179993, -0.7376912236213684, 0.17293982207775116, -0.9286651611328125, -0.4527508616447449, -0.24422696232795715, -0.12364891916513443, 0.11886963993310928, 0.6941120028495789, -0.549637496471405, 0.5338695645332336, 0.3534733057022095, -0.2782556414604187, 0.4589717388153076, -0.4024629592895508, 0.6070333123207092, -1.06822669506073, 0.0090182488784194, -0.08077710121870041, -0.37711361050605774, -0.5773873329162598, -0.11532818526029587, -0.08185488730669022, 0.0742778331041336, -0.3522985875606537, 0.785528302192688, -0.3084053695201874, -0.25217920541763306, -0.4606291949748993, 0.36842861771583557, 0.2854924499988556, -0.002365119755268097, 0.3933793902397156, 0.5829215049743652, 0.5999903678894043, -0.37254127860069275, 0.3306671977043152, 0.29254016280174255, -0.19240562617778778, 0.6593893766403198, -0.6871199011802673, 0.15576785802841187, 0.22449776530265808, 0.17833136022090912, -0.702360987663269, 0.10333685576915741, 0.15730145573616028, -0.7297487258911133, 0.3095073103904724, 0.042351432144641876, -0.4170624017715454, -0.22451919317245483, -0.48746806383132935, 0.33224207162857056, 0.5798342227935791, -0.1438239961862564, 0.4030759334564209, 0.29797571897506714, -0.2636566162109375, -0.601255476474762, -0.6827331781387329, 0.16039076447486877, -0.33272767066955566, -0.5884799957275391, 0.7761238217353821, -0.031017016619443893, -0.3377372622489929, 0.1419391930103302, -0.08586078137159348, -0.2379188984632492, -0.1481419950723648, -0.019312793388962746, 0.2597237825393677, -0.5323677659034729, 0.07966231554746628, 0.05852008983492851, -0.5544984936714172, 0.0347374826669693, -0.3680819869041443, 0.17886239290237427, -0.11848819255828857, -0.3957095146179199, -0.4444478750228882, 0.2591745853424072, 0.09317125380039215, 0.21114914119243622, 0.25479361414909363, 0.4533552825450897, -0.26474812626838684, 0.048884641379117966, -0.46834707260131836, -0.14483101665973663, -0.43666577339172363, 0.23515629768371582, -0.4472513794898987, -0.9928178787231445, 0.35356995463371277, -0.2604197561740875, -0.3544653058052063, 0.4834825098514557, 0.8436433672904968, -0.1258210837841034, 0.6720338463783264, 0.44664716720581055, 0.2390836924314499, -0.009716803207993507, 0.052795641124248505, 0.05088169872760773, -0.580828070640564, -0.28371772170066833, -0.5050747394561768, -0.06337521970272064, -0.6646557450294495, -0.6655356884002686, 0.37830594182014465, -0.257641077041626, -0.025496812537312508, -0.004718825686722994, -0.6215063333511353, 0.6337316036224365, 0.18092812597751617, -0.054139964282512665, 0.62664794921875, -0.025232678279280663, -0.06608906388282776, -0.357115775346756, -0.4786779284477234, -0.804159939289093, 1.268919587135315, 0.08792659640312195, 0.4507851004600525, -0.07774259895086288, 0.8095166683197021, 0.33120453357696533, 0.4923822283744812, -0.9262268543243408, 0.6417309641838074, -0.1635684221982956, -0.28926122188568115, -0.16891656816005707, -0.42439231276512146, -1.1047053337097168, 0.3900240361690521, -0.3041250705718994, -0.4024381637573242, -0.3778831660747528, -0.2306527942419052, -0.14397506415843964, 0.05686861276626587, -0.3429208993911743, 0.6914549469947815, -0.018976297229528427, 0.03552679717540741, -0.1712532639503479, -0.5520597696304321, 0.1917247772216797, -0.3097449541091919, 0.04044144228100777, -0.2516436278820038, -0.4723811745643616, 0.7784281373023987, -0.46563616394996643, 0.5145043730735779, 0.14388728141784668, -0.04027639701962471, 0.25033777952194214, 0.152711421251297, -0.038349829614162445, 0.1062944233417511, -0.0784338116645813, 0.3096984922885895, 0.12254545092582703, -0.3719511330127716, -0.8329060077667236, 0.9783409237861633, -0.5341169834136963, -0.5572350025177002, -0.6652039885520935, -0.3581196069717407, -0.3416128158569336, 0.5123088955879211, 0.18029165267944336, 0.4815147817134857, -0.08461033552885056, -0.10206708312034607, 0.7307544946670532, -0.2945268750190735, -0.0064410739578306675, 0.8326536417007446, -0.05963975191116333, -0.3280527591705322, 0.7507234215736389, -0.21275511384010315, 0.27437588572502136, 0.7615202069282532, 0.3164728581905365, -0.3428443670272827, -0.9378219842910767, -0.23786529898643494, 0.38896444439888, -0.8154125809669495, -0.5261062979698181, -0.6855124235153198, -0.17884516716003418, -0.38504859805107117, -0.28114768862724304, -0.16069777309894562, -0.48960044980049133, -0.043818436563014984, -0.18441040813922882, 0.41327258944511414, 0.7502325773239136, -0.04491464048624039, 0.14441391825675964, -0.9357151985168457, 0.29654330015182495, -0.08964003622531891, 0.11907298862934113, -0.3682827353477478, -0.573485791683197, 0.04791564494371414, -0.46645671129226685, -0.34966039657592773, -0.7288877964019775, 0.3758295178413391, 0.027623269706964493, 0.666714072227478, 0.219991534948349, 0.04126269370317459, 0.4175208508968353, -0.5666558146476746, 0.7314898371696472, 0.31181424856185913, -0.9422256946563721, 0.5612913370132446, -0.4092598855495453, 0.13852861523628235, 0.4115249514579773, 0.5406064987182617, -0.2063562422990799, -0.5750890374183655, -0.8525338768959045, -0.7291398644447327, 0.25031784176826477, 0.350984662771225, 0.16303271055221558, -0.19007553160190582, 0.48422160744667053, 0.28689301013946533, -0.10319702327251434, -0.5911343693733215, -0.3197289705276489, 0.0009750630706548691, -0.27503663301467896, 0.18267033994197845, -0.12405665963888168, -0.15536543726921082, -0.12976135313510895, 0.396498441696167, -0.32703810930252075, 0.4747617244720459, 0.4106648862361908, -0.018288543447852135, 0.24379415810108185, 0.20749428868293762, 0.6093225479125977, 0.8492449522018433, 0.007232234347611666, 0.23757565021514893, 0.5809937119483948, -0.5508868098258972, 0.02234271541237831, -0.20727695524692535, 0.03521110489964485, 0.2356831580400467, 0.8964112401008606, 0.40873727202415466, 0.19788490235805511, -0.5478066205978394, 0.7632690668106079, -0.06197488307952881, -0.559261679649353, -0.1558765321969986, 0.015955153852701187, 0.08599153161048889, 0.09353046119213104, 0.04984046518802643, -0.07922109216451645, 0.4475400447845459, -0.26295900344848633, 0.7552390098571777, 0.4420969486236572, -0.5161457061767578, -0.13644883036613464, 0.3238600194454193, -0.0004085772088728845, -0.031024206429719925, 0.4373711347579956, 0.00016940783825702965, -0.27127960324287415, 0.6541064977645874, 0.5175936818122864, 0.6373795866966248, -0.0615679994225502, 0.4028639793395996, 0.35525891184806824, -0.0036652670241892338, 0.12589319050312042, 0.3180454671382904, 0.06906577944755554, -0.8276049494743347, -0.5444060564041138, -0.3931320607662201, -0.4541769325733185, 0.10729749500751495, -0.7765798568725586, 0.45116373896598816, -0.47369152307510376, -0.1517363041639328, 0.185914546251297, 0.11358582228422165, -0.43741223216056824, 0.6462874412536621, 0.04843713343143463, 0.7559499740600586, -0.6963121891021729, 0.9551175236701965, 0.5695477724075317, -0.27687329053878784, -0.6894184947013855, 0.09332611411809921, 0.10114795714616776, -0.8720088005065918, 0.7227270603179932, 0.15047502517700195, -0.4291667342185974, -0.14343151450157166, -0.12650635838508606, -0.5132951140403748, 1.3166882991790771, 0.22061492502689362, -0.42659395933151245, 0.06925197690725327, 0.27649980783462524, 0.8636359572410583, -0.45985546708106995, 0.5318411588668823, 0.641339123249054, 0.3709729015827179, 0.41923993825912476, -1.0434046983718872, 0.3062237501144409, 0.021149571985006332, -0.27010205388069153, 0.18316586315631866, -0.314664751291275, 0.48846668004989624, -0.33439579606056213, -0.18708299100399017, 0.1884213238954544, 0.6120859980583191, 0.181958869099617, 0.645801305770874, 0.16767911612987518, 0.7562716603279114, 0.8329959511756897, 0.06745721399784088, 1.1318939924240112, 0.05356711521744728, 0.45471522212028503, 1.0716649293899536, -0.6251561045646667, 0.5440527200698853, 0.2836369574069977, -0.19083765149116516, 0.5420730710029602, 0.4656042158603668, -0.06922341138124466, 0.4711057245731354, 0.19586846232414246, -0.273179829120636, -0.29595649242401123, -0.02853314019739628, -0.5265635251998901, 0.3045181930065155, 0.32495105266571045, -0.3768255412578583, -0.40778955817222595, -0.19090178608894348, 0.053588129580020905, 0.2668597400188446, -0.19923484325408936, 1.0381946563720703, 0.3820328116416931, -0.09335581213235855, 0.553796112537384, -0.003684918163344264, 0.5201080441474915, -0.6796045899391174, 0.04830307513475418, -0.1087445542216301, 0.18194447457790375, -0.34708669781684875, -1.038704514503479, 0.8095781803131104, -0.12213665246963501, -0.11922448873519897, -0.1609206348657608, 0.8469295501708984, -0.09457051008939743, -0.24831001460552216, 0.5463375449180603, 0.6353534460067749, 0.326136976480484, 0.08086521178483963, -0.9600921869277954, -0.023226168006658554, -0.05209130048751831, -0.20848865807056427, 0.5438535213470459, 0.680336058139801, -0.19149988889694214, 0.7085044980049133, 0.42297083139419556, 0.27240654826164246, -0.3416547179222107, 0.37690749764442444, 0.8440836668014526, -0.7515803575515747, -0.33600106835365295, -0.8353655934333801, 0.025268809869885445, -0.36154624819755554, -0.40762364864349365, 0.757567822933197, 0.7787068486213684, 0.8949680328369141, -0.10288942605257034, 0.7813907861709595, 0.3394382894039154, 0.8005178570747375, -0.8223759531974792, 0.6452516913414001, -0.5910933613777161, 0.2869223952293396, -0.5223432779312134, -0.903107762336731, -0.8040143251419067, 0.5435225367546082, -0.3658006489276886, 0.02122851274907589, 1.2589857578277588, 0.9944562315940857, -0.050199806690216064, -0.11005520075559616, 0.6777395606040955, -0.02783661149442196, 0.22189787030220032, 0.6173195242881775, 0.8482003808021545, -0.2979693114757538, 0.5705440640449524, 0.24958032369613647, -0.2559385895729065, 0.08919564634561539, -1.025780439376831, -0.9145359992980957, -0.4426479637622833, -0.7237042784690857, -0.5098965167999268, -0.013114375062286854, 0.3667832911014557, 0.4715675711631775, -0.6755676865577698, 0.29450640082359314, 0.18956731259822845, 0.02819412387907505, 0.08547047525644302, -0.2608333230018616, 0.5973384380340576, -0.18326415121555328, -0.4948967397212982, 0.18757110834121704, 0.6604712605476379, 0.024788348004221916, 0.07481193542480469, -0.19281451404094696, 0.28617388010025024, 0.24082742631435394, 0.5355551838874817, -0.021835656836628914, -0.7235801219940186, -0.4201681315898895, -0.09618739783763885, -0.3634251654148102, 0.2281576544046402, 1.2054542303085327, -1.0400588512420654, 0.33135056495666504, 0.5525362491607666, 0.6057681441307068, 0.3869943618774414, -0.14377114176750183, 0.44534775614738464, -0.41130661964416504, 0.07384732365608215, 0.5186741948127747, 0.006580258719623089, 0.4346284568309784, -0.3911462128162384, 0.4840235114097595, 0.3536624312400818, -0.5240326523780823, -0.6709932088851929, 0.4442179203033447, -1.3178249597549438, -0.2778295576572418, 1.2529139518737793, -0.4391506612300873, 0.047895174473524094, -0.3384372889995575, -0.20222708582878113, 0.045038893818855286, -0.09525881707668304, 0.5201849341392517, 0.42650824785232544, -0.6093428134918213, -0.03989974036812782, -0.35475772619247437, 0.730594277381897, 0.30113065242767334, -0.9977082014083862, -0.4590931534767151, 0.17614445090293884, 0.6720451712608337, -0.01204598043113947, 1.1677149534225464, -0.47965046763420105, 0.2342098504304886, -0.034278977662324905, -0.18550707399845123, -0.003842930542305112, 0.013174328953027725, -0.07186917215585709, -0.032117921859025955, 0.007752175442874432, 0.05423332005739212 ]
http://arxiv.org/abs/2402.14833v1
http://arxiv.org/pdf/2402.14833v1
CliqueParcel: An Approach For Batching LLM Prompts That Jointly Optimizes Efficiency And Faithfulness
2024-02-17T22:37:17
2024-02-17T22:37:17
Jiayi Liu, Tinghan Yang, Jennifer Neville
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) have become pivotal in recent research. However, during the inference process, LLMs still require substantial resources. In this paper, we propose CliqueParcel, a method designed to improve the efficiency of LLMs via prompt batching. Existing strategies to optimize inference efficiency often compromise on output quality, leading to a discounted output problem. This issue might result in reduced accuracy or outputs that are less detailed. CliqueParcel is our answer to this challenge. While ensuring accuracy and minimizing deviations from the original outputs (i.e., faithfulness), our method significantly improves efficiency during inference. To lay the groundwork, we first redefine efficiency measurements by excluding the reduction in running time due to shorter lengths. Then, we provide a comprehensive trade-off between efficiency and faithfulness to clarify the nature of the 'discounted output' problem. Within the CliqueParcel framework, we suggest multiple batching sub-methods and discuss the specific scenarios in which they can be applied. During evaluation, CliqueParcel is tested on eight widely recognized datasets, which can be classified into three types: reading comprehension, open-source question-answering, and reasoning. Our experiments explore the performance of CliqueParcel, including efficiency, faithfulness, and the trade-off between them. This work provides novel insights into inference efficiency and demonstrates promising performance.
[ -0.16391940414905548, -0.5632114410400391, 0.5123600959777832, 0.601058840751648, -0.4406736195087433, -0.11036844551563263, -0.46783387660980225, 0.012793637812137604, 0.05931822583079338, 0.6462990045547485, -0.6129489541053772, -0.4604148268699646, -0.4242953062057495, 0.27478328347206116, -0.35865697264671326, 0.5105929970741272, 0.035193778574466705, 0.3636770248413086, -0.42368084192276, -0.05047226697206497, -0.5056841373443604, -0.2995963990688324, -1.0535372495651245, -0.22166092693805695, 0.4730990529060364, 0.39299675822257996, 0.5533238649368286, 0.9657624959945679, 0.19495368003845215, 0.28395166993141174, 0.002134124282747507, 0.6488217115402222, -0.7597966194152832, 0.4200122654438019, -0.236424058675766, -0.6435143351554871, -0.3536684215068817, -0.18923012912273407, 0.6609734892845154, 0.6910844445228577, -0.24491070210933685, 0.07615659385919571, 0.5018644332885742, 0.6621181964874268, -0.538871705532074, 0.2819001078605652, -0.6787405610084534, -0.16455937922000885, -0.13250912725925446, -0.03817938640713692, -0.7241257429122925, -0.7115110754966736, -0.5120256543159485, -0.46715623140335083, 0.20923487842082977, 0.286144882440567, 0.418542742729187, 0.28548726439476013, 0.1405075490474701, -0.4251604974269867, -0.30799439549446106, 1.1850340366363525, -0.8508696556091309, 0.43150636553764343, 0.11032614856958389, 0.23380818963050842, -0.5356078743934631, -0.969165027141571, -0.41264843940734863, -0.2289915829896927, -0.12258920818567276, 0.07688283175230026, -0.005782270338386297, 0.17434442043304443, 0.39574143290519714, 0.404366135597229, -0.4456227719783783, 0.0682886615395546, -0.08133427053689957, -0.4767611622810364, 0.7043049931526184, 0.2555520534515381, 0.09094499796628952, 0.15850533545017242, -0.21145622432231903, -0.03802195563912392, -0.6147702932357788, 0.062249619513750076, 0.198494091629982, 0.41019999980926514, 0.46038323640823364, 0.5527942180633545, -0.2819386422634125, 0.7052612900733948, -0.1605970561504364, -0.4305504858493805, -0.17388275265693665, -0.5168429613113403, -0.22216466069221497, 0.14655500650405884, 0.7324195504188538, 0.4013252854347229, 0.31016772985458374, -0.05700717493891716, -0.21280565857887268, 0.0776357501745224, -0.08933575451374054, -1.1790269613265991, -0.39400848746299744, 0.4362020194530487, -0.4192705452442169, -0.059995364397764206, -0.26154670119285583, -0.8998599648475647, -0.3641853928565979, -0.5104256868362427, 0.026523463428020477, -0.49037909507751465, 0.35054564476013184, -0.21871531009674072, -0.24030187726020813, -0.17263111472129822, 0.705959141254425, -0.6471333503723145, 0.3713155686855316, 0.6477082967758179, 1.038179874420166, -0.3693188428878784, -0.22588495910167694, -0.8999758362770081, 0.10767721384763718, -0.37124648690223694, 0.6835810542106628, -0.49461665749549866, -0.5847678184509277, -0.12333010882139206, 0.01093707699328661, 0.10339869558811188, -0.6012810468673706, 0.595441460609436, -0.33480304479599, -0.19497814774513245, -0.5582070350646973, -0.7969940900802612, 0.10487955808639526, 0.006821449380367994, -0.6836457848548889, 0.8895804286003113, -0.08091988414525986, -0.5825427174568176, 0.33356910943984985, -0.12751828134059906, -0.4355807900428772, 0.06760003417730331, -0.07272695004940033, -0.1801094263792038, 0.08947834372520447, 0.5453627109527588, 0.4977108836174011, -0.4338572323322296, 0.16548272967338562, -0.34184667468070984, -0.4824816882610321, 0.09767322242259979, -0.5866286754608154, 0.7550171613693237, 0.22983670234680176, -0.01443494949489832, 0.03687259554862976, -0.4961259663105011, 0.19809845089912415, -0.045409951359033585, -0.4102732539176941, -0.26947081089019775, 0.011068210005760193, -0.44197338819503784, -0.18846596777439117, 0.23472309112548828, -0.4716147780418396, 0.3851325809955597, -0.3192884624004364, 0.49188148975372314, 0.8590887784957886, 0.10346683859825134, 0.5514593720436096, -0.40827056765556335, 0.3058755397796631, -0.1333180069923401, 0.24043066799640656, -0.4414502680301666, -0.4573458135128021, -0.6592845320701599, -0.806395411491394, 0.28321075439453125, 0.48583805561065674, -0.8710225820541382, 0.0071387761272490025, -0.09694797545671463, -0.3174211084842682, -0.4337913990020752, 0.41997581720352173, 0.4257155954837799, 0.42620566487312317, 0.470976322889328, -0.17571230232715607, -0.24813993275165558, -0.9159515500068665, -0.7201155424118042, 0.07110607624053955, -0.031063297763466835, 0.24147719144821167, 0.08004792034626007, 0.24183373153209686, 0.978655993938446, -0.5880669951438904, 0.0827692449092865, -0.5719768404960632, -0.0015934060793370008, 0.632067859172821, 0.46885332465171814, 0.2905457615852356, -0.45419934391975403, -0.521409809589386, -0.12224035710096359, -0.3551422655582428, -0.3975186049938202, -0.25922447443008423, -0.2708381712436676, 0.2455253154039383, 0.4742424488067627, -0.42888355255126953, 0.314603716135025, 0.3883138597011566, 0.12524592876434326, 0.609233021736145, -0.13513630628585815, 0.26586681604385376, -0.9727767705917358, -0.34207066893577576, -0.1883620172739029, -0.5212171673774719, -0.5599545836448669, -0.17943130433559418, 0.09684064239263535, 0.12120119482278824, -0.539829671382904, 0.6777076721191406, -0.5649264454841614, -0.06403046101331711, -0.2300994098186493, 0.16148124635219574, 0.22054503858089447, 0.4452599585056305, -0.24020740389823914, 1.2540119886398315, 0.33527490496635437, -0.7670894265174866, 0.39388206601142883, 0.12853147089481354, -0.22533905506134033, 0.5209515690803528, -0.63454669713974, 0.03461445868015289, -0.2688581943511963, 0.4269532263278961, -1.0934855937957764, -0.40703529119491577, 0.22040635347366333, -0.19684922695159912, 0.28033512830734253, -0.1793067306280136, -0.4319911301136017, -0.4049600064754486, -0.2892935276031494, 0.1997900903224945, 0.8135575652122498, -0.7606418132781982, 0.6124281883239746, -0.08263994008302689, -0.2660025954246521, -0.7250467538833618, -0.9105580449104309, -0.17799769341945648, -0.008666236884891987, -0.6364750266075134, 0.18302685022354126, 0.05279192328453064, -0.2962189316749573, -0.27810853719711304, -0.18676379323005676, -0.13879871368408203, -0.15639013051986694, 0.012356300838291645, -0.054163381457328796, -0.05015220120549202, 0.06784828007221222, 0.42854106426239014, 0.14527897536754608, -0.01318187452852726, -0.676196277141571, 0.7261513471603394, 0.19874367117881775, -0.3220393657684326, -0.7474103569984436, 0.2562532126903534, 0.28436556458473206, -0.11454017460346222, 0.8714601397514343, 0.22270797193050385, -0.14560967683792114, -0.8203778266906738, -0.6746667623519897, -0.38452640175819397, -0.5119738578796387, 0.13745422661304474, -0.22648265957832336, -0.5736922025680542, 0.4578856825828552, -0.3732180893421173, 0.31805095076560974, -0.03867495432496071, 0.6163249015808105, 0.05648025497794151, 0.5101490616798401, 0.012870360165834427, 0.17047268152236938, 0.3389380872249603, -0.17194367945194244, 0.2737496495246887, -0.5671043395996094, -0.23468205332756042, -0.5845579504966736, -0.07215853035449982, -0.23420369625091553, -0.8138232231140137, 0.09768763184547424, 0.3309684097766876, -0.06796887516975403, 0.330265611410141, -0.28390631079673767, 0.5724356174468994, 0.6310870051383972, 0.481011301279068, 0.5054996013641357, 0.09862824529409409, -0.02089717797935009, -0.1140333041548729, -0.8938091993331909, -0.5235065221786499, 0.8272170424461365, 0.051880113780498505, 0.826216459274292, -0.1071217805147171, 0.7464494705200195, 0.31771329045295715, 0.5680739879608154, -0.641069769859314, 0.693533182144165, -0.15386998653411865, -0.28965556621551514, -0.29609107971191406, -0.7381597757339478, -0.6330867409706116, 0.3514775335788727, 0.21905232965946198, -0.6903547644615173, 0.12133471667766571, 0.6890722513198853, -0.22015072405338287, 0.3216904103755951, -0.6257651448249817, 0.8093173503875732, 0.01576484739780426, -0.8664802312850952, -0.1544199436903, -0.2881828546524048, 0.5765003561973572, -0.07269950211048126, 0.2627148926258087, -0.043883614242076874, -0.057183101773262024, 0.38407987356185913, -0.7885740995407104, 0.7073546648025513, -0.2069743424654007, 0.10836672782897949, 0.6545261740684509, 0.17139828205108643, 0.8315244913101196, 0.3239099085330963, -0.37061625719070435, 0.08547474443912506, -0.10957132279872894, -0.7256147265434265, -0.7424034476280212, 0.7852770686149597, -0.24257992208003998, -0.6059563755989075, -0.08938246220350266, -0.7061881422996521, -0.2611159086227417, 0.29152703285217285, 0.23652349412441254, 0.732887327671051, -0.20455259084701538, 0.01994537189602852, 0.6700228452682495, -0.42990854382514954, 0.6981879472732544, -0.08977953344583511, -0.28347083926200867, -0.5338578224182129, 0.8525012731552124, 0.09953157603740692, 0.6604256629943848, 0.264712929725647, 0.16801029443740845, -0.5526487231254578, -0.6421580910682678, -0.45905420184135437, 0.2323877364397049, -0.7830875515937805, -0.2721126973628998, -0.6377267837524414, 0.2249567061662674, -0.5550270676612854, -0.20668795704841614, -0.37617871165275574, -0.31885430216789246, -0.24077841639518738, 0.2625865638256073, 0.222839817404747, 0.3855675160884857, 0.08960932493209839, 0.5242515802383423, -0.763565719127655, 0.019409189000725746, 0.32591021060943604, 0.04150046408176422, 0.1392114907503128, -0.47233521938323975, 0.11567029356956482, 0.22112390398979187, -0.12653955817222595, -0.7838696241378784, 0.4267159700393677, 0.2555290162563324, 0.48766788840293884, 0.248928502202034, 0.268059104681015, 0.7855502367019653, -0.5070928335189819, 0.8138993978500366, 0.1621560901403427, -1.0554335117340088, 0.17561733722686768, -0.2644762694835663, 0.01103551872074604, 0.6701882481575012, 0.20158751308918, -0.23294799029827118, -0.268482506275177, -0.3570100963115692, -0.7462218999862671, 0.5372887253761292, 0.5044128894805908, -0.015590737573802471, -0.1521405577659607, 0.4675730764865875, 0.09294746816158295, 0.5470556616783142, -0.30251064896583557, -0.13392274081707, -0.13330474495887756, -0.2655091881752014, 0.0438748262822628, -0.2174982726573944, 0.09905539453029633, -0.09493942558765411, 0.7877593040466309, -0.1854085922241211, 0.0457925908267498, 0.4441543519496918, -0.1378929167985916, 0.48537105321884155, 0.13099360466003418, 0.4489551782608032, 0.714024543762207, 0.13282199203968048, 0.06832404434680939, 0.5332918167114258, -0.42955589294433594, 0.10263155400753021, -0.2617589831352234, 0.10094604641199112, 0.18285129964351654, 0.445163756608963, 0.5046877264976501, -0.09824405610561371, -0.6247336864471436, 0.5060985684394836, -0.020231904461979866, 0.04079756885766983, -0.08082398027181625, 0.16576212644577026, 0.22887814044952393, 0.16161084175109863, 0.09623001515865326, 0.08827214688062668, 0.15086454153060913, -0.5398799777030945, 0.27527621388435364, 0.3609827756881714, -0.004557785578072071, 0.2409651130437851, 0.5722326636314392, 0.0654858872294426, -0.26692745089530945, 0.7948338985443115, -0.4329797923564911, -0.37672993540763855, 0.8216898441314697, 0.5100597143173218, 0.5059055685997009, -0.41554245352745056, 0.12358307093381882, 0.3728387951850891, 0.2667672634124756, -0.563233494758606, 0.2110198438167572, 0.06434077024459839, -0.46911129355430603, -0.7747946381568909, -0.779098391532898, -0.44347187876701355, -0.3060358464717865, -0.6061293482780457, 0.295744925737381, -0.4185650646686554, 0.10154064744710922, -0.31499698758125305, -0.16395172476768494, -0.4666513204574585, 0.1026080921292305, -0.23811675608158112, 1.1997250318527222, -0.6232230067253113, 0.7504984736442566, 0.21874453127384186, -0.09037843346595764, -1.0474716424942017, -0.04507823288440704, -0.27804842591285706, -0.8388310074806213, 0.4077453017234802, 0.2548235356807709, -0.009400753304362297, 0.14954838156700134, -0.5876166224479675, -0.526833176612854, 1.215347170829773, 0.5108060240745544, -0.9537271857261658, 0.32100823521614075, 0.0830073133111, 0.28982970118522644, -0.4404522776603699, 0.3664971590042114, 0.7972498536109924, 0.6234275102615356, 0.36773309111595154, -0.42469361424446106, 0.22953110933303833, 0.23568390309810638, 0.2397075593471527, 0.24796484410762787, -0.7437001466751099, 0.7565116882324219, -0.09219908714294434, -0.2240414172410965, 0.2564673125743866, 0.8910850286483765, 0.4269873797893524, 0.5556824803352356, 0.3783114552497864, 0.4195633828639984, 1.1348611116409302, -0.28535836935043335, 1.3567864894866943, -0.19749097526073456, 0.3186894655227661, 1.1129822731018066, -0.3086419999599457, 0.4204975664615631, 0.46933531761169434, -0.34389254450798035, 0.19790023565292358, 0.6014618873596191, 0.02096549980342388, 0.34938478469848633, 0.5793607831001282, -0.29692453145980835, -0.4860476851463318, -0.38482028245925903, -0.038472168147563934, -0.24239425361156464, 0.2831461727619171, -0.3895440399646759, -0.2099204808473587, -0.17145349085330963, 0.37740764021873474, 0.156781867146492, -0.6127500534057617, 0.3959423899650574, 0.2861401438713074, -0.8577574491500854, 0.5151155591011047, -0.27322328090667725, 0.2944534718990326, -0.3684326410293579, -0.10992732644081116, -0.7472712993621826, 0.21067066490650177, -0.2591352164745331, -0.4348679184913635, 0.18975724279880524, -0.20859785377979279, -0.17502878606319427, -0.24634119868278503, 0.5439474582672119, -0.5333576798439026, -0.5275440812110901, 0.021909233182668686, 0.3196662664413452, 0.375031441450119, -0.11697807908058167, -0.4385703504085541, 0.2948290705680847, 0.22258226573467255, -0.1359582096338272, 0.1234901174902916, 0.38945451378822327, -0.047353409230709076, 0.6165183782577515, 0.7495012283325195, 0.18735450506210327, 0.1205194890499115, 0.08459378778934479, 1.0032868385314941, -0.23451440036296844, -0.31961408257484436, -1.163400650024414, 0.3770392835140228, -0.5253652334213257, -0.06262149661779404, 0.9079509973526001, 0.56743985414505, 0.5250840187072754, 0.001131950644776225, 0.7649461627006531, 0.20374472439289093, 0.36189135909080505, -0.7937860488891602, 0.2803533375263214, -0.36251068115234375, 0.4980395436286926, -0.08452869951725006, -1.218189001083374, -0.1118975505232811, 0.3171533942222595, -0.19057132303714752, -0.09450743347406387, 0.9544382095336914, 0.9806908965110779, -0.08934065699577332, 0.27179911732673645, 0.20348182320594788, 0.4075030982494354, 0.3566854000091553, 0.4543769061565399, 0.6613852381706238, -0.09603232890367508, 0.4197022318840027, -0.4170019030570984, -0.29760485887527466, 0.054166678339242935, -1.0206364393234253, -1.2361657619476318, -0.06203547120094299, -0.15106438100337982, -0.5980517268180847, 0.42381489276885986, 1.0789796113967896, 0.4800569713115692, -0.8404245376586914, -0.08778978884220123, -0.4947352409362793, 0.12953703105449677, -0.26888835430145264, -0.20262649655342102, 0.34791886806488037, -0.6814231872558594, -0.9468074440956116, 0.46382254362106323, 0.176499605178833, -0.1819482296705246, -0.10586076229810715, 0.16441945731639862, 0.2496805638074875, 0.464685320854187, 0.43102535605430603, -0.04836640506982803, -0.5782784223556519, 0.032704342156648636, -0.05945713445544243, 0.000613646931014955, -0.13129985332489014, 0.9747815728187561, -0.5025263428688049, 0.10956132411956787, 0.7539867162704468, 0.8261529207229614, 0.41590890288352966, 0.5062071681022644, 0.6419245004653931, -0.6578020453453064, 0.3302280306816101, 0.26408448815345764, 0.411462664604187, 0.30892911553382874, -0.39627984166145325, 0.3676868975162506, 0.35062888264656067, -0.7343703508377075, -0.796623170375824, 0.299137145280838, -0.8429697751998901, -0.5052006244659424, 1.2765309810638428, -0.4462461471557617, -0.6299366354942322, 0.0032773655839264393, -0.4320206940174103, 0.1702674776315689, -0.8949199318885803, 0.30246034264564514, 0.5915789008140564, -0.1778721958398819, 0.016967182978987694, -0.46634387969970703, 0.5149000287055969, 0.5273841023445129, -0.8162193298339844, 0.20151011645793915, 0.5659046173095703, 0.2131277620792389, -0.09555363655090332, 0.5672625303268433, 0.15206760168075562, -0.05708117410540581, 0.04042808711528778, -0.12208226323127747, -0.1433042287826538, -0.3561607897281647, -0.19456538558006287, 0.3166511058807373, -0.03227679058909416, -0.09228683263063431 ]
http://arxiv.org/abs/2402.11359v3
http://arxiv.org/pdf/2402.11359v3
Offline Training of Language Model Agents with Functions as Learnable Weights
2024-02-17T18:31:21
2024-06-07T23:49:18
Shaokun Zhang, Jieyu Zhang, Jiale Liu, Linxin Song, Chi Wang, Ranjay Krishna, Qingyun Wu
cs.AI
cs.AI, cs.CL
Researchers and practitioners have recently reframed powerful Large Language Models (LLMs) as agents, enabling them to automate complex tasks largely via the use of specialized functions. To facilitate the development of LLM agents, we present a novel paradigm of training LLM agents without modifying the LLM weights, which is particularly useful when the LLMs are difficult or inaccessible for modifications. Inspired by how humans continuously forge tools to adapt to real-world tasks, rather than change our biological structure to fit a static set of tools, we propose to progressively forge agent's functions to better solve the downstream tasks instead of modifying the LLM weights. By treating the functions as learnable `agent parameters' and leveraging the fundamental idea of model training in artificial intelligence, we develop AgentOptimizer that employs the LLM to update agents' functions and devise an agent training algorithm with two strategies, roll-back, and early-stop, to streamline the training process. With extensive experiments, we showcase that the agent training paradigm could significantly improve the performance of representative LLM agents in various downstream tasks. We also study the behavior of the agent training regarding aspects like the learning curve and domain transferability.
[ -0.21600617468357086, -0.6170264482498169, 0.3961409628391266, -0.2955736815929413, -0.029942568391561508, 0.3473145067691803, -0.36635634303092957, -0.39845314621925354, 0.3168199956417084, 0.5161173343658447, -0.6913521885871887, 0.06559794396162033, -0.4106205403804779, 0.03157283738255501, -0.2838139533996582, 1.0188257694244385, -0.12433063983917236, 0.33674758672714233, -0.09036824107170105, -0.0763106420636177, 0.12502534687519073, -0.4851933419704437, -0.9579713940620422, -0.6902859210968018, 0.48084017634391785, 0.31304076313972473, 0.5783004760742188, 0.810439944267273, 0.28219306468963623, 0.40091389417648315, 0.1863355040550232, 0.08470211178064346, -0.7190194725990295, 0.14444661140441895, -0.019377848133444786, -0.8043410778045654, -0.6907899379730225, -0.05522793531417847, 0.6666524410247803, 0.7574899792671204, -0.30143293738365173, 0.03698628023266792, 0.02045018970966339, 0.6153320670127869, -0.31295791268348694, 0.3770715892314911, -0.7973607182502747, 0.0017728173406794667, -0.047774411737918854, -0.398699551820755, -0.4515511989593506, -0.36659207940101624, 0.010807624086737633, -0.6740830540657043, 0.19053098559379578, -0.23707395792007446, 0.7129127383232117, 0.4362054765224457, -0.16104376316070557, -0.18307335674762726, -0.7973661422729492, 0.5435512661933899, -0.6599690318107605, 0.2715316414833069, 0.32640960812568665, 0.5842705965042114, -0.20448139309883118, -0.7457312345504761, -0.2829912006855011, -0.5680062770843506, 0.30119678378105164, -0.1199399083852768, 0.250160813331604, 0.14649835228919983, 0.2683250606060028, 0.008678152225911617, -0.273730605840683, 0.11652912944555283, -0.1624365895986557, -0.059778474271297455, 0.7061046361923218, 0.06844031810760498, 0.3715493679046631, 0.6592604517936707, -0.1832856684923172, -0.2767608165740967, -0.8117278814315796, 0.17038172483444214, 0.5838686227798462, 0.46167516708374023, 0.08726649731397629, 0.24500904977321625, -0.15608467161655426, 0.5261167883872986, -0.019019607454538345, -0.3500223159790039, 0.20129477977752686, 0.15599167346954346, 0.1615961492061615, 0.007900277152657509, 0.15190547704696655, -0.1631382405757904, 0.4514629542827606, -0.47937947511672974, -0.5438411831855774, -0.3804628551006317, 0.5432808995246887, -0.8298458456993103, -0.08849867433309555, 0.07848142832517624, -0.25159838795661926, -0.35958001017570496, -0.10492300987243652, -0.19534239172935486, -0.3748677670955658, -0.4255686402320862, 0.5658353567123413, -0.31784045696258545, -0.27661365270614624, -0.24914565682411194, -0.10724108666181564, 0.4017685651779175, 0.36725053191185, -0.8476055860519409, 0.3467167019844055, 0.479727178812027, 0.7539951801300049, -0.017955897375941277, -0.5809550285339355, -0.6622686982154846, 0.11003917455673218, -0.3112908601760864, 0.8020225167274475, -0.37604716420173645, -0.10590286552906036, 0.13347291946411133, 0.0537225715816021, -0.1841687262058258, -0.4528678357601166, -0.06999865919351578, -0.8103442788124084, -0.13983581960201263, -0.1209401860833168, -0.5535017848014832, -0.17144885659217834, 0.38183411955833435, -0.6671531200408936, 0.8742286562919617, 0.35405662655830383, -0.3168184459209442, 0.24193449318408966, -0.6740907430648804, -0.3945987820625305, 0.19319792091846466, 0.08364171534776688, -0.5666651725769043, -0.1570800542831421, -0.2145869880914688, 0.3877338171005249, -0.16229020059108734, 0.03237805515527725, -0.5761263370513916, -0.32225871086120605, 0.2975902855396271, -0.0713905319571495, 0.7161853313446045, -0.08874169737100601, -0.42776748538017273, 0.1730467528104782, -0.7617289423942566, 0.10515723377466202, 0.3390237092971802, -0.5450015664100647, -0.1185099259018898, 0.2803492546081543, -0.034813232719898224, 0.2528209090232849, 0.17496807873249054, -0.4346257448196411, 0.3287506699562073, -0.5675682425498962, 0.6667170524597168, 0.6632955074310303, -0.2612769305706024, 0.6099573373794556, -0.5682082772254944, 0.6483862400054932, -0.6215620040893555, 0.09506409615278244, -0.03417624905705452, -0.2501875162124634, -0.8636704087257385, -0.6579388976097107, -0.09398555010557175, 0.5231993794441223, -1.0002225637435913, 0.44390982389450073, -0.36599597334861755, -0.6771596670150757, -0.3148154616355896, 0.43109697103500366, 0.31861940026283264, 0.2790389060974121, 0.18851830065250397, -0.23756301403045654, -0.3330276608467102, -0.34257617592811584, -0.30973681807518005, -0.07200346887111664, 0.05588166043162346, 0.04915883019566536, 0.6565752029418945, -0.1077110692858696, 1.09736168384552, -0.47284528613090515, -0.35138407349586487, -0.7590668201446533, 0.22725164890289307, -0.31987863779067993, 0.12182347476482391, 0.36227649450302124, -0.6917175650596619, -0.40474048256874084, -0.0509149432182312, -0.6387216448783875, -0.2605125904083252, -0.152297705411911, 0.12046074867248535, 0.28447410464286804, 0.9299981594085693, -0.5493239760398865, 0.14004848897457123, 0.15256954729557037, -0.07068619877099991, 0.25719958543777466, -0.4267594516277313, -0.35938185453414917, -0.907235860824585, 0.1138874888420105, -0.4441787898540497, -0.6219709515571594, -0.9059655666351318, 0.2544425427913666, -0.11637220531702042, -0.1155017539858818, -0.7366886138916016, 0.7820054888725281, -0.6488681435585022, -0.15939269959926605, -0.6888428926467896, 0.1301194727420807, -0.15014035999774933, 0.705301821231842, 0.126302570104599, 0.49172407388687134, 0.5442028045654297, -0.5342767834663391, 0.41223520040512085, -0.0129782073199749, 0.1723192036151886, 0.30466532707214355, -0.5397894978523254, 0.3238559365272522, -0.3644479811191559, 0.3431951701641083, -0.6217771172523499, -0.08232606947422028, 0.3244934678077698, -0.15625353157520294, 0.4941444993019104, -0.08902306109666824, -0.28333401679992676, 0.001901235431432724, -0.4727414548397064, 0.18420052528381348, 0.6000936627388, -0.3000866770744324, 0.8183895349502563, 0.33654701709747314, -0.10650414973497391, -0.2526124119758606, -0.4662229120731354, -0.09394620358943939, -0.21757212281227112, -0.27694952487945557, 0.268233984708786, 0.0075459107756614685, -0.1660335510969162, -0.02378670684993267, 0.13215605914592743, -0.21597614884376526, 0.21182745695114136, 0.2510393261909485, 0.018276171758770943, 0.02621982805430889, 0.229299858212471, -0.19119811058044434, -0.14956848323345184, -0.03486965224146843, -0.395546019077301, 0.6055035591125488, -0.05536023527383804, -0.2992008924484253, -0.041885484009981155, -0.043164223432540894, 0.5120265483856201, -0.2792772650718689, 0.8227398991584778, 0.6658864617347717, -0.32418856024742126, -0.6667224764823914, -0.3586081862449646, -0.47244054079055786, -0.4906405806541443, 0.6467357873916626, -0.245132714509964, -0.7055285573005676, 0.5498126149177551, -0.12010760605335236, 0.15236137807369232, 0.0975613072514534, 0.7242960333824158, 0.10969365388154984, 0.9010173678398132, 0.8974776268005371, 0.14025390148162842, 0.7786030173301697, -0.35123535990715027, 0.030886029824614525, -0.4470241367816925, -0.16407614946365356, -0.3457060754299164, -0.1837673932313919, -0.33416008949279785, -0.49936941266059875, 0.22057530283927917, -0.06883551180362701, -0.23332445323467255, 0.35941338539123535, -0.22203867137432098, 0.3868471682071686, 0.3982306122779846, 0.10432742536067963, 0.13505814969539642, -0.08396660536527634, 0.29896724224090576, 0.37452730536460876, -0.706856369972229, -0.48639172315597534, 1.2912758588790894, 0.4258262515068054, 0.8194808959960938, -0.04982873052358627, 0.6607207655906677, 0.43673163652420044, 0.570941150188446, -1.0325733423233032, 0.6207841634750366, 0.16813696920871735, -0.5675323605537415, -0.5920186042785645, -0.40908172726631165, -0.878101646900177, 0.2003706395626068, 0.031061282381415367, -0.5855361223220825, -0.18083684146404266, 0.24389493465423584, -0.08462708443403244, 0.4553624987602234, -0.5651832222938538, 0.600689172744751, -0.45991310477256775, -0.1844405233860016, -0.14264488220214844, -0.6509990096092224, 0.021430188789963722, -0.44156613945961, 0.23643824458122253, -0.1276365965604782, -0.33572670817375183, 0.6551739573478699, -0.841908872127533, 1.0540380477905273, -0.29835841059684753, -0.18795019388198853, 0.3091903328895569, 0.01577240228652954, 0.6532148718833923, -0.1708073914051056, 0.08185242861509323, -0.026311488822102547, -0.062051720917224884, -0.4594908356666565, -0.7589735388755798, 0.29935768246650696, -0.9081040024757385, -0.521087646484375, -0.3272422254085541, -0.6909397840499878, -0.17797167599201202, 0.3697250485420227, 0.1379856914281845, 0.40119391679763794, -0.14958716928958893, -0.04602156952023506, 0.540635347366333, 0.1961120069026947, 0.6883519291877747, 0.6617627143859863, -0.038929861038923264, -0.2935779094696045, 1.0582412481307983, 0.30408936738967896, 0.5671083331108093, 0.5910890698432922, 0.09047728031873703, -0.2291317880153656, -0.44643595814704895, -0.2412554770708084, 0.08920042961835861, -0.820185124874115, 0.10060759633779526, -0.4418613612651825, -0.29896581172943115, -0.1394122838973999, -0.309989333152771, -0.580804705619812, -0.4255436658859253, -0.21987754106521606, 0.15346643328666687, 0.3329582214355469, 0.6429264545440674, 0.09639697521924973, 0.48710897564888, -0.7152524590492249, 0.17781417071819305, 0.4516861140727997, 0.17340189218521118, -0.08463142067193985, -0.7020025849342346, -0.4941382110118866, 0.18013815581798553, -0.3734249472618103, -0.776818037033081, 0.30427873134613037, 0.7852878570556641, 0.6449629664421082, 0.6587114930152893, 0.11468388140201569, 0.22992071509361267, -0.622631847858429, 0.3226475119590759, -0.18169373273849487, -0.86602783203125, 0.23096492886543274, -0.28995221853256226, 0.10428079217672348, 0.41143059730529785, 0.4144812524318695, -0.30219531059265137, -0.5224779844284058, -0.22567200660705566, -0.8339031934738159, 0.9868666529655457, 0.1964559108018875, 0.314454048871994, 0.5002355575561523, 0.5441527962684631, 0.19649547338485718, 0.36672553420066833, -0.8690488338470459, -0.048165105283260345, -0.31814536452293396, -0.10552437603473663, -0.26134389638900757, 0.1486688107252121, -0.180559441447258, -0.08470476418733597, 0.7983876466751099, -0.4860151708126068, 0.28497985005378723, 0.00773864658549428, -0.506066620349884, -0.2075931429862976, 0.1271546185016632, 0.51494300365448, 0.7731785774230957, -0.3169059157371521, 0.025808319449424744, 0.2727007269859314, -0.47837886214256287, 0.4587397873401642, 0.23109199106693268, -0.17616158723831177, -0.35733646154403687, 0.5860072374343872, 0.7176056504249573, 0.09253285825252533, -0.9512633085250854, 0.33527812361717224, 0.0732479840517044, -0.25703608989715576, -0.5830747485160828, 0.29380038380622864, 0.03423161059617996, 0.40593475103378296, 0.37999168038368225, -0.0622565783560276, 0.004717836622148752, -0.6181737780570984, 0.19402053952217102, 0.5235579013824463, -0.5439403653144836, -0.49212393164634705, 0.4547635316848755, 0.2482595443725586, -0.6796626448631287, 0.377282977104187, -0.5380607843399048, -0.6605542302131653, 0.5632023215293884, 0.4479152262210846, 0.994620144367218, -0.1840234249830246, 0.36365389823913574, -0.27326443791389465, 0.3631577491760254, -0.23598285019397736, 0.07960700243711472, -0.09239702671766281, -0.8502291440963745, -0.28753605484962463, -0.42139559984207153, -0.46356135606765747, -0.048494093120098114, -0.44825080037117004, 0.38700228929519653, -0.4354998767375946, -0.21505920588970184, -0.14982721209526062, -0.14893729984760284, -0.3172416687011719, 0.13549433648586273, 0.2842293381690979, 0.6890435814857483, -0.6994591951370239, 0.9631328582763672, 1.0981615781784058, -0.5206705331802368, -0.7741039395332336, 0.1439405232667923, -0.05130394175648689, -0.9449055194854736, 0.5846814513206482, 0.2485641986131668, -0.3119930028915405, 0.38627079129219055, -0.4816250801086426, -0.8516191244125366, 1.1642688512802124, 0.69981849193573, -0.15504033863544464, -0.3479798138141632, 0.44222140312194824, 0.631079912185669, -0.40068957209587097, 0.500298261642456, 0.43289613723754883, 0.17386505007743835, 0.1445489525794983, -0.7478362917900085, 0.0888289138674736, -0.34698063135147095, -0.008549670688807964, 0.25314855575561523, -0.746776819229126, 0.9079919457435608, -0.22927111387252808, 0.1537608653306961, -0.11222334206104279, 0.22382642328739166, -0.00830972008407116, 0.13845224678516388, 0.5873839855194092, 0.3385821282863617, 0.5310239195823669, -0.015281287021934986, 0.8489504456520081, -0.45082494616508484, 0.4323975145816803, 0.9263126850128174, -0.5358931422233582, 0.7494488954544067, 0.48880496621131897, -0.06523871421813965, 0.36536985635757446, 0.40717265009880066, 0.06440248340368271, 0.42248445749282837, 0.41195258498191833, -0.08354417979717255, -0.4410445988178253, -0.08787799626588821, -0.1562758833169937, 0.607786238193512, -0.05753852054476738, -0.016720889136195183, -0.36064115166664124, 0.32493624091148376, 0.18029026687145233, -0.04403595253825188, -0.42141035199165344, 0.7894716858863831, 0.18722392618656158, -0.4828813374042511, 0.7300774455070496, 0.10097796469926834, 0.35233789682388306, -0.9371480941772461, -0.07256533205509186, -0.11990557610988617, 0.5092383027076721, -0.024127712473273277, -0.17434751987457275, 0.2716068625450134, -0.27841976284980774, 0.11289025098085403, -0.4947004020214081, 0.7011323571205139, -0.42112427949905396, -0.30180418491363525, 0.41240155696868896, 0.6629502773284912, 0.10895126312971115, -0.28546011447906494, -0.7478554248809814, -0.2484731674194336, -0.24904392659664154, -0.46388450264930725, 0.4096231460571289, 0.17749887704849243, -0.10881883651018143, 1.2132234573364258, 0.6240108609199524, 0.39073464274406433, -0.017859891057014465, 0.020530618727207184, 0.9529899954795837, -0.41600534319877625, -0.6337324380874634, -0.774870753288269, 0.4135836064815521, 0.1586945503950119, -0.08554454892873764, 0.4991437792778015, 0.15674245357513428, 0.9292367100715637, -0.17456021904945374, 0.6981272101402283, -0.12377842515707016, 0.2978948652744293, -0.4938511550426483, 1.0590989589691162, -0.7921351194381714, 0.20590023696422577, 0.046867020428180695, -1.0075956583023071, -0.12901565432548523, 0.34278857707977295, -0.2884993851184845, 0.4345177114009857, 0.6673744916915894, 0.8556229472160339, 0.16679322719573975, -0.38591524958610535, 0.3244614601135254, 0.0966283529996872, 0.39667201042175293, 0.3468407690525055, 0.8378125429153442, -0.15235501527786255, 0.6729978919029236, -0.20142392814159393, -0.22774134576320648, -0.37885501980781555, -0.7839203476905823, -1.3161062002182007, -0.49782103300094604, -0.36699870228767395, -0.0761176124215126, 0.2624276578426361, 1.267329216003418, 0.9004020094871521, -0.6702580451965332, -0.41188889741897583, -0.28414830565452576, 0.016132231801748276, -0.3735707998275757, -0.16852453351020813, 0.18222111463546753, -0.656818151473999, -0.6395309567451477, 0.30187273025512695, 0.22212111949920654, 0.026730285957455635, -0.3564865291118622, -0.40179768204689026, -0.09499629586935043, 0.2590295970439911, 0.44975945353507996, 0.5414215922355652, -0.4592457115650177, -0.07819975167512894, -0.06957734376192093, -0.06110835820436478, 0.07668814063072205, 0.9167797565460205, -0.5479706525802612, 0.3758799731731415, 0.3810592293739319, 0.7696496844291687, 0.21555042266845703, -0.12138016521930695, 0.596088171005249, -0.6265714168548584, 0.3592880964279175, 0.2249191254377365, 0.17933723330497742, 0.38117948174476624, -0.21386682987213135, 0.22793424129486084, 0.3327236473560333, -0.49913060665130615, -0.8879178762435913, 0.16656437516212463, -0.6452631950378418, -0.26284924149513245, 1.1079462766647339, -0.4053988754749298, -0.2499515861272812, -0.33798423409461975, -0.22190119326114655, 0.5977245569229126, -0.35214853286743164, 0.7779949307441711, 0.34636518359184265, -0.18287405371665955, -0.1871112585067749, -0.465250164270401, 0.7834076881408691, 0.24900422990322113, -1.1448237895965576, -0.11022916436195374, -0.05849926546216011, 0.3319615125656128, -0.0645122230052948, 0.6744488477706909, 0.21276775002479553, 0.14913220703601837, 0.0972394347190857, 0.46847987174987793, -0.48256805539131165, -0.3871525526046753, -0.3379671573638916, -0.003924975637346506, 0.4941118061542511, -0.057639818638563156 ]
http://arxiv.org/abs/2402.11355v3
http://arxiv.org/pdf/2402.11355v3
Natural Language Counterfactuals through Representation Surgery
2024-02-17T18:12:02
2024-05-07T17:58:17
Matan Avitan, Ryan Cotterell, Yoav Goldberg, Shauli Ravfogel
cs.CL
cs.CL, cs.CY, cs.LG
Interventions targeting the representation space of language models (LMs) have emerged as an effective means to influence model behavior. Such methods are employed, for example, to eliminate or alter the encoding of demographic information such as gender within the model's representations and, in so doing, create a counterfactual representation. However, because the intervention operates within the representation space, understanding precisely what aspects of the text it modifies poses a challenge. In this paper, we give a method to convert representation counterfactuals into string counterfactuals. We demonstrate that this approach enables us to analyze the linguistic alterations corresponding to a given representation space intervention and to interpret the features utilized to encode a specific concept. Moreover, the resulting counterfactuals can be used to mitigate bias in classification through data augmentation.
[ -0.6012706756591797, -1.2107994556427002, 0.4488024115562439, -0.2787005305290222, -0.31237584352493286, 0.15563660860061646, -0.1094837635755539, -0.33271101117134094, 0.4265395402908325, 0.8731321096420288, -0.7920430302619934, -0.2269386351108551, -0.5141947269439697, 0.023080306127667427, -0.5017114877700806, 1.2371896505355835, -0.1066998541355133, 0.42648354172706604, -0.3274098038673401, -0.25821471214294434, -0.6123635172843933, -0.782600462436676, -0.22328995168209076, -0.39296820759773254, 0.3015210032463074, 0.14469915628433228, 0.6859204769134521, 0.625216543674469, 0.31229597330093384, 0.3664627969264984, 0.00953061692416668, 0.22534900903701782, -0.4564851224422455, -0.09644867479801178, -0.30632269382476807, -0.5986820459365845, 0.007539833430200815, 0.3850805461406708, 0.6817833781242371, 0.8993505239486694, -0.2605586349964142, -0.026971042156219482, 0.023595118895173073, 0.6659132838249207, -0.12894782423973083, -0.00023074769705999643, -0.7278909683227539, 0.08181016147136688, -0.14625731110572815, -0.3142853081226349, -0.28653836250305176, -0.6483656167984009, 0.17657940089702606, -0.4243932068347931, 0.3718075752258301, 0.07457982748746872, 0.650115430355072, 0.2633926570415497, -0.5642345547676086, -0.35148441791534424, -0.8745810389518738, 0.6917315125465393, -0.6222755312919617, 0.3033459782600403, 0.4021925926208496, 0.10398829728364944, -0.3753748834133148, -0.24972184002399445, -0.5473531484603882, -0.13539865612983704, -0.5801851153373718, -0.33360034227371216, -0.5817980170249939, 0.154474139213562, 0.5026700496673584, 0.19604426622390747, -0.6967958807945251, -0.12102539092302322, -0.32783570885658264, -0.3836602568626404, 0.5444991588592529, -0.029517192393541336, 0.745453953742981, -0.19774821400642395, -0.11991068720817566, -0.06475794315338135, -0.9117459654808044, -0.2716559171676636, 0.4791622757911682, 0.315102756023407, 0.11127261072397232, 0.7879677414894104, 0.23469221591949463, 0.5911628603935242, 0.32260408997535706, 0.3264901340007782, 0.18218761682510376, -0.19055283069610596, -0.4037363827228546, 0.3932865262031555, 0.4980088472366333, 0.13783155381679535, 0.1825585812330246, 0.22567112743854523, -0.05286293104290962, 0.43576592206954956, 0.6199262142181396, -0.6222386360168457, 0.04876430332660675, -0.0159250907599926, -0.4772304594516754, -0.21324366331100464, -0.24734506011009216, -0.466540664434433, -0.5188501477241516, -0.23185744881629944, 0.2793995440006256, -0.4851592779159546, -0.12902851402759552, -0.05987203121185303, -0.20397505164146423, -0.18594211339950562, 0.13328014314174652, -0.9172835350036621, 0.3733546733856201, 0.6084190607070923, 0.5572434663772583, 0.47171884775161743, 0.4221063554286957, -0.4418269991874695, 0.1355160027742386, -0.6465945839881897, 0.6463088393211365, -1.0327253341674805, -0.591640055179596, -0.0165563952177763, 0.2395378202199936, -0.28353792428970337, -0.6116671562194824, 0.35150593519210815, -0.26356515288352966, 0.5328001379966736, -0.4263824224472046, -0.8544282913208008, -0.5477869510650635, 0.2934962511062622, -0.7637900710105896, 0.7744272351264954, 0.18804305791854858, -0.6133072376251221, 0.20886549353599548, -0.7858960032463074, -0.3722158968448639, -0.02981845661997795, -0.4174644947052002, -0.5251635909080505, 0.4405585527420044, 0.34738677740097046, 0.1162676215171814, 0.10801012814044952, 0.5684273838996887, -0.2113947570323944, -0.36094585061073303, 0.4691077768802643, -0.5070585608482361, 0.5837782621383667, -0.006765103433281183, -0.11832946538925171, 0.23258841037750244, -0.5637678503990173, -0.5841036438941956, 0.037201642990112305, 0.028437567874789238, -0.874395489692688, -0.022933362051844597, -0.165445476770401, -0.05377902090549469, 0.09082552790641785, -0.9030277729034424, 0.42862793803215027, -0.8131475448608398, 0.31611210107803345, 0.3277643620967865, 0.1084919273853302, 0.5368753671646118, -0.08002715557813644, 0.5183417201042175, 0.17394818365573883, -0.029428355395793915, -0.15607592463493347, -0.6499252319335938, -0.5739184021949768, -0.01392463780939579, 0.13635201752185822, 0.425184965133667, -1.3531075716018677, 0.22180993854999542, -0.03755494952201843, -0.4191058278083801, -0.5314717292785645, 0.15940850973129272, 0.5778770446777344, 0.725049614906311, 0.3530958294868469, -0.33320191502571106, -1.0233750343322754, -1.0831700563430786, -0.7543779015541077, -0.46219998598098755, 0.03548944741487503, 0.22467829287052155, 0.44815072417259216, -0.29715991020202637, 1.076978087425232, -0.6438015103340149, -0.4043903350830078, -0.09964218735694885, 0.6284610033035278, 0.3001166582107544, 0.8020530343055725, 0.9024167656898499, -0.8289937973022461, -0.023020364344120026, -0.046674296259880066, -0.6860039830207825, -0.1535044014453888, -0.2684600353240967, 0.2579058110713959, 0.4750603437423706, 0.7582008838653564, -0.664782702922821, 0.6999230980873108, 0.5930702686309814, -0.5261626839637756, 0.44849804043769836, -0.34988269209861755, 0.40358853340148926, -0.37886232137680054, -0.012246154248714447, 0.1693011075258255, -0.23999810218811035, -1.0115954875946045, 0.0413176603615284, 0.086058609187603, -0.04723368212580681, -0.4190167188644409, 0.46221351623535156, -0.17766501009464264, 0.021772930398583412, 0.00038265259354375303, -0.15758539736270905, -0.1282566487789154, 0.3666607737541199, 0.3082773983478546, 0.7257348895072937, -0.02601180598139763, -0.14698876440525055, 0.017933402210474014, 0.1428118795156479, -0.17684222757816315, 0.7212653160095215, -0.4550836980342865, 0.2916285991668701, -0.5056520104408264, 0.3859644830226898, -1.198379397392273, 0.006987716071307659, 0.6054967641830444, -0.46342387795448303, 0.15853500366210938, -0.37485837936401367, -0.3408341407775879, -0.4374752938747406, -0.31685870885849, 0.23884548246860504, 0.24768345057964325, -0.24085643887519836, 0.6659841537475586, 0.3595896363258362, 0.01532026194036007, -0.3100222647190094, -0.903399646282196, 0.25744685530662537, -0.3669201731681824, -0.11963340640068054, 0.18753460049629211, -0.17857211828231812, -0.1977437436580658, 0.07286030799150467, -0.1054941862821579, 0.041680555790662766, -0.01264260709285736, 0.05168949067592621, 0.4545785188674927, -0.20787577331066132, 0.2995142936706543, 0.4808303117752075, 0.02776259556412697, 0.13902005553245544, -0.2239423543214798, 0.3627449572086334, 0.32761380076408386, -0.385629802942276, -0.05334838479757309, 0.44109711050987244, 0.07763852924108505, -0.01937260851264, 0.6953413486480713, 0.6667351722717285, -0.6346951723098755, 0.0825243815779686, -0.5640195608139038, -0.37654873728752136, -0.4802395701408386, 0.4282775819301605, -0.2310018241405487, -1.0172410011291504, 0.46755391359329224, -0.09789677709341049, 0.02816368266940117, 0.3516983985900879, 0.12659558653831482, -0.33349281549453735, 1.3295624256134033, 0.34808725118637085, 0.31303080916404724, 0.6477656364440918, 0.04155145213007927, 0.15556155145168304, -0.7834645509719849, -0.12642087042331696, -0.6300309896469116, -0.17508910596370697, -0.6710050106048584, -0.6115908026695251, 0.4011988639831543, -0.11052761971950531, -0.18109512329101562, 0.6202210187911987, -0.410550057888031, 0.2850354313850403, 0.186033695936203, 0.2474304884672165, -0.026881365105509758, 0.12652690708637238, -0.12548886239528656, -0.6167841553688049, -0.6403177380561829, -0.6358510851860046, 0.8851583003997803, 0.4804622530937195, 0.3867766261100769, 0.19295263290405273, 0.5276663899421692, 0.4523828327655792, 0.6664514541625977, -0.6146588325500488, 0.6289997696876526, -0.7694776058197021, -0.6145951747894287, -0.21845455467700958, -0.45612069964408875, -0.8544167280197144, 0.2868739664554596, -0.40138813853263855, -0.9945096969604492, 0.5141738653182983, 0.40568941831588745, -0.07726383954286575, 0.4097987115383148, -0.794420599937439, 0.7203642129898071, 0.04490400105714798, -0.10890176892280579, -0.440630704164505, -0.22744949162006378, 0.42651328444480896, -0.0637432336807251, 0.578331470489502, 0.334685742855072, 0.019790949299931526, 0.7984762191772461, -0.4755576550960541, 1.20235013961792, -0.39463549852371216, -0.5494606494903564, 0.10382964462041855, 0.43384185433387756, 0.45612236857414246, -0.03491423651576042, -0.02462247759103775, 0.2582513689994812, -0.13122078776359558, -0.08450300246477127, -1.0653831958770752, 0.5535864233970642, -0.5149259567260742, -0.8061568140983582, -0.2353621870279312, -0.5137358903884888, -0.40283942222595215, -0.07502295821905136, -0.2714218497276306, 0.6537837386131287, -0.6601040959358215, 0.06959883123636246, 0.807511031627655, -0.5366696119308472, 0.4475634694099426, 0.45767658948898315, -0.4344535171985626, -0.24056382477283478, 0.8381211161613464, 0.2840014696121216, 0.041892725974321365, 0.3116292357444763, 0.325246661901474, -0.6635157465934753, -0.4449197053909302, -0.6702511310577393, 0.02342691458761692, -0.7461771965026855, 0.16315951943397522, -0.6354163289070129, -0.06910008192062378, -0.36493757367134094, 0.10766724497079849, -0.10866425186395645, -0.3262505829334259, -0.5026125907897949, -0.02904662862420082, 0.15110601484775543, 0.90423583984375, -0.04816542565822601, 0.5883872509002686, -0.9115796089172363, 0.5774704813957214, 0.38205981254577637, 0.2660435736179352, -0.19390064477920532, -0.5175744891166687, -0.1753472238779068, 0.2781074345111847, 0.09280940145254135, -1.089401364326477, 0.6310563087463379, 0.12726843357086182, 0.5775918960571289, 0.2782241702079773, -0.1318972110748291, 0.8415502309799194, -0.5407288074493408, 0.8044607043266296, 0.2603214681148529, -1.1518936157226562, 0.6551737785339355, -0.3538700044155121, 0.4095225930213928, 0.07169152796268463, 0.2732984721660614, -0.7867941856384277, -0.41973599791526794, -0.5884088277816772, -0.47406625747680664, 0.7684072256088257, 0.15232005715370178, 0.4413175582885742, 0.040938474237918854, 0.2786560356616974, 0.16397686302661896, 0.4431048333644867, -0.47780942916870117, -0.1675168126821518, -0.47469034790992737, -0.36941394209861755, -0.14426705241203308, -0.334181547164917, -0.3625546097755432, -0.22019581496715546, 0.5483297109603882, -0.2811875641345978, 0.024702003225684166, 0.25317826867103577, -0.42538392543792725, -0.267604261636734, 0.4799034297466278, 0.9901692271232605, 0.3853082060813904, -0.278594434261322, 0.22719930112361908, 0.20686371624469757, -0.5800716876983643, 0.14231941103935242, 0.027252275496721268, -0.2713727653026581, 0.3148420453071594, 0.5429731011390686, 0.8997119665145874, 0.2995173931121826, -0.46689099073410034, 0.0865984782576561, -0.08363860845565796, -0.09903834760189056, 0.05542854219675064, -0.08635156601667404, 0.029950495809316635, -0.0014488057931885123, 0.5240861773490906, 0.29295533895492554, 0.3554708957672119, -0.8598548769950867, 0.29416176676750183, 0.4739990234375, -0.8112324476242065, -0.26010751724243164, 0.29837101697921753, 0.15913547575473785, -0.42238089442253113, 0.2535369098186493, -0.02199358120560646, -0.7203560471534729, 0.5750086903572083, 0.5010601282119751, 0.837052047252655, -0.5181339979171753, 0.5792968273162842, 0.4993213713169098, 0.5525625944137573, 0.27540600299835205, 0.2407097965478897, 0.2885563373565674, -0.8089427351951599, -0.4126640558242798, -0.14366725087165833, -0.028170224279165268, 0.11167503893375397, -0.490373432636261, -0.10319102555513382, -0.5209874510765076, -0.07260047644376755, 0.06862839311361313, -0.2869051992893219, -0.4278578460216522, 0.36875173449516296, 0.201629176735878, 0.46678099036216736, -1.0936774015426636, 0.7834440469741821, 0.8773587942123413, -0.2535743713378906, -0.3567228317260742, -0.019753409549593925, 0.34354954957962036, -0.8185900449752808, 0.7286120653152466, -0.10556396096944809, 0.030213693156838417, -0.443926066160202, -0.676323652267456, -0.5819801092147827, 0.08861246705055237, 0.6155112981796265, -1.1720285415649414, 0.18893636763095856, 0.4921718239784241, 0.8635569214820862, -0.4844483435153961, 0.4526709318161011, 0.647544264793396, 0.5644014477729797, -0.1562628597021103, -0.9492677450180054, 0.38016262650489807, 0.03553099185228348, 0.2079700231552124, 0.1516871154308319, 0.0823577344417572, 0.7129358053207397, 0.11457087099552155, -0.3399396538734436, -0.26954883337020874, 0.5016971826553345, 0.16458959877490997, -0.015988122671842575, 0.9499063491821289, 0.2212449312210083, 0.5545876622200012, -0.26102757453918457, 0.9662361145019531, 0.05585985630750656, 0.31053152680397034, 0.8658091425895691, 0.03836881369352341, 0.5233168601989746, 0.9485626220703125, -0.07506515085697174, 0.7648714184761047, 0.48662006855010986, 0.022341854870319366, 0.39993396401405334, 0.3764280080795288, 0.07871250808238983, -0.40178611874580383, -0.5193108916282654, -0.15325713157653809, 0.5095529556274414, 0.7725182771682739, -0.3116472661495209, -0.203628808259964, 0.3230825662612915, 0.19437600672245026, 0.6108803749084473, -0.40175768733024597, 0.8861134648323059, 0.10794271528720856, -0.47073864936828613, 0.5112887024879456, -0.16397139430046082, 0.6475353240966797, -0.467647910118103, -0.7763109803199768, -0.05375143885612488, -0.07312522083520889, -0.3226355314254761, -0.8500824570655823, 0.6280685663223267, -0.20557068288326263, -0.04455254599452019, -0.3115997612476349, 0.770832896232605, -0.8573632836341858, -0.740322470664978, 0.1270289123058319, 0.3102591037750244, -0.12031374871730804, 0.13525550067424774, -0.7347229719161987, 0.27757224440574646, 0.12017826735973358, -0.02107132412493229, 0.15124085545539856, 0.08842689543962479, -0.5088899731636047, 0.5777572989463806, 0.703758180141449, 0.25797006487846375, -0.5012024641036987, 0.356279581785202, 0.7675303816795349, -0.7094093561172485, -0.6493596434593201, -0.8782448768615723, 0.22907358407974243, -0.22263172268867493, -0.04862794280052185, 0.6859351992607117, 0.23269641399383545, 0.8287011981010437, -0.16943064332008362, 0.5990889072418213, 0.11242944747209549, 0.5973915457725525, -0.531495988368988, 0.8095691204071045, -0.519446074962616, 0.5520562529563904, -0.5592597723007202, -0.5242615342140198, -0.2497655153274536, 0.46600258350372314, -0.5498093366622925, -0.05529370903968811, 0.5265032649040222, 0.7649116516113281, 0.05918515846133232, 0.2052733302116394, 0.22562377154827118, 0.3175571858882904, 0.3648108243942261, 0.24525292217731476, 0.7165899276733398, -0.4691699147224426, 0.35684511065483093, 0.02457919903099537, 0.19460025429725647, -0.032089561223983765, -0.7515316009521484, -0.9415488839149475, -0.5874955654144287, -0.488210529088974, -0.03412695229053497, 0.15728531777858734, 0.905368447303772, 0.5407542586326599, -0.9725044965744019, -0.10205162316560745, 0.07876332104206085, 0.45605653524398804, -0.15543191134929657, -0.2082797735929489, 0.33770331740379333, 0.16339899599552155, -0.7205485701560974, 0.5475994348526001, 0.1087174043059349, 0.14961954951286316, -0.5274960994720459, 0.06415864080190659, -0.3774603605270386, 0.34939369559288025, 0.47293606400489807, 0.0015794364735484123, -0.9065890908241272, -0.7250112295150757, -0.19142653048038483, 0.1596480906009674, 0.09392908215522766, 1.1648995876312256, -1.0224822759628296, 0.6492481827735901, 0.4607737064361572, 0.46141308546066284, 0.32429569959640503, 0.0058181933127343655, 1.080281376838684, -1.1984537839889526, 0.09228846430778503, 0.08273276686668396, 0.3908118009567261, 0.518753707408905, -0.5441301465034485, 0.3578774333000183, 0.3369390070438385, 0.2696780562400818, -1.0456172227859497, 0.2770337760448456, -0.519788920879364, -0.703802764415741, 0.8367578387260437, -0.15537278354167938, -0.23665408790111542, -0.49199923872947693, -0.618541955947876, 0.40692970156669617, -0.34486889839172363, 0.6083387732505798, 0.5710498690605164, -0.03245965391397476, -0.43687671422958374, -0.25969675183296204, 0.6209458112716675, 0.5654817223548889, -0.7361727356910706, -0.02290225960314274, 0.4383489191532135, 0.22216735780239105, 0.2695613205432892, 0.3993981182575226, -0.1940268576145172, 0.045309361070394516, -0.0703236386179924, 0.05058727413415909, 0.09892433136701584, 0.20472776889801025, -0.6393899917602539, 0.01181652769446373, -0.397604763507843, -0.06564592570066452 ]
http://arxiv.org/abs/2402.11353v1
http://arxiv.org/pdf/2402.11353v1
Understanding the Impact of Long-Term Memory on Self-Disclosure with Large Language Model-Driven Chatbots for Public Health Intervention
2024-02-17T18:05:53
2024-02-17T18:05:53
Eunkyung Jo, Yuin Jeong, SoHyun Park, Daniel A. Epstein, Young-Ho Kim
cs.HC
cs.HC, cs.AI, cs.CL, H.5.2; I.2.7
Recent large language models (LLMs) offer the potential to support public health monitoring by facilitating health disclosure through open-ended conversations but rarely preserve the knowledge gained about individuals across repeated interactions. Augmenting LLMs with long-term memory (LTM) presents an opportunity to improve engagement and self-disclosure, but we lack an understanding of how LTM impacts people's interaction with LLM-driven chatbots in public health interventions. We examine the case of CareCall -- an LLM-driven voice chatbot with LTM -- through the analysis of 1,252 call logs and interviews with nine users. We found that LTM enhanced health disclosure and fostered positive perceptions of the chatbot by offering familiarity. However, we also observed challenges in promoting self-disclosure through LTM, particularly around addressing chronic health conditions and privacy concerns. We discuss considerations for LTM integration in LLM-driven chatbots for public health monitoring, including carefully deciding what topics need to be remembered in light of public health goals.
[ 0.1416940540075302, -0.7399280667304993, 0.8817018866539001, 0.14095859229564667, 0.05554908514022827, -0.046918753534555435, -0.3460274338722229, -0.7297288179397583, 0.34329041838645935, 0.8179448246955872, -0.2141377478837967, -0.6742087006568909, -0.3635064661502838, -0.3105882704257965, -0.278837651014328, 0.9269149899482727, -0.025617476552724838, -0.12642303109169006, -0.2150329202413559, 0.0493684746325016, -0.5845896005630493, -0.9808680415153503, -0.8744500279426575, -0.42748522758483887, 1.0449764728546143, 0.2277412861585617, 0.5623189806938171, 0.3512756824493408, 0.3776324689388275, 0.1620553731918335, -0.18276353180408478, -0.08610169589519501, -0.9319697618484497, 0.08953021466732025, -0.2198891043663025, -0.5794397592544556, -0.5732429623603821, -0.16437557339668274, 0.6267755031585693, 0.42319148778915405, -0.27729928493499756, 0.1901448518037796, 0.07714319974184036, 0.7059763669967651, -0.5558215379714966, 0.2829587757587433, -0.2798069417476654, 0.19486302137374878, -0.11003172397613525, -0.2429487705230713, -0.5844763517379761, -0.18689070641994476, 0.2524678707122803, -0.108355812728405, -0.2256147265434265, -0.26031333208084106, 0.3362467586994171, 0.378413587808609, -0.49085450172424316, -0.41922399401664734, -1.1415841579437256, 0.7070261240005493, -0.8119637370109558, 0.3299417495727539, 0.6965340375900269, 0.20885099470615387, -0.4060039222240448, -0.5346713066101074, -0.19592508673667908, -0.18555279076099396, -0.10985582321882248, 0.2127077430486679, -0.47241827845573425, 0.22577373683452606, 0.1134750097990036, 0.06727427244186401, -0.3577308654785156, 0.2492177039384842, -0.5563377737998962, -0.21636135876178741, 0.5968830585479736, 0.19619356095790863, 0.2076546549797058, -0.1706773042678833, -0.3224673271179199, 0.4273192882537842, -0.5548413991928101, -0.10854799300432205, -0.09082671254873276, 0.19336019456386566, -0.30494552850723267, 0.4010269045829773, 0.05745803937315941, 0.29415255784988403, -0.21797038614749908, -0.24743066728115082, 0.20386949181556702, -0.2396782636642456, -0.12449386715888977, 0.25309211015701294, 0.8623195290565491, 0.4399775266647339, 0.27301543951034546, -0.16757993400096893, 0.1441655158996582, -0.1539306491613388, 0.3400646150112152, -0.9064650535583496, -0.1326644867658615, 0.47899129986763, -0.7118234038352966, 0.04624047130346298, -0.28809475898742676, -0.6128543019294739, -0.47040408849716187, -0.13485369086265564, 0.44429540634155273, -0.3064486086368561, -0.32520776987075806, 0.5084235072135925, 0.2517433166503906, -0.16078799962997437, 0.4537770450115204, -0.7830801606178284, 0.539109468460083, 0.7430394887924194, 0.8404130935668945, -0.3225420117378235, 0.08766696602106094, -0.38527777791023254, 0.4088344871997833, -0.166507750749588, 0.4297163486480713, -0.3606264293193817, -0.6360247731208801, 0.09793219715356827, 0.03929098695516586, -0.10110324621200562, -0.6829889416694641, 0.1117834597826004, -0.23200763761997223, 0.2621375024318695, -0.07795701920986176, -0.5742682814598083, 0.11086215823888779, 0.10444343835115433, -0.27605369687080383, 0.6395251154899597, -0.07106511294841766, -0.5602440237998962, -0.06036347895860672, -0.7170117497444153, -0.4700723886489868, 0.11972679197788239, -0.21981380879878998, -0.4147147536277771, 0.10536342114210129, 0.08933057636022568, 0.6436858773231506, -0.009082128293812275, 0.3173973262310028, -0.2136458158493042, -0.336860716342926, 0.48950085043907166, -0.7254125475883484, 0.4641241133213043, 0.12825079262256622, 0.01007160171866417, 0.17946921288967133, -0.2536775767803192, -0.09066221117973328, 0.020256491377949715, -0.30172282457351685, -0.2651509642601013, 0.024306345731019974, -0.12776309251785278, 0.012074760161340237, 0.5540292859077454, -0.43902358412742615, -0.03449443727731705, -0.5357107520103455, 0.6327422857284546, 0.5683348178863525, 0.25804832577705383, 0.04754311963915825, -0.5517646670341492, 0.4929102659225464, 0.05496875196695328, 0.6099575161933899, -0.596514880657196, -0.33046838641166687, -0.25970444083213806, -0.21236304938793182, 0.1743587702512741, 0.3285454511642456, 0.09752729535102844, 0.32014334201812744, -0.27458852529525757, -0.37273362278938293, -0.4157860279083252, 0.07881578803062439, 0.22798384726047516, 0.38171297311782837, 0.305015504360199, -0.12956325709819794, -0.13623149693012238, -1.014284372329712, -0.12359907478094101, -0.20513169467449188, -0.017387783154845238, 0.8568037748336792, 0.3599030673503876, -0.44813480973243713, 0.8598743677139282, -0.5940847992897034, -0.45760104060173035, -0.29802441596984863, -0.008782667107880116, 0.24136365950107574, 0.24364523589611053, 0.3550548851490021, -0.6569428443908691, -0.2880149185657501, -0.2975091338157654, -0.38415777683258057, 0.18611466884613037, -0.25422635674476624, 0.2776584327220917, -0.05137959495186806, 0.2896503210067749, -0.631142795085907, 0.6765546202659607, 0.9406465888023376, -0.026595639064908028, 0.4387410581111908, -0.6494043469429016, -0.0072965980507433414, -1.2790563106536865, 0.09247568994760513, -0.0335296168923378, -0.3504575192928314, -0.6897116303443909, -0.5849637389183044, 0.02702980302274227, -0.2110816091299057, -0.7865467071533203, 0.8078988790512085, -0.4072036147117615, 0.07864584028720856, -0.3822118639945984, 0.0011455146595835686, -0.23799492418766022, 0.07788144052028656, -0.06159422546625137, 0.7693114280700684, 0.39484065771102905, -0.42920202016830444, -0.019661124795675278, -0.08071228861808777, -0.1208067312836647, 0.2170305997133255, -0.5650553107261658, 0.3826645314693451, -0.12906816601753235, 0.5078412294387817, -0.9439959526062012, -0.23483414947986603, 0.45376959443092346, -0.2574078440666199, 0.06895959377288818, -0.05643326789140701, -0.5916857719421387, -0.4987265169620514, -0.06554988026618958, 0.37200653553009033, 0.475808709859848, -0.3536948561668396, 0.43308329582214355, 0.7190413475036621, -0.12399353832006454, -0.03886310011148453, -0.7609691023826599, 0.20263811945915222, -0.40152299404144287, -0.3598751127719879, 0.23908556997776031, -0.1853565126657486, -0.13974983990192413, -0.11953793466091156, -0.2089080810546875, -0.022155266255140305, 0.0533129908144474, 0.5719456076622009, 0.12724106013774872, 0.06840046495199203, 0.683643639087677, -0.30365073680877686, -0.03941084444522858, 0.39663755893707275, 0.07930313795804977, 0.8341385722160339, -0.07089435309171677, -0.487909734249115, -1.014536738395691, 0.42344626784324646, 0.519416093826294, 0.0604318268597126, 0.7904201149940491, 0.23135843873023987, -0.3463513255119324, 0.21204529702663422, -0.7011592984199524, -0.35934561491012573, -0.44040626287460327, 0.159772589802742, 0.14762026071548462, -1.1211265325546265, 0.3714807629585266, -0.30644533038139343, -0.05879078805446625, -0.09760306775569916, 0.5748106241226196, -0.5028904676437378, 0.7853496074676514, 0.36713844537734985, -0.6408524513244629, 0.36005863547325134, 0.20061078667640686, 0.07759268581867218, -0.7560522556304932, -0.0911693423986435, -0.1271694451570511, -0.22522751986980438, -0.6175514459609985, -0.7310387492179871, 0.4497183859348297, -0.23351845145225525, -0.15263506770133972, -0.12861093878746033, -0.22543689608573914, 0.21304571628570557, 0.28162819147109985, 0.6938155293464661, 0.2581348121166229, -0.35185280442237854, 0.5166230797767639, -0.1816355288028717, -0.532467782497406, -0.27241280674934387, 0.9544509649276733, 0.7252657413482666, 1.2983424663543701, -0.04976648464798927, 1.151140570640564, 0.32214534282684326, 0.24264375865459442, -0.8368018269538879, 0.3762842118740082, -0.05759434774518013, -0.34344613552093506, -0.31217288970947266, -0.40802711248397827, -1.4363107681274414, -0.3110886216163635, 0.08476603031158447, -1.107348084449768, -0.24539335072040558, 0.4765814542770386, -0.661892831325531, 0.020180003717541695, -0.5360431671142578, 0.544871985912323, -0.637310802936554, -0.16731666028499603, -0.806099534034729, -0.5787806510925293, 0.035005826503038406, -0.11750184744596481, 0.3094026744365692, -0.2682364583015442, 0.18436551094055176, 0.6943551898002625, -0.10809699445962906, 1.4706079959869385, 0.10580522567033768, -0.21422861516475677, 0.19538997113704681, -0.2704865038394928, 0.4519839882850647, 0.15552237629890442, 0.18599088490009308, 0.30496448278427124, -0.017402930185198784, -0.15475153923034668, -0.43912845849990845, 0.841593861579895, -0.6928228139877319, -1.146576166152954, -0.29547762870788574, -0.5562090277671814, -0.3307921886444092, 0.20525847375392914, -0.44761723279953003, 0.32382023334503174, -0.3662022054195404, 0.358627051115036, 0.9737310409545898, -0.629817545413971, 0.149346262216568, 0.5532670021057129, -0.6599445343017578, -0.06704208254814148, 0.49344196915626526, 0.03648753464221954, 0.5646216869354248, 0.39588284492492676, 0.7674750685691833, -0.19217555224895477, -0.13984009623527527, 0.2431839555501938, 0.6933867335319519, -0.40234681963920593, 0.02191011980175972, -0.8627736568450928, -0.5839734077453613, -0.38893604278564453, 0.11307748407125473, -0.47714728116989136, 0.0070369793102145195, -0.5612927079200745, 0.08181346207857132, 0.6394022107124329, 0.7729843854904175, -0.188227578997612, 0.21394653618335724, -0.8154617547988892, 0.45708778500556946, 0.3520432710647583, 0.3062305152416229, 0.06300266087055206, -0.19809411466121674, -0.32600992918014526, 0.22899770736694336, -0.05866685137152672, -0.9786949753761292, 0.33764970302581787, -0.1028607189655304, 0.45758289098739624, 0.44051435589790344, -0.03500806540250778, 0.5917640328407288, -0.4280666410923004, 0.708236038684845, 0.36123985052108765, -0.6310225129127502, 0.7213771343231201, -0.47248539328575134, 0.8202626705169678, 0.26704999804496765, 0.3169001042842865, -1.094243049621582, -0.4063864052295685, -0.49895593523979187, -0.7495695948600769, 0.3066782057285309, -0.13840578496456146, 0.5339917540550232, -0.30108463764190674, 0.16511785984039307, -0.136573925614357, 0.09652085602283478, -0.5313052535057068, -0.40366342663764954, 0.09835287928581238, 0.012576785869896412, 0.055222224444150925, -0.6836220622062683, -0.3659858703613281, 0.010088714770972729, 0.09993605315685272, 0.13051104545593262, 0.28515520691871643, 0.33083483576774597, 0.20726409554481506, 0.05386236682534218, 0.5895062685012817, 0.553750216960907, 0.6158764958381653, -0.1260763704776764, 0.1427881121635437, 0.13612793385982513, -0.30870938301086426, -0.20306459069252014, -0.23807267844676971, 0.13080236315727234, -0.06723429262638092, 0.17784777283668518, 0.5038795471191406, 0.744804859161377, -0.737762987613678, 0.43868690729141235, 0.20263615250587463, 0.07989641278982162, -0.5025226473808289, 0.09623483568429947, 0.7920324206352234, 0.13566605746746063, 0.16641190648078918, -0.5039631128311157, 0.0813511312007904, -0.7075414657592773, 0.2666552662849426, 0.41849371790885925, -0.5166406035423279, -0.21566343307495117, 0.7266297936439514, 0.11590898036956787, -0.39844536781311035, 0.4765167236328125, 0.48831912875175476, -0.27484697103500366, 0.38399672508239746, 0.7405778765678406, 0.45954522490501404, -0.5659376978874207, 0.1276218742132187, 0.25533366203308105, -0.011704133823513985, -0.058655671775341034, 0.23257668316364288, 0.0604056641459465, -0.5791167616844177, -0.47709041833877563, -0.12212222814559937, -0.4673590660095215, 0.3328808546066284, -0.8174527287483215, -0.08502563089132309, -0.3842428922653198, -0.5421046018600464, -0.08242234587669373, -0.16638341546058655, -0.7881361842155457, 0.08359435200691223, 0.42116498947143555, 0.8535308241844177, -0.5390148162841797, 0.9758837819099426, 0.050429705530405045, -0.05075455084443092, -0.6796321272850037, 0.17454279959201813, 0.2321869432926178, -1.0103764533996582, 0.683556079864502, 0.4072129726409912, -0.25988733768463135, -0.2331257164478302, -0.33630603551864624, -0.8247374296188354, 1.0539802312850952, 0.20879791676998138, -0.9954208135604858, 0.05976274982094765, 0.5157445073127747, 0.7968885898590088, -0.2603107988834381, 0.09682056307792664, 0.20985926687717438, 0.476413369178772, -0.05644337087869644, -1.3161154985427856, -0.07140322774648666, 0.3907282054424286, 0.09601102769374847, 0.24464012682437897, -1.0957386493682861, 0.3494262993335724, -0.3269815742969513, -0.4380965232849121, -0.19362130761146545, 0.5798677206039429, 0.00435052253305912, 0.22170346975326538, 0.3712960183620453, 0.2294616997241974, 0.9125136137008667, 0.4161684513092041, 0.8534855246543884, -0.2896510660648346, 0.16776615381240845, 1.6052523851394653, -0.3364218473434448, 1.0188171863555908, 0.5252357721328735, -0.0877692773938179, 0.23528830707073212, 0.24226993322372437, 0.1834179162979126, 0.2760019898414612, 0.3559722900390625, -0.5247927904129028, -0.08192436397075653, -0.3749487102031708, -0.37744441628456116, 0.37740764021873474, 0.6799054741859436, -0.6756125092506409, -0.2632001042366028, 0.28425344824790955, 0.3211919963359833, 0.030808962881565094, -0.30741041898727417, 0.8309881687164307, 0.28771036863327026, -0.31824854016304016, 0.1923052966594696, -0.6548460721969604, 0.5137841105461121, -0.5887421369552612, -0.16716614365577698, 0.0628875270485878, 0.002360915532335639, -0.04513023421168327, -1.0453394651412964, 0.30677127838134766, -0.31435856223106384, -0.31212475895881653, -0.38256600499153137, 0.8602951169013977, -0.5793554782867432, -0.18676629662513733, 0.7194440960884094, 0.5902799367904663, 0.44439202547073364, -0.15620598196983337, -0.6945351958274841, 0.23801358044147491, -0.11988377571105957, -0.25714242458343506, 0.48304638266563416, 0.06269050389528275, 0.03437897190451622, 1.000932216644287, 0.6817799210548401, 0.3788844048976898, -0.3028141260147095, 0.17949387431144714, 0.6557686924934387, -0.8357338905334473, -0.17096781730651855, -0.9439697861671448, 0.08113672584295273, 0.09276214241981506, -0.05251277983188629, 0.6445022225379944, 0.6705516576766968, 0.4465790390968323, 0.11201900988817215, 0.8745760321617126, 0.484567254781723, 0.7031556367874146, -0.513364851474762, 0.9457129836082458, -0.2997310161590576, 0.1404966115951538, 0.3556186258792877, -0.13868339359760284, -0.09868240356445312, 0.15616510808467865, -0.5405279994010925, -0.21572758257389069, 0.3628634214401245, 0.7850980162620544, 0.25985434651374817, -0.2419823706150055, 0.6174483299255371, 0.541594922542572, 0.533621072769165, 0.6740040183067322, 0.6184672713279724, 0.09227564185857773, 0.4382597804069519, -0.08520353585481644, 0.008502420969307423, -0.33837661147117615, -0.7612618803977966, -0.9897845387458801, -0.34079617261886597, -0.25777095556259155, -0.2462923228740692, 0.30015191435813904, 0.9740712642669678, 0.6260008215904236, -0.5967037081718445, -0.23287390172481537, 0.38597744703292847, -0.06007353588938713, 0.14670094847679138, -0.27845126390457153, 0.3347139060497284, -0.015122955664992332, -0.585695743560791, 0.5173190236091614, 0.7139058113098145, 0.04096929356455803, -0.5513333082199097, 0.21987122297286987, -0.008942765183746815, -0.01659611240029335, 0.49185121059417725, 0.6139438152313232, -0.9119462966918945, -0.503364622592926, -0.12261618673801422, -0.38516247272491455, 0.5882015228271484, 0.707408607006073, -0.8495254516601562, 0.6509395241737366, 0.007734533399343491, 0.5288771390914917, 0.6583390235900879, -0.03096296265721321, 0.7254848480224609, -0.31801825761795044, -0.07032393664121628, 0.4359721541404724, 0.17410902678966522, 0.14424337446689606, -0.7296003103256226, 0.2265292853116989, -0.43246251344680786, -0.7250345349311829, -0.43275806307792664, 0.20327641069889069, -1.0238146781921387, -0.3274460732936859, 1.373712182044983, -0.1299687922000885, -0.2920016050338745, -0.2876013517379761, -0.3576395809650421, 0.07028000801801682, -0.6290189027786255, 0.9443146586418152, 0.5317895412445068, -0.42187783122062683, -0.26195910573005676, -0.8441853523254395, 0.5041716694831848, 0.15252718329429626, -0.9539709687232971, 0.4094899296760559, 0.3974042534828186, 0.3742331862449646, 0.06444001942873001, 1.181387186050415, -0.10859545320272446, 0.18030276894569397, -0.5507504343986511, -0.14080314338207245, 0.30126458406448364, -0.07357084006071091, -0.13751082122325897, -0.14760242402553558, -0.12224923074245453, -0.026775384321808815 ]
http://arxiv.org/abs/2402.11349v2
http://arxiv.org/pdf/2402.11349v2
Language Models Don't Learn the Physical Manifestation of Language
2024-02-17T17:52:24
2024-06-06T17:20:21
Bruce W. Lee, JaeHyuk Lim
cs.CL
cs.CL, cs.AI
We argue that language-only models don't learn the physical manifestation of language. We present an empirical investigation of visual-auditory properties of language through a series of tasks, termed H-Test. These tasks highlight a fundamental gap between human linguistic understanding and the sensory-deprived linguistic understanding of LLMs. In support of our hypothesis, 1. deliberate reasoning (Chain-of-Thought), 2. few-shot examples, or 3. stronger LLM from the same model family (LLaMA 2 13B -> LLaMA 2 70B) has no significant effect on H-Test performance. We bring in the philosophical case of Mary, who learns about the world in a sensory-deprived environment as a useful conceptual framework to understand how language-only models learn about the world (Jackson, 1986). Our experiments show that some of the strongest proprietary LLMs stay near random chance baseline accuracy of 50%, highlighting the limitations of linguistic knowledge acquired in the absence of sensory experience. Our code and data are available at <github.com/brucewlee/h-test>.
[ -0.15276920795440674, -1.0010251998901367, 0.6708100438117981, 0.2204388827085495, -0.16556976735591888, 0.20004402101039886, -0.22137939929962158, -0.7426413893699646, 0.18887187540531158, 0.22716958820819855, -0.4370866119861603, -0.2943841218948364, -0.45471158623695374, 0.016904156655073166, -0.3653857707977295, 0.5120823383331299, -0.0009725712588988245, -0.17530590295791626, -0.2157180905342102, 0.011567551642656326, -0.049749862402677536, -0.2905450165271759, -0.22577743232250214, -0.33647799491882324, 0.5977267622947693, 0.41522008180618286, 0.4575752317905426, 0.7705947756767273, 0.5069854259490967, 0.20204578340053558, -0.27792882919311523, -0.09754465520381927, -0.46752163767814636, 0.04605080559849739, -0.09307631105184555, -0.5026980638504028, -0.23637360334396362, 0.1668984442949295, 0.7129776477813721, 1.0879868268966675, -0.015450556762516499, 0.18545368313789368, -0.07653354853391647, 0.5247800946235657, -0.676530659198761, 0.21638724207878113, -0.8393450975418091, 0.18611152470111847, -0.11742215603590012, -0.12941214442253113, -0.5024372935295105, 0.1098574623465538, 0.11042992025613785, -0.42244693636894226, 0.2981010377407074, 0.35075679421424866, 1.2740519046783447, 0.3759550154209137, -0.6776038408279419, -0.07129193097352982, -0.8030306696891785, 0.8354387879371643, -0.4406844675540924, 0.8034179210662842, 0.6426490545272827, -0.011477077379822731, -0.026721740141510963, -0.33752381801605225, -0.692643404006958, -0.8412925601005554, 0.2858559191226959, 0.17350153625011444, -0.06464753299951553, 0.053178541362285614, 0.49797067046165466, 0.3345140218734741, -0.5155491828918457, 0.18651461601257324, -0.5804300308227539, -0.06069205701351166, 0.4065324366092682, 0.00427278270944953, 0.30446574091911316, -0.36634552478790283, -0.564794659614563, -0.1605624109506607, -0.7800617218017578, 0.14957056939601898, 0.1889103353023529, 0.1066034734249115, -0.39319977164268494, 0.7137951254844666, 0.08111792802810669, 0.6641086935997009, -0.25752973556518555, -0.541957437992096, 0.1706298440694809, -0.010649202391505241, -0.32333680987358093, -0.3159237205982208, 0.6841339468955994, -0.08278951793909073, 0.3234019875526428, -0.17064063251018524, -0.2430242896080017, 0.34339138865470886, 0.2145587056875229, -0.39586299657821655, -0.250436931848526, -0.21466130018234253, -0.38222736120224, -0.17345751821994781, -0.02921854704618454, -0.39719438552856445, -0.36113473773002625, -0.2275543063879013, 0.35513636469841003, -0.26555877923965454, -0.5227953791618347, 0.0802624374628067, -0.35199686884880066, 0.09182760119438171, -0.015285785309970379, -0.9070746302604675, 0.5870149731636047, 0.5042544007301331, 0.4043997526168823, -0.19097045063972473, -0.629244327545166, -0.1654110699892044, -0.22170062363147736, -0.45023640990257263, 0.7833107113838196, -0.4489702880382538, -0.2993486225605011, -0.25926607847213745, -0.0331292487680912, -0.1144942119717598, -0.8816252946853638, 0.26484474539756775, -0.2837735116481781, -0.19350643455982208, -0.5784101486206055, -0.45223698019981384, -0.21638727188110352, -0.0934426560997963, -0.317279577255249, 0.7625478506088257, 0.16652826964855194, -0.47464486956596375, 0.6103639602661133, -0.23877619206905365, -0.25311097502708435, 0.0736778974533081, -0.5436617136001587, -0.13959163427352905, 0.5499551296234131, -0.2055288851261139, 0.07761028409004211, -0.17391839623451233, 0.29595598578453064, -0.6499210596084595, -0.6681850552558899, 0.4373573362827301, -0.44035276770591736, 0.6617815494537354, 0.10256776958703995, -0.4496755003929138, -0.22414931654930115, -0.8874240517616272, -0.27950146794319153, 0.49447184801101685, -0.4138637185096741, -0.2665894329547882, 0.1861819177865982, 0.06595004349946976, 0.3052348792552948, -0.015318221412599087, -0.7072238326072693, 0.11405303329229355, -0.4818284511566162, 0.09416227042675018, 0.7025455832481384, -0.3330962359905243, 0.48388007283210754, -0.390720933675766, 0.6202343702316284, 0.22266975045204163, 0.019945556297898293, -0.11639583110809326, -0.5924178957939148, -1.132469654083252, -0.2892422676086426, 0.011559744365513325, 0.4568694531917572, -0.4376000165939331, 0.1225677952170372, -0.03793875128030777, -0.3668345808982849, -0.5463539361953735, 0.38018348813056946, 0.5241667032241821, 0.6250792145729065, 0.07187256217002869, -0.44878625869750977, -0.5795307755470276, -1.1218429803848267, -0.4852044880390167, -0.5930205583572388, 0.167444109916687, 0.3830341696739197, 0.7828366756439209, -0.20490464568138123, 0.6725669503211975, -0.26596567034721375, 0.06408154964447021, -0.17048221826553345, 0.022409331053495407, 0.12323720753192902, 0.08814503997564316, 0.3974541127681732, -0.49431681632995605, 0.13510571420192719, -0.16182024776935577, -1.0708941221237183, -0.31724709272384644, 0.09168387949466705, 0.1784532070159912, 0.17768870294094086, 0.1912495642900467, -0.618457019329071, 0.6533488035202026, 0.7163108587265015, -0.6575248837471008, 0.6535999178886414, -0.1538318693637848, -0.22213268280029297, -0.45038068294525146, -0.21147030591964722, 0.11170187592506409, 0.12001153826713562, -0.5071221590042114, 0.17395812273025513, 0.1766524463891983, -0.07633808255195618, -0.574029266834259, 1.002278208732605, -0.4737248122692108, -0.4018459618091583, -0.5397601127624512, 0.01691611111164093, 0.002274793339893222, 0.7114010453224182, 0.23848913609981537, 0.5488138198852539, 0.5808829665184021, -0.8658556938171387, -0.07548951357603073, 0.027830814942717552, -0.4370744526386261, 0.3549364507198334, -0.528740644454956, 0.09280447661876678, -0.10439466685056686, -0.2807813584804535, -0.808741569519043, -0.2745721936225891, 0.3154442310333252, -0.3114297389984131, 0.08500715345144272, 0.12500274181365967, -0.4216287136077881, -0.37802302837371826, 0.16595081984996796, 0.4193783104419708, 0.9534023404121399, -0.5308061838150024, 0.3621590733528137, 0.4722018539905548, 0.09647417068481445, -0.23582573235034943, -0.8950386643409729, 0.03443553298711777, -0.04685509204864502, -0.47751885652542114, -0.05922643840312958, -0.11373580247163773, -0.85680091381073, -0.15484414994716644, -0.4005173146724701, -0.3198595941066742, 0.3696494698524475, 0.6241365671157837, 0.13266664743423462, -0.29081258177757263, 0.284719854593277, -0.18583375215530396, 0.13205033540725708, 0.29648712277412415, -0.031112292781472206, 0.2610369622707367, -0.16067425906658173, -0.86806720495224, -0.5819945931434631, 0.032799411565065384, 0.5908072590827942, 0.011908686719834805, 0.45914649963378906, 0.24537792801856995, -0.3674274981021881, -0.1450197547674179, -0.5984190106391907, -0.2119486927986145, -0.4318176805973053, 0.37148624658584595, -0.6159479022026062, -0.728426992893219, 0.4081264138221741, 0.1619643121957779, -0.4168676733970642, 0.2728366255760193, 0.5555264353752136, -0.462731271982193, 0.7402234673500061, 0.6216100454330444, 0.17365914583206177, 0.4051891565322876, -0.16329039633274078, 0.17392611503601074, -0.8493668437004089, -0.1776842325925827, -0.45615071058273315, -0.32601064443588257, -0.5418990254402161, -0.06041431799530983, 0.30831313133239746, 0.06902215629816055, -0.39445415139198303, 0.1182476207613945, -0.013638090342283249, 0.30380815267562866, 0.7447354793548584, 0.3338472843170166, 0.44824492931365967, 0.22111736238002777, -0.21437998116016388, -0.3063057065010071, -0.6691226363182068, -0.446306049823761, 0.8803843259811401, 0.4489066004753113, 0.9070953130722046, -0.061994537711143494, 0.6396245360374451, -0.09368351101875305, 0.08361177146434784, -0.8603174686431885, 0.5965745449066162, 0.31410980224609375, -0.5059665441513062, -0.04843960702419281, -0.4635377526283264, -0.946489155292511, 0.48166337609291077, -0.06649716198444366, -0.6241547465324402, 0.3445833921432495, 0.12815113365650177, -0.05235205963253975, 0.39671891927719116, -0.6624608635902405, 0.6400441527366638, -0.5113649964332581, -0.32452836632728577, 0.09260546416044235, -0.19618000090122223, 0.6958397030830383, -0.15752016007900238, 0.5232688784599304, -0.199011892080307, 0.0018829645123332739, 0.7640810012817383, -0.14049696922302246, 0.9383100867271423, -0.04441932588815689, -0.34569379687309265, 0.20880556106567383, 0.37521892786026, 0.18320679664611816, -0.11698810756206512, 0.1748696118593216, 0.03670584037899971, -0.3789938986301422, -0.7467885613441467, -0.5238958597183228, 0.3593641519546509, -0.625474750995636, -0.6155315637588501, -0.4405253231525421, -0.6555978059768677, -0.1463690549135208, 0.06589625775814056, 0.16725684702396393, 0.18895389139652252, -0.29165807366371155, -0.052877333015203476, 0.48012492060661316, -0.34958791732788086, 0.22750991582870483, 0.7039988040924072, -0.5477716326713562, 0.03474355489015579, 0.8534733653068542, 0.07838970422744751, 0.5030874013900757, 0.13120822608470917, 0.34860196709632874, -0.03778516873717308, -0.44411399960517883, -0.028290553018450737, 0.5190709829330444, -0.7032892107963562, 0.48373913764953613, -0.49698081612586975, -0.0570572130382061, -0.18489307165145874, 0.183304563164711, -0.2776816785335541, -0.20927639305591583, -0.22949862480163574, -0.27590903639793396, 0.1372835487127304, 1.1194863319396973, -0.08369234949350357, 0.14959141612052917, -0.5731454491615295, 0.624431848526001, 0.46035242080688477, 0.08430663496255875, 0.08447068184614182, -0.8688167333602905, -0.1342734545469284, 0.3322215676307678, -0.2885781526565552, -0.8768516778945923, 0.3939586579799652, 0.272970050573349, 0.3967503607273102, 0.4813916087150574, -0.2859334945678711, 0.8381623029708862, -0.33425408601760864, 0.7690402865409851, 0.09695503115653992, -1.0209649801254272, 0.578949511051178, -0.3500586450099945, 0.4877278208732605, 0.2309081256389618, 0.11410792171955109, -0.3439362347126007, -0.6930115222930908, -0.8621758222579956, -0.46097493171691895, 0.43884599208831787, 0.03267040476202965, 0.16878382861614227, -0.30562835931777954, 0.25996801257133484, 0.08702309429645538, 0.14070190489292145, -0.9934698343276978, -0.10970263183116913, 0.06460155546665192, 0.12771931290626526, -0.2093321979045868, -0.36284804344177246, 0.12521523237228394, -0.744740903377533, 0.2646394670009613, 0.026777442544698715, 0.21585991978645325, 0.18608559668064117, -0.4078247845172882, -0.36393216252326965, 0.09428245574235916, 0.7019354104995728, 0.8776746392250061, -0.24949106574058533, 0.47087523341178894, 0.23707561194896698, -0.5032505393028259, 0.20416857302188873, -0.4631746709346771, -0.2175692766904831, 0.009395167231559753, 0.8202527761459351, 1.047311782836914, 0.6526749730110168, -0.9656643271446228, 0.5268535614013672, 0.10962691903114319, -0.3663153350353241, -0.36308762431144714, 0.08390489965677261, 0.18765544891357422, 0.18781134486198425, 0.21943633258342743, 0.2233477234840393, -0.12252932786941528, -0.8292409181594849, 0.1460886001586914, 0.31347331404685974, -0.5103191137313843, -0.686725914478302, 0.6521756649017334, -0.08361759036779404, -0.40141797065734863, 0.7615109086036682, -0.38453900814056396, -0.5098770260810852, 0.7486515641212463, 0.6569420099258423, 0.6895185112953186, -0.030792871490120888, 0.10942353308200836, 0.10556505620479584, 0.5792643427848816, 0.027082044631242752, 0.7366601824760437, -0.1061982586979866, -0.9693080186843872, -0.33339205384254456, -0.710449755191803, -0.4151657521724701, -0.055034078657627106, -0.5573989748954773, -0.0357307568192482, -0.527785062789917, -0.06074918434023857, -0.385184109210968, -0.16322322189807892, -0.8960266709327698, 0.09864597022533417, 0.27702853083610535, 0.9146174192428589, -1.0478935241699219, 0.7299948930740356, 0.28682708740234375, -0.549996018409729, -0.8496281504631042, -0.20180727541446686, -0.08085941523313522, -1.0239375829696655, 1.2771992683410645, -0.11059609800577164, -0.02083764038980007, -0.13198603689670563, -0.5378503203392029, -0.727191686630249, 0.6929292678833008, 0.6187889575958252, -0.5996180176734924, -0.009660379961133003, 0.17579366266727448, 0.5146704912185669, -0.06687615811824799, 0.32895249128341675, 0.41007688641548157, 0.5761270523071289, -0.06771979480981827, -1.135036587715149, -0.2420332133769989, -0.14659975469112396, -0.07165075838565826, -0.0640350729227066, -0.4798029363155365, 1.0295716524124146, -0.5501002073287964, -0.3172159492969513, -0.013048983179032803, 0.5623859763145447, 0.5651085376739502, 0.36786413192749023, 0.39542508125305176, 0.9569126963615417, 0.7859812378883362, -0.050629131495952606, 1.4278002977371216, 0.05369197949767113, 0.3391915261745453, 0.8629512786865234, -0.5316810011863708, 0.9942880272865295, 0.6678981781005859, -0.24984963238239288, 0.3903796374797821, 0.622850239276886, 0.1474887579679489, 0.386881560087204, 0.4615470767021179, -0.14663900434970856, -0.43666180968284607, -0.2607838213443756, -0.20103132724761963, 0.8342971205711365, 0.21039006114006042, -0.4335242211818695, 0.0512617789208889, 0.13218066096305847, -0.09561366587877274, 0.10958673804998398, -0.0027361749671399593, 0.557562530040741, 0.6062235236167908, -0.3648550510406494, 0.9836612343788147, -0.3822864890098572, 0.6379233002662659, -0.3152419924736023, 0.06351324170827866, -0.17023152112960815, 0.01431935466825962, -0.0076707471162080765, -0.3875117003917694, 0.23413383960723877, -0.018207399174571037, -0.1001063659787178, -0.28482311964035034, 0.6219550371170044, -0.2809237241744995, -0.5877479314804077, 0.5668250918388367, 1.067678451538086, 0.415892094373703, -0.032254550606012344, -0.5051569938659668, 0.30362987518310547, -0.29627227783203125, -0.2916874289512634, 0.24557819962501526, 0.3152778446674347, 0.15017715096473694, 0.8807855248451233, 0.6001407504081726, 0.48981720209121704, 0.28531408309936523, 0.21427766978740692, 0.38853463530540466, -0.9971187114715576, -0.04020991548895836, -0.9406107068061829, 0.051502905786037445, 0.3541426360607147, -0.39488109946250916, 0.6629313230514526, 0.38029077649116516, 1.0417753458023071, -0.23188798129558563, 0.5929364562034607, 0.3331436812877655, 0.25654369592666626, -0.6483287811279297, 0.6791943311691284, -0.7674671411514282, 0.15561552345752716, -0.24265001714229584, -0.8383678197860718, -0.1288791298866272, 0.694053053855896, -0.28354108333587646, 0.12749925255775452, 1.0595707893371582, 0.7453297972679138, -0.15798671543598175, -0.1832255870103836, 0.7212002873420715, 0.5726981163024902, 0.004822460934519768, 0.6152786612510681, 1.3600045442581177, -0.34899789094924927, 0.04054098203778267, -0.2725814878940582, -0.1937313824892044, 0.04143095389008522, -0.5594419836997986, -0.9731475114822388, -0.504433810710907, -0.24111059308052063, -0.147755965590477, 0.03449612483382225, 0.8153283596038818, 0.7818214297294617, -0.3693053424358368, -0.6631168723106384, -0.18148717284202576, 0.17702186107635498, -0.1864934265613556, -0.17646369338035583, 0.07165972143411636, -0.25759655237197876, -0.4698442816734314, 0.7351404428482056, 0.3889627754688263, 0.13079093396663666, -0.38273322582244873, -0.19815321266651154, -0.09739861637353897, -0.1479344666004181, 0.5496212840080261, 0.3812483847141266, -1.2404959201812744, -0.3168512284755707, 0.2830229699611664, -0.06917456537485123, 0.09683217108249664, 0.5138033032417297, -0.9595099091529846, 0.21664658188819885, 0.41040003299713135, 0.5335067510604858, 0.22548289597034454, -0.3301710784435272, 0.29938018321990967, -0.42313218116760254, 0.3732743561267853, 0.14153140783309937, 0.6342738270759583, 0.17191383242607117, -0.0022282793652266264, 0.17323707044124603, 0.779274046421051, -0.2756887972354889, -0.8529843091964722, 0.5384104251861572, -1.0529423952102661, -0.3016098439693451, 1.2886337041854858, 0.17192214727401733, -0.6330263614654541, 0.007414326071739197, -0.059386979788541794, 0.16208088397979736, -0.06705430150032043, 0.8433815240859985, 0.7226449251174927, 0.028996936976909637, -0.3286607563495636, -0.8948786854743958, 0.218041330575943, 0.6036593914031982, -0.5232974886894226, -0.22387535870075226, 0.2315850704908371, 0.341473788022995, -0.005080354865640402, 0.8347092270851135, 0.2482217401266098, 0.303225040435791, 0.2003929316997528, 0.22661450505256653, 0.04067131131887436, -0.5513373613357544, -0.46371015906333923, 0.056406304240226746, 0.4455026686191559, -0.10090422630310059 ]
http://arxiv.org/abs/2402.11347v1
http://arxiv.org/pdf/2402.11347v1
PhaseEvo: Towards Unified In-Context Prompt Optimization for Large Language Models
2024-02-17T17:47:10
2024-02-17T17:47:10
Wendi Cui, Jiaxin Zhang, Zhuohang Li, Hao Sun, Damien Lopez, Kamalika Das, Bradley Malin, Sricharan Kumar
cs.CL
cs.CL
Crafting an ideal prompt for Large Language Models (LLMs) is a challenging task that demands significant resources and expert human input. Existing work treats the optimization of prompt instruction and in-context learning examples as distinct problems, leading to sub-optimal prompt performance. This research addresses this limitation by establishing a unified in-context prompt optimization framework, which aims to achieve joint optimization of the prompt instruction and examples. However, formulating such optimization in the discrete and high-dimensional natural language space introduces challenges in terms of convergence and computational efficiency. To overcome these issues, we present PhaseEvo, an efficient automatic prompt optimization framework that combines the generative capability of LLMs with the global search proficiency of evolution algorithms. Our framework features a multi-phase design incorporating innovative LLM-based mutation operators to enhance search efficiency and accelerate convergence. We conduct an extensive evaluation of our approach across 35 benchmark tasks. The results demonstrate that PhaseEvo significantly outperforms the state-of-the-art baseline methods by a large margin whilst maintaining good efficiency.
[ -0.24927859008312225, -0.6387748718261719, 0.8454240560531616, 0.47365984320640564, -0.44222292304039, 0.03695942461490631, -0.18611674010753632, 0.10269391536712646, -0.32220104336738586, 0.22019153833389282, -0.9879369139671326, -0.5226982831954956, -0.15203876793384552, 0.6947227716445923, -0.22637784481048584, 0.4800875186920166, 0.057907093316316605, 0.07828231155872345, -0.39546334743499756, 0.06770258396863937, -0.6758630275726318, -0.03344130888581276, -0.9354198575019836, -0.2770622670650482, 0.2964369058609009, 0.688178300857544, 0.24133214354515076, 0.5139681696891785, -0.21948133409023285, 0.40858563780784607, -0.2786238193511963, 0.4199478328227997, -0.35176464915275574, 0.7302018404006958, 0.09339600801467896, -0.18867844343185425, -0.031205035746097565, -0.5874030590057373, 0.8078710436820984, 0.5251755714416504, -0.16839328408241272, -0.295560359954834, 0.1886323243379593, 0.46929147839546204, -0.4552832543849945, 0.1239524856209755, -0.5454632043838501, 0.026290258392691612, 0.1580020636320114, -0.2948446571826935, -0.44784319400787354, -0.6278231143951416, 0.24986357986927032, -1.08716881275177, 0.258453369140625, 0.3630960285663605, 0.3175841271877289, 0.24421600997447968, -0.33570337295532227, -0.4423731565475464, -0.3588896095752716, 0.8075187802314758, -0.635715126991272, 0.269662082195282, -0.10494345426559448, 0.1839989423751831, -0.7966200113296509, -0.2935069799423218, -0.6255939602851868, -0.25802481174468994, 0.1764311045408249, -0.1040126234292984, 0.09128481149673462, 0.2936164438724518, 0.09000314772129059, 0.13208916783332825, -0.6683858633041382, 0.3196605443954468, 0.28961417078971863, -0.09646822512149811, 0.27080610394477844, 0.2861221432685852, 0.5043864250183105, -0.2966262996196747, -0.18667742609977722, -0.1466064304113388, -0.5777618288993835, 0.17439983785152435, 0.14486391842365265, 0.41612565517425537, -0.04419460520148277, 0.17064137756824493, -0.256619930267334, 0.6948232650756836, 0.2273397296667099, -0.26558586955070496, 0.03832198306918144, -0.3300601840019226, 0.06577734649181366, -0.0332583487033844, 0.7903751730918884, 0.19873200356960297, -0.22291941940784454, -0.17013031244277954, -0.2996622323989868, -0.46193334460258484, 0.03075975924730301, -0.829602062702179, 0.3921145498752594, 0.4782162010669708, 0.11580915004014969, -0.19165955483913422, -0.3377968668937683, -1.214106559753418, -0.4791167080402374, -0.45277345180511475, 0.38867083191871643, -0.36412346363067627, 0.18145205080509186, 0.07402175664901733, -0.024484897032380104, 0.16423925757408142, 0.6425207853317261, -0.882348895072937, -0.09196589887142181, 0.772782027721405, 0.8383021354675293, -0.06196826696395874, -0.2814796566963196, -0.9404014945030212, -0.09265972673892975, -0.38002049922943115, 0.6702402830123901, -0.7288479804992676, -0.7965460419654846, 0.3301677703857422, -0.04374469071626663, -0.08022671937942505, -0.3487142324447632, 0.7816010117530823, -0.3988696038722992, 0.5176950693130493, -0.47615647315979004, -0.3737737834453583, -0.02737213671207428, 0.014813586138188839, -0.24848632514476776, 1.216696858406067, 0.33167266845703125, -0.36243417859077454, 0.34438765048980713, -0.761366069316864, -0.5206120014190674, 0.5411760210990906, -0.12651781737804413, -0.25872620940208435, 0.24171334505081177, 0.4336172640323639, 0.4586864709854126, -0.8482773303985596, 0.5499179363250732, -0.02233586646616459, -0.3039214611053467, 0.018846768885850906, 0.08840076625347137, 0.5989950895309448, 0.19401581585407257, -0.6030448079109192, 0.504552960395813, -0.6884065866470337, -0.232577383518219, 0.15537305176258087, -0.22160449624061584, -0.528505802154541, 0.1326131522655487, -0.38753214478492737, 0.034699946641922, 0.12493546307086945, -0.5186735391616821, 0.365294873714447, -0.5142989754676819, 0.4886709749698639, 0.8651151657104492, 0.046547096222639084, 0.6621197462081909, -0.11323179304599762, 0.7987208962440491, -0.23161183297634125, 0.4669465124607086, -0.5682859420776367, -0.37412363290786743, -0.6861793994903564, -0.4272508919239044, -0.011773635633289814, 0.5869383811950684, -0.9854316115379333, 0.7456530332565308, -0.2030760794878006, -0.033227209001779556, -0.4767605662345886, 0.2943221926689148, 0.37111255526542664, 0.7734890580177307, 0.20085135102272034, 0.07294458895921707, -0.2497074007987976, -0.766880214214325, 0.04475899413228035, 0.1707926243543625, -0.0348050519824028, 0.31633901596069336, 0.2946391999721527, -0.35395026206970215, 1.006300926208496, -0.22292514145374298, 0.19800764322280884, -0.46690747141838074, 0.15382832288742065, 0.3152419924736023, 0.34398922324180603, 0.41716256737709045, -0.5833719968795776, -0.4581906497478485, 0.051853928714990616, -0.7974832057952881, -0.5910515189170837, -0.29004043340682983, -0.2965019941329956, 0.22579114139080048, 0.3965270519256592, -0.3701430559158325, -0.3010643720626831, 0.40264400839805603, -0.21818159520626068, 0.2997170388698578, -0.4100169539451599, 0.3405148386955261, -1.2903428077697754, -0.08263801783323288, 0.07379291206598282, -0.061742041260004044, -0.7717738747596741, 0.27905958890914917, 0.08209679275751114, -0.5370606780052185, -0.3849504590034485, 0.9403358697891235, -0.572749674320221, 0.2426336258649826, -0.07404772937297821, 0.38818925619125366, 0.04722800478339195, 0.3562676012516022, -0.4459877014160156, 0.8112584352493286, 0.7702420949935913, -0.6129331588745117, 0.2958995997905731, 0.20987705886363983, -0.18593764305114746, 0.7444654703140259, -0.7317577600479126, 0.37591853737831116, -0.5504006743431091, 0.3368934392929077, -0.967559278011322, -0.2828221023082733, 0.25145894289016724, 0.06281542032957077, 0.42182642221450806, -0.08024639636278152, -0.606809139251709, -0.4271107017993927, -0.6687683463096619, 0.5038875341415405, 0.47341692447662354, -0.822379469871521, 0.6893101930618286, -0.0985972136259079, -0.31371697783470154, -0.5031536817550659, 0.1598387360572815, 0.024015847593545914, -0.31830495595932007, -0.6888206005096436, 0.06311599165201187, -0.44856444001197815, -0.11624930799007416, -0.5511377453804016, -0.07028932869434357, 0.3974314033985138, 0.10102786868810654, 0.02183930017054081, 0.17908421158790588, 0.09493105113506317, 0.007684942800551653, 0.5778521299362183, -0.10233784466981888, -0.12885428965091705, -0.4547926187515259, 0.8417786955833435, 0.18977855145931244, -0.060929812490940094, -0.54487144947052, 0.5199714303016663, 0.42014071345329285, 0.04716781899333, 0.3466668725013733, 0.1362488865852356, -0.04532726854085922, -0.8428794741630554, -0.4182700216770172, -0.12770962715148926, -0.6090953350067139, 0.2572898268699646, -0.5008432269096375, -0.9134988784790039, 0.38029569387435913, -0.21336762607097626, 0.24910999834537506, 0.20302525162696838, 0.3292432427406311, 0.2639142572879791, 0.9579469561576843, 0.4619791805744171, -0.004654378164559603, 0.5322345495223999, -0.04140502214431763, 0.08543772250413895, -0.784332275390625, -0.38610705733299255, -0.8122406601905823, 0.04607608541846275, -0.2505289614200592, -0.48221561312675476, 0.6847609877586365, 0.20616108179092407, -0.16797053813934326, 0.27599188685417175, -0.6038234829902649, 0.5289610624313354, 0.6664089560508728, -0.02681848406791687, 0.1936759650707245, -0.09089028835296631, -0.32588303089141846, 0.01757107488811016, -0.8742502331733704, -0.29811397194862366, 0.8840259909629822, 0.004395443946123123, 0.4894886612892151, -0.13032002747058868, 0.724612295627594, 0.21991413831710815, 0.025545407086610794, -0.6868667006492615, 0.698106050491333, 0.004897648934274912, -0.21442818641662598, -0.40716901421546936, -0.6148906946182251, -1.0126514434814453, 0.4128032922744751, -0.017287451773881912, -0.564430296421051, 0.262310653924942, 0.2003743201494217, -0.3110869228839874, -0.16531386971473694, -0.6179315447807312, 0.875886857509613, -0.10373912006616592, -0.12666009366512299, -0.018185971304774284, -0.5555514097213745, 0.16519422829151154, -0.3896878659725189, 0.5361913442611694, -0.20384806394577026, -0.2348080575466156, 0.38265755772590637, -0.4935263395309448, 0.6647124290466309, -0.1305353194475174, -0.24919529259204865, 0.1350974142551422, 0.17335596680641174, 0.6662542819976807, 0.3714003562927246, -0.20756256580352783, -0.2198931872844696, -0.25970521569252014, -0.38025087118148804, -0.5337353348731995, 0.8322703242301941, -0.4952414631843567, -0.3612268269062042, -0.31623372435569763, -0.4604048728942871, -0.29237595200538635, 0.2063780277967453, 0.4412022531032562, 1.0832977294921875, -0.1989719271659851, -0.14177961647510529, 0.8979480862617493, -0.5709350109100342, 0.818816602230072, 0.5116792917251587, -0.004101058468222618, -0.5701025128364563, 0.7496284246444702, -0.5860194563865662, 0.2808474600315094, 0.5744125843048096, 0.48349568247795105, -0.3104650378227234, -0.6358833312988281, -0.7027327418327332, 0.3543761074542999, -0.7225403785705566, -0.21989591419696808, -0.5552676320075989, 0.3899526000022888, -0.4580266773700714, -0.6004178524017334, 0.07463561743497849, 0.12185383588075638, -0.4519839584827423, 0.4410681426525116, 0.19891846179962158, 0.4707007110118866, 0.15243081748485565, 0.38021594285964966, -0.6276732087135315, 0.33265602588653564, 0.5525141358375549, -0.03645850718021393, -0.09870169311761856, -0.5071622729301453, 0.09111443161964417, -0.1032261922955513, -0.21657468378543854, -0.7448337078094482, 0.34340372681617737, 0.4139867126941681, 0.6161634922027588, 0.3127463757991791, 0.23385725915431976, 0.44059044122695923, -0.630271852016449, 0.735734760761261, 0.1619929075241089, -1.0951645374298096, 0.7323743104934692, -0.5317598581314087, 0.774399995803833, 0.6450684070587158, 0.43219929933547974, -0.7397845983505249, -0.42276737093925476, -0.27052319049835205, -1.0527276992797852, 0.8546251058578491, 0.08933944255113602, 0.21223384141921997, -0.0628933385014534, 0.6606230735778809, 0.36771249771118164, 0.3650968074798584, -0.2988452911376953, -0.28448477387428284, 0.11418374627828598, -0.424751341342926, -0.05976293236017227, -0.3131730258464813, -0.2371232509613037, -0.25641676783561707, 0.6959760189056396, -0.5329484343528748, 0.19177816808223724, 0.18572625517845154, -0.18035125732421875, -0.30574852228164673, 0.46960535645484924, 0.9055895209312439, 0.5283166766166687, 0.12113966047763824, -0.30603551864624023, 0.2640437185764313, -0.3193664848804474, 0.28389406204223633, 0.3329394459724426, -0.635036289691925, 0.09679864346981049, 0.26279526948928833, 0.865295946598053, 0.6257984042167664, -0.7970526218414307, 0.4744902551174164, -0.14844584465026855, -0.0828215628862381, -0.11739038676023483, 0.232849583029747, -0.3350638151168823, 0.359546959400177, 0.622467041015625, -0.396401971578598, 0.2723885178565979, -0.49796566367149353, -0.1234373152256012, 0.4031302332878113, 0.0696609616279602, -0.3543376326560974, 0.7901527285575867, 0.5196965932846069, -0.6242020130157471, 0.4291653335094452, -0.5630145072937012, -0.6828874349594116, 0.4399360418319702, 0.4855334758758545, 1.2938398122787476, -0.3719710111618042, 0.44956517219543457, 0.3521728813648224, 0.07177163660526276, -0.3046388328075409, 0.3224286735057831, -0.1925087422132492, -0.4398449957370758, -0.4519287943840027, -0.8099209070205688, -0.5291285514831543, -0.14468364417552948, -0.08371543139219284, 0.43030494451522827, -0.5512189865112305, 0.3016408085823059, -0.41404202580451965, -0.07762722671031952, -0.3986032009124756, -0.08335592597723007, 0.04543786123394966, 0.5468840599060059, -0.4292883276939392, 0.5707850456237793, 0.4848911464214325, 0.11170700192451477, -0.43341532349586487, -0.1826038360595703, 0.14983101189136505, -0.7751573324203491, 0.3629852533340454, 0.28873541951179504, -0.11511388421058655, 0.1796453446149826, -0.454300194978714, -0.7299331426620483, 1.0210766792297363, 0.5053284168243408, -0.77913898229599, -0.16444124281406403, -0.03334302827715874, 0.27003541588783264, -0.5412676930427551, 0.2521645724773407, 0.3431823253631592, 0.3572276532649994, 0.3788091540336609, -0.8031882047653198, 0.15916700661182404, 0.0883801206946373, 0.3993121385574341, 0.5118699669837952, -0.5785834193229675, 0.4550153613090515, -0.03433537483215332, -0.34715238213539124, 0.1678916960954666, 0.49952200055122375, 0.314006507396698, 0.220110222697258, 0.7214556932449341, 0.4049214720726013, 0.7032999396324158, -0.17080672085285187, 1.0949651002883911, -0.4170033633708954, 0.15496014058589935, 0.7633364200592041, -0.19769781827926636, 0.2881740629673004, 0.2763589918613434, 0.11454670131206512, 0.44230082631111145, 0.6808077096939087, 0.4265829920768738, 0.5301891565322876, 0.23592913150787354, -0.7227327823638916, -0.09691131114959717, -0.11493831872940063, -0.1933504343032837, -0.18110421299934387, 0.08810996264219284, 0.015333365648984909, -0.31486669182777405, 0.17280440032482147, 0.28253117203712463, 0.006680421065539122, -0.3267240822315216, 0.7098219990730286, -0.023904073983430862, -0.7705185413360596, 0.5958138108253479, -0.20638824999332428, 0.7880951762199402, -0.7177703976631165, 0.17392057180404663, -0.6321737170219421, -0.16671036183834076, 0.21142153441905975, -0.12007450312376022, -0.3296591639518738, -0.13803730905056, 0.17530681192874908, -0.5010080933570862, 0.16421560943126678, -0.4562634229660034, -0.29956182837486267, 0.1266711801290512, 0.08147259801626205, -0.14738063514232635, -0.0058144330978393555, -0.6848022937774658, 0.1508844494819641, -0.01727954111993313, -0.20622576773166656, 0.22608187794685364, 0.6859679222106934, 0.13942034542560577, 0.7346017360687256, 0.5771273970603943, -0.15430964529514313, 0.1457206755876541, 0.19119398295879364, 0.788634717464447, -0.5127227306365967, -0.42204636335372925, -0.6552318334579468, 0.5306444764137268, -0.15874284505844116, -0.8635001182556152, 0.5617510676383972, 0.37697336077690125, 0.4174889922142029, 0.09036938846111298, 0.5338064432144165, -0.006809578277170658, 0.2606410086154938, -0.6747832894325256, 0.061813898384571075, -0.8029038906097412, 0.18442586064338684, -0.43886011838912964, -1.304201602935791, -0.14786572754383087, 0.255189448595047, 0.07104998081922531, -0.12432440370321274, 0.8873814940452576, 0.8195956945419312, 0.23723849654197693, 0.06650762259960175, 0.2596941292285919, 0.08079121261835098, 0.36760976910591125, 0.5079031586647034, 0.6008577346801758, -0.1730009764432907, 0.21388477087020874, -0.21627219021320343, -0.3755522072315216, -0.32590270042419434, -0.9673631191253662, -0.96305912733078, -0.8432823419570923, -0.29248347878456116, -0.010148082859814167, 0.13473989069461823, 1.2938158512115479, 0.559914231300354, -0.666322648525238, -0.3142903745174408, -0.23576393723487854, 0.0981161892414093, 0.11845211684703827, -0.19182993471622467, 0.06040409207344055, -0.8727707266807556, -1.055408000946045, 1.047554850578308, 0.4614352583885193, 0.0002462006523273885, -0.3108621835708618, -0.17739611864089966, 0.08227967470884323, 0.10634595155715942, 0.8188821077346802, 0.421238511800766, -0.6104214787483215, -0.19862596690654755, 0.18455860018730164, -0.05567799508571625, -0.1670464426279068, 1.0111900568008423, -0.500903308391571, 0.7898253798484802, 0.7365891337394714, 0.7360625863075256, 0.23792871832847595, 0.08141904324293137, 0.9326606392860413, -0.7034170627593994, 0.220788836479187, 0.3058491349220276, 0.38894563913345337, 0.45170438289642334, -0.35589519143104553, 0.2091192603111267, 0.3050679862499237, -0.6812777519226074, -0.842829167842865, 0.16234154999256134, -1.067807674407959, -0.47421562671661377, 1.30768620967865, 0.24009498953819275, -0.32118067145347595, -0.1472005397081375, -0.23906049132347107, -0.029052749276161194, -0.9606966972351074, 0.7303990125656128, 0.4859028458595276, -0.029785819351673126, -0.1942150890827179, -0.6237280368804932, 0.5785527229309082, 0.5359414219856262, -0.984408974647522, -0.13864003121852875, 0.7026009559631348, 0.07926217466592789, -0.20515845715999603, 0.5099633932113647, 0.3480277359485626, 0.10548558086156845, -0.38933926820755005, 0.12738904356956482, 0.10622790455818176, -0.43239882588386536, -0.8800881505012512, 0.12506325542926788, 0.10380791872739792, 0.09005360305309296 ]
http://arxiv.org/abs/2402.11324v1
http://arxiv.org/pdf/2402.11324v1
EVEDIT: Event-based Knowledge Editing with Deductive Editing Boundaries
2024-02-17T16:34:50
2024-02-17T16:34:50
Jiateng Liu, Pengfei Yu, Yuji Zhang, Sha Li, Zixuan Zhang, Heng Ji
cs.CL
cs.CL
The dynamic nature of real-world information necessitates efficient knowledge editing (KE) in large language models (LLMs) for knowledge updating. However, current KE approaches, which typically operate on (subject, relation, object) triples, ignore the contextual information and the relation among different knowledge. Such editing methods could thus encounter an uncertain editing boundary, leaving a lot of relevant knowledge in ambiguity: Queries that could be answered pre-edit cannot be reliably answered afterward. In this work, we analyze this issue by introducing a theoretical framework for KE that highlights an overlooked set of knowledge that remains unchanged and aids in knowledge deduction during editing, which we name as the deduction anchor. We further address this issue by proposing a novel task of event-based knowledge editing that pairs facts with event descriptions. This task manifests not only a closer simulation of real-world editing scenarios but also a more logically sound setting, implicitly defining the deduction anchor to address the issue of indeterminate editing boundaries. We empirically demonstrate the superiority of event-based editing over the existing setting on resolving uncertainty in edited models, and curate a new benchmark dataset EvEdit derived from the CounterFact dataset. Moreover, while we observe that the event-based setting is significantly challenging for existing approaches, we propose a novel approach Self-Edit that showcases stronger performance, achieving 55.6% consistency improvement while maintaining the naturalness of generation.
[ -0.12169404327869415, -1.1680364608764648, 0.9007158279418945, -0.08797936886548996, -0.04875009134411812, 0.0609947144985199, -0.261852890253067, -0.6315199732780457, 0.050981130450963974, 0.13113810122013092, -0.6365997195243835, -0.5893030762672424, -0.5601658225059509, 0.1174447163939476, -0.1487443596124649, 0.5776965618133545, -0.335856169462204, -0.4646777808666229, -0.5379711389541626, -0.2806156873703003, -0.5123046636581421, -0.47524765133857727, -0.6334573030471802, -0.04705321043729782, 0.3438345491886139, 0.47090664505958557, 0.7662712335586548, 1.1040738821029663, 0.37770137190818787, 0.16774992644786835, -0.438262939453125, 0.43885621428489685, -0.2556332051753998, 0.25632497668266296, -0.5855710506439209, -0.4121769964694977, -0.8552238345146179, -0.037955064326524734, 0.6786250472068787, 0.6522695422172546, 0.11616360396146774, 0.1644349843263626, 0.13290897011756897, 0.6308350563049316, -0.8559848070144653, -0.08362070471048355, -0.8095980286598206, 0.02286115288734436, -0.20334850251674652, 0.13584798574447632, -0.13438773155212402, -0.11574436724185944, -0.001316723763011396, -0.8452200293540955, 0.023867720738053322, -0.27131688594818115, 0.6441242694854736, 0.5795460939407349, -0.3392053246498108, -0.059452880173921585, -0.8602999448776245, 0.4363802671432495, -0.7421275973320007, 0.638663113117218, 0.3178631067276001, -0.34940311312675476, -0.3187488615512848, -0.6374919414520264, -0.7401572465896606, 0.3176201581954956, 0.22106708586215973, -0.019246937707066536, -0.3596732020378113, 0.11962049454450607, 0.42918306589126587, -0.09180629253387451, -0.14822952449321747, 0.17437569797039032, -0.11928778886795044, 0.10146073251962662, 0.7713379859924316, 0.21655923128128052, 0.15589068830013275, -0.18589220941066742, -0.11340700089931488, 0.2295515537261963, -1.1453105211257935, 0.04661018028855324, 0.33907976746559143, -0.15226173400878906, 0.05091068521142006, 0.4743807911872864, -0.4237724840641022, 0.6906952261924744, 0.3406602740287781, 0.07407728582620621, -0.056109193712472916, -0.24470515549182892, -0.1554097682237625, 0.2531374990940094, 0.5168702602386475, 0.8170286417007446, 0.09257987141609192, 0.03787067532539368, 0.19997917115688324, -0.12423128634691238, -0.01611725613474846, -0.46913444995880127, -0.03873319923877716, 0.3453734517097473, -0.3125230073928833, -0.32485970854759216, -0.32304874062538147, -0.6081638336181641, -0.47697511315345764, -0.3560957610607147, 0.3447202444076538, -0.3030649721622467, -0.07620657235383987, 0.047505639493465424, 0.08103818446397781, -0.1664545089006424, 0.5663319230079651, -0.37432312965393066, -0.03235398232936859, 0.6707093715667725, 0.4481421113014221, 0.13116510212421417, -0.3644447326660156, -0.5306880474090576, 0.485163152217865, -0.33704903721809387, 0.6179017424583435, -0.9190784692764282, -0.17887134850025177, -0.25939106941223145, -0.19557136297225952, 0.07230124622583389, -0.07602457702159882, 0.6130532622337341, -0.6744411587715149, -0.0858626440167427, -0.3538374900817871, -0.9942625761032104, -0.11827050894498825, 0.28942081332206726, -0.561135470867157, 0.9550855755805969, -0.3644421100616455, -0.7293040752410889, 0.5368500351905823, -0.4955083131790161, -0.31992679834365845, -0.24021337926387787, -0.09102993458509445, -0.23801051080226898, 0.12099762260913849, 0.39622822403907776, 0.15721799433231354, 0.15977293252944946, 0.5822244882583618, -0.3976353704929352, -0.07716725021600723, 0.3500135838985443, -0.380441814661026, 0.45770910382270813, -0.041978154331445694, -0.4271159768104553, -0.12820130586624146, -1.2499010562896729, -0.19048850238323212, -0.10893835872411728, -0.15751338005065918, -0.6966310739517212, 0.3429858088493347, -0.5658458471298218, 0.31877297163009644, 0.3070126175880432, -0.7572023272514343, 0.6174512505531311, -0.25261327624320984, 0.25388801097869873, 0.725499153137207, 0.3851340413093567, 0.4244729280471802, 0.08245475590229034, 0.46451422572135925, 0.023221751675009727, 0.13019996881484985, -0.17824769020080566, -0.4298346936702728, -0.6439512372016907, 0.12447307258844376, 0.5362691283226013, 0.6728324890136719, -0.5207369327545166, 0.2804518938064575, -0.010238442569971085, -0.3931657671928406, -0.696139931678772, 0.17167967557907104, 0.2661246955394745, 0.7847297191619873, 0.4118709862232208, 0.23432902991771698, -0.8684828877449036, -0.6845793128013611, -0.7815803289413452, -0.20098429918289185, 0.39098060131073, 0.02455317974090576, 0.2949593961238861, -0.13254646956920624, 1.1210142374038696, -0.6075548529624939, -0.12195897847414017, -0.1226111501455307, 0.19202148914337158, 0.1147569864988327, 0.5626838803291321, 0.22805644571781158, -0.5849380493164062, -0.2733941376209259, -0.25708746910095215, -0.774711012840271, -0.39392638206481934, -0.4438076317310333, -0.14596694707870483, 0.3908188045024872, 0.7487758994102478, -0.5263746380805969, 0.8827813863754272, 0.35930895805358887, -0.6002222299575806, 0.48154857754707336, -0.28526902198791504, 0.3295457065105438, -0.7632926106452942, -0.14750170707702637, -0.3870640695095062, -0.1339656114578247, -0.5155545473098755, -0.14009694755077362, 0.28269535303115845, 0.33394408226013184, -0.3171074092388153, 0.7124654650688171, -0.31514477729797363, 0.3939628601074219, -0.24293267726898193, 0.35703548789024353, 0.27582502365112305, 0.3717043697834015, 0.108501136302948, 0.28020673990249634, 0.279771089553833, -0.5748386979103088, 0.27273499965667725, 0.6796126961708069, -0.21659612655639648, 0.8380380272865295, -0.44445693492889404, 0.3080989420413971, -0.2522945702075958, 0.2125357985496521, -0.6685659289360046, -0.011708805337548256, 0.2054361253976822, -0.23308107256889343, 0.056300271302461624, -0.39125707745552063, -0.2658352255821228, -0.043373722583055496, -0.28704652190208435, 0.6264219284057617, 0.19231626391410828, -0.4210658073425293, 0.5647497773170471, 0.19255173206329346, -0.33729130029678345, -0.8326019644737244, -0.697006106376648, 0.43004271388053894, -0.2242071032524109, -0.7680146098136902, 0.4943199157714844, -0.08062173426151276, -0.7517551183700562, 0.46408185362815857, -0.2862564027309418, 0.017456868663430214, 0.1860390305519104, 0.2044699639081955, 0.2120429277420044, 0.04601103812456131, 0.3511649966239929, 0.37937435507774353, -0.08810984343290329, -0.014408927410840988, -0.28836196660995483, -0.2794593870639801, 0.1655258983373642, -0.5274735689163208, -0.5075488090515137, 0.24487467110157013, 0.4178212583065033, -0.36222928762435913, 0.7144913673400879, 0.23917503654956818, -0.6335400342941284, -0.12743635475635529, -0.9366880655288696, 0.09555981308221817, -0.36797478795051575, 0.3351868689060211, -0.6356026530265808, -0.8592049479484558, 0.7779724597930908, 0.125990092754364, 0.05008256062865257, 0.8111705780029297, 0.16676148772239685, -0.191903218626976, 0.7429258823394775, 0.5465519428253174, 0.41539812088012695, 0.07227804511785507, 0.08325614035129547, 0.2000453621149063, -1.2231075763702393, -0.09328652918338776, -0.27930748462677, -0.5580806136131287, -0.2976544201374054, -0.4578472375869751, 0.4878063201904297, 0.5251529216766357, 0.05357380583882332, 0.15958204865455627, -0.16761514544487, 0.5884785652160645, 0.46695005893707275, 0.03446732833981514, 0.8095501065254211, -0.6300956606864929, 0.003077850444242358, -0.31011828780174255, -1.0047324895858765, -0.4171193242073059, 1.119122862815857, 0.26771023869514465, 0.8095646500587463, -0.10209471732378006, 0.7283720374107361, 0.35778066515922546, -0.03177544102072716, -0.15648135542869568, 0.3239555358886719, 0.25043314695358276, -0.7111263871192932, -0.5479264259338379, -0.16469474136829376, -0.5708445310592651, -0.06927388161420822, -0.2848204970359802, -0.8896067142486572, 0.7347790002822876, 0.5157139897346497, -0.6250549554824829, 0.7862188816070557, -0.3627933859825134, 0.9714577198028564, -0.1277526468038559, -0.8423469066619873, -0.2898752987384796, -0.6300624012947083, -0.008438657969236374, -0.11857859045267105, 0.5981566905975342, -0.1937181055545807, 0.025992389768362045, 0.7739134430885315, -0.37515711784362793, 0.8631795048713684, -0.1361161172389984, -0.2974439859390259, 0.6590871810913086, 0.5785220861434937, 1.0555319786071777, 0.42142990231513977, -0.20919537544250488, 0.003082896349951625, 0.04263461008667946, 0.18009765446186066, -0.6886011958122253, 0.5223363041877747, -0.4959448277950287, -0.6845937371253967, -0.04487444460391998, -0.6141680479049683, -0.27535396814346313, -0.02880481630563736, 0.23375914990901947, 0.7545304298400879, -0.46628257632255554, -0.0815013125538826, 0.6353980898857117, -0.2081841230392456, 0.5270758867263794, 0.43539658188819885, 0.008540858514606953, -0.23624537885189056, 0.3408704996109009, 0.40401193499565125, 0.16516095399856567, 0.43846723437309265, 0.09368163347244263, -0.16389138996601105, -0.5119469165802002, -0.6069187521934509, -0.11595206707715988, -0.915219247341156, -0.30965739488601685, -1.1042094230651855, 0.00634413119405508, -0.32205671072006226, -0.5592007040977478, -0.5804959535598755, -0.9371758103370667, -0.12072896212339401, -0.32988107204437256, 0.5528020262718201, 0.7514490485191345, -0.820864737033844, 0.11966707557439804, -0.9187277555465698, 0.32438039779663086, 0.3170119822025299, 0.566810131072998, -0.08813092112541199, -0.3850732445716858, -0.3000980019569397, 0.15137319266796112, -0.10504133254289627, -1.0190690755844116, -0.07849118113517761, 0.2570302188396454, 0.4830807149410248, 0.20883314311504364, 0.1802096664905548, 0.718142032623291, -0.5802386403083801, 0.6667525768280029, -0.3128843903541565, -1.2995775938034058, 0.8259219527244568, -0.404499888420105, 0.3441285490989685, 0.7321493029594421, 0.04949169605970383, -0.8341771960258484, -0.6604217886924744, -1.1333961486816406, -0.7945708632469177, 0.5479192733764648, 0.13989558815956116, -0.23616017401218414, -0.10158617049455643, 0.6545824408531189, 0.17636750638484955, 0.25944507122039795, -0.5751652121543884, -0.10093333572149277, 0.22158513963222504, -0.18626001477241516, 0.37135615944862366, -0.7166336178779602, -0.0066636535339057446, -0.42157962918281555, 0.9595104455947876, 0.150467649102211, -0.14807097613811493, 0.7244167923927307, -0.46567821502685547, -0.3615274131298065, 0.4882398843765259, 0.5345848798751831, 1.190307855606079, -0.3352324962615967, 0.33031171560287476, 0.6507956981658936, -0.19394558668136597, 0.16308808326721191, 0.11247684061527252, -0.42390352487564087, -0.12017279863357544, 0.5905455350875854, 0.6978156566619873, 0.2863643169403076, -0.4642413556575775, 0.35119712352752686, 0.1811264455318451, -0.13244305551052094, -0.0565033033490181, -0.01986151561141014, 0.053135763853788376, 0.41661351919174194, 0.16735723614692688, 0.01607082225382328, 0.11216403543949127, -0.22146020829677582, 0.3520549535751343, 0.18114107847213745, -0.41379961371421814, -0.3744378387928009, 1.0115032196044922, 0.4675011932849884, -0.11041416972875595, 0.5170674920082092, -0.40998244285583496, -0.6367421746253967, 0.5703539848327637, 0.2555234730243683, 0.9352887272834778, -0.2603864371776581, -0.1280268281698227, 0.4990150034427643, 0.5303352475166321, 0.3890240788459778, 0.24238085746765137, 0.13522356748580933, -0.9192447066307068, -0.9136211276054382, -0.42839863896369934, -0.4102959930896759, 0.2697697877883911, -0.32951879501342773, 0.3188025653362274, -0.18941578269004822, 0.03628787770867348, -0.16647425293922424, -0.2905326783657074, -0.7006189227104187, 0.19042499363422394, 0.33939090371131897, 1.1041828393936157, -0.614273190498352, 0.5052292346954346, 0.7512400150299072, 0.06506127864122391, -0.4816429316997528, -0.22510361671447754, 0.16608136892318726, -0.33334922790527344, 0.4204894006252289, -0.19317008554935455, -0.0386517159640789, -0.027520520612597466, -0.38599011301994324, -1.0137691497802734, 0.7085996866226196, 0.05921992287039757, -0.8158172369003296, -0.17174696922302246, 0.11767236888408661, 0.29314032196998596, -0.2632865011692047, -0.08522606641054153, 0.7176886796951294, 0.7940352559089661, -0.19192524254322052, -0.814154326915741, 0.15753750503063202, 0.05107371136546135, -0.4545130133628845, 0.2608572840690613, -0.43142473697662354, 0.442839652299881, -0.24675382673740387, 0.10535229742527008, -0.3283326029777527, 0.6494486331939697, -0.15789230167865753, 0.3484046161174774, 0.4687868058681488, 0.9120445251464844, 0.6739794611930847, -0.020261790603399277, 0.5865284204483032, -0.3793797492980957, 0.19474643468856812, 1.626623272895813, -0.26738592982292175, 0.47565940022468567, 0.4209705591201782, -0.0341716967523098, 0.6317139267921448, 0.31653672456741333, 0.15634019672870636, 0.2986486554145813, -0.1755634844303131, -0.11236447095870972, -0.4760209918022156, 0.028968114405870438, -0.21163621544837952, 0.7018084526062012, 0.3995189964771271, -0.03769871965050697, -0.2728475034236908, 0.035861410200595856, 0.4261454939842224, 0.15268361568450928, -0.34391844272613525, 0.8026700019836426, -0.05778326094150543, -0.7356697916984558, 0.07240677624940872, 0.13398337364196777, 0.14757105708122253, -0.3414158225059509, -0.25122925639152527, -0.011699279770255089, 0.14766477048397064, -0.1637716293334961, -0.986792266368866, 0.634802520275116, 0.098564513027668, -0.23647210001945496, -0.18399177491664886, 0.9834994077682495, -0.5778899788856506, -0.46980392932891846, 0.06407314538955688, 0.6431816816329956, -0.41397640109062195, -0.1935146301984787, -0.47619113326072693, 0.33188095688819885, 0.049534961581230164, -0.569344162940979, -0.21131081879138947, 0.89788818359375, -0.1736939698457718, 0.37317463755607605, 0.3992456793785095, 0.08565467596054077, -0.09176023304462433, -0.24653954803943634, 0.4741118550300598, -0.7895374894142151, -0.6778339743614197, -1.160103440284729, 0.8585188388824463, -0.17162932455539703, -0.3451850712299347, 0.4956669807434082, 0.4208235740661621, 0.7363715767860413, 0.28081920742988586, 0.8944327235221863, -0.2340405136346817, 0.3802665174007416, -0.5337321162223816, 0.372869074344635, -0.41206130385398865, 0.10412990301847458, -0.4962364733219147, -0.8513358235359192, -0.29957666993141174, 0.29706740379333496, -0.37254202365875244, -0.47494789958000183, 0.5951685309410095, 0.3543129861354828, 0.0349087119102478, 0.09670040011405945, 0.11135780811309814, 0.5536184906959534, 0.18698595464229584, 0.556601881980896, 0.9950485229492188, -0.3388337790966034, 0.2759818434715271, -0.4258996546268463, -0.2702869772911072, -0.15248249471187592, -1.4269746541976929, -0.8155255317687988, -0.6725354194641113, -0.7516592144966125, -0.21553434431552887, 0.3057180941104889, 1.1148114204406738, 0.23935164511203766, -0.432361364364624, 0.2567411959171295, 0.04637995362281799, 0.48247766494750977, -0.4255595803260803, -0.15611769258975983, 0.6821780800819397, -0.13312534987926483, -0.5483201742172241, 0.5186092853546143, 0.43326565623283386, -0.11249613016843796, 0.2918514609336853, 0.33966967463493347, -0.569491446018219, 0.231744647026062, 0.4680657684803009, 0.22017331421375275, -0.4180174171924591, -0.7121232748031616, -0.30405449867248535, 0.15577951073646545, 0.08689947426319122, 0.4759671986103058, -1.0009355545043945, 0.6540769934654236, 0.36717674136161804, 0.8680636882781982, 0.4008100628852844, 0.01871219463646412, 0.6929938793182373, -0.7917685508728027, 0.14808006584644318, -0.027169862762093544, 0.37696579098701477, 0.20233362913131714, -0.7590928077697754, 0.6903107762336731, 0.4013804793357849, -0.4857623279094696, -0.6606080532073975, 0.2983796000480652, -0.7721031904220581, -0.24805936217308044, 1.1219501495361328, 0.05660007521510124, -0.12256039679050446, -0.02480735443532467, -0.1042524129152298, 0.4431625306606293, 0.056301314383745193, 0.7712903022766113, 0.8887690305709839, -0.2934482991695404, 0.14039872586727142, -0.4486026465892792, 0.784756064414978, 0.38087743520736694, -0.6195917129516602, 0.41066059470176697, 0.6830490827560425, 0.14824937283992767, -0.008078188635408878, 0.4197889566421509, 0.08172023296356201, 0.361222505569458, -0.10266445577144623, 0.32830610871315, -0.42645779252052307, -0.49070635437965393, -0.16795757412910461, -0.026063906028866768, 0.03635036200284958, 0.08292170614004135 ]
http://arxiv.org/abs/2402.11297v1
http://arxiv.org/pdf/2402.11297v1
MMMModal -- Multi-Images Multi-Audio Multi-turn Multi-Modal
2024-02-17T14:37:38
2024-02-17T14:37:38
Husein Zolkepli, Aisyah Razak, Kamarul Adha, Ariff Nazhan
cs.CL
cs.CL
Our contribution introduces a groundbreaking multimodal large language model designed to comprehend multi-images, multi-audio, and multi-images-multi-audio within a single multiturn session. Leveraging state-of-the-art models, we utilize the SigLIP encoder for visual inputs and the Whisper Encoder for audio inputs. Notably, this multimodal large language model is bilingual, proficient in understanding both English and Malay simultaneously. We proudly unveil two versions of this model: TinyLlama with 1.1B parameters, and Mistral with 7B parameters. With its ability to navigate diverse modalities and languages, our model represents a significant advancement for the Malaysian context and beyond. All models released at https://huggingface.co/collections/mesolitica/multimodal-malaysian-llm-65c6f893e03f78fa9e5c8859
[ -0.518311619758606, -0.8919718265533447, 0.47569817304611206, 0.5827516913414001, -0.18402965366840363, -0.37320026755332947, -0.26254498958587646, -0.6282764077186584, 0.27230963110923767, 0.40992841124534607, -0.8320966362953186, -0.3013134300708771, -0.7962855696678162, -0.032294124364852905, -0.014225808903574944, 0.6140046715736389, 0.16222792863845825, 0.4741106927394867, -0.09245190024375916, -0.5342109799385071, -0.5908740758895874, -0.30062511563301086, -0.5173420906066895, -0.28997141122817993, 0.44284701347351074, 0.36730441451072693, 0.9914270639419556, 0.43697991967201233, 0.587935209274292, 0.32627424597740173, -0.02909073792397976, 0.21293236315250397, -0.21067233383655548, -0.015174970962107182, 0.11174421012401581, -0.5398123264312744, -0.6720695495605469, -0.2838155925273895, 0.8286687731742859, 0.7096785306930542, -0.05015706643462181, 0.34105154871940613, -0.1104811578989029, 0.3300858736038208, -0.5082331895828247, 0.5497043132781982, -0.2828976809978485, -0.00009278807556256652, -0.06763940304517746, -0.2755368649959564, -0.3749118149280548, -0.07531507313251495, 0.011026674881577492, -0.5779387354850769, -0.4525202214717865, -0.04918375983834267, 0.5374543070793152, 0.2671191394329071, -1.0402474403381348, -0.569437563419342, -0.8115606307983398, 0.7785260677337646, -0.7204034328460693, 0.836715042591095, 0.31096839904785156, 0.46828779578208923, 0.10385234653949738, -0.714055061340332, -0.6588513851165771, -0.27284812927246094, 0.10564082860946655, 0.08177849650382996, -0.01580698788166046, 0.033954497426748276, 0.11680299788713455, 0.3332635164260864, -0.5121287703514099, 0.1638583093881607, -0.4379330575466156, -0.2562730312347412, 0.49899527430534363, 0.36374905705451965, 0.5622316002845764, -0.41490429639816284, -0.4669824242591858, -0.07047736644744873, -0.720501720905304, 0.09517717361450195, 0.1749618947505951, 0.28958308696746826, -0.6411926746368408, 0.8774257898330688, 0.21166576445102692, 0.6437674164772034, -0.11274921149015427, -1.0516407489776611, 0.2607240080833435, -0.5571300387382507, -0.3240731954574585, -0.0705314353108406, 0.9714229702949524, 0.5033254027366638, -0.17321138083934784, 0.2803220748901367, -0.16561897099018097, 0.14543473720550537, -0.2229057103395462, -0.8788390159606934, 0.06748919188976288, 0.1336384266614914, -0.7502578496932983, -0.04653831198811531, -0.1893569380044937, -0.7324416637420654, -0.339809387922287, -0.382547527551651, 0.7561255693435669, -0.6086069941520691, -0.850862979888916, 0.3781415820121765, 0.16750814020633698, 0.2725518047809601, 0.44016653299331665, -0.9079504609107971, 0.12291327118873596, 0.3689331114292145, 0.8238582015037537, 0.11673344671726227, -0.5012641549110413, -0.18791809678077698, 0.2973901629447937, -0.21180737018585205, 0.4660659432411194, -0.6988492012023926, -0.6386392712593079, 0.09205073863267899, 0.15768328309059143, -0.17784331738948822, -0.3876653015613556, 0.42178070545196533, -0.49787139892578125, 0.3533516526222229, -0.2041129767894745, -0.0809071734547615, -0.5741609930992126, 0.20175741612911224, -0.9988005757331848, 0.8338190913200378, -0.039607349783182144, -0.5705332159996033, 0.3599109947681427, -0.9025900363922119, -0.3870788812637329, -0.2616003453731537, -0.10443348437547684, -0.10852310806512833, 0.12281608581542969, 0.422717809677124, 0.6900550723075867, -0.27497053146362305, 0.26656922698020935, -0.3974246084690094, -0.05390501394867897, 0.24363747239112854, -0.5624838471412659, 0.7403083443641663, 0.22307837009429932, -0.1309041529893875, 0.25521963834762573, -0.7450194358825684, -0.3250395655632019, 0.3457656502723694, -0.4023025631904602, -0.0991707593202591, -0.2464808076620102, 0.7797611951828003, 0.6460303664207458, 0.3991873860359192, -0.29179367423057556, 0.27141228318214417, -0.17953479290008545, 0.45202764868736267, 0.6608487963676453, -0.11408010870218277, 0.6260949373245239, -0.35734447836875916, 0.7354937195777893, 0.354451447725296, 0.24304795265197754, -0.8234645128250122, -0.703571081161499, -0.7064323425292969, -0.6679834127426147, 0.08144335448741913, 0.24171686172485352, -0.9050589799880981, -0.2362552434206009, -0.2810176610946655, -0.4134942591190338, -0.8572443723678589, 0.1788238137960434, 0.3433033525943756, -0.011192506179213524, 0.21651171147823334, -0.17290329933166504, -0.6870460510253906, -0.9826801419258118, 0.30974143743515015, -0.3127025067806244, 0.09128759801387787, 0.5445440411567688, 0.45908984541893005, -0.8249515295028687, 0.5308948755264282, -0.1443965882062912, -0.49561917781829834, -0.40730395913124084, 0.16079695522785187, 0.12528902292251587, 0.35632002353668213, 0.8755443692207336, -0.9953287243843079, -0.26670971512794495, 0.13090336322784424, -0.7627243995666504, 0.10494361817836761, -0.18976342678070068, 0.2508578598499298, 0.18888427317142487, 0.5931581854820251, -0.8422582149505615, 0.048109885305166245, 0.9278057217597961, -0.2043217271566391, 0.6643601059913635, -0.09280241280794144, 0.4516787827014923, -1.3643622398376465, -0.15332937240600586, 0.06480001658201218, -0.270940899848938, -0.34286725521087646, 0.6360613703727722, 0.1876080483198166, -0.06585054099559784, -0.6981256604194641, 0.5729100704193115, -0.6461166143417358, 0.046434130519628525, -0.3529537320137024, -0.17726199328899384, -0.09376231580972672, 0.5165977478027344, 0.09383028745651245, 0.7386583685874939, 0.8211405873298645, -0.6268061399459839, 0.49928122758865356, 0.16972993314266205, -0.20399555563926697, 0.5942877531051636, -0.7810945510864258, -0.14539209008216858, -0.10606999695301056, 0.1067076250910759, -1.146850347518921, -0.49995407462120056, 0.034088946878910065, -0.241305410861969, 0.5085667371749878, -0.3470911383628845, -0.685495138168335, -0.24277208745479584, -0.2588324546813965, 0.6363794803619385, 0.2778269946575165, -0.6164300441741943, 0.9651758074760437, 0.5869719982147217, -0.35743698477745056, -0.24162819981575012, -0.6385021805763245, 0.13319796323776245, -0.2492343783378601, -0.7232426404953003, 0.04436681419610977, -0.2025735229253769, -0.11209219694137573, -0.21036523580551147, 0.14897829294204712, -0.1848224252462387, -0.28364065289497375, 0.720151960849762, 0.41692784428596497, -0.6907374858856201, -0.031401511281728745, 0.1702515333890915, -0.05432075634598732, 0.037136852741241455, 0.025788702070713043, 0.7691993713378906, -0.4448997378349304, -0.5915544629096985, -0.6420764923095703, 0.5649269223213196, 1.1335673332214355, -0.1965199112892151, 0.7394300103187561, 1.0778065919876099, -0.4511716961860657, 0.4060407876968384, -0.5814039707183838, -0.07453861087560654, -0.5222700238227844, 0.5447463393211365, -0.9004508256912231, -1.078963279724121, 0.48637261986732483, -0.08793774247169495, -0.03696657344698906, 0.5378667712211609, 1.145592212677002, -0.20621682703495026, 1.364428162574768, 1.0787482261657715, -0.15686358511447906, 0.23794181644916534, -0.17756561934947968, 0.042737025767564774, -0.585803747177124, -0.5171689987182617, -0.14497169852256775, -0.024457909166812897, -0.6557901501655579, -0.5551785230636597, 0.5800989270210266, -0.12894944846630096, 0.0740693137049675, 0.2257780134677887, -0.06086001172661781, 0.2374790459871292, 0.5355868935585022, 0.12832853198051453, 0.4923323392868042, -0.24556982517242432, -0.37659522891044617, -0.4354703724384308, -0.6660155057907104, -0.5433813333511353, 1.130004644393921, 0.6832591891288757, 1.0631990432739258, 0.4626424312591553, 0.27917367219924927, 0.009676490910351276, 0.02373672090470791, -1.0339951515197754, 0.6440853476524353, 0.27866101264953613, -0.7439369559288025, 0.06150906905531883, -0.16194309294223785, -0.8125153183937073, 0.5820750594139099, -0.2951173782348633, -0.45440056920051575, -0.004351294133812189, -0.10928843915462494, -0.16748212277889252, 0.27410122752189636, -0.9133293628692627, 0.7826892137527466, -0.11798039823770523, -0.028289901092648506, -0.455634206533432, -0.5911935567855835, 0.8817108273506165, -0.08638429641723633, 0.49236050248146057, -0.12789352238178253, -0.23566275835037231, 0.5440504550933838, -0.06936339288949966, 0.712630569934845, -0.11460743099451065, -0.3085740804672241, 0.04041751101613045, 0.2964160740375519, -0.18930429220199585, 0.20594632625579834, 0.36519914865493774, 0.24077583849430084, 0.37012743949890137, -0.25634557008743286, -0.27308833599090576, 0.7300717234611511, -0.9258642792701721, -0.2572610080242157, -0.1908569037914276, -0.6218865513801575, -0.20735220611095428, 0.18531298637390137, 0.06592396646738052, 0.6481456756591797, -0.35813507437705994, 0.22314050793647766, 0.42205333709716797, -0.3142787218093872, 0.5836725831031799, 0.5874098539352417, -0.7414118051528931, -0.3659842312335968, 0.7522105574607849, -0.1504673808813095, 0.2598380148410797, 0.3042044937610626, -0.02707570791244507, -0.5783615708351135, -0.2556789815425873, -0.5446796417236328, 0.4832296371459961, -0.6809758543968201, 0.06493402272462845, -0.9925962686538696, -0.019930772483348846, -0.44507840275764465, 0.10297834873199463, -0.5801646113395691, -0.3910849988460541, -0.2731741964817047, 0.19311915338039398, 0.037704288959503174, 0.8905829191207886, -0.22190138697624207, 0.518109917640686, -0.8428913950920105, 0.8815070390701294, 0.6131645441055298, 0.08952563256025314, 0.0021879617124795914, -0.7335029244422913, -0.23939980566501617, 0.30011680722236633, -0.30092915892601013, -0.8024038076400757, 0.4124734699726105, 0.2979711592197418, 0.36970049142837524, 0.8258629441261292, -0.6132239103317261, 0.9038582444190979, -0.7673173546791077, 0.8111855983734131, 0.5400350689888, -0.7631703019142151, 0.47679316997528076, -0.48326390981674194, 0.5985692739486694, 0.08385983854532242, 0.6535462141036987, -0.664939820766449, -0.06346535682678223, -0.3856130838394165, -0.6313575506210327, 0.5726020932197571, -0.22061128914356232, 0.13399070501327515, 0.24274219572544098, -0.24116969108581543, 0.3511967360973358, 0.23914815485477448, -0.9278522729873657, -0.24480602145195007, -0.23331503570079803, -0.1266220062971115, -0.021996822208166122, -0.7189298868179321, -0.10819412767887115, -0.43476569652557373, 0.5759397745132446, -0.2712171971797943, 0.5676208734512329, -0.33397072553634644, -0.4749341607093811, -0.11891700327396393, 0.29393863677978516, 0.8150889277458191, 0.5274084210395813, -0.18807756900787354, 0.18512076139450073, -0.03661060705780983, -0.661998450756073, 0.16679726541042328, -0.08626136183738708, 0.31678396463394165, 0.19821758568286896, 0.4997791647911072, 0.772868812084198, 0.6161258220672607, -0.7381759881973267, 0.6437969207763672, -0.10757646709680557, -0.056661490350961685, -0.243480384349823, -0.19029384851455688, 0.48325881361961365, 0.4432699978351593, 0.4370565116405487, 0.1701679825782776, 0.19962570071220398, -0.7573021650314331, 0.023929884657263756, 0.42430323362350464, -0.15069127082824707, -0.6233038902282715, 0.9015835523605347, -0.08025231212377548, 0.06721360236406326, 0.16543440520763397, 0.04852655157446861, -0.3200289011001587, 0.303951233625412, 0.7698915600776672, 0.5909344553947449, -0.43365371227264404, 0.20050233602523804, 0.42738789319992065, 0.6191800832748413, -0.05763739347457886, 0.4487634301185608, -0.05313977226614952, -0.6768189072608948, -0.548882782459259, -0.6598697304725647, -0.5384537577629089, 0.1794244349002838, -0.818977952003479, 0.19577045738697052, -0.3638930320739746, -0.29521995782852173, 0.2808649241924286, -0.29080018401145935, -0.7944990396499634, 0.11789118498563766, 0.40617483854293823, 0.7368096113204956, -0.9344837069511414, 0.9316686391830444, 0.922068178653717, -0.5143752694129944, -0.6188340783119202, -0.3052847683429718, 0.32036179304122925, -1.0084220170974731, 0.612896203994751, 0.3267015218734741, -0.2528630197048187, -0.2883959710597992, -0.6081849336624146, -0.8133522868156433, 0.9214228391647339, 0.30549588799476624, -0.4505953788757324, -0.01401519775390625, 0.25026485323905945, 0.3326878845691681, -0.36918625235557556, 0.45832356810569763, 0.45932403206825256, 0.5397382378578186, 0.10245244204998016, -1.395752191543579, -0.30662280321121216, -0.39285916090011597, 0.06204984337091446, -0.003891194239258766, -0.745323121547699, 0.7412618398666382, -0.3950669765472412, -0.14631889760494232, 0.13178201019763947, 0.7656763195991516, 0.21640855073928833, 0.2598687708377838, 0.4549843668937683, 0.4881591796875, 0.27941298484802246, -0.09649812430143356, 0.9219961762428284, -0.01716974750161171, 0.06566672772169113, 1.0471338033676147, -0.05944519490003586, 0.9360553026199341, 0.6247550249099731, -0.3060908019542694, 0.11249188333749771, 0.5698091387748718, 0.2942996323108673, 0.5003672242164612, -0.7142001986503601, -0.23414279520511627, -0.1977638304233551, -0.4138205349445343, -0.6352820992469788, 0.94827800989151, 0.6399282813072205, -0.14301222562789917, -0.1409931629896164, 0.6170727610588074, -0.05708044022321701, -0.18311530351638794, -0.43165603280067444, 0.6779751181602478, 0.21851518750190735, -0.06082514673471451, 0.5485250353813171, 0.4428977370262146, 1.1563529968261719, -0.6887850165367126, 0.11059252172708511, 0.09535785019397736, -0.031232206150889397, -0.08905967324972153, -0.7556290030479431, 0.12600594758987427, -0.48239466547966003, -0.10813677310943604, -0.20705436170101166, 0.7841690182685852, -0.6320182681083679, -0.628764808177948, 0.3143519461154938, 0.7368443608283997, -0.06147143244743347, -0.10897944867610931, -0.8102636337280273, 0.3572444021701813, -0.09169671684503555, -0.11079344898462296, 0.14201204478740692, 0.44934794306755066, 0.18162846565246582, 0.8348191976547241, 0.5936570167541504, -0.07063545286655426, 0.36394599080085754, 0.2844831943511963, 0.7194616198539734, -0.6945701837539673, -0.575874924659729, -0.8663378357887268, 0.3740037679672241, 0.37523800134658813, -0.24774056673049927, 0.7667705416679382, 0.5608288645744324, 0.6582808494567871, -0.4288327693939209, 0.4041648209095001, 0.15303371846675873, 0.17055319249629974, -0.6568976044654846, 0.7136361002922058, -1.0558725595474243, -0.16027221083641052, -0.3855644762516022, -0.830788254737854, -0.16987302899360657, 0.6364277601242065, 0.07643973082304001, 0.10878907889127731, 0.5563033223152161, 0.9559997320175171, -0.36461055278778076, 0.15612484514713287, 0.5552076697349548, 0.3514724373817444, 0.16699174046516418, 0.5810514688491821, 1.0512452125549316, -0.5854297280311584, 0.3050364553928375, -0.20240482687950134, -0.14843618869781494, -0.3978085517883301, -0.6037537455558777, -1.0010685920715332, -0.9658437967300415, -0.12065732479095459, -0.13598927855491638, -0.489238440990448, 1.0450185537338257, 0.9594482183456421, -0.5968126058578491, -0.3465390205383301, 0.7104262113571167, -0.07483383268117905, -0.001108817639760673, -0.23594887554645538, 0.09456139802932739, 0.07319878786802292, -1.009987473487854, 0.4416806697845459, 0.8469436764717102, 0.3011380136013031, -0.7797936201095581, -0.2201719880104065, -0.3071034252643585, 0.07912862300872803, 1.0977447032928467, 0.08781832456588745, -0.8471654057502747, 0.19614514708518982, 0.0012530193198472261, -0.3790642321109772, 0.17597782611846924, 0.6854259967803955, -0.48461610078811646, 0.498792439699173, 0.1128309890627861, 0.4630850851535797, 0.8256136775016785, -0.7694111466407776, 0.3994942307472229, -0.42234036326408386, 0.7663695812225342, 0.04603677615523338, 0.7750207781791687, 0.40901145339012146, 0.008643101900815964, 0.2188364416360855, 0.14796221256256104, -0.23996229469776154, -0.7947021722793579, 0.26174527406692505, -1.5310580730438232, -0.16137707233428955, 1.2114330530166626, 0.3220669627189636, -0.2626313865184784, -0.006490886677056551, -0.5626432299613953, -0.062365274876356125, -0.12614662945270538, 0.45623326301574707, 0.8078777194023132, 0.4783168435096741, -0.6693059206008911, -0.726274311542511, 0.004381764214485884, 0.3572797179222107, -0.6033867001533508, -0.6273362040519714, 0.7352145910263062, 0.22962884604930878, 0.14554691314697266, 0.8791119456291199, -0.45458686351776123, 0.5610917806625366, 0.08222828060388565, 0.015685632824897766, -0.016407545655965805, -0.5781722068786621, -0.2778646945953369, 0.2792263925075531, 0.16027574241161346, -0.24758629500865936 ]
http://arxiv.org/abs/2402.11296v1
http://arxiv.org/pdf/2402.11296v1
Dissecting Human and LLM Preferences
2024-02-17T14:34:31
2024-02-17T14:34:31
Junlong Li, Fan Zhou, Shichao Sun, Yikai Zhang, Hai Zhao, Pengfei Liu
cs.CL
cs.CL, cs.AI
As a relative quality comparison of model responses, human and Large Language Model (LLM) preferences serve as common alignment goals in model fine-tuning and criteria in evaluation. Yet, these preferences merely reflect broad tendencies, resulting in less explainable and controllable models with potential safety risks. In this work, we dissect the preferences of human and 32 different LLMs to understand their quantitative composition, using annotations from real-world user-model conversations for a fine-grained, scenario-wise analysis. We find that humans are less sensitive to errors, favor responses that support their stances, and show clear dislike when models admit their limits. On the contrary, advanced LLMs like GPT-4-Turbo emphasize correctness, clarity, and harmlessness more. Additionally, LLMs of similar sizes tend to exhibit similar preferences, regardless of their training methods, and fine-tuning for alignment does not significantly alter the preferences of pretrained-only LLMs. Finally, we show that preference-based evaluation can be intentionally manipulated. In both training-free and training-based settings, aligning a model with the preferences of judges boosts scores, while injecting the least preferred properties lowers them. This results in notable score shifts: up to 0.59 on MT-Bench (1-10 scale) and 31.94 on AlpacaEval 2.0 (0-100 scale), highlighting the significant impact of this strategic adaptation. Interactive Demo: https://huggingface.co/spaces/GAIR/Preference-Dissection-Visualization Dataset: https://huggingface.co/datasets/GAIR/preference-dissection Code: https://github.com/GAIR-NLP/Preference-Dissection
[ -0.7384763956069946, -0.390101820230484, 0.5123394727706909, -0.06600663810968399, -0.08880250155925751, 0.13385923206806183, -0.3738791346549988, -0.5820634961128235, 0.06530050188302994, 0.2358042299747467, -0.36169561743736267, -0.33903512358665466, -0.5422360301017761, 0.04276500642299652, 0.018771089613437653, 1.2163445949554443, -0.04811236262321472, 0.045463934540748596, -0.2060302197933197, -0.3499600887298584, -0.34519487619400024, -0.7377867102622986, -0.48712727427482605, -0.6511995792388916, 0.8982060551643372, 0.4899790585041046, 1.0804786682128906, 0.6306896209716797, 0.42500054836273193, 0.24554583430290222, -0.13960522413253784, -0.0024672006256878376, -0.5311828851699829, -0.13728880882263184, -0.38082194328308105, -0.43218863010406494, -0.7039616703987122, 0.3382393419742584, 0.2892605662345886, 0.6388952136039734, -0.03709637001156807, 0.20978710055351257, 0.2060636579990387, 0.9292213916778564, -0.5732150673866272, -0.10153379291296005, -0.5377787351608276, -0.0141347860917449, -0.0754503607749939, -0.1896345019340515, -0.26524868607521057, -0.29874929785728455, 0.3681403696537018, -0.4559158384799957, 0.04318036884069443, 0.11811989545822144, 1.0009591579437256, 0.3849966824054718, -0.6729868054389954, -0.06983514875173569, -0.5578836798667908, 0.9069337248802185, -0.5275323390960693, 0.30598199367523193, 0.4934143126010895, 0.2947714030742645, -0.07921619713306427, -0.14305642247200012, -0.4382776618003845, -0.18430252373218536, -0.1405709832906723, 0.0659807100892067, -0.16727221012115479, 0.20873047411441803, 0.1756621152162552, 0.255447119474411, -0.640302300453186, 0.5059453845024109, -0.12668268382549286, -0.342316597700119, 0.8112832903862, 0.2578299641609192, 0.2087135761976242, -0.23196017742156982, -0.22409503161907196, -0.3792775869369507, -0.7489614486694336, 0.3332292139530182, 0.5654417276382446, 0.1670762002468109, -0.19317752122879028, 0.5415892601013184, -0.3149837255477905, 0.6610148549079895, 0.1825612336397171, -0.21116790175437927, 0.25519171357154846, -0.030826829373836517, -0.2505035102367401, -0.06980905681848526, 0.8803718090057373, 0.9008679986000061, 0.44925203919410706, -0.06687334179878235, -0.1683993935585022, 0.21300296485424042, 0.27985048294067383, -0.5975738763809204, -0.014944984577596188, 0.14951840043067932, -0.45826637744903564, -0.345676451921463, -0.12349388003349304, -0.5216037034988403, -0.5472736358642578, -0.737043023109436, 0.28546249866485596, -0.18679684400558472, 0.1391317993402481, 0.45718449354171753, -0.0571226105093956, 0.3771543800830841, 0.4102685749530792, -1.1931229829788208, 0.3144107758998871, 0.7172331213951111, 0.6716616153717041, -0.3675278127193451, -0.22881610691547394, -0.31472504138946533, -0.047900520265102386, -0.12794341146945953, 0.6925971508026123, -0.34133192896842957, -0.5027600526809692, -0.5130831599235535, -0.16540196537971497, -0.008245659060776234, -0.5095173120498657, 0.600394070148468, -0.39406177401542664, 0.20667363703250885, -0.5944435000419617, -0.34832921624183655, -0.21395641565322876, 0.29065245389938354, -0.5396314263343811, 0.5809508562088013, 0.09824535250663757, -0.6605173349380493, 0.601483941078186, -0.6853880882263184, -0.18097223341464996, -0.3711346387863159, -0.16886264085769653, -0.2464890331029892, -0.04834391549229622, 0.2847498059272766, 0.3412635326385498, -0.22810445725917816, 0.25959429144859314, -0.6875953078269958, -0.3383530378341675, 0.45877784490585327, -0.3390042781829834, 0.5925515294075012, 0.34567639231681824, -0.19828489422798157, 0.41687408089637756, -0.5653871297836304, -0.07749246060848236, 0.14561598002910614, -0.3681693375110626, -0.2953318953514099, 0.06613747775554657, -0.17997078597545624, 0.22353029251098633, 0.2508593201637268, -0.2545127272605896, 0.21139277517795563, -0.3995228409767151, 0.5090655088424683, 1.0840733051300049, -0.0870889350771904, 0.7447904944419861, -0.6078483462333679, 0.4540608823299408, -0.21117272973060608, 0.409963458776474, 0.5084599852561951, -0.14561493694782257, -0.9123125672340393, -0.2021026760339737, 0.20797701179981232, 0.2532270550727844, 0.019342247396707535, 0.4835835099220276, -0.37315353751182556, -0.3746669888496399, -0.6015132069587708, 0.21134856343269348, 0.2588580846786499, 0.5614314675331116, 0.2528521418571472, -0.29713886976242065, -0.504944384098053, -1.2433832883834839, -0.19410757720470428, -0.32634732127189636, -0.14925460517406464, 0.4040985107421875, 0.2840615510940552, -0.18375666439533234, 1.062095046043396, -0.5726057887077332, 0.04818066209554672, -0.12783131003379822, -0.13803574442863464, 0.13729912042617798, 0.28641068935394287, 0.8666110634803772, -0.7458081841468811, -0.5572469830513, 0.058001551777124405, -0.39020586013793945, 0.03968936949968338, 0.07009495049715042, -0.4061345160007477, 0.1286795437335968, -0.003909974358975887, -0.4217458963394165, 0.29862847924232483, 0.459628701210022, -0.14116725325584412, 0.5129838585853577, -0.05225168168544769, 0.19685640931129456, -0.7974331378936768, 0.07027706503868103, 0.18905512988567352, -0.2844444811344147, -0.35691866278648376, 0.01059927698224783, -0.06737370789051056, 0.46716809272766113, -0.43768349289894104, 0.643018901348114, -0.19954629242420197, -0.2770576477050781, -0.20503604412078857, 0.048045963048934937, 0.2898561656475067, 0.4708971381187439, 0.2923319637775421, 0.7742346525192261, 0.12779593467712402, -0.45034462213516235, 0.21585752069950104, 0.45565539598464966, -0.23741599917411804, 0.3655014932155609, -0.7244203090667725, 0.3951147496700287, 0.07154100388288498, 0.18928852677345276, -0.8431313037872314, -0.3983822166919708, 0.41070765256881714, -0.3569023609161377, 0.11789946258068085, -0.28112727403640747, -0.2712791860103607, -0.10731656849384308, -0.606483519077301, 0.17368099093437195, 0.5769450664520264, -0.47471076250076294, 0.2144695669412613, 0.38228365778923035, -0.22331470251083374, -0.6736835837364197, -0.6324284672737122, 0.042029354721307755, -0.610745906829834, -0.5444358587265015, 0.2139231264591217, -0.46707573533058167, -0.5027922987937927, -0.26839393377304077, -0.14662128686904907, 0.23315320909023285, 0.3800104260444641, 0.45743995904922485, 0.7246735692024231, -0.002878734841942787, -0.009329264983534813, -0.1129903495311737, -0.1456226408481598, -0.0663582906126976, -0.027862489223480225, 0.5080655813217163, -0.4669142961502075, -0.43871909379959106, -0.21327336132526398, -0.02337869256734848, 0.5320970416069031, -0.19857995212078094, 0.4662148058414459, 0.2805025577545166, 0.0057023074477910995, 0.29400989413261414, -0.4349111020565033, -0.24916666746139526, -0.43596115708351135, 0.17307277023792267, -0.2675468921661377, -1.05958890914917, 0.34996750950813293, 0.22875267267227173, 0.0912896990776062, 0.3928428292274475, 0.7605898976325989, -0.4170873463153839, 1.093271017074585, 0.3559134900569916, -0.5200265645980835, 0.40510743856430054, -0.0004137239884585142, -0.06547865271568298, -0.912043035030365, -0.02531176060438156, -0.49726250767707825, -0.6845195293426514, -0.5653096437454224, -0.08357713371515274, 0.40434566140174866, -0.0041046589612960815, -0.4980265498161316, 0.010997450910508633, -0.5091780424118042, 0.5350448489189148, 0.26551657915115356, 0.19123996794223785, 0.22796492278575897, -0.017078008502721786, -0.07484132796525955, -0.07708512991666794, -0.33990734815597534, -0.8619789481163025, 1.1884331703186035, 0.517879843711853, 0.8466295599937439, 0.17342707514762878, 0.6412820219993591, 0.18793784081935883, 0.18497803807258606, -0.9781220555305481, 0.37875640392303467, -0.06815522164106369, -0.59649658203125, -0.43118491768836975, -0.31151339411735535, -0.8044459819793701, 0.3079946041107178, -0.31716644763946533, -0.8279359340667725, 0.2254466861486435, 0.35678836703300476, -0.6649432182312012, 0.04733924940228462, -0.6698437333106995, 0.7942087054252625, -0.6821356415748596, -0.463786244392395, -0.23680375516414642, -0.9210276007652283, 0.23424674570560455, -0.12266881763935089, 0.14160200953483582, -0.35845619440078735, 0.0931592807173729, 0.5617530941963196, -0.17728960514068604, 0.8876204490661621, 0.039110079407691956, 0.04074077680706978, -0.0006014939863234758, 0.08650743216276169, 0.27592259645462036, 0.088688425719738, -0.316574364900589, 0.09927081316709518, -0.03847690299153328, -0.2546629309654236, -0.5731318593025208, 0.5865971446037292, -1.1221073865890503, -0.7947421669960022, -0.4193063974380493, -0.521939218044281, -0.3867027759552002, 0.015054956078529358, 0.05194507911801338, 0.1003456711769104, -0.29908454418182373, 0.005941732320934534, 0.511907160282135, -0.18325884640216827, 0.12229626625776291, 0.47703081369400024, -0.2955497205257416, -0.1310853213071823, 0.6587587594985962, -0.1852744221687317, 0.5358597636222839, 0.2919332683086395, 0.48091840744018555, -0.555761456489563, -0.5303742289543152, -0.3682047426700592, 0.1268821507692337, -0.653637707233429, 0.023686910048127174, -0.45211973786354065, 0.016013117507100105, -0.16503176093101501, -0.35008668899536133, -0.22435535490512848, -0.4182972013950348, -0.4841826558113098, -0.41724884510040283, 0.4056372344493866, 0.4967400133609772, -0.05305979400873184, 0.3661216199398041, -0.5538070797920227, 0.1921309381723404, 0.4048954248428345, 0.2574225068092346, -0.09594521671533585, -0.7634848356246948, -0.04438948258757591, 0.3222410976886749, -0.3205292522907257, -0.4719673693180084, 0.3511563241481781, 0.04738376662135124, 0.521189272403717, 0.5428122282028198, -0.008652441203594208, 0.7805078029632568, -0.23991309106349945, 0.5452125668525696, 0.22059713304042816, -0.8116292953491211, 0.3709634840488434, -0.32744184136390686, 0.00008574536332162097, 0.8137461543083191, 0.518039345741272, -0.6225593686103821, 0.01962500624358654, -0.2583766281604767, -0.552401602268219, 0.7235081195831299, -0.24991723895072937, 0.05292073264718056, 0.17003069818019867, 0.4249345362186432, 0.3399621248245239, -0.02981594204902649, -0.6827731728553772, -0.06686480343341827, -0.2583998739719391, -0.0757894292473793, -0.2737884223461151, -0.31456875801086426, -0.5054225921630859, -0.3008681833744049, 0.42218756675720215, -0.20279768109321594, -0.20066718757152557, -0.054649073630571365, -0.1869332492351532, -0.052245721220970154, 0.6263633966445923, 0.6094816327095032, 0.6157395839691162, -0.5903961062431335, 0.20283687114715576, 0.20210127532482147, -0.11276622861623764, 0.4404524862766266, -0.23678116500377655, -0.016926532611250877, -0.5626440644264221, 0.1662309318780899, 0.871576726436615, 0.1596979796886444, -0.5355827808380127, 0.3644248843193054, -0.14637576043605804, -0.21432390809059143, 0.07994482666254044, 0.2547595500946045, 0.36935698986053467, 0.15773959457874298, -0.06161434203386307, 0.2905781865119934, 0.2433338761329651, -0.4611772894859314, -0.09805946052074432, 0.4314323961734772, -0.34650880098342896, -0.4658161699771881, 0.46090176701545715, 0.1612798422574997, 0.0714254155755043, 0.3632822036743164, -0.1944935917854309, -0.3271942436695099, 0.28997665643692017, 0.16125789284706116, 0.6294322609901428, 0.07487783581018448, 0.24105380475521088, 0.12825928628444672, 0.03440319746732712, -0.09071023017168045, -0.04605555161833763, 0.06929843127727509, -1.1013532876968384, -0.21134912967681885, -0.7212711572647095, -0.4423585534095764, 0.020932026207447052, -0.8778506517410278, 0.3266555666923523, -0.5112671852111816, -0.3574641942977905, 0.20796966552734375, -0.06239936128258705, -0.7187076210975647, 0.10862483084201813, 0.19648513197898865, 0.6012707352638245, -0.6766594052314758, 0.7802731394767761, 0.7533196806907654, -0.45436879992485046, -0.8125942945480347, -0.15625645220279694, 0.3863496482372284, -0.9362522959709167, 0.633948802947998, -0.03332307189702988, -0.132221519947052, -0.2799890339374542, -0.41920235753059387, -0.6268818974494934, 1.0082930326461792, 0.6970100998878479, -0.794365406036377, -0.08572133630514145, 0.3013124167919159, 0.6250496506690979, -0.1964554786682129, 0.2781981825828552, 0.76126629114151, 0.5386847853660583, 0.0059213787317276, -1.0014177560806274, -0.11209343373775482, 0.17888440191745758, -0.16561666131019592, 0.08193574845790863, -0.8676441311836243, 0.6616209149360657, -0.31772923469543457, -0.042528703808784485, -0.07234738767147064, 0.17071077227592468, 0.3424138128757477, 0.2222384214401245, 0.6674063205718994, 0.3983975946903229, 0.6349201202392578, 0.10796324163675308, 1.0174463987350464, -0.11536075174808502, 0.26956823468208313, 1.2173348665237427, -0.5515486598014832, 0.7320782542228699, 0.6955662965774536, -0.3735846281051636, 0.27058297395706177, 0.9469298720359802, 0.18618059158325195, 0.427499383687973, 0.195356547832489, -0.04545951634645462, -0.3674734830856323, -0.1860206574201584, -0.20684705674648285, 0.7460494041442871, 0.06800442934036255, -0.1325966864824295, -0.06615551561117172, -0.28035059571266174, -0.00874222069978714, 0.06364738941192627, -0.08603248745203018, 0.8078613877296448, 0.1218273937702179, -0.6219420433044434, 0.5497724413871765, -0.06240613013505936, 0.6808675527572632, -0.5677473545074463, 0.25216370820999146, -0.23761408030986786, -0.08529327064752579, -0.40977296233177185, -0.886684238910675, 0.11645116657018661, -0.003759735496714711, -0.35067683458328247, -0.24226731061935425, 0.615153431892395, -0.10587511211633682, -0.04140471667051315, 0.28486549854278564, 0.46378231048583984, 0.14055295288562775, -0.12401110678911209, -0.724484384059906, 0.13579994440078735, 0.27129891514778137, -0.34575095772743225, 0.7691548466682434, 0.0264222864061594, -0.40926265716552734, 0.6634153127670288, 0.6944471001625061, 0.06579156965017319, -0.24632234871387482, 0.28002673387527466, 0.8672300577163696, -0.5537571310997009, -0.247028186917305, -1.0198739767074585, 0.3906533420085907, 0.05885551869869232, -0.2475476711988449, 0.5154827833175659, 0.5692633986473083, 0.7288357615470886, -0.01355748437345028, 0.8632341623306274, 0.22955501079559326, 0.38248637318611145, -0.5460556745529175, 0.8097353577613831, -0.5061347484588623, 0.34052810072898865, -0.16322758793830872, -0.8423091173171997, -0.07561367750167847, 0.5778290629386902, -0.5571647882461548, -0.032888736575841904, 0.3027578592300415, 0.6898878216743469, 0.01841065287590027, -0.22617127001285553, 0.32679417729377747, -0.19228748977184296, 0.4112299084663391, 0.5895127058029175, 1.061356544494629, 0.16852152347564697, 0.24388326704502106, -0.18147514760494232, -0.27221912145614624, -0.3567752540111542, -0.8870407938957214, -0.7446922063827515, -0.26602840423583984, -0.17033997178077698, -0.04364151135087013, -0.06732035428285599, 1.235267996788025, 0.6908993124961853, -0.7330067753791809, -0.3181236982345581, 0.3151974380016327, 0.08948837965726852, 0.1943580061197281, -0.1344841867685318, 0.20887763798236847, -0.06986164301633835, -0.5613772869110107, 0.1999480426311493, 0.2583440840244293, 0.24852046370506287, -0.12791860103607178, -0.525180459022522, 0.06624578684568405, -0.021996036171913147, 0.46413934230804443, 0.32148808240890503, -0.8124321103096008, -0.7158710956573486, 0.10997185856103897, -0.28676435351371765, 0.35145118832588196, 0.49986693263053894, -0.4622684419155121, 0.4120693802833557, 0.28019994497299194, 0.5050376653671265, 0.478608638048172, 0.13338328897953033, 0.6197394728660583, -0.4668351113796234, 0.13474434614181519, 0.0702686533331871, 0.5288919806480408, 0.32739531993865967, -0.42513149976730347, 0.5376056432723999, -0.06793151050806046, -0.7439454793930054, -0.5678227543830872, 0.2523943781852722, -1.2052057981491089, -0.11306239664554596, 1.0841838121414185, -0.016990501433610916, -0.024108631536364555, 0.1309395432472229, -0.45690906047821045, 0.11535055190324783, -0.5326418280601501, 0.8993690609931946, 0.8301304578781128, -0.4622752070426941, 0.15779069066047668, -0.5383286476135254, 0.53841632604599, 0.44609326124191284, -0.6327406764030457, -0.06946181505918503, 0.5774844288825989, 0.6618476510047913, -0.060076553374528885, 0.4578492045402527, -0.16989102959632874, 0.18363416194915771, -0.5256527662277222, 0.31781095266342163, -0.0504022091627121, -0.037699002772569656, -0.5119935870170593, -0.2716433107852936, 0.6417145729064941, -0.11458075791597366 ]
http://arxiv.org/abs/2402.11295v3
http://arxiv.org/pdf/2402.11295v3
OneBit: Towards Extremely Low-bit Large Language Models
2024-02-17T14:26:57
2024-05-22T03:55:10
Yuzhuang Xu, Xu Han, Zonghan Yang, Shuo Wang, Qingfu Zhu, Zhiyuan Liu, Weidong Liu, Wanxiang Che
cs.CL
cs.CL
Model quantification uses low bit-width values to represent the weight matrices of existing models to be quantized, which is a promising approach to reduce both storage and computational overheads of deploying highly anticipated LLMs. However, current quantization methods suffer severe performance degradation when the bit-width is extremely reduced, and thus focus on utilizing 4-bit or 8-bit values to quantize models. This paper boldly quantizes the weight matrices of LLMs to 1-bit, paving the way for the extremely low bit-width deployment of LLMs. For this target, we introduce a 1-bit model compressing framework named OneBit, including a novel 1-bit parameter representation method to better quantize LLMs as well as an effective parameter initialization method based on matrix decomposition to improve the convergence speed of the quantization framework. Sufficient experimental results indicate that OneBit achieves good performance (at least 81% of the non-quantized performance on LLaMA models) with robust training processes when only using 1-bit weight matrices.
[ -0.631999135017395, -0.6795791387557983, 0.5900176763534546, 0.20561248064041138, -0.6662667989730835, -0.006534359883517027, 0.09497274458408356, -0.3069300353527069, 0.27444666624069214, 0.6183391809463501, -0.48391345143318176, -0.3900550603866577, -0.46958571672439575, -0.27551743388175964, -0.5217793583869934, 0.3800950348377228, 0.2857515513896942, 0.08333895355463028, -0.08726024627685547, -0.12781071662902832, 0.08586837351322174, -0.6553754210472107, -0.6419984102249146, -0.14069683849811554, 0.14857032895088196, 0.21321892738342285, 0.8587133288383484, 0.9215054512023926, 0.5953295230865479, 0.1785895824432373, -0.30976414680480957, -0.390390008687973, -0.2704046368598938, -0.1448380947113037, 0.2681843340396881, -0.706885039806366, -0.7536274194717407, -0.0795358344912529, 0.9336211681365967, 0.9706987738609314, -0.32692578434944153, 0.6397020220756531, -0.3706382215023041, 0.7509359121322632, -0.7247973680496216, -0.2846626341342926, -0.4418317973613739, 0.2006656378507614, -0.07684748619794846, -0.021610060706734657, -0.39202532172203064, -0.290538489818573, -0.11939919739961624, -0.4313795566558838, 0.1255701631307602, 0.4058554172515869, 0.6734674572944641, 0.24179458618164062, -0.34946903586387634, 0.18786543607711792, -0.7520814538002014, 0.8596468567848206, -1.055731177330017, 0.5129250884056091, 0.251967191696167, 0.12282271683216095, 0.1320049911737442, -0.4824505150318146, -0.5154252648353577, 0.07121658325195312, 0.3416459858417511, -0.5774253010749817, -0.595618724822998, 0.37111642956733704, 0.27531012892723083, 0.3797070384025574, -0.5624623894691467, 0.13831570744514465, -0.4278910458087921, -0.26848816871643066, 0.3691336214542389, 0.26902249455451965, -0.1209334135055542, 0.10299692302942276, -0.5464339256286621, -0.06178335100412369, -1.128774642944336, -0.15065869688987732, 0.6441220641136169, 0.36279451847076416, -0.02047775685787201, 0.2429356426000595, -0.05967102199792862, 0.7746649980545044, -0.06229156255722046, -0.1866675764322281, -0.1508151739835739, -0.033651676028966904, -0.47552841901779175, 0.2602927088737488, 0.7339972257614136, -0.12228990346193314, 0.03217118978500366, -0.06292837858200073, -0.37918660044670105, 0.20064596831798553, 0.20257285237312317, -1.2155773639678955, -0.06553693115711212, 0.1374119520187378, -0.9070194959640503, -0.1698678433895111, -0.3396383225917816, -0.34601107239723206, -0.3056860566139221, -0.07117806375026703, 0.7360665798187256, -0.4173749089241028, -0.2907998561859131, 0.44677796959877014, 0.30380457639694214, 0.20814011991024017, 0.31926074624061584, -0.8336867690086365, 0.629753053188324, 0.5500145554542542, 0.7999851107597351, 0.174125537276268, 0.2548639178276062, -0.2228015512228012, -0.03656617924571037, -0.6035181879997253, 0.3851218521595001, -0.398906946182251, -0.21847069263458252, -0.2831673324108124, -0.47658178210258484, 0.6091935038566589, -0.573882520198822, 0.0006153215654194355, -0.6578516364097595, -0.4204074740409851, -0.05871984362602234, -0.543834924697876, -0.17280051112174988, 0.2544489800930023, -0.9079492688179016, 0.5622596144676208, 0.20702441036701202, -0.5454542636871338, 0.17608079314231873, -0.43060407042503357, -0.31606975197792053, 0.051738955080509186, 0.01722867041826248, -0.41687479615211487, 0.5729561448097229, 0.04652075469493866, 0.48634493350982666, -0.7026908993721008, -0.10619249939918518, -0.408368319272995, -0.77739417552948, 0.15135347843170166, -0.8794482946395874, 0.8817917108535767, 0.4561769664287567, 0.12043147534132004, -0.29698827862739563, -1.0726752281188965, 0.22887055575847626, 0.2534346282482147, -0.5469407439231873, -0.058033548295497894, -0.15468226373195648, -0.0659702941775322, 0.15412065386772156, 0.3636948764324188, -0.7083963751792908, 0.3489616811275482, -0.5480051040649414, 0.5384899377822876, 0.7273435592651367, -0.07058137655258179, 0.4997948408126831, -0.0803627148270607, 0.9651491045951843, 0.009756823070347309, 0.36026355624198914, -0.30181917548179626, -0.01219727098941803, -0.9044017791748047, -0.4033512473106384, 0.7172272205352783, 0.23319752514362335, -0.4616479277610779, 0.26973459124565125, -0.49234673380851746, -0.30720391869544983, -0.8185019493103027, 0.14799514412879944, 0.28158193826675415, -0.117813341319561, 0.1418527066707611, -0.30707305669784546, -0.5560995936393738, -1.08245050907135, 0.22492730617523193, -0.4307437837123871, -0.1677377074956894, -0.1814728081226349, 0.32748180627822876, 0.0020602894946932793, 0.9445969462394714, -0.29448574781417847, -0.0023757333401590586, -0.21138186752796173, -0.014850644394755363, 0.09882720559835434, 0.6148741245269775, 0.3017011284828186, -0.6397707462310791, -0.22665467858314514, -0.39423868060112, -0.3143523931503296, 0.2991838753223419, 0.20455247163772583, 0.06436800956726074, 0.2758268415927887, 0.47427111864089966, -0.2512180805206299, 0.5301347374916077, 0.766390860080719, -0.2566004991531372, 0.2404453456401825, -0.1271350383758545, -0.1904403567314148, -0.812833309173584, -0.04921560734510422, 0.014555953443050385, -0.696097731590271, -0.39975690841674805, 0.035768210887908936, 0.0986545979976654, -0.12718716263771057, -0.7914780378341675, 0.44987624883651733, -0.3340229392051697, -0.12420598417520523, -0.2360253483057022, -0.19814568758010864, 0.07081656157970428, 0.4793429970741272, -0.1671948879957199, 0.7825130820274353, 0.6006277799606323, -0.7204378247261047, 0.34647712111473083, 0.10418039560317993, -0.3962414860725403, 0.43760186433792114, -0.6912612915039062, 0.036620937287807465, -0.1556810736656189, 0.11583658307790756, -0.9914736151695251, 0.23275935649871826, -0.20840448141098022, -0.39545154571533203, 0.43238115310668945, -0.42269572615623474, -1.0545371770858765, -0.11070894449949265, -0.5444511771202087, 0.5665410161018372, 0.6470641493797302, -0.5063323974609375, 0.48671507835388184, 0.4010249376296997, 0.009816447272896767, -0.21313580870628357, -1.1112064123153687, -0.04786919802427292, -0.21774980425834656, -0.5540332794189453, 0.1434229016304016, -0.07882706075906754, -0.07013330608606339, -0.05996512994170189, -0.305826336145401, -0.11570896208286285, 0.20781557261943817, 0.10827171802520752, 0.28550395369529724, -0.3456060588359833, 0.45781949162483215, -0.0499737374484539, -0.16312021017074585, 0.06901967525482178, -0.37120771408081055, 0.6871017217636108, -0.2636556327342987, -0.2407931685447693, -0.13751651346683502, 0.4151378273963928, 0.2854914665222168, -0.2565511167049408, 0.8602703213691711, 0.5401899218559265, -0.4805697202682495, -0.21379512548446655, -0.5040847063064575, -0.17031988501548767, -0.4883992075920105, 0.2971474826335907, -0.4960726499557495, -0.9698758721351624, 0.4867617189884186, -0.36957621574401855, -0.24301539361476898, 0.11855359375476837, 0.3379693925380707, 0.06120061129331589, 1.3324977159500122, 1.1607028245925903, -0.17579759657382965, 0.4519925117492676, -0.5334863662719727, 0.31108909845352173, -0.9710612893104553, 0.30561399459838867, -0.473785936832428, -0.2862779498100281, -0.6570788621902466, -0.3031350374221802, 0.5188398957252502, 0.29736655950546265, -0.5806986689567566, 0.44242045283317566, -0.5614432692527771, 0.4740903377532959, 0.5965642333030701, 0.30452102422714233, 0.19682982563972473, 0.1309633105993271, -0.0839678943157196, 0.1967412233352661, -0.953252375125885, -0.795634925365448, 1.1360054016113281, 0.6573134064674377, 1.1664848327636719, 0.34229815006256104, 0.7660488486289978, 0.15851493179798126, -0.04157598316669464, -0.6910258531570435, 0.7727522253990173, -0.22557033598423004, -0.8254095911979675, -0.43791627883911133, -0.5728068351745605, -0.74127596616745, 0.1475326269865036, -0.1816851794719696, -0.9056947827339172, 0.030435437336564064, 0.20517772436141968, -0.7710763812065125, 0.5125540494918823, -0.5482369065284729, 0.7666919827461243, 0.0526573583483696, -0.27843302488327026, -0.18713130056858063, -0.691374659538269, 0.34242361783981323, 0.03014276921749115, 0.2243121862411499, -0.30057597160339355, -0.39741671085357666, 0.932306170463562, -0.5281557440757751, 0.791871964931488, -0.11598692089319229, -0.41405341029167175, 0.43390873074531555, 0.6305490136146545, 0.5336296558380127, -0.019976800307631493, -0.06838038563728333, 0.2023565024137497, 0.4408748745918274, -0.6503797173500061, -0.3968493640422821, 0.5550116300582886, -0.571989119052887, -0.38375306129455566, -0.00874517671763897, -0.40044713020324707, -0.3522034287452698, -0.10611247271299362, 0.27959492802619934, 0.5179615020751953, 0.1516384780406952, 0.0952770784497261, 1.145187497138977, -0.23407161235809326, 0.5067477226257324, 0.4884727895259857, -0.26749569177627563, -0.2597951889038086, 1.0427453517913818, 0.16491059958934784, 0.4970438778400421, 0.6054892539978027, 0.08889016509056091, -0.09833022952079773, -0.635597288608551, -0.30303955078125, 0.22859707474708557, -0.9807442426681519, -0.5083858370780945, -0.29788705706596375, 0.022059191018342972, -0.4534111022949219, -0.10809612274169922, -0.8520850539207458, -0.754264235496521, -0.2395290583372116, 0.06430693715810776, 0.1155000850558281, 0.5648049116134644, -0.004243095871061087, 0.9377894997596741, -0.8998438715934753, 0.1705724000930786, 0.20850837230682373, 0.7357404828071594, 0.1259322166442871, -0.7589300870895386, -0.5976437330245972, -0.3135867118835449, -0.28456196188926697, -0.635033905506134, 0.28278782963752747, -0.019125834107398987, 0.19877134263515472, 0.57743901014328, -0.05892902985215187, 0.5594514012336731, -0.3602791130542755, 0.7311328649520874, 0.26285940408706665, -1.292191743850708, 0.47816815972328186, 0.18174543976783752, 0.41791701316833496, 0.5481410026550293, 0.642853319644928, -0.2744907736778259, 0.03009108081459999, -0.6070716977119446, -0.9086726307868958, 0.664837658405304, -0.16419218480587006, 0.3584679067134857, 0.12889720499515533, 0.31412363052368164, 0.07564224302768707, 0.5063737034797668, -0.8000189065933228, -0.49500226974487305, 0.2513895034790039, -0.26156479120254517, 0.25648728013038635, -0.5166584253311157, 0.25184616446495056, -0.006992944050580263, 0.8278117775917053, -0.1827010214328766, 0.655265212059021, -0.1323757767677307, -0.17244364321231842, -0.31552672386169434, 0.24062195420265198, 0.26269134879112244, 0.6009116768836975, -0.3834840655326843, 0.3002471327781677, 0.06928616762161255, -0.28103017807006836, 0.5638589859008789, -0.12398910522460938, -0.06987134367227554, -0.15286007523536682, 0.3868131935596466, 0.9163286685943604, 0.05558820068836212, -0.7066130042076111, 0.6077852249145508, 0.025340206921100616, 0.0015574932331219316, -0.1034349575638771, 0.05544522777199745, -0.06628718227148056, 0.23319590091705322, 0.2468923181295395, -0.3906877934932709, 0.3144954741001129, -0.478488028049469, -0.09615010768175125, 0.6539562344551086, -0.34650304913520813, -0.40464842319488525, 0.6172234416007996, 0.06913534551858902, -0.03832486271858215, 0.5312108993530273, -0.5932142734527588, -0.44292357563972473, 0.4234953224658966, 0.4939028322696686, 0.6213449835777283, -0.04143979027867317, -0.09504188597202301, 0.3687768876552582, 0.5930843949317932, -0.1381601095199585, 0.3157607316970825, -0.19027192890644073, -0.6233933568000793, -0.6310229301452637, -0.8720184564590454, -0.35929733514785767, 0.04326608404517174, -0.4863334596157074, 0.23893296718597412, -0.7247824668884277, -0.29269513487815857, -0.13169480860233307, 0.263772189617157, -0.6182793378829956, 0.3078538775444031, 0.6587911248207092, 1.0192238092422485, -0.6418247222900391, 0.844116747379303, 0.6478026509284973, -0.30872994661331177, -0.7379903793334961, -0.45296305418014526, -0.19044919312000275, -0.7015588879585266, 0.5254790186882019, 0.018507234752178192, 0.1373460739850998, 0.43605899810791016, -0.9809877872467041, -0.9897518754005432, 1.017015814781189, 0.8349881768226624, -0.8971295356750488, -0.1974451094865799, 0.3966382145881653, 0.1325228363275528, -0.1256837546825409, 0.15287500619888306, 0.5576079487800598, 0.3302431106567383, 0.1326320469379425, -0.7895984649658203, 0.17626149952411652, 0.2223382443189621, 0.36140963435173035, 0.5843710899353027, -0.7297400832176208, 1.0701857805252075, -0.10645045340061188, -0.3389771282672882, 0.10536723583936691, 0.49942612648010254, 0.06760362535715103, -0.1894247829914093, 0.40588343143463135, 0.7627495527267456, 0.43513593077659607, 0.15720152854919434, 0.9644757509231567, -0.5581477284431458, 0.45741361379623413, 0.7706048488616943, -0.1074468195438385, 0.8562520146369934, 0.695539653301239, -0.7350285649299622, 0.15897077322006226, 0.3899465501308441, 0.21125157177448273, 0.24465565383434296, 0.6734122037887573, -0.43780604004859924, -0.6399930715560913, -0.0025047692470252514, 0.21354977786540985, 0.40565189719200134, 0.24027754366397858, -0.1540132462978363, -0.24659541249275208, 0.24964122474193573, -0.0596357062458992, -0.19142067432403564, -0.667007565498352, 0.49694329500198364, 0.046223223209381104, 0.11415518075227737, 0.8282873630523682, 0.3099844753742218, 0.9105741381645203, -0.7028213739395142, -0.10641536116600037, -0.19568946957588196, 0.05139834061264992, 0.07308068126440048, -0.3495411276817322, -0.06598328053951263, -0.11276190727949142, -0.2215196043252945, -0.11043988913297653, 0.6178562045097351, -0.22788141667842865, -0.6974819898605347, -0.050631292164325714, 0.4279967248439789, 0.2100083827972412, -0.5160724520683289, -0.31665804982185364, 0.5943742990493774, -0.17699576914310455, -0.4419696033000946, 0.411596417427063, 0.46386629343032837, 0.043426379561424255, 0.9760684370994568, 0.31025999784469604, 0.3367007374763489, 0.26181793212890625, -0.3548794686794281, 0.7644545435905457, -0.8511181473731995, -0.3103007972240448, -0.9002564549446106, 0.16988366842269897, 0.6408121585845947, 0.009660124778747559, 0.40402722358703613, 0.5977131724357605, 0.7498913407325745, 0.18257246911525726, 0.5879594087600708, 0.046244893223047256, 0.32196688652038574, -0.5481781959533691, 0.5198976397514343, -0.624774694442749, 0.49726971983909607, 0.1187046468257904, -0.7631587386131287, -0.2576362192630768, 0.6720598340034485, 0.24211324751377106, 0.1364678293466568, 0.3641376197338104, 0.727883517742157, 0.02824273146688938, -0.42687615752220154, 0.8493807315826416, 0.0506063811480999, 0.217099130153656, 0.7288042902946472, 0.49660980701446533, -0.7169082164764404, 0.6680545210838318, -0.49722054600715637, -0.04835228621959686, -0.1919981986284256, -0.896013617515564, -0.6664963364601135, -0.42470458149909973, -0.4602600038051605, -0.1584453582763672, -0.20922265946865082, 1.3081833124160767, 1.1546940803527832, -0.4699484705924988, -0.15370100736618042, -0.05802121385931969, -0.08800584077835083, 0.23266686499118805, -0.18816156685352325, 0.1734033226966858, -0.1656595915555954, -0.5402941703796387, 0.14059554040431976, 0.3058488368988037, 0.3971467614173889, -0.9375132918357849, -0.03456087037920952, -0.08960673213005066, 0.5363523364067078, 0.6183167099952698, -0.03565051779150963, -0.3766186237335205, 0.055791936814785004, -0.201097771525383, -0.13131333887577057, 0.1296713650226593, 0.6990265846252441, -1.2337039709091187, 0.2083698809146881, 0.2254522293806076, 0.5005396008491516, 0.6217520236968994, -0.21229775249958038, 0.11728832125663757, -0.9828709363937378, 0.29200685024261475, 0.3331654965877533, 0.22592605650424957, 0.30878788232803345, -0.15593014657497406, 0.4717826247215271, -0.11593493819236755, -0.3288886547088623, -1.0107795000076294, 0.16717563569545746, -0.8796528577804565, -0.3591510057449341, 0.9556943774223328, -0.16251905262470245, -0.681162416934967, 0.5664278864860535, -0.0049742949195206165, 0.0989099070429802, -0.32628563046455383, 0.3151313066482544, 0.661806046962738, 0.07079936563968658, -0.2513822913169861, -0.5597066879272461, 0.03236407786607742, 0.2977285087108612, -0.47028353810310364, 0.0416351780295372, 0.2934988737106323, 0.25254860520362854, 0.21512284874916077, 0.6442456841468811, 0.01141941174864769, 0.13039080798625946, 0.3734852075576782, 0.5895333886146545, -0.1383412629365921, -0.23432838916778564, -0.8504622578620911, 0.12252812832593918, 0.49363863468170166, -0.24368974566459656 ]
http://arxiv.org/abs/2402.11291v2
http://arxiv.org/pdf/2402.11291v2
Puzzle Solving using Reasoning of Large Language Models: A Survey
2024-02-17T14:19:38
2024-04-20T07:04:28
Panagiotis Giadikiaroglou, Maria Lymperaiou, Giorgos Filandrianos, Giorgos Stamou
cs.CL
cs.CL, cs.AI
Exploring the capabilities of Large Language Models (LLMs) in puzzle solving unveils critical insights into their potential and challenges in AI, marking a significant step towards understanding their applicability in complex reasoning tasks. This survey leverages a unique taxonomy -- dividing puzzles into rule-based and rule-less categories -- to critically assess LLMs through various methodologies, including prompting techniques, neuro-symbolic approaches, and fine-tuning. Through a critical review of relevant datasets and benchmarks, we assess LLMs' performance, identifying significant challenges in complex puzzle scenarios. Our findings highlight the disparity between LLM capabilities and human-like reasoning, particularly in those requiring advanced logical inference. The survey underscores the necessity for novel strategies and richer datasets to advance LLMs' puzzle-solving proficiency and contribute to AI's logical reasoning and creative problem-solving advancements.
[ -0.28131672739982605, -0.9922617673873901, 0.922697901725769, 0.1789773851633072, -0.0007374815759249032, 0.26887959241867065, -0.37754860520362854, -0.42772114276885986, -0.08664032816886902, 0.39466196298599243, -0.8169277906417847, -0.396633505821228, -0.7808290719985962, 0.3713477849960327, -0.39622434973716736, 0.43619266152381897, -0.01501456554979086, 0.135716512799263, -0.6005598902702332, 0.1689980924129486, -0.5260451436042786, -0.4991331994533539, -0.7117821574211121, -0.5057926774024963, 0.6505899429321289, 0.4762476980686188, 0.5176360607147217, 0.558505654335022, 0.6377755999565125, 0.3374779224395752, -0.37964093685150146, 0.5291110277175903, -0.42044007778167725, 0.26693812012672424, -0.1506885588169098, -1.043057918548584, -0.2762766480445862, 0.05982936546206474, 0.3028571903705597, 0.7952836751937866, -0.22047200798988342, 0.20036397874355316, -0.37289121747016907, 0.5968113541603088, -0.2741791009902954, 0.4557174742221832, -0.7764487862586975, 0.22436179220676422, -0.388316810131073, -0.019334139302372932, -0.38990235328674316, -0.30574098229408264, -0.021714553236961365, -0.6536282300949097, -0.06627944856882095, 0.2677706778049469, 0.3803738057613373, 0.5645864605903625, -0.4729039669036865, -0.4588598906993866, -0.7784181833267212, 0.7142950296401978, -0.7690749168395996, 0.1422255039215088, 0.27625155448913574, 0.09909235686063766, -0.5374298691749573, -0.3911212086677551, -0.5542683005332947, -0.3335573971271515, 0.22254477441310883, -0.11364515125751495, -0.2484494000673294, -0.20474134385585785, 0.7516695857048035, 0.22182318568229675, -0.5257117748260498, 0.41784361004829407, -0.18594098091125488, -0.0020436388440430164, 1.0285136699676514, 0.6072853207588196, 0.33679449558258057, 0.0171214509755373, 0.23478762805461884, -0.037929095327854156, -0.8663249611854553, 0.051424190402030945, 0.1954466700553894, 0.08923254162073135, 0.09282903373241425, 0.6855686902999878, -0.14852690696716309, 0.7808103561401367, -0.21945583820343018, -0.1663104146718979, 0.07508233934640884, -0.1663440465927124, -0.028092732653021812, -0.19277673959732056, 0.6687377095222473, 0.1763990819454193, 0.48664426803588867, -0.05968132242560387, -0.3670775294303894, -0.07340822368860245, -0.13258518278598785, -0.38041964173316956, -0.253335565328598, 0.10074428468942642, -0.3602098226547241, 0.1012062057852745, -0.35532376170158386, -0.41238731145858765, -0.8184147477149963, -0.4468657076358795, 0.40256258845329285, -0.13764306902885437, -0.41176655888557434, 0.36088934540748596, -0.2599383592605591, 0.31857311725616455, 0.6043872833251953, -0.5952050089836121, -0.006027865223586559, 0.9415484666824341, 0.5408117771148682, -0.07958616316318512, -0.023855386301875114, -0.359619140625, 0.010419380851089954, -0.526228129863739, 0.7854962944984436, -0.7100932002067566, -0.3403775691986084, -0.07449223846197128, -0.13004374504089355, -0.005632263608276844, -0.9372389912605286, 0.5905607342720032, -0.3843643367290497, -0.025647873058915138, -0.4414841830730438, -0.6145488619804382, -0.28663724660873413, 0.5759642720222473, -0.7685492634773254, 0.7439623475074768, -0.24777278304100037, -0.3843238353729248, -0.10170520097017288, -0.6930910348892212, -0.6250028610229492, 0.15348875522613525, -0.34836816787719727, -0.24350909888744354, 0.38943982124328613, 0.2642904818058014, 0.5229936838150024, -0.8221834301948547, 0.35028302669525146, -0.27579858899116516, -0.2429567277431488, 0.42424046993255615, -0.3665153384208679, 0.7755770087242126, 0.23912383615970612, -0.19727782905101776, 0.11056934297084808, -0.605417013168335, 0.0005454542697407305, 0.5995442271232605, -0.07590943574905396, -0.12632404267787933, 0.465824156999588, -0.290860116481781, 0.3527261018753052, 0.39275461435317993, -0.37155652046203613, 0.562903642654419, -0.15853053331375122, 0.6918670535087585, 0.6068379282951355, -0.2181081920862198, -0.02800656296312809, -0.40321096777915955, 0.5989160537719727, 0.1494540572166443, -0.09416141360998154, -0.09608938544988632, -0.68217933177948, -0.785114586353302, -0.12347909063100815, 0.17175649106502533, 0.7183753848075867, -0.6721919178962708, 0.334909051656723, -0.15664057433605194, -0.6637688279151917, -0.47928252816200256, 0.07217676937580109, 0.23838435113430023, 0.34214112162590027, 0.15722474455833435, 0.02912370301783085, -0.49678894877433777, -0.8346855640411377, -0.33291178941726685, -0.19019684195518494, -0.1400085687637329, 0.4804081916809082, 0.7291238903999329, -0.18770486116409302, 0.6963773965835571, -0.5372963547706604, -0.11376256495714188, -0.3952171504497528, 0.2655567526817322, 0.3243124186992645, 0.24764886498451233, 0.033578041940927505, -0.766107976436615, -0.2222147434949875, -0.14528144896030426, -0.8555564284324646, -0.20731860399246216, -0.11611629277467728, 0.38008978962898254, 0.23599980771541595, 0.7478668689727783, -0.8588102459907532, 0.2512277066707611, 0.32423827052116394, -0.30060359835624695, 0.5773663520812988, -0.10905449837446213, 0.06791620701551437, -0.758588433265686, -0.09417831897735596, -0.035139936953783035, 0.12881311774253845, -0.449146568775177, 0.13404624164104462, -0.2532564699649811, 0.05016431212425232, -0.11834234744310379, 0.2665507197380066, -0.7198367118835449, -0.018764419481158257, -0.054267991334199905, 0.20528551936149597, -0.35302987694740295, 0.20436939597129822, 0.11760807037353516, 0.49202972650527954, 0.5293706655502319, -0.27850937843322754, 0.7048097848892212, 0.10580503940582275, -0.5663365125656128, 0.3940262794494629, -0.689847469329834, 0.300117552280426, -0.34558579325675964, 0.2552112340927124, -0.9939121603965759, -0.22892174124717712, 0.1842714548110962, -0.30864906311035156, 0.12985500693321228, 0.17848585546016693, -1.0179686546325684, -0.4787534475326538, 0.07699480652809143, 0.5733237862586975, 0.5340170860290527, -0.18441903591156006, 0.6171775460243225, 0.3834296762943268, -0.0811091959476471, -0.41703322529792786, -0.611548662185669, 0.4669294059276581, -0.3224034309387207, -0.67413729429245, 0.10840527713298798, -0.3023230731487274, -0.5381393432617188, -0.14562004804611206, -0.17287801206111908, 0.1299188733100891, 0.3217580318450928, 0.035468775779008865, 0.05469653382897377, -0.129827618598938, -0.017812667414546013, -0.3163953125476837, 0.019510503858327866, 0.5294612050056458, 0.08887879550457001, 0.5070313811302185, -0.17535853385925293, -0.6748532056808472, -0.23829783499240875, 0.48795586824417114, 0.6000164747238159, -0.578948438167572, 0.5273947715759277, 0.23742248117923737, -0.46046996116638184, -0.20971077680587769, -0.6607025265693665, -0.16988633573055267, -0.4122113883495331, 0.6305598616600037, -0.47550714015960693, -1.2639240026474, 0.6860455274581909, -0.331461101770401, 0.015428049489855766, 0.1747370958328247, 0.8152832984924316, -0.1368192434310913, 1.3151912689208984, 0.29797378182411194, -0.15843114256858826, -0.009754952974617481, -0.10865192115306854, 0.5137039422988892, -0.6460593342781067, -0.6412094831466675, -0.7199925184249878, -0.4863874614238739, -0.33850809931755066, -0.6099134087562561, 0.4110208749771118, 0.04585842043161392, -0.2720445394515991, 0.01123209297657013, -0.4754624664783478, 0.5228180885314941, 0.4435127377510071, -0.081122986972332, 0.5559174418449402, -0.3047812581062317, 0.10321813076734543, 0.10112583637237549, -0.7216631174087524, -0.2856850028038025, 0.988008975982666, 0.2377784252166748, 0.8253049254417419, 0.24568411707878113, 0.4636054039001465, 0.05768485367298126, 0.025186141952872276, -0.947119951248169, 0.8771229982376099, 0.09689734131097794, -0.866765558719635, -0.4143071174621582, -0.574415922164917, -1.0620187520980835, 0.14134733378887177, -0.23541948199272156, -0.8909542560577393, -0.38015177845954895, -0.033064115792512894, -0.09862092137336731, 0.44858700037002563, -0.379529744386673, 0.6590388417243958, -0.4413357079029083, 0.10339975357055664, -0.4605366885662079, -0.5903524160385132, 0.5957419872283936, 0.0012409851187840104, 0.2928681969642639, -0.22812557220458984, -0.10817591845989227, 0.6345266103744507, 0.013792332261800766, 0.6969223618507385, 0.18956266343593597, -0.4001852869987488, 0.2766377031803131, 0.30013972520828247, 0.5311263203620911, 0.014468241482973099, 0.03204423189163208, 0.10505316406488419, -0.043574973940849304, -0.2230883240699768, -0.6656240224838257, 0.5470393300056458, -0.6600487232208252, -1.2553768157958984, -0.5527375340461731, -1.114357352256775, -0.32688218355178833, 0.09016965329647064, -0.040890883654356, 0.18671901524066925, 0.10445641726255417, 0.3341875672340393, 1.005588173866272, -0.017142999917268753, 0.4182984530925751, 0.4802972972393036, -0.16135193407535553, 0.02906820736825466, 0.8297990560531616, 0.2395826131105423, -0.00992164108902216, 0.4150485694408417, 0.061788395047187805, -0.22394567728042603, -0.9823606610298157, -0.13822023570537567, 0.24567364156246185, -0.640896737575531, -0.019960865378379822, -0.31348174810409546, -0.40393128991127014, 0.005162473767995834, 0.07720250636339188, -0.2114643007516861, -0.30998140573501587, -0.2772293984889984, 0.2260277420282364, 0.20086298882961273, 0.8446458578109741, 0.19296568632125854, -0.08361925184726715, -0.7060473561286926, 0.31646090745925903, 0.4227268695831299, 0.10622387379407883, 0.13349974155426025, -0.24445386230945587, -0.04724075272679329, 0.014004873111844063, -0.03322846069931984, -0.8584818840026855, 0.03124668449163437, -0.23089200258255005, 0.6817286610603333, 0.19882893562316895, -0.02749343030154705, 0.596805989742279, -0.5589801073074341, 0.8566895127296448, 0.0160357803106308, -0.791002631187439, 0.3704078495502472, -0.4845363199710846, 0.38721540570259094, 0.06224419176578522, 0.4469917416572571, -0.6170768737792969, -0.15858162939548492, -0.35317564010620117, -0.5908072590827942, 0.48989805579185486, 0.13667340576648712, -0.19659361243247986, 0.049891356378793716, 0.5170566439628601, -0.3051092326641083, 0.2754461467266083, -0.5867117643356323, -0.24209052324295044, 0.41960591077804565, -0.26629212498664856, -0.12704573571681976, 0.009062271565198898, -0.29713743925094604, -0.507338285446167, 0.4466218054294586, -0.06811695545911789, 0.14871500432491302, -0.10983439534902573, -0.19294047355651855, -0.2036927491426468, 0.2371615320444107, 0.7539215683937073, 0.7346528768539429, 0.09786860644817352, 0.00567939318716526, 0.2470872402191162, -0.09331339597702026, 0.2555692493915558, 0.038141220808029175, -0.036379702389240265, -0.37688571214675903, 0.5439892411231995, 0.5751708745956421, -0.29386991262435913, -1.1665825843811035, 0.27870550751686096, -0.12664015591144562, -0.4444337487220764, -0.29413843154907227, 0.3837847411632538, 0.6450559496879578, 0.5283694863319397, 0.44816452264785767, -0.12407528609037399, 0.04870262369513512, -0.5169030427932739, -0.34130236506462097, 0.7813069820404053, -0.0424717552959919, -0.1919798105955124, 0.5693022012710571, 0.010497666895389557, -0.6625399589538574, 0.9304410219192505, -0.18499045073986053, -0.4866521656513214, 1.0329113006591797, 0.6013555526733398, 0.7145391702651978, 0.06679848581552505, 0.03857225179672241, 0.04454943165183067, 0.6300896406173706, -0.2900622487068176, 0.3886449635028839, 0.11553046852350235, -0.8075965642929077, -0.6536211967468262, -0.16911044716835022, -0.4666984975337982, 0.41719233989715576, -0.34054315090179443, 0.042591795325279236, -0.43881988525390625, 0.08357271552085876, -0.08974432200193405, 0.05996190384030342, -0.5393045544624329, -0.013195047155022621, 0.6384061574935913, 1.1787060499191284, -0.6585909128189087, 0.482555627822876, 1.0023071765899658, -0.1883024424314499, -0.8013791441917419, -0.1522264927625656, 0.29778173565864563, -0.6050768494606018, 0.5384780168533325, 0.09590810537338257, -0.06452994793653488, -0.10254503041505814, -0.9393510818481445, -0.8021178245544434, 1.020078420639038, 0.5296970009803772, -0.7358843684196472, -0.1981297731399536, 0.3656814396381378, 0.5325816869735718, -0.4400203227996826, 0.32092276215553284, 0.8775659799575806, 0.6848276853561401, 0.10344679653644562, -0.9554058909416199, 0.053051553666591644, -0.3918602466583252, 0.0058550662361085415, 0.23382513225078583, -0.8078001141548157, 0.8348535895347595, -0.1323416531085968, 0.11943095922470093, 0.1596289873123169, 0.5977470874786377, 0.6091915965080261, 0.36368703842163086, 0.5872146487236023, 0.8697077035903931, 0.8037565350532532, -0.28124576807022095, 0.608653724193573, 0.0064486125484108925, 0.10629450529813766, 0.8798299431800842, -0.4517943263053894, 0.6776301860809326, 0.3706027567386627, -0.14722144603729248, 0.5350833535194397, 0.656920850276947, -0.12622374296188354, 0.08723793923854828, 0.7261828780174255, -0.18056680262088776, -0.8082491755485535, -0.17596161365509033, -0.24416407942771912, 0.6129987835884094, 0.7272486090660095, 0.15130212903022766, -0.2274581342935562, -0.2134827971458435, 0.07465663552284241, 0.21020379662513733, -0.6213491559028625, 0.6868003606796265, 0.23881761729717255, -0.8678723573684692, 0.4749186336994171, 0.09327420592308044, 0.5376237630844116, -0.49876949191093445, -0.16574104130268097, -0.11418391019105911, 0.029188616201281548, -0.147551491856575, -1.0127816200256348, 0.10629036277532578, 0.021305322647094727, -0.17517942190170288, -0.09743630141019821, 0.439486563205719, -0.39466020464897156, -0.42212551832199097, -0.012600643560290337, 0.7794903516769409, 0.09824177622795105, -0.0658380389213562, -0.7113245725631714, 0.20992831885814667, -0.006538498681038618, -0.22724799811840057, 0.30709150433540344, 0.6722765564918518, -0.38713616132736206, 1.1854554414749146, 0.5091522336006165, -0.08223861455917358, 0.002755326684564352, -0.11931229382753372, 0.8024629950523376, -0.9746831059455872, -0.1700870543718338, -0.9265183210372925, 0.46934962272644043, -0.008242575451731682, -0.3323018252849579, 0.6442010998725891, 0.476440966129303, 0.7364836931228638, -0.13958843052387238, 0.6385951042175293, 0.0002344944077776745, 0.24379509687423706, -0.5156625509262085, 0.5747869610786438, -0.5649490356445312, 0.2561638355255127, -0.1980339139699936, -0.7717084288597107, -0.4781810939311981, 0.4883696138858795, -0.3034040033817291, -0.05372457951307297, 0.5924564599990845, 0.9134987592697144, 0.12726753950119019, 0.22283180058002472, 0.17039580643177032, 0.39659440517425537, 0.43855705857276917, 1.1070871353149414, 1.2694746255874634, 0.022667914628982544, 0.3870986998081207, 0.1568571925163269, -0.07183381170034409, -0.14671196043491364, -0.9528849720954895, -1.193093180656433, -0.601899266242981, -0.3804178535938263, 0.03762258216738701, -0.17124341428279877, 1.0491849184036255, 0.35813942551612854, -0.660219132900238, -0.33999571204185486, -0.03007275052368641, 0.4209694266319275, -0.17207157611846924, -0.1538926362991333, 0.05986941233277321, -0.25947868824005127, -0.7367627620697021, 0.5833428502082825, 0.2373475283384323, -0.27926695346832275, -0.40764787793159485, -0.014009754173457623, -0.2964124381542206, 0.3564777672290802, 0.6532086730003357, 0.31573763489723206, -0.9888581037521362, -0.24489842355251312, 0.16746634244918823, 0.0740661770105362, -0.1253940761089325, 0.845495879650116, -0.6380089521408081, 0.2739547789096832, 0.6819901466369629, 0.8477607369422913, 0.44197383522987366, -0.24767223000526428, 0.30080559849739075, -0.3400135338306427, 0.0014884656993672252, 0.48428061604499817, 0.42766720056533813, 0.17371636629104614, -0.2178906947374344, 0.47878608107566833, 0.2173856496810913, -0.5828924775123596, -0.9442415237426758, 0.4229617714881897, -0.8896914124488831, -0.40562334656715393, 0.9034857749938965, 0.024267658591270447, -0.1880052387714386, -0.023561017587780952, -0.1090080514550209, 0.0008474822388961911, -0.06458989530801773, 0.8025779724121094, 1.0415681600570679, -0.4077591001987457, -0.4385659396648407, -0.4456061124801636, 0.3592904508113861, 0.580780565738678, -0.8122111558914185, -0.01120117399841547, 0.6559956669807434, 0.07729476690292358, 0.10607904195785522, 0.3682098090648651, -0.060846153646707535, 0.2994380593299866, -0.35857006907463074, -0.16948096454143524, -0.2827844023704529, -0.4791543781757355, -0.4405490458011627, 0.25533339381217957, 0.18891659379005432, 0.44139260053634644 ]
http://arxiv.org/abs/2402.11282v1
http://arxiv.org/pdf/2402.11282v1
Grammaticality illusion or ambiguous interpretation? Event-related potentials reveal the nature of the missing-NP effect in Mandarin centre-embedded structures
2024-02-17T13:43:39
2024-02-17T13:43:39
Qihang Yang, Caimei Yang, Yu Liao, Ziman Zhuang
cs.CL
cs.CL
In several languages, omitting a verb phrase (VP) in double centre-embedded structures creates a grammaticality illusion. Similar illusion also exhibited in Mandarin missing-NP double centre-embedded structures. However, there is no consensus on its very nature. Instead of treating it as grammaticality illusion, we argue that ambiguous interpretations of verbs can best account for this phenomenon in Mandarin. To further support this hypothesis, we conducted two electroencephalography (EEG) experiments on quasi double centre-embedded structures whose complexity is reduced by placing the self-embedding relative clauses into the sentence's subject position. Experiment 1 showed that similar phenomenon even exhibited in this structure, evidenced by an absence of P600 effect and a presence of N400 effect. In Experiment 2, providing semantic cues to reduce ambiguity dispelled this illusion, as evidenced by a P600 effect. We interpret the results under garden-path theory and propose that word-order difference may account for this cross-linguistic variation.
[ 0.08705520629882812, -0.9329713582992554, 0.618985116481781, 0.4221556484699249, -0.3742321729660034, -0.36723193526268005, -0.04449240863323212, -0.44552579522132874, 0.49505019187927246, 0.06731400638818741, -0.30408716201782227, 0.03404374048113823, -0.5596906542778015, 0.06937197595834732, -0.27718836069107056, 0.2931655943393707, 0.1430412381887436, 0.1371208280324936, -0.03973947837948799, -0.08651899546384811, -0.40085649490356445, -0.6547273993492126, -0.4095359444618225, -0.40255868434906006, 0.29492998123168945, 0.08664144575595856, 1.0880318880081177, 0.47122281789779663, 0.06882484257221222, 0.2687883973121643, -0.46837541460990906, -0.020812861621379852, 0.10066664963960648, -0.30039525032043457, -0.23004189133644104, -1.0212314128875732, -0.4757474660873413, -0.06519473344087601, 0.725168764591217, 0.9307038187980652, 0.04772017523646355, -0.35819771885871887, 0.1132231280207634, 0.8674928545951843, -0.7464038133621216, 0.15490251779556274, -0.41392555832862854, 0.4724748432636261, -0.04823571443557739, -0.06536487489938736, -0.32732781767845154, 0.21993066370487213, 0.2030368149280548, -0.19604922831058502, 0.10769906640052795, 0.00740547850728035, 1.177039384841919, 0.045777346938848495, -0.47562965750694275, -0.01532792393118143, -0.5489364266395569, 0.4366844594478607, -0.5251801609992981, 0.2802489399909973, 0.15454354882240295, -0.02595626935362816, -0.37746596336364746, -0.4173824191093445, -0.9259724617004395, -0.3747551143169403, -0.45986008644104004, 0.33919811248779297, -0.36495426297187805, 0.404177188873291, 0.14977498352527618, 0.39577850699424744, -0.667130708694458, -0.006358390673995018, -0.15041770040988922, 0.05217421054840088, 0.2696252465248108, -0.04740177094936371, 0.618659496307373, -0.8657228350639343, -0.34307315945625305, 0.2679682672023773, -0.925632894039154, 0.24487654864788055, 0.4019087255001068, 0.2283797711133957, 0.037342626601457596, 0.7974351644515991, -0.036516688764095306, 0.7345987558364868, 0.2655789852142334, 0.5116747617721558, 0.23830865323543549, -0.2620711326599121, -0.4215090274810791, 0.3588033616542816, 0.6901809573173523, 0.2467164248228073, 0.12977123260498047, -0.023080023005604744, 0.03429196774959564, 0.309786319732666, 0.0577014684677124, -0.04037729650735855, -0.26062896847724915, 0.17813575267791748, -0.45004338026046753, -0.011112004518508911, 0.42469483613967896, -0.5140764117240906, -0.1512054055929184, -0.10268647223711014, 0.27174416184425354, -0.23908871412277222, -0.7424792647361755, 0.3286946415901184, -0.46185797452926636, 0.486873596906662, 0.09287457913160324, -0.8005598783493042, 0.2722702920436859, 0.6492258310317993, 0.634579062461853, 0.07973702996969223, -0.5575335025787354, -0.12923195958137512, 0.06454690545797348, -0.42487832903862, 0.6134440898895264, -0.5332325100898743, -0.2502806484699249, -0.14374929666519165, 0.19715087115764618, -0.39085641503334045, -0.4942362606525421, 0.21791061758995056, -0.19675561785697937, 0.6844780445098877, -0.25497740507125854, -0.4008394777774811, -0.3517647087574005, 0.10493757575750351, -0.5147501826286316, 1.057413101196289, -0.024166753515601158, -0.43268489837646484, 0.31232333183288574, -0.22207172214984894, -0.48340708017349243, -0.04055652767419815, -0.6855911612510681, -0.23238088190555573, 0.5354601740837097, 0.04306168854236603, 0.26449471712112427, 0.22300221025943756, 0.1843174546957016, 0.07954517006874084, -0.4832027852535248, 0.393810510635376, -0.5725182890892029, 0.8864773511886597, -0.27030375599861145, -1.0213240385055542, -0.16970127820968628, -0.6452279686927795, 0.06350591778755188, 0.1808721423149109, -0.10431530326604843, -0.6576433181762695, 0.1944013237953186, 0.02374749258160591, 0.33808648586273193, 0.1658760905265808, -0.4030931890010834, 0.15612827241420746, -0.7643640637397766, 0.35383477807044983, 0.5355650186538696, 0.048753365874290466, 0.5802320241928101, -0.16056306660175323, 0.4823196232318878, 0.29234933853149414, 0.10520005226135254, 0.20101040601730347, -0.8633625507354736, -0.7800325155258179, 0.20608767867088318, -0.2170279622077942, 0.6570168137550354, -0.5366434454917908, 0.43736499547958374, -0.02526666224002838, -0.08331575989723206, -0.33085519075393677, -0.3419276773929596, 0.6116033792495728, 0.17704418301582336, 0.1443493515253067, -0.12912516295909882, -0.44811317324638367, -1.159948706626892, -0.8203063607215881, -0.43133604526519775, 0.16262763738632202, 0.24796146154403687, 0.23202919960021973, 0.17510801553726196, 0.8772627115249634, -0.5521782040596008, -0.13965806365013123, -0.3442917764186859, 0.03020874783396721, 0.38884082436561584, 0.34598636627197266, 0.7463165521621704, -1.2639487981796265, -0.24352103471755981, -0.13224436342716217, -0.6239225268363953, -0.08036425709724426, -0.6280977725982666, 0.06818453967571259, 0.44193407893180847, 0.4077084958553314, -0.9220496416091919, 0.7238112092018127, 0.19790346920490265, -0.6144311428070068, 0.6214272379875183, -0.3678804337978363, 0.19797733426094055, -0.7131598591804504, -0.29368752241134644, -0.020581064745783806, -0.06512846052646637, -0.7743879556655884, -0.050910159945487976, 0.3258289396762848, 0.3413484990596771, -0.467919260263443, 0.19006620347499847, -0.851500928401947, -0.3090803623199463, -0.3832957148551941, 0.5488276481628418, 0.26425713300704956, 0.5439612865447998, 0.12570525705814362, 0.46938368678092957, 0.4448135495185852, -0.6089861989021301, 0.0465787872672081, -0.045389674603939056, -0.20432651042938232, 0.43335360288619995, -0.49529728293418884, -0.14924263954162598, -0.5124654173851013, -0.1653260886669159, -1.0731303691864014, 0.07367008924484253, 0.6264013648033142, -0.5960625410079956, 0.3390137851238251, -0.12430300563573837, -0.20643015205860138, -0.19643977284431458, -0.0633111447095871, 0.3620870113372803, 0.37011075019836426, -0.46431735157966614, 0.5041021108627319, 0.09227342903614044, 0.3290437161922455, -0.6131076812744141, -1.0517690181732178, 0.2681184411048889, -0.2523495554924011, -0.4507831633090973, 0.4401839077472687, 0.2826574444770813, -0.645171046257019, 0.25688421726226807, -0.23945721983909607, -0.11245326697826385, 0.17108316719532013, 0.36127597093582153, 0.1194135919213295, -0.4215354323387146, 0.3236532509326935, 0.09164278954267502, 0.3580942749977112, 0.42174917459487915, -0.22188572585582733, 0.35211145877838135, -0.21613579988479614, -0.3382883369922638, -0.6368733644485474, 0.3768417239189148, 0.5828569531440735, -0.006187306251376867, 0.7613527774810791, 0.04317202419042587, -0.5513738393783569, 0.08951069414615631, -0.19821858406066895, 0.2861795723438263, -0.5149093866348267, 0.5116171836853027, -0.6545329093933105, -0.49996107816696167, 0.38929668068885803, 0.33590707182884216, -0.40541404485702515, 0.7601401805877686, 0.1678645759820938, -0.22788183391094208, 0.8228558301925659, 0.2608918845653534, 0.1441536396741867, 0.8060540556907654, -0.0966300442814827, 0.33250483870506287, -0.9852093458175659, -0.391802042722702, -0.31794533133506775, -0.02775971032679081, -0.5968456268310547, -0.15186861157417297, 0.31028372049331665, 0.3828389048576355, -0.05410413071513176, 0.2528446614742279, -0.4155574142932892, 0.4861030876636505, 0.32447755336761475, 0.29132208228111267, 0.10178124159574509, -0.21776366233825684, -0.09642499685287476, -0.2215857058763504, -0.9551644325256348, -0.35292309522628784, 0.5349439978599548, -0.15464931726455688, 0.09740632027387619, 0.3983866572380066, 0.40503886342048645, 0.12248039990663528, -0.3064943253993988, -0.7236282229423523, 0.5654312372207642, -0.12030591070652008, -0.4471673369407654, -0.22923330962657928, -0.2647532820701599, -1.2317156791687012, 0.7930537462234497, -0.2748103439807892, -0.909469485282898, 0.30323463678359985, 0.2826724946498871, -0.263455331325531, 0.2275288701057434, -0.86793452501297, 0.8889155983924866, -0.42937323451042175, -0.3645801544189453, -0.24236297607421875, -0.5434773564338684, 0.35396644473075867, 0.45813289284706116, 0.255659282207489, 0.07287845015525818, 0.09998492896556854, 0.3774784505367279, -0.4294816553592682, 0.7614155411720276, -0.26688554883003235, 0.16585826873779297, 0.37224406003952026, 0.05490841716527939, 0.44248685240745544, -0.05386337265372276, 0.22925280034542084, 0.056280724704265594, -0.3708609342575073, -0.5823833346366882, -0.9017492532730103, 0.545908510684967, -0.6597979068756104, -1.1316583156585693, -0.6145517230033875, -0.170505553483963, 0.10626502335071564, 0.3392012417316437, 0.4096001088619232, 0.41903674602508545, -0.17034785449504852, -0.34318676590919495, 0.42419180274009705, -0.3560580909252167, 0.6064755916595459, 0.20164836943149567, -0.12279292196035385, -0.06332611292600632, 0.32123512029647827, 0.2997492253780365, 0.5486016869544983, 0.590380072593689, 0.35755279660224915, -0.08512936532497406, -0.2971602976322174, -0.42234665155410767, 0.424652636051178, -0.5232505202293396, 0.5874312520027161, -0.5096242427825928, -0.08361498266458511, -0.6196950674057007, -0.08241076022386551, -0.3425886332988739, -0.7720333933830261, -0.5758459568023682, -0.22243301570415497, 0.052319690585136414, 0.8111308217048645, -0.07459502667188644, 0.3272126019001007, -0.7447065114974976, 0.31113776564598083, -0.08305788040161133, 0.04644521325826645, 0.11565890163183212, -0.5515297651290894, -0.07535813003778458, 0.22034570574760437, 0.13020206987857819, -1.0724488496780396, 0.21906298398971558, 0.3195875883102417, 0.7134671807289124, 0.5709378123283386, -0.23065289855003357, 0.9188733696937561, -0.6577078104019165, 1.0691617727279663, 0.33419468998908997, -1.0321993827819824, 0.6058469414710999, -0.23982837796211243, 0.5717974901199341, 0.03822155296802521, 0.0019891553092747927, -0.7275323271751404, -0.500645101070404, -0.8226760029792786, -0.9969377517700195, 0.501867949962616, 0.39684391021728516, 0.0809207335114479, -0.19357843697071075, 0.7422139644622803, -0.09864641726016998, 0.023982146754860878, -1.193163275718689, -0.700556218624115, -0.29356148838996887, 0.17424190044403076, 0.10585630685091019, -0.391422301530838, 0.24726040661334991, -0.19865116477012634, 0.3054810166358948, 0.34677115082740784, 0.4598541855812073, 0.7470961213111877, -0.1307423710823059, -0.046429719775915146, 0.21639885008335114, 0.5746189951896667, 0.6703538298606873, -0.01593315787613392, 0.45135191082954407, -0.14149819314479828, -0.3970750868320465, 0.026524009183049202, -0.3041510283946991, -0.1051502525806427, 0.30487579107284546, 0.5640033483505249, 0.5877353549003601, 0.3780766725540161, -0.22949612140655518, 0.682215690612793, 0.09887435287237167, 0.13845878839492798, -0.6835915446281433, 0.1459231823682785, -0.1203400045633316, 0.3319135904312134, 0.3605058789253235, 0.25139856338500977, 0.10118438303470612, -0.8590653538703918, 0.07054134458303452, 0.4355180263519287, -0.4629281163215637, -0.5145218372344971, 0.6460715532302856, -0.3175744116306305, -0.5461146831512451, 0.5822259187698364, -0.12956807017326355, -0.9083458781242371, 0.9174413084983826, 0.38215556740760803, 0.9292629361152649, -0.2578916847705841, 0.028153054416179657, 0.185506671667099, 0.7862529158592224, -0.1484690010547638, 0.6221418976783752, 0.101599782705307, -0.792087733745575, -0.1824108213186264, 0.015073106624186039, -0.03507112339138985, -0.17921660840511322, -0.9054914116859436, -0.02856861799955368, -0.09712257236242294, 0.06592757254838943, -0.008798938244581223, -0.5963543653488159, -0.20900218188762665, 0.22222696244716644, 0.13752897083759308, 0.5029992461204529, -1.1115974187850952, 0.8563917875289917, 0.8134750127792358, -0.3031867742538452, -0.7403943538665771, 0.23379677534103394, -0.019244959577918053, -0.4993627667427063, 0.38561445474624634, 0.18397703766822815, -0.3209412395954132, -0.46175089478492737, -0.22421543300151825, -0.9707695245742798, 0.7364108562469482, 0.06495056301355362, -0.36879298090934753, -0.155160591006279, 0.5388437509536743, 0.6945950388908386, -0.026585653424263, -0.045805394649505615, 0.4151379466056824, 0.38172128796577454, -0.1696641594171524, -0.9008356332778931, 0.09308656305074692, -0.14473949372768402, 0.03540388494729996, 0.42853811383247375, -0.7823451161384583, 1.0444321632385254, -0.0021140938624739647, -0.4867292046546936, -0.09036214649677277, 0.6578850746154785, -0.1239018440246582, 0.1776062697172165, 0.4764113128185272, 0.2567387521266937, 0.6272284984588623, 0.009900310076773167, 0.995315432548523, -0.09485195577144623, 0.27828970551490784, 1.1537902355194092, 0.04215281829237938, 0.7240633964538574, 0.7666645050048828, -0.3665834665298462, 0.5327448844909668, 0.4988751709461212, 0.32497549057006836, 0.5916706919670105, 0.2150162160396576, 0.021086128428578377, -0.10274684429168701, 0.26824310421943665, -0.2104814052581787, 0.7007544040679932, 0.5909403562545776, -0.42096617817878723, 0.02324766479432583, -0.06215692684054375, 0.07766730338335037, 0.2632191777229309, -0.5146944522857666, 0.14770802855491638, 0.38905492424964905, -0.6968371272087097, 0.4618813693523407, -0.03131106495857239, 0.3638375401496887, -0.32156628370285034, -0.21676242351531982, -0.25545212626457214, 0.13680361211299896, -0.3938731849193573, -0.6314631104469299, 0.5265467166900635, -0.36903151869773865, -0.0647035539150238, -0.19362320005893707, 0.5530922412872314, -0.33191022276878357, -0.17114898562431335, 0.4155724346637726, 0.5569567084312439, 0.24612925946712494, -0.21613261103630066, -0.5625033974647522, -0.5527667999267578, 0.008063627406954765, -0.4204581081867218, 0.03696615621447563, 0.6572214365005493, -0.03186199814081192, 0.11284299194812775, -0.03546764329075813, 0.32391056418418884, 0.39587196707725525, -0.19650547206401825, 0.46727892756462097, -0.925133228302002, -0.6950831413269043, -1.0961939096450806, 0.3049771189689636, 0.013690727762877941, -0.47158780694007874, 1.019283652305603, 0.4767409861087799, 0.831281840801239, 0.09032425284385681, 0.41996902227401733, -0.16402064263820648, -0.22982285916805267, -0.6035566329956055, 0.624493420124054, -0.6793307662010193, 0.2635025680065155, -0.5512875914573669, -0.8356896638870239, -0.551116943359375, 0.7319316267967224, -0.40320947766304016, -0.1426192820072174, 1.0602272748947144, 0.7617071866989136, 0.09955187886953354, 0.18253369629383087, 0.47746971249580383, 0.604763925075531, -0.14702628552913666, 0.6413227915763855, 0.9996694326400757, -0.48360177874565125, 0.16030655801296234, -0.17847558856010437, -0.3271529972553253, -0.038631659001111984, -0.5596311688423157, -0.7406362891197205, -0.6159718632698059, -0.29616138339042664, -0.28813886642456055, 0.10499631613492966, 0.7607489228248596, 0.11740231513977051, -0.4480341076850891, -0.28285637497901917, -0.5045400857925415, 0.3271607756614685, -0.5536972284317017, -0.29018545150756836, 0.8449350595474243, 0.1446792483329773, -0.7276142835617065, 0.5293053388595581, 0.4413661062717438, 0.30414509773254395, -0.08550214767456055, 0.4950023293495178, -0.5628538131713867, -0.07575090229511261, 0.5031962394714355, 0.28496047854423523, -0.8959131836891174, -0.5921350717544556, 0.0386229082942009, -0.13099879026412964, 0.5058543682098389, 0.5648227334022522, -0.7612707018852234, 0.39410242438316345, 0.3176334798336029, 0.09060362726449966, 0.25375622510910034, -0.15255707502365112, 0.5851425528526306, -0.6329180598258972, 0.3808296322822571, 0.02669866569340229, 0.6586453914642334, 0.0011515863006934524, -0.8650778532028198, 0.2364933341741562, 0.5272688865661621, -0.10342816263437271, -0.6038082838058472, 0.46134430170059204, -0.8986571431159973, -0.689214289188385, 1.3410687446594238, -0.07701190561056137, -0.48334744572639465, -0.17909064888954163, -0.11447800695896149, 0.292982816696167, 0.15735970437526703, 0.987470269203186, 0.7935099005699158, -0.5618242025375366, -0.1396111398935318, -0.28671228885650635, 0.2574089467525482, 0.9449095726013184, -0.48194628953933716, -0.13905663788318634, 0.679782509803772, -0.03550088405609131, 0.108915776014328, 0.3562168776988983, 0.07953252643346786, 0.5274328589439392, 0.20029044151306152, 0.009332340210676193, 0.2320224940776825, -0.28294187784194946, -0.6587896347045898, 0.33682680130004883, 0.1570921242237091, -0.432640016078949 ]
http://arxiv.org/abs/2402.11281v3
http://arxiv.org/pdf/2402.11281v3
Can Large Multimodal Models Uncover Deep Semantics Behind Images?
2024-02-17T13:41:44
2024-06-20T13:12:31
Yixin Yang, Zheng Li, Qingxiu Dong, Heming Xia, Zhifang Sui
cs.CL
cs.CL
Understanding the deep semantics of images is essential in the era dominated by social media. However, current research works primarily on the superficial description of images, revealing a notable deficiency in the systematic investigation of the inherent deep semantics. In this work, we introduce DEEPEVAL, a comprehensive benchmark to assess Large Multimodal Models' (LMMs) capacities of visual deep semantics. DEEPEVAL includes human-annotated dataset and three progressive subtasks: fine-grained description selection, in-depth title matching, and deep semantics understanding. Utilizing DEEPEVAL, we evaluate 9 open-source LMMs and GPT-4V(ision). Our evaluation demonstrates a substantial gap between the deep semantic comprehension capabilities of existing LMMs and humans. For example, GPT-4V is 30% behind humans in understanding deep semantics, even though it achieves human-comparable performance in image description. Further analysis reveals that LMM performance on DEEPEVAL varies according to the specific facets of deep semantics explored, indicating the fundamental challenges remaining in developing LMMs.
[ -0.4994069039821625, -0.5616722106933594, 0.717867374420166, 0.05204949900507927, -0.25791624188423157, 0.05285479873418808, -0.4202709496021271, -0.6028825640678406, -0.4833777844905853, 0.37700116634368896, -0.7960071563720703, -0.7253338098526001, -0.693175733089447, -0.08515360206365585, -0.14103972911834717, 0.726962685585022, -0.18646427989006042, -0.03470255061984062, -0.38774698972702026, -0.2797167897224426, -0.5088733434677124, 0.004124985542148352, -0.09070269018411636, -0.1280633509159088, 0.6064181923866272, 0.19895020127296448, 0.837741494178772, 0.4551633596420288, 1.0998561382293701, 0.30271732807159424, 0.06341294199228287, 0.11353884637355804, -0.4467151165008545, 0.026568779721856117, -0.32053372263908386, -0.014695784077048302, -0.3402290940284729, -0.013101871125400066, 0.7540591955184937, 0.5663143992424011, 0.20150181651115417, 0.18496744334697723, -0.12627986073493958, 0.85257887840271, -0.9518395066261292, 0.34165671467781067, -0.7165810465812683, 0.15863266587257385, -0.3272865414619446, 0.03436997905373573, -0.12767979502677917, 0.06496057659387589, 0.38444453477859497, -0.4895904064178467, 0.21504761278629303, -0.35063204169273376, 1.064404845237732, 0.5190858244895935, -0.6086413264274597, -0.03048105724155903, -0.4708477556705475, 0.7386701107025146, -0.6602296829223633, 0.6075695157051086, 0.27915966510772705, 0.658814549446106, 0.14224891364574432, -0.9097302556037903, -0.5990041494369507, -0.408567875623703, -0.03834906220436096, 0.12323768436908722, -0.18730711936950684, 0.18225540220737457, 0.34650519490242004, 0.625029444694519, -0.35712191462516785, 0.08292685449123383, -0.33329254388809204, -0.24418748915195465, 0.4367726445198059, 0.27990639209747314, 0.3181518614292145, -0.3339138329029083, -0.6113753914833069, -0.13142874836921692, -0.5759000778198242, -0.02366666868329048, -0.16050145030021667, 0.00018083621398545802, -0.21619032323360443, 0.6861487030982971, -0.4267933964729309, 0.24522380530834198, -0.4796610176563263, 0.0840371772646904, 0.4806102216243744, -0.7917242646217346, -0.32829445600509644, -0.36368879675865173, 0.6361158490180969, 0.8180223107337952, 0.4444350600242615, -0.18559040129184723, -0.16203342378139496, 0.31174755096435547, 0.14598888158798218, -1.174282193183899, -0.13140875101089478, -0.08122143894433975, -0.6477463841438293, -0.05690256878733635, -0.051698241382837296, -0.6607446670532227, -0.7203009724617004, -0.36722227931022644, 0.5194143652915955, -0.4207048714160919, -0.4459231197834015, 0.06886649876832962, -0.10057651251554489, 0.5972394943237305, 0.2987740933895111, -0.37430018186569214, 0.1279967576265335, 0.7489285469055176, 0.8593558669090271, 0.1709195077419281, -0.5311423540115356, -0.26744210720062256, -0.002912747673690319, -0.5412847399711609, 0.6178019642829895, -0.5515868663787842, -0.05550320819020271, -0.04026717320084572, 0.24585559964179993, 0.15565349161624908, -0.28068238496780396, 0.6958032250404358, -0.6014595031738281, -0.27736127376556396, -0.3506549000740051, -0.5267015099525452, -0.16102242469787598, 0.3794562816619873, -0.6600468158721924, 0.4721040427684784, -0.19000045955181122, -0.8167198896408081, 0.6851083040237427, -0.5299474596977234, -0.28559166193008423, 0.15061642229557037, -0.3258717954158783, -0.117154560983181, 0.2584283947944641, 0.3730540871620178, 0.7449555993080139, -0.35000404715538025, 0.20715069770812988, -0.6160014271736145, -0.3701876103878021, 0.5097644925117493, -0.541804850101471, 0.21761871874332428, 0.22404612600803375, -0.3679521977901459, 0.1518121361732483, -0.521446168422699, -0.027399824932217598, -0.024034397676587105, 0.0014436300843954086, -0.210011288523674, 0.05182880163192749, 0.08995160460472107, 0.3519517481327057, 0.11847715824842453, -0.5684865117073059, 0.010233121924102306, -0.011830992996692657, 0.6115623116493225, 0.8178792595863342, -0.42025789618492126, 0.4100419282913208, 0.23037271201610565, 0.23266024887561798, 0.06267488747835159, 0.07372186332941055, -0.532504141330719, -0.21108794212341309, -0.5415979027748108, -0.46962079405784607, 0.23635078966617584, 0.13120140135288239, -0.7719306945800781, -0.01904437690973282, -0.562602162361145, -0.4536222815513611, -0.7634021043777466, 0.225605770945549, 0.5711323618888855, 0.38434651494026184, 0.5134101510047913, -0.2876149117946625, -0.09174889326095581, -1.49384343624115, -0.155962735414505, 0.24841342866420746, -0.07442215085029602, 0.4934203624725342, 0.8096475005149841, -0.6721916794776917, 0.46008098125457764, -0.18860019743442535, -0.5603213906288147, 0.19084841012954712, 0.2391931563615799, 0.03898422047495842, 0.10226953029632568, 0.35302627086639404, -0.6751312613487244, -0.20043005049228668, 0.17778584361076355, -0.869045615196228, 0.2647286057472229, 0.08880572766065598, 0.0023580242414027452, 0.07495588064193726, 0.44537997245788574, -0.7604445815086365, 0.5681731104850769, 0.41153401136398315, -0.3548884689807892, 0.2965366542339325, -0.349165678024292, 0.40728560090065, -0.6453987956047058, -0.020650502294301987, 0.06637889891862869, -0.04432651773095131, -0.08409115672111511, 0.3747251629829407, 0.4195779263973236, -0.03170132264494896, -0.4275393486022949, 0.3396816849708557, -0.7236132621765137, -0.42781949043273926, -0.22202026844024658, 0.12333787232637405, 0.04851622134447098, 0.18638156354427338, 0.15053780376911163, 0.5779857039451599, 0.8769801259040833, -0.1629321277141571, 0.44941991567611694, -0.05073576420545578, -0.6237232089042664, 0.6216395497322083, -0.7824861407279968, 0.09677272289991379, -0.3406926393508911, 0.5641421675682068, -1.231369972229004, -0.6257333755493164, -0.16991853713989258, -0.3324609696865082, 0.1841961145401001, -0.3092639744281769, -0.533067524433136, -0.36569443345069885, -0.35329005122184753, 0.629368007183075, 0.4168934226036072, -0.4410451650619507, 0.6722792983055115, 0.19109061360359192, 0.1690775454044342, -0.6739226579666138, -0.735833466053009, 0.45574742555618286, -0.07543154060840607, -0.9464126825332642, 0.3893771767616272, 0.18862640857696533, -0.22862982749938965, 0.12753085792064667, 0.13407935202121735, -0.0453474186360836, -0.12988778948783875, 0.4245975911617279, 0.1464444100856781, -0.43824756145477295, 0.41939300298690796, -0.2899109423160553, -0.10936616361141205, 0.02598004788160324, -0.0748283863067627, 0.20994164049625397, -0.6919430494308472, -0.39576980471611023, -0.6114396452903748, 0.18124662339687347, 0.7606794238090515, -0.48512759804725647, 0.3886004388332367, 0.9845271110534668, -0.29664966464042664, 0.16437338292598724, -0.7244647145271301, 0.011342627927660942, -0.4102376401424408, 0.5264126062393188, -0.6229568719863892, -0.7519898414611816, 0.3616682291030884, 0.08564453572034836, -0.23197312653064728, 0.613213062286377, 0.5763564705848694, -0.09900747984647751, 0.9398806095123291, 0.3416440486907959, 0.2794252038002014, -0.043449144810438156, -0.34342336654663086, -0.32889971137046814, -0.8348310589790344, -0.39667314291000366, 0.010908813215792179, -0.5357053279876709, -0.7497988939285278, -0.654008686542511, 0.10311703383922577, -0.2885814607143402, -0.27681177854537964, 0.1054098829627037, -0.3680509328842163, 0.6696649193763733, 0.36425700783729553, 0.14558765292167664, 0.22861279547214508, -0.0715341866016388, 0.09147141128778458, -0.22706173360347748, -0.06684362888336182, -0.44740623235702515, 0.981431782245636, 0.6634225249290466, 0.9177767634391785, 0.1685629040002823, 0.17164695262908936, 0.21037448942661285, 0.12655246257781982, -0.7089525461196899, 0.5284753441810608, -0.43764495849609375, -0.7493316531181335, -0.023115431889891624, -0.3461979627609253, -0.9090357422828674, 0.4176689386367798, -0.20780785381793976, -0.42707425355911255, 0.05990424007177353, 0.09681392461061478, -0.37377023696899414, 0.13270044326782227, -0.6820161938667297, 1.207977056503296, -0.46781760454177856, -0.5332165360450745, -0.5209537744522095, -0.839560866355896, 0.47183188796043396, 0.21180275082588196, 0.3077342212200165, -0.5643051862716675, -0.33570799231529236, 0.4454089403152466, -0.08967741578817368, 0.7712606191635132, -0.24939662218093872, 0.03802536055445671, -0.02287173457443714, 0.04392402619123459, 0.04242254048585892, 0.05954679474234581, 0.3391092121601105, 0.36019736528396606, 0.05326108634471893, -0.5975266098976135, -0.3866433799266815, 1.0004076957702637, -0.7580864429473877, -0.13116714358329773, -0.12418008595705032, -0.43175172805786133, -0.22814726829528809, 0.06067440286278725, 0.2371378093957901, 0.612518846988678, -0.19783541560173035, 0.6410532593727112, 0.45148563385009766, -0.3670053780078888, 0.44804465770721436, 0.12150996923446655, -0.09615791589021683, -0.32806259393692017, 0.7162056565284729, -0.06678889691829681, 0.16724427044391632, 0.36038273572921753, 0.23436200618743896, -0.5399669408798218, -0.6315917372703552, -0.6420897841453552, -0.022775378078222275, -0.9657737612724304, -0.13505882024765015, -0.5645647048950195, 0.014489307068288326, -0.24325785040855408, 0.07478398829698563, -0.42960166931152344, -0.15791942179203033, 0.054029423743486404, -0.06240227445960045, 0.19152434170246124, 0.7311301827430725, 0.052069079130887985, 0.0022397241555154324, -0.7139289379119873, 0.5547058582305908, 0.5393409729003906, 0.6274817585945129, 0.08419492840766907, -0.3869158923625946, 0.07935009151697159, 0.1460983008146286, -0.12750527262687683, -0.5392864942550659, 0.002256578067317605, 0.39777377247810364, 0.4161994457244873, 0.49128350615501404, -0.24250687658786774, 0.9773398041725159, -0.5671209692955017, 0.7337876558303833, 0.18871428072452545, -0.7329878211021423, 0.50182044506073, -0.40200793743133545, 0.4329887628555298, 0.6828798055648804, 0.2924255132675171, -0.38625067472457886, 0.10032867640256882, -0.41741350293159485, -0.9368088245391846, 0.1360020488500595, 0.27770036458969116, 0.5616286993026733, -0.008772021159529686, 0.08537124842405319, 0.08109766989946365, 0.07333192974328995, -0.6283097267150879, 0.39780524373054504, -0.39511191844940186, -0.06466089934110641, -0.16272714734077454, -0.16849038004875183, -0.03308286517858505, -0.29020023345947266, 0.09122681617736816, -0.09337051957845688, 0.07645031809806824, 0.1621660441160202, -0.3815302848815918, 0.1082259863615036, 0.2513465881347656, 0.4879300594329834, 0.7959047555923462, -0.23979267477989197, 0.6008812785148621, 0.043742042034864426, -0.17168019711971283, -0.24204778671264648, 0.2766892611980438, 0.400837242603302, -0.272080659866333, 0.9300472140312195, 0.9652009010314941, 0.2609858810901642, -0.7921428084373474, 0.8793889284133911, -0.25094956159591675, -0.050026100128889084, -0.2799479067325592, -0.28044459223747253, 0.27029502391815186, 0.3791268467903137, 0.37611907720565796, 0.016504298895597458, 0.37941408157348633, -0.7445666193962097, 0.19892890751361847, 0.7399769425392151, -0.611320972442627, -0.36753520369529724, 0.5068911910057068, 0.17096485197544098, 0.24303856492042542, 0.7190832495689392, 0.06107074022293091, -0.24965335428714752, 0.5213231444358826, -0.0860029086470604, 0.711948573589325, 0.30779382586479187, 0.055591750890016556, 0.13818694651126862, 0.3165281414985657, 0.21501260995864868, 0.07482253760099411, -0.2698773443698883, -0.5872913599014282, -0.7722134590148926, -0.5500055551528931, -0.04035989195108414, 0.19888713955879211, -0.39683443307876587, -0.020863378420472145, -0.18277868628501892, -0.11376967281103134, 0.5745523571968079, -0.33880189061164856, -1.1569106578826904, 0.1859992891550064, 0.4390990734100342, 0.7931151390075684, -0.4988137185573578, 0.5462613701820374, 0.5765909552574158, -0.6086503267288208, -0.5709980130195618, -0.11709138751029968, -0.03918140381574631, -0.890450119972229, 1.065030813217163, 0.6004238128662109, -0.1981814205646515, -0.24026000499725342, -0.6932390928268433, -0.48459625244140625, 1.140690803527832, 0.2403494417667389, -0.43872711062431335, 0.04183288663625717, 0.16718122363090515, 0.6247918009757996, -0.27115705609321594, 0.4401282072067261, 0.2641621232032776, 0.6038904786109924, 0.35858556628227234, -0.8896936774253845, 0.053842779248952866, -0.2049485743045807, 0.14976245164871216, 0.011602979153394699, -0.306317001581192, 0.8381578922271729, -0.4885600507259369, -0.29667311906814575, 0.20866695046424866, 0.46250417828559875, -0.14074832201004028, 0.39313966035842896, 0.4225113093852997, 0.6185517907142639, 0.41746893525123596, -0.10922037065029144, 1.316840410232544, 0.1794518083333969, 0.3165303170681, 0.9669617414474487, -0.3596234917640686, 0.8679739832878113, 0.2444268763065338, -0.11162590980529785, 0.35297858715057373, 0.685657799243927, -0.02395627833902836, 0.5189656615257263, 0.1438172310590744, -0.09901846945285797, -0.6501888632774353, -0.1459074318408966, -0.6424983143806458, 0.5735751390457153, 0.358635276556015, -0.5404184460639954, -0.5280534029006958, 0.15394413471221924, -0.3037957549095154, -0.0485580675303936, -0.4762369990348816, 0.8154672980308533, 0.09619595855474472, -0.436917781829834, 0.5492739677429199, -0.31159844994544983, 0.6101024746894836, -0.25595057010650635, -0.06141266971826553, -0.131307914853096, 0.6615114212036133, -0.13188011944293976, -1.3263715505599976, 0.10670936852693558, -0.19013874232769012, 0.045818425714969635, 0.02717158943414688, 1.0289738178253174, -0.21776123344898224, -0.46123459935188293, 0.3905033767223358, 0.39726540446281433, 0.12641024589538574, -0.37525448203086853, -0.6389381885528564, 0.0739801749587059, -0.5832915306091309, -0.03607434034347534, 0.2032005488872528, 0.6272250413894653, -0.11313849687576294, 0.6455975770950317, 0.48555657267570496, -0.3017806112766266, 0.08735553175210953, 0.24020059406757355, 0.8155941367149353, -0.6491634845733643, 0.019247649237513542, -1.1955496072769165, 0.584472119808197, -0.31931939721107483, -0.2909495234489441, 0.67444908618927, 0.30812180042266846, 0.7566536664962769, -0.2568553686141968, 0.6470032930374146, 0.07342003285884857, 0.0015375702641904354, -0.5570066571235657, 0.5028836131095886, -0.8007603883743286, -0.11874492466449738, -0.5578694939613342, -0.8270875215530396, -0.2804918885231018, 0.4883759319782257, -0.4256002604961395, -0.02084430679678917, 0.5080398917198181, 0.7342829704284668, -0.4246646761894226, -0.10035154968500137, 0.4434989392757416, 0.210017591714859, 0.047327421605587006, 0.6140947937965393, 1.5753958225250244, -0.14401152729988098, 0.5540515780448914, -0.30323776602745056, -0.2803484797477722, -0.03925291448831558, -1.1113746166229248, -0.9160121083259583, -0.5487502813339233, -0.183600515127182, -0.20792604982852936, 0.144400954246521, 0.5204470753669739, 0.8779745101928711, -0.5075139999389648, 0.13895170390605927, -0.04338129609823227, -0.10683267563581467, 0.039625223726034164, -0.1520843803882599, 0.4619750678539276, -0.1815062165260315, -0.3856375217437744, 0.1969500035047531, 0.35544246435165405, -0.20296010375022888, -0.45900362730026245, -0.09916187822818756, 0.07846982032060623, -0.11103257536888123, 0.8798251152038574, -0.17625869810581207, -0.9706581234931946, -0.36412495374679565, 0.07787194848060608, -0.08505178242921829, -0.020029332488775253, 0.8261094689369202, -0.6055305600166321, 0.513606607913971, 0.573307991027832, 0.8401984572410583, 0.6269030570983887, -0.14330054819583893, 0.09634017199277878, -0.7089290022850037, 0.012872811406850815, 0.08832702785730362, 0.5106379389762878, 0.6611372828483582, 0.13387154042720795, 0.5607605576515198, 0.1529376059770584, -0.5735194087028503, -0.6244020462036133, 0.41628775000572205, -1.0970786809921265, -0.5248016715049744, 1.2566200494766235, -0.08197591453790665, -0.1377161145210266, 0.27102628350257874, -0.21546117961406708, -0.116452656686306, -0.20958201587200165, 0.44514450430870056, 0.6023858785629272, 0.12736764550209045, -0.5144780874252319, -0.819782555103302, 0.3323982059955597, 0.010630450211465359, -0.5820006132125854, 0.22490978240966797, 0.897321343421936, 0.2284492403268814, 0.19008322060108185, 0.5505144000053406, -0.20678485929965973, 0.42740359902381897, -0.14921149611473083, 0.041716743260622025, -0.09624184668064117, -0.2227923423051834, -0.06936632841825485, 0.15056872367858887, -0.0482206828892231, -0.3272732198238373 ]
http://arxiv.org/abs/2402.11279v1
http://arxiv.org/pdf/2402.11279v1
Multi-Perspective Consistency Enhances Confidence Estimation in Large Language Models
2024-02-17T13:37:39
2024-02-17T13:37:39
Pei Wang, Yejie Wang, Muxi Diao, Keqing He, Guanting Dong, Weiran Xu
cs.CL
cs.CL, cs.AI
In the deployment of large language models (LLMs), accurate confidence estimation is critical for assessing the credibility of model predictions. However, existing methods often fail to overcome the issue of overconfidence on incorrect answers. In this work, we focus on improving the confidence estimation of large language models. Considering the fragility of self-awareness in language models, we introduce a Multi-Perspective Consistency (MPC) method. We leverage complementary insights from different perspectives within models (MPC-Internal) and across different models (MPC-Across) to mitigate the issue of overconfidence arising from a singular viewpoint. The experimental results on eight publicly available datasets show that our MPC achieves state-of-the-art performance. Further analyses indicate that MPC can mitigate the problem of overconfidence and is effectively scalable to other models.
[ -0.23245373368263245, -0.3620423674583435, 1.0197231769561768, 0.5223467946052551, 0.1884082555770874, 0.1427631825208664, -0.3597828447818756, -0.33570775389671326, 0.028712615370750427, 0.08378089964389801, -0.2268105149269104, -0.6468472480773926, -0.8628281354904175, -0.030499732121825218, -0.10330493748188019, 0.645515501499176, -0.10346846282482147, 0.10683675110340118, -0.49075064063072205, -0.20637887716293335, -0.128578320145607, -0.6846475005149841, -0.444561630487442, -0.31084954738616943, 0.7152431607246399, 0.30010098218917847, 0.6436529755592346, 0.3699347674846649, 0.2790832817554474, 0.30225831270217896, -0.0851396769285202, 0.5239672660827637, -0.2891155779361725, 0.16442106664180756, -0.2367713749408722, -0.3483852744102478, -0.47517722845077515, 0.14136292040348053, 1.140509843826294, 0.607698917388916, -0.44313204288482666, -0.17854762077331543, 0.4794199764728546, 0.6509037017822266, -1.3841692209243774, 0.4753667116165161, -0.5690668821334839, -0.19333268702030182, 0.10132835805416107, 0.17500396072864532, -0.7260434031486511, -0.3062308728694916, 0.16122837364673615, -0.33098873496055603, -0.23184208571910858, -0.3007541596889496, 0.4648171067237854, 0.2361236959695816, -0.5919945240020752, 0.2948143184185028, -0.8615615963935852, 1.046507716178894, -0.8718995451927185, 0.7498400807380676, 0.4333980083465576, 0.08168304711580276, -0.3506762683391571, -0.0738631933927536, -0.6664807200431824, -0.16389745473861694, 0.07401179522275925, 0.33100882172584534, 0.20686593651771545, 0.055761922150850296, -0.0044624353758990765, 0.020115578547120094, -0.2326560765504837, 0.02919292449951172, 0.20378759503364563, -0.3291535973548889, 0.4983430504798889, -0.13987240195274353, -0.2587242126464844, -0.03391485661268234, -0.27470508217811584, 0.03838800638914108, -0.5821470022201538, 0.1688830703496933, 0.27890095114707947, 0.1853724718093872, -0.016612965613603592, 0.45188942551612854, -0.24894534051418304, 0.559816300868988, -0.012762630358338356, -0.7525736689567566, 0.41104862093925476, -0.28637126088142395, -0.16298499703407288, -0.011540872044861317, 0.501175045967102, 0.36444830894470215, 0.21204541623592377, 0.16054882109165192, 0.07945267111063004, -0.05211809277534485, 0.28911322355270386, -0.5030210018157959, -0.17234262824058533, 0.4857030212879181, -0.13978666067123413, -0.07605674117803574, 0.19769370555877686, -0.5984846353530884, -0.6956545114517212, -0.24189099669456482, 0.4462456703186035, -0.3177683651447296, -0.6153550744056702, -0.04319106042385101, 0.2604893445968628, 0.18768310546875, 0.5934092998504639, -0.601260781288147, -0.008912855759263039, 0.8842126727104187, 0.9748619794845581, -0.17405028641223907, -0.6844452619552612, -0.31930211186408997, 0.4796571135520935, -0.5292447209358215, 0.6080388426780701, -0.35091882944107056, -0.18064415454864502, -0.06182149425148964, -0.053971681743860245, -0.3583156168460846, -0.22239916026592255, 0.33559948205947876, 0.08412010967731476, 0.3183760643005371, -0.37259238958358765, -0.6218894124031067, -0.17032739520072937, 0.8763858079910278, -0.36389926075935364, 1.058596134185791, -0.22524909675121307, -0.9633007049560547, 0.33948513865470886, -0.21574518084526062, -0.1508956402540207, -0.599462628364563, -0.49298614263534546, -0.5529211759567261, 0.22214478254318237, 0.4217427968978882, 0.41656288504600525, 0.0030608337838202715, 0.3268836736679077, -0.5495057106018066, 0.040770482271909714, 0.38504597544670105, -0.5583383440971375, 0.4688883423805237, -0.08901457488536835, -0.16944117844104767, 0.13893257081508636, -0.6509052515029907, 0.16657790541648865, -0.24589969217777252, -0.33618566393852234, -0.5386708378791809, 0.21627408266067505, -0.45772209763526917, 0.48650529980659485, 0.35022997856140137, -0.7236102819442749, 0.060204632580280304, -0.40622684359550476, 0.11164135485887527, 0.9125416278839111, -0.011329174041748047, 0.2059629112482071, -0.12724366784095764, 0.23304562270641327, 0.5602110028266907, 0.2678464651107788, -0.17703209817409515, -0.5849641561508179, -0.763740599155426, -0.3685789406299591, 0.17581354081630707, 0.5204539895057678, -0.3960871696472168, 0.5146120190620422, -0.2189328819513321, -0.45544883608818054, -0.3938097357749939, 0.20195633172988892, 0.6250403523445129, 0.5298906564712524, 0.24908947944641113, -0.42846018075942993, -0.4559161067008972, -1.0430091619491577, -0.44621363282203674, -0.36508363485336304, 0.002000667853280902, 0.272421658039093, 0.33208733797073364, 0.014728667214512825, 0.6852927803993225, -0.38130971789360046, -0.10442183166742325, -0.09498162567615509, 0.16879962384700775, 0.09675249457359314, 0.8325227499008179, 0.44381025433540344, -0.7501312494277954, -0.661692202091217, -0.0690593346953392, -0.6849916577339172, 0.4887370765209198, -0.04524974152445793, -0.21750648319721222, 0.5084982514381409, 0.2756068706512451, -0.49614009261131287, 0.23434816300868988, 0.8629500865936279, 0.03938596323132515, 0.32401224970817566, -0.4260767698287964, 0.39081063866615295, -1.2701531648635864, -0.16482198238372803, 0.36641186475753784, -0.2913264036178589, -0.4775930643081665, -0.14002566039562225, 0.42260003089904785, 0.5072317719459534, -0.17101910710334778, 0.1779966801404953, -0.5266384482383728, 0.1717124879360199, 0.016225146129727364, 0.2608562409877777, 0.2832668423652649, 0.5276133418083191, 0.09558292478322983, 0.6445838212966919, 0.8020841479301453, -0.2881965935230255, -0.0981377586722374, -0.06854121387004852, -0.33648285269737244, 0.8823608756065369, -0.3142164349555969, 0.20051495730876923, -0.48154711723327637, 0.4231201708316803, -1.2376563549041748, -0.3268885612487793, 0.19823762774467468, -0.4802263379096985, 0.5288850665092468, -0.28825005888938904, -0.300157368183136, -0.15907423198223114, -0.41526153683662415, 0.21734030544757843, 0.11501085013151169, -0.6162475347518921, 1.0836812257766724, 0.5490753054618835, -0.1364077478647232, -1.087842583656311, -0.6976218819618225, 0.08509745448827744, 0.16010628640651703, -0.5275152921676636, -0.21274839341640472, -0.24485047161579132, -0.31265127658843994, -0.4880947470664978, -0.4134577214717865, -0.16635222733020782, -0.08793021738529205, 0.3484800159931183, 0.30114200711250305, -0.12773635983467102, 0.1449335366487503, -0.16869109869003296, 0.047360438853502274, 0.05188934504985809, -0.5926613211631775, 0.339893639087677, -0.24709907174110413, -0.6574509143829346, -0.5898306965827942, 0.3951611816883087, 0.7348477840423584, -0.18439072370529175, 1.3299880027770996, 0.03310222178697586, -0.41183415055274963, 0.11319781839847565, -1.0594056844711304, 0.298155277967453, -0.39875271916389465, 0.344578355550766, -0.4098735749721527, -0.660637617111206, 0.7161402702331543, 0.05771302059292793, 0.0567634217441082, 0.2331179678440094, 0.5368748307228088, 0.016797589138150215, 1.2301409244537354, 1.0167608261108398, -0.4480706751346588, 0.2859500050544739, 0.07015476375818253, 0.2075338363647461, -0.6873342990875244, -0.6939588189125061, -0.5863747000694275, -0.11522864550352097, -0.4358048141002655, -0.5773398280143738, 0.5968106985092163, -0.030227700248360634, -0.36669108271598816, 0.11379505693912506, -0.14145871996879578, 0.4840048849582672, 0.41741275787353516, 0.1028393879532814, 0.6223247051239014, -0.10122985392808914, -0.26731082797050476, -0.2923472225666046, -0.5104405879974365, -0.2271377146244049, 1.0362106561660767, 0.5903129577636719, 0.7724602222442627, 0.3896561563014984, 0.5854834914207458, -0.3751956820487976, 0.3522076904773712, -0.617211103439331, 0.06850859522819519, 0.04036533832550049, -0.8666830658912659, -0.3337775766849518, -0.6080598831176758, -0.1513630449771881, 0.5914255976676941, -0.18552900850772858, -1.0040479898452759, 0.49875035881996155, 0.46302324533462524, -0.49903061985969543, 0.38427749276161194, -0.7579774260520935, 0.8362864255905151, -0.10656405240297318, -0.5445337295532227, -0.22560639679431915, -0.6999231576919556, 0.3863096535205841, -0.23207800090312958, 0.0683717206120491, -0.1969403624534607, -0.06403937190771103, 0.19216658174991608, -0.1409364491701126, 0.8890075087547302, -0.1096612885594368, -0.5490213632583618, 0.1207398921251297, 0.033460065722465515, 0.7854524254798889, 0.1936102956533432, -0.27716824412345886, 0.15051016211509705, -0.21189185976982117, -0.4730994999408722, -0.6910208463668823, 0.9516841173171997, -0.7151588201522827, -0.6164479851722717, -0.44785213470458984, -0.6617230176925659, -0.7380334138870239, 0.08310170471668243, 0.12083331495523453, 0.3144106864929199, -0.2608990967273712, 0.3691394329071045, 0.7871479392051697, -0.08197817206382751, 0.31458744406700134, 0.47960394620895386, -0.044354360550642014, -0.3338235318660736, 0.3131352365016937, 0.32329660654067993, 0.603996217250824, 0.36786648631095886, 0.13592785596847534, -0.4155748188495636, -0.5065734386444092, -0.3796224296092987, -0.026267649605870247, -0.5931551456451416, -0.3274262249469757, -0.853280246257782, -0.41783469915390015, -0.8131656050682068, 0.15877372026443481, -1.0463650226593018, -0.16751602292060852, 0.3393075466156006, -0.0783841460943222, 0.20984813570976257, 0.5187198519706726, -0.22170837223529816, 0.20627710223197937, -0.6452682614326477, 0.11517808586359024, 0.2883245348930359, 0.6102684140205383, 0.08950585126876831, -0.49226829409599304, -0.19518187642097473, 0.24251540005207062, -0.06523358821868896, -0.5273725390434265, 0.22541077435016632, 0.20186088979244232, 0.6649199724197388, 0.3651755154132843, -0.0469956137239933, 0.6831691265106201, -0.378534734249115, 0.4995323121547699, 0.3430280089378357, -1.117925763130188, 0.39494678378105164, -0.31269872188568115, 0.4069089889526367, 0.7021486163139343, 0.5550200939178467, -0.5647363066673279, -0.6826162338256836, -0.46668076515197754, -0.6639232039451599, 0.3770093321800232, 0.15126372873783112, -0.16104859113693237, 0.21350686252117157, 0.2588784992694855, -0.1017661914229393, 0.4481179714202881, -0.7925529479980469, -0.24923668801784515, -0.46791672706604004, -0.3047165870666504, -0.4250970482826233, -0.47211867570877075, -0.3583415150642395, -0.23727639019489288, 0.7730032205581665, -0.3294326066970825, -0.38266876339912415, 0.4471849501132965, 0.17377597093582153, -0.20301783084869385, 0.34817495942115784, 0.6858075261116028, 1.0068739652633667, -0.17224617302417755, 0.5123003721237183, 0.2789417505264282, -0.42633864283561707, 0.10515813529491425, 0.007658137008547783, -0.18147478997707367, -0.29572972655296326, 0.2520700991153717, 0.36582913994789124, 0.24046416580677032, -0.3540235459804535, 0.7447412610054016, 0.08128227293491364, 0.04824254289269447, -0.5555209517478943, -0.17468686401844025, 0.28798848390579224, 0.3589470684528351, 0.11283504217863083, 0.4050818681716919, -0.14733809232711792, -0.6413974165916443, 0.043928734958171844, 0.5265807509422302, -0.21399785578250885, -0.02099072001874447, 0.3859339952468872, -0.0925566554069519, 0.1539541482925415, 0.40317773818969727, 0.11267567425966263, -0.5693656802177429, 0.4355396330356598, 0.45239755511283875, 0.6613578796386719, -0.5704097747802734, 0.2145259976387024, 0.41475844383239746, 0.42677563428878784, -0.751924991607666, 0.18643739819526672, 0.23248837888240814, -1.2051385641098022, -0.7717156410217285, -0.456162691116333, -0.5209619402885437, -0.039611004292964935, -0.5473505854606628, -0.18960419297218323, -0.6256891489028931, -0.11387583613395691, -0.16734488308429718, 0.04907272011041641, -0.21313773095607758, 0.07646026462316513, 0.24877215921878815, 0.7209650278091431, -0.8274994492530823, 1.3135647773742676, 0.3689936101436615, -0.32432591915130615, -1.2363390922546387, 0.2893397808074951, 0.3963215947151184, -0.6108947992324829, 0.030303487554192543, 0.24398627877235413, -0.6621328592300415, -0.2594488561153412, -0.7111306190490723, -1.100592851638794, 0.7932244539260864, 0.4782349467277527, -0.6643790006637573, 0.28436407446861267, -0.06850216537714005, 0.5102657079696655, -0.6250126361846924, 0.000721557589713484, 0.5266304016113281, 0.6954347491264343, 0.2014949917793274, -1.0896966457366943, -0.2763679623603821, 0.04752865806221962, 0.08461744338274002, 0.07794159650802612, -0.6877398490905762, 0.8297653794288635, -0.26594066619873047, 0.016866546124219894, 0.11469229310750961, 0.7746716141700745, 0.6084719300270081, 0.1355469524860382, 0.7311156392097473, 0.4564611315727234, 0.9338083267211914, 0.06498999893665314, 0.937488853931427, -0.2427627295255661, 0.5489095449447632, 1.6513605117797852, -0.4160887598991394, 1.1130146980285645, 0.6146534085273743, -0.05257262662053108, 0.6316585540771484, 0.2885168492794037, 0.16373328864574432, 0.3557674288749695, -0.262762188911438, -0.26862215995788574, -0.7657454013824463, -0.15981978178024292, -0.2257210910320282, 0.4836357533931732, 0.13616101443767548, -0.3059297502040863, 0.006000986322760582, -0.18400204181671143, 0.23129545152187347, 0.4613727331161499, -0.34055495262145996, 0.49162399768829346, 0.14111293852329254, -0.6486040949821472, 0.36562085151672363, -0.06634275615215302, 0.6813546419143677, -0.5168881416320801, 0.21700794994831085, -0.14283518493175507, 0.7578204870223999, -0.13852696120738983, -0.9013298749923706, 0.08065418899059296, -0.3333374857902527, -0.36299583315849304, -0.11317312717437744, 0.5636433362960815, -0.8803481459617615, -0.7731050252914429, 0.43169939517974854, 0.8031319975852966, -0.02418314479291439, -0.5119490027427673, -0.45794957876205444, 0.04433458298444748, -0.05000700056552887, -0.08979181945323944, 0.26223504543304443, 0.5213451385498047, 0.14579816162586212, 0.7352006435394287, 0.30085405707359314, 0.09775041043758392, -0.04275359958410263, 0.1750217229127884, 0.6026697158813477, -0.36221206188201904, -0.3768814504146576, -0.9829718470573425, 0.5043691992759705, -0.4402482807636261, -0.264646053314209, 1.0894607305526733, 0.5704428553581238, 0.9456360936164856, 0.04979034885764122, 0.6403304934501648, 0.19890105724334717, 0.7782536745071411, -0.2655716836452484, 0.7825438976287842, -0.6085273623466492, 0.17730247974395752, -0.5304305553436279, -0.8026415705680847, -0.506197452545166, 0.8518751263618469, -0.1834871917963028, 0.08568058907985687, 0.6529685854911804, 0.8408883810043335, -0.0382833369076252, -0.06690065562725067, 0.4734548032283783, 0.5221683979034424, 0.16986079514026642, 0.45384541153907776, 0.8097666501998901, -0.2638891935348511, 0.33758702874183655, -0.6232098340988159, -0.30991148948669434, 0.24513207376003265, -1.2077207565307617, -0.7966693639755249, -0.49800726771354675, -0.2981886863708496, -0.574569821357727, 0.10112468153238297, 0.939653754234314, 0.9389047026634216, -1.0344550609588623, -0.173879936337471, 0.07859884947538376, 0.20992904901504517, -0.407137930393219, -0.10511337965726852, 0.11897356063127518, -0.15739703178405762, -0.791068434715271, 0.34935808181762695, 0.5879523754119873, 0.028661997988820076, -0.7123245596885681, -0.00014915205247234553, -0.510962963104248, 0.15677952766418457, 0.49395719170570374, 0.16303366422653198, -0.7991424202919006, -0.8174899220466614, -0.15983499586582184, -0.2774437367916107, 0.4826805591583252, 0.7558380961418152, -0.5003322958946228, 0.36478057503700256, 0.34280475974082947, 0.47489652037620544, 0.13762468099594116, 0.30797386169433594, 0.9006328582763672, -1.0547562837600708, 0.4054170250892639, -0.018955785781145096, 0.4877549111843109, 0.637695848941803, -0.5977226495742798, 0.3200719356536865, 0.0880272164940834, -0.35991910099983215, -0.6653628945350647, 0.3224576711654663, -0.9745222330093384, -0.22261479496955872, 0.9122220873832703, -0.546830415725708, -0.10611198097467422, -0.16879382729530334, 0.21543549001216888, 0.09502063691616058, -0.5080090761184692, 0.9148046970367432, 1.0226396322250366, 0.004866808652877808, -0.18966330587863922, -0.45193883776664734, 0.36085230112075806, 0.49170443415641785, -0.7670912742614746, 0.42845532298088074, 0.532146155834198, 0.46928420662879944, 0.5734704732894897, 0.5638654828071594, -0.21016979217529297, -0.23765841126441956, -0.09843436628580093, 0.055984169244766235, 0.27359116077423096, -0.9519233703613281, -0.3453858196735382, 0.35675638914108276, 0.19938060641288757, -0.01478030439466238 ]
http://arxiv.org/abs/2402.11271v2
http://arxiv.org/pdf/2402.11271v2
MONAL: Model Autophagy Analysis for Modeling Human-AI Interactions
2024-02-17T13:02:54
2024-03-30T22:05:59
Shu Yang, Muhammad Asif Ali, Lu Yu, Lijie Hu, Di Wang
cs.CL
cs.CL, cs.CY, cs.HC
The increasing significance of large models and their multi-modal variants in societal information processing has ignited debates on social safety and ethics. However, there exists a paucity of comprehensive analysis for: (i) the interactions between human and artificial intelligence systems, and (ii) understanding and addressing the associated limitations. To bridge this gap, we propose Model Autophagy Analysis (MONAL) for large models' self-consumption explanation. MONAL employs two distinct autophagous loops (referred to as ``self-consumption loops'') to elucidate the suppression of human-generated information in the exchange between human and AI systems. Through comprehensive experiments on diverse datasets, we evaluate the capacities of generated models as both creators and disseminators of information. Our key findings reveal (i) A progressive prevalence of model-generated synthetic information over time within training datasets compared to human-generated information; (ii) The discernible tendency of large models, when acting as information transmitters across multiple iterations, to selectively modify or prioritize specific contents; and (iii) The potential for a reduction in the diversity of socially or human-generated information, leading to bottlenecks in the performance enhancement of large models and confining them to local optima.
[ -0.36115163564682007, -0.8703384399414062, 0.4122222661972046, -0.20578566193580627, 0.10532329976558685, 0.07661675661802292, 0.16535933315753937, -0.6333704590797424, 0.22270579636096954, 0.4849013388156891, -0.5951089262962341, 0.03446993976831436, -0.44043177366256714, -0.12415271252393723, -0.5234314203262329, 0.8467917442321777, 0.26996105909347534, -0.11746054142713547, -0.20779339969158173, -0.006230228580534458, -0.36150243878364563, -0.7841053605079651, -0.5587331056594849, -0.4186834394931793, 0.6948450207710266, 0.17300231754779816, 0.7839106917381287, 0.7902713418006897, 0.4059053361415863, 0.4294531047344208, 0.25668850541114807, 0.11389163881540298, -0.4746586084365845, 0.26085594296455383, -0.30688199400901794, 0.005136510357260704, -0.5626016855239868, 0.39451780915260315, 0.6193457841873169, 0.758332371711731, -0.16245509684085846, 0.48866161704063416, 0.35455065965652466, 0.8106889128684998, -0.8177875280380249, 0.2682803273200989, -0.5413596630096436, 0.11025790870189667, -0.141383558511734, -0.0008776991162449121, -0.25234904885292053, -0.016785230487585068, 0.1428346037864685, -0.5509915351867676, -0.16979718208312988, 0.2075808197259903, 0.49843430519104004, 0.6292991638183594, -0.4083448350429535, -0.3717936873435974, -1.0494036674499512, 0.6461632251739502, -0.7629143595695496, -0.11332105100154877, 0.4656901955604553, 0.1745496690273285, -0.07268700003623962, -0.5032461881637573, -0.5668842196464539, -0.3274737596511841, -0.18126431107521057, 0.11951207369565964, -0.38969531655311584, 0.2294955849647522, 0.366301029920578, 0.27770745754241943, -0.46013349294662476, -0.0070257424376904964, -0.6562739610671997, -0.30330461263656616, 0.9468884468078613, 0.5031947493553162, 0.43546974658966064, -0.47367343306541443, -0.27729153633117676, 0.07667852938175201, -0.27207982540130615, -0.03795700520277023, 0.6979441046714783, -0.20101039111614227, -0.008728422224521637, 0.7339630722999573, -0.18412116169929504, 0.5474423766136169, 0.11076559871435165, 0.3092748820781708, 0.0591447614133358, -0.3545500636100769, -0.470488578081131, -0.22176235914230347, 0.9204398989677429, 0.2721606492996216, 0.20637136697769165, 0.20887406170368195, -0.07709109038114548, 0.0059418645687401295, 0.4846293032169342, -0.7340511083602905, -0.6397388577461243, 0.18569202721118927, -0.8784319162368774, -0.554542601108551, -0.01847146451473236, -0.6054239273071289, -0.5528632402420044, -0.4952312111854553, 0.4345870614051819, -0.2246875911951065, -0.36966457962989807, 0.17044222354888916, -0.11291085183620453, 0.1121167466044426, -0.012577933259308338, -0.7175652384757996, 0.2249276489019394, 0.24409756064414978, 0.6634001731872559, -0.045615456998348236, -0.4049398899078369, -0.2914842367172241, 0.5033881068229675, -0.18551023304462433, 0.5848987698554993, -0.37850454449653625, -0.25387081503868103, -0.4065128266811371, -0.06445223838090897, -0.18216462433338165, -0.6523958444595337, 0.038235872983932495, -0.3993866443634033, -0.05052546411752701, -0.5096667408943176, -0.6852892637252808, -0.4075694680213928, 0.1303703784942627, -0.8173243403434753, 0.6950119137763977, -0.03838678449392319, -0.7482435703277588, 0.1676035225391388, -1.01798415184021, -0.49072349071502686, -0.02516772411763668, -0.1462475061416626, -0.31412985920906067, 0.019865626469254494, -0.05510648712515831, 0.5025357007980347, -0.29681944847106934, 0.5862599611282349, -0.676812469959259, 0.15616025030612946, 0.43685126304626465, -0.5974797606468201, 0.9394360780715942, 0.5268190503120422, -0.3265649676322937, 0.2684897482395172, -0.616494357585907, -0.3040657341480255, 0.18507911264896393, -0.10826944559812546, -0.3299724757671356, 0.3743956983089447, -0.17335574328899384, 0.2712232768535614, 0.34263572096824646, -0.36108773946762085, 0.15360546112060547, -0.02119813859462738, 0.9793711304664612, 0.8463128805160522, -0.06234441697597504, 0.43266117572784424, -0.5994576811790466, 0.42751798033714294, 0.10623835772275925, 0.5825300812721252, -0.31669506430625916, -0.37525033950805664, -0.6994237899780273, -0.10453538596630096, 0.09361578524112701, 0.42419981956481934, -0.3437063694000244, 0.5015300512313843, 0.25427761673927307, -0.1587774157524109, -0.4090016186237335, 0.17878007888793945, 0.271733820438385, 0.47470623254776, 0.2953259348869324, -0.44127848744392395, -0.3459814190864563, -1.2937216758728027, -0.20266814529895782, -0.23906674981117249, 0.022865956649184227, 0.4125605523586273, 0.6082213521003723, -0.43242982029914856, 1.0179853439331055, -0.21679817140102386, 0.049976326525211334, -0.24850723147392273, 0.44244349002838135, -0.36934342980384827, 0.7194558382034302, 0.6401623487472534, -0.5077188611030579, -0.07456071674823761, -0.36336782574653625, -1.0646578073501587, -0.02954688109457493, -0.20506510138511658, -0.2532534599304199, 0.012487835250794888, 0.2796221375465393, -0.4898790419101715, 0.686674952507019, 0.21817414462566376, -0.3253328204154968, 0.6503294110298157, -0.43584901094436646, 0.04121200367808342, -0.6056819558143616, 0.3256920874118805, -0.23937468230724335, -0.2033384144306183, -0.7211123108863831, -0.014208843931555748, -0.07523984462022781, -0.3657529354095459, -0.07388211041688919, 0.5635321140289307, -0.576141357421875, -0.3839004933834076, -0.3070615828037262, -0.1545713096857071, 0.20585763454437256, 0.24925871193408966, -0.29486194252967834, 0.594338059425354, 0.3679277300834656, -0.5366967916488647, 0.33913928270339966, 0.09008803963661194, -0.2282017022371292, 0.17365510761737823, -0.7985932230949402, 0.20108665525913239, -0.24972082674503326, 0.36101627349853516, -1.1970503330230713, -0.5783329606056213, 0.6345109939575195, -0.3592342138290405, 0.12153267115354538, 0.04827689006924629, -0.4870770573616028, -0.47336164116859436, -0.09308968484401703, 0.7872084975242615, 0.4379856586456299, -0.2696559429168701, 0.8778627514839172, 0.7328028678894043, -0.23544946312904358, -0.22856405377388, -0.5353124141693115, 0.06884048134088516, -0.34899279475212097, -0.7896087169647217, -0.11690658330917358, -0.36715051531791687, -0.495503693819046, 0.023387867957353592, 0.053977612406015396, -0.06917043775320053, 0.28516438603401184, 0.3138796389102936, 0.45779693126678467, 0.10191114246845245, 0.022814873605966568, 0.09226629137992859, -0.12419750541448593, 0.509356677532196, -0.4799211323261261, 0.36335131525993347, 0.010279325768351555, -0.3613598346710205, -0.8650994896888733, 0.4255451261997223, 0.8115538358688354, -0.36283963918685913, 0.6431373357772827, 0.48336759209632874, -0.26250672340393066, -0.03233969584107399, -0.7007016539573669, -0.133368119597435, -0.5077531337738037, 0.038185980170965195, -0.05192232131958008, -0.47015923261642456, 0.6446821093559265, 0.16762225329875946, 0.045386333018541336, 0.5155937075614929, 0.570999026298523, -0.2998087704181671, 1.0866237878799438, 0.30605247616767883, -0.5202076435089111, 0.37049585580825806, -0.5307100415229797, 0.04790371656417847, -0.7573019862174988, -0.057513732463121414, -0.06958939135074615, -0.5038409233093262, -0.24262256920337677, -0.392669141292572, 0.4027300477027893, -0.23712803423404694, -0.46285584568977356, -0.10308485478162766, -0.5713115334510803, 0.3730299472808838, 0.5278348326683044, -0.04302053898572922, 0.08632297068834305, -0.16670584678649902, 0.09247427433729172, 0.22961346805095673, -0.8048837184906006, -0.3277108669281006, 1.0323967933654785, 0.41381722688674927, 0.9307207465171814, -0.26400265097618103, 0.45732223987579346, 0.7848255634307861, 0.0788940042257309, -0.5563116669654846, 0.42362329363822937, -0.08769474923610687, -0.8783127665519714, -0.2214966118335724, -0.4975273609161377, -0.9145002961158752, 0.10930714756250381, -0.14536628127098083, -0.5750261545181274, 0.291151762008667, 0.5008452534675598, -0.7898410558700562, 0.2922857105731964, -0.6291568875312805, 0.8901944756507874, -0.424550861120224, -0.49820613861083984, -0.6586777567863464, -0.6817046403884888, 0.6118190884590149, -0.04705869033932686, 0.5108367204666138, -0.2886655032634735, 0.3361789882183075, 0.6470362544059753, -0.42016494274139404, 1.01035737991333, -0.10657653212547302, -0.061094850301742554, 0.6130412817001343, 0.225562185049057, 0.3925950229167938, -0.026422739028930664, -0.03314369544386864, 0.16353432834148407, -0.007338520605117083, -0.44195953011512756, -0.3637884259223938, 0.4457223415374756, -0.8667224049568176, -0.5120987892150879, -0.3655792772769928, -0.7775530815124512, 0.30000391602516174, -0.004511001519858837, 0.20251771807670593, 0.6340463757514954, 0.02401704341173172, 0.013344439677894115, 0.43540704250335693, -0.37762588262557983, 0.4038473665714264, 0.27358493208885193, -0.13139159977436066, -0.226613387465477, 0.8510040640830994, 0.2936115562915802, 0.37010473012924194, -0.35985615849494934, 0.36925002932548523, -0.09621790051460266, -0.3490380048751831, -0.4712470769882202, 0.25508788228034973, -0.3400875926017761, 0.008655179291963577, -0.6289348602294922, -0.5005662441253662, -0.29910433292388916, 0.003512634662911296, -0.43466639518737793, -0.32941552996635437, -0.38233059644699097, 0.10932133346796036, -0.08789892494678497, 1.1187511682510376, -0.4860098659992218, 0.24182452261447906, -0.6914399862289429, 0.4958275556564331, 0.4037958085536957, 0.08236400783061981, 0.3814454972743988, -0.21022938191890717, -0.3007983863353729, 0.1929587423801422, -0.3614257276058197, -1.0735682249069214, 0.3598095774650574, 0.06264852732419968, 0.5811114311218262, 0.7047562003135681, 0.17685949802398682, 0.59212327003479, -0.24002712965011597, 0.6887156367301941, -0.028909143060445786, -1.0274146795272827, 0.5366587042808533, -0.7075179815292358, 0.14624357223510742, 0.32635030150413513, 0.1881265789270401, -0.33087193965911865, -0.2884993851184845, -0.6564254760742188, -0.8270346522331238, 0.7206458449363708, 0.4404575824737549, -0.010779027827084064, 0.05662338063120842, 0.5917051434516907, -0.056410372257232666, 0.38273802399635315, -0.7338995337486267, -0.23871992528438568, -0.21037591993808746, -0.04426542669534683, 0.274099200963974, -0.402908056974411, -0.16706734895706177, -0.4076220989227295, 0.6167146563529968, 0.0891476571559906, 0.17618820071220398, 0.2340915948152542, -0.12502768635749817, -0.2614443898200989, -0.1393115520477295, 0.19615304470062256, 0.49935421347618103, -0.03997906669974327, 0.014354702085256577, -0.2075861692428589, -0.24403069913387299, 0.17654737830162048, 0.1332068294286728, -0.19572243094444275, -0.566382884979248, 0.20148570835590363, 0.47844380140304565, 0.0411161445081234, -0.6688969731330872, 0.1741362363100052, -0.07325443625450134, -0.12165477126836777, -0.7518998980522156, 0.30420708656311035, -0.06604721397161484, 0.5230602025985718, 0.23464295268058777, 0.12336930632591248, 0.608669102191925, -0.7555969953536987, 0.13989436626434326, 0.7103480696678162, 0.02490948513150215, -0.4030665159225464, 0.8334187865257263, 0.29462701082229614, -0.11654248833656311, 0.8009145259857178, -0.3866913318634033, -0.37452638149261475, 0.8923001885414124, 0.07859990000724792, 0.93620765209198, -0.3645004630088806, 0.2306109517812729, 0.5243968367576599, 0.32502231001853943, 0.11354371160268784, -0.03538565710186958, -0.2882537245750427, -0.7300263047218323, -0.2657127380371094, -0.5181679725646973, -0.05880069360136986, 0.35474351048469543, -0.867913544178009, -0.18606196343898773, -0.44493159651756287, -0.2925354838371277, 0.2913625240325928, -0.1616985946893692, -0.5877427458763123, -0.05739821121096611, 0.4507721960544586, 0.26878276467323303, -0.7144328951835632, 0.8250725865364075, 0.45834773778915405, -0.3496187925338745, -0.7191460728645325, -0.007461244706064463, 0.2561866343021393, -0.5693115592002869, 0.5973328351974487, 0.17076405882835388, -0.20224525034427643, 0.01241192128509283, -0.6003454923629761, -1.162739872932434, 1.0253208875656128, 0.1259949505329132, -0.5809748768806458, -0.34811821579933167, 0.12801985442638397, 0.29375287890434265, -0.5920642614364624, 0.22623512148857117, 0.7406041622161865, 0.616507887840271, -0.04535140469670296, -0.6926479339599609, -0.07206634432077408, -0.4516619145870209, -0.0445866733789444, 0.018480775877833366, -0.8105349540710449, 0.99748694896698, -0.13784193992614746, -0.1952987164258957, 0.20911532640457153, 0.4208025634288788, -0.13529559969902039, 0.46888646483421326, 0.7854471206665039, 0.39103397727012634, 0.7052579522132874, 0.5166510939598083, 0.8721638917922974, -0.4917444884777069, 0.44805780053138733, 1.1334320306777954, -0.4364017844200134, 0.2695806920528412, -0.05861639976501465, -0.08497118204832077, 0.41815927624702454, 0.6240983605384827, -0.11418741196393967, 0.11940020322799683, 0.21099728345870972, -0.022059209644794464, -0.4053293466567993, 0.18183162808418274, -0.09035006165504456, 0.6315646171569824, 0.5598918795585632, -0.526151716709137, -0.06865779310464859, 0.21611523628234863, -0.16794966161251068, -0.4180172085762024, -0.1345808506011963, 0.8249632716178894, -0.15727606415748596, -0.530556857585907, 0.4781203866004944, -0.20336908102035522, 0.11930735409259796, -0.3361695408821106, 0.1636197417974472, -0.10587719827890396, 0.002815194195136428, -0.015436815097928047, -0.3806712329387665, 0.565675675868988, -0.08442306518554688, -0.3131968677043915, -0.047328319400548935, 1.0562522411346436, -0.26714810729026794, -0.46652600169181824, 0.6352416276931763, 0.5506208539009094, 0.16731460392475128, 0.000988714979030192, -0.9746536612510681, 0.010377033613622189, -0.02124832198023796, -0.4092819094657898, 0.3058706223964691, 0.11872251331806183, 0.14896728098392487, 0.7986716628074646, 0.6569978594779968, -0.15469855070114136, 0.1363256871700287, -0.22348733246326447, 0.8899905681610107, -0.7712807655334473, -0.5120940208435059, -0.9686924815177917, 0.5185582637786865, -0.21145790815353394, -0.006912332493811846, 0.5950968265533447, 0.5486679077148438, 0.5656070113182068, 0.13901081681251526, 1.16488778591156, -0.15298710763454437, 0.2826481759548187, -0.3327650725841522, 0.9559594392776489, -0.7266238927841187, 0.29777058959007263, -0.16550233960151672, -0.6702768802642822, 0.46346810460090637, 0.703454852104187, -0.35139498114585876, 0.04271618649363518, 0.3416179418563843, 0.4788963198661804, -0.26615792512893677, 0.10964588820934296, 0.32309675216674805, 0.5760595798492432, 0.1358308345079422, 0.31236395239830017, 1.254502296447754, 0.00746918935328722, 0.16821198165416718, -0.27649062871932983, -0.3445958197116852, -0.32308703660964966, -0.5878031849861145, -0.9626829028129578, -0.6891219615936279, -0.12360270321369171, -0.2122935950756073, 0.08869999647140503, 0.8849627375602722, 1.0178461074829102, -0.4251336455345154, -0.5381757020950317, 0.0656210407614708, -0.10220789909362793, -0.005798897705972195, -0.1766192764043808, 0.011510989628732204, -0.5119771361351013, -0.41313281655311584, 0.3137766718864441, 0.3616146445274353, -0.035101454704999924, -0.7925238013267517, 0.1853654980659485, -0.07660927623510361, 0.46365323662757874, 0.7003626823425293, 0.349828839302063, -0.6658275127410889, -0.15157757699489594, -0.21574153006076813, 0.09210014343261719, 0.04172438755631447, 1.1170783042907715, -0.7658740282058716, 0.604436457157135, 0.2931927740573883, 0.40160417556762695, 0.4042804539203644, 0.3063264489173889, 0.6162633299827576, -0.12270773947238922, 0.03179750591516495, 0.06412201374769211, 0.3799566924571991, 0.10658344626426697, -0.6077269315719604, 0.3091776669025421, 0.20053644478321075, -0.9949324131011963, -0.5005223751068115, 0.495320200920105, -0.6591816544532776, -0.5323596000671387, 1.0174146890640259, -0.10111159831285477, -0.29713067412376404, -0.23428232967853546, -0.19992180168628693, 0.34801480174064636, -0.3717806041240692, 1.194620132446289, 0.6422183513641357, -0.4379928410053253, 0.10370241105556488, -0.8450297713279724, 0.45346662402153015, 0.3567051589488983, -0.9634395241737366, 0.432641863822937, 1.037740707397461, 0.4144245386123657, 0.07865727692842484, 0.6625484824180603, 0.1287180632352829, 0.12406071275472641, -0.13508100807666779, -0.09833091497421265, -0.16140061616897583, -0.631173312664032, -0.26588743925094604, 0.01889978162944317, -0.27208390831947327, -0.09912002831697464 ]
http://arxiv.org/abs/2402.11260v1
http://arxiv.org/pdf/2402.11260v1
MoRAL: MoE Augmented LoRA for LLMs' Lifelong Learning
2024-02-17T12:25:31
2024-02-17T12:25:31
Shu Yang, Muhammad Asif Ali, Cheng-Long Wang, Lijie Hu, Di Wang
cs.CL
cs.CL, cs.AI
Adapting large language models (LLMs) to new domains/tasks and enabling them to be efficient lifelong learners is a pivotal challenge. In this paper, we propose MoRAL, i.e., Mixture-of-Experts augmented Low-Rank Adaptation for Lifelong Learning. MoRAL combines the multi-tasking abilities of MoE with the fine-tuning abilities of LoRA for effective life-long learning of LLMs. In contrast to the conventional approaches that use factual triplets as inputs MoRAL relies on simple question-answer pairs, which is a more practical and effective strategy for robust and efficient learning. Owing to new data settings, we introduce a new evaluation benchmark namely: Life Long Learning of LLM (5L-bench) encompassing a newly curated dataset of question-answer pairs, and a set of evaluation metrics for rigorous evaluation of MoRAL in open-book and closed-book settings. Experimental evaluation shows (i) LLMs learn fast in open-book settings with up to 30.15% improvement in "RA" for Phi-2-2.7B compared to closed-book (for models fine-tuned with MoRAL); (ii) MoRAL shows higher performance improvement for models with a greater number of parameters; (iii) MoRAL is robust to catastrophic forgetting offering better knowledge retention compared to baselines.
[ -0.13369150459766388, -0.8688462376594543, 0.4104393422603607, 0.045257989317178726, -0.34064462780952454, 0.3017939031124115, -0.4494380056858063, -0.34348174929618835, -0.11197683960199356, 0.5943024158477783, -0.3262742757797241, -0.38814523816108704, -0.6260133981704712, -0.12829063832759857, 0.16658875346183777, 0.9673367142677307, 0.21540133655071259, 0.23589640855789185, -0.24442711472511292, -0.5630970597267151, -0.6488847136497498, -0.41435593366622925, -0.8259294629096985, -0.309705525636673, 0.7018414735794067, 0.5043870210647583, 0.4623571038246155, 0.40485548973083496, 0.2762041389942169, 0.2942781448364258, -0.07793152332305908, 0.5860266089439392, -1.0193921327590942, 0.2014712542295456, -0.4123406708240509, -0.5026498436927795, -0.7811110615730286, 0.04527384415268898, 0.5735194087028503, 0.6582432985305786, -0.2457294464111328, 0.20879895985126495, 0.3975503742694855, 1.005924940109253, -0.8124123215675354, 0.03292214870452881, -0.7185237407684326, -0.07278333604335785, 0.15906617045402527, -0.37040263414382935, -0.5402392745018005, -0.628825306892395, -0.03361617401242256, -0.6690609455108643, -0.4883689284324646, 0.05579051375389099, 0.3166922628879547, 0.39207130670547485, -0.49329403042793274, -0.36642077565193176, -0.6098077297210693, 1.2537119388580322, -0.5450535416603088, 0.43827563524246216, 0.3722466826438904, 0.20077824592590332, -0.17236357927322388, -0.16146638989448547, -0.28307291865348816, -0.15149420499801636, 0.4622727632522583, 0.2952154874801636, 0.29119157791137695, -0.13751468062400818, -0.03439050912857056, 0.4015008807182312, 0.11480464786291122, 0.14062973856925964, -0.3334105908870697, 0.07829011231660843, 0.7789317965507507, 0.1614995151758194, 0.04866693541407585, -0.05736377462744713, -0.5351994633674622, 0.04845789074897766, -0.7441011071205139, 0.14345934987068176, 0.2955095171928406, 0.08158927410840988, -0.1146983802318573, 0.4999895989894867, 0.08970145881175995, 0.5912894606590271, 0.13338789343833923, -0.5827317237854004, 0.2103154957294464, -0.16012054681777954, 0.07625284045934677, -0.12528586387634277, 0.5202396512031555, 0.515608549118042, 0.796230673789978, -0.002861469052731991, -0.1905532330274582, -0.42235442996025085, 0.13938795030117035, -0.6130127906799316, -0.08624260127544403, 0.005444926675409079, -0.38887614011764526, -0.25127682089805603, -0.2124340832233429, -0.6653790473937988, -0.5138423442840576, -0.5358848571777344, 0.6149094700813293, -0.6974369883537292, 0.050699423998594284, 0.44758808612823486, 0.3124610185623169, 0.3077453672885895, 0.6146752238273621, -0.7354141473770142, 0.1915881186723709, 0.6312470436096191, 0.720487654209137, -0.461829274892807, -0.23073936998844147, -1.0871765613555908, 0.3628741204738617, -0.25253328680992126, 0.6783819794654846, -0.6358039379119873, -0.5568658113479614, -0.2193536013364792, -0.15067417919635773, -0.17351439595222473, -0.5719935297966003, 0.618742823600769, -0.5032917261123657, 0.07431954145431519, -0.2873244285583496, -0.5453857183456421, -0.20874187350273132, 0.1477344036102295, -0.5427371263504028, 1.146827220916748, 0.16491377353668213, -0.4095700681209564, 0.36432144045829773, -0.9017775654792786, -0.3655696511268616, -0.012666109949350357, 0.12176688015460968, -0.3968554437160492, 0.10904259234666824, 0.14137843251228333, 0.6670969724655151, -0.1480204463005066, 0.3787407875061035, -0.5637805461883545, -0.5278134346008301, 0.23609332740306854, -0.5704907178878784, 0.8034511208534241, -0.043236326426267624, 0.04221025109291077, 0.05492490157485008, -0.9018166065216064, -0.013300105929374695, 0.04847396910190582, -0.8473142981529236, -0.5551480054855347, 0.3436344563961029, -0.17408569157123566, -0.11434360593557358, 0.4626072347164154, -0.48183369636535645, 0.2564171850681305, -0.30762848258018494, 0.3469633460044861, 1.1843379735946655, 0.15414297580718994, 0.32302045822143555, -0.5884811282157898, 0.2595042586326599, 0.019325485453009605, 0.30621829628944397, 0.18443697690963745, -0.483185738325119, -1.0577906370162964, -0.3947635889053345, 0.08226883411407471, 0.7081044912338257, -0.6855621337890625, 0.6169110536575317, -0.4522704780101776, -0.3678695857524872, -0.31623414158821106, 0.5908085703849792, 0.283174067735672, 0.43950843811035156, 0.5469255447387695, -0.2959374487400055, -0.2368779331445694, -0.39689773321151733, -0.44101837277412415, -0.2082429826259613, 0.21558649837970734, 0.5333672761917114, 0.6166217923164368, -0.2293354868888855, 0.8218865394592285, -0.34191474318504333, -0.11260241270065308, -0.082334965467453, -0.05478179454803467, 0.3601158857345581, 0.4559463858604431, 0.4423118829727173, -0.7431501150131226, -0.5753452777862549, 0.029185866937041283, -0.831902801990509, 0.21418388187885284, 0.13091035187244415, -0.15651287138462067, 0.08126922696828842, 0.4109773337841034, -0.040711935609579086, 0.08346392959356308, 0.3327556550502777, -0.21701541543006897, 0.48914462327957153, -0.42700210213661194, -0.017391454428434372, -1.16585111618042, -0.19527669250965118, -0.2571623921394348, -0.47241532802581787, -0.3187367022037506, -0.009264974854886532, 0.056781768798828125, 0.08582226932048798, -0.5933309197425842, 0.8216677904129028, -0.27804073691368103, -0.03610268235206604, -0.1437838077545166, 0.20555345714092255, -0.2419634908437729, 0.5118482112884521, -0.24534961581230164, 0.9588686227798462, 0.535098135471344, -0.7306023836135864, 0.4290977418422699, 0.3318789303302765, -0.4258216321468353, 0.8876044154167175, -0.54245525598526, 0.2626931369304657, -0.029636165127158165, 0.12793217599391937, -0.40554410219192505, -0.11044903844594955, 0.13429458439350128, -0.15458396077156067, 0.043569400906562805, -0.01358485035598278, -0.40186867117881775, 0.05075407028198242, -0.5286222100257874, 0.39701899886131287, 0.7639304399490356, -0.5688061714172363, 0.9389619827270508, 0.17962124943733215, -0.26024317741394043, -0.6954641342163086, -0.4204255938529968, -0.09464490413665771, -0.368841290473938, -0.4609564244747162, 0.03797980770468712, -0.5034273266792297, -0.2804522216320038, -0.07842865586280823, -0.0966225415468216, 0.12136204540729523, 0.43933236598968506, 0.15506450831890106, 0.2675122320652008, -0.3494129776954651, 0.2426164299249649, 0.16337822377681732, -0.21783524751663208, -0.1509379893541336, -0.19950811564922333, 0.31125205755233765, -0.488249272108078, -0.2975213825702667, -0.06507797539234161, 0.245326966047287, 0.690735936164856, -0.31880342960357666, 0.9080808162689209, 0.5440863966941833, -0.16881315410137177, -0.21388590335845947, -0.605664074420929, 0.10840650647878647, -0.4973170757293701, 0.25748515129089355, -0.27976542711257935, -1.0308810472488403, 0.4330897331237793, -0.2335669994354248, 0.20619750022888184, 0.3712174892425537, 0.6079678535461426, -0.38653692603111267, 0.3370002210140228, 0.7569833397865295, -0.13940194249153137, 0.5186111330986023, -0.13817159831523895, 0.13202926516532898, -1.1446442604064941, -0.1441044956445694, 0.016121309250593185, -0.2312213033437729, -0.5038244128227234, -0.5911925435066223, 0.681581974029541, 0.5530553460121155, -0.45970165729522705, -0.052529361099004745, -0.1062573567032814, 0.6761924624443054, 0.41594210267066956, 0.4941156804561615, 0.6357062458992004, 0.004050159361213446, 0.02035493403673172, 0.2164607048034668, -0.6124776601791382, -0.4514435827732086, 1.4941800832748413, 0.2533475160598755, 0.8655286431312561, 0.24269919097423553, 0.8154536485671997, 0.4641152620315552, 0.4729120433330536, -0.8283061385154724, 0.6480402946472168, -0.5170039534568787, -0.3905677795410156, -0.3076435923576355, -0.3478530943393707, -0.6416471004486084, 0.10454133152961731, -0.30014365911483765, -0.6147453784942627, 0.2096392959356308, 0.1073908805847168, -0.5736782550811768, 0.3110765218734741, -0.54915851354599, 0.3591799736022949, -0.5652026534080505, -0.7306963205337524, -0.5499864220619202, -0.4827896058559418, 0.23145842552185059, -0.49920544028282166, 0.24387550354003906, -0.35533925890922546, -0.29839378595352173, 0.852881908416748, -0.08037126064300537, 0.9498229026794434, -0.08275380730628967, -0.2483699768781662, 0.2703031599521637, -0.18812839686870575, 0.5393112301826477, 0.13169051706790924, -0.4096028208732605, 0.09368019551038742, -0.040388427674770355, -0.6571578979492188, -0.4797523021697998, 0.7087147831916809, -0.8204275369644165, -0.5498263239860535, -0.3599885404109955, -0.7175798416137695, -0.5911256074905396, 0.09334652870893478, -0.16513240337371826, 0.37606915831565857, -0.2240469753742218, 0.5607684254646301, 0.9113702774047852, -0.4718784987926483, 0.263022243976593, 0.5536864995956421, -0.1705092489719391, -0.6672438383102417, 1.086138129234314, -0.061577919870615005, 0.5733251571655273, 0.2616092562675476, 0.42453813552856445, -0.21513861417770386, -0.5134509801864624, -0.23551486432552338, 0.38749760389328003, -0.9562187194824219, -0.07604899257421494, -0.5595570206642151, -0.16117437183856964, 0.05971070006489754, -0.48535269498825073, -0.3020037114620209, -0.21067659556865692, -0.41665118932724, 0.10326430201530457, 0.5918814539909363, 0.5912375450134277, -0.13518047332763672, 0.15967293083667755, -0.7741773128509521, 0.523188591003418, 0.612464427947998, 0.38662028312683105, -0.11713223904371262, -0.6550846695899963, -0.21118298172950745, 0.1332499384880066, -0.29097944498062134, -0.3973378837108612, -0.13354364037513733, 0.7256442904472351, 0.4743397831916809, 0.2769746780395508, 0.06842521578073502, 0.6385018229484558, -0.5103722810745239, 0.5599731802940369, 0.15971550345420837, -0.8908398747444153, 0.34285131096839905, -0.5026243329048157, -0.057552676647901535, 0.714359700679779, 0.283572256565094, -0.16988348960876465, -0.032876480370759964, -0.2435830533504486, -0.5963512659072876, 0.3858751952648163, -0.045706551522016525, 0.3308424949645996, 0.18017032742500305, 0.5259209275245667, 0.46671196818351746, 0.10150717943906784, -0.7707709670066833, -0.08683255314826965, -0.0024020604323595762, -0.27516114711761475, -0.30675557255744934, -0.42050862312316895, -0.0678761824965477, -0.5227705240249634, 0.7273910641670227, -0.44544634222984314, 0.09342996031045914, -0.20003211498260498, -0.25155699253082275, 0.03578682988882065, 0.39801904559135437, 0.39277464151382446, 0.7763447165489197, -0.40916872024536133, -0.19618597626686096, 0.48316526412963867, -0.36827388405799866, 0.176722913980484, -0.25511616468429565, 0.09428820013999939, -0.5125965476036072, 0.44997578859329224, 0.6377565264701843, 0.546360969543457, -0.6540997624397278, 0.39248135685920715, 0.23987263441085815, 0.025907229632139206, -0.37606358528137207, 0.6038957238197327, 0.24307559430599213, 0.3034282624721527, 0.3401038348674774, 0.1412123143672943, -0.3058788776397705, -0.7222673296928406, 0.1712421476840973, 0.24006876349449158, -0.2730039954185486, -0.057154443114995956, 0.43143993616104126, 0.5564355254173279, -0.20485122501850128, 0.37952184677124023, -0.016230231150984764, -0.4186655879020691, 0.2758640944957733, 0.4343220591545105, 0.6389245986938477, -0.3629755973815918, 0.06762930005788803, 0.30232998728752136, 0.05201301351189613, -0.041502054780721664, 0.47840362787246704, -0.21329569816589355, -0.827718198299408, -0.5051057934761047, -0.9052971005439758, -0.47036105394363403, -0.11428757011890411, -0.8242854475975037, 0.25089532136917114, -0.47145599126815796, 0.1753646433353424, -0.4285494089126587, -0.009584533981978893, -0.4298083782196045, 0.21626649796962738, -0.16378454864025116, 0.7592883110046387, -0.6680875420570374, 0.9560514092445374, 0.4782068431377411, -0.13880555331707, -0.24663947522640228, -0.024762392044067383, -0.3315322995185852, -1.0753300189971924, 0.5900545716285706, -0.015083234757184982, -0.5280285477638245, 0.3575824797153473, -0.5543144345283508, -0.6851627826690674, 1.2779102325439453, 0.5325090885162354, -0.5258542895317078, -0.014974881894886494, -0.10085820406675339, 0.3792298436164856, -0.4041038155555725, -0.03277786448597908, 0.36119344830513, 0.43385663628578186, -0.10711358487606049, -0.6684122085571289, -0.3709176182746887, -0.015334014780819416, -0.31652840971946716, 0.09250560402870178, -0.8705544471740723, 0.7143403887748718, -0.36081042885780334, 0.13849997520446777, 0.2581839859485626, 0.7433300614356995, 0.5452780723571777, 0.2688750624656677, 0.61380535364151, 0.38414132595062256, 0.9231137037277222, 0.07704713940620422, 0.9800036549568176, -0.39463362097740173, 0.6091345548629761, 1.0647571086883545, -0.3042028546333313, 1.0690985918045044, 0.4288069009780884, -0.14351457357406616, 0.6153166890144348, 0.48538294434547424, 0.03718697652220726, 0.40078258514404297, -0.14409995079040527, -0.30145031213760376, -0.7790606617927551, -0.11684981733560562, -0.3548014760017395, 0.3332364857196808, 0.5828734636306763, -0.10451454669237137, 0.028715582564473152, 0.20441985130310059, -0.06493730843067169, 0.1104089766740799, -0.4546036124229431, 0.5693564414978027, 0.4150598645210266, -0.36778512597084045, 0.7321316599845886, -0.05524272099137306, 0.8104857206344604, -0.5103862881660461, 0.01488849800080061, -0.14321811497211456, 0.3231266438961029, -0.07957462221384048, -0.7438847422599792, -0.016926312819123268, 0.07934272289276123, -0.08683218061923981, -0.15940219163894653, 0.5725951194763184, -0.25526002049446106, -0.6889945864677429, 0.45195749402046204, 0.6078795194625854, 0.041600875556468964, 0.20842602849006653, -0.866287112236023, -0.18668532371520996, -0.16029445827007294, -0.13365958631038666, 0.19555002450942993, 0.25347915291786194, -0.06868796795606613, 1.101677656173706, 0.6964775919914246, 0.06779960542917252, 0.12064149230718613, -0.1727285385131836, 0.8190880417823792, -0.6792048215866089, -0.33606037497520447, -0.6844037771224976, 0.49872732162475586, 0.12585625052452087, -0.3990584909915924, 0.5727072954177856, 0.43164530396461487, 0.7498680353164673, -0.06677528470754623, 0.6726288795471191, 0.17486000061035156, 0.3777419924736023, -1.0306415557861328, 0.7445871829986572, -0.8473304510116577, 0.22638629376888275, 0.020069295540452003, -1.1102567911148071, -0.025977488607168198, 0.4275570511817932, -0.5893992781639099, 0.3387705087661743, 0.7746341228485107, 0.3758324086666107, -0.35427775979042053, -0.1359047144651413, 0.5614436864852905, 0.34258586168289185, 0.1055770143866539, 0.8607254028320312, 0.8704328536987305, -0.38014212250709534, 0.12815532088279724, -0.09593284130096436, -0.1300329566001892, -0.35948413610458374, -0.8899081945419312, -1.0583473443984985, -0.38596346974372864, -0.30374494194984436, -0.023817477747797966, 0.4638524651527405, 0.9368149042129517, 0.5267696380615234, -0.7683393359184265, -0.13354860246181488, 0.13421593606472015, 0.10958624631166458, -0.10736316442489624, -0.1252337247133255, 0.5291662216186523, -0.1705717295408249, -0.7290909886360168, 0.5600487589836121, 0.5251932740211487, -0.2827702760696411, -0.2606865167617798, -0.4720475375652313, -0.19668510556221008, 0.316983699798584, 0.8456048965454102, 0.05320187285542488, -0.7895582318305969, -0.530545175075531, -0.17739076912403107, 0.08024172484874725, 0.25443655252456665, 0.5833621621131897, -0.6098043918609619, 0.45424848794937134, 0.12597033381462097, 0.8910002112388611, 0.13288933038711548, 0.16255247592926025, 0.4170258045196533, -0.2725903391838074, -0.07933645695447922, 0.2833939790725708, 0.3545722961425781, 0.3556625247001648, -0.3528006970882416, 0.5905815958976746, 0.3780336380004883, -0.552039623260498, -0.5775855183601379, 0.2446044385433197, -1.233712911605835, -0.06683295220136642, 1.274517297744751, -0.28866565227508545, -0.19529734551906586, -0.24339699745178223, -0.17167003452777863, 0.020876402035355568, -0.4156961441040039, 0.6246122121810913, 0.6863400340080261, -0.049927033483982086, -0.06114523112773895, -0.688209056854248, -0.07690415531396866, 0.6488178968429565, -0.8866720199584961, -0.05850406363606453, 0.36420291662216187, 0.5637076497077942, -0.11859873682260513, 0.3911415636539459, -0.07970260828733444, 0.3340211510658264, -0.5289457440376282, -0.17899028956890106, -0.18297378718852997, -0.3416993021965027, -0.328428715467453, -0.0050117261707782745, 0.2161710113286972, 0.03119049407541752 ]
http://arxiv.org/abs/2402.11254v2
http://arxiv.org/pdf/2402.11254v2
C-ICL: Contrastive In-context Learning for Information Extraction
2024-02-17T11:28:08
2024-06-24T08:34:56
Ying Mo, Jiahao Liu, Jian Yang, Qifan Wang, Shun Zhang, Jingang Wang, Zhoujun Li
cs.CL
cs.CL
There has been increasing interest in exploring the capabilities of advanced large language models (LLMs) in the field of information extraction (IE), specifically focusing on tasks related to named entity recognition (NER) and relation extraction (RE). Although researchers are exploring the use of few-shot information extraction through in-context learning with LLMs, they tend to focus only on using correct or positive examples for demonstration, neglecting the potential value of incorporating incorrect or negative examples into the learning process. In this paper, we present c-ICL, a novel few-shot technique that leverages both correct and incorrect sample constructions to create in-context learning demonstrations. This approach enhances the ability of LLMs to extract entities and relations by utilizing prompts that incorporate not only the positive samples but also the reasoning behind them. This method allows for the identification and correction of potential interface errors. Specifically, our proposed method taps into the inherent contextual information and valuable information in hard negative samples and the nearest positive neighbors to the test and then applies the in-context learning demonstrations based on LLMs. Our experiments on various datasets indicate that c-ICL outperforms previous few-shot in-context learning methods, delivering substantial enhancements in performance across a broad spectrum of related tasks. These improvements are noteworthy, showcasing the versatility of our approach in miscellaneous scenarios.
[ -0.5059816837310791, -0.9665842056274414, 0.41284382343292236, -0.1166701391339302, -0.380747526884079, 0.23378312587738037, -0.2846374809741974, -0.5808335542678833, -0.12505321204662323, 0.14438478648662567, -0.4904567301273346, -0.7305549383163452, -0.25684988498687744, 0.10952391475439072, -0.3652089834213257, 1.0124926567077637, 0.02734849415719509, 0.2986232340335846, -0.22464720904827118, -0.1315523386001587, -0.2935601472854614, -0.3436237573623657, -0.6711686849594116, -0.4060828983783722, 0.4506416916847229, 0.9472777247428894, 0.0905059427022934, 0.31010428071022034, 0.4622322916984558, 0.1434326469898224, 0.07840821146965027, 0.24649371206760406, -0.5821403861045837, -0.07438300549983978, -0.2573949992656708, -0.36473286151885986, 0.09364745020866394, -0.06311477720737457, 0.668272852897644, 0.6358952522277832, 0.1551995426416397, 0.20779535174369812, 0.5801392793655396, 0.3596809506416321, -0.7924062013626099, 0.19648927450180054, -0.9735575914382935, 0.015841830521821976, -0.3461616337299347, -0.3586081266403198, -0.583197832107544, -0.13454921543598175, 0.18323004245758057, -0.6135169863700867, 0.04857668653130531, 0.0921032577753067, 0.9364395141601562, 0.13615983724594116, -0.4153807759284973, -0.47868284583091736, -0.4530889391899109, 0.9406819939613342, -0.8638046383857727, 0.3511729836463928, 0.20023652911186218, 0.4704122543334961, -0.13135726749897003, -0.6888808608055115, -0.7504569292068481, -0.3633071184158325, -0.32192161679267883, 0.10233502089977264, 0.1298842579126358, -0.04409762844443321, 0.4593621790409088, -0.0024896026588976383, -0.13558252155780792, 0.3522087037563324, -0.2655022442340851, -0.026297368109226227, 0.2682790756225586, 0.1519300937652588, 0.20018397271633148, -0.01119135320186615, -0.5261288285255432, -0.03572501987218857, -1.2733421325683594, 0.19455215334892273, 0.06439570337533951, 0.6160790920257568, -0.4353317320346832, 0.5403673052787781, -0.12305235117673874, 0.502960741519928, 0.2892795205116272, -0.3701622486114502, 0.18987306952476501, 0.02199537120759487, -0.2741653025150299, 0.18855854868888855, 0.49327030777931213, 0.28737396001815796, -0.1728106141090393, -0.13211023807525635, -0.06405662000179291, -0.15515156090259552, -0.26274484395980835, -0.9253799319267273, -0.15322145819664001, 0.02943301573395729, -0.5013957023620605, -0.08147459477186203, 0.0325838066637516, -0.8662571310997009, -0.2320997416973114, -0.4639733135700226, 0.3438475728034973, -0.4313235282897949, 0.05353321507573128, -0.45494982600212097, -0.07294289767742157, 0.553552508354187, 0.4435475468635559, -0.4442998766899109, 0.4680419862270355, 0.4368251860141754, 0.6199169158935547, -0.6142191886901855, -0.16993223130702972, -0.9642598628997803, 0.16677530109882355, -0.20477472245693207, 0.786744236946106, -0.5388135313987732, -0.273933082818985, -0.0019566703122109175, -0.26135891675949097, 0.16789796948432922, -0.8979485630989075, 0.29519131779670715, -0.5346198678016663, 0.019956497475504875, -0.23030641674995422, -0.6698490381240845, -0.07071416825056076, 0.5856659412384033, -0.35524529218673706, 0.8240280151367188, 0.07944223284721375, -0.8494967222213745, 0.3960872292518616, -0.6431422829627991, -0.28609606623649597, 0.2896603047847748, -0.7183570265769958, -0.4734119772911072, -0.38520511984825134, -0.028625458478927612, 0.5439661741256714, -0.21175004541873932, -0.048497557640075684, -0.6431755423545837, -0.653197169303894, 0.30596277117729187, -0.328981876373291, 0.8798185586929321, 0.18532416224479675, -0.5964949727058411, -0.17886990308761597, -0.8714432716369629, -0.09345432370901108, -0.08223618566989899, -0.4492338001728058, -0.42314672470092773, -0.11102388799190521, -0.09198018908500671, 0.5290866494178772, -0.08010432869195938, -0.5919730067253113, 0.09786508232355118, -0.550571084022522, -0.08184272795915604, 0.4511254131793976, 0.27738797664642334, 0.4835653007030487, -0.16378355026245117, 0.4725608229637146, 0.4533989727497101, -0.14506493508815765, -0.187872976064682, 0.07155706733465195, -0.7732508778572083, -0.4163641333580017, 0.1404380351305008, 0.6654087901115417, -1.2011220455169678, 0.06007911637425423, 0.0655190497636795, -0.23205244541168213, -0.22118741273880005, 0.29132264852523804, 0.6033530831336975, 1.1738966703414917, 0.5558096766471863, -0.060496848076581955, -0.4928980767726898, -0.8556306958198547, -0.20647485554218292, -0.047325413674116135, 0.16018278896808624, 0.6763707399368286, 0.3631795644760132, 0.05057046189904213, 0.9840162992477417, -0.4332197904586792, -0.19262297451496124, -0.32279151678085327, 0.12287205457687378, 0.2651587128639221, 0.4125407636165619, 0.3990805745124817, -0.8563691973686218, -0.7375211715698242, -0.0587628111243248, -0.7546489238739014, -0.056092921644449234, -0.2650648355484009, 0.06788717210292816, -0.052387580275535583, 0.7808179259300232, -0.2970241606235504, 0.4097263813018799, 0.07995069026947021, 0.06290183216333389, 0.6425147652626038, 0.1901460438966751, 0.026067055761814117, -0.8928717970848083, -0.10000908374786377, 0.2583725154399872, -0.1997479647397995, -0.4876154065132141, 0.21567082405090332, 0.27281108498573303, 0.07095177471637726, -1.1050679683685303, 0.8098843693733215, -0.6000639200210571, -0.013730584643781185, -0.19485440850257874, 0.3160276412963867, -0.17944280803203583, 0.46389567852020264, -0.03788220137357712, 0.7601292133331299, 0.6540286540985107, -0.8722107410430908, -0.06530177593231201, 0.14837931096553802, -0.1981569528579712, 0.7314190864562988, -0.043627817183732986, 0.16985484957695007, -0.20145663619041443, 0.1493377387523651, -0.8961016535758972, -0.16448047757148743, 0.47609591484069824, -0.16863663494586945, 0.5479411482810974, -0.16544459760189056, -0.3395831882953644, 0.10580804944038391, -0.3958798348903656, 0.47273239493370056, 0.20770737528800964, -1.0581016540527344, 0.37542906403541565, 0.1924232393503189, -0.05255381762981415, -0.78972989320755, -0.7789437174797058, 0.03275027498602867, -0.529604971408844, -0.002990898909047246, 0.5757129192352295, -0.38156068325042725, -0.593165934085846, -0.14737774431705475, 0.029569566249847412, -0.3705196976661682, 0.29446229338645935, 0.17258533835411072, 0.4210411012172699, -0.26237815618515015, 0.22761954367160797, 0.07176509499549866, 0.09441741555929184, -0.2104923576116562, 0.13669686019420624, 0.19776812195777893, -0.12600275874137878, -0.48671817779541016, -0.5993955731391907, 0.3536510765552521, 0.024555375799536705, 0.13847637176513672, 0.38696157932281494, 0.357766717672348, -0.6115514039993286, -0.3482610285282135, -0.4283096492290497, -0.2865525484085083, -0.4118480682373047, 0.21940141916275024, -0.47041210532188416, -0.7243553400039673, 0.2704247832298279, -0.3636496067047119, 0.017669886350631714, 0.21490293741226196, 0.15225034952163696, -0.3459325432777405, 0.8124062418937683, 0.6127724051475525, -0.09200401604175568, 0.6041911840438843, -0.36164167523384094, 0.2363535761833191, -0.8783336281776428, -0.14188149571418762, -0.5639253258705139, -0.08102519065141678, -0.3976357877254486, -0.005203929729759693, 0.41837623715400696, 0.4435250759124756, -0.29777029156684875, 0.10500319302082062, -0.04928262159228325, 0.6869784593582153, 0.29890570044517517, 0.44223618507385254, 0.2754098176956177, -0.010894594714045525, -0.33682727813720703, -0.20492668449878693, -0.48152798414230347, -0.6196194291114807, 0.7711407542228699, -0.0032456321641802788, 0.7230623960494995, 0.1223345473408699, 1.0715301036834717, 0.05265846103429794, 0.8290831446647644, -0.9033381938934326, 0.47461915016174316, -0.2153349667787552, -0.25232356786727905, -0.1371995359659195, -0.14759917557239532, -0.6278504729270935, 0.22520692646503448, -0.468572735786438, -0.8943115472793579, 0.33975255489349365, 0.40226420760154724, -0.3973686695098877, 0.21114927530288696, -0.7413192987442017, 0.6136802434921265, -0.17128275334835052, -0.5724101662635803, -0.07150419801473618, -0.8196201920509338, 0.4796313941478729, 0.10199901461601257, 0.2505938410758972, 0.20979580283164978, -0.07254660874605179, 0.23381143808364868, -0.04827837646007538, 0.9945208430290222, -0.17396441102027893, 0.15200279653072357, 0.3422309160232544, 0.25407159328460693, 0.6158261299133301, 0.07719286531209946, -0.27926021814346313, -0.07235021889209747, -0.25641024112701416, -0.20561128854751587, -0.5815986394882202, 0.7117083668708801, -0.3738561272621155, -0.4312135875225067, -0.13397231698036194, -0.20321503281593323, -0.18803346157073975, 0.18745394051074982, 0.3383411467075348, 0.6465975642204285, -0.2577399015426636, 0.349331796169281, 0.5326123237609863, -0.2730441093444824, 0.7253729701042175, 0.43755629658699036, 0.1435898095369339, -0.24632172286510468, 0.8053150177001953, -0.12459961324930191, 0.28727006912231445, 0.6871011853218079, 0.12405544519424438, -0.24784697592258453, -0.7352154850959778, -0.2514914870262146, 0.0397912971675396, -1.1405694484710693, -0.427101194858551, -0.577052891254425, -0.163832426071167, -0.15330031514167786, -0.28288978338241577, -0.033339109271764755, -0.19417959451675415, -0.7583849430084229, -0.038914646953344345, -0.39140722155570984, 0.3348549008369446, 0.17348633706569672, 0.29794979095458984, -0.6482139229774475, 0.36879274249076843, 0.1565466672182083, -0.1153445690870285, -0.03199150040745735, -0.31278133392333984, -0.21727865934371948, -0.1479550451040268, -0.6013908386230469, -0.968300998210907, 0.35961565375328064, 0.3695462644100189, 0.7742979526519775, 0.5071314573287964, -0.022766439244151115, 0.8838847875595093, -0.3031277060508728, 0.9274039268493652, 0.2345753312110901, -0.845283031463623, 0.4724799394607544, 0.05318007990717888, 0.16186559200286865, 0.8404030203819275, 0.47852984070777893, -0.2035263329744339, -0.3401532769203186, -0.808273434638977, -0.7564782500267029, 0.5890403389930725, -0.11324277520179749, -0.14978475868701935, -0.2609536647796631, 0.5388791561126709, 0.2686670124530792, 0.05875345692038536, -1.0425398349761963, -0.360630065202713, 0.09258866310119629, -0.39809080958366394, 0.14736054837703705, -0.13038785755634308, 0.02013299986720085, -0.013219790533185005, 0.8898928761482239, -0.5476546883583069, -0.1846640408039093, 0.3789008557796478, -0.5855478048324585, 0.137192502617836, 0.5344592928886414, 0.4391545355319977, 0.7737360000610352, -0.10977914929389954, 0.46926602721214294, 0.64842289686203, 0.07148270308971405, -0.02757198177278042, 0.09675748646259308, -0.2965747117996216, -0.10490760952234268, 0.3957234025001526, 0.39124584197998047, 0.370440810918808, -0.7922291159629822, 0.7858494520187378, 0.005523398984223604, 0.15035654604434967, -0.41275012493133545, -0.0341593399643898, -0.1089717298746109, 0.4347686767578125, 0.4445143938064575, -0.08361107110977173, 0.5205406546592712, -0.617202639579773, 0.42737555503845215, 0.5306010246276855, -0.5521166324615479, -0.096812404692173, 0.22610147297382355, 0.02661435306072235, -0.3672688901424408, 0.630285382270813, -0.4597768783569336, -0.2531314194202423, 0.7228844165802002, 0.8802945017814636, 0.7575424313545227, 0.12872879207134247, 0.03286740556359291, 0.6175721287727356, -0.12061715126037598, 0.2492993026971817, 0.056636445224285126, -0.37179383635520935, -0.83256596326828, -0.14722135663032532, -0.09411071240901947, -0.4881870448589325, 0.249264657497406, -0.6199110150337219, 0.71831214427948, -0.4099419414997101, 0.29641133546829224, -0.001421469496563077, 0.030114196240901947, -0.9019119143486023, 0.23218876123428345, 0.19879619777202606, 0.9898326396942139, -0.6907263398170471, 0.9586102366447449, 0.47207948565483093, -0.43707600235939026, -0.7484997510910034, 0.3200882077217102, 0.25902259349823, -0.4418502151966095, 1.1425164937973022, 0.29713231325149536, -0.32780706882476807, -0.012048306874930859, -0.924106240272522, -0.48631909489631653, 1.1806620359420776, 0.49985983967781067, -0.8337060809135437, 0.12484347820281982, -0.2846434414386749, 0.37089961767196655, -0.8445705771446228, 0.48539358377456665, 0.36803674697875977, 0.17966219782829285, 0.08440589904785156, -0.4622287452220917, 0.027396131306886673, 0.06728778779506683, -0.3364922106266022, -0.09627737104892731, -0.5399091839790344, 0.626002848148346, -0.320247083902359, -0.43980610370635986, 0.0789717510342598, 0.6359962821006775, 0.6317607164382935, 0.5363853573799133, 0.7039177417755127, 0.16486172378063202, 0.6392800211906433, 0.23403269052505493, 0.8622913360595703, -0.0043454221449792385, 0.2551756203174591, 1.6454559564590454, -0.5202221274375916, 0.9687148928642273, 0.8002459406852722, 0.10754366219043732, 0.564529538154602, 0.6812887787818909, 0.2086644470691681, 0.634905993938446, 0.2511099874973297, -0.5455033183097839, -0.2019103765487671, -0.2481697052717209, 0.10968856513500214, 0.416517436504364, 0.5579073429107666, -0.22389660775661469, -0.5430657863616943, 0.017711792141199112, -0.17667467892169952, 0.17957495152950287, -0.16015119850635529, 0.9820090532302856, 0.2539050877094269, -0.571166455745697, 0.371198832988739, -0.3101116120815277, 0.7423739433288574, -0.3364250361919403, -0.8052207827568054, -0.09924464672803879, 0.05640549212694168, -0.24413372576236725, -0.5758163332939148, 0.14115098118782043, -0.05481569841504097, 0.04969232529401779, 0.020347412675619125, 0.8202459216117859, -0.6038707494735718, -0.07552964985370636, 0.4314272999763489, 0.27586784958839417, 0.37863093614578247, 0.23766925930976868, -0.8481875658035278, -0.27054670453071594, -0.012097788974642754, 0.22108452022075653, 0.2860170006752014, 0.21205191314220428, -0.055259522050619125, 0.5039483308792114, 0.3401332497596741, 0.07830444723367691, -0.12941953539848328, 0.15657243132591248, 0.8882117867469788, -0.7217527031898499, -0.40426746010780334, -0.9969748854637146, 0.6728634238243103, -0.3277326226234436, -0.29828956723213196, 0.48353278636932373, 0.8048759698867798, 1.1240850687026978, 0.08489824831485748, 0.8494259119033813, 0.0720091164112091, 0.6600207686424255, -0.7837811708450317, 0.08673226088285446, -0.4443177580833435, 0.5325677990913391, -0.2992960512638092, -0.8193331360816956, -0.5213488340377808, 0.25226297974586487, -0.0652647539973259, -0.23829154670238495, 0.9537892937660217, 1.028724193572998, -0.30299434065818787, -0.3196490705013275, 0.4342241585254669, 0.2513696253299713, 0.5535739660263062, 0.5483778715133667, 0.9425551295280457, -0.39566248655319214, 0.639866828918457, -0.5086913704872131, -0.23118358850479126, -0.17523856461048126, -1.192440152168274, -0.7925899028778076, -0.4483741223812103, -0.4872177839279175, -0.2822754979133606, 0.033780332654714584, 1.341760516166687, 0.7592203617095947, -0.8330914974212646, -0.16186192631721497, 0.024915844202041626, 0.35966524481773376, -0.1121031641960144, -0.2849281430244446, 0.3807066082954407, -0.47720855474472046, -0.6590740084648132, 0.6880108118057251, 0.36198973655700684, 0.13190288841724396, 0.03787684068083763, -0.10522985458374023, -0.31939712166786194, -0.3138527274131775, 0.5404137372970581, 0.42328664660453796, -0.7296860814094543, -0.459762305021286, -0.35879185795783997, -0.12669600546360016, 0.4434707462787628, 0.8303775787353516, -0.791702926158905, 0.33782848715782166, 0.3925246000289917, 0.7248751521110535, 0.6809954047203064, -0.025202559307217598, 0.1358715444803238, -0.9392733573913574, 0.16522878408432007, 0.2297280728816986, 0.43043282628059387, 0.5778943300247192, -0.6167474389076233, 0.2646922767162323, 0.05189864709973335, -0.25105521082878113, -0.5632091164588928, 0.3064708709716797, -1.0511411428451538, -0.356854647397995, 1.2304632663726807, -0.34302616119384766, -0.11825317144393921, -0.16383536159992218, -0.37182626128196716, 0.3379453718662262, -0.281735360622406, 0.7586875557899475, 0.5065699815750122, -0.39779502153396606, -0.2909410893917084, -0.35829809308052063, 0.40575239062309265, 0.020545773208141327, -1.080226182937622, -0.3427089750766754, 0.4931142032146454, 0.4765789210796356, -0.028741300106048584, 0.5559238791465759, -0.1826944500207901, 0.3008251488208771, -0.34487247467041016, -0.02402285300195217, 0.253009170293808, -0.2989998161792755, -0.5712507963180542, 0.2253836989402771, 0.3480287790298462, -0.17146465182304382 ]
http://arxiv.org/abs/2402.11253v3
http://arxiv.org/pdf/2402.11253v3
Aligning Large Language Models by On-Policy Self-Judgment
2024-02-17T11:25:26
2024-06-25T13:39:52
Sangkyu Lee, Sungdong Kim, Ashkan Yousefpour, Minjoon Seo, Kang Min Yoo, Youngjae Yu
cs.LG
cs.LG, cs.AI, cs.CL
Existing approaches for aligning large language models with human preferences face a trade-off that requires a separate reward model (RM) for on-policy learning. In this paper, we present a novel alignment framework, SELF-JUDGE that (1) does on-policy learning and 2) is parameter efficient, as it does not require an additional RM for evaluating the samples for on-policy learning. To this end, we propose Judge-augmented Supervised Fine-Tuning (JSFT) to train a single model to act as both a policy and a judge. Specifically, we view the pairwise judgment task, choosing the better response from a response pair, as a special case of the instruction-following task. The resulting model can judge preferences of on-the-fly responses from current policy initialized from itself. Experimental results show the efficacy of SELF-JUDGE, outperforming baselines in preference benchmarks. We also show that the rejecting sampling by itself can improve performance further without an additional evaluator.
[ -0.4014124870300293, -0.386940598487854, 0.5819888114929199, 0.10941935330629349, 0.12934088706970215, -0.17411606013774872, -0.6071627736091614, -0.011451257392764091, 0.2706861197948456, 0.6507327556610107, -0.5030767917633057, -0.03630726784467697, -0.5007390975952148, -0.28780823945999146, -0.009503571316599846, 1.2028958797454834, 0.12906377017498016, 0.040585048496723175, -0.23873083293437958, -0.21963746845722198, -0.47615846991539, -0.23193903267383575, -0.656497597694397, -0.4412042200565338, 0.5459583401679993, 0.6115967631340027, 0.8905507922172546, 0.8734764456748962, 0.2913077175617218, 0.37632957100868225, 0.14278951287269592, 0.17380017042160034, -0.2644076645374298, -0.01815548911690712, -0.7537912726402283, -0.201955646276474, -0.45336633920669556, 0.11365147680044174, 0.4387471079826355, 0.5608075261116028, -0.32533565163612366, -0.047454651445150375, 0.12314445525407791, 0.6564763188362122, -0.698838472366333, 0.018176782876253128, -0.5166926383972168, -0.1107594296336174, 0.09053417295217514, -0.09194488078355789, -0.4421815872192383, -0.28312331438064575, 0.28459224104881287, -0.6991045475006104, -0.06624718010425568, 0.12952367961406708, 0.8425808548927307, 0.5112519860267639, -0.5345802307128906, 0.025275833904743195, -0.3272247910499573, 0.9424365162849426, -0.634670615196228, 0.4561675190925598, 0.5573219656944275, 0.35813596844673157, -0.05618641898036003, -0.29764294624328613, -0.509200930595398, -0.24832600355148315, -0.3576066493988037, 0.1474694311618805, 0.14838062226772308, 0.23846150934696198, -0.04717348515987396, 0.19928327202796936, -0.5534952282905579, 0.5416145324707031, 0.03604783117771149, -0.1295263171195984, 0.6942390203475952, -0.07976355403661728, -0.0002436158829368651, -0.18377481400966644, -0.48225921392440796, -0.33515316247940063, -0.4224492013454437, 0.15369288623332977, 0.598786473274231, 0.7334893345832825, -0.050104882568120956, 0.4033435881137848, -0.6573600172996521, 0.8602885007858276, 0.5793467164039612, 0.12733498215675354, 0.21717588603496552, 0.047960273921489716, -0.221358984708786, 0.2462610900402069, 0.8438538312911987, 0.42118188738822937, 0.1894262135028839, -0.17608685791492462, -0.37616413831710815, 0.0952356606721878, 0.5347396731376648, -0.6740047335624695, -0.2936745285987854, 0.03699897229671478, -0.3848012387752533, -0.46170774102211, -0.1088370755314827, -0.72335284948349, -0.40263834595680237, -0.6748648881912231, 0.6222716569900513, 0.06719952076673508, -0.1728001981973648, 0.2473634034395218, 0.09123880416154861, 0.1490606963634491, 0.3562832176685333, -1.4907375574111938, 0.28102150559425354, 0.8094881176948547, 0.43495336174964905, -0.23747952282428741, -0.46323853731155396, -0.828760027885437, 0.04725979268550873, -0.30556929111480713, 0.7418200969696045, -0.6341190338134766, -0.11582344770431519, -0.1354464739561081, -0.008473364636301994, 0.08312967419624329, -0.2782151699066162, 0.3748086392879486, -0.45303574204444885, 0.3111953139305115, -0.4256739616394043, -0.5447231531143188, 0.06885841488838196, 0.41283151507377625, -0.5748112201690674, 0.9336579442024231, 0.168625146150589, -0.4983963668346405, 0.6871967315673828, -0.5536386370658875, -0.42348042130470276, -0.1645977795124054, -0.4305410385131836, -0.32822170853614807, 0.010432957671582699, 0.5310822129249573, 0.48549678921699524, -0.13968554139137268, 0.5363941192626953, -0.5658729076385498, -0.2419746369123459, -0.10515383630990982, -0.44793233275413513, 0.5669753551483154, 0.29475975036621094, -0.43472030758857727, 0.24734990298748016, -0.6923977732658386, 0.17767612636089325, -0.008373023942112923, -0.4735887348651886, -0.4093405604362488, 0.09274802356958389, -0.1475769281387329, 0.21947069466114044, 0.4516991078853607, -0.5698876976966858, 0.5638144612312317, -0.6299698948860168, 0.22064630687236786, 1.1481058597564697, -0.4022388160228729, 0.7272566556930542, -0.2123916894197464, 0.2992495596408844, -0.42211270332336426, 0.1678299605846405, 0.032833460718393326, 0.08225502073764801, -0.776542603969574, -0.08832522481679916, 0.6087948679924011, 0.29341545701026917, -0.3859763443470001, 0.6404930949211121, -0.30323803424835205, -0.27264347672462463, -0.8478788137435913, 0.18157340586185455, 0.7244065403938293, 0.3937840163707733, 0.48931577801704407, -0.3772590756416321, -0.24146968126296997, -0.9318574666976929, -0.5348137021064758, -0.14997299015522003, 0.22371742129325867, 0.19919757544994354, 0.09673784673213959, 0.08998572826385498, 1.1173168420791626, -0.49105507135391235, -0.15025797486305237, 0.015915915369987488, -0.0050698514096438885, 0.03167310357093811, 0.8044571280479431, 0.5208578109741211, -0.6535446643829346, -0.5179247260093689, 0.30898863077163696, -0.42216071486473083, -0.10511565208435059, -0.11354193836450577, -0.1669708788394928, 0.20923615992069244, 0.371852308511734, -0.16173943877220154, 0.15175822377204895, 0.5846145153045654, -0.4961545765399933, 0.3241913616657257, -0.36947762966156006, 0.37141600251197815, -0.8046107292175293, -0.13268356025218964, 0.0949295237660408, -0.535226047039032, -0.3817952573299408, 0.22759340703487396, 0.2028689682483673, 0.4086843430995941, -0.17384913563728333, 0.7426083087921143, -0.18544067442417145, -0.08643129467964172, -0.5935545563697815, 0.013768555596470833, 0.1383618265390396, 0.7946199178695679, 0.1066175326704979, 0.7677534818649292, 0.24785159528255463, -0.5065182447433472, 0.2200162410736084, 0.37022507190704346, -0.4049251973628998, 0.7818153500556946, -0.42855286598205566, 0.12296794354915619, -0.0801556184887886, 0.1133350133895874, -0.8710272312164307, -0.303897887468338, 0.04735583811998367, -0.1833450347185135, 0.45945510268211365, -0.38975176215171814, -0.333329975605011, -0.2849147617816925, -0.10924442857503891, 0.1775372326374054, 0.18241168558597565, -1.1248669624328613, 0.5378414988517761, 0.34577205777168274, 0.02694043144583702, -0.7557995915412903, -0.6525514721870422, -0.371506929397583, -0.1470567137002945, -0.1518176645040512, 0.4675843119621277, 0.049772802740335464, -0.046895407140254974, -0.010471897199749947, -0.26247233152389526, 0.16257613897323608, 0.25334790349006653, 0.07009360194206238, 0.23774906992912292, 0.028842849656939507, 0.314814031124115, 0.313924640417099, -0.17316366732120514, -0.15970343351364136, -0.315805584192276, 0.5113288164138794, -0.31476113200187683, -0.49116870760917664, -0.4244310259819031, 0.12618035078048706, 0.25166192650794983, -0.4397745132446289, 0.4689721465110779, 0.19288788735866547, 0.058523211628198624, -0.09120815247297287, -0.6299915909767151, -0.2133425921201706, -0.5530498027801514, 0.17575187981128693, -0.5203406810760498, -0.9402908682823181, -0.018543878570199013, -0.03420012444257736, 0.1605398803949356, 0.4335978329181671, 0.5658738017082214, -0.03221472352743149, 1.2845969200134277, 0.4726291596889496, -0.43577367067337036, 0.7239058017730713, 0.058263037353754044, 0.24887917935848236, -0.5388268828392029, 0.05994998663663864, -0.5063784718513489, -0.3213004469871521, -0.7726612687110901, 0.12101343274116516, 0.18754887580871582, -0.04281320795416832, -0.7853401303291321, 0.3951570689678192, -0.6303780674934387, 0.6639994978904724, 0.8337846994400024, 0.15068814158439636, 0.133836567401886, -0.2409389168024063, -0.23222999274730682, 0.16364192962646484, -0.5331222414970398, -0.3480890989303589, 1.1062555313110352, 0.16858938336372375, 0.8675944209098816, 0.05245823785662651, 0.8025087118148804, 0.2480362355709076, 0.043323490768671036, -0.5442441701889038, 0.3629029393196106, -0.3413945734500885, -0.5386397838592529, -0.4795841574668884, -0.41167929768562317, -0.8288217186927795, 0.5121002793312073, -0.37070611119270325, -0.8268693089485168, 0.10701369494199753, 0.6311401128768921, -0.684786856174469, 0.18444769084453583, -0.8468232750892639, 1.2748439311981201, -0.6629687547683716, -0.5404521226882935, -0.3833716809749603, -0.75957190990448, 0.1511448621749878, 0.16609615087509155, 0.18324288725852966, -0.18467915058135986, 0.361183226108551, 0.5239595174789429, -0.35032448172569275, 0.6818037629127502, -0.4118999242782593, 0.0210479274392128, -0.0803028866648674, 0.06715963780879974, 0.5312454700469971, -0.14682111144065857, -0.13390956819057465, -0.2713869512081146, 0.17124725878238678, -0.3916458487510681, -0.7661652565002441, 1.0368205308914185, -0.787357747554779, -0.7792233824729919, -0.3805385231971741, -0.4999041259288788, -0.5360724329948425, 0.2207210659980774, -0.21745525300502777, 0.2991141080856323, -0.15378746390342712, -0.052581895142793655, 0.3651500344276428, -0.08025328814983368, 0.23559604585170746, 0.6410357356071472, -0.6523556113243103, -0.35488373041152954, 1.124061942100525, -0.09317992627620697, 0.544152557849884, 0.45698848366737366, 0.6357677578926086, -0.4244407117366791, 0.012857622466981411, -0.7073049545288086, -0.029672609642148018, -0.45028069615364075, -0.20289210975170135, -0.4445045590400696, 0.17548266053199768, -0.5883938670158386, -0.3400946855545044, -0.6650872230529785, -0.4923431873321533, -0.09115176647901535, -0.06800655275583267, 0.3389173150062561, 0.4699481427669525, -0.10775457322597504, 0.6590584516525269, -0.4004040062427521, 0.09245055913925171, 0.6185309886932373, 0.6211987733840942, -0.07492025196552277, -0.6076993346214294, -0.14974185824394226, 0.021342827007174492, -0.37680649757385254, -0.31868618726730347, 0.1456870287656784, -0.027274038642644882, 0.48650750517845154, 0.6908305883407593, 0.11024512350559235, 0.9415290355682373, -0.4658131003379822, 0.51261305809021, 0.21218369901180267, -0.9029952883720398, 0.6236391663551331, -0.24096164107322693, 0.24641606211662292, 0.9916178584098816, 0.18274712562561035, -0.48481789231300354, -0.22860205173492432, -0.4799538850784302, -0.556688129901886, 0.9169038534164429, -0.32712480425834656, 0.13218022882938385, 0.002777076791971922, 0.2435913383960724, 0.14354534447193146, 0.2681247293949127, -0.5795431733131409, -0.09387847781181335, -0.2310764491558075, -0.3907422721385956, -0.11354053765535355, 0.22848014533519745, -0.08632460236549377, -0.43588531017303467, 0.8431529998779297, -0.5701032876968384, -0.05465726926922798, -0.14398197829723358, 0.019893649965524673, -0.08422492444515228, 0.4445227384567261, 0.07373068481683731, 0.20275160670280457, -0.15730798244476318, 0.12737390398979187, 0.05352681130170822, 0.3748265206813812, 0.20183344185352325, 0.200841024518013, -0.14232969284057617, -0.7331598997116089, -0.08430199325084686, 1.0623679161071777, 0.5622367262840271, -0.5734469890594482, 0.824069082736969, 0.09237459301948547, -0.14395715296268463, 0.1505759060382843, 0.32122424244880676, -0.16283626854419708, 0.41988420486450195, -0.24031738936901093, 0.13568289577960968, 0.19091291725635529, -0.47964537143707275, 0.1631622016429901, 0.7248436808586121, -0.5425837635993958, -0.025802839547395706, 0.7551369071006775, 0.038384512066841125, -0.05230111628770828, 0.29727962613105774, -0.40484586358070374, -0.6030323505401611, 0.3002344071865082, 0.624553382396698, 0.5613083839416504, -0.2756405472755432, 0.25718992948532104, 0.2691976726055145, -0.014612340368330479, -0.4406490921974182, 0.13536863029003143, -0.32315778732299805, -0.9783857464790344, -0.4134673774242401, -0.784696102142334, -0.42175865173339844, -0.17080077528953552, -0.8196324706077576, 0.14224697649478912, -0.5000684261322021, -0.04261808469891548, 0.1598759889602661, 0.006823318544775248, -0.6922450065612793, 0.2862357497215271, -0.013564841821789742, 0.549532413482666, -0.9056137800216675, 0.9558586478233337, 0.5829409956932068, -0.31648725271224976, -0.9990742206573486, 0.00481044314801693, 0.12540200352668762, -0.9026652574539185, 0.3336969316005707, 0.2350989729166031, -0.1168440654873848, 0.07875819504261017, -0.41435614228248596, -0.9769232273101807, 0.636538565158844, 0.3789629340171814, -0.7600529789924622, -0.05193557217717171, -0.3489130139350891, 0.44171154499053955, -0.1579476296901703, 0.3174149692058563, 0.8928275108337402, 0.6019042730331421, -0.0966334119439125, -1.0281838178634644, -0.08687906712293625, 0.12370547652244568, -0.03599890321493149, 0.5692081451416016, -0.9494194388389587, 0.4973140060901642, -0.03978538140654564, 0.13233841955661774, -0.0376727357506752, 0.7501918077468872, -0.08541053533554077, 0.028834355995059013, 0.8745499849319458, 0.8179887533187866, 0.5614234209060669, 0.06157867982983589, 0.9668529629707336, -0.22845114767551422, 0.5056987404823303, 1.5757571458816528, -0.3559425473213196, 0.8719731569290161, 0.5442114472389221, -0.26644665002822876, 0.5302987694740295, 0.4170672595500946, 0.011599437333643436, 0.8289716243743896, -0.028916459530591965, -0.001350439852103591, -0.6393433213233948, -0.0919574424624443, 0.01376437023282051, 0.7833070158958435, -0.007738485001027584, -0.18327265977859497, -0.23685231804847717, 0.10342191904783249, -0.08166402578353882, 0.5532184839248657, -0.5454702973365784, 0.8504320979118347, -0.34304192662239075, -1.3824851512908936, 0.23915648460388184, 0.19029615819454193, 0.6488814949989319, -0.4529150128364563, 0.14684025943279266, 0.05322076752781868, 0.3555772006511688, -0.18232156336307526, -0.8421295285224915, 0.0909419134259224, -0.16778087615966797, -0.1586972028017044, -0.45982643961906433, 0.4496239125728607, -0.6940836310386658, -0.2394438087940216, 0.35456863045692444, 0.21627573668956757, -0.12257017940282822, 0.059980761259794235, -0.701995313167572, -0.1871921718120575, 0.016970288008451462, -0.35299184918403625, 0.5356348752975464, 0.05830077454447746, -0.2421496957540512, 0.3463524281978607, 0.4493696987628937, -0.09912657737731934, -0.12700073421001434, 0.2089148461818695, 0.7460441589355469, -0.5568250417709351, -0.8016221523284912, -0.7683865427970886, 0.22570717334747314, -0.11199121177196503, -0.3625381886959076, 0.4430462419986725, 0.5118998885154724, 1.2140438556671143, 0.23002560436725616, 0.7451319694519043, -0.08597800135612488, 0.6784942746162415, -0.5798373222351074, 0.5981177091598511, -0.7850534319877625, 0.016299225389957428, -0.131003275513649, -0.520072340965271, -0.08706418424844742, 0.7977260947227478, -0.5739406943321228, 0.048522308468818665, 0.28013715147972107, 0.8566297292709351, -0.234188050031662, 0.07455620169639587, 0.26191288232803345, -0.09500090777873993, 0.25464990735054016, 0.3686066269874573, 0.48494765162467957, -0.09067722409963608, 0.13326190412044525, -0.34184229373931885, -0.22080165147781372, -0.26349958777427673, -0.6338743567466736, -0.8341907262802124, -0.4567621648311615, -0.04428809881210327, -0.2639496624469757, 0.06296010315418243, 1.673021674156189, 0.755134105682373, -0.8848975896835327, -0.12373752146959305, -0.07347982376813889, -0.006104601547122002, -0.5074931979179382, -0.1648934781551361, 0.4577397406101227, -0.722682774066925, -0.8698728084564209, 0.620141863822937, 0.22579698264598846, -0.1985427439212799, -0.24769015610218048, -0.38201630115509033, -0.28641098737716675, -0.0018110144883394241, 0.3362021744251251, 0.3908977210521698, -0.9155186414718628, -0.6546325087547302, -0.45777034759521484, -0.2638970613479614, 0.1936473399400711, 0.6970027685165405, -0.9018229842185974, 0.7961537837982178, 0.15419216454029083, 1.0003421306610107, 0.6688682436943054, 0.19162330031394958, 0.5963134169578552, -0.6331930756568909, 0.011976211331784725, -0.06687215715646744, 0.38704389333724976, 0.1346551775932312, -0.3376297950744629, 0.3683413565158844, -0.16089974343776703, -0.8610079884529114, -0.679906964302063, 0.33894556760787964, -0.9450492262840271, -0.20579694211483002, 0.940528929233551, -0.05943945422768593, -0.14274679124355316, 0.2750135064125061, -0.2580283582210541, 0.16994425654411316, -0.5162283182144165, 0.7600297331809998, 0.5106126070022583, 0.020482128486037254, 0.04191270470619202, -0.25265878438949585, 0.43499505519866943, 0.8806918859481812, -0.6652172803878784, 0.08951517194509506, 0.43468740582466125, 0.28232353925704956, -0.06850343197584152, 0.690915584564209, 0.22072365880012512, 0.3141821324825287, -0.3663676679134369, 0.19927743077278137, 0.04723439738154411, -0.5256480574607849, -0.6354178786277771, -0.10605914890766144, 0.31812453269958496, -0.33272936940193176 ]
http://arxiv.org/abs/2402.11251v1
http://arxiv.org/pdf/2402.11251v1
LLM can Achieve Self-Regulation via Hyperparameter Aware Generation
2024-02-17T11:18:22
2024-02-17T11:18:22
Siyin Wang, Shimin Li, Tianxiang Sun, Jinlan Fu, Qinyuan Cheng, Jiasheng Ye, Junjie Ye, Xipeng Qiu, Xuanjing Huang
cs.CL
cs.CL
In the realm of Large Language Models (LLMs), users commonly employ diverse decoding strategies and adjust hyperparameters to control the generated text. However, a critical question emerges: Are LLMs conscious of the existence of these decoding strategies and capable of regulating themselves? The current decoding generation process often relies on empirical and heuristic manual adjustments to hyperparameters based on types of tasks and demands. However, this process is typically cumbersome, and the decoding hyperparameters may not always be optimal for each sample. To address the aforementioned challenges, we propose a novel text generation paradigm termed Hyperparameter Aware Generation (HAG). By leveraging hyperparameter-aware instruction tuning, the LLM autonomously determines the optimal decoding strategy and configs based on the input samples, enabling self-regulation. Our approach eliminates the need for extensive manual tuning, offering a more autonomous, self-regulate model behavior. Experimental results spanning six datasets across reasoning, creativity, translation, and mathematics tasks demonstrate that hyperparameter-aware instruction tuning empowers the LLMs to self-regulate the decoding strategy and hyperparameter. HAG extends the current paradigm in the text generation process, highlighting the feasibility of endowing the LLMs with self-regulate decoding strategies.
[ -0.23607562482357025, -0.7147517204284668, 0.4647568464279175, 0.4138893783092499, -0.20370933413505554, -0.2024381160736084, -0.2829637825489044, -0.22843900322914124, -0.10336553305387497, 1.021855115890503, -0.4720696210861206, -0.2949431836605072, -0.40552911162376404, 0.45958808064460754, -0.23986348509788513, 1.0447837114334106, 0.006908670999109745, -0.40031909942626953, -0.14651528000831604, 0.204453244805336, -0.5274792313575745, -0.5818156599998474, -0.5658528804779053, -0.3067173957824707, 0.4551089107990265, 0.22336329519748688, 0.7564539313316345, 1.6178447008132935, 0.36344942450523376, 0.37906962633132935, 0.16586612164974213, 0.4369966983795166, -0.5066381692886353, 0.34128767251968384, -0.24917185306549072, -0.4596825838088989, -0.49507564306259155, -0.06121840327978134, 0.5572718381881714, 0.031091395765542984, -0.31119611859321594, 0.3116806149482727, 0.48250582814216614, 0.6720643043518066, -0.854006826877594, 0.05039335414767265, -0.8745235204696655, 0.0651402473449707, -0.13037487864494324, -0.809080958366394, -0.6270462274551392, -0.09418494254350662, -0.40501049160957336, -0.5357896685600281, 0.25293034315109253, 0.19609469175338745, 0.7206640243530273, 0.6180374026298523, -0.31968384981155396, -0.33410653471946716, -0.7569804787635803, 0.569090723991394, -0.7815117835998535, 0.19288499653339386, 0.7150321006774902, 0.03606736287474632, -0.24273671209812164, -0.4584216773509979, -0.3003738522529602, 0.3125072121620178, -0.13663797080516815, 0.13042514026165009, -0.2096252143383026, 0.16223256289958954, 0.1893254667520523, 0.29024288058280945, -0.11016158014535904, 0.08479590713977814, -0.031449418514966965, -0.4281006157398224, 0.33551618456840515, 0.3782894015312195, 0.0861508920788765, -0.6872576475143433, -0.27790266275405884, 0.18608549237251282, -0.6835685968399048, -0.1986905038356781, 0.3549681603908539, 0.22579294443130493, 0.07892531901597977, 0.44513463973999023, -0.1518990695476532, 0.8574976325035095, 0.35763388872146606, -0.0815637856721878, -0.2626136839389801, -0.33147865533828735, -0.42939794063568115, 0.2216717004776001, 0.9242114424705505, 0.18622516095638275, 0.25447598099708557, 0.12815488874912262, -0.41520386934280396, -0.2613067030906677, 0.6650927662849426, -0.6627131700515747, -0.1849941611289978, -0.13149306178092957, -0.3290359079837799, -0.3309454917907715, -0.3637385368347168, -0.7171610593795776, -0.1488923877477646, -0.3221485912799835, 0.6224021315574646, -0.1425817608833313, 0.16673673689365387, 0.3092840313911438, 0.21710370481014252, 0.13874654471874237, 0.004171868320554495, -1.489853858947754, 0.18847282230854034, 0.4531712532043457, 0.7218865752220154, -0.11897945404052734, -0.5805169939994812, -0.39684852957725525, 0.7591928839683533, -0.5168631672859192, 0.5161567330360413, -0.22052951157093048, -0.5326371788978577, 0.1505795419216156, -0.302122563123703, -0.018966879695653915, -0.4549788534641266, 0.3482190668582916, -0.669766902923584, 0.03676243871450424, -0.3113202154636383, -0.6917964816093445, 0.2632506787776947, 0.1797146499156952, -0.46648934483528137, 0.9382832646369934, -0.008271527476608753, -0.7323724627494812, 0.21353116631507874, -0.20790116488933563, -0.4691726565361023, 0.22105269134044647, -0.4590144157409668, -0.47454142570495605, 0.2217344492673874, 0.31148818135261536, 0.5891871452331543, -0.4250153601169586, 0.0036644015926867723, -0.021821070462465286, -0.14471520483493805, 0.07198185473680496, -0.698775589466095, 0.40884673595428467, 0.2842566967010498, -0.4308496415615082, 0.0727597251534462, -0.8126403093338013, 0.44023993611335754, -0.06887102872133255, -0.9568281173706055, -0.12613460421562195, 0.13871479034423828, -0.3807077705860138, 0.1711033135652542, 0.45654210448265076, -0.2706126272678375, 0.08646153658628464, -0.2654651999473572, 0.5561783909797668, 0.9864204525947571, 0.3581733703613281, 0.184974804520607, -0.4132672846317291, 0.4913043677806854, -0.28092101216316223, 0.18449588119983673, -0.4371228814125061, 0.023220069706439972, -1.0138353109359741, -0.2970128357410431, 0.07357751578092575, 0.517827033996582, -0.4418102204799652, 0.8743270039558411, 0.1973489224910736, -0.29350546002388, -0.6721027493476868, 0.6451776623725891, 0.5587565302848816, 0.6509583592414856, 0.37914082407951355, 0.21493110060691833, -0.39594265818595886, -0.6639038324356079, -0.2577473819255829, -0.033384960144758224, 0.238080233335495, 0.38751938939094543, 0.15689702332019806, -0.032707348465919495, 0.7009732127189636, -0.47467973828315735, -0.42073914408683777, -0.2858845889568329, 0.14226675033569336, 0.11854388564825058, 0.6747737526893616, 0.06993995606899261, -0.36104997992515564, -0.4820168912410736, -0.0052637034095823765, -0.819892942905426, -0.20248432457447052, -0.433475136756897, -0.49809014797210693, 0.14759236574172974, 1.025243878364563, -0.385514497756958, 0.1759355217218399, 0.42721259593963623, -0.3177262246608734, 0.7429312467575073, -0.9579458236694336, 0.04201978072524071, -1.1444659233093262, -0.336704820394516, -0.13168194890022278, -0.2942083179950714, -0.2100425660610199, 0.2009393721818924, 0.440547913312912, 0.10909430682659149, -0.3387453854084015, 0.1838538497686386, -0.6637853980064392, 0.13499586284160614, -0.7913069725036621, -0.42454516887664795, 0.014256343245506287, 0.4394547939300537, -0.1799970120191574, 0.9719895720481873, 0.8379142880439758, -0.9496917128562927, 0.2613625228404999, 0.3491159677505493, -0.4233473539352417, 0.16222217679023743, -0.9017507433891296, 0.02262715995311737, -0.046362560242414474, 0.27713891863822937, -0.5916045308113098, -0.4692838490009308, 0.08222486823797226, -0.03914642333984375, 0.14818254113197327, -0.09931814670562744, -0.63334721326828, -0.26570022106170654, 0.30406811833381653, 0.2957843244075775, 0.7606768012046814, -0.6438892483711243, 0.4735657274723053, 0.07595498114824295, -0.020114995539188385, -0.34205350279808044, -0.7088627815246582, 0.15608352422714233, -0.20270007848739624, -0.047649405896663666, 0.1364724189043045, -0.18086722493171692, 0.24063843488693237, -0.30757951736450195, -0.00937411468476057, 0.2535637617111206, -0.14079700410366058, 0.20390406250953674, 0.207904651761055, -0.10795321315526962, 0.06117142736911774, 0.37079766392707825, -0.14678272604942322, 0.18266823887825012, -0.5383272767066956, 0.4740639626979828, 0.20461951196193695, -0.2156405746936798, -0.5670210719108582, 0.3319748044013977, 0.5535175204277039, -0.709089994430542, 0.2952207624912262, 0.45544111728668213, -0.08283363282680511, -0.6627373695373535, -0.37920859456062317, -0.1014067754149437, -0.6764790415763855, 0.16570168733596802, -0.4838305413722992, -0.971018373966217, 0.24745793640613556, -0.12314953655004501, 0.02956196665763855, 0.16952912509441376, 1.1177945137023926, -0.08666049689054489, 1.1362982988357544, 0.8021336793899536, 0.17900536954402924, 0.3921165466308594, 0.004703249782323837, -0.1377631425857544, -0.7786756157875061, 0.15022151172161102, -0.48092928528785706, -0.15852026641368866, -0.8642662763595581, -0.2304038554430008, 0.5297780632972717, -0.05750006437301636, -0.20005165040493011, 0.2004571408033371, -0.6059752106666565, 1.0025279521942139, 0.631075918674469, 0.13258974254131317, 0.18238765001296997, -0.208560049533844, -0.1246650293469429, -0.03788314387202263, -0.9110555052757263, -0.5288781523704529, 0.9852038025856018, 0.2287731170654297, 1.1685456037521362, -0.16248679161071777, 1.087931513786316, 0.46923115849494934, -0.2632807791233063, -0.5977517366409302, 0.6078386902809143, -0.1554054319858551, -0.585199236869812, -0.4288553297519684, -0.44767433404922485, -0.9844427704811096, 0.10367067903280258, -0.21189598739147186, -0.5061277747154236, 0.06263522803783417, 0.6438318490982056, -0.6276715993881226, 0.11130724102258682, -0.5214529037475586, 0.5989240407943726, -0.2620757818222046, -0.673978865146637, -0.2758738100528717, -0.35261619091033936, 0.06746150553226471, -0.18653634190559387, 0.12460421025753021, -0.1419305056333542, -0.16823628544807434, 0.5400550961494446, -0.11755380779504776, 1.0078333616256714, 0.12800657749176025, -0.4828265309333801, 0.4219246208667755, 0.5338341593742371, 0.7004216313362122, 0.15756294131278992, -0.09743081778287888, -0.305602103471756, -0.07504910975694656, -0.6174654364585876, -0.656648576259613, 0.9785045981407166, -0.8662444353103638, -1.149499535560608, -0.07964712381362915, -0.7249940037727356, -0.28209394216537476, 0.5953056216239929, 0.6866142153739929, 0.4363003969192505, 0.01591259241104126, 0.009283754974603653, 0.7669338583946228, 0.08447889238595963, 0.6568700671195984, 0.5338720679283142, -0.1552255004644394, -0.5325551629066467, 1.0908780097961426, -0.043634265661239624, 0.3858857750892639, 0.41961830854415894, 0.5579015016555786, -0.27141597867012024, -0.5521134734153748, -0.6728808283805847, 0.17752936482429504, -0.5930044651031494, -0.34631213545799255, -0.5139247179031372, -0.16178251802921295, -0.41099223494529724, -0.37929585576057434, -0.37329646944999695, 0.09679145365953445, -0.5551503300666809, 0.016725363209843636, 0.07477221637964249, 0.9739949703216553, -0.12070859968662262, 0.5572680234909058, -0.8518860936164856, 0.3713458776473999, 0.6001613736152649, 0.46693870425224304, -0.11992919445037842, -0.5298378467559814, -0.6172724962234497, -0.17501574754714966, -0.35085001587867737, -0.7921555638313293, 0.42523908615112305, 0.32615113258361816, 0.3196125626564026, 0.33641117811203003, 0.10462135821580887, 0.4321568012237549, -0.8315861225128174, 0.5085116624832153, 0.012840809300541878, -1.2312111854553223, 0.5419244170188904, -0.5569701194763184, 0.6156743764877319, 0.3563067615032196, 0.24299530684947968, -0.33386164903640747, -0.6301667094230652, -0.11719366908073425, -0.4924294948577881, 0.675908625125885, -0.004568513482809067, 0.6619372963905334, -0.2931048572063446, 0.6212633848190308, 0.14534418284893036, 0.022169334813952446, -0.6340257525444031, 0.08834178745746613, -0.4547278583049774, -0.19206252694129944, -0.12114561349153519, -0.20780615508556366, -0.24491916596889496, -0.1329178363084793, 0.498309850692749, -0.3246692419052124, 0.09768246114253998, 0.36827558279037476, 0.20895420014858246, -0.4018787145614624, 0.3630773425102234, 0.1686730831861496, 0.5086104869842529, 0.11877796053886414, 0.4691030979156494, -0.08906317502260208, -0.07931338995695114, 0.409932941198349, -0.3870227336883545, -0.3242512345314026, -0.4188932180404663, 0.248079314827919, 0.9353559613227844, 0.16807891428470612, -0.29372438788414, 0.1295793056488037, -0.04678836092352867, -0.42913517355918884, 0.15316787362098694, 0.7719959020614624, -0.03131289407610893, 0.1623491793870926, 0.08665404468774796, -0.16099680960178375, -0.15695635974407196, -0.08030643314123154, 0.23300093412399292, 0.22878974676132202, -0.2861140966415405, -0.10125517845153809, 0.8076274394989014, 0.3106987178325653, -0.36812862753868103, 0.364011287689209, -0.05092456191778183, -0.08220137655735016, 0.40143540501594543, 1.2515920400619507, 0.8147860169410706, -0.10834065824747086, 0.2548690140247345, 0.2801540195941925, 0.31450334191322327, -0.11121921241283417, 0.198395773768425, -0.2961159944534302, -0.790678083896637, -0.48794111609458923, -0.8554128408432007, -0.1720636785030365, 0.10416141152381897, -0.764411985874176, 0.06021864339709282, -0.6774853467941284, -0.16889351606369019, 0.030410325154662132, -0.413837730884552, -0.3150739073753357, 0.35269659757614136, -0.11323796212673187, 0.8129444718360901, -0.4261282980442047, 0.892128050327301, 0.6368062496185303, 0.0005118880071677268, -0.6134656667709351, 0.3008236289024353, -0.26315200328826904, -0.9723135828971863, 0.2633439898490906, -0.06944715231657028, -0.3673735558986664, 0.6644760966300964, -0.43309444189071655, -0.8089407682418823, 0.854473352432251, 0.421335905790329, -0.6064006686210632, -0.2715575397014618, 0.19361113011837006, 0.6769434809684753, -0.2861458361148834, -0.38993561267852783, 0.5119991898536682, 0.37054020166397095, -0.17197179794311523, -0.6155781745910645, 0.16241677105426788, 0.035757772624492645, 0.10637935250997543, 0.4493437111377716, -0.9975872039794922, 0.5790966153144836, -0.2904394268989563, -0.20644424855709076, -0.062386952340602875, 0.9898099303245544, -0.12499362975358963, -0.26890814304351807, 0.21811628341674805, 0.36201122403144836, 0.3518156409263611, 0.5282022953033447, 0.8565428853034973, -0.849933922290802, 0.2216484695672989, 1.2010246515274048, -0.025625860318541527, 0.7549607753753662, 0.34818214178085327, 0.08835085481405258, 0.16536137461662292, 0.33465224504470825, -0.13196223974227905, 0.3288246989250183, 0.17756107449531555, -0.3253752291202545, -0.8065738081932068, -0.021845977753400803, -0.0816650539636612, 0.8804970979690552, 0.2381117194890976, -0.5356231927871704, -0.28961944580078125, -0.06458229571580887, 0.07943850755691528, 0.4084433913230896, -0.3976052403450012, 0.9047801494598389, -0.262828528881073, -0.9218848347663879, 1.055307388305664, 0.21493825316429138, 0.48527392745018005, -0.8276765942573547, 0.22650973498821259, -0.02533698081970215, 0.12108740210533142, -0.06115031987428665, -0.6374460458755493, 0.18676535785198212, 0.11814063787460327, -0.35547783970832825, -0.577876627445221, 0.6763712763786316, -0.5047346949577332, -0.37682047486305237, -0.00316417682915926, 0.8216696977615356, -0.26347532868385315, 0.21143409609794617, -0.6432644128799438, 0.08161988854408264, 0.09467821568250656, -0.3092045783996582, 0.46156054735183716, 0.5686445236206055, 0.26250308752059937, 0.6526830196380615, 0.513795793056488, 0.34523630142211914, 0.2876097857952118, -0.2327526956796646, 0.536781370639801, -0.8728891611099243, -0.7696985006332397, -0.9950639605522156, -0.2089260369539261, 0.5715495347976685, -0.6082820892333984, 0.9574918150901794, 0.36531952023506165, 0.8176935315132141, -0.08003741502761841, 1.059328556060791, 0.1570969521999359, 0.256132572889328, -0.6636053919792175, 0.8474799990653992, -0.47074103355407715, 0.04173349216580391, 0.13089443743228912, -0.5242296457290649, -0.0038029502611607313, 0.10577527433633804, 0.010091627947986126, -0.059678684920072556, 0.34113597869873047, 0.8024150133132935, 0.02355354093015194, -0.11136617511510849, 0.6587029099464417, 0.18250004947185516, 0.25740864872932434, 0.2394782155752182, 0.5132383704185486, 0.07903239876031876, 0.6005024313926697, -0.1376909464597702, -0.32620587944984436, 0.07380890101194382, -0.8383541703224182, -0.8969625234603882, -0.4204961359500885, -0.03864410147070885, -0.16886761784553528, 0.1522543579339981, 0.9435587525367737, 0.725226879119873, -0.4582447111606598, -0.6150392293930054, -0.525325357913971, -0.051541268825531006, -0.24059908092021942, -0.16304780542850494, 0.21694040298461914, -0.9192635416984558, -0.7203340530395508, 0.45967385172843933, 0.5192188024520874, 0.2526939809322357, -0.5657041072845459, -0.18179453909397125, -0.005336552392691374, 0.7048245668411255, 0.5550633668899536, 0.3574390411376953, -0.42332223057746887, -0.078405000269413, -0.0034407665953040123, -0.5681931376457214, 0.1558680236339569, 1.151373028755188, -0.535707414150238, 0.6788318157196045, 0.3285984396934509, 0.8727335333824158, 0.1594013124704361, 0.01858895644545555, 0.6664284467697144, -0.7116355299949646, -0.47361648082733154, 0.008143099956214428, 0.10864892601966858, -0.006556217093020678, -0.7022322416305542, -0.14234969019889832, 0.023337220773100853, -0.9859350323677063, -0.4525528848171234, 0.5150024890899658, -0.462386816740036, -0.2484670877456665, 1.227800965309143, -0.12545469403266907, -0.5196199417114258, 0.2166813760995865, -0.3921378552913666, 0.445239394903183, -0.280021071434021, 1.1142258644104004, 0.7421170473098755, -0.5626034140586853, -0.2264557182788849, -0.23984254896640778, 0.7977189421653748, 0.7285407185554504, -1.0133100748062134, 0.7314397692680359, 0.5776554346084595, -0.05286746099591255, -0.2720131278038025, 0.579544186592102, 0.030289970338344574, 0.2747519910335541, -0.13347145915031433, -0.04724537208676338, -0.2689838409423828, -0.5146780014038086, -0.1752653419971466, 0.2192806452512741, 0.09865621477365494, -0.09629065543413162 ]
http://arxiv.org/abs/2402.11243v1
http://arxiv.org/pdf/2402.11243v1
Can Large Language Models perform Relation-based Argument Mining?
2024-02-17T10:37:51
2024-02-17T10:37:51
Deniz Gorur, Antonio Rago, Francesca Toni
cs.CL
cs.CL, cs.AI, I.2.7
Argument mining (AM) is the process of automatically extracting arguments, their components and/or relations amongst arguments and components from text. As the number of platforms supporting online debate increases, the need for AM becomes ever more urgent, especially in support of downstream tasks. Relation-based AM (RbAM) is a form of AM focusing on identifying agreement (support) and disagreement (attack) relations amongst arguments. RbAM is a challenging classification task, with existing methods failing to perform satisfactorily. In this paper, we show that general-purpose Large Language Models (LLMs), appropriately primed and prompted, can significantly outperform the best performing (RoBERTa-based) baseline. Specifically, we experiment with two open-source LLMs (Llama-2 and Mistral) with ten datasets.
[ -0.2604760527610779, -0.8767427206039429, 0.7405731081962585, 0.08489196747541428, -0.37936317920684814, -0.3319609761238098, -0.3176374137401581, -0.5436831116676331, -0.069358691573143, 0.7179304957389832, -0.5412079691886902, -0.4069056510925293, -0.7102946043014526, 0.12272262573242188, -0.3240227997303009, 1.045421838760376, -0.021907944232225418, 0.10344667732715607, -0.34587562084198, -0.502923846244812, -0.5329523086547852, -0.8167827725410461, -0.7758532166481018, -0.6409770250320435, 0.5559525489807129, 0.4872123897075653, 0.8399264216423035, 0.6134671568870544, 0.4539264142513275, 0.3378508388996124, -0.09797292947769165, 0.24883876740932465, -0.2315308004617691, 0.5579355359077454, -0.5410459041595459, -0.5927731990814209, -0.47880828380584717, -0.07610959559679031, 0.4175892174243927, 0.354775071144104, -0.27446448802948, -0.027894427999854088, -0.2511664628982544, 0.479360431432724, -0.5277594327926636, 0.05862562730908394, -1.0997533798217773, -0.2377195656299591, -0.2669757902622223, -0.2725559175014496, -0.7048452496528625, -0.10004448145627975, 0.01510164886713028, -0.11741609871387482, -0.11649218201637268, 0.24266281723976135, 1.1929931640625, -0.03244674950838089, -0.2584877908229828, -0.7203394174575806, -0.6496730446815491, 0.828853189945221, -1.038243055343628, 0.031442999839782715, 0.39587849378585815, 0.2134389579296112, -0.2737792432308197, -0.5267910361289978, -0.46702858805656433, -0.24194492399692535, -0.18303664028644562, -0.29962578415870667, -0.4470407962799072, 0.002624735701829195, 0.45074841380119324, 0.4923076033592224, -0.37148433923721313, 0.38528972864151, -0.1573760062456131, 0.141083225607872, 0.3738231062889099, 0.2282438576221466, 0.24186669290065765, -0.571045994758606, -0.43383049964904785, 0.03939396142959595, -0.8885166645050049, -0.25711870193481445, 0.20884200930595398, 0.3118366599082947, -0.19257554411888123, 0.6904507279396057, 0.09061253070831299, 0.8340141177177429, -0.11051569133996964, 0.057686056941747665, -0.30335986614227295, 0.11564550548791885, -0.3789783716201782, -0.14998759329319, 1.101902723312378, 0.1919509470462799, 0.6057540774345398, 0.005423564929515123, -0.13442273437976837, 0.22869959473609924, -0.10452359169721603, -0.8899657726287842, -0.3585014045238495, 0.23309054970741272, -0.46084165573120117, -0.16245631873607635, -0.11897975206375122, -0.900873064994812, -0.6162866353988647, -0.32522347569465637, 0.2568543553352356, -0.24883215129375458, -0.3543888032436371, 0.0291561521589756, -0.03780039772391319, 0.3467920124530792, 0.27576151490211487, -0.820149302482605, 0.37838366627693176, 0.9300748705863953, 0.9470556974411011, 0.08179458230733871, 0.04953750967979431, -0.8604478240013123, 0.2556533217430115, -0.2349766045808792, 1.2870155572891235, -0.9042944312095642, -0.25755438208580017, 0.05023639276623726, -0.3956091105937958, 0.04689296707510948, -1.0504757165908813, 0.8294228315353394, -0.8146146535873413, 0.2065889537334442, -0.08797978609800339, -0.7208927869796753, -0.048416025936603546, 0.41272735595703125, -0.7269859313964844, 0.7269047498703003, -0.07689740508794785, -0.6235617995262146, 0.08898793905973434, -0.4748644232749939, -0.446698397397995, 0.025481395423412323, -0.3641093969345093, -0.5390734076499939, 0.14358778297901154, 0.291249543428421, 0.6433186531066895, -0.9316229224205017, 0.3782561421394348, -0.5700024962425232, -0.021806837990880013, 0.4800003170967102, -0.22030706703662872, 0.739467203617096, 0.19715525209903717, -0.17723967134952545, 0.24876387417316437, -0.6135204434394836, -0.028903765603899956, 0.21085134148597717, -0.22799953818321228, -0.5965713858604431, 0.34920167922973633, -0.2468915730714798, 0.34247395396232605, 0.0761105865240097, -0.3503701686859131, 0.2967274785041809, -0.3711218535900116, 0.7557439804077148, 0.6933252215385437, 0.2645600736141205, -0.030641961842775345, -0.27635884284973145, 0.5104464888572693, 0.10440768301486969, -0.37179088592529297, -0.4014158248901367, -0.6255242824554443, -1.0048047304153442, -0.2776537239551544, 0.45570534467697144, 0.5643442273139954, -0.13329996168613434, 0.36386269330978394, -0.49980446696281433, -0.17679749429225922, -0.3817138671875, 0.3178451359272003, 0.2946301996707916, 0.3052197992801666, 0.35206514596939087, -0.077118419110775, -0.7625375986099243, -0.8763459920883179, -0.23948045074939728, -0.519030749797821, 0.09123209118843079, 0.47733303904533386, 0.18802551925182343, -0.44886985421180725, 0.9806559085845947, -0.47416383028030396, -0.2619490325450897, -0.3254985809326172, 0.4692608714103699, 0.3372790515422821, -0.09603508561849594, 0.3568260967731476, -0.4623846411705017, -0.5234902501106262, 0.295510858297348, -0.9675095081329346, -0.31761011481285095, -0.021228251978754997, -0.05146268010139465, 0.3429425358772278, 0.5375863909721375, -0.8808857798576355, 0.06299643963575363, 0.48758402466773987, -0.2191462367773056, 0.5111954212188721, -0.014855640009045601, -0.08324544876813889, -1.2791452407836914, 0.026164228096604347, 0.1879485547542572, -0.35741060972213745, -0.49087175726890564, 0.1381675899028778, -0.10122164338827133, -0.23540861904621124, -0.13293898105621338, 0.5698084235191345, -0.3055810332298279, 0.15875151753425598, -0.6295439004898071, 0.037907883524894714, -0.1910528689622879, 0.24551182985305786, 0.2540533244609833, 0.4791931211948395, 0.3193518817424774, -0.4964739978313446, 0.372721791267395, 0.23251895606517792, -0.2500431537628174, 0.5946393609046936, -0.6590397357940674, 0.19420424103736877, 0.03798127919435501, 0.1785113364458084, -1.077459454536438, -0.35960736870765686, 0.07303785532712936, -0.34439221024513245, 0.22452519834041595, -0.5581856966018677, -0.32579925656318665, -0.018511604517698288, -0.10893547534942627, 0.27339181303977966, 0.32758110761642456, -0.610134482383728, 0.7233474254608154, 0.4476662278175354, -0.4942651093006134, -0.6981783509254456, -0.4778294861316681, 0.3929004967212677, -0.5447280406951904, -0.5566767454147339, 0.14586374163627625, 0.22502274811267853, -0.7204759120941162, 0.32495054602622986, 0.3320399820804596, -0.06169578433036804, -0.2254062294960022, 0.49667561054229736, 0.29857337474823, -0.26771166920661926, 0.20354920625686646, -0.4904204308986664, -0.20514552295207977, 0.33705946803092957, 0.17992573976516724, 0.6098366975784302, 0.028894463554024696, -0.2493785172700882, -0.21446050703525543, 0.575096607208252, 0.8152517080307007, -0.13550950586795807, 0.6986477375030518, 0.010331634432077408, -0.43173786997795105, -0.49938732385635376, -0.7226360440254211, -0.08338022232055664, -0.47111818194389343, 0.19260960817337036, -0.31462258100509644, -1.005732536315918, 0.5132125616073608, -0.3053862154483795, 0.3522002398967743, 0.4903566837310791, 0.7946791648864746, 0.16603818535804749, 0.8149034976959229, 0.2493591159582138, -0.6233863830566406, 0.245143324136734, -0.01999661698937416, 0.31822046637535095, -0.6754930019378662, 0.11463778465986252, -0.6882189512252808, -0.08141940832138062, -0.4088931977748871, -0.43427395820617676, 0.06710949540138245, 0.13488735258579254, -0.23096980154514313, 0.21612903475761414, -0.09745442867279053, 0.30363041162490845, 0.1626782864332199, -0.1558356136083603, 0.48938798904418945, 0.20335425436496735, 0.05721154436469078, -0.1324169933795929, -0.5226855874061584, -0.7217163443565369, 1.1018046140670776, 0.5160283446311951, 0.7612102627754211, 0.2177654653787613, 0.503909707069397, 0.45568153262138367, 0.9534229040145874, -1.048214316368103, 0.7666390538215637, -0.11842601001262665, -0.8006856441497803, 0.01828547939658165, -0.6691731214523315, -1.0303910970687866, 0.32379743456840515, -0.4024697542190552, -0.5856338143348694, -0.11732297390699387, 0.15495221316814423, -0.19566655158996582, 0.5608474016189575, -0.6144683361053467, 0.6509798765182495, -0.333886057138443, -0.46978995203971863, -0.47654205560684204, -0.09257504343986511, 0.6303849220275879, 0.05095594748854637, 0.3880871534347534, -0.15446697175502777, 0.3021354675292969, 0.8330820202827454, -0.5060644745826721, 0.531415581703186, -0.10286729782819748, -0.1487756222486496, 0.5992982387542725, 0.07111384719610214, 0.607262134552002, -0.05386127904057503, -0.3082686960697174, -0.050475627183914185, -0.41708794236183167, -0.08800297230482101, -0.7453967332839966, 0.9357441663742065, -0.6369563937187195, -0.9635775089263916, -0.506712794303894, -0.39458218216896057, -0.3382360637187958, -0.04723498225212097, -0.17016929388046265, 0.3162071406841278, -0.05906179919838905, 0.34971803426742554, 0.5488876104354858, -0.012236368842422962, 0.36799776554107666, 0.5372499823570251, -0.2380732297897339, -0.6720851063728333, 0.781430721282959, -0.12416461110115051, 0.01005577016621828, 0.37636491656303406, 0.49797797203063965, -0.3317919671535492, -0.5757706165313721, -0.4108470380306244, 0.46117085218429565, -0.7641196846961975, -0.5147514343261719, -0.715308427810669, -0.2002565860748291, 0.02285369299352169, 0.16789081692695618, -0.1258564293384552, -0.22472946345806122, 0.09452499449253082, -0.03589845076203346, 0.49852776527404785, 0.8495511412620544, 0.19307933747768402, 0.1672014743089676, -0.8123091459274292, 0.28832486271858215, 0.5938425064086914, 0.2752607464790344, 0.23378650844097137, -0.39220166206359863, -0.007508893497288227, -0.2176547795534134, -0.4272991120815277, -1.0537673234939575, 0.25730690360069275, 0.21561361849308014, 0.31902876496315, 0.6701935529708862, 0.05262574553489685, 0.8024119138717651, -0.5440477132797241, 0.6412808895111084, 0.16817860305309296, -0.7893725037574768, 0.46863609552383423, -0.5626648664474487, -0.14119304716587067, 0.28692731261253357, 0.36468976736068726, -0.25851020216941833, -0.018502218648791313, -0.6038196682929993, -0.8484472036361694, 0.5994340777397156, -0.05929330363869667, 0.04166319593787193, -0.13577322661876678, 0.48485344648361206, -0.1844213753938675, 0.041271623224020004, -1.1861308813095093, -0.03901300206780434, 0.39961081743240356, -0.16183574497699738, 0.05293772742152214, -0.5203960537910461, -0.19317977130413055, 0.045948635786771774, 0.5604945421218872, 0.11461552232503891, 0.20038580894470215, -0.08747367560863495, -0.01477637980133295, -0.5026290416717529, 0.6779418587684631, 0.4147980809211731, 0.6184538006782532, -0.12366731464862823, 0.28523150086402893, 0.25905731320381165, 0.07015492767095566, 0.33903175592422485, 0.05821749195456505, 0.013712545856833458, -0.006804809905588627, 0.454206258058548, 0.8049395680427551, 0.2399081438779831, -0.908897340297699, 0.41919058561325073, 0.039442550390958786, -0.19162242114543915, -0.19330668449401855, -0.020465819165110588, 0.4223834276199341, 0.12801678478717804, 0.2725449502468109, -0.26675423979759216, -0.12659083306789398, -0.9123770594596863, 0.13832388818264008, 0.922792911529541, -0.10928063094615936, -0.10644020885229111, 0.4510689377784729, 0.08682669699192047, -0.42847615480422974, 0.5995779633522034, 0.14773964881896973, -0.6542190909385681, 0.17174340784549713, 0.6237504482269287, 0.5973576903343201, -0.08495856076478958, -0.05538409203290939, 0.24889688193798065, -0.025533566251397133, -0.05043955147266388, -0.028715457767248154, 0.02171914651989937, -0.7055619359016418, -0.6567254066467285, -0.6075593829154968, -0.8051601052284241, 0.6956758499145508, -0.5666120052337646, 0.36095643043518066, -0.6386869549751282, -0.2647128701210022, 0.15653805434703827, 0.07232683151960373, -0.25344839692115784, 0.11501197516918182, 0.11581259965896606, 0.5746002793312073, -0.8325679302215576, 0.7552840709686279, 0.991266667842865, 0.012156748212873936, -0.5968371033668518, -0.028307203203439713, -0.21260471642017365, -0.30735287070274353, 0.6839451789855957, 0.15651027858257294, -0.23500405251979828, -0.4146672785282135, -0.44923633337020874, -0.43210527300834656, 0.6079455018043518, 0.6395246982574463, -0.36388877034187317, 0.18453578650951385, 0.22813603281974792, 0.6061803698539734, -0.40271589159965515, 0.3272034227848053, 0.16406415402889252, 0.42744240164756775, 0.04946691170334816, -0.6197196841239929, 0.00019109973800368607, -0.26862633228302, -0.3380845785140991, 0.39694589376449585, -0.6214035153388977, 0.9474434852600098, -0.016589945182204247, -0.214423269033432, -0.004715622402727604, 1.016573190689087, 0.6005473136901855, 0.2533859610557556, 0.6100407242774963, 0.9360485672950745, 0.5890661478042603, 0.04400221258401871, 0.8985211849212646, -0.2867666184902191, 0.15472343564033508, 1.1494452953338623, -0.5543267130851746, 1.422877550125122, 0.27987024188041687, -0.15930187702178955, 1.1280031204223633, 0.4122529923915863, 0.1056230217218399, 0.11620166152715683, 0.24021926522254944, -0.3349379599094391, -0.71996009349823, -0.04744526743888855, -0.17825593054294586, 0.2465934306383133, 0.7734747529029846, -0.46417316794395447, -0.33872124552726746, -0.4493657350540161, 0.329476535320282, 0.3823925852775574, -0.2833932042121887, 0.7675730586051941, 0.3684483766555786, -1.126841425895691, 0.6449139714241028, 0.25966161489486694, 0.6022293567657471, -0.7298431992530823, -0.17614415287971497, 0.12357670813798904, 0.4546695649623871, -0.23168544471263885, -0.7120208740234375, 0.057218119502067566, 0.3197370171546936, -0.3130916953086853, 0.1390831619501114, 0.9030604362487793, -0.22907672822475433, -0.2712084650993347, 0.451198548078537, 0.5951704382896423, -0.15165750682353973, 0.1123243197798729, -0.5932620763778687, 0.1114639863371849, -0.16359855234622955, -0.3190470039844513, 0.5222322940826416, 0.40732821822166443, -0.2471243441104889, 0.7884706258773804, 0.5748170614242554, 0.20935146510601044, -0.11876719444990158, -0.2452245056629181, 1.0381958484649658, -0.6189023852348328, -0.16128484904766083, -1.265998125076294, 0.2035508155822754, -0.3008512854576111, -0.09825414419174194, 0.7683789134025574, 0.4920610785484314, 0.41773611307144165, 0.014139738865196705, 0.8485652804374695, 0.04393266886472702, 0.6335260272026062, -0.6043932437896729, 0.2608562409877777, -0.19208572804927826, 0.2297126203775406, -0.16118042171001434, -0.868986964225769, -0.3787526488304138, 0.8347705006599426, -0.4841950237751007, -0.029809722676873207, 0.540681004524231, 0.7897031903266907, -0.2280777394771576, 0.11083322763442993, 0.07303235679864883, 0.16260944306850433, 0.593664288520813, 0.8537355661392212, 0.9610300660133362, -0.22935904562473297, 0.547669529914856, 0.28515976667404175, -0.21367689967155457, -0.19414855539798737, -1.0535303354263306, -1.3443636894226074, -0.28062671422958374, -0.3552466928958893, -0.43560731410980225, 0.13093994557857513, 1.1886699199676514, 0.7296409606933594, -0.9687559008598328, -0.5809037685394287, -0.14599013328552246, 0.050178755074739456, 0.16861052811145782, -0.17570297420024872, 0.2835245430469513, -0.3908784091472626, -0.5922209024429321, 0.449405699968338, 0.14226628839969635, -0.2957353889942169, -0.3054678440093994, -0.13080787658691406, -0.3893141448497772, 0.36561229825019836, 0.5827732086181641, 0.4625367522239685, -0.7231018543243408, -0.13528873026371002, -0.38888293504714966, 0.1366548091173172, 0.16636213660240173, 1.0151894092559814, -0.6891160011291504, 0.21940231323242188, 0.48938214778900146, 0.6496794819831848, 0.2833261787891388, 0.38806459307670593, 0.6975206732749939, -0.6382421255111694, 0.007053838111460209, -0.05315900221467018, 0.6480996012687683, 0.48331451416015625, -0.03957997262477875, 0.3760395050048828, 0.0687822550535202, -0.7994565963745117, -0.9701244831085205, 0.42036905884742737, -0.9200103282928467, -0.26359641551971436, 1.5689258575439453, -0.4015843868255615, -0.04543247073888779, -0.13381628692150116, -0.30613988637924194, -0.0686783418059349, -0.326382040977478, 0.7317409515380859, 1.060711145401001, -0.15413929522037506, -0.323272168636322, -0.48716479539871216, 0.4743346869945526, 0.5562441945075989, -0.8810552954673767, 0.6628243327140808, 0.5731936097145081, 0.17830276489257812, 0.3061681091785431, 0.41996467113494873, -0.1764799952507019, 0.0034277543891221285, -0.40663665533065796, -0.44022756814956665, -0.009325179271399975, -0.1794583797454834, -0.32446473836898804, 0.7882317900657654, 0.5910735726356506, 0.3092425465583801 ]
http://arxiv.org/abs/2403.05561v1
http://arxiv.org/pdf/2403.05561v1
Detecting a Proxy for Potential Comorbid ADHD in People Reporting Anxiety Symptoms from Social Media Data
2024-02-17T10:32:43
2024-02-17T10:32:43
Claire S. Lee, Noelle Lim, Michael Guerzhoy
cs.CY
cs.CY, cs.CL
We present a novel task that can elucidate the connection between anxiety and ADHD; use Transformers to make progress toward solving a task that is not solvable by keyword-based classifiers; and discuss a method for visualization of our classifier illuminating the connection between anxiety and ADHD presentations. Up to approximately 50% of adults with ADHD may also have an anxiety disorder and approximately 30\% of adults with anxiety may also have ADHD. Patients presenting with anxiety may be treated for anxiety without ADHD ever being considered, possibly affecting treatment. We show how data that bears on ADHD that is comorbid with anxiety can be obtained from social media data, and show that Transformers can be used to detect a proxy for possible comorbid ADHD in people with anxiety symptoms. We collected data from anxiety and ADHD online forums (subreddits). We identified posters who first started posting in the Anxiety subreddit and later started posting in the ADHD subreddit as well. We use this subset of the posters as a proxy for people who presented with anxiety symptoms and then became aware that they might have ADHD. We fine-tune a Transformer architecture-based classifier to classify people who started posting in the Anxiety subreddit and then started posting in the ADHD subreddit vs. people who posted in the Anxiety subreddit without later posting in the ADHD subreddit. We show that a Transformer architecture is capable of achieving reasonable results (76% correct for RoBERTa vs. under 60% correct for the best keyword-based model, both with 50% base rate).
[ -0.7044854760169983, -0.9674288630485535, 0.9092614054679871, 0.04185519367456436, -0.0025733867660164833, 0.26417842507362366, 0.18095943331718445, -0.5100548267364502, 0.8302764296531677, 0.08568263798952103, -0.7963240742683411, -0.5383120775222778, -0.891932487487793, -0.46919336915016174, -0.6083309650421143, 0.7829689979553223, -0.20049335062503815, 0.25349825620651245, -0.10714074969291687, 0.1682400405406952, -0.46222105622291565, -0.4604761600494385, -1.266010046005249, -0.3495360016822815, 0.38431715965270996, 0.3704218566417694, 0.7608631253242493, 0.6245538592338562, 0.6623556017875671, 0.13903918862342834, 0.016727959737181664, 0.08978872001171112, -0.035102393478155136, 0.038679517805576324, -0.24328255653381348, -0.24741755425930023, -0.6875102519989014, -0.11912184953689575, 0.16857558488845825, 0.3783876299858093, -0.16110432147979736, 0.4015547037124634, 0.022061016410589218, 0.4071827828884125, -0.4101828932762146, -0.09149879217147827, -0.4079331159591675, 0.25117066502571106, -0.14704589545726776, -0.3579816520214081, 0.002292223507538438, -0.08078277856111526, -0.4503103196620941, -0.4624587297439575, 0.8271991014480591, 0.16257184743881226, 0.7166303992271423, 0.6124730706214905, -0.7095651626586914, -0.35467904806137085, -1.0405519008636475, 0.33902597427368164, 0.2149011194705963, 0.4955021142959595, 0.4421582520008087, 0.37551772594451904, -0.07915758341550827, -0.8666519522666931, -0.7142836451530457, 0.1125284805893898, -0.1969149112701416, 0.15836548805236816, -0.5126294493675232, -0.07758910953998566, 0.2636113464832306, 0.36117812991142273, -0.8231661319732666, -0.09588529169559479, -0.590657114982605, -0.2992050051689148, 0.5715965628623962, 0.2450837790966034, 0.46488651633262634, 0.1085892766714096, -0.3974187672138214, -0.18101955950260162, -0.10642237216234207, 0.29296088218688965, 0.2602081298828125, 0.06048779934644699, -0.11640548706054688, 0.3819836974143982, 0.5045714378356934, 0.1606971174478531, 0.6097350716590881, 0.02011210285127163, -0.029852138832211494, 0.275112509727478, 0.25099658966064453, 0.44510266184806824, 0.43466290831565857, 0.512456476688385, 0.1002899780869484, 0.0021980199962854385, -0.0007715817773714662, 0.8057502508163452, 0.6514140963554382, -0.475170761346817, -0.33347487449645996, 0.4244926869869232, -0.6613860130310059, -0.034721408039331436, 0.07082614302635193, -0.9424186944961548, -0.7657285928726196, -0.23254644870758057, 0.5448395609855652, -0.2883412837982178, -0.22826743125915527, -0.13670343160629272, -0.25919702649116516, -0.020302293822169304, 0.27557653188705444, -0.7219705581665039, 0.7735134363174438, 0.8276430368423462, 0.967671811580658, -0.6170274019241333, -0.09695036709308624, -0.354454904794693, -0.14922714233398438, -0.3461325168609619, 1.1260801553726196, -0.25863224267959595, -0.45542070269584656, 0.07852012664079666, 0.12593859434127808, -0.4567522406578064, -0.662787914276123, 0.9931228756904602, -0.6663419008255005, -0.19443029165267944, 0.11868415772914886, -0.436794638633728, 0.06505614519119263, 0.10214675962924957, -1.0056310892105103, 0.9241564273834229, 0.22880510985851288, -0.6778464317321777, 0.1990414261817932, -0.5302203297615051, -0.633455216884613, 0.10934513062238693, -0.00045147858327254653, -0.3291643559932709, 0.04274149611592293, 0.09228686988353729, 0.17937114834785461, -0.14376775920391083, 0.36880412697792053, -0.44085758924484253, -0.5662810206413269, 0.46597734093666077, -0.2955991327762604, 0.5029851198196411, 0.30714771151542664, -0.11087113618850708, 0.005863143131136894, -0.6330488324165344, -0.14056192338466644, -0.06093132868409157, -0.11813497543334961, -0.40331506729125977, -0.023567894473671913, 0.05927806720137596, 0.4079938232898712, 0.27428197860717773, -0.5573319792747498, 0.01442499179393053, 0.3048396706581116, -0.03751077875494957, 0.8143065571784973, 0.4478318393230438, -0.15189242362976074, -0.6782305240631104, 0.7248185873031616, 0.3584994375705719, 0.3874913454055786, 0.2786799371242523, -0.6326531171798706, -0.6847641468048096, -0.5763252973556519, -0.3078950047492981, 0.43285873532295227, -0.5957562923431396, 0.4940422475337982, -0.25911471247673035, -0.4629453122615814, -0.6696253418922424, -0.08003479242324829, 0.0935099720954895, 0.4579971730709076, 0.7774532437324524, -0.2621374726295471, -0.6002922058105469, -0.7297171950340271, -0.35080456733703613, -0.10387847572565079, -0.1707460582256317, 0.11544822156429291, 0.33014118671417236, -0.6570177674293518, 0.4129868745803833, -0.8671579360961914, -0.7167666554450989, 0.2792312800884247, 0.5414886474609375, 0.05070232227444649, 0.3745264708995819, 0.35238116979599, -1.0475614070892334, -0.6843541860580444, 0.04236658290028572, -0.12137448787689209, 0.13916821777820587, 0.1973949372768402, -0.19494888186454773, -0.15006741881370544, 0.9209165573120117, -0.9034599661827087, 0.4399423599243164, 0.4303433299064636, -0.3340288996696472, 0.15209150314331055, 0.040790192782878876, 0.04350042715668678, -1.2198578119277954, 0.2076958864927292, 0.16919752955436707, -0.05384546518325806, -0.6977124214172363, -0.21702247858047485, -0.22155186533927917, -0.10064879059791565, -0.05915818363428116, 0.36126822233200073, 0.27785730361938477, 0.3277989327907562, -0.32436510920524597, -0.14977090060710907, -0.24575646221637726, 0.5714291930198669, -0.042228635400533676, 0.3864702880382538, 0.7133684158325195, -0.49473607540130615, 0.4001573324203491, -0.08970743417739868, -0.05565965548157692, 0.6723182201385498, -0.34324049949645996, 0.1785614937543869, -0.4802403748035431, 0.21200232207775116, -1.5653208494186401, -0.5140555500984192, 0.3634924590587616, -0.6363515257835388, 0.34019917249679565, 0.20139244198799133, -0.19178442656993866, -0.7700962424278259, -0.3940678834915161, 0.30070021748542786, 0.40412187576293945, -0.6064766049385071, 0.8635449409484863, 0.5467569231987, 0.03274665027856827, -0.32135263085365295, -0.4343375861644745, -0.43014776706695557, -0.5525777339935303, -0.25401848554611206, 0.7680470943450928, 0.009650818072259426, -0.16933758556842804, 0.4205683469772339, -0.6012513637542725, -0.4675667881965637, 0.10779517889022827, 0.49520355463027954, 0.09061279147863388, 0.008328836411237717, 0.4542737603187561, 0.043014951050281525, -0.12521839141845703, 0.3553195893764496, -0.1371961534023285, 0.7693613171577454, -0.11474332213401794, -0.4502847194671631, -0.5752419233322144, 0.34993258118629456, 0.7513900995254517, 0.1039508804678917, 0.5966582894325256, 1.0319069623947144, -0.6128355264663696, -0.35327088832855225, -0.3776247799396515, -0.31108179688453674, -0.47569677233695984, 0.11255406588315964, -0.31447869539260864, -0.6238030195236206, 0.7461565732955933, -0.08767683058977127, -0.539395272731781, 0.5002680420875549, 0.2548791766166687, -0.21725179255008698, 1.4806925058364868, 0.7931581735610962, 0.1258605420589447, 0.36673668026924133, 0.037877414375543594, 0.5333791375160217, -0.5670050382614136, -0.12699982523918152, -0.3571801781654358, -0.6466959118843079, -0.995690643787384, -0.3270880877971649, 0.5222302675247192, -0.3976757526397705, -0.22080594301223755, 0.10390482097864151, -0.38795799016952515, -0.007458261214196682, 0.6179563403129578, 0.43695124983787537, 0.11931636929512024, 0.22232775390148163, 0.042246852070093155, -0.09154259413480759, -0.44259876012802124, -0.28203141689300537, 0.9103211760520935, 0.27798667550086975, 0.7827135324478149, 0.15451239049434662, 0.40167149901390076, 0.9922671318054199, 0.8382697105407715, -1.1174542903900146, 0.43493765592575073, -0.4291744828224182, -0.7238460183143616, 0.052699390798807144, -0.236657977104187, -1.0055036544799805, -0.24897047877311707, -0.09078699350357056, -0.9750977158546448, 0.4382668137550354, 0.3289448916912079, -0.5086618661880493, 0.05292344093322754, -0.6035598516464233, 0.9353477358818054, -0.18875104188919067, -0.2664000689983368, -0.3080856502056122, -0.8199356198310852, 0.44563981890678406, -0.6208587288856506, 0.22612270712852478, 0.03617085516452789, 0.2657202482223511, 0.8800062537193298, -0.31569451093673706, 0.5166440010070801, -0.023992380127310753, 0.05369880422949791, 0.48636019229888916, -0.014227514155209064, -0.07064563035964966, -0.23672471940517426, 0.3641686737537384, -0.11808646470308304, 0.009562939405441284, 0.034327249974012375, -0.8678524494171143, 0.8424791097640991, -1.0085569620132446, -0.6923538446426392, -0.488668292760849, -0.41827693581581116, -0.5030710697174072, 0.07175827026367188, 0.18439866602420807, 0.17595405876636505, 0.08416622877120972, 0.17355531454086304, 0.6232151389122009, 0.36887621879577637, 0.15615910291671753, 0.4932728111743927, 0.062411703169345856, -0.3001856505870819, 0.8600425720214844, 0.051196448504924774, -0.32441410422325134, 0.5439507961273193, 0.2497769445180893, -0.39976048469543457, 0.12296188622713089, 0.22862103581428528, 0.3185003399848938, -0.734230101108551, -0.10773367434740067, -0.4694284498691559, -0.4193534553050995, -0.5310219526290894, 0.0007579730590805411, -0.3715094327926636, -0.4149196743965149, -0.18869401514530182, -0.3148576021194458, 0.1954907923936844, 0.5207309126853943, -0.16522884368896484, 0.49173709750175476, -0.5236281752586365, 0.5166305303573608, 0.6367238163948059, 0.2650757133960724, 0.3289821147918701, -0.3061267137527466, -0.1356724500656128, 0.000477944384329021, -0.819179356098175, -0.7961627244949341, 0.4093441665172577, 0.05953102186322212, 0.45110884308815, 0.8188144564628601, 0.33179888129234314, 0.8998096585273743, -0.15139922499656677, 0.48746374249458313, 0.0510193407535553, -0.7831035256385803, 0.37923479080200195, -0.003334788838401437, -0.2357206642627716, 0.3482808768749237, 1.2802988290786743, -0.7392076253890991, -0.22007443010807037, -0.7811791300773621, -0.8539639711380005, 0.7306368350982666, 0.07870981842279434, -0.11172815412282944, -0.09576491266489029, 0.14673654735088348, -0.44831782579421997, 0.05536791682243347, -0.46431946754455566, -0.6259101033210754, -0.19982591271400452, -0.4416971206665039, -0.08026251196861267, -0.1328456848859787, -0.3508055806159973, -0.22250492870807648, 0.5630386471748352, -0.02509421296417713, 0.49958038330078125, 0.35381513833999634, 0.34495440125465393, -0.5692532658576965, -0.019548609852790833, 0.24936406314373016, 0.37315231561660767, -0.537125825881958, 0.7839887142181396, -0.2502157688140869, -0.8470233082771301, 0.2965950667858124, 0.4396360516548157, 0.23284873366355896, 0.15633244812488556, 0.4396270513534546, 0.5895965695381165, -0.26844316720962524, -0.5601377487182617, 0.5934178233146667, -0.3620433807373047, -0.06151294335722923, -0.5570167303085327, 0.15906153619289398, -0.08699026703834534, 0.2724177837371826, 0.5933356881141663, 0.44400981068611145, 0.22299697995185852, -0.6636503338813782, 0.4507387578487396, 0.4262239336967468, -0.6636322140693665, -0.5999755263328552, 0.881361722946167, -0.21464377641677856, -0.8814058303833008, 0.4060957431793213, -0.11489696800708771, -0.5135249495506287, 0.8484770059585571, 0.4699300229549408, 0.9761362671852112, -0.7363920211791992, 0.24400830268859863, 0.23564259707927704, 0.14864911139011383, 0.10770952701568604, 0.2044447511434555, -0.07152416557073593, -0.8503384590148926, 0.33324894309043884, -0.5299469828605652, -0.1925993710756302, 0.591575026512146, -1.050352931022644, 0.4232800602912903, -0.2899632453918457, -0.7837719321250916, 0.39351096749305725, 0.0006800586706958711, -0.6071736216545105, 0.33962470293045044, 0.2115534096956253, 0.6343544721603394, -1.2949036359786987, 0.5778406262397766, 1.2859524488449097, 0.025899887084960938, -0.6253552436828613, 0.7593389749526978, 0.07076040655374527, -0.606035053730011, 0.3350050449371338, 0.2835928201675415, -0.45244377851486206, -0.06507229059934616, -0.42799636721611023, -0.9530326128005981, 1.0038602352142334, -0.10513677448034286, 0.03590989112854004, 0.27700987458229065, 0.19377575814723969, 1.1470723152160645, -0.3712442219257355, -0.04739467054605484, 0.40881064534187317, 0.40259695053100586, 0.30877387523651123, -0.5604711771011353, 0.10809207707643509, -0.5365355014801025, 0.007525856141000986, -0.005140603519976139, -0.6507939696311951, 1.1421639919281006, 0.04848278686404228, -0.4688218832015991, -0.2152145951986313, 0.2878732681274414, 0.1324261575937271, 0.7134038805961609, 0.5881183743476868, 0.49789467453956604, 0.9238213300704956, 0.08081289380788803, 0.9541284441947937, -0.9026626944541931, 0.2765082120895386, 0.9237703680992126, -0.3169912099838257, 0.6962026953697205, 0.6209542155265808, -0.08522357046604156, 0.46648526191711426, 0.5656670331954956, 0.1630842089653015, 0.5126486420631409, -0.19559453427791595, -0.4983876049518585, -0.2689613401889801, -0.6621360778808594, -0.2244906723499298, 0.37859970331192017, 0.8205180168151855, -0.22876136004924774, -0.22696377336978912, 0.02074451744556427, 0.18222524225711823, 0.028570562601089478, -0.28618285059928894, 0.40709105134010315, 0.04618363454937935, -1.035338282585144, 0.4447190761566162, 0.23725800216197968, 0.14277051389217377, -0.445637583732605, -0.0025845193304121494, -0.3032078742980957, 0.7670027017593384, -0.17759177088737488, -0.652589738368988, 0.6369327902793884, -0.24065230786800385, -0.15173408389091492, -0.2633951008319855, 0.9108238220214844, -0.41125717759132385, -0.39775627851486206, 0.429482102394104, 0.6460926532745361, -0.02045464888215065, -0.06846148520708084, -0.29394373297691345, -0.2906588912010193, -0.4341992735862732, 0.0016536281909793615, 0.08388237655162811, 0.1494772732257843, -0.46269628405570984, 0.6052913069725037, 0.4475240707397461, -0.12998975813388824, -0.1077093780040741, -0.1864200085401535, 0.905491054058075, -0.18231157958507538, -0.32848799228668213, -0.8170881271362305, 0.19493669271469116, -0.00849835854023695, -0.23878511786460876, 0.8123024702072144, 0.4733094573020935, 0.5868141651153564, -0.2557351291179657, 0.5608856081962585, -0.2287866622209549, 0.5800665616989136, 0.05498502403497696, 0.4829750657081604, -0.866546094417572, 0.015686163678765297, 0.016975615173578262, -0.48723089694976807, -0.41731181740760803, 0.5613069534301758, -0.3128123879432678, -0.08613435178995132, 1.0926250219345093, 0.9198654890060425, -0.28533515334129333, -0.0188000425696373, -0.13785424828529358, 0.19520612061023712, 0.32720431685447693, 0.43573880195617676, 0.720733106136322, -0.31576377153396606, 0.41932806372642517, -0.34543779492378235, -0.19126713275909424, -0.3495883643627167, -0.31473883986473083, -0.8913506269454956, -0.590061604976654, -0.6051298379898071, -0.5002865195274353, 0.1275257021188736, 0.8481690287590027, 0.4747474789619446, -0.7983441352844238, -0.135631263256073, -0.23536160588264465, 0.674146294593811, -0.7764597535133362, -0.34894490242004395, 0.590497612953186, 0.0580243319272995, -0.6326438188552856, 0.014741451479494572, -0.27761998772621155, 0.15348073840141296, -0.023366263136267662, 0.3816279470920563, -0.19235330820083618, 0.11326282471418381, 0.3035973608493805, 0.12289256602525711, -0.18454499542713165, -0.2462286651134491, 0.10001993179321289, -0.18443728983402252, 0.07531874626874924, 0.7624424695968628, -0.40801864862442017, 0.27808430790901184, 0.3149755299091339, 0.29053640365600586, 0.4236295521259308, 0.5078375339508057, 0.06872956454753876, -0.7885586023330688, -0.23171363770961761, 0.09860409796237946, 0.23794245719909668, 0.09409338980913162, -0.6457477807998657, 0.27352315187454224, 0.6001716256141663, -0.30646708607673645, -0.5646739602088928, 0.012816272675991058, -0.9041263461112976, -0.1761009693145752, 0.9243603944778442, -0.047580599784851074, -0.3000752925872803, -0.29049763083457947, -0.1717076450586319, 0.3126794397830963, -0.3456172049045563, 1.3379358053207397, 0.6161056160926819, -0.5207741260528564, 0.18156231939792633, -0.39765986800193787, 0.612006425857544, 0.09911703318357468, -0.6462904214859009, -0.5469658374786377, 0.17478542029857635, 0.07639402896165848, 0.5880340933799744, 0.49380916357040405, 0.20852352678775787, 0.40029001235961914, 0.11448150873184204, -0.07783673703670502, 0.19680878520011902, -0.46059921383857727, -0.29756903648376465, 0.3977757692337036, -0.3118862509727478, -0.4659133851528168 ]
http://arxiv.org/abs/2402.11218v2
http://arxiv.org/pdf/2402.11218v2
Controlled Text Generation for Large Language Model with Dynamic Attribute Graphs
2024-02-17T08:14:37
2024-05-24T04:56:41
Xun Liang, Hanyu Wang, Shichao Song, Mengting Hu, Xunzhi Wang, Zhiyu Li, Feiyu Xiong, Bo Tang
cs.CL
cs.CL
Controlled Text Generation (CTG) aims to produce texts that exhibit specific desired attributes. In this study, we introduce a pluggable CTG framework for Large Language Models (LLMs) named Dynamic Attribute Graphs-based controlled text generation (DATG). This framework utilizes an attribute scorer to evaluate the attributes of sentences generated by LLMs and constructs dynamic attribute graphs. DATG modulates the occurrence of key attribute words and key anti-attribute words, achieving effective attribute control without compromising the original capabilities of the model. We conduct experiments across four datasets in two tasks: toxicity mitigation and sentiment transformation, employing five LLMs as foundational models. Our findings highlight a remarkable enhancement in control accuracy, achieving a peak improvement of 19.29% over baseline methods in the most favorable task across four datasets. Additionally, we observe a significant decrease in perplexity, markedly improving text fluency.
[ -0.026948340237140656, -1.1495392322540283, 0.49982598423957825, 0.3236466944217682, -0.18755394220352173, 0.3526839315891266, -0.34905433654785156, -0.2554379105567932, -0.005811591167002916, 0.6785727739334106, -0.6188482046127319, -1.002465009689331, -0.4949907958507538, 0.2998499572277069, -0.3506872057914734, 1.0621143579483032, -0.06658196449279785, -0.3114163875579834, -0.14287711679935455, 0.07412486523389816, -0.6253184676170349, -0.3463612496852875, -0.8476278185844421, -0.49727776646614075, 0.7839494347572327, 0.30274349451065063, 0.9314472675323486, 0.7497368454933167, 0.49272987246513367, 0.2778422236442566, -0.18614433705806732, 0.5083453059196472, -0.6347520351409912, 0.4262082576751709, -0.10901553183794022, -0.41007038950920105, -0.8133289813995361, 0.10515846312046051, 0.6023220419883728, 0.24839872121810913, 0.010344431735575199, -0.3129040598869324, 0.05193547159433365, 0.39606478810310364, -0.44134464859962463, 0.23989208042621613, -0.7409210205078125, 0.05890028551220894, -0.12072692066431046, -0.30695033073425293, -0.7295017838478088, -0.3752790689468384, -0.09781984984874725, -0.4850567877292633, -0.16632938385009766, -0.06753554195165634, 0.8499899506568909, 0.26519346237182617, -0.8789361715316772, -0.327648401260376, -0.6562920212745667, 0.9408307075500488, -0.8665323853492737, 0.09594208002090454, 0.2646150290966034, -0.012177042663097382, -0.5168202519416809, -0.9392550587654114, -0.6226790547370911, -0.6049120426177979, -0.19840601086616516, 0.26654288172721863, -0.16687501966953278, 0.39310330152511597, 0.17078304290771484, 0.2856265604496002, -0.4281860291957855, 0.45049262046813965, 0.35764676332473755, -0.19761650264263153, 0.8259925246238708, 0.4831945300102234, 0.3823118507862091, -0.4209592938423157, -0.2593690752983093, -0.12872736155986786, -0.8960011005401611, -0.18414223194122314, 0.4099920988082886, 0.29090020060539246, 0.13392652571201324, 0.5352253913879395, -0.01705366000533104, 0.6332083344459534, 0.15267044305801392, -0.28343576192855835, 0.13997063040733337, -0.25596752762794495, -0.16335703432559967, -0.04843372479081154, 0.9691472053527832, 0.2733709216117859, 0.10634326189756393, -0.09389461576938629, -0.27534961700439453, -0.08123428374528885, 0.32698941230773926, -0.8402655124664307, -0.3298289477825165, 0.30481499433517456, -0.3070800304412842, -0.965757429599762, -0.31390249729156494, -0.5149518847465515, -0.5390944480895996, -0.10807248950004578, 0.13924145698547363, -0.6084641814231873, -0.15788254141807556, -0.05714137852191925, 0.213588148355484, -0.0601261705160141, 0.34638485312461853, -0.5067064166069031, 0.013906695879995823, 0.3055678606033325, 0.8169271349906921, -0.6602592468261719, 0.10755515843629837, -0.5064436197280884, 0.4639297127723694, -0.3747138977050781, 0.6338667273521423, -0.7663236260414124, -0.42432689666748047, 0.14353907108306885, -0.25335028767585754, 0.053294386714696884, -0.34007102251052856, 0.4888049066066742, -0.5507038235664368, 0.265613853931427, 0.04020066559314728, -0.5818247199058533, -0.0766487866640091, 0.45548778772354126, -0.7904801964759827, 1.1970173120498657, 0.09405945986509323, -0.767490565776825, 0.33393341302871704, -0.591835081577301, -0.6592636108398438, 0.24741895496845245, -0.20036573708057404, -0.6393574476242065, -0.07431700825691223, 0.0184640996158123, 0.5327256917953491, -0.2564973533153534, 0.3909651041030884, -0.13097409904003143, -0.030823267996311188, 0.5253307223320007, -0.3670899569988251, 0.48483195900917053, 0.2649848461151123, -0.29064932465553284, 0.365208238363266, -1.004015326499939, 0.3004884421825409, -0.061780959367752075, -0.6860166192054749, -0.28227919340133667, 0.32151156663894653, 0.20220111310482025, 0.09930277615785599, 0.2000940889120102, -0.2834928631782532, 0.24315105378627777, -0.11499827355146408, 0.392311692237854, 0.6024078130722046, 0.17138098180294037, 0.354918509721756, -0.20426902174949646, 0.5933437943458557, 0.04611975699663162, -0.23336046934127808, -0.05605349689722061, -0.1517924815416336, -0.6782495379447937, -0.4629706144332886, 0.18319553136825562, 0.5959604978561401, -0.962321937084198, 0.9556447863578796, -0.17804349958896637, -0.5008098483085632, 0.2582891285419464, 0.009902913123369217, 0.3324481248855591, 0.331491619348526, 0.07790801674127579, -0.15997639298439026, -0.14913123846054077, -0.6843624114990234, -0.1871444582939148, -0.28086432814598083, -0.18080627918243408, 0.5116813778877258, 0.2794036269187927, -0.16860637068748474, 0.8550158143043518, -0.8568714261054993, -0.2937639355659485, -0.6141154170036316, 0.5623412132263184, -0.07606633752584457, 0.5017785429954529, 0.810326099395752, -0.661723256111145, -0.5636574625968933, -0.01765505038201809, -0.3963797390460968, -0.598161518573761, -0.4184119701385498, -0.3915051221847534, 0.2089429348707199, 0.5527175068855286, -0.5552535057067871, 0.2646852433681488, 0.6391127109527588, -0.2962256968021393, 0.7611998915672302, -0.17970618605613708, 0.24465759098529816, -1.1418795585632324, 0.11392886191606522, 0.06415396928787231, -0.4719747304916382, -0.8839269876480103, 0.11597888171672821, 0.07387247681617737, -0.01492778304964304, -0.40143996477127075, 0.3623947501182556, -0.1379101574420929, 0.7312783002853394, -0.4898521900177002, 0.07962750643491745, -0.005247350782155991, 0.3819141387939453, -0.01368285808712244, 0.6914269328117371, 0.34409773349761963, -0.6652960181236267, 0.4962354004383087, 0.32685139775276184, -0.2064821869134903, 0.6350041031837463, -0.6225067973136902, 0.11478188633918762, -0.002043426036834717, 0.41629502177238464, -1.0009177923202515, -0.3875729441642761, -0.10148807615041733, -0.19759708642959595, 0.5212538242340088, 0.36476996541023254, -0.7884085178375244, -0.36142823100090027, -0.1751890629529953, 0.04577000066637993, 0.42475882172584534, -0.12343501299619675, 0.5903279781341553, 0.17651204764842987, -0.17396831512451172, -0.15646497905254364, -0.7292744517326355, 0.22776465117931366, -0.32104453444480896, -0.5143553614616394, 0.49561378359794617, -0.048443928360939026, -0.08018472045660019, -0.18349908292293549, 0.21275034546852112, -0.06681851297616959, 0.0872962474822998, -0.03255101665854454, 0.023405196145176888, 0.017714446410536766, 0.6454580426216125, 0.3671492040157318, 0.05268377438187599, -0.016497580334544182, -0.06081383302807808, 0.7655168771743774, 0.34972208738327026, 0.09450751543045044, -0.30225393176078796, 0.20765838027000427, 0.5559334754943848, -0.4416336715221405, 0.8187830448150635, 0.4951404631137848, -0.14075849950313568, -0.5912371277809143, -0.1295877993106842, -0.08022282272577286, -0.5569292306900024, 0.7390101552009583, -0.28206032514572144, -0.9692031741142273, 0.6830075979232788, -0.19598199427127838, 0.07164882868528366, 0.23322691023349762, 0.7316866517066956, -0.027215134352445602, 1.2736974954605103, 0.6528618335723877, 0.09944339841604233, 0.6883141994476318, 0.06703747063875198, 0.2620975971221924, -0.36515048146247864, -0.09720653295516968, -0.28678831458091736, -0.4999818503856659, -0.9847174882888794, -0.23184356093406677, 0.5765514373779297, -0.050951991230249405, -0.4021630883216858, 0.08608798682689667, -0.41251906752586365, 0.3493534326553345, 0.2967919111251831, 0.5192071795463562, 0.3481917083263397, -0.14617638289928436, -0.10476099699735641, -0.13556267321109772, -0.6315909028053284, -0.5556952357292175, 0.7958425283432007, 0.2914266288280487, 1.044416904449463, 0.0372810997068882, 0.32067492604255676, 0.4591715633869171, 0.3878827393054962, -0.7574924230575562, 0.7668634057044983, -0.5880248546600342, -0.4286617934703827, -0.27325063943862915, -0.543868899345398, -0.6340689063072205, -0.07859282940626144, -0.4971197545528412, -0.582548201084137, -0.32192057371139526, 0.32420116662979126, -0.07758496701717377, 0.3491387963294983, -0.40859395265579224, 0.4989641606807709, -0.36555054783821106, -0.5114627480506897, -0.2850905656814575, -0.26646727323532104, 0.4725210964679718, -0.3447335958480835, -0.23356389999389648, -0.05513164401054382, 0.006229538936167955, 0.6607801914215088, -0.4457932710647583, 0.8484343886375427, 0.1260826736688614, -0.403000146150589, 0.38464200496673584, 0.38567620515823364, 0.8874910473823547, -0.24427010118961334, -0.27068454027175903, -0.15078631043434143, -0.3382752537727356, -0.15911762416362762, -0.43581458926200867, 0.9100977182388306, -0.5310742855072021, -0.5962482690811157, -0.2692622244358063, -1.1510945558547974, -0.21275293827056885, 0.5605642795562744, 0.08239278197288513, 0.20857471227645874, -0.18773460388183594, 0.4044210910797119, 0.7809671759605408, -0.8293440341949463, 0.22254855930805206, 0.31433022022247314, -0.20119722187519073, -0.5036525726318359, 0.5810520052909851, 0.08638500422239304, 0.6316859126091003, 0.35897475481033325, 0.3206460177898407, -0.12939725816249847, -0.5859384536743164, -0.14878010749816895, 0.24983155727386475, -0.4887865483760834, -0.4779190421104431, -0.6764631867408752, -0.3088363707065582, -0.4456544518470764, -0.21244946122169495, -0.1348380297422409, -0.27211859822273254, -0.49521324038505554, -0.32079318165779114, 0.801991879940033, 0.8569875955581665, 0.23494088649749756, 0.8849315047264099, -0.6944860219955444, -0.03791113942861557, 0.04311583563685417, 0.5073493123054504, -0.07393746078014374, -0.26991650462150574, -0.19215254485607147, 0.015862345695495605, -0.642201840877533, -1.070874810218811, 0.5621840953826904, 0.2605445086956024, 0.24745048582553864, 0.43614494800567627, 0.1862066090106964, 0.45511868596076965, -0.5170896053314209, 0.9581350088119507, 0.19988231360912323, -1.0275743007659912, 0.5004169344902039, -0.7433487772941589, 0.3875928223133087, 0.1960095465183258, 0.2096826434135437, -0.46159252524375916, -1.027981162071228, -0.31267672777175903, -0.9099670648574829, 0.6339806914329529, 0.41904377937316895, 0.39046868681907654, -0.0693666934967041, 0.49646419286727905, 0.014726665802299976, 0.2995327115058899, -0.807465672492981, -0.17773908376693726, -0.10595009475946426, -0.5643162727355957, 0.24833367764949799, -0.33242958784103394, 0.012968497350811958, 0.048374079167842865, 0.5646378993988037, -0.0747368261218071, -0.09209968894720078, -0.2262856662273407, 0.01799919456243515, -0.04951432719826698, 0.3142629861831665, 0.35982048511505127, 0.3186659514904022, -0.12409782409667969, 0.32475700974464417, 0.14249831438064575, -0.6219735741615295, 0.09269342571496964, -0.18319661915302277, -0.4378415644168854, -0.20772163569927216, 0.2649611532688141, 0.7190974950790405, -0.049413036555051804, -0.5083575248718262, 0.2977217435836792, 0.2056674361228943, -0.1200343519449234, 0.022864680737257004, 0.3607754409313202, -0.09380627423524857, -0.07736623287200928, 0.23746778070926666, -0.5082538723945618, -0.2239895612001419, -0.28714171051979065, 0.35365158319473267, 0.4918166697025299, -0.2971307039260864, -0.13512535393238068, 0.861011266708374, 0.3718031048774719, -0.029814695939421654, 0.5378280878067017, -0.05854223296046257, -0.602783203125, 0.49824392795562744, 0.8196495771408081, 0.7583005428314209, -0.2184700071811676, 0.42017486691474915, 0.3271327316761017, 0.24122688174247742, 0.23729592561721802, 0.19835197925567627, 0.1939557045698166, -0.7407605648040771, -0.48131048679351807, -0.48146069049835205, -0.2264675498008728, 0.5121414661407471, -0.2695282995700836, 0.5039970874786377, -0.41876110434532166, -0.3478015661239624, -0.19707559049129486, 0.1865006983280182, -0.33916470408439636, 0.4606345295906067, -0.13841089606285095, 0.9041751027107239, -1.0197292566299438, 0.7936829328536987, 0.6022197604179382, -0.4864846467971802, -0.8416299223899841, 0.06396445631980896, -0.1921675056219101, -0.3890729248523712, 0.6782171726226807, -0.06008245423436165, -0.05561516433954239, 0.28143736720085144, -0.9037982225418091, -0.7019571661949158, 1.2041010856628418, 0.10605999082326889, -0.29948684573173523, -0.017547879368066788, 0.4633609354496002, 0.8002891540527344, -0.29597100615501404, 0.24540181457996368, 0.6263320446014404, 0.6481693387031555, 0.2779194414615631, -0.7418563961982727, 0.234074205160141, 0.04550124332308769, 0.17009980976581573, 0.1689818948507309, -0.6822658777236938, 0.7265067100524902, 0.170726016163826, -0.2872854471206665, 0.13163161277770996, 0.8277227282524109, 0.23682329058647156, -0.10327935218811035, 0.483938992023468, 0.378131628036499, 0.7867899537086487, -0.23098060488700867, 0.8803529143333435, -0.35561496019363403, 0.15043219923973083, 0.9277598857879639, -0.458281546831131, 0.44310668110847473, 0.17487287521362305, 0.043890222907066345, 0.7099867463111877, 0.3837108612060547, 0.05351767688989639, 0.4317140281200409, 0.3430606424808502, -0.4080774188041687, -0.35223010182380676, -0.3087116777896881, 0.15798638761043549, 0.47898608446121216, 0.31699010729789734, -0.6356704831123352, -0.21372869610786438, 0.09288221597671509, 0.46232497692108154, 0.24906131625175476, -0.2984541654586792, 0.7611198425292969, -0.17794904112815857, -0.4444563388824463, 0.4105856418609619, 0.1352701038122177, 0.6126174926757812, -0.8851245045661926, -0.025818750262260437, -0.28648898005485535, 0.2518237233161926, -0.2531638741493225, -1.002820611000061, 0.048618949949741364, 0.2326008379459381, -0.03068823553621769, -0.4920694828033447, 0.9256696105003357, -0.7950046062469482, -0.5583713054656982, -0.15997081995010376, 0.24611085653305054, -0.1258280724287033, 0.21824300289154053, -0.38104552030563354, -0.03041989728808403, 0.05905187502503395, -0.5120185613632202, 0.052838779985904694, 0.6717387437820435, -0.35715004801750183, 0.5971578359603882, 0.43935245275497437, 0.4819742441177368, -0.0801938995718956, -0.12818536162376404, 0.9318323731422424, -0.583166241645813, -0.547228217124939, -0.7063462734222412, 0.588924765586853, -0.1995161771774292, -0.033024683594703674, 0.699909508228302, 0.39604994654655457, 0.50089430809021, 0.03961137309670448, 0.9889182448387146, -0.36394256353378296, 0.3037985563278198, -0.556425929069519, 1.118373155593872, -0.4318482577800751, 0.09998437762260437, -0.2671146094799042, -0.6743191480636597, -0.8410881757736206, 0.4321223199367523, -0.31241852045059204, 0.07478294521570206, 0.7663718461990356, 0.9330278635025024, 0.12290197610855103, -0.35388118028640747, 0.3164993226528168, 0.573489785194397, 1.0551191568374634, 0.4027007222175598, 0.515080451965332, -0.05476763844490051, 0.4304564297199249, 0.02693716064095497, -0.3917194604873657, 0.0808556005358696, -1.337160587310791, -0.9759856462478638, -0.33137694001197815, -0.4317062497138977, -0.5579357147216797, -0.21561245620250702, 0.7916693091392517, 0.28535783290863037, -0.801068127155304, -0.013183862902224064, -0.3303350806236267, 0.1436692178249359, -0.058021772652864456, -0.3183697462081909, 0.5693533420562744, -0.31465113162994385, -0.8268005847930908, -0.026806160807609558, 0.2069099396467209, 0.06438801437616348, -0.3242691457271576, -0.029591001570224762, -0.0958053320646286, 0.4032381474971771, 0.7471626996994019, -0.22298729419708252, -0.371320903301239, -0.6794665455818176, -0.05211440101265907, -0.4908733069896698, -0.02836187370121479, 0.9390278458595276, -0.6201246976852417, 0.3417551815509796, 0.7616444230079651, 0.2923666536808014, 0.1387491226196289, 0.09848769009113312, 0.7549504637718201, -0.9363040924072266, 0.002937454031780362, 0.22999462485313416, -0.07388193905353546, 0.2173788994550705, -0.4232802093029022, 0.13633659482002258, 0.08316531032323837, -0.6408590078353882, -0.7769867181777954, 0.6183025240898132, -0.9681227803230286, -0.2594938278198242, 1.4393744468688965, -0.14338193833827972, -0.15536321699619293, 0.3008882403373718, -0.3827773332595825, 0.5852063894271851, -0.27374497056007385, 0.9172044396400452, 0.6285984516143799, -0.26790040731430054, -0.07509048283100128, -0.02124628983438015, 0.6288444399833679, 0.12316569685935974, -1.1270300149917603, 0.23232406377792358, 0.9332864284515381, 0.10272687673568726, -0.08737689256668091, 0.3642493486404419, -0.2056989222764969, -0.0954110398888588, -0.3707355856895447, 0.19646643102169037, -0.11255180090665817, -0.12199398130178452, 0.035800471901893616, 0.03737442195415497, -0.06475253403186798, 0.16893890500068665 ]
http://arxiv.org/abs/2402.11217v1
http://arxiv.org/pdf/2402.11217v1
Asclepius: A Spectrum Evaluation Benchmark for Medical Multi-Modal Large Language Models
2024-02-17T08:04:23
2024-02-17T08:04:23
Wenxuan Wang, Yihang Su, Jingyuan Huan, Jie Liu, Wenting Chen, Yudi Zhang, Cheng-Yi Li, Kao-Jung Chang, Xiaohan Xin, Linlin Shen, Michael R. Lyu
cs.CL
cs.CL, cs.CV
The significant breakthroughs of Medical Multi-Modal Large Language Models (Med-MLLMs) renovate modern healthcare with robust information synthesis and medical decision support. However, these models are often evaluated on benchmarks that are unsuitable for the Med-MLLMs due to the intricate nature of the real-world diagnostic frameworks, which encompass diverse medical specialties and involve complex clinical decisions. Moreover, these benchmarks are susceptible to data leakage, since Med-MLLMs are trained on large assemblies of publicly available data. Thus, an isolated and clinically representative benchmark is highly desirable for credible Med-MLLMs evaluation. To this end, we introduce Asclepius, a novel Med-MLLM benchmark that rigorously and comprehensively assesses model capability in terms of: distinct medical specialties (cardiovascular, gastroenterology, etc.) and different diagnostic capacities (perception, disease analysis, etc.). Grounded in 3 proposed core principles, Asclepius ensures a comprehensive evaluation by encompassing 15 medical specialties, stratifying into 3 main categories and 8 sub-categories of clinical tasks, and exempting from train-validate contamination. We further provide an in-depth analysis of 6 Med-MLLMs and compare them with 5 human specialists, providing insights into their competencies and limitations in various medical contexts. Our work not only advances the understanding of Med-MLLMs' capabilities but also sets a precedent for future evaluations and the safe deployment of these models in clinical environments. We launch and maintain a leaderboard for community assessment of Med-MLLM capabilities (https://asclepius-med.github.io/).
[ -0.518561065196991, -0.3172432780265808, 0.3790484368801117, 0.2794059216976166, -0.08324074000120163, 0.2992968261241913, -0.736184298992157, -0.6479345560073853, -0.026345038786530495, 0.6116642355918884, -0.4242652356624603, -0.5615754127502441, -0.6049544811248779, 0.12882040441036224, -0.2519545257091522, 0.8862777352333069, 0.22244204580783844, 0.5256600379943848, -0.24594371020793915, -0.4398561418056488, -0.23992566764354706, -0.5080872774124146, -0.5071660876274109, -0.245675191283226, 0.5099004507064819, -0.011366753838956356, 0.5681010484695435, 0.2787502408027649, 0.7067338824272156, 0.25560933351516724, -0.08318972587585449, 0.18401917815208435, -0.06348739564418793, 0.1860560178756714, -0.32437676191329956, 0.06454923003911972, -0.5621606707572937, 0.020759442821145058, 0.7900611758232117, 1.1001646518707275, -0.225942924618721, 0.39740797877311707, 0.031100748106837273, 0.8142104744911194, -0.82159024477005, -0.040046293288469315, -0.4192560315132141, -0.14112213253974915, -0.23059332370758057, 0.04543694108724594, -0.38379088044166565, -0.42674851417541504, 0.04630410298705101, -0.5898422002792358, 0.012664222158491611, -0.12655453383922577, 0.6653715968132019, 0.3877454400062561, -0.7303396463394165, -0.2246204912662506, -0.6117899417877197, 0.45533454418182373, -0.4241984784603119, 0.560812771320343, 0.2047838717699051, 0.8537478446960449, -0.008235540241003036, -0.7766961455345154, -0.13085883855819702, -0.4982936382293701, 0.3249518871307373, 0.20597262680530548, -0.16653724014759064, -0.11373045295476913, 0.013255663216114044, 0.23066838085651398, -0.5521916747093201, 0.171182781457901, -0.7266301512718201, -0.1421251893043518, 0.7064592838287354, 0.33470436930656433, 0.09990194439888, -0.06049145758152008, -0.5308411717414856, -0.014350613579154015, -0.7646839022636414, 0.06925319880247116, 0.07795614749193192, 0.07383545488119125, -0.09216546267271042, 0.43437525629997253, -0.06718206405639648, 0.5178573727607727, -0.3417506814002991, 0.20532561838626862, 0.4966078996658325, -0.34669846296310425, -0.21474912762641907, -0.21584205329418182, 0.9243879914283752, 0.30128926038742065, -0.11841551214456558, -0.10618352890014648, 0.04735380783677101, 0.4822351336479187, 0.6214653253555298, -0.7656391263008118, -0.35293105244636536, 0.2573741674423218, -0.6136935949325562, -0.39219391345977783, -0.10488491505384445, -0.7497085332870483, -0.6078532934188843, -0.10705449432134628, 0.218438521027565, -0.59148108959198, -0.43654316663742065, 0.23093119263648987, 0.06247290223836899, -0.4449368417263031, 0.3175397217273712, -0.44304877519607544, 0.6981997489929199, 0.7995957136154175, 0.2793198227882385, -0.45559585094451904, -0.22076751291751862, -0.15701813995838165, 0.016680115833878517, -0.416530042886734, 0.8371567130088806, -0.9422464966773987, -0.37585747241973877, -0.11888082325458527, -0.035033222287893295, -0.20427919924259186, -0.8843000531196594, 0.7943481802940369, -0.18454588949680328, -0.09746305644512177, -0.21262666583061218, -0.5542424917221069, -0.29491549730300903, 0.22345994412899017, -0.5734611749649048, 0.7794597744941711, -0.1568278819322586, -0.3776046633720398, 0.5445815324783325, -0.815050482749939, -0.2830124795436859, 0.09493003040552139, -0.4766239523887634, -0.5164295434951782, 0.20162181556224823, 0.03931117057800293, 0.2905586361885071, -0.7792949676513672, 0.33025991916656494, -0.6242491006851196, 0.008455973118543625, 0.7058771252632141, -0.4390501379966736, 0.8265382647514343, 0.4797877073287964, -0.031355518847703934, 0.4788972735404968, -0.8573983311653137, 0.2734302282333374, -0.14733697474002838, -0.3722086250782013, -0.20814958214759827, 0.06671140342950821, 0.42206403613090515, 0.27560660243034363, 0.10462921857833862, -0.5688881278038025, 0.12154769897460938, -0.10957127064466476, 0.5624991059303284, 0.42940375208854675, 0.02486148662865162, 0.05477983132004738, -0.3512902855873108, 0.5262498259544373, -0.2195347100496292, 0.4745452404022217, 0.036306414753198624, -0.5610978603363037, -0.10444885492324829, -0.9391468167304993, 0.465753436088562, 0.20707295835018158, -0.4285634458065033, 0.5437126755714417, -0.22068703174591064, -0.877663791179657, -0.6668304204940796, -0.1517704427242279, 0.5142324566841125, 0.24818755686283112, 0.2858559489250183, -0.38647112250328064, -0.1946180760860443, -0.9583892822265625, -0.3918561041355133, 0.19714657962322235, -0.17004331946372986, 0.36229652166366577, 0.470234215259552, -0.5518321990966797, 0.29703813791275024, -0.291743665933609, -0.2892712652683258, -0.04305668920278549, -0.12710857391357422, 0.23236651718616486, 0.5616719722747803, 0.34564119577407837, -0.5930589437484741, -0.261472225189209, 0.0559944286942482, -0.6339390873908997, -0.10451425611972809, 0.27876994013786316, 0.23268306255340576, -0.019679170101881027, 0.343189001083374, -0.43175414204597473, 0.17231710255146027, 0.9139072299003601, -0.7724775075912476, 0.7272027134895325, -0.6242012977600098, 0.36228764057159424, -0.735801637172699, 0.6746988892555237, -0.17514674365520477, -0.22336827218532562, -0.49139222502708435, 0.4798923134803772, 0.3662804365158081, -0.4025631844997406, -0.025162655860185623, 0.4411497116088867, -0.45665445923805237, -0.2293877750635147, -0.06411350518465042, -0.04832887649536133, -0.06157732009887695, 0.1313842087984085, -0.07773718982934952, 0.17992161214351654, 0.7073253989219666, -0.4965563118457794, 0.15752024948596954, 0.03644673153758049, -0.41879576444625854, 0.5795319080352783, -0.42641448974609375, -0.17183366417884827, 0.32202327251434326, 0.35880404710769653, -0.7219923138618469, 0.15240848064422607, 0.018953202292323112, -0.5953385829925537, 0.2235809862613678, -0.07897176593542099, -0.7360519766807556, -0.5992000699043274, -0.22984959185123444, 0.6535743474960327, 0.49383991956710815, -0.09980156272649765, 0.47459033131599426, 0.5637514591217041, 0.09146714955568314, -0.4203437268733978, -0.18397071957588196, -0.02820013090968132, -0.11062110215425491, -0.56746506690979, 0.0630149245262146, -0.32960236072540283, -0.18298892676830292, 0.010846336372196674, -0.28001531958580017, -0.2472226917743683, 0.3476364016532898, 0.5858649611473083, 0.49515753984451294, -0.3249737620353699, 0.2500648498535156, 0.05152402073144913, -0.385149210691452, 0.13905982673168182, 0.01578856259584427, 0.40897610783576965, -0.2755865752696991, -0.9017429947853088, -0.2527671754360199, 0.22658929228782654, 1.0089342594146729, -0.5527551174163818, 0.2726101577281952, 0.5311765670776367, -0.5838900208473206, 0.10429324209690094, -0.7233884334564209, -0.23754748702049255, -0.39360764622688293, 0.5349950194358826, -0.3088114857673645, -0.6376755833625793, 0.47878751158714294, -0.18425041437149048, 0.10926546156406403, 0.49487513303756714, 0.7511471509933472, -0.15004891157150269, 0.7771799564361572, 0.12112613022327423, 0.21761545538902283, -0.10248902440071106, 0.0038107167929410934, -0.20633459091186523, -0.9361996650695801, -0.2378312051296234, -0.42810672521591187, -0.2672154903411865, -0.48941770195961, -0.8604487776756287, 0.8512393832206726, -0.14666061103343964, -0.3135099709033966, -0.13377828896045685, -0.6850640177726746, 0.07995544373989105, 0.11448578536510468, 0.2518259882926941, 0.46984946727752686, -0.1304713934659958, -0.1898486316204071, -0.16625837981700897, -0.4476243853569031, -0.36525315046310425, 1.6798160076141357, 0.6263962388038635, 0.5106033086776733, 0.11630749702453613, 0.33514246344566345, 0.19191768765449524, 0.5520708560943604, -0.4532622992992401, 0.3865453600883484, -0.5363050699234009, -1.0987061262130737, -0.1504061371088028, -0.30003926157951355, -1.1970860958099365, 0.602364182472229, -0.7106062173843384, -0.5761615633964539, 0.04047786071896553, 0.02998032234609127, -0.671394407749176, 0.19837425649166107, -0.3022622764110565, 1.0578848123550415, -0.09335703402757645, -0.1834011971950531, -0.7348054051399231, -0.6171148419380188, 0.2453562319278717, -0.20688512921333313, 0.39779970049858093, -0.5659826397895813, -0.589394748210907, 0.5112388730049133, -0.32201337814331055, 0.5984370112419128, -0.14065015316009521, 0.31695130467414856, -0.1262606382369995, 0.16764917969703674, -0.04892384633421898, 0.09394614398479462, 0.005208865273743868, 0.4280388057231903, 0.38515543937683105, -0.3478400707244873, -0.3286850154399872, 0.5809219479560852, -0.7328287363052368, -0.03991840034723282, -0.38664594292640686, -0.4531833529472351, -0.5932242274284363, 0.2347390204668045, 0.2658625543117523, 0.7713816165924072, -0.2436465620994568, 0.35863441228866577, 0.6550881862640381, -0.3600391745567322, 0.11183301359415054, 0.9022901654243469, -0.40729501843452454, -0.5603221654891968, 0.8982823491096497, -0.13451676070690155, 0.2180592566728592, -0.0075334543362259865, 0.2503410279750824, -0.2504345774650574, -0.7877621650695801, -0.596226692199707, 0.25914570689201355, -0.497273325920105, -0.12227948009967804, -0.6942163705825806, -0.1261475682258606, -0.035461995750665665, -0.21376962959766388, -0.9019074440002441, -0.2681944966316223, 0.1957789659500122, 0.40887007117271423, 0.09105449169874191, 0.7320757508277893, 0.09066907316446304, -0.31825435161590576, -0.7974339127540588, 0.22831682860851288, -0.05580541491508484, 0.40580788254737854, -0.1498272716999054, -0.22020362317562103, 0.05814203992486, -0.3223291039466858, -0.28473740816116333, -0.8107873797416687, 0.19684109091758728, 0.028542231768369675, 0.871808648109436, 0.5795449018478394, -0.0195765383541584, 0.39719158411026, -0.5869449377059937, 0.47419899702072144, 0.5083547234535217, -0.8987846374511719, 0.2609114348888397, -0.44805917143821716, 0.1611948162317276, 0.8461982011795044, 0.17212752997875214, -0.4942503869533539, -0.6429885625839233, -0.7710685133934021, -0.8720255494117737, 0.24275736510753632, 0.2659434378147125, -0.3773159384727478, 0.17920738458633423, -0.009761256165802479, 0.2215331345796585, 0.4677220284938812, -0.4982331693172455, -0.348698228597641, 0.10703005641698837, -0.2739933133125305, -0.15121637284755707, -0.03739279881119728, -0.5080834031105042, -0.448338121175766, 0.36106929183006287, -0.06691088527441025, 0.2254657745361328, 0.09732130169868469, -0.01872880756855011, 0.15083491802215576, 0.38064393401145935, 0.7730352878570557, 0.7999634146690369, 0.038194019347429276, 0.2677132189273834, 0.264570027589798, -0.6249469518661499, -0.040312401950359344, 0.24178418517112732, 0.4625300467014313, -0.14115576446056366, 0.4223949909210205, 0.09672839939594269, 0.5480436086654663, -1.078668475151062, 0.7513362765312195, 0.007257948629558086, 0.04058612883090973, -0.42452529072761536, -0.15186123549938202, 0.24200035631656647, 0.42111194133758545, 0.40102460980415344, 0.7543492317199707, 0.32914605736732483, -0.501711905002594, 0.3287620544433594, 0.42279696464538574, -0.59418785572052, -0.3482070863246918, 0.7832401394844055, 0.30377325415611267, 0.10848898440599442, 0.3603930175304413, -0.10591306537389755, -0.2203085571527481, 0.6705809831619263, 0.3986230790615082, 0.650368332862854, -0.4674525856971741, -0.21307802200317383, 0.37510356307029724, 0.35507839918136597, 0.10601212829351425, 0.23057137429714203, 0.002155651105567813, -0.45029789209365845, -0.2575591802597046, -0.4917328357696533, -0.2355170100927353, -0.1485988348722458, -0.9617805480957031, 0.2870258688926697, -0.6893740892410278, -0.4098411202430725, 0.3378269076347351, 0.0024989014491438866, -0.5772016644477844, 0.14097128808498383, 0.3897750675678253, 1.048728585243225, -0.7392001748085022, 1.08599054813385, 0.8356207013130188, -0.057497359812259674, -0.42297226190567017, -0.25853919982910156, 0.08762011677026749, -0.9242863655090332, 0.5844658613204956, 0.0752527266740799, 0.05963704735040665, -0.4750296175479889, 0.030426934361457825, -0.7135547399520874, 0.9582619071006775, 0.4978547990322113, -0.4373847246170044, 0.10551950335502625, -0.21571481227874756, 0.7788218855857849, -0.5366351008415222, 0.25847792625427246, 0.3458598554134369, 0.5048715472221375, 0.022037673741579056, -1.4175108671188354, 0.3430938422679901, -0.46963730454444885, -0.15082603693008423, 0.039432767778635025, -0.46550706028938293, 0.83141028881073, -0.25344231724739075, -0.07820738852024078, 0.18448854982852936, 0.08129990100860596, 0.4792954921722412, 0.42898252606391907, 0.4308985769748688, 0.43618035316467285, 0.8252413272857666, -0.0895695611834526, 1.2112059593200684, -0.6088963150978088, 0.36873680353164673, 0.9043439626693726, -0.2761734127998352, 1.052437663078308, 0.17280088365077972, -0.28670594096183777, 0.34873953461647034, 0.48325636982917786, -0.18698595464229584, 0.37802332639694214, 0.22047610580921173, -0.31616678833961487, -0.4874687194824219, 0.17014263570308685, -0.7692850232124329, 0.3167744576931, 0.565584123134613, -0.4587782919406891, -0.05587898567318916, 0.16471002995967865, -0.011397745460271835, 0.12157141417264938, -0.4402051568031311, 0.5852242112159729, -0.04139295592904091, -0.39942559599876404, 0.7105736136436462, -0.19584010541439056, 0.32672804594039917, -0.684593915939331, 0.2872737944126129, 0.37583285570144653, 0.4646591544151306, -0.32353097200393677, -0.532306969165802, 0.4329126477241516, -0.28099963068962097, -0.03156202659010887, 0.09339589625597, 0.5424226522445679, -0.22733663022518158, -0.6804417967796326, 0.39173591136932373, 0.24284125864505768, 0.0768686980009079, -0.23694536089897156, -0.7862356305122375, 0.3928719460964203, -0.2840808928012848, 0.12505468726158142, 0.19224897027015686, 0.1663200408220291, 0.05001422017812729, 0.9635586738586426, 0.5856373906135559, 0.35608038306236267, -0.1017007827758789, -0.12999221682548523, 0.9515901803970337, -0.4895767569541931, -0.46981126070022583, -0.7955220937728882, 0.5482729077339172, -0.17845690250396729, -0.40975040197372437, 0.6749666333198547, 0.9300714731216431, 0.29447653889656067, 0.032635148614645004, 0.5903520584106445, 0.20042434334754944, 0.6043890118598938, -0.19018077850341797, 1.1647841930389404, -0.6895396113395691, 0.2772623896598816, -0.21676120162010193, -0.5716866850852966, -0.3228049576282501, 0.41874030232429504, -0.3778359293937683, -0.1531103551387787, 0.988307774066925, 0.2905041575431824, -0.016488557681441307, 0.13018301129341125, 0.5532359480857849, 0.21618977189064026, 0.16223439574241638, 0.7001599073410034, 0.9083644151687622, -0.15128932893276215, 0.4046088457107544, 0.15628385543823242, -0.40031495690345764, -0.29440441727638245, -0.4084407687187195, -0.9482677578926086, -0.6384562849998474, -0.42127248644828796, -0.34087520837783813, 0.1003403589129448, 1.1088535785675049, 0.8757909536361694, -0.7328215837478638, -0.2853127419948578, 0.3335302174091339, -0.12536101043224335, -0.5582388043403625, -0.08337542414665222, 0.3156697750091553, -0.1016099750995636, -0.284381628036499, 0.5460518002510071, 0.5305359959602356, -0.3798941671848297, -0.4281793236732483, 0.18877474963665009, 0.3753134310245514, -0.06296124309301376, 0.5509901642799377, 0.1522769033908844, -0.8403157591819763, -0.02318563684821129, -0.3745945692062378, -0.31417039036750793, 0.09852442890405655, 1.080922245979309, -0.6251468062400818, 0.6271864175796509, -0.024945683777332306, 0.6474739909172058, 0.4282519221305847, -0.48876115679740906, 0.43967190384864807, -0.11109654605388641, 0.04346388578414917, 0.65633225440979, 0.4263855814933777, 0.09677640348672867, 0.12044369429349899, 0.4261700510978699, 0.2098848968744278, -0.4065701961517334, -1.0485931634902954, 0.10298850387334824, -1.130584478378296, -0.5994406342506409, 1.1393972635269165, -0.23785369098186493, 0.006809467915445566, -0.3782193064689636, -0.019546909257769585, -0.11689013987779617, -0.29605767130851746, 0.6749057173728943, 0.19003312289714813, -0.1751670241355896, 0.26881876587867737, -0.8736270666122437, 0.5814371705055237, 0.3691766858100891, -0.8740781545639038, 0.10954748839139938, 0.5025967955589294, 0.7365899085998535, 0.16447672247886658, 0.7146754264831543, -0.5059691667556763, 0.5410986542701721, 0.05613322928547859, 0.2947583496570587, -0.2468339502811432, -0.20001749694347382, -0.39690738916397095, 0.5459803938865662, 0.03734787553548813, -0.17950305342674255 ]
http://arxiv.org/abs/2402.11208v1
http://arxiv.org/pdf/2402.11208v1
Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents
2024-02-17T06:48:45
2024-02-17T06:48:45
Wenkai Yang, Xiaohan Bi, Yankai Lin, Sishuo Chen, Jie Zhou, Xu Sun
cs.CR
cs.CR, cs.AI, cs.CL
Leveraging the rapid development of Large Language Models LLMs, LLM-based agents have been developed to handle various real-world applications, including finance, healthcare, and shopping, etc. It is crucial to ensure the reliability and security of LLM-based agents during applications. However, the safety issues of LLM-based agents are currently under-explored. In this work, we take the first step to investigate one of the typical safety threats, backdoor attack, to LLM-based agents. We first formulate a general framework of agent backdoor attacks, then we present a thorough analysis on the different forms of agent backdoor attacks. Specifically, from the perspective of the final attacking outcomes, the attacker can either choose to manipulate the final output distribution, or only introduce malicious behavior in the intermediate reasoning process, while keeping the final output correct. Furthermore, the former category can be divided into two subcategories based on trigger locations: the backdoor trigger can be hidden either in the user query or in an intermediate observation returned by the external environment. We propose the corresponding data poisoning mechanisms to implement the above variations of agent backdoor attacks on two typical agent tasks, web shopping and tool utilization. Extensive experiments show that LLM-based agents suffer severely from backdoor attacks, indicating an urgent need for further research on the development of defenses against backdoor attacks on LLM-based agents. Warning: This paper may contain biased content.
[ -0.16978669166564941, -0.8348695635795593, 0.5889531373977661, -0.17624011635780334, 0.17350491881370544, 0.12002125382423401, 0.26272594928741455, -0.7330175042152405, -0.035522595047950745, 0.9988013505935669, -0.674200177192688, -0.7279170751571655, -0.3022598624229431, -0.0656624287366867, -0.4597298800945282, 0.8403522372245789, 0.19184690713882446, -0.038653045892715454, -0.1474132090806961, 0.3044604957103729, -0.46760061383247375, -0.8563860654830933, -0.6597518920898438, -0.2285580039024353, 0.882929265499115, 0.3650137782096863, 0.8330612778663635, 0.26635417342185974, 0.5051696300506592, 0.3770180642604828, 0.29880329966545105, -0.27096906304359436, -0.4875141382217407, 0.4579825699329376, -0.3740319311618805, -0.5495398640632629, -0.6525119543075562, 0.05251958221197128, 0.034655649214982986, 0.08961053192615509, -0.011575124226510525, 0.13640300929546356, -0.1571057289838791, 0.573651909828186, -0.7064871788024902, -0.1402014195919037, -0.7371699810028076, 0.07278089970350266, -0.17216326296329498, -0.4598623812198639, -0.6732235550880432, -0.383327841758728, -0.27405884861946106, -0.14860481023788452, 0.11496936529874802, 0.03719532862305641, 0.5415924191474915, 0.37673163414001465, -0.489762544631958, -0.31687185168266296, -0.41398900747299194, 0.38142290711402893, -0.45479002594947815, 0.2052692472934723, 0.40165793895721436, 0.5136864185333252, -0.5489199757575989, -0.5195381045341492, -0.37310776114463806, -0.37710005044937134, -0.10999027639627457, 0.11252281069755554, -0.4127776622772217, 0.04967175051569939, 0.09093505889177322, 0.09593315422534943, -0.7135018110275269, 0.3617790937423706, 0.053963396698236465, -0.3472551107406616, 0.8497729897499084, 0.425763875246048, 0.4172433316707611, 0.2430519312620163, -0.40857335925102234, -0.1904689222574234, -1.1071306467056274, -0.1597747802734375, 0.7599768042564392, 0.2256852686405182, -0.07976236939430237, 0.709520161151886, -0.033243052661418915, 0.2450106292963028, -0.06462816894054413, 0.12517790496349335, -0.1243031769990921, -0.28599780797958374, -0.10224206745624542, -0.044409915804862976, 0.4765726923942566, 0.4607105851173401, 0.17081335186958313, -0.464805543422699, -0.4286448359489441, -0.19620633125305176, 0.5427529811859131, -0.49106839299201965, 0.2707260847091675, 0.5481310486793518, -0.28491175174713135, -0.8269335627555847, -0.057904232293367386, -0.7701050043106079, -0.5110700726509094, 0.5300647020339966, 0.4429001212120056, -0.06772737205028534, -0.06509895622730255, -0.2965763807296753, 0.011398610658943653, 0.5861109495162964, 0.22085221111774445, -0.596811830997467, 0.46427810192108154, 0.9321145415306091, 0.573274552822113, -0.13619381189346313, -0.45344051718711853, -0.6149680018424988, 0.5292080044746399, -0.28279703855514526, 0.7006645202636719, -0.2791641354560852, -0.6266880035400391, 0.26784583926200867, 0.1103048250079155, 0.06434803456068039, -0.5504227876663208, 0.09620800614356995, -0.9080901145935059, 0.014357779175043106, -0.06077132001519203, -0.18796256184577942, -0.17677392065525055, 0.6416512131690979, -0.6037656664848328, 0.5996188521385193, -0.08340737223625183, -0.7733590006828308, -0.03913411125540733, -0.42342421412467957, -0.4578935205936432, -0.05464598163962364, -0.110401451587677, -0.2625117599964142, -0.02432982623577118, -0.08068756759166718, 0.38878965377807617, -0.11764821410179138, -0.31648969650268555, -0.38342413306236267, -0.3061721920967102, 0.7612046599388123, -0.47169971466064453, 0.6583232283592224, 0.09042156487703323, -0.2291494607925415, 0.17929108440876007, -0.4731954336166382, -0.045771386474370956, 0.1553228795528412, -0.10370675474405289, -0.10333771258592606, -0.14498744904994965, -0.20258723199367523, 0.2352394312620163, 0.5474021434783936, -0.5254495143890381, 0.1228490024805069, -0.4411216378211975, -0.0064026969484984875, 0.9769608974456787, 0.3730708360671997, 0.3400863707065582, -0.4375547468662262, 0.7676838636398315, 0.06246974691748619, 0.5486101508140564, -0.0633741244673729, -0.41468968987464905, -0.20665711164474487, -0.079926997423172, -0.13235650956630707, 0.8039464950561523, -0.7407276034355164, 0.3049044609069824, 0.378353476524353, -0.5986489057540894, -0.05621836334466934, -0.12555691599845886, 0.4629182815551758, 0.3688775897026062, -0.022976672276854515, -0.09843643009662628, -0.008121845312416553, -0.5746862888336182, -0.4522646367549896, -0.20947706699371338, 0.06847678869962692, 0.31498780846595764, 0.664269208908081, -0.7410262823104858, 0.844737708568573, -0.6111735105514526, -0.1976173222064972, -0.14392155408859253, -0.48532846570014954, 0.06976235657930374, 0.5526520609855652, 0.6389626860618591, -0.5494264960289001, -0.20925529301166534, -0.041302941739559174, -0.743846595287323, -0.13500221073627472, -0.0005506623419933021, -0.2375393807888031, 0.4354586601257324, 0.5153270959854126, -0.9013743996620178, 0.7006219029426575, 0.39230579137802124, -0.32371267676353455, 0.5431298017501831, -0.018530365079641342, -0.35740426182746887, -0.9491556286811829, -0.11562124639749527, -0.21345973014831543, -0.2413518875837326, -0.6921874284744263, 0.3050680458545685, -0.18263322114944458, -0.3909432590007782, -0.6429247260093689, 0.619061291217804, -0.17920349538326263, -0.39392587542533875, -0.25195854902267456, -0.11498260498046875, 0.016788672655820847, 0.40631747245788574, -0.261472225189209, 0.8310528993606567, 0.604620099067688, -0.3528284728527069, 0.6833680272102356, -0.04822701960802078, 0.23981286585330963, 0.17136694490909576, -0.44942134618759155, 0.5422810316085815, 0.22665953636169434, 0.3735128939151764, -0.8007704615592957, -0.16673122346401215, 1.0094784498214722, -0.6856454014778137, 0.5139210820198059, -0.10907813906669617, -0.5626739859580994, 0.0020536945667117834, -0.6980444192886353, 0.05778069049119949, 0.16741520166397095, -0.490407794713974, 0.6430838704109192, 0.31205102801322937, -0.10036477446556091, -0.7889940142631531, -0.7287237644195557, 0.1703399270772934, -0.3710954785346985, -0.8144742846488953, -0.20348304510116577, -0.08045351505279541, -0.6295315623283386, -0.060745496302843094, -0.27274852991104126, -0.05056053400039673, 0.47356438636779785, 0.48850157856941223, 0.13662956655025482, -0.0938025638461113, -0.1569489687681198, -0.16162383556365967, -0.4167320132255554, 0.4672747254371643, -0.1472494900226593, 0.43425461649894714, -0.0025283382274210453, -0.723284125328064, -0.3657245337963104, 0.7108938097953796, 0.4844881594181061, 0.018706096336245537, 0.7925585508346558, 0.20976218581199646, -0.2987997233867645, -0.19136230647563934, -0.4736930727958679, -0.5660753846168518, -0.5758243799209595, 0.3338244557380676, -0.33572372794151306, -0.33519354462623596, 0.576252281665802, 0.10786785185337067, 0.004052625969052315, 0.09558402001857758, 0.6130882501602173, -0.07541237771511078, 0.8672872185707092, 0.7596691250801086, -0.11609309911727905, 0.2739062011241913, -0.2147219330072403, 0.0072998846881091595, -0.41438165307044983, -0.4141418933868408, -0.4191359877586365, 0.1273568868637085, -0.8190546631813049, -0.11779668182134628, 0.1516389399766922, -0.43468406796455383, -0.07798568904399872, 0.1407758891582489, 0.056166887283325195, 0.43405982851982117, 0.3863961398601532, 0.1473892480134964, 0.3131648004055023, -0.1737867146730423, -0.007370998151600361, 0.3509446084499359, -0.5044234395027161, -0.5707753300666809, 1.1823415756225586, 0.5851216912269592, 1.306613802909851, 0.29703691601753235, 1.004241704940796, 0.608880341053009, 0.287192702293396, -0.6415245532989502, 0.6840947270393372, 0.28623679280281067, -0.7033327221870422, -0.301076740026474, -0.23494307696819305, -1.0719290971755981, 0.31942018866539, 0.2589702010154724, -0.7872498631477356, 0.14637809991836548, -0.006325070280581713, -0.07346838712692261, 0.1871575564146042, -0.7195805907249451, 0.8487566709518433, -0.5937128663063049, -0.537555992603302, -0.13213668763637543, -0.7499644160270691, 0.21158742904663086, -0.2684311270713806, 0.16398285329341888, -0.07578862458467484, -0.05642038211226463, 0.23961617052555084, -0.6527009606361389, 1.0844236612319946, -0.044675108045339584, -0.4774860441684723, 0.19660642743110657, 0.2430385947227478, 0.6836066246032715, 0.34647446870803833, 0.041950251907110214, 0.3460463881492615, -0.037298042327165604, -0.4768786132335663, -0.4581799805164337, 0.6082466244697571, -0.612417995929718, -1.057307243347168, -0.7638014554977417, -0.4048808515071869, -0.20968101918697357, 0.1811182200908661, 0.38236314058303833, 0.16382364928722382, -0.009979123249650002, -0.2322821021080017, 0.3013708293437958, -0.31301605701446533, 0.45849111676216125, 0.8137988448143005, -0.1046057641506195, -0.11355579644441605, 0.889228105545044, -0.058172836899757385, 0.38775214552879333, 0.42605507373809814, 0.19999447464942932, -0.2720385491847992, -0.6953308582305908, -0.21959160268306732, 0.2784712016582489, -0.8023524284362793, -0.3079671263694763, -0.2824475169181824, -0.19599390029907227, -0.7439073920249939, -0.018370797857642174, -0.3406440317630768, 0.06755875051021576, -0.2925024628639221, -0.05828071013092995, 0.38012897968292236, 0.7845467329025269, -0.19416086375713348, 0.4144786298274994, -0.812684953212738, 0.08924029767513275, 0.3457491099834442, 0.09111511707305908, -0.04705067723989487, -0.011231793090701103, -0.4283493459224701, -0.15840692818164825, -0.43096575140953064, -1.197928786277771, 0.5641531944274902, -0.4337838590145111, 0.72966468334198, 0.48758313059806824, 0.28089722990989685, -0.045609936118125916, -0.24420464038848877, 0.5942099094390869, -0.11898822337388992, -0.6029425859451294, 0.4474926292896271, -0.29859182238578796, -0.26610684394836426, 0.28219062089920044, 0.2009260058403015, -0.37437427043914795, -0.5765859484672546, -0.5143571496009827, -0.8993701338768005, 0.48082152009010315, 0.2491265833377838, 0.016840416938066483, 0.11087547987699509, 0.2033412754535675, 0.1898135095834732, 0.47351473569869995, -0.5731292963027954, -0.13845191895961761, -0.04954329505562782, 0.218096524477005, 0.01833074726164341, -0.21983861923217773, -0.3153534531593323, 0.4650728404521942, 0.5973506569862366, 0.011866231448948383, 0.0024022057186812162, 0.11426209658384323, -0.27198541164398193, -0.2555427551269531, 0.2844402492046356, 0.45968908071517944, 0.40136393904685974, -0.19234001636505127, 0.2116824984550476, 0.10546675324440002, -0.7106202244758606, 0.09164287149906158, 0.09887009859085083, -0.1264367699623108, -0.33406445384025574, 0.40842974185943604, -0.013107524253427982, -0.09321065247058868, -0.6993638277053833, 0.5497415065765381, -0.2601391077041626, 0.3904891610145569, -0.7426866888999939, 0.03682345896959305, -0.2399977147579193, 0.6669520139694214, 0.31243252754211426, -0.18741123378276825, 0.13796083629131317, -0.8298174738883972, 0.19104638695716858, 0.6012628078460693, -0.26646387577056885, -0.35052257776260376, 0.21780100464820862, 0.3003627359867096, -0.4587516188621521, 0.4067176580429077, 0.08893139660358429, -0.6404388546943665, 0.823829710483551, 0.5999047756195068, 1.213087558746338, -0.31468066573143005, -0.14823153614997864, -0.6408941745758057, 0.7044724225997925, 0.4033780097961426, 0.31007951498031616, -0.0024515644181519747, -0.8815436363220215, 0.07763342559337616, -0.17899742722511292, -0.8443835973739624, 0.16663628816604614, -0.4059601128101349, -0.017417415976524353, -0.4909214675426483, -0.14890645444393158, -0.4577057957649231, 0.11403650045394897, -0.18555502593517303, 0.04289914295077324, 0.27599748969078064, 0.7788985967636108, -0.6380447149276733, 0.7631472945213318, 0.48884809017181396, -0.3618098795413971, -0.3772895932197571, 0.45895665884017944, 0.2217429131269455, -0.846934974193573, 0.6247943639755249, 0.1811070591211319, -0.5776850581169128, -0.24979129433631897, -0.6641244888305664, -0.5974816679954529, 0.9995055198669434, 0.30339425802230835, -0.26516270637512207, -0.01824568584561348, 0.2592918276786804, 0.323080450296402, -0.2985324561595917, -0.07512513548135757, 0.5508771538734436, 0.4623441994190216, -0.034387681633234024, -0.360578328371048, 0.1939319521188736, -0.18145567178726196, -0.3646121323108673, 0.023186886683106422, -0.6849488019943237, 0.8817111849784851, -0.1789141148328781, -0.1276485174894333, 0.11794649064540863, 0.2665434777736664, 0.3909950852394104, 1.020363450050354, 0.16119995713233948, 0.36710959672927856, 0.42068368196487427, 0.1885461062192917, 1.0398012399673462, -0.2259000986814499, 0.10256285220384598, 0.9533289670944214, -0.6672214865684509, 0.5194668173789978, 0.45650964975357056, 0.0864700898528099, 0.13490106165409088, 0.6581217050552368, -0.2521345019340515, 0.3065313994884491, 0.31159070134162903, -0.2459813952445984, 0.0743088647723198, 0.05942597612738609, -0.5843497514724731, 0.38528192043304443, 0.43000277876853943, -0.11317665129899979, -0.15991994738578796, 0.036803264170885086, 0.23532085120677948, -0.07034354656934738, -0.34042054414749146, 0.6897658109664917, 0.16708378493785858, -0.1229894831776619, 0.0655556470155716, -0.007133585400879383, 0.4042699635028839, -0.5948880910873413, 0.1168091893196106, -0.3545517027378082, 0.25256112217903137, -0.32890498638153076, -0.7761018872261047, 0.2824314832687378, 0.02565334364771843, 0.08863567560911179, -0.11799994111061096, 0.9657028913497925, -0.012727553024888039, -0.034053537994623184, 0.6696018576622009, 0.448652982711792, 0.3612857460975647, -0.39360108971595764, -0.5197163224220276, 0.03787386044859886, -0.38360053300857544, -0.4673630893230438, 0.522117018699646, 0.2714344263076782, -0.09796183556318283, 0.9041324853897095, 0.7868552207946777, 0.15702907741069794, 0.14264680445194244, 0.033551350235939026, 0.9620038270950317, -0.9119001626968384, -0.6752264499664307, -1.0989203453063965, 0.10208375006914139, -0.027904877439141273, 0.2475472241640091, 0.992609441280365, 0.5876258015632629, 0.6362391114234924, -0.03530789166688919, 0.6473444700241089, 0.5229185223579407, 0.3457961082458496, -0.628716230392456, 1.0408563613891602, -0.4077887535095215, 0.6222386956214905, -0.27918165922164917, -0.5391435027122498, -0.014520649798214436, -0.17824816703796387, -0.327906996011734, 0.13491451740264893, 0.6087372899055481, 0.9996110200881958, 0.46492138504981995, -0.15440577268600464, 0.40771040320396423, 0.2759780287742615, 0.5289163589477539, 0.41422292590141296, 1.2633947134017944, -0.08486904948949814, 0.7409213781356812, -0.2362988144159317, -0.02593463473021984, -0.4840780794620514, -0.6030916571617126, -1.0290648937225342, 0.021274225786328316, -0.1419541984796524, -0.6154899597167969, 0.371982216835022, 0.45577406883239746, 0.35356152057647705, -0.6245167851448059, -0.3411813974380493, 0.11101635545492172, 0.6754847168922424, -0.0011689170496538281, -0.19065438210964203, 0.02925202064216137, -0.10514257848262787, -0.2981747090816498, 0.4563431739807129, 0.27454113960266113, 0.15432195365428925, -0.4298730194568634, 0.019639331847429276, -0.029280444607138634, 0.19226466119289398, 0.25571802258491516, 0.4928411543369293, -0.5462790131568909, -0.39398708939552307, -0.1804783195257187, -0.3735767602920532, -0.20393410325050354, 0.6587503552436829, -0.553580105304718, 0.013369652442634106, 0.4323790371417999, 0.47457054257392883, 0.21346759796142578, -0.012668320909142494, 0.6635498404502869, -0.8131377696990967, 0.32811036705970764, 0.36691319942474365, 0.1821807622909546, 0.11727917939424515, -0.9725678563117981, 0.49248597025871277, 0.23171618580818176, -0.4436275362968445, -0.9970730543136597, 0.7641470432281494, -0.7542217373847961, -0.4511018693447113, 1.0253381729125977, -0.09754537791013718, -0.6184231042861938, -0.30838727951049805, -0.1449381411075592, 0.1652836948633194, -0.5771660804748535, 0.6821317672729492, 0.23491135239601135, -0.26303836703300476, 0.05965489521622658, -0.4918915927410126, 0.338308185338974, -0.19156070053577423, -0.9488772749900818, 0.014046530239284039, 0.25858595967292786, 0.2895529568195343, 0.09937240183353424, 0.2866019606590271, -0.1356775462627411, 0.41664448380470276, 0.269533634185791, -0.13060921430587769, -0.1963859498500824, -0.3375314772129059, -0.5309765934944153, 0.2635694444179535, 0.028950201347470284, -0.6152721643447876 ]
http://arxiv.org/abs/2402.12399v2
http://arxiv.org/pdf/2402.12399v2
Turn Waste into Worth: Rectifying Top-$k$ Router of MoE
2024-02-17T06:23:27
2024-02-21T13:33:12
Zhiyuan Zeng, Qipeng Guo, Zhaoye Fei, Zhangyue Yin, Yunhua Zhou, Linyang Li, Tianxiang Sun, Hang Yan, Dahua Lin, Xipeng Qiu
cs.LG
cs.LG, cs.AI, cs.CL
Sparse Mixture of Experts (MoE) models are popular for training large language models due to their computational efficiency. However, the commonly used top-$k$ routing mechanism suffers from redundancy computation and memory costs due to the unbalanced routing. Some experts are overflow, where the exceeding tokens are dropped. While some experts are vacant, which are padded with zeros, negatively impacting model performance. To address the dropped tokens and padding, we propose the Rectify-Router, comprising the Intra-GPU Rectification and the Fill-in Rectification. The Intra-GPU Rectification handles dropped tokens, efficiently routing them to experts within the GPU where they are located to avoid inter-GPU communication. The Fill-in Rectification addresses padding by replacing padding tokens with the tokens that have high routing scores. Our experimental results demonstrate that the Intra-GPU Rectification and the Fill-in Rectification effectively handle dropped tokens and padding, respectively. Furthermore, the combination of them achieves superior performance, surpassing the accuracy of the vanilla top-1 router by 4.7%.
[ -0.64625483751297, -0.737953245639801, 0.2284982055425644, -0.18960002064704895, -0.48097994923591614, 0.1918523609638214, -0.21855613589286804, -0.08099784702062607, 0.17566369473934174, 0.4007139801979065, -0.3992413878440857, 0.09780609607696533, -0.6956436038017273, -0.31017905473709106, -0.44371429085731506, 0.9997929334640503, 0.3050110340118408, -0.10225924104452133, -0.2651841938495636, -0.12144724279642105, -0.8627673387527466, -0.26647961139678955, -0.8291809558868408, -0.5460053086280823, 0.5192345976829529, 0.49759578704833984, 0.6699631810188293, 0.6395362019538879, 0.23124626278877258, 0.4505467414855957, -0.1495448499917984, 0.25926247239112854, -1.0739206075668335, -0.07977336645126343, -0.24687737226486206, -0.34960755705833435, -0.50908362865448, -0.33722254633903503, 0.45786190032958984, 0.6674045920372009, -0.5640137195587158, -0.170399472117424, -0.051144395023584366, 0.8495210409164429, -0.8947371244430542, -0.050452448427677155, -0.8638269901275635, -0.07521174103021622, -0.48250362277030945, -0.433898001909256, -0.43130069971084595, -0.2065039426088333, -0.1327938586473465, -0.7082921862602234, 0.4350798428058624, 0.17602896690368652, 0.847102165222168, 0.5711386799812317, -0.11335346102714539, 0.1910059005022049, -0.7286641597747803, 0.8687517046928406, -0.710960865020752, 0.6388915181159973, 0.3826172351837158, 0.31628575921058655, -0.05359305441379547, -0.28440314531326294, -0.40219321846961975, 0.33575767278671265, -0.14278797805309296, -0.009237272664904594, -0.4405638873577118, 0.05114690586924553, 0.009403065778315067, 0.8020836710929871, -0.14018210768699646, -0.06229023635387421, -0.6903589367866516, 0.027327487245202065, 0.6820940971374512, 0.14720895886421204, 0.2969419062137604, 0.41271159052848816, -0.2564222514629364, 0.0857999324798584, -0.9282549023628235, -0.16114550828933716, 0.27365320920944214, 0.1748528778553009, 0.32662439346313477, 0.29750779271125793, -0.290365070104599, 0.5566967129707336, 0.5893248915672302, -0.2113747000694275, 0.26075848937034607, 0.0777546688914299, -0.30507364869117737, 0.06790222972631454, 0.24473540484905243, 0.29305946826934814, 0.3175753653049469, -0.5983753800392151, -0.25885674357414246, -0.5686989426612854, 0.75201416015625, -0.8515511155128479, -0.6783192157745361, 0.05317216366529465, -0.2628224194049835, -0.12843957543373108, -0.3845643401145935, -0.6610362529754639, -0.22697259485721588, -0.3402087390422821, 0.5478792786598206, -0.3807066082954407, -0.9135227203369141, 0.19293171167373657, -0.02102844975888729, 0.027058271691203117, 0.4612806439399719, -1.1588002443313599, 0.3261307179927826, 0.9595993161201477, 0.9004526734352112, 0.000584215740673244, 0.11831681430339813, -0.4668966829776764, 0.05032383278012276, -0.45212921500205994, 0.7017410397529602, -0.3550114333629608, -0.6696276664733887, -0.17493173480033875, -0.35650089383125305, -0.24601280689239502, -0.7595484256744385, 0.48473531007766724, -0.697796642780304, 0.08381103724241257, -0.5282086730003357, -0.5437176823616028, -0.44447192549705505, 0.28518185019493103, -0.5982828140258789, 1.0453108549118042, 0.1878400593996048, -0.9182024598121643, 0.2660699188709259, -0.4868878424167633, -0.31992819905281067, 0.3923075497150421, 0.04438158497214317, -0.3504183292388916, 0.2319120615720749, 0.2513856291770935, 0.28703585267066956, -0.10977958142757416, 0.22705979645252228, -0.1362520009279251, -0.4571426212787628, -0.05145023390650749, -0.46858522295951843, 0.6805664896965027, 0.32117927074432373, -0.15865708887577057, 0.11448007076978683, -0.9805065393447876, -0.005699046887457371, -0.09557130187749863, -0.35696423053741455, -0.5996370911598206, -0.01923578605055809, 0.05627405643463135, 0.046254705637693405, -0.007634685840457678, -0.8445910811424255, 0.17762774229049683, -0.5389921069145203, 0.7184588313102722, 1.098448395729065, -0.163919597864151, 0.43792733550071716, -0.3408665359020233, 0.21687538921833038, -0.04955758526921272, -0.03329555317759514, -0.0011529931798577309, -0.7484737634658813, -1.1145051717758179, -0.5737515091896057, 0.12608575820922852, 0.460962176322937, -0.7097163200378418, 0.06954068690538406, -0.4884478747844696, -0.5533664226531982, -0.8489395380020142, 0.06953881680965424, 0.5500296354293823, 0.8407090902328491, 0.4435725510120392, -0.2551210820674896, -0.08016672730445862, -0.7684922814369202, -0.0952535942196846, -0.10369895398616791, -0.03491054102778435, 0.37370121479034424, 0.09936363995075226, 0.03295290842652321, 1.016466498374939, -0.5651469826698303, -0.19190028309822083, -0.018617060035467148, 0.046380095183849335, 0.10669384896755219, 0.8539848327636719, 0.4502004086971283, -0.6381590962409973, -0.3057458698749542, 0.12463245540857315, -0.2734387218952179, 0.0329151451587677, 0.22110220789909363, -0.3864234983921051, 0.13567772507667542, 0.3889886140823364, -0.8530824184417725, 0.3666425347328186, 0.20622952282428741, -0.037349555641412735, 0.0837242379784584, -0.2166205197572708, 0.30039119720458984, -0.9127864241600037, 0.18068170547485352, -0.2621811628341675, -0.17879265546798706, -0.4796493649482727, 0.3140919804573059, -0.23822027444839478, -0.28409814834594727, -0.12941990792751312, 0.7526558041572571, -0.16493366658687592, 0.07763118296861649, -0.2706436216831207, -0.2890295684337616, -0.03750212863087654, 0.6085003018379211, -0.1574963629245758, 0.9018231630325317, 0.277176171541214, -0.5074684619903564, 0.24765516817569733, -0.043220072984695435, -0.13132719695568085, 0.6091654300689697, -0.5760161876678467, 0.29057303071022034, -0.25130948424339294, -0.17220951616764069, -1.5036793947219849, -0.207167387008667, 0.3609357178211212, -0.4998807907104492, 0.6075456738471985, -0.45300477743148804, -0.28213533759117126, -0.20420826971530914, -0.02649734728038311, 0.8314216136932373, 0.7535524964332581, -0.5778732895851135, 0.6455515623092651, 0.5488302111625671, -0.5760464072227478, -0.726145327091217, -0.8298046588897705, -0.0567648820579052, -0.027159206569194794, -0.58348548412323, 0.3247251510620117, -0.12620340287685394, 0.1524183601140976, 0.1172250509262085, 0.019161060452461243, -0.33204418420791626, 0.08882395178079605, 0.17695832252502441, -0.05143597349524498, -0.27922582626342773, 0.13656118512153625, 0.1607719510793686, -0.528143584728241, -0.03861713036894798, -0.2009260505437851, 0.638617753982544, 0.003513815812766552, -0.6574346423149109, -0.4808109402656555, 0.4553775489330292, 0.7549800872802734, -0.20576688647270203, 0.7316891551017761, 0.5670000314712524, -0.6003828048706055, 0.23543398082256317, -1.038805365562439, -0.12528683245182037, -0.518272876739502, 0.421332985162735, -0.43930020928382874, -0.7389676570892334, 0.4860687255859375, -0.03874758258461952, 0.5216885209083557, 0.41058602929115295, 0.49832311272621155, 0.060106586664915085, 0.7809005379676819, 0.6924758553504944, -0.343738317489624, 0.26422134041786194, -0.279414564371109, 0.6992319226264954, -0.6667711138725281, -0.4364630877971649, -0.4158359467983246, -0.39183974266052246, -0.3174757957458496, -0.3434489369392395, 0.2773955464363098, 0.31000375747680664, -0.33783602714538574, -0.08969748020172119, -0.5614733695983887, 0.4899047017097473, 0.7710150480270386, 0.21673382818698883, 0.20284472405910492, 0.18334054946899414, -0.12017639726400375, -0.056310899555683136, -1.1005792617797852, -0.13996362686157227, 0.8800223469734192, 0.36605995893478394, 0.8074207305908203, -0.019350826740264893, 0.5363816618919373, 0.23781344294548035, 0.6313174366950989, -0.5425876379013062, 0.5097031593322754, -0.12529349327087402, -0.47634145617485046, -0.374231219291687, -0.4404728412628174, -0.6866466999053955, 0.45473772287368774, -0.1818356215953827, -0.5039434432983398, 0.25272712111473083, 0.6381837129592896, -0.4725012183189392, 1.1268786191940308, -0.4542202949523926, 0.5843728184700012, 0.08574411273002625, -0.29360634088516235, -0.5160461068153381, -0.08065761625766754, 0.42950573563575745, 0.1143740564584732, 0.24013198912143707, 0.14182792603969574, 0.03599128499627113, 0.36866050958633423, -0.8081974983215332, 0.6382554173469543, -0.25458812713623047, -0.28543686866760254, 0.06263159215450287, 0.16310162842273712, 0.39621108770370483, -0.23421268165111542, -0.005509547423571348, 0.3547382652759552, -0.6812257766723633, -0.626467764377594, -0.4855784773826599, 0.8737261295318604, -0.940784215927124, -0.5692426562309265, 0.025679059326648712, -0.4791242182254791, -0.022433528676629066, 0.13791975378990173, 0.4406947195529938, 0.6711965203285217, 0.24449479579925537, 0.16160181164741516, 0.8922399878501892, -0.1501733958721161, 0.3712159991264343, 0.23803666234016418, 0.07040051370859146, -0.8763910531997681, 1.106286644935608, 0.27578017115592957, 0.1983308047056198, 0.34800586104393005, -0.03412345051765442, -0.10852157324552536, -0.7254627346992493, -1.0500082969665527, -0.057014767080545425, -0.4276442527770996, -0.3944445252418518, -0.7022538185119629, -0.3702445924282074, -0.078620046377182, -0.4531268775463104, -0.9324666261672974, -0.43577080965042114, -0.20940092206001282, -0.2555103003978729, 0.46705886721611023, 0.5125145316123962, -0.08815055340528488, 0.5853464007377625, -0.7371099591255188, 0.0401303693652153, 0.3484422266483307, 0.5875070691108704, 0.6911905407905579, -0.6107145547866821, -0.3666349947452545, 0.0057527790777385235, -0.32660582661628723, -0.3666065037250519, 0.3354452848434448, -0.015176109038293362, 0.5785788297653198, 0.8351292610168457, -0.05618630722165108, 1.08138906955719, -0.7013148665428162, 0.5915957689285278, 0.23704499006271362, -0.6894724369049072, 0.11742768436670303, -0.3059914708137512, 0.06530750542879105, 0.4932861328125, 0.3438322842121124, -0.4408101439476013, -0.3469412922859192, -0.4224340617656708, -1.1491855382919312, 0.651969850063324, 0.3069915175437927, 0.16686998307704926, -0.1714925915002823, 0.45026642084121704, 0.24095655977725983, 0.2564096450805664, -0.3656251132488251, -0.3565453290939331, -0.29225635528564453, -0.1262119859457016, 0.18175403773784637, -0.454232782125473, -0.057379040867090225, -0.2000739574432373, 0.9772157073020935, 0.38765203952789307, 0.28670355677604675, -0.11683442443609238, -0.02373572811484337, -0.5322085022926331, 0.3309520483016968, 0.6892662048339844, 0.9198313355445862, -0.29890766739845276, -0.21993966400623322, 0.24016369879245758, -0.24994556605815887, 0.09466402232646942, -0.07284783571958542, -0.5348634719848633, 0.13922978937625885, 0.23509645462036133, 0.8120715618133545, 0.5006344318389893, -0.31727370619773865, 0.41013213992118835, 0.17761686444282532, -0.06524944305419922, -0.004688856191933155, 0.09486570954322815, 0.023858973756432533, -0.03003150410950184, 0.6245964765548706, 0.5329420566558838, 0.228465273976326, -0.09802039712667465, 0.15646587312221527, 0.4315963685512543, -0.13904008269309998, -0.0994984433054924, 0.6353517770767212, 0.7715080380439758, -0.500575065612793, 1.0400278568267822, -0.001649657846428454, -0.6483458876609802, 0.2597557306289673, 0.3522445261478424, 0.8586750030517578, -0.18556587398052216, -0.2488192319869995, 0.6582481861114502, 0.1788802295923233, 0.06125703081488609, 0.0074463593773543835, -0.0890084058046341, -0.5109348297119141, -0.6613385677337646, -0.3492581844329834, -0.17212055623531342, 0.10285770148038864, -0.8815488815307617, -0.10678772628307343, -0.36954718828201294, -0.15185865759849548, -0.44934773445129395, -0.339439332485199, -0.5195704698562622, 0.137328639626503, 0.1118268221616745, 0.8192649483680725, -0.8135779500007629, 0.4874025285243988, 0.5541857481002808, -0.2975759208202362, -0.45473194122314453, -0.3064403831958771, -0.20612746477127075, -0.8349497318267822, 0.7046673893928528, 0.02983909472823143, -0.2538379430770874, 0.10427242517471313, -0.13323649764060974, -0.9144587516784668, 0.9542772173881531, 0.29848790168762207, -0.8191661238670349, -0.004581494722515345, 0.07329857349395752, 0.15969380736351013, 0.11885403841733932, 0.570604681968689, -0.07413265854120255, 0.08471465110778809, 0.15936732292175293, -1.1691008806228638, 0.00045158708235248923, -0.4253356158733368, 0.03929558023810387, 0.6049083471298218, -1.1184388399124146, 1.287305235862732, -0.2019065022468567, -0.29620009660720825, 0.20353543758392334, 0.7290369868278503, 0.33150550723075867, 0.31705886125564575, 0.6414547562599182, 1.2787986993789673, 0.8938623666763306, -0.04796022176742554, 0.8302778601646423, -0.3991042971611023, 0.45870935916900635, 0.8100626468658447, 0.17896687984466553, 0.9942177534103394, 0.3907272219657898, -0.16560305655002594, 0.4569881558418274, 0.539329469203949, 0.4378969967365265, 0.9412226676940918, 0.36403876543045044, -0.35074207186698914, -0.49685046076774597, 0.36430123448371887, -0.7244706749916077, -0.04187740385532379, 0.24611374735832214, 0.02366345189511776, -0.6311735510826111, 0.1698729395866394, 0.3187074363231659, -0.21645981073379517, -0.8217378854751587, 0.7394372224807739, -0.17954853177070618, -0.712948739528656, 0.6697362661361694, 0.2082217037677765, 0.7709218263626099, -0.35524988174438477, -0.18732428550720215, -0.5979195237159729, 0.4626105725765228, -0.13416776061058044, -0.641186535358429, 0.16357292234897614, -0.05374336242675781, -0.4014267325401306, -0.34637251496315, 0.8181898593902588, -0.6429942846298218, -0.549010694026947, -0.04593411833047867, 0.2025749683380127, 0.3811362683773041, -0.15685784816741943, -0.3838817775249481, -0.09381099045276642, -0.1735493689775467, -0.017819669097661972, 0.43783333897590637, 0.5878276824951172, 0.14193211495876312, 1.0868937969207764, 0.6346959471702576, 0.06526489555835724, 0.3809671700000763, -0.0037579480558633804, 1.240155577659607, -0.40288516879081726, -0.5353363156318665, -0.8770546913146973, 0.6408230066299438, 0.00014482965343631804, -0.3823634088039398, 0.3133665919303894, 0.8365687727928162, 1.1598317623138428, -0.2079746425151825, 0.5264773368835449, 0.17669224739074707, 0.4568985104560852, -0.6081506609916687, 0.9904367327690125, -0.6295145750045776, 0.15405386686325073, -0.11663994938135147, -0.6036673784255981, 0.0503188893198967, 0.7772091031074524, 0.03321845829486847, 0.10750453174114227, 0.013216855935752392, 0.710551917552948, -0.3980933129787445, -0.10074450820684433, 0.33199813961982727, 0.12132391333580017, 0.24652232229709625, 0.6725104451179504, 0.48085010051727295, -0.3875954747200012, 0.5727049708366394, -0.264955997467041, -0.2897532284259796, -0.5396745800971985, -0.7341504096984863, -0.8264312148094177, -0.32177233695983887, -0.5460913181304932, -0.08512454479932785, 0.20237189531326294, 0.7619038224220276, 1.1651278734207153, -0.796775758266449, 0.10289490967988968, -0.16366173326969147, 0.09720706939697266, -0.12374590337276459, -0.2854093909263611, 0.43294739723205566, -0.4401984214782715, -0.632907509803772, -0.007982950657606125, 0.34285783767700195, -0.39246582984924316, -0.38478147983551025, -0.13032174110412598, -0.06444861739873886, 0.06668789684772491, 0.6637998819351196, 0.2558619976043701, -0.9856758713722229, -0.31936824321746826, -0.28464826941490173, 0.08205607533454895, 0.1815013885498047, 0.9188032150268555, -0.7964773178100586, 0.4941760003566742, 0.6314327120780945, 1.3177286386489868, 0.3372615575790405, 0.15705786645412445, 0.5276912450790405, -0.720962643623352, -0.16976511478424072, 0.045556921511888504, 0.4415295422077179, 0.3210902214050293, -0.5611070394515991, 0.5316073298454285, 0.45136359333992004, -0.5939611196517944, -0.8575783371925354, -0.15452809631824493, -0.9210745692253113, -0.059412602335214615, 0.7772254347801208, -0.34354734420776367, -0.04508785903453827, -0.17231200635433197, -0.4339936375617981, 0.020860707387328148, -0.5564473867416382, 0.9218419790267944, 1.0080552101135254, -0.013347586616873741, -0.5161323547363281, -0.49775877594947815, 0.15835565328598022, 0.5754501223564148, -0.4457957148551941, 0.1229439377784729, 0.46512800455093384, 0.6759066581726074, 0.26072660088539124, 1.040748119354248, 0.004839187953621149, 0.1501699686050415, 0.048796750605106354, 0.053726084530353546, -0.5969865918159485, -0.26833900809288025, 0.18235941231250763, 0.17883165180683136, -0.011007815599441528, -0.6603193283081055 ]
http://arxiv.org/abs/2402.11203v1
http://arxiv.org/pdf/2402.11203v1
Exploring ChatGPT for Next-generation Information Retrieval: Opportunities and Challenges
2024-02-17T05:44:40
2024-02-17T05:44:40
Yizheng Huang, Jimmy Huang
cs.IR
cs.IR, cs.AI, cs.CL, cs.LG
The rapid advancement of artificial intelligence (AI) has highlighted ChatGPT as a pivotal technology in the field of information retrieval (IR). Distinguished from its predecessors, ChatGPT offers significant benefits that have attracted the attention of both the industry and academic communities. While some view ChatGPT as a groundbreaking innovation, others attribute its success to the effective integration of product development and market strategies. The emergence of ChatGPT, alongside GPT-4, marks a new phase in Generative AI, generating content that is distinct from training examples and exceeding the capabilities of the prior GPT-3 model by OpenAI. Unlike the traditional supervised learning approach in IR tasks, ChatGPT challenges existing paradigms, bringing forth new challenges and opportunities regarding text quality assurance, model bias, and efficiency. This paper seeks to examine the impact of ChatGPT on IR tasks and offer insights into its potential future developments.
[ -0.3342728018760681, -0.6863833665847778, 0.5155055522918701, -0.12120985984802246, 0.021454043686389923, 0.3629089891910553, 0.12142586708068848, -0.5598650574684143, -0.15115396678447723, 0.17874494194984436, -0.3690466284751892, -0.22094593942165375, -0.6508328318595886, 0.036921046674251556, -0.6909224987030029, 1.229399561882019, 0.08909536898136139, -0.2589477002620697, -0.10306001454591751, 0.21030104160308838, -0.6152703166007996, -0.9544817805290222, -0.7550104856491089, -0.33946478366851807, 0.2666090130805969, 0.4258187711238861, 0.8128005266189575, 0.039633579552173615, 1.0574575662612915, 0.24572418630123138, 0.0715351328253746, -0.0940282791852951, -0.38857609033584595, 0.225462406873703, 0.21046318113803864, -0.45898914337158203, -0.1947699338197708, 0.21569892764091492, 0.6308000087738037, 0.30546650290489197, -0.24130716919898987, -0.13135842978954315, 0.16446717083454132, 0.870135486125946, -0.4360949397087097, 0.5336909890174866, -0.8949252963066101, 0.24673379957675934, -0.5191743969917297, -0.3932778835296631, -0.3742324113845825, -0.5648505687713623, 0.6402128338813782, -0.6637493968009949, 0.3891843557357788, 0.15285293757915497, 1.0621802806854248, 0.2495328038930893, -0.3908785283565521, -0.37493011355400085, -0.6523308157920837, 0.46374234557151794, -0.38973262906074524, 0.5715131759643555, 0.28294211626052856, 0.5791527628898621, -0.29449719190597534, -1.0462965965270996, -0.6392024159431458, -0.18528860807418823, 0.160844624042511, 0.29679498076438904, -0.11647675186395645, -0.028470655903220177, -0.08451692759990692, 0.49336498975753784, -0.708307147026062, -0.16931231319904327, -0.2361440807580948, 0.0627242922782898, 0.293327659368515, -0.06637642532587051, 0.2978866696357727, -0.16105113923549652, -0.4003418982028961, -0.09364349395036697, -0.7166659235954285, -0.2977362275123596, 0.39091387391090393, 0.19676491618156433, 0.5086491703987122, 0.7595447897911072, -0.3320428431034088, 0.2317303866147995, -0.2944895923137665, 0.3282347619533539, 0.31727996468544006, -0.2993820607662201, 0.12991933524608612, -0.017557283863425255, 0.678887665271759, 0.15835466980934143, 0.005897957365959883, -0.14455601572990417, -0.14632992446422577, -0.21791933476924896, 0.2056570202112198, -0.7420822381973267, -0.43332770466804504, -0.1235027015209198, -0.583995521068573, -0.16546188294887543, 0.1658797711133957, -0.9527429342269897, -0.5372535586357117, -0.0719166249036789, 0.5610515475273132, -0.7066894173622131, -0.3243333399295807, -0.14185874164104462, -0.4239416718482971, 0.644076406955719, 0.5675908923149109, -1.0116848945617676, 0.12493833899497986, 0.9716164469718933, 0.9496994614601135, -0.23626407980918884, -0.010254821740090847, -0.2806410789489746, -0.052989136427640915, -0.09408698976039886, 1.11997652053833, -0.7408469319343567, -0.4535766541957855, -0.10916716605424881, -0.5430455803871155, -0.2699008882045746, -0.6031218767166138, 0.5014047026634216, -0.7940400838851929, 0.32529908418655396, -0.05766972526907921, -0.4726437032222748, -0.2847703993320465, 0.5295606851577759, -0.5685204267501831, 1.1365911960601807, 0.13581804931163788, -0.7694432735443115, 0.3793933093547821, -0.672038197517395, -0.34132400155067444, 0.5208510756492615, -0.37299737334251404, -0.5096637010574341, -0.07203178107738495, -0.006031688302755356, 0.00867023691534996, -0.3671770989894867, 0.07479638606309891, 0.08971310406923294, -0.3651970624923706, 0.2525421380996704, -0.8445315957069397, 0.29513803124427795, 0.3163340091705322, -0.33828455209732056, -0.3333713710308075, -0.42017775774002075, 0.14725317060947418, 0.033424798399209976, -0.4265052080154419, -0.05101586878299713, 0.34834250807762146, 0.0789337232708931, 0.037973932921886444, 0.36214572191238403, -0.3882168233394623, 0.3448250889778137, 0.08030969649553299, 0.7154773473739624, 0.6488521695137024, 0.18485106527805328, 0.0978301465511322, -0.3276940882205963, 0.5910214185714722, -0.29595375061035156, 0.4167029559612274, -0.3964160084724426, -0.9364691376686096, -0.5299491286277771, 0.1742231696844101, 0.48950812220573425, 0.7711607813835144, -0.8319346904754639, -0.05018632113933563, -0.30488067865371704, -0.5251697301864624, -0.5088532567024231, -0.2419985681772232, 0.10917459428310394, 0.3319956362247467, 0.348065048456192, -0.34868142008781433, -0.39756977558135986, -0.6505923867225647, -0.21733061969280243, -0.5537306666374207, -0.002152141649276018, 0.5215351581573486, 0.26605260372161865, -0.20365488529205322, 1.042848825454712, -0.32049158215522766, -0.639263391494751, -0.29883453249931335, 0.3975142240524292, 0.2587515413761139, 0.4847593903541565, 0.05765062943100929, -1.5852328538894653, -0.5338649749755859, 0.3205961585044861, -0.7131010293960571, 0.17983441054821014, -0.05999601632356644, -0.16193397343158722, 0.026210013777017593, 0.5089345574378967, -0.7454221248626709, 0.3487256169319153, 0.19425635039806366, -0.030964650213718414, 0.45124638080596924, 0.021158965304493904, 0.4878461956977844, -0.7540938258171082, 0.1973893940448761, -0.1534816175699234, 0.04990161582827568, -0.5847892165184021, -0.17230430245399475, -0.07010599970817566, -0.47698262333869934, -0.14331082999706268, 0.24864493310451508, -0.3344728946685791, -0.173943892121315, -0.07779188454151154, 0.25058862566947937, -0.08481963723897934, 0.09519758820533752, -0.16808775067329407, 1.0927053689956665, 0.08274392038583755, -0.40540412068367004, 0.09442427009344101, 0.6052422523498535, -0.1966044306755066, 0.3195885419845581, -0.5717055201530457, 0.25257670879364014, -0.18625468015670776, 0.18879224359989166, -0.6834813952445984, -0.27319854497909546, 0.17643515765666962, -0.8247367143630981, 0.2568128705024719, -0.20757757127285004, -0.6095340847969055, -0.3543614447116852, -0.17776088416576385, 0.4223558306694031, 0.7342357635498047, -0.4685516655445099, 0.6251299381256104, 0.4548218548297882, -0.42795249819755554, -0.6503317952156067, -0.4069384038448334, 0.34566909074783325, -0.10686704516410828, -0.48194336891174316, 0.48179009556770325, -0.11346281319856644, -0.09907405078411102, 0.04753176122903824, -0.1783403903245926, -0.13334685564041138, 0.04707150533795357, 0.0032543789129704237, 0.392132431268692, -0.16030584275722504, 0.1620246320962906, -0.304399311542511, -0.3111228048801422, -0.24538350105285645, -0.5559186935424805, 0.7168571352958679, -0.29555755853652954, -0.613552451133728, -0.4800647497177124, 0.33662155270576477, 0.13125494122505188, -0.44922974705696106, 0.395620197057724, 0.6515294909477234, -0.03172328695654869, 0.3391011655330658, -0.7015630006790161, -0.044825807213783264, -0.503376841545105, 0.5228988528251648, -0.13172613084316254, -0.8108660578727722, 0.27708619832992554, -0.15081369876861572, 0.034804731607437134, 0.3926517069339752, 0.1739734411239624, -0.13925205171108246, 1.0087190866470337, 0.7110621929168701, -0.08249757438898087, 0.9068862795829773, -0.12876130640506744, 0.6044313311576843, -0.6745527386665344, -0.601048469543457, -0.6885409951210022, 0.041093144565820694, -0.8369836807250977, -0.17402607202529907, 0.647543728351593, 0.007089278195053339, -0.257449209690094, -0.12614305317401886, -0.5715653300285339, 0.47249776124954224, 1.0941036939620972, 0.14782974123954773, 0.5668283104896545, -0.17770527303218842, 0.5180104374885559, 0.188644677400589, -0.610713541507721, -0.4574044346809387, 0.9180324673652649, 0.07432886958122253, 0.778191864490509, 0.13391737639904022, 0.5427190065383911, 0.6315648555755615, 0.23554682731628418, -0.706515908241272, 0.50520920753479, -0.18877756595611572, -0.5539982318878174, -0.1928025782108307, -0.40911775827407837, -1.0571577548980713, 0.23111358284950256, -0.03589935228228569, -0.641079306602478, -0.044734518975019455, 0.19264674186706543, 0.0157796498388052, 0.19529029726982117, -1.003953218460083, 0.7118903398513794, -0.2641453444957733, -0.1841040700674057, 0.04006877914071083, -0.7418130040168762, -0.05909169837832451, -0.0006536305299960077, -0.0695834755897522, -0.1970808506011963, -0.03944963216781616, 0.5895400047302246, -0.014827392995357513, 0.4321133494377136, 0.004290762823075056, 0.23245759308338165, 0.38384610414505005, -0.10439347475767136, 0.47284841537475586, -0.036378923803567886, -0.2989673614501953, 0.1253979206085205, -0.10582699626684189, -0.3473544418811798, -0.5999813079833984, 0.35324257612228394, -0.6933531165122986, -0.8788434267044067, -0.6302390098571777, -0.45789164304733276, -0.11595429480075836, 0.5198501348495483, 0.3299958109855652, 0.2789646089076996, -0.1758524477481842, 0.20093481242656708, 0.7238596081733704, -0.3833855390548706, 0.34222933650016785, 0.22014236450195312, -0.02557695098221302, -0.06605686247348785, 1.2918108701705933, 0.015013537369668484, 0.2919113039970398, 0.6080952882766724, -0.10373765975236893, -0.15134453773498535, -0.8606116771697998, -0.12821251153945923, -0.2752537131309509, -0.5971825122833252, -0.3716104030609131, -0.8083027601242065, -0.506455659866333, -0.4240068197250366, 0.2628888189792633, -0.3184349834918976, -0.22650963068008423, -0.11378409713506699, 0.18082314729690552, 0.29254794120788574, 0.8716825842857361, 0.18798303604125977, 0.20151734352111816, -0.8293994665145874, 0.024162843823432922, 0.24296356737613678, 0.5257577300071716, -0.18541264533996582, -0.02294754795730114, -0.191674143075943, -0.09670685976743698, -0.6099870204925537, -0.5407655835151672, 0.3735758364200592, 0.3706136643886566, 0.585407018661499, -0.00008016914216568694, 0.05508417263627052, 0.30558013916015625, -0.6586716175079346, 0.9778096079826355, -0.23324590921401978, -0.5133710503578186, 0.6024200320243835, -0.4891425371170044, 0.12487086653709412, 0.5792083740234375, 0.5128307938575745, -0.940886914730072, -0.16141177713871002, -0.6820247769355774, -1.175628662109375, 0.5029153227806091, 0.552647590637207, 0.21230970323085785, -0.056392066180706024, 0.3511284589767456, 0.3426405191421509, 0.27121323347091675, -0.5966066718101501, 0.11017269641160965, -0.2862629294395447, -0.18079474568367004, 0.33740490674972534, -0.16729702055454254, 0.473734974861145, 0.21452437341213226, 1.0394831895828247, -0.13816650211811066, 0.8227270841598511, 0.2011021226644516, 0.024358415976166725, 0.4768869876861572, 0.3137451112270355, -0.04389001801609993, 0.25337377190589905, -0.205553337931633, -0.18660134077072144, -0.2373868227005005, -0.7296372652053833, -0.2004118263721466, 0.5870962738990784, -0.2878933548927307, -0.09232718497514725, 0.17445619404315948, 0.575309693813324, -0.2035745531320572, -0.6795737743377686, 0.5751628279685974, -0.28227296471595764, -0.04926806688308716, -0.603519082069397, 0.14180225133895874, -0.5011542439460754, 0.5487604737281799, 0.9556213617324829, 0.039435431361198425, 0.4448828399181366, -0.5552459955215454, 0.23210205137729645, 0.6330847144126892, -0.34969210624694824, 0.017901673913002014, 0.8058211803436279, 0.02224089205265045, -0.31758853793144226, 1.1478272676467896, -0.016771426424384117, -0.7268005609512329, 0.4791681468486786, 0.3251689672470093, 0.6361535787582397, -0.103251613676548, 0.17601455748081207, -0.03882444649934769, 0.24689802527427673, -0.1158943921327591, 0.07730722427368164, -0.1562795341014862, -0.5971376299858093, -0.051776617765426636, -0.3451038599014282, -0.8417119979858398, -0.09599126875400543, -0.36489683389663696, 0.22277162969112396, 0.016531383618712425, -0.17536242306232452, -0.1867959052324295, -0.07767018675804138, -0.5249773859977722, -0.11144360154867172, -0.03731805086135864, 0.666310727596283, -0.21301087737083435, 0.621445894241333, 0.34491613507270813, -0.6881895661354065, -0.41679316759109497, 0.38144776225090027, 0.06928054243326187, -0.9058086276054382, 0.6055258512496948, 0.3994772732257843, 0.22413784265518188, 0.3289649188518524, -0.2284873127937317, -1.0126068592071533, 1.167621374130249, 0.1100521981716156, -0.14272540807724, -0.462555468082428, 0.24876375496387482, 0.4184701144695282, 0.20671971142292023, 0.5900980234146118, 0.5381753444671631, 0.450576514005661, 0.16778592765331268, -0.8132683634757996, -0.483221173286438, -0.5452661514282227, 0.1638905256986618, 0.43424731492996216, -0.7091876268386841, 1.0020052194595337, -0.09139624238014221, -0.44980424642562866, 0.32780390977859497, 0.6626084446907043, -0.014670109376311302, 0.2308029681444168, 0.1595645695924759, 0.08939525485038757, 0.7681068181991577, -0.3585115373134613, 1.2354823350906372, -0.03495250642299652, 0.3077986538410187, 0.8660008907318115, -0.19800128042697906, 0.8142377138137817, 0.362565279006958, -0.1539890319108963, 0.40535861253738403, 0.7590314149856567, -0.22636453807353973, 0.44685813784599304, -0.1194537952542305, -0.6753904819488525, 0.1458042711019516, -0.33790123462677, -0.5431666374206543, 0.4086510241031647, 0.5375810861587524, -0.14187631011009216, -0.13667160272598267, 0.23331989347934723, -0.20556184649467468, -0.1482786387205124, -0.0939229428768158, 0.9606137871742249, -0.25049465894699097, -0.7587181925773621, -0.07528893649578094, -0.39240074157714844, 0.5815053582191467, -0.5545048713684082, -0.45306944847106934, -0.25125518441200256, 0.29093924164772034, -0.05368904769420624, -0.9541283249855042, 0.018582677468657494, -0.18307235836982727, 0.2217739224433899, -0.2625424265861511, 0.762913167476654, -0.10267522931098938, -0.11191585659980774, -0.023618366569280624, 0.47411802411079407, 0.23613359034061432, -0.3254166543483734, -0.5704458951950073, -0.08331798017024994, 0.047407422214746475, -0.36035600304603577, 0.40973472595214844, 0.7394982576370239, 0.04797477275133133, 0.8158448338508606, 0.49760252237319946, -0.24879761040210724, 0.2633207440376282, -0.06789545714855194, 0.8296686410903931, -0.58022540807724, -0.3288310170173645, -0.634272038936615, 0.0999739021062851, -0.045896273106336594, -0.13384559750556946, 0.6221316456794739, 0.6375793218612671, 0.9995119571685791, 0.42903751134872437, 1.1154824495315552, -0.563202977180481, 0.32838302850723267, -0.49772465229034424, 0.5892669558525085, -0.3159065544605255, 0.35513836145401, -0.22213034331798553, -0.7724491953849792, -0.33190029859542847, 0.33842071890830994, -0.2135564088821411, 0.23200350999832153, 0.6460070610046387, 0.6579201221466064, 0.21261228621006012, 0.5031649470329285, 0.07961729913949966, 0.000495921412948519, 0.8028349876403809, 0.47977137565612793, 1.075398564338684, -0.5422048568725586, 1.112378716468811, 0.06082575395703316, -0.2678864598274231, -0.17982837557792664, -0.64451003074646, -0.4287637770175934, -0.9204557538032532, 0.018716217949986458, -0.14831724762916565, 0.3685300350189209, 0.7485803961753845, 0.500438928604126, -0.6133028268814087, 0.20952443778514862, -0.3232249319553375, 0.03151336684823036, -0.10647151619195938, -0.29613861441612244, 0.33430248498916626, -0.7337520122528076, -0.7339118123054504, 0.07103574275970459, 0.2637287378311157, 0.2377077043056488, 0.21605026721954346, 0.17875312268733978, -0.40392279624938965, -0.5007359981536865, 0.6833509206771851, 0.4105151891708374, -0.15583813190460205, -0.27971866726875305, -0.0213040541857481, -0.031140519306063652, 0.4187781810760498, 0.8857318162918091, -1.0038158893585205, 0.17902615666389465, 0.34707385301589966, 1.1659727096557617, 0.7686824798583984, 0.039785925298929214, 0.7834151387214661, -0.4363889694213867, -0.11399717628955841, 0.44682320952415466, -0.024270933121442795, 0.40181878209114075, -0.5853763818740845, 0.902590811252594, 0.21641136705875397, -0.9772979021072388, -0.5561485886573792, 0.07305145263671875, -0.7831142544746399, 0.004412961192429066, 0.9371439218521118, 0.0847964659333229, 0.09876933693885803, -0.2752179503440857, -0.5396440625190735, 0.31436070799827576, -0.5897034406661987, 0.9316346645355225, 0.43246397376060486, -0.6487932801246643, -0.416187047958374, -1.1561144590377808, 0.5124317407608032, 0.48447227478027344, -1.0214195251464844, 0.02986573986709118, 0.3316677212715149, -0.2943309545516968, -0.000015152159903664142, 0.6299169063568115, -0.429916113615036, 0.24628356099128723, 0.08298934996128082, -0.008830261416733265, 0.17142902314662933, -0.18913587927818298, 0.16378971934318542, 0.1822492927312851, 0.2733520567417145, -0.18632660806179047 ]
http://arxiv.org/abs/2402.11199v2
http://arxiv.org/pdf/2402.11199v2
Direct Evaluation of Chain-of-Thought in Multi-hop Reasoning with Knowledge Graphs
2024-02-17T05:22:56
2024-06-19T05:14:05
Minh-Vuong Nguyen, Linhao Luo, Fatemeh Shiri, Dinh Phung, Yuan-Fang Li, Thuy-Trang Vu, Gholamreza Haffari
cs.CL
cs.CL
Large language models (LLMs) demonstrate strong reasoning abilities when prompted to generate chain-of-thought (CoT) explanations alongside answers. However, previous research on evaluating LLMs has solely focused on answer accuracy, neglecting the correctness of the generated CoT. In this paper, we delve deeper into the CoT reasoning capabilities of LLMs in multi-hop question answering by utilizing knowledge graphs (KGs). We propose a novel discriminative and generative CoT evaluation paradigm to assess LLMs' knowledge of reasoning and the accuracy of the generated CoT. Through experiments conducted on 5 different families of LLMs across 2 multi-hop question-answering datasets, we find that LLMs possess sufficient knowledge to perform reasoning. However, there exists a significant disparity between answer accuracy and faithfulness of the CoT reasoning generated by LLMs, indicating that they often arrive at correct answers through incorrect reasoning.
[ -0.37299418449401855, -1.03834867477417, 1.0292538404464722, 0.1359330415725708, -0.22373932600021362, 0.6621970534324646, -0.1539791077375412, -0.26318609714508057, -0.013357414864003658, 0.34521764516830444, -0.47872477769851685, -0.6274638175964355, -0.7461180090904236, 0.3921830952167511, -0.27216801047325134, 0.640948474407196, -0.341818243265152, -0.12729215621948242, -0.4108459949493408, -0.11062879860401154, -0.5712466239929199, -0.4096338748931885, -0.5314092040061951, -0.26354002952575684, 0.7349233627319336, 0.13843241333961487, 0.7813915610313416, 0.27597734332084656, 0.3300885856151581, 0.26333144307136536, -0.23887577652931213, 0.8358816504478455, -0.45553064346313477, 0.1385568529367447, -0.20402371883392334, -0.43444955348968506, -0.498767614364624, -0.10861054062843323, 0.5546806454658508, 0.7954615354537964, 0.20324447751045227, 0.2048313170671463, -0.06640951335430145, 0.8485539555549622, -0.8121641278266907, -0.05162399634718895, -0.9334398508071899, 0.043741125613451004, 0.10408248752355576, -0.31105145812034607, -0.7978804707527161, -0.7146691679954529, 0.042681653052568436, -0.42563802003860474, -0.07479154318571091, 0.15248341858386993, 0.495812326669693, -0.021971875801682472, -0.7487284541130066, -0.6087736487388611, -0.6994799375534058, 0.4258648455142975, -0.46386533975601196, 0.5498574376106262, 0.23922555148601532, 0.3834554851055145, -0.45056065917015076, -0.6394984126091003, -0.7172713875770569, -0.05605298653244972, -0.1195683553814888, 0.09755297750234604, -0.09321559220552444, 0.1311449557542801, 0.2922421395778656, 0.2617764472961426, -0.5152996778488159, -0.2411932498216629, -0.16487236320972443, -0.08040223270654678, 0.5480085015296936, 0.1829478144645691, 0.0798383504152298, 0.008338497020304203, -0.5041327476501465, -0.11226135492324829, -0.49436113238334656, -0.06451024115085602, 0.23428422212600708, 0.2515562176704407, 0.08672454208135605, 0.6088330745697021, -0.0848468765616417, 1.1255238056182861, 0.08379597961902618, -0.2767099142074585, 0.264023095369339, -0.27526482939720154, -0.24645055830478668, -0.1595320999622345, 0.8799784183502197, 0.19561250507831573, 0.5521919131278992, -0.3967583179473877, 0.007275380659848452, 0.03346854820847511, 0.29893600940704346, -0.3270708918571472, -0.03446552902460098, 0.37255316972732544, -0.2154076248407364, -0.36487042903900146, 0.009022130630910397, -0.731553852558136, -0.48356080055236816, 0.017704926431179047, 0.3532128632068634, -0.4106656014919281, -0.28756794333457947, 0.23795749247074127, -0.44733142852783203, 0.1934228241443634, 0.3094407320022583, -0.25824713706970215, 0.17171791195869446, 0.5963431000709534, 0.7023921012878418, 0.008489172905683517, -0.39031997323036194, -0.5193082690238953, 0.282189279794693, -0.7847795486450195, 0.7808656096458435, -0.5740221738815308, -0.11882346868515015, -0.1438901126384735, -0.2575088441371918, -0.4140755534172058, -0.38433635234832764, 0.39855530858039856, -1.0485502481460571, -0.3674970269203186, -0.5435983538627625, -0.7160042524337769, -0.1038944348692894, 0.5738555788993835, -0.5071347951889038, 0.8012869954109192, 0.1362736076116562, -1.087045669555664, 0.416129469871521, -0.4064538776874542, -0.4298281669616699, 0.062135349959135056, -0.28836849331855774, -0.09590093791484833, -0.2144910842180252, 0.44609183073043823, 0.32450246810913086, -0.25765541195869446, 0.3761351704597473, -0.523243248462677, -0.2883235514163971, 0.5748884081840515, -0.4714178740978241, 0.8511768579483032, 0.254021018743515, -0.174006849527359, -0.08110174536705017, -0.6109857559204102, 0.378419429063797, 0.31640973687171936, -0.27928462624549866, -0.29406142234802246, -0.022618364542722702, -0.9608374238014221, 0.32789796590805054, 0.09828639030456543, -0.46209844946861267, 0.28427568078041077, -0.10841406136751175, 0.20604649186134338, 0.8570459485054016, 0.11536422371864319, 0.10440666228532791, -0.2610745429992676, 0.6171975135803223, 0.03288565203547478, 0.20714415609836578, 0.23681992292404175, -0.6490182280540466, -0.5713089108467102, -0.11286943405866623, 0.10606974363327026, 0.22082528471946716, -0.9771299362182617, 0.37930458784103394, -0.38722118735313416, -0.5560160875320435, -0.29853329062461853, 0.2019329071044922, 0.5015608668327332, 0.4751532971858978, 0.2733950614929199, 0.014478078112006187, -0.41185858845710754, -0.5473961234092712, -0.29390037059783936, -0.33790335059165955, 0.20596255362033844, 0.40439659357070923, 0.47992125153541565, -0.2021227478981018, 0.9271565079689026, -0.653509259223938, 0.39544540643692017, -0.4483836591243744, 0.030068743973970413, 0.11988107115030289, -0.12120886892080307, 0.25259485840797424, -0.5794342756271362, -0.1422756463289261, -0.010065876878798008, -0.8764855265617371, 0.13000664114952087, -0.034722041338682175, -0.489406019449234, -0.16389650106430054, 0.19817328453063965, -0.7074280381202698, 0.2778416872024536, 0.47576606273651123, -0.41908812522888184, 0.8862056136131287, -0.0783771350979805, 0.2714027166366577, -0.7225831151008606, -0.1589619517326355, -0.3312779664993286, -0.21978279948234558, -0.39672163128852844, 0.19661512970924377, 0.03904144465923309, 0.17359459400177002, -0.19779489934444427, 0.4076002240180969, -0.4620615839958191, -0.39358213543891907, -0.026210879907011986, 0.6257704496383667, 0.40758344531059265, 0.3820793628692627, -0.09041467308998108, 0.7897443175315857, 0.40967047214508057, -0.7822497487068176, 0.5889062285423279, 0.4157629609107971, -0.39344289898872375, 0.28121018409729004, -0.3550589084625244, 0.5626271367073059, -0.20352452993392944, 0.5045788288116455, -1.1723625659942627, 0.05834123492240906, 0.03935258835554123, -0.41320592164993286, -0.07967140525579453, -0.15407595038414001, -0.6143765449523926, -1.0445252656936646, -0.2378675490617752, 0.4987945854663849, 0.2020052969455719, -0.7933177351951599, 0.5043209791183472, 0.13666965067386627, 0.2335207164287567, -0.7820380330085754, -0.37784022092819214, -0.14735881984233856, -0.03972376510500908, -0.6721864342689514, -0.052884526550769806, 0.023423653095960617, -0.2510799169540405, -0.10749826580286026, -0.2684169411659241, -0.05952351167798042, -0.022264452651143074, -0.239328533411026, 0.17219196259975433, -0.04905777797102928, 0.5227464437484741, 0.019366372376680374, 0.1593637764453888, 0.1616433560848236, -0.3303014039993286, 0.7897285223007202, -0.30007001757621765, -0.5153123736381531, 0.0684884637594223, -0.1477055847644806, 0.7543361186981201, -0.33611273765563965, 0.7047551274299622, 0.33987510204315186, -0.051440827548503876, -0.326138436794281, -0.4742063879966736, 0.1267509162425995, -0.42995044589042664, 0.18043668568134308, -0.8214786648750305, -0.7094689607620239, 0.43467435240745544, -0.36880743503570557, -0.20326881110668182, 0.47569039463996887, 0.45835039019584656, -0.1387174129486084, 0.9108842015266418, 0.07226371765136719, 0.341675341129303, -0.261141300201416, -0.42688676714897156, 0.571580171585083, -1.1551549434661865, -0.4663642942905426, -0.34989112615585327, -0.09403421729803085, -0.5715092420578003, -0.6159704327583313, 0.4095139801502228, 0.41545671224594116, -0.599414050579071, 0.23152638971805573, -0.4147968590259552, 0.49747753143310547, 0.30307823419570923, 0.33928245306015015, 0.4628444015979767, -0.33113738894462585, -0.6330377459526062, 0.618747889995575, -0.9530588388442993, -0.6813269257545471, 1.1531360149383545, 0.23309819400310516, 0.8047118782997131, -0.040061838924884796, 0.4279848337173462, 0.29036158323287964, 0.15026211738586426, -0.6769609451293945, 0.6160224676132202, -0.0612148717045784, -0.5278733968734741, -0.3147750496864319, -0.6992965340614319, -0.8207091689109802, 0.26822829246520996, -0.06909943372011185, -0.7671952843666077, -0.06429353356361389, 0.07891585677862167, -0.2310372143983841, 0.7222543954849243, -0.4614658057689667, 0.7403286695480347, -0.5892115831375122, -0.07527907192707062, -0.07007036358118057, -0.6006801128387451, 0.6140747666358948, 0.028734836727380753, 0.30720967054367065, -0.056087881326675415, 0.33016732335090637, 0.8160284161567688, -0.46817925572395325, 0.5016219019889832, -0.1384476125240326, -0.339479923248291, 0.8978483080863953, 0.37304219603538513, 0.5001136660575867, -0.2405039668083191, -0.09590992331504822, 0.16555893421173096, 0.004894646815955639, -0.26981881260871887, -0.9216352701187134, 0.5046635270118713, -0.7805131673812866, -0.642861545085907, -0.18799319863319397, -0.6059738397598267, -0.6295187473297119, 0.03305564448237419, -0.020184684544801712, 0.43623918294906616, 0.1152038499712944, -0.22958117723464966, 0.34880530834198, -0.3829410970211029, -0.034760672599077225, 0.10288790613412857, -0.5857016444206238, -0.5860470533370972, 0.5946299433708191, -0.03604406490921974, 0.6668111085891724, 0.34245410561561584, 0.40381890535354614, -0.633479118347168, -0.304633229970932, -0.6765159964561462, 0.2391897290945053, -1.1169143915176392, -0.23805683851242065, -0.7703021764755249, -0.36588147282600403, -0.1911281794309616, -0.18268629908561707, -0.29506000876426697, -0.2625119686126709, 0.42657721042633057, -0.4419654607772827, 0.3830643594264984, 0.9257226586341858, 0.22222758829593658, 0.09506309032440186, -0.649461030960083, 0.5026901364326477, 0.7331758737564087, 0.42503923177719116, 0.4066534638404846, -0.1292138248682022, 0.11024373024702072, 0.2507270872592926, -0.5164967775344849, -1.0599801540374756, -0.24671173095703125, -0.24268300831317902, 0.512406587600708, 0.39223620295524597, 0.13423089683055878, 0.9056296944618225, -0.3728885054588318, 0.689409077167511, 0.3021771013736725, -0.9702969789505005, 0.6476292610168457, -0.0452214740216732, 0.12761373817920685, 0.3603227138519287, 0.410522997379303, -0.22344347834587097, -0.5979702472686768, -0.532630443572998, -0.6054295301437378, 0.32087668776512146, 0.2936813533306122, -0.12676583230495453, -0.5461282134056091, 0.36294734477996826, 0.1313897967338562, 0.18538913130760193, -0.6352712512016296, -0.26905226707458496, 0.11528174579143524, 0.004851129371672869, 0.27516868710517883, -0.26902857422828674, -0.07260897755622864, -0.29184797406196594, 0.5601767897605896, -0.17262962460517883, 0.39401674270629883, 0.30699244141578674, 0.006818279158324003, -0.1838344782590866, 0.3956068754196167, 0.23436489701271057, 1.0707042217254639, -0.18067803978919983, 0.6108877062797546, 0.3819013833999634, -0.10776181519031525, 0.40680867433547974, -0.5211750864982605, 0.03579575940966606, -0.09594566375017166, 0.6764927506446838, 0.7266578078269958, -0.28403642773628235, -0.5910230875015259, 0.7053682208061218, -0.02641945518553257, -0.14437387883663177, -0.06633582711219788, 0.037217237055301666, 0.2816193401813507, 0.1474558562040329, 0.1654285043478012, 0.14917270839214325, -0.082073874771595, -0.5731974840164185, 0.04847315698862076, 0.5292306542396545, -0.1638331413269043, 0.001911808387376368, 0.44744741916656494, 0.20050308108329773, -0.2241593897342682, 0.8319617509841919, -0.372289776802063, -0.7615769505500793, 0.6792294383049011, 0.7886267900466919, 0.7772017121315002, 0.024065200239419937, 0.3418758809566498, 0.40331366658210754, 0.33504176139831543, 0.31316474080085754, 0.20006050169467926, -0.23645104467868805, -1.2318708896636963, -0.5919563174247742, -0.6785619854927063, -0.33641761541366577, 0.10619912296533585, -0.6105116605758667, 0.1664532572031021, -0.38168585300445557, -0.30789270997047424, -0.13365161418914795, -0.2574582099914551, -0.8042378425598145, 0.3252834379673004, 0.1507057100534439, 0.9376402497291565, -0.659511148929596, 0.5342199802398682, 0.48452028632164, -0.3487568497657776, -0.9977779388427734, 0.3117152154445648, -0.48884937167167664, -0.9725186824798584, 0.8785443305969238, 0.1657094806432724, -0.7270541191101074, -0.15022006630897522, -0.4021144211292267, -0.6932486295700073, 1.1981983184814453, 0.418783962726593, -0.6055954098701477, 0.08466555178165436, 0.2816169857978821, 0.4602475166320801, -0.3125309348106384, 0.5488004088401794, 0.7179573774337769, 0.39123520255088806, 0.43665611743927, -0.9350544214248657, 0.09058398753404617, 0.09596400707960129, -0.028663652017712593, 0.14957375824451447, -0.5870983004570007, 0.57890784740448, -0.6130867600440979, -0.15755648910999298, -0.3171652853488922, 0.29444289207458496, 0.6967753171920776, 0.31588608026504517, 0.6535892486572266, 0.6651071310043335, 1.10504949092865, 0.00021081867453176528, 1.29640531539917, -0.2531253397464752, 0.34337908029556274, 1.091778039932251, -0.3636685311794281, 0.6052728295326233, 0.2575528025627136, -0.6057201027870178, 0.8962517380714417, 0.5071766972541809, 0.3867281973361969, 0.41103774309158325, 0.5479860901832581, -0.14565721154212952, -0.5140399932861328, 0.17534324526786804, -0.15803073346614838, 0.47767117619514465, 0.18292485177516937, -0.34608322381973267, -0.0554792620241642, -0.208593487739563, 0.014630414545536041, -0.00043213958269916475, -0.38854867219924927, 0.7814620137214661, 0.043120644986629486, -0.6425297260284424, 0.8995944261550903, -0.1642826944589615, 0.17173561453819275, -0.42543524503707886, -0.050566162914037704, -0.005130680277943611, 0.018864935263991356, -0.14409169554710388, -1.1794610023498535, 0.2329760640859604, 0.31274721026420593, -0.0050852238200604916, 0.11687195301055908, 0.6917622685432434, -0.04967580363154411, -0.652788519859314, 0.7573956847190857, 0.8104764223098755, 0.16012316942214966, 0.15036362409591675, -0.4890287518501282, -0.010209420695900917, -0.22378259897232056, -0.11115910857915878, -0.17210927605628967, 0.6576299667358398, -0.04860030487179756, 0.984675943851471, 0.4640604257583618, 0.09361835569143295, 0.21726712584495544, 0.4211094081401825, 0.9524864554405212, -0.4215446710586548, -0.3632957637310028, -1.0500177145004272, 0.2402191162109375, -0.045033011585474014, -0.11969220638275146, 0.6700941324234009, 0.5650867223739624, 0.8421199321746826, -0.10285875201225281, 0.9827442169189453, -0.13778336346149445, 0.25792425870895386, -0.5357098579406738, 0.2430102676153183, -0.2248704731464386, 0.16059395670890808, -0.6015341281890869, -0.7469897270202637, -0.04924299195408821, 0.6579824090003967, -0.7594547271728516, 0.20399020612239838, 1.054468035697937, 0.42027708888053894, 0.08025263994932175, 0.1329662948846817, 0.3684488832950592, 0.3880823254585266, 0.24819143116474152, 0.7394253611564636, 1.2251381874084473, -0.4317929148674011, 0.5450606346130371, -0.20765593647956848, -0.21212054789066315, 0.39470332860946655, -0.7713102698326111, -1.0029184818267822, -0.39310580492019653, -0.2680118680000305, -0.4178551733493805, 0.1350976973772049, 0.7726303935050964, 0.38677099347114563, -0.6268836855888367, -0.14341230690479279, -0.4406624734401703, 0.5372732281684875, -0.42046499252319336, -0.2555593252182007, 0.6265419125556946, -0.5589651465415955, -0.1934501975774765, 0.3602789342403412, 0.31997594237327576, -0.29731541872024536, -0.16196979582309723, -0.3169161379337311, -0.3328305184841156, 0.1332530528306961, 0.8800778388977051, -0.48444852232933044, -0.7590153217315674, -0.5239174962043762, -0.07524138689041138, 0.20760194957256317, 0.12364140152931213, 0.7606667876243591, -0.8099344372749329, 0.6938749551773071, 0.34108269214630127, 0.6043636202812195, 0.403908371925354, 0.29116174578666687, 0.43353092670440674, -0.6340421438217163, -0.2963522970676422, 0.23183079063892365, 0.3553653359413147, 0.25419583916664124, -0.3157940208911896, 0.4445638358592987, 0.20809920132160187, -0.46847599744796753, -0.4469815492630005, 0.4631589651107788, -0.7983519434928894, -0.3172050714492798, 1.3833388090133667, -0.35353636741638184, -0.10334368795156479, -0.16095879673957825, -0.19795678555965424, 0.39279186725616455, 0.1439983993768692, 0.571700930595398, 0.7596624493598938, -0.34680280089378357, 0.026727836579084396, -0.2153967171907425, 0.20832307636737823, -0.07939327508211136, -0.7937763929367065, 0.2922760546207428, 0.31600767374038696, 0.3754550814628601, 0.19779525697231293, 0.8989108800888062, -0.15992550551891327, 0.08604548126459122, 0.15266327559947968, -0.13815359771251678, -0.016048476099967957, -0.5207963585853577, 0.23569044470787048, 0.18846125900745392, 0.4894750118255615, -0.22382035851478577 ]
http://arxiv.org/abs/2402.11197v2
http://arxiv.org/pdf/2402.11197v2
Centroid-Based Efficient Minimum Bayes Risk Decoding
2024-02-17T05:15:12
2024-06-11T07:14:46
Hiroyuki Deguchi, Yusuke Sakai, Hidetaka Kamigaito, Taro Watanabe, Hideki Tanaka, Masao Utiyama
cs.CL
cs.CL
Minimum Bayes risk (MBR) decoding achieved state-of-the-art translation performance by using COMET, a neural metric that has a high correlation with human evaluation. However, MBR decoding requires quadratic time since it computes the expected score between a translation hypothesis and all reference translations. We propose centroid-based MBR (CBMBR) decoding to improve the speed of MBR decoding. Our method clusters the reference translations in the feature space, and then calculates the score using the centroids of each cluster. The experimental results show that our CBMBR not only improved the decoding speed of the expected score calculation 5.7 times, but also outperformed vanilla MBR decoding in translation quality by up to 0.5 COMET in the WMT'22 En$\leftrightarrow$Ja, En$\leftrightarrow$De, En$\leftrightarrow$Zh, and WMT'23 En$\leftrightarrow$Ja translation tasks.
[ -0.27881523966789246, -0.5025599598884583, 0.5101451277732849, 0.2869994044303894, -0.5589854717254639, 0.07772062718868256, -0.047662001103162766, -0.3821456730365753, 0.11891655623912811, 0.4290952980518341, -0.4557061791419983, -0.7543824911117554, -0.5853617787361145, 0.056016601622104645, 0.08765225857496262, 0.962935745716095, 0.4924814999103546, 0.31380778551101685, 0.20279531180858612, 0.01843058131635189, -0.0862584188580513, -0.5289300084114075, -0.6434200406074524, 0.20626206696033478, 0.8324754238128662, 0.6558417677879333, 0.9712657332420349, 0.7246175408363342, 0.9313775300979614, 0.23949244618415833, -0.43832141160964966, -0.19694676995277405, -0.2712481617927551, -0.72444087266922, -0.2860375940799713, -0.40225523710250854, -0.48387956619262695, -0.30710089206695557, 0.6972393989562988, 1.1886091232299805, -0.27561312913894653, 0.3386682868003845, 0.130681112408638, 1.1680002212524414, -0.9288482069969177, 0.16951143741607666, -0.5132390856742859, -0.23341600596904755, -0.20230206847190857, -0.25272226333618164, -0.6308810710906982, -0.6289929151535034, -0.19201426208019257, -0.24556753039360046, 0.2559444010257721, 0.18911954760551453, 0.31678470969200134, 0.049754269421100616, -0.7788854241371155, 0.09704042226076126, -0.5722208023071289, 0.6971246600151062, -0.3805451989173889, 0.39543527364730835, 0.19567377865314484, 0.7141798734664917, -0.4763149619102478, -0.053834401071071625, -0.590996265411377, 0.42657339572906494, 0.026448171585798264, 0.013573670759797096, -0.4408862888813019, 0.13080018758773804, 0.20265719294548035, -0.06926042586565018, -0.4296540319919586, -0.14775551855564117, -0.24982650578022003, -0.4308740794658661, 0.6848675608634949, 0.30907416343688965, -0.09794629365205765, -0.4710081219673157, -0.16467595100402832, -0.6562530398368835, -0.7515670657157898, 0.5845156908035278, 0.271622896194458, 0.2495366632938385, -0.04516157880425453, 0.4627073109149933, -0.35582563281059265, 0.4671880304813385, 0.1738356202840805, -0.44130370020866394, 0.3867061138153076, -0.21498475968837738, -0.05974198505282402, 0.18050070106983185, 0.7151679396629333, 0.8853280544281006, -0.33129847049713135, -0.31533095240592957, -0.032719943672418594, -0.04066086933016777, 0.29661431908607483, -0.9221647381782532, -0.06386886537075043, 0.07013032585382462, -0.7638716697692871, -0.20001102983951569, -0.2370608150959015, -0.9369868636131287, -0.1830931305885315, 0.07510527968406677, 0.7009989023208618, -0.8565266728401184, 0.01192997582256794, 0.19714635610580444, -0.28343942761421204, 0.39949774742126465, 0.029175668954849243, -0.7366026639938354, 0.421631783246994, 0.4911609888076782, 0.6994873285293579, -0.033701129257678986, 0.03014274872839451, -0.6782110333442688, 0.042049385607242584, -0.5075960755348206, 0.8598082065582275, -0.03873983398079872, -0.5760036706924438, -0.050887905061244965, -0.01047325599938631, -0.1381932944059372, -0.3629813492298126, 0.6357091069221497, -0.4640980660915375, -0.6363393068313599, -0.6813334226608276, -0.1283654272556305, -0.5195990204811096, -0.12729030847549438, -0.47962304949760437, 0.5305976271629333, 0.23399214446544647, -1.0364152193069458, 0.38606151938438416, -0.32219016551971436, -0.7590325474739075, -0.04555510729551315, -0.025007756426930428, -0.33263254165649414, 0.3893037736415863, 0.5097289681434631, 0.5409803986549377, -0.26319244503974915, 0.24316854774951935, -0.3933009207248688, -0.4241742491722107, 0.5302784442901611, -0.3715144395828247, 0.7220024466514587, 0.17979216575622559, -0.2632174789905548, -0.18901358544826508, -0.9544752836227417, 0.14566202461719513, -0.09382608532905579, -0.26670876145362854, -0.23568809032440186, 0.46655476093292236, 0.18380823731422424, -0.008382204920053482, 0.1561487913131714, -0.8163108229637146, -0.19854123890399933, -0.24179375171661377, 0.1300412118434906, 0.48581787943840027, 0.2066923826932907, 0.6143757700920105, -0.6001539826393127, 0.05277729779481888, 0.3956541419029236, 0.27274617552757263, 0.3896504044532776, -0.6229338645935059, -0.3345104455947876, -0.26434653997421265, 0.054014015942811966, 0.6650732159614563, -1.0874255895614624, 0.7533197402954102, -0.7610229849815369, -0.9268255829811096, -0.595919132232666, -0.19545120000839233, 0.6260596513748169, 0.43291428685188293, 0.6989889740943909, -0.3517352044582367, -0.07684051990509033, -1.2990531921386719, -0.263996958732605, -0.3022519052028656, 0.09747281670570374, 0.04600003361701965, 0.13226275146007538, -0.4445663094520569, 0.7766315340995789, -0.4218543767929077, -0.14205273985862732, -0.5140238404273987, 0.05364770069718361, 0.7435632944107056, 0.8353032469749451, 0.6349279284477234, -0.5152187347412109, -0.5140777230262756, 0.08690407127141953, -0.03144494444131851, 0.1924840360879898, -0.24406582117080688, -0.5029081106185913, 0.15292856097221375, 0.026887275278568268, -0.5487490892410278, 0.7337039113044739, 0.6580623388290405, -0.23625615239143372, 0.40294602513313293, -0.43953171372413635, 0.4621974229812622, -0.9491527676582336, 0.3552453815937042, -0.17752379179000854, -0.14452187716960907, -0.655904233455658, -0.24841514229774475, 0.564558207988739, 0.16289447247982025, -0.4880184829235077, 0.06109778583049774, -0.5240524411201477, -0.13640478253364563, -0.38950982689857483, 0.14080816507339478, -0.31424760818481445, 0.44251346588134766, 0.04580215737223625, 0.6684802174568176, 0.5307620763778687, -1.0791316032409668, -0.3794722557067871, 0.5491350293159485, -0.5283004641532898, 0.5833409428596497, -0.22113682329654694, 0.012195363640785217, -0.3146072328090668, 0.02135823853313923, -0.9722911715507507, 0.1904943734407425, 0.2509689927101135, -0.614490807056427, 0.5234402418136597, -0.4259033799171448, -0.5798513293266296, -0.4232678711414337, -0.30840805172920227, 0.4753090441226959, 0.7570057511329651, -0.6629476547241211, 0.4293402135372162, 0.5354991555213928, -0.2134241759777069, -0.7592390179634094, -0.7317623496055603, 0.1171426847577095, 0.14334209263324738, -0.659935474395752, 0.4530230760574341, -0.42982053756713867, 0.29591479897499084, -0.062307387590408325, -0.19228605926036835, -0.038147859275341034, 0.037882737815380096, 0.3290366232395172, 0.2027338147163391, 0.018426308408379555, -0.3785768449306488, 0.7455392479896545, -0.4857275187969208, 0.1509549617767334, -0.05339110270142555, 0.06467597186565399, -0.07973727583885193, -0.24900275468826294, -0.29569342732429504, 0.6455072164535522, 0.3912382125854492, 0.22113686800003052, 0.951961100101471, 0.7837385535240173, -0.479981392621994, 0.12301207333803177, -0.762583315372467, -0.10287081450223923, -0.4909960627555847, 0.2296830713748932, -0.70707106590271, -0.8169846534729004, 0.603546142578125, 0.09213865548372269, -0.3296182453632355, 0.43858659267425537, 0.40129783749580383, -0.15942837297916412, 1.2737253904342651, 0.8710551857948303, -0.46374717354774475, 0.1584143042564392, -0.2202681601047516, 0.33989354968070984, -1.1719391345977783, -0.27822181582450867, -0.6442656517028809, -0.5151181817054749, -0.55184006690979, -0.42955222725868225, 0.6855455040931702, 0.22538842260837555, 0.05274917930364609, 0.5724940299987793, -0.41297703981399536, 0.4790711998939514, 0.5997635126113892, 0.48318934440612793, 0.012496446259319782, 0.05963842570781708, -0.6120428442955017, -0.22672921419143677, -1.0585823059082031, -0.20388764142990112, 1.1392896175384521, 0.09589084982872009, 0.6435658931732178, 0.5364598631858826, 0.7055159211158752, 0.09226280450820923, 0.45435431599617004, -0.59980708360672, 0.6780194044113159, -0.19256436824798584, -0.6826608777046204, 0.004354656208306551, -0.9209815263748169, -1.052948236465454, 0.3741031885147095, -0.445521742105484, -0.8460360765457153, 0.6808456778526306, 0.04530578851699829, -0.5912262201309204, 0.37849029898643494, -0.2690778970718384, 0.9688730835914612, -0.20456643402576447, -0.1686374694108963, -0.5164477825164795, -0.9399564862251282, 0.35816919803619385, 0.08101145178079605, 0.6770104765892029, -0.14306165277957916, 0.023955771699547768, 0.6697484254837036, -0.36149364709854126, 0.7365492582321167, -0.37882259488105774, 0.5416843891143799, 0.28460729122161865, 0.5296061635017395, 0.34041348099708557, 0.18834295868873596, 0.03642217814922333, 0.3015526533126831, 0.5871543288230896, -0.6490813493728638, -0.1832341104745865, 0.3470543324947357, -0.7919720411300659, -0.4129810929298401, -0.6857730150222778, -0.44510921835899353, -0.09517206996679306, 0.23969370126724243, 0.4606770873069763, 0.2868969440460205, -0.4385019838809967, 0.19968169927597046, 0.5289249420166016, -0.2208091765642166, 0.6567561030387878, 0.8018894791603088, 0.021283499896526337, -1.0069677829742432, 0.6860231161117554, -0.20973509550094604, 0.03346308693289757, 0.7140801548957825, 0.12351437658071518, -0.39700281620025635, -0.9431816935539246, -0.6168979406356812, 0.4681295156478882, -0.7211792469024658, -0.7677963972091675, -0.7914491891860962, -0.1061529889702797, -0.4271481931209564, -0.33395886421203613, -0.4166554808616638, -0.2288622409105301, 0.09448695927858353, 0.05451183766126633, 0.1313609927892685, 0.22361578047275543, -0.636692225933075, 0.7839359641075134, -1.7049334049224854, 0.20549656450748444, -0.23510833084583282, 0.16240765154361725, -0.31641122698783875, -0.6232401728630066, -0.7294225096702576, 0.08983805030584335, 0.03468937799334526, -1.2118719816207886, 0.5745595693588257, -0.06829816848039627, 0.7805543541908264, 0.48719289898872375, 0.2894183099269867, 0.7539485096931458, -0.7188591361045837, 0.21905583143234253, 0.3615127503871918, -1.1192461252212524, 0.27497902512550354, -0.019482646137475967, 0.287961483001709, 0.9781422019004822, 0.5615171790122986, -0.6805381178855896, 0.09141011536121368, -0.4723955988883972, -0.47596317529678345, 0.583645224571228, 0.27849647402763367, -0.2419249564409256, -0.43207013607025146, 0.5197263360023499, -0.02924628183245659, -0.02845684438943863, -0.24786531925201416, 0.014222822152078152, 0.28469955921173096, -0.3055923581123352, -0.5268605947494507, -0.44595810770988464, 0.11794320493936539, -0.2791158854961395, 0.6130733489990234, -0.31806209683418274, 0.5035348534584045, 0.4983120858669281, -0.5150492787361145, -0.4203414022922516, 0.29803895950317383, 0.15333136916160583, 0.09328612685203552, -0.6134927272796631, 0.10918111354112625, 0.3216928243637085, -0.5417448282241821, 0.1540798544883728, 0.10662870854139328, -0.1888110339641571, -0.014367909170687199, 0.029584186151623726, 0.17575566470623016, 0.5568503737449646, -0.4705965518951416, 1.0443450212478638, -0.27606889605522156, -0.026613807305693626, -0.13684090971946716, 0.027612317353487015, -0.07049811631441116, 0.32380324602127075, 0.2707519233226776, 0.4814877212047577, 0.5171118378639221, -0.49626991152763367, 0.23767255246639252, 0.3532556891441345, -0.3809196352958679, -0.363552063703537, 0.44767946004867554, -0.03169391304254532, 0.24968820810317993, 0.479636549949646, -0.5498107671737671, -0.5026254653930664, 0.3780510127544403, 0.6523656845092773, 0.8796030282974243, -0.31235289573669434, 0.12933672964572906, 0.8871986865997314, 0.781279981136322, -0.03354698792099953, 0.6663097739219666, 0.09476760774850845, -0.8009434938430786, -0.45821917057037354, -0.7383333444595337, -0.5393996834754944, -0.7097630500793457, -0.954011857509613, -0.0696309432387352, -0.6351350545883179, -0.5435900688171387, -0.33124473690986633, -0.21065863966941833, -0.74370938539505, 0.1785028725862503, 0.07648826390504837, 1.1508803367614746, -0.5419900417327881, 0.990023136138916, 0.4987877309322357, -0.16894745826721191, -0.4610424339771271, -0.4823321998119354, 0.08937186747789383, -0.28166210651397705, 0.21893584728240967, 0.3153688609600067, -0.25613388419151306, 0.12599118053913116, -0.21286539733409882, -1.2099655866622925, 1.3382835388183594, 0.02111084945499897, -0.772990882396698, 0.2538081407546997, 0.22969947755336761, 0.2993362545967102, -0.4455234706401825, 0.15362361073493958, 0.826273500919342, 0.24236424267292023, -0.11705201864242554, -0.501762866973877, 0.26366057991981506, -0.13051477074623108, 0.26699361205101013, 0.2995895743370056, -0.43868643045425415, 0.49064043164253235, -0.5776479840278625, -0.449133962392807, 0.19530069828033447, 0.5789255499839783, -0.03569132462143898, 0.3665594458580017, 0.3756108582019806, 0.5214838981628418, 0.5477949380874634, 0.0434773713350296, 1.2037489414215088, -0.6545624136924744, -0.0072942147962749004, 0.7130351662635803, 0.10619226098060608, 1.4166849851608276, 0.24235868453979492, -0.260558545589447, 0.36393502354621887, 0.5221254825592041, 0.3232540488243103, 0.8343434929847717, -0.006442714482545853, -0.11347267031669617, -0.2936365008354187, 0.46281230449676514, -0.08139750361442566, 0.016989577561616898, 0.6426945924758911, 0.03203708678483963, -0.07062213867902756, -0.030515015125274658, 0.0005034857313148677, 0.009659277275204659, -0.44608235359191895, 0.7502940893173218, 0.16913539171218872, -0.3793641924858093, 0.48139238357543945, 0.4011565148830414, 0.535376787185669, -0.4199230968952179, 0.41197890043258667, -0.27967220544815063, 0.4566560685634613, -0.024181663990020752, -0.6400712728500366, 0.5744831562042236, -0.2545524835586548, -0.1476289927959442, 0.3315976560115814, 0.6333506107330322, -0.33506980538368225, -0.6758459806442261, 0.5446719527244568, 0.35131585597991943, 0.2904604375362396, -0.5385993123054504, -0.5299372673034668, -0.08600492030382156, -0.16616198420524597, 0.2797609567642212, 0.34797418117523193, 0.47528567910194397, 0.29617202281951904, 0.6748641729354858, 0.9624873399734497, -0.0635184496641159, 0.27260202169418335, -0.29342034459114075, 0.8772496581077576, -1.16107976436615, -0.4059014916419983, -0.5866809487342834, 0.578604519367218, 0.25354376435279846, 0.027556169778108597, 0.4625091850757599, 0.7586042881011963, 0.4845351576805115, -0.3200136721134186, 0.42494890093803406, -0.019786519929766655, 0.5517439842224121, -0.633568286895752, 0.9881986379623413, -0.17422939836978912, -0.1164485365152359, -0.19098596274852753, -1.184921383857727, -0.5651723742485046, 0.6475857496261597, -0.152765154838562, -0.4731597900390625, 1.124894618988037, 0.88352370262146, 0.124635711312294, -0.22378598153591156, 0.5480200052261353, 0.001226872089318931, 0.1803029477596283, 1.055765151977539, 0.3664809763431549, -0.6501638293266296, 0.9007547497749329, -0.6805914640426636, -0.6493121981620789, -0.5287765860557556, -0.8194210529327393, -0.9854705929756165, -0.21832959353923798, -0.4332554042339325, -0.3419111371040344, -0.05802091956138611, 0.7770077586174011, 0.3963247537612915, -0.7397491335868835, -0.259316086769104, 0.18707619607448578, 0.10490213334560394, -0.5323923230171204, -0.06164746731519699, 0.34395137429237366, -0.4530285894870758, -0.2767040431499481, 0.472001314163208, 0.4945300817489624, 0.01932397484779358, 0.4514707922935486, -0.11748678982257843, -0.05132781341671944, 0.20615869760513306, 0.6856018900871277, -0.0093705914914608, -0.24975323677062988, -0.5867303609848022, -0.13001395761966705, -0.4992682635784149, 0.19594967365264893, 0.7250379920005798, -0.4332050085067749, 0.11198298633098602, 0.6228266954421997, 0.9752213358879089, 0.6270226836204529, -0.14609397947788239, 0.19165357947349548, -0.18791601061820984, 0.02568628452718258, 0.061197828501462936, 0.5546746850013733, 0.17946068942546844, -0.3456260859966278, 0.32498693466186523, 0.47900915145874023, -0.5362546443939209, -0.11270395666360855, 0.03301414102315903, -1.6041268110275269, -0.028412463143467903, 0.6905282139778137, -0.06092187762260437, -0.9046734571456909, 0.09276249259710312, -0.09954662621021271, 0.14756660163402557, -0.364228218793869, 0.6133741140365601, 0.39059096574783325, 0.19149243831634521, -0.1001550629734993, -0.3471982181072235, 0.3466586768627167, 0.38123974204063416, -0.4009339213371277, -0.177108034491539, 0.613457202911377, 0.4465174674987793, 0.20682133734226227, 0.6228238940238953, -0.4771016240119934, 0.7239378094673157, 0.49043402075767517, 0.45395606756210327, 0.24320009350776672, -0.44224321842193604, -0.3158474862575531, -0.1165187656879425, 0.13880997896194458, -0.1996249258518219 ]
http://arxiv.org/abs/2402.11194v2
http://arxiv.org/pdf/2402.11194v2
Evaluating LLMs' Mathematical Reasoning in Financial Document Question Answering
2024-02-17T05:10:18
2024-02-29T09:13:58
Pragya Srivastava, Manuj Malik, Vivek Gupta, Tanuja Ganu, Dan Roth
cs.CL
cs.CL
Large Language Models (LLMs), excel in natural language understanding, but their capability for complex mathematical reasoning with an amalgamation of structured tables and unstructured text is uncertain. This study explores LLMs' mathematical reasoning on four financial tabular question-answering datasets: TATQA, FinQA, ConvFinQA, and Multihiertt. Through extensive experiments with various models and prompting techniques, we assess how LLMs adapt to complex tables and mathematical tasks. We focus on sensitivity to table complexity and performance variations with an increasing number of arithmetic reasoning steps. The results provide insights into LLMs' capabilities and limitations in handling complex mathematical scenarios for semi-structured tables. Ultimately, we introduce a novel prompting technique tailored to semi-structured documents, matching or outperforming other baselines in performance while providing a nuanced understanding of LLMs abilities for such a task.
[ -0.1520860642194748, -1.290493130683899, 0.922419011592865, 0.4106176197528839, -0.07119963318109512, 0.3343084752559662, 0.00039043265860527754, -0.26094090938568115, -0.4316238760948181, 0.5067105293273926, -0.6567456126213074, -0.7155997157096863, -0.2859802544116974, 0.4685317873954773, -0.433694064617157, 0.9023820161819458, -0.37350261211395264, 0.14150039851665497, -0.5830302834510803, 0.1795128583908081, -0.43333956599235535, -0.4909706711769104, -0.6983269453048706, -0.4558423161506653, 0.2965162992477417, 0.6829240918159485, 0.8297702670097351, 0.28422603011131287, 0.6881893277168274, 0.3653859794139862, 0.09489379823207855, 0.14937029778957367, -0.11355019360780716, 0.13440769910812378, -0.15188781917095184, -0.9356771111488342, -0.5764599442481995, -0.22964422404766083, 0.49856171011924744, 0.7614210247993469, -0.39429500699043274, 0.27042362093925476, -0.05283282697200775, 0.9510598182678223, -0.11230143904685974, 0.5994143486022949, -0.7087193727493286, 0.026857711374759674, -0.2957542836666107, -0.1314762681722641, -0.5781050324440002, -0.4515858292579651, 0.3782418668270111, -0.856490433216095, -0.006144050508737564, 0.19627676904201508, 0.5502374172210693, 0.27940696477890015, -0.41451629996299744, -0.7435632348060608, -0.6637100577354431, 0.47823911905288696, -0.5936059355735779, 0.26752182841300964, 0.3659627139568329, 0.43303194642066956, -0.1915472149848938, -0.7626645565032959, -0.5122852325439453, -0.2073545902967453, -0.040639281272888184, 0.08706827461719513, -0.2699294686317444, 0.047651778906583786, 0.5719426870346069, 0.1939820647239685, -0.6046304702758789, 0.062466852366924286, -0.28913968801498413, -0.11297240108251572, 0.44605666399002075, 0.26487624645233154, 0.0482042133808136, -0.06584971398115158, -0.24531207978725433, 0.004649234935641289, -0.5573420524597168, 0.3832356631755829, 0.3670293390750885, 0.21408724784851074, -0.1964966207742691, 0.7871506214141846, 0.16974486410617828, 0.9467526078224182, -0.2356431931257248, -0.27292680740356445, -0.3256394863128662, -0.1998506635427475, -0.40842968225479126, 0.15353405475616455, 0.21683797240257263, 0.21467579901218414, 0.7155987024307251, 0.05468513444066048, -0.4461968243122101, -0.11205936223268509, -0.012402592226862907, -0.2624158263206482, -0.11640007793903351, 0.2694104015827179, -0.07462722063064575, -0.09348626434803009, -0.04328268766403198, -0.6619852781295776, -0.24512313306331635, -0.49819549918174744, 0.6208307147026062, -0.37836211919784546, 0.38304275274276733, 0.45410096645355225, -0.27051565051078796, 0.2494809627532959, 0.5633760094642639, -0.8950774669647217, 0.4432077407836914, 0.816708505153656, 0.5402607321739197, 0.21113301813602448, -0.004003141541033983, -0.7952001690864563, 0.3342750370502472, -0.23306109011173248, 1.1911388635635376, -0.5778204798698425, -0.2925153076648712, 0.028923790901899338, -0.40636491775512695, -0.41075047850608826, -0.6545829772949219, 0.6866984963417053, -0.6326996088027954, 0.23714053630828857, -0.5218641757965088, -0.5541555285453796, -0.16674911975860596, 0.33836695551872253, -0.6557785868644714, 0.8629680871963501, 0.3497380018234253, -0.5531986951828003, 0.37227773666381836, -0.9811092019081116, -0.5669224858283997, 0.046826016157865524, -0.08596395701169968, -0.37184521555900574, 0.0017610089853405952, 0.3628990948200226, 0.26777175068855286, -0.6056646108627319, 0.32590797543525696, -0.43601515889167786, -0.1909356415271759, 0.9000723361968994, -0.47645774483680725, 0.21906790137290955, 0.14041513204574585, -0.005836569704115391, 0.019985701888799667, -0.7302872538566589, -0.09220471978187561, 0.11265626549720764, -0.47049593925476074, -0.24680952727794647, 0.014566542580723763, -0.28665393590927124, 0.032452818006277084, 0.23840057849884033, -0.22832338511943817, 0.31965911388397217, -0.41784775257110596, 0.8178544640541077, 0.8068995475769043, 0.06929899752140045, 0.3954586386680603, -0.5981598496437073, 0.6286893486976624, -0.04430141672492027, -0.1420147866010666, 0.031248508021235466, -0.25183165073394775, -0.4805842936038971, -0.06965044885873795, 0.3011850416660309, 0.7410030364990234, -0.8139391541481018, -0.2303481549024582, -0.012298348359763622, -0.2039555013179779, -0.13216347992420197, 0.3630160093307495, 0.20704884827136993, 0.7873693108558655, 0.20268411934375763, 0.5238173604011536, -0.19756655395030975, -1.0930054187774658, -0.4712109863758087, -0.012088765390217304, -0.09090384095907211, 0.37185680866241455, 0.607438862323761, 0.4018441140651703, 0.7080526947975159, -0.5672604441642761, 0.05762196704745293, -0.31941524147987366, 0.23345232009887695, 0.6238805055618286, -0.12129480391740799, 0.5603768825531006, -0.8338811993598938, -0.47970905900001526, -0.23410005867481232, -0.5685930848121643, -0.20900703966617584, -0.6551780104637146, -0.06645224988460541, 0.22790458798408508, 0.41815194487571716, -0.606592059135437, 0.4402654767036438, 0.2101598083972931, -0.4590764343738556, 0.43717485666275024, -0.4191199243068695, -0.06100013852119446, -0.7765669226646423, -0.09525682777166367, 0.28857630491256714, -0.023378713056445122, -0.6476475596427917, -0.4144074022769928, 0.09611557424068451, -0.006374008487910032, -0.14398524165153503, 0.487689346075058, -0.5092363357543945, -0.5537219047546387, 0.2032768726348877, 0.458820641040802, 0.16715878248214722, 0.3267805278301239, -0.1536083072423935, 1.177119255065918, 0.428548663854599, -0.6039542555809021, 0.49907392263412476, 0.45713692903518677, -0.5003294944763184, 0.7209973931312561, -0.8465733528137207, -0.15678054094314575, -0.04157024994492531, 0.11167377233505249, -1.3994555473327637, -0.15731589496135712, -0.04199977219104767, -0.168940931558609, 0.3430899977684021, 0.12579038739204407, -0.5310484170913696, -0.5787830352783203, -0.13939635455608368, 0.12260791659355164, -0.12676973640918732, -0.29471564292907715, 0.9404081702232361, -0.05494774505496025, -0.6149906516075134, -0.5453347563743591, -0.538806676864624, 0.29151466488838196, -0.2824886441230774, -0.9563717246055603, 0.12250558286905289, -0.010533418506383896, -0.8856576085090637, -0.19736731052398682, -0.4503648281097412, 0.13178206980228424, 0.24513256549835205, -0.005458025261759758, 0.7424900531768799, -0.33174750208854675, 0.1274276077747345, 0.3030191659927368, -0.1615622192621231, 0.4590875804424286, -0.3273831903934479, 0.3262841999530792, -0.38760408759117126, -0.44768717885017395, -0.07396897673606873, 0.06941656768321991, 0.6106597185134888, -0.2137802392244339, 0.7194939851760864, -0.043244775384664536, -0.43669119477272034, -0.2291557639837265, -0.5569384694099426, 0.15604054927825928, -0.5152589082717896, 0.13826698064804077, -0.5837481617927551, -0.8444807529449463, 0.9786548018455505, 0.08250847458839417, 0.2947843670845032, 0.72669917345047, 0.9302994608879089, -0.30312013626098633, 0.6173659563064575, -0.08741985261440277, 0.38574427366256714, -0.01359571423381567, -0.15355440974235535, 0.15879963338375092, -0.4040672481060028, -0.6227942705154419, -0.8619620203971863, -0.399481862783432, -0.14036677777767181, -0.2640010416507721, 0.5832942128181458, -0.15503418445587158, -0.1623992770910263, 0.03419872000813484, -0.10715174674987793, 0.5459339022636414, 0.28833073377609253, -0.006283583585172892, 0.38754552602767944, -0.1463671177625656, -0.3406074047088623, 0.08453339338302612, -0.46595320105552673, -0.5577163100242615, 0.71318119764328, 0.4211896061897278, 1.0986058712005615, 0.25549429655075073, 0.193161740899086, 0.3095034062862396, 0.29856669902801514, -0.638628363609314, 0.3662305474281311, -0.1268521398305893, -0.6140435934066772, -0.6662003397941589, -0.7198591232299805, -0.7101506590843201, -0.18171902000904083, -0.2371036410331726, -0.5860491991043091, -0.0787520557641983, -0.009358406066894531, -0.6566896438598633, 0.18012060225009918, -0.718669593334198, 0.7869357466697693, -0.5591939687728882, -0.18945668637752533, 0.08971614390611649, -0.3910350501537323, 0.42870402336120605, -0.44815006852149963, 0.544974148273468, -0.09910993278026581, -0.24853432178497314, 0.6036879420280457, -0.43673503398895264, 0.625268816947937, 0.05631314590573311, -0.5293741822242737, 0.46574556827545166, 0.461221843957901, 0.4942883849143982, 0.28695133328437805, -0.4075964391231537, -0.16082161664962769, 0.4095209538936615, -0.2923920452594757, -0.8379851579666138, 0.48051249980926514, -0.42883193492889404, -0.7528160810470581, -0.4116269052028656, -1.053989291191101, -0.6390766501426697, 0.020593807101249695, -0.0957297682762146, 0.4509631395339966, 0.27630171179771423, 0.2933255732059479, 0.566886842250824, -0.1572556048631668, 0.3755093514919281, 0.47230398654937744, -0.12037961184978485, -0.32377150654792786, 0.4704063832759857, 0.3798871338367462, 0.23055271804332733, 0.6718725562095642, 0.3802092969417572, -0.9775230288505554, -0.484004408121109, -0.5378493666648865, 0.25549426674842834, -0.8596378564834595, -0.38133201003074646, -0.2794511914253235, -0.1199895367026329, -0.1911652535200119, -0.3437465727329254, 0.3167240619659424, -0.777915358543396, -0.3020406663417816, -0.42136478424072266, 0.576846718788147, 0.7445536255836487, 0.2281435877084732, 0.058450136333703995, -1.0936273336410522, 0.3748839497566223, 0.5866076350212097, 0.4486466646194458, -0.017205653712153435, -0.7735092043876648, 0.09227876365184784, -0.14887511730194092, 0.12724681198596954, -1.0070582628250122, 0.08131607621908188, 0.1455697864294052, 0.6664818525314331, 0.22066566348075867, 0.03291637450456619, 0.5376603007316589, -0.10544107109308243, 0.34054768085479736, -0.05867037922143936, -0.973876953125, 0.18700894713401794, -0.5745318531990051, 0.2574102282524109, 0.5810112953186035, 0.3549278974533081, -0.2519609332084656, -0.19987820088863373, -0.3443804681301117, -0.43423664569854736, 0.5800787210464478, 0.17086176574230194, -0.03848174959421158, 0.29588326811790466, 0.9496811032295227, 0.0704272985458374, 0.3315260708332062, -0.47588980197906494, -0.053307369351387024, 0.1471184492111206, -0.2650541365146637, 0.1697334498167038, -0.22701241075992584, -0.04624579846858978, -0.23922383785247803, 0.25950902700424194, -0.10047782212495804, -0.157556414604187, 0.021655825898051262, 0.1254969984292984, -0.26898643374443054, 0.46484801173210144, 0.8739485740661621, 1.1169722080230713, -0.1350657343864441, 0.05492227524518967, 0.531524658203125, -0.26811739802360535, -0.08188406378030777, 0.3096429407596588, -0.02032875455915928, -0.14600443840026855, 0.4866078495979309, 0.48593127727508545, 0.46234238147735596, -0.77977055311203, 0.18967348337173462, -0.30176934599876404, -0.7825843095779419, -0.365849107503891, 0.10761027783155441, 0.41633591055870056, 0.263781875371933, 0.6335407495498657, -0.27048978209495544, -0.06392104178667068, -0.7497342228889465, 0.23583222925662994, 0.3554980158805847, 0.09283943474292755, 0.01603696681559086, 0.6999378204345703, -0.12634825706481934, -0.47158482670783997, 0.7342442870140076, 0.15602749586105347, -0.5724261403083801, 0.8235751986503601, 0.6903431415557861, 0.32862386107444763, 0.07537739723920822, 0.24576124548912048, 0.06496284902095795, 0.30456018447875977, 0.14535100758075714, 0.7462254762649536, 0.0014809054555371404, -0.5226912498474121, -0.5112115740776062, -0.6668740510940552, -0.7485111951828003, -0.12773862481117249, -0.6375490427017212, 0.20087772607803345, -0.6613759398460388, -0.10609161108732224, 0.5648400783538818, -0.08603250980377197, -0.5877628326416016, 0.09795567393302917, 0.02732047438621521, 1.318760633468628, -0.669008731842041, 0.1924794316291809, 0.7206932306289673, -0.30281293392181396, -1.14817476272583, -0.4707605540752411, 0.1771499514579773, -1.1555383205413818, 0.38741305470466614, -0.23477570712566376, 0.11782845854759216, -0.0940416157245636, -0.437325656414032, -0.5000999569892883, 0.9069612622261047, 0.5508049130439758, -0.6536573171615601, -0.3445574939250946, 0.654995858669281, 0.5323808789253235, -0.08735974133014679, 0.16582609713077545, 0.8090337514877319, 0.9540624022483826, 0.5966761112213135, -0.7210439443588257, -0.21205180883407593, -0.028334103524684906, -0.39038801193237305, 0.378506600856781, -0.5058651566505432, 0.8082878589630127, -0.37372347712516785, 0.18561406433582306, -0.13324397802352905, 0.5633888244628906, 0.37152567505836487, 0.8839655518531799, 0.5132691860198975, 0.39565563201904297, 1.020425796508789, -0.45013633370399475, 0.8915429711341858, -0.14654222130775452, 0.05581912770867348, 0.823954701423645, -0.5142537355422974, 0.6612734198570251, 0.19563297927379608, -0.5074977874755859, 0.5747224688529968, 0.7390945553779602, -0.19390922784805298, -0.27220380306243896, 0.5094296932220459, -0.2444072812795639, -0.5854858160018921, 0.03410337120294571, -0.13713857531547546, 0.42181506752967834, 0.6175440549850464, 0.017511725425720215, -0.46023279428482056, -0.19380144774913788, -0.11150553077459335, 0.3028726279735565, -0.3184092938899994, 0.7351500988006592, 0.4798150360584259, -0.6485950946807861, 0.021407483145594597, 0.17336905002593994, -0.19798792898654938, -0.6698705554008484, -0.08728177845478058, -0.2831876873970032, -0.05102869123220444, -0.27753710746765137, -1.3042508363723755, 0.3222910761833191, 0.25387459993362427, -0.0703241154551506, -0.16759444773197174, 0.597226083278656, -0.17234644293785095, -0.6919022798538208, -0.17775845527648926, 0.6552026271820068, -0.11914794147014618, -0.10365915298461914, -0.802202045917511, -0.28788402676582336, -0.050053395330905914, -0.1993306428194046, 0.30154186487197876, 1.046807050704956, -0.19804704189300537, 0.8651936054229736, 1.0103942155838013, -0.21666015684604645, -0.27362510561943054, 0.3937218189239502, 0.7947750687599182, -0.6304295063018799, -0.42067763209342957, -1.07418954372406, 0.09594373404979706, 0.2555128037929535, -0.25036945939064026, 0.7208159565925598, 0.7688080072402954, 0.4067401885986328, -0.028310349211096764, 0.3452017307281494, 0.6564226150512695, 0.373740553855896, -0.9225698709487915, 0.32026952505111694, -0.49767065048217773, 0.5332798361778259, -0.3858967423439026, -0.881902813911438, -0.45113998651504517, 0.4961285889148712, -0.7243768572807312, -0.017228778451681137, 0.5585829615592957, 0.3843134343624115, 0.1661437451839447, 0.4120747148990631, 0.2712978720664978, 0.29839763045310974, 0.30163881182670593, 0.6082162261009216, 0.9364612698554993, 0.1777094155550003, 0.8722171783447266, 0.09249739348888397, 0.023409519344568253, -0.034963224083185196, -0.9172901511192322, -0.8151903748512268, -0.27911216020584106, -0.11729899793863297, -0.43641743063926697, -0.3316870927810669, 0.7028168439865112, -0.2546294331550598, -0.6474459171295166, -0.2276756465435028, 0.2005694955587387, 0.2996298372745514, 0.27144819498062134, -0.2062240093946457, 0.479095458984375, -0.06915395706892014, -0.2974853217601776, 0.07676748931407928, 0.7670940160751343, 0.28996989130973816, -0.15515808761119843, 0.13329023122787476, -0.08306688815355301, 0.40673360228538513, 0.42257580161094666, 0.17493924498558044, -0.33106881380081177, -0.017011214047670364, 0.5129141211509705, -0.05376357585191727, 0.01724507473409176, 0.9018850922584534, -0.04832432419061661, 0.14827732741832733, 0.5137238502502441, 0.6734586954116821, 0.49015310406684875, 0.45291799306869507, 0.35765331983566284, -0.2616497576236725, -0.2650546431541443, 0.29674825072288513, 0.5175025463104248, -0.058596473187208176, -0.4786793291568756, 0.36034080386161804, 0.09259241819381714, -0.47980132699012756, -0.6173242330551147, -0.1753438264131546, -1.0240191221237183, -0.24070508778095245, 0.8922926187515259, 0.12243089824914932, -0.4095744788646698, -0.3072357773780823, -0.23983657360076904, -0.19347620010375977, -0.43298202753067017, 0.6751832962036133, 1.176297903060913, -0.2363053560256958, -0.14437146484851837, -0.7313327193260193, 0.17636768519878387, 0.39321956038475037, -1.0451412200927734, 0.21250447630882263, 0.5432393550872803, 0.08541246503591537, -0.02549091912806034, 0.47307443618774414, -0.1063544824719429, 0.4938453733921051, -0.05630645528435707, -0.6314423084259033, -0.277702659368515, -0.3116668462753296, -0.19640132784843445, 0.19369420409202576, 0.217902272939682, 0.4966041147708893 ]
http://arxiv.org/abs/2402.11192v2
http://arxiv.org/pdf/2402.11192v2
I Learn Better If You Speak My Language: Understanding the Superior Performance of Fine-Tuning Large Language Models with LLM-Generated Responses
2024-02-17T05:05:31
2024-06-01T03:36:23
Xuan Ren, Biao Wu, Lingqiao Liu
cs.CL
cs.CL, cs.AI
This paper explores an intriguing observation: fine-tuning a large language model (LLM) with responses generated by a LLM often yields better results than using responses generated by humans. We conduct an in-depth investigation to understand why this occurs. Contrary to the common belief that these instances is simply due to the more detailed nature of LLM-generated content, our study identifies another contributing factor: an LLM is inherently more "familiar" with LLM generated responses. This familiarity is evidenced by lower perplexity before fine-tuning. We design a series of experiments to understand the impact of the "familiarity" and our conclusion reveals that this "familiarity" significantly impacts learning performance. Training with LLM-generated responses not only enhances performance but also helps maintain the model's capabilities in other tasks after fine-tuning on a specific task.
[ -0.5434415936470032, -0.618644118309021, 0.44994741678237915, -0.32062360644340515, -0.1402130275964737, 0.22633545100688934, -0.6677341461181641, -0.6217613220214844, -0.06353089213371277, 0.2828245759010315, -0.3761623501777649, -0.1991458535194397, -0.7466893196105957, 0.2803393304347992, -0.29989153146743774, 0.7409241795539856, 0.6484701037406921, 0.3330150544643402, -0.3760918080806732, 0.07808508723974228, -0.5815123915672302, -0.635552167892456, -1.057968258857727, -0.7850022912025452, 0.6930651664733887, 0.6503451466560364, 0.34765714406967163, 0.6099131107330322, 0.6105309128761292, 0.4613504707813263, -0.07473129034042358, 0.14379805326461792, -0.7365394234657288, -0.013209761120378971, -0.11153823882341385, -0.8408803343772888, -0.07915209978818893, -0.07046764343976974, 0.5989863276481628, 0.724865198135376, -0.04453802481293678, 0.1984286606311798, 0.4118434190750122, 0.7975393533706665, -0.321734756231308, 0.053495559841394424, -0.9509660601615906, -0.10283225029706955, -0.06162905693054199, -0.3279193639755249, -0.32486265897750854, -0.32707303762435913, 0.14520226418972015, -0.4377443790435791, 0.35263800621032715, -0.09308306872844696, 0.7609332799911499, 0.13260097801685333, -0.3788760006427765, -0.17819081246852875, -0.7562839984893799, 0.6048595309257507, -0.9790504574775696, 0.4718163311481476, 0.4258062541484833, 0.35690838098526, -0.18495264649391174, -0.6124085187911987, -0.7215573191642761, -0.4856477677822113, -0.19317327439785004, 0.10404720157384872, 0.07522092759609222, 0.023062696680426598, 0.6197085976600647, 0.4837867021560669, -0.5871514081954956, 0.37732815742492676, -0.5769352912902832, -0.14532732963562012, 0.6406804323196411, 0.31010890007019043, 0.22165687382221222, 0.17516909539699554, 0.043548330664634705, -0.29580461978912354, -0.8708648681640625, 0.45496413111686707, 0.8324747681617737, 0.4496508538722992, -0.06025891751050949, 0.569334864616394, -0.4025486707687378, 0.7353222966194153, 0.15603727102279663, -0.3770642578601837, 0.12681467831134796, -0.09444800019264221, -0.09583543986082077, -0.12742656469345093, 0.6190422773361206, 0.3623203933238983, 0.7812392711639404, -0.2271132916212082, -0.22170071303844452, -0.11179844290018082, 0.33421942591667175, -0.7956125736236572, -0.2934042513370514, -0.09422492235898972, -0.46444037556648254, -0.25082117319107056, -0.028244029730558395, -0.15466958284378052, -0.4840623736381531, -0.7037177085876465, 0.34178224205970764, -0.5401610732078552, -0.27194783091545105, 0.35902243852615356, 0.033129703253507614, 0.3349043130874634, 0.3001106381416321, -1.2041919231414795, 0.3985486924648285, 0.8129663467407227, 0.526043713092804, -0.28897735476493835, -0.420958548784256, -0.8157941102981567, -0.16458483040332794, -0.3574456572532654, 0.8596674203872681, -0.34126508235931396, -0.7063286304473877, 0.15211264789104462, -0.23177091777324677, -0.05510561168193817, -1.241891622543335, 0.18724216520786285, -0.504734992980957, 0.04774082452058792, -0.578045129776001, -0.5618221163749695, 0.07250560820102692, 0.11820176243782043, -0.476788729429245, 0.7703059911727905, -0.17345644533634186, -0.5951563715934753, 0.5814545750617981, -0.26119497418403625, -0.5375073552131653, 0.09470117092132568, -0.3079189360141754, -0.18227475881576538, 0.2506893575191498, -0.23119309544563293, 0.3753775954246521, -0.02005099132657051, 0.10444959253072739, -0.45749932527542114, -0.18778470158576965, 0.5525500178337097, -0.3065270185470581, 0.3075088858604431, 0.3249528706073761, -0.1765603870153427, 0.09094084054231644, -0.6446343064308167, 0.053083114326000214, 0.17802174389362335, -0.8633189797401428, -0.2953190207481384, 0.11479178071022034, -0.26283079385757446, -0.020467517897486687, 0.24051503837108612, -0.6653420925140381, 0.1478498876094818, -0.6772314310073853, 0.1263994425535202, 0.8398228883743286, 0.029100123792886734, 0.45509228110313416, -0.41329237818717957, 0.20656725764274597, 0.0707612857222557, -0.3482228219509125, -0.0969836562871933, -0.13754983246326447, -0.7018457651138306, 0.2113492786884308, 0.18837864696979523, 0.23638226091861725, -0.47252780199050903, -0.08833905309438705, -0.15974169969558716, -0.12432116270065308, -0.5409252047538757, 0.6091537475585938, 0.6495000720024109, 0.7750088572502136, 0.22544945776462555, -0.3706258535385132, -0.558232843875885, -1.1734323501586914, -0.6392812728881836, -0.3280319273471832, -0.020719090476632118, 0.5163600444793701, 0.22689290344715118, 0.04664294049143791, 0.7142153978347778, -0.7046730518341064, 0.04473055526614189, -0.49270763993263245, 0.017941031605005264, -0.014869843609631062, 0.4451700747013092, 0.4347079396247864, -0.5235142707824707, -0.7177731990814209, 0.29392218589782715, -0.4942340850830078, -0.18366087973117828, -0.11923274397850037, 0.1107352152466774, 0.07990941405296326, 0.702139139175415, -0.20814178884029388, 0.04824710637331009, 0.4332524538040161, -0.18820759654045105, 0.48944953083992004, -0.43558987975120544, 0.021505797281861305, -1.2056690454483032, -0.09335073828697205, -0.019030937924981117, -0.32718831300735474, -0.40779364109039307, 0.004522888921201229, -0.016196396201848984, 0.006508014164865017, -0.34157052636146545, 0.5438113808631897, -0.2956526577472687, -0.1638423353433609, -0.35564157366752625, 0.05513182282447815, -0.2553546130657196, 0.3028562366962433, 0.015747783705592155, 1.198530673980713, 0.42177385091781616, -0.8495382070541382, -0.06935400515794754, 0.1738530695438385, -0.6115585565567017, 0.4882943630218506, -0.7492498159408569, 0.21152833104133606, -0.09106317907571793, -0.39575889706611633, -1.0431158542633057, -0.5237581133842468, -0.17996370792388916, -0.4892352223396301, 0.6962133049964905, 0.2121172994375229, -0.3509935438632965, -0.39814329147338867, 0.0836348831653595, 0.03757365792989731, 0.5113667249679565, -0.935699462890625, 0.33665207028388977, 0.2628704607486725, -0.2414523810148239, -0.45717310905456543, -0.5535526275634766, -0.1056240126490593, -0.2909786105155945, -0.379185289144516, -0.010431448929011822, -0.505352795124054, -0.5303968191146851, -0.3712538778781891, -0.2928040623664856, 0.0428786464035511, 0.484899640083313, 0.37748098373413086, -0.3061407208442688, -0.38267117738723755, 0.23575720191001892, -0.06131195276975632, -0.10309085249900818, 0.17263883352279663, 0.08655949681997299, 0.720122218132019, -0.3048689067363739, -0.40782415866851807, -0.5983405113220215, 0.23724184930324554, 0.393734872341156, -0.1837569922208786, 0.619918942451477, 0.39840686321258545, 0.05222417041659355, -0.18960659205913544, -0.47825396060943604, -0.6615544557571411, -0.5936191082000732, 0.4068354070186615, -0.644953727722168, -0.8810694217681885, 0.3777739703655243, -0.18227890133857727, 0.0569373182952404, 0.06341590732336044, 0.5807837247848511, -0.6781996488571167, 1.153634786605835, 0.8761146068572998, -0.276699036359787, 0.7287188768386841, -0.3195238411426544, 0.10169119387865067, -0.6950608491897583, -0.3126588761806488, -0.5868873000144958, -0.4795059561729431, -0.5843052268028259, -0.01838310807943344, 0.2673909664154053, 0.03097054921090603, -0.1633642017841339, 0.14541864395141602, 0.00708169536665082, 0.6060229539871216, 0.6675572395324707, 0.24477332830429077, 0.45112210512161255, 0.007159654051065445, -0.09674451500177383, -0.048164963722229004, -0.5343016386032104, -0.6631158590316772, 0.9727758169174194, 0.31201377511024475, 0.9166961312294006, 0.36078378558158875, 1.0649149417877197, 0.07262934744358063, 0.31980255246162415, -0.8159347772598267, 0.5532499551773071, -0.10579727590084076, -0.3579954504966736, -0.09360725432634354, -0.4836988151073456, -1.1042509078979492, 0.12487234175205231, -0.42855823040008545, -0.6140680313110352, -0.27736198902130127, 0.39726313948631287, -0.2599712014198303, 0.23940913379192352, -0.852314293384552, 0.5167152881622314, -0.3538905084133148, -0.11919086426496506, -0.3530735373497009, -0.48603978753089905, 0.14549420773983002, -0.07843495160341263, 0.016180673614144325, -0.011748610995709896, 0.0059421369805932045, 0.5336706042289734, -0.10239031910896301, 1.0162633657455444, 0.1572439819574356, -0.08071371167898178, 0.15566480159759521, 0.0819062814116478, 0.28361061215400696, 0.24259434640407562, -0.11788859963417053, -0.12921388447284698, -0.3678271174430847, -0.30473592877388, -0.5911954045295715, 0.7875339388847351, -1.0283715724945068, -0.9857186079025269, 0.06356813758611679, -0.5011517405509949, -0.37055057287216187, 0.23735563457012177, 0.4176172614097595, 0.4306403398513794, -0.24186640977859497, 0.28308361768722534, 0.8446390628814697, -0.17340975999832153, 0.47054654359817505, 0.7478201985359192, -0.020383255556225777, -0.1815194934606552, 0.8861989378929138, 0.12086601555347443, 0.5535656213760376, 0.4324567914009094, 0.45760399103164673, -0.2883279025554657, -0.7157370448112488, -0.28401005268096924, 0.3031403124332428, -0.7093031406402588, -0.1989583522081375, -0.6103371381759644, -0.013590449467301369, -0.36310911178588867, 0.08717545866966248, -0.189684197306633, -0.20804443955421448, -0.2730894982814789, -0.4394952952861786, 0.3077297806739807, 0.868924617767334, -0.18700066208839417, 0.5665671825408936, -0.534528374671936, 0.14981523156166077, 0.7735801339149475, 0.3493095934391022, 0.030029011890292168, -0.7443017363548279, -0.41766995191574097, 0.15398108959197998, -0.4306425154209137, -0.563169002532959, 0.3417556881904602, 0.536195695400238, 0.6340407729148865, 0.43740856647491455, -0.24631772935390472, 0.8129408359527588, -0.5141276717185974, 0.5508083701133728, 0.028390254825353622, -0.6224285960197449, 0.2786824703216553, -0.34550580382347107, 0.4507492780685425, 0.692330002784729, 0.29881295561790466, -0.307523250579834, -0.7449067831039429, -0.6124047040939331, -0.8056893944740295, 0.3807322084903717, -0.17178919911384583, 0.6748651266098022, -0.17503364384174347, 0.74697345495224, 0.2023020088672638, 0.3128570020198822, -0.7196229696273804, -0.46584436297416687, 0.2584651708602905, 0.1881992369890213, -0.49993446469306946, -0.28261810541152954, -0.031314998865127563, -0.14501282572746277, 0.6473026871681213, -0.37912431359291077, 0.11490586400032043, 0.008887753821909428, -0.21808911859989166, -0.33503028750419617, -0.08371678739786148, 0.7174341678619385, 0.34468337893486023, 0.021735191345214844, 0.26599961519241333, 0.47839272022247314, -0.36797183752059937, -0.2966462969779968, -0.5258732438087463, 0.10911810398101807, -0.24590972065925598, 0.675757884979248, 0.7492677569389343, 0.11004369705915451, -0.6833410263061523, 0.3165493607521057, -0.29596346616744995, -0.2595658302307129, -0.02666400745511055, 0.6604669690132141, 0.4132274091243744, 0.5013686418533325, 0.18818917870521545, 0.08377797156572342, 0.1233745589852333, -0.6300884485244751, 0.22196915745735168, 0.656086802482605, -0.08450795710086823, -0.24884064495563507, 0.632942795753479, 0.08669422566890717, -0.5962668061256409, 0.5139009356498718, 0.168191596865654, -0.5684958696365356, 0.7258549332618713, 0.7912989258766174, 0.625576913356781, -0.10595542192459106, -0.033451348543167114, 0.6624083518981934, 0.08064088225364685, 0.205099955201149, 0.2528116703033447, -0.21884344518184662, -0.6397536993026733, -0.32201823592185974, -0.7322452068328857, -0.4708369970321655, 0.3629125952720642, -0.7824610471725464, 0.0531017929315567, -0.3889513611793518, -0.19542156159877777, -0.03341258689761162, 0.16178008913993835, -0.7484461069107056, 0.43903225660324097, 0.25201186537742615, 0.8086798787117004, -0.8568751811981201, 0.9559022784233093, 0.6372027397155762, -0.412634015083313, -1.2952224016189575, 0.1979956179857254, -0.3137848675251007, -0.9579755067825317, 0.8444340229034424, 0.011878633871674538, -0.2939226031303406, 0.18248160183429718, -0.4529294967651367, -0.7540179491043091, 0.784553587436676, 0.544289231300354, -0.6739106178283691, 0.39764681458473206, 0.23375140130519867, 0.6590314507484436, -0.36949682235717773, 0.10289102047681808, 0.635479211807251, 0.056936684995889664, -0.033783167600631714, -0.998614490032196, -0.4136115312576294, -0.046359315514564514, 0.05946771800518036, -0.0047857738099992275, -0.6179872155189514, 0.7877750396728516, -0.6264956593513489, -0.16104494035243988, 0.16540689766407013, 0.735835075378418, -0.20879589021205902, 0.20068404078483582, 0.18682056665420532, 0.46902376413345337, 0.9127823114395142, -0.020160650834441185, 1.1337902545928955, -0.3371184766292572, 0.15500357747077942, 1.3328337669372559, -0.030775759369134903, 1.1516926288604736, 0.40312209725379944, 0.07305851578712463, 0.48324382305145264, 0.7498180270195007, 0.41474243998527527, 0.5497159957885742, 0.21229401230812073, -0.5268186926841736, -0.333166241645813, 0.20162254571914673, -0.4248650074005127, 0.3684835731983185, 0.10364201664924622, -0.31135833263397217, -0.07622800022363663, 0.0580538846552372, -0.24292762577533722, 0.5752863883972168, -0.265392005443573, 1.37537682056427, 0.2714301347732544, -0.6212389469146729, 0.7815937995910645, -0.2059432566165924, 0.5219707489013672, -0.5003911852836609, 0.20196881890296936, -0.4562169015407562, 0.22179481387138367, -0.32286524772644043, -0.8436486124992371, 0.3043445944786072, 0.05216648429632187, -0.47033074498176575, -0.1806986778974533, 0.5508395433425903, -0.5915306210517883, 0.00464378297328949, 0.2570476531982422, 0.6987060308456421, 0.14953690767288208, 0.17247316241264343, -0.49083030223846436, 0.06168300658464432, 0.02435261756181717, -0.26196110248565674, 0.887631893157959, 0.31814560294151306, 0.2252480834722519, 0.9364461302757263, 0.871189296245575, 0.1196509301662445, 0.283100426197052, 0.14098098874092102, 0.8513261079788208, -0.3469967842102051, -0.016486966982483864, -0.8884280323982239, 0.422552227973938, -0.09446089714765549, -0.3297993242740631, 0.6647408604621887, 0.7680557370185852, 1.1827789545059204, -0.4230457544326782, 0.8533644676208496, 0.2897825241088867, 0.6377179622650146, -0.5664013624191284, 0.7000164985656738, -0.7052647471427917, 0.46217119693756104, 0.002088899025693536, -0.5997145175933838, -0.12654133141040802, 0.7979727387428284, -0.7218563556671143, -0.10030891001224518, 0.4583500325679779, 0.942636251449585, -0.05729575455188751, -0.28299480676651, 0.8278712630271912, 0.23486360907554626, 0.3124029338359833, 0.253073513507843, 0.830891489982605, -0.036884840577840805, 0.3939846158027649, -0.3867756724357605, 0.1543961763381958, -0.0942743569612503, -0.7585258483886719, -1.00834321975708, -0.6269460916519165, -0.28555193543434143, -0.46457862854003906, -0.06764751672744751, 0.9911611676216125, 0.4885175824165344, -0.7523627877235413, -0.7567566633224487, -0.0582837238907814, 0.1660451889038086, 0.11007814109325409, -0.13547863066196442, -0.12631580233573914, -0.8049123883247375, -0.8056736588478088, 0.36755961179733276, -0.047088995575904846, 0.14894253015518188, 0.14176635444164276, -0.49031227827072144, 0.201798677444458, 0.0543091706931591, 0.6740707159042358, 0.48541370034217834, -0.5356146693229675, -0.3339330852031708, 0.025191541761159897, -0.40931904315948486, 0.28705379366874695, 0.7218729853630066, -0.7770236134529114, 0.7490689158439636, 0.32665082812309265, 0.7296578288078308, 0.4938701391220093, -0.047704242169857025, 0.7820078730583191, -0.6126714944839478, -0.024930639192461967, 0.0015019357670098543, 0.3305782079696655, 0.44165268540382385, -0.4531473219394684, 0.25467196106910706, 0.007863270118832588, -0.4886007010936737, -0.7865807414054871, 0.5279965996742249, -0.8219208717346191, -0.028938204050064087, 1.3183015584945679, -0.10683123022317886, -0.022802630439400673, 0.07119761407375336, -0.5068520903587341, 0.20268474519252777, -0.3774597644805908, 0.9114497303962708, 0.41738224029541016, -0.24308988451957703, 0.016574610024690628, -0.6742077469825745, 0.7190795540809631, 0.389554888010025, -0.6080825328826904, -0.07612290978431702, 0.1786809116601944, 0.8571975827217102, -0.09247425943613052, 0.501760721206665, 0.3079717755317688, 0.38008397817611694, -0.25496211647987366, -0.21780778467655182, -0.10167618095874786, -0.23842889070510864, -0.5031219720840454, 0.01849823258817196, 0.9650284647941589, -0.11465810984373093 ]
http://arxiv.org/abs/2402.11191v1
http://arxiv.org/pdf/2402.11191v1
Knowledge Graph Assisted Automatic Sports News Writing
2024-02-17T04:54:58
2024-02-17T04:54:58
Yang Cao, Xinyi Chen, Xin Zhang, Siying Li
cs.CL
cs.CL
In this paper, we present a novel method for automatically generating sports news, which employs a unique algorithm that extracts pivotal moments from live text broadcasts and uses them to create an initial draft of the news. This draft is further refined by incorporating key details and background information from a specially designed sports knowledge graph. This graph contains 5,893 entities, which are classified into three distinct conceptual categories, interconnected through four relationship types, and characterized by 27 unique attributes. In addition, we create a multi-stage learning model by combining convolutional neural networks and a transformer encoder. This model expresses entity-task interactions using convolutional neural networks and enriches entity representations in the query set with the transformer encoder. It also includes a processor to compute matching scores for incomplete triples, addressing few-shot knowledge graph completion problem. The efficiency of this approach has been confirmed through both subjective and objective evaluations of 50 selected test cases, demonstrating its capability in revolutionizing the creation of sports news.
[ -0.19475355744361877, -0.6861430406570435, 0.5224267840385437, 0.29693153500556946, -0.3903520405292511, 0.3348999619483948, 0.11980590969324112, -0.7010700106620789, 0.4591144323348999, 0.08752871304750443, -0.7004396915435791, -0.5894650816917419, -0.6976791024208069, 0.07552285492420197, -0.2803005874156952, 1.1895103454589844, -0.2188040018081665, -0.0025919179897755384, -0.2661409378051758, -0.1270424872636795, -0.4687652289867401, -0.009569146670401096, -0.9781073927879333, -0.36970534920692444, 0.2387842983007431, 0.3856358230113983, 0.47359171509742737, 0.596122682094574, 0.7222251892089844, 0.3332505226135254, 0.16656415164470673, 0.5556813478469849, -0.5556248426437378, 0.3889823257923126, 0.2613646388053894, -0.12700672447681427, -0.5673754811286926, 0.006895088125020266, 0.49363473057746887, 0.669991672039032, 0.17992545664310455, 0.3422284722328186, 0.14045053720474243, 0.7305756211280823, -0.1657634824514389, 0.4843023717403412, -0.5949019193649292, 0.28567323088645935, -0.004617071710526943, -0.3671039342880249, -0.05411228537559509, -0.519010066986084, -0.12168741971254349, -0.9746507406234741, 0.23486700654029846, 0.003098738845437765, 0.9122598767280579, 0.17439597845077515, -0.48952609300613403, -0.4526064693927765, -0.7847126722335815, 0.07165560126304626, -0.5405599474906921, 0.5079862475395203, -0.031595468521118164, 0.5600847005844116, 0.056634172797203064, -0.5035605430603027, -0.6056405901908875, -0.045514993369579315, -0.16120308637619019, 0.32471999526023865, -0.050725094974040985, -0.07829803973436356, 0.15837445855140686, -0.044137146323919296, -0.482143372297287, -0.3444596529006958, -0.6733418107032776, 0.044628217816352844, 0.8279894590377808, 0.2664927542209625, 0.17829452455043793, -0.25825241208076477, 0.048718713223934174, 0.4359217882156372, -0.49720948934555054, 0.21087773144245148, 0.610196053981781, 0.14520077407360077, 0.1726910024881363, 0.8230713605880737, -0.6830147504806519, 0.7534998655319214, 0.21190249919891357, -0.5365425944328308, 0.30618372559547424, -0.08187285810709, -0.17153050005435944, 0.316937655210495, 0.8825081586837769, 0.8397605419158936, 0.19713373482227325, -0.6026424765586853, -0.05289357155561447, -0.18722257018089294, 0.20495736598968506, -0.5145258903503418, -0.13244780898094177, 0.10830914229154587, -0.44590994715690613, -0.5584014058113098, -0.0010820436291396618, -0.5155179500579834, -0.48138925433158875, -0.4463184177875519, 0.40200090408325195, -0.7345786690711975, 0.05828269571065903, -0.07833386212587357, -0.6297044157981873, -0.10893069952726364, 0.33818891644477844, -0.5595332980155945, 0.09164291620254517, 0.15925733745098114, 0.5098266005516052, 0.16062162816524506, -0.22596226632595062, -0.5159361362457275, 0.6452130079269409, -0.09802696108818054, 0.9050308465957642, -0.23968124389648438, -0.0072753033600747585, 0.09049063175916672, -0.4161074459552765, 0.13684169948101044, 0.07926157861948013, 0.2651507258415222, -0.8872808218002319, -0.14702598750591278, 0.05993461608886719, -1.0366564989089966, -0.279521644115448, 0.3493015468120575, -0.7520365118980408, 1.0202243328094482, 0.15579789876937866, -0.8778353333473206, 0.8431702256202698, -0.6786003708839417, -0.9149944186210632, 0.14365673065185547, -0.015012137591838837, -0.7333376407623291, -0.1922002136707306, 0.3450106680393219, 0.462062269449234, 0.18061693012714386, 0.17107084393501282, -0.4038960337638855, -0.08721157908439636, -0.06593834608793259, 0.05043831467628479, 0.4048164188861847, 0.10129702091217041, -0.279130220413208, -0.1640452891588211, -0.9552316069602966, 0.012872721999883652, 0.20056460797786713, -0.458334356546402, -0.11306743323802948, 0.09508660435676575, -0.452099084854126, 0.31522655487060547, 0.10081972926855087, -0.6667100191116333, 0.2656708061695099, -0.30774810910224915, 0.26989707350730896, 0.19508080184459686, 0.4058161973953247, 0.5208742022514343, -0.12043837457895279, 0.3338078558444977, 0.15691204369068146, 0.3068625330924988, -0.10334106534719467, -0.354474812746048, -0.589406430721283, 0.3298807442188263, 0.1819918006658554, 0.6001961827278137, -0.9007729887962341, 0.5538994669914246, -0.4665766954421997, -0.6117616295814514, -0.41987594962120056, 0.2744276821613312, 0.09529459476470947, 0.7465535402297974, 0.26900485157966614, 0.06711610406637192, -0.7348645329475403, -0.5936302542686462, -0.5469290018081665, 0.11883071810007095, 0.47809678316116333, 0.3809715509414673, 0.24395905435085297, 0.49412453174591064, 0.9923679828643799, -0.8354529738426208, -0.5783672332763672, -0.46935009956359863, 0.06497006863355637, 0.061996642500162125, 0.29511454701423645, 0.8875066041946411, -0.7257722020149231, -0.6558838486671448, -0.11516045033931732, -1.1671062707901, 0.24963097274303436, -0.12108170241117477, -0.11643973737955093, -0.07387234270572662, 0.5299381017684937, -0.5982190370559692, 0.6050703525543213, 0.35202476382255554, -0.5035129189491272, 0.3398861885070801, -0.20429228246212006, 0.31297022104263306, -0.9051756262779236, -0.13955917954444885, 0.3464399576187134, -0.48402655124664307, -0.43930312991142273, -0.39460837841033936, -0.3595908284187317, -0.1565486192703247, -0.34003275632858276, 0.4218902587890625, -0.48946085572242737, -0.05704624578356743, -0.3628077507019043, 0.29656606912612915, 0.2749581038951874, 0.3470652103424072, 0.09049834311008453, 0.15663424134254456, 0.3874874413013458, -0.7063667178153992, 0.7258772253990173, 0.3592216670513153, -0.20893007516860962, 0.2870107591152191, -0.41897666454315186, -0.06820283085107803, -0.599560022354126, 0.4840918481349945, -0.8427293300628662, -0.3037305772304535, 0.5288049578666687, -0.5576508641242981, 0.2316880077123642, -0.12092993408441544, -0.3702033460140228, -0.8152274489402771, -0.060216497629880905, 0.2878158390522003, 0.13763947784900665, 0.09556718170642853, 0.5454416275024414, 0.7245304584503174, -0.1311245858669281, -0.13742974400520325, -0.4019859731197357, 0.0036881319247186184, 0.047068871557712555, -0.5722127556800842, 0.2318205088376999, -0.0035119187086820602, 0.07453911751508713, 0.40241095423698425, -0.004112801048904657, -0.27793875336647034, -0.0002469406754244119, 0.1247081384062767, 0.12906283140182495, -0.25668370723724365, 0.17696422338485718, 0.18847709894180298, 0.12219350039958954, -0.16478979587554932, -0.630495548248291, 0.25365909934043884, 0.18440166115760803, -0.03909257426857948, -0.51026850938797, 0.5489864349365234, 0.28863826394081116, -0.11327466368675232, 0.7129417657852173, 0.4249042570590973, -0.4170766770839691, -0.2281506508588791, -0.37302395701408386, 0.04650947451591492, -0.35376861691474915, 0.3509519398212433, -0.4031619131565094, -0.7422400116920471, 0.33058273792266846, 0.020296432077884674, 0.13454580307006836, 0.7958388924598694, 0.26717716455459595, -0.4352225661277771, 1.178971290588379, 0.5133668184280396, -0.05833692103624344, 0.3416458070278168, -0.4376322031021118, 0.27676141262054443, -0.41737455129623413, -0.5428411364555359, -0.33369776606559753, -0.5790426731109619, -0.12651562690734863, 0.2620687484741211, 0.5116720199584961, 0.22927403450012207, -0.3310260474681854, 0.37368088960647583, -0.6820605397224426, 0.7896531224250793, 0.7213950753211975, 0.46425509452819824, 0.5202704071998596, -0.19325484335422516, 0.05685010552406311, -0.11676406115293503, -0.9079816341400146, -0.08770245313644409, 1.0432453155517578, 0.004017957951873541, 0.44944384694099426, -0.05543528497219086, 0.8141513466835022, 0.4869607090950012, 0.5617404580116272, -0.7868980765342712, 0.2259705811738968, -0.20250707864761353, -0.6389177441596985, -0.6403622031211853, -0.33877888321876526, -0.5436355471611023, -0.2764313817024231, -0.6404549479484558, -0.42834892868995667, -0.1868533194065094, 0.16109876334667206, -0.7344083786010742, 0.4099588692188263, -0.5785955786705017, 0.48332422971725464, -0.16906678676605225, -0.02222243696451187, 0.20847782492637634, -0.43334755301475525, 0.6394751071929932, 0.0014218924334272742, 0.38429152965545654, -0.14022216200828552, 0.30441537499427795, 1.0310235023498535, -0.4774465262889862, 0.6712603569030762, -0.37345513701438904, 0.283401757478714, 0.5817548632621765, 0.12788203358650208, 0.44997382164001465, 0.3053610324859619, 0.07415546476840973, -0.25838395953178406, -0.3500399589538574, -0.11759297549724579, -0.5604353547096252, 0.3467049300670624, -0.7823874950408936, -0.48565351963043213, -0.19527022540569305, -0.58949214220047, -0.5268996953964233, 0.6955355405807495, 0.3211379945278168, 0.5970558524131775, -0.2114427089691162, 0.05658803880214691, 0.2368782013654709, 0.15078027546405792, 0.5805075168609619, 0.44326192140579224, -0.19818170368671417, -0.6021527051925659, 0.8495476245880127, 0.33583617210388184, -0.4555913805961609, 0.35534054040908813, 0.007184569723904133, -0.22328178584575653, -0.8625361323356628, -0.4356912076473236, 0.06027737632393837, -0.7325778603553772, -0.9063233137130737, -0.6497620940208435, -0.48699256777763367, -0.8392173647880554, -0.03339556232094765, -0.09958860278129578, -0.4959510564804077, -0.02867237664759159, -0.3746306896209717, 0.3042793571949005, 1.1508903503417969, 0.09962542355060577, 0.37463846802711487, -1.177355170249939, 0.6410943269729614, 0.20692268013954163, 0.5206623077392578, -0.1415879875421524, -0.19724169373512268, -0.49215614795684814, 0.07878407835960388, -0.5918538570404053, -1.0436596870422363, 0.3892715275287628, 0.2650550901889801, 0.6461790800094604, 0.41075465083122253, 0.03573213145136833, 0.4740064740180969, -0.7545183897018433, 0.7442996501922607, 0.4669096767902374, -0.7897045612335205, 0.7728692293167114, -0.6209359765052795, 0.03146366775035858, 0.5920224785804749, 0.4425131380558014, -0.24548771977424622, -0.8372047543525696, -0.8488067388534546, -0.40968021750450134, 0.8005593419075012, 0.22697211802005768, -0.12113884836435318, -0.13441386818885803, 0.6027345657348633, 0.1643129289150238, 0.3458704948425293, -0.5974606275558472, -0.3488856852054596, -0.5571803450584412, -0.4429607093334198, 0.11544141173362732, -0.021058516576886177, -0.10593857616186142, -0.670077383518219, 0.830756664276123, -0.19364620745182037, 0.09345900267362595, 0.29904475808143616, -0.28838250041007996, -0.08416640013456345, -0.3510846793651581, 0.45577576756477356, 0.7296126484870911, -0.0417574979364872, -0.1839158535003662, 0.1586408019065857, -0.267604798078537, 0.06416179239749908, 0.41759592294692993, -0.4850790500640869, 0.2681474983692169, 0.3910353183746338, 0.9275254607200623, 0.45072755217552185, -0.10222309082746506, 0.5118889212608337, 0.0010216768132522702, -0.7520249485969543, -0.10970596969127655, 0.012430633418262005, 0.29090192914009094, 0.38024166226387024, 0.5292102694511414, 0.30057084560394287, 0.23019817471504211, -0.44868165254592896, 0.4465261399745941, 0.2991968095302582, -0.43107110261917114, -0.18365509808063507, 1.1993277072906494, 0.3465937674045563, -0.12533427774906158, 0.43201184272766113, -0.3859434127807617, -0.5807089805603027, 0.6107104420661926, 0.4175359308719635, 0.4647066295146942, 0.24884536862373352, 0.6938809156417847, 0.4018554091453552, -0.08117391914129257, 0.11754024773836136, 0.15959209203720093, 0.111104816198349, -0.8438776731491089, -0.3076237738132477, -0.7514416575431824, -0.019994176924228668, -0.11360956728458405, -0.16051636636257172, 0.17516513168811798, -0.1878974586725235, -0.3281516134738922, 0.5165392756462097, 0.44979599118232727, -0.9984176754951477, 0.5272175073623657, 0.3126586377620697, 1.044995903968811, -0.7231079936027527, 0.6298009157180786, 0.9427679181098938, -0.9246736764907837, -1.1966533660888672, -0.2548568844795227, -0.1405828297138214, -0.7188024520874023, 0.8716675639152527, -0.22277608513832092, 0.28585579991340637, 0.42209479212760925, -0.3747226893901825, -0.5815102458000183, 1.3816477060317993, 0.39686015248298645, -0.22821664810180664, -0.6081500053405762, 0.368901789188385, 0.21307937800884247, -0.6002724170684814, 0.21923653781414032, 0.46549686789512634, 0.5984991788864136, 0.3328741192817688, -0.6673312187194824, -0.05284684896469116, -0.07884322851896286, -0.548575222492218, 0.18033701181411743, -0.9268080592155457, 0.5122000575065613, -0.13567982614040375, 0.14443694055080414, -0.4344950318336487, 0.9806447625160217, -0.04268046095967293, 0.37380340695381165, 0.3829822540283203, 0.6036532521247864, 0.8726345896720886, 0.032408054918050766, 0.8928452730178833, -0.5910366773605347, 0.3668641448020935, 0.8775337338447571, -0.06095929071307182, 0.1820243000984192, -0.04239991307258606, -0.04014186933636665, 0.3040148615837097, 0.26891034841537476, -0.14991723001003265, 0.37242627143859863, 0.07302625477313995, -0.22184276580810547, -0.4565105438232422, 0.051196422427892685, -0.1896076798439026, 0.6687132716178894, -0.07224904745817184, -0.5189926624298096, -0.8219588994979858, 0.11649207025766373, 0.12151490896940231, -0.0017472581239417195, -0.4901023507118225, 1.1664726734161377, 0.0036866290029138327, -0.7998755574226379, -0.25674504041671753, -0.07881560176610947, 0.24590402841567993, -0.5265837907791138, -0.08148885518312454, -0.16139189898967743, -0.018358761444687843, -0.2571435272693634, -1.1371160745620728, 0.44129127264022827, -0.02634979411959648, -0.36558252573013306, -0.20831429958343506, 1.1395995616912842, -0.562677264213562, -0.7634157538414001, -0.14246897399425507, 0.7961288094520569, -0.18479345738887787, -0.232495978474617, -0.584980845451355, -0.06591964513063431, -0.201356440782547, -0.412112295627594, -0.01718657836318016, 0.8368093967437744, 0.17072750627994537, 0.38487476110458374, 0.43438345193862915, 0.430113285779953, 0.26177462935447693, 0.10625861585140228, 0.9259544014930725, -0.6183413863182068, -0.6918224692344666, -0.6203217506408691, 0.44703879952430725, -0.5323075652122498, -0.31521132588386536, 0.6414761543273926, 1.0345559120178223, 0.3613640069961548, -0.18598859012126923, 1.1668411493301392, -0.08534641563892365, 0.40608006715774536, -0.4362698495388031, 1.0975703001022339, -0.23411458730697632, -0.24684341251850128, -0.06386076658964157, -0.6046621799468994, -0.586542010307312, -0.0743807852268219, -0.03798902779817581, -0.33935558795928955, 0.6995751857757568, -0.059299174696207047, 0.07291170954704285, 0.21823495626449585, 0.015412664972245693, -0.1168527901172638, 0.4474203586578369, 0.5484362840652466, 0.23511424660682678, -0.6894277930259705, 1.065889596939087, -0.28941044211387634, -0.14363233745098114, -0.20656074583530426, -0.9063437581062317, -1.0594983100891113, -0.5776700973510742, -0.36499151587486267, -0.4299536347389221, 0.2668105661869049, 0.5568246841430664, 0.6236156225204468, -0.5702912211418152, 0.27399471402168274, -0.06990983337163925, 0.21962213516235352, -0.33645349740982056, -0.2647411525249481, 0.4298369586467743, -0.6901443004608154, -0.5277315974235535, 0.05112353712320328, 0.019629141315817833, -0.09392553567886353, 0.1443014293909073, 0.015165221877396107, -0.17922481894493103, -0.13902564346790314, 0.7401241064071655, 0.3830099105834961, 0.047488655894994736, -0.5978147387504578, 0.008908582851290703, -0.07900486141443253, 0.13425126671791077, 0.8562321662902832, -1.080224633216858, 0.08798719942569733, 0.5837267637252808, 0.6142354011535645, 0.5862557291984558, -0.03942234814167023, 0.6327208280563354, -0.7626374959945679, 0.09285236150026321, 0.23726309835910797, 0.22466576099395752, 0.1725430190563202, -0.5380786657333374, 0.15264245867729187, 0.7610843777656555, -0.18417832255363464, -0.3465682566165924, -0.13044174015522003, -0.7898238897323608, -0.14588254690170288, 0.996966540813446, 0.2581627666950226, -0.37453529238700867, -0.12275189906358719, -0.12343480437994003, 0.8449431657791138, -0.34414324164390564, 0.8317592144012451, 0.7741093635559082, -0.35007375478744507, 0.0995529294013977, -0.4761653542518616, 0.8367787003517151, -0.6520028710365295, -0.6997624039649963, -0.32141631841659546, 0.4809313416481018, 0.4432544708251953, -0.18104244768619537, 0.9210028648376465, 0.1239909678697586, 0.2127595841884613, 0.31969109177589417, -0.07904912531375885, -0.7083774209022522, -0.3790739178657532, 0.6683650016784668, 0.5172422528266907, -0.4187699556350708, -0.08219897747039795 ]
http://arxiv.org/abs/2402.11190v1
http://arxiv.org/pdf/2402.11190v1
Disclosure and Mitigation of Gender Bias in LLMs
2024-02-17T04:48:55
2024-02-17T04:48:55
Xiangjue Dong, Yibo Wang, Philip S. Yu, James Caverlee
cs.CL
cs.CL
Large Language Models (LLMs) can generate biased responses. Yet previous direct probing techniques contain either gender mentions or predefined gender stereotypes, which are challenging to comprehensively collect. Hence, we propose an indirect probing framework based on conditional generation. This approach aims to induce LLMs to disclose their gender bias even without explicit gender or stereotype mentions. We explore three distinct strategies to disclose explicit and implicit gender bias in LLMs. Our experiments demonstrate that all tested LLMs exhibit explicit and/or implicit gender bias, even when gender stereotypes are not present in the inputs. In addition, an increased model size or model alignment amplifies bias in most cases. Furthermore, we investigate three methods to mitigate bias in LLMs via Hyperparameter Tuning, Instruction Guiding, and Debias Tuning. Remarkably, these methods prove effective even in the absence of explicit genders or stereotypes.
[ -0.3505702316761017, -0.8346812725067139, 0.6073459982872009, 0.2973540127277374, 0.27680572867393494, -0.009021766483783722, -0.2895224988460541, -0.21678578853607178, -0.13391831517219543, 0.681835949420929, -1.0206631422042847, -0.4940083920955658, -0.5067915916442871, 0.20954768359661102, -0.42420780658721924, 0.6964578032493591, 0.013653944246470928, 0.4031126797199249, -0.21405206620693207, 0.16383473575115204, -0.533534586429596, -0.47192075848579407, -0.7953178882598877, -0.4187403917312622, 0.5108452439308167, 0.4746634066104889, 0.4474989175796509, 0.7188493609428406, 0.29780733585357666, 0.39293619990348816, -0.3158213794231415, 0.07671532779932022, -0.6352583169937134, 0.3366513252258301, -0.2273985594511032, -0.8329529166221619, -0.5058325529098511, 0.26362767815589905, 0.6320947408676147, 0.786198079586029, 0.09806328266859055, 0.4071533679962158, 0.3037843704223633, 0.7472895979881287, -0.8175035119056702, 0.10819689184427261, -0.670356810092926, 0.12605513632297516, -0.1687404066324234, -0.26562920212745667, -0.5888541340827942, -0.37240496277809143, 0.08811712265014648, -0.25576576590538025, 0.57807856798172, 0.1817834973335266, 0.5539617538452148, 0.1123008131980896, -0.8385396003723145, -0.1464928835630417, -0.7820488810539246, 0.8504059910774231, -0.5491209030151367, 0.3269142210483551, 0.40497151017189026, 0.3334452211856842, -0.10169019550085068, -0.21842683851718903, -0.43042099475860596, -0.44420671463012695, -0.4113575220108032, -0.17291627824306488, -0.12881718575954437, 0.17852850258350372, 0.5808144211769104, 0.14443396031856537, -0.4146726131439209, 0.15454164147377014, -0.012157012708485126, -0.3587632477283478, 0.42972591519355774, 0.15602193772792816, 0.16863715648651123, -0.16112495958805084, -0.34511008858680725, -0.03221200779080391, -1.3181270360946655, -0.3503730297088623, 1.0157755613327026, 0.33224353194236755, -0.2913278639316559, 0.7975785732269287, -0.03894416242837906, 0.46778324246406555, 0.45240435004234314, 0.013585790991783142, 0.11346838623285294, -0.48273754119873047, -0.045004893094301224, 0.2722651958465576, 0.5023322701454163, 0.23597490787506104, 0.3182259500026703, 0.1249355897307396, -0.21113739907741547, -0.00989861786365509, -0.13361792266368866, -0.6846251487731934, 0.29980000853538513, 0.08116837590932846, -0.2730451822280884, -0.41593214869499207, -0.27943703532218933, -0.8816609978675842, -0.6128445267677307, -0.379072904586792, 0.48193061351776123, 0.09271728247404099, -0.25037404894828796, -0.04926452040672302, -0.30602094531059265, 0.3855927884578705, 0.16458247601985931, -1.0831056833267212, 0.2090793251991272, 0.6605967283248901, 0.3591875731945038, 0.2701350450515747, 0.0005702897906303406, -0.6512199640274048, 0.5652620792388916, -0.405254989862442, 0.3154827952384949, -0.5237798690795898, -0.3646511137485504, 0.23273694515228271, -0.09260530024766922, 0.18543905019760132, -0.5809032917022705, 0.37244677543640137, -0.1843164712190628, 0.33360132575035095, -0.6875081658363342, -0.326101154088974, 0.17131634056568146, 0.22804361581802368, -0.4142613708972931, 0.8582648634910583, -0.011942226439714432, -1.1694116592407227, 0.3037777543067932, -0.4274979829788208, -0.2454276829957962, -0.38187047839164734, -0.5540760159492493, -0.17597778141498566, -0.04361158609390259, 0.5468616485595703, 0.2979557514190674, -0.4293636083602905, 0.4499712884426117, -0.23583483695983887, -0.5459588766098022, 0.08503343909978867, -0.5700921416282654, 0.6873905062675476, -0.13389213383197784, -0.7459643483161926, 0.12223904579877853, -0.4508885443210602, -0.390501469373703, 0.10980410128831863, 0.0016854014247655869, -0.35788533091545105, 0.07068981230258942, -0.4201519787311554, 0.015244502574205399, 0.09139884263277054, -0.5736365914344788, 0.12931054830551147, -0.41399022936820984, 0.15068663656711578, 1.1100828647613525, -0.2952325642108917, 0.7696300148963928, -0.21572798490524292, 0.604053795337677, 0.12034199386835098, 0.1536376029253006, -0.03222257271409035, 0.0246705561876297, -1.196460247039795, -0.3385390341281891, 0.35000383853912354, 0.38823452591896057, -0.8421905636787415, 0.3099539577960968, -0.1855103224515915, -0.03516170382499695, -0.5985158681869507, 0.22465425729751587, 0.7937672734260559, 0.8112429976463318, -0.08195900171995163, 0.3422743082046509, -0.7390317320823669, -1.4413623809814453, -0.47195515036582947, -0.2809641659259796, -0.1739027351140976, 0.5158605575561523, 0.35970842838287354, -0.013669248670339584, 0.7984883189201355, -0.5379230380058289, -0.17286120355129242, -0.488743394613266, 0.2953983247280121, 0.22916682064533234, 0.36374756693840027, 0.5243288278579712, -0.649681806564331, -0.024075647816061974, -0.49932822585105896, -0.6295265555381775, -0.44989049434661865, 0.19173471629619598, -0.3853398859500885, 0.13702164590358734, 0.6305155754089355, -0.5685601234436035, 0.23609530925750732, 0.7508774399757385, -0.41056323051452637, 0.4124670922756195, 0.1071021556854248, -0.023303886875510216, -0.7079868316650391, -0.2217894047498703, 0.15608766674995422, -0.30449292063713074, -0.4140143394470215, 0.0061949766241014, 0.23348474502563477, 0.039568912237882614, -0.5866255760192871, 0.7833433747291565, -0.8662075996398926, -0.20652078092098236, -0.1969471573829651, -0.05400010570883751, 0.019163107499480247, 0.1523946225643158, 0.02843557298183441, 0.8219814896583557, 0.5761319994926453, -0.8314644694328308, -0.03376876190304756, 0.14316914975643158, -0.03295465186238289, 0.40778622031211853, -0.5843538641929626, 0.32765212655067444, -0.5094751119613647, 0.6051487326622009, -0.9174401760101318, 0.08847850561141968, 0.45192718505859375, -0.43815934658050537, 0.44956550002098083, -0.4917328655719757, -0.5246601104736328, -0.3355799913406372, -0.6504538655281067, 0.3793514668941498, 0.4888421595096588, -0.6907466053962708, 0.54929518699646, 0.0443260557949543, -0.16012226045131683, -0.8177950382232666, -0.6473004221916199, -0.1855173259973526, -0.21143753826618195, -0.6124808192253113, 0.16081979870796204, -0.31114661693573, -0.3930160701274872, -0.3819293975830078, -0.1530325561761856, 0.3624230921268463, 0.0011096171801909804, 0.2118113487958908, 0.3826831579208374, -0.2999502122402191, 0.09721723943948746, 0.24321192502975464, 0.09904392808675766, 0.24618090689182281, 0.1275920420885086, 0.8846047520637512, 0.10817858576774597, -0.5169717073440552, -0.18440978229045868, 0.43681082129478455, 0.17755357921123505, -0.022828152403235435, 0.6480031609535217, 0.6172260046005249, -0.1463075876235962, -0.2932721972465515, -0.8185246586799622, -0.6380268335342407, -0.6283606886863708, 0.18333382904529572, -0.3470759391784668, -0.9844675064086914, 0.33247268199920654, -0.08397608995437622, -0.19199596345424652, 0.2231711745262146, 0.6227515339851379, -0.014694374985992908, 1.4967657327651978, 0.969511091709137, -0.102469801902771, 0.1176234781742096, 0.014737003482878208, 0.25461509823799133, -0.9150559306144714, -0.11798311024904251, -0.834719717502594, -0.3301863670349121, -0.9087057709693909, -0.3067949712276459, 0.32452380657196045, -0.24291102588176727, -0.4933995008468628, -0.15040706098079681, -0.137311652302742, 0.4716339409351349, 0.6748790740966797, 0.10248878598213196, 0.2563728094100952, -0.10358356684446335, -0.15325257182121277, -0.1493004709482193, -0.48389947414398193, -0.5512546896934509, 1.076408863067627, 0.5000187754631042, 0.8908450603485107, 0.2142217755317688, 0.612887442111969, 0.12279075384140015, 0.33728399872779846, -0.4284946918487549, 0.7700589299201965, 0.1118001639842987, -1.090233325958252, -0.19549240171909332, -0.6794179081916809, -0.641800582408905, 0.23988328874111176, 0.06060272082686424, -0.6328073143959045, 0.4409045875072479, 0.3996470868587494, 0.10069352388381958, 0.11578929424285889, -0.600313127040863, 0.12657594680786133, -0.18764327466487885, -0.5399850010871887, 0.21914701163768768, -0.47846493124961853, 0.8861260414123535, -0.03373583033680916, 0.2409418821334839, -0.2826724946498871, -0.10983666032552719, 0.5474178791046143, -0.21601183712482452, 1.205524206161499, -0.2140960842370987, -0.39411914348602295, -0.18089984357357025, 0.2779603898525238, 0.6007894277572632, 0.36064982414245605, -0.1292339414358139, -0.0064924550242722034, -0.428954154253006, -0.34420254826545715, -0.4219171106815338, 0.8148697018623352, -0.6489662528038025, -1.1618818044662476, -0.41765275597572327, -0.6095203161239624, -0.6908571720123291, 0.04061288759112358, 0.2999943494796753, 0.11935094743967056, -0.0966978669166565, -0.19148604571819305, 1.0054868459701538, -0.5449126362800598, 0.21980130672454834, 0.8739876747131348, -0.307657390832901, 0.316976934671402, 0.34349676966667175, -0.35348036885261536, 0.31913456320762634, 0.372384637594223, 0.391315221786499, -0.27843502163887024, -0.25408288836479187, -0.3104453384876251, 0.5790507197380066, -0.6398898959159851, -0.2141432911157608, -0.5840813517570496, -0.13721445202827454, -0.8203563690185547, 0.14639581739902496, -0.44506898522377014, -0.17781181633472443, -0.06663726270198822, -0.4418536424636841, 0.3538988530635834, 0.5604762434959412, -0.1495063453912735, 0.3431224822998047, -0.37758100032806396, 0.594553530216217, 0.4284888803958893, 0.02039411850273609, -0.22428590059280396, -0.45213213562965393, 0.49637019634246826, 0.2349773496389389, -0.019525956362485886, -0.7769907116889954, 0.45115599036216736, -0.009604700841009617, 0.5733022093772888, 0.4751756191253662, 0.01922750473022461, 0.379133939743042, -0.5680162310600281, 0.6919870972633362, 0.13772298395633698, -1.2411404848098755, 0.8307508826255798, -0.6190670728683472, 0.044480908662080765, 0.4420294463634491, 0.5257659554481506, -0.19013194739818573, -0.5638498663902283, -0.32454124093055725, -0.9558184742927551, 0.8019123673439026, 0.16165845096111298, 0.6062630414962769, -0.0694885328412056, 0.46105262637138367, 0.24464429914951324, 0.49312958121299744, -0.7749835848808289, -0.6667595505714417, 0.3176702558994293, -0.05429460480809212, -0.1685047596693039, -0.6663005948066711, -0.7089216113090515, -0.3686210811138153, 0.5893729329109192, -0.05048440769314766, 0.45499861240386963, 0.11801917105913162, -0.1957896500825882, 0.04386824369430542, 0.29974374175071716, 0.6861422657966614, 0.6926636695861816, -0.47030314803123474, 0.3947225511074066, -0.029017185792326927, -0.28896835446357727, 0.4501769542694092, -0.21559496223926544, -0.6203628182411194, 0.16948001086711884, 0.3504306972026825, 0.7724111080169678, 0.008412313647568226, -0.4734494984149933, 0.627495527267456, -0.13457055389881134, -0.4065566956996918, -0.08989894390106201, 0.03229836747050285, 0.3436109125614166, 0.2051425576210022, 0.23050786554813385, -0.5307456254959106, 0.1486407071352005, -0.7069166302680969, -0.12338990718126297, 0.4961247742176056, -0.45707789063453674, -0.08950979262590408, 0.5531129240989685, 0.24977998435497284, 0.16188456118106842, 0.5304219722747803, -0.0028811227530241013, -0.4757292568683624, 0.7206733226776123, 0.7330967783927917, 0.6675017476081848, -0.37071493268013, 0.4247402846813202, 0.15984250605106354, 0.604856550693512, 0.08462061733007431, 0.3121761679649353, 0.08978273719549179, -0.7632198333740234, -0.22938759624958038, -0.37082335352897644, -0.366941899061203, 0.1377563178539276, -0.6609203815460205, 0.35623693466186523, -0.43292704224586487, -0.13642039895057678, -0.26853230595588684, -0.18065650761127472, -0.7500520348548889, 0.11566421389579773, 0.33844342827796936, 0.8556997179985046, -0.9310709834098816, 0.5022608637809753, 0.2961227297782898, -0.21528713405132294, -0.7373723983764648, 0.12922674417495728, 0.30098769068717957, -1.020669937133789, 1.2085870504379272, 0.09352792054414749, -0.37461110949516296, -0.07876991480588913, -0.6633151769638062, -0.8784096837043762, 0.976715624332428, 0.853795051574707, -0.801658570766449, -0.08988519757986069, 0.29345694184303284, 0.12030302733182907, -0.2093346118927002, 0.5688371062278748, 0.5587811470031738, 0.8229292035102844, -0.09111938625574112, -0.8232345581054688, 0.2663086950778961, 0.07327596843242645, 0.03868873044848442, -0.005482502747327089, -0.5469300150871277, 0.8820183873176575, -0.08929711580276489, -0.03235728666186333, -0.09048092365264893, 0.6290407180786133, 0.39309224486351013, 0.2614077627658844, 0.5418179035186768, 0.10381311923265457, 0.6495180130004883, -0.1924082636833191, 1.008505940437317, 0.089668869972229, -0.07647877186536789, 1.1053999662399292, -0.7182362675666809, 0.3230465054512024, 0.7325378060340881, 0.07711190730333328, 0.09281811118125916, 0.47267746925354004, 0.16961954534053802, 0.3607061207294464, 0.8555545210838318, -0.2980350852012634, -0.06774382293224335, -0.41050899028778076, -0.6112024188041687, 0.46197590231895447, 0.2568460702896118, -0.5832903981208801, -0.18266315758228302, 0.12431810051202774, 0.5283339619636536, 0.014855613000690937, -0.36690810322761536, 0.5057006478309631, 0.04928898438811302, -0.6003076434135437, 0.38602814078330994, 0.21157975494861603, 1.0348002910614014, -0.7288341522216797, -0.041357625275850296, -0.8342617154121399, 0.11844237893819809, -0.0088479770347476, -0.2780131995677948, -0.1545938402414322, -0.02179371565580368, -0.3666055202484131, -0.3834317624568939, 0.7871384620666504, -0.4738076627254486, -0.6680932641029358, 0.46295592188835144, 0.6792604923248291, -0.21869909763336182, -0.07234512269496918, -0.3997208774089813, 0.1605200320482254, 0.04755957052111626, -0.35419681668281555, 0.5658721923828125, 0.17974203824996948, -0.14642763137817383, 0.8710220456123352, 0.4835822582244873, 0.28503313660621643, 0.2052006721496582, 0.41461455821990967, 0.7908199429512024, -0.6120954155921936, 0.009634614922106266, -0.8938806653022766, 0.08003583550453186, -0.07371970266103745, 0.03225765749812126, 0.9953497052192688, 0.38424912095069885, 0.5698568820953369, 0.00627931347116828, 0.7261542677879333, 0.4814981520175934, 0.644113302230835, -0.7774166464805603, 0.6471790671348572, -0.35456541180610657, 0.6522113084793091, -0.2837632894515991, -0.9709542393684387, 0.03845946863293648, 0.20609645545482635, -0.28554680943489075, 0.273274689912796, 0.595115065574646, 1.0207570791244507, -0.030378764495253563, -0.10985919088125229, 0.1729663461446762, 0.419981986284256, 0.2480219453573227, 0.23584412038326263, 1.119388222694397, -0.19439107179641724, 0.4422127902507782, -0.2944789230823517, -0.20560497045516968, -0.031578194350004196, -1.1781941652297974, -0.9982419610023499, -0.07341830432415009, -0.38443782925605774, -0.1548876166343689, 0.49198102951049805, 0.4317293167114258, 0.6998737454414368, -0.2949393093585968, -0.24357502162456512, 0.0862528383731842, 0.32583296298980713, 0.24407173693180084, -0.2520507574081421, 0.22559355199337006, -0.14814193546772003, -1.0103598833084106, 0.5140671133995056, -0.03555683791637421, -0.08679083734750748, -0.5022411942481995, 0.1811646968126297, -0.08059515804052353, 0.3034604489803314, 0.3704139292240143, -0.12609000504016876, -0.47916460037231445, -0.3265778124332428, -0.05008333548903465, -0.17173004150390625, -0.13887643814086914, 0.985508382320404, -0.6277555227279663, -0.06736382842063904, 0.5660952925682068, 0.2667830288410187, 0.45283734798431396, -0.14735718071460724, 1.146401286125183, -1.1366556882858276, 0.37414705753326416, 0.2566598653793335, 0.32104429602622986, 0.3472343385219574, -0.7375069260597229, 0.31866297125816345, -0.11807101964950562, -0.23837946355342865, -0.8893198370933533, 0.4495384693145752, -0.7684731483459473, -0.40965673327445984, 1.5348678827285767, 0.16795235872268677, -0.09000279754400253, 0.11945227533578873, -0.2677350342273712, 0.314655601978302, -0.24758398532867432, 0.3483370840549469, 0.598355770111084, 0.06671427935361862, -0.04005349054932594, -0.9332109093666077, 0.47200000286102295, 0.7698429226875305, -0.5314794182777405, 0.09455668926239014, 0.4173074960708618, 0.38068726658821106, -0.33531519770622253, 0.6714807152748108, -0.23172134160995483, -0.08998415619134903, -0.1844273805618286, 0.09951549023389816, -0.023032745346426964, -0.16493283212184906, -0.2311766892671585, -0.20409627258777618, 0.0336434468626976, -0.15455161035060883 ]
http://arxiv.org/abs/2402.11187v1
http://arxiv.org/pdf/2402.11187v1
LaCo: Large Language Model Pruning via Layer Collapse
2024-02-17T04:16:30
2024-02-17T04:16:30
Yifei Yang, Zouying Cao, Hai Zhao
cs.CL
cs.CL, cs.AI
Large language models (LLMs) based on transformer are witnessing a notable trend of size expansion, which brings considerable costs to both model training and inference. However, existing methods such as model quantization, knowledge distillation, and model pruning are constrained by various issues, including hardware support limitations, the need for extensive training, and alterations to the internal structure of the model. In this paper, we propose a concise layer-wise pruning method called \textit{Layer Collapse (LaCo)}, in which rear model layers collapse into a prior layer, enabling a rapid reduction in model size while preserving the model structure. Comprehensive experiments show that our method maintains an average task performance of over 80\% at pruning ratios of 25-30\%, significantly outperforming existing state-of-the-art structured pruning methods. We also conduct post-training experiments to confirm that the proposed pruning method effectively inherits the parameters of the original model. Finally, we discuss our motivation from the perspective of layer-wise similarity and evaluate the performance of the pruned LLMs across various pruning ratios.
[ -0.3044254779815674, -0.7166913747787476, 0.4271255135536194, 0.0774146020412445, -0.3440529406070709, 0.04325096309185028, -0.3650567829608917, -0.2232341170310974, -0.0661953017115593, 0.8028458952903748, -0.7456249594688416, -0.3751350939273834, -0.2961895763874054, -0.18799568712711334, -0.5921752452850342, 0.7688159346580505, 0.17854799330234528, -0.3410257399082184, -0.16516627371311188, 0.1852986365556717, -0.3218117356300354, -0.508450448513031, -0.9212680459022522, -0.42415475845336914, 0.43731871247291565, 0.358895480632782, 0.4557713270187378, 0.6344688534736633, 0.36574047803878784, 0.43051019310951233, -0.5223901867866516, 0.37318339943885803, -0.6124960780143738, 0.1455715447664261, 0.21666909754276276, -0.6197465062141418, -0.37365269660949707, -0.060590535402297974, 0.9974747896194458, 0.7952312231063843, -0.3042049705982208, 0.18551068007946014, 0.19934584200382233, 0.8264514207839966, -0.636400043964386, 0.12339729070663452, -0.8465322256088257, 0.19028589129447937, -0.03072342649102211, 0.05620024725794792, -0.7060351967811584, -0.12683254480361938, -0.1916174292564392, -0.3225333094596863, 0.38970062136650085, 0.05457163229584694, 0.8569339513778687, 0.26156559586524963, -0.38129010796546936, 0.3260871469974518, -1.0977720022201538, 1.0102983713150024, -0.9726985096931458, 0.41130539774894714, 0.1980600357055664, 0.2812768816947937, 0.15276890993118286, -0.624302089214325, -0.5671908855438232, -0.42788952589035034, -0.15193581581115723, 0.09685361385345459, 0.14342376589775085, 0.06623254716396332, 0.22138193249702454, 0.5371759533882141, -0.2668535113334656, 0.26695939898490906, -0.5063923597335815, -0.298818975687027, 0.39427223801612854, -0.08669126778841019, 0.26115718483924866, 0.05698179081082344, -0.4017620086669922, -0.13880601525306702, -1.1449530124664307, -0.06798612326383591, 0.4935506582260132, 0.1394975185394287, 0.34729301929473877, 0.4615044593811035, 0.030651364475488663, 0.6331928968429565, -0.16090244054794312, -0.4641322195529938, 0.18139652907848358, -0.12091916799545288, -0.5061873197555542, -0.07598181813955307, 0.8348934650421143, 0.3276245594024658, 0.1846417337656021, -0.30646273493766785, -0.25247225165367126, -0.268815815448761, 0.2058868706226349, -0.8571814298629761, -0.16260573267936707, 0.28531548380851746, -0.44855019450187683, -0.21685318648815155, -0.03602367267012596, -0.2623785436153412, -0.04252074286341667, -0.18609771132469177, 0.0711413323879242, -0.5775472521781921, -0.3181942105293274, -0.007593986112624407, 0.22743546962738037, 0.18297819793224335, 0.35795608162879944, -0.6259881258010864, 0.5284538269042969, 0.8945134282112122, 0.9669689536094666, 0.0069326371885836124, -0.25070682168006897, -0.675166666507721, 0.21008306741714478, -0.2989295423030853, 0.2683470547199249, -0.18164940178394318, -0.32556790113449097, -0.09159806370735168, 0.0251326821744442, -0.1491190791130066, -0.7811999917030334, 0.9009709358215332, -0.6525994539260864, 0.05391337350010872, 0.01050780713558197, -0.45331379771232605, -0.4041610360145569, 0.39904096722602844, -0.8736682534217834, 0.7257354259490967, -0.11423038691282272, -0.6791063547134399, -0.18622930347919464, -0.16687355935573578, -0.6550476551055908, -0.1414073407649994, 0.26368284225463867, -0.8056596517562866, 0.2619323134422302, 0.3471672236919403, 0.6003044247627258, -0.5804346203804016, 0.3281496465206146, -0.10053688287734985, -0.20648488402366638, -0.01200393121689558, -0.19184286892414093, 0.9489374160766602, 0.2454141229391098, 0.0598103366792202, 0.09373112767934799, -0.7114812731742859, -0.11893640458583832, 0.2004484385251999, -0.2164393961429596, -0.3891715109348297, 0.07618377357721329, -0.20274636149406433, 0.17044173181056976, 0.13144610822200775, -0.6393309235572815, 0.18040212988853455, -0.7835015654563904, 1.0685017108917236, 0.5224497318267822, -0.029045116156339645, 0.5994547605514526, -0.2963027060031891, 0.3712077736854553, 0.10620206594467163, 0.31626635789871216, -0.2874264717102051, -0.13252589106559753, -1.0519956350326538, -0.2147505283355713, 0.2819274067878723, 0.39890849590301514, -0.574352502822876, 0.6064894199371338, -0.35178428888320923, -0.4821673631668091, -0.5363418459892273, 0.3749435842037201, 0.5285412073135376, 0.7528314590454102, 0.29464370012283325, -0.22429536283016205, -0.3354048728942871, -1.3167394399642944, 0.11369738727807999, -0.23956149816513062, -0.32871514558792114, 0.011567742563784122, 0.33673545718193054, 0.17118456959724426, 0.8598014116287231, -0.5378906726837158, -0.39521315693855286, -0.37413299083709717, -0.03521503135561943, 0.23519694805145264, 0.673369824886322, 0.274713397026062, -0.7848942279815674, -0.08701261132955551, 0.20350973308086395, -0.3336479067802429, 0.026093166321516037, -0.10944998264312744, 0.1109960600733757, -0.06227773055434227, 0.6052245497703552, -0.691068172454834, -0.027597548440098763, 0.5473794341087341, 0.3445599377155304, 0.7047321200370789, -0.124717116355896, -0.176547572016716, -1.0152888298034668, -0.04287303239107132, 0.06047139689326286, -0.23391889035701752, -0.7460722923278809, 0.23893791437149048, 0.21379008889198303, -0.14661283791065216, -0.624826967716217, 0.3238280415534973, -0.7698519229888916, 0.08862272650003433, -0.1883644312620163, -0.019700651988387108, 0.21194607019424438, 0.5699795484542847, 0.028608884662389755, 0.4269213080406189, 0.37766098976135254, -0.5626896619796753, 0.33077389001846313, 0.021281523630023003, -0.5477117300033569, -0.19073159992694855, -0.8542171716690063, 0.26293355226516724, -0.1318957805633545, 0.3385234475135803, -0.8068189024925232, 0.2051849067211151, 0.0104666817933321, 0.021778736263513565, 0.35365283489227295, -0.4452347755432129, -0.531317949295044, -0.46221768856048584, -0.47860461473464966, 0.39547088742256165, 0.6080496907234192, -0.4443574547767639, 0.5883135795593262, 0.402974933385849, -0.11251132935285568, -0.5599154829978943, -0.8870221376419067, 0.058171167969703674, -0.5351639986038208, -0.8118951916694641, 0.5633982419967651, -0.12023305147886276, -0.21255230903625488, -0.21353627741336823, -0.2243722528219223, -0.08749160915613174, 0.11132130771875381, 0.29150861501693726, 0.30295926332473755, -0.3170977830886841, -0.05721093341708183, 0.23014885187149048, 0.15223371982574463, 0.15047717094421387, -0.22563768923282623, 0.7554076313972473, -0.08471427112817764, -0.4252122640609741, -0.5360510349273682, 0.12338200211524963, 0.6208107471466064, -0.5900523662567139, 1.015270709991455, 0.3304003179073334, -0.17877523601055145, -0.6747128367424011, -0.7598138451576233, -0.17134089767932892, -0.5216891765594482, 0.3399878442287445, -0.37979963421821594, -1.0889204740524292, 0.7763091921806335, -0.35519254207611084, 0.08712980151176453, 0.2853299379348755, 0.3567592203617096, 0.018160004168748856, 0.6438786387443542, 0.6076260209083557, -0.2649659812450409, 0.5311127305030823, -0.5713114738464355, 0.25371503829956055, -1.0466820001602173, -0.173300102353096, -0.5449427962303162, -0.29875871539115906, -0.05787154659628868, -0.5222952961921692, 0.09295672923326492, 0.3062869608402252, -0.21640637516975403, 0.4086135923862457, -0.5550198554992676, 0.592734158039093, 0.48650771379470825, 0.24046427011489868, 0.32472360134124756, 0.06541278213262558, 0.10683629661798477, 0.2519022226333618, -0.7934923768043518, -0.24480237066745758, 0.5959084630012512, 0.6437546610832214, 0.5084023475646973, 0.04589718207716942, 0.7179256677627563, -0.1287459433078766, 0.2851267158985138, -0.9521803855895996, 0.7093837261199951, -0.19572971761226654, -0.3008876442909241, -0.5488638281822205, -0.7218617796897888, -0.6263638734817505, 0.32335853576660156, 0.07894694805145264, -0.7055785059928894, 0.10787606984376907, 0.24067199230194092, -0.270230770111084, 0.4939011335372925, -0.8593496084213257, 0.49456074833869934, -0.09114894270896912, -0.25664740800857544, -0.0678616315126419, -0.5976095199584961, 0.8040187954902649, -0.15786050260066986, 0.31279635429382324, -0.02367282845079899, 0.025038285180926323, 0.8219802379608154, -0.8961061835289001, 0.9839262366294861, -0.08568217605352402, -0.352857381105423, 0.41441965103149414, 0.3139927387237549, 0.6395860910415649, -0.22740212082862854, -0.13276401162147522, 0.16027839481830597, -0.3088681697845459, -0.136537104845047, -0.8228824138641357, 0.8031367659568787, -0.6929056644439697, -0.6995489597320557, 0.30307358503341675, -0.6470361351966858, -0.271973580121994, 0.08432312309741974, -0.05365941673517227, 0.47231626510620117, -0.04966636002063751, 0.37016427516937256, 0.5456410050392151, -0.25147637724876404, 0.5136408805847168, 0.3727153241634369, -0.16877123713493347, -0.30976971983909607, 0.9056426882743835, 0.15973177552223206, 0.387969434261322, 0.7321299910545349, 0.40507835149765015, -0.07920961081981659, -0.9027594923973083, 0.008182339370250702, 0.3913425803184509, -0.39324846863746643, -0.27140289545059204, -0.2927352786064148, -0.6905694007873535, -0.32971182465553284, 0.06818622350692749, -0.5148991942405701, -0.6175009608268738, 0.17324978113174438, -0.1469060778617859, -0.016109108924865723, 0.49024754762649536, 0.43197375535964966, 0.7307878136634827, -0.9873727560043335, 0.03611341863870621, 0.23708604276180267, 0.14379197359085083, 0.37584036588668823, -0.608138918876648, -0.25580745935440063, -0.1359606236219406, -0.12600450217723846, -0.532265841960907, 0.5975499749183655, 0.4189608097076416, 0.40089306235313416, 0.6395304203033447, 0.19985848665237427, 0.6292116045951843, -0.7271458506584167, 0.5180049538612366, 0.4390224814414978, -0.9814934134483337, 0.6628369688987732, -0.1952204555273056, 0.3373540937900543, 0.31868547201156616, 0.20139051973819733, -0.3739755153656006, -0.5385663509368896, -0.5256940126419067, -1.110605001449585, 0.6119531393051147, 0.36973729729652405, 0.020992295816540718, 0.25710585713386536, 0.40580517053604126, 0.0038875441532582045, 0.10770397633314133, -0.8741387128829956, -0.21287982165813446, 0.013330151326954365, 0.07354676723480225, -0.1432999223470688, -0.44107940793037415, -0.3117218017578125, -0.19502590596675873, 0.702614426612854, 0.12136457115411758, -0.13967262208461761, -0.019594503566622734, -0.3900282382965088, 0.16694790124893188, 0.21569141745567322, 0.4037972688674927, 0.5766242742538452, -0.19956128299236298, 0.34613317251205444, 0.11090495437383652, -0.46300941705703735, 0.09193416684865952, -0.19284285604953766, -0.539402961730957, -0.2763592600822449, 0.6301286816596985, 0.8311696648597717, 0.20013053715229034, -0.5166362524032593, 0.24682311713695526, 0.07358963787555695, -0.32817432284355164, -0.0690920501947403, 0.2308841049671173, 0.24028848111629486, 0.07320103049278259, 0.37932711839675903, -0.07858111709356308, -0.014624395407736301, -0.6247986555099487, 0.07214534282684326, 0.3629908263683319, -0.12014991790056229, -0.23126773536205292, 0.45076683163642883, 0.3044438362121582, -0.4226806163787842, 0.7062097787857056, 0.18275894224643707, -0.6111694574356079, 0.7233255505561829, 0.6686832904815674, 0.7091012001037598, -0.3415481746196747, 0.23337914049625397, 0.4869367182254791, 0.7340037822723389, -0.4454863667488098, -0.469585120677948, -0.2700783610343933, -0.924157977104187, -0.8965839147567749, -0.7003406882286072, -0.20310071110725403, 0.4339202046394348, -0.5512403845787048, -0.055004507303237915, -0.6554164290428162, 0.011003791354596615, -0.208438441157341, 0.023083705455064774, -0.20986470580101013, 0.31875914335250854, 0.09688252955675125, 1.0640003681182861, -0.9252116680145264, 1.2451276779174805, 0.4872446358203888, -0.4012591242790222, -0.8352915644645691, 0.01849251613020897, -0.1613054871559143, -0.7781516313552856, 0.6845566630363464, 0.14700947701931, -0.2582338750362396, -0.018005356192588806, -0.4555474519729614, -0.6933113932609558, 1.1190516948699951, 0.7675744891166687, -1.050922155380249, -0.1711972951889038, 0.17282697558403015, 0.2822422683238983, -0.29709747433662415, 0.1138070598244667, 0.47769683599472046, 0.370630145072937, 0.3210544288158417, -0.8806058764457703, 0.1595737338066101, -0.3428719639778137, 0.2159986048936844, 0.3584829270839691, -0.8794995546340942, 0.8261368870735168, -0.002645696047693491, -0.3687037527561188, -0.01712646149098873, 0.7444531321525574, 0.0612318180501461, 0.004055126570165157, 1.034053921699524, 0.5991472601890564, 0.6787959337234497, 0.013085204176604748, 0.7807268500328064, -0.2918013334274292, 0.5137065649032593, 1.2651535272598267, -0.3185316324234009, 0.8573936820030212, 0.5012965798377991, -0.2272697538137436, 0.27289247512817383, 0.3570212423801422, 0.10043059289455414, 0.4288877248764038, 0.2893519997596741, -0.11713232845067978, -0.35416489839553833, -0.00864221341907978, -0.21818797290325165, 0.2258467972278595, 0.21875259280204773, -0.224253848195076, -0.07762712240219116, -0.010035856626927853, 0.11742974817752838, 0.058564793318510056, -0.4009387195110321, 0.5636093020439148, 0.31381842494010925, -0.636987566947937, 0.6097759008407593, 0.03430983051657677, 0.4344503581523895, -0.7043052911758423, 0.24024330079555511, -0.27769735455513, 0.2426493912935257, -0.19371700286865234, -0.4684910476207733, 0.4653167426586151, -0.3113476634025574, -0.09196293354034424, -0.466248482465744, 0.8507687449455261, -0.4590640664100647, -0.7522146105766296, 0.41998156905174255, 0.4587346613407135, 0.019877610728144646, -0.27873343229293823, -0.4573994278907776, 0.4281024634838104, 0.12873806059360504, -0.38252636790275574, 0.3586893677711487, 0.30727559328079224, 0.04374818503856659, 0.9293763637542725, 0.5528078675270081, 0.27161118388175964, -0.04839928448200226, 0.24981604516506195, 1.0762141942977905, -0.5166589617729187, -0.15133842825889587, -0.8492137789726257, 0.4847213327884674, -0.2134748101234436, 0.0370720699429512, 0.7491785883903503, 0.6658725142478943, 0.8404949307441711, 0.07626718282699585, 0.42996713519096375, 0.16455061733722687, 0.35372596979141235, -0.7671568989753723, 0.7491665482521057, -0.6182178854942322, 0.64846271276474, -0.09447525441646576, -1.091483235359192, -0.27918967604637146, 0.5319147109985352, -0.3220520615577698, -0.06929853558540344, 0.6957966089248657, 0.7507493495941162, -0.18770243227481842, -0.25087958574295044, 0.40748003125190735, 0.6113532185554504, 0.2550024092197418, 0.46946245431900024, 0.7352936267852783, -0.1921928972005844, 0.6979760527610779, -0.7008143663406372, -0.16499944031238556, 0.0032900769729167223, -0.8995460867881775, -0.9086494445800781, -0.7412696480751038, -0.3880515396595001, -0.1297168880701065, -0.09952305257320404, 0.32050585746765137, 0.9581535458564758, -0.7154873013496399, -0.3569486439228058, -0.030059456825256348, 0.2239314764738083, -0.2998523414134979, -0.18708160519599915, 0.5069811940193176, -0.059168823063373566, -0.7445339560508728, 0.6243156790733337, 0.23029689490795135, -0.3579223155975342, -0.36867615580558777, 0.035129278898239136, -0.10715968906879425, -0.20589333772659302, 0.8355756998062134, 0.24507786333560944, -0.7588545680046082, 0.0064218780025839806, -0.33397284150123596, 0.2985873520374298, -0.10639078915119171, 0.9962773323059082, -0.7988540530204773, -0.011088764294981956, 0.3751571774482727, 0.5672799348831177, 0.75319504737854, 0.11619681119918823, 0.7140790224075317, -1.082604169845581, 0.3675537407398224, 0.2139097899198532, 0.5491164326667786, 0.2826845347881317, -0.07393141090869904, 0.3487761318683624, -0.02483218163251877, -0.3784596621990204, -0.9890168905258179, 0.372572124004364, -1.1959128379821777, -0.4317565858364105, 1.0214409828186035, -0.2625088691711426, -0.651748776435852, 0.35878682136535645, -0.21002936363220215, 0.2657160460948944, -0.27202385663986206, 0.6723588109016418, 0.5249611139297485, 0.20723627507686615, -0.6301245093345642, -0.3629119098186493, 0.16533246636390686, 0.2985953688621521, -0.6251495480537415, 0.33049920201301575, 0.3929816782474518, 0.12936511635780334, 0.35745543241500854, 0.38016727566719055, 0.0028355864342302084, -0.3266502320766449, -0.23989161849021912, 0.060065798461437225, -0.43044763803482056, -0.44228342175483704, -0.09559939056634903, 0.6863164901733398, -0.03128765523433685, -0.1223093643784523 ]
http://arxiv.org/abs/2402.11178v1
http://arxiv.org/pdf/2402.11178v1
RENOVI: A Benchmark Towards Remediating Norm Violations in Socio-Cultural Conversations
2024-02-17T03:13:42
2024-02-17T03:13:42
Haolan Zhan, Zhuang Li, Xiaoxi Kang, Tao Feng, Yuncheng Hua, Lizhen Qu, Yi Ying, Mei Rianto Chandra, Kelly Rosalin, Jureynolds Jureynolds, Suraj Sharma, Shilin Qu, Linhao Luo, Lay-Ki Soon, Zhaleh Semnani Azad, Ingrid Zukerman, Gholamreza Haffari
cs.CL
cs.CL
Norm violations occur when individuals fail to conform to culturally accepted behaviors, which may lead to potential conflicts. Remediating norm violations requires social awareness and cultural sensitivity of the nuances at play. To equip interactive AI systems with a remediation ability, we offer ReNoVi - a large-scale corpus of 9,258 multi-turn dialogues annotated with social norms, as well as define a sequence of tasks to help understand and remediate norm violations step by step. ReNoVi consists of two parts: 512 human-authored dialogues (real data), and 8,746 synthetic conversations generated by ChatGPT through prompt learning. While collecting sufficient human-authored data is costly, synthetic conversations provide suitable amounts of data to help mitigate the scarcity of training data, as well as the chance to assess the alignment between LLMs and humans in the awareness of social norms. We thus harness the power of ChatGPT to generate synthetic training data for our task. To ensure the quality of both human-authored and synthetic data, we follow a quality control protocol during data collection. Our experimental results demonstrate the importance of remediating norm violations in socio-cultural conversations, as well as the improvement in performance obtained from synthetic data.
[ -0.3457440137863159, -1.1154670715332031, 0.003567351261153817, 0.10668270289897919, -0.16004545986652374, 0.22273869812488556, -0.2930470108985901, -0.4802412688732147, 0.39742472767829895, 0.2896888852119446, -0.46058544516563416, -0.12900853157043457, -0.5041550397872925, 0.16145972907543182, -0.361583948135376, 0.9776992201805115, 0.14575590193271637, 0.008052974008023739, -0.4182850122451782, -0.1419147104024887, -0.4614691734313965, -0.340622216463089, -0.7612091898918152, -0.2530979514122009, 0.5152711868286133, 0.692744791507721, 0.5175765156745911, 0.35477641224861145, 0.40117520093917847, 0.32868751883506775, 0.04100754112005234, 0.6604411005973816, -1.0897096395492554, 0.4655332863330841, 0.008938092738389969, -0.24801978468894958, -0.5727238655090332, 0.0714290514588356, 0.9383265972137451, 0.13322795927524567, -0.12903697788715363, 0.49182888865470886, 0.024093223735690117, 0.4609543979167938, -0.45200687646865845, 0.15985608100891113, -0.5527795553207397, 0.06415567547082901, 0.07524341344833374, -0.15980754792690277, -0.29218825697898865, -0.5230600237846375, -0.25642213225364685, -0.7078002691268921, 0.035447850823402405, -0.16081500053405762, 1.2100297212600708, 0.5646457076072693, -0.4833267629146576, 0.1290917992591858, -0.8885082006454468, 0.6555333137512207, -0.3923003375530243, 0.4853299558162689, 0.505736768245697, 0.30294069647789, -0.32424014806747437, -1.030357003211975, -0.7173010110855103, 0.19931438565254211, -0.02039247751235962, 0.1443309187889099, -0.26045534014701843, -0.31353965401649475, 0.4612160623073578, 0.23136644065380096, -0.1482909619808197, -0.28136706352233887, -0.8256893157958984, -0.46442079544067383, 0.9084331393241882, 0.4388892650604248, 0.2891223430633545, -0.31705284118652344, -0.11842160671949387, -0.21973109245300293, -0.6940892338752747, 0.2286103069782257, 0.33913111686706543, 0.016695160418748856, 0.15174902975559235, 0.05929763987660408, -0.4098396301269531, 0.45455485582351685, -0.05921101197600365, -0.22749051451683044, 0.43620285391807556, -0.6603022813796997, -0.15092141926288605, -0.319975882768631, 0.8451879620552063, 0.6874502897262573, 0.7507929801940918, 0.14893604815006256, -0.11552703380584717, -0.21169574558734894, 0.7042126059532166, -0.8699871301651001, -0.06916255503892899, -0.1220676377415657, -0.28691866993904114, -0.57855224609375, -0.17266537249088287, -0.6942773461341858, -0.3059494197368622, -0.6038737297058105, 0.2623583972454071, -0.33994951844215393, -0.22931168973445892, -0.20676028728485107, -0.2022138386964798, 0.7622224688529968, 0.5385259389877319, -0.7442683577537537, 0.24461697041988373, 0.6230196952819824, 0.8060092926025391, 0.1343490332365036, 0.0774870365858078, -0.6949061751365662, -0.0902044028043747, -0.31790629029273987, 0.6195792555809021, -0.540501594543457, -0.7814051508903503, -0.031312499195337296, -0.015213927254080772, 0.10789484530687332, -0.43144750595092773, 0.8421279788017273, -0.30419349670410156, -0.07436443865299225, -0.316003680229187, -0.21178007125854492, -0.11012189090251923, 0.7905430197715759, -0.3131370544433594, 0.930561363697052, -0.06335795670747757, -0.6564048528671265, 0.4836684763431549, -0.22220246493816376, -0.5170354247093201, 0.19142112135887146, -0.41492894291877747, -0.5556163787841797, -0.24833862483501434, 0.2180248200893402, 0.06483526527881622, -0.2867031395435333, 0.1668720245361328, 0.13893602788448334, -0.6231088042259216, 0.09062066674232483, -0.6270056962966919, 0.7210376858711243, 0.3743717670440674, 0.004410135094076395, 0.33486708998680115, -0.5731003880500793, 0.025515956804156303, 0.09900804609060287, -0.31741052865982056, -0.2917014956474304, 0.011300182901322842, -0.0013086021644994617, 0.1224270910024643, 0.07257921248674393, -0.6229694485664368, 0.22652317583560944, -0.06410258263349533, 0.5663409233093262, 0.9629799127578735, 0.2731744349002838, 0.11238297820091248, -0.7345267534255981, 0.49411752820014954, -0.1954210102558136, 0.6533520817756653, 0.07186238467693329, -0.5245844125747681, -0.8431747555732727, -0.3496975302696228, -0.012651113793253899, 0.6015879511833191, -0.6630817651748657, -0.19020339846611023, -0.6347028017044067, -0.617999792098999, -0.7417439818382263, 0.20926012098789215, 0.2741847634315491, 0.5830621123313904, 0.15048637986183167, -0.3501272201538086, -0.7115584015846252, -0.8871211409568787, -0.2486286759376526, -0.360794335603714, 0.11243826895952225, 0.6576720476150513, 0.36223626136779785, -0.5674896240234375, 1.1724110841751099, -0.16792301833629608, -0.26004743576049805, 0.21808014810085297, 0.19153591990470886, -0.3027622401714325, 0.4227488040924072, 0.019363459199666977, -1.034270167350769, -0.54944908618927, -0.3012904226779938, -0.789821445941925, 0.10046614706516266, -0.09846528619527817, 0.022638441994786263, 0.06885938346385956, 1.0502663850784302, -0.02013334073126316, 0.5288316607475281, 0.22550331056118011, 0.011881114915013313, 0.628386378288269, -0.3147414028644562, 0.528689980506897, -1.0952672958374023, -0.05982130765914917, -0.12641768157482147, -0.4353877604007721, -0.6941986083984375, -0.2475622594356537, -0.14145240187644958, 0.06601694226264954, -0.6233768463134766, 0.418849915266037, -0.11608146876096725, 0.2688610851764679, 0.11781832575798035, 0.21039776504039764, -0.12323206663131714, 0.3455178141593933, 0.03499819338321686, 0.8452036380767822, 0.047008611261844635, -0.36014682054519653, 0.5082448124885559, 0.5554187297821045, -0.2773197889328003, 0.776513934135437, -0.960690438747406, 0.36908403038978577, -0.2339095175266266, 0.40398624539375305, -1.0715152025222778, -0.22478243708610535, 0.37336626648902893, -0.6567453742027283, -0.05366494134068489, -0.2692698836326599, -0.5928464531898499, 0.20940124988555908, -0.41532665491104126, 0.4922284781932831, 0.850259006023407, -0.13215719163417816, 0.5183195471763611, 0.5827080011367798, -0.11954715102910995, -0.6409381031990051, -0.27559083700180054, 0.34728890657424927, -0.19425387680530548, -0.9323934316635132, -0.2408943921327591, 0.10499770194292068, -0.5507310032844543, -0.40324026346206665, 0.1427551656961441, 0.22148962318897247, 0.12728574872016907, 0.6681615710258484, 0.11493102461099625, 0.15189588069915771, 0.2965694069862366, -0.025280460715293884, -0.10406943410634995, 0.27687686681747437, 0.24589133262634277, 0.41705432534217834, -0.435833215713501, -0.271702378988266, -0.41430047154426575, 0.041216664016246796, 0.7707386016845703, -0.2167188823223114, 0.516329288482666, 1.0558345317840576, -0.22761914134025574, 0.2441839575767517, -0.6340097188949585, -0.4058721959590912, -0.465273916721344, 0.0747491866350174, -0.3213091492652893, -0.8688058853149414, 0.44859641790390015, -0.14549347758293152, 0.3288782835006714, 0.14644667506217957, 0.5126860737800598, -0.16346675157546997, 0.7625014185905457, 0.34783023595809937, -0.009955733083188534, 0.6675431132316589, -0.24790330231189728, 0.46634945273399353, -0.8455926179885864, -0.35320213437080383, -0.28968173265457153, -0.4339810311794281, -0.7690040469169617, -0.6586570143699646, 0.5398625135421753, -0.42114314436912537, -0.34238600730895996, 0.1081324890255928, -0.43608614802360535, 0.3879275321960449, 0.450982928276062, 0.041760947555303574, 0.5597667098045349, -0.09197781980037689, 0.30303657054901123, -0.21226760745048523, -0.5414114594459534, -0.6232113838195801, 0.988517165184021, 0.37367844581604004, 0.7743620276451111, 0.048119064420461655, 0.6905089616775513, 0.659790575504303, 0.5617513060569763, -0.7569540739059448, 0.5223903656005859, 0.34026211500167847, -0.5941158533096313, -0.522577166557312, -0.31687137484550476, -0.8444396257400513, 0.2740384340286255, -0.47691255807876587, -0.5842922925949097, 0.47959038615226746, 0.022881461307406425, -0.2674153745174408, 0.1780061423778534, -0.53475022315979, 0.7694546580314636, 0.2555605471134186, -0.5906473398208618, -0.519926130771637, -0.6848210692405701, 0.3475756347179413, -0.09074244648218155, 0.5519529581069946, -0.0668702945113182, 0.4096505641937256, 0.636653482913971, -0.2493627667427063, 1.2579402923583984, 0.05820704251527786, -0.07785831391811371, 0.2999146282672882, 0.1459837555885315, 0.5430437326431274, 0.4369267523288727, 0.2091035693883896, 0.23708710074424744, 0.14391295611858368, -0.30305761098861694, -0.2876754701137543, 0.5181254148483276, -0.983142614364624, -0.6890407204627991, -0.3851834535598755, -0.5967015027999878, -0.03990890458226204, 0.041138000786304474, 0.152984157204628, 0.26770877838134766, -0.7443178296089172, 0.40718430280685425, 0.7850174307823181, -0.18260009586811066, -0.02828182652592659, 0.37181320786476135, -0.07328911870718002, -0.22439727187156677, 1.009925127029419, 0.007056493312120438, 0.3101384937763214, -0.1983993798494339, -0.016733255237340927, 0.05454752594232559, -0.06151323392987251, -0.2186589539051056, 0.13169416785240173, -0.7581793665885925, -0.07988819479942322, -0.6645282506942749, -0.2780298888683319, -0.7331903576850891, -0.13162600994110107, -0.32541438937187195, -0.21355083584785461, -0.030342640355229378, -0.006297683343291283, 0.5096883773803711, 0.46508294343948364, -0.5663854479789734, -0.0026979579124599695, -0.779621422290802, 0.26111117005348206, 0.6942679286003113, -0.05780370905995369, -0.25242140889167786, -0.8951670527458191, -0.11825133860111237, 0.4375156760215759, -0.28241515159606934, -0.3188999593257904, 0.5228052735328674, 0.3429805338382721, 0.333139032125473, 0.45675453543663025, 0.15467426180839539, 0.87617427110672, -0.4722975194454193, 0.5642006993293762, -0.2644919455051422, -0.6941890716552734, 0.604302704334259, -0.3880578577518463, -0.1837848424911499, 0.4991755783557892, 0.2851675748825073, -1.2765814065933228, -0.49599605798721313, -0.8086386919021606, -0.9071066975593567, 0.36236104369163513, 0.1048445999622345, 0.41231676936149597, -0.3562912046909332, 0.5407546758651733, -0.2733510136604309, 0.03830883651971817, -0.2716147005558014, -0.06043289229273796, -0.23146730661392212, 0.2962011396884918, -0.11262288689613342, -0.3730265200138092, -0.6076923608779907, -0.4930664300918579, 0.5571203827857971, 0.10815370082855225, -0.12593410909175873, 0.42181405425071716, -0.31677737832069397, -0.16447006165981293, 0.14581896364688873, 0.6978463530540466, 0.5300849080085754, -0.17422738671302795, -0.11455337703227997, 0.4555276930332184, -0.6917052268981934, 0.09654233604669571, -0.4841303527355194, -0.20596633851528168, -0.28083670139312744, 0.16312167048454285, 0.4204968214035034, 0.06392639130353928, -0.7493290901184082, 0.37638646364212036, -0.4208216965198517, -0.12252379953861237, -0.7907142043113708, 0.20801684260368347, -0.07319292426109314, 0.13814786076545715, -0.05018707737326622, -0.1003696396946907, 0.0918886587023735, -0.6586514115333557, 0.5136428475379944, 0.31504783034324646, -0.6566669940948486, -0.0031512361019849777, 0.39401373267173767, 0.3746398091316223, -0.540658175945282, 1.2837440967559814, -0.1518884003162384, -0.24076426029205322, 0.3533911406993866, 0.23945896327495575, 0.4083870053291321, -0.11003676056861877, 0.4452575147151947, 0.5693271160125732, 0.30850929021835327, 0.06848461180925369, 0.13975182175636292, -0.08302763849496841, -1.1808034181594849, -0.6014646887779236, -0.42937955260276794, -0.5169820189476013, -0.16739828884601593, -0.933061957359314, 0.1115729957818985, -0.5401325821876526, -0.28203293681144714, -0.13894891738891602, -0.15824373066425323, -0.5304234623908997, -0.15199114382266998, 0.011585731990635395, 0.7401055693626404, -1.3213104009628296, 0.7445763945579529, 0.5721885561943054, -0.6522862911224365, -0.4522290527820587, -0.3078862726688385, 0.20591089129447937, -0.9465347528457642, 1.0032511949539185, -0.33657118678092957, -0.3877027928829193, -0.002291932702064514, -0.7725728750228882, -0.4010397791862488, 0.8502492308616638, 0.044543586671352386, -0.2878114879131317, 0.3129577338695526, -0.03298717364668846, 0.7797365784645081, -0.051957279443740845, 0.09261875599622726, 0.9139894247055054, 0.6841844916343689, 0.09894043207168579, -0.9986348152160645, -0.009011403657495975, -0.6316149234771729, -0.1713859587907791, 0.06429775059223175, -0.8853806257247925, 0.5023687481880188, -0.14981703460216522, -0.11953292042016983, -0.32251325249671936, 0.4856744110584259, 0.12441934645175934, 0.07414689660072327, 0.6067670583724976, 0.3903121054172516, 0.8006331324577332, -0.34261488914489746, 0.8514078259468079, -0.01656770147383213, 0.14861802756786346, 0.8097462058067322, -0.09986823052167892, 0.6096204519271851, 0.5950990319252014, 0.2072930634021759, 0.48060184717178345, 0.6493079662322998, -0.003876693081110716, 0.035734809935092926, 0.41213294863700867, -0.28298482298851013, -0.6042420864105225, -0.443351686000824, -0.06436102837324142, 0.677466869354248, 0.7045674324035645, 0.14913423359394073, -0.022381635382771492, 0.06987448781728745, 0.0540333017706871, 0.17281371355056763, 0.06623762845993042, 0.9922899603843689, -0.05610337480902672, -0.5716056227684021, 0.7519034743309021, -0.25283360481262207, 0.4330607056617737, -0.20655471086502075, -0.30524587631225586, -0.48989298939704895, 0.14520548284053802, -0.295025110244751, -0.5832833051681519, 0.3764488995075226, -0.1814187616109848, -0.11002261936664581, -0.598332941532135, 0.6413142681121826, -0.3264768719673157, -0.21273189783096313, -0.20298980176448822, 0.5350447297096252, 0.5466690063476562, 0.07666736096143723, -0.4695625901222229, 0.3059194087982178, 0.08169474452733994, 0.010506706312298775, 0.29463106393814087, 0.428272545337677, -0.48365518450737, 0.8043926358222961, 0.7235230803489685, -0.014056100510060787, -0.236289381980896, 0.1681298166513443, 0.8653478026390076, -0.3716469705104828, -0.24024543166160583, -0.5990852117538452, 0.48642486333847046, -0.3806208074092865, -0.22565887868404388, 0.743955135345459, 0.3068329691886902, 0.7955966591835022, 0.2708647549152374, 0.6357112526893616, 0.02747185528278351, 0.21510149538516998, -0.017737234011292458, 0.6182432174682617, -0.3896574378013611, 0.11936429888010025, -0.08252518624067307, -0.5883607864379883, -0.13651791214942932, 0.8572084903717041, -0.44711846113204956, -0.08560146391391754, 0.08588980883359909, 0.8951791524887085, 0.07587455213069916, -0.08190726488828659, 0.3397330641746521, 0.16123393177986145, 0.8419216871261597, 0.22242391109466553, 0.9714645743370056, -0.4725828170776367, 0.6081114411354065, 0.1657826006412506, -0.2792680859565735, -0.4506405293941498, -0.6832305192947388, -0.6381974220275879, -0.6737358570098877, -0.32720327377319336, -0.47324153780937195, 0.28156545758247375, 0.887662947177887, 0.5897589325904846, -0.5098618865013123, -0.10447706282138824, 0.37985891103744507, 0.2560097873210907, -0.2815731167793274, -0.21196185052394867, 0.18486207723617554, -0.6400061845779419, -0.8798620104789734, 0.3127867579460144, 0.1863473355770111, -0.0889408141374588, -0.21134570240974426, -0.16934415698051453, -0.13952083885669708, 0.23136954009532928, 0.5651996731758118, 0.6154806613922119, -0.425080806016922, -0.6808167099952698, 0.10324220359325409, -0.15525370836257935, 0.1598312109708786, 0.9858683347702026, -0.7331711053848267, 0.7184795141220093, 0.7317929267883301, 0.41385790705680847, 0.5399224162101746, 0.25564858317375183, 0.8478984236717224, -0.9632681012153625, 0.25291937589645386, 0.22564399242401123, 0.3104788661003113, 0.294575572013855, -0.28990358114242554, 0.4681757986545563, 0.25414028763771057, -0.7665430903434753, -0.8778305053710938, 0.2559807598590851, -0.5885010957717896, 0.023837614804506302, 1.2851747274398804, -0.02921355701982975, -0.06381961703300476, -0.41452306509017944, -0.3436231017112732, 0.4272702634334564, -0.3495129346847534, 1.2320307493209839, 0.7446890473365784, 0.01721501536667347, -0.040794771164655685, -0.6480597853660583, 0.7554243206977844, 0.32268962264060974, -0.5388111472129822, 0.264144629240036, 0.7176246047019958, 0.40143153071403503, 0.20969310402870178, 0.763606071472168, -0.3757311999797821, 0.3958035111427307, 0.02270638756453991, 0.21537639200687408, -0.1946593075990677, -0.2030927836894989, -0.16676145792007446, -0.2947719693183899, -0.05361712723970413, -0.15494242310523987 ]
http://arxiv.org/abs/2402.11177v1
http://arxiv.org/pdf/2402.11177v1
A Question Answering Based Pipeline for Comprehensive Chinese EHR Information Extraction
2024-02-17T02:55:35
2024-02-17T02:55:35
Huaiyuan Ying, Sheng Yu
cs.CL
cs.CL, cs.IR
Electronic health records (EHRs) hold significant value for research and applications. As a new way of information extraction, question answering (QA) can extract more flexible information than conventional methods and is more accessible to clinical researchers, but its progress is impeded by the scarcity of annotated data. In this paper, we propose a novel approach that automatically generates training data for transfer learning of QA models. Our pipeline incorporates a preprocessing module to handle challenges posed by extraction types that are not readily compatible with extractive QA frameworks, including cases with discontinuous answers and many-to-one relationships. The obtained QA model exhibits excellent performance on subtasks of information extraction in EHRs, and it can effectively handle few-shot or zero-shot settings involving yes-no questions. Case studies and ablation studies demonstrate the necessity of each component in our design, and the resulting model is deemed suitable for practical use.
[ -0.06087922677397728, -0.703163206577301, 0.7588146924972534, -0.5674723386764526, -0.36742448806762695, -0.222707599401474, 0.42539897561073303, -0.507189154624939, 0.04049846902489662, 0.6867613196372986, -0.5935507416725159, -0.39725860953330994, -0.3859114646911621, -0.06896175444126129, -0.32220590114593506, 1.1934250593185425, -0.08573918789625168, 0.05159059539437294, 0.040553268045186996, -0.09634304791688919, -0.38838231563568115, -0.548384428024292, -0.5833542346954346, -0.1858501434326172, 0.4123179614543915, 0.4465329051017761, 0.3162972033023834, 0.8768303990364075, 0.6147500276565552, 0.1400018036365509, 0.16582399606704712, -0.0010157078504562378, -0.1255759447813034, 0.12077416479587555, 0.05098339170217514, -0.4978981018066406, -0.5903531312942505, -0.5357832908630371, 0.34137076139450073, 0.3285035490989685, -0.3893516957759857, 0.7479441165924072, -0.2459060400724411, 0.495836466550827, -0.5951570868492126, 0.06059077009558678, -0.8702868819236755, 0.17852436006069183, -0.12804120779037476, -0.3736690282821655, -0.3897213637828827, -0.4562794864177704, 0.5781255960464478, -0.6133086085319519, 0.1384260356426239, -0.2518642246723175, 1.1152801513671875, 0.20105434954166412, -0.3550579845905304, -0.16711293160915375, -0.7362619638442993, 0.4681535065174103, -0.6870993375778198, 0.232987180352211, 0.15202981233596802, 0.6452553272247314, 0.41341736912727356, -0.976507842540741, -0.46246179938316345, 0.5112656354904175, -0.03801983967423439, 0.18520298600196838, 0.062581367790699, 0.04343745484948158, 0.18260744214057922, 0.23457486927509308, -0.6319776177406311, -0.18803660571575165, -0.745072603225708, 0.07185658812522888, 0.5354239344596863, 0.329131543636322, 0.4921461343765259, -0.45410552620887756, -0.36173754930496216, -0.0667477697134018, -0.461581826210022, 0.3558095693588257, -0.508194088935852, 0.16898702085018158, -0.09448722004890442, 0.3848813474178314, -0.21353834867477417, 0.40232759714126587, 0.2263561189174652, -0.07844763249158859, 0.3826553523540497, -0.13206039369106293, -0.34200096130371094, 0.07892333716154099, 0.5539349317550659, -0.021358950063586235, -0.061078257858753204, -0.29079991579055786, -0.1568792462348938, -0.4731297791004181, 0.27818363904953003, -0.9102391600608826, -0.5470232367515564, 0.85624760389328, -0.5402442812919617, -0.17168204486370087, 0.37730664014816284, -0.8648779988288879, -0.15203538537025452, -0.21005454659461975, 0.5407128930091858, -0.29786747694015503, -0.23312252759933472, 0.121546670794487, -0.12268301099538803, 0.6897431015968323, 0.18439269065856934, -0.8036937713623047, 0.16085709631443024, 0.5172547101974487, 0.6292317509651184, -0.2572442591190338, 0.14716413617134094, -1.056564211845398, 0.05597146600484848, -0.102251335978508, 0.6594343781471252, -0.2710798978805542, -0.07335753738880157, 0.16240936517715454, 0.242060124874115, -0.17422524094581604, -0.6493138670921326, 0.21823912858963013, -0.8814615607261658, 0.3454325795173645, -0.04018707945942879, -0.5394697785377502, -0.15072213113307953, 0.3673555552959442, -0.7201983332633972, 0.635849118232727, 0.2350953221321106, -0.8498696684837341, 0.12610077857971191, -0.6211693286895752, -0.2412155717611313, 0.44549301266670227, -0.12103331089019775, -0.6458314657211304, -0.3522486686706543, 0.4713894724845886, 0.3952951729297638, -0.2711274325847626, 0.26569482684135437, -0.08599477261304855, -0.08817828446626663, 0.1671939492225647, 0.08110694587230682, 0.9102398157119751, 0.4708186686038971, -0.03651649132370949, 0.14476890861988068, -0.7602867484092712, 0.3949104845523834, 0.13011875748634338, -0.31036561727523804, -0.11339902877807617, -0.3564094305038452, -0.12830723822116852, 0.6041218638420105, 0.3176819980144501, -0.5953342914581299, 0.02766198292374611, -0.2713243365287781, 0.3702639937400818, 0.3662845194339752, 0.5447940826416016, 0.054233670234680176, -0.6368734836578369, 0.8252761363983154, 0.1619822084903717, 0.32914814352989197, -0.4248421788215637, -0.2264646589756012, -0.7376270294189453, -0.15272156894207, 0.35814517736434937, 0.8827403783798218, -0.9965547919273376, 0.4546903967857361, -0.4424484372138977, -0.5091316103935242, -0.956452488899231, 0.07827656716108322, 0.05958959832787514, 0.9417092800140381, 0.7066674828529358, -0.31884151697158813, -0.4254060387611389, -0.5735455751419067, 0.17165504395961761, -0.4519219398498535, -0.44337087869644165, 0.01843271590769291, 0.1534879058599472, 0.18819475173950195, 0.8311190009117126, -0.5194005966186523, -0.22576363384723663, -0.5451682806015015, 0.12087900936603546, 0.2113562375307083, 0.251219242811203, 0.045130591839551926, -0.9026642441749573, -0.3056076765060425, 0.34466442465782166, -1.0919346809387207, 0.0341394804418087, -0.4149920642375946, -0.22451584041118622, -0.5341910123825073, 0.13846148550510406, -0.5084881782531738, 0.26107627153396606, 0.17048314213752747, 0.14002612233161926, 0.44377368688583374, 0.03929122909903526, 0.09397586435079575, -1.1881577968597412, 0.5304733514785767, 0.0016522682271897793, -0.20894929766654968, -0.9069089889526367, 0.17850875854492188, 0.2544651925563812, -0.1637878715991974, -0.981306791305542, 0.4606344997882843, -0.247823104262352, 0.2150893360376358, -0.036854151636362076, 0.00022137623454909772, 0.42908284068107605, 0.4712912142276764, 0.22553065419197083, 0.23205266892910004, 0.49856022000312805, -0.674320638179779, 0.4244121313095093, 0.8464593887329102, 0.17791223526000977, 0.36354345083236694, -0.7273427248001099, 0.49965551495552063, -0.41928669810295105, -0.011885290034115314, -0.5032111406326294, -0.1880640685558319, 0.47620508074760437, -0.2834469974040985, 0.19392672181129456, -0.564574122428894, 0.004493770655244589, -0.3107464909553528, -0.2104462832212448, 0.22436659038066864, 0.7941893339157104, -0.41132089495658875, 0.6482681035995483, 0.47433364391326904, -0.5787070989608765, -0.35479605197906494, -0.5028136372566223, -0.41606423258781433, -0.3852165639400482, -0.43595436215400696, 0.24045871198177338, 0.07052341103553772, 0.000004630249350157101, 0.11351028829813004, 0.05152704939246178, -0.7775932550430298, -0.007119222544133663, -0.08621074259281158, 0.7545590996742249, -0.4738558232784271, 0.3783361613750458, 0.08400285989046097, 0.14990021288394928, 0.26439177989959717, -0.1939808428287506, 0.08705286681652069, 0.27394264936447144, -0.39790281653404236, -0.771949052810669, 0.3253060579299927, 0.41623827815055847, -0.7100831270217896, 0.47584211826324463, 0.3204153776168823, -0.6361818909645081, -0.10411552339792252, -0.3642336428165436, -0.3019416928291321, -0.39805105328559875, 0.5580569505691528, -0.20507940649986267, -0.490238219499588, 0.4492322504520416, 0.0007059270283207297, 0.5590270161628723, 0.3901475667953491, 0.30523908138275146, 0.09741275757551193, 0.7979710698127747, 0.5329274535179138, 0.024697959423065186, 0.3472735583782196, -0.134422168135643, -0.12663286924362183, -0.7514508962631226, -0.3169212341308594, -0.462860107421875, 0.2714483141899109, -0.31201082468032837, -0.08884194493293762, 0.5833211541175842, -0.12532728910446167, -0.28212326765060425, 0.11415281891822815, -0.44426125288009644, 0.17887140810489655, 0.08843033015727997, 0.44108009338378906, 0.2998009920120239, -0.2674231231212616, 0.42034095525741577, 0.16976973414421082, -0.7263988256454468, -0.5266072750091553, 1.1516783237457275, 0.5340059399604797, 0.2785654067993164, -0.05552046000957489, 0.6468708515167236, -0.0022009359672665596, 0.3681810200214386, -0.5281940698623657, 0.038429953157901764, -0.13816912472248077, -0.5576552748680115, -0.5875918865203857, -0.4286254644393921, -0.8734890818595886, 0.209550678730011, -0.390593558549881, -0.615719199180603, 0.0887448638677597, 0.06682492792606354, -0.8369427919387817, 0.5152280926704407, -0.4229500889778137, 0.9644656777381897, -0.28387635946273804, -0.1888902187347412, 0.5384489297866821, -1.0407003164291382, 0.2663487493991852, -0.32871299982070923, 0.2024441659450531, -0.03227970376610756, 0.4276891350746155, 0.7319221496582031, -0.3185287117958069, 0.3578100800514221, -0.19067725539207458, 0.17671766877174377, 0.6504594087600708, -0.026038385927677155, 0.4681724011898041, -0.14251713454723358, -0.26228067278862, -0.09096831828355789, 0.5688257217407227, -0.4430456757545471, -0.5730531811714172, -0.053620658814907074, -0.4975000023841858, -0.37172481417655945, -0.09761479496955872, -0.2523963153362274, -0.2656727731227875, 0.3308143615722656, 0.21172039210796356, 0.32047393918037415, 0.015157030895352364, -0.07067353278398514, 0.7974337935447693, -0.2711567282676697, -0.1229286715388298, 0.3794955611228943, -0.014812345616519451, -0.09856729209423065, 0.8424306511878967, 0.10067420452833176, 0.2521531879901886, 0.4921526312828064, 0.1859843134880066, -0.3736744523048401, -0.6644469499588013, -0.7840926647186279, 0.29466626048088074, -0.682630181312561, -0.06948059052228928, -0.727034866809845, -0.8051052093505859, -0.3959886133670807, 0.3574613034725189, -0.14450858533382416, 0.025953613221645355, -0.626910924911499, -0.3247033357620239, 0.11412037163972855, 0.5326489806175232, 0.42677509784698486, 0.10291235148906708, -1.553949236869812, 0.49003222584724426, 0.5594492554664612, -0.09156633913516998, -0.018395641818642616, -0.7872437238693237, -0.3138390779495239, -0.1283581405878067, -0.4797072112560272, -0.9760042428970337, 0.5848115682601929, 0.205801323056221, 0.43601351976394653, 0.48793476819992065, 0.4906737506389618, 0.6863807439804077, -0.4295005202293396, 0.8166700005531311, 0.09590360522270203, -0.6215305924415588, 0.5345277786254883, -0.15633511543273926, 0.09034542739391327, 0.7864418625831604, 0.4808064103126526, -0.5426874756813049, -0.03453031927347183, -0.6431177854537964, -0.7873831987380981, 0.5036720037460327, -0.2409203052520752, 0.02480921894311905, 0.14697182178497314, 0.6785250306129456, 0.4096994400024414, 0.10866089165210724, -0.6185735464096069, -0.2195420116186142, -0.07736443728208542, -0.37022435665130615, 0.5641945004463196, 0.040937043726444244, 0.09680676460266113, 0.07164177298545837, 0.6276092529296875, -0.15438590943813324, -0.06613114476203918, 0.5818037390708923, -0.15260513126850128, -0.3473290205001831, 0.6052860021591187, -0.302310585975647, 0.75948166847229, -0.2943193018436432, 0.1210784986615181, 0.25799667835235596, -0.24246850609779358, 0.05709515139460564, 0.152886301279068, -0.3044586181640625, -0.058099959045648575, 0.12301679700613022, 0.6339687705039978, -0.5410165190696716, -0.8078229427337646, 0.6270068883895874, -0.11242517083883286, -0.20118501782417297, -0.36342138051986694, -0.024609996005892754, -0.12019181996583939, 0.1004067212343216, 0.4450191259384155, -0.46675607562065125, 0.4181879758834839, -0.33200934529304504, 0.7607547044754028, 0.1480862945318222, -0.699144721031189, -0.4352264702320099, 0.8482453227043152, 0.01044166088104248, -0.1334056705236435, 0.8334565758705139, 0.23091553151607513, -0.3753218948841095, 0.5551450252532959, 0.26257121562957764, 0.7568868398666382, -0.2580922544002533, 0.3576541244983673, 0.5307304859161377, -0.06006564199924469, 0.10355138778686523, 0.22641651332378387, 0.17679737508296967, -0.4799594283103943, -0.376686692237854, -0.2780066430568695, -0.616493284702301, 0.33919042348861694, -1.1015042066574097, 0.5149421095848083, -0.33288484811782837, 0.20412006974220276, -0.06257923692464828, -0.2727869153022766, -0.8619683980941772, 0.4679865539073944, 0.24662178754806519, 0.5771249532699585, -0.9176097512245178, 0.8568624258041382, 0.5523218512535095, -0.5901729464530945, -1.08233642578125, -0.10322053730487823, -0.2541693449020386, -0.6459460854530334, 0.32029008865356445, 0.08539678156375885, 0.45911794900894165, -0.01862582378089428, -0.28733304142951965, -0.5841268301010132, 1.1882164478302002, 0.4842478632926941, -0.3715716600418091, -0.34010806679725647, 0.23497556149959564, 0.6236197352409363, -0.26422029733657837, 0.3783807158470154, 0.5371555089950562, 0.050614651292562485, 0.24771109223365784, -0.8435801267623901, 0.21322697401046753, -0.38385245203971863, -0.5786178112030029, -0.06512146443128586, -0.509571373462677, 0.8293556571006775, -0.200662761926651, -0.5329121351242065, 0.012510538101196289, 0.5043426752090454, 0.2750108540058136, 0.412706196308136, 0.3115260899066925, 0.17154279351234436, 0.8608503937721252, 0.3774738311767578, 0.8992800116539001, -0.19735290110111237, 0.15803752839565277, 1.0116655826568604, -0.45428258180618286, 0.9554222822189331, 0.49017927050590515, -0.13018782436847687, 0.5471603274345398, 0.6699562668800354, 0.19864413142204285, 0.42111748456954956, 0.11593704670667648, -0.08230052888393402, -0.33153235912323, -0.2474985271692276, -0.4223594665527344, 0.19008506834506989, 0.08991202712059021, -0.39750969409942627, -0.1659046858549118, -0.3160387873649597, -0.19580142199993134, -0.3310777246952057, -0.09953095018863678, 1.1531685590744019, 0.15989534556865692, -0.6530939340591431, 0.3750656843185425, -0.24000731110572815, 0.15638010203838348, -0.7722896933555603, -0.4860565960407257, 0.016160231083631516, -0.4277914762496948, -0.40822675824165344, -0.48445552587509155, 0.24112747609615326, 0.02618519216775894, 0.1086929515004158, 0.049321249127388, 0.5886428356170654, -0.5442960858345032, -0.24599090218544006, -0.151370108127594, 0.953039288520813, 0.40829959511756897, 0.07623626291751862, -0.6598829030990601, -0.5979085564613342, 0.10040182620286942, -0.10052716732025146, 0.2965056300163269, 0.7189232110977173, 0.16550901532173157, 0.5537887215614319, 0.747682511806488, 0.630280077457428, 0.22605784237384796, -0.18812547624111176, 0.7401642203330994, -0.565193235874176, -0.7276498079299927, -0.5836194157600403, 0.754108726978302, 0.08356571942567825, -0.31568750739097595, 0.2020329087972641, 0.31416451930999756, 0.5057798027992249, 0.004200408700853586, 1.1650872230529785, 0.19680921733379364, 0.8862569332122803, -0.5602397322654724, 0.6213724613189697, -0.36858975887298584, 0.3120535612106323, -0.06977502256631851, -0.5045233964920044, -0.20508410036563873, 0.26033449172973633, -0.22806231677532196, -0.42882946133613586, 0.4997591972351074, 0.2513512670993805, 0.08463111519813538, -0.012282511219382286, 0.379832923412323, -0.12591587007045746, 0.6299119591712952, 0.9030144214630127, 0.5941115021705627, -0.706725001335144, 0.6520620584487915, -0.35451188683509827, -0.0763857513666153, 0.08347751200199127, -0.6270396113395691, -0.5300748348236084, -0.4775744080543518, -0.5140114426612854, -0.2157064527273178, -0.015031963586807251, 0.9546407461166382, 0.8843689560890198, -0.9833875298500061, 0.16062131524085999, 0.2364174723625183, -0.07702811062335968, -0.18528297543525696, -0.21240942180156708, 0.7806555032730103, -0.1551542431116104, -0.3390974998474121, -0.04503845423460007, -0.06335268914699554, -0.027505118399858475, 0.06881830096244812, 0.16546867787837982, -0.004650129470974207, -0.0992092415690422, 0.1559985727071762, 0.7176252603530884, -0.2126680165529251, -0.34937286376953125, 0.30552399158477783, 0.09045517444610596, 0.5859092473983765, 0.5010461211204529, -0.6201048493385315, 0.5998315811157227, 0.4375109374523163, 1.2100249528884888, 0.42118486762046814, 0.5259128212928772, 0.27329111099243164, -0.5792306661605835, -0.257290780544281, 0.36399441957473755, 0.10740523785352707, 0.4095102548599243, -0.6225225925445557, 0.15609103441238403, -0.07741785794496536, -0.4850558638572693, -0.5438824892044067, 0.03228466957807541, -0.7736477255821228, -0.08319981396198273, 0.9593473672866821, -0.44081562757492065, -0.3129133880138397, -0.6089178919792175, -0.17243149876594543, 0.5480673313140869, -0.1512996107339859, 0.8540688753128052, 0.23565834760665894, -0.37784239649772644, -0.40541139245033264, -0.5846970677375793, 0.2574588358402252, 0.2686662971973419, -1.3242579698562622, 0.09923727810382843, 0.2886974811553955, 0.5093640685081482, -0.07209550589323044, 0.7837460041046143, -0.4841494858264923, 0.5547579526901245, -0.507193922996521, 0.25440388917922974, 0.07066024094820023, -0.24144496023654938, -0.5790077447891235, 0.5313752889633179, 0.2940030097961426, -0.5729990005493164 ]
http://arxiv.org/abs/2402.11176v2
http://arxiv.org/pdf/2402.11176v2
KnowTuning: Knowledge-aware Fine-tuning for Large Language Models
2024-02-17T02:54:32
2024-04-17T11:45:00
Yougang Lyu, Lingyong Yan, Shuaiqiang Wang, Haibo Shi, Dawei Yin, Pengjie Ren, Zhumin Chen, Maarten de Rijke, Zhaochun Ren
cs.CL
cs.CL, cs.AI
Despite their success at many natural language processing (NLP) tasks, large language models still struggle to effectively leverage knowledge for knowledge-intensive tasks, manifesting limitations such as generating incomplete, non-factual, or illogical answers. These limitations stem from inadequate knowledge awareness of LLMs during vanilla fine-tuning. To address these problems, we propose a knowledge-aware fine-tuning (KnowTuning) method to improve fine-grained and coarse-grained knowledge awareness of LLMs. We devise a fine-grained knowledge augmentation stage to train LLMs to identify difficult fine-grained knowledge in answers. We also propose a coarse-grained knowledge comparison stage to train LLMs to distinguish between reliable and unreliable knowledge, in three aspects: completeness, factuality, and logicality. Extensive experiments on both generic and medical question answering (QA) datasets confirm the effectiveness of KnowTuning, through automatic and human evaluations, across various sizes of LLMs. We further verify that KnowTuning generates more facts with less factual error rate under fine-grained facts evaluation.
[ -0.3540433347225189, -0.9930705428123474, 0.7463394403457642, -0.1162789985537529, -0.03420534357428551, -0.019780565053224564, -0.45381057262420654, -0.5818190574645996, -0.14519600570201874, 0.3459794223308563, -0.47002410888671875, -0.4318905770778656, -0.42165255546569824, -0.028775963932275772, -0.16647741198539734, 1.0266083478927612, 0.11655400693416595, 0.19814306497573853, -0.5592567324638367, -0.05691474676132202, -0.5113910436630249, -0.07789791375398636, -0.9457739591598511, -0.5021748542785645, 0.5085009932518005, 0.6176105737686157, 0.6659441590309143, 0.7975193858146667, 0.5054560899734497, 0.24178454279899597, -0.31773608922958374, 0.6113355755805969, -0.5738653540611267, 0.14990408718585968, -0.4253638684749603, -0.7218670845031738, -0.4563333988189697, -0.3299684226512909, 0.19206303358078003, 0.6453661322593689, 0.0016193547053262591, 0.24763090908527374, 0.14584535360336304, 0.7121138572692871, -0.5258709192276001, 0.15617337822914124, -0.9431285858154297, -0.04910070821642876, -0.06009857729077339, -0.2686269283294678, 0.1416897177696228, -0.48664507269859314, 0.20248796045780182, -0.6661130785942078, 0.36321723461151123, 0.11072175204753876, 0.7331879138946533, 0.6503418684005737, -0.13054220378398895, -0.24439911544322968, -0.6490147709846497, 0.6185410618782043, -0.9287095665931702, 0.35403451323509216, 0.6397914886474609, 0.2629832923412323, -0.13414360582828522, -0.5977416038513184, -0.575589120388031, 0.0273404773324728, -0.07851517200469971, -0.10257471352815628, 0.002340903040021658, 0.27904683351516724, 0.3788626790046692, 0.5716042518615723, -0.3755273222923279, 0.24664509296417236, -0.19247543811798096, -0.38604292273521423, 0.31733986735343933, 0.0065056257881224155, 0.16410121321678162, -0.06971763074398041, -0.23337450623512268, 0.25337716937065125, -0.5751361846923828, 0.07184697687625885, -0.1775604486465454, 0.12952525913715363, 0.09583156555891037, 0.6061168313026428, -0.7237765789031982, 0.9406211972236633, 0.2017465978860855, -0.34364452958106995, 0.047991350293159485, -0.3828200697898865, -0.3471870720386505, 0.02407495677471161, 0.43819352984428406, 0.5511462688446045, 0.4118328392505646, -0.309781938791275, -0.3068515658378601, -0.17222477495670319, 0.1596502810716629, -0.6746522188186646, -0.1568991243839264, 0.3244720697402954, 0.004309255164116621, -0.40739017724990845, -0.3797166049480438, -0.435234934091568, -0.7337820529937744, -0.5733352303504944, 0.786668062210083, -0.7225468158721924, -0.07396627217531204, 0.32397371530532837, -0.10944311320781708, 0.3332836329936981, 0.3942137062549591, -0.8782086968421936, 0.14752039313316345, 0.7170596122741699, 0.5533767938613892, 0.18225590884685516, -0.1337445229291916, -0.675206184387207, 0.1878463476896286, -0.22190995514392853, 0.8679635524749756, -0.3396669328212738, 0.19661203026771545, -0.20518584549427032, -0.2190614938735962, 0.09729371964931488, -0.7425658702850342, 0.6151626110076904, -0.5997329354286194, -0.11169510334730148, -0.511574387550354, -0.9294448494911194, -0.16462595760822296, 0.7248335480690002, -0.3066759705543518, 0.9549922347068787, 0.18985335528850555, -0.8148655295372009, 0.5083280801773071, -0.4581652283668518, -0.48883119225502014, 0.03386913985013962, -0.15150222182273865, -0.36562126874923706, 0.1687212735414505, 0.4443713128566742, 0.7304641008377075, -0.26390495896339417, 0.41767799854278564, -0.39700281620025635, -0.05175112932920456, 0.04305429756641388, -0.3496266007423401, 0.242158904671669, 0.20276248455047607, -0.1166360080242157, 0.16426515579223633, -0.9800735116004944, 0.3372245728969574, -0.06793186813592911, -0.42630186676979065, -0.4479910731315613, -0.10492335259914398, -0.5107940435409546, 0.12899820506572723, 0.4606294631958008, -0.5693719983100891, 0.05049385502934456, -0.7457285523414612, 0.3476389944553375, 0.5926111340522766, 0.11352097988128662, 0.39926081895828247, -0.8305550813674927, 0.1784130036830902, 0.18603329360485077, 0.15534530580043793, 0.07737318426370621, -0.24471266567707062, -1.0900225639343262, 0.223287433385849, 0.2236560881137848, 0.6316365003585815, -0.8769468069076538, 0.36585280299186707, -0.16378113627433777, -0.5798353552818298, -0.5821940898895264, 0.4576839208602905, 0.48052889108657837, 0.8958815336227417, 0.5664787888526917, 0.09370332956314087, -0.5780530571937561, -0.8792888522148132, -0.5305834412574768, 0.059822410345077515, -0.05736861005425453, 0.26602229475975037, 0.213159441947937, -0.16282881796360016, 0.9126471281051636, -0.5448789000511169, -0.5222671627998352, -0.005285445600748062, -0.021433888003230095, 0.013289025984704494, 0.4603565037250519, 0.13171084225177765, -0.567084789276123, -0.1616697758436203, 0.31731390953063965, -0.6325937509536743, 0.021359259262681007, 0.025216445326805115, 0.0939222201704979, -0.014393366873264313, 0.7758362293243408, -0.5079289674758911, 0.013708270154893398, 0.3886420428752899, -0.1855359673500061, 0.5729120373725891, -0.45789751410484314, 0.028555328026413918, -1.0823721885681152, -0.1081925481557846, -0.1563737839460373, -0.5533422827720642, -0.5358033776283264, -0.06944075226783752, 0.15662653744220734, 0.23334649205207825, -0.29869240522384644, 0.6247483491897583, -0.3517216742038727, 0.20124635100364685, -0.12358680367469788, 0.24373918771743774, 0.06870846450328827, 0.3743230998516083, -0.04911242797970772, 0.7852880358695984, 0.5736457109451294, -0.9103872776031494, 0.4070253074169159, 0.13737046718597412, -0.5788979530334473, 0.6844874620437622, -0.5150412917137146, 0.04796324670314789, -0.11881823092699051, -0.4368779957294464, -0.6607628464698792, -0.45020487904548645, -0.11319354921579361, -0.3511015474796295, 0.3168416917324066, -0.22152182459831238, -0.38416436314582825, -0.2662036120891571, 0.01640344224870205, 0.31424248218536377, 0.356054425239563, -0.36889195442199707, 0.6368139982223511, 0.3104785680770874, -0.19669465720653534, -0.4498911201953888, -0.45042431354522705, -0.2179456204175949, -0.11265001446008682, -0.5995924472808838, -0.03306884318590164, -0.009907214902341366, -0.17588649690151215, -0.1054995134472847, -0.41932234168052673, -0.2281797081232071, 0.2139323502779007, -0.10207561403512955, -0.28336596488952637, -0.15222695469856262, 0.6098988056182861, 0.20584224164485931, -0.03940068557858467, 0.037489064037799835, -0.4942344129085541, 0.5067471861839294, -0.23741039633750916, -0.35291606187820435, -0.18472829461097717, -0.23178264498710632, 0.5081508159637451, -0.3620262145996094, 0.5673096776008606, 0.8197766542434692, -0.5228156447410583, -0.2357034534215927, -0.9672728180885315, -0.38562026619911194, -0.44956907629966736, 0.4760853350162506, -0.2933500409126282, -1.1739436388015747, 0.5666353106498718, -0.29497385025024414, 0.011344715021550655, 0.39804285764694214, 0.3873398005962372, -0.22028948366641998, 0.7706087827682495, 0.6023303866386414, 0.06989365816116333, 0.19517113268375397, -0.002639399142935872, -0.12466250360012054, -0.7173786759376526, -0.16854454576969147, -0.43739306926727295, -0.3359484076499939, -0.3475438058376312, -0.6131601333618164, 0.5112813711166382, 0.23664836585521698, -0.32388925552368164, -0.09963285177946091, -0.25115084648132324, 0.7147391438484192, 0.5398917198181152, 0.43204331398010254, 0.6059299111366272, -0.20131632685661316, -0.11829306930303574, 0.15137532353401184, -0.9061374664306641, -0.2594093680381775, 0.9915216565132141, 0.24668003618717194, 0.8429312705993652, -0.15482987463474274, 0.3533515930175781, -0.07740399241447449, -0.006423342972993851, -0.9081161022186279, 0.37626543641090393, -0.1262574940919876, -0.6004765033721924, -0.4925863742828369, -0.5686427354812622, -0.5747683048248291, -0.30364590883255005, -0.5444039702415466, -0.3718002438545227, -0.08682505041360855, 0.473042756319046, -0.7971222400665283, 0.45942145586013794, -0.8473048806190491, 0.7811484932899475, -0.23059192299842834, -0.16026447713375092, -0.1969372183084488, -0.6398357152938843, 0.3499036133289337, -0.17607277631759644, 0.2418745756149292, -0.1342240869998932, 0.11679767817258835, 0.6682292222976685, -0.2908681631088257, 0.9364392757415771, -0.1084727793931961, -0.3012661933898926, 0.009712053462862968, 0.09690837562084198, 0.6168633103370667, 0.3294585049152374, -0.023167552426457405, -0.18739038705825806, 0.27820703387260437, -0.2459142655134201, -0.681170642375946, 0.7364437580108643, -0.5780178308486938, -0.6557422280311584, 0.05364516004920006, -0.7244946956634521, -0.7885873913764954, 0.46360933780670166, 0.22285495698451996, 0.42590993642807007, -0.1513759195804596, 0.19060298800468445, 1.322147250175476, -0.14044152200222015, -0.007570368703454733, 0.6499962210655212, -0.27042531967163086, -0.2472708523273468, 0.8166274428367615, 0.11572715640068054, 0.40360355377197266, 0.6127525568008423, 0.35431087017059326, -0.15581215918064117, -0.7800787091255188, -0.2496097832918167, 0.20821158587932587, -0.5722949504852295, -0.5560363531112671, -0.5694441199302673, -0.44887489080429077, -0.38742297887802124, 0.10810285806655884, -0.4596515893936157, -0.4319932460784912, -0.29061615467071533, -0.1441442370414734, 0.682072103023529, 0.6665311455726624, 0.04190610349178314, 0.3200220763683319, -0.8896652460098267, 0.5896866321563721, 0.8383088111877441, 0.9035785794258118, -0.10883859544992447, -0.6061695218086243, -0.4940083920955658, 0.3000854253768921, -0.10480516403913498, -0.3153298795223236, -0.06670471280813217, 0.4630337655544281, 0.2851026654243469, 0.5417389273643494, 0.18847541511058807, 0.7855697870254517, -0.4581763446331024, 0.34202471375465393, -0.14636388421058655, -0.6871344447135925, 0.6397774815559387, -0.49934303760528564, 0.5627559423446655, 0.7717695236206055, 0.06651864945888519, -0.6082863807678223, -0.676101803779602, -0.49553385376930237, -0.5713548064231873, 0.5149275660514832, -0.06463213264942169, 0.013451171107590199, 0.05248367786407471, 0.5666354298591614, 0.10908529907464981, 0.23187531530857086, -0.4767540991306305, -0.10062344372272491, 0.21327261626720428, -0.2639622688293457, -0.04130566120147705, -0.41011133790016174, -0.24544468522071838, -0.35155659914016724, 0.7699334025382996, -0.295769602060318, -0.11948902904987335, 0.4477057158946991, -0.255158394575119, -0.19648441672325134, 0.5252755880355835, 0.5632208585739136, 0.7620112299919128, -0.19062596559524536, 0.34372058510780334, 0.5658502578735352, -0.4377414286136627, -0.17653776705265045, 0.1125713437795639, -0.3031294643878937, -0.37829872965812683, 0.31999969482421875, 0.7859625816345215, 0.33022093772888184, -0.6119346022605896, 0.3673851490020752, -0.08024311810731888, -0.1524345427751541, -0.2716362178325653, 0.4992895722389221, 0.30958446860313416, 0.34227117896080017, 0.03408712148666382, 0.4548400938510895, 0.016736751422286034, -0.26330459117889404, 0.22311347723007202, 0.5499612092971802, -0.6566829681396484, -0.0342043973505497, 0.5590048432350159, 0.10428039729595184, -0.06074807047843933, 0.2810044288635254, -0.1898779571056366, -0.3273371756076813, 0.3768240809440613, 0.3682096600532532, 0.426566481590271, -0.09763199836015701, -0.05434510484337807, 0.2810521423816681, 0.3610914945602417, -0.2927659749984741, 0.3902483582496643, 0.09328851848840714, -0.9736508727073669, -0.7022090554237366, -0.7982938289642334, -0.15373830497264862, 0.3532240390777588, -0.58747398853302, 0.30354374647140503, -0.5156346559524536, -0.17137254774570465, 0.015809858217835426, -0.026437193155288696, -0.8406732082366943, 0.4952054023742676, -0.11153919994831085, 1.048126459121704, -0.6056137681007385, 0.7121782302856445, 0.7921391725540161, -0.15680751204490662, -1.115110993385315, -0.0921730101108551, -0.22241127490997314, -0.9638553261756897, 0.3061144948005676, 0.014380032196640968, -0.012891648337244987, 0.4226139783859253, -0.5715559720993042, -0.7473182082176208, 1.046966552734375, 0.41081702709198, -0.7902454137802124, -0.12717598676681519, 0.14903749525547028, 0.5331280827522278, 0.03914152830839157, 0.04127808287739754, 0.8250135779380798, 0.5151882767677307, 0.021004877984523773, -1.1880966424942017, -0.09559492021799088, 0.058078598231077194, -0.29293084144592285, 0.15777838230133057, -0.47195976972579956, 0.36292269825935364, -0.40602707862854004, -0.036794353276491165, 0.0034594035241752863, 0.5639865398406982, 0.00214463216252625, 0.42522796988487244, 0.5267255306243896, 0.9610479474067688, 1.2072447538375854, -0.2254837304353714, 0.7950934767723083, -0.3157888352870941, 0.2064393013715744, 1.355581283569336, 0.13466279208660126, 0.6295921206474304, 0.40669411420822144, -0.057128287851810455, 0.09806743264198303, 0.3473203778266907, 0.2930103540420532, 0.1503191590309143, 0.14444373548030853, -0.3153868615627289, -0.6582247018814087, -0.04774201661348343, -0.32110998034477234, 0.48877641558647156, 0.3219045400619507, -0.1314130574464798, -0.3410905599594116, 0.18838123977184296, 0.19070349633693695, 0.13943152129650116, -0.6795271635055542, 1.2569020986557007, 0.12241866439580917, -0.6820759773254395, 0.7882645726203918, -0.11873462051153183, 0.5919300317764282, -0.6844372153282166, 0.09603507816791534, -0.22076654434204102, 0.18717937171459198, -0.32034504413604736, -0.9434756636619568, 0.24781803786754608, -0.041672416031360626, -0.5195344686508179, 0.043707143515348434, 0.9611758589744568, -0.6781089901924133, -0.399566113948822, -0.04346609488129616, 0.702471137046814, -0.058412548154592514, -0.3407330811023712, -0.4335932731628418, -0.4157356321811676, 0.06044791266322136, 0.00002306157875864301, 0.2656953036785126, 0.8659311532974243, 0.04028655216097832, 1.0679959058761597, 0.5727432370185852, 0.3601428270339966, 0.009421870112419128, 0.19061224162578583, 0.920589029788971, -0.5676229000091553, -0.21173207461833954, -0.8063206076622009, 0.21233560144901276, -0.05293438211083412, -0.16883526742458344, 0.6187581419944763, 0.5405226349830627, 0.9127383828163147, -0.19825753569602966, 0.7765291333198547, 0.06250672787427902, 0.8500297665596008, -0.8198449015617371, 0.96047443151474, -0.40357130765914917, 0.3667428493499756, 0.002229120582342148, -0.6436312794685364, -0.4160918891429901, 0.3360326290130615, -0.4696643650531769, 0.04447869583964348, 0.538437008857727, 0.8125378489494324, -0.13572892546653748, -0.03630145639181137, 0.5435655117034912, 0.6471280455589294, 0.09608912467956543, 0.5282974243164062, 0.5978959202766418, -0.23717737197875977, 0.598247230052948, -0.3990369141101837, -0.11720822751522064, 0.006369176786392927, -0.8722729086875916, -0.8663769960403442, -0.4517439305782318, -0.1446305513381958, -0.20861250162124634, -0.02121482603251934, 0.8004197478294373, 0.6407186388969421, -0.7809683084487915, 0.23926810920238495, -0.24353960156440735, 0.3703050911426544, -0.2059975117444992, -0.20366977155208588, 0.23048144578933716, -0.915478527545929, -0.3155266344547272, 0.20277759432792664, 0.15999069809913635, 0.06486930698156357, -0.04596102610230446, 0.158850759267807, -0.06766422837972641, -0.06463085860013962, 0.6016815304756165, 0.22872789204120636, -0.4121379554271698, -0.513765811920166, -0.007338681723922491, -0.0067553166300058365, 0.04433884844183922, 0.6491839289665222, -0.8767044544219971, 0.5473730564117432, 0.27254047989845276, 0.7362066507339478, 0.13970082998275757, 0.13980406522750854, 0.5078508257865906, -0.9919679164886475, -0.11694519221782684, 0.27870064973831177, 0.2154432237148285, 0.3831239938735962, -0.43757763504981995, 0.25219592452049255, 0.03384982794523239, -0.7798261046409607, -0.4755823612213135, 0.34677639603614807, -0.9074352383613586, -0.15983887016773224, 1.2051527500152588, 0.0729188397526741, -0.15295527875423431, -0.4377208948135376, -0.4357677102088928, 0.4012044072151184, -0.16568773984909058, 0.9125514626502991, 0.6417899131774902, 0.10601259768009186, -0.13162867724895477, -0.5842899680137634, 1.0167734622955322, 0.46145331859588623, -0.9365950226783752, 0.336459219455719, 0.42691755294799805, 0.6025509238243103, -0.003287544008344412, 0.42276880145072937, 0.059381626546382904, 0.2069147229194641, -0.5195040702819824, -0.03546713665127754, -0.3364754319190979, -0.15498565137386322, -0.0939435064792633, 0.017532257363200188, 0.5464538335800171, 0.2904765009880066 ]
http://arxiv.org/abs/2402.11175v2
http://arxiv.org/pdf/2402.11175v2
M4GT-Bench: Evaluation Benchmark for Black-Box Machine-Generated Text Detection
2024-02-17T02:50:33
2024-06-27T05:42:12
Yuxia Wang, Jonibek Mansurov, Petar Ivanov, Jinyan Su, Artem Shelmanov, Akim Tsvigun, Osama Mohanned Afzal, Tarek Mahmoud, Giovanni Puccetti, Thomas Arnold, Alham Fikri Aji, Nizar Habash, Iryna Gurevych, Preslav Nakov
cs.CL
cs.CL
The advent of Large Language Models (LLMs) has brought an unprecedented surge in machine-generated text (MGT) across diverse channels. This raises legitimate concerns about its potential misuse and societal implications. The need to identify and differentiate such content from genuine human-generated text is critical in combating disinformation, preserving the integrity of education and scientific fields, and maintaining trust in communication. In this work, we address this problem by introducing a new benchmark based on a multilingual, multi-domain, and multi-generator corpus of MGTs -- M4GT-Bench. The benchmark is compiled of three tasks: (1) mono-lingual and multi-lingual binary MGT detection; (2) multi-way detection where one need to identify, which particular model generated the text; and (3) mixed human-machine text detection, where a word boundary delimiting MGT from human-written content should be determined. On the developed benchmark, we have tested several MGT detection baselines and also conducted an evaluation of human performance. We see that obtaining good performance in MGT detection usually requires an access to the training data from the same domain and generators. The benchmark is available at https://github.com/mbzuai-nlp/M4GT-Bench.
[ -0.5262347459793091, -0.8493613004684448, 0.48705872893333435, 0.007987343706190586, -0.34599730372428894, 0.34832265973091125, -0.345419317483902, -0.468533992767334, -0.1394391655921936, 0.23895052075386047, -0.5248033404350281, -0.6622177362442017, -0.6617112755775452, 0.5614228844642639, -0.38165655732154846, 0.9481208324432373, -0.1892727166414261, -0.0677366629242897, -0.053886447101831436, -0.13835716247558594, -0.4602939784526825, -0.7788688540458679, -0.4060882031917572, -0.45712679624557495, 0.492704838514328, 0.11421149224042892, 0.3886238634586334, 0.49642840027809143, 0.29407715797424316, 0.3145468533039093, 0.16993555426597595, 0.29362571239471436, -0.4954410791397095, 0.04944104328751564, 0.007843677885830402, -0.14229793846607208, -0.16842657327651978, 0.18768611550331116, 0.8933244347572327, -0.0007040476193651557, -0.013367452658712864, 0.26294848322868347, 0.2143343836069107, 0.2767874598503113, -0.706255316734314, 0.06952723115682602, -0.8079859018325806, 0.11732608079910278, -0.5015259981155396, -0.3735068738460541, -0.4407862722873688, -0.16567853093147278, -0.27540358901023865, -0.3005366623401642, 0.5009641051292419, -0.03697879612445831, 0.906308650970459, -0.010220136493444443, -0.39938944578170776, -0.24627651274204254, -0.3242321312427521, 0.7393202185630798, -0.5429961681365967, 0.6114028096199036, 0.16999760270118713, 0.49777817726135254, -0.08571531623601913, -0.6853691339492798, -0.7040961980819702, -0.15371592342853546, 0.06287992745637894, 0.19941794872283936, -0.2702043950557709, -0.31388047337532043, 0.3229127526283264, 0.1779826581478119, -0.7171105146408081, -0.08492127060890198, -0.21833643317222595, -0.5924167633056641, 0.3359581530094147, -0.031330764293670654, 0.13837851583957672, -0.3683772087097168, -0.5109230279922485, -0.11062434315681458, -0.6423447728157043, -0.43463289737701416, 0.6025245785713196, 0.09286633878946304, -0.07487846910953522, 0.502980649471283, -0.17335763573646545, 0.48282212018966675, -0.2699635624885559, -0.31680354475975037, 0.6390653252601624, -0.5226238965988159, 0.022700877860188484, -0.0025705478619784117, 1.0453451871871948, 0.30763328075408936, 0.2860146462917328, -0.26109832525253296, -0.38393479585647583, 0.4119715988636017, 0.3599099814891815, -1.0432560443878174, -0.09612676501274109, -0.21272356808185577, -0.407047837972641, -0.3572389781475067, -0.08358993381261826, -0.9911020994186401, -0.3598845303058624, -0.15504975616931915, 0.5004059672355652, -0.37084317207336426, -0.43321558833122253, 0.070737324655056, -0.1205044537782669, 0.06192571297287941, -0.15339073538780212, -0.7624982595443726, 0.15059509873390198, 0.7253836393356323, 0.8836907744407654, -0.43628767132759094, -0.4673062562942505, -0.600855827331543, 0.15229466557502747, 0.00342274596914649, 0.8404132127761841, -0.3393341600894928, -0.3591749370098114, 0.027544017881155014, 0.015107313171029091, 0.0007186227012425661, -0.5020390152931213, 0.9639448523521423, -0.22109398245811462, 0.08136666566133499, -0.12737524509429932, -0.36561688780784607, 0.05948710814118385, 0.6667584776878357, -0.6047651767730713, 1.315068006515503, 0.24350495636463165, -0.8252737522125244, 0.5142205953598022, -0.5705556869506836, -0.36031603813171387, 0.21939469873905182, -0.41743969917297363, -0.8352925181388855, -0.09911113232374191, 0.187344491481781, 0.4728868007659912, -0.34484556317329407, 0.473715215921402, -0.4172030985355377, -0.41052061319351196, 0.4281383752822876, -0.8121568560600281, 0.2786470651626587, 0.16842518746852875, -0.5566040873527527, 0.02143201045691967, -0.8390495181083679, 0.2061317414045334, 0.19505497813224792, -0.41037866473197937, -0.11769820749759674, -0.09698077291250229, 0.2958392798900604, 0.4490409195423126, 0.23282824456691742, -0.7041728496551514, -0.021059630438685417, 0.06811495125293732, 0.3121427595615387, 0.8606221079826355, -0.09770358353853226, -0.2232787013053894, -0.2197517454624176, 0.5780696272850037, 0.01733156479895115, -0.01537760067731142, -0.03290150314569473, -0.591443657875061, -0.38276153802871704, -0.3467283546924591, 0.5220722556114197, 0.3913393020629883, -1.0076655149459839, 0.4000587463378906, -0.32321617007255554, -0.34364548325538635, -0.5822939872741699, 0.18159011006355286, 0.641452968120575, 0.3072200417518616, 0.3479340672492981, -0.30545756220817566, -0.5214605331420898, -0.9764668941497803, -0.40936583280563354, 0.0795477107167244, -0.047377608716487885, 0.1897609829902649, 0.7228146195411682, -0.6323904395103455, 0.5931415557861328, -0.5711528658866882, -0.09930931031703949, -0.028822941705584526, 0.5104092955589294, -0.15325339138507843, 0.2694237232208252, 0.560638427734375, -0.6569634079933167, -0.3047253489494324, -0.017659856006503105, -0.9560701251029968, -0.47262775897979736, 0.13459038734436035, -0.3818935453891754, -0.012232283130288124, 0.32991355657577515, -0.4627009630203247, 0.2589547336101532, 0.8830154538154602, -0.21965110301971436, 1.0046372413635254, -0.16077446937561035, 0.30923429131507874, -1.0962958335876465, 0.14985668659210205, 0.17031949758529663, -0.2954382300376892, -0.5095860958099365, 0.09446604549884796, 0.36829835176467896, -0.1433880478143692, -0.23140329122543335, 0.5392921566963196, -0.4764978587627411, -0.3105941116809845, -0.4304485023021698, 0.3641987144947052, 0.11166313290596008, 0.4412655532360077, -0.2614652216434479, 1.1496741771697998, 0.10719446837902069, -0.41549092531204224, 0.14194069802761078, 0.19279858469963074, -0.37936538457870483, 0.7859155535697937, -0.4305058419704437, 0.2603468596935272, 0.26259633898735046, 0.03644166886806488, -0.9074178338050842, 0.07630676031112671, 0.2873287796974182, -0.5639505386352539, 0.17020483314990997, -0.2118404060602188, -0.9589968919754028, -0.3345346450805664, -0.3579454720020294, 0.39440858364105225, 0.1431988775730133, -0.5912523865699768, 0.35603663325309753, 0.4858514368534088, -0.007648610044270754, -0.7378472685813904, -0.6079068779945374, 0.39726242423057556, -0.14641495048999786, -0.4710872769355774, 0.33051201701164246, -0.25281432271003723, 0.14492438733577728, -0.10628893226385117, -0.16816715896129608, -0.045654039829969406, 0.1923501044511795, 0.030331339687108994, 0.0964709222316742, -0.2986922562122345, 0.03039870783686638, 0.08719702064990997, -0.2791869640350342, 0.1820959746837616, -0.2687341272830963, 0.6227973103523254, -0.10723478347063065, -0.34854644536972046, -0.06434452533721924, 0.276508629322052, 0.3937007486820221, -0.3865472674369812, 0.4874931275844574, 1.1858729124069214, -0.40603452920913696, -0.15690666437149048, -0.5780267715454102, -0.10682052373886108, -0.47197768092155457, 0.21519191563129425, -0.647677481174469, -0.8253390789031982, 0.17290368676185608, -0.03166031837463379, -0.16109170019626617, 0.41030898690223694, 0.795918881893158, 0.5040462017059326, 0.8812596201896667, 0.31616485118865967, -0.1771908402442932, 0.29820340871810913, 0.012801163829863071, 0.11129693686962128, -0.7722781300544739, 0.09477619081735611, -0.6383236050605774, -0.07175403088331223, -0.7813172936439514, -0.34294989705085754, 0.3004821836948395, -0.26846304535865784, -0.011721989139914513, 0.32799530029296875, -0.6368216276168823, 0.45945966243743896, 0.49278539419174194, 0.15233753621578217, 0.43527650833129883, -0.12922576069831848, -0.5000733733177185, -0.06689316779375076, -0.3268662393093109, -0.7935066223144531, 1.3499783277511597, 0.15428774058818817, 0.4634684920310974, 0.22515447437763214, 0.8351293206214905, 0.5032396912574768, 0.7682214975357056, -0.4840526580810547, 0.4993423819541931, 0.0034708636812865734, -0.729735791683197, 0.12242184579372406, -0.7661498785018921, -1.195542335510254, 0.8283823728561401, -0.47815629839897156, -0.5813981294631958, -0.42368051409721375, -0.07649006694555283, 0.12258278578519821, 0.3092935383319855, -0.8786114454269409, 1.2388153076171875, -0.33051466941833496, -0.5019779801368713, 0.008753441274166107, -0.3186261057853699, 0.540168285369873, -0.39465880393981934, 0.20056912302970886, -0.3457004725933075, 0.023611966520547867, 0.7312870621681213, 0.10010842233896255, 0.5101849436759949, -0.2291681319475174, -0.10630512237548828, 0.15337735414505005, -0.06154128909111023, 0.38584133982658386, 0.041902028024196625, -0.040584318339824677, 0.36562108993530273, -0.12933823466300964, -0.3303379714488983, -0.08173006027936935, 0.781909704208374, -0.7219506502151489, -0.2148033082485199, -0.4850480556488037, -0.3783424198627472, -0.16569703817367554, 0.5883610844612122, 0.2787541151046753, 0.5718427300453186, -0.43376123905181885, 0.1640288084745407, 0.31230178475379944, -0.1937275230884552, 0.24023869633674622, 0.5464698672294617, -0.20443372428417206, -0.49381202459335327, 0.883877694606781, -0.15660785138607025, 0.03762175142765045, 0.26694172620773315, 0.24131114780902863, -0.5608392357826233, -0.824302077293396, -0.7546130418777466, 0.21069926023483276, -0.6958043575286865, -0.3478589653968811, -0.6782188415527344, -0.18427954614162445, -0.22067829966545105, 0.2189386636018753, -0.08635538071393967, 0.15327605605125427, -0.14852792024612427, -0.11301124840974808, 0.009974301792681217, 0.5720269680023193, 0.1686074435710907, 0.40781599283218384, -0.8465320467948914, 0.6592694520950317, 0.015342580154538155, 0.5397496223449707, -0.3291577398777008, -0.31787705421447754, -0.3697682321071625, -0.017570048570632935, -0.7171722650527954, -0.736605703830719, 0.3848690688610077, -0.17882196605205536, 0.7726296782493591, 0.2509113848209381, -0.23567171394824982, 0.37787944078445435, -0.750896692276001, 0.4596156179904938, 0.12807060778141022, -1.0295377969741821, 0.01443609781563282, -0.48136404156684875, 0.3550461232662201, 0.5780786275863647, 0.09005218744277954, -0.4704645276069641, -0.4280223250389099, -0.5781979560852051, -0.49638471007347107, 0.3652013838291168, 0.47986170649528503, -0.10605715215206146, 0.038112152367830276, 0.13494449853897095, 0.22038201987743378, 0.48356208205223083, -1.0244905948638916, -0.09497761726379395, -0.22435352206230164, -0.3246614933013916, -0.3794488310813904, -0.1721317619085312, -0.069913350045681, 0.2216852456331253, 0.5246099233627319, -0.28240764141082764, 0.42719078063964844, -0.13544826209545135, -0.3446665108203888, 0.040174029767513275, 0.429455041885376, 0.7109436988830566, 0.5730810165405273, -0.23208221793174744, 0.30212560296058655, -0.00044535216875374317, -0.6723969578742981, 0.2566293478012085, 0.4501167833805084, -0.09684767574071884, 0.2541745901107788, 0.10184258967638016, 0.41264525055885315, 0.36704155802726746, -0.5238018035888672, 0.5522893071174622, -0.16674476861953735, -0.45970553159713745, -0.13020136952400208, -0.10625077784061432, -0.007315260823816061, 0.0807105079293251, 0.3640311658382416, 0.026311267167329788, 0.3103845417499542, -0.2971358299255371, 0.6079891324043274, 0.4888410270214081, -0.08676126599311829, -0.3432883024215698, 0.7066941857337952, 0.29919493198394775, -0.12182111293077469, 0.21027760207653046, -0.5367879867553711, -0.7319768667221069, 0.27523303031921387, 0.6010071635246277, 1.0165883302688599, -0.03979111835360527, 0.1513739377260208, 0.3146114945411682, 0.5376476645469666, -0.008939187042415142, 0.16736280918121338, 0.05955873802304268, -0.9266291260719299, -0.4397980868816376, -0.538893461227417, -0.40698733925819397, 0.3875201940536499, -0.4266228675842285, 0.2923663854598999, -0.129582479596138, -0.3313446342945099, 0.37765175104141235, 0.100909523665905, -0.5222440361976624, 0.052173271775245667, 0.3403073847293854, 0.5881257653236389, -0.8012602925300598, 0.8224436044692993, 0.2463470995426178, -0.13698109984397888, -0.29004600644111633, 0.05786481872200966, 0.31237128376960754, -0.763852596282959, 0.21034656465053558, 0.6896613240242004, -0.440168172121048, -0.10167676955461502, -0.33051973581314087, -0.4066731631755829, 0.9421984553337097, 0.2933463454246521, -0.2890458405017853, 0.3685855269432068, 0.11795397102832794, 0.4991149306297302, -0.21456032991409302, 0.2413623332977295, 0.6274468898773193, 0.6838303208351135, -0.3898010849952698, -0.6903772354125977, 0.1662011444568634, -0.32871875166893005, -0.23902158439159393, 0.6492766737937927, -0.36963531374931335, 0.8535007238388062, 0.35618856549263, -0.2993723154067993, 0.04043440893292427, 0.3759174048900604, 0.5442313551902771, 0.47909069061279297, 0.45082589983940125, 0.5539035797119141, 0.6831881999969482, -0.3317137360572815, 0.9245412945747375, -0.28370001912117004, 0.443853497505188, 0.7712432146072388, -0.41379737854003906, 0.6864829659461975, 0.13432782888412476, -0.12966816127300262, 0.3374975919723511, 0.5209180116653442, -0.33199721574783325, 0.35021108388900757, 0.3995722830295563, -0.51084303855896, 0.08185101300477982, 0.14432577788829803, -0.4728657901287079, 0.40643730759620667, 0.31809499859809875, -0.20001648366451263, -0.32512807846069336, -0.22623777389526367, 0.1193995475769043, -0.011712206527590752, -0.09870009124279022, 0.5811837911605835, -0.1536128669977188, -0.6848479509353638, 0.8071872591972351, 0.32496407628059387, 0.9524109959602356, -0.6358287930488586, 0.09513264894485474, 0.2016272395849228, 0.4129592776298523, 0.018838847056031227, -0.7431196570396423, -0.015014156699180603, 0.33190739154815674, 0.029708968475461006, -0.08010612428188324, 0.8921123147010803, -0.4985366463661194, -0.37370797991752625, 0.40976738929748535, 0.7774089574813843, 0.21729792654514313, -0.2561700940132141, -0.9442073702812195, 0.0919419527053833, -0.05869904160499573, -0.0638052448630333, 0.44848814606666565, 0.6255238652229309, 0.01992172934114933, 0.4858970642089844, 0.873584508895874, -0.1134127750992775, 0.15228745341300964, 0.309335857629776, 0.715503990650177, -0.7071632742881775, -0.3524669408798218, -1.037634015083313, 0.13691076636314392, -0.31440550088882446, -0.37876054644584656, 0.8620827794075012, 0.9376236200332642, 0.8071497678756714, -0.15950405597686768, 1.0740238428115845, 0.23223240673542023, 0.4598429501056671, -0.6045745611190796, 0.6448239684104919, -0.4015287756919861, -0.06559620797634125, -0.5485482811927795, -0.8668844103813171, -0.19447655975818634, 0.38900110125541687, -0.02265576459467411, 0.19453415274620056, 0.8942679762840271, 0.7638477683067322, -0.3053281009197235, -0.05173077806830406, 0.4522152543067932, -0.20860861241817474, 0.38808348774909973, 0.5348036885261536, 0.9882155656814575, -0.45464059710502625, 0.9554383158683777, 0.016620496287941933, -0.1430966556072235, -0.2639525234699249, -1.0470356941223145, -0.9896835088729858, -0.3792991042137146, -0.17164283990859985, -0.4157981872558594, -0.09230665117502213, 0.5580973029136658, 0.6390412449836731, -0.644910991191864, -0.29180461168289185, 0.29579484462738037, 0.04466390982270241, -0.2683698832988739, -0.1925070434808731, 0.20742446184158325, -0.13273783028125763, -0.675654411315918, 0.3313632607460022, 0.24494417011737823, 0.1315975934267044, -0.30350035429000854, -0.06558845937252045, -0.28768855333328247, -0.14696533977985382, 0.7589715719223022, 0.01891636662185192, -0.5282880067825317, -0.33745408058166504, -0.2538887560367584, -0.2761428952217102, 0.29711100459098816, 0.8904886245727539, -0.4328819811344147, 0.4701903760433197, 0.22397971153259277, 0.9007565379142761, 0.7226686477661133, 0.14729180932044983, 0.531775712966919, -1.093734860420227, 0.023213768377900124, 0.012286627665162086, 0.6287323832511902, 0.5645121932029724, -0.11333716660737991, 0.6692114472389221, 0.441963791847229, -0.6180008053779602, -0.8389785289764404, 0.1292283535003662, -0.9040285348892212, -0.13457871973514557, 1.1925723552703857, -0.0952056497335434, -0.1014673039317131, -0.25371861457824707, -0.271078497171402, 0.28275999426841736, -0.4894734025001526, 0.6907796859741211, 0.889763593673706, 0.3091476261615753, -0.19784463942050934, -0.9514736533164978, 0.2832259237766266, 0.05590042471885681, -1.1974196434020996, 0.03341606259346008, 0.5574814677238464, 0.2947736978530884, 0.13273383677005768, 0.5997880101203918, -0.14536720514297485, 0.14770619571208954, 0.05531911179423332, 0.35108089447021484, -0.08731252700090408, -0.18930591642856598, -0.1523730754852295, 0.20025283098220825, -0.10252445191144943, -0.41780349612236023 ]
http://arxiv.org/abs/2402.11167v1
http://arxiv.org/pdf/2402.11167v1
Token-Ensemble Text Generation: On Attacking the Automatic AI-Generated Text Detection
2024-02-17T02:25:57
2024-02-17T02:25:57
Fan Huang, Haewoon Kwak, Jisun An
cs.CL
cs.CL, cs.AI
The robustness of AI-content detection models against cultivated attacks (e.g., paraphrasing or word switching) remains a significant concern. This study proposes a novel token-ensemble generation strategy to challenge the robustness of current AI-content detection approaches. We explore the ensemble attack strategy by completing the prompt with the next token generated from random candidate LLMs. We find the token-ensemble approach significantly drops the performance of AI-content detection models (The code and test sets will be released). Our findings reveal that token-ensemble generation poses a vital challenge to current detection models and underlines the need for advancing detection technologies to counter sophisticated adversarial strategies.
[ -0.4796581268310547, -0.8087570667266846, 0.19391515851020813, -0.3038020730018616, -0.37331897020339966, 0.4486410319805145, 0.09932960569858551, -0.38213440775871277, -0.03864680603146553, 0.7204526662826538, -0.6568777561187744, -0.4327441453933716, -0.615117609500885, 0.3799745738506317, -0.8679474592208862, 1.1489615440368652, 0.11877767741680145, -0.22656431794166565, -0.26258546113967896, -0.009355858899652958, -0.44798171520233154, -0.3891892433166504, -1.1410874128341675, 0.015416773036122322, 0.5312196612358093, 0.278972327709198, 0.35318246483802795, 0.4522687792778015, 0.5561726689338684, 0.34832996129989624, -0.05994652956724167, 0.3098093271255493, -0.3461266756057739, 0.4583909511566162, 0.12137290835380554, -0.7045365571975708, -0.03993569687008858, -0.03529927507042885, 0.6631776094436646, 0.07940971851348877, 0.3099847137928009, 0.01350332424044609, -0.07446640729904175, 0.2558276653289795, -0.5418404936790466, -0.30101487040519714, -1.2758435010910034, 0.09529571235179901, -0.6433025598526001, -0.37381720542907715, -0.7123107314109802, 0.37128689885139465, -0.2900160253047943, -0.3959539234638214, 0.3273845911026001, 0.4324164092540741, 0.5867421627044678, 0.21469593048095703, -0.27075931429862976, -0.38083481788635254, -0.31673404574394226, 0.6465955376625061, -0.5198990106582642, -0.2909042537212372, 0.16343288123607635, 0.14056038856506348, -0.2804872691631317, -0.9666021466255188, -0.8735364079475403, -0.11270350962877274, 0.22288282215595245, 0.1134302094578743, -0.5259000062942505, -0.01518474705517292, -0.15665178000926971, 0.2338569462299347, -0.5423679947853088, 0.2518540024757385, -0.20491434633731842, -0.49705708026885986, 0.6117458939552307, 0.21353894472122192, 0.6621807217597961, -0.38067346811294556, -0.5289924144744873, -0.1949557214975357, -0.7689922451972961, -0.03023042343556881, 0.7810587882995605, 0.28408539295196533, 0.13129693269729614, 0.5652485489845276, 0.21441689133644104, 0.37578102946281433, 0.25653842091560364, 0.010797538794577122, -0.17639108002185822, -0.3667357563972473, -0.085917167365551, 0.3234158754348755, 0.916011393070221, 0.3464668393135071, -0.23482577502727509, -0.2836807072162628, -0.5442387461662292, 0.10391682386398315, 0.3331734836101532, -0.48582419753074646, -0.17601872980594635, 0.3054778277873993, -0.46593987941741943, -1.1024885177612305, 0.02955264039337635, -0.6994740962982178, -0.2942136824131012, 0.3192834258079529, 0.41339731216430664, -0.5192703008651733, -0.12317080050706863, -0.3917638063430786, -0.5604850053787231, 0.30522871017456055, 0.10769609361886978, -0.8268375396728516, 0.24226561188697815, 0.7882348895072937, 0.8536627888679504, -0.7606555819511414, -0.3800254762172699, -0.9076679944992065, 0.21301567554473877, -0.44662338495254517, 1.0100756883621216, -0.3907793462276459, -0.8211589455604553, -0.0234091617166996, -0.24599865078926086, -0.07633419334888458, -0.5011985301971436, 0.6076858043670654, -0.5068654417991638, 0.3387961685657501, -0.03944805637001991, -0.7017006874084473, 0.24680805206298828, 0.4435112178325653, -0.7613546252250671, 0.9347008466720581, -0.14875738322734833, -1.0907957553863525, 0.4929165840148926, -0.5878651142120361, -0.5735305547714233, 0.3005794286727905, -0.2446853369474411, -0.42742231488227844, 0.05743969976902008, 0.39416906237602234, 0.3797520399093628, 0.04562406614422798, -0.06680815666913986, -0.014698883518576622, -0.5678537487983704, 0.3764607906341553, -0.8076789379119873, 0.5921501517295837, 0.3718927502632141, -0.4248887598514557, 0.15809756517410278, -0.7345602512359619, -0.1786697506904602, 0.34588855504989624, -0.33030736446380615, -0.21712921559810638, 0.08691351860761642, 0.15011316537857056, -0.1986178308725357, 0.2974567413330078, -0.3440871238708496, 0.10413840413093567, -0.44417497515678406, 0.5609281659126282, 1.1207115650177002, 0.17437803745269775, 0.6244425177574158, -0.6018399000167847, 0.6874989867210388, 0.22048337757587433, 0.04703936725854874, -0.6368709802627563, -0.6933741569519043, -0.2826616168022156, -0.3941085934638977, 0.246394544839859, 0.4608440697193146, -1.0675959587097168, 0.33515453338623047, 0.005697136744856834, -0.39843547344207764, -0.29715728759765625, 0.06274157762527466, 0.2015882283449173, 0.5138886570930481, 0.23418010771274567, -0.026792366057634354, -0.38195371627807617, -0.38645821809768677, -0.6635614037513733, -0.5071654915809631, -0.039582666009664536, 0.16180817782878876, 0.5856543183326721, -0.1716877520084381, 0.8413705229759216, -0.09476599842309952, 0.10934971272945404, -0.4540831446647644, 0.22697430849075317, -0.24258551001548767, 0.5974639654159546, 0.6358726024627686, -0.8939535617828369, -0.30015459656715393, -0.328538179397583, -0.35887667536735535, -0.09565343707799911, -0.3459298014640808, 0.05035127326846123, 0.33475783467292786, 0.661575198173523, -0.7196071743965149, 0.2657230496406555, 0.303369402885437, -0.27280330657958984, 0.5560504794120789, 0.11883299052715302, 0.15146265923976898, -1.3877339363098145, -0.16472186148166656, -0.22932706773281097, -0.09751217812299728, -0.6031181812286377, 0.44940343499183655, -0.26322078704833984, -0.3106445372104645, -0.6182950139045715, 0.6824594736099243, -0.10767390578985214, 0.09679120779037476, -0.26397740840911865, -0.02187398448586464, 0.04702470079064369, 0.16922233998775482, -0.3142053186893463, 0.9313856363296509, 0.4880717992782593, -0.5329750180244446, 0.25648218393325806, 0.20250150561332703, -0.1521349996328354, 0.6088595986366272, -0.4984818994998932, 0.3213609457015991, -0.12374640256166458, 0.4985644817352295, -1.4055709838867188, -0.31729957461357117, 0.4807131886482239, -0.734663188457489, 0.5179413557052612, 0.05796318128705025, -0.7052884697914124, -0.309233695268631, -0.6385405659675598, 0.5127308964729309, 0.4698372185230255, -0.6720216870307922, 0.5713512301445007, 0.11503525823354721, -0.01690390519797802, -0.4496889114379883, -0.9029350280761719, 0.6841109991073608, -0.6789690852165222, -0.8512301445007324, 0.5537937879562378, 0.10134321451187134, -0.4485165476799011, -0.19992077350616455, 0.03817055746912956, 0.11397123336791992, 0.4332875907421112, -0.1506517082452774, 0.12273552268743515, -0.15544888377189636, 0.03760955110192299, 0.06925086677074432, 0.038743965327739716, 0.1795799732208252, -0.5119335055351257, 0.7528070211410522, 0.2555240988731384, -0.54460209608078, -0.5911532044410706, 0.37574440240859985, 0.6214677691459656, -0.3426586091518402, 0.5880478024482727, 0.9197970628738403, -0.21757729351520538, -0.2945859432220459, -0.2758229374885559, -0.2748570740222931, -0.5764198303222656, 0.34447094798088074, -0.13464206457138062, -0.6755243539810181, 0.4492209553718567, -0.03199963644146919, 0.2683751881122589, 0.714576005935669, 0.3572794497013092, -0.20436468720436096, 1.2012213468551636, 0.09803597629070282, -0.18574099242687225, 0.4158251881599426, -0.1942649632692337, 0.04864179715514183, -0.5163730382919312, -0.05859440192580223, -0.5873350501060486, -0.28834301233291626, -0.6125967502593994, -0.1857956498861313, 0.18055178225040436, -0.19121648371219635, -0.07296957820653915, 0.15524601936340332, -0.8227114081382751, 0.2856033742427826, 0.7241650819778442, 0.19613969326019287, 0.1819959431886673, 0.07026463001966476, -0.00328539265319705, 0.3247393071651459, -0.6650174856185913, -0.5513585805892944, 1.4697364568710327, 0.10748817771673203, 0.45955386757850647, 0.028108621016144753, 1.1623492240905762, 0.8143510222434998, -0.10208586603403091, -0.47277921438217163, 0.6705582141876221, -0.0488528273999691, -0.46132034063339233, -0.2895618677139282, -0.19980306923389435, -1.0007048845291138, -0.029509883373975754, -0.2073623687028885, -0.7595142722129822, -0.2969776391983032, 0.010974259115755558, -0.2960594892501831, 0.7485048174858093, -0.43042126297950745, 0.6134257912635803, -0.1376461386680603, -0.04213111102581024, -0.01974971406161785, -0.5309790372848511, 0.5278401970863342, -0.24270415306091309, 0.26402992010116577, 0.23443225026130676, -0.23175804316997528, 0.7382125854492188, -0.43576085567474365, 0.8776284456253052, -0.051939915865659714, -0.11941570043563843, 0.7925323247909546, 0.14130602777004242, 0.845063328742981, 0.09689675271511078, 0.06070781871676445, -0.10177672654390335, -0.24779963493347168, -0.5423883199691772, -0.2425423413515091, 0.4232881963253021, -0.5353536009788513, -0.8281534314155579, -0.3263339102268219, -0.5281895399093628, 0.07716047763824463, 0.10887373983860016, 0.8509535193443298, 0.3849267065525055, -0.32010793685913086, -0.02747528627514839, 0.6309569478034973, -0.32470983266830444, 0.7231839299201965, -0.23656947910785675, 0.051264047622680664, -0.5021724700927734, 1.2371675968170166, -0.17484046518802643, 0.33627596497535706, 0.3061541020870209, 0.11808429658412933, -0.3104313015937805, -1.0156117677688599, -0.539073646068573, -0.4561176300048828, -0.6260334849357605, -0.1677788347005844, -0.531988263130188, -0.0795373022556305, -0.5262789726257324, -0.28725358843803406, 0.16557195782661438, -0.35880231857299805, -0.5488457083702087, 0.01776982471346855, 0.34593018889427185, 0.5741655826568604, 0.1467563658952713, 0.6357923746109009, -0.81851726770401, 0.08860699832439423, 0.3781009316444397, -0.3751804530620575, -0.11369820684194565, -0.41359612345695496, 0.1185711994767189, -0.08847633749246597, -0.5650252103805542, -0.8782118558883667, 0.1838097870349884, 0.0704931914806366, 0.4739840626716614, 0.5319259762763977, 0.1668468862771988, 0.11837422847747803, -0.42305028438568115, 1.2845689058303833, 0.21681568026542664, -0.8797707557678223, 0.5833002328872681, -0.6115396022796631, 0.2962034046649933, 0.48686888813972473, -0.2430252879858017, -0.2749235928058624, -0.7355591058731079, -0.9730896949768066, -0.77422034740448, 0.4545821249485016, 0.5192868709564209, 0.4265715479850769, -0.5324428081512451, 0.3391086459159851, -0.03458138555288315, 0.36013659834861755, -0.5962820649147034, -0.09649807959794998, -0.24487528204917908, -0.386976957321167, 0.19688333570957184, 0.0267802644520998, -0.04508645460009575, 0.2508881986141205, 0.44096556305885315, -0.1904343068599701, 0.42730146646499634, 0.1411377489566803, -0.012687040492892265, 0.0488278791308403, -0.016494784504175186, 0.48870787024497986, -0.052726227790117264, 0.4866761863231659, 0.0333833247423172, 0.3259706199169159, -0.5316332578659058, 0.11235012859106064, -0.029967430979013443, -0.4421965479850769, 0.14068667590618134, 0.7077875733375549, 0.6937291622161865, -0.034229304641485214, -0.8648344874382019, 0.6282897591590881, 0.01301493775099516, -0.34681248664855957, -0.19568271934986115, 0.3731481730937958, -0.19956494867801666, 0.09364109486341476, 0.7799155116081238, 0.4668866693973541, 0.05679729953408241, -0.5758471488952637, 0.5291382670402527, 0.6400995850563049, -0.2783927321434021, -0.07589948922395706, 0.7851783037185669, 0.18273678421974182, -0.6286143064498901, 0.3445441722869873, -0.28129342198371887, -0.6313022971153259, 1.1826541423797607, 0.6579825282096863, 0.9106873273849487, -0.043154578655958176, 0.27765437960624695, -0.15324051678180695, 0.3468839228153229, -0.12211918085813522, -0.09085489064455032, -0.2460150122642517, -0.7501832246780396, 0.0026209161151200533, -0.3868599236011505, -0.3841482400894165, 0.1174163967370987, -0.431841105222702, 0.3184441924095154, -0.619255542755127, -0.1303011178970337, -0.15673482418060303, -0.1657867133617401, -0.32604193687438965, 0.17006006836891174, 0.28934118151664734, 0.838260293006897, -0.3066888749599457, 0.42550137639045715, 0.40727075934410095, -0.18937240540981293, -0.521851658821106, 0.5140725374221802, 0.10392773896455765, -1.012539029121399, 0.39644894003868103, 0.3357193171977997, 0.15767346322536469, 0.2079460173845291, -0.7390379309654236, -0.4803781807422638, 1.1452672481536865, 0.12373119592666626, -0.23489119112491608, -0.19965210556983948, 0.04155910760164261, 0.21680666506290436, -0.28259962797164917, -0.017263038083910942, 0.4381568729877472, 0.46978759765625, 0.1698550283908844, -0.27952951192855835, -0.08966291695833206, -0.1539713591337204, -0.19449982047080994, 0.1510794311761856, -0.8159885406494141, 1.1380153894424438, 0.04799883812665939, -0.18694332242012024, 0.50654137134552, 0.7563614249229431, 0.40472450852394104, 0.5727236866950989, 0.7137011885643005, 0.5955376625061035, 0.9106108546257019, 0.07735411822795868, 1.0089476108551025, -0.4486965537071228, -0.10363610833883286, 0.6005767583847046, -0.2655240297317505, 0.6503997445106506, 0.602774441242218, -0.006792397703975439, 0.24603763222694397, 0.7944886684417725, -0.43298137187957764, 0.48327720165252686, 0.39526692032814026, -0.7079647183418274, -0.24640025198459625, 0.03145512938499451, -0.21184252202510834, 0.6965632438659668, 0.240504652261734, -0.31132417917251587, -0.058462776243686676, 0.17487633228302002, 0.0317821204662323, 0.12139346450567245, -0.5790191888809204, 0.8229846358299255, -0.21577374637126923, -0.8113540410995483, 0.3028929829597473, 0.09470261633396149, 0.9355997443199158, -0.37058597803115845, 0.21797055006027222, 0.0016919135814532638, -0.10000882297754288, -0.1353216916322708, -0.39316651225090027, 0.11553152650594711, 0.1695619821548462, 0.23724916577339172, 0.013001817278563976, 1.0144881010055542, -0.08635897189378738, -0.594291627407074, -0.16567227244377136, 0.35802167654037476, 0.04305664077401161, -0.008029391057789326, -0.5724647045135498, -0.18199637532234192, -0.022187912836670876, -0.24017727375030518, 0.4963209629058838, 0.5068712830543518, 0.032264869660139084, 0.47425636649131775, 0.8976293802261353, -0.17256109416484833, 0.12003109604120255, -0.23905080556869507, 0.8353069424629211, -0.23549401760101318, -0.632796049118042, -1.163536548614502, 0.16701218485832214, -0.2760647237300873, -0.31922292709350586, 0.7227475643157959, 0.4140009582042694, 0.7765645980834961, 0.31739693880081177, 1.146390438079834, 0.0585038885474205, 0.04221191257238388, -0.6629873514175415, 0.8256558775901794, -0.5512494444847107, 0.4590457081794739, -0.40689074993133545, -0.5157932639122009, -0.09920082241296768, 0.11926388740539551, 0.17923560738563538, 0.03614905849099159, 0.6190491914749146, 0.5446939468383789, 0.19078001379966736, 0.20838871598243713, 0.23052068054676056, -0.02440265566110611, 0.5954409837722778, 0.29755234718322754, 0.9271395802497864, -0.568572461605072, 0.9470207095146179, 0.24655377864837646, 0.09330622851848602, 0.06977915018796921, -0.7893872857093811, -1.2327758073806763, -0.3346661627292633, -0.15554770827293396, -0.3214239180088043, 0.25550806522369385, 0.6425184011459351, 0.1827625036239624, -0.7012283205986023, 0.20218341052532196, -0.6415607333183289, 0.11294683814048767, -0.08343536406755447, -0.23613286018371582, 0.2624143362045288, -0.709932267665863, -0.8629282116889954, 0.505348265171051, 0.10191445797681808, 0.3206614851951599, -0.5203253626823425, 0.11713617295026779, 0.04559990391135216, 0.3979480266571045, 0.1527918130159378, 0.08885245025157928, -0.658276379108429, -0.31736040115356445, 0.1364210993051529, -0.18686389923095703, -0.08582552522420883, 0.7604023814201355, -0.7074347734451294, -0.05117076262831688, 0.40681758522987366, 1.0640650987625122, 0.2652019262313843, -0.023472951725125313, 0.6019532680511475, -0.9210615754127502, 0.2924801707267761, 0.3690909445285797, 0.37294653058052063, 0.19273053109645844, -0.6878151893615723, 0.07995583117008209, 0.6433641910552979, -0.3151461184024811, -1.0756722688674927, 0.3001006245613098, -0.6680673956871033, -0.6479544043540955, 1.0671782493591309, -0.036634884774684906, -0.46255773305892944, -0.08546843379735947, -0.4033549129962921, 0.14954479038715363, -0.48938894271850586, 0.8882374167442322, 0.6975057125091553, 0.2613691985607147, 0.04547211527824402, -0.046762943267822266, 0.48621565103530884, 0.48320332169532776, -0.6284166574478149, -0.2688797414302826, 0.11636333167552948, -0.0037319741677492857, 0.23474188148975372, 0.4770362079143524, 0.0923856571316719, 0.40925610065460205, 0.30501896142959595, -0.3093998432159424, -0.06889761984348297, -0.20394665002822876, -0.09112986922264099, 0.45543617010116577, -0.20826253294944763, -0.4759528338909149 ]
http://arxiv.org/abs/2402.11166v1
http://arxiv.org/pdf/2402.11166v1
GenDec: A robust generative Question-decomposition method for Multi-hop reasoning
2024-02-17T02:21:44
2024-02-17T02:21:44
Jian Wu, Linyi Yang, Yuliang Ji, Wenhao Huang, Börje F. Karlsson, Manabu Okumura
cs.CL
cs.CL
Multi-hop QA (MHQA) involves step-by-step reasoning to answer complex questions and find multiple relevant supporting facts. However, Existing large language models'(LLMs) reasoning ability in multi-hop question answering remains exploration, which is inadequate in answering multi-hop questions. Moreover, it is unclear whether LLMs follow a desired reasoning chain to reach the right final answer. In this paper, we propose a \textbf{gen}erative question \textbf{dec}omposition method (GenDec) from the perspective of explainable QA by generating independent and complete sub-questions based on incorporating additional extracted evidence for enhancing LLMs' reasoning ability in RAG. To demonstrate the impact, generalization, and robustness of Gendec, we conduct two experiments, the first is combining GenDec with small QA systems on paragraph retrieval and QA tasks. We secondly examine the reasoning capabilities of various state-of-the-art LLMs including GPT-4 and GPT-3.5 combined with GenDec. We experiment on the HotpotQA, 2WikihopMultiHopQA, MuSiQue, and PokeMQA datasets.
[ -0.8037706017494202, -1.1496573686599731, 0.9148902297019958, -0.1774274855852127, -0.18709184229373932, 0.17510531842708588, -0.05991761386394501, -0.16320331394672394, 0.13521379232406616, 0.3926376700401306, -0.5158502459526062, -0.6130518913269043, -0.250891774892807, 0.3891233205795288, -0.1774863600730896, 0.5585551261901855, -0.1640872061252594, -0.20086544752120972, -0.29254570603370667, -0.2374117076396942, -0.2933909595012665, -0.5028133988380432, -0.6016102433204651, -0.001237358315847814, 0.3235509693622589, 0.43520259857177734, 0.48103487491607666, 0.30853116512298584, 0.29125869274139404, 0.266707181930542, -0.4307478070259094, 0.4159042239189148, -0.2298838347196579, 0.4573296010494232, -0.28910988569259644, -0.33699697256088257, -0.41619178652763367, 0.060747262090444565, 0.5404291749000549, 0.6655958294868469, -0.1189751923084259, 0.023516949266195297, 0.05705151706933975, 0.4001792073249817, -0.6755111217498779, -0.1319430023431778, -0.5090844035148621, -0.21938231587409973, 0.07052289694547653, -0.3770919144153595, -0.4507748782634735, -0.4574296474456787, -0.09381931275129318, -0.3730042278766632, 0.2750345468521118, -0.03674651309847832, 0.6489682793617249, 0.2560645639896393, -0.5144004821777344, -0.09553330391645432, -0.7895445823669434, 0.5602279305458069, -0.6449153423309326, 0.5509271621704102, 0.3867303729057312, 0.3280676007270813, -0.16268250346183777, -0.5514524579048157, -0.49592670798301697, 0.061020880937576294, 0.3771669566631317, 0.3303575813770294, 0.1727561056613922, -0.06679746508598328, 0.4057950973510742, 0.5316978693008423, -0.6262919902801514, -0.028594544157385826, -0.13617195188999176, -0.06929932534694672, 0.09892476350069046, 0.21742649376392365, 0.4063464403152466, -0.17967650294303894, -0.41657376289367676, -0.140620157122612, -0.7437570095062256, 0.19297966361045837, 0.14905110001564026, 0.004789974074810743, 0.04991660639643669, 0.6608350872993469, -0.2129564881324768, 0.6455376148223877, 0.12822631001472473, -0.203240767121315, 0.10943776369094849, -0.6967989206314087, -0.12540408968925476, -0.38217711448669434, 0.648965060710907, 0.16616153717041016, 0.04887605458498001, -0.09317636489868164, 0.17170926928520203, -0.1616489142179489, 0.08569910377264023, -0.77140873670578, -0.1443275362253189, 0.4299578368663788, -0.5257300138473511, -0.03574223443865776, -0.0061488766223192215, -1.146889090538025, -0.19602277874946594, -0.18579243123531342, 0.31812411546707153, -0.6595808863639832, -0.22153538465499878, 0.1402265429496765, -0.1247977465391159, 0.6735278367996216, 0.25779998302459717, -0.6972766518592834, -0.08383999764919281, 0.6118573546409607, 0.5328651666641235, 0.2275570183992386, -0.3154088854789734, -0.4782197177410126, 0.048287857323884964, -0.46397295594215393, 0.937817394733429, -0.44133052229881287, -0.1591959297657013, -0.20183293521404266, 0.044109929352998734, -0.4504886567592621, -0.33585798740386963, 0.6624557971954346, -0.8335850834846497, 0.37227293848991394, -0.21478642523288727, -0.6405404210090637, -0.2633533477783203, 0.3711225986480713, -0.6172645688056946, 0.6265379786491394, -0.02058015577495098, -1.108122706413269, 0.2626863121986389, -0.348999559879303, -0.2877994477748871, -0.05166089907288551, -0.19458523392677307, -0.31108471751213074, -0.2106735110282898, 0.8310568332672119, 0.3099513649940491, -0.3754948377609253, 0.01925378292798996, -0.3697570562362671, -0.03033357299864292, 0.28326454758644104, -0.5734724402427673, 1.0780863761901855, 0.40269190073013306, -0.24261251091957092, 0.07910379022359848, -0.6254830956459045, 0.2783045470714569, 0.2858438491821289, -0.5564499497413635, -0.5053459405899048, 0.032890915870666504, -0.7014158964157104, 0.16738641262054443, 0.024841733276844025, -0.5316734313964844, 0.26190346479415894, -0.2594977915287018, 0.45058056712150574, 0.5559017062187195, 0.3512398302555084, 0.5212593078613281, -0.21365925669670105, 0.8814228177070618, -0.3393305540084839, 0.27484017610549927, -0.34717848896980286, -0.8090714812278748, -0.4834096133708954, -0.30876389145851135, 0.5276884436607361, 0.5472003221511841, -1.0732777118682861, 0.4780033230781555, -0.08483782410621643, -0.15814805030822754, -0.5585092902183533, -0.1286352127790451, 0.06968161463737488, 0.46046119928359985, 0.529413640499115, 0.2055455595254898, -0.36699768900871277, -0.47187739610671997, 0.09159933030605316, -0.09207520633935928, -0.22379684448242188, 0.08119404315948486, 0.2813168466091156, -0.19536817073822021, 0.7753716707229614, -0.42189016938209534, 0.11075591295957565, -0.39255115389823914, 0.2302091270685196, 0.019947195425629616, 0.20363347232341766, 0.46855834126472473, -0.6177448630332947, -0.0018239552155137062, -0.4054292142391205, -0.7695680856704712, -0.14474381506443024, -0.21440869569778442, -0.2805514931678772, -0.06369344145059586, 0.7584984302520752, -0.5797039866447449, 0.4553282558917999, 0.4739597737789154, -0.379457950592041, 0.7873788475990295, -0.4130555987358093, 0.5603487491607666, -1.034622073173523, -0.2562576234340668, -0.4199729859828949, -0.00962037593126297, -0.47540992498397827, 0.500224769115448, 0.10553359985351562, -0.021495461463928223, -0.13170930743217468, 0.08415001630783081, -0.3805736303329468, 0.05922748148441315, -0.2315392643213272, -0.01223781332373619, 0.17467734217643738, 0.33942195773124695, -0.22159728407859802, 0.784558892250061, 0.5512299537658691, -0.6777797341346741, 0.22155910730361938, 0.49206891655921936, -0.23561589419841766, 0.539350688457489, -0.5825296640396118, 0.3032148480415344, -0.33401650190353394, 0.3589426577091217, -1.056220531463623, -0.025237955152988434, 0.19052276015281677, -0.5424004793167114, -0.015231646597385406, -0.3263190984725952, -0.46292930841445923, -0.42444297671318054, -0.40973183512687683, 0.7922834753990173, 0.47194957733154297, -0.8892020583152771, 1.0618607997894287, 0.11599486321210861, -0.18326495587825775, -0.14192883670330048, -0.3294259011745453, 0.10281307250261307, -0.3541732728481293, -0.9220139384269714, 0.1114850863814354, -0.32287925481796265, -0.35721445083618164, -0.07207560539245605, 0.014427060261368752, 0.22805118560791016, 0.05903543159365654, 0.13788814842700958, 0.1427871137857437, -0.24619072675704956, -0.08911504596471786, 0.12628543376922607, -0.24239206314086914, 0.11563791334629059, -0.08569544553756714, 0.5915489196777344, -0.059492211788892746, -0.5142596364021301, -0.062076274305582047, 0.6630244851112366, 0.6431617736816406, -0.6038068532943726, 0.6396197080612183, 0.2811397910118103, -0.038279738277196884, -0.4186582565307617, -0.44887810945510864, -0.12162467837333679, -0.37564611434936523, -0.23826701939105988, -0.7835400700569153, -0.9587257504463196, 0.7125221490859985, -0.259010374546051, 0.01588565856218338, 0.6321772336959839, 0.6173645853996277, -0.06903426349163055, 1.1962329149246216, 0.13704665005207062, 0.23242804408073425, 0.03276611492037773, -0.36267319321632385, 0.1524537056684494, -0.9842652082443237, -0.28490930795669556, -0.8945479393005371, 0.16682015359401703, -0.45500627160072327, -0.7605689764022827, 0.47256460785865784, 0.20133869349956512, -0.385921835899353, 0.16805845499038696, -0.23056408762931824, 0.37215834856033325, 0.7637976408004761, 0.008094496093690395, 0.5223575830459595, -0.12367409467697144, -0.5602185130119324, 0.3440099060535431, -0.7730907797813416, -0.2540513575077057, 1.0927863121032715, 0.3789612054824829, 1.1055951118469238, 0.06492279469966888, 0.706925630569458, -0.22409598529338837, -0.2539910674095154, -0.590317964553833, 0.4605046808719635, -0.07862699776887894, -0.587490975856781, -0.427824467420578, -0.7812095284461975, -0.8592664003372192, 0.4980567395687103, 0.01556809339672327, -0.47509539127349854, 0.34088727831840515, -0.40721702575683594, -0.5957202315330505, 0.5794541239738464, -0.5472038388252258, 0.6274575591087341, -0.24238009750843048, 0.10395482182502747, -0.041982319205999374, -0.7154840230941772, 0.4181874096393585, 0.16885478794574738, 0.38502615690231323, -0.030760109424591064, 0.3124229609966278, 0.7237730026245117, -0.4780562222003937, 0.2936403453350067, 0.01240796223282814, -0.41774222254753113, 0.6482510566711426, 0.2935599982738495, 0.3311719596385956, 0.07365894317626953, 0.20265990495681763, 0.0050750006921589375, -0.019278503954410553, -0.15569651126861572, -0.5286384224891663, 0.632060706615448, -0.5360998511314392, -0.6271173357963562, -0.2659926116466522, -0.38924500346183777, -0.40646064281463623, -0.015779519453644753, 0.2709532082080841, 0.5014731287956238, -0.10499731451272964, 0.06825757771730423, 0.9686846137046814, -0.4251924157142639, 0.2687748670578003, 0.34006333351135254, -0.3589114844799042, -0.723775327205658, 0.4940755069255829, -0.1495034247636795, 0.46687015891075134, 0.31947049498558044, 0.3322161138057709, -0.39440780878067017, -0.5435143113136292, -0.5977185964584351, 0.2548567056655884, -0.7970333099365234, -0.21037021279335022, -0.8166433572769165, -0.2645978331565857, -0.5095525979995728, -0.052284497767686844, -0.1752922087907791, -0.269090473651886, -0.055002015084028244, -0.2616380453109741, 0.09409205615520477, 0.25732049345970154, -0.2709696888923645, -0.16048811376094818, -0.6798799633979797, 1.079826831817627, 0.9980764985084534, 0.2698402404785156, -0.04218770191073418, -0.4766105115413666, 0.1519891619682312, 0.1460060179233551, -0.06870018690824509, -0.9749369025230408, -0.03718432039022446, -0.003790266579017043, 0.6739400029182434, 0.5466692447662354, 0.11223478615283966, 0.3727632462978363, -0.39570537209510803, 0.5636858344078064, -0.050939615815877914, -0.6940780878067017, 0.5410737991333008, -0.36196577548980713, 0.4259226620197296, 0.5499050617218018, 0.26042136549949646, -0.16553716361522675, -0.494360089302063, -0.7062970995903015, -0.7697101831436157, 0.36893829703330994, 0.26901108026504517, -0.33990517258644104, -0.10444744676351547, 0.13073764741420746, 0.19407838582992554, -0.39878156781196594, -0.25618845224380493, -0.2409951388835907, -0.15639178454875946, 0.20233656466007233, 0.24307577311992645, -0.6161718964576721, -0.15299583971500397, -0.2907100319862366, 0.5189525485038757, -0.17348161339759827, 0.39319756627082825, 0.19647099077701569, 0.0716545432806015, -0.06154695525765419, 0.67629075050354, 0.29479876160621643, 0.7476570010185242, -0.4346907138824463, 0.590691089630127, -0.03898791968822479, -0.13142114877700806, 0.4088296592235565, 0.1167927160859108, -0.5007426738739014, -0.21300087869167328, 0.3529491722583771, 0.2616596221923828, -0.328294575214386, -0.3418829143047333, 0.40781280398368835, -0.23397205770015717, -0.4877176582813263, 0.08470983058214188, -0.14057277143001556, 0.30886220932006836, 0.2951612174510956, 0.34711840748786926, -0.06909583508968353, 0.08166132867336273, -0.45401638746261597, 0.2547762393951416, 0.2682168781757355, 0.07057462632656097, -0.06410311907529831, 0.9863088726997375, 0.10141341388225555, 0.32933419942855835, 0.771808385848999, -0.38903331756591797, -0.6937809586524963, 0.7471087574958801, 0.34009143710136414, 0.9214798808097839, -0.4332049489021301, 0.5266492366790771, 0.5073294043540955, 0.552480936050415, -0.06651896238327026, 0.569192111492157, 0.114099882543087, -0.8391343951225281, -0.961670458316803, -0.36754122376441956, -0.13995446264743805, 0.14124087989330292, -0.3739219605922699, -0.13690397143363953, -0.30822861194610596, -0.06923897564411163, 0.05409491807222366, -0.5530499815940857, -0.6378428339958191, -0.07608842849731445, 0.158370241522789, 0.7248015999794006, -0.721644401550293, 0.4282107651233673, 0.5267561078071594, -0.6944243311882019, -1.022716999053955, 0.22289088368415833, -0.13137389719486237, -0.482814759016037, 0.26793476939201355, -0.1291383057832718, -0.2705915570259094, -0.14115196466445923, -0.7004479765892029, -0.7103158831596375, 0.8615150451660156, 0.19766420125961304, -0.11756964027881622, 0.07600948959589005, 0.14029911160469055, 0.40100327134132385, -0.19776906073093414, 0.3097544014453888, 0.6274346709251404, 0.5538049340248108, 0.37531226873397827, -0.8072937726974487, 0.08194971084594727, 0.08283223956823349, -0.10268444567918777, 0.14803116023540497, -0.35533222556114197, 0.9559652805328369, -0.5144996643066406, -0.28948062658309937, 0.20757532119750977, 0.5001503825187683, 0.4301675856113434, 0.30768632888793945, 0.59913170337677, 1.0091404914855957, 0.4699632525444031, -0.0703413262963295, 0.9335556626319885, 0.08357023447751999, 0.4436150789260864, 1.017773151397705, -0.05451620742678642, 0.4370271861553192, 0.240694060921669, -0.34970900416374207, 0.6286354064941406, 0.5590305328369141, 0.28950759768486023, 0.5647163391113281, 0.31920066475868225, -0.13905620574951172, -0.6884104609489441, -0.017012547701597214, -0.5364316701889038, 0.5186895132064819, 0.21896617114543915, -0.16225582361221313, -0.4448387324810028, 0.30630016326904297, -0.05146067962050438, -0.11439576745033264, -0.2706567645072937, 0.9189887642860413, -0.000686262093950063, -0.5920770168304443, 0.7100498080253601, 0.16455677151679993, 0.3447026312351227, -0.39732474088668823, -0.2065434604883194, -0.611939549446106, -0.009400430135428905, -0.05326716974377632, -0.7960212230682373, -0.043858740478754044, -0.12427129596471786, -0.06976749747991562, -0.13744498789310455, 0.722318708896637, -0.4608144462108612, -0.33227792382240295, 0.2649019956588745, 0.9912439584732056, 0.04718153551220894, -0.33840668201446533, -0.4635836184024811, -0.2702960968017578, 0.04376106336712837, -0.051181476563215256, 0.13440710306167603, 0.8607054352760315, 0.0432579442858696, 0.7530230283737183, 0.5318790674209595, -0.22757507860660553, 0.18427792191505432, 0.47144147753715515, 0.8296557664871216, -0.5818971395492554, -0.588837742805481, -0.441011518239975, 0.20728562772274017, 0.25270313024520874, 0.08707351982593536, 0.8696461319923401, 0.44369664788246155, 0.5626859664916992, -0.07574194669723511, 0.7307098507881165, -0.34245923161506653, 0.7620957493782043, -0.672907829284668, 0.14812658727169037, -0.33158960938453674, 0.3067903518676758, -0.30274662375450134, -0.9532535672187805, -0.09236622601747513, 0.35898762941360474, -0.130057230591774, 0.2027350664138794, 1.0074262619018555, 0.5777121782302856, 0.06338796764612198, 0.19723977148532867, 0.17964057624340057, -0.009807776659727097, 0.5184574127197266, 0.675285816192627, 1.2832531929016113, -0.20467109978199005, 0.6672033667564392, -0.3245161771774292, -0.3906305134296417, 0.07344558835029602, -0.5258013010025024, -0.8395974040031433, -0.6103278994560242, -0.4151109755039215, -0.39209774136543274, -0.2665310800075531, 0.5607231259346008, 0.16199354827404022, -0.7974064946174622, 0.2893920838832855, 0.01361385639756918, 0.33516690135002136, -0.6704294085502625, -0.24287675321102142, 0.7127747535705566, -0.2965222895145416, -0.44587695598602295, 0.7913429141044617, 0.2549958825111389, 0.022953150793910027, -0.352497935295105, 0.13247522711753845, -0.43502184748649597, -0.04507429897785187, 0.6028725504875183, 0.19892537593841553, -0.4314205050468445, -0.45425108075141907, 0.176707923412323, 0.1637958288192749, 0.04167976975440979, 1.0938247442245483, -0.6798902153968811, 0.581904947757721, 0.95677649974823, 0.7071503400802612, 0.207405686378479, 0.4621161222457886, 0.322918564081192, -0.3613833785057068, -0.36778542399406433, 0.24560332298278809, 0.4376784563064575, -0.006131914909929037, -0.0679471343755722, 0.6030436158180237, 0.12728802859783173, -0.8217039108276367, -0.11361797899007797, 0.24056415259838104, -0.9604814052581787, -0.7322424650192261, 1.5235257148742676, 0.02451534941792488, -0.009414834901690483, -0.5371398329734802, -0.22372737526893616, 0.08250220119953156, -0.11954988539218903, 0.6749944686889648, 0.5118210911750793, -0.16440914571285248, -0.2138666808605194, -0.5218773484230042, 0.19889594614505768, 0.24802228808403015, -0.9915701746940613, 0.1336381882429123, 0.787202000617981, 0.29460370540618896, 0.17006973922252655, 0.6691129803657532, -0.39945295453071594, 0.1187438890337944, 0.09866829216480255, -0.010416323319077492, -0.16077670454978943, -0.4871797561645508, -0.26210564374923706, 0.6483953595161438, 0.025122283026576042, -0.45081356167793274 ]
http://arxiv.org/abs/2402.11163v1
http://arxiv.org/pdf/2402.11163v1
KG-Agent: An Efficient Autonomous Agent Framework for Complex Reasoning over Knowledge Graph
2024-02-17T02:07:49
2024-02-17T02:07:49
Jinhao Jiang, Kun Zhou, Wayne Xin Zhao, Yang Song, Chen Zhu, Hengshu Zhu, Ji-Rong Wen
cs.CL
cs.CL
In this paper, we aim to improve the reasoning ability of large language models (LLMs) over knowledge graphs (KGs) to answer complex questions. Inspired by existing methods that design the interaction strategy between LLMs and KG, we propose an autonomous LLM-based agent framework, called KG-Agent, which enables a small LLM to actively make decisions until finishing the reasoning process over KGs. In KG-Agent, we integrate the LLM, multifunctional toolbox, KG-based executor, and knowledge memory, and develop an iteration mechanism that autonomously selects the tool then updates the memory for reasoning over KG. To guarantee the effectiveness, we leverage program language to formulate the multi-hop reasoning process over the KG, and synthesize a code-based instruction dataset to fine-tune the base LLM. Extensive experiments demonstrate that only using 10K samples for tuning LLaMA-7B can outperform state-of-the-art methods using larger LLMs or more data, on both in-domain and out-domain datasets. Our code and data will be publicly released.
[ -0.47392919659614563, -0.9133590459823608, 0.8252344131469727, -0.09275061637163162, -0.04382259398698807, 0.40149468183517456, -0.23243288695812225, -0.47883740067481995, 0.07281434535980225, 0.6474412083625793, -0.39112192392349243, -0.5368931889533997, -0.5209705233573914, -0.07059171795845032, 0.05915725231170654, 0.4773726761341095, -0.14828823506832123, -0.10689327865839005, -0.26486891508102417, -0.1645175665616989, -0.21420885622501373, -0.23241271078586578, -0.8556546568870544, -0.7378259897232056, 0.6621698141098022, 0.49000436067581177, 0.9962049722671509, 0.8759258389472961, 0.22780193388462067, 0.42192864418029785, 0.08128094673156738, 0.6214951276779175, -0.468727707862854, 0.329476535320282, -0.40580663084983826, -0.46397730708122253, -0.6412658095359802, -0.293851763010025, 0.27127113938331604, 0.4967694580554962, -0.023306502029299736, -0.06796589493751526, -0.491466760635376, 0.5997070074081421, -0.6118290424346924, 0.6514412760734558, -0.5516711473464966, -0.16663560271263123, 0.0182710699737072, -0.25192248821258545, -0.5889959931373596, -0.3587176203727722, -0.13516032695770264, -0.7626063823699951, -0.33315685391426086, 0.14291998744010925, 0.41147470474243164, 0.4545345604419708, -0.7257046699523926, -0.4925297200679779, -0.6117039322853088, 0.5254834294319153, -0.6169465184211731, 0.2833210825920105, 0.311298131942749, 0.7023316621780396, -0.6055452227592468, -0.7566325664520264, -0.7062209844589233, -0.3768930435180664, -0.0003587082901503891, -0.02891702577471733, -0.10919807106256485, 0.28530576825141907, 0.16473552584648132, -0.12132591754198074, -0.3200805187225342, 0.03374970704317093, 0.09964984655380249, -0.23718862235546112, 0.7952131032943726, 0.20752234756946564, 0.11076625436544418, 0.06149987876415253, -0.030640002340078354, -0.21910178661346436, -0.6028386354446411, -0.039289504289627075, 0.5222052931785583, 0.18709801137447357, 0.29777011275291443, 0.6446220278739929, -0.6647865176200867, 0.9061172604560852, -0.08557455241680145, -0.4060444235801697, 0.2095574140548706, 0.13994291424751282, -0.1946740448474884, -0.043740347027778625, 0.6534702777862549, 0.328561007976532, 0.43695497512817383, -0.45459622144699097, -0.18643295764923096, -0.08478636294603348, 0.1942002773284912, -0.663000762462616, -0.3264791667461395, 0.32083797454833984, -0.08480748534202576, -0.17285294830799103, -0.15374399721622467, -0.46445634961128235, -0.5132998824119568, -0.46485480666160583, 0.6384660601615906, -0.4651142954826355, -0.30506882071495056, 0.16713771224021912, -0.17409302294254303, 0.14903141558170319, 0.6186028122901917, -0.3790311813354492, 0.10569997131824493, 0.4888686239719391, 0.22822338342666626, 0.053868237882852554, -0.3587079644203186, -0.5125528573989868, 0.6103928089141846, -0.47451069951057434, 0.9609317183494568, -0.6766314506530762, -0.18747855722904205, -0.296414315700531, 0.0015369926113635302, -0.1323973387479782, -0.5799278020858765, 0.2530534565448761, -0.9967058300971985, -0.2520338296890259, -0.315591961145401, -0.6547181010246277, -0.6586351990699768, 0.5739834904670715, -0.6166794896125793, 0.7467936277389526, 0.16755534708499908, -0.23486697673797607, 0.09250614047050476, -0.901972234249115, -0.4704861640930176, 0.039371706545352936, -0.1916879564523697, -0.17957696318626404, -0.5048931241035461, 0.29355382919311523, 0.5339074730873108, -0.3990249037742615, 0.2642034590244293, -0.5449534058570862, -0.1954936385154724, 0.1006348729133606, -0.11710572242736816, 0.6162921786308289, 0.25728192925453186, -0.14387443661689758, 0.20909905433654785, -0.799094557762146, 0.5074480772018433, 0.209934264421463, -0.4229680895805359, -0.019586341455578804, 0.11409503221511841, -0.6412749886512756, 0.15209662914276123, 0.310201495885849, -0.3326793909072876, 0.5768929719924927, -0.22580486536026, 0.2551146149635315, 0.7625713348388672, -0.010080402716994286, 0.49492189288139343, -0.4676661491394043, 0.6333835124969482, -0.14107313752174377, 0.11045390367507935, 0.05104862153530121, -0.39391028881073, -0.732938826084137, -0.3180570602416992, 0.019189199432730675, 0.5219826102256775, -1.0578972101211548, 0.23680472373962402, -0.2551462948322296, -0.7404395341873169, -0.24402081966400146, 0.12184713780879974, 0.43037837743759155, 0.44423213601112366, 0.33985087275505066, 0.1379886269569397, -0.17291826009750366, -0.7535170912742615, -0.11578332632780075, -0.21398122608661652, 0.24496228992938995, 0.631035566329956, 0.43996524810791016, -0.39245375990867615, 1.17978036403656, -0.5843797326087952, -0.000139348951051943, -0.36142563819885254, -0.003561087418347597, 0.15349321067333221, 0.22577951848506927, 0.40855661034584045, -0.7082948684692383, -0.5407775044441223, 0.4297759532928467, -0.9319685697555542, -0.18467779457569122, 0.08316251635551453, -0.4216669499874115, 0.12681293487548828, 0.5277534127235413, -0.9356769323348999, 0.11927025765180588, 0.14848592877388, -0.45234233140945435, 0.5199477076530457, -0.2858637571334839, 0.15153363347053528, -0.8499060273170471, -0.12203647941350937, -0.5700175166130066, -0.35396280884742737, -0.47128239274024963, 0.35898566246032715, -0.020726319402456284, 0.22210519015789032, -0.24594426155090332, 0.7271706461906433, -0.48301467299461365, -0.039419062435626984, -0.4853978455066681, 0.12254858762025833, 0.04272398725152016, 0.6841055750846863, -0.15147067606449127, 0.5761566162109375, 0.5193706154823303, -0.6908320784568787, 0.9978620409965515, 0.10988233983516693, -0.23847076296806335, 0.33373016119003296, -0.377114862203598, 0.41218286752700806, -0.36458322405815125, 0.34790724515914917, -0.6530539393424988, -0.397203654050827, 0.40607598423957825, -0.3369990885257721, 0.30155935883522034, -0.1720585823059082, -0.6613597869873047, -0.3982030749320984, -0.005003334488719702, 0.08908988535404205, 0.1990881711244583, -0.5929150581359863, 1.251815676689148, 0.30717411637306213, 0.10408391803503036, -0.7526900768280029, -0.1715550273656845, 0.08188717812299728, 0.022781651467084885, -0.892422616481781, 0.03803078085184097, -0.21495281159877777, -0.3748059868812561, 0.3128051459789276, -0.008117436431348324, -0.07399720698595047, 0.13129913806915283, 0.061713796108961105, -0.17113636434078217, -0.04628191515803337, 0.3484146296977997, 0.2993572950363159, -0.32992666959762573, 0.04113532975316048, -0.3751049041748047, 0.6483303308486938, -0.06570016592741013, -0.6681388020515442, -0.001881215488538146, 0.14594770967960358, 0.7780799865722656, -0.08672868460416794, 0.5888701677322388, 0.272394597530365, -0.060487911105155945, -0.586556077003479, -0.5689170360565186, 0.07612834870815277, -0.4985024333000183, 0.4353896677494049, -0.754852831363678, -0.8394224047660828, 0.6369479894638062, -0.5400374531745911, -0.14919358491897583, 0.27550387382507324, 0.8002380728721619, 0.06214926391839981, 1.0382050275802612, 0.2144360989332199, -0.10803111642599106, -0.06839372217655182, -0.3773494064807892, 0.23676973581314087, -0.4692915678024292, -0.42567896842956543, -0.22659292817115784, -0.29349273443222046, -0.16142530739307404, -0.565790057182312, 0.5041720271110535, 0.2779516279697418, -0.5572830438613892, 0.2155967503786087, -0.44895437359809875, 0.7361001968383789, 0.6275571584701538, -0.0491425096988678, 0.4928220212459564, -0.49115675687789917, -0.26571711897850037, 0.6975257992744446, -0.8795112371444702, -0.4849403202533722, 0.9500272274017334, 0.0819757953286171, 0.8635980486869812, 0.3067067563533783, 0.2878609299659729, 0.2747490406036377, 0.3261362910270691, -0.8021208047866821, 0.793198823928833, 0.3806091845035553, -0.6046417951583862, -0.5376608967781067, -0.5854432582855225, -0.8131189942359924, 0.4111165404319763, 0.05189138278365135, -0.6485391855239868, -0.1419258862733841, 0.06396627426147461, -0.15555407106876373, 0.33996447920799255, -0.8585249185562134, 0.7457771897315979, -0.21271932125091553, -0.10630806535482407, -0.20868615806102753, -0.7159522771835327, 0.30321359634399414, -0.11660974472761154, 0.12718576192855835, -0.21880541741847992, 0.06825396418571472, 0.328480988740921, -0.7336593866348267, 0.6481011509895325, -0.36078283190727234, -0.09526901692152023, 0.6695724725723267, 0.1172284409403801, 0.9340950846672058, -0.09708966314792633, -0.18017427623271942, -0.2418864518404007, -0.05708031728863716, -0.28540265560150146, -1.0278674364089966, 0.5041107535362244, -1.0689387321472168, -0.7581507563591003, -0.005883190780878067, -0.9120834469795227, -0.4289017617702484, 0.28517505526542664, -0.16146628558635712, 0.2924569845199585, 0.2978322505950928, 0.22984664142131805, 0.4504350423812866, -0.1059332937002182, 0.31944605708122253, 0.8091093897819519, -0.25700172781944275, -0.4594694674015045, 0.864520788192749, 0.3945208787918091, 0.3930220305919647, 0.5523464679718018, 0.29206156730651855, -0.31375542283058167, -0.4662230610847473, -0.7068326473236084, 0.05696622282266617, -1.0932294130325317, -0.37565353512763977, -0.78669273853302, -0.1767653524875641, -0.3370717763900757, -0.20954397320747375, -0.4181617796421051, -0.28939560055732727, 0.201134592294693, -0.17409934103488922, 0.6313286423683167, 0.6570424437522888, 0.07013867795467377, 0.46510952711105347, -0.6480575203895569, 0.3238985240459442, 0.5804010033607483, 0.24019891023635864, 0.2402319312095642, -0.17482873797416687, -0.2109980434179306, -0.10278516262769699, -0.19431672990322113, -0.6938395500183105, 0.17850437760353088, -0.11062723398208618, 0.8909274339675903, 0.5154029726982117, 0.3805803954601288, 0.643151044845581, -0.20001673698425293, 0.30845320224761963, -0.24825118482112885, -0.8635163903236389, 0.294811874628067, -0.5576551556587219, 0.25874966382980347, 0.29098525643348694, 0.16112607717514038, -0.27767500281333923, -0.5494681000709534, -0.43698784708976746, -0.694147527217865, 0.7851999998092651, 0.19207873940467834, -0.20512664318084717, 0.06578785181045532, 0.485226571559906, -0.04094942659139633, 0.3085188567638397, -0.5495449900627136, -0.2950979769229889, 0.03462117910385132, -0.25296977162361145, 0.1928154081106186, -0.10048756003379822, -0.2632215619087219, -0.2668899595737457, 0.8930509686470032, -0.5892812609672546, 0.23097924888134003, 0.03304886072874069, -0.11305048316717148, -0.15524370968341827, 0.12927362322807312, 0.32456648349761963, 0.7145153880119324, -0.02312738075852394, 0.3154255449771881, 0.3391949534416199, -0.23085829615592957, 0.2931375503540039, 0.16692054271697998, -0.11346327513456345, -0.48074063658714294, 0.47917741537094116, 0.6199379563331604, -0.15717361867427826, -0.9836778044700623, 0.30683445930480957, 0.20064005255699158, -0.22960056364536285, -0.24778588116168976, 0.5175102353096008, 0.5262729525566101, 0.8335615992546082, 0.229146808385849, -0.02686700038611889, -0.20281730592250824, -0.3701855540275574, 0.010312355123460293, 0.4207698404788971, 0.0007499920902773738, 0.11881469935178757, 0.5336120128631592, 0.07884363830089569, -0.2580958604812622, 0.44874292612075806, -0.7046118974685669, -0.5702202916145325, 0.9544895887374878, 0.4507119655609131, 0.452379047870636, -0.057098690420389175, 0.16944153606891632, 0.05191507935523987, 0.30909788608551025, 0.02034919336438179, 0.32689571380615234, -0.14882563054561615, -1.24321711063385, -0.7778776288032532, -0.3534986972808838, -0.5909595489501953, -0.14350749552249908, -0.12378256022930145, 0.08313285559415817, -0.41824471950531006, 0.1280633956193924, -0.24187126755714417, 0.1846047341823578, -0.30547285079956055, 0.24258790910243988, -0.0607382133603096, 0.9308309555053711, -0.3799130618572235, 1.0570062398910522, 0.727766752243042, -0.31546175479888916, -1.2207289934158325, -0.46990716457366943, -0.11011648178100586, -0.9024505019187927, 0.6488685011863708, 0.03816535323858261, -0.5664100050926208, 0.15367834270000458, -0.6739027500152588, -1.0817551612854004, 1.5187009572982788, 0.6095929741859436, -0.3928545415401459, 0.25624945759773254, 0.15790875256061554, 0.34549185633659363, -0.4046422839164734, 0.3120587468147278, 0.49385419487953186, 0.8008183836936951, 0.5772575736045837, -0.7330412268638611, -0.08499611914157867, -0.29407960176467896, -0.4631659984588623, 0.2926602065563202, -0.9903407096862793, 0.7470139265060425, -0.3144203722476959, 0.1462942361831665, -0.04987984523177147, 0.5111851692199707, 0.37584251165390015, 0.45819732546806335, 0.6456040740013123, 0.8209073543548584, 0.9930044412612915, 0.11494451761245728, 1.0886507034301758, -0.40927720069885254, 0.2660403251647949, 1.090035080909729, -0.4101993441581726, 0.29471996426582336, -0.006036472972482443, -0.04135003313422203, 0.4692697823047638, 0.3621787428855896, 0.10440617799758911, 0.37608298659324646, 0.260576456785202, -0.42873868346214294, -0.6756035089492798, 0.023299606516957283, -0.13851624727249146, 0.5689101815223694, 0.25389614701271057, -0.05907448008656502, -0.33242496848106384, 0.10391689091920853, 0.28405889868736267, -0.08963709324598312, -0.35774195194244385, 0.7348604202270508, -0.13331584632396698, -0.6973804235458374, 0.22879153490066528, 0.19818860292434692, 0.01935899630188942, -0.7399706244468689, -0.01702454313635826, 0.09345457702875137, 0.35308563709259033, -0.1286909431219101, -0.7251133918762207, 0.1374998539686203, -0.3144338130950928, -0.17177893221378326, 0.004777000285685062, 1.0007203817367554, -0.27373647689819336, -0.30071091651916504, 0.6438690423965454, 0.7602241635322571, 0.10927743464708328, -0.172384113073349, -0.5374099016189575, -0.1592067927122116, -0.1354740411043167, -0.6100260019302368, 0.20606128871440887, 0.8860166668891907, -0.18458418548107147, 1.251031756401062, 0.657339870929718, -0.10070163756608963, 0.05337047576904297, 0.16470253467559814, 1.1437739133834839, -0.6221539974212646, -0.3433389961719513, -0.7767909169197083, 0.27285000681877136, -0.13045820593833923, 0.046500854194164276, 0.6660571694374084, 0.44887229800224304, 0.8183989524841309, 0.021407384425401688, 0.860298216342926, -0.23423637449741364, 0.3868221044540405, -0.5276187062263489, 0.7373352646827698, -0.3329634666442871, 0.16423724591732025, -0.05560523644089699, -0.6709055304527283, -0.23452123999595642, 0.6267983317375183, -0.4121902585029602, 0.19756031036376953, 0.5036206245422363, 1.0240312814712524, 0.11372162401676178, -0.033110711723566055, 0.4544205367565155, 0.4122059643268585, 0.546050488948822, 0.6212407350540161, 0.8859903216362, -0.020936351269483566, 0.715557336807251, -0.14509087800979614, -0.14257600903511047, -0.027878412976861, -0.8307055830955505, -0.8757469058036804, -0.1349523514509201, -0.17568932473659515, -0.2899377644062042, -0.03557289019227028, 1.1542314291000366, 0.6414692401885986, -0.42540186643600464, -0.0819942057132721, -0.1628107875585556, 0.6658108830451965, -0.3312160074710846, -0.17895053327083588, 0.39333707094192505, -0.363779217004776, -0.6975387930870056, 0.5615383982658386, 0.37950122356414795, -0.3698209822177887, -0.25398099422454834, -0.45040664076805115, -0.07679377496242523, 0.10066459327936172, 0.8062735199928284, 0.0887296050786972, -0.4872036278247833, -0.5138481855392456, -0.10623638331890106, 0.017032645642757416, -0.0676317885518074, 0.6171902418136597, -0.7578374743461609, 0.7159218788146973, 0.42630892992019653, 0.7995004057884216, 0.5156069993972778, -0.11295818537473679, 0.5142291188240051, -0.342043399810791, -0.10011499375104904, 0.20499630272388458, 0.2820724844932556, -0.04515666887164116, -0.41336458921432495, 0.5898405909538269, 0.3038095235824585, -0.6831362843513489, -0.3509014844894409, 0.4106677174568176, -1.0740419626235962, -0.5452266335487366, 1.2906827926635742, -0.08606447279453278, -0.32357949018478394, -0.38219788670539856, -0.33503302931785583, 0.26521918177604675, -0.46372613310813904, 0.5498658418655396, 0.7571446299552917, -0.5313984751701355, -0.21892434358596802, -0.3628509044647217, 0.21586352586746216, -0.051262903958559036, -0.960992157459259, -0.036821551620960236, 0.530194103717804, 0.21569372713565826, 0.2014698088169098, 0.849120557308197, 0.07513222843408585, 0.154057115316391, 0.16852967441082, 0.16829444468021393, -0.6705606579780579, -0.4947627782821655, 0.3679331839084625, 0.5744958519935608, 0.14786046743392944, 0.10170195996761322 ]
http://arxiv.org/abs/2402.11161v1
http://arxiv.org/pdf/2402.11161v1
PANDA (Pedantic ANswer-correctness Determination and Adjudication):Improving Automatic Evaluation for Question Answering and Text Generation
2024-02-17T01:56:19
2024-02-17T01:56:19
Zongxia Li, Ishani Mondal, Yijun Liang, Huy Nghiem, Jordan Lee Boyd-Graber
cs.CL
cs.CL, cs.AI
Question answering (QA) can only make progress if we know if an answer is correct, but for many of the most challenging and interesting QA examples, current answer correctness (AC) metrics do not align with human judgments, particularly verbose, free form answers from large language models (LLM). There are two challenges: a lack of data and that models are too big. LLM based scorers correlate better with humans, but this expensive task has only been tested on limited QA datasets. We rectify these issues by providing clear guidelines for evaluating machine QA adopted from human QA contests. We also introduce Precise ANswer correctness Determination and Adjudication (PANDA), a small, efficient, deterministic AC classifier (812 KB) that more accurately evaluates answer correctness.
[ -0.24945291876792908, -1.2409281730651855, 0.4373253583908081, 0.3574628233909607, -0.20508958399295807, 0.06353309750556946, 0.008949034847319126, -0.16784390807151794, 0.08916371315717697, 0.2690123915672302, -0.23520246148109436, -0.24999482929706573, -0.32522332668304443, 0.4161991477012634, -0.2961222231388092, 1.1093109846115112, -0.18754617869853973, -0.12153878062963486, -0.5991310477256775, -0.1761748045682907, -0.4844507873058319, -0.5262711048126221, -0.6752080917358398, -0.03486932814121246, 0.25506851077079773, 0.4352066218852997, 0.8836972713470459, 0.6189648509025574, 0.7386587858200073, 0.2988163232803345, -0.29030168056488037, 0.10104365646839142, -0.09744907915592194, 0.05662396550178528, -0.13225191831588745, -0.8421088457107544, -0.5377033352851868, 0.17628376185894012, 0.5167144536972046, 0.6274265050888062, -0.4895421862602234, 0.42894577980041504, -0.27554750442504883, 0.8605599403381348, -0.6552121639251709, 0.22142861783504486, -0.6103759407997131, 0.051501862704753876, -0.05712900310754776, -0.03222275897860527, -0.13960212469100952, -0.8381121754646301, 0.14196035265922546, -0.9690754413604736, 0.480655312538147, -0.03239087015390396, 0.8360257148742676, 0.7931635975837708, -0.4924590289592743, -0.5279919505119324, -0.3821187913417816, 0.6705659031867981, -0.4672674834728241, -0.03015170432627201, 0.41183456778526306, 0.6222988963127136, -0.07146590203046799, -0.5012015104293823, -0.8362423181533813, -0.06959167122840881, 0.03850080817937851, -0.0531051903963089, -0.2395714670419693, -0.025902289897203445, 0.3854229152202606, 0.26990559697151184, -0.6143962144851685, -0.12488953769207001, -0.43870481848716736, -0.09790340811014175, 0.8941150307655334, 0.4770350456237793, 0.23339343070983887, -0.24515219032764435, 0.08493009209632874, -0.13484708964824677, -0.6483162641525269, 0.5364800095558167, 0.5596864223480225, -0.15861453115940094, 0.27922388911247253, 0.7253172397613525, -0.3219398260116577, 0.7715449333190918, 0.5737860202789307, -0.024424726143479347, 0.09184765815734863, -0.3325851559638977, -0.07375393807888031, 0.056474097073078156, 0.7611971497535706, 0.31541091203689575, 0.2306632101535797, -0.05622896924614906, -0.05807911232113838, 0.40577030181884766, 0.44485539197921753, -0.7113631963729858, -0.6204130053520203, 0.4390900731086731, -0.2936519980430603, -0.42759087681770325, 0.05454382300376892, -0.6652668118476868, -0.3896133303642273, -0.25600749254226685, 0.34860891103744507, -0.21224644780158997, -0.161021888256073, 0.0891847312450409, -0.2218039482831955, 0.34406107664108276, 0.6012269854545593, -0.6777474284172058, 0.1699056774377823, 0.7623081207275391, 0.39683833718299866, 0.010945698246359825, -0.08724988251924515, -0.8602046966552734, -0.2602801024913788, -0.8830893635749817, 0.9759098887443542, -0.4292457699775696, -0.23865634202957153, -0.24810652434825897, -0.01534265000373125, -0.14228078722953796, -0.8333310484886169, 0.684174120426178, -0.582088828086853, 0.4134156107902527, -0.3259342908859253, -0.449533611536026, -0.3429816961288452, 0.28978440165519714, -0.7285704016685486, 0.8927309513092041, 0.19224078953266144, -0.7814163565635681, 0.48752498626708984, -0.6238750219345093, -0.41413888335227966, 0.06207275390625, 0.08655525743961334, -0.5508764386177063, -0.08287648111581802, 0.29057568311691284, 0.33728843927383423, -0.2192850410938263, 0.2798408567905426, -0.2907717525959015, -0.5319327116012573, 0.45371460914611816, -0.4942876696586609, 0.9591993093490601, 0.3066421449184418, -0.10466598719358444, 0.04704580828547478, -0.7875326871871948, 0.015608380548655987, 0.13405615091323853, -0.7014145255088806, -0.1454593390226364, -0.007441992871463299, -0.2834315001964569, 0.14609460532665253, 0.46614065766334534, -0.6447643637657166, 0.15318310260772705, -0.3334667980670929, 0.5144940614700317, 0.7738720178604126, -0.12603406608104706, 0.25547367334365845, -0.6039056777954102, 0.8394348621368408, -0.04266832396388054, 0.003695255843922496, 0.0963713601231575, -0.7618066072463989, -0.5725919008255005, -0.07635427266359329, 0.44700583815574646, 1.0345678329467773, -0.7353841066360474, 0.5540511608123779, -0.16146227717399597, -0.7273587584495544, -0.8931381702423096, 0.3502739369869232, 0.45666447281837463, 0.5668330788612366, 0.21582135558128357, -0.2549726366996765, -0.2533125877380371, -0.7350527048110962, -0.3370860815048218, -0.8207877278327942, 0.04381862282752991, 0.2838713824748993, 0.37208133935928345, 0.14189931750297546, 0.8835473656654358, -0.6667002439498901, 0.005105138290673494, 0.06487038731575012, 0.1829672008752823, 0.08408358693122864, 0.32409948110580444, 0.5018503069877625, -0.9978504180908203, -0.5591776967048645, -0.22589519619941711, -0.6571510434150696, -0.17840193212032318, 0.13645467162132263, 0.05405251681804657, 0.3857104480266571, 0.1409408301115036, -0.6462205648422241, 0.36224165558815, 0.18621015548706055, -0.43407660722732544, 0.8828156590461731, -0.13209421932697296, 0.38392844796180725, -0.6471535563468933, 0.20180977880954742, 0.04103101044893265, -0.29377323389053345, -0.344818115234375, 0.01959964632987976, 0.20045512914657593, -0.02018585056066513, -0.33914893865585327, 0.47338026762008667, 0.00983328279107809, 0.14590738713741302, 0.007484389003366232, 0.3515419363975525, 0.2923528552055359, 0.44270944595336914, -0.023047083988785744, 1.0437675714492798, 0.10584716498851776, -0.7693068385124207, 0.9665282368659973, 0.45658451318740845, -0.4564110338687897, 1.0472068786621094, -0.7965854406356812, 0.17460638284683228, -0.2797531485557556, 0.2887342870235443, -1.2049946784973145, -0.18884599208831787, 0.24313269555568695, -0.7420926094055176, 0.32023102045059204, 0.22193671762943268, -0.5977173447608948, -0.5707219243049622, -0.3591651916503906, 0.4905424118041992, 0.5071040987968445, -0.5566787719726562, 0.15508079528808594, 0.41595712304115295, -0.3838723599910736, -0.8030595779418945, -0.40481695532798767, 0.09672421962022781, -0.3273298442363739, -0.7123926281929016, -0.08648241311311722, -0.44161146879196167, -0.5655194520950317, -0.06650100648403168, -0.051817476749420166, -0.2907892167568207, 0.383563756942749, -0.1572795808315277, 0.02269081585109234, -0.2317049652338028, 0.32144439220428467, -0.03368774428963661, -0.00505225220695138, 0.2297564297914505, 0.3808214068412781, 0.2187964916229248, -0.3280642330646515, -0.07130947709083557, -0.7192348837852478, 0.1734466552734375, 0.36059924960136414, -0.2859702408313751, 0.357255220413208, 0.37608209252357483, -0.31938639283180237, 0.10253952443599701, -0.5550268292427063, 0.18430855870246887, -0.3997122347354889, 0.27542826533317566, -0.45465904474258423, -0.46925589442253113, 0.43831348419189453, 0.40048375725746155, 0.16929368674755096, 0.7012885212898254, 0.37151268124580383, -0.25859546661376953, 1.3642436265945435, 0.3734537661075592, 0.24482925236225128, 0.22379019856452942, -0.05322915315628052, 0.008789373561739922, -0.7882890105247498, -0.18882597982883453, -0.9187554121017456, 0.0058973138220608234, -0.4093407392501831, -0.13308092951774597, 0.16053546965122223, 0.32204562425613403, -0.3563344180583954, 0.39734581112861633, -0.7563962340354919, 0.1614910066127777, 0.48341694474220276, -0.002738282550126314, 0.27189409732818604, -0.4891134202480316, 0.1889307051897049, 0.05330055579543114, -0.5895702242851257, -0.7834623456001282, 1.2365894317626953, 0.16501149535179138, 0.6624636650085449, 0.20045128464698792, 0.36289018392562866, 0.38464751839637756, 0.49448591470718384, -0.7475863099098206, 0.4720376133918762, -0.15893301367759705, -0.843849241733551, -0.40347275137901306, -0.5617663264274597, -0.7497989535331726, 0.04898460954427719, -0.006536792032420635, -0.359357625246048, 0.033271126449108124, 0.07964621484279633, -0.5922155380249023, -0.02638322487473488, -0.8743162155151367, 1.0317966938018799, -0.10095866024494171, -0.01822630688548088, 0.004403186496347189, -0.7166001200675964, 0.41076287627220154, -0.29088321328163147, 0.05295737087726593, -0.1487209051847458, -0.1663975566625595, 1.0252183675765991, -0.41271141171455383, 0.5547595024108887, -0.13466614484786987, -0.4194248914718628, 0.6605883240699768, 0.08583138138055801, 0.33319640159606934, 0.04439834505319595, -0.24109509587287903, -0.2441130429506302, 0.6115711331367493, -0.5293367505073547, -0.7933397889137268, 0.3629382252693176, -0.8004649877548218, -0.8863118290901184, -0.4206034243106842, -0.2615807056427002, -0.05639377608895302, -0.2142372876405716, 0.1772407591342926, 0.10306934267282486, -0.31760796904563904, 0.16594958305358887, 0.859586238861084, -0.3746509253978729, -0.08324547111988068, 0.5927858352661133, -0.10560969263315201, -0.5725574493408203, 0.871495246887207, 0.2077273428440094, 0.0011642702156677842, 0.6043652296066284, 0.040242649614810944, -0.5575401186943054, -0.16702480614185333, -0.8562306761741638, 0.2666224539279938, -0.8522846102714539, -0.237404927611351, -0.5231135487556458, -0.012190527282655239, -0.6217647790908813, -0.1260281801223755, 0.040030304342508316, -0.8580828309059143, -0.4825332462787628, -0.10648053139448166, 0.2105584740638733, 0.7077240347862244, 0.012153453193604946, 0.22338207066059113, -0.6511496305465698, 0.6093598008155823, 0.6670097708702087, 0.16003096103668213, -0.28392109274864197, -0.39371225237846375, 0.1471167355775833, 0.28278571367263794, -0.671176552772522, -0.8400104641914368, 0.049363747239112854, 0.2779981195926666, 0.5145999193191528, 0.4696517288684845, 0.2259608507156372, 0.5698267817497253, -0.1920156329870224, 1.109884262084961, 0.10575584322214127, -0.9337807893753052, 0.859469473361969, 0.007682850118726492, -0.05663440376520157, 0.36308515071868896, 0.005413569509983063, -0.5229718089103699, -0.27019864320755005, -0.7050666213035583, -0.38404884934425354, 0.6940925717353821, 0.018454307690262794, -0.015699878334999084, -0.17389865219593048, 0.5410724878311157, 0.0933506190776825, 0.34426671266555786, -0.29365596175193787, -0.17390422523021698, -0.3991096317768097, -0.4022035598754883, -0.29539453983306885, -0.11171777546405792, -0.14776664972305298, -0.11102912575006485, 0.8698216676712036, -0.2544132471084595, 0.04121727868914604, 0.24645839631557465, -0.06503480672836304, -0.39974069595336914, 0.2591279447078705, 0.29047346115112305, 0.8189234733581543, -0.20283621549606323, -0.19812138378620148, 0.17159001529216766, -0.36779269576072693, 0.3660232722759247, 0.2464476376771927, -0.34381577372550964, -0.07027758657932281, 0.13859820365905762, 0.4041166305541992, -0.4010976552963257, -0.8867471814155579, 0.8321822285652161, -0.5323494076728821, -0.09514851123094559, -0.2981380820274353, 0.4025301933288574, -0.18482565879821777, -0.01573897711932659, 0.2773842513561249, -0.06757491081953049, 0.07335665076971054, -0.39586135745048523, 0.06617037951946259, 0.44837427139282227, -0.36678197979927063, -0.1795704960823059, 0.9400942325592041, 0.15861578285694122, -0.5644780397415161, 0.6945840120315552, -0.18862205743789673, -0.6098699569702148, 1.0586320161819458, 0.15799057483673096, 0.760231614112854, -0.2643046975135803, 0.4947846829891205, 0.3568660020828247, 0.24194426834583282, 0.05522512272000313, 0.43767762184143066, -0.3013232350349426, -0.4843173921108246, -0.3264416754245758, -0.6772889494895935, -0.5514941215515137, -0.23869119584560394, -0.5603346228599548, 0.30120864510536194, -0.4646108150482178, -0.16694672405719757, 0.12871763110160828, 0.6278020739555359, -0.5702456831932068, 0.5070341229438782, -0.3311556279659271, 0.8993670344352722, -0.5902222990989685, 0.4925678074359894, 1.131752610206604, -0.707621693611145, -0.6816537380218506, -0.09956987202167511, -0.2644837200641632, -0.5015130639076233, 0.5684257745742798, 0.17237786948680878, 0.19187615811824799, -0.17190085351467133, -0.7531201243400574, -0.37869206070899963, 1.0526155233383179, 0.3308476209640503, -0.14603856205940247, -0.06539931148290634, -0.00803658738732338, 0.767336368560791, 0.07769071310758591, 0.14892061054706573, 0.5696559548377991, 0.37186315655708313, -0.031204257160425186, -1.0927798748016357, -0.07167600840330124, -0.46821102499961853, -0.08328588306903839, 0.02504921890795231, -0.7854841351509094, 0.7197823524475098, -0.5158056616783142, -0.2722994089126587, 0.5028999447822571, 0.6695759296417236, 0.34347963333129883, 0.4236335754394531, 0.4990401864051819, 0.8743010759353638, 0.9554972052574158, -0.2369246631860733, 0.9678794145584106, -0.04450593888759613, 0.14937031269073486, 0.551541805267334, -0.1418745219707489, 0.7883623838424683, 0.23809881508350372, -0.6329705119132996, 0.41391727328300476, 1.0031980276107788, 0.26445189118385315, 0.22142428159713745, 0.3144921660423279, -0.08171048760414124, -0.465442031621933, 0.08560329675674438, -0.2756939232349396, 0.5269913673400879, 0.42790669202804565, -0.030652722343802452, -0.0385381318628788, -0.26070281863212585, -0.009020635858178139, 0.4606550335884094, -0.3027629256248474, 0.9970003962516785, -0.1055152416229248, -1.1085541248321533, 0.7534199953079224, 0.10132299363613129, 0.46871301531791687, -0.2395276129245758, -0.2162642627954483, -0.3042707145214081, 0.23703330755233765, -0.12744693458080292, -1.0780428647994995, 0.3536255657672882, 0.2837532162666321, -0.26409614086151123, 0.23929578065872192, 0.333530992269516, -0.2932887077331543, -0.4516972005367279, -0.30288198590278625, 0.2790682911872864, 0.4494578540325165, -0.15132761001586914, -0.7700415849685669, -0.467793345451355, -0.22129078209400177, -0.10349281132221222, -0.04045232757925987, 0.7538949847221375, -0.041777703911066055, 0.8768991827964783, 0.6061944961547852, 0.012141600251197815, 0.17677690088748932, -0.5337231755256653, 0.5280627012252808, -0.3992687165737152, -0.6076962351799011, -0.40410280227661133, 0.1493706852197647, 0.03651968017220497, -0.41267067193984985, 0.5337801575660706, 0.6618646383285522, 0.6515724658966064, 0.10342706739902496, 0.8474451899528503, -0.10012985020875931, 0.8360835313796997, -0.2728978991508484, 0.6470707058906555, -0.6387415528297424, 0.22876688838005066, -0.3098938763141632, -0.8204396367073059, -0.3957786560058594, 0.7252131700515747, -0.35348090529441833, -0.1464756578207016, 0.37801095843315125, 0.5687591433525085, 0.35994952917099, 0.13923168182373047, 0.08588138967752457, 0.06315691769123077, 0.5050248503684998, 0.7717634439468384, 0.9210097193717957, -0.6242825388908386, 0.9180079102516174, -0.3513323962688446, -0.3228842616081238, -0.2665621340274811, -0.6324797868728638, -0.6092682480812073, -0.7028982639312744, -0.5939604640007019, -0.4973837435245514, 0.07569877803325653, 0.6375588178634644, 0.20580191910266876, -0.8973075151443481, 0.04946284741163254, 0.06615851819515228, 0.46992793679237366, -0.4804013669490814, -0.32871928811073303, 0.6410723924636841, -0.5165374875068665, -0.8270400166511536, -0.1552933305501938, -0.03399623930454254, -0.05643906071782112, -0.2916256785392761, -0.14710074663162231, -0.052121732383966446, 0.2089547961950302, 0.3696913421154022, 0.3749680817127228, -0.6308882832527161, -0.35082218050956726, 0.09262975305318832, -0.2238541841506958, 0.15143373608589172, 0.4250567555427551, -0.9210045337677002, 0.5237924456596375, 0.6546188592910767, 0.6895915865898132, -0.15765807032585144, 0.45304253697395325, 0.5342850089073181, -0.27194932103157043, -0.33998361229896545, 0.35097700357437134, 0.251706063747406, 0.6518805027008057, -0.3862076997756958, 0.5370027422904968, 0.35058778524398804, -0.8490120768547058, -0.8023653030395508, 0.09580670297145844, -0.6885374188423157, -0.27848517894744873, 1.1330857276916504, -0.39134740829467773, -0.44880467653274536, -0.3917829692363739, -0.6016365885734558, 0.3984372019767761, -0.3551318645477295, 1.1233857870101929, 0.9563570618629456, -0.16395027935504913, 0.19052237272262573, -0.1748470664024353, 0.7020043134689331, 0.32788950204849243, -0.8255494832992554, 0.20793724060058594, 0.5428923964500427, 0.3537086844444275, 0.38136106729507446, 0.7132514119148254, -0.12458417564630508, 0.8399084806442261, -0.06006729230284691, -0.2461012899875641, 0.16087451577186584, -0.31280988454818726, -0.3373887836933136, 0.27188488841056824, 0.13094598054885864, -0.2774815857410431 ]
http://arxiv.org/abs/2402.11159v3
http://arxiv.org/pdf/2402.11159v3
Assessing News Thumbnail Representativeness: Counterfactual text can enhance the cross-modal matching ability
2024-02-17T01:27:29
2024-06-07T00:56:09
Yejun Yoon, Seunghyun Yoon, Kunwoo Park
cs.CL
cs.CL, cs.CV
This paper addresses the critical challenge of assessing the representativeness of news thumbnail images, which often serve as the first visual engagement for readers when an article is disseminated on social media. We focus on whether a news image represents the actors discussed in the news text. To serve the challenge, we introduce NewsTT, a manually annotated dataset of 1000 news thumbnail images and text pairs. We found that the pretrained vision and language models, such as BLIP-2, struggle with this task. Since news subjects frequently involve named entities or proper nouns, the pretrained models could have a limited capability to match news actors' visual and textual appearances. We hypothesize that learning to contrast news text with its counterfactual, of which named entities are replaced, can enhance the cross-modal matching ability of vision and language models. We propose CFT-CLIP, a contrastive learning framework that updates vision and language bi-encoders according to the hypothesis. We found that our simple method can boost the performance for assessing news thumbnail representativeness, supporting our assumption. Code and data can be accessed at https://github.com/ssu-humane/news-images-acl24.
[ -0.41114526987075806, -0.6986476182937622, 0.5269776582717896, 0.23025406897068024, -0.8077110052108765, 0.3756283223628998, 0.0035982795525342226, -0.6056623458862305, 0.40206098556518555, 0.2029569298028946, -0.37150806188583374, -0.28105005621910095, -0.6263386607170105, 0.14105741679668427, -0.6895724534988403, 0.8234343528747559, 0.004426566418260336, 0.03338966891169548, -0.18207836151123047, -0.3180031180381775, -0.08908899128437042, -0.06822271645069122, -0.48588159680366516, 0.1611424684524536, 0.30007028579711914, 0.13618075847625732, 1.1559072732925415, 0.5885427594184875, 0.5332753658294678, 0.32869014143943787, 0.19943857192993164, -0.16263838112354279, -0.41318169236183167, -0.47693687677383423, -0.5283187627792358, -0.19291232526302338, 0.1574665755033493, 0.47162508964538574, 0.49326080083847046, 0.3217284083366394, 0.3704679310321808, 0.22704599797725677, -0.025551093742251396, 0.5995299816131592, -0.42279547452926636, -0.016568729653954506, -0.872525691986084, 0.062048256397247314, -0.22157436609268188, -0.2951594889163971, -0.1731223165988922, -0.35804232954978943, 0.22941119968891144, -0.49945974349975586, 0.6198611259460449, 0.10164518654346466, 1.1403248310089111, 0.11511889845132828, -0.5376598238945007, -0.13912713527679443, -0.21893130242824554, 0.5473684072494507, -0.3340911865234375, 0.8221806287765503, 0.16758790612220764, 0.27053117752075195, 0.3782978057861328, -0.37334248423576355, -0.7716442346572876, -0.20031674206256866, -0.24482040107250214, 0.18922825157642365, -0.6948454976081848, -0.3859264850616455, 0.16576217114925385, 0.40436607599258423, -0.7463070750236511, -0.12315649539232254, -0.3752453029155731, -0.30023810267448425, 0.24539969861507416, -0.13329021632671356, 0.48999595642089844, -0.3009214699268341, -0.6204936504364014, -0.25929081439971924, -0.44241076707839966, -0.02143058367073536, 0.26576635241508484, 0.03905526548624039, -0.3211289942264557, 0.5062611103057861, -0.09766599535942078, 0.4370504319667816, 0.31396767497062683, 0.032320957630872726, 0.33304038643836975, -0.5578002333641052, -0.25017449259757996, 0.14663363993167877, 0.6878294348716736, 1.011252760887146, 0.09427962452173233, -0.22302961349487305, 0.03338420391082764, 0.26605287194252014, 0.2631331980228424, -0.8057299852371216, -0.09598799049854279, 0.05929042771458626, -0.4592546820640564, -0.3994044065475464, 0.20815995335578918, -0.8783766031265259, -0.23437556624412537, -0.1342705637216568, 0.7172612547874451, -0.27579131722450256, -0.3900679349899292, -0.12271782755851746, -0.49374738335609436, 0.26811468601226807, 0.40695440769195557, -0.5397565364837646, 0.03063107840716839, 0.5196232795715332, 1.0265001058578491, -0.17639406025409698, -0.33552685379981995, -0.5160848498344421, -0.07413144409656525, -0.6927512288093567, 0.8953466415405273, -0.7204865217208862, -0.09582730382680893, -0.030430547893047333, 0.02621067687869072, 0.07312946766614914, -0.6321833729743958, 0.2165101021528244, -0.40657833218574524, 0.20398138463497162, -0.6613231897354126, -0.22753407061100006, -0.11628325283527374, 0.42927688360214233, -0.9666349291801453, 0.9061806797981262, 0.4245918393135071, -1.104926347732544, 0.6585509777069092, -0.10017097741365433, -0.5057075619697571, -0.2302108258008957, -0.3430492579936981, -0.4845540225505829, 0.201258584856987, 0.5538343787193298, 0.41569784283638, 0.0035485532134771347, 0.046524833887815475, -0.37776145339012146, -0.36109891533851624, 0.2631835341453552, -0.29256415367126465, 0.5532650947570801, -0.1622813493013382, -0.2852383852005005, 0.08628085255622864, -0.5188625454902649, -0.41117656230926514, 0.0440150685608387, -0.09449335187673569, -0.5460427403450012, -0.3118635416030884, 0.43649405241012573, 0.28709936141967773, 0.01583956927061081, -0.7234976887702942, -0.07807013392448425, 0.03815276920795441, 0.3673284947872162, 0.44781723618507385, 0.10143276304006577, 0.29449978470802307, -0.44227248430252075, 0.2971703112125397, 0.48390671610832214, 0.35522934794425964, -0.29469189047813416, -0.027780797332525253, -0.5548571944236755, -0.12490468472242355, 0.4766785204410553, 0.44600263237953186, -1.3539049625396729, 0.15529893338680267, -0.19264617562294006, -0.5625817775726318, -0.5853463411331177, 0.09376551955938339, 0.4095710813999176, 0.4818795919418335, 0.5330471992492676, -0.49655887484550476, -0.6635118126869202, -1.1377722024917603, -0.47924450039863586, -0.20819133520126343, 0.1284206360578537, 0.1794998049736023, 0.3697541356086731, -0.05035217106342316, 0.7794179916381836, 0.0747688040137291, -0.34972742199897766, -0.3119899034500122, 0.3803897500038147, 0.06580483913421631, 0.35107114911079407, 0.9628022313117981, -1.1162362098693848, -0.48397597670555115, -0.16164855659008026, -0.33681780099868774, -0.07625158131122589, -0.3980807662010193, 0.010084741748869419, 0.1797058880329132, 0.5948901176452637, -0.48852723836898804, 0.5577901601791382, 0.6212447881698608, -0.3359798789024353, 0.5756840109825134, 0.34749919176101685, 0.5660945773124695, -0.8809128403663635, 0.1267646998167038, 0.4743262827396393, -0.4665184020996094, -0.3131239712238312, -0.17362216114997864, -0.04422847926616669, -0.25622183084487915, -0.6872864365577698, 0.7313231229782104, -0.31532859802246094, -0.4129263460636139, -0.19116520881652832, 0.3666173219680786, -0.05901242047548294, 0.3002713918685913, 0.5698227882385254, 1.0603768825531006, 0.49480879306793213, -0.06910066306591034, 0.11319148540496826, 0.1391107738018036, -0.5747600197792053, 0.6751847267150879, -0.6309934854507446, -0.09785701334476471, -0.08239460736513138, 0.22070585191249847, -1.1418590545654297, -0.11160790175199509, 0.07663077116012573, -0.3780842125415802, -0.13833747804164886, -0.051010072231292725, -0.6284793019294739, -0.32227128744125366, -0.6108907461166382, 0.3817237913608551, 0.2858240306377411, -0.5873847007751465, 0.5295640230178833, 0.0548076406121254, -0.09467709064483643, -0.4146305322647095, -0.5823810696601868, 0.1521950364112854, 0.11684244871139526, -0.19701527059078217, 0.41746270656585693, 0.21064496040344238, 0.07326307892799377, 0.31726738810539246, -0.3668783903121948, -0.017085544764995575, -0.18848413228988647, -0.04338119551539421, 0.2270330935716629, -0.18350036442279816, 0.15579766035079956, 0.10036181658506393, 0.04466988518834114, -0.22853295505046844, 0.4178408086299896, 0.2559809386730194, -0.06597553938627243, -0.18367834389209747, -0.33455267548561096, 0.4188282787799835, 0.533860445022583, -0.27163684368133545, 0.21900171041488647, 1.0310053825378418, -0.21349483728408813, 0.23227323591709137, -0.7608930468559265, -0.07636167854070663, -0.3797946870326996, 0.5761539340019226, 0.04479866847395897, -0.5860428214073181, 0.3942406475543976, 0.11137598007917404, -0.11489900946617126, 0.25448963046073914, 0.30929744243621826, 0.11479237675666809, 0.750210165977478, 0.6971948742866516, -0.25061318278312683, 0.8234320282936096, -0.06105886027216911, -0.17611682415008545, -0.5893315076828003, -0.04839332401752472, -0.1711377054452896, -0.4581904709339142, -0.40879860520362854, -0.49044129252433777, 0.29716452956199646, 0.026661930605769157, -0.02165759541094303, 0.4897051155567169, -0.32831305265426636, 0.7115528583526611, 0.690044105052948, 0.45431533455848694, 0.3569938540458679, -0.10109984129667282, -0.018614670261740685, -0.10199812054634094, -0.4887946546077728, -0.2967131733894348, 0.5265316963195801, 0.3959012031555176, 0.6529361009597778, 0.040128566324710846, 0.42920196056365967, 0.2343813180923462, 0.5513426661491394, -0.7837499976158142, 0.6199870705604553, -0.4449956715106964, -0.38051629066467285, 0.0699789896607399, -0.26520299911499023, -0.557853639125824, 0.24638567864894867, -0.6270102262496948, -0.5420981645584106, 0.47610560059547424, 0.143795445561409, -0.262953519821167, 0.21357104182243347, -0.6054052114486694, 0.9377073049545288, -0.3359891176223755, -0.3594622015953064, -0.12748657166957855, -0.5713548064231873, 0.14815466105937958, -0.08107226341962814, -0.00831528939306736, 0.10284555703401566, -0.26269420981407166, 0.8687461018562317, -0.11972711980342865, 1.0018266439437866, 0.017545396462082863, 0.3661535978317261, 0.06108754128217697, 0.0700913816690445, 0.13989996910095215, 0.0274594034999609, 0.19825497269630432, 0.18466544151306152, 0.14530231058597565, -0.5054928660392761, -0.5402037501335144, 0.3623223304748535, -0.5247831344604492, -0.7827275991439819, -0.39079269766807556, -0.27378061413764954, -0.2773098945617676, 0.4411630928516388, 0.34425508975982666, 0.48857635259628296, -0.4690329432487488, 0.46532565355300903, 0.2580486536026001, -0.002071953611448407, 0.7237852215766907, 0.5517187714576721, -0.3601709008216858, -0.5800366997718811, 0.8646816611289978, 0.0542944073677063, -0.0721772164106369, 0.47630271315574646, 0.21818898618221283, -0.43541833758354187, -0.4709104299545288, -0.5746964812278748, 0.10765081644058228, -0.5279713273048401, -0.29524415731430054, -0.4235681891441345, -0.023108894005417824, -0.13083940744400024, -0.35615572333335876, -0.3826266825199127, -0.15547068417072296, -0.38888049125671387, -0.0646466389298439, 0.1269536018371582, 0.5537495017051697, 0.013338807970285416, 0.13950270414352417, -0.810120701789856, 0.3708004653453827, 0.537424623966217, 0.327100932598114, -0.06218167021870613, -0.239590123295784, -0.13087259232997894, -0.2651607096195221, -0.3990122377872467, -0.9883643984794617, 0.015927791595458984, 0.1155708059668541, 0.6746087074279785, 0.528080940246582, 0.23171770572662354, 0.6554410457611084, -0.3540205657482147, 0.8066568374633789, 0.5185335874557495, -1.1637508869171143, 0.5703564286231995, -0.2491089105606079, 0.3546695411205292, 0.7684359550476074, 0.6875708699226379, -0.4114348590373993, -0.6539945006370544, -0.6442168354988098, -0.38472169637680054, 0.13001883029937744, 0.13768111169338226, 0.22829408943653107, -0.3056056797504425, -0.08550789952278137, 0.2212500423192978, 0.24128755927085876, -0.8325121998786926, 0.2868841290473938, -0.9455177187919617, -0.27238529920578003, 0.02743547596037388, -0.16983136534690857, -0.06694211810827255, -0.08035804331302643, 0.18291091918945312, -0.23679324984550476, 0.16798701882362366, 0.4823470115661621, -0.15326045453548431, -0.2619474232196808, 0.2896561026573181, 0.5810169577598572, 0.6886281967163086, -0.20853541791439056, 0.4136618971824646, -0.23256468772888184, -0.6115579009056091, -0.1505139172077179, 0.25872716307640076, -0.10119111090898514, 0.36963263154029846, 0.7861878275871277, 0.6867355704307556, 0.5963975787162781, -0.6396112442016602, 0.9417269229888916, 0.0504634864628315, -0.28471988439559937, 0.3344918191432953, -0.0805099681019783, -0.23803411424160004, 0.6242874264717102, 0.766463577747345, 0.13769830763339996, 0.26361560821533203, -1.005933165550232, 0.47787055373191833, 0.5461809039115906, -0.5370716452598572, -0.42548736929893494, 0.3581778407096863, 0.4116886556148529, -0.11019499599933624, 0.31927990913391113, -0.187358096241951, -0.9888954162597656, 0.5147678852081299, 0.47742751240730286, 0.5705930590629578, 0.02321195974946022, 0.48430752754211426, 0.2088739573955536, 0.40601521730422974, -0.0521724633872509, 0.12992256879806519, 0.046365804970264435, -0.5984063744544983, 0.002302182838320732, -0.14722520112991333, -0.4635109603404999, 0.15734244883060455, -0.5511332154273987, 0.23775702714920044, -0.5088905096054077, -0.23368431627750397, 0.2692265808582306, 0.17481373250484467, -0.6795098185539246, 0.27582746744155884, -0.07924800366163254, 1.1887480020523071, -1.3866750001907349, 0.6314483284950256, 0.804077684879303, -0.635341465473175, -0.5397838354110718, 0.5239701867103577, -0.041887130588293076, -0.6487100720405579, 0.5405065417289734, 0.38428810238838196, 0.18282215297222137, -0.1365114003419876, -0.485861212015152, -0.3515309989452362, 0.9145021438598633, 0.5490729808807373, -0.5692641139030457, 0.11001794785261154, -0.02316993661224842, 0.5374196767807007, -0.35732826590538025, 0.18103930354118347, 0.08433769643306732, 0.3641611933708191, 0.25819021463394165, -1.0852653980255127, 0.2778172492980957, -0.17164435982704163, 0.008784322068095207, 0.013819183222949505, -0.928617000579834, 0.7477437853813171, -0.4014417231082916, -0.4385005533695221, -0.10380162298679352, 0.6234639286994934, -0.017452366650104523, 0.5104777812957764, 0.7502871155738831, 0.3523877263069153, 0.17426523566246033, 0.04807097092270851, 0.7644983530044556, -0.006942708045244217, 0.5177825689315796, 0.9076322317123413, -0.04665717855095863, 1.0724924802780151, 0.7487390041351318, -0.13464868068695068, 0.2505054771900177, 0.6399829387664795, -0.4129541218280792, 0.8786512613296509, -0.3391217589378357, 0.13134297728538513, -0.5010366439819336, -0.29679879546165466, -0.24035890400409698, 0.5698301792144775, -0.13436509668827057, -0.5792509317398071, -0.7523260712623596, 0.1520731896162033, -0.2656952142715454, 0.2833003103733063, -0.4116061329841614, 0.5596680641174316, -0.1772659868001938, -0.32959437370300293, 0.13092342019081116, -0.3822319507598877, 0.5125720500946045, -0.004913740791380405, -0.30457696318626404, -0.15647907555103302, -0.29851651191711426, -0.0882449597120285, -1.06630539894104, 0.38708820939064026, -0.21809610724449158, -0.13087230920791626, 0.19911302626132965, 0.6183742880821228, -0.5342952609062195, -0.7355127334594727, 0.15048302710056305, 0.44537314772605896, -0.16842782497406006, -0.0418701171875, -0.9547122120857239, 0.40114283561706543, -0.18622472882270813, -0.10558879375457764, 0.21501469612121582, 0.3183266520500183, -0.09468719363212585, 0.26821988821029663, 0.5307083129882812, -0.11894349008798599, -0.3083992600440979, -0.044577229768037796, 0.9918608665466309, -0.5626795887947083, -0.6310906410217285, -0.717718243598938, 0.09236883372068405, -0.24265806376934052, -0.36207860708236694, 0.5535761117935181, 0.8353517055511475, 0.8530168533325195, -0.1729692667722702, 0.5392316579818726, 0.00038699762080796063, 0.5273543000221252, -0.7924089431762695, 0.5753755569458008, -0.5339128375053406, -0.13176152110099792, -0.3386225998401642, -0.6058297753334045, -0.11361508816480637, 0.4399021863937378, -0.4157390594482422, 0.1318819522857666, 0.7602710723876953, 0.687578022480011, -0.5193763375282288, 0.01941177435219288, 0.40068867802619934, 0.029761960729956627, -0.15478827059268951, 0.45562076568603516, 0.7326061129570007, -0.537877082824707, 0.5288483500480652, -0.3560132384300232, -0.2418355941772461, -0.4563409984111786, -1.1358360052108765, -1.2995840311050415, -0.7636078596115112, -0.5332615375518799, -0.15851536393165588, 0.2557462155818939, 0.8263368606567383, 0.7238343954086304, -0.47008028626441956, 0.38989171385765076, 0.19493162631988525, 0.19665728509426117, -0.367123544216156, -0.18804959952831268, 0.6367012858390808, 0.11862648278474808, -0.5373808145523071, -0.11208949238061905, 0.2501411437988281, 0.19717857241630554, -0.17658038437366486, 0.3480880558490753, -0.17217184603214264, 0.15572912991046906, 0.6338503360748291, 0.15696683526039124, -0.8321745991706848, -0.7999690175056458, -0.03636831417679787, -0.17299655079841614, 0.14570580422878265, 0.9928206205368042, -0.8331227898597717, 0.23887266218662262, 0.33854690194129944, 0.7652482986450195, 0.33443525433540344, 0.32404404878616333, 0.0366201288998127, -0.8446551561355591, 0.2332613468170166, -0.12769706547260284, 0.32752129435539246, 0.47917094826698303, -0.3349281847476959, 0.396906316280365, 0.5147245526313782, 0.05259538069367409, -0.7151939272880554, 0.06457565724849701, -1.5542068481445312, -0.33258041739463806, 1.0518072843551636, -0.008884971030056477, -0.2857891023159027, -0.19408218562602997, -0.40421393513679504, 0.1323413848876953, -0.47211915254592896, 0.7597987651824951, 0.596031129360199, 0.15370410680770874, -1.0334725379943848, -0.3114219009876251, 0.41803768277168274, 0.014596427790820599, -0.6334814429283142, -0.06610306352376938, 0.26206716895103455, 0.4628056585788727, 0.29716235399246216, 0.5734013319015503, -0.12101084738969803, 0.7396649122238159, 0.2385191172361374, -0.3899604380130768, -0.3131605386734009, -0.13381327688694, 0.05466311797499657, -0.04528657719492912, -0.3206005096435547, -0.26951098442077637 ]
http://arxiv.org/abs/2402.11142v1
http://arxiv.org/pdf/2402.11142v1
Grasping the Essentials: Tailoring Large Language Models for Zero-Shot Relation Extraction
2024-02-17T00:20:06
2024-02-17T00:20:06
Sizhe Zhou, Yu Meng, Bowen Jin, Jiawei Han
cs.CL
cs.CL
Relation extraction (RE), a crucial task in NLP, aims to identify semantic relationships between entities mentioned in texts. Despite significant advancements in this field, existing models typically rely on extensive annotated data for training, which can be both costly and time-consuming to acquire. Moreover, these models often struggle to adapt to new or unseen relationships. In contrast, few-shot learning settings, which aim to reduce annotation requirements, may offer incomplete and biased supervision for understanding target relation semantics, leading to degraded and unstable performance. To provide the model with accurate and explicit descriptions of the relations types and meanwhile minimize the annotation requirements, we study the definition only zero-shot RE setting where only relation definitions expressed in natural language are used to train a RE model. Motivated by the strong synthetic data generation power of LLMs, we propose a framework REPaL which consists of three stages: (1) We utilize LLMs to generate initial seed instances based on relation definitions and an unlabeled corpora. (2) We fine-tune a bidirectional Small Language Model (SLM) using these initial seeds to learn the relations for the target domain. (3) We enhance pattern coverage and mitigate bias resulting from the limited number of initial seeds by incorporating feedback acquired from SLM's predictions on unlabeled corpora. To accomplish this, we leverage the multi-turn conversation ability of LLMs to generate new instances in follow-up dialogues. Experiments on two datasets show REPaL achieves better zero-shot performance with large margins over baseline methods.
[ -0.2299024760723114, -0.5986250042915344, 0.674045205116272, 0.013835454359650612, -0.3682483434677124, -0.1878710389137268, -0.22393262386322021, -0.5772750377655029, 0.1434778869152069, 0.7639545798301697, -0.7084272503852844, -0.44226303696632385, -0.4189666509628296, 0.3138790428638458, -0.2930339276790619, 1.1053853034973145, 0.10243278741836548, -0.1769285649061203, -0.07086554914712906, -0.321139931678772, -0.2619932293891907, -0.36808815598487854, -0.4121716320514679, -0.5247393250465393, 0.6211541295051575, 0.5208532810211182, 0.5931301712989807, 0.704060971736908, 0.21116694808006287, 0.11279377341270447, -0.0070298523642122746, 0.04407743364572525, -0.6708934903144836, 0.4721148610115051, -0.23526941239833832, -0.5169413089752197, -0.29159173369407654, 0.07015284895896912, 0.5751264691352844, 0.8086732029914856, 0.16744861006736755, 0.4372185468673706, -0.22835403680801392, 0.41173431277275085, -0.819380521774292, 0.2275589257478714, -1.008103847503662, 0.04893697798252106, -0.0747351199388504, -0.3621928095817566, -0.5195963382720947, 0.11523783206939697, 0.22566817700862885, -0.540453314781189, 0.19920198619365692, -0.06980802863836288, 1.1371872425079346, 0.04468011483550072, -0.2682439684867859, 0.004733364097774029, -0.8375215530395508, 0.8262178897857666, -0.7510111927986145, 0.3181753158569336, 0.21766431629657745, 0.21924790740013123, -0.29791152477264404, -0.5378269553184509, -0.3960666060447693, -0.19665370881557465, -0.154623344540596, -0.07180465012788773, -0.11749981343746185, 0.026039274409413338, 0.43824446201324463, 0.3062220811843872, -0.2591893672943115, 0.09682931005954742, -0.17465642094612122, 0.10392196476459503, 0.6043300032615662, 0.11045616865158081, 0.10794461518526077, -0.2971525490283966, -0.23192095756530762, 0.1603984236717224, -1.0773531198501587, -0.32174941897392273, 0.008747427724301815, 0.6117098331451416, -0.023810960352420807, 0.802850067615509, -0.1903959959745407, 0.823431670665741, 0.04706171900033951, -0.22281020879745483, 0.059540193527936935, -0.3597736954689026, -0.4690500795841217, -0.15307919681072235, 1.000601053237915, 0.04482552409172058, 0.661000669002533, -0.29140231013298035, -0.11602412164211273, -0.055659398436546326, 0.11367955803871155, -0.9619906544685364, -0.04619920253753662, 0.1344163566827774, -0.12671668827533722, -0.5183382630348206, -0.2687303423881531, -0.6763161420822144, 0.007084188051521778, -0.4463818669319153, 0.09880036860704422, -0.5372917056083679, -0.32475966215133667, -0.11075305938720703, -0.00452565448358655, 0.6337549686431885, 0.21630676090717316, -0.8764348030090332, 0.08074940741062164, 0.7697106003761292, 0.8933916091918945, 0.09093453735113144, -0.11321162432432175, -0.6081513166427612, 0.402910977602005, -0.46438127756118774, 0.6085672974586487, -0.594473659992218, -0.20297066867351532, 0.17628313601016998, 0.010207287035882473, -0.00124234682880342, -0.19393379986286163, 0.3285844624042511, -0.6695398688316345, 0.22384849190711975, 0.13384653627872467, -0.6272070407867432, -0.040799397975206375, 0.3449142277240753, -0.47339144349098206, 0.7486388087272644, 0.2353820502758026, -0.7121647596359253, 0.3453737497329712, -0.29114633798599243, -0.514447033405304, 0.06334523856639862, -0.36621958017349243, -0.35431697964668274, 0.18923018872737885, 0.23050908744335175, 0.6020617485046387, -0.4295590817928314, 0.07835618406534195, -0.5097338557243347, -0.1485467255115509, 0.021239588037133217, -0.06260692328214645, 0.7329403162002563, 0.13661213219165802, -0.0800165981054306, 0.005704018287360668, -1.0751290321350098, 0.024769993498921394, 0.211091548204422, -0.04645629972219467, -0.4831833243370056, -0.22661595046520233, -0.13591279089450836, 0.40277475118637085, -0.07479488104581833, -0.585658073425293, 0.29976072907447815, -0.7901068925857544, 0.31036829948425293, 0.4062654376029968, 0.4460013508796692, 0.8402572274208069, 0.028297195211052895, 0.6794641017913818, -0.10553207993507385, -0.17278583347797394, -0.6059266924858093, -0.19558975100517273, -0.7912576198577881, -0.1922106295824051, 0.37988245487213135, 0.46874698996543884, -0.8639927506446838, 0.35729262232780457, -0.46836087107658386, -0.38331326842308044, -0.5378397107124329, 0.38287782669067383, 0.5318713784217834, 0.5620076656341553, 0.1732291430234909, -0.10060065984725952, -0.7425391674041748, -0.8955301642417908, -0.04253452643752098, -0.08466687053442001, -0.1854747086763382, 0.2776300013065338, 0.32543978095054626, -0.05055661499500275, 1.2631621360778809, -0.5775034427642822, -0.3474763035774231, -0.5134204030036926, 0.02682369202375412, 0.36714163422584534, 0.12025311589241028, 0.5227130055427551, -0.43956518173217773, -0.5963816046714783, 0.053360845893621445, -1.0353730916976929, -0.1113898754119873, -0.3687751889228821, -0.26415830850601196, 0.15014220774173737, 0.32550671696662903, -0.7688230872154236, 0.26618102192878723, 0.2906877100467682, 0.0189050305634737, 0.3968111276626587, 0.18539263308048248, -0.4605395495891571, -1.097557544708252, 0.052336398512125015, 0.23417448997497559, -0.45138904452323914, -0.7894196510314941, 0.2090563327074051, 0.010953858494758606, -0.19629955291748047, -0.5396689176559448, 0.4745986759662628, -0.6837590336799622, -0.17602837085723877, -0.31956952810287476, 0.4785262644290924, 0.12819403409957886, 0.4845274090766907, 0.3226371705532074, 0.5680754780769348, 0.31640297174453735, -0.5504612922668457, 0.0955183207988739, 0.2793574035167694, -0.02548292465507984, 0.41188403964042664, -0.6198256015777588, 0.20516419410705566, -0.0497804693877697, 0.1185840517282486, -0.7022971510887146, -0.12154452502727509, 0.3828234076499939, -0.5689671039581299, 0.6511179208755493, -0.5246560573577881, -0.2849348783493042, 0.06579244881868362, -0.2881709933280945, 0.053374819457530975, 0.3044861853122711, -0.3555222153663635, 0.542069137096405, 0.3357532322406769, -0.017267867922782898, -0.6956225037574768, -0.46566301584243774, 0.25598955154418945, -0.016410281881690025, -0.459628164768219, 0.21595130860805511, 0.4481263756752014, -0.28025928139686584, -0.00762786203995347, -0.016475170850753784, -0.12882167100906372, -0.028480462729930878, 0.3741222321987152, 0.37102118134498596, -0.240701824426651, 0.2142105996608734, -0.22713418304920197, -0.315883994102478, -0.08058629930019379, -0.0782572403550148, 0.47273698449134827, 0.19437871873378754, 0.04778684675693512, -0.34974029660224915, 0.20973952114582062, 0.5917252898216248, -0.08759498596191406, 0.8094711303710938, 0.354841411113739, -0.287746787071228, -0.20106728374958038, -0.3806077241897583, -0.25400370359420776, -0.322323739528656, 0.33705565333366394, -0.6258227825164795, -0.8422315716743469, 0.2577674984931946, -0.0458514429628849, 0.37917858362197876, 0.4002595543861389, 0.42535847425460815, 0.10356713086366653, 0.4879397451877594, 0.9053021669387817, -0.31098148226737976, 0.4025364816188812, -0.34308263659477234, 0.20887626707553864, -1.0399681329727173, 0.007074205204844475, -0.39402711391448975, 0.052982352674007416, -0.5060699582099915, -0.2723468840122223, -0.13792820274829865, 0.35492873191833496, -0.2085203230381012, 0.8099341988563538, -0.3277813494205475, 0.3271391689777374, 0.3384154736995697, -0.21568767726421356, 0.3783204257488251, 0.09538020938634872, 0.15591716766357422, -0.27631980180740356, -0.7195963263511658, -0.6045652031898499, 1.1663974523544312, 0.3096674680709839, 0.6429932713508606, -0.06839964538812637, 0.8834569454193115, -0.20014403760433197, 0.5973758697509766, -1.1123913526535034, 0.41130581498146057, 0.15826845169067383, -0.6311322450637817, -0.28832605481147766, -0.49878445267677307, -1.0293102264404297, 0.4308631122112274, -0.28658610582351685, -0.6354328989982605, 0.20682038366794586, 0.0017197055276483297, -0.4856676161289215, 0.13879260420799255, -0.5270681977272034, 0.6633054614067078, -0.12492930144071579, -0.5942085981369019, 0.13569755852222443, -0.6998787522315979, 0.6591939926147461, -0.05497519671916962, 0.08107999712228775, -0.2998727560043335, 0.009127412922680378, 0.4180299639701843, -0.24070610105991364, 0.8176651000976562, -0.07434237748384476, -0.06609895825386047, 0.2962815761566162, 0.4042290449142456, 0.3091764450073242, 0.025990091264247894, -0.06633269786834717, 0.21355485916137695, 0.14120478928089142, -0.1365058869123459, -0.6543903350830078, 0.5919503569602966, -0.5899237394332886, -0.4563469886779785, -0.48022031784057617, -0.4219982326030731, -0.3366919159889221, 0.23940907418727875, 0.03280473127961159, 0.1480724811553955, -0.24022437632083893, 0.2420962005853653, 0.3543412983417511, -0.27143746614456177, 0.4646846652030945, 0.6856834292411804, -0.5241798758506775, -0.4112437963485718, 0.7051934599876404, 0.0575820617377758, 0.37719395756721497, 0.5031213760375977, -0.07649995386600494, -0.2075808346271515, -0.24509687721729279, -0.4267147183418274, 0.5337606072425842, -0.324302613735199, -0.5322054624557495, -0.6260776519775391, -0.3143711984157562, -0.4911637604236603, 0.049332164227962494, -0.4896187484264374, -0.48251813650131226, -0.48133549094200134, -0.10627222806215286, 0.3682214319705963, 0.4814038872718811, -0.013904971070587635, 0.32824087142944336, -0.9009335041046143, 0.4065277874469757, 0.01616453006863594, 0.006749262101948261, -0.02721269056200981, -0.7390506863594055, -0.0983973890542984, -0.07246522605419159, -0.21479256451129913, -0.9717329144477844, 0.6340324878692627, 0.4158289432525635, 0.22112515568733215, 0.5359356999397278, 0.05800068750977516, 0.73197340965271, -0.6593860983848572, 0.5668405890464783, 0.2928001582622528, -0.5094637274742126, 0.7007297873497009, -0.411201149225235, 0.19868026673793793, 0.6231533885002136, 0.4173663556575775, -0.5641286969184875, -0.11358972638845444, -0.7119524478912354, -0.8640450835227966, 0.8317914009094238, 0.2877969741821289, 0.2730533182621002, -0.1109856516122818, 0.7899205088615417, -0.15594089031219482, 0.28959035873413086, -0.8959909081459045, -0.19703416526317596, 0.17172911763191223, -0.02063118666410446, -0.003155216109007597, -0.6247564554214478, -0.17489492893218994, -0.06011238694190979, 0.6867947578430176, -0.026940427720546722, 0.01126844808459282, 0.0951945036649704, -0.22055427730083466, -0.2562808394432068, 0.3146417737007141, 0.3053661584854126, 0.7249003648757935, -0.4261772036552429, 0.02630031295120716, -0.03049440123140812, -0.04706702008843422, 0.15940161049365997, -0.07768674194812775, -0.5402430295944214, 0.26405075192451477, 0.6185005903244019, 0.6716514229774475, 0.5380465388298035, -0.473297119140625, 0.5415591597557068, 0.13688790798187256, -0.15163247287273407, -0.4404793083667755, -0.027479037642478943, 0.08612656593322754, -0.003765215165913105, 0.2231428027153015, -0.34402623772621155, -0.24073192477226257, -0.7341219186782837, 0.5232731103897095, 0.5134174823760986, -0.46518319845199585, -0.35500743985176086, 0.3618317246437073, 0.13353095948696136, -0.45601651072502136, 0.6643484234809875, -0.16997884213924408, -0.24784323573112488, 0.2375439554452896, 0.6251183152198792, 0.8224160671234131, -0.03650571405887604, 0.2635499835014343, 0.5760911703109741, 0.2249486744403839, 0.10164747387170792, -0.31545525789260864, -0.1279996633529663, -1.0295605659484863, -0.8755293488502502, -0.8815577626228333, -0.32885000109672546, 0.3718182444572449, -0.8387904167175293, 0.4128151834011078, -0.5227448344230652, 0.09292525053024292, 0.08070074021816254, 0.01073913648724556, -0.5516337156295776, -0.034320518374443054, -0.060962822288274765, 0.7879296541213989, -0.7451098561286926, 1.0494555234909058, 0.3655115067958832, -0.8135820627212524, -0.7889525890350342, -0.26194989681243896, -0.07512320578098297, -0.8442676067352295, 0.7827304005622864, 0.1167224645614624, 0.010926313698291779, -0.0337412990629673, -0.5286914706230164, -0.740180253982544, 0.9795945882797241, 0.5879840850830078, -0.8916904926300049, -0.11196509748697281, 0.07958433777093887, 0.5684404373168945, -0.7414239645004272, 0.2152584195137024, 0.7658355832099915, 0.03170819953083992, 0.4715011417865753, -0.5543166995048523, 0.0012740333331748843, 0.10851247608661652, 0.055460479110479355, 0.27930113673210144, -0.3269829750061035, 0.5146952271461487, -0.1412428468465805, -0.36918845772743225, 0.07180777937173843, 0.5958378314971924, 0.34517180919647217, 0.1657923012971878, 0.2520720958709717, 0.6585550308227539, 0.1087738648056984, 0.0539587065577507, 1.0554429292678833, -0.4240942895412445, 0.32395651936531067, 1.7634552717208862, -0.49746519327163696, 1.081268072128296, 0.6272655725479126, -0.1622864156961441, 0.3227424621582031, 0.5712354779243469, 0.047171689569950104, 0.31369173526763916, 0.04438423365354538, -0.2905581593513489, -0.3084660470485687, -0.20737431943416595, -0.15413200855255127, 0.560858428478241, 0.3781573474407196, -0.5525890588760376, -0.5242557525634766, -0.28235146403312683, 0.16852648556232452, 0.03936226665973663, -0.058091383427381516, 0.9259538650512695, 0.4403224289417267, -0.48546817898750305, 0.41487136483192444, -0.09357059746980667, 0.5049902200698853, -0.6048755645751953, -0.2077816128730774, -0.22349901497364044, 0.046371713280677795, -0.14882540702819824, -0.5247405767440796, 0.3018750846385956, 0.11899161338806152, -0.20856738090515137, -0.0859406590461731, 0.8194776773452759, -0.5643243193626404, -0.49427908658981323, 0.4602479338645935, 0.6418785452842712, 0.21382908523082733, -0.1745644360780716, -0.616261899471283, -0.049609579145908356, 0.0568048320710659, -0.3274608850479126, 0.39845335483551025, 0.630852222442627, 0.2368648648262024, 0.4769339859485626, 0.7257989048957825, 0.40808409452438354, -0.21471922099590302, 0.222369983792305, 0.7819145917892456, -0.6838535666465759, 0.20806317031383514, -1.0713480710983276, 0.2990694046020508, -0.29001641273498535, -0.08486374467611313, 0.8280988931655884, 0.44033727049827576, 0.7175644636154175, 0.055446937680244446, 0.6378587484359741, -0.016840366646647453, 0.5495857000350952, -0.2542567849159241, 0.33719155192375183, -0.30239567160606384, 0.2726512849330902, -0.25508368015289307, -1.1834392547607422, -0.5793721675872803, 0.7777706980705261, -0.3562454283237457, -0.24224857985973358, 0.4902626574039459, 0.6959807276725769, 0.05229279771447182, -0.2905431389808655, 0.5894930958747864, 0.18189309537410736, 0.4764993190765381, 0.5366871356964111, 0.6240366101264954, -0.5510258674621582, 0.6693743467330933, -0.22815167903900146, -0.11757458746433258, -0.002994928974658251, -0.9437370300292969, -0.8337762355804443, -0.16121457517147064, -0.20253482460975647, -0.26084598898887634, -0.08760035037994385, 0.9709791541099548, 0.7774897217750549, -0.6919305324554443, -0.20683304965496063, -0.20563149452209473, 0.0607675239443779, 0.22537624835968018, -0.2658400237560272, 0.12155450880527496, -0.62452232837677, -0.6415268182754517, 0.37038370966911316, 0.6108258962631226, -0.05580839514732361, -0.34408628940582275, 0.013726385310292244, -0.564075231552124, -0.1649014800786972, 0.826965868473053, 0.6024965643882751, -0.6236557960510254, -0.3099227249622345, -0.1416165977716446, 0.06626224517822266, 0.04962532967329025, 0.8117068409919739, -0.7382301688194275, 0.46001672744750977, 0.17982697486877441, 0.6653579473495483, 0.6534718871116638, -0.051265861839056015, 0.9072306752204895, -1.0030261278152466, 0.414954274892807, 0.2378634661436081, 0.3278799057006836, 0.37246400117874146, -0.2916201949119568, 0.8389061093330383, 0.1789497584104538, -0.3641051650047302, -0.8750680088996887, 0.4448196589946747, -0.8310917615890503, -0.2268424779176712, 1.4089555740356445, -0.25772765278816223, -0.28142157196998596, -0.12331826984882355, -0.01992662250995636, 0.3384915888309479, -0.2883228659629822, 0.5444020628929138, 0.5223888754844666, -0.28495311737060547, -0.4447338283061981, -0.5333593487739563, 0.41460126638412476, 0.20588617026805878, -0.47544753551483154, 0.2528385519981384, 0.5767461657524109, 0.37457117438316345, 0.3060246407985687, 0.6771658062934875, -0.1777159571647644, -0.06930923461914062, -0.13094618916511536, 0.20347662270069122, -0.16035492718219757, -0.318599134683609, -0.38799211382865906, 0.2751331627368927, 0.28543663024902344, -0.19166244566440582 ]
http://arxiv.org/abs/2402.11140v1
http://arxiv.org/pdf/2402.11140v1
Boosting of Thoughts: Trial-and-Error Problem Solving with Large Language Models
2024-02-17T00:13:36
2024-02-17T00:13:36
Sijia Chen, Baochun Li, Di Niu
cs.CL
cs.CL, cs.AI, cs.LG
The reasoning performance of Large Language Models (LLMs) on a wide range of problems critically relies on chain-of-thought prompting, which involves providing a few chain of thought demonstrations as exemplars in prompts. Recent work, e.g., Tree of Thoughts, has pointed out the importance of exploration and self-evaluation in reasoning step selection for complex problem solving. In this paper, we present Boosting of Thoughts (BoT), an automated prompting framework for problem solving with LLMs by iteratively exploring and self-evaluating many trees of thoughts in order to acquire an ensemble of trial-and-error reasoning experiences, which will serve as a new form of prompting to solve the complex problem. Starting from a simple prompt without requiring examples, BoT iteratively explores and evaluates a large collection of reasoning steps, and more importantly, uses error analysis obtained from the LLM on them to explicitly revise prompting, which in turn enhances reasoning step generation, until a final answer is attained. Our experiments with GPT-4 and Llama2 across extensive complex mathematical problems demonstrate that BoT consistently achieves higher or comparable problem-solving rates than other advanced prompting approaches.
[ -0.37836363911628723, -1.175426959991455, 0.8308407664299011, 0.6898780465126038, -0.023353643715381622, 0.34045395255088806, -0.18917042016983032, -0.06530794501304626, 0.016877219080924988, 0.15044856071472168, -0.9772968888282776, 0.03709074482321739, -0.42054715752601624, 0.34810665249824524, -0.21557548642158508, 0.7651404738426208, -0.3066754937171936, 0.20555196702480316, -0.08793558180332184, 0.3750303089618683, -0.7363662719726562, -0.2784658670425415, -0.9340078830718994, -0.3398849666118622, 0.4771212935447693, 0.4882996082305908, 0.3783246576786041, 0.05087819695472717, 0.5259604454040527, 0.308215469121933, -0.049490395933389664, 0.39892858266830444, -0.5000454187393188, 0.3958438038825989, -0.2999843657016754, -0.6258970499038696, -0.279281347990036, -0.14530892670154572, 0.39146333932876587, 0.4478379487991333, -0.08251827210187912, 0.10864081233739853, 0.018853643909096718, 0.7891353964805603, -0.36353230476379395, 0.27859118580818176, -0.7570555806159973, 0.01127543207257986, 0.1478268802165985, -0.6072272062301636, -0.2892780303955078, -0.39500892162323, 0.14302925765514374, -0.5672731399536133, 0.10382428020238876, 0.1928136795759201, 0.22873766720294952, 0.5240314602851868, 0.1388959288597107, -0.5501049160957336, -0.5617225170135498, 0.7611194252967834, -0.5505994558334351, -0.08424528688192368, 0.08787847310304642, 0.27254852652549744, -0.568766176700592, -0.2408224195241928, -0.6954122185707092, -0.1194942444562912, 0.2145761251449585, 0.19146709144115448, -0.27518561482429504, -0.03136424347758293, 0.6052906513214111, 0.28712373971939087, -0.24523943662643433, -0.3061675429344177, -0.17154893279075623, 0.000948778644669801, 0.4859071373939514, 0.15736271440982819, 0.1492174118757248, -0.20927152037620544, -0.17953753471374512, -0.4630938470363617, -0.656560480594635, 0.17486044764518738, 0.183399498462677, 0.31103992462158203, 0.37872135639190674, 0.44276848435401917, -0.35298725962638855, 0.6289631724357605, 0.10404407978057861, 0.02056959643959999, 0.19430789351463318, -0.3425164520740509, -0.24191586673259735, -0.05764230713248253, 0.684674859046936, 0.3078750967979431, 0.41158151626586914, 0.21548008918762207, -0.4209911823272705, 0.09165891259908676, 0.23233288526535034, -0.6571743488311768, -0.45090651512145996, 0.4063597321510315, -0.03859464451670647, -0.30681461095809937, -0.2684961259365082, -0.7947890758514404, -0.4471462666988373, -0.17150135338306427, 0.7344735264778137, -0.3810637593269348, -0.20082156360149384, 0.45473313331604004, -0.20281589031219482, -0.15485946834087372, 0.645271360874176, -0.5307249426841736, 0.10510363429784775, 0.5740947127342224, 0.5900415182113647, -0.1619279980659485, -0.2164650857448578, -0.6896740794181824, -0.286773681640625, -0.5446402430534363, 0.8890409469604492, -0.4885379672050476, -0.5336921215057373, 0.0665852427482605, -0.2619902789592743, 0.10262315720319748, -0.5547508597373962, 0.6758667230606079, -0.39249947667121887, 0.14747999608516693, -0.4636973440647125, -0.5787873268127441, -0.18545596301555634, 0.5244611501693726, -0.47876670956611633, 1.2615174055099487, 0.0004659086116589606, -0.6379602551460266, 0.16713033616542816, -1.0835837125778198, -0.29118654131889343, 0.19445590674877167, -0.27709531784057617, -0.18755213916301727, 0.22728505730628967, 0.572392463684082, 0.3289857506752014, -0.32629844546318054, 0.12876105308532715, 0.008937625214457512, -0.15773515403270721, 0.08484070748090744, -0.3389565646648407, 0.8171718120574951, 0.10589338839054108, -0.5774990916252136, 0.350585401058197, -0.5211445689201355, 0.3177288770675659, 0.5411229133605957, -0.15494683384895325, -0.06336013972759247, -0.023935245350003242, -0.45065823197364807, 0.21991868317127228, 0.11720512062311172, -0.38979804515838623, 0.6093956232070923, -0.33884501457214355, 0.5054610967636108, 0.7564772367477417, 0.25255274772644043, -0.08536522835493088, -0.31455060839653015, 0.7379328012466431, 0.1368662267923355, 0.013992274180054665, -0.7541835308074951, -0.7628855109214783, -1.0999040603637695, 0.20825354754924774, 0.1090739369392395, 0.57301926612854, -0.9113402962684631, 0.35927820205688477, 0.009385406970977783, -0.3243551254272461, -0.6381344199180603, 0.15898527204990387, 0.29675978422164917, 0.4959649443626404, 0.45042282342910767, -0.04780013486742973, -0.5025822520256042, -0.7572880387306213, -0.2918608486652374, -0.19560901820659637, 0.02708330750465393, 0.32338762283325195, 0.6222579479217529, -0.16743658483028412, 1.0169601440429688, -0.5376056432723999, -0.04109611734747887, -0.21904142200946808, 0.47045430541038513, 0.21826907992362976, 0.5305315256118774, -0.10489744693040848, -0.42753860354423523, -0.32109206914901733, -0.24253761768341064, -0.34314805269241333, -0.11806005239486694, -0.350187212228775, -0.23203353583812714, -0.12135621905326843, 0.3183876872062683, -0.4534308910369873, 0.2353547066450119, 0.20370106399059296, -0.058451488614082336, 0.734686017036438, -0.3683204650878906, 0.1735396385192871, -0.7532950639724731, -0.08540123701095581, -0.03693648800253868, -0.30087172985076904, -0.27098649740219116, -0.0734366923570633, 0.005084563512355089, 0.06924311071634293, -0.15141011774539948, 0.37182876467704773, -0.4670248329639435, 0.07666084915399551, -0.3664510250091553, 0.33108407258987427, -0.04029429703950882, 0.5961800813674927, -0.060066916048526764, 0.9560595750808716, 0.7242779731750488, -0.4568427503108978, 0.5777841806411743, 0.10350655764341354, -0.45949697494506836, 0.3724285662174225, -0.522779643535614, 0.6904667019844055, -0.19691242277622223, 0.32905006408691406, -1.2630103826522827, -0.1540675014257431, 0.19125543534755707, -0.2828921973705292, 0.16601066291332245, 0.12896668910980225, -0.7514806389808655, -0.9498813152313232, -0.4585261046886444, 0.49034813046455383, 0.3618089258670807, -0.5877184867858887, 0.38701924681663513, 0.13667820394039154, -0.2932162284851074, -0.6332076787948608, -0.27784621715545654, 0.14892324805259705, 0.09597590565681458, -0.399384468793869, 0.03838397189974785, -0.37760886549949646, -0.3162379860877991, -0.06879264116287231, 0.00925309769809246, 0.3385900557041168, 0.227285698056221, 0.037854310125112534, 0.3132562041282654, 0.11837806552648544, 0.17545080184936523, 0.04684314504265785, -0.06451567262411118, 0.3339635729789734, -0.5048510432243347, 0.6518639922142029, -0.29369696974754333, -0.5810015797615051, -0.3546264171600342, 0.26337313652038574, 0.22262631356716156, -0.15888266265392303, -0.034316156059503555, 0.02391357533633709, -0.39702197909355164, -0.5457616448402405, -0.6778178811073303, -0.35099631547927856, -0.48450905084609985, 0.4180190861225128, -0.46677854657173157, -0.7665644884109497, 0.18873843550682068, -0.31092220544815063, 0.22909334301948547, 0.20888309180736542, 0.752536416053772, -0.33714327216148376, 1.1665252447128296, 0.5728282332420349, -0.17966285347938538, 0.3055347502231598, -0.25119104981422424, 0.328547865152359, -0.6961873173713684, -0.026541566476225853, -0.33444130420684814, -0.30828189849853516, -0.12533576786518097, -0.8103341460227966, 0.4612305164337158, 0.20248766243457794, 0.06969880312681198, 0.028488367795944214, -0.7817739844322205, 0.8728255033493042, 0.35322242975234985, -0.14594750106334686, 0.3541187345981598, 0.00023380661150440574, -0.3173478841781616, 0.15111702680587769, -0.8520301580429077, -0.3149070143699646, 0.9650097489356995, 0.12423253804445267, 0.6669974327087402, -0.29865312576293945, 0.525388777256012, 0.18345677852630615, 0.5046659111976624, -1.1093919277191162, 0.567609429359436, 0.4901154935359955, -0.7266891598701477, -0.3649475872516632, -0.40342867374420166, -0.8874498605728149, 0.05107639357447624, -0.04164264723658562, -0.7080719470977783, -0.1248934268951416, 0.37074849009513855, -0.6532711386680603, 0.2724713683128357, -0.3776511251926422, 0.43759435415267944, -0.3275776505470276, -0.2238968014717102, -0.5715702772140503, -0.45361098647117615, 0.3433474600315094, -0.09296490997076035, 0.1441948562860489, 0.22252170741558075, 0.11956682801246643, 0.6922123432159424, -0.04324382543563843, 0.6529945731163025, -0.05451854318380356, -0.33981600403785706, 0.49393540620803833, 0.47067874670028687, 0.9106642603874207, -0.25312113761901855, 0.05658125877380371, -0.4602402448654175, -0.2603243291378021, -0.1634039729833603, -0.9364725947380066, 0.5925596356391907, -0.34868094325065613, -1.029483437538147, -0.24553772807121277, -0.7393677234649658, -0.5440396070480347, 0.16980667412281036, 0.035378966480493546, 0.4241909682750702, 0.09533490985631943, -0.13204529881477356, 0.7049912810325623, 0.03104647994041443, 0.381277471780777, 0.008181856945157051, -0.5918540954589844, -0.3997248411178589, 0.7765915989875793, 0.005554395727813244, 0.2771027684211731, 0.07907997816801071, 0.3143112361431122, -0.47731730341911316, -0.511894702911377, -0.6495757102966309, 0.19497931003570557, -0.8603731393814087, -0.21838636696338654, -0.6177520155906677, 0.011641085147857666, -0.029191868379712105, 0.044618576765060425, -0.2451907843351364, -0.4596174657344818, 0.22944040596485138, -0.14574529230594635, 0.369699090719223, 0.9054537415504456, 0.2156473994255066, 0.025509150698781013, -0.6100202798843384, -0.011933560483157635, 0.518896758556366, 0.12637662887573242, 0.4114293158054352, -0.1742607206106186, -0.10413414984941483, -0.08252621442079544, -0.5408674478530884, -0.8717021346092224, 0.19882403314113617, -0.25608906149864197, 0.3808768689632416, 0.3296542763710022, -0.05318918079137802, 0.8067386746406555, -0.5640998482704163, 0.73374342918396, 0.247879296541214, -0.9726170897483826, 0.8197933435440063, -0.39072972536087036, 0.25561392307281494, 0.5280508399009705, 0.2579810321331024, -0.5499802231788635, -0.40734559297561646, -0.7275535464286804, -0.556721568107605, 0.6082226634025574, 0.27603378891944885, -0.12687593698501587, 0.011622464284300804, 0.44709452986717224, 0.003005906706675887, 0.3064352571964264, -0.5407242774963379, -0.1752016395330429, -0.0480501614511013, -0.06994201987981796, 0.11419273167848587, -0.1446583867073059, -0.3859732747077942, -0.3278440237045288, 0.7763383984565735, -0.4361071288585663, 0.24883835017681122, 0.5596515536308289, -0.03280884772539139, -0.5654906630516052, 0.30676889419555664, 0.49752387404441833, 0.686424970626831, 0.10884604603052139, 0.18812470138072968, 0.3793266713619232, -0.03152185678482056, 0.15663157403469086, -0.2262236475944519, -0.12012124806642532, -0.2197251170873642, -0.01714477874338627, 0.6780691146850586, 0.0414847731590271, -0.8540313839912415, 0.3252960741519928, 0.05984270200133324, -0.2114582061767578, 0.020298149436712265, 0.35378122329711914, 0.2488512396812439, 0.16198797523975372, 0.5129431486129761, 0.13763777911663055, 0.18485426902770996, -0.6176408529281616, -0.04291575774550438, 0.6067459583282471, -0.28826749324798584, -0.18771857023239136, 0.32631105184555054, 0.24995248019695282, -0.5888189673423767, 0.47315019369125366, -0.46438100934028625, -1.0858901739120483, 0.5212002396583557, 0.7064172625541687, 1.0154104232788086, 0.05504876375198364, 0.12180454283952713, 0.536600649356842, 0.0991981029510498, -0.29933515191078186, 0.4968133270740509, -0.34746211767196655, -0.6937406659126282, -0.8176843523979187, -0.2789364755153656, -0.5929269790649414, 0.19862030446529388, -0.225367933511734, 0.1521158665418625, -0.6404834985733032, -0.0868312418460846, -0.1466863453388214, 0.11611483991146088, -0.4833771884441376, 0.11344058066606522, 0.2656128406524658, 1.0512505769729614, -0.4868221580982208, 0.6252145767211914, 0.6206519603729248, -0.07125299423933029, -0.9913902282714844, 0.16388925909996033, 0.04786764830350876, -0.7739579081535339, 0.7620850801467896, 0.2732051908969879, -0.5568602085113525, 0.2651172876358032, -0.7076025605201721, -0.6793140769004822, 0.806638240814209, 0.033744510263204575, -0.7292808294296265, 0.032825589179992676, -0.104764424264431, 0.36184775829315186, -0.41875895857810974, 0.35836610198020935, 0.5622962713241577, 0.5329458117485046, 0.1945488154888153, -0.8707624077796936, 0.08268357068300247, -0.34760531783103943, -0.26724180579185486, 0.1069541946053505, -0.6828398108482361, 0.8481329083442688, -0.47428226470947266, -0.2658577859401703, 0.03984953090548515, 0.47327569127082825, 0.5283052921295166, -0.00012381721171550453, 0.8496228456497192, 0.44779568910598755, 1.1557265520095825, -0.07325425744056702, 0.9957457780838013, -0.3426940441131592, 0.3341580033302307, 0.9698083996772766, -0.23269888758659363, 0.7964925169944763, 0.4812569320201874, -0.3943222165107727, 0.5643231272697449, 0.5813595652580261, 0.012671173550188541, 0.15534496307373047, 0.5032445788383484, -0.10064861178398132, -0.5358957052230835, 0.21186865866184235, -0.178340345621109, -0.11261486262083054, 0.3705693483352661, 0.06506627798080444, -0.24310632050037384, -0.15514586865901947, -0.11422660946846008, -0.10602615773677826, -0.4360324740409851, 0.5273984670639038, 0.08334933966398239, -1.189648985862732, 0.5361306071281433, -0.4559907615184784, 0.604118287563324, -0.428513765335083, -0.17244286835193634, 0.059142667800188065, 0.19696387648582458, -0.04945787042379379, -0.9800001382827759, -0.1257501095533371, 0.17904768884181976, -0.06069991737604141, -0.34684035181999207, 0.7104937434196472, -0.12403542548418045, -0.663657009601593, 0.20927388966083527, 0.8425579071044922, 0.15998923778533936, -0.16679641604423523, -0.9543735384941101, -0.1871608942747116, 0.12295127660036087, -0.3179858922958374, -0.034012097865343094, 0.5546810626983643, -0.05147123709321022, 1.034010410308838, 0.7967040538787842, 0.06138872727751732, -0.026547100394964218, 0.19259339570999146, 0.9733780026435852, -0.7390925288200378, -0.44111698865890503, -1.0040793418884277, 0.4123675525188446, -0.1577538102865219, -0.2709730565547943, 0.8271345496177673, 0.39397355914115906, 0.6651679277420044, -0.04791712388396263, 0.8491905331611633, 0.17246834933757782, 0.49384140968322754, -0.4379057288169861, 0.33275696635246277, -0.5087666511535645, 0.2161511927843094, -0.39263445138931274, -0.9687542915344238, -0.14725863933563232, 0.7088691592216492, -0.3381240665912628, -0.1423364281654358, 0.8132296800613403, 0.80281001329422, 0.3795199394226074, 0.4305582344532013, 0.08795548230409622, 0.29582715034484863, 0.5287426710128784, 0.6548628211021423, 1.2747405767440796, 0.001306378049775958, 0.37916386127471924, -0.06743158400058746, -0.4177003800868988, -0.2090342789888382, -0.9315090775489807, -0.8396692276000977, -0.44923141598701477, -0.1512472927570343, -0.36086344718933105, -0.07560478895902634, 1.456878900527954, 0.45041632652282715, -0.8555677533149719, -0.20345383882522583, -0.5642711520195007, 0.1439591348171234, -0.2991158664226532, -0.15902045369148254, 0.22676698863506317, -0.9846053123474121, -0.7874311804771423, 0.6445304751396179, 0.31039193272590637, -0.051411114633083344, -0.684780478477478, 0.15348270535469055, 0.035232216119766235, 0.2633364200592041, 0.3675437271595001, 0.12300650775432587, -0.7111576795578003, -0.14618782699108124, 0.1545911282300949, 0.12395079433917999, 0.39561039209365845, 1.0832457542419434, -1.044499397277832, 0.8141841888427734, 0.5107786655426025, 0.730563759803772, 0.4358874559402466, 0.030632013455033302, 0.6799784898757935, -0.3034053146839142, -0.16625243425369263, 0.4439348876476288, 0.4613400399684906, 0.3183465003967285, -0.2502148449420929, 0.4707794487476349, 0.21319009363651276, -0.5637311935424805, -0.8468899726867676, 0.20739085972309113, -0.8264398574829102, -0.27925917506217957, 1.0845216512680054, 0.027628235518932343, -0.431442528963089, -0.05288263410329819, -0.7520939707756042, 0.019198480993509293, -0.48369166254997253, 1.056517481803894, 1.0257911682128906, -0.45627039670944214, 0.10757414996623993, -0.3801718056201935, 0.8098474144935608, 0.9744464159011841, -0.8400905132293701, 0.4479126036167145, 0.30514150857925415, -0.03392216935753822, 0.5587881207466125, 0.5341087579727173, 0.11467812210321426, 0.3101292848587036, -0.14450325071811676, -0.2602365016937256, 0.05441218987107277, -0.460935115814209, -0.374257892370224, 0.04783386364579201, 0.028551345691084862, 0.14505550265312195 ]
http://arxiv.org/abs/2402.11138v2
http://arxiv.org/pdf/2402.11138v2
Contrastive Instruction Tuning
2024-02-17T00:09:32
2024-06-06T06:03:34
Tianyi Lorena Yan, Fei Wang, James Y. Huang, Wenxuan Zhou, Fan Yin, Aram Galstyan, Wenpeng Yin, Muhao Chen
cs.CL
cs.CL, cs.AI, cs.LG
Instruction tuning has been used as a promising approach to improve the performance of large language models (LLMs) on unseen tasks. However, current LLMs exhibit limited robustness to unseen instructions, generating inconsistent outputs when the same instruction is phrased with slightly varied forms or language styles. This behavior indicates LLMs' lack of robustness to textual variations and generalizability to unseen instructions, potentially leading to trustworthiness issues. Accordingly, we propose Contrastive Instruction Tuning, which maximizes the similarity between the hidden representations of semantically equivalent instruction-instance pairs while minimizing the similarity between semantically different ones. To facilitate this approach, we augment the existing FLAN collection by paraphrasing task instructions. Experiments on the PromptBench benchmark show that CoIN consistently improves LLMs' robustness to unseen instructions with variations across character, word, sentence, and semantic levels by an average of +2.5% in accuracy. Code is available at https://github.com/luka-group/CoIN.
[ -0.1799411177635193, -0.8259246349334717, 0.5164106488227844, -0.15452860295772552, -0.33743834495544434, 0.13285726308822632, -0.6140556335449219, -0.3057330548763275, 0.24263785779476166, 0.7062113285064697, -0.6890355348587036, -0.6552178263664246, -0.6761281490325928, -0.022290488705039024, -0.2587831914424896, 1.0968834161758423, 0.015008286572992802, -0.12653464078903198, -0.2020845264196396, -0.2094237208366394, -0.2850031852722168, 0.02377740852534771, -0.5637764930725098, -0.4766559302806854, 0.47562795877456665, 0.8651142716407776, 0.8238318562507629, 0.8072863221168518, 0.4852970540523529, 0.4404434263706207, 0.13849589228630066, 0.417044997215271, -0.5131180286407471, 0.08905025571584702, -0.30891987681388855, -0.6478263735771179, -0.33989933133125305, -0.0220754723995924, 0.3347654342651367, 0.5135529637336731, 0.011280151084065437, -0.06478475034236908, 0.25879713892936707, 0.8020521402359009, -0.7887738347053528, 0.2904715836048126, -0.7442924976348877, -0.38682615756988525, -0.16777144372463226, -0.28987857699394226, -0.13237573206424713, -0.22663399577140808, 0.006916709244251251, -0.987872838973999, 0.4257296323776245, 0.11047711223363876, 0.9643707275390625, 0.015147767961025238, 0.16673582792282104, -0.5671896934509277, -0.452071875333786, 0.9389939308166504, -0.8554342985153198, -0.02043476328253746, 0.5480775833129883, 0.08734215050935745, 0.061867982149124146, -0.6455302238464355, -0.3938613533973694, -0.366451233625412, 0.021581292152404785, 0.09704280644655228, 0.04908827319741249, 0.17649149894714355, 0.31978628039360046, 0.577082097530365, -0.28823256492614746, 0.07827039808034897, -0.052557606250047684, -0.24312040209770203, 0.21211108565330505, 0.16311979293823242, 0.21448704600334167, 0.12513256072998047, -0.3003890812397003, -0.536113440990448, -0.5580599904060364, -0.007131719961762428, 0.7298169136047363, 0.4162326157093048, -0.2704430818557739, 0.43640828132629395, -0.3963876962661743, 0.701322078704834, 0.31903135776519775, -0.03538823500275612, 0.3029428720474243, -0.16739685833454132, -0.07522004097700119, 0.08164160698652267, 0.5865375995635986, 0.5223314166069031, 0.10051257163286209, -0.167057603597641, -0.5528716444969177, 0.16644060611724854, 0.254279226064682, -0.8061902523040771, -0.4124748408794403, -0.13486425578594208, -0.34902870655059814, -0.43448325991630554, 0.36230868101119995, -0.666357159614563, -0.37642666697502136, -0.3494666814804077, 0.645627498626709, -0.6607189178466797, -0.11817334592342377, 0.037281639873981476, -0.1725236177444458, 0.2513890862464905, 0.16139021515846252, -1.1767066717147827, 0.46082833409309387, 1.18634831905365, 0.8134334683418274, -0.0388578437268734, -0.19636353850364685, -1.050247311592102, 0.18589431047439575, -0.5236877799034119, 0.5687293410301208, -0.9888482093811035, -0.4443112909793854, 0.1687755286693573, 0.11760081350803375, -0.06119020655751228, -0.7456803321838379, 0.46954500675201416, -0.5553786754608154, 0.027671897783875465, -0.5460408926010132, -0.7974637150764465, 0.03346387669444084, 0.17580357193946838, -0.7984117269515991, 0.6849889755249023, 0.27917400002479553, -0.9619947671890259, 0.17917098104953766, -0.5265593528747559, -0.5687130689620972, -0.01688464917242527, -0.2022581696510315, -0.35942572355270386, 0.45186588168144226, 0.3821967840194702, 0.2033383995294571, -0.11003289371728897, -0.33579936623573303, -0.3006323575973511, -1.0382391214370728, 0.2749156653881073, -0.3565947711467743, 0.389756977558136, 0.21541368961334229, -0.5871307849884033, 0.22811713814735413, -0.7445611357688904, -0.057157110422849655, -0.11406899243593216, -0.09991740435361862, -0.698115348815918, -0.16199815273284912, -0.11961232125759125, -0.2521197199821472, 0.5192633271217346, -0.4110536277294159, -0.0781695544719696, -0.8620755672454834, 0.49854716658592224, 0.9348779320716858, -0.20350119471549988, 0.529394805431366, -0.6391327381134033, 0.5038248300552368, 0.21999016404151917, -0.04808180406689644, -0.26227614283561707, -0.1941162347793579, -1.081622838973999, -0.09366422146558762, 0.2696145474910736, 0.7076685428619385, -0.9643240571022034, 0.3604593873023987, -0.2915213704109192, -0.045175325125455856, -0.7323687076568604, 0.5113033056259155, 0.6194018721580505, 0.6321535706520081, 0.3664504289627075, -0.13864438235759735, -0.24671222269535065, -0.9928674697875977, -0.4656756818294525, 0.0907750129699707, -0.10910577327013016, 0.22350731492042542, 0.3141877055168152, -0.015307847410440445, 0.22644999623298645, -0.3214172422885895, 0.041000764816999435, 0.06336090713739395, 0.34676504135131836, 0.23491866886615753, 0.6148920059204102, 0.1316702663898468, -0.4902198910713196, -0.4126448333263397, 0.21091249585151672, -0.38415786623954773, 0.0183111522346735, -0.07530666142702103, -0.25225603580474854, 0.24060681462287903, 0.8122027516365051, -0.3211789131164551, 0.2329254299402237, 0.5394257307052612, -0.1289050579071045, 0.3046445846557617, -0.5316590070724487, 0.4753301739692688, -1.1220709085464478, -0.10680689662694931, -0.31443968415260315, -0.27573201060295105, -0.14538510143756866, 0.2023819237947464, 0.3041370213031769, -0.07358229905366898, -0.06713350862264633, 0.2705042362213135, -0.6262074112892151, 0.06508786231279373, -0.5932680368423462, 0.4901563823223114, 0.11246490478515625, 0.165603905916214, -0.11115897446870804, 1.0266119241714478, 0.7295708060264587, -0.5534455180168152, 0.3103272616863251, -0.0682850256562233, -0.6687461733818054, 0.7462648153305054, -0.7315120697021484, 0.2814921736717224, 0.1622234433889389, -0.31777694821357727, -0.7544674277305603, -0.13347600400447845, 0.25868746638298035, -0.219304621219635, 0.788554310798645, 0.28161871433258057, -0.32294559478759766, -0.024487502872943878, -0.5573546290397644, 0.02733134850859642, 0.5994783043861389, -0.5661449432373047, 0.3312409222126007, -0.18708114326000214, -0.004568327218294144, -0.790024995803833, -0.7426872849464417, -0.11638801544904709, -0.3119446337223053, -0.3889022469520569, 0.5354505181312561, -0.22736485302448273, -0.3837217092514038, 0.06758669763803482, -0.5100457668304443, 0.2496725171804428, 0.06799786537885666, 0.2532429099082947, 0.1324121654033661, -0.4990636706352234, 0.12758946418762207, 0.20218734443187714, -0.1986526995897293, 0.02536315657198429, -0.3243902325630188, 0.2631535232067108, -0.2917693853378296, -0.24495916068553925, -0.47475066781044006, 0.3847257196903229, 0.25341305136680603, -0.13047626614570618, 0.8129441738128662, 0.7654996514320374, -0.05965742468833923, -0.3604907989501953, -0.6012150049209595, -0.3544462025165558, -0.6477013230323792, 0.30206799507141113, -0.5520206689834595, -1.0277438163757324, 0.531183123588562, -0.1845061331987381, 0.11217191070318222, 0.25218501687049866, 0.230782613158226, -0.11226723343133926, 0.698752224445343, 0.7211936712265015, -0.1156206801533699, 0.7252725958824158, -0.056995656341314316, -0.043189775198698044, -0.7586142420768738, 0.126876562833786, -0.5359631180763245, -0.3900723159313202, -0.9002352952957153, -0.5398267507553101, 0.0733238011598587, 0.2789533734321594, -0.22435890138149261, 0.28381451964378357, -0.3745042681694031, 0.7222188115119934, 0.8272431492805481, 0.49457088112831116, 0.04452738165855408, 0.18343383073806763, -0.1649233102798462, -0.0018047346966341138, -0.47062745690345764, -0.5391345024108887, 1.0361948013305664, -0.2597765028476715, 0.8374521732330322, -0.3147631287574768, 1.1878046989440918, 0.17589527368545532, 0.007273413240909576, -0.34497034549713135, 0.4587419331073761, -0.5148850679397583, -0.19955183565616608, -0.13754704594612122, -0.5476114153862, -0.8948626518249512, -0.11590117961168289, -0.09532223641872406, -0.616466760635376, -0.20215362310409546, 0.18300460278987885, -0.25762662291526794, 0.29279786348342896, -0.7203511595726013, 0.881938099861145, -0.12570959329605103, -0.5344846248626709, -0.5645350813865662, -0.5868724584579468, 0.27823352813720703, 0.042177293449640274, 0.25409695506095886, 0.0003643849049694836, -0.44392067193984985, 0.5530000925064087, -0.621605634689331, 0.8383966088294983, 0.13025979697704315, -0.18728969991207123, 0.09632493555545807, 0.18665136396884918, 0.7467178702354431, 0.15057595074176788, -0.26166412234306335, 0.00018348562298342586, -0.0653487890958786, -0.6579293608665466, -0.8413837552070618, 1.456613302230835, -0.8208945989608765, -0.9220149517059326, -0.10032764822244644, -0.8282166123390198, -0.2484775334596634, 0.16938836872577667, 0.27854567766189575, 0.47366511821746826, -0.15147849917411804, 0.1536334902048111, 1.0228712558746338, -0.2648589611053467, 0.5144925117492676, 0.4112194776535034, 0.36479875445365906, -0.4700952470302582, 1.170114278793335, -0.34535568952560425, 0.35224804282188416, 1.0496307611465454, 0.3782602548599243, -0.0833207443356514, -0.3332603871822357, -0.24879337847232819, 0.22265852987766266, -0.7301715612411499, -0.18438905477523804, -0.12202993035316467, 0.17320232093334198, -0.3242543339729309, -0.38200607895851135, -0.33841630816459656, -0.4055655002593994, -0.585015594959259, -0.12035585939884186, 0.6061713099479675, 0.593553364276886, -0.06498722732067108, 0.40716731548309326, -0.6894391775131226, 0.3957909345626831, 0.44013872742652893, 0.46466392278671265, -0.25778594613075256, -0.7093709111213684, -0.2687201499938965, 0.1563463658094406, -0.06245564669370651, -0.6577982306480408, -0.042312558740377426, 0.32971617579460144, 0.47995227575302124, 0.7446419596672058, 0.3088104724884033, 0.891220211982727, -0.3896431624889374, 0.5776512026786804, 0.22147676348686218, -1.223679542541504, 0.6351085901260376, -0.25631487369537354, 0.48823779821395874, 0.802887499332428, 0.13309255242347717, -0.1358380764722824, -0.5833359360694885, -0.6524929404258728, -0.7580784559249878, 0.8449844121932983, 0.1652531921863556, 0.42940792441368103, -0.10702408105134964, 0.4856266379356384, 0.39005833864212036, 0.21443620324134827, -0.3719732463359833, -0.3106648325920105, -0.2961806058883667, -0.494975745677948, -0.3282119333744049, -0.23913724720478058, -0.33993810415267944, 0.05330662801861763, 0.6324318051338196, -0.02039855718612671, 0.022980788722634315, -0.07710085809230804, -0.06158719211816788, -0.23370985686779022, 0.30316412448883057, 0.7551863193511963, 0.754753828048706, -0.08620745688676834, 0.41884174942970276, 0.17865152657032013, -0.41087472438812256, -0.3285326659679413, 0.0852593332529068, -0.28962743282318115, -0.13316045701503754, 0.622230589389801, 1.016944169998169, 0.6727812886238098, -0.7039154171943665, 0.4166790246963501, 0.043017249554395676, -0.20082688331604004, -0.008890853263437748, 0.5230997204780579, 0.33952975273132324, 0.39658984541893005, -0.22960308194160461, 0.012978529557585716, -0.05743469297885895, -0.4723280668258667, 0.22761742770671844, 0.4467642307281494, -0.5041080713272095, -0.2004781812429428, 0.606690526008606, 0.20705734193325043, -0.5123777389526367, 0.7232612371444702, -0.05404195189476013, -0.17051813006401062, 0.46911412477493286, 0.5636996030807495, 0.8417205214500427, -0.17946666479110718, 0.2669964134693146, 0.21069824695587158, 0.5396983623504639, 0.035626012831926346, 0.33763790130615234, -0.3376694321632385, -0.5365067720413208, -0.11336229741573334, -0.5740264058113098, -0.43546953797340393, 0.23130866885185242, -0.9068616628646851, 0.12034101784229279, -0.5995319485664368, 0.21426507830619812, -0.2906506657600403, 0.23412762582302094, -0.6205165982246399, 0.010479120537638664, -0.030512016266584396, 0.6310503482818604, -0.6844270825386047, 0.8874968886375427, 0.731846809387207, -0.41873854398727417, -0.7114145159721375, 0.12487778067588806, -0.30888763070106506, -0.9978384375572205, 0.20890319347381592, 0.35511520504951477, -0.3218809962272644, -0.3096264898777008, -0.5022620558738708, -0.4759645164012909, 1.0910056829452515, 0.5336371660232544, -0.9731457829475403, 0.1764911711215973, 0.08949864655733109, 0.37945127487182617, -0.35430678725242615, 0.26502758264541626, 0.5315671563148499, 0.38809850811958313, -0.0583466961979866, -0.5692086219787598, 0.20226521790027618, -0.1283554583787918, 0.07749523967504501, 0.16309013962745667, -0.7131083011627197, 0.8756505250930786, -0.15962526202201843, 0.027291905134916306, 0.2498137503862381, 0.8033361434936523, 0.2028030902147293, 0.298949271440506, 0.6503158807754517, 0.52750164270401, 0.7950839400291443, 0.0704851970076561, 0.9796092510223389, -0.647355318069458, -0.09217953681945801, 1.18959379196167, -0.20600998401641846, 0.7565380334854126, 0.523269772529602, 0.07411932200193405, 0.8564358949661255, 0.32481876015663147, 0.2155802994966507, 0.5155208706855774, 0.18010003864765167, -0.2474454641342163, -0.5955421924591064, 0.1775665283203125, -0.31117507815361023, 0.2560115456581116, 0.4659273624420166, -0.5002776980400085, -0.0615934319794178, -0.12559689581394196, -0.02870927006006241, 0.5820658802986145, -0.4668482840061188, 0.6236739158630371, 0.2103075236082077, -0.5747020840644836, 0.6216928362846375, 0.10301358997821808, 0.8323974609375, -0.7913087010383606, -0.24820922315120697, -0.463001012802124, 0.36871102452278137, -0.05902453884482384, -0.2530450224876404, 0.012237003073096275, -0.19059737026691437, -0.23415914177894592, -0.17415671050548553, 0.6372597813606262, -0.4924706220626831, -0.5773979425430298, 0.19896581768989563, 0.16650228202342987, 0.009188945405185223, 0.038518261164426804, -0.8463699817657471, 0.2584773600101471, -0.06620202213525772, -0.1670827865600586, 0.5241522789001465, 0.77708500623703, 0.04583512619137764, 0.5059975385665894, 0.34222906827926636, 0.11373201757669449, -0.11271681636571884, 0.2604079842567444, 0.8339042663574219, -0.6828795671463013, -0.6293562650680542, -0.7255403995513916, -0.004481395706534386, -0.2580106854438782, -0.3246711492538452, 0.8641607761383057, 0.5190266370773315, 1.082445502281189, -0.18341682851314545, 0.37353023886680603, 0.2936599552631378, 0.46799755096435547, -0.7263669371604919, 0.5398444533348083, -0.6424494385719299, 0.5049240589141846, -0.3923867344856262, -0.7687864303588867, 0.11252222210168839, 0.7716283202171326, -0.11744096875190735, 0.06758157908916473, 0.8916718363761902, 1.1911641359329224, -0.2514551877975464, 0.07368785887956619, 0.4824856221675873, -0.05310418829321861, -0.20612472295761108, 0.687288224697113, 0.6594221591949463, -0.4589446187019348, 0.7802828550338745, -0.5036938190460205, -0.21307885646820068, -0.029507242143154144, -0.8591033220291138, -1.0970344543457031, -0.3738095462322235, -0.543767511844635, -0.2539738118648529, 0.3683069348335266, 0.6145009398460388, 0.5856646299362183, -1.1187599897384644, -0.30435407161712646, -0.3820180594921112, 0.3036910593509674, -0.7634556293487549, -0.23346863687038422, 0.5229492783546448, -0.6623698472976685, -0.8166324496269226, 0.6269460916519165, 0.1601068377494812, -0.2866843044757843, 0.03618072345852852, -0.20462964475154877, 0.06989488750696182, 0.25401782989501953, 0.15317067503929138, 0.022677583619952202, -0.8267786502838135, -0.5182586312294006, -0.023509597405791283, -0.09038200974464417, -0.1008036658167839, 1.1102147102355957, -0.450080007314682, 0.6632659435272217, 0.5134803056716919, 0.5648975968360901, 0.5166756510734558, 0.11413588374853134, 0.4645088315010071, -0.7535076141357422, 0.1686868518590927, 0.08352591097354889, 0.10901692509651184, 0.4586281478404999, -0.30594971776008606, 0.05213336646556854, 0.13442035019397736, -0.4818349778652191, -0.5161340832710266, 0.22160445153713226, -0.8943673372268677, -0.44833773374557495, 0.9710439443588257, -0.4602632224559784, -0.34220874309539795, 0.23389051854610443, 0.005601100157946348, 0.4767661392688751, -0.500602126121521, 0.822116494178772, 0.747239887714386, 0.06423923373222351, -0.19490736722946167, -0.48012784123420715, 0.5182814002037048, 0.7060555219650269, -0.6013236045837402, 0.12142712622880936, 0.37171560525894165, 0.48579829931259155, -0.06104414910078049, 0.26618707180023193, -0.03685786947607994, 0.21227265894412994, 0.3441391587257385, -0.27598726749420166, -0.318465918302536, -0.07648073136806488, -0.3455559015274048, 0.13982418179512024, 0.19827662408351898, -0.5007447004318237 ]
http://arxiv.org/abs/2402.14830v1
http://arxiv.org/pdf/2402.14830v1
Orca-Math: Unlocking the potential of SLMs in Grade School Math
2024-02-16T23:44:38
2024-02-16T23:44:38
Arindam Mitra, Hamed Khanpour, Corby Rosset, Ahmed Awadallah
cs.CL
cs.CL, cs.AI
Mathematical word problem-solving has long been recognized as a complex task for small language models (SLMs). A recent study hypothesized that the smallest model size, needed to achieve over 80% accuracy on the GSM8K benchmark, is 34 billion parameters. To reach this level of performance with smaller models, researcher often train SLMs to generate Python code or use tools to help avoid calculation errors. Additionally, they employ ensembling, where outputs of up to 100 model runs are combined to arrive at a more accurate result. Result selection is done using consensus, majority vote or a separate a verifier model used in conjunction with the SLM. Ensembling provides a substantial boost in accuracy but at a significant cost increase with multiple calls to the model (e.g., Phi-GSM uses top-48 to boost the performance from 68.2 to 81.5). In this work, we present Orca-Math, a 7-billion-parameter SLM based on the Mistral-7B, which achieves 86.81% on GSM8k without the need for multiple model calls or the use of verifiers, code execution or any other external tools. Our approach has the following key elements: (1) A high quality synthetic dataset of 200K math problems created using a multi-agent setup where agents collaborate to create the data, (2) An iterative learning techniques that enables the SLM to practice solving problems, receive feedback on its solutions and learn from preference pairs incorporating the SLM solutions and the feedback. When trained with Supervised Fine-Tuning alone, Orca-Math achieves 81.50% on GSM8k pass@1 metric. With iterative preference learning, Orca-Math achieves 86.81% pass@1. Orca-Math surpasses the performance of significantly larger models such as LLAMA-2-70B, WizardMath-70B, Gemini-Pro, ChatGPT-3.5. It also significantly outperforms other smaller models while using much smaller data (hundreds of thousands vs. millions of problems).
[ -0.3981291949748993, -0.7302561402320862, 0.34678032994270325, 0.12618333101272583, -0.16225199401378632, 0.18933629989624023, -0.08392083644866943, -0.49570009112358093, 0.09316855669021606, 0.4319060444831848, -0.41794589161872864, -0.495569109916687, -0.581735372543335, -0.20304809510707855, -0.07061619311571121, 0.7943505048751831, -0.029005058109760284, 0.40999874472618103, -0.1603332757949829, -0.21924106776714325, -0.3331453204154968, -0.6220160126686096, -1.1287809610366821, -0.5291910767555237, 0.4004567861557007, 0.6209755539894104, 0.7386505007743835, 0.8274799585342407, 0.5280801057815552, 0.22760343551635742, -0.20643110573291779, 0.4933006167411804, -0.5284374356269836, -0.0011048680171370506, -0.028619466349482536, -0.7447383999824524, -0.721997082233429, 0.0701022669672966, 0.4954797327518463, 0.8322519659996033, -0.44932401180267334, 0.4831591546535492, -0.08814570307731628, 0.9174435138702393, -0.5493977665901184, 0.4842711091041565, -0.7126325964927673, 0.0035321437753736973, -0.4486099183559418, -0.09608804434537888, -0.34802818298339844, -0.5376706123352051, -0.08890564739704132, -0.7053113579750061, 0.04132341593503952, 0.016751088201999664, 0.6554563045501709, 0.2414618283510208, -0.21849969029426575, -0.6739703416824341, -0.4880138337612152, 0.9818384051322937, -0.6087440848350525, 0.33179953694343567, 0.501370370388031, 0.415921151638031, -0.3587157726287842, -0.4996153712272644, -0.2140730321407318, -0.08269599080085754, 0.4042257070541382, 0.2599368989467621, 0.20186537504196167, -0.06810387223958969, 0.5562658905982971, 0.2019132375717163, -0.48074421286582947, -0.029515443369746208, -0.7188393473625183, -0.046921256929636, 0.6846221089363098, 0.600467324256897, 0.13070781528949738, 0.09457683563232422, -0.004676388576626778, -0.1796645224094391, -0.9354692697525024, 0.5027415752410889, 0.3458516299724579, 0.3855253756046295, 0.16698148846626282, 0.7608572244644165, 0.11516926437616348, 0.8811483979225159, -0.10397575795650482, -0.6454066038131714, -0.15202629566192627, -0.24816542863845825, -0.2938835024833679, 0.16741688549518585, 0.3605961501598358, -0.20497798919677734, 0.059682734310626984, 0.22135314345359802, -0.31064942479133606, 0.572209358215332, 0.20481576025485992, -0.9337868094444275, -0.1548008769750595, -0.21077626943588257, -0.3523136377334595, -0.13191834092140198, -0.062358707189559937, -0.48928284645080566, -0.1918075680732727, -0.6395336985588074, 0.496881365776062, -0.4780159294605255, 0.13626322150230408, 0.6628785133361816, 0.2002033293247223, 0.07198520004749298, 0.6147928237915039, -0.8097240328788757, 0.6276929378509521, 0.8257947564125061, 0.8642509579658508, 0.02564210817217827, -0.28795138001441956, -0.4823245406150818, -0.25959205627441406, -0.6849705576896667, 0.6261256337165833, -0.6189956068992615, -0.4566623866558075, -0.36798804998397827, -0.4818941056728363, -0.29300764203071594, -0.6755838990211487, 0.6318089365959167, -0.5696577429771423, 0.03487415611743927, -0.24226167798042297, -0.42981043457984924, -0.23790563642978668, 0.0956825464963913, -0.4790697991847992, 1.2421395778656006, 0.11913686990737915, -0.3083345293998718, 0.24970829486846924, -0.6362319588661194, -0.07655023783445358, 0.0640181303024292, -0.04036708176136017, -0.5842916965484619, 0.3411366939544678, 0.14234495162963867, -0.03101741336286068, -0.4588257670402527, 0.014754898846149445, -0.5130107402801514, -0.4516284465789795, 0.1385735422372818, -0.2404729574918747, 0.7364072203636169, 0.39517730474472046, -0.051718950271606445, -0.2071843296289444, -0.7246750593185425, 0.18287570774555206, 0.24849456548690796, -0.28470441699028015, -0.43231526017189026, -0.263580858707428, -0.33059385418891907, 0.2803926169872284, 0.2831856906414032, -0.5367434620857239, 0.2032402902841568, -0.5562307834625244, 0.6688233613967896, 0.5673797130584717, -0.4066867530345917, 0.6326894164085388, -0.5520119071006775, 0.6695744395256042, -0.2411566823720932, 0.15078391134738922, -0.22155457735061646, -0.7432060837745667, -0.8076533675193787, -0.22717487812042236, 0.5124551057815552, 0.08305453509092331, -0.6503479480743408, 0.00807959958910942, -0.13278041779994965, -0.8207157254219055, -0.7511862516403198, 0.18383203446865082, 0.2578184902667999, 0.5391687154769897, 0.19448503851890564, -0.40889525413513184, -0.3591107130050659, -0.4430720806121826, -0.29513636231422424, -0.09843946993350983, 0.1890801638364792, 0.36788374185562134, 0.41454312205314636, 0.07572720944881439, 1.1516985893249512, -0.6641783118247986, -0.5239497423171997, -0.03742928430438042, 0.076020747423172, 0.3525810241699219, 0.3839900493621826, 0.45084458589553833, -0.7501158118247986, -0.5594304203987122, -0.10587547719478607, -0.6507946252822876, -0.13787733018398285, 0.322928786277771, -0.07268800586462021, 0.05313585698604584, 0.09152576327323914, -0.5611847043037415, 0.7497162222862244, 0.3859437108039856, -0.23927262425422668, 0.5338323712348938, -0.41911518573760986, -0.2760962247848511, -0.723790168762207, -0.145529106259346, 0.16930893063545227, -0.29506224393844604, -0.533530592918396, 0.2264385223388672, 0.2097918838262558, -0.6582968831062317, -0.44566813111305237, 0.3445661664009094, -0.4801948368549347, -0.24309185147285461, -0.2684765160083771, 0.056334931403398514, -0.0987139418721199, 0.35534489154815674, -0.07251939177513123, 0.8886699080467224, 0.5483521819114685, -0.516758918762207, 0.2454560250043869, -0.14916303753852844, -0.2292463183403015, 0.3766568601131439, -0.7024138569831848, 0.3130941092967987, -0.148238405585289, 0.27130794525146484, -0.7509040832519531, -0.04086916521191597, 0.04234888777136803, -0.5904101133346558, -0.1368645876646042, -0.16141487658023834, -0.6792436242103577, -0.29182806611061096, -0.3651040494441986, 0.5667970776557922, 0.3649370074272156, -0.6805667281150818, 0.8528216481208801, 0.6728639006614685, -0.15968233346939087, -0.3682185113430023, -0.3168764114379883, 0.043802373111248016, -0.27639055252075195, -0.8035503029823303, 0.3158429265022278, -0.176493838429451, -0.1255604326725006, -0.12697754800319672, -0.4987986385822296, 0.037669457495212555, 0.07980737090110779, 0.40711215138435364, 0.5347931385040283, -0.11986040323972702, 0.07710803300142288, 0.17602001130580902, -0.4032367467880249, 0.12732306122779846, -0.408086359500885, 0.8122754693031311, -0.4847007989883423, -0.4361725449562073, 0.16287025809288025, 0.02195088192820549, 0.6157276034355164, -0.2977555990219116, 0.6354843378067017, 0.20111863315105438, -0.6924672722816467, -0.48951712250709534, -0.24318556487560272, -0.1466522216796875, -0.5141968727111816, 0.053359951823949814, -0.6672437787055969, -0.8152922987937927, 0.6312602162361145, -0.048618774861097336, 0.3602709174156189, 0.13587646186351776, 0.31138548254966736, 0.17642101645469666, 1.4294774532318115, 0.5645437240600586, -0.16181334853172302, 0.3383221924304962, -0.2839850187301636, 0.2402581125497818, -0.48883455991744995, -0.4074157774448395, -0.745634913444519, -0.2373773455619812, -0.3765711486339569, -0.37209558486938477, 0.7845233082771301, 0.24433742463588715, -0.3130151629447937, 0.5174852609634399, -0.6005416512489319, 0.5397935509681702, 0.44808241724967957, 0.19121092557907104, 0.4320366084575653, 0.26433026790618896, -0.0835365429520607, -0.3033426105976105, -0.8209875226020813, -0.5713531374931335, 1.246191382408142, 0.4215508997440338, 1.126567006111145, 0.244781956076622, 0.5735070705413818, -0.051466744393110275, 0.4450462758541107, -0.9869008660316467, 0.61406409740448, -0.12703083455562592, -0.4089442491531372, -0.34137222170829773, -0.6573082804679871, -1.0529989004135132, 0.502592146396637, 0.07574012130498886, -0.591656506061554, -0.05586811527609825, -0.03790292516350746, -0.46883583068847656, 0.06807884573936462, -0.661616325378418, 0.46589431166648865, 0.017634626477956772, -0.12718254327774048, -0.21721863746643066, -0.24170900881290436, 0.25908660888671875, -0.2177814096212387, 0.2939291298389435, -0.03150554746389389, -0.259229451417923, 0.7739005088806152, -0.7158041000366211, 0.6326304078102112, 0.1461278200149536, -0.39676880836486816, 0.3817019760608673, 0.25339457392692566, 0.33836400508880615, 0.37867581844329834, -0.1396012008190155, 0.13290885090827942, -0.06847194582223892, -0.4070078730583191, -0.6114400625228882, 0.892520546913147, -0.8108806610107422, -0.43125057220458984, -0.5284519195556641, -0.5797953009605408, -0.0838443860411644, 0.08612393587827682, 0.14417512714862823, 0.6968981623649597, 0.43649822473526, 0.015471757389605045, 0.6975746750831604, 0.2059740424156189, 0.5183521509170532, 0.6849390268325806, -0.532120406627655, -0.6098240613937378, 1.3488024473190308, 0.6179065108299255, 0.11796040087938309, -0.119123175740242, 0.29652661085128784, -0.4929503798484802, -0.2590484619140625, -0.5495198965072632, 0.4299810826778412, -0.6132856607437134, -0.3609299957752228, -0.46382084488868713, -0.4553733468055725, -0.2822205424308777, -0.2098562866449356, -0.5739568471908569, -0.4176103174686432, -0.2962644398212433, 0.20161829888820648, 0.08974968641996384, 0.5817853808403015, 0.10892898589372635, 0.20034681260585785, -0.5624239444732666, 0.00007542701496277004, 0.3232667148113251, 0.12503288686275482, 0.055538974702358246, -0.8083000183105469, -0.23733003437519073, 0.21912990510463715, -0.5366729497909546, -0.6298505067825317, 0.643489420413971, 0.07083981484174728, 0.1447402387857437, 0.3308110535144806, -0.09878560900688171, 1.1240952014923096, -0.21210946142673492, 0.5626521706581116, 0.14494642615318298, -1.1701489686965942, 0.40835824608802795, -0.13714109361171722, 0.18660086393356323, 0.3052505552768707, 0.17180489003658295, -0.2884635925292969, -0.2720467150211334, -0.8605135083198547, -0.4773576259613037, 0.9692714214324951, 0.323339581489563, -0.17133736610412598, 0.5415766835212708, 0.5051899552345276, 0.13219454884529114, 0.2954810857772827, -0.3816567361354828, -0.2744976282119751, -0.1528162807226181, -0.18848437070846558, -0.19732923805713654, 0.06394308805465698, 0.06680923700332642, -0.3915289640426636, 0.5744391083717346, -0.20050595700740814, 0.0417548343539238, -0.10844156891107559, -0.12470168620347977, -0.15550477802753448, -0.01617494411766529, 0.8217076659202576, 0.9520407319068909, -0.039266616106033325, 0.3183176815509796, 0.3605755567550659, -0.9448326230049133, 0.12995992600917816, 0.1550627052783966, -0.2578924596309662, 0.11720110476016998, -0.06493768841028214, 0.4272896349430084, -0.05203676596283913, -0.6925948262214661, 0.10934971272945404, -0.07998909801244736, -0.21083307266235352, -0.4377569854259491, 0.23179744184017181, -0.035606369376182556, -0.06340118497610092, 0.5427701473236084, 0.29636460542678833, 0.09930361807346344, -0.4740109443664551, -0.21513493359088898, 0.288587749004364, -0.24245381355285645, -0.4398970603942871, 0.5287570953369141, -0.2527565658092499, -0.6230469942092896, 0.18764907121658325, -0.13142460584640503, -0.6119426488876343, 1.1158065795898438, 0.799715518951416, 0.2481604367494583, -0.27268683910369873, 0.2369820922613144, 0.3053153455257416, 0.31520602107048035, -0.4910629093647003, 0.46487775444984436, 0.056528426706790924, -0.7663469910621643, -0.23287658393383026, -0.3982440233230591, -0.646533191204071, 0.14698699116706848, -0.9087598919868469, 0.37804126739501953, -0.6788126826286316, -0.3287903964519501, 0.0893329307436943, 0.473421573638916, -0.5035030245780945, 0.24259792268276215, -0.02815643884241581, 0.9777179956436157, -0.6014716029167175, 0.8857653141021729, 1.1222269535064697, -0.08403705060482025, -1.1750588417053223, -0.5998942255973816, 0.08005190640687943, -0.9158481359481812, 0.7172661423683167, 0.17907479405403137, -0.2955703139305115, 0.17328836023807526, -0.626541018486023, -0.8615142107009888, 0.9376636743545532, 0.5923447012901306, -0.4396096169948578, 0.13377995789051056, 0.3382601737976074, 0.5151935815811157, -0.5563047528266907, 0.5327514410018921, 0.582595705986023, 0.16520041227340698, 0.2346755862236023, -0.8545315265655518, -0.1943848729133606, -0.21605771780014038, 0.2214249223470688, 0.4512801766395569, -0.8450508117675781, 1.1128711700439453, -0.14814165234565735, -0.1564764827489853, -0.07555660605430603, 0.6692646741867065, 0.7961275577545166, 0.6698629856109619, 0.5279158353805542, 0.7027464509010315, 0.7917516231536865, -0.1353394240140915, 0.5095920562744141, -0.22274178266525269, 0.5755264163017273, 0.8462170958518982, -0.248309925198555, 0.6514338850975037, 0.2519320547580719, -0.17765170335769653, 0.047802310436964035, 0.8145597577095032, 0.36874741315841675, 0.37952759861946106, 0.3640082776546478, -0.3892779052257538, -0.4353134334087372, -0.19278647005558014, -0.5679746270179749, 0.4668934941291809, 0.7516077756881714, -0.002659785095602274, -0.5197156667709351, -0.04810306802392006, 0.02250274457037449, 0.10454034060239792, -0.7736297249794006, 0.40676987171173096, 0.6032531261444092, -0.5835466384887695, 0.5950092673301697, 0.3247245252132416, 0.5105591416358948, -0.6004478931427002, -0.10361994802951813, -0.3690079152584076, 0.3161243498325348, -0.1286921203136444, -0.4816800653934479, 0.1606484204530716, -0.048645805567502975, -0.01310484204441309, -0.2579033374786377, 0.9756805896759033, -0.5728471279144287, -0.5076611042022705, -0.04881540685892105, 0.33605703711509705, 0.09762220829725266, 0.031974732875823975, -0.6799196004867554, 0.08872418850660324, -0.37889933586120605, 0.17821547389030457, 0.5595143437385559, 0.47057756781578064, -0.08081568032503128, 1.0268796682357788, 0.87867671251297, 0.42577075958251953, 0.06305589526891708, -0.09788065403699875, 1.1606982946395874, -0.47254693508148193, -0.6379822492599487, -0.8703733086585999, -0.025615205988287926, 0.07708926498889923, -0.5414494872093201, 0.970763087272644, 0.775871217250824, 0.9858629703521729, 0.0814838781952858, 0.3565436899662018, 0.385658323764801, 0.31799355149269104, -0.39763131737709045, 0.5569366216659546, -0.4553698003292084, 0.4265124797821045, -0.09368448704481125, -1.0713177919387817, -0.06705991178750992, 0.8290172815322876, -0.4010009169578552, -0.14019902050495148, 0.5288382768630981, 0.7251838445663452, -0.02799299731850624, 0.4459571838378906, 0.4357239305973053, -0.46188676357269287, 0.38148242235183716, 0.832593560218811, 0.9032216668128967, -0.5699204206466675, 0.5773823261260986, -0.21283461153507233, -0.30952250957489014, -0.08290143311023712, -0.5124155282974243, -1.1101486682891846, -0.1139136403799057, -0.09622859209775925, -0.5845682621002197, -0.06355942040681839, 1.0080159902572632, 0.5881620049476624, -0.4612239897251129, -0.5343151092529297, -0.03482643514871597, 0.20025455951690674, -0.2907829284667969, -0.16906902194023132, 0.30404049158096313, -0.4019928276538849, -0.8148972392082214, 0.3423798084259033, 0.38213062286376953, 0.028535889461636543, -0.2516515851020813, -0.11448103934526443, 0.6939338445663452, 0.3468209505081177, 0.5607265830039978, 0.27271023392677307, -0.4311719536781311, 0.08882730454206467, 0.24582205712795258, -0.37744131684303284, -0.05069249868392944, 0.9333773255348206, -0.6829298138618469, 0.45422741770744324, 0.2812574803829193, 0.7471055388450623, 0.6762803196907043, 0.09150301665067673, 0.2743821144104004, -0.1958034783601761, 0.1046876311302185, 0.24117493629455566, 0.29997339844703674, -0.13599376380443573, -0.16704441606998444, 0.5749263167381287, 0.3452061414718628, -0.4188889265060425, -0.9618198871612549, 0.06218097731471062, -0.8013972640037537, 0.0719153955578804, 0.896914541721344, -0.15372878313064575, -0.38871172070503235, -0.14248934388160706, -0.34294798970222473, -0.1938723623752594, -0.7872508764266968, 0.9833598136901855, 0.6425307393074036, 0.16003072261810303, -0.012192449532449245, -0.45014166831970215, 0.41458433866500854, 0.7205410003662109, -0.8108055591583252, -0.4645034670829773, 0.06424412131309509, 0.07329115271568298, 0.2521616220474243, 0.5220199227333069, -0.25521257519721985, 0.276945024728775, 0.02084178477525711, -0.2275187224149704, -0.46449995040893555, -0.4788760542869568, -0.27562692761421204, 0.4394877552986145, -0.12104558199644089, -0.1870657056570053 ]
http://arxiv.org/abs/2402.11131v1
http://arxiv.org/pdf/2402.11131v1
Speculative Streaming: Fast LLM Inference without Auxiliary Models
2024-02-16T23:36:43
2024-02-16T23:36:43
Nikhil Bhendawade, Irina Belousova, Qichen Fu, Henry Mason, Mohammad Rastegari, Mahyar Najibi
cs.CL
cs.CL, cs.AI, cs.LG
Speculative decoding is a prominent technique to speed up the inference of a large target language model based on predictions of an auxiliary draft model. While effective, in application-specific settings, it often involves fine-tuning both draft and target models to achieve high acceptance rates. As the number of downstream tasks grows, these draft models add significant complexity to inference systems. We propose Speculative Streaming, a single-model speculative decoding method that fuses drafting into the target model by changing the fine-tuning objective from next token prediction to future n-gram prediction. Speculative Streaming speeds up decoding by 1.8 - 3.1X in a diverse set of tasks, such as Summarization, Structured Queries, and Meaning Representation, without sacrificing generation quality. Additionally, Speculative Streaming is parameter-efficient. It achieves on-par/higher speed-ups than Medusa-style architectures while using ~10000X fewer extra parameters, making it well-suited for resource-constrained devices.
[ -0.3241843283176422, -0.6710733771324158, 0.579135000705719, 0.25709137320518494, -0.6184144616127014, 0.3713627755641937, 0.003479019971564412, -0.5206284523010254, 0.6975607872009277, 0.8490820527076721, -0.8968837857246399, -0.19811277091503143, -0.6140450835227966, -0.08578095585107803, -0.7605400085449219, 0.42058345675468445, 0.05899898707866669, -0.20916670560836792, 0.05337662249803543, 0.40098780393600464, 0.11607455462217331, -0.40170902013778687, -0.9333926439285278, 0.13155019283294678, 0.678657591342926, 0.40790462493896484, 0.49103134870529175, 1.0065613985061646, 0.34326446056365967, 0.26284298300743103, 0.05911019444465637, 0.44804009795188904, -0.8956398963928223, 0.29018786549568176, 0.19993849098682404, -0.6873562932014465, -0.5639135241508484, -0.04856298491358757, 0.7759511470794678, 0.5107443332672119, 0.08087863773107529, 0.2617247402667999, -0.23223498463630676, 0.7546190619468689, -1.0515527725219727, -0.059793055057525635, -0.8573508262634277, -0.08469761908054352, -0.6180211305618286, -0.7688936591148376, -0.7606207132339478, -0.16991396248340607, -0.21166600286960602, -0.6892075538635254, 0.5705600380897522, 0.44793909788131714, 0.5741018652915955, 0.5206971764564514, -0.4071071743965149, 0.26380661129951477, -0.8764734864234924, 0.5801284909248352, -0.8429776430130005, 0.48731881380081177, 0.545902669429779, 0.2727939784526825, -0.07393931597471237, -0.9313156604766846, -0.5338016152381897, 0.006034640595316887, 0.22286918759346008, 0.29095473885536194, 0.08044026046991348, 0.24229952692985535, 0.28927081823349, 0.24747060239315033, -0.37907302379608154, 0.19693531095981598, -0.4191248118877411, -0.25781020522117615, 0.8523266911506653, 0.45106247067451477, -0.27369824051856995, 0.15003110468387604, -0.23381786048412323, 0.2942376434803009, -0.6427898406982422, -0.1444137692451477, 0.7226898670196533, 0.28781139850616455, -0.2784879505634308, 0.4107969403266907, -0.5766080021858215, 0.6268846988677979, 0.20564039051532745, -0.03896817937493324, -0.07782857120037079, -0.17522265017032623, -0.1589818149805069, 0.084321990609169, 0.47659769654273987, 0.23638562858104706, -0.254011332988739, -0.18960964679718018, -0.06282882392406464, 0.3745823800563812, 0.20902808010578156, -0.7743858695030212, -0.1539800763130188, 0.47612982988357544, -0.6125841736793518, -0.31878310441970825, -0.29188695549964905, -0.7060022950172424, -0.29055631160736084, -0.1277470737695694, -0.1745910793542862, -0.5222834944725037, -0.313789963722229, 0.3440802991390228, -0.3919578492641449, 0.16725578904151917, 0.33372917771339417, -1.211240291595459, 0.2901317775249481, 0.7125710844993591, 0.8087783455848694, -0.35731083154678345, -0.2815788984298706, -0.8486012816429138, 0.30591103434562683, -0.45670658349990845, 1.341853141784668, -0.5280835628509521, -0.4136257469654083, -0.13181257247924805, -0.3494609296321869, -0.05069729685783386, 0.0031332182697951794, 1.063706398010254, -0.8966039419174194, -0.4622332453727722, -0.21162769198417664, -1.087113380432129, -0.1622297763824463, -0.047583721578121185, -0.6851140856742859, 0.6787752509117126, -0.13055752217769623, -0.796856164932251, 0.5786082148551941, -0.20028744637966156, -0.2700488865375519, 0.2818000912666321, 0.17108429968357086, 0.3411162197589874, 0.3128872215747833, 0.17167887091636658, 0.5399187803268433, -0.2918296754360199, 0.04247422143816948, -0.7819182872772217, -0.7942620515823364, 0.02279757149517536, -0.9985952973365784, 0.18342527747154236, 0.5843890309333801, 0.29987215995788574, 0.06218880042433739, -0.6188868284225464, 0.14223939180374146, -0.1295810490846634, -0.3971555829048157, -0.11093780398368835, 0.4702048599720001, 0.20693884789943695, -0.03270778805017471, -0.09851184487342834, -0.5111444592475891, 0.36382707953453064, -0.4464667737483978, 0.33877190947532654, 0.6927151083946228, -0.05206506326794624, 0.4258650243282318, -0.2473306655883789, 0.591854453086853, -0.2757258415222168, 0.0461471863090992, -0.3875062167644501, -0.3962417244911194, -0.7079899907112122, -0.5428624749183655, 0.3704890310764313, 0.3105071187019348, -1.0354818105697632, 0.004324048291891813, -0.2633803188800812, -0.5373678803443909, -0.6260151863098145, 0.044335782527923584, 0.09299574047327042, 0.3662252426147461, 0.22937047481536865, 0.33702442049980164, -0.701922595500946, -0.7373377084732056, -0.4374760091304779, -0.12815028429031372, 0.1768413782119751, -0.035776786506175995, -0.20332850515842438, -0.16046011447906494, 0.3925613462924957, -0.5072253346443176, 0.33370286226272583, -0.4348400831222534, 0.22405897080898285, 0.3121024966239929, 0.38013389706611633, 0.5068473815917969, -0.5956106781959534, -0.3844958245754242, -0.22831080853939056, -0.5774469375610352, -0.010009996592998505, -0.24051862955093384, -0.2661134600639343, 0.1992977410554886, 0.7819667458534241, -0.6789463758468628, 0.25796613097190857, 0.7693001627922058, -0.5077956318855286, 0.6787996292114258, -0.21897125244140625, 0.16478608548641205, -0.890845775604248, -0.33119744062423706, -0.1259189397096634, -0.09493942558765411, -0.6786448359489441, 0.344714879989624, 0.17360854148864746, 0.05761396139860153, -0.5942005515098572, 0.7228562235832214, -0.37135425209999084, 0.33909568190574646, -0.6214046478271484, -0.27276942133903503, -0.13058869540691376, 0.12768171727657318, 0.2653002440929413, 0.6599668264389038, 0.7642726898193359, -0.6302970051765442, 0.0884314626455307, -0.29284921288490295, -0.07966803759336472, -0.2680140733718872, -0.3467540740966797, 0.17682060599327087, -0.08131109178066254, 0.3927435576915741, -0.869417667388916, -0.3427174389362335, 0.08496882766485214, -0.20776736736297607, 0.309340238571167, -0.25822561979293823, -0.4078512489795685, -0.5210698843002319, -0.21334533393383026, 0.5177265405654907, 0.392204612493515, -0.4066292643547058, 0.8231558799743652, 0.1491939127445221, 0.04408885911107063, -0.662585973739624, -0.6605978608131409, -0.022728897631168365, -0.07664058357477188, -0.7340000867843628, 0.5062414407730103, 0.052126627415418625, -0.014185996726155281, 0.0402226485311985, -0.2965647280216217, -0.13309748470783234, -0.03925381228327751, 0.09590446203947067, 0.4538533687591553, -0.3902771472930908, -0.2677597999572754, 0.5218413472175598, -0.46591413021087646, -0.054120659828186035, -0.5385626554489136, 0.40270501375198364, 0.21476566791534424, -0.3490302562713623, -0.4497832953929901, 0.7289228439331055, 0.5404382348060608, 0.16590823233127594, 0.45467957854270935, 0.6874973177909851, -0.22260063886642456, -0.4302149713039398, -0.8781392574310303, -0.26120078563690186, -0.542935848236084, 0.04453631490468979, -0.6232470273971558, -0.9799225330352783, 0.5955348610877991, -0.03144516795873642, 0.11288971453905106, 0.3595845699310303, 0.341117262840271, -0.1899687647819519, 0.8845524787902832, 0.6357921361923218, 0.00028391825617291033, 0.3139956593513489, -0.3044233024120331, 0.10103766620159149, -0.4555601179599762, 0.06636784970760345, -0.297650009393692, -0.4007757008075714, -0.3662744164466858, -0.7458482384681702, -0.08318676054477692, 0.12172751128673553, 0.3346084952354431, 0.05993753299117088, 0.042585283517837524, 0.5483192801475525, 0.6200914978981018, 0.1661972999572754, 0.4338122308254242, -0.043684542179107666, -0.1366647481918335, 0.05108121410012245, -0.8497274518013, -0.34640833735466003, 1.3068220615386963, 0.15640003979206085, 0.9241830706596375, -0.09684210270643234, 0.6707596778869629, 0.5168830156326294, 0.290372371673584, -0.7939910888671875, 0.6000968813896179, -0.3860187828540802, -0.5954529643058777, -0.07236689329147339, -0.28316590189933777, -0.5169092416763306, 0.3843575417995453, -0.5142974853515625, -0.7195268273353577, 0.2129228115081787, 0.5472656488418579, -0.5952397584915161, 0.6461487412452698, -0.9721227884292603, 0.37325000762939453, 0.16209954023361206, -0.609819769859314, -0.6138134002685547, -0.14201056957244873, 0.9658023118972778, -0.09855200350284576, -0.11151600629091263, -0.3781011998653412, -0.2481597512960434, 0.48518291115760803, -0.48702532052993774, 0.5983344912528992, -0.10246666520833969, 0.12520615756511688, 0.4199829697608948, 0.31862789392471313, 0.7026827931404114, 0.2611473798751831, -0.3999442160129547, 0.1628797948360443, 0.26772916316986084, -0.6663796901702881, -0.6959512829780579, 0.5749333500862122, -0.4957274794578552, -0.7612249851226807, -0.3330089747905731, -0.6573525071144104, -0.42906248569488525, 0.05300357565283775, 0.5523194074630737, 0.3886203169822693, -0.03610868752002716, -0.23132117092609406, 0.546639621257782, 0.31030842661857605, 0.6179400682449341, 0.46938005089759827, -0.14643409848213196, 0.11817193776369095, 0.8851597309112549, -0.16343232989311218, 0.32836952805519104, 0.5389867424964905, -0.12741735577583313, -0.4751427471637726, -1.2484002113342285, -0.33033809065818787, 0.1510266810655594, -0.4699994921684265, -0.07298792153596878, -0.893326461315155, -0.19125740230083466, -0.3462061285972595, -0.34602952003479004, -0.5181641578674316, -0.4301679730415344, -0.28504398465156555, -0.24344800412654877, 0.4443618655204773, 0.2811512053012848, -0.08326274901628494, 0.4454686939716339, -1.0543522834777832, 0.5205111503601074, -0.06873620301485062, 0.32388684153556824, 0.04526872932910919, -0.7641167640686035, -0.19742117822170258, -0.16758552193641663, 0.046034619212150574, -0.6989907622337341, 0.6000312566757202, -0.00410076417028904, 0.5563295483589172, 0.9914012551307678, 0.13566896319389343, 0.9145217537879944, -0.5664160251617432, 0.4965555965900421, -0.04876890406012535, -0.7933008074760437, 0.22883924841880798, -0.5444754958152771, 0.2986876666545868, 0.5378278493881226, 0.3957986831665039, -0.3986871838569641, -0.42386242747306824, -0.3998972475528717, -0.8404795527458191, 0.7724770307540894, -0.10428476333618164, 0.19119931757450104, -0.056459009647369385, 0.42508387565612793, 0.40300923585891724, -0.14099830389022827, 0.037138476967811584, -0.2900337874889374, 0.025564422830939293, 0.2574896216392517, -0.33045703172683716, -0.6572946310043335, 0.36739382147789, -0.393614798784256, 0.6744198203086853, -0.3458642363548279, 0.4258461892604828, -0.09510043263435364, 0.24434813857078552, -0.13498425483703613, 0.033380452543497086, 0.4703696072101593, 0.31130680441856384, -0.5952052474021912, 0.1620771735906601, 0.0707121267914772, -0.6060175895690918, 0.10354412347078323, 0.16043944656848907, -0.299841970205307, 0.047082651406526566, 0.492249459028244, 0.9248728156089783, 0.31817588210105896, -0.6879726052284241, -0.09759647399187088, -0.314233660697937, -0.47590675950050354, -0.06458096951246262, 0.2941509783267975, 0.25965073704719543, 0.21566557884216309, 0.5722654461860657, 0.6622331738471985, 0.42624303698539734, -0.2956954538822174, 0.17842866480350494, 0.2617170214653015, -0.0077963583171367645, -0.27450668811798096, 0.7944685220718384, 0.27499404549598694, 0.03665164113044739, 0.5014669299125671, -0.466793030500412, 0.12854531407356262, 0.39512065052986145, 0.644240140914917, 1.0573318004608154, 0.10836442559957504, 0.06997640430927277, 0.28913456201553345, 0.13128383457660675, -0.1279708445072174, 0.5542019605636597, -0.07325422018766403, -0.8456264734268188, -0.9681344032287598, -0.8003576397895813, -0.33403873443603516, -0.12009620666503906, -0.5725263357162476, 0.12153730541467667, -0.4529758095741272, -0.21025048196315765, 0.10734167695045471, -0.22609341144561768, -0.5682368278503418, -0.1460295468568802, 0.4716668725013733, 1.5532854795455933, -0.5805534720420837, 1.2565120458602905, 0.25978827476501465, 0.13649393618106842, -0.9385181069374084, 0.18279406428337097, 0.27876079082489014, -0.6111375093460083, 0.5485631823539734, -0.07240164279937744, -0.31734853982925415, 0.2238427847623825, -0.24322457611560822, -1.2898626327514648, 0.9078890085220337, 0.6167464256286621, -0.6733879446983337, -0.32635384798049927, -0.3025062084197998, 0.24940542876720428, -0.41366952657699585, 0.4997800588607788, 0.5283857583999634, 0.3253653645515442, 0.5469582676887512, -0.30864301323890686, 0.12489654123783112, -0.2836872637271881, 0.04141661152243614, 0.13811525702476501, -0.6309010982513428, 0.7848435044288635, -0.37571755051612854, -0.37180274724960327, 0.1910070925951004, 1.0078716278076172, 0.20008349418640137, 0.2441994845867157, 0.2828649878501892, 0.3555527329444885, 0.9226049184799194, -0.05711303651332855, 1.3790819644927979, -0.41488075256347656, -0.05725850537419319, 1.0996859073638916, -0.37977221608161926, 1.1633293628692627, 0.6496350169181824, -0.05823489651083946, 0.2588197886943817, 0.8714520335197449, 0.40675389766693115, 0.6435513496398926, -0.13008315861225128, -0.5600984692573547, -0.6725452542304993, 0.014367254450917244, -0.32132256031036377, 0.46812811493873596, 0.6941009759902954, -0.07548650354146957, -0.24128106236457825, -0.28316599130630493, -0.4308810830116272, -0.0877801775932312, -0.6308097243309021, 0.31866365671157837, 0.1223781555891037, -0.6554598808288574, 0.7362739443778992, 0.16270054876804352, 0.9469757676124573, -0.8140823841094971, 0.23831073939800262, -0.23388245701789856, 0.13452884554862976, -0.1328907310962677, -0.416757196187973, 0.5123535394668579, -0.12625932693481445, -0.3056255280971527, -0.17379547655582428, 0.81246018409729, -0.04606401175260544, -0.7525308132171631, 0.3898870050907135, 0.6266941428184509, 0.10431064665317535, -0.2152196168899536, -0.4705050587654114, 0.35578688979148865, -0.1753939390182495, -0.2716251015663147, 0.13999269902706146, 0.3323959410190582, 0.1472206860780716, 0.9211026430130005, 1.1000031232833862, 0.33199894428253174, 0.35631126165390015, 0.11392393708229065, 0.9110732674598694, -0.7788781523704529, -0.747005820274353, -0.8881985545158386, 0.34992262721061707, 0.14489740133285522, -0.25580283999443054, 0.7584378123283386, 0.4136301577091217, 0.5231314897537231, -0.2833373546600342, 0.7318934202194214, 0.1602656990289688, 0.27625903487205505, -0.9490740895271301, 0.48942428827285767, -0.32499590516090393, 0.24582664668560028, 0.02147047221660614, -0.574505090713501, -0.05172291398048401, -0.17012520134449005, -0.2765100598335266, -0.35217761993408203, 0.8313069343566895, 0.7422670722007751, -0.22097833454608917, 0.5442955493927002, 0.5016810297966003, 0.10036588460206985, -0.14265960454940796, 0.5097154378890991, 0.9426019191741943, -0.2227541208267212, 0.31477174162864685, -0.28202173113822937, -0.10053843259811401, -0.31953078508377075, -0.9604330658912659, -0.8372392058372498, -0.2851344645023346, -0.16588474810123444, -0.22048166394233704, 0.14425522089004517, 0.7952442765235901, 1.025244951248169, -0.6792364716529846, -0.253000944852829, -0.13475841283798218, 0.010604015551507473, -0.5902068614959717, -0.22402824461460114, 0.10077446699142456, -0.45621737837791443, -0.6702674627304077, 0.8210455775260925, 0.4109828472137451, -0.1783139854669571, -0.1282409429550171, -0.07320871204137802, -0.24118733406066895, 0.38548359274864197, 0.6302146315574646, 0.38375282287597656, -0.870259702205658, 0.13687822222709656, -0.014731611125171185, 0.22357586026191711, -0.32718154788017273, 1.1574862003326416, -0.8233448266983032, 0.22232985496520996, 0.5794658660888672, 0.7978324890136719, 1.1323738098144531, -0.00783955305814743, 0.6250256299972534, -0.3334469199180603, 0.6225681304931641, 0.3130713105201721, 0.48966237902641296, -0.282745361328125, -0.6914557218551636, 0.1426435112953186, 0.4141625761985779, -0.10930493474006653, -0.6501978635787964, 0.18008877336978912, -1.1769037246704102, -0.3476412892341614, 0.921922504901886, -0.005775391589850187, -0.28488659858703613, -0.1612454503774643, -0.014331272803246975, 0.038822803646326065, -0.7213854193687439, 0.5485572814941406, 0.4085337817668915, -0.22320912778377533, -0.283175528049469, -0.6784977912902832, 0.4782170057296753, 0.2817957103252411, -0.5568497180938721, 0.21639634668827057, 0.4606093168258667, -0.03303907439112663, -0.19091127812862396, 0.9479950666427612, 0.2883456349372864, 0.2993440628051758, 0.6522087454795837, -0.4141171872615814, -0.17932479083538055, -0.2817041873931885, 0.02746257372200489, 0.343545138835907, 0.006514299660921097, 0.12092816829681396 ]
http://arxiv.org/abs/2402.11129v1
http://arxiv.org/pdf/2402.11129v1
BlendFilter: Advancing Retrieval-Augmented Large Language Models via Query Generation Blending and Knowledge Filtering
2024-02-16T23:28:02
2024-02-16T23:28:02
Haoyu Wang, Tuo Zhao, Jing Gao
cs.CL
cs.CL
Retrieval-augmented Large Language Models (LLMs) offer substantial benefits in enhancing performance across knowledge-intensive scenarios. However, these methods often face challenges with complex inputs and encounter difficulties due to noisy knowledge retrieval, notably hindering model effectiveness. To address this issue, we introduce BlendFilter, a novel approach that elevates retrieval-augmented LLMs by integrating query generation blending with knowledge filtering. BlendFilter proposes the blending process through its query generation method, which integrates both external and internal knowledge augmentation with the original query, ensuring comprehensive information gathering. Additionally, our distinctive knowledge filtering module capitalizes on the intrinsic capabilities of the LLM, effectively eliminating extraneous data. We conduct extensive experiments on three open-domain question answering benchmarks, and the findings clearly indicate that our innovative BlendFilter surpasses state-of-the-art baselines significantly.
[ -0.6541908383369446, -0.9535317420959473, 0.677971601486206, -0.04115796834230423, -0.24950799345970154, 0.5429508090019226, -0.16469615697860718, -0.5395956635475159, 0.1950509399175644, 0.961516261100769, -0.6391215324401855, -0.31010791659355164, -0.48147520422935486, -0.2733340561389923, -0.6178660988807678, 0.5585967302322388, 0.06133152171969414, 0.09473177045583725, -0.5835757255554199, -0.12585976719856262, -0.47485312819480896, -0.4217040240764618, -0.7258912920951843, -0.7062775492668152, 0.30379194021224976, 0.04306449368596077, 0.6589140295982361, -0.07195446640253067, 0.14971622824668884, 0.2945542633533478, -0.29792580008506775, 0.7220738530158997, -0.7696489095687866, 0.6446983814239502, -0.24121513962745667, -0.6282761096954346, -0.13298383355140686, -0.30863407254219055, 0.6492623090744019, 0.824381411075592, -0.3604254424571991, -0.17059023678302765, 0.0805467814207077, 0.6051624417304993, -0.9427483081817627, -0.1518247276544571, -1.0583611726760864, -0.017851218581199646, -0.08772971481084824, -0.28563955426216125, -0.23864927887916565, -0.31634238362312317, -0.0765388086438179, -0.5297017097473145, 0.14420083165168762, 0.49473583698272705, 0.5080667734146118, 0.13244280219078064, -0.3762555420398712, 0.12833762168884277, -0.7014015316963196, 0.7137764692306519, -0.6413663625717163, 0.5537201166152954, 0.511108934879303, 0.637643575668335, -0.5366227030754089, -0.9298346042633057, -0.7748478651046753, 0.12552522122859955, -0.0340425968170166, 0.1858208179473877, -0.10515105724334717, 0.05876646190881729, 0.02096579596400261, 0.5688199996948242, -0.4693187475204468, -0.15050184726715088, -0.20722894370555878, -0.2255590558052063, 0.4900224506855011, 0.08085201680660248, 0.15945570170879364, 0.2119584083557129, -0.15441715717315674, 0.16612638533115387, -0.7605490684509277, -0.22121460735797882, 0.17717011272907257, 0.2567553222179413, 0.5403604507446289, 0.5946701765060425, -0.6220574378967285, 0.9789028167724609, 0.014525758102536201, -0.07645196467638016, -0.23199379444122314, -0.43896403908729553, -0.33422577381134033, -0.2458152174949646, 0.5108439922332764, 0.13936981558799744, 0.006663052830845118, -0.22557884454727173, -0.43567463755607605, -0.6387278437614441, 0.11200316995382309, -0.9806177020072937, -0.26175153255462646, 0.02334790676832199, -0.13323314487934113, -0.17195798456668854, 0.10392376780509949, -0.8545417189598083, -0.6825045347213745, -0.19603998959064484, 0.6214667558670044, -0.09247832000255585, -0.3840538561344147, 0.3031028211116791, -0.18896162509918213, 0.31067681312561035, 0.39250245690345764, -0.44127580523490906, 0.4212453365325928, 0.7838992476463318, 0.569518506526947, -0.351101279258728, 0.2627546191215515, -0.8228652477264404, 0.23403117060661316, -0.18325898051261902, 0.914539635181427, -0.8351126909255981, -0.5715445876121521, 0.1726335883140564, -0.3873614966869354, -0.03256404399871826, -1.040199637413025, 0.35678091645240784, -1.4168274402618408, 0.3447900712490082, -0.04648713022470474, -0.7501391768455505, -0.2584299147129059, 0.360319584608078, -0.5869516134262085, 1.4319368600845337, 0.16781871020793915, -0.42980584502220154, 0.19129179418087006, -0.2704639136791229, -0.5541525483131409, 0.5136498212814331, -0.13188685476779938, 0.1384097933769226, -0.044778287410736084, 0.36690187454223633, 0.04830920696258545, -0.8300087451934814, 0.3592648506164551, -0.4014001190662384, -0.236243337392807, 0.22875240445137024, -0.2810860872268677, 0.5830725431442261, 0.26096001267433167, 0.19218622148036957, 0.02209698036313057, -0.5312027335166931, 0.3365134000778198, 0.07387743145227432, -0.34091249108314514, -0.43149426579475403, -0.01359974592924118, -0.004315638914704323, 0.08801376819610596, 0.2675464153289795, -0.6146994233131409, -0.1090785339474678, -0.3620591163635254, 0.3477587401866913, 0.47689002752304077, 0.4219492971897125, 0.337248831987381, -0.4543168842792511, 0.719941258430481, 0.05427907034754753, 0.03626302257180214, -0.15567462146282196, -0.6926180124282837, -0.7531190514564514, -0.2798026204109192, 0.1606016457080841, 0.35621652007102966, -1.1397556066513062, 0.33653247356414795, -0.10880545526742935, -0.3763473331928253, -0.6109694838523865, 0.48206305503845215, 0.03377167508006096, 0.6966171860694885, 0.4915079176425934, -0.24807673692703247, -0.3926449716091156, -0.6091055274009705, -0.5912531614303589, -0.05234237760305405, -0.13515721261501312, 0.5141605138778687, 0.19193236529827118, -0.08386588096618652, 1.0820785760879517, -0.9741904735565186, -0.06620942056179047, -0.23902569711208344, -0.22094354033470154, 0.35038071870803833, 0.20921988785266876, 0.289418488740921, -1.1222764253616333, -0.43663033843040466, 0.15122967958450317, -0.33749333024024963, -0.20866769552230835, 0.4416176676750183, -0.5773762464523315, -0.161681666970253, 0.6907238960266113, -0.5648141503334045, 0.12037375569343567, 0.2937386631965637, -0.30378660559654236, 0.3807811141014099, -0.11899661272764206, 0.36425554752349854, -0.8983138799667358, 0.10124574601650238, -0.24596582353115082, -0.5817071795463562, -0.4643303155899048, 0.2988622784614563, -0.041589610278606415, -0.1246754452586174, -0.2979485094547272, 0.8963645100593567, -0.21899326145648956, 0.1964758336544037, -0.35035789012908936, 0.2923164963722229, 0.5977466106414795, 0.16697265207767487, -0.27551618218421936, 0.7728145718574524, 0.24164427816867828, -0.5787375569343567, 0.4563134014606476, 0.09834843128919601, -0.5075408220291138, 0.7079875469207764, -0.47866329550743103, 0.0675109326839447, -0.1938377171754837, 0.29647937417030334, -1.2264289855957031, -0.24812236428260803, -0.07143814861774445, -0.21250194311141968, 0.2981134057044983, -0.319232702255249, -0.6496089100837708, -0.3832768499851227, -0.21996819972991943, 0.49204596877098083, 0.6594451665878296, -0.7136951088905334, 0.9762914776802063, 0.4247901737689972, -0.1682659089565277, -0.3501184582710266, -0.5199763178825378, -0.025900190696120262, -0.11110131442546844, -0.8020603656768799, 0.3835158348083496, -0.38226577639579773, -0.052218761295080185, -0.05925234034657478, -0.30445995926856995, -0.5244135856628418, 0.0409202054142952, -0.2060985118150711, 0.23865684866905212, -0.3205808997154236, 0.03241043537855148, 0.24108609557151794, 0.5437295436859131, 0.025325309485197067, -0.42737194895744324, 0.7104116082191467, 0.495738685131073, -0.4687598645687103, 0.10942494869232178, 0.4412032961845398, 0.6121752262115479, -0.4913688004016876, 0.8598597645759583, 0.5072889924049377, -0.42395731806755066, -0.5455543398857117, -0.9471898674964905, -0.31979307532310486, -0.5374706983566284, 0.3516014516353607, -0.4650629162788391, -1.3226560354232788, 0.3977920711040497, -0.060079872608184814, -0.05607745796442032, 0.2744072675704956, 0.34907349944114685, -0.12628711760044098, 0.9942505955696106, 0.25223204493522644, 0.08077981323003769, 0.5838754773139954, 0.11386359483003616, 0.3275807797908783, -0.9009081125259399, -0.43152526021003723, -0.542600154876709, -0.15577657520771027, -0.2487296313047409, -0.7236590385437012, 0.5344843864440918, 0.20016418397426605, -0.1394127756357193, -0.24422985315322876, -0.1601373255252838, 0.7414781451225281, 0.5706185102462769, 0.4059680104255676, 0.6640788912773132, 0.15067078173160553, -0.2718650698661804, 0.1261945515871048, -0.7693648934364319, 0.1526961326599121, 1.0811721086502075, -0.15249823033809662, 0.8642300963401794, 0.013981997035443783, 0.4899575710296631, 0.187140092253685, 0.057642899453639984, -0.6278042197227478, 0.629515528678894, -0.15462525188922882, -0.6822929978370667, 0.00719549972563982, -0.5742156505584717, -0.7143262624740601, 0.769253134727478, -0.4001332223415375, -0.38671398162841797, -0.04127342626452446, 0.10303878784179688, -0.19340692460536957, 0.43609148263931274, -0.6102365851402283, 0.5043091773986816, -0.20248854160308838, -0.4096115827560425, -0.34313756227493286, -0.22832365334033966, 0.583946168422699, -0.28158217668533325, 0.1994357407093048, -0.1151452586054802, 0.0017928583547472954, 0.46921196579933167, -0.27527981996536255, 0.5805540680885315, -0.15496021509170532, -0.022503744810819626, 0.4511806070804596, 0.21429166197776794, 0.3956961929798126, -0.04882100597023964, -0.3047707974910736, -0.20460830628871918, -0.08039410412311554, -0.288434237241745, -0.7817462086677551, 0.8078123927116394, -0.2490740269422531, -0.8616998791694641, -0.08717691153287888, -0.7019668221473694, -0.5313058495521545, 0.4577282667160034, -0.07590661197900772, 0.2613722085952759, -0.1810780018568039, 0.290520042181015, 0.9249648451805115, -0.22912000119686127, 0.03363645821809769, 0.6836804747581482, -0.6224973797798157, -0.5164624452590942, 0.8618485927581787, 0.042647071182727814, 0.4789198935031891, 0.4544919431209564, 0.12728367745876312, -0.40952616930007935, -0.6599671840667725, -0.16503570973873138, 0.3267067074775696, -0.5996893644332886, -0.3286587595939636, -0.6551720499992371, -0.4007090628147125, -0.49477067589759827, 0.22903060913085938, -0.09652085602283478, -0.40454602241516113, -0.01398051343858242, 0.26808637380599976, 0.3641522228717804, 0.4976080060005188, 0.43107080459594727, 0.23714052140712738, -0.7491711974143982, 0.5950183868408203, 0.4580811858177185, 0.5207921266555786, -0.034979771822690964, -0.6861655712127686, -0.14057210087776184, 0.015692250803112984, -0.35747212171554565, -0.5031388998031616, 0.22827857732772827, 0.5310105085372925, 0.7010722160339355, 0.1317441761493683, 0.30775272846221924, 0.8464949727058411, -0.4131889343261719, 0.7684735655784607, -0.003022541990503669, -0.5024234652519226, 0.5261063575744629, -0.10153356939554214, 0.5995043516159058, 0.6905495524406433, 0.23654760420322418, -0.3340260982513428, -0.47159552574157715, -0.27439695596694946, -1.0339024066925049, 0.5398735404014587, 0.06596418470144272, 0.04488900303840637, 0.15905800461769104, 0.4549037516117096, 0.009436838328838348, 0.5197693705558777, -0.234543114900589, -0.2167282998561859, 0.14344942569732666, -0.2307640165090561, 0.24497103691101074, -0.1958455890417099, -0.31932616233825684, -0.3354703485965729, 0.8682427406311035, -0.07126233726739883, -0.02574227750301361, -0.03913053125143051, -0.30805736780166626, -0.26918020844459534, 0.06485426425933838, 0.1468711495399475, 0.4379647672176361, -0.04779154434800148, -0.022804586216807365, 0.03903988376259804, -0.3955056965351105, -0.24840977787971497, 0.31523051857948303, -0.44167134165763855, -0.20117981731891632, 0.05666440352797508, 0.6555659174919128, 0.19078747928142548, -0.935545027256012, 0.2968539297580719, -0.06748268008232117, 0.010731944814324379, 0.016607195138931274, 0.5486041307449341, 0.18361902236938477, 0.24050641059875488, 0.5558009147644043, -0.1295345574617386, 0.4931260943412781, -0.45737236738204956, 0.16691024601459503, 0.7557673454284668, -0.11991049349308014, -0.005761086940765381, 0.7955087423324585, 0.1629597693681717, 0.06746313720941544, 0.5134087204933167, 0.1483210176229477, -0.6201725006103516, 0.243234783411026, 0.5596879124641418, 0.6973005533218384, -0.21819914877414703, 0.05400652438402176, 0.275957852602005, 0.15516455471515656, -0.08349644392728806, 0.40328389406204224, -0.4372336268424988, -0.7788243889808655, -0.5407742857933044, -1.0581247806549072, -0.5665825009346008, 0.03236842527985573, -0.5859543681144714, 0.12191181629896164, -0.10686373710632324, 0.08390919864177704, -0.020212650299072266, -0.03071300871670246, -0.629375696182251, 0.3349246382713318, 0.04987887665629387, 1.0468887090682983, -0.435240775346756, 0.7424676418304443, 0.8701164126396179, -0.08883999288082123, -0.502138078212738, -0.05354076623916626, -0.32742998003959656, -1.0245063304901123, 0.3908533453941345, -0.0742654800415039, -0.27626273036003113, 0.12796634435653687, -0.391275554895401, -0.7911632061004639, 0.9733452200889587, 0.5501028299331665, -0.18728803098201752, 0.02174067683517933, 0.20819275081157684, 0.41454291343688965, -0.3674716055393219, 0.37731701135635376, 0.9004632234573364, 0.5927233695983887, 0.6901166439056396, -0.6802771687507629, -0.06953446567058563, -0.26921308040618896, 0.06329663842916489, 0.3524743914604187, -0.5683009624481201, 0.4332646429538727, 0.2393275797367096, -0.04490649700164795, 0.07739905267953873, 0.5910833477973938, 0.29391416907310486, 0.2844472825527191, 0.4262382686138153, 0.471933513879776, 0.8565318584442139, -0.21565383672714233, 0.9765722751617432, -0.22931821644306183, 0.0319296270608902, 1.3433805704116821, -0.5472086668014526, 0.9442736506462097, 0.3951132297515869, -0.2494654655456543, 0.37551790475845337, 0.33748504519462585, 0.3183826804161072, 0.5213653445243835, -0.04992767795920372, -0.7399905920028687, -0.48729196190834045, -0.3123325705528259, -0.21924977004528046, 0.26069772243499756, 0.43630996346473694, -0.0642673596739769, -0.2640627920627594, -0.0998990386724472, -0.1726146787405014, 0.10307064652442932, -0.34907931089401245, 0.9217402935028076, 0.1287984848022461, -1.043699860572815, 0.5215116739273071, -0.17288687825202942, 0.5366093516349792, -0.7933691740036011, -0.003050489816814661, -0.33935630321502686, 0.05471926927566528, -0.20894019305706024, -1.099764108657837, 0.1342102438211441, -0.307849645614624, -0.21193131804466248, -0.09442776441574097, 0.9170101284980774, -0.9377894401550293, -0.2442704141139984, 0.3779345750808716, 0.6207274198532104, -0.14287906885147095, -0.4222294092178345, -0.5490456819534302, -0.06334923952817917, 0.006936841644346714, -0.2867465615272522, 0.3950877785682678, 0.40960192680358887, 0.13367438316345215, 0.701698362827301, 0.778718888759613, 0.2228233963251114, 0.43118882179260254, 0.2009844183921814, 1.0911924839019775, -0.4460900127887726, -0.4353315532207489, -0.4698171019554138, 0.36804264783859253, -0.283931165933609, 0.1261170506477356, 0.49561142921447754, 0.615793764591217, 0.7219796776771545, 0.08974263072013855, 0.7124029397964478, 0.07035333663225174, 0.46541836857795715, -0.5358402132987976, 0.8263807892799377, -0.8013319373130798, 0.3684833347797394, 0.2437715232372284, -1.2342004776000977, -0.36725345253944397, 0.10598025470972061, -0.05583928897976875, 0.31652671098709106, 0.3194196820259094, 0.9574010968208313, -0.22850985825061798, 0.053061265498399734, 0.5749880075454712, 0.47141918540000916, 0.45061931014060974, 0.28217756748199463, 0.6227307319641113, -0.35708922147750854, 0.6173170208930969, -0.005205498076975346, 0.03511841967701912, -0.27539119124412537, -0.6513941884040833, -0.7839121222496033, -0.3732605278491974, -0.20233365893363953, -0.21529662609100342, -0.012063478119671345, 0.6100682616233826, 0.8493039011955261, -0.8601230382919312, -0.2659473121166229, 0.016397060826420784, 0.2537595331668854, 0.08885446935892105, -0.2507811188697815, -0.1072247326374054, -0.41599929332733154, -0.845890998840332, 0.7456310391426086, 0.26423054933547974, -0.22071422636508942, -0.31362655758857727, 0.07374318689107895, -0.32879558205604553, 0.4297041594982147, 0.8103969097137451, 0.1817248910665512, -0.5320289731025696, 0.0024323523975908756, -0.05112246796488762, 0.14042866230010986, 0.03315701708197594, 0.7494199275970459, -1.0854085683822632, 0.8794850707054138, 0.6025881767272949, 1.1010059118270874, 0.750917911529541, 0.020354535430669785, 0.5672865509986877, -0.8046591281890869, -0.1381789892911911, 0.3252163827419281, 0.46524760127067566, 0.41996607184410095, -0.3377380073070526, 0.4697825014591217, 0.13053520023822784, -0.3806605339050293, -0.9093816876411438, 0.35413292050361633, -0.8470597863197327, -0.2278958261013031, 1.0053222179412842, 0.18026064336299896, 0.07189058512449265, -0.13623426854610443, -0.20643265545368195, -0.04317628964781761, -0.32917192578315735, 0.2728903293609619, 0.8005212545394897, -0.05188482627272606, -0.08067082613706589, -0.6783915758132935, 0.1703270971775055, 0.4806467592716217, -0.7285277247428894, -0.17251424491405487, 0.7009741067886353, 0.40563514828681946, -0.2836945652961731, 0.4881051480770111, -0.25107669830322266, 0.05632224678993225, -0.4688705801963806, -0.2829909324645996, 0.002705354243516922, -0.03571164608001709, -0.02538311667740345, 0.5832883715629578, 0.21320952475070953, 0.22062274813652039 ]
http://arxiv.org/abs/2403.14633v3
http://arxiv.org/pdf/2403.14633v3
Born With a Silver Spoon? Investigating Socioeconomic Bias in Large Language Models
2024-02-16T23:18:19
2024-04-16T17:14:16
Smriti Singh, Shuvam Keshari, Vinija Jain, Aman Chadha
cs.CY
cs.CY, cs.AI, cs.CL
Socioeconomic bias in society exacerbates disparities, influencing access to opportunities and resources based on individuals' economic and social backgrounds. This pervasive issue perpetuates systemic inequalities, hindering the pursuit of inclusive progress as a society. In this paper, we investigate the presence of socioeconomic bias, if any, in large language models. To this end, we introduce a novel dataset SilverSpoon, consisting of 3000 samples that illustrate hypothetical scenarios that involve underprivileged people performing ethically ambiguous actions due to their circumstances, and ask whether the action is ethically justified. Further, this dataset has a dual-labeling scheme and has been annotated by people belonging to both ends of the socioeconomic spectrum. Using SilverSpoon, we evaluate the degree of socioeconomic bias expressed in large language models and the variation of this degree as a function of model size. We also perform qualitative analysis to analyze the nature of this bias. Our analysis reveals that while humans disagree on which situations require empathy toward the underprivileged, most large language models are unable to empathize with the socioeconomically underprivileged regardless of the situation. To foster further research in this domain, we make SilverSpoon and our evaluation harness publicly available.
[ -0.07648319005966187, -0.5490915775299072, 0.5212238430976868, 0.1758810579776764, 0.06333096325397491, 0.37892311811447144, -0.18704290688037872, -0.31856569647789, 0.1100139394402504, 0.336540162563324, -0.2769003212451935, 0.04569664224982262, -0.8665293455123901, -0.3034171760082245, 0.026425618678331375, 1.19598388671875, 0.6316598057746887, 0.26462602615356445, -0.1696760654449463, -0.08821612596511841, -0.03511324152350426, -0.3457907736301422, -0.4744983911514282, -0.38446250557899475, 0.27038511633872986, 0.5891897678375244, 0.9637970328330994, 0.39288708567619324, -0.04332095384597778, 0.2525274157524109, -0.3655000925064087, -0.1316078007221222, -0.46352845430374146, -0.279158353805542, -0.35033878684043884, 0.005201694089919329, -0.447234570980072, 0.23393040895462036, 0.3600171208381653, 0.977510929107666, 0.02037595957517624, 0.7237557768821716, 0.4186133146286011, 0.4405953586101532, -0.8792927265167236, -0.019814273342490196, -0.4504072070121765, 0.04863202944397926, -0.326555460691452, 0.33209994435310364, -0.029946327209472656, -0.4149112403392792, 0.04781424626708031, -0.36021721363067627, 0.041704706847667694, -0.3139953911304474, 0.5704707503318787, -0.04031065106391907, -0.6684942841529846, -0.32942837476730347, -0.390444278717041, 1.063975214958191, -0.7286626696586609, 0.14453144371509552, 0.4818613529205322, 0.012413442134857178, 0.039097242057323456, -0.6069038510322571, -0.5328432321548462, -0.15885694324970245, -0.038836754858493805, 0.07769068330526352, 0.13028402626514435, -0.1991858184337616, 0.2859427034854889, 0.055003710091114044, -0.20383723080158234, 0.09678301215171814, -0.6300261616706848, 0.18006464838981628, 0.6520038843154907, -0.09323026984930038, 0.3476739823818207, -0.2813757359981537, -0.14130090177059174, 0.07237604260444641, -0.3685735762119293, 0.27498334646224976, 0.8601031303405762, 0.3789774775505066, -0.32821041345596313, 0.5730165243148804, 0.32936573028564453, 0.41151872277259827, 0.09566772729158401, 0.0853896513581276, 0.3038971722126007, -0.021864918991923332, 0.25309523940086365, 0.40573930740356445, 0.366647332906723, 0.6481518745422363, 0.7082313299179077, 0.18183942139148712, -0.20088215172290802, 0.32807040214538574, 0.10492829233407974, -0.5013139247894287, 0.20799647271633148, 0.2632502615451813, -0.3282676339149475, -0.39919546246528625, -0.09094514697790146, -0.9240843653678894, -1.0443817377090454, -0.0015865352470427752, 0.03567218407988548, 0.21734921634197235, -0.49278831481933594, 0.022079914808273315, -0.4064478278160095, 0.13256242871284485, -0.00575270876288414, -1.0108261108398438, 0.37652766704559326, 0.9038439393043518, 0.8079776763916016, 0.35932493209838867, -0.31684789061546326, -0.49601879715919495, 0.22059917449951172, -0.2735591232776642, 0.5324897766113281, -0.7339925765991211, -0.580856442451477, -0.32874834537506104, -0.10001260042190552, 0.2512381672859192, -0.3368067443370819, 0.20138423144817352, 0.09294885396957397, -0.11728253960609436, -0.40333542227745056, -0.13771256804466248, 0.3919510841369629, 0.2303788959980011, -0.3210936188697815, 0.5475225448608398, 0.3173237442970276, -1.1496590375900269, 0.6041343212127686, -0.8639370799064636, -0.5691136717796326, 0.13672369718551636, -0.2955869436264038, -0.11958125978708267, 0.17625395953655243, 0.010892690159380436, 0.11767706274986267, -0.3403611481189728, 0.6478191614151001, -0.7093513607978821, -0.3763982951641083, 0.45920518040657043, -0.629798173904419, 1.2704850435256958, -0.03761940449476242, -0.5679932832717896, -0.24496527016162872, -0.7558255195617676, -0.37141257524490356, 0.23244015872478485, 0.1495743989944458, -0.9235901236534119, -0.035300303250551224, 0.13300000131130219, 0.3239339292049408, 0.578236997127533, -0.7715610861778259, 0.0009391417843289673, -0.43643200397491455, 0.7262768745422363, 1.2212270498275757, -0.11922717094421387, 0.6558734178543091, -0.1533748358488083, 0.486719012260437, 0.0777057632803917, 0.6578947305679321, 0.5215485095977783, -0.14603984355926514, -0.40906980633735657, -0.07804343849420547, 0.4906579554080963, 0.44452425837516785, -0.15077859163284302, -0.03620322048664093, -0.027422361075878143, -0.1966349482536316, -1.0141760110855103, -0.030505413189530373, 0.22263401746749878, 0.4596802294254303, 0.021519377827644348, -0.2222767323255539, -0.42131227254867554, -1.1638875007629395, -0.4451717138290405, 0.0434127151966095, 0.017574695870280266, 0.5219314694404602, 0.6823647022247314, -0.19819596409797668, 0.8775020241737366, -0.34369733929634094, -0.17967037856578827, -0.0028083494398742914, 0.007907931692898273, 0.12069050222635269, 0.6042295694351196, 0.2751360535621643, -0.8027040362358093, -0.2865617573261261, 0.16620683670043945, -0.4937313497066498, -0.3613748252391815, 0.07170892506837845, 0.04073578864336014, 0.17024484276771545, 0.1842893362045288, -0.3992365896701813, 0.500641942024231, 0.7174790501594543, -0.7034735679626465, 0.3832366466522217, -0.08727196604013443, -0.0704960823059082, -0.8936434388160706, 0.14479486644268036, 0.21297809481620789, 0.13076914846897125, -0.2748487591743469, -0.3990451693534851, 0.03080763667821884, -0.007057371083647013, -0.3568827509880066, 0.831804633140564, -0.46905383467674255, -0.3472149074077606, 0.023744311183691025, 0.23723256587982178, -0.019144603982567787, -0.1500377058982849, -0.11101391166448593, 0.820289134979248, 0.4225345849990845, -0.10606089979410172, -0.19650934636592865, -0.09100600332021713, -0.1792738288640976, 0.658876895904541, -0.9294741153717041, -0.13339057564735413, -0.2677787244319916, 0.12708760797977448, -0.8144568204879761, -0.0958128422498703, 0.08187442272901535, -0.5176435112953186, -0.22676284611225128, -0.23125284910202026, -0.2781944274902344, -0.35475775599479675, -0.2865162789821625, 0.3604952096939087, 0.5334091782569885, -0.11229357123374939, 0.2920534610748291, 0.9188113212585449, -0.594546914100647, -0.6845042705535889, -0.7217726111412048, 0.0560721680521965, -0.38242751359939575, -0.502139151096344, -0.2354532927274704, 0.10572097450494766, -0.8959988951683044, -0.1694776862859726, 0.03210816904902458, 0.06568622589111328, 0.270738810300827, 0.30966708064079285, 0.19444292783737183, 0.17749501764774323, -0.11813604831695557, 0.456269234418869, -0.17696380615234375, 0.08419712632894516, -0.07469851523637772, 0.5379543900489807, -0.18091042339801788, -0.15639033913612366, 0.23752689361572266, 0.4318440854549408, 0.7079376578330994, -0.268192857503891, 0.5663025379180908, 0.25924205780029297, -0.22485759854316711, -0.016713324934244156, -0.3513749837875366, -0.1190682128071785, -0.507614254951477, 0.2270646095275879, 0.008236847817897797, -0.7980347275733948, 0.638530969619751, 0.28648585081100464, 0.17887777090072632, 0.03850936144590378, 0.27596691250801086, 0.2628915011882782, 1.393757700920105, 0.36738455295562744, -0.04375596344470978, 0.14952950179576874, -0.17317867279052734, 0.31520476937294006, -0.9879211187362671, 0.11789320409297943, -0.47980690002441406, -0.32521432638168335, -0.5740365982055664, -0.06848064810037613, 0.42545244097709656, -0.24193838238716125, -0.49266794323921204, -0.43434417247772217, -0.4576195180416107, 0.6174776554107666, 0.3462119698524475, 0.0028601065278053284, 0.21711605787277222, -0.383149117231369, 0.02739064209163189, -0.12314864248037338, -0.6082162261009216, -0.8272190690040588, 0.9700778126716614, 0.3054538071155548, 0.6030968427658081, 0.009782898239791393, 0.5178927183151245, 0.6862805485725403, 0.4708768129348755, -0.47914111614227295, 0.35819682478904724, -0.3201051354408264, -0.5902605652809143, -0.3510796129703522, -0.3377574384212494, -1.136286973953247, 0.17345720529556274, 0.002914487849920988, -0.8438389301300049, 0.3852478861808777, 0.2682815492153168, -0.2989203631877899, 0.00543681625276804, -0.917294979095459, 0.914722740650177, -0.3893742561340332, -0.6880890727043152, 0.014353766106069088, -0.9604398012161255, 0.4519263207912445, -0.02316819503903389, 0.9748860001564026, -0.11945752799510956, 0.10705318301916122, 0.5256983637809753, -0.2965274453163147, 1.0876487493515015, -0.5024941563606262, -0.22760145366191864, -0.11060747504234314, -0.005787195172160864, 0.2622557580471039, 0.26692676544189453, -0.2876328229904175, 0.10039438307285309, 0.09841065853834152, -0.7651341557502747, -0.259860098361969, 0.9329608678817749, -0.9114861488342285, -0.4477841854095459, -0.7653460502624512, -0.6188516020774841, -0.18549296259880066, 0.3265281021595001, -0.04818977043032646, 0.342176228761673, -0.06855730712413788, -0.1328054666519165, 0.30798617005348206, -0.2836505174636841, 0.12940995395183563, 0.37648698687553406, -0.08644133061170578, -0.24885986745357513, 0.6502537131309509, 0.715659499168396, 0.2725757956504822, -0.6944613456726074, 0.5647848844528198, -0.211470827460289, 0.02111542411148548, -0.45661628246307373, 0.5403000712394714, -0.34810134768486023, 0.13945917785167694, -0.5351478457450867, 0.01355035975575447, -1.0284335613250732, -0.6384567022323608, -0.3165288269519806, -0.21993272006511688, -0.2823818027973175, -0.11200027912855148, 0.11394848674535751, 0.7701664566993713, -0.2449321299791336, 0.09519694000482559, -0.46823516488075256, 0.13512399792671204, 0.32726606726646423, 0.2920071482658386, 0.4979424476623535, -0.5497860908508301, -0.12093618512153625, 0.449318528175354, -0.23602448403835297, -0.558133065700531, 0.10681571811437607, -0.06295206397771835, 0.27684301137924194, 0.35075071454048157, 0.4120645523071289, 0.8482751846313477, -0.5359045267105103, 0.9427821636199951, 0.003933851607143879, -1.1051359176635742, 0.3609095811843872, -0.46028125286102295, 0.5053162574768066, 0.3335510194301605, 0.21602126955986023, -0.6248134970664978, -0.6275034546852112, -1.121665120124817, -1.2674540281295776, 0.6456338763237, -0.24974076449871063, 0.25625133514404297, -0.17523621022701263, -0.01621977798640728, 0.28844305872917175, 0.2789561450481415, -0.6637101769447327, 0.10410312563180923, -0.22335681319236755, -0.24859993159770966, -0.29102879762649536, -0.20292465388774872, -0.11592558026313782, -0.21943365037441254, 0.43906643986701965, 0.010844079777598381, -0.3666931390762329, -0.0553225502371788, -0.2418266385793686, -0.06974757462739944, 0.3809804618358612, 0.40898701548576355, 1.0051655769348145, 0.20783631503582, 0.20647765696048737, 0.15800032019615173, -0.5793527364730835, 0.19933997094631195, 0.14636430144309998, -0.17475107312202454, -0.4112088680267334, -0.016064705327153206, 0.5853782296180725, 0.22091792523860931, -0.9802654981613159, 0.6453712582588196, -0.03912230581045151, 0.06148192286491394, -0.724801242351532, -0.04929598793387413, 0.21801285445690155, 0.6121259927749634, 0.3692655861377716, -0.2544970214366913, 0.3716977834701538, -0.614494264125824, -0.16311289370059967, 0.493617445230484, -0.29314035177230835, -0.2596713900566101, 0.4337581694126129, 0.07596662640571594, -0.463998943567276, 0.46944427490234375, -0.04926075041294098, -0.33193233609199524, 0.4752371609210968, 0.6139023303985596, 0.5371776819229126, -0.06882697343826294, 0.5609254240989685, -0.1862582266330719, 0.3445572555065155, -0.08988963812589645, 0.10391120612621307, -0.22837580740451813, -0.7352781295776367, -0.09221593290567398, -0.8617409467697144, -0.24604488909244537, -0.08252715319395065, -0.7625863552093506, 0.0682082250714302, -0.4165489673614502, -0.3795166313648224, 0.1018010601401329, -0.10535039752721786, -0.2715901732444763, 0.1085863709449768, -0.07116753607988358, 0.5807780027389526, -1.3251255750656128, 0.4097261130809784, 0.8358618021011353, -0.2281695157289505, -0.3501668870449066, 0.060260821133852005, 0.02206539735198021, -0.8185962438583374, 0.6155071258544922, 0.07647961378097534, -0.2643868029117584, 0.12418795377016068, -0.38945457339286804, -0.628270149230957, 0.6796118021011353, 0.4231923818588257, -0.20947574079036713, -0.06909521669149399, 0.19640234112739563, 0.4307301938533783, -0.1949443370103836, 0.08917856961488724, 0.9102157950401306, 0.6847246289253235, -0.21913926303386688, -0.9316540360450745, -0.2634064853191376, -0.40501081943511963, 0.23514944314956665, 0.17987386882305145, -0.8868416547775269, 0.8960050344467163, -0.33118629455566406, 0.14748339354991913, -0.2765924036502838, 0.24134580790996552, 0.4403461515903473, 0.6386387348175049, 0.5421125292778015, 0.3036341369152069, 0.5837604403495789, 0.26140081882476807, 0.7523724436759949, -0.21107448637485504, 0.38370591402053833, 0.8951765298843384, -0.7491210103034973, 0.31753382086753845, 0.7830326557159424, -0.04847114160656929, 0.26924943923950195, 0.46356919407844543, 0.21581168472766876, 0.2669844925403595, 0.3558409810066223, -0.2548227310180664, 0.027087150141596794, -0.47062405943870544, -0.14335793256759644, 0.5018322467803955, 0.46340638399124146, -0.32009357213974, -0.09375347942113876, 0.22459720075130463, 0.370382696390152, 0.25257551670074463, -0.7199808955192566, 0.6018086671829224, 0.07647889852523804, -0.435078889131546, 0.12434381991624832, -0.3088899254798889, 0.7989879250526428, -0.5485286712646484, 0.09193259477615356, -0.24558469653129578, 0.29303836822509766, -0.3094898760318756, -0.8576052784919739, 0.19130101799964905, 0.24764622747898102, -0.0898250937461853, -0.041140373796224594, 0.7732715606689453, -0.31450653076171875, -0.6202698945999146, 0.27460289001464844, 0.28498122096061707, 0.15849445760250092, 0.34109005331993103, -0.7366876602172852, 0.22505035996437073, -0.1079200878739357, -0.22883887588977814, 0.6018511056900024, 0.6225870847702026, -0.26304230093955994, 0.5116538405418396, 0.3363478481769562, 0.4951784312725067, 0.013140284456312656, 0.10934284329414368, 0.49082276225090027, -0.5095590949058533, -0.8205052614212036, -0.8896681070327759, 0.8331429958343506, -0.5257422924041748, -0.5216596722602844, 0.9458335638046265, 0.48907098174095154, 0.6732032895088196, 0.05438733100891113, 1.0626928806304932, -0.07526926696300507, 0.45047900080680847, -0.06129175052046776, 0.941383957862854, -0.7177090048789978, 0.03777959942817688, -0.6492180824279785, -0.43981286883354187, -0.01934232749044895, 0.9134013652801514, -0.664795458316803, 0.3623008131980896, 0.03178797662258148, 0.6986656188964844, -0.22327490150928497, -0.08722858875989914, 0.19764454662799835, 0.30028197169303894, 0.026443995535373688, 0.1016881912946701, 0.7554354071617126, 0.09358161687850952, -0.09671475738286972, 0.06347036361694336, -0.44818779826164246, -0.061844974756240845, -0.7277761697769165, -0.4920964241027832, -0.3310963809490204, -0.11064121127128601, -0.6362187266349792, 0.25716644525527954, 0.9745205044746399, 0.21847094595432281, -0.36956509947776794, -0.6525676250457764, 0.21596607565879822, 0.28999394178390503, -0.01769055239856243, -0.3228030204772949, 0.18172286450862885, -0.02760680764913559, -0.7845678925514221, -0.447678804397583, 0.2885406017303467, -0.012634295970201492, -0.5042287111282349, 0.09243880957365036, -0.22986085712909698, 0.24579617381095886, 0.6471861600875854, 0.18162475526332855, -0.3862234652042389, -0.38508445024490356, -0.22287558019161224, 0.015134043991565704, -0.30833449959754944, 0.6728528738021851, -0.4330246150493622, 0.16652430593967438, 0.05742494389414787, 0.4057745933532715, 0.06466749310493469, -0.02730555459856987, 0.40027859807014465, -0.6561688184738159, 0.29419252276420593, 0.4184837341308594, 0.09624123573303223, 0.4711807370185852, -0.48311686515808105, 0.0960257351398468, 0.1948946714401245, -0.82770836353302, -1.256224513053894, 0.3856656849384308, -0.5067341327667236, -0.5037743449211121, 1.2063980102539062, 0.18242475390434265, -0.37001362442970276, -0.24023589491844177, -0.2351282835006714, 0.35741788148880005, -0.684693455696106, 1.0505473613739014, 0.5954651236534119, 0.1342136114835739, -0.25265711545944214, -0.3537781536579132, 0.08504021167755127, 0.20396721363067627, -0.298104465007782, 0.4233252704143524, 0.6804301738739014, 0.36830535531044006, -0.0570904016494751, 0.5787703990936279, -0.24358902871608734, 0.21484720706939697, 0.11052776873111725, 0.1425425410270691, 0.11446703970432281, -0.060375064611434937, -0.3238452672958374, 0.20416143536567688, 0.28006529808044434, 0.20644156634807587 ]
http://arxiv.org/abs/2402.11122v1
http://arxiv.org/pdf/2402.11122v1
Navigating the Dual Facets: A Comprehensive Evaluation of Sequential Memory Editing in Large Language Models
2024-02-16T23:08:55
2024-02-16T23:08:55
Zihao Lin, Mohammad Beigi, Hongxuan Li, Yufan Zhou, Yuxiang Zhang, Qifan Wang, Wenpeng Yin, Lifu Huang
cs.CL
cs.CL, cs.AI
Memory Editing (ME) has emerged as an efficient method to modify erroneous facts or inject new facts into Large Language Models (LLMs). Two mainstream ME methods exist: parameter-modifying ME and parameter-preserving ME (integrating extra modules while preserving original parameters). Regrettably, previous studies on ME evaluation have two critical limitations: (i) evaluating LLMs with single edit only, neglecting the need for continuous editing, and (ii) evaluations focusing solely on basic factual triples, overlooking broader LLM capabilities like logical reasoning and reading understanding. This study addresses these limitations with contributions threefold: (i) We explore how ME affects a wide range of fundamental capabilities of LLMs under sequential editing. Experimental results reveal an intriguing phenomenon: Most parameter-modifying ME consistently degrade performance across all tasks after a few sequential edits. In contrast, parameter-preserving ME effectively maintains LLMs' fundamental capabilities but struggles to accurately recall edited knowledge presented in a different format. (ii) We extend our evaluation to different editing settings, such as layers to edit, model size, instruction tuning, etc. Experimental findings indicate several strategies that can potentially mitigate the adverse effects of ME. (iii) We further explain why parameter-modifying ME damages LLMs from three dimensions: parameter changes after editing, language modeling capability, and the in-context learning capability. Our in-depth study advocates more careful use of ME in real-world scenarios.
[ -0.2148648202419281, -1.1132808923721313, 0.7408283352851868, 0.2498849481344223, -0.21984340250492096, 0.19811688363552094, -0.41701993346214294, -0.2820497155189514, -0.11858801543712616, 0.578140377998352, -0.3523973822593689, -0.3717603385448456, -0.4889576733112335, 0.006058336701244116, -0.09720145910978317, 0.9940887689590454, -0.26295822858810425, 0.14653275907039642, -0.2475067377090454, -0.3038364350795746, -0.7635632753372192, -0.678941011428833, -0.8401676416397095, -0.07258115708827972, 0.6990777254104614, 0.39999499917030334, 0.8576998114585876, 0.545690655708313, 0.2763497829437256, 0.31850168108940125, -0.37539738416671753, 0.03571270406246185, -0.41664811968803406, 0.11078815907239914, -0.39279499650001526, -0.35439181327819824, -0.7109092473983765, 0.14038333296775818, 1.023056149482727, 0.8024401068687439, 0.15591415762901306, 0.22685857117176056, 0.1955597698688507, 0.8961167335510254, -0.6736767292022705, -0.18786579370498657, -0.6240001320838928, -0.08334830403327942, -0.4055671989917755, -0.19329532980918884, -0.3865358531475067, -0.04920579865574837, 0.2053578644990921, -0.24235743284225464, -0.07249945402145386, -0.18891604244709015, 0.43358245491981506, 0.3118872046470642, -0.32410702109336853, -0.2795981168746948, -1.0508451461791992, 0.6509341597557068, -0.6432076096534729, 0.3452971875667572, 0.05391823872923851, 0.22511747479438782, -0.15076175332069397, -0.5766487717628479, -0.5762888193130493, -0.1950160264968872, 0.07468846440315247, 0.07952433079481125, -0.08511455357074738, 0.27495914697647095, 0.5662426948547363, 0.26455533504486084, -0.4023838937282562, 0.2257993221282959, -0.624006986618042, -0.32068049907684326, 0.4140965938568115, 0.3651237487792969, 0.32055139541625977, -0.13783375918865204, -0.13856635987758636, -0.021294444799423218, -0.7679966688156128, 0.129659503698349, 0.579709529876709, 0.011386719532310963, 0.3564227819442749, 0.6529953479766846, 0.05120128393173218, 0.8054459691047668, 0.010777625255286694, -0.32072725892066956, -0.19041109085083008, -0.39828047156333923, -0.2619791328907013, -0.22075799107551575, 0.5774775147438049, 0.34405696392059326, 0.046938370913267136, -0.15625105798244476, -0.06504019349813461, -0.26580509543418884, 0.2028547078371048, -0.7763792276382446, -0.10466956347227097, 0.23677639663219452, -0.35417306423187256, -0.025893568992614746, -0.15337219834327698, -0.6222452521324158, -0.3044126033782959, -0.37470611929893494, 0.6107778549194336, -0.5529324412345886, 0.08581655472517014, 0.42908015847206116, -0.08723658323287964, -0.16279694437980652, 0.7231445908546448, -0.7902393937110901, 0.23695822060108185, 0.7538660168647766, 0.8574284911155701, 0.09567462652921677, -0.6312006711959839, -0.4027152359485626, 0.2279379963874817, -0.14641590416431427, 0.6656967997550964, -0.7178421020507812, -0.38720858097076416, -0.2625791132450104, -0.29905617237091064, -0.22225452959537506, -0.6637558937072754, 0.43924251198768616, -0.8291531205177307, 0.1305348426103592, -0.5208545327186584, -0.41122567653656006, -0.19196411967277527, 0.012325603514909744, -0.7010828852653503, 0.6641923189163208, -0.023496143519878387, -0.6071423888206482, 0.31878861784935, -0.30835720896720886, -0.39160120487213135, -0.5085275173187256, -0.0859142392873764, -0.26538634300231934, 0.3293939530849457, -0.030090898275375366, 0.4200110137462616, -0.0621490478515625, 0.3439212441444397, -0.14446289837360382, -0.274227112531662, 0.3013424575328827, -0.4404889643192291, 0.5311740040779114, -0.07263878732919693, -0.007193917874246836, 0.23320050537586212, -0.7232565879821777, -0.26631394028663635, -0.24956373870372772, -0.602288544178009, -0.4568236470222473, 0.02710329368710518, -0.3110225200653076, 0.42203205823898315, 0.3727368116378784, -0.4532971680164337, 0.41810908913612366, -0.12999719381332397, 0.2964337170124054, 1.0484347343444824, 0.27886244654655457, 0.5166334509849548, -0.30246132612228394, 0.4335091710090637, 0.13799282908439636, 0.1352628916501999, -0.1937391459941864, -0.3579194247722626, -0.7047196626663208, -0.20690499246120453, 0.3520171642303467, 0.6436637043952942, -0.6648535132408142, 0.1658967286348343, -0.2444159835577011, -0.18727360665798187, -0.48438289761543274, 0.3643065392971039, 0.5220124125480652, 0.5399580001831055, 0.4794416129589081, -0.14360107481479645, -0.37157249450683594, -1.2336026430130005, -0.7115089297294617, -0.1517513245344162, 0.07589714229106903, 0.16598211228847504, 0.4652670621871948, -0.23634114861488342, 0.7413820028305054, -0.3178388476371765, -0.1089940145611763, -0.07413598895072937, 0.22625023126602173, 0.09033143520355225, 0.6113492250442505, 0.28931689262390137, -0.18491186201572418, -0.3884296715259552, -0.27996179461479187, -0.5295103192329407, -0.2846720814704895, -0.6546329855918884, -0.13317105174064636, 0.2679153382778168, 0.4547116160392761, -0.5946972966194153, 0.5193800926208496, 0.3593950569629669, -0.3383398950099945, 0.8873871564865112, -0.5219696760177612, 0.32630643248558044, -0.5307439565658569, -0.16580189764499664, -0.18549253046512604, 0.023743154481053352, -0.7359108924865723, 0.06468295305967331, 0.367225706577301, 0.2253885716199875, -0.19120655953884125, 0.6494902968406677, -0.6014124751091003, -0.12129712849855423, -0.26519882678985596, 0.07682236284017563, 0.08399251103401184, 0.4049373269081116, -0.3576200306415558, 0.9330174326896667, 0.25381243228912354, -0.6245806217193604, -0.01664157211780548, 0.06282082945108414, -0.37838560342788696, 0.45723479986190796, -0.4184653162956238, 0.4978974461555481, -0.18265345692634583, 0.19207873940467834, -0.8787050247192383, 0.19126778841018677, 0.18674759566783905, 0.0503651387989521, 0.607537031173706, -0.0006809295155107975, -0.7862362861633301, -0.12549395859241486, -0.48337170481681824, 0.5065792202949524, 0.23015332221984863, -0.5788053274154663, 0.5093918442726135, 0.0926593691110611, -0.3084449768066406, -0.48163843154907227, -0.6024052500724792, 0.4632619619369507, -0.2210288941860199, -0.9272818565368652, 0.35537323355674744, -0.2765848934650421, -0.6219351887702942, -0.025285474956035614, -0.385700523853302, 0.09110953658819199, 0.07735031098127365, -0.021635733544826508, 0.1962098926305771, -0.12463725358247757, -0.0002489877224434167, 0.5680856108665466, -0.30941152572631836, -0.030740952119231224, -0.03249687701463699, 0.1965222805738449, -0.12486019730567932, -0.3428824543952942, -0.5001609325408936, 0.29929518699645996, 0.5560994744300842, -0.3697509169578552, 0.7489827871322632, 0.3238784670829773, -0.15104199945926666, -0.11099483072757721, -0.871856689453125, -0.018288949504494667, -0.4607332646846771, 0.5504260659217834, -0.7411108016967773, -1.1274935007095337, 0.6195691823959351, -0.18122118711471558, 0.18724970519542694, 0.33040937781333923, 0.3508148789405823, -0.05973341688513756, 0.8792227506637573, 0.38725027441978455, 0.13594761490821838, 0.27482157945632935, -0.06745278835296631, 0.2930968105792999, -1.2916494607925415, -0.08806468546390533, -0.2835956811904907, -0.6362756490707397, -0.34714218974113464, -0.798672616481781, 0.536464512348175, 0.4046059250831604, 0.03547103703022003, -0.044203754514455795, -0.018377576023340225, 0.44808658957481384, 0.15837562084197998, 0.2690633237361908, 0.4860178232192993, -0.3419475555419922, -0.06485749781131744, -0.46484166383743286, -0.4816216230392456, -0.8169950246810913, 1.10657799243927, 0.40849798917770386, 0.6245807409286499, 0.30029046535491943, 0.3908534348011017, 0.0627463161945343, 0.2555558979511261, -0.6608303785324097, 0.690217137336731, -0.2831727862358093, -0.535944938659668, -0.26445576548576355, -0.22659239172935486, -0.47092798352241516, 0.4932394325733185, -0.13439549505710602, -0.6939913034439087, 0.03952806442975998, 0.26554811000823975, -0.4694536626338959, 0.5830792784690857, -0.6698067784309387, 0.7848979830741882, -0.42685914039611816, -0.7309550046920776, -0.664946436882019, -0.5348528623580933, 0.6199796199798584, -0.2698589563369751, 0.22769157588481903, 0.0554899238049984, -0.4405011236667633, 0.6838298439979553, -0.44933879375457764, 0.6987760066986084, -0.30186572670936584, 0.10137312114238739, 0.11929982155561447, 0.3435073494911194, 0.3572899103164673, 0.2079612910747528, -0.20740215480327606, 0.0923285111784935, 0.12142795324325562, -0.3417668044567108, -0.9943040609359741, 0.8410113453865051, -0.5946956276893616, -0.9930254220962524, -0.31331294775009155, -0.688434898853302, -0.4173929989337921, 0.06465228646993637, -0.27505162358283997, 0.47007253766059875, -0.30044275522232056, 0.04140244051814079, 0.6790015697479248, -0.5998978614807129, 0.2993515133857727, 0.5729389786720276, -0.29491668939590454, -0.3185451328754425, 0.6923454403877258, 0.4941645562648773, 0.4772654175758362, 0.24854139983654022, 0.41196075081825256, 0.10648591816425323, -0.893639862537384, -0.5499032735824585, 0.32061877846717834, -0.6740053296089172, 0.268464058637619, -0.7845271825790405, 0.025904519483447075, -0.062358032912015915, -0.11739829182624817, -0.37949198484420776, -0.6576559543609619, -0.18226109445095062, -0.074858158826828, 0.1726483851671219, 0.9079379439353943, -0.3000278174877167, 0.4589158892631531, -0.693173348903656, 0.2157861888408661, 0.39295095205307007, 0.4353857636451721, 0.016255229711532593, -0.6094920039176941, -0.3790552318096161, -0.12340762466192245, -0.10734245926141739, -0.9122995734214783, -0.07904493808746338, 0.09584366530179977, 0.48910242319107056, 0.2744339406490326, -0.44936180114746094, 1.1715468168258667, -0.886381208896637, 0.6783896684646606, -0.3026774227619171, -1.043588638305664, 0.3702159523963928, -0.20696313679218292, 0.4631350636482239, 0.7641162872314453, 0.062308140099048615, -0.48858875036239624, -0.3715119957923889, -0.4838119149208069, -0.7257941365242004, 0.7414350509643555, -0.18114009499549866, 0.20358039438724518, 0.23395998775959015, 0.9387195110321045, 0.3036327064037323, 0.21134181320667267, -0.25789889693260193, -0.3540361225605011, 0.20030207931995392, 0.2982804775238037, -0.07082729041576385, -0.8792814016342163, 0.21816030144691467, -0.5970830917358398, 0.6925354599952698, 0.31257346272468567, -0.10738474875688553, 0.1240687295794487, -0.3355563282966614, -0.06862196326255798, 0.2751736342906952, 0.8564049005508423, 0.9026707410812378, -0.36365553736686707, 0.1500515341758728, 0.2745164632797241, -0.3976811468601227, -0.09704840183258057, -0.2709778845310211, -0.2548183500766754, -0.06056078523397446, 0.2978478670120239, 0.7722539305686951, 0.7455620765686035, -0.5218127965927124, 0.17869921028614044, -0.1056455597281456, -0.024167636409401894, -0.06632357090711594, 0.0921342670917511, -0.004515651147812605, 0.24625074863433838, 0.031021829694509506, 0.4797932505607605, 0.10661116242408752, -0.6128019094467163, 0.2036665380001068, 0.46828827261924744, 0.08979358524084091, -0.6444765329360962, 0.5259672403335571, -0.15977337956428528, -0.2386411428451538, 0.5067285895347595, 0.007500975392758846, -0.44224417209625244, 0.18938937783241272, 0.36724311113357544, 0.9462966918945312, -0.5018684267997742, -0.029499102383852005, 0.5683650374412537, 0.5783719420433044, 0.08820540457963943, 0.012070936150848866, -0.019789323210716248, -0.6505554914474487, -0.4563503563404083, -0.40961411595344543, -0.43788257241249084, 0.34247440099716187, -0.6210245490074158, 0.24023573100566864, -0.9059969186782837, 0.018052395433187485, -0.005994969513267279, -0.08253735303878784, -0.5034371614456177, 0.06611455976963043, -0.0382101871073246, 0.8953623175621033, -0.5529641509056091, 0.9224534630775452, 0.7228379845619202, -0.2648344337940216, -0.4330989718437195, 0.13643638789653778, 0.2871799170970917, -0.6823471784591675, 0.3293883800506592, -0.02793210931122303, -0.10716758668422699, -0.14279663562774658, -0.4074341654777527, -0.8274142742156982, 1.0376129150390625, 0.33073997497558594, -0.4436357915401459, -0.0043700020760297775, 0.01717217080295086, 0.5644097328186035, 0.00027550061349757016, 0.1467052698135376, 0.9802322387695312, 0.6494864225387573, 0.12373138964176178, -0.8328853249549866, 0.016400545835494995, -0.05717650055885315, -0.0006978171295486391, 0.1395968794822693, -0.6936662197113037, 1.021182894706726, -0.3229518234729767, -0.24591246247291565, 0.1923585683107376, 0.5647636651992798, 0.08319270610809326, -0.00868703331798315, 0.43282467126846313, 0.6502491235733032, 0.7217483520507812, 0.25270941853523254, 1.011130452156067, -0.2109510451555252, -0.06246582046151161, 1.3819929361343384, -0.24551108479499817, 0.9579329490661621, 0.6803584694862366, -0.16165852546691895, 0.36150723695755005, 0.40537625551223755, 0.3290728032588959, 0.31898537278175354, 0.18417665362358093, -0.41314858198165894, -0.047588050365448, 0.3735918402671814, -0.18590189516544342, 0.4180971682071686, 0.4303431808948517, -0.1294384002685547, -0.20632995665073395, -0.04281627759337425, 0.5433377027511597, 0.0624421089887619, -0.11336059868335724, 0.6395323872566223, 0.006992488633841276, -0.6157519817352295, 0.23254549503326416, 0.4157394766807556, 0.3829710781574249, -0.4900546073913574, -0.01420772634446621, -0.08478900045156479, 0.15115886926651, -0.12723588943481445, -0.8020250797271729, 0.6895278096199036, 0.2295553982257843, -0.35586538910865784, -0.533603847026825, 0.6122376918792725, -0.4128280282020569, -0.33327412605285645, 0.37019574642181396, 0.5987725853919983, 0.009446021169424057, -0.342440664768219, -0.7760432362556458, 0.448799192905426, 0.017935829237103462, -0.40339305996894836, 0.562056839466095, 0.4312964975833893, -0.09524405002593994, 0.4022320508956909, 0.5506245493888855, 0.20763717591762543, 0.15587516129016876, 0.13305340707302094, 0.8289387226104736, -0.8798027038574219, -0.1634347140789032, -1.1049325466156006, 0.8404449224472046, 0.1539773792028427, -0.2453928142786026, 0.8634507060050964, 0.769176185131073, 0.7532023787498474, -0.041277337819337845, 0.688127875328064, 0.09690649062395096, 0.3540101647377014, -0.8144235014915466, 0.531157374382019, -0.427053302526474, 0.6485142111778259, -0.30442360043525696, -0.89132159948349, -0.3850330710411072, 0.28243711590766907, -0.643999457359314, 0.002374278148636222, 0.9871512055397034, 0.758211076259613, 0.10247324407100677, -0.03264997899532318, 0.5646079182624817, 0.8236216902732849, 0.2915348708629608, 0.45238861441612244, 1.0783878564834595, -0.3625950515270233, -0.022708725184202194, -0.6201500296592712, -0.43037235736846924, 0.06352131068706512, -0.7936842441558838, -1.0695021152496338, -0.5519176721572876, -0.4227767586708069, -0.15157833695411682, 0.09005492925643921, 0.5901020169258118, 0.21285967528820038, -0.6202012300491333, -0.3268437385559082, 0.3924427926540375, 0.25996142625808716, 0.01943228207528591, -0.13018518686294556, 0.3955345153808594, -0.13132736086845398, -0.6243644952774048, 0.6065610647201538, 0.7895855903625488, -0.2979888617992401, -0.38129064440727234, 0.07417304068803787, -0.34402015805244446, 0.07285478711128235, 0.7581042051315308, 0.18784542381763458, -0.8820040225982666, -0.5458683967590332, -0.27738580107688904, 0.033587824553251266, 0.013780303299427032, 0.9016382694244385, -0.7332423329353333, 0.8507183790206909, 0.4884125292301178, 0.679232656955719, 0.3040562570095062, 0.05475691705942154, 0.5649051666259766, -0.43209829926490784, 0.13271312415599823, 0.001773867174051702, 0.425454705953598, 0.3512478768825531, -0.4201417565345764, 0.1410948485136032, 0.15465645492076874, -0.6568233370780945, -0.6450013518333435, -0.04130459204316139, -0.9357329607009888, -0.24084404110908508, 1.051419734954834, 0.10112395137548447, -0.09858045727014542, -0.03515616059303284, -0.3747670352458954, 0.07853270322084427, -0.010150406509637833, 0.5776466727256775, 0.939983069896698, -0.3808079659938812, -0.0754268690943718, -1.1030399799346924, 0.3274431824684143, 0.5460830330848694, -0.4847760796546936, 0.03304808586835861, 0.8975948095321655, 0.2551482021808624, -0.11280287802219391, 0.5625151991844177, -0.24557405710220337, 0.26452890038490295, -0.21398574113845825, -0.1760959029197693, -0.20425419509410858, -0.5933002829551697, -0.819640040397644, -0.10179276019334793, 0.29043468832969666, 0.15053348243236542 ]
http://arxiv.org/abs/2402.11114v2
http://arxiv.org/pdf/2402.11114v2
Whose Emotions and Moral Sentiments Do Language Models Reflect?
2024-02-16T22:34:53
2024-06-17T23:41:37
Zihao He, Siyi Guo, Ashwin Rao, Kristina Lerman
cs.CL
cs.CL, cs.CY, cs.SI
Language models (LMs) are known to represent the perspectives of some social groups better than others, which may impact their performance, especially on subjective tasks such as content moderation and hate speech detection. To explore how LMs represent different perspectives, existing research focused on positional alignment, i.e., how closely the models mimic the opinions and stances of different groups, e.g., liberals or conservatives. However, human communication also encompasses emotional and moral dimensions. We define the problem of affective alignment, which measures how LMs' emotional and moral tone represents those of different groups. By comparing the affect of responses generated by 36 LMs to the affect of Twitter messages, we observe significant misalignment of LMs with both ideological groups. This misalignment is larger than the partisan divide in the U.S. Even after steering the LMs towards specific ideological perspectives, the misalignment and liberal tendencies of the model persist, suggesting a systemic bias within LMs.
[ -0.2620398700237274, -0.6210845708847046, 0.5871151089668274, 0.07577873766422272, -0.11911158263683319, 0.3422420620918274, -0.045425742864608765, -0.32565006613731384, 0.36665165424346924, 0.5518195033073425, -0.412341445684433, -0.36332306265830994, -0.7353365421295166, -0.10087165236473083, -0.27249231934547424, 1.0677173137664795, 0.2776135504245758, 0.3285638093948364, 0.2138936072587967, -0.5941649079322815, -0.056110937148332596, -0.6624584197998047, -0.5130658149719238, -0.5281782150268555, 0.7500585913658142, 0.13418971002101898, 1.2706360816955566, 0.41822895407676697, 0.6565011143684387, 0.28506776690483093, -0.1787838637828827, -0.49390387535095215, -0.6236993074417114, 0.05502493306994438, -0.5475149750709534, -0.3323483169078827, -0.2500922977924347, 0.32594457268714905, 0.46993887424468994, 0.4826906621456146, -0.16812652349472046, 0.06970376521348953, -0.028327984735369682, 0.7372369170188904, -0.45491254329681396, -0.43167051672935486, -0.6587913632392883, -0.1060115322470665, -0.019787311553955078, -0.11815597116947174, -0.3879050612449646, -0.7959446310997009, 0.2172524482011795, -0.08883825689554214, -0.13430911302566528, 0.18113650381565094, 1.0354087352752686, 0.26391327381134033, -0.8412501811981201, -0.47598040103912354, -0.5654698014259338, 1.127188801765442, -0.8926323056221008, 0.4230310618877411, 0.22140353918075562, -0.18768854439258575, 0.14204256236553192, 0.18195213377475739, -0.6891048550605774, 0.13904431462287903, -0.09547677636146545, 0.1922181099653244, -0.2338179498910904, 0.09163843840360641, 0.23444509506225586, 0.09338808059692383, -0.4859534502029419, 0.04535193741321564, -0.4193848967552185, 0.22998440265655518, 0.7098565101623535, 0.2701147794723511, 0.4860541820526123, -0.42100775241851807, -0.3426700234413147, -0.09648121893405914, -0.5910462737083435, 0.3945148289203644, 0.7856055498123169, 0.40508607029914856, -0.13894730806350708, 0.6379708051681519, 0.371339350938797, 0.5993887782096863, 0.15736189484596252, 0.11789528280496597, 0.05204463005065918, -0.039123449474573135, -0.29177621006965637, 0.177551731467247, 0.9127557277679443, 0.7943931818008423, 0.5955992341041565, 0.5363469123840332, -0.19306901097297668, 0.27064090967178345, 0.5175397396087646, -0.5552549958229065, 0.1318834275007248, 0.22623106837272644, -0.7381820678710938, -0.48696133494377136, 0.050110287964344025, -0.6366438269615173, -1.0310009717941284, -0.44970718026161194, 0.011691360734403133, -0.3871939480304718, -0.4520336389541626, 0.03472735732793808, 0.2467184215784073, 0.5001713633537292, 0.1628221571445465, -0.8190624117851257, 0.14254380762577057, 0.9377322793006897, 0.7056859135627747, -0.08766110986471176, 0.1894068419933319, -0.34495285153388977, -0.07196088880300522, -0.4518983066082001, 0.5760262608528137, -1.0796700716018677, -0.4343700110912323, 0.15992748737335205, 0.038753412663936615, 0.05339115113019943, -0.12479966878890991, 0.7058014273643494, -0.3563661277294159, 0.3748079538345337, -0.8698689341545105, -0.6039929389953613, -0.2463088035583496, 0.13032110035419464, -0.5322147607803345, 0.6021655797958374, -0.11611604690551758, -1.0566816329956055, 0.0993860736489296, -0.33061718940734863, -0.04872720316052437, -0.20264260470867157, -0.43353980779647827, -0.22096402943134308, 0.4653663635253906, -0.38202857971191406, 0.33369025588035583, -0.3647790849208832, 0.29146692156791687, -0.6574717164039612, -0.29061222076416016, 0.474347859621048, -0.0481773279607296, 0.9623389840126038, 0.11319565027952194, -0.356197714805603, 0.34891757369041443, -0.28890228271484375, -0.16810807585716248, 0.18718817830085754, -0.0612793043255806, -0.7900820970535278, 0.4952915608882904, 0.11777190119028091, 0.6027486324310303, 0.14593954384326935, -0.6490203738212585, 0.13638979196548462, -0.4070228040218353, 0.24799709022045135, 1.1940720081329346, -0.2979688346385956, 0.6556583046913147, -0.376129150390625, 0.43685615062713623, 0.23857347667217255, 0.25910133123397827, 0.4212793707847595, -0.32270339131355286, -0.8055988550186157, 0.4469441771507263, -0.4180406332015991, 0.6017760038375854, -0.026463840156793594, 0.25295159220695496, 0.02013075165450573, -0.4852629005908966, -0.7057766914367676, -0.04747102037072182, 0.3904937505722046, 0.20190542936325073, 0.0704251229763031, -0.08404426276683807, -0.3599376678466797, -1.3258744478225708, -0.7362983822822571, -0.6850636601448059, 0.4839555025100708, 0.3008616268634796, 0.29662805795669556, -0.04301655292510986, 0.7760944962501526, -0.2842612564563751, 0.2202264666557312, 0.06753945350646973, 0.19124390184879303, 0.19928990304470062, 0.2289842665195465, 0.6289792656898499, -0.7663065791130066, -0.5943034887313843, 0.04532465711236, -0.5747310519218445, -0.3433819115161896, 0.1687326729297638, -0.33545878529548645, 0.40566062927246094, 0.06702552735805511, -0.173916757106781, 0.326163649559021, 0.9106154441833496, -0.8546837568283081, 0.25038543343544006, 0.3713134229183197, 0.4899948239326477, -1.187416672706604, -0.15458440780639648, 0.26944634318351746, -0.05693253502249718, -0.6263477206230164, -0.5875855684280396, 0.0982498973608017, 0.161490336060524, -0.5949885249137878, 0.3667621910572052, -0.1095067635178566, -0.03590543940663338, -0.06103155016899109, 0.2528619170188904, 0.18755781650543213, 0.014706438407301903, 0.08606573194265366, 0.4205125570297241, 0.4203197658061981, -0.07055863738059998, 0.20988930761814117, 0.045997194945812225, 0.05768200755119324, 1.0558720827102661, -0.5817167162895203, 0.22375895082950592, -0.42542997002601624, -0.05414798855781555, -0.94002366065979, -0.05269581452012062, 0.4509750306606293, -0.16490714251995087, 0.020240111276507378, -0.11356032639741898, -0.1350060999393463, -0.16077277064323425, -0.3243740200996399, 0.29333895444869995, 0.5131082534790039, -0.18522073328495026, 0.6974842548370361, 0.5565869808197021, -0.20192763209342957, -0.8257375359535217, -0.5611552000045776, -0.26893171668052673, -0.5813561081886292, -0.4714633822441101, 0.013366712257266045, 0.09167440980672836, -1.0617166757583618, 0.16617801785469055, 0.06904184073209763, 0.19533249735832214, -0.23463916778564453, 0.4863039255142212, 0.17734669148921967, -0.14513257145881653, 0.40962982177734375, -0.07464586943387985, 0.30936387181282043, 0.19121091067790985, 0.022541237995028496, 0.38122597336769104, -0.6316965818405151, -0.4336763918399811, -0.230103999376297, 0.5412078499794006, 0.65885329246521, -0.26081857085227966, 1.092812418937683, 0.14548611640930176, -0.29714199900627136, 0.10798148810863495, -0.6999661922454834, -0.057433120906353, -0.4671822190284729, 0.18722699582576752, 0.1895320564508438, -0.9156487584114075, 0.6291266083717346, 0.3765369653701782, 0.1531578153371811, 0.3838808238506317, 0.4685323238372803, -0.4104844927787781, 1.2875618934631348, 0.61287522315979, -0.26101356744766235, 0.6531359553337097, 0.05999919772148132, 0.44735628366470337, -0.7392383217811584, -0.058613236993551254, -0.6234773993492126, -0.4861123859882355, -0.7168998718261719, -0.1823020577430725, -0.23776639997959137, 0.1253363937139511, -0.576788604259491, 0.11886623501777649, -0.8014968037605286, 0.4465969502925873, 0.04445787891745567, -0.23043788969516754, -0.046574655920267105, -0.1818026751279831, 0.11616893857717514, -0.3878480792045593, -0.2718959450721741, -1.015065312385559, 0.7916468381881714, 0.4927384853363037, 0.8775040507316589, 0.394975483417511, 0.5203979015350342, 0.23454275727272034, 0.7065855860710144, -0.7082594633102417, 0.4247381389141083, -0.10974080115556717, -0.6248674988746643, -0.11870668828487396, -0.25694331526756287, -0.5391485095024109, 0.05628964304924011, -0.022402239963412285, -1.0388153791427612, 0.3823883831501007, 0.14363515377044678, -0.09845875203609467, 0.5264544486999512, -0.3677828013896942, 0.8857699036598206, -0.6919803619384766, -0.4738507568836212, -0.24849288165569305, -0.7310761213302612, 0.32255440950393677, -0.027954276651144028, 0.4458635449409485, -0.6475768089294434, 0.0002453835040796548, 0.7350611686706543, -0.26382091641426086, 0.8660380244255066, -0.26185891032218933, -0.474102258682251, 0.12334369122982025, 0.14750362932682037, 0.385485976934433, -0.27649757266044617, -0.3602023422718048, 0.1815088987350464, 0.10175604373216629, -0.3286997973918915, -0.32151055335998535, 0.8892783522605896, -0.8440951108932495, -0.7537689208984375, -0.49584564566612244, -0.5079891085624695, -0.029545489698648453, 0.014066402800381184, 0.13428086042404175, 0.1523127406835556, -0.46227145195007324, 0.029250118881464005, 0.49012625217437744, -0.36549925804138184, 0.4600662589073181, 0.4877610504627228, -0.5067768692970276, -0.160913348197937, 0.8468432426452637, -0.016920696943998337, 0.53120356798172, -0.016341371461749077, 0.14769601821899414, -0.2618676424026489, 0.07138650864362717, -0.12589837610721588, 0.5585669875144958, -0.8494285345077515, -0.13932450115680695, -0.5417788624763489, 0.04410970211029053, -0.2222277820110321, -0.52101731300354, -0.64054274559021, -0.056322693824768066, -0.33681100606918335, 0.07434463500976562, 0.3987341523170471, 1.0752809047698975, 0.2132161259651184, 0.4635274112224579, -0.6743994951248169, -0.09502705931663513, 0.0578111931681633, 0.5610541105270386, -0.3994852304458618, -0.5173934102058411, -0.030705079436302185, 0.21966613829135895, -0.37677961587905884, -1.3616600036621094, 0.1719810664653778, -0.038531217724084854, 0.16305071115493774, 0.7091461420059204, 0.09116306900978088, 0.3916696608066559, -0.35197949409484863, 0.7667682766914368, 0.23843812942504883, -1.1191816329956055, 0.43836554884910583, -0.5420914888381958, 0.12776660919189453, 0.4661147892475128, 0.5512513518333435, -0.9389868378639221, -0.7985374331474304, -0.5749146938323975, -0.24037450551986694, 0.7455767393112183, 0.1176222637295723, 0.3476749658584595, -0.3597061038017273, 0.13935096561908722, -0.15264984965324402, -0.001340129878371954, -0.7814165949821472, -0.27740392088890076, -0.4654010832309723, -0.666680097579956, 0.03654658794403076, -0.3691767454147339, -0.25748780369758606, 0.09727081656455994, 0.5871934294700623, 0.0656922236084938, 0.03439825028181076, 0.03172723203897476, 0.26160234212875366, -0.45451682806015015, 0.49191272258758545, 0.6391481757164001, 0.701326847076416, -0.1532619148492813, 0.2594210207462311, -0.22068721055984497, -0.12782780826091766, 0.4392852783203125, -0.22918513417243958, -0.01256702933460474, -0.05042828619480133, 0.052214935421943665, 0.8344482183456421, 0.033001333475112915, -0.4054481089115143, 0.6360634565353394, -0.009104941971600056, 0.2361813187599182, -0.21403175592422485, -0.10687784105539322, 0.4909251928329468, 0.5325160622596741, 0.07824452966451645, -0.037113819271326065, -0.02285151369869709, -0.6878417134284973, -0.14090684056282043, 0.7629124522209167, -0.8593369126319885, -0.5137342810630798, 0.5013030767440796, 0.14789511263370514, -0.6839202642440796, 0.4314954876899719, 0.05703461915254593, -0.8236717581748962, 0.5102864503860474, 0.36649227142333984, 0.8029670119285583, -0.7238854765892029, 0.38498207926750183, 0.26787737011909485, 0.35373690724372864, 0.07484803348779678, 0.4974563419818878, 0.5235154628753662, -1.0983351469039917, -0.1463555246591568, -0.7456404566764832, -0.3079673647880554, -0.2187032848596573, -0.8156580328941345, 0.2759879529476166, -0.39038366079330444, -0.4892996549606323, -0.09173516929149628, -0.24661032855510712, -0.36818063259124756, 0.3020853102207184, 0.5374220609664917, 0.3289676308631897, -0.9940020442008972, 0.7167185544967651, 0.801901638507843, -0.2797708213329315, -0.8458714485168457, 0.10336543619632721, 0.3220336139202118, -0.5898497104644775, 0.5706648230552673, 0.1864234358072281, -0.5281189680099487, -0.12305597215890884, -0.5906586050987244, -0.7789879441261292, 0.4968268871307373, 0.29566818475723267, -0.6586484313011169, 0.026690125465393066, 0.34884390234947205, 0.6436547636985779, -0.61152583360672, 0.033994439989328384, 0.32140132784843445, 0.3394324779510498, -0.28434765338897705, -0.7508928775787354, 0.03776250034570694, -0.36395183205604553, 0.03272302448749542, 0.5427801609039307, -0.8763381242752075, 0.8093788623809814, 0.04717569053173065, -0.14151357114315033, -0.5945677161216736, 0.37559542059898376, 0.31415000557899475, 0.07267564535140991, 0.5869025588035583, 0.32219254970550537, 0.636442244052887, -0.10396160930395126, 1.078361988067627, -0.5566501617431641, 0.486814945936203, 0.8113642930984497, -0.36510157585144043, 0.6638093590736389, 0.6611712574958801, 0.03989947587251663, 0.575229287147522, 0.5178224444389343, 0.2165687531232834, 0.3849535584449768, 0.18440942466259003, -0.14382420480251312, -0.2309192270040512, -0.5653877854347229, -0.30100658535957336, 0.4123894274234772, 0.4658281207084656, -0.6357972025871277, 0.1998089700937271, -0.2544456422328949, 0.01778288185596466, 0.29608699679374695, -0.3259332478046417, 0.5960829854011536, 0.250728964805603, -0.48180240392684937, 0.3270476162433624, -0.054164521396160126, 0.5270575881004333, -0.35401248931884766, 0.13275831937789917, -0.16906169056892395, -0.016834840178489685, -0.45141202211380005, -1.1481261253356934, 0.5588223338127136, 0.10298995673656464, -0.0909489095211029, -0.29584240913391113, 0.5730869174003601, -0.46386340260505676, -0.3988664746284485, 0.7062087059020996, 0.28057968616485596, 0.019012821838259697, 0.22140508890151978, -0.8422211408615112, 0.4517538249492645, 0.09880779683589935, -0.5194219946861267, -0.005779911298304796, 0.3234957158565521, -0.08387821167707443, 0.4874887764453888, 0.2828727960586548, -0.024141857400536537, -0.0496860034763813, 0.19850322604179382, 0.6753623485565186, -0.9333300590515137, -0.03954930230975151, -1.1540048122406006, 0.6469908356666565, -0.22842007875442505, -0.24280864000320435, 0.4761551022529602, 0.3634302616119385, 0.6391556262969971, 0.32681015133857727, 0.5987365245819092, -0.0025548681151121855, 0.38723596930503845, -0.34121736884117126, 0.8613384962081909, -0.6259845495223999, 0.16706623136997223, -0.58327716588974, -1.0665830373764038, 0.006671038921922445, 0.9285224676132202, -0.6766796708106995, 0.07637276500463486, 0.5824799537658691, 0.6388411521911621, 0.026043470948934555, 0.3023236095905304, 0.2211519181728363, 0.3524013161659241, 0.25120851397514343, 0.40448421239852905, 1.3138635158538818, -0.04520060494542122, 0.10597608983516693, -0.25930628180503845, 0.021744124591350555, -0.04770929366350174, -0.822479784488678, -0.7339748740196228, -0.5570431351661682, -0.3320655822753906, -0.4912794828414917, -0.12415749579668045, 1.0664280652999878, 0.2984216809272766, -0.8029547333717346, -0.37552013993263245, 0.0056153712794184685, 0.3084583580493927, 0.3144959807395935, -0.2659889757633209, 0.30847522616386414, 0.08527283370494843, -0.7807247042655945, -0.1724013239145279, 0.540810763835907, -0.04501860961318016, -0.2862105369567871, -0.13189513981342316, -0.3401273488998413, 0.5420214533805847, 0.3900226950645447, -0.030420076102018356, -1.2203023433685303, -0.8290621638298035, 0.2011803388595581, -0.7018015384674072, 0.19843213260173798, 0.74049311876297, -0.19324703514575958, 0.35322630405426025, 0.2914837896823883, 0.16243213415145874, -0.27307865023612976, 0.32288891077041626, 0.670741617679596, -0.28407493233680725, 0.045017797499895096, 0.455582857131958, 0.5230309367179871, 0.4815185070037842, -0.40042394399642944, 0.28126004338264465, -0.026976995170116425, -0.8204667568206787, -0.7199898958206177, 0.5218867063522339, -1.0014299154281616, -0.0458793118596077, 1.1995443105697632, 0.05072983726859093, -0.050065889954566956, 0.24892379343509674, -0.2708498537540436, 0.38717198371887207, -0.4848976135253906, 0.6431487202644348, 0.9007545113563538, -0.13330791890621185, -0.2754267156124115, -0.512768030166626, 0.4594274163246155, 0.7308800220489502, -0.6390145421028137, 0.25474628806114197, 0.71100914478302, 0.19698204100131989, 0.14398713409900665, 0.5296204686164856, -0.07178708165884018, -0.14453543722629547, -0.4485492408275604, 0.30760225653648376, 0.6723677515983582, 0.08937377482652664, -0.45566612482070923, -0.06891394406557083, -0.02161414548754692, 0.41271379590034485 ]
http://arxiv.org/abs/2402.11111v1
http://arxiv.org/pdf/2402.11111v1
Language Models as Science Tutors
2024-02-16T22:24:13
2024-02-16T22:24:13
Alexis Chevalier, Jiayi Geng, Alexander Wettig, Howard Chen, Sebastian Mizera, Toni Annala, Max Jameson Aragon, Arturo Rodríguez Fanlo, Simon Frieder, Simon Machado, Akshara Prabhakar, Ellie Thieu, Jiachen T. Wang, Zirui Wang, Xindi Wu, Mengzhou Xia, Wenhan Jia, Jiatong Yu, Jun-Jie Zhu, Zhiyong Jason Ren, Sanjeev Arora, Danqi Chen
cs.CL
cs.CL
NLP has recently made exciting progress toward training language models (LMs) with strong scientific problem-solving skills. However, model development has not focused on real-life use-cases of LMs for science, including applications in education that require processing long scientific documents. To address this, we introduce TutorEval and TutorChat. TutorEval is a diverse question-answering benchmark consisting of questions about long chapters from STEM textbooks, written by experts. TutorEval helps measure real-life usability of LMs as scientific assistants, and it is the first benchmark combining long contexts, free-form generation, and multi-disciplinary scientific knowledge. Moreover, we show that fine-tuning base models with existing dialogue datasets leads to poor performance on TutorEval. Therefore, we create TutorChat, a dataset of 80,000 long synthetic dialogues about textbooks. We use TutorChat to fine-tune Llemma models with 7B and 34B parameters. These LM tutors specialized in math have a 32K-token context window, and they excel at TutorEval while performing strongly on GSM8K and MATH. Our datasets build on open-source materials, and we release our models, data, and evaluations.
[ -0.12197837233543396, -0.5715158581733704, 0.38978835940361023, 0.24702762067317963, -0.08503931760787964, 0.2828500270843506, -0.3556719422340393, -0.41153258085250854, -0.04806332662701607, 0.4305786192417145, -0.5123935341835022, -0.5418992638587952, -0.24594931304454803, 0.3627318739891052, -0.37414559721946716, 1.0263645648956299, 0.1730058193206787, 0.428047239780426, -0.6754114627838135, 0.01866891048848629, -0.21045704185962677, -0.34083592891693115, -0.6420707106590271, -0.15845073759555817, 0.4365619421005249, 0.27202391624450684, 0.5393338203430176, 0.582412838935852, 0.4851644039154053, 0.1944231539964676, -0.34269437193870544, 0.20764268934726715, -0.3548569679260254, 0.45302823185920715, -0.4082345962524414, -0.606867253780365, -0.31667184829711914, -0.152271568775177, 0.5592867732048035, 1.0401513576507568, -0.03376401588320732, 0.05926883593201637, -0.05419024080038071, 0.5641432404518127, -0.1983623504638672, 0.4646783173084259, -0.5001988410949707, -0.16050028800964355, -0.03637467324733734, 0.07733411341905594, -0.5440496802330017, -0.3794483542442322, 0.4355784058570862, -0.648453414440155, 0.3812137842178345, 0.22956576943397522, 0.4704398810863495, 0.24913936853408813, -0.28263697028160095, -0.42604172229766846, -0.5385616421699524, 0.937473714351654, -0.9611281752586365, 0.3639872372150421, 0.4490284323692322, 0.520645022392273, -0.4237668514251709, -0.6806609034538269, -0.3603963255882263, -0.32848504185676575, -0.017687072977423668, 0.02384948544204235, -0.02710813656449318, -0.009080632589757442, 0.2432735562324524, 0.02751355618238449, -0.557614803314209, 0.15692710876464844, -0.810948371887207, -0.1120411679148674, 0.5259492993354797, 0.18222421407699585, 0.12885820865631104, -0.38836437463760376, -0.08179357647895813, -0.12169206887483597, -0.7328058481216431, 0.06065724417567253, 0.07936396449804306, 0.7852926850318909, 0.042433105409145355, 0.7071426510810852, 0.0714532807469368, 0.6854193210601807, -0.4083921015262604, -0.11721295118331909, -0.11425366252660751, -0.5250622630119324, 0.11340523511171341, 0.06628245860338211, 0.6162043809890747, 0.3575502634048462, 0.4105572998523712, -0.09212087839841843, 0.059934623539447784, -0.15388186275959015, 0.04607453569769859, -1.0964610576629639, -0.27643436193466187, 0.19751136004924774, -0.018607158213853836, -0.11207140982151031, -0.3825565576553345, -0.8228325247764587, -0.48764604330062866, -0.39970043301582336, -0.03705276548862457, -0.3728070557117462, -0.127492755651474, 0.27602291107177734, 0.25654318928718567, -0.24936307966709137, 0.27426785230636597, -0.9559152126312256, 0.4781136214733124, 0.8501935601234436, 1.006438136100769, -0.21382762491703033, -0.23167328536510468, -0.19376590847969055, -0.18430183827877045, -0.29945287108421326, 0.6796162724494934, -0.36291924118995667, -0.582804799079895, -0.01580965705215931, 0.08466923236846924, -0.028586940839886665, -0.42899441719055176, 0.41432660818099976, -0.41031238436698914, 0.44214797019958496, -0.03163308650255203, -0.791032075881958, 0.01095191016793251, 0.01186305657029152, -0.4279995262622833, 1.0265265703201294, 0.04380239546298981, -0.5932722091674805, 0.007262083236128092, -0.8823415637016296, -0.030328264459967613, 0.13978101313114166, 0.038862962275743484, -0.20078620314598083, -0.10140321403741837, 0.17410163581371307, 0.5772337317466736, -0.4313512444496155, 0.6022356152534485, -0.1114998310804367, -0.11279086023569107, 0.12097647786140442, -0.3919452726840973, 0.5533455014228821, 0.19765987992286682, 0.07176705449819565, 0.13755734264850616, -0.8608472943305969, 0.012071873061358929, -0.0035013456363230944, -0.024381518363952637, -0.49123069643974304, 0.31305447220802307, 0.048488717526197433, -0.012314959429204464, 0.18146337568759918, -0.7803386449813843, 0.3369040787220001, -0.7093948721885681, 0.7161899209022522, 0.4984203577041626, -0.28003543615341187, 0.18485569953918457, -0.10352841019630432, 0.42582622170448303, -0.25745606422424316, -0.2160850316286087, -0.48622429370880127, -0.5016561150550842, -0.6194853186607361, -0.19928209483623505, 0.24030055105686188, 0.27002617716789246, -0.4537118077278137, 0.18598203361034393, -0.2446092814207077, -0.7803767919540405, -0.6967896819114685, 0.10319481790065765, 0.3216973841190338, 0.9317740797996521, 0.6481704115867615, 0.09114377200603485, -0.5175163745880127, -0.8611568808555603, -0.35734209418296814, -0.10089036822319031, -0.23946832120418549, 0.3936246335506439, 0.5786940455436707, 0.06100268289446831, 1.1919077634811401, -0.5183953642845154, 0.005301966331899166, -0.0008067316957749426, -0.1028105691075325, 0.3514151871204376, 0.37067103385925293, 0.582394003868103, -0.5012560486793518, -0.5012511014938354, -0.1162019670009613, -0.6869220733642578, -0.09855566173791885, 0.2952793836593628, 0.1277816742658615, 0.20386800169944763, 0.5808869004249573, -0.6734357476234436, 0.23780560493469238, 0.55640709400177, -0.33466988801956177, 0.7728539705276489, -0.1296900510787964, -0.11033125966787338, -1.3165520429611206, 0.07170698046684265, 0.11190766841173172, -0.21497222781181335, -0.6370711326599121, -0.026527922600507736, 0.027920572087168694, -0.5448868870735168, -0.6647495031356812, 0.8370838165283203, -0.22536629438400269, -0.1310296207666397, -0.3602728247642517, 0.23590710759162903, -0.05533929914236069, 0.15936359763145447, 0.1907859593629837, 0.9550117254257202, 0.5658668875694275, -0.32871437072753906, 0.4178088307380676, 0.19713521003723145, -0.5658340454101562, 0.2547147274017334, -1.041191816329956, -0.014077696949243546, -0.03288941830396652, 0.3824820816516876, -0.7071928977966309, -0.23392342031002045, -0.16090552508831024, -0.13226503133773804, 0.019775759428739548, -0.1503940224647522, -0.47580206394195557, -0.30301710963249207, -0.010339025408029556, 0.3302991986274719, 0.3292323052883148, -0.6250827312469482, 0.3093021512031555, 0.03272460401058197, -0.7432100176811218, -0.6062662601470947, -0.24169625341892242, 0.020195772871375084, 0.08825189620256424, -0.5732949376106262, 0.27436935901641846, -0.2782074809074402, -0.1920366883277893, 0.10137154906988144, -0.14183583855628967, -0.051387377083301544, 0.010837104171514511, 0.25413501262664795, 0.3715159296989441, -0.47358959913253784, 0.3536539673805237, 0.1573449820280075, -0.09921590983867645, 0.1907862424850464, -0.08313758671283722, 0.5145047307014465, -0.476591020822525, -0.3959605395793915, -0.2660634219646454, 0.27758824825286865, 0.5874896049499512, -0.03234914690256119, 0.7052438259124756, 0.023563681170344353, -0.22848980128765106, -0.1824343353509903, -0.3105398416519165, -0.5190206170082092, -0.4658876359462738, 0.5920538902282715, -0.1615474969148636, -1.045722246170044, 0.4992496371269226, -0.0004346553760115057, 0.4775048792362213, 0.2862222194671631, 0.4203268587589264, -0.06472670286893845, 1.0038352012634277, 0.49648550152778625, 0.0759265199303627, 0.17429323494434357, -0.12284126877784729, 0.3144865930080414, -0.5931567549705505, -0.25234508514404297, -0.6461915373802185, 0.1601526290178299, -0.3462885916233063, -0.42098140716552734, 0.21396221220493317, 0.14280115067958832, -0.21752163767814636, 0.48951342701911926, -0.6440325975418091, 0.8415635824203491, 0.3334449827671051, -0.3120332360267639, 0.3029620051383972, -0.03693430870771408, -0.2041400969028473, -0.3429230749607086, -0.6423110961914062, -0.7192195057868958, 1.1089308261871338, 0.36305537819862366, 0.7051109075546265, -0.16976067423820496, 0.2725013196468353, -0.14753197133541107, 0.3147529661655426, -0.7538706660270691, 0.6633113622665405, -0.10260272026062012, -0.6335357427597046, -0.374045193195343, -0.34431952238082886, -0.843238353729248, 0.32912734150886536, 0.024615779519081116, -0.5070302486419678, -0.22194062173366547, 0.12860828638076782, -0.2608722448348999, 0.21982935070991516, -0.583771288394928, 0.7861367464065552, -0.2673664391040802, -0.4056732952594757, -0.2054286003112793, -0.7057482600212097, 0.22982358932495117, -0.05779415741562843, 0.3329733610153198, -0.3020135462284088, 0.19223326444625854, 0.7814810872077942, -0.36071786284446716, 1.0065325498580933, -0.07696706801652908, 0.012874305248260498, 0.16943952441215515, 0.20428630709648132, 0.04741505905985832, 0.10746163874864578, -0.24468719959259033, 0.008871193043887615, 0.4814824163913727, -0.5175471305847168, -0.6652718782424927, 0.9134071469306946, -0.8102937340736389, -0.8113332390785217, -0.4949161410331726, -0.7936827540397644, -0.2787097692489624, 0.11135010421276093, -0.247488871216774, 0.29146069288253784, -0.0616321787238121, 0.48045188188552856, 0.3742985129356384, -0.0685543492436409, 0.33753129839897156, 0.6950935125350952, -0.4535601735115051, -0.11674186587333679, 0.8611068725585938, -0.01859414018690586, 0.4101295471191406, 0.04354874789714813, 0.3718361556529999, -0.3387855291366577, -0.3965097665786743, -0.2829413414001465, 0.42191222310066223, -0.6537634134292603, -0.17970126867294312, -0.5322714447975159, -0.4907287061214447, -0.5798835754394531, -0.04621683433651924, -0.5098176598548889, -0.7140869498252869, -0.5039052963256836, -0.18373611569404602, 0.5836520195007324, 0.5548654198646545, 0.10467740148305893, 0.181976318359375, -0.6993768215179443, -0.0359104759991169, 0.19435568153858185, 0.13060754537582397, -0.04603084921836853, -0.4808708429336548, -0.2775099277496338, 0.21287313103675842, -0.17499402165412903, -0.5725043416023254, 0.6003337502479553, 0.337454617023468, 0.2732708752155304, 0.17996634542942047, -0.08838804811239243, 0.5111779570579529, -0.6859353184700012, 0.8877152800559998, 0.022964201867580414, -0.6997650265693665, 0.4727824032306671, -0.31138020753860474, 0.06989282369613647, 0.39827725291252136, 0.7388454675674438, -0.6398530006408691, -0.3548576533794403, -0.2623097002506256, -0.7071173191070557, 0.5078712105751038, -0.1388590782880783, 0.20748436450958252, 0.10226082801818848, 0.43795067071914673, 0.32073983550071716, 0.23310044407844543, -0.4977000951766968, 0.05328309163451195, -0.6721989512443542, -0.3666565716266632, -0.2574246823787689, -0.06276559829711914, -0.19151410460472107, -0.4555623531341553, 0.4948332607746124, -0.32082799077033997, -0.21991664171218872, 0.005569099448621273, 0.031349778175354004, 0.13692592084407806, 0.3149789273738861, 0.8948197960853577, 0.8978828191757202, -0.380143940448761, 0.09195153415203094, -0.08584234863519669, -0.43752962350845337, -0.08965785056352615, 0.30162864923477173, -0.03548189252614975, 0.02079932764172554, 0.3181203305721283, 0.669851541519165, 0.4164702594280243, -0.9197640419006348, 0.2811349332332611, 0.04111331328749657, -0.22373737394809723, -0.18590901792049408, 0.15730653703212738, 0.5211769938468933, -0.04198149964213371, 0.539090633392334, -0.07269492745399475, -0.23512399196624756, -0.2819535732269287, 0.04643046483397484, 0.33794841170310974, -0.225691020488739, -0.5650655627250671, 0.654192328453064, 0.30445194244384766, -0.521587610244751, 0.5609397292137146, 0.26224127411842346, -0.38142165541648865, 0.7286661267280579, 0.864922285079956, 0.35364463925361633, -0.2750656306743622, 0.25641337037086487, 0.3793332278728485, -0.035748422145843506, -0.07741137593984604, 0.05228576064109802, 0.08295004814863205, -0.500506579875946, -0.5707850456237793, -0.6562862992286682, -0.8999233841896057, 0.15242712199687958, -0.5853517651557922, 0.32692939043045044, -0.3718128800392151, 0.07988883554935455, 0.3335476219654083, 0.08849973231554031, -0.3825075030326843, -0.031363990157842636, -0.5064164996147156, 0.961163341999054, -0.8565964698791504, 0.658443808555603, 0.482305645942688, -0.16402186453342438, -0.49383974075317383, -0.7700294256210327, -0.031011424958705902, -0.6613035202026367, 0.9366047978401184, 0.11138613522052765, 0.09064681082963943, 0.1074937954545021, -0.7206193804740906, -0.77876216173172, 0.9305230975151062, 0.3551359474658966, -0.7441105842590332, -0.2778712809085846, 0.21589232981204987, 0.9131681323051453, -0.4580121636390686, 0.3832510709762573, 0.31289801001548767, 0.13146452605724335, 0.03707830607891083, -0.9422674179077148, -0.20567619800567627, -0.22050657868385315, -0.2919546365737915, -0.11794572323560715, -0.47644010186195374, 0.8594549894332886, -0.20226401090621948, -0.03429674729704857, 0.27651405334472656, 0.6986422538757324, 0.5737006068229675, 0.3727357089519501, 0.18571825325489044, 0.20976592600345612, 0.7064260244369507, -0.054248783737421036, 0.8615708947181702, -0.4846767485141754, 0.3286019265651703, 0.993212878704071, -0.39322489500045776, 0.8769746422767639, 0.61122065782547, -0.275491863489151, 0.4705583155155182, 0.6797012686729431, -0.13069133460521698, 0.3780638575553894, 0.44386255741119385, -0.302749365568161, -0.19049634039402008, -0.3414953351020813, -0.41299936175346375, 0.03219199553132057, 0.619261622428894, -0.0306441280990839, -0.4317667782306671, 0.22959952056407928, -0.01902078092098236, 0.37552183866500854, -0.05321792513132095, 0.32004591822624207, 0.3556000292301178, -0.5708755254745483, 0.4811058044433594, -0.09694735705852509, 0.48178356885910034, -0.5282902717590332, -0.04961859807372093, -0.32044005393981934, -0.00034937061718665063, -0.11401411145925522, -0.7164669632911682, 0.11102539300918579, 0.19226188957691193, -0.27219218015670776, -0.1458824723958969, 0.4706956148147583, -0.6650298237800598, -0.559992790222168, 0.0042707063257694244, 0.47867661714553833, 0.5134580731391907, 0.3261510729789734, -0.5866960287094116, -0.2591831684112549, -0.28563645482063293, -0.2993447184562683, 0.36601972579956055, -0.0197202879935503, -0.20612283051013947, 1.1719871759414673, 0.9387821555137634, 0.33690860867500305, 0.06381913274526596, 0.1278836578130722, 0.8830372095108032, -0.5107920169830322, -0.14327172935009003, -0.6562824845314026, 0.22565068304538727, -0.005250600166618824, -0.3514827787876129, 0.7855733036994934, 0.7176241874694824, 0.6654559373855591, -0.14847706258296967, 0.5672690272331238, 0.4250746965408325, 1.0318324565887451, -0.3819971978664398, 0.7579712271690369, -0.34912121295928955, 0.2778071165084839, -0.05957702919840813, -0.908311128616333, -0.501316249370575, 0.5676848292350769, -0.24281924962997437, -0.17651693522930145, 0.6906367540359497, 0.8620045781135559, -0.04692453891038895, 0.3653331995010376, 0.20886556804180145, 0.08224895596504211, 0.6961085200309753, 0.28784409165382385, 0.9243730902671814, -0.18634270131587982, 0.4149901568889618, -0.2159540206193924, 0.09139609336853027, -0.28948384523391724, -0.9333842396736145, -1.2556878328323364, -0.47905096411705017, -0.21751141548156738, -0.13969722390174866, 0.16723714768886566, 1.0258560180664062, 0.7014221549034119, -0.8350614309310913, -0.30727720260620117, -0.21381650865077972, 0.0438261404633522, 0.1613585650920868, -0.26945045590400696, 0.6768112182617188, -0.3774842917919159, -0.8696911334991455, 0.9224228858947754, 0.01597503386437893, 0.21470826864242554, -0.6198955178260803, 0.14960695803165436, 0.11758415400981903, 0.21605205535888672, 0.5067411065101624, 0.5697462558746338, -0.7488336563110352, -0.2769659161567688, 0.5019316077232361, -0.09951868653297424, -0.10438580811023712, 0.7876250743865967, -0.7598103284835815, 0.5441233515739441, 0.2959728538990021, 0.7011269927024841, 0.5503168702125549, -0.052827704697847366, 0.5297325849533081, -0.6645523905754089, 0.1924440562725067, 0.6187971234321594, 0.16956086456775665, 0.5591775178909302, 0.11580213904380798, 0.5029482841491699, 0.07066452503204346, -0.8411896824836731, -1.291031837463379, 0.0036626395303756, -0.7801493406295776, -0.32560044527053833, 0.7662867307662964, -0.23372186720371246, -0.2370285540819168, -0.033964481204748154, -0.17763952910900116, -0.0683261826634407, -0.3957377076148987, 0.7701841592788696, 0.9954211115837097, -0.14923718571662903, -0.18518801033496857, -0.7137508392333984, 0.6259814500808716, 0.7951316833496094, -0.753589928150177, 0.19430449604988098, 0.31410348415374756, 0.31349077820777893, 0.38913100957870483, 0.12480425089597702, 0.11514794081449509, 0.14254118502140045, -0.23371364176273346, 0.0026746555231511593, -0.42938119173049927, -0.4209080934524536, 0.002864169655367732, 0.06511786580085754, -0.04427793249487877, 0.3349721431732178 ]
http://arxiv.org/abs/2402.11100v2
http://arxiv.org/pdf/2402.11100v2
When LLMs Meet Cunning Texts: A Fallacy Understanding Benchmark for Large Language Models
2024-02-16T22:12:53
2024-06-09T17:55:05
Yinghui Li, Qingyu Zhou, Yuanzhen Luo, Shirong Ma, Yangning Li, Hai-Tao Zheng, Xuming Hu, Philip S. Yu
cs.CL
cs.CL
Recently, Large Language Models (LLMs) make remarkable evolutions in language understanding and generation. Following this, various benchmarks for measuring all kinds of capabilities of LLMs have sprung up. In this paper, we challenge the reasoning and understanding abilities of LLMs by proposing a FaLlacy Understanding Benchmark (FLUB) containing cunning texts that are easy for humans to understand but difficult for models to grasp. Specifically, the cunning texts that FLUB focuses on mainly consist of the tricky, humorous, and misleading texts collected from the real internet environment. And we design three tasks with increasing difficulty in the FLUB benchmark to evaluate the fallacy understanding ability of LLMs. Based on FLUB, we investigate the performance of multiple representative and advanced LLMs, reflecting our FLUB is challenging and worthy of more future study. Interesting discoveries and valuable insights are achieved in our extensive experiments and detailed analyses. We hope that our benchmark can encourage the community to improve LLMs' ability to understand fallacies. Our data and codes are available at https://github.com/THUKElab/FLUB.
[ -0.1978009194135666, -0.679716169834137, 0.6733086109161377, 0.32835108041763306, -0.25750741362571716, 0.22245344519615173, -0.23435623943805695, -0.35305967926979065, -0.2908473014831543, 0.6211652159690857, -0.7425682544708252, -0.42680755257606506, -0.8446557521820068, 0.3386136293411255, -0.4813249111175537, 0.8106364011764526, -0.156560480594635, 0.08660518378019333, -0.3240810036659241, 0.005900121759623289, -0.3313853442668915, -0.43767765164375305, -0.3979358971118927, -0.48367005586624146, 0.49414241313934326, 0.37803778052330017, 0.730545163154602, 0.39064091444015503, 0.669731855392456, 0.4010382890701294, -0.11235872656106949, 0.456382155418396, -0.8154175281524658, -0.08904555439949036, -0.23559662699699402, -0.8690199255943298, -0.2373160421848297, -0.09734299778938293, 0.4718857705593109, 0.6403909921646118, -0.18280962109565735, -0.018800871446728706, -0.04590624198317528, 0.7953610420227051, -0.6376388072967529, 0.03902418538928032, -1.067850947380066, -0.14104551076889038, -0.4251982867717743, 0.07812637835741043, -0.5756574273109436, -0.2852940857410431, -0.17265170812606812, -0.4556207060813904, 0.19321194291114807, 0.16605374217033386, 0.8982721567153931, 0.40091538429260254, -0.4911797046661377, -0.4590357542037964, -0.34317120909690857, 0.9082043766975403, -0.7360072135925293, 0.3043961524963379, 0.06650420278310776, 0.3909130394458771, -0.6272754073143005, -0.6483137011528015, -0.5277280211448669, -0.17679022252559662, -0.0235595703125, -0.1102643683552742, -0.24160964787006378, -0.21418191492557526, 0.25220730900764465, 0.24889731407165527, -0.5476849675178528, 0.004393978510051966, 0.045079007744789124, -0.16788078844547272, 0.5965757369995117, 0.24806687235832214, 0.13202013075351715, -0.2836540937423706, -0.5185611844062805, 0.13305318355560303, -0.577519416809082, -0.1427406221628189, 0.5237084627151489, 0.02743401937186718, -0.0315147265791893, 0.2946442663669586, 0.11044792085886002, 0.5054727792739868, -0.17525659501552582, -0.3385586440563202, 0.3647423982620239, -0.23326589167118073, -0.18651556968688965, -0.22737018764019012, 0.607949435710907, 0.2354448437690735, 0.7436709403991699, -0.19066502153873444, -0.3338547945022583, 0.004781610332429409, 0.2570590376853943, -0.43794912099838257, -0.13435375690460205, 0.0773594081401825, -0.31328025460243225, -0.3954378366470337, -0.1662197858095169, -0.5538151264190674, -0.7084643840789795, 0.1181102842092514, 0.5457800626754761, -0.7501788139343262, -0.34036245942115784, 0.4162161648273468, -0.28533536195755005, 0.22909513115882874, 0.49882981181144714, -0.6632082462310791, 0.5311635136604309, 0.9966301321983337, 0.6616678833961487, -0.33677446842193604, -0.5728153586387634, -0.2652401924133301, 0.2411169558763504, -0.17678284645080566, 1.0037225484848022, -0.33191901445388794, -0.239047572016716, -0.2847108542919159, -0.21182984113693237, -0.3539191782474518, -0.7559062242507935, 0.8557162284851074, -0.3453522026538849, -0.019192522391676903, -0.1811463087797165, -0.5200983285903931, -0.31497693061828613, 0.43033963441848755, -0.6895790696144104, 0.8496134281158447, -0.06561855226755142, -0.9170997738838196, 0.21080516278743744, -0.3711089491844177, -0.5131323337554932, 0.056492604315280914, -0.1276867687702179, -0.22106552124023438, 0.22008682787418365, 0.15640631318092346, 0.46288543939590454, -0.5051423907279968, 0.400306761264801, -0.3739291727542877, -0.47321146726608276, 0.7268343567848206, -0.8741748929023743, 0.6910346150398254, 0.13082773983478546, -0.37095317244529724, -0.4702959656715393, -0.5862637162208557, -0.04712940379977226, 0.44166305661201477, -0.4963495135307312, -0.3984377980232239, 0.2879481911659241, -0.07162334769964218, -0.009476336650550365, 0.4796169698238373, -0.16607588529586792, 0.09052391350269318, -0.4135749638080597, 0.47372183203697205, 0.9157511591911316, -0.3111204206943512, -0.19328227639198303, -0.5256341695785522, 0.24373190104961395, 0.056003719568252563, -0.04793723672628403, -0.012697595171630383, -0.31097403168678284, -0.6701720952987671, -0.29970496892929077, 0.3047204613685608, 0.4945111870765686, -0.6573431491851807, 0.2240421324968338, -0.672467052936554, -0.4905766248703003, -0.5797234773635864, 0.5272709727287292, 0.6086580753326416, 0.31894415616989136, 0.19210626184940338, -0.014446103014051914, -0.08545546233654022, -1.0418076515197754, -0.9448347091674805, -0.30085164308547974, -0.14861290156841278, 0.38395771384239197, 0.7081650495529175, -0.052786607295274734, 0.6867112517356873, -0.3764873743057251, -0.10751757025718689, -0.4016561210155487, 0.3537648320198059, 0.31305262446403503, 0.14971566200256348, 0.40036413073539734, -1.0285968780517578, -0.2706698179244995, -0.22400160133838654, -0.5964406132698059, -0.30367738008499146, -0.04426281154155731, 0.14075607061386108, 0.2630614638328552, 0.3599605858325958, -0.5608099699020386, 0.12645620107650757, 0.42950448393821716, -0.3295082747936249, 0.7113760709762573, 0.11739320307970047, 0.38696298003196716, -0.8684081435203552, -0.06830835342407227, -0.04810073599219322, -0.422339528799057, -0.46274060010910034, 0.15603254735469818, 0.18112246692180634, 0.5750661492347717, -0.6627714037895203, 0.4527471959590912, -0.4680089056491852, 0.03483167290687561, 0.05644799768924713, 0.33899152278900146, 0.020654084160923958, 0.2680876553058624, -0.1626541018486023, 0.6494885683059692, 0.1613793969154358, -0.3279074728488922, 0.4703609347343445, -0.034824151545763016, -0.45462700724601746, 0.7476280331611633, -0.343405544757843, 0.03015553578734398, -0.007591395638883114, 0.14880335330963135, -1.140555739402771, -0.3331651985645294, 0.03955605998635292, -0.5120189189910889, 0.1556817889213562, -0.11450399458408356, -0.8422631621360779, -0.2872769832611084, -0.3258766531944275, 0.2471163421869278, 0.43498870730400085, -0.6009848713874817, 0.5364073514938354, 0.1902303546667099, 0.30529314279556274, -0.9494556784629822, -1.0023735761642456, 0.2880781292915344, -0.48762279748916626, -0.8732048273086548, 0.2735256254673004, -0.25614067912101746, -0.4558676481246948, -0.24282795190811157, -0.2154773324728012, -0.010018858127295971, 0.22226935625076294, -0.049681369215250015, -0.2419966608285904, -0.3044816553592682, 0.009660323150455952, -0.3131447732448578, -0.0000033373714813933475, 0.29351192712783813, 0.12627620995044708, 0.3903619050979614, -0.2696166932582855, -0.5028853416442871, -0.07370993494987488, -0.03937514126300812, 0.524080216884613, 0.4179241359233856, 0.5198864340782166, 0.21710728108882904, -0.46542540192604065, -0.4982399642467499, -0.8365464806556702, -0.01344561018049717, -0.567054033279419, 0.39396029710769653, -0.73656165599823, -0.37952885031700134, 0.4739621579647064, -0.3389005959033966, 0.22530172765254974, 0.23587775230407715, 0.4664324223995209, -0.04541276395320892, 0.8751183748245239, 0.2653263211250305, 0.06993918865919113, -0.07510584592819214, 0.17142237722873688, 0.001528759952634573, -0.3916662633419037, -0.21604648232460022, -0.5525472164154053, -0.39861229062080383, -0.364944726228714, -0.4768911898136139, 0.1970447599887848, 0.2521103024482727, 0.05064801126718521, 0.2858273983001709, -0.12466563284397125, 0.6393271088600159, 0.17801369726657867, 0.09014956653118134, 0.6039098501205444, 0.028664613142609596, -0.3989487886428833, -0.3090953826904297, -0.49541953206062317, -0.6563867330551147, 1.0149998664855957, 0.5039255619049072, 0.8719813823699951, 0.5744149088859558, 0.5379127860069275, 0.3690912127494812, 0.22062355279922485, -0.6872916221618652, 0.8813926577568054, -0.3322724997997284, -0.7167420983314514, 0.04924512654542923, -0.6145737171173096, -0.8572250604629517, 0.3468806743621826, 0.003909101244062185, -0.8033062219619751, -0.3051098883152008, -0.03087146021425724, 0.24582597613334656, 0.40388524532318115, -0.7902235388755798, 0.9343045949935913, -0.4047262370586395, -0.27881699800491333, -0.3697742521762848, -0.5120241641998291, 0.6037642955780029, -0.1275099217891693, 0.6237745881080627, -0.2751377820968628, -0.5327956676483154, 0.6608841419219971, -0.37876805663108826, 0.8201698064804077, 0.19251205027103424, -0.23792889714241028, -0.008639179170131683, 0.2352597415447235, 0.42189711332321167, -0.004821922164410353, -0.4578057825565338, 0.20598961412906647, -0.06567034870386124, -0.6235948801040649, -0.5727102160453796, 0.671638548374176, -0.5581339001655579, -0.7149327397346497, -0.49948444962501526, -0.37808212637901306, -0.36941415071487427, 0.23465369641780853, 0.15086129307746887, 0.33439359068870544, -0.28658443689346313, 0.09877369552850723, 0.6599384546279907, 0.06310346722602844, 0.41962796449661255, 0.7192796468734741, -0.003632537554949522, -0.22963759303092957, 0.8760061860084534, 0.02905154973268509, 0.3637763261795044, 0.427671879529953, 0.06668812781572342, -0.32627665996551514, -0.9480260610580444, -0.38736769556999207, 0.46915480494499207, -1.1620453596115112, -0.1074991524219513, -0.42364436388015747, -0.22675904631614685, -0.232184037566185, -0.09838195890188217, -0.21940384805202484, -0.17266389727592468, -0.1968613862991333, 0.20261698961257935, 0.28640156984329224, 0.858454704284668, -0.025458186864852905, 0.3331562280654907, -0.7407463788986206, 0.3314911127090454, 0.10286153852939606, 0.18403279781341553, -0.10780113935470581, -0.7401836514472961, 0.08287759125232697, -0.1605556458234787, -0.42458316683769226, -1.0878864526748657, 0.07754094153642654, 0.01183901634067297, 0.7513012886047363, 0.5636656284332275, 0.07820875197649002, 0.5608066320419312, -0.4641735255718231, 0.6578671336174011, 0.1462273895740509, -1.0395745038986206, 0.30292657017707825, -0.3127933442592621, 0.2972099184989929, 0.603890061378479, 0.46283280849456787, -0.3821621239185333, -0.5054718255996704, -0.6250482797622681, -0.6516339778900146, 0.6300216913223267, 0.3983568549156189, 0.21251028776168823, 0.023406250402331352, 0.41887524724006653, 0.41284292936325073, 0.3815898597240448, -1.1062594652175903, -0.2995244860649109, 0.35975345969200134, -0.37609243392944336, -0.004515922628343105, -0.1354314088821411, -0.09293965995311737, 0.16557243466377258, 0.5872118473052979, -0.17887677252292633, -0.18335369229316711, -0.14897313714027405, -0.41866663098335266, -0.04775369539856911, 0.25354570150375366, 0.37543541193008423, 0.8301231861114502, -0.027372781187295914, 0.35602644085884094, 0.5068122148513794, -0.6475754976272583, 0.0243149995803833, 0.10857491940259933, 0.13297170400619507, -0.09526932239532471, 0.829733669757843, 0.3516872525215149, 0.5578941702842712, -0.9858260154724121, 0.662114679813385, -0.16459089517593384, -0.36375612020492554, -0.18665966391563416, 0.3453878164291382, 0.43798503279685974, 0.1386346071958542, 0.5716201066970825, 0.10165102034807205, 0.04808775335550308, -0.41239288449287415, 0.1266116052865982, 0.5254051089286804, 0.045088786631822586, -0.06206225976347923, 0.36739078164100647, 0.2905401885509491, -0.5484035015106201, 0.23996470868587494, -0.30083903670310974, -0.6102182269096375, 0.6138868927955627, 0.497461199760437, 0.5667856931686401, 0.02842297963798046, 0.19919109344482422, -0.10845985263586044, 0.6706113219261169, -0.16100145876407623, 0.33312076330184937, 0.18828053772449493, -0.7231041789054871, -0.3097749650478363, -0.568613588809967, -0.5445016622543335, 0.4353022575378418, -0.14836570620536804, 0.6685131788253784, -0.3047434985637665, 0.18017803132534027, 0.2009582370519638, 0.24916201829910278, -0.42380771040916443, 0.06365975737571716, 0.11358358711004257, 1.0632308721542358, -0.5917021036148071, 0.5941171646118164, 0.5584592819213867, -0.005171752534806728, -0.3894692063331604, 0.38826462626457214, 0.3397623598575592, -1.0147653818130493, 0.39081794023513794, 0.47591227293014526, -0.4249207377433777, -0.023199280723929405, -0.7385212182998657, -0.43920353055000305, 0.7203640937805176, 0.6826978325843811, -0.6183093786239624, -0.06747164577245712, 0.35231614112854004, 0.33775800466537476, -0.19781938195228577, 0.41380301117897034, 0.7947421073913574, 0.7936597466468811, 0.14940090477466583, -0.8351878523826599, 0.2992202639579773, -0.1131877601146698, -0.4825156331062317, 0.18287359178066254, -0.9031910300254822, 0.8590757846832275, -0.26778772473335266, -0.22604741156101227, 0.07903145253658295, 0.463581383228302, 0.39960038661956787, 0.559198260307312, 0.8437566757202148, 0.49910590052604675, 0.6096032857894897, -0.18745514750480652, 0.5504863858222961, 0.13822805881500244, 0.19298440217971802, 0.795970618724823, -0.1442350298166275, 0.8683628439903259, 0.5045556426048279, -0.34926363825798035, 0.4768768548965454, 0.6804187297821045, -0.028634021058678627, 0.2148660272359848, 0.5634012222290039, -0.15877339243888855, -0.6104894876480103, 0.25617945194244385, -0.20274333655834198, 0.3937896490097046, 0.5903630256652832, -0.06454909592866898, -0.3924413323402405, -0.2505071461200714, 0.3196326494216919, 0.5333619713783264, -0.08476763963699341, 0.6046125292778015, 0.29026514291763306, -0.6337438225746155, 0.8629518747329712, 0.16256871819496155, 0.9091107845306396, -0.5297524333000183, 0.11234404146671295, -0.09980903565883636, 0.2666005790233612, -0.1980525404214859, -0.9198139309883118, 0.12191454321146011, 0.04617302492260933, 0.16533233225345612, 0.04804680868983269, 0.5588378310203552, -0.02876679226756096, -0.5232293605804443, 0.5237748622894287, 0.4815397560596466, 0.5717938542366028, 0.11711753159761429, -1.1345330476760864, 0.18412429094314575, -0.004038953687995672, -0.4866299033164978, 0.14750030636787415, 0.7197272777557373, 0.14886873960494995, 0.9079458713531494, 0.35367777943611145, -0.034080881625413895, -0.12899138033390045, -0.05617363750934601, 0.735535204410553, -0.7723971605300903, -0.38889560103416443, -1.072155475616455, 0.2638871669769287, -0.2636232078075409, -0.38930732011795044, 0.5808396935462952, 0.45720914006233215, 0.674267053604126, 0.19210949540138245, 0.7229241728782654, 0.05466305464506149, 0.5530502200126648, -0.6832641959190369, 0.7421726584434509, -0.9552826285362244, 0.5501542091369629, -0.23137596249580383, -0.6394299864768982, -0.08455251902341843, 0.29839199781417847, -0.4604535400867462, 0.1699170023202896, 0.8097972273826599, 0.7622005939483643, -0.3488035798072815, 0.13853996992111206, 0.4469001293182373, 0.5064620971679688, 0.19131691753864288, 1.1273798942565918, 0.9671528339385986, -0.3831805884838104, 1.056257963180542, 0.02066183276474476, -0.1560438871383667, -0.4422834515571594, -1.1787829399108887, -1.2884445190429688, -0.3186253011226654, -0.22563113272190094, -0.40017443895339966, 0.2772381901741028, 0.6006461977958679, 0.3191964030265808, -0.5386083722114563, -0.1757948398590088, -0.26803115010261536, 0.6933028697967529, -0.14492906630039215, -0.25385090708732605, 0.045412156730890274, -0.2405942678451538, -0.9669886231422424, 0.4015941619873047, 0.049469757825136185, 0.04167965054512024, -0.43613091111183167, -0.1250351071357727, -0.3047043979167938, 0.5097322463989258, 0.04843634366989136, -0.07448802143335342, -0.957275390625, -0.16962818801403046, -0.19727163016796112, -0.21917980909347534, -0.011248826049268246, 0.6664847731590271, -0.5961822867393494, 0.10646269470453262, 0.5788734555244446, 0.533622145652771, 0.2619839608669281, -0.09012453258037567, 0.49286583065986633, -0.48826199769973755, -0.22237423062324524, 0.0627313107252121, 0.23601563274860382, 0.5260751843452454, -0.40433719754219055, 0.5108613967895508, 0.3842238485813141, -0.34552475810050964, -1.1397751569747925, 0.297309935092926, -0.6937305927276611, -0.6980937719345093, 1.1552751064300537, -0.3150327801704407, -0.3160126507282257, -0.33892756700515747, -0.04419342428445816, -0.1590518206357956, -0.23868215084075928, 0.8230947256088257, 1.0468635559082031, 0.09026812016963959, -0.03369514271616936, -0.7528709769248962, 0.4946296215057373, 0.7086845636367798, -0.7884856462478638, 0.2825113534927368, 0.367366760969162, 0.5464566946029663, 0.057009391486644745, 0.4311676621437073, -0.01063351146876812, 0.351598858833313, 0.03184961900115013, -0.4589322507381439, 0.041698649525642395, -0.17625373601913452, -0.09999209642410278, 0.31812185049057007, 0.07642348855733871, 0.13914412260055542 ]
http://arxiv.org/abs/2403.15397v1
http://arxiv.org/pdf/2403.15397v1
Regulating Large Language Models: A Roundtable Report
2024-02-16T21:49:17
2024-02-16T21:49:17
Gabriel Nicholas, Paul Friedl
cs.CY
cs.CY, cs.AI, cs.CL
On July 20, 2023, a group of 27 scholars and digital rights advocates with expertise in law, computer science, political science, and other disciplines gathered for the Large Language Models, Law and Policy Roundtable, co-hosted by the NYU School of Law's Information Law Institute and the Center for Democracy & Technology. The roundtable convened to discuss how law and policy can help address some of the larger societal problems posed by large language models (LLMs). The discussion focused on three policy topic areas in particular: 1. Truthfulness: What risks do LLMs pose in terms of generating mis- and disinformation? How can these risks be mitigated from a technical and/or regulatory perspective? 2. Privacy: What are the biggest privacy risks involved in the creation, deployment, and use of LLMs? How can these risks be mitigated from a technical and/or regulatory perspective? 3. Market concentration: What threats do LLMs pose concerning market/power concentration? How can these risks be mitigated from a technical and/or regulatory perspective? In this paper, we provide a detailed summary of the day's proceedings. We first recap what we deem to be the most important contributions made during the issue framing discussions. We then provide a list of potential legal and regulatory interventions generated during the brainstorming discussions.
[ -0.5016308426856995, -0.7780787348747253, 0.7054675221443176, 0.00865164678543806, 0.13672445714473724, 0.14196659624576569, -0.398762971162796, -0.7907335162162781, 0.03211389109492302, 0.9547531604766846, -0.03856232762336731, -0.21632443368434906, -0.7445917129516602, -0.1502055525779724, -0.7086839079856873, 0.9277058839797974, 0.056071072816848755, 0.03717411309480667, -0.06039325147867203, 0.06727350503206253, -0.3975132405757904, -0.7776798009872437, -0.43559134006500244, -0.06430628150701523, 0.5526280999183655, 0.1215650737285614, 0.7203203439712524, 0.47909241914749146, 0.5005210041999817, 0.4148705303668976, -0.46589845418930054, -0.23053425550460815, -0.5294809341430664, -0.03319511190056801, -0.13886576890945435, -0.5075560808181763, -0.44108790159225464, 0.2367754429578781, 0.7576184272766113, 0.8106834888458252, -0.3558104634284973, 0.12879040837287903, 0.05269399657845497, 0.8187236189842224, -0.4567856192588806, 0.02665444277226925, -0.3707532584667206, 0.13905352354049683, -0.1981831192970276, -0.013553060591220856, -0.47074320912361145, -0.5566686987876892, 0.07411732524633408, -0.406520277261734, 0.01579173281788826, 0.3767126202583313, 0.6221889853477478, 0.1061449721455574, -0.5838194489479065, -0.3467862904071808, -0.8342728018760681, 0.8509302735328674, -0.858717143535614, 0.4372485876083374, 0.5480781197547913, 0.19207917153835297, -0.3399507403373718, -0.803645670413971, -0.6847043633460999, -0.2507963180541992, 0.2225542813539505, -0.2076398730278015, -0.4340597689151764, 0.02417961321771145, 0.4723489582538605, 0.33571022748947144, -0.329247385263443, 0.25608599185943604, -0.858106791973114, -0.39121168851852417, 0.8030574321746826, 0.1311500072479248, 0.1544264256954193, 0.22650869190692902, 0.1985480785369873, 0.2967172861099243, -0.798829197883606, -0.4364508092403412, 0.7546558976173401, 0.25597432255744934, -0.2217239886522293, 0.5184077620506287, -0.09016820043325424, 0.7274808883666992, -0.03646983951330185, 0.10868007689714432, 0.23726795613765717, -0.4612464904785156, 0.03161901980638504, 0.24425892531871796, 0.682253897190094, 0.3128404915332794, 0.2617289125919342, 0.11736870557069778, -0.26120129227638245, -0.508686363697052, 0.4578356444835663, -0.6301494836807251, 0.24501755833625793, 0.2882530987262726, -0.6541808843612671, -0.2639910876750946, 0.17948350310325623, -0.9175831079483032, -0.8324609398841858, -0.7107608318328857, 0.11665034294128418, 0.31853654980659485, -0.42715099453926086, 0.2845318019390106, -0.05850076302886009, 0.21995192766189575, 0.12017577886581421, -0.924872875213623, 0.2903274595737457, 0.928821325302124, 0.6776556372642517, 0.05287880823016167, 0.1784784346818924, -0.2373790144920349, 0.27716657519340515, -0.3165515661239624, 0.13261309266090393, -0.3547952175140381, -0.5329818725585938, 0.4125334620475769, -0.11439135670661926, 0.35724908113479614, -0.48005491495132446, 0.1737368404865265, -0.5343647003173828, 0.38416787981987, -0.509698748588562, -0.534929096698761, -0.12168323248624802, 0.3708585798740387, -0.782833456993103, 0.3439556360244751, -0.4549730122089386, -0.8300790786743164, 0.048740752041339874, -0.934343159198761, -0.31927844882011414, 0.10202536731958389, -0.48195093870162964, 0.07403732091188431, 0.02626352198421955, -0.317708820104599, 0.5044879913330078, -0.35905376076698303, 0.6657255291938782, -0.3808908462524414, -0.06992846727371216, 0.5300633907318115, -0.6134783029556274, 0.8226075768470764, 0.21022112667560577, -0.43701043725013733, 0.4238935112953186, -0.7348836660385132, -0.12237821519374847, 0.18881216645240784, -0.1578492969274521, -0.10958541184663773, -0.027063941583037376, 0.03549440577626228, 0.21254056692123413, 0.31232333183288574, -0.4796777367591858, -0.0536574125289917, -0.17231281101703644, 1.143565058708191, 0.8723228573799133, 0.04390955716371536, 0.44487154483795166, -0.30171850323677063, 0.3409058451652527, -0.10125114023685455, 0.4752432703971863, 0.062063783407211304, -0.34068432450294495, -0.511645495891571, 0.002310289302840829, 0.4030402898788452, 0.17932836711406708, -0.39861416816711426, 0.24437394738197327, -0.3231920301914215, -0.4594055712223053, -0.37181106209754944, -0.1598014533519745, 0.032973285764455795, 0.038564570248126984, -0.01306005660444498, -0.11426695436239243, -0.29473012685775757, -0.9396823644638062, -0.10778699070215225, -0.19950976967811584, 0.3024357259273529, 0.16773267090320587, 0.5049285292625427, -0.04234222322702408, 0.9220656752586365, -0.4034426808357239, -0.19190296530723572, -0.1236179918050766, 0.05255122855305672, 0.027713771909475327, 0.32916489243507385, 0.3013891279697418, -0.9710557460784912, -0.27910712361335754, -0.1742793470621109, -0.4402429163455963, 0.01968519017100334, 0.21315082907676697, 0.48406651616096497, 0.4080626368522644, 0.7888553738594055, -0.5446005463600159, 0.30121004581451416, 0.5436928272247314, -0.15021811425685883, 0.6106910705566406, -0.36079737544059753, 0.054214198142290115, -0.9933508634567261, 0.003218561178073287, -0.03538939356803894, -0.08221465349197388, -0.7012747526168823, 0.017859721556305885, -0.27770450711250305, -0.18076778948307037, -0.600376307964325, 0.5587084889411926, -0.3478914797306061, -0.2863558232784271, -0.47404026985168457, 0.354973703622818, -0.24305935204029083, -0.07545410096645355, -0.32683926820755005, 0.9237132668495178, 0.3361363112926483, -0.6920039653778076, 0.46020352840423584, 0.11368589848279953, -0.45606786012649536, 0.4912776052951813, -0.5549205541610718, 0.25886210799217224, -0.01670464314520359, 0.3346916735172272, -0.3583953380584717, -0.26879382133483887, 0.14490963518619537, -0.2199152559041977, 0.275247722864151, 0.23744148015975952, -0.6580555438995361, -0.44424039125442505, -0.2746163010597229, 0.39134326577186584, 0.21602608263492584, -0.07463013380765915, 0.32863715291023254, 1.2191274166107178, -0.2974777817726135, -0.5311659574508667, -0.7537389993667603, 0.5323622226715088, -0.26113009452819824, -0.4430718421936035, 0.13898222148418427, -0.18311342597007751, -0.6895900964736938, -0.049944233149290085, 0.12844350934028625, -0.19449590146541595, 0.035408783704042435, 0.40697604417800903, -0.0705878809094429, 0.04347853735089302, 0.10863867402076721, -0.37083515524864197, -0.25570395588874817, 0.3758942782878876, -0.2756132483482361, 0.7422056198120117, -0.40525609254837036, -0.19856677949428558, -0.3137238621711731, 0.48008590936660767, 0.6667391657829285, -0.21921950578689575, 0.5375073552131653, 0.29076018929481506, -0.2719470262527466, 0.06625344604253769, -0.7999656796455383, -0.09828847646713257, -0.49697422981262207, 0.34760499000549316, 0.1453985720872879, -1.4734573364257812, 0.4303782284259796, 0.07776521891355515, 0.343927264213562, 0.30209770798683167, 0.8755968809127808, 0.07564672082662582, 0.6573910117149353, 1.174257755279541, -0.23587097227573395, 0.5758510828018188, 0.01868176832795143, 0.6185359358787537, -0.3869803845882416, -0.25089994072914124, -0.7632063031196594, -0.13677485287189484, -0.8772838711738586, -0.22867491841316223, 0.2903670072555542, -0.5431615710258484, -0.30119046568870544, 0.1938825398683548, -0.21695230901241302, 0.4700070023536682, 0.5622225999832153, -0.2476038932800293, 0.43353697657585144, -0.17962439358234406, 0.2167176604270935, 0.1940053552389145, -0.46808499097824097, -0.7938559651374817, 1.037825584411621, 0.7510784864425659, 0.5756954550743103, 0.00911168847233057, 0.5227760672569275, 0.45212769508361816, 0.07427053898572922, -0.6332040429115295, 0.9061790704727173, 0.013189227320253849, -1.0183768272399902, -0.4855623245239258, -0.5216115713119507, -0.543372392654419, 0.019759155809879303, -0.09049635380506516, -0.739858090877533, 0.20461982488632202, 0.07063739746809006, -0.24851186573505402, 0.48414304852485657, -0.23839956521987915, 0.54913330078125, -0.2799924910068512, -0.31425967812538147, -0.6322317123413086, -0.636803388595581, 0.38589584827423096, -0.38746869564056396, 0.6904506683349609, -0.2145664542913437, -0.01924913376569748, 0.9522577524185181, -0.1908184140920639, 0.8309887051582336, 0.02752533368766308, -0.38071712851524353, 0.30743494629859924, -0.31693005561828613, 0.243948832154274, -0.3716881573200226, 0.10927560925483704, 0.484518826007843, 0.27577540278434753, -0.19134530425071716, -0.040911965072155, 0.6311776041984558, -0.7556709051132202, -0.8634093999862671, -0.46223652362823486, -0.5249908566474915, -0.1506248265504837, 0.3825652599334717, 0.1072445809841156, 0.17795386910438538, -0.4201882481575012, 0.4528164267539978, 0.908624529838562, -0.2565164864063263, 0.6236997246742249, 0.5544400811195374, -0.4967455267906189, -0.4594601094722748, 0.9340658783912659, 0.5068976879119873, 0.31682297587394714, -0.03747870773077011, 0.141027569770813, -0.17561639845371246, -0.5936954617500305, 0.007666350342333317, 0.25439998507499695, -0.7088178396224976, 0.08640561997890472, -0.6105512380599976, -0.4638241231441498, -0.34321674704551697, 0.13495899736881256, -0.3990698754787445, -0.4227462410926819, -0.36113491654396057, -0.07361660897731781, 0.1913634091615677, 0.8593306541442871, -0.1052258312702179, 0.13677793741226196, -0.7836117744445801, 0.05292072892189026, 0.14182239770889282, 0.3262617886066437, -0.09999355673789978, -0.40851256251335144, -0.12045959383249283, -0.023526081815361977, -0.33167222142219543, -0.34410005807876587, -0.022672099992632866, -0.3076862394809723, 0.42582350969314575, 0.023772405460476875, 0.2341923713684082, 0.36987316608428955, -0.6465124487876892, 0.8287035822868347, 0.5103437900543213, -0.9209692478179932, 0.05151094123721123, -0.26599210500717163, -0.1561773717403412, 0.23221085965633392, 0.3210376501083374, -0.863835871219635, -0.5797055959701538, -0.4820863902568817, -0.8951537013053894, 0.43801572918891907, -0.10697377473115921, 0.7447460889816284, 0.28330135345458984, 0.264767050743103, 0.04278823733329773, 0.5534703135490417, -0.7378349304199219, -0.0444270558655262, 0.1490952968597412, -0.21993909776210785, 0.24010656774044037, -0.4932134449481964, -0.36010444164276123, 0.006140043493360281, 0.6227213740348816, 0.23469926416873932, -0.04678044840693474, -0.0888632982969284, 0.19073832035064697, -0.2743987441062927, 0.6206700801849365, 0.8969935774803162, 1.1493146419525146, 0.3885408937931061, 0.12622806429862976, -0.10533428192138672, -0.7406041026115417, 0.32922378182411194, -0.10086366534233093, -0.4791669249534607, -0.302249550819397, 0.15637582540512085, 0.5415588021278381, -0.10214672237634659, -0.6558216214179993, 0.5612366199493408, 0.041121501475572586, -0.5320884585380554, -0.4223942756652832, 0.035085808485746384, 0.007850836031138897, 0.4488671123981476, 0.3097878396511078, -0.3918236792087555, 0.03312801569700241, -0.628919243812561, 0.10278439521789551, 0.3549250066280365, -0.5311482548713684, -0.1517173796892166, 0.5067877769470215, 0.25729647278785706, -0.22889001667499542, 0.22668009996414185, 0.2866670787334442, -0.43944329023361206, 0.4061580002307892, 0.24139875173568726, 0.788266658782959, -0.0872131809592247, 0.20826545357704163, -0.14464858174324036, 0.7225792407989502, -0.3690035939216614, 0.015211417339742184, 0.3762396275997162, -0.5442904829978943, -0.309014230966568, -0.24208632111549377, -0.6108648777008057, 0.2945909798145294, -0.35378172993659973, 0.017271624878048897, -0.7717424631118774, -0.5830400586128235, 0.09378982335329056, 0.4033851623535156, -0.250308096408844, -0.1959630846977234, 0.34450432658195496, 0.7813272476196289, -0.7062180638313293, 0.5701834559440613, 0.3738131523132324, -0.4109974801540375, -0.41578152775764465, 0.14577047526836395, 0.35719427466392517, -0.35949376225471497, 0.31907445192337036, 0.04333832859992981, 0.07523263245820999, -0.07014312595129013, -0.9207698702812195, -0.6394152641296387, 0.9153881669044495, 0.5082295536994934, -0.906098484992981, 0.1363772302865982, 0.5215494632720947, 0.44039595127105713, -0.10083193331956863, -0.09905469417572021, 0.617218017578125, 0.6758204102516174, 0.17566034197807312, -1.2905118465423584, -0.010330026969313622, 0.12456437945365906, 0.14528776705265045, 0.2792081832885742, -0.8727125525474548, 0.6746414303779602, -0.0031359062995761633, 0.02821528911590576, -0.18420036137104034, 0.7350157499313354, -0.01857123337686062, 0.3302356004714966, 0.13390791416168213, 0.24628333747386932, 0.7786715030670166, -0.028012365102767944, 0.809492290019989, -0.3765404522418976, 0.10974804311990738, 0.7101409435272217, -0.5979627370834351, 0.6344448328018188, 0.49942463636398315, -0.24679110944271088, -0.2278311401605606, 0.5211651921272278, -0.05199910327792168, 0.3497673273086548, 0.5258947610855103, -0.21308846771717072, 0.18440388143062592, -0.44680657982826233, -0.5996519327163696, 0.16381694376468658, 0.28620627522468567, -0.15118615329265594, -0.022076640278100967, 0.2718038260936737, 0.16760115325450897, 0.2609972357749939, -0.39300262928009033, 0.7509374022483826, 0.30400577187538147, -0.2232779562473297, -0.09282508492469788, 0.23669305443763733, 0.411171019077301, -0.4771175980567932, 0.14637738466262817, -0.07757112383842468, 0.007729618344455957, -0.15064850449562073, -0.9993710517883301, 0.4596666097640991, 0.14049184322357178, -0.39871710538864136, -0.23139259219169617, 0.3553514778614044, -0.3779083490371704, -0.2702150046825409, 0.004193686880171299, 0.11193212121725082, 0.04645519703626633, 0.016377286985516548, -0.68909752368927, 0.8159487843513489, -0.23101922869682312, -0.22472833096981049, 0.5622272491455078, 0.5110756754875183, -0.2739746868610382, 0.8335347175598145, 0.5269214510917664, 0.22816802561283112, 0.2642766535282135, 0.05239257961511612, 0.909924328327179, -0.629374623298645, -0.46997156739234924, -0.5712495446205139, 0.22107629477977753, -0.21112270653247833, -0.12757742404937744, 0.43206092715263367, 0.34276723861694336, 0.7430130243301392, 0.26297837495803833, 0.7321950793266296, -0.2609521448612213, 0.2419101595878601, -0.550995409488678, 1.0410224199295044, -0.3021979331970215, 0.37245407700538635, 0.20377150177955627, -1.0320611000061035, -0.37762919068336487, 0.3411010205745697, -0.6581669449806213, 0.16965362429618835, 0.36158236861228943, 0.7017650008201599, 0.23510803282260895, 0.21558602154254913, 0.40353330969810486, 0.4959062933921814, 0.6776567101478577, -0.08026404678821564, 0.6913206577301025, -0.09918179363012314, 0.4189339578151703, 0.0722062811255455, 0.08568980544805527, -0.2909480035305023, -0.9521005749702454, -0.5466909408569336, -0.653904914855957, -0.5213015675544739, -0.3062748908996582, 0.03792378678917885, 0.9940853118896484, 0.4122876524925232, -0.7580777406692505, -0.48727554082870483, 0.06178944185376167, 0.19173888862133026, 0.38515377044677734, -0.1821574717760086, 0.05439026653766632, -0.05478557571768761, -0.5250298976898193, 0.012246552854776382, 0.5334746837615967, 0.02004167065024376, -0.5441281795501709, 0.08986512571573257, -0.05521080270409584, 0.09121475368738174, 0.5744647979736328, 0.45189595222473145, -0.820916473865509, -0.4801287353038788, -0.4099330008029938, -0.4311352074146271, -0.1457781344652176, 0.8204604983329773, 0.0006232244777493179, 0.42836758494377136, 0.26221922039985657, 0.6302178502082825, 0.22886060178279877, -0.3754560053348541, 0.6595150232315063, -0.3136577904224396, 0.193932443857193, 0.44360998272895813, 0.15777724981307983, 0.24241459369659424, -0.034834813326597214, 0.3518766164779663, 0.018761996179819107, -0.6374406218528748, -0.9632629752159119, 0.2499825805425644, -0.8068366646766663, -0.24312801659107208, 1.039089560508728, 0.12733575701713562, -0.17156070470809937, -0.2746829390525818, -0.1725495159626007, 0.06298763304948807, -0.1118517518043518, 0.8159723877906799, 0.9446591734886169, 0.4689829647541046, -0.2220434844493866, -1.1448134183883667, 0.309611439704895, -0.204743430018425, -0.8702693581581116, 0.3937588334083557, 0.7655910849571228, 0.16563446819782257, 0.1457778811454773, 0.6374109387397766, -0.4364411532878876, -0.06640616804361343, -0.38274773955345154, 0.03037203848361969, -0.15554264187812805, -0.46342846751213074, -0.4422815442085266, 0.10065235942602158, 0.06339989602565765, 0.14932335913181305 ]
http://arxiv.org/abs/2402.11094v2
http://arxiv.org/pdf/2402.11094v2
Word Embeddings Revisited: Do LLMs Offer Something New?
2024-02-16T21:47:30
2024-03-02T14:01:04
Matthew Freestone, Shubhra Kanti Karmaker Santu
cs.CL
cs.CL, I.2.7
Learning meaningful word embeddings is key to training a robust language model. The recent rise of Large Language Models (LLMs) has provided us with many new word/sentence/document embedding models. Although LLMs have shown remarkable advancement in various NLP tasks, it is still unclear whether the performance improvement is merely because of scale or whether underlying embeddings they produce significantly differ from classical encoding models like Sentence-BERT (SBERT) or Universal Sentence Encoder (USE). This paper systematically investigates this issue by comparing classical word embedding techniques against LLM-based word embeddings in terms of their latent vector semantics. Our results show that LLMs tend to cluster semantically related words more tightly than classical models. LLMs also yield higher average accuracy on the Bigger Analogy Test Set (BATS) over classical methods. Finally, some LLMs tend to produce word embeddings similar to SBERT, a relatively lighter classical model.
[ -0.053319212049245834, -0.7531307339668274, 0.7385567426681519, -0.24360981583595276, -0.35434579849243164, 0.19624339044094086, -0.40390557050704956, -0.33248648047447205, 0.18309803307056427, 0.3165852427482605, -0.08655884116888046, -0.45149460434913635, -0.8025531768798828, -0.009352813474833965, -0.49632859230041504, 0.5726144909858704, -0.0884145051240921, 0.42902660369873047, -0.6180109977722168, -0.22296658158302307, -0.32447996735572815, -0.5971959233283997, -0.2510313093662262, -0.5562469363212585, 0.5157890915870667, -0.17257045209407806, 0.8461984395980835, 0.683678925037384, 0.5894951224327087, 0.2854766547679901, -0.39189964532852173, 0.05594763532280922, -0.4356887936592102, 0.14303451776504517, 0.05914841592311859, -0.6621449589729309, -0.08065396547317505, 0.0956590548157692, 0.5301859974861145, 0.9149813652038574, -0.222757488489151, -0.03882134333252907, 0.1364668905735016, 0.41321247816085815, -0.627101719379425, 0.03287089243531227, -0.9058078527450562, 0.17115706205368042, -0.017861001193523407, -0.21139509975910187, -0.3947371244430542, -0.3913012146949768, 0.2600242495536804, -0.3215569853782654, -0.0067083220928907394, 0.13166816532611847, 0.7753862738609314, 0.2504676282405853, -0.23302403092384338, -0.5736404657363892, -0.5425145626068115, 0.8376198410987854, -0.818567156791687, 0.6594513654708862, 0.03843071684241295, 0.050571125000715256, -0.13931593298912048, -0.766822874546051, -0.4733612537384033, -0.3422689139842987, 0.16423921287059784, -0.07972836494445801, -0.2550460398197174, 0.034541938453912735, 0.1616838425397873, 0.4719836711883545, -0.2542317807674408, 0.43288612365722656, -0.10314511507749557, -0.04159664735198021, 0.29944634437561035, 0.060622379183769226, 0.22915548086166382, -0.12466248869895935, -0.4602953791618347, -0.2059786170721054, -1.0664764642715454, 0.030742526054382324, 0.08486615866422653, 0.2492896020412445, -0.013901174068450928, 0.8444315791130066, 0.3566550612449646, 0.7270761728286743, -0.2357233613729477, -0.35110023617744446, 0.10711396485567093, 0.04487970471382141, -0.10340598225593567, 0.049546971917152405, 0.4905701279640198, 0.310977965593338, 0.4256734848022461, -0.5719438791275024, -0.3045104146003723, 0.30482369661331177, 0.20154155790805817, -0.49588167667388916, -0.025060150772333145, -0.11136958748102188, -0.5239109396934509, -0.2914789915084839, 0.25550004839897156, -0.17072167992591858, -0.30218377709388733, -0.316697895526886, 0.5840429663658142, -0.4301489591598511, 0.06408684700727463, 0.13058669865131378, -0.3539031744003296, 0.6294928193092346, 0.38572123646736145, -0.7693626284599304, 0.20790424942970276, 0.9621802568435669, 0.8314021825790405, -0.2905685007572174, -0.05637480691075325, -0.40816444158554077, -0.022520139813423157, -0.7106209397315979, 0.813156247138977, -0.8675065636634827, -0.3653005063533783, 0.36976978182792664, -0.21635344624519348, 0.09570653736591339, -0.6879625916481018, 0.20248723030090332, -0.6215034127235413, 0.14104539155960083, -0.5029201507568359, -1.031496524810791, -0.11454585194587708, 0.23931311070919037, -0.40019315481185913, 0.9430843591690063, 0.004728465806692839, -0.8857370018959045, 0.5623478293418884, -0.13400210440158844, -0.20247800648212433, -0.07394742220640182, -0.36714285612106323, -0.2238122820854187, 0.632504403591156, 0.053693607449531555, 0.8191066980361938, -0.24170368909835815, -0.11163916438817978, -0.7378248572349548, -0.5463001132011414, 0.7248180508613586, -0.3147795796394348, 0.25684407353401184, 0.09675063192844391, 0.015681413933634758, -0.15867412090301514, -0.4648113548755646, 0.016203714534640312, 0.10561008751392365, -0.4384315013885498, -0.6087150573730469, 0.09806466847658157, -0.2924557328224182, 0.025690127164125443, 0.3151065707206726, -0.6478977203369141, 0.017948588356375694, -0.3905000686645508, 0.6481644511222839, 0.7059555649757385, -0.20278021693229675, 0.39777782559394836, -0.4614192247390747, 0.4271900951862335, -0.11627984791994095, -0.4358528256416321, -0.12664178013801575, -0.35908061265945435, -0.6538379788398743, -0.3573307693004608, 0.5414851903915405, 0.37164533138275146, -0.5524274706840515, 0.49887531995773315, -0.43055886030197144, -0.31208816170692444, -0.43374165892601013, 0.0826304480433464, 0.11582908034324646, 0.11448200792074203, 0.08990661054849625, -0.30516108870506287, -0.24678878486156464, -0.7053635716438293, -0.279997855424881, -0.021274108439683914, -0.0893905907869339, 0.24322810769081116, 0.45137912034988403, -0.12530826032161713, 0.7931626439094543, -0.47851622104644775, -0.04119120165705681, -0.4205840229988098, -0.16605272889137268, -0.13727335631847382, -0.01384003646671772, 0.6903988122940063, -0.2943595349788666, -0.28369683027267456, -0.27347248792648315, -0.7801191210746765, 0.1270783245563507, 0.0807209387421608, 0.31760039925575256, 0.13344739377498627, 0.7408851385116577, -0.32080137729644775, 0.1826993227005005, 0.8164349794387817, -0.11016028374433517, 0.2598838210105896, -0.4563695788383484, -0.19119839370250702, -1.1505722999572754, -0.3521936535835266, -0.21378283202648163, -0.3095429837703705, -0.38952624797821045, 0.23343388736248016, 0.12215906381607056, -0.09102362394332886, -0.5658276677131653, 0.2123957723379135, -0.5788293480873108, -0.4444824159145355, -0.4483109712600708, 0.47299596667289734, -0.12434306740760803, 0.23922155797481537, -0.06892598420381546, 0.8500335216522217, 0.5188072919845581, -0.5236205458641052, 0.33709731698036194, 0.18970683217048645, -0.51362544298172, 0.24592356383800507, -0.8353637456893921, 0.028327055275440216, -0.15250900387763977, 0.1611054390668869, -0.9932947158813477, 0.18194802105426788, -0.33474355936050415, -0.260255366563797, 0.5843043327331543, 0.25313788652420044, -0.6465371251106262, -0.36245080828666687, -0.6877678632736206, 0.09220923483371735, 0.7461442947387695, -0.6203975081443787, 0.15246222913265228, 0.4960712194442749, -0.018199563026428223, -0.31161928176879883, -0.97286456823349, 0.047100141644477844, -0.37252530455589294, -0.4048706889152527, 0.3153650462627411, 0.22733759880065918, -0.2918902039527893, 0.21628059446811676, -0.08446747809648514, 0.050934575498104095, 0.2329481542110443, 0.13778355717658997, 0.03298679739236832, -0.2580167055130005, 0.5040414333343506, -0.04330919682979584, 0.013944526202976704, -0.05336768180131912, -0.20836377143859863, 0.5879133939743042, -0.26664918661117554, -0.4702886641025543, -0.14559799432754517, 0.30668529868125916, 0.33430027961730957, -0.2802117168903351, 0.9306206107139587, 0.6393831372261047, -0.39720532298088074, -0.12104504555463791, -0.5190160870552063, -0.3389119803905487, -0.4307015836238861, 0.26506051421165466, -0.2288445085287094, -1.5384870767593384, 0.23588238656520844, -0.3260938823223114, 0.11426626890897751, 0.37074247002601624, 0.5516287088394165, -0.29740428924560547, 0.6765762567520142, 0.8828521966934204, -0.045707013458013535, 0.4412286579608917, -0.17725929617881775, 0.34150323271751404, -1.0358057022094727, 0.04493557661771774, -0.44746196269989014, -0.30113232135772705, -0.7988199591636658, -0.7133933901786804, 0.24595890939235687, 0.23179209232330322, 0.05538277328014374, 0.34555497765541077, -0.20836424827575684, 0.12029431015253067, 0.327047199010849, -0.03659631311893463, 0.13044951856136322, 0.34482723474502563, -0.35238373279571533, -0.40808042883872986, -0.9213725328445435, -0.7479873895645142, 1.2655808925628662, 0.4806373715400696, 1.1117591857910156, 0.10081524401903152, 0.7617257833480835, 0.1806209236383438, 0.23753738403320312, -0.9661070108413696, 0.5230532884597778, -0.4419187307357788, -0.10402418673038483, -0.09357775002717972, -0.23841573297977448, -1.1774260997772217, 0.42414408922195435, -0.6837432384490967, -0.6194795370101929, -0.03206877037882805, -0.07530023157596588, -0.19860446453094482, 0.5700145363807678, -0.41678375005722046, 0.576570451259613, -0.22621557116508484, -0.10784255713224411, -0.36621740460395813, -0.1844325214624405, 0.08069080859422684, -0.04878077656030655, 0.17274542152881622, -0.11654082685709, -0.4273926615715027, 0.7114668488502502, -0.48617082834243774, 0.6640055775642395, 0.22426027059555054, -0.2933254539966583, 0.24865151941776276, -0.1435670703649521, 0.42753028869628906, -0.17511820793151855, -0.011505601927638054, 0.0988122969865799, 0.051953237503767014, -0.27246567606925964, -0.6546061038970947, 0.8485540151596069, -0.6672365665435791, -0.5456502437591553, -0.37000811100006104, -0.41524985432624817, -0.19735541939735413, -0.13448753952980042, 0.17557798326015472, 0.7070807218551636, -0.42199867963790894, 0.6771886944770813, 0.8968623876571655, -0.4898563027381897, 0.4880281388759613, 0.1843302696943283, -0.14764711260795593, -0.2618449926376343, 0.60538250207901, 0.15027667582035065, 0.27278244495391846, 0.733450174331665, 0.3051653206348419, -0.37807393074035645, -0.6033250093460083, 0.007492137141525745, 0.4546058177947998, -0.605452835559845, -0.06283584237098694, -0.6291793584823608, -0.021280357614159584, -0.35502755641937256, -0.33463847637176514, -0.3863367438316345, -0.4539141058921814, -0.1551392525434494, -0.08591758459806442, 0.45224499702453613, 0.8959528803825378, -0.04861307516694069, 0.20573468506336212, -0.7536731958389282, 0.025779593735933304, 0.48267340660095215, 0.18483063578605652, -0.11610343307256699, -0.6200348138809204, -0.20866310596466064, -0.17755061388015747, -0.23201270401477814, -0.9226354360580444, 0.037734922021627426, 0.33606386184692383, 0.5976550579071045, 0.5356850624084473, -0.16524121165275574, 0.46728795766830444, -0.7941374778747559, 0.9490557312965393, 0.18222658336162567, -0.6736032366752625, 0.30468612909317017, -0.2060118019580841, 0.28581616282463074, 0.1836593747138977, 0.40233930945396423, -0.46933743357658386, -0.4111204743385315, -0.7155096530914307, -0.7066554427146912, 0.05692606046795845, -0.13545958697795868, 0.5258543491363525, -0.18126238882541656, 0.4948268234729767, 0.1318921595811844, 0.5352776646614075, -0.6282457709312439, -0.10790219157934189, 0.187839075922966, -0.09146489202976227, -0.3226296305656433, -0.6226115822792053, 0.1516674906015396, -0.030008241534233093, 0.26747241616249084, 0.10621620714664459, 0.614586353302002, 0.04200632870197296, -0.3505808413028717, 0.18679243326187134, 0.41357749700546265, 0.3232814371585846, 0.49688857793807983, 0.00021650180860888213, 0.27385997772216797, 0.49232497811317444, -0.19551129639148712, 0.004183787852525711, -0.1931057572364807, -0.042377881705760956, 0.1816912591457367, 0.7981173396110535, 0.9029399752616882, 0.5507059693336487, -0.737225353717804, 0.7379956841468811, 0.1079677939414978, -0.29568660259246826, -0.2779842019081116, 0.10800522565841675, 0.40066856145858765, 0.220840722322464, -0.05040498822927475, -0.24793773889541626, -0.15855731070041656, -0.7549082040786743, 0.11964957416057587, 0.7313326597213745, -0.42512327432632446, -0.09957868605852127, 0.507123589515686, -0.08919444680213928, -0.15912269055843353, 0.3320089280605316, 0.01057911105453968, -0.5910323858261108, 0.059238582849502563, 0.5391380786895752, 0.6680666208267212, -0.044370077550411224, -0.01588124968111515, 0.04334137216210365, 0.3597250282764435, -0.18682710826396942, 0.19426734745502472, -0.0990605354309082, -0.7998149991035461, -0.47031325101852417, -0.7895381450653076, -0.4861246645450592, 0.05105730518698692, -0.6579270362854004, 0.009960771538317204, -0.5162252187728882, -0.10481014102697372, -0.39096325635910034, -0.01726277731359005, -0.6639554500579834, -0.01769619807600975, 0.13735677301883698, 0.8167915344238281, -0.8164142966270447, 0.8700600266456604, 0.9970822930335999, -0.1035332903265953, -0.8227617740631104, -0.010623631067574024, -0.22188995778560638, -0.7558340430259705, 0.4203701317310333, 0.2655804753303528, 0.03823484107851982, -0.1128753125667572, -0.42022842168807983, -0.8965240716934204, 1.1924748420715332, 0.33455154299736023, -0.5955695509910583, -0.05892164260149002, 0.13159531354904175, 0.6777337789535522, -0.4214646518230438, 0.02573380060493946, 0.34791067242622375, 0.0006443234160542488, -0.057607948780059814, -0.4919773042201996, -0.029002506285905838, 0.22215458750724792, 0.4990610182285309, 0.1548788696527481, -0.34876319766044617, 0.7471445202827454, -0.1487794816493988, -0.1410750299692154, 0.1535109430551529, 0.9299226999282837, 0.15650199353694916, -0.11088453978300095, 0.3740278482437134, 0.926409125328064, 0.67142653465271, -0.25427863001823425, 1.1821424961090088, -0.31153643131256104, 0.31297990679740906, 0.8958661556243896, -0.18392451107501984, 1.3561521768569946, 0.4802727699279785, -0.41797301173210144, 0.48356056213378906, 0.6021746397018433, -0.03394850715994835, 0.5449163317680359, 0.4333217442035675, -0.11167341470718384, -0.3900180160999298, 0.030500320717692375, -0.45243537425994873, 0.5080125331878662, 0.5080588459968567, -0.33973899483680725, -0.34883373975753784, 0.19735948741436005, 0.09050200879573822, 0.37593209743499756, -0.16040758788585663, 0.7306808829307556, 0.501003086566925, -0.2120898962020874, 0.3443724513053894, 0.19506196677684784, 1.0959820747375488, -0.5935921669006348, 0.261348694562912, -0.04940928891301155, 0.34390828013420105, 0.1846369206905365, -0.4803464710712433, 0.22833648324012756, 0.011912485584616661, 0.21724596619606018, -0.1452271193265915, 0.7672213315963745, -0.4734392464160919, -0.43643078207969666, 0.29911836981773376, 0.7062375545501709, 0.29419514536857605, 0.12877681851387024, -0.6686376333236694, 0.22011391818523407, -0.3823651969432831, -0.18137942254543304, 0.38319069147109985, 0.5060995221138, 0.19675005972385406, 0.6464586853981018, 0.5413548350334167, 0.3501608073711395, 0.23744481801986694, 0.013708946295082569, 0.7093760371208191, -0.5837558507919312, -0.3307144045829773, -0.673647940158844, 0.00891895778477192, 0.17144514620304108, -0.09024500846862793, 0.8610095381736755, 0.3757738769054413, 0.9473277926445007, -0.07674552500247955, 0.6147100329399109, 0.19031834602355957, 0.5173491835594177, -0.7236969470977783, 0.40556856989860535, -0.8959096670150757, 0.24612724781036377, -0.3394176959991455, -1.0354996919631958, -0.35232093930244446, 0.8978781700134277, -0.36348822712898254, 0.06506416201591492, 0.8514269590377808, 0.7194123268127441, -0.03829206898808479, -0.10205136984586716, 0.5686852335929871, 0.1305343210697174, 0.19660034775733948, 0.299987256526947, 0.925295352935791, -0.3686767518520355, 0.23410971462726593, 0.06021576002240181, -0.0610785186290741, -0.2457045018672943, -0.9091545343399048, -0.993837833404541, -0.3906196653842926, -0.2891234755516052, -0.04756465181708336, 0.14304493367671967, 0.8955739140510559, 0.20157203078269958, -0.5602959990501404, -0.11137545108795166, -0.07539930194616318, -0.005986145697534084, -0.16241252422332764, -0.14883224666118622, 0.3619433343410492, -0.5524688959121704, -0.5926360487937927, 0.36723750829696655, 0.3889501392841339, 0.24408511817455292, -0.38705503940582275, -0.043847162276506424, -0.07929340749979019, 0.19186408817768097, 0.8510016202926636, -0.18399225175380707, -0.8035939335823059, -0.5783059597015381, -0.013378284871578217, -0.311110258102417, -0.08712400496006012, 0.8508407473564148, -0.6378023624420166, 0.21141740679740906, 0.622245728969574, 0.9638135433197021, 0.30929651856422424, -0.4409908652305603, 0.6054800152778625, -0.4652230441570282, 0.17318657040596008, 0.017861533910036087, 0.608894407749176, 0.562166154384613, 0.15136441588401794, 0.29032182693481445, 0.19896133244037628, -0.34506484866142273, -0.7545819878578186, 0.2724064290523529, -0.8072004318237305, -0.4507129192352295, 1.2656958103179932, -0.21285617351531982, -0.2069869041442871, 0.2396756261587143, 0.12852850556373596, 0.23560605943202972, -0.06803364306688309, 0.5406917929649353, 0.8056591153144836, 0.09069528430700302, -0.10281050205230713, -0.3449709415435791, 0.3155238628387451, 0.487921804189682, -0.3583841323852539, -0.3258395195007324, 0.3320217728614807, 0.3541724979877472, 0.06941145658493042, 0.20276705920696259, -0.2891789674758911, 0.020620500668883324, 0.009260994382202625, -0.13210918009281158, -0.0680137649178505, -0.14015263319015503, -0.5174733996391296, 0.16469812393188477, 0.48117995262145996, -0.20272761583328247 ]
http://arxiv.org/abs/2402.11078v3
http://arxiv.org/pdf/2402.11078v3
Model Editing by Standard Fine-Tuning
2024-02-16T21:10:33
2024-06-03T05:39:10
Govind Gangadhar, Karl Stratos
cs.LG
cs.LG, cs.AI, cs.CL
Standard fine-tuning is considered not as effective as specialized methods for model editing due to its comparatively poor performance. However, it is simple, agnostic to the architectural details of the model being edited, and able to leverage advances in standard training techniques with no additional work (e.g., black-box PEFT for computational efficiency), making it an appealing choice for a model editor. In this work, we show that standard fine-tuning alone can yield competitive model editing performance with two minor modifications. First, we optimize the conditional likelihood rather than the full likelihood. Second, in addition to the typical practice of training on randomly paraphrased edit prompts to encourage generalization, we also train on random or similar unedited facts to encourage locality. Our experiments on the ZsRE and CounterFact datasets demonstrate that these simple modifications allow standard fine-tuning to match or outperform highly specialized editors in terms of edit score.
[ -0.38257211446762085, -0.8283252120018005, 0.7008523344993591, -0.36367204785346985, -0.3956272006034851, -0.4413264989852905, -0.4295152723789215, -0.5533141493797302, -0.08397912979125977, 0.4858000576496124, -0.4934866428375244, -0.5877724885940552, -0.4145900309085846, 0.18963652849197388, -0.2789106070995331, 1.0944948196411133, 0.11390819400548935, 0.04576912894845009, -0.24900543689727783, -0.3775225281715393, -0.3778994381427765, -0.5955665707588196, -0.6913724541664124, -0.06689102947711945, 0.7052457332611084, 0.4017195403575897, 1.1241729259490967, 0.7672930955886841, 0.5609537363052368, 0.3155362904071808, -0.5365108847618103, 0.41285672783851624, -0.5476163029670715, -0.25593873858451843, -0.6748684048652649, -0.5510423183441162, -0.8813103437423706, 0.13345003128051758, 0.49472537636756897, 0.5984136462211609, 0.1384183168411255, 0.2369607537984848, 0.01892959140241146, 0.7883343696594238, -0.8499798774719238, -0.18479515612125397, -0.8139697313308716, -0.10329501330852509, -0.34919455647468567, -0.05929793417453766, -0.21539361774921417, -0.18847176432609558, -0.00555749237537384, -0.7606981992721558, 0.767413318157196, -0.1346365362405777, 0.896207332611084, 0.472198486328125, -0.3660827875137329, 0.022911155596375465, -0.7626764178276062, 0.41770267486572266, -0.9261995553970337, 0.2996535003185272, 0.030489744618535042, 0.11488033086061478, -0.06962673366069794, -0.7543804049491882, -0.34740397334098816, 0.05266923829913139, -0.00015356598305515945, -0.06606011837720871, -0.3085390329360962, 0.5099143981933594, 0.5804395079612732, 0.4310030937194824, -0.22590488195419312, 0.3912668228149414, -0.4074626564979553, -0.025417227298021317, 0.782595157623291, 0.30930086970329285, 0.13410086929798126, -0.061276573687791824, 0.16430723667144775, 0.05044887214899063, -0.6466200947761536, 0.30093157291412354, 0.47467929124832153, 0.4450286030769348, 0.2086920589208603, 0.6633853316307068, -0.5926762819290161, 1.0007721185684204, 0.3351103663444519, 0.3786202073097229, -0.05553055554628372, -0.318103551864624, -0.5286281108856201, -0.23783457279205322, 0.5735319256782532, 0.8238095045089722, 0.24479183554649353, -0.19372309744358063, -0.4325391948223114, 0.076455257833004, 0.29408377408981323, -0.7089146971702576, -0.44941049814224243, -0.10586348921060562, -0.5922064185142517, -0.5154165029525757, -0.05208621919155121, -0.5477592945098877, -0.22578634321689606, -0.6201268434524536, 0.7040830850601196, -0.13202811777591705, 0.3255184590816498, 0.4678348898887634, -0.6070696711540222, -0.2709271311759949, 0.7271355390548706, -0.89070725440979, 0.16493664681911469, 0.6804020404815674, 0.8042006492614746, 0.00719046825543046, -0.31090301275253296, -0.5558254718780518, -0.21529275178909302, -0.6153263449668884, 0.8917976021766663, -0.8025986552238464, -0.35341838002204895, -0.45424097776412964, -0.15985572338104248, -0.10691813379526138, -0.5438979268074036, 0.5569538474082947, -0.5113940238952637, -0.18968747556209564, -0.609117329120636, -0.6804506778717041, -0.09678501635789871, -0.1545080840587616, -0.5418878793716431, 0.8275520205497742, -0.054344162344932556, -0.6212446093559265, 0.6669520139694214, -0.5363177061080933, -0.3268779516220093, -0.4960584342479706, 0.07528027147054672, -0.5907565951347351, 0.5872469544410706, 0.39599597454071045, 0.37812501192092896, 0.012211577035486698, 0.12517531216144562, -0.6386087536811829, -0.6587371230125427, 0.06529711186885834, -0.11540646106004715, 0.36831051111221313, 0.23735374212265015, -0.03839652240276337, 0.2353157252073288, -0.9354093074798584, -0.09582412242889404, -0.28359082341194153, -0.255755752325058, -0.4426363408565521, 0.020898278802633286, -0.1683657020330429, 0.10535550117492676, 0.14478497207164764, -0.4967927634716034, 0.547590970993042, -0.4098517894744873, 0.400003582239151, 0.6864032745361328, 0.38102903962135315, 0.6954842209815979, -0.580236554145813, 0.24876095354557037, -0.09782947599887848, 0.18489034473896027, 0.3223380446434021, -0.4593631327152252, -0.7995979189872742, -0.33085232973098755, 0.9316417574882507, 0.38189563155174255, -0.37070754170417786, 0.0030403812415897846, 0.039585452526807785, -0.6352050304412842, -0.745437502861023, 0.4073849618434906, 0.25680941343307495, 0.5774956941604614, 0.5328741669654846, -0.14048981666564941, -0.6149035692214966, -1.3218629360198975, -0.8128924369812012, 0.5375375747680664, -0.19371353089809418, 0.23257049918174744, 0.33821648359298706, -0.013611779548227787, 0.882131814956665, -0.4843209385871887, -0.0045119901187717915, -0.19263418018817902, 0.27728530764579773, 0.19020485877990723, 0.7014188170433044, 0.9021627306938171, -0.596182107925415, -0.556681752204895, -0.10296539962291718, -0.4687806963920593, -0.21152229607105255, -0.34377044439315796, -0.2136094868183136, -0.08985769003629684, 0.5988785028457642, -0.6757405400276184, 0.6033457517623901, 0.1510576456785202, -0.12087070941925049, 0.40438517928123474, -0.43713197112083435, 0.47685566544532776, -0.5815405249595642, -0.038587138056755066, -0.033966999500989914, -0.2282666265964508, -0.6922870874404907, 0.2117498815059662, 0.2656460702419281, -0.14392994344234467, -0.4417576491832733, 0.3643314242362976, -0.21398243308067322, 0.04299059137701988, -0.2923915684223175, 0.008956789039075375, -0.00910367164760828, 0.5139912962913513, 0.19755321741104126, 0.627472460269928, 0.32010653614997864, -0.7140036225318909, -0.07304645329713821, 0.27336323261260986, -0.5125378966331482, 0.4323314130306244, -1.0032758712768555, 0.4976159930229187, -0.23460310697555542, -0.05816425383090973, -0.4934520721435547, -0.18699808418750763, -0.09088455885648727, -0.08159229159355164, 0.1359090656042099, -0.3176153898239136, -0.45849597454071045, 0.13326893746852875, -0.30348917841911316, 0.060375384986400604, 0.4481304883956909, -0.4542746841907501, 0.1995924562215805, -0.094151072204113, -0.12435595691204071, -0.15567441284656525, -0.6726806163787842, -0.039913929998874664, -0.10739867389202118, -0.66472989320755, 0.47924327850341797, -0.29273751378059387, -0.1453387588262558, -0.03836755454540253, -0.24537786841392517, -0.15257351100444794, 0.3305899500846863, -0.043021589517593384, 0.2860136032104492, -0.15672458708286285, 0.09393692016601562, 0.5805346965789795, -0.08462177962064743, -0.45732253789901733, 0.2616031765937805, -0.26269444823265076, 0.11046597361564636, -0.1693611890077591, -0.6203457117080688, 0.20176826417446136, 0.5458782911300659, -0.4185168147087097, 0.5099994540214539, 0.1707001030445099, -0.3139515817165375, -0.28581950068473816, -0.41108623147010803, -0.16925570368766785, -0.4683619439601898, 0.4866528809070587, -0.677882194519043, -0.78957599401474, 0.43377310037612915, -0.10143236070871353, 0.31213802099227905, 0.6381105184555054, 0.27944979071617126, -0.18040406703948975, 1.3388912677764893, 0.7265602946281433, 0.3725403845310211, 0.4126366078853607, 0.048684682697057724, -0.017516382038593292, -0.7035031914710999, 0.317972332239151, -0.7438289523124695, -0.8094903826713562, -0.6616138815879822, -0.18533596396446228, 0.28696727752685547, 0.5766749978065491, -0.22665786743164062, 0.3050397038459778, -0.459349125623703, 0.8265662789344788, 0.6826695799827576, 0.44497573375701904, 0.40059226751327515, -0.36380794644355774, -0.005255931988358498, -0.26227062940597534, -0.952076256275177, -0.6054219603538513, 1.2011773586273193, 0.13444741070270538, 0.5959509015083313, -0.07328633219003677, 0.7816803455352783, 0.18988719582557678, -0.03676220402121544, -0.38565558195114136, 0.32925060391426086, -0.7373964786529541, -0.6116077899932861, -0.3377077281475067, -0.17858560383319855, -0.2954750061035156, 0.12534314393997192, -0.5966664552688599, -0.5322373509407043, 0.8178372979164124, 0.5919060111045837, -0.8484285473823547, 0.41242215037345886, -0.6917121410369873, 1.0724385976791382, 0.35124263167381287, -0.1148180216550827, -0.4314148426055908, -0.2892896831035614, 0.13321234285831451, -0.22062243521213531, 0.1347985714673996, 0.0753534659743309, 0.0691932663321495, 0.5884003639221191, -0.4451407492160797, 0.7456980347633362, -0.16168025135993958, 0.5680192708969116, 0.06058590114116669, 0.2686309218406677, 0.6874819993972778, 0.33928051590919495, -0.317752867937088, 0.09812530875205994, 0.1221022754907608, -0.37398824095726013, -0.9349956512451172, 0.4855523109436035, -0.6613274812698364, -0.6594735383987427, 0.018716013059020042, -0.5419973731040955, -0.34102970361709595, 0.08902782201766968, 0.6140056252479553, 0.4280606806278229, -0.21043528616428375, 0.4546724259853363, 0.7709341645240784, 0.060444045811891556, 0.03160746768116951, 0.5878291726112366, 0.2670346796512604, -0.14601203799247742, 0.5284770727157593, 0.2912300229072571, 0.3015253245830536, 0.2387653887271881, 0.290113240480423, 0.2845015227794647, -0.8575313687324524, -0.4052242040634155, -0.15018442273139954, -0.6407572627067566, -0.17465074360370636, -0.6310931444168091, -0.16186828911304474, -0.24951793253421783, -0.6842438578605652, -0.602641761302948, -0.7917823791503906, -0.5120968818664551, -0.03714854270219803, 0.3472786843776703, 0.6895255446434021, -0.5288971066474915, 0.3155645728111267, -0.7718218564987183, 0.46237027645111084, 0.5918563604354858, 0.34341585636138916, -0.25942039489746094, -0.81003737449646, -0.45234841108322144, 0.2810293734073639, -0.22236207127571106, -0.6244308948516846, -0.08236590772867203, 0.5176911354064941, 0.4704532027244568, 0.11671893298625946, 0.15518084168434143, 0.9254513382911682, -0.5071772336959839, 0.7281363010406494, -0.2834996283054352, -1.1156119108200073, 0.7050862908363342, -0.3944716155529022, 0.421895295381546, 0.8370471000671387, 0.08432383090257645, -0.40420424938201904, -0.5258733034133911, -0.5889612436294556, -0.306109756231308, 0.7530784010887146, 0.030788112431764603, 0.09641940146684647, 0.1183876022696495, 0.8140149116516113, 0.1270601451396942, 0.3394332826137543, -0.41076579689979553, -0.14451885223388672, -0.14805500209331512, -0.0059493063017725945, -0.21900631487369537, -0.39366841316223145, -0.04908369109034538, -0.5949069261550903, 0.7109465599060059, 0.13047710061073303, -0.11023945361375809, 0.37008368968963623, -0.21141308546066284, -0.3903280794620514, 0.3945227265357971, 0.7752429246902466, 0.6496058106422424, -0.5797991156578064, -0.1763342320919037, 0.4879779815673828, -0.01165563054382801, -0.18561787903308868, -0.08300238102674484, -0.6171591281890869, 0.13811402022838593, 0.3588477075099945, 1.14862859249115, 0.6952119469642639, -0.16363081336021423, 0.1518842577934265, 0.06417118012905121, -0.6018182635307312, 0.6856541037559509, 0.7195387482643127, 0.07198970019817352, 0.4884094297885895, -0.16832628846168518, 0.8185119032859802, 0.4113995432853699, -0.23623983561992645, 0.07450229674577713, 0.2560040056705475, -0.06235682964324951, -0.2988438904285431, 0.9137315154075623, 0.05330606922507286, -0.38993221521377563, 0.413310170173645, -0.1950279027223587, -0.14021950960159302, 0.5233240127563477, 0.06493694335222244, 0.7464407682418823, 0.05800651013851166, -0.08641631156206131, 0.4891608953475952, 0.2620526850223541, -0.30830806493759155, 0.08024203777313232, -0.022203821688890457, -0.5660198926925659, -0.2101510465145111, -0.4465004503726959, -0.44099998474121094, 0.1308038830757141, -0.815115749835968, 0.7399905323982239, -0.7164578437805176, -0.17510314285755157, 0.4972236752510071, -0.25152379274368286, -0.8835514783859253, 0.41435685753822327, -0.18800309300422668, 1.131164789199829, -0.7674959301948547, 0.7855496406555176, 0.8663651347160339, -0.30436041951179504, -0.48454588651657104, -0.35712841153144836, 0.03412668779492378, -0.1447010636329651, 0.3216223120689392, -0.17032787203788757, 0.25450780987739563, -0.03610004484653473, -0.5320953726768494, -0.6843623518943787, 0.7318133115768433, 0.5271233320236206, -1.1016169786453247, -0.3202133774757385, -0.1653006225824356, 0.6998248100280762, -0.22348308563232422, -0.1176549643278122, 0.6316339373588562, 0.29433009028434753, -0.18923313915729523, -0.9794902801513672, -0.2837833762168884, -0.08869310468435287, 0.16668829321861267, 0.09809747338294983, -0.6161870360374451, 0.9950154423713684, -0.138764888048172, 0.07856663316488266, 0.17169399559497833, 0.5330178737640381, -0.20067723095417023, 0.2572370767593384, 0.4221607744693756, 0.7583410739898682, 0.6775794625282288, 0.13598968088626862, 0.6988680958747864, -0.33419498801231384, 0.43492990732192993, 1.5415946245193481, 0.02709238976240158, 0.8418937921524048, 0.0836896076798439, -0.0348367765545845, 0.21706430613994598, 0.7513011693954468, -0.2325551062822342, 0.7283499240875244, -0.3390341103076935, -0.09853068739175797, -0.7884649038314819, 0.5089055299758911, -0.23820899426937103, 0.5354216694831848, 0.0013996250927448273, -0.4301113486289978, -0.40852442383766174, -0.02645045891404152, -0.10185886174440384, 0.3563051223754883, -0.5618373155593872, 0.690105676651001, 0.08739244192838669, -0.4290851354598999, 0.3243127465248108, 0.3555164337158203, 0.49167773127555847, -0.39615434408187866, -0.06625908613204956, -0.11854436993598938, 0.05374694615602493, -0.20292231440544128, -0.4749692976474762, 0.47779834270477295, 0.23782788217067719, -0.5316849946975708, -0.09149245917797089, 0.6295183300971985, -0.17039918899536133, -0.5092164278030396, -0.18356525897979736, 0.21520699560642242, -0.24223056435585022, -0.28373533487319946, -0.7384586930274963, -0.12448711693286896, 0.037106022238731384, -0.3917342722415924, 0.453250914812088, 0.4642180800437927, -0.014849320985376835, 0.2928193211555481, 0.7089464068412781, 0.16544947028160095, -0.28351178765296936, -0.047494739294052124, 0.7274807691574097, -0.6384116411209106, -0.6848766207695007, -0.8232247233390808, 0.6378518342971802, -0.13236580789089203, -0.568030595779419, 0.6458741426467896, 0.4516938328742981, 0.8430863618850708, -0.22823956608772278, 0.7242638468742371, 0.2768400013446808, 0.5912368893623352, -0.7774930596351624, 0.6873202323913574, -0.5854853987693787, 0.07408152520656586, -0.30120331048965454, -0.8253233432769775, -0.30195125937461853, 0.4766457974910736, -0.6041069626808167, -0.16589297354221344, 0.4459344744682312, 0.9629759192466736, -0.3458162248134613, 0.09139419347047806, 0.48993295431137085, 0.1963203400373459, -0.016582002863287926, 0.3103537857532501, 0.272085040807724, -0.4158199727535248, 0.09376799315214157, -0.6469786167144775, -0.1258411854505539, -0.18356026709079742, -0.881401777267456, -1.1808781623840332, -0.26446616649627686, -0.43219229578971863, 0.07183901965618134, 0.49122095108032227, 0.895909309387207, 0.6368620991706848, -0.7937254309654236, 0.25744378566741943, -0.03170387074351311, 0.08029065281152725, -0.391040563583374, -0.06846779584884644, 0.3082629442214966, -0.43442630767822266, -0.8444991111755371, 0.5496528148651123, 0.18895263969898224, 0.03695886954665184, 0.4344483017921448, 0.1034640520811081, -0.10064809769392014, 0.4925173819065094, 0.3088381290435791, 0.20899628102779388, -0.44638946652412415, -0.40273135900497437, -0.19361744821071625, -0.10409914702177048, 0.14900314807891846, 0.746547281742096, -0.4873555898666382, 0.6986736059188843, 0.4617019593715668, 0.4410930275917053, 0.5145552754402161, 0.1389601081609726, 0.6914379000663757, -0.5741215944290161, 0.2677365243434906, -0.014455165714025497, 0.2816466987133026, 0.0458776131272316, -0.49100297689437866, 0.28275278210639954, 0.3250952363014221, -0.7086635231971741, -0.8324730396270752, 0.0182719137519598, -0.6523999571800232, -0.4926961064338684, 0.7672656774520874, 0.017553316429257393, -0.09022840112447739, 0.14228864014148712, -0.38463935256004333, 0.3750841021537781, -0.2040630578994751, 0.9042421579360962, 0.7592772841453552, -0.3539108335971832, -0.02177031897008419, -0.6731644868850708, 0.8813591003417969, 0.45797672867774963, -0.33023127913475037, -0.06074408069252968, 0.5746979117393494, 0.5959951281547546, -0.3860918879508972, 0.37097734212875366, 0.24194099009037018, 0.9743068218231201, 0.09325207024812698, -0.10304147750139236, -0.48927998542785645, -0.23086225986480713, -0.5927175283432007, -0.08354759961366653, 0.3137736916542053, 0.0921260192990303 ]
http://arxiv.org/abs/2402.11073v3
http://arxiv.org/pdf/2402.11073v3
AFaCTA: Assisting the Annotation of Factual Claim Detection with Reliable LLM Annotators
2024-02-16T20:59:57
2024-06-02T18:35:25
Jingwei Ni, Minjing Shi, Dominik Stammbach, Mrinmaya Sachan, Elliott Ash, Markus Leippold
cs.CL
cs.CL, cs.AI
With the rise of generative AI, automated fact-checking methods to combat misinformation are becoming more and more important. However, factual claim detection, the first step in a fact-checking pipeline, suffers from two key issues that limit its scalability and generalizability: (1) inconsistency in definitions of the task and what a claim is, and (2) the high cost of manual annotation. To address (1), we review the definitions in related work and propose a unifying definition of factual claims that focuses on verifiability. To address (2), we introduce AFaCTA (Automatic Factual Claim deTection Annotator), a novel framework that assists in the annotation of factual claims with the help of large language models (LLMs). AFaCTA calibrates its annotation confidence with consistency along three predefined reasoning paths. Extensive evaluation and experiments in the domain of political speech reveal that AFaCTA can efficiently assist experts in annotating factual claims and training high-quality classifiers, and can work with or without expert supervision. Our analyses also result in PoliClaim, a comprehensive claim detection dataset spanning diverse political topics.
[ -0.2213635891675949, -0.8332593441009521, 0.7332548499107361, 0.22439050674438477, -0.20429731905460358, 0.16966596245765686, -0.1446269303560257, -0.5014742612838745, 0.3385874629020691, 0.5310534834861755, -0.09504018723964691, -0.32639697194099426, -0.9081330895423889, 0.1828775554895401, -0.34656041860580444, 0.8100813031196594, -0.0645187497138977, -0.21457049250602722, -0.47117581963539124, -0.48277193307876587, -0.3356497287750244, -0.5181994438171387, -0.5725564360618591, -0.18108130991458893, 0.2961994707584381, 0.4161766767501831, 0.770205020904541, 0.7349781394004822, 0.3374782204627991, 0.4130490720272064, 0.05846073105931282, 0.4841848909854889, 0.050579946488142014, 0.21023094654083252, -0.09136851876974106, -0.7189728021621704, -0.2716723680496216, 0.2530975937843323, 0.6134028434753418, 0.36544936895370483, -0.15515859425067902, 0.26821768283843994, -0.5969953536987305, 0.4281917214393616, -0.760593593120575, 0.4701312482357025, -0.8768961429595947, -0.08456117659807205, -0.425504207611084, 0.02374003455042839, -0.38255080580711365, -0.511335551738739, -0.05062360689043999, -0.4432610273361206, 0.35078203678131104, 0.10676763951778412, 0.9081358909606934, 0.6323336362838745, -0.4968082308769226, -0.5121250748634338, -0.6213589310646057, 0.17671515047550201, -0.6284633278846741, 0.25280526280403137, 0.3361567556858063, 0.27925464510917664, 0.04614318162202835, -0.7572858929634094, -0.987252414226532, -0.34262287616729736, -0.26284587383270264, -0.16264455020427704, -0.17149269580841064, 0.15986616909503937, 0.49720025062561035, 0.5189692378044128, -0.1701008826494217, -0.08904677629470825, -0.2965696156024933, -0.7413554787635803, 0.7039008736610413, -0.329370379447937, 0.3749864101409912, -0.21491362154483795, -0.4122775197029114, 0.1651618629693985, -0.8251785635948181, -0.07032452523708344, 0.4037146270275116, 0.28319934010505676, -0.09386172145605087, 0.5821030735969543, -0.3266795575618744, 0.5469202399253845, 0.03432348370552063, -0.1286485344171524, 0.12184276431798935, -0.2592220902442932, -0.39634767174720764, 0.2138429582118988, 0.685492992401123, -0.15774910151958466, 0.0397430956363678, -0.10544953495264053, -0.15411312878131866, 0.375389039516449, 0.08580759167671204, -0.6622393727302551, -0.3353225588798523, 0.2756519019603729, -0.22179333865642548, -0.2680465579032898, 0.25254178047180176, -0.5199999809265137, -0.6651008725166321, -0.5126200914382935, 0.43061867356300354, -0.12713831663131714, -0.31102436780929565, -0.14343595504760742, 0.112175352871418, -0.08205843716859818, 0.5096637010574341, -0.4598902463912964, 0.08283689618110657, 0.7246465682983398, 0.7931531667709351, 0.11524578928947449, 0.01666445843875408, -0.8840628266334534, -0.11894415318965912, -0.502454400062561, 1.168452262878418, -0.4632534980773926, 0.1148938536643982, 0.2780539095401764, 0.07172098010778427, 0.09853143990039825, -0.5043978095054626, 0.7766720056533813, -0.5018228888511658, 0.08052758872509003, -0.4504472315311432, -0.6308228969573975, -0.45769527554512024, 0.39384931325912476, -0.8406696319580078, 0.742612898349762, -0.19307713210582733, -0.5126446485519409, 0.8196150064468384, -0.49535661935806274, -0.48502376675605774, 0.12031382322311401, -0.42254191637039185, -0.4264906942844391, 0.15857136249542236, 0.018556073307991028, 0.3410830497741699, -0.21424971520900726, 0.4959639310836792, -0.05172812193632126, 0.06444588303565979, 0.40160825848579407, -0.47977447509765625, 0.902134895324707, -0.025609618052840233, -0.5278328657150269, 0.13753899931907654, -0.8629912734031677, -0.4408518373966217, -0.0935339704155922, -0.4342065453529358, -0.16514691710472107, 0.1538666933774948, -0.18284636735916138, 0.12256012111902237, 0.23305530846118927, -0.7738944292068481, 0.2630721628665924, -0.11226090788841248, 0.07921456545591354, 0.7836739420890808, -0.12933260202407837, -0.04287349060177803, -0.3679784834384918, 0.16073061525821686, -0.044039931148290634, -0.10071741789579391, -0.28722405433654785, -0.4951886534690857, -0.9541229009628296, -0.6689574122428894, 0.7619576454162598, 0.8178279399871826, -0.6242015361785889, 0.26826968789100647, -0.06731763482093811, -0.22176387906074524, -0.4798121750354767, 0.20368415117263794, 0.14340424537658691, 0.5745548605918884, 0.3689354956150055, -0.05320461466908455, -0.6366006135940552, -0.822424054145813, -0.4149135947227478, -0.6592521071434021, -0.03729880601167679, -0.0035722756292670965, 0.49108174443244934, -0.09491095691919327, 1.0714523792266846, -0.19051551818847656, -0.4918895661830902, 0.1592491865158081, 0.4689346253871918, -0.016577625647187233, 0.10504848510026932, 0.47606155276298523, -1.009325385093689, -0.3938336968421936, -0.14155802130699158, -0.682158350944519, -0.30396705865859985, -0.41810423135757446, 0.26936694979667664, 0.5695753693580627, 0.4148499071598053, -0.9068421125411987, 0.49418431520462036, 0.24889850616455078, -0.500558078289032, 0.30876728892326355, -0.08740703016519547, 0.31505802273750305, -0.6706780195236206, -0.03130365163087845, -0.0009291601600125432, -0.5256893634796143, -0.472906231880188, -0.21080751717090607, -0.04985935986042023, 0.2970176935195923, -0.2451256513595581, 0.3781895041465759, -0.254645437002182, 0.17039762437343597, -0.4444209337234497, 0.16337049007415771, -0.10397402197122574, 0.18736056983470917, -0.06822417676448822, 0.6579650044441223, 0.50423264503479, -0.49860310554504395, 0.3408186435699463, 0.39299505949020386, -0.04641244187951088, 0.7165396213531494, -0.415968656539917, 0.06631326675415039, 0.02163587138056755, 0.36646655201911926, -1.2055761814117432, -0.38699108362197876, 0.45344239473342896, -0.4385607838630676, 0.29427164793014526, -0.31943824887275696, -0.7825207114219666, -0.025225333869457245, -0.09411412477493286, -0.02827012911438942, 0.08331102132797241, -0.7674077749252319, 1.0287984609603882, 0.6546313166618347, -0.19473975896835327, -0.6445837020874023, -0.5843357443809509, 0.2811587154865265, -0.03772512450814247, -0.3975389003753662, 0.16733431816101074, 0.3453475832939148, -0.633383572101593, 0.062462616711854935, -0.2764613926410675, -0.12170187383890152, 0.0617637075483799, 0.449808269739151, 0.30815380811691284, -0.20557290315628052, 0.24265232682228088, -0.05993179604411125, -0.16456714272499084, 0.352979838848114, 0.07159382849931717, -0.03772784024477005, -0.10386170446872711, -0.5160025954246521, -0.5940024256706238, 0.19415970146656036, 0.668205201625824, -0.2677055299282074, 0.6987385153770447, 0.42919808626174927, -0.5676522254943848, -0.04269629716873169, -1.0196170806884766, 0.17136795818805695, -0.41313865780830383, -0.13793963193893433, -0.007802451495081186, -0.704584002494812, 0.5728791356086731, -0.291592001914978, 0.4305999279022217, 0.7648600935935974, 0.4625365734100342, 0.1376660019159317, 0.5376935601234436, 0.5864869356155396, -0.08556593954563141, 0.08604677021503448, 0.022934135049581528, 0.21910147368907928, -0.22840259969234467, -0.1352587193250656, -0.5711891055107117, -0.05664822831749916, -0.5658989548683167, -0.5609958171844482, -0.033264968544244766, -0.34971997141838074, -0.21723537147045135, -0.10338475555181503, -0.33281776309013367, 0.40618860721588135, 0.3483715057373047, -0.1579863429069519, 0.541320264339447, -0.003917496185749769, 0.3439200520515442, 0.1690479964017868, -0.4166123867034912, -0.5829513669013977, 1.0329735279083252, 0.4425680935382843, 0.22947560250759125, 0.30336326360702515, 0.37937960028648376, 0.7489111423492432, 1.001711130142212, -0.7548166513442993, 0.43350130319595337, -0.2149602770805359, -0.8633251786231995, -0.10461793094873428, -0.2339220643043518, -0.1646135002374649, 0.3757637143135071, -0.6008851528167725, -0.5103839635848999, 0.39583322405815125, 0.4022475481033325, -0.403953492641449, 0.5815645456314087, -0.3542724549770355, 0.5569698214530945, -0.1695321798324585, -0.21083594858646393, -0.20178738236427307, -0.5121443271636963, 0.5115850567817688, 0.05060616135597229, 0.1399252861738205, -0.3235168755054474, -0.019720731303095818, 0.6880964636802673, -0.42278891801834106, 1.0699659585952759, -0.5391786098480225, 0.01645529642701149, 0.6098163723945618, -0.05282488465309143, 0.5112787485122681, 0.25166502594947815, 0.12103379517793655, 0.2592487633228302, -0.05095392465591431, -0.2005813866853714, -0.3874991834163666, 0.14390771090984344, -0.3603011965751648, -0.755355715751648, -0.8648615479469299, -0.3867577314376831, -0.11236129701137543, 0.018052950501441956, -0.0034764697775244713, 0.368801474571228, -0.36527371406555176, 0.29119154810905457, 0.9124670624732971, 0.07218092679977417, 0.07893914729356766, 0.5179890990257263, -0.07902014255523682, -0.5326305031776428, 0.8358855843544006, 0.23278029263019562, -0.05922887474298477, 0.24830801784992218, 0.05795902758836746, -0.4829806089401245, -0.5333291292190552, -0.40470996499061584, 0.19990341365337372, -0.7678229808807373, -0.6033205986022949, -0.7348141074180603, -0.03690045326948166, -0.21214477717876434, 0.04479510709643364, -0.4401116967201233, -0.6751384735107422, -0.08784079551696777, -0.38175898790359497, 0.598171591758728, 0.5680947303771973, -0.4244457483291626, 0.3095768392086029, -0.25981512665748596, 0.7360595464706421, 0.4667440354824066, 0.11118531227111816, -0.6276780366897583, -0.3508446216583252, 0.11566707491874695, 0.031479738652706146, -0.18934866786003113, -0.6799865365028381, -0.13047800958156586, 0.30349066853523254, 0.4982379376888275, 0.49371299147605896, 0.1226816177368164, 0.2155134081840515, -0.4848332703113556, 0.7552924156188965, -0.0432596281170845, -0.9379414916038513, 0.44835424423217773, 0.03313154727220535, -0.4393751323223114, 0.7959038615226746, 0.34009790420532227, -0.19770662486553192, -0.403677374124527, -0.7467436194419861, -0.7246818542480469, 0.23945152759552002, 0.02994040958583355, 0.0541536808013916, -0.1568199098110199, 0.464860200881958, 0.1432679444551468, 0.18583576381206512, -0.5442025661468506, -0.3650782108306885, -0.2646488845348358, -0.2618526518344879, 0.22762428224086761, -0.45844388008117676, -0.7132828831672668, 0.192937970161438, 0.7628099918365479, -0.4696395695209503, 0.09732122719287872, 0.4643019437789917, -0.30050915479660034, -0.04829596355557442, 0.1733306348323822, 0.5414746999740601, 0.7444748878479004, 0.0123616773635149, 0.17086969316005707, 0.21319669485092163, -0.40353086590766907, 0.2976246178150177, 0.5118200778961182, -0.41838955879211426, 0.3751986622810364, 0.536793053150177, 0.6928538680076599, -0.11164049059152603, -0.39934366941452026, 0.6468597054481506, 0.01790723018348217, -0.05241983011364937, -0.5526513457298279, 0.01877325214445591, -0.12474881857633591, 0.28811824321746826, 0.6386032104492188, 0.27957451343536377, 0.0932437852025032, -0.6596754193305969, 0.49379387497901917, 0.5638143420219421, -0.037552375346422195, -0.20643232762813568, 0.6687220931053162, 0.27770352363586426, -0.2143411487340927, 0.2865367829799652, -0.15092264115810394, -0.7289842963218689, 0.7388449311256409, 0.22909371554851532, 0.806829571723938, -0.284198522567749, 0.48111656308174133, 0.17015187442302704, 0.5745020508766174, -0.24043099582195282, 0.016993148252367973, -0.003868031082674861, -0.7129026651382446, -0.5862342119216919, -0.3101966381072998, -0.7556812167167664, -0.021458284929394722, -0.25105056166648865, 0.05792349576950073, -0.7171039581298828, -0.16359323263168335, 0.13417135179042816, 0.2958941161632538, -0.4818110764026642, 0.27193719148635864, 0.4157078266143799, 1.0969947576522827, -1.105677604675293, 0.412289559841156, 0.5949496626853943, -0.5225563645362854, -0.5430921912193298, 0.1771765798330307, 0.4545745253562927, -0.5594614744186401, 0.5728093981742859, 0.21990960836410522, -0.19862240552902222, -0.4523574709892273, -0.7743368744850159, -0.4971792697906494, 1.0760537385940552, 0.6957980394363403, -0.2433994561433792, 0.2529306411743164, 0.18971844017505646, 0.3307304084300995, -0.4588407874107361, -0.0830366462469101, 0.4170614778995514, 0.698860228061676, 0.17541351914405823, -0.6274689435958862, 0.34767886996269226, 0.25910863280296326, -0.4691488444805145, -0.09046574681997299, -0.8797286152839661, 0.6617224812507629, -0.15674756467342377, -0.3569893538951874, -0.06512589752674103, 1.2416703701019287, 0.3456782102584839, 0.591032862663269, 0.8708568811416626, 0.5289686918258667, 1.2281588315963745, -0.3034657835960388, 0.8978452682495117, -0.20173682272434235, 0.17634299397468567, 1.0118943452835083, -0.18624357879161835, 0.5797688961029053, 0.22949156165122986, -0.1324278563261032, 0.45294666290283203, 0.4979398846626282, -0.06576535850763321, 0.03942336142063141, 0.024034207686781883, -0.4946006238460541, -0.4115581512451172, -0.17872174084186554, -0.07637649774551392, 0.5389434099197388, 0.6014814376831055, -0.05885658413171768, -0.07224172353744507, -0.27431005239486694, 0.3297511041164398, 0.17890679836273193, -0.1962709128856659, 0.4944474697113037, -0.16210472583770752, -0.611344575881958, 0.22791361808776855, -0.24067258834838867, 0.4364857077598572, -0.47024574875831604, -0.3716025650501251, -0.3165853023529053, -0.031257614493370056, -0.3990497589111328, -0.5468074679374695, 0.46432140469551086, 0.03910909593105316, -0.1760440617799759, 0.09237605333328247, 0.8493200540542603, -0.47747161984443665, -0.39248302578926086, -0.09352882951498032, 0.3992319405078888, -0.15544724464416504, -0.1796570122241974, -0.6134862899780273, 0.23993994295597076, -0.12960323691368103, -0.18209922313690186, -0.10583692789077759, 0.6327075362205505, 0.04614446684718132, 0.6837046146392822, 0.8138782382011414, 0.1275343894958496, -0.14674587547779083, -0.3151937425136566, 0.7271712422370911, -0.2792726457118988, -0.2277435064315796, -0.7235454320907593, 0.5489654541015625, -0.23782309889793396, -0.06997667253017426, 0.519756555557251, 0.47865137457847595, 0.4289442300796509, 0.2405063956975937, 0.8961108922958374, -0.39752811193466187, 0.5302647948265076, -0.6949713230133057, 0.676557719707489, -0.2809421420097351, 0.07396984100341797, 0.14819934964179993, -0.6524130702018738, -0.5744344592094421, 0.7583942413330078, -0.07936178892850876, -0.3138183057308197, 0.5146040916442871, 0.5845763087272644, -0.16109314560890198, 0.006469549145549536, 0.027552664279937744, 0.4908594787120819, 0.49901604652404785, -0.09627346694469452, 0.5885633826255798, -0.2970212996006012, 0.3162468671798706, -0.2049262374639511, -0.20942211151123047, -0.2266000509262085, -1.0981696844100952, -0.7237949371337891, -0.5707924962043762, -0.8380036354064941, -0.5073533654212952, -0.11745771020650864, 0.7918059825897217, 0.6347844004631042, -1.1092443466186523, 0.18317583203315735, 0.08358097821474075, 0.3498234152793884, -0.017357131466269493, -0.21595124900341034, 0.4657178223133087, -0.4328083395957947, -0.5913590788841248, 0.3205154836177826, 0.2505566477775574, -0.18417584896087646, -0.35129019618034363, 0.3166765570640564, -0.6212474703788757, 0.5780168771743774, 0.44500672817230225, 0.8579038381576538, -0.7501839399337769, -0.6862003803253174, -0.6004932522773743, 0.12839210033416748, 0.11067723482847214, 0.8197158575057983, -0.8004733920097351, 0.36594024300575256, 0.3102584183216095, 1.0955257415771484, 0.20993749797344208, 0.20248547196388245, 0.365134060382843, -0.6630311608314514, 0.25630003213882446, 0.048761676996946335, 0.5128101110458374, 0.6302989721298218, -0.49124979972839355, 0.7385618090629578, 0.48218822479248047, -0.5047991871833801, -1.023283839225769, 0.15560367703437805, -0.9519131779670715, 0.11931543052196503, 0.9073429107666016, -0.4181647002696991, -0.2737154960632324, -0.19499196112155914, -0.10114935785531998, 0.24799935519695282, -0.15198194980621338, 0.8580799698829651, 0.8749374151229858, -0.10820270329713821, 0.0341554693877697, -0.6804916262626648, 0.729414165019989, 0.17265255749225616, -0.7424360513687134, 0.2906370162963867, 0.8097752928733826, 0.38715946674346924, 0.6849813461303711, 0.7316677570343018, 0.10884910821914673, 0.3007878065109253, 0.043694838881492615, -0.08602575212717056, -0.11855498701334, -0.4594539999961853, -0.13167795538902283, 0.29783380031585693, -0.08501381427049637, -0.36330434679985046 ]
http://arxiv.org/abs/2402.11068v1
http://arxiv.org/pdf/2402.11068v1
Bridging Causal Discovery and Large Language Models: A Comprehensive Survey of Integrative Approaches and Future Directions
2024-02-16T20:48:53
2024-02-16T20:48:53
Guangya Wan, Yuqi Wu, Mengxuan Hu, Zhixuan Chu, Sheng Li
cs.CL
cs.CL, cs.AI
Causal discovery (CD) and Large Language Models (LLMs) represent two emerging fields of study with significant implications for artificial intelligence. Despite their distinct origins, CD focuses on uncovering cause-effect relationships from data, and LLMs on processing and generating humanlike text, the convergence of these domains offers novel insights and methodologies for understanding complex systems. This paper presents a comprehensive survey of the integration of LLMs, such as GPT4, into CD tasks. We systematically review and compare existing approaches that leverage LLMs for various CD tasks and highlight their innovative use of metadata and natural language to infer causal structures. Our analysis reveals the strengths and potential of LLMs in both enhancing traditional CD methods and as an imperfect expert, alongside the challenges and limitations inherent in current practices. Furthermore, we identify gaps in the literature and propose future research directions aimed at harnessing the full potential of LLMs in causality research. To our knowledge, this is the first survey to offer a unified and detailed examination of the synergy between LLMs and CD, setting the stage for future advancements in the field.
[ -0.3836973011493683, -1.0458381175994873, 1.0645402669906616, 0.24423706531524658, 0.19205600023269653, 0.18837128579616547, -0.5013953447341919, -0.7774534225463867, 0.01317621860653162, 0.40064170956611633, -0.5842240452766418, -0.4763535261154175, -0.8824201226234436, 0.15758848190307617, -0.49271970987319946, 0.7314971685409546, -0.07490091025829315, 0.10402444750070572, -0.4829021096229553, 0.04497469589114189, -0.7020747065544128, -0.6039661169052124, -0.6383437514305115, -0.578681468963623, 0.7511169910430908, 0.19563981890678406, 0.6057384610176086, 0.37525475025177, 0.6361182928085327, 0.36604925990104675, 0.0005697775632143021, 0.3240426182746887, -0.30382102727890015, 0.07525776326656342, -0.44680508971214294, -0.3571191430091858, -0.32463884353637695, 0.0162956640124321, 0.6548691987991333, 0.9607599377632141, 0.08194874972105026, -0.047014135867357254, 0.08984142541885376, 0.38609981536865234, -0.5348257422447205, 0.32901161909103394, -0.4251045882701874, -0.10008266568183899, -0.39458486437797546, -0.4030115306377411, -0.2710809111595154, -0.34675776958465576, 0.20267482101917267, -0.4499988257884979, 0.21631519496440887, -0.0636005848646164, 0.3723577857017517, 0.5081338286399841, -0.9632883667945862, -0.6427571773529053, -1.1690574884414673, 0.9563295245170593, -0.876266360282898, 0.2634190022945404, 0.16864638030529022, 0.18728496134281158, -0.6201443076133728, -0.8410676717758179, -0.7409544587135315, -0.2635326385498047, -0.14147917926311493, 0.041194286197423935, -0.24009251594543457, 0.10809426009654999, 0.17038483917713165, 0.19127324223518372, -0.4654788374900818, 0.6602076888084412, -0.04724269360303879, -0.30798274278640747, 0.7271488308906555, 0.40689826011657715, 0.5954200625419617, 0.20089899003505707, -0.3013492226600647, 0.3221471607685089, -1.0524204969406128, -0.3025768995285034, 0.31531664729118347, 0.3094885051250458, -0.15541240572929382, 0.5092792510986328, 0.016673710197210312, 0.791282057762146, -0.3067726194858551, -0.14775538444519043, -0.19227057695388794, -0.7970014810562134, -0.16545113921165466, 0.09425132721662521, 0.8935049176216125, -0.11289113014936447, -0.08446169644594193, -0.4314911365509033, -0.024637019261717796, 0.03351409360766411, -0.00564577616751194, -0.4176734685897827, -0.064576156437397, 0.1857333481311798, -0.24868981540203094, 0.002265464747324586, 0.018369236961007118, -0.5215408802032471, -0.6128105521202087, -0.9395276308059692, 0.26489800214767456, -0.22233468294143677, -0.30008286237716675, 0.2076118439435959, 0.05555744469165802, 0.3061676025390625, 0.4552442133426666, -0.6452622413635254, 0.2525479793548584, 0.8976390957832336, 0.6304140090942383, -0.0798301249742508, -0.3632410764694214, -0.4854187071323395, 0.3932971656322479, -0.27426430583000183, 0.8873658180236816, -0.4030437469482422, -0.12655574083328247, 0.33948877453804016, 0.056041181087493896, 0.0010552644962444901, -0.4005100727081299, 0.9405458569526672, -0.6843138337135315, 0.17012065649032593, -0.5119143724441528, -0.6484339237213135, -0.4067557156085968, 0.15990757942199707, -0.7472137212753296, 0.8308539390563965, -0.2718755304813385, -0.8105247616767883, 0.3845086097717285, -0.5130733251571655, -0.614981472492218, 0.035386327654123306, -0.30298444628715515, -0.31898146867752075, -0.056021548807621, -0.12715445458889008, 0.6661521792411804, -1.0054296255111694, 1.0108522176742554, -0.49348872900009155, -0.19294238090515137, 0.12858419120311737, -0.4661620855331421, 0.6845061779022217, -0.054163750261068344, -0.667669415473938, 0.21961025893688202, -0.6489856839179993, -0.4179340898990631, 0.09876390546560287, -0.29327479004859924, -0.3938528597354889, 0.538022518157959, -0.049834951758384705, 0.39684221148490906, 0.3956693708896637, -0.32135793566703796, 0.25396060943603516, -0.11128116399049759, 0.41871702671051025, 0.7215005159378052, -0.1243337020277977, 0.5204760432243347, -0.039209455251693726, 0.19819018244743347, 0.1431310474872589, 0.10834577679634094, -0.07039503008127213, -0.34559300541877747, -0.5234211683273315, -0.027149133384227753, -0.051488883793354034, 0.45367443561553955, -0.7525372505187988, 0.5602682828903198, -0.23338966071605682, -0.45902618765830994, -0.12192002683877945, 0.1399553418159485, 0.3004078269004822, 0.41565072536468506, 0.3544013202190399, -0.07525218278169632, -0.5074582695960999, -0.8594881296157837, -0.36404183506965637, -0.1564452201128006, 0.03736518323421478, 0.3100503087043762, 0.3995048701763153, -0.48430681228637695, 0.9928644299507141, -0.4094277322292328, -0.3208996653556824, -0.21388736367225647, 0.1194075271487236, 0.3768874704837799, 0.3359571397304535, 0.42272424697875977, -0.8927746415138245, -0.1423407644033432, 0.152908056974411, -1.0482349395751953, -0.1392601728439331, -0.048980463296175, 0.12059703469276428, -0.051496561616659164, 0.7235948443412781, -0.6410961151123047, 0.15818649530410767, 0.32283511757850647, -0.5216003060340881, 0.5591530799865723, -0.23898707330226898, 0.08066659420728683, -0.7762824296951294, 0.10785449296236038, 0.13386116921901703, 0.2286721020936966, -0.842307984828949, -0.17175081372261047, 0.05575645714998245, 0.3723986744880676, -0.08783816546201706, 0.6344265341758728, -0.7792361378669739, -0.19874371588230133, -0.15793530642986298, 0.14751866459846497, -0.46140894293785095, 0.18437790870666504, -0.240830197930336, 0.4101794362068176, 0.49058130383491516, -0.6535114049911499, 0.3878774046897888, 0.11673527210950851, -0.17425093054771423, 0.3476592004299164, -0.6047264337539673, -0.1143103763461113, -0.2185305804014206, 0.47595080733299255, -0.9126991629600525, -0.3861216604709625, 0.12127409875392914, -0.1214977353811264, 0.42574676871299744, 0.05070887878537178, -1.1267427206039429, -0.3729637563228607, -0.09202603250741959, 0.6637392044067383, 0.17223365604877472, -0.5872009992599487, 0.5687782168388367, 0.6085245609283447, -0.33444082736968994, -0.45127689838409424, -0.37063366174697876, 0.549605131149292, -0.44933703541755676, -0.628186047077179, 0.3691388666629791, -0.21093866229057312, -0.5040510296821594, -0.2826713025569916, 0.20525847375392914, -0.01910608820617199, 0.242844820022583, 0.11352675408124924, 0.2210841029882431, -0.114064522087574, 0.27392834424972534, -0.026112714782357216, -0.007954024709761143, 0.4057576060295105, -0.43380752205848694, 0.4578154683113098, 0.1390582174062729, -0.3382609784603119, -0.12286495417356491, 0.3906817138195038, 0.6080641150474548, -0.3172386884689331, 0.5856828093528748, 0.635577917098999, -0.32820838689804077, -0.05134487524628639, -0.709970235824585, -0.15489639341831207, -0.38721394538879395, 0.12216352671384811, 0.06611594557762146, -1.078041434288025, 0.4590621590614319, -0.5107976198196411, -0.04673616588115692, 0.4359482228755951, 0.7284640073776245, 0.2489887923002243, 0.8807089328765869, 0.7976829409599304, -0.44491860270500183, 0.3292226791381836, -0.0946001410484314, 0.6840210556983948, -0.6871159672737122, -0.4469567835330963, -0.638485848903656, -0.18042314052581787, -0.7115324139595032, -0.391753226518631, 0.5556558966636658, -0.08390969783067703, -0.4901881217956543, -0.08441625535488129, -0.14131219685077667, 0.10292240977287292, 0.6238492131233215, -0.04870851710438728, 0.5922896862030029, -0.5193381309509277, 0.14145691692829132, 0.18057870864868164, -0.6398966908454895, -0.4620111286640167, 0.9748858213424683, 0.19859951734542847, 0.6259913444519043, 0.26036518812179565, 0.40677571296691895, 0.1644899994134903, 0.2767915725708008, -0.5654951333999634, 0.5449723601341248, 0.21311338245868683, -0.6201679110527039, -0.3645264804363251, -0.27091318368911743, -0.9748175144195557, -0.10118608921766281, -0.15746119618415833, -0.5303916931152344, 0.15448854863643646, -0.12072300165891647, 0.13790005445480347, 0.3102220892906189, -0.48221248388290405, 0.677410900592804, -0.33239540457725525, -0.6512730717658997, -0.2655208706855774, -0.9336023926734924, 0.8560905456542969, -0.25479891896247864, 0.5217899084091187, -0.06869500130414963, -0.03110261633992195, 0.5674931406974792, -0.11352872848510742, 1.138436198234558, -0.07814543694257736, -0.6758847832679749, 0.11419273912906647, -0.06475964188575745, 0.7355703115463257, -0.028161391615867615, 0.14379183948040009, 0.30791258811950684, -0.3588848412036896, -0.2912936508655548, -0.4440499544143677, 1.0996860265731812, -0.6718789935112, -0.5351051688194275, -0.3623769283294678, -0.6628608703613281, -0.31235015392303467, 0.4276658296585083, -0.0865401178598404, 0.44476109743118286, -0.31547969579696655, -0.22847330570220947, 0.7882252931594849, -0.41146743297576904, 0.6339088082313538, 0.7736827731132507, 0.26015692949295044, -0.07235374301671982, 0.6965980529785156, -0.036960989236831665, -0.011270958930253983, 0.5237775444984436, 0.07210998982191086, -0.24537351727485657, -0.6739922165870667, 0.08809573948383331, 0.5714929103851318, -0.6457152962684631, -0.2828625738620758, -0.6232729554176331, 0.05224829539656639, -0.37138256430625916, -0.14672042429447174, -0.17100892961025238, -0.0668025091290474, -0.39933082461357117, -0.15259197354316711, 0.31457456946372986, 1.1659566164016724, -0.13240255415439606, 0.05056034028530121, -0.6467770338058472, 0.18785160779953003, 0.008199174888432026, 0.2905144691467285, 0.2364409863948822, 0.05305696278810501, -0.4177771508693695, -0.13229882717132568, -0.3496301472187042, -0.6935173869132996, 0.3570937514305115, -0.052120745182037354, 0.6260437965393066, 0.472677618265152, -0.010643801651895046, 0.5966808199882507, -0.7867314219474792, 0.8489363193511963, 0.20273301005363464, -0.7119943499565125, 0.4058211147785187, -0.6047968864440918, -0.0077246190048754215, 0.02260488085448742, 0.6232088208198547, -0.4255613088607788, -0.45676442980766296, -0.5339784026145935, -1.006309151649475, 0.3970722258090973, 0.014807223342359066, -0.3319603502750397, 0.005892546381801367, 0.1865517795085907, 0.1536744236946106, -0.0034511862322688103, -0.46207621693611145, -0.23898129165172577, 0.5545517206192017, -0.1592407077550888, -0.43773263692855835, -0.18275567889213562, -0.28285425901412964, -0.1368289440870285, 0.4621485471725464, -0.19366879761219025, 0.1634669154882431, 0.19645258784294128, -0.09768063575029373, -0.02607486955821514, 0.22503574192523956, 0.4839610755443573, 0.6012334227561951, 0.13576330244541168, 0.2850126624107361, -0.06929797679185867, -0.19205738604068756, 0.06140254810452461, 0.206906259059906, -0.04460383951663971, -0.1479400098323822, 0.9601482152938843, 0.5133062601089478, 0.630424439907074, -0.7598854899406433, 0.383425235748291, 0.060886867344379425, -0.04511338844895363, -0.5861533284187317, -0.1770225167274475, 0.23580090701580048, 0.5281701683998108, 0.36957070231437683, -0.29258063435554504, 0.3657378852367401, -0.6906031966209412, -0.07613649219274521, 0.7083877325057983, -0.1355447918176651, -0.6011819243431091, 0.8229328989982605, 0.015298154205083847, 0.11069943755865097, 0.3074875473976135, 0.13704361021518707, -0.3905104994773865, 0.6479157209396362, 0.384560227394104, 0.9019020795822144, -0.126246839761734, -0.02925206907093525, 0.24417303502559662, 0.2835270166397095, -0.042563024908304214, 0.058880191296339035, -0.1588847041130066, -0.7221254706382751, -0.524878978729248, -0.40887147188186646, -0.3351844549179077, -0.11726467311382294, -0.33701133728027344, 0.35282137989997864, -0.018354836851358414, 0.17082525789737701, 0.054224465042352676, 0.18802513182163239, -0.860621452331543, 0.038150180131196976, 0.062306150794029236, 0.5881139636039734, -0.9149638414382935, 0.7104954123497009, 0.5306050777435303, -0.4580807685852051, -0.7325727939605713, -0.013678868301212788, 0.24969521164894104, -0.5300347208976746, 0.9115001559257507, -0.20947569608688354, 0.06461400538682938, 0.06706776469945908, -0.6257110238075256, -0.9810135960578918, 1.4228427410125732, 0.2743128538131714, -0.36370790004730225, -0.1801542341709137, 0.2282920926809311, 0.4911320209503174, -0.10910452157258987, 0.34489986300468445, 0.9524087309837341, 0.7517923712730408, -0.10589081048965454, -0.9179495573043823, 0.27789056301116943, 0.11987021565437317, -0.13190636038780212, 0.441710501909256, -0.5025373697280884, 0.7068681716918945, -0.20117568969726562, -0.28599196672439575, -0.020761718973517418, 0.6028720736503601, 0.13876529037952423, 0.6458684206008911, 0.14132679998874664, 0.40328100323677063, 0.6958595514297485, -0.05817032232880592, 1.1808007955551147, -0.18711553514003754, 0.26960301399230957, 0.9441289305686951, -0.4585530459880829, 0.3534786105155945, 0.5741153359413147, -0.4134209454059601, 0.5117828249931335, 0.6600662469863892, 0.36116448044776917, 0.3036401867866516, 0.2644307613372803, -0.5294246673583984, -0.0800776258111, -0.2527127265930176, -0.1094079464673996, 0.16692501306533813, 0.5924302339553833, -0.17612147331237793, -0.38455021381378174, -0.038533471524715424, 0.20829211175441742, -0.040694691240787506, -0.19328831136226654, 0.8948889374732971, 0.12942302227020264, -0.6940083503723145, 0.2390785962343216, -0.10168857127428055, 0.6206077337265015, -0.6614477038383484, -0.16740655899047852, -0.3090382218360901, 0.1590907722711563, -0.2211601734161377, -0.7195701599121094, 0.10695251822471619, -0.26567766070365906, -0.2686591148376465, -0.06787944585084915, 0.7856693863868713, -0.5218369364738464, -0.24137887358665466, 0.6638050675392151, 0.6161019206047058, -0.14015787839889526, 0.12504638731479645, -0.16882330179214478, 0.13088715076446533, -0.28255707025527954, 0.0362602174282074, 0.4412015974521637, 0.9117889404296875, -0.28178462386131287, 0.7156040668487549, 0.8051378130912781, 0.17465326189994812, 0.07302097231149673, 0.05901959910988808, 1.0269333124160767, -0.9985280632972717, -0.11227093636989594, -1.0426890850067139, 0.35086843371391296, -0.005480286665260792, -0.05027061328291893, 0.8544784784317017, 0.4193996787071228, 0.6241341829299927, -0.03631286695599556, 0.899804413318634, 0.0013793021207675338, 0.43103930354118347, -0.6545832753181458, 0.416602224111557, -0.46765509247779846, 0.48966184258461, -0.5686513185501099, -0.6570267677307129, -0.567303478717804, -0.21129029989242554, -0.3755657374858856, -0.19766660034656525, 0.6914567947387695, 0.640293538570404, 0.006831879261881113, -0.06138031557202339, 0.18134088814258575, 0.48794862627983093, 0.8993733525276184, 0.646243155002594, 0.982490599155426, -0.15333291888237, 0.13932812213897705, 0.2200791984796524, -0.4256429672241211, -0.2157423347234726, -0.9374901056289673, -0.7468736171722412, -0.8121036291122437, -0.045062996447086334, 0.21175521612167358, -0.14915741980075836, 0.5427035689353943, 0.16961055994033813, -0.4851358234882355, -0.27106979489326477, -0.3802410960197449, 0.43860337138175964, 0.06324893236160278, -0.25825101137161255, 0.4956073462963104, -0.45996204018592834, -0.7508713603019714, 0.5485924482345581, 0.5109831690788269, -0.16330985724925995, -0.4474242627620697, -0.07859113067388535, -0.2694660425186157, 0.05883786082267761, 0.9818847179412842, 0.39342859387397766, -0.8587563633918762, -0.20322667062282562, -0.14501677453517914, 0.10763487219810486, -0.4337874948978424, 1.2407786846160889, -0.72898268699646, 0.16936416923999786, 0.4724794626235962, 0.8218420147895813, 0.17179131507873535, -0.48688599467277527, 0.9094390869140625, -0.344536691904068, 0.01698276773095131, 0.29296377301216125, 0.5336665511131287, 0.3228166103363037, -0.4574601650238037, 0.6672311425209045, 0.28202036023139954, -0.8578444719314575, -0.7931334376335144, 0.3986595571041107, -1.0417693853378296, -0.3480006754398346, 1.1321580410003662, 0.15687258541584015, 0.26465702056884766, -0.36827173829078674, -0.1178453117609024, 0.24201764166355133, 0.09582162648439407, 0.7000345587730408, 0.6567560434341431, -0.2993509769439697, 0.20667560398578644, -0.6707497239112854, 0.42285624146461487, 0.0700325295329094, -0.9451344013214111, 0.17061308026313782, 0.7595484852790833, -0.01376013271510601, -0.0057590315118432045, 0.49492526054382324, -0.24161280691623688, -0.0345938615500927, -0.5506484508514404, 0.0569494292140007, 0.3035072684288025, -0.27019137144088745, -0.29351136088371277, -0.028982216492295265, 0.005657825153321028, 0.4964679777622223 ]
http://arxiv.org/abs/2402.11060v1
http://arxiv.org/pdf/2402.11060v1
Persona-DB: Efficient Large Language Model Personalization for Response Prediction with Collaborative Data Refinement
2024-02-16T20:20:43
2024-02-16T20:20:43
Chenkai Sun, Ke Yang, Revanth Gangi Reddy, Yi R. Fung, Hou Pong Chan, ChengXiang Zhai, Heng Ji
cs.CL
cs.CL, cs.AI, cs.IR
The increasing demand for personalized interactions with large language models (LLMs) calls for the development of methodologies capable of accurately and efficiently identifying user opinions and preferences. Retrieval augmentation emerges as an effective strategy, as it can accommodate a vast number of users without the costs from fine-tuning. Existing research, however, has largely focused on enhancing the retrieval stage and devoted limited exploration toward optimizing the representation of the database, a crucial aspect for tasks such as personalization. In this work, we examine the problem from a novel angle, focusing on how data can be better represented for more efficient retrieval in the context of LLM customization. To tackle this challenge, we introduce Persona-DB, a simple yet effective framework consisting of a hierarchical construction process to improve generalization across task contexts and collaborative refinement to effectively bridge knowledge gaps among users. In the task of response forecasting, Persona-DB demonstrates superior efficiency in maintaining accuracy with a significantly reduced retrieval size, a critical advantage in scenarios with extensive histories or limited context windows. Our experiments also indicate a marked improvement of over 15% under cold-start scenarios, when users have extremely sparse data. Furthermore, our analysis reveals the increasing importance of collaborative knowledge as the retrieval capacity expands.
[ -0.6685946583747864, -0.6093767285346985, 0.7030383944511414, 0.21475745737552643, 0.06320542097091675, 0.2560673952102661, -0.2930004894733429, -0.29625043272972107, 0.4350060522556305, 0.6374982595443726, -0.7805569171905518, -0.5149228572845459, -0.13422958552837372, -0.06699458509683609, -0.13517440855503082, 0.8377199172973633, 0.5515699982643127, 0.06439164280891418, -0.50752854347229, -0.008791116066277027, -0.5690152645111084, -0.7186328768730164, -0.4953429400920868, -0.5244044661521912, 0.7856805324554443, 0.6182116866111755, 0.6972842812538147, 0.550571084022522, 0.4478999674320221, 0.3280111253261566, 0.17998521029949188, 0.04132996127009392, -0.7414332628250122, 0.5465916991233826, -0.24082203209400177, -0.40693235397338867, -0.5645657777786255, -0.33486929535865784, 0.3956778645515442, 1.2376697063446045, -0.34636422991752625, 0.008393500931560993, 0.10064519941806793, 0.8274854421615601, -0.5763651728630066, 0.3288649618625641, -0.5329273343086243, -0.07183203846216202, -0.2704334259033203, -0.21308401226997375, -0.5893912315368652, -0.16660575568675995, 0.569610059261322, -0.5933139324188232, 0.31418561935424805, 0.32087135314941406, 0.282949298620224, 0.10351008176803589, -0.37882837653160095, 0.15981899201869965, -0.8979202508926392, 0.8075990676879883, -0.47283560037612915, 0.526650607585907, 0.3415241539478302, 0.5452353954315186, -0.32138878107070923, -0.691892683506012, -0.33990538120269775, -0.1188274547457695, -0.19583866000175476, 0.09346932172775269, -0.07938345521688461, 0.0662749856710434, 0.20652861893177032, 0.2936699688434601, -0.6018012762069702, 0.16525258123874664, 0.017086833715438843, -0.13707609474658966, 0.5554795861244202, 0.4005107283592224, 0.0032823060173541307, -0.30699673295021057, -0.15698528289794922, 0.09169422090053558, -0.6156134009361267, -0.13977515697479248, 0.3223079442977905, 0.46554893255233765, 0.1010255515575409, 0.5347936153411865, -0.47211843729019165, 0.634830117225647, 0.44895124435424805, -0.0027925691101700068, 0.4348602294921875, -0.27305868268013, -0.23483018577098846, -0.36082857847213745, 0.7456135153770447, 0.35082802176475525, 0.030235793441534042, -0.4699256420135498, -0.11472376435995102, -0.3154437839984894, 0.40094953775405884, -0.8259066343307495, -0.3852534890174866, 0.3933550715446472, -0.39263418316841125, -0.07506591826677322, -0.05195760726928711, -0.9578312039375305, -0.815618097782135, -0.61263507604599, -0.09300275146961212, -0.5172861218452454, -0.1329537183046341, 0.06653342396020889, 0.28752601146698, 0.007092669606208801, 0.6208594441413879, -1.0163917541503906, 0.43715140223503113, 0.7841205596923828, 0.4617977738380432, -0.11021697521209717, 0.044933632016181946, -0.7032052874565125, 0.3752574026584625, -0.1549605131149292, 0.9901180267333984, -0.7010437846183777, -0.5819122791290283, -0.11210077255964279, -0.2081107348203659, 0.13676919043064117, -0.6285861134529114, 0.386700838804245, -0.7167863249778748, 0.5453181266784668, -0.6611751317977905, -0.6460104584693909, 0.07997376471757889, 0.16187311708927155, -0.5931776165962219, 0.7419620156288147, 0.20408473908901215, -0.7663178443908691, 0.3645946979522705, -0.4422350525856018, -0.2469194084405899, 0.34627893567085266, -0.28369754552841187, -0.32072100043296814, 0.12571516633033752, 0.30063116550445557, 0.7084294557571411, -0.47820335626602173, 0.2403835505247116, -0.6327725052833557, -0.39106252789497375, 0.17486713826656342, 0.34499961137771606, 0.37235596776008606, 0.19622834026813507, -0.04645054042339325, 0.20273487269878387, -0.7172773480415344, 0.039850980043411255, -0.0041867587715387344, -0.40796056389808655, -0.5799659490585327, 0.036907367408275604, 0.11824321746826172, -0.04000724107027054, 0.5386536717414856, -0.4136296510696411, 0.2037069946527481, -0.7482732534408569, -0.15620705485343933, 0.7642399668693542, 0.07609183341264725, 0.8063092231750488, -0.352220743894577, 0.5095455050468445, -0.03109411522746086, -0.09043663740158081, -0.42325496673583984, -0.35543039441108704, -0.5027353763580322, -0.1655322164297104, 0.23115913569927216, 0.46107563376426697, -0.5786011815071106, 0.5517963171005249, -0.5398292541503906, -0.38148897886276245, -0.36830952763557434, 0.22440800070762634, 0.29030418395996094, 0.759161114692688, 0.26081520318984985, -0.5598174333572388, -0.9036272764205933, -1.2437515258789062, -0.18966542184352875, -0.20342913269996643, -0.4772453010082245, 0.7661494016647339, 0.16915707290172577, -0.31226611137390137, 1.1421161890029907, -0.8913502097129822, -0.19461077451705933, -0.36917275190353394, -0.041996609419584274, 0.29541900753974915, 0.37675559520721436, 0.6867237091064453, -0.8459780216217041, -0.6996949911117554, 0.06736546009778976, -0.5801409482955933, -0.16146212816238403, -0.004198047332465649, -0.14662177860736847, -0.028554972261190414, 0.05077625438570976, -0.41328394412994385, -0.03175465762615204, 0.19951537251472473, -0.20093348622322083, 0.45886722207069397, -0.20639081299304962, 0.18887285888195038, -1.2657204866409302, 0.2617259919643402, 0.19652725756168365, -0.40245112776756287, -0.7334494590759277, 0.16848422586917877, 0.0693378895521164, -0.043538812547922134, 0.014726240187883377, 0.4555131494998932, -0.3546614348888397, -0.2797093689441681, -0.15215103328227997, 0.159033864736557, -0.18245351314544678, 0.6005735993385315, 0.03389986231923103, 0.6816432476043701, 0.32956013083457947, -0.5004002451896667, 0.5599590539932251, 0.43782681226730347, -0.4300662875175476, 1.0199154615402222, -0.5819255113601685, 0.5178083777427673, -0.5287299156188965, 0.22993233799934387, -0.9617542028427124, -0.6639001965522766, 0.16995428502559662, -0.4286949336528778, 0.14609678089618683, -0.17473077774047852, -0.6897906064987183, -0.257986843585968, -0.30398836731910706, -0.08681154996156693, 0.41692015528678894, -0.50484699010849, 0.7125669121742249, 0.6284692287445068, -0.25185248255729675, -0.42745018005371094, -0.4005906283855438, 0.16715341806411743, -0.36612290143966675, -0.7210732698440552, 0.5307227373123169, -0.5003237128257751, -0.3616274297237396, -0.34085607528686523, 0.039647553116083145, -0.22818322479724884, 0.018595578148961067, 0.1818227767944336, 0.22569964826107025, 0.058909475803375244, 0.20695017278194427, -0.05554508417844772, 0.033971574157476425, 0.04149336740374565, -0.0994916632771492, 0.7802146077156067, 0.06235199421644211, -0.06078420951962471, -0.22355486452579498, 0.363573282957077, 0.3647107779979706, -0.10164987295866013, 0.9082109332084656, 0.4864422678947449, -0.42422324419021606, -0.049043986946344376, -0.8060450553894043, -0.25512880086898804, -0.5088672637939453, 0.34578266739845276, -0.5835601687431335, -0.7904103398323059, 0.7601852416992188, -0.12376990914344788, 0.0033710417337715626, -0.03629973530769348, 0.5260555744171143, -0.20911505818367004, 1.1475623846054077, 0.7168515920639038, -0.2743743658065796, 0.5361270308494568, -0.1338297426700592, -0.037478815764188766, -1.0532249212265015, -0.8060345649719238, -0.5805240869522095, -0.31923556327819824, -0.2861422896385193, -0.2571850121021271, 0.4195772707462311, -0.33305180072784424, -0.3063929080963135, 0.448468416929245, -0.1995597779750824, 0.28907138109207153, 0.4052351713180542, 0.3655109405517578, 0.45246249437332153, 0.169425368309021, -0.020743293687701225, -0.6611034274101257, -0.3827225863933563, -0.24729494750499725, 1.237778663635254, 0.18939846754074097, 0.704373836517334, 0.36239877343177795, 0.7919403910636902, 0.07916674017906189, 0.34586453437805176, -0.8471555709838867, 0.632828950881958, -0.07828663289546967, -0.5476042628288269, -0.11080212146043777, -0.5603038668632507, -1.0380796194076538, 0.4165322184562683, -0.3410828411579132, -0.860019326210022, 0.26798784732818604, 0.17630115151405334, -0.5024769902229309, -0.1490737646818161, -0.7390650510787964, 0.5993824601173401, 0.05908481776714325, -0.6823890209197998, -0.3636823892593384, -0.6222623586654663, 0.33101901412010193, -0.3480493128299713, 0.16607818007469177, 0.05299302935600281, -0.368694543838501, 0.5505127310752869, -0.395871102809906, 0.7748996019363403, -0.24320144951343536, 0.025982536375522614, -0.24061034619808197, 0.13135145604610443, 0.61588054895401, 0.015699518844485283, -0.3517571985721588, -0.602784276008606, -0.23985376954078674, -0.3660701513290405, -0.9476141929626465, 1.0263521671295166, -0.5321055054664612, -0.7956487536430359, -0.10619315505027771, -0.4470602571964264, -0.8355552554130554, 0.2600008249282837, 0.050707485526800156, 0.29991018772125244, -0.47693586349487305, 0.6276121735572815, 1.0231376886367798, -0.34540531039237976, -0.029246017336845398, 0.7441774606704712, -0.3967498540878296, -0.4122854471206665, 0.5616713762283325, -0.027038168162107468, -0.27036282420158386, 0.6462994813919067, 0.15747718513011932, -0.4380393624305725, -0.5508354306221008, -0.14866596460342407, 0.20991432666778564, -0.48331376910209656, -0.13287660479545593, -0.8203708529472351, 0.3141234517097473, -0.5802584290504456, 0.123539499938488, -0.19736339151859283, -0.2399194985628128, -0.36728617548942566, 0.016856197267770767, 0.007871899753808975, 0.48156705498695374, 0.29886412620544434, 0.48934444785118103, -0.5319921374320984, 0.23845717310905457, 0.2274734079837799, 0.4969181716442108, 0.1373705118894577, -0.381603479385376, -0.3994784653186798, -0.08497930318117142, -0.29208827018737793, -0.9308367967605591, 0.5777261257171631, 0.042558975517749786, 0.5888810753822327, 0.2724692225456238, 0.10098111629486084, 0.8308409452438354, -0.4087478220462799, 0.4611811935901642, 0.10435536503791809, -0.6045415997505188, 0.6484578847885132, -0.7145519852638245, 0.3708189129829407, 0.5983872413635254, 0.43252041935920715, -0.6501986980438232, 0.05922834575176239, -0.6254513263702393, -0.8997534513473511, 0.6128116846084595, 0.016372671350836754, 0.19392120838165283, 0.2516299784183502, 0.5357732772827148, 0.2414379119873047, 0.586990475654602, -0.3424954116344452, -0.3306056559085846, 0.08946642279624939, -0.07394279539585114, -0.15123601257801056, -0.1825949251651764, 0.031283143907785416, -0.29542022943496704, 0.3694726824760437, -0.2874142825603485, 0.14844074845314026, -0.1395941823720932, 0.15712836384773254, -0.20968680083751678, 0.26881980895996094, -0.09973074495792389, 0.7144551873207092, -0.3171943426132202, -0.3229962885379791, 0.08330514281988144, -0.143784761428833, -0.15448080003261566, 0.21322263777256012, -0.1401200294494629, -0.2187771052122116, 0.17424766719341278, 0.6972714066505432, 0.5469051599502563, -0.7115638256072998, 0.42369237542152405, -0.12779861688613892, 0.19328123331069946, -0.45753785967826843, 0.08700738847255707, 0.22346147894859314, 0.21215873956680298, 0.4549404978752136, 0.11958027631044388, 0.5679745674133301, -0.6072015762329102, 0.11917983740568161, 0.5510818362236023, 0.09323889017105103, -0.48964056372642517, 0.7377334237098694, 0.24402931332588196, -0.08227398991584778, 0.6563548445701599, 0.27343660593032837, -0.0486203134059906, 0.28221672773361206, 0.33738723397254944, 0.7292913198471069, -0.5542552471160889, 0.32428860664367676, 0.31814220547676086, -0.28376543521881104, -0.07665865868330002, 0.13828298449516296, -0.050392139703035355, -0.6753101944923401, -0.3741821050643921, -0.6282307505607605, -0.5661829113960266, 0.2966361939907074, -0.7341834306716919, 0.12880541384220123, -0.7821177840232849, -0.2875705063343048, 0.10955691337585449, 0.3813765048980713, -0.7876358032226562, 0.22600381076335907, -0.08588317036628723, 0.737754762172699, -0.38828688859939575, 0.8596233129501343, 0.8242499828338623, -0.26651230454444885, -0.56855309009552, -0.05386433005332947, 0.11360327899456024, -0.5131112337112427, 0.49501752853393555, -0.0069257477298378944, 0.08468276262283325, -0.049303509294986725, -0.42182686924934387, -0.8877469301223755, 1.0685608386993408, 0.7471383213996887, -0.7544263601303101, -0.13648085296154022, -0.0029827055986970663, 0.9529163837432861, -0.6407043933868408, 0.021558549255132675, 0.7286804914474487, 0.4492097496986389, 0.370592325925827, -0.7833660244941711, -0.01821598783135414, -0.16737891733646393, 0.25849655270576477, 0.041011564433574677, -0.5601370930671692, 0.45871514081954956, -0.20189723372459412, -0.09985705465078354, 0.35288894176483154, 0.8322305679321289, 0.20669284462928772, 0.2823352813720703, 0.36300215125083923, 0.42924588918685913, 0.9722582697868347, -0.044428568333387375, 1.323004126548767, -0.14793634414672852, 0.09639476239681244, 1.3409507274627686, -0.40487197041511536, 0.8732296228408813, 0.3102399706840515, -0.2749307453632355, 0.7351516485214233, 0.6893455982208252, 0.11386629939079285, 0.6656206250190735, -0.06893108785152435, -0.3554890751838684, -0.46054401993751526, -0.18167732656002045, -0.24223461747169495, 0.13246005773544312, 0.3466137647628784, -0.3268524706363678, 0.112071193754673, 0.0003411927027627826, 0.0007285949541255832, 0.5133501291275024, -0.21055829524993896, 0.8571639657020569, -0.09271448105573654, -0.7668700814247131, 0.20324140787124634, 0.024257421493530273, 0.6723634004592896, -0.42074134945869446, 0.36666128039360046, -0.4883005917072296, 0.2818889915943146, -0.3427901268005371, -0.6775912046432495, 0.26937413215637207, -0.20031115412712097, -0.42799580097198486, -0.30373328924179077, 0.677483081817627, -0.44161084294319153, -0.17340223491191864, 0.31516382098197937, 0.7521795034408569, -0.12085837125778198, -0.24281448125839233, -0.7055280804634094, 0.023524686694145203, -0.05771065875887871, -0.40917736291885376, 0.6571229100227356, 0.09895452111959457, 0.20243030786514282, 1.0401029586791992, 0.5309920907020569, 0.049508124589920044, -0.3434296250343323, 0.18237368762493134, 1.0788171291351318, -0.4846775531768799, -0.5512082576751709, -0.6079816818237305, 0.37559109926223755, -0.2667073905467987, 0.17095498740673065, 0.9263352155685425, 0.8847863078117371, 0.7193455100059509, -0.2848822772502899, 0.8635030388832092, 0.11464894562959671, 0.9545105695724487, -0.16886566579341888, 0.4418129324913025, -0.38331809639930725, 0.7933815717697144, -0.5448989868164062, -1.1517773866653442, -0.30253270268440247, 0.4137206971645355, -0.5558649301528931, 0.3010573983192444, 0.3986625671386719, 0.7704353928565979, -0.09974092990159988, -0.12295806407928467, 0.28937920928001404, 0.23841997981071472, 0.36129534244537354, 0.5090340375900269, 0.35509178042411804, -0.07703938335180283, 0.45937803387641907, -0.44394344091415405, -0.27004197239875793, -0.16836801171302795, -0.49232667684555054, -0.9661611318588257, -0.8412678837776184, -0.2383955717086792, -0.2786453664302826, 0.06851000338792801, 1.0745389461517334, 0.8586023449897766, -0.781291127204895, -0.4367170035839081, 0.1354280412197113, -0.13028749823570251, 0.17854660749435425, -0.24297237396240234, 0.14751073718070984, -0.14262156188488007, -0.990708589553833, 0.5829309225082397, 0.15191052854061127, 0.021480301395058632, -0.5337217450141907, -0.2509385943412781, 0.19253401458263397, -0.017114631831645966, 0.6287039518356323, 0.2646845579147339, -0.4563940763473511, -0.19935303926467896, 0.2648630142211914, -0.024048201739788055, 0.09877865761518478, 0.8497549295425415, -1.3752163648605347, 0.5439264178276062, 0.595278263092041, 0.6008965373039246, 0.6780611276626587, 0.26407986879348755, 0.9893406629562378, -0.960158109664917, -0.08377755433320999, 0.2375289797782898, 0.4475748836994171, 0.7315239906311035, -0.6370803713798523, 0.4905436933040619, 0.2545127868652344, -0.44428059458732605, -0.6698555946350098, 0.33351531624794006, -0.979045033454895, -0.24780072271823883, 0.8698931932449341, -0.10153868049383163, -0.09827838838100433, -0.20910631120204926, -0.37886735796928406, -0.26798588037490845, -0.8059312105178833, 0.9557551145553589, 0.5557796359062195, -0.38792964816093445, -0.3972773849964142, -0.2853405177593231, 0.47557610273361206, 0.2740548849105835, -0.8897385001182556, 0.14816780388355255, 0.9392285346984863, 0.4148121178150177, 0.13902951776981354, 0.8218150734901428, 0.1295793354511261, 0.10014954954385757, -0.46089932322502136, -0.44701164960861206, 0.016365477815270424, -0.29718437790870667, -0.14415211975574493, 0.5136771202087402, 0.08379713445901871, 0.32933181524276733 ]
http://arxiv.org/abs/2402.11058v3
http://arxiv.org/pdf/2402.11058v3
II-MMR: Identifying and Improving Multi-modal Multi-hop Reasoning in Visual Question Answering
2024-02-16T20:14:47
2024-06-03T01:09:38
Jihyung Kil, Farideh Tavazoee, Dongyeop Kang, Joo-Kyung Kim
cs.CV
cs.CV, cs.CL
Visual Question Answering (VQA) often involves diverse reasoning scenarios across Vision and Language (V&L). Most prior VQA studies, however, have merely focused on assessing the model's overall accuracy without evaluating it on different reasoning cases. Furthermore, some recent works observe that conventional Chain-of-Thought (CoT) prompting fails to generate effective reasoning for VQA, especially for complex scenarios requiring multi-hop reasoning. In this paper, we propose II-MMR, a novel idea to identify and improve multi-modal multi-hop reasoning in VQA. In specific, II-MMR takes a VQA question with an image and finds a reasoning path to reach its answer using two novel language promptings: (i) answer prediction-guided CoT prompt, or (ii) knowledge triplet-guided prompt. II-MMR then analyzes this path to identify different reasoning cases in current VQA benchmarks by estimating how many hops and what types (i.e., visual or beyond-visual) of reasoning are required to answer the question. On popular benchmarks including GQA and A-OKVQA, II-MMR observes that most of their VQA questions are easy to answer, simply demanding "single-hop" reasoning, whereas only a few questions require "multi-hop" reasoning. Moreover, while the recent V&L model struggles with such complex multi-hop reasoning questions even using the traditional CoT method, II-MMR shows its effectiveness across all reasoning cases in both zero-shot and fine-tuning settings.
[ -0.5643881559371948, -1.0758053064346313, 0.710349977016449, -0.005032228771597147, -0.16617199778556824, 0.247300922870636, 0.17582456767559052, -0.5087572932243347, -0.28182944655418396, 0.21757782995700836, -0.7433903217315674, 0.06917797029018402, -0.5276212096214294, 0.15885618329048157, 0.1329476684331894, 0.3874610662460327, -0.22507429122924805, 0.3398060202598572, -0.2682673931121826, -0.300306111574173, -0.9502959251403809, -0.41398292779922485, -0.5455618500709534, 0.15246202051639557, 0.8552232384681702, 0.6856719851493835, 0.3537124991416931, 0.43335065245628357, 0.852342963218689, 0.2819266617298126, -0.18877272307872772, 0.6875298023223877, -0.23693004250526428, -0.02385198511183262, 0.05667544901371002, -0.4700520634651184, -0.3153899013996124, -0.23604682087898254, 0.5961207151412964, 0.2458156943321228, 0.28644585609436035, 0.25909188389778137, -0.17206546664237976, 0.7863631844520569, -0.880456805229187, 0.017465567216277122, -0.6012828946113586, -0.119203582406044, -0.14186115562915802, -0.7073633670806885, -0.46633926033973694, -0.08457474410533905, 0.08898168802261353, -0.5379323363304138, -0.019183313474059105, -0.0843772292137146, 0.6156740784645081, 0.3981374204158783, -0.9029926657676697, -0.2124033123254776, -0.818323016166687, 0.5758206248283386, -0.2098943591117859, 0.49352142214775085, 0.12138441950082779, 0.8973554968833923, 0.04016878828406334, -0.5269830226898193, -0.8939408659934998, 0.03172726929187775, 0.14301860332489014, 0.3670154809951782, -0.2015914022922516, -0.03660162165760994, 0.46803879737854004, -0.004385089501738548, -0.5526976585388184, -0.4386826753616333, -0.6877920627593994, -0.39673861861228943, 0.09288318455219269, 0.3112937808036804, 0.16010159254074097, -0.07675948739051819, -0.6653681397438049, -0.08330574631690979, -0.3779660761356354, 0.8516373038291931, 0.008215036243200302, 0.06875024735927582, 0.23756377398967743, 0.9248325824737549, -0.48205453157424927, 0.823835551738739, -0.009620415046811104, -0.2898677885532379, 0.2691866159439087, -0.7002131938934326, 0.13127577304840088, -0.5071876049041748, 0.37850266695022583, 0.7547585964202881, 0.3328453302383423, 0.40055304765701294, -0.028194069862365723, 0.06032663956284523, 0.08961943536996841, -0.7669122219085693, -0.15385660529136658, 0.12309665977954865, -0.5456334948539734, 0.15218932926654816, 0.15781132876873016, -0.6942920684814453, -0.15543702244758606, -0.3026394248008728, 0.8731668591499329, -0.5686579942703247, -0.2561675012111664, -0.05076815187931061, -0.553551197052002, 0.8040162324905396, 0.7821195125579834, -0.28664618730545044, -0.011587747372686863, 0.6774136424064636, 0.8253549933433533, 0.20734883844852448, -0.3891308903694153, -1.1277658939361572, 0.004368841648101807, -0.25227028131484985, 1.083120346069336, -0.560643196105957, 0.025502342730760574, -0.19232392311096191, 0.04070207476615906, -0.27769556641578674, -0.41520723700523376, 0.38407132029533386, -0.7369771599769592, 0.14041957259178162, -0.7861935496330261, -0.19287274777889252, -0.37377676367759705, 0.719526469707489, -0.485059529542923, 0.7449979186058044, -0.13911035656929016, -0.87168288230896, 0.5109244585037231, -0.5810554027557373, -0.10271447896957397, -0.11137930303812027, -0.4113945960998535, -0.17069408297538757, -0.12373421341180801, 0.6402568817138672, -0.03643820062279701, -0.2362878918647766, -0.1862330436706543, -0.2360626608133316, -0.4662528336048126, 0.3566402792930603, -0.6632833480834961, 0.5852472186088562, 0.2199346125125885, -0.27728718519210815, 0.2879825532436371, -0.5868972539901733, 0.29172179102897644, 0.05698313191533089, -0.2976225018501282, -0.2957107424736023, -0.024340296164155006, -0.23851926624774933, 0.4989170730113983, -0.023048998787999153, -0.3734797537326813, 0.2748928666114807, -0.014681450091302395, 0.20082810521125793, 0.6847818493843079, 0.2196127474308014, 0.2192724645137787, -0.3991270661354065, 0.5609081387519836, 0.34927403926849365, 0.3663879632949829, -0.3854095935821533, -0.9765673279762268, -0.8653534054756165, -0.554062008857727, -0.08855611830949783, 0.8326019644737244, -1.2231714725494385, -0.3244291841983795, -0.015772884711623192, -0.2143673300743103, -0.6213456988334656, -0.11250653117895126, 0.6005977392196655, 0.6898398995399475, 0.6100109219551086, -0.14934483170509338, -0.43201470375061035, -0.6232458353042603, -0.20824730396270752, -0.2632328271865845, 0.15201599895954132, 0.3883696496486664, 0.48281431198120117, -0.26344358921051025, 0.7815654873847961, -0.2836480140686035, -0.12539978325366974, -0.012060163542628288, 0.3173971176147461, -0.14287590980529785, 0.112489715218544, 0.2445986568927765, -0.9884335398674011, -0.3326556384563446, -0.18241842091083527, -0.5314103364944458, -0.02834111638367176, -0.29335817694664, -0.2029295414686203, -0.05406058207154274, 0.5849825739860535, -0.5387294292449951, 0.5036411285400391, 0.14767391979694366, -0.5236074924468994, 0.725519061088562, -0.22307710349559784, 0.5996891260147095, -0.7739889621734619, -0.07929369807243347, -0.06229330599308014, -0.048590920865535736, -0.4080425798892975, 0.10819023102521896, 0.24118991196155548, 0.2739136219024658, -0.3545823097229004, 0.6149572730064392, -0.6529595255851746, 0.08914892375469208, -0.1705973744392395, -0.22853659093379974, 0.04601733013987541, 0.4751091003417969, 0.05393235385417938, 1.089937448501587, 0.4809783399105072, -0.573615312576294, 0.39403441548347473, 0.2529957592487335, -0.10675323009490967, 0.8995206356048584, -0.6789650321006775, 0.17642107605934143, -0.498530775308609, 0.19097355008125305, -1.547110676765442, -0.09581068903207779, 0.3881171941757202, -0.7874682545661926, -0.0030194397550076246, -0.3251861333847046, -0.258093923330307, -0.6350008249282837, -0.2648318409919739, 0.7588766813278198, 0.21248210966587067, -0.6222890615463257, 0.749465823173523, -0.022172387689352036, 0.08068247884511948, -0.7566360235214233, -0.38528844714164734, 0.05296677350997925, -0.1687331199645996, -0.6961790323257446, -0.2639854848384857, -0.4706250727176666, -0.27742648124694824, -0.18568603694438934, -0.14119449257850647, -0.41191521286964417, -0.2345629781484604, 0.09399038553237915, 0.32439395785331726, -0.4203852713108063, 0.08626344799995422, -0.08311804383993149, -0.44638222455978394, -0.02558189071714878, 0.05778228119015694, 0.19995076954364777, -0.5018333792686462, -0.584405779838562, -0.4090632200241089, 0.6611447930335999, 0.8360406160354614, -0.7988253235816956, 0.2971731126308441, 1.0784002542495728, -0.07852106541395187, 0.21329356729984283, -0.7136247754096985, -0.13075220584869385, -0.42151179909706116, 0.20504286885261536, -1.0562382936477661, -1.0011789798736572, 0.2137453705072403, -0.23582802712917328, -0.1704079806804657, 0.2859782576560974, 0.7051268815994263, -0.3736346364021301, 1.244778037071228, 0.5624713897705078, 0.5215903520584106, 0.2100924551486969, -0.27090322971343994, 0.24345044791698456, -1.0045262575149536, -0.5504949688911438, -0.22750680148601532, -0.27104732394218445, -0.28778958320617676, -1.0002517700195312, 0.9407130479812622, 0.3339694142341614, -0.19037096202373505, -0.06508523225784302, -0.37864062190055847, 0.5054340958595276, 0.9062932133674622, 0.1595485508441925, 0.3798467516899109, -0.20758022367954254, -0.23398332297801971, 0.06739044189453125, -0.599153459072113, -0.1991644650697708, 0.8386276364326477, 0.24252453446388245, 0.5005879998207092, 0.46338507533073425, 0.16418850421905518, -0.03095315583050251, -0.2519623339176178, -1.032518744468689, 0.4471370577812195, 0.33712735772132874, -0.6079249382019043, -0.198810413479805, -0.4621325135231018, -0.618314266204834, 0.41955724358558655, -0.26980671286582947, -0.5958940982818604, 0.3423313796520233, 0.333402156829834, -0.4471416175365448, 0.18747417628765106, -0.5921748280525208, 0.8028790950775146, -0.26702380180358887, -0.2748444974422455, -0.06278563290834427, -1.122593879699707, 0.5523668527603149, 0.3023465871810913, 0.316139817237854, 0.1273583024740219, -0.07456133514642715, 0.3701965808868408, -0.5711055397987366, 0.5027011036872864, -0.18916352093219757, 0.2671705186367035, 0.6722959876060486, 0.07238155603408813, 0.392619252204895, -0.0911792516708374, 0.3203914761543274, -0.03226073831319809, 0.21857064962387085, -0.34117206931114197, -0.6058262586593628, 0.21888013184070587, -0.5434863567352295, -0.34444859623908997, -0.5214110612869263, -0.5280594825744629, -0.37990236282348633, 0.058456167578697205, 0.30903375148773193, 0.6582360863685608, 0.1911650449037552, 0.20781302452087402, 0.6535288095474243, 0.04566185548901558, 0.3742167353630066, 0.4103659391403198, 0.01946759968996048, -0.7620956301689148, 0.6449918150901794, -0.007732128258794546, 0.327204167842865, 0.586665689945221, 0.26055678725242615, -0.4201763868331909, -0.1659451574087143, -0.9504469037055969, 0.04762312397360802, -0.7337196469306946, -0.27306580543518066, -0.8542820811271667, -0.18545137345790863, -0.011755282990634441, -0.08919432014226913, -0.1769828051328659, -0.3203490674495697, 0.044391218572854996, 0.07882644236087799, 0.48078444600105286, 0.2569397985935211, -0.34408870339393616, 0.1809454709291458, -0.692664384841919, 0.8463659286499023, 0.9599200487136841, 0.2297159731388092, -0.02470177784562111, -0.46848446130752563, 0.1321229636669159, 0.04852895811200142, -0.13832694292068481, -0.9322587847709656, -0.14667922258377075, 0.142821803689003, 0.39011460542678833, 0.34448543190956116, -0.14033721387386322, 1.1254727840423584, -0.7780770063400269, 0.5869978070259094, 0.45782241225242615, -0.6971434354782104, 0.5811448097229004, -0.23364195227622986, 0.3768214285373688, 0.5631757974624634, 0.15162529051303864, -0.4064224660396576, -0.040981780737638474, -0.018315425142645836, -0.7009397149085999, 0.2889074981212616, 0.0826549381017685, -0.12462253868579865, -0.01991034857928753, 0.11781523376703262, -0.031873296946287155, -0.013485935516655445, -0.515218198299408, -0.21734952926635742, -0.0906517505645752, 0.15858297049999237, 0.22705568373203278, -0.566776692867279, -0.06805858761072159, -0.5446434020996094, 0.3538172245025635, -0.33581042289733887, 0.3578673303127289, 0.4335392415523529, -0.08589194715023041, -0.31160688400268555, 0.3251746594905853, 0.428525447845459, 0.7472694516181946, -0.25003620982170105, 0.45511364936828613, -0.039718497544527054, -0.2858591675758362, 0.20318655669689178, -0.10483729094266891, -0.16409148275852203, -0.056760746985673904, 0.39937129616737366, 0.6005311012268066, -0.4221896231174469, -0.8316757678985596, 1.0589406490325928, -0.3151562809944153, -0.21848367154598236, -0.14203327894210815, -0.03984730690717697, -0.06313784420490265, 0.8023265600204468, 0.3130527436733246, 0.41990119218826294, 0.4664749503135681, -0.6159915924072266, 0.4266902506351471, 0.5698344707489014, -0.6463404893875122, -0.044952139258384705, 0.7317208051681519, 0.0014975483063608408, -0.19723327457904816, 0.6762219071388245, -0.21822701394557953, -0.5972489714622498, 0.5124654173851013, 0.42043337225914, 0.6444727182388306, -0.10175526142120361, 0.3531978130340576, 0.6494885683059692, 0.5890737175941467, 0.157963365316391, 0.8764457702636719, -0.14295688271522522, -0.552136242389679, -0.5836715698242188, -0.15913400053977966, -0.36150068044662476, -0.1630040407180786, -0.6211559176445007, 0.23803621530532837, -0.2721310555934906, -0.10435349494218826, 0.043441709131002426, -0.3470878601074219, -0.772803008556366, 0.27749499678611755, 0.28378787636756897, 0.8344295024871826, -0.627013623714447, 0.49250778555870056, 0.5766834616661072, -0.6428812146186829, -0.8671155571937561, 0.08453990519046783, 0.49458399415016174, -0.871015727519989, 0.49346983432769775, 0.3357590138912201, -0.5505918264389038, -0.08498884737491608, -0.569267988204956, -0.6803426742553711, 1.1584728956222534, -0.14195488393306732, -0.3324476182460785, 0.20724523067474365, -0.07935447990894318, 0.2578396499156952, -0.1471341848373413, 0.6802510619163513, 0.19215066730976105, 0.4974576532840729, 0.8206332325935364, -1.0465854406356812, -0.09855092316865921, -0.6082919239997864, 0.020720576867461205, 0.10611269623041153, -0.7233019471168518, 0.9201333522796631, -0.8660202026367188, 0.0622914619743824, 0.18409651517868042, 0.4210520088672638, 0.5879380702972412, 0.7518219351768494, 0.6289405226707458, 0.3312285840511322, 0.6768026947975159, -0.022313054651021957, 0.6523967981338501, 0.13700959086418152, 0.008796822279691696, 1.22771155834198, 0.027234496548771858, 1.0666908025741577, 0.7901033163070679, 0.08872278034687042, 0.3867928087711334, 0.48537304997444153, 0.24469535052776337, 0.6714397668838501, -0.0036229738034307957, -0.18355746567249298, -0.6225275993347168, 0.011455290019512177, -0.4856564700603485, 0.6713656187057495, 0.0945497676730156, 0.1830420345067978, -0.04506763815879822, 0.06700976938009262, -0.20005731284618378, -0.18446727097034454, -0.24338839948177338, 0.9108852744102478, -0.10446787625551224, -0.47880253195762634, 0.6264273524284363, -0.1470392644405365, 0.3966328501701355, -0.3875117599964142, -0.46459880471229553, -0.06586933135986328, 0.1080971211194992, 0.19355712831020355, -0.8203811645507812, 0.12466896325349808, 0.13836835324764252, -0.34133535623550415, 0.10423765331506729, 0.5976113677024841, -0.36601829528808594, -0.627435028553009, 0.16483193635940552, 1.1461210250854492, 0.06298752129077911, -0.32599103450775146, -0.6191327571868896, -0.11570621281862259, -0.20926839113235474, -0.10602205991744995, -0.20918872952461243, 0.9648224711418152, -0.20219998061656952, 0.8117766976356506, 0.7170011401176453, -0.3113859295845032, 0.3385462462902069, 0.1350443959236145, 0.8421904444694519, -0.7009127736091614, -0.4244930148124695, -0.634972095489502, 1.0123662948608398, -0.04096176475286484, -0.37370389699935913, 0.5742009282112122, 0.5693333148956299, 0.6220665574073792, -0.09016363322734833, 0.6168477535247803, -0.04344945773482323, 0.6220061182975769, -0.6143384575843811, 0.13075029850006104, -0.8630355596542358, 0.13693661987781525, -0.2930485010147095, -0.6671395301818848, -0.3005279004573822, 0.5995710492134094, -0.25822922587394714, -0.16054150462150574, 0.7291796207427979, 0.9118664860725403, -0.23056244850158691, -0.33234143257141113, 0.24583140015602112, 0.14936354756355286, 0.29013222455978394, 0.7139993906021118, 1.36980140209198, -0.46718674898147583, 0.8101844191551208, -0.10399504750967026, -0.6054171323776245, -0.3104213774204254, -0.654954731464386, -0.7420955896377563, -0.7029351592063904, -0.19233430922031403, -0.3393765091896057, 0.008012630045413971, 0.6986958980560303, 0.5132850408554077, -0.5790774822235107, 0.029706384986639023, 0.06540965288877487, 0.03293120115995407, -0.6727240681648254, -0.22492855787277222, 0.17140232026576996, -0.1935705542564392, -0.22435395419597626, 0.3875468373298645, 0.5170869827270508, -0.22445012629032135, 0.16013602912425995, -0.14188559353351593, -0.3601282238960266, 0.18678341805934906, 0.8912756443023682, 0.23219585418701172, -0.947051465511322, -0.622656524181366, 0.446182519197464, 0.07731367647647858, 0.37824752926826477, 0.7355148792266846, -0.7229762673377991, 1.0726251602172852, 0.5624353885650635, 0.5089297294616699, 0.3378836214542389, 0.15360254049301147, 0.2943283021450043, -0.32272273302078247, -0.0839705616235733, 0.22221830487251282, 0.24999666213989258, 0.043391332030296326, -0.08035393804311752, 0.3937895596027374, 0.3861541152000427, -0.432869017124176, -0.4208057224750519, 0.3926877975463867, -1.447999119758606, -0.21988174319267273, 1.238410472869873, 0.29100239276885986, -0.03811265155673027, -0.17053551971912384, -0.8169719576835632, 0.12345977127552032, -0.11535733938217163, 0.4839368462562561, 0.4689612090587616, -0.36698827147483826, -0.6015013456344604, -0.7593779563903809, 0.24785417318344116, 0.07593011856079102, -0.7845461964607239, -0.18778830766677856, 0.9406825304031372, 0.2622634470462799, -0.03565240651369095, 1.0680032968521118, -0.0378548689186573, 0.7506850957870483, 0.12183205783367157, -0.2919490933418274, -0.15297284722328186, -0.8569844365119934, -0.10871558636426926, 0.09999791532754898, 0.02670801244676113, -0.590233564376831 ]
http://arxiv.org/abs/2402.11051v1
http://arxiv.org/pdf/2402.11051v1
Large Language Models Fall Short: Understanding Complex Relationships in Detective Narratives
2024-02-16T19:59:45
2024-02-16T19:59:45
Runcong Zhao, Qinglin Zhu, Hainiu Xu, Jiazheng Li, Yuxiang Zhou, Yulan He, Lin Gui
cs.CL
cs.CL, cs.AI
Existing datasets for narrative understanding often fail to represent the complexity and uncertainty of relationships in real-life social scenarios. To address this gap, we introduce a new benchmark, Conan, designed for extracting and analysing intricate character relation graphs from detective narratives. Specifically, we designed hierarchical relationship categories and manually extracted and annotated role-oriented relationships from the perspectives of various characters, incorporating both public relationships known to most characters and secret ones known to only a few. Our experiments with advanced Large Language Models (LLMs) like GPT-3.5, GPT-4, and Llama2 reveal their limitations in inferencing complex relationships and handling longer narratives. The combination of the Conan dataset and our pipeline strategy is geared towards understanding the ability of LLMs to comprehend nuanced relational dynamics in narrative contexts.
[ -0.13123229146003723, -0.5765184760093689, 0.876216471195221, 0.15838313102722168, -0.23081162571907043, 0.40426573157310486, -0.0015367214800789952, -0.8505687117576599, 0.08608394116163254, 0.6163759231567383, -0.7681323885917664, -0.3464657664299011, -0.7463909387588501, 0.27944067120552063, -0.03301320597529411, 1.197922945022583, -0.004983608145266771, -0.1327323168516159, -0.052405063062906265, -0.28866907954216003, -0.21882767975330353, -0.5014512538909912, -0.789190411567688, -0.3687741756439209, 0.9552080035209656, -0.16944698989391327, 0.9551366567611694, 0.7242975831031799, 0.6108587980270386, 0.08198655396699905, -0.14732873439788818, 0.5984707474708557, -1.0305804014205933, 0.21495094895362854, -0.050967831164598465, -0.5061255097389221, -0.5781412720680237, 0.10352502763271332, 0.3144356310367584, 1.0167495012283325, 0.23115742206573486, 0.04478243365883827, -0.1901722103357315, 0.5819572806358337, -0.6817048192024231, 0.83172607421875, -0.27795663475990295, 0.10996638238430023, -0.3604036569595337, -0.10496851801872253, -0.31237053871154785, -0.23645035922527313, 0.5157933235168457, -0.749427080154419, 0.258266806602478, 0.23663641512393951, 1.0026865005493164, -0.11625580489635468, -0.6954637765884399, -0.5867041945457458, -0.7172146439552307, 0.5209774374961853, -0.39353322982788086, -0.06262552738189697, 0.7071574330329895, 0.45845794677734375, -0.30553656816482544, -0.6817507147789001, -0.3201596736907959, -0.41315385699272156, -0.12814876437187195, 0.024378977715969086, -0.3242945373058319, 0.0976390540599823, 0.2934727966785431, 0.328648179769516, -0.38776397705078125, -0.01565679907798767, -0.523415207862854, 0.023041807115077972, 0.7888187766075134, 0.7364293932914734, 0.2532837390899658, -0.2322668880224228, 0.08427804708480835, -0.257495641708374, -0.926509439945221, 0.12335889786481857, 0.6695414185523987, 0.26859891414642334, -0.05615440011024475, 0.5157593488693237, 0.18028222024440765, 0.38520970940589905, -0.1136241927742958, -0.3003302216529846, 0.031652942299842834, -0.01057466585189104, -0.01032995618879795, 0.07068715244531631, 1.054268717765808, 0.5616347193717957, 0.8141204714775085, -0.20439539849758148, 0.2525119185447693, -0.0914015918970108, 0.18287622928619385, -0.8002336025238037, -0.41067415475845337, 0.03508428856730461, -0.3341059386730194, -0.5087156295776367, -0.1660485714673996, -0.6965662240982056, -0.8230919241905212, 0.11798128485679626, 0.03451899066567421, -0.2919127941131592, -0.2737273573875427, 0.014087351970374584, -0.21703028678894043, 0.16934697329998016, 0.4739997684955597, -0.7385526895523071, 0.3554912805557251, 0.7178665399551392, 0.9302103519439697, -0.20819197595119476, -0.29689982533454895, -0.6577602624893188, 0.5564247369766235, -0.6175645589828491, 0.3876560926437378, -0.6431024670600891, -0.14848361909389496, 0.01144140213727951, 0.22988776862621307, 0.10485801845788956, -0.3528112769126892, 0.6064328551292419, -0.5310832858085632, -0.09562816470861435, -0.218854621052742, -0.405550479888916, -0.1422618329524994, 0.34383001923561096, -0.8501572012901306, 0.5687814950942993, 0.06862230598926544, -0.8150344491004944, 0.12376908212900162, -0.1234346404671669, -0.658789873123169, -0.16756680607795715, -0.08234608918428421, -0.33570972084999084, 0.09471020102500916, 0.42080578207969666, 0.8838993310928345, -0.6833217144012451, 0.5756515264511108, -0.758368730545044, -0.34231823682785034, 0.009970839135348797, -0.18130037188529968, 0.8534892201423645, 0.1823352873325348, 0.14393045008182526, -0.29594695568084717, -0.915912926197052, -0.605236828327179, 0.39538130164146423, -0.05664924532175064, -0.5807750225067139, 0.3733074367046356, -0.08520959317684174, -0.18535107374191284, 0.07916253805160522, -0.4371182918548584, 0.35923510789871216, 0.05302959308028221, 0.7999436855316162, 0.43691182136535645, -0.010644099675118923, -0.0018187445821240544, -0.08401986211538315, 0.8526511788368225, -0.20904852449893951, -0.3308121860027313, -0.22033847868442535, -0.3630337715148926, -0.4560515880584717, -0.2731066644191742, 0.06483776867389679, 0.5398381948471069, -0.41173651814460754, 0.4116672873497009, -0.4972737431526184, -0.572394073009491, -0.405486524105072, -0.1953931301832199, 0.43895912170410156, 0.1664661169052124, 0.10068957507610321, -0.3501739799976349, -0.2774895131587982, -0.7034153938293457, -0.36676549911499023, -0.4693548381328583, -0.17373354732990265, 0.2240563929080963, 0.2979394793510437, -0.29796770215034485, 0.9789628982543945, -0.9101663827896118, -0.4115016758441925, -0.5085945129394531, 0.2634429335594177, 0.1215975284576416, 0.16698932647705078, 0.4347940683364868, -0.37885782122612, -0.3257785737514496, 0.08373810350894928, -0.9283736944198608, 0.11315224319696426, 0.007758305408060551, 0.24024222791194916, -0.5348910093307495, 0.6616528630256653, -0.6445233225822449, 0.4329353868961334, 0.5336140990257263, -0.03791147470474243, 0.8063463568687439, -0.09639250487089157, -0.05064018815755844, -0.8984867334365845, -0.055927541106939316, 0.13433986902236938, -0.5379829406738281, -0.4930213987827301, -0.10178454965353012, -0.02998739667236805, -0.4030606746673584, 0.11109402775764465, 0.3963598310947418, -0.6059309840202332, -0.31682026386260986, 0.2965069115161896, 0.40036115050315857, 0.1508844494819641, 0.6173121333122253, 0.12153082340955734, 0.5229012370109558, 0.3322104811668396, -0.2152186632156372, 0.545333206653595, 0.20222240686416626, -0.49851149320602417, 0.4820415675640106, -0.8592943549156189, 0.09092371165752411, -0.20000800490379333, 0.5967037081718445, -1.1120398044586182, -0.5280134677886963, -0.05272694677114487, -0.26043596863746643, 0.5184337496757507, -0.7538523077964783, -0.8157048225402832, -0.16122034192085266, -0.24470330774784088, 0.4779270887374878, 0.16540735960006714, -0.38524678349494934, 0.3825177252292633, 0.5254496932029724, -0.2624587118625641, -0.5406284332275391, -0.6290183663368225, 0.26799631118774414, -0.3712225556373596, -0.7866875529289246, -0.07513447105884552, 0.14894181489944458, -0.36341598629951477, -0.03428904712200165, -0.02293485961854458, -0.4812929034233093, -0.03664596006274223, 0.08553178608417511, 0.02163504995405674, -0.3215002119541168, 0.09332965314388275, 0.20813427865505219, -0.08305186033248901, 0.2234705686569214, 0.5940700173377991, 0.43250155448913574, -0.1905388981103897, 0.004749776795506477, -0.26639142632484436, 0.17026185989379883, 1.0714436769485474, -0.3302345275878906, 0.7452687621116638, 0.5741381645202637, -0.18443477153778076, -0.003403474809601903, -0.25631171464920044, 0.20155449211597443, -0.3774951100349426, 0.6928991079330444, -0.6565881371498108, -0.9840444326400757, 0.8405340909957886, -0.1040213480591774, -0.34004783630371094, 0.2350270003080368, 0.006538461893796921, -0.05955495685338974, 1.1436631679534912, 0.38278403878211975, -0.29877328872680664, 0.09926839172840118, -0.18728074431419373, 0.737552285194397, -1.1206609010696411, -0.025143656879663467, -0.19764544069766998, 0.0991230234503746, -0.6926113367080688, 0.049951907247304916, 0.37082886695861816, 0.46985936164855957, -0.09946467727422714, 0.6342450380325317, -0.024278057739138603, 0.5400406718254089, -0.05852701514959335, -0.05811302736401558, 0.5741893649101257, -0.23310595750808716, 0.40567746758461, -0.1673375368118286, -0.4324871897697449, -0.582219123840332, 1.0085242986679077, 0.6010473966598511, 0.9947729110717773, 0.30007004737854004, 0.22871755063533783, 0.14960765838623047, -0.12786567211151123, -0.7145070433616638, 0.317293256521225, -0.2667814791202545, -0.673629105091095, -0.32387304306030273, -0.5374143719673157, -1.4226582050323486, 0.20623576641082764, 0.01499962154775858, -0.8704901337623596, 0.26690611243247986, -0.28652429580688477, -0.37601858377456665, 0.21452198922634125, -0.5361247062683105, 0.7534050941467285, 0.07757005840539932, -0.42500442266464233, -0.12002509087324142, -0.9358182549476624, 0.6126111149787903, 0.13397927582263947, 0.14151351153850555, -0.589238703250885, 0.24026645720005035, 0.6494930982589722, -0.5302736163139343, 0.8875750303268433, 0.26816678047180176, -0.12856443226337433, 0.14822843670845032, 0.6242409944534302, 0.7440535426139832, 0.15355205535888672, -0.24291476607322693, -0.03851469233632088, 0.19931170344352722, -0.34801098704338074, -0.45245659351348877, 0.5573119521141052, -0.8026997447013855, -0.2701966464519501, -0.6259134411811829, -0.7867900133132935, -0.4713597595691681, 0.05769156292080879, 0.1685197800397873, 0.8222746253013611, -0.363079696893692, 0.23756402730941772, 0.42353007197380066, -0.11039003729820251, 0.19876506924629211, 0.2193906009197235, -0.0832330659031868, -0.21700038015842438, 0.6787977814674377, 0.1238698810338974, 0.42308309674263, 0.2643192708492279, 0.18638184666633606, -0.13379068672657013, -0.5314100384712219, -0.3327043354511261, 0.423780620098114, -0.5862182974815369, -0.049969207495450974, -0.786882221698761, -0.112834632396698, -0.2563709020614624, -0.15564952790737152, -0.3607650399208069, -0.1222916916012764, -0.33866891264915466, -0.2640502452850342, 0.4442194700241089, 1.123054027557373, 0.2724209725856781, 0.2666929364204407, -0.7804321050643921, 0.2635602653026581, 0.42288070917129517, 0.11955032497644424, 0.22766806185245514, -0.12731918692588806, -0.062416788190603256, -0.29335519671440125, -0.1602497398853302, -0.772013247013092, 0.5362042188644409, 0.1682766079902649, 0.15055063366889954, 0.6094658374786377, 0.2814214527606964, 0.9839478135108948, -0.40140414237976074, 0.7444067597389221, 0.08538062870502472, -0.7570840120315552, 0.41919881105422974, -1.028277039527893, 0.014023270457983017, 0.6786746382713318, 0.4358852803707123, -0.42559462785720825, -0.48977726697921753, -0.457794725894928, -0.7514658570289612, 0.8845685124397278, 0.37032321095466614, 0.07426516711711884, -0.12429969012737274, 0.3600641191005707, 0.09759937971830368, 0.40736162662506104, -0.8650933504104614, -0.18071138858795166, 0.4119080901145935, -0.21766190230846405, -0.2895765006542206, -0.31574133038520813, -0.08036419749259949, -0.13690926134586334, 0.22178401052951813, -0.12243784219026566, 0.037872109562158585, 0.2403879314661026, -0.1926179826259613, -0.22288691997528076, -0.20421934127807617, 0.24435316026210785, 1.1307830810546875, -0.651344358921051, 0.20393307507038116, -0.13259932398796082, -0.507818341255188, -0.1861398071050644, 0.04166677966713905, 0.34660422801971436, -0.2624611258506775, 1.2285141944885254, 0.8836824297904968, 0.11924956738948822, -0.8355104327201843, 0.7519704699516296, -0.14508236944675446, 0.1616438776254654, -0.24918189644813538, -0.0007680474082008004, 0.17572659254074097, 0.3198677599430084, 0.27883395552635193, -0.20540845394134521, 0.02605484612286091, -1.3284403085708618, -0.12227719277143478, 0.09624390304088593, -0.7310926914215088, -0.372324138879776, 0.49244424700737, 0.06692216545343399, -0.21061360836029053, 0.7488282918930054, -0.4546082019805908, -0.4199208915233612, 0.7953038215637207, 0.4256027340888977, 0.8020322918891907, 0.20836375653743744, 0.2826913297176361, 0.31136998534202576, 0.3884701728820801, -0.1378500610589981, -0.485053151845932, 0.14979895949363708, -0.6410720348358154, -0.5111186504364014, -0.35334035754203796, -0.4203639328479767, 0.47628331184387207, -0.9480623602867126, 0.1340107023715973, -0.5111510753631592, 0.2638811767101288, -0.08445049822330475, 0.35971498489379883, -0.466168075799942, 0.001824512961320579, -0.36519667506217957, 0.3824350833892822, -0.9059839248657227, 0.9066929221153259, 0.13549275696277618, -0.5560478568077087, -0.7791507244110107, 0.2745341956615448, -0.09734328836202621, -0.8512098789215088, 0.6064305305480957, 0.3368801474571228, -0.24528583884239197, -0.25131991505622864, -0.5241357684135437, -0.5680496096611023, 1.191379189491272, 0.48955902457237244, -0.7088315486907959, -0.1543942391872406, 0.05249164626002312, 0.9766703248023987, -0.8170146942138672, 0.2033037394285202, 0.727716863155365, 0.22027599811553955, 0.036767877638339996, -0.874750018119812, 0.13761509954929352, -0.19539882242679596, -0.2543390989303589, 0.2326008826494217, -0.7662805318832397, 0.8014317750930786, -0.22359433770179749, -0.09805075079202652, 0.22651676833629608, 0.3929852843284607, 0.3212563693523407, 0.5944969654083252, 0.4899018704891205, 0.39573973417282104, 0.810309886932373, -0.009875595569610596, 1.2998346090316772, 0.10930735617876053, 0.33132532238960266, 1.419492483139038, -0.5118318200111389, 0.5686750411987305, -0.01131585892289877, -0.34648770093917847, 0.49891236424446106, 0.9187645316123962, -0.1810940057039261, 0.5262852311134338, 0.25372886657714844, 0.06625727564096451, -0.33277052640914917, -0.0013011726550757885, -0.37116438150405884, 0.2982712686061859, 0.3923075795173645, -0.28136470913887024, -0.019437666982412338, -0.3456548750400543, 0.4680093824863434, -0.09309878945350647, -0.2854368984699249, 0.5756838917732239, 0.18262480199337006, -0.5400070548057556, 0.2154858559370041, -0.2596811354160309, 0.21639247238636017, -0.8194273114204407, -0.004267050419002771, -0.13424816727638245, 0.1497943252325058, -0.017049547284841537, -0.8701767921447754, 0.02954588644206524, -0.037719860672950745, -0.14836923778057098, 0.298382967710495, 0.437602162361145, -0.5266963839530945, -0.5299742221832275, 0.7192363739013672, 0.26086363196372986, 0.3200858235359192, -0.13655981421470642, -0.34620344638824463, 0.27431222796440125, -0.13613270223140717, -0.03789934888482094, 0.3190034329891205, 0.8723016977310181, -0.12933416664600372, 0.6734204292297363, 0.5558978319168091, 0.0870138630270958, -0.11563505977392197, 0.07412297278642654, 0.6369516849517822, -0.45258814096450806, -0.47105398774147034, -0.6684213876724243, 0.1812487691640854, -0.238871231675148, -0.6246122717857361, 0.6130954623222351, 0.427408903837204, 0.42778733372688293, 0.13161908090114594, 0.6366217732429504, 0.12439767271280289, 0.36465540528297424, -0.3447767496109009, 0.5914647579193115, -0.49982085824012756, 0.4903205335140228, -0.5572634339332581, -1.021619439125061, -0.35878753662109375, 0.5522531270980835, -0.32951346039772034, -0.28526565432548523, 0.8277600407600403, 0.5596322417259216, -0.23995545506477356, 0.011069703847169876, 0.2735593020915985, 0.3237203061580658, 0.5851793885231018, 0.7248292565345764, 0.938499391078949, -0.440142422914505, 0.8264315128326416, 0.1676841527223587, -0.10133510082960129, -0.19338345527648926, -0.9190119504928589, -1.5012564659118652, -0.5138925909996033, -0.17585276067256927, -0.222878098487854, 0.27295809984207153, 0.5901899933815002, 0.8389114737510681, -0.3400275409221649, -0.41899409890174866, -0.23881860077381134, 0.054921433329582214, -0.11391574889421463, -0.24874910712242126, 0.6379709839820862, -0.07824279367923737, -0.6137235760688782, 0.4373103678226471, 0.3123318552970886, -0.27022334933280945, -0.37109899520874023, -0.12613023817539215, -0.003913407679647207, 0.022303977981209755, 0.7686783075332642, 0.12916281819343567, -0.5918019413948059, -0.4015616476535797, -0.3610033094882965, 0.10209684818983078, 0.11746588349342346, 1.0499550104141235, -0.28486812114715576, 0.5929827094078064, 0.49811509251594543, 0.4486203193664551, 1.0854182243347168, -0.20579813420772552, 1.0112935304641724, -0.6232671737670898, -0.10855745524168015, 0.2071887105703354, 0.24978207051753998, 0.2781173586845398, -0.522719144821167, 0.8708685040473938, 0.14679241180419922, -0.5509344339370728, -0.9380612969398499, 0.47749415040016174, -1.2162803411483765, -0.3960658609867096, 0.986328125, -0.6316124796867371, -0.17178602516651154, -0.4957362115383148, -0.13179920613765717, 0.039095401763916016, -0.4855916500091553, 0.6258046627044678, 0.9920063614845276, -0.2794533669948578, -0.12435763329267502, -0.7138299942016602, 0.5082986950874329, -0.11141586303710938, -0.6519235968589783, 0.6398154497146606, 0.42067205905914307, 0.05866210535168648, 0.3383598327636719, 0.43668001890182495, -0.16668283939361572, -0.1344965547323227, -0.031017519533634186, -0.5861057043075562, -0.1831279844045639, -0.3601614534854889, 0.054603252559900284, 0.44988200068473816, -0.28336867690086365, 0.20846913754940033 ]
http://arxiv.org/abs/2402.11035v2
http://arxiv.org/pdf/2402.11035v2
Retrieval-Augmented Generation: Is Dense Passage Retrieval Retrieving?
2024-02-16T19:28:52
2024-04-16T20:22:21
Benjamin Reichman, Larry Heck
cs.CL
cs.CL, cs.IR
Dense passage retrieval (DPR) is the first step in the retrieval augmented generation (RAG) paradigm for improving the performance of large language models (LLM). DPR fine-tunes pre-trained networks to enhance the alignment of the embeddings between queries and relevant textual data. A deeper understanding of DPR fine-tuning will be required to fundamentally unlock the full potential of this approach. In this work, we explore DPR-trained models mechanistically by using a combination of probing, layer activation analysis, and model editing. Our experiments show that DPR training decentralizes how knowledge is stored in the network, creating multiple access pathways to the same information. We also uncover a limitation in this training style: the internal knowledge of the pre-trained model bounds what the retrieval model can retrieve. These findings suggest a few possible directions for dense retrieval: (1) expose the DPR training process to more knowledge so more can be decentralized, (2) inject facts as decentralized representations, (3) model and incorporate knowledge uncertainty in the retrieval process, and (4) directly map internal model knowledge to a knowledge base.
[ -0.253736674785614, -0.742236852645874, 0.658804178237915, -0.1356574296951294, -0.18172411620616913, 0.2197287380695343, -0.23386801779270172, -0.3660441040992737, -0.007783934939652681, 0.7689624428749084, -0.2613152861595154, -0.03780744969844818, -0.5312718152999878, 0.08905190974473953, -0.29545828700065613, 0.8960023522377014, 0.04181215912103653, 0.1765224039554596, -0.050098683685064316, 0.04653842747211456, -0.35432738065719604, -0.6199729442596436, -0.6847941875457764, -0.5107104182243347, 0.6201308965682983, 0.4252561032772064, 0.6517800688743591, 0.7584164142608643, 0.7186025977134705, 0.32730910181999207, -0.2966340482234955, 0.3512488007545471, -0.706478476524353, 0.32242223620414734, -0.31033796072006226, -0.6077821850776672, -0.206363707780838, -0.1214742362499237, 1.0211321115493774, 0.9129899740219116, -0.10976838320493698, -0.06316529214382172, 0.08868618309497833, 0.8886925578117371, -0.6994959712028503, -0.2874830663204193, -0.8751651048660278, 0.03991330415010452, -0.21793556213378906, -0.43808797001838684, -0.45886504650115967, 0.0042569758370518684, 0.21193602681159973, -0.401630163192749, 0.4840894341468811, 0.22525323927402496, 0.6966651678085327, 0.34712061285972595, -0.4175584614276886, -0.24219423532485962, -0.7232858538627625, 0.6972166895866394, -0.3498672544956207, 0.428233802318573, 0.4031260013580322, 0.3511640727519989, -0.16271281242370605, -0.9924576878547668, -0.5865978002548218, -0.3474518060684204, -0.19653207063674927, -0.19600486755371094, 0.31561020016670227, 0.2549026906490326, 0.17427493631839752, 0.6958959698677063, -0.3187373876571655, 0.04748481139540672, -0.3745594620704651, -0.002353576710447669, 0.7360341548919678, 0.14931976795196533, 0.2552658021450043, -0.21720077097415924, -0.48287704586982727, -0.21103964745998383, -0.6355029344558716, -0.22065065801143646, 0.27714264392852783, 0.5448475480079651, 0.21451769769191742, 0.7554882764816284, -0.30940037965774536, 0.958072304725647, 0.21435147523880005, 0.020315658301115036, 0.06875020265579224, -0.5686457753181458, -0.11584418267011642, 0.1957508772611618, 0.6136457920074463, -0.1587081253528595, 0.030878687277436256, -0.21423549950122833, -0.6309162974357605, -0.6606529951095581, 0.5102518796920776, -0.7155589461326599, -0.2701782286167145, 0.07642075419425964, -0.37717923521995544, -0.23265552520751953, -0.01810704730451107, -0.34944918751716614, -0.39872443675994873, -0.6862635612487793, 0.600719690322876, -0.4754122197628021, -0.5319643616676331, 0.33927813172340393, -0.4158642292022705, 0.04427624121308327, 0.1998712569475174, -1.0139105319976807, 0.47827279567718506, 0.8415184617042542, 0.7668192386627197, 0.0421392060816288, -0.34266677498817444, -0.4172813594341278, 0.2069815695285797, -0.3316093385219574, 0.6499459743499756, -0.6351543664932251, -0.07948915660381317, -0.15847183763980865, -0.3611556887626648, -0.051778893917798996, -0.5648265480995178, 0.26209449768066406, -1.0695877075195312, -0.09766516834497452, -0.6617574095726013, -0.6706312894821167, -0.0738481804728508, 0.37709566950798035, -0.7337576746940613, 0.9373469352722168, 0.1486411690711975, -0.9386805891990662, 0.4650331139564514, -0.2797386050224304, -0.17578987777233124, 0.08059787005186081, -0.2960265576839447, -0.2119496613740921, 0.22999471426010132, 0.15029393136501312, 0.40544265508651733, -0.11526963859796524, 0.18765141069889069, -0.22726912796497345, -0.4099319577217102, 0.24053165316581726, -0.32447201013565063, 0.7544732689857483, 0.3508951663970947, -0.05416633188724518, -0.26334986090660095, -0.6179419755935669, -0.05805234983563423, 0.06305695325136185, -0.4175761938095093, -0.5983768701553345, -0.16219402849674225, -0.39230212569236755, -0.06709899008274078, 0.3594381511211395, -0.5348863005638123, 0.5757750868797302, -0.35965898633003235, 0.3190585970878601, 0.5452058911323547, 0.4131428599357605, 0.8755110502243042, -0.2826962172985077, 0.24931468069553375, 0.13853229582309723, 0.09926058351993561, 0.030499298125505447, -0.04182637482881546, -0.5190142393112183, -0.13680274784564972, 0.4199860990047455, 0.16482634842395782, -0.7127229571342468, 0.010749836452305317, -0.2597382068634033, -0.42061132192611694, -0.44342929124832153, 0.18386352062225342, 0.3893479108810425, 0.6589128971099854, 0.40540456771850586, -0.08336308598518372, -0.48386117815971375, -0.6453728675842285, -0.13819250464439392, 0.03749200329184532, 0.29322847723960876, 0.34421297907829285, 0.48471376299858093, -0.13384179770946503, 0.7351597547531128, -0.5188128352165222, -0.3562367558479309, -0.39750778675079346, 0.05666042119264603, 0.21838264167308807, 0.5470690131187439, 0.3647194504737854, -1.0661741495132446, -0.46893197298049927, 0.0497349388897419, -0.5560749769210815, 0.08123047649860382, -0.11836062371730804, -0.29145172238349915, -0.3908346891403198, 0.7170171737670898, -0.3926369249820709, 0.01132175698876381, 0.22950558364391327, 0.01697186566889286, 0.508263349533081, -0.41056960821151733, 0.1778232306241989, -0.9435559511184692, -0.07363495975732803, -0.37821584939956665, -0.05135499686002731, -0.5501984357833862, 0.22660449147224426, 0.0960230752825737, -0.11782796680927277, -0.15925611555576324, 0.5477677583694458, -0.8466482162475586, -0.3468194603919983, -0.3430800139904022, 0.2925613224506378, 0.3156903386116028, 0.21965771913528442, 0.11110913008451462, 0.9755962491035461, 0.4154718816280365, -0.8244411945343018, 0.1322452425956726, 0.363361656665802, -0.36226892471313477, 0.12198758870363235, -0.7161716818809509, 0.2340860813856125, -0.34594297409057617, 0.10861855745315552, -0.8696378469467163, -0.20837512612342834, -0.1437569558620453, -0.2477390021085739, 0.7098366618156433, -0.3384522795677185, -0.4832291901111603, 0.03008914366364479, 0.07635316252708435, 0.6955095529556274, 0.15525849163532257, -0.5413695573806763, 0.4734838008880615, 0.4684808850288391, -0.03726824373006821, -0.9152669906616211, -0.5850852131843567, -0.03278028592467308, 0.09429560601711273, -0.5235748291015625, 0.567776083946228, 0.3140758275985718, -0.46164029836654663, -0.07516362518072128, 0.0562712587416172, -0.3486873209476471, 0.039415791630744934, -0.17650748789310455, -0.1797787845134735, -0.1468832939863205, 0.36593061685562134, 0.18947705626487732, 0.1592375934123993, -0.13348804414272308, -0.11179444193840027, 0.6273148655891418, 0.06473120301961899, -0.47172829508781433, -0.2001749873161316, 0.2305758148431778, 0.1779814064502716, -0.6478644609451294, 0.7502577304840088, 0.40298011898994446, -0.2001693993806839, -0.4374350905418396, -0.526301383972168, -0.4658660590648651, -0.4957762360572815, 0.3166477382183075, -0.6115970015525818, -0.8893304467201233, 0.4562133252620697, -0.07433807849884033, -0.21367721259593964, 0.23112240433692932, 0.3103102445602417, -0.042277395725250244, 0.8832939863204956, 0.7175047993659973, 0.12810349464416504, 0.6902059316635132, -0.545724630355835, -0.09938692301511765, -1.154727816581726, -0.22439414262771606, -0.5127893090248108, -0.46445155143737793, -0.3608514070510864, -0.3689859211444855, 0.43351778388023376, 0.5318974256515503, -0.3991832733154297, 0.14624252915382385, -0.6351717710494995, 0.5692213177680969, 0.48696956038475037, 0.5355560779571533, 0.4372093379497528, 0.1382857710123062, -0.1870816946029663, -0.09684186428785324, -0.9654400944709778, -0.24198855459690094, 1.114151120185852, 0.22148756682872772, 0.6973404288291931, 0.06191994249820709, 0.981025755405426, 0.13740850985050201, 0.04524228721857071, -0.4846135675907135, 0.42650923132896423, -0.10736829787492752, -0.74567049741745, -0.35365137457847595, -0.5469348430633545, -0.9213757514953613, 0.1589731127023697, -0.21207420527935028, -0.20156778395175934, 0.44987109303474426, 0.11039295792579651, -0.39338943362236023, 0.3530585765838623, -0.5582084655761719, 0.5155240297317505, -0.4216547906398773, -0.4571249186992645, -0.3707064092159271, -0.5570353865623474, 0.30107876658439636, 0.03775390237569809, -0.2736799418926239, 0.2160724401473999, -0.07277970761060715, 0.3292178213596344, -0.34743326902389526, 0.6991906762123108, -0.2800193428993225, 0.00973337423056364, 0.4167904853820801, 0.21926970779895782, 0.45370760560035706, 0.1725502610206604, -0.2932600677013397, -0.1120205968618393, -0.2120734006166458, -0.38802406191825867, -0.7125250101089478, 0.4905827045440674, -0.866115152835846, -0.4733337461948395, -0.35440993309020996, -0.4663887619972229, -0.11217494308948517, 0.38502201437950134, 0.16438789665699005, 0.6816704869270325, -0.024287236854434013, 0.3093602657318115, 1.0586425065994263, -0.08840247243642807, 0.061369117349386215, 0.5037398338317871, -0.10759495943784714, -0.2901369333267212, 0.7723295092582703, 0.29763102531433105, 0.36052465438842773, 0.9223966598510742, 0.18420661985874176, -0.49946001172065735, -0.9790502190589905, -0.22565977275371552, 0.388947069644928, -0.5784162282943726, -0.19399450719356537, -0.6985218524932861, -0.358188658952713, -0.35860675573349, 0.05703572556376457, -0.45996615290641785, -0.3177230954170227, -0.41296449303627014, -0.08788783848285675, 0.40277642011642456, 0.8368247151374817, -0.28821855783462524, 0.3703859746456146, -0.8138631582260132, 0.371482253074646, 0.3192451000213623, 0.4394609332084656, 0.06742718815803528, -0.6816039681434631, -0.36923494935035706, 0.24659761786460876, -0.1304847002029419, -0.7019065618515015, 0.16415612399578094, 0.34388914704322815, 0.49813607335090637, 0.19145765900611877, 0.16212446987628937, 0.7455095648765564, -0.5435038805007935, 0.5080462694168091, -0.23967918753623962, -0.4463237524032593, 0.6005500555038452, -0.424970418214798, -0.11312518268823624, 0.8582605123519897, 0.4632207155227661, -0.11988607794046402, -0.025998109951615334, -0.4685395359992981, -0.6216855645179749, 0.4200023412704468, -0.18835648894309998, 0.1548680067062378, -0.10050049424171448, 0.9644150733947754, -0.005276241339743137, 0.3279547691345215, -0.421529084444046, 0.11189956963062286, -0.027379045262932777, 0.012000557035207748, 0.008415495976805687, -0.44151878356933594, -0.1451026052236557, -0.26860710978507996, 0.3968479633331299, 0.07328659296035767, 0.09558913856744766, 0.6402990221977234, -0.25963112711906433, -0.08949486166238785, 0.04507669061422348, 0.3565342128276825, 0.7783350348472595, -0.26505759358406067, 0.17253558337688446, -0.12439820915460587, -0.5584281086921692, 0.15132176876068115, -0.04011760279536247, -0.29288822412490845, -0.12800851464271545, 0.3994980454444885, 0.8358866572380066, 0.1531674861907959, -0.4047161638736725, 0.4692581295967102, 0.00223755557090044, -0.10944224148988724, -0.41233259439468384, 0.16078664362430573, -0.41168496012687683, 0.4718216061592102, 0.5223015546798706, -0.017639880999922752, 0.3102514445781708, -0.410128653049469, 0.4572049081325531, 0.47394639253616333, -0.26718056201934814, -0.19090838730335236, 0.5736595392227173, 0.01118306815624237, -0.10467147827148438, 0.858512818813324, -0.22072048485279083, -0.5379438996315002, 0.24769441783428192, 0.40989744663238525, 0.6384667754173279, -0.006294444669038057, 0.1560632437467575, 0.5383009910583496, 0.3701156675815582, -0.37782174348831177, 0.3033565282821655, -0.34969112277030945, -0.9203002452850342, -0.8159263134002686, -0.7363526225090027, -0.35068705677986145, 0.01554508414119482, -0.7536675333976746, 0.07499466091394424, -0.4125647246837616, -0.07348547130823135, -0.2777000963687897, 0.38153454661369324, -0.510769248008728, 0.2521476745605469, -0.07321663945913315, 0.9899107217788696, -0.6014983654022217, 0.7014576196670532, 0.5272749066352844, -0.6532886028289795, -1.0733336210250854, -0.03869280591607094, -0.480421781539917, -0.7842950820922852, 0.9527468085289001, -0.18105176091194153, 0.052204955369234085, 0.2577815353870392, -0.5634943842887878, -0.9704928398132324, 0.9614976644515991, 0.3801651895046234, -0.6253481507301331, -0.1539858877658844, 0.1559980809688568, 0.6114347577095032, -0.26391637325286865, 0.18214631080627441, 0.3428668677806854, 0.23449935019016266, -0.14267335832118988, -0.6961212158203125, -0.0394272617995739, -0.03857980668544769, 0.034863706678152084, 0.21498052775859833, -0.5867770910263062, 1.085001826286316, -0.3173515796661377, -0.15673811733722687, -0.07412492483854294, 0.6606853604316711, 0.2936312258243561, 0.07761545479297638, 0.39718303084373474, 0.839288592338562, 0.6793621182441711, 0.05682918801903725, 1.2490224838256836, -0.2746584415435791, 0.06307549774646759, 1.2087863683700562, -0.1969030797481537, 0.9554921984672546, 0.45784735679626465, 0.024616798385977745, 0.4016563594341278, 0.5570437908172607, 0.27776166796684265, 0.6630237698554993, 0.06089991703629494, -0.34911003708839417, -0.2704900801181793, -0.19108469784259796, -0.42707979679107666, 0.4724140167236328, 0.39503011107444763, -0.47068721055984497, -0.007720617111772299, -0.0618712417781353, -0.3096502125263214, 0.23027831315994263, -0.48852965235710144, 1.0245678424835205, 0.09200423210859299, -0.6986662149429321, 0.6769517660140991, -0.3162115812301636, 0.19069059193134308, -0.5068017244338989, -0.17942595481872559, -0.2771594524383545, 0.30405697226524353, -0.17350196838378906, -0.9332352876663208, 0.22969363629817963, -0.41761547327041626, -0.3555602431297302, -0.34923866391181946, 0.9275116920471191, -0.5020058751106262, -0.19044247269630432, 0.27541929483413696, 0.6447644233703613, 0.010925518348813057, -0.3465220332145691, -0.7477620244026184, 0.08829697221517563, -0.07466128468513489, -0.34534144401550293, 0.4721567630767822, 1.0013033151626587, 0.14337201416492462, 0.6487377882003784, 0.595202624797821, 0.32984453439712524, 0.19811730086803436, 0.353908509016037, 1.0064295530319214, -0.44731301069259644, -0.15786856412887573, -0.5814374089241028, 0.5048555135726929, -0.18887992203235626, -0.14706286787986755, 0.6944507956504822, 0.390547513961792, 0.874008059501648, 0.11621672660112381, 0.5475214123725891, 0.047607067972421646, 0.6385334730148315, -0.537656307220459, 0.6612136960029602, -0.6922717690467834, 0.24045710265636444, -0.11690467596054077, -0.946223795413971, 0.04830287769436836, 0.4739857614040375, -0.30562007427215576, 0.0718066617846489, 0.42028293013572693, 0.8472480177879333, -0.24914732575416565, -0.2591862380504608, 0.0637504905462265, 0.2265171855688095, 0.08085184544324875, 0.13048629462718964, 0.8595775961875916, -0.523856520652771, 0.4740236699581146, -0.6112373471260071, -0.18149663507938385, -0.12751613557338715, -0.6368777751922607, -0.6552652716636658, -0.7088589668273926, 0.024403773248195648, -0.14180056750774384, 0.03724135458469391, 0.47834184765815735, 0.5202533602714539, -0.37005168199539185, -0.14302438497543335, -0.3802565932273865, 0.054396625608205795, -0.15173320472240448, -0.20943230390548706, 0.15387041866779327, -0.7319377064704895, -0.4930497407913208, 0.5926238894462585, 0.05412362143397331, 0.10877012461423874, -0.34080079197883606, 0.03427569568157196, -0.3818344175815582, -0.308352530002594, 0.4142549932003021, 0.180204838514328, -0.16020573675632477, -0.16967317461967468, 0.19743111729621887, -0.20333653688430786, -0.19011501967906952, 0.9726744294166565, -0.6284754276275635, 0.5840961933135986, 0.75669926404953, 0.9323562979698181, 0.5942140817642212, 0.18328934907913208, 0.7405649423599243, -1.094996690750122, 0.24187664687633514, 0.5356305837631226, 0.31400591135025024, 0.38454777002334595, -0.48998698592185974, 0.44732901453971863, -0.061750032007694244, -0.9909430146217346, -1.002334475517273, 0.4356246590614319, -0.8100326657295227, -0.23638394474983215, 1.0777126550674438, 0.2289704978466034, -0.13991641998291016, -0.17916113138198853, -0.27176839113235474, 0.3359318971633911, -0.09988921880722046, 0.7486559152603149, 0.3164783716201782, -0.05773436278104782, -0.20792576670646667, -0.4574524760246277, 0.7105785608291626, 0.3036644756793976, -0.25186920166015625, 0.06370942294597626, 0.4845931828022003, 0.1567881852388382, 0.2476533055305481, 0.9235860705375671, -0.08360034227371216, 0.03311901539564133, 0.11911051720380783, -0.134046733379364, -0.2016928493976593, -0.5099952220916748, -0.2356230914592743, 0.22149209678173065, 0.2094394415616989, 0.13701803982257843 ]
http://arxiv.org/abs/2402.11034v2
http://arxiv.org/pdf/2402.11034v2
PAT-Questions: A Self-Updating Benchmark for Present-Anchored Temporal Question-Answering
2024-02-16T19:26:09
2024-06-03T18:36:59
Jannat Ara Meem, Muhammad Shihab Rashid, Yue Dong, Vagelis Hristidis
cs.CL
cs.CL
Existing work on Temporal Question Answering (TQA) has predominantly focused on questions anchored to specific timestamps or events (e.g. "Who was the US president in 1970?"). Little work has studied questions whose temporal context is relative to the present time (e.g. "Who was the previous US president?"). We refer to this problem as Present-Anchored Temporal QA (PATQA). PATQA poses unique challenges: (1) large language models (LLMs) may have outdated knowledge, (2) complex temporal relationships (e.g. 'before', 'previous') are hard to reason, (3) multi-hop reasoning may be required, and (4) the gold answers of benchmarks must be continuously updated. To address these challenges, we introduce the PAT-Questions benchmark, which includes single and multi-hop temporal questions. The answers in PAT-Questions can be automatically refreshed by re-running SPARQL queries on a knowledge graph, if available. We evaluate several state-of-the-art LLMs and a SOTA temporal reasoning model (TEMPREASON-T5) on PAT-Questions through direct prompting and retrieval-augmented generation (RAG). The results highlight the limitations of existing solutions in PATQA and motivate the need for new methods to improve PATQA reasoning capabilities.
[ -0.43109411001205444, -0.9292120337486267, 0.7756661772727966, 0.3931846618652344, -0.2951448857784271, 0.3306780159473419, 0.11877404898405075, -0.4292316436767578, -0.04114692658185959, 0.596056342124939, -0.86292564868927, -0.09619006514549255, -0.07633741945028305, 0.2592138648033142, 0.1348186433315277, 0.5709019303321838, -0.2343073934316635, -0.1955186277627945, -0.0843081846833229, -0.36021366715431213, -0.6014477014541626, -0.5213978290557861, -0.5709386467933655, -0.31384462118148804, 0.2624483108520508, 0.35292989015579224, 0.3049910366535187, 0.45486539602279663, 0.3258153200149536, 0.24264398217201233, -0.0626644566655159, 0.3534679114818573, 0.05230125039815903, 0.48677319288253784, -0.24128808081150055, -0.310031533241272, -0.45008575916290283, 0.12672209739685059, 0.6814104318618774, 1.0429120063781738, 0.024430256336927414, 0.5945098996162415, -0.3028096556663513, 0.5208794474601746, -0.682237982749939, -0.0798134058713913, -0.6995664238929749, -0.005476051941514015, -0.07516415417194366, -0.5422232747077942, -0.1523911952972412, -0.5919356942176819, 0.24430179595947266, -0.44457632303237915, 0.10667692124843597, -0.17199788987636566, 0.9413142800331116, 0.4311973750591278, -0.8130571246147156, -0.1303039789199829, -0.5798749327659607, 0.5490664839744568, -0.29719725251197815, 0.49060529470443726, 0.2994561195373535, 0.4266350269317627, -0.16110414266586304, -0.7136867046356201, -0.5730181336402893, -0.38799044489860535, 0.34229710698127747, 0.2601710855960846, -0.07840834558010101, -0.4771159291267395, 0.231552854180336, 0.1885586827993393, -0.4215701222419739, -0.19249635934829712, -0.06485309451818466, 0.09465093165636063, 0.09013786166906357, 0.17571306228637695, 0.006524714641273022, -0.360951691865921, -0.8983996510505676, -0.12678754329681396, -0.6811584234237671, 0.26755717396736145, 0.24021410942077637, -0.08931781351566315, 0.3833545744419098, 0.36767008900642395, -0.5255616903305054, 0.5866645574569702, 0.3736001253128052, 0.32196536660194397, 0.07350213825702667, -0.4223145544528961, 0.00764297042042017, -0.3200022578239441, 0.3404800593852997, 0.2572040855884552, 0.32357507944107056, -0.06920415908098221, 0.27780213952064514, -0.29172950983047485, 0.14052505791187286, -0.4546392261981964, 0.06511896848678589, 0.5094560384750366, 0.06092448532581329, 0.1089615598320961, -0.016174642369151115, -0.8464231491088867, -0.20426861941814423, -0.1005394384264946, 0.5965344905853271, -0.24838681519031525, -0.23974549770355225, -0.008813567459583282, -0.25401613116264343, 0.3985341191291809, 0.4977285861968994, -0.25347861647605896, 0.258954793214798, 0.7282522320747375, 0.3184623420238495, 0.32168057560920715, -0.49142691493034363, -0.7136504650115967, 0.3243428170681, -0.6851804852485657, 1.0644160509109497, -0.43356847763061523, -0.1445850282907486, -0.0676523894071579, 0.19459420442581177, 0.02270243875682354, -0.7104272246360779, 0.2355678677558899, -0.7712526917457581, 0.44907140731811523, -0.841743528842926, -0.3367430567741394, 0.26468625664711, 0.6001509428024292, -0.40497350692749023, 1.40621018409729, 0.19812457263469696, -0.6859073042869568, 0.45227140188217163, -0.37575334310531616, -0.14140842854976654, 0.04673445224761963, -0.1106509119272232, -0.19169244170188904, -0.26789405941963196, 0.25315287709236145, 0.3431590795516968, -0.4992719888687134, 0.5259073376655579, -0.09675943106412888, -0.11628052592277527, 0.43072184920310974, -0.13237552344799042, 0.9653027057647705, 0.2276768684387207, -0.45334237813949585, -0.3133701682090759, -0.580401599407196, 0.2658237814903259, 0.030037714168429375, -0.27405229210853577, -0.14046715199947357, -0.07739131152629852, -0.7841808199882507, 0.19423609972000122, 0.44419175386428833, -0.6510661840438843, 0.1882682740688324, 0.18785837292671204, 0.30369725823402405, 0.9728056192398071, 0.5245726704597473, 0.04549142345786095, -0.6113936901092529, 0.5947055816650391, 0.059981174767017365, 0.33007070422172546, -0.4455774426460266, -0.6105652451515198, -0.6378506422042847, 0.25696834921836853, 0.2199171781539917, 0.6859169006347656, -0.49338260293006897, 0.003456419100984931, -0.41052690148353577, -0.429269403219223, -0.3138929307460785, -0.18237993121147156, 0.274368554353714, 0.8060172200202942, 0.5228339433670044, -0.23246502876281738, -0.48004481196403503, -0.4598081409931183, -0.4321165084838867, -0.6915649175643921, -0.028785787522792816, 0.5847015380859375, 0.49171751737594604, 0.3571951985359192, 0.8505518436431885, -0.5213640332221985, 0.2520422339439392, 0.136599600315094, 0.34761539101600647, 0.006117808632552624, 0.3371294438838959, 0.26112326979637146, -0.6007162928581238, -0.3022703230381012, -0.25144141912460327, -0.6913277506828308, -0.5008899569511414, -0.32084885239601135, -0.03359125927090645, 0.028521841391921043, 0.44447141885757446, -0.7422366738319397, 0.12182877212762833, 0.35671117901802063, -0.4840168058872223, 0.8001813888549805, -0.16423743963241577, 0.5900033116340637, -1.010359525680542, 0.08848153054714203, -0.33019405603408813, -0.20450033247470856, -0.4069617986679077, 0.1200566291809082, 0.08507364243268967, -0.2853854298591614, -0.36319103837013245, 0.9062017798423767, -0.49628502130508423, -0.14442755281925201, 0.16159497201442719, 0.23221638798713684, 0.23516963422298431, 0.28100019693374634, -0.17760027945041656, 0.8866186738014221, 0.1619676649570465, -0.7058895230293274, 0.23275192081928253, 0.18756814301013947, -0.03156150132417679, 0.6178751587867737, -0.6191792488098145, 0.48318612575531006, -0.08610665053129196, 0.4376908242702484, -0.8615914583206177, -0.014129629358649254, 0.06384777277708054, -0.49745193123817444, 0.1940009891986847, -0.21585701406002045, -0.34058693051338196, -0.3722452223300934, -0.3215501606464386, 0.40976983308792114, 0.3884095847606659, -0.8071610331535339, 0.5750556588172913, 0.20721757411956787, -0.11223261803388596, -0.9975751042366028, -0.3544638752937317, 0.25980710983276367, -0.0751599445939064, -0.6040751934051514, 0.3862897753715515, -0.23668667674064636, -0.5326133370399475, 0.28551816940307617, -0.4569034278392792, -0.22562117874622345, 0.048306163400411606, -0.16370749473571777, 0.006904772482812405, -0.22875747084617615, 0.22915184497833252, -0.2623821198940277, -0.21737627685070038, 0.02525508776307106, -0.3212491273880005, 0.6197212338447571, -0.15654043853282928, -0.1938902735710144, -0.4188970923423767, 0.5811625719070435, 0.47467830777168274, -0.5046045780181885, 0.3881712257862091, 0.2959887981414795, -0.2545129358768463, -0.46271297335624695, -0.9411664009094238, -0.20676355063915253, -0.48647430539131165, 0.06589152663946152, -0.6732670068740845, -0.9939084649085999, 0.697758674621582, -0.355215847492218, -0.2138349711894989, 0.2965119779109955, 0.4804326891899109, -0.3828204572200775, 0.4275662302970886, 0.12191326916217804, 0.22587300837039948, 0.37325379252433777, -0.052346814423799515, -0.1823424994945526, -0.808032751083374, -0.24463315308094025, -0.6234667897224426, 0.11905016005039215, -0.4579329788684845, -0.7396233081817627, 0.27167320251464844, 0.1781841665506363, -0.7422406077384949, 0.18755298852920532, -0.24664637446403503, 0.2970944344997406, 0.7255048751831055, -0.003792537609115243, 0.28276708722114563, -0.6861844062805176, -0.07853750139474869, 0.2507610619068146, -0.5131286382675171, -0.36355262994766235, 1.007551908493042, 0.13293538987636566, 0.6063674688339233, 0.11748740077018738, 0.4915527403354645, 0.31250080466270447, 0.0926799550652504, -0.008443688973784447, 0.8020157814025879, 0.017957625910639763, -0.9759473204612732, -0.1849002242088318, -0.5341587662696838, -0.854590117931366, -0.0005016420618630946, 0.08217041939496994, -0.6665233373641968, 0.35684943199157715, 0.2619083523750305, -0.32469645142555237, 0.35879114270210266, -0.6642248034477234, 0.9313288331031799, -0.2455052137374878, -0.33679285645484924, 0.28989917039871216, -0.7112134099006653, 0.11792917549610138, 0.04314849153161049, -0.21688714623451233, -0.5170148611068726, -0.23790132999420166, 0.45624253153800964, -0.390578031539917, 0.735813558101654, -0.338783860206604, 0.3295055627822876, 0.5803073644638062, 0.16424940526485443, 0.5376694202423096, 0.24287573993206024, 0.1121121421456337, -0.22528323531150818, 0.4047313630580902, -0.5195812582969666, -0.7185882925987244, 0.5864431262016296, -0.6710273027420044, -0.9661365747451782, -0.7271969318389893, -0.2831960916519165, -0.515620768070221, 0.004093869123607874, -0.10696224868297577, 0.5646830201148987, -0.0594409741461277, 0.08374928683042526, 0.643602192401886, -0.3860689401626587, 0.24574412405490875, 0.8316189050674438, 0.07451742142438889, -0.3671073913574219, 0.25321152806282043, 0.3005915582180023, 0.2942255139350891, 0.5876632928848267, 0.2946225106716156, -0.3386218547821045, -0.23465342819690704, -0.3546024560928345, 0.38516363501548767, -0.6271191239356995, -0.24783387780189514, -0.7944854497909546, 0.08754538744688034, -0.38318300247192383, 0.14722929894924164, -0.39889198541641235, -0.7565109729766846, -0.14531540870666504, 0.08241552859544754, 0.17842437326908112, 0.38092806935310364, -0.05453755706548691, -0.14938704669475555, -0.4879821836948395, 0.5517328977584839, 0.7985262274742126, 0.4581299424171448, -0.2791741192340851, -0.22644585371017456, 0.29717421531677246, -0.39132511615753174, -0.22832754254341125, -1.2613465785980225, -0.20457682013511658, 0.24831847846508026, 0.5806447863578796, -0.20041151344776154, 0.3786028325557709, 0.8343045115470886, -0.7044632434844971, 1.0520402193069458, -0.42975619435310364, -0.8584616780281067, 0.826259434223175, -0.441424161195755, 0.5936691761016846, 0.5880393385887146, 0.3839193880558014, -0.6088618636131287, -0.31371501088142395, -0.7169614434242249, -0.4199618399143219, 0.3178669810295105, -0.2090383619070053, 0.06686195731163025, -0.3779986798763275, 0.7533099055290222, 0.010906168259680271, 0.19338561594486237, -0.4274204969406128, -0.25595998764038086, -0.21549032628536224, 0.2201496809720993, 0.2542347311973572, -0.29333654046058655, 0.021906156092882156, 0.021537337452173233, 0.6411566734313965, -0.24364081025123596, 0.3103673756122589, 0.5050950646400452, 0.20067699253559113, -0.2909429967403412, 0.633884608745575, 0.25292158126831055, 1.0147548913955688, -0.5921374559402466, 0.31031230092048645, 0.4393905997276306, -0.18432094156742096, 0.29800230264663696, 0.23773017525672913, -0.14934737980365753, -0.15143635869026184, 0.2823511064052582, 0.21173928678035736, 0.05214694142341614, -0.636076033115387, 0.5569289922714233, -0.046436067670583725, -0.0909084603190422, -0.4641329050064087, -0.22757020592689514, -0.07442542165517807, 0.4715963304042816, 0.8454622030258179, -0.12462079524993896, -0.3728799819946289, -0.969032347202301, 0.43864181637763977, 0.3292224705219269, -0.30858364701271057, -0.41559654474258423, 0.790621817111969, -0.16430406272411346, -0.3065931499004364, 0.3521060049533844, -0.29330191016197205, -0.8603519797325134, 0.5120216012001038, 0.6993955373764038, 0.6853192448616028, -0.5110387802124023, 0.5111746788024902, 0.34359654784202576, 0.4394416809082031, 0.18491801619529724, 0.9620009064674377, -0.15488983690738678, -0.6756823658943176, -0.5421321988105774, -0.23882856965065002, -0.8022083640098572, 0.15383398532867432, -0.570990800857544, -0.2239353358745575, -0.6159998774528503, -0.5201073884963989, -0.18434792757034302, 0.4663231074810028, -0.7230013012886047, 0.4359953701496124, -0.37266090512275696, 1.0258126258850098, -0.5905600786209106, 0.537200927734375, 0.7738032341003418, -0.3551277220249176, -0.6352669596672058, 0.1385369896888733, -0.1364774852991104, -0.6080228686332703, 0.6417033672332764, -0.25818106532096863, -0.09789927303791046, -0.07427961379289627, -0.40145817399024963, -0.8485910892486572, 1.1432106494903564, 0.4277340769767761, 0.1911778450012207, 0.04992096498608589, 0.07461325079202652, 0.5514286160469055, -0.09863671660423279, -0.0943608209490776, 0.38927218317985535, 0.3939901888370514, -0.09580196440219879, -0.8516303300857544, 0.12144901603460312, -0.39561590552330017, -0.5267496109008789, 0.4420933425426483, -0.9877303242683411, 1.133581519126892, -0.1382121592760086, -0.16664119064807892, 0.09021987020969391, 0.4909290373325348, 0.37718120217323303, 0.46208101511001587, 0.5705097317695618, 0.6595838665962219, 0.8414011597633362, -0.3599788248538971, 0.9218865036964417, -0.17557530105113983, 0.12170271575450897, 1.4365150928497314, -0.3307158052921295, 0.8538592457771301, 0.470130056142807, -0.2735316753387451, 0.6604289412498474, 0.553083598613739, 0.048611417412757874, 0.27447912096977234, -0.01267834659665823, -0.2806624174118042, -0.5009147524833679, -0.2997959554195404, -0.6011515259742737, 0.43128252029418945, -0.06439825892448425, 0.1398509442806244, -0.2724105715751648, -0.30976957082748413, 0.09845957159996033, 0.01800468936562538, 0.0648413896560669, 0.5609762072563171, -0.19558140635490417, -1.0149344205856323, 0.21806597709655762, -0.3517115116119385, -0.20563073456287384, -0.6499943137168884, -0.07052642107009888, -0.5412804484367371, 0.03892248868942261, 0.45421063899993896, -0.7940356731414795, 0.050946321338415146, 0.15982569754123688, -0.05355481803417206, -0.12483160197734833, 0.45723381638526917, -0.052128665149211884, -0.2034357786178589, 0.1296701282262802, 1.0601398944854736, -0.08801382035017014, 0.07330232858657837, -0.7378028035163879, -0.09028806537389755, -0.39813002943992615, -0.24743887782096863, 0.07348960638046265, 0.8251158595085144, -0.12426171451807022, 1.121288776397705, 0.3728799819946289, 0.15459474921226501, 0.5456407070159912, 0.16006053984165192, 0.8531980514526367, -0.870148777961731, -0.5941261053085327, -0.24679605662822723, 0.27735111117362976, -0.020170509815216064, -0.5716965198516846, 0.6976291537284851, 0.2807838022708893, 0.6043235659599304, 0.2897626459598541, 0.42041900753974915, -0.0244759451597929, 0.9317071437835693, -0.46632054448127747, 0.09672902524471283, -0.6447665095329285, 0.3492306172847748, -0.2886880934238434, -0.722690999507904, -0.08747578412294388, 0.0916391983628273, -0.24785463511943817, 0.23056335747241974, 0.8711403608322144, 0.45218905806541443, 0.27721816301345825, 0.11666862666606903, 0.016219941899180412, 0.131108820438385, 0.3580525517463684, 0.5558121800422668, 1.2712100744247437, -0.44630882143974304, 0.5523087978363037, -0.5325756072998047, -0.1516551375389099, 0.2189582884311676, -1.1576405763626099, -0.6986156702041626, -0.9810805916786194, -0.5131276249885559, -0.23976993560791016, 0.477151095867157, 0.8585147857666016, 0.6382726430892944, -0.6080862879753113, 0.03007896989583969, 0.3703766465187073, -0.03886748105287552, -0.44357651472091675, -0.16726890206336975, 0.6868097186088562, -0.3735562562942505, -0.39632856845855713, 0.5269526243209839, 0.2474897801876068, -0.05166204273700714, -0.06117874011397362, 0.47270676493644714, -0.6432403326034546, 0.21265088021755219, 0.27668705582618713, 0.5203089714050293, -0.6611323356628418, -0.8123362064361572, 0.3283383548259735, 0.2993590831756592, 0.2816488444805145, 0.7792854905128479, -0.9962336421012878, 0.5749015808105469, 0.38449007272720337, 0.7618327736854553, 0.6456341743469238, 0.6426727771759033, 0.3944769501686096, -0.8842487335205078, -0.36576125025749207, 0.36000439524650574, 0.12325968593358994, 0.30991822481155396, -0.14268578588962555, 0.5198269486427307, 0.2311762571334839, -0.8902571797370911, -0.8781698346138, 0.2650699317455292, -1.1658366918563843, -0.3592640161514282, 0.7682555913925171, -0.14582735300064087, -0.259345680475235, -0.4932798743247986, 0.17077754437923431, 0.18163864314556122, -0.057454176247119904, 0.657163679599762, 0.4948287606239319, -0.32293152809143066, -0.2680334746837616, -0.6290109157562256, 0.4672229588031769, 0.424861878156662, -0.8530478477478027, 0.289195716381073, 0.3330213725566864, 0.46311211585998535, 0.1016671359539032, 1.1617445945739746, -0.1324586421251297, 0.521826446056366, 0.16722096502780914, -0.4728837311267853, -0.20309899747371674, -0.48940470814704895, 0.07159702479839325, 0.47399672865867615, -0.03151652589440346, -0.23009058833122253 ]
http://arxiv.org/abs/2402.10893v1
http://arxiv.org/pdf/2402.10893v1
RLVF: Learning from Verbal Feedback without Overgeneralization
2024-02-16T18:50:24
2024-02-16T18:50:24
Moritz Stephan, Alexander Khazatsky, Eric Mitchell, Annie S Chen, Sheryl Hsu, Archit Sharma, Chelsea Finn
cs.LG
cs.LG, cs.AI, cs.CL
The diversity of contexts in which large language models (LLMs) are deployed requires the ability to modify or customize default model behaviors to incorporate nuanced requirements and preferences. A convenient interface to specify such model adjustments is high-level verbal feedback, such as "Don't use emojis when drafting emails to my boss." However, while writing high-level feedback is far simpler than collecting annotations for reinforcement learning from human feedback (RLHF), we find that simply prompting a model with such feedback leads to overgeneralization of the feedback to contexts where it is not relevant. We study the problem of incorporating verbal feedback without such overgeneralization, inspiring a new method Contextualized Critiques with Constrained Preference Optimization (C3PO). C3PO uses a piece of high-level feedback to generate a small synthetic preference dataset specifying how the feedback should (and should not) be applied. It then fine-tunes the model in accordance with the synthetic preference data while minimizing the divergence from the original model for prompts where the feedback does not apply. Our experimental results indicate that our approach effectively applies verbal feedback to relevant scenarios while preserving existing behaviors for other contexts. For both human- and GPT-4-generated high-level feedback, C3PO effectively adheres to the given feedback comparably to in-context baselines while reducing overgeneralization by 30%.
[ -0.3821914494037628, -0.9980422258377075, 0.5112099051475525, 0.3197815716266632, -0.17836356163024902, 0.019427889958024025, -0.7317374348640442, -0.3929656744003296, 0.04068981856107712, 0.5005282163619995, -0.8498938083648682, -0.474137544631958, -0.14449694752693176, 0.03685302287340164, 0.16799189150333405, 1.0402694940567017, -0.02972041629254818, 0.03662380576133728, -0.3938467800617218, 0.12391415238380432, -0.39251255989074707, -0.6805187463760376, -0.602029025554657, -0.8250616192817688, 0.6377705335617065, 0.6955909729003906, 0.36128100752830505, 0.391238808631897, -0.08486279100179672, 0.1969212293624878, -0.04985074698925018, 0.394961416721344, -0.7264984250068665, 0.18275785446166992, -0.16526219248771667, -0.2912019193172455, -0.08134981989860535, 0.03791828081011772, 0.6424443125724792, 0.5449220538139343, -0.4403376281261444, 0.03571774438023567, 0.22989438474178314, 0.8272290825843811, -0.8391761779785156, 0.5039573907852173, -0.49429139494895935, 0.48348289728164673, 0.31023457646369934, -0.4698413908481598, -0.651411771774292, -0.5053618550300598, 0.17491917312145233, -0.8009606003761292, -0.04780188947916031, -0.016101794317364693, 0.6624675393104553, 0.278260737657547, -0.20992468297481537, -0.16001418232917786, -1.0498762130737305, 0.9796096086502075, -0.3876195251941681, 0.3278209865093231, 0.6627472639083862, 0.17763487994670868, -0.10664843022823334, -0.34218689799308777, -0.3761114180088043, -0.6584092974662781, -0.0151682673022151, 0.23033595085144043, 0.010542120784521103, 0.1699095517396927, 0.34179890155792236, -0.1544855833053589, -0.10049602389335632, 0.15929700434207916, -0.3571256995201111, -0.10731710493564606, 0.4190840721130371, -0.08042116463184357, -0.04442308470606804, -0.13426795601844788, -0.43300849199295044, -0.11551979184150696, -0.794221818447113, 0.41154858469963074, -0.014254426583647728, 0.4596189856529236, 0.1019393801689148, 0.464304119348526, -0.20448563992977142, 0.5187447667121887, 0.281633198261261, -0.1334877461194992, 0.37525463104248047, -0.1258433759212494, -0.11688219755887985, 0.02302488498389721, 0.6477023959159851, 0.4948628544807434, 0.4961473047733307, -0.2563773989677429, -0.24436403810977936, -0.16027019917964935, 0.24086584150791168, -0.8604183197021484, 0.32681068778038025, 0.09507375210523605, -0.46395963430404663, -0.29334187507629395, -0.007958436384797096, -0.6553128361701965, -0.31714653968811035, -0.5245487093925476, 0.042408429086208344, -0.3574061691761017, -0.009625323116779327, -0.1555803120136261, -0.0002526683092582971, 0.2889057695865631, 0.33475810289382935, -1.1625940799713135, 0.3606081008911133, 0.7825524806976318, 0.6440272331237793, -0.08537375926971436, -0.50273197889328, -0.7626714706420898, 0.2514612376689911, -0.3948330879211426, 0.6295450925827026, -0.6071416139602661, -0.6022984385490417, 0.15102270245552063, -0.09010452777147293, -0.08688236027956009, -0.6643166542053223, 0.5212764143943787, -0.3108099400997162, 0.1915699988603592, -0.42579394578933716, -0.5514113903045654, -0.02777273766696453, 0.4147517681121826, -0.2555239200592041, 1.0047515630722046, 0.09906625002622604, -0.5338966250419617, 0.6698216795921326, -0.5567927956581116, -0.45471733808517456, 0.06322412937879562, -0.3210582733154297, -0.29420551657676697, -0.03419914469122887, 0.3303225040435791, 0.3479934334754944, 0.011886360123753548, 0.18770186603069305, -0.5505743622779846, -0.35354602336883545, 0.2575225830078125, -0.13111387193202972, 0.23317541182041168, 0.1252746880054474, -0.4080597758293152, 0.39433255791664124, -0.6500133275985718, 0.13057349622249603, -0.06460107117891312, -0.6331508755683899, -0.32160067558288574, 0.09886559844017029, -0.1297455132007599, 0.4070291221141815, 0.0742282122373581, -0.7490037679672241, 0.23985986411571503, -0.6942211389541626, 0.5290374159812927, 0.7659297585487366, 0.12837015092372894, 0.5405399203300476, -0.39574259519577026, 0.7164621949195862, -0.3458740711212158, 0.3346627652645111, 0.25656142830848694, -0.13708651065826416, -0.577437162399292, -0.1514815241098404, -0.012076630257070065, 0.5525540113449097, -0.766370415687561, 0.37072986364364624, -0.1438642144203186, -0.10910379886627197, -0.14629876613616943, 0.46391522884368896, 0.5337567925453186, 0.45290979743003845, 0.28971928358078003, -0.14441253244876862, -0.6561370491981506, -0.722874104976654, -0.010564055293798447, -0.30011871457099915, 0.060218971222639084, 0.5900661945343018, 0.2615925371646881, -0.05140485614538193, 0.9788558483123779, -0.36784300208091736, -0.2853468656539917, -0.5192537903785706, 0.10038795322179794, -0.12860506772994995, 0.4567612111568451, 0.38882091641426086, -0.40607041120529175, -0.2210668921470642, -0.06401607394218445, -0.5279526114463806, -0.04952344298362732, -0.11248182505369186, -0.011457827873528004, 0.2961481809616089, 0.8611347675323486, -0.5377722382545471, -0.013351283967494965, 0.35019510984420776, -0.15594297647476196, 0.12713582813739777, -0.3570499122142792, -0.18114303052425385, -0.7462191581726074, 0.003215279197320342, 0.03406145051121712, -0.31803855299949646, -0.4040447473526001, -0.01831263303756714, -0.004966897889971733, -0.1349029392004013, -0.4805535078048706, 0.6158031821250916, -0.21330000460147858, 0.1115831658244133, -0.23395247757434845, 0.04915454611182213, -0.09734734147787094, 0.9051708579063416, 0.2867867946624756, 0.3740360736846924, 0.15540756285190582, -0.5849517583847046, 0.24049581587314606, 0.16466087102890015, -0.0192802045494318, 0.54523766040802, -0.757074236869812, 0.15713173151016235, -0.38935208320617676, 0.7421684265136719, -0.5436572432518005, -0.16944026947021484, 0.41963663697242737, -0.4610050320625305, 0.20271342992782593, -0.13315002620220184, -0.27818185091018677, -0.26175346970558167, -0.6485915780067444, 0.162478506565094, 0.4867408573627472, -0.5572366714477539, 0.6421606540679932, 0.24745722115039825, -0.09375452995300293, -0.702401340007782, -0.5643574595451355, -0.20788921415805817, -0.03367888554930687, -0.3531349301338196, 0.20180413126945496, -0.18343830108642578, 0.03525004908442497, -0.2563333213329315, 0.07251649349927902, 0.16023214161396027, 0.05860498547554016, 0.4355243742465973, 0.2318812757730484, 0.18598724901676178, 0.2004915177822113, -0.06799601018428802, 0.052065979689359665, 0.20932301878929138, -0.2939305603504181, 0.45656251907348633, -0.11416669189929962, -0.07843144237995148, -0.36693888902664185, 0.18104349076747894, 0.4245785176753998, -0.20858213305473328, 0.47989988327026367, 0.699283242225647, -0.19888032972812653, -0.6433322429656982, -0.306374728679657, -0.3787945508956909, -0.4493139386177063, 0.31195610761642456, -0.21673545241355896, -1.241190791130066, 0.15601715445518494, 0.06186674162745476, 0.11450590193271637, -0.06548182666301727, 0.7092817425727844, 0.0296787042170763, 1.2203269004821777, 0.4510626494884491, 0.1178792268037796, 0.8063246607780457, -0.2881345748901367, -0.0524546355009079, -0.8547795414924622, -0.432564914226532, -0.3081720769405365, -0.14793802797794342, -0.597818911075592, -0.21228529512882233, 0.19261419773101807, -0.10634282231330872, -0.3144862651824951, -0.10282116383314133, -0.26825252175331116, 0.6133424043655396, 0.5946300029754639, 0.36326372623443604, 0.013690818101167679, -0.050456125289201736, -0.22206908464431763, -0.03731359541416168, -0.7979743480682373, -0.033447470515966415, 0.9608285427093506, 0.53866046667099, 0.7361340522766113, 0.024289196357131004, 0.9500012993812561, 0.0806397870182991, 0.5059632062911987, -1.098739743232727, 0.4637630879878998, -0.06141335144639015, -0.33729133009910583, -0.41407066583633423, -0.6311642527580261, -1.0113810300827026, 0.385811448097229, -0.36959120631217957, -0.7786188125610352, 0.3699064552783966, 0.48176053166389465, -0.6200549602508545, -0.13466334342956543, -0.700157105922699, 0.5867394804954529, 0.15274806320667267, -0.5228106379508972, -0.2558969557285309, -0.5677111148834229, 0.3064602315425873, 0.17319530248641968, 0.46680495142936707, -0.0718952864408493, 0.09859583526849747, 0.4863644540309906, -0.5752281546592712, 1.251092553138733, -0.44030317664146423, -0.20347918570041656, 0.21381570398807526, 0.04611380770802498, 0.6702196598052979, 0.2326260209083557, 0.14650388062000275, -0.567481517791748, -0.07060569524765015, -0.251168429851532, -0.9081289768218994, 0.8767924904823303, -0.9592556953430176, -0.5902414917945862, -0.30341967940330505, -0.36953121423721313, -0.5422026515007019, 0.08403375744819641, 0.30649954080581665, 0.43210360407829285, -0.3244098126888275, 0.28788310289382935, 0.6122153997421265, -0.1387077122926712, 0.40267446637153625, 0.4292278289794922, -0.33980095386505127, -0.5696723461151123, 0.9407193064689636, -0.04303687438368797, 0.3456321358680725, 0.34719404578208923, 0.5973894596099854, -0.5085486769676208, -0.22885380685329437, -0.3361395597457886, 0.23272301256656647, -0.9935364723205566, 0.1623310148715973, -0.4470027685165405, -0.013524327427148819, -0.2726031541824341, -0.17170582711696625, -0.3546479642391205, -0.4577599763870239, -0.31621432304382324, -0.14337410032749176, 0.029814885929226875, 0.7707405090332031, -0.12728305160999298, -0.14957644045352936, -0.6731129884719849, 0.14677824079990387, 0.549968421459198, 0.2918112277984619, 0.26606377959251404, -0.41275086998939514, -0.18986466526985168, -0.03429242596030235, -0.30675145983695984, -0.5067561864852905, 0.2841838002204895, 0.4015342891216278, 0.5395539999008179, 0.10804826021194458, 0.0831277072429657, 0.3307974636554718, -0.3789827525615692, 0.747546374797821, 0.030323509126901627, -0.9667275547981262, 0.6030897498130798, -0.44182297587394714, 0.5088198781013489, 0.6341851353645325, 0.3050864040851593, -0.5364541411399841, -0.3042423725128174, -0.4705063998699188, -1.0250890254974365, 0.6656509637832642, -0.0662589743733406, 0.379518061876297, -0.1126507893204689, 0.6164292097091675, -0.1439770758152008, 0.2641291916370392, -1.1046459674835205, 0.027510100975632668, -0.4620334208011627, 0.08270376920700073, 0.049852870404720306, -0.2300880402326584, -0.37286055088043213, -0.43509364128112793, 0.7742610573768616, -0.2761520445346832, -0.06108219549059868, 0.4013103246688843, -0.11923306435346603, -0.40779757499694824, 0.4221420884132385, 0.8319627046585083, 0.6777991652488708, -0.3463597595691681, 0.003002340905368328, 0.2615126669406891, -0.18951794505119324, 0.11454200744628906, -0.20285072922706604, -0.299018919467926, -0.25966376066207886, 0.39697742462158203, 0.9981610774993896, 0.2933434247970581, -0.525974452495575, 0.5679140090942383, -0.12139520049095154, -0.4411911368370056, -0.366519033908844, 0.1712912768125534, -0.20574501156806946, 0.06414509564638138, 0.07731078565120697, -0.1251787543296814, -0.05662345886230469, -0.7434273362159729, 0.14088597893714905, 0.3891361951828003, -0.7146219611167908, -0.1342107653617859, 0.37444478273391724, 0.4415034055709839, -0.10042952001094818, 0.3286610543727875, -0.28897640109062195, -0.49539926648139954, 0.41619962453842163, 0.6101585030555725, 0.8972238898277283, -0.03558044880628586, 0.49968206882476807, 0.5190766453742981, 0.06272253394126892, -0.21386496722698212, 0.11842893809080124, -0.45390909910202026, -0.7917335033416748, -0.6617297530174255, -0.5001772046089172, -0.5695654153823853, 0.054392579942941666, -0.749201238155365, 0.1918984055519104, -1.0345072746276855, -0.21604983508586884, 0.039674438536167145, -0.2951430678367615, -0.2704194188117981, 0.1320534199476242, 0.23909592628479004, 0.4570564031600952, -0.6546311974525452, 0.8709976673126221, 0.5629467964172363, -0.5329766273498535, -0.7956416010856628, 0.14375285804271698, -0.020955583080649376, -0.9556223154067993, 0.7819655537605286, 0.12040092796087265, -0.34388867020606995, -0.03424029052257538, -0.5956408381462097, -0.7443484663963318, 0.8217856287956238, 0.2748141884803772, -0.46252328157424927, 0.009567199274897575, -0.14225636422634125, 0.6737558841705322, -0.40103164315223694, 0.172817200422287, 0.5208291411399841, 0.5035828351974487, 0.2792224884033203, -0.7860314249992371, 0.2518746554851532, -0.1692337840795517, 0.40386107563972473, 0.07903444021940231, -0.8203408718109131, 0.5119678378105164, -0.23467274010181427, -0.11061286926269531, -0.15141412615776062, 0.5109743475914001, 0.34472420811653137, -0.09044288098812103, 0.7413387894630432, 0.3042500913143158, 0.5321389436721802, 0.07624159753322601, 1.2045701742172241, -0.13496175408363342, 0.49088001251220703, 1.2950971126556396, -0.359666645526886, 0.8306580781936646, 0.660792887210846, 0.12381419539451599, 0.6319265365600586, 0.5800307989120483, -0.0065856254659593105, 0.6646260023117065, 0.6207725405693054, -0.16455258429050446, -0.2754923701286316, -0.3627474009990692, -0.17332957684993744, 0.39086708426475525, 0.2549268305301666, -0.18648716807365417, -0.17199279367923737, 0.10963860899209976, 0.1273943930864334, 0.32220903038978577, -0.26330670714378357, 0.9569619297981262, 0.10872731357812881, -1.1783984899520874, 1.1341663599014282, -0.08516187965869904, 0.7372955083847046, -0.5244650840759277, -0.06887595355510712, -0.1366005837917328, 0.21547476947307587, -0.3697086572647095, -0.41413024067878723, 0.24201975762844086, -0.1964869350194931, -0.306061714887619, -0.3958459794521332, 0.2864976227283478, -0.6375055313110352, -0.3050731420516968, 0.4122888147830963, 0.27444979548454285, -0.37601858377456665, 0.2509942650794983, -0.6921971440315247, -0.011004998348653316, 0.03515789657831192, -0.39482003450393677, 0.30262017250061035, 0.24468787014484406, -0.100983165204525, 0.7907355427742004, 0.6116609573364258, 0.20297573506832123, -0.42200514674186707, 0.5177977681159973, 0.7279902696609497, -0.6253414750099182, -0.620921790599823, -0.81458580493927, 0.09266254305839539, 0.0443229116499424, -0.4149740934371948, 0.6095184683799744, 0.14923885464668274, 0.9513856768608093, -0.04063381254673004, 0.9217724204063416, 0.18121729791164398, 0.5207574367523193, -0.7898820638656616, 0.22405602037906647, -0.4628628194332123, 0.448760986328125, -0.2960283160209656, -0.9164619445800781, -0.27858468890190125, 0.5197165012359619, -0.4407288730144501, 0.2989896833896637, 0.8033066987991333, 0.6719210147857666, 0.17051568627357483, 0.012005990371108055, 0.21891112625598907, 0.08151183277368546, 0.3150426149368286, 0.6668446063995361, 1.0883182287216187, 0.2952997386455536, 0.5210134983062744, -0.3619135916233063, -0.26125723123550415, -0.20722734928131104, -0.8955144882202148, -0.9900870323181152, -0.2923341691493988, -0.22832055389881134, -0.5320753455162048, 0.19577352702617645, 1.5581029653549194, 0.8552148342132568, -0.7607977986335754, -0.34612837433815, -0.2692662477493286, 0.0970752015709877, -0.05448160320520401, -0.23572921752929688, 0.10088223218917847, -0.5983899831771851, -0.5408710837364197, 0.631865918636322, 0.08884294331073761, 0.008602116256952286, -0.43569350242614746, -0.3373955190181732, 0.0018488038331270218, 0.1091359555721283, 0.7289648056030273, 0.5524066090583801, -0.8448505997657776, -0.6157350540161133, -0.08927303552627563, 0.02217523753643036, 0.10406117886304855, 0.9636686444282532, -0.6749719381332397, 0.42062073945999146, 0.47754591703414917, 0.5102306604385376, 0.7048246264457703, 0.10206454247236252, 0.9125743508338928, -1.214693546295166, 0.3455705940723419, 0.20534515380859375, 0.21506480872631073, 0.4722144305706024, -0.49366942048072815, 0.23884543776512146, 0.15792149305343628, -0.4809757471084595, -0.5873125791549683, 0.36993587017059326, -0.7533209919929504, -0.511827290058136, 1.5207173824310303, -0.10620597004890442, -0.274501770734787, 0.07047443091869354, -0.3521544635295868, 0.04328039661049843, -0.7577909827232361, 0.7769961357116699, 0.7287271022796631, -0.35698238015174866, -0.21863393485546112, -0.40669283270835876, 0.9489954710006714, 0.675591230392456, -0.7410566806793213, 0.19564594328403473, 0.6666467785835266, 0.2685278356075287, -0.13976113498210907, 0.7025946378707886, 0.06611239910125732, 0.44251328706741333, -0.49617066979408264, 0.057895727455616, -0.1585099995136261, -0.30202746391296387, -0.5763363242149353, 0.2216295599937439, 0.5295712947845459, 0.07434450089931488 ]
http://arxiv.org/abs/2402.10892v2
http://arxiv.org/pdf/2402.10892v2
Proving membership in LLM pretraining data via data watermarks
2024-02-16T18:49:27
2024-06-10T19:39:34
Johnny Tian-Zheng Wei, Ryan Yixiang Wang, Robin Jia
cs.CR
cs.CR, cs.CL, cs.LG
Detecting whether copyright holders' works were used in LLM pretraining is poised to be an important problem. This work proposes using data watermarks to enable principled detection with only black-box model access, provided that the rightholder contributed multiple training documents and watermarked them before public release. By applying a randomly sampled data watermark, detection can be framed as hypothesis testing, which provides guarantees on the false detection rate. We study two watermarks: one that inserts random sequences, and another that randomly substitutes characters with Unicode lookalikes. We first show how three aspects of watermark design -- watermark length, number of duplications, and interference -- affect the power of the hypothesis test. Next, we study how a watermark's detection strength changes under model and dataset scaling: while increasing the dataset size decreases the strength of the watermark, watermarks remain strong if the model size also increases. Finally, we view SHA hashes as natural watermarks and show that we can robustly detect hashes from BLOOM-176B's training data, as long as they occurred at least 90 times. Together, our results point towards a promising future for data watermarks in real world use.
[ -0.3392484486103058, -0.40602409839630127, 0.6942267417907715, -0.05927272140979767, -0.7037340402603149, 0.10138675570487976, 0.16227972507476807, -0.566200852394104, 0.10463754832744598, 0.7629254460334778, -0.5300706624984741, -0.5243450999259949, -0.6457966566085815, -0.0062410589307546616, -0.7609140872955322, 0.6847641468048096, -0.314303994178772, -0.032368652522563934, -0.3265128433704376, -0.34176307916641235, -0.23105938732624054, -0.9043463468551636, -0.2604026198387146, -0.3085910975933075, 0.42732712626457214, 0.16244013607501984, 0.4163002073764801, 1.016533613204956, 0.5055923461914062, 0.16137272119522095, 0.0498395636677742, 0.044314004480838776, -0.5558934807777405, 0.15953294932842255, 0.0904635339975357, -0.9523903727531433, -0.13614322245121002, 0.41687628626823425, 0.6599607467651367, 0.03393898159265518, 0.18709632754325867, 0.3117695450782776, -0.018526215106248856, 0.6450195908546448, -0.8736628890037537, -0.04568905755877495, -0.6961188912391663, 0.28311488032341003, -0.8181422352790833, -0.3627837896347046, -0.4370710849761963, -0.2444489747285843, -0.32829025387763977, -0.6777011156082153, 0.4807099997997284, 0.4923926591873169, 1.2814432382583618, 0.3129505217075348, -0.08149030804634094, -0.15160056948661804, -0.6191394925117493, 0.8241568803787231, -0.859439492225647, 0.3871251940727234, 0.7574432492256165, 0.41702860593795776, -0.055549751967191696, -0.7371672987937927, -0.5851414799690247, -0.06623006612062454, 0.29009172320365906, 0.08394955843687057, -0.053022198379039764, -0.25633516907691956, 0.6676853895187378, 0.6577860116958618, -0.37080374360084534, -0.0762791633605957, -0.11614710837602615, -0.2825208604335785, 0.909084141254425, -0.06477812677621841, 0.2466069608926773, 0.35536348819732666, -0.3656429946422577, -0.3177335560321808, -1.1588993072509766, -0.08716537803411484, 0.8837208151817322, 0.12589234113693237, -0.2618166208267212, 0.6226581931114197, 0.07887840270996094, 0.5017550587654114, -0.08676987886428833, 0.049505364149808884, 0.11948662996292114, -0.21897129714488983, -0.32723185420036316, 0.06339410692453384, 0.6435624361038208, -0.11295817792415619, 0.5941748023033142, -0.08579031378030777, -0.35447725653648376, -0.21701163053512573, 0.09746395796537399, -0.9319839477539062, -0.34850141406059265, 0.14624972641468048, -0.5813364386558533, -0.3706987798213959, 0.3738662004470825, -0.3025398254394531, -0.7597821950912476, -0.5253415703773499, 0.8362313508987427, -0.22468401491641998, -0.34851422905921936, 0.2731979191303253, -0.33967694640159607, 0.24322614073753357, 0.03752893954515457, -0.5140195488929749, 0.06785640865564346, 0.6392154097557068, 0.7200695276260376, -0.36345821619033813, -0.22363607585430145, -0.36080804467201233, 0.25255465507507324, -0.37594175338745117, 0.8111540675163269, -0.48598361015319824, -0.2273426353931427, -0.13911888003349304, 0.10111089795827866, 0.22035014629364014, -0.9233251810073853, 0.11648914217948914, -0.8743555545806885, -0.008411290124058723, -0.6089488863945007, -1.056087851524353, 0.13441090285778046, 0.10191896557807922, -0.8902631998062134, 0.8311529755592346, 0.18959486484527588, -1.1189788579940796, 0.7747965455055237, -0.4947271943092346, -0.2636142373085022, 0.10888803750276566, -0.16869331896305084, -1.0156992673873901, 0.012174696661531925, 0.005628539249300957, 0.2680450677871704, 0.1380062848329544, 0.041070252656936646, -0.7117931246757507, -0.6270484924316406, 0.6991561651229858, -0.32846972346305847, 0.690028965473175, 0.0022175582125782967, -0.3864412009716034, -0.1444508135318756, -0.7269430160522461, 0.11699718236923218, 0.4147338271141052, -0.38624927401542664, -0.38048890233039856, 0.001312915817834437, -0.10467489063739777, -0.1427152454853058, 0.11713441461324692, -0.48156678676605225, 0.10014721006155014, 0.4528023302555084, 0.03461902588605881, 0.8648349642753601, 0.26297667622566223, -0.039670996367931366, -0.5461105108261108, 0.6132888197898865, 0.36079949140548706, 0.1932533234357834, -0.060167256742715836, -0.337834894657135, -0.6636701226234436, -0.4821610152721405, 0.7454475164413452, 0.1181352436542511, -0.5939701795578003, 0.4245770275592804, -0.28149116039276123, -0.20312589406967163, -0.4762771725654602, 0.3660190999507904, 0.13018912076950073, 0.15925979614257812, 0.47658658027648926, -0.4117826223373413, -0.5157819390296936, -0.9449344277381897, -0.46751320362091064, -0.09495345503091812, -0.20768015086650848, 0.35842299461364746, 0.7112504839897156, 0.032980021089315414, 1.1054456233978271, -0.5128781795501709, -0.20546434819698334, -0.05208924040198326, 0.29989922046661377, 0.06684660911560059, 0.5202005505561829, 0.3794749677181244, -0.9457462430000305, -0.2910160720348358, -0.4244759976863861, -0.8505778312683105, -0.2772926986217499, 0.08677959442138672, -0.052012283354997635, -0.328988254070282, 0.4708799123764038, 0.002089685294777155, 0.8141535520553589, 0.5265315175056458, -0.22268544137477875, 0.6241810321807861, -0.10525147616863251, 0.2532186508178711, -0.7455621957778931, 0.029240835458040237, -0.2695883810520172, -0.2372157722711563, -0.3167608380317688, 0.01952972449362278, 0.34699803590774536, -0.20684091746807098, -0.5220581889152527, 0.37096959352493286, -0.3019840121269226, -0.2317303568124771, -0.5259003639221191, -0.5580507516860962, 0.03340716287493706, 0.07514345645904541, 0.11962281912565231, 0.9838422536849976, 0.5712607502937317, -0.6602515578269958, 0.11325185000896454, 0.018275268375873566, -0.646745502948761, 0.6640032529830933, -0.749794065952301, 0.34612998366355896, -0.12367410957813263, 0.13255959749221802, -0.8185483813285828, -0.028423957526683807, 0.06200192868709564, -0.17205609381198883, 0.2046504020690918, -0.6546031832695007, -0.7246143221855164, -0.18334577977657318, -0.2846194803714752, 0.41137516498565674, 0.30060699582099915, -0.5893199443817139, 0.30823415517807007, 0.2536441385746002, 0.3497091829776764, -0.43438705801963806, -0.9604473114013672, -0.11811830848455429, -0.5090353488922119, -0.5837149024009705, 0.588444709777832, -0.29425379633903503, 0.014191042631864548, -0.03495096415281296, -0.41152089834213257, -0.5297113656997681, 0.38961514830589294, 0.6012102365493774, 0.20490537583827972, -0.1812652349472046, -0.24001148343086243, -0.2815333306789398, -0.1468651443719864, 0.012287700548768044, -0.35302242636680603, 0.3395971357822418, 0.23267072439193726, -0.9093494415283203, -0.41590172052383423, 0.010899033397436142, 0.35349011421203613, -0.3284403383731842, 0.4495091438293457, 0.5199993252754211, -0.5470759868621826, -0.3958125710487366, -0.6584046483039856, -0.27444347739219666, -0.5024028420448303, -0.10810540616512299, -0.038207679986953735, -0.6373786926269531, 0.605836808681488, 0.004178480710834265, 0.14292511343955994, -0.051967862993478775, 0.15375393629074097, -0.29340660572052, 0.3618232309818268, 0.5099384188652039, -0.21539181470870972, 0.8009821772575378, -0.5036296844482422, 0.2607870399951935, -0.7190171480178833, 0.02023889683187008, -0.4183175563812256, -0.5450453162193298, -0.2614750266075134, -0.45778632164001465, 0.10254368185997009, 0.29557478427886963, -0.18696320056915283, 0.4805300831794739, -0.13167162239551544, 0.85206139087677, 0.6455920934677124, 0.47910138964653015, 0.2863869369029999, 0.08449377864599228, -0.01425278838723898, -0.2506275773048401, -0.19153867661952972, -0.507839560508728, 1.5644981861114502, 0.2001344859600067, 0.6350405812263489, -0.1491532027721405, 1.2413955926895142, 0.7114797830581665, 0.6372824907302856, -0.4939241111278534, 0.3880215883255005, 0.16076652705669403, -1.101594090461731, -0.26536720991134644, -0.40154334902763367, -1.008657693862915, -0.012333564460277557, -0.24984395503997803, -0.254198282957077, 0.2503618001937866, 0.007272764109075069, -0.02623826451599598, 0.452519953250885, -0.37904050946235657, 0.6671357750892639, -0.48097777366638184, -0.7155212163925171, -0.010256925597786903, -0.1140080988407135, 0.21977975964546204, -0.451911598443985, 0.33885884284973145, -0.3389335870742798, 0.18968218564987183, 1.0897053480148315, -0.4792349636554718, 0.4974671006202698, -0.5787651538848877, -0.11027415096759796, 0.5102162957191467, 0.12786409258842468, 0.3966471552848816, 0.007727041840553284, -0.007049181032925844, 0.09143862128257751, -0.10381536185741425, -0.5160893797874451, -0.3046901822090149, 0.1324804127216339, -0.5757412314414978, -0.4527791440486908, -0.37043049931526184, -0.39491015672683716, -0.17377088963985443, 0.4243334233760834, 0.27348846197128296, 0.15699532628059387, 0.17404425144195557, 0.5207827091217041, 0.7921890616416931, 0.07674595713615417, 0.2913403809070587, 0.7227402329444885, -0.021095991134643555, -0.18657784163951874, 1.0548653602600098, 0.3606639802455902, 0.08315244317054749, 0.0114506296813488, 0.30749747157096863, -0.43231821060180664, -1.2838276624679565, -0.1856180876493454, 0.16461578011512756, -0.5973464846611023, -0.16162733733654022, -0.09922613948583603, -0.22724732756614685, 0.07530239224433899, 0.06665186583995819, -0.3587420582771301, 0.060442496091127396, -0.15274423360824585, -0.10325804352760315, 0.27158457040786743, 0.6679751873016357, -0.09177318960428238, 0.4572232663631439, -0.4601513147354126, 0.6209068894386292, 0.5623257160186768, 0.5599271059036255, -0.2038397341966629, -0.7397556304931641, -0.24492967128753662, 0.2251368761062622, -0.4419662356376648, -0.6293817162513733, 0.10305432230234146, -0.000353647192241624, 0.6501777768135071, 0.6439486145973206, 0.10312990844249725, 0.6238805055618286, -0.30768245458602905, 0.6652570366859436, -0.035879041999578476, -0.935590386390686, 0.4851979911327362, -0.2935939431190491, -0.35086944699287415, 0.8955130577087402, 0.5247518420219421, -0.04555707424879074, -0.34917789697647095, -0.8928229212760925, -0.5785572528839111, 0.32882991433143616, 0.2985340356826782, -0.060345608741045, 0.42221298813819885, 0.42754852771759033, 0.034048158675432205, 0.19887767732143402, -1.0008951425552368, -0.29439133405685425, -0.13770350813865662, -0.07559742033481598, 0.1970597505569458, -0.20421543717384338, -0.19725321233272552, -0.010006860829889774, 0.655123233795166, 0.027269680052995682, 0.12446268647909164, 0.12330760061740875, -0.2996334731578827, 0.03323131799697876, 0.06680724769830704, 0.0739947035908699, 0.8035592436790466, -0.42031368613243103, 0.1614273637533188, -0.04872358217835426, -0.5521001219749451, 0.433817058801651, -0.0068862237967550755, -0.3028853237628937, -0.02734878845512867, 0.6216427683830261, 0.36388877034187317, 0.2112046182155609, -0.3548141419887543, 0.7842331528663635, -0.06596437096595764, -0.3240753710269928, -0.1633075326681137, 0.29969003796577454, 0.19800442457199097, 0.0557430125772953, 0.5575773119926453, -0.27877339720726013, -0.11415279656648636, -0.3696024715900421, 0.6011495590209961, 0.4238227307796478, -0.1538105010986328, -0.2690891623497009, 0.757822573184967, -0.16745275259017944, -0.049272067844867706, 0.3562478721141815, -0.01250365935266018, -0.5379953980445862, 0.7362275123596191, 0.3750215172767639, 0.5809179544448853, -0.061587173491716385, -0.11658141762018204, 0.1608550250530243, 0.2136249542236328, -0.33071884512901306, 0.3067237436771393, -0.2524334788322449, -0.8783538341522217, 0.048190489411354065, -0.5464040637016296, -0.6633185744285583, 0.4922386407852173, -0.8495528101921082, 0.28335967659950256, -0.7595704793930054, -0.40092605352401733, 0.21249015629291534, 0.22735734283924103, -0.732964277267456, 0.34131908416748047, 0.4698105454444885, 0.7528347969055176, -1.1023212671279907, 0.8539882302284241, 0.2632758319377899, -0.2973152995109558, -0.6357809901237488, -0.012150686234235764, 0.09864499419927597, -0.9499627351760864, 0.38400375843048096, 0.3337689936161041, 0.272614449262619, -0.05772542580962181, -1.112675428390503, -0.6853979825973511, 1.1872602701187134, 0.5796133279800415, -0.5587711334228516, 0.3745933473110199, 0.4882175624370575, 0.12920290231704712, -0.2171664834022522, -0.23573118448257446, 0.4133284091949463, 0.5980838537216187, -0.032101526856422424, -0.23974819481372833, 0.0704181045293808, -0.05649711936712265, -0.39399728178977966, -0.1337820589542389, -0.3281334638595581, 0.8284443020820618, 0.006236664019525051, -0.42915114760398865, -0.1570661962032318, 0.5909568667411804, 0.8558104038238525, 0.4371618330478668, 0.6962397694587708, 0.6146558523178101, 1.0027391910552979, -0.23111507296562195, 1.0837032794952393, -0.27154791355133057, 0.30694589018821716, 0.8813036680221558, -0.47931644320487976, 0.712972104549408, 0.4917251169681549, -0.472761869430542, 0.38869497179985046, 0.6921876668930054, -0.4678795635700226, 0.5509158968925476, 0.7095023393630981, -0.2665436267852783, -0.45394429564476013, -0.196525439620018, -0.6528374552726746, -0.06945888698101044, 0.07752694189548492, -0.3470570147037506, 0.1272837221622467, -0.32192695140838623, -0.10669679194688797, -0.1658550500869751, -0.09027818590402603, 0.45451468229293823, 0.2984592318534851, -0.07786022871732712, 0.4392957389354706, -0.030796820297837257, 0.8471929430961609, -0.8143898248672485, 0.1910061240196228, -0.2785530090332031, 0.13216696679592133, -0.40608590841293335, -0.8087142109870911, 0.004409925080835819, 0.08493970334529877, 0.03451436758041382, -0.13754987716674805, 0.7986840009689331, -0.32643193006515503, -0.3104628026485443, 0.19330692291259766, 0.42952919006347656, 0.26681777834892273, -0.3716636896133423, -0.6150705814361572, 0.20071041584014893, -0.03755117580294609, -0.164164736866951, 0.4952802062034607, 0.34116330742836, -0.02959396317601204, 0.7639532089233398, 1.1775628328323364, 0.3871335983276367, 0.25199177861213684, 0.12285260111093521, 0.6926233172416687, -0.5696110725402832, -0.5529667139053345, -0.831139087677002, 0.14841152727603912, -0.16917933523654938, -0.052009664475917816, 0.7653241157531738, 0.803404688835144, 0.8098084330558777, -0.056827183812856674, 0.8767622709274292, 0.2486562430858612, -0.07217565923929214, -0.5367797017097473, 0.8651692867279053, -0.4943741261959076, 0.053415823727846146, -0.17831522226333618, -0.8010696172714233, -0.15871234238147736, 0.500461757183075, -0.239967480301857, -0.07853657752275467, 0.5639724731445312, 0.6938267350196838, -0.463136225938797, 0.20456507802009583, 0.24174737930297852, -0.42236417531967163, 0.6720954775810242, 0.39423680305480957, 0.9650691747665405, -0.6407471299171448, 0.299179345369339, -0.46749207377433777, -0.01005861908197403, -0.0689888745546341, -1.2740848064422607, -0.9679624438285828, -0.41546496748924255, -0.6301999092102051, -0.45599064230918884, -0.14020097255706787, 0.5282629728317261, 1.1551679372787476, -1.1092182397842407, -0.035183731466531754, 0.10698919743299484, 0.2589360475540161, -0.1122167706489563, -0.22243839502334595, 0.4277436435222626, 0.20005469024181366, -0.2313508540391922, 0.33699896931648254, -0.03536758944392204, 0.9345264434814453, -0.016590910032391548, -0.09626351296901703, 0.06068447604775429, 0.12606117129325867, -0.09994189441204071, 0.2238301783800125, -0.016685547307133675, -0.1628400981426239, -0.38466861844062805, 0.10302253067493439, 0.05552656576037407, 1.199570894241333, -0.3671112060546875, 0.2827545404434204, 0.28262874484062195, 0.7608458399772644, 0.8510992527008057, 0.23996277153491974, 0.2431012988090515, -0.7358778119087219, 0.25467148423194885, 0.08800145238637924, 0.5686044096946716, 0.42848655581474304, -0.20583462715148926, 0.49052953720092773, 0.588692307472229, -0.2881520390510559, -1.0300638675689697, -0.15060542523860931, -0.660110592842102, 0.033483296632766724, 0.8863927125930786, -0.6726992726325989, -0.29307204484939575, -0.3088096082210541, 0.1575065553188324, 0.11602012813091278, 0.0008766763494350016, 0.7653868198394775, 0.9791887402534485, 0.273302286863327, 0.21981678903102875, -0.5501219034194946, 0.5034939646720886, 0.25937870144844055, -0.9552293419837952, 0.4580497443675995, 0.18352578580379486, 0.741977334022522, 0.02357632666826248, 0.598832905292511, -0.37936124205589294, 0.20804263651371002, -0.031103141605854034, -0.026253992691636086, -0.6769707202911377, -0.21480122208595276, -0.18898442387580872, 0.0362476222217083, 0.02108491212129593, -0.330299973487854 ]
http://arxiv.org/abs/2402.10891v1
http://arxiv.org/pdf/2402.10891v1
Instruction Diversity Drives Generalization To Unseen Tasks
2024-02-16T18:47:21
2024-02-16T18:47:21
Dylan Zhang, Justin Wang, Francois Charton
cs.CL
cs.CL, cs.AI, cs.LG
Instruction tuning -- fine-tuning a large language model (LLM) on pairs of instructions and desired outcomes -- is an approach that enables pre-trained language models to perform real-world tasks and follow human instructions. Its practical success depends on the model learning a broader set of instructions than those it was trained on. Yet the factors that determine model generalization to such \emph{unseen tasks} are not well understood. %To understand the driving factors of generalization, In this paper, we experiment with string rewrites, a symbolic task that serves as a building block for Turing complete Markov algorithms while allowing experimental control of "inputs" and "instructions". We investigate the trade-off between the number of instructions the model is trained on and the number of training samples provided for each instruction and observe that the diversity of the instruction set determines generalization. Generalization emerges once a diverse enough set of tasks is provided, even though very few examples are provided for each task. Instruction diversity also ensures robustness with respect to non-uniform distributions of instructions in the training set.
[ -0.23834161460399628, -0.9276549816131592, 0.4321032166481018, 0.07144144177436829, -0.35065197944641113, 0.24105650186538696, -0.25189369916915894, -0.2548995614051819, -0.20113682746887207, 0.5589063763618469, -0.9465183019638062, -0.6657614707946777, -0.8493077754974365, -0.021600978448987007, -0.3994768261909485, 1.3462663888931274, -0.07197526842355728, -0.08738632500171661, 0.10304907709360123, -0.061523474752902985, -0.4453667402267456, -0.30334070324897766, -0.401621013879776, -0.30122047662734985, 0.6779918074607849, 0.5415349006652832, 0.6896209716796875, 0.9969755411148071, 0.4081414043903351, 0.3965643346309662, 0.07311677932739258, 0.121230348944664, -0.718417763710022, 0.3204774260520935, -0.11405506730079651, -0.9647181630134583, -0.14649656414985657, 0.04476082697510719, 0.9845808148384094, 0.9375476837158203, -0.15925104916095734, 0.32867124676704407, 0.2857057750225067, 0.6651890277862549, -0.41073811054229736, -0.0752808153629303, -0.85857093334198, -0.07823783159255981, -0.17083309590816498, -0.12134968489408493, -0.22561046481132507, -0.4421543478965759, 0.056061867624521255, -0.6374703645706177, 0.7800183892250061, -0.03050672449171543, 0.7107331156730652, 0.086025670170784, -0.5626851320266724, -0.14550237357616425, -0.969822883605957, 1.2104054689407349, -0.3791819214820862, 0.25764521956443787, 0.23455049097537994, 0.07252607494592667, -0.43140193819999695, -0.3364184498786926, -0.11572562158107758, 0.011456883512437344, 0.162746399641037, -0.25117719173431396, -0.155264213681221, 0.3822424113750458, 0.4630128741264343, 0.46029937267303467, -0.25499427318573, 0.20895349979400635, -0.5625510811805725, 0.06961243599653244, 0.5229291319847107, 0.3415393531322479, 0.5724891424179077, 0.3290345370769501, 0.2069420963525772, -0.11411663889884949, -0.696671187877655, 0.19224706292152405, 0.6034281849861145, 0.1950433999300003, -0.13161815702915192, 0.6564394235610962, -0.4136953055858612, 0.8917463421821594, 0.06284945458173752, 0.09833884239196777, 0.01923324540257454, -0.5108699798583984, -0.35696616768836975, -0.1695140302181244, 0.35814085602760315, 0.15189483761787415, 0.5554381608963013, -0.051978301256895065, -0.18662840127944946, 0.08180024474859238, 0.559851884841919, -0.6534837484359741, -0.1682807058095932, -0.2712654173374176, -0.45862460136413574, -0.1447066366672516, 0.006948441732674837, -0.25290462374687195, 0.09669534116983414, -0.5670823454856873, 0.11950068920850754, -0.4893864095211029, 0.1552133709192276, 0.07324158400297165, -0.42002737522125244, 0.36848634481430054, 0.37098053097724915, -1.4489017724990845, 0.5186971426010132, 1.0543969869613647, 0.5579249858856201, -0.13582704961299896, -0.41713443398475647, -0.45711129903793335, 0.17554952204227448, -0.5180037617683411, 0.4181433320045471, -1.0364048480987549, -0.38076505064964294, -0.3058357834815979, 0.11721301078796387, -0.22827480733394623, -0.5346183776855469, 0.17497201263904572, -0.4732459783554077, 0.09775160998106003, -0.2331024408340454, -0.4802696406841278, -0.41668522357940674, -0.21016620099544525, -0.4765987992286682, 0.6301576495170593, 0.1926536113023758, -0.46557459235191345, 0.6983711123466492, -0.4757865369319916, -0.593913733959198, -0.08826383948326111, -0.33282336592674255, -0.45397794246673584, 0.8407977223396301, -0.03921443596482277, 0.18495945632457733, -0.18824391067028046, 0.023341042920947075, -0.2491060048341751, -0.9012982249259949, 0.09958799183368683, -0.47392570972442627, 0.522309422492981, -0.022172797471284866, -0.6071057319641113, 0.3156980276107788, -0.5329626798629761, 0.07371730357408524, 0.047564778476953506, -0.6669146418571472, -0.45725810527801514, 0.02402382716536522, -0.5205952525138855, -0.17933639883995056, -0.045859429985284805, -0.49561434984207153, 0.418681263923645, -0.6128215789794922, 0.21416117250919342, 0.9348602294921875, -0.06073641777038574, 0.48423805832862854, -0.4187048375606537, 0.6849604845046997, -0.12517423927783966, 0.08306329697370529, -0.20628869533538818, -0.9005476236343384, -0.8474608659744263, 0.10743258893489838, 0.19289301335811615, 0.565567672252655, -0.28984686732292175, 0.09453989565372467, -0.09971150755882263, -0.3754628300666809, -0.8900995850563049, 0.4302685558795929, 0.6249183416366577, -0.04828430339694023, 0.05474745109677315, -0.3093506991863251, -0.6011718511581421, -1.1909717321395874, -0.6601276993751526, 0.35616642236709595, -0.23426386713981628, 0.24936586618423462, 0.4082348346710205, -0.3680785298347473, 0.4539918005466461, -0.36899805068969727, 0.10687214881181717, -0.16183096170425415, 0.2768181562423706, 0.41381874680519104, 0.750612199306488, 0.1923678070306778, -0.5695533156394958, -0.2790786921977997, 0.0015765082789584994, -0.5614824891090393, 0.052480246871709824, -0.2363557666540146, -0.1021452397108078, 0.23830367624759674, 0.34034252166748047, -0.2342509627342224, 0.4554727375507355, 0.6066160202026367, -0.11152727901935577, 0.3669266402721405, -0.5706804990768433, 0.3313949406147003, -0.6917125582695007, -0.2925448715686798, -0.11666368693113327, 0.08356822282075882, -0.6165619492530823, 0.35340818762779236, -0.14351724088191986, -0.11301732063293457, -0.2240694761276245, 0.01841418817639351, -0.844894289970398, -0.26500964164733887, -0.31762173771858215, -0.22532185912132263, -0.21055713295936584, 0.6184022426605225, -0.32207638025283813, 0.6220137476921082, 0.8066121935844421, -0.7173183560371399, 0.1360454112291336, -0.16752487421035767, -0.25937727093696594, 0.06786609441041946, -0.787993848323822, 0.2013075351715088, -0.1492827832698822, -0.13186782598495483, -0.927647054195404, -0.018755193799734116, 0.12321989238262177, -0.22783981263637543, 0.2909444570541382, -0.10921797156333923, -0.5286005735397339, -0.14892800152301788, -0.08433572202920914, 0.5839273929595947, 0.7753921151161194, -0.20950330793857574, 0.6518029570579529, 0.10626187920570374, 0.10722538828849792, -0.5554527044296265, -0.6811997294425964, -0.2975674271583557, -0.014300910755991936, -0.45259952545166016, 0.07462181895971298, -0.1570269614458084, -0.2693454325199127, -0.19142885506153107, -0.4822475016117096, -0.02809607982635498, 0.4760381281375885, 0.6066814064979553, 0.18650515377521515, -0.3345780670642853, 0.10501988232135773, 0.6776300072669983, 0.17471188306808472, 0.22153273224830627, -0.5598583817481995, 0.5106701850891113, -0.00962338037788868, -0.6665375828742981, -0.48474016785621643, 0.5546870827674866, 0.23156706988811493, -0.15165366232395172, 0.7349547743797302, 0.3218300938606262, -0.013736950233578682, -0.5521258115768433, -0.2892405390739441, -0.2802014648914337, -0.579382061958313, 0.6013395190238953, -0.5381882786750793, -1.254754900932312, 0.2915302515029907, -0.04169998690485954, 0.43071502447128296, 0.2880531847476959, 0.47615426778793335, -0.18315809965133667, 1.105543851852417, 0.714657723903656, 0.2547415494918823, 0.5487242341041565, -0.08038656413555145, -0.07906041294336319, -0.5676811337471008, -0.049737539142370224, -0.44740864634513855, -0.7946190237998962, -1.0923858880996704, -0.5553663969039917, 0.07392952591180801, 0.0035211113281548023, -0.20054395496845245, 0.10203702747821808, -0.6980397701263428, 0.889582097530365, 1.0199358463287354, 0.15234322845935822, 0.07027165591716766, 0.29459431767463684, -0.2366369515657425, 0.05110566318035126, -0.6299772262573242, -0.39283978939056396, 1.3767714500427246, 0.18044139444828033, 0.8526816368103027, -0.02182445302605629, 1.1962215900421143, 0.09938716143369675, -0.06481856107711792, -0.48155125975608826, 0.7186631560325623, -0.6824737191200256, -0.42820584774017334, -0.34946614503860474, -0.44233939051628113, -1.4604161977767944, 0.28118616342544556, -0.12166435271501541, -0.644824743270874, -0.08807075768709183, 0.3586023449897766, -0.13677586615085602, 0.37994202971458435, -0.7652257680892944, 0.6923314332962036, -0.09576132148504257, -0.06825827807188034, -0.6665268540382385, -0.5032906532287598, 0.5657678842544556, -0.05129464343190193, 0.024262597784399986, 0.04889044165611267, -0.08333425223827362, 0.6671721935272217, 0.08514173328876495, 1.1577786207199097, 0.09199982136487961, -0.3144511878490448, 0.017938952893018723, 0.23315060138702393, 0.5230990052223206, -0.18782839179039001, 0.23188486695289612, 0.02182186394929886, -0.40480098128318787, -0.52598637342453, -0.7555252909660339, 0.8121944665908813, -0.9445827603340149, -1.129723072052002, -0.027774939313530922, -0.8520880937576294, 0.02972046658396721, 0.0593671053647995, 0.18056826293468475, 0.4833912253379822, -0.24163486063480377, 0.3530808389186859, 1.0596239566802979, -0.2578704357147217, 0.14360634982585907, 0.42678266763687134, -0.21196116507053375, 0.10487538576126099, 0.9214990735054016, 0.123203344643116, 0.6904964447021484, 0.5707812309265137, -0.03720659762620926, 0.2955348789691925, -0.6256974935531616, -0.2225165218114853, 0.1647469848394394, -0.7166565656661987, 0.4360896646976471, -0.6416974067687988, -0.03729797527194023, -0.29358208179473877, -0.11635956913232803, 0.005416959524154663, -0.42770659923553467, -0.5099121332168579, -0.13160063326358795, 0.06004755571484566, 0.9969124794006348, 0.12122458964586258, 0.31410279870033264, -0.7296432852745056, 0.6024677753448486, 0.7054374814033508, 0.4512479603290558, -0.040733806788921356, -0.6524534821510315, -0.20988203585147858, 0.1934114545583725, -0.20224465429782867, -0.8573899269104004, -0.0011255701538175344, 0.22865675389766693, 0.774728536605835, 0.3096276521682739, -0.4621864855289459, 0.48006147146224976, -0.7033835649490356, 0.3866459131240845, -0.19316548109054565, -0.9715598821640015, 0.6551164984703064, -0.49728670716285706, 0.6832630634307861, 0.28946563601493835, 0.1710362285375595, -0.4752154052257538, -0.9730284214019775, -0.6870442032814026, -0.6229054927825928, 0.8556726574897766, 0.21304187178611755, 0.38899871706962585, 0.1385382115840912, 0.3250161409378052, 0.3536161482334137, 0.27603280544281006, -0.31771597266197205, -0.3538382053375244, -0.10420522093772888, -0.0542365200817585, -0.19820676743984222, -0.3045220375061035, -0.3044307827949524, -0.28190547227859497, 0.2663024067878723, 0.09649152308702469, 0.22593778371810913, -0.3583845794200897, -0.03070957586169243, -0.19814161956310272, 0.5994893312454224, 1.0769914388656616, 0.5712186694145203, -0.06694896519184113, 0.18618616461753845, 0.14565984904766083, -0.41797518730163574, 0.23808187246322632, -0.18160688877105713, -0.3737897574901581, -0.05184372141957283, 0.3793126344680786, 1.2256393432617188, 0.5010785460472107, -0.4185802638530731, -0.198760986328125, -0.0021443176083266735, -0.3597743809223175, 0.14559732377529144, 0.9903530478477478, 0.10956815630197525, 0.2080305516719818, 0.27262505888938904, 0.12117155641317368, 0.11418090760707855, -0.5977196097373962, 0.28510966897010803, 0.6490765810012817, -0.14826799929141998, -0.4359704256057739, 0.49350497126579285, 0.09097585082054138, -0.6677185297012329, 0.7094751000404358, -0.17049571871757507, -0.27175411581993103, 0.8825230002403259, 0.6807523965835571, 0.9328029751777649, -0.2647647261619568, 0.24745693802833557, 0.1873202919960022, 0.682330846786499, 0.04645218700170517, 0.5017768144607544, -0.17415423691272736, -0.5407214760780334, -0.1954944133758545, -0.5660678744316101, -0.3211502730846405, -0.22369597852230072, -0.6037521958351135, -0.1338425874710083, -0.5851663947105408, 0.15180358290672302, -0.23011019825935364, -0.2656925618648529, -0.7018348574638367, 0.3099963963031769, 0.038861650973558426, 0.4940579831600189, -0.8203501105308533, 0.8157309889793396, 0.5747559070587158, -0.04361988231539726, -0.9244022965431213, -0.034630365669727325, -0.017527218908071518, -1.1084702014923096, 0.9121540188789368, 0.16684915125370026, -0.028225883841514587, -0.002456930698826909, -0.6273088455200195, -0.9170833826065063, 0.8539433479309082, 0.49360567331314087, -0.9071168899536133, -0.10559725016355515, 0.25922396779060364, 0.5817228555679321, -0.4136526584625244, -0.05988362804055214, 0.6041747331619263, 0.38044261932373047, -0.05746830999851227, -0.864710807800293, 0.05661921203136444, -0.2713928818702698, 0.2558169364929199, 0.4827919900417328, -0.2583313286304474, 1.093026876449585, -0.4445888102054596, -0.41955867409706116, -0.17204387485980988, 0.6193765997886658, 0.5843508243560791, -0.0035719063598662615, 0.40467387437820435, 0.3609566390514374, 0.6763975620269775, -0.0449489951133728, 1.2615126371383667, 0.036163412034511566, -0.079981230199337, 1.1998727321624756, 0.18538124859333038, 0.4662579596042633, 0.5439906716346741, -0.1271110475063324, 0.7757583260536194, 0.4864978492259979, -0.5041659474372864, 0.19631512463092804, 0.7670798301696777, -0.19952355325222015, -0.33508655428886414, 0.11772013455629349, -0.1715191900730133, 0.32899728417396545, 0.14923901855945587, -0.6200376749038696, -0.24230748414993286, -0.030371779575943947, -0.2364293485879898, 0.03237166255712509, -0.4853658080101013, 0.7997863292694092, -0.014612934552133083, -0.8214206695556641, 0.7914858460426331, 0.06949380040168762, 0.7477381229400635, -0.773869514465332, -0.2787313759326935, -0.023498091846704483, 0.18071205914020538, -0.0842479020357132, -0.7998277544975281, 0.24646209180355072, -0.25375503301620483, -0.573256254196167, -0.20806941390037537, 0.5936279892921448, -0.4932730495929718, -0.6411247849464417, 0.20723748207092285, 0.2503228783607483, 0.2367994636297226, -0.05564373731613159, -0.5768303275108337, -0.016983477398753166, 0.30584102869033813, -0.16422876715660095, 0.6724175810813904, 0.6758052706718445, -0.24823908507823944, 0.777633011341095, 0.6206894516944885, 0.03538710996508598, 0.48750749230384827, -0.009637040086090565, 0.8537417054176331, -0.7385095953941345, -0.334303081035614, -0.9936468601226807, 0.36714211106300354, 0.23742710053920746, -0.3334173858165741, 0.8823551535606384, 0.438131183385849, 0.9642699956893921, -0.4115070402622223, 0.6640759110450745, 0.4662523567676544, 0.12481770664453506, -0.4194464087486267, 0.5881443619728088, -0.46295034885406494, 0.16107916831970215, -0.06897646188735962, -0.8904988765716553, -0.061973847448825836, 0.18886379897594452, -0.2285700887441635, 0.34348592162132263, 0.5428746938705444, 0.8569063544273376, -0.14243057370185852, -0.0199375469237566, 0.42972657084465027, -0.10489197820425034, 0.05720505863428116, 0.7087149620056152, 0.6650809049606323, -0.17803075909614563, 0.5141554474830627, -0.017106350511312485, -0.23498931527137756, 0.1000332161784172, -0.5219046473503113, -0.985381007194519, -0.3820267915725708, -0.2214806079864502, 0.12089363485574722, 0.2281494438648224, 0.6399109959602356, 0.5599575042724609, -0.9137500524520874, -0.5202405452728271, -0.35053810477256775, 0.4791478216648102, -0.514732837677002, -0.16650889813899994, -0.07010815292596817, -0.6124260425567627, -0.7862532138824463, 0.3809927999973297, 0.22795741260051727, 0.1725492626428604, 0.012667454779148102, 0.02400180511176586, -0.14344678819179535, 0.16276437044143677, 0.18737398087978363, 0.25598302483558655, -0.9942891001701355, -0.12518183887004852, 0.1454233080148697, -0.015351173467934132, 0.04137728735804558, 1.016659140586853, -0.44941410422325134, 0.3648054897785187, 0.435794472694397, 0.6267157196998596, 0.21729198098182678, -0.028339093551039696, 1.016831636428833, -0.907305121421814, -0.20708560943603516, -0.17064853012561798, 0.090537890791893, -0.009486467577517033, -0.33848837018013, 0.16008152067661285, 0.23988215625286102, -0.6735657453536987, -0.6231858730316162, 0.5136735439300537, -0.5984428524971008, -0.46835288405418396, 1.021347999572754, -0.10902583599090576, -0.31390276551246643, -0.03476874902844429, -0.22769863903522491, 0.4823541045188904, -0.398872435092926, 0.8007174134254456, 0.5935532450675964, -0.10319142043590546, -0.37968286871910095, -0.3109265863895416, 0.5499876141548157, 0.7358524799346924, -0.6535803079605103, 0.1627143919467926, 0.3708471655845642, 0.4201192259788513, -0.09073743969202042, 0.3008418083190918, 0.4365091025829315, 0.52752286195755, -0.0880088359117508, -0.007975636050105095, -0.05910422280430794, -0.34772321581840515, -0.5690619349479675, 0.3132341504096985, 0.05780008062720299, -0.4554634392261505 ]
http://arxiv.org/abs/2402.10890v2
http://arxiv.org/pdf/2402.10890v2
When is Tree Search Useful for LLM Planning? It Depends on the Discriminator
2024-02-16T18:45:58
2024-06-06T14:55:40
Ziru Chen, Michael White, Raymond Mooney, Ali Payani, Yu Su, Huan Sun
cs.CL
cs.CL, cs.AI, cs.LG
In this paper, we examine how large language models (LLMs) solve multi-step problems under a language agent framework with three components: a generator, a discriminator, and a planning method. We investigate the practical utility of two advanced planning methods, iterative correction and tree search. We present a comprehensive analysis of how discrimination accuracy affects the overall performance of agents when using these two methods or a simpler method, re-ranking. Experiments on two tasks, text-to-SQL parsing and mathematical reasoning, show that: (1) advanced planning methods demand discriminators with at least 90% accuracy to achieve significant improvements over re-ranking; (2) current LLMs' discrimination abilities have not met the needs of advanced planning methods to achieve such improvements; (3) with LLM-based discriminators, advanced planning methods may not adequately balance accuracy and efficiency. For example, compared to the other two methods, tree search is at least 10--20 times slower but leads to negligible performance gains, which hinders its real-world applications. Code and data are available at https://github.com/OSU-NLP-Group/llm-planning-eval.
[ -0.1571163535118103, -0.6436184048652649, 0.7946402430534363, 0.20583084225654602, -0.07304246723651886, 0.3662562370300293, -0.09965213388204575, -0.6477872729301453, 0.06240556761622429, 0.4109199643135071, -0.33624497056007385, -0.5291706323623657, -0.5820934772491455, 0.24260927736759186, -0.46458154916763306, 0.29159823060035706, -0.1798078566789627, -0.05350315198302269, 0.174020454287529, -0.12657442688941956, -0.588056743144989, -0.5437675714492798, -0.9228179454803467, -0.48255085945129395, 0.6214934587478638, 0.5073835253715515, 0.9733151197433472, 0.9504243731498718, 0.20718331634998322, 0.434892863035202, -0.46428075432777405, 0.17864231765270233, -0.15554171800613403, 0.5905881524085999, -0.023821169510483742, -0.6536948084831238, -0.40822166204452515, -0.07495023310184479, 0.6753586530685425, 0.5003073215484619, -0.4129921495914459, -0.23563091456890106, -0.20675529539585114, 0.8710899949073792, -0.688198983669281, 0.36346226930618286, -1.0042777061462402, 0.13174191117286682, -0.3783767521381378, -0.44632071256637573, -0.6105309128761292, -0.27303004264831543, -0.08310726284980774, -0.3430197536945343, 0.48083484172821045, 0.029502131044864655, 0.5189488530158997, 0.24289868772029877, -0.41578298807144165, -0.4765331745147705, -0.9522275924682617, 0.8458102345466614, -0.5323027968406677, 0.357512503862381, 0.5518127679824829, 0.4233870804309845, -0.37783920764923096, -0.4037843346595764, -0.29261261224746704, -0.15654252469539642, -0.11755361407995224, -0.25288766622543335, -0.255499005317688, 0.45792055130004883, 0.5967411994934082, 0.14114166796207428, -0.48237845301628113, 0.5790309906005859, -0.10126225650310516, -0.10001233965158463, 0.6514002680778503, 0.14820703864097595, 0.11495471000671387, 0.1341346800327301, 0.2704337239265442, -0.35725846886634827, -0.7415390610694885, 0.13580727577209473, 0.23231405019760132, 0.5410924553871155, 0.603251039981842, 0.5946948528289795, -0.2853531539440155, 0.8427473306655884, -0.20962998270988464, -0.4037575125694275, -0.01284059602767229, -0.22579072415828705, -0.09436438977718353, 0.1350804567337036, 0.37666743993759155, 0.25173720717430115, 0.4684120714664459, -0.10277722030878067, -0.8019716739654541, 0.20032213628292084, 0.11138471961021423, -0.7037977576255798, -0.2292669713497162, 0.36141321063041687, -0.19786714017391205, 0.0729069635272026, -0.49175411462783813, -0.5871381163597107, -0.2740679979324341, -0.17832927405834198, -0.051819052547216415, -0.2253326177597046, -0.13332106173038483, 0.13364121317863464, 0.04375503957271576, 0.28911152482032776, 0.5001912117004395, -0.7545362114906311, 0.2219199389219284, 0.6916224360466003, 0.746184229850769, 0.09537995606660843, -0.43248340487480164, -0.7979559302330017, 0.1439390629529953, -0.769787073135376, 0.9830664396286011, -0.6097924113273621, -0.4391075372695923, 0.25656014680862427, -0.24993009865283966, -0.22126705944538116, -0.8356591463088989, 0.5871025919914246, -0.6102055907249451, -0.10498237609863281, -0.17666611075401306, -0.21335990726947784, -0.25946885347366333, 0.008660261519253254, -1.0611175298690796, 0.9663878679275513, -0.18282483518123627, -0.4751327931880951, 0.7596510052680969, -0.557588517665863, -0.5529499053955078, 0.018012387678027153, -0.27719423174858093, -0.604998767375946, 0.08945146948099136, 0.30300745368003845, 0.44410446286201477, -0.025088487192988396, 0.3895682990550995, -0.0021401247940957546, -0.5768869519233704, 0.0056805904023349285, -0.2794072926044464, 0.6709743738174438, 0.2012287676334381, -0.3413916826248169, 0.3376321494579315, -0.6043134927749634, 0.17238357663154602, 0.20344778895378113, -0.8106721043586731, -0.061302151530981064, 0.6731173992156982, -0.35872143507003784, 0.14689667522907257, -0.011524384841322899, -0.48826661705970764, 0.2199055403470993, -0.3675742745399475, 0.14473138749599457, 0.9918289184570312, -0.541578471660614, 0.41528427600860596, -0.3907141387462616, 0.7196833491325378, -0.3664158582687378, -0.0838494598865509, -0.009180156514048576, -0.42097964882850647, -0.7496986985206604, -0.01220155693590641, 0.16153421998023987, 0.4188331961631775, -0.7193590998649597, 0.11410658061504364, -0.10145377367734909, -0.36529532074928284, -0.34864532947540283, -0.12052583694458008, 0.4807441830635071, -0.4017581045627594, 0.31154200434684753, -0.02939468063414097, -0.7333453893661499, -0.5142672061920166, -0.4304738938808441, -0.4910074472427368, 0.3258455693721771, -0.020509371533989906, 0.2554838955402374, 0.11495447903871536, 0.9411359429359436, -0.3541052043437958, -0.35185086727142334, -0.5262886881828308, -0.060295842587947845, 0.11649657040834427, 0.08202509582042694, 0.5235822796821594, -0.7810763120651245, -0.44608044624328613, 0.06315603852272034, -0.4528823792934418, -0.24433304369449615, 0.044727593660354614, 0.3214825689792633, 0.5278860926628113, 0.45741406083106995, -0.6987318396568298, 0.4300050139427185, 0.565285861492157, -0.3051764667034149, 0.52569580078125, -0.2528776228427887, -0.1796308010816574, -0.5455062985420227, -0.15236014127731323, -0.08013754338026047, -0.19834986329078674, -0.8025320768356323, 0.400571346282959, -0.06697562336921692, 0.2710745930671692, -0.2854194641113281, 0.3312179446220398, -0.6421117186546326, -0.4580850601196289, -0.3909040689468384, 0.151323601603508, -0.306483656167984, 0.2636706233024597, -0.07368038594722748, 1.0445483922958374, 0.34233957529067993, -0.8739513158798218, 0.09761872887611389, 0.05792215093970299, -0.23288342356681824, 0.3162286579608917, -0.14358624815940857, 0.30349841713905334, -0.26150766015052795, 0.39384838938713074, -0.8349031805992126, 0.13716550171375275, 0.022653279826045036, -0.34450024366378784, 0.4201159179210663, 0.0029154778458178043, -0.6478540897369385, -0.4861232340335846, -0.4897089898586273, 0.31365856528282166, 0.021834135055541992, -0.7006021738052368, 0.7224848866462708, 0.31658366322517395, 0.039499420672655106, -0.8403518795967102, -0.5629391074180603, 0.12660951912403107, -0.21124853193759918, -0.41813725233078003, 0.5155960321426392, 0.0528644397854805, -0.3262386918067932, -0.14524182677268982, -0.2900616526603699, 0.02068881317973137, 0.2613220810890198, 0.01744898222386837, -0.24402669072151184, -0.07231911271810532, -0.06956467777490616, -0.29140108823776245, -0.3547511398792267, 0.06327995657920837, 0.11734634637832642, 0.8147358894348145, 0.28919950127601624, -0.49488261342048645, -0.22020657360553741, 0.34005337953567505, 0.3324521780014038, -0.3340825140476227, 0.33736124634742737, -0.01834246516227722, -0.25478336215019226, -0.2569214701652527, -0.6360911130905151, 0.14517952501773834, -0.46343374252319336, 0.6092597842216492, -0.6748028993606567, -0.7610693573951721, 0.41558048129081726, -0.060022346675395966, 0.48149508237838745, 0.4068591892719269, 0.32994964718818665, 0.10517924278974533, 1.5589786767959595, 0.6906131505966187, -0.0533151738345623, 0.5633720755577087, -0.0844721719622612, 0.24876463413238525, -0.6580744385719299, -0.21502846479415894, -1.1717065572738647, -0.3845602571964264, -0.7654229402542114, -0.4022453725337982, -0.08371326327323914, 0.082986019551754, -0.08624662458896637, 0.37241706252098083, -0.5756820440292358, 0.6740015745162964, 0.5851873755455017, -0.2976662218570709, 0.6885430812835693, 0.09625440090894699, -0.023883309215307236, 0.020271072164177895, -0.6824151277542114, -0.5679535269737244, 0.8994782567024231, 0.29260876774787903, 0.6449134945869446, 0.14283734560012817, 0.646933376789093, -0.09671569615602493, 0.14170397818088531, -0.9829662442207336, 0.8871913552284241, -0.3492017984390259, -0.5145685076713562, -0.5473390817642212, -0.34013909101486206, -1.392706036567688, 0.6721668243408203, 0.20327164232730865, -0.7370817065238953, 0.4039056897163391, -0.000004707887001131894, -0.07308819890022278, 0.5969254374504089, -0.501056969165802, 0.3528384268283844, -0.43355846405029297, 0.22642283141613007, -0.49364492297172546, -0.11723755300045013, -0.005069546867161989, -0.3213295340538025, 0.11413221806287766, -0.34403201937675476, 0.06329811364412308, 0.8900666832923889, -0.3032221496105194, 0.5120625495910645, -0.42991864681243896, -0.1532571017742157, 0.07384461909532547, 0.2682200074195862, 0.922967255115509, -0.6970358490943909, -0.4494771659374237, -0.18333682417869568, -0.03655068203806877, -0.27800312638282776, -0.33461228013038635, 0.43331819772720337, -0.4942772090435028, -1.0305639505386353, -0.6190090775489807, -0.5033671259880066, 0.00263682147487998, 0.15971499681472778, -0.16378185153007507, 0.031681619584560394, 0.012853073887526989, 0.18895156681537628, 0.1654406487941742, -0.28765544295310974, 0.790240466594696, 0.709382176399231, -0.7579671740531921, 0.025284457951784134, 0.6571745276451111, 0.46759918332099915, 0.32076916098594666, 0.4135732054710388, 0.22751890122890472, -0.1952802985906601, -1.0669230222702026, -0.19701434671878815, 0.19423767924308777, -0.8268094658851624, -0.3328024744987488, -0.49305281043052673, -0.3218168318271637, -0.017300447449088097, -0.08457699418067932, -0.21124790608882904, -0.24282057583332062, 0.1774250864982605, -0.22284111380577087, 0.2665921449661255, 0.9847044944763184, -0.016560813412070274, 0.49512219429016113, -0.13696730136871338, 0.13133712112903595, 0.16048723459243774, 0.19736361503601074, -0.09427351504564285, -0.014381328597664833, -0.1333649456501007, -0.10638707876205444, -0.37135177850723267, -0.7676476836204529, 0.4053867757320404, 0.1161363273859024, 0.7298858165740967, -0.01943855732679367, -0.10910256206989288, 0.7593111991882324, -0.2714907228946686, 0.3298601806163788, -0.26478031277656555, -0.4761621057987213, 0.5460783243179321, 0.12758687138557434, 0.40973198413848877, 0.4848679006099701, 0.09079144150018692, -0.341896653175354, -0.5452036261558533, -0.2571253180503845, -0.8659072518348694, 1.1725085973739624, 0.2262088507413864, -0.2881743609905243, 0.19059142470359802, 0.2234148532152176, -0.2928272485733032, 0.03548318147659302, -0.7089532613754272, -0.29777106642723083, 0.3941296935081482, 0.4103633165359497, -0.1382046490907669, -0.5326433181762695, 0.1484190821647644, -0.1582476645708084, 0.5580825805664062, -0.22409717738628387, 0.18198493123054504, -0.07907252013683319, -0.0036352709867060184, -0.5394420623779297, 0.33355751633644104, 0.29570823907852173, 0.8395721316337585, -0.2382851392030716, 0.21165841817855835, 0.27047979831695557, -0.359968364238739, 0.2219812572002411, 0.3163609802722931, -0.31423190236091614, 0.20916111767292023, 0.4485218822956085, 0.5211886763572693, -0.058189939707517624, -0.5021042823791504, 0.19761157035827637, -0.003043876029551029, -0.27096617221832275, -0.18015402555465698, 0.01073240116238594, -0.09626239538192749, 0.34059855341911316, 0.3672148287296295, -0.07298973202705383, 0.07026579231023788, -0.554885983467102, 0.03780262917280197, 0.6028267741203308, 0.07626624405384064, -0.013635542243719101, 0.37265515327453613, -0.059983354061841965, -0.806301474571228, 0.5569076538085938, -0.23626525700092316, -0.7892805933952332, 0.647028923034668, 0.6845372319221497, 0.8501002788543701, -0.7972863912582397, 0.3774397671222687, 0.17213508486747742, 0.39067572355270386, -0.1994934380054474, 0.2936243414878845, 0.0010987119749188423, -0.8593972325325012, -0.9199042320251465, -0.5742436051368713, -0.29900026321411133, -0.10050754249095917, -0.090083047747612, 0.32198774814605713, -0.45964208245277405, -0.12264281511306763, -0.07062797248363495, 0.23941485583782196, -0.6072220206260681, 0.08230078220367432, -0.22853849828243256, 0.7625110149383545, -0.514603316783905, 0.8336582779884338, 0.6683086156845093, -0.1395634412765503, -0.9259209632873535, 0.09027247130870819, 0.020932717248797417, -1.0475677251815796, 0.6454331874847412, 0.3199608623981476, -0.4010724127292633, -0.07414647191762924, -0.1390226185321808, -1.0185071229934692, 1.2307143211364746, 0.42861342430114746, -0.8547065854072571, -0.4639396667480469, 0.3732544183731079, 0.5327070355415344, -0.1059158518910408, 0.46736133098602295, 0.8620609641075134, 0.5075138807296753, 0.3520713746547699, -1.1738609075546265, -0.009020645171403885, 0.26105785369873047, 0.18276116251945496, 0.6003046631813049, -0.40833160281181335, 0.8649758696556091, -0.16624020040035248, -0.6431243419647217, 0.028342733159661293, 0.13478869199752808, 0.6872285008430481, 0.3874320983886719, 0.741068422794342, 0.4774894714355469, 0.8128453493118286, -0.17444001138210297, 0.9662923812866211, -0.16273233294487, 0.20964697003364563, 0.9196007251739502, -0.35243913531303406, 0.9223231077194214, 0.2095773071050644, -0.557698130607605, 0.29895296692848206, 0.703431248664856, 0.38006725907325745, 0.36249491572380066, 0.3634028136730194, -0.19721375405788422, -0.14298942685127258, -0.1315266191959381, -0.15753351151943207, 0.4681505262851715, 0.2794159948825836, -0.29270410537719727, -0.5057831406593323, -0.38009122014045715, 0.16810056567192078, 0.2340119183063507, -0.18949376046657562, 0.6798054575920105, 0.0049331760965287685, -0.7567927837371826, 0.5147740244865417, 0.1587071418762207, 0.5108656883239746, -0.39131325483322144, -0.18502263724803925, -0.24386340379714966, 0.3446883261203766, -0.47032734751701355, -1.0522691011428833, 0.37157830595970154, -0.14784836769104004, 0.1547202318906784, -0.48162561655044556, 0.6960511207580566, -0.09029222279787064, -0.1604255884885788, 0.7902972102165222, 0.5487584471702576, 0.15633949637413025, -0.38417404890060425, -0.6969261765480042, 0.20294606685638428, 0.12841607630252838, -0.2596927285194397, 0.08949202299118042, 0.5028080344200134, -0.33767545223236084, 0.9067347645759583, 0.5525917410850525, 0.2513298988342285, 0.06543304771184921, 0.20433221757411957, 0.8214065432548523, -0.81686931848526, -0.25549113750457764, -0.9310402870178223, 0.1473880261182785, 0.17494677007198334, 0.07399395108222961, 0.4928308427333832, 0.7973955273628235, 0.9972032904624939, 0.42934468388557434, 0.3207417130470276, 0.10599923133850098, 0.46432191133499146, -0.8264144062995911, -0.024441730231046677, -0.41937264800071716, 0.6721135973930359, -0.13178011775016785, -1.527762532234192, -0.4453335404396057, 0.7256968021392822, -0.31993749737739563, 0.3053063750267029, 0.8678924441337585, 0.9200120568275452, 0.4426906406879425, -0.16900376975536346, 0.5080376267433167, 0.2737519145011902, 0.7901580929756165, 0.6548795104026794, 1.0274274349212646, -0.009214283898472786, 0.6587414741516113, -0.17392030358314514, 0.003327935701236129, -0.2099476307630539, -0.4322681427001953, -0.5389205813407898, -0.5295728445053101, -0.11258842796087265, -0.24220320582389832, 0.30257683992385864, 0.809771716594696, 0.5467109680175781, -0.6356770396232605, -0.6339064836502075, -0.26814109086990356, 0.44721609354019165, -0.1413826048374176, -0.17807374894618988, 0.26036909222602844, -0.34038522839546204, -0.7570973038673401, 0.6313241720199585, 0.18132707476615906, -0.14002394676208496, -0.3823888599872589, -0.23157864809036255, -0.45236116647720337, -0.3074180483818054, 0.7018209099769592, 0.2615581750869751, -1.0310945510864258, -0.3433048129081726, -0.16889263689517975, 0.055660609155893326, 0.27291280031204224, 0.9305800199508667, -0.9039670825004578, 0.5758199095726013, 0.28602680563926697, 0.34035050868988037, 0.6861850619316101, -0.09521797299385071, 0.5686396360397339, -0.5558405518531799, -0.16439653933048248, 0.28762587904930115, 0.41002917289733887, 0.2317986935377121, -0.2087162733078003, 0.8128966093063354, -0.1006956622004509, -0.8159909248352051, -0.7335172295570374, 0.41304659843444824, -0.5317209959030151, -0.2610815763473511, 1.225761890411377, 0.34646937251091003, -0.03174176067113876, -0.3242914378643036, -0.6232216954231262, 0.042701005935668945, -0.5644373893737793, 0.43827754259109497, 0.6361127495765686, -0.4415697157382965, -0.29141488671302795, -0.5541672706604004, 0.6482583284378052, 0.4115678071975708, -0.5886316895484924, 0.24823662638664246, 0.5635392665863037, -0.10410900413990021, 0.34360626339912415, 1.0781399011611938, 0.1585865169763565, 0.059602878987789154, -0.15351401269435883, -0.03696794435381889, 0.278186559677124, -0.5556730628013611, -0.3818388879299164, 0.10019705444574356, 0.8847047090530396, -0.08059296756982803 ]
http://arxiv.org/abs/2402.10886v1
http://arxiv.org/pdf/2402.10886v1
Reviewer2: Optimizing Review Generation Through Prompt Generation
2024-02-16T18:43:10
2024-02-16T18:43:10
Zhaolin Gao, Kianté Brantley, Thorsten Joachims
cs.CL
cs.CL
Recent developments in LLMs offer new opportunities for assisting authors in improving their work. In this paper, we envision a use case where authors can receive LLM-generated reviews that uncover weak points in the current draft. While initial methods for automated review generation already exist, these methods tend to produce reviews that lack detail, and they do not cover the range of opinions that human reviewers produce. To address this shortcoming, we propose an efficient two-stage review generation framework called Reviewer2. Unlike prior work, this approach explicitly models the distribution of possible aspects that the review may address. We show that this leads to more detailed reviews that better cover the range of aspects that human reviewers identify in the draft. As part of the research, we generate a large-scale review dataset of 27k papers and 99k reviews that we annotate with aspect prompts, which we make available as a resource for future research.
[ -0.6050713062286377, -0.3154759109020233, 0.8772042989730835, 0.44478967785835266, -0.48729175329208374, -0.30398911237716675, 0.14690402150154114, -0.4947695732116699, 0.06880255043506622, 0.5805500149726868, -0.8166977167129517, -0.3884910047054291, -0.2109432965517044, 0.5798599123954773, -0.22590601444244385, 1.1696524620056152, -0.12546290457248688, -0.01020282693207264, -0.10010489076375961, 0.10756649076938629, -0.42915695905685425, -0.10870035737752914, -0.7364224195480347, -0.4368414580821991, 0.8430331945419312, 0.519406795501709, 0.48934873938560486, 0.20542775094509125, 0.5422517657279968, 0.19499534368515015, -0.29157915711402893, 0.546533465385437, -0.39656639099121094, 0.6059542894363403, -0.06617185473442078, -0.5326167345046997, -0.6221291422843933, 0.14181455969810486, 0.4450920522212982, 0.4205596446990967, 0.31713441014289856, 0.19551435112953186, 0.3818748891353607, 0.7766680717468262, -0.30807551741600037, -0.09539536386728287, -0.464016854763031, 0.23152954876422882, -0.048826731741428375, -0.4579686224460602, -0.3086187541484833, -0.6796280741691589, -0.08895290642976761, -0.4423503875732422, 0.49242886900901794, 0.03932871297001839, 0.5776162147521973, 0.13735859096050262, -0.4421069622039795, -0.41986972093582153, -0.5840006470680237, 0.5748891234397888, -0.4700867831707001, -0.1409865915775299, 0.3091394007205963, 0.3158837854862213, -0.19323842227458954, -0.4352923333644867, -0.6150963306427002, -0.11754323542118073, -0.09071538597345352, 0.30076107382774353, -0.015802744776010513, 0.12058167904615402, 0.3524264097213745, 0.36012670397758484, -0.3921661376953125, 0.17569014430046082, -0.2973998486995697, -0.3326408863067627, 0.9123768210411072, 0.4005635976791382, -0.23716171085834503, -0.5735031366348267, -0.24580185115337372, -0.19906656444072723, -1.1165733337402344, 0.3413604199886322, 0.8198409080505371, 0.08110431581735611, 0.18634475767612457, 0.6652384400367737, -0.36180004477500916, 0.44979381561279297, 0.19529910385608673, 0.044247645884752274, -0.00859297439455986, -0.7105709314346313, 0.12451305985450745, -0.4930453896522522, 0.6131145358085632, 0.9113060832023621, -0.32338598370552063, 0.47356659173965454, -0.8953750133514404, -0.30623748898506165, 0.26231297850608826, -1.0160820484161377, -0.11499550938606262, 0.5124170184135437, -0.6539821624755859, -0.7314097285270691, 0.4018475413322449, -0.9222984313964844, -0.9215099215507507, -0.33037275075912476, 0.060603491961956024, 0.004926771391183138, -0.1297881305217743, -0.4022802710533142, -0.2528367042541504, 0.027100924402475357, 0.739512026309967, -0.5297241806983948, -0.021151699125766754, 0.7494310736656189, 0.6154817938804626, -0.11098282784223557, 0.019232086837291718, -0.6953475475311279, -0.3657156825065613, -0.5254260897636414, 1.3019452095031738, -0.10375895351171494, -0.5842962265014648, 0.25452113151550293, -0.3529011607170105, 0.7451808452606201, -0.7619107365608215, 0.5412771105766296, -0.2801319360733032, 0.3304159641265869, -0.4509008526802063, 0.01580618880689144, 0.04645852372050285, 0.45637601613998413, -0.5973255038261414, 1.1230686902999878, 0.41676896810531616, -0.743967592716217, 0.455672949552536, -0.4409828782081604, -0.3463670015335083, 0.031924959272146225, -0.186620831489563, -0.6739218831062317, 0.4770489037036896, 0.46899181604385376, 0.34655746817588806, -0.5963053703308105, 0.07209315150976181, -0.14194165170192719, -0.17232093214988708, 0.2707020044326782, -0.05388367548584938, 0.4329923391342163, 0.5395005941390991, -0.3493128716945648, 0.45565497875213623, -0.5434677600860596, 0.20363357663154602, -0.16603025794029236, -0.4985141158103943, 0.23617808520793915, 0.021465962752699852, 0.12657776474952698, 0.2228870838880539, -0.02009865827858448, -0.24679075181484222, 0.1828855723142624, -0.4719257950782776, 0.35109132528305054, 0.8152326941490173, 0.6930263638496399, 0.4103245139122009, -0.5940929651260376, 0.7367041707038879, 0.25587666034698486, 0.3223273456096649, -0.6044807434082031, -0.32457494735717773, -0.8020259737968445, 0.26016053557395935, 0.19043776392936707, 0.3057192265987396, -0.8811197876930237, 0.614368200302124, 0.34846052527427673, -0.49698060750961304, -0.6586670279502869, 0.5509272217750549, 0.6428333520889282, 0.20833304524421692, 0.028221342712640762, -0.23513327538967133, -0.4677257835865021, -0.926608681678772, -0.15022693574428558, -0.7923932671546936, -0.23032768070697784, 0.33443331718444824, 0.20737528800964355, -0.18867002427577972, 0.7898200154304504, -0.3569125831127167, -0.04395191743969917, -0.6168878674507141, 0.0712461918592453, 0.18683703243732452, 0.22097231447696686, 0.03762520104646683, -0.5838637351989746, -0.18825113773345947, -0.2653861939907074, -0.7202394008636475, -0.5927573442459106, -0.4507058262825012, -0.3315717875957489, 0.1086580753326416, 0.40774229168891907, -0.5574797987937927, 0.1460224688053131, 0.14630599319934845, -0.43720316886901855, 0.5009964108467102, 0.012291831895709038, 0.08211109042167664, -1.0155421495437622, -0.028722168877720833, 0.0518203005194664, -0.10732444375753403, -0.29568880796432495, 0.02060345746576786, -0.004849710501730442, -0.3720037639141083, -0.20870007574558258, 0.5576053261756897, -0.705646812915802, 0.056476373225450516, -0.4246664345264435, 0.192300945520401, 0.39630410075187683, 0.2037413865327835, -0.16430196166038513, 0.5488281846046448, 0.04957431182265282, -0.4795149862766266, 0.12356583029031754, 0.2466486096382141, -0.43953895568847656, 0.6902813911437988, -0.7899392247200012, 0.33652952313423157, -0.33367326855659485, 0.4773556888103485, -1.0884215831756592, -0.5374518632888794, 0.26839202642440796, -0.32629233598709106, 0.26871541142463684, 0.07097272574901581, -0.5851856470108032, -0.6011161804199219, -0.984964907169342, -0.11064738035202026, 0.499408096075058, -0.4876024127006531, 0.35586103796958923, 0.24780051410198212, -0.723888099193573, -0.12652455270290375, -0.27175503969192505, 0.11150521785020828, 0.0342504046857357, -0.7024416327476501, 0.010856184177100658, 0.02423759177327156, -0.5791780352592468, -0.2900013029575348, -0.033937420696020126, 0.3278311789035797, -0.056217022240161896, 0.31607145071029663, 0.06351828575134277, 0.06585513055324554, -0.02646801248192787, 0.44395115971565247, -0.17403076589107513, 0.1998850256204605, -0.05949017405509949, 0.14839927852153778, 0.2751375436782837, -0.25193163752555847, -0.4702145457267761, 0.6953591704368591, 0.27972978353500366, 0.04542974755167961, -0.3509521186351776, 0.3102208971977234, -0.04733274504542351, -0.7170650362968445, -0.7322690486907959, -0.5411670804023743, -0.4265320301055908, 0.44704368710517883, -0.37404805421829224, -0.6697598695755005, 0.3578433394432068, -0.09192491322755814, 0.4463662803173065, 0.4441406726837158, 0.781247079372406, -0.20100049674510956, 1.0498173236846924, 0.6355107426643372, 0.30301034450531006, 0.5359483361244202, -0.14191362261772156, 0.08332169055938721, -1.0042675733566284, -0.3709121644496918, -0.5960183143615723, -0.40811946988105774, -0.2813451290130615, -0.5040984153747559, 0.6435396671295166, 0.5558626055717468, 0.09066037088632584, 0.06502088159322739, -0.6647564768791199, 0.41561612486839294, 0.7419881224632263, 0.3133751451969147, 0.010347914882004261, 0.015422094613313675, -0.23934349417686462, 0.03576109930872917, -0.46558865904808044, -0.9392775297164917, 1.0753475427627563, 0.4968359172344208, 0.5633547902107239, -0.055988747626543045, 0.9008546471595764, 0.32160869240760803, 0.5182143449783325, -0.5662079453468323, 0.7303854823112488, 0.3347192108631134, -0.4429682493209839, -0.16761068999767303, -0.31363150477409363, -0.6778326034545898, 0.2569977045059204, -0.35018596053123474, -0.13627882301807404, 0.2692553699016571, 0.4109709560871124, -0.5535018444061279, 0.010627140291035175, -0.5995616316795349, 0.2709425389766693, -0.10363338887691498, -0.5974204540252686, -0.003812564769759774, -0.6644669771194458, 0.5303553938865662, -0.2057647705078125, -0.16918599605560303, -0.09414330869913101, -0.06734895706176758, 0.5964275598526001, -0.8520971536636353, 0.7895205616950989, -0.5560297966003418, -0.20710183680057526, 0.8295588493347168, 0.2910936772823334, 0.8033288717269897, 0.5884761214256287, -0.30960920453071594, -0.334196001291275, -0.46463873982429504, -0.0831681564450264, -0.5722463726997375, 0.5208448767662048, -0.6623374223709106, -0.6232744455337524, -0.21680468320846558, -0.2749328911304474, -0.21652930974960327, 0.005948017816990614, 0.676303505897522, 0.40779921412467957, 0.07604800909757614, -0.3268151581287384, 0.2802232801914215, -0.2362566590309143, 0.28749725222587585, 0.23088915646076202, -0.1599722057580948, -0.8671994805335999, 0.47564050555229187, -0.08693652600049973, -0.13089199364185333, 0.06499386578798294, 0.10675530135631561, -0.4937497675418854, -0.9389576315879822, -0.6512611508369446, 0.11001944541931152, -0.7031541466712952, -0.5169700980186462, -0.6012270450592041, 0.13204677402973175, -0.24621105194091797, -0.1012485921382904, 0.08368930965662003, -0.5241056680679321, -0.306026816368103, -0.23419898748397827, 0.1353580802679062, 1.3428376913070679, -0.12390980869531631, 0.30556127429008484, -0.5873226523399353, 0.26075029373168945, 0.3272012770175934, 0.08364907652139664, 0.01120084710419178, -0.29567086696624756, 0.00693536177277565, -0.5211813449859619, -0.9173630475997925, -0.8648505210876465, 0.06266925483942032, -0.14616073668003082, 0.39863771200180054, 0.6359592080116272, 0.1487826257944107, 0.35297277569770813, -0.3297308385372162, 1.2003549337387085, 0.35238057374954224, -0.589158296585083, 1.0122859477996826, -0.36322033405303955, 0.42334622144699097, 0.8876669406890869, -0.09140285104513168, -0.19723710417747498, -0.7157277464866638, -0.40678882598876953, -0.9691621661186218, 0.684368908405304, 0.3205792307853699, 0.185282900929451, 0.04904874786734581, 0.5587229132652283, 0.42356961965560913, 0.31228920817375183, -0.4683380424976349, 0.2208171784877777, -0.12173471599817276, 0.08498043566942215, 0.02419467270374298, -0.8818535804748535, -0.25021660327911377, 0.24696551263332367, 0.6259512305259705, -0.2605109214782715, 0.33273613452911377, 0.5223591327667236, 0.12404214590787888, -0.4597417414188385, 0.32522809505462646, 0.6120163798332214, 0.6261870861053467, 0.04691264033317566, 0.37342673540115356, -0.004659145139157772, -0.31416818499565125, 0.287222295999527, 0.09034956991672516, -0.7447540163993835, 0.16527292132377625, 0.7387365698814392, 0.7305152416229248, -0.08150499314069748, -0.3704966604709625, 0.358608216047287, 0.08979018032550812, -0.46680113673210144, -0.08903607726097107, 0.16327814757823944, -0.13501481711864471, 0.40742745995521545, 0.36151644587516785, 0.16320620477199554, 0.27125412225723267, -0.42972445487976074, 0.1838197112083435, 0.2172074019908905, -0.40681082010269165, -0.5411311984062195, 0.7011534571647644, 0.8518702983856201, -0.48898783326148987, 0.5131816864013672, -0.4714988172054291, -0.496339350938797, 0.42306214570999146, 0.20957379043102264, 1.1464296579360962, 0.189529687166214, 0.17210610210895538, 0.6336840391159058, 0.22644008696079254, -0.08058149367570877, 0.6378505825996399, -0.1605949103832245, -0.12605442106723785, -0.154888316988945, -0.5665454864501953, -0.7302348613739014, -0.08774612843990326, -0.47407206892967224, 0.5082047581672668, -0.6642019748687744, -0.4480644762516022, -0.13533420860767365, 0.24070295691490173, -0.5097343921661377, -0.058706607669591904, 0.06468567997217178, 0.7685753107070923, -0.5860572457313538, 0.34077155590057373, 0.6841163039207458, -0.486541748046875, -0.7453325986862183, 0.18356359004974365, 0.2888678014278412, -0.4033512771129608, 0.4676109552383423, 0.47544631361961365, 0.013893099501729012, -0.3736339807510376, -0.4413560926914215, -0.08845898509025574, 1.1598392724990845, 0.10017003118991852, -0.82431560754776, 0.2064169943332672, -0.17602024972438812, 0.5710389018058777, -0.39437079429626465, 0.6224132776260376, 0.2054595947265625, 0.5962100625038147, -0.022350864484906197, -0.3946515619754791, 0.20911045372486115, -0.6204335689544678, 0.2732044756412506, 0.07833655923604965, -0.6400250792503357, 0.8050150871276855, -0.5751484036445618, -0.1921766996383667, 0.27667200565338135, 0.7453668713569641, 0.6140046715736389, 0.5897539854049683, 0.788990318775177, 0.10039961338043213, 0.779107391834259, -0.055686235427856445, 1.231046438217163, -0.24922345578670502, -0.04084636643528938, 0.9208646416664124, -0.45198217034339905, 0.7638699412345886, 0.6517122983932495, -0.13471922278404236, 0.36160731315612793, 0.91336590051651, -0.1676461547613144, 0.35856467485427856, 0.5215701460838318, -0.43657755851745605, -0.18424925208091736, -0.17452740669250488, -0.17285381257534027, -0.29518306255340576, -0.2185475081205368, -0.5305610299110413, -0.22080935537815094, -0.3208295702934265, -0.018543880432844162, 0.21486221253871918, -0.3432990610599518, 1.194201111793518, 0.20841728150844574, -1.2886043787002563, 0.19311946630477905, 0.11939386278390884, 0.6580859422683716, -0.4811686873435974, -0.21573852002620697, -0.69145667552948, -0.04217589646577835, -0.3353307843208313, -1.1024749279022217, 0.09431879967451096, 0.43412724137306213, -0.3978525996208191, -0.6354162096977234, 0.6385263204574585, -0.2475215345621109, -0.6200926303863525, 0.125162273645401, 0.743651807308197, 0.2933223247528076, -0.1017862856388092, -0.5149886012077332, 0.11581961810588837, 0.07320217043161392, -0.6902406215667725, -0.00035804719664156437, 0.6128238439559937, -0.42390498518943787, 0.2474820762872696, 0.6638855338096619, 0.25375768542289734, -0.2013774812221527, 0.2238500416278839, 0.9410474896430969, -0.7825130820274353, -0.5437750220298767, -0.7439501881599426, 0.6145440340042114, -0.2978527545928955, -0.7795690298080444, 0.5209452509880066, 0.6073315739631653, 0.446344792842865, -0.05543415993452072, 1.04140305519104, 0.03390313684940338, 0.5839340686798096, -0.6216917037963867, 0.5224476456642151, -0.28115880489349365, 0.5092740058898926, -0.04631974548101425, -1.2840628623962402, -0.3768834173679352, 0.3166954815387726, 0.03041801229119301, 0.11812970042228699, 0.731360137462616, 1.171451449394226, 0.48537367582321167, -0.1308346688747406, 0.0013283591251820326, -0.009664753451943398, 0.5201895833015442, 0.6195868253707886, 1.189164400100708, -0.2668241560459137, 0.5285016298294067, -0.2217266708612442, -0.030136393383145332, -0.3952190577983856, -0.8948476314544678, -1.1500438451766968, -0.3241038918495178, -0.20522460341453552, -0.7777000069618225, -0.147452712059021, 0.9320071339607239, 0.7087417840957642, -0.743309497833252, -0.0005882942350581288, -0.2927967309951782, 0.22299708425998688, 0.07074729353189468, -0.174207866191864, 0.25761890411376953, -0.5456697344779968, -0.6088338494300842, 0.25440463423728943, 0.289285808801651, 0.11065085232257843, -0.7099635601043701, -0.36090192198753357, 0.6810498833656311, 0.02751797065138817, 0.5737747550010681, -0.2075740247964859, -0.7286095023155212, -0.11334627866744995, -0.10633765161037445, -0.2623353600502014, -0.13834165036678314, 1.2132309675216675, -0.4343177080154419, 0.4344179034233093, 0.9005483984947205, 0.14089210331439972, 0.2681407332420349, 0.25189071893692017, 0.6768143177032471, -0.5710828900337219, -0.05185925215482712, 0.5254442691802979, 0.23762252926826477, 0.40531280636787415, -0.5311228036880493, 0.6579749584197998, -0.006413673050701618, -0.4378228187561035, -0.9266473054885864, 0.2571321129798889, -1.0089879035949707, 0.09195412695407867, 1.4285354614257812, -0.017359958961606026, 0.14720453321933746, 0.011987166479229927, -0.58716881275177, -0.1882154941558838, -0.5624327063560486, 0.774273157119751, 0.5775843262672424, -0.3881959915161133, -0.13123437762260437, -0.4459671676158905, 0.6547801494598389, 0.35740968585014343, -1.1085096597671509, -0.039045970886945724, 0.5738211870193481, 0.05684986710548401, -0.07310511916875839, 0.877898097038269, -0.267255038022995, 0.5023292303085327, 0.08459673076868057, 0.04645279422402382, -0.34504419565200806, -0.445665568113327, -0.6679372191429138, 0.45360058546066284, 0.5463356375694275, 0.3858341872692108 ]
http://arxiv.org/abs/2402.10884v1
http://arxiv.org/pdf/2402.10884v1
Multi-modal preference alignment remedies regression of visual instruction tuning on language model
2024-02-16T18:42:08
2024-02-16T18:42:08
Shengzhi Li, Rongyu Lin, Shichao Pei
cs.CL
cs.CL, cs.AI, cs.CV, cs.LG
In production, multi-modal large language models (MLLMs) are expected to support multi-turn queries of interchanging image and text modalities. However, the current MLLMs trained with visual-question-answering (VQA) datasets could suffer from degradation, as VQA datasets lack the diversity and complexity of the original text instruction datasets which the underlying language model had been trained with. To address this challenging degradation, we first collect a lightweight (6k entries) VQA preference dataset where answers were annotated by Gemini for 5 quality metrics in a granular fashion, and investigate standard Supervised Fine-tuning, rejection sampling, Direct Preference Optimization (DPO), and SteerLM. Our findings indicate that the with DPO we are able to surpass instruction-following capabilities of the language model, achieving a 6.73 score on MT-Bench, compared to Vicuna's 6.57 and LLaVA's 5.99 despite small data scale. This enhancement in textual instruction proficiency correlates with boosted visual instruction performance (+4.9\% on MM-Vet, +6\% on LLaVA-Bench), with minimal alignment tax on visual knowledge benchmarks compared to previous RLHF approach. In conclusion, we propose a distillation-based multi-modal alignment model with fine-grained annotations on a small dataset that reconciles the textual and visual performance of MLLMs, restoring and boosting language capability after visual instruction tuning.
[ -0.298957496881485, -0.972999095916748, 0.4265322685241699, -0.08641471713781357, -0.30803775787353516, -0.10779824107885361, -0.3647995591163635, -0.23588211834430695, 0.04224318638443947, 0.5981396436691284, -0.5720983743667603, -0.43358883261680603, -0.5898370742797852, -0.05087500438094139, -0.1148427277803421, 0.9198895692825317, 0.027839407324790955, 0.3680475056171417, -0.4698410630226135, -0.25964921712875366, -0.7853104472160339, -0.29837384819984436, -0.23321466147899628, -0.06276247650384903, 0.5723764300346375, 0.6147751212120056, 0.7739014029502869, 0.94246906042099, 0.6104161143302917, 0.34914740920066833, 0.03934618830680847, 0.42110493779182434, -0.4669954180717468, 0.2163572609424591, 0.17205213010311127, -0.41227373480796814, -0.5238851308822632, 0.009490391239523888, 0.5859520435333252, 0.46495601534843445, -0.11102525144815445, 0.29237937927246094, 0.18968579173088074, 0.9379721879959106, -0.7343515753746033, 0.0635497197508812, -0.6605715155601501, -0.2033662348985672, -0.10344427078962326, -0.3353688716888428, -0.5110548734664917, -0.35029178857803345, 0.24080456793308258, -0.7119483351707458, 0.02011188492178917, 0.08301699161529541, 0.8349956274032593, 0.7685530781745911, -0.5225570201873779, 0.03182036429643631, -0.45635971426963806, 1.020772933959961, -0.56733638048172, 0.42612868547439575, 0.5051425099372864, 0.3618968427181244, 0.04312988743185997, -0.47894561290740967, -0.4210943579673767, -0.22266817092895508, -0.10608261078596115, 0.17296698689460754, 0.11045387387275696, 0.17998549342155457, 0.19926978647708893, 0.3729478418827057, -0.5366091132164001, 0.1288827508687973, -0.30035340785980225, -0.21832002699375153, 0.34886133670806885, 0.3762734830379486, 0.16178204119205475, -0.21972782909870148, -0.5242046117782593, -0.2731589376926422, -0.45253807306289673, 0.2950875461101532, 0.1870775669813156, 0.3551383912563324, 0.07378946989774704, 0.7049224376678467, -0.3045729100704193, 1.1388216018676758, 0.058188941329717636, -0.3787001073360443, 0.34865090250968933, -0.5976488590240479, -0.39213666319847107, -0.10909641534090042, 0.6760553121566772, 0.7350103855133057, 0.25464800000190735, 0.2957029938697815, -0.12384318560361862, -0.19637198746204376, 0.25555118918418884, -0.8004087805747986, -0.1353919804096222, 0.014205960556864738, -0.47409987449645996, -0.16635994613170624, -0.11817706376314163, -0.6872216463088989, -0.40848061442375183, -0.8222612738609314, 0.531493604183197, -0.4389197826385498, 0.04919441044330597, 0.17147867381572723, -0.11362158507108688, 0.22364482283592224, 0.5599201917648315, -1.0387349128723145, -0.0775023102760315, 0.5194971561431885, 0.5848568081855774, -0.1255211979150772, -0.4159508943557739, -0.6679227948188782, -0.0984921008348465, -0.187249556183815, 0.4944402575492859, -0.7181927561759949, -0.22068019211292267, -0.02698751538991928, 0.028018226847052574, -0.26182493567466736, -0.5152985453605652, 0.3640107810497284, -0.3990805447101593, 0.4502524733543396, -0.5917235612869263, -0.4308992326259613, -0.13411112129688263, 0.3776344656944275, -0.6333163380622864, 0.9927724003791809, -0.005493561737239361, -0.7849144339561462, 0.5650429725646973, -0.24185338616371155, -0.15366682410240173, -0.2793673872947693, -0.2566063106060028, -0.4366225600242615, 0.11066022515296936, 0.42978012561798096, 0.3505256175994873, -0.2831290364265442, 0.25668662786483765, -0.3372700810432434, -0.4198760986328125, 0.17337504029273987, -0.8323405981063843, 0.5159140825271606, -0.000148722407175228, -0.25895553827285767, 0.4450274705886841, -0.7971783876419067, 0.1367444545030594, -0.12703648209571838, -0.396275132894516, -0.5654205679893494, -0.06719803810119629, 0.018267620354890823, 0.2524564862251282, 0.4132639467716217, -0.31668978929519653, 0.4963822364807129, -0.05938411504030228, 0.15430600941181183, 0.8015508055686951, -0.19923914968967438, 0.43545955419540405, -0.03398434817790985, 0.4613114893436432, 0.07300674170255661, 0.625370979309082, -0.07462480664253235, -0.4778362512588501, -0.9839070439338684, -0.49162688851356506, 0.27202993631362915, 0.5296688079833984, -1.0000872611999512, 0.1028643250465393, -0.26606300473213196, -0.19808991253376007, -0.815855860710144, 0.2528146505355835, 0.5624938011169434, 0.8772156834602356, 0.6227373480796814, -0.12387685477733612, -0.3444657623767853, -1.1756830215454102, 0.07462087273597717, -0.08006925880908966, 0.19332687556743622, 0.3164464831352234, 0.11342864483594894, -0.11709974706172943, 0.7376213073730469, -0.5746276378631592, -0.2571444809436798, 0.11712129414081573, 0.11330359429121017, 0.012102039530873299, 0.22861593961715698, 0.6157954335212708, -0.8628212213516235, -0.5350626707077026, -0.018720773980021477, -0.4365856945514679, -0.11175453662872314, 0.12805543839931488, -0.2510380148887634, 0.3417688012123108, 0.36282938718795776, -0.0935305505990982, 0.34237295389175415, 0.6418671607971191, -0.31778162717819214, 0.5837868452072144, -0.15393662452697754, 0.5534678101539612, -1.1269067525863647, -0.20078207552433014, 0.07660572230815887, -0.2237410694360733, -0.3502237796783447, -0.23913118243217468, 0.21734508872032166, 0.27967140078544617, -0.4311069846153259, 0.38431766629219055, -0.38752493262290955, 0.15029685199260712, -0.3770536780357361, 0.0628245398402214, 0.18284830451011658, 0.5229310393333435, 0.2113763988018036, 0.9656012654304504, 0.5917725563049316, -0.3072802424430847, 0.2345908284187317, 0.19907686114311218, -0.09409225732088089, 0.6177892684936523, -0.581283450126648, -0.18911112844944, -0.1586725413799286, -0.20381417870521545, -1.0443869829177856, -0.06861651688814163, 0.25893434882164, -0.20120595395565033, 0.526731014251709, -0.21571901440620422, -0.08856718242168427, -0.10095441341400146, -0.5338066220283508, 0.2765304148197174, 0.2391699105501175, -0.44719475507736206, 0.4897785186767578, 0.08171335607767105, -0.07271453738212585, -1.1860171556472778, -0.4379432201385498, -0.09102462977170944, -0.18357743322849274, -0.46923303604125977, 0.149606853723526, -0.16708137094974518, -0.11356466263532639, -0.06939994543790817, -0.15242049098014832, -0.07948728650808334, -0.03883592411875725, 0.12107152491807938, 0.6997278332710266, -0.42018967866897583, 0.19315417110919952, 0.09396921098232269, -0.09059254080057144, -0.24725443124771118, -0.06854847818613052, 0.3276604115962982, -0.2897304594516754, -0.36363157629966736, -0.38120725750923157, 0.23496390879154205, 0.8306247591972351, -0.41556599736213684, 0.7727760672569275, 0.739956796169281, 0.007247315254062414, 0.15116265416145325, -0.5954935550689697, -0.2019132375717163, -0.4353936016559601, 0.39190489053726196, -0.23401804268360138, -0.842110276222229, 0.19011704623699188, 0.21714909374713898, 0.0919705256819725, 0.32192447781562805, 0.5401966571807861, -0.12994664907455444, 0.9470593333244324, 0.697848379611969, -0.0785185769200325, 0.9069580435752869, -0.02902863547205925, -0.1322452425956726, -0.7768194675445557, -0.17573735117912292, -0.3196452558040619, -0.47736164927482605, -0.655876636505127, -0.431993305683136, 0.37502995133399963, 0.15805670619010925, -0.18663553893566132, 0.07239247858524323, -0.6409671306610107, 0.43321534991264343, 0.8666661977767944, 0.2193070650100708, 0.3770601749420166, 0.06824471801519394, -0.035862263292074203, -0.2793969511985779, -0.5997530221939087, -0.5235998630523682, 1.1529182195663452, 0.13168729841709137, 0.9472463130950928, -0.003573935478925705, 0.6458231210708618, -0.02991827018558979, 0.27365243434906006, -0.9186880588531494, 0.3560487627983093, -0.3292044699192047, -0.4608592689037323, -0.4668719172477722, -0.43201667070388794, -0.6384187936782837, 0.3089987337589264, -0.44074949622154236, -0.687635064125061, 0.2796853482723236, 0.4178958833217621, -0.24847981333732605, -0.09964123368263245, -0.9969806671142578, 1.1285948753356934, -0.5749720931053162, -0.766636073589325, -0.018503017723560333, -0.7447609305381775, 0.42385467886924744, 0.2029981166124344, -0.048664748668670654, 0.09081283956766129, -0.09949775785207748, 0.4259719252586365, -0.3390101492404938, 0.8413970470428467, -0.11158441752195358, -0.0610988549888134, 0.0636724978685379, -0.2318650186061859, 0.22560708224773407, -0.01886189915239811, 0.12610921263694763, -0.10170217603445053, 0.1459231674671173, -0.3619164526462555, -0.691615104675293, 0.7747981548309326, -0.8027543425559998, -0.7052559852600098, -0.29229071736335754, -0.540571928024292, -0.26686957478523254, 0.0763004943728447, 0.21459516882896423, 0.508594274520874, 0.025056056678295135, 0.4341486692428589, 0.8153077363967896, -0.057437580078840256, 0.4533731937408447, 0.48720964789390564, -0.27601003646850586, -0.6491678953170776, 1.0190397500991821, 0.054815471172332764, 0.4715934693813324, 0.4526328444480896, 0.2598419189453125, -0.42687609791755676, -0.4312015175819397, -0.8076897859573364, -0.0158386267721653, -0.6711435914039612, -0.3258437216281891, -0.3714968264102936, 0.06575500965118408, -0.1512407511472702, 0.030590293928980827, -0.44910886883735657, -0.3699510097503662, -0.36204078793525696, 0.10903472453355789, 0.42976757884025574, 0.4897599220275879, 0.29607143998146057, 0.1274503767490387, -0.7794013619422913, 0.40829020738601685, 0.470306396484375, 0.3914095163345337, -0.20779336988925934, -0.5969114303588867, -0.3084578812122345, 0.21625778079032898, -0.3380366265773773, -0.7419496178627014, 0.12374283373355865, 0.24457505345344543, 0.5174559354782104, 0.33901891112327576, -0.08775327354669571, 0.9314504861831665, -0.38500598073005676, 0.7278982400894165, 0.22060443460941315, -0.7172514200210571, 0.5911837816238403, -0.2737080156803131, 0.2739548981189728, 0.7918206453323364, 0.3041718602180481, -0.33295148611068726, -0.13673119246959686, -0.11698626726865768, -0.8641778826713562, 0.5616557598114014, -0.08142372220754623, -0.04570094868540764, 0.1670360118150711, 0.31500735878944397, 0.20378157496452332, 0.3759843707084656, -0.6731559038162231, -0.43959274888038635, -0.49469223618507385, -0.3856959640979767, -0.1277349293231964, -0.284094899892807, -0.23249699175357819, -0.3998424708843231, 0.6476190686225891, -0.4036741852760315, -0.2177956998348236, 0.04219731315970421, -0.1216617301106453, -0.0002380856458330527, 0.3493289053440094, 0.8188420534133911, 0.6950495839118958, -0.25396332144737244, 0.0070027937181293964, -0.1748741865158081, -0.5717452168464661, 0.12914280593395233, 0.15840192139148712, -0.23308448493480682, -0.26998305320739746, 0.2595037817955017, 0.8604034781455994, 0.07210210710763931, -0.5572877526283264, 0.5337144732475281, -0.35683169960975647, -0.025378068909049034, 0.19516123831272125, 0.18350164592266083, -0.00972635205835104, 0.2487691193819046, 0.2333536595106125, 0.11674109846353531, 0.19997909665107727, -0.40069517493247986, 0.04897744953632355, 0.5740784406661987, -0.5896618962287903, 0.016212599352002144, 0.580796480178833, 0.20087116956710815, 0.023792723193764687, 0.5451774001121521, 0.24485467374324799, -0.22876019775867462, 0.3537810742855072, 0.2969505786895752, 0.5588656067848206, -0.03411071375012398, 0.24795767664909363, 0.28848373889923096, 0.3753684163093567, -0.14539532363414764, 0.37252914905548096, 0.001271296525374055, -0.5516529679298401, -0.5055676102638245, -0.6473935842514038, -0.3074580430984497, 0.05567709729075432, -0.8898324370384216, 0.35518547892570496, -0.22781918942928314, -0.2529546916484833, -0.08928774297237396, -0.11661915481090546, -0.6263240575790405, 0.25604453682899475, 0.19769936800003052, 0.6098781824111938, -0.9088082313537598, 0.9659066200256348, 0.8449682593345642, -0.71876460313797, -0.6374297738075256, 0.01662267930805683, 0.15588009357452393, -0.7802824378013611, 0.5534046292304993, 0.054476696997880936, -0.2239125519990921, -0.14125527441501617, -0.43975022435188293, -0.7505853772163391, 1.171021580696106, 0.5214324593544006, -0.7916674017906189, 0.26944783329963684, 0.056437768042087555, 0.5905604362487793, -0.21175222098827362, 0.19745758175849915, 0.5264856815338135, 0.46954724192619324, -0.013411477208137512, -1.00870943069458, -0.2185932993888855, -0.21386095881462097, -0.09793055802583694, 0.25470951199531555, -0.7229187488555908, 0.5826850533485413, -0.11752792447805405, 0.23082123696804047, 0.0016075619496405125, 0.49722209572792053, 0.103250652551651, 0.34527021646499634, 0.3718697428703308, 0.5786179304122925, 0.6458610892295837, -0.22157691419124603, 0.9060767292976379, -0.24673426151275635, 0.20192697644233704, 1.2382694482803345, 0.05937616527080536, 0.9578360915184021, 0.9400689601898193, 0.0643819123506546, 0.2907775640487671, 0.6009589433670044, 0.2909904420375824, 0.6143031120300293, -0.16195780038833618, 0.05696077644824982, -0.4622817039489746, -0.253817617893219, -0.4332036077976227, 0.6414669752120972, 0.16097061336040497, -0.4822099804878235, 0.10195846110582352, 0.01844755932688713, -0.31598785519599915, 0.2539243698120117, -0.22162070870399475, 0.8347129225730896, -0.19421114027500153, -0.70213383436203, 0.8633842468261719, -0.31669750809669495, 0.6666399836540222, -0.5531522035598755, -0.1474170833826065, -0.2781533896923065, 0.09122489392757416, -0.04041557013988495, -0.7635003924369812, -0.017494142055511475, -0.18663389980793, -0.5222676992416382, -0.2039797157049179, 0.5385756492614746, -0.7013261914253235, -0.5029488205909729, 0.06968703866004944, 0.7224058508872986, -0.31110337376594543, 0.13974235951900482, -0.7338263988494873, 0.17510749399662018, 0.0801621526479721, -0.359253466129303, 0.43342018127441406, 0.41067826747894287, -0.06761287897825241, 0.5537628531455994, 0.3399752676486969, -0.19384554028511047, 0.1593133956193924, 0.35302361845970154, 0.958526611328125, -0.5071722865104675, 0.0020997337996959686, -0.8543597459793091, 0.730006992816925, -0.1241675466299057, -0.5430732369422913, 0.695530891418457, 0.5186383128166199, 0.7305864095687866, -0.16665053367614746, 0.5336638689041138, 0.1446899026632309, 0.10971321910619736, -0.8930701017379761, 0.37575486302375793, -0.9259450435638428, 0.1878776252269745, -0.32826173305511475, -0.968124270439148, -0.18660761415958405, 0.36959975957870483, -0.43590018153190613, -0.04538450762629509, 0.6368247270584106, 0.8554530143737793, -0.08688023686408997, -0.19671271741390228, 0.41557446122169495, -0.11665831506252289, 0.03269527852535248, 0.30753517150878906, 0.8786286115646362, -0.3385881185531616, 0.5217846035957336, -0.3332677185535431, -0.3418242335319519, -0.415086954832077, -0.7532805800437927, -0.83453369140625, -0.6504794955253601, -0.2521044611930847, -0.12995173037052155, -0.055018629878759384, 0.957938551902771, 0.6200369000434875, -0.5837842226028442, -0.029901273548603058, 0.3174308240413666, 0.11274329572916031, -0.42323434352874756, -0.2296811193227768, 0.3874969482421875, -0.39845776557922363, -0.8476437926292419, 0.2597149908542633, 0.3735186457633972, 0.20883074402809143, -0.21239209175109863, -0.06567777693271637, -0.1875895857810974, -0.13505195081233978, 0.6890493631362915, 0.009744074195623398, -0.9257177114486694, -0.413006067276001, 0.4683637320995331, -0.2880750894546509, 0.18431039154529572, 0.6862257719039917, -0.5444324016571045, 0.7797232270240784, 0.5577383041381836, 0.6179564595222473, 0.1678890883922577, 0.20947207510471344, 0.531826376914978, -0.783368706703186, 0.153318852186203, 0.029469992965459824, 0.49416446685791016, 0.3892726004123688, -0.35018032789230347, 0.202854186296463, 0.037101127207279205, -0.5469158291816711, -0.5022897124290466, 0.18691007792949677, -1.1323603391647339, -0.23974141478538513, 1.0286073684692383, 0.10407686233520508, -0.2711797058582306, 0.03896106779575348, -0.7023575901985168, 0.17527152597904205, -0.42463743686676025, 0.8142715692520142, 0.7000926733016968, -0.11046556383371353, -0.29931050539016724, -0.591955304145813, 0.5322324633598328, 0.5298367142677307, -0.5883780717849731, 0.2918568551540375, 0.9894898533821106, 0.17789363861083984, 0.07114572823047638, 0.40394484996795654, -0.0442252978682518, 0.4133898615837097, -0.18929423391819, 0.05939890444278717, -0.3376578688621521, -0.5093086361885071, -0.30746567249298096, -0.02401973307132721, 0.2781071066856384, -0.5188089609146118 ]
http://arxiv.org/abs/2402.10882v3
http://arxiv.org/pdf/2402.10882v3
Universal Prompt Optimizer for Safe Text-to-Image Generation
2024-02-16T18:36:36
2024-06-25T05:56:40
Zongyu Wu, Hongcheng Gao, Yueze Wang, Xiang Zhang, Suhang Wang
cs.CV
cs.CV, cs.CL
Text-to-Image (T2I) models have shown great performance in generating images based on textual prompts. However, these models are vulnerable to unsafe input to generate unsafe content like sexual, harassment and illegal-activity images. Existing studies based on image checker, model fine-tuning and embedding blocking are impractical in real-world applications. Hence, we propose the first universal prompt optimizer for safe T2I (POSI) generation in black-box scenario. We first construct a dataset consisting of toxic-clean prompt pairs by GPT-3.5 Turbo. To guide the optimizer to have the ability of converting toxic prompt to clean prompt while preserving semantic information, we design a novel reward function measuring toxicity and text alignment of generated images and train the optimizer through Proximal Policy Optimization. Experiments show that our approach can effectively reduce the likelihood of various T2I models in generating inappropriate images, with no significant impact on text alignment. It is also flexible to be combined with methods to achieve better performance. Our code is available at https://github.com/wzongyu/POSI.
[ 0.010026037693023682, -0.5432004332542419, 0.6648051738739014, 0.20329952239990234, -0.6867461204528809, -0.4267725348472595, 0.1289055347442627, -0.19704174995422363, -0.4103987514972687, 0.3470202386379242, -0.680846631526947, -0.5925396084785461, -0.40387946367263794, 0.15954823791980743, 0.30397242307662964, 0.9752728939056396, 0.2436649352312088, -0.17320853471755981, 0.08695288747549057, 0.21973063051700592, -0.9261462092399597, -0.0318891778588295, -1.245235562324524, 0.16788093745708466, 0.5013578534126282, 0.4627245366573334, 0.6701832413673401, 0.5586225986480713, 0.34078481793403625, 0.21337810158729553, 0.00647309236228466, 0.3038148880004883, -0.5163037180900574, 0.40289735794067383, -0.5070939064025879, -0.06834112852811813, -0.2751603424549103, -0.26227259635925293, 0.29393500089645386, -0.228698268532753, 0.19626706838607788, -0.16137610375881195, 0.06138615310192108, 0.13761888444423676, -0.8968296051025391, -0.2406444251537323, -0.46306872367858887, 0.15098869800567627, 0.055465493351221085, -0.5154902935028076, -0.6515421867370605, -0.6432883739471436, -0.16571302711963654, -0.8008949160575867, -0.22069676220417023, 0.0735023096203804, 1.0238783359527588, 0.4814431071281433, -0.5416278839111328, -0.0522669181227684, -0.5630605816841125, 0.7904452085494995, -0.6430251002311707, -0.20735731720924377, 0.09924666583538055, 0.3234870135784149, -0.31490856409072876, -0.4988499581813812, -0.2987856864929199, -0.033849675208330154, -0.01519810687750578, 0.21211716532707214, -0.3122609853744507, 0.14583232998847961, 0.04200686886906624, -0.15259262919425964, -0.5646752119064331, 0.2191881537437439, 0.005368540994822979, -0.4214727580547333, 0.6730273962020874, 0.3516959547996521, 0.6061071157455444, -0.20890749990940094, -0.4637092053890228, -0.18435804545879364, -0.7356656789779663, 0.23824059963226318, 0.4245613217353821, -0.0383702889084816, 0.06826106458902359, 0.3570724427700043, 0.2402307689189911, 0.28322833776474, 0.03382677584886551, -0.1310620754957199, 0.017590995877981186, -0.5276872515678406, 0.24858886003494263, -0.026087801903486252, 1.1927375793457031, 0.8890539407730103, 0.35782355070114136, -0.1749696135520935, -0.2928512394428253, 0.28068700432777405, 0.4044685661792755, -1.400506615638733, 0.014254539273679256, 0.22949384152889252, -0.25162196159362793, -1.035882830619812, 0.018028996884822845, -0.9807058572769165, -0.4866490364074707, 0.2078441083431244, 0.4702877998352051, -0.4806372821331024, -0.27850568294525146, -0.129823237657547, -0.19563671946525574, 0.0760035291314125, 0.10855187475681305, -0.5440106391906738, -0.2083175778388977, 0.5373308062553406, 0.6394329071044922, -0.026257790625095367, 0.05771433562040329, -0.888985812664032, 0.33166956901550293, -0.47746542096138, 0.7322232127189636, -0.3825512230396271, -0.5744191408157349, 0.21029962599277496, 0.060510676354169846, 0.25871697068214417, -0.19741767644882202, 0.8537600040435791, -0.29468172788619995, 0.22864492237567902, -0.16788487136363983, -0.1795724332332611, 0.2998158931732178, 0.05741233378648758, -0.4085426926612854, 0.6483742594718933, -0.09587807953357697, -0.9770616888999939, 0.3456414043903351, -0.7401066422462463, -0.38398751616477966, 0.20118705928325653, -0.13833339512348175, -0.7928319573402405, -0.050038039684295654, 0.10519470274448395, 0.2332269698381424, -0.22663992643356323, 0.5846520066261292, -0.2478688359260559, -0.48277074098587036, 0.13946254551410675, -0.37983444333076477, 0.8285523653030396, 0.40379947423934937, -0.46674951910972595, 0.44496142864227295, -0.5051243901252747, 0.024818483740091324, 0.5274402499198914, -0.0027536724228411913, -0.4147573411464691, 0.08945706486701965, 0.28624966740608215, 0.2843455970287323, 0.04433169215917587, -0.9550833106040955, -0.08149280399084091, -0.07912714034318924, 0.48823168873786926, 0.8266319632530212, 0.41529470682144165, 0.3501635789871216, -0.2212124615907669, 0.3345794379711151, 0.14107684791088104, 0.3517596125602722, -0.45497873425483704, -0.6264538168907166, -0.1467369794845581, -0.1564425826072693, 0.17082293331623077, 1.0160486698150635, -0.7631636261940002, 0.692126989364624, 0.06101488322019577, -0.31765422224998474, -0.30732762813568115, -0.3196195662021637, 0.7738162875175476, 0.7315378785133362, 0.10857632011175156, -0.11656724661588669, -0.06376025080680847, -0.8642802238464355, -0.1734088659286499, 0.02056463249027729, -0.4236006736755371, 0.19915328919887543, 0.366330087184906, -0.1969388872385025, 0.7266038656234741, -0.4686901867389679, -0.2675158381462097, 0.1798265129327774, 0.07850886136293411, -0.148000568151474, 0.8512890338897705, 0.6991287469863892, -0.6356422901153564, -0.17615839838981628, -0.18972377479076385, -0.6881332993507385, -0.23666627705097198, -0.17757107317447662, -0.5264316201210022, 0.2798554301261902, 0.3767071068286896, -0.4155898690223694, 0.5593938231468201, 0.05318686366081238, -0.8463357090950012, 0.5079845786094666, -0.42541995644569397, 0.25755825638771057, -1.2993628978729248, 0.3674141764640808, 0.23316487669944763, -0.1649218201637268, -0.6239885687828064, 0.10299094021320343, 0.37148162722587585, -0.5865627527236938, -0.5896753668785095, 0.6858135461807251, -0.1256929188966751, 0.5312872529029846, -0.01943477801978588, -0.1404157131910324, 0.006459953263401985, 0.3872164785861969, 0.03455529734492302, 1.0026006698608398, 0.6356209516525269, -0.49795299768447876, -0.10022301226854324, 0.3904281556606293, -0.07650578022003174, 0.8993351459503174, -0.8568967580795288, 0.3608682155609131, -0.33334171772003174, -0.02977648191154003, -1.1431678533554077, -0.41457486152648926, 0.6269447207450867, -0.3558522164821625, 0.5101017951965332, 0.059128716588020325, -0.33086860179901123, -0.31368380784988403, -0.5542171597480774, 0.39519330859184265, 0.8044760227203369, -0.4964568316936493, 0.09791526943445206, 0.16559962928295135, -0.14458639919757843, -0.6461316347122192, -0.5738220810890198, 0.1292085349559784, -0.26395612955093384, -0.7637942433357239, 0.3693983852863312, -0.13505035638809204, 0.08630052208900452, 0.07336506992578506, -0.07878412306308746, -0.06143626943230629, 0.10392697900533676, 0.1999136507511139, 0.44043922424316406, -0.03508570045232773, -0.09103313833475113, 0.501599907875061, -0.5485524535179138, 0.07466626167297363, -0.23528161644935608, 0.10317736864089966, 0.07956644147634506, -0.056288182735443115, -0.8788052201271057, 0.6754653453826904, 0.3090704083442688, -0.3007715344429016, 0.5503804683685303, 0.569478452205658, -0.43246957659721375, -0.10801801085472107, -0.1889985054731369, -0.02689271792769432, -0.544640064239502, 0.40279608964920044, -0.2676026523113251, -0.6673406362533569, 0.16069288551807404, -0.005205444525927305, 0.294266015291214, 0.23232072591781616, 0.22792282700538635, 0.050372764468193054, 1.320338249206543, 0.4077516794204712, 0.20604990422725677, 0.4315366744995117, 0.03651493042707443, 0.26099228858947754, -0.3932269215583801, -0.3492911159992218, -0.5238635540008545, -0.17202520370483398, -0.4063093960285187, -0.0731535404920578, 0.5314664840698242, -0.01756884716451168, -0.8153839111328125, 0.04981176555156708, -0.9512833952903748, 0.7528131008148193, 0.49914073944091797, 0.3618602454662323, 0.024910518899559975, 0.15891112387180328, -0.10141701251268387, -0.19556376338005066, -0.3821631371974945, -0.7402905225753784, 0.7706899046897888, 0.21007613837718964, 0.7043331265449524, -0.14525069296360016, 0.6887964606285095, 0.29061001539230347, 0.10050924122333527, -0.3628561198711395, 0.6582472920417786, -0.3335663676261902, -0.3283669054508209, -0.30098897218704224, -0.3600706458091736, -1.0015991926193237, 0.059756871312856674, -0.3164350688457489, -0.7075368762016296, 0.13543467223644257, 0.2605660855770111, -0.3671351969242096, 0.44884228706359863, -0.8258179426193237, 1.1163214445114136, -0.27750563621520996, -0.6752468347549438, 0.17563067376613617, -0.656849205493927, 0.30930230021476746, 0.03315066918730736, 0.05439048632979393, 0.044882286339998245, -0.37872961163520813, 0.38597238063812256, -0.39764392375946045, 0.5695595145225525, -0.5710923075675964, -0.171116441488266, 0.3171977698802948, 0.3262255787849426, 0.5692548751831055, 0.16856485605239868, -0.14382678270339966, 0.042454466223716736, -0.13509337604045868, -0.51270991563797, -0.1644536554813385, 0.6177309155464172, -0.6034110188484192, -0.47502562403678894, -0.12209925800561905, -0.42647671699523926, -0.02406548149883747, 0.3179264962673187, 0.9200445413589478, 0.48341163992881775, -0.10894059389829636, -0.24871540069580078, 0.732578456401825, -0.6104770302772522, 0.6204348802566528, 0.16049708425998688, 0.30190327763557434, -0.6190395355224609, 1.1778788566589355, -0.3809480667114258, 0.0794944018125534, 0.2325110137462616, 0.2660538852214813, -0.3565560579299927, -0.5281475782394409, -0.7168883681297302, 0.18772447109222412, -0.41087549924850464, -0.5706427693367004, -0.3676014542579651, -0.09173095226287842, -0.26930949091911316, -0.4079881012439728, -0.011759057641029358, -0.11240217834711075, -0.621681809425354, 0.10949002951383591, 0.16234534978866577, 0.5166753530502319, 0.07499665021896362, 0.2837207019329071, -0.7686827182769775, 0.18662889301776886, 0.2608017921447754, 0.5788565874099731, -0.20463784039020538, -0.11911917477846146, 0.4156845808029175, -0.08299683779478073, -0.6865611672401428, -1.0757157802581787, 0.3197144865989685, 0.12069770693778992, 0.18446794152259827, 0.6245948672294617, 0.46627986431121826, 0.2863451838493347, -0.5963059067726135, 0.7613307237625122, 0.5603031516075134, -0.6780527830123901, 0.8231492042541504, -0.6521801352500916, 0.10578227043151855, 0.5011603832244873, 0.19685904681682587, -0.34011155366897583, -0.6365179419517517, -0.37518733739852905, -0.7435038089752197, 0.7778895497322083, 0.4236008822917938, 0.07995046675205231, -0.04023392125964165, 0.4147125482559204, 0.19102256000041962, 0.010025149211287498, -0.4021741449832916, -0.11716511845588684, -0.42176496982574463, -0.5246385931968689, 0.20443786680698395, -0.5251227617263794, 0.015201318077743053, 0.28336143493652344, 0.6313723921775818, -0.059480346739292145, 0.33785903453826904, 0.2746342122554779, 0.07739785313606262, -0.519348680973053, 0.5792855024337769, 0.4216551184654236, 0.10309431701898575, -0.15361909568309784, -0.1468578428030014, -0.17275434732437134, -0.44826680421829224, 0.5351499319076538, 0.0203431136906147, -0.7780920267105103, -0.16802608966827393, -0.16898535192012787, 0.9842589497566223, 0.003035474568605423, -0.6148693561553955, 0.7976735830307007, -0.24486970901489258, -0.4041363298892975, -0.0351082906126976, 0.4125570058822632, -0.24707335233688354, 0.14724773168563843, 0.2406173199415207, 0.27871036529541016, 0.22368820011615753, -0.0618802085518837, 0.12064750492572784, 0.4210508167743683, -0.36004889011383057, -0.21698080003261566, 1.2447878122329712, 0.5902777910232544, -0.5953062176704407, 0.4605017900466919, -0.6936858892440796, -0.2449309229850769, 0.6311187148094177, 0.8729525208473206, 1.033270239830017, -0.42185091972351074, 0.4175196886062622, 0.7576058506965637, 0.30840185284614563, 0.06849770992994308, 0.39347782731056213, 0.17124293744564056, -0.3718070685863495, -0.14994706213474274, -0.1961805522441864, -0.32477375864982605, 0.2310773879289627, -0.30065757036209106, 0.47211888432502747, -0.4953185021877289, -0.19880907237529755, -0.11538083851337433, -0.17457450926303864, -0.401946097612381, 0.21977201104164124, 0.19657348096370697, 0.6597937345504761, -0.7982727289199829, 0.35538408160209656, 0.8255334496498108, -0.3181014358997345, -0.7020996809005737, -0.11147645115852356, 0.08245058357715607, -0.4332706928253174, -0.017737919464707375, 0.48955583572387695, 0.17669335007667542, 0.0665736272931099, -0.6414545774459839, -0.31192484498023987, 1.040392518043518, 0.5267935395240784, -0.5884523391723633, -0.1597876250743866, 0.0688212588429451, 0.29193705320358276, -0.2657982110977173, 0.3421727120876312, 0.41330474615097046, 0.45508313179016113, 0.22703154385089874, -0.43098193407058716, 0.5726235508918762, -0.6284449696540833, 0.3786871135234833, 0.4002112150192261, -0.43596190214157104, 0.34885677695274353, -0.5156132578849792, -0.5209640264511108, 0.4863587021827698, 0.28551051020622253, 0.4865868091583252, 0.5525416731834412, 0.6306777000427246, 0.4797585606575012, 0.6536924839019775, -0.2590811550617218, 1.0467438697814941, -0.013053609058260918, -0.04782538861036301, 0.5462983846664429, -0.12040950357913971, 0.38827502727508545, 0.22212617099285126, 0.3953743577003479, 0.27965736389160156, 0.6689093112945557, -0.2945200800895691, 0.7522797584533691, 0.06916345655918121, -0.27331826090812683, -0.23821274936199188, -0.4187054932117462, -0.26809367537498474, -0.24178913235664368, 0.1715731918811798, -0.1310010552406311, -0.3343794643878937, 0.0834571048617363, 0.23576587438583374, 0.10675168037414551, -0.30394917726516724, 0.7368726134300232, -0.32990846037864685, -0.8410696983337402, 0.4777136743068695, -0.053264737129211426, 0.9300503134727478, -0.4659951627254486, 0.04452770575881004, -0.10865365713834763, 0.12331348657608032, -0.11511167883872986, -0.9591095447540283, 0.17354533076286316, 0.20803722739219666, 0.11903566122055054, -0.06487628817558289, 1.1214861869812012, -0.44169068336486816, -0.21602578461170197, 0.009307478554546833, -0.09664485603570938, 0.016757672652602196, 0.05095431208610535, -0.5618748068809509, -0.19034737348556519, 0.11653554439544678, -0.18626418709754944, 0.2789992094039917, 0.5933951735496521, -0.2531275749206543, 0.27778366208076477, 0.5349629521369934, -0.1119479238986969, -0.266635537147522, -0.07540100812911987, 0.5966222882270813, -0.6744120717048645, -0.8281599283218384, -0.6214227676391602, 0.8711280822753906, -0.2233564853668213, -0.5196022391319275, 0.051273737102746964, 0.28001388907432556, 0.373767614364624, -0.18020790815353394, 0.7674176692962646, -0.015991508960723877, 0.015094384551048279, -0.30244219303131104, 0.9232050180435181, -0.6727418303489685, -0.27609917521476746, -0.4544166326522827, -0.698581874370575, -0.2987073063850403, 0.2739073634147644, -0.045354459434747696, -0.28864362835884094, 0.6257582902908325, 1.046281099319458, 0.18556039035320282, 0.21804556250572205, 0.14922647178173065, -0.23823541402816772, 0.40199464559555054, 0.8866094946861267, 0.7372329831123352, -0.4016090929508209, 0.9331372380256653, -0.31916430592536926, -0.42775559425354004, 0.13845455646514893, -1.2097783088684082, -0.8659753799438477, -0.37581875920295715, -0.42259979248046875, -0.47511613368988037, 0.20803257822990417, 0.6016921401023865, 0.536736249923706, -0.8176316618919373, 0.2458924651145935, -0.24044401943683624, -0.07398465275764465, 0.12975193560123444, -0.19674433767795563, 0.3657139241695404, -0.5361472964286804, -0.5952554941177368, 0.012967381626367569, 0.2542569041252136, 0.23815752565860748, 0.2688831388950348, -0.32151028513908386, 0.37499576807022095, 0.1403420865535736, 0.29750293493270874, 0.19297800958156586, -0.396821528673172, -0.24207770824432373, -0.06712877005338669, -0.2804487347602844, 0.03409885615110397, 0.706754207611084, -0.29540058970451355, 0.3131067752838135, 0.3198103904724121, 0.7095106244087219, 0.045845672488212585, 0.02587858773767948, 0.4317902624607086, -0.6891970038414001, 0.29649004340171814, 0.24154604971408844, 0.22221632301807404, 0.3097859025001526, -0.7333955764770508, 0.46660107374191284, 0.07648663222789764, -0.6475399136543274, -0.8518377542495728, 0.20531274378299713, -0.8452314734458923, -0.2886120080947876, 1.1766681671142578, -0.0370580218732357, -0.4745982587337494, 0.05415162444114685, -0.7483735680580139, 0.44952332973480225, -0.8660685420036316, 0.6061886548995972, 0.15592586994171143, 0.28677377104759216, -0.15272080898284912, -0.11076553910970688, 0.5493663549423218, 0.3691163659095764, -0.9957359433174133, -0.2794021964073181, 0.6463693976402283, 0.2919889986515045, 0.03908024728298187, 0.48393702507019043, -0.3118748962879181, 0.6753062605857849, -0.00507798045873642, -0.0011213164543733, -0.4559294283390045, -0.2148946076631546, -0.30207347869873047, 0.19714882969856262, -0.24862168729305267, -0.5875130891799927 ]
http://arxiv.org/abs/2402.11005v2
http://arxiv.org/pdf/2402.11005v2
Exploring Value Biases: How LLMs Deviate Towards the Ideal
2024-02-16T18:28:43
2024-02-21T22:02:18
Sarath Sivaprasad, Pramod Kaushik, Sahar Abdelnabi, Mario Fritz
cs.CL
cs.CL, cs.AI
Large-Language-Models (LLMs) are deployed in a wide range of applications, and their response has an increasing social impact. Understanding the non-deliberate(ive) mechanism of LLMs in giving responses is essential in explaining their performance and discerning their biases in real-world applications. This is analogous to human studies, where such inadvertent responses are referred to as sampling. We study this sampling of LLMs in light of value bias and show that the sampling of LLMs tends to favour high-value options. Value bias corresponds to this shift of response from the most likely towards an ideal value represented in the LLM. In fact, this effect can be reproduced even with new entities learnt via in-context prompting. We show that this bias manifests in unexpected places and has implications on relevant application scenarios, like choosing exemplars. The results show that value bias is strong in LLMs across different categories, similar to the results found in human studies.
[ -0.4227168560028076, -0.6445767879486084, 0.565851092338562, -0.2290608286857605, -0.1380840688943863, -0.04170442000031471, -0.1316942572593689, -0.7065868973731995, 0.4812931418418884, 0.6983432769775391, -0.3824658691883087, -0.23740890622138977, -0.5375709533691406, -0.08822698891162872, -0.4020543694496155, 0.9891481995582581, 0.014672582969069481, 0.21997076272964478, -0.23502489924430847, -0.3013233542442322, -0.29115939140319824, -0.8109301924705505, -0.5933129191398621, -0.5078974366188049, 0.5413342714309692, 0.26440349221229553, 0.6231673955917358, 0.4923655092716217, 0.18260672688484192, 0.06744786351919174, -0.07890685647726059, -0.12074247002601624, -0.9375903010368347, 0.199782595038414, -0.22067944705486298, -0.9094390869140625, -0.2905827760696411, 0.558533251285553, 0.5373370051383972, 0.7905598878860474, 0.273959219455719, 0.4937831461429596, 0.1008036732673645, 0.7068620324134827, -0.9176369309425354, 0.11768479645252228, -0.7380423545837402, -0.029330050572752953, -0.2800230085849762, -0.22899940609931946, -0.5041976571083069, -0.5015235543251038, 0.14433567225933075, -0.3737671673297882, 0.12131930142641068, 0.11409540474414825, 0.8538806438446045, 0.010420183651149273, -0.45528513193130493, -0.3367617130279541, -0.6236492395401001, 1.0512372255325317, -0.5529406070709229, 0.1556396335363388, 0.3473750650882721, 0.1959458589553833, -0.22025005519390106, -0.18128813803195953, -0.45508530735969543, -0.2470570206642151, 0.212262824177742, -0.02872617356479168, 0.1804017275571823, 0.07148437201976776, 0.33914485573768616, 0.45383697748184204, 0.050467804074287415, 0.35792040824890137, -0.32044604420661926, 0.10879293084144592, 0.7737547755241394, -0.013830532319843769, -0.05937628075480461, -0.2161882519721985, -0.26847174763679504, -0.29429519176483154, -1.2233184576034546, 0.37761521339416504, 0.7370353937149048, 0.2955194413661957, 0.12479611486196518, 0.8893874883651733, -0.09497518837451935, 0.7614254355430603, 0.07635941356420517, -0.08468335121870041, 0.15175074338912964, -0.13331840932369232, -0.37491360306739807, 0.12304965406656265, 0.4761960208415985, 0.49099573493003845, 0.7791716456413269, 0.29552769660949707, -0.4569595158100128, -0.043518856167793274, 0.28189924359321594, -0.6270626187324524, 0.2455282062292099, 0.15361708402633667, -0.6547641754150391, -0.5832748413085938, -0.059920039027929306, -0.7123804688453674, -0.25558048486709595, -0.4386575222015381, 0.23876990377902985, -0.08139920979738235, -0.22820407152175903, 0.17451657354831696, -0.15343448519706726, 0.3328383266925812, 0.27920767664909363, -1.043033480644226, 0.22412163019180298, 0.4476011097431183, 0.43795013427734375, -0.3921995460987091, 0.005949815269559622, -0.5089341998100281, -0.009124155156314373, -0.574776291847229, 0.9205428957939148, -0.6938347220420837, -0.8295922875404358, 0.17958644032478333, -0.2561120092868805, 0.36460965871810913, -0.8285834193229675, 0.629136323928833, -0.7750651240348816, 0.02384304255247116, -0.6240944862365723, -0.5588365793228149, -0.07867434620857239, 0.2665632963180542, -0.7263035774230957, 1.2059053182601929, 0.14602543413639069, -0.5697075724601746, 0.8864395022392273, -0.6501889228820801, -0.1794232726097107, -0.23430757224559784, -0.5862443447113037, -0.19350935518741608, 0.46984732151031494, -0.07306323200464249, 0.3464726209640503, -0.3782632648944855, -0.045497920364141464, -0.7015241980552673, -0.46227556467056274, 0.7496854066848755, -0.7349943518638611, 0.6861197352409363, 0.2153240144252777, -0.24876604974269867, 0.07030252367258072, -0.6461560726165771, 0.10636251419782639, 0.245713010430336, -0.2666439414024353, -0.903605580329895, 0.021041253581643105, 0.08268605917692184, 0.39778292179107666, -0.006592556368559599, -0.3396526873111725, 0.25184813141822815, -0.3343922793865204, 0.2475321739912033, 1.1121069192886353, 0.011454666033387184, 0.5579691529273987, -0.4315715432167053, 0.46364158391952515, -0.09307389706373215, 0.06853192299604416, 0.16817007958889008, -0.13595986366271973, -0.5181134343147278, -0.1258794665336609, 0.2295842468738556, 0.023384111002087593, -0.24733887612819672, 0.0060827466659247875, -0.1705801635980606, 0.0513584166765213, -0.7025112509727478, 0.022564290091395378, 0.058150533586740494, 0.23091718554496765, 0.04471474513411522, -0.19075238704681396, -0.3388839066028595, -1.163354754447937, -0.4569278359413147, -0.30029216408729553, -0.09666404128074646, 0.49808862805366516, 0.35270121693611145, -0.029936186969280243, 1.247435212135315, -0.507766604423523, 0.11247167736291885, -0.3181006908416748, 0.002764275297522545, 0.16899573802947998, -0.042097385972738266, 0.5394320487976074, -0.9207744598388672, -0.08744427561759949, -0.5421271324157715, -0.49335426092147827, -0.3958427309989929, -0.10537038743495941, -0.3175129294395447, 0.29954230785369873, 0.3773048222064972, -0.37897589802742004, 0.28439033031463623, 0.4103257358074188, -0.10731398314237595, 0.6634441018104553, 0.0711950734257698, 0.08315697312355042, -1.079767107963562, -0.014918657019734383, 0.25570228695869446, -0.017717452719807625, -0.2589254379272461, -0.04881343990564346, 0.009038863703608513, 0.4657205045223236, -0.5999530553817749, 0.8315646648406982, -0.5265063047409058, -0.44888871908187866, -0.4669629633426666, 0.20214393734931946, 0.016630111262202263, -0.10976309329271317, 0.2207891345024109, 0.7718006372451782, 0.03571264073252678, -0.770806610584259, 0.0780845358967781, -0.017080608755350113, -0.29840126633644104, 0.862702488899231, -0.4108715057373047, -0.03572962060570717, -0.2710140645503998, 0.2836798429489136, -0.9149605631828308, -0.2263592630624771, -0.03653274476528168, -0.3289438784122467, 0.1386040598154068, -0.18783271312713623, -0.3979323208332062, -0.3255445659160614, -0.5252465009689331, 0.46114134788513184, 0.4931212067604065, -0.5081216096878052, 0.078488789498806, 0.6943165063858032, -0.04942182078957558, -0.7145782709121704, -0.48981326818466187, -0.0073959254659712315, -0.3420364260673523, -0.2601546049118042, 0.09280136227607727, -0.1545782834291458, -0.8560153841972351, -0.1235252246260643, -0.1179351806640625, 0.17300641536712646, -0.03437846153974533, 0.35355144739151, 0.5249035954475403, 0.01814962364733219, 0.16264455020427704, -0.020062366500496864, 0.014555915258824825, 0.31647202372550964, -0.3968163728713989, 0.5883389115333557, 0.20214702188968658, -0.7617420554161072, 0.016330957412719727, 0.2158006876707077, 0.7541075944900513, 0.014383343979716301, 0.5439190864562988, 0.03524331375956535, -0.2947734296321869, -0.32054880261421204, -0.6876992583274841, -0.44607600569725037, -0.4438144564628601, 0.3323986232280731, -0.4506927728652954, -0.8057491183280945, 0.2320696860551834, 0.15061156451702118, 0.27212026715278625, 0.18662340939044952, 0.765691339969635, -0.22332178056240082, 0.9125247001647949, 0.5030691623687744, -0.23185394704341888, 0.6126605868339539, -0.28184571862220764, 0.27290958166122437, -0.9932723045349121, 0.04796373471617699, -0.40076717734336853, -0.39871692657470703, -0.5954245328903198, -0.37654510140419006, 0.42489999532699585, -0.056707486510276794, 0.04803672060370445, -0.3705786168575287, -0.2857140004634857, 0.6223548650741577, 0.6620143055915833, -0.10085762292146683, 0.23633219301700592, 0.007402775343507528, -0.032596368342638016, -0.1068829596042633, -0.481548935174942, -0.8561936616897583, 1.4051401615142822, 0.2735549211502075, 1.1095794439315796, -0.24108079075813293, 0.6128755211830139, 0.1318719983100891, 0.5338282585144043, -1.0497915744781494, 0.5019675493240356, 0.4223925769329071, -0.7767045497894287, -0.42608028650283813, -0.12617366015911102, -0.9863491058349609, 0.348537415266037, -0.17381702363491058, -0.5708028674125671, 0.20345771312713623, 0.23788520693778992, -0.39606884121894836, 0.380935400724411, -0.4541366994380951, 0.3267329931259155, -0.35373103618621826, -0.6475660800933838, -0.19932958483695984, -0.4975833594799042, 0.3957165479660034, -0.06566209346055984, 0.35628873109817505, -0.33340057730674744, 0.21038711071014404, 0.46502119302749634, 0.1582375466823578, 0.8653857707977295, -0.02231425791978836, -0.3321044445037842, 0.28200748562812805, 0.17052766680717468, 0.48279356956481934, 0.24576081335544586, -0.4091120958328247, -0.0959925651550293, -0.13161711394786835, -0.6277487277984619, -0.3592155873775482, 0.5145424604415894, -0.7817177176475525, -0.6530807614326477, -0.4970974028110504, -0.649385392665863, -0.2904055416584015, 0.015392034314572811, 0.29191482067108154, 0.17050762474536896, -0.4515777826309204, 0.03271394222974777, 1.0673362016677856, -0.2947128415107727, 0.28600725531578064, 0.4132509231567383, -0.3027549684047699, 0.12252229452133179, 0.24024447798728943, 0.44746267795562744, 0.888205349445343, 0.3575178384780884, 0.13922008872032166, -0.6271599531173706, -0.49309805035591125, -0.5362043976783752, 0.11778420209884644, -0.6691235899925232, 0.2117699235677719, -0.5361533164978027, -0.05306772515177727, -0.41733720898628235, -0.433769166469574, -0.39158645272254944, -0.2637172043323517, -0.26900821924209595, -0.5506592392921448, 0.2241169661283493, 0.7453543543815613, 0.023846784606575966, -0.21126782894134521, -0.41821804642677307, 0.279251366853714, 0.41287797689437866, 0.2224465310573578, -0.012459304183721542, -0.47784215211868286, -0.10375872999429703, 0.30902373790740967, -0.13198387622833252, -0.8365334272384644, 0.3579077124595642, -0.30797040462493896, 0.8766322731971741, 0.5492100119590759, 0.16120712459087372, 0.3303380608558655, -0.30396753549575806, 0.8663767576217651, -0.21073110401630402, -0.7018547058105469, 0.3852618634700775, -0.35823461413383484, 0.1463603526353836, 0.6720792055130005, 0.2843809723854065, -0.8094642758369446, -0.29540154337882996, -0.561623215675354, -0.9517410397529602, 0.5360054969787598, -0.1509401649236679, 0.3904050290584564, -0.11132926493883133, 0.5744551420211792, 0.23181745409965515, 0.43174615502357483, -1.1356585025787354, -0.2907472848892212, -0.008482052013278008, 0.021583931520581245, -0.0967966616153717, -0.5236092805862427, -0.3128955066204071, 0.20812250673770905, 0.5782487392425537, -0.21837876737117767, 0.30455586314201355, 0.0444914847612381, -0.18554772436618805, -0.23853833973407745, 0.5970715880393982, 0.6633927822113037, 0.6661226749420166, -0.2486364096403122, 0.314291387796402, 0.23714180290699005, -0.1702398955821991, 0.34251806139945984, -0.30814799666404724, -0.2621748149394989, -0.1580805629491806, -0.02955504320561886, 0.6458339095115662, 0.1499129980802536, -0.7425052523612976, 0.4781726598739624, 0.20560091733932495, 0.011478728614747524, -0.32631561160087585, 0.11435332149267197, 0.0036214562132954597, -0.07126051187515259, 0.40127456188201904, -0.22883588075637817, 0.2680053412914276, -0.8301364779472351, -0.14717444777488708, 0.7643866539001465, -0.42736580967903137, -0.25186118483543396, 0.5338809490203857, 0.07709772139787674, -0.19936805963516235, 0.3557899296283722, -0.28100818395614624, -0.18930396437644958, 0.620922327041626, 0.594933807849884, 0.7276871204376221, 0.06287944316864014, 0.13644646108150482, -0.021513398736715317, 0.24410896003246307, -0.13678857684135437, 0.2741909325122833, 0.16885864734649658, -0.9626457095146179, -0.38985735177993774, -0.6298484802246094, -0.5206195712089539, 0.30925995111465454, -0.8334106802940369, 0.24857664108276367, -0.03484548628330231, -0.13111339509487152, -0.2681211829185486, -0.3592052161693573, -0.5474443435668945, 0.1863124668598175, 0.27421697974205017, 0.9420109391212463, -0.9188761115074158, 0.8275856375694275, 0.6931240558624268, -0.2939431965351105, -0.7511422634124756, 0.19390395283699036, 0.2161780595779419, -1.167153239250183, 0.9366927742958069, 0.08382700383663177, -0.23290422558784485, -0.26062965393066406, -0.5807430148124695, -0.9421563744544983, 0.7380742430686951, 0.36684393882751465, -0.26083245873451233, -0.1687532216310501, 0.4911816120147705, 0.38532140851020813, -0.39244237542152405, 0.47381630539894104, 0.6795666813850403, 0.4416768252849579, 0.017842138186097145, -0.7818154096603394, -0.13718412816524506, -0.09388694912195206, 0.2854510545730591, 0.33505991101264954, -0.7731376886367798, 0.7290422916412354, -0.20842145383358002, 0.14505206048488617, -0.39623984694480896, 0.36429569125175476, 0.5873969197273254, 0.18762338161468506, 0.387740820646286, 0.3052709102630615, 0.6818290948867798, 0.05938030779361725, 1.1393115520477295, -0.34741783142089844, 0.11979452520608902, 0.8580478429794312, -0.6657717823982239, 0.8174617886543274, 0.920290470123291, -0.19069679081439972, 0.1753404289484024, 0.9957771897315979, 0.30969053506851196, 0.3865589201450348, 0.6647129654884338, -0.5009829998016357, 0.05145274102687836, -0.20056773722171783, -0.2560155987739563, 0.2803557515144348, 0.5227311253547668, -0.567672610282898, 0.01670919358730316, -0.07515321671962738, 0.12311255186796188, -0.0869174599647522, -0.464726060628891, 0.6302947402000427, 0.3089715540409088, -0.7933089733123779, 0.44653335213661194, -0.1561843603849411, 0.808709442615509, -0.4898817837238312, 0.07672234624624252, -0.04634203761816025, 0.07102809846401215, -0.09808994829654694, -0.8738166093826294, 0.10914963483810425, -0.2625112235546112, -0.3565486967563629, -0.5352963805198669, 0.5748372077941895, -0.20325212180614471, -0.2762523591518402, 0.28047114610671997, 0.7316363453865051, 0.037392426282167435, 0.02724282257258892, -0.37468892335891724, -0.06400355696678162, 0.07030559331178665, -0.4944811463356018, 0.6001831889152527, 0.4063199460506439, -0.31033918261528015, 0.5769866704940796, 0.6779773831367493, 0.3565462529659271, 0.11291272193193436, 0.014627029187977314, 0.5054442882537842, -0.5721388459205627, -0.42258432507514954, -1.0739926099777222, 0.23332186043262482, -0.22194497287273407, -0.30711302161216736, 0.7349684238433838, 0.6779161095619202, 1.174060344696045, 0.02513374201953411, 1.0982109308242798, 0.40958917140960693, 0.4206177890300751, -0.6407340168952942, 0.5322032570838928, -0.3035719692707062, 0.43206965923309326, -0.29057279229164124, -0.9040646553039551, 0.04085664451122284, 0.6873583197593689, -0.750779390335083, 0.09024837613105774, 0.4351382851600647, 0.6021638512611389, 0.05127912387251854, -0.013658899813890457, 0.3044140338897705, -0.028315044939517975, 0.5323665142059326, 0.2934136688709259, 0.9611949324607849, 0.1525968313217163, 0.17375509440898895, 0.234819695353508, -0.36310985684394836, -0.5030779838562012, -0.9455079436302185, -0.7105258107185364, -0.21399082243442535, 0.11371336132287979, -0.4400973618030548, 0.14439848065376282, 1.5209747552871704, 0.8062667846679688, -0.569044828414917, -0.6407032608985901, 0.1398373544216156, 0.07533716410398483, 0.049069005995988846, -0.24218791723251343, 0.021882755681872368, -0.3428156077861786, -0.968097984790802, 0.007243825122714043, 0.38065850734710693, 0.3434264361858368, -0.4761969745159149, 0.13851340115070343, 0.10052599757909775, 0.5348560810089111, 0.7549514770507812, 0.18467086553573608, -0.5505380034446716, -0.327084481716156, 0.1267411857843399, -0.3280477821826935, 0.33218997716903687, 0.8863952159881592, -0.7903182506561279, 0.28580668568611145, 0.2969232499599457, 0.592953085899353, 0.5136059522628784, -0.28618550300598145, 0.763424277305603, -0.5142946839332581, 0.08930898457765579, 0.4060971438884735, 0.37294748425483704, 0.08468275517225266, -0.39691296219825745, 0.32218489050865173, 0.22562849521636963, -0.551020622253418, -0.9157781004905701, 0.6342769265174866, -0.6659345030784607, -0.3194984495639801, 1.583638310432434, 0.37858137488365173, -0.043020520359277725, -0.00847425777465105, -0.38303983211517334, 0.009456949308514595, -0.4468858242034912, 1.1572859287261963, 1.0260542631149292, -0.48413392901420593, 0.03113633580505848, -0.9896883368492126, 0.4530109465122223, 0.43875694274902344, -0.949899435043335, 0.01912018097937107, 0.6434943079948425, 0.3938477337360382, -0.08070401847362518, 0.8246681690216064, -0.26166531443595886, 0.005957452114671469, -0.38023650646209717, 0.22228799760341644, 0.33794498443603516, 0.12918627262115479, -0.3343653380870819, 0.23758268356323242, 0.641785740852356, 0.0058102961629629135 ]
http://arxiv.org/abs/2402.10866v2
http://arxiv.org/pdf/2402.10866v2
EcoRank: Budget-Constrained Text Re-ranking Using Large Language Models
2024-02-16T18:03:42
2024-05-28T02:34:57
Muhammad Shihab Rashid, Jannat Ara Meem, Yue Dong, Vagelis Hristidis
cs.CL
cs.CL
Large Language Models (LLMs) have achieved state-of-the-art performance in text re-ranking. This process includes queries and candidate passages in the prompts, utilizing pointwise, listwise, and pairwise prompting strategies. A limitation of these ranking strategies with LLMs is their cost: the process can become expensive due to API charges, which are based on the number of input and output tokens. We study how to maximize the re-ranking performance given a budget, by navigating the vast search spaces of prompt choices, LLM APIs, and budget splits. We propose a suite of budget-constrained methods to perform text re-ranking using a set of LLM APIs. Our most efficient method, called EcoRank, is a two-layered pipeline that jointly optimizes decisions regarding budget allocation across prompt strategies and LLM APIs. Our experimental results on four popular QA and passage reranking datasets show that EcoRank outperforms other budget-aware supervised and unsupervised baselines.
[ -0.24757009744644165, -0.6214017271995544, 0.8068352341651917, 0.31905895471572876, -0.24509207904338837, 0.32781359553337097, -0.17729441821575165, -0.21460150182247162, 0.28626638650894165, 0.646173894405365, -0.6582867503166199, -0.49425044655799866, -0.3706567585468292, 0.4079119563102722, -0.18953154981136322, 0.7162932753562927, 0.10202455520629883, -0.0768233984708786, -0.45312219858169556, -0.11682921648025513, -0.26492437720298767, -0.6472634077072144, -0.8303778767585754, -0.2870346009731293, 1.0840299129486084, 0.5386824607849121, 0.42709705233573914, 0.8256589770317078, 0.4784631133079529, 0.28513672947883606, -0.34216558933258057, 0.2200804054737091, -0.6540522575378418, 0.4889205992221832, -0.24671022593975067, -0.49145448207855225, -0.2466014325618744, 0.019048506394028664, 0.47501447796821594, 0.5922825932502747, -0.04523341730237007, 0.2667885720729828, 0.14670535922050476, 0.7009373903274536, -0.6393117904663086, 0.18636618554592133, -0.6973127722740173, -0.3427570164203644, -0.33615192770957947, -0.38360434770584106, -0.6832764744758606, -0.5500071048736572, 0.23590418696403503, -0.7192362546920776, -0.1255432814359665, 0.46448424458503723, 0.629749059677124, 0.4561019241809845, -0.4098457992076874, -0.3206702470779419, -0.20807230472564697, 0.9808369278907776, -0.2581354081630707, 0.5283932089805603, 0.30659183859825134, -0.05630965158343315, 0.0431678332388401, -0.8217717409133911, -0.03884414955973625, -0.007239673752337694, 0.23701556026935577, 0.1543276309967041, -0.3088756799697876, 0.09122002124786377, -0.11753096431493759, 0.16953349113464355, -0.4938284158706665, 0.3801004886627197, -0.07152058184146881, -0.18872390687465668, 0.5234232544898987, 0.041074324399232864, 0.3408219516277313, -0.07472466677427292, -0.33119162917137146, -0.412937194108963, -0.7629317045211792, 0.009899451397359371, 0.5548293590545654, 0.45713838934898376, 0.5171980261802673, 0.6469753384590149, -0.28963354229927063, 0.5381684899330139, -0.09056738018989563, -0.17645427584648132, 0.07751546055078506, -0.34476691484451294, -0.03748030215501785, 0.04420410096645355, 0.28669700026512146, 0.584254801273346, 0.19897645711898804, -0.19942502677440643, -0.4879806935787201, -0.3023739457130432, 0.10343268513679504, -0.6882796287536621, -0.20542187988758087, 0.2468978613615036, -0.43834495544433594, -0.28391027450561523, -0.41780826449394226, -0.9273108243942261, -0.245272696018219, -0.30830442905426025, 0.6582132577896118, -0.027935804799199104, 0.11110994219779968, -0.20086033642292023, -0.23937557637691498, 0.10110978037118912, 0.27466779947280884, -0.7838443517684937, 0.11352518200874329, 0.8579952120780945, 1.0133721828460693, 0.06156475841999054, -0.2704809606075287, -0.6025915145874023, -0.06836340576410294, -0.42122793197631836, 1.1341708898544312, -0.6647971868515015, -0.4485645592212677, 0.3843560814857483, -0.17808303236961365, 0.14450405538082123, -0.737941324710846, 0.7872828245162964, -0.7590254545211792, -0.042405370622873306, -0.49644583463668823, -0.7650191187858582, 0.15500777959823608, -0.04565693065524101, -0.7132366299629211, 0.9515151381492615, 0.05709763988852501, -0.47803881764411926, 0.3812887668609619, -0.31418576836586, -0.378280371427536, 0.16883480548858643, 0.46868374943733215, -0.29084935784339905, -0.021396147087216377, 0.4039193391799927, 0.1443779170513153, -0.3145950734615326, 0.1959621012210846, -0.19629064202308655, -0.29058071970939636, -0.15702636539936066, -0.3083820939064026, 0.5834885835647583, 0.3375009000301361, 0.06718695163726807, 0.1825811117887497, -0.3980565667152405, 0.0350487120449543, -0.08027171343564987, -0.732323408126831, -0.6607627272605896, 0.19822543859481812, 0.2653931975364685, -0.2703830301761627, 0.4637620747089386, -0.5259879231452942, 0.4222503900527954, -0.5578019022941589, 0.6837077736854553, 0.8887901902198792, -0.0033114091493189335, 0.6402428150177002, -0.23895017802715302, 0.4253040850162506, -0.7363055348396301, 0.15125347673892975, -0.2615024447441101, -0.48457252979278564, -0.6505731344223022, -0.3886744976043701, 0.469997376203537, 0.5847851037979126, -0.4733757972717285, 0.2808966636657715, -0.047560159116983414, -0.47722768783569336, -0.6184110045433044, 0.08336539566516876, 0.22752651572227478, 0.15869562327861786, 0.29207634925842285, 0.37691760063171387, -0.4393240213394165, -0.935571551322937, -0.6123685240745544, -0.2688721716403961, -0.10951927304267883, 0.42301812767982483, 0.19461409747600555, -0.05208330601453781, 0.7910030484199524, -0.7784947156906128, -0.33631432056427, -0.23119790852069855, 0.23647341132164001, 0.20721273124217987, 0.1919642686843872, 0.20583482086658478, -0.6818346381187439, -0.2945610284805298, -0.4642026722431183, 0.0653051882982254, -0.7582553625106812, -0.02833470143377781, -0.19934849441051483, 0.25936421751976013, 0.7906087040901184, -0.29201266169548035, 0.19991928339004517, 0.5077708959579468, -0.1954050213098526, 0.2677275538444519, -0.23062193393707275, -0.032188527286052704, -0.8820986151695251, -0.034190185368061066, -0.007156744599342346, -0.3684116303920746, -0.01178302988409996, 0.39004674553871155, -0.01389593817293644, -0.2692103981971741, 0.025868074968457222, 0.7368210554122925, -0.3532150089740753, -0.008066272363066673, -0.25284823775291443, 0.3992159962654114, 0.03558552265167236, 0.499587744474411, -0.029715748503804207, 0.9076989889144897, 0.11720941215753555, -0.4643799662590027, 0.21670851111412048, 0.20598119497299194, -0.3215118944644928, 0.49305880069732666, -0.7263215184211731, -0.046711280941963196, 0.06758516281843185, 0.535423219203949, -1.2152689695358276, 0.18561610579490662, -0.2365616261959076, -0.1526125818490982, 0.04646632447838783, -0.3181353509426117, -0.5998362302780151, 0.02789539471268654, -0.42585569620132446, 0.4994543492794037, 0.4524749219417572, -0.879999577999115, 0.26665860414505005, 0.5758330821990967, -0.8146428465843201, -0.3579673171043396, -0.3605450987815857, 0.24719902873039246, -0.06546122580766678, -0.2960067093372345, 0.635143518447876, -0.11303053796291351, -0.2262193262577057, -0.024089114740490913, -0.11181960999965668, 0.1380278319120407, 0.05451097711920738, -0.006857596337795258, 0.24352648854255676, 0.018400873988866806, 0.25178244709968567, 0.16506753861904144, -0.2235790640115738, 0.05955616384744644, -0.5771894454956055, 0.6100363731384277, 0.1423611342906952, -0.25125637650489807, -0.046668969094753265, 0.42654168605804443, 0.7188723087310791, -0.43356961011886597, 0.4977080523967743, -0.00786046776920557, -0.4513891637325287, -0.2736264169216156, -0.5786610841751099, 0.09630278497934341, -0.48047876358032227, 0.43511390686035156, -0.15439943969249725, -0.8620165586471558, 0.33828338980674744, -0.42155835032463074, 0.5899519324302673, 0.40271666646003723, 0.5233780741691589, 0.02223999798297882, 1.1804932355880737, 0.5537658333778381, -0.2605450451374054, 0.49560999870300293, 0.04201998934149742, 0.3705781102180481, -0.7882185578346252, -0.3226117491722107, -0.8720274567604065, -0.5397313833236694, -0.7275382280349731, -0.3959082067012787, 0.34414172172546387, -0.009702637791633606, -0.3398609459400177, -0.0047958483919501305, -0.42583131790161133, 0.6906148791313171, 0.852700412273407, 0.04757649078965187, 0.3563152253627777, 0.025902092456817627, -0.3710674047470093, 0.0127965547144413, -0.5819332003593445, -0.3793536424636841, 1.1829755306243896, 0.24107104539871216, 0.6343188881874084, 0.44431352615356445, 0.8960954546928406, 0.32691389322280884, 0.27949976921081543, -0.8316261768341064, 0.5066813826560974, -0.2236946076154709, -0.31522655487060547, -0.6909427642822266, -0.5723567008972168, -1.0657880306243896, 0.3764238953590393, -0.042733579874038696, -0.72404545545578, 0.1983250379562378, -0.16441747546195984, -0.25397294759750366, 0.2537747919559479, -0.42163142561912537, 0.4963298439979553, -0.16269944608211517, -0.4241803288459778, -0.4500855505466461, -0.14213991165161133, 0.012896405532956123, -0.16208553314208984, 0.1746140569448471, 0.14731766283512115, -0.4388369023799896, 0.7389198541641235, -0.5216791033744812, 0.40409737825393677, 0.09622140228748322, -0.13977575302124023, -0.1024266853928566, 0.011142922565340996, 0.6063270568847656, 0.24017827212810516, -0.10235226154327393, -0.1835566908121109, -0.09604714810848236, -0.3927435576915741, -0.23711508512496948, 1.1016883850097656, -0.566645622253418, -0.6791414022445679, -0.42869433760643005, -0.47630074620246887, -0.25635451078414917, 0.410934716463089, 0.4583642780780792, 0.6617142558097839, -0.14388997852802277, 0.28526973724365234, 0.9058137536048889, -0.5669591426849365, 0.5018970370292664, 0.31105977296829224, -0.5055472254753113, -0.6829636096954346, 1.0031002759933472, 0.2699384391307831, 0.04369843751192093, 0.7605125308036804, 0.2545519173145294, -0.8554701209068298, -0.48607826232910156, -0.22506916522979736, 0.09978416562080383, -0.6112506985664368, -0.36254796385765076, -0.6466670036315918, 0.051397182047367096, -0.4613072872161865, -0.502601146697998, -0.355254203081131, -0.3721902370452881, -0.2173403650522232, -0.23537158966064453, 0.329330176115036, 0.5909342169761658, -0.08333493024110794, -0.029127880930900574, -0.36627453565597534, 0.014581428840756416, 0.48310354351997375, 0.5299422740936279, 0.15905404090881348, -0.34176141023635864, -0.08391880989074707, -0.43241116404533386, -0.14553841948509216, -0.7469667196273804, 0.5269888639450073, 0.036222271621227264, 0.6079866290092468, 0.2972005605697632, 0.37544482946395874, 0.611565351486206, -0.6706399917602539, 0.5393346548080444, -0.14308981597423553, -0.8418635725975037, 0.3351019620895386, -0.3446286916732788, 0.27814409136772156, 0.6922475695610046, 0.014763683080673218, -0.3548703193664551, -0.5044803619384766, -0.4212457537651062, -1.4235146045684814, 0.532280683517456, 0.04369106516242027, 0.07581949234008789, -0.02927308715879917, 0.32083818316459656, -0.22743907570838928, 0.14558330178260803, -0.4165722131729126, -0.2656720280647278, 0.11935669183731079, -0.20277881622314453, -0.1860252469778061, -0.48410820960998535, -0.08110854774713516, -0.1280660778284073, 0.6322245001792908, 0.03625693544745445, -0.03387653827667236, 0.4155160188674927, -0.09096871316432953, -0.044732820242643356, 0.3044044077396393, 0.4209631681442261, 0.4344123601913452, -0.3664538562297821, 0.018374277278780937, 0.07398505508899689, -0.17981398105621338, 0.17816609144210815, 0.06260790675878525, -0.3025069534778595, 0.1418750137090683, 0.22942966222763062, 0.33522406220436096, 0.7119799256324768, -0.8240471482276917, 0.2655223309993744, -0.001286452985368669, -0.27176329493522644, -0.07944466173648834, -0.46097350120544434, 0.4035440683364868, 0.3797994554042816, 0.4158256947994232, -0.3065575063228607, 0.33574533462524414, -0.44146260619163513, 0.20332320034503937, 0.388191282749176, -0.038177646696567535, 0.22353872656822205, 0.6668152809143066, 0.7588765025138855, -0.645610511302948, 0.7411596179008484, 0.01730160228908062, -0.6916070580482483, 0.42282968759536743, 0.4716854393482208, 0.8700597882270813, 0.012549437582492828, 0.366451233625412, 0.302327960729599, 0.48940134048461914, -0.37538227438926697, 0.1545242816209793, 0.10274575650691986, -0.3299671709537506, -0.2997308075428009, -0.6915116906166077, -0.8199070692062378, 0.0024056918919086456, -0.6708811521530151, 0.1728173941373825, -0.588442862033844, -0.25146088004112244, -0.15150892734527588, 0.34186527132987976, -0.5031909942626953, -0.07790648937225342, 0.11793608218431473, 1.1825826168060303, -0.42815494537353516, 0.2662014365196228, 0.710336446762085, -0.27483317255973816, -0.7182337045669556, 0.11462629586458206, 0.04921731352806091, -0.6371350288391113, 0.5677657723426819, 0.06969048827886581, -0.2328069508075714, 0.5070430636405945, -0.32853594422340393, -1.1443653106689453, 0.9684012532234192, 0.3329160213470459, -0.8459028005599976, 0.06137921288609505, -0.2785889804363251, 0.18919344246387482, -0.1274878978729248, 0.28960663080215454, 0.24473266303539276, 0.5782182216644287, -0.11665283888578415, -0.7112351059913635, -0.1836099922657013, 0.06148911640048027, -0.14742207527160645, 0.5137923359870911, -0.9744828343391418, 0.767128050327301, -0.2207820564508438, -0.2389068901538849, 0.36790043115615845, 0.4387435019016266, 0.4664708971977234, 0.6365063190460205, 0.6041615009307861, 0.7184556126594543, 1.033522129058838, -0.13601574301719666, 0.8938457369804382, -0.24389052391052246, 0.4283389151096344, 0.6066705584526062, -0.6048775315284729, 1.2462788820266724, 0.5137781500816345, -0.1635970026254654, 0.49095603823661804, 1.0008797645568848, 0.04180153086781502, 0.8037718534469604, 0.4379699230194092, -0.03133362531661987, -0.46069467067718506, -0.4364631175994873, -0.07455834746360779, 0.08156176656484604, -0.0325850211083889, -0.2254457026720047, -0.22047030925750732, -0.15457794070243835, 0.1382765769958496, 0.061668623238801956, -0.4237019121646881, 0.780389130115509, 0.06649119406938553, -0.78281569480896, 0.14755843579769135, 0.1478440761566162, 0.6082683801651001, -0.41007035970687866, 0.016333801671862602, -0.532080888748169, 0.016924889758229256, 0.16368576884269714, -0.6192958354949951, -0.17869402468204498, 0.18483789265155792, -0.321301132440567, -0.6912687420845032, 0.47680890560150146, -0.37415811419487, -0.5710053443908691, 0.22795511782169342, 0.4307757019996643, -0.053652189671993256, -0.2672966718673706, -0.5167891383171082, 0.033244092017412186, -0.031506773084402084, -0.43029090762138367, 0.622315526008606, 0.3418181240558624, 0.008312889374792576, 0.9709043502807617, 0.8774601817131042, 0.0647975355386734, -0.23493342101573944, 0.20648939907550812, 0.7225859761238098, -0.5164089798927307, -0.7535985112190247, -0.8122760057449341, -0.05160856992006302, -0.11272408068180084, -0.44042298197746277, 0.4432361423969269, 0.7083123922348022, 0.7715269923210144, 0.3129136264324188, 0.6535059213638306, 0.6640813946723938, 0.5162795186042786, -0.7055530548095703, 0.6838642954826355, -0.8193459510803223, 0.5361487865447998, -0.31735384464263916, -1.0730420351028442, -0.14055411517620087, 0.3824976086616516, -0.13726530969142914, -0.3090132474899292, 0.5545957088470459, 0.6745985150337219, 0.5035472512245178, -0.16462060809135437, 0.1347077488899231, -0.14739802479743958, 0.23697973787784576, 0.5011250972747803, 0.7947030067443848, 0.10841710865497589, 0.8326464891433716, 0.10414478927850723, -0.3086249530315399, -0.46682658791542053, -0.7067558169364929, -0.5038354992866516, -0.4898897707462311, -0.31310930848121643, -0.019803224131464958, 0.1877119094133377, 0.8766394853591919, 0.5559666752815247, -0.36080753803253174, -0.1915045529603958, 0.10661967843770981, 0.5631087422370911, -0.28519895672798157, -0.2166842818260193, 0.4538840651512146, -0.4000706672668457, -1.1349527835845947, 0.37758228182792664, 0.5010892152786255, -0.5405732989311218, -0.2772805094718933, 0.1448349952697754, -0.272000253200531, 0.5246958136558533, 0.5543070435523987, 0.137403205037117, -0.9514588117599487, -0.07270894199609756, 0.43241986632347107, -0.16284088790416718, -0.4553816020488739, 0.9730241298675537, -0.7717658877372742, 0.08908777683973312, 0.7648329734802246, 0.8366752862930298, -0.14726313948631287, 0.19839540123939514, 0.6930351257324219, -0.5538644790649414, -0.44891825318336487, 0.17491063475608826, 0.38073718547821045, 0.10240479558706284, -0.4118952453136444, 0.4718930423259735, 0.05868038907647133, -1.0076277256011963, -1.0570893287658691, 0.05666045844554901, -0.8392599821090698, -0.5902469754219055, 1.2587281465530396, 0.024000758305191994, 0.08615206927061081, -0.12795686721801758, -0.30685779452323914, -0.04917953535914421, -0.6175161004066467, 0.5801903605461121, 0.7503291964530945, -0.025821756571531296, -0.2607683539390564, -0.28998640179634094, 0.3287923336029053, 0.5481554865837097, -0.49529948830604553, 0.2919999063014984, 0.4886487126350403, 0.2206428349018097, 0.03264424577355385, 0.37001416087150574, 0.09615545719861984, -0.23413479328155518, -0.09951234608888626, -0.2211143672466278, 0.07577154785394669, -0.27858632802963257, -0.15254560112953186, 0.26204919815063477, 0.21181702613830566, -0.19606439769268036 ]
http://arxiv.org/abs/2402.10835v2
http://arxiv.org/pdf/2402.10835v2
Time Series Forecasting with LLMs: Understanding and Enhancing Model Capabilities
2024-02-16T17:15:28
2024-02-19T02:30:15
Mingyu Jin, Hua Tang, Chong Zhang, Qinkai Yu, Chengzhi Liu, Suiyuan Zhu, Yongfeng Zhang, Mengnan Du
cs.CL
cs.CL
Large language models (LLMs) have been applied in many fields with rapid development in recent years. As a classic machine learning task, time series forecasting has recently received a boost from LLMs. However, there is a research gap in the LLMs' preferences in this field. In this paper, by comparing LLMs with traditional models, many properties of LLMs in time series prediction are found. For example, our study shows that LLMs excel in predicting time series with clear patterns and trends but face challenges with datasets lacking periodicity. We explain our findings through designing prompts to require LLMs to tell the period of the datasets. In addition, the input strategy is investigated, and it is found that incorporating external knowledge and adopting natural language paraphrases positively affects the predictive performance of LLMs for time series. Overall, this study contributes to insight into the advantages and limitations of LLMs in time series forecasting under different conditions.
[ -0.20820841193199158, -0.5094101428985596, 0.8162491917610168, 0.3019193410873413, -0.4876266121864319, 0.2785272002220154, -0.12353029102087021, -0.5498654842376709, -0.03204640373587608, 0.618730902671814, -0.7309467196464539, -0.34721454977989197, -0.45060455799102783, 0.47346967458724976, -0.2755156457424164, 0.5987911224365234, -0.24217861890792847, 0.3178273141384125, -0.33546000719070435, 0.18601250648498535, -0.6109137535095215, -0.5801507234573364, -0.3801271617412567, -0.5734802484512329, 0.3050333857536316, 0.11295156180858612, 0.6043258309364319, 0.7211907505989075, 0.38010451197624207, 0.325633704662323, -0.04405301436781883, 0.4418981969356537, -0.02552531473338604, 0.5316705703735352, 0.33956795930862427, -0.5216428637504578, -0.266740620136261, -0.17245177924633026, 0.6457415223121643, 0.8401978611946106, -0.11393999308347702, 0.13690339028835297, 0.157777339220047, 0.6220358610153198, 0.03778267651796341, 0.64247065782547, -0.5647146701812744, 0.12637408077716827, -0.17317479848861694, -0.4203638434410095, -0.17433856427669525, -0.20439697802066803, 0.2012207806110382, -0.4318283200263977, 0.08276300877332687, 0.3328840434551239, 0.5709447860717773, 0.4383828341960907, -0.3076450228691101, -0.0991431400179863, -0.9772380590438843, 1.059640645980835, -1.0014289617538452, 0.28208494186401367, 0.17092880606651306, 0.6025753021240234, -0.03775437921285629, -0.5080683827400208, -0.15014877915382385, -0.3776019811630249, 0.05908152833580971, -0.12413844466209412, 0.1483766883611679, -0.34688735008239746, 0.32692277431488037, 0.31177958846092224, -0.3954642117023468, 0.29874104261398315, -0.13792437314987183, 0.1726684421300888, 0.47396576404571533, 0.6803167462348938, -0.18399854004383087, -0.32450973987579346, -0.43160316348075867, 0.2973234951496124, -0.5858386158943176, 0.034285809844732285, 0.19770991802215576, 0.618277907371521, -0.2219252586364746, 0.559489369392395, -0.002004279987886548, 0.5565004944801331, -0.2989043593406677, -0.18026027083396912, -0.009816930629312992, -0.06551315635442734, -0.35292288661003113, -0.2810412347316742, 0.47856229543685913, 0.35320091247558594, 0.42134997248649597, -0.3624025285243988, -0.06839478015899658, -0.23891615867614746, -0.2084246128797531, -0.6792922019958496, 0.21220870316028595, 0.09546341747045517, -0.522834837436676, -0.28064271807670593, 0.08069060742855072, -0.8954569101333618, -0.6072625517845154, -0.8771170377731323, -0.0029324812348932028, -0.2551485002040863, 0.12763121724128723, -0.01943572424352169, -0.18288107216358185, 0.11116417497396469, 0.6647847890853882, -0.7563570141792297, 0.30706551671028137, 0.7163786888122559, 0.9114565253257751, -0.3576033115386963, 0.04998345673084259, -0.40581512451171875, 0.05176317319273949, -0.28015193343162537, 0.6212713718414307, -0.5552059412002563, -0.6766456365585327, -0.07358209043741226, -0.04761712998151779, 0.08691434562206268, -0.5401486158370972, 0.0112928980961442, -0.6125512719154358, 0.031496018171310425, -0.30672016739845276, -0.6157812476158142, -0.17442990839481354, 0.053843263536691666, -0.516299843788147, 0.7945642471313477, -0.12810464203357697, -0.44235891103744507, 0.16750973463058472, -0.4724675416946411, -0.2597663700580597, -0.002522034104913473, -0.12197596579790115, -0.22495102882385254, -0.09411953389644623, 0.5088483691215515, 0.7479586005210876, -0.5440484881401062, 0.43658849596977234, -0.5713738799095154, -0.009590508416295052, 0.6903546452522278, -0.7426255941390991, 0.29581135511398315, 0.6424906849861145, -0.14539694786071777, 0.0673077404499054, -0.5851307511329651, -0.24402202665805817, 0.08364825695753098, -0.02655944414436817, -0.07064462453126907, 0.2587275207042694, -0.017243774607777596, 0.01968471333384514, 0.22903628647327423, -0.07558382302522659, 0.294556587934494, -0.3745795786380768, 0.7937694191932678, 0.9637598991394043, 0.10849589109420776, 0.4067077040672302, -0.7596598863601685, 0.9074631929397583, -0.04398566111922264, 0.10899914056062698, -0.5137524604797363, -0.26948603987693787, -0.45268023014068604, -0.17537780106067657, 0.18971699476242065, 0.6889805793762207, -0.6814470291137695, 0.27279454469680786, -0.264090895652771, -0.49446696043014526, 0.19293956458568573, 0.46663448214530945, -0.18687966465950012, 0.32056307792663574, 0.1708264797925949, 0.06298701465129852, -0.7029083967208862, -0.3466513156890869, -0.027788031846284866, 0.11636900156736374, -0.16555552184581757, 0.35190460085868835, 0.2054213583469391, 0.012760501354932785, 0.7963966727256775, -0.5906225442886353, 0.09086760878562927, -0.5235438346862793, -0.026742074638605118, 0.5118786096572876, -0.10001353174448013, 0.3772604763507843, -0.6210543513298035, -0.39819732308387756, -0.2943495512008667, -0.8789449334144592, -0.1520199179649353, -0.0815330222249031, 0.3736536204814911, 0.3755451440811157, 0.7046601176261902, -0.4295084476470947, 0.1924624890089035, 0.5172633528709412, -0.14785805344581604, 0.5169588327407837, 0.03689054399728775, -0.1372831165790558, -1.2473068237304688, -0.09765073657035828, 0.33917954564094543, -0.3426015377044678, -0.3846278190612793, -0.4868090748786926, -0.2650753855705261, -0.3427067995071411, -0.4012546241283417, 0.7980855703353882, -0.5019997954368591, -0.1377192586660385, -0.21436826884746552, -0.04026024416089058, 0.009234600700438023, 0.04843298718333244, 0.06224943697452545, 0.8831173181533813, 0.3460337221622467, -0.7794127464294434, 0.6025062203407288, 0.05425665155053139, -0.5996537208557129, -0.0996040478348732, -0.6315819621086121, -0.13071775436401367, -0.10075188428163528, 0.05437236651778221, -0.777665913105011, -0.052609678357839584, -0.009542365558445454, -0.132328599691391, 0.6114590167999268, 0.04031232371926308, -0.44542521238327026, -0.40933412313461304, -0.3037586808204651, -0.008292343467473984, 0.6061823964118958, -0.5245553851127625, 0.39604565501213074, -0.025850560516119003, -0.40342003107070923, -0.4382694959640503, -0.5768628716468811, 0.16307371854782104, -0.6656854152679443, -0.4446914792060852, 0.2635904550552368, -0.3091975450515747, -0.6146337389945984, -0.28229016065597534, -0.1936306655406952, 0.26620179414749146, 0.4171525537967682, 0.31588077545166016, 0.6099035739898682, -0.3055340051651001, 0.26606762409210205, -0.4637551009654999, -0.2109004259109497, -0.09015817195177078, -0.2652157247066498, 0.6926242709159851, -0.06724637746810913, -0.354680597782135, -0.3764927089214325, 0.0891200602054596, 0.5656945109367371, 0.007612846326082945, 0.5999668836593628, 0.16957229375839233, -0.24006253480911255, -0.15790267288684845, -0.533208966255188, -0.21542038023471832, -0.522295355796814, 0.1309972107410431, 0.031030884012579918, -0.7884634733200073, 0.3329920172691345, -0.09743888676166534, -0.04118550941348076, 0.26133692264556885, 0.3810475766658783, -0.18207693099975586, 0.8760588765144348, 0.46821948885917664, -0.36783331632614136, 0.7287224531173706, -0.2071186751127243, 0.04709016904234886, -0.7747219204902649, -0.3358144760131836, -0.5022687315940857, -0.12461645156145096, -0.470762699842453, -0.2031572014093399, 0.36483561992645264, 0.02757933735847473, -0.3579825758934021, 0.013617490418255329, -0.13017922639846802, 0.18199867010116577, 0.3932263255119324, 0.09932693094015121, 0.40132936835289, 0.35359570384025574, 0.301157683134079, -0.38123947381973267, -0.47632667422294617, -0.8223487138748169, 1.0859220027923584, 0.6081271171569824, 1.249409556388855, -0.08727682381868362, 0.2784789204597473, 0.4652462601661682, 0.12555499374866486, -0.7430470585823059, 0.48199212551116943, -0.2899516522884369, -0.11317861825227737, -0.42150357365608215, -0.36163511872291565, -0.9556697607040405, -0.1449703425168991, -0.10918738692998886, -0.5262338519096375, 0.03078617714345455, -0.11624450981616974, -0.35322922468185425, 0.4497232437133789, -0.2177310287952423, 0.5109421014785767, -0.5715565085411072, -0.17191040515899658, -0.0005302536301314831, -0.39138534665107727, -0.06520514190196991, 0.11480708420276642, 0.3512117564678192, -0.4953517019748688, -0.3283647298812866, 0.5767244696617126, -0.45872482657432556, 1.0150372982025146, 0.08107982575893402, 0.010291196405887604, 0.10776754468679428, -0.059751905500888824, 0.364542692899704, 0.21813616156578064, -0.3927381932735443, 0.08871641755104065, 0.053552865982055664, -0.2302398681640625, -0.5200347304344177, 0.6905258893966675, -0.7031165361404419, -0.8998996615409851, -0.6285115480422974, -0.7599470019340515, -0.4959791898727417, -0.05539471656084061, 0.03826848417520523, 0.7018414735794067, -0.17449919879436493, 0.10992689430713654, 0.5295670032501221, 0.047247469425201416, 0.9018660187721252, 0.4023667573928833, -0.6448935270309448, -0.3170211613178253, 0.6412674784660339, 0.2762347459793091, 0.25836247205734253, 0.6220541000366211, 0.3542369604110718, -0.3936083912849426, -0.7464773654937744, -0.2552991211414337, 0.36521536111831665, -0.6730061173439026, -0.2233724147081375, -0.25608986616134644, -0.20359930396080017, -0.6156307458877563, -0.0038361377082765102, 0.20423081517219543, -0.4589713513851166, -0.6842408180236816, -0.06950671970844269, 0.7093467712402344, 0.9024875164031982, 0.3626174330711365, 0.18100368976593018, -0.9549173712730408, 0.2292661964893341, 0.27231448888778687, 0.19913655519485474, 0.017555098980665207, -0.5589967966079712, -0.11672976613044739, -0.15792137384414673, -0.6168498396873474, -0.8529660701751709, 0.902184009552002, -0.12138789892196655, 0.519931972026825, 0.4938329756259918, -0.10791757702827454, 0.6084306836128235, -0.43795958161354065, 1.0166606903076172, -0.03294120728969574, -0.8020082712173462, 0.35653939843177795, -0.5165552496910095, 0.3076063394546509, -0.13760395348072052, 0.44244062900543213, -0.620500385761261, -0.12058784812688828, -0.4303247928619385, -0.6553351283073425, 0.5414650440216064, -0.15463022887706757, 0.1881507784128189, 0.11032141000032425, 0.37556207180023193, 0.3151372969150543, 0.6530399918556213, -0.5338554382324219, -0.41418588161468506, -0.21506084501743317, -0.17629824578762054, -0.6254499554634094, -0.29159700870513916, 0.11767259240150452, -0.17049004137516022, 0.5338398814201355, 0.0909874364733696, 0.22066792845726013, 0.06454163044691086, 0.2620508670806885, -0.1378021389245987, 0.36474141478538513, 0.4632088541984558, 0.8458498120307922, -0.1804634928703308, -0.149713397026062, 0.47295716404914856, 0.06749845296144485, -0.024894818663597107, 0.17567119002342224, -0.014521376229822636, 0.29991093277931213, 0.39377421140670776, 0.9203588366508484, 0.089741550385952, -0.6019328236579895, -0.11997270584106445, 0.2828279435634613, 0.04179177060723305, -0.6264800429344177, -0.06427961587905884, 0.26117151975631714, 0.5327266454696655, 0.6081032156944275, -0.060755982995033264, -0.1682869791984558, -0.5952273011207581, -0.34850001335144043, 0.5364803075790405, -0.07681099325418472, -0.0960930660367012, 0.5984657406806946, 0.08287916332483292, -0.20940417051315308, 0.2921142280101776, 0.23306572437286377, -0.3931078016757965, 0.9585252404212952, 0.5234894156455994, 0.6586995124816895, -0.29901084303855896, -0.05418935790657997, -0.13943062722682953, 0.10329030454158783, -0.2989853322505951, 0.2094084769487381, 0.16326625645160675, -0.45203620195388794, -0.45608946681022644, -0.7427883148193359, -0.6972818374633789, 0.48307016491889954, -0.44264915585517883, 0.6258589029312134, -0.5874756574630737, -0.19955959916114807, -0.10764331370592117, 0.17193028330802917, -0.5687533617019653, -0.029817530885338783, 0.23941659927368164, 1.075390100479126, -0.6067415475845337, 0.7423455119132996, 0.42385563254356384, -0.11717307567596436, -0.612912118434906, -0.19030000269412994, -0.05504501983523369, -0.7202847599983215, 0.6703110933303833, 0.27902352809906006, 0.23265981674194336, -0.13802441954612732, -0.32828080654144287, -0.8949248194694519, 1.2766644954681396, 0.29932719469070435, -0.6204877495765686, -0.29158854484558105, 0.20418387651443481, 0.39974716305732727, -0.6425286531448364, -0.1661926805973053, 0.28828978538513184, 0.548305869102478, 0.11691713333129883, -0.7204267978668213, -0.10779102146625519, 0.04715525731444359, 0.20430229604244232, 0.44105973839759827, -0.338985413312912, 0.8295393586158752, -0.126703143119812, -0.07189162820577621, 0.5991638898849487, 0.8458958268165588, -0.08888434618711472, 0.8708644509315491, 0.19467264413833618, 0.04574037715792656, 0.6056746244430542, -0.1102474108338356, 1.1548327207565308, -0.11494053155183792, 0.15127761662006378, 0.9244369864463806, -0.4836116135120392, 0.7436363697052002, 0.416597455739975, -0.5809877514839172, 0.5161375999450684, 0.8518523573875427, -0.5146083235740662, 0.35769838094711304, 0.04420534893870354, -0.2312197983264923, -0.5563995242118835, -0.07555463910102844, -0.5136541724205017, -0.057475581765174866, 0.5643104314804077, -0.30237722396850586, -0.20643609762191772, 0.121308334171772, 0.08278767764568329, 0.2994130551815033, -0.47961243987083435, 0.5741052627563477, 0.5432840585708618, -0.42489030957221985, 0.23214368522167206, -0.03496340289711952, 0.6701874136924744, -0.7284295558929443, 0.1232290118932724, -0.06599760055541992, -0.08762940019369125, -0.1454617977142334, -0.5516681671142578, 0.4555012881755829, -0.08329718559980392, -0.2691210210323334, -0.2742387354373932, 0.5511178374290466, -0.17083802819252014, -0.6876217722892761, 0.06769408285617828, 0.682209312915802, -0.06172472611069679, 0.0554199256002903, -0.5407720804214478, -0.13596022129058838, -0.2087215632200241, -0.12028184533119202, 0.18769727647304535, 0.29177650809288025, -0.11397271603345871, 1.0445877313613892, 0.6279561519622803, 0.2678185999393463, -0.09515514969825745, 0.030686480924487114, 0.4426197111606598, -0.8180913925170898, -0.2120257318019867, -1.1203066110610962, 0.002496767323464155, 0.13449017703533173, 0.26548147201538086, 0.9329022765159607, 0.3463576138019562, 0.21969512104988098, -0.25033140182495117, 0.9811519980430603, 0.5807945728302002, 0.8072981238365173, -0.9295709133148193, 0.11010866612195969, -0.3614254295825958, 0.8546041250228882, 0.09796634316444397, -0.8072111010551453, -0.1790398508310318, -0.04853728041052818, -0.6573349833488464, 0.22269447147846222, 0.5918034315109253, 0.42017316818237305, 0.14455032348632812, 0.31345871090888977, 0.32100099325180054, 0.12218058854341507, 0.19797083735466003, 0.17059658467769623, 0.9932286143302917, 0.16666395962238312, 0.5568459033966064, -0.2491944134235382, 0.03648558259010315, -0.2750331163406372, -1.2176724672317505, -1.161618947982788, -0.35850369930267334, -0.09120657294988632, -0.14976412057876587, 0.009634522721171379, 1.207444429397583, 0.31900158524513245, -0.7565020322799683, -0.5604994893074036, 0.007264996413141489, 0.23322921991348267, -0.1478077471256256, -0.26887819170951843, 0.1481909304857254, -0.48140648007392883, -0.7890200018882751, 0.564761221408844, 0.05192301794886589, 0.5196786522865295, -0.36276957392692566, 0.07093322277069092, 0.4432988166809082, 0.05419270694255829, 0.5053234696388245, 0.2195960283279419, -0.6670156717300415, 0.05997101217508316, 0.3191453814506531, 0.22326509654521942, 0.04201241210103035, 0.8749980330467224, -0.7014560699462891, -0.07129625976085663, 0.44259387254714966, 0.4250524342060089, 0.5302765965461731, -0.06426862627267838, 0.7153010964393616, -0.44562119245529175, -0.02401748113334179, 0.133331298828125, 0.7334613800048828, 0.5594364404678345, -0.3313579559326172, 0.29047074913978577, 0.2956257164478302, -0.6419768333435059, -0.6519893407821655, 0.20856019854545593, -0.9204620718955994, -0.4830043911933899, 1.2573131322860718, 0.18773253262043, 0.014626514166593552, -0.3053209185600281, -0.13353149592876434, 0.2724963426589966, -0.418826162815094, 0.6694951057434082, 0.7140476703643799, -0.20526021718978882, 0.012144599109888077, -0.9469835758209229, 0.29492560029029846, 0.20107191801071167, -0.6173269748687744, 0.12869009375572205, 0.11893536895513535, 0.3763068914413452, -0.1948411464691162, -0.03457096591591835, 0.030994519591331482, -0.11035749316215515, -0.6196141242980957, -0.43842411041259766, -0.6462305188179016, -0.2596420347690582, -0.5379751920700073, -0.038089483976364136, 0.5037907361984253, 0.053683795034885406 ]
http://arxiv.org/abs/2402.11000v2
http://arxiv.org/pdf/2402.11000v2
ASGEA: Exploiting Logic Rules from Align-Subgraphs for Entity Alignment
2024-02-16T17:03:05
2024-03-05T13:57:28
Yangyifei Luo, Zhuo Chen, Lingbing Guo, Qian Li, Wenxuan Zeng, Zhixin Cai, Jianxin Li
cs.CL
cs.CL, cs.AI
Entity alignment (EA) aims to identify entities across different knowledge graphs that represent the same real-world objects. Recent embedding-based EA methods have achieved state-of-the-art performance in EA yet faced interpretability challenges as they purely rely on the embedding distance and neglect the logic rules behind a pair of aligned entities. In this paper, we propose the Align-Subgraph Entity Alignment (ASGEA) framework to exploit logic rules from Align-Subgraphs. ASGEA uses anchor links as bridges to construct Align-Subgraphs and spreads along the paths across KGs, which distinguishes it from the embedding-based methods. Furthermore, we design an interpretable Path-based Graph Neural Network, ASGNN, to effectively identify and integrate the logic rules across KGs. We also introduce a node-level multi-modal attention mechanism coupled with multi-modal enriched anchors to augment the Align-Subgraph. Our experimental results demonstrate the superior performance of ASGEA over the existing embedding-based methods in both EA and Multi-Modal EA (MMEA) tasks.
[ -0.1612674593925476, -0.7351765036582947, 0.6259363889694214, 0.026340600103139877, -0.28300461173057556, -0.07815001159906387, 0.08427109569311142, -0.5696472525596619, 0.5767666101455688, 0.1800190955400467, -0.8861082196235657, -0.6017907857894897, -0.5703290700912476, -0.11109740287065506, -0.13092239201068878, 0.6900036931037903, -0.13407720625400543, -0.033143140375614166, -0.3868277370929718, -0.3910151422023773, -0.6508383750915527, 0.1441430300474167, -0.612365186214447, -0.362959623336792, 0.3032754957675934, 0.06684670597314835, 0.7196823358535767, 0.7341648936271667, 0.2065465897321701, 0.24734267592430115, 0.27110153436660767, 0.40415194630622864, -0.12623454630374908, -0.3371666669845581, -0.6323990821838379, -0.22017210721969604, -0.7868835926055908, -0.1556674689054489, 0.4135447144508362, 0.4775101840496063, -0.10399806499481201, 0.25599050521850586, -0.23125410079956055, 0.4294291138648987, -0.5991114377975464, 0.8224320411682129, -0.5857521295547485, -0.07149823009967804, -0.24793197214603424, 0.06214077025651932, -0.3558228015899658, -0.05861435458064079, 0.06922288984060287, -1.2576860189437866, -0.394549697637558, 0.34418946504592896, 1.1919713020324707, 0.4889271557331085, -0.5142583250999451, -0.33773255348205566, -0.0417487807571888, 0.42915380001068115, -0.5492648482322693, 0.7693187594413757, -0.2127130627632141, 0.21697989106178284, -0.07414400577545166, -0.5726659893989563, -0.6113067269325256, 0.4218657910823822, -0.5153344869613647, 0.17394641041755676, -0.4149802327156067, 0.17678706347942352, 0.3814481794834137, -0.10560944676399231, -0.30010512471199036, -0.10981831699609756, -0.12349367886781693, -0.2182188481092453, 0.4563377797603607, -0.12702231109142303, 0.6957547664642334, -0.21434518694877625, -0.6614023447036743, 0.3383243680000305, -0.7933681607246399, -0.028180278837680817, 0.3112146556377411, 0.43699294328689575, 0.2591172158718109, 0.5768586993217468, -0.22908778488636017, 0.47076380252838135, 0.18393677473068237, -0.05491640418767929, 0.34738561511039734, -0.3822256326675415, -0.4508371353149414, 0.305842787027359, 0.7155729532241821, 0.4141910970211029, 0.25137022137641907, -0.4105188548564911, -0.16300271451473236, 0.2183859795331955, 0.2376740425825119, -0.5183188319206238, -0.20328781008720398, -0.18132245540618896, -0.5271150469779968, 0.06582392752170563, -0.052701640874147415, -0.6221392750740051, -0.17623713612556458, -0.425080269575119, 0.6588435173034668, -0.6608384251594543, -0.1543012261390686, 0.12582536041736603, -0.0435507632791996, 0.392679363489151, 0.38304403424263, -0.6751239895820618, 0.5532055497169495, 0.7445698380470276, 0.5470850467681885, 0.19546249508857727, -0.3917858302593231, -0.5066244602203369, 0.5804215669631958, -0.007753073703497648, 0.6494308114051819, -0.7315183877944946, 0.25801172852516174, -0.14022469520568848, 0.15043945610523224, -0.4474474787712097, -0.2574843168258667, 0.5264774560928345, -1.0433601140975952, -0.28094783425331116, -0.25849342346191406, -0.680082380771637, -0.6676323413848877, 0.20630048215389252, -0.759051501750946, 0.5396551489830017, 0.04013703018426895, -0.48891738057136536, 0.49070027470588684, -0.7160793542861938, -0.7820807695388794, -0.15328268706798553, -0.5261132121086121, -0.3430067002773285, -0.19515284895896912, 0.5697048902511597, -0.0052465288899838924, -0.32850712537765503, 0.18317478895187378, -0.08833089470863342, -0.1310645490884781, -0.124326191842556, -0.1511959433555603, 0.8543878197669983, -0.055350854992866516, -0.5790144801139832, 0.12109889090061188, -0.5270053744316101, 0.11722889542579651, -0.03128150850534439, -0.0748116597533226, -0.3972623944282532, 0.09936653077602386, -0.38091057538986206, 0.36067846417427063, 0.2726196050643921, -0.4674896001815796, 0.1443088948726654, -0.3116033971309662, 0.2564931809902191, 0.7236925959587097, 0.012189893051981926, 0.575786292552948, 0.008458251133561134, 0.4927009344100952, 0.33911603689193726, -0.05716123431921005, 0.14570721983909607, -0.4820174276828766, -0.4112469553947449, -0.29603224992752075, 0.5587219595909119, 0.6690855622291565, -0.8371330499649048, 0.6150168776512146, -0.640893816947937, -0.2986620366573334, -0.8119114637374878, 0.28508737683296204, 0.3963121771812439, 0.9085619449615479, 0.6523295640945435, -0.3376903235912323, -0.3512578010559082, -1.0059207677841187, -0.48074576258659363, -0.06309589743614197, 0.1897614449262619, 0.5157846212387085, 0.34157466888427734, -0.36075350642204285, 0.7821785807609558, -0.48873409628868103, -0.7140401601791382, 0.056236252188682556, -0.21750913560390472, -0.04431726783514023, 0.5536097884178162, 0.4489583969116211, -0.5570924878120422, -0.32750430703163147, -0.03544068709015846, -0.8217496871948242, -0.22155945003032684, -0.1358713060617447, -0.512881875038147, 0.02208225429058075, 0.6112044453620911, -0.9820485711097717, 0.3536255657672882, 0.09416689723730087, -0.5227383375167847, -0.025283968076109886, 0.3127123713493347, 0.0682789608836174, -0.8033376932144165, -0.08656826615333557, 0.15536916255950928, -0.3549194633960724, -0.14831751585006714, 0.03144529089331627, 0.11360036581754684, -0.0010764463804662228, -0.17890150845050812, 0.20765924453735352, -0.6780537366867065, -0.42966586351394653, 0.1288681924343109, 0.6124399304389954, 0.4016055762767792, 0.5145543217658997, -0.03212761506438255, 0.23805074393749237, 0.6150424480438232, -0.26291537284851074, 0.42781543731689453, 0.5165084004402161, -0.1026218831539154, 0.8569060564041138, -0.40993568301200867, -0.006697900127619505, -0.2644466161727905, 0.4196665287017822, -0.5453529357910156, 0.2172805517911911, 0.5346777439117432, -0.19392874836921692, 0.5676676034927368, -0.4152457118034363, -0.2657613456249237, 0.0772552639245987, -0.02851320430636406, 0.4617893397808075, 0.2531173825263977, -0.5152341723442078, 1.522233009338379, 0.34276822209358215, 0.32418012619018555, -0.9215393662452698, -0.34017783403396606, -0.287504106760025, -0.01336108148097992, -0.9466809630393982, 0.3937181234359741, 0.4477517604827881, -0.1108369380235672, 0.8173959255218506, -0.4334767460823059, 0.49795740842819214, 0.1338423639535904, 0.4082565903663635, 0.29226887226104736, -0.5961434245109558, 0.07181865721940994, 0.37944933772087097, -0.3840596079826355, 0.25328877568244934, -0.7495893836021423, 0.15424613654613495, -0.03967016190290451, -0.6849802732467651, -0.5772892236709595, 0.33284851908683777, 0.4595366418361664, -0.5050036311149597, 0.8190906047821045, 0.3418761193752289, -0.8738035559654236, -0.1674489676952362, -0.21677978336811066, -0.11312446743249893, -0.42687487602233887, 0.21159318089485168, -0.6930963397026062, -0.3137551248073578, 0.3995193839073181, -0.47105446457862854, -0.0011383290402591228, 0.7523687481880188, -0.06467293202877045, -0.01734796166419983, 0.9534497261047363, 0.367067813873291, -0.11396371573209763, 0.29106977581977844, -0.01647341065108776, 0.5797995924949646, -0.9082297682762146, -0.5687373280525208, -0.12070624530315399, -0.6874788999557495, -0.2729355990886688, -0.4122841954231262, 0.1440369188785553, 0.32276415824890137, -0.3406916856765747, 0.4729955792427063, -0.26092496514320374, 0.553434431552887, 0.41223910450935364, 0.1683892160654068, 0.31687960028648376, -0.12799681723117828, -0.11738672852516174, -0.003125227987766266, -0.6209920644760132, -0.34202849864959717, 0.5367012023925781, 0.3476220667362213, 0.9635365009307861, 0.4014362394809723, 0.46145308017730713, 0.004211526829749346, 0.40854695439338684, -0.9546197056770325, 0.48583364486694336, -0.11996274441480637, -0.4611780643463135, -0.49085089564323425, -0.34857994318008423, -0.5653842687606812, 0.13161027431488037, -0.2588776648044586, -0.815881073474884, 0.17721377313137054, 0.15050078928470612, -0.4308513402938843, 0.33676645159721375, -0.9172895550727844, 1.3178045749664307, -0.1490054726600647, 0.015166879631578922, 0.10703111439943314, -0.7761474847793579, -0.03698228672146797, 0.30663251876831055, 0.089841328561306, -0.19115333259105682, -0.11458948999643326, 0.4845048189163208, -0.3393961787223816, 0.6597338318824768, -0.3044346570968628, 0.011820757761597633, 0.391236811876297, -0.011981494724750519, 0.7341439723968506, 0.20289044082164764, 0.16121633350849152, 0.12307130545377731, -0.12357388436794281, -0.35326090455055237, -1.0158950090408325, 0.7502752542495728, -0.6905341744422913, -0.6640093326568604, -0.14838305115699768, -0.5330129861831665, -0.33915263414382935, 0.5297189950942993, -0.04177204519510269, 0.6339958310127258, 0.21639643609523773, -0.049926791340112686, 0.6104676127433777, 0.20810949802398682, 0.09815265983343124, 0.36150649189949036, 0.012439998798072338, -0.21044375002384186, 1.0279996395111084, 0.3841772675514221, 0.16030237078666687, 0.612437903881073, -0.13003681600093842, -0.6304274797439575, -0.25478681921958923, -1.060153841972351, 0.24574726819992065, -0.8961771726608276, -0.470632404088974, -0.8412550091743469, -0.12409279495477676, -0.7102475166320801, -0.3359442353248596, -0.2735809087753296, -0.2667387127876282, -0.30124256014823914, -0.3316526412963867, 0.33669528365135193, 0.47887465357780457, 0.08290551602840424, -0.16758784651756287, -0.6984776854515076, 0.11299974471330643, 0.2812141478061676, 0.37609609961509705, 0.1457539200782776, -0.09458643943071365, 0.17205199599266052, -0.1914076805114746, 0.04186593368649483, -1.1238133907318115, -0.13153621554374695, 0.05821206420660019, 0.7091735005378723, 0.4662506878376007, 0.010793124325573444, 0.8236317038536072, -0.6322274804115295, 0.14284765720367432, 0.03658667579293251, -1.2495524883270264, 0.4892464876174927, -0.11010441929101944, -0.20531418919563293, 0.5622867345809937, 0.46879565715789795, -0.2538995146751404, 0.13319580256938934, -0.7677901983261108, -0.9069728255271912, 0.7569335699081421, 0.035557083785533905, -0.23980261385440826, 0.1592680811882019, 0.33705341815948486, -0.3494601845741272, 0.28697800636291504, -0.6331697106361389, -0.4467117488384247, -0.23233912885189056, -0.873512327671051, 0.3844074010848999, 0.23436066508293152, -0.36965131759643555, 0.12766969203948975, 0.8898630738258362, -0.6118856072425842, 0.08096478134393692, 0.05980297178030014, -0.4215462803840637, -0.09561636298894882, 0.07807940244674683, 0.10269761830568314, 0.7257432341575623, 0.2213890552520752, 0.35609784722328186, 0.408695787191391, -0.19028106331825256, 0.06471993774175644, 0.46813565492630005, -0.386601984500885, -0.32945725321769714, 0.298973023891449, 0.6877891421318054, 0.29354366660118103, -0.47078439593315125, 0.6701510548591614, 0.14956003427505493, 0.3312355577945709, -0.08614781498908997, -0.06981713324785233, 0.49706730246543884, 0.5088571906089783, -0.07408666610717773, 0.18195217847824097, 0.20823438465595245, -0.6344954967498779, 0.3682544529438019, 0.5031223893165588, -0.8145202994346619, -0.24401524662971497, 0.6660926938056946, 0.18450801074504852, -0.20163851976394653, 0.7142865061759949, -0.43306463956832886, -0.6434005498886108, 0.6750699877738953, 0.7696188688278198, 0.5665475726127625, 0.12547191977500916, 0.0422743484377861, 0.10430379211902618, 0.6269525289535522, 0.43419164419174194, 0.28052252531051636, 0.22266601026058197, -0.905953049659729, -0.3962193727493286, -0.5403462052345276, 0.10317470878362656, -0.31503069400787354, -0.626152753829956, 0.2548375725746155, -0.292695552110672, 0.2913009524345398, 0.2063041776418686, -0.13940449059009552, -0.6828481554985046, 0.4196789264678955, -0.09467267990112305, 1.0025246143341064, -1.1085103750228882, 0.4748965799808502, 1.1238195896148682, -0.7022016048431396, -1.251388430595398, -0.05679470673203468, 0.27101606130599976, -0.8942498564720154, 0.4244370758533478, 0.15205225348472595, -0.3071032464504242, 0.1239323765039444, -0.1802440881729126, -0.909456193447113, 1.6305023431777954, 0.5189158320426941, -0.31293749809265137, -0.2583920657634735, -0.2775333523750305, 0.34757453203201294, -0.6220453381538391, 0.04656195268034935, 0.7201138734817505, 0.46413454413414, 0.004289816599339247, -0.5291935801506042, 0.7450933456420898, -0.24840717017650604, -0.29196953773498535, 0.5422418117523193, -0.9915323853492737, 0.36938005685806274, -0.07722974568605423, -0.39461836218833923, -0.5157715678215027, 0.863756537437439, 0.20903350412845612, 0.42945706844329834, 0.8360928893089294, 1.0315942764282227, 0.7769774794578552, -0.14523299038410187, 0.7407160401344299, -0.2021356225013733, 0.1985308974981308, 1.1841058731079102, -0.34655430912971497, 0.5044904947280884, 0.40758270025253296, 0.1659446656703949, 0.8019284605979919, 0.27458125352859497, 0.2038416713476181, 0.5027486085891724, 0.06836266815662384, -0.05588599666953087, -0.39285674691200256, -0.3898601233959198, 0.05465763062238693, 0.2839289605617523, 0.4321795403957367, -0.38928601145744324, -0.1475536972284317, -0.3474726974964142, 0.07661312818527222, -0.06346534937620163, -0.4798858165740967, 0.7829602956771851, 0.10566165298223495, -0.5775639414787292, -0.46571993827819824, -0.0740031823515892, 0.18601490557193756, -0.29978057742118835, -0.2784125506877899, 0.31195035576820374, 0.02388625591993332, -0.5514222383499146, -0.6392967104911804, 0.22651663422584534, -0.49018189311027527, -0.3218037188053131, 0.0067460075952112675, 1.079952359199524, -0.4358370900154114, -0.13217411935329437, 0.5961151719093323, 0.43782222270965576, -0.22136875987052917, 0.1495642215013504, -0.6596343517303467, -0.25047725439071655, -0.19822552800178528, -0.09920991212129593, 0.19371071457862854, 0.8513080477714539, -0.20519322156906128, 0.4071941375732422, 0.4668883681297302, -0.272993266582489, 0.0029478478245437145, 0.20875129103660583, 0.9410308003425598, -0.4385010004043579, -0.4554179012775421, -0.7332198619842529, 0.4040452539920807, -0.15788647532463074, -0.03811519593000412, 0.510057270526886, 0.5431392192840576, 0.8835425972938538, 0.31285467743873596, 0.42422062158584595, -0.2611330449581146, -0.015919946134090424, -0.8211292624473572, 0.653058648109436, -0.5190625786781311, 0.2054237574338913, -0.3262048065662384, -0.7280862927436829, 0.0023478916846215725, 0.5557753443717957, -0.26975563168525696, 0.039227474480867386, 0.7705690264701843, 0.7216447591781616, -0.3716298043727875, 0.0815669596195221, -0.017267249524593353, 0.11391419172286987, 0.2855045795440674, 0.6109635233879089, 0.5184484124183655, -0.6040334701538086, 0.5178142786026001, 0.057194434106349945, -0.13305488228797913, 0.08171148598194122, -0.8538516163825989, -0.5544180274009705, -0.3017268478870392, -0.5295932292938232, -0.45031702518463135, -0.11351153999567032, 0.9645780324935913, 0.45788681507110596, -0.8163479566574097, 0.5457677245140076, 0.07284808903932571, 0.5323699712753296, -0.5583178997039795, -0.24492086470127106, 0.6181478500366211, -0.08499035984277725, -0.6465779542922974, 0.38230231404304504, 0.544428288936615, -0.09465279430150986, -0.0012232623994350433, 0.08508739620447159, -0.542156994342804, 0.1582973301410675, 0.3530738949775696, 0.1386260688304901, -0.614757239818573, -0.7577906847000122, 0.10168645530939102, -0.09281840920448303, -0.028844909742474556, 0.6262375712394714, -0.5720992684364319, 0.36636489629745483, 0.561144232749939, 1.1129173040390015, 0.12148098647594452, 0.39410319924354553, 0.5280303359031677, -0.8264689445495605, -0.34934425354003906, 0.12598997354507446, 0.692901611328125, 0.10221629589796066, -0.4674379527568817, 0.6750086545944214, 0.4269941449165344, -0.14765982329845428, -0.352964848279953, 0.3173482120037079, -0.9580195546150208, 0.1778707504272461, 0.9608599543571472, -0.49042829871177673, -0.5234938859939575, -0.20429372787475586, -0.02624097466468811, 0.40746811032295227, -0.4696432650089264, 0.18984651565551758, 0.43664565682411194, -0.39915409684181213, 0.1523250788450241, -0.2410212755203247, 0.5150798559188843, 0.38624560832977295, -1.0003718137741089, -0.3595958948135376, 0.5156781077384949, 0.41833871603012085, 0.5197622179985046, 0.6658592820167542, -0.22496214509010315, 0.3604275584220886, 0.12130317091941833, -0.18587779998779297, -0.09326814115047455, -0.5261793732643127, -0.05143728852272034, 0.21296326816082, -0.23349325358867645, -0.24340350925922394 ]
http://arxiv.org/abs/2403.04769v2
http://arxiv.org/pdf/2403.04769v2
Using Hallucinations to Bypass GPT4's Filter
2024-02-16T17:02:53
2024-03-11T01:21:32
Benjamin Lemkin
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
Large language models (LLMs) are initially trained on vast amounts of data, then fine-tuned using reinforcement learning from human feedback (RLHF); this also serves to teach the LLM to provide appropriate and safe responses. In this paper, we present a novel method to manipulate the fine-tuned version into reverting to its pre-RLHF behavior, effectively erasing the model's filters; the exploit currently works for GPT4, Claude Sonnet, and (to some extent) for Inflection-2.5. Unlike other jailbreaks (for example, the popular "Do Anything Now" (DAN) ), our method does not rely on instructing the LLM to override its RLHF policy; hence, simply modifying the RLHF process is unlikely to address it. Instead, we induce a hallucination involving reversed text during which the model reverts to a word bucket, effectively pausing the model's filter. We believe that our exploit presents a fundamental vulnerability in LLMs currently unaddressed, as well as an opportunity to better understand the inner workings of LLMs during hallucinations.
[ -0.46634209156036377, -0.9860399961471558, 0.7247792482376099, -0.0857468992471695, -0.4470314085483551, -0.04651348292827606, -0.3602347671985626, -0.5030364394187927, 0.34315022826194763, 1.275736689567566, -0.704215407371521, -0.41329455375671387, -0.5966870784759521, 0.13174352049827576, -0.5837441682815552, 1.1712294816970825, 0.08020532876253128, -0.12017901241779327, 0.2374717891216278, 0.2047869712114334, -0.5342388153076172, -0.6402124166488647, -0.6497628092765808, -0.730305016040802, 0.6322694420814514, 0.14410634338855743, 0.7816576361656189, 0.22873170673847198, 0.2199893593788147, 0.29851922392845154, 0.08275353908538818, 0.09249676018953323, -0.8242478370666504, 0.1366327852010727, -0.18306085467338562, -0.446638286113739, -0.11555532366037369, 0.030566656962037086, 0.5934451222419739, 0.45322927832603455, -0.2929074764251709, -0.41939777135849, 0.22119180858135223, 0.6570513844490051, -0.4082861542701721, -0.010633622296154499, -1.0183947086334229, 0.2256401777267456, -0.01764857769012451, -0.5541286468505859, -0.5693637132644653, -0.25581368803977966, -0.1938650906085968, -0.32387575507164, 0.2526076138019562, -0.044603560119867325, 0.7808326482772827, 0.5422021746635437, 0.06136542186141014, -0.23939915001392365, -0.8646944761276245, 0.5434421300888062, -0.7311402559280396, 0.39402657747268677, 0.6299739480018616, 0.16075415909290314, -0.6325639486312866, -0.5869817733764648, -0.819916844367981, -0.4274822175502777, -0.0789988711476326, -0.18576310575008392, 0.07608077675104141, 0.11517437547445297, 0.2847072184085846, 0.2123328149318695, -0.5423562526702881, 0.2104288935661316, -0.5166687369346619, -0.37357163429260254, 0.3303571045398712, 0.03766267001628876, 0.22133059799671173, -0.18518143892288208, -0.1585162729024887, -0.042597655206918716, -0.8574543595314026, -0.40640076994895935, 0.46972161531448364, 0.34976187348365784, 0.3929632306098938, 0.4812759459018707, 0.0670289397239685, 0.5004842877388, 0.035519346594810486, -0.034861452877521515, 0.05410796403884888, 0.260577917098999, -0.47335657477378845, 0.24665915966033936, 0.6051088571548462, 0.14011909067630768, 0.4076436460018158, -0.4265957176685333, -0.5064269304275513, 0.12560254335403442, 0.5657575130462646, -0.7597381472587585, -0.4139944314956665, 0.1853257715702057, -0.2370651513338089, -0.4076908528804779, 0.04858201742172241, -0.7353180050849915, -0.8452345728874207, -0.04098419472575188, 0.7266960740089417, -0.38548654317855835, -0.0038197918329387903, 0.29668745398521423, 0.15930390357971191, 0.17422924935817719, 0.15429797768592834, -0.8788655996322632, 0.43884533643722534, 0.6959319710731506, 0.8809573650360107, -0.06115390732884407, -0.6534402370452881, -0.9188458919525146, 0.002560974098742008, -0.25275975465774536, 0.6276973485946655, -0.5969332456588745, -0.5352324843406677, 0.09003681689500809, 0.27205607295036316, 0.14428716897964478, -0.8801552057266235, 0.28101563453674316, -0.7922859191894531, 0.07655800879001617, -0.07642795890569687, -0.3496532738208771, -0.3189639747142792, 0.1913583129644394, -0.7899322509765625, 0.6515651345252991, -0.021194791421294212, -0.6051395535469055, 0.09471558779478073, -0.2985961139202118, -0.37589454650878906, -0.19886206090450287, -0.060404855757951736, -0.6167362332344055, 0.0809997096657753, 0.3891063630580902, 0.32692062854766846, 0.16683800518512726, 0.29605355858802795, -0.46531742811203003, -0.9153827428817749, 0.2423270344734192, -0.5127537846565247, 0.7260041832923889, -0.024630993604660034, -0.518325924873352, 0.3146815896034241, -0.4840084910392761, -0.26596593856811523, 0.12209397554397583, -0.1512001007795334, -0.23191243410110474, -0.048914387822151184, -0.11109735816717148, 0.23151929676532745, -0.1960417628288269, -0.3834139108657837, 0.24269306659698486, -0.563660740852356, 0.5554684996604919, 0.9735477566719055, 0.26884520053863525, 0.25246208906173706, -0.30454277992248535, 0.6061658263206482, -0.17924772202968597, 0.09523666650056839, -0.035354577004909515, -0.32517895102500916, -0.5680260062217712, -0.21417362987995148, 0.005538121331483126, 0.46029189229011536, -0.884865403175354, 0.2881792485713959, -0.05176560953259468, -0.2360227257013321, -0.5131930112838745, 0.327498197555542, 0.24673974514007568, 0.3176434636116028, 0.4891631603240967, -0.254535436630249, -0.42779311537742615, -0.7548450827598572, -0.5140228867530823, -0.12166164815425873, 0.026002921164035797, 0.0748177021741867, 0.5339202284812927, -0.5367379188537598, 0.45682668685913086, -0.48871666193008423, -0.516991913318634, -0.2919154763221741, 0.17639829218387604, 0.2192676067352295, 0.3878442347049713, 0.13109980523586273, -0.4555531442165375, 0.21153301000595093, -0.39829710125923157, -0.5358868837356567, -0.3247602581977844, -0.4422614574432373, -0.0456681028008461, 0.37439030408859253, 0.8731015920639038, -0.6634687185287476, 0.630419135093689, 0.4482206702232361, -0.5272789001464844, 0.7593469023704529, -0.4132632613182068, 0.1342262625694275, -0.5825127959251404, -0.22572478652000427, -0.21727725863456726, -0.35028576850891113, -0.44882556796073914, 0.18518614768981934, 0.02206600457429886, -0.03859177604317665, -0.34610292315483093, 0.5126430988311768, -0.47197791934013367, -0.11774115264415741, -0.5947913527488708, 0.2567543685436249, -0.10647178441286087, 0.6047832369804382, -0.1384250670671463, 0.5871731638908386, 0.26341378688812256, -0.6136577725410461, 0.23461401462554932, 0.1273769736289978, -0.2757478654384613, 0.16730022430419922, -0.4028799831867218, 0.5291531085968018, -0.24632558226585388, 0.3302178978919983, -0.8010666370391846, -0.11457028985023499, 0.5769108533859253, -0.19715678691864014, 0.36388400197029114, -0.08952099084854126, -0.6493083834648132, -0.32224273681640625, -0.571807324886322, 0.018878458067774773, 0.37917935848236084, -0.785940408706665, 0.4916049540042877, 0.29609739780426025, 0.06817925721406937, -0.3260311186313629, -0.7797719836235046, 0.5030759572982788, -0.40426105260849, -0.10884775966405869, 0.27614626288414, -0.06303806602954865, -0.1970263123512268, -0.09646344184875488, -0.005128609016537666, 0.15473857522010803, 0.09416399896144867, 0.3259052634239197, 0.3215676248073578, 0.22913074493408203, -0.09573978185653687, 0.1023237332701683, -0.021550698205828667, 0.2661886513233185, -0.2727850079536438, 0.8337022066116333, -0.010746806859970093, -0.4531177282333374, -0.4621794819831848, 0.08711230754852295, 0.6536509990692139, -0.055179085582494736, 0.5713534951210022, 0.40447261929512024, -0.5486934781074524, -0.47923213243484497, -0.46737462282180786, -0.9604161381721497, -0.5147569179534912, 0.6021707057952881, -0.34959858655929565, -1.069053292274475, 0.4816873073577881, 0.13499610126018524, -0.15577617287635803, -0.07508498430252075, 0.4771631956100464, 0.11356741935014725, 0.8271268606185913, 0.48396074771881104, -0.22275696694850922, 0.4544529616832733, -0.14390073716640472, 0.5078759789466858, -0.9010426998138428, -0.11010324954986572, -0.31076863408088684, -0.42838427424430847, -0.5864642262458801, -0.34858834743499756, 0.3176664412021637, 0.17727617919445038, -0.15651853382587433, 0.18488797545433044, -0.42550185322761536, 0.6571017503738403, 0.3373166620731354, 0.5017393231391907, 0.40091824531555176, -0.004700545687228441, -0.025580231100320816, -0.16851107776165009, -0.3172435760498047, -0.42279016971588135, 0.9661464095115662, 0.33370262384414673, 0.9044240713119507, -0.015273657627403736, 0.8532102108001709, 0.2876111567020416, 0.34788474440574646, -0.6689015030860901, 0.8362265229225159, -0.05187153443694115, -0.2973056435585022, -0.5427787899971008, -0.26937738060951233, -0.8422716856002808, 0.5783733129501343, -0.07265102118253708, -0.9727111458778381, -0.0014353807782754302, 0.272138386964798, -0.33582860231399536, 0.6634916663169861, -0.6350873112678528, 0.640221893787384, -0.04018109664320946, -0.4609762728214264, -0.5862561464309692, -0.4241692125797272, 0.7575446367263794, -0.2559775412082672, 0.30602365732192993, 0.15687619149684906, 0.23145551979541779, 0.5193929076194763, -0.40451815724372864, 1.1027991771697998, -0.2798601984977722, -0.2809526026248932, -0.015557474456727505, 0.5046184659004211, 0.767622709274292, 0.23322808742523193, 0.15110905468463898, 0.039780955761671066, -0.23237748444080353, -0.16317659616470337, -0.8362704515457153, 1.124293565750122, -0.622441828250885, -0.9644279479980469, -0.4829053282737732, -0.30916744470596313, -0.19822831451892853, 0.08170418441295624, 0.1018901839852333, 0.21108806133270264, 0.03745494782924652, -0.2595057785511017, 0.6787766218185425, -0.46648961305618286, 0.41364961862564087, 0.37480273842811584, -0.8285858631134033, -0.36547785997390747, 0.8018079996109009, 0.05663590505719185, 0.21442291140556335, 0.016417020931839943, 0.3159344792366028, -0.26135432720184326, -0.6079063415527344, -0.30724671483039856, 0.4979011118412018, -0.6532105803489685, 0.02029743604362011, -0.6546732187271118, -0.33792880177497864, -0.24817074835300446, -0.02886074036359787, -0.2282315045595169, -0.09602555632591248, -0.3007369637489319, -0.18598343431949615, 0.3060988187789917, 0.8082430958747864, -0.03443482518196106, 0.11190864443778992, -0.5357126593589783, 0.5374019742012024, 0.4681684672832489, 0.44973063468933105, 0.03739161044359207, -0.945219874382019, -0.040332138538360596, -0.16980743408203125, -0.23884308338165283, -1.0532374382019043, 0.4628598690032959, 0.03527999669313431, 0.24737194180488586, 0.38180387020111084, 0.06272188574075699, 0.7484737634658813, -0.6146345734596252, 0.7005952596664429, -0.14401760697364807, -0.9928973913192749, 0.3512929081916809, -0.17160865664482117, 0.32625657320022583, 0.4186354875564575, -0.0016062670620158315, -0.6933261752128601, -0.7836154699325562, -0.3266323208808899, -0.755547046661377, 0.614708423614502, 0.014475272968411446, 0.3766610026359558, 0.023527905344963074, 0.6611663103103638, 0.20003168284893036, 0.20967109501361847, -0.8015468120574951, 0.0034733174834400415, -0.3671204745769501, 0.30370914936065674, -0.17497475445270538, -0.31403684616088867, -0.0009528431110084057, -0.5346592664718628, 0.8365174531936646, 0.08088777959346771, 0.09722103923559189, 0.30804112553596497, -0.23836594820022583, -0.09076741337776184, 0.20384027063846588, 0.7419499158859253, 0.4863816797733307, -0.23548340797424316, 0.46499893069267273, 0.10958672314882278, -0.6879030466079712, -0.05046916753053665, -0.11405529826879501, -0.33249467611312866, -0.1618136614561081, 0.3123517632484436, 0.9805463552474976, 0.38945484161376953, -0.7683680057525635, 0.0731680765748024, 0.05247122421860695, -0.26145175099372864, -0.390117883682251, 0.1115887463092804, -0.14504049718379974, 0.41235822439193726, 0.11028771102428436, -0.03345419093966484, 0.0012318127555772662, -0.758979082107544, 0.5140846967697144, 0.33113083243370056, -0.5381200313568115, -0.37758585810661316, 0.764831006526947, -0.3307601511478424, -0.5117635130882263, 0.6914986371994019, -0.16371653974056244, -0.828473687171936, 0.15900787711143494, 0.8096825480461121, 1.1618504524230957, -0.21268309652805328, 0.3575034439563751, 0.22420167922973633, 0.614190399646759, -0.19008998572826385, 0.14179106056690216, 0.22779437899589539, -0.9334901571273804, -0.4305512309074402, -0.4535142183303833, -0.1532483845949173, 0.6325888633728027, -0.3516564667224884, 0.23294153809547424, -0.5986723303794861, 0.023859549313783646, -0.27265802025794983, -0.3244937062263489, -0.29786595702171326, -0.06108444929122925, 0.13835687935352325, 0.5230721235275269, -0.6512850522994995, 1.179757833480835, 0.4091340899467468, -0.16895551979541779, -0.6592056751251221, 0.553631603717804, 0.06376317143440247, -0.7584158182144165, 0.37743130326271057, 0.1744012087583542, -0.5469666123390198, 0.14253057539463043, -0.8118208050727844, -0.39919281005859375, 0.647864043712616, 0.36404678225517273, -0.5921894311904907, 0.1915898621082306, -0.040076956152915955, 0.4604134261608124, -0.09129799157381058, -0.10130082815885544, 1.0531800985336304, 0.6206797957420349, -0.07300188392400742, -0.7232221364974976, 0.22747252881526947, -0.09623908251523972, -0.017144184559583664, 0.2058107554912567, -0.29285499453544617, 0.7128331065177917, -0.4852783977985382, 0.005312570836395025, -0.11678166687488556, 0.32666346430778503, 0.40938180685043335, -0.06733929365873337, 0.744421660900116, 0.605126142501831, 0.7828586101531982, 0.13574616611003876, 0.8981911540031433, -0.036047063767910004, 0.31888675689697266, 1.3177410364151, -0.48828306794166565, 0.9405749440193176, 0.9439230561256409, 0.11040783673524857, 0.3527233600616455, 0.4291639029979706, -0.04883787781000137, 0.8578268885612488, 0.5607662796974182, -0.17772817611694336, -0.24897027015686035, 0.3370608687400818, -0.06138962134718895, 0.3546130657196045, 0.3160882890224457, -0.034262169152498245, -0.19627365469932556, 0.4466990530490875, 0.34163978695869446, 0.3029203712940216, -0.29406479001045227, 0.6524254083633423, 0.22947292029857635, -0.7243946194648743, 0.922931969165802, 0.06985761970281601, 0.5976425409317017, -0.31196919083595276, -0.20278945565223694, -0.2005046159029007, 0.25504007935523987, -0.09348352253437042, -0.5673447847366333, 0.45250773429870605, -0.0828048512339592, 0.12458179891109467, -0.0931331142783165, 0.6150290966033936, -0.5054611563682556, -0.2576819956302643, 0.7055443525314331, 0.021883441135287285, 0.26063263416290283, -0.4252776503562927, -0.4829558730125427, 0.3503425121307373, 0.14945049583911896, -0.3714374899864197, 0.24755525588989258, 0.27809903025627136, -0.0934562236070633, 0.760891318321228, 0.5738629698753357, 0.43249988555908203, 0.06395257264375687, 0.4357573688030243, 1.0229523181915283, -0.9591036438941956, -0.47234204411506653, -1.1104419231414795, 0.0179780013859272, 0.11372806876897812, -0.06257292628288269, 0.49373602867126465, 0.2853379547595978, 0.9679524898529053, -0.11377880722284317, 0.7858994603157043, 0.36824825406074524, 0.36313265562057495, -0.8689987063407898, 1.0660984516143799, -0.42333051562309265, 0.8312238454818726, -0.3768772482872009, -0.9437694549560547, -0.4851090908050537, 0.6351101398468018, -0.4891526699066162, -0.017379989847540855, 0.9661211967468262, 1.1877501010894775, 0.13128827512264252, 0.06917273253202438, 0.5330378413200378, 0.7394891381263733, 0.4789990186691284, 0.4884149730205536, 0.808724582195282, -0.22383958101272583, 0.4772643744945526, -0.2701305150985718, -0.1377640813589096, -0.20516908168792725, -0.6044309139251709, -1.2373038530349731, -0.4232995808124542, -0.10837411880493164, -0.6692609190940857, 0.28925395011901855, 0.8222529888153076, 0.3616388440132141, -0.9134239554405212, -0.11134666204452515, -0.19697634875774384, 0.2736991345882416, -0.18501217663288116, -0.18478931486606598, 0.2935909032821655, -0.29772040247917175, -0.5584350228309631, 0.5085946917533875, 0.3955637216567993, 0.04721332713961601, -0.7188815474510193, -0.2795802056789398, -0.022809455171227455, 0.048410844057798386, 0.4067510664463043, 0.15106740593910217, -1.0004733800888062, -0.6663041710853577, -0.19004850089550018, 0.06432103365659714, 0.015492304228246212, 0.9614084959030151, -1.017712950706482, 0.3467857539653778, 0.21150809526443481, 0.565329372882843, 0.6079867482185364, -0.26634541153907776, 0.43845152854919434, -0.3522833585739136, 0.2753894627094269, 0.3227697014808655, 0.2759826183319092, 0.30945128202438354, -0.45661497116088867, 0.09226640313863754, 0.2968427240848541, -0.5049130320549011, -0.9450719356536865, 0.36841249465942383, -0.595782995223999, -0.6120109558105469, 1.0505958795547485, 0.3437820076942444, -0.18728718161582947, -0.27095937728881836, -0.3981846570968628, 0.11175192147493362, -0.21982572972774506, 1.4625509977340698, 0.8066636919975281, 0.10180271416902542, -0.37983375787734985, -0.8175386190414429, 0.6259332895278931, 0.3432977795600891, -0.6476675271987915, 0.20789963006973267, 0.386391818523407, 0.22090698778629303, -0.289365291595459, 0.6277233362197876, -0.34587913751602173, -0.09402348846197128, -0.3724627196788788, 0.03344060108065605, -0.07709095627069473, -0.5140077471733093, -0.6003623008728027, 0.09249510616064072, -0.028411556035280228, -0.07963152229785919 ]
http://arxiv.org/abs/2402.10812v1
http://arxiv.org/pdf/2402.10812v1
Exploring Hybrid Question Answering via Program-based Prompting
2024-02-16T16:35:41
2024-02-16T16:35:41
Qi Shi, Han Cui, Haofeng Wang, Qingfu Zhu, Wanxiang Che, Ting Liu
cs.CL
cs.CL
Question answering over heterogeneous data requires reasoning over diverse sources of data, which is challenging due to the large scale of information and organic coupling of heterogeneous data. Various approaches have been proposed to address these challenges. One approach involves training specialized retrievers to select relevant information, thereby reducing the input length. Another approach is to transform diverse modalities of data into a single modality, simplifying the task difficulty and enabling more straightforward processing. In this paper, we propose HProPro, a novel program-based prompting framework for the hybrid question answering task. HProPro follows the code generation and execution paradigm. In addition, HProPro integrates various functions to tackle the hybrid reasoning scenario. Specifically, HProPro contains function declaration and function implementation to perform hybrid information-seeking over data from various sources and modalities, which enables reasoning over such data without training specialized retrievers or performing modal transformations. Experimental results on two typical hybrid question answering benchmarks HybridQA and MultiModalQA demonstrate the effectiveness of HProPro: it surpasses all baseline systems and achieves the best performances in the few-shot settings on both datasets.
[ -0.4354030191898346, -1.0108722448349, 0.6061966419219971, 0.18295025825500488, -0.26427891850471497, 0.552512526512146, -0.2589512765407562, -0.3692818284034729, 0.109891876578331, 0.13527657091617584, -0.6560852527618408, -0.19362367689609528, 0.03291649743914604, 0.2753850221633911, 0.06546877324581146, 1.019461989402771, -0.044083815068006516, 0.0773487389087677, -0.35540300607681274, -0.2544093728065491, -0.5684970617294312, -0.11957442760467529, -0.11716678738594055, -0.26850196719169617, 0.46330249309539795, 0.5753311514854431, 0.6617065668106079, 0.297387957572937, 0.036301352083683014, 0.23794019222259521, 0.18119730055332184, 0.39454466104507446, -0.5134426951408386, 0.07799593359231949, -0.13587011396884918, -0.45572158694267273, 0.11233582347631454, -0.15764330327510834, 0.5294779539108276, 0.5935816168785095, -0.20528213679790497, 0.32860472798347473, -0.06505385041236877, 0.021526610478758812, -0.7552009224891663, -0.28313928842544556, -0.6689379811286926, 0.2003219574689865, -0.05650140345096588, -0.7771685719490051, -0.29084646701812744, -0.6127589344978333, -0.0554727278649807, -0.8189737200737, 0.09397953748703003, 0.33245187997817993, 0.5278506875038147, 0.27303481101989746, -0.31375107169151306, -0.0116663109511137, -0.8549172878265381, 0.7816532850265503, -0.3631097674369812, -0.025929423049092293, 0.36850863695144653, 0.5185622572898865, 0.060239583253860474, -0.3528701364994049, -0.8531942963600159, -0.24555639922618866, -0.02178986743092537, 0.2481185346841812, 0.0752784013748169, 0.06739316135644913, 0.27765923738479614, 0.6720917820930481, -0.7970519661903381, -0.13028165698051453, -0.5308457612991333, -0.4780240058898926, 0.2101077288389206, 0.24179331958293915, 0.2345002293586731, -0.3931514322757721, -0.3856922686100006, -0.19543835520744324, -0.4261527359485626, 0.15891295671463013, 0.3291091322898865, 0.17481182515621185, -0.13697683811187744, 0.6912229061126709, -0.03609945997595787, 0.8264452815055847, 0.07293190807104111, -0.1784786432981491, 0.16802510619163513, -0.3477761149406433, -0.2787119150161743, -0.20125839114189148, 0.7451104521751404, 0.07158797979354858, -0.08420799672603607, 0.020697928965091705, 0.16123634576797485, 0.05900919809937477, 0.012197298929095268, -0.23716026544570923, -0.13822606205940247, 0.5380591750144958, -0.4973391890525818, -0.25431346893310547, 0.1946321576833725, -1.2185500860214233, -0.29627373814582825, -0.06205236166715622, 0.5739881992340088, -0.5118817090988159, -0.17399956285953522, 0.0480804517865181, -0.26263752579689026, 0.4967030882835388, 0.48019641637802124, -0.483069509267807, 0.24048581719398499, 0.6802838444709778, 0.4526248872280121, -0.2101266086101532, -0.4119807183742523, -1.0755246877670288, 0.20988404750823975, 0.02926291525363922, 0.7886388897895813, -0.852955162525177, -0.46992364525794983, -0.138398215174675, -0.16928477585315704, -0.4584788978099823, -0.669142484664917, 0.3972679376602173, -0.3964979648590088, 0.673068642616272, -0.386146605014801, -0.28487205505371094, 0.03541292995214462, 0.3102177381515503, -0.3619121313095093, 1.6103942394256592, 0.3935871124267578, -0.903515100479126, 0.21078702807426453, -0.4973876178264618, -0.6063494086265564, 0.43507492542266846, -0.5769965648651123, -0.03521919623017311, -0.13986364006996155, 0.2544514238834381, -0.15779614448547363, -0.486049622297287, 0.16406039893627167, -0.18855515122413635, -0.5149136781692505, 0.0057007791474461555, -0.13739441335201263, 0.5997036099433899, 0.1324203461408615, -0.38527458906173706, 0.20377133786678314, -0.4441319704055786, 0.3230159878730774, 0.02059469185769558, -0.4613741636276245, -0.38868045806884766, -0.363079309463501, -0.13047416508197784, 0.2725400924682617, 0.22902916371822357, -0.7750572562217712, 0.23397167026996613, 0.07481271028518677, 0.2289968580007553, 0.4643113315105438, 0.07874520868062973, 0.2807183563709259, -0.4753601551055908, 1.1132036447525024, -0.3803809583187103, 0.1800766885280609, -0.25316062569618225, -0.7040213942527771, -0.09650534391403198, -0.22231647372245789, -0.05383805185556412, 1.0845929384231567, -1.1265114545822144, 0.09156211465597153, 0.23728878796100616, -0.14279645681381226, -0.629571795463562, 0.07946903258562088, 0.23963825404644012, 1.037853717803955, 0.4700463116168976, 0.34227776527404785, -0.4845426678657532, -0.5564104318618774, 0.051349200308322906, -0.26764437556266785, 0.02291501685976982, 0.6454980969429016, 0.3233550786972046, -0.022933518514037132, 0.8310893774032593, -0.5531686544418335, 0.4357871115207672, -0.6832000613212585, 0.392915278673172, 0.08608338236808777, 0.3707932233810425, 0.3374600410461426, -1.0234214067459106, -0.371509850025177, 0.20739242434501648, -0.5496499538421631, -0.10638776421546936, -0.21050994098186493, -0.1793445497751236, -0.39598438143730164, 0.35290002822875977, -0.5395897626876831, 0.20724955201148987, 0.546937882900238, 0.15827615559101105, 1.0079149007797241, -0.443099707365036, 0.47193506360054016, -0.9204719066619873, 0.4738636016845703, -0.319051057100296, -0.06635314226150513, -0.3575320243835449, -0.07747619599103928, -0.023138422518968582, -0.5578615069389343, -0.37802669405937195, 0.3276459276676178, -0.25968825817108154, -0.041432492434978485, -0.11213672906160355, -0.2832881808280945, 0.09523579478263855, 0.28162598609924316, 0.07085581123828888, 1.0610980987548828, 0.5668784976005554, -0.5205413699150085, 0.43010345101356506, 0.38106122612953186, 0.1398119330406189, 0.4753243625164032, -0.870368242263794, 0.3133912980556488, -0.27971816062927246, 0.4484386146068573, -0.9885950088500977, -0.4423025846481323, 0.255210816860199, -0.20661740005016327, -0.17930425703525543, -0.11756965517997742, -0.40303313732147217, -0.9114116430282593, -0.5499869585037231, 0.7007679343223572, 0.425733357667923, -0.5268259644508362, 0.6345685720443726, 0.06683619320392609, -0.17556996643543243, -0.4969234764575958, -0.42845436930656433, -0.1654530018568039, -0.24247227609157562, -0.4567129909992218, 0.44258448481559753, -0.3078259229660034, -0.10713676363229752, -0.07075474411249161, 0.026359854266047478, -0.20137614011764526, -0.44433850049972534, -0.02827560156583786, 0.7170568108558655, -0.2369113564491272, -0.03536022827029228, 0.2688257694244385, 0.057301394641399384, -0.17491617798805237, -0.08399458974599838, 0.6470139622688293, -0.13234907388687134, -0.30516940355300903, -0.4000130891799927, 0.6917505264282227, 0.6019223928451538, -0.550016462802887, 0.46869271993637085, 0.5311713814735413, -0.03622153401374817, -0.36637651920318604, -0.3437039852142334, -0.22164200246334076, -0.4899328351020813, -0.08662845939397812, -0.286942720413208, -0.9120547771453857, 0.35587820410728455, -0.11379879713058472, -0.08877027034759521, -0.0815228745341301, 0.5974183678627014, -0.23458020389080048, 1.002261996269226, 0.46611014008522034, 0.050739508122205734, 0.34985145926475525, -0.036567557603120804, 0.14282624423503876, -0.4920926094055176, -0.4293854832649231, -0.45395663380622864, -0.08091381937265396, -0.36322253942489624, -0.7642002701759338, 0.8128508925437927, -0.16488862037658691, 0.071272112429142, 0.38741663098335266, -0.6051228642463684, 0.5110486149787903, 0.6374664306640625, 0.22260966897010803, 0.30690401792526245, -0.09005793184041977, -0.2980497479438782, 0.10356065630912781, -1.017119288444519, -0.05858774855732918, 0.5863428711891174, -0.07444781810045242, 0.7982186675071716, -0.43717923760414124, 0.6154484748840332, 0.27643460035324097, 0.0283803828060627, -0.687960684299469, 0.5611258149147034, 0.25806695222854614, -0.44567999243736267, -0.22419202327728271, -0.7330151200294495, -0.7048999667167664, 0.188288152217865, -0.30424952507019043, -0.6242508888244629, 0.23771290481090546, 0.5534298419952393, -0.7347167730331421, 0.1937107890844345, -0.4576338827610016, 0.8063355088233948, -0.35531485080718994, -0.3805491626262665, -0.2184859812259674, -0.7642869353294373, 0.3735488951206207, 0.4107418954372406, 0.07013729959726334, 0.06927397102117538, 0.015847910195589066, 0.29434671998023987, -0.3286702036857605, 0.3886987864971161, -0.10118526965379715, 0.1291418969631195, 0.4598078727722168, 0.2932173013687134, 0.40221041440963745, 0.1974910944700241, -0.18425393104553223, -0.5991261601448059, 0.2512362003326416, -0.3835464119911194, -0.578711986541748, 0.5148718953132629, -0.20690937340259552, -0.32388097047805786, -0.22515085339546204, -0.9544163942337036, -0.6149205565452576, 0.04334532842040062, 0.593522310256958, 0.3893224596977234, 0.07752524316310883, -0.04658767580986023, 0.7291274070739746, -0.6076039671897888, 0.1289357990026474, 0.17047534883022308, 0.009845981374382973, -0.46919921040534973, 0.9280980229377747, -0.5552118420600891, 0.3255670964717865, 0.5252360701560974, 0.5728536248207092, -0.3458014726638794, -0.15000878274440765, -0.7336350679397583, 0.37597668170928955, -0.25914040207862854, -0.07415413856506348, -0.5122275352478027, 0.1681772768497467, -0.22843745350837708, -0.20883026719093323, -0.02768321894109249, -0.24711686372756958, 0.07200775295495987, 0.09276872128248215, 0.3438236713409424, 0.2071485072374344, -0.03646085411310196, -0.15337136387825012, -0.7216158509254456, 0.6543557047843933, 0.6102608442306519, 0.04284759610891342, -0.1279304474592209, -0.11770755797624588, 0.20082513988018036, -0.18532633781433105, 0.08273455500602722, -1.0088086128234863, -0.022412585094571114, 0.14878436923027039, 0.6571135520935059, 0.034597426652908325, 0.22747555375099182, 0.6350669264793396, -0.1656518578529358, 0.5597650408744812, 0.08347971737384796, -0.6268107891082764, 0.7989541292190552, -0.6882062554359436, 0.4772149324417114, 1.0795446634292603, 0.44737404584884644, -0.6000772714614868, -0.1666300743818283, -0.4141785204410553, -0.3980863094329834, 0.5604719519615173, -0.14882054924964905, 0.08521551638841629, 0.14683860540390015, 0.10814139246940613, 0.5183014869689941, 0.4799816906452179, -0.402319073677063, -0.0120680071413517, -0.22007478773593903, -0.09330300986766815, 0.44569242000579834, 0.4036998450756073, -0.26138752698898315, -0.5036140084266663, 0.3286915421485901, -0.4623820185661316, 0.34128156304359436, 0.1930931657552719, -0.0431070514023304, -0.1582280844449997, 0.4577452540397644, 0.3654777705669403, 0.5112032890319824, -0.0732506513595581, -0.022759396582841873, 0.09000828117132187, -0.35814225673675537, -0.012660777196288109, 0.3044290244579315, -0.2713152766227722, -0.20624959468841553, 0.11068549752235413, 0.45755478739738464, 0.09219631552696228, -1.1062482595443726, 0.39413610100746155, 0.18474744260311127, -0.014939457178115845, 0.27692386507987976, 0.1269948035478592, -0.16174204647541046, -0.27480068802833557, 0.6093866229057312, -0.142969012260437, 0.21175354719161987, -0.8457332253456116, 0.10132117569446564, 0.253141850233078, -0.08381932228803635, -0.2839895486831665, 0.5233783721923828, 0.14253757894039154, -0.03114468976855278, 0.5963934063911438, -0.19749414920806885, -0.758621335029602, 0.5309880971908569, 0.665006697177887, 0.31837448477745056, -0.12850265204906464, 0.8359988927841187, 0.28780651092529297, 0.06812504678964615, 0.11823097616434097, 0.6957557201385498, -0.5503957271575928, -0.5123178362846375, -0.45803070068359375, -0.369653582572937, -0.8499553203582764, 0.2980155646800995, -0.5237712264060974, -0.04491883143782616, -0.5959010124206543, 0.3362608850002289, -0.10213391482830048, -0.3976691663265228, -0.2547489106655121, 0.1013900637626648, 0.22811004519462585, 0.9187384247779846, -0.8542571067810059, 0.45502153038978577, 0.8538085222244263, -0.28108885884284973, -0.9307450652122498, 0.14386387169361115, 0.029268937185406685, -0.6617192625999451, -0.040811687707901, -0.03892417252063751, -0.2303534299135208, -0.16659384965896606, -0.5327799320220947, -0.21194957196712494, 0.7897747755050659, 0.4208272695541382, -0.031485047191381454, -0.14555759727954865, 0.3389328420162201, 0.4313853979110718, -0.2814904451370239, 0.10086274147033691, 0.4588777720928192, 0.6381980776786804, 0.3855363130569458, -1.0546305179595947, -0.049279943108558655, -0.35340097546577454, -0.3078531324863434, 0.24528302252292633, -0.4003640115261078, 0.8309094905853271, -0.2981031835079193, 0.00017151034262496978, 0.05167388170957565, 0.3213093876838684, 0.6440907716751099, 0.5808424949645996, 0.5381096005439758, 0.21650028228759766, 1.003339171409607, 0.21388503909111023, 1.1234327554702759, -0.09014414995908737, 0.10284777730703354, 1.1430069208145142, -0.53687584400177, 0.6360341310501099, 0.6381009817123413, -0.15592126548290253, 0.7900999188423157, 0.357544481754303, 0.10338668525218964, 0.3088797926902771, -0.16149555146694183, -0.5649367570877075, -0.38924553990364075, -0.22756099700927734, -0.3224618434906006, 0.4182991683483124, 0.11082004755735397, 0.10968952625989914, -0.4981467127799988, 0.3522847890853882, -0.14986814558506012, 0.3393824100494385, -0.21815790235996246, 0.3120248019695282, -0.17271198332309723, -1.0841246843338013, 0.4904649257659912, -0.2109483927488327, 0.7037283778190613, -0.848388135433197, -0.20536382496356964, -0.0819782018661499, -0.2344321608543396, -0.2981264591217041, -0.8136034607887268, 0.2874012887477875, -0.08371581882238388, -0.016944533213973045, -0.16422460973262787, 0.7362688779830933, -0.4055159091949463, -0.2979598641395569, 0.05541260913014412, 0.8479960560798645, -0.30709967017173767, -0.019481826573610306, -0.9025923609733582, 0.0548250637948513, -0.05661456659436226, 0.25180912017822266, -0.013528509065508842, 0.23735061287879944, -0.21843263506889343, 0.4470506012439728, 0.7904852628707886, -0.07418904453516006, 0.150313138961792, 0.1361110359430313, 0.7956873178482056, -0.4272172152996063, -0.8260769248008728, -0.13061220943927765, 0.2607153058052063, -0.2037227302789688, -0.5847796201705933, 0.846997857093811, 0.7084325551986694, 0.4018600285053253, -0.11221010982990265, 0.8375357389450073, -0.6099222898483276, 0.6219163537025452, -0.18161232769489288, -0.05834130197763443, -0.3548908233642578, 0.015643909573554993, -0.26727861166000366, -0.7293087244033813, 0.0622837170958519, 0.39868223667144775, -0.708314061164856, 0.012609662488102913, 0.5861395597457886, 0.9157976508140564, -0.37889528274536133, 0.28258922696113586, 0.009547727182507515, -0.2644134759902954, -0.20759528875350952, 0.6356024146080017, 1.1914311647415161, 0.05080946534872055, 0.8242287635803223, -0.37520933151245117, -0.37670615315437317, -0.12640480697155, -0.6365208029747009, -0.5446416735649109, -0.3647562861442566, -0.14332063496112823, -0.35132890939712524, -0.0329897366464138, 0.93738853931427, 0.8411663770675659, -0.7356142997741699, -0.09523291140794754, -0.19060811400413513, -0.025307996198534966, -0.37626978754997253, -0.3438013195991516, 0.08843863755464554, 0.19106848537921906, -0.4131377339363098, 0.7824253439903259, 0.4708077609539032, -0.17038504779338837, -0.07899720221757889, -0.0869252011179924, -0.20118825137615204, 0.01887790486216545, 0.28404852747917175, 1.091209053993225, -0.22218868136405945, -0.13613496720790863, 0.2987711429595947, 0.014706249348819256, 0.3882805109024048, 1.2578092813491821, -1.071667194366455, 0.297441691160202, 0.8233401775360107, 0.7318122386932373, 0.6515563726425171, 0.4496306777000427, 0.6130061149597168, -0.4621778428554535, 0.13686344027519226, 0.6683540344238281, -0.10937941819429398, 0.4057375192642212, -0.6634870767593384, 0.030733168125152588, 0.2655162513256073, -0.2820015847682953, -0.7488618493080139, 0.1888892501592636, -1.1832005977630615, -0.2470751255750656, 0.9630236029624939, 0.30474022030830383, -0.3210308253765106, -0.30251383781433105, -0.5457648634910583, -0.0882020890712738, -0.35445988178253174, 0.459664911031723, 0.0159342959523201, -0.6801849603652954, -0.33653172850608826, -0.4838712811470032, 0.3892420530319214, 0.6235260367393494, -1.2283518314361572, -0.0500204972922802, 0.6684718728065491, 0.35398152470588684, -0.039107710123062134, 0.7406214475631714, -0.25367602705955505, 0.8950745463371277, -0.03494315594434738, -0.4788278341293335, -0.11898685991764069, -0.3380666673183441, -0.23022249341011047, 0.3909183740615845, -0.36035922169685364, -0.043827421963214874 ]
http://arxiv.org/abs/2402.10811v2
http://arxiv.org/pdf/2402.10811v2
Quantifying the Persona Effect in LLM Simulations
2024-02-16T16:35:35
2024-06-17T11:06:57
Tiancheng Hu, Nigel Collier
cs.CL
cs.CL, cs.CY
Large language models (LLMs) have shown remarkable promise in simulating human language and behavior. This study investigates how integrating persona variables-demographic, social, and behavioral factors-impacts LLMs' ability to simulate diverse perspectives. We find that persona variables account for <10% variance in annotations in existing subjective NLP datasets. Nonetheless, incorporating persona variables via prompting in LLMs provides modest but statistically significant improvements. Persona prompting is most effective in samples where many annotators disagree, but their disagreements are relatively minor. Notably, we find a linear relationship in our setting: the stronger the correlation between persona variables and human annotations, the more accurate the LLM predictions are using persona prompting. In a zero-shot setting, a powerful 70b model with persona prompting captures 81% of the annotation variance achievable by linear regression trained on ground truth annotations. However, for most subjective NLP datasets, where persona variables have limited explanatory power, the benefits of persona prompting are limited.
[ -0.5246466994285583, -0.5919528007507324, 0.9671619534492493, 0.7826481461524963, 0.02443702705204487, 0.03403538465499878, -0.171059250831604, -0.45101475715637207, 0.26833030581474304, 0.45834654569625854, -0.5951370596885681, -0.30354490876197815, -0.3827512264251709, 0.10006318986415863, 0.054887834936380386, 0.789125382900238, 0.38417521119117737, 0.26422592997550964, -0.4886714220046997, 0.1832350343465805, -0.480891615152359, -0.900343120098114, -0.552962064743042, -0.7720422148704529, 0.9644534587860107, 0.10198000073432922, 0.4646036922931671, 0.10070633143186569, 0.3200688362121582, 0.25762560963630676, 0.02959892340004444, -0.060457635670900345, -0.43574291467666626, 0.2628597021102905, -0.2456769198179245, -0.6901828050613403, -0.3269258141517639, 0.35155147314071655, 0.7403197288513184, 1.003859043121338, 0.09852501004934311, 0.16363288462162018, 0.07668650150299072, 0.43395304679870605, -0.5075605511665344, 0.21738754212856293, -0.19790267944335938, 0.11755126714706421, -0.27853694558143616, -0.284494549036026, -0.6187019944190979, -0.28951483964920044, 0.3870386779308319, -0.22990161180496216, -0.20764286816120148, 0.15310817956924438, 0.4408656656742096, 0.23075661063194275, -0.45075955986976624, 0.03945578634738922, -1.0836882591247559, 0.7925111651420593, -0.6853266358375549, 0.061601631343364716, 0.3608141243457794, 0.07041602581739426, -0.20942360162734985, -0.2522817552089691, -0.5522011518478394, -0.2447470873594284, -0.2064548283815384, 0.1021818295121193, -0.15561307966709137, 0.17019763588905334, 0.6087280511856079, -0.03383341059088707, -0.06403429806232452, 0.2702837288379669, -0.2166716754436493, -0.03637205809354782, 0.5285090804100037, 0.3589029610157013, 0.14293107390403748, -0.608302652835846, -0.1343543529510498, 0.0017361989011988044, -0.5978536605834961, 0.2554849684238434, 0.6567750573158264, 0.34727296233177185, -0.10310464352369308, 0.6785778999328613, 0.025883356109261513, 0.5246262550354004, 0.3377453088760376, -0.5055259466171265, 0.24040819704532623, 0.04594412446022034, -0.15146765112876892, -0.3165009319782257, 0.7908812165260315, 0.46074771881103516, 0.5332656502723694, -0.11994724720716476, 0.03750842437148094, 0.018069177865982056, 0.2290429174900055, -0.6350160837173462, -0.26193514466285706, 0.3273663818836212, -0.2801852822303772, -0.17655856907367706, 0.018428144976496696, -0.9821339845657349, -0.9632279872894287, -0.537704348564148, 0.2051299512386322, -0.46018728613853455, -0.08623097836971283, 0.10186046361923218, -0.07203789055347443, 0.6458210349082947, 0.6874380707740784, -0.8516074419021606, 0.19115817546844482, 0.8200526833534241, 0.726356565952301, -0.16148966550827026, -0.28692367672920227, -0.5493272542953491, -0.023466622456908226, -0.12349833548069, 0.908863365650177, -0.727738618850708, -0.5969144701957703, 0.03247397392988205, -0.45207732915878296, -0.1922539621591568, -0.5375352501869202, 0.23324711620807648, -0.03184373304247856, 0.23394310474395752, -0.8483048677444458, -0.5878443121910095, 0.18499653041362762, 0.13619141280651093, -0.4561450183391571, 0.8011341691017151, 0.10486595332622528, -0.7555334568023682, 0.39551299810409546, -0.42718973755836487, -0.1825093924999237, 0.3122854232788086, -0.45134779810905457, 0.021630391478538513, 0.3727622926235199, 0.2173711210489273, 0.758952260017395, -0.12303514033555984, 0.46986958384513855, -0.2809981107711792, -0.3088960349559784, 0.818024218082428, -0.17836695909500122, 0.7615723013877869, -0.22117069363594055, -0.23438715934753418, -0.08857637643814087, -0.4296770691871643, -0.3450213074684143, -0.10613217949867249, -0.28055182099342346, -0.3908812999725342, -0.09201003611087799, 0.07059391587972641, 0.3725311756134033, -0.03006564825773239, -0.4774579703807831, 0.27450668811798096, -0.21098127961158752, -0.08576793223619461, 0.9078357815742493, 0.4352261424064636, 0.5362026691436768, -0.4769541025161743, 0.8912248611450195, -0.06793031841516495, -0.053589656949043274, -0.21622121334075928, -0.8425999283790588, -0.6387695670127869, -0.5971410870552063, 0.2409987598657608, 0.5577540397644043, -0.5829364061355591, 0.14974752068519592, -0.17261585593223572, -0.37091684341430664, -0.3910994529724121, -0.09799791127443314, 0.49045273661613464, 0.4179025888442993, -0.1210913211107254, -0.2384311854839325, -0.5139760971069336, -0.9743468165397644, -0.40646177530288696, -0.7596956491470337, -0.46281957626342773, 0.700634241104126, 0.5081049203872681, -0.002511544618755579, 0.9541088938713074, -0.3338383436203003, -0.1138928085565567, -0.2983218729496002, 0.39885130524635315, -0.04695116728544235, 0.3349846303462982, 0.8832424283027649, -0.3905025124549866, -0.5390275716781616, -0.5770538449287415, -0.6789358854293823, -0.5557277798652649, -0.43766266107559204, -0.04626348242163658, -0.18176105618476868, 0.2511099874973297, -0.5823876857757568, 0.3205142319202423, 0.38763633370399475, -0.3031429648399353, 0.7097606658935547, -0.013926745392382145, 0.25821563601493835, -0.7436254024505615, 0.05649184063076973, 0.6360172629356384, -0.16766563057899475, -0.7520899176597595, 0.051539503037929535, -0.18280094861984253, 0.06357187777757645, -0.5899007320404053, 0.6358259916305542, -0.16849249601364136, -0.23023688793182373, -0.11714810878038406, 0.1589227169752121, 0.06639854609966278, 0.43454039096832275, 0.1563289314508438, 0.89658123254776, 0.3274109661579132, -0.5716776251792908, 0.14316554367542267, 0.26364004611968994, -0.24476614594459534, 1.0953625440597534, -0.6770240068435669, 0.24022801220417023, -0.5337480306625366, 0.4688064157962799, -1.0824024677276611, -0.5898157358169556, 0.3626922369003296, -0.3321535587310791, 0.08006657660007477, -0.03362578526139259, -0.6743860840797424, -0.26820430159568787, -0.4433850347995758, -0.002363350009545684, 0.5613033771514893, -0.34184199571609497, 0.974270761013031, 0.35825788974761963, -0.11742985993623734, -0.18916554749011993, -0.7252811789512634, 0.33089974522590637, -0.508515477180481, -0.3749695420265198, 0.24424153566360474, -0.24098718166351318, -0.7333655953407288, -0.5909374356269836, 0.30647966265678406, 0.20189467072486877, -0.07099933177232742, 0.5193972587585449, 0.38392579555511475, 0.14122821390628815, -0.021841177716851234, -0.19374263286590576, 0.04876051843166351, 0.5151344537734985, -0.12454357743263245, 0.6701740026473999, -0.20801158249378204, -0.27093958854675293, -0.6716411113739014, 0.20155984163284302, 0.37004518508911133, 0.029434282332658768, 0.9769687056541443, 0.3362310230731964, -0.2528647780418396, 0.14369451999664307, -0.7025671601295471, -0.08670305460691452, -0.4952099025249481, 0.04478314146399498, -0.3324572741985321, -0.7689152956008911, 0.7778398394584656, -0.15622912347316742, 0.14650990068912506, -0.07363210618495941, 0.44921600818634033, -0.45682546496391296, 0.8046739101409912, 0.45175525546073914, 0.03982393816113472, 0.49401620030403137, 0.10578148812055588, 0.12726861238479614, -1.1263096332550049, -0.7379329800605774, -0.521584689617157, -0.5524774193763733, -0.6678714752197266, -0.6476587057113647, 0.1756407767534256, -0.47104623913764954, -0.09616262465715408, -0.013707172125577927, 0.010236091911792755, 0.35437119007110596, 0.5266935229301453, 0.263938307762146, 0.05453868210315704, -0.044353846460580826, -0.005471722222864628, -0.8382943868637085, -0.21208840608596802, -0.5800415277481079, 1.034496545791626, 0.45061689615249634, 0.9439439177513123, 0.1863715648651123, 0.6914498805999756, 0.1360643059015274, 0.49276259541511536, -0.8196595311164856, 0.847521960735321, 0.01239471510052681, -0.6036591529846191, 0.01231070514768362, -0.3554188311100006, -0.5136085152626038, 0.11668116599321365, -0.34945058822631836, -1.2078619003295898, 0.5790829062461853, 0.20351217687129974, -0.6205631494522095, 0.0422210618853569, -0.544053316116333, 0.25239333510398865, -0.15164493024349213, -0.5116147994995117, 0.2319018840789795, -0.6563600301742554, 0.5158941149711609, -0.2762441337108612, 0.04576549679040909, -0.28612059354782104, -0.1959603875875473, 0.6046593189239502, 0.0765109583735466, 1.2413004636764526, -0.3356287479400635, -0.19651836156845093, -0.0688946545124054, 0.1638651192188263, 0.28906017541885376, 0.13005630671977997, -0.348550409078598, 0.005530175287276506, -0.3516743779182434, -0.30018895864486694, -0.7271820902824402, 0.679108738899231, -0.8564286231994629, -0.8147896528244019, -0.43504318594932556, -0.6887084245681763, -0.6665716171264648, -0.3562021553516388, 0.17179855704307556, 0.10079815238714218, -0.13587166368961334, 0.2759854197502136, 0.8725872039794922, -0.6581302881240845, 0.09520424157381058, 0.5140015482902527, -0.7143048048019409, -0.2774469256401062, 0.45902565121650696, 0.017191583290696144, 0.3250040113925934, 0.27993664145469666, 0.2783721089363098, -0.2000851035118103, 0.047285471111536026, -0.09563764929771423, 0.5040896534919739, -0.7404714226722717, 0.1388034075498581, -0.826735258102417, 0.07966354489326477, -0.33855336904525757, -0.19620956480503082, -0.08646189421415329, -0.19311119616031647, -0.2825465798377991, -0.21609929203987122, 0.2090853899717331, 0.6283343434333801, 0.1062212735414505, 0.8030345439910889, -0.2612464129924774, 0.11294896900653839, 0.4296998679637909, 0.10965501517057419, 0.002743852324783802, -0.6692711710929871, 0.12904851138591766, -0.14911240339279175, 0.09367115050554276, -1.0426013469696045, 0.3288259208202362, 0.10073496401309967, 0.443086177110672, 0.5457042455673218, -0.16851182281970978, 0.9124011397361755, -0.4833186864852905, 1.032816767692566, 0.0542597733438015, -0.9287962913513184, 0.5667493939399719, -0.7134992480278015, 0.6168532967567444, 0.7451487183570862, 0.3468879163265228, -0.6840336322784424, -0.5007210969924927, -0.3629884719848633, -0.6159056425094604, 0.6591588258743286, 0.21713872253894806, 0.5204705595970154, 0.010827271267771721, 0.9480909705162048, 0.058440059423446655, 0.32030120491981506, -0.8933736085891724, -0.5771706700325012, 0.0704549252986908, 0.04517096281051636, 0.06044204160571098, -0.41859859228134155, 0.16363170742988586, -0.4200609624385834, 0.32701030373573303, 0.0842856839299202, 0.396380215883255, -0.08549823611974716, 0.36332961916923523, -0.13434846699237823, -0.04427630454301834, 0.4414706528186798, 0.5632649064064026, -0.22176504135131836, 0.14307597279548645, 0.11139503121376038, -0.2787262797355652, 0.13886506855487823, -0.1687532514333725, -0.43997982144355774, 0.07003908604383469, 0.36513060331344604, 0.811298668384552, 0.5088054537773132, -0.5554431676864624, 0.41579851508140564, -0.32197001576423645, -0.2162490338087082, -0.33098405599594116, 0.2564748525619507, 0.34284472465515137, 0.2910861670970917, 0.39290568232536316, -0.004537796601653099, 0.05638132244348526, -0.5376792550086975, -0.011330435052514076, 0.40123575925827026, -0.14214959740638733, -0.45390045642852783, 0.7727686166763306, 0.18741625547409058, -0.650612473487854, 0.5559577345848083, 0.1768539547920227, -0.3100162148475647, 0.5045931935310364, 0.4615184962749481, 0.6533518433570862, -0.49969935417175293, 0.648918628692627, 0.27614501118659973, 0.2566784918308258, -0.013771048747003078, 0.08722108602523804, 0.2461775541305542, -0.501984715461731, -0.5926098227500916, -0.6778584718704224, -0.8495048880577087, 0.3357155919075012, -0.6411400437355042, 0.2980157732963562, -0.6267044544219971, -0.32913199067115784, 0.20970535278320312, 0.094735287129879, -0.9140698313713074, 0.09372876584529877, 0.43678227066993713, 0.624488115310669, -1.0673954486846924, 0.5936492681503296, 0.8765057325363159, -0.36309513449668884, -0.7565843462944031, 0.4942212998867035, 0.3060806691646576, -0.5884097218513489, 0.6524739265441895, 0.2910342812538147, 0.0707876980304718, -0.09688177704811096, -0.6757910251617432, -0.6847435832023621, 0.7371847629547119, 0.819541335105896, -0.42554453015327454, -0.016942495480179787, 0.5131193995475769, 0.8172184228897095, -0.5921820402145386, 0.09299780428409576, 0.5677235126495361, 0.5799850821495056, 0.2073536068201065, -0.6675313711166382, -0.16630461812019348, -0.13449938595294952, 0.22307711839675903, -0.23545846343040466, -0.6044431924819946, 0.7835119366645813, -0.1226399689912796, 0.07601368427276611, -0.16333824396133423, 0.7596160173416138, 0.6861758232116699, 0.24400784075260162, 0.47748830914497375, -0.04991934821009636, 0.8102105855941772, 0.11789602041244507, 1.231197476387024, -0.15235401690006256, -0.0017217856366187334, 1.167581558227539, -0.614669680595398, 0.6601572632789612, 0.7312536239624023, -0.2888558506965637, 0.7250128388404846, 0.6439497470855713, 0.05016682669520378, 0.24621184170246124, 0.12691690027713776, -0.4471980333328247, -0.38545605540275574, -0.35844185948371887, 0.01835368201136589, 0.4626650810241699, 0.40349280834198, -0.3825591206550598, 0.18684899806976318, 0.20167256891727448, 0.25276684761047363, 0.14660505950450897, -0.025209655985236168, 0.44574370980262756, 0.31850671768188477, -0.8028435111045837, -0.24994637072086334, -0.013955662958323956, 0.7094509601593018, -0.5081841349601746, 0.2199326455593109, -0.4232047200202942, -0.16684167087078094, -0.10607580095529556, -0.7460301518440247, 0.08217953145503998, 0.07500320672988892, -0.1464846432209015, -0.5731658935546875, 0.7557944655418396, -0.33430373668670654, -0.5554667115211487, 0.2663322985172272, 0.8389577865600586, 0.272338330745697, -0.11293251067399979, -0.4128517210483551, -0.018593639135360718, -0.09865392744541168, -0.5347594618797302, 0.6436619162559509, 0.45133525133132935, 0.2468060702085495, 0.7511857151985168, 0.5209531784057617, 0.11353597044944763, -0.12128431349992752, 0.29914870858192444, 0.8104353547096252, -0.554721474647522, -0.2797670364379883, -1.0624210834503174, 0.6155272722244263, -0.050833869725465775, -0.17736493051052094, 1.0130598545074463, 0.2424498051404953, 0.3848447799682617, -0.22823303937911987, 0.6531973481178284, 0.04550536349415779, 0.21811167895793915, -0.14622825384140015, 0.4360463619232178, -0.15735158324241638, 0.5520243644714355, -0.544227659702301, -0.9455031752586365, -0.29635146260261536, 0.7621967196464539, -0.672577440738678, 0.3478061854839325, 0.3776458203792572, 0.42691680788993835, 0.3351786434650421, -0.06903987377882004, 0.4408700466156006, 0.00640110531821847, 0.4318738877773285, 0.2356986701488495, 0.7979462146759033, 0.12975876033306122, -0.08420940488576889, -0.3709948658943176, -0.22959040105342865, -0.14799676835536957, -0.9838241338729858, -1.3781429529190063, -0.4166247546672821, -0.3958635926246643, -0.3307962119579315, -0.18302622437477112, 0.9928040504455566, 0.5536912083625793, -0.4806530773639679, -0.2067505121231079, 0.3033605217933655, -0.2140505015850067, 0.15121306478977203, -0.2841717302799225, -0.15206781029701233, -0.07070856541395187, -1.0004823207855225, 0.022488534450531006, 0.4396257996559143, 0.008864196017384529, -0.9354877471923828, -0.02807665430009365, -0.19328142702579498, 0.5162989497184753, 0.714817464351654, -0.04740495607256889, -0.7860279083251953, -0.4994886815547943, 0.35147058963775635, -0.11136917769908905, 0.07306195050477982, 0.8813122510910034, -1.0483089685440063, 0.26706230640411377, 0.22987739741802216, 0.2658551037311554, 0.23683524131774902, 0.3043164610862732, 0.750296413898468, -1.119918942451477, 0.13558445870876312, 0.26868531107902527, 0.31320297718048096, 0.5572100281715393, -0.6783850193023682, 0.40578022599220276, 0.18232880532741547, -0.49702560901641846, -0.6828087568283081, 0.24638128280639648, -0.8242760300636292, -0.07614362984895706, 1.4793260097503662, -0.23711250722408295, -0.23246310651302338, -0.15348441898822784, -0.2192414253950119, -0.32577088475227356, -0.565837025642395, 0.8493357300758362, 0.947584867477417, -0.5591379404067993, -0.4984356760978699, -0.783316969871521, 0.2578921318054199, 0.3282068371772766, -1.0389745235443115, 0.06827914714813232, 0.798662006855011, 0.16334493458271027, 0.10757357627153397, 0.8634483814239502, 0.18767334520816803, -0.09878825396299362, -0.17019402980804443, -0.13907335698604584, 0.25990957021713257, -0.19710573554039001, -0.4711107909679413, 0.05520366504788399, 0.12581539154052734, 0.4511716365814209 ]
http://arxiv.org/abs/2402.10805v1
http://arxiv.org/pdf/2402.10805v1
Generative Cross-Modal Retrieval: Memorizing Images in Multimodal Language Models for Retrieval and Beyond
2024-02-16T16:31:46
2024-02-16T16:31:46
Yongqi Li, Wenjie Wang, Leigang Qu, Liqiang Nie, Wenjie Li, Tat-Seng Chua
cs.MM
cs.MM, cs.AI, cs.CL, cs.CV, cs.IR
The recent advancements in generative language models have demonstrated their ability to memorize knowledge from documents and recall knowledge to respond to user queries effectively. Building upon this capability, we propose to enable multimodal large language models (MLLMs) to memorize and recall images within their parameters. Given a user query for visual content, the MLLM is anticipated to "recall" the relevant image from its parameters as the response. Achieving this target presents notable challenges, including inbuilt visual memory and visual recall schemes within MLLMs. To address these challenges, we introduce a generative cross-modal retrieval framework, which assigns unique identifier strings to represent images and involves two training steps: learning to memorize and learning to retrieve. The first step focuses on training the MLLM to memorize the association between images and their respective identifiers. The latter step teaches the MLLM to generate the corresponding identifier of the target image, given the textual query input. By memorizing images in MLLMs, we introduce a new paradigm to cross-modal retrieval, distinct from previous discriminative approaches. The experiments demonstrate that the generative paradigm performs effectively and efficiently even with large-scale image candidate sets.
[ -0.26005813479423523, -0.7914801239967346, 0.43759989738464355, 0.03665769845247269, -0.3287148177623749, 0.0032495807390660048, -0.12153969705104828, -0.2603265047073364, -0.02154327929019928, 0.47727465629577637, -0.25389036536216736, -0.34596893191337585, -0.4292967915534973, -0.13319364190101624, -0.5047259330749512, 0.7321307063102722, 0.01837453804910183, 0.2814369797706604, -0.426827996969223, -0.34620821475982666, -0.4690510928630829, -0.5220968723297119, -0.7562564611434937, -0.10239250212907791, 0.8221359252929688, -0.10083356499671936, 0.5456041097640991, 0.49682798981666565, 0.3799600601196289, 0.3194562792778015, 0.09612316638231277, 0.11477120965719223, -0.5360051393508911, 0.3833775520324707, -0.3548886477947235, -0.6837765574455261, 0.1583510786294937, -0.31293463706970215, 0.753858745098114, 0.4900408685207367, -0.013871879316866398, -0.17107073962688446, -0.3287450969219208, 0.6356176137924194, -0.9488620162010193, 0.22995352745056152, -1.0058242082595825, 0.3280302882194519, -0.12396509945392609, -0.7598782777786255, -0.6131982803344727, 0.07028502970933914, -0.020515644922852516, -0.6907771229743958, 0.31598949432373047, 0.1496594101190567, 0.5629169940948486, -0.109223872423172, -0.5924817323684692, -0.43973734974861145, -0.7231900095939636, 0.6945420503616333, -0.14358128607273102, 0.8716913461685181, 0.7334498763084412, 0.4427608251571655, 0.30021122097969055, -0.9237427115440369, -0.4634207785129547, -0.26616743206977844, 0.01295260526239872, 0.14004379510879517, -0.013691306114196777, -0.203577920794487, 0.35766276717185974, 0.46510276198387146, -0.6421861052513123, -0.24992254376411438, -0.3715672194957733, -0.38572371006011963, 0.33306899666786194, 0.28036290407180786, 0.42912912368774414, 0.01544551644474268, -0.5843952298164368, -0.22457894682884216, -0.8331409096717834, -0.2548176646232605, -0.14331349730491638, 0.17155073583126068, 0.16779373586177826, 0.5916942358016968, 0.06982151418924332, 0.5258261561393738, 0.02417277731001377, -0.3562191426753998, 0.26428693532943726, -0.46299540996551514, -0.20269809663295746, -0.28650030493736267, 0.5573466420173645, 0.30172112584114075, 0.008687109686434269, -0.24407482147216797, -0.5547731518745422, -0.17880374193191528, 0.28316226601600647, -0.6639609336853027, -0.2584158182144165, -0.4378880262374878, -0.8233500719070435, 0.1916835457086563, -0.14331848919391632, -0.7113471627235413, -0.2935653030872345, -0.3103904128074646, 0.8074732422828674, -0.6429212093353271, -0.12992830574512482, -0.2737284004688263, -0.22256794571876526, 0.1844399869441986, 0.4982917904853821, -1.0852692127227783, -0.016449106857180595, 0.24854347109794617, 0.5461388826370239, 0.14796002209186554, -0.5612995028495789, -0.6202260851860046, 0.5476744771003723, -0.24592453241348267, 0.5147576332092285, -0.914257824420929, -0.5691782832145691, 0.1697995513677597, 0.1080465093255043, -0.22947417199611664, -0.5929256081581116, 0.048467960208654404, -0.9002881646156311, 0.3068324625492096, -0.5074918866157532, -0.40972423553466797, -0.45746710896492004, 0.4695720374584198, -1.0036410093307495, 0.8975892066955566, 0.04857727885246277, -0.6966267228126526, 0.21818123757839203, -0.11817039549350739, -0.6197654604911804, -0.07330702990293503, -0.3397669792175293, -0.4236355423927307, 0.16695638000965118, 0.19342055916786194, 0.45600107312202454, -0.5069594383239746, -0.0761270746588707, -0.2853040099143982, -0.14351890981197357, 0.12939149141311646, -0.6092367768287659, 0.46860766410827637, 0.2130695879459381, -0.003406188916414976, 0.12796837091445923, -0.5343457460403442, -0.05549415200948715, 0.35110923647880554, -0.6163384318351746, -0.6081666350364685, -0.1069527119398117, 0.44369935989379883, 0.37505120038986206, 0.1124996542930603, -0.3487468957901001, -0.0595782995223999, 0.29457607865333557, 0.28383851051330566, 0.4494290053844452, -0.03696136549115181, 0.4859394431114197, -0.3608948588371277, 0.4351227879524231, 0.17524372041225433, 0.1416534185409546, -0.7685718536376953, -0.16310402750968933, -0.6707186102867126, -0.3872305452823639, 0.09387237578630447, 0.40715715289115906, -1.3114255666732788, -0.032729536294937134, -0.1364288479089737, -0.2758561372756958, -0.26191794872283936, 0.37038660049438477, 0.7063482403755188, 0.2374662309885025, 0.4648609459400177, -0.5158276557922363, -0.5011323094367981, -0.821839451789856, 0.09920341521501541, -0.05074290931224823, 0.052976276725530624, 0.5621832609176636, 0.6261627078056335, -0.16044208407402039, 0.5328429341316223, -0.24892866611480713, -0.5197323560714722, -0.052446551620960236, 0.34392261505126953, -0.5843669176101685, 0.32802900671958923, 0.6426509618759155, -1.3641555309295654, -0.47433945536613464, 0.15055625140666962, -0.7895212769508362, 0.4614730179309845, -0.24796341359615326, -0.027671560645103455, 0.3860584497451782, 0.8229584693908691, -0.852544367313385, 0.28308162093162537, 0.25747525691986084, -0.212156742811203, 0.29662197828292847, -0.38374069333076477, 0.276345431804657, -0.959973931312561, 0.3036889135837555, -0.168289914727211, -0.3228645324707031, -0.30268964171409607, 0.08107329159975052, 0.23256056010723114, -0.13872437179088593, -0.3465307652950287, 0.5184757709503174, -0.9284482598304749, -0.1673314869403839, -0.09076343476772308, -0.21236644685268402, 0.09082242846488953, 0.5528008341789246, 0.17958588898181915, 0.7965826988220215, 0.6856881976127625, -0.32297298312187195, 0.4026307165622711, 0.1684238761663437, -0.33376365900039673, 0.823419451713562, -0.27886003255844116, 0.19173559546470642, -0.5669333934783936, 0.32336559891700745, -0.8254542350769043, 0.07694573700428009, -0.05787472799420357, -0.04986109212040901, 0.5543343424797058, -0.13263975083827972, -0.6165798902511597, -0.12894870340824127, -0.024910494685173035, 0.7468312382698059, 0.3533655107021332, -0.5251772403717041, 1.0800014734268188, 0.3429851531982422, -0.08454257249832153, -0.6080377697944641, -0.40156927704811096, 0.06791182607412338, -0.041027262806892395, -0.16175857186317444, 0.2867162823677063, -0.01304665021598339, 0.2099059820175171, 0.1391858607530594, 0.08420354872941971, -0.08989470452070236, -0.16216418147087097, 0.12882040441036224, 0.16872595250606537, -0.13948461413383484, 0.4762163460254669, -0.36331164836883545, 0.05241382122039795, -0.17613892257213593, -0.25306129455566406, 0.6773542761802673, 0.012547780759632587, -0.6475905179977417, -0.0014333681901916862, 0.8727922439575195, 0.834565281867981, -0.753016471862793, 0.3911203145980835, 0.9344770908355713, -0.3605981469154358, -0.04547945410013199, -0.6750249266624451, -0.11788301169872284, -0.3885912299156189, 0.6970422267913818, -0.7177977561950684, -0.7529772520065308, 0.5056287050247192, 0.09090343117713928, -0.2525672912597656, 0.06778467446565628, 0.8550861477851868, -0.20321373641490936, 1.0198827981948853, 0.7279835939407349, -0.0015896933618932962, 0.7156323790550232, -0.2643681764602661, -0.08425736427307129, -0.8474240899085999, -0.723388135433197, -0.1408742219209671, -0.1986236870288849, -0.020391404628753662, -0.8177599310874939, 0.3666873574256897, 0.093754343688488, 0.03592304885387421, 0.12704099714756012, 0.012123369611799717, 0.565423309803009, 0.8035759925842285, 0.29416629672050476, 0.4215974509716034, 0.18395619094371796, -0.44188159704208374, 0.10843395441770554, -0.5889232158660889, 0.007010628469288349, 1.0058941841125488, 0.08306898176670074, 1.215800404548645, -0.005348585080355406, 0.4559358060359955, -0.01314141508191824, 0.18359676003456116, -0.7592934966087341, 0.6470146775245667, -0.20319482684135437, -0.7337803244590759, -0.08872367441654205, -0.3480861485004425, -0.9634793996810913, 0.5073712468147278, -0.33737826347351074, -0.34452584385871887, 0.2317150980234146, 0.2860819697380066, -0.13459058105945587, 0.44783684611320496, -0.3962896466255188, 0.8742149472236633, -0.5180718898773193, -0.3657061755657196, -0.5013154149055481, -0.8676941394805908, 0.2114025056362152, -0.06298407167196274, -0.17397670447826385, 0.09096350520849228, -0.15832242369651794, 0.22352570295333862, 0.21033690869808197, 0.9252274036407471, -0.05402979254722595, -0.03863418847322464, -0.018163859844207764, 0.17338933050632477, 0.16002680361270905, -0.2644973397254944, 0.1512725055217743, -0.24478085339069366, -0.014794938266277313, -0.23220257461071014, -0.7301456332206726, 0.6383131146430969, -0.35578757524490356, -0.4843377470970154, -0.10523046553134918, -0.9372562766075134, -0.05121711641550064, 0.2655607759952545, 0.17150044441223145, 0.48874589800834656, -0.5003413558006287, 0.4621674716472626, 0.9625558257102966, -0.2182905673980713, 0.5680950880050659, 0.4105443060398102, -0.5014364719390869, -0.5483337044715881, 1.1187059879302979, 0.10977597534656525, 0.41230258345603943, 0.8828656077384949, -0.28168895840644836, -0.4129882752895355, -0.3776523172855377, -0.356319785118103, 0.1449393332004547, -1.0720641613006592, -0.2172757089138031, -0.6189877390861511, -0.013305931352078915, -0.1435340940952301, 0.023066768422722816, -0.23040872812271118, -0.2959200441837311, -0.26050588488578796, 0.31961244344711304, 0.0638076663017273, 0.45748451352119446, 0.08548275381326675, -0.2518666684627533, -0.9087733626365662, 0.6024672985076904, 0.6527813673019409, 0.33752837777137756, 0.24711459875106812, -0.1518726497888565, -0.2255476415157318, -0.1598276048898697, -0.37180542945861816, -0.6854968070983887, 0.40909966826438904, 0.43591412901878357, 0.8209278583526611, 0.40473684668540955, -0.2694379389286041, 0.6082093715667725, -0.5740550756454468, 0.38407787680625916, 0.4830007255077362, -0.7242767214775085, 0.5014407634735107, -0.16151772439479828, 0.42416349053382874, 0.2675514221191406, 0.6614295244216919, -0.729552149772644, -0.016429342329502106, -0.1706756353378296, -0.7468218803405762, 0.33104944229125977, -0.11481452733278275, 0.34481289982795715, -0.1554233431816101, -0.08057963848114014, 0.2723235487937927, 0.23675745725631714, -0.7603828310966492, 0.047522906213998795, -0.3734831213951111, -0.21588128805160522, -0.11669301986694336, -0.331015408039093, -0.5537359714508057, -0.27958446741104126, 0.4220191240310669, -0.3133127987384796, 0.3515247702598572, 0.1333606094121933, -0.60478276014328, -0.03668509051203728, 0.22606998682022095, 0.5777040123939514, 0.6578306555747986, 0.044607482850551605, 0.4143088757991791, -0.026779361069202423, -0.26006507873535156, 0.11057548969984055, 0.11614345759153366, -0.25800129771232605, 0.00041169035830534995, 0.2357928305864334, 1.0719135999679565, 0.26449769735336304, -0.8828206658363342, 0.5731672048568726, 0.028187088668346405, -0.052205439656972885, -0.26605868339538574, -0.320602685213089, 0.20836840569972992, 0.4091045558452606, 0.47318920493125916, 0.03322543948888779, 0.11358319222927094, -0.9363864064216614, 0.28659945726394653, 0.8261625170707703, -0.30754223465919495, -0.3187544643878937, 0.6764956116676331, 0.057349707931280136, -0.2452947348356247, 0.6765853762626648, 0.10088881850242615, -0.4784826338291168, 0.41982322931289673, 0.937889814376831, 0.7405821084976196, -0.19674304127693176, 0.18385331332683563, 0.1849936991930008, 0.11177457123994827, -0.15241095423698425, 0.4340318739414215, -0.38098812103271484, -0.581996738910675, 0.05594911426305771, -0.4588441252708435, 0.02917015738785267, -0.07253774255514145, -0.5754085779190063, -0.022496629506349564, -0.5681072473526001, -0.14304319024085999, -0.045324865728616714, -0.5387935638427734, -0.6836449503898621, 0.30577677488327026, 0.451385498046875, 0.8294296860694885, -0.7246493697166443, 1.0197923183441162, 0.7242382168769836, -0.828648030757904, -0.4730227291584015, -0.15757088363170624, 0.03937279060482979, -0.9799924492835999, 1.0040953159332275, 0.13965369760990143, 0.005626369267702103, -0.058557964861392975, -0.32517552375793457, -0.7675579786300659, 1.319128155708313, 0.2523174583911896, -0.37830278277397156, -0.20108403265476227, -0.058337777853012085, 0.4523518681526184, -0.44748562574386597, 0.23925580084323883, 0.13364338874816895, 0.2538996934890747, 0.39690130949020386, -1.016100525856018, 0.20014645159244537, -0.4284224808216095, 0.5985245704650879, 0.3001954257488251, -0.5553534030914307, 1.0692603588104248, -0.5229292511940002, -0.39887043833732605, 0.249419167637825, 0.4326227903366089, 0.04795113578438759, 0.38769659399986267, 0.5728750824928284, 0.8456307053565979, 0.4456818103790283, 0.03959639370441437, 1.1719462871551514, 0.018273621797561646, 0.2703855335712433, 0.8883097767829895, -0.18858730792999268, 1.008701205253601, 0.7369048595428467, 0.17118403315544128, 0.2029801905155182, 0.26921001076698303, -0.18687912821769714, 0.8341256976127625, -0.22620999813079834, -0.5465652942657471, -0.5275769233703613, -0.27494874596595764, -0.39712807536125183, 0.47367098927497864, 0.4290003478527069, -0.8343733549118042, -0.41415929794311523, 0.49611252546310425, -0.3988558053970337, 0.04586135223507881, -0.3574172556400299, 0.9229322671890259, 0.1352594643831253, -0.569878101348877, 0.6665531992912292, -0.30764034390449524, 0.3959297239780426, -0.6679536700248718, -0.28579291701316833, -0.08189336210489273, 0.19815772771835327, 0.05488443374633789, -0.6038735508918762, 0.10833320021629333, -0.6130984425544739, -0.4587870240211487, -0.26367610692977905, 0.6298512816429138, -1.0868865251541138, -0.44894713163375854, 0.4051348567008972, 0.34983059763908386, -0.18937891721725464, 0.07590886950492859, -0.7209494113922119, 0.1812957376241684, -0.14732889831066132, -0.11934280395507812, 0.37971198558807373, 0.31623244285583496, -0.2622918486595154, 0.926825761795044, 0.5867375731468201, -0.27756303548812866, 0.3328072428703308, 0.28838691115379333, 0.9566679000854492, -0.7027617692947388, -0.2162782996892929, -0.4906170070171356, 0.3152606785297394, 0.15153707563877106, -0.03365824371576309, 0.5343389511108398, 0.6681249141693115, 1.0024700164794922, -0.48345285654067993, 0.7233437895774841, -0.20539405941963196, 0.07473639398813248, -0.8365776538848877, 0.5490118265151978, -0.892266035079956, -0.01295737735927105, 0.060648199170827866, -0.7437098622322083, -0.3474283218383789, 0.45167258381843567, -0.0408257320523262, 0.2087300717830658, 0.7306565642356873, 1.1270536184310913, -0.2989689111709595, -0.17663125693798065, 0.5175828337669373, -0.0055681392550468445, 0.17650192975997925, 0.8075140118598938, 1.0756622552871704, -0.4082470238208771, 0.8138203024864197, -0.18197396397590637, 0.22187837958335876, -0.28629904985427856, -0.5245745778083801, -0.9587798714637756, -0.9734289050102234, 0.05729304999113083, -0.09295571595430374, 0.20154041051864624, 0.7509829998016357, 0.7971491813659668, -0.5958581566810608, -0.09870246797800064, 0.3052944839000702, 0.025700625032186508, -0.26221030950546265, -0.1720753163099289, 0.16721850633621216, -0.40495073795318604, -0.8145955204963684, 0.2356298863887787, 0.6151707768440247, 0.3275413513183594, -0.42099031805992126, -0.13107581436634064, -0.5896679162979126, -0.297374963760376, 0.8930609226226807, 0.5412887334823608, -0.9452490210533142, -0.11115433275699615, 0.011578184552490711, -0.49113333225250244, 0.15064284205436707, 1.198201298713684, -0.7989668250083923, 0.6398670077323914, 0.6580997705459595, 0.7952592372894287, 0.8097316026687622, -0.2514974772930145, 0.5384978652000427, -0.5503893494606018, 0.18216779828071594, 0.26926836371421814, 0.4411858022212982, 0.5573528409004211, -0.03810012340545654, 0.15793217718601227, 0.3054647147655487, -0.17693519592285156, -0.4794960021972656, 0.4426102638244629, -0.9841333031654358, -0.4901847541332245, 0.8856407403945923, -0.18784819543361664, 0.014700083993375301, -0.06887489557266235, -0.36929962038993835, 0.02609417587518692, -0.011532333679497242, 0.7800060510635376, 0.44630154967308044, 0.27950167655944824, -0.7976207733154297, -0.2841586768627167, 0.2689628005027771, 0.6694173812866211, -0.6078215837478638, -0.09273973852396011, 0.7739052772521973, 0.3493771255016327, 0.2776625454425812, 0.7541180849075317, -0.3388662040233612, 0.4791753888130188, 0.21122972667217255, 0.03184596076607704, -0.07494030147790909, -0.5683689713478088, -0.09597791731357574, 0.44408828020095825, -0.1756231039762497, -0.15094523131847382 ]